@ckeditor/ckeditor5-ai 47.2.0-alpha.4 → 47.2.0-alpha.6
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/aiballoondisclaimerview.js +1 -1
- package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
- package/src/aiballoon/ui/aiballoonview.js +1 -1
- package/src/aichat/aichat.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/model/aichatmodels.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/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/aichat/utils/scrollmanager.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/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/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.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/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/aireviewmode/aireviewcheckdefinitions.js +1 -1
- package/src/aireviewmode/aireviewmode.js +1 -1
- package/src/aireviewmode/aireviewmodecontroller.js +1 -1
- package/src/aireviewmode/aireviewmodeediting.js +1 -1
- package/src/aireviewmode/aireviewmodeui.js +1 -1
- package/src/aireviewmode/model/aireviewcheck.js +1 -1
- package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
- package/src/aireviewmode/model/aireviewchecklist.js +1 -1
- package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
- package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
- package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
- package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformmanager.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/errors.js +1 -1
- package/src/index.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x388e5f=_0x1989;(function(_0x3ebbe0,_0x3fce59){const _0x33d968=_0x1989,_0x3c4273=_0x3ebbe0();while(!![]){try{const _0x45dddc=parseInt(_0x33d968(0x1fb))/0x1*(parseInt(_0x33d968(0x1fa))/0x2)+parseInt(_0x33d968(0x1f2))/0x3*(-parseInt(_0x33d968(0x1f3))/0x4)+-parseInt(_0x33d968(0x203))/0x5+parseInt(_0x33d968(0x207))/0x6*(parseInt(_0x33d968(0x1fe))/0x7)+-parseInt(_0x33d968(0x1f6))/0x8*(parseInt(_0x33d968(0x215))/0x9)+parseInt(_0x33d968(0x1f4))/0xa+-parseInt(_0x33d968(0x20e))/0xb;if(_0x45dddc===_0x3fce59)break;else _0x3c4273['push'](_0x3c4273['shift']());}catch(_0x4bb971){_0x3c4273['push'](_0x3c4273['shift']());}}}(_0x57e8,0xa56b1));function _0x57e8(){const _0x44bb94=['stream','animation:\x20ck-html-streamer-fade-in\x20.5s','4703237dToQOH','div','querySelectorAll','markAsDone','[data-id]','bindTemplate','ck-ai-chat__feed__item','1716705jojTpi','isDone','152463raRNJB','52RiwhJM','5139970WbhIjS','content','8DYurPO','ck-ai-chat__feed__item_done','ck-hidden','element','78KWwwGh','30097yuApFJ','forEach','data-id','1440859aaMwKe','isVisible','removeAttribute','options','streamIntoElement','1743765NtqUsb','cleanUpAnimations','ck-ai-chat__feed__text-item','set','18GLniGj','children','setTemplate','htmlStreamer','createCollection'];_0x57e8=function(){return _0x44bb94;};return _0x57e8();}import{View as _0x2b1e2d}from'ckeditor5/src/ui.js';import{HTMLStreamer as _0x2566cc}from'../../../aicore/utils/htmlstreamer.js';function _0x1989(_0x37e75a,_0x4dcb65){const _0x57e889=_0x57e8();return _0x1989=function(_0x19897b,_0x5a16b9){_0x19897b=_0x19897b-0x1f2;let _0x16c009=_0x57e889[_0x19897b];return _0x16c009;},_0x1989(_0x37e75a,_0x4dcb65);}export class AIChatFeedItemView extends _0x2b1e2d{[_0x388e5f(0x201)];[_0x388e5f(0x1f5)]='';[_0x388e5f(0x20a)];[_0x388e5f(0x208)];constructor(_0x59da6d){const _0x34a1a2=_0x388e5f;super();const _0x5e0a96=this[_0x34a1a2(0x213)];this[_0x34a1a2(0x206)](_0x34a1a2(0x216),!0x1),this[_0x34a1a2(0x206)](_0x34a1a2(0x1ff),!0x0),this[_0x34a1a2(0x20a)]=new _0x2566cc({'textNodeStyle':_0x34a1a2(0x20d),'delay':0x14}),this[_0x34a1a2(0x201)]=_0x59da6d,this[_0x34a1a2(0x208)]=this[_0x34a1a2(0x20b)](),this[_0x34a1a2(0x209)]({'tag':_0x34a1a2(0x20f),'attributes':{'class':['ck',_0x34a1a2(0x214),_0x5e0a96['if'](_0x34a1a2(0x216),_0x34a1a2(0x1f7)),_0x5e0a96['if'](_0x34a1a2(0x1ff),_0x34a1a2(0x1f8),_0x7145f0=>!_0x7145f0),_0x34a1a2(0x205)],'data-cke-ai-id':this[_0x34a1a2(0x201)]['id']},'children':this[_0x34a1a2(0x208)]});}[_0x388e5f(0x211)](){const _0x13f9ef=_0x388e5f;this[_0x13f9ef(0x20a)][_0x13f9ef(0x204)]({'targetElement':this[_0x13f9ef(0x1f9)]}),this[_0x13f9ef(0x1f9)][_0x13f9ef(0x210)](_0x13f9ef(0x212))[_0x13f9ef(0x1fc)](_0x5bf14f=>{const _0x5b3298=_0x13f9ef;_0x5bf14f[_0x5b3298(0x200)](_0x5b3298(0x1fd));}),this[_0x13f9ef(0x216)]=!0x0;}async[_0x388e5f(0x202)](_0x247468,_0x190bc6,_0x31104f){const _0x36f965=_0x388e5f;await this[_0x36f965(0x20a)][_0x36f965(0x20c)]({'document':_0x247468,'targetElement':_0x190bc6,'abortSignal':_0x31104f});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3fab9e=_0x18cd;(function(_0x3570bb,_0x1bebf3){const _0x910954=_0x18cd,_0x5a40f6=_0x3570bb();while(!![]){try{const _0x4274b5=parseInt(_0x910954(0x1ca))/0x1+parseInt(_0x910954(0x1d1))/0x2*(-parseInt(_0x910954(0x1da))/0x3)+-parseInt(_0x910954(0x1df))/0x4+parseInt(_0x910954(0x1c9))/0x5+parseInt(_0x910954(0x1e6))/0x6*(parseInt(_0x910954(0x1e2))/0x7)+-parseInt(_0x910954(0x1e4))/0x8+parseInt(_0x910954(0x1e9))/0x9;if(_0x4274b5===_0x1bebf3)break;else _0x5a40f6['push'](_0x5a40f6['shift']());}catch(_0x551612){_0x5a40f6['push'](_0x5a40f6['shift']());}}}(_0xcdf8,0xadb39));import{AIChatFeedItemView as _0x4f8eaa}from'./aichatfeeditemview.js';function _0x18cd(_0x3ccd52,_0x5b9cb9){const _0xcdf8f=_0xcdf8();return _0x18cd=function(_0x18cd26,_0x83802a){_0x18cd26=_0x18cd26-0x1c9;let _0x4ee49b=_0xcdf8f[_0x18cd26];return _0x4ee49b;},_0x18cd(_0x3ccd52,_0x5b9cb9);}import{parse as _0x33d50d,render as _0x796cae}from'../../../aicore/utils/htmlparser.js';import{View as _0xca314f}from'ckeditor5/src/ui.js';import{AIWebSourcesView as _0x574950,AIWebSourceView as _0x3ed33d}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';function _0xcdf8(){const _0xad3782=['341364pwyuNI','markAsDone','isVisible','17185608FdTveU','5489930WtKZrz','949302gDokYr','render','updateSources','initialContent','innerHTML','ck-reset_all-excluded','div','25614OvUTsn','static','locale','streamIntoElement','setTemplate','extendTemplate','add','ck-ai-chat__feed__ai-reply-container','replyContainer','237UFTths','ck-ai-chat__feed__ai-reply','streaming','element','updateContent','4898408RFuPVF','addMany','options','7XHEMyw','children','8526864UMIwZC','map'];_0xcdf8=function(){return _0xad3782;};return _0xcdf8();}export class AIChatFeedReplyItemView extends _0x4f8eaa{[_0x3fab9e(0x1d9)];constructor(_0x50f46e,_0x3de746){const _0x47ce39=_0x3fab9e;super(_0x3de746),this[_0x47ce39(0x1d3)]=_0x50f46e,this[_0x47ce39(0x1d6)]({'attributes':{'class':[_0x47ce39(0x1db)]}}),this[_0x47ce39(0x1d9)]=new _0xca314f(),this[_0x47ce39(0x1d9)][_0x47ce39(0x1d5)]({'tag':_0x47ce39(0x1d0),'attributes':{'class':['ck',_0x47ce39(0x1cf),_0x47ce39(0x1d8)]}}),this[_0x47ce39(0x1e3)][_0x47ce39(0x1d7)](this[_0x47ce39(0x1d9)]);}async[_0x3fab9e(0x1cb)](){const _0x190921=_0x3fab9e;super[_0x190921(0x1cb)](),this[_0x190921(0x1e1)][_0x190921(0x1cd)]&&(await this[_0x190921(0x1de)]({'parsedContent':_0x33d50d(this[_0x190921(0x1e1)][_0x190921(0x1cd)]),'renderingStrategy':_0x190921(0x1d2)}),this[_0x190921(0x1e7)]());}async[_0x3fab9e(0x1de)]({parsedContent:_0x3cba27,renderingStrategy:_0x1d2903,abortSignal:_0x33f97c}){const _0x49e775=_0x3fab9e;_0x49e775(0x1dc)===_0x1d2903?await this[_0x49e775(0x1d4)](_0x3cba27,this[_0x49e775(0x1d9)][_0x49e775(0x1dd)],_0x33f97c):this[_0x49e775(0x1d9)][_0x49e775(0x1dd)][_0x49e775(0x1ce)]=_0x796cae(_0x3cba27);}[_0x3fab9e(0x1cc)](_0x144464){const _0x27c2d8=_0x3fab9e,_0x4d2e40=new _0x574950(this[_0x27c2d8(0x1d3)]);_0x4d2e40[_0x27c2d8(0x1e3)][_0x27c2d8(0x1e0)](_0x144464[_0x27c2d8(0x1e5)](_0x2b741c=>new _0x3ed33d(this[_0x27c2d8(0x1d3)],_0x2b741c))),_0x4d2e40[_0x27c2d8(0x1e8)]=!0x0,this[_0x27c2d8(0x1e3)][_0x27c2d8(0x1d7)](_0x4d2e40);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x14f0dc=_0x1cd9;(function(_0x349330,_0x3a3bf8){const _0x2c2f4a=_0x1cd9,_0x166720=_0x349330();while(!![]){try{const _0x13e209=parseInt(_0x2c2f4a(0x1bd))/0x1+-parseInt(_0x2c2f4a(0x1d8))/0x2*(-parseInt(_0x2c2f4a(0x1dd))/0x3)+-parseInt(_0x2c2f4a(0x199))/0x4*(-parseInt(_0x2c2f4a(0x1ae))/0x5)+parseInt(_0x2c2f4a(0x1e1))/0x6*(parseInt(_0x2c2f4a(0x1e3))/0x7)+-parseInt(_0x2c2f4a(0x1db))/0x8*(-parseInt(_0x2c2f4a(0x1ad))/0x9)+-parseInt(_0x2c2f4a(0x1ee))/0xa*(-parseInt(_0x2c2f4a(0x1aa))/0xb)+parseInt(_0x2c2f4a(0x1e8))/0xc*(-parseInt(_0x2c2f4a(0x1d1))/0xd);if(_0x13e209===_0x3a3bf8)break;else _0x166720['push'](_0x166720['shift']());}catch(_0x192cb2){_0x166720['push'](_0x166720['shift']());}}}(_0x3d06,0x6b74a));import{KeystrokeHandler as _0x349cc5}from'ckeditor5/src/utils.js';function _0x1cd9(_0x5d3024,_0x179bac){const _0x3d067d=_0x3d06();return _0x1cd9=function(_0x1cd9d0,_0x17d65f){_0x1cd9d0=_0x1cd9d0-0x192;let _0x3c8bd9=_0x3d067d[_0x1cd9d0];return _0x3c8bd9;},_0x1cd9(_0x5d3024,_0x179bac);}import{BalloonPanelView as _0xc22553,BodyCollection as _0x30b9a1,ButtonView as _0x418e57,clickOutsideHandler as _0x309056,ListItemButtonView as _0x160a3a,ListItemView as _0x12b2da,ListView as _0x27ace8,SplitButtonView as _0x1ab1e2,UIModel as _0x51e95a,View as _0x5cebd0}from'ckeditor5/src/ui.js';import{IconCheck as _0x319883,IconAddComment as _0x5bbe6e,IconDocumentWithLoupe as _0x55719f}from'ckeditor5/src/icons.js';import{getTranslation as _0x358a12}from'../../../aicore/utils/common-translations.js';export const AI_REPLY_ACTIONS=[_0x14f0dc(0x1f1),_0x14f0dc(0x19d),_0x14f0dc(0x1a4)];export class AIChatFeedSuggestionItemActionsView extends _0x5cebd0{[_0x14f0dc(0x19b)];[_0x14f0dc(0x1d4)];[_0x14f0dc(0x1e4)];[_0x14f0dc(0x19c)];[_0x14f0dc(0x19f)];[_0x14f0dc(0x1ec)]=0x1;[_0x14f0dc(0x1bf)];[_0x14f0dc(0x1b9)];[_0x14f0dc(0x19a)]=!0x0;constructor(_0x42ea17,_0x4e836a){const _0x5796c4=_0x14f0dc;super(_0x42ea17),this[_0x5796c4(0x1bf)]=_0x4e836a||[...AI_REPLY_ACTIONS],this[_0x5796c4(0x1b9)]=[...this[_0x5796c4(0x1bf)]];const _0x53cc49=this[_0x5796c4(0x1e7)];this[_0x5796c4(0x1b0)](_0x5796c4(0x1a0),!0x0),this[_0x5796c4(0x1b0)](_0x5796c4(0x192),!0x0),this[_0x5796c4(0x1b0)](_0x5796c4(0x1c0),!0x1),this[_0x5796c4(0x1e4)]=new _0x51e95a({'label':Hn(_0x5796c4(0x1f1),_0x42ea17,this[_0x5796c4(0x1ec)]),'icon':_0x319883,'withText':!0x0,'type':_0x5796c4(0x1c4),'actionName':_0x5796c4(0x1f1)}),this[_0x5796c4(0x19c)]=new _0x51e95a({'label':Hn(_0x5796c4(0x1a4),_0x42ea17,this[_0x5796c4(0x1ec)]),'icon':_0x55719f,'withText':!0x0,'type':_0x5796c4(0x1c4),'actionName':_0x5796c4(0x1a4)}),this[_0x5796c4(0x19f)]=new _0x51e95a({'label':Hn(_0x5796c4(0x19d),_0x42ea17,this[_0x5796c4(0x1ec)]),'icon':_0x5bbe6e,'withText':!0x0,'type':_0x5796c4(0x1c4),'actionName':_0x5796c4(0x19d)}),this[_0x5796c4(0x19b)]=this[_0x5796c4(0x1af)](_0x42ea17),this[_0x5796c4(0x1d4)]=this[_0x5796c4(0x1d0)](),this[_0x5796c4(0x19b)]&&this[_0x5796c4(0x1d4)][_0x5796c4(0x1b8)](this[_0x5796c4(0x19b)]),this[_0x5796c4(0x1d7)]({'tag':_0x5796c4(0x1a1),'attributes':{'class':['ck',_0x5796c4(0x1ef),_0x53cc49['if'](_0x5796c4(0x192),_0x5796c4(0x1d3),_0xcc25eb=>!_0xcc25eb)]},'children':this[_0x5796c4(0x1d4)]}),this['on'](_0x5796c4(0x1c8),()=>{const _0x3eef64=_0x5796c4;this[_0x3eef64(0x1b9)]=this[_0x3eef64(0x1c0)]?this[_0x3eef64(0x1bf)][_0x3eef64(0x1f2)](_0x54a32b=>_0x3eef64(0x1f1)!==_0x54a32b):[...this[_0x3eef64(0x1bf)]],this[_0x3eef64(0x1ba)](_0x42ea17);});}[_0x14f0dc(0x1ba)](_0x4a1c33){const _0x4c5e99=_0x14f0dc;this[_0x4c5e99(0x19b)]&&this[_0x4c5e99(0x1d4)][_0x4c5e99(0x197)](this[_0x4c5e99(0x19b)])&&(this[_0x4c5e99(0x1d4)][_0x4c5e99(0x1f0)](this[_0x4c5e99(0x19b)]),this[_0x4c5e99(0x19b)][_0x4c5e99(0x1de)]()),this[_0x4c5e99(0x19b)]=this[_0x4c5e99(0x1af)](_0x4a1c33),this[_0x4c5e99(0x19b)]&&this[_0x4c5e99(0x1d4)][_0x4c5e99(0x1b8)](this[_0x4c5e99(0x19b)]);}[_0x14f0dc(0x1af)](_0x2d273a){const _0x2fc3b2=_0x14f0dc;if(0x0==this[_0x2fc3b2(0x1b9)][_0x2fc3b2(0x1da)])return null;const _0x326661=0x1===this[_0x2fc3b2(0x1b9)][_0x2fc3b2(0x1da)]?this[_0x2fc3b2(0x1b3)](_0x2d273a):this[_0x2fc3b2(0x1bb)](_0x2d273a),_0x4dd42a=this[_0x2fc3b2(0x19a)]?'':_0x2fc3b2(0x1cb);_0x326661[_0x2fc3b2(0x1b0)]({'label':Hn(this[_0x2fc3b2(0x1b9)][0x0],_0x2d273a,this[_0x2fc3b2(0x1ec)]),'tooltip':Ln(this[_0x2fc3b2(0x1b9)][0x0],_0x2d273a,this[_0x2fc3b2(0x1ec)]),'withText':!0x0,'class':_0x2fc3b2(0x1ce)+_0x4dd42a});for(const _0x22fd3c of this[_0x2fc3b2(0x1b9)])_0x326661['on'](_0x22fd3c,()=>{const _0x8a21f3=_0x2fc3b2;this[_0x8a21f3(0x1e0)](_0x22fd3c);});return this[_0x2fc3b2(0x19a)]=!0x1,_0x326661;}[_0x14f0dc(0x1b3)](_0x114db5){const _0x372bc5=_0x14f0dc,_0x56df0c=new _0x418e57(_0x114db5);return _0x56df0c[_0x372bc5(0x1b0)]({'class':_0x372bc5(0x1a7),'withText':!0x0}),_0x56df0c['on'](_0x372bc5(0x1c5),()=>{const _0x51054f=_0x372bc5;_0x56df0c[_0x51054f(0x1e0)](this[_0x51054f(0x1b9)][0x0]);}),_0x56df0c;}[_0x14f0dc(0x1bb)](_0x2c4c0b){const _0xe43b90=_0x14f0dc,_0x4331d0=new Gn(_0x2c4c0b,{'listItemModels':this[_0xe43b90(0x1b9)][_0xe43b90(0x1c7)](_0x407274=>{const _0x3441a0=_0xe43b90;switch(_0x407274){case _0x3441a0(0x1f1):return this[_0x3441a0(0x1e4)];case _0x3441a0(0x1a4):return this[_0x3441a0(0x19c)];case _0x3441a0(0x19d):return this[_0x3441a0(0x19f)];}})});return _0x4331d0[_0xe43b90(0x1b0)]({'label':Hn(this[_0xe43b90(0x1b9)][0x0],_0x2c4c0b,this[_0xe43b90(0x1ec)]),'tooltip':Ln(this[_0xe43b90(0x1b9)][0x0],_0x2c4c0b,this[_0xe43b90(0x1ec)]),'withText':!0x0,'class':_0xe43b90(0x1ef),'balloonPanelClass':_0xe43b90(0x1a3)}),_0x4331d0[_0xe43b90(0x1a6)](_0xe43b90(0x1a0))['to'](this),_0x4331d0;}[_0x14f0dc(0x1cc)](_0x18536b){const _0x490880=_0x14f0dc,_0x59c777=this[_0x490880(0x1ab)];this[_0x490880(0x1ec)]=_0x18536b||this[_0x490880(0x1ec)],this[_0x490880(0x19b)][_0x490880(0x1b0)]({'label':Hn(this[_0x490880(0x1b9)][0x0],_0x59c777,this[_0x490880(0x1ec)]),'tooltip':Ln(this[_0x490880(0x1b9)][0x0],_0x59c777,this[_0x490880(0x1ec)])}),this[_0x490880(0x1e4)][_0x490880(0x19e)]=Hn(_0x490880(0x1f1),_0x59c777,this[_0x490880(0x1ec)]),this[_0x490880(0x19c)][_0x490880(0x19e)]=Hn(_0x490880(0x1a4),_0x59c777,this[_0x490880(0x1ec)]),this[_0x490880(0x19f)][_0x490880(0x19e)]=Hn(_0x490880(0x19d),_0x59c777,this[_0x490880(0x1ec)]);}}class Gn extends _0x1ab1e2{[_0x14f0dc(0x1e9)];[_0x14f0dc(0x1c3)];[_0x14f0dc(0x1ed)];[_0x14f0dc(0x1eb)];constructor(_0x2175ac,_0x38a2d1){const _0x4043f1=_0x14f0dc;super(_0x2175ac),this[_0x4043f1(0x1c3)]=new _0xc22553(this[_0x4043f1(0x1ab)]),this[_0x4043f1(0x1e9)]=new _0x30b9a1(this[_0x4043f1(0x1ab)]),this[_0x4043f1(0x1e9)][_0x4043f1(0x1a5)](),this[_0x4043f1(0x1b0)](_0x4043f1(0x1c2),''),this[_0x4043f1(0x1c3)][_0x4043f1(0x1a6)](_0x4043f1(0x1e2))['to'](this,_0x4043f1(0x1c2)),this[_0x4043f1(0x1ed)]=this[_0x4043f1(0x1df)](_0x38a2d1[_0x4043f1(0x198)][_0x4043f1(0x1a2)](0x1)),this[_0x4043f1(0x1e9)][_0x4043f1(0x1b8)](this[_0x4043f1(0x1c3)]),this[_0x4043f1(0x1c3)][_0x4043f1(0x193)][_0x4043f1(0x1b8)](this[_0x4043f1(0x1ed)]),this[_0x4043f1(0x196)][_0x4043f1(0x1cd)](_0x4043f1(0x1ac)),this[_0x4043f1(0x196)][_0x4043f1(0x1b0)](_0x4043f1(0x1ac),_0x358a12(this[_0x4043f1(0x1ab)],_0x4043f1(0x1b1))),this[_0x4043f1(0x1e5)](),this['on'](_0x4043f1(0x1c5),()=>{const _0x486c6c=_0x4043f1,_0x35c007=_0x38a2d1[_0x486c6c(0x198)][0x0][_0x486c6c(0x1b6)];this[_0x486c6c(0x1e0)](_0x35c007),this[_0x486c6c(0x1c3)][_0x486c6c(0x1c6)](),this[_0x486c6c(0x196)][_0x486c6c(0x195)]();}),this['on'](_0x4043f1(0x1f4),()=>{const _0x195e1a=_0x4043f1;this[_0x195e1a(0x1c3)][_0x195e1a(0x192)]?(this[_0x195e1a(0x1c3)][_0x195e1a(0x1c6)](),this[_0x195e1a(0x196)][_0x195e1a(0x195)]()):(this[_0x195e1a(0x1c3)][_0x195e1a(0x1ea)]({'target':this[_0x195e1a(0x1b7)],'positions':[_0x195e1a(0x1f3)===this[_0x195e1a(0x1ab)][_0x195e1a(0x1b2)]?yn:Pn]}),this[_0x195e1a(0x1ed)][_0x195e1a(0x195)]());}),_0x309056({'emitter':this[_0x4043f1(0x1c3)],'callback':()=>{const _0x2c26cf=_0x4043f1;this[_0x2c26cf(0x1c3)][_0x2c26cf(0x1c6)]();},'activator':()=>this[_0x4043f1(0x1c3)][_0x4043f1(0x192)],'contextElements':()=>[this[_0x4043f1(0x1b7)],this[_0x4043f1(0x1c3)][_0x4043f1(0x1b7)]]});}[_0x14f0dc(0x1df)](_0xb44b62){const _0x593667=_0x14f0dc,_0x229d19=this[_0x593667(0x1ab)],_0x58e765=new _0x27ace8(_0x229d19);for(const _0x2040c3 of _0xb44b62){const _0x37e179=new _0x12b2da(_0x229d19),_0x1075bb=new _0x160a3a(_0x229d19);_0x1075bb[_0x593667(0x1a6)](...Object[_0x593667(0x1d9)](_0x2040c3))['to'](_0x2040c3),_0x1075bb[_0x593667(0x1e6)](_0x593667(0x1c5))['to'](_0x58e765),_0x37e179[_0x593667(0x1d4)][_0x593667(0x1b8)](_0x1075bb),_0x58e765[_0x593667(0x1ca)][_0x593667(0x1b8)](_0x37e179);}return _0x58e765[_0x593667(0x1ca)][_0x593667(0x1e6)](_0x593667(0x1c5))['to'](this),_0x58e765['on'](_0x593667(0x1c5),_0x12db47=>{const _0x4dc379=_0x593667,_0x4cf8c5=_0x12db47[_0x4dc379(0x1d2)];this[_0x4dc379(0x1e0)](_0x4cf8c5[_0x4dc379(0x1b6)]),this[_0x4dc379(0x1c3)][_0x4dc379(0x1c6)](),this[_0x4dc379(0x196)][_0x4dc379(0x195)]();}),_0x58e765;}[_0x14f0dc(0x1e5)](){const _0x1ce309=_0x14f0dc;this[_0x1ce309(0x1eb)]=new _0x349cc5(),this[_0x1ce309(0x1eb)][_0x1ce309(0x1a8)](this[_0x1ce309(0x1c3)][_0x1ce309(0x1b7)]),this[_0x1ce309(0x1eb)][_0x1ce309(0x1b0)](_0x1ce309(0x1b4),(_0x315bd8,_0xdb0522)=>{const _0x1ba069=_0x1ce309;this[_0x1ba069(0x1c3)][_0x1ba069(0x1c6)](),this[_0x1ba069(0x196)][_0x1ba069(0x195)](),_0xdb0522();});}[_0x14f0dc(0x1de)](){const _0x1f2e2d=_0x14f0dc;super[_0x1f2e2d(0x1de)](),this[_0x1f2e2d(0x1eb)][_0x1f2e2d(0x1de)](),this[_0x1f2e2d(0x1c3)][_0x1f2e2d(0x1de)](),this[_0x1f2e2d(0x1e9)][_0x1f2e2d(0x194)]();}}function _0x3d06(){const _0x59a556=['_partsCount','listView','4052840cIaZCl','ck-ai-chat__feed__ai-suggestion__actions','remove','applySuggestion','filter','ltr','open','isVisible','content','detachFromDom','focus','arrowView','has','listItemModels','8548DGXqPT','_firstRender','actionsButton','showChangeInTextModel','insertSuggestion','label','insertSuggestionModel','isEnabled','div','slice','ck-ai-chat__feed__ai-suggestion__actions__balloon','showChangeInText','attachToDom','bind','ck-ai-button-primary','listenTo','AI_CHAT_SUGGESTION_ACTION_APPLY_TOOLTIP','22ESVMhW','locale','tooltip','1735785ILpNzU','240vtkdaj','_createActionsDropdownOrButton','set','AI_CHAT_SUGGESTION_MORE_OPTIONS_TOOLTIP','uiLanguageDirection','_createActionsButton','esc','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION_TOOLTIP','actionName','element','add','_dropdownCurrentConfig','_updateDropdownActions','_createActionsDropdown','arrowless','640485dotTMP','AI_CHAT_SUGGESTION_ACTION_APPLY_LABEL','_dropdownOriginalConfig','isTrackChangesOn','left','balloonPanelClass','balloonPanelView','button','execute','hide','map','change:isTrackChangesOn','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION','items','ck-ai-chat__feed__ai-suggestion__actions--no-animation','updateLabels','unbind','ck-ai-chat__feed__ai-suggestion__actions\x20','bottom','createCollection','1534OYKajU','source','ck-hidden','children','width','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT_TOOLTIP','setTemplate','2WKSXac','keys','length','16ExHsEN','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT','5307bSIoWx','destroy','_setUpList','fire','246SJMJZx','class','84126AlqtRY','applySuggestionModel','_setUpKeystrokes','delegate','bindTemplate','202752QJOIcx','bodyCollection','pin','keystrokeHandler'];_0x3d06=function(){return _0x59a556;};return _0x3d06();}function yn(_0x72b70f){const _0x5dbf08=_0x14f0dc;return{'top':_0x72b70f[_0x5dbf08(0x1cf)],'left':_0x72b70f[_0x5dbf08(0x1c1)],'name':_0x5dbf08(0x1bc),'config':{'withArrow':!0x1}};}function Pn(_0x54f725,_0xd40ad){const _0x36cab5=_0x14f0dc;return{'top':_0x54f725[_0x36cab5(0x1cf)],'left':_0x54f725[_0x36cab5(0x1c1)]-(_0xd40ad[_0x36cab5(0x1d5)]-_0x54f725[_0x36cab5(0x1d5)]),'name':_0x36cab5(0x1bc),'config':{'withArrow':!0x1}};}function Hn(_0x35b7f9,_0x4a2870,_0x18bda9){const _0x3ab930=_0x14f0dc;switch(_0x35b7f9){case _0x3ab930(0x1f1):return _0x358a12(_0x4a2870,_0x3ab930(0x1be),_0x18bda9);case _0x3ab930(0x1a4):return _0x358a12(_0x4a2870,_0x3ab930(0x1dc),_0x18bda9);case _0x3ab930(0x19d):return _0x358a12(_0x4a2870,_0x3ab930(0x1c9),_0x18bda9);}}function Ln(_0x1c01ec,_0x35edd9,_0x1bac78){const _0x4458d3=_0x14f0dc;switch(_0x1c01ec){case _0x4458d3(0x1f1):return _0x358a12(_0x35edd9,_0x4458d3(0x1a9),_0x1bac78);case _0x4458d3(0x1a4):return _0x358a12(_0x35edd9,_0x4458d3(0x1d6),_0x1bac78);case _0x4458d3(0x19d):return _0x358a12(_0x35edd9,_0x4458d3(0x1b5),_0x1bac78);}}
|
|
23
|
+
function _0x189f(_0x1ede61,_0x9f7ecc){const _0x339c41=_0x339c();return _0x189f=function(_0x189f71,_0x103b07){_0x189f71=_0x189f71-0x75;let _0x101de0=_0x339c41[_0x189f71];return _0x101de0;},_0x189f(_0x1ede61,_0x9f7ecc);}function _0x339c(){const _0xfef07e=['showChangeInTextModel','ck-ai-chat__feed__ai-suggestion__actions\x20','insertSuggestion','change:isTrackChangesOn','isTrackChangesOn','attachToDom','button','slice','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION','5URLQCj','tooltip','width','AI_CHAT_SUGGESTION_MORE_OPTIONS_TOOLTIP','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION_TOOLTIP','bind','_createActionsButton','div','_dropdownCurrentConfig','pin','_dropdownOriginalConfig','_firstRender','delegate','ck-hidden','bodyCollection','execute','children','filter','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT','arrowless','open','791oGijdx','_updateDropdownActions','map','esc','listenTo','632109HJZWSP','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT_TOOLTIP','_partsCount','keystrokeHandler','label','listView','actionsButton','uiLanguageDirection','keys','6375048yFyvpW','setTemplate','createCollection','10555272xfORlz','applySuggestionModel','97624mHQcjp','hide','listItemModels','isEnabled','add','has','ck-ai-button-primary','590942TXyZOA','bottom','class','locale','AI_CHAT_SUGGESTION_ACTION_APPLY_TOOLTIP','balloonPanelView','actionName','isVisible','left','showChangeInText','fire','unbind','detachFromDom','remove','ck-ai-chat__feed__ai-suggestion__actions','updateLabels','applySuggestion','items','2lkHnlA','arrowView','ck-ai-chat__feed__ai-suggestion__actions--no-animation','ck-ai-chat__feed__ai-suggestion__actions__balloon','length','bindTemplate','balloonPanelClass','element','AI_CHAT_SUGGESTION_ACTION_APPLY_LABEL','content','2268212qgyzlM','destroy','_setUpList','_setUpKeystrokes','9299750zSOVgn','set','insertSuggestionModel','focus','_createActionsDropdownOrButton','ltr','_createActionsDropdown','source'];_0x339c=function(){return _0xfef07e;};return _0x339c();}const _0x368292=_0x189f;(function(_0x2a1423,_0x595332){const _0x5353a2=_0x189f,_0x11462c=_0x2a1423();while(!![]){try{const _0x1de827=-parseInt(_0x5353a2(0x80))/0x1*(-parseInt(_0x5353a2(0x92))/0x2)+parseInt(_0x5353a2(0xcb))/0x3+parseInt(_0x5353a2(0x9c))/0x4+parseInt(_0x5353a2(0xb1))/0x5*(parseInt(_0x5353a2(0xd4))/0x6)+-parseInt(_0x5353a2(0xc6))/0x7*(parseInt(_0x5353a2(0x79))/0x8)+-parseInt(_0x5353a2(0x77))/0x9+parseInt(_0x5353a2(0xa0))/0xa;if(_0x1de827===_0x595332)break;else _0x11462c['push'](_0x11462c['shift']());}catch(_0x7b60bb){_0x11462c['push'](_0x11462c['shift']());}}}(_0x339c,0xc59da));import{KeystrokeHandler as _0xddb4bf}from'ckeditor5/src/utils.js';import{BalloonPanelView as _0x4f77eb,BodyCollection as _0x40287d,ButtonView as _0x4bee76,clickOutsideHandler as _0x376b02,ListItemButtonView as _0x3cffbb,ListItemView as _0x208ad0,ListView as _0x3f04bf,SplitButtonView as _0x3a22ef,UIModel as _0x3e295b,View as _0x1c80b6}from'ckeditor5/src/ui.js';import{IconCheck as _0x34187d,IconAddComment as _0x15cb56,IconDocumentWithLoupe as _0x4c3cd6}from'ckeditor5/src/icons.js';import{getTranslation as _0x2d9d15}from'../../../aicore/utils/common-translations.js';export const AI_REPLY_ACTIONS=[_0x368292(0x90),_0x368292(0xaa),_0x368292(0x89)];export class AIChatFeedSuggestionItemActionsView extends _0x1c80b6{[_0x368292(0xd1)];[_0x368292(0xc1)];[_0x368292(0x78)];[_0x368292(0xa8)];[_0x368292(0xa2)];[_0x368292(0xcd)]=0x1;[_0x368292(0xbb)];[_0x368292(0xb9)];[_0x368292(0xbc)]=!0x0;constructor(_0x21bdb1,_0x372aae){const _0x3a652e=_0x368292;super(_0x21bdb1),this[_0x3a652e(0xbb)]=_0x372aae||[...AI_REPLY_ACTIONS],this[_0x3a652e(0xb9)]=[...this[_0x3a652e(0xbb)]];const _0x39330a=this[_0x3a652e(0x97)];this[_0x3a652e(0xa1)](_0x3a652e(0x7c),!0x0),this[_0x3a652e(0xa1)](_0x3a652e(0x87),!0x0),this[_0x3a652e(0xa1)](_0x3a652e(0xac),!0x1),this[_0x3a652e(0x78)]=new _0x3e295b({'label':Un(_0x3a652e(0x90),_0x21bdb1,this[_0x3a652e(0xcd)]),'icon':_0x34187d,'withText':!0x0,'type':_0x3a652e(0xae),'actionName':_0x3a652e(0x90)}),this[_0x3a652e(0xa8)]=new _0x3e295b({'label':Un(_0x3a652e(0x89),_0x21bdb1,this[_0x3a652e(0xcd)]),'icon':_0x4c3cd6,'withText':!0x0,'type':_0x3a652e(0xae),'actionName':_0x3a652e(0x89)}),this[_0x3a652e(0xa2)]=new _0x3e295b({'label':Un(_0x3a652e(0xaa),_0x21bdb1,this[_0x3a652e(0xcd)]),'icon':_0x15cb56,'withText':!0x0,'type':_0x3a652e(0xae),'actionName':_0x3a652e(0xaa)}),this[_0x3a652e(0xd1)]=this[_0x3a652e(0xa4)](_0x21bdb1),this[_0x3a652e(0xc1)]=this[_0x3a652e(0x76)](),this[_0x3a652e(0xd1)]&&this[_0x3a652e(0xc1)][_0x3a652e(0x7d)](this[_0x3a652e(0xd1)]),this[_0x3a652e(0x75)]({'tag':_0x3a652e(0xb8),'attributes':{'class':['ck',_0x3a652e(0x8e),_0x39330a['if'](_0x3a652e(0x87),_0x3a652e(0xbe),_0x21d62f=>!_0x21d62f)]},'children':this[_0x3a652e(0xc1)]}),this['on'](_0x3a652e(0xab),()=>{const _0x1a2292=_0x3a652e;this[_0x1a2292(0xb9)]=this[_0x1a2292(0xac)]?this[_0x1a2292(0xbb)][_0x1a2292(0xc2)](_0x29e4ff=>_0x1a2292(0x90)!==_0x29e4ff):[...this[_0x1a2292(0xbb)]],this[_0x1a2292(0xc7)](_0x21bdb1);});}[_0x368292(0xc7)](_0x3f85a5){const _0x7599e7=_0x368292;this[_0x7599e7(0xd1)]&&this[_0x7599e7(0xc1)][_0x7599e7(0x7e)](this[_0x7599e7(0xd1)])&&(this[_0x7599e7(0xc1)][_0x7599e7(0x8d)](this[_0x7599e7(0xd1)]),this[_0x7599e7(0xd1)][_0x7599e7(0x9d)]()),this[_0x7599e7(0xd1)]=this[_0x7599e7(0xa4)](_0x3f85a5),this[_0x7599e7(0xd1)]&&this[_0x7599e7(0xc1)][_0x7599e7(0x7d)](this[_0x7599e7(0xd1)]);}[_0x368292(0xa4)](_0xbbf8fa){const _0x48451e=_0x368292;if(0x0==this[_0x48451e(0xb9)][_0x48451e(0x96)])return null;const _0x1cc0a7=0x1===this[_0x48451e(0xb9)][_0x48451e(0x96)]?this[_0x48451e(0xb7)](_0xbbf8fa):this[_0x48451e(0xa6)](_0xbbf8fa),_0x525360=this[_0x48451e(0xbc)]?'':_0x48451e(0x94);_0x1cc0a7[_0x48451e(0xa1)]({'label':Un(this[_0x48451e(0xb9)][0x0],_0xbbf8fa,this[_0x48451e(0xcd)]),'tooltip':Rn(this[_0x48451e(0xb9)][0x0],_0xbbf8fa,this[_0x48451e(0xcd)]),'withText':!0x0,'class':_0x48451e(0xa9)+_0x525360});for(const _0x1c1136 of this[_0x48451e(0xb9)])_0x1cc0a7['on'](_0x1c1136,()=>{const _0x317a85=_0x48451e;this[_0x317a85(0x8a)](_0x1c1136);});return this[_0x48451e(0xbc)]=!0x1,_0x1cc0a7;}[_0x368292(0xb7)](_0x3f4351){const _0x1b1b27=_0x368292,_0x3650a9=new _0x4bee76(_0x3f4351);return _0x3650a9[_0x1b1b27(0xa1)]({'class':_0x1b1b27(0x7f),'withText':!0x0}),_0x3650a9['on'](_0x1b1b27(0xc0),()=>{const _0x30f838=_0x1b1b27;_0x3650a9[_0x30f838(0x8a)](this[_0x30f838(0xb9)][0x0]);}),_0x3650a9;}[_0x368292(0xa6)](_0x13333d){const _0x1bf679=_0x368292,_0x56b022=new Pn(_0x13333d,{'listItemModels':this[_0x1bf679(0xb9)][_0x1bf679(0xc8)](_0x1533a7=>{const _0x45a5d6=_0x1bf679;switch(_0x1533a7){case _0x45a5d6(0x90):return this[_0x45a5d6(0x78)];case _0x45a5d6(0x89):return this[_0x45a5d6(0xa8)];case _0x45a5d6(0xaa):return this[_0x45a5d6(0xa2)];}})});return _0x56b022[_0x1bf679(0xa1)]({'label':Un(this[_0x1bf679(0xb9)][0x0],_0x13333d,this[_0x1bf679(0xcd)]),'tooltip':Rn(this[_0x1bf679(0xb9)][0x0],_0x13333d,this[_0x1bf679(0xcd)]),'withText':!0x0,'class':_0x1bf679(0x8e),'balloonPanelClass':_0x1bf679(0x95)}),_0x56b022[_0x1bf679(0xb6)](_0x1bf679(0x7c))['to'](this),_0x56b022;}[_0x368292(0x8f)](_0x358095){const _0x213712=_0x368292,_0x3739b2=this[_0x213712(0x83)];this[_0x213712(0xcd)]=_0x358095||this[_0x213712(0xcd)],this[_0x213712(0xd1)][_0x213712(0xa1)]({'label':Un(this[_0x213712(0xb9)][0x0],_0x3739b2,this[_0x213712(0xcd)]),'tooltip':Rn(this[_0x213712(0xb9)][0x0],_0x3739b2,this[_0x213712(0xcd)])}),this[_0x213712(0x78)][_0x213712(0xcf)]=Un(_0x213712(0x90),_0x3739b2,this[_0x213712(0xcd)]),this[_0x213712(0xa8)][_0x213712(0xcf)]=Un(_0x213712(0x89),_0x3739b2,this[_0x213712(0xcd)]),this[_0x213712(0xa2)][_0x213712(0xcf)]=Un(_0x213712(0xaa),_0x3739b2,this[_0x213712(0xcd)]);}}class Pn extends _0x3a22ef{[_0x368292(0xbf)];[_0x368292(0x85)];[_0x368292(0xd0)];[_0x368292(0xce)];constructor(_0x57c7e3,_0x4eedf3){const _0x1380b9=_0x368292;super(_0x57c7e3),this[_0x1380b9(0x85)]=new _0x4f77eb(this[_0x1380b9(0x83)]),this[_0x1380b9(0xbf)]=new _0x40287d(this[_0x1380b9(0x83)]),this[_0x1380b9(0xbf)][_0x1380b9(0xad)](),this[_0x1380b9(0xa1)](_0x1380b9(0x98),''),this[_0x1380b9(0x85)][_0x1380b9(0xb6)](_0x1380b9(0x82))['to'](this,_0x1380b9(0x98)),this[_0x1380b9(0xd0)]=this[_0x1380b9(0x9e)](_0x4eedf3[_0x1380b9(0x7b)][_0x1380b9(0xaf)](0x1)),this[_0x1380b9(0xbf)][_0x1380b9(0x7d)](this[_0x1380b9(0x85)]),this[_0x1380b9(0x85)][_0x1380b9(0x9b)][_0x1380b9(0x7d)](this[_0x1380b9(0xd0)]),this[_0x1380b9(0x93)][_0x1380b9(0x8b)](_0x1380b9(0xb2)),this[_0x1380b9(0x93)][_0x1380b9(0xa1)](_0x1380b9(0xb2),_0x2d9d15(this[_0x1380b9(0x83)],_0x1380b9(0xb4))),this[_0x1380b9(0x9f)](),this['on'](_0x1380b9(0xc0),()=>{const _0x4573cf=_0x1380b9,_0x55997c=_0x4eedf3[_0x4573cf(0x7b)][0x0][_0x4573cf(0x86)];this[_0x4573cf(0x8a)](_0x55997c),this[_0x4573cf(0x85)][_0x4573cf(0x7a)](),this[_0x4573cf(0x93)][_0x4573cf(0xa3)]();}),this['on'](_0x1380b9(0xc5),()=>{const _0xc03237=_0x1380b9;this[_0xc03237(0x85)][_0xc03237(0x87)]?(this[_0xc03237(0x85)][_0xc03237(0x7a)](),this[_0xc03237(0x93)][_0xc03237(0xa3)]()):(this[_0xc03237(0x85)][_0xc03237(0xba)]({'target':this[_0xc03237(0x99)],'positions':[_0xc03237(0xa5)===this[_0xc03237(0x83)][_0xc03237(0xd2)]?Hn:Ln]}),this[_0xc03237(0xd0)][_0xc03237(0xa3)]());}),_0x376b02({'emitter':this[_0x1380b9(0x85)],'callback':()=>{const _0x4329bf=_0x1380b9;this[_0x4329bf(0x85)][_0x4329bf(0x7a)]();},'activator':()=>this[_0x1380b9(0x85)][_0x1380b9(0x87)],'contextElements':()=>[this[_0x1380b9(0x99)],this[_0x1380b9(0x85)][_0x1380b9(0x99)]]});}[_0x368292(0x9e)](_0x5360a2){const _0x220f30=_0x368292,_0x34e4c9=this[_0x220f30(0x83)],_0x2de37a=new _0x3f04bf(_0x34e4c9);for(const _0x41cfa1 of _0x5360a2){const _0x23df5e=new _0x208ad0(_0x34e4c9),_0x5249bf=new _0x3cffbb(_0x34e4c9);_0x5249bf[_0x220f30(0xb6)](...Object[_0x220f30(0xd3)](_0x41cfa1))['to'](_0x41cfa1),_0x5249bf[_0x220f30(0xbd)](_0x220f30(0xc0))['to'](_0x2de37a),_0x23df5e[_0x220f30(0xc1)][_0x220f30(0x7d)](_0x5249bf),_0x2de37a[_0x220f30(0x91)][_0x220f30(0x7d)](_0x23df5e);}return _0x2de37a[_0x220f30(0x91)][_0x220f30(0xbd)](_0x220f30(0xc0))['to'](this),_0x2de37a['on'](_0x220f30(0xc0),_0x1da866=>{const _0x1be8e1=_0x220f30,_0x3a7743=_0x1da866[_0x1be8e1(0xa7)];this[_0x1be8e1(0x8a)](_0x3a7743[_0x1be8e1(0x86)]),this[_0x1be8e1(0x85)][_0x1be8e1(0x7a)](),this[_0x1be8e1(0x93)][_0x1be8e1(0xa3)]();}),_0x2de37a;}[_0x368292(0x9f)](){const _0x254946=_0x368292;this[_0x254946(0xce)]=new _0xddb4bf(),this[_0x254946(0xce)][_0x254946(0xca)](this[_0x254946(0x85)][_0x254946(0x99)]),this[_0x254946(0xce)][_0x254946(0xa1)](_0x254946(0xc9),(_0x43da3d,_0x40459e)=>{const _0x35d8e2=_0x254946;this[_0x35d8e2(0x85)][_0x35d8e2(0x7a)](),this[_0x35d8e2(0x93)][_0x35d8e2(0xa3)](),_0x40459e();});}[_0x368292(0x9d)](){const _0x4893a7=_0x368292;super[_0x4893a7(0x9d)](),this[_0x4893a7(0xce)][_0x4893a7(0x9d)](),this[_0x4893a7(0x85)][_0x4893a7(0x9d)](),this[_0x4893a7(0xbf)][_0x4893a7(0x8c)]();}}function Hn(_0x486c75){const _0x57a598=_0x368292;return{'top':_0x486c75[_0x57a598(0x81)],'left':_0x486c75[_0x57a598(0x88)],'name':_0x57a598(0xc4),'config':{'withArrow':!0x1}};}function Ln(_0x2da545,_0x17a092){const _0x1ddba1=_0x368292;return{'top':_0x2da545[_0x1ddba1(0x81)],'left':_0x2da545[_0x1ddba1(0x88)]-(_0x17a092[_0x1ddba1(0xb3)]-_0x2da545[_0x1ddba1(0xb3)]),'name':_0x1ddba1(0xc4),'config':{'withArrow':!0x1}};}function Un(_0x2f14f4,_0x27fb43,_0x4a0714){const _0x449f90=_0x368292;switch(_0x2f14f4){case _0x449f90(0x90):return _0x2d9d15(_0x27fb43,_0x449f90(0x9a),_0x4a0714);case _0x449f90(0x89):return _0x2d9d15(_0x27fb43,_0x449f90(0xc3),_0x4a0714);case _0x449f90(0xaa):return _0x2d9d15(_0x27fb43,_0x449f90(0xb0),_0x4a0714);}}function Rn(_0x325be0,_0x4e7716,_0x23088c){const _0x337d0a=_0x368292;switch(_0x325be0){case _0x337d0a(0x90):return _0x2d9d15(_0x4e7716,_0x337d0a(0x84),_0x23088c);case _0x337d0a(0x89):return _0x2d9d15(_0x4e7716,_0x337d0a(0xcc),_0x23088c);case _0x337d0a(0xaa):return _0x2d9d15(_0x4e7716,_0x337d0a(0xb5),_0x23088c);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x4b8251=_0x2fc7;(function(_0x1259e7,_0x5444b7){var _0x1cdd3c=_0x2fc7,_0x6ef991=_0x1259e7();while(!![]){try{var _0x514a00=parseInt(_0x1cdd3c(0xb9))/0x1*(parseInt(_0x1cdd3c(0xce))/0x2)+-parseInt(_0x1cdd3c(0xba))/0x3+-parseInt(_0x1cdd3c(0xd6))/0x4*(parseInt(_0x1cdd3c(0xd4))/0x5)+-parseInt(_0x1cdd3c(0xca))/0x6+parseInt(_0x1cdd3c(0xae))/0x7+parseInt(_0x1cdd3c(0xb3))/0x8*(-parseInt(_0x1cdd3c(0xab))/0x9)+parseInt(_0x1cdd3c(0xac))/0xa;if(_0x514a00===_0x5444b7)break;else _0x6ef991['push'](_0x6ef991['shift']());}catch(_0x4e820a){_0x6ef991['push'](_0x6ef991['shift']());}}}(_0x1783,0xa0726));import{AIChatFeedItemView as _0x7acba2}from'./aichatfeeditemview.js';import{AISuggestionContainerView as _0x2218d8}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';import{AIChatFeedSuggestionItemActionsView as _0x48e3db}from'./aichatfeedsuggestionitemactionsview.js';function _0x2fc7(_0x400360,_0x5b41cb){var _0x178368=_0x1783();return _0x2fc7=function(_0x2fc7e9,_0x4ab9c9){_0x2fc7e9=_0x2fc7e9-0xaa;var _0x3e4cca=_0x178368[_0x2fc7e9];return _0x3e4cca;},_0x2fc7(_0x400360,_0x5b41cb);}function _0x1783(){var _0x30056b=['partsCount','addMany','applySuggestion','rejectSuggestion','isTrackChangesOn','areActionsDisabled','children','hasPendingParts','options','fire','like','683604AvYewc','toggleSuggestionDisplayMode','actionsView','mouseLeaveSuggestion','2XpNEBU','updateSources','insertSuggestion','dislike','showChangeInText','ck-ai-chat__feed__ai-suggestion','13415TSJCdv','getPartView','652vZtGIW','updateLabels','198gHacyn','7702100qoJwOg','updateContent','4997972hUaMFk','isEnabled','mouseOverSuggestion','markAsDone','showDiff','191888AnjlAe','bind','set','bodyView','updatePartState','extendTemplate','833717rCUdEp','1745334NpILBt','availableActions','containerView','hasNonEmptyParts','isVisible'];_0x1783=function(){return _0x30056b;};return _0x1783();}export class AIChatFeedSuggestionItemView extends _0x7acba2{[_0x4b8251(0xbc)];[_0x4b8251(0xcc)];constructor(_0xac399d,_0x2c4188){var _0x133235=_0x4b8251;super(_0x2c4188),this[_0x133235(0xb5)](_0x133235(0xc3),!0x1),this[_0x133235(0xbc)]=new _0x2218d8(_0xac399d,{'showDiff':_0x2c4188[_0x133235(0xb2)],'areActionsDisabled':_0x2c4188[_0x133235(0xc4)],'availableActions':_0x2c4188[_0x133235(0xbb)]}),this[_0x133235(0xbc)]['on'](_0x133235(0xcb),(_0x322a40,_0xec36b9)=>{var _0x16359f=_0x133235;this[_0x16359f(0xc8)](_0x16359f(0xcb),{'replyId':this[_0x16359f(0xc7)]['id'],'showDiff':_0xec36b9[_0x16359f(0xb2)]});}),this[_0x133235(0xbc)]['on'](_0x133235(0xc9),()=>{var _0x52431c=_0x133235;this[_0x52431c(0xc8)](_0x52431c(0xc9),{'replyId':this[_0x52431c(0xc7)]['id']});}),this[_0x133235(0xbc)]['on'](_0x133235(0xd1),()=>{var _0x3d4626=_0x133235;this[_0x3d4626(0xc8)](_0x3d4626(0xd1),{'replyId':this[_0x3d4626(0xc7)]['id']});}),this[_0x133235(0xbc)]['on'](_0x133235(0xd2),(_0x273c38,{index:_0x5748e7})=>{var _0x303ceb=_0x133235;this[_0x303ceb(0xc8)](_0x303ceb(0xd2),{'replyId':this[_0x303ceb(0xc7)]['id'],'partIndex':_0x5748e7});}),this[_0x133235(0xbc)]['on'](_0x133235(0xd0),(_0xfa5322,{index:_0x1088b7})=>{var _0x1cdad7=_0x133235;this[_0x1cdad7(0xc8)](_0x1cdad7(0xd0),{'replyId':this[_0x1cdad7(0xc7)]['id'],'partIndex':_0x1088b7});}),this[_0x133235(0xbc)]['on'](_0x133235(0xc2),(_0x25e7b0,{index:_0x1eeed2})=>{var _0x4a623c=_0x133235;this[_0x4a623c(0xc8)](_0x4a623c(0xc2),{'replyId':this[_0x4a623c(0xc7)]['id'],'partIndex':_0x1eeed2});}),this[_0x133235(0xbc)]['on'](_0x133235(0xb0),(_0x144a20,{index:_0x537ce9})=>{var _0x560ab4=_0x133235;this[_0x560ab4(0xc8)](_0x560ab4(0xb0),{'replyId':this[_0x560ab4(0xc7)]['id'],'partIndex':_0x537ce9});}),this[_0x133235(0xbc)]['on'](_0x133235(0xcd),(_0x3fe5a2,{index:_0x51a139})=>{var _0x35eb9b=_0x133235;this[_0x35eb9b(0xc8)](_0x35eb9b(0xcd),{'replyId':this[_0x35eb9b(0xc7)]['id'],'partIndex':_0x51a139});}),this[_0x133235(0xcc)]=new _0x48e3db(_0xac399d,this[_0x133235(0xc7)][_0x133235(0xbb)]),this[_0x133235(0xcc)][_0x133235(0xb4)](_0x133235(0xc3))['to'](this,_0x133235(0xc3)),this[_0x133235(0xcc)]['on'](_0x133235(0xd2),()=>{var _0x293351=_0x133235;this[_0x293351(0xc8)](_0x293351(0xd2),{'replyId':this[_0x293351(0xc7)]['id']});}),this[_0x133235(0xcc)]['on'](_0x133235(0xd0),()=>{var _0x47a95f=_0x133235;this[_0x47a95f(0xc8)](_0x47a95f(0xd0),{'replyId':this[_0x47a95f(0xc7)]['id']});}),this[_0x133235(0xcc)]['on'](_0x133235(0xc1),()=>{var _0xbe6270=_0x133235;this[_0xbe6270(0xc8)](_0xbe6270(0xc1),{'replyId':this[_0xbe6270(0xc7)]['id']});}),_0x2c4188[_0x133235(0xc4)]?this[_0x133235(0xcc)][_0x133235(0xaf)]=!0x1:this[_0x133235(0xcc)][_0x133235(0xb4)](_0x133235(0xaf))['to'](this[_0x133235(0xbc)][_0x133235(0xb6)],_0x133235(0xc6)),this[_0x133235(0xc5)][_0x133235(0xc0)]([this[_0x133235(0xbc)],this[_0x133235(0xcc)]]),this[_0x133235(0xb8)]({'attributes':{'class':[_0x133235(0xd3)]}});}async[_0x4b8251(0xad)](_0x22d5a3){var _0x1f6389=_0x4b8251;await this[_0x1f6389(0xbc)][_0x1f6389(0xad)](_0x22d5a3),this[_0x1f6389(0xcc)][_0x1f6389(0xaa)](this[_0x1f6389(0xbc)][_0x1f6389(0xb6)][_0x1f6389(0xbf)]);}[_0x4b8251(0xb7)](_0x5a6fa9,_0x3145db){var _0x4e5fc9=_0x4b8251;this[_0x4e5fc9(0xbc)][_0x4e5fc9(0xb6)][_0x4e5fc9(0xb7)](_0x5a6fa9,_0x3145db);}[_0x4b8251(0xcf)](_0xadf21b){var _0x421ac8=_0x4b8251;this[_0x421ac8(0xbc)][_0x421ac8(0xcf)](_0xadf21b);}[_0x4b8251(0xd5)](_0x3437ca){var _0x42cf8a=_0x4b8251;return this[_0x42cf8a(0xbc)][_0x42cf8a(0xb6)][_0x42cf8a(0xd5)](_0x3437ca);}[_0x4b8251(0xb1)](){var _0x2b3be6=_0x4b8251;super[_0x2b3be6(0xb1)](),this[_0x2b3be6(0xbc)][_0x2b3be6(0xb1)](),this[_0x2b3be6(0xcc)][_0x2b3be6(0xbe)]=this[_0x2b3be6(0xbc)][_0x2b3be6(0xb6)][_0x2b3be6(0xbd)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x48d6cf=_0x5c2a;function _0x11bb(){var _0x2f2a08=['contextItems','_bodyCollection','element','ck-ai-chat__feed__message-content','1051762YAcjED','innerHTML','_createContextChipsView','add','2dfhEvH','children','render','options','4415hhFxli','354370ziASUI','_contextChipsView','markAsDone','8574VPVXBw','54vhkQlU','ck-ai-chat__feed__context-chips','_createMessageContentView','2835573pcqtuj','ck-ai-chat__feed__user-message','8IsXPoM','171507mIYLmc','setTemplate','_locale','99dYBswJ','extendTemplate','div','initialContent','hidden','2135436ytjIOY','length','_messageContentView','4119004bBkmHa','filter'];_0x11bb=function(){return _0x2f2a08;};return _0x11bb();}(function(_0x491c66,_0x37e8d0){var _0x2da907=_0x5c2a,_0x343429=_0x491c66();while(!![]){try{var _0xefbfd3=parseInt(_0x2da907(0x124))/0x1+-parseInt(_0x2da907(0x128))/0x2*(-parseInt(_0x2da907(0x110))/0x3)+-parseInt(_0x2da907(0x11e))/0x4+-parseInt(_0x2da907(0x108))/0x5*(-parseInt(_0x2da907(0x10c))/0x6)+parseInt(_0x2da907(0x113))/0x7*(parseInt(_0x2da907(0x112))/0x8)+-parseInt(_0x2da907(0x10d))/0x9*(-parseInt(_0x2da907(0x109))/0xa)+parseInt(_0x2da907(0x116))/0xb*(-parseInt(_0x2da907(0x11b))/0xc);if(_0xefbfd3===_0x37e8d0)break;else _0x343429['push'](_0x343429['shift']());}catch(_0x3c2e4c){_0x343429['push'](_0x343429['shift']());}}}(_0x11bb,0xd312b));import{AIChatFeedItemView as _0x408943}from'./aichatfeeditemview.js';import{AIChatFeedContextChipsView as _0x1c09de}from'./aichatfeedcontextchipsview.js';import{View as _0x4375b8}from'ckeditor5/src/ui.js';function _0x5c2a(_0x138be8,_0x215cad){var _0x11bb19=_0x11bb();return _0x5c2a=function(_0x5c2a4f,_0x575dfa){_0x5c2a4f=_0x5c2a4f-0x108;var _0x48150b=_0x11bb19[_0x5c2a4f];return _0x48150b;},_0x5c2a(_0x138be8,_0x215cad);}export class AIChatFeedUserMessageItemView extends _0x408943{[_0x48d6cf(0x10a)]=null;[_0x48d6cf(0x115)];[_0x48d6cf(0x121)];[_0x48d6cf(0x11d)];constructor(_0x269c48,_0x5d55ac,_0x494f18){var _0x274fce=_0x48d6cf;super(_0x5d55ac),this[_0x274fce(0x115)]=_0x269c48,this[_0x274fce(0x121)]=_0x494f18,this[_0x274fce(0x126)](),this[_0x274fce(0x10f)](),this[_0x274fce(0x117)]({'attributes':{'class':[_0x274fce(0x111)]}});}[_0x48d6cf(0x126)](){var _0x30187b=_0x48d6cf;this[_0x30187b(0x12b)][_0x30187b(0x120)]&&this[_0x30187b(0x12b)][_0x30187b(0x120)][_0x30187b(0x11c)]>0x0&&(this[_0x30187b(0x10a)]=new _0x1c09de(this[_0x30187b(0x115)],this[_0x30187b(0x12b)][_0x30187b(0x120)][_0x30187b(0x11f)](_0x4b8946=>!_0x4b8946[_0x30187b(0x11a)]),this[_0x30187b(0x121)]),this[_0x30187b(0x10a)][_0x30187b(0x117)]({'attributes':{'class':_0x30187b(0x10e)}}),this[_0x30187b(0x129)][_0x30187b(0x127)](this[_0x30187b(0x10a)]));}[_0x48d6cf(0x10f)](){var _0x1bb929=_0x48d6cf;this[_0x1bb929(0x11d)]=new _0x4375b8(this[_0x1bb929(0x115)]),this[_0x1bb929(0x11d)][_0x1bb929(0x114)]({'tag':_0x1bb929(0x118),'attributes':{'class':_0x1bb929(0x123)}}),this[_0x1bb929(0x129)][_0x1bb929(0x127)](this[_0x1bb929(0x11d)]);}[_0x48d6cf(0x12a)](){var _0x56bfa3=_0x48d6cf;super[_0x56bfa3(0x12a)](),this[_0x56bfa3(0x11d)][_0x56bfa3(0x122)][_0x56bfa3(0x125)]=this[_0x56bfa3(0x12b)][_0x56bfa3(0x119)],this[_0x56bfa3(0x10b)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x491db1=_0x2730;function _0x2730(_0x1f9579,_0x51cd95){const _0x92276f=_0x9227();return _0x2730=function(_0x2730b4,_0x370c2a){_0x2730b4=_0x2730b4-0x94;let _0x439c52=_0x92276f[_0x2730b4];return _0x439c52;},_0x2730(_0x1f9579,_0x51cd95);}function _0x9227(){const _0x3b5dc7=['sendUserMessage','startConversation','toggleReasoning','767898DAwzCx','removeContextItem','45UkQFZU','addResourceToContext','379698mxYqHI','abortPromptStream','226832bQTQGq','1506531zkNhwY','269773xExIZG','234drslkU','toggleWebSearch','74960gPVqWS','972138gCSZQv','loadSourceResources','addFileToContext','selectModel','addDocumentToContext','resizeTabs','addUrlToContext'];_0x9227=function(){return _0x3b5dc7;};return _0x9227();}(function(_0x4e0cd5,_0x288735){const _0xd335fc=_0x2730,_0x492c95=_0x4e0cd5();while(!![]){try{const _0x464fb1=-parseInt(_0xd335fc(0x9d))/0x1+parseInt(_0xd335fc(0xa5))/0x2+-parseInt(_0xd335fc(0xa0))/0x3+parseInt(_0xd335fc(0xa4))/0x4*(-parseInt(_0xd335fc(0x9b))/0x5)+parseInt(_0xd335fc(0x99))/0x6+-parseInt(_0xd335fc(0xa1))/0x7+-parseInt(_0xd335fc(0x9f))/0x8*(-parseInt(_0xd335fc(0xa2))/0x9);if(_0x464fb1===_0x288735)break;else _0x492c95['push'](_0x492c95['shift']());}catch(_0x8c7c23){_0x492c95['push'](_0x492c95['shift']());}}}(_0x9227,0x40026));import{AI_SUGGESTION_UI_EVENT_NAMES as _0x4afafe}from'../../aicore/utils/eventnames.js';export const AI_CHAT_UI_EVENT_NAMES=[..._0x4afafe,_0x491db1(0x97),_0x491db1(0x94),_0x491db1(0x96),_0x491db1(0x9e),_0x491db1(0xa9),_0x491db1(0xa7),_0x491db1(0x95),_0x491db1(0x9c),_0x491db1(0x9a),_0x491db1(0xa6),_0x491db1(0xa3),_0x491db1(0x98),_0x491db1(0xa8)];
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x2c7b(){const _0x50cb4b=['323610FZnCaq','reject','push','_processQueue','895476AXLKgH','fire','resolve','742936SyfGDs','_abortController','signal','shift','enqueue','abort','completePromise','388023EZcNOM','1073859jpTgHb','isProcessing','once','queue','_queueEmpty','4850846KxOBiW','createTask','941980qtQqXz','callback','length','queueEmptyPromise'];_0x2c7b=function(){return _0x50cb4b;};return _0x2c7b();}function _0x5149(_0x7a0092,_0x3f4739){const _0x2c7b2a=_0x2c7b();return _0x5149=function(_0x5149fc,_0xecb2f9){_0x5149fc=_0x5149fc-0x139;let _0x53f190=_0x2c7b2a[_0x5149fc];return _0x53f190;},_0x5149(_0x7a0092,_0x3f4739);}const _0x3c6512=_0x5149;(function(_0x43101c,_0x5a2339){const _0x4e8fe9=_0x5149,_0x4554fe=_0x43101c();while(!![]){try{const _0x392284=-parseInt(_0x4e8fe9(0x13e))/0x1+parseInt(_0x4e8fe9(0x14a))/0x2+-parseInt(_0x4e8fe9(0x13f))/0x3+parseInt(_0x4e8fe9(0x151))/0x4+-parseInt(_0x4e8fe9(0x146))/0x5+parseInt(_0x4e8fe9(0x14e))/0x6+parseInt(_0x4e8fe9(0x144))/0x7;if(_0x392284===_0x5a2339)break;else _0x4554fe['push'](_0x4554fe['shift']());}catch(_0x3f11b2){_0x4554fe['push'](_0x4554fe['shift']());}}}(_0x2c7b,0x3e59f));import{EmitterMixin as _0x352009}from'ckeditor5/src/utils.js';export class PromiseQueue extends _0x352009(){[_0x3c6512(0x142)]=[];[_0x3c6512(0x140)]=!0x1;[_0x3c6512(0x152)];async[_0x3c6512(0x13b)](_0x3d0a90){const _0xd622f9=_0x3c6512,_0x403fc0=this[_0xd622f9(0x145)](_0x3d0a90);return this[_0xd622f9(0x142)][_0xd622f9(0x14c)](_0x403fc0),this[_0xd622f9(0x14d)](),_0x403fc0[_0xd622f9(0x13d)];}[_0x3c6512(0x13c)](){const _0x5d6cbf=_0x3c6512;this[_0x5d6cbf(0x140)]&&(this[_0x5d6cbf(0x152)][_0x5d6cbf(0x13c)](),this[_0x5d6cbf(0x152)]=void 0x0,this[_0x5d6cbf(0x142)]=[],this[_0x5d6cbf(0x14f)](_0x5d6cbf(0x143)),this[_0x5d6cbf(0x140)]=!0x1);}get[_0x3c6512(0x149)](){const _0x2abfde=_0x3c6512;return this[_0x2abfde(0x142)][_0x2abfde(0x148)]||this[_0x2abfde(0x140)]?new Promise(_0x3ccf42=>{const _0x24ad2f=_0x2abfde;this[_0x24ad2f(0x141)](_0x24ad2f(0x143),()=>{_0x3ccf42();});}):Promise[_0x2abfde(0x150)]();}async[_0x3c6512(0x14d)](){const _0x89c046=_0x3c6512;if(!this[_0x89c046(0x140)]){this[_0x89c046(0x152)]=new AbortController(),this[_0x89c046(0x140)]=!0x0;try{for(;this[_0x89c046(0x142)][_0x89c046(0x148)]&&this[_0x89c046(0x140)];){const _0x22d06b=this[_0x89c046(0x142)][_0x89c046(0x13a)]();try{await _0x22d06b[_0x89c046(0x147)](this[_0x89c046(0x152)][_0x89c046(0x139)]),_0x22d06b[_0x89c046(0x150)]();}catch(_0x5b2af3){_0x22d06b[_0x89c046(0x14b)](_0x5b2af3);}}}finally{this[_0x89c046(0x140)]=!0x1,this[_0x89c046(0x152)]=void 0x0;}this[_0x89c046(0x14f)](_0x89c046(0x143));}}[_0x3c6512(0x145)](_0x879945){let _0x445c16,_0x544879;const _0x42fc50=new Promise((_0x23a52e,_0x3181bb)=>{_0x445c16=_0x23a52e,_0x544879=_0x3181bb;});return{'callback':_0x879945,'resolve':_0x445c16,'reject':_0x544879,'completePromise':_0x42fc50};}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x5a5d(_0x45ddbc,_0x348444){const _0x1e2810=_0x1e28();return _0x5a5d=function(_0x5a5dde,_0x1e0520){_0x5a5dde=_0x5a5dde-0x172;let _0x44e5e3=_0x1e2810[_0x5a5dde];return _0x44e5e3;},_0x5a5d(_0x45ddbc,_0x348444);}const _0x596bce=_0x5a5d;function _0x1e28(){const _0x5193ca=['element','stop','bind','PageUp','pointerdown','addEventListener','6329680SUDcNo','auto','8vwuMJC','517630iQbmar','_stop','destroy','wheel','deltaY','55mKpYFq','scrollHeight','signal','324102uQRiCA','keydown','5YCQlFN','abortController','animationFrameId','abort','15918MeOvlF','start','isRunning','touchstart','9816544vnxmqU','ArrowDown','_isAtBottom','Home','includes','isUserPaused','_onUserEvent','type','14890010oRZbzC','5360661fkjdhc','scrollTo','_rafUpdate','key','ArrowUp','PageDown','End'];_0x1e28=function(){return _0x5193ca;};return _0x1e28();}(function(_0x1be87a,_0xb14950){const _0x27b253=_0x5a5d,_0x1487d5=_0x1be87a();while(!![]){try{const _0x26f57e=-parseInt(_0x27b253(0x181))/0x1*(parseInt(_0x27b253(0x177))/0x2)+-parseInt(_0x27b253(0x17f))/0x3*(-parseInt(_0x27b253(0x176))/0x4)+parseInt(_0x27b253(0x17c))/0x5*(-parseInt(_0x27b253(0x185))/0x6)+parseInt(_0x27b253(0x174))/0x7+-parseInt(_0x27b253(0x189))/0x8+parseInt(_0x27b253(0x192))/0x9+parseInt(_0x27b253(0x191))/0xa;if(_0x26f57e===_0xb14950)break;else _0x1487d5['push'](_0x1487d5['shift']());}catch(_0x33260d){_0x1487d5['push'](_0x1487d5['shift']());}}}(_0x1e28,0x9fd14));const ws=[_0x596bce(0x17a),_0x596bce(0x188),_0x596bce(0x172),_0x596bce(0x180)],As=[_0x596bce(0x196),_0x596bce(0x18a),_0x596bce(0x19c),_0x596bce(0x197),_0x596bce(0x18c),_0x596bce(0x198),'\x20'];export class ScrollManager{[_0x596bce(0x199)];[_0x596bce(0x183)];[_0x596bce(0x187)];[_0x596bce(0x182)];[_0x596bce(0x18e)];constructor(_0x509bf0){const _0x5a94d9=_0x596bce;this[_0x5a94d9(0x199)]=_0x509bf0,this[_0x5a94d9(0x183)]=null,this[_0x5a94d9(0x187)]=!0x1,this[_0x5a94d9(0x182)]=new AbortController(),this[_0x5a94d9(0x18e)]=!0x1;for(const _0x3efb6f of ws){const _0xd08574=_0x5a94d9(0x180)!==_0x3efb6f;this[_0x5a94d9(0x199)][_0x5a94d9(0x173)](_0x3efb6f,this[_0x5a94d9(0x18f)][_0x5a94d9(0x19b)](this),{'passive':_0xd08574,'signal':this[_0x5a94d9(0x182)][_0x5a94d9(0x17e)]});}}[_0x596bce(0x186)](){const _0x1ec36c=_0x596bce;this[_0x1ec36c(0x187)]||(this[_0x1ec36c(0x187)]=!0x0,this[_0x1ec36c(0x18e)]=!0x1,this[_0x1ec36c(0x183)]=requestAnimationFrame(this[_0x1ec36c(0x194)][_0x1ec36c(0x19b)](this)));}[_0x596bce(0x19a)](){requestAnimationFrame(()=>{const _0x490ba5=_0x5a5d;this[_0x490ba5(0x178)]();});}[_0x596bce(0x179)](){const _0x3268a5=_0x596bce;this[_0x3268a5(0x178)](),this[_0x3268a5(0x182)][_0x3268a5(0x184)]();}[_0x596bce(0x178)](){const _0x1c580c=_0x596bce;null!==this[_0x1c580c(0x183)]&&(cancelAnimationFrame(this[_0x1c580c(0x183)]),this[_0x1c580c(0x183)]=null),this[_0x1c580c(0x187)]&&(this[_0x1c580c(0x187)]=!0x1),this[_0x1c580c(0x18e)]=!0x1;}[_0x596bce(0x18f)](_0x15c92a){const _0x1fcc22=_0x596bce;if(this[_0x1fcc22(0x187)]){if(_0x1fcc22(0x180)===_0x15c92a[_0x1fcc22(0x190)]){const _0x3c53fa=_0x15c92a[_0x1fcc22(0x195)];if(!As[_0x1fcc22(0x18d)](_0x3c53fa))return;}_0x15c92a instanceof WheelEvent?_0x15c92a[_0x1fcc22(0x17b)]<0x0?this[_0x1fcc22(0x18e)]=!0x0:this[_0x1fcc22(0x18e)]=!this[_0x1fcc22(0x18b)]():this[_0x1fcc22(0x18e)]=!0x0;}}[_0x596bce(0x18b)](){const _0x315bf6=_0x596bce,{scrollTop:_0x469b05,scrollHeight:_0x2aa803,clientHeight:_0x4d5b57}=this[_0x315bf6(0x199)];return _0x2aa803-_0x469b05-_0x4d5b57<=0x5;}[_0x596bce(0x194)](){const _0x2bb9a9=_0x596bce;this[_0x2bb9a9(0x187)]&&(this[_0x2bb9a9(0x18e)]||this[_0x2bb9a9(0x199)][_0x2bb9a9(0x193)]({'top':this[_0x2bb9a9(0x199)][_0x2bb9a9(0x17d)],'behavior':_0x2bb9a9(0x175)}),this[_0x2bb9a9(0x183)]=requestAnimationFrame(this[_0x2bb9a9(0x194)][_0x2bb9a9(0x19b)](this)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x51af04=_0xc90c;(function(_0x3647a8,_0x2583f9){var _0x213dc4=_0xc90c,_0x502725=_0x3647a8();while(!![]){try{var _0x3b7750=-parseInt(_0x213dc4(0x79))/0x1+-parseInt(_0x213dc4(0x7b))/0x2*(-parseInt(_0x213dc4(0x76))/0x3)+-parseInt(_0x213dc4(0x72))/0x4*(parseInt(_0x213dc4(0x75))/0x5)+-parseInt(_0x213dc4(0x78))/0x6*(-parseInt(_0x213dc4(0x6d))/0x7)+-parseInt(_0x213dc4(0x74))/0x8+-parseInt(_0x213dc4(0x6e))/0x9*(-parseInt(_0x213dc4(0x6c))/0xa)+-parseInt(_0x213dc4(0x70))/0xb*(-parseInt(_0x213dc4(0x73))/0xc);if(_0x3b7750===_0x2583f9)break;else _0x502725['push'](_0x502725['shift']());}catch(_0x103d45){_0x502725['push'](_0x502725['shift']());}}}(_0xf677,0x1bf26));import{ContextPlugin as _0x1e7d72}from'ckeditor5/src/core.js';import{AIChatHistoryController as _0x170eb1}from'./aichathistorycontroller.js';import{AIChatHistoryUI as _0x3e7622}from'./aichathistoryui.js';export{AIChatHistoryItem}from'./model/aichathistoryitem.js';function _0xc90c(_0x45341d,_0x53c310){var _0xf677d5=_0xf677();return _0xc90c=function(_0xc90c7a,_0x2f585d){_0xc90c7a=_0xc90c7a-0x6b;var _0x5d1958=_0xf677d5[_0xc90c7a];return _0x5d1958;},_0xc90c(_0x45341d,_0x53c310);}function _0xf677(){var _0x19d7ea=['isOfficialPlugin','1111297AuMtrx','isPremiumPlugin','158948NARJhW','12KdTlbn','1571256GEiIBj','5ALkThe','191562aTKtuF','pluginName','570VXKEui','64647blSbrc','requires','6APOVhd','AIChatHistory','948370DquuIB','2051FNRSDp','9DJLGLZ'];_0xf677=function(){return _0x19d7ea;};return _0xf677();}export class AIChatHistory extends _0x1e7d72{static get[_0x51af04(0x7a)](){return[_0x170eb1,_0x3e7622];}static get[_0x51af04(0x77)](){var _0xaec96d=_0x51af04;return _0xaec96d(0x6b);}static get[_0x51af04(0x6f)](){return!0x0;}static get[_0x51af04(0x71)](){return!0x0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x378ecf=_0x1854;(function(_0x4537e1,_0x23d496){const _0x5735f7=_0x1854,_0x5e298b=_0x4537e1();while(!![]){try{const _0x5420f4=parseInt(_0x5735f7(0xfd))/0x1*(-parseInt(_0x5735f7(0x103))/0x2)+-parseInt(_0x5735f7(0xf9))/0x3*(parseInt(_0x5735f7(0xda))/0x4)+-parseInt(_0x5735f7(0xef))/0x5*(parseInt(_0x5735f7(0x12f))/0x6)+parseInt(_0x5735f7(0xed))/0x7+-parseInt(_0x5735f7(0xd9))/0x8*(-parseInt(_0x5735f7(0xeb))/0x9)+-parseInt(_0x5735f7(0xd8))/0xa+parseInt(_0x5735f7(0xf4))/0xb;if(_0x5420f4===_0x23d496)break;else _0x5e298b['push'](_0x5e298b['shift']());}catch(_0x10f59e){_0x5e298b['push'](_0x5e298b['shift']());}}}(_0x455a,0x3240c));import{ContextPlugin as _0x11ab20}from'ckeditor5/src/core.js';import{AIConnector as _0x1ef2b9}from'../aicore/aiconnector.js';function _0x1854(_0x1ff727,_0x2f07dd){const _0x455afe=_0x455a();return _0x1854=function(_0x185427,_0x3bdd4f){_0x185427=_0x185427-0xd2;let _0x3a6b08=_0x455afe[_0x185427];return _0x3a6b08;},_0x1854(_0x1ff727,_0x2f07dd);}import{AIChatController as _0x4e56b6}from'../aichat/aichatcontroller.js';import{AITabs as _0x157c20}from'../aitabs/aitabs.js';import{AIChatHistoryUI as _0x36c01b}from'./aichathistoryui.js';function _0x455a(){const _0x1f1fa7=['9035026goRrNH','AI_CHAT_HISTORY_PIN_ACTION','getDate','updateItems','_setIsMaximized','770493RXpjJW','setDate','_showConversationHistory','removeConversation','85408rDAWpO','editConversationTitle','activateTab','_setItemLoading','AIChatHistoryController','selectConversation','6QPWgnJ','operation','get','_handleEditTitle','_handleSelectConversation','_aiChatHistoryUi','createdAt','AI_CHAT_HISTORY_CATEGORY_YESTERDAY','AI_CHAT_HISTORY_ERROR_UPDATE_TITLE','error','init','_handleHistoryErrorUI','setConversationPinned','AI_CHAT_HISTORY_ERROR_UPDATE_PINNED','view','_aiConnector','activateTab:history','remove','pinned','pluginName','getFullYear','showError','map','loadConversation','updateItemTitle','AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS','context','_handleTogglePin','items','AI_CHAT_HISTORY_ERROR_LOAD_ITEMS','requires','updateItemLoadingState','plugins','unpin','activeConversation','loadItems','listenTo','isPremiumPlugin','updates','getMonth','AI_CHAT_HISTORY_ERROR_GENERIC','openChat','_updateHistoryItemsUI','_handleRemove','30htPLyc','chat','getItems','AI_CHAT_HISTORY_CATEGORY_LATER','_generateErrorMessage','length','push','isOfficialPlugin','resize','_aiChatController','AI_CHAT_HISTORY_CATEGORY_TODAY','toLocaleDateString','change:activeConversation','AI_CHAT_HISTORY_ERROR_REMOVE_ITEM','AI_CHAT_UNTITLED_CONVERSATION','getGroupId','217040sACiRP','1182728YPyfie','4nqaGoa','getItem','title','AI_CHAT_HISTORY_CATEGORY_PINNED','setIsMaximized','updateItemPinned','handleRemovedConversation','resizeTabs','history','itemId','pin','itemsLoaded','AI_CHAT_HISTORY_UNPIN_ACTION','itemUpdated','removeItem','resizedTabs','itemRemoved','9ZLonSl','locale','405636WcbUjE','_getCategorizedItems','286560uRAWoS','setLoadingSkeleton','removeHistoryItem','_clearItemLoading','rename'];_0x455a=function(){return _0x1f1fa7;};return _0x455a();}import{AIChatHistoryConversations as _0xde18c4}from'./model/aichathistoryconversations.js';import{getTranslation as _0x23a542}from'../aicore/utils/common-translations.js';export class AIChatHistoryController extends _0x11ab20{[_0x378ecf(0x112)];[_0x378ecf(0x108)];[_0x378ecf(0x138)];static get[_0x378ecf(0x121)](){return[_0x1ef2b9,_0x4e56b6,_0x36c01b,_0x157c20];}static get[_0x378ecf(0x116)](){const _0x27d10f=_0x378ecf;return _0x27d10f(0x101);}static get[_0x378ecf(0x136)](){return!0x0;}static get[_0x378ecf(0x128)](){return!0x0;}[_0x378ecf(0x10d)](){const _0x284543=_0x378ecf;this[_0x284543(0x112)]=this[_0x284543(0x11d)][_0x284543(0x123)][_0x284543(0x105)](_0x1ef2b9),this[_0x284543(0x108)]=this[_0x284543(0x11d)][_0x284543(0x123)][_0x284543(0x105)](_0x36c01b),this[_0x284543(0x138)]=this[_0x284543(0x11d)][_0x284543(0x123)][_0x284543(0x105)](_0x4e56b6);const _0x54a035=this[_0x284543(0x11d)][_0x284543(0x123)][_0x284543(0x105)](_0x157c20),_0x1099e6=this[_0x284543(0x138)][_0x284543(0xd7)]();this[_0x284543(0xe2)]=new _0xde18c4({'connector':this[_0x284543(0x112)],'group':_0x1099e6}),this[_0x284543(0x127)](this[_0x284543(0x108)],_0x284543(0xfc),(_0x4d0a04,_0x187190)=>{const _0x5197be=_0x284543;this[_0x5197be(0x100)](_0x187190['id'],_0x5197be(0x114)),this[_0x5197be(0x12e)](_0x187190['id']);}),this[_0x284543(0x127)](this[_0x284543(0x108)],_0x284543(0xfe),(_0x282494,_0x4e6ec8)=>{const _0x39c6d4=_0x284543;this[_0x39c6d4(0x100)](_0x4e6ec8['id'],_0x39c6d4(0xf3)),this[_0x39c6d4(0x106)](_0x4e6ec8['id'],_0x4e6ec8[_0x39c6d4(0xdc)]);}),this[_0x284543(0x127)](this[_0x284543(0xe2)],_0x284543(0xe7),(_0x58b1b5,_0x315eeb)=>{const _0x15ba00=_0x284543;void 0x0!==_0x315eeb[_0x15ba00(0x129)][_0x15ba00(0xdc)]&&this[_0x15ba00(0x108)][_0x15ba00(0x11b)](_0x315eeb[_0x15ba00(0xe3)],_0x315eeb[_0x15ba00(0x129)][_0x15ba00(0xdc)]),void 0x0!==_0x315eeb[_0x15ba00(0x129)][_0x15ba00(0x115)]&&this[_0x15ba00(0x12d)](),this[_0x15ba00(0xf2)](_0x315eeb[_0x15ba00(0xe3)]);}),this[_0x284543(0x127)](this[_0x284543(0xe2)],_0x284543(0xea),(_0x229580,_0x642a66)=>{const _0x2252fe=_0x284543;this[_0x2252fe(0x138)][_0x2252fe(0xe0)](_0x642a66[_0x2252fe(0xe3)]),this[_0x2252fe(0x108)][_0x2252fe(0xf1)](_0x642a66[_0x2252fe(0xe3)]),this[_0x2252fe(0xf2)](_0x642a66[_0x2252fe(0xe3)]);}),this[_0x284543(0x127)](this[_0x284543(0xe2)],_0x284543(0xe5),()=>{const _0x458818=_0x284543;this[_0x458818(0x12d)]();}),this[_0x284543(0x127)](this[_0x284543(0xe2)],_0x284543(0x10c),(_0x84d118,_0x12afd5)=>{const _0x165833=_0x284543;this[_0x165833(0x10e)](_0x12afd5[_0x165833(0x10c)],_0x12afd5[_0x165833(0x104)],_0x12afd5[_0x165833(0xe3)]);}),this[_0x284543(0x127)](this[_0x284543(0x108)],_0x284543(0x102),(_0x4cb6e8,_0x506408)=>{const _0x3d8f48=_0x284543;this[_0x3d8f48(0x107)](_0x506408['id']);}),this[_0x284543(0x127)](this[_0x284543(0x108)],_0x284543(0x10f),(_0x1324de,_0x5c7005)=>{const _0x468d8e=_0x284543,_0x2031a8=_0x5c7005[_0x468d8e(0x115)]?_0x468d8e(0xe4):_0x468d8e(0x124);this[_0x468d8e(0x100)](_0x5c7005['id'],_0x2031a8),this[_0x468d8e(0x11e)](_0x5c7005['id'],_0x5c7005[_0x468d8e(0x115)]);}),this[_0x284543(0x127)](this[_0x284543(0x108)],_0x284543(0x12c),()=>{const _0x392eea=_0x284543;_0x54a035[_0x392eea(0x111)][_0x392eea(0xff)](_0x392eea(0x130));}),this[_0x284543(0x127)](this[_0x284543(0x138)],_0x284543(0xd4),()=>{const _0x863c5a=_0x284543;this[_0x863c5a(0x12d)]();}),_0x54a035[_0x284543(0x111)]['on'](_0x284543(0x113),()=>{const _0x28aaf5=_0x284543;this[_0x28aaf5(0xfb)]();}),this[_0x284543(0x127)](_0x54a035,_0x284543(0xe9),(_0x479cec,_0x12f2f4)=>{const _0x3b764b=_0x284543;this[_0x3b764b(0xf8)](_0x12f2f4);}),this[_0x284543(0x127)](this[_0x284543(0x108)],_0x284543(0xe1),()=>{const _0x41fa62=_0x284543;_0x54a035[_0x41fa62(0x137)]();});}async[_0x378ecf(0x106)](_0x354f48,_0x397e63){const _0x3b2bda=_0x378ecf;await this[_0x3b2bda(0xe2)][_0x3b2bda(0x11b)](_0x354f48,_0x397e63);}async[_0x378ecf(0x11e)](_0x1a562b,_0x5a0cb0){const _0x14e1aa=_0x378ecf;await this[_0x14e1aa(0xe2)][_0x14e1aa(0xdf)](_0x1a562b,_0x5a0cb0);}async[_0x378ecf(0x12e)](_0x84d34a){const _0x46e06a=_0x378ecf;await this[_0x46e06a(0xe2)][_0x46e06a(0xe8)](_0x84d34a);}async[_0x378ecf(0x107)](_0x45190c){const _0x1e62a8=_0x378ecf;await this[_0x1e62a8(0x138)][_0x1e62a8(0x11a)](_0x45190c);}async[_0x378ecf(0xfb)](){const _0x39c9ed=_0x378ecf;this[_0x39c9ed(0x108)][_0x39c9ed(0x118)](''),this[_0x39c9ed(0x108)][_0x39c9ed(0xf0)](!0x0),await this[_0x39c9ed(0xe2)][_0x39c9ed(0x10d)](),this[_0x39c9ed(0x108)][_0x39c9ed(0xf0)](!0x1);}[_0x378ecf(0x12d)](){const _0x1a9e29=_0x378ecf,_0x3e4fdd=this[_0x1a9e29(0x138)][_0x1a9e29(0x125)]?.['id'],_0x561c31=this[_0x1a9e29(0xee)]()[_0x1a9e29(0x119)](_0x5c5578=>({'title':_0x5c5578[_0x1a9e29(0xdc)],'items':_0x5c5578[_0x1a9e29(0x11f)][_0x1a9e29(0x119)](_0x529453=>({'id':_0x529453['id'],'title':_0x529453[_0x1a9e29(0xdc)]||_0x23a542(this[_0x1a9e29(0x11d)][_0x1a9e29(0xec)],_0x1a9e29(0xd6)),'createdAt':new Date(_0x529453[_0x1a9e29(0x109)])[_0x1a9e29(0xd3)](),'active':_0x529453['id']===_0x3e4fdd,'pinned':_0x529453[_0x1a9e29(0x115)]}))}));this[_0x1a9e29(0x108)][_0x1a9e29(0xf7)](_0x561c31);}[_0x378ecf(0x100)](_0x3058ba,_0x2d3fb0){const _0x26f499=_0x378ecf;this[_0x26f499(0x108)][_0x26f499(0x122)](_0x3058ba,_0x2d3fb0,!0x0);}[_0x378ecf(0xf2)](_0x35a943){const _0x50ebc6=_0x378ecf;this[_0x50ebc6(0x108)][_0x50ebc6(0x122)](_0x35a943,null,!0x1);}[_0x378ecf(0x10e)](_0x428057,_0x5e68a6,_0x48c6f7){const _0x4992ed=_0x378ecf,_0x38752f=this[_0x4992ed(0x133)](_0x5e68a6,_0x48c6f7);this[_0x4992ed(0x108)][_0x4992ed(0x118)](_0x38752f),_0x48c6f7&&this[_0x4992ed(0xf2)](_0x48c6f7),this[_0x4992ed(0x108)][_0x4992ed(0xf0)](!0x1);}[_0x378ecf(0x133)](_0x35189d,_0x4ccdf3){const _0xd2ef6b=_0x378ecf,_0x80b340=_0x4ccdf3?this[_0xd2ef6b(0xe2)][_0xd2ef6b(0xdb)](_0x4ccdf3):null,_0x1fcc47=_0x80b340?.[_0xd2ef6b(0xdc)]||_0x23a542(this[_0xd2ef6b(0x11d)][_0xd2ef6b(0xec)],_0xd2ef6b(0xd6));switch(_0x35189d){case _0xd2ef6b(0x11b):return _0x23a542(this[_0xd2ef6b(0x11d)][_0xd2ef6b(0xec)],_0xd2ef6b(0x10b),_0x1fcc47);case _0xd2ef6b(0xdf):{const _0x39901d=_0x23a542(this[_0xd2ef6b(0x11d)][_0xd2ef6b(0xec)],_0x80b340?.[_0xd2ef6b(0x115)]?_0xd2ef6b(0xe6):_0xd2ef6b(0xf5));return _0x23a542(this[_0xd2ef6b(0x11d)][_0xd2ef6b(0xec)],_0xd2ef6b(0x110),[_0x39901d,_0x1fcc47]);}case _0xd2ef6b(0xe8):return _0x23a542(this[_0xd2ef6b(0x11d)][_0xd2ef6b(0xec)],_0xd2ef6b(0xd5),_0x1fcc47);case _0xd2ef6b(0x10d):case _0xd2ef6b(0x126):return _0x23a542(this[_0xd2ef6b(0x11d)][_0xd2ef6b(0xec)],_0xd2ef6b(0x120));default:return _0x23a542(this[_0xd2ef6b(0x11d)][_0xd2ef6b(0xec)],_0xd2ef6b(0x12b));}}[_0x378ecf(0xee)](){const _0x23ef45=_0x378ecf,_0x39fd2d=new Date(),_0x224d2a=new Date(_0x39fd2d[_0x23ef45(0x117)](),_0x39fd2d[_0x23ef45(0x12a)](),_0x39fd2d[_0x23ef45(0xf6)]()),_0x3295f6=new Date(_0x224d2a);_0x3295f6[_0x23ef45(0xfa)](_0x3295f6[_0x23ef45(0xf6)]()-0x1);const _0x1153e4=new Date(_0x224d2a);_0x1153e4[_0x23ef45(0xfa)](_0x1153e4[_0x23ef45(0xf6)]()-0xe);const _0x2dc4a1=this[_0x23ef45(0xe2)][_0x23ef45(0x131)]({'pinned':!0x0}),_0x4e2424=this[_0x23ef45(0xe2)][_0x23ef45(0x131)]({'from':_0x224d2a,'to':_0x224d2a}),_0x198ce4=this[_0x23ef45(0xe2)][_0x23ef45(0x131)]({'from':_0x3295f6,'to':_0x3295f6}),_0x552d04=this[_0x23ef45(0xe2)][_0x23ef45(0x131)]({'from':_0x1153e4,'to':_0x3295f6}),_0x21ab08=this[_0x23ef45(0xe2)][_0x23ef45(0x131)]({'to':_0x1153e4}),_0x4a2a30=[];return _0x2dc4a1[_0x23ef45(0x134)]>0x0&&_0x4a2a30[_0x23ef45(0x135)]({'title':_0x23a542(this[_0x23ef45(0x11d)][_0x23ef45(0xec)],_0x23ef45(0xdd)),'items':_0x2dc4a1}),_0x4e2424[_0x23ef45(0x134)]>0x0&&_0x4a2a30[_0x23ef45(0x135)]({'title':_0x23a542(this[_0x23ef45(0x11d)][_0x23ef45(0xec)],_0x23ef45(0xd2)),'items':_0x4e2424}),_0x198ce4[_0x23ef45(0x134)]>0x0&&_0x4a2a30[_0x23ef45(0x135)]({'title':_0x23a542(this[_0x23ef45(0x11d)][_0x23ef45(0xec)],_0x23ef45(0x10a)),'items':_0x198ce4}),_0x552d04[_0x23ef45(0x134)]>0x0&&_0x4a2a30[_0x23ef45(0x135)]({'title':_0x23a542(this[_0x23ef45(0x11d)][_0x23ef45(0xec)],_0x23ef45(0x11c)),'items':_0x552d04}),_0x21ab08[_0x23ef45(0x134)]>0x0&&_0x4a2a30[_0x23ef45(0x135)]({'title':_0x23a542(this[_0x23ef45(0x11d)][_0x23ef45(0xec)],_0x23ef45(0x132)),'items':_0x21ab08}),_0x4a2a30;}[_0x378ecf(0xf8)](_0x8d6c69){const _0x474a69=_0x378ecf;this[_0x474a69(0x108)][_0x474a69(0xde)](_0x8d6c69);}}
|
|
23
|
+
const _0x39ea75=_0x43e9;(function(_0x5d5523,_0x2c7747){const _0x3ad943=_0x43e9,_0x46f194=_0x5d5523();while(!![]){try{const _0x563937=parseInt(_0x3ad943(0x155))/0x1*(-parseInt(_0x3ad943(0x191))/0x2)+-parseInt(_0x3ad943(0x186))/0x3+parseInt(_0x3ad943(0x14b))/0x4*(parseInt(_0x3ad943(0x18d))/0x5)+parseInt(_0x3ad943(0x14a))/0x6+-parseInt(_0x3ad943(0x16e))/0x7+-parseInt(_0x3ad943(0x192))/0x8+parseInt(_0x3ad943(0x16f))/0x9;if(_0x563937===_0x2c7747)break;else _0x46f194['push'](_0x46f194['shift']());}catch(_0x3a03af){_0x46f194['push'](_0x46f194['shift']());}}}(_0x1f83,0xb59fe));import{ContextPlugin as _0x513435}from'ckeditor5/src/core.js';import{AIConnector as _0x5dc0be}from'../aicore/aiconnector.js';import{AIChatController as _0x3aeb2d}from'../aichat/aichatcontroller.js';import{AITabs as _0x27753a}from'../aitabs/aitabs.js';import{AIChatHistoryUI as _0x2f72e1}from'./aichathistoryui.js';import{AIChatHistoryConversations as _0x234b29}from'./model/aichathistoryconversations.js';function _0x43e9(_0x7061be,_0x41492d){const _0x1f839f=_0x1f83();return _0x43e9=function(_0x43e9aa,_0x3bf516){_0x43e9aa=_0x43e9aa-0x13d;let _0x2c19bb=_0x1f839f[_0x43e9aa];return _0x2c19bb;},_0x43e9(_0x7061be,_0x41492d);}import{getTranslation as _0x33a01f}from'../aicore/utils/common-translations.js';export class AIChatHistoryController extends _0x513435{[_0x39ea75(0x17c)];[_0x39ea75(0x18e)];[_0x39ea75(0x15a)];static get[_0x39ea75(0x15c)](){return[_0x5dc0be,_0x3aeb2d,_0x2f72e1,_0x27753a];}static get[_0x39ea75(0x14e)](){const _0x2efc28=_0x39ea75;return _0x2efc28(0x175);}static get[_0x39ea75(0x164)](){return!0x0;}static get[_0x39ea75(0x157)](){return!0x0;}[_0x39ea75(0x182)](){const _0x552d98=_0x39ea75;this[_0x552d98(0x17c)]=this[_0x552d98(0x19b)][_0x552d98(0x168)][_0x552d98(0x17f)](_0x5dc0be),this[_0x552d98(0x18e)]=this[_0x552d98(0x19b)][_0x552d98(0x168)][_0x552d98(0x17f)](_0x2f72e1),this[_0x552d98(0x15a)]=this[_0x552d98(0x19b)][_0x552d98(0x168)][_0x552d98(0x17f)](_0x3aeb2d);const _0x503df2=this[_0x552d98(0x19b)][_0x552d98(0x168)][_0x552d98(0x17f)](_0x27753a),_0x385d76=this[_0x552d98(0x15a)][_0x552d98(0x13e)]();this[_0x552d98(0x15e)]=new _0x234b29({'connector':this[_0x552d98(0x17c)],'group':_0x385d76}),this[_0x552d98(0x196)](this[_0x552d98(0x18e)],_0x552d98(0x16a),(_0x247174,_0x298047)=>{const _0x187a9d=_0x552d98;this[_0x187a9d(0x174)](_0x298047['id'],_0x187a9d(0x19e)),this[_0x187a9d(0x1a1)](_0x298047['id']);}),this[_0x552d98(0x196)](this[_0x552d98(0x18e)],_0x552d98(0x184),(_0xe48038,_0x5edd49)=>{const _0x1ed999=_0x552d98;this[_0x1ed999(0x174)](_0x5edd49['id'],_0x1ed999(0x13d)),this[_0x1ed999(0x185)](_0x5edd49['id'],_0x5edd49[_0x1ed999(0x183)]);}),this[_0x552d98(0x196)](this[_0x552d98(0x15e)],_0x552d98(0x178),(_0x401d55,_0x597944)=>{const _0x272e7d=_0x552d98;void 0x0!==_0x597944[_0x272e7d(0x152)][_0x272e7d(0x183)]&&this[_0x272e7d(0x18e)][_0x272e7d(0x194)](_0x597944[_0x272e7d(0x159)],_0x597944[_0x272e7d(0x152)][_0x272e7d(0x183)]),void 0x0!==_0x597944[_0x272e7d(0x152)][_0x272e7d(0x16c)]&&this[_0x272e7d(0x176)](),this[_0x272e7d(0x153)](_0x597944[_0x272e7d(0x159)]);}),this[_0x552d98(0x196)](this[_0x552d98(0x15e)],_0x552d98(0x14c),(_0x271505,_0x59ed8d)=>{const _0x237822=_0x552d98;this[_0x237822(0x15a)][_0x237822(0x1a0)](_0x59ed8d[_0x237822(0x159)]),this[_0x237822(0x18e)][_0x237822(0x173)](_0x59ed8d[_0x237822(0x159)]),this[_0x237822(0x153)](_0x59ed8d[_0x237822(0x159)]);}),this[_0x552d98(0x196)](this[_0x552d98(0x15e)],_0x552d98(0x170),()=>{const _0x398b4c=_0x552d98;this[_0x398b4c(0x176)]();}),this[_0x552d98(0x196)](this[_0x552d98(0x15e)],_0x552d98(0x172),(_0x4558a6,_0x46b9ac)=>{const _0x15c620=_0x552d98;this[_0x15c620(0x189)](_0x46b9ac[_0x15c620(0x172)],_0x46b9ac[_0x15c620(0x187)],_0x46b9ac[_0x15c620(0x159)]);}),this[_0x552d98(0x196)](this[_0x552d98(0x18e)],_0x552d98(0x18f),(_0x3662de,_0x505997)=>{const _0x4557e3=_0x552d98;this[_0x4557e3(0x197)](_0x505997['id']);}),this[_0x552d98(0x196)](this[_0x552d98(0x18e)],_0x552d98(0x171),(_0x3fa1a5,_0x4c8243)=>{const _0x74e818=_0x552d98,_0x1a9c6d=_0x4c8243[_0x74e818(0x16c)]?_0x74e818(0x195):_0x74e818(0x15b);this[_0x74e818(0x174)](_0x4c8243['id'],_0x1a9c6d),this[_0x74e818(0x160)](_0x4c8243['id'],_0x4c8243[_0x74e818(0x16c)]);}),this[_0x552d98(0x196)](this[_0x552d98(0x18e)],_0x552d98(0x19c),()=>{const _0x380d73=_0x552d98;_0x503df2[_0x380d73(0x193)][_0x380d73(0x140)](_0x380d73(0x145));}),this[_0x552d98(0x196)](this[_0x552d98(0x15a)],_0x552d98(0x146),()=>{const _0xaf2a02=_0x552d98;this[_0xaf2a02(0x176)]();}),_0x503df2[_0x552d98(0x193)]['on'](_0x552d98(0x19a),()=>{const _0x22f437=_0x552d98;this[_0x22f437(0x15d)]();}),this[_0x552d98(0x196)](_0x503df2,_0x552d98(0x18b),(_0x4515ff,_0xa26b5f)=>{const _0x534c74=_0x552d98;this[_0x534c74(0x17d)](_0xa26b5f);}),this[_0x552d98(0x196)](this[_0x552d98(0x18e)],_0x552d98(0x149),()=>{const _0xc59c86=_0x552d98;_0x503df2[_0xc59c86(0x148)]();});}async[_0x39ea75(0x185)](_0x52341c,_0x5331d6){const _0x3c4eea=_0x39ea75;await this[_0x3c4eea(0x15e)][_0x3c4eea(0x194)](_0x52341c,_0x5331d6);}async[_0x39ea75(0x160)](_0x38e7bb,_0x15ebca){const _0x5b4d34=_0x39ea75;await this[_0x5b4d34(0x15e)][_0x5b4d34(0x163)](_0x38e7bb,_0x15ebca);}async[_0x39ea75(0x1a1)](_0x1c7aff){const _0x513cb1=_0x39ea75;await this[_0x513cb1(0x15e)][_0x513cb1(0x166)](_0x1c7aff);}async[_0x39ea75(0x197)](_0x212841){const _0x54190b=_0x39ea75;await this[_0x54190b(0x15a)][_0x54190b(0x16d)](_0x212841);}async[_0x39ea75(0x15d)](){const _0x260b89=_0x39ea75;this[_0x260b89(0x18e)][_0x260b89(0x19d)](''),this[_0x260b89(0x18e)][_0x260b89(0x18a)](!0x0),await this[_0x260b89(0x15e)][_0x260b89(0x182)](),this[_0x260b89(0x18e)][_0x260b89(0x18a)](!0x1);}[_0x39ea75(0x176)](){const _0x2ac86f=_0x39ea75,_0x735388=this[_0x2ac86f(0x15a)][_0x2ac86f(0x147)]?.['id'],_0x4815d7=this[_0x2ac86f(0x181)]()[_0x2ac86f(0x151)](_0x40884e=>({'title':_0x40884e[_0x2ac86f(0x183)],'items':_0x40884e[_0x2ac86f(0x190)][_0x2ac86f(0x151)](_0x1af2fe=>({'id':_0x1af2fe['id'],'title':_0x1af2fe[_0x2ac86f(0x183)]||_0x33a01f(this[_0x2ac86f(0x19b)][_0x2ac86f(0x158)],_0x2ac86f(0x165)),'createdAt':new Date(_0x1af2fe[_0x2ac86f(0x198)])[_0x2ac86f(0x19f)](),'active':_0x1af2fe['id']===_0x735388,'pinned':_0x1af2fe[_0x2ac86f(0x16c)]}))}));this[_0x2ac86f(0x18e)][_0x2ac86f(0x144)](_0x4815d7);}[_0x39ea75(0x174)](_0x35b0ac,_0xf587a5){const _0x2593f5=_0x39ea75;this[_0x2593f5(0x18e)][_0x2593f5(0x180)](_0x35b0ac,_0xf587a5,!0x0);}[_0x39ea75(0x153)](_0x29871f){const _0x43e726=_0x39ea75;this[_0x43e726(0x18e)][_0x43e726(0x180)](_0x29871f,null,!0x1);}[_0x39ea75(0x189)](_0x5e4dc4,_0x5862ff,_0x8fcbdf){const _0x52df33=_0x39ea75,_0x2462bd=this[_0x52df33(0x169)](_0x5862ff,_0x8fcbdf);this[_0x52df33(0x18e)][_0x52df33(0x19d)](_0x2462bd),_0x8fcbdf&&this[_0x52df33(0x153)](_0x8fcbdf),this[_0x52df33(0x18e)][_0x52df33(0x18a)](!0x1);}[_0x39ea75(0x169)](_0x72d848,_0x1144d3){const _0x592ac2=_0x39ea75,_0x40fc64=_0x1144d3?this[_0x592ac2(0x15e)][_0x592ac2(0x143)](_0x1144d3):null,_0x4a5b88=_0x40fc64?.[_0x592ac2(0x183)]||_0x33a01f(this[_0x592ac2(0x19b)][_0x592ac2(0x158)],_0x592ac2(0x165));switch(_0x72d848){case _0x592ac2(0x194):return _0x33a01f(this[_0x592ac2(0x19b)][_0x592ac2(0x158)],_0x592ac2(0x17a),_0x4a5b88);case _0x592ac2(0x163):{const _0x41f461=_0x33a01f(this[_0x592ac2(0x19b)][_0x592ac2(0x158)],_0x40fc64?.[_0x592ac2(0x16c)]?_0x592ac2(0x14d):_0x592ac2(0x15f));return _0x33a01f(this[_0x592ac2(0x19b)][_0x592ac2(0x158)],_0x592ac2(0x154),[_0x41f461,_0x4a5b88]);}case _0x592ac2(0x166):return _0x33a01f(this[_0x592ac2(0x19b)][_0x592ac2(0x158)],_0x592ac2(0x167),_0x4a5b88);case _0x592ac2(0x182):case _0x592ac2(0x150):return _0x33a01f(this[_0x592ac2(0x19b)][_0x592ac2(0x158)],_0x592ac2(0x179));default:return _0x33a01f(this[_0x592ac2(0x19b)][_0x592ac2(0x158)],_0x592ac2(0x142));}}[_0x39ea75(0x181)](){const _0x34cd45=_0x39ea75,_0x163ac9=new Date(),_0x3ca0e0=new Date(_0x163ac9[_0x34cd45(0x13f)](),_0x163ac9[_0x34cd45(0x141)](),_0x163ac9[_0x34cd45(0x162)]()),_0x2ab429=new Date(_0x3ca0e0);_0x2ab429[_0x34cd45(0x156)](_0x2ab429[_0x34cd45(0x162)]()-0x1);const _0x1fcb56=new Date(_0x3ca0e0);_0x1fcb56[_0x34cd45(0x156)](_0x1fcb56[_0x34cd45(0x162)]()-0xe);const _0x401d4b=this[_0x34cd45(0x15e)][_0x34cd45(0x188)]({'pinned':!0x0}),_0x301c17=this[_0x34cd45(0x15e)][_0x34cd45(0x188)]({'from':_0x3ca0e0,'to':_0x3ca0e0}),_0x427a8a=this[_0x34cd45(0x15e)][_0x34cd45(0x188)]({'from':_0x2ab429,'to':_0x2ab429}),_0x40bf7d=this[_0x34cd45(0x15e)][_0x34cd45(0x188)]({'from':_0x1fcb56,'to':_0x2ab429}),_0x2e15db=this[_0x34cd45(0x15e)][_0x34cd45(0x188)]({'to':_0x1fcb56}),_0x407d22=[];return _0x401d4b[_0x34cd45(0x18c)]>0x0&&_0x407d22[_0x34cd45(0x17e)]({'title':_0x33a01f(this[_0x34cd45(0x19b)][_0x34cd45(0x158)],_0x34cd45(0x17b)),'items':_0x401d4b}),_0x301c17[_0x34cd45(0x18c)]>0x0&&_0x407d22[_0x34cd45(0x17e)]({'title':_0x33a01f(this[_0x34cd45(0x19b)][_0x34cd45(0x158)],_0x34cd45(0x16b)),'items':_0x301c17}),_0x427a8a[_0x34cd45(0x18c)]>0x0&&_0x407d22[_0x34cd45(0x17e)]({'title':_0x33a01f(this[_0x34cd45(0x19b)][_0x34cd45(0x158)],_0x34cd45(0x199)),'items':_0x427a8a}),_0x40bf7d[_0x34cd45(0x18c)]>0x0&&_0x407d22[_0x34cd45(0x17e)]({'title':_0x33a01f(this[_0x34cd45(0x19b)][_0x34cd45(0x158)],_0x34cd45(0x161)),'items':_0x40bf7d}),_0x2e15db[_0x34cd45(0x18c)]>0x0&&_0x407d22[_0x34cd45(0x17e)]({'title':_0x33a01f(this[_0x34cd45(0x19b)][_0x34cd45(0x158)],_0x34cd45(0x177)),'items':_0x2e15db}),_0x407d22;}[_0x39ea75(0x17d)](_0x12fc12){const _0x5ca46e=_0x39ea75;this[_0x5ca46e(0x18e)][_0x5ca46e(0x14f)](_0x12fc12);}}function _0x1f83(){const _0x14d301=['AI_CHAT_HISTORY_ERROR_UPDATE_PINNED','1QmyIvD','setDate','isPremiumPlugin','locale','itemId','_aiChatController','unpin','requires','_showConversationHistory','history','AI_CHAT_HISTORY_PIN_ACTION','_handleTogglePin','AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS','getDate','updateItemPinned','isOfficialPlugin','AI_CHAT_UNTITLED_CONVERSATION','removeItem','AI_CHAT_HISTORY_ERROR_REMOVE_ITEM','plugins','_generateErrorMessage','removeConversation','AI_CHAT_HISTORY_CATEGORY_TODAY','pinned','loadConversation','10353966wflRvd','27788580dMEOKK','itemsLoaded','setConversationPinned','error','removeHistoryItem','_setItemLoading','AIChatHistoryController','_updateHistoryItemsUI','AI_CHAT_HISTORY_CATEGORY_LATER','itemUpdated','AI_CHAT_HISTORY_ERROR_LOAD_ITEMS','AI_CHAT_HISTORY_ERROR_UPDATE_TITLE','AI_CHAT_HISTORY_CATEGORY_PINNED','_aiConnector','_setIsMaximized','push','get','updateItemLoadingState','_getCategorizedItems','init','title','editConversationTitle','_handleEditTitle','4108791yUqYNR','operation','getItems','_handleHistoryErrorUI','setLoadingSkeleton','resizedTabs','length','5yqTgGs','_aiChatHistoryUi','selectConversation','items','797428OMAaSu','789760YbRYpI','view','updateItemTitle','pin','listenTo','_handleSelectConversation','createdAt','AI_CHAT_HISTORY_CATEGORY_YESTERDAY','activateTab:history','context','openChat','showError','remove','toLocaleDateString','handleRemovedConversation','_handleRemove','rename','getGroupId','getFullYear','activateTab','getMonth','AI_CHAT_HISTORY_ERROR_GENERIC','getItem','updateItems','chat','change:activeConversation','activeConversation','resize','resizeTabs','5896470VIzKqD','78952boqett','itemRemoved','AI_CHAT_HISTORY_UNPIN_ACTION','pluginName','setIsMaximized','loadItems','map','updates','_clearItemLoading'];_0x1f83=function(){return _0x14d301;};return _0x1f83();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x366aa9=_0x1396;(function(_0x3ba379,_0x514907){const _0x3f90c2=_0x1396,_0x3876a0=_0x3ba379();while(!![]){try{const _0x4b3595=parseInt(_0x3f90c2(0x1f9))/0x1*(parseInt(_0x3f90c2(0x1eb))/0x2)+parseInt(_0x3f90c2(0x1e4))/0x3+-parseInt(_0x3f90c2(0x1d7))/0x4*(-parseInt(_0x3f90c2(0x1ea))/0x5)+parseInt(_0x3f90c2(0x1f3))/0x6*(-parseInt(_0x3f90c2(0x1fb))/0x7)+parseInt(_0x3f90c2(0x1d0))/0x8+-parseInt(_0x3f90c2(0x1d8))/0x9+parseInt(_0x3f90c2(0x1f7))/0xa*(-parseInt(_0x3f90c2(0x1f5))/0xb);if(_0x4b3595===_0x514907)break;else _0x3876a0['push'](_0x3876a0['shift']());}catch(_0x4fee71){_0x3876a0['push'](_0x3876a0['shift']());}}}(_0x5415,0xbc14a));import{ContextPlugin as _0x6b9092}from'ckeditor5/src/core.js';import{AITabs as _0x4cea1f}from'../aitabs/aitabs.js';import{IconAIHistory as _0x18cee4}from'ckeditor5/src/icons.js';import{AIChatHistoryView as _0xe49e17}from'./ui/aichathistoryview.js';import{getTranslation as _0x2ba199}from'../aicore/utils/common-translations.js';function _0x1396(_0x25da60,_0x3832fd){const _0x541521=_0x5415();return _0x1396=function(_0x1396e4,_0x24cf0f){_0x1396e4=_0x1396e4-0x1ce;let _0x20dfa6=_0x541521[_0x1396e4];return _0x20dfa6;},_0x1396(_0x25da60,_0x3832fd);}import'../../theme/aichat/aichathistory.css';export const AI_CHAT_HISTORY_UI_EVENT_NAMES=[_0x366aa9(0x1ec),_0x366aa9(0x1d5),_0x366aa9(0x1f8),_0x366aa9(0x1f0),_0x366aa9(0x1ee),_0x366aa9(0x1de),_0x366aa9(0x1d2)];function _0x5415(){const _0x15a34d=['isLoading','486XoTsej','isMaximized','5173531ucHTcW','errorMessage','30OeWLTP','editConversationTitle','452361ecvvAz','context','51191wCxTUe','hideError','updateItemTitle','showError','8359688hlmfOf','delegate','resizeTabs','history','_historyView','removeConversation','updateItems','4SdQFsz','5877639SfWonN','showResizeButton','AIChatHistoryUI','isPremiumPlugin','pluginName','get','openChat','locale','isOfficialPlugin','requires','setLoadingSkeleton','removeHistoryItem','4240119knhpUO','updateItemLoadingState','plugins','view','AI_CHAT_HISTORY_HEADING','setIsMaximized','318545VQJUgQ','4kmwQdl','showConversationHistory','updateHistoryItemsWithCategories','selectConversation','addTab','setConversationPinned','AITabs'];_0x5415=function(){return _0x15a34d;};return _0x5415();}export class AIChatHistoryUI extends _0x6b9092{static get[_0x366aa9(0x1e1)](){return[_0x4cea1f];}[_0x366aa9(0x1d4)];static get[_0x366aa9(0x1dc)](){const _0xa96ac2=_0x366aa9;return _0xa96ac2(0x1da);}static get[_0x366aa9(0x1e0)](){return!0x0;}static get[_0x366aa9(0x1db)](){return!0x0;}constructor(_0x2e4be4){const _0x170595=_0x366aa9;super(_0x2e4be4);const _0x28c57e=this[_0x170595(0x1fa)][_0x170595(0x1e6)][_0x170595(0x1dd)](_0x170595(0x1f1));this[_0x170595(0x1d4)]=new _0xe49e17(this[_0x170595(0x1fa)][_0x170595(0x1df)],_0x28c57e[_0x170595(0x1d9)]),this[_0x170595(0x1d4)][_0x170595(0x1d1)](...AI_CHAT_HISTORY_UI_EVENT_NAMES)['to'](this),_0x28c57e[_0x170595(0x1e7)][_0x170595(0x1ef)]({'id':_0x170595(0x1d3),'buttonLabel':_0x2ba199(this[_0x170595(0x1fa)][_0x170595(0x1df)],_0x170595(0x1e8)),'buttonIcon':_0x18cee4,'order':0x0,'content':this[_0x170595(0x1d4)]});}[_0x366aa9(0x1e3)](_0x1e81a4){const _0x1a4cdb=_0x366aa9;this[_0x1a4cdb(0x1d4)][_0x1a4cdb(0x1e3)](_0x1e81a4);}[_0x366aa9(0x1d6)](_0x1a76e8){const _0x125e7c=_0x366aa9;this[_0x125e7c(0x1d4)][_0x125e7c(0x1ed)](_0x1a76e8);}[_0x366aa9(0x1ce)](_0xadbd2e,_0x477c49){const _0x2346f8=_0x366aa9;this[_0x2346f8(0x1d4)][_0x2346f8(0x1ce)](_0xadbd2e,_0x477c49);}[_0x366aa9(0x1e5)](_0x121015,_0x616a6f,_0x46054b){const _0x36884c=_0x366aa9;this[_0x36884c(0x1d4)][_0x36884c(0x1e5)](_0x121015,_0x616a6f,_0x46054b);}[_0x366aa9(0x1e2)](_0x1619f1){const _0x17463e=_0x366aa9;this[_0x17463e(0x1d4)][_0x17463e(0x1f2)]=_0x1619f1;}[_0x366aa9(0x1cf)](_0x27cfe0){const _0x297072=_0x366aa9;this[_0x297072(0x1d4)][_0x297072(0x1f6)]=_0x27cfe0;}[_0x366aa9(0x1fc)](){const _0x3145e0=_0x366aa9;this[_0x3145e0(0x1d4)][_0x3145e0(0x1f6)]='';}[_0x366aa9(0x1e9)](_0x4c3c2e){const _0x10973=_0x366aa9;this[_0x10973(0x1d4)][_0x10973(0x1f4)]=_0x4c3c2e;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x45b21e=_0x49f5;function _0x22cb(){const _0x518b29=['itemsLoaded','updateItemTitle','init','updateItemPinned','getResult','1363088kwzppW','getMonth','getDate','loadItems','fire','getItem','group','execute','updateConversation','pinned','deleteConversation','splice','4074550EWIbsS','getItems','1622092MkSUBB','4188doTdQC','addItem','findIndex','from','5vpklOc','itemUpdated','connector','createdAt','push','removeItem','error','2887926HrvCvn','3593qoXblD','getTime','26iswXqY','1871202DShkoT','items','find','updateTitle','12331lVcsGk','getConversations','9sblKqo','getFullYear','filter','7FHbSEW','itemRemoved','updatePinned','map','fetchConversations'];_0x22cb=function(){return _0x518b29;};return _0x22cb();}(function(_0x584938,_0x4bab07){const _0x8797ec=_0x49f5,_0x500b6b=_0x584938();while(!![]){try{const _0x3be0d1=-parseInt(_0x8797ec(0x1cb))/0x1*(parseInt(_0x8797ec(0x1cd))/0x2)+parseInt(_0x8797ec(0x1ce))/0x3+parseInt(_0x8797ec(0x1be))/0x4*(parseInt(_0x8797ec(0x1c3))/0x5)+-parseInt(_0x8797ec(0x1ca))/0x6+-parseInt(_0x8797ec(0x1d7))/0x7*(parseInt(_0x8797ec(0x1b0))/0x8)+parseInt(_0x8797ec(0x1d4))/0x9*(parseInt(_0x8797ec(0x1bc))/0xa)+parseInt(_0x8797ec(0x1d2))/0xb*(-parseInt(_0x8797ec(0x1bf))/0xc);if(_0x3be0d1===_0x4bab07)break;else _0x500b6b['push'](_0x500b6b['shift']());}catch(_0x1d739d){_0x500b6b['push'](_0x500b6b['shift']());}}}(_0x22cb,0x54bbb));import{EmitterMixin as _0x237b7f}from'ckeditor5/src/utils.js';import{AIChatHistoryItem as _0x59cd43}from'./aichathistoryitem.js';function _0x49f5(_0x4c8814,_0x2ea132){const _0x22cb90=_0x22cb();return _0x49f5=function(_0x49f593,_0xcd4b3d){_0x49f593=_0x49f593-0x1a9;let _0x4ca832=_0x22cb90[_0x49f593];return _0x4ca832;},_0x49f5(_0x4c8814,_0x2ea132);}export class AIChatHistoryConversations extends _0x237b7f(){[_0x45b21e(0x1cf)]=[];[_0x45b21e(0x1c5)];[_0x45b21e(0x1b6)];constructor({connector:_0x1aa0d9,group:_0x419f13}){const _0x3f5383=_0x45b21e;super(),this[_0x3f5383(0x1c5)]=_0x1aa0d9,this[_0x3f5383(0x1b6)]=_0x419f13;}async[_0x45b21e(0x1ad)](){const _0x1af62c=_0x45b21e;try{const _0x1ddf70=this[_0x1af62c(0x1c5)][_0x1af62c(0x1aa)](this[_0x1af62c(0x1b6)]),_0x209e64=await _0x1ddf70[_0x1af62c(0x1d3)]();this[_0x1af62c(0x1b3)](_0x209e64);}catch(_0x32f70f){this[_0x1af62c(0x1b4)](_0x1af62c(0x1c9),{'error':_0x32f70f,'operation':_0x1af62c(0x1ad)});}}[_0x45b21e(0x1c0)](_0x33e1bd){const _0xd1d67d=_0x45b21e;this[_0xd1d67d(0x1cf)][_0xd1d67d(0x1c7)](_0x33e1bd);}async[_0x45b21e(0x1c8)](_0x56fbf0){const _0x210341=_0x45b21e,_0x1d0e36=this[_0x210341(0x1cf)][_0x210341(0x1c1)](_0x16696b=>_0x16696b['id']===_0x56fbf0);if(-0x1===_0x1d0e36)return!0x1;try{return await this[_0x210341(0x1c5)][_0x210341(0x1ba)](_0x56fbf0)[_0x210341(0x1b7)](),this[_0x210341(0x1cf)][_0x210341(0x1bb)](_0x1d0e36,0x1),this[_0x210341(0x1b4)](_0x210341(0x1d8),{'itemId':_0x56fbf0}),!0x0;}catch(_0x5d35b6){return this[_0x210341(0x1b4)](_0x210341(0x1c9),{'error':_0x5d35b6,'operation':_0x210341(0x1c8),'itemId':_0x56fbf0}),!0x1;}}[_0x45b21e(0x1b5)](_0x1eb9ee){const _0x42348f=_0x45b21e;return this[_0x42348f(0x1cf)][_0x42348f(0x1d0)](_0x245ebd=>_0x245ebd['id']===_0x1eb9ee);}async[_0x45b21e(0x1ac)](_0x16de34,_0x577069){const _0x5c6f57=_0x45b21e,_0x13322d=this[_0x5c6f57(0x1b5)](_0x16de34);if(!_0x13322d)return!0x1;try{return await this[_0x5c6f57(0x1c5)][_0x5c6f57(0x1b8)](_0x16de34,{'title':_0x577069})[_0x5c6f57(0x1af)](),_0x13322d[_0x5c6f57(0x1d1)](_0x577069),this[_0x5c6f57(0x1b4)](_0x5c6f57(0x1c4),{'itemId':_0x16de34,'updates':{'title':_0x577069}}),!0x0;}catch(_0x3f6942){return this[_0x5c6f57(0x1b4)](_0x5c6f57(0x1c9),{'error':_0x3f6942,'operation':_0x5c6f57(0x1ac),'itemId':_0x16de34}),!0x1;}}async[_0x45b21e(0x1ae)](_0x3757f3,_0x5a141f){const _0x17b708=_0x45b21e,_0x2e41ac=this[_0x17b708(0x1b5)](_0x3757f3);if(!_0x2e41ac)return!0x1;try{return await this[_0x17b708(0x1c5)][_0x17b708(0x1b8)](_0x3757f3,{'pinned':_0x5a141f})[_0x17b708(0x1af)](),_0x2e41ac[_0x17b708(0x1d9)](_0x5a141f),this[_0x17b708(0x1b4)](_0x17b708(0x1c4),{'itemId':_0x3757f3,'updates':{'pinned':_0x5a141f}}),!0x0;}catch(_0x222cae){return this[_0x17b708(0x1b4)](_0x17b708(0x1c9),{'error':_0x222cae,'operation':_0x17b708(0x1ae),'itemId':_0x3757f3}),!0x1;}}[_0x45b21e(0x1b3)](_0x3b3d70){const _0x1a1afd=_0x45b21e;try{this[_0x1a1afd(0x1cf)]=[],_0x3b3d70[_0x1a1afd(0x1a9)](_0x1a164d=>{const _0x43c419=_0x1a1afd;this[_0x43c419(0x1c0)](new _0x59cd43(_0x1a164d));}),this[_0x1a1afd(0x1b4)](_0x1a1afd(0x1ab),{'items':[...this[_0x1a1afd(0x1cf)]]});}catch(_0x4410f5){this[_0x1a1afd(0x1b4)](_0x1a1afd(0x1c9),{'error':_0x4410f5,'operation':_0x1a1afd(0x1b3)});}}[_0x45b21e(0x1bd)](_0xcd1f3b={}){const _0x537a6c=_0x45b21e,_0xe3c2dc=void 0x0!==_0xcd1f3b[_0x537a6c(0x1b9)]&&_0xcd1f3b[_0x537a6c(0x1b9)],_0x34120c=_0xcd1f3b[_0x537a6c(0x1c2)]?new Date(_0xcd1f3b[_0x537a6c(0x1c2)][_0x537a6c(0x1d5)](),_0xcd1f3b[_0x537a6c(0x1c2)][_0x537a6c(0x1b1)](),_0xcd1f3b[_0x537a6c(0x1c2)][_0x537a6c(0x1b2)]()):null,_0x3a82c8=_0xcd1f3b['to']?new Date(_0xcd1f3b['to'][_0x537a6c(0x1d5)](),_0xcd1f3b['to'][_0x537a6c(0x1b1)](),_0xcd1f3b['to'][_0x537a6c(0x1b2)]()):null;return this[_0x537a6c(0x1cf)][_0x537a6c(0x1d6)](_0x459b6e=>{const _0x3ffa34=_0x537a6c;if(_0x459b6e[_0x3ffa34(0x1b9)]!==_0xe3c2dc)return!0x1;if(_0x3a82c8){const _0x347c8c=new Date(_0x459b6e[_0x3ffa34(0x1c6)][_0x3ffa34(0x1d5)](),_0x459b6e[_0x3ffa34(0x1c6)][_0x3ffa34(0x1b1)](),_0x459b6e[_0x3ffa34(0x1c6)][_0x3ffa34(0x1b2)]());return _0x34120c?_0x34120c[_0x3ffa34(0x1cc)]()===_0x3a82c8[_0x3ffa34(0x1cc)]()?_0x347c8c[_0x3ffa34(0x1cc)]()===_0x34120c[_0x3ffa34(0x1cc)]():_0x347c8c<_0x3a82c8&&_0x347c8c>=_0x34120c:_0x347c8c<_0x3a82c8;}return!0x0;});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x855e6f=_0x7b90;(function(_0xad0eaf,_0xa1151e){var _0x59757a=_0x7b90,_0x29e19c=_0xad0eaf();while(!![]){try{var _0x56216e=parseInt(_0x59757a(0x1b5))/0x1*(-parseInt(_0x59757a(0x1c7))/0x2)+parseInt(_0x59757a(0x1c6))/0x3+parseInt(_0x59757a(0x1c1))/0x4*(-parseInt(_0x59757a(0x1bb))/0x5)+parseInt(_0x59757a(0x1b7))/0x6*(parseInt(_0x59757a(0x1bc))/0x7)+parseInt(_0x59757a(0x1bf))/0x8*(parseInt(_0x59757a(0x1ba))/0x9)+parseInt(_0x59757a(0x1c3))/0xa*(-parseInt(_0x59757a(0x1be))/0xb)+parseInt(_0x59757a(0x1b6))/0xc;if(_0x56216e===_0xa1151e)break;else _0x29e19c['push'](_0x29e19c['shift']());}catch(_0x38354d){_0x29e19c['push'](_0x29e19c['shift']());}}}(_0x4c19,0x98443));import{ObservableMixin as _0x35eb16}from'ckeditor5/src/utils.js';function _0x4c19(){var _0x5d53ec=['51880miEqKQ','updatePinned','createdAt','2245992qggRdC','6UFnMMk','318589pDHTOo','11136612VKhTIw','1737516ZIyAkm','set','pinned','6381nvUewc','5jeevPt','7CzoJET','updatedAt','1628noKYdf','10680KxMixU','updateTitle','2262168eCEeZJ','title'];_0x4c19=function(){return _0x5d53ec;};return _0x4c19();}import{escape as _0x51ecc9}from'es-toolkit/compat';function _0x7b90(_0x1ab92c,_0x4c289c){var _0x4c1966=_0x4c19();return _0x7b90=function(_0x7b901f,_0x2f5e02){_0x7b901f=_0x7b901f-0x1b5;var _0x5d5ceb=_0x4c1966[_0x7b901f];return _0x5d5ceb;},_0x7b90(_0x1ab92c,_0x4c289c);}export class AIChatHistoryItem extends _0x35eb16(){['id'];[_0x855e6f(0x1c5)];constructor({id:_0x22137e,title:_0x1862a6,createdAt:_0x14bef0,updatedAt:_0x59a084,pinned:_0x5d38d4}){var _0xb4b6a4=_0x855e6f;super(),this['id']=_0x22137e,this[_0xb4b6a4(0x1c5)]=new Date(_0x14bef0),this[_0xb4b6a4(0x1b8)](_0xb4b6a4(0x1c2),_0x1862a6),this[_0xb4b6a4(0x1b8)](_0xb4b6a4(0x1bd),_0x59a084?new Date(_0x59a084):null),this[_0xb4b6a4(0x1b8)](_0xb4b6a4(0x1b9),_0x5d38d4||!0x1);}[_0x855e6f(0x1c0)](_0x4956f6){var _0x373e64=_0x855e6f;this[_0x373e64(0x1b8)](_0x373e64(0x1c2),_0x51ecc9(_0x4956f6)),this[_0x373e64(0x1bd)]=new Date();}[_0x855e6f(0x1c4)](_0x4e7efa){var _0x4be2ee=_0x855e6f;this[_0x4be2ee(0x1b8)](_0x4be2ee(0x1b9),_0x4e7efa),this[_0x4be2ee(0x1bd)]=new Date();}}
|