@ckeditor/ckeditor5-ai 47.7.1 → 47.7.2-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
|
-
import{ButtonView as
|
|
23
|
+
import{ButtonView as _0x3e62f1,IconView as _0xf24aaa,LabeledFieldView as _0x5f53ca,createLabeledInputText as _0xcfecc5}from'ckeditor5/src/ui.js';import{IconLoupe as _0x37456e,IconCancel as _0x3aec01}from'ckeditor5/src/icons.js';import{getTranslation as _0x40a8c1}from'../../../../aicore/utils/common-translations.js';export class AIChatContextResourcesSearchInputView extends _0x5f53ca{['iconView'];['resetButtonView'];['_viewConfig'];constructor(_0x1237df){const t=_0x1237df['t'],_0x4a0fdd={'showResetButton':!0x0,'showIcon':!0x0,'creator':_0xcfecc5,'label':_0x40a8c1(_0x1237df,'AI_CHAT_SEARCH_RESOURCES')};super(_0x1237df,_0x4a0fdd['creator']),this['label']=_0x4a0fdd['label'],this['_viewConfig']=_0x4a0fdd,this['_viewConfig']['showIcon']&&this['_setupSearchIcon'](),this['_viewConfig']['showResetButton']&&this['_setupResetButton'](_0x1237df,t),this['_setupEventListeners']();}['reset'](){this['fieldView']['reset'](),this['_viewConfig']['showResetButton']&&this['resetButtonView']&&(this['resetButtonView']['isVisible']=!0x1),this['search']('');}['search'](_0x1afd83){this['fire']('search',_0x1afd83);}['getQuery'](){return this['fieldView']['element']?.['value']||'';}['_setupSearchIcon'](){this['iconView']=new _0xf24aaa(),this['iconView']['content']=_0x37456e,this['fieldWrapperChildren']['add'](this['iconView'],0x0),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-icon'}});}['_setupResetButton'](_0x56704a,t){this['resetButtonView']=new _0x3e62f1(_0x56704a),this['resetButtonView']['set']({'label':t('Clear'),'icon':_0x3aec01,'class':'ck-search__reset','isVisible':!0x1,'tooltip':!0x0}),this['resetButtonView']['on']('execute',()=>{this['reset'](),this['focus'](),this['fire']('reset');}),this['resetButtonView']['bind']('isVisible')['to'](this['fieldView'],'isEmpty',_0x3881e2=>!_0x3881e2),this['fieldWrapperChildren']['add'](this['resetButtonView']),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-reset'}});}['_setupEventListeners'](){this['listenTo'](this['fieldView'],'input',()=>{this['search'](this['fieldView']['element']['value']);}),this['bind']('isEnabled')['to'](this);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x20306f=_0x3a8e;(function(_0x1a5364,_0x3bebbf){const _0x4a44fc=_0x3a8e,_0x2b5b26=_0x1a5364();while(!![]){try{const _0x12ae3f=-parseInt(_0x4a44fc(0x11c))/0x1+-parseInt(_0x4a44fc(0x12b))/0x2*(-parseInt(_0x4a44fc(0x132))/0x3)+-parseInt(_0x4a44fc(0x120))/0x4+-parseInt(_0x4a44fc(0x117))/0x5+-parseInt(_0x4a44fc(0x128))/0x6+-parseInt(_0x4a44fc(0x130))/0x7*(parseInt(_0x4a44fc(0x119))/0x8)+parseInt(_0x4a44fc(0x11b))/0x9;if(_0x12ae3f===_0x3bebbf)break;else _0x2b5b26['push'](_0x2b5b26['shift']());}catch(_0x3abdf4){_0x2b5b26['push'](_0x2b5b26['shift']());}}}(_0x527d,0x3aa24));function _0x527d(){const _0x528050=['_overflowManager','ck-ai-chat-context-chips-wrapper','ck-ai-chat-controls_context_show-more-button','ck-ai-chat-controls-button','809766HrYVLo','reorganizeChips','div','782854Hkfdzd','destroy','ck-reset_all','_createContextChips','ck-ai-chat-context-controls__show-more-balloon-panel','763WBnSzW','createCollection','3JcPhEj','_bodyCollection','ck-ai-chat__feed__context-chips','setTemplate','1970495pCrkDY','ck-ai-chat-context-chips-wrapper-balloon','1992zZdmMh','add','5885775hYKdda','42115jHAYfR','element','_contextChips','locale','827688jeCUmF','querySelector','setContainerElement','render'];_0x527d=function(){return _0x528050;};return _0x527d();}import{View as _0x780b89}from'ckeditor5/src/ui.js';import{AIChatContextItemButtonView as _0x179acb}from'../controls/aichatcontextitembuttonview.js';import{AIChatChipsOverflowManager as _0x2bf5be}from'../controls/aichatchipsoverflowmanager.js';function _0x3a8e(_0x2d0c35,_0x4e9b49){const _0x527d27=_0x527d();return _0x3a8e=function(_0x3a8e10,_0x2e7db2){_0x3a8e10=_0x3a8e10-0x116;let _0x4dc085=_0x527d27[_0x3a8e10];return _0x4dc085;},_0x3a8e(_0x2d0c35,_0x4e9b49);}const jo=_0x20306f(0x134),Bo=_0x20306f(0x125),Mo=_0x20306f(0x118),yo=_0x20306f(0x127),Fo=_0x20306f(0x126),Io=_0x20306f(0x12f);export class AIChatFeedContextChipsView extends _0x780b89{[_0x20306f(0x11e)]=this[_0x20306f(0x131)]();[_0x20306f(0x124)];[_0x20306f(0x133)];constructor(_0x758a8d,_0x497037,_0x302eed){const _0x589748=_0x20306f;super(_0x758a8d),this[_0x589748(0x133)]=_0x302eed,this[_0x589748(0x12e)](_0x497037);const _0x18021c={'cssClasses':{'showMoreButton':Fo,'showMoreBalloon':Io,'overflowContainer':Mo,'controlsButton':yo}};this[_0x589748(0x124)]=new _0x2bf5be(_0x758a8d,this[_0x589748(0x11e)],_0x18021c,this[_0x589748(0x133)],this),this[_0x589748(0x116)]({'tag':_0x589748(0x12a),'attributes':{'class':[jo,'ck',_0x589748(0x12d)]},'children':[{'tag':_0x589748(0x12a),'attributes':{'class':Bo},'children':this[_0x589748(0x11e)]}]});}[_0x20306f(0x123)](){const _0x1c8d78=_0x20306f;super[_0x1c8d78(0x123)]();const _0x1de0ae=this[_0x1c8d78(0x11d)][_0x1c8d78(0x121)]('.'+Bo);_0x1de0ae&&(this[_0x1c8d78(0x124)][_0x1c8d78(0x122)](_0x1de0ae),this[_0x1c8d78(0x124)][_0x1c8d78(0x129)]());}[_0x20306f(0x12c)](){const _0x762d4d=_0x20306f;super[_0x762d4d(0x12c)](),this[_0x762d4d(0x124)][_0x762d4d(0x12c)]();}[_0x20306f(0x12e)](_0x5c15ba){const _0x228f8b=_0x20306f;for(const _0x41f518 of _0x5c15ba){const _0x3ddb43=new _0x179acb(this[_0x228f8b(0x11f)],_0x41f518,!0x0,!0x1);this[_0x228f8b(0x11e)][_0x228f8b(0x11a)](_0x3ddb43);}}}
|
|
@@ -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 _0x3218c0=_0x391a;(function(_0xd9035,_0x1b0587){const _0x1968fd=_0x391a,_0x3e10f6=_0xd9035();while(!![]){try{const _0x45e83c=-parseInt(_0x1968fd(0x83))/0x1+-parseInt(_0x1968fd(0x7e))/0x2+parseInt(_0x1968fd(0x77))/0x3*(-parseInt(_0x1968fd(0x8a))/0x4)+-parseInt(_0x1968fd(0x8b))/0x5*(-parseInt(_0x1968fd(0x76))/0x6)+parseInt(_0x1968fd(0x7b))/0x7+parseInt(_0x1968fd(0x88))/0x8+parseInt(_0x1968fd(0x78))/0x9;if(_0x45e83c===_0x1b0587)break;else _0x3e10f6['push'](_0x3e10f6['shift']());}catch(_0x1e7825){_0x3e10f6['push'](_0x3e10f6['shift']());}}}(_0x499f,0xe6912));function _0x499f(){const _0xe0cf99=['push','content','setTemplate','87954RctTJW','96891uYFbky','2588715qEuyBn','span','add','9101512vkFOdc','ck-ai-chat__feed__interaction-header','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH','682154SORUfH','capabilities','ck-ai-chat__feed__interaction-header__capabilities','div','AI_CHAT_FEED_REPLY_ITEM_USED_REASONING','886319XdHQTm','extendTemplate','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING','ck-hidden','ck-ai-chat__feed__interaction-header__capabilities__text','1349736oLgZhy','children','92LCRZlB','395slGkjy'];_0x499f=function(){return _0xe0cf99;};return _0x499f();}import{IconBulb as _0x2815bf,IconWeb as _0x11f4c7}from'@ckeditor/ckeditor5-icons';import{IconView as _0xadbc19,View as _0x1335dd}from'ckeditor5/src/ui.js';import{AIChatFeedItemView as _0x2f1ea1}from'./aichatfeeditemview.js';function _0x391a(_0x232d6d,_0x307af3){const _0x499f0a=_0x499f();return _0x391a=function(_0x391a9f,_0x291ca3){_0x391a9f=_0x391a9f-0x76;let _0x547811=_0x499f0a[_0x391a9f];return _0x547811;},_0x391a(_0x232d6d,_0x307af3);}import{getTranslation as _0x177d9d}from'../../../aicore/utils/common-translations.js';export class AIChatFeedInteractionHeaderView extends _0x2f1ea1{[_0x3218c0(0x7f)];constructor(_0x1ac49b,_0x220d08){const _0x2c5d31=_0x3218c0;super(_0x220d08);const {isWebSearchEnabled:_0x5a5ec3,isReasoningEnabled:_0x48643f}=_0x220d08[_0x2c5d31(0x7f)],_0x369ab8=[];let _0x5e1c21='';_0x5a5ec3&&_0x48643f?(_0x5e1c21=_0x177d9d(_0x1ac49b,_0x2c5d31(0x85)),_0x369ab8[_0x2c5d31(0x8c)](ca(_0x11f4c7)),_0x369ab8[_0x2c5d31(0x8c)](ca(_0x2815bf))):_0x5a5ec3?(_0x5e1c21=_0x177d9d(_0x1ac49b,_0x2c5d31(0x7d)),_0x369ab8[_0x2c5d31(0x8c)](ca(_0x11f4c7))):_0x48643f&&(_0x5e1c21=_0x177d9d(_0x1ac49b,_0x2c5d31(0x82)),_0x369ab8[_0x2c5d31(0x8c)](ca(_0x2815bf))),this[_0x2c5d31(0x84)]({'attributes':{'class':[_0x2c5d31(0x7c),_0x5e1c21?'':_0x2c5d31(0x86)]}});const _0x3a84c6=new _0x1335dd();_0x3a84c6[_0x2c5d31(0x8e)]({'tag':_0x2c5d31(0x81),'attributes':{'class':['ck',_0x2c5d31(0x80)]},'children':[..._0x369ab8,{'tag':_0x2c5d31(0x79),'attributes':{'class':[_0x2c5d31(0x87)]},'children':[_0x5e1c21]}]}),this[_0x2c5d31(0x89)][_0x2c5d31(0x7a)](_0x3a84c6),this[_0x2c5d31(0x7f)]=_0x220d08[_0x2c5d31(0x7f)];}}function ca(_0xdce698){const _0x3a0ca7=_0x3218c0,_0x1f2e7d=new _0xadbc19();return _0x1f2e7d[_0x3a0ca7(0x8d)]=_0xdce698,_0x1f2e7d;}
|
|
@@ -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
|
-
|
|
23
|
+
function _0x29d3(){const _0x1e3250=['markAsDone','187755ZRZKuG','static','ck-reset_all-excluded','1808NBYaAA','ck-ai-chat__feed__ai-reply','replyContainer','balloonPanelView','streaming','render','updateContent','1521895VqsDTR','locale','div','innerHTML','27207kwxiAQ','element','ck-ai-chat__feed__ai-reply-container','addMany','537KdRAXz','738738vJAWuu','options','5984VrfWvT','3561964Slatxq','streamIntoElement','initialContent','setTemplate','extendTemplate','children','2158604BaDxRi','updateSources','map','isVisible','_bodyCollection','add'];_0x29d3=function(){return _0x1e3250;};return _0x29d3();}const _0x36cd89=_0x16da;(function(_0x4c9e43,_0x374983){const _0x792807=_0x16da,_0x42056a=_0x4c9e43();while(!![]){try{const _0xf70e71=parseInt(_0x792807(0x6d))/0x1+parseInt(_0x792807(0x89))/0x2+parseInt(_0x792807(0x7f))/0x3*(-parseInt(_0x792807(0x82))/0x4)+-parseInt(_0x792807(0x77))/0x5+parseInt(_0x792807(0x80))/0x6+parseInt(_0x792807(0x83))/0x7+-parseInt(_0x792807(0x70))/0x8*(parseInt(_0x792807(0x7b))/0x9);if(_0xf70e71===_0x374983)break;else _0x42056a['push'](_0x42056a['shift']());}catch(_0x3bd9f2){_0x42056a['push'](_0x42056a['shift']());}}}(_0x29d3,0x9d257));import{AIChatFeedItemView as _0x437f43}from'./aichatfeeditemview.js';import{parse as _0x327d04,render as _0x2f33ba}from'../../../aicore/utils/htmlparser.js';import{View as _0x178a1c}from'ckeditor5/src/ui.js';function _0x16da(_0x5bd28e,_0x538ebd){const _0x29d349=_0x29d3();return _0x16da=function(_0x16da16,_0x5c230a){_0x16da16=_0x16da16-0x6b;let _0x3870a3=_0x29d349[_0x16da16];return _0x3870a3;},_0x16da(_0x5bd28e,_0x538ebd);}import{AIWebSourcesView as _0x552a4c,AIWebSourceView as _0x2980dd}from'../../../aicore/ui/suggestioncontainer/aiwebsourcesview.js';export class AIChatFeedReplyItemView extends _0x437f43{[_0x36cd89(0x72)];[_0x36cd89(0x8d)];constructor(_0x450112,_0x2c5be6,_0x4c694b){const _0x567966=_0x36cd89;super(_0x2c5be6),this[_0x567966(0x8d)]=_0x4c694b,this[_0x567966(0x78)]=_0x450112,this[_0x567966(0x87)]({'attributes':{'class':[_0x567966(0x71)]}}),this[_0x567966(0x72)]=new _0x178a1c(),this[_0x567966(0x72)][_0x567966(0x86)]({'tag':_0x567966(0x79),'attributes':{'class':['ck',_0x567966(0x6f),_0x567966(0x7d)]}}),this[_0x567966(0x88)][_0x567966(0x6b)](this[_0x567966(0x72)]);}async[_0x36cd89(0x75)](){const _0x273acf=_0x36cd89;super[_0x273acf(0x75)](),this[_0x273acf(0x81)][_0x273acf(0x85)]&&(await this[_0x273acf(0x76)]({'parsedContent':_0x327d04(this[_0x273acf(0x81)][_0x273acf(0x85)]),'renderingStrategy':_0x273acf(0x6e)}),this[_0x273acf(0x6c)]());}async[_0x36cd89(0x76)]({parsedContent:_0x29c0f4,renderingStrategy:_0x55d3e2,abortSignal:_0x5f4258}){const _0x272d9a=_0x36cd89;_0x272d9a(0x74)===_0x55d3e2?await this[_0x272d9a(0x84)](_0x29c0f4,this[_0x272d9a(0x72)][_0x272d9a(0x7c)],_0x5f4258):this[_0x272d9a(0x72)][_0x272d9a(0x7c)][_0x272d9a(0x7a)]=_0x2f33ba(_0x29c0f4);}[_0x36cd89(0x8a)](_0xcccdab){const _0x346073=_0x36cd89,_0xd4bd56=new _0x552a4c(this[_0x346073(0x78)],this[_0x346073(0x8d)]);_0xd4bd56[_0x346073(0x88)][_0x346073(0x7e)](_0xcccdab[_0x346073(0x8b)](_0x347c45=>new _0x2980dd(this[_0x346073(0x78)],_0x347c45,_0xd4bd56[_0x346073(0x73)]))),_0xd4bd56[_0x346073(0x8c)]=!0x0,this[_0x346073(0x88)][_0x346073(0x6b)](_0xd4bd56);}}
|
|
@@ -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 _0x414cf1=_0xd09e;function _0xd09e(_0x303e85,_0x5392e4){var _0x522386=_0x5223();return _0xd09e=function(_0xd09e48,_0x11eeb0){_0xd09e48=_0xd09e48-0x191;var _0x4e32f5=_0x522386[_0xd09e48];return _0x4e32f5;},_0xd09e(_0x303e85,_0x5392e4);}function _0x5223(){var _0x3b3d99=['rejectSuggestion','markAsDone','toggleSuggestionDisplayMode','1749837yHNNrS','ck-ai-chat__feed__ai-suggestion','mouseOverSuggestion','areActionsDisabled','containerView','bind','updateContent','insertSuggestion','533293eNwgMc','showChangeInText','6XBmNMr','availableActions','children','showDiff','fire','setPartActive','3599500AUEILg','4099932zxQKbU','getPartView','addMany','2031968IkyVey','like','mouseLeaveSuggestion','bodyView','updatePartState','applySuggestion','options','extendTemplate','set','updateSources','dislike','1648526utXQTb','7lMuktw','3954955HZlMBD','isTrackChangesOn'];_0x5223=function(){return _0x3b3d99;};return _0x5223();}(function(_0x244090,_0x36e3a2){var _0x2d3acc=_0xd09e,_0x19c200=_0x244090();while(!![]){try{var _0x4055e3=parseInt(_0x2d3acc(0x1ab))/0x1+parseInt(_0x2d3acc(0x19c))/0x2+-parseInt(_0x2d3acc(0x1a3))/0x3+-parseInt(_0x2d3acc(0x1b3))/0x4+-parseInt(_0x2d3acc(0x19e))/0x5*(-parseInt(_0x2d3acc(0x1ad))/0x6)+parseInt(_0x2d3acc(0x19d))/0x7*(parseInt(_0x2d3acc(0x191))/0x8)+-parseInt(_0x2d3acc(0x1b4))/0x9;if(_0x4055e3===_0x36e3a2)break;else _0x19c200['push'](_0x19c200['shift']());}catch(_0x5cb0fc){_0x19c200['push'](_0x19c200['shift']());}}}(_0x5223,0x713e1));import{AIChatFeedItemView as _0x43557e}from'./aichatfeeditemview.js';import{AISuggestionContainerView as _0x16084b}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';export class AIChatFeedSuggestionItemView extends _0x43557e{[_0x414cf1(0x1a7)];constructor(_0x1aad11,_0x366475,_0x102695){var _0x2c8d21=_0x414cf1;super(_0x366475),this[_0x2c8d21(0x199)](_0x2c8d21(0x19f),!0x1),this[_0x2c8d21(0x1a7)]=new _0x16084b(_0x1aad11,{'showDiff':_0x366475[_0x2c8d21(0x1b0)],'areActionsDisabled':_0x366475[_0x2c8d21(0x1a6)],'availableActions':_0x366475[_0x2c8d21(0x1ae)]},_0x102695),this[_0x2c8d21(0x1a7)]['on'](_0x2c8d21(0x1a2),(_0x4f616e,_0x1020a0)=>{var _0x3332fc=_0x2c8d21;this[_0x3332fc(0x1b1)](_0x3332fc(0x1a2),{'replyId':this[_0x3332fc(0x197)]['id'],'showDiff':_0x1020a0[_0x3332fc(0x1b0)]});}),this[_0x2c8d21(0x1a7)][_0x2c8d21(0x1a8)](_0x2c8d21(0x19f))['to'](this),this[_0x2c8d21(0x1a7)]['on'](_0x2c8d21(0x192),()=>{var _0x200ed8=_0x2c8d21;this[_0x200ed8(0x1b1)](_0x200ed8(0x192),{'replyId':this[_0x200ed8(0x197)]['id']});}),this[_0x2c8d21(0x1a7)]['on'](_0x2c8d21(0x19b),()=>{var _0x52a8e6=_0x2c8d21;this[_0x52a8e6(0x1b1)](_0x52a8e6(0x19b),{'replyId':this[_0x52a8e6(0x197)]['id']});}),this[_0x2c8d21(0x1a7)]['on'](_0x2c8d21(0x1ac),(_0x5086c5,{index:_0x58f290})=>{var _0x2974f6=_0x2c8d21;this[_0x2974f6(0x1b1)](_0x2974f6(0x1ac),{'replyId':this[_0x2974f6(0x197)]['id'],'partIndex':_0x58f290});}),this[_0x2c8d21(0x1a7)]['on'](_0x2c8d21(0x196),(_0x375b40,{index:_0x2fa63c}={})=>{var _0x3adbb6=_0x2c8d21;this[_0x3adbb6(0x1b1)](_0x3adbb6(0x196),{'replyId':this[_0x3adbb6(0x197)]['id'],'partIndex':_0x2fa63c});}),this[_0x2c8d21(0x1a7)]['on'](_0x2c8d21(0x1aa),(_0x27ca6c,{index:_0x33f0db}={})=>{var _0x46b37a=_0x2c8d21;this[_0x46b37a(0x1b1)](_0x46b37a(0x1aa),{'replyId':this[_0x46b37a(0x197)]['id'],'partIndex':_0x33f0db});}),this[_0x2c8d21(0x1a7)]['on'](_0x2c8d21(0x1a0),(_0x3d5ae9,{index:_0x4810ed})=>{var _0x23d02d=_0x2c8d21;this[_0x23d02d(0x1b1)](_0x23d02d(0x1a0),{'replyId':this[_0x23d02d(0x197)]['id'],'partIndex':_0x4810ed});}),this[_0x2c8d21(0x1a7)]['on'](_0x2c8d21(0x1a5),(_0x396d06,{index:_0x5b2c91})=>{var _0x5a4b2b=_0x2c8d21;this[_0x5a4b2b(0x1b1)](_0x5a4b2b(0x1a5),{'replyId':this[_0x5a4b2b(0x197)]['id'],'partIndex':_0x5b2c91});}),this[_0x2c8d21(0x1a7)]['on'](_0x2c8d21(0x193),(_0x53eb11,{index:_0x3cf500})=>{var _0x3dd253=_0x2c8d21;this[_0x3dd253(0x1b1)](_0x3dd253(0x193),{'replyId':this[_0x3dd253(0x197)]['id'],'partIndex':_0x3cf500});}),this[_0x2c8d21(0x1af)][_0x2c8d21(0x1b6)]([this[_0x2c8d21(0x1a7)]]),this[_0x2c8d21(0x198)]({'attributes':{'class':[_0x2c8d21(0x1a4)]}});}async[_0x414cf1(0x1a9)](_0x53d513){var _0x28bbdb=_0x414cf1;await this[_0x28bbdb(0x1a7)][_0x28bbdb(0x1a9)](_0x53d513);}[_0x414cf1(0x195)](_0x32d561,_0x23f990){var _0x167bd6=_0x414cf1;this[_0x167bd6(0x1a7)][_0x167bd6(0x194)][_0x167bd6(0x195)](_0x32d561,_0x23f990);}[_0x414cf1(0x1b2)](_0x3c0b2d,_0x3ffbf7){var _0x53803b=_0x414cf1;!0x1===_0x3c0b2d?this[_0x53803b(0x1a7)][_0x53803b(0x194)][_0x53803b(0x1b2)](!0x1):this[_0x53803b(0x1a7)][_0x53803b(0x194)][_0x53803b(0x1b2)](_0x3c0b2d,_0x3ffbf7);}[_0x414cf1(0x19a)](_0xdca7ac){var _0xf31c1e=_0x414cf1;this[_0xf31c1e(0x1a7)][_0xf31c1e(0x19a)](_0xdca7ac);}[_0x414cf1(0x1b5)](_0xe09a0f){var _0x358ca0=_0x414cf1;return this[_0x358ca0(0x1a7)][_0x358ca0(0x194)][_0x358ca0(0x1b5)](_0xe09a0f);}[_0x414cf1(0x1a1)](){var _0x41ca0d=_0x414cf1;super[_0x41ca0d(0x1a1)](),this[_0x41ca0d(0x1a7)][_0x41ca0d(0x1a1)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x42285a=_0xcdbc;(function(_0x5c5337,_0x4af8f4){var _0x10002b=_0xcdbc,_0xab4620=_0x5c5337();while(!![]){try{var _0x58e52d=parseInt(_0x10002b(0x131))/0x1*(parseInt(_0x10002b(0x12f))/0x2)+parseInt(_0x10002b(0x134))/0x3*(parseInt(_0x10002b(0x138))/0x4)+-parseInt(_0x10002b(0x143))/0x5+-parseInt(_0x10002b(0x139))/0x6+-parseInt(_0x10002b(0x12c))/0x7+parseInt(_0x10002b(0x13b))/0x8+parseInt(_0x10002b(0x135))/0x9;if(_0x58e52d===_0x4af8f4)break;else _0xab4620['push'](_0xab4620['shift']());}catch(_0x325f54){_0xab4620['push'](_0xab4620['shift']());}}}(_0x5d4d,0x499b9));import{AIChatFeedItemView as _0x29cf40}from'./aichatfeeditemview.js';import{AIChatFeedContextChipsView as _0x3c1ae6}from'./aichatfeedcontextchipsview.js';import{View as _0x5280f2}from'ckeditor5/src/ui.js';function _0xcdbc(_0x17846a,_0x4989c4){var _0x5d4d1b=_0x5d4d();return _0xcdbc=function(_0xcdbce1,_0x6a073b){_0xcdbce1=_0xcdbce1-0x127;var _0x2d5896=_0x5d4d1b[_0xcdbce1];return _0x2d5896;},_0xcdbc(_0x17846a,_0x4989c4);}function _0x5d4d(){var _0x436e6f=['41608yaAyhg','1813866rOMMHV','length','500080exirGu','div','render','setTemplate','filter','children','_createContextChipsView','ck-ai-chat__feed__context-chips','79230RZRVPE','_locale','_messageContentView','innerHTML','_contextChipsView','markAsDone','_createMessageContentView','_bodyCollection','element','ck-ai-chat__feed__user-message','3392081Sohycc','hidden','contextItems','664306RQrKIv','options','1mgnivP','extendTemplate','initialContent','24CuNVca','5637222nIkcZf','add','ck-ai-chat__feed__message-content'];_0x5d4d=function(){return _0x436e6f;};return _0x5d4d();}export class AIChatFeedUserMessageItemView extends _0x29cf40{[_0x42285a(0x147)]=null;[_0x42285a(0x144)];[_0x42285a(0x129)];[_0x42285a(0x145)];constructor(_0x4709ae,_0x4f57a3,_0x4ab228){var _0x536e7b=_0x42285a;super(_0x4f57a3),this[_0x536e7b(0x144)]=_0x4709ae,this[_0x536e7b(0x129)]=_0x4ab228,this[_0x536e7b(0x141)](),this[_0x536e7b(0x128)](),this[_0x536e7b(0x132)]({'attributes':{'class':[_0x536e7b(0x12b)]}});}[_0x42285a(0x141)](){var _0x3b4ff7=_0x42285a;this[_0x3b4ff7(0x130)][_0x3b4ff7(0x12e)]&&this[_0x3b4ff7(0x130)][_0x3b4ff7(0x12e)][_0x3b4ff7(0x13a)]>0x0&&(this[_0x3b4ff7(0x147)]=new _0x3c1ae6(this[_0x3b4ff7(0x144)],this[_0x3b4ff7(0x130)][_0x3b4ff7(0x12e)][_0x3b4ff7(0x13f)](_0x56bca3=>!_0x56bca3[_0x3b4ff7(0x12d)]),this[_0x3b4ff7(0x129)]),this[_0x3b4ff7(0x147)][_0x3b4ff7(0x132)]({'attributes':{'class':_0x3b4ff7(0x142)}}),this[_0x3b4ff7(0x140)][_0x3b4ff7(0x136)](this[_0x3b4ff7(0x147)]));}[_0x42285a(0x128)](){var _0x5dbc61=_0x42285a;this[_0x5dbc61(0x145)]=new _0x5280f2(this[_0x5dbc61(0x144)]),this[_0x5dbc61(0x145)][_0x5dbc61(0x13e)]({'tag':_0x5dbc61(0x13c),'attributes':{'class':_0x5dbc61(0x137)}}),this[_0x5dbc61(0x140)][_0x5dbc61(0x136)](this[_0x5dbc61(0x145)]);}[_0x42285a(0x13d)](){var _0xa90127=_0x42285a;super[_0xa90127(0x13d)](),this[_0xa90127(0x145)][_0xa90127(0x12a)][_0xa90127(0x146)]=this[_0xa90127(0x130)][_0xa90127(0x133)],this[_0xa90127(0x127)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3ad732=_0x552d;function _0xde70(){const _0x58ed25=['4kZTXCx','10224810IaWoNI','selectModel','1474308AgOYVM','3357592wbBuOW','removeContextItem','executeCustomItemCallback','11514gnBFok','toggleReasoning','286ueHiiX','1703HtdGRR','1233045SqHCuS','loadSourceResources','sendUserMessage','addDocumentToContext','addUrlToContext','addResourceToContext','1897YizyBx','1285740qUIBmr','toggleWebSearch','startConversation','addFileToContext','abortPromptStream','resizeTabs'];_0xde70=function(){return _0x58ed25;};return _0xde70();}(function(_0x83fa21,_0x28218b){const _0xb0b07e=_0x552d,_0x5ba441=_0x83fa21();while(!![]){try{const _0x543524=-parseInt(_0xb0b07e(0x181))/0x1*(parseInt(_0xb0b07e(0x180))/0x2)+-parseInt(_0xb0b07e(0x17a))/0x3+-parseInt(_0xb0b07e(0x177))/0x4*(parseInt(_0xb0b07e(0x182))/0x5)+-parseInt(_0xb0b07e(0x17e))/0x6*(-parseInt(_0xb0b07e(0x170))/0x7)+-parseInt(_0xb0b07e(0x17b))/0x8+parseInt(_0xb0b07e(0x171))/0x9+parseInt(_0xb0b07e(0x178))/0xa;if(_0x543524===_0x28218b)break;else _0x5ba441['push'](_0x5ba441['shift']());}catch(_0x428eba){_0x5ba441['push'](_0x5ba441['shift']());}}}(_0xde70,0x455d5));import{AI_SUGGESTION_UI_EVENT_NAMES as _0x13d421}from'../../aicore/utils/eventnames.js';function _0x552d(_0x3b2870,_0x3a21b2){const _0xde7091=_0xde70();return _0x552d=function(_0x552d58,_0x1bf2e0){_0x552d58=_0x552d58-0x16f;let _0x10cd22=_0xde7091[_0x552d58];return _0x10cd22;},_0x552d(_0x3b2870,_0x3a21b2);}export const AI_CHAT_UI_EVENT_NAMES=[..._0x13d421,_0x3ad732(0x173),_0x3ad732(0x176),_0x3ad732(0x184),_0x3ad732(0x175),_0x3ad732(0x185),_0x3ad732(0x174),_0x3ad732(0x186),_0x3ad732(0x17d),_0x3ad732(0x16f),_0x3ad732(0x17c),_0x3ad732(0x183),_0x3ad732(0x172),_0x3ad732(0x17f),_0x3ad732(0x179)];
|
|
@@ -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 _0x1eaa3c=_0x115e;(function(_0xf5b9c,_0x304cc0){var _0x46174a=_0x115e,_0x30467a=_0xf5b9c();while(!![]){try{var _0x5e40d8=-parseInt(_0x46174a(0x1e1))/0x1+parseInt(_0x46174a(0x1e3))/0x2+parseInt(_0x46174a(0x1db))/0x3*(-parseInt(_0x46174a(0x1dc))/0x4)+parseInt(_0x46174a(0x1d8))/0x5+parseInt(_0x46174a(0x1de))/0x6+-parseInt(_0x46174a(0x1d9))/0x7+parseInt(_0x46174a(0x1e2))/0x8;if(_0x5e40d8===_0x304cc0)break;else _0x30467a['push'](_0x30467a['shift']());}catch(_0x2e3983){_0x30467a['push'](_0x30467a['shift']());}}}(_0x2772,0x49eaf));import{ContextPlugin as _0x12beed}from'ckeditor5/src/core.js';function _0x115e(_0x44410b,_0x154d02){var _0x2772e4=_0x2772();return _0x115e=function(_0x115ee7,_0x4a3161){_0x115ee7=_0x115ee7-0x1d8;var _0x447185=_0x2772e4[_0x115ee7];return _0x447185;},_0x115e(_0x44410b,_0x154d02);}import{AIChatHistoryController as _0x3cbd27}from'./aichathistorycontroller.js';function _0x2772(){var _0x5447f4=['1501540hXcMiO','717955MUPBrs','pluginName','9555yOBygX','28xIchcN','isOfficialPlugin','487356SZMXPP','isPremiumPlugin','requires','119516KEoNzX','636408xDtQwC','172116PpXNiR','AIChatHistory'];_0x2772=function(){return _0x5447f4;};return _0x2772();}import{AIChatHistoryUI as _0x13901d}from'./aichathistoryui.js';export{AIChatHistoryItem}from'./model/aichathistoryitem.js';export class AIChatHistory extends _0x12beed{static get[_0x1eaa3c(0x1e0)](){return[_0x3cbd27,_0x13901d];}static get[_0x1eaa3c(0x1da)](){var _0x2fe4d6=_0x1eaa3c;return _0x2fe4d6(0x1e4);}static get[_0x1eaa3c(0x1dd)](){return!0x0;}static get[_0x1eaa3c(0x1df)](){return!0x0;}}
|
|
@@ -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 _0x3e28b8=_0x1c24;function _0x1c24(_0x154457,_0x3003ad){const _0x13c0c=_0x13c0();return _0x1c24=function(_0x1c241a,_0x368235){_0x1c241a=_0x1c241a-0x92;let _0x434867=_0x13c0c[_0x1c241a];return _0x434867;},_0x1c24(_0x154457,_0x3003ad);}(function(_0x5f537a,_0x244933){const _0x58b3bd=_0x1c24,_0x12e678=_0x5f537a();while(!![]){try{const _0x278d65=-parseInt(_0x58b3bd(0xad))/0x1*(parseInt(_0x58b3bd(0x95))/0x2)+-parseInt(_0x58b3bd(0xa8))/0x3+parseInt(_0x58b3bd(0xce))/0x4+-parseInt(_0x58b3bd(0xf6))/0x5+parseInt(_0x58b3bd(0xb8))/0x6*(-parseInt(_0x58b3bd(0xba))/0x7)+parseInt(_0x58b3bd(0x98))/0x8+parseInt(_0x58b3bd(0xb4))/0x9;if(_0x278d65===_0x244933)break;else _0x12e678['push'](_0x12e678['shift']());}catch(_0x5b4036){_0x12e678['push'](_0x12e678['shift']());}}}(_0x13c0,0xe22c7));import{ContextPlugin as _0x6120c7}from'ckeditor5/src/core.js';import{AIConnector as _0x85af2d}from'../aicore/aiconnector.js';import{AIChatController as _0x249ef5}from'../aichat/aichatcontroller.js';import{AITabs as _0x480efc}from'../aitabs/aitabs.js';function _0x13c0(){const _0x51ccb1=['updateItemPinned','itemId','getItem','_clearItemLoading','remove','plugins','removeHistoryItem','AI_CHAT_HISTORY_CATEGORY_TODAY','view','activateTab','_generateErrorMessage','AI_CHAT_HISTORY_ERROR_UPDATE_TITLE','_setIsMaximized','rename','AI_CHAT_UNTITLED_CONVERSATION','itemRemoved','itemUpdated','_handleSelectConversation','loadConversation','AI_CHAT_HISTORY_CATEGORY_YESTERDAY','3514690HNhhwl','resizeTabs','isOfficialPlugin','AI_CHAT_HISTORY_ERROR_REMOVE_ITEM','8714EktLhG','removeConversation','pin','4508992muvrlA','_handleHistoryErrorUI','items','_setItemLoading','AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS','setConversationPinned','AI_CHAT_HISTORY_ERROR_LOAD_ITEMS','AIChatHistoryController','error','resize','AI_CHAT_HISTORY_ERROR_GENERIC','getMonth','toLocaleDateString','locale','setLoadingSkeleton','_showConversationHistory','3686127AaPmjn','change:activeConversation','setDate','handleRemovedConversation','editConversationTitle','126VAkCvM','init','requires','activeConversation','getItems','createdAt','updateItemLoadingState','35317188AMoiIn','isPremiumPlugin','get','setIsMaximized','6618wvciUI','length','10997fdYqHP','chat','updateItems','listenTo','updateItemTitle','showError','_aiChatController','_aiConnector','title','AI_CHAT_HISTORY_UNPIN_ACTION','openChat','getFullYear','map','activateTab:history','_updateHistoryItemsUI','updates','AI_CHAT_HISTORY_ERROR_UPDATE_PINNED','pluginName','history','resizedTabs','2608372aNZBts','removeItem','getDate','selectConversation','AI_CHAT_HISTORY_CATEGORY_LATER','pinned','loadItems','context','_handleTogglePin','_handleEditTitle','AI_CHAT_HISTORY_CATEGORY_PINNED','_aiChatHistoryUi','operation','push','AI_CHAT_HISTORY_PIN_ACTION','getGroupId','unpin','_handleRemove','_getCategorizedItems','itemsLoaded'];_0x13c0=function(){return _0x51ccb1;};return _0x13c0();}import{AIChatHistoryUI as _0x2c16ae}from'./aichathistoryui.js';import{AIChatHistoryConversations as _0x1b0ebc}from'./model/aichathistoryconversations.js';import{getTranslation as _0xfe543e}from'../aicore/utils/common-translations.js';export class AIChatHistoryController extends _0x6120c7{[_0x3e28b8(0xc1)];[_0x3e28b8(0xd9)];[_0x3e28b8(0xc0)];static get[_0x3e28b8(0xaf)](){return[_0x85af2d,_0x249ef5,_0x2c16ae,_0x480efc];}static get[_0x3e28b8(0xcb)](){const _0x40a721=_0x3e28b8;return _0x40a721(0x9f);}static get[_0x3e28b8(0x93)](){return!0x0;}static get[_0x3e28b8(0xb5)](){return!0x0;}[_0x3e28b8(0xae)](){const _0x40128e=_0x3e28b8;this[_0x40128e(0xc1)]=this[_0x40128e(0xd5)][_0x40128e(0xe7)][_0x40128e(0xb6)](_0x85af2d),this[_0x40128e(0xd9)]=this[_0x40128e(0xd5)][_0x40128e(0xe7)][_0x40128e(0xb6)](_0x2c16ae),this[_0x40128e(0xc0)]=this[_0x40128e(0xd5)][_0x40128e(0xe7)][_0x40128e(0xb6)](_0x249ef5);const _0x574bd1=this[_0x40128e(0xd5)][_0x40128e(0xe7)][_0x40128e(0xb6)](_0x480efc);try{const _0x8a25a8=this[_0x40128e(0xc0)][_0x40128e(0xdd)]();this[_0x40128e(0xcc)]=new _0x1b0ebc({'connector':this[_0x40128e(0xc1)],'group':_0x8a25a8}),this[_0x40128e(0xbd)](this[_0x40128e(0xd9)],_0x40128e(0x96),(_0x5ae338,_0x493148)=>{const _0xbaf49a=_0x40128e;this[_0xbaf49a(0x9b)](_0x493148['id'],_0xbaf49a(0xe6)),this[_0xbaf49a(0xdf)](_0x493148['id']);}),this[_0x40128e(0xbd)](this[_0x40128e(0xd9)],_0x40128e(0xac),(_0x42db6b,_0x11ee1a)=>{const _0x6c8dc1=_0x40128e;this[_0x6c8dc1(0x9b)](_0x11ee1a['id'],_0x6c8dc1(0xef)),this[_0x6c8dc1(0xd7)](_0x11ee1a['id'],_0x11ee1a[_0x6c8dc1(0xc2)]);}),this[_0x40128e(0xbd)](this[_0x40128e(0xcc)],_0x40128e(0xf2),(_0x564f00,_0x1e036b)=>{const _0xe2bf35=_0x40128e;void 0x0!==_0x1e036b[_0xe2bf35(0xc9)][_0xe2bf35(0xc2)]&&this[_0xe2bf35(0xd9)][_0xe2bf35(0xbe)](_0x1e036b[_0xe2bf35(0xe3)],_0x1e036b[_0xe2bf35(0xc9)][_0xe2bf35(0xc2)]),void 0x0!==_0x1e036b[_0xe2bf35(0xc9)][_0xe2bf35(0xd3)]&&this[_0xe2bf35(0xc8)](),this[_0xe2bf35(0xe5)](_0x1e036b[_0xe2bf35(0xe3)]);}),this[_0x40128e(0xbd)](this[_0x40128e(0xcc)],_0x40128e(0xf1),(_0x184d0f,_0x31383a)=>{const _0x4320de=_0x40128e;this[_0x4320de(0xc0)][_0x4320de(0xab)](_0x31383a[_0x4320de(0xe3)]),this[_0x4320de(0xd9)][_0x4320de(0xe8)](_0x31383a[_0x4320de(0xe3)]),this[_0x4320de(0xe5)](_0x31383a[_0x4320de(0xe3)]);}),this[_0x40128e(0xbd)](this[_0x40128e(0xcc)],_0x40128e(0xe1),()=>{const _0x1494eb=_0x40128e;this[_0x1494eb(0xc8)]();}),this[_0x40128e(0xbd)](this[_0x40128e(0xcc)],_0x40128e(0xa0),(_0x210060,_0x744628)=>{const _0x50f5a0=_0x40128e;this[_0x50f5a0(0x99)](_0x744628[_0x50f5a0(0xa0)],_0x744628[_0x50f5a0(0xda)],_0x744628[_0x50f5a0(0xe3)]);}),this[_0x40128e(0xbd)](this[_0x40128e(0xd9)],_0x40128e(0xd1),(_0x2bed7e,_0xfd4a1c)=>{const _0x15ee3c=_0x40128e;this[_0x15ee3c(0xf3)](_0xfd4a1c['id']);}),this[_0x40128e(0xbd)](this[_0x40128e(0xd9)],_0x40128e(0x9d),(_0x45cd52,_0x104b28)=>{const _0x17c3c9=_0x40128e,_0x102744=_0x104b28[_0x17c3c9(0xd3)]?_0x17c3c9(0x97):_0x17c3c9(0xde);this[_0x17c3c9(0x9b)](_0x104b28['id'],_0x102744),this[_0x17c3c9(0xd6)](_0x104b28['id'],_0x104b28[_0x17c3c9(0xd3)]);}),this[_0x40128e(0xbd)](this[_0x40128e(0xd9)],_0x40128e(0xc4),()=>{const _0x54457c=_0x40128e;_0x574bd1[_0x54457c(0xea)][_0x54457c(0xeb)](_0x54457c(0xbb));}),this[_0x40128e(0xbd)](this[_0x40128e(0xc0)],_0x40128e(0xa9),()=>{const _0x3fb885=_0x40128e;this[_0x3fb885(0xc8)]();}),_0x574bd1[_0x40128e(0xea)]['on'](_0x40128e(0xc7),()=>{const _0x6b9148=_0x40128e;this[_0x6b9148(0xa7)]();}),this[_0x40128e(0xbd)](_0x574bd1,_0x40128e(0xcd),(_0x6a9aed,_0x1bf90b)=>{const _0x14c579=_0x40128e;this[_0x14c579(0xee)](_0x1bf90b);}),this[_0x40128e(0xbd)](this[_0x40128e(0xd9)],_0x40128e(0x92),()=>{const _0x59209b=_0x40128e;_0x574bd1[_0x59209b(0xa1)]();});}catch(_0x214ec4){this[_0x40128e(0x99)](_0x214ec4,_0x40128e(0xae));}}async[_0x3e28b8(0xd7)](_0x486b4e,_0x4a245a){const _0x2d6308=_0x3e28b8;await this[_0x2d6308(0xcc)][_0x2d6308(0xbe)](_0x486b4e,_0x4a245a);}async[_0x3e28b8(0xd6)](_0x3a515a,_0x300f14){const _0x20d512=_0x3e28b8;await this[_0x20d512(0xcc)][_0x20d512(0xe2)](_0x3a515a,_0x300f14);}async[_0x3e28b8(0xdf)](_0x37af23){const _0x553789=_0x3e28b8;await this[_0x553789(0xcc)][_0x553789(0xcf)](_0x37af23);}async[_0x3e28b8(0xf3)](_0x1458f5){const _0x4e058c=_0x3e28b8;await this[_0x4e058c(0xc0)][_0x4e058c(0xf4)](_0x1458f5);}async[_0x3e28b8(0xa7)](){const _0x47c24e=_0x3e28b8;this[_0x47c24e(0xd9)][_0x47c24e(0xbf)](''),this[_0x47c24e(0xd9)][_0x47c24e(0xa6)](!0x0),await this[_0x47c24e(0xcc)][_0x47c24e(0xae)](),this[_0x47c24e(0xd9)][_0x47c24e(0xa6)](!0x1);}[_0x3e28b8(0xc8)](){const _0x4fde86=_0x3e28b8,_0x2c000f=this[_0x4fde86(0xc0)][_0x4fde86(0xb0)]?.['id'],_0x2344cf=this[_0x4fde86(0xe0)]()[_0x4fde86(0xc6)](_0x30c635=>({'title':_0x30c635[_0x4fde86(0xc2)],'items':_0x30c635[_0x4fde86(0x9a)][_0x4fde86(0xc6)](_0x1ed7aa=>({'id':_0x1ed7aa['id'],'title':_0x1ed7aa[_0x4fde86(0xc2)]||_0xfe543e(this[_0x4fde86(0xd5)][_0x4fde86(0xa5)],_0x4fde86(0xf0)),'createdAt':new Date(_0x1ed7aa[_0x4fde86(0xb2)])[_0x4fde86(0xa4)](),'active':_0x1ed7aa['id']===_0x2c000f,'pinned':_0x1ed7aa[_0x4fde86(0xd3)]}))}));this[_0x4fde86(0xd9)][_0x4fde86(0xbc)](_0x2344cf);}[_0x3e28b8(0x9b)](_0x1bfffb,_0x28b411){const _0x141011=_0x3e28b8;this[_0x141011(0xd9)][_0x141011(0xb3)](_0x1bfffb,_0x28b411,!0x0);}[_0x3e28b8(0xe5)](_0x29b965){const _0x51c648=_0x3e28b8;this[_0x51c648(0xd9)][_0x51c648(0xb3)](_0x29b965,null,!0x1);}[_0x3e28b8(0x99)](_0x4cc761,_0x5c82f9,_0x40f31){const _0x53ea24=_0x3e28b8,_0x2d1d31=this[_0x53ea24(0xec)](_0x5c82f9,_0x40f31);this[_0x53ea24(0xd9)][_0x53ea24(0xbf)](_0x2d1d31),_0x40f31&&this[_0x53ea24(0xe5)](_0x40f31),this[_0x53ea24(0xd9)][_0x53ea24(0xa6)](!0x1);}[_0x3e28b8(0xec)](_0x5d58e8,_0x49f2d3){const _0x5c1b90=_0x3e28b8,_0x15d5f6=_0x49f2d3?this[_0x5c1b90(0xcc)][_0x5c1b90(0xe4)](_0x49f2d3):null,_0x124661=_0x15d5f6?.[_0x5c1b90(0xc2)]||_0xfe543e(this[_0x5c1b90(0xd5)][_0x5c1b90(0xa5)],_0x5c1b90(0xf0));switch(_0x5d58e8){case _0x5c1b90(0xbe):return _0xfe543e(this[_0x5c1b90(0xd5)][_0x5c1b90(0xa5)],_0x5c1b90(0xed),_0x124661);case _0x5c1b90(0xe2):{const _0x34d674=_0xfe543e(this[_0x5c1b90(0xd5)][_0x5c1b90(0xa5)],_0x15d5f6?.[_0x5c1b90(0xd3)]?_0x5c1b90(0xc3):_0x5c1b90(0xdc));return _0xfe543e(this[_0x5c1b90(0xd5)][_0x5c1b90(0xa5)],_0x5c1b90(0xca),[_0x34d674,_0x124661]);}case _0x5c1b90(0xcf):return _0xfe543e(this[_0x5c1b90(0xd5)][_0x5c1b90(0xa5)],_0x5c1b90(0x94),_0x124661);case _0x5c1b90(0xae):case _0x5c1b90(0xd4):return _0xfe543e(this[_0x5c1b90(0xd5)][_0x5c1b90(0xa5)],_0x5c1b90(0x9e));default:return _0xfe543e(this[_0x5c1b90(0xd5)][_0x5c1b90(0xa5)],_0x5c1b90(0xa2));}}[_0x3e28b8(0xe0)](){const _0x2652b1=_0x3e28b8,_0x5c7a43=new Date(),_0x3e91de=new Date(_0x5c7a43[_0x2652b1(0xc5)](),_0x5c7a43[_0x2652b1(0xa3)](),_0x5c7a43[_0x2652b1(0xd0)]()),_0x4ce83a=new Date(_0x3e91de);_0x4ce83a[_0x2652b1(0xaa)](_0x4ce83a[_0x2652b1(0xd0)]()-0x1);const _0x10659f=new Date(_0x3e91de);_0x10659f[_0x2652b1(0xaa)](_0x10659f[_0x2652b1(0xd0)]()-0xe);const _0x1cf041=this[_0x2652b1(0xcc)][_0x2652b1(0xb1)]({'pinned':!0x0}),_0x23684d=this[_0x2652b1(0xcc)][_0x2652b1(0xb1)]({'from':_0x3e91de,'to':_0x3e91de}),_0x2b1b78=this[_0x2652b1(0xcc)][_0x2652b1(0xb1)]({'from':_0x4ce83a,'to':_0x4ce83a}),_0x57300b=this[_0x2652b1(0xcc)][_0x2652b1(0xb1)]({'from':_0x10659f,'to':_0x4ce83a}),_0x18892b=this[_0x2652b1(0xcc)][_0x2652b1(0xb1)]({'to':_0x10659f}),_0x4fd016=[];return _0x1cf041[_0x2652b1(0xb9)]>0x0&&_0x4fd016[_0x2652b1(0xdb)]({'title':_0xfe543e(this[_0x2652b1(0xd5)][_0x2652b1(0xa5)],_0x2652b1(0xd8)),'items':_0x1cf041}),_0x23684d[_0x2652b1(0xb9)]>0x0&&_0x4fd016[_0x2652b1(0xdb)]({'title':_0xfe543e(this[_0x2652b1(0xd5)][_0x2652b1(0xa5)],_0x2652b1(0xe9)),'items':_0x23684d}),_0x2b1b78[_0x2652b1(0xb9)]>0x0&&_0x4fd016[_0x2652b1(0xdb)]({'title':_0xfe543e(this[_0x2652b1(0xd5)][_0x2652b1(0xa5)],_0x2652b1(0xf5)),'items':_0x2b1b78}),_0x57300b[_0x2652b1(0xb9)]>0x0&&_0x4fd016[_0x2652b1(0xdb)]({'title':_0xfe543e(this[_0x2652b1(0xd5)][_0x2652b1(0xa5)],_0x2652b1(0x9c)),'items':_0x57300b}),_0x18892b[_0x2652b1(0xb9)]>0x0&&_0x4fd016[_0x2652b1(0xdb)]({'title':_0xfe543e(this[_0x2652b1(0xd5)][_0x2652b1(0xa5)],_0x2652b1(0xd2)),'items':_0x18892b}),_0x4fd016;}[_0x3e28b8(0xee)](_0x28cf94){const _0x3bbe4a=_0x3e28b8;this[_0x3bbe4a(0xd9)][_0x3bbe4a(0xb7)](_0x28cf94);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x935851=_0x248e;(function(_0x46d9fa,_0x5ab139){const _0x15646f=_0x248e,_0x51298b=_0x46d9fa();while(!![]){try{const _0x37f18e=parseInt(_0x15646f(0x1f9))/0x1*(-parseInt(_0x15646f(0x217))/0x2)+-parseInt(_0x15646f(0x202))/0x3*(-parseInt(_0x15646f(0x1fb))/0x4)+parseInt(_0x15646f(0x1ea))/0x5*(parseInt(_0x15646f(0x1fd))/0x6)+-parseInt(_0x15646f(0x210))/0x7*(parseInt(_0x15646f(0x20a))/0x8)+-parseInt(_0x15646f(0x1fc))/0x9+-parseInt(_0x15646f(0x206))/0xa+parseInt(_0x15646f(0x1f7))/0xb*(parseInt(_0x15646f(0x208))/0xc);if(_0x37f18e===_0x5ab139)break;else _0x51298b['push'](_0x51298b['shift']());}catch(_0x331baf){_0x51298b['push'](_0x51298b['shift']());}}}(_0x12a2,0x74b6d));import{ContextPlugin as _0x1f3cad}from'ckeditor5/src/core.js';import{AITabs as _0x2b4ef5}from'../aitabs/aitabs.js';import{IconAIHistory as _0x1350f1}from'ckeditor5/src/icons.js';import{AIChatHistoryView as _0x39e1b8}from'./ui/aichathistoryview.js';function _0x248e(_0x559256,_0x2289cd){const _0x12a2b8=_0x12a2();return _0x248e=function(_0x248e5f,_0x5ebb76){_0x248e5f=_0x248e5f-0x1e9;let _0x26078e=_0x12a2b8[_0x248e5f];return _0x26078e;},_0x248e(_0x559256,_0x2289cd);}import{getTranslation as _0x59c839}from'../aicore/utils/common-translations.js';function _0x12a2(){const _0x526be9=['isOfficialPlugin','plugins','locale','removeHistoryItem','setLoadingSkeleton','hideError','setConversationPinned','setIsMaximized','1953017bHxroS','removeConversation','469622HhFcIO','updateItemTitle','499304qMHudc','7317693zpmmNb','4350Cibxfe','showConversationHistory','selectConversation','updateHistoryItemsWithCategories','editConversationTitle','3ZxoBUb','history','openChat','updateItems','6115560CKcruv','AITabs','156StgRps','showError','1296PLevxz','delegate','isLoading','updateItemLoadingState','AI_CHAT_HISTORY_HEADING','showResizeButton','9989zRklfw','requires','AIChatHistoryUI','isMaximized','view','context','get','4ddrnhs','_historyView','errorMessage','4415Yblfki','resizeTabs','pluginName','addTab','isPremiumPlugin'];_0x12a2=function(){return _0x526be9;};return _0x12a2();}import'../../theme/aichat/aichathistory.css';export const AI_CHAT_HISTORY_UI_EVENT_NAMES=[_0x935851(0x1fe),_0x935851(0x1f8),_0x935851(0x201),_0x935851(0x1f5),_0x935851(0x1ff),_0x935851(0x204),_0x935851(0x1eb)];export class AIChatHistoryUI extends _0x1f3cad{static get[_0x935851(0x211)](){return[_0x2b4ef5];}[_0x935851(0x218)];static get[_0x935851(0x1ec)](){const _0x237228=_0x935851;return _0x237228(0x212);}static get[_0x935851(0x1ef)](){return!0x0;}static get[_0x935851(0x1ee)](){return!0x0;}constructor(_0x36425c){const _0x2965cf=_0x935851;super(_0x36425c);const _0x178c70=this[_0x2965cf(0x215)][_0x2965cf(0x1f0)][_0x2965cf(0x216)](_0x2965cf(0x207));this[_0x2965cf(0x218)]=new _0x39e1b8(this[_0x2965cf(0x215)][_0x2965cf(0x1f1)],_0x178c70[_0x2965cf(0x20f)]),this[_0x2965cf(0x218)][_0x2965cf(0x20b)](...AI_CHAT_HISTORY_UI_EVENT_NAMES)['to'](this),_0x178c70[_0x2965cf(0x214)][_0x2965cf(0x1ed)]({'id':_0x2965cf(0x203),'buttonLabel':_0x59c839(this[_0x2965cf(0x215)][_0x2965cf(0x1f1)],_0x2965cf(0x20e)),'buttonIcon':_0x1350f1,'order':0x0,'content':this[_0x2965cf(0x218)]});}[_0x935851(0x1f2)](_0x3368a0){const _0x520c97=_0x935851;this[_0x520c97(0x218)][_0x520c97(0x1f2)](_0x3368a0);}[_0x935851(0x205)](_0x58b002){const _0x39ad97=_0x935851;this[_0x39ad97(0x218)][_0x39ad97(0x200)](_0x58b002);}[_0x935851(0x1fa)](_0x1d0f4c,_0x50ae7b){const _0x349b43=_0x935851;this[_0x349b43(0x218)][_0x349b43(0x1fa)](_0x1d0f4c,_0x50ae7b);}[_0x935851(0x20d)](_0x8794a1,_0x8a9b90,_0x3cafeb){const _0x4ff746=_0x935851;this[_0x4ff746(0x218)][_0x4ff746(0x20d)](_0x8794a1,_0x8a9b90,_0x3cafeb);}[_0x935851(0x1f3)](_0xd295e7){const _0x50e613=_0x935851;this[_0x50e613(0x218)][_0x50e613(0x20c)]=_0xd295e7;}[_0x935851(0x209)](_0x2cb5f8){const _0xe02156=_0x935851;this[_0xe02156(0x218)][_0xe02156(0x1e9)]=_0x2cb5f8;}[_0x935851(0x1f4)](){const _0x12d361=_0x935851;this[_0x12d361(0x218)][_0x12d361(0x1e9)]='';}[_0x935851(0x1f6)](_0x2e80b0){const _0x313b62=_0x935851;this[_0x313b62(0x218)][_0x313b62(0x213)]=_0x2e80b0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x5b14b7=_0x46ef;(function(_0x4befee,_0x186850){const _0x5c36c0=_0x46ef,_0x51bd85=_0x4befee();while(!![]){try{const _0x23bad3=-parseInt(_0x5c36c0(0x172))/0x1*(parseInt(_0x5c36c0(0x191))/0x2)+parseInt(_0x5c36c0(0x193))/0x3+parseInt(_0x5c36c0(0x16f))/0x4+parseInt(_0x5c36c0(0x197))/0x5*(-parseInt(_0x5c36c0(0x177))/0x6)+parseInt(_0x5c36c0(0x181))/0x7*(-parseInt(_0x5c36c0(0x17d))/0x8)+-parseInt(_0x5c36c0(0x170))/0x9*(-parseInt(_0x5c36c0(0x18e))/0xa)+-parseInt(_0x5c36c0(0x18a))/0xb*(-parseInt(_0x5c36c0(0x182))/0xc);if(_0x23bad3===_0x186850)break;else _0x51bd85['push'](_0x51bd85['shift']());}catch(_0x2562fa){_0x51bd85['push'](_0x51bd85['shift']());}}}(_0x2600,0x318e2));import{EmitterMixin as _0x2ad1c9}from'ckeditor5/src/utils.js';import{AIChatHistoryItem as _0x140aa0}from'./aichathistoryitem.js';function _0x46ef(_0x5e10ee,_0xab8213){const _0x2600f8=_0x2600();return _0x46ef=function(_0x46efa7,_0x3ec7c3){_0x46efa7=_0x46efa7-0x16e;let _0x2e86d2=_0x2600f8[_0x46efa7];return _0x2e86d2;},_0x46ef(_0x5e10ee,_0xab8213);}export class AIChatHistoryConversations extends _0x2ad1c9(){[_0x5b14b7(0x17f)]=[];[_0x5b14b7(0x178)];[_0x5b14b7(0x18d)];constructor({connector:_0x448ae8,group:_0x23f004}){const _0x93a301=_0x5b14b7;super(),this[_0x93a301(0x178)]=_0x448ae8,this[_0x93a301(0x18d)]=_0x23f004;}async[_0x5b14b7(0x18b)](){const _0x20628f=_0x5b14b7;try{const _0x41d997=this[_0x20628f(0x178)][_0x20628f(0x184)](this[_0x20628f(0x18d)]),_0x46609d=await _0x41d997[_0x20628f(0x19d)]();this[_0x20628f(0x18c)](_0x46609d);}catch(_0x4a5247){this[_0x20628f(0x183)](_0x20628f(0x187),{'error':_0x4a5247,'operation':_0x20628f(0x18b)});}}[_0x5b14b7(0x180)](_0x44255c){const _0x2a8938=_0x5b14b7;this[_0x2a8938(0x17f)][_0x2a8938(0x175)](_0x44255c);}async[_0x5b14b7(0x176)](_0x1f931f){const _0x3c9aea=_0x5b14b7,_0x23a680=this[_0x3c9aea(0x17f)][_0x3c9aea(0x196)](_0x21e763=>_0x21e763['id']===_0x1f931f);if(-0x1===_0x23a680)return!0x1;try{return await this[_0x3c9aea(0x178)][_0x3c9aea(0x199)](_0x1f931f)[_0x3c9aea(0x189)](),this[_0x3c9aea(0x17f)][_0x3c9aea(0x174)](_0x23a680,0x1),this[_0x3c9aea(0x183)](_0x3c9aea(0x17c),{'itemId':_0x1f931f}),!0x0;}catch(_0x57eea6){return this[_0x3c9aea(0x183)](_0x3c9aea(0x187),{'error':_0x57eea6,'operation':_0x3c9aea(0x176),'itemId':_0x1f931f}),!0x1;}}[_0x5b14b7(0x192)](_0x4b449c){const _0x2dd95b=_0x5b14b7;return this[_0x2dd95b(0x17f)][_0x2dd95b(0x173)](_0x4345f8=>_0x4345f8['id']===_0x4b449c);}async[_0x5b14b7(0x179)](_0x17b274,_0x530529){const _0x4c2521=_0x5b14b7,_0x202050=this[_0x4c2521(0x192)](_0x17b274);if(!_0x202050)return!0x1;try{return await this[_0x4c2521(0x178)][_0x4c2521(0x185)](_0x17b274,{'title':_0x530529})[_0x4c2521(0x17a)](),_0x202050[_0x4c2521(0x16e)](_0x530529),this[_0x4c2521(0x183)](_0x4c2521(0x18f),{'itemId':_0x17b274,'updates':{'title':_0x530529}}),!0x0;}catch(_0x3f716f){return this[_0x4c2521(0x183)](_0x4c2521(0x187),{'error':_0x3f716f,'operation':_0x4c2521(0x179),'itemId':_0x17b274}),!0x1;}}async[_0x5b14b7(0x195)](_0x142afe,_0x3241a8){const _0x187844=_0x5b14b7,_0x453759=this[_0x187844(0x192)](_0x142afe);if(!_0x453759)return!0x1;try{return await this[_0x187844(0x178)][_0x187844(0x185)](_0x142afe,{'pinned':_0x3241a8})[_0x187844(0x17a)](),_0x453759[_0x187844(0x171)](_0x3241a8),this[_0x187844(0x183)](_0x187844(0x18f),{'itemId':_0x142afe,'updates':{'pinned':_0x3241a8}}),!0x0;}catch(_0x58aaff){return this[_0x187844(0x183)](_0x187844(0x187),{'error':_0x58aaff,'operation':_0x187844(0x195),'itemId':_0x142afe}),!0x1;}}[_0x5b14b7(0x18c)](_0x2234d4){const _0x4a24f4=_0x5b14b7;try{this[_0x4a24f4(0x17f)]=[],_0x2234d4[_0x4a24f4(0x186)](_0x538b6c=>{const _0x58d78a=_0x4a24f4;this[_0x58d78a(0x180)](new _0x140aa0(_0x538b6c));}),this[_0x4a24f4(0x183)](_0x4a24f4(0x198),{'items':[...this[_0x4a24f4(0x17f)]]});}catch(_0x233002){this[_0x4a24f4(0x183)](_0x4a24f4(0x187),{'error':_0x233002,'operation':_0x4a24f4(0x18c)});}}[_0x5b14b7(0x19e)](_0x42ea54={}){const _0x357c2e=_0x5b14b7,_0x5ce098=void 0x0!==_0x42ea54[_0x357c2e(0x190)]&&_0x42ea54[_0x357c2e(0x190)],_0x58235b=_0x42ea54[_0x357c2e(0x17b)]?new Date(_0x42ea54[_0x357c2e(0x17b)][_0x357c2e(0x17e)](),_0x42ea54[_0x357c2e(0x17b)][_0x357c2e(0x194)](),_0x42ea54[_0x357c2e(0x17b)][_0x357c2e(0x19a)]()):null,_0x4b5723=_0x42ea54['to']?new Date(_0x42ea54['to'][_0x357c2e(0x17e)](),_0x42ea54['to'][_0x357c2e(0x194)](),_0x42ea54['to'][_0x357c2e(0x19a)]()):null;return this[_0x357c2e(0x17f)][_0x357c2e(0x19c)](_0x48a789=>{const _0x54145f=_0x357c2e;if(_0x48a789[_0x54145f(0x190)]!==_0x5ce098)return!0x1;if(_0x4b5723){const _0x43e76e=new Date(_0x48a789[_0x54145f(0x19b)][_0x54145f(0x17e)](),_0x48a789[_0x54145f(0x19b)][_0x54145f(0x194)](),_0x48a789[_0x54145f(0x19b)][_0x54145f(0x19a)]());return _0x58235b?_0x58235b[_0x54145f(0x188)]()===_0x4b5723[_0x54145f(0x188)]()?_0x43e76e[_0x54145f(0x188)]()===_0x58235b[_0x54145f(0x188)]():_0x43e76e<_0x4b5723&&_0x43e76e>=_0x58235b:_0x43e76e<_0x4b5723;}return!0x0;});}}function _0x2600(){const _0x3cc55a=['541435BpVvZn','itemsLoaded','deleteConversation','getDate','createdAt','filter','getConversations','getItems','updateTitle','381136uTMvCa','633159XBMRYp','updatePinned','14328VMrOgp','find','splice','push','removeItem','6NWBrJh','connector','updateItemTitle','getResult','from','itemRemoved','40KtcbBB','getFullYear','items','addItem','78302NMydUR','182328tyuzcr','fire','fetchConversations','updateConversation','map','error','getTime','execute','88TkMsvy','init','loadItems','group','10eLGBpt','itemUpdated','pinned','26EofWEr','getItem','798816PrYPoZ','getMonth','updateItemPinned','findIndex'];_0x2600=function(){return _0x3cc55a;};return _0x2600();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x9cf77=_0x3b13;(function(_0x19620f,_0x16ee10){var _0x1dfe12=_0x3b13,_0x3db358=_0x19620f();while(!![]){try{var _0x32e0b1=parseInt(_0x1dfe12(0x120))/0x1+parseInt(_0x1dfe12(0x126))/0x2+-parseInt(_0x1dfe12(0x12c))/0x3+-parseInt(_0x1dfe12(0x11f))/0x4*(parseInt(_0x1dfe12(0x124))/0x5)+-parseInt(_0x1dfe12(0x11e))/0x6+-parseInt(_0x1dfe12(0x122))/0x7+parseInt(_0x1dfe12(0x128))/0x8;if(_0x32e0b1===_0x16ee10)break;else _0x3db358['push'](_0x3db358['shift']());}catch(_0x496fd1){_0x3db358['push'](_0x3db358['shift']());}}}(_0x5904,0xa3f33));import{ObservableMixin as _0x1428e3}from'ckeditor5/src/utils.js';import{escape as _0x45ae7f}from'es-toolkit/compat';function _0x3b13(_0x212c54,_0x549335){var _0x5904c6=_0x5904();return _0x3b13=function(_0x3b1358,_0x5c1000){_0x3b1358=_0x3b1358-0x11e;var _0x64580b=_0x5904c6[_0x3b1358];return _0x64580b;},_0x3b13(_0x212c54,_0x549335);}function _0x5904(){var _0x14e1ae=['updateTitle','155KSFemo','pinned','2084118SAKhtl','title','14926072ySBLeS','createdAt','updatePinned','set','1058361kbmEXo','3143670mrAczY','124440IgzGRx','785075EzXqkr','updatedAt','8261484fDyoVx'];_0x5904=function(){return _0x14e1ae;};return _0x5904();}export class AIChatHistoryItem extends _0x1428e3(){['id'];[_0x9cf77(0x129)];constructor({id:_0x190200,title:_0x300133,createdAt:_0x30f4f4,updatedAt:_0x180585,pinned:_0x5cf2ed}){var _0x24158f=_0x9cf77;super(),this['id']=_0x190200,this[_0x24158f(0x129)]=new Date(_0x30f4f4),this[_0x24158f(0x12b)](_0x24158f(0x127),_0x300133),this[_0x24158f(0x12b)](_0x24158f(0x121),_0x180585?new Date(_0x180585):null),this[_0x24158f(0x12b)](_0x24158f(0x125),_0x5cf2ed||!0x1);}[_0x9cf77(0x123)](_0x13fa12){var _0x2ee06b=_0x9cf77;this[_0x2ee06b(0x12b)](_0x2ee06b(0x127),_0x45ae7f(_0x13fa12)),this[_0x2ee06b(0x121)]=new Date();}[_0x9cf77(0x12a)](_0x1e12b2){var _0x6be7ef=_0x9cf77;this[_0x6be7ef(0x12b)](_0x6be7ef(0x125),_0x1e12b2),this[_0x6be7ef(0x121)]=new Date();}}
|