@ckeditor/ckeditor5-ai 47.6.0 → 47.6.1-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/dist/index.js +5 -5
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +15 -15
- package/src/aiactions/aiactions.js +1 -1
- package/src/aiactions/model/aiactionsinteraction.js +1 -1
- package/src/aiactions/model/aiactionsreply.js +1 -1
- package/src/aiassistant/adapters/aiadapter.js +1 -1
- package/src/aiassistant/adapters/aitextadapter.js +1 -1
- package/src/aiassistant/adapters/awstextadapter.js +1 -1
- package/src/aiassistant/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant/aiassistant.js +1 -1
- package/src/aiassistant/aiassistantediting.js +1 -1
- package/src/aiassistant/aiassistantui.js +1 -1
- package/src/aiassistant/legacyerrors.js +1 -1
- package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
- package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
- package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
- package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
- package/src/aiassistant/ui/form/aiformview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
- package/src/aiassistant/ui/form/prompthistory.js +1 -1
- package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
- package/src/aiassistant/utils/common-translations.js +1 -1
- package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
- package/src/aiballoon/aiballoon.js +1 -1
- package/src/aiballoon/ui/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.d.ts +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
|
-
|
|
23
|
+
const _0x5eafdd=_0x79da;(function(_0x331313,_0x181c27){const _0x47bd0b=_0x79da,_0x316cda=_0x331313();while(!![]){try{const _0x3684fa=-parseInt(_0x47bd0b(0x1ea))/0x1+-parseInt(_0x47bd0b(0x1d9))/0x2*(-parseInt(_0x47bd0b(0x1da))/0x3)+-parseInt(_0x47bd0b(0x1f3))/0x4*(-parseInt(_0x47bd0b(0x202))/0x5)+parseInt(_0x47bd0b(0x1e8))/0x6+parseInt(_0x47bd0b(0x1f0))/0x7+parseInt(_0x47bd0b(0x1e5))/0x8+parseInt(_0x47bd0b(0x1e2))/0x9*(-parseInt(_0x47bd0b(0x204))/0xa);if(_0x3684fa===_0x181c27)break;else _0x316cda['push'](_0x316cda['shift']());}catch(_0x5183ed){_0x316cda['push'](_0x316cda['shift']());}}}(_0x5cf0,0xc8463));function _0x5cf0(){const _0x1f0e6c=['_resourcesListView','highlightText','getQuery','_searchSection','_skeletonLoader','_searchView','useDefaultFiltering','_createSearchView','bindTemplate','searchInputVisibleFrom','div','70pFoxeH','fire','5505470MzMbOY','ck-ai-chat-resources','locale','render','_createResourcesListView','setResources','has','2owajPk','3160137NSliuB','search','add','_createSkeletonView','addResourceToContext','aiChatResources','extendTemplate','loadSourceResources','36zYdtXs','_source','length','3919368KeKAXU','ck-hidden','updateResourceState','9562488MMEqHX','_searchInputVisibleFrom','1475978IYyjPX','source','set','delegate','_latestLoadResourcesUid','_createSearchSection','6233269OtAbXJ','children','loadResources','134564ECRpLL','isLoading','setTemplate','ck\x20ck-search'];_0x5cf0=function(){return _0x1f0e6c;};return _0x5cf0();}import{View as _0x547cf2,ViewCollection as _0x32e6ce}from'ckeditor5/src/ui.js';function _0x79da(_0x68112e,_0x39c936){const _0x5cf0b8=_0x5cf0();return _0x79da=function(_0x79dafb,_0x52689e){_0x79dafb=_0x79dafb-0x1d5;let _0x539dc1=_0x5cf0b8[_0x79dafb];return _0x539dc1;},_0x79da(_0x68112e,_0x39c936);}import{uid as _0x4e731a}from'ckeditor5/src/utils.js';import{AIChatContextResourcesListView as _0x367dd7}from'./aichatcontextresourceslistview.js';import{AIChatContextResourcesSearchInputView as _0x2d738f}from'./aichatresourcessearchinputview.js';import{AISkeletonView as _0x3a332b,SKELETON_DEFINITIONS as _0x18ba3d}from'../../../../aicore/ui/aiskeleton.js';export class AIChatContextResourcesView extends _0x547cf2{[_0x5eafdd(0x1fc)];[_0x5eafdd(0x1fa)];[_0x5eafdd(0x1e9)];[_0x5eafdd(0x1f7)];[_0x5eafdd(0x1fb)];[_0x5eafdd(0x1e3)];[_0x5eafdd(0x1f1)];[_0x5eafdd(0x1ee)]=null;constructor(_0x3b21a6,_0x1b60a3){const _0x4002db=_0x5eafdd;super(_0x3b21a6),this[_0x4002db(0x1e3)]=_0x1b60a3[_0x4002db(0x1eb)],this[_0x4002db(0x1e9)]=_0x1b60a3[_0x4002db(0x200)]??0x7,this[_0x4002db(0x1ec)](_0x4002db(0x1f4),!0x0),this[_0x4002db(0x1fc)]=this[_0x4002db(0x1fe)](),this[_0x4002db(0x1fa)]=this[_0x4002db(0x1ef)](),this[_0x4002db(0x1f7)]=this[_0x4002db(0x1d6)](),this[_0x4002db(0x1fb)]=this[_0x4002db(0x1dd)](),this[_0x4002db(0x1f1)]=new _0x32e6ce([this[_0x4002db(0x1fb)],this[_0x4002db(0x1f7)]]),this[_0x4002db(0x1f5)]({'tag':_0x4002db(0x201),'attributes':{'class':_0x4002db(0x205)},'children':this[_0x4002db(0x1f1)]});}[_0x5eafdd(0x1fe)](){const _0x150ab4=_0x5eafdd;return new _0x2d738f(this[_0x150ab4(0x206)]);}[_0x5eafdd(0x1ef)](){const _0x564abb=_0x5eafdd,_0x43a4fd=new _0x547cf2(this[_0x564abb(0x206)]);return _0x43a4fd[_0x564abb(0x1f5)]({'tag':_0x564abb(0x201),'attributes':{'class':_0x564abb(0x1f6)},'children':[this[_0x564abb(0x1fc)]]}),this[_0x564abb(0x1fc)]['on'](_0x564abb(0x1db),(_0x5f1c8a,_0x5a2611)=>{const _0x5c6e19=_0x564abb;this[_0x5c6e19(0x1f2)](_0x5a2611),this[_0x5c6e19(0x1e3)][_0x5c6e19(0x1fd)]&&this[_0x5c6e19(0x1f7)][_0x5c6e19(0x1f8)](_0x5a2611);}),_0x43a4fd;}[_0x5eafdd(0x1d6)](){const _0x66df17=_0x5eafdd,_0x4857db=new _0x367dd7(this[_0x66df17(0x206)],this[_0x66df17(0x1e3)]);return _0x4857db[_0x66df17(0x1ed)](_0x66df17(0x1de))['to'](this),_0x4857db[_0x66df17(0x1e0)]({'attributes':{'class':this[_0x66df17(0x1ff)]['if'](_0x66df17(0x1f4),_0x66df17(0x1e6))}}),_0x4857db;}[_0x5eafdd(0x1dd)](){const _0x342832=_0x5eafdd,_0x45e6bd=new _0x3a332b(this[_0x342832(0x206)],_0x18ba3d[_0x342832(0x1df)]);return _0x45e6bd[_0x342832(0x1e0)]({'attributes':{'class':[this[_0x342832(0x1ff)]['if'](_0x342832(0x1f4),_0x342832(0x1e6),_0x4f21be=>!_0x4f21be)]}}),_0x45e6bd;}[_0x5eafdd(0x1d5)](){const _0x4c033c=_0x5eafdd;super[_0x4c033c(0x1d5)](),this[_0x4c033c(0x1f2)]('');}[_0x5eafdd(0x1f2)](_0x3be051){const _0x41cce8=_0x5eafdd,_0x112664=_0x4e731a();this[_0x41cce8(0x1ee)]=_0x112664,this[_0x41cce8(0x203)](_0x41cce8(0x1e1),{'sourceId':this[_0x41cce8(0x1e3)]['id'],'query':_0x3be051,'uid':_0x112664}),this[_0x41cce8(0x1f4)]=!0x0;}[_0x5eafdd(0x1d7)](_0xaa2d63,_0x2fa4a9){const _0x6fa2a=_0x5eafdd;if(_0x2fa4a9&&_0x2fa4a9!==this[_0x6fa2a(0x1ee)])return;const _0x189cc3=this[_0x6fa2a(0x1e3)][_0x6fa2a(0x1fd)]?this[_0x6fa2a(0x1fc)][_0x6fa2a(0x1f9)]():'';this[_0x6fa2a(0x1f7)][_0x6fa2a(0x1d7)](_0xaa2d63,_0x189cc3),_0xaa2d63[_0x6fa2a(0x1e4)]>=this[_0x6fa2a(0x1e9)]&&!this[_0x6fa2a(0x1f1)][_0x6fa2a(0x1d8)](this[_0x6fa2a(0x1fa)])&&this[_0x6fa2a(0x1f1)][_0x6fa2a(0x1dc)](this[_0x6fa2a(0x1fa)],0x0),requestAnimationFrame(()=>{const _0x4ec491=_0x6fa2a;this[_0x4ec491(0x1f4)]=!0x1;});}[_0x5eafdd(0x1e7)](_0x383650,_0x462490){const _0xb59831=_0x5eafdd;this[_0xb59831(0x1f7)][_0xb59831(0x1e7)](_0x383650,_0x462490);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x48f9e6=_0xd405;function _0xd405(_0x440d3d,_0x27c610){const _0x191f4e=_0x191f();return _0xd405=function(_0xd405ac,_0xb28667){_0xd405ac=_0xd405ac-0x1ab;let _0x38d4d1=_0x191f4e[_0xd405ac];return _0x38d4d1;},_0xd405(_0x440d3d,_0x27c610);}(function(_0x26a05e,_0x2d8d98){const _0x10bdb0=_0xd405,_0x1c8921=_0x26a05e();while(!![]){try{const _0x28c2b9=-parseInt(_0x10bdb0(0x1b3))/0x1*(-parseInt(_0x10bdb0(0x1c4))/0x2)+-parseInt(_0x10bdb0(0x1d6))/0x3+-parseInt(_0x10bdb0(0x1c2))/0x4*(parseInt(_0x10bdb0(0x1b0))/0x5)+parseInt(_0x10bdb0(0x1be))/0x6+parseInt(_0x10bdb0(0x1d3))/0x7+parseInt(_0x10bdb0(0x1d5))/0x8+parseInt(_0x10bdb0(0x1ae))/0x9*(-parseInt(_0x10bdb0(0x1c6))/0xa);if(_0x28c2b9===_0x2d8d98)break;else _0x1c8921['push'](_0x1c8921['shift']());}catch(_0x426eac){_0x1c8921['push'](_0x1c8921['shift']());}}}(_0x191f,0x1f2e5));import{HighlightedTextView as _0x44ca7b,IconView as _0x5892b6,ListItemView as _0x384974}from'ckeditor5/src/ui.js';import{escapeRegExp as _0x264a85}from'es-toolkit/compat';import{AIContextItemType as _0x56324c}from'../../../../aicore/model/aicontext.js';import{IconFileUpload as _0x3dbcb0,IconCheck as _0x1c6ed9,IconDocument as _0x3e196a,IconDocumentOutline as _0x42d31c,IconLink as _0x4ad666}from'@ckeditor/ckeditor5-icons';const zr=_0x48f9e6(0x1ab),Jr=_0x48f9e6(0x1b1),Kr=_0x48f9e6(0x1ac),Mr=_0x48f9e6(0x1d2);export class AIChatResourceListItemView extends _0x384974{[_0x48f9e6(0x1b9)];[_0x48f9e6(0x1d4)];[_0x48f9e6(0x1c3)];constructor(_0x1bebfe,_0x4ccbe6){const _0x304524=_0x48f9e6;super(_0x1bebfe),this[_0x304524(0x1b9)]=_0x4ccbe6,this[_0x304524(0x1d1)](_0x304524(0x1ba),!!_0x4ccbe6[_0x304524(0x1ba)]),this[_0x304524(0x1d4)]=this[_0x304524(0x1cd)](),this[_0x304524(0x1c3)]=this[_0x304524(0x1cb)](),this[_0x304524(0x1b8)]();}[_0x48f9e6(0x1b4)](){const _0x4ed7a6=_0x48f9e6;super[_0x4ed7a6(0x1b4)]();}[_0x48f9e6(0x1bf)](_0x5168eb){const _0x449b83=_0x48f9e6;if(_0x5168eb[_0x449b83(0x1ba)])return _0x1c6ed9;switch(_0x5168eb[_0x449b83(0x1b5)]){case _0x56324c[_0x449b83(0x1b7)]:return _0x3e196a;case _0x56324c[_0x449b83(0x1c7)]:return _0x4ad666;case _0x56324c[_0x449b83(0x1bb)]:case _0x56324c[_0x449b83(0x1c1)]:return _0x3dbcb0;default:return _0x42d31c;}}[_0x48f9e6(0x1c9)](_0x10774c){const _0x56fd12=_0x48f9e6;if(!_0x10774c||''===_0x10774c[_0x56fd12(0x1bc)]())return void this[_0x56fd12(0x1d4)][_0x56fd12(0x1c9)](null);const _0x18d2ca=new RegExp(_0x264a85(_0x10774c),'gi');this[_0x56fd12(0x1d4)][_0x56fd12(0x1c9)](_0x18d2ca);}[_0x48f9e6(0x1ad)](_0x515ed0){const _0x17ed45=_0x48f9e6;this[_0x17ed45(0x1b9)][_0x17ed45(0x1ba)]=_0x515ed0,this[_0x17ed45(0x1ba)]=_0x515ed0,this[_0x17ed45(0x1ca)]();}[_0x48f9e6(0x1cd)](){const _0x4e1ea3=_0x48f9e6,_0xf48a09=new _0x44ca7b();return _0xf48a09[_0x4e1ea3(0x1cc)]=this[_0x4e1ea3(0x1b9)][_0x4e1ea3(0x1b2)],_0xf48a09[_0x4e1ea3(0x1af)]({'tag':_0x4e1ea3(0x1bd),'attributes':{'class':[Kr]}}),_0xf48a09;}[_0x48f9e6(0x1cb)](){const _0x1c8565=_0x48f9e6,_0x58b02e=new _0x5892b6();return _0x58b02e[_0x1c8565(0x1d0)]=this[_0x1c8565(0x1bf)](this[_0x1c8565(0x1b9)]),_0x58b02e;}[_0x48f9e6(0x1b8)](){const _0x5a22dc=_0x48f9e6,_0x5badce=this[_0x5a22dc(0x1cf)];this[_0x5a22dc(0x1b6)]({'tag':_0x5a22dc(0x1ce),'attributes':{'class':[zr,_0x5badce['if'](_0x5a22dc(0x1c0),_0x5a22dc(0x1c8),_0x3f6b72=>!_0x3f6b72),_0x5badce['if'](_0x5a22dc(0x1ba),Jr)]},'children':[{'tag':_0x5a22dc(0x1ce),'attributes':{'class':[Mr]},'children':[this[_0x5a22dc(0x1c3)]]},this[_0x5a22dc(0x1d4)]],'on':{'click':_0x5badce['to'](_0x5a22dc(0x1c5))}});}[_0x48f9e6(0x1ca)](){const _0x58a1c9=_0x48f9e6;this[_0x58a1c9(0x1c3)][_0x58a1c9(0x1d0)]=this[_0x58a1c9(0x1bf)](this[_0x58a1c9(0x1b9)]);}}function _0x191f(){const _0x13173e=['23165RqAQNK','ck-ai-chat-resources__item--in-context','label','13ZSgXlo','render','type','setTemplate','DOCUMENT','_setupTemplate','resource','isInContext','FILE','trim','span','770148szmHiO','getResourceIcon','isVisible','TEXT','164hpnuPi','_iconView','28632vhYquu','execute','6070JvJxUm','URL','ck-hidden','highlightText','_updateIcon','_createIconView','text','_createTitleView','div','bindTemplate','content','set','ck-ai-chat-resources__item__icon','761061MypbDB','_titleView','1232960YMbqxg','289068KRQtJm','ck-ai-chat-resources__item','ck-ai-chat-resources__item-title','updateResourceState','2421uHFYGu','extendTemplate'];_0x191f=function(){return _0x13173e;};return _0x191f();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x10f4f6=_0x40a8;(function(_0x52b17c,_0x55bc8f){const _0x33f8e9=_0x40a8,_0x5a6a7a=_0x52b17c();while(!![]){try{const _0x1203a4=parseInt(_0x33f8e9(0x143))/0x1*(parseInt(_0x33f8e9(0x150))/0x2)+parseInt(_0x33f8e9(0x164))/0x3+-parseInt(_0x33f8e9(0x160))/0x4*(parseInt(_0x33f8e9(0x168))/0x5)+-parseInt(_0x33f8e9(0x162))/0x6*(parseInt(_0x33f8e9(0x173))/0x7)+-parseInt(_0x33f8e9(0x14b))/0x8*(-parseInt(_0x33f8e9(0x154))/0x9)+-parseInt(_0x33f8e9(0x148))/0xa+-parseInt(_0x33f8e9(0x140))/0xb*(-parseInt(_0x33f8e9(0x13c))/0xc);if(_0x1203a4===_0x55bc8f)break;else _0x5a6a7a['push'](_0x5a6a7a['shift']());}catch(_0x35504c){_0x5a6a7a['push'](_0x5a6a7a['shift']());}}}(_0x16be,0x578d7));import{BalloonPanelView as _0x1d77ae,ButtonView as _0x5cfb19,clickOutsideHandler as _0x58149b,FormHeaderView as _0x1c1459}from'ckeditor5/src/ui.js';function _0x40a8(_0x274b5a,_0x2c0ccc){const _0x16be05=_0x16be();return _0x40a8=function(_0x40a8cb,_0x3aa0e9){_0x40a8cb=_0x40a8cb-0x13b;let _0x45e8c8=_0x16be05[_0x40a8cb];return _0x45e8c8;},_0x40a8(_0x274b5a,_0x2c0ccc);}function _0x16be(){const _0x35ffe2=['_createBalloonResourcesView','showSourceResourcesBalloon','show','_locale','4EnWfPx','extendTemplate','6AobJCz','set','654039gefbtk','_sourceResourceBalloons','content','_createBackButton','2207995qKwadw','onBackToContext','ck-button-icon\x20ck-button-back','updateResourceState','hide','getTargetElement','execute','add','change:isLoading','addResourceToContext','pin','4935434lIttWW','clear','searchInputVisibleFrom','delete','_addSourceResourceContent','_createBalloonHeader','_bodyCollection','source','33960rTQiYF','getLimiterElement','ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_source','populateSourceResourceBalloon','2893WTywIV','AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT','element','1YqhNQy','onLoadSourceResources','onResourceSelected','onBalloonClosed','children','2279920HHSrQe','get','resource','2004664IPtMcQ','label','ck-ai-chat-context-controls__source-balloon-panel','isVisible','_createSourceResourceBalloonPanel','1040764gUweqF','values','_getResourcesViewFromBalloon','loadSourceResources','9eUCpSw','destroy','_setupSingleResourceBalloonClickOutsideHandler','setResources','once','_config','isAnyResourceBalloonVisible','closeSourceResourceBalloon'];_0x16be=function(){return _0x35ffe2;};return _0x16be();}import{IconPreviousArrow as _0xd5447d}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x51dac9}from'../../../../aicore/utils/common-translations.js';import{AIChatContextResourcesView as _0x5c675e}from'./aichatcontextresourcesview.js';const Bc=_0x10f4f6(0x14d),mc=_0x10f4f6(0x16a),dc=_0x10f4f6(0x13e);export class AIChatResourcesBalloonView{[_0x10f4f6(0x165)]=new Map();[_0x10f4f6(0x179)];[_0x10f4f6(0x15f)];[_0x10f4f6(0x159)];constructor(_0x22f9cc,_0x4aa5c9,_0x3eb94d){const _0x48fb12=_0x10f4f6;this[_0x48fb12(0x15f)]=_0x22f9cc,this[_0x48fb12(0x179)]=_0x4aa5c9,this[_0x48fb12(0x159)]=_0x3eb94d;}[_0x10f4f6(0x15d)]({source:_0x21a943,withBackButton:_0x53ee54}){const _0xef7c2=_0x10f4f6;let _0x39c4cc=this[_0xef7c2(0x165)][_0xef7c2(0x149)](_0x21a943['id']);_0x39c4cc||(_0x39c4cc=this[_0xef7c2(0x14f)](),this[_0xef7c2(0x165)][_0xef7c2(0x163)](_0x21a943['id'],_0x39c4cc),this[_0xef7c2(0x156)](_0x39c4cc)),this[_0xef7c2(0x177)]({'balloonPanel':_0x39c4cc,'source':_0x21a943,'withBackButton':_0x53ee54}),_0x39c4cc[_0xef7c2(0x15e)]();const _0x3a9f32=this[_0xef7c2(0x159)][_0xef7c2(0x16d)]();_0x3a9f32&&_0x39c4cc[_0xef7c2(0x172)]({'target':_0x3a9f32,'limiter':this[_0xef7c2(0x159)][_0xef7c2(0x13d)]()});}[_0x10f4f6(0x13f)](_0x4df574,_0x56e17c,_0x4ebd4b){const _0x2133f3=_0x10f4f6,_0xf207b2=this[_0x2133f3(0x165)][_0x2133f3(0x149)](_0x4df574);if(!_0xf207b2)return;const _0xb8c2d2=this[_0x2133f3(0x152)](_0xf207b2);_0xb8c2d2&&(_0xb8c2d2[_0x2133f3(0x157)](_0x56e17c,_0x4ebd4b),_0xb8c2d2[_0x2133f3(0x158)](_0x2133f3(0x170),()=>{const _0x592f91=_0x2133f3;_0xf207b2[_0x592f91(0x172)]({'target':this[_0x592f91(0x159)][_0x592f91(0x16d)](),'limiter':this[_0x592f91(0x159)][_0x592f91(0x13d)]()});}));}[_0x10f4f6(0x15b)](_0x4e2b48){const _0x15d976=_0x10f4f6,_0xba17f9=this[_0x15d976(0x165)][_0x15d976(0x149)](_0x4e2b48);_0xba17f9&&requestAnimationFrame(()=>{const _0x4a2377=_0x15d976;_0xba17f9[_0x4a2377(0x16c)](),this[_0x4a2377(0x165)][_0x4a2377(0x176)](_0x4e2b48),this[_0x4a2377(0x159)][_0x4a2377(0x146)]();});}[_0x10f4f6(0x15a)](){const _0x98007=_0x10f4f6;for(const _0x390073 of this[_0x98007(0x165)][_0x98007(0x151)]())if(_0x390073[_0x98007(0x14e)])return!0x0;return!0x1;}[_0x10f4f6(0x16b)](_0x582928,_0x35f9cd,_0x2a8e8a){const _0x40fca5=_0x10f4f6,_0x59186e=this[_0x40fca5(0x165)][_0x40fca5(0x149)](_0x582928);if(!_0x59186e||!_0x59186e[_0x40fca5(0x14e)])return;const _0x1fdc36=this[_0x40fca5(0x159)][_0x40fca5(0x16d)]();if(!_0x1fdc36)return;_0x59186e[_0x40fca5(0x172)]({'target':_0x1fdc36,'limiter':this[_0x40fca5(0x159)][_0x40fca5(0x13d)]()});const _0x468409=this[_0x40fca5(0x152)](_0x59186e);_0x468409&&_0x468409[_0x40fca5(0x16b)](_0x35f9cd,_0x2a8e8a);}[_0x10f4f6(0x155)](){const _0x251376=_0x10f4f6;for(const _0x4a113d of this[_0x251376(0x165)][_0x251376(0x151)]())_0x4a113d[_0x251376(0x155)]();this[_0x251376(0x165)][_0x251376(0x174)]();}[_0x10f4f6(0x14f)](){const _0x5628f8=_0x10f4f6,_0xb81c04=new _0x1d77ae(this[_0x5628f8(0x15f)]);return _0xb81c04[_0x5628f8(0x161)]({'attributes':{'class':Bc}}),this[_0x5628f8(0x179)][_0x5628f8(0x16f)](_0xb81c04),_0xb81c04;}[_0x10f4f6(0x177)]({balloonPanel:_0x5b80df,source:_0x47f00c,withBackButton:_0x181bb6}){const _0x475977=_0x10f4f6;_0x5b80df[_0x475977(0x166)][_0x475977(0x174)]();const _0x3375f2=this[_0x475977(0x178)]({'balloonPanel':_0x5b80df,'source':_0x47f00c,'withBackButton':_0x181bb6});_0x5b80df[_0x475977(0x166)][_0x475977(0x16f)](_0x3375f2);const _0x1c6e5f=this[_0x475977(0x15c)](_0x47f00c);_0x5b80df[_0x475977(0x166)][_0x475977(0x16f)](_0x1c6e5f);}[_0x10f4f6(0x178)]({balloonPanel:_0x3041b0,source:_0x3ee49c,withBackButton:_0x5dd70f}){const _0xd5c663=_0x10f4f6,_0x1cceaa=new _0x1c1459(this[_0xd5c663(0x15f)],{'label':_0x3ee49c[_0xd5c663(0x14c)],'class':dc});return _0x5dd70f&&_0x1cceaa[_0xd5c663(0x147)][_0xd5c663(0x16f)](this[_0xd5c663(0x167)](_0x3041b0),0x0),_0x1cceaa;}[_0x10f4f6(0x167)](_0x2ec993){const _0x1686fd=_0x10f4f6,_0x17fad2=new _0x5cfb19(this[_0x1686fd(0x15f)]);return _0x17fad2[_0x1686fd(0x163)]({'icon':_0xd5447d,'tooltip':_0x51dac9(this[_0x1686fd(0x15f)],_0x1686fd(0x141)),'tooltipPosition':'n','class':mc}),_0x17fad2['on'](_0x1686fd(0x16e),()=>{const _0x157854=_0x1686fd;_0x2ec993[_0x157854(0x16c)](),this[_0x157854(0x159)][_0x157854(0x169)]();}),_0x17fad2;}[_0x10f4f6(0x15c)](_0x3484e4){const _0x39265a=_0x10f4f6,_0x49d8bd=new _0x5c675e(this[_0x39265a(0x15f)],{'source':_0x3484e4,'searchInputVisibleFrom':this[_0x39265a(0x159)][_0x39265a(0x175)]});return _0x49d8bd['on'](_0x39265a(0x153),(_0x502a48,_0x590b99)=>{const _0x336aab=_0x39265a;this[_0x336aab(0x159)][_0x336aab(0x144)](_0x590b99);}),_0x49d8bd['on'](_0x39265a(0x171),(_0x5b0f9d,_0x1bdb75)=>{const _0x5cc1b6=_0x39265a;this[_0x5cc1b6(0x159)][_0x5cc1b6(0x145)](_0x1bdb75[_0x5cc1b6(0x13b)],_0x1bdb75[_0x5cc1b6(0x14a)]),this[_0x5cc1b6(0x15b)](_0x3484e4['id']);}),_0x49d8bd;}[_0x10f4f6(0x152)](_0x167560){const _0x5bf1d5=_0x10f4f6,_0xdb7d93=_0x167560[_0x5bf1d5(0x166)][_0x5bf1d5(0x149)](0x1);return _0xdb7d93 instanceof _0x5c675e?_0xdb7d93:null;}[_0x10f4f6(0x156)](_0x381507){const _0x160500=_0x10f4f6;_0x58149b({'emitter':_0x381507,'contextElements':[_0x381507[_0x160500(0x142)]],'callback':()=>{const _0x56d3a8=_0x160500;_0x381507[_0x56d3a8(0x16c)](),this[_0x56d3a8(0x159)][_0x56d3a8(0x146)]();},'activator':()=>_0x381507[_0x160500(0x14e)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ButtonView as
|
|
23
|
+
import{ButtonView as _0x575da7,IconView as _0xbfad38,LabeledFieldView as _0x311910,createLabeledInputText as _0x1781a3}from'ckeditor5/src/ui.js';import{IconLoupe as _0x257fea,IconCancel as _0x1f681f}from'ckeditor5/src/icons.js';import{getTranslation as _0xa91545}from'../../../../aicore/utils/common-translations.js';export class AIChatContextResourcesSearchInputView extends _0x311910{['iconView'];['resetButtonView'];['_viewConfig'];constructor(_0x8a5dd3){const t=_0x8a5dd3['t'],_0x5aece0={'showResetButton':!0x0,'showIcon':!0x0,'creator':_0x1781a3,'label':_0xa91545(_0x8a5dd3,'AI_CHAT_SEARCH_RESOURCES')};super(_0x8a5dd3,_0x5aece0['creator']),this['label']=_0x5aece0['label'],this['_viewConfig']=_0x5aece0,this['_viewConfig']['showIcon']&&this['_setupSearchIcon'](),this['_viewConfig']['showResetButton']&&this['_setupResetButton'](_0x8a5dd3,t),this['_setupEventListeners']();}['reset'](){this['fieldView']['reset'](),this['_viewConfig']['showResetButton']&&this['resetButtonView']&&(this['resetButtonView']['isVisible']=!0x1),this['search']('');}['search'](_0x485822){this['fire']('search',_0x485822);}['getQuery'](){return this['fieldView']['element']?.['value']||'';}['_setupSearchIcon'](){this['iconView']=new _0xbfad38(),this['iconView']['content']=_0x257fea,this['fieldWrapperChildren']['add'](this['iconView'],0x0),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-icon'}});}['_setupResetButton'](_0x10df40,t){this['resetButtonView']=new _0x575da7(_0x10df40),this['resetButtonView']['set']({'label':t('Clear'),'icon':_0x1f681f,'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',_0x2aeb5c=>!_0x2aeb5c),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 _0x5cae0e=_0x2326;(function(_0x4e2bcc,_0x13c710){const _0x56049b=_0x2326,_0x190304=_0x4e2bcc();while(!![]){try{const _0x4cea90=-parseInt(_0x56049b(0x153))/0x1+-parseInt(_0x56049b(0x142))/0x2*(parseInt(_0x56049b(0x156))/0x3)+-parseInt(_0x56049b(0x14b))/0x4*(parseInt(_0x56049b(0x14a))/0x5)+parseInt(_0x56049b(0x15d))/0x6+parseInt(_0x56049b(0x145))/0x7+parseInt(_0x56049b(0x154))/0x8+-parseInt(_0x56049b(0x15b))/0x9;if(_0x4cea90===_0x13c710)break;else _0x190304['push'](_0x190304['shift']());}catch(_0x5270f5){_0x190304['push'](_0x190304['shift']());}}}(_0x1c58,0x57805));import{View as _0xd0ad50}from'ckeditor5/src/ui.js';import{AIChatContextItemButtonView as _0x5e6b1c}from'../controls/aichatcontextitembuttonview.js';import{AIChatChipsOverflowManager as _0x38d4ca}from'../controls/aichatchipsoverflowmanager.js';const oc=_0x5cae0e(0x157),nc=_0x5cae0e(0x15e),ac=_0x5cae0e(0x144),Xo=_0x5cae0e(0x14e),$o=_0x5cae0e(0x146),Wo=_0x5cae0e(0x149);function _0x2326(_0x28684a,_0x172e2a){const _0x1c5841=_0x1c58();return _0x2326=function(_0x2326dc,_0x3a406d){_0x2326dc=_0x2326dc-0x142;let _0x1baee1=_0x1c5841[_0x2326dc];return _0x1baee1;},_0x2326(_0x28684a,_0x172e2a);}export class AIChatFeedContextChipsView extends _0xd0ad50{[_0x5cae0e(0x147)]=this[_0x5cae0e(0x14d)]();[_0x5cae0e(0x15f)];[_0x5cae0e(0x15a)];constructor(_0x3a6f3b,_0x5d1ebd,_0x26ab2f){const _0x14c479=_0x5cae0e;super(_0x3a6f3b),this[_0x14c479(0x15a)]=_0x26ab2f,this[_0x14c479(0x150)](_0x5d1ebd);const _0xc8208={'cssClasses':{'showMoreButton':$o,'showMoreBalloon':Wo,'overflowContainer':ac,'controlsButton':Xo}};this[_0x14c479(0x15f)]=new _0x38d4ca(_0x3a6f3b,this[_0x14c479(0x147)],_0xc8208,this[_0x14c479(0x15a)],this),this[_0x14c479(0x14c)]({'tag':_0x14c479(0x159),'attributes':{'class':[oc,'ck',_0x14c479(0x158)]},'children':[{'tag':_0x14c479(0x159),'attributes':{'class':nc},'children':this[_0x14c479(0x147)]}]});}[_0x5cae0e(0x155)](){const _0x158817=_0x5cae0e;super[_0x158817(0x155)]();const _0x11b2ba=this[_0x158817(0x14f)][_0x158817(0x152)]('.'+nc);_0x11b2ba&&(this[_0x158817(0x15f)][_0x158817(0x151)](_0x11b2ba),this[_0x158817(0x15f)][_0x158817(0x15c)]());}[_0x5cae0e(0x160)](){const _0x2d73ad=_0x5cae0e;super[_0x2d73ad(0x160)](),this[_0x2d73ad(0x15f)][_0x2d73ad(0x160)]();}[_0x5cae0e(0x150)](_0x1425a2){const _0x3ccc76=_0x5cae0e;for(const _0x444190 of _0x1425a2){const _0x5e07f3=new _0x5e6b1c(this[_0x3ccc76(0x148)],_0x444190,!0x0,!0x1);this[_0x3ccc76(0x147)][_0x3ccc76(0x143)](_0x5e07f3);}}}function _0x1c58(){const _0x12ef64=['ck-ai-chat__feed__context-chips','ck-reset_all','div','_bodyCollection','2594709DVOvIz','reorganizeChips','2516418MrtqLA','ck-ai-chat-context-chips-wrapper','_overflowManager','destroy','8niutwk','add','ck-ai-chat-context-chips-wrapper-balloon','3972178gTTbhK','ck-ai-chat-controls_context_show-more-button','_contextChips','locale','ck-ai-chat-context-controls__show-more-balloon-panel','1056190oIVUrJ','4GCdnKd','setTemplate','createCollection','ck-ai-chat-controls-button','element','_createContextChips','setContainerElement','querySelector','80207BoSrSU','2754704iviZGr','render','294783rYSKty'];_0x1c58=function(){return _0x12ef64;};return _0x1c58();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x37c3(_0x3f6168,_0x555518){var _0x1e414f=_0x1e41();return _0x37c3=function(_0x37c34a,_0x1e2e50){_0x37c34a=_0x37c34a-0xa6;var _0x2a7e39=_0x1e414f[_0x37c34a];return _0x2a7e39;},_0x37c3(_0x3f6168,_0x555518);}var _0x49c90d=_0x37c3;function _0x1e41(){var _0xe0e904=['ck-ai-chat__feed__custom-element','654162kFGShp','3031830IMRjYG','appendChild','extendTemplate','3797856yNXKrS','render','30351510SKStxk','string','content','element','innerHTML','5444490YrvYWP','options','1421392ckZzow','6031494xoSlIv'];_0x1e41=function(){return _0xe0e904;};return _0x1e41();}(function(_0xb66144,_0x1e91aa){var _0x164963=_0x37c3,_0x63165a=_0xb66144();while(!![]){try{var _0x4fbca2=parseInt(_0x164963(0xad))/0x1+-parseInt(_0x164963(0xb0))/0x2+parseInt(_0x164963(0xb1))/0x3+parseInt(_0x164963(0xb4))/0x4+parseInt(_0x164963(0xab))/0x5+parseInt(_0x164963(0xae))/0x6+-parseInt(_0x164963(0xa6))/0x7;if(_0x4fbca2===_0x1e91aa)break;else _0x63165a['push'](_0x63165a['shift']());}catch(_0x517e1e){_0x63165a['push'](_0x63165a['shift']());}}}(_0x1e41,0xc663a));import{AIChatFeedItemView as _0x5e59a1}from'./aichatfeeditemview.js';export class AIChatFeedCustomElementView extends _0x5e59a1{constructor(_0x56f75b){var _0x11e684=_0x37c3;super(_0x56f75b),this[_0x11e684(0xb3)]({'attributes':{'class':[_0x11e684(0xaf)]}});}async[_0x49c90d(0xb5)](){var _0x1591fb=_0x49c90d;super[_0x1591fb(0xb5)](),_0x1591fb(0xa7)==typeof this[_0x1591fb(0xac)][_0x1591fb(0xa8)]?this[_0x1591fb(0xa9)][_0x1591fb(0xaa)]=this[_0x1591fb(0xac)][_0x1591fb(0xa8)]:this[_0x1591fb(0xa9)][_0x1591fb(0xb2)](this[_0x1591fb(0xac)][_0x1591fb(0xa8)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x6d8642=_0x5f4a;(function(_0x5849b5,_0x2920a6){var _0x1922f3=_0x5f4a,_0x417585=_0x5849b5();while(!![]){try{var _0xd06a35=-parseInt(_0x1922f3(0x111))/0x1*(parseInt(_0x1922f3(0x102))/0x2)+parseInt(_0x1922f3(0x10f))/0x3*(-parseInt(_0x1922f3(0x108))/0x4)+parseInt(_0x1922f3(0xfb))/0x5*(-parseInt(_0x1922f3(0x103))/0x6)+parseInt(_0x1922f3(0x100))/0x7+-parseInt(_0x1922f3(0x104))/0x8*(parseInt(_0x1922f3(0x10b))/0x9)+parseInt(_0x1922f3(0x112))/0xa*(parseInt(_0x1922f3(0xfa))/0xb)+-parseInt(_0x1922f3(0xfd))/0xc*(-parseInt(_0x1922f3(0x10e))/0xd);if(_0xd06a35===_0x2920a6)break;else _0x417585['push'](_0x417585['shift']());}catch(_0x4cd60d){_0x417585['push'](_0x417585['shift']());}}}(_0x12a9,0x23d10));import{AIChatFeedItemView as _0x5a1904}from'./aichatfeeditemview.js';export class AIChatFeedErrorItemView extends _0x5a1904{constructor(_0x679828){var _0x2ee66f=_0x5f4a;super(_0x679828),this[_0x2ee66f(0x110)]({'attributes':{'class':[_0x2ee66f(0x101),_0x2ee66f(0xfe)===_0x679828[_0x2ee66f(0x10c)]?_0x2ee66f(0x10a):_0x2ee66f(0xff)]}});}[_0x6d8642(0xf9)](){var _0x4ac170=_0x6d8642;super[_0x4ac170(0xf9)](),this[_0x4ac170(0xfc)](this[_0x4ac170(0x10d)][_0x4ac170(0x106)]),this[_0x4ac170(0x109)]();}[_0x6d8642(0xfc)](_0x1c5786){var _0x256a1e=_0x6d8642;this[_0x256a1e(0x107)][_0x256a1e(0x105)]=_0x1c5786;}}function _0x5f4a(_0x41367e,_0x24eb67){var _0x12a924=_0x12a9();return _0x5f4a=function(_0x5f4a83,_0x5cf547){_0x5f4a83=_0x5f4a83-0xf9;var _0x4efec7=_0x12a924[_0x5f4a83];return _0x4efec7;},_0x5f4a(_0x41367e,_0x24eb67);}function _0x12a9(){var _0x3091e2=['7bokyVZ','280cKxhSN','render','91113LgEyHc','139355wmSGvH','setContent','206652bTSqYP','warning','ck-ai-notification_error','292565OmOlAF','ck-ai-notification','38224SFOTcW','30PQkmnB','1511688twgCvJ','innerHTML','initialContent','element','519528ZZFRzV','markAsDone','ck-ai-notification_warning','9ZEHoki','level','options','351kgCfTg','3qWvGjF','extendTemplate'];_0x12a9=function(){return _0x3091e2;};return _0x12a9();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x529176=_0x44d8;(function(_0x536c5b,_0x91212c){const _0x5d6b6d=_0x44d8,_0x3a4bd2=_0x536c5b();while(!![]){try{const _0x13a7e7=-parseInt(_0x5d6b6d(0x89))/0x1*(parseInt(_0x5d6b6d(0x8e))/0x2)+-parseInt(_0x5d6b6d(0x7f))/0x3+-parseInt(_0x5d6b6d(0x7c))/0x4*(parseInt(_0x5d6b6d(0x93))/0x5)+-parseInt(_0x5d6b6d(0x8d))/0x6+-parseInt(_0x5d6b6d(0x84))/0x7*(parseInt(_0x5d6b6d(0x83))/0x8)+-parseInt(_0x5d6b6d(0x91))/0x9*(-parseInt(_0x5d6b6d(0x8b))/0xa)+parseInt(_0x5d6b6d(0x7b))/0xb*(parseInt(_0x5d6b6d(0x8c))/0xc);if(_0x13a7e7===_0x91212c)break;else _0x3a4bd2['push'](_0x3a4bd2['shift']());}catch(_0x59284f){_0x3a4bd2['push'](_0x3a4bd2['shift']());}}}(_0x2ab3,0x58718));import{IconBulb as _0xf3e4bd,IconWeb as _0xa7ebf8}from'@ckeditor/ckeditor5-icons';import{IconView as _0x443e82,View as _0x3459e7}from'ckeditor5/src/ui.js';function _0x2ab3(){const _0x25a000=['ck-ai-chat__feed__interaction-header','ck-ai-chat__feed__interaction-header__capabilities','106nokpxY','div','74200hwLuXR','96YdijGg','1875996PskVbp','400Sorpfe','setTemplate','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH','126fuTiqi','extendTemplate','980sBhFUI','children','add','capabilities','1999129KinvTk','6196wLgSOu','ck-hidden','span','748611svzOFc','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING','content','push','2468168BvMOTa','7ycLnYd','ck-ai-chat__feed__interaction-header__capabilities__text','AI_CHAT_FEED_REPLY_ITEM_USED_REASONING'];_0x2ab3=function(){return _0x25a000;};return _0x2ab3();}function _0x44d8(_0x5a8223,_0xad4f3f){const _0x2ab3a6=_0x2ab3();return _0x44d8=function(_0x44d8b6,_0x55c474){_0x44d8b6=_0x44d8b6-0x78;let _0x4a71c4=_0x2ab3a6[_0x44d8b6];return _0x4a71c4;},_0x44d8(_0x5a8223,_0xad4f3f);}import{AIChatFeedItemView as _0x2217c5}from'./aichatfeeditemview.js';import{getTranslation as _0x434796}from'../../../aicore/utils/common-translations.js';export class AIChatFeedInteractionHeaderView extends _0x2217c5{[_0x529176(0x7a)];constructor(_0x183afa,_0x5f46e6){const _0x3d11d3=_0x529176;super(_0x5f46e6);const {isWebSearchEnabled:_0x4b42e1,isReasoningEnabled:_0x2b4f8c}=_0x5f46e6[_0x3d11d3(0x7a)],_0x572bb9=[];let _0x375aae='';_0x4b42e1&&_0x2b4f8c?(_0x375aae=_0x434796(_0x183afa,_0x3d11d3(0x80)),_0x572bb9[_0x3d11d3(0x82)](aa(_0xa7ebf8)),_0x572bb9[_0x3d11d3(0x82)](aa(_0xf3e4bd))):_0x4b42e1?(_0x375aae=_0x434796(_0x183afa,_0x3d11d3(0x90)),_0x572bb9[_0x3d11d3(0x82)](aa(_0xa7ebf8))):_0x2b4f8c&&(_0x375aae=_0x434796(_0x183afa,_0x3d11d3(0x86)),_0x572bb9[_0x3d11d3(0x82)](aa(_0xf3e4bd))),this[_0x3d11d3(0x92)]({'attributes':{'class':[_0x3d11d3(0x87),_0x375aae?'':_0x3d11d3(0x7d)]}});const _0x568e96=new _0x3459e7();_0x568e96[_0x3d11d3(0x8f)]({'tag':_0x3d11d3(0x8a),'attributes':{'class':['ck',_0x3d11d3(0x88)]},'children':[..._0x572bb9,{'tag':_0x3d11d3(0x7e),'attributes':{'class':[_0x3d11d3(0x85)]},'children':[_0x375aae]}]}),this[_0x3d11d3(0x78)][_0x3d11d3(0x79)](_0x568e96),this[_0x3d11d3(0x7a)]=_0x5f46e6[_0x3d11d3(0x7a)];}}function aa(_0x294d79){const _0x2407de=_0x529176,_0x547fe4=new _0x443e82();return _0x547fe4[_0x2407de(0x81)]=_0x294d79,_0x547fe4;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x51167a=_0xe194;function _0x122f(){const _0x3b871e=['animation:\x20ck-html-streamer-fade-in\x20.5s','6767999IDSRCM','8978IncHey','removeAttribute','ck-ai-chat__feed__text-item','4951355wtYbfp','ck-ai-chat__feed__item','querySelectorAll','data-id','10gWtKjo','[data-id]','children','isVisible','createCollection','ck-ai-chat__feed__item_done','1257636XCOpul','isDone','7849088jyemQK','9wZftAg','streamIntoElement','2173428ZqipYX','element','markAsDone','stream','ck-hidden','177EUMgYk','div','bindTemplate','set','htmlStreamer','content','cleanUpAnimations','forEach','options','setTemplate','38789531Vyqngg','6pyyEzp'];_0x122f=function(){return _0x3b871e;};return _0x122f();}(function(_0x4364c3,_0x37f259){const _0x14e273=_0xe194,_0x1d2324=_0x4364c3();while(!![]){try{const _0x68d159=-parseInt(_0x14e273(0x208))/0x1*(parseInt(_0x14e273(0x1f1))/0x2)+parseInt(_0x14e273(0x201))/0x3*(parseInt(_0x14e273(0x1fe))/0x4)+parseInt(_0x14e273(0x1f4))/0x5*(-parseInt(_0x14e273(0x1ee))/0x6)+-parseInt(_0x14e273(0x1f0))/0x7+-parseInt(_0x14e273(0x200))/0x8+-parseInt(_0x14e273(0x203))/0x9*(parseInt(_0x14e273(0x1f8))/0xa)+parseInt(_0x14e273(0x1ed))/0xb;if(_0x68d159===_0x37f259)break;else _0x1d2324['push'](_0x1d2324['shift']());}catch(_0x53bf18){_0x1d2324['push'](_0x1d2324['shift']());}}}(_0x122f,0x78e87));import{View as _0x180c6c}from'ckeditor5/src/ui.js';import{HTMLStreamer as _0x7bfa9f}from'../../../aicore/utils/htmlstreamer.js';function _0xe194(_0x5c8535,_0x578fdd){const _0x122f42=_0x122f();return _0xe194=function(_0xe1947d,_0x4d0742){_0xe1947d=_0xe1947d-0x1ed;let _0x1f630d=_0x122f42[_0xe1947d];return _0x1f630d;},_0xe194(_0x5c8535,_0x578fdd);}export class AIChatFeedItemView extends _0x180c6c{[_0x51167a(0x210)];[_0x51167a(0x20d)]='';[_0x51167a(0x20c)];[_0x51167a(0x1fa)];constructor(_0x3a7187){const _0x1cc033=_0x51167a;super();const _0x48209c=this[_0x1cc033(0x20a)];this[_0x1cc033(0x20b)](_0x1cc033(0x1ff),!0x1),this[_0x1cc033(0x20b)](_0x1cc033(0x1fb),!0x0),this[_0x1cc033(0x20c)]=new _0x7bfa9f({'textNodeStyle':_0x1cc033(0x1ef),'delay':0x14}),this[_0x1cc033(0x210)]=_0x3a7187,this[_0x1cc033(0x1fa)]=this[_0x1cc033(0x1fc)](),this[_0x1cc033(0x211)]({'tag':_0x1cc033(0x209),'attributes':{'class':['ck',_0x1cc033(0x1f5),_0x48209c['if'](_0x1cc033(0x1ff),_0x1cc033(0x1fd)),_0x48209c['if'](_0x1cc033(0x1fb),_0x1cc033(0x207),_0x16beea=>!_0x16beea),_0x1cc033(0x1f3)],'data-cke-ai-id':this[_0x1cc033(0x210)]['id']},'children':this[_0x1cc033(0x1fa)]});}[_0x51167a(0x205)](){const _0x34ce34=_0x51167a;this[_0x34ce34(0x20c)][_0x34ce34(0x20e)]({'targetElement':this[_0x34ce34(0x204)]}),this[_0x34ce34(0x204)][_0x34ce34(0x1f6)](_0x34ce34(0x1f9))[_0x34ce34(0x20f)](_0xca2b20=>{const _0x1a6b0d=_0x34ce34;_0xca2b20[_0x1a6b0d(0x1f2)](_0x1a6b0d(0x1f7));}),this[_0x34ce34(0x1ff)]=!0x0;}async[_0x51167a(0x202)](_0x5b5469,_0x4d685f,_0x14829f){const _0x4ea5db=_0x51167a;await this[_0x4ea5db(0x20c)][_0x4ea5db(0x206)]({'document':_0x5b5469,'targetElement':_0x4d685f,'abortSignal':_0x14829f});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x20299e=_0x2866;(function(_0x1bdc62,_0x29fac4){const _0x5720c2=_0x2866,_0x545926=_0x1bdc62();while(!![]){try{const _0x34666c=parseInt(_0x5720c2(0x14e))/0x1*(-parseInt(_0x5720c2(0x14a))/0x2)+-parseInt(_0x5720c2(0x139))/0x3+-parseInt(_0x5720c2(0x146))/0x4+parseInt(_0x5720c2(0x150))/0x5*(-parseInt(_0x5720c2(0x138))/0x6)+-parseInt(_0x5720c2(0x144))/0x7*(-parseInt(_0x5720c2(0x134))/0x8)+parseInt(_0x5720c2(0x13e))/0x9*(-parseInt(_0x5720c2(0x135))/0xa)+parseInt(_0x5720c2(0x145))/0xb;if(_0x34666c===_0x29fac4)break;else _0x545926['push'](_0x545926['shift']());}catch(_0x3d49e1){_0x545926['push'](_0x545926['shift']());}}}(_0x2dc3,0x9670c));import{AIChatFeedItemView as _0x2f4ff8}from'./aichatfeeditemview.js';import{parse as _0x15c486,render as _0xbdc0b2}from'../../../aicore/utils/htmlparser.js';function _0x2866(_0x1c6ff1,_0x5eb1fd){const _0x2dc3b6=_0x2dc3();return _0x2866=function(_0x286648,_0x1fc87a){_0x286648=_0x286648-0x12e;let _0x3ea446=_0x2dc3b6[_0x286648];return _0x3ea446;},_0x2866(_0x1c6ff1,_0x5eb1fd);}import{View as _0x48236f}from'ckeditor5/src/ui.js';import{AIWebSourcesView as _0x436554,AIWebSourceView as _0x3ecf91}from'../../../aicore/ui/suggestioncontainer/aiwebsourcesview.js';export class AIChatFeedReplyItemView extends _0x2f4ff8{[_0x20299e(0x151)];[_0x20299e(0x147)];constructor(_0x42b2be,_0x54eb2e,_0x5cd485){const _0x110d9f=_0x20299e;super(_0x54eb2e),this[_0x110d9f(0x147)]=_0x5cd485,this[_0x110d9f(0x133)]=_0x42b2be,this[_0x110d9f(0x148)]({'attributes':{'class':[_0x110d9f(0x130)]}}),this[_0x110d9f(0x151)]=new _0x48236f(),this[_0x110d9f(0x151)][_0x110d9f(0x141)]({'tag':_0x110d9f(0x149),'attributes':{'class':['ck',_0x110d9f(0x14d),_0x110d9f(0x13f)]}}),this[_0x110d9f(0x14f)][_0x110d9f(0x131)](this[_0x110d9f(0x151)]);}async[_0x20299e(0x13c)](){const _0x32b284=_0x20299e;super[_0x32b284(0x13c)](),this[_0x32b284(0x132)][_0x32b284(0x142)]&&(await this[_0x32b284(0x137)]({'parsedContent':_0x15c486(this[_0x32b284(0x132)][_0x32b284(0x142)]),'renderingStrategy':_0x32b284(0x13a)}),this[_0x32b284(0x152)]());}async[_0x20299e(0x137)]({parsedContent:_0x569a1e,renderingStrategy:_0x2af3d1,abortSignal:_0x58615c}){const _0x2f81e8=_0x20299e;_0x2f81e8(0x14c)===_0x2af3d1?await this[_0x2f81e8(0x13d)](_0x569a1e,this[_0x2f81e8(0x151)][_0x2f81e8(0x14b)],_0x58615c):this[_0x2f81e8(0x151)][_0x2f81e8(0x14b)][_0x2f81e8(0x143)]=_0xbdc0b2(_0x569a1e);}[_0x20299e(0x140)](_0x5bd204){const _0x506d52=_0x20299e,_0x7c0255=new _0x436554(this[_0x506d52(0x133)],this[_0x506d52(0x147)]);_0x7c0255[_0x506d52(0x14f)][_0x506d52(0x136)](_0x5bd204[_0x506d52(0x12f)](_0x3d0878=>new _0x3ecf91(this[_0x506d52(0x133)],_0x3d0878,_0x7c0255[_0x506d52(0x13b)]))),_0x7c0255[_0x506d52(0x12e)]=!0x0,this[_0x506d52(0x14f)][_0x506d52(0x131)](_0x7c0255);}}function _0x2dc3(){const _0x2e34fb=['275424fIFPrP','2680tiDdJg','addMany','updateContent','218634LWmcvu','2397462GcMYRh','static','balloonPanelView','render','streamIntoElement','24903jxXNKB','ck-ai-chat__feed__ai-reply-container','updateSources','setTemplate','initialContent','innerHTML','70cEjLnK','36565122VmnUxn','551568UzHcUz','_bodyCollection','extendTemplate','div','2HRNszR','element','streaming','ck-reset_all-excluded','426162FAMQMB','children','130LZSUJY','replyContainer','markAsDone','isVisible','map','ck-ai-chat__feed__ai-reply','add','options','locale'];_0x2dc3=function(){return _0x2e34fb;};return _0x2dc3();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5046f2=_0x4d45;(function(_0x40ba0c,_0x2d8cbd){const _0x18f6e8=_0x4d45,_0x235cc6=_0x40ba0c();while(!![]){try{const _0x24abe8=-parseInt(_0x18f6e8(0x200))/0x1*(-parseInt(_0x18f6e8(0x220))/0x2)+parseInt(_0x18f6e8(0x1ff))/0x3*(-parseInt(_0x18f6e8(0x1fc))/0x4)+parseInt(_0x18f6e8(0x203))/0x5*(-parseInt(_0x18f6e8(0x20b))/0x6)+-parseInt(_0x18f6e8(0x210))/0x7+parseInt(_0x18f6e8(0x213))/0x8*(parseInt(_0x18f6e8(0x217))/0x9)+parseInt(_0x18f6e8(0x20d))/0xa*(parseInt(_0x18f6e8(0x21f))/0xb)+-parseInt(_0x18f6e8(0x21c))/0xc;if(_0x24abe8===_0x2d8cbd)break;else _0x235cc6['push'](_0x235cc6['shift']());}catch(_0x3287d6){_0x235cc6['push'](_0x235cc6['shift']());}}}(_0x1eb9,0x7ecaa));function _0x4d45(_0xd53f88,_0x45ba9b){const _0x1eb9d0=_0x1eb9();return _0x4d45=function(_0x4d4552,_0x77f936){_0x4d4552=_0x4d4552-0x1f4;let _0x494c18=_0x1eb9d0[_0x4d4552];return _0x494c18;},_0x4d45(_0xd53f88,_0x45ba9b);}import{ButtonView as _0x559254,View as _0x5246dc}from'ckeditor5/src/ui.js';import{getTranslation as _0x215ed9}from'../../../aicore/utils/common-translations.js';import{IconInfo as _0x3a580f}from'ckeditor5/src/icons.js';export const AI_REPLY_ACTIONS=[_0x5046f2(0x205),_0x5046f2(0x20c)];function _0x1eb9(){const _0x26110c=['1451576xlwwXz','button','div','8gpRUYu','AI_SUGGESTION_DISABLED_FEED_MESSAGE','add','_switchButtonLabelsPlurality','394344OgivCk','label','ck-ai-button-primary','AI_CHAT_SUGGESTION_ACTION_SUGGEST','fire','730548EZUTuN','includes','ck-hidden','631411tEnahk','28666vjABnA','_insertSuggestionsButton','bindTemplate','ck-ai-chat__feed__suggestion__actions__info','locale','AI_SUGGESTION_DISABLED_TOOLTIP_MESSAGE','change:isTrackChangesOn','bind','isTrackChangesOn','createCollection','children','execute','isEnabled','340892rqVwji','setTemplate','forEach','3PKnhcz','19xMxRMX','AI_CHAT_SUGGESTION_ACTION_SUGGEST_ALL','updateVisibility','9835jTLXXn','addMany','applySuggestion','set','AI_CHAT_SUGGESTION_ACTION_APPLY','ck-ai-button-secondary','isVisible','ck-ai-chat__feed__ai-suggestion__actions','228faOjxI','insertSuggestion','110tAHllu','_applyChangesButton','AI_CHAT_SUGGESTION_ACTION_APPLY_ALL'];_0x1eb9=function(){return _0x26110c;};return _0x1eb9();}export class AIChatFeedSuggestionItemActionsView extends _0x5246dc{[_0x5046f2(0x20e)];[_0x5046f2(0x221)];[_0x5046f2(0x1f9)];constructor(_0x151604,_0x92ffeb=[...AI_REPLY_ACTIONS],_0x55bc61){const _0x288744=_0x5046f2;super(_0x151604);const _0xac239b=this[_0x288744(0x222)],_0x52ca35=Boolean(_0x55bc61);if(this[_0x288744(0x206)](_0x288744(0x1fb),!_0x52ca35),this[_0x288744(0x206)](_0x288744(0x209),!0x1),this[_0x288744(0x206)](_0x288744(0x1f7),!0x1),this[_0x288744(0x1f9)]=this[_0x288744(0x1f8)](),_0x52ca35){const _0x5dd74e=new _0x559254(_0x151604);_0x5dd74e[_0x288744(0x206)]({'label':_0x215ed9(_0x151604,_0x288744(0x1f4)),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x3a580f});const _0x1094a2=new _0x5246dc(_0x151604);_0x1094a2[_0x288744(0x1fd)]({'tag':_0x288744(0x212),'attributes':{'class':_0x288744(0x223)},'children':[{'tag':'p','children':[_0x215ed9(_0x151604,_0x288744(0x214)),_0x5dd74e]}]}),this[_0x288744(0x1f9)][_0x288744(0x215)](_0x1094a2);}else this[_0x288744(0x20e)]=new _0x559254(_0x151604),this[_0x288744(0x20e)][_0x288744(0x206)]({'label':_0x215ed9(_0x151604,_0x288744(0x20f)),'withText':!0x0,'type':_0x288744(0x211),'isVisible':_0x92ffeb[_0x288744(0x21d)](_0x288744(0x205)),'class':_0x288744(0x219)}),this[_0x288744(0x221)]=new _0x559254(_0x151604),this[_0x288744(0x221)][_0x288744(0x206)]({'label':_0x215ed9(_0x151604,_0x288744(0x201)),'withText':!0x0,'type':_0x288744(0x211),'isVisible':_0x92ffeb[_0x288744(0x21d)](_0x288744(0x20c)),'class':_0x288744(0x208)}),this[_0x288744(0x221)]['on'](_0x288744(0x1fa),()=>{const _0x2e71b3=_0x288744;this[_0x2e71b3(0x21b)](_0x2e71b3(0x20c));}),this[_0x288744(0x20e)]['on'](_0x288744(0x1fa),()=>{const _0x414cf3=_0x288744;this[_0x414cf3(0x21b)](_0x414cf3(0x205));}),[this[_0x288744(0x20e)],this[_0x288744(0x221)]][_0x288744(0x1fe)](_0x3aee30=>{const _0x19ef04=_0x288744;_0x3aee30[_0x19ef04(0x1f6)](_0x19ef04(0x1fb))['to'](this);}),this[_0x288744(0x1f9)][_0x288744(0x204)]([this[_0x288744(0x20e)],this[_0x288744(0x221)]]);this[_0x288744(0x1fd)]({'tag':_0x288744(0x212),'attributes':{'class':['ck',_0x288744(0x20a),_0xac239b['if'](_0x288744(0x209),_0x288744(0x21e),_0x1d80bb=>!_0x1d80bb)]},'children':this[_0x288744(0x1f9)]}),this['on'](_0x288744(0x1f5),()=>{const _0x49ae3a=_0x288744;this[_0x49ae3a(0x20e)]&&(this[_0x49ae3a(0x20e)][_0x49ae3a(0x209)]=!this[_0x49ae3a(0x1f7)]);});}[_0x5046f2(0x202)](_0x4268b9){const _0x28e66d=_0x5046f2;this[_0x28e66d(0x209)]=_0x4268b9;}[_0x5046f2(0x216)](_0x521cbf){const _0x537635=_0x5046f2;this[_0x537635(0x20e)]&&this[_0x537635(0x221)]&&(_0x521cbf?(this[_0x537635(0x20e)][_0x537635(0x218)]=_0x215ed9(this[_0x537635(0x224)],_0x537635(0x20f)),this[_0x537635(0x221)][_0x537635(0x218)]=_0x215ed9(this[_0x537635(0x224)],_0x537635(0x201))):(this[_0x537635(0x20e)][_0x537635(0x218)]=_0x215ed9(this[_0x537635(0x224)],_0x537635(0x207)),this[_0x537635(0x221)][_0x537635(0x218)]=_0x215ed9(this[_0x537635(0x224)],_0x537635(0x21a))));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0xf302(){var _0x5127e5=['updateSources','availableActions','areActionsDisabled','bind','insertSuggestion','ck-ai-chat__feed__ai-suggestion','containerView','526407cFazFa','setPartActive','bodyView','isTrackChangesOn','applySuggestion','updatePartState','markAsDone','set','children','mouseOverSuggestion','2264240zEujsk','1175DlQHTM','showChangeInText','options','addMany','getPartView','dislike','1002kOjZVQ','showDiff','24212AraRPY','2KfSJpa','like','rejectSuggestion','mouseLeaveSuggestion','fire','562095AIUhqC','updateContent','3930246ANEzxC','1173276MDoHRw','toggleSuggestionDisplayMode','extendTemplate'];_0xf302=function(){return _0x5127e5;};return _0xf302();}var _0x4f4661=_0x5e75;(function(_0x109a74,_0x322b76){var _0x166b7e=_0x5e75,_0x4c9046=_0x109a74();while(!![]){try{var _0x23b548=parseInt(_0x166b7e(0x1de))/0x1*(-parseInt(_0x166b7e(0x1df))/0x2)+parseInt(_0x166b7e(0x1e4))/0x3+parseInt(_0x166b7e(0x1e7))/0x4+-parseInt(_0x166b7e(0x1fc))/0x5*(parseInt(_0x166b7e(0x1dc))/0x6)+-parseInt(_0x166b7e(0x1f1))/0x7+parseInt(_0x166b7e(0x1fb))/0x8+-parseInt(_0x166b7e(0x1e6))/0x9;if(_0x23b548===_0x322b76)break;else _0x4c9046['push'](_0x4c9046['shift']());}catch(_0x74457c){_0x4c9046['push'](_0x4c9046['shift']());}}}(_0xf302,0x2dfca));function _0x5e75(_0x420e15,_0x5d66fd){var _0xf30229=_0xf302();return _0x5e75=function(_0x5e75f7,_0x39bed4){_0x5e75f7=_0x5e75f7-0x1db;var _0x5b47d7=_0xf30229[_0x5e75f7];return _0x5b47d7;},_0x5e75(_0x420e15,_0x5d66fd);}import{AIChatFeedItemView as _0x20710d}from'./aichatfeeditemview.js';import{AISuggestionContainerView as _0x1a7a2a}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';export class AIChatFeedSuggestionItemView extends _0x20710d{[_0x4f4661(0x1f0)];constructor(_0xcc173,_0x1b5fa0,_0xca113){var _0x546383=_0x4f4661;super(_0x1b5fa0),this[_0x546383(0x1f8)](_0x546383(0x1f4),!0x1),this[_0x546383(0x1f0)]=new _0x1a7a2a(_0xcc173,{'showDiff':_0x1b5fa0[_0x546383(0x1dd)],'areActionsDisabled':_0x1b5fa0[_0x546383(0x1ec)],'availableActions':_0x1b5fa0[_0x546383(0x1eb)]},_0xca113),this[_0x546383(0x1f0)]['on'](_0x546383(0x1e8),(_0x4c36a8,_0x2427e2)=>{var _0x204530=_0x546383;this[_0x204530(0x1e3)](_0x204530(0x1e8),{'replyId':this[_0x204530(0x1fe)]['id'],'showDiff':_0x2427e2[_0x204530(0x1dd)]});}),this[_0x546383(0x1f0)][_0x546383(0x1ed)](_0x546383(0x1f4))['to'](this),this[_0x546383(0x1f0)]['on'](_0x546383(0x1e0),()=>{var _0x2f3818=_0x546383;this[_0x2f3818(0x1e3)](_0x2f3818(0x1e0),{'replyId':this[_0x2f3818(0x1fe)]['id']});}),this[_0x546383(0x1f0)]['on'](_0x546383(0x1db),()=>{var _0x5074a0=_0x546383;this[_0x5074a0(0x1e3)](_0x5074a0(0x1db),{'replyId':this[_0x5074a0(0x1fe)]['id']});}),this[_0x546383(0x1f0)]['on'](_0x546383(0x1fd),(_0xcdc100,{index:_0x496fb9})=>{var _0x4a5413=_0x546383;this[_0x4a5413(0x1e3)](_0x4a5413(0x1fd),{'replyId':this[_0x4a5413(0x1fe)]['id'],'partIndex':_0x496fb9});}),this[_0x546383(0x1f0)]['on'](_0x546383(0x1f5),(_0x530a8d,{index:_0x20309f}={})=>{var _0x281c51=_0x546383;this[_0x281c51(0x1e3)](_0x281c51(0x1f5),{'replyId':this[_0x281c51(0x1fe)]['id'],'partIndex':_0x20309f});}),this[_0x546383(0x1f0)]['on'](_0x546383(0x1ee),(_0x26f4ab,{index:_0x38b220}={})=>{var _0x2ac0bc=_0x546383;this[_0x2ac0bc(0x1e3)](_0x2ac0bc(0x1ee),{'replyId':this[_0x2ac0bc(0x1fe)]['id'],'partIndex':_0x38b220});}),this[_0x546383(0x1f0)]['on'](_0x546383(0x1e1),(_0x38b1f8,{index:_0x16f4e1})=>{var _0x57389f=_0x546383;this[_0x57389f(0x1e3)](_0x57389f(0x1e1),{'replyId':this[_0x57389f(0x1fe)]['id'],'partIndex':_0x16f4e1});}),this[_0x546383(0x1f0)]['on'](_0x546383(0x1fa),(_0x10c464,{index:_0x409c11})=>{var _0x147d9a=_0x546383;this[_0x147d9a(0x1e3)](_0x147d9a(0x1fa),{'replyId':this[_0x147d9a(0x1fe)]['id'],'partIndex':_0x409c11});}),this[_0x546383(0x1f0)]['on'](_0x546383(0x1e2),(_0x4b5bc8,{index:_0x4a0e50})=>{var _0x24045a=_0x546383;this[_0x24045a(0x1e3)](_0x24045a(0x1e2),{'replyId':this[_0x24045a(0x1fe)]['id'],'partIndex':_0x4a0e50});}),this[_0x546383(0x1f9)][_0x546383(0x1ff)]([this[_0x546383(0x1f0)]]),this[_0x546383(0x1e9)]({'attributes':{'class':[_0x546383(0x1ef)]}});}async[_0x4f4661(0x1e5)](_0x371348){var _0x53f09d=_0x4f4661;await this[_0x53f09d(0x1f0)][_0x53f09d(0x1e5)](_0x371348);}[_0x4f4661(0x1f6)](_0x44d06a,_0x50621e){var _0x31de93=_0x4f4661;this[_0x31de93(0x1f0)][_0x31de93(0x1f3)][_0x31de93(0x1f6)](_0x44d06a,_0x50621e);}[_0x4f4661(0x1f2)](_0x259611,_0x515499){var _0x3695ad=_0x4f4661;!0x1===_0x259611?this[_0x3695ad(0x1f0)][_0x3695ad(0x1f3)][_0x3695ad(0x1f2)](!0x1):this[_0x3695ad(0x1f0)][_0x3695ad(0x1f3)][_0x3695ad(0x1f2)](_0x259611,_0x515499);}[_0x4f4661(0x1ea)](_0x2371ec){var _0x53db15=_0x4f4661;this[_0x53db15(0x1f0)][_0x53db15(0x1ea)](_0x2371ec);}[_0x4f4661(0x200)](_0x39081c){var _0x184019=_0x4f4661;return this[_0x184019(0x1f0)][_0x184019(0x1f3)][_0x184019(0x200)](_0x39081c);}[_0x4f4661(0x1f7)](){var _0x5f77b2=_0x4f4661;super[_0x5f77b2(0x1f7)](),this[_0x5f77b2(0x1f0)][_0x5f77b2(0x1f7)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x47b637=_0x164f;(function(_0x128a11,_0x39b9d9){var _0x3230ad=_0x164f,_0x1970dc=_0x128a11();while(!![]){try{var _0x4f749d=parseInt(_0x3230ad(0x159))/0x1*(parseInt(_0x3230ad(0x15c))/0x2)+parseInt(_0x3230ad(0x166))/0x3+-parseInt(_0x3230ad(0x15a))/0x4+parseInt(_0x3230ad(0x152))/0x5*(parseInt(_0x3230ad(0x16c))/0x6)+-parseInt(_0x3230ad(0x167))/0x7*(-parseInt(_0x3230ad(0x169))/0x8)+-parseInt(_0x3230ad(0x174))/0x9*(parseInt(_0x3230ad(0x16d))/0xa)+-parseInt(_0x3230ad(0x15e))/0xb*(parseInt(_0x3230ad(0x15d))/0xc);if(_0x4f749d===_0x39b9d9)break;else _0x1970dc['push'](_0x1970dc['shift']());}catch(_0x33bd01){_0x1970dc['push'](_0x1970dc['shift']());}}}(_0x1adf,0x86087));function _0x1adf(){var _0x49fb1e=['_createContextChipsView','348ORuhPz','123580qiRCjT','length','innerHTML','_messageContentView','extendTemplate','ck-ai-chat__feed__message-content','_createMessageContentView','558cvXFNe','div','65590Pwsswn','setTemplate','_locale','contextItems','render','_bodyCollection','ck-ai-chat__feed__user-message','2exkVHQ','2785284iKUDzo','element','551342DXgemq','12638424DxTcDo','11DRkuBp','markAsDone','initialContent','hidden','ck-ai-chat__feed__context-chips','add','children','_contextChipsView','2245899rGYJBj','21cYJuqP','filter','2677064cJVovV','options'];_0x1adf=function(){return _0x49fb1e;};return _0x1adf();}function _0x164f(_0x562a56,_0x18243d){var _0x1adfce=_0x1adf();return _0x164f=function(_0x164f83,_0xaf07cb){_0x164f83=_0x164f83-0x152;var _0x32baa4=_0x1adfce[_0x164f83];return _0x32baa4;},_0x164f(_0x562a56,_0x18243d);}import{AIChatFeedItemView as _0x242b5a}from'./aichatfeeditemview.js';import{AIChatFeedContextChipsView as _0x269305}from'./aichatfeedcontextchipsview.js';import{View as _0x13dd95}from'ckeditor5/src/ui.js';export class AIChatFeedUserMessageItemView extends _0x242b5a{[_0x47b637(0x165)]=null;[_0x47b637(0x154)];[_0x47b637(0x157)];[_0x47b637(0x170)];constructor(_0x374d96,_0x446106,_0x10133c){var _0xc1b23b=_0x47b637;super(_0x446106),this[_0xc1b23b(0x154)]=_0x374d96,this[_0xc1b23b(0x157)]=_0x10133c,this[_0xc1b23b(0x16b)](),this[_0xc1b23b(0x173)](),this[_0xc1b23b(0x171)]({'attributes':{'class':[_0xc1b23b(0x158)]}});}[_0x47b637(0x16b)](){var _0x35702b=_0x47b637;this[_0x35702b(0x16a)][_0x35702b(0x155)]&&this[_0x35702b(0x16a)][_0x35702b(0x155)][_0x35702b(0x16e)]>0x0&&(this[_0x35702b(0x165)]=new _0x269305(this[_0x35702b(0x154)],this[_0x35702b(0x16a)][_0x35702b(0x155)][_0x35702b(0x168)](_0x2b6169=>!_0x2b6169[_0x35702b(0x161)]),this[_0x35702b(0x157)]),this[_0x35702b(0x165)][_0x35702b(0x171)]({'attributes':{'class':_0x35702b(0x162)}}),this[_0x35702b(0x164)][_0x35702b(0x163)](this[_0x35702b(0x165)]));}[_0x47b637(0x173)](){var _0x582978=_0x47b637;this[_0x582978(0x170)]=new _0x13dd95(this[_0x582978(0x154)]),this[_0x582978(0x170)][_0x582978(0x153)]({'tag':_0x582978(0x175),'attributes':{'class':_0x582978(0x172)}}),this[_0x582978(0x164)][_0x582978(0x163)](this[_0x582978(0x170)]);}[_0x47b637(0x156)](){var _0x7e04d7=_0x47b637;super[_0x7e04d7(0x156)](),this[_0x7e04d7(0x170)][_0x7e04d7(0x15b)][_0x7e04d7(0x16f)]=this[_0x7e04d7(0x16a)][_0x7e04d7(0x160)],this[_0x7e04d7(0x15f)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x56e158=_0x353a;function _0x2525(){const _0x151889=['startConversation','toggleWebSearch','476oGqghg','removeContextItem','243099VIhWwi','42554180TVLUJX','1337070AtouTJ','executeCustomItemCallback','200UBBesw','addUrlToContext','2246664CssMCO','abortPromptStream','addFileToContext','sendUserMessage','addResourceToContext','addDocumentToContext','loadSourceResources','158552FgFmJV','130ZTIQSX','7572ZmKVJg','selectModel','resizeTabs','toggleReasoning','254832JpbJlM'];_0x2525=function(){return _0x151889;};return _0x2525();}(function(_0x471300,_0xe645ab){const _0xfde2b3=_0x353a,_0x2fd51f=_0x471300();while(!![]){try{const _0x265610=-parseInt(_0xfde2b3(0x1fb))/0x1+-parseInt(_0xfde2b3(0x206))/0x2+-parseInt(_0xfde2b3(0x202))/0x3+parseInt(_0xfde2b3(0x1f5))/0x4*(-parseInt(_0xfde2b3(0x1f6))/0x5)+-parseInt(_0xfde2b3(0x1f7))/0x6*(parseInt(_0xfde2b3(0x1fe))/0x7)+parseInt(_0xfde2b3(0x204))/0x8*(-parseInt(_0xfde2b3(0x200))/0x9)+parseInt(_0xfde2b3(0x201))/0xa;if(_0x265610===_0xe645ab)break;else _0x2fd51f['push'](_0x2fd51f['shift']());}catch(_0x544495){_0x2fd51f['push'](_0x2fd51f['shift']());}}}(_0x2525,0x9c38d));function _0x353a(_0xfbd809,_0xa83462){const _0x252551=_0x2525();return _0x353a=function(_0x353afc,_0x419200){_0x353afc=_0x353afc-0x1f0;let _0x31a12c=_0x252551[_0x353afc];return _0x31a12c;},_0x353a(_0xfbd809,_0xa83462);}import{AI_SUGGESTION_UI_EVENT_NAMES as _0x36fe62}from'../../aicore/utils/eventnames.js';export const AI_CHAT_UI_EVENT_NAMES=[..._0x36fe62,_0x56e158(0x1fc),_0x56e158(0x1f9),_0x56e158(0x1f1),_0x56e158(0x207),_0x56e158(0x1f3),_0x56e158(0x1f0),_0x56e158(0x205),_0x56e158(0x203),_0x56e158(0x1f2),_0x56e158(0x1ff),_0x56e158(0x1f4),_0x56e158(0x1fd),_0x56e158(0x1fa),_0x56e158(0x1f8)];
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5c45d4=_0x51c7;function _0x2b33(){const _0x47a5b7=['queue','resolve','_processQueue','1017147XtOhoR','8468663SGGpCr','shift','reject','createTask','9122028sYgcab','1500dwKVWC','14KsGxOh','_queueEmpty','isProcessing','signal','completePromise','164367TlVZHh','push','fire','_abortController','enqueue','length','callback','queueEmptyPromise','3828615SRtMwm','abort','once','67175unQlvJ','11193608RjATnt','4qnVpbI'];_0x2b33=function(){return _0x47a5b7;};return _0x2b33();}function _0x51c7(_0x467ad1,_0x10bc75){const _0x2b33e6=_0x2b33();return _0x51c7=function(_0x51c7f9,_0x52da3d){_0x51c7f9=_0x51c7f9-0xc3;let _0x317e30=_0x2b33e6[_0x51c7f9];return _0x317e30;},_0x51c7(_0x467ad1,_0x10bc75);}(function(_0x9b4351,_0x41c480){const _0x1370da=_0x51c7,_0x2e0382=_0x9b4351();while(!![]){try{const _0x54bd8d=-parseInt(_0x1370da(0xd2))/0x1*(-parseInt(_0x1370da(0xdf))/0x2)+parseInt(_0x1370da(0xd8))/0x3*(-parseInt(_0x1370da(0xd4))/0x4)+-parseInt(_0x1370da(0xcf))/0x5+-parseInt(_0x1370da(0xdd))/0x6+-parseInt(_0x1370da(0xd9))/0x7+parseInt(_0x1370da(0xd3))/0x8+-parseInt(_0x1370da(0xc7))/0x9*(-parseInt(_0x1370da(0xde))/0xa);if(_0x54bd8d===_0x41c480)break;else _0x2e0382['push'](_0x2e0382['shift']());}catch(_0x1530af){_0x2e0382['push'](_0x2e0382['shift']());}}}(_0x2b33,0xbcf45));import{EmitterMixin as _0x337eaa}from'ckeditor5/src/utils.js';export class PromiseQueue extends _0x337eaa(){[_0x5c45d4(0xd5)]=[];[_0x5c45d4(0xc4)]=!0x1;[_0x5c45d4(0xca)];async[_0x5c45d4(0xcb)](_0x50667b){const _0x1f3f43=_0x5c45d4,_0x2e718e=this[_0x1f3f43(0xdc)](_0x50667b);return this[_0x1f3f43(0xd5)][_0x1f3f43(0xc8)](_0x2e718e),this[_0x1f3f43(0xd7)](),_0x2e718e[_0x1f3f43(0xc6)];}[_0x5c45d4(0xd0)](){const _0x4b9f27=_0x5c45d4;this[_0x4b9f27(0xc4)]&&(this[_0x4b9f27(0xca)][_0x4b9f27(0xd0)](),this[_0x4b9f27(0xca)]=void 0x0,this[_0x4b9f27(0xd5)]=[],this[_0x4b9f27(0xc9)](_0x4b9f27(0xc3)),this[_0x4b9f27(0xc4)]=!0x1);}get[_0x5c45d4(0xce)](){const _0x2cf956=_0x5c45d4;return this[_0x2cf956(0xd5)][_0x2cf956(0xcc)]||this[_0x2cf956(0xc4)]?new Promise(_0x43520e=>{const _0x1b5602=_0x2cf956;this[_0x1b5602(0xd1)](_0x1b5602(0xc3),()=>{_0x43520e();});}):Promise[_0x2cf956(0xd6)]();}async[_0x5c45d4(0xd7)](){const _0x5c5f50=_0x5c45d4;if(!this[_0x5c5f50(0xc4)]){this[_0x5c5f50(0xca)]=new AbortController(),this[_0x5c5f50(0xc4)]=!0x0;try{for(;this[_0x5c5f50(0xd5)][_0x5c5f50(0xcc)]&&this[_0x5c5f50(0xc4)];){const _0x416c6f=this[_0x5c5f50(0xd5)][_0x5c5f50(0xda)]();try{await _0x416c6f[_0x5c5f50(0xcd)](this[_0x5c5f50(0xca)][_0x5c5f50(0xc5)]),_0x416c6f[_0x5c5f50(0xd6)]();}catch(_0x3609e1){_0x416c6f[_0x5c5f50(0xdb)](_0x3609e1);}}}finally{this[_0x5c5f50(0xc4)]=!0x1,this[_0x5c5f50(0xca)]=void 0x0;}this[_0x5c5f50(0xc9)](_0x5c5f50(0xc3));}}[_0x5c45d4(0xdc)](_0x37894e){let _0x5e2860,_0x711be3;const _0x5aec2f=new Promise((_0x22b628,_0x3e2d98)=>{_0x5e2860=_0x22b628,_0x711be3=_0x3e2d98;});return{'callback':_0x37894e,'resolve':_0x5e2860,'reject':_0x711be3,'completePromise':_0x5aec2f};}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x2aec7c=_0x2d81;(function(_0x7e7da4,_0x159984){var _0x34abfb=_0x2d81,_0x4f6f98=_0x7e7da4();while(!![]){try{var _0x5427dc=parseInt(_0x34abfb(0x17e))/0x1*(-parseInt(_0x34abfb(0x17d))/0x2)+-parseInt(_0x34abfb(0x183))/0x3*(-parseInt(_0x34abfb(0x182))/0x4)+-parseInt(_0x34abfb(0x18b))/0x5*(parseInt(_0x34abfb(0x184))/0x6)+-parseInt(_0x34abfb(0x186))/0x7+parseInt(_0x34abfb(0x18c))/0x8*(-parseInt(_0x34abfb(0x185))/0x9)+parseInt(_0x34abfb(0x17f))/0xa+parseInt(_0x34abfb(0x18d))/0xb*(parseInt(_0x34abfb(0x188))/0xc);if(_0x5427dc===_0x159984)break;else _0x4f6f98['push'](_0x4f6f98['shift']());}catch(_0x18192a){_0x4f6f98['push'](_0x4f6f98['shift']());}}}(_0x4867,0x6541d));import{ContextPlugin as _0x530c8d}from'ckeditor5/src/core.js';function _0x2d81(_0x558911,_0x181595){var _0x48679c=_0x4867();return _0x2d81=function(_0x2d8194,_0x390ca5){_0x2d8194=_0x2d8194-0x17d;var _0x1598a2=_0x48679c[_0x2d8194];return _0x1598a2;},_0x2d81(_0x558911,_0x181595);}function _0x4867(){var _0xdd3091=['5wDFfuK','8WgVIap','3233494zfQPJl','2GZONec','198673gKyXkL','3305780DSIane','requires','AIChatHistory','4284qCcVEw','1461JEaHKi','2584500YpNlGP','318447rSTQAX','4581234eLlDKA','pluginName','36uNqqto','isPremiumPlugin','isOfficialPlugin'];_0x4867=function(){return _0xdd3091;};return _0x4867();}import{AIChatHistoryController as _0x14e347}from'./aichathistorycontroller.js';import{AIChatHistoryUI as _0x3318c3}from'./aichathistoryui.js';export{AIChatHistoryItem}from'./model/aichathistoryitem.js';export class AIChatHistory extends _0x530c8d{static get[_0x2aec7c(0x180)](){return[_0x14e347,_0x3318c3];}static get[_0x2aec7c(0x187)](){var _0x571dfe=_0x2aec7c;return _0x571dfe(0x181);}static get[_0x2aec7c(0x18a)](){return!0x0;}static get[_0x2aec7c(0x189)](){return!0x0;}}
|