@ckeditor/ckeditor5-ai 47.2.0-alpha.6 → 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
|
-
function _0x189f(_0x1ede61,_0x9f7ecc){const _0x339c41=_0x339c();return _0x189f=function(_0x189f71,_0x103b07){_0x189f71=_0x189f71-0x75;let _0x101de0=_0x339c41[_0x189f71];return _0x101de0;},_0x189f(_0x1ede61,_0x9f7ecc);}function _0x339c(){const _0xfef07e=['showChangeInTextModel','ck-ai-chat__feed__ai-suggestion__actions\x20','insertSuggestion','change:isTrackChangesOn','isTrackChangesOn','attachToDom','button','slice','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION','5URLQCj','tooltip','width','AI_CHAT_SUGGESTION_MORE_OPTIONS_TOOLTIP','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION_TOOLTIP','bind','_createActionsButton','div','_dropdownCurrentConfig','pin','_dropdownOriginalConfig','_firstRender','delegate','ck-hidden','bodyCollection','execute','children','filter','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT','arrowless','open','791oGijdx','_updateDropdownActions','map','esc','listenTo','632109HJZWSP','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT_TOOLTIP','_partsCount','keystrokeHandler','label','listView','actionsButton','uiLanguageDirection','keys','6375048yFyvpW','setTemplate','createCollection','10555272xfORlz','applySuggestionModel','97624mHQcjp','hide','listItemModels','isEnabled','add','has','ck-ai-button-primary','590942TXyZOA','bottom','class','locale','AI_CHAT_SUGGESTION_ACTION_APPLY_TOOLTIP','balloonPanelView','actionName','isVisible','left','showChangeInText','fire','unbind','detachFromDom','remove','ck-ai-chat__feed__ai-suggestion__actions','updateLabels','applySuggestion','items','2lkHnlA','arrowView','ck-ai-chat__feed__ai-suggestion__actions--no-animation','ck-ai-chat__feed__ai-suggestion__actions__balloon','length','bindTemplate','balloonPanelClass','element','AI_CHAT_SUGGESTION_ACTION_APPLY_LABEL','content','2268212qgyzlM','destroy','_setUpList','_setUpKeystrokes','9299750zSOVgn','set','insertSuggestionModel','focus','_createActionsDropdownOrButton','ltr','_createActionsDropdown','source'];_0x339c=function(){return _0xfef07e;};return _0x339c();}const _0x368292=_0x189f;(function(_0x2a1423,_0x595332){const _0x5353a2=_0x189f,_0x11462c=_0x2a1423();while(!![]){try{const _0x1de827=-parseInt(_0x5353a2(0x80))/0x1*(-parseInt(_0x5353a2(0x92))/0x2)+parseInt(_0x5353a2(0xcb))/0x3+parseInt(_0x5353a2(0x9c))/0x4+parseInt(_0x5353a2(0xb1))/0x5*(parseInt(_0x5353a2(0xd4))/0x6)+-parseInt(_0x5353a2(0xc6))/0x7*(parseInt(_0x5353a2(0x79))/0x8)+-parseInt(_0x5353a2(0x77))/0x9+parseInt(_0x5353a2(0xa0))/0xa;if(_0x1de827===_0x595332)break;else _0x11462c['push'](_0x11462c['shift']());}catch(_0x7b60bb){_0x11462c['push'](_0x11462c['shift']());}}}(_0x339c,0xc59da));import{KeystrokeHandler as _0xddb4bf}from'ckeditor5/src/utils.js';import{BalloonPanelView as _0x4f77eb,BodyCollection as _0x40287d,ButtonView as _0x4bee76,clickOutsideHandler as _0x376b02,ListItemButtonView as _0x3cffbb,ListItemView as _0x208ad0,ListView as _0x3f04bf,SplitButtonView as _0x3a22ef,UIModel as _0x3e295b,View as _0x1c80b6}from'ckeditor5/src/ui.js';import{IconCheck as _0x34187d,IconAddComment as _0x15cb56,IconDocumentWithLoupe as _0x4c3cd6}from'ckeditor5/src/icons.js';import{getTranslation as _0x2d9d15}from'../../../aicore/utils/common-translations.js';export const AI_REPLY_ACTIONS=[_0x368292(0x90),_0x368292(0xaa),_0x368292(0x89)];export class AIChatFeedSuggestionItemActionsView extends _0x1c80b6{[_0x368292(0xd1)];[_0x368292(0xc1)];[_0x368292(0x78)];[_0x368292(0xa8)];[_0x368292(0xa2)];[_0x368292(0xcd)]=0x1;[_0x368292(0xbb)];[_0x368292(0xb9)];[_0x368292(0xbc)]=!0x0;constructor(_0x21bdb1,_0x372aae){const _0x3a652e=_0x368292;super(_0x21bdb1),this[_0x3a652e(0xbb)]=_0x372aae||[...AI_REPLY_ACTIONS],this[_0x3a652e(0xb9)]=[...this[_0x3a652e(0xbb)]];const _0x39330a=this[_0x3a652e(0x97)];this[_0x3a652e(0xa1)](_0x3a652e(0x7c),!0x0),this[_0x3a652e(0xa1)](_0x3a652e(0x87),!0x0),this[_0x3a652e(0xa1)](_0x3a652e(0xac),!0x1),this[_0x3a652e(0x78)]=new _0x3e295b({'label':Un(_0x3a652e(0x90),_0x21bdb1,this[_0x3a652e(0xcd)]),'icon':_0x34187d,'withText':!0x0,'type':_0x3a652e(0xae),'actionName':_0x3a652e(0x90)}),this[_0x3a652e(0xa8)]=new _0x3e295b({'label':Un(_0x3a652e(0x89),_0x21bdb1,this[_0x3a652e(0xcd)]),'icon':_0x4c3cd6,'withText':!0x0,'type':_0x3a652e(0xae),'actionName':_0x3a652e(0x89)}),this[_0x3a652e(0xa2)]=new _0x3e295b({'label':Un(_0x3a652e(0xaa),_0x21bdb1,this[_0x3a652e(0xcd)]),'icon':_0x15cb56,'withText':!0x0,'type':_0x3a652e(0xae),'actionName':_0x3a652e(0xaa)}),this[_0x3a652e(0xd1)]=this[_0x3a652e(0xa4)](_0x21bdb1),this[_0x3a652e(0xc1)]=this[_0x3a652e(0x76)](),this[_0x3a652e(0xd1)]&&this[_0x3a652e(0xc1)][_0x3a652e(0x7d)](this[_0x3a652e(0xd1)]),this[_0x3a652e(0x75)]({'tag':_0x3a652e(0xb8),'attributes':{'class':['ck',_0x3a652e(0x8e),_0x39330a['if'](_0x3a652e(0x87),_0x3a652e(0xbe),_0x21d62f=>!_0x21d62f)]},'children':this[_0x3a652e(0xc1)]}),this['on'](_0x3a652e(0xab),()=>{const _0x1a2292=_0x3a652e;this[_0x1a2292(0xb9)]=this[_0x1a2292(0xac)]?this[_0x1a2292(0xbb)][_0x1a2292(0xc2)](_0x29e4ff=>_0x1a2292(0x90)!==_0x29e4ff):[...this[_0x1a2292(0xbb)]],this[_0x1a2292(0xc7)](_0x21bdb1);});}[_0x368292(0xc7)](_0x3f85a5){const _0x7599e7=_0x368292;this[_0x7599e7(0xd1)]&&this[_0x7599e7(0xc1)][_0x7599e7(0x7e)](this[_0x7599e7(0xd1)])&&(this[_0x7599e7(0xc1)][_0x7599e7(0x8d)](this[_0x7599e7(0xd1)]),this[_0x7599e7(0xd1)][_0x7599e7(0x9d)]()),this[_0x7599e7(0xd1)]=this[_0x7599e7(0xa4)](_0x3f85a5),this[_0x7599e7(0xd1)]&&this[_0x7599e7(0xc1)][_0x7599e7(0x7d)](this[_0x7599e7(0xd1)]);}[_0x368292(0xa4)](_0xbbf8fa){const _0x48451e=_0x368292;if(0x0==this[_0x48451e(0xb9)][_0x48451e(0x96)])return null;const _0x1cc0a7=0x1===this[_0x48451e(0xb9)][_0x48451e(0x96)]?this[_0x48451e(0xb7)](_0xbbf8fa):this[_0x48451e(0xa6)](_0xbbf8fa),_0x525360=this[_0x48451e(0xbc)]?'':_0x48451e(0x94);_0x1cc0a7[_0x48451e(0xa1)]({'label':Un(this[_0x48451e(0xb9)][0x0],_0xbbf8fa,this[_0x48451e(0xcd)]),'tooltip':Rn(this[_0x48451e(0xb9)][0x0],_0xbbf8fa,this[_0x48451e(0xcd)]),'withText':!0x0,'class':_0x48451e(0xa9)+_0x525360});for(const _0x1c1136 of this[_0x48451e(0xb9)])_0x1cc0a7['on'](_0x1c1136,()=>{const _0x317a85=_0x48451e;this[_0x317a85(0x8a)](_0x1c1136);});return this[_0x48451e(0xbc)]=!0x1,_0x1cc0a7;}[_0x368292(0xb7)](_0x3f4351){const _0x1b1b27=_0x368292,_0x3650a9=new _0x4bee76(_0x3f4351);return _0x3650a9[_0x1b1b27(0xa1)]({'class':_0x1b1b27(0x7f),'withText':!0x0}),_0x3650a9['on'](_0x1b1b27(0xc0),()=>{const _0x30f838=_0x1b1b27;_0x3650a9[_0x30f838(0x8a)](this[_0x30f838(0xb9)][0x0]);}),_0x3650a9;}[_0x368292(0xa6)](_0x13333d){const _0x1bf679=_0x368292,_0x56b022=new Pn(_0x13333d,{'listItemModels':this[_0x1bf679(0xb9)][_0x1bf679(0xc8)](_0x1533a7=>{const _0x45a5d6=_0x1bf679;switch(_0x1533a7){case _0x45a5d6(0x90):return this[_0x45a5d6(0x78)];case _0x45a5d6(0x89):return this[_0x45a5d6(0xa8)];case _0x45a5d6(0xaa):return this[_0x45a5d6(0xa2)];}})});return _0x56b022[_0x1bf679(0xa1)]({'label':Un(this[_0x1bf679(0xb9)][0x0],_0x13333d,this[_0x1bf679(0xcd)]),'tooltip':Rn(this[_0x1bf679(0xb9)][0x0],_0x13333d,this[_0x1bf679(0xcd)]),'withText':!0x0,'class':_0x1bf679(0x8e),'balloonPanelClass':_0x1bf679(0x95)}),_0x56b022[_0x1bf679(0xb6)](_0x1bf679(0x7c))['to'](this),_0x56b022;}[_0x368292(0x8f)](_0x358095){const _0x213712=_0x368292,_0x3739b2=this[_0x213712(0x83)];this[_0x213712(0xcd)]=_0x358095||this[_0x213712(0xcd)],this[_0x213712(0xd1)][_0x213712(0xa1)]({'label':Un(this[_0x213712(0xb9)][0x0],_0x3739b2,this[_0x213712(0xcd)]),'tooltip':Rn(this[_0x213712(0xb9)][0x0],_0x3739b2,this[_0x213712(0xcd)])}),this[_0x213712(0x78)][_0x213712(0xcf)]=Un(_0x213712(0x90),_0x3739b2,this[_0x213712(0xcd)]),this[_0x213712(0xa8)][_0x213712(0xcf)]=Un(_0x213712(0x89),_0x3739b2,this[_0x213712(0xcd)]),this[_0x213712(0xa2)][_0x213712(0xcf)]=Un(_0x213712(0xaa),_0x3739b2,this[_0x213712(0xcd)]);}}class Pn extends _0x3a22ef{[_0x368292(0xbf)];[_0x368292(0x85)];[_0x368292(0xd0)];[_0x368292(0xce)];constructor(_0x57c7e3,_0x4eedf3){const _0x1380b9=_0x368292;super(_0x57c7e3),this[_0x1380b9(0x85)]=new _0x4f77eb(this[_0x1380b9(0x83)]),this[_0x1380b9(0xbf)]=new _0x40287d(this[_0x1380b9(0x83)]),this[_0x1380b9(0xbf)][_0x1380b9(0xad)](),this[_0x1380b9(0xa1)](_0x1380b9(0x98),''),this[_0x1380b9(0x85)][_0x1380b9(0xb6)](_0x1380b9(0x82))['to'](this,_0x1380b9(0x98)),this[_0x1380b9(0xd0)]=this[_0x1380b9(0x9e)](_0x4eedf3[_0x1380b9(0x7b)][_0x1380b9(0xaf)](0x1)),this[_0x1380b9(0xbf)][_0x1380b9(0x7d)](this[_0x1380b9(0x85)]),this[_0x1380b9(0x85)][_0x1380b9(0x9b)][_0x1380b9(0x7d)](this[_0x1380b9(0xd0)]),this[_0x1380b9(0x93)][_0x1380b9(0x8b)](_0x1380b9(0xb2)),this[_0x1380b9(0x93)][_0x1380b9(0xa1)](_0x1380b9(0xb2),_0x2d9d15(this[_0x1380b9(0x83)],_0x1380b9(0xb4))),this[_0x1380b9(0x9f)](),this['on'](_0x1380b9(0xc0),()=>{const _0x4573cf=_0x1380b9,_0x55997c=_0x4eedf3[_0x4573cf(0x7b)][0x0][_0x4573cf(0x86)];this[_0x4573cf(0x8a)](_0x55997c),this[_0x4573cf(0x85)][_0x4573cf(0x7a)](),this[_0x4573cf(0x93)][_0x4573cf(0xa3)]();}),this['on'](_0x1380b9(0xc5),()=>{const _0xc03237=_0x1380b9;this[_0xc03237(0x85)][_0xc03237(0x87)]?(this[_0xc03237(0x85)][_0xc03237(0x7a)](),this[_0xc03237(0x93)][_0xc03237(0xa3)]()):(this[_0xc03237(0x85)][_0xc03237(0xba)]({'target':this[_0xc03237(0x99)],'positions':[_0xc03237(0xa5)===this[_0xc03237(0x83)][_0xc03237(0xd2)]?Hn:Ln]}),this[_0xc03237(0xd0)][_0xc03237(0xa3)]());}),_0x376b02({'emitter':this[_0x1380b9(0x85)],'callback':()=>{const _0x4329bf=_0x1380b9;this[_0x4329bf(0x85)][_0x4329bf(0x7a)]();},'activator':()=>this[_0x1380b9(0x85)][_0x1380b9(0x87)],'contextElements':()=>[this[_0x1380b9(0x99)],this[_0x1380b9(0x85)][_0x1380b9(0x99)]]});}[_0x368292(0x9e)](_0x5360a2){const _0x220f30=_0x368292,_0x34e4c9=this[_0x220f30(0x83)],_0x2de37a=new _0x3f04bf(_0x34e4c9);for(const _0x41cfa1 of _0x5360a2){const _0x23df5e=new _0x208ad0(_0x34e4c9),_0x5249bf=new _0x3cffbb(_0x34e4c9);_0x5249bf[_0x220f30(0xb6)](...Object[_0x220f30(0xd3)](_0x41cfa1))['to'](_0x41cfa1),_0x5249bf[_0x220f30(0xbd)](_0x220f30(0xc0))['to'](_0x2de37a),_0x23df5e[_0x220f30(0xc1)][_0x220f30(0x7d)](_0x5249bf),_0x2de37a[_0x220f30(0x91)][_0x220f30(0x7d)](_0x23df5e);}return _0x2de37a[_0x220f30(0x91)][_0x220f30(0xbd)](_0x220f30(0xc0))['to'](this),_0x2de37a['on'](_0x220f30(0xc0),_0x1da866=>{const _0x1be8e1=_0x220f30,_0x3a7743=_0x1da866[_0x1be8e1(0xa7)];this[_0x1be8e1(0x8a)](_0x3a7743[_0x1be8e1(0x86)]),this[_0x1be8e1(0x85)][_0x1be8e1(0x7a)](),this[_0x1be8e1(0x93)][_0x1be8e1(0xa3)]();}),_0x2de37a;}[_0x368292(0x9f)](){const _0x254946=_0x368292;this[_0x254946(0xce)]=new _0xddb4bf(),this[_0x254946(0xce)][_0x254946(0xca)](this[_0x254946(0x85)][_0x254946(0x99)]),this[_0x254946(0xce)][_0x254946(0xa1)](_0x254946(0xc9),(_0x43da3d,_0x40459e)=>{const _0x35d8e2=_0x254946;this[_0x35d8e2(0x85)][_0x35d8e2(0x7a)](),this[_0x35d8e2(0x93)][_0x35d8e2(0xa3)](),_0x40459e();});}[_0x368292(0x9d)](){const _0x4893a7=_0x368292;super[_0x4893a7(0x9d)](),this[_0x4893a7(0xce)][_0x4893a7(0x9d)](),this[_0x4893a7(0x85)][_0x4893a7(0x9d)](),this[_0x4893a7(0xbf)][_0x4893a7(0x8c)]();}}function Hn(_0x486c75){const _0x57a598=_0x368292;return{'top':_0x486c75[_0x57a598(0x81)],'left':_0x486c75[_0x57a598(0x88)],'name':_0x57a598(0xc4),'config':{'withArrow':!0x1}};}function Ln(_0x2da545,_0x17a092){const _0x1ddba1=_0x368292;return{'top':_0x2da545[_0x1ddba1(0x81)],'left':_0x2da545[_0x1ddba1(0x88)]-(_0x17a092[_0x1ddba1(0xb3)]-_0x2da545[_0x1ddba1(0xb3)]),'name':_0x1ddba1(0xc4),'config':{'withArrow':!0x1}};}function Un(_0x2f14f4,_0x27fb43,_0x4a0714){const _0x449f90=_0x368292;switch(_0x2f14f4){case _0x449f90(0x90):return _0x2d9d15(_0x27fb43,_0x449f90(0x9a),_0x4a0714);case _0x449f90(0x89):return _0x2d9d15(_0x27fb43,_0x449f90(0xc3),_0x4a0714);case _0x449f90(0xaa):return _0x2d9d15(_0x27fb43,_0x449f90(0xb0),_0x4a0714);}}function Rn(_0x325be0,_0x4e7716,_0x23088c){const _0x337d0a=_0x368292;switch(_0x325be0){case _0x337d0a(0x90):return _0x2d9d15(_0x4e7716,_0x337d0a(0x84),_0x23088c);case _0x337d0a(0x89):return _0x2d9d15(_0x4e7716,_0x337d0a(0xcc),_0x23088c);case _0x337d0a(0xaa):return _0x2d9d15(_0x4e7716,_0x337d0a(0xb5),_0x23088c);}}
|
|
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
|
-
var
|
|
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
|
-
const
|
|
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
|
-
|
|
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
|
-
var
|
|
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 _0x39ea75=_0x43e9;(function(_0x5d5523,_0x2c7747){const _0x3ad943=_0x43e9,_0x46f194=_0x5d5523();while(!![]){try{const _0x563937=parseInt(_0x3ad943(0x155))/0x1*(-parseInt(_0x3ad943(0x191))/0x2)+-parseInt(_0x3ad943(0x186))/0x3+parseInt(_0x3ad943(0x14b))/0x4*(parseInt(_0x3ad943(0x18d))/0x5)+parseInt(_0x3ad943(0x14a))/0x6+-parseInt(_0x3ad943(0x16e))/0x7+-parseInt(_0x3ad943(0x192))/0x8+parseInt(_0x3ad943(0x16f))/0x9;if(_0x563937===_0x2c7747)break;else _0x46f194['push'](_0x46f194['shift']());}catch(_0x3a03af){_0x46f194['push'](_0x46f194['shift']());}}}(_0x1f83,0xb59fe));import{ContextPlugin as _0x513435}from'ckeditor5/src/core.js';import{AIConnector as _0x5dc0be}from'../aicore/aiconnector.js';import{AIChatController as _0x3aeb2d}from'../aichat/aichatcontroller.js';import{AITabs as _0x27753a}from'../aitabs/aitabs.js';import{AIChatHistoryUI as _0x2f72e1}from'./aichathistoryui.js';import{AIChatHistoryConversations as _0x234b29}from'./model/aichathistoryconversations.js';function _0x43e9(_0x7061be,_0x41492d){const _0x1f839f=_0x1f83();return _0x43e9=function(_0x43e9aa,_0x3bf516){_0x43e9aa=_0x43e9aa-0x13d;let _0x2c19bb=_0x1f839f[_0x43e9aa];return _0x2c19bb;},_0x43e9(_0x7061be,_0x41492d);}import{getTranslation as _0x33a01f}from'../aicore/utils/common-translations.js';export class AIChatHistoryController extends _0x513435{[_0x39ea75(0x17c)];[_0x39ea75(0x18e)];[_0x39ea75(0x15a)];static get[_0x39ea75(0x15c)](){return[_0x5dc0be,_0x3aeb2d,_0x2f72e1,_0x27753a];}static get[_0x39ea75(0x14e)](){const _0x2efc28=_0x39ea75;return _0x2efc28(0x175);}static get[_0x39ea75(0x164)](){return!0x0;}static get[_0x39ea75(0x157)](){return!0x0;}[_0x39ea75(0x182)](){const _0x552d98=_0x39ea75;this[_0x552d98(0x17c)]=this[_0x552d98(0x19b)][_0x552d98(0x168)][_0x552d98(0x17f)](_0x5dc0be),this[_0x552d98(0x18e)]=this[_0x552d98(0x19b)][_0x552d98(0x168)][_0x552d98(0x17f)](_0x2f72e1),this[_0x552d98(0x15a)]=this[_0x552d98(0x19b)][_0x552d98(0x168)][_0x552d98(0x17f)](_0x3aeb2d);const _0x503df2=this[_0x552d98(0x19b)][_0x552d98(0x168)][_0x552d98(0x17f)](_0x27753a),_0x385d76=this[_0x552d98(0x15a)][_0x552d98(0x13e)]();this[_0x552d98(0x15e)]=new _0x234b29({'connector':this[_0x552d98(0x17c)],'group':_0x385d76}),this[_0x552d98(0x196)](this[_0x552d98(0x18e)],_0x552d98(0x16a),(_0x247174,_0x298047)=>{const _0x187a9d=_0x552d98;this[_0x187a9d(0x174)](_0x298047['id'],_0x187a9d(0x19e)),this[_0x187a9d(0x1a1)](_0x298047['id']);}),this[_0x552d98(0x196)](this[_0x552d98(0x18e)],_0x552d98(0x184),(_0xe48038,_0x5edd49)=>{const _0x1ed999=_0x552d98;this[_0x1ed999(0x174)](_0x5edd49['id'],_0x1ed999(0x13d)),this[_0x1ed999(0x185)](_0x5edd49['id'],_0x5edd49[_0x1ed999(0x183)]);}),this[_0x552d98(0x196)](this[_0x552d98(0x15e)],_0x552d98(0x178),(_0x401d55,_0x597944)=>{const _0x272e7d=_0x552d98;void 0x0!==_0x597944[_0x272e7d(0x152)][_0x272e7d(0x183)]&&this[_0x272e7d(0x18e)][_0x272e7d(0x194)](_0x597944[_0x272e7d(0x159)],_0x597944[_0x272e7d(0x152)][_0x272e7d(0x183)]),void 0x0!==_0x597944[_0x272e7d(0x152)][_0x272e7d(0x16c)]&&this[_0x272e7d(0x176)](),this[_0x272e7d(0x153)](_0x597944[_0x272e7d(0x159)]);}),this[_0x552d98(0x196)](this[_0x552d98(0x15e)],_0x552d98(0x14c),(_0x271505,_0x59ed8d)=>{const _0x237822=_0x552d98;this[_0x237822(0x15a)][_0x237822(0x1a0)](_0x59ed8d[_0x237822(0x159)]),this[_0x237822(0x18e)][_0x237822(0x173)](_0x59ed8d[_0x237822(0x159)]),this[_0x237822(0x153)](_0x59ed8d[_0x237822(0x159)]);}),this[_0x552d98(0x196)](this[_0x552d98(0x15e)],_0x552d98(0x170),()=>{const _0x398b4c=_0x552d98;this[_0x398b4c(0x176)]();}),this[_0x552d98(0x196)](this[_0x552d98(0x15e)],_0x552d98(0x172),(_0x4558a6,_0x46b9ac)=>{const _0x15c620=_0x552d98;this[_0x15c620(0x189)](_0x46b9ac[_0x15c620(0x172)],_0x46b9ac[_0x15c620(0x187)],_0x46b9ac[_0x15c620(0x159)]);}),this[_0x552d98(0x196)](this[_0x552d98(0x18e)],_0x552d98(0x18f),(_0x3662de,_0x505997)=>{const _0x4557e3=_0x552d98;this[_0x4557e3(0x197)](_0x505997['id']);}),this[_0x552d98(0x196)](this[_0x552d98(0x18e)],_0x552d98(0x171),(_0x3fa1a5,_0x4c8243)=>{const _0x74e818=_0x552d98,_0x1a9c6d=_0x4c8243[_0x74e818(0x16c)]?_0x74e818(0x195):_0x74e818(0x15b);this[_0x74e818(0x174)](_0x4c8243['id'],_0x1a9c6d),this[_0x74e818(0x160)](_0x4c8243['id'],_0x4c8243[_0x74e818(0x16c)]);}),this[_0x552d98(0x196)](this[_0x552d98(0x18e)],_0x552d98(0x19c),()=>{const _0x380d73=_0x552d98;_0x503df2[_0x380d73(0x193)][_0x380d73(0x140)](_0x380d73(0x145));}),this[_0x552d98(0x196)](this[_0x552d98(0x15a)],_0x552d98(0x146),()=>{const _0xaf2a02=_0x552d98;this[_0xaf2a02(0x176)]();}),_0x503df2[_0x552d98(0x193)]['on'](_0x552d98(0x19a),()=>{const _0x22f437=_0x552d98;this[_0x22f437(0x15d)]();}),this[_0x552d98(0x196)](_0x503df2,_0x552d98(0x18b),(_0x4515ff,_0xa26b5f)=>{const _0x534c74=_0x552d98;this[_0x534c74(0x17d)](_0xa26b5f);}),this[_0x552d98(0x196)](this[_0x552d98(0x18e)],_0x552d98(0x149),()=>{const _0xc59c86=_0x552d98;_0x503df2[_0xc59c86(0x148)]();});}async[_0x39ea75(0x185)](_0x52341c,_0x5331d6){const _0x3c4eea=_0x39ea75;await this[_0x3c4eea(0x15e)][_0x3c4eea(0x194)](_0x52341c,_0x5331d6);}async[_0x39ea75(0x160)](_0x38e7bb,_0x15ebca){const _0x5b4d34=_0x39ea75;await this[_0x5b4d34(0x15e)][_0x5b4d34(0x163)](_0x38e7bb,_0x15ebca);}async[_0x39ea75(0x1a1)](_0x1c7aff){const _0x513cb1=_0x39ea75;await this[_0x513cb1(0x15e)][_0x513cb1(0x166)](_0x1c7aff);}async[_0x39ea75(0x197)](_0x212841){const _0x54190b=_0x39ea75;await this[_0x54190b(0x15a)][_0x54190b(0x16d)](_0x212841);}async[_0x39ea75(0x15d)](){const _0x260b89=_0x39ea75;this[_0x260b89(0x18e)][_0x260b89(0x19d)](''),this[_0x260b89(0x18e)][_0x260b89(0x18a)](!0x0),await this[_0x260b89(0x15e)][_0x260b89(0x182)](),this[_0x260b89(0x18e)][_0x260b89(0x18a)](!0x1);}[_0x39ea75(0x176)](){const _0x2ac86f=_0x39ea75,_0x735388=this[_0x2ac86f(0x15a)][_0x2ac86f(0x147)]?.['id'],_0x4815d7=this[_0x2ac86f(0x181)]()[_0x2ac86f(0x151)](_0x40884e=>({'title':_0x40884e[_0x2ac86f(0x183)],'items':_0x40884e[_0x2ac86f(0x190)][_0x2ac86f(0x151)](_0x1af2fe=>({'id':_0x1af2fe['id'],'title':_0x1af2fe[_0x2ac86f(0x183)]||_0x33a01f(this[_0x2ac86f(0x19b)][_0x2ac86f(0x158)],_0x2ac86f(0x165)),'createdAt':new Date(_0x1af2fe[_0x2ac86f(0x198)])[_0x2ac86f(0x19f)](),'active':_0x1af2fe['id']===_0x735388,'pinned':_0x1af2fe[_0x2ac86f(0x16c)]}))}));this[_0x2ac86f(0x18e)][_0x2ac86f(0x144)](_0x4815d7);}[_0x39ea75(0x174)](_0x35b0ac,_0xf587a5){const _0x2593f5=_0x39ea75;this[_0x2593f5(0x18e)][_0x2593f5(0x180)](_0x35b0ac,_0xf587a5,!0x0);}[_0x39ea75(0x153)](_0x29871f){const _0x43e726=_0x39ea75;this[_0x43e726(0x18e)][_0x43e726(0x180)](_0x29871f,null,!0x1);}[_0x39ea75(0x189)](_0x5e4dc4,_0x5862ff,_0x8fcbdf){const _0x52df33=_0x39ea75,_0x2462bd=this[_0x52df33(0x169)](_0x5862ff,_0x8fcbdf);this[_0x52df33(0x18e)][_0x52df33(0x19d)](_0x2462bd),_0x8fcbdf&&this[_0x52df33(0x153)](_0x8fcbdf),this[_0x52df33(0x18e)][_0x52df33(0x18a)](!0x1);}[_0x39ea75(0x169)](_0x72d848,_0x1144d3){const _0x592ac2=_0x39ea75,_0x40fc64=_0x1144d3?this[_0x592ac2(0x15e)][_0x592ac2(0x143)](_0x1144d3):null,_0x4a5b88=_0x40fc64?.[_0x592ac2(0x183)]||_0x33a01f(this[_0x592ac2(0x19b)][_0x592ac2(0x158)],_0x592ac2(0x165));switch(_0x72d848){case _0x592ac2(0x194):return _0x33a01f(this[_0x592ac2(0x19b)][_0x592ac2(0x158)],_0x592ac2(0x17a),_0x4a5b88);case _0x592ac2(0x163):{const _0x41f461=_0x33a01f(this[_0x592ac2(0x19b)][_0x592ac2(0x158)],_0x40fc64?.[_0x592ac2(0x16c)]?_0x592ac2(0x14d):_0x592ac2(0x15f));return _0x33a01f(this[_0x592ac2(0x19b)][_0x592ac2(0x158)],_0x592ac2(0x154),[_0x41f461,_0x4a5b88]);}case _0x592ac2(0x166):return _0x33a01f(this[_0x592ac2(0x19b)][_0x592ac2(0x158)],_0x592ac2(0x167),_0x4a5b88);case _0x592ac2(0x182):case _0x592ac2(0x150):return _0x33a01f(this[_0x592ac2(0x19b)][_0x592ac2(0x158)],_0x592ac2(0x179));default:return _0x33a01f(this[_0x592ac2(0x19b)][_0x592ac2(0x158)],_0x592ac2(0x142));}}[_0x39ea75(0x181)](){const _0x34cd45=_0x39ea75,_0x163ac9=new Date(),_0x3ca0e0=new Date(_0x163ac9[_0x34cd45(0x13f)](),_0x163ac9[_0x34cd45(0x141)](),_0x163ac9[_0x34cd45(0x162)]()),_0x2ab429=new Date(_0x3ca0e0);_0x2ab429[_0x34cd45(0x156)](_0x2ab429[_0x34cd45(0x162)]()-0x1);const _0x1fcb56=new Date(_0x3ca0e0);_0x1fcb56[_0x34cd45(0x156)](_0x1fcb56[_0x34cd45(0x162)]()-0xe);const _0x401d4b=this[_0x34cd45(0x15e)][_0x34cd45(0x188)]({'pinned':!0x0}),_0x301c17=this[_0x34cd45(0x15e)][_0x34cd45(0x188)]({'from':_0x3ca0e0,'to':_0x3ca0e0}),_0x427a8a=this[_0x34cd45(0x15e)][_0x34cd45(0x188)]({'from':_0x2ab429,'to':_0x2ab429}),_0x40bf7d=this[_0x34cd45(0x15e)][_0x34cd45(0x188)]({'from':_0x1fcb56,'to':_0x2ab429}),_0x2e15db=this[_0x34cd45(0x15e)][_0x34cd45(0x188)]({'to':_0x1fcb56}),_0x407d22=[];return _0x401d4b[_0x34cd45(0x18c)]>0x0&&_0x407d22[_0x34cd45(0x17e)]({'title':_0x33a01f(this[_0x34cd45(0x19b)][_0x34cd45(0x158)],_0x34cd45(0x17b)),'items':_0x401d4b}),_0x301c17[_0x34cd45(0x18c)]>0x0&&_0x407d22[_0x34cd45(0x17e)]({'title':_0x33a01f(this[_0x34cd45(0x19b)][_0x34cd45(0x158)],_0x34cd45(0x16b)),'items':_0x301c17}),_0x427a8a[_0x34cd45(0x18c)]>0x0&&_0x407d22[_0x34cd45(0x17e)]({'title':_0x33a01f(this[_0x34cd45(0x19b)][_0x34cd45(0x158)],_0x34cd45(0x199)),'items':_0x427a8a}),_0x40bf7d[_0x34cd45(0x18c)]>0x0&&_0x407d22[_0x34cd45(0x17e)]({'title':_0x33a01f(this[_0x34cd45(0x19b)][_0x34cd45(0x158)],_0x34cd45(0x161)),'items':_0x40bf7d}),_0x2e15db[_0x34cd45(0x18c)]>0x0&&_0x407d22[_0x34cd45(0x17e)]({'title':_0x33a01f(this[_0x34cd45(0x19b)][_0x34cd45(0x158)],_0x34cd45(0x177)),'items':_0x2e15db}),_0x407d22;}[_0x39ea75(0x17d)](_0x12fc12){const _0x5ca46e=_0x39ea75;this[_0x5ca46e(0x18e)][_0x5ca46e(0x14f)](_0x12fc12);}}function _0x1f83(){const _0x14d301=['AI_CHAT_HISTORY_ERROR_UPDATE_PINNED','1QmyIvD','setDate','isPremiumPlugin','locale','itemId','_aiChatController','unpin','requires','_showConversationHistory','history','AI_CHAT_HISTORY_PIN_ACTION','_handleTogglePin','AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS','getDate','updateItemPinned','isOfficialPlugin','AI_CHAT_UNTITLED_CONVERSATION','removeItem','AI_CHAT_HISTORY_ERROR_REMOVE_ITEM','plugins','_generateErrorMessage','removeConversation','AI_CHAT_HISTORY_CATEGORY_TODAY','pinned','loadConversation','10353966wflRvd','27788580dMEOKK','itemsLoaded','setConversationPinned','error','removeHistoryItem','_setItemLoading','AIChatHistoryController','_updateHistoryItemsUI','AI_CHAT_HISTORY_CATEGORY_LATER','itemUpdated','AI_CHAT_HISTORY_ERROR_LOAD_ITEMS','AI_CHAT_HISTORY_ERROR_UPDATE_TITLE','AI_CHAT_HISTORY_CATEGORY_PINNED','_aiConnector','_setIsMaximized','push','get','updateItemLoadingState','_getCategorizedItems','init','title','editConversationTitle','_handleEditTitle','4108791yUqYNR','operation','getItems','_handleHistoryErrorUI','setLoadingSkeleton','resizedTabs','length','5yqTgGs','_aiChatHistoryUi','selectConversation','items','797428OMAaSu','789760YbRYpI','view','updateItemTitle','pin','listenTo','_handleSelectConversation','createdAt','AI_CHAT_HISTORY_CATEGORY_YESTERDAY','activateTab:history','context','openChat','showError','remove','toLocaleDateString','handleRemovedConversation','_handleRemove','rename','getGroupId','getFullYear','activateTab','getMonth','AI_CHAT_HISTORY_ERROR_GENERIC','getItem','updateItems','chat','change:activeConversation','activeConversation','resize','resizeTabs','5896470VIzKqD','78952boqett','itemRemoved','AI_CHAT_HISTORY_UNPIN_ACTION','pluginName','setIsMaximized','loadItems','map','updates','_clearItemLoading'];_0x1f83=function(){return _0x14d301;};return _0x1f83();}
|
|
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);}}
|