@ckeditor/ckeditor5-ai 47.4.0-alpha.0 → 47.4.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/dist/index.js +5 -5
- package/package.json +15 -15
- package/src/aiactions/aiactions.js +1 -1
- package/src/aiactions/model/aiactionsinteraction.js +1 -1
- package/src/aiactions/model/aiactionsreply.js +1 -1
- package/src/aiassistant/adapters/aiadapter.js +1 -1
- package/src/aiassistant/adapters/aitextadapter.js +1 -1
- package/src/aiassistant/adapters/awstextadapter.js +1 -1
- package/src/aiassistant/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant/aiassistant.js +1 -1
- package/src/aiassistant/aiassistantediting.js +1 -1
- package/src/aiassistant/aiassistantui.js +1 -1
- package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
- package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
- package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
- package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
- package/src/aiassistant/ui/form/aiformview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
- package/src/aiassistant/ui/form/prompthistory.js +1 -1
- package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
- package/src/aiballoon/aiballoon.js +1 -1
- package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
- package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
- package/src/aiballoon/ui/aiballoonview.js +1 -1
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/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/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/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/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/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/aireviemodepromptinputview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +1 -1
- package/src/aireviewmode/ui/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
|
-
function
|
|
23
|
+
function _0x413b(_0x2c146c,_0x20b908){const _0x5cb741=_0x5cb7();return _0x413b=function(_0x413bb3,_0x55039f){_0x413bb3=_0x413bb3-0x124;let _0x6a092=_0x5cb741[_0x413bb3];return _0x6a092;},_0x413b(_0x2c146c,_0x20b908);}const _0x32cc66=_0x413b;(function(_0xe9e52,_0x4265d4){const _0x35b346=_0x413b,_0xe7f359=_0xe9e52();while(!![]){try{const _0x4891c5=parseInt(_0x35b346(0x138))/0x1+-parseInt(_0x35b346(0x140))/0x2+-parseInt(_0x35b346(0x137))/0x3*(parseInt(_0x35b346(0x12f))/0x4)+parseInt(_0x35b346(0x129))/0x5*(-parseInt(_0x35b346(0x130))/0x6)+parseInt(_0x35b346(0x13f))/0x7*(parseInt(_0x35b346(0x136))/0x8)+parseInt(_0x35b346(0x133))/0x9*(-parseInt(_0x35b346(0x13e))/0xa)+parseInt(_0x35b346(0x12d))/0xb;if(_0x4891c5===_0x4265d4)break;else _0xe7f359['push'](_0xe7f359['shift']());}catch(_0x30f612){_0xe7f359['push'](_0xe7f359['shift']());}}}(_0x5cb7,0xd6b6f));import{ButtonView as _0x428528,View as _0x24cd32}from'ckeditor5/src/ui.js';import{IconStop as _0x5c4c8b}from'ckeditor5/src/icons.js';import{getTranslation as _0xe37b1e}from'../../../aicore/utils/common-translations.js';export class AIChatControlsLoaderView extends _0x24cd32{[_0x32cc66(0x13a)];[_0x32cc66(0x13c)];constructor(_0x59d84e){const _0x3c79e2=_0x32cc66;super(_0x59d84e),this[_0x3c79e2(0x13a)]=this[_0x3c79e2(0x131)](),this[_0x3c79e2(0x13c)]=this[_0x3c79e2(0x12a)](),this[_0x3c79e2(0x125)]({'tag':_0x3c79e2(0x124),'attributes':{'class':['ck',_0x3c79e2(0x126),_0x3c79e2(0x134)]},'children':[this[_0x3c79e2(0x13c)],this[_0x3c79e2(0x13a)]]});}[_0x32cc66(0x131)](){const _0x419561=_0x32cc66,_0x9457a8=new _0x428528(this[_0x419561(0x12b)]);return _0x9457a8[_0x419561(0x12e)]({'label':_0xe37b1e(this[_0x419561(0x12b)],_0x419561(0x141)),'withText':!0x0,'class':_0x419561(0x139),'icon':_0x5c4c8b}),_0x9457a8['on'](_0x419561(0x132),()=>{const _0x14e0dd=_0x419561;this[_0x14e0dd(0x128)](_0x14e0dd(0x135));}),_0x9457a8;}[_0x32cc66(0x12a)](){const _0x2f7b13=_0x32cc66,_0x3da011=new _0x24cd32(this[_0x2f7b13(0x12b)]);return _0x3da011[_0x2f7b13(0x125)]({'tag':_0x2f7b13(0x124),'attributes':{'class':[_0x2f7b13(0x13b)]},'children':[{'tag':_0x2f7b13(0x124),'attributes':{'class':[_0x2f7b13(0x13d)]},'children':[{'tag':_0x2f7b13(0x124),'attributes':{'class':[_0x2f7b13(0x12c)]}},{'tag':_0x2f7b13(0x124),'attributes':{'class':[_0x2f7b13(0x12c)]}},{'tag':_0x2f7b13(0x124),'attributes':{'class':[_0x2f7b13(0x12c)]}}]},{'text':_0xe37b1e(this[_0x2f7b13(0x12b)],_0x2f7b13(0x127))}]}),_0x3da011;}}function _0x5cb7(){const _0x520932=['ck-ai-chat-controls-loader-icon-dot','50646046qQBeKJ','set','4fPeSLj','138sDRnyl','_createCancelButtonView','execute','14907069iLRKot','ck-reset_all','abortPromptStream','4850840bPgbcq','54687XCKREu','454690THfdCy','ck-ai-button-secondary\x20ck-ai-button-stop-generating','_cancelButtonView','ck-ai-chat-controls-loader','_loaderView','ck-ai-chat-controls-loader-icon','10cjTaoq','7YwfUZc','3212094YWHrwp','AI_CHAT_STOP_GENERATING','div','setTemplate','ck-ai-chat-controls-loader-wrapper','AI_CHAT_IS_WRITING','fire','327205JtYTHy','_createLoaderView','locale'];_0x5cb7=function(){return _0x520932;};return _0x5cb7();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x90ddf8=_0x4652;(function(_0x723891,_0x40f90a){const _0x1a7ee1=_0x4652,_0x53b900=_0x723891();while(!![]){try{const _0x5e0306=parseInt(_0x1a7ee1(0xf5))/0x1+-parseInt(_0x1a7ee1(0x115))/0x2*(parseInt(_0x1a7ee1(0xb6))/0x3)+parseInt(_0x1a7ee1(0xc4))/0x4+-parseInt(_0x1a7ee1(0xeb))/0x5+-parseInt(_0x1a7ee1(0xde))/0x6+-parseInt(_0x1a7ee1(0x10d))/0x7*(parseInt(_0x1a7ee1(0xf6))/0x8)+-parseInt(_0x1a7ee1(0xed))/0x9*(-parseInt(_0x1a7ee1(0x109))/0xa);if(_0x5e0306===_0x40f90a)break;else _0x53b900['push'](_0x53b900['shift']());}catch(_0x5dfda2){_0x53b900['push'](_0x53b900['shift']());}}}(_0x224d,0xafff3));import{Collection as _0x2b8522}from'ckeditor5/src/utils.js';import{IconAI as _0x5dd93e,IconBulb as _0x50b07c,IconWeb as _0x40018a}from'@ckeditor/ckeditor5-icons';import{addListToDropdown as _0x25f555,ButtonLabelView as _0x32af79,ButtonView as _0x5971e0,createDropdown as _0xa1ee8f,IconView as _0x42e9f9,UIModel as _0x471728,View as _0x5b7650}from'ckeditor5/src/ui.js';import{getTranslation as _0x195a94}from'../../../aicore/utils/common-translations.js';const Wo=_0x90ddf8(0xc9),Ro=_0x90ddf8(0x102),yo=_0x90ddf8(0xe5),Go=_0x90ddf8(0xcd),jo=_0x90ddf8(0xce),Yo=_0x90ddf8(0xbe),qo=_0x90ddf8(0xe0),zo='n';function _0x224d(){const _0x3df296=['_createModelNameView','_webSearchButton','style','extendTemplate','setModelList','activeModelName','bindTemplate','add','selectModel','reasoningActive','toggleReasoning','ck-ai-chat-controls-button','AI_CHAT_ENABLE_REASONING','reasoning','div','_commandsButton','toggleWebSearch','length','2610TyvgPw','AI_CHAT_COMMANDS','ck-button__label','setWebSearch','25669cyFHta','toLowerCase','AI_CHAT_SEARCH_WEB','modelSelectorEnabled','webSearch','set','_getCapabilityParts','modelSelectorVisible','2mJePjz','text','clear','log','2412924rtDfJq','isEnabled','createCollection','name','ck-hidden','isOn','AI_CHAT_REASONING','webSearchActive','ck-ai-chat-controls__model-selection__item-description','startsWith','_createWebSearchButton','AI_CHAT_MODEL_SELECTOR_ENABLED_TOOLTIP','menuitemradio','setReasoning','3683656qVFyTN','AI_CHAT_CAPABILITIES_NO','agent','_createModelSelectionDropdown','AI_CHAT_DISABLE_WEB_SEARCH','ck-ai-chat__prompt-capabilities','addMany','locale','activeModelId','ck-ai-chat-controls__model-selection','ck-ai-chat-controls__model-selection__item-name','AI_CHAT_MODEL_SELECTOR_DISABLED_TOOLTIP','tooltip','model','ck-ai-chat-controls__model-name','isVisible','source','execute','_reasoningButton','bind','_modelSelectionDropdownItems','buttonView','description','listenTo','span','label','1598784lrREdS','withText','ck-ai-chat-controls__model-selection__item-capabilities','fire','_createCommandsButton','AI_CHAT_CAPABILITIES_YES','enabled','ck-ai-chat-controls-button--commands','disableModelSelector','_modelSelectionDropdown','button','content','_modelNameView','434295IZRxOh','Commands\x20are\x20not\x20implemented\x20yet.','5013bNEFak','capabilities','AI_CHAT_ENABLE_WEB_SEARCH','AI_CHAT_DISABLE_REASONING','setModel','_createReasoningButton','setTemplate','enableModelSelector','999240vxWxWC','408FdSfbr'];_0x224d=function(){return _0x3df296;};return _0x224d();}export class AIChatPromptCapabilitiesView extends _0x5b7650{[_0x90ddf8(0xf8)];[_0x90ddf8(0xd6)];[_0x90ddf8(0x106)];[_0x90ddf8(0xe7)];[_0x90ddf8(0xd8)];[_0x90ddf8(0xea)];constructor(_0x38d68e){const _0x177ede=_0x90ddf8;super(_0x38d68e),this[_0x177ede(0x112)](_0x177ede(0xbd),!0x1),this[_0x177ede(0x112)](_0x177ede(0x100),!0x1),this[_0x177ede(0x112)](_0x177ede(0x114),!0x0),this[_0x177ede(0x112)](_0x177ede(0x110),!0x0),this[_0x177ede(0x112)](_0x177ede(0xcc),null),this[_0x177ede(0x112)](_0x177ede(0xfc),null),this[_0x177ede(0xe7)]=this[_0x177ede(0xc7)](),this[_0x177ede(0xea)]=this[_0x177ede(0xf7)](),this[_0x177ede(0xf8)]=this[_0x177ede(0xc0)](),this[_0x177ede(0xd6)]=this[_0x177ede(0xf2)](),this[_0x177ede(0x106)]=this[_0x177ede(0xe2)](),this[_0x177ede(0xe7)][_0x177ede(0xd9)][_0x177ede(0xd7)](_0x177ede(0xd3))['to'](this,_0x177ede(0x114),_0x4915c0=>_0x4915c0),this[_0x177ede(0xe7)][_0x177ede(0xd9)][_0x177ede(0xd7)](_0x177ede(0xd0))['to'](this,_0x177ede(0x110),_0x3b39ac=>_0x3b39ac?this[_0x177ede(0xe7)][_0x177ede(0xd9)][_0x177ede(0xdd)]:_0x195a94(this[_0x177ede(0xcb)],_0x177ede(0xcf))),this[_0x177ede(0xe7)][_0x177ede(0xd7)](_0x177ede(0xb7))['to'](this,_0x177ede(0x110),_0x1ada90=>_0x1ada90),this[_0x177ede(0xf8)][_0x177ede(0xd7)](_0x177ede(0xbb))['to'](this,_0x177ede(0xbd),_0x360463=>_0x360463),this[_0x177ede(0xf8)][_0x177ede(0xd7)](_0x177ede(0xdf))['to'](this,_0x177ede(0x114),_0x4f7275=>!_0x4f7275),this[_0x177ede(0xf8)][_0x177ede(0xd7)](_0x177ede(0xd0))['to'](this,_0x177ede(0xbd),_0x239de5=>_0x195a94(this[_0x177ede(0xcb)],_0x239de5?_0x177ede(0xc8):_0x177ede(0xef))),this[_0x177ede(0xd6)][_0x177ede(0xd7)](_0x177ede(0xbb))['to'](this,_0x177ede(0x100),_0xac1c28=>_0xac1c28),this[_0x177ede(0xd6)][_0x177ede(0xd7)](_0x177ede(0xdf))['to'](this,_0x177ede(0x114),_0x4b04e9=>!_0x4b04e9),this[_0x177ede(0xd6)][_0x177ede(0xd7)](_0x177ede(0xd0))['to'](this,_0x177ede(0x100),_0x17af54=>_0x195a94(this[_0x177ede(0xcb)],_0x17af54?_0x177ede(0xf0):_0x177ede(0x103))),this[_0x177ede(0xf3)]({'tag':_0x177ede(0x105),'attributes':{'class':[Wo]},'children':[this[_0x177ede(0xe7)],this[_0x177ede(0xea)],this[_0x177ede(0xf8)],this[_0x177ede(0xd6)],this[_0x177ede(0x106)]]}),this[_0x177ede(0xd8)]=new _0x2b8522(),_0x25f555(this[_0x177ede(0xe7)],this[_0x177ede(0xd8)]);}[_0x90ddf8(0xfb)](_0x1bdf32,_0x2f19ff){const _0x34b52f=_0x90ddf8;if(this[_0x34b52f(0x112)](_0x34b52f(0x114),!(_0x2f19ff&&_0x1bdf32[_0x34b52f(0x108)]<=0x1)),this[_0x34b52f(0xd8)][_0x34b52f(0x117)](),_0x1bdf32?.[_0x34b52f(0x108)])for(const _0x55f85e of _0x1bdf32){const _0x3e13e7=new _0x471728({'label':_0x55f85e[_0x34b52f(0xb9)],'withText':!0x0,'role':_0x34b52f(0xc2),'id':_0x55f85e['id'],'model':_0x55f85e});_0x3e13e7[_0x34b52f(0xd7)](_0x34b52f(0xbb))['to'](this,_0x34b52f(0xcc),_0x26ee27=>_0x26ee27===_0x55f85e['id']),this[_0x34b52f(0xd8)][_0x34b52f(0xfe)]({'type':_0x34b52f(0xe8),'model':_0x3e13e7,'labelView':new Us(this[_0x34b52f(0xcb)],_0x55f85e)});}}[_0x90ddf8(0x10c)](_0x5d353d){const _0x3c3745=_0x90ddf8;this[_0x3c3745(0x112)](_0x3c3745(0xbd),_0x5d353d);}[_0x90ddf8(0xc3)](_0x1b6ef8){const _0x1d7d80=_0x90ddf8;this[_0x1d7d80(0x112)](_0x1d7d80(0x100),_0x1b6ef8);}[_0x90ddf8(0xf1)](_0x545a0d){const _0x5da3bc=_0x90ddf8;if(!_0x545a0d)return;this[_0x5da3bc(0xcc)]=_0x545a0d['id'],this[_0x5da3bc(0xfc)]=_0x545a0d[_0x5da3bc(0xb9)]||_0x545a0d['id'],this[_0x5da3bc(0xe7)][_0x5da3bc(0xd9)][_0x5da3bc(0x112)](_0x5da3bc(0xdd),_0x545a0d[_0x5da3bc(0xb9)]),this[_0x5da3bc(0xe7)][_0x5da3bc(0xd9)][_0x5da3bc(0x112)](_0x5da3bc(0xd0),_0x545a0d[_0x5da3bc(0xb9)]);const _0x34de04=_0x545a0d[_0x5da3bc(0xee)][_0x5da3bc(0x111)]?.[_0x5da3bc(0xe4)]??!0x1;this[_0x5da3bc(0x112)](_0x5da3bc(0xbd),!0x1),this[_0x5da3bc(0xf8)][_0x5da3bc(0x112)](_0x5da3bc(0xbb),!0x1),this[_0x5da3bc(0xf8)][_0x5da3bc(0x112)](_0x5da3bc(0xb7),_0x34de04),this[_0x5da3bc(0xf8)][_0x5da3bc(0x112)](_0x5da3bc(0xd3),_0x34de04);const _0x4ce4a1=_0x545a0d[_0x5da3bc(0xee)][_0x5da3bc(0x104)]?.[_0x5da3bc(0xe4)]??!0x1;this[_0x5da3bc(0x112)](_0x5da3bc(0x100),!0x1),this[_0x5da3bc(0xd6)][_0x5da3bc(0x112)](_0x5da3bc(0xbb),!0x1),this[_0x5da3bc(0xd6)][_0x5da3bc(0x112)](_0x5da3bc(0xb7),_0x4ce4a1),this[_0x5da3bc(0xd6)][_0x5da3bc(0x112)](_0x5da3bc(0xd3),_0x4ce4a1);}[_0x90ddf8(0xf4)](){const _0x4deb03=_0x90ddf8;this[_0x4deb03(0x112)](_0x4deb03(0x110),!0x0),this[_0x4deb03(0x112)](_0x4deb03(0x114),!0x0);}[_0x90ddf8(0xe6)](_0x19acb1){const _0x5cad5d=_0x90ddf8;this[_0x5cad5d(0x112)](_0x5cad5d(0x110),!0x1),_0x19acb1&&this[_0x5cad5d(0x112)](_0x5cad5d(0x114),!0x1);}[_0x90ddf8(0xc0)](){const _0x1d253d=_0x90ddf8,_0x5c9571=new _0x5971e0();return _0x5c9571[_0x1d253d(0x112)]({'label':_0x195a94(this[_0x1d253d(0xcb)],_0x1d253d(0x10f)),'icon':_0x40018a,'class':Ro,'isToggleable':!0x0,'tooltipPosition':zo}),_0x5c9571['on'](_0x1d253d(0xd5),()=>{const _0x118a90=_0x1d253d;this[_0x118a90(0xe1)](_0x118a90(0x107));}),_0x5c9571;}[_0x90ddf8(0xf2)](){const _0x28d638=_0x90ddf8,_0x4ab6c4=new _0x5971e0();return _0x4ab6c4[_0x28d638(0x112)]({'label':_0x195a94(this[_0x28d638(0xcb)],_0x28d638(0xbc)),'icon':_0x50b07c,'class':Ro,'isToggleable':!0x0,'tooltipPosition':zo}),_0x4ab6c4['on'](_0x28d638(0xd5),()=>{const _0x17cfee=_0x28d638;this[_0x17cfee(0xe1)](_0x17cfee(0x101));}),_0x4ab6c4;}[_0x90ddf8(0xe2)](){const _0x509cd5=_0x90ddf8,_0x246921=new _0x5971e0();return _0x246921[_0x509cd5(0x112)]({'label':_0x195a94(this[_0x509cd5(0xcb)],_0x509cd5(0x10a)),'icon':_0x5dd93e,'withText':!0x0,'class':Ro,'isToggleable':!0x0,'tooltip':_0x195a94(this[_0x509cd5(0xcb)],_0x509cd5(0x10a)),'tooltipPosition':zo}),_0x246921[_0x509cd5(0xfa)]({'attributes':{'class':[yo]}}),_0x246921['on'](_0x509cd5(0xd5),()=>{const _0x35de17=_0x509cd5;console[_0x35de17(0xb5)](_0x35de17(0xec)),alert(_0x35de17(0xec));}),_0x246921;}[_0x90ddf8(0xc7)](){const _0xecf199=_0x90ddf8,_0x12ce90=_0xa1ee8f(this[_0xecf199(0xcb)]);return _0x12ce90[_0xecf199(0x112)]({'panelPosition':'ne','class':[Go]}),_0x12ce90[_0xecf199(0xd9)][_0xecf199(0x112)]({'label':_0x195a94(this[_0xecf199(0xcb)],_0xecf199(0xc1)),'withText':!0x0,'tooltip':!0x0,'tooltipPosition':zo}),this[_0xecf199(0xdb)](_0x12ce90,_0xecf199(0xd5),_0x47b8bf=>{const _0x1a9bb2=_0xecf199;this[_0x1a9bb2(0xe1)](_0x1a9bb2(0xff),_0x47b8bf[_0x1a9bb2(0xd4)][_0x1a9bb2(0xd1)]);}),_0x12ce90;}[_0x90ddf8(0xf7)](){const _0x3ede12=_0x90ddf8,_0x28eeac=new Fo(this[_0x3ede12(0xcb)]);return _0x28eeac[_0x3ede12(0xd7)](_0x3ede12(0x116))['to'](this,_0x3ede12(0xfc),_0x13083e=>_0x13083e??''),_0x28eeac[_0x3ede12(0xd7)](_0x3ede12(0xd3))['to'](this,_0x3ede12(0x114),this,_0x3ede12(0xfc),(_0x10b5a6,_0x260c3b)=>!_0x10b5a6&&!_0x260c3b?.[_0x3ede12(0x10e)]()[_0x3ede12(0xbf)](_0x3ede12(0xc6))),_0x28eeac;}}class Us extends _0x32af79{constructor(_0x145118,_0x4d9079){const _0x2028c3=_0x90ddf8;super();const _0x1da83b=this[_0x2028c3(0xfd)],_0x420cc7=this[_0x2028c3(0xb8)]();this[_0x2028c3(0xf3)]({'tag':_0x2028c3(0x105),'attributes':{'class':['ck',_0x2028c3(0x10b)],'style':_0x1da83b['to'](_0x2028c3(0xf9)),'id':_0x1da83b['to']('id')},'children':[{'tag':_0x2028c3(0x105),'attributes':{'class':[jo]},'children':[{'text':_0x1da83b['to'](_0x2028c3(0x116))}]},{'tag':_0x2028c3(0x105),'attributes':{'class':[Yo]},'children':[{'tag':_0x2028c3(0xdc),'children':[{'text':_0x4d9079[_0x2028c3(0xda)]}]}]},{'tag':_0x2028c3(0x105),'attributes':{'class':[qo]},'children':_0x420cc7}]}),_0x420cc7[_0x2028c3(0xca)](this[_0x2028c3(0x113)](_0x145118,_0x40018a,_0x2028c3(0x10f),_0x4d9079[_0x2028c3(0xee)][_0x2028c3(0x111)]?.[_0x2028c3(0xe4)]??!0x1)),_0x420cc7[_0x2028c3(0xca)](this[_0x2028c3(0x113)](_0x145118,_0x50b07c,_0x2028c3(0xbc),_0x4d9079[_0x2028c3(0xee)][_0x2028c3(0x104)]?.[_0x2028c3(0xe4)]??!0x1));}[_0x90ddf8(0x113)](_0x15f977,_0x274186,_0x902a2f,_0x2f6233){const _0x5f5713=_0x90ddf8,_0xa91dd2=new _0x42e9f9();_0xa91dd2[_0x5f5713(0xe9)]=_0x274186;const _0x386121=new _0x5b7650(_0x15f977);_0x386121[_0x5f5713(0xf3)]({'tag':_0x5f5713(0xdc),'children':[{'text':_0x195a94(_0x15f977,_0x902a2f)+':\x20'}]});const _0x365ed=new _0x5b7650(_0x15f977);return _0x365ed[_0x5f5713(0xf3)]({'tag':_0x5f5713(0xdc),'children':[{'text':_0x195a94(_0x15f977,_0x2f6233?_0x5f5713(0xe3):_0x5f5713(0xc5))}]}),[_0xa91dd2,_0x386121,_0x365ed];}}function _0x4652(_0x545f6b,_0x4458d6){const _0x224d1e=_0x224d();return _0x4652=function(_0x465282,_0x5e6b2b){_0x465282=_0x465282-0xb5;let _0x91c459=_0x224d1e[_0x465282];return _0x91c459;},_0x4652(_0x545f6b,_0x4458d6);}class Fo extends _0x5b7650{constructor(_0x44de2e){const _0x52997a=_0x90ddf8;super(_0x44de2e),this[_0x52997a(0x112)](_0x52997a(0x116),void 0x0),this[_0x52997a(0x112)](_0x52997a(0xd3),!0x0);const _0x2ca3c0=this[_0x52997a(0xfd)];this[_0x52997a(0xf3)]({'tag':_0x52997a(0xdc),'attributes':{'class':['ck',_0x52997a(0xd2),_0x2ca3c0['if'](_0x52997a(0xd3),_0x52997a(0xba),_0x1fd693=>!_0x1fd693)]},'children':[{'text':_0x2ca3c0['to'](_0x52997a(0x116))}]});}}
|
|
23
|
+
const _0x352fe1=_0x15ed;(function(_0x4c47cd,_0x51714f){const _0x52ac6a=_0x15ed,_0x1f32d4=_0x4c47cd();while(!![]){try{const _0x22dc74=parseInt(_0x52ac6a(0x1e7))/0x1+-parseInt(_0x52ac6a(0x1f2))/0x2*(parseInt(_0x52ac6a(0x1e6))/0x3)+parseInt(_0x52ac6a(0x22a))/0x4*(-parseInt(_0x52ac6a(0x216))/0x5)+-parseInt(_0x52ac6a(0x21c))/0x6*(-parseInt(_0x52ac6a(0x22c))/0x7)+parseInt(_0x52ac6a(0x234))/0x8*(parseInt(_0x52ac6a(0x228))/0x9)+parseInt(_0x52ac6a(0x1f3))/0xa+-parseInt(_0x52ac6a(0x1fb))/0xb*(parseInt(_0x52ac6a(0x1fe))/0xc);if(_0x22dc74===_0x51714f)break;else _0x1f32d4['push'](_0x1f32d4['shift']());}catch(_0x4bf4f6){_0x1f32d4['push'](_0x1f32d4['shift']());}}}(_0x4ecf,0x6260e));import{Collection as _0x39ef7a}from'ckeditor5/src/utils.js';import{IconAI as _0x2a6e0c,IconBulb as _0x1c52ed,IconWeb as _0x106bec}from'@ckeditor/ckeditor5-icons';function _0x15ed(_0xd6772e,_0x110f9e){const _0x4ecf91=_0x4ecf();return _0x15ed=function(_0x15ed07,_0x3017b1){_0x15ed07=_0x15ed07-0x1d6;let _0x2607d4=_0x4ecf91[_0x15ed07];return _0x2607d4;},_0x15ed(_0xd6772e,_0x110f9e);}import{addListToDropdown as _0xfd3ae9,ButtonLabelView as _0x376a2f,ButtonView as _0x1dc2fd,createDropdown as _0x4b9c45,IconView as _0x187cdd,UIModel as _0x2762d7,View as _0x28aa5d}from'ckeditor5/src/ui.js';import{getTranslation as _0x3ec124}from'../../../aicore/utils/common-translations.js';function _0x4ecf(){const _0x367909=['Commands\x20are\x20not\x20implemented\x20yet.','text','setModelList','div','AI_CHAT_DISABLE_WEB_SEARCH','label','addMany','capabilities','model','_createModelSelectionDropdown','AI_CHAT_ENABLE_REASONING','AI_CHAT_COMMANDS','createCollection','log','style','AI_CHAT_MODEL_SELECTOR_ENABLED_TOOLTIP','setModel','activeModelId','ck-ai-chat-controls__model-selection__item-capabilities','10bkQTzA','listenTo','execute','name','agent','setReasoning','1116IMUaZP','bind','AI_CHAT_DISABLE_REASONING','withText','length','button','tooltip','_createWebSearchButton','add','modelSelectorEnabled','activeModelName','enabled','175041FrGTtW','toggleReasoning','633272dTaqPW','ck-ai-chat__prompt-capabilities','7763wypNYb','setTemplate','span','webSearchActive','webSearch','ck-ai-chat-controls__model-selection','_createCommandsButton','_createReasoningButton','216DJegQL','content','description','extendTemplate','selectModel','ck-ai-chat-controls-button','_modelNameView','AI_CHAT_CAPABILITIES_NO','AI_CHAT_MODEL_SELECTOR_DISABLED_TOOLTIP','ck-button__label','disableModelSelector','ck-ai-chat-controls__model-name','AI_CHAT_SEARCH_WEB','startsWith','fire','AI_CHAT_CAPABILITIES_YES','modelSelectorVisible','isOn','_reasoningButton','toLowerCase','reasoningActive','set','_webSearchButton','3BrQwwr','415133HFpZSz','isEnabled','ck-ai-chat-controls__model-selection__item-description','locale','clear','setWebSearch','menuitemradio','_getCapabilityParts','enableModelSelector','ck-ai-chat-controls__model-selection__item-name','_commandsButton','1396432jpzwzJ','4689560EJrZFE','toggleWebSearch','isVisible','buttonView','_modelSelectionDropdownItems','reasoning','ck-ai-chat-controls-button--commands','AI_CHAT_REASONING','561cQqpyq','bindTemplate','source','46512BFLEbn','_createModelNameView','AI_CHAT_ENABLE_WEB_SEARCH','ck-hidden','_modelSelectionDropdown'];_0x4ecf=function(){return _0x367909;};return _0x4ecf();}const yo=_0x352fe1(0x22b),Uo=_0x352fe1(0x239),Go=_0x352fe1(0x1f9),jo=_0x352fe1(0x231),Yo=_0x352fe1(0x1f0),qo=_0x352fe1(0x1e9),zo=_0x352fe1(0x215),Fo='n';export class AIChatPromptCapabilitiesView extends _0x28aa5d{[_0x352fe1(0x1e5)];[_0x352fe1(0x1e1)];[_0x352fe1(0x1f1)];[_0x352fe1(0x202)];[_0x352fe1(0x1f7)];[_0x352fe1(0x23a)];constructor(_0x75b6a3){const _0x23e483=_0x352fe1;super(_0x75b6a3),this[_0x23e483(0x1e4)](_0x23e483(0x22f),!0x1),this[_0x23e483(0x1e4)](_0x23e483(0x1e3),!0x1),this[_0x23e483(0x1e4)](_0x23e483(0x1df),!0x0),this[_0x23e483(0x1e4)](_0x23e483(0x225),!0x0),this[_0x23e483(0x1e4)](_0x23e483(0x214),null),this[_0x23e483(0x1e4)](_0x23e483(0x226),null),this[_0x23e483(0x202)]=this[_0x23e483(0x20c)](),this[_0x23e483(0x23a)]=this[_0x23e483(0x1ff)](),this[_0x23e483(0x1e5)]=this[_0x23e483(0x223)](),this[_0x23e483(0x1e1)]=this[_0x23e483(0x233)](),this[_0x23e483(0x1f1)]=this[_0x23e483(0x232)](),this[_0x23e483(0x202)][_0x23e483(0x1f6)][_0x23e483(0x21d)](_0x23e483(0x1f5))['to'](this,_0x23e483(0x1df),_0x5f2b23=>_0x5f2b23),this[_0x23e483(0x202)][_0x23e483(0x1f6)][_0x23e483(0x21d)](_0x23e483(0x222))['to'](this,_0x23e483(0x225),_0x15f6cc=>_0x15f6cc?this[_0x23e483(0x202)][_0x23e483(0x1f6)][_0x23e483(0x208)]:_0x3ec124(this[_0x23e483(0x1ea)],_0x23e483(0x1d7))),this[_0x23e483(0x202)][_0x23e483(0x21d)](_0x23e483(0x1e8))['to'](this,_0x23e483(0x225),_0x30d663=>_0x30d663),this[_0x23e483(0x1e5)][_0x23e483(0x21d)](_0x23e483(0x1e0))['to'](this,_0x23e483(0x22f),_0x25240b=>_0x25240b),this[_0x23e483(0x1e5)][_0x23e483(0x21d)](_0x23e483(0x21f))['to'](this,_0x23e483(0x1df),_0x1025ff=>!_0x1025ff),this[_0x23e483(0x1e5)][_0x23e483(0x21d)](_0x23e483(0x222))['to'](this,_0x23e483(0x22f),_0x1edab4=>_0x3ec124(this[_0x23e483(0x1ea)],_0x1edab4?_0x23e483(0x207):_0x23e483(0x200))),this[_0x23e483(0x1e1)][_0x23e483(0x21d)](_0x23e483(0x1e0))['to'](this,_0x23e483(0x1e3),_0x4bc9bc=>_0x4bc9bc),this[_0x23e483(0x1e1)][_0x23e483(0x21d)](_0x23e483(0x21f))['to'](this,_0x23e483(0x1df),_0x5d0771=>!_0x5d0771),this[_0x23e483(0x1e1)][_0x23e483(0x21d)](_0x23e483(0x222))['to'](this,_0x23e483(0x1e3),_0x371749=>_0x3ec124(this[_0x23e483(0x1ea)],_0x371749?_0x23e483(0x21e):_0x23e483(0x20d))),this[_0x23e483(0x22d)]({'tag':_0x23e483(0x206),'attributes':{'class':[yo]},'children':[this[_0x23e483(0x202)],this[_0x23e483(0x23a)],this[_0x23e483(0x1e5)],this[_0x23e483(0x1e1)],this[_0x23e483(0x1f1)]]}),this[_0x23e483(0x1f7)]=new _0x39ef7a(),_0xfd3ae9(this[_0x23e483(0x202)],this[_0x23e483(0x1f7)]);}[_0x352fe1(0x205)](_0x44c8a7,_0x486d96){const _0xc1a4c5=_0x352fe1;if(this[_0xc1a4c5(0x1e4)](_0xc1a4c5(0x1df),!(_0x486d96&&_0x44c8a7[_0xc1a4c5(0x220)]<=0x1)),this[_0xc1a4c5(0x1f7)][_0xc1a4c5(0x1eb)](),_0x44c8a7?.[_0xc1a4c5(0x220)])for(const _0x1c5b30 of _0x44c8a7){const _0x1523a2=new _0x2762d7({'label':_0x1c5b30[_0xc1a4c5(0x219)],'withText':!0x0,'role':_0xc1a4c5(0x1ed),'id':_0x1c5b30['id'],'model':_0x1c5b30});_0x1523a2[_0xc1a4c5(0x21d)](_0xc1a4c5(0x1e0))['to'](this,_0xc1a4c5(0x214),_0x327961=>_0x327961===_0x1c5b30['id']),this[_0xc1a4c5(0x1f7)][_0xc1a4c5(0x224)]({'type':_0xc1a4c5(0x221),'model':_0x1523a2,'labelView':new Xs(this[_0xc1a4c5(0x1ea)],_0x1c5b30)});}}[_0x352fe1(0x1ec)](_0x2eb961){const _0x2e746a=_0x352fe1;this[_0x2e746a(0x1e4)](_0x2e746a(0x22f),_0x2eb961);}[_0x352fe1(0x21b)](_0x1d07be){const _0x417553=_0x352fe1;this[_0x417553(0x1e4)](_0x417553(0x1e3),_0x1d07be);}[_0x352fe1(0x213)](_0xa1f9e2){const _0x1006c3=_0x352fe1;if(!_0xa1f9e2)return;this[_0x1006c3(0x214)]=_0xa1f9e2['id'],this[_0x1006c3(0x226)]=_0xa1f9e2[_0x1006c3(0x219)]||_0xa1f9e2['id'],this[_0x1006c3(0x202)][_0x1006c3(0x1f6)][_0x1006c3(0x1e4)](_0x1006c3(0x208),_0xa1f9e2[_0x1006c3(0x219)]),this[_0x1006c3(0x202)][_0x1006c3(0x1f6)][_0x1006c3(0x1e4)](_0x1006c3(0x222),_0xa1f9e2[_0x1006c3(0x219)]);const _0x4ee895=_0xa1f9e2[_0x1006c3(0x20a)][_0x1006c3(0x230)]?.[_0x1006c3(0x227)]??!0x1;this[_0x1006c3(0x1e4)](_0x1006c3(0x22f),!0x1),this[_0x1006c3(0x1e5)][_0x1006c3(0x1e4)](_0x1006c3(0x1e0),!0x1),this[_0x1006c3(0x1e5)][_0x1006c3(0x1e4)](_0x1006c3(0x1e8),_0x4ee895),this[_0x1006c3(0x1e5)][_0x1006c3(0x1e4)](_0x1006c3(0x1f5),_0x4ee895);const _0x9955a8=_0xa1f9e2[_0x1006c3(0x20a)][_0x1006c3(0x1f8)]?.[_0x1006c3(0x227)]??!0x1;this[_0x1006c3(0x1e4)](_0x1006c3(0x1e3),!0x1),this[_0x1006c3(0x1e1)][_0x1006c3(0x1e4)](_0x1006c3(0x1e0),!0x1),this[_0x1006c3(0x1e1)][_0x1006c3(0x1e4)](_0x1006c3(0x1e8),_0x9955a8),this[_0x1006c3(0x1e1)][_0x1006c3(0x1e4)](_0x1006c3(0x1f5),_0x9955a8);}[_0x352fe1(0x1ef)](){const _0x1bc70f=_0x352fe1;this[_0x1bc70f(0x1e4)](_0x1bc70f(0x225),!0x0),this[_0x1bc70f(0x1e4)](_0x1bc70f(0x1df),!0x0);}[_0x352fe1(0x1d9)](_0x1784de){const _0x64b081=_0x352fe1;this[_0x64b081(0x1e4)](_0x64b081(0x225),!0x1),_0x1784de&&this[_0x64b081(0x1e4)](_0x64b081(0x1df),!0x1);}[_0x352fe1(0x223)](){const _0x2d81bb=_0x352fe1,_0x61faa9=new _0x1dc2fd();return _0x61faa9[_0x2d81bb(0x1e4)]({'label':_0x3ec124(this[_0x2d81bb(0x1ea)],_0x2d81bb(0x1db)),'icon':_0x106bec,'class':Uo,'isToggleable':!0x0,'tooltipPosition':Fo}),_0x61faa9['on'](_0x2d81bb(0x218),()=>{const _0x358b08=_0x2d81bb;this[_0x358b08(0x1dd)](_0x358b08(0x1f4));}),_0x61faa9;}[_0x352fe1(0x233)](){const _0xebe652=_0x352fe1,_0x336a30=new _0x1dc2fd();return _0x336a30[_0xebe652(0x1e4)]({'label':_0x3ec124(this[_0xebe652(0x1ea)],_0xebe652(0x1fa)),'icon':_0x1c52ed,'class':Uo,'isToggleable':!0x0,'tooltipPosition':Fo}),_0x336a30['on'](_0xebe652(0x218),()=>{const _0x2fd793=_0xebe652;this[_0x2fd793(0x1dd)](_0x2fd793(0x229));}),_0x336a30;}[_0x352fe1(0x232)](){const _0x883ceb=_0x352fe1,_0x2dabad=new _0x1dc2fd();return _0x2dabad[_0x883ceb(0x1e4)]({'label':_0x3ec124(this[_0x883ceb(0x1ea)],_0x883ceb(0x20e)),'icon':_0x2a6e0c,'withText':!0x0,'class':Uo,'isToggleable':!0x0,'tooltip':_0x3ec124(this[_0x883ceb(0x1ea)],_0x883ceb(0x20e)),'tooltipPosition':Fo}),_0x2dabad[_0x883ceb(0x237)]({'attributes':{'class':[Go]}}),_0x2dabad['on'](_0x883ceb(0x218),()=>{const _0x16380e=_0x883ceb;console[_0x16380e(0x210)](_0x16380e(0x203)),alert(_0x16380e(0x203));}),_0x2dabad;}[_0x352fe1(0x20c)](){const _0x55fc16=_0x352fe1,_0x15a7b1=_0x4b9c45(this[_0x55fc16(0x1ea)]);return _0x15a7b1[_0x55fc16(0x1e4)]({'panelPosition':'ne','class':[jo]}),_0x15a7b1[_0x55fc16(0x1f6)][_0x55fc16(0x1e4)]({'label':_0x3ec124(this[_0x55fc16(0x1ea)],_0x55fc16(0x212)),'withText':!0x0,'tooltip':!0x0,'tooltipPosition':Fo}),this[_0x55fc16(0x217)](_0x15a7b1,_0x55fc16(0x218),_0x38b3da=>{const _0x87aa88=_0x55fc16;this[_0x87aa88(0x1dd)](_0x87aa88(0x238),_0x38b3da[_0x87aa88(0x1fd)][_0x87aa88(0x20b)]);}),_0x15a7b1;}[_0x352fe1(0x1ff)](){const _0x10904e=_0x352fe1,_0x4c3a95=new Jo(this[_0x10904e(0x1ea)]);return _0x4c3a95[_0x10904e(0x21d)](_0x10904e(0x204))['to'](this,_0x10904e(0x226),_0x17578b=>_0x17578b??''),_0x4c3a95[_0x10904e(0x21d)](_0x10904e(0x1f5))['to'](this,_0x10904e(0x1df),this,_0x10904e(0x226),(_0x13e71e,_0x274d22)=>!_0x13e71e&&!_0x274d22?.[_0x10904e(0x1e2)]()[_0x10904e(0x1dc)](_0x10904e(0x21a))),_0x4c3a95;}}class Xs extends _0x376a2f{constructor(_0xf74cf3,_0xb4339f){const _0x14972=_0x352fe1;super();const _0x1fcdb5=this[_0x14972(0x1fc)],_0x1e250a=this[_0x14972(0x20f)]();this[_0x14972(0x22d)]({'tag':_0x14972(0x206),'attributes':{'class':['ck',_0x14972(0x1d8)],'style':_0x1fcdb5['to'](_0x14972(0x211)),'id':_0x1fcdb5['to']('id')},'children':[{'tag':_0x14972(0x206),'attributes':{'class':[Yo]},'children':[{'text':_0x1fcdb5['to'](_0x14972(0x204))}]},{'tag':_0x14972(0x206),'attributes':{'class':[qo]},'children':[{'tag':_0x14972(0x22e),'children':[{'text':_0xb4339f[_0x14972(0x236)]}]}]},{'tag':_0x14972(0x206),'attributes':{'class':[zo]},'children':_0x1e250a}]}),_0x1e250a[_0x14972(0x209)](this[_0x14972(0x1ee)](_0xf74cf3,_0x106bec,_0x14972(0x1db),_0xb4339f[_0x14972(0x20a)][_0x14972(0x230)]?.[_0x14972(0x227)]??!0x1)),_0x1e250a[_0x14972(0x209)](this[_0x14972(0x1ee)](_0xf74cf3,_0x1c52ed,_0x14972(0x1fa),_0xb4339f[_0x14972(0x20a)][_0x14972(0x1f8)]?.[_0x14972(0x227)]??!0x1));}[_0x352fe1(0x1ee)](_0xe4c472,_0x34eae9,_0x3a44c7,_0x3efcce){const _0x195bee=_0x352fe1,_0x10534e=new _0x187cdd();_0x10534e[_0x195bee(0x235)]=_0x34eae9;const _0x5b2370=new _0x28aa5d(_0xe4c472);_0x5b2370[_0x195bee(0x22d)]({'tag':_0x195bee(0x22e),'children':[{'text':_0x3ec124(_0xe4c472,_0x3a44c7)+':\x20'}]});const _0x23903b=new _0x28aa5d(_0xe4c472);return _0x23903b[_0x195bee(0x22d)]({'tag':_0x195bee(0x22e),'children':[{'text':_0x3ec124(_0xe4c472,_0x3efcce?_0x195bee(0x1de):_0x195bee(0x1d6))}]}),[_0x10534e,_0x5b2370,_0x23903b];}}class Jo extends _0x28aa5d{constructor(_0x30b97d){const _0x567839=_0x352fe1;super(_0x30b97d),this[_0x567839(0x1e4)](_0x567839(0x204),void 0x0),this[_0x567839(0x1e4)](_0x567839(0x1f5),!0x0);const _0x59ea1f=this[_0x567839(0x1fc)];this[_0x567839(0x22d)]({'tag':_0x567839(0x22e),'attributes':{'class':['ck',_0x567839(0x1da),_0x59ea1f['if'](_0x567839(0x1f5),_0x567839(0x201),_0x22e979=>!_0x22e979)]},'children':[{'text':_0x59ea1f['to'](_0x567839(0x204))}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3026e5=_0x5336;(function(_0x59a0f1,_0x38c1d7){const _0x3aab78=_0x5336,_0x1d8a0d=_0x59a0f1();while(!![]){try{const _0x2ce36d=-parseInt(_0x3aab78(0x202))/0x1+-parseInt(_0x3aab78(0x1e0))/0x2+parseInt(_0x3aab78(0x1e3))/0x3+parseInt(_0x3aab78(0x20c))/0x4*(-parseInt(_0x3aab78(0x20d))/0x5)+-parseInt(_0x3aab78(0x1e6))/0x6+parseInt(_0x3aab78(0x1f4))/0x7+parseInt(_0x3aab78(0x203))/0x8;if(_0x2ce36d===_0x38c1d7)break;else _0x1d8a0d['push'](_0x1d8a0d['shift']());}catch(_0x4fc682){_0x1d8a0d['push'](_0x1d8a0d['shift']());}}}(_0x5ead,0xa9552));function _0x5ead(){const _0x25c220=['keystrokes','enter','_setUpAddContextButtonPositioning','render','isUploadInProgress','5517164YJnAwB','5DDwTiT','trim','errorText','add','extendTemplate','update','ck-ai-chat__prompt-input','maxRows','focusableChildren','isEnabled','sendUserMessage','set','locale','submitButtonView','ck-ai-chat__prompt-submit-button','MAX_ROWS','value','setPlaceholderText','1381738awYqcT','isEmpty','MIN_ROWS','2036829bvVEzJ','execute','px\x20-\x20var(--ck-spacing-tiny))','5814444fiQaDr','submit','minRows','_queryViewResizeObserver','_createSubmitButton','hasError','target','right','destroy','fieldWrapperChildren','rtl','AI_CHAT_PROMPT_EMPTY_ERROR','placeholder','width','6960604eWrOji','queryView','setIsUploadInProgress','element','excludeScrollbarsAndBorders','window','reset','requestAnimationFrame','uiLanguageDirection','fieldView','fire','calc(','AI_CHAT_LABEL_SUBMIT','left','673820VVlhJU','21866600WUHBRu','_addContextButtonView','style','bind'];_0x5ead=function(){return _0x25c220;};return _0x5ead();}import{IconSubmit as _0x26618e}from'ckeditor5/src/icons.js';import{ButtonView as _0x3fd23b,AutocompleteView as _0x28f8be,createLabeledTextarea as _0x524c22}from'ckeditor5/src/ui.js';import{global as _0x57d0d7,isVisible as _0x2d4093,Rect as _0x4296b2,ResizeObserver as _0x1cc562}from'ckeditor5/src/utils.js';import{getTranslation as _0xe94632}from'../../../aicore/utils/common-translations.js';import{AIChatPromptSuggestionsListView as _0x2d6551}from'./aichatpromptsuggestionslistview.js';import{escape as _0x70f21c}from'es-toolkit/compat';function _0x5336(_0x1d3db3,_0x54fc68){const _0x5ead85=_0x5ead();return _0x5336=function(_0x53366b,_0x53394e){_0x53366b=_0x53366b-0x1d3;let _0x489097=_0x5ead85[_0x53366b];return _0x489097;},_0x5336(_0x1d3db3,_0x54fc68);}export class AIChatPromptInputView extends _0x28f8be{[_0x3026e5(0x1db)];static [_0x3026e5(0x1e2)]=0x1;static [_0x3026e5(0x1dd)]=0xc;[_0x3026e5(0x204)];[_0x3026e5(0x1e9)];constructor(_0x3f8a4c,_0xa0f9e7){const _0x47e04c=_0x3026e5;super(_0x3f8a4c,{'queryView':{'label':'','creator':_0x524c22,'showIcon':!0x1,'showResetButton':!0x1},'filteredView':new _0x2d6551(_0x3f8a4c),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1}),this[_0x47e04c(0x1d9)](_0x47e04c(0x1e1),!0x0),this[_0x47e04c(0x1d9)](_0x47e04c(0x20b),!0x1),this[_0x47e04c(0x204)]=_0xa0f9e7,this[_0x47e04c(0x1e9)]=null,this[_0x47e04c(0x1f5)][_0x47e04c(0x1fd)][_0x47e04c(0x1e8)]=AIChatPromptInputView[_0x47e04c(0x1e2)],this[_0x47e04c(0x1f5)][_0x47e04c(0x1fd)][_0x47e04c(0x1d5)]=AIChatPromptInputView[_0x47e04c(0x1dd)],this[_0x47e04c(0x1f5)][_0x47e04c(0x1ef)][_0x47e04c(0x210)](this[_0x47e04c(0x204)]),this[_0x47e04c(0x209)](),this[_0x47e04c(0x211)]({'attributes':{'class':['ck',_0x47e04c(0x1d4)]}}),this[_0x47e04c(0x1db)]=this[_0x47e04c(0x1ea)](),this[_0x47e04c(0x1db)][_0x47e04c(0x206)](_0x47e04c(0x1d7))['to'](this,_0x47e04c(0x1e1),this,_0x47e04c(0x20b),(_0x2cfd4f,_0x36390b)=>!_0x2cfd4f&&!_0x36390b),this[_0x47e04c(0x1d6)][_0x47e04c(0x210)](this[_0x47e04c(0x1db)]);}[_0x3026e5(0x20a)](){const _0x350f28=_0x3026e5;super[_0x350f28(0x20a)](),this[_0x350f28(0x1f5)][_0x350f28(0x1ef)][_0x350f28(0x210)](this[_0x350f28(0x1db)]),this[_0x350f28(0x207)][_0x350f28(0x1d9)](_0x350f28(0x208),(_0x894081,_0x8bf23b)=>{const _0x513f8d=_0x350f28;this[_0x513f8d(0x20b)]||this[_0x513f8d(0x1e1)]||_0x894081[_0x513f8d(0x1ec)]==this[_0x513f8d(0x1f5)][_0x513f8d(0x1fd)][_0x513f8d(0x1f7)]&&(this[_0x513f8d(0x1e7)](),_0x8bf23b());}),this[_0x350f28(0x1f5)][_0x350f28(0x1fd)]['on'](_0x350f28(0x1d3),()=>{const _0x506740=_0x350f28;this[_0x506740(0x1e1)]=''===this[_0x506740(0x1f5)][_0x506740(0x1fd)][_0x506740(0x1f7)][_0x506740(0x1de)]?.[_0x506740(0x20e)]();});}[_0x3026e5(0x1ee)](){const _0x82b4ed=_0x3026e5;super[_0x82b4ed(0x1ee)](),this[_0x82b4ed(0x1e9)]&&this[_0x82b4ed(0x1e9)][_0x82b4ed(0x1ee)]();}[_0x3026e5(0x1e7)](){const _0x42fe37=_0x3026e5,_0x3967f9=this[_0x42fe37(0x1f5)][_0x42fe37(0x1fd)][_0x42fe37(0x1f7)][_0x42fe37(0x1de)]?.[_0x42fe37(0x20e)]();if(!_0x3967f9)return this[_0x42fe37(0x1f5)][_0x42fe37(0x20f)]=_0xe94632(this[_0x42fe37(0x1da)],_0x42fe37(0x1f1)),void(this[_0x42fe37(0x1f5)][_0x42fe37(0x1fd)][_0x42fe37(0x1eb)]=!0x0);this[_0x42fe37(0x1f5)][_0x42fe37(0x1fd)][_0x42fe37(0x1eb)]=!0x1;const _0x15afc5=_0x70f21c(_0x3967f9);this[_0x42fe37(0x1fe)](_0x42fe37(0x1d8),_0x15afc5),this[_0x42fe37(0x1f5)][_0x42fe37(0x1fd)][_0x42fe37(0x1fa)]();}[_0x3026e5(0x1df)](_0xfa37ee){const _0x1b0de7=_0x3026e5;this[_0x1b0de7(0x1f5)][_0x1b0de7(0x1fd)][_0x1b0de7(0x1d9)](_0x1b0de7(0x1f2),_0xfa37ee);}[_0x3026e5(0x1ea)](){const _0x5355a2=_0x3026e5,_0x285084=new _0x3fd23b(this[_0x5355a2(0x1da)]);return _0x285084[_0x5355a2(0x1d9)]({'icon':_0x26618e,'label':_0xe94632(this[_0x5355a2(0x1da)],_0x5355a2(0x200)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x5355a2(0x1dc),'isEnabled':!0x1}),_0x285084['on'](_0x5355a2(0x1e4),()=>{const _0x503d28=_0x5355a2;this[_0x503d28(0x1e7)]();}),_0x285084;}[_0x3026e5(0x1f6)](_0x5015a3){const _0x4c68f6=_0x3026e5;this[_0x4c68f6(0x20b)]=_0x5015a3;}[_0x3026e5(0x209)](){const _0x3010c3=_0x3026e5,_0x10d34f=this[_0x3010c3(0x1da)],_0x1f4569=()=>{const _0x399528=_0x3010c3;_0x57d0d7[_0x399528(0x1f9)][_0x399528(0x1fb)](()=>{const _0xc1bfa5=_0x399528;if(_0x2d4093(this[_0xc1bfa5(0x1f7)])){const _0xb76a6c=new _0x4296b2(this[_0xc1bfa5(0x1f5)][_0xc1bfa5(0x1fd)][_0xc1bfa5(0x1f7)]),_0xf34224=new _0x4296b2(this[_0xc1bfa5(0x204)][_0xc1bfa5(0x1f7)]),_0x1df283=_0xb76a6c[_0xc1bfa5(0x1f3)],_0x337947=_0xc1bfa5(0x1f0)===_0x10d34f[_0xc1bfa5(0x1fc)]?_0xc1bfa5(0x1ed):_0xc1bfa5(0x201);_0xb76a6c[_0xc1bfa5(0x1f8)]();const _0xa0ddb8=_0x1df283-_0xb76a6c[_0xc1bfa5(0x1f3)]+0x1;this[_0xc1bfa5(0x204)][_0xc1bfa5(0x1f7)][_0xc1bfa5(0x205)][_0x337947]=_0xc1bfa5(0x1ff)+(_0x1df283-_0xf34224[_0xc1bfa5(0x1f3)]-_0xa0ddb8)+_0xc1bfa5(0x1e5);}});};this[_0x3010c3(0x1f5)][_0x3010c3(0x1fd)]['on'](_0x3010c3(0x1d3),_0x1f4569),this['on'](_0x3010c3(0x20a),()=>{const _0x3a21ad=_0x3010c3;_0x1f4569(),this[_0x3a21ad(0x1e9)]=new _0x1cc562(this[_0x3a21ad(0x1f5)][_0x3a21ad(0x1fd)][_0x3a21ad(0x1f7)],()=>{_0x1f4569();});});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x322efa=_0x47b5;function _0x2f25(){const _0x4d2225=['2172525ltMeNF','ck-hidden','1959627YQHDon','setResources','delegate','fire','highlightText','_resourcesListView','search','_latestLoadResourcesUid','4152UwaUIJ','isLoading','set','1142240RUCcAb','locale','extendTemplate','_searchView','useDefaultFiltering','_source','_createSkeletonView','_createSearchSection','710412PCeMOn','addResourceToContext','4337739sOVkKR','children','ck\x20ck-search','_searchInputVisibleFrom','searchInputVisibleFrom','add','loadResources','render','length','ck-ai-chat-resources','896NYAioE','div','updateResourceState','2pivxhT','setTemplate','source','_createSearchView','loadSourceResources','has','1675720FxUdgk','aiChatResources','getQuery','_searchSection','bindTemplate','_createResourcesListView','_skeletonLoader'];_0x2f25=function(){return _0x4d2225;};return _0x2f25();}(function(_0x350337,_0x53e4e1){const _0x58cc12=_0x47b5,_0x45312e=_0x350337();while(!![]){try{const _0x4e7164=parseInt(_0x58cc12(0x17e))/0x1*(parseInt(_0x58cc12(0x16f))/0x2)+-parseInt(_0x58cc12(0x15c))/0x3+parseInt(_0x58cc12(0x184))/0x4+-parseInt(_0x58cc12(0x18b))/0x5+parseInt(_0x58cc12(0x164))/0x6*(-parseInt(_0x58cc12(0x17b))/0x7)+parseInt(_0x58cc12(0x167))/0x8+parseInt(_0x58cc12(0x171))/0x9;if(_0x4e7164===_0x53e4e1)break;else _0x45312e['push'](_0x45312e['shift']());}catch(_0x3cf58d){_0x45312e['push'](_0x45312e['shift']());}}}(_0x2f25,0x8d10b));import{View as _0x37367f,ViewCollection as _0x4481a6}from'ckeditor5/src/ui.js';import{uid as _0x55a025}from'ckeditor5/src/utils.js';import{AIChatContextResourcesListView as _0x482635}from'./aichatcontextresourceslistview.js';function _0x47b5(_0x5e9e3b,_0x5a807f){const _0x2f2583=_0x2f25();return _0x47b5=function(_0x47b5be,_0x47bb44){_0x47b5be=_0x47b5be-0x15b;let _0x2dfe06=_0x2f2583[_0x47b5be];return _0x2dfe06;},_0x47b5(_0x5e9e3b,_0x5a807f);}import{AIChatContextResourcesSearchInputView as _0x24c4f2}from'./aichatresourcessearchinputview.js';import{AISkeletonView as _0x3616e4,SKELETON_DEFINITIONS as _0x5808a4}from'../../../../aicore/ui/aiskeleton.js';export class AIChatContextResourcesView extends _0x37367f{[_0x322efa(0x16a)];[_0x322efa(0x187)];[_0x322efa(0x174)];[_0x322efa(0x161)];[_0x322efa(0x18a)];[_0x322efa(0x16c)];[_0x322efa(0x172)];[_0x322efa(0x163)]=null;constructor(_0x503d72,_0xa23514){const _0x2efbb3=_0x322efa;super(_0x503d72),this[_0x2efbb3(0x16c)]=_0xa23514[_0x2efbb3(0x180)],this[_0x2efbb3(0x174)]=_0xa23514[_0x2efbb3(0x175)]??0x7,this[_0x2efbb3(0x166)](_0x2efbb3(0x165),!0x0),this[_0x2efbb3(0x16a)]=this[_0x2efbb3(0x181)](),this[_0x2efbb3(0x187)]=this[_0x2efbb3(0x16e)](),this[_0x2efbb3(0x161)]=this[_0x2efbb3(0x189)](),this[_0x2efbb3(0x18a)]=this[_0x2efbb3(0x16d)](),this[_0x2efbb3(0x172)]=new _0x4481a6([this[_0x2efbb3(0x18a)],this[_0x2efbb3(0x161)]]),this[_0x2efbb3(0x17f)]({'tag':_0x2efbb3(0x17c),'attributes':{'class':_0x2efbb3(0x17a)},'children':this[_0x2efbb3(0x172)]});}[_0x322efa(0x181)](){const _0x4f36de=_0x322efa;return new _0x24c4f2(this[_0x4f36de(0x168)]);}[_0x322efa(0x16e)](){const _0x202df0=_0x322efa,_0x2071a2=new _0x37367f(this[_0x202df0(0x168)]);return _0x2071a2[_0x202df0(0x17f)]({'tag':_0x202df0(0x17c),'attributes':{'class':_0x202df0(0x173)},'children':[this[_0x202df0(0x16a)]]}),this[_0x202df0(0x16a)]['on'](_0x202df0(0x162),(_0x522d90,_0x48f8d0)=>{const _0x699b73=_0x202df0;this[_0x699b73(0x177)](_0x48f8d0),this[_0x699b73(0x16c)][_0x699b73(0x16b)]&&this[_0x699b73(0x161)][_0x699b73(0x160)](_0x48f8d0);}),_0x2071a2;}[_0x322efa(0x189)](){const _0x265fdf=_0x322efa,_0x2ca0f4=new _0x482635(this[_0x265fdf(0x168)],this[_0x265fdf(0x16c)]);return _0x2ca0f4[_0x265fdf(0x15e)](_0x265fdf(0x170))['to'](this),_0x2ca0f4[_0x265fdf(0x169)]({'attributes':{'class':this[_0x265fdf(0x188)]['if'](_0x265fdf(0x165),_0x265fdf(0x15b))}}),_0x2ca0f4;}[_0x322efa(0x16d)](){const _0x3b656e=_0x322efa,_0x3dc979=new _0x3616e4(this[_0x3b656e(0x168)],_0x5808a4[_0x3b656e(0x185)]);return _0x3dc979[_0x3b656e(0x169)]({'attributes':{'class':[this[_0x3b656e(0x188)]['if'](_0x3b656e(0x165),_0x3b656e(0x15b),_0x4dfb5a=>!_0x4dfb5a)]}}),_0x3dc979;}[_0x322efa(0x178)](){const _0xbc9a5f=_0x322efa;super[_0xbc9a5f(0x178)](),this[_0xbc9a5f(0x177)]('');}[_0x322efa(0x177)](_0x46ed5f){const _0x328d91=_0x322efa,_0xa43789=_0x55a025();this[_0x328d91(0x163)]=_0xa43789,this[_0x328d91(0x15f)](_0x328d91(0x182),{'sourceId':this[_0x328d91(0x16c)]['id'],'query':_0x46ed5f,'uid':_0xa43789}),this[_0x328d91(0x165)]=!0x0;}[_0x322efa(0x15d)](_0x45d770,_0x92ed2){const _0x3c564c=_0x322efa;if(_0x92ed2&&_0x92ed2!==this[_0x3c564c(0x163)])return;const _0x3097f2=this[_0x3c564c(0x16c)][_0x3c564c(0x16b)]?this[_0x3c564c(0x16a)][_0x3c564c(0x186)]():'';this[_0x3c564c(0x161)][_0x3c564c(0x15d)](_0x45d770,_0x3097f2),_0x45d770[_0x3c564c(0x179)]>=this[_0x3c564c(0x174)]&&!this[_0x3c564c(0x172)][_0x3c564c(0x183)](this[_0x3c564c(0x187)])&&this[_0x3c564c(0x172)][_0x3c564c(0x176)](this[_0x3c564c(0x187)],0x0),requestAnimationFrame(()=>{const _0x3f8946=_0x3c564c;this[_0x3f8946(0x165)]=!0x1;});}[_0x322efa(0x17d)](_0x762693,_0x85ec8d){const _0x20b297=_0x322efa;this[_0x20b297(0x161)][_0x20b297(0x17d)](_0x762693,_0x85ec8d);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x31c3(_0x405995,_0x44659d){const _0x3c4e44=_0x3c4e();return _0x31c3=function(_0x31c3cc,_0x58703f){_0x31c3cc=_0x31c3cc-0x1a8;let _0x520f88=_0x3c4e44[_0x31c3cc];return _0x520f88;},_0x31c3(_0x405995,_0x44659d);}const _0x3dc1b6=_0x31c3;(function(_0x12936e,_0x45d1a6){const _0x196906=_0x31c3,_0x173351=_0x12936e();while(!![]){try{const _0x3b9800=-parseInt(_0x196906(0x1c0))/0x1+-parseInt(_0x196906(0x1b1))/0x2+parseInt(_0x196906(0x1c1))/0x3*(-parseInt(_0x196906(0x1af))/0x4)+-parseInt(_0x196906(0x1ba))/0x5+-parseInt(_0x196906(0x1be))/0x6+-parseInt(_0x196906(0x1cd))/0x7*(-parseInt(_0x196906(0x1ab))/0x8)+parseInt(_0x196906(0x1b7))/0x9;if(_0x3b9800===_0x45d1a6)break;else _0x173351['push'](_0x173351['shift']());}catch(_0x102db7){_0x173351['push'](_0x173351['shift']());}}}(_0x3c4e,0x752d0));function _0x3c4e(){const _0x58788a=['294292AHoKuE','div','getResourceIcon','trim','ck-ai-chat-resources__item-title','ck-hidden','16008399RZAHyK','updateResourceState','DOCUMENT','1112445NVnesZ','_titleView','resource','span','3180330WAlUII','ck-ai-chat-resources__item__icon','549243aUGmfu','10788bPsUjZ','content','_createIconView','set','ck-ai-chat-resources__item','highlightText','setTemplate','isVisible','type','FILE','URL','_createTitleView','14neFPJz','ck-ai-chat-resources__item--in-context','label','text','isInContext','_updateIcon','execute','_setupTemplate','render','2600072GhLRyj','bindTemplate','TEXT','extendTemplate','556UenBzV','_iconView'];_0x3c4e=function(){return _0x58788a;};return _0x3c4e();}import{HighlightedTextView as _0x485a6e,IconView as _0x27effe,ListItemView as _0x4e1133}from'ckeditor5/src/ui.js';import{escapeRegExp as _0x214334}from'es-toolkit/compat';import{AIContextItemType as _0x153725}from'../../../../aicore/model/aicontext.js';import{IconFileUpload as _0x252367,IconCheck as _0x2dd5de,IconDocument as _0x221cd7,IconDocumentOutline as _0x103485,IconLink as _0x4789f5}from'@ckeditor/ckeditor5-icons';const zr=_0x3dc1b6(0x1c5),Gr=_0x3dc1b6(0x1ce),Hr=_0x3dc1b6(0x1b5),Jr=_0x3dc1b6(0x1bf);export class AIChatResourceListItemView extends _0x4e1133{[_0x3dc1b6(0x1bc)];[_0x3dc1b6(0x1bb)];[_0x3dc1b6(0x1b0)];constructor(_0x57474e,_0x350714){const _0x5f005a=_0x3dc1b6;super(_0x57474e),this[_0x5f005a(0x1bc)]=_0x350714,this[_0x5f005a(0x1c4)](_0x5f005a(0x1d1),!!_0x350714[_0x5f005a(0x1d1)]),this[_0x5f005a(0x1bb)]=this[_0x5f005a(0x1cc)](),this[_0x5f005a(0x1b0)]=this[_0x5f005a(0x1c3)](),this[_0x5f005a(0x1a9)]();}[_0x3dc1b6(0x1aa)](){const _0x153e80=_0x3dc1b6;super[_0x153e80(0x1aa)]();}[_0x3dc1b6(0x1b3)](_0xb38c89){const _0x2770bc=_0x3dc1b6;if(_0xb38c89[_0x2770bc(0x1d1)])return _0x2dd5de;switch(_0xb38c89[_0x2770bc(0x1c9)]){case _0x153725[_0x2770bc(0x1b9)]:return _0x221cd7;case _0x153725[_0x2770bc(0x1cb)]:return _0x4789f5;case _0x153725[_0x2770bc(0x1ca)]:case _0x153725[_0x2770bc(0x1ad)]:return _0x252367;default:return _0x103485;}}[_0x3dc1b6(0x1c6)](_0x2495ee){const _0x1e71b2=_0x3dc1b6;if(!_0x2495ee||''===_0x2495ee[_0x1e71b2(0x1b4)]())return void this[_0x1e71b2(0x1bb)][_0x1e71b2(0x1c6)](null);const _0x24cd58=new RegExp(_0x214334(_0x2495ee),'gi');this[_0x1e71b2(0x1bb)][_0x1e71b2(0x1c6)](_0x24cd58);}[_0x3dc1b6(0x1b8)](_0x1a80f0){const _0x4768ec=_0x3dc1b6;this[_0x4768ec(0x1bc)][_0x4768ec(0x1d1)]=_0x1a80f0,this[_0x4768ec(0x1d1)]=_0x1a80f0,this[_0x4768ec(0x1d2)]();}[_0x3dc1b6(0x1cc)](){const _0x14347f=_0x3dc1b6,_0x43b379=new _0x485a6e();return _0x43b379[_0x14347f(0x1d0)]=this[_0x14347f(0x1bc)][_0x14347f(0x1cf)],_0x43b379[_0x14347f(0x1ae)]({'tag':_0x14347f(0x1bd),'attributes':{'class':[Hr]}}),_0x43b379;}[_0x3dc1b6(0x1c3)](){const _0x6bba04=_0x3dc1b6,_0xc30460=new _0x27effe();return _0xc30460[_0x6bba04(0x1c2)]=this[_0x6bba04(0x1b3)](this[_0x6bba04(0x1bc)]),_0xc30460;}[_0x3dc1b6(0x1a9)](){const _0x7fb2bd=_0x3dc1b6,_0x241192=this[_0x7fb2bd(0x1ac)];this[_0x7fb2bd(0x1c7)]({'tag':_0x7fb2bd(0x1b2),'attributes':{'class':[zr,_0x241192['if'](_0x7fb2bd(0x1c8),_0x7fb2bd(0x1b6),_0x50142c=>!_0x50142c),_0x241192['if'](_0x7fb2bd(0x1d1),Gr)]},'children':[{'tag':_0x7fb2bd(0x1b2),'attributes':{'class':[Jr]},'children':[this[_0x7fb2bd(0x1b0)]]},this[_0x7fb2bd(0x1bb)]],'on':{'click':_0x241192['to'](_0x7fb2bd(0x1a8))}});}[_0x3dc1b6(0x1d2)](){const _0x288cbc=_0x3dc1b6;this[_0x288cbc(0x1b0)][_0x288cbc(0x1c2)]=this[_0x288cbc(0x1b3)](this[_0x288cbc(0x1bc)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5ca1d6=_0x57d4;(function(_0x3344b7,_0xd66af7){const _0x226115=_0x57d4,_0x55ee65=_0x3344b7();while(!![]){try{const _0x5aca82=-parseInt(_0x226115(0x226))/0x1*(-parseInt(_0x226115(0x213))/0x2)+-parseInt(_0x226115(0x1f7))/0x3+parseInt(_0x226115(0x1ed))/0x4+-parseInt(_0x226115(0x200))/0x5*(-parseInt(_0x226115(0x22a))/0x6)+-parseInt(_0x226115(0x1f3))/0x7*(parseInt(_0x226115(0x1fb))/0x8)+-parseInt(_0x226115(0x215))/0x9+-parseInt(_0x226115(0x1fa))/0xa*(parseInt(_0x226115(0x216))/0xb);if(_0x5aca82===_0xd66af7)break;else _0x55ee65['push'](_0x55ee65['shift']());}catch(_0x90c502){_0x55ee65['push'](_0x55ee65['shift']());}}}(_0x5069,0x6c328));function _0x5069(){const _0x4121a1=['clear','showSourceResourcesBalloon','populateSourceResourceBalloon','destroy','show','onBackToContext','onResourceSelected','execute','content','onBalloonClosed','13UrqPBe','isAnyResourceBalloonVisible','change:isLoading','ck-button-icon\x20ck-button-back','174SlPSNg','2173900LcXRVo','pin','get','setResources','_createBalloonHeader','_addSourceResourceContent','35rOoyMJ','_createBackButton','getTargetElement','once','1625601OwRsxF','_getResourcesViewFromBalloon','values','1740kAvCSR','394824kqSXGO','_setupSingleResourceBalloonClickOutsideHandler','_createBalloonResourcesView','onLoadSourceResources','delete','150545CxpoSr','_sourceResourceBalloons','children','AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT','ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_source','loadSourceResources','resource','element','label','_createSourceResourceBalloonPanel','_locale','hide','source','extendTemplate','addResourceToContext','_config','closeSourceResourceBalloon','updateResourceState','set','95914DIyUGj','searchInputVisibleFrom','2424519VvIyzL','34067vlOdwW','isVisible','_bodyCollection','add','getLimiterElement','ck-ai-chat-context-controls__source-balloon-panel'];_0x5069=function(){return _0x4121a1;};return _0x5069();}import{BalloonPanelView as _0x416349,ButtonView as _0x1b0be2,clickOutsideHandler as _0x19641c,FormHeaderView as _0x567a5d}from'ckeditor5/src/ui.js';import{IconPreviousArrow as _0x14bb96}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x470d8f}from'../../../../aicore/utils/common-translations.js';function _0x57d4(_0x556edd,_0x5c8cc4){const _0x50698f=_0x5069();return _0x57d4=function(_0x57d4d3,_0x23410e){_0x57d4d3=_0x57d4d3-0x1ed;let _0x20857e=_0x50698f[_0x57d4d3];return _0x20857e;},_0x57d4(_0x556edd,_0x5c8cc4);}import{AIChatContextResourcesView as _0x10505b}from'./aichatcontextresourcesview.js';const Nr=_0x5ca1d6(0x21b),Xr=_0x5ca1d6(0x229),Kr=_0x5ca1d6(0x204);export class AIChatResourcesBalloonView{[_0x5ca1d6(0x201)]=new Map();[_0x5ca1d6(0x218)];[_0x5ca1d6(0x20a)];[_0x5ca1d6(0x20f)];constructor(_0x2b872d,_0x404d6c,_0x2d4b6c){const _0x48cb82=_0x5ca1d6;this[_0x48cb82(0x20a)]=_0x2b872d,this[_0x48cb82(0x218)]=_0x404d6c,this[_0x48cb82(0x20f)]=_0x2d4b6c;}[_0x5ca1d6(0x21d)](_0x39bc4a){const _0x4eedca=_0x5ca1d6;let _0x703c07=this[_0x4eedca(0x201)][_0x4eedca(0x1ef)](_0x39bc4a['id']);_0x703c07||(_0x703c07=this[_0x4eedca(0x209)](),this[_0x4eedca(0x201)][_0x4eedca(0x212)](_0x39bc4a['id'],_0x703c07),this[_0x4eedca(0x1fc)](_0x703c07)),this[_0x4eedca(0x1f2)](_0x703c07,_0x39bc4a),_0x703c07[_0x4eedca(0x220)]();const _0x27207a=this[_0x4eedca(0x20f)][_0x4eedca(0x1f5)]();_0x27207a&&_0x703c07[_0x4eedca(0x1ee)]({'target':_0x27207a,'limiter':this[_0x4eedca(0x20f)][_0x4eedca(0x21a)]()});}[_0x5ca1d6(0x21e)](_0x1463b2,_0x3477cb,_0x59255e){const _0x22b413=_0x5ca1d6,_0x1a04f1=this[_0x22b413(0x201)][_0x22b413(0x1ef)](_0x1463b2);if(!_0x1a04f1)return;const _0x43896d=this[_0x22b413(0x1f8)](_0x1a04f1);_0x43896d&&(_0x43896d[_0x22b413(0x1f0)](_0x3477cb,_0x59255e),_0x43896d[_0x22b413(0x1f6)](_0x22b413(0x228),()=>{const _0x2cd7ba=_0x22b413;_0x1a04f1[_0x2cd7ba(0x1ee)]({'target':this[_0x2cd7ba(0x20f)][_0x2cd7ba(0x1f5)](),'limiter':this[_0x2cd7ba(0x20f)][_0x2cd7ba(0x21a)]()});}));}[_0x5ca1d6(0x210)](_0x233320){const _0x56726d=_0x5ca1d6,_0x2e8fd3=this[_0x56726d(0x201)][_0x56726d(0x1ef)](_0x233320);_0x2e8fd3&&requestAnimationFrame(()=>{const _0x5e4f18=_0x56726d;_0x2e8fd3[_0x5e4f18(0x20b)](),this[_0x5e4f18(0x201)][_0x5e4f18(0x1ff)](_0x233320),this[_0x5e4f18(0x20f)][_0x5e4f18(0x225)]();});}[_0x5ca1d6(0x227)](){const _0x258be8=_0x5ca1d6;for(const _0x4dcfbf of this[_0x258be8(0x201)][_0x258be8(0x1f9)]())if(_0x4dcfbf[_0x258be8(0x217)])return!0x0;return!0x1;}[_0x5ca1d6(0x211)](_0x48ee17,_0x1691b5,_0x3d5af4){const _0x3abe37=_0x5ca1d6,_0xe7dae9=this[_0x3abe37(0x201)][_0x3abe37(0x1ef)](_0x48ee17);if(!_0xe7dae9||!_0xe7dae9[_0x3abe37(0x217)])return;const _0x27836b=this[_0x3abe37(0x20f)][_0x3abe37(0x1f5)]();if(!_0x27836b)return;_0xe7dae9[_0x3abe37(0x1ee)]({'target':_0x27836b,'limiter':this[_0x3abe37(0x20f)][_0x3abe37(0x21a)]()});const _0xa44d8b=this[_0x3abe37(0x1f8)](_0xe7dae9);_0xa44d8b&&_0xa44d8b[_0x3abe37(0x211)](_0x1691b5,_0x3d5af4);}[_0x5ca1d6(0x21f)](){const _0x3af2e6=_0x5ca1d6;for(const _0xfa350a of this[_0x3af2e6(0x201)][_0x3af2e6(0x1f9)]())_0xfa350a[_0x3af2e6(0x21f)]();this[_0x3af2e6(0x201)][_0x3af2e6(0x21c)]();}[_0x5ca1d6(0x209)](){const _0x50d681=_0x5ca1d6,_0x5c635e=new _0x416349(this[_0x50d681(0x20a)]);return _0x5c635e[_0x50d681(0x20d)]({'attributes':{'class':Nr}}),this[_0x50d681(0x218)][_0x50d681(0x219)](_0x5c635e),_0x5c635e;}[_0x5ca1d6(0x1f2)](_0x199ff4,_0x2b6898){const _0x170008=_0x5ca1d6;_0x199ff4[_0x170008(0x224)][_0x170008(0x21c)]();const _0x328d51=this[_0x170008(0x1f1)](_0x199ff4,_0x2b6898);_0x199ff4[_0x170008(0x224)][_0x170008(0x219)](_0x328d51);const _0x2cee67=this[_0x170008(0x1fd)](_0x2b6898);_0x199ff4[_0x170008(0x224)][_0x170008(0x219)](_0x2cee67);}[_0x5ca1d6(0x1f1)](_0x2a923f,_0x13674a){const _0x57fb8b=_0x5ca1d6,_0x4a1275=this[_0x57fb8b(0x1f4)](_0x2a923f),_0x5b9918=new _0x567a5d(this[_0x57fb8b(0x20a)],{'label':_0x13674a[_0x57fb8b(0x208)],'class':Kr});return _0x5b9918[_0x57fb8b(0x202)][_0x57fb8b(0x219)](_0x4a1275,0x0),_0x5b9918;}[_0x5ca1d6(0x1f4)](_0x2b7458){const _0x215739=_0x5ca1d6,_0x321b2b=new _0x1b0be2(this[_0x215739(0x20a)]);return _0x321b2b[_0x215739(0x212)]({'icon':_0x14bb96,'tooltip':_0x470d8f(this[_0x215739(0x20a)],_0x215739(0x203)),'tooltipPosition':'n','class':Xr}),_0x321b2b['on'](_0x215739(0x223),()=>{const _0x192e6e=_0x215739;_0x2b7458[_0x192e6e(0x20b)](),this[_0x192e6e(0x20f)][_0x192e6e(0x221)]();}),_0x321b2b;}[_0x5ca1d6(0x1fd)](_0xe025e3){const _0x361f6e=_0x5ca1d6,_0x1ed70a=new _0x10505b(this[_0x361f6e(0x20a)],{'source':_0xe025e3,'searchInputVisibleFrom':this[_0x361f6e(0x20f)][_0x361f6e(0x214)]});return _0x1ed70a['on'](_0x361f6e(0x205),(_0x16128f,_0x539e42)=>{const _0x5315c1=_0x361f6e;this[_0x5315c1(0x20f)][_0x5315c1(0x1fe)](_0x539e42);}),_0x1ed70a['on'](_0x361f6e(0x20e),(_0x121636,_0x4709f5)=>{const _0x40c8f0=_0x361f6e;this[_0x40c8f0(0x20f)][_0x40c8f0(0x222)](_0x4709f5[_0x40c8f0(0x20c)],_0x4709f5[_0x40c8f0(0x206)]),this[_0x40c8f0(0x210)](_0xe025e3['id']);}),_0x1ed70a;}[_0x5ca1d6(0x1f8)](_0x23fb17){const _0x310dae=_0x5ca1d6,_0x1b7f4b=_0x23fb17[_0x310dae(0x224)][_0x310dae(0x1ef)](0x1);return _0x1b7f4b instanceof _0x10505b?_0x1b7f4b:null;}[_0x5ca1d6(0x1fc)](_0x3c3bca){const _0x5d4cd2=_0x5ca1d6;_0x19641c({'emitter':_0x3c3bca,'contextElements':[_0x3c3bca[_0x5d4cd2(0x207)]],'callback':()=>{const _0x268d67=_0x5d4cd2;_0x3c3bca[_0x268d67(0x20b)](),this[_0x268d67(0x20f)][_0x268d67(0x225)]();},'activator':()=>_0x3c3bca[_0x5d4cd2(0x217)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ButtonView as
|
|
23
|
+
import{ButtonView as _0x3f6dca,IconView as _0x2daa50,LabeledFieldView as _0x2d211f,createLabeledInputText as _0x180c9c}from'ckeditor5/src/ui.js';import{IconLoupe as _0x197649,IconCancel as _0x44b514}from'ckeditor5/src/icons.js';import{getTranslation as _0x113664}from'../../../../aicore/utils/common-translations.js';export class AIChatContextResourcesSearchInputView extends _0x2d211f{['iconView'];['resetButtonView'];['_viewConfig'];constructor(_0x35d1f2){const t=_0x35d1f2['t'],_0x5cbe6f={'showResetButton':!0x0,'showIcon':!0x0,'creator':_0x180c9c,'label':_0x113664(_0x35d1f2,'AI_CHAT_SEARCH_RESOURCES')};super(_0x35d1f2,_0x5cbe6f['creator']),this['label']=_0x5cbe6f['label'],this['_viewConfig']=_0x5cbe6f,this['_viewConfig']['showIcon']&&this['_setupSearchIcon'](),this['_viewConfig']['showResetButton']&&this['_setupResetButton'](_0x35d1f2,t),this['_setupEventListeners']();}['reset'](){this['fieldView']['reset'](),this['_viewConfig']['showResetButton']&&this['resetButtonView']&&(this['resetButtonView']['isVisible']=!0x1),this['search']('');}['search'](_0xf93b16){this['fire']('search',_0xf93b16);}['getQuery'](){return this['fieldView']['element']?.['value']||'';}['_setupSearchIcon'](){this['iconView']=new _0x2daa50(),this['iconView']['content']=_0x197649,this['fieldWrapperChildren']['add'](this['iconView'],0x0),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-icon'}});}['_setupResetButton'](_0x18f37a,t){this['resetButtonView']=new _0x3f6dca(_0x18f37a),this['resetButtonView']['set']({'label':t('Clear'),'icon':_0x44b514,'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',_0x1aa2c7=>!_0x1aa2c7),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 _0xa6bd2b=_0x4287;(function(_0x58fb48,_0x5d1f9f){const _0x14a901=_0x4287,_0xb12cfd=_0x58fb48();while(!![]){try{const _0x25d835=-parseInt(_0x14a901(0xc8))/0x1*(-parseInt(_0x14a901(0xc4))/0x2)+parseInt(_0x14a901(0xbc))/0x3*(-parseInt(_0x14a901(0xc6))/0x4)+parseInt(_0x14a901(0xb6))/0x5*(parseInt(_0x14a901(0xc9))/0x6)+-parseInt(_0x14a901(0xc3))/0x7+parseInt(_0x14a901(0xd4))/0x8+-parseInt(_0x14a901(0xba))/0x9+-parseInt(_0x14a901(0xce))/0xa*(-parseInt(_0x14a901(0xbf))/0xb);if(_0x25d835===_0x5d1f9f)break;else _0xb12cfd['push'](_0xb12cfd['shift']());}catch(_0x302849){_0xb12cfd['push'](_0xb12cfd['shift']());}}}(_0x3c99,0x3ef9b));import{View as _0xae7521}from'ckeditor5/src/ui.js';function _0x4287(_0x5b14fd,_0x2de422){const _0x3c99e0=_0x3c99();return _0x4287=function(_0x4287c1,_0x1466bd){_0x4287c1=_0x4287c1-0xb6;let _0x318f93=_0x3c99e0[_0x4287c1];return _0x318f93;},_0x4287(_0x5b14fd,_0x2de422);}function _0x3c99(){const _0x24eca9=['1328ubdxWw','ck-ai-chat-context-chips-wrapper-balloon','114388Iouthv','createCollection','176UKCvsr','6PmNXNu','element','ck-ai-chat-context-controls__show-more-balloon-panel','setContainerElement','_bodyCollection','18220yGunCS','ck-ai-chat-controls-button','_contextChips','ck-ai-chat-controls_context_show-more-button','locale','ck-ai-chat-context-chips-wrapper','2130544ADKmhJ','ck-ai-chat__feed__context-chips','ck-reset_all','29140mjrHJc','div','destroy','render','3035520lTiSnT','querySelector','9RoArIL','reorganizeChips','setTemplate','4862QeEczm','_overflowManager','add','_createContextChips','3593212bOMVJQ'];_0x3c99=function(){return _0x24eca9;};return _0x3c99();}import{AIChatContextItemButtonView as _0xb4f1d7}from'../controls/aichatcontextitembuttonview.js';import{AIChatChipsOverflowManager as _0xb4a8f8}from'../controls/aichatchipsoverflowmanager.js';const $o=_0xa6bd2b(0xd5),Ko=_0xa6bd2b(0xd3),Qo=_0xa6bd2b(0xc5),Uo=_0xa6bd2b(0xcf),No=_0xa6bd2b(0xd1),Oo=_0xa6bd2b(0xcb);export class AIChatFeedContextChipsView extends _0xae7521{[_0xa6bd2b(0xd0)]=this[_0xa6bd2b(0xc7)]();[_0xa6bd2b(0xc0)];[_0xa6bd2b(0xcd)];constructor(_0x233420,_0x57e7e7,_0x4f1c43){const _0x4a06cb=_0xa6bd2b;super(_0x233420),this[_0x4a06cb(0xcd)]=_0x4f1c43,this[_0x4a06cb(0xc2)](_0x57e7e7);const _0x383462={'cssClasses':{'showMoreButton':No,'showMoreBalloon':Oo,'overflowContainer':Qo,'controlsButton':Uo}};this[_0x4a06cb(0xc0)]=new _0xb4a8f8(_0x233420,this[_0x4a06cb(0xd0)],_0x383462,this[_0x4a06cb(0xcd)],this),this[_0x4a06cb(0xbe)]({'tag':_0x4a06cb(0xb7),'attributes':{'class':[$o,'ck',_0x4a06cb(0xd6)]},'children':[{'tag':_0x4a06cb(0xb7),'attributes':{'class':Ko},'children':this[_0x4a06cb(0xd0)]}]});}[_0xa6bd2b(0xb9)](){const _0x9c0bf=_0xa6bd2b;super[_0x9c0bf(0xb9)]();const _0x101536=this[_0x9c0bf(0xca)][_0x9c0bf(0xbb)]('.'+Ko);_0x101536&&(this[_0x9c0bf(0xc0)][_0x9c0bf(0xcc)](_0x101536),this[_0x9c0bf(0xc0)][_0x9c0bf(0xbd)]());}[_0xa6bd2b(0xb8)](){const _0x38af82=_0xa6bd2b;super[_0x38af82(0xb8)](),this[_0x38af82(0xc0)][_0x38af82(0xb8)]();}[_0xa6bd2b(0xc2)](_0x55a4d0){const _0x38daeb=_0xa6bd2b;for(const _0x5326dc of _0x55a4d0){const _0x3754f7=new _0xb4f1d7(this[_0x38daeb(0xd2)],_0x5326dc,!0x0,!0x1);this[_0x38daeb(0xd0)][_0x38daeb(0xc1)](_0x3754f7);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1fb851=_0x38af;function _0x38af(_0x385de9,_0xaa604){const _0x36b115=_0x36b1();return _0x38af=function(_0x38afea,_0x3f686a){_0x38afea=_0x38afea-0x6c;let _0x1f8e3f=_0x36b115[_0x38afea];return _0x1f8e3f;},_0x38af(_0x385de9,_0xaa604);}(function(_0x5e2f84,_0x66b060){const _0x3628c6=_0x38af,_0x264f57=_0x5e2f84();while(!![]){try{const _0x59a7eb=-parseInt(_0x3628c6(0x7f))/0x1+parseInt(_0x3628c6(0x7e))/0x2*(-parseInt(_0x3628c6(0x77))/0x3)+parseInt(_0x3628c6(0x85))/0x4*(-parseInt(_0x3628c6(0x81))/0x5)+-parseInt(_0x3628c6(0x82))/0x6*(parseInt(_0x3628c6(0x78))/0x7)+parseInt(_0x3628c6(0x87))/0x8*(-parseInt(_0x3628c6(0x79))/0x9)+parseInt(_0x3628c6(0x6f))/0xa*(parseInt(_0x3628c6(0x84))/0xb)+parseInt(_0x3628c6(0x71))/0xc;if(_0x59a7eb===_0x66b060)break;else _0x264f57['push'](_0x264f57['shift']());}catch(_0x620bfc){_0x264f57['push'](_0x264f57['shift']());}}}(_0x36b1,0x1e4b6));import{IconBulb as _0x1e988f,IconWeb as _0x109c59}from'@ckeditor/ckeditor5-icons';import{IconView as _0x23579a,View as _0x5bc2a6}from'ckeditor5/src/ui.js';import{AIChatFeedItemView as _0xa2fd79}from'./aichatfeeditemview.js';import{getTranslation as _0x4f5398}from'../../../aicore/utils/common-translations.js';export class AIChatFeedInteractionHeaderView extends _0xa2fd79{[_0x1fb851(0x83)];constructor(_0x252417,_0x288e35){const _0x300f7f=_0x1fb851;super(_0x288e35);const {isWebSearchEnabled:_0x30b47b,isReasoningEnabled:_0x5242b5}=_0x288e35[_0x300f7f(0x83)],_0x19354b=[];let _0x4b275b='';_0x30b47b&&_0x5242b5?(_0x4b275b=_0x4f5398(_0x252417,_0x300f7f(0x74)),_0x19354b[_0x300f7f(0x72)](aa(_0x109c59)),_0x19354b[_0x300f7f(0x72)](aa(_0x1e988f))):_0x30b47b?(_0x4b275b=_0x4f5398(_0x252417,_0x300f7f(0x6c)),_0x19354b[_0x300f7f(0x72)](aa(_0x109c59))):_0x5242b5&&(_0x4b275b=_0x4f5398(_0x252417,_0x300f7f(0x7a)),_0x19354b[_0x300f7f(0x72)](aa(_0x1e988f))),this[_0x300f7f(0x70)]({'attributes':{'class':[_0x300f7f(0x7c),_0x4b275b?'':_0x300f7f(0x76)]}});const _0x2a1b69=new _0x5bc2a6();_0x2a1b69[_0x300f7f(0x80)]({'tag':_0x300f7f(0x6d),'attributes':{'class':['ck',_0x300f7f(0x86)]},'children':[..._0x19354b,{'tag':_0x300f7f(0x7b),'attributes':{'class':[_0x300f7f(0x73)]},'children':[_0x4b275b]}]}),this[_0x300f7f(0x7d)][_0x300f7f(0x75)](_0x2a1b69),this[_0x300f7f(0x83)]=_0x288e35[_0x300f7f(0x83)];}}function _0x36b1(){const _0x8e2f7c=['content','1033130jLWsOe','extendTemplate','8901252pgwYox','push','ck-ai-chat__feed__interaction-header__capabilities__text','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING','add','ck-hidden','15qikjaW','7KtsHmc','36DGNnOZ','AI_CHAT_FEED_REPLY_ITEM_USED_REASONING','span','ck-ai-chat__feed__interaction-header','children','27044cFzsvy','145594DfWSOL','setTemplate','325fHmhsp','1225782qFddod','capabilities','11togZoM','14420mmyTHB','ck-ai-chat__feed__interaction-header__capabilities','138344Mkszze','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH','div'];_0x36b1=function(){return _0x8e2f7c;};return _0x36b1();}function aa(_0x1343d5){const _0x50d77b=_0x1fb851,_0x1a23a=new _0x23579a();return _0x1a23a[_0x50d77b(0x6e)]=_0x1343d5,_0x1a23a;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x19763d=_0x2e56;(function(_0x417597,_0xd76bfa){const _0x3fc3a0=_0x2e56,_0x2c8773=_0x417597();while(!![]){try{const _0x5944d5=-parseInt(_0x3fc3a0(0xe7))/0x1+-parseInt(_0x3fc3a0(0xe6))/0x2*(-parseInt(_0x3fc3a0(0xe5))/0x3)+-parseInt(_0x3fc3a0(0xe2))/0x4*(parseInt(_0x3fc3a0(0xeb))/0x5)+-parseInt(_0x3fc3a0(0xdf))/0x6*(parseInt(_0x3fc3a0(0xe0))/0x7)+parseInt(_0x3fc3a0(0xe9))/0x8+parseInt(_0x3fc3a0(0xdc))/0x9*(-parseInt(_0x3fc3a0(0xde))/0xa)+parseInt(_0x3fc3a0(0xf6))/0xb*(parseInt(_0x3fc3a0(0xe1))/0xc);if(_0x5944d5===_0xd76bfa)break;else _0x2c8773['push'](_0x2c8773['shift']());}catch(_0x58a6c9){_0x2c8773['push'](_0x2c8773['shift']());}}}(_0x9745,0xcc9b8));import{View as _0x31c669}from'ckeditor5/src/ui.js';import{HTMLStreamer as _0x3a5a95}from'../../../aicore/utils/htmlstreamer.js';function _0x9745(){const _0x18cc04=['isDone','setTemplate','stream','ck-hidden','data-id','children','ck-ai-chat__feed__item_done','createCollection','content','ck-ai-chat__feed__text-item','set','18PhuUug','options','336620scJIQl','10176PFFryo','4417PaTPTn','588mtQTgg','4492CCWLaC','bindTemplate','ck-ai-chat__feed__item','336PaeBsC','23758Iyvwme','486409RkPlzJ','element','7355008tumsuP','[data-id]','2740UIKEcH','div','forEach','removeAttribute','animation:\x20ck-html-streamer-fade-in\x20.5s','isVisible','streamIntoElement','cleanUpAnimations','htmlStreamer','markAsDone','querySelectorAll','185779kiDVXv'];_0x9745=function(){return _0x18cc04;};return _0x9745();}function _0x2e56(_0x31f72f,_0x3f6ed4){const _0x97454e=_0x9745();return _0x2e56=function(_0x2e5670,_0x375596){_0x2e5670=_0x2e5670-0xdc;let _0x480cb2=_0x97454e[_0x2e5670];return _0x480cb2;},_0x2e56(_0x31f72f,_0x3f6ed4);}export class AIChatFeedItemView extends _0x31c669{[_0x19763d(0xdd)];[_0x19763d(0xff)]='';[_0x19763d(0xf3)];[_0x19763d(0xfc)];constructor(_0x325f8c){const _0x5c14c6=_0x19763d;super();const _0x2f5dc9=this[_0x5c14c6(0xe3)];this[_0x5c14c6(0x101)](_0x5c14c6(0xf7),!0x1),this[_0x5c14c6(0x101)](_0x5c14c6(0xf0),!0x0),this[_0x5c14c6(0xf3)]=new _0x3a5a95({'textNodeStyle':_0x5c14c6(0xef),'delay':0x14}),this[_0x5c14c6(0xdd)]=_0x325f8c,this[_0x5c14c6(0xfc)]=this[_0x5c14c6(0xfe)](),this[_0x5c14c6(0xf8)]({'tag':_0x5c14c6(0xec),'attributes':{'class':['ck',_0x5c14c6(0xe4),_0x2f5dc9['if'](_0x5c14c6(0xf7),_0x5c14c6(0xfd)),_0x2f5dc9['if'](_0x5c14c6(0xf0),_0x5c14c6(0xfa),_0x1867a5=>!_0x1867a5),_0x5c14c6(0x100)],'data-cke-ai-id':this[_0x5c14c6(0xdd)]['id']},'children':this[_0x5c14c6(0xfc)]});}[_0x19763d(0xf4)](){const _0x1ee94c=_0x19763d;this[_0x1ee94c(0xf3)][_0x1ee94c(0xf2)]({'targetElement':this[_0x1ee94c(0xe8)]}),this[_0x1ee94c(0xe8)][_0x1ee94c(0xf5)](_0x1ee94c(0xea))[_0x1ee94c(0xed)](_0x15083f=>{const _0x42eeb5=_0x1ee94c;_0x15083f[_0x42eeb5(0xee)](_0x42eeb5(0xfb));}),this[_0x1ee94c(0xf7)]=!0x0;}async[_0x19763d(0xf1)](_0x52215d,_0xd3d472,_0x4c379f){const _0x2e245e=_0x19763d;await this[_0x2e245e(0xf3)][_0x2e245e(0xf9)]({'document':_0x52215d,'targetElement':_0xd3d472,'abortSignal':_0x4c379f});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x412eb7=_0x31da;(function(_0x4e38dd,_0x3ef4d7){const _0x40d754=_0x31da,_0x61df7c=_0x4e38dd();while(!![]){try{const _0x5d161b=-parseInt(_0x40d754(0x18e))/0x1+parseInt(_0x40d754(0x19b))/0x2+parseInt(_0x40d754(0x18d))/0x3+-parseInt(_0x40d754(0x1a7))/0x4*(parseInt(_0x40d754(0x19f))/0x5)+parseInt(_0x40d754(0x1a5))/0x6*(parseInt(_0x40d754(0x195))/0x7)+parseInt(_0x40d754(0x1a0))/0x8+parseInt(_0x40d754(0x1a3))/0x9*(-parseInt(_0x40d754(0x19a))/0xa);if(_0x5d161b===_0x3ef4d7)break;else _0x61df7c['push'](_0x61df7c['shift']());}catch(_0x9feb2e){_0x61df7c['push'](_0x61df7c['shift']());}}}(_0x4246,0x54ae6));import{AIChatFeedItemView as _0x2367ed}from'./aichatfeeditemview.js';import{parse as _0x58fb7c,render as _0x2e4803}from'../../../aicore/utils/htmlparser.js';function _0x31da(_0x184d2c,_0x4d7358){const _0x424617=_0x4246();return _0x31da=function(_0x31da54,_0x164366){_0x31da54=_0x31da54-0x18b;let _0x5650af=_0x424617[_0x31da54];return _0x5650af;},_0x31da(_0x184d2c,_0x4d7358);}function _0x4246(){const _0x505343=['options','updateSources','_bodyCollection','extendTemplate','render','div','26243Ohntdu','ck-ai-chat__feed__ai-reply','addMany','innerHTML','ck-ai-chat__feed__ai-reply-container','6590ZSObHV','576880KiCqeS','isVisible','balloonPanelView','children','5bzHNsx','1459496rqMwIM','static','map','8397nJPIVq','streaming','1086eimShV','add','1254724CqbaIb','element','updateContent','setTemplate','streamIntoElement','markAsDone','ck-reset_all-excluded','replyContainer','initialContent','locale','1819788ggwIxg','480660ubZWYa'];_0x4246=function(){return _0x505343;};return _0x4246();}import{View as _0x1b44fc}from'ckeditor5/src/ui.js';import{AIWebSourcesView as _0x1b2699,AIWebSourceView as _0x4aafe2}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';export class AIChatFeedReplyItemView extends _0x2367ed{[_0x412eb7(0x1ae)];[_0x412eb7(0x191)];constructor(_0x46a140,_0x2b227b,_0x59d1a8){const _0x1935f0=_0x412eb7;super(_0x2b227b),this[_0x1935f0(0x191)]=_0x59d1a8,this[_0x1935f0(0x18c)]=_0x46a140,this[_0x1935f0(0x192)]({'attributes':{'class':[_0x1935f0(0x196)]}}),this[_0x1935f0(0x1ae)]=new _0x1b44fc(),this[_0x1935f0(0x1ae)][_0x1935f0(0x1aa)]({'tag':_0x1935f0(0x194),'attributes':{'class':['ck',_0x1935f0(0x1ad),_0x1935f0(0x199)]}}),this[_0x1935f0(0x19e)][_0x1935f0(0x1a6)](this[_0x1935f0(0x1ae)]);}async[_0x412eb7(0x193)](){const _0x40d17d=_0x412eb7;super[_0x40d17d(0x193)](),this[_0x40d17d(0x18f)][_0x40d17d(0x18b)]&&(await this[_0x40d17d(0x1a9)]({'parsedContent':_0x58fb7c(this[_0x40d17d(0x18f)][_0x40d17d(0x18b)]),'renderingStrategy':_0x40d17d(0x1a1)}),this[_0x40d17d(0x1ac)]());}async[_0x412eb7(0x1a9)]({parsedContent:_0x405bba,renderingStrategy:_0x2d4b32,abortSignal:_0x139699}){const _0x19587e=_0x412eb7;_0x19587e(0x1a4)===_0x2d4b32?await this[_0x19587e(0x1ab)](_0x405bba,this[_0x19587e(0x1ae)][_0x19587e(0x1a8)],_0x139699):this[_0x19587e(0x1ae)][_0x19587e(0x1a8)][_0x19587e(0x198)]=_0x2e4803(_0x405bba);}[_0x412eb7(0x190)](_0x3e6d86){const _0x3d6f11=_0x412eb7,_0xf7ff68=new _0x1b2699(this[_0x3d6f11(0x18c)],this[_0x3d6f11(0x191)]);_0xf7ff68[_0x3d6f11(0x19e)][_0x3d6f11(0x197)](_0x3e6d86[_0x3d6f11(0x1a2)](_0x9c6bce=>new _0x4aafe2(this[_0x3d6f11(0x18c)],_0x9c6bce,_0xf7ff68[_0x3d6f11(0x19d)]))),_0xf7ff68[_0x3d6f11(0x19c)]=!0x0,this[_0x3d6f11(0x19e)][_0x3d6f11(0x1a6)](_0xf7ff68);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x3f58(){const _0x1dd45f=['AI_CHAT_SUGGESTION_ACTION_APPLY_TOOLTIP','updateLabels','isTrackChangesOn','slice','listenTo','_createActionsButton','1121751FnVhwZ','actionsButton','has','open','label','4466TFnEbF','_createActionsDropdown','button','_setUpKeystrokes','children','keystrokeHandler','source','map','class','left','ck-ai-chat__feed__ai-suggestion__actions\x20','showChangeInText','ck-hidden','fire','applySuggestion','AI_CHAT_SUGGESTION_ACTION_APPLY_LABEL','delegate','_dropdownCurrentConfig','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT_TOOLTIP','bind','attachToDom','content','_dropdownOriginalConfig','div','15zhqddR','_updateDropdownActions','_setUpList','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT','element','width','detachFromDom','isVisible','esc','201844QHpTBs','pin','bindTemplate','insertSuggestion','destroy','113148ksdeke','execute','createCollection','tooltip','bottom','add','listItemModels','set','arrowView','224YGffhq','_createActionsDropdownOrButton','focus','filter','225918FbKqcp','455820HxcUrk','ck-ai-chat__feed__ai-suggestion__actions__balloon','locale','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION_TOOLTIP','balloonPanelClass','_firstRender','77vlwNsa','remove','unbind','insertSuggestionModel','308796puxHMx','setTemplate','listView','showChangeInTextModel','change:isTrackChangesOn','bodyCollection','keys','ck-ai-chat__feed__ai-suggestion__actions','isEnabled','ltr','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION','ck-ai-chat__feed__ai-suggestion__actions--no-animation','uiLanguageDirection','_partsCount','hide','arrowless','balloonPanelView','items','ck-ai-button-primary','actionName','AI_CHAT_SUGGESTION_MORE_OPTIONS_TOOLTIP','applySuggestionModel','length','10iSnEjm'];_0x3f58=function(){return _0x1dd45f;};return _0x3f58();}const _0x1e74fe=_0x2560;(function(_0x14d5df,_0x4f3e8d){const _0x1986c5=_0x2560,_0x550235=_0x14d5df();while(!![]){try{const _0x2c2067=-parseInt(_0x1986c5(0x144))/0x1+parseInt(_0x1986c5(0x137))/0x2+parseInt(_0x1986c5(0x129))/0x3*(-parseInt(_0x1986c5(0x132))/0x4)+parseInt(_0x1986c5(0x166))/0x5*(parseInt(_0x1986c5(0x14f))/0x6)+-parseInt(_0x1986c5(0x111))/0x7*(-parseInt(_0x1986c5(0x140))/0x8)+parseInt(_0x1986c5(0x16d))/0x9+-parseInt(_0x1986c5(0x145))/0xa*(-parseInt(_0x1986c5(0x14b))/0xb);if(_0x2c2067===_0x4f3e8d)break;else _0x550235['push'](_0x550235['shift']());}catch(_0x566f4c){_0x550235['push'](_0x550235['shift']());}}}(_0x3f58,0x22e0c));import{KeystrokeHandler as _0x529826}from'ckeditor5/src/utils.js';import{BalloonPanelView as _0x2626ad,BodyCollection as _0x53651a,ButtonView as _0x4bba95,clickOutsideHandler as _0x1f7671,ListItemButtonView as _0x2a69a8,ListItemView as _0x3989fa,ListView as _0x1c58d3,SplitButtonView as _0x16bacd,UIModel as _0x47c32a,View as _0x35043e}from'ckeditor5/src/ui.js';import{IconCheck as _0x45d000,IconAddComment as _0x50038e,IconDocumentWithLoupe as _0x201559}from'ckeditor5/src/icons.js';function _0x2560(_0x283df9,_0x4493b0){const _0x3f5864=_0x3f58();return _0x2560=function(_0x2560ab,_0x1a9994){_0x2560ab=_0x2560ab-0x10e;let _0x3890d2=_0x3f5864[_0x2560ab];return _0x3890d2;},_0x2560(_0x283df9,_0x4493b0);}import{getTranslation as _0x4df706}from'../../../aicore/utils/common-translations.js';export const AI_REPLY_ACTIONS=[_0x1e74fe(0x11f),_0x1e74fe(0x135),_0x1e74fe(0x11c)];export class AIChatFeedSuggestionItemActionsView extends _0x35043e{[_0x1e74fe(0x16e)];[_0x1e74fe(0x115)];[_0x1e74fe(0x164)];[_0x1e74fe(0x152)];[_0x1e74fe(0x14e)];[_0x1e74fe(0x15c)]=0x1;[_0x1e74fe(0x127)];[_0x1e74fe(0x122)];[_0x1e74fe(0x14a)]=!0x0;constructor(_0x457c39,_0x1fe86d){const _0xd15fcf=_0x1e74fe;super(_0x457c39),this[_0xd15fcf(0x127)]=_0x1fe86d||[...AI_REPLY_ACTIONS],this[_0xd15fcf(0x122)]=[...this[_0xd15fcf(0x127)]];const _0x18e5df=this[_0xd15fcf(0x134)];this[_0xd15fcf(0x13e)](_0xd15fcf(0x157),!0x0),this[_0xd15fcf(0x13e)](_0xd15fcf(0x130),!0x0),this[_0xd15fcf(0x13e)](_0xd15fcf(0x169),!0x1),this[_0xd15fcf(0x164)]=new _0x47c32a({'label':Pn(_0xd15fcf(0x11f),_0x457c39,this[_0xd15fcf(0x15c)]),'icon':_0x45d000,'withText':!0x0,'type':_0xd15fcf(0x113),'actionName':_0xd15fcf(0x11f)}),this[_0xd15fcf(0x152)]=new _0x47c32a({'label':Pn(_0xd15fcf(0x11c),_0x457c39,this[_0xd15fcf(0x15c)]),'icon':_0x201559,'withText':!0x0,'type':_0xd15fcf(0x113),'actionName':_0xd15fcf(0x11c)}),this[_0xd15fcf(0x14e)]=new _0x47c32a({'label':Pn(_0xd15fcf(0x135),_0x457c39,this[_0xd15fcf(0x15c)]),'icon':_0x50038e,'withText':!0x0,'type':_0xd15fcf(0x113),'actionName':_0xd15fcf(0x135)}),this[_0xd15fcf(0x16e)]=this[_0xd15fcf(0x141)](_0x457c39),this[_0xd15fcf(0x115)]=this[_0xd15fcf(0x139)](),this[_0xd15fcf(0x16e)]&&this[_0xd15fcf(0x115)][_0xd15fcf(0x13c)](this[_0xd15fcf(0x16e)]),this[_0xd15fcf(0x150)]({'tag':_0xd15fcf(0x128),'attributes':{'class':['ck',_0xd15fcf(0x156),_0x18e5df['if'](_0xd15fcf(0x130),_0xd15fcf(0x11d),_0x587049=>!_0x587049)]},'children':this[_0xd15fcf(0x115)]}),this['on'](_0xd15fcf(0x153),()=>{const _0x1c180c=_0xd15fcf;this[_0x1c180c(0x122)]=this[_0x1c180c(0x169)]?this[_0x1c180c(0x127)][_0x1c180c(0x143)](_0x414d90=>_0x1c180c(0x11f)!==_0x414d90):[...this[_0x1c180c(0x127)]],this[_0x1c180c(0x12a)](_0x457c39);});}[_0x1e74fe(0x12a)](_0x131fe4){const _0x3e2777=_0x1e74fe;this[_0x3e2777(0x16e)]&&this[_0x3e2777(0x115)][_0x3e2777(0x10e)](this[_0x3e2777(0x16e)])&&(this[_0x3e2777(0x115)][_0x3e2777(0x14c)](this[_0x3e2777(0x16e)]),this[_0x3e2777(0x16e)][_0x3e2777(0x136)]()),this[_0x3e2777(0x16e)]=this[_0x3e2777(0x141)](_0x131fe4),this[_0x3e2777(0x16e)]&&this[_0x3e2777(0x115)][_0x3e2777(0x13c)](this[_0x3e2777(0x16e)]);}[_0x1e74fe(0x141)](_0x2da741){const _0x3fc61c=_0x1e74fe;if(0x0==this[_0x3fc61c(0x122)][_0x3fc61c(0x165)])return null;const _0x4fa0a5=0x1===this[_0x3fc61c(0x122)][_0x3fc61c(0x165)]?this[_0x3fc61c(0x16c)](_0x2da741):this[_0x3fc61c(0x112)](_0x2da741),_0x114374=this[_0x3fc61c(0x14a)]?'':_0x3fc61c(0x15a);_0x4fa0a5[_0x3fc61c(0x13e)]({'label':Pn(this[_0x3fc61c(0x122)][0x0],_0x2da741,this[_0x3fc61c(0x15c)]),'tooltip':Hn(this[_0x3fc61c(0x122)][0x0],_0x2da741,this[_0x3fc61c(0x15c)]),'withText':!0x0,'class':_0x3fc61c(0x11b)+_0x114374});for(const _0x1bbe79 of this[_0x3fc61c(0x122)])_0x4fa0a5['on'](_0x1bbe79,()=>{const _0x16a082=_0x3fc61c;this[_0x16a082(0x11e)](_0x1bbe79);});return this[_0x3fc61c(0x14a)]=!0x1,_0x4fa0a5;}[_0x1e74fe(0x16c)](_0x8981f2){const _0x3dce7c=_0x1e74fe,_0x3c6444=new _0x4bba95(_0x8981f2);return _0x3c6444[_0x3dce7c(0x13e)]({'class':_0x3dce7c(0x161),'withText':!0x0}),_0x3c6444['on'](_0x3dce7c(0x138),()=>{const _0x438c37=_0x3dce7c;_0x3c6444[_0x438c37(0x11e)](this[_0x438c37(0x122)][0x0]);}),_0x3c6444;}[_0x1e74fe(0x112)](_0x362654){const _0x252e7e=_0x1e74fe,_0x2e3f3a=new Nn(_0x362654,{'listItemModels':this[_0x252e7e(0x122)][_0x252e7e(0x118)](_0x59cf83=>{const _0xd5a35c=_0x252e7e;switch(_0x59cf83){case _0xd5a35c(0x11f):return this[_0xd5a35c(0x164)];case _0xd5a35c(0x11c):return this[_0xd5a35c(0x152)];case _0xd5a35c(0x135):return this[_0xd5a35c(0x14e)];}})});return _0x2e3f3a[_0x252e7e(0x13e)]({'label':Pn(this[_0x252e7e(0x122)][0x0],_0x362654,this[_0x252e7e(0x15c)]),'tooltip':Hn(this[_0x252e7e(0x122)][0x0],_0x362654,this[_0x252e7e(0x15c)]),'withText':!0x0,'class':_0x252e7e(0x156),'balloonPanelClass':_0x252e7e(0x146)}),_0x2e3f3a[_0x252e7e(0x124)](_0x252e7e(0x157))['to'](this),_0x2e3f3a;}[_0x1e74fe(0x168)](_0x28d553){const _0x1184b6=_0x1e74fe,_0x388ea5=this[_0x1184b6(0x147)];this[_0x1184b6(0x15c)]=_0x28d553||this[_0x1184b6(0x15c)],this[_0x1184b6(0x16e)][_0x1184b6(0x13e)]({'label':Pn(this[_0x1184b6(0x122)][0x0],_0x388ea5,this[_0x1184b6(0x15c)]),'tooltip':Hn(this[_0x1184b6(0x122)][0x0],_0x388ea5,this[_0x1184b6(0x15c)])}),this[_0x1184b6(0x164)][_0x1184b6(0x110)]=Pn(_0x1184b6(0x11f),_0x388ea5,this[_0x1184b6(0x15c)]),this[_0x1184b6(0x152)][_0x1184b6(0x110)]=Pn(_0x1184b6(0x11c),_0x388ea5,this[_0x1184b6(0x15c)]),this[_0x1184b6(0x14e)][_0x1184b6(0x110)]=Pn(_0x1184b6(0x135),_0x388ea5,this[_0x1184b6(0x15c)]);}}class Nn extends _0x16bacd{[_0x1e74fe(0x154)];[_0x1e74fe(0x15f)];[_0x1e74fe(0x151)];[_0x1e74fe(0x116)];constructor(_0x2bc30b,_0x432841){const _0x189375=_0x1e74fe;super(_0x2bc30b),this[_0x189375(0x15f)]=new _0x2626ad(this[_0x189375(0x147)]),this[_0x189375(0x154)]=new _0x53651a(this[_0x189375(0x147)]),this[_0x189375(0x154)][_0x189375(0x125)](),this[_0x189375(0x13e)](_0x189375(0x149),''),this[_0x189375(0x15f)][_0x189375(0x124)](_0x189375(0x119))['to'](this,_0x189375(0x149)),this[_0x189375(0x151)]=this[_0x189375(0x12b)](_0x432841[_0x189375(0x13d)][_0x189375(0x16a)](0x1)),this[_0x189375(0x154)][_0x189375(0x13c)](this[_0x189375(0x15f)]),this[_0x189375(0x15f)][_0x189375(0x126)][_0x189375(0x13c)](this[_0x189375(0x151)]),this[_0x189375(0x13f)][_0x189375(0x14d)](_0x189375(0x13a)),this[_0x189375(0x13f)][_0x189375(0x13e)](_0x189375(0x13a),_0x4df706(this[_0x189375(0x147)],_0x189375(0x163))),this[_0x189375(0x114)](),this['on'](_0x189375(0x138),()=>{const _0x20db85=_0x189375,_0x5300b4=_0x432841[_0x20db85(0x13d)][0x0][_0x20db85(0x162)];this[_0x20db85(0x11e)](_0x5300b4),this[_0x20db85(0x15f)][_0x20db85(0x15d)](),this[_0x20db85(0x13f)][_0x20db85(0x142)]();}),this['on'](_0x189375(0x10f),()=>{const _0x41ca76=_0x189375;this[_0x41ca76(0x15f)][_0x41ca76(0x130)]?(this[_0x41ca76(0x15f)][_0x41ca76(0x15d)](),this[_0x41ca76(0x13f)][_0x41ca76(0x142)]()):(this[_0x41ca76(0x15f)][_0x41ca76(0x133)]({'target':this[_0x41ca76(0x12d)],'positions':[_0x41ca76(0x158)===this[_0x41ca76(0x147)][_0x41ca76(0x15b)]?Gn:yn]}),this[_0x41ca76(0x151)][_0x41ca76(0x142)]());}),_0x1f7671({'emitter':this[_0x189375(0x15f)],'callback':()=>{const _0x3c9dfc=_0x189375;this[_0x3c9dfc(0x15f)][_0x3c9dfc(0x15d)]();},'activator':()=>this[_0x189375(0x15f)][_0x189375(0x130)],'contextElements':()=>[this[_0x189375(0x12d)],this[_0x189375(0x15f)][_0x189375(0x12d)]]});}[_0x1e74fe(0x12b)](_0x8e5df9){const _0x3aebed=_0x1e74fe,_0x273040=this[_0x3aebed(0x147)],_0x103229=new _0x1c58d3(_0x273040);for(const _0x2b3b5e of _0x8e5df9){const _0xfd50b9=new _0x3989fa(_0x273040),_0x23bd07=new _0x2a69a8(_0x273040);_0x23bd07[_0x3aebed(0x124)](...Object[_0x3aebed(0x155)](_0x2b3b5e))['to'](_0x2b3b5e),_0x23bd07[_0x3aebed(0x121)](_0x3aebed(0x138))['to'](_0x103229),_0xfd50b9[_0x3aebed(0x115)][_0x3aebed(0x13c)](_0x23bd07),_0x103229[_0x3aebed(0x160)][_0x3aebed(0x13c)](_0xfd50b9);}return _0x103229[_0x3aebed(0x160)][_0x3aebed(0x121)](_0x3aebed(0x138))['to'](this),_0x103229['on'](_0x3aebed(0x138),_0x319fdb=>{const _0x344fc6=_0x3aebed,_0x4c6848=_0x319fdb[_0x344fc6(0x117)];this[_0x344fc6(0x11e)](_0x4c6848[_0x344fc6(0x162)]),this[_0x344fc6(0x15f)][_0x344fc6(0x15d)](),this[_0x344fc6(0x13f)][_0x344fc6(0x142)]();}),_0x103229;}[_0x1e74fe(0x114)](){const _0x371524=_0x1e74fe;this[_0x371524(0x116)]=new _0x529826(),this[_0x371524(0x116)][_0x371524(0x16b)](this[_0x371524(0x15f)][_0x371524(0x12d)]),this[_0x371524(0x116)][_0x371524(0x13e)](_0x371524(0x131),(_0x5a5b3a,_0x4b22e3)=>{const _0x360938=_0x371524;this[_0x360938(0x15f)][_0x360938(0x15d)](),this[_0x360938(0x13f)][_0x360938(0x142)](),_0x4b22e3();});}[_0x1e74fe(0x136)](){const _0x2168b3=_0x1e74fe;super[_0x2168b3(0x136)](),this[_0x2168b3(0x116)][_0x2168b3(0x136)](),this[_0x2168b3(0x15f)][_0x2168b3(0x136)](),this[_0x2168b3(0x154)][_0x2168b3(0x12f)]();}}function Gn(_0x11cc33){const _0x40a7ac=_0x1e74fe;return{'top':_0x11cc33[_0x40a7ac(0x13b)],'left':_0x11cc33[_0x40a7ac(0x11a)],'name':_0x40a7ac(0x15e),'config':{'withArrow':!0x1}};}function yn(_0x5c2f65,_0x505a0f){const _0x71aebc=_0x1e74fe;return{'top':_0x5c2f65[_0x71aebc(0x13b)],'left':_0x5c2f65[_0x71aebc(0x11a)]-(_0x505a0f[_0x71aebc(0x12e)]-_0x5c2f65[_0x71aebc(0x12e)]),'name':_0x71aebc(0x15e),'config':{'withArrow':!0x1}};}function Pn(_0x42f0fb,_0x150f03,_0x4da59d){const _0x29477b=_0x1e74fe;switch(_0x42f0fb){case _0x29477b(0x11f):return _0x4df706(_0x150f03,_0x29477b(0x120),_0x4da59d);case _0x29477b(0x11c):return _0x4df706(_0x150f03,_0x29477b(0x12c),_0x4da59d);case _0x29477b(0x135):return _0x4df706(_0x150f03,_0x29477b(0x159),_0x4da59d);}}function Hn(_0x297ad8,_0x56d1b1,_0x20f110){const _0x1a2c5a=_0x1e74fe;switch(_0x297ad8){case _0x1a2c5a(0x11f):return _0x4df706(_0x56d1b1,_0x1a2c5a(0x167),_0x20f110);case _0x1a2c5a(0x11c):return _0x4df706(_0x56d1b1,_0x1a2c5a(0x123),_0x20f110);case _0x1a2c5a(0x135):return _0x4df706(_0x56d1b1,_0x1a2c5a(0x148),_0x20f110);}}
|
|
23
|
+
const _0x1c533c=_0x472f;(function(_0x1b0698,_0x2232de){const _0x3cf1e7=_0x472f,_0x540661=_0x1b0698();while(!![]){try{const _0xdc30a=-parseInt(_0x3cf1e7(0xee))/0x1+parseInt(_0x3cf1e7(0xeb))/0x2+parseInt(_0x3cf1e7(0xfd))/0x3*(parseInt(_0x3cf1e7(0xd2))/0x4)+parseInt(_0x3cf1e7(0xd4))/0x5+-parseInt(_0x3cf1e7(0xe9))/0x6*(parseInt(_0x3cf1e7(0xff))/0x7)+parseInt(_0x3cf1e7(0xb6))/0x8*(parseInt(_0x3cf1e7(0xac))/0x9)+-parseInt(_0x3cf1e7(0xb2))/0xa;if(_0xdc30a===_0x2232de)break;else _0x540661['push'](_0x540661['shift']());}catch(_0x21949a){_0x540661['push'](_0x540661['shift']());}}}(_0x2c9f,0x77cff));import{KeystrokeHandler as _0x417d87}from'ckeditor5/src/utils.js';import{BalloonPanelView as _0x50855f,BodyCollection as _0x4e3d26,ButtonView as _0x41d38b,clickOutsideHandler as _0x189f14,ListItemButtonView as _0x2ec330,ListItemView as _0x5c1c4d,ListView as _0x378e81,SplitButtonView as _0x34e1e5,UIModel as _0x314083,View as _0x270230}from'ckeditor5/src/ui.js';import{IconCheck as _0x679e,IconAddComment as _0x380222,IconDocumentWithLoupe as _0x4fed18}from'ckeditor5/src/icons.js';import{getTranslation as _0x3df7d3}from'../../../aicore/utils/common-translations.js';export const AI_REPLY_ACTIONS=[_0x1c533c(0xb3),_0x1c533c(0xb0),_0x1c533c(0x101)];export class AIChatFeedSuggestionItemActionsView extends _0x270230{[_0x1c533c(0xbe)];[_0x1c533c(0xf7)];[_0x1c533c(0xdc)];[_0x1c533c(0xd5)];[_0x1c533c(0xfc)];[_0x1c533c(0xc8)]=0x1;[_0x1c533c(0xd3)];[_0x1c533c(0xc0)];[_0x1c533c(0xaf)]=!0x0;constructor(_0x5334e1,_0x5ea99a){const _0xa56477=_0x1c533c;super(_0x5334e1),this[_0xa56477(0xd3)]=_0x5ea99a||[...AI_REPLY_ACTIONS],this[_0xa56477(0xc0)]=[...this[_0xa56477(0xd3)]];const _0x4e42b0=this[_0xa56477(0xfa)];this[_0xa56477(0xdf)](_0xa56477(0xb8),!0x0),this[_0xa56477(0xdf)](_0xa56477(0xdd),!0x0),this[_0xa56477(0xdf)](_0xa56477(0xa8),!0x1),this[_0xa56477(0xdc)]=new _0x314083({'label':Pn(_0xa56477(0xb3),_0x5334e1,this[_0xa56477(0xc8)]),'icon':_0x679e,'withText':!0x0,'type':_0xa56477(0xe3),'actionName':_0xa56477(0xb3)}),this[_0xa56477(0xd5)]=new _0x314083({'label':Pn(_0xa56477(0x101),_0x5334e1,this[_0xa56477(0xc8)]),'icon':_0x4fed18,'withText':!0x0,'type':_0xa56477(0xe3),'actionName':_0xa56477(0x101)}),this[_0xa56477(0xfc)]=new _0x314083({'label':Pn(_0xa56477(0xb0),_0x5334e1,this[_0xa56477(0xc8)]),'icon':_0x380222,'withText':!0x0,'type':_0xa56477(0xe3),'actionName':_0xa56477(0xb0)}),this[_0xa56477(0xbe)]=this[_0xa56477(0xea)](_0x5334e1),this[_0xa56477(0xf7)]=this[_0xa56477(0xd1)](),this[_0xa56477(0xbe)]&&this[_0xa56477(0xf7)][_0xa56477(0xcc)](this[_0xa56477(0xbe)]),this[_0xa56477(0xbb)]({'tag':_0xa56477(0xa3),'attributes':{'class':['ck',_0xa56477(0xcb),_0x4e42b0['if'](_0xa56477(0xdd),_0xa56477(0xa2),_0x1b84c3=>!_0x1b84c3)]},'children':this[_0xa56477(0xf7)]}),this['on'](_0xa56477(0xb1),()=>{const _0x103207=_0xa56477;this[_0x103207(0xc0)]=this[_0x103207(0xa8)]?this[_0x103207(0xd3)][_0x103207(0xdb)](_0x512ba3=>_0x103207(0xb3)!==_0x512ba3):[...this[_0x103207(0xd3)]],this[_0x103207(0xec)](_0x5334e1);});}[_0x1c533c(0xec)](_0xbfdc48){const _0x4e1602=_0x1c533c;this[_0x4e1602(0xbe)]&&this[_0x4e1602(0xf7)][_0x4e1602(0xa4)](this[_0x4e1602(0xbe)])&&(this[_0x4e1602(0xf7)][_0x4e1602(0xa7)](this[_0x4e1602(0xbe)]),this[_0x4e1602(0xbe)][_0x4e1602(0xf2)]()),this[_0x4e1602(0xbe)]=this[_0x4e1602(0xea)](_0xbfdc48),this[_0x4e1602(0xbe)]&&this[_0x4e1602(0xf7)][_0x4e1602(0xcc)](this[_0x4e1602(0xbe)]);}[_0x1c533c(0xea)](_0x22a63e){const _0x5b00e5=_0x1c533c;if(0x0==this[_0x5b00e5(0xc0)][_0x5b00e5(0xc6)])return null;const _0xc231cb=0x1===this[_0x5b00e5(0xc0)][_0x5b00e5(0xc6)]?this[_0x5b00e5(0xd9)](_0x22a63e):this[_0x5b00e5(0xf6)](_0x22a63e),_0xd9cf0b=this[_0x5b00e5(0xaf)]?'':_0x5b00e5(0xb5);_0xc231cb[_0x5b00e5(0xdf)]({'label':Pn(this[_0x5b00e5(0xc0)][0x0],_0x22a63e,this[_0x5b00e5(0xc8)]),'tooltip':Hn(this[_0x5b00e5(0xc0)][0x0],_0x22a63e,this[_0x5b00e5(0xc8)]),'withText':!0x0,'class':_0x5b00e5(0xed)+_0xd9cf0b});for(const _0x43b29c of this[_0x5b00e5(0xc0)])_0xc231cb['on'](_0x43b29c,()=>{const _0x2976d3=_0x5b00e5;this[_0x2976d3(0xa5)](_0x43b29c);});return this[_0x5b00e5(0xaf)]=!0x1,_0xc231cb;}[_0x1c533c(0xd9)](_0x5878bf){const _0x3d5b21=_0x1c533c,_0x4116e9=new _0x41d38b(_0x5878bf);return _0x4116e9[_0x3d5b21(0xdf)]({'class':_0x3d5b21(0xb7),'withText':!0x0}),_0x4116e9['on'](_0x3d5b21(0xca),()=>{const _0x3c78ff=_0x3d5b21;_0x4116e9[_0x3c78ff(0xa5)](this[_0x3c78ff(0xc0)][0x0]);}),_0x4116e9;}[_0x1c533c(0xf6)](_0x31c5cb){const _0xa8d559=_0x1c533c,_0x51f591=new Nn(_0x31c5cb,{'listItemModels':this[_0xa8d559(0xc0)][_0xa8d559(0xad)](_0x161710=>{const _0x2f8b06=_0xa8d559;switch(_0x161710){case _0x2f8b06(0xb3):return this[_0x2f8b06(0xdc)];case _0x2f8b06(0x101):return this[_0x2f8b06(0xd5)];case _0x2f8b06(0xb0):return this[_0x2f8b06(0xfc)];}})});return _0x51f591[_0xa8d559(0xdf)]({'label':Pn(this[_0xa8d559(0xc0)][0x0],_0x31c5cb,this[_0xa8d559(0xc8)]),'tooltip':Hn(this[_0xa8d559(0xc0)][0x0],_0x31c5cb,this[_0xa8d559(0xc8)]),'withText':!0x0,'class':_0xa8d559(0xcb),'balloonPanelClass':_0xa8d559(0xd8)}),_0x51f591[_0xa8d559(0xe0)](_0xa8d559(0xb8))['to'](this),_0x51f591;}[_0x1c533c(0xe4)](_0x338857){const _0x262c37=_0x1c533c,_0x58ea7e=this[_0x262c37(0x100)];this[_0x262c37(0xc8)]=_0x338857||this[_0x262c37(0xc8)],this[_0x262c37(0xbe)][_0x262c37(0xdf)]({'label':Pn(this[_0x262c37(0xc0)][0x0],_0x58ea7e,this[_0x262c37(0xc8)]),'tooltip':Hn(this[_0x262c37(0xc0)][0x0],_0x58ea7e,this[_0x262c37(0xc8)])}),this[_0x262c37(0xdc)][_0x262c37(0xa6)]=Pn(_0x262c37(0xb3),_0x58ea7e,this[_0x262c37(0xc8)]),this[_0x262c37(0xd5)][_0x262c37(0xa6)]=Pn(_0x262c37(0x101),_0x58ea7e,this[_0x262c37(0xc8)]),this[_0x262c37(0xfc)][_0x262c37(0xa6)]=Pn(_0x262c37(0xb0),_0x58ea7e,this[_0x262c37(0xc8)]);}}function _0x472f(_0x44e891,_0x5b2cc7){const _0x2c9f96=_0x2c9f();return _0x472f=function(_0x472f79,_0x274c33){_0x472f79=_0x472f79-0xa2;let _0x89ec1b=_0x2c9f96[_0x472f79];return _0x89ec1b;},_0x472f(_0x44e891,_0x5b2cc7);}class Nn extends _0x34e1e5{[_0x1c533c(0xcf)];[_0x1c533c(0xda)];[_0x1c533c(0xf8)];[_0x1c533c(0xe7)];constructor(_0x3bac4d,_0x355d1f){const _0x4d3675=_0x1c533c;super(_0x3bac4d),this[_0x4d3675(0xda)]=new _0x50855f(this[_0x4d3675(0x100)]),this[_0x4d3675(0xcf)]=new _0x4e3d26(this[_0x4d3675(0x100)]),this[_0x4d3675(0xcf)][_0x4d3675(0xde)](),this[_0x4d3675(0xdf)](_0x4d3675(0xc9),''),this[_0x4d3675(0xda)][_0x4d3675(0xe0)](_0x4d3675(0xe2))['to'](this,_0x4d3675(0xc9)),this[_0x4d3675(0xf8)]=this[_0x4d3675(0xc1)](_0x355d1f[_0x4d3675(0xba)][_0x4d3675(0xaa)](0x1)),this[_0x4d3675(0xcf)][_0x4d3675(0xcc)](this[_0x4d3675(0xda)]),this[_0x4d3675(0xda)][_0x4d3675(0xc5)][_0x4d3675(0xcc)](this[_0x4d3675(0xf8)]),this[_0x4d3675(0xbd)][_0x4d3675(0xc3)](_0x4d3675(0xb9)),this[_0x4d3675(0xbd)][_0x4d3675(0xdf)](_0x4d3675(0xb9),_0x3df7d3(this[_0x4d3675(0x100)],_0x4d3675(0xf4))),this[_0x4d3675(0xab)](),this['on'](_0x4d3675(0xca),()=>{const _0x506e81=_0x4d3675,_0x5eff35=_0x355d1f[_0x506e81(0xba)][0x0][_0x506e81(0xa9)];this[_0x506e81(0xa5)](_0x5eff35),this[_0x506e81(0xda)][_0x506e81(0xfb)](),this[_0x506e81(0xbd)][_0x506e81(0xd7)]();}),this['on'](_0x4d3675(0xf3),()=>{const _0x38a280=_0x4d3675;this[_0x38a280(0xda)][_0x38a280(0xdd)]?(this[_0x38a280(0xda)][_0x38a280(0xfb)](),this[_0x38a280(0xbd)][_0x38a280(0xd7)]()):(this[_0x38a280(0xda)][_0x38a280(0xe6)]({'target':this[_0x38a280(0xf0)],'positions':[_0x38a280(0xc2)===this[_0x38a280(0x100)][_0x38a280(0xcd)]?Gn:yn]}),this[_0x38a280(0xf8)][_0x38a280(0xd7)]());}),_0x189f14({'emitter':this[_0x4d3675(0xda)],'callback':()=>{const _0x2daa4c=_0x4d3675;this[_0x2daa4c(0xda)][_0x2daa4c(0xfb)]();},'activator':()=>this[_0x4d3675(0xda)][_0x4d3675(0xdd)],'contextElements':()=>[this[_0x4d3675(0xf0)],this[_0x4d3675(0xda)][_0x4d3675(0xf0)]]});}[_0x1c533c(0xc1)](_0x5bd783){const _0x43eec3=_0x1c533c,_0x1c3d84=this[_0x43eec3(0x100)],_0x17c11b=new _0x378e81(_0x1c3d84);for(const _0x41d4a6 of _0x5bd783){const _0x1d4342=new _0x5c1c4d(_0x1c3d84),_0x1f43a4=new _0x2ec330(_0x1c3d84);_0x1f43a4[_0x43eec3(0xe0)](...Object[_0x43eec3(0xf9)](_0x41d4a6))['to'](_0x41d4a6),_0x1f43a4[_0x43eec3(0xf5)](_0x43eec3(0xca))['to'](_0x17c11b),_0x1d4342[_0x43eec3(0xf7)][_0x43eec3(0xcc)](_0x1f43a4),_0x17c11b[_0x43eec3(0xd6)][_0x43eec3(0xcc)](_0x1d4342);}return _0x17c11b[_0x43eec3(0xd6)][_0x43eec3(0xf5)](_0x43eec3(0xca))['to'](this),_0x17c11b['on'](_0x43eec3(0xca),_0xa45e5d=>{const _0x25cbac=_0x43eec3,_0x4d1dec=_0xa45e5d[_0x25cbac(0xc4)];this[_0x25cbac(0xa5)](_0x4d1dec[_0x25cbac(0xa9)]),this[_0x25cbac(0xda)][_0x25cbac(0xfb)](),this[_0x25cbac(0xbd)][_0x25cbac(0xd7)]();}),_0x17c11b;}[_0x1c533c(0xab)](){const _0x536d43=_0x1c533c;this[_0x536d43(0xe7)]=new _0x417d87(),this[_0x536d43(0xe7)][_0x536d43(0xd0)](this[_0x536d43(0xda)][_0x536d43(0xf0)]),this[_0x536d43(0xe7)][_0x536d43(0xdf)](_0x536d43(0xef),(_0x2b6941,_0x550cda)=>{const _0x197919=_0x536d43;this[_0x197919(0xda)][_0x197919(0xfb)](),this[_0x197919(0xbd)][_0x197919(0xd7)](),_0x550cda();});}[_0x1c533c(0xf2)](){const _0x2e75f5=_0x1c533c;super[_0x2e75f5(0xf2)](),this[_0x2e75f5(0xe7)][_0x2e75f5(0xf2)](),this[_0x2e75f5(0xda)][_0x2e75f5(0xf2)](),this[_0x2e75f5(0xcf)][_0x2e75f5(0xae)]();}}function Gn(_0x2508e0){const _0x35f87e=_0x1c533c;return{'top':_0x2508e0[_0x35f87e(0xe1)],'left':_0x2508e0[_0x35f87e(0xe5)],'name':_0x35f87e(0xbc),'config':{'withArrow':!0x1}};}function _0x2c9f(){const _0x5b3288=['3916070mutGzZ','applySuggestion','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION_TOOLTIP','ck-ai-chat__feed__ai-suggestion__actions--no-animation','4600rWiQyW','ck-ai-button-primary','isEnabled','tooltip','listItemModels','setTemplate','arrowless','arrowView','actionsButton','width','_dropdownCurrentConfig','_setUpList','ltr','unbind','source','content','length','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT_TOOLTIP','_partsCount','balloonPanelClass','execute','ck-ai-chat__feed__ai-suggestion__actions','add','uiLanguageDirection','AI_CHAT_SUGGESTION_ACTION_APPLY_TOOLTIP','bodyCollection','listenTo','createCollection','3590868RVULZD','_dropdownOriginalConfig','2511170ANAqtN','showChangeInTextModel','items','focus','ck-ai-chat__feed__ai-suggestion__actions__balloon','_createActionsButton','balloonPanelView','filter','applySuggestionModel','isVisible','attachToDom','set','bind','bottom','class','button','updateLabels','left','pin','keystrokeHandler','AI_CHAT_SUGGESTION_ACTION_APPLY_LABEL','18SsXSdp','_createActionsDropdownOrButton','1383048fjDaXf','_updateDropdownActions','ck-ai-chat__feed__ai-suggestion__actions\x20','343563zUzyqM','esc','element','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT','destroy','open','AI_CHAT_SUGGESTION_MORE_OPTIONS_TOOLTIP','delegate','_createActionsDropdown','children','listView','keys','bindTemplate','hide','insertSuggestionModel','3exoaaL','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION','2047801lwYAnW','locale','showChangeInText','ck-hidden','div','has','fire','label','remove','isTrackChangesOn','actionName','slice','_setUpKeystrokes','189qeLMns','map','detachFromDom','_firstRender','insertSuggestion','change:isTrackChangesOn'];_0x2c9f=function(){return _0x5b3288;};return _0x2c9f();}function yn(_0x25b012,_0x4df08b){const _0x2f1d91=_0x1c533c;return{'top':_0x25b012[_0x2f1d91(0xe1)],'left':_0x25b012[_0x2f1d91(0xe5)]-(_0x4df08b[_0x2f1d91(0xbf)]-_0x25b012[_0x2f1d91(0xbf)]),'name':_0x2f1d91(0xbc),'config':{'withArrow':!0x1}};}function Pn(_0x231c5f,_0x3a9da8,_0xe58afb){const _0x143942=_0x1c533c;switch(_0x231c5f){case _0x143942(0xb3):return _0x3df7d3(_0x3a9da8,_0x143942(0xe8),_0xe58afb);case _0x143942(0x101):return _0x3df7d3(_0x3a9da8,_0x143942(0xf1),_0xe58afb);case _0x143942(0xb0):return _0x3df7d3(_0x3a9da8,_0x143942(0xfe),_0xe58afb);}}function Hn(_0x2c6715,_0x103b42,_0x590d59){const _0x466bd9=_0x1c533c;switch(_0x2c6715){case _0x466bd9(0xb3):return _0x3df7d3(_0x103b42,_0x466bd9(0xce),_0x590d59);case _0x466bd9(0x101):return _0x3df7d3(_0x103b42,_0x466bd9(0xc7),_0x590d59);case _0x466bd9(0xb0):return _0x3df7d3(_0x103b42,_0x466bd9(0xb4),_0x590d59);}}
|