@ckeditor/ckeditor5-ai 47.7.2 → 47.7.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/dist/index.js +5 -5
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +15 -15
- package/src/aiactions/aiactions.js +1 -1
- package/src/aiactions/model/aiactionsinteraction.js +1 -1
- package/src/aiactions/model/aiactionsreply.js +1 -1
- package/src/aiassistant/adapters/aiadapter.js +1 -1
- package/src/aiassistant/adapters/aitextadapter.js +1 -1
- package/src/aiassistant/adapters/awstextadapter.js +1 -1
- package/src/aiassistant/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant/aiassistant.js +1 -1
- package/src/aiassistant/aiassistantediting.js +1 -1
- package/src/aiassistant/aiassistantui.js +1 -1
- package/src/aiassistant/legacyerrors.js +1 -1
- package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
- package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
- package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
- package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
- package/src/aiassistant/ui/form/aiformview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
- package/src/aiassistant/ui/form/prompthistory.js +1 -1
- package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
- package/src/aiassistant/utils/common-translations.js +1 -1
- package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
- package/src/aiballoon/aiballoon.js +1 -1
- package/src/aiballoon/ui/aiballoonview.js +1 -1
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatballoon.js +1 -1
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/ui/aichatballoonview.js +1 -1
- package/src/aichat/ui/aichatcontrolsview.js +1 -1
- package/src/aichat/ui/aichatfeedview.js +1 -1
- package/src/aichat/ui/aichatheaderview.js +1 -1
- package/src/aichat/ui/aichatview.js +1 -1
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
- package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
- package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcustomelementview.js +1 -1
- package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
- package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
- package/src/aichat/utils/eventnames.js +1 -1
- package/src/aichat/utils/promisequeue.js +1 -1
- package/src/aichathistory/aichathistory.js +1 -1
- package/src/aichathistory/aichathistorycontroller.js +1 -1
- package/src/aichathistory/aichathistoryui.js +1 -1
- package/src/aichathistory/model/aichathistoryconversations.js +1 -1
- package/src/aichathistory/model/aichathistoryitem.js +1 -1
- package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
- package/src/aichathistory/ui/aichathistorylistview.js +1 -1
- package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
- package/src/aichathistory/ui/aichathistoryview.js +1 -1
- package/src/aichatshortcuts/aichatshortcuts.js +1 -1
- package/src/aichatshortcuts/ui/aichatshortcutsview.js +1 -1
- package/src/aichatshortcuts/ui/aichatshortcutview.js +1 -1
- package/src/aicore/aiconnector.js +1 -1
- package/src/aicore/aiediting.js +1 -1
- package/src/aicore/model/aicapabilities.js +1 -1
- package/src/aicore/model/aicontext.js +1 -1
- package/src/aicore/model/aiinteraction.js +1 -1
- package/src/aicore/model/aimodels.js +1 -1
- package/src/aicore/model/aireply.js +1 -1
- package/src/aicore/pipeline/airesponseapplier.js +2 -2
- package/src/aicore/pipeline/airesponseparser.js +2 -2
- package/src/aicore/ui/aidisclaimerview.js +1 -1
- package/src/aicore/ui/aiskeleton.js +1 -1
- package/src/aicore/ui/aispinner.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartheaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.js +1 -1
- package/src/aicore/utils/common-translations.js +1 -1
- package/src/aicore/utils/createresizebutton.js +1 -1
- package/src/aicore/utils/documentposition.js +1 -1
- package/src/aicore/utils/documentrange.js +1 -1
- package/src/aicore/utils/eventnames.js +1 -1
- package/src/aicore/utils/geteditorfromcontext.js +1 -1
- package/src/aicore/utils/getoperationsfromreply.js +1 -1
- package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
- package/src/aicore/utils/htmlparser.js +1 -1
- package/src/aicore/utils/htmlstreamer.js +1 -1
- package/src/aicore/utils/scrollmanager.js +1 -1
- package/src/aieditorintegration/aieditorintegration.js +1 -1
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
- package/src/aiquickactions/aiquickactions.js +1 -1
- package/src/aiquickactions/aiquickactionscommand.js +1 -1
- package/src/aiquickactions/aiquickactionsediting.js +1 -1
- package/src/aiquickactions/aiquickactionsui.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoondisclaimerview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoontoolbarview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoonview.js +1 -1
- package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
- package/src/aireviewcore/aireviewcorecontroller.js +1 -1
- package/src/aireviewcore/aireviewcoreediting.js +1 -1
- package/src/aireviewcore/aireviewcoreui.js +1 -1
- package/src/aireviewcore/model/aireviewcheck.js +1 -1
- package/src/aireviewcore/model/aireviewchecklist.js +1 -1
- package/src/aireviewcore/model/aireviewcheckresult.js +1 -1
- package/src/aireviewcore/model/aireviewcheckresultchange.js +1 -1
- package/src/aireviewcore/model/aireviewcheckrun.js +1 -1
- package/src/aireviewcore/model/aireviewsystemcheckrun.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreballoonsuggestionview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorechecklistitemresultview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorecustomcheckview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorefinishreviewbuttonview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoregeneralerrorview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorepromptinputview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewchecklistview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewcommandlistitemview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewcompletedview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreuicheckresultsview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreview.js +1 -1
- package/src/aireviewcore/ui/form/aireviewcoreformdropdown.js +1 -1
- package/src/aireviewcore/ui/form/aireviewcoreformmanager.js +1 -1
- package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
- package/src/aireviewmode/aireviewmode.js +1 -1
- package/src/aireviewmode/aireviewmodecontroller.js +1 -1
- package/src/aireviewmode/aireviewmodeui.js +1 -1
- package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
- package/src/aireviewmode/model/aireviewcheckextra.js +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewextracheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewmodechecklist.js +1 -1
- package/src/aitabs/aitabs.js +1 -1
- package/src/aitabs/aitabsmainview.js +1 -1
- package/src/aitabs/tabs/aitabsview.js +1 -1
- package/src/aitabs/tabs/tabbuttonview.js +1 -1
- package/src/aitabs/tabs/tabpanelview.js +1 -1
- package/src/aitranslate/aitranslate.js +1 -1
- package/src/aitranslate/aitranslatecontroller.js +1 -1
- package/src/aitranslate/aitranslateui.js +1 -1
- package/src/aitranslate/model/aitranslatecheck.js +1 -1
- package/src/aitranslate/model/aitranslatechecklist.js +1 -1
- package/src/aitranslate/model/aitranslatecheckrun.js +1 -1
- package/src/aitranslate/ui/aitranslatechecklistview.js +1 -1
- package/src/aitranslate/ui/aitranslatecheckresultsview.js +1 -1
- package/src/errors.js +1 -1
- package/src/errorsmap.js +1 -1
- package/src/index.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x1e67(_0x28e3e4,_0xfc1b1b){const _0x57efe8=_0x57ef();return _0x1e67=function(_0x1e67e0,_0x3101b8){_0x1e67e0=_0x1e67e0-0xc9;let _0x5e94a2=_0x57efe8[_0x1e67e0];return _0x5e94a2;},_0x1e67(_0x28e3e4,_0xfc1b1b);}const _0x5029b1=_0x1e67;(function(_0x33fb4b,_0x5d65c0){const _0x5f158f=_0x1e67,_0x5c0ae1=_0x33fb4b();while(!![]){try{const _0x4d0d08=-parseInt(_0x5f158f(0xe4))/0x1*(parseInt(_0x5f158f(0xd2))/0x2)+-parseInt(_0x5f158f(0xcf))/0x3+-parseInt(_0x5f158f(0xe1))/0x4*(-parseInt(_0x5f158f(0xd6))/0x5)+-parseInt(_0x5f158f(0xca))/0x6*(-parseInt(_0x5f158f(0xea))/0x7)+parseInt(_0x5f158f(0xe2))/0x8*(-parseInt(_0x5f158f(0xe6))/0x9)+-parseInt(_0x5f158f(0xd8))/0xa*(parseInt(_0x5f158f(0xe7))/0xb)+parseInt(_0x5f158f(0xe5))/0xc;if(_0x4d0d08===_0x5d65c0)break;else _0x5c0ae1['push'](_0x5c0ae1['shift']());}catch(_0x36e361){_0x5c0ae1['push'](_0x5c0ae1['shift']());}}}(_0x57ef,0x8f05a));import{View as _0x292859}from'ckeditor5/src/ui.js';import{AIChatContextItemButtonView as _0x2ea79c}from'../controls/aichatcontextitembuttonview.js';function _0x57ef(){const _0x53dab0=['269159bCIztP','_createContextChips','destroy','7qOtEcg','_bodyCollection','2211564ActZyO','ck-ai-chat__feed__context-chips','setContainerElement','querySelector','div','563556OaMFzQ','ck-ai-chat-controls_context_show-more-button','render','2172040sLBAEA','element','reorganizeChips','ck-ai-chat-context-chips-wrapper','15xkDzcI','add','210abqGUL','_contextChips','ck-ai-chat-context-controls__show-more-balloon-panel','_overflowManager','createCollection','ck-reset_all','setTemplate','ck-ai-chat-context-chips-wrapper-balloon','locale','89068hPnaiW','6510984OvfluA','ck-ai-chat-controls-button','1scUYGF','33024204GnjMOa','9qZMqdq'];_0x57ef=function(){return _0x53dab0;};return _0x57ef();}import{AIChatChipsOverflowManager as _0x160c06}from'../controls/aichatchipsoverflowmanager.js';const oc=_0x5029b1(0xcb),cc=_0x5029b1(0xd5),rc=_0x5029b1(0xdf),jo=_0x5029b1(0xe3),Xo=_0x5029b1(0xd0),yo=_0x5029b1(0xda);export class AIChatFeedContextChipsView extends _0x292859{[_0x5029b1(0xd9)]=this[_0x5029b1(0xdc)]();[_0x5029b1(0xdb)];[_0x5029b1(0xc9)];constructor(_0x458482,_0x14b81d,_0x5c73b9){const _0x14b407=_0x5029b1;super(_0x458482),this[_0x14b407(0xc9)]=_0x5c73b9,this[_0x14b407(0xe8)](_0x14b81d);const _0x4d777f={'cssClasses':{'showMoreButton':Xo,'showMoreBalloon':yo,'overflowContainer':rc,'controlsButton':jo}};this[_0x14b407(0xdb)]=new _0x160c06(_0x458482,this[_0x14b407(0xd9)],_0x4d777f,this[_0x14b407(0xc9)],this),this[_0x14b407(0xde)]({'tag':_0x14b407(0xce),'attributes':{'class':[oc,'ck',_0x14b407(0xdd)]},'children':[{'tag':_0x14b407(0xce),'attributes':{'class':cc},'children':this[_0x14b407(0xd9)]}]});}[_0x5029b1(0xd1)](){const _0x1494f5=_0x5029b1;super[_0x1494f5(0xd1)]();const _0x85513e=this[_0x1494f5(0xd3)][_0x1494f5(0xcd)]('.'+cc);_0x85513e&&(this[_0x1494f5(0xdb)][_0x1494f5(0xcc)](_0x85513e),this[_0x1494f5(0xdb)][_0x1494f5(0xd4)]());}[_0x5029b1(0xe9)](){const _0x14e043=_0x5029b1;super[_0x14e043(0xe9)](),this[_0x14e043(0xdb)][_0x14e043(0xe9)]();}[_0x5029b1(0xe8)](_0x496b07){const _0x29921e=_0x5029b1;for(const _0x1e35cc of _0x496b07){const _0x49fdb2=new _0x2ea79c(this[_0x29921e(0xe0)],_0x1e35cc,!0x0,!0x1);this[_0x29921e(0xd9)][_0x29921e(0xd7)](_0x49fdb2);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0xec8a9b=_0x22a4;(function(_0x4c2200,_0x17b473){var _0x59c949=_0x22a4,_0x3f86b1=_0x4c2200();while(!![]){try{var _0x297a6e=-parseInt(_0x59c949(0xcf))/0x1+parseInt(_0x59c949(0xcd))/0x2+parseInt(_0x59c949(0xcb))/0x3+-parseInt(_0x59c949(0xc8))/0x4*(parseInt(_0x59c949(0xd0))/0x5)+-parseInt(_0x59c949(0xd8))/0x6*(-parseInt(_0x59c949(0xd3))/0x7)+parseInt(_0x59c949(0xc9))/0x8+parseInt(_0x59c949(0xd7))/0x9*(-parseInt(_0x59c949(0xd6))/0xa);if(_0x297a6e===_0x17b473)break;else _0x3f86b1['push'](_0x3f86b1['shift']());}catch(_0x4466de){_0x3f86b1['push'](_0x3f86b1['shift']());}}}(_0x2588,0x67e5f));function _0x22a4(_0x37ccad,_0x288ad9){var _0x25888d=_0x2588();return _0x22a4=function(_0x22a4fa,_0x2b55fb){_0x22a4fa=_0x22a4fa-0xc6;var _0x512579=_0x25888d[_0x22a4fa];return _0x512579;},_0x22a4(_0x37ccad,_0x288ad9);}function _0x2588(){var _0xf9f09f=['options','render','1888UKuOwT','2782128iaPSFx','ck-ai-chat__feed__custom-element','2306667uavmpE','string','165684vBOBrH','appendChild','303412NCYXpg','835uOQvlZ','element','extendTemplate','1036217crlVAp','content','innerHTML','3940rUAXuL','22473xbSBsu','24MxtSOm'];_0x2588=function(){return _0xf9f09f;};return _0x2588();}import{AIChatFeedItemView as _0x5041bc}from'./aichatfeeditemview.js';export class AIChatFeedCustomElementView extends _0x5041bc{constructor(_0x5ca6cf){var _0x3184e0=_0x22a4;super(_0x5ca6cf),this[_0x3184e0(0xd2)]({'attributes':{'class':[_0x3184e0(0xca)]}});}async[_0xec8a9b(0xc7)](){var _0x463717=_0xec8a9b;super[_0x463717(0xc7)](),_0x463717(0xcc)==typeof this[_0x463717(0xc6)][_0x463717(0xd4)]?this[_0x463717(0xd1)][_0x463717(0xd5)]=this[_0x463717(0xc6)][_0x463717(0xd4)]:this[_0x463717(0xd1)][_0x463717(0xce)](this[_0x463717(0xc6)][_0x463717(0xd4)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0xb8f2(){var _0x347891=['ck-ai-notification_warning','level','4IRYjQu','setContent','extendTemplate','ck-ai-notification_error','innerHTML','48040lTFcbf','1930XmVSsU','970446SGCnCV','3771180FBzjwK','options','initialContent','43209NDjbOy','warning','3269255IeXCQM','2748176IadGKd','4IFtfCd','markAsDone','element','793086DMnIIw','ck-ai-notification','render'];_0xb8f2=function(){return _0x347891;};return _0xb8f2();}var _0x169fe4=_0x58d1;function _0x58d1(_0x372d4a,_0x3d182f){var _0xb8f232=_0xb8f2();return _0x58d1=function(_0x58d1a0,_0xd29b9a){_0x58d1a0=_0x58d1a0-0x96;var _0x1a7218=_0xb8f232[_0x58d1a0];return _0x1a7218;},_0x58d1(_0x372d4a,_0x3d182f);}(function(_0x10dfcd,_0x2ff3c0){var _0x258fa9=_0x58d1,_0x38060f=_0x10dfcd();while(!![]){try{var _0x3f97af=-parseInt(_0x258fa9(0x99))/0x1+-parseInt(_0x258fa9(0xa3))/0x2*(-parseInt(_0x258fa9(0x9b))/0x3)+parseInt(_0x258fa9(0xab))/0x4*(parseInt(_0x258fa9(0xa1))/0x5)+-parseInt(_0x258fa9(0xa6))/0x6+parseInt(_0x258fa9(0x9c))/0x7+-parseInt(_0x258fa9(0xa2))/0x8+-parseInt(_0x258fa9(0x9f))/0x9*(parseInt(_0x258fa9(0x9a))/0xa);if(_0x3f97af===_0x2ff3c0)break;else _0x38060f['push'](_0x38060f['shift']());}catch(_0x2073c0){_0x38060f['push'](_0x38060f['shift']());}}}(_0xb8f2,0x5f063));import{AIChatFeedItemView as _0x1d6a79}from'./aichatfeeditemview.js';export class AIChatFeedErrorItemView extends _0x1d6a79{constructor(_0x469eec){var _0x188b3f=_0x58d1;super(_0x469eec),this[_0x188b3f(0x96)]({'attributes':{'class':[_0x188b3f(0xa7),_0x188b3f(0xa0)===_0x469eec[_0x188b3f(0xaa)]?_0x188b3f(0xa9):_0x188b3f(0x97)]}});}[_0x169fe4(0xa8)](){var _0x3bf0d1=_0x169fe4;super[_0x3bf0d1(0xa8)](),this[_0x3bf0d1(0xac)](this[_0x3bf0d1(0x9d)][_0x3bf0d1(0x9e)]),this[_0x3bf0d1(0xa4)]();}[_0x169fe4(0xac)](_0x3ac1a1){var _0x22737d=_0x169fe4;this[_0x22737d(0xa5)][_0x22737d(0x98)]=_0x3ac1a1;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x234f35=_0x35e1;function _0xf336(){const _0x4b7121=['666395ksUFca','push','add','children','ck-ai-chat__feed__interaction-header','extendTemplate','ck-ai-chat__feed__interaction-header__capabilities__text','div','1569632xuMIox','189cQxozg','658780cYQmTt','ck-hidden','capabilities','5080JucwWv','span','setTemplate','2716NYeBTr','AI_CHAT_FEED_REPLY_ITEM_USED_REASONING','ck-ai-chat__feed__interaction-header__capabilities','2784620wailLo','content','548635jmvTLf','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH','431427XoeLvf','6BJYUrl'];_0xf336=function(){return _0x4b7121;};return _0xf336();}(function(_0x5e3475,_0x5dc3ab){const _0x2b0d20=_0x35e1,_0x42bec1=_0x5e3475();while(!![]){try{const _0x2fddfc=parseInt(_0x2b0d20(0x14a))/0x1+parseInt(_0x2b0d20(0x157))/0x2+parseInt(_0x2b0d20(0x14d))/0x3+parseInt(_0x2b0d20(0x148))/0x4+-parseInt(_0x2b0d20(0x14f))/0x5*(parseInt(_0x2b0d20(0x14e))/0x6)+parseInt(_0x2b0d20(0x145))/0x7*(-parseInt(_0x2b0d20(0x15c))/0x8)+-parseInt(_0x2b0d20(0x158))/0x9*(parseInt(_0x2b0d20(0x159))/0xa);if(_0x2fddfc===_0x5dc3ab)break;else _0x42bec1['push'](_0x42bec1['shift']());}catch(_0x396953){_0x42bec1['push'](_0x42bec1['shift']());}}}(_0xf336,0x642ce));import{IconBulb as _0x320d2e,IconWeb as _0x405a7d}from'@ckeditor/ckeditor5-icons';import{IconView as _0x380a26,View as _0x5af906}from'ckeditor5/src/ui.js';function _0x35e1(_0x2d2d49,_0xa61f60){const _0xf33675=_0xf336();return _0x35e1=function(_0x35e11f,_0x47f2ff){_0x35e11f=_0x35e11f-0x145;let _0x14dbf6=_0xf33675[_0x35e11f];return _0x14dbf6;},_0x35e1(_0x2d2d49,_0xa61f60);}import{AIChatFeedItemView as _0x36801a}from'./aichatfeeditemview.js';import{getTranslation as _0x1ac9f5}from'../../../aicore/utils/common-translations.js';export class AIChatFeedInteractionHeaderView extends _0x36801a{[_0x234f35(0x15b)];constructor(_0x18ab4f,_0x54ac3e){const _0x570345=_0x234f35;super(_0x54ac3e);const {isWebSearchEnabled:_0x5e1ead,isReasoningEnabled:_0x12b5b5}=_0x54ac3e[_0x570345(0x15b)],_0x170ba1=[];let _0x40bc75='';_0x5e1ead&&_0x12b5b5?(_0x40bc75=_0x1ac9f5(_0x18ab4f,_0x570345(0x14b)),_0x170ba1[_0x570345(0x150)](aa(_0x405a7d)),_0x170ba1[_0x570345(0x150)](aa(_0x320d2e))):_0x5e1ead?(_0x40bc75=_0x1ac9f5(_0x18ab4f,_0x570345(0x14c)),_0x170ba1[_0x570345(0x150)](aa(_0x405a7d))):_0x12b5b5&&(_0x40bc75=_0x1ac9f5(_0x18ab4f,_0x570345(0x146)),_0x170ba1[_0x570345(0x150)](aa(_0x320d2e))),this[_0x570345(0x154)]({'attributes':{'class':[_0x570345(0x153),_0x40bc75?'':_0x570345(0x15a)]}});const _0x4ff502=new _0x5af906();_0x4ff502[_0x570345(0x15e)]({'tag':_0x570345(0x156),'attributes':{'class':['ck',_0x570345(0x147)]},'children':[..._0x170ba1,{'tag':_0x570345(0x15d),'attributes':{'class':[_0x570345(0x155)]},'children':[_0x40bc75]}]}),this[_0x570345(0x152)][_0x570345(0x151)](_0x4ff502),this[_0x570345(0x15b)]=_0x54ac3e[_0x570345(0x15b)];}}function aa(_0x496b8e){const _0x4e5ace=_0x234f35,_0x365392=new _0x380a26();return _0x365392[_0x4e5ace(0x149)]=_0x496b8e,_0x365392;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x3bb6(){const _0x402812=['44575KOLFsD','7262PVPOsg','content','animation:\x20ck-html-streamer-fade-in\x20.5s','options','div','54fvGsFV','children','1274240sfBpTG','set','forEach','data-id','querySelectorAll','6813ciMAtK','ck-hidden','isDone','84400nHfqQX','2439773DmpJsd','createCollection','bindTemplate','[data-id]','setTemplate','cleanUpAnimations','ck-ai-chat__feed__text-item','11227130nxdSlE','2308tcBDWF','markAsDone','306eAUaYA','stream','ck-ai-chat__feed__item','removeAttribute','204NYlMzf','htmlStreamer','isVisible','streamIntoElement','element','ck-ai-chat__feed__item_done'];_0x3bb6=function(){return _0x402812;};return _0x3bb6();}const _0x3e6d30=_0x391c;function _0x391c(_0x74340e,_0x4f3c29){const _0x3bb6a8=_0x3bb6();return _0x391c=function(_0x391ceb,_0xb52ee0){_0x391ceb=_0x391ceb-0x1ac;let _0x3f05fa=_0x3bb6a8[_0x391ceb];return _0x3f05fa;},_0x391c(_0x74340e,_0x4f3c29);}(function(_0x3d7e2b,_0x27b9ce){const _0x4b6328=_0x391c,_0x3947eb=_0x3d7e2b();while(!![]){try{const _0x5db0ce=parseInt(_0x4b6328(0x1cf))/0x1*(parseInt(_0x4b6328(0x1b5))/0x2)+parseInt(_0x4b6328(0x1c1))/0x3*(parseInt(_0x4b6328(0x1cd))/0x4)+parseInt(_0x4b6328(0x1b4))/0x5*(-parseInt(_0x4b6328(0x1ae))/0x6)+-parseInt(_0x4b6328(0x1c5))/0x7+parseInt(_0x4b6328(0x1c4))/0x8*(parseInt(_0x4b6328(0x1ba))/0x9)+-parseInt(_0x4b6328(0x1cc))/0xa+parseInt(_0x4b6328(0x1bc))/0xb;if(_0x5db0ce===_0x27b9ce)break;else _0x3947eb['push'](_0x3947eb['shift']());}catch(_0x3c41be){_0x3947eb['push'](_0x3947eb['shift']());}}}(_0x3bb6,0xc9b77));import{View as _0x66d8be}from'ckeditor5/src/ui.js';import{HTMLStreamer as _0x53cf02}from'../../../aicore/utils/htmlstreamer.js';export class AIChatFeedItemView extends _0x66d8be{[_0x3e6d30(0x1b8)];[_0x3e6d30(0x1b6)]='';[_0x3e6d30(0x1af)];[_0x3e6d30(0x1bb)];constructor(_0x372160){const _0xa7f5e1=_0x3e6d30;super();const _0x5bc351=this[_0xa7f5e1(0x1c7)];this[_0xa7f5e1(0x1bd)](_0xa7f5e1(0x1c3),!0x1),this[_0xa7f5e1(0x1bd)](_0xa7f5e1(0x1b0),!0x0),this[_0xa7f5e1(0x1af)]=new _0x53cf02({'textNodeStyle':_0xa7f5e1(0x1b7),'delay':0x14}),this[_0xa7f5e1(0x1b8)]=_0x372160,this[_0xa7f5e1(0x1bb)]=this[_0xa7f5e1(0x1c6)](),this[_0xa7f5e1(0x1c9)]({'tag':_0xa7f5e1(0x1b9),'attributes':{'class':['ck',_0xa7f5e1(0x1ac),_0x5bc351['if'](_0xa7f5e1(0x1c3),_0xa7f5e1(0x1b3)),_0x5bc351['if'](_0xa7f5e1(0x1b0),_0xa7f5e1(0x1c2),_0x3a8a9b=>!_0x3a8a9b),_0xa7f5e1(0x1cb)],'data-cke-ai-id':this[_0xa7f5e1(0x1b8)]['id']},'children':this[_0xa7f5e1(0x1bb)]});}[_0x3e6d30(0x1ce)](){const _0x2a64f7=_0x3e6d30;this[_0x2a64f7(0x1af)][_0x2a64f7(0x1ca)]({'targetElement':this[_0x2a64f7(0x1b2)]}),this[_0x2a64f7(0x1b2)][_0x2a64f7(0x1c0)](_0x2a64f7(0x1c8))[_0x2a64f7(0x1be)](_0x13fc3c=>{const _0x59a33d=_0x2a64f7;_0x13fc3c[_0x59a33d(0x1ad)](_0x59a33d(0x1bf));}),this[_0x2a64f7(0x1c3)]=!0x0;}async[_0x3e6d30(0x1b1)](_0x35591d,_0xed8590,_0x293ee9){const _0x28e52c=_0x3e6d30;await this[_0x28e52c(0x1af)][_0x28e52c(0x1d0)]({'document':_0x35591d,'targetElement':_0xed8590,'abortSignal':_0x293ee9});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x38681d=_0x52d1;(function(_0x696f70,_0x2b51b2){const _0x1246be=_0x52d1,_0x326d63=_0x696f70();while(!![]){try{const _0x538f8=-parseInt(_0x1246be(0x1eb))/0x1*(-parseInt(_0x1246be(0x1e7))/0x2)+parseInt(_0x1246be(0x1e1))/0x3+parseInt(_0x1246be(0x1f6))/0x4+-parseInt(_0x1246be(0x1ed))/0x5*(-parseInt(_0x1246be(0x1ef))/0x6)+parseInt(_0x1246be(0x1ee))/0x7+parseInt(_0x1246be(0x1e4))/0x8*(parseInt(_0x1246be(0x1ec))/0x9)+-parseInt(_0x1246be(0x1f4))/0xa*(parseInt(_0x1246be(0x203))/0xb);if(_0x538f8===_0x2b51b2)break;else _0x326d63['push'](_0x326d63['shift']());}catch(_0xc6f0e3){_0x326d63['push'](_0x326d63['shift']());}}}(_0xe6d6,0xe0d2e));function _0xe6d6(){const _0x1290fe=['add','setTemplate','markAsDone','addMany','6538450PfFhXu','div','5884540IvRCle','streamIntoElement','extendTemplate','static','render','updateContent','initialContent','ck-ai-chat__feed__ai-reply-container','options','isVisible','_bodyCollection','children','locale','110dHYWUw','map','balloonPanelView','5492541zAlseQ','element','replyContainer','16dVWhxQ','streaming','ck-ai-chat__feed__ai-reply','14ESHPHQ','innerHTML','ck-reset_all-excluded','updateSources','145678dkQdFu','2501703vBQvur','664410okDauJ','7839748bWeaMu','66TQRRlu'];_0xe6d6=function(){return _0x1290fe;};return _0xe6d6();}import{AIChatFeedItemView as _0x440c10}from'./aichatfeeditemview.js';import{parse as _0x2ff28b,render as _0x216d2c}from'../../../aicore/utils/htmlparser.js';function _0x52d1(_0x3a02e4,_0x44d1bd){const _0xe6d6a9=_0xe6d6();return _0x52d1=function(_0x52d149,_0x565101){_0x52d149=_0x52d149-0x1e1;let _0x5a7b0a=_0xe6d6a9[_0x52d149];return _0x5a7b0a;},_0x52d1(_0x3a02e4,_0x44d1bd);}import{View as _0x20db54}from'ckeditor5/src/ui.js';import{AIWebSourcesView as _0x333a57,AIWebSourceView as _0x550881}from'../../../aicore/ui/suggestioncontainer/aiwebsourcesview.js';export class AIChatFeedReplyItemView extends _0x440c10{[_0x38681d(0x1e3)];[_0x38681d(0x200)];constructor(_0xd65595,_0x2668a0,_0x4c0d5e){const _0x574096=_0x38681d;super(_0x2668a0),this[_0x574096(0x200)]=_0x4c0d5e,this[_0x574096(0x202)]=_0xd65595,this[_0x574096(0x1f8)]({'attributes':{'class':[_0x574096(0x1e6)]}}),this[_0x574096(0x1e3)]=new _0x20db54(),this[_0x574096(0x1e3)][_0x574096(0x1f1)]({'tag':_0x574096(0x1f5),'attributes':{'class':['ck',_0x574096(0x1e9),_0x574096(0x1fd)]}}),this[_0x574096(0x201)][_0x574096(0x1f0)](this[_0x574096(0x1e3)]);}async[_0x38681d(0x1fa)](){const _0x2ba42d=_0x38681d;super[_0x2ba42d(0x1fa)](),this[_0x2ba42d(0x1fe)][_0x2ba42d(0x1fc)]&&(await this[_0x2ba42d(0x1fb)]({'parsedContent':_0x2ff28b(this[_0x2ba42d(0x1fe)][_0x2ba42d(0x1fc)]),'renderingStrategy':_0x2ba42d(0x1f9)}),this[_0x2ba42d(0x1f2)]());}async[_0x38681d(0x1fb)]({parsedContent:_0x28b1a8,renderingStrategy:_0x252fbb,abortSignal:_0x5d12f3}){const _0x404b07=_0x38681d;_0x404b07(0x1e5)===_0x252fbb?await this[_0x404b07(0x1f7)](_0x28b1a8,this[_0x404b07(0x1e3)][_0x404b07(0x1e2)],_0x5d12f3):this[_0x404b07(0x1e3)][_0x404b07(0x1e2)][_0x404b07(0x1e8)]=_0x216d2c(_0x28b1a8);}[_0x38681d(0x1ea)](_0x2b2176){const _0x554561=_0x38681d,_0x56e69b=new _0x333a57(this[_0x554561(0x202)],this[_0x554561(0x200)]);_0x56e69b[_0x554561(0x201)][_0x554561(0x1f3)](_0x2b2176[_0x554561(0x204)](_0x291b73=>new _0x550881(this[_0x554561(0x202)],_0x291b73,_0x56e69b[_0x554561(0x205)]))),_0x56e69b[_0x554561(0x1ff)]=!0x0,this[_0x554561(0x201)][_0x554561(0x1f0)](_0x56e69b);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x3683(){const _0x3ab524=['includes','label','button','children','7385364Wsqgkn','bindTemplate','ck-hidden','change:isTrackChangesOn','ck-ai-button-primary','659382PiUZbn','AI_CHAT_SUGGESTION_ACTION_SUGGEST_ALL','_switchButtonLabelsPlurality','execute','applySuggestion','1339544morPcC','forEach','_applyChangesButton','370988bOMLee','div','isEnabled','updateVisibility','AI_SUGGESTION_DISABLED_FEED_MESSAGE','AI_CHAT_SUGGESTION_ACTION_APPLY','createCollection','setTemplate','AI_SUGGESTION_DISABLED_TOOLTIP_MESSAGE','set','addMany','insertSuggestion','AI_CHAT_SUGGESTION_ACTION_SUGGEST','bind','isVisible','locale','AI_CHAT_SUGGESTION_ACTION_APPLY_ALL','16hQlQBV','ck-ai-chat__feed__ai-suggestion__actions','813933mMQvQY','3914670IFzQqb','isTrackChangesOn','add','ck-ai-button-secondary','ck-ai-chat__feed__suggestion__actions__info','fire','6oIiTgq','_insertSuggestionsButton','6000147VYStrb'];_0x3683=function(){return _0x3ab524;};return _0x3683();}const _0x19c1ef=_0xed89;(function(_0x232f50,_0x2f9971){const _0x295e0c=_0xed89,_0x37d365=_0x232f50();while(!![]){try{const _0x25129d=parseInt(_0x295e0c(0x16c))/0x1+-parseInt(_0x295e0c(0x174))/0x2+parseInt(_0x295e0c(0x187))/0x3+parseInt(_0x295e0c(0x171))/0x4+parseInt(_0x295e0c(0x188))/0x5*(-parseInt(_0x295e0c(0x18e))/0x6)+-parseInt(_0x295e0c(0x195))/0x7+-parseInt(_0x295e0c(0x185))/0x8*(-parseInt(_0x295e0c(0x190))/0x9);if(_0x25129d===_0x2f9971)break;else _0x37d365['push'](_0x37d365['shift']());}catch(_0x3b27f2){_0x37d365['push'](_0x37d365['shift']());}}}(_0x3683,0x8c7e9));import{ButtonView as _0x180fe3,View as _0x38b6af}from'ckeditor5/src/ui.js';import{getTranslation as _0x50513e}from'../../../aicore/utils/common-translations.js';function _0xed89(_0x5a0c98,_0xa3520e){const _0x3683d1=_0x3683();return _0xed89=function(_0xed8997,_0x556724){_0xed8997=_0xed8997-0x16b;let _0xfd9aba=_0x3683d1[_0xed8997];return _0xfd9aba;},_0xed89(_0x5a0c98,_0xa3520e);}import{IconInfo as _0x42e7d3}from'ckeditor5/src/icons.js';export const AI_REPLY_ACTIONS=[_0x19c1ef(0x170),_0x19c1ef(0x17f)];export class AIChatFeedSuggestionItemActionsView extends _0x38b6af{[_0x19c1ef(0x173)];[_0x19c1ef(0x18f)];[_0x19c1ef(0x194)];constructor(_0x515b78,_0x30fc91=[...AI_REPLY_ACTIONS],_0x3d3b0b){const _0x494bb7=_0x19c1ef;super(_0x515b78);const _0x51fe4f=this[_0x494bb7(0x196)],_0x205202=Boolean(_0x3d3b0b);if(this[_0x494bb7(0x17d)](_0x494bb7(0x176),!_0x205202),this[_0x494bb7(0x17d)](_0x494bb7(0x182),!0x1),this[_0x494bb7(0x17d)](_0x494bb7(0x189),!0x1),this[_0x494bb7(0x194)]=this[_0x494bb7(0x17a)](),_0x205202){const _0x18e975=new _0x180fe3(_0x515b78);_0x18e975[_0x494bb7(0x17d)]({'label':_0x50513e(_0x515b78,_0x494bb7(0x17c)),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x42e7d3});const _0x4a2d6b=new _0x38b6af(_0x515b78);_0x4a2d6b[_0x494bb7(0x17b)]({'tag':_0x494bb7(0x175),'attributes':{'class':_0x494bb7(0x18c)},'children':[{'tag':'p','children':[_0x50513e(_0x515b78,_0x494bb7(0x178)),_0x18e975]}]}),this[_0x494bb7(0x194)][_0x494bb7(0x18a)](_0x4a2d6b);}else this[_0x494bb7(0x173)]=new _0x180fe3(_0x515b78),this[_0x494bb7(0x173)][_0x494bb7(0x17d)]({'label':_0x50513e(_0x515b78,_0x494bb7(0x184)),'withText':!0x0,'type':_0x494bb7(0x193),'isVisible':_0x30fc91[_0x494bb7(0x191)](_0x494bb7(0x170)),'class':_0x494bb7(0x16b)}),this[_0x494bb7(0x18f)]=new _0x180fe3(_0x515b78),this[_0x494bb7(0x18f)][_0x494bb7(0x17d)]({'label':_0x50513e(_0x515b78,_0x494bb7(0x16d)),'withText':!0x0,'type':_0x494bb7(0x193),'isVisible':_0x30fc91[_0x494bb7(0x191)](_0x494bb7(0x17f)),'class':_0x494bb7(0x18b)}),this[_0x494bb7(0x18f)]['on'](_0x494bb7(0x16f),()=>{const _0x143d17=_0x494bb7;this[_0x143d17(0x18d)](_0x143d17(0x17f));}),this[_0x494bb7(0x173)]['on'](_0x494bb7(0x16f),()=>{const _0x498ea9=_0x494bb7;this[_0x498ea9(0x18d)](_0x498ea9(0x170));}),[this[_0x494bb7(0x173)],this[_0x494bb7(0x18f)]][_0x494bb7(0x172)](_0x2988bf=>{const _0x315b04=_0x494bb7;_0x2988bf[_0x315b04(0x181)](_0x315b04(0x176))['to'](this);}),this[_0x494bb7(0x194)][_0x494bb7(0x17e)]([this[_0x494bb7(0x173)],this[_0x494bb7(0x18f)]]);this[_0x494bb7(0x17b)]({'tag':_0x494bb7(0x175),'attributes':{'class':['ck',_0x494bb7(0x186),_0x51fe4f['if'](_0x494bb7(0x182),_0x494bb7(0x197),_0x4001c0=>!_0x4001c0)]},'children':this[_0x494bb7(0x194)]}),this['on'](_0x494bb7(0x198),()=>{const _0x137d37=_0x494bb7;this[_0x137d37(0x173)]&&(this[_0x137d37(0x173)][_0x137d37(0x182)]=!this[_0x137d37(0x189)]);});}[_0x19c1ef(0x177)](_0x26122e){const _0x2d4607=_0x19c1ef;this[_0x2d4607(0x182)]=_0x26122e;}[_0x19c1ef(0x16e)](_0x14be01){const _0x150892=_0x19c1ef;this[_0x150892(0x173)]&&this[_0x150892(0x18f)]&&(_0x14be01?(this[_0x150892(0x173)][_0x150892(0x192)]=_0x50513e(this[_0x150892(0x183)],_0x150892(0x184)),this[_0x150892(0x18f)][_0x150892(0x192)]=_0x50513e(this[_0x150892(0x183)],_0x150892(0x16d))):(this[_0x150892(0x173)][_0x150892(0x192)]=_0x50513e(this[_0x150892(0x183)],_0x150892(0x179)),this[_0x150892(0x18f)][_0x150892(0x192)]=_0x50513e(this[_0x150892(0x183)],_0x150892(0x180))));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x2b6107=_0x43d9;(function(_0x1885c4,_0x1e53d2){var _0x44efa9=_0x43d9,_0x48b5d8=_0x1885c4();while(!![]){try{var _0x323361=-parseInt(_0x44efa9(0x107))/0x1*(-parseInt(_0x44efa9(0x11e))/0x2)+-parseInt(_0x44efa9(0x12d))/0x3*(parseInt(_0x44efa9(0x120))/0x4)+parseInt(_0x44efa9(0x11f))/0x5*(parseInt(_0x44efa9(0x10b))/0x6)+parseInt(_0x44efa9(0x124))/0x7*(parseInt(_0x44efa9(0x11d))/0x8)+-parseInt(_0x44efa9(0x119))/0x9*(parseInt(_0x44efa9(0x10c))/0xa)+-parseInt(_0x44efa9(0x12e))/0xb*(parseInt(_0x44efa9(0x121))/0xc)+parseInt(_0x44efa9(0x11b))/0xd;if(_0x323361===_0x1e53d2)break;else _0x48b5d8['push'](_0x48b5d8['shift']());}catch(_0x146753){_0x48b5d8['push'](_0x48b5d8['shift']());}}}(_0x46f4,0x4d9e7));import{AIChatFeedItemView as _0x2e058d}from'./aichatfeeditemview.js';import{AISuggestionContainerView as _0xb18000}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';function _0x43d9(_0x2fe401,_0x2f6c88){var _0x46f450=_0x46f4();return _0x43d9=function(_0x43d9b8,_0x4b9483){_0x43d9b8=_0x43d9b8-0x106;var _0x4baeff=_0x46f450[_0x43d9b8];return _0x4baeff;},_0x43d9(_0x2fe401,_0x2f6c88);}function _0x46f4(){var _0x2d683c=['112725JNqaWa','7660roeEjQ','2417652QWHjBp','insertSuggestion','isTrackChangesOn','2623964FeeVwU','updatePartState','mouseOverSuggestion','children','mouseLeaveSuggestion','showDiff','dislike','fire','setPartActive','738aHWZcs','33dkQUGE','rejectSuggestion','getPartView','14718eSypLS','markAsDone','addMany','areActionsDisabled','6DtsopY','1807420rCgunQ','updateSources','applySuggestion','updateContent','options','extendTemplate','bodyView','bind','ck-ai-chat__feed__ai-suggestion','like','availableActions','showChangeInText','set','18sFvryP','toggleSuggestionDisplayMode','11716367yEidtf','containerView','8WvdWRt','62tVAxos'];_0x46f4=function(){return _0x2d683c;};return _0x46f4();}export class AIChatFeedSuggestionItemView extends _0x2e058d{[_0x2b6107(0x11c)];constructor(_0x62924f,_0x1004af,_0x458de3){var _0x5de6dc=_0x2b6107;super(_0x1004af),this[_0x5de6dc(0x118)](_0x5de6dc(0x123),!0x1),this[_0x5de6dc(0x11c)]=new _0xb18000(_0x62924f,{'showDiff':_0x1004af[_0x5de6dc(0x129)],'areActionsDisabled':_0x1004af[_0x5de6dc(0x10a)],'availableActions':_0x1004af[_0x5de6dc(0x116)]},_0x458de3),this[_0x5de6dc(0x11c)]['on'](_0x5de6dc(0x11a),(_0x3b9892,_0x3fa878)=>{var _0x2a113b=_0x5de6dc;this[_0x2a113b(0x12b)](_0x2a113b(0x11a),{'replyId':this[_0x2a113b(0x110)]['id'],'showDiff':_0x3fa878[_0x2a113b(0x129)]});}),this[_0x5de6dc(0x11c)][_0x5de6dc(0x113)](_0x5de6dc(0x123))['to'](this),this[_0x5de6dc(0x11c)]['on'](_0x5de6dc(0x115),()=>{var _0x27d56e=_0x5de6dc;this[_0x27d56e(0x12b)](_0x27d56e(0x115),{'replyId':this[_0x27d56e(0x110)]['id']});}),this[_0x5de6dc(0x11c)]['on'](_0x5de6dc(0x12a),()=>{var _0x14464d=_0x5de6dc;this[_0x14464d(0x12b)](_0x14464d(0x12a),{'replyId':this[_0x14464d(0x110)]['id']});}),this[_0x5de6dc(0x11c)]['on'](_0x5de6dc(0x117),(_0x13ab62,{index:_0x10f4db})=>{var _0x346771=_0x5de6dc;this[_0x346771(0x12b)](_0x346771(0x117),{'replyId':this[_0x346771(0x110)]['id'],'partIndex':_0x10f4db});}),this[_0x5de6dc(0x11c)]['on'](_0x5de6dc(0x10e),(_0x1b71f2,{index:_0x310301}={})=>{var _0x35839c=_0x5de6dc;this[_0x35839c(0x12b)](_0x35839c(0x10e),{'replyId':this[_0x35839c(0x110)]['id'],'partIndex':_0x310301});}),this[_0x5de6dc(0x11c)]['on'](_0x5de6dc(0x122),(_0x33953f,{index:_0x400bfa}={})=>{var _0x33c9ef=_0x5de6dc;this[_0x33c9ef(0x12b)](_0x33c9ef(0x122),{'replyId':this[_0x33c9ef(0x110)]['id'],'partIndex':_0x400bfa});}),this[_0x5de6dc(0x11c)]['on'](_0x5de6dc(0x12f),(_0xce11b,{index:_0x4b446c})=>{var _0x106baa=_0x5de6dc;this[_0x106baa(0x12b)](_0x106baa(0x12f),{'replyId':this[_0x106baa(0x110)]['id'],'partIndex':_0x4b446c});}),this[_0x5de6dc(0x11c)]['on'](_0x5de6dc(0x126),(_0x3a2be9,{index:_0x63910d})=>{var _0x1ffdb9=_0x5de6dc;this[_0x1ffdb9(0x12b)](_0x1ffdb9(0x126),{'replyId':this[_0x1ffdb9(0x110)]['id'],'partIndex':_0x63910d});}),this[_0x5de6dc(0x11c)]['on'](_0x5de6dc(0x128),(_0x467889,{index:_0x2b0400})=>{var _0x239f3f=_0x5de6dc;this[_0x239f3f(0x12b)](_0x239f3f(0x128),{'replyId':this[_0x239f3f(0x110)]['id'],'partIndex':_0x2b0400});}),this[_0x5de6dc(0x127)][_0x5de6dc(0x109)]([this[_0x5de6dc(0x11c)]]),this[_0x5de6dc(0x111)]({'attributes':{'class':[_0x5de6dc(0x114)]}});}async[_0x2b6107(0x10f)](_0x1cb4c1){var _0x24f6d5=_0x2b6107;await this[_0x24f6d5(0x11c)][_0x24f6d5(0x10f)](_0x1cb4c1);}[_0x2b6107(0x125)](_0xd7e0d2,_0x24d9a9){var _0x182561=_0x2b6107;this[_0x182561(0x11c)][_0x182561(0x112)][_0x182561(0x125)](_0xd7e0d2,_0x24d9a9);}[_0x2b6107(0x12c)](_0x3d8767,_0x1e5557){var _0x4a8498=_0x2b6107;!0x1===_0x3d8767?this[_0x4a8498(0x11c)][_0x4a8498(0x112)][_0x4a8498(0x12c)](!0x1):this[_0x4a8498(0x11c)][_0x4a8498(0x112)][_0x4a8498(0x12c)](_0x3d8767,_0x1e5557);}[_0x2b6107(0x10d)](_0x52c3c6){var _0x539ac3=_0x2b6107;this[_0x539ac3(0x11c)][_0x539ac3(0x10d)](_0x52c3c6);}[_0x2b6107(0x106)](_0x20df2c){var _0x5f2c25=_0x2b6107;return this[_0x5f2c25(0x11c)][_0x5f2c25(0x112)][_0x5f2c25(0x106)](_0x20df2c);}[_0x2b6107(0x108)](){var _0x36325c=_0x2b6107;super[_0x36325c(0x108)](),this[_0x36325c(0x11c)][_0x36325c(0x108)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x14860e=_0x44d4;(function(_0x2c873e,_0x1c9daa){var _0x55a95e=_0x44d4,_0xd9bbff=_0x2c873e();while(!![]){try{var _0x46d574=-parseInt(_0x55a95e(0x91))/0x1*(parseInt(_0x55a95e(0x9e))/0x2)+-parseInt(_0x55a95e(0xa4))/0x3+-parseInt(_0x55a95e(0x9c))/0x4+-parseInt(_0x55a95e(0xa3))/0x5*(parseInt(_0x55a95e(0x96))/0x6)+-parseInt(_0x55a95e(0xab))/0x7*(parseInt(_0x55a95e(0x9f))/0x8)+parseInt(_0x55a95e(0xa0))/0x9*(-parseInt(_0x55a95e(0xaa))/0xa)+parseInt(_0x55a95e(0xae))/0xb;if(_0x46d574===_0x1c9daa)break;else _0xd9bbff['push'](_0xd9bbff['shift']());}catch(_0x3d6a49){_0xd9bbff['push'](_0xd9bbff['shift']());}}}(_0x2b3d,0x1b0ed));function _0x44d4(_0x35b754,_0xec4710){var _0x2b3df8=_0x2b3d();return _0x44d4=function(_0x44d4fc,_0x1a8b63){_0x44d4fc=_0x44d4fc-0x8e;var _0x255f8d=_0x2b3df8[_0x44d4fc];return _0x255f8d;},_0x44d4(_0x35b754,_0xec4710);}import{AIChatFeedItemView as _0x1b3eab}from'./aichatfeeditemview.js';import{AIChatFeedContextChipsView as _0x303a02}from'./aichatfeedcontextchipsview.js';import{View as _0x30a05b}from'ckeditor5/src/ui.js';function _0x2b3d(){var _0x421afa=['_contextChipsView','innerHTML','10004XLuzYW','filter','_messageContentView','element','markAsDone','54PkETYH','children','ck-ai-chat__feed__context-chips','_createContextChipsView','_createMessageContentView','_bodyCollection','211060eviQSR','_locale','10OCVRPu','3080FBzEOx','605142NsKoDG','initialContent','render','12145RNvjLx','451587qFgone','add','length','extendTemplate','div','ck-ai-chat__feed__message-content','30FSpYve','1715USXxkt','ck-ai-chat__feed__user-message','setTemplate','7502473RLOmVJ','options','hidden','contextItems'];_0x2b3d=function(){return _0x421afa;};return _0x2b3d();}export class AIChatFeedUserMessageItemView extends _0x1b3eab{[_0x14860e(0x8f)]=null;[_0x14860e(0x9d)];[_0x14860e(0x9b)];[_0x14860e(0x93)];constructor(_0x57ac2a,_0x156ba0,_0x193d40){var _0x5c853a=_0x14860e;super(_0x156ba0),this[_0x5c853a(0x9d)]=_0x57ac2a,this[_0x5c853a(0x9b)]=_0x193d40,this[_0x5c853a(0x99)](),this[_0x5c853a(0x9a)](),this[_0x5c853a(0xa7)]({'attributes':{'class':[_0x5c853a(0xac)]}});}[_0x14860e(0x99)](){var _0x22dc17=_0x14860e;this[_0x22dc17(0xaf)][_0x22dc17(0x8e)]&&this[_0x22dc17(0xaf)][_0x22dc17(0x8e)][_0x22dc17(0xa6)]>0x0&&(this[_0x22dc17(0x8f)]=new _0x303a02(this[_0x22dc17(0x9d)],this[_0x22dc17(0xaf)][_0x22dc17(0x8e)][_0x22dc17(0x92)](_0x577f2c=>!_0x577f2c[_0x22dc17(0xb0)]),this[_0x22dc17(0x9b)]),this[_0x22dc17(0x8f)][_0x22dc17(0xa7)]({'attributes':{'class':_0x22dc17(0x98)}}),this[_0x22dc17(0x97)][_0x22dc17(0xa5)](this[_0x22dc17(0x8f)]));}[_0x14860e(0x9a)](){var _0x3679d1=_0x14860e;this[_0x3679d1(0x93)]=new _0x30a05b(this[_0x3679d1(0x9d)]),this[_0x3679d1(0x93)][_0x3679d1(0xad)]({'tag':_0x3679d1(0xa8),'attributes':{'class':_0x3679d1(0xa9)}}),this[_0x3679d1(0x97)][_0x3679d1(0xa5)](this[_0x3679d1(0x93)]);}[_0x14860e(0xa2)](){var _0x4ebef6=_0x14860e;super[_0x4ebef6(0xa2)](),this[_0x4ebef6(0x93)][_0x4ebef6(0x94)][_0x4ebef6(0x90)]=this[_0x4ebef6(0xaf)][_0x4ebef6(0xa1)],this[_0x4ebef6(0x95)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xede662=_0x524c;(function(_0x2ae33f,_0x458342){const _0x5ccbae=_0x524c,_0x45cc85=_0x2ae33f();while(!![]){try{const _0x188234=parseInt(_0x5ccbae(0x15a))/0x1+-parseInt(_0x5ccbae(0x152))/0x2+parseInt(_0x5ccbae(0x158))/0x3+parseInt(_0x5ccbae(0x14f))/0x4*(-parseInt(_0x5ccbae(0x156))/0x5)+-parseInt(_0x5ccbae(0x165))/0x6*(parseInt(_0x5ccbae(0x15f))/0x7)+-parseInt(_0x5ccbae(0x155))/0x8+parseInt(_0x5ccbae(0x157))/0x9*(parseInt(_0x5ccbae(0x154))/0xa);if(_0x188234===_0x458342)break;else _0x45cc85['push'](_0x45cc85['shift']());}catch(_0x404714){_0x45cc85['push'](_0x45cc85['shift']());}}}(_0x2795,0x304f0));function _0x2795(){const _0x383d06=['477186zFCOPQ','addResourceToContext','8ZiGwER','abortPromptStream','resizeTabs','308434RgUDGl','addDocumentToContext','30zOvRKJ','3143400oqRUPx','339070AkVnMZ','1939716pjkYNU','876669MQZWaq','executeCustomItemCallback','21378CKDrhB','startConversation','toggleReasoning','loadSourceResources','toggleWebSearch','7mmNBAi','sendUserMessage','removeContextItem','addUrlToContext','selectModel','addFileToContext'];_0x2795=function(){return _0x383d06;};return _0x2795();}function _0x524c(_0x20e2ef,_0xff8403){const _0x27955e=_0x2795();return _0x524c=function(_0x524c0c,_0x813856){_0x524c0c=_0x524c0c-0x14f;let _0x59d03c=_0x27955e[_0x524c0c];return _0x59d03c;},_0x524c(_0x20e2ef,_0xff8403);}import{AI_SUGGESTION_UI_EVENT_NAMES as _0x593c74}from'../../aicore/utils/eventnames.js';export const AI_CHAT_UI_EVENT_NAMES=[..._0x593c74,_0xede662(0x15b),_0xede662(0x151),_0xede662(0x160),_0xede662(0x150),_0xede662(0x153),_0xede662(0x164),_0xede662(0x162),_0xede662(0x159),_0xede662(0x166),_0xede662(0x161),_0xede662(0x15d),_0xede662(0x15e),_0xede662(0x15c),_0xede662(0x163)];
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x55f8(_0x8adc02,_0xe7576e){const _0x1e0fda=_0x1e0f();return _0x55f8=function(_0x55f848,_0x13a5b4){_0x55f848=_0x55f848-0x147;let _0x2b582b=_0x1e0fda[_0x55f848];return _0x2b582b;},_0x55f8(_0x8adc02,_0xe7576e);}const _0x40095f=_0x55f8;function _0x1e0f(){const _0x82b445=['22ZDrItz','100048VIktmN','reject','_processQueue','resolve','queueEmptyPromise','isProcessing','7389697rwUYZE','signal','6YCVzir','2YfGXLZ','_queueEmpty','220CCXyLH','length','1510370anyvaK','push','callback','_abortController','784039vdkFiV','fire','shift','abort','6693852yrPLzO','9wiBQKQ','enqueue','queue','2052441ymLHOD','createTask','1754032TWPfmb','once','completePromise'];_0x1e0f=function(){return _0x82b445;};return _0x1e0f();}(function(_0x5d73c0,_0x3ad4c9){const _0x581ea6=_0x55f8,_0x3369bf=_0x5d73c0();while(!![]){try{const _0x4d1795=-parseInt(_0x581ea6(0x154))/0x1+-parseInt(_0x581ea6(0x14c))/0x2*(parseInt(_0x581ea6(0x15c))/0x3)+-parseInt(_0x581ea6(0x162))/0x4*(-parseInt(_0x581ea6(0x14e))/0x5)+parseInt(_0x581ea6(0x14b))/0x6*(parseInt(_0x581ea6(0x149))/0x7)+parseInt(_0x581ea6(0x15e))/0x8*(-parseInt(_0x581ea6(0x159))/0x9)+parseInt(_0x581ea6(0x150))/0xa*(-parseInt(_0x581ea6(0x161))/0xb)+parseInt(_0x581ea6(0x158))/0xc;if(_0x4d1795===_0x3ad4c9)break;else _0x3369bf['push'](_0x3369bf['shift']());}catch(_0x303de8){_0x3369bf['push'](_0x3369bf['shift']());}}}(_0x1e0f,0xb0e1a));import{EmitterMixin as _0x2abc42}from'ckeditor5/src/utils.js';export class PromiseQueue extends _0x2abc42(){[_0x40095f(0x15b)]=[];[_0x40095f(0x148)]=!0x1;[_0x40095f(0x153)];async[_0x40095f(0x15a)](_0x948603){const _0x4e326f=_0x40095f,_0x1899b5=this[_0x4e326f(0x15d)](_0x948603);return this[_0x4e326f(0x15b)][_0x4e326f(0x151)](_0x1899b5),this[_0x4e326f(0x164)](),_0x1899b5[_0x4e326f(0x160)];}[_0x40095f(0x157)](){const _0x1d113a=_0x40095f;this[_0x1d113a(0x148)]&&(this[_0x1d113a(0x153)][_0x1d113a(0x157)](),this[_0x1d113a(0x153)]=void 0x0,this[_0x1d113a(0x15b)]=[],this[_0x1d113a(0x155)](_0x1d113a(0x14d)),this[_0x1d113a(0x148)]=!0x1);}get[_0x40095f(0x147)](){const _0x5b6cc9=_0x40095f;return this[_0x5b6cc9(0x15b)][_0x5b6cc9(0x14f)]||this[_0x5b6cc9(0x148)]?new Promise(_0x24cb29=>{const _0x3c2446=_0x5b6cc9;this[_0x3c2446(0x15f)](_0x3c2446(0x14d),()=>{_0x24cb29();});}):Promise[_0x5b6cc9(0x165)]();}async[_0x40095f(0x164)](){const _0x5bfb1f=_0x40095f;if(!this[_0x5bfb1f(0x148)]){this[_0x5bfb1f(0x153)]=new AbortController(),this[_0x5bfb1f(0x148)]=!0x0;try{for(;this[_0x5bfb1f(0x15b)][_0x5bfb1f(0x14f)]&&this[_0x5bfb1f(0x148)];){const _0x132121=this[_0x5bfb1f(0x15b)][_0x5bfb1f(0x156)]();try{await _0x132121[_0x5bfb1f(0x152)](this[_0x5bfb1f(0x153)][_0x5bfb1f(0x14a)]),_0x132121[_0x5bfb1f(0x165)]();}catch(_0x3d58be){_0x132121[_0x5bfb1f(0x163)](_0x3d58be);}}}finally{this[_0x5bfb1f(0x148)]=!0x1,this[_0x5bfb1f(0x153)]=void 0x0;}this[_0x5bfb1f(0x155)](_0x5bfb1f(0x14d));}}[_0x40095f(0x15d)](_0x315d97){let _0x40c80a,_0x244022;const _0x2dd151=new Promise((_0x55bb46,_0x4fe607)=>{_0x40c80a=_0x55bb46,_0x244022=_0x4fe607;});return{'callback':_0x315d97,'resolve':_0x40c80a,'reject':_0x244022,'completePromise':_0x2dd151};}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x5a7d46=_0x5f26;(function(_0x40ab76,_0x44cde6){var _0x1f2b0a=_0x5f26,_0x422a9b=_0x40ab76();while(!![]){try{var _0x36b98c=parseInt(_0x1f2b0a(0x165))/0x1*(-parseInt(_0x1f2b0a(0x164))/0x2)+parseInt(_0x1f2b0a(0x163))/0x3*(parseInt(_0x1f2b0a(0x15c))/0x4)+-parseInt(_0x1f2b0a(0x153))/0x5*(-parseInt(_0x1f2b0a(0x160))/0x6)+-parseInt(_0x1f2b0a(0x15b))/0x7*(-parseInt(_0x1f2b0a(0x158))/0x8)+parseInt(_0x1f2b0a(0x15a))/0x9*(parseInt(_0x1f2b0a(0x159))/0xa)+parseInt(_0x1f2b0a(0x15f))/0xb*(parseInt(_0x1f2b0a(0x157))/0xc)+-parseInt(_0x1f2b0a(0x15e))/0xd*(parseInt(_0x1f2b0a(0x15d))/0xe);if(_0x36b98c===_0x44cde6)break;else _0x422a9b['push'](_0x422a9b['shift']());}catch(_0x1282eb){_0x422a9b['push'](_0x422a9b['shift']());}}}(_0x13f3,0xce1cc));import{ContextPlugin as _0x4f2637}from'ckeditor5/src/core.js';function _0x13f3(){var _0x38c67c=['isPremiumPlugin','isOfficialPlugin','206979HMHlPW','56120hvyCGU','35iiJiId','5spdxwX','pluginName','AIChatHistory','requires','16688208mAGPrf','1552sBPVZF','1518850QQBItd','9eLCiFO','20965PJRtqQ','52VzHmrL','14BERmoR','28872441pdHCKD','11QgvfqJ','6160710MqHaVm'];_0x13f3=function(){return _0x38c67c;};return _0x13f3();}import{AIChatHistoryController as _0x530653}from'./aichathistorycontroller.js';function _0x5f26(_0x23c87c,_0x172a2a){var _0x13f36e=_0x13f3();return _0x5f26=function(_0x5f26bb,_0x786245){_0x5f26bb=_0x5f26bb-0x153;var _0x28a472=_0x13f36e[_0x5f26bb];return _0x28a472;},_0x5f26(_0x23c87c,_0x172a2a);}import{AIChatHistoryUI as _0x33d93a}from'./aichathistoryui.js';export{AIChatHistoryItem}from'./model/aichathistoryitem.js';export class AIChatHistory extends _0x4f2637{static get[_0x5a7d46(0x156)](){return[_0x530653,_0x33d93a];}static get[_0x5a7d46(0x154)](){var _0xf10f4a=_0x5a7d46;return _0xf10f4a(0x155);}static get[_0x5a7d46(0x162)](){return!0x0;}static get[_0x5a7d46(0x161)](){return!0x0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x43ccf3=_0x4068;(function(_0x3a4669,_0xfe19ed){const _0x133e72=_0x4068,_0x1a18c2=_0x3a4669();while(!![]){try{const _0x464b23=parseInt(_0x133e72(0x126))/0x1+parseInt(_0x133e72(0x105))/0x2+parseInt(_0x133e72(0xf0))/0x3*(parseInt(_0x133e72(0xf1))/0x4)+parseInt(_0x133e72(0x134))/0x5+parseInt(_0x133e72(0x117))/0x6+parseInt(_0x133e72(0x148))/0x7*(-parseInt(_0x133e72(0x14e))/0x8)+parseInt(_0x133e72(0x138))/0x9*(-parseInt(_0x133e72(0x14f))/0xa);if(_0x464b23===_0xfe19ed)break;else _0x1a18c2['push'](_0x1a18c2['shift']());}catch(_0x3385ef){_0x1a18c2['push'](_0x1a18c2['shift']());}}}(_0x5adf,0x4631b));import{ContextPlugin as _0x22e6fe}from'ckeditor5/src/core.js';import{AIConnector as _0x3a6b7d}from'../aicore/aiconnector.js';function _0x5adf(){const _0x7c70a=['removeConversation','setConversationPinned','getItems','getFullYear','_setIsMaximized','_handleRemove','AI_CHAT_HISTORY_ERROR_UPDATE_PINNED','getMonth','119oqKITp','remove','items','operation','title','AI_CHAT_HISTORY_ERROR_LOAD_ITEMS','42424mmlLvi','10rAqwvf','isOfficialPlugin','AI_CHAT_HISTORY_CATEGORY_PINNED','editConversationTitle','_handleSelectConversation','AI_CHAT_HISTORY_PIN_ACTION','createdAt','18YUSxwy','242036TzeWiB','change:activeConversation','pinned','_updateHistoryItemsUI','chat','updates','setLoadingSkeleton','removeItem','_setItemLoading','plugins','isPremiumPlugin','_handleEditTitle','AI_CHAT_HISTORY_CATEGORY_TODAY','setDate','activateTab','rename','setIsMaximized','context','showError','length','321774PXYQUZ','_aiChatHistoryUi','activateTab:history','resizedTabs','getGroupId','updateItemLoadingState','activeConversation','itemsLoaded','AI_CHAT_HISTORY_UNPIN_ACTION','pin','updateItemTitle','_getCategorizedItems','requires','view','itemId','getItem','unpin','removeHistoryItem','1911600AxGJRB','updateItems','pluginName','init','_clearItemLoading','_showConversationHistory','selectConversation','push','AI_CHAT_HISTORY_CATEGORY_LATER','AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS','AI_CHAT_HISTORY_ERROR_UPDATE_TITLE','_aiConnector','locale','openChat','AIChatHistoryController','294088OnPxfa','itemRemoved','AI_CHAT_HISTORY_CATEGORY_YESTERDAY','loadItems','_generateErrorMessage','error','AI_CHAT_UNTITLED_CONVERSATION','handleRemovedConversation','resize','toLocaleDateString','resizeTabs','history','get','itemUpdated','2294325IixfhR','map','listenTo','AI_CHAT_HISTORY_ERROR_REMOVE_ITEM','10960452wsahBO','_aiChatController','loadConversation','_handleTogglePin','updateItemPinned','getDate','_handleHistoryErrorUI','AI_CHAT_HISTORY_ERROR_GENERIC'];_0x5adf=function(){return _0x7c70a;};return _0x5adf();}import{AIChatController as _0x3555e6}from'../aichat/aichatcontroller.js';import{AITabs as _0x365a44}from'../aitabs/aitabs.js';import{AIChatHistoryUI as _0x23f0d1}from'./aichathistoryui.js';function _0x4068(_0x1f0ee0,_0x4cb9e4){const _0x5adf29=_0x5adf();return _0x4068=function(_0x40681f,_0x3581d4){_0x40681f=_0x40681f-0xeb;let _0xca231=_0x5adf29[_0x40681f];return _0xca231;},_0x4068(_0x1f0ee0,_0x4cb9e4);}import{AIChatHistoryConversations as _0x48ce2b}from'./model/aichathistoryconversations.js';import{getTranslation as _0x25fd60}from'../aicore/utils/common-translations.js';export class AIChatHistoryController extends _0x22e6fe{[_0x43ccf3(0x122)];[_0x43ccf3(0x106)];[_0x43ccf3(0x139)];static get[_0x43ccf3(0x111)](){return[_0x3a6b7d,_0x3555e6,_0x23f0d1,_0x365a44];}static get[_0x43ccf3(0x119)](){const _0x27e4e8=_0x43ccf3;return _0x27e4e8(0x125);}static get[_0x43ccf3(0x150)](){return!0x0;}static get[_0x43ccf3(0xfb)](){return!0x0;}[_0x43ccf3(0x11a)](){const _0x35937f=_0x43ccf3;this[_0x35937f(0x122)]=this[_0x35937f(0x102)][_0x35937f(0xfa)][_0x35937f(0x132)](_0x3a6b7d),this[_0x35937f(0x106)]=this[_0x35937f(0x102)][_0x35937f(0xfa)][_0x35937f(0x132)](_0x23f0d1),this[_0x35937f(0x139)]=this[_0x35937f(0x102)][_0x35937f(0xfa)][_0x35937f(0x132)](_0x3555e6);const _0x1dd485=this[_0x35937f(0x102)][_0x35937f(0xfa)][_0x35937f(0x132)](_0x365a44);try{const _0x4f79eb=this[_0x35937f(0x139)][_0x35937f(0x109)]();this[_0x35937f(0x131)]=new _0x48ce2b({'connector':this[_0x35937f(0x122)],'group':_0x4f79eb}),this[_0x35937f(0x136)](this[_0x35937f(0x106)],_0x35937f(0x140),(_0x585ae5,_0x458702)=>{const _0x180769=_0x35937f;this[_0x180769(0xf9)](_0x458702['id'],_0x180769(0x149)),this[_0x180769(0x145)](_0x458702['id']);}),this[_0x35937f(0x136)](this[_0x35937f(0x106)],_0x35937f(0xec),(_0x49dece,_0x557465)=>{const _0x2cc59e=_0x35937f;this[_0x2cc59e(0xf9)](_0x557465['id'],_0x2cc59e(0x100)),this[_0x2cc59e(0xfc)](_0x557465['id'],_0x557465[_0x2cc59e(0x14c)]);}),this[_0x35937f(0x136)](this[_0x35937f(0x131)],_0x35937f(0x133),(_0x323497,_0x56f25b)=>{const _0xde655e=_0x35937f;void 0x0!==_0x56f25b[_0xde655e(0xf6)][_0xde655e(0x14c)]&&this[_0xde655e(0x106)][_0xde655e(0x10f)](_0x56f25b[_0xde655e(0x113)],_0x56f25b[_0xde655e(0xf6)][_0xde655e(0x14c)]),void 0x0!==_0x56f25b[_0xde655e(0xf6)][_0xde655e(0xf3)]&&this[_0xde655e(0xf4)](),this[_0xde655e(0x11b)](_0x56f25b[_0xde655e(0x113)]);}),this[_0x35937f(0x136)](this[_0x35937f(0x131)],_0x35937f(0x127),(_0x7f2944,_0x124241)=>{const _0x3142d4=_0x35937f;this[_0x3142d4(0x139)][_0x3142d4(0x12d)](_0x124241[_0x3142d4(0x113)]),this[_0x3142d4(0x106)][_0x3142d4(0x116)](_0x124241[_0x3142d4(0x113)]),this[_0x3142d4(0x11b)](_0x124241[_0x3142d4(0x113)]);}),this[_0x35937f(0x136)](this[_0x35937f(0x131)],_0x35937f(0x10c),()=>{const _0x1fd783=_0x35937f;this[_0x1fd783(0xf4)]();}),this[_0x35937f(0x136)](this[_0x35937f(0x131)],_0x35937f(0x12b),(_0x46fd98,_0x3417d5)=>{const _0x42535c=_0x35937f;this[_0x42535c(0x13e)](_0x3417d5[_0x42535c(0x12b)],_0x3417d5[_0x42535c(0x14b)],_0x3417d5[_0x42535c(0x113)]);}),this[_0x35937f(0x136)](this[_0x35937f(0x106)],_0x35937f(0x11d),(_0x4e35d1,_0x53b17d)=>{const _0x162de7=_0x35937f;this[_0x162de7(0xed)](_0x53b17d['id']);}),this[_0x35937f(0x136)](this[_0x35937f(0x106)],_0x35937f(0x141),(_0x4ea95a,_0x421263)=>{const _0x58376b=_0x35937f,_0x5bc5be=_0x421263[_0x58376b(0xf3)]?_0x58376b(0x10e):_0x58376b(0x115);this[_0x58376b(0xf9)](_0x421263['id'],_0x5bc5be),this[_0x58376b(0x13b)](_0x421263['id'],_0x421263[_0x58376b(0xf3)]);}),this[_0x35937f(0x136)](this[_0x35937f(0x106)],_0x35937f(0x124),()=>{const _0x10b80d=_0x35937f;_0x1dd485[_0x10b80d(0x112)][_0x10b80d(0xff)](_0x10b80d(0xf5));}),this[_0x35937f(0x136)](this[_0x35937f(0x139)],_0x35937f(0xf2),()=>{const _0x265a2b=_0x35937f;this[_0x265a2b(0xf4)]();}),_0x1dd485[_0x35937f(0x112)]['on'](_0x35937f(0x107),()=>{const _0x4e0ef1=_0x35937f;this[_0x4e0ef1(0x11c)]();}),this[_0x35937f(0x136)](_0x1dd485,_0x35937f(0x108),(_0x9b221b,_0x36accd)=>{const _0xda6f45=_0x35937f;this[_0xda6f45(0x144)](_0x36accd);}),this[_0x35937f(0x136)](this[_0x35937f(0x106)],_0x35937f(0x130),()=>{const _0x5d02c0=_0x35937f;_0x1dd485[_0x5d02c0(0x12e)]();});}catch(_0x29f7ca){this[_0x35937f(0x13e)](_0x29f7ca,_0x35937f(0x11a));}}async[_0x43ccf3(0xfc)](_0x184eb7,_0x2a98ed){const _0x1f1da5=_0x43ccf3;await this[_0x1f1da5(0x131)][_0x1f1da5(0x10f)](_0x184eb7,_0x2a98ed);}async[_0x43ccf3(0x13b)](_0x479cd5,_0x4c120e){const _0x52eed0=_0x43ccf3;await this[_0x52eed0(0x131)][_0x52eed0(0x13c)](_0x479cd5,_0x4c120e);}async[_0x43ccf3(0x145)](_0x23a620){const _0x1a7a80=_0x43ccf3;await this[_0x1a7a80(0x131)][_0x1a7a80(0xf8)](_0x23a620);}async[_0x43ccf3(0xed)](_0x6d13af){const _0x41736a=_0x43ccf3;await this[_0x41736a(0x139)][_0x41736a(0x13a)](_0x6d13af);}async[_0x43ccf3(0x11c)](){const _0x75bd35=_0x43ccf3;this[_0x75bd35(0x106)][_0x75bd35(0x103)](''),this[_0x75bd35(0x106)][_0x75bd35(0xf7)](!0x0),await this[_0x75bd35(0x131)][_0x75bd35(0x11a)](),this[_0x75bd35(0x106)][_0x75bd35(0xf7)](!0x1);}[_0x43ccf3(0xf4)](){const _0x2105fb=_0x43ccf3,_0x390cd0=this[_0x2105fb(0x139)][_0x2105fb(0x10b)]?.['id'],_0x5629c8=this[_0x2105fb(0x110)]()[_0x2105fb(0x135)](_0x50f64c=>({'title':_0x50f64c[_0x2105fb(0x14c)],'items':_0x50f64c[_0x2105fb(0x14a)][_0x2105fb(0x135)](_0x30ec7a=>({'id':_0x30ec7a['id'],'title':_0x30ec7a[_0x2105fb(0x14c)]||_0x25fd60(this[_0x2105fb(0x102)][_0x2105fb(0x123)],_0x2105fb(0x12c)),'createdAt':new Date(_0x30ec7a[_0x2105fb(0xef)])[_0x2105fb(0x12f)](),'active':_0x30ec7a['id']===_0x390cd0,'pinned':_0x30ec7a[_0x2105fb(0xf3)]}))}));this[_0x2105fb(0x106)][_0x2105fb(0x118)](_0x5629c8);}[_0x43ccf3(0xf9)](_0x2712e1,_0x17e137){const _0x17baf4=_0x43ccf3;this[_0x17baf4(0x106)][_0x17baf4(0x10a)](_0x2712e1,_0x17e137,!0x0);}[_0x43ccf3(0x11b)](_0x4fd51b){const _0xfa8a77=_0x43ccf3;this[_0xfa8a77(0x106)][_0xfa8a77(0x10a)](_0x4fd51b,null,!0x1);}[_0x43ccf3(0x13e)](_0x479d1f,_0x5e3bdf,_0x119e07){const _0x4662d7=_0x43ccf3,_0x3c39dc=this[_0x4662d7(0x12a)](_0x5e3bdf,_0x119e07);this[_0x4662d7(0x106)][_0x4662d7(0x103)](_0x3c39dc),_0x119e07&&this[_0x4662d7(0x11b)](_0x119e07),this[_0x4662d7(0x106)][_0x4662d7(0xf7)](!0x1);}[_0x43ccf3(0x12a)](_0x34c460,_0x32f220){const _0x2e58ce=_0x43ccf3,_0x1589bb=_0x32f220?this[_0x2e58ce(0x131)][_0x2e58ce(0x114)](_0x32f220):null,_0x590f03=_0x1589bb?.[_0x2e58ce(0x14c)]||_0x25fd60(this[_0x2e58ce(0x102)][_0x2e58ce(0x123)],_0x2e58ce(0x12c));switch(_0x34c460){case _0x2e58ce(0x10f):return _0x25fd60(this[_0x2e58ce(0x102)][_0x2e58ce(0x123)],_0x2e58ce(0x121),_0x590f03);case _0x2e58ce(0x13c):{const _0xbc6cd9=_0x25fd60(this[_0x2e58ce(0x102)][_0x2e58ce(0x123)],_0x1589bb?.[_0x2e58ce(0xf3)]?_0x2e58ce(0x10d):_0x2e58ce(0xee));return _0x25fd60(this[_0x2e58ce(0x102)][_0x2e58ce(0x123)],_0x2e58ce(0x146),[_0xbc6cd9,_0x590f03]);}case _0x2e58ce(0xf8):return _0x25fd60(this[_0x2e58ce(0x102)][_0x2e58ce(0x123)],_0x2e58ce(0x137),_0x590f03);case _0x2e58ce(0x11a):case _0x2e58ce(0x129):return _0x25fd60(this[_0x2e58ce(0x102)][_0x2e58ce(0x123)],_0x2e58ce(0x14d));default:return _0x25fd60(this[_0x2e58ce(0x102)][_0x2e58ce(0x123)],_0x2e58ce(0x13f));}}[_0x43ccf3(0x110)](){const _0x4615b8=_0x43ccf3,_0x363aa4=new Date(),_0x5b4718=new Date(_0x363aa4[_0x4615b8(0x143)](),_0x363aa4[_0x4615b8(0x147)](),_0x363aa4[_0x4615b8(0x13d)]()),_0xbf55b8=new Date(_0x5b4718);_0xbf55b8[_0x4615b8(0xfe)](_0xbf55b8[_0x4615b8(0x13d)]()-0x1);const _0x1d0fc3=new Date(_0x5b4718);_0x1d0fc3[_0x4615b8(0xfe)](_0x1d0fc3[_0x4615b8(0x13d)]()-0xe);const _0x5c4335=this[_0x4615b8(0x131)][_0x4615b8(0x142)]({'pinned':!0x0}),_0x3eeebf=this[_0x4615b8(0x131)][_0x4615b8(0x142)]({'from':_0x5b4718,'to':_0x5b4718}),_0x115f8b=this[_0x4615b8(0x131)][_0x4615b8(0x142)]({'from':_0xbf55b8,'to':_0xbf55b8}),_0x46e89c=this[_0x4615b8(0x131)][_0x4615b8(0x142)]({'from':_0x1d0fc3,'to':_0xbf55b8}),_0x2a1b01=this[_0x4615b8(0x131)][_0x4615b8(0x142)]({'to':_0x1d0fc3}),_0x45bfad=[];return _0x5c4335[_0x4615b8(0x104)]>0x0&&_0x45bfad[_0x4615b8(0x11e)]({'title':_0x25fd60(this[_0x4615b8(0x102)][_0x4615b8(0x123)],_0x4615b8(0xeb)),'items':_0x5c4335}),_0x3eeebf[_0x4615b8(0x104)]>0x0&&_0x45bfad[_0x4615b8(0x11e)]({'title':_0x25fd60(this[_0x4615b8(0x102)][_0x4615b8(0x123)],_0x4615b8(0xfd)),'items':_0x3eeebf}),_0x115f8b[_0x4615b8(0x104)]>0x0&&_0x45bfad[_0x4615b8(0x11e)]({'title':_0x25fd60(this[_0x4615b8(0x102)][_0x4615b8(0x123)],_0x4615b8(0x128)),'items':_0x115f8b}),_0x46e89c[_0x4615b8(0x104)]>0x0&&_0x45bfad[_0x4615b8(0x11e)]({'title':_0x25fd60(this[_0x4615b8(0x102)][_0x4615b8(0x123)],_0x4615b8(0x120)),'items':_0x46e89c}),_0x2a1b01[_0x4615b8(0x104)]>0x0&&_0x45bfad[_0x4615b8(0x11e)]({'title':_0x25fd60(this[_0x4615b8(0x102)][_0x4615b8(0x123)],_0x4615b8(0x11f)),'items':_0x2a1b01}),_0x45bfad;}[_0x43ccf3(0x144)](_0x18eab1){const _0xb08ba7=_0x43ccf3;this[_0xb08ba7(0x106)][_0xb08ba7(0x101)](_0x18eab1);}}
|
|
23
|
+
const _0x4c7ff8=_0x38fa;function _0x11bf(){const _0x8ec6d8=['_handleEditTitle','_aiChatHistoryUi','1032140urMHxv','getItem','_showConversationHistory','plugins','change:activeConversation','itemUpdated','AI_CHAT_UNTITLED_CONVERSATION','activateTab','activeConversation','_setIsMaximized','setConversationPinned','remove','resizedTabs','init','AI_CHAT_HISTORY_ERROR_GENERIC','map','AI_CHAT_HISTORY_CATEGORY_PINNED','updateItems','resizeTabs','AI_CHAT_HISTORY_ERROR_LOAD_ITEMS','context','_handleRemove','_handleSelectConversation','rename','handleRemovedConversation','updateItemLoadingState','_generateErrorMessage','_updateHistoryItemsUI','isOfficialPlugin','AI_CHAT_HISTORY_ERROR_UPDATE_TITLE','AI_CHAT_HISTORY_PIN_ACTION','AI_CHAT_HISTORY_ERROR_REMOVE_ITEM','getFullYear','items','operation','1666896ZyERDP','createdAt','_handleHistoryErrorUI','511308CTsorc','AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS','_setItemLoading','setDate','listenTo','12639WLwvDW','locale','title','isPremiumPlugin','setLoadingSkeleton','updateItemTitle','_aiChatController','removeItem','loadConversation','AI_CHAT_HISTORY_CATEGORY_YESTERDAY','867644lDfdZE','chat','40ipaidk','pinned','error','getDate','218986EaBBMs','itemRemoved','push','resize','openChat','5zdVsnB','pin','_getCategorizedItems','AI_CHAT_HISTORY_CATEGORY_TODAY','unpin','getGroupId','requires','2279942sYsawU','removeHistoryItem','updateItemPinned','showError','history','length','itemId','AI_CHAT_HISTORY_ERROR_UPDATE_PINNED','AIChatHistoryController','_aiConnector','getMonth','toLocaleDateString','updates','22slowEH','getItems','pluginName','AI_CHAT_HISTORY_CATEGORY_LATER','loadItems','view','editConversationTitle','_clearItemLoading','itemsLoaded','selectConversation','activateTab:history','get','_handleTogglePin','setIsMaximized','removeConversation','AI_CHAT_HISTORY_UNPIN_ACTION'];_0x11bf=function(){return _0x8ec6d8;};return _0x11bf();}(function(_0x21b399,_0x322cfd){const _0x43811d=_0x38fa,_0x23f3fe=_0x21b399();while(!![]){try{const _0x54c435=-parseInt(_0x43811d(0x1f7))/0x1+-parseInt(_0x43811d(0x1aa))/0x2*(parseInt(_0x43811d(0x1e7))/0x3)+parseInt(_0x43811d(0x1f1))/0x4*(parseInt(_0x43811d(0x1fc))/0x5)+-parseInt(_0x43811d(0x1df))/0x6+parseInt(_0x43811d(0x19d))/0x7+parseInt(_0x43811d(0x1f3))/0x8*(parseInt(_0x43811d(0x1e2))/0x9)+-parseInt(_0x43811d(0x1bc))/0xa;if(_0x54c435===_0x322cfd)break;else _0x23f3fe['push'](_0x23f3fe['shift']());}catch(_0x11e01f){_0x23f3fe['push'](_0x23f3fe['shift']());}}}(_0x11bf,0x2c05e));import{ContextPlugin as _0x16067f}from'ckeditor5/src/core.js';import{AIConnector as _0x42f7b1}from'../aicore/aiconnector.js';import{AIChatController as _0x24f538}from'../aichat/aichatcontroller.js';import{AITabs as _0x1cf6f5}from'../aitabs/aitabs.js';import{AIChatHistoryUI as _0xa0d749}from'./aichathistoryui.js';import{AIChatHistoryConversations as _0x3a1b60}from'./model/aichathistoryconversations.js';import{getTranslation as _0x78c028}from'../aicore/utils/common-translations.js';function _0x38fa(_0x54c180,_0x3af350){const _0x11bfdf=_0x11bf();return _0x38fa=function(_0x38facf,_0x1d5a25){_0x38facf=_0x38facf-0x198;let _0x11e0c7=_0x11bfdf[_0x38facf];return _0x11e0c7;},_0x38fa(_0x54c180,_0x3af350);}export class AIChatHistoryController extends _0x16067f{[_0x4c7ff8(0x1a6)];[_0x4c7ff8(0x1bb)];[_0x4c7ff8(0x1ed)];static get[_0x4c7ff8(0x19c)](){return[_0x42f7b1,_0x24f538,_0xa0d749,_0x1cf6f5];}static get[_0x4c7ff8(0x1ac)](){const _0x5a2fcb=_0x4c7ff8;return _0x5a2fcb(0x1a5);}static get[_0x4c7ff8(0x1d8)](){return!0x0;}static get[_0x4c7ff8(0x1ea)](){return!0x0;}[_0x4c7ff8(0x1c9)](){const _0x37114d=_0x4c7ff8;this[_0x37114d(0x1a6)]=this[_0x37114d(0x1d0)][_0x37114d(0x1bf)][_0x37114d(0x1b5)](_0x42f7b1),this[_0x37114d(0x1bb)]=this[_0x37114d(0x1d0)][_0x37114d(0x1bf)][_0x37114d(0x1b5)](_0xa0d749),this[_0x37114d(0x1ed)]=this[_0x37114d(0x1d0)][_0x37114d(0x1bf)][_0x37114d(0x1b5)](_0x24f538);const _0x175464=this[_0x37114d(0x1d0)][_0x37114d(0x1bf)][_0x37114d(0x1b5)](_0x1cf6f5);try{const _0x2621aa=this[_0x37114d(0x1ed)][_0x37114d(0x19b)]();this[_0x37114d(0x1a1)]=new _0x3a1b60({'connector':this[_0x37114d(0x1a6)],'group':_0x2621aa}),this[_0x37114d(0x1e6)](this[_0x37114d(0x1bb)],_0x37114d(0x1b8),(_0x5a06fd,_0x542cbc)=>{const _0x5da827=_0x37114d;this[_0x5da827(0x1e4)](_0x542cbc['id'],_0x5da827(0x1c7)),this[_0x5da827(0x1d1)](_0x542cbc['id']);}),this[_0x37114d(0x1e6)](this[_0x37114d(0x1bb)],_0x37114d(0x1b0),(_0x3ee70b,_0x1555b2)=>{const _0x2b5775=_0x37114d;this[_0x2b5775(0x1e4)](_0x1555b2['id'],_0x2b5775(0x1d3)),this[_0x2b5775(0x1ba)](_0x1555b2['id'],_0x1555b2[_0x2b5775(0x1e9)]);}),this[_0x37114d(0x1e6)](this[_0x37114d(0x1a1)],_0x37114d(0x1c1),(_0x4638f0,_0x1568b5)=>{const _0x3aea9f=_0x37114d;void 0x0!==_0x1568b5[_0x3aea9f(0x1a9)][_0x3aea9f(0x1e9)]&&this[_0x3aea9f(0x1bb)][_0x3aea9f(0x1ec)](_0x1568b5[_0x3aea9f(0x1a3)],_0x1568b5[_0x3aea9f(0x1a9)][_0x3aea9f(0x1e9)]),void 0x0!==_0x1568b5[_0x3aea9f(0x1a9)][_0x3aea9f(0x1f4)]&&this[_0x3aea9f(0x1d7)](),this[_0x3aea9f(0x1b1)](_0x1568b5[_0x3aea9f(0x1a3)]);}),this[_0x37114d(0x1e6)](this[_0x37114d(0x1a1)],_0x37114d(0x1f8),(_0x4a7d3a,_0xa96515)=>{const _0x1893de=_0x37114d;this[_0x1893de(0x1ed)][_0x1893de(0x1d4)](_0xa96515[_0x1893de(0x1a3)]),this[_0x1893de(0x1bb)][_0x1893de(0x19e)](_0xa96515[_0x1893de(0x1a3)]),this[_0x1893de(0x1b1)](_0xa96515[_0x1893de(0x1a3)]);}),this[_0x37114d(0x1e6)](this[_0x37114d(0x1a1)],_0x37114d(0x1b2),()=>{const _0x34e2c8=_0x37114d;this[_0x34e2c8(0x1d7)]();}),this[_0x37114d(0x1e6)](this[_0x37114d(0x1a1)],_0x37114d(0x1f5),(_0x31a64c,_0x12a853)=>{const _0x18cf6b=_0x37114d;this[_0x18cf6b(0x1e1)](_0x12a853[_0x18cf6b(0x1f5)],_0x12a853[_0x18cf6b(0x1de)],_0x12a853[_0x18cf6b(0x1a3)]);}),this[_0x37114d(0x1e6)](this[_0x37114d(0x1bb)],_0x37114d(0x1b3),(_0x3666a6,_0x2e02b2)=>{const _0x3f71d1=_0x37114d;this[_0x3f71d1(0x1d2)](_0x2e02b2['id']);}),this[_0x37114d(0x1e6)](this[_0x37114d(0x1bb)],_0x37114d(0x1c6),(_0x277fb2,_0x116e26)=>{const _0x269c55=_0x37114d,_0x34aa85=_0x116e26[_0x269c55(0x1f4)]?_0x269c55(0x1fd):_0x269c55(0x19a);this[_0x269c55(0x1e4)](_0x116e26['id'],_0x34aa85),this[_0x269c55(0x1b6)](_0x116e26['id'],_0x116e26[_0x269c55(0x1f4)]);}),this[_0x37114d(0x1e6)](this[_0x37114d(0x1bb)],_0x37114d(0x1fb),()=>{const _0x317a93=_0x37114d;_0x175464[_0x317a93(0x1af)][_0x317a93(0x1c3)](_0x317a93(0x1f2));}),this[_0x37114d(0x1e6)](this[_0x37114d(0x1ed)],_0x37114d(0x1c0),()=>{const _0x566953=_0x37114d;this[_0x566953(0x1d7)]();}),_0x175464[_0x37114d(0x1af)]['on'](_0x37114d(0x1b4),()=>{const _0x5ef2dc=_0x37114d;this[_0x5ef2dc(0x1be)]();}),this[_0x37114d(0x1e6)](_0x175464,_0x37114d(0x1c8),(_0x1cf0d,_0x4d6b37)=>{const _0x4fec6c=_0x37114d;this[_0x4fec6c(0x1c5)](_0x4d6b37);}),this[_0x37114d(0x1e6)](this[_0x37114d(0x1bb)],_0x37114d(0x1ce),()=>{const _0x20a442=_0x37114d;_0x175464[_0x20a442(0x1fa)]();});}catch(_0x31436b){this[_0x37114d(0x1e1)](_0x31436b,_0x37114d(0x1c9));}}async[_0x4c7ff8(0x1ba)](_0x11e30c,_0x1aca74){const _0x3c93bb=_0x4c7ff8;await this[_0x3c93bb(0x1a1)][_0x3c93bb(0x1ec)](_0x11e30c,_0x1aca74);}async[_0x4c7ff8(0x1b6)](_0x192083,_0x4d4f5f){const _0x48d07d=_0x4c7ff8;await this[_0x48d07d(0x1a1)][_0x48d07d(0x19f)](_0x192083,_0x4d4f5f);}async[_0x4c7ff8(0x1d1)](_0x19799c){const _0x3400fc=_0x4c7ff8;await this[_0x3400fc(0x1a1)][_0x3400fc(0x1ee)](_0x19799c);}async[_0x4c7ff8(0x1d2)](_0x32e247){const _0x4fd4a5=_0x4c7ff8;await this[_0x4fd4a5(0x1ed)][_0x4fd4a5(0x1ef)](_0x32e247);}async[_0x4c7ff8(0x1be)](){const _0x1058c5=_0x4c7ff8;this[_0x1058c5(0x1bb)][_0x1058c5(0x1a0)](''),this[_0x1058c5(0x1bb)][_0x1058c5(0x1eb)](!0x0),await this[_0x1058c5(0x1a1)][_0x1058c5(0x1c9)](),this[_0x1058c5(0x1bb)][_0x1058c5(0x1eb)](!0x1);}[_0x4c7ff8(0x1d7)](){const _0x5cc8dc=_0x4c7ff8,_0x904062=this[_0x5cc8dc(0x1ed)][_0x5cc8dc(0x1c4)]?.['id'],_0x35d85d=this[_0x5cc8dc(0x198)]()[_0x5cc8dc(0x1cb)](_0x29b083=>({'title':_0x29b083[_0x5cc8dc(0x1e9)],'items':_0x29b083[_0x5cc8dc(0x1dd)][_0x5cc8dc(0x1cb)](_0x4595e3=>({'id':_0x4595e3['id'],'title':_0x4595e3[_0x5cc8dc(0x1e9)]||_0x78c028(this[_0x5cc8dc(0x1d0)][_0x5cc8dc(0x1e8)],_0x5cc8dc(0x1c2)),'createdAt':new Date(_0x4595e3[_0x5cc8dc(0x1e0)])[_0x5cc8dc(0x1a8)](),'active':_0x4595e3['id']===_0x904062,'pinned':_0x4595e3[_0x5cc8dc(0x1f4)]}))}));this[_0x5cc8dc(0x1bb)][_0x5cc8dc(0x1cd)](_0x35d85d);}[_0x4c7ff8(0x1e4)](_0x244d0f,_0x3f3be0){const _0x180a5e=_0x4c7ff8;this[_0x180a5e(0x1bb)][_0x180a5e(0x1d5)](_0x244d0f,_0x3f3be0,!0x0);}[_0x4c7ff8(0x1b1)](_0xfdda60){const _0x16051a=_0x4c7ff8;this[_0x16051a(0x1bb)][_0x16051a(0x1d5)](_0xfdda60,null,!0x1);}[_0x4c7ff8(0x1e1)](_0x15a645,_0x5c4e3f,_0x216968){const _0x4c8d90=_0x4c7ff8,_0x2d7599=this[_0x4c8d90(0x1d6)](_0x5c4e3f,_0x216968);this[_0x4c8d90(0x1bb)][_0x4c8d90(0x1a0)](_0x2d7599),_0x216968&&this[_0x4c8d90(0x1b1)](_0x216968),this[_0x4c8d90(0x1bb)][_0x4c8d90(0x1eb)](!0x1);}[_0x4c7ff8(0x1d6)](_0x6bcd0e,_0x32de4f){const _0x4e7101=_0x4c7ff8,_0x138291=_0x32de4f?this[_0x4e7101(0x1a1)][_0x4e7101(0x1bd)](_0x32de4f):null,_0x18af12=_0x138291?.[_0x4e7101(0x1e9)]||_0x78c028(this[_0x4e7101(0x1d0)][_0x4e7101(0x1e8)],_0x4e7101(0x1c2));switch(_0x6bcd0e){case _0x4e7101(0x1ec):return _0x78c028(this[_0x4e7101(0x1d0)][_0x4e7101(0x1e8)],_0x4e7101(0x1d9),_0x18af12);case _0x4e7101(0x19f):{const _0xfef68b=_0x78c028(this[_0x4e7101(0x1d0)][_0x4e7101(0x1e8)],_0x138291?.[_0x4e7101(0x1f4)]?_0x4e7101(0x1b9):_0x4e7101(0x1da));return _0x78c028(this[_0x4e7101(0x1d0)][_0x4e7101(0x1e8)],_0x4e7101(0x1a4),[_0xfef68b,_0x18af12]);}case _0x4e7101(0x1ee):return _0x78c028(this[_0x4e7101(0x1d0)][_0x4e7101(0x1e8)],_0x4e7101(0x1db),_0x18af12);case _0x4e7101(0x1c9):case _0x4e7101(0x1ae):return _0x78c028(this[_0x4e7101(0x1d0)][_0x4e7101(0x1e8)],_0x4e7101(0x1cf));default:return _0x78c028(this[_0x4e7101(0x1d0)][_0x4e7101(0x1e8)],_0x4e7101(0x1ca));}}[_0x4c7ff8(0x198)](){const _0x8814c3=_0x4c7ff8,_0x280b2f=new Date(),_0x535028=new Date(_0x280b2f[_0x8814c3(0x1dc)](),_0x280b2f[_0x8814c3(0x1a7)](),_0x280b2f[_0x8814c3(0x1f6)]()),_0x57ec02=new Date(_0x535028);_0x57ec02[_0x8814c3(0x1e5)](_0x57ec02[_0x8814c3(0x1f6)]()-0x1);const _0x3f82ba=new Date(_0x535028);_0x3f82ba[_0x8814c3(0x1e5)](_0x3f82ba[_0x8814c3(0x1f6)]()-0xe);const _0x11ee5b=this[_0x8814c3(0x1a1)][_0x8814c3(0x1ab)]({'pinned':!0x0}),_0x85d9d3=this[_0x8814c3(0x1a1)][_0x8814c3(0x1ab)]({'from':_0x535028,'to':_0x535028}),_0x46bebd=this[_0x8814c3(0x1a1)][_0x8814c3(0x1ab)]({'from':_0x57ec02,'to':_0x57ec02}),_0x192005=this[_0x8814c3(0x1a1)][_0x8814c3(0x1ab)]({'from':_0x3f82ba,'to':_0x57ec02}),_0x491b4f=this[_0x8814c3(0x1a1)][_0x8814c3(0x1ab)]({'to':_0x3f82ba}),_0x1390fc=[];return _0x11ee5b[_0x8814c3(0x1a2)]>0x0&&_0x1390fc[_0x8814c3(0x1f9)]({'title':_0x78c028(this[_0x8814c3(0x1d0)][_0x8814c3(0x1e8)],_0x8814c3(0x1cc)),'items':_0x11ee5b}),_0x85d9d3[_0x8814c3(0x1a2)]>0x0&&_0x1390fc[_0x8814c3(0x1f9)]({'title':_0x78c028(this[_0x8814c3(0x1d0)][_0x8814c3(0x1e8)],_0x8814c3(0x199)),'items':_0x85d9d3}),_0x46bebd[_0x8814c3(0x1a2)]>0x0&&_0x1390fc[_0x8814c3(0x1f9)]({'title':_0x78c028(this[_0x8814c3(0x1d0)][_0x8814c3(0x1e8)],_0x8814c3(0x1f0)),'items':_0x46bebd}),_0x192005[_0x8814c3(0x1a2)]>0x0&&_0x1390fc[_0x8814c3(0x1f9)]({'title':_0x78c028(this[_0x8814c3(0x1d0)][_0x8814c3(0x1e8)],_0x8814c3(0x1e3)),'items':_0x192005}),_0x491b4f[_0x8814c3(0x1a2)]>0x0&&_0x1390fc[_0x8814c3(0x1f9)]({'title':_0x78c028(this[_0x8814c3(0x1d0)][_0x8814c3(0x1e8)],_0x8814c3(0x1ad)),'items':_0x491b4f}),_0x1390fc;}[_0x4c7ff8(0x1c5)](_0x580706){const _0x3f78cb=_0x4c7ff8;this[_0x3f78cb(0x1bb)][_0x3f78cb(0x1b7)](_0x580706);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3f2435=_0x36ea;(function(_0x12b1b0,_0x5aaf2c){const _0x3b88e1=_0x36ea,_0x284d8c=_0x12b1b0();while(!![]){try{const _0x35f28a=parseInt(_0x3b88e1(0x142))/0x1*(-parseInt(_0x3b88e1(0x13c))/0x2)+-parseInt(_0x3b88e1(0x12e))/0x3*(parseInt(_0x3b88e1(0x154))/0x4)+parseInt(_0x3b88e1(0x152))/0x5*(-parseInt(_0x3b88e1(0x143))/0x6)+-parseInt(_0x3b88e1(0x156))/0x7+parseInt(_0x3b88e1(0x13e))/0x8+-parseInt(_0x3b88e1(0x136))/0x9*(-parseInt(_0x3b88e1(0x155))/0xa)+parseInt(_0x3b88e1(0x14f))/0xb*(parseInt(_0x3b88e1(0x139))/0xc);if(_0x35f28a===_0x5aaf2c)break;else _0x284d8c['push'](_0x284d8c['shift']());}catch(_0x1a328c){_0x284d8c['push'](_0x284d8c['shift']());}}}(_0x17c8,0x9e6b9));import{ContextPlugin as _0x23693c}from'ckeditor5/src/core.js';import{AITabs as _0x5eeb29}from'../aitabs/aitabs.js';function _0x36ea(_0x53eda2,_0x1d8409){const _0x17c89b=_0x17c8();return _0x36ea=function(_0x36ea04,_0x490470){_0x36ea04=_0x36ea04-0x127;let _0x626d85=_0x17c89b[_0x36ea04];return _0x626d85;},_0x36ea(_0x53eda2,_0x1d8409);}import{IconAIHistory as _0x3556e8}from'ckeditor5/src/icons.js';import{AIChatHistoryView as _0x201cba}from'./ui/aichathistoryview.js';function _0x17c8(){const _0x2ad4c6=['1869224vwGlWe','_historyView','editConversationTitle','plugins','updateItems','isLoading','isMaximized','isPremiumPlugin','91656zfGpgy','showResizeButton','AITabs','openChat','removeHistoryItem','showError','pluginName','updateItemTitle','18bmhxqW','addTab','selectConversation','798468BkWDOs','setLoadingSkeleton','AIChatHistoryUI','6OQTwWl','get','4404064oceeAS','setConversationPinned','delegate','updateItemLoadingState','72273ouQWbt','1434vHGTPq','locale','setIsMaximized','isOfficialPlugin','updateHistoryItemsWithCategories','requires','AI_CHAT_HISTORY_HEADING','context','history','resizeTabs','removeConversation','errorMessage','11LnvYYQ','view','hideError','95zejFIz','showConversationHistory','8bQwCwE','2906690edImNX'];_0x17c8=function(){return _0x2ad4c6;};return _0x17c8();}import{getTranslation as _0x17a017}from'../aicore/utils/common-translations.js';import'../../theme/aichat/aichathistory.css';export const AI_CHAT_HISTORY_UI_EVENT_NAMES=[_0x3f2435(0x153),_0x3f2435(0x14d),_0x3f2435(0x128),_0x3f2435(0x13f),_0x3f2435(0x138),_0x3f2435(0x131),_0x3f2435(0x14c)];export class AIChatHistoryUI extends _0x23693c{static get[_0x3f2435(0x148)](){return[_0x5eeb29];}[_0x3f2435(0x127)];static get[_0x3f2435(0x134)](){const _0x2724ca=_0x3f2435;return _0x2724ca(0x13b);}static get[_0x3f2435(0x146)](){return!0x0;}static get[_0x3f2435(0x12d)](){return!0x0;}constructor(_0x205f2f){const _0x61c065=_0x3f2435;super(_0x205f2f);const _0x3fb4f2=this[_0x61c065(0x14a)][_0x61c065(0x129)][_0x61c065(0x13d)](_0x61c065(0x130));this[_0x61c065(0x127)]=new _0x201cba(this[_0x61c065(0x14a)][_0x61c065(0x144)],_0x3fb4f2[_0x61c065(0x12f)]),this[_0x61c065(0x127)][_0x61c065(0x140)](...AI_CHAT_HISTORY_UI_EVENT_NAMES)['to'](this),_0x3fb4f2[_0x61c065(0x150)][_0x61c065(0x137)]({'id':_0x61c065(0x14b),'buttonLabel':_0x17a017(this[_0x61c065(0x14a)][_0x61c065(0x144)],_0x61c065(0x149)),'buttonIcon':_0x3556e8,'order':0x0,'content':this[_0x61c065(0x127)]});}[_0x3f2435(0x132)](_0x4587ec){const _0x555a9e=_0x3f2435;this[_0x555a9e(0x127)][_0x555a9e(0x132)](_0x4587ec);}[_0x3f2435(0x12a)](_0x253e7c){const _0x4174c6=_0x3f2435;this[_0x4174c6(0x127)][_0x4174c6(0x147)](_0x253e7c);}[_0x3f2435(0x135)](_0x392552,_0x584422){const _0x4f4772=_0x3f2435;this[_0x4f4772(0x127)][_0x4f4772(0x135)](_0x392552,_0x584422);}[_0x3f2435(0x141)](_0x37a5d5,_0x47bc42,_0x4bbff6){const _0x505235=_0x3f2435;this[_0x505235(0x127)][_0x505235(0x141)](_0x37a5d5,_0x47bc42,_0x4bbff6);}[_0x3f2435(0x13a)](_0x3bf77a){const _0x2665a6=_0x3f2435;this[_0x2665a6(0x127)][_0x2665a6(0x12b)]=_0x3bf77a;}[_0x3f2435(0x133)](_0x1634eb){const _0x313b8b=_0x3f2435;this[_0x313b8b(0x127)][_0x313b8b(0x14e)]=_0x1634eb;}[_0x3f2435(0x151)](){const _0xb025d5=_0x3f2435;this[_0xb025d5(0x127)][_0xb025d5(0x14e)]='';}[_0x3f2435(0x145)](_0x188a9b){const _0x95e33d=_0x3f2435;this[_0x95e33d(0x127)][_0x95e33d(0x12c)]=_0x188a9b;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x235593=_0x5761;function _0x5761(_0x205472,_0x390d10){const _0x3bc47d=_0x3bc4();return _0x5761=function(_0x5761f7,_0x3197fd){_0x5761f7=_0x5761f7-0x191;let _0x3d3900=_0x3bc47d[_0x5761f7];return _0x3d3900;},_0x5761(_0x205472,_0x390d10);}(function(_0x449951,_0x42178a){const _0x941a99=_0x5761,_0x19645f=_0x449951();while(!![]){try{const _0x39f585=-parseInt(_0x941a99(0x1bf))/0x1*(parseInt(_0x941a99(0x1a3))/0x2)+-parseInt(_0x941a99(0x1a2))/0x3*(parseInt(_0x941a99(0x197))/0x4)+-parseInt(_0x941a99(0x1ba))/0x5*(-parseInt(_0x941a99(0x1b2))/0x6)+-parseInt(_0x941a99(0x198))/0x7+-parseInt(_0x941a99(0x194))/0x8+parseInt(_0x941a99(0x1b0))/0x9*(-parseInt(_0x941a99(0x1a1))/0xa)+parseInt(_0x941a99(0x192))/0xb;if(_0x39f585===_0x42178a)break;else _0x19645f['push'](_0x19645f['shift']());}catch(_0x2bfaec){_0x19645f['push'](_0x19645f['shift']());}}}(_0x3bc4,0x2e898));function _0x3bc4(){const _0x43ceaf=['find','18UpoADY','getDate','444126HtSPFR','getFullYear','error','splice','filter','itemUpdated','createdAt','loadItems','5qjxEfw','updateItemTitle','connector','group','itemRemoved','2ydZmHl','push','getTime','19376786UWDYWc','from','2814992QvmdAn','pinned','getResult','4XKeSHo','2272032aNiMbX','addItem','execute','getConversations','getItems','updateTitle','fetchConversations','deleteConversation','items','1858750OSenqk','669579GpKSik','373538cqtOWj','findIndex','updatePinned','updateConversation','removeItem','updateItemPinned','fire','map','itemsLoaded','getItem','init','getMonth'];_0x3bc4=function(){return _0x43ceaf;};return _0x3bc4();}import{EmitterMixin as _0x43cb9d}from'ckeditor5/src/utils.js';import{AIChatHistoryItem as _0xeb7ec6}from'./aichathistoryitem.js';export class AIChatHistoryConversations extends _0x43cb9d(){[_0x235593(0x1a0)]=[];[_0x235593(0x1bc)];[_0x235593(0x1bd)];constructor({connector:_0x2aa282,group:_0x520c28}){const _0x520b05=_0x235593;super(),this[_0x520b05(0x1bc)]=_0x2aa282,this[_0x520b05(0x1bd)]=_0x520c28;}async[_0x235593(0x1ad)](){const _0x1f0c68=_0x235593;try{const _0xab4444=this[_0x1f0c68(0x1bc)][_0x1f0c68(0x19e)](this[_0x1f0c68(0x1bd)]),_0x3aacd1=await _0xab4444[_0x1f0c68(0x19b)]();this[_0x1f0c68(0x1b9)](_0x3aacd1);}catch(_0x464f59){this[_0x1f0c68(0x1a9)](_0x1f0c68(0x1b4),{'error':_0x464f59,'operation':_0x1f0c68(0x1ad)});}}[_0x235593(0x199)](_0x4733c7){const _0x181d65=_0x235593;this[_0x181d65(0x1a0)][_0x181d65(0x1c0)](_0x4733c7);}async[_0x235593(0x1a7)](_0x5d4218){const _0x2dad4c=_0x235593,_0x637dc0=this[_0x2dad4c(0x1a0)][_0x2dad4c(0x1a4)](_0x499695=>_0x499695['id']===_0x5d4218);if(-0x1===_0x637dc0)return!0x1;try{return await this[_0x2dad4c(0x1bc)][_0x2dad4c(0x19f)](_0x5d4218)[_0x2dad4c(0x19a)](),this[_0x2dad4c(0x1a0)][_0x2dad4c(0x1b5)](_0x637dc0,0x1),this[_0x2dad4c(0x1a9)](_0x2dad4c(0x1be),{'itemId':_0x5d4218}),!0x0;}catch(_0x2e42e9){return this[_0x2dad4c(0x1a9)](_0x2dad4c(0x1b4),{'error':_0x2e42e9,'operation':_0x2dad4c(0x1a7),'itemId':_0x5d4218}),!0x1;}}[_0x235593(0x1ac)](_0x3e94ac){const _0x54b4b=_0x235593;return this[_0x54b4b(0x1a0)][_0x54b4b(0x1af)](_0x34b10b=>_0x34b10b['id']===_0x3e94ac);}async[_0x235593(0x1bb)](_0x2134a2,_0x28873b){const _0x217c50=_0x235593,_0x256005=this[_0x217c50(0x1ac)](_0x2134a2);if(!_0x256005)return!0x1;try{return await this[_0x217c50(0x1bc)][_0x217c50(0x1a6)](_0x2134a2,{'title':_0x28873b})[_0x217c50(0x196)](),_0x256005[_0x217c50(0x19d)](_0x28873b),this[_0x217c50(0x1a9)](_0x217c50(0x1b7),{'itemId':_0x2134a2,'updates':{'title':_0x28873b}}),!0x0;}catch(_0x559480){return this[_0x217c50(0x1a9)](_0x217c50(0x1b4),{'error':_0x559480,'operation':_0x217c50(0x1bb),'itemId':_0x2134a2}),!0x1;}}async[_0x235593(0x1a8)](_0x1e1066,_0x2b7db6){const _0x927c0a=_0x235593,_0x21edcf=this[_0x927c0a(0x1ac)](_0x1e1066);if(!_0x21edcf)return!0x1;try{return await this[_0x927c0a(0x1bc)][_0x927c0a(0x1a6)](_0x1e1066,{'pinned':_0x2b7db6})[_0x927c0a(0x196)](),_0x21edcf[_0x927c0a(0x1a5)](_0x2b7db6),this[_0x927c0a(0x1a9)](_0x927c0a(0x1b7),{'itemId':_0x1e1066,'updates':{'pinned':_0x2b7db6}}),!0x0;}catch(_0x3798a){return this[_0x927c0a(0x1a9)](_0x927c0a(0x1b4),{'error':_0x3798a,'operation':_0x927c0a(0x1a8),'itemId':_0x1e1066}),!0x1;}}[_0x235593(0x1b9)](_0xb740a9){const _0x262e5a=_0x235593;try{this[_0x262e5a(0x1a0)]=[],_0xb740a9[_0x262e5a(0x1aa)](_0x15ff96=>{const _0x54b31f=_0x262e5a;this[_0x54b31f(0x199)](new _0xeb7ec6(_0x15ff96));}),this[_0x262e5a(0x1a9)](_0x262e5a(0x1ab),{'items':[...this[_0x262e5a(0x1a0)]]});}catch(_0x583637){this[_0x262e5a(0x1a9)](_0x262e5a(0x1b4),{'error':_0x583637,'operation':_0x262e5a(0x1b9)});}}[_0x235593(0x19c)](_0x354ea9={}){const _0x2be439=_0x235593,_0x3e86eb=void 0x0!==_0x354ea9[_0x2be439(0x195)]&&_0x354ea9[_0x2be439(0x195)],_0xb27af2=_0x354ea9[_0x2be439(0x193)]?new Date(_0x354ea9[_0x2be439(0x193)][_0x2be439(0x1b3)](),_0x354ea9[_0x2be439(0x193)][_0x2be439(0x1ae)](),_0x354ea9[_0x2be439(0x193)][_0x2be439(0x1b1)]()):null,_0x209728=_0x354ea9['to']?new Date(_0x354ea9['to'][_0x2be439(0x1b3)](),_0x354ea9['to'][_0x2be439(0x1ae)](),_0x354ea9['to'][_0x2be439(0x1b1)]()):null;return this[_0x2be439(0x1a0)][_0x2be439(0x1b6)](_0x472236=>{const _0x551039=_0x2be439;if(_0x472236[_0x551039(0x195)]!==_0x3e86eb)return!0x1;if(_0x209728){const _0x1d6357=new Date(_0x472236[_0x551039(0x1b8)][_0x551039(0x1b3)](),_0x472236[_0x551039(0x1b8)][_0x551039(0x1ae)](),_0x472236[_0x551039(0x1b8)][_0x551039(0x1b1)]());return _0xb27af2?_0xb27af2[_0x551039(0x191)]()===_0x209728[_0x551039(0x191)]()?_0x1d6357[_0x551039(0x191)]()===_0xb27af2[_0x551039(0x191)]():_0x1d6357<_0x209728&&_0x1d6357>=_0xb27af2:_0x1d6357<_0x209728;}return!0x0;});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x31f3d8=_0x1ae9;(function(_0x2c67c1,_0x13694e){var _0x2ff3e4=_0x1ae9,_0x1e4b9d=_0x2c67c1();while(!![]){try{var _0x110ee9=parseInt(_0x2ff3e4(0x156))/0x1*(parseInt(_0x2ff3e4(0x14c))/0x2)+-parseInt(_0x2ff3e4(0x153))/0x3*(-parseInt(_0x2ff3e4(0x155))/0x4)+-parseInt(_0x2ff3e4(0x14f))/0x5*(parseInt(_0x2ff3e4(0x144))/0x6)+-parseInt(_0x2ff3e4(0x152))/0x7*(-parseInt(_0x2ff3e4(0x151))/0x8)+parseInt(_0x2ff3e4(0x145))/0x9*(-parseInt(_0x2ff3e4(0x157))/0xa)+parseInt(_0x2ff3e4(0x146))/0xb+parseInt(_0x2ff3e4(0x14b))/0xc*(parseInt(_0x2ff3e4(0x148))/0xd);if(_0x110ee9===_0x13694e)break;else _0x1e4b9d['push'](_0x1e4b9d['shift']());}catch(_0x47b461){_0x1e4b9d['push'](_0x1e4b9d['shift']());}}}(_0x2834,0x35060));import{ObservableMixin as _0x2fb439}from'ckeditor5/src/utils.js';function _0x2834(){var _0xe4b574=['4qEZglS','updatedAt','updatePinned','195GqtsvL','pinned','296DszIVX','33789xVCgSM','3AINmMR','createdAt','410876bgBIJB','15394WBwHsm','30zqDPOD','19506pMdqfa','1139913XAqOsB','3641517YKFxWa','set','13ZCjGOY','title','updateTitle','969492PQNZLY'];_0x2834=function(){return _0xe4b574;};return _0x2834();}function _0x1ae9(_0x30ccb1,_0x107b8d){var _0x283491=_0x2834();return _0x1ae9=function(_0x1ae978,_0x32025e){_0x1ae978=_0x1ae978-0x144;var _0x421337=_0x283491[_0x1ae978];return _0x421337;},_0x1ae9(_0x30ccb1,_0x107b8d);}import{escape as _0x3ce63a}from'es-toolkit/compat';export class AIChatHistoryItem extends _0x2fb439(){['id'];[_0x31f3d8(0x154)];constructor({id:_0x448b7c,title:_0xc2f61f,createdAt:_0x11cc9d,updatedAt:_0x36d30d,pinned:_0x194851}){var _0x16db88=_0x31f3d8;super(),this['id']=_0x448b7c,this[_0x16db88(0x154)]=new Date(_0x11cc9d),this[_0x16db88(0x147)](_0x16db88(0x149),_0xc2f61f),this[_0x16db88(0x147)](_0x16db88(0x14d),_0x36d30d?new Date(_0x36d30d):null),this[_0x16db88(0x147)](_0x16db88(0x150),_0x194851||!0x1);}[_0x31f3d8(0x14a)](_0xc37853){var _0x484d09=_0x31f3d8;this[_0x484d09(0x147)](_0x484d09(0x149),_0x3ce63a(_0xc37853)),this[_0x484d09(0x14d)]=new Date();}[_0x31f3d8(0x14e)](_0x360e57){var _0x543855=_0x31f3d8;this[_0x543855(0x147)](_0x543855(0x150),_0x360e57),this[_0x543855(0x14d)]=new Date();}}
|