@ckeditor/ckeditor5-ai 47.7.0 → 47.7.1-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/dist/index.js +5 -5
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +15 -15
- package/src/aiactions/aiactions.js +1 -1
- package/src/aiactions/model/aiactionsinteraction.js +1 -1
- package/src/aiactions/model/aiactionsreply.js +1 -1
- package/src/aiassistant/adapters/aiadapter.js +1 -1
- package/src/aiassistant/adapters/aitextadapter.js +1 -1
- package/src/aiassistant/adapters/awstextadapter.js +1 -1
- package/src/aiassistant/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant/aiassistant.js +1 -1
- package/src/aiassistant/aiassistantediting.js +1 -1
- package/src/aiassistant/aiassistantui.js +1 -1
- package/src/aiassistant/legacyerrors.js +1 -1
- package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
- package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
- package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
- package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
- package/src/aiassistant/ui/form/aiformview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
- package/src/aiassistant/ui/form/prompthistory.js +1 -1
- package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
- package/src/aiassistant/utils/common-translations.js +1 -1
- package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
- package/src/aiballoon/aiballoon.js +1 -1
- package/src/aiballoon/ui/aiballoonview.js +1 -1
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatballoon.js +1 -1
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.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
|
-
function
|
|
23
|
+
const _0x2420a8=_0x4cb2;function _0x4041(){const _0x5515dd=['225272YlHCxL','72396NikoFR','535846AHOBrc','element','5pwQJpu','1000510wYYEEm','ck-ai-chat-controls-button','destroy','reorganizeChips','_contextChips','ck-ai-chat-context-controls__show-more-balloon-panel','locale','_bodyCollection','ck-ai-chat-context-chips-wrapper','querySelector','render','createCollection','ck-ai-chat-controls_context_show-more-button','setTemplate','add','ck-ai-chat-context-chips-wrapper-balloon','ck-ai-chat__feed__context-chips','273RjLDHU','_createContextChips','3488710jdmpkQ','1139967SRFGDn','_overflowManager','189HTyJiU','11ZoVFHS','div','setContainerElement','2296100kNrLse','ck-reset_all'];_0x4041=function(){return _0x5515dd;};return _0x4041();}function _0x4cb2(_0x4d32f4,_0x89b7e8){const _0x4041fb=_0x4041();return _0x4cb2=function(_0x4cb216,_0xebc493){_0x4cb216=_0x4cb216-0x153;let _0x5ed0f4=_0x4041fb[_0x4cb216];return _0x5ed0f4;},_0x4cb2(_0x4d32f4,_0x89b7e8);}(function(_0x5f0dd4,_0x1226fa){const _0x1c10e0=_0x4cb2,_0x3d928b=_0x5f0dd4();while(!![]){try{const _0x2b9ca8=parseInt(_0x1c10e0(0x168))/0x1+-parseInt(_0x1c10e0(0x16b))/0x2+parseInt(_0x1c10e0(0x15e))/0x3+parseInt(_0x1c10e0(0x164))/0x4*(-parseInt(_0x1c10e0(0x16a))/0x5)+parseInt(_0x1c10e0(0x167))/0x6*(-parseInt(_0x1c10e0(0x15b))/0x7)+parseInt(_0x1c10e0(0x166))/0x8*(parseInt(_0x1c10e0(0x160))/0x9)+parseInt(_0x1c10e0(0x15d))/0xa*(parseInt(_0x1c10e0(0x161))/0xb);if(_0x2b9ca8===_0x1226fa)break;else _0x3d928b['push'](_0x3d928b['shift']());}catch(_0x4d7827){_0x3d928b['push'](_0x3d928b['shift']());}}}(_0x4041,0x4bf97));import{View as _0x2c4f50}from'ckeditor5/src/ui.js';import{AIChatContextItemButtonView as _0x1f3007}from'../controls/aichatcontextitembuttonview.js';import{AIChatChipsOverflowManager as _0x36cec1}from'../controls/aichatchipsoverflowmanager.js';const oc=_0x2420a8(0x15a),nc=_0x2420a8(0x173),ac=_0x2420a8(0x159),Fo=_0x2420a8(0x16c),yo=_0x2420a8(0x156),Do=_0x2420a8(0x170);export class AIChatFeedContextChipsView extends _0x2c4f50{[_0x2420a8(0x16f)]=this[_0x2420a8(0x155)]();[_0x2420a8(0x15f)];[_0x2420a8(0x172)];constructor(_0xbdf10c,_0x379ef1,_0x9bcc3a){const _0x174cee=_0x2420a8;super(_0xbdf10c),this[_0x174cee(0x172)]=_0x9bcc3a,this[_0x174cee(0x15c)](_0x379ef1);const _0x13f128={'cssClasses':{'showMoreButton':yo,'showMoreBalloon':Do,'overflowContainer':ac,'controlsButton':Fo}};this[_0x174cee(0x15f)]=new _0x36cec1(_0xbdf10c,this[_0x174cee(0x16f)],_0x13f128,this[_0x174cee(0x172)],this),this[_0x174cee(0x157)]({'tag':_0x174cee(0x162),'attributes':{'class':[oc,'ck',_0x174cee(0x165)]},'children':[{'tag':_0x174cee(0x162),'attributes':{'class':nc},'children':this[_0x174cee(0x16f)]}]});}[_0x2420a8(0x154)](){const _0x110079=_0x2420a8;super[_0x110079(0x154)]();const _0x4ebf31=this[_0x110079(0x169)][_0x110079(0x153)]('.'+nc);_0x4ebf31&&(this[_0x110079(0x15f)][_0x110079(0x163)](_0x4ebf31),this[_0x110079(0x15f)][_0x110079(0x16e)]());}[_0x2420a8(0x16d)](){const _0x28ae28=_0x2420a8;super[_0x28ae28(0x16d)](),this[_0x28ae28(0x15f)][_0x28ae28(0x16d)]();}[_0x2420a8(0x15c)](_0x44c44d){const _0xf0e569=_0x2420a8;for(const _0x5510d6 of _0x44c44d){const _0x44f23b=new _0x1f3007(this[_0xf0e569(0x171)],_0x5510d6,!0x0,!0x1);this[_0xf0e569(0x16f)][_0xf0e569(0x158)](_0x44f23b);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x2a8ae0=_0x41d1;(function(_0x50329a,_0xcfaf4a){var _0x1a3224=_0x41d1,_0x4fd86c=_0x50329a();while(!![]){try{var _0x1d58aa=-parseInt(_0x1a3224(0x16b))/0x1+parseInt(_0x1a3224(0x16a))/0x2+-parseInt(_0x1a3224(0x167))/0x3+-parseInt(_0x1a3224(0x171))/0x4+parseInt(_0x1a3224(0x169))/0x5*(-parseInt(_0x1a3224(0x173))/0x6)+parseInt(_0x1a3224(0x172))/0x7*(-parseInt(_0x1a3224(0x164))/0x8)+parseInt(_0x1a3224(0x166))/0x9;if(_0x1d58aa===_0xcfaf4a)break;else _0x4fd86c['push'](_0x4fd86c['shift']());}catch(_0x31edc4){_0x4fd86c['push'](_0x4fd86c['shift']());}}}(_0x58eb,0x9b9cd));import{AIChatFeedItemView as _0x1b7257}from'./aichatfeeditemview.js';function _0x41d1(_0x377863,_0x290f6c){var _0x58eb57=_0x58eb();return _0x41d1=function(_0x41d1cf,_0x576775){_0x41d1cf=_0x41d1cf-0x162;var _0x2afdba=_0x58eb57[_0x41d1cf];return _0x2afdba;},_0x41d1(_0x377863,_0x290f6c);}export class AIChatFeedCustomElementView extends _0x1b7257{constructor(_0x2892e1){var _0x4cda96=_0x41d1;super(_0x2892e1),this[_0x4cda96(0x163)]({'attributes':{'class':[_0x4cda96(0x162)]}});}async[_0x2a8ae0(0x170)](){var _0x1b25ab=_0x2a8ae0;super[_0x1b25ab(0x170)](),_0x1b25ab(0x16d)==typeof this[_0x1b25ab(0x16e)][_0x1b25ab(0x165)]?this[_0x1b25ab(0x16c)][_0x1b25ab(0x168)]=this[_0x1b25ab(0x16e)][_0x1b25ab(0x165)]:this[_0x1b25ab(0x16c)][_0x1b25ab(0x16f)](this[_0x1b25ab(0x16e)][_0x1b25ab(0x165)]);}}function _0x58eb(){var _0x143706=['render','3643304RLaWuP','7TQUbFD','6qIlGzt','ck-ai-chat__feed__custom-element','extendTemplate','7163400kTcyMK','content','34906851RvyGVW','1061061zKNGbc','innerHTML','3340380zRzUtj','782230CwemeL','804251Umiqnh','element','string','options','appendChild'];_0x58eb=function(){return _0x143706;};return _0x58eb();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x3ed361=_0x4870;(function(_0x152c77,_0x130874){var _0x12ef47=_0x4870,_0x53fa4b=_0x152c77();while(!![]){try{var _0x4b4add=-parseInt(_0x12ef47(0x1ad))/0x1+parseInt(_0x12ef47(0x1a6))/0x2*(parseInt(_0x12ef47(0x1a2))/0x3)+-parseInt(_0x12ef47(0x1aa))/0x4*(-parseInt(_0x12ef47(0x1ab))/0x5)+parseInt(_0x12ef47(0x1a8))/0x6+parseInt(_0x12ef47(0x1a1))/0x7*(parseInt(_0x12ef47(0x19f))/0x8)+-parseInt(_0x12ef47(0x1ac))/0x9+parseInt(_0x12ef47(0x1a0))/0xa;if(_0x4b4add===_0x130874)break;else _0x53fa4b['push'](_0x53fa4b['shift']());}catch(_0x299c38){_0x53fa4b['push'](_0x53fa4b['shift']());}}}(_0x1e9a,0xe462c));import{AIChatFeedItemView as _0x3e9710}from'./aichatfeeditemview.js';export class AIChatFeedErrorItemView extends _0x3e9710{constructor(_0x279053){var _0x3a3a59=_0x4870;super(_0x279053),this[_0x3a3a59(0x19d)]({'attributes':{'class':[_0x3a3a59(0x1a5),_0x3a3a59(0x1ae)===_0x279053[_0x3a3a59(0x19c)]?_0x3a3a59(0x1b2):_0x3a3a59(0x19e)]}});}[_0x3ed361(0x1a3)](){var _0xc274e6=_0x3ed361;super[_0xc274e6(0x1a3)](),this[_0xc274e6(0x1a7)](this[_0xc274e6(0x1a4)][_0xc274e6(0x1a9)]),this[_0xc274e6(0x1b0)]();}[_0x3ed361(0x1a7)](_0x29e1d0){var _0x51ee52=_0x3ed361;this[_0x51ee52(0x1af)][_0x51ee52(0x1b1)]=_0x29e1d0;}}function _0x4870(_0x45676e,_0x2cbdb1){var _0x1e9a78=_0x1e9a();return _0x4870=function(_0x4870db,_0x2060d9){_0x4870db=_0x4870db-0x19c;var _0x3527dc=_0x1e9a78[_0x4870db];return _0x3527dc;},_0x4870(_0x45676e,_0x2cbdb1);}function _0x1e9a(){var _0x54a966=['options','ck-ai-notification','146eaWCta','setContent','5592354mpiyTM','initialContent','124AiXWDi','88895tBTbcs','8039457YhrXFa','1542026HdGqjH','warning','element','markAsDone','innerHTML','ck-ai-notification_warning','level','extendTemplate','ck-ai-notification_error','120BrBoUz','3906710jNQifa','234185bdBTOT','40893qknJjY','render'];_0x1e9a=function(){return _0x54a966;};return _0x1e9a();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1a58b0=_0x509b;(function(_0x17b14f,_0x197bb3){const _0x2f7b62=_0x509b,_0x4081f1=_0x17b14f();while(!![]){try{const _0x311dbc=-parseInt(_0x2f7b62(0xaf))/0x1*(-parseInt(_0x2f7b62(0xba))/0x2)+parseInt(_0x2f7b62(0xb0))/0x3*(-parseInt(_0x2f7b62(0xc8))/0x4)+-parseInt(_0x2f7b62(0xbe))/0x5+-parseInt(_0x2f7b62(0xb7))/0x6*(-parseInt(_0x2f7b62(0xbf))/0x7)+-parseInt(_0x2f7b62(0xb5))/0x8*(-parseInt(_0x2f7b62(0xb2))/0x9)+-parseInt(_0x2f7b62(0xc6))/0xa+-parseInt(_0x2f7b62(0xb3))/0xb;if(_0x311dbc===_0x197bb3)break;else _0x4081f1['push'](_0x4081f1['shift']());}catch(_0x1ffd42){_0x4081f1['push'](_0x4081f1['shift']());}}}(_0x10ac,0xd0261));import{IconBulb as _0x162629,IconWeb as _0xe49750}from'@ckeditor/ckeditor5-icons';import{IconView as _0x2ad6de,View as _0x2620c1}from'ckeditor5/src/ui.js';import{AIChatFeedItemView as _0x3b6743}from'./aichatfeeditemview.js';function _0x509b(_0x355288,_0x1e6e5e){const _0x10ac52=_0x10ac();return _0x509b=function(_0x509b22,_0x1f858f){_0x509b22=_0x509b22-0xae;let _0x6b0a99=_0x10ac52[_0x509b22];return _0x6b0a99;},_0x509b(_0x355288,_0x1e6e5e);}import{getTranslation as _0x4a61e0}from'../../../aicore/utils/common-translations.js';export class AIChatFeedInteractionHeaderView extends _0x3b6743{[_0x1a58b0(0xae)];constructor(_0x179591,_0x595a85){const _0x10a990=_0x1a58b0;super(_0x595a85);const {isWebSearchEnabled:_0x582ad1,isReasoningEnabled:_0x5100c9}=_0x595a85[_0x10a990(0xae)],_0x4b6b3c=[];let _0x3e44d3='';_0x582ad1&&_0x5100c9?(_0x3e44d3=_0x4a61e0(_0x179591,_0x10a990(0xc2)),_0x4b6b3c[_0x10a990(0xb4)](aa(_0xe49750)),_0x4b6b3c[_0x10a990(0xb4)](aa(_0x162629))):_0x582ad1?(_0x3e44d3=_0x4a61e0(_0x179591,_0x10a990(0xc7)),_0x4b6b3c[_0x10a990(0xb4)](aa(_0xe49750))):_0x5100c9&&(_0x3e44d3=_0x4a61e0(_0x179591,_0x10a990(0xbb)),_0x4b6b3c[_0x10a990(0xb4)](aa(_0x162629))),this[_0x10a990(0xc5)]({'attributes':{'class':[_0x10a990(0xc1),_0x3e44d3?'':_0x10a990(0xb6)]}});const _0x511a6a=new _0x2620c1();_0x511a6a[_0x10a990(0xb1)]({'tag':_0x10a990(0xc4),'attributes':{'class':['ck',_0x10a990(0xbc)]},'children':[..._0x4b6b3c,{'tag':_0x10a990(0xb8),'attributes':{'class':[_0x10a990(0xb9)]},'children':[_0x3e44d3]}]}),this[_0x10a990(0xc3)][_0x10a990(0xbd)](_0x511a6a),this[_0x10a990(0xae)]=_0x595a85[_0x10a990(0xae)];}}function _0x10ac(){const _0x51ece3=['content','ck-ai-chat__feed__interaction-header','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING','children','div','extendTemplate','1223180Oneprl','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH','277472tfCsFt','capabilities','14242FrxCAZ','33JHtVej','setTemplate','45ApYWud','12237962qSImYO','push','2654872bqtHcm','ck-hidden','6845838euvqrt','span','ck-ai-chat__feed__interaction-header__capabilities__text','218QZBBNZ','AI_CHAT_FEED_REPLY_ITEM_USED_REASONING','ck-ai-chat__feed__interaction-header__capabilities','add','7510805vlJppB','7lWCWOJ'];_0x10ac=function(){return _0x51ece3;};return _0x10ac();}function aa(_0x57f913){const _0x82399c=_0x1a58b0,_0xdb17b6=new _0x2ad6de();return _0xdb17b6[_0x82399c(0xc0)]=_0x57f913,_0xdb17b6;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0xd633(_0x37007b,_0x4fb46f){const _0x45c272=_0x45c2();return _0xd633=function(_0xd63382,_0x168857){_0xd63382=_0xd63382-0x152;let _0x5b8997=_0x45c272[_0xd63382];return _0x5b8997;},_0xd633(_0x37007b,_0x4fb46f);}const _0x1c023c=_0xd633;(function(_0x25ca39,_0x32f41e){const _0x4ed27d=_0xd633,_0x26f9fc=_0x25ca39();while(!![]){try{const _0x2082c8=parseInt(_0x4ed27d(0x15d))/0x1+-parseInt(_0x4ed27d(0x159))/0x2+-parseInt(_0x4ed27d(0x153))/0x3*(-parseInt(_0x4ed27d(0x169))/0x4)+-parseInt(_0x4ed27d(0x168))/0x5+-parseInt(_0x4ed27d(0x156))/0x6*(-parseInt(_0x4ed27d(0x16e))/0x7)+parseInt(_0x4ed27d(0x15c))/0x8*(-parseInt(_0x4ed27d(0x175))/0x9)+parseInt(_0x4ed27d(0x154))/0xa;if(_0x2082c8===_0x32f41e)break;else _0x26f9fc['push'](_0x26f9fc['shift']());}catch(_0x33af3d){_0x26f9fc['push'](_0x26f9fc['shift']());}}}(_0x45c2,0x9ac3a));function _0x45c2(){const _0x12addf=['cleanUpAnimations','199098FfOyQm','div','3BIpqcZ','6374080QRSGlD','isVisible','6pWQuHx','createCollection','stream','643882XizocH','removeAttribute','element','432Cnwzrf','628191vmTJxS','content','ck-ai-chat__feed__item','ck-ai-chat__feed__text-item','ck-ai-chat__feed__item_done','[data-id]','animation:\x20ck-html-streamer-fade-in\x20.5s','markAsDone','children','forEach','querySelectorAll','3546750GnyADG','4107452WlfmTl','bindTemplate','ck-hidden','htmlStreamer','streamIntoElement','3971317czGWXP','setTemplate','isDone','set','options','data-id'];_0x45c2=function(){return _0x12addf;};return _0x45c2();}import{View as _0x23fb2d}from'ckeditor5/src/ui.js';import{HTMLStreamer as _0x1a54d6}from'../../../aicore/utils/htmlstreamer.js';export class AIChatFeedItemView extends _0x23fb2d{[_0x1c023c(0x172)];[_0x1c023c(0x15e)]='';[_0x1c023c(0x16c)];[_0x1c023c(0x165)];constructor(_0x12d4a6){const _0x3d7993=_0x1c023c;super();const _0x1377df=this[_0x3d7993(0x16a)];this[_0x3d7993(0x171)](_0x3d7993(0x170),!0x1),this[_0x3d7993(0x171)](_0x3d7993(0x155),!0x0),this[_0x3d7993(0x16c)]=new _0x1a54d6({'textNodeStyle':_0x3d7993(0x163),'delay':0x14}),this[_0x3d7993(0x172)]=_0x12d4a6,this[_0x3d7993(0x165)]=this[_0x3d7993(0x157)](),this[_0x3d7993(0x16f)]({'tag':_0x3d7993(0x152),'attributes':{'class':['ck',_0x3d7993(0x15f),_0x1377df['if'](_0x3d7993(0x170),_0x3d7993(0x161)),_0x1377df['if'](_0x3d7993(0x155),_0x3d7993(0x16b),_0x245bd6=>!_0x245bd6),_0x3d7993(0x160)],'data-cke-ai-id':this[_0x3d7993(0x172)]['id']},'children':this[_0x3d7993(0x165)]});}[_0x1c023c(0x164)](){const _0x4a8090=_0x1c023c;this[_0x4a8090(0x16c)][_0x4a8090(0x174)]({'targetElement':this[_0x4a8090(0x15b)]}),this[_0x4a8090(0x15b)][_0x4a8090(0x167)](_0x4a8090(0x162))[_0x4a8090(0x166)](_0x407244=>{const _0x22e0a5=_0x4a8090;_0x407244[_0x22e0a5(0x15a)](_0x22e0a5(0x173));}),this[_0x4a8090(0x170)]=!0x0;}async[_0x1c023c(0x16d)](_0x104a68,_0x1fa79c,_0x5bb4af){const _0x320ee7=_0x1c023c;await this[_0x320ee7(0x16c)][_0x320ee7(0x158)]({'document':_0x104a68,'targetElement':_0x1fa79c,'abortSignal':_0x5bb4af});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x1cd8(_0x1a40d4,_0x41f22a){const _0x4f0c84=_0x4f0c();return _0x1cd8=function(_0x1cd83e,_0x241708){_0x1cd83e=_0x1cd83e-0x150;let _0x5f3beb=_0x4f0c84[_0x1cd83e];return _0x5f3beb;},_0x1cd8(_0x1a40d4,_0x41f22a);}const _0x4a81fe=_0x1cd8;(function(_0x1a2e8f,_0x456eb1){const _0xfb756=_0x1cd8,_0x59d125=_0x1a2e8f();while(!![]){try{const _0x1935f1=parseInt(_0xfb756(0x174))/0x1+parseInt(_0xfb756(0x160))/0x2*(parseInt(_0xfb756(0x15f))/0x3)+parseInt(_0xfb756(0x156))/0x4*(parseInt(_0xfb756(0x16b))/0x5)+-parseInt(_0xfb756(0x161))/0x6*(parseInt(_0xfb756(0x158))/0x7)+parseInt(_0xfb756(0x159))/0x8*(-parseInt(_0xfb756(0x164))/0x9)+-parseInt(_0xfb756(0x170))/0xa+-parseInt(_0xfb756(0x16f))/0xb*(-parseInt(_0xfb756(0x16d))/0xc);if(_0x1935f1===_0x456eb1)break;else _0x59d125['push'](_0x59d125['shift']());}catch(_0x33c567){_0x59d125['push'](_0x59d125['shift']());}}}(_0x4f0c,0xbe4f6));function _0x4f0c(){const _0x5a0c3c=['render','div','element','86834DUUxuM','ck-ai-chat__feed__ai-reply-container','initialContent','setTemplate','extendTemplate','ck-reset_all-excluded','_bodyCollection','updateContent','4KxYTMn','updateSources','7McNDXA','1000VXMTDO','ck-ai-chat__feed__ai-reply','streamIntoElement','markAsDone','locale','options','54624bEWclh','128WlQTNH','8446824qhIZsF','streaming','balloonPanelView','25497evEEGh','addMany','static','replyContainer','map','children','add','6761185Grklzp','isVisible','132Tylfrt','innerHTML','1435885VITgNP','14988290pAgpsN'];_0x4f0c=function(){return _0x5a0c3c;};return _0x4f0c();}import{AIChatFeedItemView as _0x514d0d}from'./aichatfeeditemview.js';import{parse as _0x6e52df,render as _0x3a5c32}from'../../../aicore/utils/htmlparser.js';import{View as _0x36bd55}from'ckeditor5/src/ui.js';import{AIWebSourcesView as _0x447865,AIWebSourceView as _0x34bdf2}from'../../../aicore/ui/suggestioncontainer/aiwebsourcesview.js';export class AIChatFeedReplyItemView extends _0x514d0d{[_0x4a81fe(0x167)];[_0x4a81fe(0x154)];constructor(_0x2c82f2,_0x4f2da1,_0x57569d){const _0x867d19=_0x4a81fe;super(_0x4f2da1),this[_0x867d19(0x154)]=_0x57569d,this[_0x867d19(0x15d)]=_0x2c82f2,this[_0x867d19(0x152)]({'attributes':{'class':[_0x867d19(0x15a)]}}),this[_0x867d19(0x167)]=new _0x36bd55(),this[_0x867d19(0x167)][_0x867d19(0x151)]({'tag':_0x867d19(0x172),'attributes':{'class':['ck',_0x867d19(0x153),_0x867d19(0x175)]}}),this[_0x867d19(0x169)][_0x867d19(0x16a)](this[_0x867d19(0x167)]);}async[_0x4a81fe(0x171)](){const _0x496d0d=_0x4a81fe;super[_0x496d0d(0x171)](),this[_0x496d0d(0x15e)][_0x496d0d(0x150)]&&(await this[_0x496d0d(0x155)]({'parsedContent':_0x6e52df(this[_0x496d0d(0x15e)][_0x496d0d(0x150)]),'renderingStrategy':_0x496d0d(0x166)}),this[_0x496d0d(0x15c)]());}async[_0x4a81fe(0x155)]({parsedContent:_0x19536d,renderingStrategy:_0x682d3e,abortSignal:_0x3564d8}){const _0x100582=_0x4a81fe;_0x100582(0x162)===_0x682d3e?await this[_0x100582(0x15b)](_0x19536d,this[_0x100582(0x167)][_0x100582(0x173)],_0x3564d8):this[_0x100582(0x167)][_0x100582(0x173)][_0x100582(0x16e)]=_0x3a5c32(_0x19536d);}[_0x4a81fe(0x157)](_0x368149){const _0x4a65a5=_0x4a81fe,_0x4b3124=new _0x447865(this[_0x4a65a5(0x15d)],this[_0x4a65a5(0x154)]);_0x4b3124[_0x4a65a5(0x169)][_0x4a65a5(0x165)](_0x368149[_0x4a65a5(0x168)](_0x20aeba=>new _0x34bdf2(this[_0x4a65a5(0x15d)],_0x20aeba,_0x4b3124[_0x4a65a5(0x163)]))),_0x4b3124[_0x4a65a5(0x16c)]=!0x0,this[_0x4a65a5(0x169)][_0x4a65a5(0x16a)](_0x4b3124);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x44bd79=_0x3ca3;(function(_0x46927d,_0x290d3f){const _0x47e768=_0x3ca3,_0x3b16c3=_0x46927d();while(!![]){try{const _0xfb440b=parseInt(_0x47e768(0x1d9))/0x1+-parseInt(_0x47e768(0x1bb))/0x2*(parseInt(_0x47e768(0x1dd))/0x3)+-parseInt(_0x47e768(0x1ca))/0x4+-parseInt(_0x47e768(0x1c5))/0x5*(-parseInt(_0x47e768(0x1c2))/0x6)+parseInt(_0x47e768(0x1db))/0x7+parseInt(_0x47e768(0x1e2))/0x8*(-parseInt(_0x47e768(0x1cf))/0x9)+parseInt(_0x47e768(0x1e3))/0xa;if(_0xfb440b===_0x290d3f)break;else _0x3b16c3['push'](_0x3b16c3['shift']());}catch(_0x29f1a0){_0x3b16c3['push'](_0x3b16c3['shift']());}}}(_0x4eb0,0xbdfa0));function _0x3ca3(_0xd2e39e,_0x34505f){const _0x4eb09c=_0x4eb0();return _0x3ca3=function(_0x3ca37c,_0x32f455){_0x3ca37c=_0x3ca37c-0x1b5;let _0x2dd045=_0x4eb09c[_0x3ca37c];return _0x2dd045;},_0x3ca3(_0xd2e39e,_0x34505f);}function _0x4eb0(){const _0x260b6b=['applySuggestion','AI_CHAT_SUGGESTION_ACTION_APPLY_ALL','_switchButtonLabelsPlurality','3473024KwBroC','19760690TxJBNk','ck-ai-chat__feed__ai-suggestion__actions','isEnabled','add','fire','locale','button','7262khFsTZ','forEach','setTemplate','ck-ai-button-primary','ck-hidden','children','set','6dvIPoD','_insertSuggestionsButton','AI_SUGGESTION_DISABLED_TOOLTIP_MESSAGE','5616935eJSOis','AI_CHAT_SUGGESTION_ACTION_SUGGEST_ALL','bindTemplate','isVisible','AI_SUGGESTION_DISABLED_FEED_MESSAGE','5444388GCAyxJ','bind','AI_CHAT_SUGGESTION_ACTION_SUGGEST','div','change:isTrackChangesOn','18JdyaDA','updateVisibility','_applyChangesButton','ck-ai-button-secondary','execute','createCollection','AI_CHAT_SUGGESTION_ACTION_APPLY','insertSuggestion','includes','isTrackChangesOn','1139791nMtauT','addMany','858291MbGbHO','label','1119uTLYJv','ck-ai-chat__feed__suggestion__actions__info'];_0x4eb0=function(){return _0x260b6b;};return _0x4eb0();}import{ButtonView as _0x51e617,View as _0x3fcc07}from'ckeditor5/src/ui.js';import{getTranslation as _0x1c8369}from'../../../aicore/utils/common-translations.js';import{IconInfo as _0x58b463}from'ckeditor5/src/icons.js';export const AI_REPLY_ACTIONS=[_0x44bd79(0x1df),_0x44bd79(0x1d6)];export class AIChatFeedSuggestionItemActionsView extends _0x3fcc07{[_0x44bd79(0x1d1)];[_0x44bd79(0x1c3)];[_0x44bd79(0x1c0)];constructor(_0x5dcb6e,_0x2b3a4a=[...AI_REPLY_ACTIONS],_0x13d8a0){const _0x11446a=_0x44bd79;super(_0x5dcb6e);const _0x53fadc=this[_0x11446a(0x1c7)],_0x3d30c2=Boolean(_0x13d8a0);if(this[_0x11446a(0x1c1)](_0x11446a(0x1b6),!_0x3d30c2),this[_0x11446a(0x1c1)](_0x11446a(0x1c8),!0x1),this[_0x11446a(0x1c1)](_0x11446a(0x1d8),!0x1),this[_0x11446a(0x1c0)]=this[_0x11446a(0x1d4)](),_0x3d30c2){const _0x1d9d71=new _0x51e617(_0x5dcb6e);_0x1d9d71[_0x11446a(0x1c1)]({'label':_0x1c8369(_0x5dcb6e,_0x11446a(0x1c4)),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x58b463});const _0x25b832=new _0x3fcc07(_0x5dcb6e);_0x25b832[_0x11446a(0x1bd)]({'tag':_0x11446a(0x1cd),'attributes':{'class':_0x11446a(0x1de)},'children':[{'tag':'p','children':[_0x1c8369(_0x5dcb6e,_0x11446a(0x1c9)),_0x1d9d71]}]}),this[_0x11446a(0x1c0)][_0x11446a(0x1b7)](_0x25b832);}else this[_0x11446a(0x1d1)]=new _0x51e617(_0x5dcb6e),this[_0x11446a(0x1d1)][_0x11446a(0x1c1)]({'label':_0x1c8369(_0x5dcb6e,_0x11446a(0x1e0)),'withText':!0x0,'type':_0x11446a(0x1ba),'isVisible':_0x2b3a4a[_0x11446a(0x1d7)](_0x11446a(0x1df)),'class':_0x11446a(0x1be)}),this[_0x11446a(0x1c3)]=new _0x51e617(_0x5dcb6e),this[_0x11446a(0x1c3)][_0x11446a(0x1c1)]({'label':_0x1c8369(_0x5dcb6e,_0x11446a(0x1c6)),'withText':!0x0,'type':_0x11446a(0x1ba),'isVisible':_0x2b3a4a[_0x11446a(0x1d7)](_0x11446a(0x1d6)),'class':_0x11446a(0x1d2)}),this[_0x11446a(0x1c3)]['on'](_0x11446a(0x1d3),()=>{const _0x958ebf=_0x11446a;this[_0x958ebf(0x1b8)](_0x958ebf(0x1d6));}),this[_0x11446a(0x1d1)]['on'](_0x11446a(0x1d3),()=>{const _0x2a6be8=_0x11446a;this[_0x2a6be8(0x1b8)](_0x2a6be8(0x1df));}),[this[_0x11446a(0x1d1)],this[_0x11446a(0x1c3)]][_0x11446a(0x1bc)](_0x47de19=>{const _0x57c79e=_0x11446a;_0x47de19[_0x57c79e(0x1cb)](_0x57c79e(0x1b6))['to'](this);}),this[_0x11446a(0x1c0)][_0x11446a(0x1da)]([this[_0x11446a(0x1d1)],this[_0x11446a(0x1c3)]]);this[_0x11446a(0x1bd)]({'tag':_0x11446a(0x1cd),'attributes':{'class':['ck',_0x11446a(0x1b5),_0x53fadc['if'](_0x11446a(0x1c8),_0x11446a(0x1bf),_0x24e6f6=>!_0x24e6f6)]},'children':this[_0x11446a(0x1c0)]}),this['on'](_0x11446a(0x1ce),()=>{const _0x885033=_0x11446a;this[_0x885033(0x1d1)]&&(this[_0x885033(0x1d1)][_0x885033(0x1c8)]=!this[_0x885033(0x1d8)]);});}[_0x44bd79(0x1d0)](_0x3c0d85){const _0x5eb64a=_0x44bd79;this[_0x5eb64a(0x1c8)]=_0x3c0d85;}[_0x44bd79(0x1e1)](_0x503475){const _0x56e578=_0x44bd79;this[_0x56e578(0x1d1)]&&this[_0x56e578(0x1c3)]&&(_0x503475?(this[_0x56e578(0x1d1)][_0x56e578(0x1dc)]=_0x1c8369(this[_0x56e578(0x1b9)],_0x56e578(0x1e0)),this[_0x56e578(0x1c3)][_0x56e578(0x1dc)]=_0x1c8369(this[_0x56e578(0x1b9)],_0x56e578(0x1c6))):(this[_0x56e578(0x1d1)][_0x56e578(0x1dc)]=_0x1c8369(this[_0x56e578(0x1b9)],_0x56e578(0x1d5)),this[_0x56e578(0x1c3)][_0x56e578(0x1dc)]=_0x1c8369(this[_0x56e578(0x1b9)],_0x56e578(0x1cc))));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x31e8d0=_0xa8dd;(function(_0x4c99d0,_0x28083c){var _0x5b2b39=_0xa8dd,_0x203436=_0x4c99d0();while(!![]){try{var _0x4c45d8=-parseInt(_0x5b2b39(0xf8))/0x1+parseInt(_0x5b2b39(0xeb))/0x2*(parseInt(_0x5b2b39(0xd8))/0x3)+parseInt(_0x5b2b39(0xf6))/0x4+-parseInt(_0x5b2b39(0xe7))/0x5+parseInt(_0x5b2b39(0xf2))/0x6*(parseInt(_0x5b2b39(0xf1))/0x7)+-parseInt(_0x5b2b39(0xdc))/0x8+-parseInt(_0x5b2b39(0xe9))/0x9*(-parseInt(_0x5b2b39(0xdb))/0xa);if(_0x4c45d8===_0x28083c)break;else _0x203436['push'](_0x203436['shift']());}catch(_0x566f20){_0x203436['push'](_0x203436['shift']());}}}(_0x3fe9,0xe4d4b));import{AIChatFeedItemView as _0x41c26a}from'./aichatfeeditemview.js';import{AISuggestionContainerView as _0x5b8ac6}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';function _0xa8dd(_0x3b7676,_0x2f359b){var _0x3fe942=_0x3fe9();return _0xa8dd=function(_0xa8ddaf,_0x580d0e){_0xa8ddaf=_0xa8ddaf-0xd3;var _0x4c6801=_0x3fe942[_0xa8ddaf];return _0x4c6801;},_0xa8dd(_0x3b7676,_0x2f359b);}function _0x3fe9(){var _0x361a0b=['fire','areActionsDisabled','2598290jZpYNs','9243336bASoSx','updateSources','containerView','showDiff','markAsDone','updateContent','setPartActive','options','addMany','updatePartState','insertSuggestion','3628565tgRalY','extendTemplate','81FkjXhF','getPartView','12722QHARti','bind','like','mouseLeaveSuggestion','bodyView','availableActions','35cJDSdd','76782qcSRNr','showChangeInText','isTrackChangesOn','toggleSuggestionDisplayMode','865876LAdNbT','dislike','1187192QCrEwL','mouseOverSuggestion','ck-ai-chat__feed__ai-suggestion','children','applySuggestion','rejectSuggestion','set','654wpyARz'];_0x3fe9=function(){return _0x361a0b;};return _0x3fe9();}export class AIChatFeedSuggestionItemView extends _0x41c26a{[_0x31e8d0(0xde)];constructor(_0xfdd42,_0xf63263,_0x319991){var _0x5c4093=_0x31e8d0;super(_0xf63263),this[_0x5c4093(0xd7)](_0x5c4093(0xf4),!0x1),this[_0x5c4093(0xde)]=new _0x5b8ac6(_0xfdd42,{'showDiff':_0xf63263[_0x5c4093(0xdf)],'areActionsDisabled':_0xf63263[_0x5c4093(0xda)],'availableActions':_0xf63263[_0x5c4093(0xf0)]},_0x319991),this[_0x5c4093(0xde)]['on'](_0x5c4093(0xf5),(_0x3e2b29,_0x218d74)=>{var _0x4b3099=_0x5c4093;this[_0x4b3099(0xd9)](_0x4b3099(0xf5),{'replyId':this[_0x4b3099(0xe3)]['id'],'showDiff':_0x218d74[_0x4b3099(0xdf)]});}),this[_0x5c4093(0xde)][_0x5c4093(0xec)](_0x5c4093(0xf4))['to'](this),this[_0x5c4093(0xde)]['on'](_0x5c4093(0xed),()=>{var _0x505f0d=_0x5c4093;this[_0x505f0d(0xd9)](_0x505f0d(0xed),{'replyId':this[_0x505f0d(0xe3)]['id']});}),this[_0x5c4093(0xde)]['on'](_0x5c4093(0xf7),()=>{var _0x545eb8=_0x5c4093;this[_0x545eb8(0xd9)](_0x545eb8(0xf7),{'replyId':this[_0x545eb8(0xe3)]['id']});}),this[_0x5c4093(0xde)]['on'](_0x5c4093(0xf3),(_0xb48cf7,{index:_0x3c9f60})=>{var _0x5b4dae=_0x5c4093;this[_0x5b4dae(0xd9)](_0x5b4dae(0xf3),{'replyId':this[_0x5b4dae(0xe3)]['id'],'partIndex':_0x3c9f60});}),this[_0x5c4093(0xde)]['on'](_0x5c4093(0xd5),(_0x2e9aab,{index:_0xaa5478}={})=>{var _0x200358=_0x5c4093;this[_0x200358(0xd9)](_0x200358(0xd5),{'replyId':this[_0x200358(0xe3)]['id'],'partIndex':_0xaa5478});}),this[_0x5c4093(0xde)]['on'](_0x5c4093(0xe6),(_0x3b0532,{index:_0x5f45c1}={})=>{var _0x7c926f=_0x5c4093;this[_0x7c926f(0xd9)](_0x7c926f(0xe6),{'replyId':this[_0x7c926f(0xe3)]['id'],'partIndex':_0x5f45c1});}),this[_0x5c4093(0xde)]['on'](_0x5c4093(0xd6),(_0x388312,{index:_0x555bfd})=>{var _0x5eea24=_0x5c4093;this[_0x5eea24(0xd9)](_0x5eea24(0xd6),{'replyId':this[_0x5eea24(0xe3)]['id'],'partIndex':_0x555bfd});}),this[_0x5c4093(0xde)]['on'](_0x5c4093(0xf9),(_0x5ed0af,{index:_0x590974})=>{var _0x5e5c67=_0x5c4093;this[_0x5e5c67(0xd9)](_0x5e5c67(0xf9),{'replyId':this[_0x5e5c67(0xe3)]['id'],'partIndex':_0x590974});}),this[_0x5c4093(0xde)]['on'](_0x5c4093(0xee),(_0x49d7fa,{index:_0x1cf903})=>{var _0x36bfa2=_0x5c4093;this[_0x36bfa2(0xd9)](_0x36bfa2(0xee),{'replyId':this[_0x36bfa2(0xe3)]['id'],'partIndex':_0x1cf903});}),this[_0x5c4093(0xd4)][_0x5c4093(0xe4)]([this[_0x5c4093(0xde)]]),this[_0x5c4093(0xe8)]({'attributes':{'class':[_0x5c4093(0xd3)]}});}async[_0x31e8d0(0xe1)](_0x44274a){var _0x37a149=_0x31e8d0;await this[_0x37a149(0xde)][_0x37a149(0xe1)](_0x44274a);}[_0x31e8d0(0xe5)](_0x2f9014,_0x5728b1){var _0x2e2b4e=_0x31e8d0;this[_0x2e2b4e(0xde)][_0x2e2b4e(0xef)][_0x2e2b4e(0xe5)](_0x2f9014,_0x5728b1);}[_0x31e8d0(0xe2)](_0x50bb36,_0x290b4e){var _0x1855c8=_0x31e8d0;!0x1===_0x50bb36?this[_0x1855c8(0xde)][_0x1855c8(0xef)][_0x1855c8(0xe2)](!0x1):this[_0x1855c8(0xde)][_0x1855c8(0xef)][_0x1855c8(0xe2)](_0x50bb36,_0x290b4e);}[_0x31e8d0(0xdd)](_0x58105f){var _0x1abee6=_0x31e8d0;this[_0x1abee6(0xde)][_0x1abee6(0xdd)](_0x58105f);}[_0x31e8d0(0xea)](_0x5be144){var _0x4687e8=_0x31e8d0;return this[_0x4687e8(0xde)][_0x4687e8(0xef)][_0x4687e8(0xea)](_0x5be144);}[_0x31e8d0(0xe0)](){var _0xce9bc=_0x31e8d0;super[_0xce9bc(0xe0)](),this[_0xce9bc(0xde)][_0xce9bc(0xe0)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x349b0d=_0x580c;(function(_0x1ee2cf,_0x2e08fb){var _0x537cae=_0x580c,_0x179cb7=_0x1ee2cf();while(!![]){try{var _0x402b3d=parseInt(_0x537cae(0x1ed))/0x1*(parseInt(_0x537cae(0x1e6))/0x2)+parseInt(_0x537cae(0x205))/0x3*(-parseInt(_0x537cae(0x1fe))/0x4)+-parseInt(_0x537cae(0x201))/0x5*(-parseInt(_0x537cae(0x1e9))/0x6)+-parseInt(_0x537cae(0x1f2))/0x7+-parseInt(_0x537cae(0x1f7))/0x8*(parseInt(_0x537cae(0x206))/0x9)+parseInt(_0x537cae(0x1e5))/0xa*(parseInt(_0x537cae(0x1ea))/0xb)+parseInt(_0x537cae(0x1ee))/0xc;if(_0x402b3d===_0x2e08fb)break;else _0x179cb7['push'](_0x179cb7['shift']());}catch(_0x137238){_0x179cb7['push'](_0x179cb7['shift']());}}}(_0x2d62,0xb4be4));import{AIChatFeedItemView as _0x1d9812}from'./aichatfeeditemview.js';import{AIChatFeedContextChipsView as _0x13e9a9}from'./aichatfeedcontextchipsview.js';import{View as _0x444af8}from'ckeditor5/src/ui.js';function _0x2d62(){var _0x285aa1=['ck-ai-chat__feed__user-message','1NPlpfU','1352220VdqxDr','hidden','_createMessageContentView','div','6244497VPwUiR','_messageContentView','innerHTML','_contextChipsView','filter','120gViuvU','ck-ai-chat__feed__message-content','extendTemplate','length','ck-ai-chat__feed__context-chips','contextItems','render','8vkhsfh','options','setTemplate','550GLqhlG','initialContent','children','element','1290345uIHQMy','668619XeYDld','_bodyCollection','_locale','4659740zHokjh','1965486qkRbEF','add','markAsDone','60744jNhMvJ','33pQLWrt','_createContextChipsView'];_0x2d62=function(){return _0x285aa1;};return _0x2d62();}function _0x580c(_0x3fa1e7,_0x5ed6c3){var _0x2d62a4=_0x2d62();return _0x580c=function(_0x580c28,_0x1b5a90){_0x580c28=_0x580c28-0x1e5;var _0x5f2076=_0x2d62a4[_0x580c28];return _0x5f2076;},_0x580c(_0x3fa1e7,_0x5ed6c3);}export class AIChatFeedUserMessageItemView extends _0x1d9812{[_0x349b0d(0x1f5)]=null;[_0x349b0d(0x208)];[_0x349b0d(0x207)];[_0x349b0d(0x1f3)];constructor(_0x5aa95d,_0x452006,_0x2f2c16){var _0x4172a1=_0x349b0d;super(_0x452006),this[_0x4172a1(0x208)]=_0x5aa95d,this[_0x4172a1(0x207)]=_0x2f2c16,this[_0x4172a1(0x1eb)](),this[_0x4172a1(0x1f0)](),this[_0x4172a1(0x1f9)]({'attributes':{'class':[_0x4172a1(0x1ec)]}});}[_0x349b0d(0x1eb)](){var _0x14c144=_0x349b0d;this[_0x14c144(0x1ff)][_0x14c144(0x1fc)]&&this[_0x14c144(0x1ff)][_0x14c144(0x1fc)][_0x14c144(0x1fa)]>0x0&&(this[_0x14c144(0x1f5)]=new _0x13e9a9(this[_0x14c144(0x208)],this[_0x14c144(0x1ff)][_0x14c144(0x1fc)][_0x14c144(0x1f6)](_0x3cbc08=>!_0x3cbc08[_0x14c144(0x1ef)]),this[_0x14c144(0x207)]),this[_0x14c144(0x1f5)][_0x14c144(0x1f9)]({'attributes':{'class':_0x14c144(0x1fb)}}),this[_0x14c144(0x203)][_0x14c144(0x1e7)](this[_0x14c144(0x1f5)]));}[_0x349b0d(0x1f0)](){var _0x306ac9=_0x349b0d;this[_0x306ac9(0x1f3)]=new _0x444af8(this[_0x306ac9(0x208)]),this[_0x306ac9(0x1f3)][_0x306ac9(0x200)]({'tag':_0x306ac9(0x1f1),'attributes':{'class':_0x306ac9(0x1f8)}}),this[_0x306ac9(0x203)][_0x306ac9(0x1e7)](this[_0x306ac9(0x1f3)]);}[_0x349b0d(0x1fd)](){var _0x4bada9=_0x349b0d;super[_0x4bada9(0x1fd)](),this[_0x4bada9(0x1f3)][_0x4bada9(0x204)][_0x4bada9(0x1f4)]=this[_0x4bada9(0x1ff)][_0x4bada9(0x202)],this[_0x4bada9(0x1e8)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x4d45(_0x5efcbd,_0x1c8967){const _0x353760=_0x3537();return _0x4d45=function(_0x4d459c,_0x5eaf95){_0x4d459c=_0x4d459c-0xc7;let _0x288a8e=_0x353760[_0x4d459c];return _0x288a8e;},_0x4d45(_0x5efcbd,_0x1c8967);}function _0x3537(){const _0x1e1cda=['loadSourceResources','resizeTabs','1508913wqzzxs','8524180opHCYI','sendUserMessage','4357904yRJqpm','108ZqjjKZ','selectModel','273870NOUZGD','removeContextItem','abortPromptStream','151026UyhCTH','addUrlToContext','1416465wNqWNi','startConversation','addDocumentToContext','toggleWebSearch','2175068BobgJm','8UAAHWX','2DiJmAF','addResourceToContext','executeCustomItemCallback','addFileToContext','toggleReasoning'];_0x3537=function(){return _0x1e1cda;};return _0x3537();}const _0x413437=_0x4d45;(function(_0x3ec6b8,_0x42b616){const _0x1824d8=_0x4d45,_0x41e120=_0x3ec6b8();while(!![]){try{const _0x208f19=parseInt(_0x1824d8(0xd0))/0x1+parseInt(_0x1824d8(0xd8))/0x2*(-parseInt(_0x1824d8(0xd2))/0x3)+-parseInt(_0x1824d8(0xca))/0x4+-parseInt(_0x1824d8(0xcd))/0x5*(-parseInt(_0x1824d8(0xcb))/0x6)+parseInt(_0x1824d8(0xd6))/0x7+parseInt(_0x1824d8(0xd7))/0x8*(-parseInt(_0x1824d8(0xc7))/0x9)+parseInt(_0x1824d8(0xc8))/0xa;if(_0x208f19===_0x42b616)break;else _0x41e120['push'](_0x41e120['shift']());}catch(_0x502dd2){_0x41e120['push'](_0x41e120['shift']());}}}(_0x3537,0x8b5bc));import{AI_SUGGESTION_UI_EVENT_NAMES as _0x169b52}from'../../aicore/utils/eventnames.js';export const AI_CHAT_UI_EVENT_NAMES=[..._0x169b52,_0x413437(0xd3),_0x413437(0xde),_0x413437(0xc9),_0x413437(0xcf),_0x413437(0xd4),_0x413437(0xdb),_0x413437(0xd1),_0x413437(0xda),_0x413437(0xd9),_0x413437(0xce),_0x413437(0xdd),_0x413437(0xd5),_0x413437(0xdc),_0x413437(0xcc)];
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x14192e=_0x4003;(function(_0x379e93,_0x48b640){const _0x2645d6=_0x4003,_0x1f0226=_0x379e93();while(!![]){try{const _0x5b1800=parseInt(_0x2645d6(0x151))/0x1+parseInt(_0x2645d6(0x146))/0x2*(parseInt(_0x2645d6(0x148))/0x3)+-parseInt(_0x2645d6(0x14f))/0x4+parseInt(_0x2645d6(0x157))/0x5+-parseInt(_0x2645d6(0x147))/0x6+-parseInt(_0x2645d6(0x144))/0x7+-parseInt(_0x2645d6(0x154))/0x8*(parseInt(_0x2645d6(0x150))/0x9);if(_0x5b1800===_0x48b640)break;else _0x1f0226['push'](_0x1f0226['shift']());}catch(_0x29839e){_0x1f0226['push'](_0x1f0226['shift']());}}}(_0x3a96,0x396a9));function _0x3a96(){const _0x16b879=['callback','6NwOOwh','1103202DRcBQr','277131aRbMej','_abortController','reject','length','_processQueue','createTask','enqueue','1347496ovkXMu','46242vjMvBN','356684gZWqjk','completePromise','queue','216lOdEre','push','signal','1675335erTtbz','abort','resolve','fire','queueEmptyPromise','isProcessing','shift','once','_queueEmpty','519666bLBonI'];_0x3a96=function(){return _0x16b879;};return _0x3a96();}import{EmitterMixin as _0x1121af}from'ckeditor5/src/utils.js';function _0x4003(_0x56901a,_0x57aad2){const _0x3a963d=_0x3a96();return _0x4003=function(_0x400314,_0x34cb52){_0x400314=_0x400314-0x13d;let _0x25ae45=_0x3a963d[_0x400314];return _0x25ae45;},_0x4003(_0x56901a,_0x57aad2);}export class PromiseQueue extends _0x1121af(){[_0x14192e(0x153)]=[];[_0x14192e(0x140)]=!0x1;[_0x14192e(0x149)];async[_0x14192e(0x14e)](_0x4fcf6e){const _0x5732ed=_0x14192e,_0x46bf63=this[_0x5732ed(0x14d)](_0x4fcf6e);return this[_0x5732ed(0x153)][_0x5732ed(0x155)](_0x46bf63),this[_0x5732ed(0x14c)](),_0x46bf63[_0x5732ed(0x152)];}[_0x14192e(0x158)](){const _0x21581c=_0x14192e;this[_0x21581c(0x140)]&&(this[_0x21581c(0x149)][_0x21581c(0x158)](),this[_0x21581c(0x149)]=void 0x0,this[_0x21581c(0x153)]=[],this[_0x21581c(0x13e)](_0x21581c(0x143)),this[_0x21581c(0x140)]=!0x1);}get[_0x14192e(0x13f)](){const _0x35464a=_0x14192e;return this[_0x35464a(0x153)][_0x35464a(0x14b)]||this[_0x35464a(0x140)]?new Promise(_0x43ef8d=>{const _0x323f5b=_0x35464a;this[_0x323f5b(0x142)](_0x323f5b(0x143),()=>{_0x43ef8d();});}):Promise[_0x35464a(0x13d)]();}async[_0x14192e(0x14c)](){const _0x5410f8=_0x14192e;if(!this[_0x5410f8(0x140)]){this[_0x5410f8(0x149)]=new AbortController(),this[_0x5410f8(0x140)]=!0x0;try{for(;this[_0x5410f8(0x153)][_0x5410f8(0x14b)]&&this[_0x5410f8(0x140)];){const _0x58c370=this[_0x5410f8(0x153)][_0x5410f8(0x141)]();try{await _0x58c370[_0x5410f8(0x145)](this[_0x5410f8(0x149)][_0x5410f8(0x156)]),_0x58c370[_0x5410f8(0x13d)]();}catch(_0x390fba){_0x58c370[_0x5410f8(0x14a)](_0x390fba);}}}finally{this[_0x5410f8(0x140)]=!0x1,this[_0x5410f8(0x149)]=void 0x0;}this[_0x5410f8(0x13e)](_0x5410f8(0x143));}}[_0x14192e(0x14d)](_0x5148de){let _0x4c2f03,_0xb57bb4;const _0x33a9cf=new Promise((_0x5067b9,_0x1ab348)=>{_0x4c2f03=_0x5067b9,_0xb57bb4=_0x1ab348;});return{'callback':_0x5148de,'resolve':_0x4c2f03,'reject':_0xb57bb4,'completePromise':_0x33a9cf};}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x4a3e1c=_0x415f;(function(_0x219268,_0x328cd4){var _0x380edc=_0x415f,_0x458da9=_0x219268();while(!![]){try{var _0x1f935a=parseInt(_0x380edc(0x12a))/0x1+parseInt(_0x380edc(0x12c))/0x2+-parseInt(_0x380edc(0x129))/0x3+-parseInt(_0x380edc(0x12d))/0x4+-parseInt(_0x380edc(0x128))/0x5+parseInt(_0x380edc(0x131))/0x6+parseInt(_0x380edc(0x12e))/0x7;if(_0x1f935a===_0x328cd4)break;else _0x458da9['push'](_0x458da9['shift']());}catch(_0x3d6eab){_0x458da9['push'](_0x458da9['shift']());}}}(_0x5606,0x907a4));import{ContextPlugin as _0x443d86}from'ckeditor5/src/core.js';import{AIChatHistoryController as _0xaafa40}from'./aichathistorycontroller.js';function _0x415f(_0x49e938,_0x5baf62){var _0x5606ff=_0x5606();return _0x415f=function(_0x415f77,_0x319807){_0x415f77=_0x415f77-0x126;var _0x345f27=_0x5606ff[_0x415f77];return _0x345f27;},_0x415f(_0x49e938,_0x5baf62);}function _0x5606(){var _0x3a6535=['83796zNbnWf','pluginName','1283462bzDBrm','750856IhIlXU','1211364XJhBfk','isPremiumPlugin','requires','6727662dDdJhy','AIChatHistory','isOfficialPlugin','605150FEVhFh','3357996WpqxJO'];_0x5606=function(){return _0x3a6535;};return _0x5606();}import{AIChatHistoryUI as _0x199ee4}from'./aichathistoryui.js';export{AIChatHistoryItem}from'./model/aichathistoryitem.js';export class AIChatHistory extends _0x443d86{static get[_0x4a3e1c(0x130)](){return[_0xaafa40,_0x199ee4];}static get[_0x4a3e1c(0x12b)](){var _0xe644e3=_0x4a3e1c;return _0xe644e3(0x126);}static get[_0x4a3e1c(0x127)](){return!0x0;}static get[_0x4a3e1c(0x12f)](){return!0x0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x45338d=_0x3f04;(function(_0x15def8,_0x453357){const _0x43bb2e=_0x3f04,_0x1a1f20=_0x15def8();while(!![]){try{const _0x396808=-parseInt(_0x43bb2e(0x1cf))/0x1+parseInt(_0x43bb2e(0x1d9))/0x2*(-parseInt(_0x43bb2e(0x18d))/0x3)+parseInt(_0x43bb2e(0x193))/0x4*(parseInt(_0x43bb2e(0x1cb))/0x5)+-parseInt(_0x43bb2e(0x1b1))/0x6*(parseInt(_0x43bb2e(0x1b5))/0x7)+-parseInt(_0x43bb2e(0x184))/0x8*(-parseInt(_0x43bb2e(0x1bc))/0x9)+parseInt(_0x43bb2e(0x1e7))/0xa*(parseInt(_0x43bb2e(0x1b2))/0xb)+parseInt(_0x43bb2e(0x1a8))/0xc;if(_0x396808===_0x453357)break;else _0x1a1f20['push'](_0x1a1f20['shift']());}catch(_0x20d612){_0x1a1f20['push'](_0x1a1f20['shift']());}}}(_0x5458,0x61a80));import{ContextPlugin as _0x3a6838}from'ckeditor5/src/core.js';import{AIConnector as _0x8db37b}from'../aicore/aiconnector.js';function _0x3f04(_0xfd29c0,_0x4e5fab){const _0x5458a4=_0x5458();return _0x3f04=function(_0x3f0496,_0x3a13cf){_0x3f0496=_0x3f0496-0x184;let _0xa7467f=_0x5458a4[_0x3f0496];return _0xa7467f;},_0x3f04(_0xfd29c0,_0x4e5fab);}import{AIChatController as _0x51c672}from'../aichat/aichatcontroller.js';import{AITabs as _0x2330dd}from'../aitabs/aitabs.js';import{AIChatHistoryUI as _0x45c46a}from'./aichathistoryui.js';function _0x5458(){const _0xeabdd5=['_showConversationHistory','getGroupId','updateItemPinned','AI_CHAT_HISTORY_ERROR_GENERIC','removeItem','itemsLoaded','removeConversation','openChat','_aiChatHistoryUi','AI_CHAT_HISTORY_CATEGORY_LATER','view','386715NVNhaY','_getCategorizedItems','loadConversation','AI_CHAT_HISTORY_UNPIN_ACTION','269246YRKbOu','itemRemoved','setIsMaximized','remove','context','operation','handleRemovedConversation','error','resizeTabs','AI_CHAT_HISTORY_ERROR_UPDATE_PINNED','52MnALNY','AI_CHAT_HISTORY_ERROR_UPDATE_TITLE','_updateHistoryItemsUI','updates','activeConversation','AI_CHAT_HISTORY_CATEGORY_TODAY','title','AI_CHAT_HISTORY_ERROR_REMOVE_ITEM','createdAt','pluginName','_handleRemove','selectConversation','toLocaleDateString','AI_CHAT_UNTITLED_CONVERSATION','10LWBkzY','init','resize','AI_CHAT_HISTORY_CATEGORY_YESTERDAY','length','192352WbGnui','updateItemTitle','itemId','_setItemLoading','_setIsMaximized','resizedTabs','activateTab:history','setConversationPinned','editConversationTitle','17079TvCwAQ','_handleEditTitle','history','setDate','removeHistoryItem','requires','4ytvaqH','plugins','AIChatHistoryController','_clearItemLoading','isPremiumPlugin','getMonth','getFullYear','_handleSelectConversation','_handleHistoryErrorUI','items','loadItems','updateItemLoadingState','setLoadingSkeleton','chat','itemUpdated','pin','AI_CHAT_HISTORY_ERROR_LOAD_ITEMS','unpin','showError','AI_CHAT_HISTORY_CATEGORY_PINNED','pinned','4111656PWxAJK','push','getItem','locale','map','get','_aiChatController','AI_CHAT_HISTORY_PIN_ACTION','rename','722322DjknZj','7813916iWLHOr','getDate','getItems','21jXUkyq','_aiConnector','activateTab','listenTo','_handleTogglePin','_generateErrorMessage','isOfficialPlugin','18EeRkLg','change:activeConversation','AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS','updateItems'];_0x5458=function(){return _0xeabdd5;};return _0x5458();}import{AIChatHistoryConversations as _0x46096d}from'./model/aichathistoryconversations.js';import{getTranslation as _0x641206}from'../aicore/utils/common-translations.js';export class AIChatHistoryController extends _0x3a6838{[_0x45338d(0x1b6)];[_0x45338d(0x1c8)];[_0x45338d(0x1ae)];static get[_0x45338d(0x192)](){return[_0x8db37b,_0x51c672,_0x45c46a,_0x2330dd];}static get[_0x45338d(0x1e2)](){const _0x51308c=_0x45338d;return _0x51308c(0x195);}static get[_0x45338d(0x1bb)](){return!0x0;}static get[_0x45338d(0x197)](){return!0x0;}[_0x45338d(0x1e8)](){const _0x4eb4b8=_0x45338d;this[_0x4eb4b8(0x1b6)]=this[_0x4eb4b8(0x1d3)][_0x4eb4b8(0x194)][_0x4eb4b8(0x1ad)](_0x8db37b),this[_0x4eb4b8(0x1c8)]=this[_0x4eb4b8(0x1d3)][_0x4eb4b8(0x194)][_0x4eb4b8(0x1ad)](_0x45c46a),this[_0x4eb4b8(0x1ae)]=this[_0x4eb4b8(0x1d3)][_0x4eb4b8(0x194)][_0x4eb4b8(0x1ad)](_0x51c672);const _0x3e6acf=this[_0x4eb4b8(0x1d3)][_0x4eb4b8(0x194)][_0x4eb4b8(0x1ad)](_0x2330dd);try{const _0x1c8ede=this[_0x4eb4b8(0x1ae)][_0x4eb4b8(0x1c1)]();this[_0x4eb4b8(0x18f)]=new _0x46096d({'connector':this[_0x4eb4b8(0x1b6)],'group':_0x1c8ede}),this[_0x4eb4b8(0x1b8)](this[_0x4eb4b8(0x1c8)],_0x4eb4b8(0x1c6),(_0x15a19f,_0xb436d)=>{const _0x4d070c=_0x4eb4b8;this[_0x4d070c(0x187)](_0xb436d['id'],_0x4d070c(0x1d2)),this[_0x4d070c(0x1e3)](_0xb436d['id']);}),this[_0x4eb4b8(0x1b8)](this[_0x4eb4b8(0x1c8)],_0x4eb4b8(0x18c),(_0xa18689,_0x1e8769)=>{const _0x1c216d=_0x4eb4b8;this[_0x1c216d(0x187)](_0x1e8769['id'],_0x1c216d(0x1b0)),this[_0x1c216d(0x18e)](_0x1e8769['id'],_0x1e8769[_0x1c216d(0x1df)]);}),this[_0x4eb4b8(0x1b8)](this[_0x4eb4b8(0x18f)],_0x4eb4b8(0x1a1),(_0x5e5d45,_0x145487)=>{const _0xa3f670=_0x4eb4b8;void 0x0!==_0x145487[_0xa3f670(0x1dc)][_0xa3f670(0x1df)]&&this[_0xa3f670(0x1c8)][_0xa3f670(0x185)](_0x145487[_0xa3f670(0x186)],_0x145487[_0xa3f670(0x1dc)][_0xa3f670(0x1df)]),void 0x0!==_0x145487[_0xa3f670(0x1dc)][_0xa3f670(0x1a7)]&&this[_0xa3f670(0x1db)](),this[_0xa3f670(0x196)](_0x145487[_0xa3f670(0x186)]);}),this[_0x4eb4b8(0x1b8)](this[_0x4eb4b8(0x18f)],_0x4eb4b8(0x1d0),(_0x45db02,_0x4b1dab)=>{const _0x5ac9c5=_0x4eb4b8;this[_0x5ac9c5(0x1ae)][_0x5ac9c5(0x1d5)](_0x4b1dab[_0x5ac9c5(0x186)]),this[_0x5ac9c5(0x1c8)][_0x5ac9c5(0x191)](_0x4b1dab[_0x5ac9c5(0x186)]),this[_0x5ac9c5(0x196)](_0x4b1dab[_0x5ac9c5(0x186)]);}),this[_0x4eb4b8(0x1b8)](this[_0x4eb4b8(0x18f)],_0x4eb4b8(0x1c5),()=>{const _0x25be8a=_0x4eb4b8;this[_0x25be8a(0x1db)]();}),this[_0x4eb4b8(0x1b8)](this[_0x4eb4b8(0x18f)],_0x4eb4b8(0x1d6),(_0x27700f,_0x42fd7b)=>{const _0x5c4690=_0x4eb4b8;this[_0x5c4690(0x19b)](_0x42fd7b[_0x5c4690(0x1d6)],_0x42fd7b[_0x5c4690(0x1d4)],_0x42fd7b[_0x5c4690(0x186)]);}),this[_0x4eb4b8(0x1b8)](this[_0x4eb4b8(0x1c8)],_0x4eb4b8(0x1e4),(_0x51d906,_0x49da86)=>{const _0x48d06e=_0x4eb4b8;this[_0x48d06e(0x19a)](_0x49da86['id']);}),this[_0x4eb4b8(0x1b8)](this[_0x4eb4b8(0x1c8)],_0x4eb4b8(0x18b),(_0x457b6c,_0x2c1950)=>{const _0x17273a=_0x4eb4b8,_0x1e0716=_0x2c1950[_0x17273a(0x1a7)]?_0x17273a(0x1a2):_0x17273a(0x1a4);this[_0x17273a(0x187)](_0x2c1950['id'],_0x1e0716),this[_0x17273a(0x1b9)](_0x2c1950['id'],_0x2c1950[_0x17273a(0x1a7)]);}),this[_0x4eb4b8(0x1b8)](this[_0x4eb4b8(0x1c8)],_0x4eb4b8(0x1c7),()=>{const _0x3a3660=_0x4eb4b8;_0x3e6acf[_0x3a3660(0x1ca)][_0x3a3660(0x1b7)](_0x3a3660(0x1a0));}),this[_0x4eb4b8(0x1b8)](this[_0x4eb4b8(0x1ae)],_0x4eb4b8(0x1bd),()=>{const _0x538b56=_0x4eb4b8;this[_0x538b56(0x1db)]();}),_0x3e6acf[_0x4eb4b8(0x1ca)]['on'](_0x4eb4b8(0x18a),()=>{const _0x13fa7e=_0x4eb4b8;this[_0x13fa7e(0x1c0)]();}),this[_0x4eb4b8(0x1b8)](_0x3e6acf,_0x4eb4b8(0x189),(_0x171a31,_0x82602)=>{const _0x13ebf0=_0x4eb4b8;this[_0x13ebf0(0x188)](_0x82602);}),this[_0x4eb4b8(0x1b8)](this[_0x4eb4b8(0x1c8)],_0x4eb4b8(0x1d7),()=>{const _0x4687b9=_0x4eb4b8;_0x3e6acf[_0x4687b9(0x1e9)]();});}catch(_0x11f0c1){this[_0x4eb4b8(0x19b)](_0x11f0c1,_0x4eb4b8(0x1e8));}}async[_0x45338d(0x18e)](_0xd0dd2d,_0x404eab){const _0xf9579b=_0x45338d;await this[_0xf9579b(0x18f)][_0xf9579b(0x185)](_0xd0dd2d,_0x404eab);}async[_0x45338d(0x1b9)](_0x5624ec,_0x418198){const _0x1d5336=_0x45338d;await this[_0x1d5336(0x18f)][_0x1d5336(0x1c2)](_0x5624ec,_0x418198);}async[_0x45338d(0x1e3)](_0x26b0e2){const _0x481a8c=_0x45338d;await this[_0x481a8c(0x18f)][_0x481a8c(0x1c4)](_0x26b0e2);}async[_0x45338d(0x19a)](_0x14693f){const _0xeccd63=_0x45338d;await this[_0xeccd63(0x1ae)][_0xeccd63(0x1cd)](_0x14693f);}async[_0x45338d(0x1c0)](){const _0x42506d=_0x45338d;this[_0x42506d(0x1c8)][_0x42506d(0x1a5)](''),this[_0x42506d(0x1c8)][_0x42506d(0x19f)](!0x0),await this[_0x42506d(0x18f)][_0x42506d(0x1e8)](),this[_0x42506d(0x1c8)][_0x42506d(0x19f)](!0x1);}[_0x45338d(0x1db)](){const _0x1e44d2=_0x45338d,_0xcc7096=this[_0x1e44d2(0x1ae)][_0x1e44d2(0x1dd)]?.['id'],_0x4574c8=this[_0x1e44d2(0x1cc)]()[_0x1e44d2(0x1ac)](_0x3ecc6e=>({'title':_0x3ecc6e[_0x1e44d2(0x1df)],'items':_0x3ecc6e[_0x1e44d2(0x19c)][_0x1e44d2(0x1ac)](_0x29cd56=>({'id':_0x29cd56['id'],'title':_0x29cd56[_0x1e44d2(0x1df)]||_0x641206(this[_0x1e44d2(0x1d3)][_0x1e44d2(0x1ab)],_0x1e44d2(0x1e6)),'createdAt':new Date(_0x29cd56[_0x1e44d2(0x1e1)])[_0x1e44d2(0x1e5)](),'active':_0x29cd56['id']===_0xcc7096,'pinned':_0x29cd56[_0x1e44d2(0x1a7)]}))}));this[_0x1e44d2(0x1c8)][_0x1e44d2(0x1bf)](_0x4574c8);}[_0x45338d(0x187)](_0x3e72bf,_0x55afa9){const _0x44c9c8=_0x45338d;this[_0x44c9c8(0x1c8)][_0x44c9c8(0x19e)](_0x3e72bf,_0x55afa9,!0x0);}[_0x45338d(0x196)](_0x127c99){const _0x288356=_0x45338d;this[_0x288356(0x1c8)][_0x288356(0x19e)](_0x127c99,null,!0x1);}[_0x45338d(0x19b)](_0x279f29,_0x5b0f49,_0x2a8472){const _0x228f6f=_0x45338d,_0x18c4f0=this[_0x228f6f(0x1ba)](_0x5b0f49,_0x2a8472);this[_0x228f6f(0x1c8)][_0x228f6f(0x1a5)](_0x18c4f0),_0x2a8472&&this[_0x228f6f(0x196)](_0x2a8472),this[_0x228f6f(0x1c8)][_0x228f6f(0x19f)](!0x1);}[_0x45338d(0x1ba)](_0x39a11e,_0x82e2ff){const _0xa07d6d=_0x45338d,_0x24a29b=_0x82e2ff?this[_0xa07d6d(0x18f)][_0xa07d6d(0x1aa)](_0x82e2ff):null,_0x16aed7=_0x24a29b?.[_0xa07d6d(0x1df)]||_0x641206(this[_0xa07d6d(0x1d3)][_0xa07d6d(0x1ab)],_0xa07d6d(0x1e6));switch(_0x39a11e){case _0xa07d6d(0x185):return _0x641206(this[_0xa07d6d(0x1d3)][_0xa07d6d(0x1ab)],_0xa07d6d(0x1da),_0x16aed7);case _0xa07d6d(0x1c2):{const _0x42d97c=_0x641206(this[_0xa07d6d(0x1d3)][_0xa07d6d(0x1ab)],_0x24a29b?.[_0xa07d6d(0x1a7)]?_0xa07d6d(0x1ce):_0xa07d6d(0x1af));return _0x641206(this[_0xa07d6d(0x1d3)][_0xa07d6d(0x1ab)],_0xa07d6d(0x1d8),[_0x42d97c,_0x16aed7]);}case _0xa07d6d(0x1c4):return _0x641206(this[_0xa07d6d(0x1d3)][_0xa07d6d(0x1ab)],_0xa07d6d(0x1e0),_0x16aed7);case _0xa07d6d(0x1e8):case _0xa07d6d(0x19d):return _0x641206(this[_0xa07d6d(0x1d3)][_0xa07d6d(0x1ab)],_0xa07d6d(0x1a3));default:return _0x641206(this[_0xa07d6d(0x1d3)][_0xa07d6d(0x1ab)],_0xa07d6d(0x1c3));}}[_0x45338d(0x1cc)](){const _0x296541=_0x45338d,_0x1c99ee=new Date(),_0x16473c=new Date(_0x1c99ee[_0x296541(0x199)](),_0x1c99ee[_0x296541(0x198)](),_0x1c99ee[_0x296541(0x1b3)]()),_0x96fa34=new Date(_0x16473c);_0x96fa34[_0x296541(0x190)](_0x96fa34[_0x296541(0x1b3)]()-0x1);const _0x577354=new Date(_0x16473c);_0x577354[_0x296541(0x190)](_0x577354[_0x296541(0x1b3)]()-0xe);const _0x8b6551=this[_0x296541(0x18f)][_0x296541(0x1b4)]({'pinned':!0x0}),_0x5befca=this[_0x296541(0x18f)][_0x296541(0x1b4)]({'from':_0x16473c,'to':_0x16473c}),_0x35914d=this[_0x296541(0x18f)][_0x296541(0x1b4)]({'from':_0x96fa34,'to':_0x96fa34}),_0x31410f=this[_0x296541(0x18f)][_0x296541(0x1b4)]({'from':_0x577354,'to':_0x96fa34}),_0x58cd8e=this[_0x296541(0x18f)][_0x296541(0x1b4)]({'to':_0x577354}),_0xc97805=[];return _0x8b6551[_0x296541(0x1eb)]>0x0&&_0xc97805[_0x296541(0x1a9)]({'title':_0x641206(this[_0x296541(0x1d3)][_0x296541(0x1ab)],_0x296541(0x1a6)),'items':_0x8b6551}),_0x5befca[_0x296541(0x1eb)]>0x0&&_0xc97805[_0x296541(0x1a9)]({'title':_0x641206(this[_0x296541(0x1d3)][_0x296541(0x1ab)],_0x296541(0x1de)),'items':_0x5befca}),_0x35914d[_0x296541(0x1eb)]>0x0&&_0xc97805[_0x296541(0x1a9)]({'title':_0x641206(this[_0x296541(0x1d3)][_0x296541(0x1ab)],_0x296541(0x1ea)),'items':_0x35914d}),_0x31410f[_0x296541(0x1eb)]>0x0&&_0xc97805[_0x296541(0x1a9)]({'title':_0x641206(this[_0x296541(0x1d3)][_0x296541(0x1ab)],_0x296541(0x1be)),'items':_0x31410f}),_0x58cd8e[_0x296541(0x1eb)]>0x0&&_0xc97805[_0x296541(0x1a9)]({'title':_0x641206(this[_0x296541(0x1d3)][_0x296541(0x1ab)],_0x296541(0x1c9)),'items':_0x58cd8e}),_0xc97805;}[_0x45338d(0x188)](_0x43bd11){const _0x1df3b6=_0x45338d;this[_0x1df3b6(0x1c8)][_0x1df3b6(0x1d1)](_0x43bd11);}}
|
|
23
|
+
function _0x4eb3(){const _0x7216ae=['operation','updateItemTitle','loadItems','remove','setIsMaximized','error','updates','history','AI_CHAT_HISTORY_UNPIN_ACTION','9tzywYh','view','setDate','get','openChat','AI_CHAT_HISTORY_ERROR_UPDATE_PINNED','_aiChatController','AI_CHAT_HISTORY_ERROR_LOAD_ITEMS','_aiConnector','handleRemovedConversation','itemRemoved','_handleEditTitle','getItem','isPremiumPlugin','6907592PoYHDT','AI_CHAT_HISTORY_CATEGORY_PINNED','getItems','12439NayYAX','getMonth','pluginName','AI_CHAT_UNTITLED_CONVERSATION','isOfficialPlugin','getGroupId','2193OOIBbw','itemUpdated','AI_CHAT_HISTORY_CATEGORY_YESTERDAY','locale','showError','length','loadConversation','AI_CHAT_HISTORY_PIN_ACTION','change:activeConversation','editConversationTitle','pin','title','_setIsMaximized','AI_CHAT_HISTORY_ERROR_UPDATE_TITLE','_updateHistoryItemsUI','init','_generateErrorMessage','getDate','unpin','updateItemLoadingState','_getCategorizedItems','toLocaleDateString','activateTab:history','rename','updateItems','6340agwZCF','1214459oApqyQ','activeConversation','plugins','resize','_handleSelectConversation','setLoadingSkeleton','removeHistoryItem','_showConversationHistory','AI_CHAT_HISTORY_CATEGORY_LATER','AI_CHAT_HISTORY_ERROR_GENERIC','getFullYear','AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS','itemId','items','3954mKnglW','map','selectConversation','AI_CHAT_HISTORY_CATEGORY_TODAY','activateTab','AI_CHAT_HISTORY_ERROR_REMOVE_ITEM','removeItem','resizeTabs','removeConversation','itemsLoaded','_handleHistoryErrorUI','3629118cwCIiR','_handleTogglePin','push','pinned','context','_handleRemove','requires','createdAt','setConversationPinned','AIChatHistoryController','listenTo','35972480mBBkSt','chat','_aiChatHistoryUi','_setItemLoading','updateItemPinned','resizedTabs','_clearItemLoading','3099635cecZAr'];_0x4eb3=function(){return _0x7216ae;};return _0x4eb3();}const _0x790357=_0x2006;function _0x2006(_0x5657b6,_0x20b3a5){const _0x4eb3d4=_0x4eb3();return _0x2006=function(_0x2006da,_0x2664a4){_0x2006da=_0x2006da-0x72;let _0x26a562=_0x4eb3d4[_0x2006da];return _0x26a562;},_0x2006(_0x5657b6,_0x20b3a5);}(function(_0x3d0f27,_0x158785){const _0x2902c0=_0x2006,_0x1bab88=_0x3d0f27();while(!![]){try{const _0xc801bf=parseInt(_0x2902c0(0xcf))/0x1+parseInt(_0x2902c0(0x82))/0x2+parseInt(_0x2902c0(0xb5))/0x3*(-parseInt(_0x2902c0(0xce))/0x4)+parseInt(_0x2902c0(0x94))/0x5+-parseInt(_0x2902c0(0x77))/0x6*(-parseInt(_0x2902c0(0xaf))/0x7)+parseInt(_0x2902c0(0xac))/0x8+parseInt(_0x2902c0(0x9e))/0x9*(-parseInt(_0x2902c0(0x8d))/0xa);if(_0xc801bf===_0x158785)break;else _0x1bab88['push'](_0x1bab88['shift']());}catch(_0x3b492f){_0x1bab88['push'](_0x1bab88['shift']());}}}(_0x4eb3,0xe2742));import{ContextPlugin as _0x378e0a}from'ckeditor5/src/core.js';import{AIConnector as _0x2526ce}from'../aicore/aiconnector.js';import{AIChatController as _0x2690a9}from'../aichat/aichatcontroller.js';import{AITabs as _0x37d95c}from'../aitabs/aitabs.js';import{AIChatHistoryUI as _0x5678de}from'./aichathistoryui.js';import{AIChatHistoryConversations as _0x2c0586}from'./model/aichathistoryconversations.js';import{getTranslation as _0x278dbc}from'../aicore/utils/common-translations.js';export class AIChatHistoryController extends _0x378e0a{[_0x790357(0xa6)];[_0x790357(0x8f)];[_0x790357(0xa4)];static get[_0x790357(0x88)](){return[_0x2526ce,_0x2690a9,_0x5678de,_0x37d95c];}static get[_0x790357(0xb1)](){const _0x3c6d94=_0x790357;return _0x3c6d94(0x8b);}static get[_0x790357(0xb3)](){return!0x0;}static get[_0x790357(0xab)](){return!0x0;}[_0x790357(0xc4)](){const _0x1ebbe5=_0x790357;this[_0x1ebbe5(0xa6)]=this[_0x1ebbe5(0x86)][_0x1ebbe5(0xd1)][_0x1ebbe5(0xa1)](_0x2526ce),this[_0x1ebbe5(0x8f)]=this[_0x1ebbe5(0x86)][_0x1ebbe5(0xd1)][_0x1ebbe5(0xa1)](_0x5678de),this[_0x1ebbe5(0xa4)]=this[_0x1ebbe5(0x86)][_0x1ebbe5(0xd1)][_0x1ebbe5(0xa1)](_0x2690a9);const _0xa000b0=this[_0x1ebbe5(0x86)][_0x1ebbe5(0xd1)][_0x1ebbe5(0xa1)](_0x37d95c);try{const _0x3ffbc8=this[_0x1ebbe5(0xa4)][_0x1ebbe5(0xb4)]();this[_0x1ebbe5(0x9c)]=new _0x2c0586({'connector':this[_0x1ebbe5(0xa6)],'group':_0x3ffbc8}),this[_0x1ebbe5(0x8c)](this[_0x1ebbe5(0x8f)],_0x1ebbe5(0x7f),(_0x3221ac,_0x51e2c8)=>{const _0x2624cd=_0x1ebbe5;this[_0x2624cd(0x90)](_0x51e2c8['id'],_0x2624cd(0x98)),this[_0x2624cd(0x87)](_0x51e2c8['id']);}),this[_0x1ebbe5(0x8c)](this[_0x1ebbe5(0x8f)],_0x1ebbe5(0xbe),(_0x551c3b,_0x2e47ae)=>{const _0x3d275f=_0x1ebbe5;this[_0x3d275f(0x90)](_0x2e47ae['id'],_0x3d275f(0xcc)),this[_0x3d275f(0xa9)](_0x2e47ae['id'],_0x2e47ae[_0x3d275f(0xc0)]);}),this[_0x1ebbe5(0x8c)](this[_0x1ebbe5(0x9c)],_0x1ebbe5(0xb6),(_0x166503,_0x2f8208)=>{const _0x4954e3=_0x1ebbe5;void 0x0!==_0x2f8208[_0x4954e3(0x9b)][_0x4954e3(0xc0)]&&this[_0x4954e3(0x8f)][_0x4954e3(0x96)](_0x2f8208[_0x4954e3(0x75)],_0x2f8208[_0x4954e3(0x9b)][_0x4954e3(0xc0)]),void 0x0!==_0x2f8208[_0x4954e3(0x9b)][_0x4954e3(0x85)]&&this[_0x4954e3(0xc3)](),this[_0x4954e3(0x93)](_0x2f8208[_0x4954e3(0x75)]);}),this[_0x1ebbe5(0x8c)](this[_0x1ebbe5(0x9c)],_0x1ebbe5(0xa8),(_0x32aefa,_0x4dcafd)=>{const _0x4bdd75=_0x1ebbe5;this[_0x4bdd75(0xa4)][_0x4bdd75(0xa7)](_0x4dcafd[_0x4bdd75(0x75)]),this[_0x4bdd75(0x8f)][_0x4bdd75(0xd5)](_0x4dcafd[_0x4bdd75(0x75)]),this[_0x4bdd75(0x93)](_0x4dcafd[_0x4bdd75(0x75)]);}),this[_0x1ebbe5(0x8c)](this[_0x1ebbe5(0x9c)],_0x1ebbe5(0x80),()=>{const _0x41f88a=_0x1ebbe5;this[_0x41f88a(0xc3)]();}),this[_0x1ebbe5(0x8c)](this[_0x1ebbe5(0x9c)],_0x1ebbe5(0x9a),(_0x5cc7ec,_0x54a5c4)=>{const _0xf9c33e=_0x1ebbe5;this[_0xf9c33e(0x81)](_0x54a5c4[_0xf9c33e(0x9a)],_0x54a5c4[_0xf9c33e(0x95)],_0x54a5c4[_0xf9c33e(0x75)]);}),this[_0x1ebbe5(0x8c)](this[_0x1ebbe5(0x8f)],_0x1ebbe5(0x79),(_0x3d7f45,_0x50709c)=>{const _0x28dc32=_0x1ebbe5;this[_0x28dc32(0xd3)](_0x50709c['id']);}),this[_0x1ebbe5(0x8c)](this[_0x1ebbe5(0x8f)],_0x1ebbe5(0x8a),(_0x57df8b,_0x10d65e)=>{const _0x599659=_0x1ebbe5,_0x29fce4=_0x10d65e[_0x599659(0x85)]?_0x599659(0xbf):_0x599659(0xc7);this[_0x599659(0x90)](_0x10d65e['id'],_0x29fce4),this[_0x599659(0x83)](_0x10d65e['id'],_0x10d65e[_0x599659(0x85)]);}),this[_0x1ebbe5(0x8c)](this[_0x1ebbe5(0x8f)],_0x1ebbe5(0xa2),()=>{const _0x387f2f=_0x1ebbe5;_0xa000b0[_0x387f2f(0x9f)][_0x387f2f(0x7b)](_0x387f2f(0x8e));}),this[_0x1ebbe5(0x8c)](this[_0x1ebbe5(0xa4)],_0x1ebbe5(0xbd),()=>{const _0x5caaa3=_0x1ebbe5;this[_0x5caaa3(0xc3)]();}),_0xa000b0[_0x1ebbe5(0x9f)]['on'](_0x1ebbe5(0xcb),()=>{const _0x443841=_0x1ebbe5;this[_0x443841(0xd6)]();}),this[_0x1ebbe5(0x8c)](_0xa000b0,_0x1ebbe5(0x92),(_0x3654f0,_0x2b7cf2)=>{const _0x5ae3b9=_0x1ebbe5;this[_0x5ae3b9(0xc1)](_0x2b7cf2);}),this[_0x1ebbe5(0x8c)](this[_0x1ebbe5(0x8f)],_0x1ebbe5(0x7e),()=>{const _0x2bb53a=_0x1ebbe5;_0xa000b0[_0x2bb53a(0xd2)]();});}catch(_0x378503){this[_0x1ebbe5(0x81)](_0x378503,_0x1ebbe5(0xc4));}}async[_0x790357(0xa9)](_0x2dbc25,_0x4f57a0){const _0x5d6074=_0x790357;await this[_0x5d6074(0x9c)][_0x5d6074(0x96)](_0x2dbc25,_0x4f57a0);}async[_0x790357(0x83)](_0x46fcbc,_0x1eb40b){const _0x57f89b=_0x790357;await this[_0x57f89b(0x9c)][_0x57f89b(0x91)](_0x46fcbc,_0x1eb40b);}async[_0x790357(0x87)](_0x459ce8){const _0x5df499=_0x790357;await this[_0x5df499(0x9c)][_0x5df499(0x7d)](_0x459ce8);}async[_0x790357(0xd3)](_0x3153bc){const _0x3685fe=_0x790357;await this[_0x3685fe(0xa4)][_0x3685fe(0xbb)](_0x3153bc);}async[_0x790357(0xd6)](){const _0x4ee3df=_0x790357;this[_0x4ee3df(0x8f)][_0x4ee3df(0xb9)](''),this[_0x4ee3df(0x8f)][_0x4ee3df(0xd4)](!0x0),await this[_0x4ee3df(0x9c)][_0x4ee3df(0xc4)](),this[_0x4ee3df(0x8f)][_0x4ee3df(0xd4)](!0x1);}[_0x790357(0xc3)](){const _0x5f1d13=_0x790357,_0x3d3ffd=this[_0x5f1d13(0xa4)][_0x5f1d13(0xd0)]?.['id'],_0x1d54af=this[_0x5f1d13(0xc9)]()[_0x5f1d13(0x78)](_0x385e42=>({'title':_0x385e42[_0x5f1d13(0xc0)],'items':_0x385e42[_0x5f1d13(0x76)][_0x5f1d13(0x78)](_0x36e23a=>({'id':_0x36e23a['id'],'title':_0x36e23a[_0x5f1d13(0xc0)]||_0x278dbc(this[_0x5f1d13(0x86)][_0x5f1d13(0xb8)],_0x5f1d13(0xb2)),'createdAt':new Date(_0x36e23a[_0x5f1d13(0x89)])[_0x5f1d13(0xca)](),'active':_0x36e23a['id']===_0x3d3ffd,'pinned':_0x36e23a[_0x5f1d13(0x85)]}))}));this[_0x5f1d13(0x8f)][_0x5f1d13(0xcd)](_0x1d54af);}[_0x790357(0x90)](_0xd0ace7,_0x5c2300){const _0x30d609=_0x790357;this[_0x30d609(0x8f)][_0x30d609(0xc8)](_0xd0ace7,_0x5c2300,!0x0);}[_0x790357(0x93)](_0x55d11f){const _0x1610c4=_0x790357;this[_0x1610c4(0x8f)][_0x1610c4(0xc8)](_0x55d11f,null,!0x1);}[_0x790357(0x81)](_0x469505,_0x2a1d68,_0x58c09d){const _0x2876f9=_0x790357,_0x20f735=this[_0x2876f9(0xc5)](_0x2a1d68,_0x58c09d);this[_0x2876f9(0x8f)][_0x2876f9(0xb9)](_0x20f735),_0x58c09d&&this[_0x2876f9(0x93)](_0x58c09d),this[_0x2876f9(0x8f)][_0x2876f9(0xd4)](!0x1);}[_0x790357(0xc5)](_0x19ad60,_0x338cab){const _0x127cb9=_0x790357,_0xb45c0a=_0x338cab?this[_0x127cb9(0x9c)][_0x127cb9(0xaa)](_0x338cab):null,_0x397169=_0xb45c0a?.[_0x127cb9(0xc0)]||_0x278dbc(this[_0x127cb9(0x86)][_0x127cb9(0xb8)],_0x127cb9(0xb2));switch(_0x19ad60){case _0x127cb9(0x96):return _0x278dbc(this[_0x127cb9(0x86)][_0x127cb9(0xb8)],_0x127cb9(0xc2),_0x397169);case _0x127cb9(0x91):{const _0x5d3d4d=_0x278dbc(this[_0x127cb9(0x86)][_0x127cb9(0xb8)],_0xb45c0a?.[_0x127cb9(0x85)]?_0x127cb9(0x9d):_0x127cb9(0xbc));return _0x278dbc(this[_0x127cb9(0x86)][_0x127cb9(0xb8)],_0x127cb9(0xa3),[_0x5d3d4d,_0x397169]);}case _0x127cb9(0x7d):return _0x278dbc(this[_0x127cb9(0x86)][_0x127cb9(0xb8)],_0x127cb9(0x7c),_0x397169);case _0x127cb9(0xc4):case _0x127cb9(0x97):return _0x278dbc(this[_0x127cb9(0x86)][_0x127cb9(0xb8)],_0x127cb9(0xa5));default:return _0x278dbc(this[_0x127cb9(0x86)][_0x127cb9(0xb8)],_0x127cb9(0x72));}}[_0x790357(0xc9)](){const _0x10c52b=_0x790357,_0x54bd24=new Date(),_0x175911=new Date(_0x54bd24[_0x10c52b(0x73)](),_0x54bd24[_0x10c52b(0xb0)](),_0x54bd24[_0x10c52b(0xc6)]()),_0x1ef3af=new Date(_0x175911);_0x1ef3af[_0x10c52b(0xa0)](_0x1ef3af[_0x10c52b(0xc6)]()-0x1);const _0x5e599b=new Date(_0x175911);_0x5e599b[_0x10c52b(0xa0)](_0x5e599b[_0x10c52b(0xc6)]()-0xe);const _0x5d64b9=this[_0x10c52b(0x9c)][_0x10c52b(0xae)]({'pinned':!0x0}),_0x20424e=this[_0x10c52b(0x9c)][_0x10c52b(0xae)]({'from':_0x175911,'to':_0x175911}),_0xf0566b=this[_0x10c52b(0x9c)][_0x10c52b(0xae)]({'from':_0x1ef3af,'to':_0x1ef3af}),_0x47a1fe=this[_0x10c52b(0x9c)][_0x10c52b(0xae)]({'from':_0x5e599b,'to':_0x1ef3af}),_0x30a8e6=this[_0x10c52b(0x9c)][_0x10c52b(0xae)]({'to':_0x5e599b}),_0x54fba6=[];return _0x5d64b9[_0x10c52b(0xba)]>0x0&&_0x54fba6[_0x10c52b(0x84)]({'title':_0x278dbc(this[_0x10c52b(0x86)][_0x10c52b(0xb8)],_0x10c52b(0xad)),'items':_0x5d64b9}),_0x20424e[_0x10c52b(0xba)]>0x0&&_0x54fba6[_0x10c52b(0x84)]({'title':_0x278dbc(this[_0x10c52b(0x86)][_0x10c52b(0xb8)],_0x10c52b(0x7a)),'items':_0x20424e}),_0xf0566b[_0x10c52b(0xba)]>0x0&&_0x54fba6[_0x10c52b(0x84)]({'title':_0x278dbc(this[_0x10c52b(0x86)][_0x10c52b(0xb8)],_0x10c52b(0xb7)),'items':_0xf0566b}),_0x47a1fe[_0x10c52b(0xba)]>0x0&&_0x54fba6[_0x10c52b(0x84)]({'title':_0x278dbc(this[_0x10c52b(0x86)][_0x10c52b(0xb8)],_0x10c52b(0x74)),'items':_0x47a1fe}),_0x30a8e6[_0x10c52b(0xba)]>0x0&&_0x54fba6[_0x10c52b(0x84)]({'title':_0x278dbc(this[_0x10c52b(0x86)][_0x10c52b(0xb8)],_0x10c52b(0xd7)),'items':_0x30a8e6}),_0x54fba6;}[_0x790357(0xc1)](_0x58ff28){const _0x571388=_0x790357;this[_0x571388(0x8f)][_0x571388(0x99)](_0x58ff28);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x444e6a=_0x53b7;function _0x4039(){const _0x3467cc=['1437420xYNKVp','setLoadingSkeleton','context','3820yKMobe','selectConversation','locale','editConversationTitle','history','requires','removeHistoryItem','AITabs','view','isOfficialPlugin','535594RqGfbx','removeConversation','updateItemLoadingState','get','25270Qyxhya','9746uHMSQA','showResizeButton','AIChatHistoryUI','setIsMaximized','delegate','updateItems','3439674cGiSXF','318zZulIs','showConversationHistory','openChat','updateHistoryItemsWithCategories','13744bTUMPf','addTab','plugins','errorMessage','isMaximized','isPremiumPlugin','resizeTabs','175kuaLSc','setConversationPinned','_historyView','AI_CHAT_HISTORY_HEADING','1XxQuPx','showError','isLoading','146571gyUEoB','pluginName','updateItemTitle','hideError'];_0x4039=function(){return _0x3467cc;};return _0x4039();}(function(_0x2c8a2c,_0x4abe3f){const _0x446f18=_0x53b7,_0x3236a9=_0x2c8a2c();while(!![]){try{const _0x4b3b66=-parseInt(_0x446f18(0x1a8))/0x1*(-parseInt(_0x446f18(0x18d))/0x2)+parseInt(_0x446f18(0x1ab))/0x3+-parseInt(_0x446f18(0x1af))/0x4+-parseInt(_0x446f18(0x191))/0x5*(-parseInt(_0x446f18(0x199))/0x6)+-parseInt(_0x446f18(0x1a4))/0x7*(-parseInt(_0x446f18(0x19d))/0x8)+-parseInt(_0x446f18(0x198))/0x9+parseInt(_0x446f18(0x183))/0xa*(parseInt(_0x446f18(0x192))/0xb);if(_0x4b3b66===_0x4abe3f)break;else _0x3236a9['push'](_0x3236a9['shift']());}catch(_0x1d2ec6){_0x3236a9['push'](_0x3236a9['shift']());}}}(_0x4039,0x36c79));function _0x53b7(_0x454eaf,_0x446f85){const _0x4039b2=_0x4039();return _0x53b7=function(_0x53b7ab,_0x16f8f0){_0x53b7ab=_0x53b7ab-0x181;let _0x50bf6b=_0x4039b2[_0x53b7ab];return _0x50bf6b;},_0x53b7(_0x454eaf,_0x446f85);}import{ContextPlugin as _0x12823e}from'ckeditor5/src/core.js';import{AITabs as _0x4c68e5}from'../aitabs/aitabs.js';import{IconAIHistory as _0x330da6}from'ckeditor5/src/icons.js';import{AIChatHistoryView as _0x3902de}from'./ui/aichathistoryview.js';import{getTranslation as _0x2af1f7}from'../aicore/utils/common-translations.js';import'../../theme/aichat/aichathistory.css';export const AI_CHAT_HISTORY_UI_EVENT_NAMES=[_0x444e6a(0x19a),_0x444e6a(0x18e),_0x444e6a(0x186),_0x444e6a(0x1a5),_0x444e6a(0x184),_0x444e6a(0x19b),_0x444e6a(0x1a3)];export class AIChatHistoryUI extends _0x12823e{static get[_0x444e6a(0x188)](){return[_0x4c68e5];}[_0x444e6a(0x1a6)];static get[_0x444e6a(0x1ac)](){const _0x1f6268=_0x444e6a;return _0x1f6268(0x194);}static get[_0x444e6a(0x18c)](){return!0x0;}static get[_0x444e6a(0x1a2)](){return!0x0;}constructor(_0xdb539e){const _0x444210=_0x444e6a;super(_0xdb539e);const _0x167c86=this[_0x444210(0x182)][_0x444210(0x19f)][_0x444210(0x190)](_0x444210(0x18a));this[_0x444210(0x1a6)]=new _0x3902de(this[_0x444210(0x182)][_0x444210(0x185)],_0x167c86[_0x444210(0x193)]),this[_0x444210(0x1a6)][_0x444210(0x196)](...AI_CHAT_HISTORY_UI_EVENT_NAMES)['to'](this),_0x167c86[_0x444210(0x18b)][_0x444210(0x19e)]({'id':_0x444210(0x187),'buttonLabel':_0x2af1f7(this[_0x444210(0x182)][_0x444210(0x185)],_0x444210(0x1a7)),'buttonIcon':_0x330da6,'order':0x0,'content':this[_0x444210(0x1a6)]});}[_0x444e6a(0x189)](_0x163c49){const _0x9c3fb4=_0x444e6a;this[_0x9c3fb4(0x1a6)][_0x9c3fb4(0x189)](_0x163c49);}[_0x444e6a(0x197)](_0x25c655){const _0x18fbd4=_0x444e6a;this[_0x18fbd4(0x1a6)][_0x18fbd4(0x19c)](_0x25c655);}[_0x444e6a(0x1ad)](_0x292c6e,_0x494244){const _0x3f2e15=_0x444e6a;this[_0x3f2e15(0x1a6)][_0x3f2e15(0x1ad)](_0x292c6e,_0x494244);}[_0x444e6a(0x18f)](_0x133b54,_0x4a47ab,_0x1bc607){const _0x4fab0d=_0x444e6a;this[_0x4fab0d(0x1a6)][_0x4fab0d(0x18f)](_0x133b54,_0x4a47ab,_0x1bc607);}[_0x444e6a(0x181)](_0x309835){const _0x2fd803=_0x444e6a;this[_0x2fd803(0x1a6)][_0x2fd803(0x1aa)]=_0x309835;}[_0x444e6a(0x1a9)](_0x50c391){const _0x236980=_0x444e6a;this[_0x236980(0x1a6)][_0x236980(0x1a0)]=_0x50c391;}[_0x444e6a(0x1ae)](){const _0x2f4c1c=_0x444e6a;this[_0x2f4c1c(0x1a6)][_0x2f4c1c(0x1a0)]='';}[_0x444e6a(0x195)](_0x5799dd){const _0x326c8a=_0x444e6a;this[_0x326c8a(0x1a6)][_0x326c8a(0x1a1)]=_0x5799dd;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x10d5b8=_0x4d19;function _0x4d19(_0x17ab36,_0x4d43be){const _0x5c553b=_0x5c55();return _0x4d19=function(_0x4d19a0,_0x422bb6){_0x4d19a0=_0x4d19a0-0xb5;let _0x279b2a=_0x5c553b[_0x4d19a0];return _0x279b2a;},_0x4d19(_0x17ab36,_0x4d43be);}(function(_0x4400f2,_0x16e740){const _0x5b8fb1=_0x4d19,_0x4a7b4b=_0x4400f2();while(!![]){try{const _0x159d7b=parseInt(_0x5b8fb1(0xc1))/0x1+parseInt(_0x5b8fb1(0xb6))/0x2+-parseInt(_0x5b8fb1(0xbc))/0x3*(-parseInt(_0x5b8fb1(0xe2))/0x4)+parseInt(_0x5b8fb1(0xdc))/0x5*(parseInt(_0x5b8fb1(0xc0))/0x6)+parseInt(_0x5b8fb1(0xd6))/0x7*(parseInt(_0x5b8fb1(0xe1))/0x8)+parseInt(_0x5b8fb1(0xc8))/0x9*(-parseInt(_0x5b8fb1(0xe3))/0xa)+parseInt(_0x5b8fb1(0xbe))/0xb*(-parseInt(_0x5b8fb1(0xd4))/0xc);if(_0x159d7b===_0x16e740)break;else _0x4a7b4b['push'](_0x4a7b4b['shift']());}catch(_0x3d339a){_0x4a7b4b['push'](_0x4a7b4b['shift']());}}}(_0x5c55,0x66f01));function _0x5c55(){const _0x590ede=['map','itemRemoved','updateTitle','itemUpdated','24iYHnll','updateConversation','6776xjUJxi','items','updateItemTitle','group','addItem','error','5490krNWjL','init','getConversations','getMonth','fetchConversations','3328GPnzUb','144428sUzXKP','310510xTYaeB','pinned','updatePinned','getResult','1652264ybBdUf','execute','filter','getFullYear','getDate','getTime','30ocLHdd','from','6717447nVqYcR','push','348CluLqS','51515UqulAm','fire','findIndex','removeItem','loadItems','find','deleteConversation','18eYulWJ','updateItemPinned','getItem','splice','itemsLoaded','getItems','createdAt','connector'];_0x5c55=function(){return _0x590ede;};return _0x5c55();}import{EmitterMixin as _0x3046f7}from'ckeditor5/src/utils.js';import{AIChatHistoryItem as _0x507d92}from'./aichathistoryitem.js';export class AIChatHistoryConversations extends _0x3046f7(){[_0x10d5b8(0xd7)]=[];[_0x10d5b8(0xcf)];[_0x10d5b8(0xd9)];constructor({connector:_0x35c9fb,group:_0x3796eb}){const _0x2644cd=_0x10d5b8;super(),this[_0x2644cd(0xcf)]=_0x35c9fb,this[_0x2644cd(0xd9)]=_0x3796eb;}async[_0x10d5b8(0xdd)](){const _0x8dd95f=_0x10d5b8;try{const _0xf959af=this[_0x8dd95f(0xcf)][_0x8dd95f(0xe0)](this[_0x8dd95f(0xd9)]),_0x351b05=await _0xf959af[_0x8dd95f(0xde)]();this[_0x8dd95f(0xc5)](_0x351b05);}catch(_0x5b334c){this[_0x8dd95f(0xc2)](_0x8dd95f(0xdb),{'error':_0x5b334c,'operation':_0x8dd95f(0xdd)});}}[_0x10d5b8(0xda)](_0x14d0ba){const _0xfda535=_0x10d5b8;this[_0xfda535(0xd7)][_0xfda535(0xbf)](_0x14d0ba);}async[_0x10d5b8(0xc4)](_0x19e78f){const _0x595854=_0x10d5b8,_0x4d210a=this[_0x595854(0xd7)][_0x595854(0xc3)](_0x348a76=>_0x348a76['id']===_0x19e78f);if(-0x1===_0x4d210a)return!0x1;try{return await this[_0x595854(0xcf)][_0x595854(0xc7)](_0x19e78f)[_0x595854(0xb7)](),this[_0x595854(0xd7)][_0x595854(0xcb)](_0x4d210a,0x1),this[_0x595854(0xc2)](_0x595854(0xd1),{'itemId':_0x19e78f}),!0x0;}catch(_0x7cc221){return this[_0x595854(0xc2)](_0x595854(0xdb),{'error':_0x7cc221,'operation':_0x595854(0xc4),'itemId':_0x19e78f}),!0x1;}}[_0x10d5b8(0xca)](_0x568a16){const _0x432c16=_0x10d5b8;return this[_0x432c16(0xd7)][_0x432c16(0xc6)](_0xab0274=>_0xab0274['id']===_0x568a16);}async[_0x10d5b8(0xd8)](_0x3f600a,_0x506183){const _0x5e43b4=_0x10d5b8,_0x225fe3=this[_0x5e43b4(0xca)](_0x3f600a);if(!_0x225fe3)return!0x1;try{return await this[_0x5e43b4(0xcf)][_0x5e43b4(0xd5)](_0x3f600a,{'title':_0x506183})[_0x5e43b4(0xb5)](),_0x225fe3[_0x5e43b4(0xd2)](_0x506183),this[_0x5e43b4(0xc2)](_0x5e43b4(0xd3),{'itemId':_0x3f600a,'updates':{'title':_0x506183}}),!0x0;}catch(_0x40373e){return this[_0x5e43b4(0xc2)](_0x5e43b4(0xdb),{'error':_0x40373e,'operation':_0x5e43b4(0xd8),'itemId':_0x3f600a}),!0x1;}}async[_0x10d5b8(0xc9)](_0x5def92,_0x5c1228){const _0x5a0aaa=_0x10d5b8,_0x443246=this[_0x5a0aaa(0xca)](_0x5def92);if(!_0x443246)return!0x1;try{return await this[_0x5a0aaa(0xcf)][_0x5a0aaa(0xd5)](_0x5def92,{'pinned':_0x5c1228})[_0x5a0aaa(0xb5)](),_0x443246[_0x5a0aaa(0xe5)](_0x5c1228),this[_0x5a0aaa(0xc2)](_0x5a0aaa(0xd3),{'itemId':_0x5def92,'updates':{'pinned':_0x5c1228}}),!0x0;}catch(_0x334b32){return this[_0x5a0aaa(0xc2)](_0x5a0aaa(0xdb),{'error':_0x334b32,'operation':_0x5a0aaa(0xc9),'itemId':_0x5def92}),!0x1;}}[_0x10d5b8(0xc5)](_0x3d73eb){const _0x37ed85=_0x10d5b8;try{this[_0x37ed85(0xd7)]=[],_0x3d73eb[_0x37ed85(0xd0)](_0x53487b=>{const _0x19cd4d=_0x37ed85;this[_0x19cd4d(0xda)](new _0x507d92(_0x53487b));}),this[_0x37ed85(0xc2)](_0x37ed85(0xcc),{'items':[...this[_0x37ed85(0xd7)]]});}catch(_0x4035a1){this[_0x37ed85(0xc2)](_0x37ed85(0xdb),{'error':_0x4035a1,'operation':_0x37ed85(0xc5)});}}[_0x10d5b8(0xcd)](_0x622c1b={}){const _0x5eaac2=_0x10d5b8,_0x9221e6=void 0x0!==_0x622c1b[_0x5eaac2(0xe4)]&&_0x622c1b[_0x5eaac2(0xe4)],_0x310819=_0x622c1b[_0x5eaac2(0xbd)]?new Date(_0x622c1b[_0x5eaac2(0xbd)][_0x5eaac2(0xb9)](),_0x622c1b[_0x5eaac2(0xbd)][_0x5eaac2(0xdf)](),_0x622c1b[_0x5eaac2(0xbd)][_0x5eaac2(0xba)]()):null,_0x2062b5=_0x622c1b['to']?new Date(_0x622c1b['to'][_0x5eaac2(0xb9)](),_0x622c1b['to'][_0x5eaac2(0xdf)](),_0x622c1b['to'][_0x5eaac2(0xba)]()):null;return this[_0x5eaac2(0xd7)][_0x5eaac2(0xb8)](_0x313853=>{const _0x5d464b=_0x5eaac2;if(_0x313853[_0x5d464b(0xe4)]!==_0x9221e6)return!0x1;if(_0x2062b5){const _0x48b7d=new Date(_0x313853[_0x5d464b(0xce)][_0x5d464b(0xb9)](),_0x313853[_0x5d464b(0xce)][_0x5d464b(0xdf)](),_0x313853[_0x5d464b(0xce)][_0x5d464b(0xba)]());return _0x310819?_0x310819[_0x5d464b(0xbb)]()===_0x2062b5[_0x5d464b(0xbb)]()?_0x48b7d[_0x5d464b(0xbb)]()===_0x310819[_0x5d464b(0xbb)]():_0x48b7d<_0x2062b5&&_0x48b7d>=_0x310819:_0x48b7d<_0x2062b5;}return!0x0;});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x2ecf(){var _0x20f006=['12FRWrDD','title','9543051wMKYDB','updateTitle','pinned','createdAt','updatePinned','952bgluTY','2545878xQpWVI','1748436hXcvJA','set','1744329BPBNnZ','6645328OLbhgt','1670485zEyczV','76797xPImdm','updatedAt'];_0x2ecf=function(){return _0x20f006;};return _0x2ecf();}var _0x669a9b=_0x4fe1;(function(_0x311901,_0x310d50){var _0x3841c2=_0x4fe1,_0x376524=_0x311901();while(!![]){try{var _0x593639=parseInt(_0x3841c2(0x1d8))/0x1+parseInt(_0x3841c2(0x1d7))/0x2+parseInt(_0x3841c2(0x1da))/0x3+-parseInt(_0x3841c2(0x1db))/0x4+-parseInt(_0x3841c2(0x1dc))/0x5*(parseInt(_0x3841c2(0x1df))/0x6)+-parseInt(_0x3841c2(0x1e1))/0x7+-parseInt(_0x3841c2(0x1d6))/0x8*(-parseInt(_0x3841c2(0x1dd))/0x9);if(_0x593639===_0x310d50)break;else _0x376524['push'](_0x376524['shift']());}catch(_0x412dfb){_0x376524['push'](_0x376524['shift']());}}}(_0x2ecf,0xe1ef2));import{ObservableMixin as _0x3f1c20}from'ckeditor5/src/utils.js';function _0x4fe1(_0x1b1835,_0x4170ac){var _0x2ecf5d=_0x2ecf();return _0x4fe1=function(_0x4fe1b6,_0x62cfa7){_0x4fe1b6=_0x4fe1b6-0x1d5;var _0x2b802a=_0x2ecf5d[_0x4fe1b6];return _0x2b802a;},_0x4fe1(_0x1b1835,_0x4170ac);}import{escape as _0xb78410}from'es-toolkit/compat';export class AIChatHistoryItem extends _0x3f1c20(){['id'];[_0x669a9b(0x1e4)];constructor({id:_0x538d82,title:_0x40ba68,createdAt:_0x52cb81,updatedAt:_0x3fe40a,pinned:_0x448f44}){var _0x88ecdf=_0x669a9b;super(),this['id']=_0x538d82,this[_0x88ecdf(0x1e4)]=new Date(_0x52cb81),this[_0x88ecdf(0x1d9)](_0x88ecdf(0x1e0),_0x40ba68),this[_0x88ecdf(0x1d9)](_0x88ecdf(0x1de),_0x3fe40a?new Date(_0x3fe40a):null),this[_0x88ecdf(0x1d9)](_0x88ecdf(0x1e3),_0x448f44||!0x1);}[_0x669a9b(0x1e2)](_0x5b3a09){var _0x3fec4c=_0x669a9b;this[_0x3fec4c(0x1d9)](_0x3fec4c(0x1e0),_0xb78410(_0x5b3a09)),this[_0x3fec4c(0x1de)]=new Date();}[_0x669a9b(0x1d5)](_0x4f71ac){var _0x39345e=_0x669a9b;this[_0x39345e(0x1d9)](_0x39345e(0x1e3),_0x4f71ac),this[_0x39345e(0x1de)]=new Date();}}
|