@ckeditor/ckeditor5-ai 47.7.1 → 47.7.2
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
|
-
|
|
23
|
+
const _0x169882=_0x3743;(function(_0x3f4dcf,_0x1da181){const _0x2370da=_0x3743,_0x141514=_0x3f4dcf();while(!![]){try{const _0x4e8e10=parseInt(_0x2370da(0x16d))/0x1+-parseInt(_0x2370da(0x15f))/0x2*(-parseInt(_0x2370da(0x16f))/0x3)+parseInt(_0x2370da(0x17d))/0x4+-parseInt(_0x2370da(0x164))/0x5+-parseInt(_0x2370da(0x176))/0x6+-parseInt(_0x2370da(0x175))/0x7*(parseInt(_0x2370da(0x178))/0x8)+-parseInt(_0x2370da(0x170))/0x9*(-parseInt(_0x2370da(0x167))/0xa);if(_0x4e8e10===_0x1da181)break;else _0x141514['push'](_0x141514['shift']());}catch(_0x389627){_0x141514['push'](_0x141514['shift']());}}}(_0xd5c6,0xda54d));function _0xd5c6(){const _0x1cfc18=['4219500LMpRAA','createCollection','12835432lvGpaq','reorganizeChips','div','querySelector','destroy','448524nPqaZj','ck-ai-chat-controls-button','2NRIjLo','_createContextChips','setContainerElement','setTemplate','_bodyCollection','5495635XjBOud','locale','ck-ai-chat-context-controls__show-more-balloon-panel','36787010bJJpIO','ck-ai-chat-context-chips-wrapper-balloon','element','_overflowManager','ck-ai-chat-controls_context_show-more-button','ck-ai-chat__feed__context-chips','321893VycgYr','render','565098fjSRdn','9oTzzUP','ck-ai-chat-context-chips-wrapper','_contextChips','add','ck-reset_all','7KRRWkq'];_0xd5c6=function(){return _0x1cfc18;};return _0xd5c6();}import{View as _0x3ff77b}from'ckeditor5/src/ui.js';import{AIChatContextItemButtonView as _0x54eb6d}from'../controls/aichatcontextitembuttonview.js';function _0x3743(_0x65428f,_0x4fefcc){const _0xd5c652=_0xd5c6();return _0x3743=function(_0x374396,_0x3c74e0){_0x374396=_0x374396-0x15e;let _0x270503=_0xd5c652[_0x374396];return _0x270503;},_0x3743(_0x65428f,_0x4fefcc);}import{AIChatChipsOverflowManager as _0x4ff5d1}from'../controls/aichatchipsoverflowmanager.js';const oc=_0x169882(0x16c),cc=_0x169882(0x171),rc=_0x169882(0x168),jo=_0x169882(0x15e),Xo=_0x169882(0x16b),yo=_0x169882(0x166);export class AIChatFeedContextChipsView extends _0x3ff77b{[_0x169882(0x172)]=this[_0x169882(0x177)]();[_0x169882(0x16a)];[_0x169882(0x163)];constructor(_0x442866,_0x573fe5,_0x543f9e){const _0x3bda65=_0x169882;super(_0x442866),this[_0x3bda65(0x163)]=_0x543f9e,this[_0x3bda65(0x160)](_0x573fe5);const _0x384cad={'cssClasses':{'showMoreButton':Xo,'showMoreBalloon':yo,'overflowContainer':rc,'controlsButton':jo}};this[_0x3bda65(0x16a)]=new _0x4ff5d1(_0x442866,this[_0x3bda65(0x172)],_0x384cad,this[_0x3bda65(0x163)],this),this[_0x3bda65(0x162)]({'tag':_0x3bda65(0x17a),'attributes':{'class':[oc,'ck',_0x3bda65(0x174)]},'children':[{'tag':_0x3bda65(0x17a),'attributes':{'class':cc},'children':this[_0x3bda65(0x172)]}]});}[_0x169882(0x16e)](){const _0x254f95=_0x169882;super[_0x254f95(0x16e)]();const _0x318861=this[_0x254f95(0x169)][_0x254f95(0x17b)]('.'+cc);_0x318861&&(this[_0x254f95(0x16a)][_0x254f95(0x161)](_0x318861),this[_0x254f95(0x16a)][_0x254f95(0x179)]());}[_0x169882(0x17c)](){const _0x126250=_0x169882;super[_0x126250(0x17c)](),this[_0x126250(0x16a)][_0x126250(0x17c)]();}[_0x169882(0x160)](_0xb39ac6){const _0x1da320=_0x169882;for(const _0x331f3e of _0xb39ac6){const _0x31ead1=new _0x54eb6d(this[_0x1da320(0x165)],_0x331f3e,!0x0,!0x1);this[_0x1da320(0x172)][_0x1da320(0x173)](_0x31ead1);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x43af55=_0x3534;(function(_0x58af4d,_0x5940e0){var _0x1a2382=_0x3534,_0x494f73=_0x58af4d();while(!![]){try{var _0x4c5697=parseInt(_0x1a2382(0xe5))/0x1*(-parseInt(_0x1a2382(0xd7))/0x2)+-parseInt(_0x1a2382(0xdc))/0x3*(-parseInt(_0x1a2382(0xdd))/0x4)+-parseInt(_0x1a2382(0xdb))/0x5*(-parseInt(_0x1a2382(0xe4))/0x6)+-parseInt(_0x1a2382(0xe1))/0x7*(-parseInt(_0x1a2382(0xe2))/0x8)+parseInt(_0x1a2382(0xd9))/0x9+parseInt(_0x1a2382(0xe0))/0xa+parseInt(_0x1a2382(0xd8))/0xb*(-parseInt(_0x1a2382(0xda))/0xc);if(_0x4c5697===_0x5940e0)break;else _0x494f73['push'](_0x494f73['shift']());}catch(_0x3f0e01){_0x494f73['push'](_0x494f73['shift']());}}}(_0x512e,0xe808d));import{AIChatFeedItemView as _0x5bdc25}from'./aichatfeeditemview.js';function _0x3534(_0x284c0c,_0x5883b0){var _0x512e97=_0x512e();return _0x3534=function(_0x3534fd,_0x1434cd){_0x3534fd=_0x3534fd-0xd7;var _0x473a87=_0x512e97[_0x3534fd];return _0x473a87;},_0x3534(_0x284c0c,_0x5883b0);}export class AIChatFeedCustomElementView extends _0x5bdc25{constructor(_0x460fcb){var _0x76b01=_0x3534;super(_0x460fcb),this[_0x76b01(0xeb)]({'attributes':{'class':[_0x76b01(0xe7)]}});}async[_0x43af55(0xea)](){var _0x2b167f=_0x43af55;super[_0x2b167f(0xea)](),_0x2b167f(0xde)==typeof this[_0x2b167f(0xe6)][_0x2b167f(0xe3)]?this[_0x2b167f(0xdf)][_0x2b167f(0xe8)]=this[_0x2b167f(0xe6)][_0x2b167f(0xe3)]:this[_0x2b167f(0xdf)][_0x2b167f(0xe9)](this[_0x2b167f(0xe6)][_0x2b167f(0xe3)]);}}function _0x512e(){var _0x3285bd=['content','667518eikBnt','1696298ftvcPs','options','ck-ai-chat__feed__custom-element','innerHTML','appendChild','render','extendTemplate','2tYRTbx','44wBMhnI','4564260kRQNwZ','5421036GRHWCF','15zgeQZN','3LiHOsT','6220108QBQyON','string','element','14011350lnMLgh','4596634ZcPUav','8jNdmfp'];_0x512e=function(){return _0x3285bd;};return _0x512e();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x4ff8(){var _0x3c852d=['ck-ai-notification_error','ck-ai-notification','ck-ai-notification_warning','element','extendTemplate','4053763hstTeT','innerHTML','152540hzNOQe','level','6499164KEigzT','render','options','warning','4kJTxXK','1033648mpLGKF','188811ZrlhQt','setContent','initialContent','1809546JlTjzn','markAsDone','5477064muRdxE','10iTYSEu','660VKHutb'];_0x4ff8=function(){return _0x3c852d;};return _0x4ff8();}var _0x1703d4=_0x4bfe;function _0x4bfe(_0x56e40e,_0x1f4420){var _0x4ff8ce=_0x4ff8();return _0x4bfe=function(_0x4bfe0e,_0x46c182){_0x4bfe0e=_0x4bfe0e-0x10b;var _0x3a1b9e=_0x4ff8ce[_0x4bfe0e];return _0x3a1b9e;},_0x4bfe(_0x56e40e,_0x1f4420);}(function(_0xd404e9,_0x3c8c13){var _0x57615c=_0x4bfe,_0x547159=_0xd404e9();while(!![]){try{var _0x56da63=parseInt(_0x57615c(0x115))/0x1*(parseInt(_0x57615c(0x11b))/0x2)+-parseInt(_0x57615c(0x120))/0x3+parseInt(_0x57615c(0x11c))/0x4*(parseInt(_0x57615c(0x10c))/0x5)+-parseInt(_0x57615c(0x117))/0x6+-parseInt(_0x57615c(0x113))/0x7+parseInt(_0x57615c(0x10b))/0x8+parseInt(_0x57615c(0x11d))/0x9*(parseInt(_0x57615c(0x10d))/0xa);if(_0x56da63===_0x3c8c13)break;else _0x547159['push'](_0x547159['shift']());}catch(_0x3559ed){_0x547159['push'](_0x547159['shift']());}}}(_0x4ff8,0x98c02));import{AIChatFeedItemView as _0x5e8040}from'./aichatfeeditemview.js';export class AIChatFeedErrorItemView extends _0x5e8040{constructor(_0x41e01e){var _0x1b6992=_0x4bfe;super(_0x41e01e),this[_0x1b6992(0x112)]({'attributes':{'class':[_0x1b6992(0x10f),_0x1b6992(0x11a)===_0x41e01e[_0x1b6992(0x116)]?_0x1b6992(0x110):_0x1b6992(0x10e)]}});}[_0x1703d4(0x118)](){var _0x366fe5=_0x1703d4;super[_0x366fe5(0x118)](),this[_0x366fe5(0x11e)](this[_0x366fe5(0x119)][_0x366fe5(0x11f)]),this[_0x366fe5(0x121)]();}[_0x1703d4(0x11e)](_0xa3118d){var _0x337a7b=_0x1703d4;this[_0x337a7b(0x111)][_0x337a7b(0x114)]=_0xa3118d;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4efd2e=_0x2458;function _0x333a(){const _0x1a5800=['extendTemplate','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH','14psmFlI','span','3604320DiQjeo','add','content','124730SnFiUf','ck-ai-chat__feed__interaction-header','753380skivBH','div','1865836PXqoIg','ck-ai-chat__feed__interaction-header__capabilities','setTemplate','118046xZJQLv','10795400bymhUG','ck-hidden','push','AI_CHAT_FEED_REPLY_ITEM_USED_REASONING','ck-ai-chat__feed__interaction-header__capabilities__text','56FpofOX','children','16JawFmD','71319alltkR','12jSvBMY','capabilities','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING'];_0x333a=function(){return _0x1a5800;};return _0x333a();}(function(_0x1d0df0,_0x4c6e9b){const _0x32943e=_0x2458,_0x5841bd=_0x1d0df0();while(!![]){try{const _0x2ef48d=-parseInt(_0x32943e(0xd4))/0x1*(-parseInt(_0x32943e(0xc5))/0x2)+parseInt(_0x32943e(0xce))/0x3*(-parseInt(_0x32943e(0xcb))/0x4)+-parseInt(_0x32943e(0xd9))/0x5*(-parseInt(_0x32943e(0xcf))/0x6)+parseInt(_0x32943e(0xdd))/0x7*(-parseInt(_0x32943e(0xcd))/0x8)+-parseInt(_0x32943e(0xd6))/0x9+-parseInt(_0x32943e(0xdb))/0xa+parseInt(_0x32943e(0xc6))/0xb;if(_0x2ef48d===_0x4c6e9b)break;else _0x5841bd['push'](_0x5841bd['shift']());}catch(_0xf5129f){_0x5841bd['push'](_0x5841bd['shift']());}}}(_0x333a,0x7df26));function _0x2458(_0x1a3ddb,_0x1efe39){const _0x333aeb=_0x333a();return _0x2458=function(_0x245865,_0x2f04cd){_0x245865=_0x245865-0xc3;let _0x12a4d4=_0x333aeb[_0x245865];return _0x12a4d4;},_0x2458(_0x1a3ddb,_0x1efe39);}import{IconBulb as _0x1d64d0,IconWeb as _0x169115}from'@ckeditor/ckeditor5-icons';import{IconView as _0x53fd72,View as _0x317ee2}from'ckeditor5/src/ui.js';import{AIChatFeedItemView as _0x5cbd05}from'./aichatfeeditemview.js';import{getTranslation as _0x3fdf10}from'../../../aicore/utils/common-translations.js';export class AIChatFeedInteractionHeaderView extends _0x5cbd05{[_0x4efd2e(0xd0)];constructor(_0x2fb500,_0x5dd8e3){const _0x5986be=_0x4efd2e;super(_0x5dd8e3);const {isWebSearchEnabled:_0x50721f,isReasoningEnabled:_0x4e678f}=_0x5dd8e3[_0x5986be(0xd0)],_0x597087=[];let _0x2009db='';_0x50721f&&_0x4e678f?(_0x2009db=_0x3fdf10(_0x2fb500,_0x5986be(0xd1)),_0x597087[_0x5986be(0xc8)](aa(_0x169115)),_0x597087[_0x5986be(0xc8)](aa(_0x1d64d0))):_0x50721f?(_0x2009db=_0x3fdf10(_0x2fb500,_0x5986be(0xd3)),_0x597087[_0x5986be(0xc8)](aa(_0x169115))):_0x4e678f&&(_0x2009db=_0x3fdf10(_0x2fb500,_0x5986be(0xc9)),_0x597087[_0x5986be(0xc8)](aa(_0x1d64d0))),this[_0x5986be(0xd2)]({'attributes':{'class':[_0x5986be(0xda),_0x2009db?'':_0x5986be(0xc7)]}});const _0x20081e=new _0x317ee2();_0x20081e[_0x5986be(0xc4)]({'tag':_0x5986be(0xdc),'attributes':{'class':['ck',_0x5986be(0xc3)]},'children':[..._0x597087,{'tag':_0x5986be(0xd5),'attributes':{'class':[_0x5986be(0xca)]},'children':[_0x2009db]}]}),this[_0x5986be(0xcc)][_0x5986be(0xd7)](_0x20081e),this[_0x5986be(0xd0)]=_0x5dd8e3[_0x5986be(0xd0)];}}function aa(_0x3468ca){const _0x5b89d0=_0x4efd2e,_0x5ec42a=new _0x53fd72();return _0x5ec42a[_0x5b89d0(0xd8)]=_0x3468ca,_0x5ec42a;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x452c02=_0xa14d;(function(_0x2592a9,_0x142690){const _0x26308e=_0xa14d,_0x434625=_0x2592a9();while(!![]){try{const _0x30bb09=-parseInt(_0x26308e(0x164))/0x1*(-parseInt(_0x26308e(0x15d))/0x2)+-parseInt(_0x26308e(0x15a))/0x3*(-parseInt(_0x26308e(0x15b))/0x4)+-parseInt(_0x26308e(0x167))/0x5*(parseInt(_0x26308e(0x157))/0x6)+-parseInt(_0x26308e(0x176))/0x7+-parseInt(_0x26308e(0x16c))/0x8+-parseInt(_0x26308e(0x159))/0x9+parseInt(_0x26308e(0x170))/0xa;if(_0x30bb09===_0x142690)break;else _0x434625['push'](_0x434625['shift']());}catch(_0x3b238b){_0x434625['push'](_0x434625['shift']());}}}(_0x4e53,0x3eaaf));function _0xa14d(_0x12cc13,_0x186138){const _0x4e53d9=_0x4e53();return _0xa14d=function(_0xa14d4d,_0x2d30b5){_0xa14d4d=_0xa14d4d-0x153;let _0x1184d8=_0x4e53d9[_0xa14d4d];return _0x1184d8;},_0xa14d(_0x12cc13,_0x186138);}function _0x4e53(){const _0x2d4ea2=['ck-hidden','children','div','ck-ai-chat__feed__text-item','2580403YxYdUv','animation:\x20ck-html-streamer-fade-in\x20.5s','markAsDone','stream','cleanUpAnimations','54vOmPos','removeAttribute','3420513Csndxk','6TMANrl','485580xpTEQi','ck-ai-chat__feed__item_done','102lRWyPb','data-id','element','[data-id]','htmlStreamer','options','bindTemplate','2377SnPMem','setTemplate','ck-ai-chat__feed__item','83445SBXfXy','forEach','isDone','streamIntoElement','set','993928lIcoNW','querySelectorAll','isVisible','createCollection','9157980eNMoGf','content'];_0x4e53=function(){return _0x2d4ea2;};return _0x4e53();}import{View as _0x2254e4}from'ckeditor5/src/ui.js';import{HTMLStreamer as _0x13fad2}from'../../../aicore/utils/htmlstreamer.js';export class AIChatFeedItemView extends _0x2254e4{[_0x452c02(0x162)];[_0x452c02(0x171)]='';[_0x452c02(0x161)];[_0x452c02(0x173)];constructor(_0x30c960){const _0x4035d8=_0x452c02;super();const _0x509685=this[_0x4035d8(0x163)];this[_0x4035d8(0x16b)](_0x4035d8(0x169),!0x1),this[_0x4035d8(0x16b)](_0x4035d8(0x16e),!0x0),this[_0x4035d8(0x161)]=new _0x13fad2({'textNodeStyle':_0x4035d8(0x153),'delay':0x14}),this[_0x4035d8(0x162)]=_0x30c960,this[_0x4035d8(0x173)]=this[_0x4035d8(0x16f)](),this[_0x4035d8(0x165)]({'tag':_0x4035d8(0x174),'attributes':{'class':['ck',_0x4035d8(0x166),_0x509685['if'](_0x4035d8(0x169),_0x4035d8(0x15c)),_0x509685['if'](_0x4035d8(0x16e),_0x4035d8(0x172),_0x5b8dbb=>!_0x5b8dbb),_0x4035d8(0x175)],'data-cke-ai-id':this[_0x4035d8(0x162)]['id']},'children':this[_0x4035d8(0x173)]});}[_0x452c02(0x154)](){const _0x3c4caa=_0x452c02;this[_0x3c4caa(0x161)][_0x3c4caa(0x156)]({'targetElement':this[_0x3c4caa(0x15f)]}),this[_0x3c4caa(0x15f)][_0x3c4caa(0x16d)](_0x3c4caa(0x160))[_0x3c4caa(0x168)](_0x5c1dfc=>{const _0x421eee=_0x3c4caa;_0x5c1dfc[_0x421eee(0x158)](_0x421eee(0x15e));}),this[_0x3c4caa(0x169)]=!0x0;}async[_0x452c02(0x16a)](_0x5f24c9,_0x1d5fef,_0x32a13b){const _0x3c50d4=_0x452c02;await this[_0x3c50d4(0x161)][_0x3c50d4(0x155)]({'document':_0x5f24c9,'targetElement':_0x1d5fef,'abortSignal':_0x32a13b});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x38bfcf=_0x5f4e;(function(_0x4e5557,_0x2ffdaa){const _0x39a678=_0x5f4e,_0x29c8f4=_0x4e5557();while(!![]){try{const _0x35d104=parseInt(_0x39a678(0x6f))/0x1*(parseInt(_0x39a678(0x77))/0x2)+-parseInt(_0x39a678(0x73))/0x3+parseInt(_0x39a678(0x68))/0x4+-parseInt(_0x39a678(0x71))/0x5+parseInt(_0x39a678(0x6d))/0x6*(-parseInt(_0x39a678(0x7a))/0x7)+parseInt(_0x39a678(0x76))/0x8*(parseInt(_0x39a678(0x6c))/0x9)+parseInt(_0x39a678(0x86))/0xa*(parseInt(_0x39a678(0x66))/0xb);if(_0x35d104===_0x2ffdaa)break;else _0x29c8f4['push'](_0x29c8f4['shift']());}catch(_0x329453){_0x29c8f4['push'](_0x29c8f4['shift']());}}}(_0xf03e,0x4daa4));import{AIChatFeedItemView as _0x5364fc}from'./aichatfeeditemview.js';import{parse as _0x9a0067,render as _0x131736}from'../../../aicore/utils/htmlparser.js';import{View as _0x44fbc8}from'ckeditor5/src/ui.js';function _0x5f4e(_0x461623,_0xc0f6f8){const _0xf03e83=_0xf03e();return _0x5f4e=function(_0x5f4ec9,_0x5eb128){_0x5f4ec9=_0x5f4ec9-0x66;let _0x4241cf=_0xf03e83[_0x5f4ec9];return _0x4241cf;},_0x5f4e(_0x461623,_0xc0f6f8);}import{AIWebSourcesView as _0x12a57c,AIWebSourceView as _0x3a4dd8}from'../../../aicore/ui/suggestioncontainer/aiwebsourcesview.js';function _0xf03e(){const _0xf337fb=['setTemplate','extendTemplate','render','15947173lPGwpk','div','354024PfQnlC','balloonPanelView','options','ck-ai-chat__feed__ai-reply-container','19854dpXVfU','288pvArev','addMany','2rhVnOA','updateSources','2226830SDrknd','initialContent','1784283zZvSFx','children','isVisible','832rDpGTk','220378DzqCJU','replyContainer','element','91847yxeIbW','_bodyCollection','ck-reset_all-excluded','map','add','ck-ai-chat__feed__ai-reply','markAsDone','streamIntoElement','static','updateContent','streaming','innerHTML','10mBTcgr','locale'];_0xf03e=function(){return _0xf337fb;};return _0xf03e();}export class AIChatFeedReplyItemView extends _0x5364fc{[_0x38bfcf(0x78)];[_0x38bfcf(0x7b)];constructor(_0x588410,_0x4986df,_0x27ce89){const _0x4053a0=_0x38bfcf;super(_0x4986df),this[_0x4053a0(0x7b)]=_0x27ce89,this[_0x4053a0(0x87)]=_0x588410,this[_0x4053a0(0x89)]({'attributes':{'class':[_0x4053a0(0x7f)]}}),this[_0x4053a0(0x78)]=new _0x44fbc8(),this[_0x4053a0(0x78)][_0x4053a0(0x88)]({'tag':_0x4053a0(0x67),'attributes':{'class':['ck',_0x4053a0(0x7c),_0x4053a0(0x6b)]}}),this[_0x4053a0(0x74)][_0x4053a0(0x7e)](this[_0x4053a0(0x78)]);}async[_0x38bfcf(0x8a)](){const _0x4a2806=_0x38bfcf;super[_0x4a2806(0x8a)](),this[_0x4a2806(0x6a)][_0x4a2806(0x72)]&&(await this[_0x4a2806(0x83)]({'parsedContent':_0x9a0067(this[_0x4a2806(0x6a)][_0x4a2806(0x72)]),'renderingStrategy':_0x4a2806(0x82)}),this[_0x4a2806(0x80)]());}async[_0x38bfcf(0x83)]({parsedContent:_0x40d621,renderingStrategy:_0x3cae5e,abortSignal:_0x11f12c}){const _0x22a8f0=_0x38bfcf;_0x22a8f0(0x84)===_0x3cae5e?await this[_0x22a8f0(0x81)](_0x40d621,this[_0x22a8f0(0x78)][_0x22a8f0(0x79)],_0x11f12c):this[_0x22a8f0(0x78)][_0x22a8f0(0x79)][_0x22a8f0(0x85)]=_0x131736(_0x40d621);}[_0x38bfcf(0x70)](_0x27b56e){const _0x50ecaf=_0x38bfcf,_0x4d03fc=new _0x12a57c(this[_0x50ecaf(0x87)],this[_0x50ecaf(0x7b)]);_0x4d03fc[_0x50ecaf(0x74)][_0x50ecaf(0x6e)](_0x27b56e[_0x50ecaf(0x7d)](_0x328f5f=>new _0x3a4dd8(this[_0x50ecaf(0x87)],_0x328f5f,_0x4d03fc[_0x50ecaf(0x69)]))),_0x4d03fc[_0x50ecaf(0x75)]=!0x0,this[_0x50ecaf(0x74)][_0x50ecaf(0x7e)](_0x4d03fc);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x4920(){const _0x35d210=['isTrackChangesOn','654jiLsTh','setTemplate','ck-hidden','629192lSqeHs','insertSuggestion','117aJMVQA','AI_CHAT_SUGGESTION_ACTION_APPLY_ALL','ck-ai-chat__feed__suggestion__actions__info','ck-ai-button-secondary','ck-ai-chat__feed__ai-suggestion__actions','401664ejPmxg','_switchButtonLabelsPlurality','isEnabled','div','bind','AI_CHAT_SUGGESTION_ACTION_SUGGEST','_applyChangesButton','set','167360IfxnKt','6468728PdNVKN','AI_CHAT_SUGGESTION_ACTION_SUGGEST_ALL','bindTemplate','_insertSuggestionsButton','2668488uhoaYM','addMany','execute','change:isTrackChangesOn','isVisible','locale','button','includes','1220gciqzo','add','263906Xnrfpu','fire','updateVisibility','applySuggestion','createCollection','AI_SUGGESTION_DISABLED_TOOLTIP_MESSAGE','AI_SUGGESTION_DISABLED_FEED_MESSAGE','AI_CHAT_SUGGESTION_ACTION_APPLY','children','forEach','ck-ai-button-primary','label'];_0x4920=function(){return _0x35d210;};return _0x4920();}const _0x5e258c=_0x1a47;(function(_0x3e8597,_0x5cf60c){const _0x4185c3=_0x1a47,_0x3263ba=_0x3e8597();while(!![]){try{const _0x823537=parseInt(_0x4185c3(0x1ba))/0x1+-parseInt(_0x4185c3(0x1b0))/0x2+-parseInt(_0x4185c3(0x1a3))/0x3+parseInt(_0x4185c3(0x1ab))/0x4+parseInt(_0x4185c3(0x1b8))/0x5*(-parseInt(_0x4185c3(0x199))/0x6)+parseInt(_0x4185c3(0x1ac))/0x7+parseInt(_0x4185c3(0x19c))/0x8*(parseInt(_0x4185c3(0x19e))/0x9);if(_0x823537===_0x5cf60c)break;else _0x3263ba['push'](_0x3263ba['shift']());}catch(_0x59ab12){_0x3263ba['push'](_0x3263ba['shift']());}}}(_0x4920,0xb8f37));import{ButtonView as _0x2dc884,View as _0x3fae77}from'ckeditor5/src/ui.js';import{getTranslation as _0x4b7765}from'../../../aicore/utils/common-translations.js';import{IconInfo as _0x4e5a59}from'ckeditor5/src/icons.js';export const AI_REPLY_ACTIONS=[_0x5e258c(0x1bd),_0x5e258c(0x19d)];function _0x1a47(_0x25efa8,_0x464970){const _0x4920ae=_0x4920();return _0x1a47=function(_0x1a4755,_0x2fec1d){_0x1a4755=_0x1a4755-0x194;let _0x2c4e3e=_0x4920ae[_0x1a4755];return _0x2c4e3e;},_0x1a47(_0x25efa8,_0x464970);}export class AIChatFeedSuggestionItemActionsView extends _0x3fae77{[_0x5e258c(0x1a9)];[_0x5e258c(0x1af)];[_0x5e258c(0x194)];constructor(_0xdeba5d,_0x690371=[...AI_REPLY_ACTIONS],_0x48b10e){const _0x17734a=_0x5e258c;super(_0xdeba5d);const _0x20d76d=this[_0x17734a(0x1ae)],_0x5f336c=Boolean(_0x48b10e);if(this[_0x17734a(0x1aa)](_0x17734a(0x1a5),!_0x5f336c),this[_0x17734a(0x1aa)](_0x17734a(0x1b4),!0x1),this[_0x17734a(0x1aa)](_0x17734a(0x198),!0x1),this[_0x17734a(0x194)]=this[_0x17734a(0x1be)](),_0x5f336c){const _0x16da3f=new _0x2dc884(_0xdeba5d);_0x16da3f[_0x17734a(0x1aa)]({'label':_0x4b7765(_0xdeba5d,_0x17734a(0x1bf)),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x4e5a59});const _0x542181=new _0x3fae77(_0xdeba5d);_0x542181[_0x17734a(0x19a)]({'tag':_0x17734a(0x1a6),'attributes':{'class':_0x17734a(0x1a0)},'children':[{'tag':'p','children':[_0x4b7765(_0xdeba5d,_0x17734a(0x1c0)),_0x16da3f]}]}),this[_0x17734a(0x194)][_0x17734a(0x1b9)](_0x542181);}else this[_0x17734a(0x1a9)]=new _0x2dc884(_0xdeba5d),this[_0x17734a(0x1a9)][_0x17734a(0x1aa)]({'label':_0x4b7765(_0xdeba5d,_0x17734a(0x19f)),'withText':!0x0,'type':_0x17734a(0x1b6),'isVisible':_0x690371[_0x17734a(0x1b7)](_0x17734a(0x1bd)),'class':_0x17734a(0x196)}),this[_0x17734a(0x1af)]=new _0x2dc884(_0xdeba5d),this[_0x17734a(0x1af)][_0x17734a(0x1aa)]({'label':_0x4b7765(_0xdeba5d,_0x17734a(0x1ad)),'withText':!0x0,'type':_0x17734a(0x1b6),'isVisible':_0x690371[_0x17734a(0x1b7)](_0x17734a(0x19d)),'class':_0x17734a(0x1a1)}),this[_0x17734a(0x1af)]['on'](_0x17734a(0x1b2),()=>{const _0x23c789=_0x17734a;this[_0x23c789(0x1bb)](_0x23c789(0x19d));}),this[_0x17734a(0x1a9)]['on'](_0x17734a(0x1b2),()=>{const _0x26e2a2=_0x17734a;this[_0x26e2a2(0x1bb)](_0x26e2a2(0x1bd));}),[this[_0x17734a(0x1a9)],this[_0x17734a(0x1af)]][_0x17734a(0x195)](_0x3c2b69=>{const _0x42085e=_0x17734a;_0x3c2b69[_0x42085e(0x1a7)](_0x42085e(0x1a5))['to'](this);}),this[_0x17734a(0x194)][_0x17734a(0x1b1)]([this[_0x17734a(0x1a9)],this[_0x17734a(0x1af)]]);this[_0x17734a(0x19a)]({'tag':_0x17734a(0x1a6),'attributes':{'class':['ck',_0x17734a(0x1a2),_0x20d76d['if'](_0x17734a(0x1b4),_0x17734a(0x19b),_0x518af8=>!_0x518af8)]},'children':this[_0x17734a(0x194)]}),this['on'](_0x17734a(0x1b3),()=>{const _0x46af9d=_0x17734a;this[_0x46af9d(0x1a9)]&&(this[_0x46af9d(0x1a9)][_0x46af9d(0x1b4)]=!this[_0x46af9d(0x198)]);});}[_0x5e258c(0x1bc)](_0x6121a7){const _0x409212=_0x5e258c;this[_0x409212(0x1b4)]=_0x6121a7;}[_0x5e258c(0x1a4)](_0x1282b6){const _0x14e818=_0x5e258c;this[_0x14e818(0x1a9)]&&this[_0x14e818(0x1af)]&&(_0x1282b6?(this[_0x14e818(0x1a9)][_0x14e818(0x197)]=_0x4b7765(this[_0x14e818(0x1b5)],_0x14e818(0x19f)),this[_0x14e818(0x1af)][_0x14e818(0x197)]=_0x4b7765(this[_0x14e818(0x1b5)],_0x14e818(0x1ad))):(this[_0x14e818(0x1a9)][_0x14e818(0x197)]=_0x4b7765(this[_0x14e818(0x1b5)],_0x14e818(0x1c1)),this[_0x14e818(0x1af)][_0x14e818(0x197)]=_0x4b7765(this[_0x14e818(0x1b5)],_0x14e818(0x1a8))));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x210d1b=_0x5e66;(function(_0x47252d,_0x4a218c){var _0x3d401a=_0x5e66,_0x332cc7=_0x47252d();while(!![]){try{var _0x48abf6=parseInt(_0x3d401a(0x198))/0x1+-parseInt(_0x3d401a(0x192))/0x2+parseInt(_0x3d401a(0x17e))/0x3*(-parseInt(_0x3d401a(0x191))/0x4)+parseInt(_0x3d401a(0x18d))/0x5*(parseInt(_0x3d401a(0x19b))/0x6)+parseInt(_0x3d401a(0x19f))/0x7*(-parseInt(_0x3d401a(0x1a3))/0x8)+parseInt(_0x3d401a(0x19c))/0x9+parseInt(_0x3d401a(0x1a0))/0xa;if(_0x48abf6===_0x4a218c)break;else _0x332cc7['push'](_0x332cc7['shift']());}catch(_0x4292a5){_0x332cc7['push'](_0x332cc7['shift']());}}}(_0x4655,0xa7602));import{AIChatFeedItemView as _0x46adb0}from'./aichatfeeditemview.js';import{AISuggestionContainerView as _0x504176}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';function _0x4655(){var _0x5c1d3d=['131964FtydEx','ck-ai-chat__feed__ai-suggestion','isTrackChangesOn','updateContent','children','addMany','markAsDone','updatePartState','setPartActive','applySuggestion','fire','set','toggleSuggestionDisplayMode','areActionsDisabled','getPartView','5odJbbm','dislike','rejectSuggestion','insertSuggestion','60rPIpvb','2412122XuldpW','showChangeInText','mouseLeaveSuggestion','bodyView','availableActions','showDiff','661904EKWpAo','containerView','mouseOverSuggestion','2339130GtbzQs','11126808SGGpGX','bind','updateSources','189MacrmL','9828760oBxNza','like','extendTemplate','213184fDhvUx','options'];_0x4655=function(){return _0x5c1d3d;};return _0x4655();}function _0x5e66(_0x2918e2,_0x1f5087){var _0x4655da=_0x4655();return _0x5e66=function(_0x5e665a,_0x16848e){_0x5e665a=_0x5e665a-0x17d;var _0x58692b=_0x4655da[_0x5e665a];return _0x58692b;},_0x5e66(_0x2918e2,_0x1f5087);}export class AIChatFeedSuggestionItemView extends _0x46adb0{[_0x210d1b(0x199)];constructor(_0x219d01,_0x4955da,_0xbad348){var _0x20d7a0=_0x210d1b;super(_0x4955da),this[_0x20d7a0(0x189)](_0x20d7a0(0x180),!0x1),this[_0x20d7a0(0x199)]=new _0x504176(_0x219d01,{'showDiff':_0x4955da[_0x20d7a0(0x197)],'areActionsDisabled':_0x4955da[_0x20d7a0(0x18b)],'availableActions':_0x4955da[_0x20d7a0(0x196)]},_0xbad348),this[_0x20d7a0(0x199)]['on'](_0x20d7a0(0x18a),(_0x18af0a,_0x5ba589)=>{var _0x992635=_0x20d7a0;this[_0x992635(0x188)](_0x992635(0x18a),{'replyId':this[_0x992635(0x17d)]['id'],'showDiff':_0x5ba589[_0x992635(0x197)]});}),this[_0x20d7a0(0x199)][_0x20d7a0(0x19d)](_0x20d7a0(0x180))['to'](this),this[_0x20d7a0(0x199)]['on'](_0x20d7a0(0x1a1),()=>{var _0x85c0ba=_0x20d7a0;this[_0x85c0ba(0x188)](_0x85c0ba(0x1a1),{'replyId':this[_0x85c0ba(0x17d)]['id']});}),this[_0x20d7a0(0x199)]['on'](_0x20d7a0(0x18e),()=>{var _0x4ab649=_0x20d7a0;this[_0x4ab649(0x188)](_0x4ab649(0x18e),{'replyId':this[_0x4ab649(0x17d)]['id']});}),this[_0x20d7a0(0x199)]['on'](_0x20d7a0(0x193),(_0x521592,{index:_0x3c6a07})=>{var _0x5d6f65=_0x20d7a0;this[_0x5d6f65(0x188)](_0x5d6f65(0x193),{'replyId':this[_0x5d6f65(0x17d)]['id'],'partIndex':_0x3c6a07});}),this[_0x20d7a0(0x199)]['on'](_0x20d7a0(0x187),(_0xdbe021,{index:_0x5ed580}={})=>{var _0x139e35=_0x20d7a0;this[_0x139e35(0x188)](_0x139e35(0x187),{'replyId':this[_0x139e35(0x17d)]['id'],'partIndex':_0x5ed580});}),this[_0x20d7a0(0x199)]['on'](_0x20d7a0(0x190),(_0x284339,{index:_0x386653}={})=>{var _0x3814d6=_0x20d7a0;this[_0x3814d6(0x188)](_0x3814d6(0x190),{'replyId':this[_0x3814d6(0x17d)]['id'],'partIndex':_0x386653});}),this[_0x20d7a0(0x199)]['on'](_0x20d7a0(0x18f),(_0x398a7f,{index:_0x30814f})=>{var _0x38e841=_0x20d7a0;this[_0x38e841(0x188)](_0x38e841(0x18f),{'replyId':this[_0x38e841(0x17d)]['id'],'partIndex':_0x30814f});}),this[_0x20d7a0(0x199)]['on'](_0x20d7a0(0x19a),(_0x3bd50b,{index:_0x2b8712})=>{var _0x24bca6=_0x20d7a0;this[_0x24bca6(0x188)](_0x24bca6(0x19a),{'replyId':this[_0x24bca6(0x17d)]['id'],'partIndex':_0x2b8712});}),this[_0x20d7a0(0x199)]['on'](_0x20d7a0(0x194),(_0x7e71bb,{index:_0x19daf3})=>{var _0x45bc4a=_0x20d7a0;this[_0x45bc4a(0x188)](_0x45bc4a(0x194),{'replyId':this[_0x45bc4a(0x17d)]['id'],'partIndex':_0x19daf3});}),this[_0x20d7a0(0x182)][_0x20d7a0(0x183)]([this[_0x20d7a0(0x199)]]),this[_0x20d7a0(0x1a2)]({'attributes':{'class':[_0x20d7a0(0x17f)]}});}async[_0x210d1b(0x181)](_0x362557){var _0x5611d3=_0x210d1b;await this[_0x5611d3(0x199)][_0x5611d3(0x181)](_0x362557);}[_0x210d1b(0x185)](_0x3b6011,_0x4c38b5){var _0x56c2f3=_0x210d1b;this[_0x56c2f3(0x199)][_0x56c2f3(0x195)][_0x56c2f3(0x185)](_0x3b6011,_0x4c38b5);}[_0x210d1b(0x186)](_0x45de32,_0x54d35a){var _0x14e409=_0x210d1b;!0x1===_0x45de32?this[_0x14e409(0x199)][_0x14e409(0x195)][_0x14e409(0x186)](!0x1):this[_0x14e409(0x199)][_0x14e409(0x195)][_0x14e409(0x186)](_0x45de32,_0x54d35a);}[_0x210d1b(0x19e)](_0x2d1afa){var _0x38ede8=_0x210d1b;this[_0x38ede8(0x199)][_0x38ede8(0x19e)](_0x2d1afa);}[_0x210d1b(0x18c)](_0x4b1e8d){var _0x533c79=_0x210d1b;return this[_0x533c79(0x199)][_0x533c79(0x195)][_0x533c79(0x18c)](_0x4b1e8d);}[_0x210d1b(0x184)](){var _0x58a19e=_0x210d1b;super[_0x58a19e(0x184)](),this[_0x58a19e(0x199)][_0x58a19e(0x184)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x33effd=_0x38d1;function _0x5f51(){var _0x3a7c87=['ck-ai-chat__feed__user-message','innerHTML','16540SGJCno','hidden','57idLXDM','80980DYEuzw','ck-ai-chat__feed__context-chips','440EawHke','contextItems','_createMessageContentView','1942520GcSMRH','extendTemplate','setTemplate','initialContent','markAsDone','add','283514bCgGvQ','1659231pabbgb','element','_contextChipsView','243184bYMYCO','7ewKfEo','_messageContentView','_locale','514685JjOoAN','filter','children','length','render','_createContextChipsView','6VIvFNy','div','ck-ai-chat__feed__message-content','_bodyCollection','options'];_0x5f51=function(){return _0x3a7c87;};return _0x5f51();}(function(_0x545ab3,_0x17b6f6){var _0xea0f04=_0x38d1,_0x41eae4=_0x545ab3();while(!![]){try{var _0x196a1b=-parseInt(_0xea0f04(0x1a1))/0x1+-parseInt(_0xea0f04(0x19d))/0x2+-parseInt(_0xea0f04(0x191))/0x3*(-parseInt(_0xea0f04(0x18f))/0x4)+parseInt(_0xea0f04(0x1a5))/0x5*(parseInt(_0xea0f04(0x1ab))/0x6)+-parseInt(_0xea0f04(0x1a2))/0x7*(-parseInt(_0xea0f04(0x197))/0x8)+-parseInt(_0xea0f04(0x19e))/0x9+parseInt(_0xea0f04(0x192))/0xa*(parseInt(_0xea0f04(0x194))/0xb);if(_0x196a1b===_0x17b6f6)break;else _0x41eae4['push'](_0x41eae4['shift']());}catch(_0x113024){_0x41eae4['push'](_0x41eae4['shift']());}}}(_0x5f51,0x2baf9));import{AIChatFeedItemView as _0x3a1eb5}from'./aichatfeeditemview.js';function _0x38d1(_0x3f5283,_0x2bd650){var _0x5f5183=_0x5f51();return _0x38d1=function(_0x38d12d,_0x244979){_0x38d12d=_0x38d12d-0x18b;var _0x37b685=_0x5f5183[_0x38d12d];return _0x37b685;},_0x38d1(_0x3f5283,_0x2bd650);}import{AIChatFeedContextChipsView as _0x2308bb}from'./aichatfeedcontextchipsview.js';import{View as _0x4b5a74}from'ckeditor5/src/ui.js';export class AIChatFeedUserMessageItemView extends _0x3a1eb5{[_0x33effd(0x1a0)]=null;[_0x33effd(0x1a4)];[_0x33effd(0x18b)];[_0x33effd(0x1a3)];constructor(_0x42a5e5,_0x6772d0,_0x1f2e03){var _0x38f125=_0x33effd;super(_0x6772d0),this[_0x38f125(0x1a4)]=_0x42a5e5,this[_0x38f125(0x18b)]=_0x1f2e03,this[_0x38f125(0x1aa)](),this[_0x38f125(0x196)](),this[_0x38f125(0x198)]({'attributes':{'class':[_0x38f125(0x18d)]}});}[_0x33effd(0x1aa)](){var _0x4d34c1=_0x33effd;this[_0x4d34c1(0x18c)][_0x4d34c1(0x195)]&&this[_0x4d34c1(0x18c)][_0x4d34c1(0x195)][_0x4d34c1(0x1a8)]>0x0&&(this[_0x4d34c1(0x1a0)]=new _0x2308bb(this[_0x4d34c1(0x1a4)],this[_0x4d34c1(0x18c)][_0x4d34c1(0x195)][_0x4d34c1(0x1a6)](_0x9ddc0=>!_0x9ddc0[_0x4d34c1(0x190)]),this[_0x4d34c1(0x18b)]),this[_0x4d34c1(0x1a0)][_0x4d34c1(0x198)]({'attributes':{'class':_0x4d34c1(0x193)}}),this[_0x4d34c1(0x1a7)][_0x4d34c1(0x19c)](this[_0x4d34c1(0x1a0)]));}[_0x33effd(0x196)](){var _0x57b1ab=_0x33effd;this[_0x57b1ab(0x1a3)]=new _0x4b5a74(this[_0x57b1ab(0x1a4)]),this[_0x57b1ab(0x1a3)][_0x57b1ab(0x199)]({'tag':_0x57b1ab(0x1ac),'attributes':{'class':_0x57b1ab(0x1ad)}}),this[_0x57b1ab(0x1a7)][_0x57b1ab(0x19c)](this[_0x57b1ab(0x1a3)]);}[_0x33effd(0x1a9)](){var _0x88450c=_0x33effd;super[_0x88450c(0x1a9)](),this[_0x88450c(0x1a3)][_0x88450c(0x19f)][_0x88450c(0x18e)]=this[_0x88450c(0x18c)][_0x88450c(0x19a)],this[_0x88450c(0x19b)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1d19fc=_0xa027;(function(_0x52d153,_0x5111dd){const _0x527f10=_0xa027,_0xb9caea=_0x52d153();while(!![]){try{const _0x2fe11f=parseInt(_0x527f10(0x10c))/0x1+parseInt(_0x527f10(0xfa))/0x2+parseInt(_0x527f10(0xfe))/0x3*(-parseInt(_0x527f10(0x10a))/0x4)+parseInt(_0x527f10(0x10f))/0x5*(-parseInt(_0x527f10(0xfb))/0x6)+parseInt(_0x527f10(0x106))/0x7+-parseInt(_0x527f10(0xfd))/0x8+parseInt(_0x527f10(0xff))/0x9;if(_0x2fe11f===_0x5111dd)break;else _0xb9caea['push'](_0xb9caea['shift']());}catch(_0x5429ca){_0xb9caea['push'](_0xb9caea['shift']());}}}(_0x580a,0x4dc07));function _0xa027(_0x24ab98,_0x40b8f3){const _0x580a64=_0x580a();return _0xa027=function(_0xa027ff,_0x52d988){_0xa027ff=_0xa027ff-0xf9;let _0x437419=_0x580a64[_0xa027ff];return _0x437419;},_0xa027(_0x24ab98,_0x40b8f3);}import{AI_SUGGESTION_UI_EVENT_NAMES as _0x4b1105}from'../../aicore/utils/eventnames.js';function _0x580a(){const _0x5e4bec=['abortPromptStream','executeCustomItemCallback','toggleWebSearch','startConversation','4146156DoxAgp','addDocumentToContext','resizeTabs','loadSourceResources','1599908QYtCyQ','selectModel','306652quwfYK','removeContextItem','sendUserMessage','31935MVsbUN','addUrlToContext','1131652vaQXuo','558sDWtMT','toggleReasoning','3787760yHXdmI','3jnKdOe','2890107BHmenZ','addFileToContext','addResourceToContext'];_0x580a=function(){return _0x5e4bec;};return _0x580a();}export const AI_CHAT_UI_EVENT_NAMES=[..._0x4b1105,_0x1d19fc(0x105),_0x1d19fc(0x108),_0x1d19fc(0x10e),_0x1d19fc(0x102),_0x1d19fc(0x107),_0x1d19fc(0x100),_0x1d19fc(0xf9),_0x1d19fc(0x103),_0x1d19fc(0x101),_0x1d19fc(0x10d),_0x1d19fc(0x109),_0x1d19fc(0x104),_0x1d19fc(0xfc),_0x1d19fc(0x10b)];
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x10bd(_0xb33d9b,_0x26bd68){const _0x13a0cc=_0x13a0();return _0x10bd=function(_0x10bd93,_0x6cbeb0){_0x10bd93=_0x10bd93-0xfb;let _0x2b5838=_0x13a0cc[_0x10bd93];return _0x2b5838;},_0x10bd(_0xb33d9b,_0x26bd68);}const _0x258fa9=_0x10bd;(function(_0x15fc0e,_0x83a8f3){const _0x59c73b=_0x10bd,_0x551cdf=_0x15fc0e();while(!![]){try{const _0x5a0e04=-parseInt(_0x59c73b(0x112))/0x1+parseInt(_0x59c73b(0x10d))/0x2+parseInt(_0x59c73b(0x115))/0x3*(-parseInt(_0x59c73b(0x118))/0x4)+-parseInt(_0x59c73b(0x10a))/0x5+parseInt(_0x59c73b(0x105))/0x6*(-parseInt(_0x59c73b(0x108))/0x7)+-parseInt(_0x59c73b(0x106))/0x8*(-parseInt(_0x59c73b(0x10c))/0x9)+-parseInt(_0x59c73b(0xfd))/0xa*(-parseInt(_0x59c73b(0xfe))/0xb);if(_0x5a0e04===_0x83a8f3)break;else _0x551cdf['push'](_0x551cdf['shift']());}catch(_0x135414){_0x551cdf['push'](_0x551cdf['shift']());}}}(_0x13a0,0x53e5a));import{EmitterMixin as _0x1d0d6a}from'ckeditor5/src/utils.js';function _0x13a0(){const _0x2660d8=['length','8xgrnrJ','_abortController','queue','7100zYxQfO','2827AlZaOU','signal','callback','isProcessing','enqueue','shift','_processQueue','94638cVWxir','74576MsdqGs','abort','21igwMnl','fire','307120hlPSQe','_queueEmpty','324MVLnTV','288400RQjbIC','createTask','completePromise','push','reject','62699LHXADS','queueEmptyPromise','once','220767FPyTTv','resolve'];_0x13a0=function(){return _0x2660d8;};return _0x13a0();}export class PromiseQueue extends _0x1d0d6a(){[_0x258fa9(0xfc)]=[];[_0x258fa9(0x101)]=!0x1;[_0x258fa9(0xfb)];async[_0x258fa9(0x102)](_0x123937){const _0x1d3aa4=_0x258fa9,_0x4435d7=this[_0x1d3aa4(0x10e)](_0x123937);return this[_0x1d3aa4(0xfc)][_0x1d3aa4(0x110)](_0x4435d7),this[_0x1d3aa4(0x104)](),_0x4435d7[_0x1d3aa4(0x10f)];}[_0x258fa9(0x107)](){const _0x429770=_0x258fa9;this[_0x429770(0x101)]&&(this[_0x429770(0xfb)][_0x429770(0x107)](),this[_0x429770(0xfb)]=void 0x0,this[_0x429770(0xfc)]=[],this[_0x429770(0x109)](_0x429770(0x10b)),this[_0x429770(0x101)]=!0x1);}get[_0x258fa9(0x113)](){const _0x5edfa1=_0x258fa9;return this[_0x5edfa1(0xfc)][_0x5edfa1(0x117)]||this[_0x5edfa1(0x101)]?new Promise(_0x47f33c=>{const _0x5a6287=_0x5edfa1;this[_0x5a6287(0x114)](_0x5a6287(0x10b),()=>{_0x47f33c();});}):Promise[_0x5edfa1(0x116)]();}async[_0x258fa9(0x104)](){const _0x3fb6ee=_0x258fa9;if(!this[_0x3fb6ee(0x101)]){this[_0x3fb6ee(0xfb)]=new AbortController(),this[_0x3fb6ee(0x101)]=!0x0;try{for(;this[_0x3fb6ee(0xfc)][_0x3fb6ee(0x117)]&&this[_0x3fb6ee(0x101)];){const _0x5f47f8=this[_0x3fb6ee(0xfc)][_0x3fb6ee(0x103)]();try{await _0x5f47f8[_0x3fb6ee(0x100)](this[_0x3fb6ee(0xfb)][_0x3fb6ee(0xff)]),_0x5f47f8[_0x3fb6ee(0x116)]();}catch(_0x2106f4){_0x5f47f8[_0x3fb6ee(0x111)](_0x2106f4);}}}finally{this[_0x3fb6ee(0x101)]=!0x1,this[_0x3fb6ee(0xfb)]=void 0x0;}this[_0x3fb6ee(0x109)](_0x3fb6ee(0x10b));}}[_0x258fa9(0x10e)](_0x4bb274){let _0x31788c,_0x138cbb;const _0x45b60c=new Promise((_0x45f848,_0x1c2321)=>{_0x31788c=_0x45f848,_0x138cbb=_0x1c2321;});return{'callback':_0x4bb274,'resolve':_0x31788c,'reject':_0x138cbb,'completePromise':_0x45b60c};}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x22c638=_0x2817;(function(_0x2a1581,_0x33fad5){var _0x2ec47e=_0x2817,_0xa9d21e=_0x2a1581();while(!![]){try{var _0x6a6767=parseInt(_0x2ec47e(0xa5))/0x1*(parseInt(_0x2ec47e(0xa0))/0x2)+-parseInt(_0x2ec47e(0xa1))/0x3*(-parseInt(_0x2ec47e(0xa8))/0x4)+-parseInt(_0x2ec47e(0xab))/0x5*(-parseInt(_0x2ec47e(0xa3))/0x6)+parseInt(_0x2ec47e(0xa7))/0x7+-parseInt(_0x2ec47e(0x9f))/0x8+parseInt(_0x2ec47e(0xa2))/0x9+-parseInt(_0x2ec47e(0x9e))/0xa;if(_0x6a6767===_0x33fad5)break;else _0xa9d21e['push'](_0xa9d21e['shift']());}catch(_0x4d12c2){_0xa9d21e['push'](_0xa9d21e['shift']());}}}(_0x5d2a,0xd1768));import{ContextPlugin as _0x1c0d75}from'ckeditor5/src/core.js';import{AIChatHistoryController as _0x19b72b}from'./aichathistorycontroller.js';function _0x2817(_0x3ee85f,_0x36e682){var _0x5d2a54=_0x5d2a();return _0x2817=function(_0x2817c5,_0x10ad19){_0x2817c5=_0x2817c5-0x9d;var _0xb5d02a=_0x5d2a54[_0x2817c5];return _0xb5d02a;},_0x2817(_0x3ee85f,_0x36e682);}import{AIChatHistoryUI as _0x2b3493}from'./aichathistoryui.js';export{AIChatHistoryItem}from'./model/aichathistoryitem.js';export class AIChatHistory extends _0x1c0d75{static get[_0x22c638(0xa9)](){return[_0x19b72b,_0x2b3493];}static get[_0x22c638(0xaa)](){var _0x44e174=_0x22c638;return _0x44e174(0xa4);}static get[_0x22c638(0xa6)](){return!0x0;}static get[_0x22c638(0x9d)](){return!0x0;}}function _0x5d2a(){var _0x112da9=['2760270HhRSEh','isPremiumPlugin','42883590pjliSt','10024488hhggUY','38qMzJjt','2181027eNVGbd','12974040hlihxt','12gPNodx','AIChatHistory','87068WFzbst','isOfficialPlugin','10306877YfaCph','4myjfSk','requires','pluginName'];_0x5d2a=function(){return _0x112da9;};return _0x5d2a();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x1a7e4a=_0x3b99;(function(_0x2a22bf,_0x304fe7){const _0x3a253d=_0x3b99,_0x3cf429=_0x2a22bf();while(!![]){try{const _0x24c685=parseInt(_0x3a253d(0x118))/0x1*(parseInt(_0x3a253d(0x108))/0x2)+parseInt(_0x3a253d(0xeb))/0x3*(parseInt(_0x3a253d(0x10d))/0x4)+parseInt(_0x3a253d(0x11c))/0x5*(parseInt(_0x3a253d(0x112))/0x6)+-parseInt(_0x3a253d(0x105))/0x7*(parseInt(_0x3a253d(0x119))/0x8)+-parseInt(_0x3a253d(0x116))/0x9+-parseInt(_0x3a253d(0x106))/0xa*(parseInt(_0x3a253d(0x10e))/0xb)+parseInt(_0x3a253d(0xdc))/0xc;if(_0x24c685===_0x304fe7)break;else _0x3cf429['push'](_0x3cf429['shift']());}catch(_0x17a80b){_0x3cf429['push'](_0x3cf429['shift']());}}}(_0x319c,0x43574));import{ContextPlugin as _0x56e2be}from'ckeditor5/src/core.js';import{AIConnector as _0xf5017c}from'../aicore/aiconnector.js';import{AIChatController as _0x30af11}from'../aichat/aichatcontroller.js';import{AITabs as _0x47abd6}from'../aitabs/aitabs.js';function _0x319c(){const _0x753586=['getItem','_setItemLoading','_setIsMaximized','setConversationPinned','AI_CHAT_HISTORY_ERROR_LOAD_ITEMS','createdAt','_handleSelectConversation','removeItem','updateItemTitle','get','setIsMaximized','getItems','chat','loadConversation','activateTab','remove','rename','35NfdnrW','36600BZGSDE','getGroupId','3862EXxFhB','itemsLoaded','_handleHistoryErrorUI','_showConversationHistory','selectConversation','8SJBpdL','110qAsWlL','itemUpdated','removeHistoryItem','AI_CHAT_HISTORY_PIN_ACTION','1223874WtDdPn','pin','length','AI_CHAT_HISTORY_CATEGORY_PINNED','3528099FfhSWz','AI_CHAT_HISTORY_CATEGORY_TODAY','99vZoXeS','326776tRhDeY','AI_CHAT_HISTORY_CATEGORY_LATER','AI_CHAT_HISTORY_ERROR_UPDATE_PINNED','10MElgof','showError','_generateErrorMessage','_clearItemLoading','activeConversation','change:activeConversation','requires','getDate','isPremiumPlugin','_handleRemove','itemId','pluginName','AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS','AI_CHAT_HISTORY_ERROR_GENERIC','_aiChatHistoryUi','AI_CHAT_HISTORY_CATEGORY_YESTERDAY','pinned','view','updateItemPinned','AI_CHAT_UNTITLED_CONVERSATION','resize','push','isOfficialPlugin','init','setLoadingSkeleton','_updateHistoryItemsUI','removeConversation','openChat','locale','setDate','_handleTogglePin','context','editConversationTitle','plugins','handleRemovedConversation','unpin','_aiConnector','history','updates','AI_CHAT_HISTORY_ERROR_REMOVE_ITEM','2067612TbBlFe','AIChatHistoryController','resizeTabs','resizedTabs','listenTo','_handleEditTitle','itemRemoved','title','error','getMonth','toLocaleDateString','map','loadItems','operation','_aiChatController','205869RdYjuS','items','AI_CHAT_HISTORY_ERROR_UPDATE_TITLE','updateItems','getFullYear','_getCategorizedItems','activateTab:history','AI_CHAT_HISTORY_UNPIN_ACTION','updateItemLoadingState'];_0x319c=function(){return _0x753586;};return _0x319c();}function _0x3b99(_0x12e473,_0x47be07){const _0x319cb7=_0x319c();return _0x3b99=function(_0x3b99ef,_0x128ae0){_0x3b99ef=_0x3b99ef-0xc2;let _0x362b9f=_0x319cb7[_0x3b99ef];return _0x362b9f;},_0x3b99(_0x12e473,_0x47be07);}import{AIChatHistoryUI as _0x1e5615}from'./aichathistoryui.js';import{AIChatHistoryConversations as _0x333fb1}from'./model/aichathistoryconversations.js';import{getTranslation as _0x1d464f}from'../aicore/utils/common-translations.js';export class AIChatHistoryController extends _0x56e2be{[_0x1a7e4a(0xd8)];[_0x1a7e4a(0xc2)];[_0x1a7e4a(0xea)];static get[_0x1a7e4a(0x122)](){return[_0xf5017c,_0x30af11,_0x1e5615,_0x47abd6];}static get[_0x1a7e4a(0x127)](){const _0x5c9f2d=_0x1a7e4a;return _0x5c9f2d(0xdd);}static get[_0x1a7e4a(0xca)](){return!0x0;}static get[_0x1a7e4a(0x124)](){return!0x0;}[_0x1a7e4a(0xcb)](){const _0x4f7310=_0x1a7e4a;this[_0x4f7310(0xd8)]=this[_0x4f7310(0xd3)][_0x4f7310(0xd5)][_0x4f7310(0xfd)](_0xf5017c),this[_0x4f7310(0xc2)]=this[_0x4f7310(0xd3)][_0x4f7310(0xd5)][_0x4f7310(0xfd)](_0x1e5615),this[_0x4f7310(0xea)]=this[_0x4f7310(0xd3)][_0x4f7310(0xd5)][_0x4f7310(0xfd)](_0x30af11);const _0x3c79e7=this[_0x4f7310(0xd3)][_0x4f7310(0xd5)][_0x4f7310(0xfd)](_0x47abd6);try{const _0x3fe4fb=this[_0x4f7310(0xea)][_0x4f7310(0x107)]();this[_0x4f7310(0xd9)]=new _0x333fb1({'connector':this[_0x4f7310(0xd8)],'group':_0x3fe4fb}),this[_0x4f7310(0xe0)](this[_0x4f7310(0xc2)],_0x4f7310(0xce),(_0x113b86,_0x2b389f)=>{const _0x321731=_0x4f7310;this[_0x321731(0xf5)](_0x2b389f['id'],_0x321731(0x103)),this[_0x321731(0x125)](_0x2b389f['id']);}),this[_0x4f7310(0xe0)](this[_0x4f7310(0xc2)],_0x4f7310(0xd4),(_0x421f04,_0x115481)=>{const _0x148a72=_0x4f7310;this[_0x148a72(0xf5)](_0x115481['id'],_0x148a72(0x104)),this[_0x148a72(0xe1)](_0x115481['id'],_0x115481[_0x148a72(0xe3)]);}),this[_0x4f7310(0xe0)](this[_0x4f7310(0xd9)],_0x4f7310(0x10f),(_0x57b6ac,_0x2c4748)=>{const _0x1ba938=_0x4f7310;void 0x0!==_0x2c4748[_0x1ba938(0xda)][_0x1ba938(0xe3)]&&this[_0x1ba938(0xc2)][_0x1ba938(0xfc)](_0x2c4748[_0x1ba938(0x126)],_0x2c4748[_0x1ba938(0xda)][_0x1ba938(0xe3)]),void 0x0!==_0x2c4748[_0x1ba938(0xda)][_0x1ba938(0xc4)]&&this[_0x1ba938(0xcd)](),this[_0x1ba938(0x11f)](_0x2c4748[_0x1ba938(0x126)]);}),this[_0x4f7310(0xe0)](this[_0x4f7310(0xd9)],_0x4f7310(0xe2),(_0x39cefe,_0x7d994e)=>{const _0x869c67=_0x4f7310;this[_0x869c67(0xea)][_0x869c67(0xd6)](_0x7d994e[_0x869c67(0x126)]),this[_0x869c67(0xc2)][_0x869c67(0x110)](_0x7d994e[_0x869c67(0x126)]),this[_0x869c67(0x11f)](_0x7d994e[_0x869c67(0x126)]);}),this[_0x4f7310(0xe0)](this[_0x4f7310(0xd9)],_0x4f7310(0x109),()=>{const _0x1bfbf4=_0x4f7310;this[_0x1bfbf4(0xcd)]();}),this[_0x4f7310(0xe0)](this[_0x4f7310(0xd9)],_0x4f7310(0xe4),(_0x5d9939,_0x565248)=>{const _0x4dc027=_0x4f7310;this[_0x4dc027(0x10a)](_0x565248[_0x4dc027(0xe4)],_0x565248[_0x4dc027(0xe9)],_0x565248[_0x4dc027(0x126)]);}),this[_0x4f7310(0xe0)](this[_0x4f7310(0xc2)],_0x4f7310(0x10c),(_0x2f2b78,_0x3fd25e)=>{const _0x611f44=_0x4f7310;this[_0x611f44(0xfa)](_0x3fd25e['id']);}),this[_0x4f7310(0xe0)](this[_0x4f7310(0xc2)],_0x4f7310(0xf7),(_0x597804,_0x202ddc)=>{const _0x42551c=_0x4f7310,_0x536e7e=_0x202ddc[_0x42551c(0xc4)]?_0x42551c(0x113):_0x42551c(0xd7);this[_0x42551c(0xf5)](_0x202ddc['id'],_0x536e7e),this[_0x42551c(0xd2)](_0x202ddc['id'],_0x202ddc[_0x42551c(0xc4)]);}),this[_0x4f7310(0xe0)](this[_0x4f7310(0xc2)],_0x4f7310(0xcf),()=>{const _0x2159c7=_0x4f7310;_0x3c79e7[_0x2159c7(0xc5)][_0x2159c7(0x102)](_0x2159c7(0x100));}),this[_0x4f7310(0xe0)](this[_0x4f7310(0xea)],_0x4f7310(0x121),()=>{const _0x196829=_0x4f7310;this[_0x196829(0xcd)]();}),_0x3c79e7[_0x4f7310(0xc5)]['on'](_0x4f7310(0xf1),()=>{const _0x1e13c0=_0x4f7310;this[_0x1e13c0(0x10b)]();}),this[_0x4f7310(0xe0)](_0x3c79e7,_0x4f7310(0xdf),(_0x4c0ffa,_0x42cb78)=>{const _0x53c5b3=_0x4f7310;this[_0x53c5b3(0xf6)](_0x42cb78);}),this[_0x4f7310(0xe0)](this[_0x4f7310(0xc2)],_0x4f7310(0xde),()=>{const _0x1f9760=_0x4f7310;_0x3c79e7[_0x1f9760(0xc8)]();});}catch(_0x3eb681){this[_0x4f7310(0x10a)](_0x3eb681,_0x4f7310(0xcb));}}async[_0x1a7e4a(0xe1)](_0x47ff71,_0x2e8869){const _0x365241=_0x1a7e4a;await this[_0x365241(0xd9)][_0x365241(0xfc)](_0x47ff71,_0x2e8869);}async[_0x1a7e4a(0xd2)](_0xc16b6,_0x21c73e){const _0x38be5f=_0x1a7e4a;await this[_0x38be5f(0xd9)][_0x38be5f(0xc6)](_0xc16b6,_0x21c73e);}async[_0x1a7e4a(0x125)](_0x2f7740){const _0x324e35=_0x1a7e4a;await this[_0x324e35(0xd9)][_0x324e35(0xfb)](_0x2f7740);}async[_0x1a7e4a(0xfa)](_0x1fa1df){const _0x365333=_0x1a7e4a;await this[_0x365333(0xea)][_0x365333(0x101)](_0x1fa1df);}async[_0x1a7e4a(0x10b)](){const _0x3fb727=_0x1a7e4a;this[_0x3fb727(0xc2)][_0x3fb727(0x11d)](''),this[_0x3fb727(0xc2)][_0x3fb727(0xcc)](!0x0),await this[_0x3fb727(0xd9)][_0x3fb727(0xcb)](),this[_0x3fb727(0xc2)][_0x3fb727(0xcc)](!0x1);}[_0x1a7e4a(0xcd)](){const _0x4cb3f9=_0x1a7e4a,_0x559169=this[_0x4cb3f9(0xea)][_0x4cb3f9(0x120)]?.['id'],_0x3dc192=this[_0x4cb3f9(0xf0)]()[_0x4cb3f9(0xe7)](_0x1905a7=>({'title':_0x1905a7[_0x4cb3f9(0xe3)],'items':_0x1905a7[_0x4cb3f9(0xec)][_0x4cb3f9(0xe7)](_0x17b5f5=>({'id':_0x17b5f5['id'],'title':_0x17b5f5[_0x4cb3f9(0xe3)]||_0x1d464f(this[_0x4cb3f9(0xd3)][_0x4cb3f9(0xd0)],_0x4cb3f9(0xc7)),'createdAt':new Date(_0x17b5f5[_0x4cb3f9(0xf9)])[_0x4cb3f9(0xe6)](),'active':_0x17b5f5['id']===_0x559169,'pinned':_0x17b5f5[_0x4cb3f9(0xc4)]}))}));this[_0x4cb3f9(0xc2)][_0x4cb3f9(0xee)](_0x3dc192);}[_0x1a7e4a(0xf5)](_0x4c37e9,_0xa6d979){const _0x159cf5=_0x1a7e4a;this[_0x159cf5(0xc2)][_0x159cf5(0xf3)](_0x4c37e9,_0xa6d979,!0x0);}[_0x1a7e4a(0x11f)](_0x185e78){const _0x490eee=_0x1a7e4a;this[_0x490eee(0xc2)][_0x490eee(0xf3)](_0x185e78,null,!0x1);}[_0x1a7e4a(0x10a)](_0x249bca,_0x2f605a,_0x3d19d8){const _0x4f304e=_0x1a7e4a,_0x203252=this[_0x4f304e(0x11e)](_0x2f605a,_0x3d19d8);this[_0x4f304e(0xc2)][_0x4f304e(0x11d)](_0x203252),_0x3d19d8&&this[_0x4f304e(0x11f)](_0x3d19d8),this[_0x4f304e(0xc2)][_0x4f304e(0xcc)](!0x1);}[_0x1a7e4a(0x11e)](_0x11c00f,_0x4cd523){const _0x574e7=_0x1a7e4a,_0x351c4d=_0x4cd523?this[_0x574e7(0xd9)][_0x574e7(0xf4)](_0x4cd523):null,_0x5d1205=_0x351c4d?.[_0x574e7(0xe3)]||_0x1d464f(this[_0x574e7(0xd3)][_0x574e7(0xd0)],_0x574e7(0xc7));switch(_0x11c00f){case _0x574e7(0xfc):return _0x1d464f(this[_0x574e7(0xd3)][_0x574e7(0xd0)],_0x574e7(0xed),_0x5d1205);case _0x574e7(0xc6):{const _0x93dd78=_0x1d464f(this[_0x574e7(0xd3)][_0x574e7(0xd0)],_0x351c4d?.[_0x574e7(0xc4)]?_0x574e7(0xf2):_0x574e7(0x111));return _0x1d464f(this[_0x574e7(0xd3)][_0x574e7(0xd0)],_0x574e7(0x11b),[_0x93dd78,_0x5d1205]);}case _0x574e7(0xfb):return _0x1d464f(this[_0x574e7(0xd3)][_0x574e7(0xd0)],_0x574e7(0xdb),_0x5d1205);case _0x574e7(0xcb):case _0x574e7(0xe8):return _0x1d464f(this[_0x574e7(0xd3)][_0x574e7(0xd0)],_0x574e7(0xf8));default:return _0x1d464f(this[_0x574e7(0xd3)][_0x574e7(0xd0)],_0x574e7(0x129));}}[_0x1a7e4a(0xf0)](){const _0x4acf3e=_0x1a7e4a,_0x2d81c9=new Date(),_0x22bf2b=new Date(_0x2d81c9[_0x4acf3e(0xef)](),_0x2d81c9[_0x4acf3e(0xe5)](),_0x2d81c9[_0x4acf3e(0x123)]()),_0x8a40bd=new Date(_0x22bf2b);_0x8a40bd[_0x4acf3e(0xd1)](_0x8a40bd[_0x4acf3e(0x123)]()-0x1);const _0x4540cd=new Date(_0x22bf2b);_0x4540cd[_0x4acf3e(0xd1)](_0x4540cd[_0x4acf3e(0x123)]()-0xe);const _0x2fc4ca=this[_0x4acf3e(0xd9)][_0x4acf3e(0xff)]({'pinned':!0x0}),_0x17f8b0=this[_0x4acf3e(0xd9)][_0x4acf3e(0xff)]({'from':_0x22bf2b,'to':_0x22bf2b}),_0x162bf9=this[_0x4acf3e(0xd9)][_0x4acf3e(0xff)]({'from':_0x8a40bd,'to':_0x8a40bd}),_0x2d9f50=this[_0x4acf3e(0xd9)][_0x4acf3e(0xff)]({'from':_0x4540cd,'to':_0x8a40bd}),_0xb1135=this[_0x4acf3e(0xd9)][_0x4acf3e(0xff)]({'to':_0x4540cd}),_0x1d0d2c=[];return _0x2fc4ca[_0x4acf3e(0x114)]>0x0&&_0x1d0d2c[_0x4acf3e(0xc9)]({'title':_0x1d464f(this[_0x4acf3e(0xd3)][_0x4acf3e(0xd0)],_0x4acf3e(0x115)),'items':_0x2fc4ca}),_0x17f8b0[_0x4acf3e(0x114)]>0x0&&_0x1d0d2c[_0x4acf3e(0xc9)]({'title':_0x1d464f(this[_0x4acf3e(0xd3)][_0x4acf3e(0xd0)],_0x4acf3e(0x117)),'items':_0x17f8b0}),_0x162bf9[_0x4acf3e(0x114)]>0x0&&_0x1d0d2c[_0x4acf3e(0xc9)]({'title':_0x1d464f(this[_0x4acf3e(0xd3)][_0x4acf3e(0xd0)],_0x4acf3e(0xc3)),'items':_0x162bf9}),_0x2d9f50[_0x4acf3e(0x114)]>0x0&&_0x1d0d2c[_0x4acf3e(0xc9)]({'title':_0x1d464f(this[_0x4acf3e(0xd3)][_0x4acf3e(0xd0)],_0x4acf3e(0x128)),'items':_0x2d9f50}),_0xb1135[_0x4acf3e(0x114)]>0x0&&_0x1d0d2c[_0x4acf3e(0xc9)]({'title':_0x1d464f(this[_0x4acf3e(0xd3)][_0x4acf3e(0xd0)],_0x4acf3e(0x11a)),'items':_0xb1135}),_0x1d0d2c;}[_0x1a7e4a(0xf6)](_0x35d3cf){const _0x4899d2=_0x1a7e4a;this[_0x4899d2(0xc2)][_0x4899d2(0xfe)](_0x35d3cf);}}
|
|
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);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x334673=_0x56f8;(function(_0x3f9d32,_0x192089){const _0x398ecc=_0x56f8,_0x35a91e=_0x3f9d32();while(!![]){try{const _0x2753a7=-parseInt(_0x398ecc(0x174))/0x1+parseInt(_0x398ecc(0x17e))/0x2*(parseInt(_0x398ecc(0x17a))/0x3)+-parseInt(_0x398ecc(0x186))/0x4+parseInt(_0x398ecc(0x190))/0x5*(parseInt(_0x398ecc(0x192))/0x6)+-parseInt(_0x398ecc(0x176))/0x7+parseInt(_0x398ecc(0x169))/0x8+parseInt(_0x398ecc(0x184))/0x9;if(_0x2753a7===_0x192089)break;else _0x35a91e['push'](_0x35a91e['shift']());}catch(_0x2b6785){_0x35a91e['push'](_0x35a91e['shift']());}}}(_0x5c89,0xa91f3));import{ContextPlugin as _0x1d1a08}from'ckeditor5/src/core.js';import{AITabs as _0x39073c}from'../aitabs/aitabs.js';function _0x5c89(){const _0x457b86=['history','3247266Whepce','isPremiumPlugin','openChat','plugins','375784cBXkRx','editConversationTitle','updateItemLoadingState','_historyView','updateItemTitle','setIsMaximized','removeConversation','delegate','isMaximized','requires','setConversationPinned','986899zBXFmX','addTab','2966173YdloIh','selectConversation','showConversationHistory','errorMessage','120942MVgkTx','updateItems','showError','setLoadingSkeleton','6vIzSua','AITabs','updateHistoryItemsWithCategories','AI_CHAT_HISTORY_HEADING','resizeTabs','AIChatHistoryUI','12745440CfSQmr','view','2252544MLwfyS','isLoading','get','locale','removeHistoryItem','context','pluginName','hideError','isOfficialPlugin','showResizeButton','10aPMzwv'];_0x5c89=function(){return _0x457b86;};return _0x5c89();}import{IconAIHistory as _0x555820}from'ckeditor5/src/icons.js';import{AIChatHistoryView as _0x9f7a79}from'./ui/aichathistoryview.js';function _0x56f8(_0x3f5893,_0x1d6474){const _0x5c890e=_0x5c89();return _0x56f8=function(_0x56f8be,_0xb38561){_0x56f8be=_0x56f8be-0x168;let _0x58d40a=_0x5c890e[_0x56f8be];return _0x58d40a;},_0x56f8(_0x3f5893,_0x1d6474);}import{getTranslation as _0x17524e}from'../aicore/utils/common-translations.js';import'../../theme/aichat/aichathistory.css';export const AI_CHAT_HISTORY_UI_EVENT_NAMES=[_0x334673(0x178),_0x334673(0x16f),_0x334673(0x16a),_0x334673(0x173),_0x334673(0x177),_0x334673(0x194),_0x334673(0x182)];export class AIChatHistoryUI extends _0x1d1a08{static get[_0x334673(0x172)](){return[_0x39073c];}[_0x334673(0x16c)];static get[_0x334673(0x18c)](){const _0x110e1e=_0x334673;return _0x110e1e(0x183);}static get[_0x334673(0x18e)](){return!0x0;}static get[_0x334673(0x193)](){return!0x0;}constructor(_0x332dde){const _0xf53576=_0x334673;super(_0x332dde);const _0x4ad18c=this[_0xf53576(0x18b)][_0xf53576(0x168)][_0xf53576(0x188)](_0xf53576(0x17f));this[_0xf53576(0x16c)]=new _0x9f7a79(this[_0xf53576(0x18b)][_0xf53576(0x189)],_0x4ad18c[_0xf53576(0x18f)]),this[_0xf53576(0x16c)][_0xf53576(0x170)](...AI_CHAT_HISTORY_UI_EVENT_NAMES)['to'](this),_0x4ad18c[_0xf53576(0x185)][_0xf53576(0x175)]({'id':_0xf53576(0x191),'buttonLabel':_0x17524e(this[_0xf53576(0x18b)][_0xf53576(0x189)],_0xf53576(0x181)),'buttonIcon':_0x555820,'order':0x0,'content':this[_0xf53576(0x16c)]});}[_0x334673(0x18a)](_0x39c273){const _0x114b95=_0x334673;this[_0x114b95(0x16c)][_0x114b95(0x18a)](_0x39c273);}[_0x334673(0x17b)](_0x1e166e){const _0x5a082b=_0x334673;this[_0x5a082b(0x16c)][_0x5a082b(0x180)](_0x1e166e);}[_0x334673(0x16d)](_0x4625b4,_0x2ef020){const _0x2b380c=_0x334673;this[_0x2b380c(0x16c)][_0x2b380c(0x16d)](_0x4625b4,_0x2ef020);}[_0x334673(0x16b)](_0x5bb59d,_0x1f79b9,_0xd825e8){const _0x26bda2=_0x334673;this[_0x26bda2(0x16c)][_0x26bda2(0x16b)](_0x5bb59d,_0x1f79b9,_0xd825e8);}[_0x334673(0x17d)](_0xb931dd){const _0x36b617=_0x334673;this[_0x36b617(0x16c)][_0x36b617(0x187)]=_0xb931dd;}[_0x334673(0x17c)](_0x931ebe){const _0x1bf89a=_0x334673;this[_0x1bf89a(0x16c)][_0x1bf89a(0x179)]=_0x931ebe;}[_0x334673(0x18d)](){const _0x4d26a9=_0x334673;this[_0x4d26a9(0x16c)][_0x4d26a9(0x179)]='';}[_0x334673(0x16e)](_0x4cb983){const _0x4765f1=_0x334673;this[_0x4765f1(0x16c)][_0x4765f1(0x171)]=_0x4cb983;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x57e6b6=_0x4199;function _0x4199(_0x10f52d,_0x528042){const _0x90a354=_0x90a3();return _0x4199=function(_0x4199c1,_0x8cf98b){_0x4199c1=_0x4199c1-0x1cc;let _0x2b675e=_0x90a354[_0x4199c1];return _0x2b675e;},_0x4199(_0x10f52d,_0x528042);}(function(_0x5c3967,_0xbf5681){const _0x1ec830=_0x4199,_0x1d4a3b=_0x5c3967();while(!![]){try{const _0x597e99=parseInt(_0x1ec830(0x1f9))/0x1+-parseInt(_0x1ec830(0x1f6))/0x2*(parseInt(_0x1ec830(0x1de))/0x3)+-parseInt(_0x1ec830(0x1f1))/0x4+parseInt(_0x1ec830(0x1e5))/0x5+parseInt(_0x1ec830(0x1ec))/0x6+parseInt(_0x1ec830(0x1cf))/0x7*(-parseInt(_0x1ec830(0x1e1))/0x8)+parseInt(_0x1ec830(0x1e3))/0x9;if(_0x597e99===_0xbf5681)break;else _0x1d4a3b['push'](_0x1d4a3b['shift']());}catch(_0x45f4cf){_0x1d4a3b['push'](_0x1d4a3b['shift']());}}}(_0x90a3,0xddbc8));function _0x90a3(){const _0xb45d8d=['getConversations','getTime','deleteConversation','updateItemPinned','pinned','3oNPZCw','updateConversation','itemRemoved','120tnBsBZ','group','1978506oNTEne','getItem','9031800DoxpWf','getItems','map','itemsLoaded','getResult','fire','loadItems','9173508qEuUKq','find','push','execute','getDate','3834628XkRsfG','updateTitle','getMonth','fetchConversations','itemUpdated','53714ekuczl','findIndex','error','22369zGLRQZ','addItem','removeItem','createdAt','785743xUtxBa','from','filter','init','splice','updateItemTitle','updatePinned','connector','items','getFullYear'];_0x90a3=function(){return _0xb45d8d;};return _0x90a3();}import{EmitterMixin as _0x6d0b11}from'ckeditor5/src/utils.js';import{AIChatHistoryItem as _0x29d2a2}from'./aichathistoryitem.js';export class AIChatHistoryConversations extends _0x6d0b11(){[_0x57e6b6(0x1d7)]=[];[_0x57e6b6(0x1d6)];[_0x57e6b6(0x1e2)];constructor({connector:_0x2b9ceb,group:_0x42fe57}){const _0x1b639a=_0x57e6b6;super(),this[_0x1b639a(0x1d6)]=_0x2b9ceb,this[_0x1b639a(0x1e2)]=_0x42fe57;}async[_0x57e6b6(0x1d2)](){const _0x6958a2=_0x57e6b6;try{const _0x676c58=this[_0x6958a2(0x1d6)][_0x6958a2(0x1f4)](this[_0x6958a2(0x1e2)]),_0x3c8cdc=await _0x676c58[_0x6958a2(0x1d9)]();this[_0x6958a2(0x1eb)](_0x3c8cdc);}catch(_0xd661f2){this[_0x6958a2(0x1ea)](_0x6958a2(0x1f8),{'error':_0xd661f2,'operation':_0x6958a2(0x1d2)});}}[_0x57e6b6(0x1cc)](_0x28b46d){const _0x3aa9b3=_0x57e6b6;this[_0x3aa9b3(0x1d7)][_0x3aa9b3(0x1ee)](_0x28b46d);}async[_0x57e6b6(0x1cd)](_0x360fbb){const _0xb146c6=_0x57e6b6,_0x26f4b8=this[_0xb146c6(0x1d7)][_0xb146c6(0x1f7)](_0xb3ff8=>_0xb3ff8['id']===_0x360fbb);if(-0x1===_0x26f4b8)return!0x1;try{return await this[_0xb146c6(0x1d6)][_0xb146c6(0x1db)](_0x360fbb)[_0xb146c6(0x1ef)](),this[_0xb146c6(0x1d7)][_0xb146c6(0x1d3)](_0x26f4b8,0x1),this[_0xb146c6(0x1ea)](_0xb146c6(0x1e0),{'itemId':_0x360fbb}),!0x0;}catch(_0x3c006e){return this[_0xb146c6(0x1ea)](_0xb146c6(0x1f8),{'error':_0x3c006e,'operation':_0xb146c6(0x1cd),'itemId':_0x360fbb}),!0x1;}}[_0x57e6b6(0x1e4)](_0x3413a5){const _0x3dfae2=_0x57e6b6;return this[_0x3dfae2(0x1d7)][_0x3dfae2(0x1ed)](_0x6911da=>_0x6911da['id']===_0x3413a5);}async[_0x57e6b6(0x1d4)](_0x5f5d7c,_0x5f559b){const _0x58fd3f=_0x57e6b6,_0x46d1ba=this[_0x58fd3f(0x1e4)](_0x5f5d7c);if(!_0x46d1ba)return!0x1;try{return await this[_0x58fd3f(0x1d6)][_0x58fd3f(0x1df)](_0x5f5d7c,{'title':_0x5f559b})[_0x58fd3f(0x1e9)](),_0x46d1ba[_0x58fd3f(0x1f2)](_0x5f559b),this[_0x58fd3f(0x1ea)](_0x58fd3f(0x1f5),{'itemId':_0x5f5d7c,'updates':{'title':_0x5f559b}}),!0x0;}catch(_0x52d630){return this[_0x58fd3f(0x1ea)](_0x58fd3f(0x1f8),{'error':_0x52d630,'operation':_0x58fd3f(0x1d4),'itemId':_0x5f5d7c}),!0x1;}}async[_0x57e6b6(0x1dc)](_0x324029,_0x587c63){const _0x3b1314=_0x57e6b6,_0x23c680=this[_0x3b1314(0x1e4)](_0x324029);if(!_0x23c680)return!0x1;try{return await this[_0x3b1314(0x1d6)][_0x3b1314(0x1df)](_0x324029,{'pinned':_0x587c63})[_0x3b1314(0x1e9)](),_0x23c680[_0x3b1314(0x1d5)](_0x587c63),this[_0x3b1314(0x1ea)](_0x3b1314(0x1f5),{'itemId':_0x324029,'updates':{'pinned':_0x587c63}}),!0x0;}catch(_0xc55e68){return this[_0x3b1314(0x1ea)](_0x3b1314(0x1f8),{'error':_0xc55e68,'operation':_0x3b1314(0x1dc),'itemId':_0x324029}),!0x1;}}[_0x57e6b6(0x1eb)](_0x44c519){const _0x496ff5=_0x57e6b6;try{this[_0x496ff5(0x1d7)]=[],_0x44c519[_0x496ff5(0x1e7)](_0x14e4f2=>{const _0x5c2608=_0x496ff5;this[_0x5c2608(0x1cc)](new _0x29d2a2(_0x14e4f2));}),this[_0x496ff5(0x1ea)](_0x496ff5(0x1e8),{'items':[...this[_0x496ff5(0x1d7)]]});}catch(_0x2268a8){this[_0x496ff5(0x1ea)](_0x496ff5(0x1f8),{'error':_0x2268a8,'operation':_0x496ff5(0x1eb)});}}[_0x57e6b6(0x1e6)](_0x32f01e={}){const _0x307b1d=_0x57e6b6,_0x34a692=void 0x0!==_0x32f01e[_0x307b1d(0x1dd)]&&_0x32f01e[_0x307b1d(0x1dd)],_0x327179=_0x32f01e[_0x307b1d(0x1d0)]?new Date(_0x32f01e[_0x307b1d(0x1d0)][_0x307b1d(0x1d8)](),_0x32f01e[_0x307b1d(0x1d0)][_0x307b1d(0x1f3)](),_0x32f01e[_0x307b1d(0x1d0)][_0x307b1d(0x1f0)]()):null,_0xeb0a23=_0x32f01e['to']?new Date(_0x32f01e['to'][_0x307b1d(0x1d8)](),_0x32f01e['to'][_0x307b1d(0x1f3)](),_0x32f01e['to'][_0x307b1d(0x1f0)]()):null;return this[_0x307b1d(0x1d7)][_0x307b1d(0x1d1)](_0x5dbd41=>{const _0x33ea0f=_0x307b1d;if(_0x5dbd41[_0x33ea0f(0x1dd)]!==_0x34a692)return!0x1;if(_0xeb0a23){const _0x3347d0=new Date(_0x5dbd41[_0x33ea0f(0x1ce)][_0x33ea0f(0x1d8)](),_0x5dbd41[_0x33ea0f(0x1ce)][_0x33ea0f(0x1f3)](),_0x5dbd41[_0x33ea0f(0x1ce)][_0x33ea0f(0x1f0)]());return _0x327179?_0x327179[_0x33ea0f(0x1da)]()===_0xeb0a23[_0x33ea0f(0x1da)]()?_0x3347d0[_0x33ea0f(0x1da)]()===_0x327179[_0x33ea0f(0x1da)]():_0x3347d0<_0xeb0a23&&_0x3347d0>=_0x327179:_0x3347d0<_0xeb0a23;}return!0x0;});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x5604be=_0x46b3;function _0x46b3(_0x147a0d,_0xf817a2){var _0x597cb1=_0x597c();return _0x46b3=function(_0x46b369,_0x4d116c){_0x46b369=_0x46b369-0x156;var _0x47dafa=_0x597cb1[_0x46b369];return _0x47dafa;},_0x46b3(_0x147a0d,_0xf817a2);}(function(_0x5789bd,_0x544b0a){var _0x3321a5=_0x46b3,_0x1de151=_0x5789bd();while(!![]){try{var _0x424ff7=-parseInt(_0x3321a5(0x166))/0x1+-parseInt(_0x3321a5(0x159))/0x2*(parseInt(_0x3321a5(0x15e))/0x3)+parseInt(_0x3321a5(0x158))/0x4*(-parseInt(_0x3321a5(0x164))/0x5)+parseInt(_0x3321a5(0x156))/0x6+-parseInt(_0x3321a5(0x165))/0x7+parseInt(_0x3321a5(0x15d))/0x8*(parseInt(_0x3321a5(0x167))/0x9)+-parseInt(_0x3321a5(0x15b))/0xa*(-parseInt(_0x3321a5(0x157))/0xb);if(_0x424ff7===_0x544b0a)break;else _0x1de151['push'](_0x1de151['shift']());}catch(_0x5f1baa){_0x1de151['push'](_0x1de151['shift']());}}}(_0x597c,0x1dc5f));function _0x597c(){var _0x6fd6db=['10Qihiyg','updateTitle','2840EqMsbP','5493mNeYCD','pinned','updatedAt','set','title','updatePinned','26635kgleHI','1655787nlwmkB','92598bpWvBZ','3789cQvZvO','1375824VRAhVg','4219721KXfCjr','88TKMeSL','212FUAiSS','createdAt'];_0x597c=function(){return _0x6fd6db;};return _0x597c();}import{ObservableMixin as _0x5dfae1}from'ckeditor5/src/utils.js';import{escape as _0x555e73}from'es-toolkit/compat';export class AIChatHistoryItem extends _0x5dfae1(){['id'];[_0x5604be(0x15a)];constructor({id:_0x3df951,title:_0x1f328d,createdAt:_0x675d87,updatedAt:_0xc93d97,pinned:_0x6d3c46}){var _0x31445e=_0x5604be;super(),this['id']=_0x3df951,this[_0x31445e(0x15a)]=new Date(_0x675d87),this[_0x31445e(0x161)](_0x31445e(0x162),_0x1f328d),this[_0x31445e(0x161)](_0x31445e(0x160),_0xc93d97?new Date(_0xc93d97):null),this[_0x31445e(0x161)](_0x31445e(0x15f),_0x6d3c46||!0x1);}[_0x5604be(0x15c)](_0x4413e8){var _0x15fe7d=_0x5604be;this[_0x15fe7d(0x161)](_0x15fe7d(0x162),_0x555e73(_0x4413e8)),this[_0x15fe7d(0x160)]=new Date();}[_0x5604be(0x163)](_0x2318f4){var _0xf4d09a=_0x5604be;this[_0xf4d09a(0x161)](_0xf4d09a(0x15f),_0x2318f4),this[_0xf4d09a(0x160)]=new Date();}}
|