@ckeditor/ckeditor5-ai 47.3.0-alpha.0 → 47.3.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/build/translations/ar.js +1 -1
- package/build/translations/bg.js +1 -1
- package/build/translations/bn.js +1 -1
- package/build/translations/ca.js +1 -1
- package/build/translations/cs.js +1 -1
- package/build/translations/da.js +1 -1
- package/build/translations/de.js +1 -1
- package/build/translations/el.js +1 -1
- package/build/translations/es.js +1 -1
- package/build/translations/et.js +1 -1
- package/build/translations/fi.js +1 -1
- package/build/translations/fr.js +1 -1
- package/build/translations/he.js +1 -1
- package/build/translations/hi.js +1 -1
- package/build/translations/hu.js +1 -1
- package/build/translations/id.js +1 -1
- package/build/translations/it.js +1 -1
- package/build/translations/ja.js +1 -1
- package/build/translations/ko.js +1 -1
- package/build/translations/lt.js +1 -1
- package/build/translations/lv.js +1 -1
- package/build/translations/ms.js +1 -1
- package/build/translations/nl.js +1 -1
- package/build/translations/no.js +1 -1
- package/build/translations/pl.js +1 -1
- package/build/translations/pt-br.js +1 -1
- package/build/translations/pt.js +1 -1
- package/build/translations/ro.js +1 -1
- package/build/translations/ru.js +1 -1
- package/build/translations/sk.js +1 -1
- package/build/translations/sr.js +1 -1
- package/build/translations/sv.js +1 -1
- package/build/translations/th.js +1 -1
- package/build/translations/tr.js +1 -1
- package/build/translations/uk.js +1 -1
- package/build/translations/vi.js +1 -1
- package/build/translations/zh-cn.js +1 -1
- package/build/translations/zh.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/lang/translations/ar.po +9 -9
- package/lang/translations/bg.po +9 -9
- package/lang/translations/bn.po +9 -9
- package/lang/translations/ca.po +9 -9
- package/lang/translations/cs.po +9 -9
- package/lang/translations/da.po +9 -9
- package/lang/translations/de.po +9 -9
- package/lang/translations/el.po +9 -9
- package/lang/translations/es.po +9 -9
- package/lang/translations/et.po +9 -9
- package/lang/translations/fi.po +9 -9
- package/lang/translations/fr.po +9 -9
- package/lang/translations/he.po +9 -9
- package/lang/translations/hi.po +9 -9
- package/lang/translations/hu.po +9 -9
- package/lang/translations/id.po +9 -9
- package/lang/translations/it.po +9 -9
- package/lang/translations/ja.po +9 -9
- package/lang/translations/ko.po +9 -9
- package/lang/translations/lt.po +9 -9
- package/lang/translations/lv.po +9 -9
- package/lang/translations/ms.po +9 -9
- package/lang/translations/nl.po +9 -9
- package/lang/translations/no.po +9 -9
- package/lang/translations/pl.po +9 -9
- package/lang/translations/pt-br.po +9 -9
- package/lang/translations/pt.po +9 -9
- package/lang/translations/ro.po +9 -9
- package/lang/translations/ru.po +9 -9
- package/lang/translations/sk.po +9 -9
- package/lang/translations/sr.po +9 -9
- package/lang/translations/sv.po +9 -9
- package/lang/translations/th.po +9 -9
- package/lang/translations/tr.po +9 -9
- package/lang/translations/uk.po +9 -9
- package/lang/translations/vi.po +9 -9
- package/lang/translations/zh-cn.po +9 -9
- package/lang/translations/zh.po +9 -9
- 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
|
-
const
|
|
23
|
+
function _0x13c6(_0x4e7191,_0x5a8053){const _0x281886=_0x2818();return _0x13c6=function(_0x13c685,_0x476489){_0x13c685=_0x13c685-0x64;let _0x5c746d=_0x281886[_0x13c685];return _0x5c746d;},_0x13c6(_0x4e7191,_0x5a8053);}const _0x8ddaf2=_0x13c6;function _0x2818(){const _0x491211=['ck-ai-chat-controls-loader-icon-dot','set','710380PcPoFO','4579010ZXLrqU','ck-ai-chat-controls-loader-wrapper','abortPromptStream','ck-ai-chat-controls-loader','execute','_loaderView','setTemplate','32aZGAVr','locale','1835804HeOqor','_createCancelButtonView','ck-ai-chat-controls-loader-icon','3hfBANn','_cancelButtonView','ck-ai-button-secondary\x20ck-ai-button-stop-generating','13390FnKDBM','327151Qgehbx','ck-reset_all','AI_CHAT_STOP_GENERATING','177247uwtKbX','AI_CHAT_IS_WRITING','78FDeCQf','div','3236454IiouFe','_createLoaderView','150XVWNcR','fire'];_0x2818=function(){return _0x491211;};return _0x2818();}(function(_0x253a57,_0x5e6421){const _0x422cf7=_0x13c6,_0xc57f12=_0x253a57();while(!![]){try{const _0x15a368=parseInt(_0x422cf7(0x73))/0x1+-parseInt(_0x422cf7(0x81))/0x2+-parseInt(_0x422cf7(0x70))/0x3*(parseInt(_0x422cf7(0x6d))/0x4)+parseInt(_0x422cf7(0x64))/0x5+parseInt(_0x422cf7(0x79))/0x6*(-parseInt(_0x422cf7(0x77))/0x7)+-parseInt(_0x422cf7(0x6b))/0x8*(-parseInt(_0x422cf7(0x7b))/0x9)+parseInt(_0x422cf7(0x7d))/0xa*(-parseInt(_0x422cf7(0x74))/0xb);if(_0x15a368===_0x5e6421)break;else _0xc57f12['push'](_0xc57f12['shift']());}catch(_0x9e66a0){_0xc57f12['push'](_0xc57f12['shift']());}}}(_0x2818,0xbdfcb));import{ButtonView as _0x4f6355,View as _0x86759d}from'ckeditor5/src/ui.js';import{IconStop as _0x4722d4}from'ckeditor5/src/icons.js';import{getTranslation as _0x4c8885}from'../../../aicore/utils/common-translations.js';export class AIChatControlsLoaderView extends _0x86759d{[_0x8ddaf2(0x71)];[_0x8ddaf2(0x69)];constructor(_0xa5cdd1){const _0x1ba47b=_0x8ddaf2;super(_0xa5cdd1),this[_0x1ba47b(0x71)]=this[_0x1ba47b(0x6e)](),this[_0x1ba47b(0x69)]=this[_0x1ba47b(0x7c)](),this[_0x1ba47b(0x6a)]({'tag':_0x1ba47b(0x7a),'attributes':{'class':['ck',_0x1ba47b(0x65),_0x1ba47b(0x75)]},'children':[this[_0x1ba47b(0x69)],this[_0x1ba47b(0x71)]]});}[_0x8ddaf2(0x6e)](){const _0x39d531=_0x8ddaf2,_0xbf3740=new _0x4f6355(this[_0x39d531(0x6c)]);return _0xbf3740[_0x39d531(0x80)]({'label':_0x4c8885(this[_0x39d531(0x6c)],_0x39d531(0x76)),'withText':!0x0,'class':_0x39d531(0x72),'icon':_0x4722d4}),_0xbf3740['on'](_0x39d531(0x68),()=>{const _0x56a9d1=_0x39d531;this[_0x56a9d1(0x7e)](_0x56a9d1(0x66));}),_0xbf3740;}[_0x8ddaf2(0x7c)](){const _0x446775=_0x8ddaf2,_0x1a7303=new _0x86759d(this[_0x446775(0x6c)]);return _0x1a7303[_0x446775(0x6a)]({'tag':_0x446775(0x7a),'attributes':{'class':[_0x446775(0x67)]},'children':[{'tag':_0x446775(0x7a),'attributes':{'class':[_0x446775(0x6f)]},'children':[{'tag':_0x446775(0x7a),'attributes':{'class':[_0x446775(0x7f)]}},{'tag':_0x446775(0x7a),'attributes':{'class':[_0x446775(0x7f)]}},{'tag':_0x446775(0x7a),'attributes':{'class':[_0x446775(0x7f)]}}]},{'text':_0x4c8885(this[_0x446775(0x6c)],_0x446775(0x78))}]}),_0x1a7303;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x55765a=_0x1031;(function(_0x255f5a,_0x4fa46a){const _0x5b0a34=_0x1031,_0x40bf0d=_0x255f5a();while(!![]){try{const _0x5950e5=parseInt(_0x5b0a34(0x102))/0x1*(parseInt(_0x5b0a34(0x13e))/0x2)+-parseInt(_0x5b0a34(0x145))/0x3+-parseInt(_0x5b0a34(0xef))/0x4*(-parseInt(_0x5b0a34(0xfb))/0x5)+parseInt(_0x5b0a34(0x10c))/0x6+-parseInt(_0x5b0a34(0x129))/0x7*(parseInt(_0x5b0a34(0x118))/0x8)+-parseInt(_0x5b0a34(0xfc))/0x9+parseInt(_0x5b0a34(0xf3))/0xa*(parseInt(_0x5b0a34(0x130))/0xb);if(_0x5950e5===_0x4fa46a)break;else _0x40bf0d['push'](_0x40bf0d['shift']());}catch(_0x455aa9){_0x40bf0d['push'](_0x40bf0d['shift']());}}}(_0x3f45,0x388c6));import{Collection as _0x4f8b0c}from'ckeditor5/src/utils.js';function _0x1031(_0x7a0582,_0x46d070){const _0x3f45d9=_0x3f45();return _0x1031=function(_0x1031a2,_0x10f450){_0x1031a2=_0x1031a2-0xe7;let _0xf115f6=_0x3f45d9[_0x1031a2];return _0xf115f6;},_0x1031(_0x7a0582,_0x46d070);}import{IconAI as _0xeb9e9,IconBulb as _0x34430d,IconWeb as _0x2db80b}from'@ckeditor/ckeditor5-icons';function _0x3f45(){const _0x4fc1e3=['ck-ai-chat-controls-button--commands','_createReasoningButton','fire','ck-ai-chat-controls__model-selection__item-capabilities','isEnabled','toggleWebSearch','createCollection','setReasoning','1332696CjNeVw','enabled','selectModel','clear','text','ck-ai-chat__prompt-capabilities','_createModelNameView','reasoningActive','reasoning','isOn','startsWith','button','5496JIKASa','style','getLocalized','activeModelId','listenTo','locale','toggleReasoning','isVisible','ck-button__label','model','AI_CHAT_ENABLE_REASONING','add','Commands\x20are\x20not\x20implemented\x20yet.','_reasoningButton','ck-ai-chat-controls__model-selection__item-description','capabilities','setTemplate','1344bTcJAM','name','label','AI_CHAT_MODEL_SELECTOR_DISABLED_TOOLTIP','ck-ai-chat-controls__model-selection','set','AI_CHAT_ENABLE_WEB_SEARCH','55vGfZIp','enableModelSelector','setWebSearch','addMany','webSearch','activeModelName','ck-ai-chat-controls__model-selection__item-name','bindTemplate','agent','AI_CHAT_CAPABILITIES_YES','modelSelectorVisible','modelSelectorEnabled','length','buttonView','2062DDpSjJ','_createCommandsButton','withText','AI_CHAT_REASONING','_modelSelectionDropdownItems','span','disableModelSelector','1297800FHmMRi','_webSearchButton','_createWebSearchButton','AI_CHAT_MODEL_SELECTOR_ENABLED_TOOLTIP','extendTemplate','setModel','source','toLowerCase','content','_modelNameView','description','ck-ai-chat-controls-button','bind','AI_CHAT_COMMANDS','_getCapabilityParts','1616xJuMkb','execute','AI_CHAT_CAPABILITIES_NO','webSearchActive','965730sUAxYd','log','AI_CHAT_SEARCH_WEB','div','AI_CHAT_DISABLE_WEB_SEARCH','ck-ai-chat-controls__model-name','setModelList','menuitemradio','880EYjTJD','3726090TcbxdJ','_createModelSelectionDropdown','_modelSelectionDropdown','ck-hidden','AI_CHAT_DISABLE_REASONING','_commandsButton','421FwXlCG','tooltip'];_0x3f45=function(){return _0x4fc1e3;};return _0x3f45();}import{addListToDropdown as _0x439454,ButtonLabelView as _0x1cc7a5,ButtonView as _0x4b9f06,createDropdown as _0x2f0647,IconView as _0x3e2205,UIModel as _0x2f4ca0,View as _0x1f3282}from'ckeditor5/src/ui.js';import{getTranslation as _0xa6f96a}from'../../../aicore/utils/common-translations.js';import{AIModels as _0x2064bf}from'../../../aicore/model/aimodels.js';const No=_0x55765a(0x111),vo=_0x55765a(0xeb),Ho=_0x55765a(0x104),Mo=_0x55765a(0x12d),Lo=_0x55765a(0x136),Do=_0x55765a(0x126),Wo=_0x55765a(0x107),yo='n';export class AIChatPromptCapabilitiesView extends _0x1f3282{[_0x55765a(0x146)];[_0x55765a(0x125)];[_0x55765a(0x101)];[_0x55765a(0xfe)];[_0x55765a(0x142)];[_0x55765a(0xe9)];constructor(_0x1a6a79){const _0x16d48c=_0x55765a;super(_0x1a6a79),this[_0x16d48c(0x12e)](_0x16d48c(0xf2),!0x1),this[_0x16d48c(0x12e)](_0x16d48c(0x113),!0x1),this[_0x16d48c(0x12e)](_0x16d48c(0x13a),!0x0),this[_0x16d48c(0x12e)](_0x16d48c(0x13b),!0x0),this[_0x16d48c(0x12e)](_0x16d48c(0x11b),null),this[_0x16d48c(0x12e)](_0x16d48c(0x135),null),this[_0x16d48c(0xfe)]=this[_0x16d48c(0xfd)](),this[_0x16d48c(0xe9)]=this[_0x16d48c(0x112)](),this[_0x16d48c(0x146)]=this[_0x16d48c(0x147)](),this[_0x16d48c(0x125)]=this[_0x16d48c(0x105)](),this[_0x16d48c(0x101)]=this[_0x16d48c(0x13f)](),this[_0x16d48c(0xfe)][_0x16d48c(0x13d)][_0x16d48c(0xec)](_0x16d48c(0x11f))['to'](this,_0x16d48c(0x13a),_0x375241=>_0x375241),this[_0x16d48c(0xfe)][_0x16d48c(0x13d)][_0x16d48c(0xec)](_0x16d48c(0x103))['to'](this,_0x16d48c(0x13b),_0x463bc9=>_0x463bc9?this[_0x16d48c(0xfe)][_0x16d48c(0x13d)][_0x16d48c(0x12b)]:_0xa6f96a(this[_0x16d48c(0x11d)],_0x16d48c(0x12c))),this[_0x16d48c(0xfe)][_0x16d48c(0xec)](_0x16d48c(0x108))['to'](this,_0x16d48c(0x13b),_0x2f3e14=>_0x2f3e14),this[_0x16d48c(0x146)][_0x16d48c(0xec)](_0x16d48c(0x115))['to'](this,_0x16d48c(0xf2),_0x492597=>_0x492597),this[_0x16d48c(0x146)][_0x16d48c(0xec)](_0x16d48c(0x140))['to'](this,_0x16d48c(0x13a),_0x21bbb1=>!_0x21bbb1),this[_0x16d48c(0x146)][_0x16d48c(0xec)](_0x16d48c(0x103))['to'](this,_0x16d48c(0xf2),_0x33e298=>_0xa6f96a(this[_0x16d48c(0x11d)],_0x33e298?_0x16d48c(0xf7):_0x16d48c(0x12f))),this[_0x16d48c(0x125)][_0x16d48c(0xec)](_0x16d48c(0x115))['to'](this,_0x16d48c(0x113),_0xc3b594=>_0xc3b594),this[_0x16d48c(0x125)][_0x16d48c(0xec)](_0x16d48c(0x140))['to'](this,_0x16d48c(0x13a),_0x93a03f=>!_0x93a03f),this[_0x16d48c(0x125)][_0x16d48c(0xec)](_0x16d48c(0x103))['to'](this,_0x16d48c(0x113),_0x410b82=>_0xa6f96a(this[_0x16d48c(0x11d)],_0x410b82?_0x16d48c(0x100):_0x16d48c(0x122))),this[_0x16d48c(0x128)]({'tag':_0x16d48c(0xf6),'attributes':{'class':[No]},'children':[this[_0x16d48c(0xfe)],this[_0x16d48c(0xe9)],this[_0x16d48c(0x146)],this[_0x16d48c(0x125)],this[_0x16d48c(0x101)]]}),this[_0x16d48c(0x142)]=new _0x4f8b0c(),_0x439454(this[_0x16d48c(0xfe)],this[_0x16d48c(0x142)]);}[_0x55765a(0xf9)](_0x22c862,_0x613ba2){const _0x1d3cd0=_0x55765a;if(this[_0x1d3cd0(0x12e)](_0x1d3cd0(0x13a),!(_0x613ba2&&_0x22c862[_0x1d3cd0(0x13c)]<=0x1)),this[_0x1d3cd0(0x142)][_0x1d3cd0(0x10f)](),_0x22c862?.[_0x1d3cd0(0x13c)]){const _0x3e76a4=_0x2064bf[_0x1d3cd0(0x11a)](this[_0x1d3cd0(0x11d)],_0x22c862);for(const _0x2c71df of _0x3e76a4){const _0x53ed47=new _0x2f4ca0({'label':_0x2c71df[_0x1d3cd0(0x12a)],'withText':!0x0,'role':_0x1d3cd0(0xfa),'id':_0x2c71df['id'],'model':_0x2c71df});_0x53ed47[_0x1d3cd0(0xec)](_0x1d3cd0(0x115))['to'](this,_0x1d3cd0(0x11b),_0x7b8243=>_0x7b8243===_0x2c71df['id']),this[_0x1d3cd0(0x142)][_0x1d3cd0(0x123)]({'type':_0x1d3cd0(0x117),'model':_0x53ed47,'labelView':new Xs(this[_0x1d3cd0(0x11d)],_0x2c71df)});}}}[_0x55765a(0x132)](_0x306cf1){const _0x3fef11=_0x55765a;this[_0x3fef11(0x12e)](_0x3fef11(0xf2),_0x306cf1);}[_0x55765a(0x10b)](_0x355cef){const _0xe431b1=_0x55765a;this[_0xe431b1(0x12e)](_0xe431b1(0x113),_0x355cef);}[_0x55765a(0x14a)](_0x43f439){const _0x1d1033=_0x55765a;if(!_0x43f439)return;this[_0x1d1033(0x11b)]=_0x43f439['id'],this[_0x1d1033(0x135)]=_0x43f439[_0x1d1033(0x12a)]||_0x43f439['id'],this[_0x1d1033(0xfe)][_0x1d1033(0x13d)][_0x1d1033(0x12e)](_0x1d1033(0x12b),_0x43f439[_0x1d1033(0x12a)]),this[_0x1d1033(0xfe)][_0x1d1033(0x13d)][_0x1d1033(0x12e)](_0x1d1033(0x103),_0x43f439[_0x1d1033(0x12a)]);const _0xe8152=_0x43f439[_0x1d1033(0x127)][_0x1d1033(0x134)]?.[_0x1d1033(0x10d)]??!0x1;this[_0x1d1033(0x12e)](_0x1d1033(0xf2),!0x1),this[_0x1d1033(0x146)][_0x1d1033(0x12e)](_0x1d1033(0x115),!0x1),this[_0x1d1033(0x146)][_0x1d1033(0x12e)](_0x1d1033(0x108),_0xe8152),this[_0x1d1033(0x146)][_0x1d1033(0x12e)](_0x1d1033(0x11f),_0xe8152);const _0x10e095=_0x43f439[_0x1d1033(0x127)][_0x1d1033(0x114)]?.[_0x1d1033(0x10d)]??!0x1;this[_0x1d1033(0x12e)](_0x1d1033(0x113),!0x1),this[_0x1d1033(0x125)][_0x1d1033(0x12e)](_0x1d1033(0x115),!0x1),this[_0x1d1033(0x125)][_0x1d1033(0x12e)](_0x1d1033(0x108),_0x10e095),this[_0x1d1033(0x125)][_0x1d1033(0x12e)](_0x1d1033(0x11f),_0x10e095);}[_0x55765a(0x131)](){const _0x406532=_0x55765a;this[_0x406532(0x12e)](_0x406532(0x13b),!0x0),this[_0x406532(0x12e)](_0x406532(0x13a),!0x0);}[_0x55765a(0x144)](_0x1a38c3){const _0x18f8d8=_0x55765a;this[_0x18f8d8(0x12e)](_0x18f8d8(0x13b),!0x1),_0x1a38c3&&this[_0x18f8d8(0x12e)](_0x18f8d8(0x13a),!0x1);}[_0x55765a(0x147)](){const _0xdb881=_0x55765a,_0x19f71e=new _0x4b9f06();return _0x19f71e[_0xdb881(0x12e)]({'label':_0xa6f96a(this[_0xdb881(0x11d)],_0xdb881(0xf5)),'icon':_0x2db80b,'class':vo,'isToggleable':!0x0,'tooltipPosition':yo}),_0x19f71e['on'](_0xdb881(0xf0),()=>{const _0x1c2066=_0xdb881;this[_0x1c2066(0x106)](_0x1c2066(0x109));}),_0x19f71e;}[_0x55765a(0x105)](){const _0x30e119=_0x55765a,_0x4d9cd9=new _0x4b9f06();return _0x4d9cd9[_0x30e119(0x12e)]({'label':_0xa6f96a(this[_0x30e119(0x11d)],_0x30e119(0x141)),'icon':_0x34430d,'class':vo,'isToggleable':!0x0,'tooltipPosition':yo}),_0x4d9cd9['on'](_0x30e119(0xf0),()=>{const _0x338d6b=_0x30e119;this[_0x338d6b(0x106)](_0x338d6b(0x11e));}),_0x4d9cd9;}[_0x55765a(0x13f)](){const _0x2935d6=_0x55765a,_0x1b1eca=new _0x4b9f06();return _0x1b1eca[_0x2935d6(0x12e)]({'label':_0xa6f96a(this[_0x2935d6(0x11d)],_0x2935d6(0xed)),'icon':_0xeb9e9,'withText':!0x0,'class':vo,'isToggleable':!0x0,'tooltip':_0xa6f96a(this[_0x2935d6(0x11d)],_0x2935d6(0xed)),'tooltipPosition':yo}),_0x1b1eca[_0x2935d6(0x149)]({'attributes':{'class':[Ho]}}),_0x1b1eca['on'](_0x2935d6(0xf0),()=>{const _0x30890d=_0x2935d6;console[_0x30890d(0xf4)](_0x30890d(0x124)),alert(_0x30890d(0x124));}),_0x1b1eca;}[_0x55765a(0xfd)](){const _0x262c86=_0x55765a,_0x26837a=_0x2f0647(this[_0x262c86(0x11d)]);return _0x26837a[_0x262c86(0x12e)]({'panelPosition':'ne','class':[Mo]}),_0x26837a[_0x262c86(0x13d)][_0x262c86(0x12e)]({'label':_0xa6f96a(this[_0x262c86(0x11d)],_0x262c86(0x148)),'withText':!0x0,'tooltip':!0x0,'tooltipPosition':yo}),this[_0x262c86(0x11c)](_0x26837a,_0x262c86(0xf0),_0x6535bb=>{const _0x5bf877=_0x262c86;this[_0x5bf877(0x106)](_0x5bf877(0x10e),_0x6535bb[_0x5bf877(0x14b)][_0x5bf877(0x121)]);}),_0x26837a;}[_0x55765a(0x112)](){const _0x1a988b=_0x55765a,_0x516e89=new jo(this[_0x1a988b(0x11d)]);return _0x516e89[_0x1a988b(0xec)](_0x1a988b(0x110))['to'](this,_0x1a988b(0x135),_0x286902=>_0x286902??''),_0x516e89[_0x1a988b(0xec)](_0x1a988b(0x11f))['to'](this,_0x1a988b(0x13a),this,_0x1a988b(0x135),(_0x46975b,_0x2af9f6)=>!_0x46975b&&!_0x2af9f6?.[_0x1a988b(0xe7)]()[_0x1a988b(0x116)](_0x1a988b(0x138))),_0x516e89;}}class Xs extends _0x1cc7a5{constructor(_0x139e62,_0x15dbe2){const _0x2e7076=_0x55765a;super();const _0x25d467=this[_0x2e7076(0x137)],_0x1b7e48=this[_0x2e7076(0x10a)]();this[_0x2e7076(0x128)]({'tag':_0x2e7076(0xf6),'attributes':{'class':['ck',_0x2e7076(0x120)],'style':_0x25d467['to'](_0x2e7076(0x119)),'id':_0x25d467['to']('id')},'children':[{'tag':_0x2e7076(0xf6),'attributes':{'class':[Lo]},'children':[{'text':_0x25d467['to'](_0x2e7076(0x110))}]},{'tag':_0x2e7076(0xf6),'attributes':{'class':[Do]},'children':[{'tag':_0x2e7076(0x143),'children':[{'text':_0x15dbe2[_0x2e7076(0xea)]}]}]},{'tag':_0x2e7076(0xf6),'attributes':{'class':[Wo]},'children':_0x1b7e48}]}),_0x1b7e48[_0x2e7076(0x133)](this[_0x2e7076(0xee)](_0x139e62,_0x2db80b,_0x2e7076(0xf5),_0x15dbe2[_0x2e7076(0x127)][_0x2e7076(0x134)]?.[_0x2e7076(0x10d)]??!0x1)),_0x1b7e48[_0x2e7076(0x133)](this[_0x2e7076(0xee)](_0x139e62,_0x34430d,_0x2e7076(0x141),_0x15dbe2[_0x2e7076(0x127)][_0x2e7076(0x114)]?.[_0x2e7076(0x10d)]??!0x1));}[_0x55765a(0xee)](_0x3293ab,_0x3883ed,_0x47cb52,_0x6f8b4f){const _0x524a78=_0x55765a,_0x39b653=new _0x3e2205();_0x39b653[_0x524a78(0xe8)]=_0x3883ed;const _0xb21dd7=new _0x1f3282(_0x3293ab);_0xb21dd7[_0x524a78(0x128)]({'tag':_0x524a78(0x143),'children':[{'text':_0xa6f96a(_0x3293ab,_0x47cb52)+':\x20'}]});const _0x9f7005=new _0x1f3282(_0x3293ab);return _0x9f7005[_0x524a78(0x128)]({'tag':_0x524a78(0x143),'children':[{'text':_0xa6f96a(_0x3293ab,_0x6f8b4f?_0x524a78(0x139):_0x524a78(0xf1))}]}),[_0x39b653,_0xb21dd7,_0x9f7005];}}class jo extends _0x1f3282{constructor(_0x451149){const _0x5ee23c=_0x55765a;super(_0x451149),this[_0x5ee23c(0x12e)](_0x5ee23c(0x110),void 0x0),this[_0x5ee23c(0x12e)](_0x5ee23c(0x11f),!0x0);const _0x3addaa=this[_0x5ee23c(0x137)];this[_0x5ee23c(0x128)]({'tag':_0x5ee23c(0x143),'attributes':{'class':['ck',_0x5ee23c(0xf8),_0x3addaa['if'](_0x5ee23c(0x11f),_0x5ee23c(0xff),_0x2b668b=>!_0x2b668b)]},'children':[{'text':_0x3addaa['to'](_0x5ee23c(0x110))}]});}}
|
|
23
|
+
const _0x5afbef=_0x3b42;(function(_0x10b8f5,_0x32b9cd){const _0x33a05a=_0x3b42,_0x3105b4=_0x10b8f5();while(!![]){try{const _0x3c95aa=-parseInt(_0x33a05a(0xf2))/0x1+-parseInt(_0x33a05a(0xfa))/0x2+parseInt(_0x33a05a(0xeb))/0x3+-parseInt(_0x33a05a(0xb9))/0x4*(-parseInt(_0x33a05a(0xdb))/0x5)+-parseInt(_0x33a05a(0x100))/0x6+-parseInt(_0x33a05a(0xe8))/0x7+parseInt(_0x33a05a(0xd9))/0x8*(parseInt(_0x33a05a(0xd3))/0x9);if(_0x3c95aa===_0x32b9cd)break;else _0x3105b4['push'](_0x3105b4['shift']());}catch(_0x569010){_0x3105b4['push'](_0x3105b4['shift']());}}}(_0x2b8b,0x52ca9));import{Collection as _0x303050}from'ckeditor5/src/utils.js';import{IconAI as _0x50e624,IconBulb as _0x4515be,IconWeb as _0x2ed462}from'@ckeditor/ckeditor5-icons';import{addListToDropdown as _0x1da74e,ButtonLabelView as _0x2d86ec,ButtonView as _0x2ee5be,createDropdown as _0x4bd863,IconView as _0x152bb3,UIModel as _0x344b76,View as _0x2d1d27}from'ckeditor5/src/ui.js';function _0x2b8b(){const _0x53790c=['activeModelName','webSearchActive','_commandsButton','_modelSelectionDropdown','AI_CHAT_MODEL_SELECTOR_DISABLED_TOOLTIP','activeModelId','ck-ai-chat-controls-button','AI_CHAT_DISABLE_REASONING','log','setWebSearch','_createCommandsButton','5220TybgXe','ck-ai-chat-controls-button--commands','extendTemplate','getLocalized','addMany','enabled','12920WLNYtn','AI_CHAT_ENABLE_WEB_SEARCH','170snxTgm','isEnabled','length','add','enableModelSelector','span','label','div','setTemplate','setModelList','tooltip','AI_CHAT_REASONING','menuitemradio','2389485WYutzK','AI_CHAT_COMMANDS','isOn','494580BcspQV','webSearch','reasoningActive','agent','ck-hidden','_reasoningButton','execute','114499vGbgiv','modelSelectorVisible','disableModelSelector','Commands\x20are\x20not\x20implemented\x20yet.','setReasoning','isVisible','name','bindTemplate','1052884ISUVMV','AI_CHAT_DISABLE_WEB_SEARCH','_getCapabilityParts','modelSelectorEnabled','AI_CHAT_SEARCH_WEB','startsWith','1853718vXWISb','toggleWebSearch','clear','_createModelSelectionDropdown','model','_modelNameView','buttonView','ck-ai-chat-controls__model-selection','createCollection','AI_CHAT_MODEL_SELECTOR_ENABLED_TOOLTIP','_createWebSearchButton','ck-ai-chat__prompt-capabilities','reasoning','locale','ck-ai-chat-controls__model-selection__item-name','text','withText','capabilities','ck-ai-chat-controls__model-name','listenTo','toggleReasoning','_webSearchButton','toLowerCase','source','ck-button__label','button','set','_modelSelectionDropdownItems','62212aevMcQ','style','AI_CHAT_CAPABILITIES_NO','description','ck-ai-chat-controls__model-selection__item-capabilities','content','AI_CHAT_ENABLE_REASONING','_createModelNameView','_createReasoningButton','bind','setModel','ck-ai-chat-controls__model-selection__item-description','fire','selectModel','AI_CHAT_CAPABILITIES_YES'];_0x2b8b=function(){return _0x53790c;};return _0x2b8b();}import{getTranslation as _0xc0a7a9}from'../../../aicore/utils/common-translations.js';import{AIModels as _0x39dee4}from'../../../aicore/model/aimodels.js';const yo=_0x5afbef(0x10b),Uo=_0x5afbef(0xce),jo=_0x5afbef(0xd4),Go=_0x5afbef(0x107),Yo=_0x5afbef(0xab),qo=_0x5afbef(0xc4),zo=_0x5afbef(0xbd),Fo='n';function _0x3b42(_0x3ec80f,_0x2d66d1){const _0x2b8b30=_0x2b8b();return _0x3b42=function(_0x3b4200,_0x500fd4){_0x3b4200=_0x3b4200-0xab;let _0x27f7b9=_0x2b8b30[_0x3b4200];return _0x27f7b9;},_0x3b42(_0x3ec80f,_0x2d66d1);}export class AIChatPromptCapabilitiesView extends _0x2d1d27{[_0x5afbef(0xb2)];[_0x5afbef(0xf0)];[_0x5afbef(0xca)];[_0x5afbef(0xcb)];[_0x5afbef(0xb8)];[_0x5afbef(0x105)];constructor(_0x272a6e){const _0x5e65da=_0x5afbef;super(_0x272a6e),this[_0x5e65da(0xb7)](_0x5e65da(0xc9),!0x1),this[_0x5e65da(0xb7)](_0x5e65da(0xed),!0x1),this[_0x5e65da(0xb7)](_0x5e65da(0xf3),!0x0),this[_0x5e65da(0xb7)](_0x5e65da(0xfd),!0x0),this[_0x5e65da(0xb7)](_0x5e65da(0xcd),null),this[_0x5e65da(0xb7)](_0x5e65da(0xc8),null),this[_0x5e65da(0xcb)]=this[_0x5e65da(0x103)](),this[_0x5e65da(0x105)]=this[_0x5e65da(0xc0)](),this[_0x5e65da(0xb2)]=this[_0x5e65da(0x10a)](),this[_0x5e65da(0xf0)]=this[_0x5e65da(0xc1)](),this[_0x5e65da(0xca)]=this[_0x5e65da(0xd2)](),this[_0x5e65da(0xcb)][_0x5e65da(0x106)][_0x5e65da(0xc2)](_0x5e65da(0xf7))['to'](this,_0x5e65da(0xf3),_0x951a8=>_0x951a8),this[_0x5e65da(0xcb)][_0x5e65da(0x106)][_0x5e65da(0xc2)](_0x5e65da(0xe5))['to'](this,_0x5e65da(0xfd),_0xb6cd94=>_0xb6cd94?this[_0x5e65da(0xcb)][_0x5e65da(0x106)][_0x5e65da(0xe1)]:_0xc0a7a9(this[_0x5e65da(0x10d)],_0x5e65da(0xcc))),this[_0x5e65da(0xcb)][_0x5e65da(0xc2)](_0x5e65da(0xdc))['to'](this,_0x5e65da(0xfd),_0x38966d=>_0x38966d),this[_0x5e65da(0xb2)][_0x5e65da(0xc2)](_0x5e65da(0xea))['to'](this,_0x5e65da(0xc9),_0x508bd8=>_0x508bd8),this[_0x5e65da(0xb2)][_0x5e65da(0xc2)](_0x5e65da(0xad))['to'](this,_0x5e65da(0xf3),_0x2c4ef1=>!_0x2c4ef1),this[_0x5e65da(0xb2)][_0x5e65da(0xc2)](_0x5e65da(0xe5))['to'](this,_0x5e65da(0xc9),_0x13a2f4=>_0xc0a7a9(this[_0x5e65da(0x10d)],_0x13a2f4?_0x5e65da(0xfb):_0x5e65da(0xda))),this[_0x5e65da(0xf0)][_0x5e65da(0xc2)](_0x5e65da(0xea))['to'](this,_0x5e65da(0xed),_0x54982c=>_0x54982c),this[_0x5e65da(0xf0)][_0x5e65da(0xc2)](_0x5e65da(0xad))['to'](this,_0x5e65da(0xf3),_0x450311=>!_0x450311),this[_0x5e65da(0xf0)][_0x5e65da(0xc2)](_0x5e65da(0xe5))['to'](this,_0x5e65da(0xed),_0x3169f4=>_0xc0a7a9(this[_0x5e65da(0x10d)],_0x3169f4?_0x5e65da(0xcf):_0x5e65da(0xbf))),this[_0x5e65da(0xe3)]({'tag':_0x5e65da(0xe2),'attributes':{'class':[yo]},'children':[this[_0x5e65da(0xcb)],this[_0x5e65da(0x105)],this[_0x5e65da(0xb2)],this[_0x5e65da(0xf0)],this[_0x5e65da(0xca)]]}),this[_0x5e65da(0xb8)]=new _0x303050(),_0x1da74e(this[_0x5e65da(0xcb)],this[_0x5e65da(0xb8)]);}[_0x5afbef(0xe4)](_0x4f84f2,_0x1e2e61){const _0x43e734=_0x5afbef;if(this[_0x43e734(0xb7)](_0x43e734(0xf3),!(_0x1e2e61&&_0x4f84f2[_0x43e734(0xdd)]<=0x1)),this[_0x43e734(0xb8)][_0x43e734(0x102)](),_0x4f84f2?.[_0x43e734(0xdd)]){const _0x4d5f5a=_0x39dee4[_0x43e734(0xd6)](this[_0x43e734(0x10d)],_0x4f84f2);for(const _0x4186db of _0x4d5f5a){const _0x210d3d=new _0x344b76({'label':_0x4186db[_0x43e734(0xf8)],'withText':!0x0,'role':_0x43e734(0xe7),'id':_0x4186db['id'],'model':_0x4186db});_0x210d3d[_0x43e734(0xc2)](_0x43e734(0xea))['to'](this,_0x43e734(0xcd),_0x15b79d=>_0x15b79d===_0x4186db['id']),this[_0x43e734(0xb8)][_0x43e734(0xde)]({'type':_0x43e734(0xb6),'model':_0x210d3d,'labelView':new Zs(this[_0x43e734(0x10d)],_0x4186db)});}}}[_0x5afbef(0xd1)](_0x61594c){const _0x169e2c=_0x5afbef;this[_0x169e2c(0xb7)](_0x169e2c(0xc9),_0x61594c);}[_0x5afbef(0xf6)](_0x5b505d){const _0x589f9e=_0x5afbef;this[_0x589f9e(0xb7)](_0x589f9e(0xed),_0x5b505d);}[_0x5afbef(0xc3)](_0x418c11){const _0x643f95=_0x5afbef;if(!_0x418c11)return;this[_0x643f95(0xcd)]=_0x418c11['id'],this[_0x643f95(0xc8)]=_0x418c11[_0x643f95(0xf8)]||_0x418c11['id'],this[_0x643f95(0xcb)][_0x643f95(0x106)][_0x643f95(0xb7)](_0x643f95(0xe1),_0x418c11[_0x643f95(0xf8)]),this[_0x643f95(0xcb)][_0x643f95(0x106)][_0x643f95(0xb7)](_0x643f95(0xe5),_0x418c11[_0x643f95(0xf8)]);const _0x20b3fc=_0x418c11[_0x643f95(0xae)][_0x643f95(0xec)]?.[_0x643f95(0xd8)]??!0x1;this[_0x643f95(0xb7)](_0x643f95(0xc9),!0x1),this[_0x643f95(0xb2)][_0x643f95(0xb7)](_0x643f95(0xea),!0x1),this[_0x643f95(0xb2)][_0x643f95(0xb7)](_0x643f95(0xdc),_0x20b3fc),this[_0x643f95(0xb2)][_0x643f95(0xb7)](_0x643f95(0xf7),_0x20b3fc);const _0xf01093=_0x418c11[_0x643f95(0xae)][_0x643f95(0x10c)]?.[_0x643f95(0xd8)]??!0x1;this[_0x643f95(0xb7)](_0x643f95(0xed),!0x1),this[_0x643f95(0xf0)][_0x643f95(0xb7)](_0x643f95(0xea),!0x1),this[_0x643f95(0xf0)][_0x643f95(0xb7)](_0x643f95(0xdc),_0xf01093),this[_0x643f95(0xf0)][_0x643f95(0xb7)](_0x643f95(0xf7),_0xf01093);}[_0x5afbef(0xdf)](){const _0x519e07=_0x5afbef;this[_0x519e07(0xb7)](_0x519e07(0xfd),!0x0),this[_0x519e07(0xb7)](_0x519e07(0xf3),!0x0);}[_0x5afbef(0xf4)](_0x5e5ac3){const _0x17ba39=_0x5afbef;this[_0x17ba39(0xb7)](_0x17ba39(0xfd),!0x1),_0x5e5ac3&&this[_0x17ba39(0xb7)](_0x17ba39(0xf3),!0x1);}[_0x5afbef(0x10a)](){const _0x42db0a=_0x5afbef,_0x22602d=new _0x2ee5be();return _0x22602d[_0x42db0a(0xb7)]({'label':_0xc0a7a9(this[_0x42db0a(0x10d)],_0x42db0a(0xfe)),'icon':_0x2ed462,'class':Uo,'isToggleable':!0x0,'tooltipPosition':Fo}),_0x22602d['on'](_0x42db0a(0xf1),()=>{const _0x19aae4=_0x42db0a;this[_0x19aae4(0xc5)](_0x19aae4(0x101));}),_0x22602d;}[_0x5afbef(0xc1)](){const _0x1175d2=_0x5afbef,_0x3edf85=new _0x2ee5be();return _0x3edf85[_0x1175d2(0xb7)]({'label':_0xc0a7a9(this[_0x1175d2(0x10d)],_0x1175d2(0xe6)),'icon':_0x4515be,'class':Uo,'isToggleable':!0x0,'tooltipPosition':Fo}),_0x3edf85['on'](_0x1175d2(0xf1),()=>{const _0x578e32=_0x1175d2;this[_0x578e32(0xc5)](_0x578e32(0xb1));}),_0x3edf85;}[_0x5afbef(0xd2)](){const _0x2a47fb=_0x5afbef,_0x16d503=new _0x2ee5be();return _0x16d503[_0x2a47fb(0xb7)]({'label':_0xc0a7a9(this[_0x2a47fb(0x10d)],_0x2a47fb(0xe9)),'icon':_0x50e624,'withText':!0x0,'class':Uo,'isToggleable':!0x0,'tooltip':_0xc0a7a9(this[_0x2a47fb(0x10d)],_0x2a47fb(0xe9)),'tooltipPosition':Fo}),_0x16d503[_0x2a47fb(0xd5)]({'attributes':{'class':[jo]}}),_0x16d503['on'](_0x2a47fb(0xf1),()=>{const _0x56847b=_0x2a47fb;console[_0x56847b(0xd0)](_0x56847b(0xf5)),alert(_0x56847b(0xf5));}),_0x16d503;}[_0x5afbef(0x103)](){const _0x4728bf=_0x5afbef,_0x3c90fb=_0x4bd863(this[_0x4728bf(0x10d)]);return _0x3c90fb[_0x4728bf(0xb7)]({'panelPosition':'ne','class':[Go]}),_0x3c90fb[_0x4728bf(0x106)][_0x4728bf(0xb7)]({'label':_0xc0a7a9(this[_0x4728bf(0x10d)],_0x4728bf(0x109)),'withText':!0x0,'tooltip':!0x0,'tooltipPosition':Fo}),this[_0x4728bf(0xb0)](_0x3c90fb,_0x4728bf(0xf1),_0x2f1faf=>{const _0x37a318=_0x4728bf;this[_0x37a318(0xc5)](_0x37a318(0xc6),_0x2f1faf[_0x37a318(0xb4)][_0x37a318(0x104)]);}),_0x3c90fb;}[_0x5afbef(0xc0)](){const _0x56c671=_0x5afbef,_0x5ac10f=new Jo(this[_0x56c671(0x10d)]);return _0x5ac10f[_0x56c671(0xc2)](_0x56c671(0xac))['to'](this,_0x56c671(0xc8),_0x4206a2=>_0x4206a2??''),_0x5ac10f[_0x56c671(0xc2)](_0x56c671(0xf7))['to'](this,_0x56c671(0xf3),this,_0x56c671(0xc8),(_0x208b11,_0x5b4688)=>!_0x208b11&&!_0x5b4688?.[_0x56c671(0xb3)]()[_0x56c671(0xff)](_0x56c671(0xee))),_0x5ac10f;}}class Zs extends _0x2d86ec{constructor(_0x53693b,_0xc3f64e){const _0x19253c=_0x5afbef;super();const _0x13b360=this[_0x19253c(0xf9)],_0x309775=this[_0x19253c(0x108)]();this[_0x19253c(0xe3)]({'tag':_0x19253c(0xe2),'attributes':{'class':['ck',_0x19253c(0xb5)],'style':_0x13b360['to'](_0x19253c(0xba)),'id':_0x13b360['to']('id')},'children':[{'tag':_0x19253c(0xe2),'attributes':{'class':[Yo]},'children':[{'text':_0x13b360['to'](_0x19253c(0xac))}]},{'tag':_0x19253c(0xe2),'attributes':{'class':[qo]},'children':[{'tag':_0x19253c(0xe0),'children':[{'text':_0xc3f64e[_0x19253c(0xbc)]}]}]},{'tag':_0x19253c(0xe2),'attributes':{'class':[zo]},'children':_0x309775}]}),_0x309775[_0x19253c(0xd7)](this[_0x19253c(0xfc)](_0x53693b,_0x2ed462,_0x19253c(0xfe),_0xc3f64e[_0x19253c(0xae)][_0x19253c(0xec)]?.[_0x19253c(0xd8)]??!0x1)),_0x309775[_0x19253c(0xd7)](this[_0x19253c(0xfc)](_0x53693b,_0x4515be,_0x19253c(0xe6),_0xc3f64e[_0x19253c(0xae)][_0x19253c(0x10c)]?.[_0x19253c(0xd8)]??!0x1));}[_0x5afbef(0xfc)](_0x5a1f04,_0x45ffc3,_0x434a16,_0x4c224d){const _0x519e2d=_0x5afbef,_0x263489=new _0x152bb3();_0x263489[_0x519e2d(0xbe)]=_0x45ffc3;const _0x1ba46a=new _0x2d1d27(_0x5a1f04);_0x1ba46a[_0x519e2d(0xe3)]({'tag':_0x519e2d(0xe0),'children':[{'text':_0xc0a7a9(_0x5a1f04,_0x434a16)+':\x20'}]});const _0x3d3221=new _0x2d1d27(_0x5a1f04);return _0x3d3221[_0x519e2d(0xe3)]({'tag':_0x519e2d(0xe0),'children':[{'text':_0xc0a7a9(_0x5a1f04,_0x4c224d?_0x519e2d(0xc7):_0x519e2d(0xbb))}]}),[_0x263489,_0x1ba46a,_0x3d3221];}}class Jo extends _0x2d1d27{constructor(_0x442be4){const _0x2f4879=_0x5afbef;super(_0x442be4),this[_0x2f4879(0xb7)](_0x2f4879(0xac),void 0x0),this[_0x2f4879(0xb7)](_0x2f4879(0xf7),!0x0);const _0x4c9eee=this[_0x2f4879(0xf9)];this[_0x2f4879(0xe3)]({'tag':_0x2f4879(0xe0),'attributes':{'class':['ck',_0x2f4879(0xaf),_0x4c9eee['if'](_0x2f4879(0xf7),_0x2f4879(0xef),_0x3e5e43=>!_0x3e5e43)]},'children':[{'text':_0x4c9eee['to'](_0x2f4879(0xac))}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x46e159=_0x1f2f;(function(_0x54a91f,_0x2d9bf1){const _0x4e0a7d=_0x1f2f,_0x3701cf=_0x54a91f();while(!![]){try{const _0x34647c=parseInt(_0x4e0a7d(0x206))/0x1+parseInt(_0x4e0a7d(0x202))/0x2+-parseInt(_0x4e0a7d(0x1f1))/0x3+parseInt(_0x4e0a7d(0x1e8))/0x4*(-parseInt(_0x4e0a7d(0x200))/0x5)+-parseInt(_0x4e0a7d(0x1f4))/0x6+-parseInt(_0x4e0a7d(0x1ff))/0x7+-parseInt(_0x4e0a7d(0x213))/0x8*(-parseInt(_0x4e0a7d(0x1f3))/0x9);if(_0x34647c===_0x2d9bf1)break;else _0x3701cf['push'](_0x3701cf['shift']());}catch(_0xee42e6){_0x3701cf['push'](_0x3701cf['shift']());}}}(_0x5d0e,0x3ba2b));function _0x1f2f(_0x3c69d5,_0x276462){const _0x5d0eb=_0x5d0e();return _0x1f2f=function(_0x1f2fbf,_0x2c969b){_0x1f2fbf=_0x1f2fbf-0x1e7;let _0x58b8dc=_0x5d0eb[_0x1f2fbf];return _0x58b8dc;},_0x1f2f(_0x3c69d5,_0x276462);}function _0x5d0e(){const _0xfb5f8d=['hasError','keystrokes','window','isEmpty','bind','AI_CHAT_PROMPT_EMPTY_ERROR','requestAnimationFrame','ck-ai-chat__prompt-input','queryView','_addContextButtonView','fire','41008ODhxpX','_setUpAddContextButtonPositioning','setIsUploadInProgress','set','element','sendUserMessage','value','uiLanguageDirection','submit','1043916KKCOFG','maxRows','72WkpayP','2590578sBLkxP','add','focusableChildren','target','errorText','MAX_ROWS','ck-ai-chat__prompt-submit-button','left','locale','trim','rtl','3175354HyGjZT','125WjVCLT','placeholder','210084KsaWsl','submitButtonView','_queryViewResizeObserver','_createSubmitButton','476130xVxjzj','MIN_ROWS','update','px\x20-\x20var(--ck-spacing-tiny))','setPlaceholderText','isEnabled','fieldWrapperChildren','extendTemplate','AI_CHAT_LABEL_SUBMIT','minRows','reset','width','isUploadInProgress','1152752YYlpJy','execute','right','destroy','render','excludeScrollbarsAndBorders','style','fieldView','calc(','enter'];_0x5d0e=function(){return _0xfb5f8d;};return _0x5d0e();}import{IconSubmit as _0x2cc8bd}from'ckeditor5/src/icons.js';import{ButtonView as _0x76f57b,AutocompleteView as _0x489ff7,createLabeledTextarea as _0x4d8a40}from'ckeditor5/src/ui.js';import{global as _0x2b2c02,isVisible as _0x4bc70c,Rect as _0x2400df,ResizeObserver as _0xac01ab}from'ckeditor5/src/utils.js';import{getTranslation as _0x4e64b0}from'../../../aicore/utils/common-translations.js';import{AIChatPromptSuggestionsListView as _0x20beec}from'./aichatpromptsuggestionslistview.js';import{escape as _0x20a26a}from'es-toolkit/compat';export class AIChatPromptInputView extends _0x489ff7{[_0x46e159(0x203)];static [_0x46e159(0x207)]=0x1;static [_0x46e159(0x1f9)]=0xc;[_0x46e159(0x226)];[_0x46e159(0x204)];constructor(_0x33eb94,_0x5058d7){const _0x5d906c=_0x46e159;super(_0x33eb94,{'queryView':{'label':'','creator':_0x4d8a40,'showIcon':!0x1,'showResetButton':!0x1},'filteredView':new _0x20beec(_0x33eb94),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1}),this[_0x5d906c(0x1eb)](_0x5d906c(0x220),!0x0),this[_0x5d906c(0x1eb)](_0x5d906c(0x212),!0x1),this[_0x5d906c(0x226)]=_0x5058d7,this[_0x5d906c(0x204)]=null,this[_0x5d906c(0x225)][_0x5d906c(0x21a)][_0x5d906c(0x20f)]=AIChatPromptInputView[_0x5d906c(0x207)],this[_0x5d906c(0x225)][_0x5d906c(0x21a)][_0x5d906c(0x1f2)]=AIChatPromptInputView[_0x5d906c(0x1f9)],this[_0x5d906c(0x225)][_0x5d906c(0x20c)][_0x5d906c(0x1f5)](this[_0x5d906c(0x226)]),this[_0x5d906c(0x1e9)](),this[_0x5d906c(0x20d)]({'attributes':{'class':['ck',_0x5d906c(0x224)]}}),this[_0x5d906c(0x203)]=this[_0x5d906c(0x205)](),this[_0x5d906c(0x203)][_0x5d906c(0x221)](_0x5d906c(0x20b))['to'](this,_0x5d906c(0x220),this,_0x5d906c(0x212),(_0x24c0b9,_0x502431)=>!_0x24c0b9&&!_0x502431),this[_0x5d906c(0x1f6)][_0x5d906c(0x1f5)](this[_0x5d906c(0x203)]);}[_0x46e159(0x217)](){const _0x475168=_0x46e159;super[_0x475168(0x217)](),this[_0x475168(0x225)][_0x475168(0x20c)][_0x475168(0x1f5)](this[_0x475168(0x203)]),this[_0x475168(0x21e)][_0x475168(0x1eb)](_0x475168(0x21c),(_0x17c560,_0x41c90d)=>{const _0xc59df6=_0x475168;this[_0xc59df6(0x212)]||this[_0xc59df6(0x220)]||_0x17c560[_0xc59df6(0x1f7)]==this[_0xc59df6(0x225)][_0xc59df6(0x21a)][_0xc59df6(0x1ec)]&&(this[_0xc59df6(0x1f0)](),_0x41c90d());}),this[_0x475168(0x225)][_0x475168(0x21a)]['on'](_0x475168(0x208),()=>{const _0x32ea03=_0x475168;this[_0x32ea03(0x220)]=''===this[_0x32ea03(0x225)][_0x32ea03(0x21a)][_0x32ea03(0x1ec)][_0x32ea03(0x1ee)]?.[_0x32ea03(0x1fd)]();});}[_0x46e159(0x216)](){const _0x100730=_0x46e159;super[_0x100730(0x216)](),this[_0x100730(0x204)]&&this[_0x100730(0x204)][_0x100730(0x216)]();}[_0x46e159(0x1f0)](){const _0x1f5f16=_0x46e159,_0x11bbc9=this[_0x1f5f16(0x225)][_0x1f5f16(0x21a)][_0x1f5f16(0x1ec)][_0x1f5f16(0x1ee)]?.[_0x1f5f16(0x1fd)]();if(!_0x11bbc9)return this[_0x1f5f16(0x225)][_0x1f5f16(0x1f8)]=_0x4e64b0(this[_0x1f5f16(0x1fc)],_0x1f5f16(0x222)),void(this[_0x1f5f16(0x225)][_0x1f5f16(0x21a)][_0x1f5f16(0x21d)]=!0x0);this[_0x1f5f16(0x225)][_0x1f5f16(0x21a)][_0x1f5f16(0x21d)]=!0x1;const _0x20cf12=_0x20a26a(_0x11bbc9);this[_0x1f5f16(0x1e7)](_0x1f5f16(0x1ed),_0x20cf12),this[_0x1f5f16(0x225)][_0x1f5f16(0x21a)][_0x1f5f16(0x210)]();}[_0x46e159(0x20a)](_0x597283){const _0x151c29=_0x46e159;this[_0x151c29(0x225)][_0x151c29(0x21a)][_0x151c29(0x1eb)](_0x151c29(0x201),_0x597283);}[_0x46e159(0x205)](){const _0xc40620=_0x46e159,_0x4bf0e5=new _0x76f57b(this[_0xc40620(0x1fc)]);return _0x4bf0e5[_0xc40620(0x1eb)]({'icon':_0x2cc8bd,'label':_0x4e64b0(this[_0xc40620(0x1fc)],_0xc40620(0x20e)),'isVisible':!0x0,'tooltip':!0x0,'class':_0xc40620(0x1fa),'isEnabled':!0x1}),_0x4bf0e5['on'](_0xc40620(0x214),()=>{const _0x74bf55=_0xc40620;this[_0x74bf55(0x1f0)]();}),_0x4bf0e5;}[_0x46e159(0x1ea)](_0x2592fa){const _0x5ec2b8=_0x46e159;this[_0x5ec2b8(0x212)]=_0x2592fa;}[_0x46e159(0x1e9)](){const _0x1f89fd=_0x46e159,_0x5d3e73=this[_0x1f89fd(0x1fc)],_0x1e0db5=()=>{const _0x5520c2=_0x1f89fd;_0x2b2c02[_0x5520c2(0x21f)][_0x5520c2(0x223)](()=>{const _0x95112=_0x5520c2;if(_0x4bc70c(this[_0x95112(0x1ec)])){const _0x3dc506=new _0x2400df(this[_0x95112(0x225)][_0x95112(0x21a)][_0x95112(0x1ec)]),_0x2967be=new _0x2400df(this[_0x95112(0x226)][_0x95112(0x1ec)]),_0x261dfb=_0x3dc506[_0x95112(0x211)],_0xad2c0e=_0x95112(0x1fe)===_0x5d3e73[_0x95112(0x1ef)]?_0x95112(0x215):_0x95112(0x1fb);_0x3dc506[_0x95112(0x218)]();const _0x2c2983=_0x261dfb-_0x3dc506[_0x95112(0x211)]+0x1;this[_0x95112(0x226)][_0x95112(0x1ec)][_0x95112(0x219)][_0xad2c0e]=_0x95112(0x21b)+(_0x261dfb-_0x2967be[_0x95112(0x211)]-_0x2c2983)+_0x95112(0x209);}});};this[_0x1f89fd(0x225)][_0x1f89fd(0x21a)]['on'](_0x1f89fd(0x208),_0x1e0db5),this['on'](_0x1f89fd(0x217),()=>{const _0x35e23e=_0x1f89fd;_0x1e0db5(),this[_0x35e23e(0x204)]=new _0xac01ab(this[_0x35e23e(0x225)][_0x35e23e(0x21a)][_0x35e23e(0x1ec)],()=>{_0x1e0db5();});});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x23f960=_0x1a57;(function(_0x223ff8,_0x3bd29a){const _0x248c9a=_0x1a57,_0x2d4ac1=_0x223ff8();while(!![]){try{const _0x4ec880=parseInt(_0x248c9a(0x16e))/0x1*(parseInt(_0x248c9a(0x16c))/0x2)+parseInt(_0x248c9a(0x167))/0x3*(-parseInt(_0x248c9a(0x166))/0x4)+parseInt(_0x248c9a(0x169))/0x5+parseInt(_0x248c9a(0x164))/0x6*(-parseInt(_0x248c9a(0x170))/0x7)+parseInt(_0x248c9a(0x16f))/0x8*(parseInt(_0x248c9a(0x172))/0x9)+parseInt(_0x248c9a(0x165))/0xa*(parseInt(_0x248c9a(0x171))/0xb)+-parseInt(_0x248c9a(0x16d))/0xc;if(_0x4ec880===_0x3bd29a)break;else _0x2d4ac1['push'](_0x2d4ac1['shift']());}catch(_0x6f349c){_0x2d4ac1['push'](_0x2d4ac1['shift']());}}}(_0x2e7f,0xdc66b));function _0x1a57(_0x8417b0,_0x2c1c83){const _0x2e7f6b=_0x2e7f();return _0x1a57=function(_0x1a5705,_0x1dea6a){_0x1a5705=_0x1a5705-0x164;let _0x596da8=_0x2e7f6b[_0x1a5705];return _0x596da8;},_0x1a57(_0x8417b0,_0x2c1c83);}import{ListView as _0x1dacee}from'ckeditor5/src/ui.js';export class AIChatPromptSuggestionsListView extends _0x1dacee{[_0x23f960(0x16a)](){const _0x49a670=_0x23f960;let _0x2b0138=0x0;for(const _0x276cdc of this[_0x49a670(0x16b)])_0x2b0138+=_0x276cdc[_0x49a670(0x16b)][_0x49a670(0x168)];return{'resultsCount':_0x2b0138,'totalItemsCount':_0x2b0138};}}function _0x2e7f(){const _0x8c57c2=['2404FSpwva','5019hhyRGm','length','3184410ZHWwjn','filter','items','1294DwsSGa','2264832hQbonV','359kbkCYt','7685128jyKHYT','108857Pldbpw','3659601LoiFDB','9NGLLrO','282BzXEzp','30kcGpMl'];_0x2e7f=function(){return _0x8c57c2;};return _0x2e7f();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1188e9=_0x1f33;(function(_0x155559,_0xbdbf1e){const _0x38f1eb=_0x1f33,_0x1dba1b=_0x155559();while(!![]){try{const _0x44d58a=-parseInt(_0x38f1eb(0x125))/0x1*(parseInt(_0x38f1eb(0x117))/0x2)+parseInt(_0x38f1eb(0x11c))/0x3+parseInt(_0x38f1eb(0x124))/0x4+parseInt(_0x38f1eb(0x128))/0x5*(parseInt(_0x38f1eb(0x113))/0x6)+-parseInt(_0x38f1eb(0x127))/0x7*(parseInt(_0x38f1eb(0x110))/0x8)+-parseInt(_0x38f1eb(0x11e))/0x9+-parseInt(_0x38f1eb(0x11a))/0xa*(-parseInt(_0x38f1eb(0x118))/0xb);if(_0x44d58a===_0xbdbf1e)break;else _0x1dba1b['push'](_0x1dba1b['shift']());}catch(_0x2b5cb8){_0x1dba1b['push'](_0x1dba1b['shift']());}}}(_0x343c,0x3bffe));function _0x343c(){const _0x3398be=['2301959nNmVlU','items','20jGQudM','replace','1150674CGgATI','label','3606156oZnAfT','ck-ai-chat-resources__list','_handleResourceSelection','addResourceToContext','locale','filter','272516qHTggu','2KqBXOF','clear','7yyhwxK','1450hbrVYL','trim','\x5c$&','setResources','_source','resource','forEach','useDefaultFiltering','extendTemplate','add','2324648JgPqqL','execute','fire','3558NuooVs','test','highlightText','updateResourceState','105172ZwrkKQ'];_0x343c=function(){return _0x3398be;};return _0x343c();}import{ListView as _0x239384}from'ckeditor5/src/ui.js';function _0x1f33(_0x2f69e3,_0x13d6d0){const _0x343cfa=_0x343c();return _0x1f33=function(_0x1f3317,_0x2519fa){_0x1f3317=_0x1f3317-0x10a;let _0x8fcf24=_0x343cfa[_0x1f3317];return _0x8fcf24;},_0x1f33(_0x2f69e3,_0x13d6d0);}import{AIChatResourceListItemView as _0x5338e7}from'./aichatresourcelistitemview.js';const oc=_0x1188e9(0x11f);export class AIChatContextResourcesListView extends _0x239384{[_0x1188e9(0x10a)];constructor(_0x55514b,_0x343cca){const _0x424030=_0x1188e9;super(_0x55514b),this[_0x424030(0x10a)]=_0x343cca,this[_0x424030(0x10e)]({'attributes':{'class':[oc]}});}[_0x1188e9(0x12b)](_0x47cdaf,_0x5883e2){const _0x5b51a7=_0x1188e9;this[_0x5b51a7(0x119)][_0x5b51a7(0x126)]();let _0x5b3e68=_0x47cdaf;if(this[_0x5b51a7(0x10a)][_0x5b51a7(0x10d)]&&_0x5883e2&&''!==_0x5883e2[_0x5b51a7(0x129)]()){const _0x268e1c=new RegExp(_0x5883e2[_0x5b51a7(0x11b)](/[.*+?^${}()|[\]\\]/g,_0x5b51a7(0x12a)),'gi');_0x5b3e68=_0x47cdaf[_0x5b51a7(0x123)](_0x44f1e2=>_0x268e1c[_0x5b51a7(0x114)](_0x44f1e2[_0x5b51a7(0x11d)]));}for(const _0x50fdb6 of _0x5b3e68){const _0x499a0b=new _0x5338e7(this[_0x5b51a7(0x122)],_0x50fdb6);_0x499a0b['on'](_0x5b51a7(0x111),()=>{const _0x155033=_0x5b51a7;this[_0x155033(0x120)](this[_0x155033(0x10a)],_0x50fdb6);}),this[_0x5b51a7(0x119)][_0x5b51a7(0x10f)](_0x499a0b);}this[_0x5b51a7(0x10a)][_0x5b51a7(0x10d)]&&this[_0x5b51a7(0x115)](_0x5883e2);}[_0x1188e9(0x115)](_0x45dbb2){const _0x4f45fd=_0x1188e9;this[_0x4f45fd(0x10a)][_0x4f45fd(0x10d)]&&this[_0x4f45fd(0x119)][_0x4f45fd(0x10c)](_0x51519b=>{const _0x1fa1b7=_0x4f45fd;_0x51519b[_0x1fa1b7(0x115)](_0x45dbb2);});}[_0x1188e9(0x116)](_0x47c484,_0x2e6923){const _0x33cb6f=_0x1188e9;for(const _0x1cd017 of this[_0x33cb6f(0x119)]){const _0x1f29e8=_0x1cd017;_0x1f29e8[_0x33cb6f(0x10b)]['id']===_0x47c484&&_0x1f29e8[_0x33cb6f(0x116)](_0x2e6923);}}[_0x1188e9(0x120)](_0x5d90e0,_0x2eb9ba){const _0xba8959=_0x1188e9;this[_0xba8959(0x112)](_0xba8959(0x121),{'source':_0x5d90e0,'resource':_0x2eb9ba});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x29a342=_0x48d8;(function(_0x43cd4a,_0x5a8cc7){const _0x206d88=_0x48d8,_0x3675e4=_0x43cd4a();while(!![]){try{const _0x79332a=-parseInt(_0x206d88(0x1f5))/0x1+-parseInt(_0x206d88(0x1ec))/0x2+-parseInt(_0x206d88(0x20f))/0x3+parseInt(_0x206d88(0x1e5))/0x4+-parseInt(_0x206d88(0x1fb))/0x5+parseInt(_0x206d88(0x1f1))/0x6*(parseInt(_0x206d88(0x1eb))/0x7)+parseInt(_0x206d88(0x1e0))/0x8*(parseInt(_0x206d88(0x1fa))/0x9);if(_0x79332a===_0x5a8cc7)break;else _0x3675e4['push'](_0x3675e4['shift']());}catch(_0x912cb3){_0x3675e4['push'](_0x3675e4['shift']());}}}(_0x273d,0x55cc5));import{View as _0x52dbaf,ViewCollection as _0x2a5655}from'ckeditor5/src/ui.js';function _0x48d8(_0xb733b8,_0x35844f){const _0x273d15=_0x273d();return _0x48d8=function(_0x48d876,_0x32a64e){_0x48d876=_0x48d876-0x1df;let _0x54aa3e=_0x273d15[_0x48d876];return _0x54aa3e;},_0x48d8(_0xb733b8,_0x35844f);}import{uid as _0x4a6978}from'ckeditor5/src/utils.js';import{AIChatContextResourcesListView as _0x4b44e9}from'./aichatcontextresourceslistview.js';import{AIChatContextResourcesSearchInputView as _0x4ed4b2}from'./aichatresourcessearchinputview.js';import{AISkeletonView as _0x44d351,SKELETON_DEFINITIONS as _0x2da72f}from'../../../../aicore/ui/aiskeleton.js';export class AIChatContextResourcesView extends _0x52dbaf{[_0x29a342(0x206)];[_0x29a342(0x1ef)];[_0x29a342(0x1e2)];[_0x29a342(0x205)];[_0x29a342(0x20d)];[_0x29a342(0x202)];[_0x29a342(0x1f3)];[_0x29a342(0x20a)]=null;constructor(_0x167f6f,_0x5607ec){const _0x48572f=_0x29a342;super(_0x167f6f),this[_0x48572f(0x202)]=_0x5607ec[_0x48572f(0x201)],this[_0x48572f(0x1e2)]=_0x5607ec[_0x48572f(0x1f9)]??0x7,this[_0x48572f(0x209)](_0x48572f(0x204),!0x0),this[_0x48572f(0x206)]=this[_0x48572f(0x208)](),this[_0x48572f(0x1ef)]=this[_0x48572f(0x1ff)](),this[_0x48572f(0x205)]=this[_0x48572f(0x1ea)](),this[_0x48572f(0x20d)]=this[_0x48572f(0x20b)](),this[_0x48572f(0x1f3)]=new _0x2a5655([this[_0x48572f(0x20d)],this[_0x48572f(0x205)]]),this[_0x48572f(0x1ee)]({'tag':_0x48572f(0x1ed),'attributes':{'class':_0x48572f(0x1f2)},'children':this[_0x48572f(0x1f3)]});}[_0x29a342(0x208)](){const _0x483978=_0x29a342;return new _0x4ed4b2(this[_0x483978(0x200)]);}[_0x29a342(0x1ff)](){const _0x5d7a8c=_0x29a342,_0x11d6cc=new _0x52dbaf(this[_0x5d7a8c(0x200)]);return _0x11d6cc[_0x5d7a8c(0x1ee)]({'tag':_0x5d7a8c(0x1ed),'attributes':{'class':_0x5d7a8c(0x1e1)},'children':[this[_0x5d7a8c(0x206)]]}),this[_0x5d7a8c(0x206)]['on'](_0x5d7a8c(0x1fd),(_0x5e819f,_0x1831e6)=>{const _0xd8dce3=_0x5d7a8c;this[_0xd8dce3(0x1e8)](_0x1831e6),this[_0xd8dce3(0x202)][_0xd8dce3(0x1e4)]&&this[_0xd8dce3(0x205)][_0xd8dce3(0x1df)](_0x1831e6);}),_0x11d6cc;}[_0x29a342(0x1ea)](){const _0x164456=_0x29a342,_0x14da03=new _0x4b44e9(this[_0x164456(0x200)],this[_0x164456(0x202)]);return _0x14da03[_0x164456(0x1e6)](_0x164456(0x207))['to'](this),_0x14da03[_0x164456(0x1fe)]({'attributes':{'class':this[_0x164456(0x20c)]['if'](_0x164456(0x204),_0x164456(0x1f6))}}),_0x14da03;}[_0x29a342(0x20b)](){const _0x22e92c=_0x29a342,_0x282484=new _0x44d351(this[_0x22e92c(0x200)],_0x2da72f[_0x22e92c(0x20e)]);return _0x282484[_0x22e92c(0x1fe)]({'attributes':{'class':[this[_0x22e92c(0x20c)]['if'](_0x22e92c(0x204),_0x22e92c(0x1f6),_0x528a09=>!_0x528a09)]}}),_0x282484;}[_0x29a342(0x1e9)](){const _0xe4b999=_0x29a342;super[_0xe4b999(0x1e9)](),this[_0xe4b999(0x1e8)]('');}[_0x29a342(0x1e8)](_0x11509a){const _0x1ddb15=_0x29a342,_0x4cc8c5=_0x4a6978();this[_0x1ddb15(0x20a)]=_0x4cc8c5,this[_0x1ddb15(0x1f4)](_0x1ddb15(0x1f8),{'sourceId':this[_0x1ddb15(0x202)]['id'],'query':_0x11509a,'uid':_0x4cc8c5}),this[_0x1ddb15(0x204)]=!0x0;}[_0x29a342(0x203)](_0x27d5dc,_0x3cd124){const _0x25db37=_0x29a342;if(_0x3cd124&&_0x3cd124!==this[_0x25db37(0x20a)])return;const _0x2746dd=this[_0x25db37(0x202)][_0x25db37(0x1e4)]?this[_0x25db37(0x206)][_0x25db37(0x1e7)]():'';this[_0x25db37(0x205)][_0x25db37(0x203)](_0x27d5dc,_0x2746dd),_0x27d5dc[_0x25db37(0x1fc)]>=this[_0x25db37(0x1e2)]&&!this[_0x25db37(0x1f3)][_0x25db37(0x1f7)](this[_0x25db37(0x1ef)])&&this[_0x25db37(0x1f3)][_0x25db37(0x1e3)](this[_0x25db37(0x1ef)],0x0),requestAnimationFrame(()=>{const _0x5aacdb=_0x25db37;this[_0x5aacdb(0x204)]=!0x1;});}[_0x29a342(0x1f0)](_0x2253f0,_0x164ca2){const _0x4f6bb6=_0x29a342;this[_0x4f6bb6(0x205)][_0x4f6bb6(0x1f0)](_0x2253f0,_0x164ca2);}}function _0x273d(){const _0xfdbf9f=['500668zAFPwx','ck-hidden','has','loadSourceResources','searchInputVisibleFrom','171ptDBNo','2360535vwyACL','length','search','extendTemplate','_createSearchSection','locale','source','_source','setResources','isLoading','_resourcesListView','_searchView','addResourceToContext','_createSearchView','set','_latestLoadResourcesUid','_createSkeletonView','bindTemplate','_skeletonLoader','aiChatResources','1595172IVtMxo','highlightText','474544UdyFyo','ck\x20ck-search','_searchInputVisibleFrom','add','useDefaultFiltering','970564WVUWWC','delegate','getQuery','loadResources','render','_createResourcesListView','299901sTTTMH','141428UvzoJr','div','setTemplate','_searchSection','updateResourceState','78sIcSYn','ck-ai-chat-resources','children','fire'];_0x273d=function(){return _0xfdbf9f;};return _0x273d();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x427444=_0x554e;function _0x1874(){const _0x155ae0=['isInContext','213yTzQki','FILE','3262914FQWxVR','bindTemplate','DOCUMENT','ck-ai-chat-resources__item__icon','set','ck-ai-chat-resources__item--in-context','setTemplate','_setupTemplate','extendTemplate','5qtkmQp','_createTitleView','getResourceIcon','label','_updateIcon','div','_titleView','execute','_iconView','TEXT','_createIconView','51370PyLqZU','trim','type','span','ck-hidden','ck-ai-chat-resources__item','665436WspmrY','render','URL','168NiEnLC','22ilTqaD','15208JucrAs','1170785rIrmqh','31446mIlVEQ','highlightText','updateResourceState','ck-ai-chat-resources__item-title','isVisible','text','content','423820IHzlnA','resource'];_0x1874=function(){return _0x155ae0;};return _0x1874();}function _0x554e(_0x6ee574,_0xe8e1d){const _0x1874da=_0x1874();return _0x554e=function(_0x554e15,_0x17b996){_0x554e15=_0x554e15-0x1cb;let _0x2ee804=_0x1874da[_0x554e15];return _0x2ee804;},_0x554e(_0x6ee574,_0xe8e1d);}(function(_0x4e49aa,_0x412c0e){const _0x4f50c7=_0x554e,_0x169e18=_0x4e49aa();while(!![]){try{const _0x1b3685=-parseInt(_0x4f50c7(0x1d3))/0x1+-parseInt(_0x4f50c7(0x1de))/0x2*(-parseInt(_0x4f50c7(0x1ea))/0x3)+parseInt(_0x4f50c7(0x1d9))/0x4+parseInt(_0x4f50c7(0x1f5))/0x5*(-parseInt(_0x4f50c7(0x1ec))/0x6)+parseInt(_0x4f50c7(0x1df))/0x7+parseInt(_0x4f50c7(0x1dc))/0x8*(-parseInt(_0x4f50c7(0x1e0))/0x9)+parseInt(_0x4f50c7(0x1e7))/0xa*(parseInt(_0x4f50c7(0x1dd))/0xb);if(_0x1b3685===_0x412c0e)break;else _0x169e18['push'](_0x169e18['shift']());}catch(_0x58769b){_0x169e18['push'](_0x169e18['shift']());}}}(_0x1874,0x46ba3));import{HighlightedTextView as _0x496ea2,IconView as _0x47438e,ListItemView as _0x29291b}from'ckeditor5/src/ui.js';import{escapeRegExp as _0x4ebe09}from'es-toolkit/compat';import{AIContextItemType as _0x5d9426}from'../../../../aicore/model/aicontext.js';import{IconFileUpload as _0x5e0e39,IconCheck as _0xd7fce6,IconDocument as _0x556588,IconDocumentOutline as _0x3f64eb,IconLink as _0x22795a}from'@ckeditor/ckeditor5-icons';const Gr=_0x427444(0x1d8),Jr=_0x427444(0x1f1),Kr=_0x427444(0x1e3),Nr=_0x427444(0x1ef);export class AIChatResourceListItemView extends _0x29291b{[_0x427444(0x1e8)];[_0x427444(0x1ce)];[_0x427444(0x1d0)];constructor(_0x2ae3b4,_0x326db9){const _0x399b9e=_0x427444;super(_0x2ae3b4),this[_0x399b9e(0x1e8)]=_0x326db9,this[_0x399b9e(0x1f0)](_0x399b9e(0x1e9),!!_0x326db9[_0x399b9e(0x1e9)]),this[_0x399b9e(0x1ce)]=this[_0x399b9e(0x1f6)](),this[_0x399b9e(0x1d0)]=this[_0x399b9e(0x1d2)](),this[_0x399b9e(0x1f3)]();}[_0x427444(0x1da)](){const _0x33e63f=_0x427444;super[_0x33e63f(0x1da)]();}[_0x427444(0x1f7)](_0x2b8741){const _0x2de360=_0x427444;if(_0x2b8741[_0x2de360(0x1e9)])return _0xd7fce6;switch(_0x2b8741[_0x2de360(0x1d5)]){case _0x5d9426[_0x2de360(0x1ee)]:return _0x556588;case _0x5d9426[_0x2de360(0x1db)]:return _0x22795a;case _0x5d9426[_0x2de360(0x1eb)]:case _0x5d9426[_0x2de360(0x1d1)]:return _0x5e0e39;default:return _0x3f64eb;}}[_0x427444(0x1e1)](_0x108460){const _0x1a7c5f=_0x427444;if(!_0x108460||''===_0x108460[_0x1a7c5f(0x1d4)]())return void this[_0x1a7c5f(0x1ce)][_0x1a7c5f(0x1e1)](null);const _0x173a3d=new RegExp(_0x4ebe09(_0x108460),'gi');this[_0x1a7c5f(0x1ce)][_0x1a7c5f(0x1e1)](_0x173a3d);}[_0x427444(0x1e2)](_0x7ac58c){const _0x5032be=_0x427444;this[_0x5032be(0x1e8)][_0x5032be(0x1e9)]=_0x7ac58c,this[_0x5032be(0x1e9)]=_0x7ac58c,this[_0x5032be(0x1cc)]();}[_0x427444(0x1f6)](){const _0x5723f4=_0x427444,_0x57ad37=new _0x496ea2();return _0x57ad37[_0x5723f4(0x1e5)]=this[_0x5723f4(0x1e8)][_0x5723f4(0x1cb)],_0x57ad37[_0x5723f4(0x1f4)]({'tag':_0x5723f4(0x1d6),'attributes':{'class':[Kr]}}),_0x57ad37;}[_0x427444(0x1d2)](){const _0x2d6073=_0x427444,_0x142cc0=new _0x47438e();return _0x142cc0[_0x2d6073(0x1e6)]=this[_0x2d6073(0x1f7)](this[_0x2d6073(0x1e8)]),_0x142cc0;}[_0x427444(0x1f3)](){const _0x56f69d=_0x427444,_0x49cb23=this[_0x56f69d(0x1ed)];this[_0x56f69d(0x1f2)]({'tag':_0x56f69d(0x1cd),'attributes':{'class':[Gr,_0x49cb23['if'](_0x56f69d(0x1e4),_0x56f69d(0x1d7),_0x159f2c=>!_0x159f2c),_0x49cb23['if'](_0x56f69d(0x1e9),Jr)]},'children':[{'tag':_0x56f69d(0x1cd),'attributes':{'class':[Nr]},'children':[this[_0x56f69d(0x1d0)]]},this[_0x56f69d(0x1ce)]],'on':{'click':_0x49cb23['to'](_0x56f69d(0x1cf))}});}[_0x427444(0x1cc)](){const _0x3ac608=_0x427444;this[_0x3ac608(0x1d0)][_0x3ac608(0x1e6)]=this[_0x3ac608(0x1f7)](this[_0x3ac608(0x1e8)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x32f955=_0x1ba0;(function(_0x41f1ee,_0x3e1acb){const _0x369bd5=_0x1ba0,_0x1e8a09=_0x41f1ee();while(!![]){try{const _0x179468=parseInt(_0x369bd5(0xf3))/0x1+parseInt(_0x369bd5(0x11c))/0x2+parseInt(_0x369bd5(0x119))/0x3+parseInt(_0x369bd5(0x11f))/0x4*(-parseInt(_0x369bd5(0xfb))/0x5)+parseInt(_0x369bd5(0x103))/0x6*(parseInt(_0x369bd5(0x123))/0x7)+parseInt(_0x369bd5(0x109))/0x8*(parseInt(_0x369bd5(0xf6))/0x9)+parseInt(_0x369bd5(0x122))/0xa*(-parseInt(_0x369bd5(0x11e))/0xb);if(_0x179468===_0x3e1acb)break;else _0x1e8a09['push'](_0x1e8a09['shift']());}catch(_0x4a8d4c){_0x1e8a09['push'](_0x1e8a09['shift']());}}}(_0xa135,0x7e50e));import{BalloonPanelView as _0x2f37ee,ButtonView as _0x238116,clickOutsideHandler as _0x1fd900,FormHeaderView as _0xc70366}from'ckeditor5/src/ui.js';import{IconPreviousArrow as _0x245dc4}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x275263}from'../../../../aicore/utils/common-translations.js';function _0xa135(){const _0x3977fa=['updateResourceState','6WZFSFQ','children','_bodyCollection','ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_source','_addSourceResourceContent','getTargetElement','1912IJFCYW','delete','content','add','onBalloonClosed','populateSourceResourceBalloon','_locale','AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT','_config','_createSourceResourceBalloonPanel','ck-ai-chat-context-controls__source-balloon-panel','change:isLoading','searchInputVisibleFrom','onResourceSelected','isVisible','_sourceResourceBalloons','849075PXUemd','onBackToContext','getLimiterElement','941258NjlNHM','once','66tmYAEK','1832HPizQR','ck-button-icon\x20ck-button-back','_getResourcesViewFromBalloon','3852610acrKwD','6484303mIfPLU','destroy','element','show','set','setResources','clear','source','execute','get','_createBalloonResourcesView','pin','_createBalloonHeader','hide','847908cEwJgC','_setupSingleResourceBalloonClickOutsideHandler','values','12303IvvwHK','addResourceToContext','onLoadSourceResources','showSourceResourcesBalloon','_createBackButton','280JGznrI','extendTemplate','resource','label','loadSourceResources','closeSourceResourceBalloon','isAnyResourceBalloonVisible'];_0xa135=function(){return _0x3977fa;};return _0xa135();}import{AIChatContextResourcesView as _0x2ac567}from'./aichatcontextresourcesview.js';function _0x1ba0(_0x5a0175,_0x33ca2e){const _0xa13584=_0xa135();return _0x1ba0=function(_0x1ba098,_0x165108){_0x1ba098=_0x1ba098-0xee;let _0x3e3251=_0xa13584[_0x1ba098];return _0x3e3251;},_0x1ba0(_0x5a0175,_0x33ca2e);}const Xr=_0x32f955(0x113),Qr=_0x32f955(0x120),Wr=_0x32f955(0x106);export class AIChatResourcesBalloonView{[_0x32f955(0x118)]=new Map();[_0x32f955(0x105)];[_0x32f955(0x10f)];[_0x32f955(0x111)];constructor(_0x4c8c22,_0x4fdf8e,_0x28be73){const _0x22ec0a=_0x32f955;this[_0x22ec0a(0x10f)]=_0x4c8c22,this[_0x22ec0a(0x105)]=_0x4fdf8e,this[_0x22ec0a(0x111)]=_0x28be73;}[_0x32f955(0xf9)](_0x2bce21){const _0x2ffef2=_0x32f955;let _0x54a23b=this[_0x2ffef2(0x118)][_0x2ffef2(0xee)](_0x2bce21['id']);_0x54a23b||(_0x54a23b=this[_0x2ffef2(0x112)](),this[_0x2ffef2(0x118)][_0x2ffef2(0x127)](_0x2bce21['id'],_0x54a23b),this[_0x2ffef2(0xf4)](_0x54a23b)),this[_0x2ffef2(0x107)](_0x54a23b,_0x2bce21),_0x54a23b[_0x2ffef2(0x126)]();const _0x5202ff=this[_0x2ffef2(0x111)][_0x2ffef2(0x108)]();_0x5202ff&&_0x54a23b[_0x2ffef2(0xf0)]({'target':_0x5202ff,'limiter':this[_0x2ffef2(0x111)][_0x2ffef2(0x11b)]()});}[_0x32f955(0x10e)](_0x1133f0,_0x325805,_0x1c15d7){const _0x5402d8=_0x32f955,_0x50fdca=this[_0x5402d8(0x118)][_0x5402d8(0xee)](_0x1133f0);if(!_0x50fdca)return;const _0x3d7f09=this[_0x5402d8(0x121)](_0x50fdca);_0x3d7f09&&(_0x3d7f09[_0x5402d8(0x128)](_0x325805,_0x1c15d7),_0x3d7f09[_0x5402d8(0x11d)](_0x5402d8(0x114),()=>{const _0x45d25e=_0x5402d8;_0x50fdca[_0x45d25e(0xf0)]({'target':this[_0x45d25e(0x111)][_0x45d25e(0x108)](),'limiter':this[_0x45d25e(0x111)][_0x45d25e(0x11b)]()});}));}[_0x32f955(0x100)](_0x57bad3){const _0x127714=_0x32f955,_0x1cec7c=this[_0x127714(0x118)][_0x127714(0xee)](_0x57bad3);_0x1cec7c&&requestAnimationFrame(()=>{const _0x2cb690=_0x127714;_0x1cec7c[_0x2cb690(0xf2)](),this[_0x2cb690(0x118)][_0x2cb690(0x10a)](_0x57bad3),this[_0x2cb690(0x111)][_0x2cb690(0x10d)]();});}[_0x32f955(0x101)](){const _0x3b0db9=_0x32f955;for(const _0x220ee1 of this[_0x3b0db9(0x118)][_0x3b0db9(0xf5)]())if(_0x220ee1[_0x3b0db9(0x117)])return!0x0;return!0x1;}[_0x32f955(0x102)](_0xeb5b60,_0x20b698,_0x136b2f){const _0x48de06=_0x32f955,_0x170173=this[_0x48de06(0x118)][_0x48de06(0xee)](_0xeb5b60);if(!_0x170173||!_0x170173[_0x48de06(0x117)])return;const _0x9c8e23=this[_0x48de06(0x111)][_0x48de06(0x108)]();if(!_0x9c8e23)return;_0x170173[_0x48de06(0xf0)]({'target':_0x9c8e23,'limiter':this[_0x48de06(0x111)][_0x48de06(0x11b)]()});const _0x15bba0=this[_0x48de06(0x121)](_0x170173);_0x15bba0&&_0x15bba0[_0x48de06(0x102)](_0x20b698,_0x136b2f);}[_0x32f955(0x124)](){const _0x223a57=_0x32f955;for(const _0x355453 of this[_0x223a57(0x118)][_0x223a57(0xf5)]())_0x355453[_0x223a57(0x124)]();this[_0x223a57(0x118)][_0x223a57(0x129)]();}[_0x32f955(0x112)](){const _0x411c00=_0x32f955,_0x416e05=new _0x2f37ee(this[_0x411c00(0x10f)]);return _0x416e05[_0x411c00(0xfc)]({'attributes':{'class':Xr}}),this[_0x411c00(0x105)][_0x411c00(0x10c)](_0x416e05),_0x416e05;}[_0x32f955(0x107)](_0x503e37,_0x52b860){const _0x557cb2=_0x32f955;_0x503e37[_0x557cb2(0x10b)][_0x557cb2(0x129)]();const _0x452cf2=this[_0x557cb2(0xf1)](_0x503e37,_0x52b860);_0x503e37[_0x557cb2(0x10b)][_0x557cb2(0x10c)](_0x452cf2);const _0xe416f3=this[_0x557cb2(0xef)](_0x52b860);_0x503e37[_0x557cb2(0x10b)][_0x557cb2(0x10c)](_0xe416f3);}[_0x32f955(0xf1)](_0x175a56,_0x620f0c){const _0x16e204=_0x32f955,_0x3f9f74=this[_0x16e204(0xfa)](_0x175a56),_0x11ebde=new _0xc70366(this[_0x16e204(0x10f)],{'label':_0x620f0c[_0x16e204(0xfe)],'class':Wr});return _0x11ebde[_0x16e204(0x104)][_0x16e204(0x10c)](_0x3f9f74,0x0),_0x11ebde;}[_0x32f955(0xfa)](_0x35ac44){const _0x12626a=_0x32f955,_0x1ac924=new _0x238116(this[_0x12626a(0x10f)]);return _0x1ac924[_0x12626a(0x127)]({'icon':_0x245dc4,'tooltip':_0x275263(this[_0x12626a(0x10f)],_0x12626a(0x110)),'tooltipPosition':'n','class':Qr}),_0x1ac924['on'](_0x12626a(0x12b),()=>{const _0x5a4d0b=_0x12626a;_0x35ac44[_0x5a4d0b(0xf2)](),this[_0x5a4d0b(0x111)][_0x5a4d0b(0x11a)]();}),_0x1ac924;}[_0x32f955(0xef)](_0x3ff330){const _0x124452=_0x32f955,_0x139953=new _0x2ac567(this[_0x124452(0x10f)],{'source':_0x3ff330,'searchInputVisibleFrom':this[_0x124452(0x111)][_0x124452(0x115)]});return _0x139953['on'](_0x124452(0xff),(_0x385627,_0x24f565)=>{const _0x16008f=_0x124452;this[_0x16008f(0x111)][_0x16008f(0xf8)](_0x24f565);}),_0x139953['on'](_0x124452(0xf7),(_0x4bf91e,_0x33ffe2)=>{const _0x2e5aed=_0x124452;this[_0x2e5aed(0x111)][_0x2e5aed(0x116)](_0x33ffe2[_0x2e5aed(0x12a)],_0x33ffe2[_0x2e5aed(0xfd)]),this[_0x2e5aed(0x100)](_0x3ff330['id']);}),_0x139953;}[_0x32f955(0x121)](_0x522496){const _0x39fc56=_0x32f955,_0x190391=_0x522496[_0x39fc56(0x10b)][_0x39fc56(0xee)](0x1);return _0x190391 instanceof _0x2ac567?_0x190391:null;}[_0x32f955(0xf4)](_0x738c7b){const _0xb41cbe=_0x32f955;_0x1fd900({'emitter':_0x738c7b,'contextElements':[_0x738c7b[_0xb41cbe(0x125)]],'callback':()=>{const _0x535a50=_0xb41cbe;_0x738c7b[_0x535a50(0xf2)](),this[_0x535a50(0x111)][_0x535a50(0x10d)]();},'activator':()=>_0x738c7b[_0xb41cbe(0x117)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ButtonView as
|
|
23
|
+
import{ButtonView as _0x4f505b,IconView as _0xcd7ce8,LabeledFieldView as _0x3ae72b,createLabeledInputText as _0xeadc7f}from'ckeditor5/src/ui.js';import{IconLoupe as _0x3941fa,IconCancel as _0x262523}from'ckeditor5/src/icons.js';import{getTranslation as _0x33edf5}from'../../../../aicore/utils/common-translations.js';export class AIChatContextResourcesSearchInputView extends _0x3ae72b{['iconView'];['resetButtonView'];['_viewConfig'];constructor(_0x5d965e){const t=_0x5d965e['t'],_0x44bbdb={'showResetButton':!0x0,'showIcon':!0x0,'creator':_0xeadc7f,'label':_0x33edf5(_0x5d965e,'AI_CHAT_SEARCH_RESOURCES')};super(_0x5d965e,_0x44bbdb['creator']),this['label']=_0x44bbdb['label'],this['_viewConfig']=_0x44bbdb,this['_viewConfig']['showIcon']&&this['_setupSearchIcon'](),this['_viewConfig']['showResetButton']&&this['_setupResetButton'](_0x5d965e,t),this['_setupEventListeners']();}['reset'](){this['fieldView']['reset'](),this['_viewConfig']['showResetButton']&&this['resetButtonView']&&(this['resetButtonView']['isVisible']=!0x1),this['search']('');}['search'](_0x478b23){this['fire']('search',_0x478b23);}['getQuery'](){return this['fieldView']['element']?.['value']||'';}['_setupSearchIcon'](){this['iconView']=new _0xcd7ce8(),this['iconView']['content']=_0x3941fa,this['fieldWrapperChildren']['add'](this['iconView'],0x0),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-icon'}});}['_setupResetButton'](_0x190057,t){this['resetButtonView']=new _0x4f505b(_0x190057),this['resetButtonView']['set']({'label':t('Clear'),'icon':_0x262523,'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',_0x5ad737=>!_0x5ad737),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 _0x3fc752=_0x4c18;(function(_0x314e1a,_0x522b18){const _0x5a58ba=_0x4c18,_0x246c82=_0x314e1a();while(!![]){try{const _0x3e78b0=-parseInt(_0x5a58ba(0x157))/0x1+parseInt(_0x5a58ba(0x160))/0x2*(-parseInt(_0x5a58ba(0x14d))/0x3)+parseInt(_0x5a58ba(0x155))/0x4*(parseInt(_0x5a58ba(0x154))/0x5)+parseInt(_0x5a58ba(0x166))/0x6*(-parseInt(_0x5a58ba(0x15b))/0x7)+-parseInt(_0x5a58ba(0x150))/0x8+-parseInt(_0x5a58ba(0x152))/0x9*(parseInt(_0x5a58ba(0x14a))/0xa)+parseInt(_0x5a58ba(0x15c))/0xb*(parseInt(_0x5a58ba(0x168))/0xc);if(_0x3e78b0===_0x522b18)break;else _0x246c82['push'](_0x246c82['shift']());}catch(_0x10493f){_0x246c82['push'](_0x246c82['shift']());}}}(_0x495d,0xe6d1f));import{View as _0x1b18f3}from'ckeditor5/src/ui.js';function _0x4c18(_0x4b2dca,_0x201ead){const _0x495d3e=_0x495d();return _0x4c18=function(_0x4c182a,_0x4e566a){_0x4c182a=_0x4c182a-0x147;let _0x31ff34=_0x495d3e[_0x4c182a];return _0x31ff34;},_0x4c18(_0x4b2dca,_0x201ead);}import{AIChatContextItemButtonView as _0x2fae53}from'../controls/aichatcontextitembuttonview.js';import{AIChatChipsOverflowManager as _0x52eea3}from'../controls/aichatchipsoverflowmanager.js';const $o=_0x3fc752(0x14c),Ko=_0x3fc752(0x15e),Qo=_0x3fc752(0x15f),Uo=_0x3fc752(0x14f),No=_0x3fc752(0x147),Oo=_0x3fc752(0x167);function _0x495d(){const _0x184a6f=['_contextChips','ck-ai-chat__feed__context-chips','39sqmapU','_overflowManager','ck-ai-chat-controls-button','6169544mgfQGC','render','200637FPtVPP','element','25ELcmLa','620076tQDSVq','ck-reset_all','1876934iruFUc','_bodyCollection','_createContextChips','reorganizeChips','580125ZzkrvD','66141834nUtefH','locale','ck-ai-chat-context-chips-wrapper','ck-ai-chat-context-chips-wrapper-balloon','271270jzLlkp','createCollection','setContainerElement','div','destroy','setTemplate','102zFJrTi','ck-ai-chat-context-controls__show-more-balloon-panel','12SginbB','ck-ai-chat-controls_context_show-more-button','querySelector','add','10kqkxuQ'];_0x495d=function(){return _0x184a6f;};return _0x495d();}export class AIChatFeedContextChipsView extends _0x1b18f3{[_0x3fc752(0x14b)]=this[_0x3fc752(0x161)]();[_0x3fc752(0x14e)];[_0x3fc752(0x158)];constructor(_0x57aae8,_0x3d7530,_0x13b3fb){const _0x355de6=_0x3fc752;super(_0x57aae8),this[_0x355de6(0x158)]=_0x13b3fb,this[_0x355de6(0x159)](_0x3d7530);const _0x2596d3={'cssClasses':{'showMoreButton':No,'showMoreBalloon':Oo,'overflowContainer':Qo,'controlsButton':Uo}};this[_0x355de6(0x14e)]=new _0x52eea3(_0x57aae8,this[_0x355de6(0x14b)],_0x2596d3,this[_0x355de6(0x158)],this),this[_0x355de6(0x165)]({'tag':_0x355de6(0x163),'attributes':{'class':[$o,'ck',_0x355de6(0x156)]},'children':[{'tag':_0x355de6(0x163),'attributes':{'class':Ko},'children':this[_0x355de6(0x14b)]}]});}[_0x3fc752(0x151)](){const _0x5eadac=_0x3fc752;super[_0x5eadac(0x151)]();const _0x151df5=this[_0x5eadac(0x153)][_0x5eadac(0x148)]('.'+Ko);_0x151df5&&(this[_0x5eadac(0x14e)][_0x5eadac(0x162)](_0x151df5),this[_0x5eadac(0x14e)][_0x5eadac(0x15a)]());}[_0x3fc752(0x164)](){const _0x540ea7=_0x3fc752;super[_0x540ea7(0x164)](),this[_0x540ea7(0x14e)][_0x540ea7(0x164)]();}[_0x3fc752(0x159)](_0x2994cf){const _0xa7fd53=_0x3fc752;for(const _0x317180 of _0x2994cf){const _0x6286f6=new _0x2fae53(this[_0xa7fd53(0x15d)],_0x317180,!0x0,!0x1);this[_0xa7fd53(0x14b)][_0xa7fd53(0x149)](_0x6286f6);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
var _0x304335=_0x1d29;function _0x5e52(){var _0x4f9fd3=['197134vXUWoI','172NGxLyj','6EbNZlY','innerHTML','ck-ai-notification','17958fcMTos','351FXJsqZ','extendTemplate','ck-ai-notification_warning','101570MBwKLE','markAsDone','331909OpmWCP','82610HeNNsA','2wOTGQS','initialContent','warning','4323752vvPxZs','setContent','4007630TNKCcB','options','ck-ai-notification_error','render','element','level'];_0x5e52=function(){return _0x4f9fd3;};return _0x5e52();}function _0x1d29(_0x23971f,_0x42c798){var _0x5e526b=_0x5e52();return _0x1d29=function(_0x1d2990,_0x3e8c0c){_0x1d2990=_0x1d2990-0x16c;var _0x14aa69=_0x5e526b[_0x1d2990];return _0x14aa69;},_0x1d29(_0x23971f,_0x42c798);}(function(_0x3b7d67,_0x30141d){var _0x488428=_0x1d29,_0x2ee8a0=_0x3b7d67();while(!![]){try{var _0x3491c9=parseInt(_0x488428(0x181))/0x1*(parseInt(_0x488428(0x183))/0x2)+-parseInt(_0x488428(0x17b))/0x3*(parseInt(_0x488428(0x177))/0x4)+-parseInt(_0x488428(0x182))/0x5*(parseInt(_0x488428(0x178))/0x6)+parseInt(_0x488428(0x176))/0x7+-parseInt(_0x488428(0x16e))/0x8+-parseInt(_0x488428(0x17c))/0x9*(-parseInt(_0x488428(0x17f))/0xa)+parseInt(_0x488428(0x170))/0xb;if(_0x3491c9===_0x30141d)break;else _0x2ee8a0['push'](_0x2ee8a0['shift']());}catch(_0x1ca380){_0x2ee8a0['push'](_0x2ee8a0['shift']());}}}(_0x5e52,0x4abd7));import{AIChatFeedItemView as _0xd5df89}from'./aichatfeeditemview.js';export class AIChatFeedErrorItemView extends _0xd5df89{constructor(_0x531a96){var _0x4d849b=_0x1d29;super(_0x531a96),this[_0x4d849b(0x17d)]({'attributes':{'class':[_0x4d849b(0x17a),_0x4d849b(0x16d)===_0x531a96[_0x4d849b(0x175)]?_0x4d849b(0x17e):_0x4d849b(0x172)]}});}[_0x304335(0x173)](){var _0x356835=_0x304335;super[_0x356835(0x173)](),this[_0x356835(0x16f)](this[_0x356835(0x171)][_0x356835(0x16c)]),this[_0x356835(0x180)]();}[_0x304335(0x16f)](_0x4cfc1f){var _0x2123bf=_0x304335;this[_0x2123bf(0x174)][_0x2123bf(0x179)]=_0x4cfc1f;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xd9c384=_0x2a2c;function _0x2a2c(_0x48345d,_0x5e9c2a){const _0x233ba3=_0x233b();return _0x2a2c=function(_0x2a2c75,_0x58db0d){_0x2a2c75=_0x2a2c75-0xd1;let _0x39ebf9=_0x233ba3[_0x2a2c75];return _0x39ebf9;},_0x2a2c(_0x48345d,_0x5e9c2a);}(function(_0x22fa84,_0x55b2a2){const _0x586d1d=_0x2a2c,_0xc3c12d=_0x22fa84();while(!![]){try{const _0x1f38e5=-parseInt(_0x586d1d(0xe7))/0x1+-parseInt(_0x586d1d(0xdb))/0x2*(parseInt(_0x586d1d(0xd6))/0x3)+parseInt(_0x586d1d(0xd3))/0x4+parseInt(_0x586d1d(0xe1))/0x5*(parseInt(_0x586d1d(0xd1))/0x6)+parseInt(_0x586d1d(0xd4))/0x7+parseInt(_0x586d1d(0xd7))/0x8*(parseInt(_0x586d1d(0xd2))/0x9)+parseInt(_0x586d1d(0xde))/0xa;if(_0x1f38e5===_0x55b2a2)break;else _0xc3c12d['push'](_0xc3c12d['shift']());}catch(_0x165c85){_0xc3c12d['push'](_0xc3c12d['shift']());}}}(_0x233b,0xbf028));import{IconBulb as _0x5f9db3,IconWeb as _0x4e5919}from'@ckeditor/ckeditor5-icons';import{IconView as _0x4ccb9b,View as _0x148dcd}from'ckeditor5/src/ui.js';import{AIChatFeedItemView as _0x172585}from'./aichatfeeditemview.js';import{getTranslation as _0x1b608c}from'../../../aicore/utils/common-translations.js';export class AIChatFeedInteractionHeaderView extends _0x172585{[_0xd9c384(0xe3)];constructor(_0x54ee2f,_0x1a3c70){const _0xc11e04=_0xd9c384;super(_0x1a3c70);const {isWebSearchEnabled:_0x47e7ad,isReasoningEnabled:_0x2d97c2}=_0x1a3c70[_0xc11e04(0xe3)],_0x3203ed=[];let _0x26ba35='';_0x47e7ad&&_0x2d97c2?(_0x26ba35=_0x1b608c(_0x54ee2f,_0xc11e04(0xda)),_0x3203ed[_0xc11e04(0xe2)](ea(_0x4e5919)),_0x3203ed[_0xc11e04(0xe2)](ea(_0x5f9db3))):_0x47e7ad?(_0x26ba35=_0x1b608c(_0x54ee2f,_0xc11e04(0xe4)),_0x3203ed[_0xc11e04(0xe2)](ea(_0x4e5919))):_0x2d97c2&&(_0x26ba35=_0x1b608c(_0x54ee2f,_0xc11e04(0xe9)),_0x3203ed[_0xc11e04(0xe2)](ea(_0x5f9db3))),this[_0xc11e04(0xe6)]({'attributes':{'class':[_0xc11e04(0xe5),_0x26ba35?'':_0xc11e04(0xd9)]}});const _0x5a6c8b=new _0x148dcd();_0x5a6c8b[_0xc11e04(0xd5)]({'tag':_0xc11e04(0xe0),'attributes':{'class':['ck',_0xc11e04(0xea)]},'children':[..._0x3203ed,{'tag':_0xc11e04(0xdd),'attributes':{'class':[_0xc11e04(0xdc)]},'children':[_0x26ba35]}]}),this[_0xc11e04(0xe8)][_0xc11e04(0xdf)](_0x5a6c8b),this[_0xc11e04(0xe3)]=_0x1a3c70[_0xc11e04(0xe3)];}}function ea(_0x5b9b6b){const _0x29eb0c=_0xd9c384,_0x445ee0=new _0x4ccb9b();return _0x445ee0[_0x29eb0c(0xd8)]=_0x5b9b6b,_0x445ee0;}function _0x233b(){const _0xa3fea0=['extendTemplate','1044639FXGypw','children','AI_CHAT_FEED_REPLY_ITEM_USED_REASONING','ck-ai-chat__feed__interaction-header__capabilities','295410EwoSos','1701oPFZLB','5577544DtxdVW','3921603xDRIst','setTemplate','4664097pRMtTB','3424lrOPed','content','ck-hidden','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING','2hXkwhQ','ck-ai-chat__feed__interaction-header__capabilities__text','span','12969720lZuDZp','add','div','5EZHlSp','push','capabilities','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH','ck-ai-chat__feed__interaction-header'];_0x233b=function(){return _0xa3fea0;};return _0x233b();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0xeb4c(_0x23047c,_0x962140){const _0x46413c=_0x4641();return _0xeb4c=function(_0xeb4ccb,_0x216104){_0xeb4ccb=_0xeb4ccb-0xc8;let _0x9e72d4=_0x46413c[_0xeb4ccb];return _0x9e72d4;},_0xeb4c(_0x23047c,_0x962140);}const _0x2187f3=_0xeb4c;(function(_0x59f2bb,_0x221a8a){const _0x50a22e=_0xeb4c,_0x42d42a=_0x59f2bb();while(!![]){try{const _0xf827bd=-parseInt(_0x50a22e(0xea))/0x1+parseInt(_0x50a22e(0xcd))/0x2+-parseInt(_0x50a22e(0xe0))/0x3*(-parseInt(_0x50a22e(0xdb))/0x4)+-parseInt(_0x50a22e(0xcb))/0x5+-parseInt(_0x50a22e(0xe9))/0x6+parseInt(_0x50a22e(0xd1))/0x7+-parseInt(_0x50a22e(0xe1))/0x8*(parseInt(_0x50a22e(0xe2))/0x9);if(_0xf827bd===_0x221a8a)break;else _0x42d42a['push'](_0x42d42a['shift']());}catch(_0x332209){_0x42d42a['push'](_0x42d42a['shift']());}}}(_0x4641,0x52411));import{View as _0x506e98}from'ckeditor5/src/ui.js';import{HTMLStreamer as _0x158619}from'../../../aicore/utils/htmlstreamer.js';function _0x4641(){const _0x33f1e5=['isVisible','cleanUpAnimations','options','1619163jZaQst','set','ck-ai-chat__feed__item_done','streamIntoElement','stream','children','div','forEach','data-id','markAsDone','323932HVMYKV','ck-ai-chat__feed__item','element','[data-id]','removeAttribute','21rHDnxT','3768TfIJvc','6399tnVPoR','ck-hidden','htmlStreamer','ck-ai-chat__feed__text-item','content','setTemplate','bindTemplate','360492ZjInuW','545317LvCFsi','isDone','createCollection','animation:\x20ck-html-streamer-fade-in\x20.5s','747210RvWCDl','querySelectorAll','1256890ZAwPnG'];_0x4641=function(){return _0x33f1e5;};return _0x4641();}export class AIChatFeedItemView extends _0x506e98{[_0x2187f3(0xd0)];[_0x2187f3(0xe6)]='';[_0x2187f3(0xe4)];[_0x2187f3(0xd6)];constructor(_0x345e99){const _0x5c1e95=_0x2187f3;super();const _0x1f4743=this[_0x5c1e95(0xe8)];this[_0x5c1e95(0xd2)](_0x5c1e95(0xc8),!0x1),this[_0x5c1e95(0xd2)](_0x5c1e95(0xce),!0x0),this[_0x5c1e95(0xe4)]=new _0x158619({'textNodeStyle':_0x5c1e95(0xca),'delay':0x14}),this[_0x5c1e95(0xd0)]=_0x345e99,this[_0x5c1e95(0xd6)]=this[_0x5c1e95(0xc9)](),this[_0x5c1e95(0xe7)]({'tag':_0x5c1e95(0xd7),'attributes':{'class':['ck',_0x5c1e95(0xdc),_0x1f4743['if'](_0x5c1e95(0xc8),_0x5c1e95(0xd3)),_0x1f4743['if'](_0x5c1e95(0xce),_0x5c1e95(0xe3),_0x1bf60a=>!_0x1bf60a),_0x5c1e95(0xe5)],'data-cke-ai-id':this[_0x5c1e95(0xd0)]['id']},'children':this[_0x5c1e95(0xd6)]});}[_0x2187f3(0xda)](){const _0x121eeb=_0x2187f3;this[_0x121eeb(0xe4)][_0x121eeb(0xcf)]({'targetElement':this[_0x121eeb(0xdd)]}),this[_0x121eeb(0xdd)][_0x121eeb(0xcc)](_0x121eeb(0xde))[_0x121eeb(0xd8)](_0xcffe0e=>{const _0x53a1b3=_0x121eeb;_0xcffe0e[_0x53a1b3(0xdf)](_0x53a1b3(0xd9));}),this[_0x121eeb(0xc8)]=!0x0;}async[_0x2187f3(0xd4)](_0x585631,_0x279c4e,_0x39d417){const _0x174219=_0x2187f3;await this[_0x174219(0xe4)][_0x174219(0xd5)]({'document':_0x585631,'targetElement':_0x279c4e,'abortSignal':_0x39d417});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x4b3f1b=_0x23d9;(function(_0x3beb18,_0x2d7ca0){const _0x1640a0=_0x23d9,_0x40e47d=_0x3beb18();while(!![]){try{const _0x4d2012=parseInt(_0x1640a0(0x157))/0x1+-parseInt(_0x1640a0(0x16d))/0x2+-parseInt(_0x1640a0(0x168))/0x3*(-parseInt(_0x1640a0(0x163))/0x4)+parseInt(_0x1640a0(0x155))/0x5+parseInt(_0x1640a0(0x15a))/0x6*(parseInt(_0x1640a0(0x16b))/0x7)+-parseInt(_0x1640a0(0x158))/0x8*(parseInt(_0x1640a0(0x169))/0x9)+-parseInt(_0x1640a0(0x164))/0xa;if(_0x4d2012===_0x2d7ca0)break;else _0x40e47d['push'](_0x40e47d['shift']());}catch(_0x26758f){_0x40e47d['push'](_0x40e47d['shift']());}}}(_0x44e2,0xec4fd));import{AIChatFeedItemView as _0x160c81}from'./aichatfeeditemview.js';function _0x44e2(){const _0x294956=['613748LauUvJ','6226920Qltvyi','initialContent','add','setTemplate','30kRvPAV','9324468xTXkYN','element','7548247jkCmPS','isVisible','3856888YhcTwe','streaming','children','div','locale','replyContainer','markAsDone','ck-ai-chat__feed__ai-reply-container','addMany','ck-reset_all-excluded','3774725xSTWIP','streamIntoElement','1187485KOfxKo','8LFcneB','map','6SMwLMa','static','extendTemplate','updateSources','render','options','ck-ai-chat__feed__ai-reply','innerHTML','updateContent'];_0x44e2=function(){return _0x294956;};return _0x44e2();}import{parse as _0x817659,render as _0x1bb8d5}from'../../../aicore/utils/htmlparser.js';import{View as _0x3c8cd7}from'ckeditor5/src/ui.js';import{AIWebSourcesView as _0x11139c,AIWebSourceView as _0xa328a2}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';function _0x23d9(_0x7ba096,_0x2dedd2){const _0x44e232=_0x44e2();return _0x23d9=function(_0x23d94b,_0x1dd748){_0x23d94b=_0x23d94b-0x14e;let _0x438c36=_0x44e232[_0x23d94b];return _0x438c36;},_0x23d9(_0x7ba096,_0x2dedd2);}export class AIChatFeedReplyItemView extends _0x160c81{[_0x4b3f1b(0x150)];constructor(_0xa5e9de,_0x1cf54b){const _0x2e1011=_0x4b3f1b;super(_0x1cf54b),this[_0x2e1011(0x14f)]=_0xa5e9de,this[_0x2e1011(0x15c)]({'attributes':{'class':[_0x2e1011(0x160)]}}),this[_0x2e1011(0x150)]=new _0x3c8cd7(),this[_0x2e1011(0x150)][_0x2e1011(0x167)]({'tag':_0x2e1011(0x14e),'attributes':{'class':['ck',_0x2e1011(0x154),_0x2e1011(0x152)]}}),this[_0x2e1011(0x16f)][_0x2e1011(0x166)](this[_0x2e1011(0x150)]);}async[_0x4b3f1b(0x15e)](){const _0x55b464=_0x4b3f1b;super[_0x55b464(0x15e)](),this[_0x55b464(0x15f)][_0x55b464(0x165)]&&(await this[_0x55b464(0x162)]({'parsedContent':_0x817659(this[_0x55b464(0x15f)][_0x55b464(0x165)]),'renderingStrategy':_0x55b464(0x15b)}),this[_0x55b464(0x151)]());}async[_0x4b3f1b(0x162)]({parsedContent:_0x174ee0,renderingStrategy:_0x285cb9,abortSignal:_0x4bcfcd}){const _0x1519ff=_0x4b3f1b;_0x1519ff(0x16e)===_0x285cb9?await this[_0x1519ff(0x156)](_0x174ee0,this[_0x1519ff(0x150)][_0x1519ff(0x16a)],_0x4bcfcd):this[_0x1519ff(0x150)][_0x1519ff(0x16a)][_0x1519ff(0x161)]=_0x1bb8d5(_0x174ee0);}[_0x4b3f1b(0x15d)](_0x3f9f03){const _0x815e1=_0x4b3f1b,_0x3e40ef=new _0x11139c(this[_0x815e1(0x14f)]);_0x3e40ef[_0x815e1(0x16f)][_0x815e1(0x153)](_0x3f9f03[_0x815e1(0x159)](_0x24cf28=>new _0xa328a2(this[_0x815e1(0x14f)],_0x24cf28))),_0x3e40ef[_0x815e1(0x16c)]=!0x0,this[_0x815e1(0x16f)][_0x815e1(0x166)](_0x3e40ef);}}
|