@ckeditor/ckeditor5-ai 47.2.0-alpha.5 → 47.2.0-alpha.7
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.d.ts +10 -2
- 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 _0x35e473=_0x2828;(function(_0x56a2ab,_0x2ed650){const _0x118822=_0x2828,_0x27b1db=_0x56a2ab();while(!![]){try{const _0x2bca68=parseInt(_0x118822(0x144))/0x1*(-parseInt(_0x118822(0x141))/0x2)+-parseInt(_0x118822(0x143))/0x3+parseInt(_0x118822(0x12a))/0x4+parseInt(_0x118822(0x142))/0x5*(-parseInt(_0x118822(0x131))/0x6)+-parseInt(_0x118822(0x11a))/0x7*(parseInt(_0x118822(0x10c))/0x8)+parseInt(_0x118822(0x112))/0x9*(parseInt(_0x118822(0x137))/0xa)+parseInt(_0x118822(0x140))/0xb;if(_0x2bca68===_0x2ed650)break;else _0x27b1db['push'](_0x27b1db['shift']());}catch(_0x30cdba){_0x27b1db['push'](_0x27b1db['shift']());}}}(_0x4ec9,0x761e1));import{BalloonPanelView as _0x58e475,ButtonView as _0x1fb53a,clickOutsideHandler as _0x45eb4f,FormHeaderView as _0x2be788}from'ckeditor5/src/ui.js';function _0x2828(_0x4dc053,_0x57c5e1){const _0x4ec9b9=_0x4ec9();return _0x2828=function(_0x2828dd,_0x4f8dd9){_0x2828dd=_0x2828dd-0x10a;let _0x1ad8a9=_0x4ec9b9[_0x2828dd];return _0x1ad8a9;},_0x2828(_0x4dc053,_0x57c5e1);}import{IconPreviousArrow as _0x396fc2}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x4de82f}from'../../../../aicore/utils/common-translations.js';import{AIChatContextResourcesView as _0x9f405c}from'./aichatcontextresourcesview.js';function _0x4ec9(){const _0x352c37=['showSourceResourcesBalloon','populateSourceResourceBalloon','_createSourceResourceBalloonPanel','setResources','isAnyResourceBalloonVisible','change:isLoading','hide','ck-button-icon\x20ck-button-back','3374424tgUUEB','source','_createBackButton','element','_getResourcesViewFromBalloon','updateResourceState','closeSourceResourceBalloon','198LUfwAK','resource','pin','searchInputVisibleFrom','_createBalloonHeader','_config','635380oEbiPg','clear','_setupSingleResourceBalloonClickOutsideHandler','execute','once','children','onBalloonClosed','_addSourceResourceContent','_createBalloonResourcesView','14463856ezchNU','16OHPRVn','118365WuANzW','1770021mOdCUN','89627DMPOck','ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_source','getLimiterElement','_sourceResourceBalloons','onBackToContext','destroy','1266424tasYsg','set','content','add','isVisible','label','81jcnsFy','ck-ai-chat-context-controls__source-balloon-panel','getTargetElement','loadSourceResources','get','_locale','values','AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT','7fOkfbC','onResourceSelected','extendTemplate','_bodyCollection','delete','addResourceToContext','show','onLoadSourceResources'];_0x4ec9=function(){return _0x352c37;};return _0x4ec9();}const Nr=_0x35e473(0x113),Xr=_0x35e473(0x129),Kr=_0x35e473(0x145);export class AIChatResourcesBalloonView{[_0x35e473(0x147)]=new Map();[_0x35e473(0x11d)];[_0x35e473(0x117)];[_0x35e473(0x136)];constructor(_0xb93650,_0x4f1d66,_0x27370b){const _0x204412=_0x35e473;this[_0x204412(0x117)]=_0xb93650,this[_0x204412(0x11d)]=_0x4f1d66,this[_0x204412(0x136)]=_0x27370b;}[_0x35e473(0x122)](_0x203a44){const _0x1f3a89=_0x35e473;let _0x382719=this[_0x1f3a89(0x147)][_0x1f3a89(0x116)](_0x203a44['id']);_0x382719||(_0x382719=this[_0x1f3a89(0x124)](),this[_0x1f3a89(0x147)][_0x1f3a89(0x10d)](_0x203a44['id'],_0x382719),this[_0x1f3a89(0x139)](_0x382719)),this[_0x1f3a89(0x13e)](_0x382719,_0x203a44),_0x382719[_0x1f3a89(0x120)]();const _0x5bf4eb=this[_0x1f3a89(0x136)][_0x1f3a89(0x114)]();_0x5bf4eb&&_0x382719[_0x1f3a89(0x133)]({'target':_0x5bf4eb,'limiter':this[_0x1f3a89(0x136)][_0x1f3a89(0x146)]()});}[_0x35e473(0x123)](_0x33f53b,_0x5f4c6d,_0x4dfa0c){const _0x106070=_0x35e473,_0x2de417=this[_0x106070(0x147)][_0x106070(0x116)](_0x33f53b);if(!_0x2de417)return;const _0x14c333=this[_0x106070(0x12e)](_0x2de417);_0x14c333&&(_0x14c333[_0x106070(0x125)](_0x5f4c6d,_0x4dfa0c),_0x14c333[_0x106070(0x13b)](_0x106070(0x127),()=>{const _0x4be241=_0x106070;_0x2de417[_0x4be241(0x133)]({'target':this[_0x4be241(0x136)][_0x4be241(0x114)](),'limiter':this[_0x4be241(0x136)][_0x4be241(0x146)]()});}));}[_0x35e473(0x130)](_0x6ed0b3){const _0xa892f1=_0x35e473,_0x2d3802=this[_0xa892f1(0x147)][_0xa892f1(0x116)](_0x6ed0b3);_0x2d3802&&requestAnimationFrame(()=>{const _0x5ad472=_0xa892f1;_0x2d3802[_0x5ad472(0x128)](),this[_0x5ad472(0x147)][_0x5ad472(0x11e)](_0x6ed0b3),this[_0x5ad472(0x136)][_0x5ad472(0x13d)]();});}[_0x35e473(0x126)](){const _0x3b95be=_0x35e473;for(const _0x1a4924 of this[_0x3b95be(0x147)][_0x3b95be(0x118)]())if(_0x1a4924[_0x3b95be(0x110)])return!0x0;return!0x1;}[_0x35e473(0x12f)](_0x184d59,_0x1748fb,_0x47cc61){const _0x59aa1e=_0x35e473,_0x23bc80=this[_0x59aa1e(0x147)][_0x59aa1e(0x116)](_0x184d59);if(!_0x23bc80||!_0x23bc80[_0x59aa1e(0x110)])return;const _0xd15cf4=this[_0x59aa1e(0x136)][_0x59aa1e(0x114)]();if(!_0xd15cf4)return;_0x23bc80[_0x59aa1e(0x133)]({'target':_0xd15cf4,'limiter':this[_0x59aa1e(0x136)][_0x59aa1e(0x146)]()});const _0x1e2f03=this[_0x59aa1e(0x12e)](_0x23bc80);_0x1e2f03&&_0x1e2f03[_0x59aa1e(0x12f)](_0x1748fb,_0x47cc61);}[_0x35e473(0x10b)](){const _0x44c542=_0x35e473;for(const _0x265c14 of this[_0x44c542(0x147)][_0x44c542(0x118)]())_0x265c14[_0x44c542(0x10b)]();this[_0x44c542(0x147)][_0x44c542(0x138)]();}[_0x35e473(0x124)](){const _0x4eced1=_0x35e473,_0x2f3f00=new _0x58e475(this[_0x4eced1(0x117)]);return _0x2f3f00[_0x4eced1(0x11c)]({'attributes':{'class':Nr}}),this[_0x4eced1(0x11d)][_0x4eced1(0x10f)](_0x2f3f00),_0x2f3f00;}[_0x35e473(0x13e)](_0x32bd90,_0x44c817){const _0x258f21=_0x35e473;_0x32bd90[_0x258f21(0x10e)][_0x258f21(0x138)]();const _0x5c92f3=this[_0x258f21(0x135)](_0x32bd90,_0x44c817);_0x32bd90[_0x258f21(0x10e)][_0x258f21(0x10f)](_0x5c92f3);const _0x27a4a7=this[_0x258f21(0x13f)](_0x44c817);_0x32bd90[_0x258f21(0x10e)][_0x258f21(0x10f)](_0x27a4a7);}[_0x35e473(0x135)](_0x2c9275,_0x37ebe8){const _0x38d47a=_0x35e473,_0x518fae=this[_0x38d47a(0x12c)](_0x2c9275),_0x3be83c=new _0x2be788(this[_0x38d47a(0x117)],{'label':_0x37ebe8[_0x38d47a(0x111)],'class':Kr});return _0x3be83c[_0x38d47a(0x13c)][_0x38d47a(0x10f)](_0x518fae,0x0),_0x3be83c;}[_0x35e473(0x12c)](_0x59c0dd){const _0x4c2702=_0x35e473,_0xafb62d=new _0x1fb53a(this[_0x4c2702(0x117)]);return _0xafb62d[_0x4c2702(0x10d)]({'icon':_0x396fc2,'tooltip':_0x4de82f(this[_0x4c2702(0x117)],_0x4c2702(0x119)),'tooltipPosition':'n','class':Xr}),_0xafb62d['on'](_0x4c2702(0x13a),()=>{const _0x1ea709=_0x4c2702;_0x59c0dd[_0x1ea709(0x128)](),this[_0x1ea709(0x136)][_0x1ea709(0x10a)]();}),_0xafb62d;}[_0x35e473(0x13f)](_0x2f5fe8){const _0x411750=_0x35e473,_0x5859c6=new _0x9f405c(this[_0x411750(0x117)],{'source':_0x2f5fe8,'searchInputVisibleFrom':this[_0x411750(0x136)][_0x411750(0x134)]});return _0x5859c6['on'](_0x411750(0x115),(_0x4286c7,_0x30e6c8)=>{const _0x5e772e=_0x411750;this[_0x5e772e(0x136)][_0x5e772e(0x121)](_0x30e6c8);}),_0x5859c6['on'](_0x411750(0x11f),(_0x7e5075,_0x30a8e7)=>{const _0x57f57e=_0x411750;this[_0x57f57e(0x136)][_0x57f57e(0x11b)](_0x30a8e7[_0x57f57e(0x12b)],_0x30a8e7[_0x57f57e(0x132)]),this[_0x57f57e(0x130)](_0x2f5fe8['id']);}),_0x5859c6;}[_0x35e473(0x12e)](_0x400860){const _0x235a1e=_0x35e473,_0x1aa2c2=_0x400860[_0x235a1e(0x10e)][_0x235a1e(0x116)](0x1);return _0x1aa2c2 instanceof _0x9f405c?_0x1aa2c2:null;}[_0x35e473(0x139)](_0x3623ec){const _0x288b0d=_0x35e473;_0x45eb4f({'emitter':_0x3623ec,'contextElements':[_0x3623ec[_0x288b0d(0x12d)]],'callback':()=>{const _0x1b6dd1=_0x288b0d;_0x3623ec[_0x1b6dd1(0x128)](),this[_0x1b6dd1(0x136)][_0x1b6dd1(0x13d)]();},'activator':()=>_0x3623ec[_0x288b0d(0x110)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ButtonView as
|
|
23
|
+
import{ButtonView as _0x58e165,IconView as _0x1c3506,LabeledFieldView as _0x2ef0ab,createLabeledInputText as _0x11cb8f}from'ckeditor5/src/ui.js';import{IconLoupe as _0x4d3ae9,IconCancel as _0x124f78}from'ckeditor5/src/icons.js';import{getTranslation as _0x2b4a55}from'../../../../aicore/utils/common-translations.js';export class AIChatContextResourcesSearchInputView extends _0x2ef0ab{['iconView'];['resetButtonView'];['_viewConfig'];constructor(_0x3e9311){const t=_0x3e9311['t'],_0x498d0d={'showResetButton':!0x0,'showIcon':!0x0,'creator':_0x11cb8f,'label':_0x2b4a55(_0x3e9311,'AI_CHAT_SEARCH_RESOURCES')};super(_0x3e9311,_0x498d0d['creator']),this['label']=_0x498d0d['label'],this['_viewConfig']=_0x498d0d,this['_viewConfig']['showIcon']&&this['_setupSearchIcon'](),this['_viewConfig']['showResetButton']&&this['_setupResetButton'](_0x3e9311,t),this['_setupEventListeners']();}['reset'](){this['fieldView']['reset'](),this['_viewConfig']['showResetButton']&&this['resetButtonView']&&(this['resetButtonView']['isVisible']=!0x1),this['search']('');}['search'](_0x299580){this['fire']('search',_0x299580);}['getQuery'](){return this['fieldView']['element']?.['value']||'';}['_setupSearchIcon'](){this['iconView']=new _0x1c3506(),this['iconView']['content']=_0x4d3ae9,this['fieldWrapperChildren']['add'](this['iconView'],0x0),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-icon'}});}['_setupResetButton'](_0x29be48,t){this['resetButtonView']=new _0x58e165(_0x29be48),this['resetButtonView']['set']({'label':t('Clear'),'icon':_0x124f78,'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',_0x4f92a3=>!_0x4f92a3),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
|
-
function
|
|
23
|
+
function _0x5642(_0x5495c9,_0x30c0af){const _0x860f5e=_0x860f();return _0x5642=function(_0x5642ed,_0x25fbd9){_0x5642ed=_0x5642ed-0x1df;let _0x337ab5=_0x860f5e[_0x5642ed];return _0x337ab5;},_0x5642(_0x5495c9,_0x30c0af);}const _0x21d2ae=_0x5642;function _0x860f(){const _0xc6f1ed=['destroy','2488866VxpcJS','6967401pQeEye','ck-ai-chat-context-controls__show-more-balloon-panel','ck-ai-chat__feed__context-chips','createCollection','ck-ai-chat-controls-button','8036035ykTJdZ','_contextChips','10304916xToGMT','1276622pFggwZ','_createContextChips','ck-ai-chat-controls_context_show-more-button','ck-ai-chat-context-chips-wrapper','_bodyCollection','ck-reset_all','406430BaMFOo','element','locale','div','ck-ai-chat-context-chips-wrapper-balloon','12035672HimAJI','add','4XJTFus','querySelector','_overflowManager','reorganizeChips','render','setContainerElement','setTemplate'];_0x860f=function(){return _0xc6f1ed;};return _0x860f();}(function(_0x209314,_0x197e4a){const _0xe8f559=_0x5642,_0x5a99a2=_0x209314();while(!![]){try{const _0x2a5bce=-parseInt(_0xe8f559(0x1e7))/0x1+-parseInt(_0xe8f559(0x1e1))/0x2+-parseInt(_0xe8f559(0x1f6))/0x3+-parseInt(_0xe8f559(0x1ee))/0x4*(-parseInt(_0xe8f559(0x1fc))/0x5)+parseInt(_0xe8f559(0x1e0))/0x6+parseInt(_0xe8f559(0x1f7))/0x7+-parseInt(_0xe8f559(0x1ec))/0x8;if(_0x2a5bce===_0x197e4a)break;else _0x5a99a2['push'](_0x5a99a2['shift']());}catch(_0x243c5e){_0x5a99a2['push'](_0x5a99a2['shift']());}}}(_0x860f,0xe5c9e));import{View as _0x2d88b7}from'ckeditor5/src/ui.js';import{AIChatContextItemButtonView as _0x564349}from'../controls/aichatcontextitembuttonview.js';import{AIChatChipsOverflowManager as _0xaa21fe}from'../controls/aichatchipsoverflowmanager.js';const $o=_0x21d2ae(0x1f9),Qo=_0x21d2ae(0x1e4),Xo=_0x21d2ae(0x1eb),Lo=_0x21d2ae(0x1fb),Oo=_0x21d2ae(0x1e3),Mo=_0x21d2ae(0x1f8);export class AIChatFeedContextChipsView extends _0x2d88b7{[_0x21d2ae(0x1df)]=this[_0x21d2ae(0x1fa)]();[_0x21d2ae(0x1f0)];[_0x21d2ae(0x1e5)];constructor(_0x4307db,_0x5149e6,_0x14188b){const _0x2ca1da=_0x21d2ae;super(_0x4307db),this[_0x2ca1da(0x1e5)]=_0x14188b,this[_0x2ca1da(0x1e2)](_0x5149e6);const _0x4a561a={'cssClasses':{'showMoreButton':Oo,'showMoreBalloon':Mo,'overflowContainer':Xo,'controlsButton':Lo}};this[_0x2ca1da(0x1f0)]=new _0xaa21fe(_0x4307db,this[_0x2ca1da(0x1df)],_0x4a561a,this[_0x2ca1da(0x1e5)],this),this[_0x2ca1da(0x1f4)]({'tag':_0x2ca1da(0x1ea),'attributes':{'class':[$o,'ck',_0x2ca1da(0x1e6)]},'children':[{'tag':_0x2ca1da(0x1ea),'attributes':{'class':Qo},'children':this[_0x2ca1da(0x1df)]}]});}[_0x21d2ae(0x1f2)](){const _0x7bbfa8=_0x21d2ae;super[_0x7bbfa8(0x1f2)]();const _0x3be0b7=this[_0x7bbfa8(0x1e8)][_0x7bbfa8(0x1ef)]('.'+Qo);_0x3be0b7&&(this[_0x7bbfa8(0x1f0)][_0x7bbfa8(0x1f3)](_0x3be0b7),this[_0x7bbfa8(0x1f0)][_0x7bbfa8(0x1f1)]());}[_0x21d2ae(0x1f5)](){const _0x13afad=_0x21d2ae;super[_0x13afad(0x1f5)](),this[_0x13afad(0x1f0)][_0x13afad(0x1f5)]();}[_0x21d2ae(0x1e2)](_0x78192a){const _0x5dff31=_0x21d2ae;for(const _0x16b26f of _0x78192a){const _0x5ebda7=new _0x564349(this[_0x5dff31(0x1e9)],_0x16b26f,!0x0,!0x1);this[_0x5dff31(0x1df)][_0x5dff31(0x1ed)](_0x5ebda7);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x9b6a(_0x15556e,_0x5db1bf){var _0xd2d2b6=_0xd2d2();return _0x9b6a=function(_0x9b6a53,_0x58cfb7){_0x9b6a53=_0x9b6a53-0x19c;var _0x17524a=_0xd2d2b6[_0x9b6a53];return _0x17524a;},_0x9b6a(_0x15556e,_0x5db1bf);}var _0x4b105d=_0x9b6a;(function(_0x17c5ea,_0x5e2f4e){var _0x26f790=_0x9b6a,_0x5c9deb=_0x17c5ea();while(!![]){try{var _0x18b9c7=parseInt(_0x26f790(0x1a9))/0x1*(parseInt(_0x26f790(0x1a6))/0x2)+-parseInt(_0x26f790(0x1ad))/0x3+-parseInt(_0x26f790(0x1ae))/0x4+-parseInt(_0x26f790(0x1a1))/0x5*(-parseInt(_0x26f790(0x1a5))/0x6)+-parseInt(_0x26f790(0x19e))/0x7+-parseInt(_0x26f790(0x1a7))/0x8*(-parseInt(_0x26f790(0x1a2))/0x9)+parseInt(_0x26f790(0x1ab))/0xa;if(_0x18b9c7===_0x5e2f4e)break;else _0x5c9deb['push'](_0x5c9deb['shift']());}catch(_0x43ee60){_0x5c9deb['push'](_0x5c9deb['shift']());}}}(_0xd2d2,0x25f68));import{AIChatFeedItemView as _0x4857bc}from'./aichatfeeditemview.js';function _0xd2d2(){var _0x172964=['40168eqjutH','ck-ai-chat-error','element','extendTemplate','options','ck-ai-chat-error_warning','2130002stqESX','markAsDone','level','655tBGPbq','2396727iiCXvm','setContent','innerHTML','1644oZGpEj','109490dRlTzX','8eDewUt','initialContent','1gSrtCj','warning','1258620feFsZQ','render','38940urooRP'];_0xd2d2=function(){return _0x172964;};return _0xd2d2();}export class AIChatFeedErrorItemView extends _0x4857bc{constructor(_0x539daa){var _0x3abd07=_0x9b6a;super(_0x539daa),this[_0x3abd07(0x1b1)]({'attributes':{'class':[_0x3abd07(0x1af),_0x3abd07(0x1aa)===_0x539daa[_0x3abd07(0x1a0)]?_0x3abd07(0x19d):'']}});}[_0x4b105d(0x1ac)](){var _0x1dd9cb=_0x4b105d;super[_0x1dd9cb(0x1ac)](),this[_0x1dd9cb(0x1a3)](this[_0x1dd9cb(0x19c)][_0x1dd9cb(0x1a8)]),this[_0x1dd9cb(0x19f)]();}[_0x4b105d(0x1a3)](_0x3206a2){var _0x102e6c=_0x4b105d;this[_0x102e6c(0x1b0)][_0x102e6c(0x1a4)]=_0x3206a2;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x43af55=_0x14cb;function _0x1c69(){const _0x68c16a=['push','390NWRbao','1872924ZOfDjg','775072CEBOjT','children','122hjILCH','div','span','extendTemplate','ck-hidden','ck-ai-chat__feed__interaction-header__capabilities__text','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH','add','80748ccmEVP','capabilities','275mefwkT','ck-ai-chat__feed__interaction-header__capabilities','28399AZzbTs','2252020pohEqx','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING','AI_CHAT_FEED_REPLY_ITEM_USED_REASONING','27724gCAHJG','content','ck-ai-chat__feed__interaction-header','setTemplate','1494olNzVa','15745833fuxUFc'];_0x1c69=function(){return _0x68c16a;};return _0x1c69();}(function(_0x4024b5,_0x2d9837){const _0x46895a=_0x14cb,_0x5b59a0=_0x4024b5();while(!![]){try{const _0x2c373a=parseInt(_0x46895a(0xa4))/0x1*(-parseInt(_0x46895a(0xaf))/0x2)+-parseInt(_0x46895a(0xac))/0x3+parseInt(_0x46895a(0x9c))/0x4*(-parseInt(_0x46895a(0xab))/0x5)+parseInt(_0x46895a(0xa8))/0x6*(parseInt(_0x46895a(0xa0))/0x7)+-parseInt(_0x46895a(0xad))/0x8+-parseInt(_0x46895a(0xa9))/0x9+-parseInt(_0x46895a(0xa1))/0xa*(-parseInt(_0x46895a(0x9e))/0xb);if(_0x2c373a===_0x2d9837)break;else _0x5b59a0['push'](_0x5b59a0['shift']());}catch(_0x275e23){_0x5b59a0['push'](_0x5b59a0['shift']());}}}(_0x1c69,0xdca54));function _0x14cb(_0x1a20d1,_0x564c08){const _0x1c6965=_0x1c69();return _0x14cb=function(_0x14cb7a,_0x1d592d){_0x14cb7a=_0x14cb7a-0x9a;let _0x199648=_0x1c6965[_0x14cb7a];return _0x199648;},_0x14cb(_0x1a20d1,_0x564c08);}import{IconBulb as _0x572db8,IconWeb as _0xd04050}from'@ckeditor/ckeditor5-icons';import{IconView as _0x3d8744,View as _0x519a70}from'ckeditor5/src/ui.js';import{AIChatFeedItemView as _0x5c55bd}from'./aichatfeeditemview.js';import{getTranslation as _0x38c646}from'../../../aicore/utils/common-translations.js';export class AIChatFeedInteractionHeaderView extends _0x5c55bd{[_0x43af55(0x9d)];constructor(_0x3a50e2,_0x169c35){const _0x57f038=_0x43af55;super(_0x169c35);const {isWebSearchEnabled:_0x35f682,isReasoningEnabled:_0x3d46f1}=_0x169c35[_0x57f038(0x9d)],_0x3a1ac6=[];let _0x2975d1='';_0x35f682&&_0x3d46f1?(_0x2975d1=_0x38c646(_0x3a50e2,_0x57f038(0xa2)),_0x3a1ac6[_0x57f038(0xaa)](aa(_0xd04050)),_0x3a1ac6[_0x57f038(0xaa)](aa(_0x572db8))):_0x35f682?(_0x2975d1=_0x38c646(_0x3a50e2,_0x57f038(0x9a)),_0x3a1ac6[_0x57f038(0xaa)](aa(_0xd04050))):_0x3d46f1&&(_0x2975d1=_0x38c646(_0x3a50e2,_0x57f038(0xa3)),_0x3a1ac6[_0x57f038(0xaa)](aa(_0x572db8))),this[_0x57f038(0xb2)]({'attributes':{'class':[_0x57f038(0xa6),_0x2975d1?'':_0x57f038(0xb3)]}});const _0x32e8b4=new _0x519a70();_0x32e8b4[_0x57f038(0xa7)]({'tag':_0x57f038(0xb0),'attributes':{'class':['ck',_0x57f038(0x9f)]},'children':[..._0x3a1ac6,{'tag':_0x57f038(0xb1),'attributes':{'class':[_0x57f038(0xb4)]},'children':[_0x2975d1]}]}),this[_0x57f038(0xae)][_0x57f038(0x9b)](_0x32e8b4),this[_0x57f038(0x9d)]=_0x169c35[_0x57f038(0x9d)];}}function aa(_0x2f6aad){const _0x617713=_0x43af55,_0x5e5dbb=new _0x3d8744();return _0x5e5dbb[_0x617713(0xa5)]=_0x2f6aad,_0x5e5dbb;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x340fc2=_0x4b10;function _0x4680(){const _0x14d747=['element','setTemplate','ck-ai-chat__feed__item','ck-hidden','386640JoVsAk','cleanUpAnimations','stream','ck-ai-chat__feed__item_done','options','isVisible','785916ffYBIX','bindTemplate','animation:\x20ck-html-streamer-fade-in\x20.5s','296FEkiME','removeAttribute','htmlStreamer','div','data-id','isDone','content','ck-ai-chat__feed__text-item','9REYRqG','markAsDone','10403540apQijC','[data-id]','createCollection','set','90053jHkHfJ','children','forEach','querySelectorAll','834WEdNCm','streamIntoElement','163802sGCGhy','7091kGcipK','65061OXpZOq'];_0x4680=function(){return _0x14d747;};return _0x4680();}(function(_0x2862d9,_0x125b12){const _0x21b7e3=_0x4b10,_0x4b5547=_0x2862d9();while(!![]){try{const _0x26735c=-parseInt(_0x21b7e3(0xc8))/0x1+parseInt(_0x21b7e3(0xaa))/0x2*(-parseInt(_0x21b7e3(0xc2))/0x3)+-parseInt(_0x21b7e3(0xb7))/0x4+parseInt(_0x21b7e3(0xb1))/0x5+parseInt(_0x21b7e3(0xa8))/0x6*(-parseInt(_0x21b7e3(0xab))/0x7)+parseInt(_0x21b7e3(0xba))/0x8*(-parseInt(_0x21b7e3(0xac))/0x9)+parseInt(_0x21b7e3(0xc4))/0xa;if(_0x26735c===_0x125b12)break;else _0x4b5547['push'](_0x4b5547['shift']());}catch(_0x4e2036){_0x4b5547['push'](_0x4b5547['shift']());}}}(_0x4680,0x2b40f));function _0x4b10(_0x203f70,_0x3e6b0a){const _0x4680cb=_0x4680();return _0x4b10=function(_0x4b105e,_0x3119e2){_0x4b105e=_0x4b105e-0xa8;let _0x5e9c3b=_0x4680cb[_0x4b105e];return _0x5e9c3b;},_0x4b10(_0x203f70,_0x3e6b0a);}import{View as _0x3e1b13}from'ckeditor5/src/ui.js';import{HTMLStreamer as _0x2d1e0b}from'../../../aicore/utils/htmlstreamer.js';export class AIChatFeedItemView extends _0x3e1b13{[_0x340fc2(0xb5)];[_0x340fc2(0xc0)]='';[_0x340fc2(0xbc)];[_0x340fc2(0xc9)];constructor(_0x4a3a92){const _0x109618=_0x340fc2;super();const _0x37b346=this[_0x109618(0xb8)];this[_0x109618(0xc7)](_0x109618(0xbf),!0x1),this[_0x109618(0xc7)](_0x109618(0xb6),!0x0),this[_0x109618(0xbc)]=new _0x2d1e0b({'textNodeStyle':_0x109618(0xb9),'delay':0x14}),this[_0x109618(0xb5)]=_0x4a3a92,this[_0x109618(0xc9)]=this[_0x109618(0xc6)](),this[_0x109618(0xae)]({'tag':_0x109618(0xbd),'attributes':{'class':['ck',_0x109618(0xaf),_0x37b346['if'](_0x109618(0xbf),_0x109618(0xb4)),_0x37b346['if'](_0x109618(0xb6),_0x109618(0xb0),_0x3b5511=>!_0x3b5511),_0x109618(0xc1)],'data-cke-ai-id':this[_0x109618(0xb5)]['id']},'children':this[_0x109618(0xc9)]});}[_0x340fc2(0xc3)](){const _0x43f5e7=_0x340fc2;this[_0x43f5e7(0xbc)][_0x43f5e7(0xb2)]({'targetElement':this[_0x43f5e7(0xad)]}),this[_0x43f5e7(0xad)][_0x43f5e7(0xcb)](_0x43f5e7(0xc5))[_0x43f5e7(0xca)](_0x2797f4=>{const _0x5ce5dc=_0x43f5e7;_0x2797f4[_0x5ce5dc(0xbb)](_0x5ce5dc(0xbe));}),this[_0x43f5e7(0xbf)]=!0x0;}async[_0x340fc2(0xa9)](_0x47fbcb,_0x2696bc,_0x38871e){const _0x573d00=_0x340fc2;await this[_0x573d00(0xbc)][_0x573d00(0xb3)]({'document':_0x47fbcb,'targetElement':_0x2696bc,'abortSignal':_0x38871e});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x20739f=_0x3f35;(function(_0x5cbdc6,_0x3a7736){const _0x27b8be=_0x3f35,_0x25e47c=_0x5cbdc6();while(!![]){try{const _0xb52f85=parseInt(_0x27b8be(0x9e))/0x1+parseInt(_0x27b8be(0xa1))/0x2*(-parseInt(_0x27b8be(0xa3))/0x3)+parseInt(_0x27b8be(0x99))/0x4+-parseInt(_0x27b8be(0x9a))/0x5*(-parseInt(_0x27b8be(0xa7))/0x6)+-parseInt(_0x27b8be(0xad))/0x7*(-parseInt(_0x27b8be(0xac))/0x8)+-parseInt(_0x27b8be(0x97))/0x9+-parseInt(_0x27b8be(0x9f))/0xa;if(_0xb52f85===_0x3a7736)break;else _0x25e47c['push'](_0x25e47c['shift']());}catch(_0x308c7f){_0x25e47c['push'](_0x25e47c['shift']());}}}(_0x2378,0x359df));function _0x2378(){const _0x132c86=['addMany','streamIntoElement','initialContent','locale','ck-ai-chat__feed__ai-reply-container','children','1452960PaOnJY','isVisible','1627476DzWBML','1194215lcATJN','updateSources','options','static','378084HhuWnq','2827390jrxwRK','element','4vQpAiY','markAsDone','598797KvKPti','ck-ai-chat__feed__ai-reply','innerHTML','updateContent','6ANoyCM','replyContainer','render','div','extendTemplate','313568FRjSxa','7LrCWRR','add','ck-reset_all-excluded','setTemplate','streaming','map'];_0x2378=function(){return _0x132c86;};return _0x2378();}import{AIChatFeedItemView as _0x524b68}from'./aichatfeeditemview.js';import{parse as _0x5a3a91,render as _0x1ded87}from'../../../aicore/utils/htmlparser.js';function _0x3f35(_0x190c69,_0xc6aff4){const _0x23784c=_0x2378();return _0x3f35=function(_0x3f3542,_0x3c4dc8){_0x3f3542=_0x3f3542-0x8f;let _0x1c450a=_0x23784c[_0x3f3542];return _0x1c450a;},_0x3f35(_0x190c69,_0xc6aff4);}import{View as _0x3e1cd2}from'ckeditor5/src/ui.js';import{AIWebSourcesView as _0x2e570c,AIWebSourceView as _0x4d13e4}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';export class AIChatFeedReplyItemView extends _0x524b68{[_0x20739f(0xa8)];constructor(_0x25760e,_0x1c890f){const _0x586466=_0x20739f;super(_0x1c890f),this[_0x586466(0x94)]=_0x25760e,this[_0x586466(0xab)]({'attributes':{'class':[_0x586466(0xa4)]}}),this[_0x586466(0xa8)]=new _0x3e1cd2(),this[_0x586466(0xa8)][_0x586466(0xb0)]({'tag':_0x586466(0xaa),'attributes':{'class':['ck',_0x586466(0xaf),_0x586466(0x95)]}}),this[_0x586466(0x96)][_0x586466(0xae)](this[_0x586466(0xa8)]);}async[_0x20739f(0xa9)](){const _0x4a306e=_0x20739f;super[_0x4a306e(0xa9)](),this[_0x4a306e(0x9c)][_0x4a306e(0x93)]&&(await this[_0x4a306e(0xa6)]({'parsedContent':_0x5a3a91(this[_0x4a306e(0x9c)][_0x4a306e(0x93)]),'renderingStrategy':_0x4a306e(0x9d)}),this[_0x4a306e(0xa2)]());}async[_0x20739f(0xa6)]({parsedContent:_0x179e5c,renderingStrategy:_0x55e896,abortSignal:_0x5dfa37}){const _0x36b95a=_0x20739f;_0x36b95a(0x8f)===_0x55e896?await this[_0x36b95a(0x92)](_0x179e5c,this[_0x36b95a(0xa8)][_0x36b95a(0xa0)],_0x5dfa37):this[_0x36b95a(0xa8)][_0x36b95a(0xa0)][_0x36b95a(0xa5)]=_0x1ded87(_0x179e5c);}[_0x20739f(0x9b)](_0x4b8ea9){const _0x526d7d=_0x20739f,_0x3fb86a=new _0x2e570c(this[_0x526d7d(0x94)]);_0x3fb86a[_0x526d7d(0x96)][_0x526d7d(0x91)](_0x4b8ea9[_0x526d7d(0x90)](_0x365cc8=>new _0x4d13e4(this[_0x526d7d(0x94)],_0x365cc8))),_0x3fb86a[_0x526d7d(0x98)]=!0x0,this[_0x526d7d(0x96)][_0x526d7d(0xae)](_0x3fb86a);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x3c074c=_0x201f;(function(_0x23619f,_0x34797d){const _0x26845c=_0x201f,_0x3d13a4=_0x23619f();while(!![]){try{const _0x2e4176=parseInt(_0x26845c(0xcb))/0x1+parseInt(_0x26845c(0xc8))/0x2+-parseInt(_0x26845c(0x83))/0x3+-parseInt(_0x26845c(0x8b))/0x4+-parseInt(_0x26845c(0xbd))/0x5+parseInt(_0x26845c(0xb0))/0x6+parseInt(_0x26845c(0x9c))/0x7;if(_0x2e4176===_0x34797d)break;else _0x3d13a4['push'](_0x3d13a4['shift']());}catch(_0x573be3){_0x3d13a4['push'](_0x3d13a4['shift']());}}}(_0x2c90,0xa6262));import{KeystrokeHandler as _0x5a60b9}from'ckeditor5/src/utils.js';import{BalloonPanelView as _0x2c04e2,BodyCollection as _0x258901,ButtonView as _0x42354e,clickOutsideHandler as _0x8b214a,ListItemButtonView as _0x341adc,ListItemView as _0xb724e6,ListView as _0x3109a7,SplitButtonView as _0x4202cd,UIModel as _0x53449f,View as _0x5b8f0d}from'ckeditor5/src/ui.js';function _0x201f(_0x522838,_0x5beda7){const _0x2c900f=_0x2c90();return _0x201f=function(_0x201fed,_0x477454){_0x201fed=_0x201fed-0x73;let _0x155c2e=_0x2c900f[_0x201fed];return _0x155c2e;},_0x201f(_0x522838,_0x5beda7);}import{IconCheck as _0x101fa7,IconAddComment as _0x510838,IconDocumentWithLoupe as _0x22d9c2}from'ckeditor5/src/icons.js';import{getTranslation as _0x3722f1}from'../../../aicore/utils/common-translations.js';export const AI_REPLY_ACTIONS=[_0x3c074c(0x8a),_0x3c074c(0xc9),_0x3c074c(0xba)];export class AIChatFeedSuggestionItemActionsView extends _0x5b8f0d{[_0x3c074c(0x80)];[_0x3c074c(0x7d)];[_0x3c074c(0x77)];[_0x3c074c(0xb9)];[_0x3c074c(0xa2)];[_0x3c074c(0xb7)]=0x1;[_0x3c074c(0x8e)];[_0x3c074c(0xc0)];[_0x3c074c(0xb8)]=!0x0;constructor(_0x5014f1,_0x10e362){const _0x362104=_0x3c074c;super(_0x5014f1),this[_0x362104(0x8e)]=_0x10e362||[...AI_REPLY_ACTIONS],this[_0x362104(0xc0)]=[...this[_0x362104(0x8e)]];const _0x33912e=this[_0x362104(0x74)];this[_0x362104(0xce)](_0x362104(0x90),!0x0),this[_0x362104(0xce)](_0x362104(0xca),!0x0),this[_0x362104(0xce)](_0x362104(0x8f),!0x1),this[_0x362104(0x77)]=new _0x53449f({'label':Sn(_0x362104(0x8a),_0x5014f1,this[_0x362104(0xb7)]),'icon':_0x101fa7,'withText':!0x0,'type':_0x362104(0x9e),'actionName':_0x362104(0x8a)}),this[_0x362104(0xb9)]=new _0x53449f({'label':Sn(_0x362104(0xba),_0x5014f1,this[_0x362104(0xb7)]),'icon':_0x22d9c2,'withText':!0x0,'type':_0x362104(0x9e),'actionName':_0x362104(0xba)}),this[_0x362104(0xa2)]=new _0x53449f({'label':Sn(_0x362104(0xc9),_0x5014f1,this[_0x362104(0xb7)]),'icon':_0x510838,'withText':!0x0,'type':_0x362104(0x9e),'actionName':_0x362104(0xc9)}),this[_0x362104(0x80)]=this[_0x362104(0xad)](_0x5014f1),this[_0x362104(0x7d)]=this[_0x362104(0x84)](),this[_0x362104(0x80)]&&this[_0x362104(0x7d)][_0x362104(0x96)](this[_0x362104(0x80)]),this[_0x362104(0x9b)]({'tag':_0x362104(0xc2),'attributes':{'class':['ck',_0x362104(0x97),_0x33912e['if'](_0x362104(0xca),_0x362104(0x7e),_0x144f1e=>!_0x144f1e)]},'children':this[_0x362104(0x7d)]}),this['on'](_0x362104(0x9d),()=>{const _0x180bf4=_0x362104;this[_0x180bf4(0xc0)]=this[_0x180bf4(0x8f)]?this[_0x180bf4(0x8e)][_0x180bf4(0xae)](_0x27b076=>_0x180bf4(0x8a)!==_0x27b076):[...this[_0x180bf4(0x8e)]],this[_0x180bf4(0x89)](_0x5014f1);});}[_0x3c074c(0x89)](_0x10fb41){const _0x3b9c2b=_0x3c074c;this[_0x3b9c2b(0x80)]&&this[_0x3b9c2b(0x7d)][_0x3b9c2b(0xa8)](this[_0x3b9c2b(0x80)])&&(this[_0x3b9c2b(0x7d)][_0x3b9c2b(0xaa)](this[_0x3b9c2b(0x80)]),this[_0x3b9c2b(0x80)][_0x3b9c2b(0x85)]()),this[_0x3b9c2b(0x80)]=this[_0x3b9c2b(0xad)](_0x10fb41),this[_0x3b9c2b(0x80)]&&this[_0x3b9c2b(0x7d)][_0x3b9c2b(0x96)](this[_0x3b9c2b(0x80)]);}[_0x3c074c(0xad)](_0x2d4089){const _0x50464c=_0x3c074c;if(0x0==this[_0x50464c(0xc0)][_0x50464c(0xa9)])return null;const _0x47dacd=0x1===this[_0x50464c(0xc0)][_0x50464c(0xa9)]?this[_0x50464c(0x98)](_0x2d4089):this[_0x50464c(0x95)](_0x2d4089),_0x222e2d=this[_0x50464c(0xb8)]?'':_0x50464c(0xc4);_0x47dacd[_0x50464c(0xce)]({'label':Sn(this[_0x50464c(0xc0)][0x0],_0x2d4089,this[_0x50464c(0xb7)]),'tooltip':wn(this[_0x50464c(0xc0)][0x0],_0x2d4089,this[_0x50464c(0xb7)]),'withText':!0x0,'class':_0x50464c(0xbe)+_0x222e2d});for(const _0x1b4d31 of this[_0x50464c(0xc0)])_0x47dacd['on'](_0x1b4d31,()=>{const _0x472d3d=_0x50464c;this[_0x472d3d(0xb3)](_0x1b4d31);});return this[_0x50464c(0xb8)]=!0x1,_0x47dacd;}[_0x3c074c(0x98)](_0x35c917){const _0x5473de=_0x3c074c,_0x38e975=new _0x42354e(_0x35c917);return _0x38e975[_0x5473de(0xce)]({'class':_0x5473de(0xab),'withText':!0x0}),_0x38e975['on'](_0x5473de(0xb6),()=>{const _0x1805bc=_0x5473de;_0x38e975[_0x1805bc(0xb3)](this[_0x1805bc(0xc0)][0x0]);}),_0x38e975;}[_0x3c074c(0x95)](_0x2a91b2){const _0x355e77=_0x3c074c,_0x490e25=new Tn(_0x2a91b2,{'listItemModels':this[_0x355e77(0xc0)][_0x355e77(0xc3)](_0x40ed7c=>{const _0x57abc2=_0x355e77;switch(_0x40ed7c){case _0x57abc2(0x8a):return this[_0x57abc2(0x77)];case _0x57abc2(0xba):return this[_0x57abc2(0xb9)];case _0x57abc2(0xc9):return this[_0x57abc2(0xa2)];}})});return _0x490e25[_0x355e77(0xce)]({'label':Sn(this[_0x355e77(0xc0)][0x0],_0x2a91b2,this[_0x355e77(0xb7)]),'tooltip':wn(this[_0x355e77(0xc0)][0x0],_0x2a91b2,this[_0x355e77(0xb7)]),'withText':!0x0,'class':_0x355e77(0x97),'balloonPanelClass':_0x355e77(0xb4)}),_0x490e25[_0x355e77(0x9f)](_0x355e77(0x90))['to'](this),_0x490e25;}[_0x3c074c(0xcc)](_0x54ec75){const _0x860098=_0x3c074c,_0x465d56=this[_0x860098(0xc1)];this[_0x860098(0xb7)]=_0x54ec75||this[_0x860098(0xb7)],this[_0x860098(0x80)][_0x860098(0xce)]({'label':Sn(this[_0x860098(0xc0)][0x0],_0x465d56,this[_0x860098(0xb7)]),'tooltip':wn(this[_0x860098(0xc0)][0x0],_0x465d56,this[_0x860098(0xb7)])}),this[_0x860098(0x77)][_0x860098(0xbc)]=Sn(_0x860098(0x8a),_0x465d56,this[_0x860098(0xb7)]),this[_0x860098(0xb9)][_0x860098(0xbc)]=Sn(_0x860098(0xba),_0x465d56,this[_0x860098(0xb7)]),this[_0x860098(0xa2)][_0x860098(0xbc)]=Sn(_0x860098(0xc9),_0x465d56,this[_0x860098(0xb7)]);}}class Tn extends _0x4202cd{[_0x3c074c(0xb1)];[_0x3c074c(0xbb)];[_0x3c074c(0x8c)];[_0x3c074c(0xb2)];constructor(_0x53e866,_0x2e060c){const _0x2985e9=_0x3c074c;super(_0x53e866),this[_0x2985e9(0xbb)]=new _0x2c04e2(this[_0x2985e9(0xc1)]),this[_0x2985e9(0xb1)]=new _0x258901(this[_0x2985e9(0xc1)]),this[_0x2985e9(0xb1)][_0x2985e9(0x91)](),this[_0x2985e9(0xce)](_0x2985e9(0xa6),''),this[_0x2985e9(0xbb)][_0x2985e9(0x9f)](_0x2985e9(0xa1))['to'](this,_0x2985e9(0xa6)),this[_0x2985e9(0x8c)]=this[_0x2985e9(0xa7)](_0x2e060c[_0x2985e9(0x88)][_0x2985e9(0xcf)](0x1)),this[_0x2985e9(0xb1)][_0x2985e9(0x96)](this[_0x2985e9(0xbb)]),this[_0x2985e9(0xbb)][_0x2985e9(0x93)][_0x2985e9(0x96)](this[_0x2985e9(0x8c)]),this[_0x2985e9(0x7f)][_0x2985e9(0x87)](_0x2985e9(0xb5)),this[_0x2985e9(0x7f)][_0x2985e9(0xce)](_0x2985e9(0xb5),_0x3722f1(this[_0x2985e9(0xc1)],_0x2985e9(0x73))),this[_0x2985e9(0xc6)](),this['on'](_0x2985e9(0xb6),()=>{const _0x56f1ac=_0x2985e9,_0x38e2ed=_0x2e060c[_0x56f1ac(0x88)][0x0][_0x56f1ac(0xa5)];this[_0x56f1ac(0xb3)](_0x38e2ed),this[_0x56f1ac(0xbb)][_0x56f1ac(0x7c)](),this[_0x56f1ac(0x7f)][_0x56f1ac(0x7b)]();}),this['on'](_0x2985e9(0x78),()=>{const _0x229d33=_0x2985e9;this[_0x229d33(0xbb)][_0x229d33(0xca)]?(this[_0x229d33(0xbb)][_0x229d33(0x7c)](),this[_0x229d33(0x7f)][_0x229d33(0x7b)]()):(this[_0x229d33(0xbb)][_0x229d33(0x79)]({'target':this[_0x229d33(0x82)],'positions':[_0x229d33(0xc7)===this[_0x229d33(0xc1)][_0x229d33(0xa4)]?pn:In]}),this[_0x229d33(0x8c)][_0x229d33(0x7b)]());}),_0x8b214a({'emitter':this[_0x2985e9(0xbb)],'callback':()=>{const _0x69e536=_0x2985e9;this[_0x69e536(0xbb)][_0x69e536(0x7c)]();},'activator':()=>this[_0x2985e9(0xbb)][_0x2985e9(0xca)],'contextElements':()=>[this[_0x2985e9(0x82)],this[_0x2985e9(0xbb)][_0x2985e9(0x82)]]});}[_0x3c074c(0xa7)](_0x156cda){const _0x59c45f=_0x3c074c,_0x53a980=this[_0x59c45f(0xc1)],_0x15d5a5=new _0x3109a7(_0x53a980);for(const _0xb8fa5a of _0x156cda){const _0x2649db=new _0xb724e6(_0x53a980),_0x49ecec=new _0x341adc(_0x53a980);_0x49ecec[_0x59c45f(0x9f)](...Object[_0x59c45f(0x9a)](_0xb8fa5a))['to'](_0xb8fa5a),_0x49ecec[_0x59c45f(0x92)](_0x59c45f(0xb6))['to'](_0x15d5a5),_0x2649db[_0x59c45f(0x7d)][_0x59c45f(0x96)](_0x49ecec),_0x15d5a5[_0x59c45f(0xaf)][_0x59c45f(0x96)](_0x2649db);}return _0x15d5a5[_0x59c45f(0xaf)][_0x59c45f(0x92)](_0x59c45f(0xb6))['to'](this),_0x15d5a5['on'](_0x59c45f(0xb6),_0x1db4ff=>{const _0xb4779d=_0x59c45f,_0x3c44f8=_0x1db4ff[_0xb4779d(0xbf)];this[_0xb4779d(0xb3)](_0x3c44f8[_0xb4779d(0xa5)]),this[_0xb4779d(0xbb)][_0xb4779d(0x7c)](),this[_0xb4779d(0x7f)][_0xb4779d(0x7b)]();}),_0x15d5a5;}[_0x3c074c(0xc6)](){const _0x3bc7b0=_0x3c074c;this[_0x3bc7b0(0xb2)]=new _0x5a60b9(),this[_0x3bc7b0(0xb2)][_0x3bc7b0(0x7a)](this[_0x3bc7b0(0xbb)][_0x3bc7b0(0x82)]),this[_0x3bc7b0(0xb2)][_0x3bc7b0(0xce)](_0x3bc7b0(0x94),(_0x468a6c,_0x44f9a7)=>{const _0x4258ed=_0x3bc7b0;this[_0x4258ed(0xbb)][_0x4258ed(0x7c)](),this[_0x4258ed(0x7f)][_0x4258ed(0x7b)](),_0x44f9a7();});}[_0x3c074c(0x85)](){const _0x684155=_0x3c074c;super[_0x684155(0x85)](),this[_0x684155(0xb2)][_0x684155(0x85)](),this[_0x684155(0xbb)][_0x684155(0x85)](),this[_0x684155(0xb1)][_0x684155(0x86)]();}}function pn(_0x5e22b3){const _0x5443f1=_0x3c074c;return{'top':_0x5e22b3[_0x5443f1(0x99)],'left':_0x5e22b3[_0x5443f1(0x76)],'name':_0x5443f1(0xac),'config':{'withArrow':!0x1}};}function _0x2c90(){const _0x5c08bf=['listView','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT','_dropdownOriginalConfig','isTrackChangesOn','isEnabled','attachToDom','delegate','content','esc','_createActionsDropdown','add','ck-ai-chat__feed__ai-suggestion__actions','_createActionsButton','bottom','keys','setTemplate','5710523kaTESm','change:isTrackChangesOn','button','bind','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION','class','insertSuggestionModel','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION_TOOLTIP','uiLanguageDirection','actionName','balloonPanelClass','_setUpList','has','length','remove','ck-ai-button-primary','arrowless','_createActionsDropdownOrButton','filter','items','4071450zyBOMu','bodyCollection','keystrokeHandler','fire','ck-ai-chat__feed__ai-suggestion__actions__balloon','tooltip','execute','_partsCount','_firstRender','showChangeInTextModel','showChangeInText','balloonPanelView','label','3613100JDNlUM','ck-ai-chat__feed__ai-suggestion__actions\x20','source','_dropdownCurrentConfig','locale','div','map','ck-ai-chat__feed__ai-suggestion__actions--no-animation','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT_TOOLTIP','_setUpKeystrokes','ltr','2554472KCVlbs','insertSuggestion','isVisible','548413fgqqPw','updateLabels','AI_CHAT_SUGGESTION_ACTION_APPLY_TOOLTIP','set','slice','AI_CHAT_SUGGESTION_MORE_OPTIONS_TOOLTIP','bindTemplate','width','left','applySuggestionModel','open','pin','listenTo','focus','hide','children','ck-hidden','arrowView','actionsButton','AI_CHAT_SUGGESTION_ACTION_APPLY_LABEL','element','1889556vOBtFk','createCollection','destroy','detachFromDom','unbind','listItemModels','_updateDropdownActions','applySuggestion','5147980XGvGNp'];_0x2c90=function(){return _0x5c08bf;};return _0x2c90();}function In(_0x503716,_0x4baedd){const _0x1ab5f5=_0x3c074c;return{'top':_0x503716[_0x1ab5f5(0x99)],'left':_0x503716[_0x1ab5f5(0x76)]-(_0x4baedd[_0x1ab5f5(0x75)]-_0x503716[_0x1ab5f5(0x75)]),'name':_0x1ab5f5(0xac),'config':{'withArrow':!0x1}};}function Sn(_0x1a00e5,_0x254daf,_0x8532b6){const _0x51e1d8=_0x3c074c;switch(_0x1a00e5){case _0x51e1d8(0x8a):return _0x3722f1(_0x254daf,_0x51e1d8(0x81),_0x8532b6);case _0x51e1d8(0xba):return _0x3722f1(_0x254daf,_0x51e1d8(0x8d),_0x8532b6);case _0x51e1d8(0xc9):return _0x3722f1(_0x254daf,_0x51e1d8(0xa0),_0x8532b6);}}function wn(_0x54c187,_0x371f3c,_0x1490ac){const _0x313837=_0x3c074c;switch(_0x54c187){case _0x313837(0x8a):return _0x3722f1(_0x371f3c,_0x313837(0xcd),_0x1490ac);case _0x313837(0xba):return _0x3722f1(_0x371f3c,_0x313837(0xc5),_0x1490ac);case _0x313837(0xc9):return _0x3722f1(_0x371f3c,_0x313837(0xa3),_0x1490ac);}}
|
|
23
|
+
const _0x4cba14=_0x9d8a;(function(_0x108a48,_0x33e4cc){const _0x22563c=_0x9d8a,_0x5be2ba=_0x108a48();while(!![]){try{const _0x45ae83=parseInt(_0x22563c(0x169))/0x1+parseInt(_0x22563c(0x15f))/0x2*(-parseInt(_0x22563c(0x15e))/0x3)+parseInt(_0x22563c(0x173))/0x4+-parseInt(_0x22563c(0x1a5))/0x5*(parseInt(_0x22563c(0x161))/0x6)+parseInt(_0x22563c(0x17b))/0x7*(parseInt(_0x22563c(0x177))/0x8)+-parseInt(_0x22563c(0x187))/0x9*(-parseInt(_0x22563c(0x198))/0xa)+-parseInt(_0x22563c(0x18e))/0xb;if(_0x45ae83===_0x33e4cc)break;else _0x5be2ba['push'](_0x5be2ba['shift']());}catch(_0x305ce8){_0x5be2ba['push'](_0x5be2ba['shift']());}}}(_0x5ec9,0xee75e));import{KeystrokeHandler as _0x3f1eeb}from'ckeditor5/src/utils.js';import{BalloonPanelView as _0x44ab73,BodyCollection as _0x4124df,ButtonView as _0x498832,clickOutsideHandler as _0x1ee7b0,ListItemButtonView as _0x48730f,ListItemView as _0x23a9fb,ListView as _0x3194d3,SplitButtonView as _0x2c97d5,UIModel as _0x573059,View as _0x42a2bd}from'ckeditor5/src/ui.js';import{IconCheck as _0x3400d5,IconAddComment as _0x1786b0,IconDocumentWithLoupe as _0x821131}from'ckeditor5/src/icons.js';import{getTranslation as _0x4fb31a}from'../../../aicore/utils/common-translations.js';function _0x9d8a(_0x4b4667,_0x400ed4){const _0x5ec9ce=_0x5ec9();return _0x9d8a=function(_0x9d8a32,_0x11529a){_0x9d8a32=_0x9d8a32-0x14f;let _0x3df25e=_0x5ec9ce[_0x9d8a32];return _0x3df25e;},_0x9d8a(_0x4b4667,_0x400ed4);}export const AI_REPLY_ACTIONS=[_0x4cba14(0x195),_0x4cba14(0x151),_0x4cba14(0x191)];export class AIChatFeedSuggestionItemActionsView extends _0x42a2bd{[_0x4cba14(0x167)];[_0x4cba14(0x15d)];[_0x4cba14(0x1a1)];[_0x4cba14(0x159)];[_0x4cba14(0x162)];[_0x4cba14(0x186)]=0x1;[_0x4cba14(0x193)];[_0x4cba14(0x18b)];[_0x4cba14(0x172)]=!0x0;constructor(_0x31411a,_0xcb9c36){const _0x397f2e=_0x4cba14;super(_0x31411a),this[_0x397f2e(0x193)]=_0xcb9c36||[...AI_REPLY_ACTIONS],this[_0x397f2e(0x18b)]=[...this[_0x397f2e(0x193)]];const _0x13fa72=this[_0x397f2e(0x163)];this[_0x397f2e(0x17f)](_0x397f2e(0x152),!0x0),this[_0x397f2e(0x17f)](_0x397f2e(0x1a4),!0x0),this[_0x397f2e(0x17f)](_0x397f2e(0x17a),!0x1),this[_0x397f2e(0x1a1)]=new _0x573059({'label':Hn(_0x397f2e(0x195),_0x31411a,this[_0x397f2e(0x186)]),'icon':_0x3400d5,'withText':!0x0,'type':_0x397f2e(0x182),'actionName':_0x397f2e(0x195)}),this[_0x397f2e(0x159)]=new _0x573059({'label':Hn(_0x397f2e(0x191),_0x31411a,this[_0x397f2e(0x186)]),'icon':_0x821131,'withText':!0x0,'type':_0x397f2e(0x182),'actionName':_0x397f2e(0x191)}),this[_0x397f2e(0x162)]=new _0x573059({'label':Hn(_0x397f2e(0x151),_0x31411a,this[_0x397f2e(0x186)]),'icon':_0x1786b0,'withText':!0x0,'type':_0x397f2e(0x182),'actionName':_0x397f2e(0x151)}),this[_0x397f2e(0x167)]=this[_0x397f2e(0x16d)](_0x31411a),this[_0x397f2e(0x15d)]=this[_0x397f2e(0x16c)](),this[_0x397f2e(0x167)]&&this[_0x397f2e(0x15d)][_0x397f2e(0x16e)](this[_0x397f2e(0x167)]),this[_0x397f2e(0x14f)]({'tag':_0x397f2e(0x153),'attributes':{'class':['ck',_0x397f2e(0x1a7),_0x13fa72['if'](_0x397f2e(0x1a4),_0x397f2e(0x194),_0x3e8fd5=>!_0x3e8fd5)]},'children':this[_0x397f2e(0x15d)]}),this['on'](_0x397f2e(0x189),()=>{const _0xa1282c=_0x397f2e;this[_0xa1282c(0x18b)]=this[_0xa1282c(0x17a)]?this[_0xa1282c(0x193)][_0xa1282c(0x168)](_0x13c3fd=>_0xa1282c(0x195)!==_0x13c3fd):[...this[_0xa1282c(0x193)]],this[_0xa1282c(0x1ae)](_0x31411a);});}[_0x4cba14(0x1ae)](_0x26dbee){const _0x3a3d5c=_0x4cba14;this[_0x3a3d5c(0x167)]&&this[_0x3a3d5c(0x15d)][_0x3a3d5c(0x166)](this[_0x3a3d5c(0x167)])&&(this[_0x3a3d5c(0x15d)][_0x3a3d5c(0x185)](this[_0x3a3d5c(0x167)]),this[_0x3a3d5c(0x167)][_0x3a3d5c(0x199)]()),this[_0x3a3d5c(0x167)]=this[_0x3a3d5c(0x16d)](_0x26dbee),this[_0x3a3d5c(0x167)]&&this[_0x3a3d5c(0x15d)][_0x3a3d5c(0x16e)](this[_0x3a3d5c(0x167)]);}[_0x4cba14(0x16d)](_0x44b4fa){const _0x167ba4=_0x4cba14;if(0x0==this[_0x167ba4(0x18b)][_0x167ba4(0x1a8)])return null;const _0x66c48b=0x1===this[_0x167ba4(0x18b)][_0x167ba4(0x1a8)]?this[_0x167ba4(0x183)](_0x44b4fa):this[_0x167ba4(0x184)](_0x44b4fa),_0x13fd69=this[_0x167ba4(0x172)]?'':_0x167ba4(0x18d);_0x66c48b[_0x167ba4(0x17f)]({'label':Hn(this[_0x167ba4(0x18b)][0x0],_0x44b4fa,this[_0x167ba4(0x186)]),'tooltip':Ln(this[_0x167ba4(0x18b)][0x0],_0x44b4fa,this[_0x167ba4(0x186)]),'withText':!0x0,'class':_0x167ba4(0x180)+_0x13fd69});for(const _0x556d70 of this[_0x167ba4(0x18b)])_0x66c48b['on'](_0x556d70,()=>{const _0x2e3020=_0x167ba4;this[_0x2e3020(0x1ac)](_0x556d70);});return this[_0x167ba4(0x172)]=!0x1,_0x66c48b;}[_0x4cba14(0x183)](_0x49f81a){const _0x3f2811=_0x4cba14,_0x541a8d=new _0x498832(_0x49f81a);return _0x541a8d[_0x3f2811(0x17f)]({'class':_0x3f2811(0x17d),'withText':!0x0}),_0x541a8d['on'](_0x3f2811(0x157),()=>{const _0xe5a99=_0x3f2811;_0x541a8d[_0xe5a99(0x1ac)](this[_0xe5a99(0x18b)][0x0]);}),_0x541a8d;}[_0x4cba14(0x184)](_0x28acb3){const _0x518c2c=_0x4cba14,_0x4cd450=new Gn(_0x28acb3,{'listItemModels':this[_0x518c2c(0x18b)][_0x518c2c(0x188)](_0x5a7b9e=>{const _0x30b449=_0x518c2c;switch(_0x5a7b9e){case _0x30b449(0x195):return this[_0x30b449(0x1a1)];case _0x30b449(0x191):return this[_0x30b449(0x159)];case _0x30b449(0x151):return this[_0x30b449(0x162)];}})});return _0x4cd450[_0x518c2c(0x17f)]({'label':Hn(this[_0x518c2c(0x18b)][0x0],_0x28acb3,this[_0x518c2c(0x186)]),'tooltip':Ln(this[_0x518c2c(0x18b)][0x0],_0x28acb3,this[_0x518c2c(0x186)]),'withText':!0x0,'class':_0x518c2c(0x1a7),'balloonPanelClass':_0x518c2c(0x175)}),_0x4cd450[_0x518c2c(0x171)](_0x518c2c(0x152))['to'](this),_0x4cd450;}[_0x4cba14(0x1a2)](_0x1c5f32){const _0x560fce=_0x4cba14,_0x4f0b4c=this[_0x560fce(0x18f)];this[_0x560fce(0x186)]=_0x1c5f32||this[_0x560fce(0x186)],this[_0x560fce(0x167)][_0x560fce(0x17f)]({'label':Hn(this[_0x560fce(0x18b)][0x0],_0x4f0b4c,this[_0x560fce(0x186)]),'tooltip':Ln(this[_0x560fce(0x18b)][0x0],_0x4f0b4c,this[_0x560fce(0x186)])}),this[_0x560fce(0x1a1)][_0x560fce(0x160)]=Hn(_0x560fce(0x195),_0x4f0b4c,this[_0x560fce(0x186)]),this[_0x560fce(0x159)][_0x560fce(0x160)]=Hn(_0x560fce(0x191),_0x4f0b4c,this[_0x560fce(0x186)]),this[_0x560fce(0x162)][_0x560fce(0x160)]=Hn(_0x560fce(0x151),_0x4f0b4c,this[_0x560fce(0x186)]);}}class Gn extends _0x2c97d5{[_0x4cba14(0x17c)];[_0x4cba14(0x196)];[_0x4cba14(0x16a)];[_0x4cba14(0x19f)];constructor(_0xd63d86,_0x4b1ff8){const _0x345dbd=_0x4cba14;super(_0xd63d86),this[_0x345dbd(0x196)]=new _0x44ab73(this[_0x345dbd(0x18f)]),this[_0x345dbd(0x17c)]=new _0x4124df(this[_0x345dbd(0x18f)]),this[_0x345dbd(0x17c)][_0x345dbd(0x174)](),this[_0x345dbd(0x17f)](_0x345dbd(0x1aa),''),this[_0x345dbd(0x196)][_0x345dbd(0x171)](_0x345dbd(0x1af))['to'](this,_0x345dbd(0x1aa)),this[_0x345dbd(0x16a)]=this[_0x345dbd(0x164)](_0x4b1ff8[_0x345dbd(0x1a3)][_0x345dbd(0x18a)](0x1)),this[_0x345dbd(0x17c)][_0x345dbd(0x16e)](this[_0x345dbd(0x196)]),this[_0x345dbd(0x196)][_0x345dbd(0x176)][_0x345dbd(0x16e)](this[_0x345dbd(0x16a)]),this[_0x345dbd(0x165)][_0x345dbd(0x170)](_0x345dbd(0x1ad)),this[_0x345dbd(0x165)][_0x345dbd(0x17f)](_0x345dbd(0x1ad),_0x4fb31a(this[_0x345dbd(0x18f)],_0x345dbd(0x19d))),this[_0x345dbd(0x190)](),this['on'](_0x345dbd(0x157),()=>{const _0x335b26=_0x345dbd,_0x4964d2=_0x4b1ff8[_0x335b26(0x1a3)][0x0][_0x335b26(0x19c)];this[_0x335b26(0x1ac)](_0x4964d2),this[_0x335b26(0x196)][_0x335b26(0x179)](),this[_0x335b26(0x165)][_0x335b26(0x1a0)]();}),this['on'](_0x345dbd(0x15b),()=>{const _0x25d13c=_0x345dbd;this[_0x25d13c(0x196)][_0x25d13c(0x1a4)]?(this[_0x25d13c(0x196)][_0x25d13c(0x179)](),this[_0x25d13c(0x165)][_0x25d13c(0x1a0)]()):(this[_0x25d13c(0x196)][_0x25d13c(0x19e)]({'target':this[_0x25d13c(0x178)],'positions':[_0x25d13c(0x1ab)===this[_0x25d13c(0x18f)][_0x25d13c(0x16b)]?yn:Pn]}),this[_0x25d13c(0x16a)][_0x25d13c(0x1a0)]());}),_0x1ee7b0({'emitter':this[_0x345dbd(0x196)],'callback':()=>{const _0x271a9e=_0x345dbd;this[_0x271a9e(0x196)][_0x271a9e(0x179)]();},'activator':()=>this[_0x345dbd(0x196)][_0x345dbd(0x1a4)],'contextElements':()=>[this[_0x345dbd(0x178)],this[_0x345dbd(0x196)][_0x345dbd(0x178)]]});}[_0x4cba14(0x164)](_0x18f01f){const _0x707161=_0x4cba14,_0x4b6665=this[_0x707161(0x18f)],_0x5efd9e=new _0x3194d3(_0x4b6665);for(const _0x16c5bb of _0x18f01f){const _0x40c62a=new _0x23a9fb(_0x4b6665),_0x2db613=new _0x48730f(_0x4b6665);_0x2db613[_0x707161(0x171)](...Object[_0x707161(0x15c)](_0x16c5bb))['to'](_0x16c5bb),_0x2db613[_0x707161(0x155)](_0x707161(0x157))['to'](_0x5efd9e),_0x40c62a[_0x707161(0x15d)][_0x707161(0x16e)](_0x2db613),_0x5efd9e[_0x707161(0x1a9)][_0x707161(0x16e)](_0x40c62a);}return _0x5efd9e[_0x707161(0x1a9)][_0x707161(0x155)](_0x707161(0x157))['to'](this),_0x5efd9e['on'](_0x707161(0x157),_0xcd362c=>{const _0x7b3d42=_0x707161,_0x474058=_0xcd362c[_0x7b3d42(0x19a)];this[_0x7b3d42(0x1ac)](_0x474058[_0x7b3d42(0x19c)]),this[_0x7b3d42(0x196)][_0x7b3d42(0x179)](),this[_0x7b3d42(0x165)][_0x7b3d42(0x1a0)]();}),_0x5efd9e;}[_0x4cba14(0x190)](){const _0x5f37cc=_0x4cba14;this[_0x5f37cc(0x19f)]=new _0x3f1eeb(),this[_0x5f37cc(0x19f)][_0x5f37cc(0x19b)](this[_0x5f37cc(0x196)][_0x5f37cc(0x178)]),this[_0x5f37cc(0x19f)][_0x5f37cc(0x17f)](_0x5f37cc(0x1a6),(_0x348bc1,_0x3889ea)=>{const _0x1f36f7=_0x5f37cc;this[_0x1f36f7(0x196)][_0x1f36f7(0x179)](),this[_0x1f36f7(0x165)][_0x1f36f7(0x1a0)](),_0x3889ea();});}[_0x4cba14(0x199)](){const _0x898e9a=_0x4cba14;super[_0x898e9a(0x199)](),this[_0x898e9a(0x19f)][_0x898e9a(0x199)](),this[_0x898e9a(0x196)][_0x898e9a(0x199)](),this[_0x898e9a(0x17c)][_0x898e9a(0x150)]();}}function yn(_0x52a27e){const _0x2bd19a=_0x4cba14;return{'top':_0x52a27e[_0x2bd19a(0x192)],'left':_0x52a27e[_0x2bd19a(0x16f)],'name':_0x2bd19a(0x17e),'config':{'withArrow':!0x1}};}function _0x5ec9(){const _0x3e7dc9=['arrowless','set','ck-ai-chat__feed__ai-suggestion__actions\x20','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION_TOOLTIP','button','_createActionsButton','_createActionsDropdown','remove','_partsCount','9GXAWBg','map','change:isTrackChangesOn','slice','_dropdownCurrentConfig','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT_TOOLTIP','ck-ai-chat__feed__ai-suggestion__actions--no-animation','21589337FhwFis','locale','_setUpKeystrokes','showChangeInText','bottom','_dropdownOriginalConfig','ck-hidden','applySuggestion','balloonPanelView','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION','7266290RwkCgM','destroy','source','listenTo','actionName','AI_CHAT_SUGGESTION_MORE_OPTIONS_TOOLTIP','pin','keystrokeHandler','focus','applySuggestionModel','updateLabels','listItemModels','isVisible','15330QXmWgp','esc','ck-ai-chat__feed__ai-suggestion__actions','length','items','balloonPanelClass','ltr','fire','tooltip','_updateDropdownActions','class','setTemplate','detachFromDom','insertSuggestion','isEnabled','div','AI_CHAT_SUGGESTION_ACTION_APPLY_TOOLTIP','delegate','width','execute','AI_CHAT_SUGGESTION_ACTION_APPLY_LABEL','showChangeInTextModel','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT','open','keys','children','3LMXOXo','2393738WIqgOA','label','366JidYtD','insertSuggestionModel','bindTemplate','_setUpList','arrowView','has','actionsButton','filter','1235351bZHmZv','listView','uiLanguageDirection','createCollection','_createActionsDropdownOrButton','add','left','unbind','bind','_firstRender','2564808KSwAIV','attachToDom','ck-ai-chat__feed__ai-suggestion__actions__balloon','content','335632ajNtyy','element','hide','isTrackChangesOn','287pEHmsp','bodyCollection','ck-ai-button-primary'];_0x5ec9=function(){return _0x3e7dc9;};return _0x5ec9();}function Pn(_0x392d00,_0x1b3398){const _0x26dd95=_0x4cba14;return{'top':_0x392d00[_0x26dd95(0x192)],'left':_0x392d00[_0x26dd95(0x16f)]-(_0x1b3398[_0x26dd95(0x156)]-_0x392d00[_0x26dd95(0x156)]),'name':_0x26dd95(0x17e),'config':{'withArrow':!0x1}};}function Hn(_0x2f2116,_0x5729c5,_0xe48d96){const _0x1db75d=_0x4cba14;switch(_0x2f2116){case _0x1db75d(0x195):return _0x4fb31a(_0x5729c5,_0x1db75d(0x158),_0xe48d96);case _0x1db75d(0x191):return _0x4fb31a(_0x5729c5,_0x1db75d(0x15a),_0xe48d96);case _0x1db75d(0x151):return _0x4fb31a(_0x5729c5,_0x1db75d(0x197),_0xe48d96);}}function Ln(_0x12ed00,_0x3469d4,_0x25d95c){const _0x481b00=_0x4cba14;switch(_0x12ed00){case _0x481b00(0x195):return _0x4fb31a(_0x3469d4,_0x481b00(0x154),_0x25d95c);case _0x481b00(0x191):return _0x4fb31a(_0x3469d4,_0x481b00(0x18c),_0x25d95c);case _0x481b00(0x151):return _0x4fb31a(_0x3469d4,_0x481b00(0x181),_0x25d95c);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x3e9873=_0x336a;function _0xd2fe(){var _0x3bbf70=['isEnabled','9310SDbjpL','insertSuggestion','dislike','like','fire','applySuggestion','hasNonEmptyParts','updateSources','6EMvFWZ','set','options','toggleSuggestionDisplayMode','extendTemplate','6033933rrBFIv','278470foTWZQ','ck-ai-chat__feed__ai-suggestion','bodyView','updatePartState','isVisible','bind','mouseLeaveSuggestion','1116132jykcXy','609SQiWvV','partsCount','updateLabels','updateContent','hasPendingParts','showDiff','5035615mELOhq','markAsDone','children','isTrackChangesOn','getPartView','containerView','addMany','715JtOEco','114OuctPS','areActionsDisabled','availableActions','mouseOverSuggestion','showChangeInText','rejectSuggestion','2498404MmIfht','1832jYjYxw','actionsView'];_0xd2fe=function(){return _0x3bbf70;};return _0xd2fe();}(function(_0x575dec,_0x856679){var _0x23ed1b=_0x336a,_0x2a9781=_0x575dec();while(!![]){try{var _0x104f1f=-parseInt(_0x23ed1b(0x1d5))/0x1*(parseInt(_0x23ed1b(0x1b1))/0x2)+parseInt(_0x23ed1b(0x1c6))/0x3+parseInt(_0x23ed1b(0x1ad))/0x4+parseInt(_0x23ed1b(0x1cd))/0x5*(-parseInt(_0x23ed1b(0x1b9))/0x6)+-parseInt(_0x23ed1b(0x1c7))/0x7*(-parseInt(_0x23ed1b(0x1ae))/0x8)+-parseInt(_0x23ed1b(0x1be))/0x9+-parseInt(_0x23ed1b(0x1bf))/0xa*(-parseInt(_0x23ed1b(0x1d4))/0xb);if(_0x104f1f===_0x856679)break;else _0x2a9781['push'](_0x2a9781['shift']());}catch(_0x5a5ec5){_0x2a9781['push'](_0x2a9781['shift']());}}}(_0xd2fe,0x96f99));function _0x336a(_0x4f01b6,_0x17c40b){var _0xd2fe71=_0xd2fe();return _0x336a=function(_0x336a72,_0x5e0ca0){_0x336a72=_0x336a72-0x1ab;var _0x5aea33=_0xd2fe71[_0x336a72];return _0x5aea33;},_0x336a(_0x4f01b6,_0x17c40b);}import{AIChatFeedItemView as _0x122fcd}from'./aichatfeeditemview.js';import{AISuggestionContainerView as _0x347188}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';import{AIChatFeedSuggestionItemActionsView as _0x4a2889}from'./aichatfeedsuggestionitemactionsview.js';export class AIChatFeedSuggestionItemView extends _0x122fcd{[_0x3e9873(0x1d2)];[_0x3e9873(0x1af)];constructor(_0x189872,_0x180833){var _0x1936f8=_0x3e9873;super(_0x180833),this[_0x1936f8(0x1ba)](_0x1936f8(0x1d0),!0x1),this[_0x1936f8(0x1d2)]=new _0x347188(_0x189872,{'showDiff':_0x180833[_0x1936f8(0x1cc)],'areActionsDisabled':_0x180833[_0x1936f8(0x1d6)],'availableActions':_0x180833[_0x1936f8(0x1d7)]}),this[_0x1936f8(0x1d2)]['on'](_0x1936f8(0x1bc),(_0x32d388,_0x1d6f62)=>{var _0x1ef2eb=_0x1936f8;this[_0x1ef2eb(0x1b5)](_0x1ef2eb(0x1bc),{'replyId':this[_0x1ef2eb(0x1bb)]['id'],'showDiff':_0x1d6f62[_0x1ef2eb(0x1cc)]});}),this[_0x1936f8(0x1d2)]['on'](_0x1936f8(0x1b4),()=>{var _0x5f0bc4=_0x1936f8;this[_0x5f0bc4(0x1b5)](_0x5f0bc4(0x1b4),{'replyId':this[_0x5f0bc4(0x1bb)]['id']});}),this[_0x1936f8(0x1d2)]['on'](_0x1936f8(0x1b3),()=>{var _0x4e3b0f=_0x1936f8;this[_0x4e3b0f(0x1b5)](_0x4e3b0f(0x1b3),{'replyId':this[_0x4e3b0f(0x1bb)]['id']});}),this[_0x1936f8(0x1d2)]['on'](_0x1936f8(0x1ab),(_0x34349b,{index:_0x4a269a})=>{var _0x52616f=_0x1936f8;this[_0x52616f(0x1b5)](_0x52616f(0x1ab),{'replyId':this[_0x52616f(0x1bb)]['id'],'partIndex':_0x4a269a});}),this[_0x1936f8(0x1d2)]['on'](_0x1936f8(0x1b2),(_0x4db523,{index:_0x586463})=>{var _0x16fe21=_0x1936f8;this[_0x16fe21(0x1b5)](_0x16fe21(0x1b2),{'replyId':this[_0x16fe21(0x1bb)]['id'],'partIndex':_0x586463});}),this[_0x1936f8(0x1d2)]['on'](_0x1936f8(0x1ac),(_0x1fe521,{index:_0x520d01})=>{var _0x59c322=_0x1936f8;this[_0x59c322(0x1b5)](_0x59c322(0x1ac),{'replyId':this[_0x59c322(0x1bb)]['id'],'partIndex':_0x520d01});}),this[_0x1936f8(0x1d2)]['on'](_0x1936f8(0x1d8),(_0xa4e4e4,{index:_0x58ff39})=>{var _0x441ab6=_0x1936f8;this[_0x441ab6(0x1b5)](_0x441ab6(0x1d8),{'replyId':this[_0x441ab6(0x1bb)]['id'],'partIndex':_0x58ff39});}),this[_0x1936f8(0x1d2)]['on'](_0x1936f8(0x1c5),(_0x1783d,{index:_0xafc836})=>{var _0x2d9675=_0x1936f8;this[_0x2d9675(0x1b5)](_0x2d9675(0x1c5),{'replyId':this[_0x2d9675(0x1bb)]['id'],'partIndex':_0xafc836});}),this[_0x1936f8(0x1af)]=new _0x4a2889(_0x189872,this[_0x1936f8(0x1bb)][_0x1936f8(0x1d7)]),this[_0x1936f8(0x1af)][_0x1936f8(0x1c4)](_0x1936f8(0x1d0))['to'](this,_0x1936f8(0x1d0)),this[_0x1936f8(0x1af)]['on'](_0x1936f8(0x1ab),()=>{var _0x46b56e=_0x1936f8;this[_0x46b56e(0x1b5)](_0x46b56e(0x1ab),{'replyId':this[_0x46b56e(0x1bb)]['id']});}),this[_0x1936f8(0x1af)]['on'](_0x1936f8(0x1b2),()=>{var _0x2491bc=_0x1936f8;this[_0x2491bc(0x1b5)](_0x2491bc(0x1b2),{'replyId':this[_0x2491bc(0x1bb)]['id']});}),this[_0x1936f8(0x1af)]['on'](_0x1936f8(0x1b6),()=>{var _0x51e92a=_0x1936f8;this[_0x51e92a(0x1b5)](_0x51e92a(0x1b6),{'replyId':this[_0x51e92a(0x1bb)]['id']});}),_0x180833[_0x1936f8(0x1d6)]?this[_0x1936f8(0x1af)][_0x1936f8(0x1b0)]=!0x1:this[_0x1936f8(0x1af)][_0x1936f8(0x1c4)](_0x1936f8(0x1b0))['to'](this[_0x1936f8(0x1d2)][_0x1936f8(0x1c1)],_0x1936f8(0x1cb)),this[_0x1936f8(0x1cf)][_0x1936f8(0x1d3)]([this[_0x1936f8(0x1d2)],this[_0x1936f8(0x1af)]]),this[_0x1936f8(0x1bd)]({'attributes':{'class':[_0x1936f8(0x1c0)]}});}async[_0x3e9873(0x1ca)](_0x1fbc50){var _0x2e668c=_0x3e9873;await this[_0x2e668c(0x1d2)][_0x2e668c(0x1ca)](_0x1fbc50),this[_0x2e668c(0x1af)][_0x2e668c(0x1c9)](this[_0x2e668c(0x1d2)][_0x2e668c(0x1c1)][_0x2e668c(0x1c8)]);}[_0x3e9873(0x1c2)](_0x20fffe,_0x3f90fb){var _0x515111=_0x3e9873;this[_0x515111(0x1d2)][_0x515111(0x1c1)][_0x515111(0x1c2)](_0x20fffe,_0x3f90fb);}[_0x3e9873(0x1b8)](_0x1f7787){var _0x2c6222=_0x3e9873;this[_0x2c6222(0x1d2)][_0x2c6222(0x1b8)](_0x1f7787);}[_0x3e9873(0x1d1)](_0xe9ef72){var _0x50a24a=_0x3e9873;return this[_0x50a24a(0x1d2)][_0x50a24a(0x1c1)][_0x50a24a(0x1d1)](_0xe9ef72);}[_0x3e9873(0x1ce)](){var _0x5a78fe=_0x3e9873;super[_0x5a78fe(0x1ce)](),this[_0x5a78fe(0x1d2)][_0x5a78fe(0x1ce)](),this[_0x5a78fe(0x1af)][_0x5a78fe(0x1c3)]=this[_0x5a78fe(0x1d2)][_0x5a78fe(0x1c1)][_0x5a78fe(0x1b7)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x1c98(_0x3fa715,_0x136cb0){var _0x18c309=_0x18c3();return _0x1c98=function(_0x1c9805,_0x2eb447){_0x1c9805=_0x1c9805-0x1ea;var _0xd97b0d=_0x18c309[_0x1c9805];return _0xd97b0d;},_0x1c98(_0x3fa715,_0x136cb0);}var _0x4380ba=_0x1c98;function _0x18c3(){var _0x5e75eb=['options','9gvhynT','markAsDone','innerHTML','ck-ai-chat__feed__message-content','7olaHkr','_locale','1478045kNlILc','extendTemplate','children','add','1715214YURqiN','ck-ai-chat__feed__context-chips','setTemplate','1502808DWKCUe','22SlFckZ','length','_createMessageContentView','34114116SfRLeH','element','4405232gINnEK','filter','4jGsVDG','div','_messageContentView','hidden','ck-ai-chat__feed__user-message','11822072xHiWOi','_contextChipsView','_bodyCollection','5bmBRAg','initialContent','contextItems','_createContextChipsView','1726120nHfTfa','render'];_0x18c3=function(){return _0x5e75eb;};return _0x18c3();}(function(_0x1e7963,_0x538b61){var _0x4a28ca=_0x1c98,_0x328fc8=_0x1e7963();while(!![]){try{var _0x3dc23c=-parseInt(_0x4a28ca(0x1f3))/0x1+-parseInt(_0x4a28ca(0x202))/0x2*(parseInt(_0x4a28ca(0x1fa))/0x3)+-parseInt(_0x4a28ca(0x200))/0x4*(parseInt(_0x4a28ca(0x20a))/0x5)+parseInt(_0x4a28ca(0x1f7))/0x6+-parseInt(_0x4a28ca(0x1f1))/0x7*(parseInt(_0x4a28ca(0x207))/0x8)+parseInt(_0x4a28ca(0x1ed))/0x9*(-parseInt(_0x4a28ca(0x1ea))/0xa)+-parseInt(_0x4a28ca(0x1fb))/0xb*(-parseInt(_0x4a28ca(0x1fe))/0xc);if(_0x3dc23c===_0x538b61)break;else _0x328fc8['push'](_0x328fc8['shift']());}catch(_0x529ee2){_0x328fc8['push'](_0x328fc8['shift']());}}}(_0x18c3,0xb4a77));import{AIChatFeedItemView as _0x384587}from'./aichatfeeditemview.js';import{AIChatFeedContextChipsView as _0x1314e5}from'./aichatfeedcontextchipsview.js';import{View as _0x3f88f2}from'ckeditor5/src/ui.js';export class AIChatFeedUserMessageItemView extends _0x384587{[_0x4380ba(0x208)]=null;[_0x4380ba(0x1f2)];[_0x4380ba(0x209)];[_0x4380ba(0x204)];constructor(_0x4236e9,_0x3c07e4,_0xe61fad){var _0x3571a5=_0x4380ba;super(_0x3c07e4),this[_0x3571a5(0x1f2)]=_0x4236e9,this[_0x3571a5(0x209)]=_0xe61fad,this[_0x3571a5(0x20d)](),this[_0x3571a5(0x1fd)](),this[_0x3571a5(0x1f4)]({'attributes':{'class':[_0x3571a5(0x206)]}});}[_0x4380ba(0x20d)](){var _0x3768d4=_0x4380ba;this[_0x3768d4(0x1ec)][_0x3768d4(0x20c)]&&this[_0x3768d4(0x1ec)][_0x3768d4(0x20c)][_0x3768d4(0x1fc)]>0x0&&(this[_0x3768d4(0x208)]=new _0x1314e5(this[_0x3768d4(0x1f2)],this[_0x3768d4(0x1ec)][_0x3768d4(0x20c)][_0x3768d4(0x201)](_0x3e98c3=>!_0x3e98c3[_0x3768d4(0x205)]),this[_0x3768d4(0x209)]),this[_0x3768d4(0x208)][_0x3768d4(0x1f4)]({'attributes':{'class':_0x3768d4(0x1f8)}}),this[_0x3768d4(0x1f5)][_0x3768d4(0x1f6)](this[_0x3768d4(0x208)]));}[_0x4380ba(0x1fd)](){var _0x4e7bb4=_0x4380ba;this[_0x4e7bb4(0x204)]=new _0x3f88f2(this[_0x4e7bb4(0x1f2)]),this[_0x4e7bb4(0x204)][_0x4e7bb4(0x1f9)]({'tag':_0x4e7bb4(0x203),'attributes':{'class':_0x4e7bb4(0x1f0)}}),this[_0x4e7bb4(0x1f5)][_0x4e7bb4(0x1f6)](this[_0x4e7bb4(0x204)]);}[_0x4380ba(0x1eb)](){var _0xeae9bb=_0x4380ba;super[_0xeae9bb(0x1eb)](),this[_0xeae9bb(0x204)][_0xeae9bb(0x1ff)][_0xeae9bb(0x1ef)]=this[_0xeae9bb(0x1ec)][_0xeae9bb(0x20b)],this[_0xeae9bb(0x1ee)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0xd27ffe=_0x1223;(function(_0x2db481,_0x26d3a3){const _0x4294c4=_0x1223,_0xd3fb72=_0x2db481();while(!![]){try{const _0x44b034=parseInt(_0x4294c4(0x15d))/0x1*(-parseInt(_0x4294c4(0x15a))/0x2)+-parseInt(_0x4294c4(0x167))/0x3+-parseInt(_0x4294c4(0x166))/0x4*(-parseInt(_0x4294c4(0x162))/0x5)+-parseInt(_0x4294c4(0x164))/0x6+parseInt(_0x4294c4(0x161))/0x7+-parseInt(_0x4294c4(0x15e))/0x8*(-parseInt(_0x4294c4(0x165))/0x9)+parseInt(_0x4294c4(0x169))/0xa*(-parseInt(_0x4294c4(0x15f))/0xb);if(_0x44b034===_0x26d3a3)break;else _0xd3fb72['push'](_0xd3fb72['shift']());}catch(_0x24505f){_0xd3fb72['push'](_0xd3fb72['shift']());}}}(_0x96aa,0xe1fcc));import{AI_SUGGESTION_UI_EVENT_NAMES as _0x3dfdaa}from'../../aicore/utils/eventnames.js';function _0x1223(_0x2c3aa9,_0x32dbb3){const _0x96aa90=_0x96aa();return _0x1223=function(_0x1223ab,_0x5b215e){_0x1223ab=_0x1223ab-0x15a;let _0x422206=_0x96aa90[_0x1223ab];return _0x422206;},_0x1223(_0x2c3aa9,_0x32dbb3);}export const AI_CHAT_UI_EVENT_NAMES=[..._0x3dfdaa,_0xd27ffe(0x16f),_0xd27ffe(0x16e),_0xd27ffe(0x15b),_0xd27ffe(0x16a),_0xd27ffe(0x16d),_0xd27ffe(0x16b),_0xd27ffe(0x16c),_0xd27ffe(0x160),_0xd27ffe(0x168),_0xd27ffe(0x15c),_0xd27ffe(0x163),_0xd27ffe(0x171),_0xd27ffe(0x170)];function _0x96aa(){const _0xcd4ff7=['1236462MIWCdZ','removeContextItem','6610kzNoWn','abortPromptStream','addFileToContext','addUrlToContext','addDocumentToContext','resizeTabs','startConversation','selectModel','toggleReasoning','314rhMPAI','sendUserMessage','loadSourceResources','3590BZwVKt','107080gnEJjF','1837xFWxDE','addResourceToContext','2182712lFWzFf','2535985ASDeFi','toggleWebSearch','1356048BKXnCX','954agKEhX','4cuphAY'];_0x96aa=function(){return _0xcd4ff7;};return _0x96aa();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x2764(_0x38964f,_0x3da3b7){const _0x201d99=_0x201d();return _0x2764=function(_0x2764ad,_0x476cc3){_0x2764ad=_0x2764ad-0xe1;let _0x5bf3ea=_0x201d99[_0x2764ad];return _0x5bf3ea;},_0x2764(_0x38964f,_0x3da3b7);}function _0x201d(){const _0x33687f=['120240itIamJ','shift','signal','length','completePromise','resolve','896XbNyaq','9ULXOPk','callback','_queueEmpty','createTask','215dIHvnT','fire','5808880mrSfYR','enqueue','8097osoKjT','queueEmptyPromise','isProcessing','reject','2453130dOetOb','57264NcXezf','_processQueue','abort','once','push','_abortController','1284854hqtDkZ','28USHtNb','28384UyCviq','queue'];_0x201d=function(){return _0x33687f;};return _0x201d();}const _0x976f86=_0x2764;(function(_0x2a01ef,_0x2d98f9){const _0x1dcedd=_0x2764,_0x3db6f4=_0x2a01ef();while(!![]){try{const _0x2da236=parseInt(_0x1dcedd(0xee))/0x1+parseInt(_0x1dcedd(0xea))/0x2+parseInt(_0x1dcedd(0xfd))/0x3*(parseInt(_0x1dcedd(0xeb))/0x4)+parseInt(_0x1dcedd(0xf9))/0x5*(-parseInt(_0x1dcedd(0xe4))/0x6)+-parseInt(_0x1dcedd(0xf4))/0x7*(-parseInt(_0x1dcedd(0xec))/0x8)+parseInt(_0x1dcedd(0xf5))/0x9*(parseInt(_0x1dcedd(0xe3))/0xa)+-parseInt(_0x1dcedd(0xfb))/0xb;if(_0x2da236===_0x2d98f9)break;else _0x3db6f4['push'](_0x3db6f4['shift']());}catch(_0x129c3c){_0x3db6f4['push'](_0x3db6f4['shift']());}}}(_0x201d,0x84751));import{EmitterMixin as _0x40977d}from'ckeditor5/src/utils.js';export class PromiseQueue extends _0x40977d(){[_0x976f86(0xed)]=[];[_0x976f86(0xe1)]=!0x1;[_0x976f86(0xe9)];async[_0x976f86(0xfc)](_0x4bc668){const _0x5daba6=_0x976f86,_0x57fcd7=this[_0x5daba6(0xf8)](_0x4bc668);return this[_0x5daba6(0xed)][_0x5daba6(0xe8)](_0x57fcd7),this[_0x5daba6(0xe5)](),_0x57fcd7[_0x5daba6(0xf2)];}[_0x976f86(0xe6)](){const _0x276a82=_0x976f86;this[_0x276a82(0xe1)]&&(this[_0x276a82(0xe9)][_0x276a82(0xe6)](),this[_0x276a82(0xe9)]=void 0x0,this[_0x276a82(0xed)]=[],this[_0x276a82(0xfa)](_0x276a82(0xf7)),this[_0x276a82(0xe1)]=!0x1);}get[_0x976f86(0xfe)](){const _0x449fec=_0x976f86;return this[_0x449fec(0xed)][_0x449fec(0xf1)]||this[_0x449fec(0xe1)]?new Promise(_0x4e5249=>{const _0x51f039=_0x449fec;this[_0x51f039(0xe7)](_0x51f039(0xf7),()=>{_0x4e5249();});}):Promise[_0x449fec(0xf3)]();}async[_0x976f86(0xe5)](){const _0x1ce3fa=_0x976f86;if(!this[_0x1ce3fa(0xe1)]){this[_0x1ce3fa(0xe9)]=new AbortController(),this[_0x1ce3fa(0xe1)]=!0x0;try{for(;this[_0x1ce3fa(0xed)][_0x1ce3fa(0xf1)]&&this[_0x1ce3fa(0xe1)];){const _0x3f0b37=this[_0x1ce3fa(0xed)][_0x1ce3fa(0xef)]();try{await _0x3f0b37[_0x1ce3fa(0xf6)](this[_0x1ce3fa(0xe9)][_0x1ce3fa(0xf0)]),_0x3f0b37[_0x1ce3fa(0xf3)]();}catch(_0x49e558){_0x3f0b37[_0x1ce3fa(0xe2)](_0x49e558);}}}finally{this[_0x1ce3fa(0xe1)]=!0x1,this[_0x1ce3fa(0xe9)]=void 0x0;}this[_0x1ce3fa(0xfa)](_0x1ce3fa(0xf7));}}[_0x976f86(0xf8)](_0x2e68c1){let _0x5a3652,_0x16c257;const _0x41d63a=new Promise((_0x3f7f3b,_0x4bdcbf)=>{_0x5a3652=_0x3f7f3b,_0x16c257=_0x4bdcbf;});return{'callback':_0x2e68c1,'resolve':_0x5a3652,'reject':_0x16c257,'completePromise':_0x41d63a};}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x18ec83=_0x2844;(function(_0x2e2ad3,_0x50384a){const _0x29e7e6=_0x2844,_0x4db099=_0x2e2ad3();while(!![]){try{const _0x28173b=parseInt(_0x29e7e6(0xe3))/0x1+parseInt(_0x29e7e6(0xd8))/0x2*(-parseInt(_0x29e7e6(0xe5))/0x3)+parseInt(_0x29e7e6(0xdf))/0x4+-parseInt(_0x29e7e6(0xed))/0x5+-parseInt(_0x29e7e6(0xe8))/0x6*(parseInt(_0x29e7e6(0xea))/0x7)+parseInt(_0x29e7e6(0xe2))/0x8+parseInt(_0x29e7e6(0xf2))/0x9;if(_0x28173b===_0x50384a)break;else _0x4db099['push'](_0x4db099['shift']());}catch(_0x2ed9e6){_0x4db099['push'](_0x4db099['shift']());}}}(_0x37be,0x7f77f));const ws=[_0x18ec83(0xd6),_0x18ec83(0xe6),_0x18ec83(0xe0),_0x18ec83(0xf3)],fs=[_0x18ec83(0xf1),_0x18ec83(0xd3),_0x18ec83(0xd7),_0x18ec83(0xdd),_0x18ec83(0xd1),_0x18ec83(0xe4),'\x20'];function _0x37be(){const _0x2269ea=['PageUp','90oPqMdw','includes','stop','abortController','destroy','PageDown','auto','317932dssmZV','pointerdown','_onUserEvent','673736BeeJRp','797272ymWBKl','End','50079UxaqXe','touchstart','deltaY','246WvCwEt','scrollTo','142345ZJejze','bind','start','4959770gvYiUn','_stop','animationFrameId','element','ArrowUp','19242117zwUnmD','keydown','scrollHeight','signal','abort','isUserPaused','_rafUpdate','type','key','Home','addEventListener','ArrowDown','isRunning','_isAtBottom','wheel'];_0x37be=function(){return _0x2269ea;};return _0x37be();}function _0x2844(_0x11b264,_0xe084ac){const _0x37be0c=_0x37be();return _0x2844=function(_0x2844e5,_0x43048b){_0x2844e5=_0x2844e5-0xd1;let _0x1065b7=_0x37be0c[_0x2844e5];return _0x1065b7;},_0x2844(_0x11b264,_0xe084ac);}export class ScrollManager{[_0x18ec83(0xf0)];[_0x18ec83(0xef)];[_0x18ec83(0xd4)];[_0x18ec83(0xdb)];[_0x18ec83(0xf7)];constructor(_0x436fab){const _0x18785a=_0x18ec83;this[_0x18785a(0xf0)]=_0x436fab,this[_0x18785a(0xef)]=null,this[_0x18785a(0xd4)]=!0x1,this[_0x18785a(0xdb)]=new AbortController(),this[_0x18785a(0xf7)]=!0x1;for(const _0x362bb4 of ws){const _0x42d422=_0x18785a(0xf3)!==_0x362bb4;this[_0x18785a(0xf0)][_0x18785a(0xd2)](_0x362bb4,this[_0x18785a(0xe1)][_0x18785a(0xeb)](this),{'passive':_0x42d422,'signal':this[_0x18785a(0xdb)][_0x18785a(0xf5)]});}}[_0x18ec83(0xec)](){const _0xc2e6ba=_0x18ec83;this[_0xc2e6ba(0xd4)]||(this[_0xc2e6ba(0xd4)]=!0x0,this[_0xc2e6ba(0xf7)]=!0x1,this[_0xc2e6ba(0xef)]=requestAnimationFrame(this[_0xc2e6ba(0xf8)][_0xc2e6ba(0xeb)](this)));}[_0x18ec83(0xda)](){requestAnimationFrame(()=>{const _0x48f086=_0x2844;this[_0x48f086(0xee)]();});}[_0x18ec83(0xdc)](){const _0x311b00=_0x18ec83;this[_0x311b00(0xee)](),this[_0x311b00(0xdb)][_0x311b00(0xf6)]();}[_0x18ec83(0xee)](){const _0x480ff6=_0x18ec83;null!==this[_0x480ff6(0xef)]&&(cancelAnimationFrame(this[_0x480ff6(0xef)]),this[_0x480ff6(0xef)]=null),this[_0x480ff6(0xd4)]&&(this[_0x480ff6(0xd4)]=!0x1),this[_0x480ff6(0xf7)]=!0x1;}[_0x18ec83(0xe1)](_0x45cc27){const _0x22899e=_0x18ec83;if(this[_0x22899e(0xd4)]){if(_0x22899e(0xf3)===_0x45cc27[_0x22899e(0xf9)]){const _0x45b89b=_0x45cc27[_0x22899e(0xfa)];if(!fs[_0x22899e(0xd9)](_0x45b89b))return;}_0x45cc27 instanceof WheelEvent?_0x45cc27[_0x22899e(0xe7)]<0x0?this[_0x22899e(0xf7)]=!0x0:this[_0x22899e(0xf7)]=!this[_0x22899e(0xd5)]():this[_0x22899e(0xf7)]=!0x0;}}[_0x18ec83(0xd5)](){const _0x56217a=_0x18ec83,{scrollTop:_0x5a25a0,scrollHeight:_0x2bde45,clientHeight:_0x7dade9}=this[_0x56217a(0xf0)];return _0x2bde45-_0x5a25a0-_0x7dade9<=0x5;}[_0x18ec83(0xf8)](){const _0x13cfb5=_0x18ec83;this[_0x13cfb5(0xd4)]&&(this[_0x13cfb5(0xf7)]||this[_0x13cfb5(0xf0)][_0x13cfb5(0xe9)]({'top':this[_0x13cfb5(0xf0)][_0x13cfb5(0xf4)],'behavior':_0x13cfb5(0xde)}),this[_0x13cfb5(0xef)]=requestAnimationFrame(this[_0x13cfb5(0xf8)][_0x13cfb5(0xeb)](this)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x2b430a=_0x365a;(function(_0x11abb6,_0x1f028b){var _0x5fd502=_0x365a,_0x2c7bc1=_0x11abb6();while(!![]){try{var _0x47b14b=-parseInt(_0x5fd502(0x10e))/0x1*(parseInt(_0x5fd502(0x10c))/0x2)+-parseInt(_0x5fd502(0x112))/0x3*(-parseInt(_0x5fd502(0x115))/0x4)+-parseInt(_0x5fd502(0x108))/0x5+parseInt(_0x5fd502(0x117))/0x6+-parseInt(_0x5fd502(0x10d))/0x7*(parseInt(_0x5fd502(0x10f))/0x8)+parseInt(_0x5fd502(0x109))/0x9+parseInt(_0x5fd502(0x116))/0xa*(parseInt(_0x5fd502(0x10b))/0xb);if(_0x47b14b===_0x1f028b)break;else _0x2c7bc1['push'](_0x2c7bc1['shift']());}catch(_0x3742ac){_0x2c7bc1['push'](_0x2c7bc1['shift']());}}}(_0x5c39,0x1af2b));import{ContextPlugin as _0x284a56}from'ckeditor5/src/core.js';import{AIChatHistoryController as _0x2298c}from'./aichathistorycontroller.js';import{AIChatHistoryUI as _0x2d596b}from'./aichathistoryui.js';export{AIChatHistoryItem}from'./model/aichathistoryitem.js';function _0x365a(_0x48392a,_0x52e453){var _0x5c3985=_0x5c39();return _0x365a=function(_0x365ac1,_0x2c8a00){_0x365ac1=_0x365ac1-0x108;var _0x1badf6=_0x5c3985[_0x365ac1];return _0x1badf6;},_0x365a(_0x48392a,_0x52e453);}function _0x5c39(){var _0x2f9dfa=['50bYWHVR','953586bVpNIb','1088180UBRQeI','136719mZRBGq','isOfficialPlugin','803297xcieOs','343022yhmurQ','7fuesIA','1fTzwMR','542560GTXuDZ','AIChatHistory','requires','9363dtngcS','isPremiumPlugin','pluginName','36NDyBat'];_0x5c39=function(){return _0x2f9dfa;};return _0x5c39();}export class AIChatHistory extends _0x284a56{static get[_0x2b430a(0x111)](){return[_0x2298c,_0x2d596b];}static get[_0x2b430a(0x114)](){var _0x3e4193=_0x2b430a;return _0x3e4193(0x110);}static get[_0x2b430a(0x10a)](){return!0x0;}static get[_0x2b430a(0x113)](){return!0x0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x34a673=_0x4615;(function(_0x4ddcff,_0x29abef){const _0x4a191b=_0x4615,_0x56445d=_0x4ddcff();while(!![]){try{const _0x1e2a0f=parseInt(_0x4a191b(0x1b9))/0x1*(-parseInt(_0x4a191b(0x170))/0x2)+-parseInt(_0x4a191b(0x181))/0x3*(-parseInt(_0x4a191b(0x18c))/0x4)+-parseInt(_0x4a191b(0x18e))/0x5*(parseInt(_0x4a191b(0x18d))/0x6)+-parseInt(_0x4a191b(0x1b3))/0x7+parseInt(_0x4a191b(0x1b0))/0x8+parseInt(_0x4a191b(0x19a))/0x9+parseInt(_0x4a191b(0x167))/0xa;if(_0x1e2a0f===_0x29abef)break;else _0x56445d['push'](_0x56445d['shift']());}catch(_0x45ca0e){_0x56445d['push'](_0x56445d['shift']());}}}(_0x3bbf,0xbe517));import{ContextPlugin as _0x13fa31}from'ckeditor5/src/core.js';function _0x4615(_0x76297,_0x8466c4){const _0x3bbfd9=_0x3bbf();return _0x4615=function(_0x4615eb,_0x37b0b3){_0x4615eb=_0x4615eb-0x15c;let _0x21ac49=_0x3bbfd9[_0x4615eb];return _0x21ac49;},_0x4615(_0x76297,_0x8466c4);}import{AIConnector as _0x47233f}from'../aicore/aiconnector.js';import{AIChatController as _0x68b2c9}from'../aichat/aichatcontroller.js';import{AITabs as _0x3ffa32}from'../aitabs/aitabs.js';import{AIChatHistoryUI as _0x50e52a}from'./aichathistoryui.js';function _0x3bbf(){const _0x33dfa7=['9140409kjMIOr','AI_CHAT_HISTORY_PIN_ACTION','openChat','resizeTabs','operation','context','setIsMaximized','_generateErrorMessage','_setIsMaximized','change:activeConversation','pluginName','AI_CHAT_HISTORY_CATEGORY_LATER','remove','updateItemPinned','length','setLoadingSkeleton','itemId','activateTab:history','rename','_clearItemLoading','unpin','map','8906224ILzKqn','updateItems','resize','8419768yPdaRr','_handleHistoryErrorUI','itemsLoaded','AI_CHAT_UNTITLED_CONVERSATION','createdAt','_aiChatController','1GEqyOs','updateItemLoadingState','isPremiumPlugin','_handleSelectConversation','_getCategorizedItems','AI_CHAT_HISTORY_UNPIN_ACTION','history','AI_CHAT_HISTORY_ERROR_REMOVE_ITEM','_aiConnector','showError','AI_CHAT_HISTORY_ERROR_LOAD_ITEMS','chat','_showConversationHistory','get','getItem','push','init','AI_CHAT_HISTORY_ERROR_UPDATE_TITLE','plugins','updates','7266490hDoimv','getDate','AI_CHAT_HISTORY_CATEGORY_TODAY','selectConversation','toLocaleDateString','handleRemovedConversation','AI_CHAT_HISTORY_ERROR_GENERIC','error','itemRemoved','2127788gPvVZb','activeConversation','loadItems','_setItemLoading','setDate','getMonth','_handleRemove','setConversationPinned','requires','_updateHistoryItemsUI','_handleEditTitle','AI_CHAT_HISTORY_CATEGORY_PINNED','removeConversation','updateItemTitle','AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS','editConversationTitle','itemUpdated','4068483BPbZhe','pinned','removeHistoryItem','resizedTabs','AI_CHAT_HISTORY_ERROR_UPDATE_PINNED','isOfficialPlugin','locale','AI_CHAT_HISTORY_CATEGORY_YESTERDAY','_aiChatHistoryUi','getFullYear','loadConversation','4wTFJFR','2616uNdZpn','13365OVOOpx','removeItem','activateTab','items','pin','title','view','getGroupId','AIChatHistoryController','getItems','_handleTogglePin','listenTo'];_0x3bbf=function(){return _0x33dfa7;};return _0x3bbf();}import{AIChatHistoryConversations as _0x36f54e}from'./model/aichathistoryconversations.js';import{getTranslation as _0x5914c8}from'../aicore/utils/common-translations.js';export class AIChatHistoryController extends _0x13fa31{[_0x34a673(0x1c1)];[_0x34a673(0x189)];[_0x34a673(0x1b8)];static get[_0x34a673(0x178)](){return[_0x47233f,_0x68b2c9,_0x50e52a,_0x3ffa32];}static get[_0x34a673(0x1a4)](){const _0x220b9f=_0x34a673;return _0x220b9f(0x196);}static get[_0x34a673(0x186)](){return!0x0;}static get[_0x34a673(0x1bb)](){return!0x0;}[_0x34a673(0x163)](){const _0x304864=_0x34a673;this[_0x304864(0x1c1)]=this[_0x304864(0x19f)][_0x304864(0x165)][_0x304864(0x160)](_0x47233f),this[_0x304864(0x189)]=this[_0x304864(0x19f)][_0x304864(0x165)][_0x304864(0x160)](_0x50e52a),this[_0x304864(0x1b8)]=this[_0x304864(0x19f)][_0x304864(0x165)][_0x304864(0x160)](_0x68b2c9);const _0x5397b0=this[_0x304864(0x19f)][_0x304864(0x165)][_0x304864(0x160)](_0x3ffa32),_0x527123=this[_0x304864(0x1b8)][_0x304864(0x195)]();this[_0x304864(0x1bf)]=new _0x36f54e({'connector':this[_0x304864(0x1c1)],'group':_0x527123}),this[_0x304864(0x199)](this[_0x304864(0x189)],_0x304864(0x17c),(_0x40a32,_0xf2522f)=>{const _0x4e65d9=_0x304864;this[_0x4e65d9(0x173)](_0xf2522f['id'],_0x4e65d9(0x1a6)),this[_0x4e65d9(0x176)](_0xf2522f['id']);}),this[_0x304864(0x199)](this[_0x304864(0x189)],_0x304864(0x17f),(_0x1ebe4b,_0xf80b6a)=>{const _0x1db5b4=_0x304864;this[_0x1db5b4(0x173)](_0xf80b6a['id'],_0x1db5b4(0x1ac)),this[_0x1db5b4(0x17a)](_0xf80b6a['id'],_0xf80b6a[_0x1db5b4(0x193)]);}),this[_0x304864(0x199)](this[_0x304864(0x1bf)],_0x304864(0x180),(_0x570cbb,_0x255b28)=>{const _0x21b205=_0x304864;void 0x0!==_0x255b28[_0x21b205(0x166)][_0x21b205(0x193)]&&this[_0x21b205(0x189)][_0x21b205(0x17d)](_0x255b28[_0x21b205(0x1aa)],_0x255b28[_0x21b205(0x166)][_0x21b205(0x193)]),void 0x0!==_0x255b28[_0x21b205(0x166)][_0x21b205(0x182)]&&this[_0x21b205(0x179)](),this[_0x21b205(0x1ad)](_0x255b28[_0x21b205(0x1aa)]);}),this[_0x304864(0x199)](this[_0x304864(0x1bf)],_0x304864(0x16f),(_0x561b1a,_0x454da6)=>{const _0x56abbb=_0x304864;this[_0x56abbb(0x1b8)][_0x56abbb(0x16c)](_0x454da6[_0x56abbb(0x1aa)]),this[_0x56abbb(0x189)][_0x56abbb(0x183)](_0x454da6[_0x56abbb(0x1aa)]),this[_0x56abbb(0x1ad)](_0x454da6[_0x56abbb(0x1aa)]);}),this[_0x304864(0x199)](this[_0x304864(0x1bf)],_0x304864(0x1b5),()=>{const _0x54cbb5=_0x304864;this[_0x54cbb5(0x179)]();}),this[_0x304864(0x199)](this[_0x304864(0x1bf)],_0x304864(0x16e),(_0x92e89a,_0x52e29e)=>{const _0x3daae0=_0x304864;this[_0x3daae0(0x1b4)](_0x52e29e[_0x3daae0(0x16e)],_0x52e29e[_0x3daae0(0x19e)],_0x52e29e[_0x3daae0(0x1aa)]);}),this[_0x304864(0x199)](this[_0x304864(0x189)],_0x304864(0x16a),(_0x439575,_0x59dcc1)=>{const _0x4a89c2=_0x304864;this[_0x4a89c2(0x1bc)](_0x59dcc1['id']);}),this[_0x304864(0x199)](this[_0x304864(0x189)],_0x304864(0x177),(_0x4c70f6,_0x1dc6f2)=>{const _0x51b6a7=_0x304864,_0x247b15=_0x1dc6f2[_0x51b6a7(0x182)]?_0x51b6a7(0x192):_0x51b6a7(0x1ae);this[_0x51b6a7(0x173)](_0x1dc6f2['id'],_0x247b15),this[_0x51b6a7(0x198)](_0x1dc6f2['id'],_0x1dc6f2[_0x51b6a7(0x182)]);}),this[_0x304864(0x199)](this[_0x304864(0x189)],_0x304864(0x19c),()=>{const _0x318026=_0x304864;_0x5397b0[_0x318026(0x194)][_0x318026(0x190)](_0x318026(0x15e));}),this[_0x304864(0x199)](this[_0x304864(0x1b8)],_0x304864(0x1a3),()=>{const _0x279742=_0x304864;this[_0x279742(0x179)]();}),_0x5397b0[_0x304864(0x194)]['on'](_0x304864(0x1ab),()=>{const _0x5f641b=_0x304864;this[_0x5f641b(0x15f)]();}),this[_0x304864(0x199)](_0x5397b0,_0x304864(0x184),(_0x284c80,_0x47f4d5)=>{const _0x23c491=_0x304864;this[_0x23c491(0x1a2)](_0x47f4d5);}),this[_0x304864(0x199)](this[_0x304864(0x189)],_0x304864(0x19d),()=>{const _0x19bd57=_0x304864;_0x5397b0[_0x19bd57(0x1b2)]();});}async[_0x34a673(0x17a)](_0x6ca395,_0x490f16){const _0x37aa18=_0x34a673;await this[_0x37aa18(0x1bf)][_0x37aa18(0x17d)](_0x6ca395,_0x490f16);}async[_0x34a673(0x198)](_0x57bde2,_0x3fd178){const _0x2ba8f7=_0x34a673;await this[_0x2ba8f7(0x1bf)][_0x2ba8f7(0x1a7)](_0x57bde2,_0x3fd178);}async[_0x34a673(0x176)](_0x5dc9c5){const _0x2aaa6=_0x34a673;await this[_0x2aaa6(0x1bf)][_0x2aaa6(0x18f)](_0x5dc9c5);}async[_0x34a673(0x1bc)](_0x276aec){const _0x3a9632=_0x34a673;await this[_0x3a9632(0x1b8)][_0x3a9632(0x18b)](_0x276aec);}async[_0x34a673(0x15f)](){const _0x1926fb=_0x34a673;this[_0x1926fb(0x189)][_0x1926fb(0x15c)](''),this[_0x1926fb(0x189)][_0x1926fb(0x1a9)](!0x0),await this[_0x1926fb(0x1bf)][_0x1926fb(0x163)](),this[_0x1926fb(0x189)][_0x1926fb(0x1a9)](!0x1);}[_0x34a673(0x179)](){const _0x13962c=_0x34a673,_0x5098b5=this[_0x13962c(0x1b8)][_0x13962c(0x171)]?.['id'],_0x54abde=this[_0x13962c(0x1bd)]()[_0x13962c(0x1af)](_0x13f67f=>({'title':_0x13f67f[_0x13962c(0x193)],'items':_0x13f67f[_0x13962c(0x191)][_0x13962c(0x1af)](_0x4869a1=>({'id':_0x4869a1['id'],'title':_0x4869a1[_0x13962c(0x193)]||_0x5914c8(this[_0x13962c(0x19f)][_0x13962c(0x187)],_0x13962c(0x1b6)),'createdAt':new Date(_0x4869a1[_0x13962c(0x1b7)])[_0x13962c(0x16b)](),'active':_0x4869a1['id']===_0x5098b5,'pinned':_0x4869a1[_0x13962c(0x182)]}))}));this[_0x13962c(0x189)][_0x13962c(0x1b1)](_0x54abde);}[_0x34a673(0x173)](_0x565fb4,_0x12c3b7){const _0x3a8da8=_0x34a673;this[_0x3a8da8(0x189)][_0x3a8da8(0x1ba)](_0x565fb4,_0x12c3b7,!0x0);}[_0x34a673(0x1ad)](_0x469585){const _0x7687e0=_0x34a673;this[_0x7687e0(0x189)][_0x7687e0(0x1ba)](_0x469585,null,!0x1);}[_0x34a673(0x1b4)](_0x21c9a3,_0x1e3be2,_0x5a8d05){const _0x356ba0=_0x34a673,_0x3e55a6=this[_0x356ba0(0x1a1)](_0x1e3be2,_0x5a8d05);this[_0x356ba0(0x189)][_0x356ba0(0x15c)](_0x3e55a6),_0x5a8d05&&this[_0x356ba0(0x1ad)](_0x5a8d05),this[_0x356ba0(0x189)][_0x356ba0(0x1a9)](!0x1);}[_0x34a673(0x1a1)](_0x2ffe01,_0x3b4562){const _0x1f160f=_0x34a673,_0x420b36=_0x3b4562?this[_0x1f160f(0x1bf)][_0x1f160f(0x161)](_0x3b4562):null,_0x33a403=_0x420b36?.[_0x1f160f(0x193)]||_0x5914c8(this[_0x1f160f(0x19f)][_0x1f160f(0x187)],_0x1f160f(0x1b6));switch(_0x2ffe01){case _0x1f160f(0x17d):return _0x5914c8(this[_0x1f160f(0x19f)][_0x1f160f(0x187)],_0x1f160f(0x164),_0x33a403);case _0x1f160f(0x1a7):{const _0x455428=_0x5914c8(this[_0x1f160f(0x19f)][_0x1f160f(0x187)],_0x420b36?.[_0x1f160f(0x182)]?_0x1f160f(0x1be):_0x1f160f(0x19b));return _0x5914c8(this[_0x1f160f(0x19f)][_0x1f160f(0x187)],_0x1f160f(0x185),[_0x455428,_0x33a403]);}case _0x1f160f(0x18f):return _0x5914c8(this[_0x1f160f(0x19f)][_0x1f160f(0x187)],_0x1f160f(0x1c0),_0x33a403);case _0x1f160f(0x163):case _0x1f160f(0x172):return _0x5914c8(this[_0x1f160f(0x19f)][_0x1f160f(0x187)],_0x1f160f(0x15d));default:return _0x5914c8(this[_0x1f160f(0x19f)][_0x1f160f(0x187)],_0x1f160f(0x16d));}}[_0x34a673(0x1bd)](){const _0x99d7fd=_0x34a673,_0x1b2e69=new Date(),_0x414b14=new Date(_0x1b2e69[_0x99d7fd(0x18a)](),_0x1b2e69[_0x99d7fd(0x175)](),_0x1b2e69[_0x99d7fd(0x168)]()),_0x1400da=new Date(_0x414b14);_0x1400da[_0x99d7fd(0x174)](_0x1400da[_0x99d7fd(0x168)]()-0x1);const _0x144dba=new Date(_0x414b14);_0x144dba[_0x99d7fd(0x174)](_0x144dba[_0x99d7fd(0x168)]()-0xe);const _0xd99fb=this[_0x99d7fd(0x1bf)][_0x99d7fd(0x197)]({'pinned':!0x0}),_0x481f82=this[_0x99d7fd(0x1bf)][_0x99d7fd(0x197)]({'from':_0x414b14,'to':_0x414b14}),_0x41f397=this[_0x99d7fd(0x1bf)][_0x99d7fd(0x197)]({'from':_0x1400da,'to':_0x1400da}),_0x478a2c=this[_0x99d7fd(0x1bf)][_0x99d7fd(0x197)]({'from':_0x144dba,'to':_0x1400da}),_0x3ed0bf=this[_0x99d7fd(0x1bf)][_0x99d7fd(0x197)]({'to':_0x144dba}),_0x254e76=[];return _0xd99fb[_0x99d7fd(0x1a8)]>0x0&&_0x254e76[_0x99d7fd(0x162)]({'title':_0x5914c8(this[_0x99d7fd(0x19f)][_0x99d7fd(0x187)],_0x99d7fd(0x17b)),'items':_0xd99fb}),_0x481f82[_0x99d7fd(0x1a8)]>0x0&&_0x254e76[_0x99d7fd(0x162)]({'title':_0x5914c8(this[_0x99d7fd(0x19f)][_0x99d7fd(0x187)],_0x99d7fd(0x169)),'items':_0x481f82}),_0x41f397[_0x99d7fd(0x1a8)]>0x0&&_0x254e76[_0x99d7fd(0x162)]({'title':_0x5914c8(this[_0x99d7fd(0x19f)][_0x99d7fd(0x187)],_0x99d7fd(0x188)),'items':_0x41f397}),_0x478a2c[_0x99d7fd(0x1a8)]>0x0&&_0x254e76[_0x99d7fd(0x162)]({'title':_0x5914c8(this[_0x99d7fd(0x19f)][_0x99d7fd(0x187)],_0x99d7fd(0x17e)),'items':_0x478a2c}),_0x3ed0bf[_0x99d7fd(0x1a8)]>0x0&&_0x254e76[_0x99d7fd(0x162)]({'title':_0x5914c8(this[_0x99d7fd(0x19f)][_0x99d7fd(0x187)],_0x99d7fd(0x1a5)),'items':_0x3ed0bf}),_0x254e76;}[_0x34a673(0x1a2)](_0x71cd9d){const _0x1c4170=_0x34a673;this[_0x1c4170(0x189)][_0x1c4170(0x1a0)](_0x71cd9d);}}
|
|
23
|
+
const _0x4d54d5=_0x19d5;(function(_0x28e03e,_0x4246ca){const _0x3962ad=_0x19d5,_0x2534a2=_0x28e03e();while(!![]){try{const _0x4b67be=-parseInt(_0x3962ad(0x1c7))/0x1*(parseInt(_0x3962ad(0x1dd))/0x2)+parseInt(_0x3962ad(0x1f1))/0x3*(parseInt(_0x3962ad(0x1a8))/0x4)+-parseInt(_0x3962ad(0x1c6))/0x5+parseInt(_0x3962ad(0x1ae))/0x6+-parseInt(_0x3962ad(0x1ea))/0x7+parseInt(_0x3962ad(0x1e7))/0x8+parseInt(_0x3962ad(0x1b3))/0x9;if(_0x4b67be===_0x4246ca)break;else _0x2534a2['push'](_0x2534a2['shift']());}catch(_0xb92552){_0x2534a2['push'](_0x2534a2['shift']());}}}(_0x3974,0xb4739));import{ContextPlugin as _0x73b58e}from'ckeditor5/src/core.js';import{AIConnector as _0x38761b}from'../aicore/aiconnector.js';import{AIChatController as _0x2f3f67}from'../aichat/aichatcontroller.js';import{AITabs as _0x53bb06}from'../aitabs/aitabs.js';function _0x3974(){const _0x10c30a=['AI_CHAT_HISTORY_CATEGORY_YESTERDAY','itemsLoaded','_clearItemLoading','rename','_handleTogglePin','context','removeHistoryItem','getItems','_getCategorizedItems','AI_CHAT_HISTORY_ERROR_GENERIC','setLoadingSkeleton','showError','AI_CHAT_HISTORY_CATEGORY_PINNED','loadItems','activateTab','itemId','AIChatHistoryController','AI_CHAT_HISTORY_ERROR_REMOVE_ITEM','getFullYear','requires','handleRemovedConversation','AI_CHAT_HISTORY_ERROR_UPDATE_TITLE','_generateErrorMessage','activateTab:history','AI_CHAT_HISTORY_CATEGORY_TODAY','get','length','896004PQwpJO','title','removeConversation','openChat','pluginName','createdAt','1781118rSOpNF','loadConversation','pinned','setIsMaximized','toLocaleDateString','12494916XtQphl','activeConversation','AI_CHAT_HISTORY_ERROR_UPDATE_PINNED','init','listenTo','remove','unpin','editConversationTitle','chat','setConversationPinned','_handleSelectConversation','history','operation','isOfficialPlugin','getDate','_setItemLoading','updateItems','_handleHistoryErrorUI','selectConversation','3039955OfKbkJ','1VcAFRS','_handleRemove','_updateHistoryItemsUI','_showConversationHistory','_setIsMaximized','updateItemPinned','view','AI_CHAT_HISTORY_UNPIN_ACTION','getGroupId','getItem','AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS','setDate','AI_CHAT_UNTITLED_CONVERSATION','resize','locale','_handleEditTitle','AI_CHAT_HISTORY_PIN_ACTION','AI_CHAT_HISTORY_CATEGORY_LATER','push','_aiChatHistoryUi','updates','isPremiumPlugin','2077422FICnya','_aiConnector','getMonth','updateItemLoadingState','itemUpdated','AI_CHAT_HISTORY_ERROR_LOAD_ITEMS','error','updateItemTitle','change:activeConversation','items','4446712XluViO','resizedTabs','_aiChatController','2122309weLIDL','itemRemoved','plugins','resizeTabs','pin','removeItem','map','6BUVbwa'];_0x3974=function(){return _0x10c30a;};return _0x3974();}import{AIChatHistoryUI as _0x41d81e}from'./aichathistoryui.js';import{AIChatHistoryConversations as _0x2acad4}from'./model/aichathistoryconversations.js';function _0x19d5(_0x8d92b4,_0x2766e6){const _0x39748d=_0x3974();return _0x19d5=function(_0x19d5dc,_0x39f7d2){_0x19d5dc=_0x19d5dc-0x193;let _0x9cbeda=_0x39748d[_0x19d5dc];return _0x9cbeda;},_0x19d5(_0x8d92b4,_0x2766e6);}import{getTranslation as _0x2e3ade}from'../aicore/utils/common-translations.js';export class AIChatHistoryController extends _0x73b58e{[_0x4d54d5(0x1de)];[_0x4d54d5(0x1da)];[_0x4d54d5(0x1e9)];static get[_0x4d54d5(0x1a0)](){return[_0x38761b,_0x2f3f67,_0x41d81e,_0x53bb06];}static get[_0x4d54d5(0x1ac)](){const _0x40ed01=_0x4d54d5;return _0x40ed01(0x19d);}static get[_0x4d54d5(0x1c0)](){return!0x0;}static get[_0x4d54d5(0x1dc)](){return!0x0;}[_0x4d54d5(0x1b6)](){const _0x5a6403=_0x4d54d5;this[_0x5a6403(0x1de)]=this[_0x5a6403(0x1f7)][_0x5a6403(0x1ec)][_0x5a6403(0x1a6)](_0x38761b),this[_0x5a6403(0x1da)]=this[_0x5a6403(0x1f7)][_0x5a6403(0x1ec)][_0x5a6403(0x1a6)](_0x41d81e),this[_0x5a6403(0x1e9)]=this[_0x5a6403(0x1f7)][_0x5a6403(0x1ec)][_0x5a6403(0x1a6)](_0x2f3f67);const _0x5231de=this[_0x5a6403(0x1f7)][_0x5a6403(0x1ec)][_0x5a6403(0x1a6)](_0x53bb06),_0x15a921=this[_0x5a6403(0x1e9)][_0x5a6403(0x1cf)]();this[_0x5a6403(0x1be)]=new _0x2acad4({'connector':this[_0x5a6403(0x1de)],'group':_0x15a921}),this[_0x5a6403(0x1b7)](this[_0x5a6403(0x1da)],_0x5a6403(0x1aa),(_0x39c66e,_0x182235)=>{const _0x21bb6c=_0x5a6403;this[_0x21bb6c(0x1c2)](_0x182235['id'],_0x21bb6c(0x1b8)),this[_0x21bb6c(0x1c8)](_0x182235['id']);}),this[_0x5a6403(0x1b7)](this[_0x5a6403(0x1da)],_0x5a6403(0x1ba),(_0x11a627,_0x43121e)=>{const _0x4842e2=_0x5a6403;this[_0x4842e2(0x1c2)](_0x43121e['id'],_0x4842e2(0x1f5)),this[_0x4842e2(0x1d6)](_0x43121e['id'],_0x43121e[_0x4842e2(0x1a9)]);}),this[_0x5a6403(0x1b7)](this[_0x5a6403(0x1be)],_0x5a6403(0x1e1),(_0x2d3988,_0x5bcaf1)=>{const _0x1e3759=_0x5a6403;void 0x0!==_0x5bcaf1[_0x1e3759(0x1db)][_0x1e3759(0x1a9)]&&this[_0x1e3759(0x1da)][_0x1e3759(0x1e4)](_0x5bcaf1[_0x1e3759(0x19c)],_0x5bcaf1[_0x1e3759(0x1db)][_0x1e3759(0x1a9)]),void 0x0!==_0x5bcaf1[_0x1e3759(0x1db)][_0x1e3759(0x1b0)]&&this[_0x1e3759(0x1c9)](),this[_0x1e3759(0x1f4)](_0x5bcaf1[_0x1e3759(0x19c)]);}),this[_0x5a6403(0x1b7)](this[_0x5a6403(0x1be)],_0x5a6403(0x1eb),(_0x14fa8a,_0x13275a)=>{const _0x58bdb6=_0x5a6403;this[_0x58bdb6(0x1e9)][_0x58bdb6(0x1a1)](_0x13275a[_0x58bdb6(0x19c)]),this[_0x58bdb6(0x1da)][_0x58bdb6(0x193)](_0x13275a[_0x58bdb6(0x19c)]),this[_0x58bdb6(0x1f4)](_0x13275a[_0x58bdb6(0x19c)]);}),this[_0x5a6403(0x1b7)](this[_0x5a6403(0x1be)],_0x5a6403(0x1f3),()=>{const _0xa4b968=_0x5a6403;this[_0xa4b968(0x1c9)]();}),this[_0x5a6403(0x1b7)](this[_0x5a6403(0x1be)],_0x5a6403(0x1e3),(_0x524b30,_0x54ded5)=>{const _0x4ea1b4=_0x5a6403;this[_0x4ea1b4(0x1c4)](_0x54ded5[_0x4ea1b4(0x1e3)],_0x54ded5[_0x4ea1b4(0x1bf)],_0x54ded5[_0x4ea1b4(0x19c)]);}),this[_0x5a6403(0x1b7)](this[_0x5a6403(0x1da)],_0x5a6403(0x1c5),(_0x201b9b,_0xcf5e61)=>{const _0x7d76cb=_0x5a6403;this[_0x7d76cb(0x1bd)](_0xcf5e61['id']);}),this[_0x5a6403(0x1b7)](this[_0x5a6403(0x1da)],_0x5a6403(0x1bc),(_0x3dd71d,_0x548c59)=>{const _0x565719=_0x5a6403,_0x55ddad=_0x548c59[_0x565719(0x1b0)]?_0x565719(0x1ee):_0x565719(0x1b9);this[_0x565719(0x1c2)](_0x548c59['id'],_0x55ddad),this[_0x565719(0x1f6)](_0x548c59['id'],_0x548c59[_0x565719(0x1b0)]);}),this[_0x5a6403(0x1b7)](this[_0x5a6403(0x1da)],_0x5a6403(0x1ab),()=>{const _0x30d791=_0x5a6403;_0x5231de[_0x30d791(0x1cd)][_0x30d791(0x19b)](_0x30d791(0x1bb));}),this[_0x5a6403(0x1b7)](this[_0x5a6403(0x1e9)],_0x5a6403(0x1e5),()=>{const _0x8ec9f7=_0x5a6403;this[_0x8ec9f7(0x1c9)]();}),_0x5231de[_0x5a6403(0x1cd)]['on'](_0x5a6403(0x1a4),()=>{const _0x46832a=_0x5a6403;this[_0x46832a(0x1ca)]();}),this[_0x5a6403(0x1b7)](_0x5231de,_0x5a6403(0x1e8),(_0xbcab38,_0x59a8fe)=>{const _0x4550cc=_0x5a6403;this[_0x4550cc(0x1cb)](_0x59a8fe);}),this[_0x5a6403(0x1b7)](this[_0x5a6403(0x1da)],_0x5a6403(0x1ed),()=>{const _0x2164db=_0x5a6403;_0x5231de[_0x2164db(0x1d4)]();});}async[_0x4d54d5(0x1d6)](_0x3762ff,_0x39c7b2){const _0xdc5ad=_0x4d54d5;await this[_0xdc5ad(0x1be)][_0xdc5ad(0x1e4)](_0x3762ff,_0x39c7b2);}async[_0x4d54d5(0x1f6)](_0x341c7d,_0x5d52f0){const _0x3bb2e4=_0x4d54d5;await this[_0x3bb2e4(0x1be)][_0x3bb2e4(0x1cc)](_0x341c7d,_0x5d52f0);}async[_0x4d54d5(0x1c8)](_0x3f3bda){const _0x556fd5=_0x4d54d5;await this[_0x556fd5(0x1be)][_0x556fd5(0x1ef)](_0x3f3bda);}async[_0x4d54d5(0x1bd)](_0x1e3040){const _0x3cb552=_0x4d54d5;await this[_0x3cb552(0x1e9)][_0x3cb552(0x1af)](_0x1e3040);}async[_0x4d54d5(0x1ca)](){const _0x46abde=_0x4d54d5;this[_0x46abde(0x1da)][_0x46abde(0x198)](''),this[_0x46abde(0x1da)][_0x46abde(0x197)](!0x0),await this[_0x46abde(0x1be)][_0x46abde(0x1b6)](),this[_0x46abde(0x1da)][_0x46abde(0x197)](!0x1);}[_0x4d54d5(0x1c9)](){const _0x245bce=_0x4d54d5,_0x4f156e=this[_0x245bce(0x1e9)][_0x245bce(0x1b4)]?.['id'],_0x5c3112=this[_0x245bce(0x195)]()[_0x245bce(0x1f0)](_0x56b52a=>({'title':_0x56b52a[_0x245bce(0x1a9)],'items':_0x56b52a[_0x245bce(0x1e6)][_0x245bce(0x1f0)](_0x4da10e=>({'id':_0x4da10e['id'],'title':_0x4da10e[_0x245bce(0x1a9)]||_0x2e3ade(this[_0x245bce(0x1f7)][_0x245bce(0x1d5)],_0x245bce(0x1d3)),'createdAt':new Date(_0x4da10e[_0x245bce(0x1ad)])[_0x245bce(0x1b2)](),'active':_0x4da10e['id']===_0x4f156e,'pinned':_0x4da10e[_0x245bce(0x1b0)]}))}));this[_0x245bce(0x1da)][_0x245bce(0x1c3)](_0x5c3112);}[_0x4d54d5(0x1c2)](_0x5bd4bf,_0x381d32){const _0x5cddc9=_0x4d54d5;this[_0x5cddc9(0x1da)][_0x5cddc9(0x1e0)](_0x5bd4bf,_0x381d32,!0x0);}[_0x4d54d5(0x1f4)](_0x3365f1){const _0x385193=_0x4d54d5;this[_0x385193(0x1da)][_0x385193(0x1e0)](_0x3365f1,null,!0x1);}[_0x4d54d5(0x1c4)](_0x20972c,_0x2c10fb,_0x2b4992){const _0x2d682a=_0x4d54d5,_0x2d5888=this[_0x2d682a(0x1a3)](_0x2c10fb,_0x2b4992);this[_0x2d682a(0x1da)][_0x2d682a(0x198)](_0x2d5888),_0x2b4992&&this[_0x2d682a(0x1f4)](_0x2b4992),this[_0x2d682a(0x1da)][_0x2d682a(0x197)](!0x1);}[_0x4d54d5(0x1a3)](_0x40ed75,_0x2a2a8d){const _0xcdaf46=_0x4d54d5,_0x401d61=_0x2a2a8d?this[_0xcdaf46(0x1be)][_0xcdaf46(0x1d0)](_0x2a2a8d):null,_0x380e92=_0x401d61?.[_0xcdaf46(0x1a9)]||_0x2e3ade(this[_0xcdaf46(0x1f7)][_0xcdaf46(0x1d5)],_0xcdaf46(0x1d3));switch(_0x40ed75){case _0xcdaf46(0x1e4):return _0x2e3ade(this[_0xcdaf46(0x1f7)][_0xcdaf46(0x1d5)],_0xcdaf46(0x1a2),_0x380e92);case _0xcdaf46(0x1cc):{const _0x16a5a5=_0x2e3ade(this[_0xcdaf46(0x1f7)][_0xcdaf46(0x1d5)],_0x401d61?.[_0xcdaf46(0x1b0)]?_0xcdaf46(0x1ce):_0xcdaf46(0x1d7));return _0x2e3ade(this[_0xcdaf46(0x1f7)][_0xcdaf46(0x1d5)],_0xcdaf46(0x1b5),[_0x16a5a5,_0x380e92]);}case _0xcdaf46(0x1ef):return _0x2e3ade(this[_0xcdaf46(0x1f7)][_0xcdaf46(0x1d5)],_0xcdaf46(0x19e),_0x380e92);case _0xcdaf46(0x1b6):case _0xcdaf46(0x19a):return _0x2e3ade(this[_0xcdaf46(0x1f7)][_0xcdaf46(0x1d5)],_0xcdaf46(0x1e2));default:return _0x2e3ade(this[_0xcdaf46(0x1f7)][_0xcdaf46(0x1d5)],_0xcdaf46(0x196));}}[_0x4d54d5(0x195)](){const _0x59677f=_0x4d54d5,_0x4e9177=new Date(),_0x2d379b=new Date(_0x4e9177[_0x59677f(0x19f)](),_0x4e9177[_0x59677f(0x1df)](),_0x4e9177[_0x59677f(0x1c1)]()),_0x242bcd=new Date(_0x2d379b);_0x242bcd[_0x59677f(0x1d2)](_0x242bcd[_0x59677f(0x1c1)]()-0x1);const _0x2f01ee=new Date(_0x2d379b);_0x2f01ee[_0x59677f(0x1d2)](_0x2f01ee[_0x59677f(0x1c1)]()-0xe);const _0x37377f=this[_0x59677f(0x1be)][_0x59677f(0x194)]({'pinned':!0x0}),_0x38ca3c=this[_0x59677f(0x1be)][_0x59677f(0x194)]({'from':_0x2d379b,'to':_0x2d379b}),_0x4f195f=this[_0x59677f(0x1be)][_0x59677f(0x194)]({'from':_0x242bcd,'to':_0x242bcd}),_0x3b9cbe=this[_0x59677f(0x1be)][_0x59677f(0x194)]({'from':_0x2f01ee,'to':_0x242bcd}),_0x53e073=this[_0x59677f(0x1be)][_0x59677f(0x194)]({'to':_0x2f01ee}),_0x3b9242=[];return _0x37377f[_0x59677f(0x1a7)]>0x0&&_0x3b9242[_0x59677f(0x1d9)]({'title':_0x2e3ade(this[_0x59677f(0x1f7)][_0x59677f(0x1d5)],_0x59677f(0x199)),'items':_0x37377f}),_0x38ca3c[_0x59677f(0x1a7)]>0x0&&_0x3b9242[_0x59677f(0x1d9)]({'title':_0x2e3ade(this[_0x59677f(0x1f7)][_0x59677f(0x1d5)],_0x59677f(0x1a5)),'items':_0x38ca3c}),_0x4f195f[_0x59677f(0x1a7)]>0x0&&_0x3b9242[_0x59677f(0x1d9)]({'title':_0x2e3ade(this[_0x59677f(0x1f7)][_0x59677f(0x1d5)],_0x59677f(0x1f2)),'items':_0x4f195f}),_0x3b9cbe[_0x59677f(0x1a7)]>0x0&&_0x3b9242[_0x59677f(0x1d9)]({'title':_0x2e3ade(this[_0x59677f(0x1f7)][_0x59677f(0x1d5)],_0x59677f(0x1d1)),'items':_0x3b9cbe}),_0x53e073[_0x59677f(0x1a7)]>0x0&&_0x3b9242[_0x59677f(0x1d9)]({'title':_0x2e3ade(this[_0x59677f(0x1f7)][_0x59677f(0x1d5)],_0x59677f(0x1d8)),'items':_0x53e073}),_0x3b9242;}[_0x4d54d5(0x1cb)](_0x52a6e0){const _0x17347b=_0x4d54d5;this[_0x17347b(0x1da)][_0x17347b(0x1b1)](_0x52a6e0);}}
|