@ckeditor/ckeditor5-ai 47.6.0-alpha.8 → 47.6.0
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.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
|
-
function
|
|
23
|
+
function _0x18d8(_0x184e75,_0x14990f){const _0x146874=_0x1468();return _0x18d8=function(_0x18d8e2,_0x4e4e89){_0x18d8e2=_0x18d8e2-0x10a;let _0xadb07a=_0x146874[_0x18d8e2];return _0xadb07a;},_0x18d8(_0x184e75,_0x14990f);}const _0x2b89cb=_0x18d8;(function(_0x15e571,_0x309be9){const _0x12bcad=_0x18d8,_0x2f0996=_0x15e571();while(!![]){try{const _0x3e836e=-parseInt(_0x12bcad(0x11b))/0x1+parseInt(_0x12bcad(0x11c))/0x2*(-parseInt(_0x12bcad(0x11e))/0x3)+parseInt(_0x12bcad(0x129))/0x4+-parseInt(_0x12bcad(0x10a))/0x5+-parseInt(_0x12bcad(0x132))/0x6*(-parseInt(_0x12bcad(0x135))/0x7)+-parseInt(_0x12bcad(0x133))/0x8+-parseInt(_0x12bcad(0x11f))/0x9*(-parseInt(_0x12bcad(0x10d))/0xa);if(_0x3e836e===_0x309be9)break;else _0x2f0996['push'](_0x2f0996['shift']());}catch(_0x56ff6b){_0x2f0996['push'](_0x2f0996['shift']());}}}(_0x1468,0x29f81));import{View as _0x1117f4,ViewCollection as _0x36325a}from'ckeditor5/src/ui.js';import{uid as _0x4091ef}from'ckeditor5/src/utils.js';import{AIChatContextResourcesListView as _0x3b1ad8}from'./aichatcontextresourceslistview.js';import{AIChatContextResourcesSearchInputView as _0x34d2b4}from'./aichatresourcessearchinputview.js';import{AISkeletonView as _0x20ef22,SKELETON_DEFINITIONS as _0x2ceea2}from'../../../../aicore/ui/aiskeleton.js';function _0x1468(){const _0x2eb01e=['6Dguoms','9jumWnA','loadSourceResources','aiChatResources','render','getQuery','length','_createSearchView','add','updateResourceState','addResourceToContext','643228VsWnny','setTemplate','_searchSection','highlightText','delegate','extendTemplate','useDefaultFiltering','_latestLoadResourcesUid','div','710604LRJbEj','1236736SvKhFR','_createSkeletonView','7RsQWer','has','_source','search','children','ck\x20ck-search','_resourcesListView','383435aaKiOI','_createSearchSection','source','6413230gbhIxg','set','isLoading','ck-ai-chat-resources','_searchView','_createResourcesListView','_skeletonLoader','bindTemplate','setResources','loadResources','ck-hidden','fire','searchInputVisibleFrom','_searchInputVisibleFrom','303094cCHwIk','214286Jvbduy','locale'];_0x1468=function(){return _0x2eb01e;};return _0x1468();}export class AIChatContextResourcesView extends _0x1117f4{[_0x2b89cb(0x111)];[_0x2b89cb(0x12b)];[_0x2b89cb(0x11a)];[_0x2b89cb(0x13b)];[_0x2b89cb(0x113)];[_0x2b89cb(0x137)];[_0x2b89cb(0x139)];[_0x2b89cb(0x130)]=null;constructor(_0x206551,_0x180be0){const _0x312fab=_0x2b89cb;super(_0x206551),this[_0x312fab(0x137)]=_0x180be0[_0x312fab(0x10c)],this[_0x312fab(0x11a)]=_0x180be0[_0x312fab(0x119)]??0x7,this[_0x312fab(0x10e)](_0x312fab(0x10f),!0x0),this[_0x312fab(0x111)]=this[_0x312fab(0x125)](),this[_0x312fab(0x12b)]=this[_0x312fab(0x10b)](),this[_0x312fab(0x13b)]=this[_0x312fab(0x112)](),this[_0x312fab(0x113)]=this[_0x312fab(0x134)](),this[_0x312fab(0x139)]=new _0x36325a([this[_0x312fab(0x113)],this[_0x312fab(0x13b)]]),this[_0x312fab(0x12a)]({'tag':_0x312fab(0x131),'attributes':{'class':_0x312fab(0x110)},'children':this[_0x312fab(0x139)]});}[_0x2b89cb(0x125)](){const _0x2193a4=_0x2b89cb;return new _0x34d2b4(this[_0x2193a4(0x11d)]);}[_0x2b89cb(0x10b)](){const _0x3fae5c=_0x2b89cb,_0x2adb86=new _0x1117f4(this[_0x3fae5c(0x11d)]);return _0x2adb86[_0x3fae5c(0x12a)]({'tag':_0x3fae5c(0x131),'attributes':{'class':_0x3fae5c(0x13a)},'children':[this[_0x3fae5c(0x111)]]}),this[_0x3fae5c(0x111)]['on'](_0x3fae5c(0x138),(_0x196cb6,_0x42653d)=>{const _0x136851=_0x3fae5c;this[_0x136851(0x116)](_0x42653d),this[_0x136851(0x137)][_0x136851(0x12f)]&&this[_0x136851(0x13b)][_0x136851(0x12c)](_0x42653d);}),_0x2adb86;}[_0x2b89cb(0x112)](){const _0xf2f3e0=_0x2b89cb,_0x2baf21=new _0x3b1ad8(this[_0xf2f3e0(0x11d)],this[_0xf2f3e0(0x137)]);return _0x2baf21[_0xf2f3e0(0x12d)](_0xf2f3e0(0x128))['to'](this),_0x2baf21[_0xf2f3e0(0x12e)]({'attributes':{'class':this[_0xf2f3e0(0x114)]['if'](_0xf2f3e0(0x10f),_0xf2f3e0(0x117))}}),_0x2baf21;}[_0x2b89cb(0x134)](){const _0x38c9d4=_0x2b89cb,_0x53188a=new _0x20ef22(this[_0x38c9d4(0x11d)],_0x2ceea2[_0x38c9d4(0x121)]);return _0x53188a[_0x38c9d4(0x12e)]({'attributes':{'class':[this[_0x38c9d4(0x114)]['if'](_0x38c9d4(0x10f),_0x38c9d4(0x117),_0x1b8e3a=>!_0x1b8e3a)]}}),_0x53188a;}[_0x2b89cb(0x122)](){const _0x4db8a0=_0x2b89cb;super[_0x4db8a0(0x122)](),this[_0x4db8a0(0x116)]('');}[_0x2b89cb(0x116)](_0x1e9646){const _0x305ad6=_0x2b89cb,_0x10a785=_0x4091ef();this[_0x305ad6(0x130)]=_0x10a785,this[_0x305ad6(0x118)](_0x305ad6(0x120),{'sourceId':this[_0x305ad6(0x137)]['id'],'query':_0x1e9646,'uid':_0x10a785}),this[_0x305ad6(0x10f)]=!0x0;}[_0x2b89cb(0x115)](_0x3433b8,_0x2d4360){const _0x54bfcd=_0x2b89cb;if(_0x2d4360&&_0x2d4360!==this[_0x54bfcd(0x130)])return;const _0xae9a52=this[_0x54bfcd(0x137)][_0x54bfcd(0x12f)]?this[_0x54bfcd(0x111)][_0x54bfcd(0x123)]():'';this[_0x54bfcd(0x13b)][_0x54bfcd(0x115)](_0x3433b8,_0xae9a52),_0x3433b8[_0x54bfcd(0x124)]>=this[_0x54bfcd(0x11a)]&&!this[_0x54bfcd(0x139)][_0x54bfcd(0x136)](this[_0x54bfcd(0x12b)])&&this[_0x54bfcd(0x139)][_0x54bfcd(0x126)](this[_0x54bfcd(0x12b)],0x0),requestAnimationFrame(()=>{const _0x4fa236=_0x54bfcd;this[_0x4fa236(0x10f)]=!0x1;});}[_0x2b89cb(0x127)](_0x4cf133,_0x3c4eed){const _0x551e08=_0x2b89cb;this[_0x551e08(0x13b)][_0x551e08(0x127)](_0x4cf133,_0x3c4eed);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x42d5c6=_0x4914;function _0x2e3c(){const _0x3ccc14=['bindTemplate','resource','427800lDEKjs','div','ck-ai-chat-resources__item--in-context','_createIconView','updateResourceState','_titleView','execute','content','410104QGlcBX','highlightText','1642998IhTLOn','extendTemplate','2637019YGurGK','getResourceIcon','ck-ai-chat-resources__item-title','label','render','type','set','9ZuvaYs','_setupTemplate','_updateIcon','URL','text','ck-hidden','ck-ai-chat-resources__item','isInContext','FILE','_iconView','setTemplate','isVisible','trim','242731FgvWvI','_createTitleView','DOCUMENT','ck-ai-chat-resources__item__icon','TEXT','span','1518580GXEVwx','258xatFFD','1960jbCJxi'];_0x2e3c=function(){return _0x3ccc14;};return _0x2e3c();}function _0x4914(_0x5d2fbb,_0x1b54d8){const _0x2e3c9c=_0x2e3c();return _0x4914=function(_0x49146e,_0x330179){_0x49146e=_0x49146e-0x13c;let _0x4a5d18=_0x2e3c9c[_0x49146e];return _0x4a5d18;},_0x4914(_0x5d2fbb,_0x1b54d8);}(function(_0x283c90,_0x55b689){const _0x3fded5=_0x4914,_0x55a995=_0x283c90();while(!![]){try{const _0x2dc364=-parseInt(_0x3fded5(0x165))/0x1+-parseInt(_0x3fded5(0x142))/0x2*(-parseInt(_0x3fded5(0x141))/0x3)+parseInt(_0x3fded5(0x145))/0x4+-parseInt(_0x3fded5(0x140))/0x5+parseInt(_0x3fded5(0x14f))/0x6+parseInt(_0x3fded5(0x151))/0x7+-parseInt(_0x3fded5(0x14d))/0x8*(parseInt(_0x3fded5(0x158))/0x9);if(_0x2dc364===_0x55b689)break;else _0x55a995['push'](_0x55a995['shift']());}catch(_0x1a02ad){_0x55a995['push'](_0x55a995['shift']());}}}(_0x2e3c,0x3b966));import{HighlightedTextView as _0x555106,IconView as _0x33a8e4,ListItemView as _0x1c41bf}from'ckeditor5/src/ui.js';import{escapeRegExp as _0x597a05}from'es-toolkit/compat';import{AIContextItemType as _0x1e8f37}from'../../../../aicore/model/aicontext.js';import{IconFileUpload as _0x3f587d,IconCheck as _0xa4e82a,IconDocument as _0x438392,IconDocumentOutline as _0x4ba206,IconLink as _0x5c943a}from'@ckeditor/ckeditor5-icons';const zr=_0x42d5c6(0x15e),Jr=_0x42d5c6(0x147),Kr=_0x42d5c6(0x153),Mr=_0x42d5c6(0x13d);export class AIChatResourceListItemView extends _0x1c41bf{[_0x42d5c6(0x144)];[_0x42d5c6(0x14a)];[_0x42d5c6(0x161)];constructor(_0x3d4fbb,_0x3a0dc1){const _0x330c72=_0x42d5c6;super(_0x3d4fbb),this[_0x330c72(0x144)]=_0x3a0dc1,this[_0x330c72(0x157)](_0x330c72(0x15f),!!_0x3a0dc1[_0x330c72(0x15f)]),this[_0x330c72(0x14a)]=this[_0x330c72(0x166)](),this[_0x330c72(0x161)]=this[_0x330c72(0x148)](),this[_0x330c72(0x159)]();}[_0x42d5c6(0x155)](){const _0x4ea3f4=_0x42d5c6;super[_0x4ea3f4(0x155)]();}[_0x42d5c6(0x152)](_0x1e0c4b){const _0x510fa1=_0x42d5c6;if(_0x1e0c4b[_0x510fa1(0x15f)])return _0xa4e82a;switch(_0x1e0c4b[_0x510fa1(0x156)]){case _0x1e8f37[_0x510fa1(0x13c)]:return _0x438392;case _0x1e8f37[_0x510fa1(0x15b)]:return _0x5c943a;case _0x1e8f37[_0x510fa1(0x160)]:case _0x1e8f37[_0x510fa1(0x13e)]:return _0x3f587d;default:return _0x4ba206;}}[_0x42d5c6(0x14e)](_0x1a3245){const _0x48264d=_0x42d5c6;if(!_0x1a3245||''===_0x1a3245[_0x48264d(0x164)]())return void this[_0x48264d(0x14a)][_0x48264d(0x14e)](null);const _0x15b196=new RegExp(_0x597a05(_0x1a3245),'gi');this[_0x48264d(0x14a)][_0x48264d(0x14e)](_0x15b196);}[_0x42d5c6(0x149)](_0x599941){const _0x4c7d11=_0x42d5c6;this[_0x4c7d11(0x144)][_0x4c7d11(0x15f)]=_0x599941,this[_0x4c7d11(0x15f)]=_0x599941,this[_0x4c7d11(0x15a)]();}[_0x42d5c6(0x166)](){const _0x5a4210=_0x42d5c6,_0xe4f38=new _0x555106();return _0xe4f38[_0x5a4210(0x15c)]=this[_0x5a4210(0x144)][_0x5a4210(0x154)],_0xe4f38[_0x5a4210(0x150)]({'tag':_0x5a4210(0x13f),'attributes':{'class':[Kr]}}),_0xe4f38;}[_0x42d5c6(0x148)](){const _0x49cbc0=_0x42d5c6,_0x24c820=new _0x33a8e4();return _0x24c820[_0x49cbc0(0x14c)]=this[_0x49cbc0(0x152)](this[_0x49cbc0(0x144)]),_0x24c820;}[_0x42d5c6(0x159)](){const _0x181bdc=_0x42d5c6,_0x6a219c=this[_0x181bdc(0x143)];this[_0x181bdc(0x162)]({'tag':_0x181bdc(0x146),'attributes':{'class':[zr,_0x6a219c['if'](_0x181bdc(0x163),_0x181bdc(0x15d),_0x47ed2e=>!_0x47ed2e),_0x6a219c['if'](_0x181bdc(0x15f),Jr)]},'children':[{'tag':_0x181bdc(0x146),'attributes':{'class':[Mr]},'children':[this[_0x181bdc(0x161)]]},this[_0x181bdc(0x14a)]],'on':{'click':_0x6a219c['to'](_0x181bdc(0x14b))}});}[_0x42d5c6(0x15a)](){const _0x54b028=_0x42d5c6;this[_0x54b028(0x161)][_0x54b028(0x14c)]=this[_0x54b028(0x152)](this[_0x54b028(0x144)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2a3eb3=_0x5d05;(function(_0x4403f0,_0x5bb7dc){const _0xac701f=_0x5d05,_0x4805ed=_0x4403f0();while(!![]){try{const _0x7c7773=parseInt(_0xac701f(0x75))/0x1+parseInt(_0xac701f(0x9a))/0x2+parseInt(_0xac701f(0x8f))/0x3+-parseInt(_0xac701f(0x73))/0x4*(-parseInt(_0xac701f(0x91))/0x5)+-parseInt(_0xac701f(0x9d))/0x6+-parseInt(_0xac701f(0x90))/0x7*(parseInt(_0xac701f(0x7c))/0x8)+parseInt(_0xac701f(0x85))/0x9*(-parseInt(_0xac701f(0x71))/0xa);if(_0x7c7773===_0x5bb7dc)break;else _0x4805ed['push'](_0x4805ed['shift']());}catch(_0x200227){_0x4805ed['push'](_0x4805ed['shift']());}}}(_0x5d6b,0x89d28));import{BalloonPanelView as _0x44bc21,ButtonView as _0x12dcef,clickOutsideHandler as _0x246a4b,FormHeaderView as _0x3ba5a7}from'ckeditor5/src/ui.js';import{IconPreviousArrow as _0x148259}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x19168d}from'../../../../aicore/utils/common-translations.js';function _0x5d05(_0xb4c332,_0x491c5b){const _0x5d6bc8=_0x5d6b();return _0x5d05=function(_0x5d059d,_0x2cad9e){_0x5d059d=_0x5d059d-0x64;let _0x385964=_0x5d6bc8[_0x5d059d];return _0x385964;},_0x5d05(_0xb4c332,_0x491c5b);}import{AIChatContextResourcesView as _0x27b082}from'./aichatcontextresourcesview.js';function _0x5d6b(){const _0x47d7d8=['content','_sourceResourceBalloons','8OfsPUv','set','searchInputVisibleFrom','change:isLoading','destroy','ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_source','hide','_locale','get','27909FZAWaQ','loadSourceResources','_createBalloonHeader','label','execute','once','updateResourceState','_createSourceResourceBalloonPanel','getTargetElement','AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT','2275080wlKjBV','1716309gAqELK','3886255foAZpZ','populateSourceResourceBalloon','ck-button-icon\x20ck-button-back','getLimiterElement','children','_createBalloonResourcesView','ck-ai-chat-context-controls__source-balloon-panel','_createBackButton','_addSourceResourceContent','85464xRZncv','onLoadSourceResources','onBackToContext','3765288FKSMSG','show','source','extendTemplate','add','_config','showSourceResourcesBalloon','isVisible','setResources','closeSourceResourceBalloon','resource','addResourceToContext','isAnyResourceBalloonVisible','_getResourcesViewFromBalloon','_bodyCollection','onBalloonClosed','onResourceSelected','3660Tqzayi','element','4jPRdLP','values','993878GXstSE','delete','clear','pin','_setupSingleResourceBalloonClickOutsideHandler'];_0x5d6b=function(){return _0x47d7d8;};return _0x5d6b();}const Bc=_0x2a3eb3(0x97),mc=_0x2a3eb3(0x93),dc=_0x2a3eb3(0x81);export class AIChatResourcesBalloonView{[_0x2a3eb3(0x7b)]=new Map();[_0x2a3eb3(0x6e)];[_0x2a3eb3(0x83)];[_0x2a3eb3(0x65)];constructor(_0x5c6847,_0x37768b,_0x41ccd3){const _0x3d568e=_0x2a3eb3;this[_0x3d568e(0x83)]=_0x5c6847,this[_0x3d568e(0x6e)]=_0x37768b,this[_0x3d568e(0x65)]=_0x41ccd3;}[_0x2a3eb3(0x66)]({source:_0x18a390,withBackButton:_0xeb1926}){const _0x216554=_0x2a3eb3;let _0xf471d0=this[_0x216554(0x7b)][_0x216554(0x84)](_0x18a390['id']);_0xf471d0||(_0xf471d0=this[_0x216554(0x8c)](),this[_0x216554(0x7b)][_0x216554(0x7d)](_0x18a390['id'],_0xf471d0),this[_0x216554(0x79)](_0xf471d0)),this[_0x216554(0x99)]({'balloonPanel':_0xf471d0,'source':_0x18a390,'withBackButton':_0xeb1926}),_0xf471d0[_0x216554(0x9e)]();const _0x3d6297=this[_0x216554(0x65)][_0x216554(0x8d)]();_0x3d6297&&_0xf471d0[_0x216554(0x78)]({'target':_0x3d6297,'limiter':this[_0x216554(0x65)][_0x216554(0x94)]()});}[_0x2a3eb3(0x92)](_0x3ef270,_0x38b9e5,_0x11f851){const _0x29939e=_0x2a3eb3,_0x28561e=this[_0x29939e(0x7b)][_0x29939e(0x84)](_0x3ef270);if(!_0x28561e)return;const _0x291a99=this[_0x29939e(0x6d)](_0x28561e);_0x291a99&&(_0x291a99[_0x29939e(0x68)](_0x38b9e5,_0x11f851),_0x291a99[_0x29939e(0x8a)](_0x29939e(0x7f),()=>{const _0x3f2b8c=_0x29939e;_0x28561e[_0x3f2b8c(0x78)]({'target':this[_0x3f2b8c(0x65)][_0x3f2b8c(0x8d)](),'limiter':this[_0x3f2b8c(0x65)][_0x3f2b8c(0x94)]()});}));}[_0x2a3eb3(0x69)](_0x10a5df){const _0x31d6be=_0x2a3eb3,_0x4d1bfe=this[_0x31d6be(0x7b)][_0x31d6be(0x84)](_0x10a5df);_0x4d1bfe&&requestAnimationFrame(()=>{const _0x10c8e5=_0x31d6be;_0x4d1bfe[_0x10c8e5(0x82)](),this[_0x10c8e5(0x7b)][_0x10c8e5(0x76)](_0x10a5df),this[_0x10c8e5(0x65)][_0x10c8e5(0x6f)]();});}[_0x2a3eb3(0x6c)](){const _0x66f43=_0x2a3eb3;for(const _0x3a56f2 of this[_0x66f43(0x7b)][_0x66f43(0x74)]())if(_0x3a56f2[_0x66f43(0x67)])return!0x0;return!0x1;}[_0x2a3eb3(0x8b)](_0xb05a88,_0x41ba94,_0x372e9f){const _0x20f63d=_0x2a3eb3,_0x284ae5=this[_0x20f63d(0x7b)][_0x20f63d(0x84)](_0xb05a88);if(!_0x284ae5||!_0x284ae5[_0x20f63d(0x67)])return;const _0x7d19d2=this[_0x20f63d(0x65)][_0x20f63d(0x8d)]();if(!_0x7d19d2)return;_0x284ae5[_0x20f63d(0x78)]({'target':_0x7d19d2,'limiter':this[_0x20f63d(0x65)][_0x20f63d(0x94)]()});const _0x550f24=this[_0x20f63d(0x6d)](_0x284ae5);_0x550f24&&_0x550f24[_0x20f63d(0x8b)](_0x41ba94,_0x372e9f);}[_0x2a3eb3(0x80)](){const _0x16de4a=_0x2a3eb3;for(const _0x27fdc6 of this[_0x16de4a(0x7b)][_0x16de4a(0x74)]())_0x27fdc6[_0x16de4a(0x80)]();this[_0x16de4a(0x7b)][_0x16de4a(0x77)]();}[_0x2a3eb3(0x8c)](){const _0x3ddbfd=_0x2a3eb3,_0x3150f4=new _0x44bc21(this[_0x3ddbfd(0x83)]);return _0x3150f4[_0x3ddbfd(0xa0)]({'attributes':{'class':Bc}}),this[_0x3ddbfd(0x6e)][_0x3ddbfd(0x64)](_0x3150f4),_0x3150f4;}[_0x2a3eb3(0x99)]({balloonPanel:_0x4e3709,source:_0x8669ba,withBackButton:_0x5b99f8}){const _0x11478b=_0x2a3eb3;_0x4e3709[_0x11478b(0x7a)][_0x11478b(0x77)]();const _0x5b7bfb=this[_0x11478b(0x87)]({'balloonPanel':_0x4e3709,'source':_0x8669ba,'withBackButton':_0x5b99f8});_0x4e3709[_0x11478b(0x7a)][_0x11478b(0x64)](_0x5b7bfb);const _0x45d8db=this[_0x11478b(0x96)](_0x8669ba);_0x4e3709[_0x11478b(0x7a)][_0x11478b(0x64)](_0x45d8db);}[_0x2a3eb3(0x87)]({balloonPanel:_0x3b4321,source:_0x33ed67,withBackButton:_0x13c033}){const _0x4cfde6=_0x2a3eb3,_0x1b57df=new _0x3ba5a7(this[_0x4cfde6(0x83)],{'label':_0x33ed67[_0x4cfde6(0x88)],'class':dc});return _0x13c033&&_0x1b57df[_0x4cfde6(0x95)][_0x4cfde6(0x64)](this[_0x4cfde6(0x98)](_0x3b4321),0x0),_0x1b57df;}[_0x2a3eb3(0x98)](_0x5d6cd7){const _0x4afcdc=_0x2a3eb3,_0x77a5df=new _0x12dcef(this[_0x4afcdc(0x83)]);return _0x77a5df[_0x4afcdc(0x7d)]({'icon':_0x148259,'tooltip':_0x19168d(this[_0x4afcdc(0x83)],_0x4afcdc(0x8e)),'tooltipPosition':'n','class':mc}),_0x77a5df['on'](_0x4afcdc(0x89),()=>{const _0x18fa11=_0x4afcdc;_0x5d6cd7[_0x18fa11(0x82)](),this[_0x18fa11(0x65)][_0x18fa11(0x9c)]();}),_0x77a5df;}[_0x2a3eb3(0x96)](_0x3364df){const _0xf523d6=_0x2a3eb3,_0x27d36b=new _0x27b082(this[_0xf523d6(0x83)],{'source':_0x3364df,'searchInputVisibleFrom':this[_0xf523d6(0x65)][_0xf523d6(0x7e)]});return _0x27d36b['on'](_0xf523d6(0x86),(_0x376d08,_0x3a103b)=>{const _0x26c38e=_0xf523d6;this[_0x26c38e(0x65)][_0x26c38e(0x9b)](_0x3a103b);}),_0x27d36b['on'](_0xf523d6(0x6b),(_0x3e00b1,_0x392ace)=>{const _0x18f9c2=_0xf523d6;this[_0x18f9c2(0x65)][_0x18f9c2(0x70)](_0x392ace[_0x18f9c2(0x9f)],_0x392ace[_0x18f9c2(0x6a)]),this[_0x18f9c2(0x69)](_0x3364df['id']);}),_0x27d36b;}[_0x2a3eb3(0x6d)](_0x518508){const _0x572540=_0x2a3eb3,_0x13c5d1=_0x518508[_0x572540(0x7a)][_0x572540(0x84)](0x1);return _0x13c5d1 instanceof _0x27b082?_0x13c5d1:null;}[_0x2a3eb3(0x79)](_0x26b993){const _0x14d75a=_0x2a3eb3;_0x246a4b({'emitter':_0x26b993,'contextElements':[_0x26b993[_0x14d75a(0x72)]],'callback':()=>{const _0xbbcd2b=_0x14d75a;_0x26b993[_0xbbcd2b(0x82)](),this[_0xbbcd2b(0x65)][_0xbbcd2b(0x6f)]();},'activator':()=>_0x26b993[_0x14d75a(0x67)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ButtonView as
|
|
23
|
+
import{ButtonView as _0x1fdb95,IconView as _0x5b35cb,LabeledFieldView as _0x43aeab,createLabeledInputText as _0x14262d}from'ckeditor5/src/ui.js';import{IconLoupe as _0x452073,IconCancel as _0x4b0ec6}from'ckeditor5/src/icons.js';import{getTranslation as _0x24b39b}from'../../../../aicore/utils/common-translations.js';export class AIChatContextResourcesSearchInputView extends _0x43aeab{['iconView'];['resetButtonView'];['_viewConfig'];constructor(_0x5a3f4a){const t=_0x5a3f4a['t'],_0x1fd832={'showResetButton':!0x0,'showIcon':!0x0,'creator':_0x14262d,'label':_0x24b39b(_0x5a3f4a,'AI_CHAT_SEARCH_RESOURCES')};super(_0x5a3f4a,_0x1fd832['creator']),this['label']=_0x1fd832['label'],this['_viewConfig']=_0x1fd832,this['_viewConfig']['showIcon']&&this['_setupSearchIcon'](),this['_viewConfig']['showResetButton']&&this['_setupResetButton'](_0x5a3f4a,t),this['_setupEventListeners']();}['reset'](){this['fieldView']['reset'](),this['_viewConfig']['showResetButton']&&this['resetButtonView']&&(this['resetButtonView']['isVisible']=!0x1),this['search']('');}['search'](_0x2a9cc7){this['fire']('search',_0x2a9cc7);}['getQuery'](){return this['fieldView']['element']?.['value']||'';}['_setupSearchIcon'](){this['iconView']=new _0x5b35cb(),this['iconView']['content']=_0x452073,this['fieldWrapperChildren']['add'](this['iconView'],0x0),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-icon'}});}['_setupResetButton'](_0x5f3dea,t){this['resetButtonView']=new _0x1fdb95(_0x5f3dea),this['resetButtonView']['set']({'label':t('Clear'),'icon':_0x4b0ec6,'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',_0x4eba3e=>!_0x4eba3e),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 _0x2205d4=_0x51d0;(function(_0x34b1a3,_0x42f2ae){const _0x328506=_0x51d0,_0x4be218=_0x34b1a3();while(!![]){try{const _0x55fe41=-parseInt(_0x328506(0x144))/0x1*(-parseInt(_0x328506(0x141))/0x2)+-parseInt(_0x328506(0x14d))/0x3*(parseInt(_0x328506(0x14f))/0x4)+parseInt(_0x328506(0x15a))/0x5*(parseInt(_0x328506(0x13f))/0x6)+parseInt(_0x328506(0x13d))/0x7+-parseInt(_0x328506(0x14b))/0x8*(-parseInt(_0x328506(0x147))/0x9)+parseInt(_0x328506(0x151))/0xa*(-parseInt(_0x328506(0x14c))/0xb)+parseInt(_0x328506(0x153))/0xc*(-parseInt(_0x328506(0x146))/0xd);if(_0x55fe41===_0x42f2ae)break;else _0x4be218['push'](_0x4be218['shift']());}catch(_0x2455f7){_0x4be218['push'](_0x4be218['shift']());}}}(_0x5d7b,0x278a8));function _0x51d0(_0x32347a,_0x28582a){const _0x5d7b5d=_0x5d7b();return _0x51d0=function(_0x51d0b0,_0x2e1b07){_0x51d0b0=_0x51d0b0-0x13c;let _0x482921=_0x5d7b5d[_0x51d0b0];return _0x482921;},_0x51d0(_0x32347a,_0x28582a);}function _0x5d7b(){const _0x26e94a=['_bodyCollection','12fQYtlM','_createContextChips','219660EoGnIp','_overflowManager','12okSDKD','_contextChips','element','ck-ai-chat-context-chips-wrapper-balloon','ck-ai-chat__feed__context-chips','locale','querySelector','965Pvcymn','ck-ai-chat-controls-button','add','div','ck-reset_all','ck-ai-chat-controls_context_show-more-button','1985410ciXPsQ','setTemplate','4560iMevPE','ck-ai-chat-context-chips-wrapper','2edlHwV','destroy','render','317881dSMlFc','reorganizeChips','6411899cfsVMU','45BzPGsE','setContainerElement','createCollection','ck-ai-chat-context-controls__show-more-balloon-panel','429376HSuXka','33xgxBoM','295470CwJACK'];_0x5d7b=function(){return _0x26e94a;};return _0x5d7b();}import{View as _0x49fb88}from'ckeditor5/src/ui.js';import{AIChatContextItemButtonView as _0x38032b}from'../controls/aichatcontextitembuttonview.js';import{AIChatChipsOverflowManager as _0x5d4469}from'../controls/aichatchipsoverflowmanager.js';const oc=_0x2205d4(0x157),nc=_0x2205d4(0x140),ac=_0x2205d4(0x156),Xo=_0x2205d4(0x15b),$o=_0x2205d4(0x13c),Wo=_0x2205d4(0x14a);export class AIChatFeedContextChipsView extends _0x49fb88{[_0x2205d4(0x154)]=this[_0x2205d4(0x149)]();[_0x2205d4(0x152)];[_0x2205d4(0x14e)];constructor(_0x423086,_0x498c88,_0x28bd51){const _0x252cf7=_0x2205d4;super(_0x423086),this[_0x252cf7(0x14e)]=_0x28bd51,this[_0x252cf7(0x150)](_0x498c88);const _0x43e075={'cssClasses':{'showMoreButton':$o,'showMoreBalloon':Wo,'overflowContainer':ac,'controlsButton':Xo}};this[_0x252cf7(0x152)]=new _0x5d4469(_0x423086,this[_0x252cf7(0x154)],_0x43e075,this[_0x252cf7(0x14e)],this),this[_0x252cf7(0x13e)]({'tag':_0x252cf7(0x15d),'attributes':{'class':[oc,'ck',_0x252cf7(0x15e)]},'children':[{'tag':_0x252cf7(0x15d),'attributes':{'class':nc},'children':this[_0x252cf7(0x154)]}]});}[_0x2205d4(0x143)](){const _0x587d96=_0x2205d4;super[_0x587d96(0x143)]();const _0x2fb2c3=this[_0x587d96(0x155)][_0x587d96(0x159)]('.'+nc);_0x2fb2c3&&(this[_0x587d96(0x152)][_0x587d96(0x148)](_0x2fb2c3),this[_0x587d96(0x152)][_0x587d96(0x145)]());}[_0x2205d4(0x142)](){const _0x1b308b=_0x2205d4;super[_0x1b308b(0x142)](),this[_0x1b308b(0x152)][_0x1b308b(0x142)]();}[_0x2205d4(0x150)](_0x234829){const _0x7b15cc=_0x2205d4;for(const _0x5da126 of _0x234829){const _0x65642=new _0x38032b(this[_0x7b15cc(0x158)],_0x5da126,!0x0,!0x1);this[_0x7b15cc(0x154)][_0x7b15cc(0x15c)](_0x65642);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x51a521=_0x352a;(function(_0x5b15ab,_0x20802d){var _0x1aba9b=_0x352a,_0x4bc4f6=_0x5b15ab();while(!![]){try{var _0x495488=parseInt(_0x1aba9b(0x13b))/0x1*(parseInt(_0x1aba9b(0x13c))/0x2)+-parseInt(_0x1aba9b(0x12b))/0x3+-parseInt(_0x1aba9b(0x131))/0x4+parseInt(_0x1aba9b(0x139))/0x5+parseInt(_0x1aba9b(0x12f))/0x6+parseInt(_0x1aba9b(0x13a))/0x7*(-parseInt(_0x1aba9b(0x13d))/0x8)+-parseInt(_0x1aba9b(0x136))/0x9*(-parseInt(_0x1aba9b(0x133))/0xa);if(_0x495488===_0x20802d)break;else _0x4bc4f6['push'](_0x4bc4f6['shift']());}catch(_0x225b8c){_0x4bc4f6['push'](_0x4bc4f6['shift']());}}}(_0x4059,0xec592));function _0x352a(_0x333c03,_0x5212c6){var _0x405930=_0x4059();return _0x352a=function(_0x352af6,_0xc5ca03){_0x352af6=_0x352af6-0x12b;var _0x1d7acc=_0x405930[_0x352af6];return _0x1d7acc;},_0x352a(_0x333c03,_0x5212c6);}function _0x4059(){var _0x1ed260=['615729uerkEQ','element','ck-ai-chat__feed__custom-element','options','4493580eziWJW','innerHTML','2600832YFqLaM','appendChild','1064170wRCOVY','extendTemplate','string','90RfKjMD','content','render','2278745JVCMCL','46711PLCmZv','57627vCyubW','26FBxZYz','1432hWbbPs'];_0x4059=function(){return _0x1ed260;};return _0x4059();}import{AIChatFeedItemView as _0x2629bf}from'./aichatfeeditemview.js';export class AIChatFeedCustomElementView extends _0x2629bf{constructor(_0x34e0e2){var _0x4f60d7=_0x352a;super(_0x34e0e2),this[_0x4f60d7(0x134)]({'attributes':{'class':[_0x4f60d7(0x12d)]}});}async[_0x51a521(0x138)](){var _0x18bcca=_0x51a521;super[_0x18bcca(0x138)](),_0x18bcca(0x135)==typeof this[_0x18bcca(0x12e)][_0x18bcca(0x137)]?this[_0x18bcca(0x12c)][_0x18bcca(0x130)]=this[_0x18bcca(0x12e)][_0x18bcca(0x137)]:this[_0x18bcca(0x12c)][_0x18bcca(0x132)](this[_0x18bcca(0x12e)][_0x18bcca(0x137)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x4f69(_0x1ac1a8,_0x1e84c5){var _0x139d64=_0x139d();return _0x4f69=function(_0x4f6935,_0x2b7f7c){_0x4f6935=_0x4f6935-0x191;var _0x5a19db=_0x139d64[_0x4f6935];return _0x5a19db;},_0x4f69(_0x1ac1a8,_0x1e84c5);}var _0x4a6eae=_0x4f69;(function(_0x1e14e8,_0x2572f0){var _0x25d819=_0x4f69,_0x3d02d7=_0x1e14e8();while(!![]){try{var _0x21a879=-parseInt(_0x25d819(0x19f))/0x1*(-parseInt(_0x25d819(0x1aa))/0x2)+parseInt(_0x25d819(0x19b))/0x3*(parseInt(_0x25d819(0x1a5))/0x4)+parseInt(_0x25d819(0x19c))/0x5+parseInt(_0x25d819(0x1a7))/0x6*(-parseInt(_0x25d819(0x195))/0x7)+-parseInt(_0x25d819(0x1a4))/0x8*(-parseInt(_0x25d819(0x1a3))/0x9)+-parseInt(_0x25d819(0x191))/0xa*(-parseInt(_0x25d819(0x1a2))/0xb)+parseInt(_0x25d819(0x19d))/0xc*(-parseInt(_0x25d819(0x196))/0xd);if(_0x21a879===_0x2572f0)break;else _0x3d02d7['push'](_0x3d02d7['shift']());}catch(_0x2e23be){_0x3d02d7['push'](_0x3d02d7['shift']());}}}(_0x139d,0x42315));import{AIChatFeedItemView as _0x6e87a1}from'./aichatfeeditemview.js';function _0x139d(){var _0x244189=['innerHTML','2ReTJBu','initialContent','setContent','719807HOPrTX','3912561ZHeqvS','8aZxvCt','1472084lLbUCY','markAsDone','7230labZtj','extendTemplate','level','368620imSvyd','40AVoaPK','render','element','warning','182ZwUCiz','2822924Wtuaud','ck-ai-notification','ck-ai-notification_warning','ck-ai-notification_error','options','3htdLFN','861125WbRlNF','72LiLGfZ'];_0x139d=function(){return _0x244189;};return _0x139d();}export class AIChatFeedErrorItemView extends _0x6e87a1{constructor(_0x3e4783){var _0x34edc9=_0x4f69;super(_0x3e4783),this[_0x34edc9(0x1a8)]({'attributes':{'class':[_0x34edc9(0x197),_0x34edc9(0x194)===_0x3e4783[_0x34edc9(0x1a9)]?_0x34edc9(0x198):_0x34edc9(0x199)]}});}[_0x4a6eae(0x192)](){var _0x8169a8=_0x4a6eae;super[_0x8169a8(0x192)](),this[_0x8169a8(0x1a1)](this[_0x8169a8(0x19a)][_0x8169a8(0x1a0)]),this[_0x8169a8(0x1a6)]();}[_0x4a6eae(0x1a1)](_0x1b6599){var _0x24da3d=_0x4a6eae;this[_0x24da3d(0x193)][_0x24da3d(0x19e)]=_0x1b6599;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x205e(){const _0x1ce480=['extendTemplate','789325ujRKCo','ck-ai-chat__feed__interaction-header__capabilities__text','span','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH','ck-ai-chat__feed__interaction-header__capabilities','ck-hidden','198522dIjmPa','add','202923PFSEKV','583377hlKMCG','136vnJFgI','425770YqCPnz','ck-ai-chat__feed__interaction-header','setTemplate','capabilities','content','60IxTVYP','AI_CHAT_FEED_REPLY_ITEM_USED_REASONING','div','children','2zBbZVC','1156592zukcWn','push','246525IZRHvS','44FvQmsw'];_0x205e=function(){return _0x1ce480;};return _0x205e();}const _0x3b9130=_0x5509;(function(_0x10428f,_0x2894e9){const _0x3e522d=_0x5509,_0x167007=_0x10428f();while(!![]){try{const _0x18085d=parseInt(_0x3e522d(0x12f))/0x1+parseInt(_0x3e522d(0x147))/0x2*(-parseInt(_0x3e522d(0x13c))/0x3)+parseInt(_0x3e522d(0x148))/0x4+-parseInt(_0x3e522d(0x132))/0x5+-parseInt(_0x3e522d(0x143))/0x6*(-parseInt(_0x3e522d(0x13b))/0x7)+-parseInt(_0x3e522d(0x13d))/0x8*(parseInt(_0x3e522d(0x139))/0x9)+parseInt(_0x3e522d(0x13e))/0xa*(parseInt(_0x3e522d(0x130))/0xb);if(_0x18085d===_0x2894e9)break;else _0x167007['push'](_0x167007['shift']());}catch(_0x3f22d0){_0x167007['push'](_0x167007['shift']());}}}(_0x205e,0x41911));import{IconBulb as _0x458d57,IconWeb as _0x3321c9}from'@ckeditor/ckeditor5-icons';import{IconView as _0x5d5dde,View as _0x488391}from'ckeditor5/src/ui.js';import{AIChatFeedItemView as _0x1d7407}from'./aichatfeeditemview.js';function _0x5509(_0x106ea8,_0x3ccbcf){const _0x205eea=_0x205e();return _0x5509=function(_0x5509a3,_0x5c27ae){_0x5509a3=_0x5509a3-0x12e;let _0x68c060=_0x205eea[_0x5509a3];return _0x68c060;},_0x5509(_0x106ea8,_0x3ccbcf);}import{getTranslation as _0x3eb433}from'../../../aicore/utils/common-translations.js';export class AIChatFeedInteractionHeaderView extends _0x1d7407{[_0x3b9130(0x141)];constructor(_0x42398b,_0x3b8903){const _0xe29a9a=_0x3b9130;super(_0x3b8903);const {isWebSearchEnabled:_0x3f7637,isReasoningEnabled:_0x1fed32}=_0x3b8903[_0xe29a9a(0x141)],_0x4a62c1=[];let _0x552c5c='';_0x3f7637&&_0x1fed32?(_0x552c5c=_0x3eb433(_0x42398b,_0xe29a9a(0x135)),_0x4a62c1[_0xe29a9a(0x12e)](aa(_0x3321c9)),_0x4a62c1[_0xe29a9a(0x12e)](aa(_0x458d57))):_0x3f7637?(_0x552c5c=_0x3eb433(_0x42398b,_0xe29a9a(0x136)),_0x4a62c1[_0xe29a9a(0x12e)](aa(_0x3321c9))):_0x1fed32&&(_0x552c5c=_0x3eb433(_0x42398b,_0xe29a9a(0x144)),_0x4a62c1[_0xe29a9a(0x12e)](aa(_0x458d57))),this[_0xe29a9a(0x131)]({'attributes':{'class':[_0xe29a9a(0x13f),_0x552c5c?'':_0xe29a9a(0x138)]}});const _0x494bfb=new _0x488391();_0x494bfb[_0xe29a9a(0x140)]({'tag':_0xe29a9a(0x145),'attributes':{'class':['ck',_0xe29a9a(0x137)]},'children':[..._0x4a62c1,{'tag':_0xe29a9a(0x134),'attributes':{'class':[_0xe29a9a(0x133)]},'children':[_0x552c5c]}]}),this[_0xe29a9a(0x146)][_0xe29a9a(0x13a)](_0x494bfb),this[_0xe29a9a(0x141)]=_0x3b8903[_0xe29a9a(0x141)];}}function aa(_0x1929ae){const _0x56fdbd=_0x3b9130,_0x4ece65=new _0x5d5dde();return _0x4ece65[_0x56fdbd(0x142)]=_0x1929ae,_0x4ece65;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x17d1(){const _0x56d5ee=['ck-ai-chat__feed__item','streamIntoElement','76252czrNiG','markAsDone','createCollection','div','34308jbsNTI','ck-ai-chat__feed__text-item','set','78FIqsJH','1444992SdISGK','ck-ai-chat__feed__item_done','element','setTemplate','removeAttribute','options','[data-id]','querySelectorAll','259BkSQTH','ck-hidden','435170tXghKM','751662VnjqfO','stream','25744pfxuwJ','173655saBktI','htmlStreamer','isVisible','data-id','children','bindTemplate','78OiyXGj','animation:\x20ck-html-streamer-fade-in\x20.5s','forEach','content','cleanUpAnimations','isDone','360YdUCbT'];_0x17d1=function(){return _0x56d5ee;};return _0x17d1();}function _0x1937(_0x2d2c53,_0x3a87cc){const _0x17d16d=_0x17d1();return _0x1937=function(_0x193772,_0x199c29){_0x193772=_0x193772-0x1bc;let _0x531829=_0x17d16d[_0x193772];return _0x531829;},_0x1937(_0x2d2c53,_0x3a87cc);}const _0x50880e=_0x1937;(function(_0x44dc9a,_0xbf2273){const _0x4ebd7c=_0x1937,_0x1cab15=_0x44dc9a();while(!![]){try{const _0x48270e=parseInt(_0x4ebd7c(0x1de))/0x1+-parseInt(_0x4ebd7c(0x1d3))/0x2*(-parseInt(_0x4ebd7c(0x1d0))/0x3)+-parseInt(_0x4ebd7c(0x1d4))/0x4+-parseInt(_0x4ebd7c(0x1bd))/0x5*(parseInt(_0x4ebd7c(0x1c3))/0x6)+-parseInt(_0x4ebd7c(0x1dc))/0x7*(parseInt(_0x4ebd7c(0x1bc))/0x8)+parseInt(_0x4ebd7c(0x1df))/0x9+-parseInt(_0x4ebd7c(0x1c9))/0xa*(-parseInt(_0x4ebd7c(0x1cc))/0xb);if(_0x48270e===_0xbf2273)break;else _0x1cab15['push'](_0x1cab15['shift']());}catch(_0x486498){_0x1cab15['push'](_0x1cab15['shift']());}}}(_0x17d1,0x44f3b));import{View as _0x3cb121}from'ckeditor5/src/ui.js';import{HTMLStreamer as _0x49b218}from'../../../aicore/utils/htmlstreamer.js';export class AIChatFeedItemView extends _0x3cb121{[_0x50880e(0x1d9)];[_0x50880e(0x1c6)]='';[_0x50880e(0x1be)];[_0x50880e(0x1c1)];constructor(_0x45bc6a){const _0x5445da=_0x50880e;super();const _0x2dbfc3=this[_0x5445da(0x1c2)];this[_0x5445da(0x1d2)](_0x5445da(0x1c8),!0x1),this[_0x5445da(0x1d2)](_0x5445da(0x1bf),!0x0),this[_0x5445da(0x1be)]=new _0x49b218({'textNodeStyle':_0x5445da(0x1c4),'delay':0x14}),this[_0x5445da(0x1d9)]=_0x45bc6a,this[_0x5445da(0x1c1)]=this[_0x5445da(0x1ce)](),this[_0x5445da(0x1d7)]({'tag':_0x5445da(0x1cf),'attributes':{'class':['ck',_0x5445da(0x1ca),_0x2dbfc3['if'](_0x5445da(0x1c8),_0x5445da(0x1d5)),_0x2dbfc3['if'](_0x5445da(0x1bf),_0x5445da(0x1dd),_0x505f8f=>!_0x505f8f),_0x5445da(0x1d1)],'data-cke-ai-id':this[_0x5445da(0x1d9)]['id']},'children':this[_0x5445da(0x1c1)]});}[_0x50880e(0x1cd)](){const _0x7be651=_0x50880e;this[_0x7be651(0x1be)][_0x7be651(0x1c7)]({'targetElement':this[_0x7be651(0x1d6)]}),this[_0x7be651(0x1d6)][_0x7be651(0x1db)](_0x7be651(0x1da))[_0x7be651(0x1c5)](_0x2408ff=>{const _0x314069=_0x7be651;_0x2408ff[_0x314069(0x1d8)](_0x314069(0x1c0));}),this[_0x7be651(0x1c8)]=!0x0;}async[_0x50880e(0x1cb)](_0x8b29f5,_0xb3bd04,_0x48d320){const _0x5cabf4=_0x50880e;await this[_0x5cabf4(0x1be)][_0x5cabf4(0x1e0)]({'document':_0x8b29f5,'targetElement':_0xb3bd04,'abortSignal':_0x48d320});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x399393=_0x5e3c;function _0x2289(){const _0x35fd02=['5887602OphpkW','_bodyCollection','locale','innerHTML','extendTemplate','16jbTbDN','ck-ai-chat__feed__ai-reply-container','updateContent','add','children','updateSources','initialContent','replyContainer','streaming','setTemplate','ck-reset_all-excluded','ck-ai-chat__feed__ai-reply','addMany','1647237uyUqrr','markAsDone','4325266umNqjX','3753744hFauCR','static','render','element','options','7hyeyjI','8ebIaFW','206jRQRgp','6572aYHGOm','balloonPanelView','7357270QvIFrN','502295ARdaZO','isVisible','map','streamIntoElement','div'];_0x2289=function(){return _0x35fd02;};return _0x2289();}(function(_0xb1aa5c,_0x39ab7c){const _0xc2e437=_0x5e3c,_0x128bc5=_0xb1aa5c();while(!![]){try{const _0x1aa5bc=-parseInt(_0xc2e437(0x16e))/0x1*(-parseInt(_0xc2e437(0x16f))/0x2)+parseInt(_0xc2e437(0x164))/0x3+parseInt(_0xc2e437(0x17c))/0x4*(-parseInt(_0xc2e437(0x172))/0x5)+parseInt(_0xc2e437(0x167))/0x6*(parseInt(_0xc2e437(0x16c))/0x7)+parseInt(_0xc2e437(0x16d))/0x8*(-parseInt(_0xc2e437(0x177))/0x9)+-parseInt(_0xc2e437(0x171))/0xa+parseInt(_0xc2e437(0x166))/0xb;if(_0x1aa5bc===_0x39ab7c)break;else _0x128bc5['push'](_0x128bc5['shift']());}catch(_0xa88be9){_0x128bc5['push'](_0x128bc5['shift']());}}}(_0x2289,0x6e9dc));function _0x5e3c(_0x17da67,_0x138f46){const _0x228978=_0x2289();return _0x5e3c=function(_0x5e3c12,_0x5681bd){_0x5e3c12=_0x5e3c12-0x15e;let _0x478294=_0x228978[_0x5e3c12];return _0x478294;},_0x5e3c(_0x17da67,_0x138f46);}import{AIChatFeedItemView as _0x362036}from'./aichatfeeditemview.js';import{parse as _0x5a78eb,render as _0x53c05f}from'../../../aicore/utils/htmlparser.js';import{View as _0x454bfe}from'ckeditor5/src/ui.js';import{AIWebSourcesView as _0xe348c8,AIWebSourceView as _0x1bdb80}from'../../../aicore/ui/suggestioncontainer/aiwebsourcesview.js';export class AIChatFeedReplyItemView extends _0x362036{[_0x399393(0x15e)];[_0x399393(0x178)];constructor(_0x2876f8,_0x16b0af,_0x13809d){const _0x135239=_0x399393;super(_0x16b0af),this[_0x135239(0x178)]=_0x13809d,this[_0x135239(0x179)]=_0x2876f8,this[_0x135239(0x17b)]({'attributes':{'class':[_0x135239(0x162)]}}),this[_0x135239(0x15e)]=new _0x454bfe(),this[_0x135239(0x15e)][_0x135239(0x160)]({'tag':_0x135239(0x176),'attributes':{'class':['ck',_0x135239(0x161),_0x135239(0x17d)]}}),this[_0x135239(0x180)][_0x135239(0x17f)](this[_0x135239(0x15e)]);}async[_0x399393(0x169)](){const _0x12b2d2=_0x399393;super[_0x12b2d2(0x169)](),this[_0x12b2d2(0x16b)][_0x12b2d2(0x182)]&&(await this[_0x12b2d2(0x17e)]({'parsedContent':_0x5a78eb(this[_0x12b2d2(0x16b)][_0x12b2d2(0x182)]),'renderingStrategy':_0x12b2d2(0x168)}),this[_0x12b2d2(0x165)]());}async[_0x399393(0x17e)]({parsedContent:_0xcef74f,renderingStrategy:_0x36e450,abortSignal:_0x4ab249}){const _0x5449de=_0x399393;_0x5449de(0x15f)===_0x36e450?await this[_0x5449de(0x175)](_0xcef74f,this[_0x5449de(0x15e)][_0x5449de(0x16a)],_0x4ab249):this[_0x5449de(0x15e)][_0x5449de(0x16a)][_0x5449de(0x17a)]=_0x53c05f(_0xcef74f);}[_0x399393(0x181)](_0x2c10f9){const _0x4a9eb6=_0x399393,_0x4b36db=new _0xe348c8(this[_0x4a9eb6(0x179)],this[_0x4a9eb6(0x178)]);_0x4b36db[_0x4a9eb6(0x180)][_0x4a9eb6(0x163)](_0x2c10f9[_0x4a9eb6(0x174)](_0x32bf18=>new _0x1bdb80(this[_0x4a9eb6(0x179)],_0x32bf18,_0x4b36db[_0x4a9eb6(0x170)]))),_0x4b36db[_0x4a9eb6(0x173)]=!0x0,this[_0x4a9eb6(0x180)][_0x4a9eb6(0x17f)](_0x4b36db);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x4c30c9=_0x342a;(function(_0x2d8768,_0x5906c3){const _0x333d6e=_0x342a,_0x1ddaa1=_0x2d8768();while(!![]){try{const _0x2b3861=parseInt(_0x333d6e(0x9a))/0x1+parseInt(_0x333d6e(0x9e))/0x2+-parseInt(_0x333d6e(0x7f))/0x3*(parseInt(_0x333d6e(0x8f))/0x4)+-parseInt(_0x333d6e(0xa6))/0x5+parseInt(_0x333d6e(0x81))/0x6+parseInt(_0x333d6e(0xa3))/0x7+-parseInt(_0x333d6e(0x89))/0x8*(parseInt(_0x333d6e(0x85))/0x9);if(_0x2b3861===_0x5906c3)break;else _0x1ddaa1['push'](_0x1ddaa1['shift']());}catch(_0x1becfb){_0x1ddaa1['push'](_0x1ddaa1['shift']());}}}(_0x1ac1,0xdd4b8));function _0x1ac1(){const _0x29cf04=['isTrackChangesOn','set','8bEaosO','_switchButtonLabelsPlurality','AI_CHAT_SUGGESTION_ACTION_SUGGEST_ALL','AI_CHAT_SUGGESTION_ACTION_SUGGEST','fire','AI_SUGGESTION_DISABLED_FEED_MESSAGE','159604LjzZeY','updateVisibility','ck-ai-chat__feed__suggestion__actions__info','AI_SUGGESTION_DISABLED_TOOLTIP_MESSAGE','ck-ai-chat__feed__ai-suggestion__actions','AI_CHAT_SUGGESTION_ACTION_APPLY_ALL','div','_applyChangesButton','forEach','button','label','803975yzDMma','ck-ai-button-secondary','ck-hidden','execute','512184LMcfRU','addMany','change:isTrackChangesOn','AI_CHAT_SUGGESTION_ACTION_APPLY','bindTemplate','9002378LlVFMT','createCollection','add','2005355YbmDob','insertSuggestion','locale','includes','isEnabled','isVisible','_insertSuggestionsButton','33XUeziw','children','5220132KvNjxN','applySuggestion','ck-ai-button-primary','bind','13227633liFfRP','setTemplate'];_0x1ac1=function(){return _0x29cf04;};return _0x1ac1();}function _0x342a(_0x564f34,_0x5e9c95){const _0x1ac1c0=_0x1ac1();return _0x342a=function(_0x342ae6,_0x1f04be){_0x342ae6=_0x342ae6-0x7d;let _0x592d39=_0x1ac1c0[_0x342ae6];return _0x592d39;},_0x342a(_0x564f34,_0x5e9c95);}import{ButtonView as _0x3f9f52,View as _0x162433}from'ckeditor5/src/ui.js';import{getTranslation as _0x322f65}from'../../../aicore/utils/common-translations.js';import{IconInfo as _0x4d42b7}from'ckeditor5/src/icons.js';export const AI_REPLY_ACTIONS=[_0x4c30c9(0x82),_0x4c30c9(0xa7)];export class AIChatFeedSuggestionItemActionsView extends _0x162433{[_0x4c30c9(0x96)];[_0x4c30c9(0x7e)];[_0x4c30c9(0x80)];constructor(_0x2b36eb,_0xccb96a=[...AI_REPLY_ACTIONS],_0x5151f7){const _0x23ca5b=_0x4c30c9;super(_0x2b36eb);const _0x37073b=this[_0x23ca5b(0xa2)],_0x31e60c=Boolean(_0x5151f7);if(this[_0x23ca5b(0x88)](_0x23ca5b(0xaa),!_0x31e60c),this[_0x23ca5b(0x88)](_0x23ca5b(0x7d),!0x1),this[_0x23ca5b(0x88)](_0x23ca5b(0x87),!0x1),this[_0x23ca5b(0x80)]=this[_0x23ca5b(0xa4)](),_0x31e60c){const _0x12959d=new _0x3f9f52(_0x2b36eb);_0x12959d[_0x23ca5b(0x88)]({'label':_0x322f65(_0x2b36eb,_0x23ca5b(0x92)),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x4d42b7});const _0x4a35c4=new _0x162433(_0x2b36eb);_0x4a35c4[_0x23ca5b(0x86)]({'tag':_0x23ca5b(0x95),'attributes':{'class':_0x23ca5b(0x91)},'children':[{'tag':'p','children':[_0x322f65(_0x2b36eb,_0x23ca5b(0x8e)),_0x12959d]}]}),this[_0x23ca5b(0x80)][_0x23ca5b(0xa5)](_0x4a35c4);}else this[_0x23ca5b(0x96)]=new _0x3f9f52(_0x2b36eb),this[_0x23ca5b(0x96)][_0x23ca5b(0x88)]({'label':_0x322f65(_0x2b36eb,_0x23ca5b(0x94)),'withText':!0x0,'type':_0x23ca5b(0x98),'isVisible':_0xccb96a[_0x23ca5b(0xa9)](_0x23ca5b(0x82)),'class':_0x23ca5b(0x83)}),this[_0x23ca5b(0x7e)]=new _0x3f9f52(_0x2b36eb),this[_0x23ca5b(0x7e)][_0x23ca5b(0x88)]({'label':_0x322f65(_0x2b36eb,_0x23ca5b(0x8b)),'withText':!0x0,'type':_0x23ca5b(0x98),'isVisible':_0xccb96a[_0x23ca5b(0xa9)](_0x23ca5b(0xa7)),'class':_0x23ca5b(0x9b)}),this[_0x23ca5b(0x7e)]['on'](_0x23ca5b(0x9d),()=>{const _0x55f89e=_0x23ca5b;this[_0x55f89e(0x8d)](_0x55f89e(0xa7));}),this[_0x23ca5b(0x96)]['on'](_0x23ca5b(0x9d),()=>{const _0xb9fd47=_0x23ca5b;this[_0xb9fd47(0x8d)](_0xb9fd47(0x82));}),[this[_0x23ca5b(0x96)],this[_0x23ca5b(0x7e)]][_0x23ca5b(0x97)](_0x21a861=>{const _0x8b9c7d=_0x23ca5b;_0x21a861[_0x8b9c7d(0x84)](_0x8b9c7d(0xaa))['to'](this);}),this[_0x23ca5b(0x80)][_0x23ca5b(0x9f)]([this[_0x23ca5b(0x96)],this[_0x23ca5b(0x7e)]]);this[_0x23ca5b(0x86)]({'tag':_0x23ca5b(0x95),'attributes':{'class':['ck',_0x23ca5b(0x93),_0x37073b['if'](_0x23ca5b(0x7d),_0x23ca5b(0x9c),_0x1437e0=>!_0x1437e0)]},'children':this[_0x23ca5b(0x80)]}),this['on'](_0x23ca5b(0xa0),()=>{const _0x96db80=_0x23ca5b;this[_0x96db80(0x96)]&&(this[_0x96db80(0x96)][_0x96db80(0x7d)]=!this[_0x96db80(0x87)]);});}[_0x4c30c9(0x90)](_0x316012){const _0x623466=_0x4c30c9;this[_0x623466(0x7d)]=_0x316012;}[_0x4c30c9(0x8a)](_0x4ae9fc){const _0x183b6d=_0x4c30c9;this[_0x183b6d(0x96)]&&this[_0x183b6d(0x7e)]&&(_0x4ae9fc?(this[_0x183b6d(0x96)][_0x183b6d(0x99)]=_0x322f65(this[_0x183b6d(0xa8)],_0x183b6d(0x94)),this[_0x183b6d(0x7e)][_0x183b6d(0x99)]=_0x322f65(this[_0x183b6d(0xa8)],_0x183b6d(0x8b))):(this[_0x183b6d(0x96)][_0x183b6d(0x99)]=_0x322f65(this[_0x183b6d(0xa8)],_0x183b6d(0xa1)),this[_0x183b6d(0x7e)][_0x183b6d(0x99)]=_0x322f65(this[_0x183b6d(0xa8)],_0x183b6d(0x8c))));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x30e9d1=_0x2810;(function(_0x165bef,_0x460dae){var _0x5205a9=_0x2810,_0xfe4e7d=_0x165bef();while(!![]){try{var _0x3883a3=parseInt(_0x5205a9(0xb6))/0x1+parseInt(_0x5205a9(0xc6))/0x2*(-parseInt(_0x5205a9(0xb7))/0x3)+parseInt(_0x5205a9(0xb9))/0x4+-parseInt(_0x5205a9(0xbb))/0x5+-parseInt(_0x5205a9(0xb5))/0x6+-parseInt(_0x5205a9(0xb1))/0x7*(-parseInt(_0x5205a9(0xbf))/0x8)+parseInt(_0x5205a9(0xb2))/0x9;if(_0x3883a3===_0x460dae)break;else _0xfe4e7d['push'](_0xfe4e7d['shift']());}catch(_0x116fa8){_0xfe4e7d['push'](_0xfe4e7d['shift']());}}}(_0x3a06,0x8d41f));function _0x2810(_0xffade4,_0x7b30c1){var _0x3a0649=_0x3a06();return _0x2810=function(_0x2810d0,_0xb45446){_0x2810d0=_0x2810d0-0xb1;var _0x3d8809=_0x3a0649[_0x2810d0];return _0x3d8809;},_0x2810(_0xffade4,_0x7b30c1);}import{AIChatFeedItemView as _0x32c171}from'./aichatfeeditemview.js';import{AISuggestionContainerView as _0x5bb1ca}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';function _0x3a06(){var _0x40712d=['children','updatePartState','updateSources','setPartActive','applySuggestion','bind','updateContent','toggleSuggestionDisplayMode','addMany','set','isTrackChangesOn','like','ck-ai-chat__feed__ai-suggestion','areActionsDisabled','6951JAzMCc','5247099eSpFrD','containerView','showDiff','6904374SBUMiF','1004071yxNjjk','33sTKVne','options','1818856BloRzJ','rejectSuggestion','2946100gEBKIl','mouseLeaveSuggestion','dislike','showChangeInText','8552QKJcTt','markAsDone','availableActions','extendTemplate','fire','bodyView','mouseOverSuggestion','142686pjgYcU','getPartView','insertSuggestion'];_0x3a06=function(){return _0x40712d;};return _0x3a06();}export class AIChatFeedSuggestionItemView extends _0x32c171{[_0x30e9d1(0xb3)];constructor(_0x3f97a9,_0x229e63,_0x5ee122){var _0x18a51a=_0x30e9d1;super(_0x229e63),this[_0x18a51a(0xd2)](_0x18a51a(0xd3),!0x1),this[_0x18a51a(0xb3)]=new _0x5bb1ca(_0x3f97a9,{'showDiff':_0x229e63[_0x18a51a(0xb4)],'areActionsDisabled':_0x229e63[_0x18a51a(0xd6)],'availableActions':_0x229e63[_0x18a51a(0xc1)]},_0x5ee122),this[_0x18a51a(0xb3)]['on'](_0x18a51a(0xd0),(_0x1aec4d,_0x40e113)=>{var _0x7bc32b=_0x18a51a;this[_0x7bc32b(0xc3)](_0x7bc32b(0xd0),{'replyId':this[_0x7bc32b(0xb8)]['id'],'showDiff':_0x40e113[_0x7bc32b(0xb4)]});}),this[_0x18a51a(0xb3)][_0x18a51a(0xce)](_0x18a51a(0xd3))['to'](this),this[_0x18a51a(0xb3)]['on'](_0x18a51a(0xd4),()=>{var _0x3f3839=_0x18a51a;this[_0x3f3839(0xc3)](_0x3f3839(0xd4),{'replyId':this[_0x3f3839(0xb8)]['id']});}),this[_0x18a51a(0xb3)]['on'](_0x18a51a(0xbd),()=>{var _0x1966a6=_0x18a51a;this[_0x1966a6(0xc3)](_0x1966a6(0xbd),{'replyId':this[_0x1966a6(0xb8)]['id']});}),this[_0x18a51a(0xb3)]['on'](_0x18a51a(0xbe),(_0x170c3f,{index:_0x4ad469})=>{var _0x5a8563=_0x18a51a;this[_0x5a8563(0xc3)](_0x5a8563(0xbe),{'replyId':this[_0x5a8563(0xb8)]['id'],'partIndex':_0x4ad469});}),this[_0x18a51a(0xb3)]['on'](_0x18a51a(0xcd),(_0x24764f,{index:_0x3bdfe3}={})=>{var _0x100228=_0x18a51a;this[_0x100228(0xc3)](_0x100228(0xcd),{'replyId':this[_0x100228(0xb8)]['id'],'partIndex':_0x3bdfe3});}),this[_0x18a51a(0xb3)]['on'](_0x18a51a(0xc8),(_0x65344b,{index:_0x543a29}={})=>{var _0x3e57a8=_0x18a51a;this[_0x3e57a8(0xc3)](_0x3e57a8(0xc8),{'replyId':this[_0x3e57a8(0xb8)]['id'],'partIndex':_0x543a29});}),this[_0x18a51a(0xb3)]['on'](_0x18a51a(0xba),(_0x2614c8,{index:_0x269129})=>{var _0x522d7c=_0x18a51a;this[_0x522d7c(0xc3)](_0x522d7c(0xba),{'replyId':this[_0x522d7c(0xb8)]['id'],'partIndex':_0x269129});}),this[_0x18a51a(0xb3)]['on'](_0x18a51a(0xc5),(_0x42879b,{index:_0x525f6e})=>{var _0x4d74cd=_0x18a51a;this[_0x4d74cd(0xc3)](_0x4d74cd(0xc5),{'replyId':this[_0x4d74cd(0xb8)]['id'],'partIndex':_0x525f6e});}),this[_0x18a51a(0xb3)]['on'](_0x18a51a(0xbc),(_0x18d726,{index:_0xbb3d10})=>{var _0x12a37d=_0x18a51a;this[_0x12a37d(0xc3)](_0x12a37d(0xbc),{'replyId':this[_0x12a37d(0xb8)]['id'],'partIndex':_0xbb3d10});}),this[_0x18a51a(0xc9)][_0x18a51a(0xd1)]([this[_0x18a51a(0xb3)]]),this[_0x18a51a(0xc2)]({'attributes':{'class':[_0x18a51a(0xd5)]}});}async[_0x30e9d1(0xcf)](_0x28910e){var _0x189b22=_0x30e9d1;await this[_0x189b22(0xb3)][_0x189b22(0xcf)](_0x28910e);}[_0x30e9d1(0xca)](_0x1d756f,_0x314569){var _0x407c03=_0x30e9d1;this[_0x407c03(0xb3)][_0x407c03(0xc4)][_0x407c03(0xca)](_0x1d756f,_0x314569);}[_0x30e9d1(0xcc)](_0x455820,_0x144aac){var _0x799237=_0x30e9d1;!0x1===_0x455820?this[_0x799237(0xb3)][_0x799237(0xc4)][_0x799237(0xcc)](!0x1):this[_0x799237(0xb3)][_0x799237(0xc4)][_0x799237(0xcc)](_0x455820,_0x144aac);}[_0x30e9d1(0xcb)](_0x2fc930){var _0x1b0296=_0x30e9d1;this[_0x1b0296(0xb3)][_0x1b0296(0xcb)](_0x2fc930);}[_0x30e9d1(0xc7)](_0x469fe2){var _0xadeb90=_0x30e9d1;return this[_0xadeb90(0xb3)][_0xadeb90(0xc4)][_0xadeb90(0xc7)](_0x469fe2);}[_0x30e9d1(0xc0)](){var _0x3fe2bd=_0x30e9d1;super[_0x3fe2bd(0xc0)](),this[_0x3fe2bd(0xb3)][_0x3fe2bd(0xc0)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x328462=_0xda3f;(function(_0x488520,_0x19b588){var _0x56cbe0=_0xda3f,_0x4d6ddb=_0x488520();while(!![]){try{var _0x3e8ff3=-parseInt(_0x56cbe0(0x1b4))/0x1+-parseInt(_0x56cbe0(0x1b7))/0x2+parseInt(_0x56cbe0(0x1b0))/0x3+-parseInt(_0x56cbe0(0x1b1))/0x4+-parseInt(_0x56cbe0(0x1b6))/0x5+parseInt(_0x56cbe0(0x1c4))/0x6+parseInt(_0x56cbe0(0x1b3))/0x7*(parseInt(_0x56cbe0(0x1bf))/0x8);if(_0x3e8ff3===_0x19b588)break;else _0x4d6ddb['push'](_0x4d6ddb['shift']());}catch(_0x559c69){_0x4d6ddb['push'](_0x4d6ddb['shift']());}}}(_0xf6d8,0x6d464));import{AIChatFeedItemView as _0x535432}from'./aichatfeeditemview.js';function _0xf6d8(){var _0x2a1fa8=['610652MpqiMz','render','_createMessageContentView','length','add','initialContent','extendTemplate','_messageContentView','4347784EPEDJY','_locale','ck-ai-chat__feed__context-chips','_createContextChipsView','options','3448854BYDuVJ','_bodyCollection','div','hidden','contextItems','_contextChipsView','innerHTML','element','children','setTemplate','filter','markAsDone','1751097TozbLu','556988owLhPj','ck-ai-chat__feed__user-message','7NvUluD','500832ycsayK','ck-ai-chat__feed__message-content','1544940mvYBYw'];_0xf6d8=function(){return _0x2a1fa8;};return _0xf6d8();}import{AIChatFeedContextChipsView as _0x4a7449}from'./aichatfeedcontextchipsview.js';function _0xda3f(_0x3b3a3a,_0x412e72){var _0xf6d887=_0xf6d8();return _0xda3f=function(_0xda3f6f,_0x10cf74){_0xda3f6f=_0xda3f6f-0x1aa;var _0x3df861=_0xf6d887[_0xda3f6f];return _0x3df861;},_0xda3f(_0x3b3a3a,_0x412e72);}import{View as _0x1df331}from'ckeditor5/src/ui.js';export class AIChatFeedUserMessageItemView extends _0x535432{[_0x328462(0x1c9)]=null;[_0x328462(0x1c0)];[_0x328462(0x1c5)];[_0x328462(0x1be)];constructor(_0x20d8a4,_0x5ca2ac,_0x4033e6){var _0x74071a=_0x328462;super(_0x5ca2ac),this[_0x74071a(0x1c0)]=_0x20d8a4,this[_0x74071a(0x1c5)]=_0x4033e6,this[_0x74071a(0x1c2)](),this[_0x74071a(0x1b9)](),this[_0x74071a(0x1bd)]({'attributes':{'class':[_0x74071a(0x1b2)]}});}[_0x328462(0x1c2)](){var _0x2a8189=_0x328462;this[_0x2a8189(0x1c3)][_0x2a8189(0x1c8)]&&this[_0x2a8189(0x1c3)][_0x2a8189(0x1c8)][_0x2a8189(0x1ba)]>0x0&&(this[_0x2a8189(0x1c9)]=new _0x4a7449(this[_0x2a8189(0x1c0)],this[_0x2a8189(0x1c3)][_0x2a8189(0x1c8)][_0x2a8189(0x1ae)](_0x2a94ec=>!_0x2a94ec[_0x2a8189(0x1c7)]),this[_0x2a8189(0x1c5)]),this[_0x2a8189(0x1c9)][_0x2a8189(0x1bd)]({'attributes':{'class':_0x2a8189(0x1c1)}}),this[_0x2a8189(0x1ac)][_0x2a8189(0x1bb)](this[_0x2a8189(0x1c9)]));}[_0x328462(0x1b9)](){var _0x286a02=_0x328462;this[_0x286a02(0x1be)]=new _0x1df331(this[_0x286a02(0x1c0)]),this[_0x286a02(0x1be)][_0x286a02(0x1ad)]({'tag':_0x286a02(0x1c6),'attributes':{'class':_0x286a02(0x1b5)}}),this[_0x286a02(0x1ac)][_0x286a02(0x1bb)](this[_0x286a02(0x1be)]);}[_0x328462(0x1b8)](){var _0x5c108e=_0x328462;super[_0x5c108e(0x1b8)](),this[_0x5c108e(0x1be)][_0x5c108e(0x1ab)][_0x5c108e(0x1aa)]=this[_0x5c108e(0x1c3)][_0x5c108e(0x1bc)],this[_0x5c108e(0x1af)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1f382d=_0x1f55;(function(_0xc8907e,_0x1920f8){const _0x2f3357=_0x1f55,_0x2147a1=_0xc8907e();while(!![]){try{const _0x537c2c=parseInt(_0x2f3357(0x11a))/0x1+-parseInt(_0x2f3357(0x121))/0x2*(-parseInt(_0x2f3357(0x116))/0x3)+-parseInt(_0x2f3357(0x11e))/0x4*(parseInt(_0x2f3357(0x129))/0x5)+parseInt(_0x2f3357(0x12a))/0x6+parseInt(_0x2f3357(0x127))/0x7+-parseInt(_0x2f3357(0x122))/0x8*(-parseInt(_0x2f3357(0x125))/0x9)+-parseInt(_0x2f3357(0x115))/0xa;if(_0x537c2c===_0x1920f8)break;else _0x2147a1['push'](_0x2147a1['shift']());}catch(_0x2abbbe){_0x2147a1['push'](_0x2147a1['shift']());}}}(_0x4713,0x3a890));function _0x1f55(_0x214325,_0x1d5a98){const _0x47139a=_0x4713();return _0x1f55=function(_0x1f5532,_0x5d42c0){_0x1f5532=_0x1f5532-0x114;let _0x430aab=_0x47139a[_0x1f5532];return _0x430aab;},_0x1f55(_0x214325,_0x1d5a98);}function _0x4713(){const _0x24f6e2=['488QvQkHt','selectModel','toggleWebSearch','40221OcVoau','addUrlToContext','360703Iiaedk','toggleReasoning','5iLMdBo','2382294hNLRQF','removeContextItem','resizeTabs','7722390NjbccN','141MziGMF','addFileToContext','addDocumentToContext','addResourceToContext','191626wajmEC','loadSourceResources','abortPromptStream','executeCustomItemCallback','265580LscHXU','sendUserMessage','startConversation','7046iBrouw'];_0x4713=function(){return _0x24f6e2;};return _0x4713();}import{AI_SUGGESTION_UI_EVENT_NAMES as _0x3644c6}from'../../aicore/utils/eventnames.js';export const AI_CHAT_UI_EVENT_NAMES=[..._0x3644c6,_0x1f382d(0x120),_0x1f382d(0x114),_0x1f382d(0x11f),_0x1f382d(0x11c),_0x1f382d(0x118),_0x1f382d(0x117),_0x1f382d(0x126),_0x1f382d(0x11d),_0x1f382d(0x119),_0x1f382d(0x12b),_0x1f382d(0x11b),_0x1f382d(0x124),_0x1f382d(0x128),_0x1f382d(0x123)];
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x4410a9=_0x8595;function _0x8595(_0xaa9e98,_0x244fbf){const _0xb48a93=_0xb48a();return _0x8595=function(_0x859529,_0x46263f){_0x859529=_0x859529-0x11e;let _0x533cf6=_0xb48a93[_0x859529];return _0x533cf6;},_0x8595(_0xaa9e98,_0x244fbf);}(function(_0x534963,_0x297e86){const _0x181ff7=_0x8595,_0x2ef8a2=_0x534963();while(!![]){try{const _0x558bfe=parseInt(_0x181ff7(0x139))/0x1+-parseInt(_0x181ff7(0x124))/0x2+-parseInt(_0x181ff7(0x12d))/0x3*(-parseInt(_0x181ff7(0x12e))/0x4)+-parseInt(_0x181ff7(0x132))/0x5*(-parseInt(_0x181ff7(0x133))/0x6)+parseInt(_0x181ff7(0x120))/0x7*(-parseInt(_0x181ff7(0x12b))/0x8)+parseInt(_0x181ff7(0x126))/0x9+-parseInt(_0x181ff7(0x11f))/0xa;if(_0x558bfe===_0x297e86)break;else _0x2ef8a2['push'](_0x2ef8a2['shift']());}catch(_0x23d2e1){_0x2ef8a2['push'](_0x2ef8a2['shift']());}}}(_0xb48a,0x208f6));import{EmitterMixin as _0x5438e5}from'ckeditor5/src/utils.js';function _0xb48a(){const _0x1ea66b=['callback','push','resolve','226880bPMdme','_queueEmpty','286164PdZBbx','8NdoXgA','completePromise','shift','isProcessing','217365NdNaCU','6bwLvrz','createTask','_processQueue','reject','abort','_abortController','154557qbOaWr','signal','fire','2616360wxrEVu','21pzAXQV','length','enqueue','once','188146XJsofU','queue','1668141WXaMzD','queueEmptyPromise'];_0xb48a=function(){return _0x1ea66b;};return _0xb48a();}export class PromiseQueue extends _0x5438e5(){[_0x4410a9(0x125)]=[];[_0x4410a9(0x131)]=!0x1;[_0x4410a9(0x138)];async[_0x4410a9(0x122)](_0x477ebf){const _0x1bc463=_0x4410a9,_0x3a5956=this[_0x1bc463(0x134)](_0x477ebf);return this[_0x1bc463(0x125)][_0x1bc463(0x129)](_0x3a5956),this[_0x1bc463(0x135)](),_0x3a5956[_0x1bc463(0x12f)];}[_0x4410a9(0x137)](){const _0x18ca9e=_0x4410a9;this[_0x18ca9e(0x131)]&&(this[_0x18ca9e(0x138)][_0x18ca9e(0x137)](),this[_0x18ca9e(0x138)]=void 0x0,this[_0x18ca9e(0x125)]=[],this[_0x18ca9e(0x11e)](_0x18ca9e(0x12c)),this[_0x18ca9e(0x131)]=!0x1);}get[_0x4410a9(0x127)](){const _0x49e9bb=_0x4410a9;return this[_0x49e9bb(0x125)][_0x49e9bb(0x121)]||this[_0x49e9bb(0x131)]?new Promise(_0x3c0625=>{const _0x5331a7=_0x49e9bb;this[_0x5331a7(0x123)](_0x5331a7(0x12c),()=>{_0x3c0625();});}):Promise[_0x49e9bb(0x12a)]();}async[_0x4410a9(0x135)](){const _0x4aec44=_0x4410a9;if(!this[_0x4aec44(0x131)]){this[_0x4aec44(0x138)]=new AbortController(),this[_0x4aec44(0x131)]=!0x0;try{for(;this[_0x4aec44(0x125)][_0x4aec44(0x121)]&&this[_0x4aec44(0x131)];){const _0x24f630=this[_0x4aec44(0x125)][_0x4aec44(0x130)]();try{await _0x24f630[_0x4aec44(0x128)](this[_0x4aec44(0x138)][_0x4aec44(0x13a)]),_0x24f630[_0x4aec44(0x12a)]();}catch(_0x522f3c){_0x24f630[_0x4aec44(0x136)](_0x522f3c);}}}finally{this[_0x4aec44(0x131)]=!0x1,this[_0x4aec44(0x138)]=void 0x0;}this[_0x4aec44(0x11e)](_0x4aec44(0x12c));}}[_0x4410a9(0x134)](_0x26c1c8){let _0x12afb6,_0x2fa979;const _0x366b6e=new Promise((_0x1d4303,_0x3d49e9)=>{_0x12afb6=_0x1d4303,_0x2fa979=_0x3d49e9;});return{'callback':_0x26c1c8,'resolve':_0x12afb6,'reject':_0x2fa979,'completePromise':_0x366b6e};}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x281e4b=_0x20d0;(function(_0x1dcbe5,_0x3d4331){var _0x3163b7=_0x20d0,_0x292a87=_0x1dcbe5();while(!![]){try{var _0x5b204e=parseInt(_0x3163b7(0xac))/0x1+parseInt(_0x3163b7(0xb3))/0x2+-parseInt(_0x3163b7(0xaa))/0x3+parseInt(_0x3163b7(0xb5))/0x4*(-parseInt(_0x3163b7(0xb1))/0x5)+parseInt(_0x3163b7(0xa9))/0x6*(parseInt(_0x3163b7(0xab))/0x7)+parseInt(_0x3163b7(0xae))/0x8+parseInt(_0x3163b7(0xad))/0x9;if(_0x5b204e===_0x3d4331)break;else _0x292a87['push'](_0x292a87['shift']());}catch(_0xf31505){_0x292a87['push'](_0x292a87['shift']());}}}(_0xf6b9,0x816a5));import{ContextPlugin as _0x2ef457}from'ckeditor5/src/core.js';function _0xf6b9(){var _0x55ff3e=['70kJbdxM','AIChatHistory','799050KscTlA','pluginName','259780GnnpLH','isPremiumPlugin','15666idoJLS','1668558YaFhcv','406qxVdbV','516581eQYVTK','761904eMHMRK','6746408TjySsa','isOfficialPlugin','requires'];_0xf6b9=function(){return _0x55ff3e;};return _0xf6b9();}import{AIChatHistoryController as _0x58154c}from'./aichathistorycontroller.js';import{AIChatHistoryUI as _0x5f3501}from'./aichathistoryui.js';export{AIChatHistoryItem}from'./model/aichathistoryitem.js';function _0x20d0(_0x31e81b,_0x27db8a){var _0xf6b974=_0xf6b9();return _0x20d0=function(_0x20d086,_0x319d53){_0x20d086=_0x20d086-0xa8;var _0x4ae51b=_0xf6b974[_0x20d086];return _0x4ae51b;},_0x20d0(_0x31e81b,_0x27db8a);}export class AIChatHistory extends _0x2ef457{static get[_0x281e4b(0xb0)](){return[_0x58154c,_0x5f3501];}static get[_0x281e4b(0xb4)](){var _0x3c6a83=_0x281e4b;return _0x3c6a83(0xb2);}static get[_0x281e4b(0xaf)](){return!0x0;}static get[_0x281e4b(0xa8)](){return!0x0;}}
|