@ckeditor/ckeditor5-ai 47.0.0-alpha.8 → 47.0.0-alpha.9
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 +4 -4
- 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 +197 -1
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/model/aichatmodels.d.ts +30 -0
- 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/aichatresourcelistitemview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourceslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesview.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 +1 -1
- 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/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.d.ts +1 -0
- 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.d.ts +49 -0
- 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/aireviewmodels.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/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/aireviewmodeformamanager.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.d.ts +14 -0
- 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/index.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x78ea10=_0x4b58;function _0x4b58(_0x50baf8,_0x1e6e7e){const _0x4f61fa=_0x4f61();return _0x4b58=function(_0x4b58c8,_0x77d3dc){_0x4b58c8=_0x4b58c8-0x86;let _0x5408ce=_0x4f61fa[_0x4b58c8];return _0x5408ce;},_0x4b58(_0x50baf8,_0x1e6e7e);}(function(_0x59690c,_0x349a06){const _0xc971ed=_0x4b58,_0x5d9298=_0x59690c();while(!![]){try{const _0x1ba6dd=parseInt(_0xc971ed(0xa0))/0x1+parseInt(_0xc971ed(0xa3))/0x2+parseInt(_0xc971ed(0x95))/0x3+parseInt(_0xc971ed(0xb7))/0x4+-parseInt(_0xc971ed(0x92))/0x5+-parseInt(_0xc971ed(0xa8))/0x6+-parseInt(_0xc971ed(0x9d))/0x7;if(_0x1ba6dd===_0x349a06)break;else _0x5d9298['push'](_0x5d9298['shift']());}catch(_0x81f5ac){_0x5d9298['push'](_0x5d9298['shift']());}}}(_0x4f61,0xcab3a));import{BalloonPanelView as _0x18b586,ButtonView as _0x108d06,clickOutsideHandler as _0x678aaa,FormHeaderView as _0x15b859}from'ckeditor5/src/ui.js';function _0x4f61(){const _0x188523=['getTargetElement','set','show','_getResourcesViewFromBalloon','label','ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_source','updateResourceState','2931308jHIMfU','_setupSingleResourceBalloonClickOutsideHandler','resource','_bodyCollection','pin','children','_createBalloonResourcesView','isAnyResourceBalloonVisible','_addSourceResourceContent','values','AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT','ck-button-icon\x20ck-button-back','onBalloonClosed','onResourceSelected','_config','extendTemplate','addResourceToContext','element','1212960QMfLUM','content','showSourceResourcesBalloon','111912ZMveHC','add','closeSourceResourceBalloon','destroy','_createSourceResourceBalloonPanel','isVisible','setResources','source','6524448GwbApZ','ck-ai-chat-context-controls__source-balloon-panel','clear','725254MbxoOH','_createBackButton','getLimiterElement','2671954EJFLWx','_locale','execute','populateSourceResourceBalloon','_createBalloonHeader','4958640djqKsb','onLoadSourceResources','loadSourceResources','hide','get','onBackToContext','delete','_sourceResourceBalloons'];_0x4f61=function(){return _0x188523;};return _0x4f61();}import{IconPreviousArrow as _0x4da272}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x26788a}from'../../../../aicore/utils/common-translations.js';import{AIChatContextResourcesView as _0x28c08d}from'./aichatresourcesview.js';const Xo=_0x78ea10(0x9e),zo=_0x78ea10(0x8b),Jo=_0x78ea10(0xb5);export class AIChatResourcesBalloonView{[_0x78ea10(0xaf)]=new Map();[_0x78ea10(0xba)];[_0x78ea10(0xa4)];[_0x78ea10(0x8e)];constructor(_0x56645b,_0x15ddbc,_0x5dfc9b){const _0x583461=_0x78ea10;this[_0x583461(0xa4)]=_0x56645b,this[_0x583461(0xba)]=_0x15ddbc,this[_0x583461(0x8e)]=_0x5dfc9b;}[_0x78ea10(0x94)](_0x6d2cb1){const _0x2c0c71=_0x78ea10;let _0x43e32a=this[_0x2c0c71(0xaf)][_0x2c0c71(0xac)](_0x6d2cb1['id']);_0x43e32a||(_0x43e32a=this[_0x2c0c71(0x99)](),this[_0x2c0c71(0xaf)][_0x2c0c71(0xb1)](_0x6d2cb1['id'],_0x43e32a),this[_0x2c0c71(0xb8)](_0x43e32a)),this[_0x2c0c71(0x88)](_0x43e32a,_0x6d2cb1),_0x43e32a[_0x2c0c71(0xb2)]();const _0x40c122=this[_0x2c0c71(0x8e)][_0x2c0c71(0xb0)]();_0x40c122&&_0x43e32a[_0x2c0c71(0xbb)]({'target':_0x40c122,'limiter':this[_0x2c0c71(0x8e)][_0x2c0c71(0xa2)]()});}[_0x78ea10(0xa6)](_0x3cb49e,_0x222b58,_0x18640f){const _0x4cbd58=_0x78ea10,_0x18de1d=this[_0x4cbd58(0xaf)][_0x4cbd58(0xac)](_0x3cb49e);if(!_0x18de1d)return;const _0x31df2c=this[_0x4cbd58(0xb3)](_0x18de1d);_0x31df2c&&_0x31df2c[_0x4cbd58(0x9b)](_0x222b58,_0x18640f);}[_0x78ea10(0x97)](_0x39b3a8){const _0x4fd02c=_0x78ea10,_0x18940d=this[_0x4fd02c(0xaf)][_0x4fd02c(0xac)](_0x39b3a8);_0x18940d&&requestAnimationFrame(()=>{const _0x309b0b=_0x4fd02c;_0x18940d[_0x309b0b(0xab)](),this[_0x309b0b(0xaf)][_0x309b0b(0xae)](_0x39b3a8),this[_0x309b0b(0x8e)][_0x309b0b(0x8c)]();});}[_0x78ea10(0x87)](){const _0x4d1a03=_0x78ea10;for(const _0x20481e of this[_0x4d1a03(0xaf)][_0x4d1a03(0x89)]())if(_0x20481e[_0x4d1a03(0x9a)])return!0x0;return!0x1;}[_0x78ea10(0xb6)](_0x1806ae,_0x366f37,_0x46257f){const _0x5708df=_0x78ea10,_0x4db11e=this[_0x5708df(0xaf)][_0x5708df(0xac)](_0x1806ae);if(!_0x4db11e||!_0x4db11e[_0x5708df(0x9a)])return;const _0x236b36=this[_0x5708df(0x8e)][_0x5708df(0xb0)]();if(!_0x236b36)return;_0x4db11e[_0x5708df(0xbb)]({'target':_0x236b36,'limiter':this[_0x5708df(0x8e)][_0x5708df(0xa2)]()});const _0x5e4427=this[_0x5708df(0xb3)](_0x4db11e);_0x5e4427&&_0x5e4427[_0x5708df(0xb6)](_0x366f37,_0x46257f);}[_0x78ea10(0x98)](){const _0x9e322e=_0x78ea10;for(const _0xa18b7 of this[_0x9e322e(0xaf)][_0x9e322e(0x89)]())_0xa18b7[_0x9e322e(0x98)]();this[_0x9e322e(0xaf)][_0x9e322e(0x9f)]();}[_0x78ea10(0x99)](){const _0x328213=_0x78ea10,_0x4e73db=new _0x18b586(this[_0x328213(0xa4)]);return _0x4e73db[_0x328213(0x8f)]({'attributes':{'class':Xo}}),this[_0x328213(0xba)][_0x328213(0x96)](_0x4e73db),_0x4e73db;}[_0x78ea10(0x88)](_0x849824,_0x3310cc){const _0x32c444=_0x78ea10;_0x849824[_0x32c444(0x93)][_0x32c444(0x9f)]();const _0x17ac84=this[_0x32c444(0xa7)](_0x849824,_0x3310cc);_0x849824[_0x32c444(0x93)][_0x32c444(0x96)](_0x17ac84);const _0x1fb97d=this[_0x32c444(0x86)](_0x3310cc);_0x849824[_0x32c444(0x93)][_0x32c444(0x96)](_0x1fb97d);}[_0x78ea10(0xa7)](_0x36b9fc,_0xdaae04){const _0x22eb53=_0x78ea10,_0x480c6c=this[_0x22eb53(0xa1)](_0x36b9fc),_0x5d4b3b=new _0x15b859(this[_0x22eb53(0xa4)],{'label':_0xdaae04[_0x22eb53(0xb4)],'class':Jo});return _0x5d4b3b[_0x22eb53(0xbc)][_0x22eb53(0x96)](_0x480c6c,0x0),_0x5d4b3b;}[_0x78ea10(0xa1)](_0x130b2d){const _0x47fcaf=_0x78ea10,_0x3de552=new _0x108d06(this[_0x47fcaf(0xa4)]);return _0x3de552[_0x47fcaf(0xb1)]({'icon':_0x4da272,'tooltip':_0x26788a(this[_0x47fcaf(0xa4)],_0x47fcaf(0x8a)),'tooltipPosition':'n','class':zo}),_0x3de552['on'](_0x47fcaf(0xa5),()=>{const _0x85095d=_0x47fcaf;_0x130b2d[_0x85095d(0xab)](),this[_0x85095d(0x8e)][_0x85095d(0xad)]();}),_0x3de552;}[_0x78ea10(0x86)](_0xed3a39){const _0x4428e4=_0x78ea10,_0x7419a2=new _0x28c08d(this[_0x4428e4(0xa4)],_0xed3a39);return _0x7419a2['on'](_0x4428e4(0xaa),(_0x23a515,_0x5a2100)=>{const _0x4bc2d9=_0x4428e4;this[_0x4bc2d9(0x8e)][_0x4bc2d9(0xa9)](_0x5a2100);}),_0x7419a2['on'](_0x4428e4(0x90),(_0x35afb7,_0x32b031)=>{const _0x467e74=_0x4428e4;this[_0x467e74(0x8e)][_0x467e74(0x8d)](_0x32b031[_0x467e74(0x9c)],_0x32b031[_0x467e74(0xb9)]),this[_0x467e74(0x97)](_0xed3a39['id']);}),_0x7419a2;}[_0x78ea10(0xb3)](_0x162cb3){const _0xd6a935=_0x78ea10,_0x48fbda=_0x162cb3[_0xd6a935(0x93)][_0xd6a935(0xac)](0x1);return _0x48fbda instanceof _0x28c08d?_0x48fbda:null;}[_0x78ea10(0xb8)](_0x3b6948){const _0x115718=_0x78ea10;_0x678aaa({'emitter':_0x3b6948,'contextElements':[_0x3b6948[_0x115718(0x91)]],'callback':()=>{const _0x3fd738=_0x115718;_0x3b6948[_0x3fd738(0xab)](),this[_0x3fd738(0x8e)][_0x3fd738(0x8c)]();},'activator':()=>_0x3b6948[_0x115718(0x9a)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x568d55=_0xc55a;(function(_0x5e6913,_0x115cd8){const _0x3e40d4=_0xc55a,_0x4c2c79=_0x5e6913();while(!![]){try{const _0xe45f58=-parseInt(_0x3e40d4(0x1fd))/0x1+parseInt(_0x3e40d4(0x1fe))/0x2+parseInt(_0x3e40d4(0x1ef))/0x3+-parseInt(_0x3e40d4(0x205))/0x4*(-parseInt(_0x3e40d4(0x1f0))/0x5)+parseInt(_0x3e40d4(0x1f8))/0x6+-parseInt(_0x3e40d4(0x204))/0x7+-parseInt(_0x3e40d4(0x201))/0x8*(parseInt(_0x3e40d4(0x1ed))/0x9);if(_0xe45f58===_0x115cd8)break;else _0x4c2c79['push'](_0x4c2c79['shift']());}catch(_0x13a68d){_0x4c2c79['push'](_0x4c2c79['shift']());}}}(_0x5540,0xede0f));function _0x5540(){const _0x38083d=['_source','locale','filter','add','setResources','test','highlightText','382437PbikUy','extendTemplate','3758172DqVJEj','10GqcLSk','_handleResourceSelection','clear','replace','trim','resource','fire','label','5801712ogtAGP','items','\x5c$&','execute','addResourceToContext','554130hlmOWj','3705818evKjhJ','ck-ai-chat-resources__list','updateResourceState','368jRpWbK','useDefaultFiltering','forEach','8292032UizwVV','1190300xtIxtT'];_0x5540=function(){return _0x38083d;};return _0x5540();}import{ListView as _0x5c607b}from'ckeditor5/src/ui.js';function _0xc55a(_0x1213dc,_0x26604e){const _0x554043=_0x5540();return _0xc55a=function(_0xc55ac0,_0x347576){_0xc55ac0=_0xc55ac0-0x1ea;let _0x10418a=_0x554043[_0xc55ac0];return _0x10418a;},_0xc55a(_0x1213dc,_0x26604e);}import{AIChatResourceListItemView as _0x592192}from'./aichatresourcelistitemview.js';const Qo=_0x568d55(0x1ff);export class AIChatContextResourcesListView extends _0x5c607b{[_0x568d55(0x206)];constructor(_0x4dbdf8,_0x3bbd46){const _0x63991e=_0x568d55;super(_0x4dbdf8),this[_0x63991e(0x206)]=_0x3bbd46,this[_0x63991e(0x1ee)]({'attributes':{'class':[Qo]}});}[_0x568d55(0x1ea)](_0x107e27,_0x5d8928){const _0x2fc499=_0x568d55;this[_0x2fc499(0x1f9)][_0x2fc499(0x1f2)]();let _0x3547bc=_0x107e27;if(this[_0x2fc499(0x206)][_0x2fc499(0x202)]&&_0x5d8928&&''!==_0x5d8928[_0x2fc499(0x1f4)]()){const _0x1cdb1a=new RegExp(_0x5d8928[_0x2fc499(0x1f3)](/[.*+?^${}()|[\]\\]/g,_0x2fc499(0x1fa)),'gi');_0x3547bc=_0x107e27[_0x2fc499(0x208)](_0x4f31ef=>_0x1cdb1a[_0x2fc499(0x1eb)](_0x4f31ef[_0x2fc499(0x1f7)]));}for(const _0x409032 of _0x3547bc){const _0x360c27=new _0x592192(this[_0x2fc499(0x207)],_0x409032);_0x360c27['on'](_0x2fc499(0x1fb),()=>{const _0x3010ae=_0x2fc499;this[_0x3010ae(0x1f1)](this[_0x3010ae(0x206)],_0x409032);}),this[_0x2fc499(0x1f9)][_0x2fc499(0x209)](_0x360c27);}this[_0x2fc499(0x206)][_0x2fc499(0x202)]&&this[_0x2fc499(0x1ec)](_0x5d8928);}[_0x568d55(0x1ec)](_0x21848d){const _0x2345da=_0x568d55;this[_0x2345da(0x206)][_0x2345da(0x202)]&&this[_0x2345da(0x1f9)][_0x2345da(0x203)](_0x2c9586=>{const _0x1536b1=_0x2345da;_0x2c9586[_0x1536b1(0x1ec)](_0x21848d);});}[_0x568d55(0x200)](_0x317c58,_0x2ca89b){const _0x3a4067=_0x568d55;for(const _0x41c0ee of this[_0x3a4067(0x1f9)]){const _0x5af1f9=_0x41c0ee;_0x5af1f9[_0x3a4067(0x1f5)]['id']===_0x317c58&&_0x5af1f9[_0x3a4067(0x200)](_0x2ca89b);}}[_0x568d55(0x1f1)](_0x5545f3,_0x4c942a){const _0x91bac5=_0x568d55;this[_0x91bac5(0x1f6)](_0x91bac5(0x1fc),{'source':_0x5545f3,'resource':_0x4c942a});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ButtonView as
|
|
23
|
+
import{ButtonView as _0x29aa4b,IconView as _0x3b0732,LabeledFieldView as _0xb87814,createLabeledInputText as _0x21a793}from'ckeditor5/src/ui.js';import{IconLoupe as _0x4b025e,IconCancel as _0x4fb583}from'ckeditor5/src/icons.js';import{getTranslation as _0x1babad}from'../../../../aicore/utils/common-translations.js';export class AIChatContextResourcesSearchInputView extends _0xb87814{['iconView'];['resetButtonView'];['_viewConfig'];constructor(_0x529cad){const t=_0x529cad['t'],_0x1e7ff9={'showResetButton':!0x0,'showIcon':!0x0,'creator':_0x21a793,'label':_0x1babad(_0x529cad,'AI_CHAT_SEARCH_RESOURCES')};super(_0x529cad,_0x1e7ff9['creator']),this['label']=_0x1e7ff9['label'],this['_viewConfig']=_0x1e7ff9,this['_viewConfig']['showIcon']&&this['_setupSearchIcon'](),this['_viewConfig']['showResetButton']&&this['_setupResetButton'](_0x529cad,t),this['_setupEventListeners']();}['reset'](){this['fieldView']['reset'](),this['_viewConfig']['showResetButton']&&this['resetButtonView']&&(this['resetButtonView']['isVisible']=!0x1),this['search']('');}['search'](_0x49d50e){this['fire']('search',_0x49d50e);}['getQuery'](){return this['fieldView']['element']?.['value']||'';}['_setupSearchIcon'](){this['iconView']=new _0x3b0732(),this['iconView']['content']=_0x4b025e,this['fieldWrapperChildren']['add'](this['iconView'],0x0),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-icon'}});}['_setupResetButton'](_0x3b6aef,t){this['resetButtonView']=new _0x29aa4b(_0x3b6aef),this['resetButtonView']['set']({'label':t('Clear'),'icon':_0x4fb583,'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',_0x4be7ad=>!_0x4be7ad),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
|
+
const _0x346500=_0x35f9;function _0x2034(){const _0x1e63e8=['_resourcesListView','fire','_createResourcesListView','23524rWNeFu','useDefaultFiltering','updateResourceState','extendTemplate','_skeletonLoader','set','_searchView','1071193NvKyNS','div','1524616vNnvcr','3419675sYjsrX','_createSearchView','bindTemplate','loadSourceResources','429zGmUgm','_createSearchSection','79597SzUixH','render','search','ck-ai-chat-resources','_source','2908040AvcjCr','31136058fDRpIR','198qUGWFn','locale','delegate','loadResources','isLoading','children','getQuery','addResourceToContext','aiChatResources','_createSkeletonView','setTemplate','ck\x20ck-search','_latestLoadResourcesUid','highlightText','setResources','ck-hidden'];_0x2034=function(){return _0x1e63e8;};return _0x2034();}(function(_0x4cd3f0,_0x52b9d1){const _0x15cada=_0x35f9,_0x46d46b=_0x4cd3f0();while(!![]){try{const _0x4f6068=parseInt(_0x15cada(0x1b0))/0x1+parseInt(_0x15cada(0x1b2))/0x2+-parseInt(_0x15cada(0x1b7))/0x3*(-parseInt(_0x15cada(0x1a9))/0x4)+parseInt(_0x15cada(0x1b3))/0x5+parseInt(_0x15cada(0x196))/0x6*(parseInt(_0x15cada(0x1b9))/0x7)+parseInt(_0x15cada(0x1be))/0x8+-parseInt(_0x15cada(0x195))/0x9;if(_0x4f6068===_0x52b9d1)break;else _0x46d46b['push'](_0x46d46b['shift']());}catch(_0x8c1eb8){_0x46d46b['push'](_0x46d46b['shift']());}}}(_0x2034,0x9baa5));import{View as _0x545e45,ViewCollection as _0x68f4dd}from'ckeditor5/src/ui.js';function _0x35f9(_0x36bee9,_0x2ec4b7){const _0x203471=_0x2034();return _0x35f9=function(_0x35f9a7,_0x81122e){_0x35f9a7=_0x35f9a7-0x195;let _0x55147f=_0x203471[_0x35f9a7];return _0x55147f;},_0x35f9(_0x36bee9,_0x2ec4b7);}import{uid as _0x5dd13e}from'ckeditor5/src/utils.js';import{AIChatContextResourcesListView as _0x272610}from'./aichatresourceslistview.js';import{AIChatContextResourcesSearchInputView as _0xeefa22}from'./aichatresourcessearchinputview.js';import{AISkeletonView as _0x39c801,SKELETON_DEFINITIONS as _0x2feadf}from'../../../../aicore/ui/aiskeleton.js';export class AIChatContextResourcesView extends _0x545e45{[_0x346500(0x1af)];[_0x346500(0x1a6)];[_0x346500(0x1ad)];[_0x346500(0x1bd)];[_0x346500(0x19b)];[_0x346500(0x1a2)]=null;constructor(_0x281756,_0x515aaf){const _0x16b425=_0x346500;super(_0x281756),this[_0x16b425(0x1bd)]=_0x515aaf,this[_0x16b425(0x1ae)](_0x16b425(0x19a),!0x0),this[_0x16b425(0x1af)]=this[_0x16b425(0x1b4)]();const _0x23c2aa=this[_0x16b425(0x1b8)]();this[_0x16b425(0x1a6)]=this[_0x16b425(0x1a8)](),this[_0x16b425(0x1ad)]=this[_0x16b425(0x19f)](),this[_0x16b425(0x19b)]=new _0x68f4dd([_0x23c2aa,this[_0x16b425(0x1ad)],this[_0x16b425(0x1a6)]]),this[_0x16b425(0x1a0)]({'tag':_0x16b425(0x1b1),'attributes':{'class':_0x16b425(0x1bc)},'children':this[_0x16b425(0x19b)]});}[_0x346500(0x1b4)](){const _0x3aa2c0=_0x346500;return new _0xeefa22(this[_0x3aa2c0(0x197)]);}[_0x346500(0x1b8)](){const _0x316851=_0x346500,_0x53aa11=new _0x545e45(this[_0x316851(0x197)]);return _0x53aa11[_0x316851(0x1a0)]({'tag':_0x316851(0x1b1),'attributes':{'class':_0x316851(0x1a1)},'children':[this[_0x316851(0x1af)]]}),this[_0x316851(0x1af)]['on'](_0x316851(0x1bb),(_0x1add6c,_0x2dab25)=>{const _0x3070e7=_0x316851;this[_0x3070e7(0x199)](_0x2dab25),this[_0x3070e7(0x1bd)][_0x3070e7(0x1aa)]&&this[_0x3070e7(0x1a6)][_0x3070e7(0x1a3)](_0x2dab25);}),_0x53aa11;}[_0x346500(0x1a8)](){const _0x2a3e99=_0x346500,_0x2a8f98=new _0x272610(this[_0x2a3e99(0x197)],this[_0x2a3e99(0x1bd)]);return _0x2a8f98[_0x2a3e99(0x198)](_0x2a3e99(0x19d))['to'](this),_0x2a8f98[_0x2a3e99(0x1ac)]({'attributes':{'class':this[_0x2a3e99(0x1b5)]['if'](_0x2a3e99(0x19a),_0x2a3e99(0x1a5))}}),_0x2a8f98;}[_0x346500(0x19f)](){const _0x3221d8=_0x346500,_0x5c89f9=new _0x39c801(this[_0x3221d8(0x197)],_0x2feadf[_0x3221d8(0x19e)]);return _0x5c89f9[_0x3221d8(0x1ac)]({'attributes':{'class':[this[_0x3221d8(0x1b5)]['if'](_0x3221d8(0x19a),_0x3221d8(0x1a5),_0xa7cf8c=>!_0xa7cf8c)]}}),_0x5c89f9;}[_0x346500(0x1ba)](){const _0x218ec5=_0x346500;super[_0x218ec5(0x1ba)](),this[_0x218ec5(0x199)]('');}[_0x346500(0x199)](_0x93f978){const _0x4074d3=_0x346500,_0x405fe0=_0x5dd13e();this[_0x4074d3(0x1a2)]=_0x405fe0,this[_0x4074d3(0x1a7)](_0x4074d3(0x1b6),{'sourceId':this[_0x4074d3(0x1bd)]['id'],'query':_0x93f978,'uid':_0x405fe0}),this[_0x4074d3(0x19a)]=!0x0;}[_0x346500(0x1a4)](_0x1d61df,_0x3f86c9){const _0x1fddd0=_0x346500;if(_0x3f86c9&&_0x3f86c9!==this[_0x1fddd0(0x1a2)])return;const _0x3fc459=this[_0x1fddd0(0x1bd)][_0x1fddd0(0x1aa)]?this[_0x1fddd0(0x1af)][_0x1fddd0(0x19c)]():'';this[_0x1fddd0(0x1a6)][_0x1fddd0(0x1a4)](_0x1d61df,_0x3fc459),requestAnimationFrame(()=>{const _0x55be26=_0x1fddd0;this[_0x55be26(0x19a)]=!0x1;});}[_0x346500(0x1ab)](_0x21d8b3,_0x3581d1){const _0x2f8501=_0x346500;this[_0x2f8501(0x1a6)][_0x2f8501(0x1ab)](_0x21d8b3,_0x3581d1);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x41acb8=_0x19b8;(function(_0x4e1cfd,_0x51b0a6){const _0x4de4c7=_0x19b8,_0x1c4678=_0x4e1cfd();while(!![]){try{const _0x1e3bd8=-parseInt(_0x4de4c7(0x196))/0x1+-parseInt(_0x4de4c7(0x184))/0x2*(-parseInt(_0x4de4c7(0x18e))/0x3)+-parseInt(_0x4de4c7(0x181))/0x4*(parseInt(_0x4de4c7(0x198))/0x5)+-parseInt(_0x4de4c7(0x199))/0x6+parseInt(_0x4de4c7(0x191))/0x7+-parseInt(_0x4de4c7(0x18d))/0x8*(-parseInt(_0x4de4c7(0x18c))/0x9)+parseInt(_0x4de4c7(0x189))/0xa*(parseInt(_0x4de4c7(0x185))/0xb);if(_0x1e3bd8===_0x51b0a6)break;else _0x1c4678['push'](_0x1c4678['shift']());}catch(_0x5556d2){_0x1c4678['push'](_0x1c4678['shift']());}}}(_0x387b,0x68aed));import{View as _0x20ad52}from'ckeditor5/src/ui.js';import{AIChatContextItemButtonView as _0x328bc0}from'../controls/aichatcontextitembuttonview.js';import{AIChatChipsOverflowManager as _0x182b1b}from'../controls/aichatchipsoverflowmanager.js';function _0x19b8(_0x5caa8c,_0x42f76a){const _0x387be4=_0x387b();return _0x19b8=function(_0x19b880,_0x492fdc){_0x19b880=_0x19b880-0x179;let _0x466b3c=_0x387be4[_0x19b880];return _0x466b3c;},_0x19b8(_0x5caa8c,_0x42f76a);}function _0x387b(){const _0x27198c=['200610IsaRYa','div','setTemplate','261MKYNZU','157128YQSAzm','525DTNklW','_createContextChips','ck-ai-chat-controls-button','2752386oUiQwo','add','element','_bodyCollection','ck-ai-chat-context-chips-wrapper-balloon','586138QTzaxN','ck-ai-chat-context-chips-wrapper','20AyEZRl','2573544dlXBkD','ck-ai-chat-controls_context_show-more-button','ck-reset_all','setContainerElement','createCollection','ck-ai-chat__feed__context-chips','_overflowManager','destroy','querySelector','473156Pqpjis','_contextChips','ck-ai-chat-context-controls__show-more-balloon-panel','1276XvNZCv','462yVGHna','render','locale','reorganizeChips'];_0x387b=function(){return _0x27198c;};return _0x387b();}const po=_0x41acb8(0x17d),wo=_0x41acb8(0x197),_o=_0x41acb8(0x195),uo=_0x41acb8(0x190),xo=_0x41acb8(0x179),fo=_0x41acb8(0x183);export class AIChatFeedContextChipsView extends _0x20ad52{[_0x41acb8(0x182)]=this[_0x41acb8(0x17c)]();[_0x41acb8(0x17e)];[_0x41acb8(0x194)];constructor(_0x5eecf7,_0x554a83,_0x4d7188){const _0x1588f6=_0x41acb8;super(_0x5eecf7),this[_0x1588f6(0x194)]=_0x4d7188,this[_0x1588f6(0x18f)](_0x554a83);const _0x374a10={'cssClasses':{'showMoreButton':xo,'showMoreBalloon':fo,'overflowContainer':_o,'controlsButton':uo}};this[_0x1588f6(0x17e)]=new _0x182b1b(_0x5eecf7,this[_0x1588f6(0x182)],_0x374a10,this[_0x1588f6(0x194)],this),this[_0x1588f6(0x18b)]({'tag':_0x1588f6(0x18a),'attributes':{'class':[po,'ck',_0x1588f6(0x17a)]},'children':[{'tag':_0x1588f6(0x18a),'attributes':{'class':wo},'children':this[_0x1588f6(0x182)]}]});}[_0x41acb8(0x186)](){const _0xd1cea5=_0x41acb8;super[_0xd1cea5(0x186)]();const _0x551841=this[_0xd1cea5(0x193)][_0xd1cea5(0x180)]('.'+wo);_0x551841&&(this[_0xd1cea5(0x17e)][_0xd1cea5(0x17b)](_0x551841),this[_0xd1cea5(0x17e)][_0xd1cea5(0x188)]());}[_0x41acb8(0x17f)](){const _0x34eab6=_0x41acb8;super[_0x34eab6(0x17f)](),this[_0x34eab6(0x17e)][_0x34eab6(0x17f)]();}[_0x41acb8(0x18f)](_0x3c7ddb){const _0x3c5e30=_0x41acb8;for(const _0x13b596 of _0x3c7ddb){const _0x23fed4=new _0x328bc0(this[_0x3c5e30(0x187)],_0x13b596,!0x0,!0x1);this[_0x3c5e30(0x182)][_0x3c5e30(0x192)](_0x23fed4);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x4739fe=_0x1cf1;(function(_0x3b6e23,_0x2ab722){var _0x21ec53=_0x1cf1,_0x183234=_0x3b6e23();while(!![]){try{var _0x4d7756=-parseInt(_0x21ec53(0x191))/0x1+-parseInt(_0x21ec53(0x19c))/0x2+-parseInt(_0x21ec53(0x1a4))/0x3+-parseInt(_0x21ec53(0x19e))/0x4*(-parseInt(_0x21ec53(0x199))/0x5)+-parseInt(_0x21ec53(0x190))/0x6*(parseInt(_0x21ec53(0x1a6))/0x7)+-parseInt(_0x21ec53(0x195))/0x8*(parseInt(_0x21ec53(0x192))/0x9)+-parseInt(_0x21ec53(0x197))/0xa*(-parseInt(_0x21ec53(0x1a0))/0xb);if(_0x4d7756===_0x2ab722)break;else _0x183234['push'](_0x183234['shift']());}catch(_0x376b3c){_0x183234['push'](_0x183234['shift']());}}}(_0x1cbf,0xe65f1));import{AIChatFeedItemView as _0x3856b5}from'./aichatfeeditemview.js';function _0x1cf1(_0xc46e81,_0x74d95d){var _0x1cbfb4=_0x1cbf();return _0x1cf1=function(_0x1cf131,_0x1e2fdc){_0x1cf131=_0x1cf131-0x190;var _0x26a9df=_0x1cbfb4[_0x1cf131];return _0x26a9df;},_0x1cf1(_0xc46e81,_0x74d95d);}function _0x1cbf(){var _0x6f6b77=['render','markAsDone','2864mJfeWU','innerHTML','10fHMpIx','warning','960440YdSGRF','element','ck-ai-chat-error_warning','1797700oJeZVD','extendTemplate','8JlajQk','initialContent','72807383cDbykB','options','level','setContent','5454612AWjexm','ck-ai-chat-error','745255elpJpR','66GMMsCf','1394041ISYSmj','19539vKokpg'];_0x1cbf=function(){return _0x6f6b77;};return _0x1cbf();}export class AIChatFeedErrorItemView extends _0x3856b5{constructor(_0x54ee05){var _0x1410e7=_0x1cf1;super(_0x54ee05),this[_0x1410e7(0x19d)]({'attributes':{'class':[_0x1410e7(0x1a5),_0x1410e7(0x198)===_0x54ee05[_0x1410e7(0x1a2)]?_0x1410e7(0x19b):'']}});}[_0x4739fe(0x193)](){var _0x4af823=_0x4739fe;super[_0x4af823(0x193)](),this[_0x4af823(0x1a3)](this[_0x4af823(0x1a1)][_0x4af823(0x19f)]),this[_0x4af823(0x194)]();}[_0x4739fe(0x1a3)](_0x2e9dd7){var _0x1a2491=_0x4739fe;this[_0x1a2491(0x19a)][_0x1a2491(0x196)]=_0x2e9dd7;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x504402=_0x394f;function _0x394f(_0x1e463b,_0x1a292d){const _0x2f49a2=_0x2f49();return _0x394f=function(_0x394f78,_0x16e504){_0x394f78=_0x394f78-0x1ac;let _0x4b4f83=_0x2f49a2[_0x394f78];return _0x4b4f83;},_0x394f(_0x1e463b,_0x1a292d);}function _0x2f49(){const _0x4e4141=['10FUewaL','20ZYuzJX','ck-ai-chat__feed__interaction-header__capabilities','div','10zClctY','ck-ai-chat__feed__interaction-header','24rvQpfl','402996dJjkUS','content','91xVPMay','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH','1131218LiBmmG','children','ck-hidden','3004918yAyLzG','span','add','capabilities','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING','setTemplate','push','AI_CHAT_FEED_REPLY_ITEM_USED_REASONING','ck-ai-chat__feed__interaction-header__capabilities__text','690328pfScvy','13GpJtXk','28344XCHZqu','extendTemplate','8519895JXJwQj','2bgMyrC','865843EMEEDQ'];_0x2f49=function(){return _0x4e4141;};return _0x2f49();}(function(_0x4eba2c,_0x1dd153){const _0x33ce64=_0x394f,_0x2b29cd=_0x4eba2c();while(!![]){try{const _0x5472e2=-parseInt(_0x33ce64(0x1b3))/0x1*(-parseInt(_0x33ce64(0x1c4))/0x2)+parseInt(_0x33ce64(0x1af))/0x3*(-parseInt(_0x33ce64(0x1c7))/0x4)+-parseInt(_0x33ce64(0x1c6))/0x5*(-parseInt(_0x33ce64(0x1c1))/0x6)+-parseInt(_0x33ce64(0x1b1))/0x7*(-parseInt(_0x33ce64(0x1bf))/0x8)+parseInt(_0x33ce64(0x1c3))/0x9*(-parseInt(_0x33ce64(0x1ac))/0xa)+parseInt(_0x33ce64(0x1c5))/0xb*(parseInt(_0x33ce64(0x1ae))/0xc)+parseInt(_0x33ce64(0x1c0))/0xd*(-parseInt(_0x33ce64(0x1b6))/0xe);if(_0x5472e2===_0x1dd153)break;else _0x2b29cd['push'](_0x2b29cd['shift']());}catch(_0xcbcd3a){_0x2b29cd['push'](_0x2b29cd['shift']());}}}(_0x2f49,0x8f4ab));import{IconBulb as _0x10a06c,IconWeb as _0x1be699}from'@ckeditor/ckeditor5-icons';import{IconView as _0x4877f3,View as _0x5e59f1}from'ckeditor5/src/ui.js';import{AIChatFeedItemView as _0x877df4}from'./aichatfeeditemview.js';import{getTranslation as _0x39f108}from'../../../aicore/utils/common-translations.js';export class AIChatFeedInteractionHeaderView extends _0x877df4{[_0x504402(0x1b9)];constructor(_0xe2f8c9,_0x4c39f9){const _0x5e88f3=_0x504402;super(_0x4c39f9);const {isWebSearchEnabled:_0x26ca34,isReasoningEnabled:_0x1aeb33}=_0x4c39f9[_0x5e88f3(0x1b9)],_0xb50959=[];let _0x3140dd='';_0x26ca34&&_0x1aeb33?(_0x3140dd=_0x39f108(_0xe2f8c9,_0x5e88f3(0x1ba)),_0xb50959[_0x5e88f3(0x1bc)](ia(_0x1be699)),_0xb50959[_0x5e88f3(0x1bc)](ia(_0x10a06c))):_0x26ca34?(_0x3140dd=_0x39f108(_0xe2f8c9,_0x5e88f3(0x1b2)),_0xb50959[_0x5e88f3(0x1bc)](ia(_0x1be699))):_0x1aeb33&&(_0x3140dd=_0x39f108(_0xe2f8c9,_0x5e88f3(0x1bd)),_0xb50959[_0x5e88f3(0x1bc)](ia(_0x10a06c))),this[_0x5e88f3(0x1c2)]({'attributes':{'class':[_0x5e88f3(0x1ad),_0x3140dd?'':_0x5e88f3(0x1b5)]}});const _0x552eb7=new _0x5e59f1();_0x552eb7[_0x5e88f3(0x1bb)]({'tag':_0x5e88f3(0x1c9),'attributes':{'class':['ck',_0x5e88f3(0x1c8)]},'children':[..._0xb50959,{'tag':_0x5e88f3(0x1b7),'attributes':{'class':[_0x5e88f3(0x1be)]},'children':[_0x3140dd]}]}),this[_0x5e88f3(0x1b4)][_0x5e88f3(0x1b8)](_0x552eb7),this[_0x5e88f3(0x1b9)]=_0x4c39f9[_0x5e88f3(0x1b9)];}}function ia(_0x1b1636){const _0x33157d=_0x504402,_0x43c495=new _0x4877f3();return _0x43c495[_0x33157d(0x1b0)]=_0x1b1636,_0x43c495;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x56252b=_0x2821;(function(_0x28ddbd,_0x253c71){const _0x58cc05=_0x2821,_0x9f3307=_0x28ddbd();while(!![]){try{const _0x253dec=-parseInt(_0x58cc05(0x12e))/0x1+-parseInt(_0x58cc05(0x132))/0x2*(parseInt(_0x58cc05(0x137))/0x3)+-parseInt(_0x58cc05(0x139))/0x4*(-parseInt(_0x58cc05(0x145))/0x5)+-parseInt(_0x58cc05(0x142))/0x6*(-parseInt(_0x58cc05(0x125))/0x7)+-parseInt(_0x58cc05(0x129))/0x8+-parseInt(_0x58cc05(0x12f))/0x9*(-parseInt(_0x58cc05(0x13e))/0xa)+-parseInt(_0x58cc05(0x134))/0xb*(parseInt(_0x58cc05(0x12b))/0xc);if(_0x253dec===_0x253c71)break;else _0x9f3307['push'](_0x9f3307['shift']());}catch(_0x3917b0){_0x9f3307['push'](_0x9f3307['shift']());}}}(_0x5ec1,0x999f1));import{View as _0x4ae1fc}from'ckeditor5/src/ui.js';import{HTMLStreamer as _0x1edfb4}from'../../../aicore/utils/htmlstreamer.js';function _0x2821(_0x1f81f7,_0x769a1f){const _0x5ec1bf=_0x5ec1();return _0x2821=function(_0x282114,_0x24a360){_0x282114=_0x282114-0x121;let _0x4c09bb=_0x5ec1bf[_0x282114];return _0x4c09bb;},_0x2821(_0x1f81f7,_0x769a1f);}export class AIChatFeedItemView extends _0x4ae1fc{[_0x56252b(0x127)];[_0x56252b(0x133)]='';[_0x56252b(0x12c)];[_0x56252b(0x123)];constructor(_0x1cfd95){const _0x2455ec=_0x56252b;super();const _0x269c0c=this[_0x2455ec(0x146)];this[_0x2455ec(0x13c)](_0x2455ec(0x124),!0x1),this[_0x2455ec(0x13c)](_0x2455ec(0x131),!0x0),this[_0x2455ec(0x12c)]=new _0x1edfb4({'textNodeStyle':_0x2455ec(0x135),'delay':0x14}),this[_0x2455ec(0x127)]=_0x1cfd95,this[_0x2455ec(0x123)]=this[_0x2455ec(0x130)](),this[_0x2455ec(0x138)]({'tag':_0x2455ec(0x144),'attributes':{'class':['ck',_0x2455ec(0x122),_0x269c0c['if'](_0x2455ec(0x124),_0x2455ec(0x13f)),_0x269c0c['if'](_0x2455ec(0x131),_0x2455ec(0x13b),_0x39d69c=>!_0x39d69c),_0x2455ec(0x140)],'data-cke-ai-id':this[_0x2455ec(0x127)]['id']},'children':this[_0x2455ec(0x123)]});}[_0x56252b(0x128)](){const _0x4fa551=_0x56252b;this[_0x4fa551(0x12c)][_0x4fa551(0x12d)]({'targetElement':this[_0x4fa551(0x143)]}),this[_0x4fa551(0x143)][_0x4fa551(0x136)](_0x4fa551(0x126))[_0x4fa551(0x12a)](_0x20181f=>{const _0x4b750a=_0x4fa551;_0x20181f[_0x4b750a(0x141)](_0x4b750a(0x13a));}),this[_0x4fa551(0x124)]=!0x0;}async[_0x56252b(0x13d)](_0x19557a,_0x174e66,_0x351e8b){const _0x54fa3d=_0x56252b;await this[_0x54fa3d(0x12c)][_0x54fa3d(0x121)]({'document':_0x19557a,'targetElement':_0x174e66,'abortSignal':_0x351e8b});}}function _0x5ec1(){const _0x3124aa=['removeAttribute','186JrdOlo','element','div','25DVAwyE','bindTemplate','stream','ck-ai-chat__feed__item','children','isDone','67753EuCEyt','[data-id]','options','markAsDone','4786160pAmsIR','forEach','6144xWcMca','htmlStreamer','cleanUpAnimations','685973ksehck','2703375fzNkrU','createCollection','isVisible','5882bqrhVL','content','1408nIAJwm','animation:\x20ck-html-streamer-fade-in\x20.5s','querySelectorAll','291gBEypd','setTemplate','850492OPUHfo','data-id','ck-hidden','set','streamIntoElement','30kqaEoR','ck-ai-chat__feed__item_done','ck-ai-chat__feed__text-item'];_0x5ec1=function(){return _0x3124aa;};return _0x5ec1();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3b18cb=_0x205a;(function(_0x3ed75a,_0x1e03ac){const _0x14317c=_0x205a,_0x40b104=_0x3ed75a();while(!![]){try{const _0x3a80aa=-parseInt(_0x14317c(0x1b7))/0x1*(-parseInt(_0x14317c(0x1ae))/0x2)+parseInt(_0x14317c(0x1c0))/0x3+parseInt(_0x14317c(0x1ad))/0x4+-parseInt(_0x14317c(0x1b0))/0x5+-parseInt(_0x14317c(0x1bd))/0x6*(-parseInt(_0x14317c(0x1af))/0x7)+-parseInt(_0x14317c(0x1b3))/0x8*(parseInt(_0x14317c(0x1aa))/0x9)+parseInt(_0x14317c(0x1a5))/0xa;if(_0x3a80aa===_0x1e03ac)break;else _0x40b104['push'](_0x40b104['shift']());}catch(_0x470230){_0x40b104['push'](_0x40b104['shift']());}}}(_0x31e0,0xef4aa));import{AIChatFeedItemView as _0x43dd22}from'./aichatfeeditemview.js';import{parse as _0x582379,render as _0x5b5cde}from'../../../aicore/utils/htmlparser.js';import{View as _0x107362}from'ckeditor5/src/ui.js';import{AIWebSourcesView as _0x590c7a,AIWebSourceView as _0x4bcf93}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';export class AIChatFeedReplyItemView extends _0x43dd22{[_0x3b18cb(0x1b6)];constructor(_0x28de28,_0x56e3c9){const _0x2e5867=_0x3b18cb;super(_0x56e3c9),this[_0x2e5867(0x1c2)]=_0x28de28,this[_0x2e5867(0x1c3)]({'attributes':{'class':[_0x2e5867(0x1b2)]}}),this[_0x2e5867(0x1b6)]=new _0x107362(),this[_0x2e5867(0x1b6)][_0x2e5867(0x1b5)]({'tag':_0x2e5867(0x1c1),'attributes':{'class':['ck',_0x2e5867(0x1be),_0x2e5867(0x1a8)]}}),this[_0x2e5867(0x1c5)][_0x2e5867(0x1bf)](this[_0x2e5867(0x1b6)]);}async[_0x3b18cb(0x1a7)](){const _0x299681=_0x3b18cb;super[_0x299681(0x1a7)](),this[_0x299681(0x1c4)][_0x299681(0x1b9)]&&(await this[_0x299681(0x1b8)]({'parsedContent':_0x582379(this[_0x299681(0x1c4)][_0x299681(0x1b9)]),'renderingStrategy':_0x299681(0x1a9)}),this[_0x299681(0x1ab)]());}async[_0x3b18cb(0x1b8)]({parsedContent:_0x9c26b8,renderingStrategy:_0x4256ef,abortSignal:_0xb437d9}){const _0x4e1603=_0x3b18cb;_0x4e1603(0x1a6)===_0x4256ef?await this[_0x4e1603(0x1b4)](_0x9c26b8,this[_0x4e1603(0x1b6)][_0x4e1603(0x1a4)],_0xb437d9):this[_0x4e1603(0x1b6)][_0x4e1603(0x1a4)][_0x4e1603(0x1b1)]=_0x5b5cde(_0x9c26b8);}[_0x3b18cb(0x1bb)](_0x2bca6d){const _0x16d21b=_0x3b18cb,_0xe8336f=new _0x590c7a(this[_0x16d21b(0x1c2)]);_0xe8336f[_0x16d21b(0x1c5)][_0x16d21b(0x1bc)](_0x2bca6d[_0x16d21b(0x1ac)](_0x42ed17=>new _0x4bcf93(this[_0x16d21b(0x1c2)],_0x42ed17))),_0xe8336f[_0x16d21b(0x1ba)]=!0x0,this[_0x16d21b(0x1c5)][_0x16d21b(0x1bf)](_0xe8336f);}}function _0x205a(_0xe478c9,_0x1a8a14){const _0x31e05c=_0x31e0();return _0x205a=function(_0x205a59,_0x158c1b){_0x205a59=_0x205a59-0x1a4;let _0x5656eb=_0x31e05c[_0x205a59];return _0x5656eb;},_0x205a(_0xe478c9,_0x1a8a14);}function _0x31e0(){const _0x226466=['element','8904950wjDQIJ','streaming','render','ck-ai-chat__feed__ai-reply-container','static','285057POlGYZ','markAsDone','map','471148kDjTdn','12Kyelxx','2198kwEREi','4425290yPPpjB','innerHTML','ck-ai-chat__feed__ai-reply','320LJRsof','streamIntoElement','setTemplate','replyContainer','280002iPbjge','updateContent','initialContent','isVisible','updateSources','addMany','90mQSIUj','ck-reset_all-excluded','add','1317336wRaccw','div','locale','extendTemplate','options','children'];_0x31e0=function(){return _0x226466;};return _0x31e0();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x4552da=_0x5480;(function(_0x42043f,_0x53ae4f){const _0x4dfeae=_0x5480,_0x2e69c3=_0x42043f();while(!![]){try{const _0x5e2871=parseInt(_0x4dfeae(0x12e))/0x1*(-parseInt(_0x4dfeae(0x174))/0x2)+-parseInt(_0x4dfeae(0x15d))/0x3+-parseInt(_0x4dfeae(0x137))/0x4*(-parseInt(_0x4dfeae(0x146))/0x5)+parseInt(_0x4dfeae(0x153))/0x6*(parseInt(_0x4dfeae(0x11f))/0x7)+parseInt(_0x4dfeae(0x12d))/0x8*(parseInt(_0x4dfeae(0x141))/0x9)+parseInt(_0x4dfeae(0x165))/0xa+-parseInt(_0x4dfeae(0x15e))/0xb*(parseInt(_0x4dfeae(0x13a))/0xc);if(_0x5e2871===_0x53ae4f)break;else _0x2e69c3['push'](_0x2e69c3['shift']());}catch(_0x567547){_0x2e69c3['push'](_0x2e69c3['shift']());}}}(_0x3273,0x37b77));import{KeystrokeHandler as _0x2cb67a}from'ckeditor5/src/utils.js';import{BalloonPanelView as _0x576f2f,BodyCollection as _0xcaaaed,ButtonView as _0x406537,clickOutsideHandler as _0x3bb795,ListItemButtonView as _0x5c715a,ListItemView as _0x1eaaa5,ListView as _0x156d8e,SplitButtonView as _0x19fb46,UIModel as _0xe38fa,View as _0x5e8548}from'ckeditor5/src/ui.js';import{IconCheck as _0x426a69,IconAddComment as _0x940f19,IconDocumentWithLoupe as _0x5e25c9}from'ckeditor5/src/icons.js';function _0x5480(_0x49dca6,_0x5ae5da){const _0x3273a4=_0x3273();return _0x5480=function(_0x54802a,_0x28f1df){_0x54802a=_0x54802a-0x11b;let _0x167482=_0x3273a4[_0x54802a];return _0x167482;},_0x5480(_0x49dca6,_0x5ae5da);}import{getTranslation as _0xf86a3a}from'../../../aicore/utils/common-translations.js';export const ACTIONS=[_0x4552da(0x154),_0x4552da(0x167),_0x4552da(0x12f)];export class AIChatFeedSuggestionItemActionsView extends _0x5e8548{[_0x4552da(0x11e)];[_0x4552da(0x172)];[_0x4552da(0x17a)];[_0x4552da(0x123)];[_0x4552da(0x11d)];[_0x4552da(0x14e)]=0x1;[_0x4552da(0x17c)];[_0x4552da(0x15f)];[_0x4552da(0x127)]=!0x0;constructor(_0x1e85d7,_0x42329b){const _0xfb50ac=_0x4552da;super(_0x1e85d7),this[_0xfb50ac(0x17c)]=_0x42329b||[...ACTIONS],this[_0xfb50ac(0x15f)]=[...this[_0xfb50ac(0x17c)]];const _0x63f4c0=this[_0xfb50ac(0x130)];this[_0xfb50ac(0x161)](_0xfb50ac(0x14f),!0x0),this[_0xfb50ac(0x161)](_0xfb50ac(0x13f),!0x0),this[_0xfb50ac(0x17a)]=new _0xe38fa({'label':Ln(_0xfb50ac(0x154),_0x1e85d7,this[_0xfb50ac(0x14e)]),'icon':_0x426a69,'withText':!0x0,'type':_0xfb50ac(0x162),'actionName':_0xfb50ac(0x154)}),this[_0xfb50ac(0x123)]=new _0xe38fa({'label':Ln(_0xfb50ac(0x12f),_0x1e85d7,this[_0xfb50ac(0x14e)]),'icon':_0x5e25c9,'withText':!0x0,'type':_0xfb50ac(0x162),'actionName':_0xfb50ac(0x12f)}),this[_0xfb50ac(0x11d)]=new _0xe38fa({'label':Ln(_0xfb50ac(0x167),_0x1e85d7,this[_0xfb50ac(0x14e)]),'icon':_0x940f19,'withText':!0x0,'type':_0xfb50ac(0x162),'actionName':_0xfb50ac(0x167)}),this[_0xfb50ac(0x11e)]=this[_0xfb50ac(0x142)](_0x1e85d7),this[_0xfb50ac(0x172)]=this[_0xfb50ac(0x131)]([this[_0xfb50ac(0x11e)]]),this[_0xfb50ac(0x148)]({'tag':_0xfb50ac(0x171),'attributes':{'class':['ck',_0xfb50ac(0x17b),_0x63f4c0['if'](_0xfb50ac(0x13f),_0xfb50ac(0x138),_0x20c69e=>!_0x20c69e)]},'children':this[_0xfb50ac(0x172)]}),this[_0xfb50ac(0x128)](this,_0xfb50ac(0x143),()=>{const _0x528e8a=_0xfb50ac;this[_0x528e8a(0x15f)]=this[_0x528e8a(0x122)]?this[_0x528e8a(0x17c)][_0x528e8a(0x175)](_0x19ee2d=>_0x528e8a(0x154)!==_0x19ee2d):[...this[_0x528e8a(0x17c)]],this[_0x528e8a(0x155)](_0x1e85d7);});}[_0x4552da(0x155)](_0x16aa1f){const _0x340d27=_0x4552da;this[_0x340d27(0x172)][_0x340d27(0x12a)](this[_0x340d27(0x11e)])&&(this[_0x340d27(0x172)][_0x340d27(0x11c)](this[_0x340d27(0x11e)]),this[_0x340d27(0x11e)][_0x340d27(0x12c)]()),0x0!=this[_0x340d27(0x15f)][_0x340d27(0x168)]&&(this[_0x340d27(0x11e)]=this[_0x340d27(0x142)](_0x16aa1f),this[_0x340d27(0x172)][_0x340d27(0x14a)](this[_0x340d27(0x11e)]));}[_0x4552da(0x142)](_0x68dfd8){const _0x362364=_0x4552da,_0x5e24f5=0x1===this[_0x362364(0x15f)][_0x362364(0x168)]?this[_0x362364(0x152)](_0x68dfd8):this[_0x362364(0x15a)](_0x68dfd8),_0x1a2c1f=this[_0x362364(0x127)]?'':_0x362364(0x170);_0x5e24f5[_0x362364(0x161)]({'label':Ln(this[_0x362364(0x15f)][0x0],_0x68dfd8,this[_0x362364(0x14e)]),'tooltip':jn(this[_0x362364(0x15f)][0x0],_0x68dfd8,this[_0x362364(0x14e)]),'withText':!0x0,'class':_0x362364(0x126)+_0x1a2c1f});for(const _0x5ddbdf of this[_0x362364(0x15f)])_0x5e24f5['on'](_0x5ddbdf,()=>{const _0xbaa8dc=_0x362364;this[_0xbaa8dc(0x121)](_0x5ddbdf);});return this[_0x362364(0x127)]=!0x1,_0x5e24f5;}[_0x4552da(0x152)](_0x50900f){const _0x3ce795=_0x4552da,_0x2c7f41=new _0x406537(_0x50900f);return _0x2c7f41[_0x3ce795(0x161)]({'class':_0x3ce795(0x140),'withText':!0x0}),_0x2c7f41['on'](_0x3ce795(0x16c),()=>{const _0x26106e=_0x3ce795;_0x2c7f41[_0x26106e(0x121)](this[_0x26106e(0x15f)][0x0]);}),_0x2c7f41;}[_0x4552da(0x15a)](_0x59bc55){const _0x1d028e=_0x4552da,_0x5485aa=new Pn(_0x59bc55,{'listItemModels':this[_0x1d028e(0x15f)][_0x1d028e(0x169)](_0x3744b7=>{const _0x5b2393=_0x1d028e;switch(_0x3744b7){case _0x5b2393(0x154):return this[_0x5b2393(0x17a)];case _0x5b2393(0x12f):return this[_0x5b2393(0x123)];case _0x5b2393(0x167):return this[_0x5b2393(0x11d)];}})});return _0x5485aa[_0x1d028e(0x161)]({'label':Ln(this[_0x1d028e(0x15f)][0x0],_0x59bc55,this[_0x1d028e(0x14e)]),'tooltip':jn(this[_0x1d028e(0x15f)][0x0],_0x59bc55,this[_0x1d028e(0x14e)]),'withText':!0x0,'class':_0x1d028e(0x17b),'balloonPanelClass':_0x1d028e(0x145)}),_0x5485aa[_0x1d028e(0x133)](_0x1d028e(0x14f))['to'](this),_0x5485aa;}[_0x4552da(0x13c)](_0x25d012){const _0x4fd57f=_0x4552da,_0x21e408=this[_0x4fd57f(0x178)];this[_0x4fd57f(0x14e)]=_0x25d012||this[_0x4fd57f(0x14e)],this[_0x4fd57f(0x11e)][_0x4fd57f(0x161)]({'label':Ln(this[_0x4fd57f(0x15f)][0x0],_0x21e408,this[_0x4fd57f(0x14e)]),'tooltip':jn(this[_0x4fd57f(0x15f)][0x0],_0x21e408,this[_0x4fd57f(0x14e)])}),this[_0x4fd57f(0x17a)][_0x4fd57f(0x124)]=Ln(_0x4fd57f(0x154),_0x21e408,this[_0x4fd57f(0x14e)]),this[_0x4fd57f(0x123)][_0x4fd57f(0x124)]=Ln(_0x4fd57f(0x12f),_0x21e408,this[_0x4fd57f(0x14e)]),this[_0x4fd57f(0x11d)][_0x4fd57f(0x124)]=Ln(_0x4fd57f(0x167),_0x21e408,this[_0x4fd57f(0x14e)]);}}function _0x3273(){const _0x17221a=['13098ZKQwhr','filter','listItemModels','AI_CHAT_SUGGESTION_ACTION_APPLY_LABEL','locale','delegate','applySuggestionModel','ck-ai-chat__feed__ai-suggestion__actions','_dropdownOriginalConfig','items','remove','insertSuggestionModel','actionsButton','51163kuVyUJ','element','fire','isTrackChangesOn','showChangeInTextModel','label','left','ck-ai-chat__feed__ai-suggestion__actions\x20','_firstRender','listenTo','listView','has','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION','destroy','3376728jwTEBB','1VWgTfy','showChangeInText','bindTemplate','createCollection','attachToDom','bind','keys','bodyCollection','open','524500gGPFip','ck-hidden','source','10644QAFlbz','hide','updateLabels','tooltip','_setUpKeystrokes','isVisible','ck-ai-button-primary','9eqGDLj','_createActionsDropdownOrButton','change:isTrackChangesOn','uiLanguageDirection','ck-ai-chat__feed__ai-suggestion__actions__balloon','10aRmycq','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT','setTemplate','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT_TOOLTIP','add','bottom','width','balloonPanelClass','_partsCount','isEnabled','AI_CHAT_SUGGESTION_ACTION_APPLY_TOOLTIP','unbind','_createActionsButton','180lpAEqv','applySuggestion','_updateDropdownActions','AI_CHAT_SUGGESTION_MORE_OPTIONS_TOOLTIP','_setUpList','content','esc','_createActionsDropdown','focus','class','912015UzjrAF','5093lUplte','_dropdownCurrentConfig','arrowless','set','button','actionName','slice','458390sUvwDT','balloonPanelView','insertSuggestion','length','map','ltr','pin','execute','arrowView','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION_TOOLTIP','detachFromDom','ck-ai-chat__feed__ai-suggestion__actions--no-animation','div','children','keystrokeHandler'];_0x3273=function(){return _0x17221a;};return _0x3273();}class Pn extends _0x19fb46{[_0x4552da(0x135)];[_0x4552da(0x166)];[_0x4552da(0x129)];[_0x4552da(0x173)];constructor(_0x4af474,_0x41313f){const _0x3fec97=_0x4552da;super(_0x4af474),this[_0x3fec97(0x166)]=new _0x576f2f(this[_0x3fec97(0x178)]),this[_0x3fec97(0x135)]=new _0xcaaaed(this[_0x3fec97(0x178)]),this[_0x3fec97(0x135)][_0x3fec97(0x132)](),this[_0x3fec97(0x161)](_0x3fec97(0x14d),''),this[_0x3fec97(0x166)][_0x3fec97(0x133)](_0x3fec97(0x15c))['to'](this,_0x3fec97(0x14d)),this[_0x3fec97(0x129)]=this[_0x3fec97(0x157)](_0x41313f[_0x3fec97(0x176)][_0x3fec97(0x164)](0x1)),this[_0x3fec97(0x135)][_0x3fec97(0x14a)](this[_0x3fec97(0x166)]),this[_0x3fec97(0x166)][_0x3fec97(0x158)][_0x3fec97(0x14a)](this[_0x3fec97(0x129)]),this[_0x3fec97(0x16d)][_0x3fec97(0x151)](_0x3fec97(0x13d)),this[_0x3fec97(0x16d)][_0x3fec97(0x161)](_0x3fec97(0x13d),_0xf86a3a(this[_0x3fec97(0x178)],_0x3fec97(0x156))),this[_0x3fec97(0x13e)](),this['on'](_0x3fec97(0x16c),()=>{const _0x47a639=_0x3fec97,_0x5b77fc=_0x41313f[_0x47a639(0x176)][0x0][_0x47a639(0x163)];this[_0x47a639(0x121)](_0x5b77fc),this[_0x47a639(0x166)][_0x47a639(0x13b)](),this[_0x47a639(0x16d)][_0x47a639(0x15b)]();}),this['on'](_0x3fec97(0x136),()=>{const _0x24c785=_0x3fec97;this[_0x24c785(0x166)][_0x24c785(0x13f)]?(this[_0x24c785(0x166)][_0x24c785(0x13b)](),this[_0x24c785(0x16d)][_0x24c785(0x15b)]()):(this[_0x24c785(0x166)][_0x24c785(0x16b)]({'target':this[_0x24c785(0x120)],'positions':[_0x24c785(0x16a)===this[_0x24c785(0x178)][_0x24c785(0x144)]?Hn:Un]}),this[_0x24c785(0x129)][_0x24c785(0x15b)]());}),_0x3bb795({'emitter':this[_0x3fec97(0x166)],'callback':()=>{const _0xcbeac6=_0x3fec97;this[_0xcbeac6(0x166)][_0xcbeac6(0x13b)]();},'activator':()=>this[_0x3fec97(0x166)][_0x3fec97(0x13f)],'contextElements':()=>[this[_0x3fec97(0x120)],this[_0x3fec97(0x166)][_0x3fec97(0x120)]]});}[_0x4552da(0x157)](_0x5b8ffa){const _0x2f662a=_0x4552da,_0x5aa9ca=this[_0x2f662a(0x178)],_0x332ec3=new _0x156d8e(_0x5aa9ca);for(const _0xb38426 of _0x5b8ffa){const _0x3fe1b1=new _0x1eaaa5(_0x5aa9ca),_0x77a1eb=new _0x5c715a(_0x5aa9ca);_0x77a1eb[_0x2f662a(0x133)](...Object[_0x2f662a(0x134)](_0xb38426))['to'](_0xb38426),_0x77a1eb[_0x2f662a(0x179)](_0x2f662a(0x16c))['to'](_0x332ec3),_0x3fe1b1[_0x2f662a(0x172)][_0x2f662a(0x14a)](_0x77a1eb),_0x332ec3[_0x2f662a(0x11b)][_0x2f662a(0x14a)](_0x3fe1b1);}return _0x332ec3[_0x2f662a(0x11b)][_0x2f662a(0x179)](_0x2f662a(0x16c))['to'](this),_0x332ec3['on'](_0x2f662a(0x16c),_0x21e425=>{const _0x15af92=_0x2f662a,_0x45d149=_0x21e425[_0x15af92(0x139)];this[_0x15af92(0x121)](_0x45d149[_0x15af92(0x163)]),this[_0x15af92(0x166)][_0x15af92(0x13b)](),this[_0x15af92(0x16d)][_0x15af92(0x15b)]();}),_0x332ec3;}[_0x4552da(0x13e)](){const _0x564b59=_0x4552da;this[_0x564b59(0x173)]=new _0x2cb67a(),this[_0x564b59(0x173)][_0x564b59(0x128)](this[_0x564b59(0x166)][_0x564b59(0x120)]),this[_0x564b59(0x173)][_0x564b59(0x161)](_0x564b59(0x159),(_0x509526,_0x254023)=>{const _0x5b3e39=_0x564b59;this[_0x5b3e39(0x166)][_0x5b3e39(0x13b)](),this[_0x5b3e39(0x16d)][_0x5b3e39(0x15b)](),_0x254023();});}[_0x4552da(0x12c)](){const _0x5d2c7b=_0x4552da;super[_0x5d2c7b(0x12c)](),this[_0x5d2c7b(0x173)][_0x5d2c7b(0x12c)](),this[_0x5d2c7b(0x166)][_0x5d2c7b(0x12c)](),this[_0x5d2c7b(0x135)][_0x5d2c7b(0x16f)]();}}function Hn(_0x193c9f){const _0x5dc9db=_0x4552da;return{'top':_0x193c9f[_0x5dc9db(0x14b)],'left':_0x193c9f[_0x5dc9db(0x125)],'name':_0x5dc9db(0x160),'config':{'withArrow':!0x1}};}function Un(_0xe5c302,_0x59d9e7){const _0x448d5d=_0x4552da;return{'top':_0xe5c302[_0x448d5d(0x14b)],'left':_0xe5c302[_0x448d5d(0x125)]-(_0x59d9e7[_0x448d5d(0x14c)]-_0xe5c302[_0x448d5d(0x14c)]),'name':_0x448d5d(0x160),'config':{'withArrow':!0x1}};}function Ln(_0x2f009a,_0x5174db,_0x1e5e88){const _0x34539e=_0x4552da;switch(_0x2f009a){case _0x34539e(0x154):return _0xf86a3a(_0x5174db,_0x34539e(0x177),_0x1e5e88);case _0x34539e(0x12f):return _0xf86a3a(_0x5174db,_0x34539e(0x147),_0x1e5e88);case _0x34539e(0x167):return _0xf86a3a(_0x5174db,_0x34539e(0x12b),_0x1e5e88);}}function jn(_0x40d5e3,_0x58de66,_0x80bf57){const _0x890040=_0x4552da;switch(_0x40d5e3){case _0x890040(0x154):return _0xf86a3a(_0x58de66,_0x890040(0x150),_0x80bf57);case _0x890040(0x12f):return _0xf86a3a(_0x58de66,_0x890040(0x149),_0x80bf57);case _0x890040(0x167):return _0xf86a3a(_0x58de66,_0x890040(0x16e),_0x80bf57);}}
|
|
23
|
+
const _0x25b3ac=_0x53a6;(function(_0xbf49aa,_0x369e5c){const _0x958906=_0x53a6,_0x4e8207=_0xbf49aa();while(!![]){try{const _0x226fae=-parseInt(_0x958906(0xe7))/0x1*(parseInt(_0x958906(0xc8))/0x2)+parseInt(_0x958906(0x9f))/0x3+parseInt(_0x958906(0xdd))/0x4*(-parseInt(_0x958906(0xb6))/0x5)+-parseInt(_0x958906(0xe1))/0x6+-parseInt(_0x958906(0x94))/0x7+-parseInt(_0x958906(0xdf))/0x8+-parseInt(_0x958906(0xe8))/0x9*(-parseInt(_0x958906(0xbb))/0xa);if(_0x226fae===_0x369e5c)break;else _0x4e8207['push'](_0x4e8207['shift']());}catch(_0x5bb6ce){_0x4e8207['push'](_0x4e8207['shift']());}}}(_0x2214,0x52100));import{KeystrokeHandler as _0x16352a}from'ckeditor5/src/utils.js';import{BalloonPanelView as _0x38b112,BodyCollection as _0x58330d,ButtonView as _0xd447f9,clickOutsideHandler as _0x478e3f,ListItemButtonView as _0x4675e8,ListItemView as _0x4ee7b3,ListView as _0x21743d,SplitButtonView as _0x198103,UIModel as _0x5cd733,View as _0x4d09c3}from'ckeditor5/src/ui.js';import{IconCheck as _0x45b065,IconAddComment as _0xfea4a1,IconDocumentWithLoupe as _0x191e1d}from'ckeditor5/src/icons.js';import{getTranslation as _0x43cd6a}from'../../../aicore/utils/common-translations.js';export const ACTIONS=[_0x25b3ac(0xb4),_0x25b3ac(0xd9),_0x25b3ac(0xc9)];export class AIChatFeedSuggestionItemActionsView extends _0x4d09c3{[_0x25b3ac(0xc2)];[_0x25b3ac(0xe6)];[_0x25b3ac(0xf2)];[_0x25b3ac(0xe4)];[_0x25b3ac(0xc1)];[_0x25b3ac(0xdb)]=0x1;[_0x25b3ac(0xb9)];[_0x25b3ac(0xa2)];[_0x25b3ac(0xcb)]=!0x0;constructor(_0x550ea6,_0x45ceed){const _0x582c27=_0x25b3ac;super(_0x550ea6),this[_0x582c27(0xb9)]=_0x45ceed||[...ACTIONS],this[_0x582c27(0xa2)]=[...this[_0x582c27(0xb9)]];const _0x5a38ae=this[_0x582c27(0xa8)];this[_0x582c27(0xed)](_0x582c27(0x93),!0x0),this[_0x582c27(0xed)](_0x582c27(0xb8),!0x0),this[_0x582c27(0xf2)]=new _0x5cd733({'label':wn(_0x582c27(0xb4),_0x550ea6,this[_0x582c27(0xdb)]),'icon':_0x45b065,'withText':!0x0,'type':_0x582c27(0xb0),'actionName':_0x582c27(0xb4)}),this[_0x582c27(0xe4)]=new _0x5cd733({'label':wn(_0x582c27(0xc9),_0x550ea6,this[_0x582c27(0xdb)]),'icon':_0x191e1d,'withText':!0x0,'type':_0x582c27(0xb0),'actionName':_0x582c27(0xc9)}),this[_0x582c27(0xc1)]=new _0x5cd733({'label':wn(_0x582c27(0xd9),_0x550ea6,this[_0x582c27(0xdb)]),'icon':_0xfea4a1,'withText':!0x0,'type':_0x582c27(0xb0),'actionName':_0x582c27(0xd9)}),this[_0x582c27(0xc2)]=this[_0x582c27(0xa5)](_0x550ea6),this[_0x582c27(0xe6)]=this[_0x582c27(0xd6)]([this[_0x582c27(0xc2)]]),this[_0x582c27(0xc6)]({'tag':_0x582c27(0x9a),'attributes':{'class':['ck',_0x582c27(0xee),_0x5a38ae['if'](_0x582c27(0xb8),_0x582c27(0xd0),_0x2dded9=>!_0x2dded9)]},'children':this[_0x582c27(0xe6)]}),this[_0x582c27(0xd1)](this,_0x582c27(0xb5),()=>{const _0x186ef4=_0x582c27;this[_0x186ef4(0xa2)]=this[_0x186ef4(0x9d)]?this[_0x186ef4(0xb9)][_0x186ef4(0xbf)](_0x29f5c3=>_0x186ef4(0xb4)!==_0x29f5c3):[...this[_0x186ef4(0xb9)]],this[_0x186ef4(0x9c)](_0x550ea6);});}[_0x25b3ac(0x9c)](_0x22d968){const _0x5d5af1=_0x25b3ac;this[_0x5d5af1(0xe6)][_0x5d5af1(0xb7)](this[_0x5d5af1(0xc2)])&&(this[_0x5d5af1(0xe6)][_0x5d5af1(0xe2)](this[_0x5d5af1(0xc2)]),this[_0x5d5af1(0xc2)][_0x5d5af1(0xbe)]()),0x0!=this[_0x5d5af1(0xa2)][_0x5d5af1(0xf1)]&&(this[_0x5d5af1(0xc2)]=this[_0x5d5af1(0xa5)](_0x22d968),this[_0x5d5af1(0xe6)][_0x5d5af1(0xcf)](this[_0x5d5af1(0xc2)]));}[_0x25b3ac(0xa5)](_0x2c24b4){const _0x1607da=_0x25b3ac,_0x27efbe=0x1===this[_0x1607da(0xa2)][_0x1607da(0xf1)]?this[_0x1607da(0xaa)](_0x2c24b4):this[_0x1607da(0x97)](_0x2c24b4),_0x5ea510=this[_0x1607da(0xcb)]?'':_0x1607da(0xcd);_0x27efbe[_0x1607da(0xed)]({'label':wn(this[_0x1607da(0xa2)][0x0],_0x2c24b4,this[_0x1607da(0xdb)]),'tooltip':dn(this[_0x1607da(0xa2)][0x0],_0x2c24b4,this[_0x1607da(0xdb)]),'withText':!0x0,'class':_0x1607da(0xab)+_0x5ea510});for(const _0x7224ea of this[_0x1607da(0xa2)])_0x27efbe['on'](_0x7224ea,()=>{const _0x568816=_0x1607da;this[_0x568816(0xca)](_0x7224ea);});return this[_0x1607da(0xcb)]=!0x1,_0x27efbe;}[_0x25b3ac(0xaa)](_0x425825){const _0x599445=_0x25b3ac,_0x8cab15=new _0xd447f9(_0x425825);return _0x8cab15[_0x599445(0xed)]({'class':_0x599445(0xda),'withText':!0x0}),_0x8cab15['on'](_0x599445(0xb2),()=>{const _0x203f15=_0x599445;_0x8cab15[_0x203f15(0xca)](this[_0x203f15(0xa2)][0x0]);}),_0x8cab15;}[_0x25b3ac(0x97)](_0x3d3f0e){const _0x35a86b=_0x25b3ac,_0x2ce272=new pn(_0x3d3f0e,{'listItemModels':this[_0x35a86b(0xa2)][_0x35a86b(0xb1)](_0x5bd3f9=>{const _0x264c42=_0x35a86b;switch(_0x5bd3f9){case _0x264c42(0xb4):return this[_0x264c42(0xf2)];case _0x264c42(0xc9):return this[_0x264c42(0xe4)];case _0x264c42(0xd9):return this[_0x264c42(0xc1)];}})});return _0x2ce272[_0x35a86b(0xed)]({'label':wn(this[_0x35a86b(0xa2)][0x0],_0x3d3f0e,this[_0x35a86b(0xdb)]),'tooltip':dn(this[_0x35a86b(0xa2)][0x0],_0x3d3f0e,this[_0x35a86b(0xdb)]),'withText':!0x0,'class':_0x35a86b(0xee),'balloonPanelClass':_0x35a86b(0x9e)}),_0x2ce272[_0x35a86b(0xb3)](_0x35a86b(0x93))['to'](this),_0x2ce272;}[_0x25b3ac(0xeb)](_0x3d23db){const _0x4bb793=_0x25b3ac,_0x45d3ed=this[_0x4bb793(0x99)];this[_0x4bb793(0xdb)]=_0x3d23db||this[_0x4bb793(0xdb)],this[_0x4bb793(0xc2)][_0x4bb793(0xed)]({'label':wn(this[_0x4bb793(0xa2)][0x0],_0x45d3ed,this[_0x4bb793(0xdb)]),'tooltip':dn(this[_0x4bb793(0xa2)][0x0],_0x45d3ed,this[_0x4bb793(0xdb)])}),this[_0x4bb793(0xf2)][_0x4bb793(0xe3)]=wn(_0x4bb793(0xb4),_0x45d3ed,this[_0x4bb793(0xdb)]),this[_0x4bb793(0xe4)][_0x4bb793(0xe3)]=wn(_0x4bb793(0xc9),_0x45d3ed,this[_0x4bb793(0xdb)]),this[_0x4bb793(0xc1)][_0x4bb793(0xe3)]=wn(_0x4bb793(0xd9),_0x45d3ed,this[_0x4bb793(0xdb)]);}}class pn extends _0x198103{[_0x25b3ac(0xef)];[_0x25b3ac(0xcc)];[_0x25b3ac(0xa1)];[_0x25b3ac(0xa3)];constructor(_0x1b597a,_0x2025ce){const _0x1b7c50=_0x25b3ac;super(_0x1b597a),this[_0x1b7c50(0xcc)]=new _0x38b112(this[_0x1b7c50(0x99)]),this[_0x1b7c50(0xef)]=new _0x58330d(this[_0x1b7c50(0x99)]),this[_0x1b7c50(0xef)][_0x1b7c50(0xbd)](),this[_0x1b7c50(0xed)](_0x1b7c50(0xd4),''),this[_0x1b7c50(0xcc)][_0x1b7c50(0xb3)](_0x1b7c50(0xe5))['to'](this,_0x1b7c50(0xd4)),this[_0x1b7c50(0xa1)]=this[_0x1b7c50(0x95)](_0x2025ce[_0x1b7c50(0xde)][_0x1b7c50(0xd8)](0x1)),this[_0x1b7c50(0xef)][_0x1b7c50(0xcf)](this[_0x1b7c50(0xcc)]),this[_0x1b7c50(0xcc)][_0x1b7c50(0xd2)][_0x1b7c50(0xcf)](this[_0x1b7c50(0xa1)]),this[_0x1b7c50(0x96)][_0x1b7c50(0xa9)](_0x1b7c50(0xea)),this[_0x1b7c50(0x96)][_0x1b7c50(0xed)](_0x1b7c50(0xea),_0x43cd6a(this[_0x1b7c50(0x99)],_0x1b7c50(0xa4))),this[_0x1b7c50(0xa7)](),this['on'](_0x1b7c50(0xb2),()=>{const _0x83c237=_0x1b7c50,_0x300b99=_0x2025ce[_0x83c237(0xde)][0x0][_0x83c237(0xe9)];this[_0x83c237(0xca)](_0x300b99),this[_0x83c237(0xcc)][_0x83c237(0xdc)](),this[_0x83c237(0x96)][_0x83c237(0x98)]();}),this['on'](_0x1b7c50(0xc3),()=>{const _0x4397aa=_0x1b7c50;this[_0x4397aa(0xcc)][_0x4397aa(0xb8)]?(this[_0x4397aa(0xcc)][_0x4397aa(0xdc)](),this[_0x4397aa(0x96)][_0x4397aa(0x98)]()):(this[_0x4397aa(0xcc)][_0x4397aa(0xc0)]({'target':this[_0x4397aa(0xc4)],'positions':[_0x4397aa(0xae)===this[_0x4397aa(0x99)][_0x4397aa(0xac)]?In:Sn]}),this[_0x4397aa(0xa1)][_0x4397aa(0x98)]());}),_0x478e3f({'emitter':this[_0x1b7c50(0xcc)],'callback':()=>{const _0x43faa4=_0x1b7c50;this[_0x43faa4(0xcc)][_0x43faa4(0xdc)]();},'activator':()=>this[_0x1b7c50(0xcc)][_0x1b7c50(0xb8)],'contextElements':()=>[this[_0x1b7c50(0xc4)],this[_0x1b7c50(0xcc)][_0x1b7c50(0xc4)]]});}[_0x25b3ac(0x95)](_0x3c37dd){const _0xfa1a1=_0x25b3ac,_0x2e027c=this[_0xfa1a1(0x99)],_0x3e9b20=new _0x21743d(_0x2e027c);for(const _0x2386f1 of _0x3c37dd){const _0x1e20f6=new _0x4ee7b3(_0x2e027c),_0x557d91=new _0x4675e8(_0x2e027c);_0x557d91[_0xfa1a1(0xb3)](...Object[_0xfa1a1(0xba)](_0x2386f1))['to'](_0x2386f1),_0x557d91[_0xfa1a1(0x9b)](_0xfa1a1(0xb2))['to'](_0x3e9b20),_0x1e20f6[_0xfa1a1(0xe6)][_0xfa1a1(0xcf)](_0x557d91),_0x3e9b20[_0xfa1a1(0xad)][_0xfa1a1(0xcf)](_0x1e20f6);}return _0x3e9b20[_0xfa1a1(0xad)][_0xfa1a1(0x9b)](_0xfa1a1(0xb2))['to'](this),_0x3e9b20['on'](_0xfa1a1(0xb2),_0x474fb2=>{const _0x14a708=_0xfa1a1,_0x1761ef=_0x474fb2[_0x14a708(0xd3)];this[_0x14a708(0xca)](_0x1761ef[_0x14a708(0xe9)]),this[_0x14a708(0xcc)][_0x14a708(0xdc)](),this[_0x14a708(0x96)][_0x14a708(0x98)]();}),_0x3e9b20;}[_0x25b3ac(0xa7)](){const _0x50bca5=_0x25b3ac;this[_0x50bca5(0xa3)]=new _0x16352a(),this[_0x50bca5(0xa3)][_0x50bca5(0xd1)](this[_0x50bca5(0xcc)][_0x50bca5(0xc4)]),this[_0x50bca5(0xa3)][_0x50bca5(0xed)](_0x50bca5(0xc7),(_0x22acd9,_0x164e44)=>{const _0x23cacd=_0x50bca5;this[_0x23cacd(0xcc)][_0x23cacd(0xdc)](),this[_0x23cacd(0x96)][_0x23cacd(0x98)](),_0x164e44();});}[_0x25b3ac(0xbe)](){const _0x46d80a=_0x25b3ac;super[_0x46d80a(0xbe)](),this[_0x46d80a(0xa3)][_0x46d80a(0xbe)](),this[_0x46d80a(0xcc)][_0x46d80a(0xbe)](),this[_0x46d80a(0xef)][_0x46d80a(0xa0)]();}}function _0x53a6(_0x3c651a,_0x4947f8){const _0x221466=_0x2214();return _0x53a6=function(_0x53a610,_0x45f2e7){_0x53a610=_0x53a610-0x93;let _0x4df023=_0x221466[_0x53a610];return _0x4df023;},_0x53a6(_0x3c651a,_0x4947f8);}function In(_0x2f31e1){const _0x3e0aaf=_0x25b3ac;return{'top':_0x2f31e1[_0x3e0aaf(0xd5)],'left':_0x2f31e1[_0x3e0aaf(0xa6)],'name':_0x3e0aaf(0xc5),'config':{'withArrow':!0x1}};}function Sn(_0x290572,_0x367c23){const _0x2b40f4=_0x25b3ac;return{'top':_0x290572[_0x2b40f4(0xd5)],'left':_0x290572[_0x2b40f4(0xa6)]-(_0x367c23[_0x2b40f4(0xe0)]-_0x290572[_0x2b40f4(0xe0)]),'name':_0x2b40f4(0xc5),'config':{'withArrow':!0x1}};}function wn(_0x196313,_0x437187,_0x46ac6f){const _0x50c4d7=_0x25b3ac;switch(_0x196313){case _0x50c4d7(0xb4):return _0x43cd6a(_0x437187,_0x50c4d7(0xce),_0x46ac6f);case _0x50c4d7(0xc9):return _0x43cd6a(_0x437187,_0x50c4d7(0xaf),_0x46ac6f);case _0x50c4d7(0xd9):return _0x43cd6a(_0x437187,_0x50c4d7(0xd7),_0x46ac6f);}}function dn(_0x5ae9f1,_0x1d9e94,_0x529675){const _0x164ba5=_0x25b3ac;switch(_0x5ae9f1){case _0x164ba5(0xb4):return _0x43cd6a(_0x1d9e94,_0x164ba5(0xbc),_0x529675);case _0x164ba5(0xc9):return _0x43cd6a(_0x1d9e94,_0x164ba5(0xf0),_0x529675);case _0x164ba5(0xd9):return _0x43cd6a(_0x1d9e94,_0x164ba5(0xec),_0x529675);}}function _0x2214(){const _0x1e5b24=['actionName','tooltip','updateLabels','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION_TOOLTIP','set','ck-ai-chat__feed__ai-suggestion__actions','bodyCollection','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT_TOOLTIP','length','applySuggestionModel','isEnabled','3851904PoHion','_setUpList','arrowView','_createActionsDropdown','focus','locale','div','delegate','_updateDropdownActions','isTrackChangesOn','ck-ai-chat__feed__ai-suggestion__actions__balloon','460623ZKYbBI','detachFromDom','listView','_dropdownCurrentConfig','keystrokeHandler','AI_CHAT_SUGGESTION_MORE_OPTIONS_TOOLTIP','_createActionsDropdownOrButton','left','_setUpKeystrokes','bindTemplate','unbind','_createActionsButton','ck-ai-chat__feed__ai-suggestion__actions\x20','uiLanguageDirection','items','ltr','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT','button','map','execute','bind','applySuggestion','change:isTrackChangesOn','7230sbsiDp','has','isVisible','_dropdownOriginalConfig','keys','1416720zEAter','AI_CHAT_SUGGESTION_ACTION_APPLY_TOOLTIP','attachToDom','destroy','filter','pin','insertSuggestionModel','actionsButton','open','element','arrowless','setTemplate','esc','624988hzsmGd','showChangeInText','fire','_firstRender','balloonPanelView','ck-ai-chat__feed__ai-suggestion__actions--no-animation','AI_CHAT_SUGGESTION_ACTION_APPLY_LABEL','add','ck-hidden','listenTo','content','source','balloonPanelClass','bottom','createCollection','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION','slice','insertSuggestion','ck-ai-button-primary','_partsCount','hide','1256ayFhho','listItemModels','2575048fESRKv','width','797880mGtdia','remove','label','showChangeInTextModel','class','children','2vxUhMQ','144GLcJUS'];_0x2214=function(){return _0x1e5b24;};return _0x2214();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x264ee1=_0x4436;(function(_0x41dbfc,_0x41766c){var _0x3ec906=_0x4436,_0x1f0d96=_0x41dbfc();while(!![]){try{var _0x1c19a7=-parseInt(_0x3ec906(0x97))/0x1+-parseInt(_0x3ec906(0x98))/0x2*(-parseInt(_0x3ec906(0x9d))/0x3)+-parseInt(_0x3ec906(0x9b))/0x4+-parseInt(_0x3ec906(0xb1))/0x5*(parseInt(_0x3ec906(0xc2))/0x6)+-parseInt(_0x3ec906(0xa4))/0x7*(-parseInt(_0x3ec906(0xba))/0x8)+parseInt(_0x3ec906(0xaf))/0x9+-parseInt(_0x3ec906(0xc3))/0xa*(-parseInt(_0x3ec906(0xbd))/0xb);if(_0x1c19a7===_0x41766c)break;else _0x1f0d96['push'](_0x1f0d96['shift']());}catch(_0x116fca){_0x1f0d96['push'](_0x1f0d96['shift']());}}}(_0x3f9c,0x635fc));import{AIChatFeedItemView as _0x4eddc4}from'./aichatfeeditemview.js';function _0x4436(_0x41f8d8,_0x5c6434){var _0x3f9c22=_0x3f9c();return _0x4436=function(_0x44367f,_0x18d1ce){_0x44367f=_0x44367f-0x97;var _0xc22493=_0x3f9c22[_0x44367f];return _0xc22493;},_0x4436(_0x41f8d8,_0x5c6434);}function _0x3f9c(){var _0x3161c3=['actionsView','ck-ai-chat__feed__ai-suggestion','332899brZMqe','areActionsDisabled','updatePartState','showChangeInText','updateContent','markAsDone','options','mouseOverSuggestion','partsCount','insertSuggestion','updateLabels','6421500itgQcc','hasPendingParts','5mIvSdL','like','bind','isEnabled','hasNonEmptyParts','getPartView','mouseLeaveSuggestion','isTrackChangesOn','fire','96GiagYa','addMany','showDiff','231MIHTuq','rejectSuggestion','applySuggestion','dislike','containerView','4776198GggRhq','103810UWBltB','52001VjSILc','2HxvIzj','extendTemplate','dropdownConfig','3244136QsdEQf','toggleSuggestionDisplayMode','1691757vbEcNm','isVisible','updateSources','children','bodyView'];_0x3f9c=function(){return _0x3161c3;};return _0x3f9c();}import{AISuggestionContainerView as _0x95975d}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';import{AIChatFeedSuggestionItemActionsView as _0x234123}from'./aichatfeedsuggestionitemactionsview.js';export class AIChatFeedSuggestionItemView extends _0x4eddc4{[_0x264ee1(0xc1)];[_0x264ee1(0xa2)];constructor(_0x45e5df,_0xfb066c){var _0x56d89f=_0x264ee1;super(_0xfb066c),this[_0x56d89f(0xc1)]=new _0x95975d(_0x45e5df,{'showDiff':_0xfb066c[_0x56d89f(0xbc)],'areActionsDisabled':_0xfb066c[_0x56d89f(0xa5)]}),this[_0x56d89f(0xc1)]['on'](_0x56d89f(0x9c),(_0xa43f58,_0x47aab3)=>{var _0x1888e5=_0x56d89f;this[_0x1888e5(0xb9)](_0x1888e5(0x9c),{'replyId':this[_0x1888e5(0xaa)]['id'],'showDiff':_0x47aab3[_0x1888e5(0xbc)]});}),this[_0x56d89f(0xc1)]['on'](_0x56d89f(0xb2),()=>{var _0x4b0362=_0x56d89f;this[_0x4b0362(0xb9)](_0x4b0362(0xb2),{'replyId':this[_0x4b0362(0xaa)]['id']});}),this[_0x56d89f(0xc1)]['on'](_0x56d89f(0xc0),()=>{var _0x58a820=_0x56d89f;this[_0x58a820(0xb9)](_0x58a820(0xc0),{'replyId':this[_0x58a820(0xaa)]['id']});}),this[_0x56d89f(0xc1)]['on'](_0x56d89f(0xa7),(_0xba71f6,{index:_0x5b0b8f})=>{var _0x3d502d=_0x56d89f;this[_0x3d502d(0xb9)](_0x3d502d(0xa7),{'replyId':this[_0x3d502d(0xaa)]['id'],'partIndex':_0x5b0b8f});}),this[_0x56d89f(0xc1)]['on'](_0x56d89f(0xad),(_0x473b8c,{index:_0x4725e2})=>{var _0x285db7=_0x56d89f;this[_0x285db7(0xb9)](_0x285db7(0xad),{'replyId':this[_0x285db7(0xaa)]['id'],'partIndex':_0x4725e2});}),this[_0x56d89f(0xc1)]['on'](_0x56d89f(0xbe),(_0x558b3e,{index:_0x322c81})=>{var _0x85caba=_0x56d89f;this[_0x85caba(0xb9)](_0x85caba(0xbe),{'replyId':this[_0x85caba(0xaa)]['id'],'partIndex':_0x322c81});}),this[_0x56d89f(0xc1)]['on'](_0x56d89f(0xab),(_0x29c881,{index:_0x151094})=>{var _0x427980=_0x56d89f;this[_0x427980(0xb9)](_0x427980(0xab),{'replyId':this[_0x427980(0xaa)]['id'],'partIndex':_0x151094});}),this[_0x56d89f(0xc1)]['on'](_0x56d89f(0xb7),(_0x1d16d0,{index:_0x4c2770})=>{var _0x29e125=_0x56d89f;this[_0x29e125(0xb9)](_0x29e125(0xb7),{'replyId':this[_0x29e125(0xaa)]['id'],'partIndex':_0x4c2770});}),this[_0x56d89f(0xa2)]=new _0x234123(_0x45e5df,this[_0x56d89f(0xaa)][_0x56d89f(0x9a)]),this[_0x56d89f(0xa2)][_0x56d89f(0xb3)](_0x56d89f(0xb8))['to'](this,_0x56d89f(0xb8)),this[_0x56d89f(0xa2)]['on'](_0x56d89f(0xa7),()=>{var _0x44ec6e=_0x56d89f;this[_0x44ec6e(0xb9)](_0x44ec6e(0xa7),{'replyId':this[_0x44ec6e(0xaa)]['id']});}),this[_0x56d89f(0xa2)]['on'](_0x56d89f(0xad),()=>{var _0xb31fd7=_0x56d89f;this[_0xb31fd7(0xb9)](_0xb31fd7(0xad),{'replyId':this[_0xb31fd7(0xaa)]['id']});}),this[_0x56d89f(0xa2)]['on'](_0x56d89f(0xbf),()=>{var _0x35215d=_0x56d89f;this[_0x35215d(0xb9)](_0x35215d(0xbf),{'replyId':this[_0x35215d(0xaa)]['id']});}),_0xfb066c[_0x56d89f(0xa5)]?this[_0x56d89f(0xa2)][_0x56d89f(0xb4)]=!0x1:this[_0x56d89f(0xa2)][_0x56d89f(0xb3)](_0x56d89f(0xb4))['to'](this[_0x56d89f(0xc1)][_0x56d89f(0xa1)],_0x56d89f(0xb0)),this[_0x56d89f(0xa0)][_0x56d89f(0xbb)]([this[_0x56d89f(0xc1)],this[_0x56d89f(0xa2)]]),this[_0x56d89f(0x99)]({'attributes':{'class':[_0x56d89f(0xa3)]}});}async[_0x264ee1(0xa8)](_0x54bbd5){var _0x4197d2=_0x264ee1;await this[_0x4197d2(0xc1)][_0x4197d2(0xa8)](_0x54bbd5),this[_0x4197d2(0xa2)][_0x4197d2(0xae)](this[_0x4197d2(0xc1)][_0x4197d2(0xa1)][_0x4197d2(0xac)]);}[_0x264ee1(0xa6)](_0x2c7c77,_0xffd14e){var _0x22b792=_0x264ee1;this[_0x22b792(0xc1)][_0x22b792(0xa1)][_0x22b792(0xa6)](_0x2c7c77,_0xffd14e);}[_0x264ee1(0x9f)](_0x394e74){var _0x2a0eff=_0x264ee1;this[_0x2a0eff(0xc1)][_0x2a0eff(0x9f)](_0x394e74);}[_0x264ee1(0xb6)](_0x39cf81){var _0x1182ef=_0x264ee1;return this[_0x1182ef(0xc1)][_0x1182ef(0xa1)][_0x1182ef(0xb6)](_0x39cf81);}[_0x264ee1(0xa9)](){var _0x3b939c=_0x264ee1;super[_0x3b939c(0xa9)](),this[_0x3b939c(0xc1)][_0x3b939c(0xa9)](),this[_0x3b939c(0xa2)][_0x3b939c(0x9e)]=this[_0x3b939c(0xc1)][_0x3b939c(0xa1)][_0x3b939c(0xb5)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
var _0x384ed8=_0x2883;function _0x26ed(){var _0x57d3dc=['210857DGFnaS','113628jMRnuO','6636839xUtLjU','setTemplate','_createMessageContentView','length','2548685fnVobm','4fucrJm','add','extendTemplate','_contextChipsView','markAsDone','filter','ck-ai-chat__feed__message-content','_locale','ck-ai-chat__feed__user-message','_createContextChipsView','contextItems','5510320QedJFT','div','render','684RUzNzu','hidden','ck-ai-chat__feed__context-chips','children','696OYDKKR','21wYUCCZ','39393ZjeVXr','_bodyCollection','innerHTML','_messageContentView','initialContent','element','12687DnlNzz','options'];_0x26ed=function(){return _0x57d3dc;};return _0x26ed();}(function(_0x58f3bf,_0x4815a3){var _0x13a3dc=_0x2883,_0x5ebf33=_0x58f3bf();while(!![]){try{var _0x46953b=-parseInt(_0x13a3dc(0xe9))/0x1*(parseInt(_0x13a3dc(0xf0))/0x2)+parseInt(_0x13a3dc(0xe7))/0x3*(parseInt(_0x13a3dc(0xdb))/0x4)+parseInt(_0x13a3dc(0xef))/0x5+-parseInt(_0x13a3dc(0xea))/0x6*(-parseInt(_0x13a3dc(0xe0))/0x7)+-parseInt(_0x13a3dc(0xdf))/0x8*(parseInt(_0x13a3dc(0xe1))/0x9)+parseInt(_0x13a3dc(0xd8))/0xa+-parseInt(_0x13a3dc(0xeb))/0xb;if(_0x46953b===_0x4815a3)break;else _0x5ebf33['push'](_0x5ebf33['shift']());}catch(_0x11be27){_0x5ebf33['push'](_0x5ebf33['shift']());}}}(_0x26ed,0x6a2c0));import{AIChatFeedItemView as _0x2cb9a6}from'./aichatfeeditemview.js';import{AIChatFeedContextChipsView as _0x315eb7}from'./aichatfeedcontextchipsview.js';function _0x2883(_0x535abf,_0xeded95){var _0x26edca=_0x26ed();return _0x2883=function(_0x2883be,_0x4306b8){_0x2883be=_0x2883be-0xce;var _0x397699=_0x26edca[_0x2883be];return _0x397699;},_0x2883(_0x535abf,_0xeded95);}import{View as _0x37dbbd}from'ckeditor5/src/ui.js';export class AIChatFeedUserMessageItemView extends _0x2cb9a6{[_0x384ed8(0xd0)]=null;[_0x384ed8(0xd4)];[_0x384ed8(0xe2)];[_0x384ed8(0xe4)];constructor(_0x2e222a,_0x1ba93d,_0x40146b){var _0x5e1d56=_0x384ed8;super(_0x1ba93d),this[_0x5e1d56(0xd4)]=_0x2e222a,this[_0x5e1d56(0xe2)]=_0x40146b,this[_0x5e1d56(0xd6)](),this[_0x5e1d56(0xed)](),this[_0x5e1d56(0xcf)]({'attributes':{'class':[_0x5e1d56(0xd5)]}});}[_0x384ed8(0xd6)](){var _0x47a28b=_0x384ed8;this[_0x47a28b(0xe8)][_0x47a28b(0xd7)]&&this[_0x47a28b(0xe8)][_0x47a28b(0xd7)][_0x47a28b(0xee)]>0x0&&(this[_0x47a28b(0xd0)]=new _0x315eb7(this[_0x47a28b(0xd4)],this[_0x47a28b(0xe8)][_0x47a28b(0xd7)][_0x47a28b(0xd2)](_0x5ed332=>!_0x5ed332[_0x47a28b(0xdc)]),this[_0x47a28b(0xe2)]),this[_0x47a28b(0xd0)][_0x47a28b(0xcf)]({'attributes':{'class':_0x47a28b(0xdd)}}),this[_0x47a28b(0xde)][_0x47a28b(0xce)](this[_0x47a28b(0xd0)]));}[_0x384ed8(0xed)](){var _0x521875=_0x384ed8;this[_0x521875(0xe4)]=new _0x37dbbd(this[_0x521875(0xd4)]),this[_0x521875(0xe4)][_0x521875(0xec)]({'tag':_0x521875(0xd9),'attributes':{'class':_0x521875(0xd3)}}),this[_0x521875(0xde)][_0x521875(0xce)](this[_0x521875(0xe4)]);}[_0x384ed8(0xda)](){var _0x2c8109=_0x384ed8;super[_0x2c8109(0xda)](),this[_0x2c8109(0xe4)][_0x2c8109(0xe6)][_0x2c8109(0xe3)]=this[_0x2c8109(0xe8)][_0x2c8109(0xe5)],this[_0x2c8109(0xd1)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x448743=_0x10b6;function _0x4ddd(){const _0x1b1656=['508792DaENHo','63LcwzzA','toggleWebSearch','sendUserMessage','334164FRAlYY','addFileToContext','3965670XQTRBd','removeContextItem','loadSourceResources','selectModel','403407dTnBIr','startConversation','toggleReasoning','27AYxEtC','370542bXuCjg','42BEIhDV','1116McyVpw','addUrlToContext','15jkrRWL','addResourceToContext','abortPromptStream','8114370NVwYmq','addDocumentToContext','resizeTabs'];_0x4ddd=function(){return _0x1b1656;};return _0x4ddd();}(function(_0x262b52,_0xfd20d7){const _0x549a19=_0x10b6,_0x7d226b=_0x262b52();while(!![]){try{const _0x4f3f9f=parseInt(_0x549a19(0x7b))/0x1+parseInt(_0x549a19(0x81))/0x2*(-parseInt(_0x549a19(0x7e))/0x3)+parseInt(_0x549a19(0x8d))/0x4*(parseInt(_0x549a19(0x83))/0x5)+-parseInt(_0x549a19(0x7f))/0x6*(-parseInt(_0x549a19(0x80))/0x7)+-parseInt(_0x549a19(0x89))/0x8*(-parseInt(_0x549a19(0x8a))/0x9)+-parseInt(_0x549a19(0x8f))/0xa+-parseInt(_0x549a19(0x86))/0xb;if(_0x4f3f9f===_0xfd20d7)break;else _0x7d226b['push'](_0x7d226b['shift']());}catch(_0x34809c){_0x7d226b['push'](_0x7d226b['shift']());}}}(_0x4ddd,0x50b0a));function _0x10b6(_0x572f8,_0x2d2f25){const _0x4ddd09=_0x4ddd();return _0x10b6=function(_0x10b64b,_0xd37645){_0x10b64b=_0x10b64b-0x7b;let _0xa053af=_0x4ddd09[_0x10b64b];return _0xa053af;},_0x10b6(_0x572f8,_0x2d2f25);}import{AI_SUGGESTION_UI_EVENT_NAMES as _0x26971c}from'../../aicore/utils/eventnames.js';export const AI_CHAT_UI_EVENT_NAMES=[..._0x26971c,_0x448743(0x7c),_0x448743(0x88),_0x448743(0x8c),_0x448743(0x85),_0x448743(0x87),_0x448743(0x8e),_0x448743(0x82),_0x448743(0x84),_0x448743(0x90),_0x448743(0x91),_0x448743(0x8b),_0x448743(0x7d),_0x448743(0x92)];
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x317c1c=_0x37f0;(function(_0xd20592,_0xe4c13){const _0x596797=_0x37f0,_0x39090f=_0xd20592();while(!![]){try{const _0x3e8d5d=-parseInt(_0x596797(0x18d))/0x1+-parseInt(_0x596797(0x195))/0x2+-parseInt(_0x596797(0x18f))/0x3+-parseInt(_0x596797(0x19e))/0x4*(parseInt(_0x596797(0x192))/0x5)+-parseInt(_0x596797(0x190))/0x6+-parseInt(_0x596797(0x188))/0x7*(-parseInt(_0x596797(0x191))/0x8)+parseInt(_0x596797(0x1a3))/0x9;if(_0x3e8d5d===_0xe4c13)break;else _0x39090f['push'](_0x39090f['shift']());}catch(_0x19565a){_0x39090f['push'](_0x39090f['shift']());}}}(_0x3df1,0xf017a));function _0x3df1(){const _0x25ca30=['496chaQqA','1055eluLEG','abort','signal','2558222VlUyHg','_queueEmpty','push','_processQueue','queueEmptyPromise','createTask','callback','_abortController','fire','36468tudeFR','once','length','enqueue','queue','66190617orrZkg','72429qFTCoj','isProcessing','shift','completePromise','resolve','1127755KCjCKg','reject','3627609bGXLXz','8837118YnGUFI'];_0x3df1=function(){return _0x25ca30;};return _0x3df1();}function _0x37f0(_0x534dad,_0x2c25c6){const _0x3df14c=_0x3df1();return _0x37f0=function(_0x37f0b1,_0x41722e){_0x37f0b1=_0x37f0b1-0x188;let _0x2bb107=_0x3df14c[_0x37f0b1];return _0x2bb107;},_0x37f0(_0x534dad,_0x2c25c6);}import{EmitterMixin as _0x30bce3}from'ckeditor5/src/utils.js';export class PromiseQueue extends _0x30bce3(){[_0x317c1c(0x1a2)]=[];[_0x317c1c(0x189)]=!0x1;[_0x317c1c(0x19c)];async[_0x317c1c(0x1a1)](_0xc69fae){const _0x3e7404=_0x317c1c,_0x909f3e=this[_0x3e7404(0x19a)](_0xc69fae);return this[_0x3e7404(0x1a2)][_0x3e7404(0x197)](_0x909f3e),this[_0x3e7404(0x198)](),_0x909f3e[_0x3e7404(0x18b)];}[_0x317c1c(0x193)](){const _0x495457=_0x317c1c;this[_0x495457(0x189)]&&(this[_0x495457(0x19c)][_0x495457(0x193)](),this[_0x495457(0x19c)]=void 0x0,this[_0x495457(0x1a2)]=[],this[_0x495457(0x19d)](_0x495457(0x196)),this[_0x495457(0x189)]=!0x1);}get[_0x317c1c(0x199)](){const _0x462b2d=_0x317c1c;return this[_0x462b2d(0x1a2)][_0x462b2d(0x1a0)]||this[_0x462b2d(0x189)]?new Promise(_0x6d1fb2=>{const _0x16df83=_0x462b2d;this[_0x16df83(0x19f)](_0x16df83(0x196),()=>{_0x6d1fb2();});}):Promise[_0x462b2d(0x18c)]();}async[_0x317c1c(0x198)](){const _0x599454=_0x317c1c;if(!this[_0x599454(0x189)]){this[_0x599454(0x19c)]=new AbortController(),this[_0x599454(0x189)]=!0x0;try{for(;this[_0x599454(0x1a2)][_0x599454(0x1a0)]&&this[_0x599454(0x189)];){const _0x42f84e=this[_0x599454(0x1a2)][_0x599454(0x18a)]();try{await _0x42f84e[_0x599454(0x19b)](this[_0x599454(0x19c)][_0x599454(0x194)]),_0x42f84e[_0x599454(0x18c)]();}catch(_0x15a2f2){_0x42f84e[_0x599454(0x18e)](_0x15a2f2);}}}finally{this[_0x599454(0x189)]=!0x1,this[_0x599454(0x19c)]=void 0x0;}this[_0x599454(0x19d)](_0x599454(0x196));}}[_0x317c1c(0x19a)](_0x3f5f81){let _0x47e939,_0x5a3698;const _0x32641a=new Promise((_0x376e6c,_0x24509b)=>{_0x47e939=_0x376e6c,_0x5a3698=_0x24509b;});return{'callback':_0x3f5f81,'resolve':_0x47e939,'reject':_0x5a3698,'completePromise':_0x32641a};}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x54aadb=_0x2617;(function(_0x556f84,_0x2170cf){const _0x1e4747=_0x2617,_0x1434fc=_0x556f84();while(!![]){try{const _0x1974f8=parseInt(_0x1e4747(0x10d))/0x1+-parseInt(_0x1e4747(0xf4))/0x2*(-parseInt(_0x1e4747(0x104))/0x3)+-parseInt(_0x1e4747(0xfb))/0x4+parseInt(_0x1e4747(0x103))/0x5*(parseInt(_0x1e4747(0x113))/0x6)+parseInt(_0x1e4747(0xfa))/0x7+parseInt(_0x1e4747(0x10b))/0x8*(parseInt(_0x1e4747(0xf7))/0x9)+-parseInt(_0x1e4747(0x10c))/0xa;if(_0x1974f8===_0x2170cf)break;else _0x1434fc['push'](_0x1434fc['shift']());}catch(_0xdd4493){_0x1434fc['push'](_0x1434fc['shift']());}}}(_0x2c48,0x6ff77));function _0x2617(_0x1e0245,_0x35d30e){const _0x2c4855=_0x2c48();return _0x2617=function(_0x26178d,_0x10327c){_0x26178d=_0x26178d-0xf0;let _0x2eee8f=_0x2c4855[_0x26178d];return _0x2eee8f;},_0x2617(_0x1e0245,_0x35d30e);}const ls=[_0x54aadb(0x100),_0x54aadb(0x119),_0x54aadb(0x115),_0x54aadb(0x107)],ms=[_0x54aadb(0xf2),_0x54aadb(0xf0),_0x54aadb(0x102),_0x54aadb(0xf9),_0x54aadb(0xf8),_0x54aadb(0x109),'\x20'];function _0x2c48(){const _0x1b9d15=['88xqKnTw','13313060ZHsMJV','530181TOYXNS','key','animationFrameId','isRunning','auto','deltaY','6fcKGXw','scrollTo','pointerdown','element','isUserPaused','_stop','touchstart','signal','ArrowDown','bind','ArrowUp','destroy','696558NEAzbL','abort','abortController','92628UURpBA','Home','PageDown','2966649UiDWRy','3263664oCJGKV','addEventListener','scrollHeight','start','_onUserEvent','wheel','includes','PageUp','4210395mIdbQr','6FLtwZh','type','stop','keydown','_isAtBottom','End','_rafUpdate'];_0x2c48=function(){return _0x1b9d15;};return _0x2c48();}export class ScrollManager{[_0x54aadb(0x116)];[_0x54aadb(0x10f)];[_0x54aadb(0x110)];[_0x54aadb(0xf6)];[_0x54aadb(0x117)];constructor(_0x44d979){const _0x4c5e44=_0x54aadb;this[_0x4c5e44(0x116)]=_0x44d979,this[_0x4c5e44(0x10f)]=null,this[_0x4c5e44(0x110)]=!0x1,this[_0x4c5e44(0xf6)]=new AbortController(),this[_0x4c5e44(0x117)]=!0x1;for(const _0x2194f5 of ls){const _0x1a32a0=_0x4c5e44(0x107)!==_0x2194f5;this[_0x4c5e44(0x116)][_0x4c5e44(0xfc)](_0x2194f5,this[_0x4c5e44(0xff)][_0x4c5e44(0xf1)](this),{'passive':_0x1a32a0,'signal':this[_0x4c5e44(0xf6)][_0x4c5e44(0x11a)]});}}[_0x54aadb(0xfe)](){const _0x5435aa=_0x54aadb;this[_0x5435aa(0x110)]||(this[_0x5435aa(0x110)]=!0x0,this[_0x5435aa(0x117)]=!0x1,this[_0x5435aa(0x10f)]=requestAnimationFrame(this[_0x5435aa(0x10a)][_0x5435aa(0xf1)](this)));}[_0x54aadb(0x106)](){requestAnimationFrame(()=>{const _0x1ef9d4=_0x2617;this[_0x1ef9d4(0x118)]();});}[_0x54aadb(0xf3)](){const _0x5c108c=_0x54aadb;this[_0x5c108c(0x118)](),this[_0x5c108c(0xf6)][_0x5c108c(0xf5)]();}[_0x54aadb(0x118)](){const _0x384fc2=_0x54aadb;null!==this[_0x384fc2(0x10f)]&&(cancelAnimationFrame(this[_0x384fc2(0x10f)]),this[_0x384fc2(0x10f)]=null),this[_0x384fc2(0x110)]&&(this[_0x384fc2(0x110)]=!0x1),this[_0x384fc2(0x117)]=!0x1;}[_0x54aadb(0xff)](_0x4faafd){const _0x151b25=_0x54aadb;if(this[_0x151b25(0x110)]){if(_0x151b25(0x107)===_0x4faafd[_0x151b25(0x105)]){const _0x4b4db7=_0x4faafd[_0x151b25(0x10e)];if(!ms[_0x151b25(0x101)](_0x4b4db7))return;}_0x4faafd instanceof WheelEvent?_0x4faafd[_0x151b25(0x112)]<0x0?this[_0x151b25(0x117)]=!0x0:this[_0x151b25(0x117)]=!this[_0x151b25(0x108)]():this[_0x151b25(0x117)]=!0x0;}}[_0x54aadb(0x108)](){const _0x1cdf80=_0x54aadb,{scrollTop:_0x25e79a,scrollHeight:_0x45c6ce,clientHeight:_0x15648d}=this[_0x1cdf80(0x116)];return _0x45c6ce-_0x25e79a-_0x15648d<=0x5;}[_0x54aadb(0x10a)](){const _0x5ca553=_0x54aadb;this[_0x5ca553(0x110)]&&(this[_0x5ca553(0x117)]||this[_0x5ca553(0x116)][_0x5ca553(0x114)]({'top':this[_0x5ca553(0x116)][_0x5ca553(0xfd)],'behavior':_0x5ca553(0x111)}),this[_0x5ca553(0x10f)]=requestAnimationFrame(this[_0x5ca553(0x10a)][_0x5ca553(0xf1)](this)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x2eb8(){var _0x3d0a9b=['pluginName','941373wpWjxb','652190EiEBJZ','isPremiumPlugin','177315SgXTeC','requires','isOfficialPlugin','35461Oexujp','212120JELlZB','16vbKovA','1014419EElHEj','127077UmSagi','42mVctuI','14RpxRLf','AIChatHistory'];_0x2eb8=function(){return _0x3d0a9b;};return _0x2eb8();}var _0x11129c=_0x72ac;(function(_0x5b77dd,_0x53bb20){var _0x29cf2b=_0x72ac,_0x25f755=_0x5b77dd();while(!![]){try{var _0x488304=parseInt(_0x29cf2b(0xb7))/0x1*(-parseInt(_0x29cf2b(0xbd))/0x2)+-parseInt(_0x29cf2b(0xbb))/0x3+-parseInt(_0x29cf2b(0xb8))/0x4+-parseInt(_0x29cf2b(0xc3))/0x5*(-parseInt(_0x29cf2b(0xbc))/0x6)+parseInt(_0x29cf2b(0xba))/0x7*(parseInt(_0x29cf2b(0xb9))/0x8)+-parseInt(_0x29cf2b(0xc0))/0x9+parseInt(_0x29cf2b(0xc1))/0xa;if(_0x488304===_0x53bb20)break;else _0x25f755['push'](_0x25f755['shift']());}catch(_0x11175e){_0x25f755['push'](_0x25f755['shift']());}}}(_0x2eb8,0x25dc9));function _0x72ac(_0x322171,_0x23f77f){var _0x2eb802=_0x2eb8();return _0x72ac=function(_0x72ac5a,_0x20c549){_0x72ac5a=_0x72ac5a-0xb5;var _0x2b762c=_0x2eb802[_0x72ac5a];return _0x2b762c;},_0x72ac(_0x322171,_0x23f77f);}import{ContextPlugin as _0x3bb51f}from'ckeditor5/src/core.js';import{AIChatHistoryController as _0x5cd389}from'./aichathistorycontroller.js';import{AIChatHistoryUI as _0x1f81bb}from'./aichathistoryui.js';export{AIChatHistoryItem}from'./model/aichathistoryitem.js';export class AIChatHistory extends _0x3bb51f{static get[_0x11129c(0xb5)](){return[_0x5cd389,_0x1f81bb];}static get[_0x11129c(0xbf)](){var _0x1184d9=_0x11129c;return _0x1184d9(0xbe);}static get[_0x11129c(0xb6)](){return!0x0;}static get[_0x11129c(0xc2)](){return!0x0;}}
|