@ckeditor/ckeditor5-ai 47.6.0-alpha.2 → 47.6.0-alpha.3
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/aiballoonview.js +1 -1
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatballoon.js +1 -1
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/ui/aichatballoonview.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/aichatfeedcustomelementview.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/aichatshortcuts/aichatshortcuts.d.ts +8 -4
- package/src/aichatshortcuts/aichatshortcuts.js +1 -1
- package/src/aichatshortcuts/ui/aichatshortcutsview.js +1 -1
- package/src/aichatshortcuts/ui/aichatshortcutview.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/aisuggestioncontentpartheaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.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/balloon/aiactionsballoondisclaimerview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoontoolbarview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoonview.js +1 -1
- package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
- package/src/aireviewcore/aireviewcorecontroller.js +1 -1
- package/src/aireviewcore/aireviewcoreediting.js +1 -1
- package/src/aireviewcore/aireviewcoreui.js +1 -1
- package/src/aireviewcore/model/aireviewcheck.js +1 -1
- package/src/aireviewcore/model/aireviewchecklist.js +1 -1
- package/src/aireviewcore/model/aireviewcheckresult.js +1 -1
- package/src/aireviewcore/model/aireviewcheckresultchange.js +1 -1
- package/src/aireviewcore/model/aireviewcheckrun.js +1 -1
- package/src/aireviewcore/model/aireviewsystemcheckrun.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreballoonsuggestionview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorechecklistitemresultview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorecustomcheckview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorefinishreviewbuttonview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoregeneralerrorview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorepromptinputview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewchecklistview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewcommandlistitemview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewcompletedview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreuicheckresultsview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreview.js +1 -1
- package/src/aireviewcore/ui/form/aireviewcoreformdropdown.js +1 -1
- package/src/aireviewcore/ui/form/aireviewcoreformmanager.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/aireviewmodeui.js +1 -1
- package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
- package/src/aireviewmode/model/aireviewcheckextra.js +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewextracheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewmodechecklist.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/aitranslate/aitranslate.js +1 -1
- package/src/aitranslate/aitranslatecontroller.js +1 -1
- package/src/aitranslate/aitranslateui.js +1 -1
- package/src/aitranslate/model/aitranslatecheck.js +1 -1
- package/src/aitranslate/model/aitranslatechecklist.js +1 -1
- package/src/aitranslate/model/aitranslatecheckrun.js +1 -1
- package/src/aitranslate/ui/aitranslatechecklistview.js +1 -1
- package/src/aitranslate/ui/aitranslatecheckresultsview.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
|
-
|
|
23
|
+
const _0x509eca=_0x1160;(function(_0x3ad6ba,_0x594a46){const _0x18961f=_0x1160,_0x55abee=_0x3ad6ba();while(!![]){try{const _0x1c3f63=parseInt(_0x18961f(0x205))/0x1+parseInt(_0x18961f(0x21c))/0x2*(-parseInt(_0x18961f(0x20a))/0x3)+parseInt(_0x18961f(0x206))/0x4+-parseInt(_0x18961f(0x21b))/0x5*(-parseInt(_0x18961f(0x216))/0x6)+-parseInt(_0x18961f(0x1fd))/0x7+-parseInt(_0x18961f(0x207))/0x8*(-parseInt(_0x18961f(0x1fc))/0x9)+-parseInt(_0x18961f(0x1f6))/0xa;if(_0x1c3f63===_0x594a46)break;else _0x55abee['push'](_0x55abee['shift']());}catch(_0x596c43){_0x55abee['push'](_0x55abee['shift']());}}}(_0x516f,0x9e133));function _0x1160(_0x42b83f,_0xa3ac21){const _0x516f21=_0x516f();return _0x1160=function(_0x116036,_0x103b61){_0x116036=_0x116036-0x1ee;let _0x234723=_0x516f21[_0x116036];return _0x234723;},_0x1160(_0x42b83f,_0xa3ac21);}function _0x516f(){const _0x85730f=['useDefaultFiltering','loadSourceResources','setTemplate','_createSearchView','_createSearchSection','bindTemplate','ck\x20ck-search','_latestLoadResourcesUid','source','delegate','_resourcesListView','11120880IlXnAQ','addResourceToContext','has','locale','extendTemplate','_searchView','378EqWaZD','2573550PakvYg','updateResourceState','getQuery','loadResources','ck-ai-chat-resources','setResources','highlightText','searchInputVisibleFrom','1250193uEWnbn','3146024mfwwLw','105712xVzQJr','div','render','339543nZTrTj','length','_skeletonLoader','search','aiChatResources','fire','set','_searchInputVisibleFrom','_createSkeletonView','children','_source','ck-hidden','30rGAZHB','_createResourcesListView','isLoading','add','_searchSection','554155BhzqwI','18WRasVV'];_0x516f=function(){return _0x85730f;};return _0x516f();}import{View as _0x2899b0,ViewCollection as _0x4ad822}from'ckeditor5/src/ui.js';import{uid as _0x8703c5}from'ckeditor5/src/utils.js';import{AIChatContextResourcesListView as _0x2116ab}from'./aichatcontextresourceslistview.js';import{AIChatContextResourcesSearchInputView as _0x5b890c}from'./aichatresourcessearchinputview.js';import{AISkeletonView as _0x37467a,SKELETON_DEFINITIONS as _0x48a4be}from'../../../../aicore/ui/aiskeleton.js';export class AIChatContextResourcesView extends _0x2899b0{[_0x509eca(0x1fb)];[_0x509eca(0x21a)];[_0x509eca(0x211)];[_0x509eca(0x1f5)];[_0x509eca(0x20c)];[_0x509eca(0x214)];[_0x509eca(0x213)];[_0x509eca(0x1f2)]=null;constructor(_0x4f7dbf,_0x52506d){const _0x527602=_0x509eca;super(_0x4f7dbf),this[_0x527602(0x214)]=_0x52506d[_0x527602(0x1f3)],this[_0x527602(0x211)]=_0x52506d[_0x527602(0x204)]??0x7,this[_0x527602(0x210)](_0x527602(0x218),!0x0),this[_0x527602(0x1fb)]=this[_0x527602(0x1ee)](),this[_0x527602(0x21a)]=this[_0x527602(0x1ef)](),this[_0x527602(0x1f5)]=this[_0x527602(0x217)](),this[_0x527602(0x20c)]=this[_0x527602(0x212)](),this[_0x527602(0x213)]=new _0x4ad822([this[_0x527602(0x20c)],this[_0x527602(0x1f5)]]),this[_0x527602(0x21f)]({'tag':_0x527602(0x208),'attributes':{'class':_0x527602(0x201)},'children':this[_0x527602(0x213)]});}[_0x509eca(0x1ee)](){const _0xb1b9c7=_0x509eca;return new _0x5b890c(this[_0xb1b9c7(0x1f9)]);}[_0x509eca(0x1ef)](){const _0x30dc89=_0x509eca,_0x3003d8=new _0x2899b0(this[_0x30dc89(0x1f9)]);return _0x3003d8[_0x30dc89(0x21f)]({'tag':_0x30dc89(0x208),'attributes':{'class':_0x30dc89(0x1f1)},'children':[this[_0x30dc89(0x1fb)]]}),this[_0x30dc89(0x1fb)]['on'](_0x30dc89(0x20d),(_0x5937d9,_0x452c68)=>{const _0x19d8a3=_0x30dc89;this[_0x19d8a3(0x200)](_0x452c68),this[_0x19d8a3(0x214)][_0x19d8a3(0x21d)]&&this[_0x19d8a3(0x1f5)][_0x19d8a3(0x203)](_0x452c68);}),_0x3003d8;}[_0x509eca(0x217)](){const _0x23adae=_0x509eca,_0x3b96e8=new _0x2116ab(this[_0x23adae(0x1f9)],this[_0x23adae(0x214)]);return _0x3b96e8[_0x23adae(0x1f4)](_0x23adae(0x1f7))['to'](this),_0x3b96e8[_0x23adae(0x1fa)]({'attributes':{'class':this[_0x23adae(0x1f0)]['if'](_0x23adae(0x218),_0x23adae(0x215))}}),_0x3b96e8;}[_0x509eca(0x212)](){const _0x5d8b3b=_0x509eca,_0x221e86=new _0x37467a(this[_0x5d8b3b(0x1f9)],_0x48a4be[_0x5d8b3b(0x20e)]);return _0x221e86[_0x5d8b3b(0x1fa)]({'attributes':{'class':[this[_0x5d8b3b(0x1f0)]['if'](_0x5d8b3b(0x218),_0x5d8b3b(0x215),_0x1fc5e8=>!_0x1fc5e8)]}}),_0x221e86;}[_0x509eca(0x209)](){const _0x1489df=_0x509eca;super[_0x1489df(0x209)](),this[_0x1489df(0x200)]('');}[_0x509eca(0x200)](_0xca9aa0){const _0xa2a8b4=_0x509eca,_0x13a796=_0x8703c5();this[_0xa2a8b4(0x1f2)]=_0x13a796,this[_0xa2a8b4(0x20f)](_0xa2a8b4(0x21e),{'sourceId':this[_0xa2a8b4(0x214)]['id'],'query':_0xca9aa0,'uid':_0x13a796}),this[_0xa2a8b4(0x218)]=!0x0;}[_0x509eca(0x202)](_0x364cb2,_0x5f4f1b){const _0x941eb8=_0x509eca;if(_0x5f4f1b&&_0x5f4f1b!==this[_0x941eb8(0x1f2)])return;const _0x20a508=this[_0x941eb8(0x214)][_0x941eb8(0x21d)]?this[_0x941eb8(0x1fb)][_0x941eb8(0x1ff)]():'';this[_0x941eb8(0x1f5)][_0x941eb8(0x202)](_0x364cb2,_0x20a508),_0x364cb2[_0x941eb8(0x20b)]>=this[_0x941eb8(0x211)]&&!this[_0x941eb8(0x213)][_0x941eb8(0x1f8)](this[_0x941eb8(0x21a)])&&this[_0x941eb8(0x213)][_0x941eb8(0x219)](this[_0x941eb8(0x21a)],0x0),requestAnimationFrame(()=>{const _0x59a785=_0x941eb8;this[_0x59a785(0x218)]=!0x1;});}[_0x509eca(0x1fe)](_0x3537e6,_0x26de77){const _0x4b3326=_0x509eca;this[_0x4b3326(0x1f5)][_0x4b3326(0x1fe)](_0x3537e6,_0x26de77);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1c397e=_0x327e;(function(_0x50566d,_0x485d43){const _0x6f9878=_0x327e,_0x272d5e=_0x50566d();while(!![]){try{const _0x3e1b1b=parseInt(_0x6f9878(0x1dc))/0x1*(-parseInt(_0x6f9878(0x1cb))/0x2)+parseInt(_0x6f9878(0x1e8))/0x3+parseInt(_0x6f9878(0x1e1))/0x4+-parseInt(_0x6f9878(0x1f2))/0x5*(parseInt(_0x6f9878(0x1cd))/0x6)+parseInt(_0x6f9878(0x1eb))/0x7+-parseInt(_0x6f9878(0x1ea))/0x8*(parseInt(_0x6f9878(0x1ef))/0x9)+-parseInt(_0x6f9878(0x1d7))/0xa;if(_0x3e1b1b===_0x485d43)break;else _0x272d5e['push'](_0x272d5e['shift']());}catch(_0x15c295){_0x272d5e['push'](_0x272d5e['shift']());}}}(_0x4faa,0x7d97e));function _0x4faa(){const _0x439d5c=['ck-hidden','updateResourceState','resource','type','_iconView','1092700lsVQeL','FILE','trim','_createTitleView','set','10024mMUYEZ','extendTemplate','URL','span','ck-ai-chat-resources__item__icon','1527160OgIkiy','isInContext','bindTemplate','_updateIcon','setTemplate','ck-ai-chat-resources__item--in-context','text','1948053EkdfPY','label','16OLwIia','6864480goVkWy','isVisible','ck-ai-chat-resources__item-title','_setupTemplate','2300904qQBZen','ck-ai-chat-resources__item','DOCUMENT','1527005rMGywg','TEXT','execute','getResourceIcon','highlightText','114qVBGox','_titleView','6pePqUj','render','_createIconView','content','div'];_0x4faa=function(){return _0x439d5c;};return _0x4faa();}function _0x327e(_0x48e623,_0x24a98f){const _0x4faa50=_0x4faa();return _0x327e=function(_0x327e93,_0x3a37ec){_0x327e93=_0x327e93-0x1c8;let _0x4f909d=_0x4faa50[_0x327e93];return _0x4f909d;},_0x327e(_0x48e623,_0x24a98f);}import{HighlightedTextView as _0xd5a270,IconView as _0x4dca80,ListItemView as _0xa5cb65}from'ckeditor5/src/ui.js';import{escapeRegExp as _0x43b160}from'es-toolkit/compat';import{AIContextItemType as _0x3dc6fb}from'../../../../aicore/model/aicontext.js';import{IconFileUpload as _0x4281ea,IconCheck as _0x3a087b,IconDocument as _0x4af6bc,IconDocumentOutline as _0x21a38f,IconLink as _0x195129}from'@ckeditor/ckeditor5-icons';const zr=_0x1c397e(0x1f0),Jr=_0x1c397e(0x1e6),Kr=_0x1c397e(0x1ed),Mr=_0x1c397e(0x1e0);export class AIChatResourceListItemView extends _0xa5cb65{[_0x1c397e(0x1d4)];[_0x1c397e(0x1cc)];[_0x1c397e(0x1d6)];constructor(_0x599137,_0x57a14a){const _0x576c5d=_0x1c397e;super(_0x599137),this[_0x576c5d(0x1d4)]=_0x57a14a,this[_0x576c5d(0x1db)](_0x576c5d(0x1e2),!!_0x57a14a[_0x576c5d(0x1e2)]),this[_0x576c5d(0x1cc)]=this[_0x576c5d(0x1da)](),this[_0x576c5d(0x1d6)]=this[_0x576c5d(0x1cf)](),this[_0x576c5d(0x1ee)]();}[_0x1c397e(0x1ce)](){const _0x27bf07=_0x1c397e;super[_0x27bf07(0x1ce)]();}[_0x1c397e(0x1c9)](_0x1b104f){const _0x3c1a15=_0x1c397e;if(_0x1b104f[_0x3c1a15(0x1e2)])return _0x3a087b;switch(_0x1b104f[_0x3c1a15(0x1d5)]){case _0x3dc6fb[_0x3c1a15(0x1f1)]:return _0x4af6bc;case _0x3dc6fb[_0x3c1a15(0x1de)]:return _0x195129;case _0x3dc6fb[_0x3c1a15(0x1d8)]:case _0x3dc6fb[_0x3c1a15(0x1f3)]:return _0x4281ea;default:return _0x21a38f;}}[_0x1c397e(0x1ca)](_0x59dfec){const _0x14bc82=_0x1c397e;if(!_0x59dfec||''===_0x59dfec[_0x14bc82(0x1d9)]())return void this[_0x14bc82(0x1cc)][_0x14bc82(0x1ca)](null);const _0x625a49=new RegExp(_0x43b160(_0x59dfec),'gi');this[_0x14bc82(0x1cc)][_0x14bc82(0x1ca)](_0x625a49);}[_0x1c397e(0x1d3)](_0x5424bd){const _0x194091=_0x1c397e;this[_0x194091(0x1d4)][_0x194091(0x1e2)]=_0x5424bd,this[_0x194091(0x1e2)]=_0x5424bd,this[_0x194091(0x1e4)]();}[_0x1c397e(0x1da)](){const _0x2b4234=_0x1c397e,_0x3378bc=new _0xd5a270();return _0x3378bc[_0x2b4234(0x1e7)]=this[_0x2b4234(0x1d4)][_0x2b4234(0x1e9)],_0x3378bc[_0x2b4234(0x1dd)]({'tag':_0x2b4234(0x1df),'attributes':{'class':[Kr]}}),_0x3378bc;}[_0x1c397e(0x1cf)](){const _0x44a564=_0x1c397e,_0x3da17c=new _0x4dca80();return _0x3da17c[_0x44a564(0x1d0)]=this[_0x44a564(0x1c9)](this[_0x44a564(0x1d4)]),_0x3da17c;}[_0x1c397e(0x1ee)](){const _0x1842df=_0x1c397e,_0x246e6a=this[_0x1842df(0x1e3)];this[_0x1842df(0x1e5)]({'tag':_0x1842df(0x1d1),'attributes':{'class':[zr,_0x246e6a['if'](_0x1842df(0x1ec),_0x1842df(0x1d2),_0x4d0db0=>!_0x4d0db0),_0x246e6a['if'](_0x1842df(0x1e2),Jr)]},'children':[{'tag':_0x1842df(0x1d1),'attributes':{'class':[Mr]},'children':[this[_0x1842df(0x1d6)]]},this[_0x1842df(0x1cc)]],'on':{'click':_0x246e6a['to'](_0x1842df(0x1c8))}});}[_0x1c397e(0x1e4)](){const _0x4b7d85=_0x1c397e;this[_0x4b7d85(0x1d6)][_0x4b7d85(0x1d0)]=this[_0x4b7d85(0x1c9)](this[_0x4b7d85(0x1d4)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x952f18=_0x5aa4;(function(_0x2d2329,_0x5e6a98){const _0x4240fd=_0x5aa4,_0x3e81b0=_0x2d2329();while(!![]){try{const _0x45911b=parseInt(_0x4240fd(0x1cf))/0x1*(parseInt(_0x4240fd(0x1ee))/0x2)+-parseInt(_0x4240fd(0x202))/0x3*(parseInt(_0x4240fd(0x1f5))/0x4)+parseInt(_0x4240fd(0x1e1))/0x5+-parseInt(_0x4240fd(0x1e9))/0x6*(-parseInt(_0x4240fd(0x1df))/0x7)+parseInt(_0x4240fd(0x1f9))/0x8+parseInt(_0x4240fd(0x1f8))/0x9*(-parseInt(_0x4240fd(0x1cd))/0xa)+-parseInt(_0x4240fd(0x1e4))/0xb*(parseInt(_0x4240fd(0x1e0))/0xc);if(_0x45911b===_0x5e6a98)break;else _0x3e81b0['push'](_0x3e81b0['shift']());}catch(_0x5dcb71){_0x3e81b0['push'](_0x3e81b0['shift']());}}}(_0x3851,0x89b77));function _0x3851(){const _0x3263da=['AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT','69OHzovM','onResourceSelected','_createBalloonResourcesView','getLimiterElement','pin','_addSourceResourceContent','ck-ai-chat-context-controls__source-balloon-panel','_setupSingleResourceBalloonClickOutsideHandler','onBackToContext','ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_source','159280VEUGao','get','1548TrROlp','_bodyCollection','resource','closeSourceResourceBalloon','values','extendTemplate','loadSourceResources','set','addResourceToContext','change:isLoading','add','_config','destroy','isAnyResourceBalloonVisible','_createBalloonHeader','getTargetElement','19187GBMehs','10344npSVRo','5437560oQrWpa','setResources','children','6116dSJuyy','_locale','showSourceResourcesBalloon','onBalloonClosed','isVisible','222qUjhFM','_createSourceResourceBalloonPanel','updateResourceState','_createBackButton','clear','682xZNpNN','_getResourcesViewFromBalloon','hide','delete','ck-button-icon\x20ck-button-back','source','show','22508aIzacR','element','execute','315enDtKl','107704AxCJpP','label','onLoadSourceResources','content','once','populateSourceResourceBalloon','searchInputVisibleFrom','_sourceResourceBalloons'];_0x3851=function(){return _0x3263da;};return _0x3851();}import{BalloonPanelView as _0xcaaabb,ButtonView as _0x13456c,clickOutsideHandler as _0x7975f9,FormHeaderView as _0x576d69}from'ckeditor5/src/ui.js';function _0x5aa4(_0x27e4c4,_0x52d092){const _0x3851bb=_0x3851();return _0x5aa4=function(_0x5aa46e,_0x31f3fa){_0x5aa46e=_0x5aa46e-0x1c5;let _0xc2d8e3=_0x3851bb[_0x5aa46e];return _0xc2d8e3;},_0x5aa4(_0x27e4c4,_0x52d092);}import{IconPreviousArrow as _0x4357b7}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x1c49c9}from'../../../../aicore/utils/common-translations.js';import{AIChatContextResourcesView as _0x8d2178}from'./aichatcontextresourcesview.js';const uc=_0x952f18(0x1c9),Bc=_0x952f18(0x1f2),_c=_0x952f18(0x1cc);export class AIChatResourcesBalloonView{[_0x952f18(0x200)]=new Map();[_0x952f18(0x1d0)];[_0x952f18(0x1e5)];[_0x952f18(0x1da)];constructor(_0x3ebe36,_0x37a30a,_0xa00355){const _0x454a34=_0x952f18;this[_0x454a34(0x1e5)]=_0x3ebe36,this[_0x454a34(0x1d0)]=_0x37a30a,this[_0x454a34(0x1da)]=_0xa00355;}[_0x952f18(0x1e6)]({source:_0x4a914b,withBackButton:_0x3ada70}){const _0x5948fb=_0x952f18;let _0x412089=this[_0x5948fb(0x200)][_0x5948fb(0x1ce)](_0x4a914b['id']);_0x412089||(_0x412089=this[_0x5948fb(0x1ea)](),this[_0x5948fb(0x200)][_0x5948fb(0x1d6)](_0x4a914b['id'],_0x412089),this[_0x5948fb(0x1ca)](_0x412089)),this[_0x5948fb(0x1c8)]({'balloonPanel':_0x412089,'source':_0x4a914b,'withBackButton':_0x3ada70}),_0x412089[_0x5948fb(0x1f4)]();const _0x59a35e=this[_0x5948fb(0x1da)][_0x5948fb(0x1de)]();_0x59a35e&&_0x412089[_0x5948fb(0x1c7)]({'target':_0x59a35e,'limiter':this[_0x5948fb(0x1da)][_0x5948fb(0x1c6)]()});}[_0x952f18(0x1fe)](_0x1cd7b3,_0x13a501,_0x4e586b){const _0x2d74c7=_0x952f18,_0x14f0a2=this[_0x2d74c7(0x200)][_0x2d74c7(0x1ce)](_0x1cd7b3);if(!_0x14f0a2)return;const _0x1b2246=this[_0x2d74c7(0x1ef)](_0x14f0a2);_0x1b2246&&(_0x1b2246[_0x2d74c7(0x1e2)](_0x13a501,_0x4e586b),_0x1b2246[_0x2d74c7(0x1fd)](_0x2d74c7(0x1d8),()=>{const _0x315bbb=_0x2d74c7;_0x14f0a2[_0x315bbb(0x1c7)]({'target':this[_0x315bbb(0x1da)][_0x315bbb(0x1de)](),'limiter':this[_0x315bbb(0x1da)][_0x315bbb(0x1c6)]()});}));}[_0x952f18(0x1d2)](_0x391e04){const _0x52fd9e=_0x952f18,_0x1eda35=this[_0x52fd9e(0x200)][_0x52fd9e(0x1ce)](_0x391e04);_0x1eda35&&requestAnimationFrame(()=>{const _0xc2e012=_0x52fd9e;_0x1eda35[_0xc2e012(0x1f0)](),this[_0xc2e012(0x200)][_0xc2e012(0x1f1)](_0x391e04),this[_0xc2e012(0x1da)][_0xc2e012(0x1e7)]();});}[_0x952f18(0x1dc)](){const _0x130972=_0x952f18;for(const _0x49e5ae of this[_0x130972(0x200)][_0x130972(0x1d3)]())if(_0x49e5ae[_0x130972(0x1e8)])return!0x0;return!0x1;}[_0x952f18(0x1eb)](_0x4b328,_0x453198,_0x2431a0){const _0x454108=_0x952f18,_0x35a4ee=this[_0x454108(0x200)][_0x454108(0x1ce)](_0x4b328);if(!_0x35a4ee||!_0x35a4ee[_0x454108(0x1e8)])return;const _0x49a7b3=this[_0x454108(0x1da)][_0x454108(0x1de)]();if(!_0x49a7b3)return;_0x35a4ee[_0x454108(0x1c7)]({'target':_0x49a7b3,'limiter':this[_0x454108(0x1da)][_0x454108(0x1c6)]()});const _0x2d8bdd=this[_0x454108(0x1ef)](_0x35a4ee);_0x2d8bdd&&_0x2d8bdd[_0x454108(0x1eb)](_0x453198,_0x2431a0);}[_0x952f18(0x1db)](){const _0x47df0f=_0x952f18;for(const _0x181ce2 of this[_0x47df0f(0x200)][_0x47df0f(0x1d3)]())_0x181ce2[_0x47df0f(0x1db)]();this[_0x47df0f(0x200)][_0x47df0f(0x1ed)]();}[_0x952f18(0x1ea)](){const _0x13a242=_0x952f18,_0x33b18e=new _0xcaaabb(this[_0x13a242(0x1e5)]);return _0x33b18e[_0x13a242(0x1d4)]({'attributes':{'class':uc}}),this[_0x13a242(0x1d0)][_0x13a242(0x1d9)](_0x33b18e),_0x33b18e;}[_0x952f18(0x1c8)]({balloonPanel:_0x10c5a5,source:_0x35adc7,withBackButton:_0x42fda3}){const _0x2a613f=_0x952f18;_0x10c5a5[_0x2a613f(0x1fc)][_0x2a613f(0x1ed)]();const _0x5dbfdc=this[_0x2a613f(0x1dd)]({'balloonPanel':_0x10c5a5,'source':_0x35adc7,'withBackButton':_0x42fda3});_0x10c5a5[_0x2a613f(0x1fc)][_0x2a613f(0x1d9)](_0x5dbfdc);const _0x4eadd8=this[_0x2a613f(0x1c5)](_0x35adc7);_0x10c5a5[_0x2a613f(0x1fc)][_0x2a613f(0x1d9)](_0x4eadd8);}[_0x952f18(0x1dd)]({balloonPanel:_0xbb3a12,source:_0x5900f6,withBackButton:_0x3ab3e9}){const _0x1c5463=_0x952f18,_0x1258d9=new _0x576d69(this[_0x1c5463(0x1e5)],{'label':_0x5900f6[_0x1c5463(0x1fa)],'class':_c});return _0x3ab3e9&&_0x1258d9[_0x1c5463(0x1e3)][_0x1c5463(0x1d9)](this[_0x1c5463(0x1ec)](_0xbb3a12),0x0),_0x1258d9;}[_0x952f18(0x1ec)](_0x4bdda3){const _0x48c0e3=_0x952f18,_0x3217d3=new _0x13456c(this[_0x48c0e3(0x1e5)]);return _0x3217d3[_0x48c0e3(0x1d6)]({'icon':_0x4357b7,'tooltip':_0x1c49c9(this[_0x48c0e3(0x1e5)],_0x48c0e3(0x201)),'tooltipPosition':'n','class':Bc}),_0x3217d3['on'](_0x48c0e3(0x1f7),()=>{const _0xb49fac=_0x48c0e3;_0x4bdda3[_0xb49fac(0x1f0)](),this[_0xb49fac(0x1da)][_0xb49fac(0x1cb)]();}),_0x3217d3;}[_0x952f18(0x1c5)](_0x53a915){const _0x37b3bf=_0x952f18,_0x1c3d84=new _0x8d2178(this[_0x37b3bf(0x1e5)],{'source':_0x53a915,'searchInputVisibleFrom':this[_0x37b3bf(0x1da)][_0x37b3bf(0x1ff)]});return _0x1c3d84['on'](_0x37b3bf(0x1d5),(_0x5319e1,_0x1c32d5)=>{const _0x3570df=_0x37b3bf;this[_0x3570df(0x1da)][_0x3570df(0x1fb)](_0x1c32d5);}),_0x1c3d84['on'](_0x37b3bf(0x1d7),(_0x5384a8,_0x227e11)=>{const _0x696989=_0x37b3bf;this[_0x696989(0x1da)][_0x696989(0x203)](_0x227e11[_0x696989(0x1f3)],_0x227e11[_0x696989(0x1d1)]),this[_0x696989(0x1d2)](_0x53a915['id']);}),_0x1c3d84;}[_0x952f18(0x1ef)](_0x2278e5){const _0xd9928c=_0x952f18,_0x41eb52=_0x2278e5[_0xd9928c(0x1fc)][_0xd9928c(0x1ce)](0x1);return _0x41eb52 instanceof _0x8d2178?_0x41eb52:null;}[_0x952f18(0x1ca)](_0x29c12e){const _0x4be21b=_0x952f18;_0x7975f9({'emitter':_0x29c12e,'contextElements':[_0x29c12e[_0x4be21b(0x1f6)]],'callback':()=>{const _0x4909b2=_0x4be21b;_0x29c12e[_0x4909b2(0x1f0)](),this[_0x4909b2(0x1da)][_0x4909b2(0x1e7)]();},'activator':()=>_0x29c12e[_0x4be21b(0x1e8)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ButtonView as
|
|
23
|
+
import{ButtonView as _0xdd45a9,IconView as _0x183a98,LabeledFieldView as _0x1a5555,createLabeledInputText as _0x1bcd5b}from'ckeditor5/src/ui.js';import{IconLoupe as _0x404dd8,IconCancel as _0x479b0e}from'ckeditor5/src/icons.js';import{getTranslation as _0xbc8507}from'../../../../aicore/utils/common-translations.js';export class AIChatContextResourcesSearchInputView extends _0x1a5555{['iconView'];['resetButtonView'];['_viewConfig'];constructor(_0x9e6f3c){const t=_0x9e6f3c['t'],_0x1243ff={'showResetButton':!0x0,'showIcon':!0x0,'creator':_0x1bcd5b,'label':_0xbc8507(_0x9e6f3c,'AI_CHAT_SEARCH_RESOURCES')};super(_0x9e6f3c,_0x1243ff['creator']),this['label']=_0x1243ff['label'],this['_viewConfig']=_0x1243ff,this['_viewConfig']['showIcon']&&this['_setupSearchIcon'](),this['_viewConfig']['showResetButton']&&this['_setupResetButton'](_0x9e6f3c,t),this['_setupEventListeners']();}['reset'](){this['fieldView']['reset'](),this['_viewConfig']['showResetButton']&&this['resetButtonView']&&(this['resetButtonView']['isVisible']=!0x1),this['search']('');}['search'](_0x2e2ef2){this['fire']('search',_0x2e2ef2);}['getQuery'](){return this['fieldView']['element']?.['value']||'';}['_setupSearchIcon'](){this['iconView']=new _0x183a98(),this['iconView']['content']=_0x404dd8,this['fieldWrapperChildren']['add'](this['iconView'],0x0),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-icon'}});}['_setupResetButton'](_0x497645,t){this['resetButtonView']=new _0xdd45a9(_0x497645),this['resetButtonView']['set']({'label':t('Clear'),'icon':_0x479b0e,'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',_0x632a68=>!_0x632a68),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 _0x51e759=_0x5100;function _0x5100(_0x18e195,_0x32141b){const _0x97bf04=_0x97bf();return _0x5100=function(_0x510044,_0x34ee88){_0x510044=_0x510044-0x1d6;let _0x58b6e7=_0x97bf04[_0x510044];return _0x58b6e7;},_0x5100(_0x18e195,_0x32141b);}function _0x97bf(){const _0x3124e4=['locale','1100351odtCQz','1378656OuLyvG','_createContextChips','destroy','setContainerElement','229575jthAAk','querySelector','element','15hzytME','ck-reset_all','ck-ai-chat-controls_context_show-more-button','_bodyCollection','add','div','639477fWoObP','ck-ai-chat-context-chips-wrapper','createCollection','_overflowManager','_contextChips','render','ck-ai-chat-context-chips-wrapper-balloon','ck-ai-chat-controls-button','ck-ai-chat__feed__context-chips','setTemplate','ck-ai-chat-context-controls__show-more-balloon-panel','41982gHQyYi','24SHsvvx','225056DaZlbo','reorganizeChips','122407ucXyYm'];_0x97bf=function(){return _0x3124e4;};return _0x97bf();}(function(_0x3381f1,_0x4f29ee){const _0x560d28=_0x5100,_0x5c8cbb=_0x3381f1();while(!![]){try{const _0x16a5a7=parseInt(_0x560d28(0x1f1))/0x1+-parseInt(_0x560d28(0x1ed))/0x2+parseInt(_0x560d28(0x1d9))/0x3+-parseInt(_0x560d28(0x1ef))/0x4*(-parseInt(_0x560d28(0x1dc))/0x5)+parseInt(_0x560d28(0x1f4))/0x6+-parseInt(_0x560d28(0x1f3))/0x7+-parseInt(_0x560d28(0x1ee))/0x8*(parseInt(_0x560d28(0x1e2))/0x9);if(_0x16a5a7===_0x4f29ee)break;else _0x5c8cbb['push'](_0x5c8cbb['shift']());}catch(_0x324699){_0x5c8cbb['push'](_0x5c8cbb['shift']());}}}(_0x97bf,0x3254d));import{View as _0x4d6505}from'ckeditor5/src/ui.js';import{AIChatContextItemButtonView as _0x2f0b94}from'../controls/aichatcontextitembuttonview.js';import{AIChatChipsOverflowManager as _0x18191f}from'../controls/aichatchipsoverflowmanager.js';const Bo=_0x51e759(0x1ea),Mo=_0x51e759(0x1e3),Fo=_0x51e759(0x1e8),Vo=_0x51e759(0x1e9),$o=_0x51e759(0x1de),qo=_0x51e759(0x1ec);export class AIChatFeedContextChipsView extends _0x4d6505{[_0x51e759(0x1e6)]=this[_0x51e759(0x1e4)]();[_0x51e759(0x1e5)];[_0x51e759(0x1df)];constructor(_0x59051e,_0x32b06e,_0x4931c2){const _0x9d6048=_0x51e759;super(_0x59051e),this[_0x9d6048(0x1df)]=_0x4931c2,this[_0x9d6048(0x1d6)](_0x32b06e);const _0x455b00={'cssClasses':{'showMoreButton':$o,'showMoreBalloon':qo,'overflowContainer':Fo,'controlsButton':Vo}};this[_0x9d6048(0x1e5)]=new _0x18191f(_0x59051e,this[_0x9d6048(0x1e6)],_0x455b00,this[_0x9d6048(0x1df)],this),this[_0x9d6048(0x1eb)]({'tag':_0x9d6048(0x1e1),'attributes':{'class':[Bo,'ck',_0x9d6048(0x1dd)]},'children':[{'tag':_0x9d6048(0x1e1),'attributes':{'class':Mo},'children':this[_0x9d6048(0x1e6)]}]});}[_0x51e759(0x1e7)](){const _0x2812af=_0x51e759;super[_0x2812af(0x1e7)]();const _0x14c509=this[_0x2812af(0x1db)][_0x2812af(0x1da)]('.'+Mo);_0x14c509&&(this[_0x2812af(0x1e5)][_0x2812af(0x1d8)](_0x14c509),this[_0x2812af(0x1e5)][_0x2812af(0x1f0)]());}[_0x51e759(0x1d7)](){const _0x116506=_0x51e759;super[_0x116506(0x1d7)](),this[_0x116506(0x1e5)][_0x116506(0x1d7)]();}[_0x51e759(0x1d6)](_0x12e06b){const _0x559d82=_0x51e759;for(const _0x291675 of _0x12e06b){const _0xfaf03f=new _0x2f0b94(this[_0x559d82(0x1f2)],_0x291675,!0x0,!0x1);this[_0x559d82(0x1e6)][_0x559d82(0x1e0)](_0xfaf03f);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x420693=_0x58e8;function _0x585f(){var _0xdb91f0=['4154576OMWFza','options','innerHTML','7JKrjdz','appendChild','string','55870fYWXAJ','9596PXTKbQ','195813gHsylx','element','25QSMZuD','extendTemplate','17539005GLgxux','ck-ai-chat__feed__custom-element','106770nhxXSF','1503tzMwiX','render','1541340XTySIz','content','30yJoaor'];_0x585f=function(){return _0xdb91f0;};return _0x585f();}(function(_0x50fce7,_0x4163d5){var _0x5df37f=_0x58e8,_0x43d016=_0x50fce7();while(!![]){try{var _0x572df7=parseInt(_0x5df37f(0x192))/0x1*(-parseInt(_0x5df37f(0x18f))/0x2)+-parseInt(_0x5df37f(0x190))/0x3+-parseInt(_0x5df37f(0x199))/0x4+parseInt(_0x5df37f(0x19b))/0x5*(-parseInt(_0x5df37f(0x196))/0x6)+parseInt(_0x5df37f(0x19f))/0x7*(parseInt(_0x5df37f(0x19c))/0x8)+-parseInt(_0x5df37f(0x197))/0x9*(parseInt(_0x5df37f(0x18e))/0xa)+parseInt(_0x5df37f(0x194))/0xb;if(_0x572df7===_0x4163d5)break;else _0x43d016['push'](_0x43d016['shift']());}catch(_0x5142b5){_0x43d016['push'](_0x43d016['shift']());}}}(_0x585f,0x7ae7e));function _0x58e8(_0x9ac16f,_0x29d722){var _0x585f72=_0x585f();return _0x58e8=function(_0x58e869,_0x7dd97a){_0x58e869=_0x58e869-0x18d;var _0x12ef1b=_0x585f72[_0x58e869];return _0x12ef1b;},_0x58e8(_0x9ac16f,_0x29d722);}import{AIChatFeedItemView as _0x38fd80}from'./aichatfeeditemview.js';export class AIChatFeedCustomElementView extends _0x38fd80{constructor(_0x5b16b5){var _0x41bb9d=_0x58e8;super(_0x5b16b5),this[_0x41bb9d(0x193)]({'attributes':{'class':[_0x41bb9d(0x195)]}});}async[_0x420693(0x198)](){var _0xfc625a=_0x420693;super[_0xfc625a(0x198)](),_0xfc625a(0x18d)==typeof this[_0xfc625a(0x19d)][_0xfc625a(0x19a)]?this[_0xfc625a(0x191)][_0xfc625a(0x19e)]=this[_0xfc625a(0x19d)][_0xfc625a(0x19a)]:this[_0xfc625a(0x191)][_0xfc625a(0x1a0)](this[_0xfc625a(0x19d)][_0xfc625a(0x19a)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x1e87(_0x22f592,_0x48944e){var _0x19eea9=_0x19ee();return _0x1e87=function(_0x1e8736,_0x31d9f2){_0x1e8736=_0x1e8736-0x93;var _0x4ac9b6=_0x19eea9[_0x1e8736];return _0x4ac9b6;},_0x1e87(_0x22f592,_0x48944e);}var _0x35a528=_0x1e87;(function(_0x3582fc,_0x3ed88e){var _0xd9adf8=_0x1e87,_0x43ef7a=_0x3582fc();while(!![]){try{var _0x30b97b=-parseInt(_0xd9adf8(0xa0))/0x1+-parseInt(_0xd9adf8(0x9f))/0x2+-parseInt(_0xd9adf8(0xa4))/0x3*(parseInt(_0xd9adf8(0x96))/0x4)+parseInt(_0xd9adf8(0x97))/0x5*(-parseInt(_0xd9adf8(0xa7))/0x6)+-parseInt(_0xd9adf8(0x9d))/0x7*(-parseInt(_0xd9adf8(0xa9))/0x8)+-parseInt(_0xd9adf8(0x93))/0x9+-parseInt(_0xd9adf8(0x9a))/0xa*(-parseInt(_0xd9adf8(0xaa))/0xb);if(_0x30b97b===_0x3ed88e)break;else _0x43ef7a['push'](_0x43ef7a['shift']());}catch(_0x326c00){_0x43ef7a['push'](_0x43ef7a['shift']());}}}(_0x19ee,0xd0587));import{AIChatFeedItemView as _0x118c9d}from'./aichatfeeditemview.js';export class AIChatFeedErrorItemView extends _0x118c9d{constructor(_0x549d00){var _0x3d410c=_0x1e87;super(_0x549d00),this[_0x3d410c(0xa1)]({'attributes':{'class':[_0x3d410c(0x94),_0x3d410c(0xa6)===_0x549d00[_0x3d410c(0x98)]?_0x3d410c(0x9c):_0x3d410c(0xa2)]}});}[_0x35a528(0x9e)](){var _0x569bea=_0x35a528;super[_0x569bea(0x9e)](),this[_0x569bea(0x9b)](this[_0x569bea(0xa3)][_0x569bea(0x95)]),this[_0x569bea(0xa5)]();}[_0x35a528(0x9b)](_0x3048b2){var _0x4dd0ef=_0x35a528;this[_0x4dd0ef(0xa8)][_0x4dd0ef(0x99)]=_0x3048b2;}}function _0x19ee(){var _0xf42737=['534HKdYWY','element','1032IRadxE','18848863MhciBk','14828904lhNzyq','ck-ai-notification','initialContent','2048MVVUCD','21795sHvdYh','level','innerHTML','20BuDXwd','setContent','ck-ai-notification_warning','91357CUHknH','render','3154042tdLlGL','80922ELSEbx','extendTemplate','ck-ai-notification_error','options','3303AyRHoT','markAsDone','warning'];_0x19ee=function(){return _0xf42737;};return _0x19ee();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x363546=_0x1d74;(function(_0x5b9b80,_0xe17886){const _0xe9f1f6=_0x1d74,_0x22ca69=_0x5b9b80();while(!![]){try{const _0x47b240=parseInt(_0xe9f1f6(0x93))/0x1+-parseInt(_0xe9f1f6(0x7f))/0x2*(parseInt(_0xe9f1f6(0x7e))/0x3)+-parseInt(_0xe9f1f6(0x8a))/0x4*(parseInt(_0xe9f1f6(0x81))/0x5)+parseInt(_0xe9f1f6(0x8f))/0x6*(-parseInt(_0xe9f1f6(0x87))/0x7)+parseInt(_0xe9f1f6(0x89))/0x8+parseInt(_0xe9f1f6(0x8d))/0x9+parseInt(_0xe9f1f6(0x80))/0xa;if(_0x47b240===_0xe17886)break;else _0x22ca69['push'](_0x22ca69['shift']());}catch(_0x55b170){_0x22ca69['push'](_0x22ca69['shift']());}}}(_0x402a,0x499e0));import{IconBulb as _0x55b0e4,IconWeb as _0x1c491b}from'@ckeditor/ckeditor5-icons';function _0x402a(){const _0x2d21c7=['div','1209051RghRZL','ck-ai-chat__feed__interaction-header__capabilities__text','162rHdEdg','capabilities','ck-hidden','AI_CHAT_FEED_REPLY_ITEM_USED_REASONING','358415uOWQtt','add','span','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH','children','12qENSqs','197534NDuzwk','5642260nElOuh','5IeIRqJ','extendTemplate','setTemplate','content','push','ck-ai-chat__feed__interaction-header','108598HJlfhg','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING','3962424UIEUNB','1747204iuIJrN','ck-ai-chat__feed__interaction-header__capabilities'];_0x402a=function(){return _0x2d21c7;};return _0x402a();}import{IconView as _0x14ac81,View as _0x519e42}from'ckeditor5/src/ui.js';import{AIChatFeedItemView as _0x18cbcf}from'./aichatfeeditemview.js';function _0x1d74(_0x45eaba,_0x3416a7){const _0x402a00=_0x402a();return _0x1d74=function(_0x1d7424,_0x4f2c21){_0x1d7424=_0x1d7424-0x7a;let _0x3f0c27=_0x402a00[_0x1d7424];return _0x3f0c27;},_0x1d74(_0x45eaba,_0x3416a7);}import{getTranslation as _0x46bbbe}from'../../../aicore/utils/common-translations.js';export class AIChatFeedInteractionHeaderView extends _0x18cbcf{[_0x363546(0x90)];constructor(_0x43774d,_0x39fc04){const _0x4fb08c=_0x363546;super(_0x39fc04);const {isWebSearchEnabled:_0x389833,isReasoningEnabled:_0x448ead}=_0x39fc04[_0x4fb08c(0x90)],_0x5c54be=[];let _0x1c3e54='';_0x389833&&_0x448ead?(_0x1c3e54=_0x46bbbe(_0x43774d,_0x4fb08c(0x88)),_0x5c54be[_0x4fb08c(0x85)](_a(_0x1c491b)),_0x5c54be[_0x4fb08c(0x85)](_a(_0x55b0e4))):_0x389833?(_0x1c3e54=_0x46bbbe(_0x43774d,_0x4fb08c(0x7c)),_0x5c54be[_0x4fb08c(0x85)](_a(_0x1c491b))):_0x448ead&&(_0x1c3e54=_0x46bbbe(_0x43774d,_0x4fb08c(0x92)),_0x5c54be[_0x4fb08c(0x85)](_a(_0x55b0e4))),this[_0x4fb08c(0x82)]({'attributes':{'class':[_0x4fb08c(0x86),_0x1c3e54?'':_0x4fb08c(0x91)]}});const _0x334491=new _0x519e42();_0x334491[_0x4fb08c(0x83)]({'tag':_0x4fb08c(0x8c),'attributes':{'class':['ck',_0x4fb08c(0x8b)]},'children':[..._0x5c54be,{'tag':_0x4fb08c(0x7b),'attributes':{'class':[_0x4fb08c(0x8e)]},'children':[_0x1c3e54]}]}),this[_0x4fb08c(0x7d)][_0x4fb08c(0x7a)](_0x334491),this[_0x4fb08c(0x90)]=_0x39fc04[_0x4fb08c(0x90)];}}function _a(_0x3b2ba5){const _0x4dcab2=_0x363546,_0x377a3c=new _0x14ac81();return _0x377a3c[_0x4dcab2(0x84)]=_0x3b2ba5,_0x377a3c;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x494592=_0x1b43;function _0x1b43(_0x4005f9,_0x527742){const _0x39956c=_0x3995();return _0x1b43=function(_0x1b43df,_0x29ad8d){_0x1b43df=_0x1b43df-0x76;let _0xe4eb81=_0x39956c[_0x1b43df];return _0xe4eb81;},_0x1b43(_0x4005f9,_0x527742);}(function(_0x26666,_0x422388){const _0x1768aa=_0x1b43,_0x19e115=_0x26666();while(!![]){try{const _0x346a51=parseInt(_0x1768aa(0x77))/0x1+-parseInt(_0x1768aa(0x99))/0x2*(parseInt(_0x1768aa(0x86))/0x3)+-parseInt(_0x1768aa(0x90))/0x4*(-parseInt(_0x1768aa(0x7b))/0x5)+parseInt(_0x1768aa(0x85))/0x6*(parseInt(_0x1768aa(0x76))/0x7)+-parseInt(_0x1768aa(0x8c))/0x8+parseInt(_0x1768aa(0x88))/0x9*(-parseInt(_0x1768aa(0x84))/0xa)+parseInt(_0x1768aa(0x9a))/0xb*(parseInt(_0x1768aa(0x8b))/0xc);if(_0x346a51===_0x422388)break;else _0x19e115['push'](_0x19e115['shift']());}catch(_0x3e3458){_0x19e115['push'](_0x19e115['shift']());}}}(_0x3995,0x9a5b3));function _0x3995(){const _0x3d7cfa=['336974dvwcUG','div','287lnTKgk','606221JAqiti','cleanUpAnimations','bindTemplate','ck-ai-chat__feed__item_done','132205XhoAQC','content','children','isDone','forEach','data-id','setTemplate','stream','ck-ai-chat__feed__text-item','4985210KZUNRc','180534oCTwJI','3718473KajVAo','streamIntoElement','9lqOlQa','removeAttribute','ck-hidden','240VEPTGv','9965592SIPqxM','animation:\x20ck-html-streamer-fade-in\x20.5s','querySelectorAll','options','176tFfPyz','ck-ai-chat__feed__item','set','[data-id]','markAsDone','isVisible','htmlStreamer','element','createCollection','2nuMyhs'];_0x3995=function(){return _0x3d7cfa;};return _0x3995();}import{View as _0x38df4e}from'ckeditor5/src/ui.js';import{HTMLStreamer as _0x420672}from'../../../aicore/utils/htmlstreamer.js';export class AIChatFeedItemView extends _0x38df4e{[_0x494592(0x8f)];[_0x494592(0x7c)]='';[_0x494592(0x96)];[_0x494592(0x7d)];constructor(_0x432781){const _0x3a5481=_0x494592;super();const _0x5a7bf6=this[_0x3a5481(0x79)];this[_0x3a5481(0x92)](_0x3a5481(0x7e),!0x1),this[_0x3a5481(0x92)](_0x3a5481(0x95),!0x0),this[_0x3a5481(0x96)]=new _0x420672({'textNodeStyle':_0x3a5481(0x8d),'delay':0x14}),this[_0x3a5481(0x8f)]=_0x432781,this[_0x3a5481(0x7d)]=this[_0x3a5481(0x98)](),this[_0x3a5481(0x81)]({'tag':_0x3a5481(0x9b),'attributes':{'class':['ck',_0x3a5481(0x91),_0x5a7bf6['if'](_0x3a5481(0x7e),_0x3a5481(0x7a)),_0x5a7bf6['if'](_0x3a5481(0x95),_0x3a5481(0x8a),_0x5b6c9f=>!_0x5b6c9f),_0x3a5481(0x83)],'data-cke-ai-id':this[_0x3a5481(0x8f)]['id']},'children':this[_0x3a5481(0x7d)]});}[_0x494592(0x94)](){const _0x22b740=_0x494592;this[_0x22b740(0x96)][_0x22b740(0x78)]({'targetElement':this[_0x22b740(0x97)]}),this[_0x22b740(0x97)][_0x22b740(0x8e)](_0x22b740(0x93))[_0x22b740(0x7f)](_0x4fa999=>{const _0x19487b=_0x22b740;_0x4fa999[_0x19487b(0x89)](_0x19487b(0x80));}),this[_0x22b740(0x7e)]=!0x0;}async[_0x494592(0x87)](_0x260841,_0x166f1e,_0x4f619f){const _0x385d02=_0x494592;await this[_0x385d02(0x96)][_0x385d02(0x82)]({'document':_0x260841,'targetElement':_0x166f1e,'abortSignal':_0x4f619f});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x13cf5a=_0x2f82;(function(_0x369fb4,_0x3265c8){const _0x2e3b3f=_0x2f82,_0x522885=_0x369fb4();while(!![]){try{const _0x15c1e7=parseInt(_0x2e3b3f(0x157))/0x1+-parseInt(_0x2e3b3f(0x151))/0x2+parseInt(_0x2e3b3f(0x137))/0x3+-parseInt(_0x2e3b3f(0x148))/0x4*(-parseInt(_0x2e3b3f(0x14d))/0x5)+parseInt(_0x2e3b3f(0x14a))/0x6*(-parseInt(_0x2e3b3f(0x149))/0x7)+-parseInt(_0x2e3b3f(0x139))/0x8+parseInt(_0x2e3b3f(0x158))/0x9;if(_0x15c1e7===_0x3265c8)break;else _0x522885['push'](_0x522885['shift']());}catch(_0xae01b5){_0x522885['push'](_0x522885['shift']());}}}(_0x5041,0x2dc84));import{AIChatFeedItemView as _0x518170}from'./aichatfeeditemview.js';function _0x2f82(_0x243fa5,_0x42d108){const _0x504101=_0x5041();return _0x2f82=function(_0x2f82b5,_0xab9182){_0x2f82b5=_0x2f82b5-0x136;let _0x59de6d=_0x504101[_0x2f82b5];return _0x59de6d;},_0x2f82(_0x243fa5,_0x42d108);}import{parse as _0x2faa4f,render as _0x11b03e}from'../../../aicore/utils/htmlparser.js';import{View as _0x58f784}from'ckeditor5/src/ui.js';import{AIWebSourcesView as _0x16f482,AIWebSourceView as _0x351962}from'../../../aicore/ui/suggestioncontainer/aiwebsourcesview.js';function _0x5041(){const _0x2ec179=['ck-ai-chat__feed__ai-reply-container','render','updateSources','replyContainer','ck-reset_all-excluded','_bodyCollection','44VMmuyk','2653tgPNDj','1938ykuwcp','options','initialContent','43995SXQJfU','map','locale','addMany','457816TgOvvU','balloonPanelView','static','markAsDone','streaming','setTemplate','273152CujmpX','1575621ecVZqa','isVisible','598740DERBNs','add','1645928JDQGMG','updateContent','streamIntoElement','ck-ai-chat__feed__ai-reply','extendTemplate','children','div','innerHTML','element'];_0x5041=function(){return _0x2ec179;};return _0x5041();}export class AIChatFeedReplyItemView extends _0x518170{[_0x13cf5a(0x145)];[_0x13cf5a(0x147)];constructor(_0x552cae,_0x559d00,_0x3f2249){const _0x388c9d=_0x13cf5a;super(_0x559d00),this[_0x388c9d(0x147)]=_0x3f2249,this[_0x388c9d(0x14f)]=_0x552cae,this[_0x388c9d(0x13d)]({'attributes':{'class':[_0x388c9d(0x13c)]}}),this[_0x388c9d(0x145)]=new _0x58f784(),this[_0x388c9d(0x145)][_0x388c9d(0x156)]({'tag':_0x388c9d(0x13f),'attributes':{'class':['ck',_0x388c9d(0x146),_0x388c9d(0x142)]}}),this[_0x388c9d(0x13e)][_0x388c9d(0x138)](this[_0x388c9d(0x145)]);}async[_0x13cf5a(0x143)](){const _0x506edd=_0x13cf5a;super[_0x506edd(0x143)](),this[_0x506edd(0x14b)][_0x506edd(0x14c)]&&(await this[_0x506edd(0x13a)]({'parsedContent':_0x2faa4f(this[_0x506edd(0x14b)][_0x506edd(0x14c)]),'renderingStrategy':_0x506edd(0x153)}),this[_0x506edd(0x154)]());}async[_0x13cf5a(0x13a)]({parsedContent:_0x22840d,renderingStrategy:_0x2488b8,abortSignal:_0x311b8a}){const _0x5d7692=_0x13cf5a;_0x5d7692(0x155)===_0x2488b8?await this[_0x5d7692(0x13b)](_0x22840d,this[_0x5d7692(0x145)][_0x5d7692(0x141)],_0x311b8a):this[_0x5d7692(0x145)][_0x5d7692(0x141)][_0x5d7692(0x140)]=_0x11b03e(_0x22840d);}[_0x13cf5a(0x144)](_0x760f6a){const _0x1ca75a=_0x13cf5a,_0xd54716=new _0x16f482(this[_0x1ca75a(0x14f)],this[_0x1ca75a(0x147)]);_0xd54716[_0x1ca75a(0x13e)][_0x1ca75a(0x150)](_0x760f6a[_0x1ca75a(0x14e)](_0x6399d6=>new _0x351962(this[_0x1ca75a(0x14f)],_0x6399d6,_0xd54716[_0x1ca75a(0x152)]))),_0xd54716[_0x1ca75a(0x136)]=!0x0,this[_0x1ca75a(0x13e)][_0x1ca75a(0x138)](_0xd54716);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3bb101=_0x1ca2;(function(_0x5a8eb6,_0x4e154f){const _0x3f90b1=_0x1ca2,_0x433c81=_0x5a8eb6();while(!![]){try{const _0x327828=parseInt(_0x3f90b1(0x174))/0x1*(-parseInt(_0x3f90b1(0x190))/0x2)+parseInt(_0x3f90b1(0x17e))/0x3+parseInt(_0x3f90b1(0x188))/0x4+-parseInt(_0x3f90b1(0x180))/0x5+parseInt(_0x3f90b1(0x172))/0x6*(-parseInt(_0x3f90b1(0x187))/0x7)+parseInt(_0x3f90b1(0x181))/0x8*(parseInt(_0x3f90b1(0x16a))/0x9)+parseInt(_0x3f90b1(0x18f))/0xa;if(_0x327828===_0x4e154f)break;else _0x433c81['push'](_0x433c81['shift']());}catch(_0x209b1d){_0x433c81['push'](_0x433c81['shift']());}}}(_0x3e07,0x5cdec));function _0x1ca2(_0x1cbeb1,_0x3a4bb2){const _0x3e0718=_0x3e07();return _0x1ca2=function(_0x1ca2b3,_0x56b00c){_0x1ca2b3=_0x1ca2b3-0x16a;let _0x287448=_0x3e0718[_0x1ca2b3];return _0x287448;},_0x1ca2(_0x1cbeb1,_0x3a4bb2);}import{ButtonView as _0x58d252,View as _0x341a49}from'ckeditor5/src/ui.js';import{getTranslation as _0x1dd8fe}from'../../../aicore/utils/common-translations.js';import{IconInfo as _0x371d05}from'ckeditor5/src/icons.js';function _0x3e07(){const _0x50092a=['locale','_switchButtonLabelsPlurality','isTrackChangesOn','isEnabled','AI_SUGGESTION_DISABLED_FEED_MESSAGE','button','1234752qUerXk','set','796510QYEjYz','8KmKOQj','change:isTrackChangesOn','label','div','ck-ai-chat__feed__ai-suggestion__actions','bindTemplate','7tKzPDg','64148VlwJuT','AI_CHAT_SUGGESTION_ACTION_SUGGEST','isVisible','AI_CHAT_SUGGESTION_ACTION_SUGGEST_ALL','insertSuggestion','add','updateVisibility','5584990fZLEcH','65396gipMlP','ck-ai-button-primary','_applyChangesButton','applySuggestion','ck-ai-chat__feed__suggestion__actions__info','createCollection','AI_CHAT_SUGGESTION_ACTION_APPLY_ALL','includes','AI_CHAT_SUGGESTION_ACTION_APPLY','3220695wdeKYx','execute','children','fire','forEach','ck-ai-button-secondary','setTemplate','addMany','3059970SePEeY','_insertSuggestionsButton','9WFHnzs','AI_SUGGESTION_DISABLED_TOOLTIP_MESSAGE','ck-hidden','bind'];_0x3e07=function(){return _0x50092a;};return _0x3e07();}export const AI_REPLY_ACTIONS=[_0x3bb101(0x193),_0x3bb101(0x18c)];export class AIChatFeedSuggestionItemActionsView extends _0x341a49{[_0x3bb101(0x192)];[_0x3bb101(0x173)];[_0x3bb101(0x16c)];constructor(_0x3d0bdb,_0x5e45f9=[...AI_REPLY_ACTIONS],_0x1e535c){const _0x25305d=_0x3bb101;super(_0x3d0bdb);const _0x5611bc=this[_0x25305d(0x186)],_0x24ec6e=Boolean(_0x1e535c);if(this[_0x25305d(0x17f)](_0x25305d(0x17b),!_0x24ec6e),this[_0x25305d(0x17f)](_0x25305d(0x18a),!0x1),this[_0x25305d(0x17f)](_0x25305d(0x17a),!0x1),this[_0x25305d(0x16c)]=this[_0x25305d(0x195)](),_0x24ec6e){const _0x1f12c8=new _0x58d252(_0x3d0bdb);_0x1f12c8[_0x25305d(0x17f)]({'label':_0x1dd8fe(_0x3d0bdb,_0x25305d(0x175)),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x371d05});const _0x13a112=new _0x341a49(_0x3d0bdb);_0x13a112[_0x25305d(0x170)]({'tag':_0x25305d(0x184),'attributes':{'class':_0x25305d(0x194)},'children':[{'tag':'p','children':[_0x1dd8fe(_0x3d0bdb,_0x25305d(0x17c)),_0x1f12c8]}]}),this[_0x25305d(0x16c)][_0x25305d(0x18d)](_0x13a112);}else this[_0x25305d(0x192)]=new _0x58d252(_0x3d0bdb),this[_0x25305d(0x192)][_0x25305d(0x17f)]({'label':_0x1dd8fe(_0x3d0bdb,_0x25305d(0x196)),'withText':!0x0,'type':_0x25305d(0x17d),'isVisible':_0x5e45f9[_0x25305d(0x197)](_0x25305d(0x193)),'class':_0x25305d(0x191)}),this[_0x25305d(0x173)]=new _0x58d252(_0x3d0bdb),this[_0x25305d(0x173)][_0x25305d(0x17f)]({'label':_0x1dd8fe(_0x3d0bdb,_0x25305d(0x18b)),'withText':!0x0,'type':_0x25305d(0x17d),'isVisible':_0x5e45f9[_0x25305d(0x197)](_0x25305d(0x18c)),'class':_0x25305d(0x16f)}),this[_0x25305d(0x173)]['on'](_0x25305d(0x16b),()=>{const _0x5ccc31=_0x25305d;this[_0x5ccc31(0x16d)](_0x5ccc31(0x18c));}),this[_0x25305d(0x192)]['on'](_0x25305d(0x16b),()=>{const _0x24bb9e=_0x25305d;this[_0x24bb9e(0x16d)](_0x24bb9e(0x193));}),[this[_0x25305d(0x192)],this[_0x25305d(0x173)]][_0x25305d(0x16e)](_0x5479b0=>{const _0x296e26=_0x25305d;_0x5479b0[_0x296e26(0x177)](_0x296e26(0x17b))['to'](this);}),this[_0x25305d(0x16c)][_0x25305d(0x171)]([this[_0x25305d(0x192)],this[_0x25305d(0x173)]]);this[_0x25305d(0x170)]({'tag':_0x25305d(0x184),'attributes':{'class':['ck',_0x25305d(0x185),_0x5611bc['if'](_0x25305d(0x18a),_0x25305d(0x176),_0x5eb063=>!_0x5eb063)]},'children':this[_0x25305d(0x16c)]}),this['on'](_0x25305d(0x182),()=>{const _0x4127dd=_0x25305d;this[_0x4127dd(0x192)]&&(this[_0x4127dd(0x192)][_0x4127dd(0x18a)]=!this[_0x4127dd(0x17a)]);});}[_0x3bb101(0x18e)](_0x543dd0){const _0x483184=_0x3bb101;this[_0x483184(0x18a)]=_0x543dd0;}[_0x3bb101(0x179)](_0x3d11ec){const _0x4c1018=_0x3bb101;this[_0x4c1018(0x192)]&&this[_0x4c1018(0x173)]&&(_0x3d11ec?(this[_0x4c1018(0x192)][_0x4c1018(0x183)]=_0x1dd8fe(this[_0x4c1018(0x178)],_0x4c1018(0x196)),this[_0x4c1018(0x173)][_0x4c1018(0x183)]=_0x1dd8fe(this[_0x4c1018(0x178)],_0x4c1018(0x18b))):(this[_0x4c1018(0x192)][_0x4c1018(0x183)]=_0x1dd8fe(this[_0x4c1018(0x178)],_0x4c1018(0x198)),this[_0x4c1018(0x173)][_0x4c1018(0x183)]=_0x1dd8fe(this[_0x4c1018(0x178)],_0x4c1018(0x189))));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x58f6ff=_0xca4e;(function(_0x13f05f,_0x49872d){var _0x5d0a82=_0xca4e,_0xc5e4bd=_0x13f05f();while(!![]){try{var _0x54053c=-parseInt(_0x5d0a82(0x1bd))/0x1*(-parseInt(_0x5d0a82(0x1b5))/0x2)+-parseInt(_0x5d0a82(0x1ac))/0x3+parseInt(_0x5d0a82(0x1ae))/0x4+-parseInt(_0x5d0a82(0x1bb))/0x5*(-parseInt(_0x5d0a82(0x1a9))/0x6)+-parseInt(_0x5d0a82(0x1c4))/0x7+parseInt(_0x5d0a82(0x1a7))/0x8+parseInt(_0x5d0a82(0x1b8))/0x9;if(_0x54053c===_0x49872d)break;else _0xc5e4bd['push'](_0xc5e4bd['shift']());}catch(_0x53e293){_0xc5e4bd['push'](_0xc5e4bd['shift']());}}}(_0x5dca,0x9537c));function _0xca4e(_0x5e1fc0,_0x300ab9){var _0x5dca94=_0x5dca();return _0xca4e=function(_0xca4ef1,_0x247030){_0xca4ef1=_0xca4ef1-0x1a7;var _0x20d07f=_0x5dca94[_0xca4ef1];return _0x20d07f;},_0xca4e(_0x5e1fc0,_0x300ab9);}import{AIChatFeedItemView as _0x119fb2}from'./aichatfeeditemview.js';import{AISuggestionContainerView as _0x324647}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';export class AIChatFeedSuggestionItemView extends _0x119fb2{[_0x58f6ff(0x1cb)];constructor(_0x11ac8e,_0x1dbdf0,_0x4f1f6e){var _0x1d143b=_0x58f6ff;super(_0x1dbdf0),this[_0x1d143b(0x1b7)](_0x1d143b(0x1c9),!0x1),this[_0x1d143b(0x1cb)]=new _0x324647(_0x11ac8e,{'showDiff':_0x1dbdf0[_0x1d143b(0x1b1)],'areActionsDisabled':_0x1dbdf0[_0x1d143b(0x1ca)],'availableActions':_0x1dbdf0[_0x1d143b(0x1c1)]},_0x4f1f6e),this[_0x1d143b(0x1cb)]['on'](_0x1d143b(0x1c6),(_0x27701a,_0x1c950e)=>{var _0x48a0b1=_0x1d143b;this[_0x48a0b1(0x1bf)](_0x48a0b1(0x1c6),{'replyId':this[_0x48a0b1(0x1a8)]['id'],'showDiff':_0x1c950e[_0x48a0b1(0x1b1)]});}),this[_0x1d143b(0x1cb)][_0x1d143b(0x1cc)](_0x1d143b(0x1c9))['to'](this),this[_0x1d143b(0x1cb)]['on'](_0x1d143b(0x1b0),()=>{var _0x2a91bd=_0x1d143b;this[_0x2a91bd(0x1bf)](_0x2a91bd(0x1b0),{'replyId':this[_0x2a91bd(0x1a8)]['id']});}),this[_0x1d143b(0x1cb)]['on'](_0x1d143b(0x1c8),()=>{var _0x5c9255=_0x1d143b;this[_0x5c9255(0x1bf)](_0x5c9255(0x1c8),{'replyId':this[_0x5c9255(0x1a8)]['id']});}),this[_0x1d143b(0x1cb)]['on'](_0x1d143b(0x1b9),(_0x3e65bd,{index:_0x568e78})=>{var _0x5d9f97=_0x1d143b;this[_0x5d9f97(0x1bf)](_0x5d9f97(0x1b9),{'replyId':this[_0x5d9f97(0x1a8)]['id'],'partIndex':_0x568e78});}),this[_0x1d143b(0x1cb)]['on'](_0x1d143b(0x1b6),(_0x1e26fc,{index:_0xe9b8ae}={})=>{var _0x35a0a9=_0x1d143b;this[_0x35a0a9(0x1bf)](_0x35a0a9(0x1b6),{'replyId':this[_0x35a0a9(0x1a8)]['id'],'partIndex':_0xe9b8ae});}),this[_0x1d143b(0x1cb)]['on'](_0x1d143b(0x1ad),(_0x558a81,{index:_0x495adc}={})=>{var _0x2befde=_0x1d143b;this[_0x2befde(0x1bf)](_0x2befde(0x1ad),{'replyId':this[_0x2befde(0x1a8)]['id'],'partIndex':_0x495adc});}),this[_0x1d143b(0x1cb)]['on'](_0x1d143b(0x1b2),(_0x3cf9f0,{index:_0x8eceac})=>{var _0x211242=_0x1d143b;this[_0x211242(0x1bf)](_0x211242(0x1b2),{'replyId':this[_0x211242(0x1a8)]['id'],'partIndex':_0x8eceac});}),this[_0x1d143b(0x1cb)]['on'](_0x1d143b(0x1c5),(_0x5d96f6,{index:_0x1fdcd8})=>{var _0x5ac44b=_0x1d143b;this[_0x5ac44b(0x1bf)](_0x5ac44b(0x1c5),{'replyId':this[_0x5ac44b(0x1a8)]['id'],'partIndex':_0x1fdcd8});}),this[_0x1d143b(0x1cb)]['on'](_0x1d143b(0x1b4),(_0x2c9f4a,{index:_0x1103e9})=>{var _0x3ff511=_0x1d143b;this[_0x3ff511(0x1bf)](_0x3ff511(0x1b4),{'replyId':this[_0x3ff511(0x1a8)]['id'],'partIndex':_0x1103e9});}),this[_0x1d143b(0x1b3)][_0x1d143b(0x1af)]([this[_0x1d143b(0x1cb)]]),this[_0x1d143b(0x1aa)]({'attributes':{'class':[_0x1d143b(0x1c3)]}});}async[_0x58f6ff(0x1c2)](_0x563127){var _0x91c08d=_0x58f6ff;await this[_0x91c08d(0x1cb)][_0x91c08d(0x1c2)](_0x563127);}[_0x58f6ff(0x1be)](_0xd83f4b,_0xdcffd8){var _0x3c9fb2=_0x58f6ff;this[_0x3c9fb2(0x1cb)][_0x3c9fb2(0x1ab)][_0x3c9fb2(0x1be)](_0xd83f4b,_0xdcffd8);}[_0x58f6ff(0x1bc)](_0x51c113,_0x375fb6){var _0x42046e=_0x58f6ff;!0x1===_0x51c113?this[_0x42046e(0x1cb)][_0x42046e(0x1ab)][_0x42046e(0x1bc)](!0x1):this[_0x42046e(0x1cb)][_0x42046e(0x1ab)][_0x42046e(0x1bc)](_0x51c113,_0x375fb6);}[_0x58f6ff(0x1ba)](_0xb3fda0){var _0x542cac=_0x58f6ff;this[_0x542cac(0x1cb)][_0x542cac(0x1ba)](_0xb3fda0);}[_0x58f6ff(0x1c7)](_0x581f72){var _0xf5012b=_0x58f6ff;return this[_0xf5012b(0x1cb)][_0xf5012b(0x1ab)][_0xf5012b(0x1c7)](_0x581f72);}[_0x58f6ff(0x1c0)](){var _0x248608=_0x58f6ff;super[_0x248608(0x1c0)](),this[_0x248608(0x1cb)][_0x248608(0x1c0)]();}}function _0x5dca(){var _0x7bc5a7=['4259640aiYXye','addMany','like','showDiff','rejectSuggestion','children','mouseLeaveSuggestion','5286sSSybs','applySuggestion','set','348174bQGbMw','showChangeInText','updateSources','130mQhCEG','setPartActive','31Pscbhu','updatePartState','fire','markAsDone','availableActions','updateContent','ck-ai-chat__feed__ai-suggestion','8272670IdFvVG','mouseOverSuggestion','toggleSuggestionDisplayMode','getPartView','dislike','isTrackChangesOn','areActionsDisabled','containerView','bind','4536400trCHvZ','options','21498fzClcI','extendTemplate','bodyView','158193HnIYXg','insertSuggestion'];_0x5dca=function(){return _0x7bc5a7;};return _0x5dca();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x4bc84a=_0xf751;function _0x2946(){var _0x2e2ad9=['387295yBytfV','ck-ai-chat__feed__message-content','77rhcvIJ','innerHTML','_contextChipsView','1489720mpkFPL','_createMessageContentView','ck-ai-chat__feed__user-message','5oaVfFm','4603823JHPAnD','_createContextChipsView','element','1184778AJYHmj','_locale','5004078GRdcMc','hidden','4tNTfCT','options','children','div','contextItems','initialContent','markAsDone','extendTemplate','add','_bodyCollection','length','filter','48HLNOJt','ck-ai-chat__feed__context-chips','463191TCniGG','render','setTemplate','_messageContentView','2529152KmBbhP'];_0x2946=function(){return _0x2e2ad9;};return _0x2946();}function _0xf751(_0x1ebf1f,_0x4b0453){var _0x29466c=_0x2946();return _0xf751=function(_0xf75181,_0x4ac1f6){_0xf75181=_0xf75181-0x1de;var _0x2bb3db=_0x29466c[_0xf75181];return _0x2bb3db;},_0xf751(_0x1ebf1f,_0x4b0453);}(function(_0x186825,_0x258ef6){var _0x2a79cb=_0xf751,_0x59f062=_0x186825();while(!![]){try{var _0x20aa72=-parseInt(_0x2a79cb(0x1f5))/0x1+parseInt(_0x2a79cb(0x1e2))/0x2*(parseInt(_0x2a79cb(0x1f0))/0x3)+parseInt(_0x2a79cb(0x1f4))/0x4+-parseInt(_0x2a79cb(0x1fd))/0x5*(parseInt(_0x2a79cb(0x1e0))/0x6)+parseInt(_0x2a79cb(0x1fe))/0x7+parseInt(_0x2a79cb(0x1ee))/0x8*(-parseInt(_0x2a79cb(0x1de))/0x9)+parseInt(_0x2a79cb(0x1fa))/0xa*(parseInt(_0x2a79cb(0x1f7))/0xb);if(_0x20aa72===_0x258ef6)break;else _0x59f062['push'](_0x59f062['shift']());}catch(_0x319458){_0x59f062['push'](_0x59f062['shift']());}}}(_0x2946,0x99e8f));import{AIChatFeedItemView as _0x26af48}from'./aichatfeeditemview.js';import{AIChatFeedContextChipsView as _0x1dd79f}from'./aichatfeedcontextchipsview.js';import{View as _0x275f3a}from'ckeditor5/src/ui.js';export class AIChatFeedUserMessageItemView extends _0x26af48{[_0x4bc84a(0x1f9)]=null;[_0x4bc84a(0x1df)];[_0x4bc84a(0x1eb)];[_0x4bc84a(0x1f3)];constructor(_0x4cdc81,_0x1e682e,_0x2edc17){var _0x38f2a9=_0x4bc84a;super(_0x1e682e),this[_0x38f2a9(0x1df)]=_0x4cdc81,this[_0x38f2a9(0x1eb)]=_0x2edc17,this[_0x38f2a9(0x1ff)](),this[_0x38f2a9(0x1fb)](),this[_0x38f2a9(0x1e9)]({'attributes':{'class':[_0x38f2a9(0x1fc)]}});}[_0x4bc84a(0x1ff)](){var _0x4bf7eb=_0x4bc84a;this[_0x4bf7eb(0x1e3)][_0x4bf7eb(0x1e6)]&&this[_0x4bf7eb(0x1e3)][_0x4bf7eb(0x1e6)][_0x4bf7eb(0x1ec)]>0x0&&(this[_0x4bf7eb(0x1f9)]=new _0x1dd79f(this[_0x4bf7eb(0x1df)],this[_0x4bf7eb(0x1e3)][_0x4bf7eb(0x1e6)][_0x4bf7eb(0x1ed)](_0x1a8394=>!_0x1a8394[_0x4bf7eb(0x1e1)]),this[_0x4bf7eb(0x1eb)]),this[_0x4bf7eb(0x1f9)][_0x4bf7eb(0x1e9)]({'attributes':{'class':_0x4bf7eb(0x1ef)}}),this[_0x4bf7eb(0x1e4)][_0x4bf7eb(0x1ea)](this[_0x4bf7eb(0x1f9)]));}[_0x4bc84a(0x1fb)](){var _0x33ba8c=_0x4bc84a;this[_0x33ba8c(0x1f3)]=new _0x275f3a(this[_0x33ba8c(0x1df)]),this[_0x33ba8c(0x1f3)][_0x33ba8c(0x1f2)]({'tag':_0x33ba8c(0x1e5),'attributes':{'class':_0x33ba8c(0x1f6)}}),this[_0x33ba8c(0x1e4)][_0x33ba8c(0x1ea)](this[_0x33ba8c(0x1f3)]);}[_0x4bc84a(0x1f1)](){var _0x53a114=_0x4bc84a;super[_0x53a114(0x1f1)](),this[_0x53a114(0x1f3)][_0x53a114(0x200)][_0x53a114(0x1f8)]=this[_0x53a114(0x1e3)][_0x53a114(0x1e7)],this[_0x53a114(0x1e8)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x2a70(){const _0x147c17=['8880696DqMOEW','toggleWebSearch','98227pcTgEj','2827854GqhHcT','2653170LSmiWT','addFileToContext','893145jVvxox','resizeTabs','addResourceToContext','4Ahpaxk','executeCustomItemCallback','toggleReasoning','loadSourceResources','removeContextItem','startConversation','addDocumentToContext','712piUAyt','52773aCTJXw','abortPromptStream','selectModel','60pBEVZk','14xvpFeI','4944918NTOCtu','sendUserMessage','addUrlToContext'];_0x2a70=function(){return _0x147c17;};return _0x2a70();}const _0x3e4d75=_0x4178;(function(_0x571f2d,_0x12437a){const _0x29f3b2=_0x4178,_0x446b7d=_0x571f2d();while(!![]){try{const _0x4bdf2c=-parseInt(_0x29f3b2(0x102))/0x1*(parseInt(_0x29f3b2(0xfc))/0x2)+-parseInt(_0x29f3b2(0xfd))/0x3*(-parseInt(_0x29f3b2(0x109))/0x4)+parseInt(_0x29f3b2(0x104))/0x5+-parseInt(_0x29f3b2(0x100))/0x6+-parseInt(_0x29f3b2(0xf8))/0x7*(-parseInt(_0x29f3b2(0x110))/0x8)+-parseInt(_0x29f3b2(0x103))/0x9+parseInt(_0x29f3b2(0xfb))/0xa*(parseInt(_0x29f3b2(0x106))/0xb);if(_0x4bdf2c===_0x12437a)break;else _0x446b7d['push'](_0x446b7d['shift']());}catch(_0x620011){_0x446b7d['push'](_0x446b7d['shift']());}}}(_0x2a70,0xd0c82));function _0x4178(_0x5aed78,_0x746960){const _0x2a7097=_0x2a70();return _0x4178=function(_0x41788c,_0x298ad5){_0x41788c=_0x41788c-0xf8;let _0x2494d9=_0x2a7097[_0x41788c];return _0x2494d9;},_0x4178(_0x5aed78,_0x746960);}import{AI_SUGGESTION_UI_EVENT_NAMES as _0x21ce90}from'../../aicore/utils/eventnames.js';export const AI_CHAT_UI_EVENT_NAMES=[..._0x21ce90,_0x3e4d75(0x10e),_0x3e4d75(0x107),_0x3e4d75(0xfe),_0x3e4d75(0xf9),_0x3e4d75(0x10f),_0x3e4d75(0x105),_0x3e4d75(0xff),_0x3e4d75(0x10a),_0x3e4d75(0x108),_0x3e4d75(0x10d),_0x3e4d75(0x10c),_0x3e4d75(0x101),_0x3e4d75(0x10b),_0x3e4d75(0xfa)];
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1bc987=_0x4db0;(function(_0x1fba61,_0x4a6e52){const _0x4a9e18=_0x4db0,_0xbcae67=_0x1fba61();while(!![]){try{const _0x30e463=-parseInt(_0x4a9e18(0x8a))/0x1*(-parseInt(_0x4a9e18(0x7d))/0x2)+parseInt(_0x4a9e18(0x83))/0x3*(-parseInt(_0x4a9e18(0x76))/0x4)+parseInt(_0x4a9e18(0x78))/0x5*(parseInt(_0x4a9e18(0x93))/0x6)+-parseInt(_0x4a9e18(0x94))/0x7*(parseInt(_0x4a9e18(0x77))/0x8)+-parseInt(_0x4a9e18(0x84))/0x9*(-parseInt(_0x4a9e18(0x8c))/0xa)+-parseInt(_0x4a9e18(0x80))/0xb*(-parseInt(_0x4a9e18(0x8e))/0xc)+-parseInt(_0x4a9e18(0x91))/0xd;if(_0x30e463===_0x4a6e52)break;else _0xbcae67['push'](_0xbcae67['shift']());}catch(_0x3150a6){_0xbcae67['push'](_0xbcae67['shift']());}}}(_0x5d54,0xd8d0f));import{EmitterMixin as _0x1440a7}from'ckeditor5/src/utils.js';function _0x4db0(_0x242566,_0x53490e){const _0x5d5431=_0x5d54();return _0x4db0=function(_0x4db0bf,_0x287740){_0x4db0bf=_0x4db0bf-0x75;let _0x51b1e6=_0x5d5431[_0x4db0bf];return _0x51b1e6;},_0x4db0(_0x242566,_0x53490e);}export class PromiseQueue extends _0x1440a7(){[_0x1bc987(0x90)]=[];[_0x1bc987(0x7f)]=!0x1;[_0x1bc987(0x7b)];async[_0x1bc987(0x7a)](_0xf53c83){const _0x30e14e=_0x1bc987,_0x338c1c=this[_0x30e14e(0x87)](_0xf53c83);return this[_0x30e14e(0x90)][_0x30e14e(0x81)](_0x338c1c),this[_0x30e14e(0x86)](),_0x338c1c[_0x30e14e(0x82)];}[_0x1bc987(0x92)](){const _0x4dd3a3=_0x1bc987;this[_0x4dd3a3(0x7f)]&&(this[_0x4dd3a3(0x7b)][_0x4dd3a3(0x92)](),this[_0x4dd3a3(0x7b)]=void 0x0,this[_0x4dd3a3(0x90)]=[],this[_0x4dd3a3(0x7e)](_0x4dd3a3(0x79)),this[_0x4dd3a3(0x7f)]=!0x1);}get[_0x1bc987(0x75)](){const _0x347612=_0x1bc987;return this[_0x347612(0x90)][_0x347612(0x85)]||this[_0x347612(0x7f)]?new Promise(_0x5d3f8d=>{const _0x32dd29=_0x347612;this[_0x32dd29(0x8d)](_0x32dd29(0x79),()=>{_0x5d3f8d();});}):Promise[_0x347612(0x8b)]();}async[_0x1bc987(0x86)](){const _0x54d404=_0x1bc987;if(!this[_0x54d404(0x7f)]){this[_0x54d404(0x7b)]=new AbortController(),this[_0x54d404(0x7f)]=!0x0;try{for(;this[_0x54d404(0x90)][_0x54d404(0x85)]&&this[_0x54d404(0x7f)];){const _0x1f3305=this[_0x54d404(0x90)][_0x54d404(0x8f)]();try{await _0x1f3305[_0x54d404(0x7c)](this[_0x54d404(0x7b)][_0x54d404(0x88)]),_0x1f3305[_0x54d404(0x8b)]();}catch(_0x4d8efc){_0x1f3305[_0x54d404(0x89)](_0x4d8efc);}}}finally{this[_0x54d404(0x7f)]=!0x1,this[_0x54d404(0x7b)]=void 0x0;}this[_0x54d404(0x7e)](_0x54d404(0x79));}}[_0x1bc987(0x87)](_0x2d77c8){let _0x112171,_0x3182d5;const _0x4d9f7b=new Promise((_0x24ee2b,_0x358546)=>{_0x112171=_0x24ee2b,_0x3182d5=_0x358546;});return{'callback':_0x2d77c8,'resolve':_0x112171,'reject':_0x3182d5,'completePromise':_0x4d9f7b};}}function _0x5d54(){const _0x76170e=['isProcessing','17127363yPFEMi','push','completePromise','3bfAKol','132831JdPrwF','length','_processQueue','createTask','signal','reject','1WFFsUo','resolve','70XCzuGV','once','12eFbTTm','shift','queue','5303584oplequ','abort','6gyfJKp','49jqhSGI','queueEmptyPromise','50644VNhwOo','1025344fRWodV','300145jvyRku','_queueEmpty','enqueue','_abortController','callback','971018zwiDdH','fire'];_0x5d54=function(){return _0x76170e;};return _0x5d54();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x3de8(_0x9030ea,_0x1a055f){var _0x25c526=_0x25c5();return _0x3de8=function(_0x3de875,_0x26535a){_0x3de875=_0x3de875-0x19f;var _0x5eeb07=_0x25c526[_0x3de875];return _0x5eeb07;},_0x3de8(_0x9030ea,_0x1a055f);}var _0x44f234=_0x3de8;(function(_0x3da028,_0x1c0c61){var _0x37ed61=_0x3de8,_0x4bc91d=_0x3da028();while(!![]){try{var _0x4b764f=-parseInt(_0x37ed61(0x19f))/0x1*(parseInt(_0x37ed61(0x1a5))/0x2)+parseInt(_0x37ed61(0x1a1))/0x3*(parseInt(_0x37ed61(0x1ad))/0x4)+parseInt(_0x37ed61(0x1ae))/0x5+-parseInt(_0x37ed61(0x1a4))/0x6*(-parseInt(_0x37ed61(0x1a7))/0x7)+parseInt(_0x37ed61(0x1aa))/0x8+-parseInt(_0x37ed61(0x1ab))/0x9*(-parseInt(_0x37ed61(0x1a6))/0xa)+-parseInt(_0x37ed61(0x1a2))/0xb;if(_0x4b764f===_0x1c0c61)break;else _0x4bc91d['push'](_0x4bc91d['shift']());}catch(_0x1109d8){_0x4bc91d['push'](_0x4bc91d['shift']());}}}(_0x25c5,0xf3780));import{ContextPlugin as _0x3d9280}from'ckeditor5/src/core.js';function _0x25c5(){var _0x5be664=['1wAVGxZ','AIChatHistory','3PUrfcW','29706061fphNAe','requires','11652ANGRtS','1907748szdBTC','4190RfGIxA','5187LSykuw','pluginName','isPremiumPlugin','5955288prtLEt','5175tiPQEm','isOfficialPlugin','3798124qkoFqV','6388920VBCPMk'];_0x25c5=function(){return _0x5be664;};return _0x25c5();}import{AIChatHistoryController as _0x38b8e6}from'./aichathistorycontroller.js';import{AIChatHistoryUI as _0x4b370a}from'./aichathistoryui.js';export{AIChatHistoryItem}from'./model/aichathistoryitem.js';export class AIChatHistory extends _0x3d9280{static get[_0x44f234(0x1a3)](){return[_0x38b8e6,_0x4b370a];}static get[_0x44f234(0x1a8)](){var _0x22502c=_0x44f234;return _0x22502c(0x1a0);}static get[_0x44f234(0x1ac)](){return!0x0;}static get[_0x44f234(0x1a9)](){return!0x0;}}
|