@ckeditor/ckeditor5-ai 47.2.0-alpha.3 → 47.2.0-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/dist/index.js +5 -5
- package/package.json +15 -15
- package/src/aiactions/aiactions.js +1 -1
- package/src/aiactions/model/aiactionsinteraction.js +1 -1
- package/src/aiactions/model/aiactionsreply.js +1 -1
- package/src/aiassistant/adapters/aiadapter.js +1 -1
- package/src/aiassistant/adapters/aitextadapter.js +1 -1
- package/src/aiassistant/adapters/awstextadapter.js +1 -1
- package/src/aiassistant/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant/aiassistant.js +1 -1
- package/src/aiassistant/aiassistantediting.js +1 -1
- package/src/aiassistant/aiassistantui.js +1 -1
- package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
- package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
- package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
- package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
- package/src/aiassistant/ui/form/aiformview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
- package/src/aiassistant/ui/form/prompthistory.js +1 -1
- package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
- package/src/aiballoon/aiballoon.js +1 -1
- package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
- package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
- package/src/aiballoon/ui/aiballoonview.js +1 -1
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/model/aichatmodels.js +1 -1
- package/src/aichat/ui/aichatcontrolsview.js +1 -1
- package/src/aichat/ui/aichatfeedview.js +1 -1
- package/src/aichat/ui/aichatheaderview.js +1 -1
- package/src/aichat/ui/aichatview.js +1 -1
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
- package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
- package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
- package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
- package/src/aichat/utils/eventnames.js +1 -1
- package/src/aichat/utils/promisequeue.js +1 -1
- package/src/aichat/utils/scrollmanager.js +1 -1
- package/src/aichathistory/aichathistory.js +1 -1
- package/src/aichathistory/aichathistorycontroller.js +1 -1
- package/src/aichathistory/aichathistoryui.js +1 -1
- package/src/aichathistory/model/aichathistoryconversations.js +1 -1
- package/src/aichathistory/model/aichathistoryitem.js +1 -1
- package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
- package/src/aichathistory/ui/aichathistorylistview.js +1 -1
- package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
- package/src/aichathistory/ui/aichathistoryview.js +1 -1
- package/src/aicore/aiconnector.js +1 -1
- package/src/aicore/aiediting.js +1 -1
- package/src/aicore/model/aicapabilities.js +1 -1
- package/src/aicore/model/aiinteraction.js +1 -1
- package/src/aicore/model/aimodels.js +1 -1
- package/src/aicore/model/aireply.js +1 -1
- package/src/aicore/pipeline/airesponseapplier.js +2 -2
- package/src/aicore/pipeline/airesponseparser.js +2 -2
- package/src/aicore/ui/aidisclaimerview.js +1 -1
- package/src/aicore/ui/aiskeleton.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
- package/src/aicore/utils/createresizebutton.js +1 -1
- package/src/aicore/utils/documentrange.js +1 -1
- package/src/aicore/utils/geteditorfromcontext.js +1 -1
- package/src/aicore/utils/getoperationsfromreply.js +1 -1
- package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
- package/src/aicore/utils/htmlparser.js +1 -1
- package/src/aicore/utils/htmlstreamer.js +1 -1
- package/src/aieditorintegration/aieditorintegration.js +1 -1
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
- package/src/aiquickactions/aiquickactions.js +1 -1
- package/src/aiquickactions/aiquickactionscommand.js +1 -1
- package/src/aiquickactions/aiquickactionsediting.js +1 -1
- package/src/aiquickactions/aiquickactionsui.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
- package/src/aireviewmode/aireviewmode.js +1 -1
- package/src/aireviewmode/aireviewmodecontroller.js +1 -1
- package/src/aireviewmode/aireviewmodeediting.js +1 -1
- package/src/aireviewmode/aireviewmodeui.js +1 -1
- package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
- package/src/aireviewmode/model/aireviewchecklist.js +1 -1
- package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
- package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
- package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
- package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
- package/src/aitabs/aitabs.js +1 -1
- package/src/aitabs/tabs/aitabsview.js +1 -1
- package/src/aitabs/tabs/tabbuttonview.js +1 -1
- package/src/aitabs/tabs/tabpanelview.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x3ea4(){const _0x4e52d6=['312704JCuWwD','2716YrUKkG','_loaderView','293491gIbdfw','abortPromptStream','ck-ai-button-secondary\x20ck-ai-button-stop-generating','238KlfCJL','ck-ai-chat-controls-loader-icon-dot','ck-ai-chat-controls-loader-wrapper','set','2177451jDexFQ','_cancelButtonView','ck-ai-chat-controls-loader-icon','20076830wtxzic','92406sxvCuf','execute','8OPJaDc','ck-ai-chat-controls-loader','_createCancelButtonView','4007106oWxwJg','_createLoaderView','locale','fire','ck-reset_all','9215TNkBzk','setTemplate','AI_CHAT_IS_WRITING','div','AI_CHAT_STOP_GENERATING'];_0x3ea4=function(){return _0x4e52d6;};return _0x3ea4();}const _0x3ac2ff=_0x7895;(function(_0x3c7f73,_0x4e12b5){const _0x58a809=_0x7895,_0x50e632=_0x3c7f73();while(!![]){try{const _0x405c55=-parseInt(_0x58a809(0xef))/0x1+-parseInt(_0x58a809(0xec))/0x2+parseInt(_0x58a809(0xe2))/0x3+parseInt(_0x58a809(0xed))/0x4*(parseInt(_0x58a809(0xe7))/0x5)+-parseInt(_0x58a809(0xdd))/0x6*(-parseInt(_0x58a809(0xf2))/0x7)+parseInt(_0x58a809(0xdf))/0x8*(parseInt(_0x58a809(0xf6))/0x9)+-parseInt(_0x58a809(0xdc))/0xa;if(_0x405c55===_0x4e12b5)break;else _0x50e632['push'](_0x50e632['shift']());}catch(_0x2c0e9f){_0x50e632['push'](_0x50e632['shift']());}}}(_0x3ea4,0xda8aa));function _0x7895(_0x59694b,_0x49a286){const _0x3ea4ab=_0x3ea4();return _0x7895=function(_0x7895e9,_0x295c75){_0x7895e9=_0x7895e9-0xdc;let _0xfb2d59=_0x3ea4ab[_0x7895e9];return _0xfb2d59;},_0x7895(_0x59694b,_0x49a286);}import{ButtonView as _0x3eb155,View as _0xd4bd4e}from'ckeditor5/src/ui.js';import{IconStop as _0x14442a}from'ckeditor5/src/icons.js';import{getTranslation as _0x2ae4b4}from'../../../aicore/utils/common-translations.js';export class AIChatControlsLoaderView extends _0xd4bd4e{[_0x3ac2ff(0xf7)];[_0x3ac2ff(0xee)];constructor(_0x15f47c){const _0x45801a=_0x3ac2ff;super(_0x15f47c),this[_0x45801a(0xf7)]=this[_0x45801a(0xe1)](),this[_0x45801a(0xee)]=this[_0x45801a(0xe3)](),this[_0x45801a(0xe8)]({'tag':_0x45801a(0xea),'attributes':{'class':['ck',_0x45801a(0xf4),_0x45801a(0xe6)]},'children':[this[_0x45801a(0xee)],this[_0x45801a(0xf7)]]});}[_0x3ac2ff(0xe1)](){const _0x2ca4da=_0x3ac2ff,_0x49159e=new _0x3eb155(this[_0x2ca4da(0xe4)]);return _0x49159e[_0x2ca4da(0xf5)]({'label':_0x2ae4b4(this[_0x2ca4da(0xe4)],_0x2ca4da(0xeb)),'withText':!0x0,'class':_0x2ca4da(0xf1),'icon':_0x14442a}),_0x49159e['on'](_0x2ca4da(0xde),()=>{const _0x43a0b0=_0x2ca4da;this[_0x43a0b0(0xe5)](_0x43a0b0(0xf0));}),_0x49159e;}[_0x3ac2ff(0xe3)](){const _0x1ed202=_0x3ac2ff,_0x37fceb=new _0xd4bd4e(this[_0x1ed202(0xe4)]);return _0x37fceb[_0x1ed202(0xe8)]({'tag':_0x1ed202(0xea),'attributes':{'class':[_0x1ed202(0xe0)]},'children':[{'tag':_0x1ed202(0xea),'attributes':{'class':[_0x1ed202(0xf8)]},'children':[{'tag':_0x1ed202(0xea),'attributes':{'class':[_0x1ed202(0xf3)]}},{'tag':_0x1ed202(0xea),'attributes':{'class':[_0x1ed202(0xf3)]}},{'tag':_0x1ed202(0xea),'attributes':{'class':[_0x1ed202(0xf3)]}}]},{'text':_0x2ae4b4(this[_0x1ed202(0xe4)],_0x1ed202(0xe9))}]}),_0x37fceb;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x47b312=_0x1604;(function(_0x56b79e,_0x207e37){const _0x149e07=_0x1604,_0x557cc3=_0x56b79e();while(!![]){try{const _0x4909cd=parseInt(_0x149e07(0x182))/0x1*(parseInt(_0x149e07(0x189))/0x2)+parseInt(_0x149e07(0x1b6))/0x3+-parseInt(_0x149e07(0x1be))/0x4*(-parseInt(_0x149e07(0x18e))/0x5)+parseInt(_0x149e07(0x1c3))/0x6+-parseInt(_0x149e07(0x17b))/0x7+-parseInt(_0x149e07(0x197))/0x8+-parseInt(_0x149e07(0x188))/0x9;if(_0x4909cd===_0x207e37)break;else _0x557cc3['push'](_0x557cc3['shift']());}catch(_0x11e508){_0x557cc3['push'](_0x557cc3['shift']());}}}(_0x1c53,0x7cb96));import{Collection as _0x53453e}from'ckeditor5/src/utils.js';import{IconAI as _0x59ae6b,IconBulb as _0x5bfdcf,IconWeb as _0x52e2fb}from'@ckeditor/ckeditor5-icons';import{addListToDropdown as _0x2f020e,ButtonLabelView as _0x5ba16d,ButtonView as _0x560491,createDropdown as _0x2fe4bf,IconView as _0x19560b,UIModel as _0x4c0c17,View as _0x2b0a5e}from'ckeditor5/src/ui.js';import{getTranslation as _0x43a88a}from'../../../aicore/utils/common-translations.js';import{AIModels as _0x44fbb1}from'../../../aicore/model/aimodels.js';const yo=_0x47b312(0x191),Lo=_0x47b312(0x176),Go=_0x47b312(0x1a6),Yo=_0x47b312(0x18f),qo=_0x47b312(0x1a3),zo=_0x47b312(0x1b3),Fo=_0x47b312(0x19d),Jo='n';function _0x1c53(){const _0x46defa=['_modelSelectionDropdown','bind','addMany','clear','createCollection','getLocalized','setModelList','Commands\x20are\x20not\x20implemented\x20yet.','model','_modelNameView','AI_CHAT_ENABLE_WEB_SEARCH','enabled','AI_CHAT_CAPABILITIES_YES','AI_CHAT_CAPABILITIES_NO','ck-ai-chat-controls-button','setModel','AI_CHAT_REASONING','button','startsWith','1158549mRNaPO','activeModelName','extendTemplate','content','name','bindTemplate','reasoningActive','7201SQXiQb','_createModelSelectionDropdown','_getCapabilityParts','capabilities','menuitemradio','AI_CHAT_MODEL_SELECTOR_DISABLED_TOOLTIP','11883789TjxPoF','138znBvXy','selectModel','reasoning','webSearch','setReasoning','5crRrpc','ck-ai-chat-controls__model-selection','toggleReasoning','ck-ai-chat__prompt-capabilities','AI_CHAT_MODEL_SELECTOR_ENABLED_TOOLTIP','buttonView','length','_webSearchButton','style','7516792nmlgPq','listenTo','AI_CHAT_ENABLE_REASONING','toLowerCase','AI_CHAT_COMMANDS','add','ck-ai-chat-controls__model-selection__item-capabilities','ck-hidden','_createWebSearchButton','span','tooltip','locale','ck-ai-chat-controls__model-selection__item-name','_modelSelectionDropdownItems','modelSelectorEnabled','ck-ai-chat-controls-button--commands','webSearchActive','_createReasoningButton','activeModelId','AI_CHAT_DISABLE_WEB_SEARCH','description','isOn','modelSelectorVisible','text','set','_commandsButton','agent','execute','ck-ai-chat-controls__model-selection__item-description','ck-button__label','setWebSearch','3058272diHdOg','ck-ai-chat-controls__model-name','_createModelNameView','source','withText','disableModelSelector','toggleWebSearch','div','1952012LGbXLk','enableModelSelector','isVisible','fire','AI_CHAT_DISABLE_REASONING','5592606GwWoUg','isEnabled','AI_CHAT_SEARCH_WEB','_reasoningButton','setTemplate','log','_createCommandsButton','label'];_0x1c53=function(){return _0x46defa;};return _0x1c53();}export class AIChatPromptCapabilitiesView extends _0x2b0a5e{[_0x47b312(0x195)];[_0x47b312(0x1c6)];[_0x47b312(0x1b0)];[_0x47b312(0x1cb)];[_0x47b312(0x1a4)];[_0x47b312(0x1d4)];constructor(_0x1e9899){const _0x4f8c21=_0x47b312;super(_0x1e9899),this[_0x4f8c21(0x1af)](_0x4f8c21(0x1a7),!0x1),this[_0x4f8c21(0x1af)](_0x4f8c21(0x181),!0x1),this[_0x4f8c21(0x1af)](_0x4f8c21(0x1ad),!0x0),this[_0x4f8c21(0x1af)](_0x4f8c21(0x1a5),!0x0),this[_0x4f8c21(0x1af)](_0x4f8c21(0x1a9),null),this[_0x4f8c21(0x1af)](_0x4f8c21(0x17c),null),this[_0x4f8c21(0x1cb)]=this[_0x4f8c21(0x183)](),this[_0x4f8c21(0x1d4)]=this[_0x4f8c21(0x1b8)](),this[_0x4f8c21(0x195)]=this[_0x4f8c21(0x19f)](),this[_0x4f8c21(0x1c6)]=this[_0x4f8c21(0x1a8)](),this[_0x4f8c21(0x1b0)]=this[_0x4f8c21(0x1c9)](),this[_0x4f8c21(0x1cb)][_0x4f8c21(0x193)][_0x4f8c21(0x1cc)](_0x4f8c21(0x1c0))['to'](this,_0x4f8c21(0x1ad),_0x1113bd=>_0x1113bd),this[_0x4f8c21(0x1cb)][_0x4f8c21(0x193)][_0x4f8c21(0x1cc)](_0x4f8c21(0x1a1))['to'](this,_0x4f8c21(0x1a5),_0x27ffe2=>_0x27ffe2?this[_0x4f8c21(0x1cb)][_0x4f8c21(0x193)][_0x4f8c21(0x1ca)]:_0x43a88a(this[_0x4f8c21(0x1a2)],_0x4f8c21(0x187))),this[_0x4f8c21(0x1cb)][_0x4f8c21(0x1cc)](_0x4f8c21(0x1c4))['to'](this,_0x4f8c21(0x1a5),_0x7ee249=>_0x7ee249),this[_0x4f8c21(0x195)][_0x4f8c21(0x1cc)](_0x4f8c21(0x1ac))['to'](this,_0x4f8c21(0x1a7),_0x2d22aa=>_0x2d22aa),this[_0x4f8c21(0x195)][_0x4f8c21(0x1cc)](_0x4f8c21(0x1ba))['to'](this,_0x4f8c21(0x1ad),_0x2bdd02=>!_0x2bdd02),this[_0x4f8c21(0x195)][_0x4f8c21(0x1cc)](_0x4f8c21(0x1a1))['to'](this,_0x4f8c21(0x1a7),_0x4a8f3f=>_0x43a88a(this[_0x4f8c21(0x1a2)],_0x4a8f3f?_0x4f8c21(0x1aa):_0x4f8c21(0x1d5))),this[_0x4f8c21(0x1c6)][_0x4f8c21(0x1cc)](_0x4f8c21(0x1ac))['to'](this,_0x4f8c21(0x181),_0x5cce20=>_0x5cce20),this[_0x4f8c21(0x1c6)][_0x4f8c21(0x1cc)](_0x4f8c21(0x1ba))['to'](this,_0x4f8c21(0x1ad),_0x4e0d45=>!_0x4e0d45),this[_0x4f8c21(0x1c6)][_0x4f8c21(0x1cc)](_0x4f8c21(0x1a1))['to'](this,_0x4f8c21(0x181),_0x1e41f=>_0x43a88a(this[_0x4f8c21(0x1a2)],_0x1e41f?_0x4f8c21(0x1c2):_0x4f8c21(0x199))),this[_0x4f8c21(0x1c7)]({'tag':_0x4f8c21(0x1bd),'attributes':{'class':[yo]},'children':[this[_0x4f8c21(0x1cb)],this[_0x4f8c21(0x1d4)],this[_0x4f8c21(0x195)],this[_0x4f8c21(0x1c6)],this[_0x4f8c21(0x1b0)]]}),this[_0x4f8c21(0x1a4)]=new _0x53453e(),_0x2f020e(this[_0x4f8c21(0x1cb)],this[_0x4f8c21(0x1a4)]);}[_0x47b312(0x1d1)](_0xdb6078,_0x36ca0e){const _0x516e7a=_0x47b312;if(this[_0x516e7a(0x1af)](_0x516e7a(0x1ad),!(_0x36ca0e&&_0xdb6078[_0x516e7a(0x194)]<=0x1)),this[_0x516e7a(0x1a4)][_0x516e7a(0x1ce)](),_0xdb6078?.[_0x516e7a(0x194)]){const _0x5d8dc=_0x44fbb1[_0x516e7a(0x1d0)](this[_0x516e7a(0x1a2)],_0xdb6078);for(const _0x3e74d7 of _0x5d8dc){const _0x4d4829=new _0x4c0c17({'label':_0x3e74d7[_0x516e7a(0x17f)],'withText':!0x0,'role':_0x516e7a(0x186),'id':_0x3e74d7['id'],'model':_0x3e74d7});_0x4d4829[_0x516e7a(0x1cc)](_0x516e7a(0x1ac))['to'](this,_0x516e7a(0x1a9),_0x38cc36=>_0x38cc36===_0x3e74d7['id']),this[_0x516e7a(0x1a4)][_0x516e7a(0x19c)]({'type':_0x516e7a(0x179),'model':_0x4d4829,'labelView':new Ws(this[_0x516e7a(0x1a2)],_0x3e74d7)});}}}[_0x47b312(0x1b5)](_0x49f85a){const _0x299022=_0x47b312;this[_0x299022(0x1af)](_0x299022(0x1a7),_0x49f85a);}[_0x47b312(0x18d)](_0x191405){const _0x16d76c=_0x47b312;this[_0x16d76c(0x1af)](_0x16d76c(0x181),_0x191405);}[_0x47b312(0x177)](_0x2d713d){const _0x595598=_0x47b312;if(!_0x2d713d)return;this[_0x595598(0x1a9)]=_0x2d713d['id'],this[_0x595598(0x17c)]=_0x2d713d[_0x595598(0x17f)]||_0x2d713d['id'],this[_0x595598(0x1cb)][_0x595598(0x193)][_0x595598(0x1af)](_0x595598(0x1ca),_0x2d713d[_0x595598(0x17f)]),this[_0x595598(0x1cb)][_0x595598(0x193)][_0x595598(0x1af)](_0x595598(0x1a1),_0x2d713d[_0x595598(0x17f)]);const _0x49dd1c=_0x2d713d[_0x595598(0x185)][_0x595598(0x18c)]?.[_0x595598(0x173)]??!0x1;this[_0x595598(0x1af)](_0x595598(0x1a7),!0x1),this[_0x595598(0x195)][_0x595598(0x1af)](_0x595598(0x1ac),!0x1),this[_0x595598(0x195)][_0x595598(0x1af)](_0x595598(0x1c4),_0x49dd1c),this[_0x595598(0x195)][_0x595598(0x1af)](_0x595598(0x1c0),_0x49dd1c);const _0x2b0623=_0x2d713d[_0x595598(0x185)][_0x595598(0x18b)]?.[_0x595598(0x173)]??!0x1;this[_0x595598(0x1af)](_0x595598(0x181),!0x1),this[_0x595598(0x1c6)][_0x595598(0x1af)](_0x595598(0x1ac),!0x1),this[_0x595598(0x1c6)][_0x595598(0x1af)](_0x595598(0x1c4),_0x2b0623),this[_0x595598(0x1c6)][_0x595598(0x1af)](_0x595598(0x1c0),_0x2b0623);}[_0x47b312(0x1bf)](){const _0x5b5499=_0x47b312;this[_0x5b5499(0x1af)](_0x5b5499(0x1a5),!0x0),this[_0x5b5499(0x1af)](_0x5b5499(0x1ad),!0x0);}[_0x47b312(0x1bb)](_0x568d82){const _0x4359b4=_0x47b312;this[_0x4359b4(0x1af)](_0x4359b4(0x1a5),!0x1),_0x568d82&&this[_0x4359b4(0x1af)](_0x4359b4(0x1ad),!0x1);}[_0x47b312(0x19f)](){const _0x2c3d0a=_0x47b312,_0x4f6f80=new _0x560491();return _0x4f6f80[_0x2c3d0a(0x1af)]({'label':_0x43a88a(this[_0x2c3d0a(0x1a2)],_0x2c3d0a(0x1c5)),'icon':_0x52e2fb,'class':Lo,'isToggleable':!0x0,'tooltipPosition':Jo}),_0x4f6f80['on'](_0x2c3d0a(0x1b2),()=>{const _0x44ed78=_0x2c3d0a;this[_0x44ed78(0x1c1)](_0x44ed78(0x1bc));}),_0x4f6f80;}[_0x47b312(0x1a8)](){const _0x1dcbb4=_0x47b312,_0x5b287b=new _0x560491();return _0x5b287b[_0x1dcbb4(0x1af)]({'label':_0x43a88a(this[_0x1dcbb4(0x1a2)],_0x1dcbb4(0x178)),'icon':_0x5bfdcf,'class':Lo,'isToggleable':!0x0,'tooltipPosition':Jo}),_0x5b287b['on'](_0x1dcbb4(0x1b2),()=>{const _0x1cdef6=_0x1dcbb4;this[_0x1cdef6(0x1c1)](_0x1cdef6(0x190));}),_0x5b287b;}[_0x47b312(0x1c9)](){const _0x132ba4=_0x47b312,_0x241665=new _0x560491();return _0x241665[_0x132ba4(0x1af)]({'label':_0x43a88a(this[_0x132ba4(0x1a2)],_0x132ba4(0x19b)),'icon':_0x59ae6b,'withText':!0x0,'class':Lo,'isToggleable':!0x0,'tooltip':_0x43a88a(this[_0x132ba4(0x1a2)],_0x132ba4(0x19b)),'tooltipPosition':Jo}),_0x241665[_0x132ba4(0x17d)]({'attributes':{'class':[Go]}}),_0x241665['on'](_0x132ba4(0x1b2),()=>{const _0x8d0c36=_0x132ba4;console[_0x8d0c36(0x1c8)](_0x8d0c36(0x1d2)),alert(_0x8d0c36(0x1d2));}),_0x241665;}[_0x47b312(0x183)](){const _0x1b2f91=_0x47b312,_0x12b296=_0x2fe4bf(this[_0x1b2f91(0x1a2)]);return _0x12b296[_0x1b2f91(0x1af)]({'panelPosition':'ne','class':[Yo]}),_0x12b296[_0x1b2f91(0x193)][_0x1b2f91(0x1af)]({'label':_0x43a88a(this[_0x1b2f91(0x1a2)],_0x1b2f91(0x192)),'withText':!0x0,'tooltip':!0x0,'tooltipPosition':Jo}),this[_0x1b2f91(0x198)](_0x12b296,_0x1b2f91(0x1b2),_0x32d82b=>{const _0x19610a=_0x1b2f91;this[_0x19610a(0x1c1)](_0x19610a(0x18a),_0x32d82b[_0x19610a(0x1b9)][_0x19610a(0x1d3)]);}),_0x12b296;}[_0x47b312(0x1b8)](){const _0x2593a9=_0x47b312,_0x187fa7=new Ko(this[_0x2593a9(0x1a2)]);return _0x187fa7[_0x2593a9(0x1cc)](_0x2593a9(0x1ae))['to'](this,_0x2593a9(0x17c),_0x425792=>_0x425792??''),_0x187fa7[_0x2593a9(0x1cc)](_0x2593a9(0x1c0))['to'](this,_0x2593a9(0x1ad),this,_0x2593a9(0x17c),(_0x212f7b,_0x4f97d4)=>!_0x212f7b&&!_0x4f97d4?.[_0x2593a9(0x19a)]()[_0x2593a9(0x17a)](_0x2593a9(0x1b1))),_0x187fa7;}}function _0x1604(_0x476334,_0x3aed38){const _0x1c53ee=_0x1c53();return _0x1604=function(_0x1604b4,_0x14c33b){_0x1604b4=_0x1604b4-0x173;let _0x8e464d=_0x1c53ee[_0x1604b4];return _0x8e464d;},_0x1604(_0x476334,_0x3aed38);}class Ws extends _0x5ba16d{constructor(_0x4dea9a,_0x38b66e){const _0x25de7a=_0x47b312;super();const _0x20d7ce=this[_0x25de7a(0x180)],_0x3190e0=this[_0x25de7a(0x1cf)]();this[_0x25de7a(0x1c7)]({'tag':_0x25de7a(0x1bd),'attributes':{'class':['ck',_0x25de7a(0x1b4)],'style':_0x20d7ce['to'](_0x25de7a(0x196)),'id':_0x20d7ce['to']('id')},'children':[{'tag':_0x25de7a(0x1bd),'attributes':{'class':[qo]},'children':[{'text':_0x20d7ce['to'](_0x25de7a(0x1ae))}]},{'tag':_0x25de7a(0x1bd),'attributes':{'class':[zo]},'children':[{'tag':_0x25de7a(0x1a0),'children':[{'text':_0x38b66e[_0x25de7a(0x1ab)]}]}]},{'tag':_0x25de7a(0x1bd),'attributes':{'class':[Fo]},'children':_0x3190e0}]}),_0x3190e0[_0x25de7a(0x1cd)](this[_0x25de7a(0x184)](_0x4dea9a,_0x52e2fb,_0x25de7a(0x1c5),_0x38b66e[_0x25de7a(0x185)][_0x25de7a(0x18c)]?.[_0x25de7a(0x173)]??!0x1)),_0x3190e0[_0x25de7a(0x1cd)](this[_0x25de7a(0x184)](_0x4dea9a,_0x5bfdcf,_0x25de7a(0x178),_0x38b66e[_0x25de7a(0x185)][_0x25de7a(0x18b)]?.[_0x25de7a(0x173)]??!0x1));}[_0x47b312(0x184)](_0x3fe17f,_0x3598fe,_0x25f3d5,_0x28263f){const _0x12ffd7=_0x47b312,_0x3450dd=new _0x19560b();_0x3450dd[_0x12ffd7(0x17e)]=_0x3598fe;const _0x1d656a=new _0x2b0a5e(_0x3fe17f);_0x1d656a[_0x12ffd7(0x1c7)]({'tag':_0x12ffd7(0x1a0),'children':[{'text':_0x43a88a(_0x3fe17f,_0x25f3d5)+':\x20'}]});const _0x481ae1=new _0x2b0a5e(_0x3fe17f);return _0x481ae1[_0x12ffd7(0x1c7)]({'tag':_0x12ffd7(0x1a0),'children':[{'text':_0x43a88a(_0x3fe17f,_0x28263f?_0x12ffd7(0x174):_0x12ffd7(0x175))}]}),[_0x3450dd,_0x1d656a,_0x481ae1];}}class Ko extends _0x2b0a5e{constructor(_0x9ed18c){const _0x24faf1=_0x47b312;super(_0x9ed18c),this[_0x24faf1(0x1af)](_0x24faf1(0x1ae),void 0x0),this[_0x24faf1(0x1af)](_0x24faf1(0x1c0),!0x0);const _0x152593=this[_0x24faf1(0x180)];this[_0x24faf1(0x1c7)]({'tag':_0x24faf1(0x1a0),'attributes':{'class':['ck',_0x24faf1(0x1b7),_0x152593['if'](_0x24faf1(0x1c0),_0x24faf1(0x19e),_0x189b90=>!_0x189b90)]},'children':[{'text':_0x152593['to'](_0x24faf1(0x1ae))}]});}}
|
|
23
|
+
const _0x46ea43=_0x24de;(function(_0x56638a,_0x38b12b){const _0x2adf25=_0x24de,_0x546194=_0x56638a();while(!![]){try{const _0x5a917f=-parseInt(_0x2adf25(0x196))/0x1*(-parseInt(_0x2adf25(0x148))/0x2)+parseInt(_0x2adf25(0x18b))/0x3+parseInt(_0x2adf25(0x19c))/0x4+-parseInt(_0x2adf25(0x168))/0x5*(-parseInt(_0x2adf25(0x189))/0x6)+-parseInt(_0x2adf25(0x188))/0x7+-parseInt(_0x2adf25(0x17f))/0x8+-parseInt(_0x2adf25(0x13d))/0x9*(parseInt(_0x2adf25(0x17e))/0xa);if(_0x5a917f===_0x38b12b)break;else _0x546194['push'](_0x546194['shift']());}catch(_0xf31219){_0x546194['push'](_0x546194['shift']());}}}(_0x576b,0x655e2));import{Collection as _0x47bce7}from'ckeditor5/src/utils.js';import{IconAI as _0x5a6782,IconBulb as _0x51abda,IconWeb as _0x4b783e}from'@ckeditor/ckeditor5-icons';import{addListToDropdown as _0x58f06b,ButtonLabelView as _0x18a9b8,ButtonView as _0x167e19,createDropdown as _0x1c45f6,IconView as _0x5a8f18,UIModel as _0x46659c,View as _0x450dd1}from'ckeditor5/src/ui.js';import{getTranslation as _0x2249f1}from'../../../aicore/utils/common-translations.js';function _0x24de(_0x1fbbde,_0x22d025){const _0x576b33=_0x576b();return _0x24de=function(_0x24deb5,_0x209464){_0x24deb5=_0x24deb5-0x13b;let _0x44f1b1=_0x576b33[_0x24deb5];return _0x44f1b1;},_0x24de(_0x1fbbde,_0x22d025);}import{AIModels as _0x3be55e}from'../../../aicore/model/aimodels.js';const Ho=_0x46ea43(0x17a),Vo=_0x46ea43(0x170),Mo=_0x46ea43(0x13e),Lo=_0x46ea43(0x18a),Do=_0x46ea43(0x197),Wo=_0x46ea43(0x13b),yo=_0x46ea43(0x144),jo='n';export class AIChatPromptCapabilitiesView extends _0x450dd1{[_0x46ea43(0x169)];[_0x46ea43(0x18d)];[_0x46ea43(0x142)];[_0x46ea43(0x191)];[_0x46ea43(0x15b)];[_0x46ea43(0x17b)];constructor(_0x497be1){const _0x7d309d=_0x46ea43;super(_0x497be1),this[_0x7d309d(0x161)](_0x7d309d(0x140),!0x1),this[_0x7d309d(0x161)](_0x7d309d(0x147),!0x1),this[_0x7d309d(0x161)](_0x7d309d(0x165),!0x0),this[_0x7d309d(0x161)](_0x7d309d(0x193),!0x0),this[_0x7d309d(0x161)](_0x7d309d(0x194),null),this[_0x7d309d(0x161)](_0x7d309d(0x16b),null),this[_0x7d309d(0x191)]=this[_0x7d309d(0x153)](),this[_0x7d309d(0x17b)]=this[_0x7d309d(0x19e)](),this[_0x7d309d(0x169)]=this[_0x7d309d(0x19d)](),this[_0x7d309d(0x18d)]=this[_0x7d309d(0x15e)](),this[_0x7d309d(0x142)]=this[_0x7d309d(0x163)](),this[_0x7d309d(0x191)][_0x7d309d(0x150)][_0x7d309d(0x18c)](_0x7d309d(0x162))['to'](this,_0x7d309d(0x165),_0x4bbabe=>_0x4bbabe),this[_0x7d309d(0x191)][_0x7d309d(0x150)][_0x7d309d(0x18c)](_0x7d309d(0x14e))['to'](this,_0x7d309d(0x193),_0x362432=>_0x362432?this[_0x7d309d(0x191)][_0x7d309d(0x150)][_0x7d309d(0x15f)]:_0x2249f1(this[_0x7d309d(0x154)],_0x7d309d(0x172))),this[_0x7d309d(0x191)][_0x7d309d(0x18c)](_0x7d309d(0x173))['to'](this,_0x7d309d(0x193),_0x133ccb=>_0x133ccb),this[_0x7d309d(0x169)][_0x7d309d(0x18c)](_0x7d309d(0x176))['to'](this,_0x7d309d(0x140),_0x35b7e0=>_0x35b7e0),this[_0x7d309d(0x169)][_0x7d309d(0x18c)](_0x7d309d(0x146))['to'](this,_0x7d309d(0x165),_0xb87e80=>!_0xb87e80),this[_0x7d309d(0x169)][_0x7d309d(0x18c)](_0x7d309d(0x14e))['to'](this,_0x7d309d(0x140),_0x1ecffa=>_0x2249f1(this[_0x7d309d(0x154)],_0x1ecffa?_0x7d309d(0x190):_0x7d309d(0x145))),this[_0x7d309d(0x18d)][_0x7d309d(0x18c)](_0x7d309d(0x176))['to'](this,_0x7d309d(0x147),_0x1f5496=>_0x1f5496),this[_0x7d309d(0x18d)][_0x7d309d(0x18c)](_0x7d309d(0x146))['to'](this,_0x7d309d(0x165),_0x3a5b44=>!_0x3a5b44),this[_0x7d309d(0x18d)][_0x7d309d(0x18c)](_0x7d309d(0x14e))['to'](this,_0x7d309d(0x147),_0x16129d=>_0x2249f1(this[_0x7d309d(0x154)],_0x16129d?_0x7d309d(0x158):_0x7d309d(0x16a))),this[_0x7d309d(0x14a)]({'tag':_0x7d309d(0x14f),'attributes':{'class':[Ho]},'children':[this[_0x7d309d(0x191)],this[_0x7d309d(0x17b)],this[_0x7d309d(0x169)],this[_0x7d309d(0x18d)],this[_0x7d309d(0x142)]]}),this[_0x7d309d(0x15b)]=new _0x47bce7(),_0x58f06b(this[_0x7d309d(0x191)],this[_0x7d309d(0x15b)]);}[_0x46ea43(0x192)](_0x365614,_0x3a48cf){const _0x23c090=_0x46ea43;if(this[_0x23c090(0x161)](_0x23c090(0x165),!(_0x3a48cf&&_0x365614[_0x23c090(0x15a)]<=0x1)),this[_0x23c090(0x15b)][_0x23c090(0x198)](),_0x365614?.[_0x23c090(0x15a)]){const _0x3e9b06=_0x3be55e[_0x23c090(0x14c)](this[_0x23c090(0x154)],_0x365614);for(const _0x32fe59 of _0x3e9b06){const _0x4257b3=new _0x46659c({'label':_0x32fe59[_0x23c090(0x16c)],'withText':!0x0,'role':_0x23c090(0x13c),'id':_0x32fe59['id'],'model':_0x32fe59});_0x4257b3[_0x23c090(0x18c)](_0x23c090(0x176))['to'](this,_0x23c090(0x194),_0x26db39=>_0x26db39===_0x32fe59['id']),this[_0x23c090(0x15b)][_0x23c090(0x157)]({'type':_0x23c090(0x174),'model':_0x4257b3,'labelView':new Ws(this[_0x23c090(0x154)],_0x32fe59)});}}}[_0x46ea43(0x15d)](_0x3c03c2){const _0x2d014a=_0x46ea43;this[_0x2d014a(0x161)](_0x2d014a(0x140),_0x3c03c2);}[_0x46ea43(0x178)](_0x189068){const _0x4ba72c=_0x46ea43;this[_0x4ba72c(0x161)](_0x4ba72c(0x147),_0x189068);}[_0x46ea43(0x186)](_0x568212){const _0x306e79=_0x46ea43;if(!_0x568212)return;this[_0x306e79(0x194)]=_0x568212['id'],this[_0x306e79(0x16b)]=_0x568212[_0x306e79(0x16c)]||_0x568212['id'],this[_0x306e79(0x191)][_0x306e79(0x150)][_0x306e79(0x161)](_0x306e79(0x15f),_0x568212[_0x306e79(0x16c)]),this[_0x306e79(0x191)][_0x306e79(0x150)][_0x306e79(0x161)](_0x306e79(0x14e),_0x568212[_0x306e79(0x16c)]);const _0x11c9b3=_0x568212[_0x306e79(0x182)][_0x306e79(0x179)]?.[_0x306e79(0x19a)]??!0x1;this[_0x306e79(0x161)](_0x306e79(0x140),!0x1),this[_0x306e79(0x169)][_0x306e79(0x161)](_0x306e79(0x176),!0x1),this[_0x306e79(0x169)][_0x306e79(0x161)](_0x306e79(0x173),_0x11c9b3),this[_0x306e79(0x169)][_0x306e79(0x161)](_0x306e79(0x162),_0x11c9b3);const _0x43e37a=_0x568212[_0x306e79(0x182)][_0x306e79(0x177)]?.[_0x306e79(0x19a)]??!0x1;this[_0x306e79(0x161)](_0x306e79(0x147),!0x1),this[_0x306e79(0x18d)][_0x306e79(0x161)](_0x306e79(0x176),!0x1),this[_0x306e79(0x18d)][_0x306e79(0x161)](_0x306e79(0x173),_0x43e37a),this[_0x306e79(0x18d)][_0x306e79(0x161)](_0x306e79(0x162),_0x43e37a);}[_0x46ea43(0x14d)](){const _0x5e61db=_0x46ea43;this[_0x5e61db(0x161)](_0x5e61db(0x193),!0x0),this[_0x5e61db(0x161)](_0x5e61db(0x165),!0x0);}[_0x46ea43(0x195)](_0x565596){const _0x46da34=_0x46ea43;this[_0x46da34(0x161)](_0x46da34(0x193),!0x1),_0x565596&&this[_0x46da34(0x161)](_0x46da34(0x165),!0x1);}[_0x46ea43(0x19d)](){const _0x577475=_0x46ea43,_0x511eaf=new _0x167e19();return _0x511eaf[_0x577475(0x161)]({'label':_0x2249f1(this[_0x577475(0x154)],_0x577475(0x149)),'icon':_0x4b783e,'class':Vo,'isToggleable':!0x0,'tooltipPosition':jo}),_0x511eaf['on'](_0x577475(0x152),()=>{const _0x134cbc=_0x577475;this[_0x134cbc(0x16e)](_0x134cbc(0x14b));}),_0x511eaf;}[_0x46ea43(0x15e)](){const _0x271a3c=_0x46ea43,_0x119ad0=new _0x167e19();return _0x119ad0[_0x271a3c(0x161)]({'label':_0x2249f1(this[_0x271a3c(0x154)],_0x271a3c(0x164)),'icon':_0x51abda,'class':Vo,'isToggleable':!0x0,'tooltipPosition':jo}),_0x119ad0['on'](_0x271a3c(0x152),()=>{const _0x3605d4=_0x271a3c;this[_0x3605d4(0x16e)](_0x3605d4(0x141));}),_0x119ad0;}[_0x46ea43(0x163)](){const _0x299903=_0x46ea43,_0x34d643=new _0x167e19();return _0x34d643[_0x299903(0x161)]({'label':_0x2249f1(this[_0x299903(0x154)],_0x299903(0x151)),'icon':_0x5a6782,'withText':!0x0,'class':Vo,'isToggleable':!0x0,'tooltip':_0x2249f1(this[_0x299903(0x154)],_0x299903(0x151)),'tooltipPosition':jo}),_0x34d643[_0x299903(0x15c)]({'attributes':{'class':[Mo]}}),_0x34d643['on'](_0x299903(0x152),()=>{const _0x4ba153=_0x299903;console[_0x4ba153(0x13f)](_0x4ba153(0x16d)),alert(_0x4ba153(0x16d));}),_0x34d643;}[_0x46ea43(0x153)](){const _0x30785a=_0x46ea43,_0x52f5b5=_0x1c45f6(this[_0x30785a(0x154)]);return _0x52f5b5[_0x30785a(0x161)]({'panelPosition':'ne','class':[Lo]}),_0x52f5b5[_0x30785a(0x150)][_0x30785a(0x161)]({'label':_0x2249f1(this[_0x30785a(0x154)],_0x30785a(0x18f)),'withText':!0x0,'tooltip':!0x0,'tooltipPosition':jo}),this[_0x30785a(0x156)](_0x52f5b5,_0x30785a(0x152),_0x7f5dd0=>{const _0x3e664b=_0x30785a;this[_0x3e664b(0x16e)](_0x3e664b(0x180),_0x7f5dd0[_0x3e664b(0x166)][_0x3e664b(0x18e)]);}),_0x52f5b5;}[_0x46ea43(0x19e)](){const _0x223297=_0x46ea43,_0x506780=new Go(this[_0x223297(0x154)]);return _0x506780[_0x223297(0x18c)](_0x223297(0x184))['to'](this,_0x223297(0x16b),_0x2d4ba8=>_0x2d4ba8??''),_0x506780[_0x223297(0x18c)](_0x223297(0x162))['to'](this,_0x223297(0x165),this,_0x223297(0x16b),(_0x43377b,_0x3389ab)=>!_0x43377b&&!_0x3389ab?.[_0x223297(0x187)]()[_0x223297(0x160)](_0x223297(0x199))),_0x506780;}}class Ws extends _0x18a9b8{constructor(_0x5bfb70,_0x24341d){const _0x2378f3=_0x46ea43;super();const _0x573848=this[_0x2378f3(0x17d)],_0x2ef06a=this[_0x2378f3(0x181)]();this[_0x2378f3(0x14a)]({'tag':_0x2378f3(0x14f),'attributes':{'class':['ck',_0x2378f3(0x167)],'style':_0x573848['to'](_0x2378f3(0x143)),'id':_0x573848['to']('id')},'children':[{'tag':_0x2378f3(0x14f),'attributes':{'class':[Do]},'children':[{'text':_0x573848['to'](_0x2378f3(0x184))}]},{'tag':_0x2378f3(0x14f),'attributes':{'class':[Wo]},'children':[{'tag':_0x2378f3(0x155),'children':[{'text':_0x24341d[_0x2378f3(0x185)]}]}]},{'tag':_0x2378f3(0x14f),'attributes':{'class':[yo]},'children':_0x2ef06a}]}),_0x2ef06a[_0x2378f3(0x159)](this[_0x2378f3(0x17c)](_0x5bfb70,_0x4b783e,_0x2378f3(0x149),_0x24341d[_0x2378f3(0x182)][_0x2378f3(0x179)]?.[_0x2378f3(0x19a)]??!0x1)),_0x2ef06a[_0x2378f3(0x159)](this[_0x2378f3(0x17c)](_0x5bfb70,_0x51abda,_0x2378f3(0x164),_0x24341d[_0x2378f3(0x182)][_0x2378f3(0x177)]?.[_0x2378f3(0x19a)]??!0x1));}[_0x46ea43(0x17c)](_0x497e1f,_0x524c0e,_0xfe137e,_0x5d8827){const _0x53a28b=_0x46ea43,_0x4a78aa=new _0x5a8f18();_0x4a78aa[_0x53a28b(0x175)]=_0x524c0e;const _0x2ac0de=new _0x450dd1(_0x497e1f);_0x2ac0de[_0x53a28b(0x14a)]({'tag':_0x53a28b(0x155),'children':[{'text':_0x2249f1(_0x497e1f,_0xfe137e)+':\x20'}]});const _0x1d8a6e=new _0x450dd1(_0x497e1f);return _0x1d8a6e[_0x53a28b(0x14a)]({'tag':_0x53a28b(0x155),'children':[{'text':_0x2249f1(_0x497e1f,_0x5d8827?_0x53a28b(0x171):_0x53a28b(0x19b))}]}),[_0x4a78aa,_0x2ac0de,_0x1d8a6e];}}function _0x576b(){const _0x52afe4=['withText','reasoningActive','29594UzQfyh','AI_CHAT_SEARCH_WEB','setTemplate','toggleWebSearch','getLocalized','enableModelSelector','tooltip','div','buttonView','AI_CHAT_COMMANDS','execute','_createModelSelectionDropdown','locale','span','listenTo','add','AI_CHAT_DISABLE_REASONING','addMany','length','_modelSelectionDropdownItems','extendTemplate','setWebSearch','_createReasoningButton','label','startsWith','set','isVisible','_createCommandsButton','AI_CHAT_REASONING','modelSelectorVisible','source','ck-button__label','115vSmSSm','_webSearchButton','AI_CHAT_ENABLE_REASONING','activeModelName','name','Commands\x20are\x20not\x20implemented\x20yet.','fire','ck-ai-chat-controls__model-name','ck-ai-chat-controls-button','AI_CHAT_CAPABILITIES_YES','AI_CHAT_MODEL_SELECTOR_DISABLED_TOOLTIP','isEnabled','button','content','isOn','reasoning','setReasoning','webSearch','ck-ai-chat__prompt-capabilities','_modelNameView','_getCapabilityParts','bindTemplate','2065010ObXFjm','3761480hyiIea','selectModel','createCollection','capabilities','ck-hidden','text','description','setModel','toLowerCase','3967397drKggy','154758HDlRCi','ck-ai-chat-controls__model-selection','1761705mDgBNN','bind','_reasoningButton','model','AI_CHAT_MODEL_SELECTOR_ENABLED_TOOLTIP','AI_CHAT_DISABLE_WEB_SEARCH','_modelSelectionDropdown','setModelList','modelSelectorEnabled','activeModelId','disableModelSelector','8POYAnd','ck-ai-chat-controls__model-selection__item-name','clear','agent','enabled','AI_CHAT_CAPABILITIES_NO','1439236KaJKOb','_createWebSearchButton','_createModelNameView','ck-ai-chat-controls__model-selection__item-description','menuitemradio','9ifGOYS','ck-ai-chat-controls-button--commands','log','webSearchActive','toggleReasoning','_commandsButton','style','ck-ai-chat-controls__model-selection__item-capabilities','AI_CHAT_ENABLE_WEB_SEARCH'];_0x576b=function(){return _0x52afe4;};return _0x576b();}class Go extends _0x450dd1{constructor(_0x5f334e){const _0x428ade=_0x46ea43;super(_0x5f334e),this[_0x428ade(0x161)](_0x428ade(0x184),void 0x0),this[_0x428ade(0x161)](_0x428ade(0x162),!0x0);const _0x2c5a47=this[_0x428ade(0x17d)];this[_0x428ade(0x14a)]({'tag':_0x428ade(0x155),'attributes':{'class':['ck',_0x428ade(0x16f),_0x2c5a47['if'](_0x428ade(0x162),_0x428ade(0x183),_0x2a75c6=>!_0x2a75c6)]},'children':[{'text':_0x2c5a47['to'](_0x428ade(0x184))}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x3170(){const _0x236450=['MIN_ROWS','6764088RKQWnl','submit','2246157uIQJWE','88xEgCzH','_addContextButtonView','fieldView','execute','setPlaceholderText','set','target','minRows','width','_createSubmitButton','extendTemplate','px\x20-\x20var(--ck-spacing-tiny))','excludeScrollbarsAndBorders','AI_CHAT_PROMPT_EMPTY_ERROR','uiLanguageDirection','render','placeholder','enter','ck-ai-chat__prompt-input','2396935MRbNPH','trim','reset','isUploadInProgress','focusableChildren','567663sXrnKB','_queryViewResizeObserver','value','2282mZuKag','queryView','calc(','isEmpty','style','121863sXHuDq','window','4OcncmM','keystrokes','right','element','2409705bYPwbR','locale','6uAMEMc','2njhgVU','requestAnimationFrame','left','MAX_ROWS','isEnabled','AI_CHAT_LABEL_SUBMIT','sendUserMessage','add','10kqvksa','bind','setIsUploadInProgress','220532wVjiZP','hasError','_setUpAddContextButtonPositioning','maxRows','errorText','11JiZTZM','update','destroy','ck-ai-chat__prompt-submit-button','fire','submitButtonView','fieldWrapperChildren','rtl'];_0x3170=function(){return _0x236450;};return _0x3170();}const _0x16982e=_0x436f;(function(_0x40664b,_0x4cc515){const _0x3530eb=_0x436f,_0x16ceb6=_0x40664b();while(!![]){try{const _0x548475=-parseInt(_0x3530eb(0x150))/0x1*(parseInt(_0x3530eb(0x161))/0x2)+-parseInt(_0x3530eb(0x137))/0x3*(parseInt(_0x3530eb(0x15a))/0x4)+-parseInt(_0x3530eb(0x14b))/0x5*(parseInt(_0x3530eb(0x160))/0x6)+parseInt(_0x3530eb(0x158))/0x7*(-parseInt(_0x3530eb(0x138))/0x8)+-parseInt(_0x3530eb(0x15e))/0x9*(-parseInt(_0x3530eb(0x169))/0xa)+parseInt(_0x3530eb(0x171))/0xb*(-parseInt(_0x3530eb(0x135))/0xc)+-parseInt(_0x3530eb(0x16c))/0xd*(-parseInt(_0x3530eb(0x153))/0xe);if(_0x548475===_0x4cc515)break;else _0x16ceb6['push'](_0x16ceb6['shift']());}catch(_0x3655d2){_0x16ceb6['push'](_0x16ceb6['shift']());}}}(_0x3170,0x75a8f));import{IconSubmit as _0x1be134}from'ckeditor5/src/icons.js';import{ButtonView as _0x5dbb8e,AutocompleteView as _0x1d158a,createLabeledTextarea as _0x317c39}from'ckeditor5/src/ui.js';import{global as _0x48f1a0,isVisible as _0x2909f9,Rect as _0x37d8e8,ResizeObserver as _0x5c610d}from'ckeditor5/src/utils.js';import{getTranslation as _0x104b1a}from'../../../aicore/utils/common-translations.js';function _0x436f(_0x5bd04a,_0x3497d8){const _0x3170b9=_0x3170();return _0x436f=function(_0x436ffd,_0x5568f7){_0x436ffd=_0x436ffd-0x12e;let _0x240c28=_0x3170b9[_0x436ffd];return _0x240c28;},_0x436f(_0x5bd04a,_0x3497d8);}import{AIChatPromptSuggestionsListView as _0x63565d}from'./aichatpromptsuggestionslistview.js';import{escape as _0x442c18}from'es-toolkit/compat';export class AIChatPromptInputView extends _0x1d158a{[_0x16982e(0x131)];static [_0x16982e(0x134)]=0x1;static [_0x16982e(0x164)]=0xc;[_0x16982e(0x139)];[_0x16982e(0x151)];constructor(_0x582341,_0x35d767){const _0x318be5=_0x16982e;super(_0x582341,{'queryView':{'label':'','creator':_0x317c39,'showIcon':!0x1,'showResetButton':!0x1},'filteredView':new _0x63565d(_0x582341),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1}),this[_0x318be5(0x13d)](_0x318be5(0x156),!0x0),this[_0x318be5(0x13d)](_0x318be5(0x14e),!0x1),this[_0x318be5(0x139)]=_0x35d767,this[_0x318be5(0x151)]=null,this[_0x318be5(0x154)][_0x318be5(0x13a)][_0x318be5(0x13f)]=AIChatPromptInputView[_0x318be5(0x134)],this[_0x318be5(0x154)][_0x318be5(0x13a)][_0x318be5(0x16f)]=AIChatPromptInputView[_0x318be5(0x164)],this[_0x318be5(0x154)][_0x318be5(0x132)][_0x318be5(0x168)](this[_0x318be5(0x139)]),this[_0x318be5(0x16e)](),this[_0x318be5(0x142)]({'attributes':{'class':['ck',_0x318be5(0x14a)]}}),this[_0x318be5(0x131)]=this[_0x318be5(0x141)](),this[_0x318be5(0x131)][_0x318be5(0x16a)](_0x318be5(0x165))['to'](this,_0x318be5(0x156),this,_0x318be5(0x14e),(_0x1d0300,_0x26dbe4)=>!_0x1d0300&&!_0x26dbe4),this[_0x318be5(0x14f)][_0x318be5(0x168)](this[_0x318be5(0x131)]);}[_0x16982e(0x147)](){const _0x14491a=_0x16982e;super[_0x14491a(0x147)](),this[_0x14491a(0x154)][_0x14491a(0x132)][_0x14491a(0x168)](this[_0x14491a(0x131)]),this[_0x14491a(0x15b)][_0x14491a(0x13d)](_0x14491a(0x149),(_0x16b793,_0x29da7c)=>{const _0x558c6f=_0x14491a;this[_0x558c6f(0x14e)]||this[_0x558c6f(0x156)]||_0x16b793[_0x558c6f(0x13e)]==this[_0x558c6f(0x154)][_0x558c6f(0x13a)][_0x558c6f(0x15d)]&&(this[_0x558c6f(0x136)](),_0x29da7c());}),this[_0x14491a(0x154)][_0x14491a(0x13a)]['on'](_0x14491a(0x172),()=>{const _0x7f4444=_0x14491a;this[_0x7f4444(0x156)]=''===this[_0x7f4444(0x154)][_0x7f4444(0x13a)][_0x7f4444(0x15d)][_0x7f4444(0x152)]?.[_0x7f4444(0x14c)]();});}[_0x16982e(0x12e)](){const _0x5c5c40=_0x16982e;super[_0x5c5c40(0x12e)](),this[_0x5c5c40(0x151)]&&this[_0x5c5c40(0x151)][_0x5c5c40(0x12e)]();}[_0x16982e(0x136)](){const _0x37c5d1=_0x16982e,_0x3c301d=this[_0x37c5d1(0x154)][_0x37c5d1(0x13a)][_0x37c5d1(0x15d)][_0x37c5d1(0x152)]?.[_0x37c5d1(0x14c)]();if(!_0x3c301d)return this[_0x37c5d1(0x154)][_0x37c5d1(0x170)]=_0x104b1a(this[_0x37c5d1(0x15f)],_0x37c5d1(0x145)),void(this[_0x37c5d1(0x154)][_0x37c5d1(0x13a)][_0x37c5d1(0x16d)]=!0x0);this[_0x37c5d1(0x154)][_0x37c5d1(0x13a)][_0x37c5d1(0x16d)]=!0x1;const _0x3ec6e1=_0x442c18(_0x3c301d);this[_0x37c5d1(0x130)](_0x37c5d1(0x167),_0x3ec6e1),this[_0x37c5d1(0x154)][_0x37c5d1(0x13a)][_0x37c5d1(0x14d)]();}[_0x16982e(0x13c)](_0x2c9059){const _0x227b94=_0x16982e;this[_0x227b94(0x154)][_0x227b94(0x13a)][_0x227b94(0x13d)](_0x227b94(0x148),_0x2c9059);}[_0x16982e(0x141)](){const _0x50fc8f=_0x16982e,_0x46a41c=new _0x5dbb8e(this[_0x50fc8f(0x15f)]);return _0x46a41c[_0x50fc8f(0x13d)]({'icon':_0x1be134,'label':_0x104b1a(this[_0x50fc8f(0x15f)],_0x50fc8f(0x166)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x50fc8f(0x12f),'isEnabled':!0x1}),_0x46a41c['on'](_0x50fc8f(0x13b),()=>{const _0x384a41=_0x50fc8f;this[_0x384a41(0x136)]();}),_0x46a41c;}[_0x16982e(0x16b)](_0x295567){const _0x389200=_0x16982e;this[_0x389200(0x14e)]=_0x295567;}[_0x16982e(0x16e)](){const _0x1c43ea=_0x16982e,_0x2ed604=this[_0x1c43ea(0x15f)],_0x106f2e=()=>{const _0x4cb530=_0x1c43ea;_0x48f1a0[_0x4cb530(0x159)][_0x4cb530(0x162)](()=>{const _0xf4ca49=_0x4cb530;if(_0x2909f9(this[_0xf4ca49(0x15d)])){const _0x2efb56=new _0x37d8e8(this[_0xf4ca49(0x154)][_0xf4ca49(0x13a)][_0xf4ca49(0x15d)]),_0x52166e=new _0x37d8e8(this[_0xf4ca49(0x139)][_0xf4ca49(0x15d)]),_0x2834b7=_0x2efb56[_0xf4ca49(0x140)],_0x16f592=_0xf4ca49(0x133)===_0x2ed604[_0xf4ca49(0x146)]?_0xf4ca49(0x15c):_0xf4ca49(0x163);_0x2efb56[_0xf4ca49(0x144)]();const _0x2c3035=_0x2834b7-_0x2efb56[_0xf4ca49(0x140)]+0x1;this[_0xf4ca49(0x139)][_0xf4ca49(0x15d)][_0xf4ca49(0x157)][_0x16f592]=_0xf4ca49(0x155)+(_0x2834b7-_0x52166e[_0xf4ca49(0x140)]-_0x2c3035)+_0xf4ca49(0x143);}});};this[_0x1c43ea(0x154)][_0x1c43ea(0x13a)]['on'](_0x1c43ea(0x172),_0x106f2e),this['on'](_0x1c43ea(0x147),()=>{const _0x1ac133=_0x1c43ea;_0x106f2e(),this[_0x1ac133(0x151)]=new _0x5c610d(this[_0x1ac133(0x154)][_0x1ac133(0x13a)][_0x1ac133(0x15d)],()=>{_0x106f2e();});});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x213a18=_0x14ab;(function(_0x4db4e5,_0x447f42){const _0x5970cd=_0x14ab,_0x443e6e=_0x4db4e5();while(!![]){try{const _0x37fb78=parseInt(_0x5970cd(0x17e))/0x1*(parseInt(_0x5970cd(0x188))/0x2)+-parseInt(_0x5970cd(0x186))/0x3+parseInt(_0x5970cd(0x184))/0x4*(parseInt(_0x5970cd(0x17c))/0x5)+parseInt(_0x5970cd(0x17f))/0x6+parseInt(_0x5970cd(0x17d))/0x7*(parseInt(_0x5970cd(0x17b))/0x8)+parseInt(_0x5970cd(0x185))/0x9*(-parseInt(_0x5970cd(0x187))/0xa)+parseInt(_0x5970cd(0x183))/0xb*(-parseInt(_0x5970cd(0x180))/0xc);if(_0x37fb78===_0x447f42)break;else _0x443e6e['push'](_0x443e6e['shift']());}catch(_0x55aba0){_0x443e6e['push'](_0x443e6e['shift']());}}}(_0x2b78,0xdd549));import{ListView as _0x2904ff}from'ckeditor5/src/ui.js';function _0x14ab(_0x22150c,_0x19297e){const _0x2b78d1=_0x2b78();return _0x14ab=function(_0x14ab15,_0x1c832b){_0x14ab15=_0x14ab15-0x17a;let _0x242d33=_0x2b78d1[_0x14ab15];return _0x242d33;},_0x14ab(_0x22150c,_0x19297e);}export class AIChatPromptSuggestionsListView extends _0x2904ff{[_0x213a18(0x182)](){const _0x54c910=_0x213a18;let _0x26dba0=0x0;for(const _0x28e208 of this[_0x54c910(0x181)])_0x26dba0+=_0x28e208[_0x54c910(0x181)][_0x54c910(0x17a)];return{'resultsCount':_0x26dba0,'totalItemsCount':_0x26dba0};}}function _0x2b78(){const _0x108cdf=['165490oMWkUJ','3299667Jovjdg','5PGLnpO','1351332VYsMHz','30893172tCDZwb','items','filter','11sUfmDt','188xNWKUs','247527fhzIQn','1193637cHvhXG','50OqtHiO','705674QSSoHe','length','8LkeiGn'];_0x2b78=function(){return _0x108cdf;};return _0x2b78();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x2ef1(){const _0x489f8e=['24SzUbYM','trim','useDefaultFiltering','clear','2RAonKs','filter','replace','138UDRkzi','label','1953238VDvjEZ','158511eZweAQ','20nMQqCw','extendTemplate','forEach','136215kAJpmo','1135593syspgs','49098972PtCsel','setResources','test','add','execute','resource','ck-ai-chat-resources__list','4440568KnxIPO','highlightText','items','\x5c$&','addResourceToContext','locale','2120760ijBeqC','88uSTrEb','fire','updateResourceState','_source','_handleResourceSelection'];_0x2ef1=function(){return _0x489f8e;};return _0x2ef1();}function _0x533e(_0x2f1629,_0x1cbeaa){const _0x2ef166=_0x2ef1();return _0x533e=function(_0x533ea0,_0x57b6ba){_0x533ea0=_0x533ea0-0xf3;let _0x3a92f8=_0x2ef166[_0x533ea0];return _0x3a92f8;},_0x533e(_0x2f1629,_0x1cbeaa);}const _0x1eeea8=_0x533e;(function(_0xe11640,_0x103946){const _0x4c2053=_0x533e,_0x2d1720=_0xe11640();while(!![]){try{const _0x3514b9=-parseInt(_0x4c2053(0x107))/0x1*(parseInt(_0x4c2053(0xfc))/0x2)+parseInt(_0x4c2053(0x102))/0x3*(-parseInt(_0x4c2053(0xf3))/0x4)+-parseInt(_0x4c2053(0x106))/0x5*(parseInt(_0x4c2053(0xff))/0x6)+-parseInt(_0x4c2053(0x101))/0x7*(parseInt(_0x4c2053(0xf8))/0x8)+-parseInt(_0x4c2053(0x115))/0x9+-parseInt(_0x4c2053(0x103))/0xa*(-parseInt(_0x4c2053(0x10f))/0xb)+parseInt(_0x4c2053(0x108))/0xc;if(_0x3514b9===_0x103946)break;else _0x2d1720['push'](_0x2d1720['shift']());}catch(_0x2a0d93){_0x2d1720['push'](_0x2d1720['shift']());}}}(_0x2ef1,0xdc1f3));import{ListView as _0x2b3846}from'ckeditor5/src/ui.js';import{AIChatResourceListItemView as _0x1ffcdb}from'./aichatresourcelistitemview.js';const tc=_0x1eeea8(0x10e);export class AIChatContextResourcesListView extends _0x2b3846{[_0x1eeea8(0xf6)];constructor(_0x181243,_0x389205){const _0x221178=_0x1eeea8;super(_0x181243),this[_0x221178(0xf6)]=_0x389205,this[_0x221178(0x104)]({'attributes':{'class':[tc]}});}[_0x1eeea8(0x109)](_0x2e893a,_0x560c62){const _0x473a0e=_0x1eeea8;this[_0x473a0e(0x111)][_0x473a0e(0xfb)]();let _0x2ea98e=_0x2e893a;if(this[_0x473a0e(0xf6)][_0x473a0e(0xfa)]&&_0x560c62&&''!==_0x560c62[_0x473a0e(0xf9)]()){const _0x580feb=new RegExp(_0x560c62[_0x473a0e(0xfe)](/[.*+?^${}()|[\]\\]/g,_0x473a0e(0x112)),'gi');_0x2ea98e=_0x2e893a[_0x473a0e(0xfd)](_0x2bf28a=>_0x580feb[_0x473a0e(0x10a)](_0x2bf28a[_0x473a0e(0x100)]));}for(const _0x57261c of _0x2ea98e){const _0x2d6b9e=new _0x1ffcdb(this[_0x473a0e(0x114)],_0x57261c);_0x2d6b9e['on'](_0x473a0e(0x10c),()=>{const _0x13345f=_0x473a0e;this[_0x13345f(0xf7)](this[_0x13345f(0xf6)],_0x57261c);}),this[_0x473a0e(0x111)][_0x473a0e(0x10b)](_0x2d6b9e);}this[_0x473a0e(0xf6)][_0x473a0e(0xfa)]&&this[_0x473a0e(0x110)](_0x560c62);}[_0x1eeea8(0x110)](_0x8ea038){const _0x11e991=_0x1eeea8;this[_0x11e991(0xf6)][_0x11e991(0xfa)]&&this[_0x11e991(0x111)][_0x11e991(0x105)](_0x2d5817=>{const _0x8d4449=_0x11e991;_0x2d5817[_0x8d4449(0x110)](_0x8ea038);});}[_0x1eeea8(0xf5)](_0x8acded,_0x54a370){const _0x1b65fa=_0x1eeea8;for(const _0x587480 of this[_0x1b65fa(0x111)]){const _0x367dc0=_0x587480;_0x367dc0[_0x1b65fa(0x10d)]['id']===_0x8acded&&_0x367dc0[_0x1b65fa(0xf5)](_0x54a370);}}[_0x1eeea8(0xf7)](_0x16d1f0,_0x5db562){const _0x48bde8=_0x1eeea8;this[_0x48bde8(0xf4)](_0x48bde8(0x113),{'source':_0x16d1f0,'resource':_0x5db562});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x479e48=_0x58f9;(function(_0xd968df,_0x273aaa){const _0x5c4262=_0x58f9,_0x1c22a0=_0xd968df();while(!![]){try{const _0x6f747c=-parseInt(_0x5c4262(0x11b))/0x1+parseInt(_0x5c4262(0x114))/0x2+-parseInt(_0x5c4262(0x131))/0x3+parseInt(_0x5c4262(0x12f))/0x4*(-parseInt(_0x5c4262(0x13c))/0x5)+parseInt(_0x5c4262(0x135))/0x6+-parseInt(_0x5c4262(0x121))/0x7*(-parseInt(_0x5c4262(0x130))/0x8)+parseInt(_0x5c4262(0x136))/0x9;if(_0x6f747c===_0x273aaa)break;else _0x1c22a0['push'](_0x1c22a0['shift']());}catch(_0x1aa3e6){_0x1c22a0['push'](_0x1c22a0['shift']());}}}(_0x5135,0xbeb7c));import{View as _0x23a6d6,ViewCollection as _0x34c363}from'ckeditor5/src/ui.js';import{uid as _0x2792c1}from'ckeditor5/src/utils.js';import{AIChatContextResourcesListView as _0x274929}from'./aichatcontextresourceslistview.js';function _0x58f9(_0x572156,_0x5e3c4d){const _0x51359b=_0x5135();return _0x58f9=function(_0x58f9d6,_0x2c31f0){_0x58f9d6=_0x58f9d6-0x10e;let _0x14b61a=_0x51359b[_0x58f9d6];return _0x14b61a;},_0x58f9(_0x572156,_0x5e3c4d);}function _0x5135(){const _0x214bd6=['643464XJoHib','_createSearchSection','ck-hidden','div','aiChatResources','loadResources','_searchSection','1412359QBQTUp','locale','render','length','_source','_latestLoadResourcesUid','98693bwriaE','set','fire','setTemplate','isLoading','extendTemplate','has','setResources','_createSearchView','getQuery','ck\x20ck-search','loadSourceResources','search','addResourceToContext','145340eAwDNh','632AdRhrV','1263945Nazrko','ck-ai-chat-resources','highlightText','add','657132znyYtu','9955026PHiFVG','_resourcesListView','_searchInputVisibleFrom','_createResourcesListView','delegate','_searchView','5XniQxW','searchInputVisibleFrom','updateResourceState','_createSkeletonView','children','_skeletonLoader','source','bindTemplate','useDefaultFiltering'];_0x5135=function(){return _0x214bd6;};return _0x5135();}import{AIChatContextResourcesSearchInputView as _0x5ee0f6}from'./aichatresourcessearchinputview.js';import{AISkeletonView as _0x1bbf29,SKELETON_DEFINITIONS as _0x1a3e8a}from'../../../../aicore/ui/aiskeleton.js';export class AIChatContextResourcesView extends _0x23a6d6{[_0x479e48(0x13b)];[_0x479e48(0x11a)];[_0x479e48(0x138)];[_0x479e48(0x137)];[_0x479e48(0x110)];[_0x479e48(0x11f)];[_0x479e48(0x10f)];[_0x479e48(0x120)]=null;constructor(_0x9dbf64,_0x10d10f){const _0x580392=_0x479e48;super(_0x9dbf64),this[_0x580392(0x11f)]=_0x10d10f[_0x580392(0x111)],this[_0x580392(0x138)]=_0x10d10f[_0x580392(0x13d)]??0x7,this[_0x580392(0x122)](_0x580392(0x125),!0x0),this[_0x580392(0x13b)]=this[_0x580392(0x129)](),this[_0x580392(0x11a)]=this[_0x580392(0x115)](),this[_0x580392(0x137)]=this[_0x580392(0x139)](),this[_0x580392(0x110)]=this[_0x580392(0x10e)](),this[_0x580392(0x10f)]=new _0x34c363([this[_0x580392(0x110)],this[_0x580392(0x137)]]),this[_0x580392(0x124)]({'tag':_0x580392(0x117),'attributes':{'class':_0x580392(0x132)},'children':this[_0x580392(0x10f)]});}[_0x479e48(0x129)](){const _0x45a345=_0x479e48;return new _0x5ee0f6(this[_0x45a345(0x11c)]);}[_0x479e48(0x115)](){const _0x488902=_0x479e48,_0x589630=new _0x23a6d6(this[_0x488902(0x11c)]);return _0x589630[_0x488902(0x124)]({'tag':_0x488902(0x117),'attributes':{'class':_0x488902(0x12b)},'children':[this[_0x488902(0x13b)]]}),this[_0x488902(0x13b)]['on'](_0x488902(0x12d),(_0x224a72,_0x3f978a)=>{const _0x4226fa=_0x488902;this[_0x4226fa(0x119)](_0x3f978a),this[_0x4226fa(0x11f)][_0x4226fa(0x113)]&&this[_0x4226fa(0x137)][_0x4226fa(0x133)](_0x3f978a);}),_0x589630;}[_0x479e48(0x139)](){const _0x5ef329=_0x479e48,_0x4c57c7=new _0x274929(this[_0x5ef329(0x11c)],this[_0x5ef329(0x11f)]);return _0x4c57c7[_0x5ef329(0x13a)](_0x5ef329(0x12e))['to'](this),_0x4c57c7[_0x5ef329(0x126)]({'attributes':{'class':this[_0x5ef329(0x112)]['if'](_0x5ef329(0x125),_0x5ef329(0x116))}}),_0x4c57c7;}[_0x479e48(0x10e)](){const _0x516ddc=_0x479e48,_0x2527ef=new _0x1bbf29(this[_0x516ddc(0x11c)],_0x1a3e8a[_0x516ddc(0x118)]);return _0x2527ef[_0x516ddc(0x126)]({'attributes':{'class':[this[_0x516ddc(0x112)]['if'](_0x516ddc(0x125),_0x516ddc(0x116),_0x6d1b00=>!_0x6d1b00)]}}),_0x2527ef;}[_0x479e48(0x11d)](){const _0x3c5021=_0x479e48;super[_0x3c5021(0x11d)](),this[_0x3c5021(0x119)]('');}[_0x479e48(0x119)](_0x29a2e5){const _0xf598b2=_0x479e48,_0x136453=_0x2792c1();this[_0xf598b2(0x120)]=_0x136453,this[_0xf598b2(0x123)](_0xf598b2(0x12c),{'sourceId':this[_0xf598b2(0x11f)]['id'],'query':_0x29a2e5,'uid':_0x136453}),this[_0xf598b2(0x125)]=!0x0;}[_0x479e48(0x128)](_0x252432,_0x1e7418){const _0x561455=_0x479e48;if(_0x1e7418&&_0x1e7418!==this[_0x561455(0x120)])return;const _0x11052c=this[_0x561455(0x11f)][_0x561455(0x113)]?this[_0x561455(0x13b)][_0x561455(0x12a)]():'';this[_0x561455(0x137)][_0x561455(0x128)](_0x252432,_0x11052c),_0x252432[_0x561455(0x11e)]>=this[_0x561455(0x138)]&&!this[_0x561455(0x10f)][_0x561455(0x127)](this[_0x561455(0x11a)])&&this[_0x561455(0x10f)][_0x561455(0x134)](this[_0x561455(0x11a)],0x0),requestAnimationFrame(()=>{const _0x32c64f=_0x561455;this[_0x32c64f(0x125)]=!0x1;});}[_0x479e48(0x13e)](_0x3c427e,_0x489a79){const _0x42484c=_0x479e48;this[_0x42484c(0x137)][_0x42484c(0x13e)](_0x3c427e,_0x489a79);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x2e8d(_0xe12f68,_0x2d9b29){const _0x495a6e=_0x495a();return _0x2e8d=function(_0x2e8dae,_0x375591){_0x2e8dae=_0x2e8dae-0x19f;let _0xf97b66=_0x495a6e[_0x2e8dae];return _0xf97b66;},_0x2e8d(_0xe12f68,_0x2d9b29);}function _0x495a(){const _0x1216a6=['_setupTemplate','trim','123513OFTeqK','URL','div','label','text','DOCUMENT','updateResourceState','content','span','bindTemplate','type','40MTSDWz','ck-ai-chat-resources__item','execute','24959090Dhpeab','7801272ZptiqP','_createTitleView','getResourceIcon','1077100tVwJKb','ck-ai-chat-resources__item-title','ck-ai-chat-resources__item--in-context','extendTemplate','set','TEXT','1741912VqEtUR','_titleView','_updateIcon','30ALLLtB','325006pvPuTx','isInContext','1340465VmqAtJ','12NRlmqe','_createIconView','FILE','isVisible','setTemplate','render','resource','ck-ai-chat-resources__item__icon','highlightText','_iconView','ck-hidden'];_0x495a=function(){return _0x1216a6;};return _0x495a();}const _0xc9f214=_0x2e8d;(function(_0x567a9b,_0x3c723b){const _0x2cadd3=_0x2e8d,_0x5cf0ac=_0x567a9b();while(!![]){try{const _0x2ca89c=parseInt(_0x2cadd3(0x1ad))/0x1+-parseInt(_0x2cadd3(0x1b0))/0x2*(-parseInt(_0x2cadd3(0x1bd))/0x3)+-parseInt(_0x2cadd3(0x1a9))/0x4+-parseInt(_0x2cadd3(0x1a3))/0x5*(-parseInt(_0x2cadd3(0x1ac))/0x6)+parseInt(_0x2cadd3(0x1af))/0x7*(parseInt(_0x2cadd3(0x1c8))/0x8)+parseInt(_0x2cadd3(0x1a0))/0x9+-parseInt(_0x2cadd3(0x19f))/0xa;if(_0x2ca89c===_0x3c723b)break;else _0x5cf0ac['push'](_0x5cf0ac['shift']());}catch(_0x296256){_0x5cf0ac['push'](_0x5cf0ac['shift']());}}}(_0x495a,0x8454c));import{HighlightedTextView as _0x5d2ee8,IconView as _0x5ad1ff,ListItemView as _0x13d7bc}from'ckeditor5/src/ui.js';import{escapeRegExp as _0x23e876}from'es-toolkit/compat';import{AIContextItemType as _0x5ed649}from'../../../../aicore/model/aicontext.js';import{IconFileUpload as _0x4eb88a,IconCheck as _0x16912a,IconDocument as _0x51a832,IconDocumentOutline as _0xb5f4f2,IconLink as _0x1f97e0}from'@ckeditor/ckeditor5-icons';const zr=_0xc9f214(0x1c9),Jr=_0xc9f214(0x1a5),Kr=_0xc9f214(0x1a4),Nr=_0xc9f214(0x1b7);export class AIChatResourceListItemView extends _0x13d7bc{[_0xc9f214(0x1b6)];[_0xc9f214(0x1aa)];[_0xc9f214(0x1b9)];constructor(_0x1c3b10,_0x1842d3){const _0x4d2f96=_0xc9f214;super(_0x1c3b10),this[_0x4d2f96(0x1b6)]=_0x1842d3,this[_0x4d2f96(0x1a7)](_0x4d2f96(0x1ae),!!_0x1842d3[_0x4d2f96(0x1ae)]),this[_0x4d2f96(0x1aa)]=this[_0x4d2f96(0x1a1)](),this[_0x4d2f96(0x1b9)]=this[_0x4d2f96(0x1b1)](),this[_0x4d2f96(0x1bb)]();}[_0xc9f214(0x1b5)](){const _0x42c6d6=_0xc9f214;super[_0x42c6d6(0x1b5)]();}[_0xc9f214(0x1a2)](_0x1175a2){const _0x3ed352=_0xc9f214;if(_0x1175a2[_0x3ed352(0x1ae)])return _0x16912a;switch(_0x1175a2[_0x3ed352(0x1c7)]){case _0x5ed649[_0x3ed352(0x1c2)]:return _0x51a832;case _0x5ed649[_0x3ed352(0x1be)]:return _0x1f97e0;case _0x5ed649[_0x3ed352(0x1b2)]:case _0x5ed649[_0x3ed352(0x1a8)]:return _0x4eb88a;default:return _0xb5f4f2;}}[_0xc9f214(0x1b8)](_0x35bf0b){const _0x3bc0b4=_0xc9f214;if(!_0x35bf0b||''===_0x35bf0b[_0x3bc0b4(0x1bc)]())return void this[_0x3bc0b4(0x1aa)][_0x3bc0b4(0x1b8)](null);const _0x106b68=new RegExp(_0x23e876(_0x35bf0b),'gi');this[_0x3bc0b4(0x1aa)][_0x3bc0b4(0x1b8)](_0x106b68);}[_0xc9f214(0x1c3)](_0x375b26){const _0x5e7f47=_0xc9f214;this[_0x5e7f47(0x1b6)][_0x5e7f47(0x1ae)]=_0x375b26,this[_0x5e7f47(0x1ae)]=_0x375b26,this[_0x5e7f47(0x1ab)]();}[_0xc9f214(0x1a1)](){const _0x2fbed5=_0xc9f214,_0x2604b2=new _0x5d2ee8();return _0x2604b2[_0x2fbed5(0x1c1)]=this[_0x2fbed5(0x1b6)][_0x2fbed5(0x1c0)],_0x2604b2[_0x2fbed5(0x1a6)]({'tag':_0x2fbed5(0x1c5),'attributes':{'class':[Kr]}}),_0x2604b2;}[_0xc9f214(0x1b1)](){const _0x235302=_0xc9f214,_0x50ef88=new _0x5ad1ff();return _0x50ef88[_0x235302(0x1c4)]=this[_0x235302(0x1a2)](this[_0x235302(0x1b6)]),_0x50ef88;}[_0xc9f214(0x1bb)](){const _0x55139d=_0xc9f214,_0xe99035=this[_0x55139d(0x1c6)];this[_0x55139d(0x1b4)]({'tag':_0x55139d(0x1bf),'attributes':{'class':[zr,_0xe99035['if'](_0x55139d(0x1b3),_0x55139d(0x1ba),_0x3aeee7=>!_0x3aeee7),_0xe99035['if'](_0x55139d(0x1ae),Jr)]},'children':[{'tag':_0x55139d(0x1bf),'attributes':{'class':[Nr]},'children':[this[_0x55139d(0x1b9)]]},this[_0x55139d(0x1aa)]],'on':{'click':_0xe99035['to'](_0x55139d(0x1ca))}});}[_0xc9f214(0x1ab)](){const _0x35fbc2=_0xc9f214;this[_0x35fbc2(0x1b9)][_0x35fbc2(0x1c4)]=this[_0x35fbc2(0x1a2)](this[_0x35fbc2(0x1b6)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1a6872=_0x40b6;(function(_0x2a0764,_0x584289){const _0x1506f5=_0x40b6,_0x196688=_0x2a0764();while(!![]){try{const _0x28f6a5=-parseInt(_0x1506f5(0xbc))/0x1*(-parseInt(_0x1506f5(0xa6))/0x2)+-parseInt(_0x1506f5(0xd8))/0x3*(-parseInt(_0x1506f5(0xda))/0x4)+-parseInt(_0x1506f5(0xc5))/0x5*(-parseInt(_0x1506f5(0xd6))/0x6)+parseInt(_0x1506f5(0xb7))/0x7*(-parseInt(_0x1506f5(0xd4))/0x8)+-parseInt(_0x1506f5(0x9e))/0x9*(parseInt(_0x1506f5(0xbe))/0xa)+parseInt(_0x1506f5(0xc1))/0xb+-parseInt(_0x1506f5(0xcc))/0xc*(parseInt(_0x1506f5(0xc0))/0xd);if(_0x28f6a5===_0x584289)break;else _0x196688['push'](_0x196688['shift']());}catch(_0x3d0f99){_0x196688['push'](_0x196688['shift']());}}}(_0x115c,0xe6330));import{BalloonPanelView as _0x9ac417,ButtonView as _0xc09a1e,clickOutsideHandler as _0x11f890,FormHeaderView as _0x316927}from'ckeditor5/src/ui.js';import{IconPreviousArrow as _0x4147d8}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x5120c0}from'../../../../aicore/utils/common-translations.js';import{AIChatContextResourcesView as _0xfa7a2a}from'./aichatcontextresourcesview.js';const Xr=_0x1a6872(0xd3),Ur=_0x1a6872(0xb5),Qr=_0x1a6872(0xa2);function _0x115c(){const _0x3f1cda=['34860qfvfur','_config','117tSgaKA','13133087pLNshP','label','children','values','5HKwGZt','resource','onBackToContext','add','searchInputVisibleFrom','set','get','4782432gRAZqS','isVisible','updateResourceState','_createBalloonResourcesView','change:isLoading','destroy','setResources','ck-ai-chat-context-controls__source-balloon-panel','16tSPjZD','hide','7509888cwegKg','closeSourceResourceBalloon','15RuHUfZ','once','954324cqFlSn','_bodyCollection','_sourceResourceBalloons','isAnyResourceBalloonVisible','1467aDRQJa','_createBackButton','content','_createBalloonHeader','ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_source','delete','extendTemplate','_locale','1823814iLvXCg','getTargetElement','execute','loadSourceResources','element','addResourceToContext','showSourceResourcesBalloon','onLoadSourceResources','populateSourceResourceBalloon','show','getLimiterElement','clear','AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT','onResourceSelected','_setupSingleResourceBalloonClickOutsideHandler','ck-button-icon\x20ck-button-back','_getResourcesViewFromBalloon','1275211gGLIJc','pin','_addSourceResourceContent','_createSourceResourceBalloonPanel','onBalloonClosed','2sTsyti','source'];_0x115c=function(){return _0x3f1cda;};return _0x115c();}function _0x40b6(_0xf0b18,_0x10d81b){const _0x115c93=_0x115c();return _0x40b6=function(_0x40b61f,_0x44b3b0){_0x40b61f=_0x40b61f-0x9c;let _0x27a753=_0x115c93[_0x40b61f];return _0x27a753;},_0x40b6(_0xf0b18,_0x10d81b);}export class AIChatResourcesBalloonView{[_0x1a6872(0x9c)]=new Map();[_0x1a6872(0xdb)];[_0x1a6872(0xa5)];[_0x1a6872(0xbf)];constructor(_0x19ffac,_0x29f90f,_0x4dbc4f){const _0x3d20f7=_0x1a6872;this[_0x3d20f7(0xa5)]=_0x19ffac,this[_0x3d20f7(0xdb)]=_0x29f90f,this[_0x3d20f7(0xbf)]=_0x4dbc4f;}[_0x1a6872(0xac)](_0x3d5b1a){const _0x533ca5=_0x1a6872;let _0x2a2d2c=this[_0x533ca5(0x9c)][_0x533ca5(0xcb)](_0x3d5b1a['id']);_0x2a2d2c||(_0x2a2d2c=this[_0x533ca5(0xba)](),this[_0x533ca5(0x9c)][_0x533ca5(0xca)](_0x3d5b1a['id'],_0x2a2d2c),this[_0x533ca5(0xb4)](_0x2a2d2c)),this[_0x533ca5(0xb9)](_0x2a2d2c,_0x3d5b1a),_0x2a2d2c[_0x533ca5(0xaf)]();const _0xe42b68=this[_0x533ca5(0xbf)][_0x533ca5(0xa7)]();_0xe42b68&&_0x2a2d2c[_0x533ca5(0xb8)]({'target':_0xe42b68,'limiter':this[_0x533ca5(0xbf)][_0x533ca5(0xb0)]()});}[_0x1a6872(0xae)](_0x5da24f,_0xb0b2a7,_0x285843){const _0x446d75=_0x1a6872,_0x2a3d7a=this[_0x446d75(0x9c)][_0x446d75(0xcb)](_0x5da24f);if(!_0x2a3d7a)return;const _0x4f0ece=this[_0x446d75(0xb6)](_0x2a3d7a);_0x4f0ece&&(_0x4f0ece[_0x446d75(0xd2)](_0xb0b2a7,_0x285843),_0x4f0ece[_0x446d75(0xd9)](_0x446d75(0xd0),()=>{const _0x3abff5=_0x446d75;_0x2a3d7a[_0x3abff5(0xb8)]({'target':this[_0x3abff5(0xbf)][_0x3abff5(0xa7)](),'limiter':this[_0x3abff5(0xbf)][_0x3abff5(0xb0)]()});}));}[_0x1a6872(0xd7)](_0xce6a42){const _0x542a23=_0x1a6872,_0x5af219=this[_0x542a23(0x9c)][_0x542a23(0xcb)](_0xce6a42);_0x5af219&&requestAnimationFrame(()=>{const _0x39bdf9=_0x542a23;_0x5af219[_0x39bdf9(0xd5)](),this[_0x39bdf9(0x9c)][_0x39bdf9(0xa3)](_0xce6a42),this[_0x39bdf9(0xbf)][_0x39bdf9(0xbb)]();});}[_0x1a6872(0x9d)](){const _0x172251=_0x1a6872;for(const _0x5d0e3f of this[_0x172251(0x9c)][_0x172251(0xc4)]())if(_0x5d0e3f[_0x172251(0xcd)])return!0x0;return!0x1;}[_0x1a6872(0xce)](_0x4eb778,_0x5599c4,_0x4962c7){const _0x1a7c2e=_0x1a6872,_0x1e40bf=this[_0x1a7c2e(0x9c)][_0x1a7c2e(0xcb)](_0x4eb778);if(!_0x1e40bf||!_0x1e40bf[_0x1a7c2e(0xcd)])return;const _0x592249=this[_0x1a7c2e(0xbf)][_0x1a7c2e(0xa7)]();if(!_0x592249)return;_0x1e40bf[_0x1a7c2e(0xb8)]({'target':_0x592249,'limiter':this[_0x1a7c2e(0xbf)][_0x1a7c2e(0xb0)]()});const _0x2214fd=this[_0x1a7c2e(0xb6)](_0x1e40bf);_0x2214fd&&_0x2214fd[_0x1a7c2e(0xce)](_0x5599c4,_0x4962c7);}[_0x1a6872(0xd1)](){const _0x4fa9ee=_0x1a6872;for(const _0x2a9576 of this[_0x4fa9ee(0x9c)][_0x4fa9ee(0xc4)]())_0x2a9576[_0x4fa9ee(0xd1)]();this[_0x4fa9ee(0x9c)][_0x4fa9ee(0xb1)]();}[_0x1a6872(0xba)](){const _0xfef90b=_0x1a6872,_0x16bd20=new _0x9ac417(this[_0xfef90b(0xa5)]);return _0x16bd20[_0xfef90b(0xa4)]({'attributes':{'class':Xr}}),this[_0xfef90b(0xdb)][_0xfef90b(0xc8)](_0x16bd20),_0x16bd20;}[_0x1a6872(0xb9)](_0x9a4635,_0x2715a4){const _0x2038c0=_0x1a6872;_0x9a4635[_0x2038c0(0xa0)][_0x2038c0(0xb1)]();const _0x2747f5=this[_0x2038c0(0xa1)](_0x9a4635,_0x2715a4);_0x9a4635[_0x2038c0(0xa0)][_0x2038c0(0xc8)](_0x2747f5);const _0x1b982b=this[_0x2038c0(0xcf)](_0x2715a4);_0x9a4635[_0x2038c0(0xa0)][_0x2038c0(0xc8)](_0x1b982b);}[_0x1a6872(0xa1)](_0x11e5be,_0x327319){const _0x328aad=_0x1a6872,_0x19d653=this[_0x328aad(0x9f)](_0x11e5be),_0x1066f8=new _0x316927(this[_0x328aad(0xa5)],{'label':_0x327319[_0x328aad(0xc2)],'class':Qr});return _0x1066f8[_0x328aad(0xc3)][_0x328aad(0xc8)](_0x19d653,0x0),_0x1066f8;}[_0x1a6872(0x9f)](_0x37f88d){const _0x3e5b03=_0x1a6872,_0x35d0ae=new _0xc09a1e(this[_0x3e5b03(0xa5)]);return _0x35d0ae[_0x3e5b03(0xca)]({'icon':_0x4147d8,'tooltip':_0x5120c0(this[_0x3e5b03(0xa5)],_0x3e5b03(0xb2)),'tooltipPosition':'n','class':Ur}),_0x35d0ae['on'](_0x3e5b03(0xa8),()=>{const _0xf8a2c2=_0x3e5b03;_0x37f88d[_0xf8a2c2(0xd5)](),this[_0xf8a2c2(0xbf)][_0xf8a2c2(0xc7)]();}),_0x35d0ae;}[_0x1a6872(0xcf)](_0x558e15){const _0x51e37a=_0x1a6872,_0x2624cc=new _0xfa7a2a(this[_0x51e37a(0xa5)],{'source':_0x558e15,'searchInputVisibleFrom':this[_0x51e37a(0xbf)][_0x51e37a(0xc9)]});return _0x2624cc['on'](_0x51e37a(0xa9),(_0x1f17f6,_0x8e0eaa)=>{const _0x2d4b28=_0x51e37a;this[_0x2d4b28(0xbf)][_0x2d4b28(0xad)](_0x8e0eaa);}),_0x2624cc['on'](_0x51e37a(0xab),(_0x1ebdcd,_0x2ef6d5)=>{const _0x8429d9=_0x51e37a;this[_0x8429d9(0xbf)][_0x8429d9(0xb3)](_0x2ef6d5[_0x8429d9(0xbd)],_0x2ef6d5[_0x8429d9(0xc6)]),this[_0x8429d9(0xd7)](_0x558e15['id']);}),_0x2624cc;}[_0x1a6872(0xb6)](_0x4455c8){const _0x15190b=_0x1a6872,_0x4b9a36=_0x4455c8[_0x15190b(0xa0)][_0x15190b(0xcb)](0x1);return _0x4b9a36 instanceof _0xfa7a2a?_0x4b9a36:null;}[_0x1a6872(0xb4)](_0x2b4352){const _0x39b1fd=_0x1a6872;_0x11f890({'emitter':_0x2b4352,'contextElements':[_0x2b4352[_0x39b1fd(0xaa)]],'callback':()=>{const _0x4ca065=_0x39b1fd;_0x2b4352[_0x4ca065(0xd5)](),this[_0x4ca065(0xbf)][_0x4ca065(0xbb)]();},'activator':()=>_0x2b4352[_0x39b1fd(0xcd)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ButtonView as
|
|
23
|
+
import{ButtonView as _0x2828e0,IconView as _0x1cc4c5,LabeledFieldView as _0x539aed,createLabeledInputText as th}from'ckeditor5/src/ui.js';import{IconLoupe as _0x12761e,IconCancel as _0x11efad}from'ckeditor5/src/icons.js';import{getTranslation as _0x1aea90}from'../../../../aicore/utils/common-translations.js';export class AIChatContextResourcesSearchInputView extends _0x539aed{['iconView'];['resetButtonView'];['_viewConfig'];constructor(_0x2130b1){const t=_0x2130b1['t'],_0x1a34b2={'showResetButton':!0x0,'showIcon':!0x0,'creator':th,'label':_0x1aea90(_0x2130b1,'AI_CHAT_SEARCH_RESOURCES')};super(_0x2130b1,_0x1a34b2['creator']),this['label']=_0x1a34b2['label'],this['_viewConfig']=_0x1a34b2,this['_viewConfig']['showIcon']&&this['_setupSearchIcon'](),this['_viewConfig']['showResetButton']&&this['_setupResetButton'](_0x2130b1,t),this['_setupEventListeners']();}['reset'](){this['fieldView']['reset'](),this['_viewConfig']['showResetButton']&&this['resetButtonView']&&(this['resetButtonView']['isVisible']=!0x1),this['search']('');}['search'](_0x54327d){this['fire']('search',_0x54327d);}['getQuery'](){return this['fieldView']['element']?.['value']||'';}['_setupSearchIcon'](){this['iconView']=new _0x1cc4c5(),this['iconView']['content']=_0x12761e,this['fieldWrapperChildren']['add'](this['iconView'],0x0),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-icon'}});}['_setupResetButton'](_0x4a7f26,t){this['resetButtonView']=new _0x2828e0(_0x4a7f26),this['resetButtonView']['set']({'label':t('Clear'),'icon':_0x11efad,'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',_0x982f2=>!_0x982f2),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
|
+
function _0x22a6(_0x38b5a,_0x485de5){const _0x1bb7cd=_0x1bb7();return _0x22a6=function(_0x22a6f6,_0x5d6b3){_0x22a6f6=_0x22a6f6-0x14f;let _0x28dd46=_0x1bb7cd[_0x22a6f6];return _0x28dd46;},_0x22a6(_0x38b5a,_0x485de5);}const _0x11a9a5=_0x22a6;(function(_0x2e7009,_0x17170e){const _0x38e496=_0x22a6,_0x5c0929=_0x2e7009();while(!![]){try{const _0x31593b=parseInt(_0x38e496(0x161))/0x1*(parseInt(_0x38e496(0x15f))/0x2)+parseInt(_0x38e496(0x164))/0x3*(-parseInt(_0x38e496(0x156))/0x4)+parseInt(_0x38e496(0x152))/0x5+parseInt(_0x38e496(0x158))/0x6*(parseInt(_0x38e496(0x167))/0x7)+parseInt(_0x38e496(0x15e))/0x8*(-parseInt(_0x38e496(0x16c))/0x9)+parseInt(_0x38e496(0x157))/0xa+-parseInt(_0x38e496(0x153))/0xb;if(_0x31593b===_0x17170e)break;else _0x5c0929['push'](_0x5c0929['shift']());}catch(_0x2117bb){_0x5c0929['push'](_0x5c0929['shift']());}}}(_0x1bb7,0x4ef45));import{View as _0x1dd381}from'ckeditor5/src/ui.js';import{AIChatContextItemButtonView as _0x59278b}from'../controls/aichatcontextitembuttonview.js';function _0x1bb7(){const _0x52d1e4=['div','ck-reset_all','1232180RkyhbL','8215284xQfDoE','element','setContainerElement','205468afBYNf','5906590MZLXvN','3349194profIs','_createContextChips','setTemplate','ck-ai-chat__feed__context-chips','render','_overflowManager','16dVqMqK','4eDROSB','querySelector','265241LGeZNI','add','ck-ai-chat-context-chips-wrapper','33pAILtx','destroy','ck-ai-chat-controls-button','7BkzcjP','ck-ai-chat-context-chips-wrapper-balloon','_bodyCollection','createCollection','locale','1307241eqcsvS','reorganizeChips','_contextChips','ck-ai-chat-controls_context_show-more-button','ck-ai-chat-context-controls__show-more-balloon-panel'];_0x1bb7=function(){return _0x52d1e4;};return _0x1bb7();}import{AIChatChipsOverflowManager as _0x23b3e5}from'../controls/aichatchipsoverflowmanager.js';const Fo=_0x11a9a5(0x15b),$o=_0x11a9a5(0x163),qo=_0x11a9a5(0x168),Vo=_0x11a9a5(0x166),Io=_0x11a9a5(0x16f),Po=_0x11a9a5(0x14f);export class AIChatFeedContextChipsView extends _0x1dd381{[_0x11a9a5(0x16e)]=this[_0x11a9a5(0x16a)]();[_0x11a9a5(0x15d)];[_0x11a9a5(0x169)];constructor(_0x27008b,_0x21e82c,_0x173121){const _0x17d16a=_0x11a9a5;super(_0x27008b),this[_0x17d16a(0x169)]=_0x173121,this[_0x17d16a(0x159)](_0x21e82c);const _0x1b724b={'cssClasses':{'showMoreButton':Io,'showMoreBalloon':Po,'overflowContainer':qo,'controlsButton':Vo}};this[_0x17d16a(0x15d)]=new _0x23b3e5(_0x27008b,this[_0x17d16a(0x16e)],_0x1b724b,this[_0x17d16a(0x169)],this),this[_0x17d16a(0x15a)]({'tag':_0x17d16a(0x150),'attributes':{'class':[Fo,'ck',_0x17d16a(0x151)]},'children':[{'tag':_0x17d16a(0x150),'attributes':{'class':$o},'children':this[_0x17d16a(0x16e)]}]});}[_0x11a9a5(0x15c)](){const _0x2c76ce=_0x11a9a5;super[_0x2c76ce(0x15c)]();const _0x43b694=this[_0x2c76ce(0x154)][_0x2c76ce(0x160)]('.'+$o);_0x43b694&&(this[_0x2c76ce(0x15d)][_0x2c76ce(0x155)](_0x43b694),this[_0x2c76ce(0x15d)][_0x2c76ce(0x16d)]());}[_0x11a9a5(0x165)](){const _0x28e658=_0x11a9a5;super[_0x28e658(0x165)](),this[_0x28e658(0x15d)][_0x28e658(0x165)]();}[_0x11a9a5(0x159)](_0x1bfcc2){const _0x34b8d9=_0x11a9a5;for(const _0x16fd81 of _0x1bfcc2){const _0x1b2f5f=new _0x59278b(this[_0x34b8d9(0x16b)],_0x16fd81,!0x0,!0x1);this[_0x34b8d9(0x16e)][_0x34b8d9(0x162)](_0x1b2f5f);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x40c6(_0x5128a2,_0x4b03a4){var _0x1aece8=_0x1aec();return _0x40c6=function(_0x40c636,_0x18d54d){_0x40c636=_0x40c636-0x160;var _0x5a99c0=_0x1aece8[_0x40c636];return _0x5a99c0;},_0x40c6(_0x5128a2,_0x4b03a4);}function _0x1aec(){var _0x1799c4=['setContent','3WWkFwv','1975328tqTEBd','level','element','1950748mHkDBI','initialContent','innerHTML','render','warning','ck-ai-chat-error_warning','1428291FHpSjW','6797555kRfacg','6631008rTWDND','ck-ai-chat-error','164427PetqVH','markAsDone','90Vgijqk','4879FDWBIP','extendTemplate','2514wKNoNS','options'];_0x1aec=function(){return _0x1799c4;};return _0x1aec();}var _0x32bb82=_0x40c6;(function(_0x26dcf7,_0x3d426d){var _0x92be52=_0x40c6,_0x4e7e38=_0x26dcf7();while(!![]){try{var _0x1438ab=parseInt(_0x92be52(0x161))/0x1+-parseInt(_0x92be52(0x16d))/0x2*(parseInt(_0x92be52(0x169))/0x3)+parseInt(_0x92be52(0x175))/0x4+-parseInt(_0x92be52(0x174))/0x5+parseInt(_0x92be52(0x166))/0x6*(-parseInt(_0x92be52(0x164))/0x7)+parseInt(_0x92be52(0x16a))/0x8+parseInt(_0x92be52(0x173))/0x9*(parseInt(_0x92be52(0x163))/0xa);if(_0x1438ab===_0x3d426d)break;else _0x4e7e38['push'](_0x4e7e38['shift']());}catch(_0x223ae6){_0x4e7e38['push'](_0x4e7e38['shift']());}}}(_0x1aec,0xd483a));import{AIChatFeedItemView as _0x232f73}from'./aichatfeeditemview.js';export class AIChatFeedErrorItemView extends _0x232f73{constructor(_0x69d9aa){var _0x2a4e79=_0x40c6;super(_0x69d9aa),this[_0x2a4e79(0x165)]({'attributes':{'class':[_0x2a4e79(0x160),_0x2a4e79(0x171)===_0x69d9aa[_0x2a4e79(0x16b)]?_0x2a4e79(0x172):'']}});}[_0x32bb82(0x170)](){var _0x4da4ac=_0x32bb82;super[_0x4da4ac(0x170)](),this[_0x4da4ac(0x168)](this[_0x4da4ac(0x167)][_0x4da4ac(0x16e)]),this[_0x4da4ac(0x162)]();}[_0x32bb82(0x168)](_0x504064){var _0x39e32a=_0x32bb82;this[_0x39e32a(0x16c)][_0x39e32a(0x16f)]=_0x504064;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3b533b=_0x3058;(function(_0x21f58f,_0x38489a){const _0x4ca5f2=_0x3058,_0x2a5bed=_0x21f58f();while(!![]){try{const _0x5e0f61=-parseInt(_0x4ca5f2(0x17b))/0x1*(parseInt(_0x4ca5f2(0x172))/0x2)+-parseInt(_0x4ca5f2(0x176))/0x3+parseInt(_0x4ca5f2(0x170))/0x4+parseInt(_0x4ca5f2(0x182))/0x5+parseInt(_0x4ca5f2(0x186))/0x6*(-parseInt(_0x4ca5f2(0x17c))/0x7)+parseInt(_0x4ca5f2(0x16c))/0x8*(-parseInt(_0x4ca5f2(0x178))/0x9)+parseInt(_0x4ca5f2(0x17a))/0xa*(parseInt(_0x4ca5f2(0x17f))/0xb);if(_0x5e0f61===_0x38489a)break;else _0x2a5bed['push'](_0x2a5bed['shift']());}catch(_0x461356){_0x2a5bed['push'](_0x2a5bed['shift']());}}}(_0x4542,0xa64ee));function _0x4542(){const _0x21e577=['ck-hidden','push','AI_CHAT_FEED_REPLY_ITEM_USED_REASONING','2695350YWXXsv','capabilities','9PwssUu','ck-ai-chat__feed__interaction-header__capabilities__text','120WwPXZe','11831vMWWgn','619493AggNKi','div','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH','1544532QXSmmL','setTemplate','add','4706465BcxGwY','ck-ai-chat__feed__interaction-header__capabilities','content','ck-ai-chat__feed__interaction-header','18OcjCGq','2805104qbgomC','span','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING','extendTemplate','3578472qGdlIq','children','224bXFlPm'];_0x4542=function(){return _0x21e577;};return _0x4542();}import{IconBulb as _0x190c29,IconWeb as _0x21a749}from'@ckeditor/ckeditor5-icons';import{IconView as _0x3785c2,View as _0xec66d6}from'ckeditor5/src/ui.js';function _0x3058(_0x213ade,_0x3d0fc0){const _0x454283=_0x4542();return _0x3058=function(_0x3058fa,_0x51d029){_0x3058fa=_0x3058fa-0x16c;let _0x5d39fb=_0x454283[_0x3058fa];return _0x5d39fb;},_0x3058(_0x213ade,_0x3d0fc0);}import{AIChatFeedItemView as _0x386946}from'./aichatfeeditemview.js';import{getTranslation as _0x445224}from'../../../aicore/utils/common-translations.js';export class AIChatFeedInteractionHeaderView extends _0x386946{[_0x3b533b(0x177)];constructor(_0x384fd2,_0x6f4492){const _0x3ff9d9=_0x3b533b;super(_0x6f4492);const {isWebSearchEnabled:_0x2d42b0,isReasoningEnabled:_0x4b78e1}=_0x6f4492[_0x3ff9d9(0x177)],_0x24ae67=[];let _0x277fad='';_0x2d42b0&&_0x4b78e1?(_0x277fad=_0x445224(_0x384fd2,_0x3ff9d9(0x16e)),_0x24ae67[_0x3ff9d9(0x174)](aa(_0x21a749)),_0x24ae67[_0x3ff9d9(0x174)](aa(_0x190c29))):_0x2d42b0?(_0x277fad=_0x445224(_0x384fd2,_0x3ff9d9(0x17e)),_0x24ae67[_0x3ff9d9(0x174)](aa(_0x21a749))):_0x4b78e1&&(_0x277fad=_0x445224(_0x384fd2,_0x3ff9d9(0x175)),_0x24ae67[_0x3ff9d9(0x174)](aa(_0x190c29))),this[_0x3ff9d9(0x16f)]({'attributes':{'class':[_0x3ff9d9(0x185),_0x277fad?'':_0x3ff9d9(0x173)]}});const _0x200893=new _0xec66d6();_0x200893[_0x3ff9d9(0x180)]({'tag':_0x3ff9d9(0x17d),'attributes':{'class':['ck',_0x3ff9d9(0x183)]},'children':[..._0x24ae67,{'tag':_0x3ff9d9(0x16d),'attributes':{'class':[_0x3ff9d9(0x179)]},'children':[_0x277fad]}]}),this[_0x3ff9d9(0x171)][_0x3ff9d9(0x181)](_0x200893),this[_0x3ff9d9(0x177)]=_0x6f4492[_0x3ff9d9(0x177)];}}function aa(_0x4db695){const _0x4dd9c1=_0x3b533b,_0x46b3b6=new _0x3785c2();return _0x46b3b6[_0x4dd9c1(0x184)]=_0x4db695,_0x46b3b6;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x30ca43=_0x22e1;(function(_0x163701,_0x174c83){const _0x5dbf49=_0x22e1,_0x4761d1=_0x163701();while(!![]){try{const _0x30af68=-parseInt(_0x5dbf49(0x16c))/0x1*(-parseInt(_0x5dbf49(0x182))/0x2)+parseInt(_0x5dbf49(0x185))/0x3*(-parseInt(_0x5dbf49(0x17e))/0x4)+-parseInt(_0x5dbf49(0x181))/0x5*(parseInt(_0x5dbf49(0x16e))/0x6)+-parseInt(_0x5dbf49(0x166))/0x7+-parseInt(_0x5dbf49(0x180))/0x8*(parseInt(_0x5dbf49(0x169))/0x9)+-parseInt(_0x5dbf49(0x179))/0xa*(-parseInt(_0x5dbf49(0x177))/0xb)+parseInt(_0x5dbf49(0x16f))/0xc;if(_0x30af68===_0x174c83)break;else _0x4761d1['push'](_0x4761d1['shift']());}catch(_0x4143d5){_0x4761d1['push'](_0x4761d1['shift']());}}}(_0x3774,0x7de95));function _0x22e1(_0x220c9b,_0x580874){const _0x377447=_0x3774();return _0x22e1=function(_0x22e1ba,_0x2043d1){_0x22e1ba=_0x22e1ba-0x162;let _0x148b88=_0x377447[_0x22e1ba];return _0x148b88;},_0x22e1(_0x220c9b,_0x580874);}import{View as _0x3a5691}from'ckeditor5/src/ui.js';function _0x3774(){const _0x485708=['setTemplate','601182vOdhUg','bindTemplate','set','8329uuoAUn','element','3882sCZzkU','17091840fgELGP','cleanUpAnimations','data-id','removeAttribute','children','content','animation:\x20ck-html-streamer-fade-in\x20.5s','isDone','22rJnRKv','isVisible','981370QqsuBW','ck-ai-chat__feed__text-item','streamIntoElement','ck-hidden','ck-ai-chat__feed__item','350156ftXqsh','stream','8uBoNFW','1640FBVzwH','6NlPxZz','ck-ai-chat__feed__item_done','[data-id]','21fDsbCx','htmlStreamer','markAsDone','forEach','querySelectorAll','div','createCollection','1666427doJWmP','options'];_0x3774=function(){return _0x485708;};return _0x3774();}import{HTMLStreamer as _0x4c6829}from'../../../aicore/utils/htmlstreamer.js';export class AIChatFeedItemView extends _0x3a5691{[_0x30ca43(0x167)];[_0x30ca43(0x174)]='';[_0x30ca43(0x186)];[_0x30ca43(0x173)];constructor(_0x2683bc){const _0x4f99a2=_0x30ca43;super();const _0x3f5b4e=this[_0x4f99a2(0x16a)];this[_0x4f99a2(0x16b)](_0x4f99a2(0x176),!0x1),this[_0x4f99a2(0x16b)](_0x4f99a2(0x178),!0x0),this[_0x4f99a2(0x186)]=new _0x4c6829({'textNodeStyle':_0x4f99a2(0x175),'delay':0x14}),this[_0x4f99a2(0x167)]=_0x2683bc,this[_0x4f99a2(0x173)]=this[_0x4f99a2(0x165)](),this[_0x4f99a2(0x168)]({'tag':_0x4f99a2(0x164),'attributes':{'class':['ck',_0x4f99a2(0x17d),_0x3f5b4e['if'](_0x4f99a2(0x176),_0x4f99a2(0x183)),_0x3f5b4e['if'](_0x4f99a2(0x178),_0x4f99a2(0x17c),_0x5b7ecf=>!_0x5b7ecf),_0x4f99a2(0x17a)],'data-cke-ai-id':this[_0x4f99a2(0x167)]['id']},'children':this[_0x4f99a2(0x173)]});}[_0x30ca43(0x187)](){const _0x22ceaa=_0x30ca43;this[_0x22ceaa(0x186)][_0x22ceaa(0x170)]({'targetElement':this[_0x22ceaa(0x16d)]}),this[_0x22ceaa(0x16d)][_0x22ceaa(0x163)](_0x22ceaa(0x184))[_0x22ceaa(0x162)](_0x40e99b=>{const _0x3925f2=_0x22ceaa;_0x40e99b[_0x3925f2(0x172)](_0x3925f2(0x171));}),this[_0x22ceaa(0x176)]=!0x0;}async[_0x30ca43(0x17b)](_0x54e9a5,_0x4164a5,_0x50fbb8){const _0x2beceb=_0x30ca43;await this[_0x2beceb(0x186)][_0x2beceb(0x17f)]({'document':_0x54e9a5,'targetElement':_0x4164a5,'abortSignal':_0x50fbb8});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x33cbf2=_0x2300;(function(_0x59ace9,_0x5ea0ea){const _0x583369=_0x2300,_0x42333b=_0x59ace9();while(!![]){try{const _0x24d8e3=-parseInt(_0x583369(0xf2))/0x1+-parseInt(_0x583369(0xe4))/0x2+-parseInt(_0x583369(0xe8))/0x3*(parseInt(_0x583369(0xeb))/0x4)+parseInt(_0x583369(0x101))/0x5*(parseInt(_0x583369(0xe2))/0x6)+-parseInt(_0x583369(0xf6))/0x7+-parseInt(_0x583369(0xff))/0x8+parseInt(_0x583369(0xf0))/0x9;if(_0x24d8e3===_0x5ea0ea)break;else _0x42333b['push'](_0x42333b['shift']());}catch(_0x43baab){_0x42333b['push'](_0x42333b['shift']());}}}(_0x3f00,0x4a575));import{AIChatFeedItemView as _0xb1badc}from'./aichatfeeditemview.js';import{parse as _0x1f31ce,render as _0x711d25}from'../../../aicore/utils/htmlparser.js';function _0x3f00(){const _0x335138=['5efiWbQ','render','3109272MkNfNi','streamIntoElement','106036TnOgpj','element','updateSources','ck-ai-chat__feed__ai-reply-container','2469fbtIQQ','innerHTML','ck-ai-chat__feed__ai-reply','316MjqHnu','addMany','div','markAsDone','initialContent','10418310kBlsGn','map','352401CYjlfK','add','updateContent','options','3168431iqRMWp','setTemplate','isVisible','ck-reset_all-excluded','locale','static','streaming','extendTemplate','children','3585856fbcgfo','replyContainer'];_0x3f00=function(){return _0x335138;};return _0x3f00();}function _0x2300(_0x18da58,_0x57becb){const _0x3f008f=_0x3f00();return _0x2300=function(_0x23007b,_0x47abf2){_0x23007b=_0x23007b-0xe2;let _0x1026e6=_0x3f008f[_0x23007b];return _0x1026e6;},_0x2300(_0x18da58,_0x57becb);}import{View as _0x5a7f1d}from'ckeditor5/src/ui.js';import{AIWebSourcesView as _0x4a6485,AIWebSourceView as _0x59af32}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';export class AIChatFeedReplyItemView extends _0xb1badc{[_0x33cbf2(0x100)];constructor(_0x4a3bcf,_0x47e123){const _0x567e7b=_0x33cbf2;super(_0x47e123),this[_0x567e7b(0xfa)]=_0x4a3bcf,this[_0x567e7b(0xfd)]({'attributes':{'class':[_0x567e7b(0xea)]}}),this[_0x567e7b(0x100)]=new _0x5a7f1d(),this[_0x567e7b(0x100)][_0x567e7b(0xf7)]({'tag':_0x567e7b(0xed),'attributes':{'class':['ck',_0x567e7b(0xf9),_0x567e7b(0xe7)]}}),this[_0x567e7b(0xfe)][_0x567e7b(0xf3)](this[_0x567e7b(0x100)]);}async[_0x33cbf2(0x102)](){const _0xa5568f=_0x33cbf2;super[_0xa5568f(0x102)](),this[_0xa5568f(0xf5)][_0xa5568f(0xef)]&&(await this[_0xa5568f(0xf4)]({'parsedContent':_0x1f31ce(this[_0xa5568f(0xf5)][_0xa5568f(0xef)]),'renderingStrategy':_0xa5568f(0xfb)}),this[_0xa5568f(0xee)]());}async[_0x33cbf2(0xf4)]({parsedContent:_0x55a5b1,renderingStrategy:_0x535ecd,abortSignal:_0x329d35}){const _0x5988e4=_0x33cbf2;_0x5988e4(0xfc)===_0x535ecd?await this[_0x5988e4(0xe3)](_0x55a5b1,this[_0x5988e4(0x100)][_0x5988e4(0xe5)],_0x329d35):this[_0x5988e4(0x100)][_0x5988e4(0xe5)][_0x5988e4(0xe9)]=_0x711d25(_0x55a5b1);}[_0x33cbf2(0xe6)](_0x35ed3e){const _0x177938=_0x33cbf2,_0x4a75fa=new _0x4a6485(this[_0x177938(0xfa)]);_0x4a75fa[_0x177938(0xfe)][_0x177938(0xec)](_0x35ed3e[_0x177938(0xf1)](_0x359506=>new _0x59af32(this[_0x177938(0xfa)],_0x359506))),_0x4a75fa[_0x177938(0xf8)]=!0x0,this[_0x177938(0xfe)][_0x177938(0xf3)](_0x4a75fa);}}
|