@ckeditor/ckeditor5-ai 47.2.0-alpha.2 → 47.2.0-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/dist/index.js +5 -5
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +15 -15
- package/src/aiactions/aiactions.js +1 -1
- package/src/aiactions/model/aiactionsinteraction.js +1 -1
- package/src/aiactions/model/aiactionsreply.js +1 -1
- package/src/aiassistant/adapters/aiadapter.js +1 -1
- package/src/aiassistant/adapters/aitextadapter.js +1 -1
- package/src/aiassistant/adapters/awstextadapter.js +1 -1
- package/src/aiassistant/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant/aiassistant.js +1 -1
- package/src/aiassistant/aiassistantediting.js +1 -1
- package/src/aiassistant/aiassistantui.js +1 -1
- package/src/aiassistant/legacyerrors.js +1 -1
- package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
- package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
- package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
- package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
- package/src/aiassistant/ui/form/aiformview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
- package/src/aiassistant/ui/form/prompthistory.js +1 -1
- package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
- package/src/aiassistant/utils/common-translations.js +1 -1
- package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
- package/src/aiballoon/aiballoon.js +1 -1
- package/src/aiballoon/ui/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 _0x424889=_0x524e;(function(_0x35d576,_0x4047c2){const _0x1c7c9b=_0x524e,_0x507c48=_0x35d576();while(!![]){try{const _0x94b6b9=parseInt(_0x1c7c9b(0xb2))/0x1*(parseInt(_0x1c7c9b(0xb7))/0x2)+parseInt(_0x1c7c9b(0x8f))/0x3*(-parseInt(_0x1c7c9b(0xb1))/0x4)+-parseInt(_0x1c7c9b(0xae))/0x5+-parseInt(_0x1c7c9b(0xc3))/0x6+parseInt(_0x1c7c9b(0xc0))/0x7+parseInt(_0x1c7c9b(0xbb))/0x8+parseInt(_0x1c7c9b(0x9e))/0x9;if(_0x94b6b9===_0x4047c2)break;else _0x507c48['push'](_0x507c48['shift']());}catch(_0x13c38b){_0x507c48['push'](_0x507c48['shift']());}}}(_0x3961,0xca50e));import{BalloonPanelView as _0x19415c,ButtonView as _0x307473,clickOutsideHandler as _0x3a4364,FormHeaderView as _0x1ee553}from'ckeditor5/src/ui.js';import{IconPreviousArrow as _0x50453d}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x4ef30f}from'../../../../aicore/utils/common-translations.js';import{AIChatContextResourcesView as _0x5e5c7a}from'./aichatcontextresourcesview.js';function _0x524e(_0x5662ab,_0x1cfd6f){const _0x3961b9=_0x3961();return _0x524e=function(_0x524ec6,_0x4694a7){_0x524ec6=_0x524ec6-0x8c;let _0x1989c7=_0x3961b9[_0x524ec6];return _0x1989c7;},_0x524e(_0x5662ab,_0x1cfd6f);}const Nr=_0x424889(0x8c),Xr=_0x424889(0x97),Kr=_0x424889(0x9a);export class AIChatResourcesBalloonView{[_0x424889(0xa6)]=new Map();[_0x424889(0x8e)];[_0x424889(0x9f)];[_0x424889(0x99)];constructor(_0x454622,_0x3d5bff,_0xf040ec){const _0x5c4c8e=_0x424889;this[_0x5c4c8e(0x9f)]=_0x454622,this[_0x5c4c8e(0x8e)]=_0x3d5bff,this[_0x5c4c8e(0x99)]=_0xf040ec;}[_0x424889(0xbc)](_0x361f2c){const _0x58c1b5=_0x424889;let _0x21b1e3=this[_0x58c1b5(0xa6)][_0x58c1b5(0xc4)](_0x361f2c['id']);_0x21b1e3||(_0x21b1e3=this[_0x58c1b5(0xbe)](),this[_0x58c1b5(0xa6)][_0x58c1b5(0xc1)](_0x361f2c['id'],_0x21b1e3),this[_0x58c1b5(0xc7)](_0x21b1e3)),this[_0x58c1b5(0xc2)](_0x21b1e3,_0x361f2c),_0x21b1e3[_0x58c1b5(0xa0)]();const _0x44dc40=this[_0x58c1b5(0x99)][_0x58c1b5(0x92)]();_0x44dc40&&_0x21b1e3[_0x58c1b5(0xac)]({'target':_0x44dc40,'limiter':this[_0x58c1b5(0x99)][_0x58c1b5(0x93)]()});}[_0x424889(0xb8)](_0x3c5224,_0x2acb50,_0x52ab1c){const _0x4dd88=_0x424889,_0x57c541=this[_0x4dd88(0xa6)][_0x4dd88(0xc4)](_0x3c5224);if(!_0x57c541)return;const _0x26e270=this[_0x4dd88(0x96)](_0x57c541);_0x26e270&&(_0x26e270[_0x4dd88(0x95)](_0x2acb50,_0x52ab1c),_0x26e270[_0x4dd88(0x90)](_0x4dd88(0xad),()=>{const _0x469f8b=_0x4dd88;_0x57c541[_0x469f8b(0xac)]({'target':this[_0x469f8b(0x99)][_0x469f8b(0x92)](),'limiter':this[_0x469f8b(0x99)][_0x469f8b(0x93)]()});}));}[_0x424889(0x9d)](_0x89a068){const _0x3d0941=_0x424889,_0x236bdd=this[_0x3d0941(0xa6)][_0x3d0941(0xc4)](_0x89a068);_0x236bdd&&requestAnimationFrame(()=>{const _0x4e85bc=_0x3d0941;_0x236bdd[_0x4e85bc(0xa2)](),this[_0x4e85bc(0xa6)][_0x4e85bc(0xb9)](_0x89a068),this[_0x4e85bc(0x99)][_0x4e85bc(0x91)]();});}[_0x424889(0xaf)](){const _0x5ba632=_0x424889;for(const _0x23d840 of this[_0x5ba632(0xa6)][_0x5ba632(0xb6)]())if(_0x23d840[_0x5ba632(0xb4)])return!0x0;return!0x1;}[_0x424889(0xbd)](_0x4288fb,_0x23dce4,_0x2a3626){const _0x243b19=_0x424889,_0x276de3=this[_0x243b19(0xa6)][_0x243b19(0xc4)](_0x4288fb);if(!_0x276de3||!_0x276de3[_0x243b19(0xb4)])return;const _0x4a95e6=this[_0x243b19(0x99)][_0x243b19(0x92)]();if(!_0x4a95e6)return;_0x276de3[_0x243b19(0xac)]({'target':_0x4a95e6,'limiter':this[_0x243b19(0x99)][_0x243b19(0x93)]()});const _0x43ba1a=this[_0x243b19(0x96)](_0x276de3);_0x43ba1a&&_0x43ba1a[_0x243b19(0xbd)](_0x23dce4,_0x2a3626);}[_0x424889(0xa5)](){const _0x4571ad=_0x424889;for(const _0x8df176 of this[_0x4571ad(0xa6)][_0x4571ad(0xb6)]())_0x8df176[_0x4571ad(0xa5)]();this[_0x4571ad(0xa6)][_0x4571ad(0x98)]();}[_0x424889(0xbe)](){const _0x469cc4=_0x424889,_0x51bb46=new _0x19415c(this[_0x469cc4(0x9f)]);return _0x51bb46[_0x469cc4(0xaa)]({'attributes':{'class':Nr}}),this[_0x469cc4(0x8e)][_0x469cc4(0xa4)](_0x51bb46),_0x51bb46;}[_0x424889(0xc2)](_0x2e68d5,_0x55f6f9){const _0x39ea64=_0x424889;_0x2e68d5[_0x39ea64(0x8d)][_0x39ea64(0x98)]();const _0x1c4bf6=this[_0x39ea64(0x9c)](_0x2e68d5,_0x55f6f9);_0x2e68d5[_0x39ea64(0x8d)][_0x39ea64(0xa4)](_0x1c4bf6);const _0x5b1b19=this[_0x39ea64(0xc6)](_0x55f6f9);_0x2e68d5[_0x39ea64(0x8d)][_0x39ea64(0xa4)](_0x5b1b19);}[_0x424889(0x9c)](_0x30d8bb,_0x19c2a8){const _0x2cf149=_0x424889,_0x1a6b5a=this[_0x2cf149(0xb3)](_0x30d8bb),_0x256703=new _0x1ee553(this[_0x2cf149(0x9f)],{'label':_0x19c2a8[_0x2cf149(0xba)],'class':Kr});return _0x256703[_0x2cf149(0xa9)][_0x2cf149(0xa4)](_0x1a6b5a,0x0),_0x256703;}[_0x424889(0xb3)](_0x4364de){const _0x17f193=_0x424889,_0x3c46dc=new _0x307473(this[_0x17f193(0x9f)]);return _0x3c46dc[_0x17f193(0xc1)]({'icon':_0x50453d,'tooltip':_0x4ef30f(this[_0x17f193(0x9f)],_0x17f193(0xa8)),'tooltipPosition':'n','class':Xr}),_0x3c46dc['on'](_0x17f193(0xa7),()=>{const _0x231c1b=_0x17f193;_0x4364de[_0x231c1b(0xa2)](),this[_0x231c1b(0x99)][_0x231c1b(0xab)]();}),_0x3c46dc;}[_0x424889(0xc6)](_0x4ce31f){const _0x4ca5e6=_0x424889,_0x401834=new _0x5e5c7a(this[_0x4ca5e6(0x9f)],{'source':_0x4ce31f,'searchInputVisibleFrom':this[_0x4ca5e6(0x99)][_0x4ca5e6(0xc5)]});return _0x401834['on'](_0x4ca5e6(0xb0),(_0x179b78,_0x2508cd)=>{const _0x27b686=_0x4ca5e6;this[_0x27b686(0x99)][_0x27b686(0xb5)](_0x2508cd);}),_0x401834['on'](_0x4ca5e6(0x9b),(_0x459fc3,_0x5e61c2)=>{const _0x16de06=_0x4ca5e6;this[_0x16de06(0x99)][_0x16de06(0xbf)](_0x5e61c2[_0x16de06(0x94)],_0x5e61c2[_0x16de06(0xa3)]),this[_0x16de06(0x9d)](_0x4ce31f['id']);}),_0x401834;}[_0x424889(0x96)](_0x13bcde){const _0x139d5e=_0x424889,_0x50e943=_0x13bcde[_0x139d5e(0x8d)][_0x139d5e(0xc4)](0x1);return _0x50e943 instanceof _0x5e5c7a?_0x50e943:null;}[_0x424889(0xc7)](_0x35f048){const _0x473862=_0x424889;_0x3a4364({'emitter':_0x35f048,'contextElements':[_0x35f048[_0x473862(0xa1)]],'callback':()=>{const _0x1af662=_0x473862;_0x35f048[_0x1af662(0xa2)](),this[_0x1af662(0x99)][_0x1af662(0x91)]();},'activator':()=>_0x35f048[_0x473862(0xb4)]});}}function _0x3961(){const _0xf47f25=['values','171906iocbiJ','populateSourceResourceBalloon','delete','label','11073800MUYbhY','showSourceResourcesBalloon','updateResourceState','_createSourceResourceBalloonPanel','onResourceSelected','11581997lPeEWp','set','_addSourceResourceContent','8125146nvAglA','get','searchInputVisibleFrom','_createBalloonResourcesView','_setupSingleResourceBalloonClickOutsideHandler','ck-ai-chat-context-controls__source-balloon-panel','content','_bodyCollection','36LSflNG','once','onBalloonClosed','getTargetElement','getLimiterElement','source','setResources','_getResourcesViewFromBalloon','ck-button-icon\x20ck-button-back','clear','_config','ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_source','addResourceToContext','_createBalloonHeader','closeSourceResourceBalloon','14434029GbKiTk','_locale','show','element','hide','resource','add','destroy','_sourceResourceBalloons','execute','AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT','children','extendTemplate','onBackToContext','pin','change:isLoading','5628570PTOebq','isAnyResourceBalloonVisible','loadSourceResources','501964usKvOy','2DJPRYt','_createBackButton','isVisible','onLoadSourceResources'];_0x3961=function(){return _0xf47f25;};return _0x3961();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ButtonView as
|
|
23
|
+
import{ButtonView as _0x56877e,IconView as _0x3f66d6,LabeledFieldView as _0x2f4ff1,createLabeledInputText as th}from'ckeditor5/src/ui.js';import{IconLoupe as _0x3566aa,IconCancel as _0x3a58b6}from'ckeditor5/src/icons.js';import{getTranslation as _0x223c1b}from'../../../../aicore/utils/common-translations.js';export class AIChatContextResourcesSearchInputView extends _0x2f4ff1{['iconView'];['resetButtonView'];['_viewConfig'];constructor(_0x28846f){const t=_0x28846f['t'],_0x3c29c2={'showResetButton':!0x0,'showIcon':!0x0,'creator':th,'label':_0x223c1b(_0x28846f,'AI_CHAT_SEARCH_RESOURCES')};super(_0x28846f,_0x3c29c2['creator']),this['label']=_0x3c29c2['label'],this['_viewConfig']=_0x3c29c2,this['_viewConfig']['showIcon']&&this['_setupSearchIcon'](),this['_viewConfig']['showResetButton']&&this['_setupResetButton'](_0x28846f,t),this['_setupEventListeners']();}['reset'](){this['fieldView']['reset'](),this['_viewConfig']['showResetButton']&&this['resetButtonView']&&(this['resetButtonView']['isVisible']=!0x1),this['search']('');}['search'](_0x35b50e){this['fire']('search',_0x35b50e);}['getQuery'](){return this['fieldView']['element']?.['value']||'';}['_setupSearchIcon'](){this['iconView']=new _0x3f66d6(),this['iconView']['content']=_0x3566aa,this['fieldWrapperChildren']['add'](this['iconView'],0x0),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-icon'}});}['_setupResetButton'](_0x42b63a,t){this['resetButtonView']=new _0x56877e(_0x42b63a),this['resetButtonView']['set']({'label':t('Clear'),'icon':_0x3a58b6,'class':'ck-search__reset','isVisible':!0x1,'tooltip':!0x0}),this['resetButtonView']['on']('execute',()=>{this['reset'](),this['focus'](),this['fire']('reset');}),this['resetButtonView']['bind']('isVisible')['to'](this['fieldView'],'isEmpty',_0x3ee649=>!_0x3ee649),this['fieldWrapperChildren']['add'](this['resetButtonView']),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-reset'}});}['_setupEventListeners'](){this['listenTo'](this['fieldView'],'input',()=>{this['search'](this['fieldView']['element']['value']);}),this['bind']('isEnabled')['to'](this);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x31cd47=_0x2a45;(function(_0x15e72b,_0x74dcf4){const _0x4a3b7b=_0x2a45,_0x38447a=_0x15e72b();while(!![]){try{const _0x26abf6=-parseInt(_0x4a3b7b(0x17f))/0x1+parseInt(_0x4a3b7b(0x18d))/0x2+parseInt(_0x4a3b7b(0x18c))/0x3+-parseInt(_0x4a3b7b(0x183))/0x4+-parseInt(_0x4a3b7b(0x181))/0x5+-parseInt(_0x4a3b7b(0x185))/0x6*(-parseInt(_0x4a3b7b(0x182))/0x7)+parseInt(_0x4a3b7b(0x18b))/0x8*(parseInt(_0x4a3b7b(0x193))/0x9);if(_0x26abf6===_0x74dcf4)break;else _0x38447a['push'](_0x38447a['shift']());}catch(_0x51f016){_0x38447a['push'](_0x38447a['shift']());}}}(_0x257d,0x74f62));function _0x2a45(_0x2976dc,_0x19448d){const _0x257d78=_0x257d();return _0x2a45=function(_0x2a45a1,_0x5d1db9){_0x2a45a1=_0x2a45a1-0x176;let _0x249bdd=_0x257d78[_0x2a45a1];return _0x249bdd;},_0x2a45(_0x2976dc,_0x19448d);}function _0x257d(){const _0x4eadf3=['_bodyCollection','ck-ai-chat__feed__context-chips','destroy','_createContextChips','_contextChips','423889enrHMb','reorganizeChips','2792700pHJvTo','140FhBMcj','3281824NczoUI','div','216582ArdcJN','setContainerElement','_overflowManager','render','ck-ai-chat-context-chips-wrapper','createCollection','1784eAtrgS','416208GMmtWJ','1510810SAtSkf','locale','ck-ai-chat-controls_context_show-more-button','ck-ai-chat-context-controls__show-more-balloon-panel','add','querySelector','26874IddAaH','setTemplate','ck-ai-chat-controls-button','element','ck-reset_all','ck-ai-chat-context-chips-wrapper-balloon'];_0x257d=function(){return _0x4eadf3;};return _0x257d();}import{View as _0x44f0aa}from'ckeditor5/src/ui.js';import{AIChatContextItemButtonView as _0xbc59b2}from'../controls/aichatcontextitembuttonview.js';import{AIChatChipsOverflowManager as _0x2b8b05}from'../controls/aichatchipsoverflowmanager.js';const $o=_0x31cd47(0x17b),Qo=_0x31cd47(0x189),Xo=_0x31cd47(0x179),Lo=_0x31cd47(0x176),Oo=_0x31cd47(0x18f),Mo=_0x31cd47(0x190);export class AIChatFeedContextChipsView extends _0x44f0aa{[_0x31cd47(0x17e)]=this[_0x31cd47(0x18a)]();[_0x31cd47(0x187)];[_0x31cd47(0x17a)];constructor(_0x1a9ea0,_0x1c8ac3,_0x47fd1d){const _0x2ad74a=_0x31cd47;super(_0x1a9ea0),this[_0x2ad74a(0x17a)]=_0x47fd1d,this[_0x2ad74a(0x17d)](_0x1c8ac3);const _0x1127b3={'cssClasses':{'showMoreButton':Oo,'showMoreBalloon':Mo,'overflowContainer':Xo,'controlsButton':Lo}};this[_0x2ad74a(0x187)]=new _0x2b8b05(_0x1a9ea0,this[_0x2ad74a(0x17e)],_0x1127b3,this[_0x2ad74a(0x17a)],this),this[_0x2ad74a(0x194)]({'tag':_0x2ad74a(0x184),'attributes':{'class':[$o,'ck',_0x2ad74a(0x178)]},'children':[{'tag':_0x2ad74a(0x184),'attributes':{'class':Qo},'children':this[_0x2ad74a(0x17e)]}]});}[_0x31cd47(0x188)](){const _0x507be5=_0x31cd47;super[_0x507be5(0x188)]();const _0x3628ea=this[_0x507be5(0x177)][_0x507be5(0x192)]('.'+Qo);_0x3628ea&&(this[_0x507be5(0x187)][_0x507be5(0x186)](_0x3628ea),this[_0x507be5(0x187)][_0x507be5(0x180)]());}[_0x31cd47(0x17c)](){const _0x5c5f67=_0x31cd47;super[_0x5c5f67(0x17c)](),this[_0x5c5f67(0x187)][_0x5c5f67(0x17c)]();}[_0x31cd47(0x17d)](_0x517619){const _0x4cd998=_0x31cd47;for(const _0x4615e8 of _0x517619){const _0x3c6542=new _0xbc59b2(this[_0x4cd998(0x18e)],_0x4615e8,!0x0,!0x1);this[_0x4cd998(0x17e)][_0x4cd998(0x191)](_0x3c6542);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x80d0(_0xf8570b,_0x25233c){var _0x3eb283=_0x3eb2();return _0x80d0=function(_0x80d05c,_0x4cb18d){_0x80d05c=_0x80d05c-0xfb;var _0x4cf0c9=_0x3eb283[_0x80d05c];return _0x4cf0c9;},_0x80d0(_0xf8570b,_0x25233c);}var _0x267938=_0x80d0;(function(_0x2792dc,_0xac98de){var _0x33401e=_0x80d0,_0x3fc2a5=_0x2792dc();while(!![]){try{var _0x2f8d09=-parseInt(_0x33401e(0x109))/0x1*(-parseInt(_0x33401e(0x10e))/0x2)+parseInt(_0x33401e(0x110))/0x3*(-parseInt(_0x33401e(0xfd))/0x4)+-parseInt(_0x33401e(0x10b))/0x5+parseInt(_0x33401e(0xfb))/0x6+parseInt(_0x33401e(0x10a))/0x7*(parseInt(_0x33401e(0x108))/0x8)+-parseInt(_0x33401e(0x111))/0x9*(parseInt(_0x33401e(0x102))/0xa)+parseInt(_0x33401e(0x105))/0xb*(parseInt(_0x33401e(0x10f))/0xc);if(_0x2f8d09===_0xac98de)break;else _0x3fc2a5['push'](_0x3fc2a5['shift']());}catch(_0x4616ee){_0x3fc2a5['push'](_0x3fc2a5['shift']());}}}(_0x3eb2,0xcabeb));import{AIChatFeedItemView as _0x50334a}from'./aichatfeeditemview.js';export class AIChatFeedErrorItemView extends _0x50334a{constructor(_0xab5c74){var _0x3fa889=_0x80d0;super(_0xab5c74),this[_0x3fa889(0x112)]({'attributes':{'class':[_0x3fa889(0x101),_0x3fa889(0x10c)===_0xab5c74[_0x3fa889(0x100)]?_0x3fa889(0xfc):'']}});}[_0x267938(0x106)](){var _0xd426a7=_0x267938;super[_0xd426a7(0x106)](),this[_0xd426a7(0xfe)](this[_0xd426a7(0x104)][_0xd426a7(0x10d)]),this[_0xd426a7(0x103)]();}[_0x267938(0xfe)](_0x208502){var _0x2d0262=_0x267938;this[_0x2d0262(0xff)][_0x2d0262(0x107)]=_0x208502;}}function _0x3eb2(){var _0x2d90a9=['render','innerHTML','8965144ZKHJWL','263309EgbxYs','7vtOXdt','8024495VcOVDU','warning','initialContent','6HMdJhR','7591704ClyKKg','207816hybXkc','536589ZMYngo','extendTemplate','6902352ltSjsl','ck-ai-chat-error_warning','52GGOJXU','setContent','element','level','ck-ai-chat-error','60esiKmJ','markAsDone','options','11geIjuE'];_0x3eb2=function(){return _0x2d90a9;};return _0x3eb2();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x223600=_0x4c66;(function(_0x588721,_0x92f2e3){const _0x50f32c=_0x4c66,_0x4d4ca7=_0x588721();while(!![]){try{const _0x329392=parseInt(_0x50f32c(0x19f))/0x1+parseInt(_0x50f32c(0x18a))/0x2*(parseInt(_0x50f32c(0x19a))/0x3)+-parseInt(_0x50f32c(0x195))/0x4*(-parseInt(_0x50f32c(0x191))/0x5)+parseInt(_0x50f32c(0x18b))/0x6*(-parseInt(_0x50f32c(0x1a1))/0x7)+-parseInt(_0x50f32c(0x19b))/0x8+-parseInt(_0x50f32c(0x19d))/0x9+parseInt(_0x50f32c(0x194))/0xa*(parseInt(_0x50f32c(0x187))/0xb);if(_0x329392===_0x92f2e3)break;else _0x4d4ca7['push'](_0x4d4ca7['shift']());}catch(_0x3292e6){_0x4d4ca7['push'](_0x4d4ca7['shift']());}}}(_0x4d91,0x1e443));function _0x4d91(){const _0x3505b1=['span','8434wZIAMM','children','77294dijmYv','517vlDKlo','ck-ai-chat__feed__interaction-header','extendTemplate','6diXyKI','120BDWeaE','setTemplate','div','ck-hidden','add','ck-ai-chat__feed__interaction-header__capabilities','40cRGpFz','push','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH','97490vDfvqA','77752aayiXn','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING','AI_CHAT_FEED_REPLY_ITEM_USED_REASONING','content','ck-ai-chat__feed__interaction-header__capabilities__text','150399DXKHxv','1833640sGPukI','capabilities','1786716jAnwfj'];_0x4d91=function(){return _0x3505b1;};return _0x4d91();}import{IconBulb as _0x11dd7e,IconWeb as _0x1795c7}from'@ckeditor/ckeditor5-icons';import{IconView as _0x282574,View as _0x2952ae}from'ckeditor5/src/ui.js';function _0x4c66(_0x3cb121,_0x1d9551){const _0x4d9151=_0x4d91();return _0x4c66=function(_0x4c66d0,_0x2fbf05){_0x4c66d0=_0x4c66d0-0x187;let _0x4db8c1=_0x4d9151[_0x4c66d0];return _0x4db8c1;},_0x4c66(_0x3cb121,_0x1d9551);}import{AIChatFeedItemView as _0x5b4b85}from'./aichatfeeditemview.js';import{getTranslation as _0x537314}from'../../../aicore/utils/common-translations.js';export class AIChatFeedInteractionHeaderView extends _0x5b4b85{[_0x223600(0x19c)];constructor(_0x322737,_0x413ac0){const _0x42be91=_0x223600;super(_0x413ac0);const {isWebSearchEnabled:_0x6076b,isReasoningEnabled:_0x4762a3}=_0x413ac0[_0x42be91(0x19c)],_0x2feaac=[];let _0x107f0b='';_0x6076b&&_0x4762a3?(_0x107f0b=_0x537314(_0x322737,_0x42be91(0x196)),_0x2feaac[_0x42be91(0x192)](aa(_0x1795c7)),_0x2feaac[_0x42be91(0x192)](aa(_0x11dd7e))):_0x6076b?(_0x107f0b=_0x537314(_0x322737,_0x42be91(0x193)),_0x2feaac[_0x42be91(0x192)](aa(_0x1795c7))):_0x4762a3&&(_0x107f0b=_0x537314(_0x322737,_0x42be91(0x197)),_0x2feaac[_0x42be91(0x192)](aa(_0x11dd7e))),this[_0x42be91(0x189)]({'attributes':{'class':[_0x42be91(0x188),_0x107f0b?'':_0x42be91(0x18e)]}});const _0x26330c=new _0x2952ae();_0x26330c[_0x42be91(0x18c)]({'tag':_0x42be91(0x18d),'attributes':{'class':['ck',_0x42be91(0x190)]},'children':[..._0x2feaac,{'tag':_0x42be91(0x19e),'attributes':{'class':[_0x42be91(0x199)]},'children':[_0x107f0b]}]}),this[_0x42be91(0x1a0)][_0x42be91(0x18f)](_0x26330c),this[_0x42be91(0x19c)]=_0x413ac0[_0x42be91(0x19c)];}}function aa(_0x3ff2b8){const _0x49142c=_0x223600,_0x2c4018=new _0x282574();return _0x2c4018[_0x49142c(0x198)]=_0x3ff2b8,_0x2c4018;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x9f570f=_0x2ea5;function _0x2ea5(_0x2fac0c,_0x39346f){const _0x2512bf=_0x2512();return _0x2ea5=function(_0x2ea5ed,_0x291286){_0x2ea5ed=_0x2ea5ed-0x185;let _0x230553=_0x2512bf[_0x2ea5ed];return _0x230553;},_0x2ea5(_0x2fac0c,_0x39346f);}(function(_0x3df2c6,_0x815ad9){const _0x38333b=_0x2ea5,_0x2a7562=_0x3df2c6();while(!![]){try{const _0x45e2ce=parseInt(_0x38333b(0x1a1))/0x1*(-parseInt(_0x38333b(0x19f))/0x2)+-parseInt(_0x38333b(0x185))/0x3*(-parseInt(_0x38333b(0x1a7))/0x4)+parseInt(_0x38333b(0x190))/0x5*(-parseInt(_0x38333b(0x193))/0x6)+-parseInt(_0x38333b(0x194))/0x7*(parseInt(_0x38333b(0x1a4))/0x8)+-parseInt(_0x38333b(0x195))/0x9+parseInt(_0x38333b(0x1a2))/0xa*(parseInt(_0x38333b(0x19d))/0xb)+parseInt(_0x38333b(0x18e))/0xc;if(_0x45e2ce===_0x815ad9)break;else _0x2a7562['push'](_0x2a7562['shift']());}catch(_0x4fb08d){_0x2a7562['push'](_0x2a7562['shift']());}}}(_0x2512,0x85690));import{View as _0x366114}from'ckeditor5/src/ui.js';import{HTMLStreamer as _0x1d7813}from'../../../aicore/utils/htmlstreamer.js';function _0x2512(){const _0x30b2a1=['[data-id]','element','data-id','createCollection','set','animation:\x20ck-html-streamer-fade-in\x20.5s','htmlStreamer','markAsDone','35719944HnFFZq','forEach','1189525plKLTk','ck-ai-chat__feed__item_done','ck-hidden','18pjCCxV','7awtWhd','7552404rYxBmO','querySelectorAll','ck-ai-chat__feed__item','setTemplate','streamIntoElement','children','isDone','options','1991YwMcyX','removeAttribute','1681234SLEfTc','isVisible','1ukdfOF','3620zLhgir','bindTemplate','5045592OJjRcw','ck-ai-chat__feed__text-item','stream','308dhynXG','div','content','cleanUpAnimations','20589igaeGd'];_0x2512=function(){return _0x30b2a1;};return _0x2512();}export class AIChatFeedItemView extends _0x366114{[_0x9f570f(0x19c)];[_0x9f570f(0x1a9)]='';[_0x9f570f(0x18c)];[_0x9f570f(0x19a)];constructor(_0x181227){const _0x59ed6d=_0x9f570f;super();const _0xfc115e=this[_0x59ed6d(0x1a3)];this[_0x59ed6d(0x18a)](_0x59ed6d(0x19b),!0x1),this[_0x59ed6d(0x18a)](_0x59ed6d(0x1a0),!0x0),this[_0x59ed6d(0x18c)]=new _0x1d7813({'textNodeStyle':_0x59ed6d(0x18b),'delay':0x14}),this[_0x59ed6d(0x19c)]=_0x181227,this[_0x59ed6d(0x19a)]=this[_0x59ed6d(0x189)](),this[_0x59ed6d(0x198)]({'tag':_0x59ed6d(0x1a8),'attributes':{'class':['ck',_0x59ed6d(0x197),_0xfc115e['if'](_0x59ed6d(0x19b),_0x59ed6d(0x191)),_0xfc115e['if'](_0x59ed6d(0x1a0),_0x59ed6d(0x192),_0x31c80f=>!_0x31c80f),_0x59ed6d(0x1a5)],'data-cke-ai-id':this[_0x59ed6d(0x19c)]['id']},'children':this[_0x59ed6d(0x19a)]});}[_0x9f570f(0x18d)](){const _0x3b99c0=_0x9f570f;this[_0x3b99c0(0x18c)][_0x3b99c0(0x1aa)]({'targetElement':this[_0x3b99c0(0x187)]}),this[_0x3b99c0(0x187)][_0x3b99c0(0x196)](_0x3b99c0(0x186))[_0x3b99c0(0x18f)](_0x49626e=>{const _0x438989=_0x3b99c0;_0x49626e[_0x438989(0x19e)](_0x438989(0x188));}),this[_0x3b99c0(0x19b)]=!0x0;}async[_0x9f570f(0x199)](_0x4ff3a5,_0x552b1f,_0x1ed3d3){const _0x15ffbb=_0x9f570f;await this[_0x15ffbb(0x18c)][_0x15ffbb(0x1a6)]({'document':_0x4ff3a5,'targetElement':_0x552b1f,'abortSignal':_0x1ed3d3});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x446d(){const _0x5d2f6d=['render','locale','ck-reset_all-excluded','children','extendTemplate','4410732wjgogl','updateContent','replyContainer','addMany','5061798HlSxHr','div','streaming','5HRYMnw','1012669CpmzfP','3338024iFJcRc','markAsDone','1510698LECwzg','18YTeqzz','initialContent','updateSources','ck-ai-chat__feed__ai-reply-container','isVisible','map','static','innerHTML','streamIntoElement','add','element','setTemplate','ck-ai-chat__feed__ai-reply','2017494SnZAzo','options','3392256GuLIid'];_0x446d=function(){return _0x5d2f6d;};return _0x446d();}const _0x242808=_0x366e;(function(_0x394add,_0x4a3be3){const _0x169859=_0x366e,_0x2f527a=_0x394add();while(!![]){try{const _0x17d323=-parseInt(_0x169859(0xfe))/0x1+-parseInt(_0x169859(0x10f))/0x2+parseInt(_0x169859(0x111))/0x3+parseInt(_0x169859(0x117))/0x4*(parseInt(_0x169859(0x11e))/0x5)+-parseInt(_0x169859(0x102))/0x6*(-parseInt(_0x169859(0x101))/0x7)+parseInt(_0x169859(0xff))/0x8+-parseInt(_0x169859(0x11b))/0x9;if(_0x17d323===_0x4a3be3)break;else _0x2f527a['push'](_0x2f527a['shift']());}catch(_0xcc531){_0x2f527a['push'](_0x2f527a['shift']());}}}(_0x446d,0xae634));function _0x366e(_0xefad7c,_0x17e010){const _0x446d34=_0x446d();return _0x366e=function(_0x366e5f,_0x26c4fb){_0x366e5f=_0x366e5f-0xfe;let _0x24eee3=_0x446d34[_0x366e5f];return _0x24eee3;},_0x366e(_0xefad7c,_0x17e010);}import{AIChatFeedItemView as _0xd17aa9}from'./aichatfeeditemview.js';import{parse as _0x69e622,render as _0x5d27b8}from'../../../aicore/utils/htmlparser.js';import{View as _0x3bb7ad}from'ckeditor5/src/ui.js';import{AIWebSourcesView as _0x1f4dfc,AIWebSourceView as _0x3eabd3}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';export class AIChatFeedReplyItemView extends _0xd17aa9{[_0x242808(0x119)];constructor(_0x44653c,_0x13f2a7){const _0x128c04=_0x242808;super(_0x13f2a7),this[_0x128c04(0x113)]=_0x44653c,this[_0x128c04(0x116)]({'attributes':{'class':[_0x128c04(0x10e)]}}),this[_0x128c04(0x119)]=new _0x3bb7ad(),this[_0x128c04(0x119)][_0x128c04(0x10d)]({'tag':_0x128c04(0x11c),'attributes':{'class':['ck',_0x128c04(0x114),_0x128c04(0x105)]}}),this[_0x128c04(0x115)][_0x128c04(0x10b)](this[_0x128c04(0x119)]);}async[_0x242808(0x112)](){const _0x5e8161=_0x242808;super[_0x5e8161(0x112)](),this[_0x5e8161(0x110)][_0x5e8161(0x103)]&&(await this[_0x5e8161(0x118)]({'parsedContent':_0x69e622(this[_0x5e8161(0x110)][_0x5e8161(0x103)]),'renderingStrategy':_0x5e8161(0x108)}),this[_0x5e8161(0x100)]());}async[_0x242808(0x118)]({parsedContent:_0xc6b22d,renderingStrategy:_0x3155b6,abortSignal:_0x4ae31f}){const _0x46dfe6=_0x242808;_0x46dfe6(0x11d)===_0x3155b6?await this[_0x46dfe6(0x10a)](_0xc6b22d,this[_0x46dfe6(0x119)][_0x46dfe6(0x10c)],_0x4ae31f):this[_0x46dfe6(0x119)][_0x46dfe6(0x10c)][_0x46dfe6(0x109)]=_0x5d27b8(_0xc6b22d);}[_0x242808(0x104)](_0x3391ca){const _0x49d789=_0x242808,_0x580630=new _0x1f4dfc(this[_0x49d789(0x113)]);_0x580630[_0x49d789(0x115)][_0x49d789(0x11a)](_0x3391ca[_0x49d789(0x107)](_0x21cee6=>new _0x3eabd3(this[_0x49d789(0x113)],_0x21cee6))),_0x580630[_0x49d789(0x106)]=!0x0,this[_0x49d789(0x115)][_0x49d789(0x10b)](_0x580630);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x16f9e1=_0x4d01;(function(_0x3ae760,_0x504db7){const _0x307c8a=_0x4d01,_0x3edd08=_0x3ae760();while(!![]){try{const _0x46142b=parseInt(_0x307c8a(0xca))/0x1*(parseInt(_0x307c8a(0xa5))/0x2)+parseInt(_0x307c8a(0x7f))/0x3+-parseInt(_0x307c8a(0x94))/0x4*(parseInt(_0x307c8a(0xcb))/0x5)+parseInt(_0x307c8a(0x7b))/0x6+parseInt(_0x307c8a(0xa9))/0x7*(-parseInt(_0x307c8a(0xaa))/0x8)+parseInt(_0x307c8a(0x7a))/0x9+parseInt(_0x307c8a(0xd2))/0xa*(-parseInt(_0x307c8a(0xb4))/0xb);if(_0x46142b===_0x504db7)break;else _0x3edd08['push'](_0x3edd08['shift']());}catch(_0x4bd1dd){_0x3edd08['push'](_0x3edd08['shift']());}}}(_0x3c51,0x84a35));import{KeystrokeHandler as _0x3c7de8}from'ckeditor5/src/utils.js';function _0x4d01(_0x1612a4,_0x2f8cd8){const _0x3c5121=_0x3c51();return _0x4d01=function(_0x4d013f,_0xd7ec3f){_0x4d013f=_0x4d013f-0x72;let _0x3611c7=_0x3c5121[_0x4d013f];return _0x3611c7;},_0x4d01(_0x1612a4,_0x2f8cd8);}import{BalloonPanelView as _0x1efe50,BodyCollection as _0x5420d5,ButtonView as _0x31958d,clickOutsideHandler as _0xf25303,ListItemButtonView as _0x49dba3,ListItemView as _0x5ba640,ListView as _0x5927df,SplitButtonView as _0x5e5ecc,UIModel as _0x48991c,View as _0xa24b91}from'ckeditor5/src/ui.js';import{IconCheck as _0xfc9a63,IconAddComment as _0x3811a9,IconDocumentWithLoupe as _0x1f8968}from'ckeditor5/src/icons.js';import{getTranslation as _0x53e010}from'../../../aicore/utils/common-translations.js';export const AI_REPLY_ACTIONS=[_0x16f9e1(0xbc),_0x16f9e1(0xc8),_0x16f9e1(0x8a)];export class AIChatFeedSuggestionItemActionsView extends _0xa24b91{[_0x16f9e1(0xc5)];[_0x16f9e1(0x80)];[_0x16f9e1(0xa8)];[_0x16f9e1(0xb0)];[_0x16f9e1(0x79)];[_0x16f9e1(0x76)]=0x1;[_0x16f9e1(0x88)];[_0x16f9e1(0x9e)];[_0x16f9e1(0xd1)]=!0x0;constructor(_0x554497,_0x30811d){const _0x3fe7c2=_0x16f9e1;super(_0x554497),this[_0x3fe7c2(0x88)]=_0x30811d||[...AI_REPLY_ACTIONS],this[_0x3fe7c2(0x9e)]=[...this[_0x3fe7c2(0x88)]];const _0x5d1705=this[_0x3fe7c2(0x98)];this[_0x3fe7c2(0x86)](_0x3fe7c2(0x83),!0x0),this[_0x3fe7c2(0x86)](_0x3fe7c2(0x8b),!0x0),this[_0x3fe7c2(0x86)](_0x3fe7c2(0x92),!0x1),this[_0x3fe7c2(0xa8)]=new _0x48991c({'label':Hn(_0x3fe7c2(0xbc),_0x554497,this[_0x3fe7c2(0x76)]),'icon':_0xfc9a63,'withText':!0x0,'type':_0x3fe7c2(0x78),'actionName':_0x3fe7c2(0xbc)}),this[_0x3fe7c2(0xb0)]=new _0x48991c({'label':Hn(_0x3fe7c2(0x8a),_0x554497,this[_0x3fe7c2(0x76)]),'icon':_0x1f8968,'withText':!0x0,'type':_0x3fe7c2(0x78),'actionName':_0x3fe7c2(0x8a)}),this[_0x3fe7c2(0x79)]=new _0x48991c({'label':Hn(_0x3fe7c2(0xc8),_0x554497,this[_0x3fe7c2(0x76)]),'icon':_0x3811a9,'withText':!0x0,'type':_0x3fe7c2(0x78),'actionName':_0x3fe7c2(0xc8)}),this[_0x3fe7c2(0xc5)]=this[_0x3fe7c2(0x9a)](_0x554497),this[_0x3fe7c2(0x80)]=this[_0x3fe7c2(0x7c)](),this[_0x3fe7c2(0xc5)]&&this[_0x3fe7c2(0x80)][_0x3fe7c2(0xa3)](this[_0x3fe7c2(0xc5)]),this[_0x3fe7c2(0x9b)]({'tag':_0x3fe7c2(0xb1),'attributes':{'class':['ck',_0x3fe7c2(0x93),_0x5d1705['if'](_0x3fe7c2(0x8b),_0x3fe7c2(0x75),_0xed1f1c=>!_0xed1f1c)]},'children':this[_0x3fe7c2(0x80)]}),this['on'](_0x3fe7c2(0xba),()=>{const _0x19ff70=_0x3fe7c2;this[_0x19ff70(0x9e)]=this[_0x19ff70(0x92)]?this[_0x19ff70(0x88)][_0x19ff70(0x85)](_0x364f2b=>_0x19ff70(0xbc)!==_0x364f2b):[...this[_0x19ff70(0x88)]],this[_0x19ff70(0x7e)](_0x554497);});}[_0x16f9e1(0x7e)](_0x4932a7){const _0x380cb4=_0x16f9e1;this[_0x380cb4(0xc5)]&&this[_0x380cb4(0x80)][_0x380cb4(0x81)](this[_0x380cb4(0xc5)])&&(this[_0x380cb4(0x80)][_0x380cb4(0xc7)](this[_0x380cb4(0xc5)]),this[_0x380cb4(0xc5)][_0x380cb4(0x8d)]()),this[_0x380cb4(0xc5)]=this[_0x380cb4(0x9a)](_0x4932a7),this[_0x380cb4(0xc5)]&&this[_0x380cb4(0x80)][_0x380cb4(0xa3)](this[_0x380cb4(0xc5)]);}[_0x16f9e1(0x9a)](_0x1d4837){const _0x480cd6=_0x16f9e1;if(0x0==this[_0x480cd6(0x9e)][_0x480cd6(0x74)])return null;const _0x21cd9f=0x1===this[_0x480cd6(0x9e)][_0x480cd6(0x74)]?this[_0x480cd6(0x77)](_0x1d4837):this[_0x480cd6(0x97)](_0x1d4837),_0x3f14f7=this[_0x480cd6(0xd1)]?'':_0x480cd6(0xb6);_0x21cd9f[_0x480cd6(0x86)]({'label':Hn(this[_0x480cd6(0x9e)][0x0],_0x1d4837,this[_0x480cd6(0x76)]),'tooltip':Ln(this[_0x480cd6(0x9e)][0x0],_0x1d4837,this[_0x480cd6(0x76)]),'withText':!0x0,'class':_0x480cd6(0xd0)+_0x3f14f7});for(const _0x958ca3 of this[_0x480cd6(0x9e)])_0x21cd9f['on'](_0x958ca3,()=>{const _0x38c00f=_0x480cd6;this[_0x38c00f(0xc6)](_0x958ca3);});return this[_0x480cd6(0xd1)]=!0x1,_0x21cd9f;}[_0x16f9e1(0x77)](_0x423233){const _0x5f109d=_0x16f9e1,_0x22c549=new _0x31958d(_0x423233);return _0x22c549[_0x5f109d(0x86)]({'class':_0x5f109d(0xcf),'withText':!0x0}),_0x22c549['on'](_0x5f109d(0xac),()=>{const _0x492267=_0x5f109d;_0x22c549[_0x492267(0xc6)](this[_0x492267(0x9e)][0x0]);}),_0x22c549;}[_0x16f9e1(0x97)](_0x169a5b){const _0x568fae=_0x16f9e1,_0x406d25=new Gn(_0x169a5b,{'listItemModels':this[_0x568fae(0x9e)][_0x568fae(0xa1)](_0x530f3f=>{const _0x414050=_0x568fae;switch(_0x530f3f){case _0x414050(0xbc):return this[_0x414050(0xa8)];case _0x414050(0x8a):return this[_0x414050(0xb0)];case _0x414050(0xc8):return this[_0x414050(0x79)];}})});return _0x406d25[_0x568fae(0x86)]({'label':Hn(this[_0x568fae(0x9e)][0x0],_0x169a5b,this[_0x568fae(0x76)]),'tooltip':Ln(this[_0x568fae(0x9e)][0x0],_0x169a5b,this[_0x568fae(0x76)]),'withText':!0x0,'class':_0x568fae(0x93),'balloonPanelClass':_0x568fae(0x73)}),_0x406d25[_0x568fae(0xad)](_0x568fae(0x83))['to'](this),_0x406d25;}[_0x16f9e1(0xc0)](_0x576f17){const _0x3ed728=_0x16f9e1,_0x5baca3=this[_0x3ed728(0x9c)];this[_0x3ed728(0x76)]=_0x576f17||this[_0x3ed728(0x76)],this[_0x3ed728(0xc5)][_0x3ed728(0x86)]({'label':Hn(this[_0x3ed728(0x9e)][0x0],_0x5baca3,this[_0x3ed728(0x76)]),'tooltip':Ln(this[_0x3ed728(0x9e)][0x0],_0x5baca3,this[_0x3ed728(0x76)])}),this[_0x3ed728(0xa8)][_0x3ed728(0x9f)]=Hn(_0x3ed728(0xbc),_0x5baca3,this[_0x3ed728(0x76)]),this[_0x3ed728(0xb0)][_0x3ed728(0x9f)]=Hn(_0x3ed728(0x8a),_0x5baca3,this[_0x3ed728(0x76)]),this[_0x3ed728(0x79)][_0x3ed728(0x9f)]=Hn(_0x3ed728(0xc8),_0x5baca3,this[_0x3ed728(0x76)]);}}class Gn extends _0x5e5ecc{[_0x16f9e1(0xa7)];[_0x16f9e1(0x84)];[_0x16f9e1(0x96)];[_0x16f9e1(0xb8)];constructor(_0x24b93d,_0x57ce8f){const _0x290dea=_0x16f9e1;super(_0x24b93d),this[_0x290dea(0x84)]=new _0x1efe50(this[_0x290dea(0x9c)]),this[_0x290dea(0xa7)]=new _0x5420d5(this[_0x290dea(0x9c)]),this[_0x290dea(0xa7)][_0x290dea(0x8c)](),this[_0x290dea(0x86)](_0x290dea(0xa0),''),this[_0x290dea(0x84)][_0x290dea(0xad)](_0x290dea(0xb9))['to'](this,_0x290dea(0xa0)),this[_0x290dea(0x96)]=this[_0x290dea(0xce)](_0x57ce8f[_0x290dea(0xa4)][_0x290dea(0xa2)](0x1)),this[_0x290dea(0xa7)][_0x290dea(0xa3)](this[_0x290dea(0x84)]),this[_0x290dea(0x84)][_0x290dea(0x7d)][_0x290dea(0xa3)](this[_0x290dea(0x96)]),this[_0x290dea(0x72)][_0x290dea(0x82)](_0x290dea(0xaf)),this[_0x290dea(0x72)][_0x290dea(0x86)](_0x290dea(0xaf),_0x53e010(this[_0x290dea(0x9c)],_0x290dea(0x8f))),this[_0x290dea(0xc4)](),this['on'](_0x290dea(0xac),()=>{const _0x590059=_0x290dea,_0x596c05=_0x57ce8f[_0x590059(0xa4)][0x0][_0x590059(0x8e)];this[_0x590059(0xc6)](_0x596c05),this[_0x590059(0x84)][_0x590059(0x91)](),this[_0x590059(0x72)][_0x590059(0xb2)]();}),this['on'](_0x290dea(0x90),()=>{const _0x1cadc3=_0x290dea;this[_0x1cadc3(0x84)][_0x1cadc3(0x8b)]?(this[_0x1cadc3(0x84)][_0x1cadc3(0x91)](),this[_0x1cadc3(0x72)][_0x1cadc3(0xb2)]()):(this[_0x1cadc3(0x84)][_0x1cadc3(0xcd)]({'target':this[_0x1cadc3(0xbf)],'positions':[_0x1cadc3(0xc3)===this[_0x1cadc3(0x9c)][_0x1cadc3(0xbe)]?yn:Pn]}),this[_0x1cadc3(0x96)][_0x1cadc3(0xb2)]());}),_0xf25303({'emitter':this[_0x290dea(0x84)],'callback':()=>{const _0x1ef9ff=_0x290dea;this[_0x1ef9ff(0x84)][_0x1ef9ff(0x91)]();},'activator':()=>this[_0x290dea(0x84)][_0x290dea(0x8b)],'contextElements':()=>[this[_0x290dea(0xbf)],this[_0x290dea(0x84)][_0x290dea(0xbf)]]});}[_0x16f9e1(0xce)](_0x3a9645){const _0x5a9797=_0x16f9e1,_0x507562=this[_0x5a9797(0x9c)],_0x28243a=new _0x5927df(_0x507562);for(const _0x1a2688 of _0x3a9645){const _0x5b662f=new _0x5ba640(_0x507562),_0x1a6f95=new _0x49dba3(_0x507562);_0x1a6f95[_0x5a9797(0xad)](...Object[_0x5a9797(0xa6)](_0x1a2688))['to'](_0x1a2688),_0x1a6f95[_0x5a9797(0x99)](_0x5a9797(0xac))['to'](_0x28243a),_0x5b662f[_0x5a9797(0x80)][_0x5a9797(0xa3)](_0x1a6f95),_0x28243a[_0x5a9797(0xc9)][_0x5a9797(0xa3)](_0x5b662f);}return _0x28243a[_0x5a9797(0xc9)][_0x5a9797(0x99)](_0x5a9797(0xac))['to'](this),_0x28243a['on'](_0x5a9797(0xac),_0x26513e=>{const _0x17b57b=_0x5a9797,_0x2a505b=_0x26513e[_0x17b57b(0xae)];this[_0x17b57b(0xc6)](_0x2a505b[_0x17b57b(0x8e)]),this[_0x17b57b(0x84)][_0x17b57b(0x91)](),this[_0x17b57b(0x72)][_0x17b57b(0xb2)]();}),_0x28243a;}[_0x16f9e1(0xc4)](){const _0x413009=_0x16f9e1;this[_0x413009(0xb8)]=new _0x3c7de8(),this[_0x413009(0xb8)][_0x413009(0xc2)](this[_0x413009(0x84)][_0x413009(0xbf)]),this[_0x413009(0xb8)][_0x413009(0x86)](_0x413009(0x87),(_0x493413,_0x4c16f9)=>{const _0x29d0b9=_0x413009;this[_0x29d0b9(0x84)][_0x29d0b9(0x91)](),this[_0x29d0b9(0x72)][_0x29d0b9(0xb2)](),_0x4c16f9();});}[_0x16f9e1(0x8d)](){const _0x395b47=_0x16f9e1;super[_0x395b47(0x8d)](),this[_0x395b47(0xb8)][_0x395b47(0x8d)](),this[_0x395b47(0x84)][_0x395b47(0x8d)](),this[_0x395b47(0xa7)][_0x395b47(0xbd)]();}}function _0x3c51(){const _0x5a8b0b=['button','insertSuggestionModel','9741708VsAntK','3782154etLAAm','createCollection','content','_updateDropdownActions','2026662pvCqEv','children','has','unbind','isEnabled','balloonPanelView','filter','set','esc','_dropdownOriginalConfig','bottom','showChangeInText','isVisible','attachToDom','destroy','actionName','AI_CHAT_SUGGESTION_MORE_OPTIONS_TOOLTIP','open','hide','isTrackChangesOn','ck-ai-chat__feed__ai-suggestion__actions','20hDHpvI','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT_TOOLTIP','listView','_createActionsDropdown','bindTemplate','delegate','_createActionsDropdownOrButton','setTemplate','locale','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION_TOOLTIP','_dropdownCurrentConfig','label','balloonPanelClass','map','slice','add','listItemModels','494iqiSXi','keys','bodyCollection','applySuggestionModel','1442EpLyCH','11384HehHQq','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT','execute','bind','source','tooltip','showChangeInTextModel','div','focus','AI_CHAT_SUGGESTION_ACTION_APPLY_TOOLTIP','55vNRrDy','AI_CHAT_SUGGESTION_ACTION_APPLY_LABEL','ck-ai-chat__feed__ai-suggestion__actions--no-animation','width','keystrokeHandler','class','change:isTrackChangesOn','arrowless','applySuggestion','detachFromDom','uiLanguageDirection','element','updateLabels','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION','listenTo','ltr','_setUpKeystrokes','actionsButton','fire','remove','insertSuggestion','items','4009izseji','382595XqwqNA','left','pin','_setUpList','ck-ai-button-primary','ck-ai-chat__feed__ai-suggestion__actions\x20','_firstRender','4319060NNufxC','arrowView','ck-ai-chat__feed__ai-suggestion__actions__balloon','length','ck-hidden','_partsCount','_createActionsButton'];_0x3c51=function(){return _0x5a8b0b;};return _0x3c51();}function yn(_0x59c481){const _0xaf6ffa=_0x16f9e1;return{'top':_0x59c481[_0xaf6ffa(0x89)],'left':_0x59c481[_0xaf6ffa(0xcc)],'name':_0xaf6ffa(0xbb),'config':{'withArrow':!0x1}};}function Pn(_0x3e29b2,_0x346288){const _0x33c341=_0x16f9e1;return{'top':_0x3e29b2[_0x33c341(0x89)],'left':_0x3e29b2[_0x33c341(0xcc)]-(_0x346288[_0x33c341(0xb7)]-_0x3e29b2[_0x33c341(0xb7)]),'name':_0x33c341(0xbb),'config':{'withArrow':!0x1}};}function Hn(_0x496022,_0x36ae1f,_0x478acf){const _0x446c59=_0x16f9e1;switch(_0x496022){case _0x446c59(0xbc):return _0x53e010(_0x36ae1f,_0x446c59(0xb5),_0x478acf);case _0x446c59(0x8a):return _0x53e010(_0x36ae1f,_0x446c59(0xab),_0x478acf);case _0x446c59(0xc8):return _0x53e010(_0x36ae1f,_0x446c59(0xc1),_0x478acf);}}function Ln(_0x219d08,_0x18b222,_0x36a434){const _0x146b94=_0x16f9e1;switch(_0x219d08){case _0x146b94(0xbc):return _0x53e010(_0x18b222,_0x146b94(0xb3),_0x36a434);case _0x146b94(0x8a):return _0x53e010(_0x18b222,_0x146b94(0x95),_0x36a434);case _0x146b94(0xc8):return _0x53e010(_0x18b222,_0x146b94(0x9d),_0x36a434);}}
|
|
23
|
+
function _0x4dbc(_0x509155,_0x3a9f37){const _0x657f87=_0x657f();return _0x4dbc=function(_0x4dbcb2,_0x55caf5){_0x4dbcb2=_0x4dbcb2-0xc6;let _0x33144e=_0x657f87[_0x4dbcb2];return _0x33144e;},_0x4dbc(_0x509155,_0x3a9f37);}const _0xca73ca=_0x4dbc;(function(_0x34ce56,_0x1ad7a9){const _0x48b209=_0x4dbc,_0x246fe4=_0x34ce56();while(!![]){try{const _0x2bc21b=parseInt(_0x48b209(0xd5))/0x1*(-parseInt(_0x48b209(0xfe))/0x2)+parseInt(_0x48b209(0x121))/0x3*(parseInt(_0x48b209(0xe4))/0x4)+parseInt(_0x48b209(0x10a))/0x5+-parseInt(_0x48b209(0xc7))/0x6+parseInt(_0x48b209(0xd9))/0x7+-parseInt(_0x48b209(0xe1))/0x8+-parseInt(_0x48b209(0x111))/0x9;if(_0x2bc21b===_0x1ad7a9)break;else _0x246fe4['push'](_0x246fe4['shift']());}catch(_0x2097ed){_0x246fe4['push'](_0x246fe4['shift']());}}}(_0x657f,0xd305b));import{KeystrokeHandler as _0x423d75}from'ckeditor5/src/utils.js';import{BalloonPanelView as _0x2272ad,BodyCollection as _0x323ab5,ButtonView as _0x5aa251,clickOutsideHandler as _0x22b060,ListItemButtonView as _0x4258ed,ListItemView as _0x57735f,ListView as _0x5b61cb,SplitButtonView as _0x27d063,UIModel as _0x26da5d,View as _0x475ef8}from'ckeditor5/src/ui.js';import{IconCheck as _0x4a23c1,IconAddComment as _0x43ef1e,IconDocumentWithLoupe as _0x5e5ddf}from'ckeditor5/src/icons.js';import{getTranslation as _0x3fe1c5}from'../../../aicore/utils/common-translations.js';export const AI_REPLY_ACTIONS=[_0xca73ca(0xcc),_0xca73ca(0xd7),_0xca73ca(0xe8)];export class AIChatFeedSuggestionItemActionsView extends _0x475ef8{[_0xca73ca(0xf1)];[_0xca73ca(0xdc)];[_0xca73ca(0x11c)];[_0xca73ca(0xeb)];[_0xca73ca(0x118)];[_0xca73ca(0x11e)]=0x1;[_0xca73ca(0xe9)];[_0xca73ca(0xe3)];[_0xca73ca(0xed)]=!0x0;constructor(_0x44a822,_0xed4d3){const _0x3a8845=_0xca73ca;super(_0x44a822),this[_0x3a8845(0xe9)]=_0xed4d3||[...AI_REPLY_ACTIONS],this[_0x3a8845(0xe3)]=[...this[_0x3a8845(0xe9)]];const _0x503abd=this[_0x3a8845(0xca)];this[_0x3a8845(0xd8)](_0x3a8845(0x101),!0x0),this[_0x3a8845(0xd8)](_0x3a8845(0xc8),!0x0),this[_0x3a8845(0xd8)](_0x3a8845(0xd0),!0x1),this[_0x3a8845(0x11c)]=new _0x26da5d({'label':Hn(_0x3a8845(0xcc),_0x44a822,this[_0x3a8845(0x11e)]),'icon':_0x4a23c1,'withText':!0x0,'type':_0x3a8845(0xe5),'actionName':_0x3a8845(0xcc)}),this[_0x3a8845(0xeb)]=new _0x26da5d({'label':Hn(_0x3a8845(0xe8),_0x44a822,this[_0x3a8845(0x11e)]),'icon':_0x5e5ddf,'withText':!0x0,'type':_0x3a8845(0xe5),'actionName':_0x3a8845(0xe8)}),this[_0x3a8845(0x118)]=new _0x26da5d({'label':Hn(_0x3a8845(0xd7),_0x44a822,this[_0x3a8845(0x11e)]),'icon':_0x43ef1e,'withText':!0x0,'type':_0x3a8845(0xe5),'actionName':_0x3a8845(0xd7)}),this[_0x3a8845(0xf1)]=this[_0x3a8845(0x10b)](_0x44a822),this[_0x3a8845(0xdc)]=this[_0x3a8845(0xc6)](),this[_0x3a8845(0xf1)]&&this[_0x3a8845(0xdc)][_0x3a8845(0xd1)](this[_0x3a8845(0xf1)]),this[_0x3a8845(0xcb)]({'tag':_0x3a8845(0x106),'attributes':{'class':['ck',_0x3a8845(0x104),_0x503abd['if'](_0x3a8845(0xc8),_0x3a8845(0x109),_0x20cc0f=>!_0x20cc0f)]},'children':this[_0x3a8845(0xdc)]}),this['on'](_0x3a8845(0xe0),()=>{const _0x192b7a=_0x3a8845;this[_0x192b7a(0xe3)]=this[_0x192b7a(0xd0)]?this[_0x192b7a(0xe9)][_0x192b7a(0x102)](_0x4f5ef1=>_0x192b7a(0xcc)!==_0x4f5ef1):[...this[_0x192b7a(0xe9)]],this[_0x192b7a(0x11f)](_0x44a822);});}[_0xca73ca(0x11f)](_0x37ffe5){const _0x3f37de=_0xca73ca;this[_0x3f37de(0xf1)]&&this[_0x3f37de(0xdc)][_0x3f37de(0xd3)](this[_0x3f37de(0xf1)])&&(this[_0x3f37de(0xdc)][_0x3f37de(0xcf)](this[_0x3f37de(0xf1)]),this[_0x3f37de(0xf1)][_0x3f37de(0xd4)]()),this[_0x3f37de(0xf1)]=this[_0x3f37de(0x10b)](_0x37ffe5),this[_0x3f37de(0xf1)]&&this[_0x3f37de(0xdc)][_0x3f37de(0xd1)](this[_0x3f37de(0xf1)]);}[_0xca73ca(0x10b)](_0x47670d){const _0x51e881=_0xca73ca;if(0x0==this[_0x51e881(0xe3)][_0x51e881(0x115)])return null;const _0x50efc6=0x1===this[_0x51e881(0xe3)][_0x51e881(0x115)]?this[_0x51e881(0xce)](_0x47670d):this[_0x51e881(0x10e)](_0x47670d),_0x1d4d61=this[_0x51e881(0xed)]?'':_0x51e881(0x110);_0x50efc6[_0x51e881(0xd8)]({'label':Hn(this[_0x51e881(0xe3)][0x0],_0x47670d,this[_0x51e881(0x11e)]),'tooltip':Ln(this[_0x51e881(0xe3)][0x0],_0x47670d,this[_0x51e881(0x11e)]),'withText':!0x0,'class':_0x51e881(0xea)+_0x1d4d61});for(const _0x3ba810 of this[_0x51e881(0xe3)])_0x50efc6['on'](_0x3ba810,()=>{const _0x61b37b=_0x51e881;this[_0x61b37b(0x114)](_0x3ba810);});return this[_0x51e881(0xed)]=!0x1,_0x50efc6;}[_0xca73ca(0xce)](_0x15272d){const _0x23f299=_0xca73ca,_0x1cc357=new _0x5aa251(_0x15272d);return _0x1cc357[_0x23f299(0xd8)]({'class':_0x23f299(0x113),'withText':!0x0}),_0x1cc357['on'](_0x23f299(0xc9),()=>{const _0x17c478=_0x23f299;_0x1cc357[_0x17c478(0x114)](this[_0x17c478(0xe3)][0x0]);}),_0x1cc357;}[_0xca73ca(0x10e)](_0x36bd19){const _0x1d781a=_0xca73ca,_0x5c53e=new Gn(_0x36bd19,{'listItemModels':this[_0x1d781a(0xe3)][_0x1d781a(0xf9)](_0x38ae72=>{const _0x1286e6=_0x1d781a;switch(_0x38ae72){case _0x1286e6(0xcc):return this[_0x1286e6(0x11c)];case _0x1286e6(0xe8):return this[_0x1286e6(0xeb)];case _0x1286e6(0xd7):return this[_0x1286e6(0x118)];}})});return _0x5c53e[_0x1d781a(0xd8)]({'label':Hn(this[_0x1d781a(0xe3)][0x0],_0x36bd19,this[_0x1d781a(0x11e)]),'tooltip':Ln(this[_0x1d781a(0xe3)][0x0],_0x36bd19,this[_0x1d781a(0x11e)]),'withText':!0x0,'class':_0x1d781a(0x104),'balloonPanelClass':_0x1d781a(0xde)}),_0x5c53e[_0x1d781a(0xee)](_0x1d781a(0x101))['to'](this),_0x5c53e;}[_0xca73ca(0xe2)](_0x8d5d10){const _0x333859=_0xca73ca,_0x320c03=this[_0x333859(0xe7)];this[_0x333859(0x11e)]=_0x8d5d10||this[_0x333859(0x11e)],this[_0x333859(0xf1)][_0x333859(0xd8)]({'label':Hn(this[_0x333859(0xe3)][0x0],_0x320c03,this[_0x333859(0x11e)]),'tooltip':Ln(this[_0x333859(0xe3)][0x0],_0x320c03,this[_0x333859(0x11e)])}),this[_0x333859(0x11c)][_0x333859(0xfd)]=Hn(_0x333859(0xcc),_0x320c03,this[_0x333859(0x11e)]),this[_0x333859(0xeb)][_0x333859(0xfd)]=Hn(_0x333859(0xe8),_0x320c03,this[_0x333859(0x11e)]),this[_0x333859(0x118)][_0x333859(0xfd)]=Hn(_0x333859(0xd7),_0x320c03,this[_0x333859(0x11e)]);}}class Gn extends _0x27d063{[_0xca73ca(0xfc)];[_0xca73ca(0xf4)];[_0xca73ca(0xcd)];[_0xca73ca(0x11a)];constructor(_0x59074d,_0xe55a61){const _0x216e20=_0xca73ca;super(_0x59074d),this[_0x216e20(0xf4)]=new _0x2272ad(this[_0x216e20(0xe7)]),this[_0x216e20(0xfc)]=new _0x323ab5(this[_0x216e20(0xe7)]),this[_0x216e20(0xfc)][_0x216e20(0xff)](),this[_0x216e20(0xd8)](_0x216e20(0xf7),''),this[_0x216e20(0xf4)][_0x216e20(0xee)](_0x216e20(0x124))['to'](this,_0x216e20(0xf7)),this[_0x216e20(0xcd)]=this[_0x216e20(0xda)](_0xe55a61[_0x216e20(0x11d)][_0x216e20(0xf8)](0x1)),this[_0x216e20(0xfc)][_0x216e20(0xd1)](this[_0x216e20(0xf4)]),this[_0x216e20(0xf4)][_0x216e20(0xf5)][_0x216e20(0xd1)](this[_0x216e20(0xcd)]),this[_0x216e20(0xec)][_0x216e20(0x100)](_0x216e20(0x107)),this[_0x216e20(0xec)][_0x216e20(0xd8)](_0x216e20(0x107),_0x3fe1c5(this[_0x216e20(0xe7)],_0x216e20(0xe6))),this[_0x216e20(0x112)](),this['on'](_0x216e20(0xc9),()=>{const _0x2d534b=_0x216e20,_0x21b35e=_0xe55a61[_0x2d534b(0x11d)][0x0][_0x2d534b(0xef)];this[_0x2d534b(0x114)](_0x21b35e),this[_0x2d534b(0xf4)][_0x2d534b(0xf2)](),this[_0x2d534b(0xec)][_0x2d534b(0x122)]();}),this['on'](_0x216e20(0x108),()=>{const _0x46039b=_0x216e20;this[_0x46039b(0xf4)][_0x46039b(0xc8)]?(this[_0x46039b(0xf4)][_0x46039b(0xf2)](),this[_0x46039b(0xec)][_0x46039b(0x122)]()):(this[_0x46039b(0xf4)][_0x46039b(0xfb)]({'target':this[_0x46039b(0x103)],'positions':[_0x46039b(0xf0)===this[_0x46039b(0xe7)][_0x46039b(0x105)]?yn:Pn]}),this[_0x46039b(0xcd)][_0x46039b(0x122)]());}),_0x22b060({'emitter':this[_0x216e20(0xf4)],'callback':()=>{const _0x3263d4=_0x216e20;this[_0x3263d4(0xf4)][_0x3263d4(0xf2)]();},'activator':()=>this[_0x216e20(0xf4)][_0x216e20(0xc8)],'contextElements':()=>[this[_0x216e20(0x103)],this[_0x216e20(0xf4)][_0x216e20(0x103)]]});}[_0xca73ca(0xda)](_0x3ad97c){const _0x3a7b4a=_0xca73ca,_0x22a56f=this[_0x3a7b4a(0xe7)],_0x23bf26=new _0x5b61cb(_0x22a56f);for(const _0x29401e of _0x3ad97c){const _0x4e2aaa=new _0x57735f(_0x22a56f),_0x4b5128=new _0x4258ed(_0x22a56f);_0x4b5128[_0x3a7b4a(0xee)](...Object[_0x3a7b4a(0xd2)](_0x29401e))['to'](_0x29401e),_0x4b5128[_0x3a7b4a(0xf6)](_0x3a7b4a(0xc9))['to'](_0x23bf26),_0x4e2aaa[_0x3a7b4a(0xdc)][_0x3a7b4a(0xd1)](_0x4b5128),_0x23bf26[_0x3a7b4a(0xf3)][_0x3a7b4a(0xd1)](_0x4e2aaa);}return _0x23bf26[_0x3a7b4a(0xf3)][_0x3a7b4a(0xf6)](_0x3a7b4a(0xc9))['to'](this),_0x23bf26['on'](_0x3a7b4a(0xc9),_0x37802c=>{const _0x6b0aec=_0x3a7b4a,_0x25586f=_0x37802c[_0x6b0aec(0xfa)];this[_0x6b0aec(0x114)](_0x25586f[_0x6b0aec(0xef)]),this[_0x6b0aec(0xf4)][_0x6b0aec(0xf2)](),this[_0x6b0aec(0xec)][_0x6b0aec(0x122)]();}),_0x23bf26;}[_0xca73ca(0x112)](){const _0x3912e6=_0xca73ca;this[_0x3912e6(0x11a)]=new _0x423d75(),this[_0x3912e6(0x11a)][_0x3912e6(0x11b)](this[_0x3912e6(0xf4)][_0x3912e6(0x103)]),this[_0x3912e6(0x11a)][_0x3912e6(0xd8)](_0x3912e6(0x10f),(_0x32972c,_0x1afbe8)=>{const _0x1b128d=_0x3912e6;this[_0x1b128d(0xf4)][_0x1b128d(0xf2)](),this[_0x1b128d(0xec)][_0x1b128d(0x122)](),_0x1afbe8();});}[_0xca73ca(0xd4)](){const _0x3445c1=_0xca73ca;super[_0x3445c1(0xd4)](),this[_0x3445c1(0x11a)][_0x3445c1(0xd4)](),this[_0x3445c1(0xf4)][_0x3445c1(0xd4)](),this[_0x3445c1(0xfc)][_0x3445c1(0xdb)]();}}function _0x657f(){const _0x241120=['AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION_TOOLTIP','class','createCollection','4715778uigfuC','isVisible','execute','bindTemplate','setTemplate','applySuggestion','listView','_createActionsButton','remove','isTrackChangesOn','add','keys','has','destroy','1jjfFSQ','bottom','insertSuggestion','set','2114672dCfesG','_setUpList','detachFromDom','children','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT_TOOLTIP','ck-ai-chat__feed__ai-suggestion__actions__balloon','width','change:isTrackChangesOn','2362816OEPjdK','updateLabels','_dropdownCurrentConfig','4kSIqjr','button','AI_CHAT_SUGGESTION_MORE_OPTIONS_TOOLTIP','locale','showChangeInText','_dropdownOriginalConfig','ck-ai-chat__feed__ai-suggestion__actions\x20','showChangeInTextModel','arrowView','_firstRender','bind','actionName','ltr','actionsButton','hide','items','balloonPanelView','content','delegate','balloonPanelClass','slice','map','source','pin','bodyCollection','label','77854dmOYrk','attachToDom','unbind','isEnabled','filter','element','ck-ai-chat__feed__ai-suggestion__actions','uiLanguageDirection','div','tooltip','open','ck-hidden','5250370qNklOv','_createActionsDropdownOrButton','AI_CHAT_SUGGESTION_ACTION_APPLY_LABEL','left','_createActionsDropdown','esc','ck-ai-chat__feed__ai-suggestion__actions--no-animation','9695871bVyKXc','_setUpKeystrokes','ck-ai-button-primary','fire','length','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT','arrowless','insertSuggestionModel','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION','keystrokeHandler','listenTo','applySuggestionModel','listItemModels','_partsCount','_updateDropdownActions','AI_CHAT_SUGGESTION_ACTION_APPLY_TOOLTIP','5129214rOhBdo','focus'];_0x657f=function(){return _0x241120;};return _0x657f();}function yn(_0x399440){const _0x176270=_0xca73ca;return{'top':_0x399440[_0x176270(0xd6)],'left':_0x399440[_0x176270(0x10d)],'name':_0x176270(0x117),'config':{'withArrow':!0x1}};}function Pn(_0x4ab3df,_0x49cf87){const _0x3bfcd2=_0xca73ca;return{'top':_0x4ab3df[_0x3bfcd2(0xd6)],'left':_0x4ab3df[_0x3bfcd2(0x10d)]-(_0x49cf87[_0x3bfcd2(0xdf)]-_0x4ab3df[_0x3bfcd2(0xdf)]),'name':_0x3bfcd2(0x117),'config':{'withArrow':!0x1}};}function Hn(_0xee851d,_0x162ff7,_0x38820f){const _0x18b628=_0xca73ca;switch(_0xee851d){case _0x18b628(0xcc):return _0x3fe1c5(_0x162ff7,_0x18b628(0x10c),_0x38820f);case _0x18b628(0xe8):return _0x3fe1c5(_0x162ff7,_0x18b628(0x116),_0x38820f);case _0x18b628(0xd7):return _0x3fe1c5(_0x162ff7,_0x18b628(0x119),_0x38820f);}}function Ln(_0x18571b,_0x5eaf8e,_0x37afb1){const _0x3b9879=_0xca73ca;switch(_0x18571b){case _0x3b9879(0xcc):return _0x3fe1c5(_0x5eaf8e,_0x3b9879(0x120),_0x37afb1);case _0x3b9879(0xe8):return _0x3fe1c5(_0x5eaf8e,_0x3b9879(0xdd),_0x37afb1);case _0x3b9879(0xd7):return _0x3fe1c5(_0x5eaf8e,_0x3b9879(0x123),_0x37afb1);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x44d8(){var _0x6cb891=['areActionsDisabled','isVisible','48Aqlffv','availableActions','extendTemplate','updateLabels','toggleSuggestionDisplayMode','812319reUJrP','bind','markAsDone','952bmqEhL','set','rejectSuggestion','1720122cDWOwK','showDiff','addMany','1gvasfW','mouseOverSuggestion','actionsView','16107620aPSZWo','374490wAJQDg','20874436xmcGZa','838220XrTNgj','containerView','bodyView','7sMbWRy','isTrackChangesOn','children','hasPendingParts','hasNonEmptyParts','options','updateContent','showChangeInText','updateSources','isEnabled','like','insertSuggestion','getPartView','ck-ai-chat__feed__ai-suggestion','mouseLeaveSuggestion','fire','updatePartState','partsCount','7731FoeDBA','applySuggestion','dislike'];_0x44d8=function(){return _0x6cb891;};return _0x44d8();}function _0x4084(_0x257374,_0x3fe55c){var _0x44d872=_0x44d8();return _0x4084=function(_0x408420,_0x4c0ea5){_0x408420=_0x408420-0x7a;var _0x33f834=_0x44d872[_0x408420];return _0x33f834;},_0x4084(_0x257374,_0x3fe55c);}var _0x7b043=_0x4084;(function(_0x420346,_0x53d6e2){var _0x564474=_0x4084,_0x3e16c6=_0x420346();while(!![]){try{var _0x228819=-parseInt(_0x564474(0x8f))/0x1*(parseInt(_0x564474(0x95))/0x2)+parseInt(_0x564474(0x86))/0x3+parseInt(_0x564474(0x81))/0x4*(parseInt(_0x564474(0x93))/0x5)+-parseInt(_0x564474(0x8c))/0x6*(parseInt(_0x564474(0x98))/0x7)+-parseInt(_0x564474(0x89))/0x8*(-parseInt(_0x564474(0x7c))/0x9)+-parseInt(_0x564474(0x92))/0xa+parseInt(_0x564474(0x94))/0xb;if(_0x228819===_0x53d6e2)break;else _0x3e16c6['push'](_0x3e16c6['shift']());}catch(_0x3564cc){_0x3e16c6['push'](_0x3e16c6['shift']());}}}(_0x44d8,0xd0397));import{AIChatFeedItemView as _0x188a31}from'./aichatfeeditemview.js';import{AISuggestionContainerView as _0x3d0b1d}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';import{AIChatFeedSuggestionItemActionsView as _0x5d1635}from'./aichatfeedsuggestionitemactionsview.js';export class AIChatFeedSuggestionItemView extends _0x188a31{[_0x7b043(0x96)];[_0x7b043(0x91)];constructor(_0x5b059c,_0x13e07b){var _0x465bc3=_0x7b043;super(_0x13e07b),this[_0x465bc3(0x8a)](_0x465bc3(0x99),!0x1),this[_0x465bc3(0x96)]=new _0x3d0b1d(_0x5b059c,{'showDiff':_0x13e07b[_0x465bc3(0x8d)],'areActionsDisabled':_0x13e07b[_0x465bc3(0x7f)],'availableActions':_0x13e07b[_0x465bc3(0x82)]}),this[_0x465bc3(0x96)]['on'](_0x465bc3(0x85),(_0x758113,_0x1d205c)=>{var _0x4c45f2=_0x465bc3;this[_0x4c45f2(0xa7)](_0x4c45f2(0x85),{'replyId':this[_0x4c45f2(0x9d)]['id'],'showDiff':_0x1d205c[_0x4c45f2(0x8d)]});}),this[_0x465bc3(0x96)]['on'](_0x465bc3(0xa2),()=>{var _0x15d58f=_0x465bc3;this[_0x15d58f(0xa7)](_0x15d58f(0xa2),{'replyId':this[_0x15d58f(0x9d)]['id']});}),this[_0x465bc3(0x96)]['on'](_0x465bc3(0x7e),()=>{var _0x412c69=_0x465bc3;this[_0x412c69(0xa7)](_0x412c69(0x7e),{'replyId':this[_0x412c69(0x9d)]['id']});}),this[_0x465bc3(0x96)]['on'](_0x465bc3(0x9f),(_0xe75d3a,{index:_0x303de7})=>{var _0xa0b47a=_0x465bc3;this[_0xa0b47a(0xa7)](_0xa0b47a(0x9f),{'replyId':this[_0xa0b47a(0x9d)]['id'],'partIndex':_0x303de7});}),this[_0x465bc3(0x96)]['on'](_0x465bc3(0xa3),(_0x3f5afa,{index:_0x1215b2})=>{var _0x698c59=_0x465bc3;this[_0x698c59(0xa7)](_0x698c59(0xa3),{'replyId':this[_0x698c59(0x9d)]['id'],'partIndex':_0x1215b2});}),this[_0x465bc3(0x96)]['on'](_0x465bc3(0x8b),(_0x2fdf7a,{index:_0x2a6b07})=>{var _0x1230d0=_0x465bc3;this[_0x1230d0(0xa7)](_0x1230d0(0x8b),{'replyId':this[_0x1230d0(0x9d)]['id'],'partIndex':_0x2a6b07});}),this[_0x465bc3(0x96)]['on'](_0x465bc3(0x90),(_0x57d6fd,{index:_0x3463fc})=>{var _0x465693=_0x465bc3;this[_0x465693(0xa7)](_0x465693(0x90),{'replyId':this[_0x465693(0x9d)]['id'],'partIndex':_0x3463fc});}),this[_0x465bc3(0x96)]['on'](_0x465bc3(0xa6),(_0x50c920,{index:_0x204ae2})=>{var _0x5d951d=_0x465bc3;this[_0x5d951d(0xa7)](_0x5d951d(0xa6),{'replyId':this[_0x5d951d(0x9d)]['id'],'partIndex':_0x204ae2});}),this[_0x465bc3(0x91)]=new _0x5d1635(_0x5b059c,this[_0x465bc3(0x9d)][_0x465bc3(0x82)]),this[_0x465bc3(0x91)][_0x465bc3(0x87)](_0x465bc3(0x99))['to'](this,_0x465bc3(0x99)),this[_0x465bc3(0x91)]['on'](_0x465bc3(0x9f),()=>{var _0xaf737d=_0x465bc3;this[_0xaf737d(0xa7)](_0xaf737d(0x9f),{'replyId':this[_0xaf737d(0x9d)]['id']});}),this[_0x465bc3(0x91)]['on'](_0x465bc3(0xa3),()=>{var _0x5c4149=_0x465bc3;this[_0x5c4149(0xa7)](_0x5c4149(0xa3),{'replyId':this[_0x5c4149(0x9d)]['id']});}),this[_0x465bc3(0x91)]['on'](_0x465bc3(0x7d),()=>{var _0xe738c9=_0x465bc3;this[_0xe738c9(0xa7)](_0xe738c9(0x7d),{'replyId':this[_0xe738c9(0x9d)]['id']});}),_0x13e07b[_0x465bc3(0x7f)]?this[_0x465bc3(0x91)][_0x465bc3(0xa1)]=!0x1:this[_0x465bc3(0x91)][_0x465bc3(0x87)](_0x465bc3(0xa1))['to'](this[_0x465bc3(0x96)][_0x465bc3(0x97)],_0x465bc3(0x9b)),this[_0x465bc3(0x9a)][_0x465bc3(0x8e)]([this[_0x465bc3(0x96)],this[_0x465bc3(0x91)]]),this[_0x465bc3(0x83)]({'attributes':{'class':[_0x465bc3(0xa5)]}});}async[_0x7b043(0x9e)](_0x4ca01e){var _0x272550=_0x7b043;await this[_0x272550(0x96)][_0x272550(0x9e)](_0x4ca01e),this[_0x272550(0x91)][_0x272550(0x84)](this[_0x272550(0x96)][_0x272550(0x97)][_0x272550(0x7b)]);}[_0x7b043(0x7a)](_0x546568,_0x12a553){var _0x3ebb24=_0x7b043;this[_0x3ebb24(0x96)][_0x3ebb24(0x97)][_0x3ebb24(0x7a)](_0x546568,_0x12a553);}[_0x7b043(0xa0)](_0x23d843){var _0x199aa2=_0x7b043;this[_0x199aa2(0x96)][_0x199aa2(0xa0)](_0x23d843);}[_0x7b043(0xa4)](_0x44093a){var _0x360831=_0x7b043;return this[_0x360831(0x96)][_0x360831(0x97)][_0x360831(0xa4)](_0x44093a);}[_0x7b043(0x88)](){var _0x4178ee=_0x7b043;super[_0x4178ee(0x88)](),this[_0x4178ee(0x96)][_0x4178ee(0x88)](),this[_0x4178ee(0x91)][_0x4178ee(0x80)]=this[_0x4178ee(0x96)][_0x4178ee(0x97)][_0x4178ee(0x9c)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x47024c=_0xe00b;(function(_0x2c05d9,_0x34d8d0){var _0xed7559=_0xe00b,_0x4589cd=_0x2c05d9();while(!![]){try{var _0x127b93=parseInt(_0xed7559(0x1cf))/0x1*(-parseInt(_0xed7559(0x1c3))/0x2)+parseInt(_0xed7559(0x1d5))/0x3*(parseInt(_0xed7559(0x1db))/0x4)+parseInt(_0xed7559(0x1e3))/0x5*(-parseInt(_0xed7559(0x1da))/0x6)+-parseInt(_0xed7559(0x1c7))/0x7+-parseInt(_0xed7559(0x1c5))/0x8*(-parseInt(_0xed7559(0x1d2))/0x9)+parseInt(_0xed7559(0x1d1))/0xa+-parseInt(_0xed7559(0x1e0))/0xb*(parseInt(_0xed7559(0x1e2))/0xc);if(_0x127b93===_0x34d8d0)break;else _0x4589cd['push'](_0x4589cd['shift']());}catch(_0x34f2a7){_0x4589cd['push'](_0x4589cd['shift']());}}}(_0x38e8,0x6f211));function _0x38e8(){var _0xb1634d=['initialContent','render','add','402721KkoEEl','_contextChipsView','72bBtTLc','5IfWECN','hidden','length','_createMessageContentView','809194KuZKOc','filter','1960VfTcVz','ck-ai-chat__feed__user-message','85232dXkuGz','_createContextChipsView','markAsDone','ck-ai-chat__feed__context-chips','_bodyCollection','contextItems','_locale','div','2UfnrZh','extendTemplate','7514300tnPNCN','3006yHNrTx','children','options','2066652rKxZuP','element','innerHTML','ck-ai-chat__feed__message-content','_messageContentView','155538xAuCec','4fyPGRO','setTemplate'];_0x38e8=function(){return _0xb1634d;};return _0x38e8();}import{AIChatFeedItemView as _0x468160}from'./aichatfeeditemview.js';import{AIChatFeedContextChipsView as _0x11eb4d}from'./aichatfeedcontextchipsview.js';import{View as _0xfc53b6}from'ckeditor5/src/ui.js';function _0xe00b(_0x659de6,_0x48ab7b){var _0x38e824=_0x38e8();return _0xe00b=function(_0xe00bd0,_0x59d0e4){_0xe00bd0=_0xe00bd0-0x1c2;var _0xe6c8b7=_0x38e824[_0xe00bd0];return _0xe6c8b7;},_0xe00b(_0x659de6,_0x48ab7b);}export class AIChatFeedUserMessageItemView extends _0x468160{[_0x47024c(0x1e1)]=null;[_0x47024c(0x1cd)];[_0x47024c(0x1cb)];[_0x47024c(0x1d9)];constructor(_0x399ea7,_0xefdd47,_0x2ce771){var _0x731c74=_0x47024c;super(_0xefdd47),this[_0x731c74(0x1cd)]=_0x399ea7,this[_0x731c74(0x1cb)]=_0x2ce771,this[_0x731c74(0x1c8)](),this[_0x731c74(0x1c2)](),this[_0x731c74(0x1d0)]({'attributes':{'class':[_0x731c74(0x1c6)]}});}[_0x47024c(0x1c8)](){var _0x3db8fb=_0x47024c;this[_0x3db8fb(0x1d4)][_0x3db8fb(0x1cc)]&&this[_0x3db8fb(0x1d4)][_0x3db8fb(0x1cc)][_0x3db8fb(0x1e5)]>0x0&&(this[_0x3db8fb(0x1e1)]=new _0x11eb4d(this[_0x3db8fb(0x1cd)],this[_0x3db8fb(0x1d4)][_0x3db8fb(0x1cc)][_0x3db8fb(0x1c4)](_0x1723a6=>!_0x1723a6[_0x3db8fb(0x1e4)]),this[_0x3db8fb(0x1cb)]),this[_0x3db8fb(0x1e1)][_0x3db8fb(0x1d0)]({'attributes':{'class':_0x3db8fb(0x1ca)}}),this[_0x3db8fb(0x1d3)][_0x3db8fb(0x1df)](this[_0x3db8fb(0x1e1)]));}[_0x47024c(0x1c2)](){var _0x56dd9d=_0x47024c;this[_0x56dd9d(0x1d9)]=new _0xfc53b6(this[_0x56dd9d(0x1cd)]),this[_0x56dd9d(0x1d9)][_0x56dd9d(0x1dc)]({'tag':_0x56dd9d(0x1ce),'attributes':{'class':_0x56dd9d(0x1d8)}}),this[_0x56dd9d(0x1d3)][_0x56dd9d(0x1df)](this[_0x56dd9d(0x1d9)]);}[_0x47024c(0x1de)](){var _0x32c923=_0x47024c;super[_0x32c923(0x1de)](),this[_0x32c923(0x1d9)][_0x32c923(0x1d6)][_0x32c923(0x1d7)]=this[_0x32c923(0x1d4)][_0x32c923(0x1dd)],this[_0x32c923(0x1c9)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xc3cfd5=_0x5939;(function(_0x5ec77f,_0x2e2f39){const _0x5e4507=_0x5939,_0x152825=_0x5ec77f();while(!![]){try{const _0x21a163=-parseInt(_0x5e4507(0x96))/0x1+parseInt(_0x5e4507(0xa6))/0x2*(parseInt(_0x5e4507(0x9f))/0x3)+parseInt(_0x5e4507(0xa0))/0x4*(-parseInt(_0x5e4507(0x93))/0x5)+-parseInt(_0x5e4507(0xa3))/0x6+-parseInt(_0x5e4507(0xa8))/0x7*(parseInt(_0x5e4507(0x9b))/0x8)+-parseInt(_0x5e4507(0xa9))/0x9+parseInt(_0x5e4507(0x9d))/0xa;if(_0x21a163===_0x2e2f39)break;else _0x152825['push'](_0x152825['shift']());}catch(_0x2e717e){_0x152825['push'](_0x152825['shift']());}}}(_0x3908,0x31446));function _0x3908(){const _0x2ae3c6=['40780ZCszpG','addDocumentToContext','resizeTabs','45188awLpvi','selectModel','toggleWebSearch','startConversation','sendUserMessage','8RKpeVI','addFileToContext','3957640QhCNBT','addResourceToContext','916863RXylLk','8VnnxpM','addUrlToContext','loadSourceResources','219894rrEHjy','removeContextItem','toggleReasoning','2BlTBeU','abortPromptStream','2104193tLWUjd','907551ikabJv'];_0x3908=function(){return _0x2ae3c6;};return _0x3908();}function _0x5939(_0x5afb11,_0x27a0a3){const _0x3908f9=_0x3908();return _0x5939=function(_0x5939d9,_0x3e57d9){_0x5939d9=_0x5939d9-0x93;let _0x3d8bc6=_0x3908f9[_0x5939d9];return _0x3d8bc6;},_0x5939(_0x5afb11,_0x27a0a3);}import{AI_SUGGESTION_UI_EVENT_NAMES as _0x2852e4}from'../../aicore/utils/eventnames.js';export const AI_CHAT_UI_EVENT_NAMES=[..._0x2852e4,_0xc3cfd5(0x99),_0xc3cfd5(0x95),_0xc3cfd5(0x9a),_0xc3cfd5(0xa7),_0xc3cfd5(0x94),_0xc3cfd5(0x9c),_0xc3cfd5(0xa1),_0xc3cfd5(0x9e),_0xc3cfd5(0xa4),_0xc3cfd5(0xa2),_0xc3cfd5(0x98),_0xc3cfd5(0xa5),_0xc3cfd5(0x97)];
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x10a7(){const _0x4ca992=['11bJOrnu','push','resolve','423766KAPmdF','4jiatys','5308920rvRhAC','4278064WiMQjX','54irjUnF','1760175AFVPVF','448178jUtYsi','once','6oZYgYD','queueEmptyPromise','abort','enqueue','signal','_processQueue','reject','_queueEmpty','callback','queue','_abortController','createTask','isProcessing','fire','581768LgDwYm','shift','length','completePromise','166233sURnFO'];_0x10a7=function(){return _0x4ca992;};return _0x10a7();}const _0x275e8f=_0x2d69;(function(_0x3227c2,_0x1f6d16){const _0x1995fc=_0x2d69,_0x5292a0=_0x3227c2();while(!![]){try{const _0x3cf0e3=parseInt(_0x1995fc(0x18e))/0x1+parseInt(_0x1995fc(0x188))/0x2+parseInt(_0x1995fc(0x184))/0x3*(parseInt(_0x1995fc(0x189))/0x4)+parseInt(_0x1995fc(0x18d))/0x5*(parseInt(_0x1995fc(0x190))/0x6)+-parseInt(_0x1995fc(0x18b))/0x7+-parseInt(_0x1995fc(0x180))/0x8*(-parseInt(_0x1995fc(0x18c))/0x9)+parseInt(_0x1995fc(0x18a))/0xa*(-parseInt(_0x1995fc(0x185))/0xb);if(_0x3cf0e3===_0x1f6d16)break;else _0x5292a0['push'](_0x5292a0['shift']());}catch(_0x4ea527){_0x5292a0['push'](_0x5292a0['shift']());}}}(_0x10a7,0x5853d));import{EmitterMixin as _0x12c881}from'ckeditor5/src/utils.js';function _0x2d69(_0x1fbed4,_0x400d67){const _0x10a7ea=_0x10a7();return _0x2d69=function(_0x2d6999,_0x12fbb6){_0x2d6999=_0x2d6999-0x17a;let _0x52c9a7=_0x10a7ea[_0x2d6999];return _0x52c9a7;},_0x2d69(_0x1fbed4,_0x400d67);}export class PromiseQueue extends _0x12c881(){[_0x275e8f(0x17b)]=[];[_0x275e8f(0x17e)]=!0x1;[_0x275e8f(0x17c)];async[_0x275e8f(0x193)](_0x2ea75d){const _0x1621b1=_0x275e8f,_0x453b3c=this[_0x1621b1(0x17d)](_0x2ea75d);return this[_0x1621b1(0x17b)][_0x1621b1(0x186)](_0x453b3c),this[_0x1621b1(0x195)](),_0x453b3c[_0x1621b1(0x183)];}[_0x275e8f(0x192)](){const _0x1ea2ed=_0x275e8f;this[_0x1ea2ed(0x17e)]&&(this[_0x1ea2ed(0x17c)][_0x1ea2ed(0x192)](),this[_0x1ea2ed(0x17c)]=void 0x0,this[_0x1ea2ed(0x17b)]=[],this[_0x1ea2ed(0x17f)](_0x1ea2ed(0x197)),this[_0x1ea2ed(0x17e)]=!0x1);}get[_0x275e8f(0x191)](){const _0x2b321f=_0x275e8f;return this[_0x2b321f(0x17b)][_0x2b321f(0x182)]||this[_0x2b321f(0x17e)]?new Promise(_0x1d0e4a=>{const _0xacb10c=_0x2b321f;this[_0xacb10c(0x18f)](_0xacb10c(0x197),()=>{_0x1d0e4a();});}):Promise[_0x2b321f(0x187)]();}async[_0x275e8f(0x195)](){const _0x5e2655=_0x275e8f;if(!this[_0x5e2655(0x17e)]){this[_0x5e2655(0x17c)]=new AbortController(),this[_0x5e2655(0x17e)]=!0x0;try{for(;this[_0x5e2655(0x17b)][_0x5e2655(0x182)]&&this[_0x5e2655(0x17e)];){const _0x3e68e6=this[_0x5e2655(0x17b)][_0x5e2655(0x181)]();try{await _0x3e68e6[_0x5e2655(0x17a)](this[_0x5e2655(0x17c)][_0x5e2655(0x194)]),_0x3e68e6[_0x5e2655(0x187)]();}catch(_0x24a739){_0x3e68e6[_0x5e2655(0x196)](_0x24a739);}}}finally{this[_0x5e2655(0x17e)]=!0x1,this[_0x5e2655(0x17c)]=void 0x0;}this[_0x5e2655(0x17f)](_0x5e2655(0x197));}}[_0x275e8f(0x17d)](_0x1bdf40){let _0x567683,_0x2a3962;const _0x9cfeab=new Promise((_0x5572ba,_0x27061e)=>{_0x567683=_0x5572ba,_0x2a3962=_0x27061e;});return{'callback':_0x1bdf40,'resolve':_0x567683,'reject':_0x2a3962,'completePromise':_0x9cfeab};}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x29c2(_0x370a8a,_0x125bcb){const _0x50e86c=_0x50e8();return _0x29c2=function(_0x29c224,_0x4aa64c){_0x29c224=_0x29c224-0x79;let _0x295fb0=_0x50e86c[_0x29c224];return _0x295fb0;},_0x29c2(_0x370a8a,_0x125bcb);}function _0x50e8(){const _0x8a0c72=['isRunning','522LHZpSO','207477gfDXIM','pointerdown','1914054MGvbfo','deltaY','_rafUpdate','_onUserEvent','1771552yXgxBH','scrollTo','scrollHeight','4032384fudXuW','key','44eWyvYE','_stop','End','37720uLmObe','isUserPaused','104247sqpPCf','Home','auto','destroy','3141296yQFqUl','2PGinMx','addEventListener','stop','5NLPiQQ','ArrowDown','PageDown','includes','signal','ArrowUp','wheel','type','touchstart','abortController','PageUp','abort','keydown','element','start','animationFrameId','7JDeQgt','_isAtBottom','bind'];_0x50e8=function(){return _0x8a0c72;};return _0x50e8();}const _0x5547d7=_0x29c2;(function(_0xe8e4ee,_0xb3976b){const _0x56aea8=_0x29c2,_0x219e1b=_0xe8e4ee();while(!![]){try{const _0xef8d0d=-parseInt(_0x56aea8(0x86))/0x1+-parseInt(_0x56aea8(0x9b))/0x2*(-parseInt(_0x56aea8(0x96))/0x3)+-parseInt(_0x56aea8(0x8c))/0x4+parseInt(_0x56aea8(0x9e))/0x5*(-parseInt(_0x56aea8(0x88))/0x6)+parseInt(_0x56aea8(0x81))/0x7*(-parseInt(_0x56aea8(0x9a))/0x8)+parseInt(_0x56aea8(0x85))/0x9*(parseInt(_0x56aea8(0x94))/0xa)+parseInt(_0x56aea8(0x91))/0xb*(parseInt(_0x56aea8(0x8f))/0xc);if(_0xef8d0d===_0xb3976b)break;else _0x219e1b['push'](_0x219e1b['shift']());}catch(_0x468721){_0x219e1b['push'](_0x219e1b['shift']());}}}(_0x50e8,0x39861));const ws=[_0x5547d7(0xa4),_0x5547d7(0x79),_0x5547d7(0x87),_0x5547d7(0x7d)],fs=[_0x5547d7(0xa3),_0x5547d7(0x9f),_0x5547d7(0x7b),_0x5547d7(0xa0),_0x5547d7(0x97),_0x5547d7(0x93),'\x20'];export class ScrollManager{[_0x5547d7(0x7e)];[_0x5547d7(0x80)];[_0x5547d7(0x84)];[_0x5547d7(0x7a)];[_0x5547d7(0x95)];constructor(_0x1e7c22){const _0x51b0ad=_0x5547d7;this[_0x51b0ad(0x7e)]=_0x1e7c22,this[_0x51b0ad(0x80)]=null,this[_0x51b0ad(0x84)]=!0x1,this[_0x51b0ad(0x7a)]=new AbortController(),this[_0x51b0ad(0x95)]=!0x1;for(const _0x409e73 of ws){const _0x5d15b6=_0x51b0ad(0x7d)!==_0x409e73;this[_0x51b0ad(0x7e)][_0x51b0ad(0x9c)](_0x409e73,this[_0x51b0ad(0x8b)][_0x51b0ad(0x83)](this),{'passive':_0x5d15b6,'signal':this[_0x51b0ad(0x7a)][_0x51b0ad(0xa2)]});}}[_0x5547d7(0x7f)](){const _0xb468bc=_0x5547d7;this[_0xb468bc(0x84)]||(this[_0xb468bc(0x84)]=!0x0,this[_0xb468bc(0x95)]=!0x1,this[_0xb468bc(0x80)]=requestAnimationFrame(this[_0xb468bc(0x8a)][_0xb468bc(0x83)](this)));}[_0x5547d7(0x9d)](){requestAnimationFrame(()=>{const _0x5b785c=_0x29c2;this[_0x5b785c(0x92)]();});}[_0x5547d7(0x99)](){const _0x450a29=_0x5547d7;this[_0x450a29(0x92)](),this[_0x450a29(0x7a)][_0x450a29(0x7c)]();}[_0x5547d7(0x92)](){const _0x4f6e89=_0x5547d7;null!==this[_0x4f6e89(0x80)]&&(cancelAnimationFrame(this[_0x4f6e89(0x80)]),this[_0x4f6e89(0x80)]=null),this[_0x4f6e89(0x84)]&&(this[_0x4f6e89(0x84)]=!0x1),this[_0x4f6e89(0x95)]=!0x1;}[_0x5547d7(0x8b)](_0x2ff3f1){const _0x1823c0=_0x5547d7;if(this[_0x1823c0(0x84)]){if(_0x1823c0(0x7d)===_0x2ff3f1[_0x1823c0(0xa5)]){const _0x576fde=_0x2ff3f1[_0x1823c0(0x90)];if(!fs[_0x1823c0(0xa1)](_0x576fde))return;}_0x2ff3f1 instanceof WheelEvent?_0x2ff3f1[_0x1823c0(0x89)]<0x0?this[_0x1823c0(0x95)]=!0x0:this[_0x1823c0(0x95)]=!this[_0x1823c0(0x82)]():this[_0x1823c0(0x95)]=!0x0;}}[_0x5547d7(0x82)](){const _0x5d16f0=_0x5547d7,{scrollTop:_0x41fd2d,scrollHeight:_0x38371d,clientHeight:_0x4e9159}=this[_0x5d16f0(0x7e)];return _0x38371d-_0x41fd2d-_0x4e9159<=0x5;}[_0x5547d7(0x8a)](){const _0x5c9391=_0x5547d7;this[_0x5c9391(0x84)]&&(this[_0x5c9391(0x95)]||this[_0x5c9391(0x7e)][_0x5c9391(0x8d)]({'top':this[_0x5c9391(0x7e)][_0x5c9391(0x8e)],'behavior':_0x5c9391(0x98)}),this[_0x5c9391(0x80)]=requestAnimationFrame(this[_0x5c9391(0x8a)][_0x5c9391(0x83)](this)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x427b2c=_0x4020;(function(_0x493659,_0x201ef2){var _0x35a89a=_0x4020,_0x1afda0=_0x493659();while(!![]){try{var _0x3f79cc=parseInt(_0x35a89a(0x12c))/0x1+parseInt(_0x35a89a(0x125))/0x2*(-parseInt(_0x35a89a(0x127))/0x3)+parseInt(_0x35a89a(0x12e))/0x4*(-parseInt(_0x35a89a(0x128))/0x5)+parseInt(_0x35a89a(0x129))/0x6+-parseInt(_0x35a89a(0x123))/0x7+-parseInt(_0x35a89a(0x121))/0x8+parseInt(_0x35a89a(0x126))/0x9;if(_0x3f79cc===_0x201ef2)break;else _0x1afda0['push'](_0x1afda0['shift']());}catch(_0x493ffa){_0x1afda0['push'](_0x1afda0['shift']());}}}(_0x3efe,0x27a68));import{ContextPlugin as _0x4b803c}from'ckeditor5/src/core.js';function _0x4020(_0x540068,_0x21c81a){var _0x3efe00=_0x3efe();return _0x4020=function(_0x40204d,_0x1214ce){_0x40204d=_0x40204d-0x121;var _0x31658f=_0x3efe00[_0x40204d];return _0x31658f;},_0x4020(_0x540068,_0x21c81a);}import{AIChatHistoryController as _0x314dc8}from'./aichathistorycontroller.js';function _0x3efe(){var _0x185e06=['27KfXnvc','331380mbIVnu','1187736mShEfJ','pluginName','isPremiumPlugin','44157QpfWvt','requires','16wnEDfT','1631280LYCIbe','AIChatHistory','77217jKoTMB','isOfficialPlugin','30686ZaLxvr','4845843bgxdAB'];_0x3efe=function(){return _0x185e06;};return _0x3efe();}import{AIChatHistoryUI as _0x575a0b}from'./aichathistoryui.js';export{AIChatHistoryItem}from'./model/aichathistoryitem.js';export class AIChatHistory extends _0x4b803c{static get[_0x427b2c(0x12d)](){return[_0x314dc8,_0x575a0b];}static get[_0x427b2c(0x12a)](){var _0x152aa6=_0x427b2c;return _0x152aa6(0x122);}static get[_0x427b2c(0x124)](){return!0x0;}static get[_0x427b2c(0x12b)](){return!0x0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x902c0c=_0x3e72;(function(_0x542da9,_0x5d355c){const _0x1f59f6=_0x3e72,_0x2e76ef=_0x542da9();while(!![]){try{const _0x156223=parseInt(_0x1f59f6(0x12f))/0x1+parseInt(_0x1f59f6(0x152))/0x2+-parseInt(_0x1f59f6(0x118))/0x3*(-parseInt(_0x1f59f6(0x11c))/0x4)+-parseInt(_0x1f59f6(0x11f))/0x5*(parseInt(_0x1f59f6(0x117))/0x6)+parseInt(_0x1f59f6(0x11e))/0x7+-parseInt(_0x1f59f6(0x175))/0x8+parseInt(_0x1f59f6(0x146))/0x9*(-parseInt(_0x1f59f6(0x151))/0xa);if(_0x156223===_0x5d355c)break;else _0x2e76ef['push'](_0x2e76ef['shift']());}catch(_0x36a16b){_0x2e76ef['push'](_0x2e76ef['shift']());}}}(_0x2f8d,0xe63bc));import{ContextPlugin as _0xc2016}from'ckeditor5/src/core.js';function _0x3e72(_0x4b191c,_0x3e6991){const _0x2f8d9b=_0x2f8d();return _0x3e72=function(_0x3e728d,_0x44a9d8){_0x3e728d=_0x3e728d-0x113;let _0x5cab7c=_0x2f8d9b[_0x3e728d];return _0x5cab7c;},_0x3e72(_0x4b191c,_0x3e6991);}import{AIConnector as _0x1f2c81}from'../aicore/aiconnector.js';import{AIChatController as _0x50c978}from'../aichat/aichatcontroller.js';function _0x2f8d(){const _0x453139=['AI_CHAT_HISTORY_CATEGORY_YESTERDAY','loadItems','pinned','12489408SSArzL','activeConversation','view','itemsLoaded','resize','unpin','AIChatHistoryController','AI_CHAT_UNTITLED_CONVERSATION','4559946LtzryC','562737rCSAZA','_handleRemove','_getCategorizedItems','createdAt','24KSVUkQ','AI_CHAT_HISTORY_UNPIN_ACTION','8602132KSsXgY','5kQadVU','toLocaleDateString','getItems','_updateHistoryItemsUI','length','title','getGroupId','requires','plugins','chat','map','context','_aiConnector','_handleEditTitle','AI_CHAT_HISTORY_CATEGORY_TODAY','editConversationTitle','1835748iEBqpZ','isPremiumPlugin','getItem','itemRemoved','removeHistoryItem','_aiChatHistoryUi','AI_CHAT_HISTORY_CATEGORY_PINNED','change:activeConversation','_generateErrorMessage','itemUpdated','rename','removeItem','AI_CHAT_HISTORY_ERROR_GENERIC','setLoadingSkeleton','activateTab','selectConversation','get','items','AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS','error','operation','_aiChatController','setIsMaximized','902628dUufQC','AI_CHAT_HISTORY_ERROR_REMOVE_ITEM','AI_CHAT_HISTORY_ERROR_LOAD_ITEMS','AI_CHAT_HISTORY_CATEGORY_LATER','AI_CHAT_HISTORY_PIN_ACTION','_handleHistoryErrorUI','openChat','removeConversation','_clearItemLoading','_setIsMaximized','updateItemPinned','260yWJsoK','3363394ZBOyXa','_showConversationHistory','itemId','isOfficialPlugin','showError','remove','updateItems','pin','AI_CHAT_HISTORY_ERROR_UPDATE_PINNED','_setItemLoading','getMonth','setConversationPinned','AI_CHAT_HISTORY_ERROR_UPDATE_TITLE','updateItemTitle','activateTab:history','init','_handleSelectConversation','updates','locale','setDate','resizeTabs','listenTo','loadConversation','handleRemovedConversation','getFullYear','_handleTogglePin','push','resizedTabs','getDate','updateItemLoadingState','pluginName','history'];_0x2f8d=function(){return _0x453139;};return _0x2f8d();}import{AITabs as _0x15d441}from'../aitabs/aitabs.js';import{AIChatHistoryUI as _0x323a72}from'./aichathistoryui.js';import{AIChatHistoryConversations as _0x143195}from'./model/aichathistoryconversations.js';import{getTranslation as _0x14d842}from'../aicore/utils/common-translations.js';export class AIChatHistoryController extends _0xc2016{[_0x902c0c(0x12b)];[_0x902c0c(0x134)];[_0x902c0c(0x144)];static get[_0x902c0c(0x126)](){return[_0x1f2c81,_0x50c978,_0x323a72,_0x15d441];}static get[_0x902c0c(0x170)](){const _0x20d188=_0x902c0c;return _0x20d188(0x115);}static get[_0x902c0c(0x155)](){return!0x0;}static get[_0x902c0c(0x130)](){return!0x0;}[_0x902c0c(0x161)](){const _0x3b5d6c=_0x902c0c;this[_0x3b5d6c(0x12b)]=this[_0x3b5d6c(0x12a)][_0x3b5d6c(0x127)][_0x3b5d6c(0x13f)](_0x1f2c81),this[_0x3b5d6c(0x134)]=this[_0x3b5d6c(0x12a)][_0x3b5d6c(0x127)][_0x3b5d6c(0x13f)](_0x323a72),this[_0x3b5d6c(0x144)]=this[_0x3b5d6c(0x12a)][_0x3b5d6c(0x127)][_0x3b5d6c(0x13f)](_0x50c978);const _0x3da6c1=this[_0x3b5d6c(0x12a)][_0x3b5d6c(0x127)][_0x3b5d6c(0x13f)](_0x15d441),_0x50da64=this[_0x3b5d6c(0x144)][_0x3b5d6c(0x125)]();this[_0x3b5d6c(0x171)]=new _0x143195({'connector':this[_0x3b5d6c(0x12b)],'group':_0x50da64}),this[_0x3b5d6c(0x167)](this[_0x3b5d6c(0x134)],_0x3b5d6c(0x14d),(_0x562182,_0x5f53d4)=>{const _0x2b5f28=_0x3b5d6c;this[_0x2b5f28(0x15b)](_0x5f53d4['id'],_0x2b5f28(0x157)),this[_0x2b5f28(0x119)](_0x5f53d4['id']);}),this[_0x3b5d6c(0x167)](this[_0x3b5d6c(0x134)],_0x3b5d6c(0x12e),(_0x354fbf,_0x5374f3)=>{const _0x43947e=_0x3b5d6c;this[_0x43947e(0x15b)](_0x5374f3['id'],_0x43947e(0x139)),this[_0x43947e(0x12c)](_0x5374f3['id'],_0x5374f3[_0x43947e(0x124)]);}),this[_0x3b5d6c(0x167)](this[_0x3b5d6c(0x171)],_0x3b5d6c(0x138),(_0x261c8d,_0x4c8acd)=>{const _0x45a003=_0x3b5d6c;void 0x0!==_0x4c8acd[_0x45a003(0x163)][_0x45a003(0x124)]&&this[_0x45a003(0x134)][_0x45a003(0x15f)](_0x4c8acd[_0x45a003(0x154)],_0x4c8acd[_0x45a003(0x163)][_0x45a003(0x124)]),void 0x0!==_0x4c8acd[_0x45a003(0x163)][_0x45a003(0x174)]&&this[_0x45a003(0x122)](),this[_0x45a003(0x14e)](_0x4c8acd[_0x45a003(0x154)]);}),this[_0x3b5d6c(0x167)](this[_0x3b5d6c(0x171)],_0x3b5d6c(0x132),(_0x11e16d,_0x668bf3)=>{const _0x4b56c2=_0x3b5d6c;this[_0x4b56c2(0x144)][_0x4b56c2(0x169)](_0x668bf3[_0x4b56c2(0x154)]),this[_0x4b56c2(0x134)][_0x4b56c2(0x133)](_0x668bf3[_0x4b56c2(0x154)]),this[_0x4b56c2(0x14e)](_0x668bf3[_0x4b56c2(0x154)]);}),this[_0x3b5d6c(0x167)](this[_0x3b5d6c(0x171)],_0x3b5d6c(0x178),()=>{const _0x13cc44=_0x3b5d6c;this[_0x13cc44(0x122)]();}),this[_0x3b5d6c(0x167)](this[_0x3b5d6c(0x171)],_0x3b5d6c(0x142),(_0x3604a6,_0x2cce38)=>{const _0x351192=_0x3b5d6c;this[_0x351192(0x14b)](_0x2cce38[_0x351192(0x142)],_0x2cce38[_0x351192(0x143)],_0x2cce38[_0x351192(0x154)]);}),this[_0x3b5d6c(0x167)](this[_0x3b5d6c(0x134)],_0x3b5d6c(0x13e),(_0x5b25c1,_0x46df4e)=>{const _0x2237b4=_0x3b5d6c;this[_0x2237b4(0x162)](_0x46df4e['id']);}),this[_0x3b5d6c(0x167)](this[_0x3b5d6c(0x134)],_0x3b5d6c(0x15d),(_0x36db63,_0x58bd1c)=>{const _0x1bfcd9=_0x3b5d6c,_0x3899ad=_0x58bd1c[_0x1bfcd9(0x174)]?_0x1bfcd9(0x159):_0x1bfcd9(0x114);this[_0x1bfcd9(0x15b)](_0x58bd1c['id'],_0x3899ad),this[_0x1bfcd9(0x16b)](_0x58bd1c['id'],_0x58bd1c[_0x1bfcd9(0x174)]);}),this[_0x3b5d6c(0x167)](this[_0x3b5d6c(0x134)],_0x3b5d6c(0x14c),()=>{const _0x384366=_0x3b5d6c;_0x3da6c1[_0x384366(0x177)][_0x384366(0x13d)](_0x384366(0x128));}),this[_0x3b5d6c(0x167)](this[_0x3b5d6c(0x144)],_0x3b5d6c(0x136),()=>{const _0x55f37f=_0x3b5d6c;this[_0x55f37f(0x122)]();}),_0x3da6c1[_0x3b5d6c(0x177)]['on'](_0x3b5d6c(0x160),()=>{const _0x4afc4f=_0x3b5d6c;this[_0x4afc4f(0x153)]();}),this[_0x3b5d6c(0x167)](_0x3da6c1,_0x3b5d6c(0x16d),(_0x32abfe,_0x58630b)=>{const _0x4b28b1=_0x3b5d6c;this[_0x4b28b1(0x14f)](_0x58630b);}),this[_0x3b5d6c(0x167)](this[_0x3b5d6c(0x134)],_0x3b5d6c(0x166),()=>{const _0x40e903=_0x3b5d6c;_0x3da6c1[_0x40e903(0x113)]();});}async[_0x902c0c(0x12c)](_0x425d0b,_0x49d644){const _0x5cff29=_0x902c0c;await this[_0x5cff29(0x171)][_0x5cff29(0x15f)](_0x425d0b,_0x49d644);}async[_0x902c0c(0x16b)](_0x34a374,_0x4d1af8){const _0xa9467a=_0x902c0c;await this[_0xa9467a(0x171)][_0xa9467a(0x150)](_0x34a374,_0x4d1af8);}async[_0x902c0c(0x119)](_0x2748f4){const _0x56fa74=_0x902c0c;await this[_0x56fa74(0x171)][_0x56fa74(0x13a)](_0x2748f4);}async[_0x902c0c(0x162)](_0x45472e){const _0x467c0c=_0x902c0c;await this[_0x467c0c(0x144)][_0x467c0c(0x168)](_0x45472e);}async[_0x902c0c(0x153)](){const _0x3d13d5=_0x902c0c;this[_0x3d13d5(0x134)][_0x3d13d5(0x156)](''),this[_0x3d13d5(0x134)][_0x3d13d5(0x13c)](!0x0),await this[_0x3d13d5(0x171)][_0x3d13d5(0x161)](),this[_0x3d13d5(0x134)][_0x3d13d5(0x13c)](!0x1);}[_0x902c0c(0x122)](){const _0x122039=_0x902c0c,_0x2c422c=this[_0x122039(0x144)][_0x122039(0x176)]?.['id'],_0x20d6be=this[_0x122039(0x11a)]()[_0x122039(0x129)](_0x1f89db=>({'title':_0x1f89db[_0x122039(0x124)],'items':_0x1f89db[_0x122039(0x140)][_0x122039(0x129)](_0x82036c=>({'id':_0x82036c['id'],'title':_0x82036c[_0x122039(0x124)]||_0x14d842(this[_0x122039(0x12a)][_0x122039(0x164)],_0x122039(0x116)),'createdAt':new Date(_0x82036c[_0x122039(0x11b)])[_0x122039(0x120)](),'active':_0x82036c['id']===_0x2c422c,'pinned':_0x82036c[_0x122039(0x174)]}))}));this[_0x122039(0x134)][_0x122039(0x158)](_0x20d6be);}[_0x902c0c(0x15b)](_0x451cfa,_0x100210){const _0x3a83e3=_0x902c0c;this[_0x3a83e3(0x134)][_0x3a83e3(0x16f)](_0x451cfa,_0x100210,!0x0);}[_0x902c0c(0x14e)](_0x546790){const _0x4dc5c0=_0x902c0c;this[_0x4dc5c0(0x134)][_0x4dc5c0(0x16f)](_0x546790,null,!0x1);}[_0x902c0c(0x14b)](_0x535f63,_0x171cdd,_0x28dc2b){const _0x6e9ee=_0x902c0c,_0x41ef15=this[_0x6e9ee(0x137)](_0x171cdd,_0x28dc2b);this[_0x6e9ee(0x134)][_0x6e9ee(0x156)](_0x41ef15),_0x28dc2b&&this[_0x6e9ee(0x14e)](_0x28dc2b),this[_0x6e9ee(0x134)][_0x6e9ee(0x13c)](!0x1);}[_0x902c0c(0x137)](_0x2ba517,_0x4df217){const _0x3c1462=_0x902c0c,_0x52acfd=_0x4df217?this[_0x3c1462(0x171)][_0x3c1462(0x131)](_0x4df217):null,_0x18b75e=_0x52acfd?.[_0x3c1462(0x124)]||_0x14d842(this[_0x3c1462(0x12a)][_0x3c1462(0x164)],_0x3c1462(0x116));switch(_0x2ba517){case _0x3c1462(0x15f):return _0x14d842(this[_0x3c1462(0x12a)][_0x3c1462(0x164)],_0x3c1462(0x15e),_0x18b75e);case _0x3c1462(0x150):{const _0x2e4c14=_0x14d842(this[_0x3c1462(0x12a)][_0x3c1462(0x164)],_0x52acfd?.[_0x3c1462(0x174)]?_0x3c1462(0x11d):_0x3c1462(0x14a));return _0x14d842(this[_0x3c1462(0x12a)][_0x3c1462(0x164)],_0x3c1462(0x15a),[_0x2e4c14,_0x18b75e]);}case _0x3c1462(0x13a):return _0x14d842(this[_0x3c1462(0x12a)][_0x3c1462(0x164)],_0x3c1462(0x147),_0x18b75e);case _0x3c1462(0x161):case _0x3c1462(0x173):return _0x14d842(this[_0x3c1462(0x12a)][_0x3c1462(0x164)],_0x3c1462(0x148));default:return _0x14d842(this[_0x3c1462(0x12a)][_0x3c1462(0x164)],_0x3c1462(0x13b));}}[_0x902c0c(0x11a)](){const _0x44a2fe=_0x902c0c,_0x12f076=new Date(),_0x4ab2e8=new Date(_0x12f076[_0x44a2fe(0x16a)](),_0x12f076[_0x44a2fe(0x15c)](),_0x12f076[_0x44a2fe(0x16e)]()),_0x13ebca=new Date(_0x4ab2e8);_0x13ebca[_0x44a2fe(0x165)](_0x13ebca[_0x44a2fe(0x16e)]()-0x1);const _0x1af2a6=new Date(_0x4ab2e8);_0x1af2a6[_0x44a2fe(0x165)](_0x1af2a6[_0x44a2fe(0x16e)]()-0xe);const _0x46e93c=this[_0x44a2fe(0x171)][_0x44a2fe(0x121)]({'pinned':!0x0}),_0x55b71e=this[_0x44a2fe(0x171)][_0x44a2fe(0x121)]({'from':_0x4ab2e8,'to':_0x4ab2e8}),_0x1fa14e=this[_0x44a2fe(0x171)][_0x44a2fe(0x121)]({'from':_0x13ebca,'to':_0x13ebca}),_0x4a4a32=this[_0x44a2fe(0x171)][_0x44a2fe(0x121)]({'from':_0x1af2a6,'to':_0x13ebca}),_0x5f8a16=this[_0x44a2fe(0x171)][_0x44a2fe(0x121)]({'to':_0x1af2a6}),_0x5425c7=[];return _0x46e93c[_0x44a2fe(0x123)]>0x0&&_0x5425c7[_0x44a2fe(0x16c)]({'title':_0x14d842(this[_0x44a2fe(0x12a)][_0x44a2fe(0x164)],_0x44a2fe(0x135)),'items':_0x46e93c}),_0x55b71e[_0x44a2fe(0x123)]>0x0&&_0x5425c7[_0x44a2fe(0x16c)]({'title':_0x14d842(this[_0x44a2fe(0x12a)][_0x44a2fe(0x164)],_0x44a2fe(0x12d)),'items':_0x55b71e}),_0x1fa14e[_0x44a2fe(0x123)]>0x0&&_0x5425c7[_0x44a2fe(0x16c)]({'title':_0x14d842(this[_0x44a2fe(0x12a)][_0x44a2fe(0x164)],_0x44a2fe(0x172)),'items':_0x1fa14e}),_0x4a4a32[_0x44a2fe(0x123)]>0x0&&_0x5425c7[_0x44a2fe(0x16c)]({'title':_0x14d842(this[_0x44a2fe(0x12a)][_0x44a2fe(0x164)],_0x44a2fe(0x141)),'items':_0x4a4a32}),_0x5f8a16[_0x44a2fe(0x123)]>0x0&&_0x5425c7[_0x44a2fe(0x16c)]({'title':_0x14d842(this[_0x44a2fe(0x12a)][_0x44a2fe(0x164)],_0x44a2fe(0x149)),'items':_0x5f8a16}),_0x5425c7;}[_0x902c0c(0x14f)](_0x2b82e4){const _0xa5abc5=_0x902c0c;this[_0xa5abc5(0x134)][_0xa5abc5(0x145)](_0x2b82e4);}}
|
|
23
|
+
const _0x1c4157=_0x148c;(function(_0x471da4,_0x99678b){const _0x505342=_0x148c,_0x5cba71=_0x471da4();while(!![]){try{const _0x4b69f1=-parseInt(_0x505342(0x130))/0x1+-parseInt(_0x505342(0x157))/0x2+parseInt(_0x505342(0x15d))/0x3+parseInt(_0x505342(0x184))/0x4+-parseInt(_0x505342(0x15e))/0x5+-parseInt(_0x505342(0x12d))/0x6+parseInt(_0x505342(0x16a))/0x7;if(_0x4b69f1===_0x99678b)break;else _0x5cba71['push'](_0x5cba71['shift']());}catch(_0x7275ba){_0x5cba71['push'](_0x5cba71['shift']());}}}(_0x4a8f,0x94c1c));function _0x4a8f(){const _0x42f586=['getMonth','_aiChatHistoryUi','chat','updateItemTitle','getGroupId','removeItem','_handleEditTitle','setDate','loadItems','itemRemoved','_setItemLoading','getFullYear','AI_CHAT_HISTORY_CATEGORY_LATER','setConversationPinned','_generateErrorMessage','AI_CHAT_HISTORY_ERROR_UPDATE_TITLE','AI_CHAT_HISTORY_ERROR_LOAD_ITEMS','2957808SrKMBR','map','_clearItemLoading','init','openChat','_handleHistoryErrorUI','getItems','updateItemLoadingState','updates','pluginName','listenTo','locale','1773438iOnQCJ','activeConversation','pinned','822525fhputL','itemId','_aiConnector','_aiChatController','isOfficialPlugin','plugins','_getCategorizedItems','operation','AI_CHAT_HISTORY_ERROR_GENERIC','loadConversation','AIChatHistoryController','_handleTogglePin','requires','isPremiumPlugin','AI_CHAT_UNTITLED_CONVERSATION','activateTab','itemUpdated','AI_CHAT_HISTORY_PIN_ACTION','pin','showError','_setIsMaximized','change:activeConversation','unpin','AI_CHAT_HISTORY_ERROR_UPDATE_PINNED','push','activateTab:history','view','_handleRemove','getItem','rename','AI_CHAT_HISTORY_ERROR_REMOVE_ITEM','AI_CHAT_HISTORY_UNPIN_ACTION','getDate','AI_CHAT_HISTORY_CATEGORY_YESTERDAY','setIsMaximized','AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS','setLoadingSkeleton','resize','toLocaleDateString','1128546XKFoAw','resizedTabs','selectConversation','createdAt','history','itemsLoaded','2739900uAEZSu','2260565HEJpgQ','editConversationTitle','remove','removeConversation','AI_CHAT_HISTORY_CATEGORY_TODAY','items','removeHistoryItem','_showConversationHistory','context','get','title','updateItemPinned','7637280LHXLei','updateItems','_updateHistoryItemsUI','length','error','handleRemovedConversation','_handleSelectConversation','resizeTabs','AI_CHAT_HISTORY_CATEGORY_PINNED'];_0x4a8f=function(){return _0x42f586;};return _0x4a8f();}import{ContextPlugin as _0x5976de}from'ckeditor5/src/core.js';import{AIConnector as _0x5c5cbb}from'../aicore/aiconnector.js';import{AIChatController as _0x341313}from'../aichat/aichatcontroller.js';import{AITabs as _0x5514c9}from'../aitabs/aitabs.js';import{AIChatHistoryUI as _0x55d885}from'./aichathistoryui.js';import{AIChatHistoryConversations as _0x43ac67}from'./model/aichathistoryconversations.js';function _0x148c(_0x7e0b38,_0x195796){const _0x4a8f16=_0x4a8f();return _0x148c=function(_0x148cb9,_0x40d21d){_0x148cb9=_0x148cb9-0x128;let _0x3eb048=_0x4a8f16[_0x148cb9];return _0x3eb048;},_0x148c(_0x7e0b38,_0x195796);}import{getTranslation as _0x1d7466}from'../aicore/utils/common-translations.js';export class AIChatHistoryController extends _0x5976de{[_0x1c4157(0x132)];[_0x1c4157(0x174)];[_0x1c4157(0x133)];static get[_0x1c4157(0x13c)](){return[_0x5c5cbb,_0x341313,_0x55d885,_0x5514c9];}static get[_0x1c4157(0x12a)](){const _0x327d12=_0x1c4157;return _0x327d12(0x13a);}static get[_0x1c4157(0x134)](){return!0x0;}static get[_0x1c4157(0x13d)](){return!0x0;}[_0x1c4157(0x187)](){const _0x2f56ac=_0x1c4157;this[_0x2f56ac(0x132)]=this[_0x2f56ac(0x166)][_0x2f56ac(0x135)][_0x2f56ac(0x167)](_0x5c5cbb),this[_0x2f56ac(0x174)]=this[_0x2f56ac(0x166)][_0x2f56ac(0x135)][_0x2f56ac(0x167)](_0x55d885),this[_0x2f56ac(0x133)]=this[_0x2f56ac(0x166)][_0x2f56ac(0x135)][_0x2f56ac(0x167)](_0x341313);const _0x30cf50=this[_0x2f56ac(0x166)][_0x2f56ac(0x135)][_0x2f56ac(0x167)](_0x5514c9),_0x89d2f2=this[_0x2f56ac(0x133)][_0x2f56ac(0x177)]();this[_0x2f56ac(0x15b)]=new _0x43ac67({'connector':this[_0x2f56ac(0x132)],'group':_0x89d2f2}),this[_0x2f56ac(0x12b)](this[_0x2f56ac(0x174)],_0x2f56ac(0x161),(_0x1630aa,_0x509cd3)=>{const _0x2f9962=_0x2f56ac;this[_0x2f9962(0x17d)](_0x509cd3['id'],_0x2f9962(0x160)),this[_0x2f9962(0x14b)](_0x509cd3['id']);}),this[_0x2f56ac(0x12b)](this[_0x2f56ac(0x174)],_0x2f56ac(0x15f),(_0x1cf586,_0x88647b)=>{const _0x210cf2=_0x2f56ac;this[_0x210cf2(0x17d)](_0x88647b['id'],_0x210cf2(0x14d)),this[_0x210cf2(0x179)](_0x88647b['id'],_0x88647b[_0x210cf2(0x168)]);}),this[_0x2f56ac(0x12b)](this[_0x2f56ac(0x15b)],_0x2f56ac(0x140),(_0x13acc0,_0x5cdce8)=>{const _0xcbc43e=_0x2f56ac;void 0x0!==_0x5cdce8[_0xcbc43e(0x129)][_0xcbc43e(0x168)]&&this[_0xcbc43e(0x174)][_0xcbc43e(0x176)](_0x5cdce8[_0xcbc43e(0x131)],_0x5cdce8[_0xcbc43e(0x129)][_0xcbc43e(0x168)]),void 0x0!==_0x5cdce8[_0xcbc43e(0x129)][_0xcbc43e(0x12f)]&&this[_0xcbc43e(0x16c)](),this[_0xcbc43e(0x186)](_0x5cdce8[_0xcbc43e(0x131)]);}),this[_0x2f56ac(0x12b)](this[_0x2f56ac(0x15b)],_0x2f56ac(0x17c),(_0xaee52a,_0x588331)=>{const _0x1f77eb=_0x2f56ac;this[_0x1f77eb(0x133)][_0x1f77eb(0x16f)](_0x588331[_0x1f77eb(0x131)]),this[_0x1f77eb(0x174)][_0x1f77eb(0x164)](_0x588331[_0x1f77eb(0x131)]),this[_0x1f77eb(0x186)](_0x588331[_0x1f77eb(0x131)]);}),this[_0x2f56ac(0x12b)](this[_0x2f56ac(0x15b)],_0x2f56ac(0x15c),()=>{const _0x520afd=_0x2f56ac;this[_0x520afd(0x16c)]();}),this[_0x2f56ac(0x12b)](this[_0x2f56ac(0x15b)],_0x2f56ac(0x16e),(_0x21dc7b,_0x4a0e54)=>{const _0x5ac98c=_0x2f56ac;this[_0x5ac98c(0x189)](_0x4a0e54[_0x5ac98c(0x16e)],_0x4a0e54[_0x5ac98c(0x137)],_0x4a0e54[_0x5ac98c(0x131)]);}),this[_0x2f56ac(0x12b)](this[_0x2f56ac(0x174)],_0x2f56ac(0x159),(_0x5eb3cc,_0x4cf9ff)=>{const _0x15389d=_0x2f56ac;this[_0x15389d(0x170)](_0x4cf9ff['id']);}),this[_0x2f56ac(0x12b)](this[_0x2f56ac(0x174)],_0x2f56ac(0x180),(_0x22b4c1,_0x11c5ce)=>{const _0x3bb453=_0x2f56ac,_0x2ba4a9=_0x11c5ce[_0x3bb453(0x12f)]?_0x3bb453(0x142):_0x3bb453(0x146);this[_0x3bb453(0x17d)](_0x11c5ce['id'],_0x2ba4a9),this[_0x3bb453(0x13b)](_0x11c5ce['id'],_0x11c5ce[_0x3bb453(0x12f)]);}),this[_0x2f56ac(0x12b)](this[_0x2f56ac(0x174)],_0x2f56ac(0x188),()=>{const _0x1f6bbf=_0x2f56ac;_0x30cf50[_0x1f6bbf(0x14a)][_0x1f6bbf(0x13f)](_0x1f6bbf(0x175));}),this[_0x2f56ac(0x12b)](this[_0x2f56ac(0x133)],_0x2f56ac(0x145),()=>{const _0xec48fe=_0x2f56ac;this[_0xec48fe(0x16c)]();}),_0x30cf50[_0x2f56ac(0x14a)]['on'](_0x2f56ac(0x149),()=>{const _0x32da4f=_0x2f56ac;this[_0x32da4f(0x165)]();}),this[_0x2f56ac(0x12b)](_0x30cf50,_0x2f56ac(0x158),(_0x12f24d,_0x5a8afc)=>{const _0x3f39e1=_0x2f56ac;this[_0x3f39e1(0x144)](_0x5a8afc);}),this[_0x2f56ac(0x12b)](this[_0x2f56ac(0x174)],_0x2f56ac(0x171),()=>{const _0x2146c1=_0x2f56ac;_0x30cf50[_0x2146c1(0x155)]();});}async[_0x1c4157(0x179)](_0x42590c,_0x112ef1){const _0xf26b28=_0x1c4157;await this[_0xf26b28(0x15b)][_0xf26b28(0x176)](_0x42590c,_0x112ef1);}async[_0x1c4157(0x13b)](_0x5889bd,_0x2b10cc){const _0x450fa9=_0x1c4157;await this[_0x450fa9(0x15b)][_0x450fa9(0x169)](_0x5889bd,_0x2b10cc);}async[_0x1c4157(0x14b)](_0x56db43){const _0x4d5678=_0x1c4157;await this[_0x4d5678(0x15b)][_0x4d5678(0x178)](_0x56db43);}async[_0x1c4157(0x170)](_0x2c3e63){const _0x3dbe5e=_0x1c4157;await this[_0x3dbe5e(0x133)][_0x3dbe5e(0x139)](_0x2c3e63);}async[_0x1c4157(0x165)](){const _0x557489=_0x1c4157;this[_0x557489(0x174)][_0x557489(0x143)](''),this[_0x557489(0x174)][_0x557489(0x154)](!0x0),await this[_0x557489(0x15b)][_0x557489(0x187)](),this[_0x557489(0x174)][_0x557489(0x154)](!0x1);}[_0x1c4157(0x16c)](){const _0x1ea031=_0x1c4157,_0x1e065e=this[_0x1ea031(0x133)][_0x1ea031(0x12e)]?.['id'],_0x57afad=this[_0x1ea031(0x136)]()[_0x1ea031(0x185)](_0x2063bf=>({'title':_0x2063bf[_0x1ea031(0x168)],'items':_0x2063bf[_0x1ea031(0x163)][_0x1ea031(0x185)](_0x41b9a1=>({'id':_0x41b9a1['id'],'title':_0x41b9a1[_0x1ea031(0x168)]||_0x1d7466(this[_0x1ea031(0x166)][_0x1ea031(0x12c)],_0x1ea031(0x13e)),'createdAt':new Date(_0x41b9a1[_0x1ea031(0x15a)])[_0x1ea031(0x156)](),'active':_0x41b9a1['id']===_0x1e065e,'pinned':_0x41b9a1[_0x1ea031(0x12f)]}))}));this[_0x1ea031(0x174)][_0x1ea031(0x16b)](_0x57afad);}[_0x1c4157(0x17d)](_0x424a3b,_0x4adf6b){const _0x20b4b9=_0x1c4157;this[_0x20b4b9(0x174)][_0x20b4b9(0x128)](_0x424a3b,_0x4adf6b,!0x0);}[_0x1c4157(0x186)](_0x292cec){const _0x250ed0=_0x1c4157;this[_0x250ed0(0x174)][_0x250ed0(0x128)](_0x292cec,null,!0x1);}[_0x1c4157(0x189)](_0x3f2704,_0x2693ad,_0x5d3a07){const _0x2d5705=_0x1c4157,_0x49c807=this[_0x2d5705(0x181)](_0x2693ad,_0x5d3a07);this[_0x2d5705(0x174)][_0x2d5705(0x143)](_0x49c807),_0x5d3a07&&this[_0x2d5705(0x186)](_0x5d3a07),this[_0x2d5705(0x174)][_0x2d5705(0x154)](!0x1);}[_0x1c4157(0x181)](_0x5ea4c,_0x46e23c){const _0x75a413=_0x1c4157,_0x1bf60e=_0x46e23c?this[_0x75a413(0x15b)][_0x75a413(0x14c)](_0x46e23c):null,_0x21aafa=_0x1bf60e?.[_0x75a413(0x168)]||_0x1d7466(this[_0x75a413(0x166)][_0x75a413(0x12c)],_0x75a413(0x13e));switch(_0x5ea4c){case _0x75a413(0x176):return _0x1d7466(this[_0x75a413(0x166)][_0x75a413(0x12c)],_0x75a413(0x182),_0x21aafa);case _0x75a413(0x169):{const _0x2f5d92=_0x1d7466(this[_0x75a413(0x166)][_0x75a413(0x12c)],_0x1bf60e?.[_0x75a413(0x12f)]?_0x75a413(0x14f):_0x75a413(0x141));return _0x1d7466(this[_0x75a413(0x166)][_0x75a413(0x12c)],_0x75a413(0x147),[_0x2f5d92,_0x21aafa]);}case _0x75a413(0x178):return _0x1d7466(this[_0x75a413(0x166)][_0x75a413(0x12c)],_0x75a413(0x14e),_0x21aafa);case _0x75a413(0x187):case _0x75a413(0x17b):return _0x1d7466(this[_0x75a413(0x166)][_0x75a413(0x12c)],_0x75a413(0x183));default:return _0x1d7466(this[_0x75a413(0x166)][_0x75a413(0x12c)],_0x75a413(0x138));}}[_0x1c4157(0x136)](){const _0x37bd64=_0x1c4157,_0x267406=new Date(),_0x452a2d=new Date(_0x267406[_0x37bd64(0x17e)](),_0x267406[_0x37bd64(0x173)](),_0x267406[_0x37bd64(0x150)]()),_0x17279a=new Date(_0x452a2d);_0x17279a[_0x37bd64(0x17a)](_0x17279a[_0x37bd64(0x150)]()-0x1);const _0x1685b3=new Date(_0x452a2d);_0x1685b3[_0x37bd64(0x17a)](_0x1685b3[_0x37bd64(0x150)]()-0xe);const _0x42f800=this[_0x37bd64(0x15b)][_0x37bd64(0x18a)]({'pinned':!0x0}),_0x4416de=this[_0x37bd64(0x15b)][_0x37bd64(0x18a)]({'from':_0x452a2d,'to':_0x452a2d}),_0x2c3a5e=this[_0x37bd64(0x15b)][_0x37bd64(0x18a)]({'from':_0x17279a,'to':_0x17279a}),_0x389409=this[_0x37bd64(0x15b)][_0x37bd64(0x18a)]({'from':_0x1685b3,'to':_0x17279a}),_0x12bc29=this[_0x37bd64(0x15b)][_0x37bd64(0x18a)]({'to':_0x1685b3}),_0x4aada5=[];return _0x42f800[_0x37bd64(0x16d)]>0x0&&_0x4aada5[_0x37bd64(0x148)]({'title':_0x1d7466(this[_0x37bd64(0x166)][_0x37bd64(0x12c)],_0x37bd64(0x172)),'items':_0x42f800}),_0x4416de[_0x37bd64(0x16d)]>0x0&&_0x4aada5[_0x37bd64(0x148)]({'title':_0x1d7466(this[_0x37bd64(0x166)][_0x37bd64(0x12c)],_0x37bd64(0x162)),'items':_0x4416de}),_0x2c3a5e[_0x37bd64(0x16d)]>0x0&&_0x4aada5[_0x37bd64(0x148)]({'title':_0x1d7466(this[_0x37bd64(0x166)][_0x37bd64(0x12c)],_0x37bd64(0x151)),'items':_0x2c3a5e}),_0x389409[_0x37bd64(0x16d)]>0x0&&_0x4aada5[_0x37bd64(0x148)]({'title':_0x1d7466(this[_0x37bd64(0x166)][_0x37bd64(0x12c)],_0x37bd64(0x153)),'items':_0x389409}),_0x12bc29[_0x37bd64(0x16d)]>0x0&&_0x4aada5[_0x37bd64(0x148)]({'title':_0x1d7466(this[_0x37bd64(0x166)][_0x37bd64(0x12c)],_0x37bd64(0x17f)),'items':_0x12bc29}),_0x4aada5;}[_0x1c4157(0x144)](_0x215b25){const _0x26da6d=_0x1c4157;this[_0x26da6d(0x174)][_0x26da6d(0x152)](_0x215b25);}}
|