@ckeditor/ckeditor5-ai 47.3.0-alpha.4 → 47.3.0-alpha.6
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/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- 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/legacyerrors.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/aiassistant/utils/common-translations.js +1 -1
- package/src/aiassistant/utils/normalizecommandsconfig.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/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/aicontext.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/aispinner.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/common-translations.js +1 -1
- package/src/aicore/utils/createresizebutton.js +1 -1
- package/src/aicore/utils/documentposition.js +1 -1
- package/src/aicore/utils/documentrange.js +1 -1
- package/src/aicore/utils/eventnames.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/aicore/utils/scrollmanager.js +1 -1
- package/src/aieditorintegration/aieditorintegration.js +1 -1
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
- package/src/aiquickactions/aiquickactions.js +1 -1
- package/src/aiquickactions/aiquickactionscommand.js +1 -1
- package/src/aiquickactions/aiquickactionsediting.js +1 -1
- package/src/aiquickactions/aiquickactionsui.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
- package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
- package/src/aireviewmode/aireviewcheckdefinitions.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/aireviewcheck.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/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewsystemcheckrun.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/aitabsmainview.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
- package/src/errors.js +1 -1
- package/src/errorsmap.js +1 -1
- package/src/index.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x5c98(_0x525be1,_0x5abd43){const _0x211f2d=_0x211f();return _0x5c98=function(_0x5c98e8,_0xc67424){_0x5c98e8=_0x5c98e8-0x8b;let _0x290210=_0x211f2d[_0x5c98e8];return _0x290210;},_0x5c98(_0x525be1,_0x5abd43);}const _0x149195=_0x5c98;(function(_0x5de99b,_0x326499){const _0x4678f3=_0x5c98,_0x51e8c6=_0x5de99b();while(!![]){try{const _0x4eb467=-parseInt(_0x4678f3(0xa7))/0x1*(parseInt(_0x4678f3(0xa2))/0x2)+-parseInt(_0x4678f3(0x8e))/0x3+-parseInt(_0x4678f3(0x97))/0x4+-parseInt(_0x4678f3(0x9c))/0x5+-parseInt(_0x4678f3(0xa3))/0x6*(parseInt(_0x4678f3(0x98))/0x7)+parseInt(_0x4678f3(0x9f))/0x8*(-parseInt(_0x4678f3(0xa0))/0x9)+parseInt(_0x4678f3(0xa1))/0xa;if(_0x4eb467===_0x326499)break;else _0x51e8c6['push'](_0x51e8c6['shift']());}catch(_0x1edbfb){_0x51e8c6['push'](_0x51e8c6['shift']());}}}(_0x211f,0x3da3d));function _0x211f(){const _0x42f1e3=['execute','fire','ck-ai-button-secondary\x20ck-ai-button-stop-generating','3682rnRdnK','div','_createCancelButtonView','ck-ai-chat-controls-loader-icon','601284RFLmKv','abortPromptStream','ck-ai-chat-controls-loader-icon-dot','ck-ai-chat-controls-loader-wrapper','_loaderView','AI_CHAT_IS_WRITING','set','locale','_createLoaderView','42964AtaVTi','1631qAfNTC','AI_CHAT_STOP_GENERATING','ck-ai-chat-controls-loader','_cancelButtonView','1565355brBxww','ck-reset_all','setTemplate','1240QVCAUg','16839fEljqB','16046100zVdKUJ','258asNtvS','1620KnnwAQ'];_0x211f=function(){return _0x42f1e3;};return _0x211f();}import{ButtonView as _0x167b67,View as _0x3890bd}from'ckeditor5/src/ui.js';import{IconStop as _0x4c4b25}from'ckeditor5/src/icons.js';import{getTranslation as _0x2efbb8}from'../../../aicore/utils/common-translations.js';export class AIChatControlsLoaderView extends _0x3890bd{[_0x149195(0x9b)];[_0x149195(0x92)];constructor(_0x3403c4){const _0x282ad1=_0x149195;super(_0x3403c4),this[_0x282ad1(0x9b)]=this[_0x282ad1(0x8c)](),this[_0x282ad1(0x92)]=this[_0x282ad1(0x96)](),this[_0x282ad1(0x9e)]({'tag':_0x282ad1(0x8b),'attributes':{'class':['ck',_0x282ad1(0x91),_0x282ad1(0x9d)]},'children':[this[_0x282ad1(0x92)],this[_0x282ad1(0x9b)]]});}[_0x149195(0x8c)](){const _0x1c6002=_0x149195,_0x53af2a=new _0x167b67(this[_0x1c6002(0x95)]);return _0x53af2a[_0x1c6002(0x94)]({'label':_0x2efbb8(this[_0x1c6002(0x95)],_0x1c6002(0x99)),'withText':!0x0,'class':_0x1c6002(0xa6),'icon':_0x4c4b25}),_0x53af2a['on'](_0x1c6002(0xa4),()=>{const _0x389b42=_0x1c6002;this[_0x389b42(0xa5)](_0x389b42(0x8f));}),_0x53af2a;}[_0x149195(0x96)](){const _0x1947c2=_0x149195,_0x44c400=new _0x3890bd(this[_0x1947c2(0x95)]);return _0x44c400[_0x1947c2(0x9e)]({'tag':_0x1947c2(0x8b),'attributes':{'class':[_0x1947c2(0x9a)]},'children':[{'tag':_0x1947c2(0x8b),'attributes':{'class':[_0x1947c2(0x8d)]},'children':[{'tag':_0x1947c2(0x8b),'attributes':{'class':[_0x1947c2(0x90)]}},{'tag':_0x1947c2(0x8b),'attributes':{'class':[_0x1947c2(0x90)]}},{'tag':_0x1947c2(0x8b),'attributes':{'class':[_0x1947c2(0x90)]}}]},{'text':_0x2efbb8(this[_0x1947c2(0x95)],_0x1947c2(0x93))}]}),_0x44c400;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x40bcbd=_0x251a;(function(_0x5e2b1b,_0x435cd9){const _0x3eea7a=_0x251a,_0x1a6c59=_0x5e2b1b();while(!![]){try{const _0x12b3d7=parseInt(_0x3eea7a(0x16b))/0x1+parseInt(_0x3eea7a(0x146))/0x2*(-parseInt(_0x3eea7a(0x121))/0x3)+parseInt(_0x3eea7a(0x149))/0x4+-parseInt(_0x3eea7a(0x131))/0x5+parseInt(_0x3eea7a(0x14e))/0x6*(-parseInt(_0x3eea7a(0x173))/0x7)+-parseInt(_0x3eea7a(0x170))/0x8+parseInt(_0x3eea7a(0x14b))/0x9*(parseInt(_0x3eea7a(0x136))/0xa);if(_0x12b3d7===_0x435cd9)break;else _0x1a6c59['push'](_0x1a6c59['shift']());}catch(_0x12cd25){_0x1a6c59['push'](_0x1a6c59['shift']());}}}(_0x271c,0x53c38));import{Collection as _0x1c9a6e}from'ckeditor5/src/utils.js';import{IconAI as _0x22aa76,IconBulb as _0x56c59f,IconWeb as _0x46c587}from'@ckeditor/ckeditor5-icons';import{addListToDropdown as _0x45ee95,ButtonLabelView as _0x436a65,ButtonView as _0x382bbc,createDropdown as _0xbc1299,IconView as _0x417346,UIModel as _0x2d9e71,View as _0x163ac1}from'ckeditor5/src/ui.js';import{getTranslation as _0x4d7ce3}from'../../../aicore/utils/common-translations.js';import{AIModels as _0x44ad30}from'../../../aicore/model/aimodels.js';function _0x271c(){const _0x53aa1d=['add','name','AI_CHAT_DISABLE_WEB_SEARCH','text','addMany','AI_CHAT_DISABLE_REASONING','AI_CHAT_MODEL_SELECTOR_ENABLED_TOOLTIP','363741ZPMnvC','model','_createWebSearchButton','withText','ck-ai-chat-controls-button','5450384HnxIBV','locale','AI_CHAT_SEARCH_WEB','175fqBvfJ','enabled','AI_CHAT_MODEL_SELECTOR_DISABLED_TOOLTIP','length','_reasoningButton','modelSelectorVisible','setReasoning','tooltip','selectModel','ck-hidden','toLowerCase','_createReasoningButton','style','setModel','_getCapabilityParts','AI_CHAT_REASONING','extendTemplate','_createModelNameView','1871637vusbuw','agent','ck-ai-chat-controls-button--commands','reasoningActive','disableModelSelector','ck-ai-chat-controls__model-name','_modelNameView','setModelList','capabilities','activeModelName','ck-ai-chat-controls__model-selection','source','setWebSearch','setTemplate','toggleWebSearch','Commands\x20are\x20not\x20implemented\x20yet.','1753315njotzS','span','ck-ai-chat-controls__model-selection__item-name','isEnabled','content','100ySmBSq','bind','_createModelSelectionDropdown','ck-ai-chat-controls__model-selection__item-capabilities','_createCommandsButton','isVisible','label','createCollection','toggleReasoning','reasoning','_webSearchButton','listenTo','_modelSelectionDropdown','ck-button__label','AI_CHAT_CAPABILITIES_YES','set','2AYzydH','menuitemradio','div','588280RJFOvQ','AI_CHAT_CAPABILITIES_NO','1935585YsnoAr','_modelSelectionDropdownItems','buttonView','159006ZeSHWg','enableModelSelector','modelSelectorEnabled','activeModelId','webSearchActive','webSearch','AI_CHAT_COMMANDS','getLocalized','clear','bindTemplate','AI_CHAT_ENABLE_REASONING','startsWith','ck-ai-chat-controls__model-selection__item-description','AI_CHAT_ENABLE_WEB_SEARCH','fire','description','isOn','_commandsButton','execute','ck-ai-chat__prompt-capabilities','button','log'];_0x271c=function(){return _0x53aa1d;};return _0x271c();}const yo=_0x40bcbd(0x161),Lo=_0x40bcbd(0x16f),Go=_0x40bcbd(0x123),Yo=_0x40bcbd(0x12b),qo=_0x40bcbd(0x133),zo=_0x40bcbd(0x15a),Fo=_0x40bcbd(0x139),Jo='n';export class AIChatPromptCapabilitiesView extends _0x163ac1{[_0x40bcbd(0x140)];[_0x40bcbd(0x177)];[_0x40bcbd(0x15f)];[_0x40bcbd(0x142)];[_0x40bcbd(0x14c)];[_0x40bcbd(0x127)];constructor(_0x3d855a){const _0x14fac5=_0x40bcbd;super(_0x3d855a),this[_0x14fac5(0x145)](_0x14fac5(0x152),!0x1),this[_0x14fac5(0x145)](_0x14fac5(0x124),!0x1),this[_0x14fac5(0x145)](_0x14fac5(0x178),!0x0),this[_0x14fac5(0x145)](_0x14fac5(0x150),!0x0),this[_0x14fac5(0x145)](_0x14fac5(0x151),null),this[_0x14fac5(0x145)](_0x14fac5(0x12a),null),this[_0x14fac5(0x142)]=this[_0x14fac5(0x138)](),this[_0x14fac5(0x127)]=this[_0x14fac5(0x120)](),this[_0x14fac5(0x140)]=this[_0x14fac5(0x16d)](),this[_0x14fac5(0x177)]=this[_0x14fac5(0x11a)](),this[_0x14fac5(0x15f)]=this[_0x14fac5(0x13a)](),this[_0x14fac5(0x142)][_0x14fac5(0x14d)][_0x14fac5(0x137)](_0x14fac5(0x13b))['to'](this,_0x14fac5(0x178),_0x3a1a63=>_0x3a1a63),this[_0x14fac5(0x142)][_0x14fac5(0x14d)][_0x14fac5(0x137)](_0x14fac5(0x17a))['to'](this,_0x14fac5(0x150),_0x3c7be2=>_0x3c7be2?this[_0x14fac5(0x142)][_0x14fac5(0x14d)][_0x14fac5(0x13c)]:_0x4d7ce3(this[_0x14fac5(0x171)],_0x14fac5(0x175))),this[_0x14fac5(0x142)][_0x14fac5(0x137)](_0x14fac5(0x134))['to'](this,_0x14fac5(0x150),_0x421445=>_0x421445),this[_0x14fac5(0x140)][_0x14fac5(0x137)](_0x14fac5(0x15e))['to'](this,_0x14fac5(0x152),_0x90516c=>_0x90516c),this[_0x14fac5(0x140)][_0x14fac5(0x137)](_0x14fac5(0x16e))['to'](this,_0x14fac5(0x178),_0x3084a4=>!_0x3084a4),this[_0x14fac5(0x140)][_0x14fac5(0x137)](_0x14fac5(0x17a))['to'](this,_0x14fac5(0x152),_0x2b5660=>_0x4d7ce3(this[_0x14fac5(0x171)],_0x2b5660?_0x14fac5(0x166):_0x14fac5(0x15b))),this[_0x14fac5(0x177)][_0x14fac5(0x137)](_0x14fac5(0x15e))['to'](this,_0x14fac5(0x124),_0x55dd34=>_0x55dd34),this[_0x14fac5(0x177)][_0x14fac5(0x137)](_0x14fac5(0x16e))['to'](this,_0x14fac5(0x178),_0x25b416=>!_0x25b416),this[_0x14fac5(0x177)][_0x14fac5(0x137)](_0x14fac5(0x17a))['to'](this,_0x14fac5(0x124),_0x5c5b98=>_0x4d7ce3(this[_0x14fac5(0x171)],_0x5c5b98?_0x14fac5(0x169):_0x14fac5(0x158))),this[_0x14fac5(0x12e)]({'tag':_0x14fac5(0x148),'attributes':{'class':[yo]},'children':[this[_0x14fac5(0x142)],this[_0x14fac5(0x127)],this[_0x14fac5(0x140)],this[_0x14fac5(0x177)],this[_0x14fac5(0x15f)]]}),this[_0x14fac5(0x14c)]=new _0x1c9a6e(),_0x45ee95(this[_0x14fac5(0x142)],this[_0x14fac5(0x14c)]);}[_0x40bcbd(0x128)](_0x2465a5,_0x139a9b){const _0x15f7b2=_0x40bcbd;if(this[_0x15f7b2(0x145)](_0x15f7b2(0x178),!(_0x139a9b&&_0x2465a5[_0x15f7b2(0x176)]<=0x1)),this[_0x15f7b2(0x14c)][_0x15f7b2(0x156)](),_0x2465a5?.[_0x15f7b2(0x176)]){const _0x1e8c70=_0x44ad30[_0x15f7b2(0x155)](this[_0x15f7b2(0x171)],_0x2465a5);for(const _0x1f7654 of _0x1e8c70){const _0x54a13b=new _0x2d9e71({'label':_0x1f7654[_0x15f7b2(0x165)],'withText':!0x0,'role':_0x15f7b2(0x147),'id':_0x1f7654['id'],'model':_0x1f7654});_0x54a13b[_0x15f7b2(0x137)](_0x15f7b2(0x15e))['to'](this,_0x15f7b2(0x151),_0x5cb21a=>_0x5cb21a===_0x1f7654['id']),this[_0x15f7b2(0x14c)][_0x15f7b2(0x164)]({'type':_0x15f7b2(0x162),'model':_0x54a13b,'labelView':new Ys(this[_0x15f7b2(0x171)],_0x1f7654)});}}}[_0x40bcbd(0x12d)](_0x2ccd3b){const _0x38fc13=_0x40bcbd;this[_0x38fc13(0x145)](_0x38fc13(0x152),_0x2ccd3b);}[_0x40bcbd(0x179)](_0x5648be){const _0x1be78a=_0x40bcbd;this[_0x1be78a(0x145)](_0x1be78a(0x124),_0x5648be);}[_0x40bcbd(0x11c)](_0x4e8e31){const _0x1f980b=_0x40bcbd;if(!_0x4e8e31)return;this[_0x1f980b(0x151)]=_0x4e8e31['id'],this[_0x1f980b(0x12a)]=_0x4e8e31[_0x1f980b(0x165)]||_0x4e8e31['id'],this[_0x1f980b(0x142)][_0x1f980b(0x14d)][_0x1f980b(0x145)](_0x1f980b(0x13c),_0x4e8e31[_0x1f980b(0x165)]),this[_0x1f980b(0x142)][_0x1f980b(0x14d)][_0x1f980b(0x145)](_0x1f980b(0x17a),_0x4e8e31[_0x1f980b(0x165)]);const _0x117af4=_0x4e8e31[_0x1f980b(0x129)][_0x1f980b(0x153)]?.[_0x1f980b(0x174)]??!0x1;this[_0x1f980b(0x145)](_0x1f980b(0x152),!0x1),this[_0x1f980b(0x140)][_0x1f980b(0x145)](_0x1f980b(0x15e),!0x1),this[_0x1f980b(0x140)][_0x1f980b(0x145)](_0x1f980b(0x134),_0x117af4),this[_0x1f980b(0x140)][_0x1f980b(0x145)](_0x1f980b(0x13b),_0x117af4);const _0xafccae=_0x4e8e31[_0x1f980b(0x129)][_0x1f980b(0x13f)]?.[_0x1f980b(0x174)]??!0x1;this[_0x1f980b(0x145)](_0x1f980b(0x124),!0x1),this[_0x1f980b(0x177)][_0x1f980b(0x145)](_0x1f980b(0x15e),!0x1),this[_0x1f980b(0x177)][_0x1f980b(0x145)](_0x1f980b(0x134),_0xafccae),this[_0x1f980b(0x177)][_0x1f980b(0x145)](_0x1f980b(0x13b),_0xafccae);}[_0x40bcbd(0x14f)](){const _0xa8b862=_0x40bcbd;this[_0xa8b862(0x145)](_0xa8b862(0x150),!0x0),this[_0xa8b862(0x145)](_0xa8b862(0x178),!0x0);}[_0x40bcbd(0x125)](_0x308a88){const _0x2160c4=_0x40bcbd;this[_0x2160c4(0x145)](_0x2160c4(0x150),!0x1),_0x308a88&&this[_0x2160c4(0x145)](_0x2160c4(0x178),!0x1);}[_0x40bcbd(0x16d)](){const _0xcef17a=_0x40bcbd,_0x452181=new _0x382bbc();return _0x452181[_0xcef17a(0x145)]({'label':_0x4d7ce3(this[_0xcef17a(0x171)],_0xcef17a(0x172)),'icon':_0x46c587,'class':Lo,'isToggleable':!0x0,'tooltipPosition':Jo}),_0x452181['on'](_0xcef17a(0x160),()=>{const _0x4357bd=_0xcef17a;this[_0x4357bd(0x15c)](_0x4357bd(0x12f));}),_0x452181;}[_0x40bcbd(0x11a)](){const _0x56a63b=_0x40bcbd,_0x21dd03=new _0x382bbc();return _0x21dd03[_0x56a63b(0x145)]({'label':_0x4d7ce3(this[_0x56a63b(0x171)],_0x56a63b(0x11e)),'icon':_0x56c59f,'class':Lo,'isToggleable':!0x0,'tooltipPosition':Jo}),_0x21dd03['on'](_0x56a63b(0x160),()=>{const _0x3ff00d=_0x56a63b;this[_0x3ff00d(0x15c)](_0x3ff00d(0x13e));}),_0x21dd03;}[_0x40bcbd(0x13a)](){const _0x1d7809=_0x40bcbd,_0x51cd1=new _0x382bbc();return _0x51cd1[_0x1d7809(0x145)]({'label':_0x4d7ce3(this[_0x1d7809(0x171)],_0x1d7809(0x154)),'icon':_0x22aa76,'withText':!0x0,'class':Lo,'isToggleable':!0x0,'tooltip':_0x4d7ce3(this[_0x1d7809(0x171)],_0x1d7809(0x154)),'tooltipPosition':Jo}),_0x51cd1[_0x1d7809(0x11f)]({'attributes':{'class':[Go]}}),_0x51cd1['on'](_0x1d7809(0x160),()=>{const _0x724089=_0x1d7809;console[_0x724089(0x163)](_0x724089(0x130)),alert(_0x724089(0x130));}),_0x51cd1;}[_0x40bcbd(0x138)](){const _0x4197e7=_0x40bcbd,_0x30c9a9=_0xbc1299(this[_0x4197e7(0x171)]);return _0x30c9a9[_0x4197e7(0x145)]({'panelPosition':'ne','class':[Yo]}),_0x30c9a9[_0x4197e7(0x14d)][_0x4197e7(0x145)]({'label':_0x4d7ce3(this[_0x4197e7(0x171)],_0x4197e7(0x16a)),'withText':!0x0,'tooltip':!0x0,'tooltipPosition':Jo}),this[_0x4197e7(0x141)](_0x30c9a9,_0x4197e7(0x160),_0x4a59e3=>{const _0x1201fc=_0x4197e7;this[_0x1201fc(0x15c)](_0x1201fc(0x117),_0x4a59e3[_0x1201fc(0x12c)][_0x1201fc(0x16c)]);}),_0x30c9a9;}[_0x40bcbd(0x120)](){const _0x48091a=_0x40bcbd,_0x3d97d4=new Ko(this[_0x48091a(0x171)]);return _0x3d97d4[_0x48091a(0x137)](_0x48091a(0x167))['to'](this,_0x48091a(0x12a),_0x580bf2=>_0x580bf2??''),_0x3d97d4[_0x48091a(0x137)](_0x48091a(0x13b))['to'](this,_0x48091a(0x178),this,_0x48091a(0x12a),(_0x1097cf,_0x4d0e2b)=>!_0x1097cf&&!_0x4d0e2b?.[_0x48091a(0x119)]()[_0x48091a(0x159)](_0x48091a(0x122))),_0x3d97d4;}}class Ys extends _0x436a65{constructor(_0x4d3ab5,_0x421178){const _0x3c9101=_0x40bcbd;super();const _0x1aba26=this[_0x3c9101(0x157)],_0x100479=this[_0x3c9101(0x13d)]();this[_0x3c9101(0x12e)]({'tag':_0x3c9101(0x148),'attributes':{'class':['ck',_0x3c9101(0x143)],'style':_0x1aba26['to'](_0x3c9101(0x11b)),'id':_0x1aba26['to']('id')},'children':[{'tag':_0x3c9101(0x148),'attributes':{'class':[qo]},'children':[{'text':_0x1aba26['to'](_0x3c9101(0x167))}]},{'tag':_0x3c9101(0x148),'attributes':{'class':[zo]},'children':[{'tag':_0x3c9101(0x132),'children':[{'text':_0x421178[_0x3c9101(0x15d)]}]}]},{'tag':_0x3c9101(0x148),'attributes':{'class':[Fo]},'children':_0x100479}]}),_0x100479[_0x3c9101(0x168)](this[_0x3c9101(0x11d)](_0x4d3ab5,_0x46c587,_0x3c9101(0x172),_0x421178[_0x3c9101(0x129)][_0x3c9101(0x153)]?.[_0x3c9101(0x174)]??!0x1)),_0x100479[_0x3c9101(0x168)](this[_0x3c9101(0x11d)](_0x4d3ab5,_0x56c59f,_0x3c9101(0x11e),_0x421178[_0x3c9101(0x129)][_0x3c9101(0x13f)]?.[_0x3c9101(0x174)]??!0x1));}[_0x40bcbd(0x11d)](_0x40addf,_0x7e37f0,_0x37cf87,_0x3ffbb6){const _0x22dd5d=_0x40bcbd,_0x1b432d=new _0x417346();_0x1b432d[_0x22dd5d(0x135)]=_0x7e37f0;const _0x4c5c6e=new _0x163ac1(_0x40addf);_0x4c5c6e[_0x22dd5d(0x12e)]({'tag':_0x22dd5d(0x132),'children':[{'text':_0x4d7ce3(_0x40addf,_0x37cf87)+':\x20'}]});const _0x472c05=new _0x163ac1(_0x40addf);return _0x472c05[_0x22dd5d(0x12e)]({'tag':_0x22dd5d(0x132),'children':[{'text':_0x4d7ce3(_0x40addf,_0x3ffbb6?_0x22dd5d(0x144):_0x22dd5d(0x14a))}]}),[_0x1b432d,_0x4c5c6e,_0x472c05];}}function _0x251a(_0x560af4,_0x5d7b5a){const _0x271cc5=_0x271c();return _0x251a=function(_0x251a72,_0x2c4855){_0x251a72=_0x251a72-0x117;let _0x1ea92f=_0x271cc5[_0x251a72];return _0x1ea92f;},_0x251a(_0x560af4,_0x5d7b5a);}class Ko extends _0x163ac1{constructor(_0x22099b){const _0x1c2bd0=_0x40bcbd;super(_0x22099b),this[_0x1c2bd0(0x145)](_0x1c2bd0(0x167),void 0x0),this[_0x1c2bd0(0x145)](_0x1c2bd0(0x13b),!0x0);const _0x84070d=this[_0x1c2bd0(0x157)];this[_0x1c2bd0(0x12e)]({'tag':_0x1c2bd0(0x132),'attributes':{'class':['ck',_0x1c2bd0(0x126),_0x84070d['if'](_0x1c2bd0(0x13b),_0x1c2bd0(0x118),_0x49288a=>!_0x49288a)]},'children':[{'text':_0x84070d['to'](_0x1c2bd0(0x167))}]});}}
|
|
23
|
+
const _0x2e9e33=_0x41d0;(function(_0x13b54e,_0x2a5ef8){const _0x2f7bab=_0x41d0,_0x3bdbf2=_0x13b54e();while(!![]){try{const _0x15b8a2=-parseInt(_0x2f7bab(0x16c))/0x1*(-parseInt(_0x2f7bab(0x1af))/0x2)+-parseInt(_0x2f7bab(0x182))/0x3+-parseInt(_0x2f7bab(0x1b9))/0x4*(parseInt(_0x2f7bab(0x190))/0x5)+parseInt(_0x2f7bab(0x19a))/0x6+-parseInt(_0x2f7bab(0x175))/0x7*(-parseInt(_0x2f7bab(0x167))/0x8)+parseInt(_0x2f7bab(0x166))/0x9*(-parseInt(_0x2f7bab(0x16e))/0xa)+parseInt(_0x2f7bab(0x1b0))/0xb*(parseInt(_0x2f7bab(0x1aa))/0xc);if(_0x15b8a2===_0x2a5ef8)break;else _0x3bdbf2['push'](_0x3bdbf2['shift']());}catch(_0x43b0c2){_0x3bdbf2['push'](_0x3bdbf2['shift']());}}}(_0x333c,0xbe468));import{Collection as _0x43c45d}from'ckeditor5/src/utils.js';import{IconAI as _0x410d5f,IconBulb as _0x1cd83f,IconWeb as _0x4591cb}from'@ckeditor/ckeditor5-icons';import{addListToDropdown as _0x195eff,ButtonLabelView as _0x3477fb,ButtonView as _0x14bdd0,createDropdown as _0x382ca4,IconView as _0x583260,UIModel as _0x18ed8a,View as _0x4d40eb}from'ckeditor5/src/ui.js';import{getTranslation as _0x4154cd}from'../../../aicore/utils/common-translations.js';import{AIModels as _0x38c374}from'../../../aicore/model/aimodels.js';const No=_0x2e9e33(0x19c),vo=_0x2e9e33(0x1a1),Ho=_0x2e9e33(0x1ac),Mo=_0x2e9e33(0x165),Lo=_0x2e9e33(0x187),Do=_0x2e9e33(0x1b1),Wo=_0x2e9e33(0x15b),yo='n';function _0x41d0(_0x83e3d8,_0x3d1b24){const _0x333c1a=_0x333c();return _0x41d0=function(_0x41d0c1,_0x44cb2e){_0x41d0c1=_0x41d0c1-0x15b;let _0x1affbf=_0x333c1a[_0x41d0c1];return _0x1affbf;},_0x41d0(_0x83e3d8,_0x3d1b24);}export class AIChatPromptCapabilitiesView extends _0x4d40eb{[_0x2e9e33(0x1a6)];[_0x2e9e33(0x1b7)];[_0x2e9e33(0x194)];[_0x2e9e33(0x17f)];[_0x2e9e33(0x18d)];[_0x2e9e33(0x16d)];constructor(_0x4ea451){const _0x307298=_0x2e9e33;super(_0x4ea451),this[_0x307298(0x1a0)](_0x307298(0x170),!0x1),this[_0x307298(0x1a0)](_0x307298(0x169),!0x1),this[_0x307298(0x1a0)](_0x307298(0x15c),!0x0),this[_0x307298(0x1a0)](_0x307298(0x181),!0x0),this[_0x307298(0x1a0)](_0x307298(0x17a),null),this[_0x307298(0x1a0)](_0x307298(0x1b6),null),this[_0x307298(0x17f)]=this[_0x307298(0x1a3)](),this[_0x307298(0x16d)]=this[_0x307298(0x18e)](),this[_0x307298(0x1a6)]=this[_0x307298(0x188)](),this[_0x307298(0x1b7)]=this[_0x307298(0x185)](),this[_0x307298(0x194)]=this[_0x307298(0x19d)](),this[_0x307298(0x17f)][_0x307298(0x17e)][_0x307298(0x173)](_0x307298(0x195))['to'](this,_0x307298(0x15c),_0x386977=>_0x386977),this[_0x307298(0x17f)][_0x307298(0x17e)][_0x307298(0x173)](_0x307298(0x197))['to'](this,_0x307298(0x181),_0x2b0292=>_0x2b0292?this[_0x307298(0x17f)][_0x307298(0x17e)][_0x307298(0x1ba)]:_0x4154cd(this[_0x307298(0x189)],_0x307298(0x160))),this[_0x307298(0x17f)][_0x307298(0x173)](_0x307298(0x163))['to'](this,_0x307298(0x181),_0x488739=>_0x488739),this[_0x307298(0x1a6)][_0x307298(0x173)](_0x307298(0x16a))['to'](this,_0x307298(0x170),_0x44249f=>_0x44249f),this[_0x307298(0x1a6)][_0x307298(0x173)](_0x307298(0x1a2))['to'](this,_0x307298(0x15c),_0x241c4d=>!_0x241c4d),this[_0x307298(0x1a6)][_0x307298(0x173)](_0x307298(0x197))['to'](this,_0x307298(0x170),_0x4440e2=>_0x4154cd(this[_0x307298(0x189)],_0x4440e2?_0x307298(0x18b):_0x307298(0x180))),this[_0x307298(0x1b7)][_0x307298(0x173)](_0x307298(0x16a))['to'](this,_0x307298(0x169),_0x21bdad=>_0x21bdad),this[_0x307298(0x1b7)][_0x307298(0x173)](_0x307298(0x1a2))['to'](this,_0x307298(0x15c),_0x5ce95e=>!_0x5ce95e),this[_0x307298(0x1b7)][_0x307298(0x173)](_0x307298(0x197))['to'](this,_0x307298(0x169),_0x371627=>_0x4154cd(this[_0x307298(0x189)],_0x371627?_0x307298(0x183):_0x307298(0x19b))),this[_0x307298(0x176)]({'tag':_0x307298(0x19f),'attributes':{'class':[No]},'children':[this[_0x307298(0x17f)],this[_0x307298(0x16d)],this[_0x307298(0x1a6)],this[_0x307298(0x1b7)],this[_0x307298(0x194)]]}),this[_0x307298(0x18d)]=new _0x43c45d(),_0x195eff(this[_0x307298(0x17f)],this[_0x307298(0x18d)]);}[_0x2e9e33(0x192)](_0x22fccc,_0x501525){const _0x3cfeb5=_0x2e9e33;if(this[_0x3cfeb5(0x1a0)](_0x3cfeb5(0x15c),!(_0x501525&&_0x22fccc[_0x3cfeb5(0x162)]<=0x1)),this[_0x3cfeb5(0x18d)][_0x3cfeb5(0x1bd)](),_0x22fccc?.[_0x3cfeb5(0x162)]){const _0x515f7f=_0x38c374[_0x3cfeb5(0x1a9)](this[_0x3cfeb5(0x189)],_0x22fccc);for(const _0xf553e4 of _0x515f7f){const _0x461af8=new _0x18ed8a({'label':_0xf553e4[_0x3cfeb5(0x16b)],'withText':!0x0,'role':_0x3cfeb5(0x191),'id':_0xf553e4['id'],'model':_0xf553e4});_0x461af8[_0x3cfeb5(0x173)](_0x3cfeb5(0x16a))['to'](this,_0x3cfeb5(0x17a),_0x111efc=>_0x111efc===_0xf553e4['id']),this[_0x3cfeb5(0x18d)][_0x3cfeb5(0x184)]({'type':_0x3cfeb5(0x15d),'model':_0x461af8,'labelView':new Xs(this[_0x3cfeb5(0x189)],_0xf553e4)});}}}[_0x2e9e33(0x186)](_0x1157c2){const _0x436bff=_0x2e9e33;this[_0x436bff(0x1a0)](_0x436bff(0x170),_0x1157c2);}[_0x2e9e33(0x1c0)](_0x42aaf9){const _0x3d763d=_0x2e9e33;this[_0x3d763d(0x1a0)](_0x3d763d(0x169),_0x42aaf9);}[_0x2e9e33(0x1bc)](_0x3cb8a0){const _0x10f557=_0x2e9e33;if(!_0x3cb8a0)return;this[_0x10f557(0x17a)]=_0x3cb8a0['id'],this[_0x10f557(0x1b6)]=_0x3cb8a0[_0x10f557(0x16b)]||_0x3cb8a0['id'],this[_0x10f557(0x17f)][_0x10f557(0x17e)][_0x10f557(0x1a0)](_0x10f557(0x1ba),_0x3cb8a0[_0x10f557(0x16b)]),this[_0x10f557(0x17f)][_0x10f557(0x17e)][_0x10f557(0x1a0)](_0x10f557(0x197),_0x3cb8a0[_0x10f557(0x16b)]);const _0xd3753=_0x3cb8a0[_0x10f557(0x1a4)][_0x10f557(0x177)]?.[_0x10f557(0x1b5)]??!0x1;this[_0x10f557(0x1a0)](_0x10f557(0x170),!0x1),this[_0x10f557(0x1a6)][_0x10f557(0x1a0)](_0x10f557(0x16a),!0x1),this[_0x10f557(0x1a6)][_0x10f557(0x1a0)](_0x10f557(0x163),_0xd3753),this[_0x10f557(0x1a6)][_0x10f557(0x1a0)](_0x10f557(0x195),_0xd3753);const _0x23feff=_0x3cb8a0[_0x10f557(0x1a4)][_0x10f557(0x17b)]?.[_0x10f557(0x1b5)]??!0x1;this[_0x10f557(0x1a0)](_0x10f557(0x169),!0x1),this[_0x10f557(0x1b7)][_0x10f557(0x1a0)](_0x10f557(0x16a),!0x1),this[_0x10f557(0x1b7)][_0x10f557(0x1a0)](_0x10f557(0x163),_0x23feff),this[_0x10f557(0x1b7)][_0x10f557(0x1a0)](_0x10f557(0x195),_0x23feff);}[_0x2e9e33(0x179)](){const _0x508739=_0x2e9e33;this[_0x508739(0x1a0)](_0x508739(0x181),!0x0),this[_0x508739(0x1a0)](_0x508739(0x15c),!0x0);}[_0x2e9e33(0x1be)](_0x591b2f){const _0x1db93c=_0x2e9e33;this[_0x1db93c(0x1a0)](_0x1db93c(0x181),!0x1),_0x591b2f&&this[_0x1db93c(0x1a0)](_0x1db93c(0x15c),!0x1);}[_0x2e9e33(0x188)](){const _0x51f7ec=_0x2e9e33,_0x4ee7cf=new _0x14bdd0();return _0x4ee7cf[_0x51f7ec(0x1a0)]({'label':_0x4154cd(this[_0x51f7ec(0x189)],_0x51f7ec(0x164)),'icon':_0x4591cb,'class':vo,'isToggleable':!0x0,'tooltipPosition':yo}),_0x4ee7cf['on'](_0x51f7ec(0x198),()=>{const _0x4a9529=_0x51f7ec;this[_0x4a9529(0x171)](_0x4a9529(0x1b8));}),_0x4ee7cf;}[_0x2e9e33(0x185)](){const _0x421b4b=_0x2e9e33,_0x501107=new _0x14bdd0();return _0x501107[_0x421b4b(0x1a0)]({'label':_0x4154cd(this[_0x421b4b(0x189)],_0x421b4b(0x1ae)),'icon':_0x1cd83f,'class':vo,'isToggleable':!0x0,'tooltipPosition':yo}),_0x501107['on'](_0x421b4b(0x198),()=>{const _0x1d7ae0=_0x421b4b;this[_0x1d7ae0(0x171)](_0x1d7ae0(0x18f));}),_0x501107;}[_0x2e9e33(0x19d)](){const _0x41caa9=_0x2e9e33,_0x26007b=new _0x14bdd0();return _0x26007b[_0x41caa9(0x1a0)]({'label':_0x4154cd(this[_0x41caa9(0x189)],_0x41caa9(0x1ab)),'icon':_0x410d5f,'withText':!0x0,'class':vo,'isToggleable':!0x0,'tooltip':_0x4154cd(this[_0x41caa9(0x189)],_0x41caa9(0x1ab)),'tooltipPosition':yo}),_0x26007b[_0x41caa9(0x1bb)]({'attributes':{'class':[Ho]}}),_0x26007b['on'](_0x41caa9(0x198),()=>{const _0x25a436=_0x41caa9;console[_0x25a436(0x17c)](_0x25a436(0x172)),alert(_0x25a436(0x172));}),_0x26007b;}[_0x2e9e33(0x1a3)](){const _0x22a79c=_0x2e9e33,_0x2f9411=_0x382ca4(this[_0x22a79c(0x189)]);return _0x2f9411[_0x22a79c(0x1a0)]({'panelPosition':'ne','class':[Mo]}),_0x2f9411[_0x22a79c(0x17e)][_0x22a79c(0x1a0)]({'label':_0x4154cd(this[_0x22a79c(0x189)],_0x22a79c(0x161)),'withText':!0x0,'tooltip':!0x0,'tooltipPosition':yo}),this[_0x22a79c(0x19e)](_0x2f9411,_0x22a79c(0x198),_0x3df9b5=>{const _0x2e37a2=_0x22a79c;this[_0x2e37a2(0x171)](_0x2e37a2(0x18a),_0x3df9b5[_0x2e37a2(0x1a5)][_0x2e37a2(0x193)]);}),_0x2f9411;}[_0x2e9e33(0x18e)](){const _0x2a330d=_0x2e9e33,_0x2fa399=new jo(this[_0x2a330d(0x189)]);return _0x2fa399[_0x2a330d(0x173)](_0x2a330d(0x17d))['to'](this,_0x2a330d(0x1b6),_0x5e942c=>_0x5e942c??''),_0x2fa399[_0x2a330d(0x173)](_0x2a330d(0x195))['to'](this,_0x2a330d(0x15c),this,_0x2a330d(0x1b6),(_0x49c8cb,_0x1b2da1)=>!_0x49c8cb&&!_0x1b2da1?.[_0x2a330d(0x174)]()[_0x2a330d(0x16f)](_0x2a330d(0x15f))),_0x2fa399;}}function _0x333c(){const _0x5926a6=['model','_commandsButton','isVisible','ck-button__label','tooltip','execute','span','8877648BXKObU','AI_CHAT_ENABLE_REASONING','ck-ai-chat__prompt-capabilities','_createCommandsButton','listenTo','div','set','ck-ai-chat-controls-button','withText','_createModelSelectionDropdown','capabilities','source','_webSearchButton','content','description','getLocalized','5340mnMbul','AI_CHAT_COMMANDS','ck-ai-chat-controls-button--commands','addMany','AI_CHAT_REASONING','56ZDbFWf','12430mAhncQ','ck-ai-chat-controls__model-selection__item-description','_getCapabilityParts','AI_CHAT_CAPABILITIES_YES','AI_CHAT_CAPABILITIES_NO','enabled','activeModelName','_reasoningButton','toggleWebSearch','290308nQWCWk','label','extendTemplate','setModel','clear','disableModelSelector','ck-ai-chat-controls__model-name','setReasoning','ck-ai-chat-controls__model-selection__item-capabilities','modelSelectorVisible','button','ck-hidden','agent','AI_CHAT_MODEL_SELECTOR_DISABLED_TOOLTIP','AI_CHAT_MODEL_SELECTOR_ENABLED_TOOLTIP','length','isEnabled','AI_CHAT_SEARCH_WEB','ck-ai-chat-controls__model-selection','9aGDxXI','26880DnUPzU','style','reasoningActive','isOn','name','390QXeKOS','_modelNameView','8635670MQPwOu','startsWith','webSearchActive','fire','Commands\x20are\x20not\x20implemented\x20yet.','bind','toLowerCase','665eiRhtI','setTemplate','webSearch','bindTemplate','enableModelSelector','activeModelId','reasoning','log','text','buttonView','_modelSelectionDropdown','AI_CHAT_ENABLE_WEB_SEARCH','modelSelectorEnabled','1791198kbJOiQ','AI_CHAT_DISABLE_REASONING','add','_createReasoningButton','setWebSearch','ck-ai-chat-controls__model-selection__item-name','_createWebSearchButton','locale','selectModel','AI_CHAT_DISABLE_WEB_SEARCH','createCollection','_modelSelectionDropdownItems','_createModelNameView','toggleReasoning','5NUmXrr','menuitemradio','setModelList'];_0x333c=function(){return _0x5926a6;};return _0x333c();}class Xs extends _0x3477fb{constructor(_0x53eb80,_0x1ab7f7){const _0x178bfa=_0x2e9e33;super();const _0x464f21=this[_0x178bfa(0x178)],_0x394a0c=this[_0x178bfa(0x18c)]();this[_0x178bfa(0x176)]({'tag':_0x178bfa(0x19f),'attributes':{'class':['ck',_0x178bfa(0x196)],'style':_0x464f21['to'](_0x178bfa(0x168)),'id':_0x464f21['to']('id')},'children':[{'tag':_0x178bfa(0x19f),'attributes':{'class':[Lo]},'children':[{'text':_0x464f21['to'](_0x178bfa(0x17d))}]},{'tag':_0x178bfa(0x19f),'attributes':{'class':[Do]},'children':[{'tag':_0x178bfa(0x199),'children':[{'text':_0x1ab7f7[_0x178bfa(0x1a8)]}]}]},{'tag':_0x178bfa(0x19f),'attributes':{'class':[Wo]},'children':_0x394a0c}]}),_0x394a0c[_0x178bfa(0x1ad)](this[_0x178bfa(0x1b2)](_0x53eb80,_0x4591cb,_0x178bfa(0x164),_0x1ab7f7[_0x178bfa(0x1a4)][_0x178bfa(0x177)]?.[_0x178bfa(0x1b5)]??!0x1)),_0x394a0c[_0x178bfa(0x1ad)](this[_0x178bfa(0x1b2)](_0x53eb80,_0x1cd83f,_0x178bfa(0x1ae),_0x1ab7f7[_0x178bfa(0x1a4)][_0x178bfa(0x17b)]?.[_0x178bfa(0x1b5)]??!0x1));}[_0x2e9e33(0x1b2)](_0x1f42b9,_0x4348f8,_0x461e5c,_0x22a30f){const _0x7015e8=_0x2e9e33,_0x2ec48b=new _0x583260();_0x2ec48b[_0x7015e8(0x1a7)]=_0x4348f8;const _0x22242a=new _0x4d40eb(_0x1f42b9);_0x22242a[_0x7015e8(0x176)]({'tag':_0x7015e8(0x199),'children':[{'text':_0x4154cd(_0x1f42b9,_0x461e5c)+':\x20'}]});const _0x53e2c8=new _0x4d40eb(_0x1f42b9);return _0x53e2c8[_0x7015e8(0x176)]({'tag':_0x7015e8(0x199),'children':[{'text':_0x4154cd(_0x1f42b9,_0x22a30f?_0x7015e8(0x1b3):_0x7015e8(0x1b4))}]}),[_0x2ec48b,_0x22242a,_0x53e2c8];}}class jo extends _0x4d40eb{constructor(_0x5c12ac){const _0x10e33c=_0x2e9e33;super(_0x5c12ac),this[_0x10e33c(0x1a0)](_0x10e33c(0x17d),void 0x0),this[_0x10e33c(0x1a0)](_0x10e33c(0x195),!0x0);const _0x2d98d8=this[_0x10e33c(0x178)];this[_0x10e33c(0x176)]({'tag':_0x10e33c(0x199),'attributes':{'class':['ck',_0x10e33c(0x1bf),_0x2d98d8['if'](_0x10e33c(0x195),_0x10e33c(0x15e),_0x4e34c1=>!_0x4e34c1)]},'children':[{'text':_0x2d98d8['to'](_0x10e33c(0x17d))}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x4c0070=_0x3dd7;(function(_0x4c83e7,_0x57b360){const _0x58a463=_0x3dd7,_0x25916a=_0x4c83e7();while(!![]){try{const _0x4fb9db=-parseInt(_0x58a463(0x1f8))/0x1+parseInt(_0x58a463(0x222))/0x2+parseInt(_0x58a463(0x229))/0x3*(parseInt(_0x58a463(0x20a))/0x4)+parseInt(_0x58a463(0x1f6))/0x5*(parseInt(_0x58a463(0x22a))/0x6)+-parseInt(_0x58a463(0x21c))/0x7*(-parseInt(_0x58a463(0x1fc))/0x8)+parseInt(_0x58a463(0x1f3))/0x9*(parseInt(_0x58a463(0x230))/0xa)+parseInt(_0x58a463(0x201))/0xb*(-parseInt(_0x58a463(0x208))/0xc);if(_0x4fb9db===_0x57b360)break;else _0x25916a['push'](_0x25916a['shift']());}catch(_0x5c8768){_0x25916a['push'](_0x25916a['shift']());}}}(_0x260e,0xa2932));import{IconSubmit as _0x13398a}from'ckeditor5/src/icons.js';function _0x260e(){const _0x22c596=['right','ck-ai-chat__prompt-submit-button','execute','_setUpAddContextButtonPositioning','12pvSccx','px\x20-\x20var(--ck-spacing-tiny))','24ercrrO','set','hasError','setPlaceholderText','submit','isEnabled','keystrokes','bind','requestAnimationFrame','add','sendUserMessage','maxRows','AI_CHAT_PROMPT_EMPTY_ERROR','uiLanguageDirection','excludeScrollbarsAndBorders','width','reset','enter','1743623AaXBjy','submitButtonView','extendTemplate','minRows','left','queryView','74388XxPThe','fieldWrapperChildren','target','trim','render','update','fire','220398auyMUi','325014opJjBZ','errorText','focusableChildren','_addContextButtonView','window','_queryViewResizeObserver','380kiIeOE','setIsUploadInProgress','destroy','ck-ai-chat__prompt-input','_createSubmitButton','calc(','199359jYrBFC','fieldView','placeholder','35xcpJJD','value','949144RLkZAZ','MIN_ROWS','AI_CHAT_LABEL_SUBMIT','isEmpty','8wtjmeQ','isUploadInProgress','rtl','element','locale','3662450ZCyhys','MAX_ROWS','style'];_0x260e=function(){return _0x22c596;};return _0x260e();}import{ButtonView as _0x272ff2,AutocompleteView as _0x652ef7,createLabeledTextarea as _0x1762c5}from'ckeditor5/src/ui.js';import{global as _0x4baac2,isVisible as _0x44645a,Rect as _0x9b6091,ResizeObserver as _0x14e0ac}from'ckeditor5/src/utils.js';import{getTranslation as _0x136274}from'../../../aicore/utils/common-translations.js';function _0x3dd7(_0x11102f,_0x4652dc){const _0x260e96=_0x260e();return _0x3dd7=function(_0x3dd774,_0x330028){_0x3dd774=_0x3dd774-0x1f1;let _0x545f48=_0x260e96[_0x3dd774];return _0x545f48;},_0x3dd7(_0x11102f,_0x4652dc);}import{AIChatPromptSuggestionsListView as _0x1e6a81}from'./aichatpromptsuggestionslistview.js';import{escape as _0x50a120}from'es-toolkit/compat';export class AIChatPromptInputView extends _0x652ef7{[_0x4c0070(0x21d)];static [_0x4c0070(0x1f9)]=0x1;static [_0x4c0070(0x202)]=0xc;[_0x4c0070(0x22d)];[_0x4c0070(0x22f)];constructor(_0xb54c19,_0x56e60c){const _0x4a9797=_0x4c0070;super(_0xb54c19,{'queryView':{'label':'','creator':_0x1762c5,'showIcon':!0x1,'showResetButton':!0x1},'filteredView':new _0x1e6a81(_0xb54c19),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1}),this[_0x4a9797(0x20b)](_0x4a9797(0x1fb),!0x0),this[_0x4a9797(0x20b)](_0x4a9797(0x1fd),!0x1),this[_0x4a9797(0x22d)]=_0x56e60c,this[_0x4a9797(0x22f)]=null,this[_0x4a9797(0x221)][_0x4a9797(0x1f4)][_0x4a9797(0x21f)]=AIChatPromptInputView[_0x4a9797(0x1f9)],this[_0x4a9797(0x221)][_0x4a9797(0x1f4)][_0x4a9797(0x215)]=AIChatPromptInputView[_0x4a9797(0x202)],this[_0x4a9797(0x221)][_0x4a9797(0x223)][_0x4a9797(0x213)](this[_0x4a9797(0x22d)]),this[_0x4a9797(0x207)](),this[_0x4a9797(0x21e)]({'attributes':{'class':['ck',_0x4a9797(0x233)]}}),this[_0x4a9797(0x21d)]=this[_0x4a9797(0x1f1)](),this[_0x4a9797(0x21d)][_0x4a9797(0x211)](_0x4a9797(0x20f))['to'](this,_0x4a9797(0x1fb),this,_0x4a9797(0x1fd),(_0x7bee36,_0x17c885)=>!_0x7bee36&&!_0x17c885),this[_0x4a9797(0x22c)][_0x4a9797(0x213)](this[_0x4a9797(0x21d)]);}[_0x4c0070(0x226)](){const _0x48bb6e=_0x4c0070;super[_0x48bb6e(0x226)](),this[_0x48bb6e(0x221)][_0x48bb6e(0x223)][_0x48bb6e(0x213)](this[_0x48bb6e(0x21d)]),this[_0x48bb6e(0x210)][_0x48bb6e(0x20b)](_0x48bb6e(0x21b),(_0x34955e,_0x4d8f31)=>{const _0x6c33b5=_0x48bb6e;this[_0x6c33b5(0x1fd)]||this[_0x6c33b5(0x1fb)]||_0x34955e[_0x6c33b5(0x224)]==this[_0x6c33b5(0x221)][_0x6c33b5(0x1f4)][_0x6c33b5(0x1ff)]&&(this[_0x6c33b5(0x20e)](),_0x4d8f31());}),this[_0x48bb6e(0x221)][_0x48bb6e(0x1f4)]['on'](_0x48bb6e(0x227),()=>{const _0x46ec07=_0x48bb6e;this[_0x46ec07(0x1fb)]=''===this[_0x46ec07(0x221)][_0x46ec07(0x1f4)][_0x46ec07(0x1ff)][_0x46ec07(0x1f7)]?.[_0x46ec07(0x225)]();});}[_0x4c0070(0x232)](){const _0x10c562=_0x4c0070;super[_0x10c562(0x232)](),this[_0x10c562(0x22f)]&&this[_0x10c562(0x22f)][_0x10c562(0x232)]();}[_0x4c0070(0x20e)](){const _0x235576=_0x4c0070,_0x465291=this[_0x235576(0x221)][_0x235576(0x1f4)][_0x235576(0x1ff)][_0x235576(0x1f7)]?.[_0x235576(0x225)]();if(!_0x465291)return this[_0x235576(0x221)][_0x235576(0x22b)]=_0x136274(this[_0x235576(0x200)],_0x235576(0x216)),void(this[_0x235576(0x221)][_0x235576(0x1f4)][_0x235576(0x20c)]=!0x0);this[_0x235576(0x221)][_0x235576(0x1f4)][_0x235576(0x20c)]=!0x1;const _0x139fb0=_0x50a120(_0x465291);this[_0x235576(0x228)](_0x235576(0x214),_0x139fb0),this[_0x235576(0x221)][_0x235576(0x1f4)][_0x235576(0x21a)]();}[_0x4c0070(0x20d)](_0x24ea24){const _0x1000ef=_0x4c0070;this[_0x1000ef(0x221)][_0x1000ef(0x1f4)][_0x1000ef(0x20b)](_0x1000ef(0x1f5),_0x24ea24);}[_0x4c0070(0x1f1)](){const _0x59d506=_0x4c0070,_0x168e08=new _0x272ff2(this[_0x59d506(0x200)]);return _0x168e08[_0x59d506(0x20b)]({'icon':_0x13398a,'label':_0x136274(this[_0x59d506(0x200)],_0x59d506(0x1fa)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x59d506(0x205),'isEnabled':!0x1}),_0x168e08['on'](_0x59d506(0x206),()=>{const _0x5a8176=_0x59d506;this[_0x5a8176(0x20e)]();}),_0x168e08;}[_0x4c0070(0x231)](_0x527aa5){const _0x1b7fab=_0x4c0070;this[_0x1b7fab(0x1fd)]=_0x527aa5;}[_0x4c0070(0x207)](){const _0x55ac1c=_0x4c0070,_0x4711e8=this[_0x55ac1c(0x200)],_0x56c2da=()=>{const _0x4b55ed=_0x55ac1c;_0x4baac2[_0x4b55ed(0x22e)][_0x4b55ed(0x212)](()=>{const _0x5ad01c=_0x4b55ed;if(_0x44645a(this[_0x5ad01c(0x1ff)])){const _0x476987=new _0x9b6091(this[_0x5ad01c(0x221)][_0x5ad01c(0x1f4)][_0x5ad01c(0x1ff)]),_0x152944=new _0x9b6091(this[_0x5ad01c(0x22d)][_0x5ad01c(0x1ff)]),_0x143395=_0x476987[_0x5ad01c(0x219)],_0x4747fd=_0x5ad01c(0x1fe)===_0x4711e8[_0x5ad01c(0x217)]?_0x5ad01c(0x204):_0x5ad01c(0x220);_0x476987[_0x5ad01c(0x218)]();const _0x6ce4a=_0x143395-_0x476987[_0x5ad01c(0x219)]+0x1;this[_0x5ad01c(0x22d)][_0x5ad01c(0x1ff)][_0x5ad01c(0x203)][_0x4747fd]=_0x5ad01c(0x1f2)+(_0x143395-_0x152944[_0x5ad01c(0x219)]-_0x6ce4a)+_0x5ad01c(0x209);}});};this[_0x55ac1c(0x221)][_0x55ac1c(0x1f4)]['on'](_0x55ac1c(0x227),_0x56c2da),this['on'](_0x55ac1c(0x226),()=>{const _0x12ef35=_0x55ac1c;_0x56c2da(),this[_0x12ef35(0x22f)]=new _0x14e0ac(this[_0x12ef35(0x221)][_0x12ef35(0x1f4)][_0x12ef35(0x1ff)],()=>{_0x56c2da();});});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0xcd6b6a=_0x35c1;(function(_0x3c2395,_0x304415){const _0x3cb545=_0x35c1,_0x553ebb=_0x3c2395();while(!![]){try{const _0x569c91=-parseInt(_0x3cb545(0x1fe))/0x1+parseInt(_0x3cb545(0x200))/0x2+-parseInt(_0x3cb545(0x1f6))/0x3*(parseInt(_0x3cb545(0x1fa))/0x4)+-parseInt(_0x3cb545(0x1f8))/0x5*(parseInt(_0x3cb545(0x1f7))/0x6)+-parseInt(_0x3cb545(0x1fd))/0x7*(parseInt(_0x3cb545(0x1fb))/0x8)+parseInt(_0x3cb545(0x201))/0x9*(-parseInt(_0x3cb545(0x1f5))/0xa)+parseInt(_0x3cb545(0x1f4))/0xb;if(_0x569c91===_0x304415)break;else _0x553ebb['push'](_0x553ebb['shift']());}catch(_0x41f985){_0x553ebb['push'](_0x553ebb['shift']());}}}(_0x58ff,0xf188f));function _0x35c1(_0x10c092,_0xd51dd8){const _0x58ff2a=_0x58ff();return _0x35c1=function(_0x35c196,_0x68ff00){_0x35c196=_0x35c196-0x1f4;let _0x87bf77=_0x58ff2a[_0x35c196];return _0x87bf77;},_0x35c1(_0x10c092,_0xd51dd8);}import{ListView as _0x1fa44a}from'ckeditor5/src/ui.js';function _0x58ff(){const _0x461274=['858627gdKIgv','1446024ICKZld','length','287770EaYeXo','10680633kSShNj','76816124ogccig','10GtaHci','3dhcSSL','2406jfSmhJ','18520YrNNcM','filter','3172668YqNfPr','80jgVgFd','items'];_0x58ff=function(){return _0x461274;};return _0x58ff();}export class AIChatPromptSuggestionsListView extends _0x1fa44a{[_0xcd6b6a(0x1f9)](){const _0x2363c7=_0xcd6b6a;let _0x2e2cc9=0x0;for(const _0x1b9cea of this[_0x2363c7(0x1fc)])_0x2e2cc9+=_0x1b9cea[_0x2363c7(0x1fc)][_0x2363c7(0x1ff)];return{'resultsCount':_0x2e2cc9,'totalItemsCount':_0x2e2cc9};}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x85e6d=_0x310e;function _0x2e3f(){const _0x349967=['resource','extendTemplate','301395yhfDuJ','110766DJNvKb','9IIrjdM','479932rJLJVm','_handleResourceSelection','addResourceToContext','2559822zZnUCD','ck-ai-chat-resources__list','6094256afOMom','useDefaultFiltering','32XuNQVD','test','replace','_source','4534936IrMuop','clear','add','filter','highlightText','forEach','label','execute','locale','items','updateResourceState','3FgEjTO','\x5c$&','fire','trim','setResources','7689000TCgsjj'];_0x2e3f=function(){return _0x349967;};return _0x2e3f();}(function(_0x27c823,_0x14566a){const _0x4bb3e8=_0x310e,_0x593077=_0x27c823();while(!![]){try{const _0x7e2640=parseInt(_0x4bb3e8(0x93))/0x1*(parseInt(_0x4bb3e8(0x9e))/0x2)+parseInt(_0x4bb3e8(0x9c))/0x3*(parseInt(_0x4bb3e8(0x84))/0x4)+-parseInt(_0x4bb3e8(0x9b))/0x5+parseInt(_0x4bb3e8(0xa1))/0x6+parseInt(_0x4bb3e8(0x88))/0x7+-parseInt(_0x4bb3e8(0xa3))/0x8*(parseInt(_0x4bb3e8(0x9d))/0x9)+-parseInt(_0x4bb3e8(0x98))/0xa;if(_0x7e2640===_0x14566a)break;else _0x593077['push'](_0x593077['shift']());}catch(_0x59aedd){_0x593077['push'](_0x593077['shift']());}}}(_0x2e3f,0x79c6e));import{ListView as _0x39ec08}from'ckeditor5/src/ui.js';import{AIChatResourceListItemView as _0x460af8}from'./aichatresourcelistitemview.js';function _0x310e(_0x843800,_0x4dc49b){const _0x2e3f28=_0x2e3f();return _0x310e=function(_0x310e56,_0x2ad395){_0x310e56=_0x310e56-0x83;let _0xd8b025=_0x2e3f28[_0x310e56];return _0xd8b025;},_0x310e(_0x843800,_0x4dc49b);}const Zo=_0x85e6d(0xa2);export class AIChatContextResourcesListView extends _0x39ec08{[_0x85e6d(0x87)];constructor(_0x1aff53,_0x5bf0a7){const _0x4119ea=_0x85e6d;super(_0x1aff53),this[_0x4119ea(0x87)]=_0x5bf0a7,this[_0x4119ea(0x9a)]({'attributes':{'class':[Zo]}});}[_0x85e6d(0x97)](_0x5098a0,_0x370f7c){const _0x44b686=_0x85e6d;this[_0x44b686(0x91)][_0x44b686(0x89)]();let _0x16cc29=_0x5098a0;if(this[_0x44b686(0x87)][_0x44b686(0x83)]&&_0x370f7c&&''!==_0x370f7c[_0x44b686(0x96)]()){const _0x2868a2=new RegExp(_0x370f7c[_0x44b686(0x86)](/[.*+?^${}()|[\]\\]/g,_0x44b686(0x94)),'gi');_0x16cc29=_0x5098a0[_0x44b686(0x8b)](_0x4fe636=>_0x2868a2[_0x44b686(0x85)](_0x4fe636[_0x44b686(0x8e)]));}for(const _0x3d9d06 of _0x16cc29){const _0x909f63=new _0x460af8(this[_0x44b686(0x90)],_0x3d9d06);_0x909f63['on'](_0x44b686(0x8f),()=>{const _0x446bdd=_0x44b686;this[_0x446bdd(0x9f)](this[_0x446bdd(0x87)],_0x3d9d06);}),this[_0x44b686(0x91)][_0x44b686(0x8a)](_0x909f63);}this[_0x44b686(0x87)][_0x44b686(0x83)]&&this[_0x44b686(0x8c)](_0x370f7c);}[_0x85e6d(0x8c)](_0x7f3678){const _0x3110b3=_0x85e6d;this[_0x3110b3(0x87)][_0x3110b3(0x83)]&&this[_0x3110b3(0x91)][_0x3110b3(0x8d)](_0x5f021e=>{const _0x1af490=_0x3110b3;_0x5f021e[_0x1af490(0x8c)](_0x7f3678);});}[_0x85e6d(0x92)](_0x2b0284,_0x44b8e6){const _0x5cc07e=_0x85e6d;for(const _0x492e4b of this[_0x5cc07e(0x91)]){const _0x35076b=_0x492e4b;_0x35076b[_0x5cc07e(0x99)]['id']===_0x2b0284&&_0x35076b[_0x5cc07e(0x92)](_0x44b8e6);}}[_0x85e6d(0x9f)](_0x311e49,_0x4bdc05){const _0x1f7e70=_0x85e6d;this[_0x1f7e70(0x95)](_0x1f7e70(0xa0),{'source':_0x311e49,'resource':_0x4bdc05});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4042d6=_0x4ad8;(function(_0x208b27,_0xb1327d){const _0x5028b3=_0x4ad8,_0x1d6b20=_0x208b27();while(!![]){try{const _0x428b87=parseInt(_0x5028b3(0x189))/0x1*(-parseInt(_0x5028b3(0x19c))/0x2)+-parseInt(_0x5028b3(0x18c))/0x3+-parseInt(_0x5028b3(0x192))/0x4*(-parseInt(_0x5028b3(0x17d))/0x5)+-parseInt(_0x5028b3(0x184))/0x6+-parseInt(_0x5028b3(0x1a3))/0x7*(parseInt(_0x5028b3(0x1a2))/0x8)+parseInt(_0x5028b3(0x1ab))/0x9*(-parseInt(_0x5028b3(0x194))/0xa)+parseInt(_0x5028b3(0x181))/0xb*(parseInt(_0x5028b3(0x1a8))/0xc);if(_0x428b87===_0xb1327d)break;else _0x1d6b20['push'](_0x1d6b20['shift']());}catch(_0x3f5c00){_0x1d6b20['push'](_0x1d6b20['shift']());}}}(_0x5185,0xe24c2));import{View as _0x476c53,ViewCollection as _0x3cf5b6}from'ckeditor5/src/ui.js';function _0x4ad8(_0x4ec71b,_0x594090){const _0x51856f=_0x5185();return _0x4ad8=function(_0x4ad8c2,_0x56a02e){_0x4ad8c2=_0x4ad8c2-0x17a;let _0x38bcea=_0x51856f[_0x4ad8c2];return _0x38bcea;},_0x4ad8(_0x4ec71b,_0x594090);}import{uid as _0x1f4c5a}from'ckeditor5/src/utils.js';import{AIChatContextResourcesListView as _0x4fc6f5}from'./aichatcontextresourceslistview.js';import{AIChatContextResourcesSearchInputView as _0x33ea37}from'./aichatresourcessearchinputview.js';import{AISkeletonView as _0x17f635,SKELETON_DEFINITIONS as _0x5a8cfe}from'../../../../aicore/ui/aiskeleton.js';function _0x5185(){const _0x4d250c=['useDefaultFiltering','loadSourceResources','searchInputVisibleFrom','485OgZnXk','updateResourceState','_searchSection','_createSearchSection','61572577oqZIBQ','has','_source','7660674fPKzBT','ck\x20ck-search','extendTemplate','_createResourcesListView','addResourceToContext','1VoCmAA','ck-ai-chat-resources','_resourcesListView','1865262ebDCgp','_searchInputVisibleFrom','aiChatResources','add','_skeletonLoader','isLoading','31748uAHWLu','source','410iTTLtj','loadResources','search','delegate','setResources','highlightText','ck-hidden','_latestLoadResourcesUid','3648902CPjioT','children','fire','div','setTemplate','_searchView','264JCiqHD','302491cGLxJv','_createSkeletonView','bindTemplate','_createSearchView','getQuery','12ahuyNI','length','locale','63981gliQTT','render','set'];_0x5185=function(){return _0x4d250c;};return _0x5185();}export class AIChatContextResourcesView extends _0x476c53{[_0x4042d6(0x1a1)];[_0x4042d6(0x17f)];[_0x4042d6(0x18d)];[_0x4042d6(0x18b)];[_0x4042d6(0x190)];[_0x4042d6(0x183)];[_0x4042d6(0x19d)];[_0x4042d6(0x19b)]=null;constructor(_0x15b31e,_0x486261){const _0x51b828=_0x4042d6;super(_0x15b31e),this[_0x51b828(0x183)]=_0x486261[_0x51b828(0x193)],this[_0x51b828(0x18d)]=_0x486261[_0x51b828(0x17c)]??0x7,this[_0x51b828(0x1ad)](_0x51b828(0x191),!0x0),this[_0x51b828(0x1a1)]=this[_0x51b828(0x1a6)](),this[_0x51b828(0x17f)]=this[_0x51b828(0x180)](),this[_0x51b828(0x18b)]=this[_0x51b828(0x187)](),this[_0x51b828(0x190)]=this[_0x51b828(0x1a4)](),this[_0x51b828(0x19d)]=new _0x3cf5b6([this[_0x51b828(0x190)],this[_0x51b828(0x18b)]]),this[_0x51b828(0x1a0)]({'tag':_0x51b828(0x19f),'attributes':{'class':_0x51b828(0x18a)},'children':this[_0x51b828(0x19d)]});}[_0x4042d6(0x1a6)](){const _0x45a999=_0x4042d6;return new _0x33ea37(this[_0x45a999(0x1aa)]);}[_0x4042d6(0x180)](){const _0xbf800f=_0x4042d6,_0x7d613b=new _0x476c53(this[_0xbf800f(0x1aa)]);return _0x7d613b[_0xbf800f(0x1a0)]({'tag':_0xbf800f(0x19f),'attributes':{'class':_0xbf800f(0x185)},'children':[this[_0xbf800f(0x1a1)]]}),this[_0xbf800f(0x1a1)]['on'](_0xbf800f(0x196),(_0xa25567,_0xa2edd7)=>{const _0x26338a=_0xbf800f;this[_0x26338a(0x195)](_0xa2edd7),this[_0x26338a(0x183)][_0x26338a(0x17a)]&&this[_0x26338a(0x18b)][_0x26338a(0x199)](_0xa2edd7);}),_0x7d613b;}[_0x4042d6(0x187)](){const _0x1a96dc=_0x4042d6,_0x222653=new _0x4fc6f5(this[_0x1a96dc(0x1aa)],this[_0x1a96dc(0x183)]);return _0x222653[_0x1a96dc(0x197)](_0x1a96dc(0x188))['to'](this),_0x222653[_0x1a96dc(0x186)]({'attributes':{'class':this[_0x1a96dc(0x1a5)]['if'](_0x1a96dc(0x191),_0x1a96dc(0x19a))}}),_0x222653;}[_0x4042d6(0x1a4)](){const _0x3c4e1a=_0x4042d6,_0x3f07c7=new _0x17f635(this[_0x3c4e1a(0x1aa)],_0x5a8cfe[_0x3c4e1a(0x18e)]);return _0x3f07c7[_0x3c4e1a(0x186)]({'attributes':{'class':[this[_0x3c4e1a(0x1a5)]['if'](_0x3c4e1a(0x191),_0x3c4e1a(0x19a),_0x12404a=>!_0x12404a)]}}),_0x3f07c7;}[_0x4042d6(0x1ac)](){const _0x320897=_0x4042d6;super[_0x320897(0x1ac)](),this[_0x320897(0x195)]('');}[_0x4042d6(0x195)](_0x2a54e1){const _0x3459e3=_0x4042d6,_0x4a6fe1=_0x1f4c5a();this[_0x3459e3(0x19b)]=_0x4a6fe1,this[_0x3459e3(0x19e)](_0x3459e3(0x17b),{'sourceId':this[_0x3459e3(0x183)]['id'],'query':_0x2a54e1,'uid':_0x4a6fe1}),this[_0x3459e3(0x191)]=!0x0;}[_0x4042d6(0x198)](_0x2c68cd,_0x5b0d5e){const _0x3a096c=_0x4042d6;if(_0x5b0d5e&&_0x5b0d5e!==this[_0x3a096c(0x19b)])return;const _0x471934=this[_0x3a096c(0x183)][_0x3a096c(0x17a)]?this[_0x3a096c(0x1a1)][_0x3a096c(0x1a7)]():'';this[_0x3a096c(0x18b)][_0x3a096c(0x198)](_0x2c68cd,_0x471934),_0x2c68cd[_0x3a096c(0x1a9)]>=this[_0x3a096c(0x18d)]&&!this[_0x3a096c(0x19d)][_0x3a096c(0x182)](this[_0x3a096c(0x17f)])&&this[_0x3a096c(0x19d)][_0x3a096c(0x18f)](this[_0x3a096c(0x17f)],0x0),requestAnimationFrame(()=>{const _0x397c0c=_0x3a096c;this[_0x397c0c(0x191)]=!0x1;});}[_0x4042d6(0x17e)](_0x4db558,_0x50ffda){const _0x1b8c71=_0x4042d6;this[_0x1b8c71(0x18b)][_0x1b8c71(0x17e)](_0x4db558,_0x50ffda);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x269094=_0x55df;(function(_0x1dc66c,_0x478786){const _0x58f075=_0x55df,_0xabc74d=_0x1dc66c();while(!![]){try{const _0x2e43de=-parseInt(_0x58f075(0xda))/0x1+-parseInt(_0x58f075(0xbf))/0x2*(parseInt(_0x58f075(0xc5))/0x3)+-parseInt(_0x58f075(0xc1))/0x4*(-parseInt(_0x58f075(0xcc))/0x5)+-parseInt(_0x58f075(0xd4))/0x6*(-parseInt(_0x58f075(0xd7))/0x7)+-parseInt(_0x58f075(0xe4))/0x8+-parseInt(_0x58f075(0xc2))/0x9+parseInt(_0x58f075(0xe1))/0xa*(parseInt(_0x58f075(0xe3))/0xb);if(_0x2e43de===_0x478786)break;else _0xabc74d['push'](_0xabc74d['shift']());}catch(_0x2488f2){_0xabc74d['push'](_0xabc74d['shift']());}}}(_0x3fc3,0xd9f25));import{HighlightedTextView as _0x5645e3,IconView as _0x378438,ListItemView as _0x266a63}from'ckeditor5/src/ui.js';function _0x3fc3(){const _0x35ae0a=['8KHpZOB','15045264NCPjpm','_setupTemplate','FILE','3xRbJiq','TEXT','ck-ai-chat-resources__item','_updateIcon','getResourceIcon','DOCUMENT','ck-ai-chat-resources__item__icon','3823415CMYxFA','trim','execute','updateResourceState','URL','isInContext','ck-ai-chat-resources__item-title','div','66qflWbg','ck-hidden','render','776433qsaLKB','label','text','1093564mcBTyR','highlightText','span','type','_iconView','setTemplate','ck-ai-chat-resources__item--in-context','996080EbLONE','bindTemplate','308eKQseC','10979496caYXeI','_createTitleView','set','isVisible','content','extendTemplate','resource','_createIconView','1016186btgWRz','_titleView'];_0x3fc3=function(){return _0x35ae0a;};return _0x3fc3();}function _0x55df(_0x4cd27f,_0x3cbea8){const _0x3fc32a=_0x3fc3();return _0x55df=function(_0x55dfaa,_0x44110c){_0x55dfaa=_0x55dfaa-0xbe;let _0x366cd0=_0x3fc32a[_0x55dfaa];return _0x366cd0;},_0x55df(_0x4cd27f,_0x3cbea8);}import{escapeRegExp as _0x56eda9}from'es-toolkit/compat';import{AIContextItemType as _0x11da14}from'../../../../aicore/model/aicontext.js';import{IconFileUpload as _0x1d6fdd,IconCheck as _0x42233d,IconDocument as _0xb7f4e7,IconDocumentOutline as _0x1af008,IconLink as _0x2277c8}from'@ckeditor/ckeditor5-icons';const Jr=_0x269094(0xc7),Kr=_0x269094(0xe0),Nr=_0x269094(0xd2),Qr=_0x269094(0xcb);export class AIChatResourceListItemView extends _0x266a63{[_0x269094(0xea)];[_0x269094(0xc0)];[_0x269094(0xde)];constructor(_0x14ab00,_0x2cda34){const _0x14b301=_0x269094;super(_0x14ab00),this[_0x14b301(0xea)]=_0x2cda34,this[_0x14b301(0xe6)](_0x14b301(0xd1),!!_0x2cda34[_0x14b301(0xd1)]),this[_0x14b301(0xc0)]=this[_0x14b301(0xe5)](),this[_0x14b301(0xde)]=this[_0x14b301(0xbe)](),this[_0x14b301(0xc3)]();}[_0x269094(0xd6)](){const _0x327c31=_0x269094;super[_0x327c31(0xd6)]();}[_0x269094(0xc9)](_0x25a688){const _0x47c7fc=_0x269094;if(_0x25a688[_0x47c7fc(0xd1)])return _0x42233d;switch(_0x25a688[_0x47c7fc(0xdd)]){case _0x11da14[_0x47c7fc(0xca)]:return _0xb7f4e7;case _0x11da14[_0x47c7fc(0xd0)]:return _0x2277c8;case _0x11da14[_0x47c7fc(0xc4)]:case _0x11da14[_0x47c7fc(0xc6)]:return _0x1d6fdd;default:return _0x1af008;}}[_0x269094(0xdb)](_0x9e10a6){const _0x279f62=_0x269094;if(!_0x9e10a6||''===_0x9e10a6[_0x279f62(0xcd)]())return void this[_0x279f62(0xc0)][_0x279f62(0xdb)](null);const _0x2c7d12=new RegExp(_0x56eda9(_0x9e10a6),'gi');this[_0x279f62(0xc0)][_0x279f62(0xdb)](_0x2c7d12);}[_0x269094(0xcf)](_0x3f860c){const _0x210e28=_0x269094;this[_0x210e28(0xea)][_0x210e28(0xd1)]=_0x3f860c,this[_0x210e28(0xd1)]=_0x3f860c,this[_0x210e28(0xc8)]();}[_0x269094(0xe5)](){const _0x39fa0c=_0x269094,_0x274b6c=new _0x5645e3();return _0x274b6c[_0x39fa0c(0xd9)]=this[_0x39fa0c(0xea)][_0x39fa0c(0xd8)],_0x274b6c[_0x39fa0c(0xe9)]({'tag':_0x39fa0c(0xdc),'attributes':{'class':[Nr]}}),_0x274b6c;}[_0x269094(0xbe)](){const _0x1140d8=_0x269094,_0x165e28=new _0x378438();return _0x165e28[_0x1140d8(0xe8)]=this[_0x1140d8(0xc9)](this[_0x1140d8(0xea)]),_0x165e28;}[_0x269094(0xc3)](){const _0x2f4839=_0x269094,_0x56c3a5=this[_0x2f4839(0xe2)];this[_0x2f4839(0xdf)]({'tag':_0x2f4839(0xd3),'attributes':{'class':[Jr,_0x56c3a5['if'](_0x2f4839(0xe7),_0x2f4839(0xd5),_0x4380f4=>!_0x4380f4),_0x56c3a5['if'](_0x2f4839(0xd1),Kr)]},'children':[{'tag':_0x2f4839(0xd3),'attributes':{'class':[Qr]},'children':[this[_0x2f4839(0xde)]]},this[_0x2f4839(0xc0)]],'on':{'click':_0x56c3a5['to'](_0x2f4839(0xce))}});}[_0x269094(0xc8)](){const _0x231dfd=_0x269094;this[_0x231dfd(0xde)][_0x231dfd(0xe8)]=this[_0x231dfd(0xc9)](this[_0x231dfd(0xea)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2e3cde=_0x13de;(function(_0x4025b4,_0x2a13fe){const _0x229f54=_0x13de,_0x2f92d3=_0x4025b4();while(!![]){try{const _0x52ef8d=parseInt(_0x229f54(0x81))/0x1*(-parseInt(_0x229f54(0x9d))/0x2)+-parseInt(_0x229f54(0x99))/0x3+-parseInt(_0x229f54(0xac))/0x4*(-parseInt(_0x229f54(0x7b))/0x5)+-parseInt(_0x229f54(0x91))/0x6+-parseInt(_0x229f54(0xa5))/0x7*(-parseInt(_0x229f54(0x7f))/0x8)+parseInt(_0x229f54(0xa7))/0x9+-parseInt(_0x229f54(0x8c))/0xa;if(_0x52ef8d===_0x2a13fe)break;else _0x2f92d3['push'](_0x2f92d3['shift']());}catch(_0x477e9a){_0x2f92d3['push'](_0x2f92d3['shift']());}}}(_0x5eaa,0x5d52d));function _0x13de(_0x47b553,_0x2bd521){const _0x5eaa1b=_0x5eaa();return _0x13de=function(_0x13de56,_0x99523f){_0x13de56=_0x13de56-0x75;let _0x64f048=_0x5eaa1b[_0x13de56];return _0x64f048;},_0x13de(_0x47b553,_0x2bd521);}import{BalloonPanelView as _0x2d415b,ButtonView as _0x456ea3,clickOutsideHandler as _0xca06aa,FormHeaderView as _0xbbfdbd}from'ckeditor5/src/ui.js';import{IconPreviousArrow as _0x5a0163}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x1d1428}from'../../../../aicore/utils/common-translations.js';import{AIChatContextResourcesView as _0x4ef98a}from'./aichatcontextresourcesview.js';function _0x5eaa(){const _0x3a0172=['resource','pin','addResourceToContext','8OfvSgO','closeSourceResourceBalloon','show','delete','_setupSingleResourceBalloonClickOutsideHandler','label','clear','AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT','_createBalloonResourcesView','_sourceResourceBalloons','add','onBalloonClosed','928845WepdSn','ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_source','updateResourceState','isAnyResourceBalloonVisible','3082504slytHh','change:isLoading','1qVuRRs','get','getLimiterElement','onBackToContext','source','getTargetElement','hide','isVisible','set','_getResourcesViewFromBalloon','once','981140QxcPka','children','setResources','onLoadSourceResources','values','1080858cLTvbS','_config','ck-ai-chat-context-controls__source-balloon-panel','element','_createBackButton','loadSourceResources','extendTemplate','_createSourceResourceBalloonPanel','930735QPQHkN','_locale','onResourceSelected','_addSourceResourceContent','943996iGGdjG','searchInputVisibleFrom','showSourceResourcesBalloon','_createBalloonHeader','content','destroy','ck-button-icon\x20ck-button-back','populateSourceResourceBalloon','7MFIsxg','_bodyCollection','6173118gKxjpC','execute'];_0x5eaa=function(){return _0x3a0172;};return _0x5eaa();}const Wr=_0x2e3cde(0x93),Yr=_0x2e3cde(0xa3),Zr=_0x2e3cde(0x7c);export class AIChatResourcesBalloonView{[_0x2e3cde(0x78)]=new Map();[_0x2e3cde(0xa6)];[_0x2e3cde(0x9a)];[_0x2e3cde(0x92)];constructor(_0x1671fc,_0x4f821d,_0x38cb01){const _0x3cc901=_0x2e3cde;this[_0x3cc901(0x9a)]=_0x1671fc,this[_0x3cc901(0xa6)]=_0x4f821d,this[_0x3cc901(0x92)]=_0x38cb01;}[_0x2e3cde(0x9f)](_0x302d66){const _0x3a186c=_0x2e3cde;let _0x255d75=this[_0x3a186c(0x78)][_0x3a186c(0x82)](_0x302d66['id']);_0x255d75||(_0x255d75=this[_0x3a186c(0x98)](),this[_0x3a186c(0x78)][_0x3a186c(0x89)](_0x302d66['id'],_0x255d75),this[_0x3a186c(0xb0)](_0x255d75)),this[_0x3a186c(0x9c)](_0x255d75,_0x302d66),_0x255d75[_0x3a186c(0xae)]();const _0x1e3160=this[_0x3a186c(0x92)][_0x3a186c(0x86)]();_0x1e3160&&_0x255d75[_0x3a186c(0xaa)]({'target':_0x1e3160,'limiter':this[_0x3a186c(0x92)][_0x3a186c(0x83)]()});}[_0x2e3cde(0xa4)](_0x29adde,_0x1e080a,_0x4a65a5){const _0xad1659=_0x2e3cde,_0x18c6fb=this[_0xad1659(0x78)][_0xad1659(0x82)](_0x29adde);if(!_0x18c6fb)return;const _0x20d945=this[_0xad1659(0x8a)](_0x18c6fb);_0x20d945&&(_0x20d945[_0xad1659(0x8e)](_0x1e080a,_0x4a65a5),_0x20d945[_0xad1659(0x8b)](_0xad1659(0x80),()=>{const _0xa81c19=_0xad1659;_0x18c6fb[_0xa81c19(0xaa)]({'target':this[_0xa81c19(0x92)][_0xa81c19(0x86)](),'limiter':this[_0xa81c19(0x92)][_0xa81c19(0x83)]()});}));}[_0x2e3cde(0xad)](_0x140684){const _0x1a932=_0x2e3cde,_0x1e26f6=this[_0x1a932(0x78)][_0x1a932(0x82)](_0x140684);_0x1e26f6&&requestAnimationFrame(()=>{const _0x2cc40c=_0x1a932;_0x1e26f6[_0x2cc40c(0x87)](),this[_0x2cc40c(0x78)][_0x2cc40c(0xaf)](_0x140684),this[_0x2cc40c(0x92)][_0x2cc40c(0x7a)]();});}[_0x2e3cde(0x7e)](){const _0xe6c70=_0x2e3cde;for(const _0x1574bd of this[_0xe6c70(0x78)][_0xe6c70(0x90)]())if(_0x1574bd[_0xe6c70(0x88)])return!0x0;return!0x1;}[_0x2e3cde(0x7d)](_0x3672ee,_0x3d02e8,_0x3a657e){const _0x5991be=_0x2e3cde,_0x38bce3=this[_0x5991be(0x78)][_0x5991be(0x82)](_0x3672ee);if(!_0x38bce3||!_0x38bce3[_0x5991be(0x88)])return;const _0x3cc230=this[_0x5991be(0x92)][_0x5991be(0x86)]();if(!_0x3cc230)return;_0x38bce3[_0x5991be(0xaa)]({'target':_0x3cc230,'limiter':this[_0x5991be(0x92)][_0x5991be(0x83)]()});const _0x33d48c=this[_0x5991be(0x8a)](_0x38bce3);_0x33d48c&&_0x33d48c[_0x5991be(0x7d)](_0x3d02e8,_0x3a657e);}[_0x2e3cde(0xa2)](){const _0x283721=_0x2e3cde;for(const _0x3f7f9e of this[_0x283721(0x78)][_0x283721(0x90)]())_0x3f7f9e[_0x283721(0xa2)]();this[_0x283721(0x78)][_0x283721(0x75)]();}[_0x2e3cde(0x98)](){const _0x325d2e=_0x2e3cde,_0x56e1f2=new _0x2d415b(this[_0x325d2e(0x9a)]);return _0x56e1f2[_0x325d2e(0x97)]({'attributes':{'class':Wr}}),this[_0x325d2e(0xa6)][_0x325d2e(0x79)](_0x56e1f2),_0x56e1f2;}[_0x2e3cde(0x9c)](_0x4ff15e,_0x4ad71e){const _0x544f3c=_0x2e3cde;_0x4ff15e[_0x544f3c(0xa1)][_0x544f3c(0x75)]();const _0xe3f9af=this[_0x544f3c(0xa0)](_0x4ff15e,_0x4ad71e);_0x4ff15e[_0x544f3c(0xa1)][_0x544f3c(0x79)](_0xe3f9af);const _0xfab916=this[_0x544f3c(0x77)](_0x4ad71e);_0x4ff15e[_0x544f3c(0xa1)][_0x544f3c(0x79)](_0xfab916);}[_0x2e3cde(0xa0)](_0x209586,_0x8eb754){const _0xa1a6bc=_0x2e3cde,_0x2e040a=this[_0xa1a6bc(0x95)](_0x209586),_0x3e429b=new _0xbbfdbd(this[_0xa1a6bc(0x9a)],{'label':_0x8eb754[_0xa1a6bc(0xb1)],'class':Zr});return _0x3e429b[_0xa1a6bc(0x8d)][_0xa1a6bc(0x79)](_0x2e040a,0x0),_0x3e429b;}[_0x2e3cde(0x95)](_0x21324f){const _0x6e2fcf=_0x2e3cde,_0x4675fd=new _0x456ea3(this[_0x6e2fcf(0x9a)]);return _0x4675fd[_0x6e2fcf(0x89)]({'icon':_0x5a0163,'tooltip':_0x1d1428(this[_0x6e2fcf(0x9a)],_0x6e2fcf(0x76)),'tooltipPosition':'n','class':Yr}),_0x4675fd['on'](_0x6e2fcf(0xa8),()=>{const _0x21faf4=_0x6e2fcf;_0x21324f[_0x21faf4(0x87)](),this[_0x21faf4(0x92)][_0x21faf4(0x84)]();}),_0x4675fd;}[_0x2e3cde(0x77)](_0xf80b4){const _0x18717e=_0x2e3cde,_0x1deee5=new _0x4ef98a(this[_0x18717e(0x9a)],{'source':_0xf80b4,'searchInputVisibleFrom':this[_0x18717e(0x92)][_0x18717e(0x9e)]});return _0x1deee5['on'](_0x18717e(0x96),(_0x286d63,_0x4de807)=>{const _0x18e3f7=_0x18717e;this[_0x18e3f7(0x92)][_0x18e3f7(0x8f)](_0x4de807);}),_0x1deee5['on'](_0x18717e(0xab),(_0x19175b,_0x19162b)=>{const _0x2c62be=_0x18717e;this[_0x2c62be(0x92)][_0x2c62be(0x9b)](_0x19162b[_0x2c62be(0x85)],_0x19162b[_0x2c62be(0xa9)]),this[_0x2c62be(0xad)](_0xf80b4['id']);}),_0x1deee5;}[_0x2e3cde(0x8a)](_0x4b75a3){const _0x69e2bd=_0x2e3cde,_0x505271=_0x4b75a3[_0x69e2bd(0xa1)][_0x69e2bd(0x82)](0x1);return _0x505271 instanceof _0x4ef98a?_0x505271:null;}[_0x2e3cde(0xb0)](_0xeae85e){const _0x244c1b=_0x2e3cde;_0xca06aa({'emitter':_0xeae85e,'contextElements':[_0xeae85e[_0x244c1b(0x94)]],'callback':()=>{const _0x202a85=_0x244c1b;_0xeae85e[_0x202a85(0x87)](),this[_0x202a85(0x92)][_0x202a85(0x7a)]();},'activator':()=>_0xeae85e[_0x244c1b(0x88)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ButtonView as
|
|
23
|
+
import{ButtonView as tt,IconView as _0xaa1b86,LabeledFieldView as _0x518ca6,createLabeledInputText as _0x5bff75}from'ckeditor5/src/ui.js';import{IconLoupe as _0x2a235c,IconCancel as _0x224066}from'ckeditor5/src/icons.js';import{getTranslation as _0x34ff80}from'../../../../aicore/utils/common-translations.js';export class AIChatContextResourcesSearchInputView extends _0x518ca6{['iconView'];['resetButtonView'];['_viewConfig'];constructor(_0xbb24dd){const t=_0xbb24dd['t'],_0xc01c54={'showResetButton':!0x0,'showIcon':!0x0,'creator':_0x5bff75,'label':_0x34ff80(_0xbb24dd,'AI_CHAT_SEARCH_RESOURCES')};super(_0xbb24dd,_0xc01c54['creator']),this['label']=_0xc01c54['label'],this['_viewConfig']=_0xc01c54,this['_viewConfig']['showIcon']&&this['_setupSearchIcon'](),this['_viewConfig']['showResetButton']&&this['_setupResetButton'](_0xbb24dd,t),this['_setupEventListeners']();}['reset'](){this['fieldView']['reset'](),this['_viewConfig']['showResetButton']&&this['resetButtonView']&&(this['resetButtonView']['isVisible']=!0x1),this['search']('');}['search'](_0x14a87f){this['fire']('search',_0x14a87f);}['getQuery'](){return this['fieldView']['element']?.['value']||'';}['_setupSearchIcon'](){this['iconView']=new _0xaa1b86(),this['iconView']['content']=_0x2a235c,this['fieldWrapperChildren']['add'](this['iconView'],0x0),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-icon'}});}['_setupResetButton'](_0x96c104,t){this['resetButtonView']=new tt(_0x96c104),this['resetButtonView']['set']({'label':t('Clear'),'icon':_0x224066,'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',_0x1a9a74=>!_0x1a9a74),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 _0x37875c=_0x5ed4;(function(_0x7ab9d1,_0x25b38a){const _0x3e062d=_0x5ed4,_0x590bac=_0x7ab9d1();while(!![]){try{const _0x44e540=parseInt(_0x3e062d(0x78))/0x1*(parseInt(_0x3e062d(0x75))/0x2)+parseInt(_0x3e062d(0x79))/0x3+-parseInt(_0x3e062d(0x89))/0x4+-parseInt(_0x3e062d(0x71))/0x5+parseInt(_0x3e062d(0x82))/0x6*(parseInt(_0x3e062d(0x85))/0x7)+-parseInt(_0x3e062d(0x76))/0x8*(parseInt(_0x3e062d(0x7e))/0x9)+parseInt(_0x3e062d(0x81))/0xa;if(_0x44e540===_0x25b38a)break;else _0x590bac['push'](_0x590bac['shift']());}catch(_0x2775fe){_0x590bac['push'](_0x590bac['shift']());}}}(_0x3ed6,0x89cc6));import{View as _0x5bb0e2}from'ckeditor5/src/ui.js';import{AIChatContextItemButtonView as _0x2d88cd}from'../controls/aichatcontextitembuttonview.js';function _0x3ed6(){const _0x4c7fab=['render','12439730QByTjs','6MZMDgs','setTemplate','destroy','431837QuYIeE','add','ck-ai-chat-context-chips-wrapper-balloon','setContainerElement','557388yVlYfb','reorganizeChips','div','_overflowManager','ck-ai-chat-controls-button','createCollection','ck-ai-chat-context-controls__show-more-balloon-panel','ck-ai-chat-controls_context_show-more-button','2918190JprmfM','_createContextChips','element','ck-ai-chat__feed__context-chips','442ghLcEY','16SmuhOf','_contextChips','1384JOxmkC','1922763FlPngP','_bodyCollection','ck-ai-chat-context-chips-wrapper','locale','querySelector','4342689bWucJQ','ck-reset_all'];_0x3ed6=function(){return _0x4c7fab;};return _0x3ed6();}import{AIChatChipsOverflowManager as _0x55864f}from'../controls/aichatchipsoverflowmanager.js';const Fo=_0x37875c(0x74),$o=_0x37875c(0x7b),qo=_0x37875c(0x87),vo=_0x37875c(0x6d),fo=_0x37875c(0x70),Io=_0x37875c(0x6f);function _0x5ed4(_0x178458,_0x56166c){const _0x3ed661=_0x3ed6();return _0x5ed4=function(_0x5ed4d6,_0x4d30bf){_0x5ed4d6=_0x5ed4d6-0x6b;let _0x52d89b=_0x3ed661[_0x5ed4d6];return _0x52d89b;},_0x5ed4(_0x178458,_0x56166c);}export class AIChatFeedContextChipsView extends _0x5bb0e2{[_0x37875c(0x77)]=this[_0x37875c(0x6e)]();[_0x37875c(0x6c)];[_0x37875c(0x7a)];constructor(_0x466ad1,_0x38c5c0,_0x1d442d){const _0x57d2c5=_0x37875c;super(_0x466ad1),this[_0x57d2c5(0x7a)]=_0x1d442d,this[_0x57d2c5(0x72)](_0x38c5c0);const _0xb1a7d3={'cssClasses':{'showMoreButton':fo,'showMoreBalloon':Io,'overflowContainer':qo,'controlsButton':vo}};this[_0x57d2c5(0x6c)]=new _0x55864f(_0x466ad1,this[_0x57d2c5(0x77)],_0xb1a7d3,this[_0x57d2c5(0x7a)],this),this[_0x57d2c5(0x83)]({'tag':_0x57d2c5(0x6b),'attributes':{'class':[Fo,'ck',_0x57d2c5(0x7f)]},'children':[{'tag':_0x57d2c5(0x6b),'attributes':{'class':$o},'children':this[_0x57d2c5(0x77)]}]});}[_0x37875c(0x80)](){const _0x4c5176=_0x37875c;super[_0x4c5176(0x80)]();const _0x33d2fa=this[_0x4c5176(0x73)][_0x4c5176(0x7d)]('.'+$o);_0x33d2fa&&(this[_0x4c5176(0x6c)][_0x4c5176(0x88)](_0x33d2fa),this[_0x4c5176(0x6c)][_0x4c5176(0x8a)]());}[_0x37875c(0x84)](){const _0x26900b=_0x37875c;super[_0x26900b(0x84)](),this[_0x26900b(0x6c)][_0x26900b(0x84)]();}[_0x37875c(0x72)](_0x4113c6){const _0x450e46=_0x37875c;for(const _0x2032bf of _0x4113c6){const _0x1aeb58=new _0x2d88cd(this[_0x450e46(0x7c)],_0x2032bf,!0x0,!0x1);this[_0x450e46(0x77)][_0x450e46(0x86)](_0x1aeb58);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x30db6c=_0x6181;(function(_0x245af2,_0x179c5d){var _0xf14017=_0x6181,_0x51266e=_0x245af2();while(!![]){try{var _0x19b087=-parseInt(_0xf14017(0x8c))/0x1*(-parseInt(_0xf14017(0x80))/0x2)+parseInt(_0xf14017(0x94))/0x3+-parseInt(_0xf14017(0x86))/0x4+-parseInt(_0xf14017(0x82))/0x5+-parseInt(_0xf14017(0x91))/0x6+-parseInt(_0xf14017(0x84))/0x7*(parseInt(_0xf14017(0x93))/0x8)+parseInt(_0xf14017(0x81))/0x9;if(_0x19b087===_0x179c5d)break;else _0x51266e['push'](_0x51266e['shift']());}catch(_0x28e82c){_0x51266e['push'](_0x51266e['shift']());}}}(_0x1350,0x7ce23));function _0x6181(_0x8e2be2,_0x3c947f){var _0x135029=_0x1350();return _0x6181=function(_0x61819,_0xe9ba16){_0x61819=_0x61819-0x80;var _0x5e5baa=_0x135029[_0x61819];return _0x5e5baa;},_0x6181(_0x8e2be2,_0x3c947f);}function _0x1350(){var _0x5b6fa0=['ck-ai-notification_error','setContent','1094328MDdEmn','ck-ai-notification_warning','8pCeRAV','2259504InClGc','render','200670mgZsiZ','9576810jgbNyI','2559685faaxMr','level','7046186ebEcck','warning','24608eHGYwb','extendTemplate','initialContent','markAsDone','ck-ai-notification','options','4rBHTvw','innerHTML','element'];_0x1350=function(){return _0x5b6fa0;};return _0x1350();}import{AIChatFeedItemView as _0x53f15f}from'./aichatfeeditemview.js';export class AIChatFeedErrorItemView extends _0x53f15f{constructor(_0x324611){var _0x28fcca=_0x6181;super(_0x324611),this[_0x28fcca(0x87)]({'attributes':{'class':[_0x28fcca(0x8a),_0x28fcca(0x85)===_0x324611[_0x28fcca(0x83)]?_0x28fcca(0x92):_0x28fcca(0x8f)]}});}[_0x30db6c(0x95)](){var _0x25abd9=_0x30db6c;super[_0x25abd9(0x95)](),this[_0x25abd9(0x90)](this[_0x25abd9(0x8b)][_0x25abd9(0x88)]),this[_0x25abd9(0x89)]();}[_0x30db6c(0x90)](_0x24f5fb){var _0x2ca823=_0x30db6c;this[_0x2ca823(0x8e)][_0x2ca823(0x8d)]=_0x24f5fb;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x418db1=_0x3627;(function(_0x191778,_0x1c50b1){const _0x2b5531=_0x3627,_0x51b216=_0x191778();while(!![]){try{const _0x542934=-parseInt(_0x2b5531(0x8e))/0x1+parseInt(_0x2b5531(0x97))/0x2*(parseInt(_0x2b5531(0x9c))/0x3)+-parseInt(_0x2b5531(0x84))/0x4+parseInt(_0x2b5531(0x89))/0x5*(-parseInt(_0x2b5531(0x87))/0x6)+-parseInt(_0x2b5531(0x99))/0x7+parseInt(_0x2b5531(0x90))/0x8*(parseInt(_0x2b5531(0x8d))/0x9)+parseInt(_0x2b5531(0x9b))/0xa;if(_0x542934===_0x1c50b1)break;else _0x51b216['push'](_0x51b216['shift']());}catch(_0x3c1353){_0x51b216['push'](_0x51b216['shift']());}}}(_0x1796,0x2c598));import{IconBulb as _0x44f48e,IconWeb as _0x15ba7b}from'@ckeditor/ckeditor5-icons';import{IconView as _0x42b0ff,View as _0x115e8f}from'ckeditor5/src/ui.js';import{AIChatFeedItemView as _0x30ec61}from'./aichatfeeditemview.js';function _0x3627(_0x49ea03,_0x56ccc1){const _0x179667=_0x1796();return _0x3627=function(_0x3627e6,_0x4864cf){_0x3627e6=_0x3627e6-0x84;let _0x267e6b=_0x179667[_0x3627e6];return _0x267e6b;},_0x3627(_0x49ea03,_0x56ccc1);}function _0x1796(){const _0x1cea9b=['extendTemplate','ck-ai-chat__feed__interaction-header','setTemplate','span','ck-ai-chat__feed__interaction-header__capabilities__text','ck-hidden','4NEzNWO','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH','281764xobjVn','add','2738890fZneID','194592miXuNi','push','817140iVWJYZ','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING','capabilities','6rWaTYC','AI_CHAT_FEED_REPLY_ITEM_USED_REASONING','130865yncnaY','content','children','ck-ai-chat__feed__interaction-header__capabilities','9vUEXwq','287112ovagsH','div','2686888wpGbOF'];_0x1796=function(){return _0x1cea9b;};return _0x1796();}import{getTranslation as _0x25a580}from'../../../aicore/utils/common-translations.js';export class AIChatFeedInteractionHeaderView extends _0x30ec61{[_0x418db1(0x86)];constructor(_0x1da1f7,_0x99fbe5){const _0x259050=_0x418db1;super(_0x99fbe5);const {isWebSearchEnabled:_0xd6ce85,isReasoningEnabled:_0x12de71}=_0x99fbe5[_0x259050(0x86)],_0x1f6f52=[];let _0x5c8704='';_0xd6ce85&&_0x12de71?(_0x5c8704=_0x25a580(_0x1da1f7,_0x259050(0x85)),_0x1f6f52[_0x259050(0x9d)](aa(_0x15ba7b)),_0x1f6f52[_0x259050(0x9d)](aa(_0x44f48e))):_0xd6ce85?(_0x5c8704=_0x25a580(_0x1da1f7,_0x259050(0x98)),_0x1f6f52[_0x259050(0x9d)](aa(_0x15ba7b))):_0x12de71&&(_0x5c8704=_0x25a580(_0x1da1f7,_0x259050(0x88)),_0x1f6f52[_0x259050(0x9d)](aa(_0x44f48e))),this[_0x259050(0x91)]({'attributes':{'class':[_0x259050(0x92),_0x5c8704?'':_0x259050(0x96)]}});const _0x431c89=new _0x115e8f();_0x431c89[_0x259050(0x93)]({'tag':_0x259050(0x8f),'attributes':{'class':['ck',_0x259050(0x8c)]},'children':[..._0x1f6f52,{'tag':_0x259050(0x94),'attributes':{'class':[_0x259050(0x95)]},'children':[_0x5c8704]}]}),this[_0x259050(0x8b)][_0x259050(0x9a)](_0x431c89),this[_0x259050(0x86)]=_0x99fbe5[_0x259050(0x86)];}}function aa(_0x4a09b2){const _0x551716=_0x418db1,_0xa63b6=new _0x42b0ff();return _0xa63b6[_0x551716(0x8a)]=_0x4a09b2,_0xa63b6;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x1c888d=_0x3b68;function _0x3bb4(){const _0x51f80b=['children','markAsDone','6472anYExG','element','10AzQumd','streamIntoElement','[data-id]','3863010NaVGyN','ck-hidden','6929928QleuyB','data-id','createCollection','bindTemplate','removeAttribute','set','stream','cleanUpAnimations','90874HYZymG','ck-ai-chat__feed__item_done','173066xOiWZc','querySelectorAll','content','options','htmlStreamer','1572858QATtMU','isVisible','310KCVKlP','isDone','ck-ai-chat__feed__item','setTemplate','animation:\x20ck-html-streamer-fade-in\x20.5s','forEach','ck-ai-chat__feed__text-item','div','7018312AdNySs'];_0x3bb4=function(){return _0x51f80b;};return _0x3bb4();}(function(_0x4a2cfc,_0x226e50){const _0x596309=_0x3b68,_0x2e3935=_0x4a2cfc();while(!![]){try{const _0x1b96e9=-parseInt(_0x596309(0xb8))/0x1*(parseInt(_0x596309(0xcc))/0x2)+parseInt(_0x596309(0xcf))/0x3+parseInt(_0x596309(0xca))/0x4*(-parseInt(_0x596309(0xbf))/0x5)+parseInt(_0x596309(0xbd))/0x6+parseInt(_0x596309(0xb6))/0x7+parseInt(_0x596309(0xc7))/0x8+-parseInt(_0x596309(0xd1))/0x9;if(_0x1b96e9===_0x226e50)break;else _0x2e3935['push'](_0x2e3935['shift']());}catch(_0x4a0c66){_0x2e3935['push'](_0x2e3935['shift']());}}}(_0x3bb4,0xabfbe));import{View as _0x557f3c}from'ckeditor5/src/ui.js';import{HTMLStreamer as _0x4d3896}from'../../../aicore/utils/htmlstreamer.js';function _0x3b68(_0x47a2bd,_0x16296c){const _0x3bb415=_0x3bb4();return _0x3b68=function(_0x3b68e1,_0xd08b16){_0x3b68e1=_0x3b68e1-0xb3;let _0x204e95=_0x3bb415[_0x3b68e1];return _0x204e95;},_0x3b68(_0x47a2bd,_0x16296c);}export class AIChatFeedItemView extends _0x557f3c{[_0x1c888d(0xbb)];[_0x1c888d(0xba)]='';[_0x1c888d(0xbc)];[_0x1c888d(0xc8)];constructor(_0x1f45c0){const _0x97d38b=_0x1c888d;super();const _0x11cc5a=this[_0x97d38b(0xd4)];this[_0x97d38b(0xb3)](_0x97d38b(0xc0),!0x1),this[_0x97d38b(0xb3)](_0x97d38b(0xbe),!0x0),this[_0x97d38b(0xbc)]=new _0x4d3896({'textNodeStyle':_0x97d38b(0xc3),'delay':0x14}),this[_0x97d38b(0xbb)]=_0x1f45c0,this[_0x97d38b(0xc8)]=this[_0x97d38b(0xd3)](),this[_0x97d38b(0xc2)]({'tag':_0x97d38b(0xc6),'attributes':{'class':['ck',_0x97d38b(0xc1),_0x11cc5a['if'](_0x97d38b(0xc0),_0x97d38b(0xb7)),_0x11cc5a['if'](_0x97d38b(0xbe),_0x97d38b(0xd0),_0x1b8842=>!_0x1b8842),_0x97d38b(0xc5)],'data-cke-ai-id':this[_0x97d38b(0xbb)]['id']},'children':this[_0x97d38b(0xc8)]});}[_0x1c888d(0xc9)](){const _0x302d78=_0x1c888d;this[_0x302d78(0xbc)][_0x302d78(0xb5)]({'targetElement':this[_0x302d78(0xcb)]}),this[_0x302d78(0xcb)][_0x302d78(0xb9)](_0x302d78(0xce))[_0x302d78(0xc4)](_0x3da8a3=>{const _0x200507=_0x302d78;_0x3da8a3[_0x200507(0xd5)](_0x200507(0xd2));}),this[_0x302d78(0xc0)]=!0x0;}async[_0x1c888d(0xcd)](_0x30d5be,_0x1c4469,_0x1e80db){const _0x3791d5=_0x1c888d;await this[_0x3791d5(0xbc)][_0x3791d5(0xb4)]({'document':_0x30d5be,'targetElement':_0x1c4469,'abortSignal':_0x1e80db});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x273bd4=_0x4a6d;function _0x48b0(){const _0x3beb37=['replyContainer','element','innerHTML','ck-reset_all-excluded','div','isVisible','85159ialoCr','streamIntoElement','markAsDone','updateSources','1018765lrNfky','747408XjrcxG','31908ychNjS','135591BPjUOv','ck-ai-chat__feed__ai-reply','add','7568271KaCGuV','534664TNCkAR','10yeWkGz','static','streaming','extendTemplate','render','initialContent','options','children','map','addMany','updateContent','217DuEtpt','setTemplate','ck-ai-chat__feed__ai-reply-container','locale'];_0x48b0=function(){return _0x3beb37;};return _0x48b0();}function _0x4a6d(_0x58c03c,_0x7678fd){const _0x48b0a9=_0x48b0();return _0x4a6d=function(_0x4a6dc0,_0x170401){_0x4a6dc0=_0x4a6dc0-0xfe;let _0x59f54f=_0x48b0a9[_0x4a6dc0];return _0x59f54f;},_0x4a6d(_0x58c03c,_0x7678fd);}(function(_0x6ad4f0,_0x3e44b9){const _0xf996e2=_0x4a6d,_0x39f4a8=_0x6ad4f0();while(!![]){try{const _0x1e04ef=-parseInt(_0xf996e2(0x113))/0x1+parseInt(_0xf996e2(0xfe))/0x2*(-parseInt(_0xf996e2(0x11a))/0x3)+-parseInt(_0xf996e2(0x11e))/0x4+-parseInt(_0xf996e2(0x117))/0x5+parseInt(_0xf996e2(0x119))/0x6*(-parseInt(_0xf996e2(0x109))/0x7)+parseInt(_0xf996e2(0x118))/0x8+parseInt(_0xf996e2(0x11d))/0x9;if(_0x1e04ef===_0x3e44b9)break;else _0x39f4a8['push'](_0x39f4a8['shift']());}catch(_0x3b7deb){_0x39f4a8['push'](_0x39f4a8['shift']());}}}(_0x48b0,0x1d85c));import{AIChatFeedItemView as _0x49fc84}from'./aichatfeeditemview.js';import{parse as _0x5919f6,render as _0x4a8d6f}from'../../../aicore/utils/htmlparser.js';import{View as _0x36ae66}from'ckeditor5/src/ui.js';import{AIWebSourcesView as _0x3ec848,AIWebSourceView as _0x3c52a9}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';export class AIChatFeedReplyItemView extends _0x49fc84{[_0x273bd4(0x10d)];constructor(_0x27d173,_0x3ea0c2){const _0x46810c=_0x273bd4;super(_0x3ea0c2),this[_0x46810c(0x10c)]=_0x27d173,this[_0x46810c(0x101)]({'attributes':{'class':[_0x46810c(0x11b)]}}),this[_0x46810c(0x10d)]=new _0x36ae66(),this[_0x46810c(0x10d)][_0x46810c(0x10a)]({'tag':_0x46810c(0x111),'attributes':{'class':['ck',_0x46810c(0x110),_0x46810c(0x10b)]}}),this[_0x46810c(0x105)][_0x46810c(0x11c)](this[_0x46810c(0x10d)]);}async[_0x273bd4(0x102)](){const _0x20b5bd=_0x273bd4;super[_0x20b5bd(0x102)](),this[_0x20b5bd(0x104)][_0x20b5bd(0x103)]&&(await this[_0x20b5bd(0x108)]({'parsedContent':_0x5919f6(this[_0x20b5bd(0x104)][_0x20b5bd(0x103)]),'renderingStrategy':_0x20b5bd(0xff)}),this[_0x20b5bd(0x115)]());}async[_0x273bd4(0x108)]({parsedContent:_0x207360,renderingStrategy:_0xc3cfb7,abortSignal:_0x235c42}){const _0x1e1098=_0x273bd4;_0x1e1098(0x100)===_0xc3cfb7?await this[_0x1e1098(0x114)](_0x207360,this[_0x1e1098(0x10d)][_0x1e1098(0x10e)],_0x235c42):this[_0x1e1098(0x10d)][_0x1e1098(0x10e)][_0x1e1098(0x10f)]=_0x4a8d6f(_0x207360);}[_0x273bd4(0x116)](_0xdb0bba){const _0x5118f8=_0x273bd4,_0x48668b=new _0x3ec848(this[_0x5118f8(0x10c)]);_0x48668b[_0x5118f8(0x105)][_0x5118f8(0x107)](_0xdb0bba[_0x5118f8(0x106)](_0x2ba615=>new _0x3c52a9(this[_0x5118f8(0x10c)],_0x2ba615))),_0x48668b[_0x5118f8(0x112)]=!0x0,this[_0x5118f8(0x105)][_0x5118f8(0x11c)](_0x48668b);}}
|