@ckeditor/ckeditor5-ai 47.6.0-alpha.2 → 47.6.0-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/dist/index.js +5 -5
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +15 -15
- package/src/aiactions/aiactions.js +1 -1
- package/src/aiactions/model/aiactionsinteraction.js +1 -1
- package/src/aiactions/model/aiactionsreply.js +1 -1
- package/src/aiassistant/adapters/aiadapter.js +1 -1
- package/src/aiassistant/adapters/aitextadapter.js +1 -1
- package/src/aiassistant/adapters/awstextadapter.js +1 -1
- package/src/aiassistant/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant/aiassistant.js +1 -1
- package/src/aiassistant/aiassistantediting.js +1 -1
- package/src/aiassistant/aiassistantui.js +1 -1
- package/src/aiassistant/legacyerrors.js +1 -1
- package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
- package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
- package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
- package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
- package/src/aiassistant/ui/form/aiformview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
- package/src/aiassistant/ui/form/prompthistory.js +1 -1
- package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
- package/src/aiassistant/utils/common-translations.js +1 -1
- package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
- package/src/aiballoon/aiballoon.js +1 -1
- package/src/aiballoon/ui/aiballoonview.js +1 -1
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatballoon.js +1 -1
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/ui/aichatballoonview.js +1 -1
- package/src/aichat/ui/aichatcontrolsview.js +1 -1
- package/src/aichat/ui/aichatfeedview.js +1 -1
- package/src/aichat/ui/aichatheaderview.js +1 -1
- package/src/aichat/ui/aichatview.js +1 -1
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
- package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
- package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcustomelementview.js +1 -1
- package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
- package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
- package/src/aichat/utils/eventnames.js +1 -1
- package/src/aichat/utils/promisequeue.js +1 -1
- package/src/aichathistory/aichathistory.js +1 -1
- package/src/aichathistory/aichathistorycontroller.js +1 -1
- package/src/aichathistory/aichathistoryui.js +1 -1
- package/src/aichathistory/model/aichathistoryconversations.js +1 -1
- package/src/aichathistory/model/aichathistoryitem.js +1 -1
- package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
- package/src/aichathistory/ui/aichathistorylistview.js +1 -1
- package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
- package/src/aichathistory/ui/aichathistoryview.js +1 -1
- package/src/aichatshortcuts/aichatshortcuts.d.ts +8 -4
- package/src/aichatshortcuts/aichatshortcuts.js +1 -1
- package/src/aichatshortcuts/ui/aichatshortcutsview.js +1 -1
- package/src/aichatshortcuts/ui/aichatshortcutview.js +1 -1
- package/src/aicore/aiconnector.js +1 -1
- package/src/aicore/aiediting.js +1 -1
- package/src/aicore/model/aicapabilities.js +1 -1
- package/src/aicore/model/aicontext.js +1 -1
- package/src/aicore/model/aiinteraction.js +1 -1
- package/src/aicore/model/aimodels.js +1 -1
- package/src/aicore/model/aireply.js +1 -1
- package/src/aicore/pipeline/airesponseapplier.js +2 -2
- package/src/aicore/pipeline/airesponseparser.js +2 -2
- package/src/aicore/ui/aidisclaimerview.js +1 -1
- package/src/aicore/ui/aiskeleton.js +1 -1
- package/src/aicore/ui/aispinner.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartheaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.js +1 -1
- package/src/aicore/utils/common-translations.js +1 -1
- package/src/aicore/utils/createresizebutton.js +1 -1
- package/src/aicore/utils/documentposition.js +1 -1
- package/src/aicore/utils/documentrange.js +1 -1
- package/src/aicore/utils/eventnames.js +1 -1
- package/src/aicore/utils/geteditorfromcontext.js +1 -1
- package/src/aicore/utils/getoperationsfromreply.js +1 -1
- package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
- package/src/aicore/utils/htmlparser.js +1 -1
- package/src/aicore/utils/htmlstreamer.js +1 -1
- package/src/aicore/utils/scrollmanager.js +1 -1
- package/src/aieditorintegration/aieditorintegration.js +1 -1
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
- package/src/aiquickactions/aiquickactions.js +1 -1
- package/src/aiquickactions/aiquickactionscommand.js +1 -1
- package/src/aiquickactions/aiquickactionsediting.js +1 -1
- package/src/aiquickactions/aiquickactionsui.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoondisclaimerview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoontoolbarview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoonview.js +1 -1
- package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
- package/src/aireviewcore/aireviewcorecontroller.js +1 -1
- package/src/aireviewcore/aireviewcoreediting.js +1 -1
- package/src/aireviewcore/aireviewcoreui.js +1 -1
- package/src/aireviewcore/model/aireviewcheck.js +1 -1
- package/src/aireviewcore/model/aireviewchecklist.js +1 -1
- package/src/aireviewcore/model/aireviewcheckresult.js +1 -1
- package/src/aireviewcore/model/aireviewcheckresultchange.js +1 -1
- package/src/aireviewcore/model/aireviewcheckrun.js +1 -1
- package/src/aireviewcore/model/aireviewsystemcheckrun.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreballoonsuggestionview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorechecklistitemresultview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorecustomcheckview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorefinishreviewbuttonview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoregeneralerrorview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorepromptinputview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewchecklistview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewcommandlistitemview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewcompletedview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreuicheckresultsview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreview.js +1 -1
- package/src/aireviewcore/ui/form/aireviewcoreformdropdown.js +1 -1
- package/src/aireviewcore/ui/form/aireviewcoreformmanager.js +1 -1
- package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
- package/src/aireviewmode/aireviewmode.js +1 -1
- package/src/aireviewmode/aireviewmodecontroller.js +1 -1
- package/src/aireviewmode/aireviewmodeui.js +1 -1
- package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
- package/src/aireviewmode/model/aireviewcheckextra.js +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewextracheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewmodechecklist.js +1 -1
- package/src/aitabs/aitabs.js +1 -1
- package/src/aitabs/aitabsmainview.js +1 -1
- package/src/aitabs/tabs/aitabsview.js +1 -1
- package/src/aitabs/tabs/tabbuttonview.js +1 -1
- package/src/aitabs/tabs/tabpanelview.js +1 -1
- package/src/aitranslate/aitranslate.js +1 -1
- package/src/aitranslate/aitranslatecontroller.js +1 -1
- package/src/aitranslate/aitranslateui.js +1 -1
- package/src/aitranslate/model/aitranslatecheck.js +1 -1
- package/src/aitranslate/model/aitranslatechecklist.js +1 -1
- package/src/aitranslate/model/aitranslatecheckrun.js +1 -1
- package/src/aitranslate/ui/aitranslatechecklistview.js +1 -1
- package/src/aitranslate/ui/aitranslatecheckresultsview.js +1 -1
- package/src/errors.js +1 -1
- package/src/errorsmap.js +1 -1
- package/src/index.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0xa6db09=_0x4ff9;(function(_0x4e8470,_0xbfa38){const _0x5e802c=_0x4ff9,_0x36bf9c=_0x4e8470();while(!![]){try{const _0x442caf=-parseInt(_0x5e802c(0x205))/0x1+parseInt(_0x5e802c(0x1d8))/0x2+-parseInt(_0x5e802c(0x1f1))/0x3+-parseInt(_0x5e802c(0x1da))/0x4+parseInt(_0x5e802c(0x1fc))/0x5*(-parseInt(_0x5e802c(0x1f5))/0x6)+-parseInt(_0x5e802c(0x1ef))/0x7*(-parseInt(_0x5e802c(0x1f3))/0x8)+parseInt(_0x5e802c(0x1f4))/0x9;if(_0x442caf===_0xbfa38)break;else _0x36bf9c['push'](_0x36bf9c['shift']());}catch(_0x40e450){_0x36bf9c['push'](_0x36bf9c['shift']());}}}(_0x2918,0x2fdbc));import{View as _0x5dff72,ViewCollection as _0x25802c}from'ckeditor5/src/ui.js';function _0x2918(){const _0x4c0d4e=['90OiTFqD','delegate','_skeletonLoader','source','locale','_searchSection','children','25775XRUuQC','has','render','_createSearchView','loadSourceResources','isLoading','ck-hidden','_resourcesListView','addResourceToContext','170053eCgwGu','bindTemplate','ck\x20ck-search','_searchInputVisibleFrom','110780loMIvA','_searchView','497716rScfIU','_source','length','searchInputVisibleFrom','setTemplate','aiChatResources','fire','getQuery','_createSkeletonView','_createSearchSection','loadResources','useDefaultFiltering','search','set','_latestLoadResourcesUid','div','add','ck-ai-chat-resources','setResources','extendTemplate','highlightText','7nusFjD','_createResourcesListView','323151ituUcO','updateResourceState','230168ZTVqki','5322519TzFsDX'];_0x2918=function(){return _0x4c0d4e;};return _0x2918();}import{uid as _0x2cb31f}from'ckeditor5/src/utils.js';import{AIChatContextResourcesListView as _0x5d5ed2}from'./aichatcontextresourceslistview.js';import{AIChatContextResourcesSearchInputView as _0x1367df}from'./aichatresourcessearchinputview.js';function _0x4ff9(_0x55e218,_0x4cfdd3){const _0x2918f6=_0x2918();return _0x4ff9=function(_0x4ff908,_0x202dc4){_0x4ff908=_0x4ff908-0x1d6;let _0x5eaeec=_0x2918f6[_0x4ff908];return _0x5eaeec;},_0x4ff9(_0x55e218,_0x4cfdd3);}import{AISkeletonView as _0x48d0b2,SKELETON_DEFINITIONS as _0x520e42}from'../../../../aicore/ui/aiskeleton.js';export class AIChatContextResourcesView extends _0x5dff72{[_0xa6db09(0x1d9)];[_0xa6db09(0x1fa)];[_0xa6db09(0x1d7)];[_0xa6db09(0x203)];[_0xa6db09(0x1f7)];[_0xa6db09(0x1db)];[_0xa6db09(0x1fb)];[_0xa6db09(0x1e8)]=null;constructor(_0x152e4e,_0x4649f8){const _0x506ee=_0xa6db09;super(_0x152e4e),this[_0x506ee(0x1db)]=_0x4649f8[_0x506ee(0x1f8)],this[_0x506ee(0x1d7)]=_0x4649f8[_0x506ee(0x1dd)]??0x7,this[_0x506ee(0x1e7)](_0x506ee(0x201),!0x0),this[_0x506ee(0x1d9)]=this[_0x506ee(0x1ff)](),this[_0x506ee(0x1fa)]=this[_0x506ee(0x1e3)](),this[_0x506ee(0x203)]=this[_0x506ee(0x1f0)](),this[_0x506ee(0x1f7)]=this[_0x506ee(0x1e2)](),this[_0x506ee(0x1fb)]=new _0x25802c([this[_0x506ee(0x1f7)],this[_0x506ee(0x203)]]),this[_0x506ee(0x1de)]({'tag':_0x506ee(0x1e9),'attributes':{'class':_0x506ee(0x1eb)},'children':this[_0x506ee(0x1fb)]});}[_0xa6db09(0x1ff)](){const _0x79ac78=_0xa6db09;return new _0x1367df(this[_0x79ac78(0x1f9)]);}[_0xa6db09(0x1e3)](){const _0x23c3ec=_0xa6db09,_0x23302f=new _0x5dff72(this[_0x23c3ec(0x1f9)]);return _0x23302f[_0x23c3ec(0x1de)]({'tag':_0x23c3ec(0x1e9),'attributes':{'class':_0x23c3ec(0x1d6)},'children':[this[_0x23c3ec(0x1d9)]]}),this[_0x23c3ec(0x1d9)]['on'](_0x23c3ec(0x1e6),(_0x226cc8,_0x2e9724)=>{const _0x1e54cc=_0x23c3ec;this[_0x1e54cc(0x1e4)](_0x2e9724),this[_0x1e54cc(0x1db)][_0x1e54cc(0x1e5)]&&this[_0x1e54cc(0x203)][_0x1e54cc(0x1ee)](_0x2e9724);}),_0x23302f;}[_0xa6db09(0x1f0)](){const _0x49f0af=_0xa6db09,_0x5b67b6=new _0x5d5ed2(this[_0x49f0af(0x1f9)],this[_0x49f0af(0x1db)]);return _0x5b67b6[_0x49f0af(0x1f6)](_0x49f0af(0x204))['to'](this),_0x5b67b6[_0x49f0af(0x1ed)]({'attributes':{'class':this[_0x49f0af(0x206)]['if'](_0x49f0af(0x201),_0x49f0af(0x202))}}),_0x5b67b6;}[_0xa6db09(0x1e2)](){const _0x437787=_0xa6db09,_0x1c8c35=new _0x48d0b2(this[_0x437787(0x1f9)],_0x520e42[_0x437787(0x1df)]);return _0x1c8c35[_0x437787(0x1ed)]({'attributes':{'class':[this[_0x437787(0x206)]['if'](_0x437787(0x201),_0x437787(0x202),_0x3c1d4a=>!_0x3c1d4a)]}}),_0x1c8c35;}[_0xa6db09(0x1fe)](){const _0x5b6346=_0xa6db09;super[_0x5b6346(0x1fe)](),this[_0x5b6346(0x1e4)]('');}[_0xa6db09(0x1e4)](_0x383739){const _0x2d21e2=_0xa6db09,_0x355890=_0x2cb31f();this[_0x2d21e2(0x1e8)]=_0x355890,this[_0x2d21e2(0x1e0)](_0x2d21e2(0x200),{'sourceId':this[_0x2d21e2(0x1db)]['id'],'query':_0x383739,'uid':_0x355890}),this[_0x2d21e2(0x201)]=!0x0;}[_0xa6db09(0x1ec)](_0x2cdf5b,_0x4842ff){const _0x4b9fb4=_0xa6db09;if(_0x4842ff&&_0x4842ff!==this[_0x4b9fb4(0x1e8)])return;const _0x29a5da=this[_0x4b9fb4(0x1db)][_0x4b9fb4(0x1e5)]?this[_0x4b9fb4(0x1d9)][_0x4b9fb4(0x1e1)]():'';this[_0x4b9fb4(0x203)][_0x4b9fb4(0x1ec)](_0x2cdf5b,_0x29a5da),_0x2cdf5b[_0x4b9fb4(0x1dc)]>=this[_0x4b9fb4(0x1d7)]&&!this[_0x4b9fb4(0x1fb)][_0x4b9fb4(0x1fd)](this[_0x4b9fb4(0x1fa)])&&this[_0x4b9fb4(0x1fb)][_0x4b9fb4(0x1ea)](this[_0x4b9fb4(0x1fa)],0x0),requestAnimationFrame(()=>{const _0x1fede2=_0x4b9fb4;this[_0x1fede2(0x201)]=!0x1;});}[_0xa6db09(0x1f2)](_0x282928,_0x85106c){const _0xf74552=_0xa6db09;this[_0xf74552(0x203)][_0xf74552(0x1f2)](_0x282928,_0x85106c);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x4b44(){const _0x22ee94=['_iconView','text','isInContext','highlightText','627452uqpUYU','204GKWThv','updateResourceState','ck-ai-chat-resources__item-title','_updateIcon','10JIpMoR','FILE','DOCUMENT','ck-ai-chat-resources__item--in-context','208104YCTthe','_createTitleView','19485ToslZk','span','4751754eQBrqz','ck-ai-chat-resources__item__icon','ck-ai-chat-resources__item','trim','_createIconView','resource','setTemplate','_setupTemplate','22169lcGJwt','3760MMSwrh','set','div','execute','isVisible','URL','ck-hidden','TEXT','bindTemplate','getResourceIcon','3718590GuYBtT','_titleView','type','content','render','extendTemplate','1698202ORROuz','label'];_0x4b44=function(){return _0x22ee94;};return _0x4b44();}const _0x4088f4=_0x353a;function _0x353a(_0x228759,_0x920a75){const _0x4b4473=_0x4b44();return _0x353a=function(_0x353a69,_0xe39d4f){_0x353a69=_0x353a69-0x94;let _0x4753ac=_0x4b4473[_0x353a69];return _0x4753ac;},_0x353a(_0x228759,_0x920a75);}(function(_0x251b06,_0x41800f){const _0x23097d=_0x353a,_0xc2c853=_0x251b06();while(!![]){try{const _0x28a37d=-parseInt(_0x23097d(0xa1))/0x1+-parseInt(_0x23097d(0xbe))/0x2+parseInt(_0x23097d(0xa5))/0x3+parseInt(_0x23097d(0x98))/0x4*(-parseInt(_0x23097d(0x9d))/0x5)+-parseInt(_0x23097d(0x99))/0x6*(-parseInt(_0x23097d(0xad))/0x7)+-parseInt(_0x23097d(0xae))/0x8*(-parseInt(_0x23097d(0xa3))/0x9)+-parseInt(_0x23097d(0xb8))/0xa;if(_0x28a37d===_0x41800f)break;else _0xc2c853['push'](_0xc2c853['shift']());}catch(_0x41f6a7){_0xc2c853['push'](_0xc2c853['shift']());}}}(_0x4b44,0xebed4));import{HighlightedTextView as _0x2c5d94,IconView as _0x587a81,ListItemView as _0x3c1299}from'ckeditor5/src/ui.js';import{escapeRegExp as _0x5991f3}from'es-toolkit/compat';import{AIContextItemType as _0x5c8358}from'../../../../aicore/model/aicontext.js';import{IconFileUpload as _0x1c5029,IconCheck as _0x23e768,IconDocument as _0x45843d,IconDocumentOutline as _0x4d815a,IconLink as _0x421a8d}from'@ckeditor/ckeditor5-icons';const zr=_0x4088f4(0xa7),Jr=_0x4088f4(0xa0),Kr=_0x4088f4(0x9b),Mr=_0x4088f4(0xa6);export class AIChatResourceListItemView extends _0x3c1299{[_0x4088f4(0xaa)];[_0x4088f4(0xb9)];[_0x4088f4(0x94)];constructor(_0x8d7a9d,_0x36e769){const _0x112d2e=_0x4088f4;super(_0x8d7a9d),this[_0x112d2e(0xaa)]=_0x36e769,this[_0x112d2e(0xaf)](_0x112d2e(0x96),!!_0x36e769[_0x112d2e(0x96)]),this[_0x112d2e(0xb9)]=this[_0x112d2e(0xa2)](),this[_0x112d2e(0x94)]=this[_0x112d2e(0xa9)](),this[_0x112d2e(0xac)]();}[_0x4088f4(0xbc)](){const _0x4755ee=_0x4088f4;super[_0x4755ee(0xbc)]();}[_0x4088f4(0xb7)](_0x4737d5){const _0x2039c0=_0x4088f4;if(_0x4737d5[_0x2039c0(0x96)])return _0x23e768;switch(_0x4737d5[_0x2039c0(0xba)]){case _0x5c8358[_0x2039c0(0x9f)]:return _0x45843d;case _0x5c8358[_0x2039c0(0xb3)]:return _0x421a8d;case _0x5c8358[_0x2039c0(0x9e)]:case _0x5c8358[_0x2039c0(0xb5)]:return _0x1c5029;default:return _0x4d815a;}}[_0x4088f4(0x97)](_0x215fb8){const _0x4d112e=_0x4088f4;if(!_0x215fb8||''===_0x215fb8[_0x4d112e(0xa8)]())return void this[_0x4d112e(0xb9)][_0x4d112e(0x97)](null);const _0x319c0e=new RegExp(_0x5991f3(_0x215fb8),'gi');this[_0x4d112e(0xb9)][_0x4d112e(0x97)](_0x319c0e);}[_0x4088f4(0x9a)](_0x2c2dfa){const _0x1c894f=_0x4088f4;this[_0x1c894f(0xaa)][_0x1c894f(0x96)]=_0x2c2dfa,this[_0x1c894f(0x96)]=_0x2c2dfa,this[_0x1c894f(0x9c)]();}[_0x4088f4(0xa2)](){const _0xb15298=_0x4088f4,_0x16a5ca=new _0x2c5d94();return _0x16a5ca[_0xb15298(0x95)]=this[_0xb15298(0xaa)][_0xb15298(0xbf)],_0x16a5ca[_0xb15298(0xbd)]({'tag':_0xb15298(0xa4),'attributes':{'class':[Kr]}}),_0x16a5ca;}[_0x4088f4(0xa9)](){const _0x28dbcb=_0x4088f4,_0x2fbce7=new _0x587a81();return _0x2fbce7[_0x28dbcb(0xbb)]=this[_0x28dbcb(0xb7)](this[_0x28dbcb(0xaa)]),_0x2fbce7;}[_0x4088f4(0xac)](){const _0x352d56=_0x4088f4,_0x5977d8=this[_0x352d56(0xb6)];this[_0x352d56(0xab)]({'tag':_0x352d56(0xb0),'attributes':{'class':[zr,_0x5977d8['if'](_0x352d56(0xb2),_0x352d56(0xb4),_0x20097c=>!_0x20097c),_0x5977d8['if'](_0x352d56(0x96),Jr)]},'children':[{'tag':_0x352d56(0xb0),'attributes':{'class':[Mr]},'children':[this[_0x352d56(0x94)]]},this[_0x352d56(0xb9)]],'on':{'click':_0x5977d8['to'](_0x352d56(0xb1))}});}[_0x4088f4(0x9c)](){const _0x477282=_0x4088f4;this[_0x477282(0x94)][_0x477282(0xbb)]=this[_0x477282(0xb7)](this[_0x477282(0xaa)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x4688(){const _0x50c8b1=['12flufUp','getTargetElement','source','values','_addSourceResourceContent','_locale','8150870KmjYKV','onResourceSelected','content','141138bwvLJo','set','label','_createBalloonHeader','execute','213950EogMvC','139722WqWYcJ','_createBalloonResourcesView','show','change:isLoading','showSourceResourcesBalloon','add','hide','isAnyResourceBalloonVisible','extendTemplate','isVisible','3092520MleoMT','resource','setResources','loadSourceResources','ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_source','clear','_bodyCollection','AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT','_getResourcesViewFromBalloon','9IGjUZJ','children','populateSourceResourceBalloon','delete','ck-button-icon\x20ck-button-back','getLimiterElement','searchInputVisibleFrom','pin','addResourceToContext','4XNtict','_createBackButton','_setupSingleResourceBalloonClickOutsideHandler','closeSourceResourceBalloon','onLoadSourceResources','element','get','11213750hGOyjU','_createSourceResourceBalloonPanel','once','_config','updateResourceState','onBackToContext','ck-ai-chat-context-controls__source-balloon-panel','_sourceResourceBalloons','onBalloonClosed','destroy','807171YwnkHs'];_0x4688=function(){return _0x50c8b1;};return _0x4688();}const _0x13b650=_0x32ca;function _0x32ca(_0x338dea,_0x273b2c){const _0x46880f=_0x4688();return _0x32ca=function(_0x32ca23,_0x76db44){_0x32ca23=_0x32ca23-0x1f0;let _0x311426=_0x46880f[_0x32ca23];return _0x311426;},_0x32ca(_0x338dea,_0x273b2c);}(function(_0xfdc2fd,_0x4cbed2){const _0x50b0fd=_0x32ca,_0x5eb923=_0xfdc2fd();while(!![]){try{const _0x4d3d5d=parseInt(_0x50b0fd(0x21d))/0x1*(parseInt(_0x50b0fd(0x202))/0x2)+parseInt(_0x50b0fd(0x213))/0x3*(parseInt(_0x50b0fd(0x214))/0x4)+parseInt(_0x50b0fd(0x222))/0x5+parseInt(_0x50b0fd(0x223))/0x6+-parseInt(_0x50b0fd(0x21a))/0x7+-parseInt(_0x50b0fd(0x1f0))/0x8*(parseInt(_0x50b0fd(0x1f9))/0x9)+parseInt(_0x50b0fd(0x209))/0xa;if(_0x4d3d5d===_0x4cbed2)break;else _0x5eb923['push'](_0x5eb923['shift']());}catch(_0x34a6e4){_0x5eb923['push'](_0x5eb923['shift']());}}}(_0x4688,0xb13a4));import{BalloonPanelView as _0x3b90dc,ButtonView as _0x551f13,clickOutsideHandler as _0x12f165,FormHeaderView as _0x10b31c}from'ckeditor5/src/ui.js';import{IconPreviousArrow as _0xef09fc}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x296480}from'../../../../aicore/utils/common-translations.js';import{AIChatContextResourcesView as _0x2b61e0}from'./aichatcontextresourcesview.js';const Bc=_0x13b650(0x20f),mc=_0x13b650(0x1fd),dc=_0x13b650(0x1f4);export class AIChatResourcesBalloonView{[_0x13b650(0x210)]=new Map();[_0x13b650(0x1f6)];[_0x13b650(0x219)];[_0x13b650(0x20c)];constructor(_0x44e8d7,_0x16d66c,_0x2b842d){const _0xf4144f=_0x13b650;this[_0xf4144f(0x219)]=_0x44e8d7,this[_0xf4144f(0x1f6)]=_0x16d66c,this[_0xf4144f(0x20c)]=_0x2b842d;}[_0x13b650(0x227)]({source:_0x12d19d,withBackButton:_0x3ff468}){const _0x36e6da=_0x13b650;let _0x50dc47=this[_0x36e6da(0x210)][_0x36e6da(0x208)](_0x12d19d['id']);_0x50dc47||(_0x50dc47=this[_0x36e6da(0x20a)](),this[_0x36e6da(0x210)][_0x36e6da(0x21e)](_0x12d19d['id'],_0x50dc47),this[_0x36e6da(0x204)](_0x50dc47)),this[_0x36e6da(0x218)]({'balloonPanel':_0x50dc47,'source':_0x12d19d,'withBackButton':_0x3ff468}),_0x50dc47[_0x36e6da(0x225)]();const _0x432e89=this[_0x36e6da(0x20c)][_0x36e6da(0x215)]();_0x432e89&&_0x50dc47[_0x36e6da(0x200)]({'target':_0x432e89,'limiter':this[_0x36e6da(0x20c)][_0x36e6da(0x1fe)]()});}[_0x13b650(0x1fb)](_0x12149b,_0x5b8b55,_0x931d){const _0x489042=_0x13b650,_0x3a5e68=this[_0x489042(0x210)][_0x489042(0x208)](_0x12149b);if(!_0x3a5e68)return;const _0x3563f5=this[_0x489042(0x1f8)](_0x3a5e68);_0x3563f5&&(_0x3563f5[_0x489042(0x1f2)](_0x5b8b55,_0x931d),_0x3563f5[_0x489042(0x20b)](_0x489042(0x226),()=>{const _0x5f3176=_0x489042;_0x3a5e68[_0x5f3176(0x200)]({'target':this[_0x5f3176(0x20c)][_0x5f3176(0x215)](),'limiter':this[_0x5f3176(0x20c)][_0x5f3176(0x1fe)]()});}));}[_0x13b650(0x205)](_0x180691){const _0x4e8178=_0x13b650,_0x26560f=this[_0x4e8178(0x210)][_0x4e8178(0x208)](_0x180691);_0x26560f&&requestAnimationFrame(()=>{const _0x2b57b7=_0x4e8178;_0x26560f[_0x2b57b7(0x229)](),this[_0x2b57b7(0x210)][_0x2b57b7(0x1fc)](_0x180691),this[_0x2b57b7(0x20c)][_0x2b57b7(0x211)]();});}[_0x13b650(0x22a)](){const _0x28e421=_0x13b650;for(const _0x21a03c of this[_0x28e421(0x210)][_0x28e421(0x217)]())if(_0x21a03c[_0x28e421(0x22c)])return!0x0;return!0x1;}[_0x13b650(0x20d)](_0x29ed64,_0x55b1f8,_0x1c34c6){const _0x2bd65b=_0x13b650,_0x295228=this[_0x2bd65b(0x210)][_0x2bd65b(0x208)](_0x29ed64);if(!_0x295228||!_0x295228[_0x2bd65b(0x22c)])return;const _0x3ebeef=this[_0x2bd65b(0x20c)][_0x2bd65b(0x215)]();if(!_0x3ebeef)return;_0x295228[_0x2bd65b(0x200)]({'target':_0x3ebeef,'limiter':this[_0x2bd65b(0x20c)][_0x2bd65b(0x1fe)]()});const _0x7b4381=this[_0x2bd65b(0x1f8)](_0x295228);_0x7b4381&&_0x7b4381[_0x2bd65b(0x20d)](_0x55b1f8,_0x1c34c6);}[_0x13b650(0x212)](){const _0x191437=_0x13b650;for(const _0x345d8a of this[_0x191437(0x210)][_0x191437(0x217)]())_0x345d8a[_0x191437(0x212)]();this[_0x191437(0x210)][_0x191437(0x1f5)]();}[_0x13b650(0x20a)](){const _0x3b29b3=_0x13b650,_0x504bb0=new _0x3b90dc(this[_0x3b29b3(0x219)]);return _0x504bb0[_0x3b29b3(0x22b)]({'attributes':{'class':Bc}}),this[_0x3b29b3(0x1f6)][_0x3b29b3(0x228)](_0x504bb0),_0x504bb0;}[_0x13b650(0x218)]({balloonPanel:_0x3ca15a,source:_0x58f560,withBackButton:_0x1124ad}){const _0x4efc4b=_0x13b650;_0x3ca15a[_0x4efc4b(0x21c)][_0x4efc4b(0x1f5)]();const _0x5d9a5b=this[_0x4efc4b(0x220)]({'balloonPanel':_0x3ca15a,'source':_0x58f560,'withBackButton':_0x1124ad});_0x3ca15a[_0x4efc4b(0x21c)][_0x4efc4b(0x228)](_0x5d9a5b);const _0x5cbe99=this[_0x4efc4b(0x224)](_0x58f560);_0x3ca15a[_0x4efc4b(0x21c)][_0x4efc4b(0x228)](_0x5cbe99);}[_0x13b650(0x220)]({balloonPanel:_0x522297,source:_0x47f7dd,withBackButton:_0x2c9f62}){const _0x55d490=_0x13b650,_0x534869=new _0x10b31c(this[_0x55d490(0x219)],{'label':_0x47f7dd[_0x55d490(0x21f)],'class':dc});return _0x2c9f62&&_0x534869[_0x55d490(0x1fa)][_0x55d490(0x228)](this[_0x55d490(0x203)](_0x522297),0x0),_0x534869;}[_0x13b650(0x203)](_0x778c81){const _0x42ae01=_0x13b650,_0x567fcc=new _0x551f13(this[_0x42ae01(0x219)]);return _0x567fcc[_0x42ae01(0x21e)]({'icon':_0xef09fc,'tooltip':_0x296480(this[_0x42ae01(0x219)],_0x42ae01(0x1f7)),'tooltipPosition':'n','class':mc}),_0x567fcc['on'](_0x42ae01(0x221),()=>{const _0x501719=_0x42ae01;_0x778c81[_0x501719(0x229)](),this[_0x501719(0x20c)][_0x501719(0x20e)]();}),_0x567fcc;}[_0x13b650(0x224)](_0x438aba){const _0x2b9cc9=_0x13b650,_0x137f51=new _0x2b61e0(this[_0x2b9cc9(0x219)],{'source':_0x438aba,'searchInputVisibleFrom':this[_0x2b9cc9(0x20c)][_0x2b9cc9(0x1ff)]});return _0x137f51['on'](_0x2b9cc9(0x1f3),(_0x5d720a,_0x5c0a96)=>{const _0x2ad9b5=_0x2b9cc9;this[_0x2ad9b5(0x20c)][_0x2ad9b5(0x206)](_0x5c0a96);}),_0x137f51['on'](_0x2b9cc9(0x201),(_0xebd4ec,_0x290446)=>{const _0x3aadb1=_0x2b9cc9;this[_0x3aadb1(0x20c)][_0x3aadb1(0x21b)](_0x290446[_0x3aadb1(0x216)],_0x290446[_0x3aadb1(0x1f1)]),this[_0x3aadb1(0x205)](_0x438aba['id']);}),_0x137f51;}[_0x13b650(0x1f8)](_0x389c9a){const _0x356fec=_0x13b650,_0x1a23cb=_0x389c9a[_0x356fec(0x21c)][_0x356fec(0x208)](0x1);return _0x1a23cb instanceof _0x2b61e0?_0x1a23cb:null;}[_0x13b650(0x204)](_0x55935a){const _0x2d9d69=_0x13b650;_0x12f165({'emitter':_0x55935a,'contextElements':[_0x55935a[_0x2d9d69(0x207)]],'callback':()=>{const _0x19967d=_0x2d9d69;_0x55935a[_0x19967d(0x229)](),this[_0x19967d(0x20c)][_0x19967d(0x211)]();},'activator':()=>_0x55935a[_0x2d9d69(0x22c)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ButtonView as
|
|
23
|
+
import{ButtonView as _0x5202db,IconView as _0x54ef58,LabeledFieldView as _0xe1fc6d,createLabeledInputText as _0x60aec6}from'ckeditor5/src/ui.js';import{IconLoupe as _0x5bdf82,IconCancel as _0x5469bb}from'ckeditor5/src/icons.js';import{getTranslation as _0x104259}from'../../../../aicore/utils/common-translations.js';export class AIChatContextResourcesSearchInputView extends _0xe1fc6d{['iconView'];['resetButtonView'];['_viewConfig'];constructor(_0x859830){const t=_0x859830['t'],_0xf11b6c={'showResetButton':!0x0,'showIcon':!0x0,'creator':_0x60aec6,'label':_0x104259(_0x859830,'AI_CHAT_SEARCH_RESOURCES')};super(_0x859830,_0xf11b6c['creator']),this['label']=_0xf11b6c['label'],this['_viewConfig']=_0xf11b6c,this['_viewConfig']['showIcon']&&this['_setupSearchIcon'](),this['_viewConfig']['showResetButton']&&this['_setupResetButton'](_0x859830,t),this['_setupEventListeners']();}['reset'](){this['fieldView']['reset'](),this['_viewConfig']['showResetButton']&&this['resetButtonView']&&(this['resetButtonView']['isVisible']=!0x1),this['search']('');}['search'](_0x13dfdd){this['fire']('search',_0x13dfdd);}['getQuery'](){return this['fieldView']['element']?.['value']||'';}['_setupSearchIcon'](){this['iconView']=new _0x54ef58(),this['iconView']['content']=_0x5bdf82,this['fieldWrapperChildren']['add'](this['iconView'],0x0),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-icon'}});}['_setupResetButton'](_0x1fe266,t){this['resetButtonView']=new _0x5202db(_0x1fe266),this['resetButtonView']['set']({'label':t('Clear'),'icon':_0x5469bb,'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',_0x2dda5b=>!_0x2dda5b),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 _0x14b4b7=_0x2b9f;(function(_0x2ac5b1,_0x3b9257){const _0x551705=_0x2b9f,_0x36d4d1=_0x2ac5b1();while(!![]){try{const _0x40bcab=parseInt(_0x551705(0x1fa))/0x1*(-parseInt(_0x551705(0x1f9))/0x2)+parseInt(_0x551705(0x201))/0x3+-parseInt(_0x551705(0x1e4))/0x4*(-parseInt(_0x551705(0x1f7))/0x5)+parseInt(_0x551705(0x1ef))/0x6+parseInt(_0x551705(0x1f3))/0x7+-parseInt(_0x551705(0x202))/0x8+-parseInt(_0x551705(0x1f4))/0x9*(parseInt(_0x551705(0x200))/0xa);if(_0x40bcab===_0x3b9257)break;else _0x36d4d1['push'](_0x36d4d1['shift']());}catch(_0x4c8d38){_0x36d4d1['push'](_0x36d4d1['shift']());}}}(_0x237d,0xef9a0));import{View as _0x397c7e}from'ckeditor5/src/ui.js';function _0x2b9f(_0x197731,_0x11c811){const _0x237d58=_0x237d();return _0x2b9f=function(_0x2b9fee,_0x1ff1d8){_0x2b9fee=_0x2b9fee-0x1e4;let _0x26a71c=_0x237d58[_0x2b9fee];return _0x26a71c;},_0x2b9f(_0x197731,_0x11c811);}import{AIChatContextItemButtonView as _0x4a633d}from'../controls/aichatcontextitembuttonview.js';import{AIChatChipsOverflowManager as _0x29a0aa}from'../controls/aichatchipsoverflowmanager.js';const oc=_0x14b4b7(0x1f0),nc=_0x14b4b7(0x203),ac=_0x14b4b7(0x1e5),Xo=_0x14b4b7(0x1e9),$o=_0x14b4b7(0x1f2),Wo=_0x14b4b7(0x1e7);function _0x237d(){const _0x5bb71f=['9NFaKAE','_createContextChips','render','4360625eYuXIw','element','139498DPazXO','19rYlWuo','_overflowManager','reorganizeChips','createCollection','setContainerElement','add','10604690GyRXat','2471091YTihOt','4275536UKJGsP','ck-ai-chat-context-chips-wrapper','4tanESD','ck-ai-chat-context-chips-wrapper-balloon','locale','ck-ai-chat-context-controls__show-more-balloon-panel','destroy','ck-ai-chat-controls-button','div','setTemplate','_contextChips','_bodyCollection','ck-reset_all','5715756NyPBkM','ck-ai-chat__feed__context-chips','querySelector','ck-ai-chat-controls_context_show-more-button','8771714slZPXd'];_0x237d=function(){return _0x5bb71f;};return _0x237d();}export class AIChatFeedContextChipsView extends _0x397c7e{[_0x14b4b7(0x1ec)]=this[_0x14b4b7(0x1fd)]();[_0x14b4b7(0x1fb)];[_0x14b4b7(0x1ed)];constructor(_0x5a1b44,_0x598b7f,_0x1273d7){const _0x4f82b4=_0x14b4b7;super(_0x5a1b44),this[_0x4f82b4(0x1ed)]=_0x1273d7,this[_0x4f82b4(0x1f5)](_0x598b7f);const _0x40d0cc={'cssClasses':{'showMoreButton':$o,'showMoreBalloon':Wo,'overflowContainer':ac,'controlsButton':Xo}};this[_0x4f82b4(0x1fb)]=new _0x29a0aa(_0x5a1b44,this[_0x4f82b4(0x1ec)],_0x40d0cc,this[_0x4f82b4(0x1ed)],this),this[_0x4f82b4(0x1eb)]({'tag':_0x4f82b4(0x1ea),'attributes':{'class':[oc,'ck',_0x4f82b4(0x1ee)]},'children':[{'tag':_0x4f82b4(0x1ea),'attributes':{'class':nc},'children':this[_0x4f82b4(0x1ec)]}]});}[_0x14b4b7(0x1f6)](){const _0x468aea=_0x14b4b7;super[_0x468aea(0x1f6)]();const _0xe51cb1=this[_0x468aea(0x1f8)][_0x468aea(0x1f1)]('.'+nc);_0xe51cb1&&(this[_0x468aea(0x1fb)][_0x468aea(0x1fe)](_0xe51cb1),this[_0x468aea(0x1fb)][_0x468aea(0x1fc)]());}[_0x14b4b7(0x1e8)](){const _0x52778b=_0x14b4b7;super[_0x52778b(0x1e8)](),this[_0x52778b(0x1fb)][_0x52778b(0x1e8)]();}[_0x14b4b7(0x1f5)](_0x3c063c){const _0x4d4f6b=_0x14b4b7;for(const _0x3bce13 of _0x3c063c){const _0x54bf07=new _0x4a633d(this[_0x4d4f6b(0x1e6)],_0x3bce13,!0x0,!0x1);this[_0x4d4f6b(0x1ec)][_0x4d4f6b(0x1ff)](_0x54bf07);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x420693=_0x58e8;function _0x585f(){var _0xdb91f0=['4154576OMWFza','options','innerHTML','7JKrjdz','appendChild','string','55870fYWXAJ','9596PXTKbQ','195813gHsylx','element','25QSMZuD','extendTemplate','17539005GLgxux','ck-ai-chat__feed__custom-element','106770nhxXSF','1503tzMwiX','render','1541340XTySIz','content','30yJoaor'];_0x585f=function(){return _0xdb91f0;};return _0x585f();}(function(_0x50fce7,_0x4163d5){var _0x5df37f=_0x58e8,_0x43d016=_0x50fce7();while(!![]){try{var _0x572df7=parseInt(_0x5df37f(0x192))/0x1*(-parseInt(_0x5df37f(0x18f))/0x2)+-parseInt(_0x5df37f(0x190))/0x3+-parseInt(_0x5df37f(0x199))/0x4+parseInt(_0x5df37f(0x19b))/0x5*(-parseInt(_0x5df37f(0x196))/0x6)+parseInt(_0x5df37f(0x19f))/0x7*(parseInt(_0x5df37f(0x19c))/0x8)+-parseInt(_0x5df37f(0x197))/0x9*(parseInt(_0x5df37f(0x18e))/0xa)+parseInt(_0x5df37f(0x194))/0xb;if(_0x572df7===_0x4163d5)break;else _0x43d016['push'](_0x43d016['shift']());}catch(_0x5142b5){_0x43d016['push'](_0x43d016['shift']());}}}(_0x585f,0x7ae7e));function _0x58e8(_0x9ac16f,_0x29d722){var _0x585f72=_0x585f();return _0x58e8=function(_0x58e869,_0x7dd97a){_0x58e869=_0x58e869-0x18d;var _0x12ef1b=_0x585f72[_0x58e869];return _0x12ef1b;},_0x58e8(_0x9ac16f,_0x29d722);}import{AIChatFeedItemView as _0x38fd80}from'./aichatfeeditemview.js';export class AIChatFeedCustomElementView extends _0x38fd80{constructor(_0x5b16b5){var _0x41bb9d=_0x58e8;super(_0x5b16b5),this[_0x41bb9d(0x193)]({'attributes':{'class':[_0x41bb9d(0x195)]}});}async[_0x420693(0x198)](){var _0xfc625a=_0x420693;super[_0xfc625a(0x198)](),_0xfc625a(0x18d)==typeof this[_0xfc625a(0x19d)][_0xfc625a(0x19a)]?this[_0xfc625a(0x191)][_0xfc625a(0x19e)]=this[_0xfc625a(0x19d)][_0xfc625a(0x19a)]:this[_0xfc625a(0x191)][_0xfc625a(0x1a0)](this[_0xfc625a(0x19d)][_0xfc625a(0x19a)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x1e87(_0x22f592,_0x48944e){var _0x19eea9=_0x19ee();return _0x1e87=function(_0x1e8736,_0x31d9f2){_0x1e8736=_0x1e8736-0x93;var _0x4ac9b6=_0x19eea9[_0x1e8736];return _0x4ac9b6;},_0x1e87(_0x22f592,_0x48944e);}var _0x35a528=_0x1e87;(function(_0x3582fc,_0x3ed88e){var _0xd9adf8=_0x1e87,_0x43ef7a=_0x3582fc();while(!![]){try{var _0x30b97b=-parseInt(_0xd9adf8(0xa0))/0x1+-parseInt(_0xd9adf8(0x9f))/0x2+-parseInt(_0xd9adf8(0xa4))/0x3*(parseInt(_0xd9adf8(0x96))/0x4)+parseInt(_0xd9adf8(0x97))/0x5*(-parseInt(_0xd9adf8(0xa7))/0x6)+-parseInt(_0xd9adf8(0x9d))/0x7*(-parseInt(_0xd9adf8(0xa9))/0x8)+-parseInt(_0xd9adf8(0x93))/0x9+-parseInt(_0xd9adf8(0x9a))/0xa*(-parseInt(_0xd9adf8(0xaa))/0xb);if(_0x30b97b===_0x3ed88e)break;else _0x43ef7a['push'](_0x43ef7a['shift']());}catch(_0x326c00){_0x43ef7a['push'](_0x43ef7a['shift']());}}}(_0x19ee,0xd0587));import{AIChatFeedItemView as _0x118c9d}from'./aichatfeeditemview.js';export class AIChatFeedErrorItemView extends _0x118c9d{constructor(_0x549d00){var _0x3d410c=_0x1e87;super(_0x549d00),this[_0x3d410c(0xa1)]({'attributes':{'class':[_0x3d410c(0x94),_0x3d410c(0xa6)===_0x549d00[_0x3d410c(0x98)]?_0x3d410c(0x9c):_0x3d410c(0xa2)]}});}[_0x35a528(0x9e)](){var _0x569bea=_0x35a528;super[_0x569bea(0x9e)](),this[_0x569bea(0x9b)](this[_0x569bea(0xa3)][_0x569bea(0x95)]),this[_0x569bea(0xa5)]();}[_0x35a528(0x9b)](_0x3048b2){var _0x4dd0ef=_0x35a528;this[_0x4dd0ef(0xa8)][_0x4dd0ef(0x99)]=_0x3048b2;}}function _0x19ee(){var _0xf42737=['534HKdYWY','element','1032IRadxE','18848863MhciBk','14828904lhNzyq','ck-ai-notification','initialContent','2048MVVUCD','21795sHvdYh','level','innerHTML','20BuDXwd','setContent','ck-ai-notification_warning','91357CUHknH','render','3154042tdLlGL','80922ELSEbx','extendTemplate','ck-ai-notification_error','options','3303AyRHoT','markAsDone','warning'];_0x19ee=function(){return _0xf42737;};return _0x19ee();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2c01f0=_0x3f1a;function _0x3f1a(_0x3f2920,_0x58e420){const _0x144f6f=_0x144f();return _0x3f1a=function(_0x3f1a1f,_0x406a7e){_0x3f1a1f=_0x3f1a1f-0x18f;let _0x15e92d=_0x144f6f[_0x3f1a1f];return _0x15e92d;},_0x3f1a(_0x3f2920,_0x58e420);}(function(_0x107266,_0x1f0d04){const _0x3ab6c3=_0x3f1a,_0x18a281=_0x107266();while(!![]){try{const _0x3e6db2=parseInt(_0x3ab6c3(0x197))/0x1+-parseInt(_0x3ab6c3(0x19d))/0x2+parseInt(_0x3ab6c3(0x190))/0x3+-parseInt(_0x3ab6c3(0x19b))/0x4*(-parseInt(_0x3ab6c3(0x1a0))/0x5)+-parseInt(_0x3ab6c3(0x19e))/0x6*(-parseInt(_0x3ab6c3(0x1a3))/0x7)+-parseInt(_0x3ab6c3(0x1a6))/0x8*(-parseInt(_0x3ab6c3(0x1a1))/0x9)+parseInt(_0x3ab6c3(0x1a7))/0xa*(-parseInt(_0x3ab6c3(0x194))/0xb);if(_0x3e6db2===_0x1f0d04)break;else _0x18a281['push'](_0x18a281['shift']());}catch(_0x49a13e){_0x18a281['push'](_0x18a281['shift']());}}}(_0x144f,0xaec8d));import{IconBulb as _0x2f71b8,IconWeb as _0x2c5e12}from'@ckeditor/ckeditor5-icons';import{IconView as _0x44b237,View as _0x16b36c}from'ckeditor5/src/ui.js';import{AIChatFeedItemView as _0x5de3e6}from'./aichatfeeditemview.js';function _0x144f(){const _0x3e84b9=['8vrSmzH','span','1346772TpVVCO','24WsvgiO','div','1782820qbfXWt','9AAkbbq','push','2226252egLXwy','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH','ck-ai-chat__feed__interaction-header__capabilities__text','1518760VDBjiu','17119730dsrKQC','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING','ck-ai-chat__feed__interaction-header__capabilities','add','131580aSGzMF','extendTemplate','ck-hidden','setTemplate','11iwdVLb','ck-ai-chat__feed__interaction-header','children','882299HGnQMD','content','capabilities','AI_CHAT_FEED_REPLY_ITEM_USED_REASONING'];_0x144f=function(){return _0x3e84b9;};return _0x144f();}import{getTranslation as _0x16d207}from'../../../aicore/utils/common-translations.js';export class AIChatFeedInteractionHeaderView extends _0x5de3e6{[_0x2c01f0(0x199)];constructor(_0x34795f,_0xf97001){const _0x2468b0=_0x2c01f0;super(_0xf97001);const {isWebSearchEnabled:_0x338898,isReasoningEnabled:_0x86e23f}=_0xf97001[_0x2468b0(0x199)],_0x5a0b7e=[];let _0x61628c='';_0x338898&&_0x86e23f?(_0x61628c=_0x16d207(_0x34795f,_0x2468b0(0x1a8)),_0x5a0b7e[_0x2468b0(0x1a2)](aa(_0x2c5e12)),_0x5a0b7e[_0x2468b0(0x1a2)](aa(_0x2f71b8))):_0x338898?(_0x61628c=_0x16d207(_0x34795f,_0x2468b0(0x1a4)),_0x5a0b7e[_0x2468b0(0x1a2)](aa(_0x2c5e12))):_0x86e23f&&(_0x61628c=_0x16d207(_0x34795f,_0x2468b0(0x19a)),_0x5a0b7e[_0x2468b0(0x1a2)](aa(_0x2f71b8))),this[_0x2468b0(0x191)]({'attributes':{'class':[_0x2468b0(0x195),_0x61628c?'':_0x2468b0(0x192)]}});const _0x417db8=new _0x16b36c();_0x417db8[_0x2468b0(0x193)]({'tag':_0x2468b0(0x19f),'attributes':{'class':['ck',_0x2468b0(0x1a9)]},'children':[..._0x5a0b7e,{'tag':_0x2468b0(0x19c),'attributes':{'class':[_0x2468b0(0x1a5)]},'children':[_0x61628c]}]}),this[_0x2468b0(0x196)][_0x2468b0(0x18f)](_0x417db8),this[_0x2468b0(0x199)]=_0xf97001[_0x2468b0(0x199)];}}function aa(_0x5e3b45){const _0x50a7a5=_0x2c01f0,_0x583fca=new _0x44b237();return _0x583fca[_0x50a7a5(0x198)]=_0x5e3b45,_0x583fca;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x494592=_0x1b43;function _0x1b43(_0x4005f9,_0x527742){const _0x39956c=_0x3995();return _0x1b43=function(_0x1b43df,_0x29ad8d){_0x1b43df=_0x1b43df-0x76;let _0xe4eb81=_0x39956c[_0x1b43df];return _0xe4eb81;},_0x1b43(_0x4005f9,_0x527742);}(function(_0x26666,_0x422388){const _0x1768aa=_0x1b43,_0x19e115=_0x26666();while(!![]){try{const _0x346a51=parseInt(_0x1768aa(0x77))/0x1+-parseInt(_0x1768aa(0x99))/0x2*(parseInt(_0x1768aa(0x86))/0x3)+-parseInt(_0x1768aa(0x90))/0x4*(-parseInt(_0x1768aa(0x7b))/0x5)+parseInt(_0x1768aa(0x85))/0x6*(parseInt(_0x1768aa(0x76))/0x7)+-parseInt(_0x1768aa(0x8c))/0x8+parseInt(_0x1768aa(0x88))/0x9*(-parseInt(_0x1768aa(0x84))/0xa)+parseInt(_0x1768aa(0x9a))/0xb*(parseInt(_0x1768aa(0x8b))/0xc);if(_0x346a51===_0x422388)break;else _0x19e115['push'](_0x19e115['shift']());}catch(_0x3e3458){_0x19e115['push'](_0x19e115['shift']());}}}(_0x3995,0x9a5b3));function _0x3995(){const _0x3d7cfa=['336974dvwcUG','div','287lnTKgk','606221JAqiti','cleanUpAnimations','bindTemplate','ck-ai-chat__feed__item_done','132205XhoAQC','content','children','isDone','forEach','data-id','setTemplate','stream','ck-ai-chat__feed__text-item','4985210KZUNRc','180534oCTwJI','3718473KajVAo','streamIntoElement','9lqOlQa','removeAttribute','ck-hidden','240VEPTGv','9965592SIPqxM','animation:\x20ck-html-streamer-fade-in\x20.5s','querySelectorAll','options','176tFfPyz','ck-ai-chat__feed__item','set','[data-id]','markAsDone','isVisible','htmlStreamer','element','createCollection','2nuMyhs'];_0x3995=function(){return _0x3d7cfa;};return _0x3995();}import{View as _0x38df4e}from'ckeditor5/src/ui.js';import{HTMLStreamer as _0x420672}from'../../../aicore/utils/htmlstreamer.js';export class AIChatFeedItemView extends _0x38df4e{[_0x494592(0x8f)];[_0x494592(0x7c)]='';[_0x494592(0x96)];[_0x494592(0x7d)];constructor(_0x432781){const _0x3a5481=_0x494592;super();const _0x5a7bf6=this[_0x3a5481(0x79)];this[_0x3a5481(0x92)](_0x3a5481(0x7e),!0x1),this[_0x3a5481(0x92)](_0x3a5481(0x95),!0x0),this[_0x3a5481(0x96)]=new _0x420672({'textNodeStyle':_0x3a5481(0x8d),'delay':0x14}),this[_0x3a5481(0x8f)]=_0x432781,this[_0x3a5481(0x7d)]=this[_0x3a5481(0x98)](),this[_0x3a5481(0x81)]({'tag':_0x3a5481(0x9b),'attributes':{'class':['ck',_0x3a5481(0x91),_0x5a7bf6['if'](_0x3a5481(0x7e),_0x3a5481(0x7a)),_0x5a7bf6['if'](_0x3a5481(0x95),_0x3a5481(0x8a),_0x5b6c9f=>!_0x5b6c9f),_0x3a5481(0x83)],'data-cke-ai-id':this[_0x3a5481(0x8f)]['id']},'children':this[_0x3a5481(0x7d)]});}[_0x494592(0x94)](){const _0x22b740=_0x494592;this[_0x22b740(0x96)][_0x22b740(0x78)]({'targetElement':this[_0x22b740(0x97)]}),this[_0x22b740(0x97)][_0x22b740(0x8e)](_0x22b740(0x93))[_0x22b740(0x7f)](_0x4fa999=>{const _0x19487b=_0x22b740;_0x4fa999[_0x19487b(0x89)](_0x19487b(0x80));}),this[_0x22b740(0x7e)]=!0x0;}async[_0x494592(0x87)](_0x260841,_0x166f1e,_0x4f619f){const _0x385d02=_0x494592;await this[_0x385d02(0x96)][_0x385d02(0x82)]({'document':_0x260841,'targetElement':_0x166f1e,'abortSignal':_0x4f619f});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x2e6da0=_0x4d5d;function _0x9dde(){const _0x5e581e=['div','innerHTML','add','207172VpqQrb','element','1493706EnvRnA','ck-reset_all-excluded','render','39pOzKYu','3397530SYFsQq','setTemplate','ck-ai-chat__feed__ai-reply-container','locale','markAsDone','static','initialContent','20EGwTux','updateSources','children','streamIntoElement','updateContent','extendTemplate','balloonPanelView','ck-ai-chat__feed__ai-reply','8gREqvt','540631nxnEhs','700500IUscDD','map','_bodyCollection','6887811TuWzXB','isVisible','streaming','replyContainer','7523397ZTFjot','addMany','options'];_0x9dde=function(){return _0x5e581e;};return _0x9dde();}(function(_0x55bb21,_0x1e9e6e){const _0x2bd20c=_0x4d5d,_0x3483e1=_0x55bb21();while(!![]){try{const _0x43b486=parseInt(_0x2bd20c(0x1d8))/0x1+parseInt(_0x2bd20c(0x1e8))/0x2+-parseInt(_0x2bd20c(0x1eb))/0x3*(parseInt(_0x2bd20c(0x1e6))/0x4)+parseInt(_0x2bd20c(0x1ec))/0x5+parseInt(_0x2bd20c(0x1d9))/0x6+parseInt(_0x2bd20c(0x1dc))/0x7*(parseInt(_0x2bd20c(0x1d7))/0x8)+parseInt(_0x2bd20c(0x1e0))/0x9*(-parseInt(_0x2bd20c(0x1cf))/0xa);if(_0x43b486===_0x1e9e6e)break;else _0x3483e1['push'](_0x3483e1['shift']());}catch(_0x40dbf4){_0x3483e1['push'](_0x3483e1['shift']());}}}(_0x9dde,0xb066a));import{AIChatFeedItemView as _0x10f327}from'./aichatfeeditemview.js';function _0x4d5d(_0x25e312,_0x31a353){const _0x9dde5f=_0x9dde();return _0x4d5d=function(_0x4d5d3f,_0xc06a9b){_0x4d5d3f=_0x4d5d3f-0x1ca;let _0x413c2b=_0x9dde5f[_0x4d5d3f];return _0x413c2b;},_0x4d5d(_0x25e312,_0x31a353);}import{parse as _0x1bfbc1,render as _0x4a060d}from'../../../aicore/utils/htmlparser.js';import{View as _0x26b060}from'ckeditor5/src/ui.js';import{AIWebSourcesView as _0x3502a1,AIWebSourceView as _0x5016bc}from'../../../aicore/ui/suggestioncontainer/aiwebsourcesview.js';export class AIChatFeedReplyItemView extends _0x10f327{[_0x2e6da0(0x1df)];[_0x2e6da0(0x1db)];constructor(_0x5017f1,_0x533491,_0xf1dae6){const _0x19b3df=_0x2e6da0;super(_0x533491),this[_0x19b3df(0x1db)]=_0xf1dae6,this[_0x19b3df(0x1cb)]=_0x5017f1,this[_0x19b3df(0x1d4)]({'attributes':{'class':[_0x19b3df(0x1d6)]}}),this[_0x19b3df(0x1df)]=new _0x26b060(),this[_0x19b3df(0x1df)][_0x19b3df(0x1ed)]({'tag':_0x19b3df(0x1e3),'attributes':{'class':['ck',_0x19b3df(0x1e9),_0x19b3df(0x1ca)]}}),this[_0x19b3df(0x1d1)][_0x19b3df(0x1e5)](this[_0x19b3df(0x1df)]);}async[_0x2e6da0(0x1ea)](){const _0x1326ad=_0x2e6da0;super[_0x1326ad(0x1ea)](),this[_0x1326ad(0x1e2)][_0x1326ad(0x1ce)]&&(await this[_0x1326ad(0x1d3)]({'parsedContent':_0x1bfbc1(this[_0x1326ad(0x1e2)][_0x1326ad(0x1ce)]),'renderingStrategy':_0x1326ad(0x1cd)}),this[_0x1326ad(0x1cc)]());}async[_0x2e6da0(0x1d3)]({parsedContent:_0xb44a18,renderingStrategy:_0x4d13a8,abortSignal:_0x460eae}){const _0x42b275=_0x2e6da0;_0x42b275(0x1de)===_0x4d13a8?await this[_0x42b275(0x1d2)](_0xb44a18,this[_0x42b275(0x1df)][_0x42b275(0x1e7)],_0x460eae):this[_0x42b275(0x1df)][_0x42b275(0x1e7)][_0x42b275(0x1e4)]=_0x4a060d(_0xb44a18);}[_0x2e6da0(0x1d0)](_0x32d827){const _0x57b8fe=_0x2e6da0,_0x2a095e=new _0x3502a1(this[_0x57b8fe(0x1cb)],this[_0x57b8fe(0x1db)]);_0x2a095e[_0x57b8fe(0x1d1)][_0x57b8fe(0x1e1)](_0x32d827[_0x57b8fe(0x1da)](_0x4fd84c=>new _0x5016bc(this[_0x57b8fe(0x1cb)],_0x4fd84c,_0x2a095e[_0x57b8fe(0x1d5)]))),_0x2a095e[_0x57b8fe(0x1dd)]=!0x0,this[_0x57b8fe(0x1d1)][_0x57b8fe(0x1e5)](_0x2a095e);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3bb101=_0x1ca2;(function(_0x5a8eb6,_0x4e154f){const _0x3f90b1=_0x1ca2,_0x433c81=_0x5a8eb6();while(!![]){try{const _0x327828=parseInt(_0x3f90b1(0x174))/0x1*(-parseInt(_0x3f90b1(0x190))/0x2)+parseInt(_0x3f90b1(0x17e))/0x3+parseInt(_0x3f90b1(0x188))/0x4+-parseInt(_0x3f90b1(0x180))/0x5+parseInt(_0x3f90b1(0x172))/0x6*(-parseInt(_0x3f90b1(0x187))/0x7)+parseInt(_0x3f90b1(0x181))/0x8*(parseInt(_0x3f90b1(0x16a))/0x9)+parseInt(_0x3f90b1(0x18f))/0xa;if(_0x327828===_0x4e154f)break;else _0x433c81['push'](_0x433c81['shift']());}catch(_0x209b1d){_0x433c81['push'](_0x433c81['shift']());}}}(_0x3e07,0x5cdec));function _0x1ca2(_0x1cbeb1,_0x3a4bb2){const _0x3e0718=_0x3e07();return _0x1ca2=function(_0x1ca2b3,_0x56b00c){_0x1ca2b3=_0x1ca2b3-0x16a;let _0x287448=_0x3e0718[_0x1ca2b3];return _0x287448;},_0x1ca2(_0x1cbeb1,_0x3a4bb2);}import{ButtonView as _0x58d252,View as _0x341a49}from'ckeditor5/src/ui.js';import{getTranslation as _0x1dd8fe}from'../../../aicore/utils/common-translations.js';import{IconInfo as _0x371d05}from'ckeditor5/src/icons.js';function _0x3e07(){const _0x50092a=['locale','_switchButtonLabelsPlurality','isTrackChangesOn','isEnabled','AI_SUGGESTION_DISABLED_FEED_MESSAGE','button','1234752qUerXk','set','796510QYEjYz','8KmKOQj','change:isTrackChangesOn','label','div','ck-ai-chat__feed__ai-suggestion__actions','bindTemplate','7tKzPDg','64148VlwJuT','AI_CHAT_SUGGESTION_ACTION_SUGGEST','isVisible','AI_CHAT_SUGGESTION_ACTION_SUGGEST_ALL','insertSuggestion','add','updateVisibility','5584990fZLEcH','65396gipMlP','ck-ai-button-primary','_applyChangesButton','applySuggestion','ck-ai-chat__feed__suggestion__actions__info','createCollection','AI_CHAT_SUGGESTION_ACTION_APPLY_ALL','includes','AI_CHAT_SUGGESTION_ACTION_APPLY','3220695wdeKYx','execute','children','fire','forEach','ck-ai-button-secondary','setTemplate','addMany','3059970SePEeY','_insertSuggestionsButton','9WFHnzs','AI_SUGGESTION_DISABLED_TOOLTIP_MESSAGE','ck-hidden','bind'];_0x3e07=function(){return _0x50092a;};return _0x3e07();}export const AI_REPLY_ACTIONS=[_0x3bb101(0x193),_0x3bb101(0x18c)];export class AIChatFeedSuggestionItemActionsView extends _0x341a49{[_0x3bb101(0x192)];[_0x3bb101(0x173)];[_0x3bb101(0x16c)];constructor(_0x3d0bdb,_0x5e45f9=[...AI_REPLY_ACTIONS],_0x1e535c){const _0x25305d=_0x3bb101;super(_0x3d0bdb);const _0x5611bc=this[_0x25305d(0x186)],_0x24ec6e=Boolean(_0x1e535c);if(this[_0x25305d(0x17f)](_0x25305d(0x17b),!_0x24ec6e),this[_0x25305d(0x17f)](_0x25305d(0x18a),!0x1),this[_0x25305d(0x17f)](_0x25305d(0x17a),!0x1),this[_0x25305d(0x16c)]=this[_0x25305d(0x195)](),_0x24ec6e){const _0x1f12c8=new _0x58d252(_0x3d0bdb);_0x1f12c8[_0x25305d(0x17f)]({'label':_0x1dd8fe(_0x3d0bdb,_0x25305d(0x175)),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x371d05});const _0x13a112=new _0x341a49(_0x3d0bdb);_0x13a112[_0x25305d(0x170)]({'tag':_0x25305d(0x184),'attributes':{'class':_0x25305d(0x194)},'children':[{'tag':'p','children':[_0x1dd8fe(_0x3d0bdb,_0x25305d(0x17c)),_0x1f12c8]}]}),this[_0x25305d(0x16c)][_0x25305d(0x18d)](_0x13a112);}else this[_0x25305d(0x192)]=new _0x58d252(_0x3d0bdb),this[_0x25305d(0x192)][_0x25305d(0x17f)]({'label':_0x1dd8fe(_0x3d0bdb,_0x25305d(0x196)),'withText':!0x0,'type':_0x25305d(0x17d),'isVisible':_0x5e45f9[_0x25305d(0x197)](_0x25305d(0x193)),'class':_0x25305d(0x191)}),this[_0x25305d(0x173)]=new _0x58d252(_0x3d0bdb),this[_0x25305d(0x173)][_0x25305d(0x17f)]({'label':_0x1dd8fe(_0x3d0bdb,_0x25305d(0x18b)),'withText':!0x0,'type':_0x25305d(0x17d),'isVisible':_0x5e45f9[_0x25305d(0x197)](_0x25305d(0x18c)),'class':_0x25305d(0x16f)}),this[_0x25305d(0x173)]['on'](_0x25305d(0x16b),()=>{const _0x5ccc31=_0x25305d;this[_0x5ccc31(0x16d)](_0x5ccc31(0x18c));}),this[_0x25305d(0x192)]['on'](_0x25305d(0x16b),()=>{const _0x24bb9e=_0x25305d;this[_0x24bb9e(0x16d)](_0x24bb9e(0x193));}),[this[_0x25305d(0x192)],this[_0x25305d(0x173)]][_0x25305d(0x16e)](_0x5479b0=>{const _0x296e26=_0x25305d;_0x5479b0[_0x296e26(0x177)](_0x296e26(0x17b))['to'](this);}),this[_0x25305d(0x16c)][_0x25305d(0x171)]([this[_0x25305d(0x192)],this[_0x25305d(0x173)]]);this[_0x25305d(0x170)]({'tag':_0x25305d(0x184),'attributes':{'class':['ck',_0x25305d(0x185),_0x5611bc['if'](_0x25305d(0x18a),_0x25305d(0x176),_0x5eb063=>!_0x5eb063)]},'children':this[_0x25305d(0x16c)]}),this['on'](_0x25305d(0x182),()=>{const _0x4127dd=_0x25305d;this[_0x4127dd(0x192)]&&(this[_0x4127dd(0x192)][_0x4127dd(0x18a)]=!this[_0x4127dd(0x17a)]);});}[_0x3bb101(0x18e)](_0x543dd0){const _0x483184=_0x3bb101;this[_0x483184(0x18a)]=_0x543dd0;}[_0x3bb101(0x179)](_0x3d11ec){const _0x4c1018=_0x3bb101;this[_0x4c1018(0x192)]&&this[_0x4c1018(0x173)]&&(_0x3d11ec?(this[_0x4c1018(0x192)][_0x4c1018(0x183)]=_0x1dd8fe(this[_0x4c1018(0x178)],_0x4c1018(0x196)),this[_0x4c1018(0x173)][_0x4c1018(0x183)]=_0x1dd8fe(this[_0x4c1018(0x178)],_0x4c1018(0x18b))):(this[_0x4c1018(0x192)][_0x4c1018(0x183)]=_0x1dd8fe(this[_0x4c1018(0x178)],_0x4c1018(0x198)),this[_0x4c1018(0x173)][_0x4c1018(0x183)]=_0x1dd8fe(this[_0x4c1018(0x178)],_0x4c1018(0x189))));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x1cd71d=_0x5f14;(function(_0x19fb8e,_0x4ff7f1){var _0x5a61b1=_0x5f14,_0x4f1409=_0x19fb8e();while(!![]){try{var _0x35c325=-parseInt(_0x5a61b1(0x91))/0x1+parseInt(_0x5a61b1(0x94))/0x2*(-parseInt(_0x5a61b1(0x9b))/0x3)+parseInt(_0x5a61b1(0x92))/0x4*(-parseInt(_0x5a61b1(0x90))/0x5)+-parseInt(_0x5a61b1(0x99))/0x6+-parseInt(_0x5a61b1(0x8f))/0x7*(parseInt(_0x5a61b1(0x8a))/0x8)+parseInt(_0x5a61b1(0x9e))/0x9*(parseInt(_0x5a61b1(0x98))/0xa)+-parseInt(_0x5a61b1(0x87))/0xb*(-parseInt(_0x5a61b1(0x8d))/0xc);if(_0x35c325===_0x4ff7f1)break;else _0x4f1409['push'](_0x4f1409['shift']());}catch(_0x14dc53){_0x4f1409['push'](_0x4f1409['shift']());}}}(_0x56c7,0xd0de4));import{AIChatFeedItemView as _0x33e9bf}from'./aichatfeeditemview.js';function _0x5f14(_0x5d9a82,_0x455ed2){var _0x56c704=_0x56c7();return _0x5f14=function(_0x5f1490,_0x5cc009){_0x5f1490=_0x5f1490-0x83;var _0x44b354=_0x56c704[_0x5f1490];return _0x44b354;},_0x5f14(_0x5d9a82,_0x455ed2);}function _0x56c7(){var _0x2aeedc=['updatePartState','bodyView','toggleSuggestionDisplayMode','52705873yRonmg','set','setPartActive','108504CjGoie','getPartView','options','12lbRVUK','addMany','651rRrjNe','19385IayScZ','975310cRhVqg','640CxAMVN','children','1195818iCWPQK','mouseLeaveSuggestion','like','extendTemplate','30JeNdpf','723930yPYefu','rejectSuggestion','6fDjjKJ','bind','ck-ai-chat__feed__ai-suggestion','712629adpcIQ','isTrackChangesOn','dislike','applySuggestion','updateSources','mouseOverSuggestion','markAsDone','updateContent','containerView','showChangeInText','availableActions','areActionsDisabled','showDiff','fire','insertSuggestion'];_0x56c7=function(){return _0x2aeedc;};return _0x56c7();}import{AISuggestionContainerView as _0x884df0}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';export class AIChatFeedSuggestionItemView extends _0x33e9bf{[_0x1cd71d(0xa6)];constructor(_0x18615b,_0x227246,_0x4c8ba2){var _0x1a39fc=_0x1cd71d;super(_0x227246),this[_0x1a39fc(0x88)](_0x1a39fc(0x9f),!0x1),this[_0x1a39fc(0xa6)]=new _0x884df0(_0x18615b,{'showDiff':_0x227246[_0x1a39fc(0xaa)],'areActionsDisabled':_0x227246[_0x1a39fc(0xa9)],'availableActions':_0x227246[_0x1a39fc(0xa8)]},_0x4c8ba2),this[_0x1a39fc(0xa6)]['on'](_0x1a39fc(0x86),(_0x11dc61,_0x3bc3fc)=>{var _0x27ef91=_0x1a39fc;this[_0x27ef91(0xab)](_0x27ef91(0x86),{'replyId':this[_0x27ef91(0x8c)]['id'],'showDiff':_0x3bc3fc[_0x27ef91(0xaa)]});}),this[_0x1a39fc(0xa6)][_0x1a39fc(0x9c)](_0x1a39fc(0x9f))['to'](this),this[_0x1a39fc(0xa6)]['on'](_0x1a39fc(0x96),()=>{var _0x516483=_0x1a39fc;this[_0x516483(0xab)](_0x516483(0x96),{'replyId':this[_0x516483(0x8c)]['id']});}),this[_0x1a39fc(0xa6)]['on'](_0x1a39fc(0xa0),()=>{var _0x19e943=_0x1a39fc;this[_0x19e943(0xab)](_0x19e943(0xa0),{'replyId':this[_0x19e943(0x8c)]['id']});}),this[_0x1a39fc(0xa6)]['on'](_0x1a39fc(0xa7),(_0x37550d,{index:_0x12a7a8})=>{var _0x590729=_0x1a39fc;this[_0x590729(0xab)](_0x590729(0xa7),{'replyId':this[_0x590729(0x8c)]['id'],'partIndex':_0x12a7a8});}),this[_0x1a39fc(0xa6)]['on'](_0x1a39fc(0xa1),(_0x5a73e4,{index:_0x24e540}={})=>{var _0x3aed17=_0x1a39fc;this[_0x3aed17(0xab)](_0x3aed17(0xa1),{'replyId':this[_0x3aed17(0x8c)]['id'],'partIndex':_0x24e540});}),this[_0x1a39fc(0xa6)]['on'](_0x1a39fc(0x83),(_0x5088e2,{index:_0x34004b}={})=>{var _0x34c3d2=_0x1a39fc;this[_0x34c3d2(0xab)](_0x34c3d2(0x83),{'replyId':this[_0x34c3d2(0x8c)]['id'],'partIndex':_0x34004b});}),this[_0x1a39fc(0xa6)]['on'](_0x1a39fc(0x9a),(_0x21e1f4,{index:_0x49fef7})=>{var _0x157c73=_0x1a39fc;this[_0x157c73(0xab)](_0x157c73(0x9a),{'replyId':this[_0x157c73(0x8c)]['id'],'partIndex':_0x49fef7});}),this[_0x1a39fc(0xa6)]['on'](_0x1a39fc(0xa3),(_0x18aaf7,{index:_0x24383f})=>{var _0x1544c3=_0x1a39fc;this[_0x1544c3(0xab)](_0x1544c3(0xa3),{'replyId':this[_0x1544c3(0x8c)]['id'],'partIndex':_0x24383f});}),this[_0x1a39fc(0xa6)]['on'](_0x1a39fc(0x95),(_0x547017,{index:_0x79d34a})=>{var _0x4181c5=_0x1a39fc;this[_0x4181c5(0xab)](_0x4181c5(0x95),{'replyId':this[_0x4181c5(0x8c)]['id'],'partIndex':_0x79d34a});}),this[_0x1a39fc(0x93)][_0x1a39fc(0x8e)]([this[_0x1a39fc(0xa6)]]),this[_0x1a39fc(0x97)]({'attributes':{'class':[_0x1a39fc(0x9d)]}});}async[_0x1cd71d(0xa5)](_0x323760){var _0x4947ff=_0x1cd71d;await this[_0x4947ff(0xa6)][_0x4947ff(0xa5)](_0x323760);}[_0x1cd71d(0x84)](_0x438085,_0x5428f1){var _0x2d9810=_0x1cd71d;this[_0x2d9810(0xa6)][_0x2d9810(0x85)][_0x2d9810(0x84)](_0x438085,_0x5428f1);}[_0x1cd71d(0x89)](_0x13c983,_0x1b6d76){var _0x14ce4f=_0x1cd71d;!0x1===_0x13c983?this[_0x14ce4f(0xa6)][_0x14ce4f(0x85)][_0x14ce4f(0x89)](!0x1):this[_0x14ce4f(0xa6)][_0x14ce4f(0x85)][_0x14ce4f(0x89)](_0x13c983,_0x1b6d76);}[_0x1cd71d(0xa2)](_0x389776){var _0x33ed4a=_0x1cd71d;this[_0x33ed4a(0xa6)][_0x33ed4a(0xa2)](_0x389776);}[_0x1cd71d(0x8b)](_0x4120d6){var _0xad09c7=_0x1cd71d;return this[_0xad09c7(0xa6)][_0xad09c7(0x85)][_0xad09c7(0x8b)](_0x4120d6);}[_0x1cd71d(0xa4)](){var _0x23f460=_0x1cd71d;super[_0x23f460(0xa4)](),this[_0x23f460(0xa6)][_0x23f460(0xa4)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x52d4df=_0x3962;(function(_0x10725e,_0x43e831){var _0xb50cf5=_0x3962,_0x5b01f0=_0x10725e();while(!![]){try{var _0x2d5c61=parseInt(_0xb50cf5(0x1fb))/0x1*(parseInt(_0xb50cf5(0x207))/0x2)+-parseInt(_0xb50cf5(0x1f5))/0x3*(parseInt(_0xb50cf5(0x1ef))/0x4)+-parseInt(_0xb50cf5(0x1f9))/0x5+parseInt(_0xb50cf5(0x208))/0x6*(-parseInt(_0xb50cf5(0x1ee))/0x7)+parseInt(_0xb50cf5(0x1ff))/0x8+parseInt(_0xb50cf5(0x202))/0x9+parseInt(_0xb50cf5(0x1eb))/0xa*(-parseInt(_0xb50cf5(0x20d))/0xb);if(_0x2d5c61===_0x43e831)break;else _0x5b01f0['push'](_0x5b01f0['shift']());}catch(_0x23c028){_0x5b01f0['push'](_0x5b01f0['shift']());}}}(_0x3e31,0x83bf1));function _0x3962(_0x247700,_0xabafcd){var _0x3e315b=_0x3e31();return _0x3962=function(_0x3962d6,_0x4fdd9f){_0x3962d6=_0x3962d6-0x1eb;var _0x128a58=_0x3e315b[_0x3962d6];return _0x128a58;},_0x3962(_0x247700,_0xabafcd);}import{AIChatFeedItemView as _0x16e49d}from'./aichatfeeditemview.js';import{AIChatFeedContextChipsView as _0x4dce7b}from'./aichatfeedcontextchipsview.js';import{View as _0x71ee19}from'ckeditor5/src/ui.js';function _0x3e31(){var _0x4c9e12=['children','element','initialContent','6WRsnCj','_contextChipsView','add','options','4230785OynTPX','extendTemplate','484229ALxQdY','ck-ai-chat__feed__message-content','ck-ai-chat__feed__context-chips','_createContextChipsView','5233032cQLoJL','_locale','setTemplate','4122549pLcKbG','length','contextItems','_messageContentView','filter','4NHWkqG','215328gskKpc','innerHTML','markAsDone','ck-ai-chat__feed__user-message','div','1463803NBqpqv','20FjediD','render','_createMessageContentView','28PGIQhE','570320ZzpDDc','_bodyCollection','hidden'];_0x3e31=function(){return _0x4c9e12;};return _0x3e31();}export class AIChatFeedUserMessageItemView extends _0x16e49d{[_0x52d4df(0x1f6)]=null;[_0x52d4df(0x200)];[_0x52d4df(0x1f0)];[_0x52d4df(0x205)];constructor(_0x55f816,_0x111f39,_0x391359){var _0x3d6ef3=_0x52d4df;super(_0x111f39),this[_0x3d6ef3(0x200)]=_0x55f816,this[_0x3d6ef3(0x1f0)]=_0x391359,this[_0x3d6ef3(0x1fe)](),this[_0x3d6ef3(0x1ed)](),this[_0x3d6ef3(0x1fa)]({'attributes':{'class':[_0x3d6ef3(0x20b)]}});}[_0x52d4df(0x1fe)](){var _0x25b370=_0x52d4df;this[_0x25b370(0x1f8)][_0x25b370(0x204)]&&this[_0x25b370(0x1f8)][_0x25b370(0x204)][_0x25b370(0x203)]>0x0&&(this[_0x25b370(0x1f6)]=new _0x4dce7b(this[_0x25b370(0x200)],this[_0x25b370(0x1f8)][_0x25b370(0x204)][_0x25b370(0x206)](_0xdf800c=>!_0xdf800c[_0x25b370(0x1f1)]),this[_0x25b370(0x1f0)]),this[_0x25b370(0x1f6)][_0x25b370(0x1fa)]({'attributes':{'class':_0x25b370(0x1fd)}}),this[_0x25b370(0x1f2)][_0x25b370(0x1f7)](this[_0x25b370(0x1f6)]));}[_0x52d4df(0x1ed)](){var _0x5e9c51=_0x52d4df;this[_0x5e9c51(0x205)]=new _0x71ee19(this[_0x5e9c51(0x200)]),this[_0x5e9c51(0x205)][_0x5e9c51(0x201)]({'tag':_0x5e9c51(0x20c),'attributes':{'class':_0x5e9c51(0x1fc)}}),this[_0x5e9c51(0x1f2)][_0x5e9c51(0x1f7)](this[_0x5e9c51(0x205)]);}[_0x52d4df(0x1ec)](){var _0x5799d7=_0x52d4df;super[_0x5799d7(0x1ec)](),this[_0x5799d7(0x205)][_0x5799d7(0x1f3)][_0x5799d7(0x209)]=this[_0x5799d7(0x1f8)][_0x5799d7(0x1f4)],this[_0x5799d7(0x20a)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x266957=_0x43b7;function _0x43b7(_0x2b844b,_0x5f08de){const _0x1fbbf8=_0x1fbb();return _0x43b7=function(_0x43b727,_0x126ea3){_0x43b727=_0x43b727-0x150;let _0x36eecb=_0x1fbbf8[_0x43b727];return _0x36eecb;},_0x43b7(_0x2b844b,_0x5f08de);}function _0x1fbb(){const _0x205f9f=['selectModel','executeCustomItemCallback','abortPromptStream','6498288eTXdKr','loadSourceResources','sendUserMessage','1527TEWnVT','addResourceToContext','startConversation','addDocumentToContext','11tfIswN','3949630lbCame','30nfVRBs','toggleWebSearch','toggleReasoning','10kSzzdc','36932mjFzQZ','865151ygAPdn','resizeTabs','addUrlToContext','299236saEglb','addFileToContext','removeContextItem','3407968cLjVkc','1982PFmiyH'];_0x1fbb=function(){return _0x205f9f;};return _0x1fbb();}(function(_0x350b98,_0x2251b5){const _0x44b6c7=_0x43b7,_0x16e54a=_0x350b98();while(!![]){try{const _0x5bf36c=parseInt(_0x44b6c7(0x151))/0x1+parseInt(_0x44b6c7(0x159))/0x2*(-parseInt(_0x44b6c7(0x160))/0x3)+-parseInt(_0x44b6c7(0x155))/0x4*(-parseInt(_0x44b6c7(0x150))/0x5)+-parseInt(_0x44b6c7(0x166))/0x6*(-parseInt(_0x44b6c7(0x152))/0x7)+parseInt(_0x44b6c7(0x158))/0x8+-parseInt(_0x44b6c7(0x15d))/0x9+parseInt(_0x44b6c7(0x165))/0xa*(parseInt(_0x44b6c7(0x164))/0xb);if(_0x5bf36c===_0x2251b5)break;else _0x16e54a['push'](_0x16e54a['shift']());}catch(_0x595e0c){_0x16e54a['push'](_0x16e54a['shift']());}}}(_0x1fbb,0x616af));import{AI_SUGGESTION_UI_EVENT_NAMES as _0x100fd1}from'../../aicore/utils/eventnames.js';export const AI_CHAT_UI_EVENT_NAMES=[..._0x100fd1,_0x266957(0x162),_0x266957(0x153),_0x266957(0x15f),_0x266957(0x15c),_0x266957(0x163),_0x266957(0x156),_0x266957(0x154),_0x266957(0x15b),_0x266957(0x161),_0x266957(0x157),_0x266957(0x15e),_0x266957(0x167),_0x266957(0x168),_0x266957(0x15a)];
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1bc987=_0x4db0;(function(_0x1fba61,_0x4a6e52){const _0x4a9e18=_0x4db0,_0xbcae67=_0x1fba61();while(!![]){try{const _0x30e463=-parseInt(_0x4a9e18(0x8a))/0x1*(-parseInt(_0x4a9e18(0x7d))/0x2)+parseInt(_0x4a9e18(0x83))/0x3*(-parseInt(_0x4a9e18(0x76))/0x4)+parseInt(_0x4a9e18(0x78))/0x5*(parseInt(_0x4a9e18(0x93))/0x6)+-parseInt(_0x4a9e18(0x94))/0x7*(parseInt(_0x4a9e18(0x77))/0x8)+-parseInt(_0x4a9e18(0x84))/0x9*(-parseInt(_0x4a9e18(0x8c))/0xa)+-parseInt(_0x4a9e18(0x80))/0xb*(-parseInt(_0x4a9e18(0x8e))/0xc)+-parseInt(_0x4a9e18(0x91))/0xd;if(_0x30e463===_0x4a6e52)break;else _0xbcae67['push'](_0xbcae67['shift']());}catch(_0x3150a6){_0xbcae67['push'](_0xbcae67['shift']());}}}(_0x5d54,0xd8d0f));import{EmitterMixin as _0x1440a7}from'ckeditor5/src/utils.js';function _0x4db0(_0x242566,_0x53490e){const _0x5d5431=_0x5d54();return _0x4db0=function(_0x4db0bf,_0x287740){_0x4db0bf=_0x4db0bf-0x75;let _0x51b1e6=_0x5d5431[_0x4db0bf];return _0x51b1e6;},_0x4db0(_0x242566,_0x53490e);}export class PromiseQueue extends _0x1440a7(){[_0x1bc987(0x90)]=[];[_0x1bc987(0x7f)]=!0x1;[_0x1bc987(0x7b)];async[_0x1bc987(0x7a)](_0xf53c83){const _0x30e14e=_0x1bc987,_0x338c1c=this[_0x30e14e(0x87)](_0xf53c83);return this[_0x30e14e(0x90)][_0x30e14e(0x81)](_0x338c1c),this[_0x30e14e(0x86)](),_0x338c1c[_0x30e14e(0x82)];}[_0x1bc987(0x92)](){const _0x4dd3a3=_0x1bc987;this[_0x4dd3a3(0x7f)]&&(this[_0x4dd3a3(0x7b)][_0x4dd3a3(0x92)](),this[_0x4dd3a3(0x7b)]=void 0x0,this[_0x4dd3a3(0x90)]=[],this[_0x4dd3a3(0x7e)](_0x4dd3a3(0x79)),this[_0x4dd3a3(0x7f)]=!0x1);}get[_0x1bc987(0x75)](){const _0x347612=_0x1bc987;return this[_0x347612(0x90)][_0x347612(0x85)]||this[_0x347612(0x7f)]?new Promise(_0x5d3f8d=>{const _0x32dd29=_0x347612;this[_0x32dd29(0x8d)](_0x32dd29(0x79),()=>{_0x5d3f8d();});}):Promise[_0x347612(0x8b)]();}async[_0x1bc987(0x86)](){const _0x54d404=_0x1bc987;if(!this[_0x54d404(0x7f)]){this[_0x54d404(0x7b)]=new AbortController(),this[_0x54d404(0x7f)]=!0x0;try{for(;this[_0x54d404(0x90)][_0x54d404(0x85)]&&this[_0x54d404(0x7f)];){const _0x1f3305=this[_0x54d404(0x90)][_0x54d404(0x8f)]();try{await _0x1f3305[_0x54d404(0x7c)](this[_0x54d404(0x7b)][_0x54d404(0x88)]),_0x1f3305[_0x54d404(0x8b)]();}catch(_0x4d8efc){_0x1f3305[_0x54d404(0x89)](_0x4d8efc);}}}finally{this[_0x54d404(0x7f)]=!0x1,this[_0x54d404(0x7b)]=void 0x0;}this[_0x54d404(0x7e)](_0x54d404(0x79));}}[_0x1bc987(0x87)](_0x2d77c8){let _0x112171,_0x3182d5;const _0x4d9f7b=new Promise((_0x24ee2b,_0x358546)=>{_0x112171=_0x24ee2b,_0x3182d5=_0x358546;});return{'callback':_0x2d77c8,'resolve':_0x112171,'reject':_0x3182d5,'completePromise':_0x4d9f7b};}}function _0x5d54(){const _0x76170e=['isProcessing','17127363yPFEMi','push','completePromise','3bfAKol','132831JdPrwF','length','_processQueue','createTask','signal','reject','1WFFsUo','resolve','70XCzuGV','once','12eFbTTm','shift','queue','5303584oplequ','abort','6gyfJKp','49jqhSGI','queueEmptyPromise','50644VNhwOo','1025344fRWodV','300145jvyRku','_queueEmpty','enqueue','_abortController','callback','971018zwiDdH','fire'];_0x5d54=function(){return _0x76170e;};return _0x5d54();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x3de8(_0x9030ea,_0x1a055f){var _0x25c526=_0x25c5();return _0x3de8=function(_0x3de875,_0x26535a){_0x3de875=_0x3de875-0x19f;var _0x5eeb07=_0x25c526[_0x3de875];return _0x5eeb07;},_0x3de8(_0x9030ea,_0x1a055f);}var _0x44f234=_0x3de8;(function(_0x3da028,_0x1c0c61){var _0x37ed61=_0x3de8,_0x4bc91d=_0x3da028();while(!![]){try{var _0x4b764f=-parseInt(_0x37ed61(0x19f))/0x1*(parseInt(_0x37ed61(0x1a5))/0x2)+parseInt(_0x37ed61(0x1a1))/0x3*(parseInt(_0x37ed61(0x1ad))/0x4)+parseInt(_0x37ed61(0x1ae))/0x5+-parseInt(_0x37ed61(0x1a4))/0x6*(-parseInt(_0x37ed61(0x1a7))/0x7)+parseInt(_0x37ed61(0x1aa))/0x8+-parseInt(_0x37ed61(0x1ab))/0x9*(-parseInt(_0x37ed61(0x1a6))/0xa)+-parseInt(_0x37ed61(0x1a2))/0xb;if(_0x4b764f===_0x1c0c61)break;else _0x4bc91d['push'](_0x4bc91d['shift']());}catch(_0x1109d8){_0x4bc91d['push'](_0x4bc91d['shift']());}}}(_0x25c5,0xf3780));import{ContextPlugin as _0x3d9280}from'ckeditor5/src/core.js';function _0x25c5(){var _0x5be664=['1wAVGxZ','AIChatHistory','3PUrfcW','29706061fphNAe','requires','11652ANGRtS','1907748szdBTC','4190RfGIxA','5187LSykuw','pluginName','isPremiumPlugin','5955288prtLEt','5175tiPQEm','isOfficialPlugin','3798124qkoFqV','6388920VBCPMk'];_0x25c5=function(){return _0x5be664;};return _0x25c5();}import{AIChatHistoryController as _0x38b8e6}from'./aichathistorycontroller.js';import{AIChatHistoryUI as _0x4b370a}from'./aichathistoryui.js';export{AIChatHistoryItem}from'./model/aichathistoryitem.js';export class AIChatHistory extends _0x3d9280{static get[_0x44f234(0x1a3)](){return[_0x38b8e6,_0x4b370a];}static get[_0x44f234(0x1a8)](){var _0x22502c=_0x44f234;return _0x22502c(0x1a0);}static get[_0x44f234(0x1ac)](){return!0x0;}static get[_0x44f234(0x1a9)](){return!0x0;}}
|