@ckeditor/ckeditor5-ai 47.6.0 → 47.6.1-alpha.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.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 _0x42f923=_0x2252;(function(_0x274018,_0x51789e){const _0x47a64b=_0x2252,_0x505ce9=_0x274018();while(!![]){try{const _0x46214c=-parseInt(_0x47a64b(0xcc))/0x1*(-parseInt(_0x47a64b(0xca))/0x2)+parseInt(_0x47a64b(0xc1))/0x3+-parseInt(_0x47a64b(0xd7))/0x4+parseInt(_0x47a64b(0xd4))/0x5*(-parseInt(_0x47a64b(0xbb))/0x6)+-parseInt(_0x47a64b(0xc8))/0x7*(-parseInt(_0x47a64b(0xb4))/0x8)+-parseInt(_0x47a64b(0xc4))/0x9+parseInt(_0x47a64b(0xb5))/0xa;if(_0x46214c===_0x51789e)break;else _0x505ce9['push'](_0x505ce9['shift']());}catch(_0xfd40d0){_0x505ce9['push'](_0x505ce9['shift']());}}}(_0x1418,0x40dc3));function _0x1418(){const _0xded11c=['div','_latestLoadResourcesUid','1051596OzXTzk','loadResources','locale','children','bindTemplate','add','updateResourceState','_source','ck-ai-chat-resources','highlightText','source','_searchSection','set','aiChatResources','length','1497016NUamdf','7665100LvhSpr','addResourceToContext','searchInputVisibleFrom','render','_skeletonLoader','fire','2370ElgCFl','ck\x20ck-search','loadSourceResources','_createSearchView','_createSearchSection','setResources','1407522rUhztQ','delegate','_resourcesListView','4329216UqwbeO','ck-hidden','_searchView','search','7Ihefnp','_createSkeletonView','2XMdNin','useDefaultFiltering','42214zkGUww','getQuery','has','isLoading','_searchInputVisibleFrom','extendTemplate','_createResourcesListView','setTemplate','5765zFyuxJ'];_0x1418=function(){return _0xded11c;};return _0x1418();}import{View as _0x42978f,ViewCollection as _0x567d0a}from'ckeditor5/src/ui.js';import{uid as _0x9b5aab}from'ckeditor5/src/utils.js';function _0x2252(_0x1e7e9d,_0x43d7ba){const _0x141850=_0x1418();return _0x2252=function(_0x2252f8,_0x48beb8){_0x2252f8=_0x2252f8-0xb2;let _0x3f1da5=_0x141850[_0x2252f8];return _0x3f1da5;},_0x2252(_0x1e7e9d,_0x43d7ba);}import{AIChatContextResourcesListView as _0x3c045d}from'./aichatcontextresourceslistview.js';import{AIChatContextResourcesSearchInputView as _0x15fc18}from'./aichatresourcessearchinputview.js';import{AISkeletonView as _0xeae881,SKELETON_DEFINITIONS as _0x424767}from'../../../../aicore/ui/aiskeleton.js';export class AIChatContextResourcesView extends _0x42978f{[_0x42f923(0xc6)];[_0x42f923(0xe2)];[_0x42f923(0xd0)];[_0x42f923(0xc3)];[_0x42f923(0xb9)];[_0x42f923(0xde)];[_0x42f923(0xda)];[_0x42f923(0xd6)]=null;constructor(_0x1bc311,_0xbc840a){const _0x2dd7b2=_0x42f923;super(_0x1bc311),this[_0x2dd7b2(0xde)]=_0xbc840a[_0x2dd7b2(0xe1)],this[_0x2dd7b2(0xd0)]=_0xbc840a[_0x2dd7b2(0xb7)]??0x7,this[_0x2dd7b2(0xe3)](_0x2dd7b2(0xcf),!0x0),this[_0x2dd7b2(0xc6)]=this[_0x2dd7b2(0xbe)](),this[_0x2dd7b2(0xe2)]=this[_0x2dd7b2(0xbf)](),this[_0x2dd7b2(0xc3)]=this[_0x2dd7b2(0xd2)](),this[_0x2dd7b2(0xb9)]=this[_0x2dd7b2(0xc9)](),this[_0x2dd7b2(0xda)]=new _0x567d0a([this[_0x2dd7b2(0xb9)],this[_0x2dd7b2(0xc3)]]),this[_0x2dd7b2(0xd3)]({'tag':_0x2dd7b2(0xd5),'attributes':{'class':_0x2dd7b2(0xdf)},'children':this[_0x2dd7b2(0xda)]});}[_0x42f923(0xbe)](){const _0x893601=_0x42f923;return new _0x15fc18(this[_0x893601(0xd9)]);}[_0x42f923(0xbf)](){const _0xcebc3=_0x42f923,_0x426273=new _0x42978f(this[_0xcebc3(0xd9)]);return _0x426273[_0xcebc3(0xd3)]({'tag':_0xcebc3(0xd5),'attributes':{'class':_0xcebc3(0xbc)},'children':[this[_0xcebc3(0xc6)]]}),this[_0xcebc3(0xc6)]['on'](_0xcebc3(0xc7),(_0x3c2a2c,_0x136570)=>{const _0x5914f6=_0xcebc3;this[_0x5914f6(0xd8)](_0x136570),this[_0x5914f6(0xde)][_0x5914f6(0xcb)]&&this[_0x5914f6(0xc3)][_0x5914f6(0xe0)](_0x136570);}),_0x426273;}[_0x42f923(0xd2)](){const _0x2d8f2a=_0x42f923,_0x5c863f=new _0x3c045d(this[_0x2d8f2a(0xd9)],this[_0x2d8f2a(0xde)]);return _0x5c863f[_0x2d8f2a(0xc2)](_0x2d8f2a(0xb6))['to'](this),_0x5c863f[_0x2d8f2a(0xd1)]({'attributes':{'class':this[_0x2d8f2a(0xdb)]['if'](_0x2d8f2a(0xcf),_0x2d8f2a(0xc5))}}),_0x5c863f;}[_0x42f923(0xc9)](){const _0x54f65e=_0x42f923,_0x64d5e8=new _0xeae881(this[_0x54f65e(0xd9)],_0x424767[_0x54f65e(0xb2)]);return _0x64d5e8[_0x54f65e(0xd1)]({'attributes':{'class':[this[_0x54f65e(0xdb)]['if'](_0x54f65e(0xcf),_0x54f65e(0xc5),_0xeba4f1=>!_0xeba4f1)]}}),_0x64d5e8;}[_0x42f923(0xb8)](){const _0x3c74de=_0x42f923;super[_0x3c74de(0xb8)](),this[_0x3c74de(0xd8)]('');}[_0x42f923(0xd8)](_0x21ee8a){const _0x18250a=_0x42f923,_0x231d6f=_0x9b5aab();this[_0x18250a(0xd6)]=_0x231d6f,this[_0x18250a(0xba)](_0x18250a(0xbd),{'sourceId':this[_0x18250a(0xde)]['id'],'query':_0x21ee8a,'uid':_0x231d6f}),this[_0x18250a(0xcf)]=!0x0;}[_0x42f923(0xc0)](_0x1dc485,_0x2a629e){const _0x22e519=_0x42f923;if(_0x2a629e&&_0x2a629e!==this[_0x22e519(0xd6)])return;const _0x48cb4b=this[_0x22e519(0xde)][_0x22e519(0xcb)]?this[_0x22e519(0xc6)][_0x22e519(0xcd)]():'';this[_0x22e519(0xc3)][_0x22e519(0xc0)](_0x1dc485,_0x48cb4b),_0x1dc485[_0x22e519(0xb3)]>=this[_0x22e519(0xd0)]&&!this[_0x22e519(0xda)][_0x22e519(0xce)](this[_0x22e519(0xe2)])&&this[_0x22e519(0xda)][_0x22e519(0xdc)](this[_0x22e519(0xe2)],0x0),requestAnimationFrame(()=>{const _0x2a988c=_0x22e519;this[_0x2a988c(0xcf)]=!0x1;});}[_0x42f923(0xdd)](_0x3c5374,_0x26c683){const _0x446825=_0x42f923;this[_0x446825(0xc3)][_0x446825(0xdd)](_0x3c5374,_0x26c683);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4019af=_0x3835;function _0x2683(){const _0x160c32=['472128QfqJBz','_setupTemplate','ck-ai-chat-resources__item-title','bindTemplate','ck-ai-chat-resources__item__icon','1141580DTMgJf','label','TEXT','_titleView','extendTemplate','div','isInContext','_createIconView','span','ck-ai-chat-resources__item','1672UACYhD','set','ck-hidden','text','resource','1124718cyXgLI','11864180JaJFLI','updateResourceState','highlightText','3552033CuJXCb','setTemplate','trim','9LuAtVl','execute','2961pAFFRC','isVisible','_createTitleView','_updateIcon','4ZnfUtl','content','_iconView','type','render','673894WhDBIu','FILE','getResourceIcon','ck-ai-chat-resources__item--in-context','DOCUMENT','URL'];_0x2683=function(){return _0x160c32;};return _0x2683();}(function(_0x16923f,_0x4f315c){const _0x1ebc9a=_0x3835,_0x5137d7=_0x16923f();while(!![]){try{const _0x38480f=parseInt(_0x1ebc9a(0x1fb))/0x1+-parseInt(_0x1ebc9a(0x1e1))/0x2+parseInt(_0x1ebc9a(0x1ff))/0x3*(-parseInt(_0x1ebc9a(0x208))/0x4)+parseInt(_0x1ebc9a(0x1ec))/0x5+-parseInt(_0x1ebc9a(0x1e7))/0x6+parseInt(_0x1ebc9a(0x204))/0x7*(-parseInt(_0x1ebc9a(0x1f6))/0x8)+-parseInt(_0x1ebc9a(0x202))/0x9*(-parseInt(_0x1ebc9a(0x1fc))/0xa);if(_0x38480f===_0x4f315c)break;else _0x5137d7['push'](_0x5137d7['shift']());}catch(_0x14b0a1){_0x5137d7['push'](_0x5137d7['shift']());}}}(_0x2683,0xcfdc7));import{HighlightedTextView as _0x2a800a,IconView as _0x13ca5b,ListItemView as _0x50160d}from'ckeditor5/src/ui.js';function _0x3835(_0x3d7f58,_0x1cd106){const _0x2683a9=_0x2683();return _0x3835=function(_0x383524,_0x427872){_0x383524=_0x383524-0x1e1;let _0x7a2e75=_0x2683a9[_0x383524];return _0x7a2e75;},_0x3835(_0x3d7f58,_0x1cd106);}import{escapeRegExp as _0x13af87}from'es-toolkit/compat';import{AIContextItemType as _0x4923fc}from'../../../../aicore/model/aicontext.js';import{IconFileUpload as _0x48cc29,IconCheck as _0x5992db,IconDocument as _0x5011fa,IconDocumentOutline as _0xa6067,IconLink as _0x20c424}from'@ckeditor/ckeditor5-icons';const zr=_0x4019af(0x1f5),Jr=_0x4019af(0x1e4),Kr=_0x4019af(0x1e9),Mr=_0x4019af(0x1eb);export class AIChatResourceListItemView extends _0x50160d{[_0x4019af(0x1fa)];[_0x4019af(0x1ef)];[_0x4019af(0x20a)];constructor(_0x23d116,_0x566a6f){const _0x36b8ef=_0x4019af;super(_0x23d116),this[_0x36b8ef(0x1fa)]=_0x566a6f,this[_0x36b8ef(0x1f7)](_0x36b8ef(0x1f2),!!_0x566a6f[_0x36b8ef(0x1f2)]),this[_0x36b8ef(0x1ef)]=this[_0x36b8ef(0x206)](),this[_0x36b8ef(0x20a)]=this[_0x36b8ef(0x1f3)](),this[_0x36b8ef(0x1e8)]();}[_0x4019af(0x20c)](){const _0x3ba020=_0x4019af;super[_0x3ba020(0x20c)]();}[_0x4019af(0x1e3)](_0x364eb7){const _0x485ce6=_0x4019af;if(_0x364eb7[_0x485ce6(0x1f2)])return _0x5992db;switch(_0x364eb7[_0x485ce6(0x20b)]){case _0x4923fc[_0x485ce6(0x1e5)]:return _0x5011fa;case _0x4923fc[_0x485ce6(0x1e6)]:return _0x20c424;case _0x4923fc[_0x485ce6(0x1e2)]:case _0x4923fc[_0x485ce6(0x1ee)]:return _0x48cc29;default:return _0xa6067;}}[_0x4019af(0x1fe)](_0x5a5fb5){const _0x3c8dd7=_0x4019af;if(!_0x5a5fb5||''===_0x5a5fb5[_0x3c8dd7(0x201)]())return void this[_0x3c8dd7(0x1ef)][_0x3c8dd7(0x1fe)](null);const _0x457a9e=new RegExp(_0x13af87(_0x5a5fb5),'gi');this[_0x3c8dd7(0x1ef)][_0x3c8dd7(0x1fe)](_0x457a9e);}[_0x4019af(0x1fd)](_0x15d868){const _0x140b69=_0x4019af;this[_0x140b69(0x1fa)][_0x140b69(0x1f2)]=_0x15d868,this[_0x140b69(0x1f2)]=_0x15d868,this[_0x140b69(0x207)]();}[_0x4019af(0x206)](){const _0x2fc222=_0x4019af,_0x33da95=new _0x2a800a();return _0x33da95[_0x2fc222(0x1f9)]=this[_0x2fc222(0x1fa)][_0x2fc222(0x1ed)],_0x33da95[_0x2fc222(0x1f0)]({'tag':_0x2fc222(0x1f4),'attributes':{'class':[Kr]}}),_0x33da95;}[_0x4019af(0x1f3)](){const _0x4fd2d3=_0x4019af,_0xcae331=new _0x13ca5b();return _0xcae331[_0x4fd2d3(0x209)]=this[_0x4fd2d3(0x1e3)](this[_0x4fd2d3(0x1fa)]),_0xcae331;}[_0x4019af(0x1e8)](){const _0x417657=_0x4019af,_0x3c3899=this[_0x417657(0x1ea)];this[_0x417657(0x200)]({'tag':_0x417657(0x1f1),'attributes':{'class':[zr,_0x3c3899['if'](_0x417657(0x205),_0x417657(0x1f8),_0x54bfe3=>!_0x54bfe3),_0x3c3899['if'](_0x417657(0x1f2),Jr)]},'children':[{'tag':_0x417657(0x1f1),'attributes':{'class':[Mr]},'children':[this[_0x417657(0x20a)]]},this[_0x417657(0x1ef)]],'on':{'click':_0x3c3899['to'](_0x417657(0x203))}});}[_0x4019af(0x207)](){const _0x273af0=_0x4019af;this[_0x273af0(0x20a)][_0x273af0(0x209)]=this[_0x273af0(0x1e3)](this[_0x273af0(0x1fa)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x47c867=_0x3859;(function(_0x3b1ea1,_0x327aaa){const _0x501139=_0x3859,_0x54a138=_0x3b1ea1();while(!![]){try{const _0x4a4c0e=parseInt(_0x501139(0xa4))/0x1*(-parseInt(_0x501139(0xb0))/0x2)+-parseInt(_0x501139(0x9f))/0x3+parseInt(_0x501139(0xbd))/0x4*(-parseInt(_0x501139(0xc1))/0x5)+-parseInt(_0x501139(0xa6))/0x6+-parseInt(_0x501139(0xa3))/0x7+parseInt(_0x501139(0xc7))/0x8+parseInt(_0x501139(0xcd))/0x9;if(_0x4a4c0e===_0x327aaa)break;else _0x54a138['push'](_0x54a138['shift']());}catch(_0x5146ed){_0x54a138['push'](_0x54a138['shift']());}}}(_0x5d40,0xad90f));import{BalloonPanelView as _0x494e4b,ButtonView as _0x5d1191,clickOutsideHandler as _0x21e98e,FormHeaderView as _0x16e002}from'ckeditor5/src/ui.js';function _0x5d40(){const _0x5d175a=['44130663hqipnx','element','_locale','clear','_createBackButton','addResourceToContext','onBalloonClosed','_createBalloonResourcesView','onLoadSourceResources','closeSourceResourceBalloon','show','change:isLoading','label','searchInputVisibleFrom','3907884IotqlW','destroy','setResources','AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT','9589139VYvHHZ','38743qpQjSL','_config','8239794ZJAfSB','ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_source','values','add','pin','hide','_getResourcesViewFromBalloon','isAnyResourceBalloonVisible','delete','once','28AIynUg','extendTemplate','ck-ai-chat-context-controls__source-balloon-panel','children','source','resource','loadSourceResources','_createSourceResourceBalloonPanel','_addSourceResourceContent','showSourceResourcesBalloon','ck-button-icon\x20ck-button-back','onResourceSelected','getLimiterElement','2380VMUrXl','_createBalloonHeader','isVisible','set','3610yrRdCQ','content','get','getTargetElement','execute','updateResourceState','6602528PRlVeT','populateSourceResourceBalloon','_sourceResourceBalloons','onBackToContext','_setupSingleResourceBalloonClickOutsideHandler','_bodyCollection'];_0x5d40=function(){return _0x5d175a;};return _0x5d40();}import{IconPreviousArrow as _0x5dda51}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x448551}from'../../../../aicore/utils/common-translations.js';import{AIChatContextResourcesView as _0x1673a2}from'./aichatcontextresourcesview.js';const Bc=_0x47c867(0xb2),mc=_0x47c867(0xba),dc=_0x47c867(0xa7);function _0x3859(_0x2ebbae,_0x1e2a57){const _0x5d40fd=_0x5d40();return _0x3859=function(_0x385963,_0x587e50){_0x385963=_0x385963-0x9f;let _0x45bc20=_0x5d40fd[_0x385963];return _0x45bc20;},_0x3859(_0x2ebbae,_0x1e2a57);}export class AIChatResourcesBalloonView{[_0x47c867(0xc9)]=new Map();[_0x47c867(0xcc)];[_0x47c867(0xcf)];[_0x47c867(0xa5)];constructor(_0x3ee9cf,_0x30de4a,_0x10424a){const _0x34b5f8=_0x47c867;this[_0x34b5f8(0xcf)]=_0x3ee9cf,this[_0x34b5f8(0xcc)]=_0x30de4a,this[_0x34b5f8(0xa5)]=_0x10424a;}[_0x47c867(0xb9)]({source:_0x57ca47,withBackButton:_0x126bd9}){const _0x16b573=_0x47c867;let _0x57fb20=this[_0x16b573(0xc9)][_0x16b573(0xc3)](_0x57ca47['id']);_0x57fb20||(_0x57fb20=this[_0x16b573(0xb7)](),this[_0x16b573(0xc9)][_0x16b573(0xc0)](_0x57ca47['id'],_0x57fb20),this[_0x16b573(0xcb)](_0x57fb20)),this[_0x16b573(0xb8)]({'balloonPanel':_0x57fb20,'source':_0x57ca47,'withBackButton':_0x126bd9}),_0x57fb20[_0x16b573(0xd7)]();const _0x5e9f12=this[_0x16b573(0xa5)][_0x16b573(0xc4)]();_0x5e9f12&&_0x57fb20[_0x16b573(0xaa)]({'target':_0x5e9f12,'limiter':this[_0x16b573(0xa5)][_0x16b573(0xbc)]()});}[_0x47c867(0xc8)](_0x5f50b1,_0x5cc3d6,_0x1b2238){const _0x5e576d=_0x47c867,_0xfcf69d=this[_0x5e576d(0xc9)][_0x5e576d(0xc3)](_0x5f50b1);if(!_0xfcf69d)return;const _0x1f21d0=this[_0x5e576d(0xac)](_0xfcf69d);_0x1f21d0&&(_0x1f21d0[_0x5e576d(0xa1)](_0x5cc3d6,_0x1b2238),_0x1f21d0[_0x5e576d(0xaf)](_0x5e576d(0xd8),()=>{const _0x4460c4=_0x5e576d;_0xfcf69d[_0x4460c4(0xaa)]({'target':this[_0x4460c4(0xa5)][_0x4460c4(0xc4)](),'limiter':this[_0x4460c4(0xa5)][_0x4460c4(0xbc)]()});}));}[_0x47c867(0xd6)](_0x1224ae){const _0x286039=_0x47c867,_0x41aae1=this[_0x286039(0xc9)][_0x286039(0xc3)](_0x1224ae);_0x41aae1&&requestAnimationFrame(()=>{const _0x1768f5=_0x286039;_0x41aae1[_0x1768f5(0xab)](),this[_0x1768f5(0xc9)][_0x1768f5(0xae)](_0x1224ae),this[_0x1768f5(0xa5)][_0x1768f5(0xd3)]();});}[_0x47c867(0xad)](){const _0x1db292=_0x47c867;for(const _0x13bc47 of this[_0x1db292(0xc9)][_0x1db292(0xa8)]())if(_0x13bc47[_0x1db292(0xbf)])return!0x0;return!0x1;}[_0x47c867(0xc6)](_0x24eedf,_0x41695e,_0x4cda4f){const _0x3cdd3e=_0x47c867,_0x4b9c52=this[_0x3cdd3e(0xc9)][_0x3cdd3e(0xc3)](_0x24eedf);if(!_0x4b9c52||!_0x4b9c52[_0x3cdd3e(0xbf)])return;const _0x2761cd=this[_0x3cdd3e(0xa5)][_0x3cdd3e(0xc4)]();if(!_0x2761cd)return;_0x4b9c52[_0x3cdd3e(0xaa)]({'target':_0x2761cd,'limiter':this[_0x3cdd3e(0xa5)][_0x3cdd3e(0xbc)]()});const _0x9ad956=this[_0x3cdd3e(0xac)](_0x4b9c52);_0x9ad956&&_0x9ad956[_0x3cdd3e(0xc6)](_0x41695e,_0x4cda4f);}[_0x47c867(0xa0)](){const _0x1f45d8=_0x47c867;for(const _0x43bef1 of this[_0x1f45d8(0xc9)][_0x1f45d8(0xa8)]())_0x43bef1[_0x1f45d8(0xa0)]();this[_0x1f45d8(0xc9)][_0x1f45d8(0xd0)]();}[_0x47c867(0xb7)](){const _0x355e9e=_0x47c867,_0x3e3493=new _0x494e4b(this[_0x355e9e(0xcf)]);return _0x3e3493[_0x355e9e(0xb1)]({'attributes':{'class':Bc}}),this[_0x355e9e(0xcc)][_0x355e9e(0xa9)](_0x3e3493),_0x3e3493;}[_0x47c867(0xb8)]({balloonPanel:_0x276994,source:_0x5662f2,withBackButton:_0x12c32d}){const _0x5bc76e=_0x47c867;_0x276994[_0x5bc76e(0xc2)][_0x5bc76e(0xd0)]();const _0x28876f=this[_0x5bc76e(0xbe)]({'balloonPanel':_0x276994,'source':_0x5662f2,'withBackButton':_0x12c32d});_0x276994[_0x5bc76e(0xc2)][_0x5bc76e(0xa9)](_0x28876f);const _0xd53456=this[_0x5bc76e(0xd4)](_0x5662f2);_0x276994[_0x5bc76e(0xc2)][_0x5bc76e(0xa9)](_0xd53456);}[_0x47c867(0xbe)]({balloonPanel:_0x1823d9,source:_0x4dfd5e,withBackButton:_0x4b7593}){const _0x5b9845=_0x47c867,_0x33fe37=new _0x16e002(this[_0x5b9845(0xcf)],{'label':_0x4dfd5e[_0x5b9845(0xd9)],'class':dc});return _0x4b7593&&_0x33fe37[_0x5b9845(0xb3)][_0x5b9845(0xa9)](this[_0x5b9845(0xd1)](_0x1823d9),0x0),_0x33fe37;}[_0x47c867(0xd1)](_0x53a54a){const _0x545eb6=_0x47c867,_0x361c81=new _0x5d1191(this[_0x545eb6(0xcf)]);return _0x361c81[_0x545eb6(0xc0)]({'icon':_0x5dda51,'tooltip':_0x448551(this[_0x545eb6(0xcf)],_0x545eb6(0xa2)),'tooltipPosition':'n','class':mc}),_0x361c81['on'](_0x545eb6(0xc5),()=>{const _0x557de6=_0x545eb6;_0x53a54a[_0x557de6(0xab)](),this[_0x557de6(0xa5)][_0x557de6(0xca)]();}),_0x361c81;}[_0x47c867(0xd4)](_0x37de96){const _0x31c972=_0x47c867,_0x451f8e=new _0x1673a2(this[_0x31c972(0xcf)],{'source':_0x37de96,'searchInputVisibleFrom':this[_0x31c972(0xa5)][_0x31c972(0xda)]});return _0x451f8e['on'](_0x31c972(0xb6),(_0x2be267,_0x5cf8de)=>{const _0x149bf1=_0x31c972;this[_0x149bf1(0xa5)][_0x149bf1(0xd5)](_0x5cf8de);}),_0x451f8e['on'](_0x31c972(0xd2),(_0xb962c1,_0x5742f3)=>{const _0x5cd78c=_0x31c972;this[_0x5cd78c(0xa5)][_0x5cd78c(0xbb)](_0x5742f3[_0x5cd78c(0xb4)],_0x5742f3[_0x5cd78c(0xb5)]),this[_0x5cd78c(0xd6)](_0x37de96['id']);}),_0x451f8e;}[_0x47c867(0xac)](_0x4fdbae){const _0x3bd888=_0x47c867,_0x14ef3c=_0x4fdbae[_0x3bd888(0xc2)][_0x3bd888(0xc3)](0x1);return _0x14ef3c instanceof _0x1673a2?_0x14ef3c:null;}[_0x47c867(0xcb)](_0x132af4){const _0x230b8a=_0x47c867;_0x21e98e({'emitter':_0x132af4,'contextElements':[_0x132af4[_0x230b8a(0xce)]],'callback':()=>{const _0x788489=_0x230b8a;_0x132af4[_0x788489(0xab)](),this[_0x788489(0xa5)][_0x788489(0xd3)]();},'activator':()=>_0x132af4[_0x230b8a(0xbf)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ButtonView as
|
|
23
|
+
import{ButtonView as _0x1386a9,IconView as _0x24970c,LabeledFieldView as _0x5bb4dc,createLabeledInputText as _0x35e2da}from'ckeditor5/src/ui.js';import{IconLoupe as _0x1495b6,IconCancel as _0x1ed4af}from'ckeditor5/src/icons.js';import{getTranslation as _0x57fa00}from'../../../../aicore/utils/common-translations.js';export class AIChatContextResourcesSearchInputView extends _0x5bb4dc{['iconView'];['resetButtonView'];['_viewConfig'];constructor(_0x52c59d){const t=_0x52c59d['t'],_0x5f5b1f={'showResetButton':!0x0,'showIcon':!0x0,'creator':_0x35e2da,'label':_0x57fa00(_0x52c59d,'AI_CHAT_SEARCH_RESOURCES')};super(_0x52c59d,_0x5f5b1f['creator']),this['label']=_0x5f5b1f['label'],this['_viewConfig']=_0x5f5b1f,this['_viewConfig']['showIcon']&&this['_setupSearchIcon'](),this['_viewConfig']['showResetButton']&&this['_setupResetButton'](_0x52c59d,t),this['_setupEventListeners']();}['reset'](){this['fieldView']['reset'](),this['_viewConfig']['showResetButton']&&this['resetButtonView']&&(this['resetButtonView']['isVisible']=!0x1),this['search']('');}['search'](_0x1872e1){this['fire']('search',_0x1872e1);}['getQuery'](){return this['fieldView']['element']?.['value']||'';}['_setupSearchIcon'](){this['iconView']=new _0x24970c(),this['iconView']['content']=_0x1495b6,this['fieldWrapperChildren']['add'](this['iconView'],0x0),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-icon'}});}['_setupResetButton'](_0x373de1,t){this['resetButtonView']=new _0x1386a9(_0x373de1),this['resetButtonView']['set']({'label':t('Clear'),'icon':_0x1ed4af,'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',_0x32a20e=>!_0x32a20e),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 _0x21f8bb=_0x4d2e;function _0x8ec4(){const _0x3ca4da=['_contextChips','1098375HPFXRU','ck-ai-chat-controls_context_show-more-button','querySelector','ck-ai-chat__feed__context-chips','createCollection','_createContextChips','ck-ai-chat-context-controls__show-more-balloon-panel','6657EzbQDD','872024zAVZBd','element','setTemplate','670qzsbZs','destroy','2861280iKWeAs','4nysjSF','ck-ai-chat-context-chips-wrapper','add','ck-ai-chat-controls-button','ck-reset_all','ck-ai-chat-context-chips-wrapper-balloon','90440sumNUt','reorganizeChips','3YXGUGC','_bodyCollection','1482CHjJsU','_overflowManager','setContainerElement','locale','87395poybRb','div','104068GHNSqr','render'];_0x8ec4=function(){return _0x3ca4da;};return _0x8ec4();}(function(_0x342a8c,_0x25618d){const _0x3776a7=_0x4d2e,_0x14b7c9=_0x342a8c();while(!![]){try{const _0xbd31f8=parseInt(_0x3776a7(0x16c))/0x1+parseInt(_0x3776a7(0x155))/0x2*(-parseInt(_0x3776a7(0x16e))/0x3)+parseInt(_0x3776a7(0x166))/0x4*(-parseInt(_0x3776a7(0x158))/0x5)+parseInt(_0x3776a7(0x170))/0x6*(parseInt(_0x3776a7(0x15f))/0x7)+-parseInt(_0x3776a7(0x160))/0x8+-parseInt(_0x3776a7(0x165))/0x9+-parseInt(_0x3776a7(0x163))/0xa*(-parseInt(_0x3776a7(0x153))/0xb);if(_0xbd31f8===_0x25618d)break;else _0x14b7c9['push'](_0x14b7c9['shift']());}catch(_0x39f25c){_0x14b7c9['push'](_0x14b7c9['shift']());}}}(_0x8ec4,0x26d2c));function _0x4d2e(_0x52c3aa,_0x5b9c74){const _0x8ec40a=_0x8ec4();return _0x4d2e=function(_0x4d2e81,_0xde85ac){_0x4d2e81=_0x4d2e81-0x153;let _0x106ff2=_0x8ec40a[_0x4d2e81];return _0x106ff2;},_0x4d2e(_0x52c3aa,_0x5b9c74);}import{View as _0x40410f}from'ckeditor5/src/ui.js';import{AIChatContextItemButtonView as _0x18fde9}from'../controls/aichatcontextitembuttonview.js';import{AIChatChipsOverflowManager as _0x3ea965}from'../controls/aichatchipsoverflowmanager.js';const oc=_0x21f8bb(0x15b),nc=_0x21f8bb(0x167),ac=_0x21f8bb(0x16b),Xo=_0x21f8bb(0x169),$o=_0x21f8bb(0x159),Wo=_0x21f8bb(0x15e);export class AIChatFeedContextChipsView extends _0x40410f{[_0x21f8bb(0x157)]=this[_0x21f8bb(0x15c)]();[_0x21f8bb(0x171)];[_0x21f8bb(0x16f)];constructor(_0x133d85,_0x4ca0bd,_0x1e9955){const _0x413ad5=_0x21f8bb;super(_0x133d85),this[_0x413ad5(0x16f)]=_0x1e9955,this[_0x413ad5(0x15d)](_0x4ca0bd);const _0x2c05d6={'cssClasses':{'showMoreButton':$o,'showMoreBalloon':Wo,'overflowContainer':ac,'controlsButton':Xo}};this[_0x413ad5(0x171)]=new _0x3ea965(_0x133d85,this[_0x413ad5(0x157)],_0x2c05d6,this[_0x413ad5(0x16f)],this),this[_0x413ad5(0x162)]({'tag':_0x413ad5(0x154),'attributes':{'class':[oc,'ck',_0x413ad5(0x16a)]},'children':[{'tag':_0x413ad5(0x154),'attributes':{'class':nc},'children':this[_0x413ad5(0x157)]}]});}[_0x21f8bb(0x156)](){const _0x5256f4=_0x21f8bb;super[_0x5256f4(0x156)]();const _0x5511b7=this[_0x5256f4(0x161)][_0x5256f4(0x15a)]('.'+nc);_0x5511b7&&(this[_0x5256f4(0x171)][_0x5256f4(0x172)](_0x5511b7),this[_0x5256f4(0x171)][_0x5256f4(0x16d)]());}[_0x21f8bb(0x164)](){const _0x100df0=_0x21f8bb;super[_0x100df0(0x164)](),this[_0x100df0(0x171)][_0x100df0(0x164)]();}[_0x21f8bb(0x15d)](_0x11770e){const _0x2e6bbb=_0x21f8bb;for(const _0x200829 of _0x11770e){const _0x51df8b=new _0x18fde9(this[_0x2e6bbb(0x173)],_0x200829,!0x0,!0x1);this[_0x2e6bbb(0x157)][_0x2e6bbb(0x168)](_0x51df8b);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x49ba(){var _0x4de0c6=['content','1494075xdifUv','30kYmpTd','options','45044pHwYrk','907506BwQSrJ','innerHTML','1313VfmuWV','10vThfOw','element','appendChild','49992YdOGJe','string','424188rYEbgl','2VrKuda','32eUqepl','ck-ai-chat__feed__custom-element','render','102561bvhmCD','182HaJQxw','84174PBLTtg','extendTemplate'];_0x49ba=function(){return _0x4de0c6;};return _0x49ba();}var _0x575ceb=_0x4322;function _0x4322(_0x1dd730,_0x20d876){var _0x49ba80=_0x49ba();return _0x4322=function(_0x432295,_0x190d8b){_0x432295=_0x432295-0xe2;var _0x3432ee=_0x49ba80[_0x432295];return _0x3432ee;},_0x4322(_0x1dd730,_0x20d876);}(function(_0x4c4b7f,_0x3d7582){var _0x23443f=_0x4322,_0x1a7350=_0x4c4b7f();while(!![]){try{var _0x1d8ecb=-parseInt(_0x23443f(0xe7))/0x1*(-parseInt(_0x23443f(0xe3))/0x2)+parseInt(_0x23443f(0xe2))/0x3+-parseInt(_0x23443f(0xef))/0x4*(-parseInt(_0x23443f(0xf3))/0x5)+-parseInt(_0x23443f(0xe9))/0x6*(-parseInt(_0x23443f(0xe8))/0x7)+parseInt(_0x23443f(0xe4))/0x8*(parseInt(_0x23443f(0xf0))/0x9)+parseInt(_0x23443f(0xed))/0xa*(-parseInt(_0x23443f(0xec))/0xb)+parseInt(_0x23443f(0xf6))/0xc*(-parseInt(_0x23443f(0xf2))/0xd);if(_0x1d8ecb===_0x3d7582)break;else _0x1a7350['push'](_0x1a7350['shift']());}catch(_0x63a732){_0x1a7350['push'](_0x1a7350['shift']());}}}(_0x49ba,0x325f8));import{AIChatFeedItemView as _0x1fd867}from'./aichatfeeditemview.js';export class AIChatFeedCustomElementView extends _0x1fd867{constructor(_0x1147cb){var _0x52c679=_0x4322;super(_0x1147cb),this[_0x52c679(0xea)]({'attributes':{'class':[_0x52c679(0xe5)]}});}async[_0x575ceb(0xe6)](){var _0x368095=_0x575ceb;super[_0x368095(0xe6)](),_0x368095(0xf7)==typeof this[_0x368095(0xee)][_0x368095(0xeb)]?this[_0x368095(0xf4)][_0x368095(0xf1)]=this[_0x368095(0xee)][_0x368095(0xeb)]:this[_0x368095(0xf4)][_0x368095(0xf5)](this[_0x368095(0xee)][_0x368095(0xeb)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x3f1bf2=_0x5bb5;(function(_0x4c6c0c,_0x448e57){var _0x26ba5b=_0x5bb5,_0x2f4bc4=_0x4c6c0c();while(!![]){try{var _0x3b0e71=parseInt(_0x26ba5b(0x10a))/0x1*(-parseInt(_0x26ba5b(0x104))/0x2)+-parseInt(_0x26ba5b(0x114))/0x3+parseInt(_0x26ba5b(0x109))/0x4*(parseInt(_0x26ba5b(0x10d))/0x5)+-parseInt(_0x26ba5b(0x10c))/0x6+parseInt(_0x26ba5b(0x110))/0x7*(parseInt(_0x26ba5b(0x10f))/0x8)+parseInt(_0x26ba5b(0x115))/0x9+parseInt(_0x26ba5b(0x11a))/0xa;if(_0x3b0e71===_0x448e57)break;else _0x2f4bc4['push'](_0x2f4bc4['shift']());}catch(_0x23bb3c){_0x2f4bc4['push'](_0x2f4bc4['shift']());}}}(_0x25e9,0xa151b));function _0x25e9(){var _0x30caf7=['1953987QNkBtE','4074732kRmJOD','markAsDone','ck-ai-notification_warning','innerHTML','setContent','7102910RZMVHg','750ZFiTBL','ck-ai-notification_error','level','element','extendTemplate','3580tOzAWE','1894qcANyM','options','1924854PUgvig','4335gjLIRq','initialContent','8uSwGlL','2829029NdDaBq','ck-ai-notification','render','warning'];_0x25e9=function(){return _0x30caf7;};return _0x25e9();}function _0x5bb5(_0x14431a,_0x48c214){var _0x25e924=_0x25e9();return _0x5bb5=function(_0x5bb51a,_0x43a07b){_0x5bb51a=_0x5bb51a-0x104;var _0x56320f=_0x25e924[_0x5bb51a];return _0x56320f;},_0x5bb5(_0x14431a,_0x48c214);}import{AIChatFeedItemView as _0x35197e}from'./aichatfeeditemview.js';export class AIChatFeedErrorItemView extends _0x35197e{constructor(_0x487e16){var _0x1783cd=_0x5bb5;super(_0x487e16),this[_0x1783cd(0x108)]({'attributes':{'class':[_0x1783cd(0x111),_0x1783cd(0x113)===_0x487e16[_0x1783cd(0x106)]?_0x1783cd(0x117):_0x1783cd(0x105)]}});}[_0x3f1bf2(0x112)](){var _0x45d007=_0x3f1bf2;super[_0x45d007(0x112)](),this[_0x45d007(0x119)](this[_0x45d007(0x10b)][_0x45d007(0x10e)]),this[_0x45d007(0x116)]();}[_0x3f1bf2(0x119)](_0x487593){var _0x5f1840=_0x3f1bf2;this[_0x5f1840(0x107)][_0x5f1840(0x118)]=_0x487593;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x5177(_0x2c5883,_0x3a039f){const _0x33e89d=_0x33e8();return _0x5177=function(_0x5177ba,_0x4cc22e){_0x5177ba=_0x5177ba-0x93;let _0x14e808=_0x33e89d[_0x5177ba];return _0x14e808;},_0x5177(_0x2c5883,_0x3a039f);}const _0x365466=_0x5177;(function(_0x5f4290,_0x210560){const _0x462fcb=_0x5177,_0x114c33=_0x5f4290();while(!![]){try{const _0x20b64c=-parseInt(_0x462fcb(0xaa))/0x1*(-parseInt(_0x462fcb(0x9c))/0x2)+parseInt(_0x462fcb(0x9f))/0x3*(-parseInt(_0x462fcb(0xa8))/0x4)+-parseInt(_0x462fcb(0x9b))/0x5*(parseInt(_0x462fcb(0xa6))/0x6)+parseInt(_0x462fcb(0xa3))/0x7*(parseInt(_0x462fcb(0xa2))/0x8)+-parseInt(_0x462fcb(0xa1))/0x9*(-parseInt(_0x462fcb(0x9a))/0xa)+-parseInt(_0x462fcb(0xae))/0xb+parseInt(_0x462fcb(0x96))/0xc;if(_0x20b64c===_0x210560)break;else _0x114c33['push'](_0x114c33['shift']());}catch(_0x2adcb8){_0x114c33['push'](_0x114c33['shift']());}}}(_0x33e8,0xb6d97));import{IconBulb as _0x561ce7,IconWeb as _0x305a1e}from'@ckeditor/ckeditor5-icons';function _0x33e8(){const _0x3686cb=['21048AKLLXJ','2247cgooWk','span','ck-ai-chat__feed__interaction-header__capabilities','264930sZmqBX','extendTemplate','28904FYVGsQ','children','64658zCiZzi','ck-ai-chat__feed__interaction-header','ck-ai-chat__feed__interaction-header__capabilities__text','div','11873609hKVKlN','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH','ck-hidden','setTemplate','13002312ClsuFl','add','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING','push','10JBHmfN','95TzEYlT','20aokQRY','content','capabilities','330oXcMZd','AI_CHAT_FEED_REPLY_ITEM_USED_REASONING','7987662EgSFko'];_0x33e8=function(){return _0x3686cb;};return _0x33e8();}import{IconView as _0x393322,View as _0x51375a}from'ckeditor5/src/ui.js';import{AIChatFeedItemView as _0x3750e8}from'./aichatfeeditemview.js';import{getTranslation as _0x359686}from'../../../aicore/utils/common-translations.js';export class AIChatFeedInteractionHeaderView extends _0x3750e8{[_0x365466(0x9e)];constructor(_0x31307d,_0x1103da){const _0x2b5852=_0x365466;super(_0x1103da);const {isWebSearchEnabled:_0x5e68b0,isReasoningEnabled:_0x238e41}=_0x1103da[_0x2b5852(0x9e)],_0x3f0f49=[];let _0x238fa1='';_0x5e68b0&&_0x238e41?(_0x238fa1=_0x359686(_0x31307d,_0x2b5852(0x98)),_0x3f0f49[_0x2b5852(0x99)](aa(_0x305a1e)),_0x3f0f49[_0x2b5852(0x99)](aa(_0x561ce7))):_0x5e68b0?(_0x238fa1=_0x359686(_0x31307d,_0x2b5852(0x93)),_0x3f0f49[_0x2b5852(0x99)](aa(_0x305a1e))):_0x238e41&&(_0x238fa1=_0x359686(_0x31307d,_0x2b5852(0xa0)),_0x3f0f49[_0x2b5852(0x99)](aa(_0x561ce7))),this[_0x2b5852(0xa7)]({'attributes':{'class':[_0x2b5852(0xab),_0x238fa1?'':_0x2b5852(0x94)]}});const _0x4992d9=new _0x51375a();_0x4992d9[_0x2b5852(0x95)]({'tag':_0x2b5852(0xad),'attributes':{'class':['ck',_0x2b5852(0xa5)]},'children':[..._0x3f0f49,{'tag':_0x2b5852(0xa4),'attributes':{'class':[_0x2b5852(0xac)]},'children':[_0x238fa1]}]}),this[_0x2b5852(0xa9)][_0x2b5852(0x97)](_0x4992d9),this[_0x2b5852(0x9e)]=_0x1103da[_0x2b5852(0x9e)];}}function aa(_0x420224){const _0x91e598=_0x365466,_0x5bc927=new _0x393322();return _0x5bc927[_0x91e598(0x9d)]=_0x420224,_0x5bc927;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x2847(){const _0x52233b=['div','100490xoMruA','21QgqZxk','bindTemplate','animation:\x20ck-html-streamer-fade-in\x20.5s','isVisible','markAsDone','forEach','1433672BWyCXW','streamIntoElement','ck-ai-chat__feed__item_done','children','2588230NfYwCu','141nyrEsu','ck-ai-chat__feed__text-item','querySelectorAll','options','stream','content','5780106FkbHnz','[data-id]','createCollection','cleanUpAnimations','ck-ai-chat__feed__item','2420292UfrjKh','531SwEPbq','htmlStreamer','setTemplate','ck-hidden','37182nlCcjC','439211YRvzaM','set','element','isDone','removeAttribute','data-id'];_0x2847=function(){return _0x52233b;};return _0x2847();}const _0x2dbf7d=_0x5b8d;(function(_0xc9f009,_0x27a2a3){const _0xa93cb6=_0x5b8d,_0xe2ef61=_0xc9f009();while(!![]){try{const _0x323f14=parseInt(_0xa93cb6(0x18d))/0x1+-parseInt(_0xa93cb6(0x18c))/0x2*(parseInt(_0xa93cb6(0x1a0))/0x3)+parseInt(_0xa93cb6(0x187))/0x4+-parseInt(_0xa93cb6(0x19f))/0x5+parseInt(_0xa93cb6(0x1a6))/0x6+parseInt(_0xa93cb6(0x195))/0x7*(parseInt(_0xa93cb6(0x19b))/0x8)+-parseInt(_0xa93cb6(0x188))/0x9*(parseInt(_0xa93cb6(0x194))/0xa);if(_0x323f14===_0x27a2a3)break;else _0xe2ef61['push'](_0xe2ef61['shift']());}catch(_0x4d57dd){_0xe2ef61['push'](_0xe2ef61['shift']());}}}(_0x2847,0x88f34));import{View as _0x1396db}from'ckeditor5/src/ui.js';function _0x5b8d(_0x104651,_0x5af160){const _0x2847e3=_0x2847();return _0x5b8d=function(_0x5b8d25,_0x2839ea){_0x5b8d25=_0x5b8d25-0x183;let _0x44bc01=_0x2847e3[_0x5b8d25];return _0x44bc01;},_0x5b8d(_0x104651,_0x5af160);}import{HTMLStreamer as _0x361a86}from'../../../aicore/utils/htmlstreamer.js';export class AIChatFeedItemView extends _0x1396db{[_0x2dbf7d(0x1a3)];[_0x2dbf7d(0x1a5)]='';[_0x2dbf7d(0x189)];[_0x2dbf7d(0x19e)];constructor(_0x4f3097){const _0x538ded=_0x2dbf7d;super();const _0x35b8ea=this[_0x538ded(0x196)];this[_0x538ded(0x18e)](_0x538ded(0x190),!0x1),this[_0x538ded(0x18e)](_0x538ded(0x198),!0x0),this[_0x538ded(0x189)]=new _0x361a86({'textNodeStyle':_0x538ded(0x197),'delay':0x14}),this[_0x538ded(0x1a3)]=_0x4f3097,this[_0x538ded(0x19e)]=this[_0x538ded(0x184)](),this[_0x538ded(0x18a)]({'tag':_0x538ded(0x193),'attributes':{'class':['ck',_0x538ded(0x186),_0x35b8ea['if'](_0x538ded(0x190),_0x538ded(0x19d)),_0x35b8ea['if'](_0x538ded(0x198),_0x538ded(0x18b),_0x207cc6=>!_0x207cc6),_0x538ded(0x1a1)],'data-cke-ai-id':this[_0x538ded(0x1a3)]['id']},'children':this[_0x538ded(0x19e)]});}[_0x2dbf7d(0x199)](){const _0x1ce80c=_0x2dbf7d;this[_0x1ce80c(0x189)][_0x1ce80c(0x185)]({'targetElement':this[_0x1ce80c(0x18f)]}),this[_0x1ce80c(0x18f)][_0x1ce80c(0x1a2)](_0x1ce80c(0x183))[_0x1ce80c(0x19a)](_0x214afb=>{const _0x35c920=_0x1ce80c;_0x214afb[_0x35c920(0x191)](_0x35c920(0x192));}),this[_0x1ce80c(0x190)]=!0x0;}async[_0x2dbf7d(0x19c)](_0x46e5b9,_0x555126,_0x4f7913){const _0x39f373=_0x2dbf7d;await this[_0x39f373(0x189)][_0x39f373(0x1a4)]({'document':_0x46e5b9,'targetElement':_0x555126,'abortSignal':_0x4f7913});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x23e9(){const _0x2d8904=['3fJeIHA','children','addMany','add','4BTIEtN','804386WdaTnq','setTemplate','6utOkng','extendTemplate','streamIntoElement','ck-ai-chat__feed__ai-reply-container','1329864imOMFg','updateSources','60890YapJIO','markAsDone','element','div','ck-reset_all-excluded','ck-ai-chat__feed__ai-reply','map','streaming','innerHTML','9275528AfatUn','isVisible','361172nbjwCC','options','locale','initialContent','33UedDuS','_bodyCollection','replyContainer','static','render','balloonPanelView','updateContent','1724835fpAxjV','1422pcZfRa','2671608BDqkuy'];_0x23e9=function(){return _0x2d8904;};return _0x23e9();}const _0x260f6a=_0x29ea;(function(_0x2aad36,_0x437dc0){const _0x38dcd5=_0x29ea,_0x43afcd=_0x2aad36();while(!![]){try{const _0x2dfb48=-parseInt(_0x38dcd5(0x164))/0x1*(parseInt(_0x38dcd5(0x169))/0x2)+-parseInt(_0x38dcd5(0x16f))/0x3+-parseInt(_0x38dcd5(0x168))/0x4*(parseInt(_0x38dcd5(0x161))/0x5)+-parseInt(_0x38dcd5(0x16b))/0x6*(-parseInt(_0x38dcd5(0x156))/0x7)+parseInt(_0x38dcd5(0x154))/0x8+-parseInt(_0x38dcd5(0x162))/0x9*(-parseInt(_0x38dcd5(0x171))/0xa)+parseInt(_0x38dcd5(0x15a))/0xb*(parseInt(_0x38dcd5(0x163))/0xc);if(_0x2dfb48===_0x437dc0)break;else _0x43afcd['push'](_0x43afcd['shift']());}catch(_0x3b8940){_0x43afcd['push'](_0x43afcd['shift']());}}}(_0x23e9,0xce957));import{AIChatFeedItemView as _0xb54ba5}from'./aichatfeeditemview.js';function _0x29ea(_0x4bab77,_0x25262b){const _0x23e9e6=_0x23e9();return _0x29ea=function(_0x29ea76,_0x31142d){_0x29ea76=_0x29ea76-0x14e;let _0x2de1ac=_0x23e9e6[_0x29ea76];return _0x2de1ac;},_0x29ea(_0x4bab77,_0x25262b);}import{parse as _0x1bbe92,render as _0x5b05c0}from'../../../aicore/utils/htmlparser.js';import{View as _0x1269c9}from'ckeditor5/src/ui.js';import{AIWebSourcesView as _0x241089,AIWebSourceView as _0x1250dd}from'../../../aicore/ui/suggestioncontainer/aiwebsourcesview.js';export class AIChatFeedReplyItemView extends _0xb54ba5{[_0x260f6a(0x15c)];[_0x260f6a(0x15b)];constructor(_0xe40568,_0x10a65d,_0xe0ec3c){const _0x1616d6=_0x260f6a;super(_0x10a65d),this[_0x1616d6(0x15b)]=_0xe0ec3c,this[_0x1616d6(0x158)]=_0xe40568,this[_0x1616d6(0x16c)]({'attributes':{'class':[_0x1616d6(0x150)]}}),this[_0x1616d6(0x15c)]=new _0x1269c9(),this[_0x1616d6(0x15c)][_0x1616d6(0x16a)]({'tag':_0x1616d6(0x14e),'attributes':{'class':['ck',_0x1616d6(0x14f),_0x1616d6(0x16e)]}}),this[_0x1616d6(0x165)][_0x1616d6(0x167)](this[_0x1616d6(0x15c)]);}async[_0x260f6a(0x15e)](){const _0x275da9=_0x260f6a;super[_0x275da9(0x15e)](),this[_0x275da9(0x157)][_0x275da9(0x159)]&&(await this[_0x275da9(0x160)]({'parsedContent':_0x1bbe92(this[_0x275da9(0x157)][_0x275da9(0x159)]),'renderingStrategy':_0x275da9(0x15d)}),this[_0x275da9(0x172)]());}async[_0x260f6a(0x160)]({parsedContent:_0xa58538,renderingStrategy:_0x2bbd9a,abortSignal:_0x253684}){const _0x3d62d8=_0x260f6a;_0x3d62d8(0x152)===_0x2bbd9a?await this[_0x3d62d8(0x16d)](_0xa58538,this[_0x3d62d8(0x15c)][_0x3d62d8(0x173)],_0x253684):this[_0x3d62d8(0x15c)][_0x3d62d8(0x173)][_0x3d62d8(0x153)]=_0x5b05c0(_0xa58538);}[_0x260f6a(0x170)](_0x4fafc0){const _0x357b47=_0x260f6a,_0x104ad4=new _0x241089(this[_0x357b47(0x158)],this[_0x357b47(0x15b)]);_0x104ad4[_0x357b47(0x165)][_0x357b47(0x166)](_0x4fafc0[_0x357b47(0x151)](_0x21c6c5=>new _0x1250dd(this[_0x357b47(0x158)],_0x21c6c5,_0x104ad4[_0x357b47(0x15f)]))),_0x104ad4[_0x357b47(0x155)]=!0x0,this[_0x357b47(0x165)][_0x357b47(0x167)](_0x104ad4);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x45f804=_0x4d21;(function(_0x58493e,_0x51c473){const _0x2f1738=_0x4d21,_0x46e53d=_0x58493e();while(!![]){try{const _0x15ed36=parseInt(_0x2f1738(0x1c3))/0x1*(-parseInt(_0x2f1738(0x19f))/0x2)+-parseInt(_0x2f1738(0x1a4))/0x3*(parseInt(_0x2f1738(0x1a5))/0x4)+-parseInt(_0x2f1738(0x1a1))/0x5*(-parseInt(_0x2f1738(0x1c2))/0x6)+parseInt(_0x2f1738(0x1c7))/0x7+parseInt(_0x2f1738(0x1bb))/0x8+parseInt(_0x2f1738(0x1b2))/0x9+-parseInt(_0x2f1738(0x1c8))/0xa;if(_0x15ed36===_0x51c473)break;else _0x46e53d['push'](_0x46e53d['shift']());}catch(_0x2569ce){_0x46e53d['push'](_0x46e53d['shift']());}}}(_0x472e,0x6295b));import{ButtonView as _0x24312d,View as _0x2cc327}from'ckeditor5/src/ui.js';function _0x4d21(_0x426ab1,_0x3e0219){const _0x472e31=_0x472e();return _0x4d21=function(_0x4d21ab,_0x2dc60d){_0x4d21ab=_0x4d21ab-0x19a;let _0x2b5c1a=_0x472e31[_0x4d21ab];return _0x2b5c1a;},_0x4d21(_0x426ab1,_0x3e0219);}import{getTranslation as _0x1af006}from'../../../aicore/utils/common-translations.js';import{IconInfo as _0x55471e}from'ckeditor5/src/icons.js';export const AI_REPLY_ACTIONS=[_0x45f804(0x1bf),_0x45f804(0x1c1)];function _0x472e(){const _0x6f7b55=['isEnabled','AI_CHAT_SUGGESTION_ACTION_SUGGEST_ALL','createCollection','AI_CHAT_SUGGESTION_ACTION_APPLY','ck-ai-button-primary','ck-ai-button-secondary','AI_CHAT_SUGGESTION_ACTION_APPLY_ALL','locale','3518944Dswexe','isVisible','AI_SUGGESTION_DISABLED_TOOLTIP_MESSAGE','ck-hidden','applySuggestion','_insertSuggestionsButton','insertSuggestion','24BjRFBd','4121YXXykp','includes','AI_CHAT_SUGGESTION_ACTION_SUGGEST','bind','1665055dKlfvm','6301560RTTxXO','ck-ai-chat__feed__ai-suggestion__actions','div','forEach','ck-ai-chat__feed__suggestion__actions__info','set','86XNDuQh','change:isTrackChangesOn','577580IAXsDb','children','label','11049nkfmbX','284QRZtVU','isTrackChangesOn','AI_SUGGESTION_DISABLED_FEED_MESSAGE','button','_switchButtonLabelsPlurality','bindTemplate','add','setTemplate','updateVisibility','fire','addMany','_applyChangesButton','execute','2995722sbizAB'];_0x472e=function(){return _0x6f7b55;};return _0x472e();}export class AIChatFeedSuggestionItemActionsView extends _0x2cc327{[_0x45f804(0x1b0)];[_0x45f804(0x1c0)];[_0x45f804(0x1a2)];constructor(_0x1fe4a5,_0x54771f=[...AI_REPLY_ACTIONS],_0x50b1f8){const _0x535b7e=_0x45f804;super(_0x1fe4a5);const _0x24f7bc=this[_0x535b7e(0x1aa)],_0x2b7807=Boolean(_0x50b1f8);if(this[_0x535b7e(0x19e)](_0x535b7e(0x1b3),!_0x2b7807),this[_0x535b7e(0x19e)](_0x535b7e(0x1bc),!0x1),this[_0x535b7e(0x19e)](_0x535b7e(0x1a6),!0x1),this[_0x535b7e(0x1a2)]=this[_0x535b7e(0x1b5)](),_0x2b7807){const _0x547850=new _0x24312d(_0x1fe4a5);_0x547850[_0x535b7e(0x19e)]({'label':_0x1af006(_0x1fe4a5,_0x535b7e(0x1bd)),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x55471e});const _0x4b6ffe=new _0x2cc327(_0x1fe4a5);_0x4b6ffe[_0x535b7e(0x1ac)]({'tag':_0x535b7e(0x19b),'attributes':{'class':_0x535b7e(0x19d)},'children':[{'tag':'p','children':[_0x1af006(_0x1fe4a5,_0x535b7e(0x1a7)),_0x547850]}]}),this[_0x535b7e(0x1a2)][_0x535b7e(0x1ab)](_0x4b6ffe);}else this[_0x535b7e(0x1b0)]=new _0x24312d(_0x1fe4a5),this[_0x535b7e(0x1b0)][_0x535b7e(0x19e)]({'label':_0x1af006(_0x1fe4a5,_0x535b7e(0x1b9)),'withText':!0x0,'type':_0x535b7e(0x1a8),'isVisible':_0x54771f[_0x535b7e(0x1c4)](_0x535b7e(0x1bf)),'class':_0x535b7e(0x1b7)}),this[_0x535b7e(0x1c0)]=new _0x24312d(_0x1fe4a5),this[_0x535b7e(0x1c0)][_0x535b7e(0x19e)]({'label':_0x1af006(_0x1fe4a5,_0x535b7e(0x1b4)),'withText':!0x0,'type':_0x535b7e(0x1a8),'isVisible':_0x54771f[_0x535b7e(0x1c4)](_0x535b7e(0x1c1)),'class':_0x535b7e(0x1b8)}),this[_0x535b7e(0x1c0)]['on'](_0x535b7e(0x1b1),()=>{const _0x27c7f0=_0x535b7e;this[_0x27c7f0(0x1ae)](_0x27c7f0(0x1c1));}),this[_0x535b7e(0x1b0)]['on'](_0x535b7e(0x1b1),()=>{const _0x10b687=_0x535b7e;this[_0x10b687(0x1ae)](_0x10b687(0x1bf));}),[this[_0x535b7e(0x1b0)],this[_0x535b7e(0x1c0)]][_0x535b7e(0x19c)](_0x3ad5c6=>{const _0x316368=_0x535b7e;_0x3ad5c6[_0x316368(0x1c6)](_0x316368(0x1b3))['to'](this);}),this[_0x535b7e(0x1a2)][_0x535b7e(0x1af)]([this[_0x535b7e(0x1b0)],this[_0x535b7e(0x1c0)]]);this[_0x535b7e(0x1ac)]({'tag':_0x535b7e(0x19b),'attributes':{'class':['ck',_0x535b7e(0x19a),_0x24f7bc['if'](_0x535b7e(0x1bc),_0x535b7e(0x1be),_0x211b3c=>!_0x211b3c)]},'children':this[_0x535b7e(0x1a2)]}),this['on'](_0x535b7e(0x1a0),()=>{const _0xb7c0b0=_0x535b7e;this[_0xb7c0b0(0x1b0)]&&(this[_0xb7c0b0(0x1b0)][_0xb7c0b0(0x1bc)]=!this[_0xb7c0b0(0x1a6)]);});}[_0x45f804(0x1ad)](_0x597741){const _0x3221ba=_0x45f804;this[_0x3221ba(0x1bc)]=_0x597741;}[_0x45f804(0x1a9)](_0x4e19e0){const _0x45e452=_0x45f804;this[_0x45e452(0x1b0)]&&this[_0x45e452(0x1c0)]&&(_0x4e19e0?(this[_0x45e452(0x1b0)][_0x45e452(0x1a3)]=_0x1af006(this[_0x45e452(0x1ba)],_0x45e452(0x1b9)),this[_0x45e452(0x1c0)][_0x45e452(0x1a3)]=_0x1af006(this[_0x45e452(0x1ba)],_0x45e452(0x1b4))):(this[_0x45e452(0x1b0)][_0x45e452(0x1a3)]=_0x1af006(this[_0x45e452(0x1ba)],_0x45e452(0x1b6)),this[_0x45e452(0x1c0)][_0x45e452(0x1a3)]=_0x1af006(this[_0x45e452(0x1ba)],_0x45e452(0x1c5))));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0xb69565=_0x3499;(function(_0x48af3f,_0x440444){var _0x2db659=_0x3499,_0x2c510f=_0x48af3f();while(!![]){try{var _0x3f3d2b=parseInt(_0x2db659(0x15d))/0x1*(-parseInt(_0x2db659(0x164))/0x2)+parseInt(_0x2db659(0x17b))/0x3*(parseInt(_0x2db659(0x16d))/0x4)+parseInt(_0x2db659(0x15e))/0x5*(parseInt(_0x2db659(0x174))/0x6)+parseInt(_0x2db659(0x16c))/0x7*(parseInt(_0x2db659(0x15b))/0x8)+-parseInt(_0x2db659(0x178))/0x9+parseInt(_0x2db659(0x160))/0xa*(-parseInt(_0x2db659(0x15c))/0xb)+parseInt(_0x2db659(0x175))/0xc;if(_0x3f3d2b===_0x440444)break;else _0x2c510f['push'](_0x2c510f['shift']());}catch(_0x5392d1){_0x2c510f['push'](_0x2c510f['shift']());}}}(_0x5a0e,0xee25f));import{AIChatFeedItemView as _0x2e2401}from'./aichatfeeditemview.js';import{AISuggestionContainerView as _0x5b45c0}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';function _0x3499(_0x279867,_0x5d0048){var _0x5a0eb3=_0x5a0e();return _0x3499=function(_0x349941,_0x2a21e3){_0x349941=_0x349941-0x15a;var _0x35a8d0=_0x5a0eb3[_0x349941];return _0x35a8d0;},_0x3499(_0x279867,_0x5d0048);}export class AIChatFeedSuggestionItemView extends _0x2e2401{[_0xb69565(0x171)];constructor(_0x2d77db,_0x2fd38b,_0x5d4aa7){var _0x260916=_0xb69565;super(_0x2fd38b),this[_0x260916(0x177)](_0x260916(0x162),!0x1),this[_0x260916(0x171)]=new _0x5b45c0(_0x2d77db,{'showDiff':_0x2fd38b[_0x260916(0x17c)],'areActionsDisabled':_0x2fd38b[_0x260916(0x180)],'availableActions':_0x2fd38b[_0x260916(0x16a)]},_0x5d4aa7),this[_0x260916(0x171)]['on'](_0x260916(0x16f),(_0x54e89e,_0x43fc51)=>{var _0x11fd53=_0x260916;this[_0x11fd53(0x181)](_0x11fd53(0x16f),{'replyId':this[_0x11fd53(0x182)]['id'],'showDiff':_0x43fc51[_0x11fd53(0x17c)]});}),this[_0x260916(0x171)][_0x260916(0x161)](_0x260916(0x162))['to'](this),this[_0x260916(0x171)]['on'](_0x260916(0x16b),()=>{var _0x26bb70=_0x260916;this[_0x26bb70(0x181)](_0x26bb70(0x16b),{'replyId':this[_0x26bb70(0x182)]['id']});}),this[_0x260916(0x171)]['on'](_0x260916(0x168),()=>{var _0x1e2035=_0x260916;this[_0x1e2035(0x181)](_0x1e2035(0x168),{'replyId':this[_0x1e2035(0x182)]['id']});}),this[_0x260916(0x171)]['on'](_0x260916(0x173),(_0x5a902d,{index:_0x240b04})=>{var _0x50ee94=_0x260916;this[_0x50ee94(0x181)](_0x50ee94(0x173),{'replyId':this[_0x50ee94(0x182)]['id'],'partIndex':_0x240b04});}),this[_0x260916(0x171)]['on'](_0x260916(0x16e),(_0x5a4380,{index:_0x268600}={})=>{var _0x5a4133=_0x260916;this[_0x5a4133(0x181)](_0x5a4133(0x16e),{'replyId':this[_0x5a4133(0x182)]['id'],'partIndex':_0x268600});}),this[_0x260916(0x171)]['on'](_0x260916(0x15a),(_0x5d56a0,{index:_0x4ed7d9}={})=>{var _0x55611b=_0x260916;this[_0x55611b(0x181)](_0x55611b(0x15a),{'replyId':this[_0x55611b(0x182)]['id'],'partIndex':_0x4ed7d9});}),this[_0x260916(0x171)]['on'](_0x260916(0x166),(_0x412161,{index:_0x188550})=>{var _0x45be86=_0x260916;this[_0x45be86(0x181)](_0x45be86(0x166),{'replyId':this[_0x45be86(0x182)]['id'],'partIndex':_0x188550});}),this[_0x260916(0x171)]['on'](_0x260916(0x17d),(_0x3962e6,{index:_0x5391ff})=>{var _0x547cb0=_0x260916;this[_0x547cb0(0x181)](_0x547cb0(0x17d),{'replyId':this[_0x547cb0(0x182)]['id'],'partIndex':_0x5391ff});}),this[_0x260916(0x171)]['on'](_0x260916(0x15f),(_0x243330,{index:_0x48e948})=>{var _0x435333=_0x260916;this[_0x435333(0x181)](_0x435333(0x15f),{'replyId':this[_0x435333(0x182)]['id'],'partIndex':_0x48e948});}),this[_0x260916(0x176)][_0x260916(0x17e)]([this[_0x260916(0x171)]]),this[_0x260916(0x167)]({'attributes':{'class':[_0x260916(0x172)]}});}async[_0xb69565(0x179)](_0x329d61){var _0x47134d=_0xb69565;await this[_0x47134d(0x171)][_0x47134d(0x179)](_0x329d61);}[_0xb69565(0x165)](_0x172c4d,_0x105fa8){var _0x42a756=_0xb69565;this[_0x42a756(0x171)][_0x42a756(0x169)][_0x42a756(0x165)](_0x172c4d,_0x105fa8);}[_0xb69565(0x170)](_0x127434,_0x3c0da2){var _0x313dd8=_0xb69565;!0x1===_0x127434?this[_0x313dd8(0x171)][_0x313dd8(0x169)][_0x313dd8(0x170)](!0x1):this[_0x313dd8(0x171)][_0x313dd8(0x169)][_0x313dd8(0x170)](_0x127434,_0x3c0da2);}[_0xb69565(0x163)](_0x282c58){var _0x1d1e82=_0xb69565;this[_0x1d1e82(0x171)][_0x1d1e82(0x163)](_0x282c58);}[_0xb69565(0x17a)](_0xb130c0){var _0xa2c3f4=_0xb69565;return this[_0xa2c3f4(0x171)][_0xa2c3f4(0x169)][_0xa2c3f4(0x17a)](_0xb130c0);}[_0xb69565(0x17f)](){var _0x298c4b=_0xb69565;super[_0x298c4b(0x17f)](),this[_0x298c4b(0x171)][_0x298c4b(0x17f)]();}}function _0x5a0e(){var _0x37e993=['15200550IhSCuD','updateContent','getPartView','4896498zoSwvG','showDiff','mouseOverSuggestion','addMany','markAsDone','areActionsDisabled','fire','options','insertSuggestion','10128umoNJR','11Smqlse','1364659LMsaeH','1133770pcAnHg','mouseLeaveSuggestion','1742820iwdwqq','bind','isTrackChangesOn','updateSources','2laRZGu','updatePartState','rejectSuggestion','extendTemplate','dislike','bodyView','availableActions','like','1211nNhnUG','4HnrJGw','applySuggestion','toggleSuggestionDisplayMode','setPartActive','containerView','ck-ai-chat__feed__ai-suggestion','showChangeInText','36XTQOdU','11899656AiVJnV','children','set'];_0x5a0e=function(){return _0x37e993;};return _0x5a0e();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x4c47(_0x470754,_0x11acf8){var _0x4e2c40=_0x4e2c();return _0x4c47=function(_0x4c47e2,_0x2eeffc){_0x4c47e2=_0x4c47e2-0x165;var _0x11d4bc=_0x4e2c40[_0x4c47e2];return _0x11d4bc;},_0x4c47(_0x470754,_0x11acf8);}var _0x3cddc9=_0x4c47;(function(_0x57c9d6,_0x1db234){var _0x198014=_0x4c47,_0x49f144=_0x57c9d6();while(!![]){try{var _0xe54062=parseInt(_0x198014(0x170))/0x1+parseInt(_0x198014(0x168))/0x2+parseInt(_0x198014(0x169))/0x3*(parseInt(_0x198014(0x17c))/0x4)+-parseInt(_0x198014(0x17d))/0x5*(-parseInt(_0x198014(0x177))/0x6)+parseInt(_0x198014(0x171))/0x7+parseInt(_0x198014(0x173))/0x8+-parseInt(_0x198014(0x183))/0x9;if(_0xe54062===_0x1db234)break;else _0x49f144['push'](_0x49f144['shift']());}catch(_0xa73352){_0x49f144['push'](_0x49f144['shift']());}}}(_0x4e2c,0x8dc84));import{AIChatFeedItemView as _0x5d0fbc}from'./aichatfeeditemview.js';import{AIChatFeedContextChipsView as _0xefdf4e}from'./aichatfeedcontextchipsview.js';function _0x4e2c(){var _0x5bc07d=['ck-ai-chat__feed__message-content','852624nqRVBQ','261AGRyQQ','ck-ai-chat__feed__user-message','length','innerHTML','_locale','children','_messageContentView','335191IxRoUw','2313507hGUeKT','div','1317528JCInNv','initialContent','element','options','20862uxhDKO','extendTemplate','_bodyCollection','ck-ai-chat__feed__context-chips','_createContextChipsView','45728agEuir','175mlRmPE','_createMessageContentView','render','setTemplate','contextItems','markAsDone','16130106AQcZoM','add','filter','_contextChipsView','hidden'];_0x4e2c=function(){return _0x5bc07d;};return _0x4e2c();}import{View as _0x419319}from'ckeditor5/src/ui.js';export class AIChatFeedUserMessageItemView extends _0x5d0fbc{[_0x3cddc9(0x165)]=null;[_0x3cddc9(0x16d)];[_0x3cddc9(0x179)];[_0x3cddc9(0x16f)];constructor(_0xf905b1,_0x37f181,_0x2426a2){var _0x2bc8c9=_0x3cddc9;super(_0x37f181),this[_0x2bc8c9(0x16d)]=_0xf905b1,this[_0x2bc8c9(0x179)]=_0x2426a2,this[_0x2bc8c9(0x17b)](),this[_0x2bc8c9(0x17e)](),this[_0x2bc8c9(0x178)]({'attributes':{'class':[_0x2bc8c9(0x16a)]}});}[_0x3cddc9(0x17b)](){var _0x21b236=_0x3cddc9;this[_0x21b236(0x176)][_0x21b236(0x181)]&&this[_0x21b236(0x176)][_0x21b236(0x181)][_0x21b236(0x16b)]>0x0&&(this[_0x21b236(0x165)]=new _0xefdf4e(this[_0x21b236(0x16d)],this[_0x21b236(0x176)][_0x21b236(0x181)][_0x21b236(0x185)](_0x2552a3=>!_0x2552a3[_0x21b236(0x166)]),this[_0x21b236(0x179)]),this[_0x21b236(0x165)][_0x21b236(0x178)]({'attributes':{'class':_0x21b236(0x17a)}}),this[_0x21b236(0x16e)][_0x21b236(0x184)](this[_0x21b236(0x165)]));}[_0x3cddc9(0x17e)](){var _0x52329f=_0x3cddc9;this[_0x52329f(0x16f)]=new _0x419319(this[_0x52329f(0x16d)]),this[_0x52329f(0x16f)][_0x52329f(0x180)]({'tag':_0x52329f(0x172),'attributes':{'class':_0x52329f(0x167)}}),this[_0x52329f(0x16e)][_0x52329f(0x184)](this[_0x52329f(0x16f)]);}[_0x3cddc9(0x17f)](){var _0x2f9521=_0x3cddc9;super[_0x2f9521(0x17f)](),this[_0x2f9521(0x16f)][_0x2f9521(0x175)][_0x2f9521(0x16c)]=this[_0x2f9521(0x176)][_0x2f9521(0x174)],this[_0x2f9521(0x182)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3651cf=_0x1888;function _0x1888(_0xd07f4e,_0x141f9d){const _0x37eb17=_0x37eb();return _0x1888=function(_0x188886,_0x55774f){_0x188886=_0x188886-0xce;let _0x1e3ffe=_0x37eb17[_0x188886];return _0x1e3ffe;},_0x1888(_0xd07f4e,_0x141f9d);}(function(_0x53f232,_0x22c2fb){const _0x5e5a23=_0x1888,_0x33acb3=_0x53f232();while(!![]){try{const _0x870aef=-parseInt(_0x5e5a23(0xd8))/0x1*(-parseInt(_0x5e5a23(0xd2))/0x2)+-parseInt(_0x5e5a23(0xe2))/0x3+-parseInt(_0x5e5a23(0xdc))/0x4*(parseInt(_0x5e5a23(0xda))/0x5)+-parseInt(_0x5e5a23(0xd5))/0x6+-parseInt(_0x5e5a23(0xe6))/0x7+parseInt(_0x5e5a23(0xd0))/0x8*(parseInt(_0x5e5a23(0xd3))/0x9)+parseInt(_0x5e5a23(0xdd))/0xa*(parseInt(_0x5e5a23(0xe4))/0xb);if(_0x870aef===_0x22c2fb)break;else _0x33acb3['push'](_0x33acb3['shift']());}catch(_0xde852b){_0x33acb3['push'](_0x33acb3['shift']());}}}(_0x37eb,0xbb1b0));import{AI_SUGGESTION_UI_EVENT_NAMES as _0x2bc16f}from'../../aicore/utils/eventnames.js';function _0x37eb(){const _0x19152d=['resizeTabs','toggleWebSearch','selectModel','4126887HlBHIr','toggleReasoning','473ySOBgp','addUrlToContext','4103246JEDnCQ','sendUserMessage','addResourceToContext','16hfTabZ','executeCustomItemCallback','2994AZDvOe','4653945jUQUMm','abortPromptStream','3463590NUZuTW','addDocumentToContext','loadSourceResources','331aByPwt','removeContextItem','2690lFqeLP','startConversation','944hJnVpp','442490gLoUNz','addFileToContext'];_0x37eb=function(){return _0x19152d;};return _0x37eb();}export const AI_CHAT_UI_EVENT_NAMES=[..._0x2bc16f,_0x3651cf(0xdb),_0x3651cf(0xdf),_0x3651cf(0xce),_0x3651cf(0xd4),_0x3651cf(0xd6),_0x3651cf(0xde),_0x3651cf(0xe5),_0x3651cf(0xd1),_0x3651cf(0xcf),_0x3651cf(0xd9),_0x3651cf(0xd7),_0x3651cf(0xe0),_0x3651cf(0xe3),_0x3651cf(0xe1)];
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3c5425=_0x1bf3;function _0x1bf3(_0x13d865,_0x5b8a05){const _0xc67a64=_0xc67a();return _0x1bf3=function(_0x1bf310,_0x20318b){_0x1bf310=_0x1bf310-0x70;let _0x431f77=_0xc67a64[_0x1bf310];return _0x431f77;},_0x1bf3(_0x13d865,_0x5b8a05);}function _0xc67a(){const _0x54b7d1=['fire','length','11uKHaHO','createTask','signal','isProcessing','_abortController','abort','enqueue','7648ujTQhv','522356exeijd','queue','push','83672GvRGYl','1471616fEMpFf','165ZdeiKV','queueEmptyPromise','resolve','_processQueue','once','17271430DJqQbX','callback','301wFzNOe','completePromise','reject','2389761pjEgcI','258IpqikI','24162BkIpTv','_queueEmpty','shift'];_0xc67a=function(){return _0x54b7d1;};return _0xc67a();}(function(_0x3f7931,_0x4d3e40){const _0x5af24b=_0x1bf3,_0x5385c1=_0x3f7931();while(!![]){try{const _0x4fe903=parseInt(_0x5af24b(0x88))/0x1+parseInt(_0x5af24b(0x87))/0x2*(parseInt(_0x5af24b(0x7a))/0x3)+parseInt(_0x5af24b(0x8c))/0x4+parseInt(_0x5af24b(0x8d))/0x5*(parseInt(_0x5af24b(0x7b))/0x6)+-parseInt(_0x5af24b(0x76))/0x7*(-parseInt(_0x5af24b(0x8b))/0x8)+parseInt(_0x5af24b(0x79))/0x9+parseInt(_0x5af24b(0x74))/0xa*(-parseInt(_0x5af24b(0x80))/0xb);if(_0x4fe903===_0x4d3e40)break;else _0x5385c1['push'](_0x5385c1['shift']());}catch(_0x595b1c){_0x5385c1['push'](_0x5385c1['shift']());}}}(_0xc67a,0x530aa));import{EmitterMixin as _0x4987ea}from'ckeditor5/src/utils.js';export class PromiseQueue extends _0x4987ea(){[_0x3c5425(0x89)]=[];[_0x3c5425(0x83)]=!0x1;[_0x3c5425(0x84)];async[_0x3c5425(0x86)](_0x291e6a){const _0x208b1c=_0x3c5425,_0x6d7382=this[_0x208b1c(0x81)](_0x291e6a);return this[_0x208b1c(0x89)][_0x208b1c(0x8a)](_0x6d7382),this[_0x208b1c(0x72)](),_0x6d7382[_0x208b1c(0x77)];}[_0x3c5425(0x85)](){const _0x4dc42e=_0x3c5425;this[_0x4dc42e(0x83)]&&(this[_0x4dc42e(0x84)][_0x4dc42e(0x85)](),this[_0x4dc42e(0x84)]=void 0x0,this[_0x4dc42e(0x89)]=[],this[_0x4dc42e(0x7e)](_0x4dc42e(0x7c)),this[_0x4dc42e(0x83)]=!0x1);}get[_0x3c5425(0x70)](){const _0x493321=_0x3c5425;return this[_0x493321(0x89)][_0x493321(0x7f)]||this[_0x493321(0x83)]?new Promise(_0x5d39c4=>{const _0x41b491=_0x493321;this[_0x41b491(0x73)](_0x41b491(0x7c),()=>{_0x5d39c4();});}):Promise[_0x493321(0x71)]();}async[_0x3c5425(0x72)](){const _0x1af064=_0x3c5425;if(!this[_0x1af064(0x83)]){this[_0x1af064(0x84)]=new AbortController(),this[_0x1af064(0x83)]=!0x0;try{for(;this[_0x1af064(0x89)][_0x1af064(0x7f)]&&this[_0x1af064(0x83)];){const _0x562e9a=this[_0x1af064(0x89)][_0x1af064(0x7d)]();try{await _0x562e9a[_0x1af064(0x75)](this[_0x1af064(0x84)][_0x1af064(0x82)]),_0x562e9a[_0x1af064(0x71)]();}catch(_0x3ff276){_0x562e9a[_0x1af064(0x78)](_0x3ff276);}}}finally{this[_0x1af064(0x83)]=!0x1,this[_0x1af064(0x84)]=void 0x0;}this[_0x1af064(0x7e)](_0x1af064(0x7c));}}[_0x3c5425(0x81)](_0x12723d){let _0x76992b,_0x2f0036;const _0x4850ce=new Promise((_0x11da77,_0x32b203)=>{_0x76992b=_0x11da77,_0x2f0036=_0x32b203;});return{'callback':_0x12723d,'resolve':_0x76992b,'reject':_0x2f0036,'completePromise':_0x4850ce};}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x30d3ff=_0x596f;(function(_0x4b60ec,_0x4b75a1){var _0x269f3f=_0x596f,_0x161b13=_0x4b60ec();while(!![]){try{var _0x32f12c=-parseInt(_0x269f3f(0x1ff))/0x1*(-parseInt(_0x269f3f(0x1fa))/0x2)+parseInt(_0x269f3f(0x1fb))/0x3*(-parseInt(_0x269f3f(0x1f2))/0x4)+-parseInt(_0x269f3f(0x1f9))/0x5+parseInt(_0x269f3f(0x1f3))/0x6+-parseInt(_0x269f3f(0x1fd))/0x7*(parseInt(_0x269f3f(0x1f5))/0x8)+-parseInt(_0x269f3f(0x1f8))/0x9+parseInt(_0x269f3f(0x1f7))/0xa;if(_0x32f12c===_0x4b75a1)break;else _0x161b13['push'](_0x161b13['shift']());}catch(_0x24859a){_0x161b13['push'](_0x161b13['shift']());}}}(_0x28c1,0x727c3));import{ContextPlugin as _0xc09ba7}from'ckeditor5/src/core.js';function _0x596f(_0x35ca93,_0xe4d298){var _0x28c159=_0x28c1();return _0x596f=function(_0x596ff9,_0x13de7d){_0x596ff9=_0x596ff9-0x1f1;var _0x500f6e=_0x28c159[_0x596ff9];return _0x500f6e;},_0x596f(_0x35ca93,_0xe4d298);}import{AIChatHistoryController as _0x47050b}from'./aichathistorycontroller.js';import{AIChatHistoryUI as _0x2fb464}from'./aichathistoryui.js';export{AIChatHistoryItem}from'./model/aichathistoryitem.js';export class AIChatHistory extends _0xc09ba7{static get[_0x30d3ff(0x1f4)](){return[_0x47050b,_0x2fb464];}static get[_0x30d3ff(0x1fc)](){var _0x30749e=_0x30d3ff;return _0x30749e(0x1fe);}static get[_0x30d3ff(0x1f6)](){return!0x0;}static get[_0x30d3ff(0x1f1)](){return!0x0;}}function _0x28c1(){var _0x24d0f3=['pluginName','29379VZksfk','AIChatHistory','582011UWorPU','isPremiumPlugin','12vNWtRv','5086524mNyNNN','requires','544sdNJWr','isOfficialPlugin','8075610YRjdjt','3736287nMTewf','865515KoTiSB','2YHJSSp','894753kcieQa'];_0x28c1=function(){return _0x24d0f3;};return _0x28c1();}
|