@ckeditor/ckeditor5-ai 47.2.0-alpha.0 → 47.2.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/dist/index.js +5 -5
- package/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/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/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/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/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/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/index.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x1b8a75=_0x222c;(function(_0x58e89a,_0x3f9933){const _0x4bf5d3=_0x222c,_0x964f0=_0x58e89a();while(!![]){try{const _0xa4b0c6=-parseInt(_0x4bf5d3(0x1e6))/0x1*(parseInt(_0x4bf5d3(0x1e4))/0x2)+parseInt(_0x4bf5d3(0x1cf))/0x3*(-parseInt(_0x4bf5d3(0x1e9))/0x4)+parseInt(_0x4bf5d3(0x1df))/0x5*(-parseInt(_0x4bf5d3(0x1d5))/0x6)+-parseInt(_0x4bf5d3(0x1d4))/0x7*(parseInt(_0x4bf5d3(0x1dc))/0x8)+-parseInt(_0x4bf5d3(0x1e5))/0x9*(-parseInt(_0x4bf5d3(0x1ce))/0xa)+parseInt(_0x4bf5d3(0x1d6))/0xb*(-parseInt(_0x4bf5d3(0x1e8))/0xc)+parseInt(_0x4bf5d3(0x1d2))/0xd;if(_0xa4b0c6===_0x3f9933)break;else _0x964f0['push'](_0x964f0['shift']());}catch(_0x3c387f){_0x964f0['push'](_0x964f0['shift']());}}}(_0x4091,0xe9e74));import{ButtonView as _0x57fc00,View as _0x58227a}from'ckeditor5/src/ui.js';import{IconStop as _0x148b94}from'ckeditor5/src/icons.js';import{getTranslation as _0x35daf6}from'../../../aicore/utils/common-translations.js';function _0x222c(_0x4be0b1,_0x563529){const _0x40919a=_0x4091();return _0x222c=function(_0x222c55,_0x75b880){_0x222c55=_0x222c55-0x1ce;let _0x1eebf2=_0x40919a[_0x222c55];return _0x1eebf2;},_0x222c(_0x4be0b1,_0x563529);}export class AIChatControlsLoaderView extends _0x58227a{[_0x1b8a75(0x1dd)];[_0x1b8a75(0x1d3)];constructor(_0x3eebc1){const _0x303647=_0x1b8a75;super(_0x3eebc1),this[_0x303647(0x1dd)]=this[_0x303647(0x1db)](),this[_0x303647(0x1d3)]=this[_0x303647(0x1ed)](),this[_0x303647(0x1da)]({'tag':_0x303647(0x1e2),'attributes':{'class':['ck',_0x303647(0x1d0),_0x303647(0x1d9)]},'children':[this[_0x303647(0x1d3)],this[_0x303647(0x1dd)]]});}[_0x1b8a75(0x1db)](){const _0x30cc86=_0x1b8a75,_0x4994c2=new _0x57fc00(this[_0x30cc86(0x1d8)]);return _0x4994c2[_0x30cc86(0x1d1)]({'label':_0x35daf6(this[_0x30cc86(0x1d8)],_0x30cc86(0x1d7)),'withText':!0x0,'class':_0x30cc86(0x1eb),'icon':_0x148b94}),_0x4994c2['on'](_0x30cc86(0x1e7),()=>{const _0x31cb28=_0x30cc86;this[_0x31cb28(0x1ea)](_0x31cb28(0x1e1));}),_0x4994c2;}[_0x1b8a75(0x1ed)](){const _0x202904=_0x1b8a75,_0x54fe22=new _0x58227a(this[_0x202904(0x1d8)]);return _0x54fe22[_0x202904(0x1da)]({'tag':_0x202904(0x1e2),'attributes':{'class':[_0x202904(0x1ec)]},'children':[{'tag':_0x202904(0x1e2),'attributes':{'class':[_0x202904(0x1e0)]},'children':[{'tag':_0x202904(0x1e2),'attributes':{'class':[_0x202904(0x1de)]}},{'tag':_0x202904(0x1e2),'attributes':{'class':[_0x202904(0x1de)]}},{'tag':_0x202904(0x1e2),'attributes':{'class':[_0x202904(0x1de)]}}]},{'text':_0x35daf6(this[_0x202904(0x1d8)],_0x202904(0x1e3))}]}),_0x54fe22;}}function _0x4091(){const _0x2c5eaa=['_cancelButtonView','ck-ai-chat-controls-loader-icon-dot','15Yxffxx','ck-ai-chat-controls-loader-icon','abortPromptStream','div','AI_CHAT_IS_WRITING','25562AdGTQj','11208006jLhqaz','19oQqhyS','execute','1457340typtJZ','24ZYxKSV','fire','ck-ai-button-secondary\x20ck-ai-button-stop-generating','ck-ai-chat-controls-loader','_createLoaderView','10bfqRjQ','260343omRJth','ck-ai-chat-controls-loader-wrapper','set','28412436MuoKSG','_loaderView','1384187vmWXGU','2384772RTvjkV','11cCdAAa','AI_CHAT_STOP_GENERATING','locale','ck-reset_all','setTemplate','_createCancelButtonView','16MSBJow'];_0x4091=function(){return _0x2c5eaa;};return _0x4091();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x402d19=_0x1332;(function(_0x5e28d5,_0x5dff39){const _0x493c24=_0x1332,_0x226623=_0x5e28d5();while(!![]){try{const _0x5e5a16=parseInt(_0x493c24(0x1cc))/0x1+-parseInt(_0x493c24(0x215))/0x2*(-parseInt(_0x493c24(0x1e4))/0x3)+parseInt(_0x493c24(0x222))/0x4+-parseInt(_0x493c24(0x1cf))/0x5*(parseInt(_0x493c24(0x1e7))/0x6)+-parseInt(_0x493c24(0x1ee))/0x7+parseInt(_0x493c24(0x1c8))/0x8*(parseInt(_0x493c24(0x1d7))/0x9)+-parseInt(_0x493c24(0x1d2))/0xa*(-parseInt(_0x493c24(0x1fd))/0xb);if(_0x5e5a16===_0x5dff39)break;else _0x226623['push'](_0x226623['shift']());}catch(_0x3d2825){_0x226623['push'](_0x226623['shift']());}}}(_0x1d50,0x557b0));import{Collection as _0x195087}from'ckeditor5/src/utils.js';import{IconAI as _0x502d1c,IconBulb as _0x54a27f,IconWeb as _0x24d250}from'@ckeditor/ckeditor5-icons';import{addListToDropdown as _0x541c30,ButtonLabelView as _0x3b3591,ButtonView as _0x1ff45e,createDropdown as _0x1b8ab0,IconView as _0x388a85,UIModel as _0x277936,View as _0x44311d}from'ckeditor5/src/ui.js';import{getTranslation as _0x587cb4}from'../../../aicore/utils/common-translations.js';import{AIModels as _0x20f481}from'../../../aicore/model/aimodels.js';function _0x1332(_0x464a8c,_0x322b6c){const _0x1d50f0=_0x1d50();return _0x1332=function(_0x1332a5,_0x3401e2){_0x1332a5=_0x1332a5-0x1c1;let _0x4b6344=_0x1d50f0[_0x1332a5];return _0x4b6344;},_0x1332(_0x464a8c,_0x322b6c);}const yo=_0x402d19(0x1fb),Lo=_0x402d19(0x223),Go=_0x402d19(0x218),Yo=_0x402d19(0x204),qo=_0x402d19(0x1ca),zo=_0x402d19(0x20d),Fo=_0x402d19(0x208),Jo='n';function _0x1d50(){const _0x94b78d=['reasoning','ck-ai-chat-controls__model-name','AI_CHAT_ENABLE_WEB_SEARCH','tooltip','listenTo','modelSelectorVisible','ck-ai-chat__prompt-capabilities','setWebSearch','803869qXoyUc','isVisible','style','content','_reasoningButton','model','bindTemplate','ck-ai-chat-controls__model-selection','getLocalized','AI_CHAT_REASONING','startsWith','ck-ai-chat-controls__model-selection__item-capabilities','_createCommandsButton','bind','div','text','ck-ai-chat-controls__model-selection__item-description','buttonView','_createModelSelectionDropdown','AI_CHAT_ENABLE_REASONING','label','_webSearchButton','_commandsButton','ck-hidden','142ZNIqVq','log','menuitemradio','ck-ai-chat-controls-button--commands','_modelSelectionDropdown','isOn','length','setModelList','add','webSearchActive','ck-button__label','withText','AI_CHAT_DISABLE_WEB_SEARCH','919736WlRkwV','ck-ai-chat-controls-button','toggleWebSearch','span','source','AI_CHAT_CAPABILITIES_YES','AI_CHAT_COMMANDS','toggleReasoning','AI_CHAT_CAPABILITIES_NO','fire','set','8eAkoJt','activeModelName','ck-ai-chat-controls__model-selection__item-name','createCollection','100926MmBjIH','enableModelSelector','AI_CHAT_DISABLE_REASONING','170KsWtyK','setModel','addMany','10qQdufc','clear','_modelSelectionDropdownItems','_createModelNameView','isEnabled','5745231tHgKWf','enabled','_getCapabilityParts','capabilities','_createWebSearchButton','_modelNameView','activeModelId','Commands\x20are\x20not\x20implemented\x20yet.','modelSelectorEnabled','selectModel','setTemplate','AI_CHAT_MODEL_SELECTOR_DISABLED_TOOLTIP','agent','3783vtcNqL','disableModelSelector','webSearch','65334AjhqYi','reasoningActive','description','name','button','locale','_createReasoningButton','2880325KNrzsw','setReasoning','execute','AI_CHAT_MODEL_SELECTOR_ENABLED_TOOLTIP','AI_CHAT_SEARCH_WEB','toLowerCase','extendTemplate'];_0x1d50=function(){return _0x94b78d;};return _0x1d50();}export class AIChatPromptCapabilitiesView extends _0x44311d{[_0x402d19(0x212)];[_0x402d19(0x201)];[_0x402d19(0x213)];[_0x402d19(0x219)];[_0x402d19(0x1d4)];[_0x402d19(0x1dc)];constructor(_0x58c4aa){const _0x231d4a=_0x402d19;super(_0x58c4aa),this[_0x231d4a(0x1c7)](_0x231d4a(0x21e),!0x1),this[_0x231d4a(0x1c7)](_0x231d4a(0x1e8),!0x1),this[_0x231d4a(0x1c7)](_0x231d4a(0x1fa),!0x0),this[_0x231d4a(0x1c7)](_0x231d4a(0x1df),!0x0),this[_0x231d4a(0x1c7)](_0x231d4a(0x1dd),null),this[_0x231d4a(0x1c7)](_0x231d4a(0x1c9),null),this[_0x231d4a(0x219)]=this[_0x231d4a(0x20f)](),this[_0x231d4a(0x1dc)]=this[_0x231d4a(0x1d5)](),this[_0x231d4a(0x212)]=this[_0x231d4a(0x1db)](),this[_0x231d4a(0x201)]=this[_0x231d4a(0x1ed)](),this[_0x231d4a(0x213)]=this[_0x231d4a(0x209)](),this[_0x231d4a(0x219)][_0x231d4a(0x20e)][_0x231d4a(0x20a)](_0x231d4a(0x1fe))['to'](this,_0x231d4a(0x1fa),_0x56aa23=>_0x56aa23),this[_0x231d4a(0x219)][_0x231d4a(0x20e)][_0x231d4a(0x20a)](_0x231d4a(0x1f8))['to'](this,_0x231d4a(0x1df),_0x16770d=>_0x16770d?this[_0x231d4a(0x219)][_0x231d4a(0x20e)][_0x231d4a(0x211)]:_0x587cb4(this[_0x231d4a(0x1ec)],_0x231d4a(0x1e2))),this[_0x231d4a(0x219)][_0x231d4a(0x20a)](_0x231d4a(0x1d6))['to'](this,_0x231d4a(0x1df),_0x1a8236=>_0x1a8236),this[_0x231d4a(0x212)][_0x231d4a(0x20a)](_0x231d4a(0x21a))['to'](this,_0x231d4a(0x21e),_0x46f17f=>_0x46f17f),this[_0x231d4a(0x212)][_0x231d4a(0x20a)](_0x231d4a(0x220))['to'](this,_0x231d4a(0x1fa),_0x57decf=>!_0x57decf),this[_0x231d4a(0x212)][_0x231d4a(0x20a)](_0x231d4a(0x1f8))['to'](this,_0x231d4a(0x21e),_0x41bc51=>_0x587cb4(this[_0x231d4a(0x1ec)],_0x41bc51?_0x231d4a(0x221):_0x231d4a(0x1f7))),this[_0x231d4a(0x201)][_0x231d4a(0x20a)](_0x231d4a(0x21a))['to'](this,_0x231d4a(0x1e8),_0x3330f5=>_0x3330f5),this[_0x231d4a(0x201)][_0x231d4a(0x20a)](_0x231d4a(0x220))['to'](this,_0x231d4a(0x1fa),_0x2b9aec=>!_0x2b9aec),this[_0x231d4a(0x201)][_0x231d4a(0x20a)](_0x231d4a(0x1f8))['to'](this,_0x231d4a(0x1e8),_0x3f01c8=>_0x587cb4(this[_0x231d4a(0x1ec)],_0x3f01c8?_0x231d4a(0x1ce):_0x231d4a(0x210))),this[_0x231d4a(0x1e1)]({'tag':_0x231d4a(0x20b),'attributes':{'class':[yo]},'children':[this[_0x231d4a(0x219)],this[_0x231d4a(0x1dc)],this[_0x231d4a(0x212)],this[_0x231d4a(0x201)],this[_0x231d4a(0x213)]]}),this[_0x231d4a(0x1d4)]=new _0x195087(),_0x541c30(this[_0x231d4a(0x219)],this[_0x231d4a(0x1d4)]);}[_0x402d19(0x21c)](_0x31a56d,_0x29222c){const _0x4837a8=_0x402d19;if(this[_0x4837a8(0x1c7)](_0x4837a8(0x1fa),!(_0x29222c&&_0x31a56d[_0x4837a8(0x21b)]<=0x1)),this[_0x4837a8(0x1d4)][_0x4837a8(0x1d3)](),_0x31a56d?.[_0x4837a8(0x21b)]){const _0x20376a=_0x20f481[_0x4837a8(0x205)](this[_0x4837a8(0x1ec)],_0x31a56d);for(const _0x1cd7ac of _0x20376a){const _0x312843=new _0x277936({'label':_0x1cd7ac[_0x4837a8(0x1ea)],'withText':!0x0,'role':_0x4837a8(0x217),'id':_0x1cd7ac['id'],'model':_0x1cd7ac});_0x312843[_0x4837a8(0x20a)](_0x4837a8(0x21a))['to'](this,_0x4837a8(0x1dd),_0x53acba=>_0x53acba===_0x1cd7ac['id']),this[_0x4837a8(0x1d4)][_0x4837a8(0x21d)]({'type':_0x4837a8(0x1eb),'model':_0x312843,'labelView':new Ws(this[_0x4837a8(0x1ec)],_0x1cd7ac)});}}}[_0x402d19(0x1fc)](_0x39750a){const _0x32dc62=_0x402d19;this[_0x32dc62(0x1c7)](_0x32dc62(0x21e),_0x39750a);}[_0x402d19(0x1ef)](_0x172d66){const _0x446d2c=_0x402d19;this[_0x446d2c(0x1c7)](_0x446d2c(0x1e8),_0x172d66);}[_0x402d19(0x1d0)](_0x36858e){const _0x238d56=_0x402d19;if(!_0x36858e)return;this[_0x238d56(0x1dd)]=_0x36858e['id'],this[_0x238d56(0x1c9)]=_0x36858e[_0x238d56(0x1ea)]||_0x36858e['id'],this[_0x238d56(0x219)][_0x238d56(0x20e)][_0x238d56(0x1c7)](_0x238d56(0x211),_0x36858e[_0x238d56(0x1ea)]),this[_0x238d56(0x219)][_0x238d56(0x20e)][_0x238d56(0x1c7)](_0x238d56(0x1f8),_0x36858e[_0x238d56(0x1ea)]);const _0x1a01a4=_0x36858e[_0x238d56(0x1da)][_0x238d56(0x1e6)]?.[_0x238d56(0x1d8)]??!0x1;this[_0x238d56(0x1c7)](_0x238d56(0x21e),!0x1),this[_0x238d56(0x212)][_0x238d56(0x1c7)](_0x238d56(0x21a),!0x1),this[_0x238d56(0x212)][_0x238d56(0x1c7)](_0x238d56(0x1d6),_0x1a01a4),this[_0x238d56(0x212)][_0x238d56(0x1c7)](_0x238d56(0x1fe),_0x1a01a4);const _0x38b13e=_0x36858e[_0x238d56(0x1da)][_0x238d56(0x1f5)]?.[_0x238d56(0x1d8)]??!0x1;this[_0x238d56(0x1c7)](_0x238d56(0x1e8),!0x1),this[_0x238d56(0x201)][_0x238d56(0x1c7)](_0x238d56(0x21a),!0x1),this[_0x238d56(0x201)][_0x238d56(0x1c7)](_0x238d56(0x1d6),_0x38b13e),this[_0x238d56(0x201)][_0x238d56(0x1c7)](_0x238d56(0x1fe),_0x38b13e);}[_0x402d19(0x1cd)](){const _0x212d26=_0x402d19;this[_0x212d26(0x1c7)](_0x212d26(0x1df),!0x0),this[_0x212d26(0x1c7)](_0x212d26(0x1fa),!0x0);}[_0x402d19(0x1e5)](_0x52f7c3){const _0x97f381=_0x402d19;this[_0x97f381(0x1c7)](_0x97f381(0x1df),!0x1),_0x52f7c3&&this[_0x97f381(0x1c7)](_0x97f381(0x1fa),!0x1);}[_0x402d19(0x1db)](){const _0x19ac84=_0x402d19,_0x37a1b6=new _0x1ff45e();return _0x37a1b6[_0x19ac84(0x1c7)]({'label':_0x587cb4(this[_0x19ac84(0x1ec)],_0x19ac84(0x1f2)),'icon':_0x24d250,'class':Lo,'isToggleable':!0x0,'tooltipPosition':Jo}),_0x37a1b6['on'](_0x19ac84(0x1f0),()=>{const _0x3f4c11=_0x19ac84;this[_0x3f4c11(0x1c6)](_0x3f4c11(0x224));}),_0x37a1b6;}[_0x402d19(0x1ed)](){const _0x1edccf=_0x402d19,_0x37d879=new _0x1ff45e();return _0x37d879[_0x1edccf(0x1c7)]({'label':_0x587cb4(this[_0x1edccf(0x1ec)],_0x1edccf(0x206)),'icon':_0x54a27f,'class':Lo,'isToggleable':!0x0,'tooltipPosition':Jo}),_0x37d879['on'](_0x1edccf(0x1f0),()=>{const _0x4cc590=_0x1edccf;this[_0x4cc590(0x1c6)](_0x4cc590(0x1c4));}),_0x37d879;}[_0x402d19(0x209)](){const _0x57de20=_0x402d19,_0x215877=new _0x1ff45e();return _0x215877[_0x57de20(0x1c7)]({'label':_0x587cb4(this[_0x57de20(0x1ec)],_0x57de20(0x1c3)),'icon':_0x502d1c,'withText':!0x0,'class':Lo,'isToggleable':!0x0,'tooltip':_0x587cb4(this[_0x57de20(0x1ec)],_0x57de20(0x1c3)),'tooltipPosition':Jo}),_0x215877[_0x57de20(0x1f4)]({'attributes':{'class':[Go]}}),_0x215877['on'](_0x57de20(0x1f0),()=>{const _0x4510d9=_0x57de20;console[_0x4510d9(0x216)](_0x4510d9(0x1de)),alert(_0x4510d9(0x1de));}),_0x215877;}[_0x402d19(0x20f)](){const _0x2ea731=_0x402d19,_0x216ccb=_0x1b8ab0(this[_0x2ea731(0x1ec)]);return _0x216ccb[_0x2ea731(0x1c7)]({'panelPosition':'ne','class':[Yo]}),_0x216ccb[_0x2ea731(0x20e)][_0x2ea731(0x1c7)]({'label':_0x587cb4(this[_0x2ea731(0x1ec)],_0x2ea731(0x1f1)),'withText':!0x0,'tooltip':!0x0,'tooltipPosition':Jo}),this[_0x2ea731(0x1f9)](_0x216ccb,_0x2ea731(0x1f0),_0x280732=>{const _0x509e4e=_0x2ea731;this[_0x509e4e(0x1c6)](_0x509e4e(0x1e0),_0x280732[_0x509e4e(0x1c1)][_0x509e4e(0x202)]);}),_0x216ccb;}[_0x402d19(0x1d5)](){const _0x4b7a37=_0x402d19,_0x2b4172=new Ko(this[_0x4b7a37(0x1ec)]);return _0x2b4172[_0x4b7a37(0x20a)](_0x4b7a37(0x20c))['to'](this,_0x4b7a37(0x1c9),_0x475dd2=>_0x475dd2??''),_0x2b4172[_0x4b7a37(0x20a)](_0x4b7a37(0x1fe))['to'](this,_0x4b7a37(0x1fa),this,_0x4b7a37(0x1c9),(_0xb27f8e,_0x11bcc1)=>!_0xb27f8e&&!_0x11bcc1?.[_0x4b7a37(0x1f3)]()[_0x4b7a37(0x207)](_0x4b7a37(0x1e3))),_0x2b4172;}}class Ws extends _0x3b3591{constructor(_0xb2a12a,_0x3ef2f7){const _0x5e1024=_0x402d19;super();const _0x57475e=this[_0x5e1024(0x203)],_0x5ce0bc=this[_0x5e1024(0x1cb)]();this[_0x5e1024(0x1e1)]({'tag':_0x5e1024(0x20b),'attributes':{'class':['ck',_0x5e1024(0x21f)],'style':_0x57475e['to'](_0x5e1024(0x1ff)),'id':_0x57475e['to']('id')},'children':[{'tag':_0x5e1024(0x20b),'attributes':{'class':[qo]},'children':[{'text':_0x57475e['to'](_0x5e1024(0x20c))}]},{'tag':_0x5e1024(0x20b),'attributes':{'class':[zo]},'children':[{'tag':_0x5e1024(0x225),'children':[{'text':_0x3ef2f7[_0x5e1024(0x1e9)]}]}]},{'tag':_0x5e1024(0x20b),'attributes':{'class':[Fo]},'children':_0x5ce0bc}]}),_0x5ce0bc[_0x5e1024(0x1d1)](this[_0x5e1024(0x1d9)](_0xb2a12a,_0x24d250,_0x5e1024(0x1f2),_0x3ef2f7[_0x5e1024(0x1da)][_0x5e1024(0x1e6)]?.[_0x5e1024(0x1d8)]??!0x1)),_0x5ce0bc[_0x5e1024(0x1d1)](this[_0x5e1024(0x1d9)](_0xb2a12a,_0x54a27f,_0x5e1024(0x206),_0x3ef2f7[_0x5e1024(0x1da)][_0x5e1024(0x1f5)]?.[_0x5e1024(0x1d8)]??!0x1));}[_0x402d19(0x1d9)](_0x40ffcf,_0x55369e,_0x13c02c,_0x41e350){const _0x416c83=_0x402d19,_0x5a8265=new _0x388a85();_0x5a8265[_0x416c83(0x200)]=_0x55369e;const _0x49e273=new _0x44311d(_0x40ffcf);_0x49e273[_0x416c83(0x1e1)]({'tag':_0x416c83(0x225),'children':[{'text':_0x587cb4(_0x40ffcf,_0x13c02c)+':\x20'}]});const _0x39950a=new _0x44311d(_0x40ffcf);return _0x39950a[_0x416c83(0x1e1)]({'tag':_0x416c83(0x225),'children':[{'text':_0x587cb4(_0x40ffcf,_0x41e350?_0x416c83(0x1c2):_0x416c83(0x1c5))}]}),[_0x5a8265,_0x49e273,_0x39950a];}}class Ko extends _0x44311d{constructor(_0x2fed8d){const _0x5dcdb6=_0x402d19;super(_0x2fed8d),this[_0x5dcdb6(0x1c7)](_0x5dcdb6(0x20c),void 0x0),this[_0x5dcdb6(0x1c7)](_0x5dcdb6(0x1fe),!0x0);const _0x1baa13=this[_0x5dcdb6(0x203)];this[_0x5dcdb6(0x1e1)]({'tag':_0x5dcdb6(0x225),'attributes':{'class':['ck',_0x5dcdb6(0x1f6),_0x1baa13['if'](_0x5dcdb6(0x1fe),_0x5dcdb6(0x214),_0x14f50c=>!_0x14f50c)]},'children':[{'text':_0x1baa13['to'](_0x5dcdb6(0x20c))}]});}}
|
|
23
|
+
function _0x9945(_0x33ae94,_0x2007ba){const _0xc8f95b=_0xc8f9();return _0x9945=function(_0x99452f,_0x4178b4){_0x99452f=_0x99452f-0x11a;let _0x564f99=_0xc8f95b[_0x99452f];return _0x564f99;},_0x9945(_0x33ae94,_0x2007ba);}const _0x18e987=_0x9945;(function(_0xc91674,_0x23f196){const _0x3a162f=_0x9945,_0x582de2=_0xc91674();while(!![]){try{const _0x1a6821=parseInt(_0x3a162f(0x160))/0x1*(parseInt(_0x3a162f(0x178))/0x2)+-parseInt(_0x3a162f(0x173))/0x3+-parseInt(_0x3a162f(0x15f))/0x4*(parseInt(_0x3a162f(0x132))/0x5)+-parseInt(_0x3a162f(0x11d))/0x6*(parseInt(_0x3a162f(0x166))/0x7)+-parseInt(_0x3a162f(0x16f))/0x8+parseInt(_0x3a162f(0x175))/0x9*(parseInt(_0x3a162f(0x15d))/0xa)+-parseInt(_0x3a162f(0x133))/0xb*(-parseInt(_0x3a162f(0x140))/0xc);if(_0x1a6821===_0x23f196)break;else _0x582de2['push'](_0x582de2['shift']());}catch(_0x14820a){_0x582de2['push'](_0x582de2['shift']());}}}(_0xc8f9,0x7cb54));import{Collection as _0x1b0454}from'ckeditor5/src/utils.js';import{IconAI as _0x43e3b5,IconBulb as _0x5d4181,IconWeb as _0x133ebd}from'@ckeditor/ckeditor5-icons';import{addListToDropdown as _0x21ac21,ButtonLabelView as _0x36e636,ButtonView as _0xa1a29b,createDropdown as _0x180d1c,IconView as _0x41d8ee,UIModel as _0x4b24f6,View as _0x9d1870}from'ckeditor5/src/ui.js';import{getTranslation as _0x4903e8}from'../../../aicore/utils/common-translations.js';import{AIModels as _0x5ae62b}from'../../../aicore/model/aimodels.js';const yo=_0x18e987(0x165),Lo=_0x18e987(0x14d),Go=_0x18e987(0x138),Yo=_0x18e987(0x14e),qo=_0x18e987(0x15a),zo=_0x18e987(0x152),Fo=_0x18e987(0x164),Jo='n';export class AIChatPromptCapabilitiesView extends _0x9d1870{[_0x18e987(0x14f)];[_0x18e987(0x154)];[_0x18e987(0x149)];[_0x18e987(0x125)];[_0x18e987(0x143)];[_0x18e987(0x17b)];constructor(_0x24ca84){const _0x553691=_0x18e987;super(_0x24ca84),this[_0x553691(0x17c)](_0x553691(0x135),!0x1),this[_0x553691(0x17c)](_0x553691(0x17d),!0x1),this[_0x553691(0x17c)](_0x553691(0x150),!0x0),this[_0x553691(0x17c)](_0x553691(0x174),!0x0),this[_0x553691(0x17c)](_0x553691(0x15c),null),this[_0x553691(0x17c)](_0x553691(0x134),null),this[_0x553691(0x125)]=this[_0x553691(0x13d)](),this[_0x553691(0x17b)]=this[_0x553691(0x16d)](),this[_0x553691(0x14f)]=this[_0x553691(0x153)](),this[_0x553691(0x154)]=this[_0x553691(0x13e)](),this[_0x553691(0x149)]=this[_0x553691(0x12b)](),this[_0x553691(0x125)][_0x553691(0x163)][_0x553691(0x16a)](_0x553691(0x12f))['to'](this,_0x553691(0x150),_0x5f50b8=>_0x5f50b8),this[_0x553691(0x125)][_0x553691(0x163)][_0x553691(0x16a)](_0x553691(0x120))['to'](this,_0x553691(0x174),_0x1b8602=>_0x1b8602?this[_0x553691(0x125)][_0x553691(0x163)][_0x553691(0x13b)]:_0x4903e8(this[_0x553691(0x148)],_0x553691(0x145))),this[_0x553691(0x125)][_0x553691(0x16a)](_0x553691(0x137))['to'](this,_0x553691(0x174),_0x23dbf5=>_0x23dbf5),this[_0x553691(0x14f)][_0x553691(0x16a)](_0x553691(0x171))['to'](this,_0x553691(0x135),_0x3713ff=>_0x3713ff),this[_0x553691(0x14f)][_0x553691(0x16a)](_0x553691(0x13f))['to'](this,_0x553691(0x150),_0x20775b=>!_0x20775b),this[_0x553691(0x14f)][_0x553691(0x16a)](_0x553691(0x120))['to'](this,_0x553691(0x135),_0xc23944=>_0x4903e8(this[_0x553691(0x148)],_0xc23944?_0x553691(0x130):_0x553691(0x127))),this[_0x553691(0x154)][_0x553691(0x16a)](_0x553691(0x171))['to'](this,_0x553691(0x17d),_0x19ae1f=>_0x19ae1f),this[_0x553691(0x154)][_0x553691(0x16a)](_0x553691(0x13f))['to'](this,_0x553691(0x150),_0x5bafeb=>!_0x5bafeb),this[_0x553691(0x154)][_0x553691(0x16a)](_0x553691(0x120))['to'](this,_0x553691(0x17d),_0x4042e8=>_0x4903e8(this[_0x553691(0x148)],_0x4042e8?_0x553691(0x136):_0x553691(0x169))),this[_0x553691(0x17f)]({'tag':_0x553691(0x121),'attributes':{'class':[yo]},'children':[this[_0x553691(0x125)],this[_0x553691(0x17b)],this[_0x553691(0x14f)],this[_0x553691(0x154)],this[_0x553691(0x149)]]}),this[_0x553691(0x143)]=new _0x1b0454(),_0x21ac21(this[_0x553691(0x125)],this[_0x553691(0x143)]);}[_0x18e987(0x128)](_0xf3aa74,_0x300cbd){const _0x14ef15=_0x18e987;if(this[_0x14ef15(0x17c)](_0x14ef15(0x150),!(_0x300cbd&&_0xf3aa74[_0x14ef15(0x146)]<=0x1)),this[_0x14ef15(0x143)][_0x14ef15(0x11a)](),_0xf3aa74?.[_0x14ef15(0x146)]){const _0x5f295e=_0x5ae62b[_0x14ef15(0x17a)](this[_0x14ef15(0x148)],_0xf3aa74);for(const _0x7d2aec of _0x5f295e){const _0x3d3826=new _0x4b24f6({'label':_0x7d2aec[_0x14ef15(0x14a)],'withText':!0x0,'role':_0x14ef15(0x158),'id':_0x7d2aec['id'],'model':_0x7d2aec});_0x3d3826[_0x14ef15(0x16a)](_0x14ef15(0x171))['to'](this,_0x14ef15(0x15c),_0x3bc065=>_0x3bc065===_0x7d2aec['id']),this[_0x14ef15(0x143)][_0x14ef15(0x170)]({'type':_0x14ef15(0x16c),'model':_0x3d3826,'labelView':new Ws(this[_0x14ef15(0x148)],_0x7d2aec)});}}}[_0x18e987(0x14c)](_0x302682){const _0xd7f701=_0x18e987;this[_0xd7f701(0x17c)](_0xd7f701(0x135),_0x302682);}[_0x18e987(0x17e)](_0x42cd6f){const _0x5dac9b=_0x18e987;this[_0x5dac9b(0x17c)](_0x5dac9b(0x17d),_0x42cd6f);}[_0x18e987(0x168)](_0x5147dc){const _0x302171=_0x18e987;if(!_0x5147dc)return;this[_0x302171(0x15c)]=_0x5147dc['id'],this[_0x302171(0x134)]=_0x5147dc[_0x302171(0x14a)]||_0x5147dc['id'],this[_0x302171(0x125)][_0x302171(0x163)][_0x302171(0x17c)](_0x302171(0x13b),_0x5147dc[_0x302171(0x14a)]),this[_0x302171(0x125)][_0x302171(0x163)][_0x302171(0x17c)](_0x302171(0x120),_0x5147dc[_0x302171(0x14a)]);const _0x5a0e35=_0x5147dc[_0x302171(0x131)][_0x302171(0x14b)]?.[_0x302171(0x126)]??!0x1;this[_0x302171(0x17c)](_0x302171(0x135),!0x1),this[_0x302171(0x14f)][_0x302171(0x17c)](_0x302171(0x171),!0x1),this[_0x302171(0x14f)][_0x302171(0x17c)](_0x302171(0x137),_0x5a0e35),this[_0x302171(0x14f)][_0x302171(0x17c)](_0x302171(0x12f),_0x5a0e35);const _0x447fa2=_0x5147dc[_0x302171(0x131)][_0x302171(0x15e)]?.[_0x302171(0x126)]??!0x1;this[_0x302171(0x17c)](_0x302171(0x17d),!0x1),this[_0x302171(0x154)][_0x302171(0x17c)](_0x302171(0x171),!0x1),this[_0x302171(0x154)][_0x302171(0x17c)](_0x302171(0x137),_0x447fa2),this[_0x302171(0x154)][_0x302171(0x17c)](_0x302171(0x12f),_0x447fa2);}[_0x18e987(0x16e)](){const _0x4dc8d1=_0x18e987;this[_0x4dc8d1(0x17c)](_0x4dc8d1(0x174),!0x0),this[_0x4dc8d1(0x17c)](_0x4dc8d1(0x150),!0x0);}[_0x18e987(0x159)](_0x10183b){const _0x292d19=_0x18e987;this[_0x292d19(0x17c)](_0x292d19(0x174),!0x1),_0x10183b&&this[_0x292d19(0x17c)](_0x292d19(0x150),!0x1);}[_0x18e987(0x153)](){const _0x5254ec=_0x18e987,_0x11b482=new _0xa1a29b();return _0x11b482[_0x5254ec(0x17c)]({'label':_0x4903e8(this[_0x5254ec(0x148)],_0x5254ec(0x13a)),'icon':_0x133ebd,'class':Lo,'isToggleable':!0x0,'tooltipPosition':Jo}),_0x11b482['on'](_0x5254ec(0x161),()=>{const _0x111815=_0x5254ec;this[_0x111815(0x124)](_0x111815(0x167));}),_0x11b482;}[_0x18e987(0x13e)](){const _0x42e9f3=_0x18e987,_0x217f3b=new _0xa1a29b();return _0x217f3b[_0x42e9f3(0x17c)]({'label':_0x4903e8(this[_0x42e9f3(0x148)],_0x42e9f3(0x162)),'icon':_0x5d4181,'class':Lo,'isToggleable':!0x0,'tooltipPosition':Jo}),_0x217f3b['on'](_0x42e9f3(0x161),()=>{const _0xfbaa29=_0x42e9f3;this[_0xfbaa29(0x124)](_0xfbaa29(0x12d));}),_0x217f3b;}[_0x18e987(0x12b)](){const _0x20629c=_0x18e987,_0x40cc00=new _0xa1a29b();return _0x40cc00[_0x20629c(0x17c)]({'label':_0x4903e8(this[_0x20629c(0x148)],_0x20629c(0x11f)),'icon':_0x43e3b5,'withText':!0x0,'class':Lo,'isToggleable':!0x0,'tooltip':_0x4903e8(this[_0x20629c(0x148)],_0x20629c(0x11f)),'tooltipPosition':Jo}),_0x40cc00[_0x20629c(0x13c)]({'attributes':{'class':[Go]}}),_0x40cc00['on'](_0x20629c(0x161),()=>{const _0x2f57f9=_0x20629c;console[_0x2f57f9(0x122)](_0x2f57f9(0x12c)),alert(_0x2f57f9(0x12c));}),_0x40cc00;}[_0x18e987(0x13d)](){const _0x301534=_0x18e987,_0x516325=_0x180d1c(this[_0x301534(0x148)]);return _0x516325[_0x301534(0x17c)]({'panelPosition':'ne','class':[Yo]}),_0x516325[_0x301534(0x163)][_0x301534(0x17c)]({'label':_0x4903e8(this[_0x301534(0x148)],_0x301534(0x11c)),'withText':!0x0,'tooltip':!0x0,'tooltipPosition':Jo}),this[_0x301534(0x179)](_0x516325,_0x301534(0x161),_0x1ec27f=>{const _0x2135c2=_0x301534;this[_0x2135c2(0x124)](_0x2135c2(0x15b),_0x1ec27f[_0x2135c2(0x129)][_0x2135c2(0x16b)]);}),_0x516325;}[_0x18e987(0x16d)](){const _0x185db7=_0x18e987,_0x350563=new Ko(this[_0x185db7(0x148)]);return _0x350563[_0x185db7(0x16a)](_0x185db7(0x142))['to'](this,_0x185db7(0x134),_0x246d7d=>_0x246d7d??''),_0x350563[_0x185db7(0x16a)](_0x185db7(0x12f))['to'](this,_0x185db7(0x150),this,_0x185db7(0x134),(_0x80ad27,_0x5e59ee)=>!_0x80ad27&&!_0x5e59ee?.[_0x185db7(0x147)]()[_0x185db7(0x123)](_0x185db7(0x11b))),_0x350563;}}function _0xc8f9(){const _0x1d000e=['log','startsWith','fire','_modelSelectionDropdown','enabled','AI_CHAT_ENABLE_WEB_SEARCH','setModelList','source','description','_createCommandsButton','Commands\x20are\x20not\x20implemented\x20yet.','toggleReasoning','span','isVisible','AI_CHAT_DISABLE_WEB_SEARCH','capabilities','5ArmcVk','33GuZGax','activeModelName','webSearchActive','AI_CHAT_DISABLE_REASONING','isEnabled','ck-ai-chat-controls-button--commands','bindTemplate','AI_CHAT_SEARCH_WEB','label','extendTemplate','_createModelSelectionDropdown','_createReasoningButton','withText','4079076StLkmg','ck-hidden','text','_modelSelectionDropdownItems','style','AI_CHAT_MODEL_SELECTOR_DISABLED_TOOLTIP','length','toLowerCase','locale','_commandsButton','name','webSearch','setWebSearch','ck-ai-chat-controls-button','ck-ai-chat-controls__model-selection','_webSearchButton','modelSelectorVisible','_getCapabilityParts','ck-ai-chat-controls__model-selection__item-description','_createWebSearchButton','_reasoningButton','content','addMany','ck-button__label','menuitemradio','disableModelSelector','ck-ai-chat-controls__model-selection__item-name','selectModel','activeModelId','3691770fpmvYp','reasoning','2807224GNikyQ','5235KMVium','execute','AI_CHAT_REASONING','buttonView','ck-ai-chat-controls__model-selection__item-capabilities','ck-ai-chat__prompt-capabilities','7fbpOYD','toggleWebSearch','setModel','AI_CHAT_ENABLE_REASONING','bind','model','button','_createModelNameView','enableModelSelector','1110200uTDidS','add','isOn','AI_CHAT_CAPABILITIES_YES','1385733aWkhOW','modelSelectorEnabled','18dIfPIo','createCollection','ck-ai-chat-controls__model-name','116KBnKYl','listenTo','getLocalized','_modelNameView','set','reasoningActive','setReasoning','setTemplate','clear','agent','AI_CHAT_MODEL_SELECTOR_ENABLED_TOOLTIP','1490742lJmhgN','AI_CHAT_CAPABILITIES_NO','AI_CHAT_COMMANDS','tooltip','div'];_0xc8f9=function(){return _0x1d000e;};return _0xc8f9();}class Ws extends _0x36e636{constructor(_0x371cae,_0x2ee7c2){const _0x1105a9=_0x18e987;super();const _0x51a3ed=this[_0x1105a9(0x139)],_0x4a2a52=this[_0x1105a9(0x176)]();this[_0x1105a9(0x17f)]({'tag':_0x1105a9(0x121),'attributes':{'class':['ck',_0x1105a9(0x157)],'style':_0x51a3ed['to'](_0x1105a9(0x144)),'id':_0x51a3ed['to']('id')},'children':[{'tag':_0x1105a9(0x121),'attributes':{'class':[qo]},'children':[{'text':_0x51a3ed['to'](_0x1105a9(0x142))}]},{'tag':_0x1105a9(0x121),'attributes':{'class':[zo]},'children':[{'tag':_0x1105a9(0x12e),'children':[{'text':_0x2ee7c2[_0x1105a9(0x12a)]}]}]},{'tag':_0x1105a9(0x121),'attributes':{'class':[Fo]},'children':_0x4a2a52}]}),_0x4a2a52[_0x1105a9(0x156)](this[_0x1105a9(0x151)](_0x371cae,_0x133ebd,_0x1105a9(0x13a),_0x2ee7c2[_0x1105a9(0x131)][_0x1105a9(0x14b)]?.[_0x1105a9(0x126)]??!0x1)),_0x4a2a52[_0x1105a9(0x156)](this[_0x1105a9(0x151)](_0x371cae,_0x5d4181,_0x1105a9(0x162),_0x2ee7c2[_0x1105a9(0x131)][_0x1105a9(0x15e)]?.[_0x1105a9(0x126)]??!0x1));}[_0x18e987(0x151)](_0x585a47,_0x2b26d7,_0x1a58ae,_0x234019){const _0x1a8b4f=_0x18e987,_0x35d8e5=new _0x41d8ee();_0x35d8e5[_0x1a8b4f(0x155)]=_0x2b26d7;const _0x3d9b06=new _0x9d1870(_0x585a47);_0x3d9b06[_0x1a8b4f(0x17f)]({'tag':_0x1a8b4f(0x12e),'children':[{'text':_0x4903e8(_0x585a47,_0x1a58ae)+':\x20'}]});const _0x37d671=new _0x9d1870(_0x585a47);return _0x37d671[_0x1a8b4f(0x17f)]({'tag':_0x1a8b4f(0x12e),'children':[{'text':_0x4903e8(_0x585a47,_0x234019?_0x1a8b4f(0x172):_0x1a8b4f(0x11e))}]}),[_0x35d8e5,_0x3d9b06,_0x37d671];}}class Ko extends _0x9d1870{constructor(_0x501389){const _0x1489a8=_0x18e987;super(_0x501389),this[_0x1489a8(0x17c)](_0x1489a8(0x142),void 0x0),this[_0x1489a8(0x17c)](_0x1489a8(0x12f),!0x0);const _0x35be9a=this[_0x1489a8(0x139)];this[_0x1489a8(0x17f)]({'tag':_0x1489a8(0x12e),'attributes':{'class':['ck',_0x1489a8(0x177),_0x35be9a['if'](_0x1489a8(0x12f),_0x1489a8(0x141),_0x42361a=>!_0x42361a)]},'children':[{'text':_0x35be9a['to'](_0x1489a8(0x142))}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x275ec1=_0x5edc;(function(_0xfca25a,_0x310117){const _0x20e817=_0x5edc,_0x4bce01=_0xfca25a();while(!![]){try{const _0xd28410=-parseInt(_0x20e817(0x92))/0x1*(parseInt(_0x20e817(0x79))/0x2)+parseInt(_0x20e817(0xa5))/0x3*(parseInt(_0x20e817(0x70))/0x4)+-parseInt(_0x20e817(0x9b))/0x5*(-parseInt(_0x20e817(0x95))/0x6)+parseInt(_0x20e817(0xa2))/0x7*(parseInt(_0x20e817(0x8b))/0x8)+parseInt(_0x20e817(0x7a))/0x9+parseInt(_0x20e817(0x8a))/0xa+-parseInt(_0x20e817(0x96))/0xb;if(_0xd28410===_0x310117)break;else _0x4bce01['push'](_0x4bce01['shift']());}catch(_0x482dc2){_0x4bce01['push'](_0x4bce01['shift']());}}}(_0x1d85,0x38662));import{IconSubmit as _0x1ac168}from'ckeditor5/src/icons.js';function _0x5edc(_0x342915,_0x3ca20c){const _0x1d85fa=_0x1d85();return _0x5edc=function(_0x5edc2b,_0x12a51d){_0x5edc2b=_0x5edc2b-0x64;let _0x106458=_0x1d85fa[_0x5edc2b];return _0x106458;},_0x5edc(_0x342915,_0x3ca20c);}function _0x1d85(){const _0x42ac28=['extendTemplate','keystrokes','399WRLcJn','left','submitButtonView','48iOQmlY','ck-ai-chat__prompt-input','execute','hasError','MAX_ROWS','MIN_ROWS','locale','ck-ai-chat__prompt-submit-button','fieldWrapperChildren','setIsUploadInProgress','isEmpty','_addContextButtonView','AI_CHAT_LABEL_SUBMIT','31648KFNCRe','element','fire','isUploadInProgress','style','minRows','isEnabled','render','trim','2IRnsML','3684267ufncjg','window','_setUpAddContextButtonPositioning','rtl','requestAnimationFrame','sendUserMessage','update','setPlaceholderText','width','destroy','add','set','excludeScrollbarsAndBorders','errorText','right','bind','2485850rgZqwb','3584HxAHnk','enter','focusableChildren','_queryViewResizeObserver','px\x20-\x20var(--ck-spacing-tiny))','placeholder','submit','277540YUrtMb','AI_CHAT_PROMPT_EMPTY_ERROR','target','2532186EERqdH','7959127msqsxb','uiLanguageDirection','maxRows','calc(','_createSubmitButton','5OaUvqY','value','reset','fieldView','queryView'];_0x1d85=function(){return _0x42ac28;};return _0x1d85();}import{ButtonView as _0x2d7943,AutocompleteView as _0x2d55c4,createLabeledTextarea as _0x41914c}from'ckeditor5/src/ui.js';import{global as _0x509562,isVisible as _0xfaea46,Rect as _0x58e17a,ResizeObserver as _0x2e847d}from'ckeditor5/src/utils.js';import{getTranslation as _0x10f084}from'../../../aicore/utils/common-translations.js';import{AIChatPromptSuggestionsListView as _0x545814}from'./aichatpromptsuggestionslistview.js';import{escape as _0xe84878}from'es-toolkit/compat';export class AIChatPromptInputView extends _0x2d55c4{[_0x275ec1(0xa4)];static [_0x275ec1(0x68)]=0x1;static [_0x275ec1(0x67)]=0xc;[_0x275ec1(0x6e)];[_0x275ec1(0x8e)];constructor(_0x5d8fe0,_0x25fd5c){const _0x2397f6=_0x275ec1;super(_0x5d8fe0,{'queryView':{'label':'','creator':_0x41914c,'showIcon':!0x1,'showResetButton':!0x1},'filteredView':new _0x545814(_0x5d8fe0),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1}),this[_0x2397f6(0x85)](_0x2397f6(0x6d),!0x0),this[_0x2397f6(0x85)](_0x2397f6(0x73),!0x1),this[_0x2397f6(0x6e)]=_0x25fd5c,this[_0x2397f6(0x8e)]=null,this[_0x2397f6(0x9f)][_0x2397f6(0x9e)][_0x2397f6(0x75)]=AIChatPromptInputView[_0x2397f6(0x68)],this[_0x2397f6(0x9f)][_0x2397f6(0x9e)][_0x2397f6(0x98)]=AIChatPromptInputView[_0x2397f6(0x67)],this[_0x2397f6(0x9f)][_0x2397f6(0x6b)][_0x2397f6(0x84)](this[_0x2397f6(0x6e)]),this[_0x2397f6(0x7c)](),this[_0x2397f6(0xa0)]({'attributes':{'class':['ck',_0x2397f6(0x64)]}}),this[_0x2397f6(0xa4)]=this[_0x2397f6(0x9a)](),this[_0x2397f6(0xa4)][_0x2397f6(0x89)](_0x2397f6(0x76))['to'](this,_0x2397f6(0x6d),this,_0x2397f6(0x73),(_0x4e6b93,_0x1dbf38)=>!_0x4e6b93&&!_0x1dbf38),this[_0x2397f6(0x8d)][_0x2397f6(0x84)](this[_0x2397f6(0xa4)]);}[_0x275ec1(0x77)](){const _0x58c3de=_0x275ec1;super[_0x58c3de(0x77)](),this[_0x58c3de(0x9f)][_0x58c3de(0x6b)][_0x58c3de(0x84)](this[_0x58c3de(0xa4)]),this[_0x58c3de(0xa1)][_0x58c3de(0x85)](_0x58c3de(0x8c),(_0x2878b6,_0x5c9eec)=>{const _0x3ead81=_0x58c3de;this[_0x3ead81(0x73)]||this[_0x3ead81(0x6d)]||_0x2878b6[_0x3ead81(0x94)]==this[_0x3ead81(0x9f)][_0x3ead81(0x9e)][_0x3ead81(0x71)]&&(this[_0x3ead81(0x91)](),_0x5c9eec());}),this[_0x58c3de(0x9f)][_0x58c3de(0x9e)]['on'](_0x58c3de(0x80),()=>{const _0x16f72c=_0x58c3de;this[_0x16f72c(0x6d)]=''===this[_0x16f72c(0x9f)][_0x16f72c(0x9e)][_0x16f72c(0x71)][_0x16f72c(0x9c)]?.[_0x16f72c(0x78)]();});}[_0x275ec1(0x83)](){const _0x4843c2=_0x275ec1;super[_0x4843c2(0x83)](),this[_0x4843c2(0x8e)]&&this[_0x4843c2(0x8e)][_0x4843c2(0x83)]();}[_0x275ec1(0x91)](){const _0x3c70c4=_0x275ec1,_0x2bdd7b=this[_0x3c70c4(0x9f)][_0x3c70c4(0x9e)][_0x3c70c4(0x71)][_0x3c70c4(0x9c)]?.[_0x3c70c4(0x78)]();if(!_0x2bdd7b)return this[_0x3c70c4(0x9f)][_0x3c70c4(0x87)]=_0x10f084(this[_0x3c70c4(0x69)],_0x3c70c4(0x93)),void(this[_0x3c70c4(0x9f)][_0x3c70c4(0x9e)][_0x3c70c4(0x66)]=!0x0);this[_0x3c70c4(0x9f)][_0x3c70c4(0x9e)][_0x3c70c4(0x66)]=!0x1;const _0x3720f2=_0xe84878(_0x2bdd7b);this[_0x3c70c4(0x72)](_0x3c70c4(0x7f),_0x3720f2),this[_0x3c70c4(0x9f)][_0x3c70c4(0x9e)][_0x3c70c4(0x9d)]();}[_0x275ec1(0x81)](_0x249e72){const _0x235268=_0x275ec1;this[_0x235268(0x9f)][_0x235268(0x9e)][_0x235268(0x85)](_0x235268(0x90),_0x249e72);}[_0x275ec1(0x9a)](){const _0x187204=_0x275ec1,_0x247a1a=new _0x2d7943(this[_0x187204(0x69)]);return _0x247a1a[_0x187204(0x85)]({'icon':_0x1ac168,'label':_0x10f084(this[_0x187204(0x69)],_0x187204(0x6f)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x187204(0x6a),'isEnabled':!0x1}),_0x247a1a['on'](_0x187204(0x65),()=>{const _0x5ea83f=_0x187204;this[_0x5ea83f(0x91)]();}),_0x247a1a;}[_0x275ec1(0x6c)](_0x3d5340){const _0x1e86b7=_0x275ec1;this[_0x1e86b7(0x73)]=_0x3d5340;}[_0x275ec1(0x7c)](){const _0x58c2b8=_0x275ec1,_0x30b346=this[_0x58c2b8(0x69)],_0x321da5=()=>{const _0xd04292=_0x58c2b8;_0x509562[_0xd04292(0x7b)][_0xd04292(0x7e)](()=>{const _0x57d766=_0xd04292;if(_0xfaea46(this[_0x57d766(0x71)])){const _0x2cda23=new _0x58e17a(this[_0x57d766(0x9f)][_0x57d766(0x9e)][_0x57d766(0x71)]),_0x4a5f82=new _0x58e17a(this[_0x57d766(0x6e)][_0x57d766(0x71)]),_0x7d5d27=_0x2cda23[_0x57d766(0x82)],_0x55bf81=_0x57d766(0x7d)===_0x30b346[_0x57d766(0x97)]?_0x57d766(0x88):_0x57d766(0xa3);_0x2cda23[_0x57d766(0x86)]();const _0x118987=_0x7d5d27-_0x2cda23[_0x57d766(0x82)]+0x1;this[_0x57d766(0x6e)][_0x57d766(0x71)][_0x57d766(0x74)][_0x55bf81]=_0x57d766(0x99)+(_0x7d5d27-_0x4a5f82[_0x57d766(0x82)]-_0x118987)+_0x57d766(0x8f);}});};this[_0x58c2b8(0x9f)][_0x58c2b8(0x9e)]['on'](_0x58c2b8(0x80),_0x321da5),this['on'](_0x58c2b8(0x77),()=>{const _0x49d0b6=_0x58c2b8;_0x321da5(),this[_0x49d0b6(0x8e)]=new _0x2e847d(this[_0x49d0b6(0x9f)][_0x49d0b6(0x9e)][_0x49d0b6(0x71)],()=>{_0x321da5();});});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x103777=_0x4e3b;(function(_0x28a4d6,_0x4ef638){const _0x2c030e=_0x4e3b,_0x3348a4=_0x28a4d6();while(!![]){try{const _0xf8048a=parseInt(_0x2c030e(0x91))/0x1*(parseInt(_0x2c030e(0x8d))/0x2)+parseInt(_0x2c030e(0x90))/0x3+parseInt(_0x2c030e(0x96))/0x4*(-parseInt(_0x2c030e(0x92))/0x5)+parseInt(_0x2c030e(0x97))/0x6+parseInt(_0x2c030e(0x8c))/0x7*(-parseInt(_0x2c030e(0x8e))/0x8)+parseInt(_0x2c030e(0x93))/0x9+-parseInt(_0x2c030e(0x8b))/0xa;if(_0xf8048a===_0x4ef638)break;else _0x3348a4['push'](_0x3348a4['shift']());}catch(_0x4f1868){_0x3348a4['push'](_0x3348a4['shift']());}}}(_0x3211,0x1c2da));function _0x4e3b(_0x540b7f,_0x325f10){const _0x32114d=_0x3211();return _0x4e3b=function(_0x4e3b35,_0x9e0c0){_0x4e3b35=_0x4e3b35-0x8b;let _0x502564=_0x32114d[_0x4e3b35];return _0x502564;},_0x4e3b(_0x540b7f,_0x325f10);}function _0x3211(){const _0x3a71d7=['8nIhMvv','1274682VNyCsl','4606740oWEBUj','110243fdCUvz','1990ronwjt','40SFdkFP','filter','690756aOeVpj','101uyGbdI','51855tXCiQR','1191465OyIDCV','items','length'];_0x3211=function(){return _0x3a71d7;};return _0x3211();}import{ListView as _0x3e59ae}from'ckeditor5/src/ui.js';export class AIChatPromptSuggestionsListView extends _0x3e59ae{[_0x103777(0x8f)](){const _0x45ec78=_0x103777;let _0xc24a03=0x0;for(const _0x40c33f of this[_0x45ec78(0x94)])_0xc24a03+=_0x40c33f[_0x45ec78(0x94)][_0x45ec78(0x95)];return{'resultsCount':_0xc24a03,'totalItemsCount':_0xc24a03};}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1aff10=_0x2a75;function _0x2a75(_0x1e9d9d,_0x370f65){const _0x151429=_0x1514();return _0x2a75=function(_0x2a7510,_0x33daef){_0x2a7510=_0x2a7510-0x1bf;let _0x4f14f7=_0x151429[_0x2a7510];return _0x4f14f7;},_0x2a75(_0x1e9d9d,_0x370f65);}(function(_0xbdbda4,_0x45e300){const _0x560a4d=_0x2a75,_0x5d1747=_0xbdbda4();while(!![]){try{const _0x2d9d78=parseInt(_0x560a4d(0x1dc))/0x1+-parseInt(_0x560a4d(0x1c3))/0x2*(parseInt(_0x560a4d(0x1c1))/0x3)+-parseInt(_0x560a4d(0x1d8))/0x4+-parseInt(_0x560a4d(0x1de))/0x5*(parseInt(_0x560a4d(0x1ca))/0x6)+-parseInt(_0x560a4d(0x1dd))/0x7*(parseInt(_0x560a4d(0x1cb))/0x8)+-parseInt(_0x560a4d(0x1db))/0x9*(parseInt(_0x560a4d(0x1bf))/0xa)+parseInt(_0x560a4d(0x1d4))/0xb;if(_0x2d9d78===_0x45e300)break;else _0x5d1747['push'](_0x5d1747['shift']());}catch(_0x38f2c8){_0x5d1747['push'](_0x5d1747['shift']());}}}(_0x1514,0xc65cd));import{ListView as _0x3c0c10}from'ckeditor5/src/ui.js';function _0x1514(){const _0xe4d818=['fire','54200278LCtjKI','extendTemplate','items','_source','4176752LzsIVj','execute','ck-ai-chat-resources__list','593037zLgwKY','759167RLmXav','77pSUNHz','7233455owCHcV','filter','test','10PdRrfJ','trim','189RtQRyA','replace','32006VETfts','\x5c$&','add','setResources','highlightText','_handleResourceSelection','resource','6rkiVmj','952008suqOFH','useDefaultFiltering','forEach','addResourceToContext','locale','updateResourceState','clear','label'];_0x1514=function(){return _0xe4d818;};return _0x1514();}import{AIChatResourceListItemView as _0x2216b2}from'./aichatresourcelistitemview.js';const sc=_0x1aff10(0x1da);export class AIChatContextResourcesListView extends _0x3c0c10{[_0x1aff10(0x1d7)];constructor(_0x1f0d83,_0x46176e){const _0x55e7a1=_0x1aff10;super(_0x1f0d83),this[_0x55e7a1(0x1d7)]=_0x46176e,this[_0x55e7a1(0x1d5)]({'attributes':{'class':[sc]}});}[_0x1aff10(0x1c6)](_0x4bf31e,_0x461524){const _0xaadbb3=_0x1aff10;this[_0xaadbb3(0x1d6)][_0xaadbb3(0x1d1)]();let _0x225ef0=_0x4bf31e;if(this[_0xaadbb3(0x1d7)][_0xaadbb3(0x1cc)]&&_0x461524&&''!==_0x461524[_0xaadbb3(0x1c0)]()){const _0x5c7132=new RegExp(_0x461524[_0xaadbb3(0x1c2)](/[.*+?^${}()|[\]\\]/g,_0xaadbb3(0x1c4)),'gi');_0x225ef0=_0x4bf31e[_0xaadbb3(0x1df)](_0x55a46b=>_0x5c7132[_0xaadbb3(0x1e0)](_0x55a46b[_0xaadbb3(0x1d2)]));}for(const _0x5a46a8 of _0x225ef0){const _0x58a9c9=new _0x2216b2(this[_0xaadbb3(0x1cf)],_0x5a46a8);_0x58a9c9['on'](_0xaadbb3(0x1d9),()=>{const _0x4c1078=_0xaadbb3;this[_0x4c1078(0x1c8)](this[_0x4c1078(0x1d7)],_0x5a46a8);}),this[_0xaadbb3(0x1d6)][_0xaadbb3(0x1c5)](_0x58a9c9);}this[_0xaadbb3(0x1d7)][_0xaadbb3(0x1cc)]&&this[_0xaadbb3(0x1c7)](_0x461524);}[_0x1aff10(0x1c7)](_0x452c4e){const _0x2b3fa7=_0x1aff10;this[_0x2b3fa7(0x1d7)][_0x2b3fa7(0x1cc)]&&this[_0x2b3fa7(0x1d6)][_0x2b3fa7(0x1cd)](_0x18ed1c=>{const _0x1fc8b2=_0x2b3fa7;_0x18ed1c[_0x1fc8b2(0x1c7)](_0x452c4e);});}[_0x1aff10(0x1d0)](_0x4366ac,_0x3a0569){const _0x5c72d9=_0x1aff10;for(const _0x1b577f of this[_0x5c72d9(0x1d6)]){const _0xb38ca4=_0x1b577f;_0xb38ca4[_0x5c72d9(0x1c9)]['id']===_0x4366ac&&_0xb38ca4[_0x5c72d9(0x1d0)](_0x3a0569);}}[_0x1aff10(0x1c8)](_0x58b6cb,_0xb124e6){const _0x49aef6=_0x1aff10;this[_0x49aef6(0x1d3)](_0x49aef6(0x1ce),{'source':_0x58b6cb,'resource':_0xb124e6});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2125cc=_0x12b6;(function(_0x337e9f,_0x3c68b1){const _0x2ca839=_0x12b6,_0x512d87=_0x337e9f();while(!![]){try{const _0x3a598d=-parseInt(_0x2ca839(0x119))/0x1*(parseInt(_0x2ca839(0x111))/0x2)+parseInt(_0x2ca839(0x126))/0x3*(parseInt(_0x2ca839(0x127))/0x4)+-parseInt(_0x2ca839(0x124))/0x5*(-parseInt(_0x2ca839(0x10b))/0x6)+parseInt(_0x2ca839(0x117))/0x7*(-parseInt(_0x2ca839(0x121))/0x8)+parseInt(_0x2ca839(0x110))/0x9+parseInt(_0x2ca839(0x11b))/0xa+-parseInt(_0x2ca839(0x137))/0xb;if(_0x3a598d===_0x3c68b1)break;else _0x512d87['push'](_0x512d87['shift']());}catch(_0x3fdfaa){_0x512d87['push'](_0x512d87['shift']());}}}(_0xd04a,0xafa1e));import{View as _0x49b3be,ViewCollection as _0x1d0c18}from'ckeditor5/src/ui.js';import{uid as _0xc72a26}from'ckeditor5/src/utils.js';function _0x12b6(_0x5450c1,_0x3a8854){const _0xd04a99=_0xd04a();return _0x12b6=function(_0x12b68d,_0x49e08b){_0x12b68d=_0x12b68d-0x109;let _0x2a9b71=_0xd04a99[_0x12b68d];return _0x2a9b71;},_0x12b6(_0x5450c1,_0x3a8854);}import{AIChatContextResourcesListView as _0x144336}from'./aichatcontextresourceslistview.js';function _0xd04a(){const _0x89575d=['_skeletonLoader','ck-hidden','extendTemplate','8199909HnKcPQ','3406ITgiDL','addResourceToContext','_createSearchSection','aiChatResources','search','setResources','8561pTqLKl','add','3kpvcHV','_searchView','4143100spcbln','getQuery','children','_createSkeletonView','length','_resourcesListView','4008XywBcJ','loadSourceResources','render','5SxBPce','fire','22245YgQVaV','612AFwpvQ','_createSearchView','ck\x20ck-search','useDefaultFiltering','_createResourcesListView','locale','bindTemplate','source','has','highlightText','_searchInputVisibleFrom','_searchSection','loadResources','setTemplate','ck-ai-chat-resources','div','26316334DbgYMe','isLoading','searchInputVisibleFrom','updateResourceState','set','delegate','_latestLoadResourcesUid','7618260keJhMq','_source'];_0xd04a=function(){return _0x89575d;};return _0xd04a();}import{AIChatContextResourcesSearchInputView as _0x191411}from'./aichatresourcessearchinputview.js';import{AISkeletonView as _0x16a964,SKELETON_DEFINITIONS as _0x4848b7}from'../../../../aicore/ui/aiskeleton.js';export class AIChatContextResourcesView extends _0x49b3be{[_0x2125cc(0x11a)];[_0x2125cc(0x132)];[_0x2125cc(0x131)];[_0x2125cc(0x120)];[_0x2125cc(0x10d)];[_0x2125cc(0x10c)];[_0x2125cc(0x11d)];[_0x2125cc(0x10a)]=null;constructor(_0x4e3636,_0x41d46d){const _0x4e9120=_0x2125cc;super(_0x4e3636),this[_0x4e9120(0x10c)]=_0x41d46d[_0x4e9120(0x12e)],this[_0x4e9120(0x131)]=_0x41d46d[_0x4e9120(0x139)]??0x7,this[_0x4e9120(0x13b)](_0x4e9120(0x138),!0x0),this[_0x4e9120(0x11a)]=this[_0x4e9120(0x128)](),this[_0x4e9120(0x132)]=this[_0x4e9120(0x113)](),this[_0x4e9120(0x120)]=this[_0x4e9120(0x12b)](),this[_0x4e9120(0x10d)]=this[_0x4e9120(0x11e)](),this[_0x4e9120(0x11d)]=new _0x1d0c18([this[_0x4e9120(0x10d)],this[_0x4e9120(0x120)]]),this[_0x4e9120(0x134)]({'tag':_0x4e9120(0x136),'attributes':{'class':_0x4e9120(0x135)},'children':this[_0x4e9120(0x11d)]});}[_0x2125cc(0x128)](){const _0x4dcce6=_0x2125cc;return new _0x191411(this[_0x4dcce6(0x12c)]);}[_0x2125cc(0x113)](){const _0x298aa6=_0x2125cc,_0x3443f8=new _0x49b3be(this[_0x298aa6(0x12c)]);return _0x3443f8[_0x298aa6(0x134)]({'tag':_0x298aa6(0x136),'attributes':{'class':_0x298aa6(0x129)},'children':[this[_0x298aa6(0x11a)]]}),this[_0x298aa6(0x11a)]['on'](_0x298aa6(0x115),(_0x5bbbbf,_0x3ead67)=>{const _0x4b550a=_0x298aa6;this[_0x4b550a(0x133)](_0x3ead67),this[_0x4b550a(0x10c)][_0x4b550a(0x12a)]&&this[_0x4b550a(0x120)][_0x4b550a(0x130)](_0x3ead67);}),_0x3443f8;}[_0x2125cc(0x12b)](){const _0x592bd5=_0x2125cc,_0x2928c3=new _0x144336(this[_0x592bd5(0x12c)],this[_0x592bd5(0x10c)]);return _0x2928c3[_0x592bd5(0x109)](_0x592bd5(0x112))['to'](this),_0x2928c3[_0x592bd5(0x10f)]({'attributes':{'class':this[_0x592bd5(0x12d)]['if'](_0x592bd5(0x138),_0x592bd5(0x10e))}}),_0x2928c3;}[_0x2125cc(0x11e)](){const _0x30ac3a=_0x2125cc,_0x828a24=new _0x16a964(this[_0x30ac3a(0x12c)],_0x4848b7[_0x30ac3a(0x114)]);return _0x828a24[_0x30ac3a(0x10f)]({'attributes':{'class':[this[_0x30ac3a(0x12d)]['if'](_0x30ac3a(0x138),_0x30ac3a(0x10e),_0x3ec853=>!_0x3ec853)]}}),_0x828a24;}[_0x2125cc(0x123)](){const _0x5c1bbc=_0x2125cc;super[_0x5c1bbc(0x123)](),this[_0x5c1bbc(0x133)]('');}[_0x2125cc(0x133)](_0x4038b6){const _0x214302=_0x2125cc,_0x45206a=_0xc72a26();this[_0x214302(0x10a)]=_0x45206a,this[_0x214302(0x125)](_0x214302(0x122),{'sourceId':this[_0x214302(0x10c)]['id'],'query':_0x4038b6,'uid':_0x45206a}),this[_0x214302(0x138)]=!0x0;}[_0x2125cc(0x116)](_0x2eeb48,_0x2340e8){const _0x10f65b=_0x2125cc;if(_0x2340e8&&_0x2340e8!==this[_0x10f65b(0x10a)])return;const _0x51e12b=this[_0x10f65b(0x10c)][_0x10f65b(0x12a)]?this[_0x10f65b(0x11a)][_0x10f65b(0x11c)]():'';this[_0x10f65b(0x120)][_0x10f65b(0x116)](_0x2eeb48,_0x51e12b),_0x2eeb48[_0x10f65b(0x11f)]>=this[_0x10f65b(0x131)]&&!this[_0x10f65b(0x11d)][_0x10f65b(0x12f)](this[_0x10f65b(0x132)])&&this[_0x10f65b(0x11d)][_0x10f65b(0x118)](this[_0x10f65b(0x132)],0x0),requestAnimationFrame(()=>{const _0x52f983=_0x10f65b;this[_0x52f983(0x138)]=!0x1;});}[_0x2125cc(0x13a)](_0x2852b5,_0x591f3d){const _0x369e9d=_0x2125cc;this[_0x369e9d(0x120)][_0x369e9d(0x13a)](_0x2852b5,_0x591f3d);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x3b3d(_0x40c514,_0x57cc3f){const _0x1e650c=_0x1e65();return _0x3b3d=function(_0x3b3de0,_0x2d7866){_0x3b3de0=_0x3b3de0-0xbd;let _0x21e63f=_0x1e650c[_0x3b3de0];return _0x21e63f;},_0x3b3d(_0x40c514,_0x57cc3f);}const _0x1a756a=_0x3b3d;(function(_0x5ebb0f,_0x395b36){const _0x5c621b=_0x3b3d,_0x2ebe30=_0x5ebb0f();while(!![]){try{const _0x21ec54=-parseInt(_0x5c621b(0xe8))/0x1*(-parseInt(_0x5c621b(0xe7))/0x2)+parseInt(_0x5c621b(0xbf))/0x3*(-parseInt(_0x5c621b(0xbd))/0x4)+-parseInt(_0x5c621b(0xd5))/0x5*(parseInt(_0x5c621b(0xd2))/0x6)+parseInt(_0x5c621b(0xc6))/0x7*(-parseInt(_0x5c621b(0xc4))/0x8)+-parseInt(_0x5c621b(0xd3))/0x9+-parseInt(_0x5c621b(0xce))/0xa+-parseInt(_0x5c621b(0xcd))/0xb*(-parseInt(_0x5c621b(0xdd))/0xc);if(_0x21ec54===_0x395b36)break;else _0x2ebe30['push'](_0x2ebe30['shift']());}catch(_0x248c53){_0x2ebe30['push'](_0x2ebe30['shift']());}}}(_0x1e65,0x70473));import{HighlightedTextView as _0x51916f,IconView as _0x27385b,ListItemView as _0x5e76f4}from'ckeditor5/src/ui.js';import{escapeRegExp as _0x3963ea}from'es-toolkit/compat';import{AIContextItemType as _0x371c5b}from'../../../../aicore/model/aicontext.js';function _0x1e65(){const _0x421d23=['isInContext','46iXEIdY','27039EMXepu','trim','div','16HuAiBJ','TEXT','117972cqKPYa','type','_titleView','render','label','38320RvtwcS','ck-ai-chat-resources__item','462HhWgkH','FILE','ck-ai-chat-resources__item--in-context','DOCUMENT','_iconView','setTemplate','_setupTemplate','11ZDitnJ','5186300VXnxQW','_updateIcon','ck-ai-chat-resources__item__icon','execute','60RZBSVf','6806691jpuTdr','highlightText','190700aYJIBC','set','bindTemplate','ck-ai-chat-resources__item-title','updateResourceState','_createTitleView','content','ck-hidden','23613108cAtUpR','getResourceIcon','text','URL','isVisible','resource','extendTemplate','span','_createIconView'];_0x1e65=function(){return _0x421d23;};return _0x1e65();}import{IconFileUpload as _0x78c474,IconCheck as _0x544764,IconDocument as _0x3bba59,IconDocumentOutline as _0x593d73,IconLink as _0x10ed3b}from'@ckeditor/ckeditor5-icons';const zr=_0x1a756a(0xc5),Br=_0x1a756a(0xc8),Gr=_0x1a756a(0xd8),Hr=_0x1a756a(0xd0);export class AIChatResourceListItemView extends _0x5e76f4{[_0x1a756a(0xe2)];[_0x1a756a(0xc1)];[_0x1a756a(0xca)];constructor(_0x93a843,_0x35b4fc){const _0x46c42b=_0x1a756a;super(_0x93a843),this[_0x46c42b(0xe2)]=_0x35b4fc,this[_0x46c42b(0xd6)](_0x46c42b(0xe6),!!_0x35b4fc[_0x46c42b(0xe6)]),this[_0x46c42b(0xc1)]=this[_0x46c42b(0xda)](),this[_0x46c42b(0xca)]=this[_0x46c42b(0xe5)](),this[_0x46c42b(0xcc)]();}[_0x1a756a(0xc2)](){const _0x4b5e90=_0x1a756a;super[_0x4b5e90(0xc2)]();}[_0x1a756a(0xde)](_0x119cf7){const _0x3ac8e7=_0x1a756a;if(_0x119cf7[_0x3ac8e7(0xe6)])return _0x544764;switch(_0x119cf7[_0x3ac8e7(0xc0)]){case _0x371c5b[_0x3ac8e7(0xc9)]:return _0x3bba59;case _0x371c5b[_0x3ac8e7(0xe0)]:return _0x10ed3b;case _0x371c5b[_0x3ac8e7(0xc7)]:case _0x371c5b[_0x3ac8e7(0xbe)]:return _0x78c474;default:return _0x593d73;}}[_0x1a756a(0xd4)](_0x3c08b2){const _0xfd2132=_0x1a756a;if(!_0x3c08b2||''===_0x3c08b2[_0xfd2132(0xe9)]())return void this[_0xfd2132(0xc1)][_0xfd2132(0xd4)](null);const _0xabcfa9=new RegExp(_0x3963ea(_0x3c08b2),'gi');this[_0xfd2132(0xc1)][_0xfd2132(0xd4)](_0xabcfa9);}[_0x1a756a(0xd9)](_0x71d363){const _0x350d2e=_0x1a756a;this[_0x350d2e(0xe2)][_0x350d2e(0xe6)]=_0x71d363,this[_0x350d2e(0xe6)]=_0x71d363,this[_0x350d2e(0xcf)]();}[_0x1a756a(0xda)](){const _0x3918bf=_0x1a756a,_0x5ac3ac=new _0x51916f();return _0x5ac3ac[_0x3918bf(0xdf)]=this[_0x3918bf(0xe2)][_0x3918bf(0xc3)],_0x5ac3ac[_0x3918bf(0xe3)]({'tag':_0x3918bf(0xe4),'attributes':{'class':[Gr]}}),_0x5ac3ac;}[_0x1a756a(0xe5)](){const _0x29ab6e=_0x1a756a,_0x4e06e5=new _0x27385b();return _0x4e06e5[_0x29ab6e(0xdb)]=this[_0x29ab6e(0xde)](this[_0x29ab6e(0xe2)]),_0x4e06e5;}[_0x1a756a(0xcc)](){const _0x36f8bc=_0x1a756a,_0x4745df=this[_0x36f8bc(0xd7)];this[_0x36f8bc(0xcb)]({'tag':_0x36f8bc(0xea),'attributes':{'class':[zr,_0x4745df['if'](_0x36f8bc(0xe1),_0x36f8bc(0xdc),_0x47fd6b=>!_0x47fd6b),_0x4745df['if'](_0x36f8bc(0xe6),Br)]},'children':[{'tag':_0x36f8bc(0xea),'attributes':{'class':[Hr]},'children':[this[_0x36f8bc(0xca)]]},this[_0x36f8bc(0xc1)]],'on':{'click':_0x4745df['to'](_0x36f8bc(0xd1))}});}[_0x1a756a(0xcf)](){const _0x1e6b7b=_0x1a756a;this[_0x1e6b7b(0xca)][_0x1e6b7b(0xdb)]=this[_0x1e6b7b(0xde)](this[_0x1e6b7b(0xe2)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2b4fb9=_0x3f76;(function(_0x506eba,_0x1fc51a){const _0x28338=_0x3f76,_0x56aedb=_0x506eba();while(!![]){try{const _0x3034b7=parseInt(_0x28338(0x1e7))/0x1*(-parseInt(_0x28338(0x1f2))/0x2)+-parseInt(_0x28338(0x1cd))/0x3+parseInt(_0x28338(0x1ed))/0x4+-parseInt(_0x28338(0x1e5))/0x5*(parseInt(_0x28338(0x1dd))/0x6)+-parseInt(_0x28338(0x1f8))/0x7+parseInt(_0x28338(0x1db))/0x8+parseInt(_0x28338(0x1cf))/0x9;if(_0x3034b7===_0x1fc51a)break;else _0x56aedb['push'](_0x56aedb['shift']());}catch(_0x17b479){_0x56aedb['push'](_0x56aedb['shift']());}}}(_0x4e3d,0xa5d41));import{BalloonPanelView as _0x228687,ButtonView as _0xcc86b0,clickOutsideHandler as _0x2d49b2,FormHeaderView as _0x3494cb}from'ckeditor5/src/ui.js';import{IconPreviousArrow as _0x4500ba}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x578be0}from'../../../../aicore/utils/common-translations.js';function _0x3f76(_0x585a3e,_0x5755dd){const _0x4e3d15=_0x4e3d();return _0x3f76=function(_0x3f7680,_0x4c044f){_0x3f7680=_0x3f7680-0x1cd;let _0x1f0069=_0x4e3d15[_0x3f7680];return _0x1f0069;},_0x3f76(_0x585a3e,_0x5755dd);}import{AIChatContextResourcesView as _0x4bf50c}from'./aichatcontextresourcesview.js';const Nr=_0x2b4fb9(0x1d6),Xr=_0x2b4fb9(0x1f9),Kr=_0x2b4fb9(0x1e2);function _0x4e3d(){const _0x171e29=['_bodyCollection','AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT','set','_config','resource','_sourceResourceBalloons','extendTemplate','_getResourcesViewFromBalloon','label','onResourceSelected','onBalloonClosed','2580030yYANDr','showSourceResourcesBalloon','13008789pdRQzj','values','add','_setupSingleResourceBalloonClickOutsideHandler','_addSourceResourceContent','getLimiterElement','_createBalloonResourcesView','ck-ai-chat-context-controls__source-balloon-panel','_createBackButton','setResources','isVisible','source','8860624awQclR','change:isLoading','42402fFYLrF','searchInputVisibleFrom','pin','clear','getTargetElement','ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_source','element','isAnyResourceBalloonVisible','610oPGGjn','_locale','13077PYcCrB','execute','populateSourceResourceBalloon','content','show','delete','1064716TDDIvh','_createSourceResourceBalloonPanel','onBackToContext','destroy','onLoadSourceResources','38GvrOWw','once','hide','_createBalloonHeader','closeSourceResourceBalloon','updateResourceState','1185086tBxrwB','ck-button-icon\x20ck-button-back','loadSourceResources','get','addResourceToContext','children'];_0x4e3d=function(){return _0x171e29;};return _0x4e3d();}export class AIChatResourcesBalloonView{[_0x2b4fb9(0x203)]=new Map();[_0x2b4fb9(0x1fe)];[_0x2b4fb9(0x1e6)];[_0x2b4fb9(0x201)];constructor(_0x56a4a7,_0x31c0ee,_0x3d4bac){const _0x3c1859=_0x2b4fb9;this[_0x3c1859(0x1e6)]=_0x56a4a7,this[_0x3c1859(0x1fe)]=_0x31c0ee,this[_0x3c1859(0x201)]=_0x3d4bac;}[_0x2b4fb9(0x1ce)](_0x596f8a){const _0x1ade7d=_0x2b4fb9;let _0x57c388=this[_0x1ade7d(0x203)][_0x1ade7d(0x1fb)](_0x596f8a['id']);_0x57c388||(_0x57c388=this[_0x1ade7d(0x1ee)](),this[_0x1ade7d(0x203)][_0x1ade7d(0x200)](_0x596f8a['id'],_0x57c388),this[_0x1ade7d(0x1d2)](_0x57c388)),this[_0x1ade7d(0x1d3)](_0x57c388,_0x596f8a),_0x57c388[_0x1ade7d(0x1eb)]();const _0x2ce45a=this[_0x1ade7d(0x201)][_0x1ade7d(0x1e1)]();_0x2ce45a&&_0x57c388[_0x1ade7d(0x1df)]({'target':_0x2ce45a,'limiter':this[_0x1ade7d(0x201)][_0x1ade7d(0x1d4)]()});}[_0x2b4fb9(0x1e9)](_0xff55d3,_0x16ae7e,_0x57e923){const _0x2b1efb=_0x2b4fb9,_0x112bd9=this[_0x2b1efb(0x203)][_0x2b1efb(0x1fb)](_0xff55d3);if(!_0x112bd9)return;const _0x4c4c89=this[_0x2b1efb(0x205)](_0x112bd9);_0x4c4c89&&(_0x4c4c89[_0x2b1efb(0x1d8)](_0x16ae7e,_0x57e923),_0x4c4c89[_0x2b1efb(0x1f3)](_0x2b1efb(0x1dc),()=>{const _0x47d99a=_0x2b1efb;_0x112bd9[_0x47d99a(0x1df)]({'target':this[_0x47d99a(0x201)][_0x47d99a(0x1e1)](),'limiter':this[_0x47d99a(0x201)][_0x47d99a(0x1d4)]()});}));}[_0x2b4fb9(0x1f6)](_0x2c0a2d){const _0x4dc014=_0x2b4fb9,_0x1c7616=this[_0x4dc014(0x203)][_0x4dc014(0x1fb)](_0x2c0a2d);_0x1c7616&&requestAnimationFrame(()=>{const _0x566fd0=_0x4dc014;_0x1c7616[_0x566fd0(0x1f4)](),this[_0x566fd0(0x203)][_0x566fd0(0x1ec)](_0x2c0a2d),this[_0x566fd0(0x201)][_0x566fd0(0x208)]();});}[_0x2b4fb9(0x1e4)](){const _0x1229f7=_0x2b4fb9;for(const _0x3d4c5a of this[_0x1229f7(0x203)][_0x1229f7(0x1d0)]())if(_0x3d4c5a[_0x1229f7(0x1d9)])return!0x0;return!0x1;}[_0x2b4fb9(0x1f7)](_0x564689,_0x148c4e,_0x276abe){const _0x1d42e0=_0x2b4fb9,_0xa077d8=this[_0x1d42e0(0x203)][_0x1d42e0(0x1fb)](_0x564689);if(!_0xa077d8||!_0xa077d8[_0x1d42e0(0x1d9)])return;const _0x24bd82=this[_0x1d42e0(0x201)][_0x1d42e0(0x1e1)]();if(!_0x24bd82)return;_0xa077d8[_0x1d42e0(0x1df)]({'target':_0x24bd82,'limiter':this[_0x1d42e0(0x201)][_0x1d42e0(0x1d4)]()});const _0x7e28db=this[_0x1d42e0(0x205)](_0xa077d8);_0x7e28db&&_0x7e28db[_0x1d42e0(0x1f7)](_0x148c4e,_0x276abe);}[_0x2b4fb9(0x1f0)](){const _0x3f5963=_0x2b4fb9;for(const _0x1e5789 of this[_0x3f5963(0x203)][_0x3f5963(0x1d0)]())_0x1e5789[_0x3f5963(0x1f0)]();this[_0x3f5963(0x203)][_0x3f5963(0x1e0)]();}[_0x2b4fb9(0x1ee)](){const _0x159931=_0x2b4fb9,_0x8bed4a=new _0x228687(this[_0x159931(0x1e6)]);return _0x8bed4a[_0x159931(0x204)]({'attributes':{'class':Nr}}),this[_0x159931(0x1fe)][_0x159931(0x1d1)](_0x8bed4a),_0x8bed4a;}[_0x2b4fb9(0x1d3)](_0x1b2e2a,_0x239217){const _0x5b63a0=_0x2b4fb9;_0x1b2e2a[_0x5b63a0(0x1ea)][_0x5b63a0(0x1e0)]();const _0xffa99b=this[_0x5b63a0(0x1f5)](_0x1b2e2a,_0x239217);_0x1b2e2a[_0x5b63a0(0x1ea)][_0x5b63a0(0x1d1)](_0xffa99b);const _0x26f999=this[_0x5b63a0(0x1d5)](_0x239217);_0x1b2e2a[_0x5b63a0(0x1ea)][_0x5b63a0(0x1d1)](_0x26f999);}[_0x2b4fb9(0x1f5)](_0x8f29ef,_0x40782e){const _0x1e2482=_0x2b4fb9,_0x5d399b=this[_0x1e2482(0x1d7)](_0x8f29ef),_0x17ab02=new _0x3494cb(this[_0x1e2482(0x1e6)],{'label':_0x40782e[_0x1e2482(0x206)],'class':Kr});return _0x17ab02[_0x1e2482(0x1fd)][_0x1e2482(0x1d1)](_0x5d399b,0x0),_0x17ab02;}[_0x2b4fb9(0x1d7)](_0x3e3cd3){const _0x2adf99=_0x2b4fb9,_0x384990=new _0xcc86b0(this[_0x2adf99(0x1e6)]);return _0x384990[_0x2adf99(0x200)]({'icon':_0x4500ba,'tooltip':_0x578be0(this[_0x2adf99(0x1e6)],_0x2adf99(0x1ff)),'tooltipPosition':'n','class':Xr}),_0x384990['on'](_0x2adf99(0x1e8),()=>{const _0x42f1b6=_0x2adf99;_0x3e3cd3[_0x42f1b6(0x1f4)](),this[_0x42f1b6(0x201)][_0x42f1b6(0x1ef)]();}),_0x384990;}[_0x2b4fb9(0x1d5)](_0x1959f5){const _0x3d6a40=_0x2b4fb9,_0x304f46=new _0x4bf50c(this[_0x3d6a40(0x1e6)],{'source':_0x1959f5,'searchInputVisibleFrom':this[_0x3d6a40(0x201)][_0x3d6a40(0x1de)]});return _0x304f46['on'](_0x3d6a40(0x1fa),(_0x59c9d8,_0x14ac55)=>{const _0x31a4eb=_0x3d6a40;this[_0x31a4eb(0x201)][_0x31a4eb(0x1f1)](_0x14ac55);}),_0x304f46['on'](_0x3d6a40(0x1fc),(_0x3f24e6,_0x76bfb3)=>{const _0x3952df=_0x3d6a40;this[_0x3952df(0x201)][_0x3952df(0x207)](_0x76bfb3[_0x3952df(0x1da)],_0x76bfb3[_0x3952df(0x202)]),this[_0x3952df(0x1f6)](_0x1959f5['id']);}),_0x304f46;}[_0x2b4fb9(0x205)](_0x10fd6d){const _0x333e0f=_0x2b4fb9,_0x1d6f8b=_0x10fd6d[_0x333e0f(0x1ea)][_0x333e0f(0x1fb)](0x1);return _0x1d6f8b instanceof _0x4bf50c?_0x1d6f8b:null;}[_0x2b4fb9(0x1d2)](_0x12d18c){const _0x8bfbba=_0x2b4fb9;_0x2d49b2({'emitter':_0x12d18c,'contextElements':[_0x12d18c[_0x8bfbba(0x1e3)]],'callback':()=>{const _0x2e8a43=_0x8bfbba;_0x12d18c[_0x2e8a43(0x1f4)](),this[_0x2e8a43(0x201)][_0x2e8a43(0x208)]();},'activator':()=>_0x12d18c[_0x8bfbba(0x1d9)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ButtonView as
|
|
23
|
+
import{ButtonView as _0x3a4af7,IconView as _0x1d6c1d,LabeledFieldView as _0x31a457,createLabeledInputText as th}from'ckeditor5/src/ui.js';import{IconLoupe as _0x459552,IconCancel as _0x21a492}from'ckeditor5/src/icons.js';import{getTranslation as _0x332a73}from'../../../../aicore/utils/common-translations.js';export class AIChatContextResourcesSearchInputView extends _0x31a457{['iconView'];['resetButtonView'];['_viewConfig'];constructor(_0x272bed){const t=_0x272bed['t'],_0x39d949={'showResetButton':!0x0,'showIcon':!0x0,'creator':th,'label':_0x332a73(_0x272bed,'AI_CHAT_SEARCH_RESOURCES')};super(_0x272bed,_0x39d949['creator']),this['label']=_0x39d949['label'],this['_viewConfig']=_0x39d949,this['_viewConfig']['showIcon']&&this['_setupSearchIcon'](),this['_viewConfig']['showResetButton']&&this['_setupResetButton'](_0x272bed,t),this['_setupEventListeners']();}['reset'](){this['fieldView']['reset'](),this['_viewConfig']['showResetButton']&&this['resetButtonView']&&(this['resetButtonView']['isVisible']=!0x1),this['search']('');}['search'](_0x5b8e11){this['fire']('search',_0x5b8e11);}['getQuery'](){return this['fieldView']['element']?.['value']||'';}['_setupSearchIcon'](){this['iconView']=new _0x1d6c1d(),this['iconView']['content']=_0x459552,this['fieldWrapperChildren']['add'](this['iconView'],0x0),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-icon'}});}['_setupResetButton'](_0x207459,t){this['resetButtonView']=new _0x3a4af7(_0x207459),this['resetButtonView']['set']({'label':t('Clear'),'icon':_0x21a492,'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',_0xb7a1b0=>!_0xb7a1b0),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
|
-
|
|
23
|
+
const _0x12e6d1=_0xa324;(function(_0x8ce162,_0x5d61e6){const _0x305b0d=_0xa324,_0x3bda2e=_0x8ce162();while(!![]){try{const _0x50e1d6=parseInt(_0x305b0d(0x89))/0x1*(-parseInt(_0x305b0d(0x8e))/0x2)+parseInt(_0x305b0d(0x9d))/0x3+-parseInt(_0x305b0d(0x82))/0x4*(-parseInt(_0x305b0d(0x93))/0x5)+parseInt(_0x305b0d(0x9a))/0x6+-parseInt(_0x305b0d(0x92))/0x7+parseInt(_0x305b0d(0x96))/0x8+-parseInt(_0x305b0d(0x9b))/0x9*(parseInt(_0x305b0d(0x87))/0xa);if(_0x50e1d6===_0x5d61e6)break;else _0x3bda2e['push'](_0x3bda2e['shift']());}catch(_0x1f2895){_0x3bda2e['push'](_0x3bda2e['shift']());}}}(_0x3351,0xc0016));import{View as _0x59ac65}from'ckeditor5/src/ui.js';import{AIChatContextItemButtonView as _0x58add9}from'../controls/aichatcontextitembuttonview.js';import{AIChatChipsOverflowManager as _0x516e3b}from'../controls/aichatchipsoverflowmanager.js';const $o=_0x12e6d1(0x9f),Qo=_0x12e6d1(0x94),Xo=_0x12e6d1(0x95),Lo=_0x12e6d1(0x9c),Oo=_0x12e6d1(0x91),Mo=_0x12e6d1(0x90);export class AIChatFeedContextChipsView extends _0x59ac65{[_0x12e6d1(0x85)]=this[_0x12e6d1(0x83)]();[_0x12e6d1(0x97)];[_0x12e6d1(0x81)];constructor(_0x4b47ec,_0x34edd9,_0x4d9d9a){const _0x780a40=_0x12e6d1;super(_0x4b47ec),this[_0x780a40(0x81)]=_0x4d9d9a,this[_0x780a40(0x8b)](_0x34edd9);const _0x3645a7={'cssClasses':{'showMoreButton':Oo,'showMoreBalloon':Mo,'overflowContainer':Xo,'controlsButton':Lo}};this[_0x780a40(0x97)]=new _0x516e3b(_0x4b47ec,this[_0x780a40(0x85)],_0x3645a7,this[_0x780a40(0x81)],this),this[_0x780a40(0x86)]({'tag':_0x780a40(0x99),'attributes':{'class':[$o,'ck',_0x780a40(0x84)]},'children':[{'tag':_0x780a40(0x99),'attributes':{'class':Qo},'children':this[_0x780a40(0x85)]}]});}[_0x12e6d1(0x8f)](){const _0x48204b=_0x12e6d1;super[_0x48204b(0x8f)]();const _0x53e4ad=this[_0x48204b(0x98)][_0x48204b(0x8d)]('.'+Qo);_0x53e4ad&&(this[_0x48204b(0x97)][_0x48204b(0x80)](_0x53e4ad),this[_0x48204b(0x97)][_0x48204b(0x9e)]());}[_0x12e6d1(0x8a)](){const _0x276934=_0x12e6d1;super[_0x276934(0x8a)](),this[_0x276934(0x97)][_0x276934(0x8a)]();}[_0x12e6d1(0x8b)](_0x3b5340){const _0x4d64f6=_0x12e6d1;for(const _0x4643ec of _0x3b5340){const _0x400f45=new _0x58add9(this[_0x4d64f6(0x88)],_0x4643ec,!0x0,!0x1);this[_0x4d64f6(0x85)][_0x4d64f6(0x8c)](_0x400f45);}}}function _0xa324(_0x48d887,_0x4c40f2){const _0x3351d2=_0x3351();return _0xa324=function(_0xa324d,_0x3700a2){_0xa324d=_0xa324d-0x80;let _0x2b72bc=_0x3351d2[_0xa324d];return _0x2b72bc;},_0xa324(_0x48d887,_0x4c40f2);}function _0x3351(){const _0xb7a0ac=['element','div','9145728NPdQaz','9QkpLWx','ck-ai-chat-controls-button','952566NFVIyL','reorganizeChips','ck-ai-chat__feed__context-chips','setContainerElement','_bodyCollection','688468PKdPry','createCollection','ck-reset_all','_contextChips','setTemplate','26933240oMyUKY','locale','1382OCqYij','destroy','_createContextChips','add','querySelector','6FFxSrI','render','ck-ai-chat-context-controls__show-more-balloon-panel','ck-ai-chat-controls_context_show-more-button','2640225LuIVIp','35hGqcdO','ck-ai-chat-context-chips-wrapper','ck-ai-chat-context-chips-wrapper-balloon','6515760fDHIVK','_overflowManager'];_0x3351=function(){return _0xb7a0ac;};return _0x3351();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x2ccb2a=_0x39a8;(function(_0x18fcc1,_0x42b25){var _0x59bcbd=_0x39a8,_0x492ccc=_0x18fcc1();while(!![]){try{var _0x22cef4=-parseInt(_0x59bcbd(0xc5))/0x1*(parseInt(_0x59bcbd(0xce))/0x2)+parseInt(_0x59bcbd(0xbf))/0x3+parseInt(_0x59bcbd(0xcc))/0x4+-parseInt(_0x59bcbd(0xc8))/0x5*(-parseInt(_0x59bcbd(0xc9))/0x6)+parseInt(_0x59bcbd(0xca))/0x7*(-parseInt(_0x59bcbd(0xc4))/0x8)+-parseInt(_0x59bcbd(0xd2))/0x9*(-parseInt(_0x59bcbd(0xcf))/0xa)+-parseInt(_0x59bcbd(0xbc))/0xb*(-parseInt(_0x59bcbd(0xc0))/0xc);if(_0x22cef4===_0x42b25)break;else _0x492ccc['push'](_0x492ccc['shift']());}catch(_0x1068a9){_0x492ccc['push'](_0x492ccc['shift']());}}}(_0x196c,0x2924a));function _0x39a8(_0x5b1232,_0xe5251e){var _0x196cb8=_0x196c();return _0x39a8=function(_0x39a826,_0x373e4c){_0x39a826=_0x39a826-0xbb;var _0x127e9d=_0x196cb8[_0x39a826];return _0x127e9d;},_0x39a8(_0x5b1232,_0xe5251e);}function _0x196c(){var _0x1c3449=['42bbZByH','render','835036ogCBes','extendTemplate','4dxVXxo','30qhFTEz','element','options','427311bJPFuF','warning','3006421jKCEvQ','setContent','level','40731EnUeKY','12xSKGGG','ck-ai-chat-error_warning','initialContent','innerHTML','442448mtFnqL','97586pjdRFm','ck-ai-chat-error','markAsDone','143615pZkXsc','12oBHOYX'];_0x196c=function(){return _0x1c3449;};return _0x196c();}import{AIChatFeedItemView as _0x244ef1}from'./aichatfeeditemview.js';export class AIChatFeedErrorItemView extends _0x244ef1{constructor(_0x17271a){var _0x5b58fe=_0x39a8;super(_0x17271a),this[_0x5b58fe(0xcd)]({'attributes':{'class':[_0x5b58fe(0xc6),_0x5b58fe(0xbb)===_0x17271a[_0x5b58fe(0xbe)]?_0x5b58fe(0xc1):'']}});}[_0x2ccb2a(0xcb)](){var _0x1ac290=_0x2ccb2a;super[_0x1ac290(0xcb)](),this[_0x1ac290(0xbd)](this[_0x1ac290(0xd1)][_0x1ac290(0xc2)]),this[_0x1ac290(0xc7)]();}[_0x2ccb2a(0xbd)](_0x53638e){var _0x153f6e=_0x2ccb2a;this[_0x153f6e(0xd0)][_0x153f6e(0xc3)]=_0x53638e;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x31af5b=_0x1f24;(function(_0x23ed67,_0x287fa6){const _0x2bc5cd=_0x1f24,_0xb9ff7d=_0x23ed67();while(!![]){try{const _0x32ec38=parseInt(_0x2bc5cd(0x118))/0x1*(parseInt(_0x2bc5cd(0x11b))/0x2)+-parseInt(_0x2bc5cd(0x11a))/0x3+parseInt(_0x2bc5cd(0x124))/0x4+-parseInt(_0x2bc5cd(0x110))/0x5+-parseInt(_0x2bc5cd(0x123))/0x6*(parseInt(_0x2bc5cd(0x10e))/0x7)+-parseInt(_0x2bc5cd(0x115))/0x8+parseInt(_0x2bc5cd(0x113))/0x9;if(_0x32ec38===_0x287fa6)break;else _0xb9ff7d['push'](_0xb9ff7d['shift']());}catch(_0x575155){_0xb9ff7d['push'](_0xb9ff7d['shift']());}}}(_0x1f5f,0xe76ee));import{IconBulb as _0x51c97f,IconWeb as _0x4817c0}from'@ckeditor/ckeditor5-icons';import{IconView as _0x7a96ea,View as _0x1ed0ca}from'ckeditor5/src/ui.js';import{AIChatFeedItemView as _0x566937}from'./aichatfeeditemview.js';import{getTranslation as _0x4a87c4}from'../../../aicore/utils/common-translations.js';function _0x1f24(_0x3764dd,_0x43cb0b){const _0x1f5fc0=_0x1f5f();return _0x1f24=function(_0x1f241d,_0x4a5cf3){_0x1f241d=_0x1f241d-0x10d;let _0x205abd=_0x1f5fc0[_0x1f241d];return _0x205abd;},_0x1f24(_0x3764dd,_0x43cb0b);}export class AIChatFeedInteractionHeaderView extends _0x566937{[_0x31af5b(0x121)];constructor(_0x10bde3,_0x171042){const _0x586b46=_0x31af5b;super(_0x171042);const {isWebSearchEnabled:_0x3a4167,isReasoningEnabled:_0x59cbb6}=_0x171042[_0x586b46(0x121)],_0x26e67a=[];let _0x582489='';_0x3a4167&&_0x59cbb6?(_0x582489=_0x4a87c4(_0x10bde3,_0x586b46(0x122)),_0x26e67a[_0x586b46(0x10f)](aa(_0x4817c0)),_0x26e67a[_0x586b46(0x10f)](aa(_0x51c97f))):_0x3a4167?(_0x582489=_0x4a87c4(_0x10bde3,_0x586b46(0x116)),_0x26e67a[_0x586b46(0x10f)](aa(_0x4817c0))):_0x59cbb6&&(_0x582489=_0x4a87c4(_0x10bde3,_0x586b46(0x117)),_0x26e67a[_0x586b46(0x10f)](aa(_0x51c97f))),this[_0x586b46(0x10d)]({'attributes':{'class':[_0x586b46(0x111),_0x582489?'':_0x586b46(0x11d)]}});const _0x166ba9=new _0x1ed0ca();_0x166ba9[_0x586b46(0x11e)]({'tag':_0x586b46(0x119),'attributes':{'class':['ck',_0x586b46(0x11f)]},'children':[..._0x26e67a,{'tag':_0x586b46(0x11c),'attributes':{'class':[_0x586b46(0x114)]},'children':[_0x582489]}]}),this[_0x586b46(0x120)][_0x586b46(0x112)](_0x166ba9),this[_0x586b46(0x121)]=_0x171042[_0x586b46(0x121)];}}function aa(_0xac968d){const _0x51d2b6=_0x31af5b,_0x1f302e=new _0x7a96ea();return _0x1f302e[_0x51d2b6(0x125)]=_0xac968d,_0x1f302e;}function _0x1f5f(){const _0x4360f7=['497yygLzc','push','4408320IlsqXK','ck-ai-chat__feed__interaction-header','add','18057501WusVWF','ck-ai-chat__feed__interaction-header__capabilities__text','11340936puGwHK','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH','AI_CHAT_FEED_REPLY_ITEM_USED_REASONING','245mhMAsS','div','3825807PkZUgu','9026DRzAan','span','ck-hidden','setTemplate','ck-ai-chat__feed__interaction-header__capabilities','children','capabilities','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING','32982caphcn','7202852CEWCsC','content','extendTemplate'];_0x1f5f=function(){return _0x4360f7;};return _0x1f5f();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x16d1(_0x3638d7,_0x5a12e7){const _0x9c7d95=_0x9c7d();return _0x16d1=function(_0x16d197,_0x252c33){_0x16d197=_0x16d197-0x160;let _0x738258=_0x9c7d95[_0x16d197];return _0x738258;},_0x16d1(_0x3638d7,_0x5a12e7);}const _0xbe7fc2=_0x16d1;function _0x9c7d(){const _0x86d2ad=['cleanUpAnimations','428076nSYUxs','createCollection','262zizRmu','isDone','element','24kcEPRu','12277850tdluXE','setTemplate','removeAttribute','data-id','14247PgbLvy','ck-ai-chat__feed__item_done','markAsDone','content','816835OaLsUU','8323799GdkUPi','5129lzWmnm','querySelectorAll','30xuKGok','83258VMrctV','isVisible','[data-id]','div','ck-ai-chat__feed__item','htmlStreamer','options','156vGUiGD','bindTemplate','ck-hidden','forEach','streamIntoElement','children','animation:\x20ck-html-streamer-fade-in\x20.5s','ck-ai-chat__feed__text-item','184FmFcFS','stream','set'];_0x9c7d=function(){return _0x86d2ad;};return _0x9c7d();}(function(_0x356c8e,_0x3c7fe8){const _0x31f93e=_0x16d1,_0x5aa31e=_0x356c8e();while(!![]){try{const _0x50cb12=parseInt(_0x31f93e(0x17c))/0x1*(-parseInt(_0x31f93e(0x16e))/0x2)+-parseInt(_0x31f93e(0x176))/0x3*(parseInt(_0x31f93e(0x160))/0x4)+parseInt(_0x31f93e(0x17a))/0x5+parseInt(_0x31f93e(0x17e))/0x6*(parseInt(_0x31f93e(0x17f))/0x7)+-parseInt(_0x31f93e(0x168))/0x8*(-parseInt(_0x31f93e(0x16c))/0x9)+-parseInt(_0x31f93e(0x172))/0xa+-parseInt(_0x31f93e(0x17b))/0xb*(-parseInt(_0x31f93e(0x171))/0xc);if(_0x50cb12===_0x3c7fe8)break;else _0x5aa31e['push'](_0x5aa31e['shift']());}catch(_0xa6cc47){_0x5aa31e['push'](_0x5aa31e['shift']());}}}(_0x9c7d,0xb5f74));import{View as _0x42c148}from'ckeditor5/src/ui.js';import{HTMLStreamer as _0xd78c8}from'../../../aicore/utils/htmlstreamer.js';export class AIChatFeedItemView extends _0x42c148{[_0xbe7fc2(0x185)];[_0xbe7fc2(0x179)]='';[_0xbe7fc2(0x184)];[_0xbe7fc2(0x165)];constructor(_0x4d7e67){const _0x1258d6=_0xbe7fc2;super();const _0x53772b=this[_0x1258d6(0x161)];this[_0x1258d6(0x16a)](_0x1258d6(0x16f),!0x1),this[_0x1258d6(0x16a)](_0x1258d6(0x180),!0x0),this[_0x1258d6(0x184)]=new _0xd78c8({'textNodeStyle':_0x1258d6(0x166),'delay':0x14}),this[_0x1258d6(0x185)]=_0x4d7e67,this[_0x1258d6(0x165)]=this[_0x1258d6(0x16d)](),this[_0x1258d6(0x173)]({'tag':_0x1258d6(0x182),'attributes':{'class':['ck',_0x1258d6(0x183),_0x53772b['if'](_0x1258d6(0x16f),_0x1258d6(0x177)),_0x53772b['if'](_0x1258d6(0x180),_0x1258d6(0x162),_0x34f458=>!_0x34f458),_0x1258d6(0x167)],'data-cke-ai-id':this[_0x1258d6(0x185)]['id']},'children':this[_0x1258d6(0x165)]});}[_0xbe7fc2(0x178)](){const _0x4be71b=_0xbe7fc2;this[_0x4be71b(0x184)][_0x4be71b(0x16b)]({'targetElement':this[_0x4be71b(0x170)]}),this[_0x4be71b(0x170)][_0x4be71b(0x17d)](_0x4be71b(0x181))[_0x4be71b(0x163)](_0x2a8ea0=>{const _0x4bcf5c=_0x4be71b;_0x2a8ea0[_0x4bcf5c(0x174)](_0x4bcf5c(0x175));}),this[_0x4be71b(0x16f)]=!0x0;}async[_0xbe7fc2(0x164)](_0x336210,_0x1a506d,_0x249123){const _0x2e15ea=_0xbe7fc2;await this[_0x2e15ea(0x184)][_0x2e15ea(0x169)]({'document':_0x336210,'targetElement':_0x1a506d,'abortSignal':_0x249123});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x359493=_0x45a4;function _0x45a4(_0x3db839,_0x538cb7){const _0x2e08b8=_0x2e08();return _0x45a4=function(_0x45a45a,_0x4a3290){_0x45a45a=_0x45a45a-0x1b7;let _0x10a8da=_0x2e08b8[_0x45a45a];return _0x10a8da;},_0x45a4(_0x3db839,_0x538cb7);}(function(_0x5ddd41,_0x1b8a57){const _0x10ab63=_0x45a4,_0x4c9a58=_0x5ddd41();while(!![]){try{const _0x451151=parseInt(_0x10ab63(0x1c0))/0x1+-parseInt(_0x10ab63(0x1cf))/0x2+parseInt(_0x10ab63(0x1d5))/0x3+-parseInt(_0x10ab63(0x1d0))/0x4*(parseInt(_0x10ab63(0x1b7))/0x5)+-parseInt(_0x10ab63(0x1c6))/0x6*(parseInt(_0x10ab63(0x1c1))/0x7)+-parseInt(_0x10ab63(0x1d8))/0x8*(parseInt(_0x10ab63(0x1c4))/0x9)+-parseInt(_0x10ab63(0x1ce))/0xa*(-parseInt(_0x10ab63(0x1be))/0xb);if(_0x451151===_0x1b8a57)break;else _0x4c9a58['push'](_0x4c9a58['shift']());}catch(_0x802a23){_0x4c9a58['push'](_0x4c9a58['shift']());}}}(_0x2e08,0x288a3));import{AIChatFeedItemView as _0x40c0ca}from'./aichatfeeditemview.js';function _0x2e08(){const _0x195687=['streamIntoElement','setTemplate','div','11YWwYSp','ck-ai-chat__feed__ai-reply-container','37112YzlcOE','11746PVUKid','updateSources','options','9nrGldW','initialContent','84EDtrLS','isVisible','children','element','map','extendTemplate','markAsDone','innerHTML','3280090haZoQH','371670eDXgwj','4KwAQCW','static','replyContainer','ck-reset_all-excluded','addMany','855966YJXSnu','updateContent','locale','1793808UhCpXh','add','254195VRlLtb','ck-ai-chat__feed__ai-reply','render','streaming'];_0x2e08=function(){return _0x195687;};return _0x2e08();}import{parse as _0x3b64ab,render as _0x5799c0}from'../../../aicore/utils/htmlparser.js';import{View as _0xd0d1e0}from'ckeditor5/src/ui.js';import{AIWebSourcesView as _0x1a5ad5,AIWebSourceView as _0x204f15}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';export class AIChatFeedReplyItemView extends _0x40c0ca{[_0x359493(0x1d2)];constructor(_0x59bbbe,_0x531736){const _0x21ac47=_0x359493;super(_0x531736),this[_0x21ac47(0x1d7)]=_0x59bbbe,this[_0x21ac47(0x1cb)]({'attributes':{'class':[_0x21ac47(0x1b8)]}}),this[_0x21ac47(0x1d2)]=new _0xd0d1e0(),this[_0x21ac47(0x1d2)][_0x21ac47(0x1bc)]({'tag':_0x21ac47(0x1bd),'attributes':{'class':['ck',_0x21ac47(0x1d3),_0x21ac47(0x1bf)]}}),this[_0x21ac47(0x1c8)][_0x21ac47(0x1d9)](this[_0x21ac47(0x1d2)]);}async[_0x359493(0x1b9)](){const _0xf20b88=_0x359493;super[_0xf20b88(0x1b9)](),this[_0xf20b88(0x1c3)][_0xf20b88(0x1c5)]&&(await this[_0xf20b88(0x1d6)]({'parsedContent':_0x3b64ab(this[_0xf20b88(0x1c3)][_0xf20b88(0x1c5)]),'renderingStrategy':_0xf20b88(0x1d1)}),this[_0xf20b88(0x1cc)]());}async[_0x359493(0x1d6)]({parsedContent:_0x857935,renderingStrategy:_0x5e0c15,abortSignal:_0x3fc030}){const _0xb71beb=_0x359493;_0xb71beb(0x1ba)===_0x5e0c15?await this[_0xb71beb(0x1bb)](_0x857935,this[_0xb71beb(0x1d2)][_0xb71beb(0x1c9)],_0x3fc030):this[_0xb71beb(0x1d2)][_0xb71beb(0x1c9)][_0xb71beb(0x1cd)]=_0x5799c0(_0x857935);}[_0x359493(0x1c2)](_0x2fe1b4){const _0x2f969e=_0x359493,_0x3e4205=new _0x1a5ad5(this[_0x2f969e(0x1d7)]);_0x3e4205[_0x2f969e(0x1c8)][_0x2f969e(0x1d4)](_0x2fe1b4[_0x2f969e(0x1ca)](_0x2108e0=>new _0x204f15(this[_0x2f969e(0x1d7)],_0x2108e0))),_0x3e4205[_0x2f969e(0x1c7)]=!0x0,this[_0x2f969e(0x1c8)][_0x2f969e(0x1d9)](_0x3e4205);}}
|