@ckeditor/ckeditor5-ai 47.5.0-alpha.7 → 47.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/dist/index.js +5 -5
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +15 -15
- package/src/aiactions/aiactions.js +1 -1
- package/src/aiactions/model/aiactionsinteraction.js +1 -1
- package/src/aiactions/model/aiactionsreply.js +1 -1
- package/src/aiassistant/adapters/aiadapter.js +1 -1
- package/src/aiassistant/adapters/aitextadapter.js +1 -1
- package/src/aiassistant/adapters/awstextadapter.js +1 -1
- package/src/aiassistant/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant/aiassistant.js +1 -1
- package/src/aiassistant/aiassistantediting.js +1 -1
- package/src/aiassistant/aiassistantui.js +1 -1
- package/src/aiassistant/legacyerrors.js +1 -1
- package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
- package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
- package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
- package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
- package/src/aiassistant/ui/form/aiformview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
- package/src/aiassistant/ui/form/prompthistory.js +1 -1
- package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
- package/src/aiassistant/utils/common-translations.js +1 -1
- package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
- package/src/aiballoon/aiballoon.js +1 -1
- package/src/aiballoon/ui/aiballoonview.js +1 -1
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatballoon.js +1 -1
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/ui/aichatballoonview.js +1 -1
- package/src/aichat/ui/aichatcontrolsview.js +1 -1
- package/src/aichat/ui/aichatfeedview.js +1 -1
- package/src/aichat/ui/aichatheaderview.js +1 -1
- package/src/aichat/ui/aichatview.js +1 -1
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
- package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
- package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcustomelementview.js +1 -1
- package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
- package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
- package/src/aichat/utils/eventnames.js +1 -1
- package/src/aichat/utils/promisequeue.js +1 -1
- package/src/aichathistory/aichathistory.js +1 -1
- package/src/aichathistory/aichathistorycontroller.js +1 -1
- package/src/aichathistory/aichathistoryui.js +1 -1
- package/src/aichathistory/model/aichathistoryconversations.js +1 -1
- package/src/aichathistory/model/aichathistoryitem.js +1 -1
- package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
- package/src/aichathistory/ui/aichathistorylistview.js +1 -1
- package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
- package/src/aichathistory/ui/aichathistoryview.js +1 -1
- package/src/aicore/aiconnector.d.ts +5 -2
- 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.d.ts +4 -2
- 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/aireviewcustomcheckrun.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
|
+
function _0x4462(){const _0x22b246=['search','children','62405400fhbskW','delegate','aiChatResources','11901768fjRZFz','length','_skeletonLoader','set','useDefaultFiltering','2291496QmjvUM','_createSkeletonView','setTemplate','isLoading','extendTemplate','div','_resourcesListView','ck\x20ck-search','14nxIrNk','_searchView','_source','loadResources','_createSearchSection','render','updateResourceState','getQuery','source','add','locale','has','addResourceToContext','searchInputVisibleFrom','ck-ai-chat-resources','fire','_createSearchView','286107IxVofL','_latestLoadResourcesUid','bindTemplate','8189150dxkKxU','53EhBYFa','highlightText','_searchSection','_searchInputVisibleFrom','65598rghooz','44ohACFj','loadSourceResources','ck-hidden','6674877LJMfVw','setResources','_createResourcesListView'];_0x4462=function(){return _0x22b246;};return _0x4462();}const _0x28e33c=_0x2034;(function(_0x2c0ac2,_0x474025){const _0x15c721=_0x2034,_0xde8ef2=_0x2c0ac2();while(!![]){try{const _0x4d948d=-parseInt(_0x15c721(0x19e))/0x1*(parseInt(_0x15c721(0x1a2))/0x2)+parseInt(_0x15c721(0x19a))/0x3*(parseInt(_0x15c721(0x1a3))/0x4)+-parseInt(_0x15c721(0x19d))/0x5+parseInt(_0x15c721(0x1b3))/0x6*(-parseInt(_0x15c721(0x1bb))/0x7)+-parseInt(_0x15c721(0x1ae))/0x8+-parseInt(_0x15c721(0x1a6))/0x9+parseInt(_0x15c721(0x1ab))/0xa;if(_0x4d948d===_0x474025)break;else _0xde8ef2['push'](_0xde8ef2['shift']());}catch(_0x371f62){_0xde8ef2['push'](_0xde8ef2['shift']());}}}(_0x4462,0xe0a98));import{View as _0x50be98,ViewCollection as _0x52c0a9}from'ckeditor5/src/ui.js';import{uid as _0x1b6214}from'ckeditor5/src/utils.js';function _0x2034(_0x3a56a4,_0x455ea5){const _0x4462a0=_0x4462();return _0x2034=function(_0x20349b,_0x4c7bae){_0x20349b=_0x20349b-0x192;let _0x107587=_0x4462a0[_0x20349b];return _0x107587;},_0x2034(_0x3a56a4,_0x455ea5);}import{AIChatContextResourcesListView as _0x22f11d}from'./aichatcontextresourceslistview.js';import{AIChatContextResourcesSearchInputView as _0x1425a2}from'./aichatresourcessearchinputview.js';import{AISkeletonView as _0x237c89,SKELETON_DEFINITIONS as _0x47fd27}from'../../../../aicore/ui/aiskeleton.js';export class AIChatContextResourcesView extends _0x50be98{[_0x28e33c(0x1bc)];[_0x28e33c(0x1a0)];[_0x28e33c(0x1a1)];[_0x28e33c(0x1b9)];[_0x28e33c(0x1b0)];[_0x28e33c(0x1bd)];[_0x28e33c(0x1aa)];[_0x28e33c(0x19b)]=null;constructor(_0x4ae152,_0x50649c){const _0x36dbff=_0x28e33c;super(_0x4ae152),this[_0x36dbff(0x1bd)]=_0x50649c[_0x36dbff(0x1c3)],this[_0x36dbff(0x1a1)]=_0x50649c[_0x36dbff(0x196)]??0x7,this[_0x36dbff(0x1b1)](_0x36dbff(0x1b6),!0x0),this[_0x36dbff(0x1bc)]=this[_0x36dbff(0x199)](),this[_0x36dbff(0x1a0)]=this[_0x36dbff(0x1bf)](),this[_0x36dbff(0x1b9)]=this[_0x36dbff(0x1a8)](),this[_0x36dbff(0x1b0)]=this[_0x36dbff(0x1b4)](),this[_0x36dbff(0x1aa)]=new _0x52c0a9([this[_0x36dbff(0x1b0)],this[_0x36dbff(0x1b9)]]),this[_0x36dbff(0x1b5)]({'tag':_0x36dbff(0x1b8),'attributes':{'class':_0x36dbff(0x197)},'children':this[_0x36dbff(0x1aa)]});}[_0x28e33c(0x199)](){const _0x360834=_0x28e33c;return new _0x1425a2(this[_0x360834(0x193)]);}[_0x28e33c(0x1bf)](){const _0x32c708=_0x28e33c,_0x20b808=new _0x50be98(this[_0x32c708(0x193)]);return _0x20b808[_0x32c708(0x1b5)]({'tag':_0x32c708(0x1b8),'attributes':{'class':_0x32c708(0x1ba)},'children':[this[_0x32c708(0x1bc)]]}),this[_0x32c708(0x1bc)]['on'](_0x32c708(0x1a9),(_0x515dec,_0x24021b)=>{const _0x141825=_0x32c708;this[_0x141825(0x1be)](_0x24021b),this[_0x141825(0x1bd)][_0x141825(0x1b2)]&&this[_0x141825(0x1b9)][_0x141825(0x19f)](_0x24021b);}),_0x20b808;}[_0x28e33c(0x1a8)](){const _0x265221=_0x28e33c,_0x70cb64=new _0x22f11d(this[_0x265221(0x193)],this[_0x265221(0x1bd)]);return _0x70cb64[_0x265221(0x1ac)](_0x265221(0x195))['to'](this),_0x70cb64[_0x265221(0x1b7)]({'attributes':{'class':this[_0x265221(0x19c)]['if'](_0x265221(0x1b6),_0x265221(0x1a5))}}),_0x70cb64;}[_0x28e33c(0x1b4)](){const _0x130176=_0x28e33c,_0xb5ab59=new _0x237c89(this[_0x130176(0x193)],_0x47fd27[_0x130176(0x1ad)]);return _0xb5ab59[_0x130176(0x1b7)]({'attributes':{'class':[this[_0x130176(0x19c)]['if'](_0x130176(0x1b6),_0x130176(0x1a5),_0x3b011f=>!_0x3b011f)]}}),_0xb5ab59;}[_0x28e33c(0x1c0)](){const _0x5b4118=_0x28e33c;super[_0x5b4118(0x1c0)](),this[_0x5b4118(0x1be)]('');}[_0x28e33c(0x1be)](_0x5a1865){const _0x34c27c=_0x28e33c,_0x5bdb88=_0x1b6214();this[_0x34c27c(0x19b)]=_0x5bdb88,this[_0x34c27c(0x198)](_0x34c27c(0x1a4),{'sourceId':this[_0x34c27c(0x1bd)]['id'],'query':_0x5a1865,'uid':_0x5bdb88}),this[_0x34c27c(0x1b6)]=!0x0;}[_0x28e33c(0x1a7)](_0x28a7fc,_0x320610){const _0x2d276b=_0x28e33c;if(_0x320610&&_0x320610!==this[_0x2d276b(0x19b)])return;const _0x3ceeaf=this[_0x2d276b(0x1bd)][_0x2d276b(0x1b2)]?this[_0x2d276b(0x1bc)][_0x2d276b(0x1c2)]():'';this[_0x2d276b(0x1b9)][_0x2d276b(0x1a7)](_0x28a7fc,_0x3ceeaf),_0x28a7fc[_0x2d276b(0x1af)]>=this[_0x2d276b(0x1a1)]&&!this[_0x2d276b(0x1aa)][_0x2d276b(0x194)](this[_0x2d276b(0x1a0)])&&this[_0x2d276b(0x1aa)][_0x2d276b(0x192)](this[_0x2d276b(0x1a0)],0x0),requestAnimationFrame(()=>{const _0x4ca804=_0x2d276b;this[_0x4ca804(0x1b6)]=!0x1;});}[_0x28e33c(0x1c1)](_0x5a132b,_0x1c5b3e){const _0xc06642=_0x28e33c;this[_0xc06642(0x1b9)][_0xc06642(0x1c1)](_0x5a132b,_0x1c5b3e);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x41f43d=_0x5768;(function(_0x74f1d9,_0x805f69){const _0x52cb1f=_0x5768,_0x6cfc4c=_0x74f1d9();while(!![]){try{const _0x3a2112=parseInt(_0x52cb1f(0x99))/0x1+parseInt(_0x52cb1f(0xb4))/0x2+-parseInt(_0x52cb1f(0xa9))/0x3+-parseInt(_0x52cb1f(0xa1))/0x4+parseInt(_0x52cb1f(0x9b))/0x5+-parseInt(_0x52cb1f(0x94))/0x6+-parseInt(_0x52cb1f(0xa4))/0x7;if(_0x3a2112===_0x805f69)break;else _0x6cfc4c['push'](_0x6cfc4c['shift']());}catch(_0x3387f6){_0x6cfc4c['push'](_0x6cfc4c['shift']());}}}(_0x212e,0x97922));import{HighlightedTextView as _0xdfbdc4,IconView as _0x5ce64d,ListItemView as _0x3a7a9d}from'ckeditor5/src/ui.js';import{escapeRegExp as _0x3660a1}from'es-toolkit/compat';import{AIContextItemType as _0x94f700}from'../../../../aicore/model/aicontext.js';function _0x5768(_0x20106a,_0x2c6b3a){const _0x212e27=_0x212e();return _0x5768=function(_0x576855,_0x470d24){_0x576855=_0x576855-0x90;let _0x3a04f0=_0x212e27[_0x576855];return _0x3a04f0;},_0x5768(_0x20106a,_0x2c6b3a);}import{IconFileUpload as _0x488478,IconCheck as _0x587715,IconDocument as _0x9b9c66,IconDocumentOutline as _0x380b0e,IconLink as _0x571f22}from'@ckeditor/ckeditor5-icons';const zr=_0x41f43d(0xa7),Jr=_0x41f43d(0xac),Kr=_0x41f43d(0x98),Nr=_0x41f43d(0x96);function _0x212e(){const _0x497fb9=['extendTemplate','DOCUMENT','1879020XjwIgO','isInContext','content','4123770NmWhlK','getResourceIcon','type','ck-ai-chat-resources__item','TEXT','934542BccIyq','bindTemplate','setTemplate','ck-ai-chat-resources__item--in-context','trim','set','execute','_updateIcon','_titleView','_createTitleView','resource','2356282KXkTHG','label','highlightText','text','render','_iconView','FILE','isVisible','div','898056VZtVJf','_createIconView','ck-ai-chat-resources__item__icon','span','ck-ai-chat-resources__item-title','170064RWOciv','ck-hidden','3963420kgXBcx','URL','updateResourceState','_setupTemplate'];_0x212e=function(){return _0x497fb9;};return _0x212e();}export class AIChatResourceListItemView extends _0x3a7a9d{[_0x41f43d(0xb3)];[_0x41f43d(0xb1)];[_0x41f43d(0x90)];constructor(_0x698133,_0x4c4019){const _0x19015c=_0x41f43d;super(_0x698133),this[_0x19015c(0xb3)]=_0x4c4019,this[_0x19015c(0xae)](_0x19015c(0xa2),!!_0x4c4019[_0x19015c(0xa2)]),this[_0x19015c(0xb1)]=this[_0x19015c(0xb2)](),this[_0x19015c(0x90)]=this[_0x19015c(0x95)](),this[_0x19015c(0x9e)]();}[_0x41f43d(0xb8)](){const _0x43d99e=_0x41f43d;super[_0x43d99e(0xb8)]();}[_0x41f43d(0xa5)](_0x24a18d){const _0x4cac27=_0x41f43d;if(_0x24a18d[_0x4cac27(0xa2)])return _0x587715;switch(_0x24a18d[_0x4cac27(0xa6)]){case _0x94f700[_0x4cac27(0xa0)]:return _0x9b9c66;case _0x94f700[_0x4cac27(0x9c)]:return _0x571f22;case _0x94f700[_0x4cac27(0x91)]:case _0x94f700[_0x4cac27(0xa8)]:return _0x488478;default:return _0x380b0e;}}[_0x41f43d(0xb6)](_0x5d8a70){const _0x354f36=_0x41f43d;if(!_0x5d8a70||''===_0x5d8a70[_0x354f36(0xad)]())return void this[_0x354f36(0xb1)][_0x354f36(0xb6)](null);const _0x90cdd3=new RegExp(_0x3660a1(_0x5d8a70),'gi');this[_0x354f36(0xb1)][_0x354f36(0xb6)](_0x90cdd3);}[_0x41f43d(0x9d)](_0x53c9aa){const _0x3107ea=_0x41f43d;this[_0x3107ea(0xb3)][_0x3107ea(0xa2)]=_0x53c9aa,this[_0x3107ea(0xa2)]=_0x53c9aa,this[_0x3107ea(0xb0)]();}[_0x41f43d(0xb2)](){const _0x1d927d=_0x41f43d,_0x5d1186=new _0xdfbdc4();return _0x5d1186[_0x1d927d(0xb7)]=this[_0x1d927d(0xb3)][_0x1d927d(0xb5)],_0x5d1186[_0x1d927d(0x9f)]({'tag':_0x1d927d(0x97),'attributes':{'class':[Kr]}}),_0x5d1186;}[_0x41f43d(0x95)](){const _0x25e575=_0x41f43d,_0x55ba1b=new _0x5ce64d();return _0x55ba1b[_0x25e575(0xa3)]=this[_0x25e575(0xa5)](this[_0x25e575(0xb3)]),_0x55ba1b;}[_0x41f43d(0x9e)](){const _0x287ad4=_0x41f43d,_0xe86865=this[_0x287ad4(0xaa)];this[_0x287ad4(0xab)]({'tag':_0x287ad4(0x93),'attributes':{'class':[zr,_0xe86865['if'](_0x287ad4(0x92),_0x287ad4(0x9a),_0xf839aa=>!_0xf839aa),_0xe86865['if'](_0x287ad4(0xa2),Jr)]},'children':[{'tag':_0x287ad4(0x93),'attributes':{'class':[Nr]},'children':[this[_0x287ad4(0x90)]]},this[_0x287ad4(0xb1)]],'on':{'click':_0xe86865['to'](_0x287ad4(0xaf))}});}[_0x41f43d(0xb0)](){const _0x180cb4=_0x41f43d;this[_0x180cb4(0x90)][_0x180cb4(0xa3)]=this[_0x180cb4(0xa5)](this[_0x180cb4(0xb3)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x585a36=_0x45ac;(function(_0x481797,_0x263fe3){const _0x47a2df=_0x45ac,_0x18cea2=_0x481797();while(!![]){try{const _0x3303d8=-parseInt(_0x47a2df(0x13d))/0x1+parseInt(_0x47a2df(0x14b))/0x2+parseInt(_0x47a2df(0x12d))/0x3*(-parseInt(_0x47a2df(0x147))/0x4)+parseInt(_0x47a2df(0x14d))/0x5+parseInt(_0x47a2df(0x136))/0x6*(-parseInt(_0x47a2df(0x131))/0x7)+-parseInt(_0x47a2df(0x12b))/0x8+parseInt(_0x47a2df(0x128))/0x9*(parseInt(_0x47a2df(0x142))/0xa);if(_0x3303d8===_0x263fe3)break;else _0x18cea2['push'](_0x18cea2['shift']());}catch(_0x5f1a60){_0x18cea2['push'](_0x18cea2['shift']());}}}(_0x1d0c,0xa211c));import{BalloonPanelView as _0x4003ab,ButtonView as _0x3589d1,clickOutsideHandler as _0x455e16,FormHeaderView as _0x297e12}from'ckeditor5/src/ui.js';function _0x45ac(_0x375842,_0x20dee6){const _0x1d0c53=_0x1d0c();return _0x45ac=function(_0x45acd6,_0x2330db){_0x45acd6=_0x45acd6-0x11d;let _0x42cb46=_0x1d0c53[_0x45acd6];return _0x42cb46;},_0x45ac(_0x375842,_0x20dee6);}import{IconPreviousArrow as _0x2788f3}from'@ckeditor/ckeditor5-icons';function _0x1d0c(){const _0x51b03b=['updateResourceState','destroy','ck-button-icon\x20ck-button-back','_bodyCollection','_sourceResourceBalloons','element','getLimiterElement','addResourceToContext','source','onBackToContext','showSourceResourcesBalloon','_createBalloonHeader','278667Flzxil','_getResourcesViewFromBalloon','_config','2584656jZPSND','searchInputVisibleFrom','1590INCbij','onLoadSourceResources','populateSourceResourceBalloon','ck-ai-chat-context-controls__source-balloon-panel','1860698PgGkTt','_locale','loadSourceResources','delete','pin','6JfDXby','onBalloonClosed','set','setResources','show','isVisible','_createBackButton','586648hYAfjT','_addSourceResourceContent','_createBalloonResourcesView','isAnyResourceBalloonVisible','extendTemplate','30wWkjsA','execute','content','children','once','528jWQWZP','_createSourceResourceBalloonPanel','ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_source','values','2402246ZslMlq','onResourceSelected','3076640kBbShS','change:isLoading','AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT','label','clear','_setupSingleResourceBalloonClickOutsideHandler','add','resource','closeSourceResourceBalloon','get','getTargetElement','hide'];_0x1d0c=function(){return _0x51b03b;};return _0x1d0c();}import{getTranslation as _0xe6798b}from'../../../../aicore/utils/common-translations.js';import{AIChatContextResourcesView as _0x39abda}from'./aichatcontextresourcesview.js';const Bc=_0x585a36(0x130),_c=_0x585a36(0x11e),mc=_0x585a36(0x149);export class AIChatResourcesBalloonView{[_0x585a36(0x120)]=new Map();[_0x585a36(0x11f)];[_0x585a36(0x132)];[_0x585a36(0x12a)];constructor(_0x3aa1f3,_0x5e02c6,_0x19e6da){const _0x26a7f2=_0x585a36;this[_0x26a7f2(0x132)]=_0x3aa1f3,this[_0x26a7f2(0x11f)]=_0x5e02c6,this[_0x26a7f2(0x12a)]=_0x19e6da;}[_0x585a36(0x126)]({source:_0x38313d,withBackButton:_0x859954}){const _0x48256c=_0x585a36;let _0x1f4c9e=this[_0x48256c(0x120)][_0x48256c(0x156)](_0x38313d['id']);_0x1f4c9e||(_0x1f4c9e=this[_0x48256c(0x148)](),this[_0x48256c(0x120)][_0x48256c(0x138)](_0x38313d['id'],_0x1f4c9e),this[_0x48256c(0x152)](_0x1f4c9e)),this[_0x48256c(0x13e)]({'balloonPanel':_0x1f4c9e,'source':_0x38313d,'withBackButton':_0x859954}),_0x1f4c9e[_0x48256c(0x13a)]();const _0x30c487=this[_0x48256c(0x12a)][_0x48256c(0x157)]();_0x30c487&&_0x1f4c9e[_0x48256c(0x135)]({'target':_0x30c487,'limiter':this[_0x48256c(0x12a)][_0x48256c(0x122)]()});}[_0x585a36(0x12f)](_0x59c076,_0x5e4a0e,_0x152eaf){const _0x3b0ef7=_0x585a36,_0x4594b2=this[_0x3b0ef7(0x120)][_0x3b0ef7(0x156)](_0x59c076);if(!_0x4594b2)return;const _0x2fd5ff=this[_0x3b0ef7(0x129)](_0x4594b2);_0x2fd5ff&&(_0x2fd5ff[_0x3b0ef7(0x139)](_0x5e4a0e,_0x152eaf),_0x2fd5ff[_0x3b0ef7(0x146)](_0x3b0ef7(0x14e),()=>{const _0x4699ef=_0x3b0ef7;_0x4594b2[_0x4699ef(0x135)]({'target':this[_0x4699ef(0x12a)][_0x4699ef(0x157)](),'limiter':this[_0x4699ef(0x12a)][_0x4699ef(0x122)]()});}));}[_0x585a36(0x155)](_0x158257){const _0x10a77f=_0x585a36,_0x3ed2de=this[_0x10a77f(0x120)][_0x10a77f(0x156)](_0x158257);_0x3ed2de&&requestAnimationFrame(()=>{const _0x3edb46=_0x10a77f;_0x3ed2de[_0x3edb46(0x158)](),this[_0x3edb46(0x120)][_0x3edb46(0x134)](_0x158257),this[_0x3edb46(0x12a)][_0x3edb46(0x137)]();});}[_0x585a36(0x140)](){const _0x414100=_0x585a36;for(const _0x3f499a of this[_0x414100(0x120)][_0x414100(0x14a)]())if(_0x3f499a[_0x414100(0x13b)])return!0x0;return!0x1;}[_0x585a36(0x159)](_0x35b812,_0x5e5f96,_0x479906){const _0x1f063d=_0x585a36,_0x5f1316=this[_0x1f063d(0x120)][_0x1f063d(0x156)](_0x35b812);if(!_0x5f1316||!_0x5f1316[_0x1f063d(0x13b)])return;const _0x33d2a1=this[_0x1f063d(0x12a)][_0x1f063d(0x157)]();if(!_0x33d2a1)return;_0x5f1316[_0x1f063d(0x135)]({'target':_0x33d2a1,'limiter':this[_0x1f063d(0x12a)][_0x1f063d(0x122)]()});const _0x4baf8f=this[_0x1f063d(0x129)](_0x5f1316);_0x4baf8f&&_0x4baf8f[_0x1f063d(0x159)](_0x5e5f96,_0x479906);}[_0x585a36(0x11d)](){const _0x22cb29=_0x585a36;for(const _0xa93cd2 of this[_0x22cb29(0x120)][_0x22cb29(0x14a)]())_0xa93cd2[_0x22cb29(0x11d)]();this[_0x22cb29(0x120)][_0x22cb29(0x151)]();}[_0x585a36(0x148)](){const _0x428a1c=_0x585a36,_0xda2eee=new _0x4003ab(this[_0x428a1c(0x132)]);return _0xda2eee[_0x428a1c(0x141)]({'attributes':{'class':Bc}}),this[_0x428a1c(0x11f)][_0x428a1c(0x153)](_0xda2eee),_0xda2eee;}[_0x585a36(0x13e)]({balloonPanel:_0x2380d0,source:_0x284128,withBackButton:_0x174599}){const _0xe82859=_0x585a36;_0x2380d0[_0xe82859(0x144)][_0xe82859(0x151)]();const _0x52b90b=this[_0xe82859(0x127)]({'balloonPanel':_0x2380d0,'source':_0x284128,'withBackButton':_0x174599});_0x2380d0[_0xe82859(0x144)][_0xe82859(0x153)](_0x52b90b);const _0xb5cd0c=this[_0xe82859(0x13f)](_0x284128);_0x2380d0[_0xe82859(0x144)][_0xe82859(0x153)](_0xb5cd0c);}[_0x585a36(0x127)]({balloonPanel:_0x1c885b,source:_0x16e662,withBackButton:_0xe931ac}){const _0x58f2b8=_0x585a36,_0xe1b164=new _0x297e12(this[_0x58f2b8(0x132)],{'label':_0x16e662[_0x58f2b8(0x150)],'class':mc});return _0xe931ac&&_0xe1b164[_0x58f2b8(0x145)][_0x58f2b8(0x153)](this[_0x58f2b8(0x13c)](_0x1c885b),0x0),_0xe1b164;}[_0x585a36(0x13c)](_0x4984e7){const _0x3ece1b=_0x585a36,_0x5bf49a=new _0x3589d1(this[_0x3ece1b(0x132)]);return _0x5bf49a[_0x3ece1b(0x138)]({'icon':_0x2788f3,'tooltip':_0xe6798b(this[_0x3ece1b(0x132)],_0x3ece1b(0x14f)),'tooltipPosition':'n','class':_c}),_0x5bf49a['on'](_0x3ece1b(0x143),()=>{const _0x3950d2=_0x3ece1b;_0x4984e7[_0x3950d2(0x158)](),this[_0x3950d2(0x12a)][_0x3950d2(0x125)]();}),_0x5bf49a;}[_0x585a36(0x13f)](_0x6b4de5){const _0x482f59=_0x585a36,_0x2a1a15=new _0x39abda(this[_0x482f59(0x132)],{'source':_0x6b4de5,'searchInputVisibleFrom':this[_0x482f59(0x12a)][_0x482f59(0x12c)]});return _0x2a1a15['on'](_0x482f59(0x133),(_0x54d67d,_0x5f4cc0)=>{const _0x44c127=_0x482f59;this[_0x44c127(0x12a)][_0x44c127(0x12e)](_0x5f4cc0);}),_0x2a1a15['on'](_0x482f59(0x123),(_0xfc95ae,_0x2bcc81)=>{const _0x379a9b=_0x482f59;this[_0x379a9b(0x12a)][_0x379a9b(0x14c)](_0x2bcc81[_0x379a9b(0x124)],_0x2bcc81[_0x379a9b(0x154)]),this[_0x379a9b(0x155)](_0x6b4de5['id']);}),_0x2a1a15;}[_0x585a36(0x129)](_0x23478c){const _0x4eb19f=_0x585a36,_0x17ae49=_0x23478c[_0x4eb19f(0x144)][_0x4eb19f(0x156)](0x1);return _0x17ae49 instanceof _0x39abda?_0x17ae49:null;}[_0x585a36(0x152)](_0x1c8754){const _0x25cc6e=_0x585a36;_0x455e16({'emitter':_0x1c8754,'contextElements':[_0x1c8754[_0x25cc6e(0x121)]],'callback':()=>{const _0x1cd32e=_0x25cc6e;_0x1c8754[_0x1cd32e(0x158)](),this[_0x1cd32e(0x12a)][_0x1cd32e(0x137)]();},'activator':()=>_0x1c8754[_0x25cc6e(0x13b)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ButtonView as
|
|
23
|
+
import{ButtonView as _0x40158f,IconView as _0x42da94,LabeledFieldView as _0x2133b8,createLabeledInputText as th}from'ckeditor5/src/ui.js';import{IconLoupe as _0x52762c,IconCancel as _0x30fb0a}from'ckeditor5/src/icons.js';import{getTranslation as _0x457d5c}from'../../../../aicore/utils/common-translations.js';export class AIChatContextResourcesSearchInputView extends _0x2133b8{['iconView'];['resetButtonView'];['_viewConfig'];constructor(_0x55eb50){const t=_0x55eb50['t'],_0x20ce69={'showResetButton':!0x0,'showIcon':!0x0,'creator':th,'label':_0x457d5c(_0x55eb50,'AI_CHAT_SEARCH_RESOURCES')};super(_0x55eb50,_0x20ce69['creator']),this['label']=_0x20ce69['label'],this['_viewConfig']=_0x20ce69,this['_viewConfig']['showIcon']&&this['_setupSearchIcon'](),this['_viewConfig']['showResetButton']&&this['_setupResetButton'](_0x55eb50,t),this['_setupEventListeners']();}['reset'](){this['fieldView']['reset'](),this['_viewConfig']['showResetButton']&&this['resetButtonView']&&(this['resetButtonView']['isVisible']=!0x1),this['search']('');}['search'](_0x4bf30b){this['fire']('search',_0x4bf30b);}['getQuery'](){return this['fieldView']['element']?.['value']||'';}['_setupSearchIcon'](){this['iconView']=new _0x42da94(),this['iconView']['content']=_0x52762c,this['fieldWrapperChildren']['add'](this['iconView'],0x0),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-icon'}});}['_setupResetButton'](_0x3b50b2,t){this['resetButtonView']=new _0x40158f(_0x3b50b2),this['resetButtonView']['set']({'label':t('Clear'),'icon':_0x30fb0a,'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',_0x4bce22=>!_0x4bce22),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 _0x387188=_0x5848;(function(_0x329785,_0x196278){const _0x113db3=_0x5848,_0x39993f=_0x329785();while(!![]){try{const _0x25dea5=-parseInt(_0x113db3(0x90))/0x1+-parseInt(_0x113db3(0xa0))/0x2+-parseInt(_0x113db3(0xab))/0x3*(-parseInt(_0x113db3(0x8e))/0x4)+-parseInt(_0x113db3(0x9b))/0x5*(-parseInt(_0x113db3(0x99))/0x6)+-parseInt(_0x113db3(0x9a))/0x7+-parseInt(_0x113db3(0x91))/0x8*(parseInt(_0x113db3(0xa4))/0x9)+-parseInt(_0x113db3(0x97))/0xa*(-parseInt(_0x113db3(0x95))/0xb);if(_0x25dea5===_0x196278)break;else _0x39993f['push'](_0x39993f['shift']());}catch(_0x278b77){_0x39993f['push'](_0x39993f['shift']());}}}(_0xdb84,0x4f540));function _0xdb84(){const _0x3d4341=['setContainerElement','ck-ai-chat__feed__context-chips','element','setTemplate','711930HLCCYJ','ck-ai-chat-context-controls__show-more-balloon-panel','div','ck-ai-chat-controls-button','884538KeThke','_createContextChips','_overflowManager','ck-ai-chat-context-chips-wrapper','ck-reset_all','createCollection','_contextChips','558168MQRyrF','render','locale','ck-ai-chat-controls_context_show-more-button','4RaSiKL','querySelector','514381KLAgrD','8VxQxze','ck-ai-chat-context-chips-wrapper-balloon','reorganizeChips','destroy','804012kJGSxw','_bodyCollection','210EFIlxS','add','357090AoCCyh','4241839VHPBvx','15YZAqWc'];_0xdb84=function(){return _0x3d4341;};return _0xdb84();}import{View as _0x4beaf0}from'ckeditor5/src/ui.js';function _0x5848(_0x27a788,_0x4f7409){const _0xdb8407=_0xdb84();return _0x5848=function(_0x584859,_0x3f6ffd){_0x584859=_0x584859-0x8b;let _0x41df14=_0xdb8407[_0x584859];return _0x41df14;},_0x5848(_0x27a788,_0x4f7409);}import{AIChatContextItemButtonView as _0x418e10}from'../controls/aichatcontextitembuttonview.js';import{AIChatChipsOverflowManager as _0x236862}from'../controls/aichatchipsoverflowmanager.js';const oc=_0x387188(0x9d),cc=_0x387188(0xa7),rc=_0x387188(0x92),Xo=_0x387188(0xa3),Do=_0x387188(0x8d),$o=_0x387188(0xa1);export class AIChatFeedContextChipsView extends _0x4beaf0{[_0x387188(0xaa)]=this[_0x387188(0xa9)]();[_0x387188(0xa6)];[_0x387188(0x96)];constructor(_0x409994,_0x14bc3e,_0x3b1259){const _0x551b8f=_0x387188;super(_0x409994),this[_0x551b8f(0x96)]=_0x3b1259,this[_0x551b8f(0xa5)](_0x14bc3e);const _0x14b6f9={'cssClasses':{'showMoreButton':Do,'showMoreBalloon':$o,'overflowContainer':rc,'controlsButton':Xo}};this[_0x551b8f(0xa6)]=new _0x236862(_0x409994,this[_0x551b8f(0xaa)],_0x14b6f9,this[_0x551b8f(0x96)],this),this[_0x551b8f(0x9f)]({'tag':_0x551b8f(0xa2),'attributes':{'class':[oc,'ck',_0x551b8f(0xa8)]},'children':[{'tag':_0x551b8f(0xa2),'attributes':{'class':cc},'children':this[_0x551b8f(0xaa)]}]});}[_0x387188(0x8b)](){const _0x2358f4=_0x387188;super[_0x2358f4(0x8b)]();const _0x2c933c=this[_0x2358f4(0x9e)][_0x2358f4(0x8f)]('.'+cc);_0x2c933c&&(this[_0x2358f4(0xa6)][_0x2358f4(0x9c)](_0x2c933c),this[_0x2358f4(0xa6)][_0x2358f4(0x93)]());}[_0x387188(0x94)](){const _0x357788=_0x387188;super[_0x357788(0x94)](),this[_0x357788(0xa6)][_0x357788(0x94)]();}[_0x387188(0xa5)](_0x144c8e){const _0x235992=_0x387188;for(const _0x8ba56b of _0x144c8e){const _0x53fdc8=new _0x418e10(this[_0x235992(0x8c)],_0x8ba56b,!0x0,!0x1);this[_0x235992(0xaa)][_0x235992(0x98)](_0x53fdc8);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x738b(){var _0x1dbdac=['3921hdUWlO','6pWoCqj','1379835ZKolVn','innerHTML','element','appendChild','1706720GvCKaB','529698mzLppB','extendTemplate','3155327QUMMBR','3328659jTKfOz','ck-ai-chat__feed__custom-element','110BAQYZZ','options','2tpdYGq','render','2268fDubIM','content','string','4810704ZakhvI'];_0x738b=function(){return _0x1dbdac;};return _0x738b();}var _0x24002f=_0x3b34;function _0x3b34(_0x5c2291,_0x104e21){var _0x738b9=_0x738b();return _0x3b34=function(_0x3b3474,_0xa0bdb1){_0x3b3474=_0x3b3474-0x138;var _0x4767c3=_0x738b9[_0x3b3474];return _0x4767c3;},_0x3b34(_0x5c2291,_0x104e21);}(function(_0x51d33b,_0x403e03){var _0x3c1d44=_0x3b34,_0x4133c9=_0x51d33b();while(!![]){try{var _0x5bb898=-parseInt(_0x3c1d44(0x139))/0x1*(parseInt(_0x3c1d44(0x140))/0x2)+-parseInt(_0x3c1d44(0x146))/0x3*(parseInt(_0x3c1d44(0x142))/0x4)+parseInt(_0x3c1d44(0x148))/0x5+parseInt(_0x3c1d44(0x147))/0x6*(-parseInt(_0x3c1d44(0x13b))/0x7)+parseInt(_0x3c1d44(0x145))/0x8+-parseInt(_0x3c1d44(0x13c))/0x9+parseInt(_0x3c1d44(0x138))/0xa*(parseInt(_0x3c1d44(0x13e))/0xb);if(_0x5bb898===_0x403e03)break;else _0x4133c9['push'](_0x4133c9['shift']());}catch(_0x4f8e1c){_0x4133c9['push'](_0x4133c9['shift']());}}}(_0x738b,0x78466));import{AIChatFeedItemView as _0x2f6061}from'./aichatfeeditemview.js';export class AIChatFeedCustomElementView extends _0x2f6061{constructor(_0x3e9ae3){var _0x5c543c=_0x3b34;super(_0x3e9ae3),this[_0x5c543c(0x13a)]({'attributes':{'class':[_0x5c543c(0x13d)]}});}async[_0x24002f(0x141)](){var _0x53a9f4=_0x24002f;super[_0x53a9f4(0x141)](),_0x53a9f4(0x144)==typeof this[_0x53a9f4(0x13f)][_0x53a9f4(0x143)]?this[_0x53a9f4(0x14a)][_0x53a9f4(0x149)]=this[_0x53a9f4(0x13f)][_0x53a9f4(0x143)]:this[_0x53a9f4(0x14a)][_0x53a9f4(0x14b)](this[_0x53a9f4(0x13f)][_0x53a9f4(0x143)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x7285ef=_0x14e9;(function(_0x515a1d,_0x1e2c59){var _0x439b08=_0x14e9,_0x111118=_0x515a1d();while(!![]){try{var _0x267147=parseInt(_0x439b08(0x1a9))/0x1*(parseInt(_0x439b08(0x197))/0x2)+parseInt(_0x439b08(0x1a3))/0x3*(parseInt(_0x439b08(0x1a4))/0x4)+-parseInt(_0x439b08(0x190))/0x5*(-parseInt(_0x439b08(0x1a6))/0x6)+parseInt(_0x439b08(0x19c))/0x7+-parseInt(_0x439b08(0x199))/0x8*(-parseInt(_0x439b08(0x193))/0x9)+parseInt(_0x439b08(0x194))/0xa*(parseInt(_0x439b08(0x19b))/0xb)+parseInt(_0x439b08(0x1a0))/0xc*(-parseInt(_0x439b08(0x1a2))/0xd);if(_0x267147===_0x1e2c59)break;else _0x111118['push'](_0x111118['shift']());}catch(_0x59472b){_0x111118['push'](_0x111118['shift']());}}}(_0x3db5,0x2271f));import{AIChatFeedItemView as _0x435b45}from'./aichatfeeditemview.js';function _0x3db5(){var _0x1ca23b=['164748Inypbz','initialContent','markAsDone','92FNntTh','20ttCTPq','element','options','412281Vlxriq','1198700ndEugQ','warning','render','3572boVpud','level','40IoKkXq','ck-ai-notification_warning','11SsEruX','43232NMPLem','extendTemplate','innerHTML','ck-ai-notification_error','57168cmKTMl','setContent','1859IfCrHq','48rZfIoh','48276BdrcTQ','ck-ai-notification'];_0x3db5=function(){return _0x1ca23b;};return _0x3db5();}function _0x14e9(_0x203ca2,_0x38e04f){var _0x3db5ce=_0x3db5();return _0x14e9=function(_0x14e972,_0x1c39ad){_0x14e972=_0x14e972-0x190;var _0x139a3f=_0x3db5ce[_0x14e972];return _0x139a3f;},_0x14e9(_0x203ca2,_0x38e04f);}export class AIChatFeedErrorItemView extends _0x435b45{constructor(_0x2f3a44){var _0x5dd082=_0x14e9;super(_0x2f3a44),this[_0x5dd082(0x19d)]({'attributes':{'class':[_0x5dd082(0x1a5),_0x5dd082(0x195)===_0x2f3a44[_0x5dd082(0x198)]?_0x5dd082(0x19a):_0x5dd082(0x19f)]}});}[_0x7285ef(0x196)](){var _0x5447c5=_0x7285ef;super[_0x5447c5(0x196)](),this[_0x5447c5(0x1a1)](this[_0x5447c5(0x192)][_0x5447c5(0x1a7)]),this[_0x5447c5(0x1a8)]();}[_0x7285ef(0x1a1)](_0x4d4316){var _0x647df9=_0x7285ef;this[_0x647df9(0x191)][_0x647df9(0x19e)]=_0x4d4316;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x59f5f9=_0x16cc;(function(_0x127b5c,_0x568aa2){const _0x49483d=_0x16cc,_0x20371d=_0x127b5c();while(!![]){try{const _0x35d9a8=parseInt(_0x49483d(0x13a))/0x1*(parseInt(_0x49483d(0x13d))/0x2)+parseInt(_0x49483d(0x12e))/0x3*(parseInt(_0x49483d(0x136))/0x4)+-parseInt(_0x49483d(0x132))/0x5*(parseInt(_0x49483d(0x12b))/0x6)+parseInt(_0x49483d(0x139))/0x7*(-parseInt(_0x49483d(0x128))/0x8)+parseInt(_0x49483d(0x126))/0x9*(-parseInt(_0x49483d(0x130))/0xa)+-parseInt(_0x49483d(0x127))/0xb*(-parseInt(_0x49483d(0x12d))/0xc)+parseInt(_0x49483d(0x129))/0xd;if(_0x35d9a8===_0x568aa2)break;else _0x20371d['push'](_0x20371d['shift']());}catch(_0x5c43f7){_0x20371d['push'](_0x20371d['shift']());}}}(_0x2d85,0xaefda));import{IconBulb as _0x28b0a2,IconWeb as _0x1a55b0}from'@ckeditor/ckeditor5-icons';function _0x2d85(){const _0x2b6edd=['push','ck-ai-chat__feed__interaction-header__capabilities__text','9GdSJxE','187CulDLf','8Vmabmk','14488682bDwHvj','setTemplate','100410LwmvTW','add','388092QCLPfi','10983NilyCT','AI_CHAT_FEED_REPLY_ITEM_USED_REASONING','3273330WUulqP','children','115FPYMqp','capabilities','ck-ai-chat__feed__interaction-header','ck-ai-chat__feed__interaction-header__capabilities','92oRRTVA','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH','4718154JRsgPs','2QerbCh','extendTemplate','span','354508oVnbLt','ck-hidden','content','div'];_0x2d85=function(){return _0x2b6edd;};return _0x2d85();}import{IconView as _0x3a400b,View as _0xaae253}from'ckeditor5/src/ui.js';function _0x16cc(_0x14bb6e,_0x19ca7c){const _0x2d85b4=_0x2d85();return _0x16cc=function(_0x16cc3c,_0x369f05){_0x16cc3c=_0x16cc3c-0x122;let _0x3a3cf7=_0x2d85b4[_0x16cc3c];return _0x3a3cf7;},_0x16cc(_0x14bb6e,_0x19ca7c);}import{AIChatFeedItemView as _0x5155e6}from'./aichatfeeditemview.js';import{getTranslation as _0x36eedc}from'../../../aicore/utils/common-translations.js';export class AIChatFeedInteractionHeaderView extends _0x5155e6{[_0x59f5f9(0x133)];constructor(_0x1daf4a,_0x58a179){const _0x2ba816=_0x59f5f9;super(_0x58a179);const {isWebSearchEnabled:_0x510ede,isReasoningEnabled:_0x30a605}=_0x58a179[_0x2ba816(0x133)],_0x135716=[];let _0x11a7e6='';_0x510ede&&_0x30a605?(_0x11a7e6=_0x36eedc(_0x1daf4a,_0x2ba816(0x137)),_0x135716[_0x2ba816(0x124)](aa(_0x1a55b0)),_0x135716[_0x2ba816(0x124)](aa(_0x28b0a2))):_0x510ede?(_0x11a7e6=_0x36eedc(_0x1daf4a,_0x2ba816(0x138)),_0x135716[_0x2ba816(0x124)](aa(_0x1a55b0))):_0x30a605&&(_0x11a7e6=_0x36eedc(_0x1daf4a,_0x2ba816(0x12f)),_0x135716[_0x2ba816(0x124)](aa(_0x28b0a2))),this[_0x2ba816(0x13b)]({'attributes':{'class':[_0x2ba816(0x134),_0x11a7e6?'':_0x2ba816(0x13e)]}});const _0x4a926a=new _0xaae253();_0x4a926a[_0x2ba816(0x12a)]({'tag':_0x2ba816(0x123),'attributes':{'class':['ck',_0x2ba816(0x135)]},'children':[..._0x135716,{'tag':_0x2ba816(0x13c),'attributes':{'class':[_0x2ba816(0x125)]},'children':[_0x11a7e6]}]}),this[_0x2ba816(0x131)][_0x2ba816(0x12c)](_0x4a926a),this[_0x2ba816(0x133)]=_0x58a179[_0x2ba816(0x133)];}}function aa(_0x364f3b){const _0x1337f0=_0x59f5f9,_0x1ab018=new _0x3a400b();return _0x1ab018[_0x1337f0(0x122)]=_0x364f3b,_0x1ab018;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2543cb=_0x2519;function _0x2519(_0x511f02,_0x59c1b1){const _0x5a249c=_0x5a24();return _0x2519=function(_0x251923,_0x14f831){_0x251923=_0x251923-0xc9;let _0x5d4b3a=_0x5a249c[_0x251923];return _0x5d4b3a;},_0x2519(_0x511f02,_0x59c1b1);}function _0x5a24(){const _0x3c39db=['1604895vavkty','[data-id]','isVisible','6AGslrp','animation:\x20ck-html-streamer-fade-in\x20.5s','1176918iXoLuo','element','stream','bindTemplate','children','354403fdudyT','cleanUpAnimations','forEach','div','ck-ai-chat__feed__item','querySelectorAll','12ObyohZ','ck-hidden','ck-ai-chat__feed__item_done','setTemplate','createCollection','399663XZWIpf','markAsDone','removeAttribute','options','ck-ai-chat__feed__text-item','content','streamIntoElement','6578424cikNXv','htmlStreamer','364519CaBItR','435552SqvWUn','isDone','data-id','set'];_0x5a24=function(){return _0x3c39db;};return _0x5a24();}(function(_0x271844,_0x9264b){const _0x297892=_0x2519,_0x16be38=_0x271844();while(!![]){try{const _0x53a102=parseInt(_0x297892(0xd4))/0x1+parseInt(_0x297892(0xde))/0x2+-parseInt(_0x297892(0xcb))/0x3*(-parseInt(_0x297892(0xe9))/0x4)+parseInt(_0x297892(0xd9))/0x5*(-parseInt(_0x297892(0xdc))/0x6)+-parseInt(_0x297892(0xe3))/0x7+parseInt(_0x297892(0xd5))/0x8+-parseInt(_0x297892(0xd2))/0x9;if(_0x53a102===_0x9264b)break;else _0x16be38['push'](_0x16be38['shift']());}catch(_0x329548){_0x16be38['push'](_0x16be38['shift']());}}}(_0x5a24,0x4a59d));import{View as _0xea39ae}from'ckeditor5/src/ui.js';import{HTMLStreamer as _0x3b80bd}from'../../../aicore/utils/htmlstreamer.js';export class AIChatFeedItemView extends _0xea39ae{[_0x2543cb(0xce)];[_0x2543cb(0xd0)]='';[_0x2543cb(0xd3)];[_0x2543cb(0xe2)];constructor(_0x3d5137){const _0x5bae1c=_0x2543cb;super();const _0x1bd4b6=this[_0x5bae1c(0xe1)];this[_0x5bae1c(0xd8)](_0x5bae1c(0xd6),!0x1),this[_0x5bae1c(0xd8)](_0x5bae1c(0xdb),!0x0),this[_0x5bae1c(0xd3)]=new _0x3b80bd({'textNodeStyle':_0x5bae1c(0xdd),'delay':0x14}),this[_0x5bae1c(0xce)]=_0x3d5137,this[_0x5bae1c(0xe2)]=this[_0x5bae1c(0xca)](),this[_0x5bae1c(0xc9)]({'tag':_0x5bae1c(0xe6),'attributes':{'class':['ck',_0x5bae1c(0xe7),_0x1bd4b6['if'](_0x5bae1c(0xd6),_0x5bae1c(0xeb)),_0x1bd4b6['if'](_0x5bae1c(0xdb),_0x5bae1c(0xea),_0x109779=>!_0x109779),_0x5bae1c(0xcf)],'data-cke-ai-id':this[_0x5bae1c(0xce)]['id']},'children':this[_0x5bae1c(0xe2)]});}[_0x2543cb(0xcc)](){const _0x97352b=_0x2543cb;this[_0x97352b(0xd3)][_0x97352b(0xe4)]({'targetElement':this[_0x97352b(0xdf)]}),this[_0x97352b(0xdf)][_0x97352b(0xe8)](_0x97352b(0xda))[_0x97352b(0xe5)](_0x18a1a1=>{const _0x37cfd5=_0x97352b;_0x18a1a1[_0x37cfd5(0xcd)](_0x37cfd5(0xd7));}),this[_0x97352b(0xd6)]=!0x0;}async[_0x2543cb(0xd1)](_0x4045f0,_0x2880d3,_0x5b97e8){const _0x28e205=_0x2543cb;await this[_0x28e205(0xd3)][_0x28e205(0xe0)]({'document':_0x4045f0,'targetElement':_0x2880d3,'abortSignal':_0x5b97e8});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0xf221b7=_0xde9b;(function(_0x12ddf0,_0x3fc685){const _0x42bbb9=_0xde9b,_0x3035d7=_0x12ddf0();while(!![]){try{const _0x51a73a=-parseInt(_0x42bbb9(0xa4))/0x1*(-parseInt(_0x42bbb9(0xa1))/0x2)+parseInt(_0x42bbb9(0xb4))/0x3*(-parseInt(_0x42bbb9(0x9e))/0x4)+-parseInt(_0x42bbb9(0xaf))/0x5+-parseInt(_0x42bbb9(0x96))/0x6*(parseInt(_0x42bbb9(0xb5))/0x7)+parseInt(_0x42bbb9(0x98))/0x8*(parseInt(_0x42bbb9(0x91))/0x9)+-parseInt(_0x42bbb9(0x9b))/0xa+-parseInt(_0x42bbb9(0xa0))/0xb*(-parseInt(_0x42bbb9(0xb2))/0xc);if(_0x51a73a===_0x3fc685)break;else _0x3035d7['push'](_0x3035d7['shift']());}catch(_0x1f4a2f){_0x3035d7['push'](_0x3035d7['shift']());}}}(_0x418e,0xd3293));function _0x418e(){const _0xd0abef=['2012fzgvfO','streamIntoElement','8349IJbNrH','1140658bhShJh','div','streaming','1xsdNzu','element','updateSources','initialContent','addMany','add','balloonPanelView','children','innerHTML','updateContent','ck-reset_all-excluded','998305AUuGyU','static','map','34572vfbcGG','render','4650BxVmWg','3150fFHgGT','setTemplate','4095numDaN','markAsDone','replyContainer','ck-ai-chat__feed__ai-reply-container','locale','2544TSCJYK','_bodyCollection','13088foVMDl','extendTemplate','ck-ai-chat__feed__ai-reply','14663620rhgJkw','options','isVisible'];_0x418e=function(){return _0xd0abef;};return _0x418e();}import{AIChatFeedItemView as _0x11e081}from'./aichatfeeditemview.js';import{parse as _0x327998,render as _0x4d90e}from'../../../aicore/utils/htmlparser.js';function _0xde9b(_0x358bf0,_0x553401){const _0x418e5d=_0x418e();return _0xde9b=function(_0xde9b94,_0x19bbf8){_0xde9b94=_0xde9b94-0x91;let _0x75f35e=_0x418e5d[_0xde9b94];return _0x75f35e;},_0xde9b(_0x358bf0,_0x553401);}import{View as _0x16c167}from'ckeditor5/src/ui.js';import{AIWebSourcesView as _0x2c2807,AIWebSourceView as _0x51ae12}from'../../../aicore/ui/suggestioncontainer/aiwebsourcesview.js';export class AIChatFeedReplyItemView extends _0x11e081{[_0xf221b7(0x93)];[_0xf221b7(0x97)];constructor(_0x2e92a8,_0x7a2779,_0x192a57){const _0x189968=_0xf221b7;super(_0x7a2779),this[_0x189968(0x97)]=_0x192a57,this[_0x189968(0x95)]=_0x2e92a8,this[_0x189968(0x99)]({'attributes':{'class':[_0x189968(0x9a)]}}),this[_0x189968(0x93)]=new _0x16c167(),this[_0x189968(0x93)][_0x189968(0xb6)]({'tag':_0x189968(0xa2),'attributes':{'class':['ck',_0x189968(0xae),_0x189968(0x94)]}}),this[_0x189968(0xab)][_0x189968(0xa9)](this[_0x189968(0x93)]);}async[_0xf221b7(0xb3)](){const _0x3540dc=_0xf221b7;super[_0x3540dc(0xb3)](),this[_0x3540dc(0x9c)][_0x3540dc(0xa7)]&&(await this[_0x3540dc(0xad)]({'parsedContent':_0x327998(this[_0x3540dc(0x9c)][_0x3540dc(0xa7)]),'renderingStrategy':_0x3540dc(0xb0)}),this[_0x3540dc(0x92)]());}async[_0xf221b7(0xad)]({parsedContent:_0x22befe,renderingStrategy:_0x15fb3d,abortSignal:_0xa7dd68}){const _0x4ac809=_0xf221b7;_0x4ac809(0xa3)===_0x15fb3d?await this[_0x4ac809(0x9f)](_0x22befe,this[_0x4ac809(0x93)][_0x4ac809(0xa5)],_0xa7dd68):this[_0x4ac809(0x93)][_0x4ac809(0xa5)][_0x4ac809(0xac)]=_0x4d90e(_0x22befe);}[_0xf221b7(0xa6)](_0x215ca2){const _0x397980=_0xf221b7,_0x6e7cec=new _0x2c2807(this[_0x397980(0x95)],this[_0x397980(0x97)]);_0x6e7cec[_0x397980(0xab)][_0x397980(0xa8)](_0x215ca2[_0x397980(0xb1)](_0xb6483f=>new _0x51ae12(this[_0x397980(0x95)],_0xb6483f,_0x6e7cec[_0x397980(0xaa)]))),_0x6e7cec[_0x397980(0x9d)]=!0x0,this[_0x397980(0xab)][_0x397980(0xa9)](_0x6e7cec);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x4aaf31=_0x1db7;(function(_0x1a22e9,_0x101183){const _0x113bf5=_0x1db7,_0xae23c5=_0x1a22e9();while(!![]){try{const _0x57c5d9=-parseInt(_0x113bf5(0x113))/0x1*(parseInt(_0x113bf5(0x120))/0x2)+parseInt(_0x113bf5(0x13c))/0x3*(-parseInt(_0x113bf5(0x115))/0x4)+parseInt(_0x113bf5(0x12f))/0x5*(parseInt(_0x113bf5(0x121))/0x6)+-parseInt(_0x113bf5(0x123))/0x7*(parseInt(_0x113bf5(0x139))/0x8)+parseInt(_0x113bf5(0x12c))/0x9*(-parseInt(_0x113bf5(0x133))/0xa)+parseInt(_0x113bf5(0x13d))/0xb+parseInt(_0x113bf5(0x114))/0xc;if(_0x57c5d9===_0x101183)break;else _0xae23c5['push'](_0xae23c5['shift']());}catch(_0x5cdd96){_0xae23c5['push'](_0xae23c5['shift']());}}}(_0x53d4,0x9a595));import{ButtonView as _0xfc3c67,View as _0x50af6d}from'ckeditor5/src/ui.js';import{getTranslation as _0x149155}from'../../../aicore/utils/common-translations.js';function _0x1db7(_0x509f4c,_0x437dbc){const _0x53d456=_0x53d4();return _0x1db7=function(_0x1db742,_0x5eefed){_0x1db742=_0x1db742-0x112;let _0x2f43cc=_0x53d456[_0x1db742];return _0x2f43cc;},_0x1db7(_0x509f4c,_0x437dbc);}import{IconInfo as _0x535f05}from'ckeditor5/src/icons.js';export const AI_REPLY_ACTIONS=[_0x4aaf31(0x138),_0x4aaf31(0x128)];function _0x53d4(){const _0x566d5d=['ck-ai-chat__feed__ai-suggestion__actions','_applyChangesButton','AI_SUGGESTION_DISABLED_TOOLTIP_MESSAGE','AI_CHAT_SUGGESTION_ACTION_APPLY_ALL','set','34UzutXs','6YVGltg','add','31906qNiZGQ','_insertSuggestionsButton','updateVisibility','ck-ai-chat__feed__suggestion__actions__info','isVisible','insertSuggestion','ck-hidden','execute','button','7467048JHknwU','locale','AI_CHAT_SUGGESTION_ACTION_SUGGEST_ALL','1696635WLtrYV','AI_CHAT_SUGGESTION_ACTION_APPLY','label','_switchButtonLabelsPlurality','10nhRmzZ','AI_CHAT_SUGGESTION_ACTION_SUGGEST','fire','includes','ck-ai-button-secondary','applySuggestion','1264XnPkcj','isTrackChangesOn','addMany','2188722NYgmal','7383343AHulAO','createCollection','change:isTrackChangesOn','children','ck-ai-button-primary','setTemplate','div','68812TOgGqu','36850644cXuQsw','4SFlKwR','forEach','AI_SUGGESTION_DISABLED_FEED_MESSAGE','isEnabled','bind','bindTemplate'];_0x53d4=function(){return _0x566d5d;};return _0x53d4();}export class AIChatFeedSuggestionItemActionsView extends _0x50af6d{[_0x4aaf31(0x11c)];[_0x4aaf31(0x124)];[_0x4aaf31(0x140)];constructor(_0x4c1e56,_0xac0abb=[...AI_REPLY_ACTIONS],_0x58d6a0){const _0x31124c=_0x4aaf31;super(_0x4c1e56);const _0x2f4a99=this[_0x31124c(0x11a)],_0x5cdb2a=Boolean(_0x58d6a0);if(this[_0x31124c(0x11f)](_0x31124c(0x118),!_0x5cdb2a),this[_0x31124c(0x11f)](_0x31124c(0x127),!0x1),this[_0x31124c(0x11f)](_0x31124c(0x13a),!0x1),this[_0x31124c(0x140)]=this[_0x31124c(0x13e)](),_0x5cdb2a){const _0x3daed0=new _0xfc3c67(_0x4c1e56);_0x3daed0[_0x31124c(0x11f)]({'label':_0x149155(_0x4c1e56,_0x31124c(0x11d)),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x535f05});const _0x321e93=new _0x50af6d(_0x4c1e56);_0x321e93[_0x31124c(0x142)]({'tag':_0x31124c(0x112),'attributes':{'class':_0x31124c(0x126)},'children':[{'tag':'p','children':[_0x149155(_0x4c1e56,_0x31124c(0x117)),_0x3daed0]}]}),this[_0x31124c(0x140)][_0x31124c(0x122)](_0x321e93);}else this[_0x31124c(0x11c)]=new _0xfc3c67(_0x4c1e56),this[_0x31124c(0x11c)][_0x31124c(0x11f)]({'label':_0x149155(_0x4c1e56,_0x31124c(0x11e)),'withText':!0x0,'type':_0x31124c(0x12b),'isVisible':_0xac0abb[_0x31124c(0x136)](_0x31124c(0x138)),'class':_0x31124c(0x141)}),this[_0x31124c(0x124)]=new _0xfc3c67(_0x4c1e56),this[_0x31124c(0x124)][_0x31124c(0x11f)]({'label':_0x149155(_0x4c1e56,_0x31124c(0x12e)),'withText':!0x0,'type':_0x31124c(0x12b),'isVisible':_0xac0abb[_0x31124c(0x136)](_0x31124c(0x128)),'class':_0x31124c(0x137)}),this[_0x31124c(0x124)]['on'](_0x31124c(0x12a),()=>{const _0x52a37d=_0x31124c;this[_0x52a37d(0x135)](_0x52a37d(0x128));}),this[_0x31124c(0x11c)]['on'](_0x31124c(0x12a),()=>{const _0x52ba8c=_0x31124c;this[_0x52ba8c(0x135)](_0x52ba8c(0x138));}),[this[_0x31124c(0x11c)],this[_0x31124c(0x124)]][_0x31124c(0x116)](_0x1a6f49=>{const _0x37e178=_0x31124c;_0x1a6f49[_0x37e178(0x119)](_0x37e178(0x118))['to'](this);}),this[_0x31124c(0x140)][_0x31124c(0x13b)]([this[_0x31124c(0x11c)],this[_0x31124c(0x124)]]);this[_0x31124c(0x142)]({'tag':_0x31124c(0x112),'attributes':{'class':['ck',_0x31124c(0x11b),_0x2f4a99['if'](_0x31124c(0x127),_0x31124c(0x129),_0x28bbf4=>!_0x28bbf4)]},'children':this[_0x31124c(0x140)]}),this['on'](_0x31124c(0x13f),()=>{const _0x382789=_0x31124c;this[_0x382789(0x11c)]&&(this[_0x382789(0x11c)][_0x382789(0x127)]=!this[_0x382789(0x13a)]);});}[_0x4aaf31(0x125)](_0x375b66){const _0x45d498=_0x4aaf31;this[_0x45d498(0x127)]=_0x375b66;}[_0x4aaf31(0x132)](_0x1ebc08){const _0x3827b2=_0x4aaf31;this[_0x3827b2(0x11c)]&&this[_0x3827b2(0x124)]&&(_0x1ebc08?(this[_0x3827b2(0x11c)][_0x3827b2(0x131)]=_0x149155(this[_0x3827b2(0x12d)],_0x3827b2(0x11e)),this[_0x3827b2(0x124)][_0x3827b2(0x131)]=_0x149155(this[_0x3827b2(0x12d)],_0x3827b2(0x12e))):(this[_0x3827b2(0x11c)][_0x3827b2(0x131)]=_0x149155(this[_0x3827b2(0x12d)],_0x3827b2(0x130)),this[_0x3827b2(0x124)][_0x3827b2(0x131)]=_0x149155(this[_0x3827b2(0x12d)],_0x3827b2(0x134))));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x3df169=_0x411a;(function(_0x30aabb,_0x5d5603){var _0x5d2c34=_0x411a,_0x1b6cc3=_0x30aabb();while(!![]){try{var _0x3f769d=parseInt(_0x5d2c34(0x80))/0x1+-parseInt(_0x5d2c34(0x74))/0x2+parseInt(_0x5d2c34(0x75))/0x3*(-parseInt(_0x5d2c34(0x6c))/0x4)+-parseInt(_0x5d2c34(0x83))/0x5*(parseInt(_0x5d2c34(0x85))/0x6)+-parseInt(_0x5d2c34(0x6a))/0x7*(parseInt(_0x5d2c34(0x8e))/0x8)+-parseInt(_0x5d2c34(0x7d))/0x9+parseInt(_0x5d2c34(0x6d))/0xa;if(_0x3f769d===_0x5d5603)break;else _0x1b6cc3['push'](_0x1b6cc3['shift']());}catch(_0x3e1818){_0x1b6cc3['push'](_0x1b6cc3['shift']());}}}(_0x4216,0xd21d8));import{AIChatFeedItemView as _0x36e144}from'./aichatfeeditemview.js';function _0x411a(_0x4b3128,_0x387116){var _0x421687=_0x4216();return _0x411a=function(_0x411ad9,_0x531e63){_0x411ad9=_0x411ad9-0x68;var _0x7a6ab3=_0x421687[_0x411ad9];return _0x7a6ab3;},_0x411a(_0x4b3128,_0x387116);}function _0x4216(){var _0x1ee170=['3jkHhjS','updateSources','showDiff','dislike','availableActions','bind','ck-ai-chat__feed__ai-suggestion','like','12870954aAJEAA','set','fire','1285069OtijDR','mouseOverSuggestion','mouseLeaveSuggestion','5AdUJHK','showChangeInText','1160136pxeMgP','extendTemplate','addMany','options','updateContent','bodyView','updatePartState','areActionsDisabled','toggleSuggestionDisplayMode','891496JYvlna','children','setPartActive','35CRYeAL','containerView','608692pzIGYV','23526070rgWUVr','rejectSuggestion','isTrackChangesOn','applySuggestion','markAsDone','insertSuggestion','getPartView','888448DoWPta'];_0x4216=function(){return _0x1ee170;};return _0x4216();}import{AISuggestionContainerView as _0x35ca32}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';export class AIChatFeedSuggestionItemView extends _0x36e144{[_0x3df169(0x6b)];constructor(_0x31e6ad,_0x28a9a0,_0x3b4164){var _0x4feb5e=_0x3df169;super(_0x28a9a0),this[_0x4feb5e(0x7e)](_0x4feb5e(0x6f),!0x1),this[_0x4feb5e(0x6b)]=new _0x35ca32(_0x31e6ad,{'showDiff':_0x28a9a0[_0x4feb5e(0x77)],'areActionsDisabled':_0x28a9a0[_0x4feb5e(0x8c)],'availableActions':_0x28a9a0[_0x4feb5e(0x79)]},_0x3b4164),this[_0x4feb5e(0x6b)]['on'](_0x4feb5e(0x8d),(_0x498553,_0xb6d6e7)=>{var _0x17066f=_0x4feb5e;this[_0x17066f(0x7f)](_0x17066f(0x8d),{'replyId':this[_0x17066f(0x88)]['id'],'showDiff':_0xb6d6e7[_0x17066f(0x77)]});}),this[_0x4feb5e(0x6b)][_0x4feb5e(0x7a)](_0x4feb5e(0x6f))['to'](this),this[_0x4feb5e(0x6b)]['on'](_0x4feb5e(0x7c),()=>{var _0x25ab51=_0x4feb5e;this[_0x25ab51(0x7f)](_0x25ab51(0x7c),{'replyId':this[_0x25ab51(0x88)]['id']});}),this[_0x4feb5e(0x6b)]['on'](_0x4feb5e(0x78),()=>{var _0x34243f=_0x4feb5e;this[_0x34243f(0x7f)](_0x34243f(0x78),{'replyId':this[_0x34243f(0x88)]['id']});}),this[_0x4feb5e(0x6b)]['on'](_0x4feb5e(0x84),(_0x2ad2c6,{index:_0x3fa57e})=>{var _0x12da1b=_0x4feb5e;this[_0x12da1b(0x7f)](_0x12da1b(0x84),{'replyId':this[_0x12da1b(0x88)]['id'],'partIndex':_0x3fa57e});}),this[_0x4feb5e(0x6b)]['on'](_0x4feb5e(0x70),(_0x59c582,{index:_0x5af42c}={})=>{var _0x173383=_0x4feb5e;this[_0x173383(0x7f)](_0x173383(0x70),{'replyId':this[_0x173383(0x88)]['id'],'partIndex':_0x5af42c});}),this[_0x4feb5e(0x6b)]['on'](_0x4feb5e(0x72),(_0x5cf6d0,{index:_0x2b6bad}={})=>{var _0x42f5a1=_0x4feb5e;this[_0x42f5a1(0x7f)](_0x42f5a1(0x72),{'replyId':this[_0x42f5a1(0x88)]['id'],'partIndex':_0x2b6bad});}),this[_0x4feb5e(0x6b)]['on'](_0x4feb5e(0x6e),(_0x3dde7b,{index:_0x198800})=>{var _0x190ba8=_0x4feb5e;this[_0x190ba8(0x7f)](_0x190ba8(0x6e),{'replyId':this[_0x190ba8(0x88)]['id'],'partIndex':_0x198800});}),this[_0x4feb5e(0x6b)]['on'](_0x4feb5e(0x81),(_0x5b4095,{index:_0x1b104a})=>{var _0x2c3768=_0x4feb5e;this[_0x2c3768(0x7f)](_0x2c3768(0x81),{'replyId':this[_0x2c3768(0x88)]['id'],'partIndex':_0x1b104a});}),this[_0x4feb5e(0x6b)]['on'](_0x4feb5e(0x82),(_0x27d43a,{index:_0x37c2d6})=>{var _0x275ab0=_0x4feb5e;this[_0x275ab0(0x7f)](_0x275ab0(0x82),{'replyId':this[_0x275ab0(0x88)]['id'],'partIndex':_0x37c2d6});}),this[_0x4feb5e(0x68)][_0x4feb5e(0x87)]([this[_0x4feb5e(0x6b)]]),this[_0x4feb5e(0x86)]({'attributes':{'class':[_0x4feb5e(0x7b)]}});}async[_0x3df169(0x89)](_0x3ebb2f){var _0x45a705=_0x3df169;await this[_0x45a705(0x6b)][_0x45a705(0x89)](_0x3ebb2f);}[_0x3df169(0x8b)](_0x44e320,_0x59d62b){var _0x30a907=_0x3df169;this[_0x30a907(0x6b)][_0x30a907(0x8a)][_0x30a907(0x8b)](_0x44e320,_0x59d62b);}[_0x3df169(0x69)](_0x54fe95,_0x37ff3e){var _0x5f360f=_0x3df169;!0x1===_0x54fe95?this[_0x5f360f(0x6b)][_0x5f360f(0x8a)][_0x5f360f(0x69)](!0x1):this[_0x5f360f(0x6b)][_0x5f360f(0x8a)][_0x5f360f(0x69)](_0x54fe95,_0x37ff3e);}[_0x3df169(0x76)](_0x237303){var _0x253be2=_0x3df169;this[_0x253be2(0x6b)][_0x253be2(0x76)](_0x237303);}[_0x3df169(0x73)](_0x5081f7){var _0x5c6107=_0x3df169;return this[_0x5c6107(0x6b)][_0x5c6107(0x8a)][_0x5c6107(0x73)](_0x5081f7);}[_0x3df169(0x71)](){var _0x191a68=_0x3df169;super[_0x191a68(0x71)](),this[_0x191a68(0x6b)][_0x191a68(0x71)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x3198(_0x25fcb6,_0xa09d66){var _0x32acdd=_0x32ac();return _0x3198=function(_0x319873,_0x309ab5){_0x319873=_0x319873-0x154;var _0x67a502=_0x32acdd[_0x319873];return _0x67a502;},_0x3198(_0x25fcb6,_0xa09d66);}var _0x2d933b=_0x3198;(function(_0x15e8b9,_0x5e189f){var _0x31fb63=_0x3198,_0xf2d583=_0x15e8b9();while(!![]){try{var _0x2a2189=-parseInt(_0x31fb63(0x161))/0x1*(-parseInt(_0x31fb63(0x156))/0x2)+parseInt(_0x31fb63(0x16a))/0x3+-parseInt(_0x31fb63(0x15f))/0x4+parseInt(_0x31fb63(0x172))/0x5+-parseInt(_0x31fb63(0x158))/0x6*(-parseInt(_0x31fb63(0x16d))/0x7)+-parseInt(_0x31fb63(0x159))/0x8*(parseInt(_0x31fb63(0x167))/0x9)+-parseInt(_0x31fb63(0x176))/0xa*(parseInt(_0x31fb63(0x170))/0xb);if(_0x2a2189===_0x5e189f)break;else _0xf2d583['push'](_0xf2d583['shift']());}catch(_0x2568fb){_0xf2d583['push'](_0xf2d583['shift']());}}}(_0x32ac,0x91835));function _0x32ac(){var _0x4a16ce=['10sBhsmi','initialContent','ck-ai-chat__feed__message-content','1365938MEVdRf','_createContextChipsView','6GZdLWH','261344TtPOMF','contextItems','_messageContentView','_locale','div','options','1881052NREGVd','length','1SSlknn','_createMessageContentView','_contextChipsView','add','element','setTemplate','81SmppzA','extendTemplate','children','412038rDSecE','_bodyCollection','render','2300669QxnxMF','markAsDone','innerHTML','5308897bWJtSd','filter','3469705sSWdYH','ck-ai-chat__feed__user-message','hidden','ck-ai-chat__feed__context-chips'];_0x32ac=function(){return _0x4a16ce;};return _0x32ac();}import{AIChatFeedItemView as _0x3b35f8}from'./aichatfeeditemview.js';import{AIChatFeedContextChipsView as _0x59e24d}from'./aichatfeedcontextchipsview.js';import{View as _0x51901b}from'ckeditor5/src/ui.js';export class AIChatFeedUserMessageItemView extends _0x3b35f8{[_0x2d933b(0x163)]=null;[_0x2d933b(0x15c)];[_0x2d933b(0x16b)];[_0x2d933b(0x15b)];constructor(_0x2a186c,_0x49a21b,_0x4a8b85){var _0x225ad3=_0x2d933b;super(_0x49a21b),this[_0x225ad3(0x15c)]=_0x2a186c,this[_0x225ad3(0x16b)]=_0x4a8b85,this[_0x225ad3(0x157)](),this[_0x225ad3(0x162)](),this[_0x225ad3(0x168)]({'attributes':{'class':[_0x225ad3(0x173)]}});}[_0x2d933b(0x157)](){var _0x25a976=_0x2d933b;this[_0x25a976(0x15e)][_0x25a976(0x15a)]&&this[_0x25a976(0x15e)][_0x25a976(0x15a)][_0x25a976(0x160)]>0x0&&(this[_0x25a976(0x163)]=new _0x59e24d(this[_0x25a976(0x15c)],this[_0x25a976(0x15e)][_0x25a976(0x15a)][_0x25a976(0x171)](_0x39086e=>!_0x39086e[_0x25a976(0x174)]),this[_0x25a976(0x16b)]),this[_0x25a976(0x163)][_0x25a976(0x168)]({'attributes':{'class':_0x25a976(0x175)}}),this[_0x25a976(0x169)][_0x25a976(0x164)](this[_0x25a976(0x163)]));}[_0x2d933b(0x162)](){var _0x2d5b5a=_0x2d933b;this[_0x2d5b5a(0x15b)]=new _0x51901b(this[_0x2d5b5a(0x15c)]),this[_0x2d5b5a(0x15b)][_0x2d5b5a(0x166)]({'tag':_0x2d5b5a(0x15d),'attributes':{'class':_0x2d5b5a(0x155)}}),this[_0x2d5b5a(0x169)][_0x2d5b5a(0x164)](this[_0x2d5b5a(0x15b)]);}[_0x2d933b(0x16c)](){var _0x3170a8=_0x2d933b;super[_0x3170a8(0x16c)](),this[_0x3170a8(0x15b)][_0x3170a8(0x165)][_0x3170a8(0x16f)]=this[_0x3170a8(0x15e)][_0x3170a8(0x154)],this[_0x3170a8(0x16e)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4c9d6b=_0x3906;(function(_0x46f374,_0x4e0292){const _0x3ac393=_0x3906,_0x2c8097=_0x46f374();while(!![]){try{const _0x142aa1=-parseInt(_0x3ac393(0xfe))/0x1+parseInt(_0x3ac393(0x110))/0x2*(-parseInt(_0x3ac393(0x10f))/0x3)+parseInt(_0x3ac393(0x113))/0x4+parseInt(_0x3ac393(0x104))/0x5*(-parseInt(_0x3ac393(0xff))/0x6)+-parseInt(_0x3ac393(0x106))/0x7+parseInt(_0x3ac393(0x107))/0x8*(-parseInt(_0x3ac393(0x10b))/0x9)+-parseInt(_0x3ac393(0x112))/0xa*(-parseInt(_0x3ac393(0x10e))/0xb);if(_0x142aa1===_0x4e0292)break;else _0x2c8097['push'](_0x2c8097['shift']());}catch(_0x505c00){_0x2c8097['push'](_0x2c8097['shift']());}}}(_0x3024,0xe1722));import{AI_SUGGESTION_UI_EVENT_NAMES as _0x26c48b}from'../../aicore/utils/eventnames.js';function _0x3906(_0x243889,_0x338fd2){const _0x3024f0=_0x3024();return _0x3906=function(_0x39065c,_0x49ef7b){_0x39065c=_0x39065c-0xfb;let _0x4c9b40=_0x3024f0[_0x39065c];return _0x4c9b40;},_0x3906(_0x243889,_0x338fd2);}function _0x3024(){const _0x55b033=['3vtPwid','3292264DNfScH','selectModel','13027370GITAKO','6833016yVxZHa','toggleReasoning','removeContextItem','executeCustomItemCallback','1506093TOWkOQ','18192EOSJIc','addDocumentToContext','addFileToContext','sendUserMessage','resizeTabs','2095aqDVXU','abortPromptStream','10878028RaKryw','153112ydiVYo','addUrlToContext','startConversation','toggleWebSearch','9rEMLza','addResourceToContext','loadSourceResources','44BQjWks'];_0x3024=function(){return _0x55b033;};return _0x3024();}export const AI_CHAT_UI_EVENT_NAMES=[..._0x26c48b,_0x4c9d6b(0x109),_0x4c9d6b(0x103),_0x4c9d6b(0x102),_0x4c9d6b(0x105),_0x4c9d6b(0x100),_0x4c9d6b(0x101),_0x4c9d6b(0x108),_0x4c9d6b(0xfd),_0x4c9d6b(0x10c),_0x4c9d6b(0xfc),_0x4c9d6b(0x10d),_0x4c9d6b(0x10a),_0x4c9d6b(0xfb),_0x4c9d6b(0x111)];
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x82615b=_0x1334;function _0x1334(_0x4b91db,_0x57e607){const _0x3f8904=_0x3f89();return _0x1334=function(_0x133459,_0x18d805){_0x133459=_0x133459-0x1b1;let _0x289cdd=_0x3f8904[_0x133459];return _0x289cdd;},_0x1334(_0x4b91db,_0x57e607);}function _0x3f89(){const _0x7e4b97=['queue','18chKBHS','535845ixkbLJ','7875210MrAYIf','push','abort','enqueue','reject','2346ytvzKr','completePromise','signal','11JMqPpX','1677411FZvFTq','queueEmptyPromise','fire','_abortController','shift','callback','9449448vIMmnS','6748eNBvMq','createTask','4wGFFRY','_processQueue','once','isProcessing','6EqWwqd','326794DeQDmc','resolve','length','3321288wbCJMH','_queueEmpty'];_0x3f89=function(){return _0x7e4b97;};return _0x3f89();}(function(_0x4687d5,_0x462c4f){const _0x5cb2eb=_0x1334,_0x3693b9=_0x4687d5();while(!![]){try{const _0x35533d=parseInt(_0x5cb2eb(0x1bb))/0x1*(-parseInt(_0x5cb2eb(0x1ba))/0x2)+-parseInt(_0x5cb2eb(0x1cc))/0x3*(-parseInt(_0x5cb2eb(0x1b6))/0x4)+-parseInt(_0x5cb2eb(0x1c2))/0x5+parseInt(_0x5cb2eb(0x1c8))/0x6*(parseInt(_0x5cb2eb(0x1b4))/0x7)+parseInt(_0x5cb2eb(0x1be))/0x8*(-parseInt(_0x5cb2eb(0x1c1))/0x9)+parseInt(_0x5cb2eb(0x1c3))/0xa+parseInt(_0x5cb2eb(0x1cb))/0xb*(parseInt(_0x5cb2eb(0x1b3))/0xc);if(_0x35533d===_0x462c4f)break;else _0x3693b9['push'](_0x3693b9['shift']());}catch(_0x1b235d){_0x3693b9['push'](_0x3693b9['shift']());}}}(_0x3f89,0x90d0b));import{EmitterMixin as _0x4ca0f1}from'ckeditor5/src/utils.js';export class PromiseQueue extends _0x4ca0f1(){[_0x82615b(0x1c0)]=[];[_0x82615b(0x1b9)]=!0x1;[_0x82615b(0x1cf)];async[_0x82615b(0x1c6)](_0x557d6f){const _0x340b86=_0x82615b,_0x4406dc=this[_0x340b86(0x1b5)](_0x557d6f);return this[_0x340b86(0x1c0)][_0x340b86(0x1c4)](_0x4406dc),this[_0x340b86(0x1b7)](),_0x4406dc[_0x340b86(0x1c9)];}[_0x82615b(0x1c5)](){const _0x3a6fce=_0x82615b;this[_0x3a6fce(0x1b9)]&&(this[_0x3a6fce(0x1cf)][_0x3a6fce(0x1c5)](),this[_0x3a6fce(0x1cf)]=void 0x0,this[_0x3a6fce(0x1c0)]=[],this[_0x3a6fce(0x1ce)](_0x3a6fce(0x1bf)),this[_0x3a6fce(0x1b9)]=!0x1);}get[_0x82615b(0x1cd)](){const _0x2cd387=_0x82615b;return this[_0x2cd387(0x1c0)][_0x2cd387(0x1bd)]||this[_0x2cd387(0x1b9)]?new Promise(_0x8c783d=>{const _0x514eef=_0x2cd387;this[_0x514eef(0x1b8)](_0x514eef(0x1bf),()=>{_0x8c783d();});}):Promise[_0x2cd387(0x1bc)]();}async[_0x82615b(0x1b7)](){const _0x31e55b=_0x82615b;if(!this[_0x31e55b(0x1b9)]){this[_0x31e55b(0x1cf)]=new AbortController(),this[_0x31e55b(0x1b9)]=!0x0;try{for(;this[_0x31e55b(0x1c0)][_0x31e55b(0x1bd)]&&this[_0x31e55b(0x1b9)];){const _0x1ed8c8=this[_0x31e55b(0x1c0)][_0x31e55b(0x1b1)]();try{await _0x1ed8c8[_0x31e55b(0x1b2)](this[_0x31e55b(0x1cf)][_0x31e55b(0x1ca)]),_0x1ed8c8[_0x31e55b(0x1bc)]();}catch(_0xa1d1eb){_0x1ed8c8[_0x31e55b(0x1c7)](_0xa1d1eb);}}}finally{this[_0x31e55b(0x1b9)]=!0x1,this[_0x31e55b(0x1cf)]=void 0x0;}this[_0x31e55b(0x1ce)](_0x31e55b(0x1bf));}}[_0x82615b(0x1b5)](_0x2ede9b){let _0x3a3ce6,_0xf8ca7a;const _0x36f998=new Promise((_0x49a3bb,_0x132cd3)=>{_0x3a3ce6=_0x49a3bb,_0xf8ca7a=_0x132cd3;});return{'callback':_0x2ede9b,'resolve':_0x3a3ce6,'reject':_0xf8ca7a,'completePromise':_0x36f998};}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x382c1a=_0x1310;function _0x4e70(){var _0x10d0d1=['922440Famoyx','requires','58051jDQeFF','77dpvVVq','5467980SOhNxs','8AgmgXy','17030kliHgy','8neBwIm','728885dCmAqu','pluginName','136KSciWM','isPremiumPlugin','AIChatHistory','126eINtSe','isOfficialPlugin','69078ReWvdE','75537wvhgVv'];_0x4e70=function(){return _0x10d0d1;};return _0x4e70();}function _0x1310(_0x1ba715,_0x4bd919){var _0x4e70b8=_0x4e70();return _0x1310=function(_0x1310a7,_0x1a299d){_0x1310a7=_0x1310a7-0xc5;var _0x5911fb=_0x4e70b8[_0x1310a7];return _0x5911fb;},_0x1310(_0x1ba715,_0x4bd919);}(function(_0x486b10,_0xc1507a){var _0xa6bb0e=_0x1310,_0x570b2c=_0x486b10();while(!![]){try{var _0x251f72=parseInt(_0xa6bb0e(0xcf))/0x1*(parseInt(_0xa6bb0e(0xd2))/0x2)+parseInt(_0xa6bb0e(0xcd))/0x3+parseInt(_0xa6bb0e(0xd4))/0x4*(-parseInt(_0xa6bb0e(0xd5))/0x5)+parseInt(_0xa6bb0e(0xcb))/0x6*(parseInt(_0xa6bb0e(0xc9))/0x7)+-parseInt(_0xa6bb0e(0xc6))/0x8*(-parseInt(_0xa6bb0e(0xcc))/0x9)+-parseInt(_0xa6bb0e(0xd3))/0xa*(-parseInt(_0xa6bb0e(0xd0))/0xb)+-parseInt(_0xa6bb0e(0xd1))/0xc;if(_0x251f72===_0xc1507a)break;else _0x570b2c['push'](_0x570b2c['shift']());}catch(_0x52a0dc){_0x570b2c['push'](_0x570b2c['shift']());}}}(_0x4e70,0x25abd));import{ContextPlugin as _0x3e911c}from'ckeditor5/src/core.js';import{AIChatHistoryController as _0xfc8b}from'./aichathistorycontroller.js';import{AIChatHistoryUI as _0x14b7d9}from'./aichathistoryui.js';export{AIChatHistoryItem}from'./model/aichathistoryitem.js';export class AIChatHistory extends _0x3e911c{static get[_0x382c1a(0xce)](){return[_0xfc8b,_0x14b7d9];}static get[_0x382c1a(0xc5)](){var _0x19f1e0=_0x382c1a;return _0x19f1e0(0xc8);}static get[_0x382c1a(0xca)](){return!0x0;}static get[_0x382c1a(0xc7)](){return!0x0;}}
|