@ckeditor/ckeditor5-ai 47.2.0-alpha.5 → 47.2.0-alpha.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/dist/index.js +5 -5
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +15 -15
- package/src/aiactions/aiactions.js +1 -1
- package/src/aiactions/model/aiactionsinteraction.js +1 -1
- package/src/aiactions/model/aiactionsreply.js +1 -1
- package/src/aiassistant/adapters/aiadapter.js +1 -1
- package/src/aiassistant/adapters/aitextadapter.js +1 -1
- package/src/aiassistant/adapters/awstextadapter.js +1 -1
- package/src/aiassistant/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant/aiassistant.js +1 -1
- package/src/aiassistant/aiassistantediting.js +1 -1
- package/src/aiassistant/aiassistantui.js +1 -1
- package/src/aiassistant/legacyerrors.js +1 -1
- package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
- package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
- package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
- package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
- package/src/aiassistant/ui/form/aiformview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
- package/src/aiassistant/ui/form/prompthistory.js +1 -1
- package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
- package/src/aiassistant/utils/common-translations.js +1 -1
- package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
- package/src/aiballoon/aiballoon.js +1 -1
- package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
- package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
- package/src/aiballoon/ui/aiballoonview.js +1 -1
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.d.ts +10 -2
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/model/aichatmodels.js +1 -1
- package/src/aichat/ui/aichatcontrolsview.js +1 -1
- package/src/aichat/ui/aichatfeedview.js +1 -1
- package/src/aichat/ui/aichatheaderview.js +1 -1
- package/src/aichat/ui/aichatview.js +1 -1
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
- package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
- package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
- package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
- package/src/aichat/utils/eventnames.js +1 -1
- package/src/aichat/utils/promisequeue.js +1 -1
- package/src/aichat/utils/scrollmanager.js +1 -1
- package/src/aichathistory/aichathistory.js +1 -1
- package/src/aichathistory/aichathistorycontroller.js +1 -1
- package/src/aichathistory/aichathistoryui.js +1 -1
- package/src/aichathistory/model/aichathistoryconversations.js +1 -1
- package/src/aichathistory/model/aichathistoryitem.js +1 -1
- package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
- package/src/aichathistory/ui/aichathistorylistview.js +1 -1
- package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
- package/src/aichathistory/ui/aichathistoryview.js +1 -1
- package/src/aicore/aiconnector.js +1 -1
- package/src/aicore/aiediting.js +1 -1
- package/src/aicore/model/aicapabilities.js +1 -1
- package/src/aicore/model/aicontext.js +1 -1
- package/src/aicore/model/aiinteraction.js +1 -1
- package/src/aicore/model/aimodels.js +1 -1
- package/src/aicore/model/aireply.js +1 -1
- package/src/aicore/pipeline/airesponseapplier.js +2 -2
- package/src/aicore/pipeline/airesponseparser.js +2 -2
- package/src/aicore/ui/aidisclaimerview.js +1 -1
- package/src/aicore/ui/aiskeleton.js +1 -1
- package/src/aicore/ui/aispinner.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
- package/src/aicore/utils/common-translations.js +1 -1
- package/src/aicore/utils/createresizebutton.js +1 -1
- package/src/aicore/utils/documentposition.js +1 -1
- package/src/aicore/utils/documentrange.js +1 -1
- package/src/aicore/utils/eventnames.js +1 -1
- package/src/aicore/utils/geteditorfromcontext.js +1 -1
- package/src/aicore/utils/getoperationsfromreply.js +1 -1
- package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
- package/src/aicore/utils/htmlparser.js +1 -1
- package/src/aicore/utils/htmlstreamer.js +1 -1
- package/src/aieditorintegration/aieditorintegration.js +1 -1
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
- package/src/aiquickactions/aiquickactions.js +1 -1
- package/src/aiquickactions/aiquickactionscommand.js +1 -1
- package/src/aiquickactions/aiquickactionsediting.js +1 -1
- package/src/aiquickactions/aiquickactionsui.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
- package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
- package/src/aireviewmode/aireviewmode.js +1 -1
- package/src/aireviewmode/aireviewmodecontroller.js +1 -1
- package/src/aireviewmode/aireviewmodeediting.js +1 -1
- package/src/aireviewmode/aireviewmodeui.js +1 -1
- package/src/aireviewmode/model/aireviewcheck.js +1 -1
- package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
- package/src/aireviewmode/model/aireviewchecklist.js +1 -1
- package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
- package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
- package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
- package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
- package/src/aitabs/aitabs.js +1 -1
- package/src/aitabs/aitabsmainview.js +1 -1
- package/src/aitabs/tabs/aitabsview.js +1 -1
- package/src/aitabs/tabs/tabbuttonview.js +1 -1
- package/src/aitabs/tabs/tabpanelview.js +1 -1
- package/src/errors.js +1 -1
- package/src/index.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x182a88=_0x5aa0;(function(_0x76c274,_0x38692c){const _0x48e183=_0x5aa0,_0x526ec7=_0x76c274();while(!![]){try{const _0x923fbf=parseInt(_0x48e183(0x1a6))/0x1+-parseInt(_0x48e183(0x1b6))/0x2+parseInt(_0x48e183(0x19d))/0x3+-parseInt(_0x48e183(0x1b5))/0x4+-parseInt(_0x48e183(0x181))/0x5+-parseInt(_0x48e183(0x1a3))/0x6*(parseInt(_0x48e183(0x1a8))/0x7)+parseInt(_0x48e183(0x184))/0x8;if(_0x923fbf===_0x38692c)break;else _0x526ec7['push'](_0x526ec7['shift']());}catch(_0x391afd){_0x526ec7['push'](_0x526ec7['shift']());}}}(_0x2011,0x3d43b));import{ButtonView as _0x3db7eb,IconView as _0x1f666d}from'ckeditor5/src/ui.js';function _0x5aa0(_0x23cfc8,_0x16c4ff){const _0x20112d=_0x2011();return _0x5aa0=function(_0x5aa0ec,_0x1950a4){_0x5aa0ec=_0x5aa0ec-0x180;let _0x3243fc=_0x20112d[_0x5aa0ec];return _0x3243fc;},_0x5aa0(_0x23cfc8,_0x16c4ff);}import{IconClose as _0x45b72d,IconDocument as _0x5392e1,IconFileUpload as _0xb4293c,IconLink as _0x5cdbcf,IconSelection as _0x407609}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x12e6a7}from'../../../aicore/utils/common-translations.js';import{AISpinnerView as _0xbaf44a}from'../../../aicore/ui/aispinner.js';const xn={'file':_0xb4293c,'document':_0x5392e1,'web-resource':_0x5cdbcf,'text':_0xb4293c,'selection':_0x407609},bn=_0x182a88(0x1b0),wn=_0x182a88(0x1a4),Tn=_0x182a88(0x1b1),En=_0x182a88(0x1ab),fn=_0x182a88(0x187),An=_0x182a88(0x19b),Cn='n';export class AIChatContextItemButtonView extends _0x3db7eb{constructor(_0x126cf4,_0x4c9d8b,_0x1a8cf8,_0x9028b,_0x4395ca=!0x1){const _0x5aade3=_0x182a88;super(_0x126cf4),this[_0x5aade3(0x1a2)]=_0x9028b,this[_0x5aade3(0x1a1)](_0x4c9d8b,_0x1a8cf8,_0x4395ca),this[_0x5aade3(0x18e)]();}[_0x182a88(0x1bc)](){const _0x7ec0d6=_0x182a88;super[_0x7ec0d6(0x1bc)](),this[_0x7ec0d6(0x1a2)]&&this[_0x7ec0d6(0x198)]&&(this[_0x7ec0d6(0x198)][_0x7ec0d6(0x1ba)][_0x7ec0d6(0x1a5)](_0x7ec0d6(0x1b4)),this[_0x7ec0d6(0x180)](this[_0x7ec0d6(0x198)],()=>{const _0x124f2b=_0x7ec0d6;this[_0x124f2b(0x198)]&&this[_0x124f2b(0x198)][_0x124f2b(0x1ba)][_0x124f2b(0x190)](_0x124f2b(0x1b4));}));}[_0x182a88(0x19e)](){const _0x157a59=_0x182a88;this[_0x157a59(0x1a2)]=!0x1,this[_0x157a59(0x198)]&&this[_0x157a59(0x198)][_0x157a59(0x1ba)][_0x157a59(0x190)](_0x157a59(0x1b4));}[_0x182a88(0x1a1)](_0x54b0f3,_0x1e2d17,_0x9167e7){const _0x4353cc=_0x182a88;this[_0x4353cc(0x1bd)](_0x4353cc(0x1b3),_0x54b0f3[_0x4353cc(0x1b3)]),this[_0x4353cc(0x1bd)](_0x4353cc(0x188),!0x0),this[_0x4353cc(0x1bd)](_0x4353cc(0x189),_0x54b0f3[_0x4353cc(0x1be)]),this[_0x4353cc(0x1bd)]('id',_0x54b0f3[_0x4353cc(0x1a7)]),this[_0x4353cc(0x1bd)](_0x4353cc(0x1af),_0x1e2d17),this[_0x4353cc(0x1bd)](_0x4353cc(0x1ac),_0x9167e7);}[_0x182a88(0x18e)](){const _0x5e23c=_0x182a88,_0x2e1cfc=this[_0x5e23c(0x1a9)](),_0x13445b=this[_0x5e23c(0x18c)](),_0x33a9a8=this[_0x5e23c(0x19c)];this[_0x5e23c(0x191)]({'tag':_0x5e23c(0x1b7),'attributes':this[_0x5e23c(0x186)](_0x33a9a8),'children':this[_0x5e23c(0x1b9)](_0x2e1cfc,_0x13445b,_0x33a9a8)});}[_0x182a88(0x186)](_0x49631d){const _0xf03b3a=_0x182a88;return{'class':[bn,_0x49631d['if'](_0xf03b3a(0x189),Tn,_0x111d86=>_0xf03b3a(0x182)==_0x111d86),_0x49631d['if'](_0xf03b3a(0x189),wn,_0x576dc1=>_0xf03b3a(0x1a0)==_0x576dc1)],'data-cke-tooltip-text':_0x49631d['to'](_0xf03b3a(0x1b3),In),'data-cke-tooltip-position':Cn,'data-cke-tooltip-class':An};}[_0x182a88(0x1b9)](_0x2bf7cb,_0x400b4c,_0x2435c9){const _0x38a406=_0x182a88,_0x4b7fc0=this[_0x38a406(0x1bb)](_0x2435c9),_0x33b331=this[_0x38a406(0x197)]();return this[_0x38a406(0x1af)]?[_0x2bf7cb,_0x4b7fc0]:[_0x2bf7cb,_0x33b331,_0x4b7fc0,_0x400b4c];}[_0x182a88(0x1bb)](_0x2b81ef){const _0x47532b=_0x182a88;return{'tag':_0x47532b(0x1bf),'attributes':{'class':En},'children':[{'text':_0x2b81ef['to'](_0x47532b(0x1b3))}]};}[_0x182a88(0x18c)](){const _0x294578=_0x182a88,_0x8fde0=new _0x3db7eb(this[_0x294578(0x194)]);return _0x8fde0[_0x294578(0x1bd)]({'label':_0x12e6a7(this[_0x294578(0x194)],_0x294578(0x18a)),'icon':_0x45b72d}),this[_0x294578(0x19a)](_0x8fde0),_0x8fde0;}[_0x182a88(0x19a)](_0x2a4ce7){const _0x13a3fb=_0x182a88;_0x2a4ce7['on'](_0x13a3fb(0x1aa),()=>{const _0x251c44=_0x13a3fb;this[_0x251c44(0x183)](_0x251c44(0x1ad),this['id']);});}[_0x182a88(0x1a9)](){const _0x4b7409=_0x182a88,_0x3816fd=this[_0x4b7409(0x19c)],_0x1939d8=new _0x1f666d();return _0x1939d8[_0x4b7409(0x193)]=xn[this[_0x4b7409(0x189)]],_0x1939d8[_0x4b7409(0x1b2)]({'attributes':{'class':[fn,_0x3816fd['if'](_0x4b7409(0x1ac),_0x4b7409(0x192),_0x179752=>_0x179752)]}}),_0x1939d8;}[_0x182a88(0x180)](_0x432e62,_0x260b3d){const _0x36d78b=_0x182a88;if(!_0x432e62)return;const _0x5c1755=()=>{const _0x18a3ad=_0x5aa0;_0x260b3d(),_0x432e62[_0x18a3ad(0x18f)](_0x18a3ad(0x1b8),_0x5c1755),_0x432e62[_0x18a3ad(0x18f)](_0x18a3ad(0x199),_0x5c1755);};_0x432e62[_0x36d78b(0x18d)](_0x36d78b(0x1b8),_0x5c1755),_0x432e62[_0x36d78b(0x18d)](_0x36d78b(0x199),_0x5c1755);}[_0x182a88(0x197)](){const _0x2e8992=_0x182a88,_0x4abe0d=new _0xbaf44a(_0x2e8992(0x195));return _0x4abe0d[_0x2e8992(0x19f)](_0x2e8992(0x185))['to'](this,_0x2e8992(0x1ac),_0x5cf59b=>_0x5cf59b),_0x4abe0d;}}function _0x2011(){const _0x8cecbb=['_handleAnimationEndOnce','2123065qNQIGG','document','fire','6360656FZLLNt','isVisible','_createTemplateAttributes','ck-ai-chat-context-chip__type-icon','tooltip','itemType','AI_CHAT_CONTEXT_REMOVE_FROM_CONTEXT','slice','_createRemoveButton','addEventListener','_setupTemplate','removeEventListener','remove','setTemplate','ck-hidden','content','locale','small','lastIndexOf','_createLoaderIcon','element','webkitAnimationEnd','_setupRemoveButtonEvent','ck-ai-chat-context-controls__chip-tooltip','bindTemplate','969KDydXq','disableAnimationOnEnter','bind','selection','_initializeProperties','_isAnimationOnEnterEnabled','258hzpsoJ','ck-ai-chat-context-chip_wide','add','406190JjJARe','uiId','36155LOcqwe','_createIconView','execute','ck-ai-chat-context-chip__label','isLoading','removeContextItemChip','length','readonly','ck-ai-chat-context-chip','ck-ai-chat-context-chip_document','extendTemplate','label','ck-ai-chat-context-chip_new-chip','319732BPHjqy','448030moYprh','div','animationend','_createTemplateChildren','classList','_createLabelElement','render','set','type','span'];_0x2011=function(){return _0x8cecbb;};return _0x2011();}function In(_0x396732){const _0x2edece=_0x182a88;if(!_0x396732)return _0x396732;if(_0x396732[_0x2edece(0x1ae)]<=0x78)return _0x396732;const _0x3eba3a=_0x396732[_0x2edece(0x18b)](0x0,0x78),_0x1177a5=_0x3eba3a[_0x2edece(0x196)]('\x20');return(_0x1177a5>0x0?_0x3eba3a[_0x2edece(0x18b)](0x0,_0x1177a5):_0x3eba3a)+'…';}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x22fb17=_0x3841;(function(_0x302451,_0x48c407){const _0x105b37=_0x3841,_0x473348=_0x302451();while(!![]){try{const _0x229dae=parseInt(_0x105b37(0x1bb))/0x1*(-parseInt(_0x105b37(0x1b3))/0x2)+parseInt(_0x105b37(0x1a7))/0x3+-parseInt(_0x105b37(0x1ed))/0x4+-parseInt(_0x105b37(0x1d8))/0x5*(-parseInt(_0x105b37(0x1b7))/0x6)+-parseInt(_0x105b37(0x1dc))/0x7*(-parseInt(_0x105b37(0x1c9))/0x8)+parseInt(_0x105b37(0x1ef))/0x9+-parseInt(_0x105b37(0x1d2))/0xa*(parseInt(_0x105b37(0x1db))/0xb);if(_0x229dae===_0x48c407)break;else _0x473348['push'](_0x473348['shift']());}catch(_0x3979f3){_0x473348['push'](_0x473348['shift']());}}}(_0x3da2,0x2d466));import{FocusTracker as _0x17a72f,KeystrokeHandler as _0x3dc294}from'ckeditor5/src/utils.js';import{ButtonView as _0x2895cc,FocusCycler as _0x34d571,LabeledFieldView as _0x1f89f0,View as _0x26e446,FormHeaderView as _0x32e1b1,createLabeledInputText as _0x5bdabb,submitHandler as _0x3ed12f}from'ckeditor5/src/ui.js';import{IconCheck as _0x1a770f,IconPreviousArrow as _0x58dab6}from'@ckeditor/ckeditor5-icons';function _0x3841(_0x37c8c6,_0x5f0565){const _0x3da2bc=_0x3da2();return _0x3841=function(_0x384115,_0x55facb){_0x384115=_0x384115-0x1a7;let _0x424c6c=_0x3da2bc[_0x384115];return _0x424c6c;},_0x3841(_0x37c8c6,_0x5f0565);}import{getTranslation as _0x2c1d52}from'../../../aicore/utils/common-translations.js';const hh=_0x22fb17(0x1d1),rh=_0x22fb17(0x1c8);export class AIChatContextPanelUrlInputView extends _0x26e446{[_0x22fb17(0x1eb)];[_0x22fb17(0x1ab)];[_0x22fb17(0x1e0)];[_0x22fb17(0x1e2)];[_0x22fb17(0x1d5)];[_0x22fb17(0x1d0)];[_0x22fb17(0x1e4)];constructor(_0x47d0ba){const _0x1d6a00=_0x22fb17;super(_0x47d0ba),this[_0x1d6a00(0x1eb)]=new _0x17a72f(),this[_0x1d6a00(0x1ab)]=new _0x3dc294(),this[_0x1d6a00(0x1d0)]=this[_0x1d6a00(0x1ea)](),this[_0x1d6a00(0x1d5)]=this[_0x1d6a00(0x1b0)](),this[_0x1d6a00(0x1e4)]=this[_0x1d6a00(0x1ba)](),this[_0x1d6a00(0x1e0)]=this[_0x1d6a00(0x1a9)]([this[_0x1d6a00(0x1d0)],this[_0x1d6a00(0x1d5)],this[_0x1d6a00(0x1e4)]]),this[_0x1d6a00(0x1e2)]=new _0x34d571({'focusables':this[_0x1d6a00(0x1e0)],'focusTracker':this[_0x1d6a00(0x1eb)],'keystrokeHandler':this[_0x1d6a00(0x1ab)],'actions':{'focusPrevious':_0x1d6a00(0x1bf),'focusNext':_0x1d6a00(0x1ee)}}),this[_0x1d6a00(0x1b8)](),this[_0x1d6a00(0x1c6)](),this[_0x1d6a00(0x1e3)]();}[_0x22fb17(0x1cc)](){const _0x35c31f=_0x22fb17;super[_0x35c31f(0x1cc)](),this[_0x35c31f(0x1e0)][_0x35c31f(0x1c5)](_0x334abc=>{const _0x4b0f12=_0x35c31f;this[_0x4b0f12(0x1eb)][_0x4b0f12(0x1ae)](_0x334abc[_0x4b0f12(0x1c0)]),this[_0x4b0f12(0x1ab)][_0x4b0f12(0x1c7)](_0x334abc[_0x4b0f12(0x1c0)]);}),_0x3ed12f({'view':this}),this[_0x35c31f(0x1d7)]();}[_0x22fb17(0x1c1)](){const _0x4c46e8=_0x22fb17;super[_0x4c46e8(0x1c1)](),this[_0x4c46e8(0x1eb)][_0x4c46e8(0x1c1)](),this[_0x4c46e8(0x1ab)][_0x4c46e8(0x1c1)]();}[_0x22fb17(0x1d7)](){const _0x959be7=_0x22fb17;this[_0x959be7(0x1d5)][_0x959be7(0x1d7)]();}[_0x22fb17(0x1cf)](){const _0x4b16bf=_0x22fb17;return this[_0x4b16bf(0x1d5)][_0x4b16bf(0x1e7)][_0x4b16bf(0x1c0)]?.[_0x4b16bf(0x1c3)]?.[_0x4b16bf(0x1b6)]()||'';}[_0x22fb17(0x1d9)](){const _0x230e91=_0x22fb17;this[_0x230e91(0x1d5)][_0x230e91(0x1e7)][_0x230e91(0x1c0)][_0x230e91(0x1c3)]='',this[_0x230e91(0x1d5)][_0x230e91(0x1e8)]=null,this[_0x230e91(0x1e4)][_0x230e91(0x1df)]=!0x1;}[_0x22fb17(0x1ec)](_0x1de254){const _0x5d6424=_0x22fb17;this[_0x5d6424(0x1d5)][_0x5d6424(0x1e8)]=_0x1de254,this[_0x5d6424(0x1b2)](),this[_0x5d6424(0x1c4)](_0x5d6424(0x1b9));}[_0x22fb17(0x1e9)](){const _0x242ab2=_0x22fb17;this[_0x242ab2(0x1d5)][_0x242ab2(0x1e8)]=null,this[_0x242ab2(0x1b2)]();}[_0x22fb17(0x1ea)](){const _0x41a3f5=_0x22fb17,_0x376757=new _0x2895cc(this[_0x41a3f5(0x1de)]);return _0x376757[_0x41a3f5(0x1cb)]({'icon':_0x58dab6,'tooltip':_0x2c1d52(this[_0x41a3f5(0x1de)],_0x41a3f5(0x1b4)),'tooltipPosition':'n','class':_0x41a3f5(0x1cd)}),_0x376757;}[_0x22fb17(0x1b0)](){const _0x1a4e9b=_0x22fb17,_0x1c86c3=new _0x1f89f0(this[_0x1a4e9b(0x1de)],_0x5bdabb);return _0x1c86c3[_0x1a4e9b(0x1cb)]({'label':_0x2c1d52(this[_0x1a4e9b(0x1de)],_0x1a4e9b(0x1e5)),'class':_0x1a4e9b(0x1f0)}),_0x1c86c3[_0x1a4e9b(0x1e7)][_0x1a4e9b(0x1cb)]({'placeholder':_0x2c1d52(this[_0x1a4e9b(0x1de)],_0x1a4e9b(0x1ce))}),_0x1c86c3;}[_0x22fb17(0x1ba)](){const _0x41c1fc=_0x22fb17,_0x48475f=new _0x2895cc(this[_0x41c1fc(0x1de)]);return _0x48475f[_0x41c1fc(0x1cb)]({'icon':_0x1a770f,'tooltip':_0x2c1d52(this[_0x41c1fc(0x1de)],_0x41c1fc(0x1ad)),'tooltipPosition':'n','class':_0x41c1fc(0x1b5),'type':_0x41c1fc(0x1aa),'isEnabled':!0x1}),_0x48475f;}[_0x22fb17(0x1b8)](){const _0x2f36ce=_0x22fb17,_0x561971=new _0x32e1b1(this[_0x2f36ce(0x1de)],{'label':_0x2c1d52(this[_0x2f36ce(0x1de)],_0x2f36ce(0x1ad)),'class':_0x2f36ce(0x1bd)});_0x561971[_0x2f36ce(0x1a8)][_0x2f36ce(0x1ae)](this[_0x2f36ce(0x1d0)],0x0),this[_0x2f36ce(0x1d4)]({'tag':_0x2f36ce(0x1dd),'attributes':{'class':hh,'tabindex':'-1'},'children':[_0x561971,{'tag':_0x2f36ce(0x1bc),'attributes':{'class':rh},'children':[this[_0x2f36ce(0x1d5)],this[_0x2f36ce(0x1e4)]]}]});}[_0x22fb17(0x1c6)](){const _0x3853ab=_0x22fb17;this[_0x3853ab(0x1d0)]['on'](_0x3853ab(0x1e1),()=>{const _0x4dbdf3=_0x3853ab;this[_0x4dbdf3(0x1d9)](),this[_0x4dbdf3(0x1c4)](_0x4dbdf3(0x1d3));}),this[_0x3853ab(0x1d5)][_0x3853ab(0x1e7)]['on'](_0x3853ab(0x1b1),()=>{const _0x247ef1=_0x3853ab;this[_0x247ef1(0x1e9)](),this[_0x247ef1(0x1b2)](),this[_0x247ef1(0x1c4)](_0x247ef1(0x1b9));}),this['on'](_0x3853ab(0x1aa),_0x517ff5=>{const _0x3d0f5b=_0x3853ab;_0x517ff5[_0x3d0f5b(0x1da)](),this[_0x3d0f5b(0x1c2)]();});}[_0x22fb17(0x1e3)](){const _0x7e4f6e=_0x22fb17;this[_0x7e4f6e(0x1ab)][_0x7e4f6e(0x1cb)](_0x7e4f6e(0x1af),(_0x2fdca5,_0x378547)=>{const _0x4c4d69=_0x7e4f6e;this[_0x4c4d69(0x1d9)](),this[_0x4c4d69(0x1c4)](_0x4c4d69(0x1d3)),_0x378547();});}[_0x22fb17(0x1c2)](){const _0x1cae0a=_0x22fb17,_0x4442ca=this[_0x1cae0a(0x1cf)]()[_0x1cae0a(0x1b6)]();_0x4442ca?this[_0x1cae0a(0x1e6)](_0x4442ca)?(this[_0x1cae0a(0x1e9)](),this[_0x1cae0a(0x1c4)](_0x1cae0a(0x1ca),_0x4442ca)):this[_0x1cae0a(0x1ec)](_0x2c1d52(this[_0x1cae0a(0x1de)],_0x1cae0a(0x1be))):this[_0x1cae0a(0x1ec)](_0x2c1d52(this[_0x1cae0a(0x1de)],_0x1cae0a(0x1ac)));}[_0x22fb17(0x1b2)](){const _0x272635=_0x22fb17,_0x2411a1=this[_0x272635(0x1cf)]()[_0x272635(0x1b6)](),_0x18a838=!!this[_0x272635(0x1d5)][_0x272635(0x1e8)];this[_0x272635(0x1e4)][_0x272635(0x1df)]=_0x2411a1[_0x272635(0x1d6)]>0x0&&!_0x18a838;}[_0x22fb17(0x1e6)](_0x9f5208){try{return!!new URL(_0x9f5208);}catch{return!0x1;}}}function _0x3da2(){const _0x572468=['clear','stop','11gIiqpA','7Mwatyc','form','locale','isEnabled','_focusables','execute','focusCycler','_setupKeystrokes','confirmButton','AI_CHAT_CONTEXT_URL_LABEL','_isValidUrl','fieldView','errorText','clearError','_createBackButton','focusTracker','setError','1252068woiuYf','tab','1556739ojITuC','ck-labeled-field-view_empty','157824BSeyTP','children','createCollection','submit','keystrokes','AI_CHAT_CONTEXT_URL_EMPTY_ERROR','AI_CHAT_CONTEXT_URL_ADD_URL','add','esc','_createUrlInputField','input','_updateConfirmButtonState','1322xllWPD','AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT','ck-button-icon','trim','938466YnwuRD','_setupTemplate','refreshBalloon','_createConfirmButton','262LCpOPB','div','ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_context-url','AI_CHAT_CONTEXT_URL_INVALID_ERROR','shift+tab','element','destroy','_handleSubmit','value','fire','forEach','_setupEventHandlers','listenTo','ck-ai-chat-context-controls__url-input-section','1096968pkLpsD','submitUrl','set','render','ck-button-icon\x20ck-button-back','AI_CHAT_CONTEXT_URL_PLACEHOLDER','getValue','backButton','ck-ai-chat-context-controls__url-form','38770ACtIcT','cancel','setTemplate','urlInputField','length','focus','10CldCsT'];_0x3da2=function(){return _0x572468;};return _0x3da2();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x5a82(){const _0x263265=['southArrowNorthEast','refreshBalloon','div','5034190bQzuai','enabled','ck-ai-chat-context-controls__pending-contexts','element','ck-ai-chat','pin','_overflowManager','_createBaseBalloonPanel','isAnyResourceBalloonVisible','setContainerElement','AI_CHAT_CONTEXT_FILE_LABEL','addResourceToContext','loadSourceResources','146757quRdox','buttonView','76CJpPzt','files','_showSourceResourcesBalloon','body','_setBalloonPanelContent','_setupUrlBalloonClickOutsideHandler','ck-ai-chat-context-controls__balloon-button','5347024LhXOvd','menuitem','set','AI_CHAT_CONTEXT_ADD_CONTEXT','ck-ai-chat-context-chips-wrapper-balloon','_addContextToCollection','icon','ck-ai-chat-context-controls__balloon-button-source','showSourceResourcesBalloon','searchInputVisibleFrom','_setupAllBalloonClickOutsideHandlers','northArrowSouth','_setAddContextButtonEnabled','_createAddContextButtonView','urls','label','_createContextButton','removeContextItemChip','find','__arrow','destroy','show','ck-ai-chat-controls_context_show-more-button','_urlBalloonPanelView','ck-ai-chat-context-controls__show-more-balloon-panel','northArrowSouthWest','_removeContextFromCollection','clearConversationContextItems','showAddContextBalloonPanel','clearCurrentContextItems','_createUrlBalloonPanelView','_setupTemplate','_createResourcesBalloonView','_addUrlContent','sources','overflowChips','8dGkEju','addDocumentToContext','3977178yofMun','balloonView','remove','hideUrlBalloonPanel','hide','current','southArrowNorthWest','AI_CHAT_CONTEXT_URL_LABEL','_handleAddContextButtonClick','_createArrowView','911178NhtMFk','_addContextBalloonPanelView','isLoading','setContextItemLoading','isEnabled','addUrlToContext','showUrlBalloonPanel','ck-ai-chat-context-controls__add-context-button','setAddContextOptions','_conversationContextsChips','add','arrowView','reorganizeChips','isVisible','isHidden','cancel','ck-reset_all-excluded','updateResourceState','_toggleAddContextBalloon','fire','addFileToContext','southArrowNorth','populateSourceResourceBalloon','submitUrl','_createBalloonButton','_handleUrlSubmit','done','render','defaultPositions','addContextItem','_resourcesBalloonView','addContextButtonView','AI_CHAT_CONTEXT_CURRENT_DOCUMENT','locale','_createAddContextBalloonPanelView','execute','clear','_bindEventHandlers','_urlInputView','ck-ai-chat-context-controls__url-balloon-panel','_getLimiterElement','focus','closest','northArrowSouthEast','ck-ai-chat-context-controls__add-context-balloon-panel','setTemplate','conversation','removeContextItem','createCollection','bind','_currentContextsChips','_addContextBalloonConfig','extendTemplate','closeSourceResourceBalloon','setConversationContext','content','5QehvBt','children','5894000zSoAfW','70586cPNeyP','document','isOn','isReadOnly','bodyCollection','source','hideAddContextBalloonPanel','_setupAddContextBalloonClickOutsideHandler','type','ck-ai-chat-controls-button','ck-ai-chat-context-controls','tooltip'];_0x5a82=function(){return _0x263265;};return _0x5a82();}const _0x356aea=_0x1ee8;(function(_0x2e3f02,_0x4bd278){const _0x2499c3=_0x1ee8,_0x44ae7a=_0x2e3f02();while(!![]){try{const _0x3eb428=-parseInt(_0x2499c3(0x11d))/0x1*(parseInt(_0x2499c3(0x164))/0x2)+parseInt(_0x2499c3(0xf0))/0x3*(parseInt(_0x2499c3(0xf2))/0x4)+-parseInt(_0x2499c3(0x161))/0x5*(-parseInt(_0x2499c3(0x11f))/0x6)+-parseInt(_0x2499c3(0xe3))/0x7+parseInt(_0x2499c3(0xf9))/0x8+parseInt(_0x2499c3(0x129))/0x9+-parseInt(_0x2499c3(0x163))/0xa;if(_0x3eb428===_0x4bd278)break;else _0x44ae7a['push'](_0x44ae7a['shift']());}catch(_0x195ab8){_0x44ae7a['push'](_0x44ae7a['shift']());}}}(_0x5a82,0xbc3d6));import{BalloonPanelView as _0x487661,ButtonView as _0x5ee25a,clickOutsideHandler as _0x17e545,FileDialogButtonView as _0x5ea439,IconView as _0x17ed6b,View as _0x4652fb}from'ckeditor5/src/ui.js';import{IconBrowseFiles as _0x203d3e,IconDocument as _0x5a6bed,IconDocumentOutline as _0x491d45,IconDropdownArrow as _0x4e34cd,IconLink as _0x3e945e,IconPaperClip as _0x2f9a6d}from'@ckeditor/ckeditor5-icons';import{AIChatContextItemButtonView as _0x1d36aa}from'./aichatcontextitembuttonview.js';import{AIChatContextPanelUrlInputView as _0x123718}from'./aichatcontextpanelurlinputview.js';import{AIChatChipsOverflowManager as _0x2513bf}from'./aichatchipsoverflowmanager.js';import{getTranslation as _0x444bfb}from'../../../aicore/utils/common-translations.js';import{AIChatResourcesBalloonView as _0xa6cac6}from'./resources/aichatresourcesballoonview.js';export const CONTEXT_PANEL_VIEW_EVENT_NAMES=[_0x356aea(0x11e),_0x356aea(0x13d),_0x356aea(0x12e),_0x356aea(0xee),_0x356aea(0x158),_0x356aea(0xef)];function _0x1ee8(_0x32e1ef,_0x4141c0){const _0x5a8291=_0x5a82();return _0x1ee8=function(_0x1ee846,_0x321e3b){_0x1ee846=_0x1ee846-0xe1;let _0x328062=_0x5a8291[_0x1ee846];return _0x328062;},_0x1ee8(_0x32e1ef,_0x4141c0);}const Ro=_0x356aea(0x16e),Uo=_0x356aea(0xe5),Lo=_0x356aea(0x155),No=_0x356aea(0x130),Oo=_0x356aea(0x150),Mo=_0x356aea(0xf8),Ho=_0x356aea(0x100),bo=_0x356aea(0x16d),Fo=_0x356aea(0xfd),vo=_0x356aea(0x10f),jo=_0x356aea(0x111),Xo=_0x356aea(0xe7),Do=[_0x487661[_0x356aea(0x145)][_0x356aea(0x112)],_0x487661[_0x356aea(0x145)][_0x356aea(0x104)],_0x487661[_0x356aea(0x145)][_0x356aea(0x154)],_0x487661[_0x356aea(0x145)][_0x356aea(0x125)],_0x487661[_0x356aea(0x145)][_0x356aea(0x13e)],_0x487661[_0x356aea(0x145)][_0x356aea(0x170)]];export class AIChatContextPanelView extends _0x4652fb{[_0x356aea(0x148)];[_0x356aea(0x15b)]=this[_0x356aea(0x159)]();[_0x356aea(0x132)]=this[_0x356aea(0x159)]();[_0x356aea(0xe9)];[_0x356aea(0x12a)];[_0x356aea(0x110)];[_0x356aea(0x14f)];[_0x356aea(0x147)];[_0x356aea(0x15c)];[_0x356aea(0x168)];constructor(_0x11dca3,_0x45d41b){const _0x207793=_0x356aea;super(_0x11dca3),this[_0x207793(0x168)]=_0x45d41b[_0x207793(0x168)],this[_0x207793(0x15b)]=this[_0x207793(0x159)](),this[_0x207793(0x132)]=this[_0x207793(0x159)](),this[_0x207793(0x148)]=this[_0x207793(0x106)](_0x11dca3),this[_0x207793(0x12a)]=this[_0x207793(0x14b)](_0x11dca3),this[_0x207793(0x110)]=this[_0x207793(0x117)](_0x11dca3),this[_0x207793(0x147)]=this[_0x207793(0x119)](_0x11dca3,_0x45d41b);const _0x328caa={'cssClasses':{'showMoreButton':vo,'showMoreBalloon':jo,'overflowContainer':Fo,'controlsButton':bo}};this[_0x207793(0xe9)]=new _0x2513bf(_0x11dca3,this[_0x207793(0x15b)],_0x328caa,this[_0x207793(0x168)],this),this[_0x207793(0x15c)]={'buttonView':this[_0x207793(0x148)],'balloonView':this[_0x207793(0x12a)],'hideMethod':this[_0x207793(0x16a)][_0x207793(0x15a)](this),'showMethod':this[_0x207793(0x115)][_0x207793(0x15a)](this)},this[_0x207793(0x118)](),this[_0x207793(0x14e)]();}[_0x356aea(0x144)](){const _0x1df6e5=_0x356aea;super[_0x1df6e5(0x144)](),this[_0x1df6e5(0x103)](),this[_0x1df6e5(0xe9)][_0x1df6e5(0xec)](this[_0x1df6e5(0xe6)]),this[_0x1df6e5(0xe9)][_0x1df6e5(0x135)]();}[_0x356aea(0x10d)](){const _0x31a6a7=_0x356aea;super[_0x31a6a7(0x10d)](),this[_0x31a6a7(0xe9)][_0x31a6a7(0x10d)](),this[_0x31a6a7(0x147)][_0x31a6a7(0x10d)]();}[_0x356aea(0x146)](_0x19290b,_0xe605b8){const _0x5846ec=_0x356aea,_0x552bbe=this[_0x5846ec(0x109)](_0x19290b,_0x5846ec(0x124),!0x0,_0xe605b8);this[_0x5846ec(0xfe)](_0x552bbe,this[_0x5846ec(0x15b)]),this[_0x5846ec(0xe9)][_0x5846ec(0x135)]();}[_0x356aea(0x158)](_0x1fe700){const _0x46272f=_0x356aea;this[_0x46272f(0x113)](_0x1fe700,this[_0x46272f(0x15b)]),this[_0x46272f(0x113)](_0x1fe700,this[_0x46272f(0xe9)][_0x46272f(0x11c)]),this[_0x46272f(0xe9)][_0x46272f(0x135)]();}[_0x356aea(0x12c)](_0x5839d3,_0xba72c1){const _0x44b582=_0x356aea;let _0x1ceece=this[_0x44b582(0x15b)][_0x44b582(0x10b)](_0x3dcf73=>_0x3dcf73['id']===_0x5839d3);_0x1ceece||(_0x1ceece=this[_0x44b582(0xe9)][_0x44b582(0x11c)][_0x44b582(0x10b)](_0x257c93=>_0x257c93['id']===_0x5839d3)),_0x1ceece&&(_0x1ceece[_0x44b582(0x12b)]=_0xba72c1);}[_0x356aea(0x15f)](_0x4289b3){const _0x50b481=_0x356aea;this[_0x50b481(0x132)][_0x50b481(0x14d)]();for(const _0x1aeadd of _0x4289b3){const _0x1b43c1=this[_0x50b481(0x109)](_0x1aeadd,_0x50b481(0x157),!0x1,!0x1);this[_0x50b481(0xfe)](_0x1b43c1,this[_0x50b481(0x132)]);}}[_0x356aea(0x116)](){const _0x14ed5c=_0x356aea;this[_0x14ed5c(0x15b)][_0x14ed5c(0x14d)](),this[_0x14ed5c(0xe9)][_0x14ed5c(0x14d)]();}[_0x356aea(0x114)](){const _0x4619c3=_0x356aea;this[_0x4619c3(0x132)][_0x4619c3(0x14d)]();}[_0x356aea(0x13a)](_0xc2f0ac,_0x4df4ad,_0xfffc7){const _0x37a8ad=_0x356aea;this[_0x37a8ad(0x147)][_0x37a8ad(0x13a)](_0xc2f0ac,_0x4df4ad,_0xfffc7);}[_0x356aea(0x16a)](){const _0x326fb6=_0x356aea;this[_0x326fb6(0x13b)](!0x1);}[_0x356aea(0x115)](){const _0xfdd7d1=_0x356aea;this[_0xfdd7d1(0x13b)](!0x0);}[_0x356aea(0x122)](){const _0x3ccdd6=_0x356aea;this[_0x3ccdd6(0x110)][_0x3ccdd6(0x123)](),this[_0x3ccdd6(0x148)][_0x3ccdd6(0x166)]=!0x1,this[_0x3ccdd6(0x14f)]&&this[_0x3ccdd6(0x14f)][_0x3ccdd6(0x14d)]();}[_0x356aea(0x12f)](){const _0x3b06bf=_0x356aea;this[_0x3b06bf(0x110)][_0x3b06bf(0x10e)](),this[_0x3b06bf(0x148)][_0x3b06bf(0x166)]=!0x0;}[_0x356aea(0xf4)](_0x5c33e2){const _0x3c201b=_0x356aea;this[_0x3c201b(0x147)][_0x3c201b(0x101)](_0x5c33e2),this[_0x3c201b(0x148)][_0x3c201b(0x166)]=!0x0;}[_0x356aea(0x13f)](_0x18e5a2,_0x13c14b,_0x339db5,_0x54e2de){const _0x409d73=_0x356aea;this[_0x409d73(0x147)][_0x409d73(0x13f)](_0x18e5a2,_0x339db5,_0x54e2de);}[_0x356aea(0x15e)](_0x4d8e8d){const _0x9629a0=_0x356aea;this[_0x9629a0(0x147)][_0x9629a0(0x15e)](_0x4d8e8d),this[_0x9629a0(0x148)][_0x9629a0(0x166)]=!0x1;}[_0x356aea(0x131)](_0x1482cb){const _0x1059fe=_0x356aea;this[_0x1059fe(0xf6)](this[_0x1059fe(0x12a)],this[_0x1059fe(0x14a)],_0x1482cb),this[_0x1059fe(0x105)](_0x1482cb);}[_0x356aea(0x105)](_0xd7a906){const _0x4dcb60=_0x356aea,_0x170d16=!_0xd7a906[_0x4dcb60(0x165)][_0x4dcb60(0x137)]&&_0xd7a906[_0x4dcb60(0x165)][_0x4dcb60(0xe4)],_0x540e55=_0xd7a906[_0x4dcb60(0x107)][_0x4dcb60(0xe4)],_0x4c0213=_0xd7a906[_0x4dcb60(0xf3)][_0x4dcb60(0xe4)];this[_0x4dcb60(0x148)][_0x4dcb60(0x12d)]=_0x170d16||_0x540e55||_0x4c0213;}[_0x356aea(0x118)](){const _0x3983b7=_0x356aea;this[_0x3983b7(0x156)]({'tag':_0x3983b7(0xe2),'attributes':{'class':[Ro,_0x3983b7(0x139)]},'children':[{'tag':_0x3983b7(0xe2),'attributes':{'class':Uo},'children':this[_0x3983b7(0x15b)]}]});}[_0x356aea(0x14e)](){const _0x59b26f=_0x356aea;this[_0x59b26f(0x148)]['on'](_0x59b26f(0x14c),()=>{const _0x29e63d=_0x59b26f;this[_0x29e63d(0x127)]();});}[_0x356aea(0x106)](_0x53606c){const _0x46fab6=_0x356aea,_0x549b7b=new _0x5ee25a(_0x53606c);return _0x549b7b[_0x46fab6(0xfb)]({'label':_0x444bfb(_0x53606c,_0x46fab6(0xfc)),'class':bo+'\x20'+No,'icon':_0x2f9a6d,'isToggleable':!0x0,'tooltip':!0x0,'tooltipPosition':'sw'}),_0x549b7b;}[_0x356aea(0x14b)](_0x419afc){const _0x41cc23=_0x356aea;return this[_0x41cc23(0xea)](_0x419afc,Lo);}[_0x356aea(0x117)](_0x2ab5ab){const _0x91fedb=_0x356aea,_0x3a934c=this[_0x91fedb(0xea)](_0x2ab5ab,Oo);return this[_0x91fedb(0x11a)](_0x3a934c,_0x2ab5ab),_0x3a934c;}[_0x356aea(0x119)](_0x28ace1,_0x375b12){const _0x2191ef=_0x356aea,_0x291fc6={'searchInputVisibleFrom':_0x375b12[_0x2191ef(0x102)],'onBackToContext':()=>{const _0x4c3dba=_0x2191ef;this[_0x4c3dba(0x115)](),this[_0x4c3dba(0x12a)][_0x4c3dba(0xe8)]({'target':this[_0x4c3dba(0x148)][_0x4c3dba(0xe6)],'limiter':this[_0x4c3dba(0x151)](),'positions':Do});},'onResourceSelected':(_0x3b1b8a,_0x58118c)=>{const _0x4093ec=_0x2191ef;this[_0x4093ec(0x13c)](_0x4093ec(0xee),{'source':_0x3b1b8a,'resource':_0x58118c});},'onLoadSourceResources':_0x2fb7fb=>{const _0x2f9ba2=_0x2191ef;this[_0x2f9ba2(0x13c)](_0x2f9ba2(0xef),_0x2fb7fb);},'onBalloonClosed':()=>{const _0x356240=_0x2191ef;this[_0x356240(0x148)][_0x356240(0x166)]=!0x1;},'getLimiterElement':()=>this[_0x2191ef(0x151)](),'getTargetElement':()=>this[_0x2191ef(0x148)][_0x2191ef(0xe6)]};return new _0xa6cac6(_0x28ace1,_0x375b12[_0x2191ef(0x168)],_0x291fc6);}[_0x356aea(0x151)](){const _0x5e1ff8=_0x356aea;return this[_0x5e1ff8(0xe6)]?.[_0x5e1ff8(0x153)]('.'+Xo)||document[_0x5e1ff8(0xf5)];}[_0x356aea(0xea)](_0x53027a,_0x2fdc46){const _0x26af1e=_0x356aea,_0x57434e=new _0x487661(_0x53027a);return _0x57434e[_0x26af1e(0x15d)]({'attributes':{'class':_0x2fdc46}}),this[_0x26af1e(0x168)][_0x26af1e(0x133)](_0x57434e),_0x57434e;}[_0x356aea(0xf6)](_0x1b56ab,_0x2b3d04,_0x284f08){const _0x4c66b2=_0x356aea;if(_0x1b56ab[_0x4c66b2(0x160)][_0x4c66b2(0x14d)](),!_0x284f08[_0x4c66b2(0x165)][_0x4c66b2(0x137)]&&_0x284f08[_0x4c66b2(0x165)][_0x4c66b2(0xe4)]){const _0x408218=this[_0x4c66b2(0x141)](_0x2b3d04,{'label':_0x444bfb(_0x2b3d04,_0x4c66b2(0x149)),'icon':_0x5a6bed});_0x408218['on'](_0x4c66b2(0x14c),()=>{const _0x5784e7=_0x4c66b2;this[_0x5784e7(0x13c)](_0x5784e7(0x11e)),this[_0x5784e7(0x16a)]();}),_0x1b56ab[_0x4c66b2(0x160)][_0x4c66b2(0x133)](_0x408218);}if(_0x284f08[_0x4c66b2(0x107)][_0x4c66b2(0xe4)]){const _0x47cccf=this[_0x4c66b2(0x141)](_0x2b3d04,{'label':_0x444bfb(_0x2b3d04,_0x4c66b2(0x126)),'icon':_0x3e945e});_0x47cccf['on'](_0x4c66b2(0x14c),()=>{const _0x46b1a9=_0x4c66b2;this[_0x46b1a9(0x16a)](),this[_0x46b1a9(0x12f)](),this[_0x46b1a9(0x110)][_0x46b1a9(0xe8)]({'target':this[_0x46b1a9(0x148)][_0x46b1a9(0xe6)],'limiter':this[_0x46b1a9(0x151)](),'positions':Do}),this[_0x46b1a9(0x14f)][_0x46b1a9(0x152)]();}),_0x1b56ab[_0x4c66b2(0x160)][_0x4c66b2(0x133)](_0x47cccf);}if(_0x284f08[_0x4c66b2(0xf3)][_0x4c66b2(0xe4)]){const _0x379386=new _0x5ea439(_0x2b3d04);_0x379386[_0x4c66b2(0xfb)]({'label':_0x444bfb(_0x2b3d04,_0x4c66b2(0xed)),'icon':_0x203d3e,'withText':!0x0,'tooltip':!0x0,'class':Mo,'allowMultipleFiles':!0x0}),_0x379386['on'](_0x4c66b2(0x143),(_0x1d6446,_0x1138a5)=>{const _0x6dda1c=_0x4c66b2;this[_0x6dda1c(0x13c)](_0x6dda1c(0x13d),_0x1138a5),this[_0x6dda1c(0x16a)]();}),_0x379386[_0x4c66b2(0x16f)]=!0x0,_0x1b56ab[_0x4c66b2(0x160)][_0x4c66b2(0x133)](_0x379386);}for(const _0x4f5308 of _0x284f08[_0x4c66b2(0x11b)]){const _0x47ef3c=this[_0x4c66b2(0x141)](_0x2b3d04,{'label':_0x4f5308[_0x4c66b2(0x108)],'icon':_0x4f5308[_0x4c66b2(0xff)]||_0x491d45,'type':_0x4c66b2(0x169)});_0x1b56ab[_0x4c66b2(0x160)][_0x4c66b2(0x133)](_0x47ef3c),_0x47ef3c['on'](_0x4c66b2(0x14c),()=>{const _0x2db031=_0x4c66b2;this[_0x2db031(0x16a)](),this[_0x2db031(0xf4)](_0x4f5308);});}}[_0x356aea(0x11a)](_0x48770a,_0xa1428c){const _0x30c7c8=_0x356aea;this[_0x30c7c8(0x14f)]=new _0x123718(_0xa1428c),this[_0x30c7c8(0x14f)]['on'](_0x30c7c8(0x140),(_0x859637,_0x5263bf)=>{const _0x47e620=_0x30c7c8;this[_0x47e620(0x142)](_0x5263bf);}),this[_0x30c7c8(0x14f)]['on'](_0x30c7c8(0x138),()=>{const _0x2a66c0=_0x30c7c8;this[_0x2a66c0(0x122)](),this[_0x2a66c0(0x115)](),this[_0x2a66c0(0x12a)][_0x2a66c0(0xe8)]({'target':this[_0x2a66c0(0x148)][_0x2a66c0(0xe6)],'limiter':this[_0x2a66c0(0x151)](),'positions':Do});}),this[_0x30c7c8(0x14f)]['on'](_0x30c7c8(0xe1),()=>{const _0x130284=_0x30c7c8;this[_0x130284(0x110)][_0x130284(0x136)]&&this[_0x130284(0x110)][_0x130284(0xe8)]({'target':this[_0x130284(0x148)][_0x130284(0xe6)],'limiter':this[_0x130284(0x151)](),'positions':Do});}),_0x48770a[_0x30c7c8(0x160)][_0x30c7c8(0x133)](this[_0x30c7c8(0x14f)]);}[_0x356aea(0x141)](_0x4a21bd,_0x3f79fd){const _0x103b9b=_0x356aea,_0x2a338b=_0x103b9b(0x169)===_0x3f79fd[_0x103b9b(0x16c)]?new SourcesBalloonButtonView(_0x4a21bd):new _0x5ee25a(_0x4a21bd);return _0x2a338b[_0x103b9b(0xfb)]({'label':_0x3f79fd[_0x103b9b(0x108)],'icon':_0x3f79fd[_0x103b9b(0xff)],'withText':!0x0,'tooltip':!0x0,'tooltipPosition':'sw','class':Mo}),_0x2a338b;}[_0x356aea(0x103)](){const _0x43f010=_0x356aea;this[_0x43f010(0x16b)](),this[_0x43f010(0xf7)]();}[_0x356aea(0xf7)](){const _0x3d5ba5=_0x356aea;_0x17e545({'emitter':this[_0x3d5ba5(0x110)],'contextElements':[this[_0x3d5ba5(0x110)][_0x3d5ba5(0xe6)]],'callback':()=>{const _0x112e01=_0x3d5ba5;this[_0x112e01(0x122)]();},'activator':()=>this[_0x3d5ba5(0x110)][_0x3d5ba5(0x136)]});}[_0x356aea(0x13b)](_0x3bb669){const _0x173bb9=_0x356aea,_0x4a935f=this[_0x173bb9(0x15c)];_0x4a935f[_0x173bb9(0xf1)][_0x173bb9(0x166)]=_0x3bb669,_0x3bb669?_0x4a935f[_0x173bb9(0x120)][_0x173bb9(0x10e)]():_0x4a935f[_0x173bb9(0x120)][_0x173bb9(0x123)]();}[_0x356aea(0x16b)](){const _0x24faeb=_0x356aea,{balloonView:_0x4b61b6,buttonView:_0x326666,hideMethod:_0xcc49ac}=this[_0x24faeb(0x15c)];_0x17e545({'emitter':_0x4b61b6,'contextElements':[_0x4b61b6[_0x24faeb(0xe6)],_0x326666[_0x24faeb(0xe6)]],'callback':()=>{_0xcc49ac();},'activator':()=>_0x326666[_0x24faeb(0x166)]&&!this[_0x24faeb(0x110)][_0x24faeb(0x136)]&&!this[_0x24faeb(0x147)][_0x24faeb(0xeb)]()});}[_0x356aea(0x109)](_0x3a157e,_0x1ba411,_0x48fdd0=!0x1,_0x4570c7=!0x1){const _0x2500d9=_0x356aea,_0xca3c55=_0x2500d9(0x157)===_0x1ba411||!0x0===_0x3a157e[_0x2500d9(0x167)],_0x3c09c5=new _0x1d36aa(this[_0x2500d9(0x14a)],_0x3a157e,_0xca3c55,_0x48fdd0,_0x4570c7);return _0xca3c55||_0x3c09c5['on'](_0x2500d9(0x10a),()=>{const _0x2fb15c=_0x2500d9;this[_0x2fb15c(0x13c)](_0x2fb15c(0x158),_0x3c09c5['id']);}),_0x3c09c5;}[_0x356aea(0xfe)](_0x45f9e5,_0x5a13ac){const _0x3f33d0=_0x356aea;_0x5a13ac[_0x3f33d0(0x133)](_0x45f9e5,0x0);}[_0x356aea(0x113)](_0x4c2f3f,_0x36e111){const _0x5685c1=_0x356aea,_0x4c942d=_0x36e111[_0x5685c1(0x10b)](_0x33214e=>_0x33214e['id']===_0x4c2f3f);_0x4c942d&&_0x36e111[_0x5685c1(0x121)](_0x4c942d);}[_0x356aea(0x127)](){const _0x1d556a=_0x356aea;this[_0x1d556a(0x148)][_0x1d556a(0x166)]?this[_0x1d556a(0x16a)]():(this[_0x1d556a(0x115)](),this[_0x1d556a(0x12a)][_0x1d556a(0xe8)]({'target':this[_0x1d556a(0x148)][_0x1d556a(0xe6)],'limiter':this[_0x1d556a(0x151)](),'positions':Do}));}[_0x356aea(0x142)](_0x4f37ce){const _0x3d352a=_0x356aea;this[_0x3d352a(0x14f)][_0x3d352a(0x14d)](),this[_0x3d352a(0x122)](),this[_0x3d352a(0x13c)](_0x3d352a(0x12e),_0x4f37ce);}}export class SourcesBalloonButtonView extends _0x5ee25a{[_0x356aea(0x134)];constructor(_0x302b1b){const _0x72d1a8=_0x356aea;super(_0x302b1b),this[_0x72d1a8(0xfb)]({'withText':!0x0,'role':_0x72d1a8(0xfa)}),this[_0x72d1a8(0x134)]=this[_0x72d1a8(0x128)](),this[_0x72d1a8(0x15d)]({'attributes':{'class':[Ho]}});}[_0x356aea(0x144)](){const _0x2bbf09=_0x356aea;super[_0x2bbf09(0x144)](),this[_0x2bbf09(0x162)][_0x2bbf09(0x133)](this[_0x2bbf09(0x134)]);}[_0x356aea(0x128)](){const _0x25f859=_0x356aea,_0xc32490=new _0x17ed6b();return _0xc32490[_0x25f859(0x160)]=_0x4e34cd,_0xc32490[_0x25f859(0x15d)]({'attributes':{'class':Ho+_0x25f859(0x10c)}}),_0xc32490;}}
|
|
23
|
+
const _0x2ee477=_0x5076;(function(_0x11e270,_0x280ac0){const _0x51c5a6=_0x5076,_0x286b02=_0x11e270();while(!![]){try{const _0x2ef716=-parseInt(_0x51c5a6(0x13a))/0x1*(parseInt(_0x51c5a6(0x118))/0x2)+-parseInt(_0x51c5a6(0x117))/0x3+parseInt(_0x51c5a6(0x122))/0x4*(-parseInt(_0x51c5a6(0x134))/0x5)+-parseInt(_0x51c5a6(0x109))/0x6*(-parseInt(_0x51c5a6(0xfb))/0x7)+parseInt(_0x51c5a6(0x120))/0x8+-parseInt(_0x51c5a6(0x12a))/0x9*(parseInt(_0x51c5a6(0x12f))/0xa)+-parseInt(_0x51c5a6(0x16a))/0xb*(-parseInt(_0x51c5a6(0xe7))/0xc);if(_0x2ef716===_0x280ac0)break;else _0x286b02['push'](_0x286b02['shift']());}catch(_0x262164){_0x286b02['push'](_0x286b02['shift']());}}}(_0x584a,0xbbb0d));import{BalloonPanelView as _0x53c740,ButtonView as _0x4d9735,clickOutsideHandler as _0x53a877,FileDialogButtonView as _0x3b3ec8,IconView as _0x2e8000,View as _0x1a61ef}from'ckeditor5/src/ui.js';import{IconBrowseFiles as _0x5b26ef,IconDocument as _0xb7b852,IconDocumentOutline as _0x5aaf9f,IconDropdownArrow as _0x231f78,IconLink as _0x51b0e5,IconPaperClip as _0x4d65b8}from'@ckeditor/ckeditor5-icons';import{AIChatContextItemButtonView as _0xb95f48}from'./aichatcontextitembuttonview.js';import{AIChatContextPanelUrlInputView as _0x2707fe}from'./aichatcontextpanelurlinputview.js';import{AIChatChipsOverflowManager as _0x4aaff9}from'./aichatchipsoverflowmanager.js';import{getTranslation as _0x6b549}from'../../../aicore/utils/common-translations.js';function _0x5076(_0x27ad60,_0x5c788d){const _0x584a0d=_0x584a();return _0x5076=function(_0x5076c0,_0x111cd4){_0x5076c0=_0x5076c0-0xe2;let _0x2a161a=_0x584a0d[_0x5076c0];return _0x2a161a;},_0x5076(_0x27ad60,_0x5c788d);}import{AIChatResourcesBalloonView as _0x1f010c}from'./resources/aichatresourcesballoonview.js';export const CONTEXT_PANEL_VIEW_EVENT_NAMES=[_0x2ee477(0xf9),_0x2ee477(0x121),_0x2ee477(0xec),_0x2ee477(0x13c),_0x2ee477(0xf0),_0x2ee477(0x108)];const Eo=_0x2ee477(0x166),vo=_0x2ee477(0x172),Vo=_0x2ee477(0x103),Io=_0x2ee477(0x165),Po=_0x2ee477(0x100),Ro=_0x2ee477(0xff),Uo=_0x2ee477(0x14a),Lo=_0x2ee477(0x15d),No=_0x2ee477(0xfd),Oo=_0x2ee477(0x11d),Mo=_0x2ee477(0x14d),Ho=_0x2ee477(0x164),jo=[_0x53c740[_0x2ee477(0x173)][_0x2ee477(0xe4)],_0x53c740[_0x2ee477(0x173)][_0x2ee477(0x11f)],_0x53c740[_0x2ee477(0x173)][_0x2ee477(0x152)],_0x53c740[_0x2ee477(0x173)][_0x2ee477(0x15e)],_0x53c740[_0x2ee477(0x173)][_0x2ee477(0x14e)],_0x53c740[_0x2ee477(0x173)][_0x2ee477(0x10a)]];export class AIChatContextPanelView extends _0x1a61ef{[_0x2ee477(0x101)];[_0x2ee477(0x143)]=this[_0x2ee477(0x12b)]();[_0x2ee477(0x12c)]=this[_0x2ee477(0x12b)]();[_0x2ee477(0xe6)];[_0x2ee477(0x156)];[_0x2ee477(0x13b)];[_0x2ee477(0xf5)];[_0x2ee477(0x149)];[_0x2ee477(0xeb)];[_0x2ee477(0x125)];constructor(_0x37ffda,_0x348848){const _0x43b449=_0x2ee477;super(_0x37ffda),this[_0x43b449(0x125)]=_0x348848[_0x43b449(0x125)],this[_0x43b449(0x143)]=this[_0x43b449(0x12b)](),this[_0x43b449(0x12c)]=this[_0x43b449(0x12b)](),this[_0x43b449(0x101)]=this[_0x43b449(0x128)](_0x37ffda),this[_0x43b449(0x156)]=this[_0x43b449(0x16b)](_0x37ffda),this[_0x43b449(0x13b)]=this[_0x43b449(0x119)](_0x37ffda),this[_0x43b449(0x149)]=this[_0x43b449(0xf2)](_0x37ffda,_0x348848);const _0x58bfb2={'cssClasses':{'showMoreButton':Oo,'showMoreBalloon':Mo,'overflowContainer':No,'controlsButton':Lo}};this[_0x43b449(0xe6)]=new _0x4aaff9(_0x37ffda,this[_0x43b449(0x143)],_0x58bfb2,this[_0x43b449(0x125)],this),this[_0x43b449(0xeb)]={'buttonView':this[_0x43b449(0x101)],'balloonView':this[_0x43b449(0x156)],'hideMethod':this[_0x43b449(0x16c)][_0x43b449(0x155)](this),'showMethod':this[_0x43b449(0x14f)][_0x43b449(0x155)](this)},this[_0x43b449(0x168)](),this[_0x43b449(0x15a)]();}[_0x2ee477(0x104)](){const _0x299469=_0x2ee477;super[_0x299469(0x104)](),this[_0x299469(0x11a)](),this[_0x299469(0xe6)][_0x299469(0x15c)](this[_0x299469(0x15f)]),this[_0x299469(0xe6)][_0x299469(0x116)]();}[_0x2ee477(0x154)](){const _0xce4adb=_0x2ee477;super[_0xce4adb(0x154)](),this[_0xce4adb(0xe6)][_0xce4adb(0x154)](),this[_0xce4adb(0x149)][_0xce4adb(0x154)]();}[_0x2ee477(0x144)](_0x340c3f,_0x2f6625){const _0x2f87b7=_0x2ee477,_0x25da14=this[_0x2f87b7(0x10f)](_0x340c3f,_0x2f87b7(0xf8),!0x0,_0x2f6625);this[_0x2f87b7(0x140)](_0x25da14,this[_0x2f87b7(0x143)]),this[_0x2f87b7(0xe6)][_0x2f87b7(0x116)]();}[_0x2ee477(0xf0)](_0x3dd842){const _0x1e2e23=_0x2ee477;this[_0x1e2e23(0xef)](_0x3dd842,this[_0x1e2e23(0x143)]),this[_0x1e2e23(0xef)](_0x3dd842,this[_0x1e2e23(0xe6)][_0x1e2e23(0x11b)]),this[_0x1e2e23(0xe6)][_0x1e2e23(0x116)]();}[_0x2ee477(0xf7)](_0x562507,_0xa89ad7){const _0x27de08=_0x2ee477;let _0x2e3e71=this[_0x27de08(0x143)][_0x27de08(0xea)](_0x5f1be2=>_0x5f1be2['id']===_0x562507);_0x2e3e71||(_0x2e3e71=this[_0x27de08(0xe6)][_0x27de08(0x11b)][_0x27de08(0xea)](_0x260ef2=>_0x260ef2['id']===_0x562507)),_0x2e3e71&&(_0x2e3e71[_0x27de08(0x16e)]=_0xa89ad7);}[_0x2ee477(0xfa)](_0x2cbb39){const _0x5f4cde=_0x2ee477;this[_0x5f4cde(0x12c)][_0x5f4cde(0xe9)]();for(const _0x262eb7 of _0x2cbb39){const _0x1b1079=this[_0x5f4cde(0x10f)](_0x262eb7,_0x5f4cde(0x127),!0x1,!0x1);this[_0x5f4cde(0x140)](_0x1b1079,this[_0x5f4cde(0x12c)]);}}[_0x2ee477(0xe8)](){const _0x1f5fb8=_0x2ee477;this[_0x1f5fb8(0x143)][_0x1f5fb8(0xe9)](),this[_0x1f5fb8(0xe6)][_0x1f5fb8(0xe9)]();}[_0x2ee477(0x131)](){const _0x35ea7b=_0x2ee477;this[_0x35ea7b(0x12c)][_0x35ea7b(0xe9)]();}[_0x2ee477(0x136)](_0x27c594,_0x572bae,_0x33b8a8){const _0x2cb750=_0x2ee477;this[_0x2cb750(0x149)][_0x2cb750(0x136)](_0x27c594,_0x572bae,_0x33b8a8);}[_0x2ee477(0x16c)](){const _0x286718=_0x2ee477;this[_0x286718(0x130)](!0x1);}[_0x2ee477(0x14f)](){const _0x54ed3c=_0x2ee477;this[_0x54ed3c(0x130)](!0x0);}[_0x2ee477(0xf6)](){const _0x133af7=_0x2ee477;this[_0x133af7(0x13b)][_0x133af7(0x10b)](),this[_0x133af7(0x101)][_0x133af7(0xf4)]=!0x1,this[_0x133af7(0xf5)]&&this[_0x133af7(0xf5)][_0x133af7(0xe9)]();}[_0x2ee477(0x139)](){const _0x28cbcf=_0x2ee477;this[_0x28cbcf(0x13b)][_0x28cbcf(0x106)](),this[_0x28cbcf(0x101)][_0x28cbcf(0xf4)]=!0x0;}[_0x2ee477(0x150)](_0x520ff7){const _0xd5f5ff=_0x2ee477;this[_0xd5f5ff(0x149)][_0xd5f5ff(0x113)](_0x520ff7),this[_0xd5f5ff(0x101)][_0xd5f5ff(0xf4)]=!0x0;}[_0x2ee477(0x123)](_0x6006d6,_0x57057d,_0x3faa69,_0x39ed80){const _0x2a317a=_0x2ee477;this[_0x2a317a(0x149)][_0x2a317a(0x123)](_0x6006d6,_0x3faa69,_0x39ed80);}[_0x2ee477(0x137)](_0x523b5a){const _0x386d92=_0x2ee477;this[_0x386d92(0x149)][_0x386d92(0x137)](_0x523b5a),this[_0x386d92(0x101)][_0x386d92(0xf4)]=!0x1;}[_0x2ee477(0x111)](_0x3748c5){const _0x49e574=_0x2ee477;this[_0x49e574(0xfe)](this[_0x49e574(0x156)],this[_0x49e574(0x13d)],_0x3748c5),this[_0x49e574(0x158)](_0x3748c5);}[_0x2ee477(0x158)](_0x4d7d1e){const _0x2ff0cf=_0x2ee477,_0x45a59c=!_0x4d7d1e[_0x2ff0cf(0x15b)][_0x2ff0cf(0x114)]&&_0x4d7d1e[_0x2ff0cf(0x15b)][_0x2ff0cf(0x132)],_0x5a07cd=_0x4d7d1e[_0x2ff0cf(0x10e)][_0x2ff0cf(0x132)],_0x3c6381=_0x4d7d1e[_0x2ff0cf(0x14b)][_0x2ff0cf(0x132)];this[_0x2ff0cf(0x101)][_0x2ff0cf(0x11e)]=_0x45a59c||_0x5a07cd||_0x3c6381;}[_0x2ee477(0x168)](){const _0x49669c=_0x2ee477;this[_0x49669c(0x12e)]({'tag':_0x49669c(0xed),'attributes':{'class':[Eo,_0x49669c(0x167)]},'children':[{'tag':_0x49669c(0xed),'attributes':{'class':vo},'children':this[_0x49669c(0x143)]}]});}[_0x2ee477(0x15a)](){const _0x297beb=_0x2ee477;this[_0x297beb(0x101)]['on'](_0x297beb(0x147),()=>{const _0x1b31ce=_0x297beb;this[_0x1b31ce(0xf1)]();});}[_0x2ee477(0x128)](_0x33aa7c){const _0x3d63f2=_0x2ee477,_0x2323c8=new _0x4d9735(_0x33aa7c);return _0x2323c8[_0x3d63f2(0x14c)]({'label':_0x6b549(_0x33aa7c,_0x3d63f2(0xee)),'class':Lo+'\x20'+Io,'icon':_0x4d65b8,'isToggleable':!0x0,'tooltip':!0x0,'tooltipPosition':'sw'}),_0x2323c8;}[_0x2ee477(0x16b)](_0x117b17){const _0x2c59f9=_0x2ee477;return this[_0x2c59f9(0x107)](_0x117b17,Vo);}[_0x2ee477(0x119)](_0x2b5688){const _0x43fcde=_0x2ee477,_0x34f53f=this[_0x43fcde(0x107)](_0x2b5688,Po);return this[_0x43fcde(0xe5)](_0x34f53f,_0x2b5688),_0x34f53f;}[_0x2ee477(0xf2)](_0x51df93,_0x59bb0d){const _0x54fabd=_0x2ee477,_0x110b50={'searchInputVisibleFrom':_0x59bb0d[_0x54fabd(0x105)],'onBackToContext':()=>{const _0x1e7c13=_0x54fabd;this[_0x1e7c13(0x14f)](),this[_0x1e7c13(0x156)][_0x1e7c13(0xfc)]({'target':this[_0x1e7c13(0x101)][_0x1e7c13(0x15f)],'limiter':this[_0x1e7c13(0x133)](),'positions':jo});},'onResourceSelected':(_0x329e7b,_0x37ce7e)=>{const _0x462570=_0x54fabd;this[_0x462570(0x141)](_0x462570(0x13c),{'source':_0x329e7b,'resource':_0x37ce7e});},'onLoadSourceResources':_0x59de32=>{const _0x382421=_0x54fabd;this[_0x382421(0x141)](_0x382421(0x108),_0x59de32);},'onBalloonClosed':()=>{const _0x3ec48e=_0x54fabd;this[_0x3ec48e(0x101)][_0x3ec48e(0xf4)]=!0x1;},'getLimiterElement':()=>this[_0x54fabd(0x133)](),'getTargetElement':()=>this[_0x54fabd(0x101)][_0x54fabd(0x15f)]};return new _0x1f010c(_0x51df93,_0x59bb0d[_0x54fabd(0x125)],_0x110b50);}[_0x2ee477(0x133)](){const _0x2713ba=_0x2ee477;return this[_0x2713ba(0x15f)]?.[_0x2713ba(0x160)]('.'+Ho)||document[_0x2713ba(0x10c)];}[_0x2ee477(0x107)](_0x560d20,_0x21d80c){const _0x1dce17=_0x2ee477,_0x39cb43=new _0x53c740(_0x560d20);return _0x39cb43[_0x1dce17(0x157)]({'attributes':{'class':_0x21d80c}}),this[_0x1dce17(0x125)][_0x1dce17(0xe2)](_0x39cb43),_0x39cb43;}[_0x2ee477(0xfe)](_0x163b73,_0x45aa5d,_0x5443b3){const _0x12321d=_0x2ee477;if(_0x163b73[_0x12321d(0x110)][_0x12321d(0xe9)](),!_0x5443b3[_0x12321d(0x15b)][_0x12321d(0x114)]&&_0x5443b3[_0x12321d(0x15b)][_0x12321d(0x132)]){const _0x50c777=this[_0x12321d(0x145)](_0x45aa5d,{'label':_0x6b549(_0x45aa5d,_0x12321d(0x146)),'icon':_0xb7b852});_0x50c777['on'](_0x12321d(0x147),()=>{const _0xa92633=_0x12321d;this[_0xa92633(0x141)](_0xa92633(0xf9)),this[_0xa92633(0x16c)]();}),_0x163b73[_0x12321d(0x110)][_0x12321d(0xe2)](_0x50c777);}if(_0x5443b3[_0x12321d(0x10e)][_0x12321d(0x132)]){const _0x22bee1=this[_0x12321d(0x145)](_0x45aa5d,{'label':_0x6b549(_0x45aa5d,_0x12321d(0xe3)),'icon':_0x51b0e5});_0x22bee1['on'](_0x12321d(0x147),()=>{const _0x2576a8=_0x12321d;this[_0x2576a8(0x16c)](),this[_0x2576a8(0x139)](),this[_0x2576a8(0x13b)][_0x2576a8(0xfc)]({'target':this[_0x2576a8(0x101)][_0x2576a8(0x15f)],'limiter':this[_0x2576a8(0x133)](),'positions':jo}),this[_0x2576a8(0xf5)][_0x2576a8(0x161)]();}),_0x163b73[_0x12321d(0x110)][_0x12321d(0xe2)](_0x22bee1);}if(_0x5443b3[_0x12321d(0x14b)][_0x12321d(0x132)]){const _0x5cbe96=new _0x3b3ec8(_0x45aa5d);_0x5cbe96[_0x12321d(0x14c)]({'label':_0x6b549(_0x45aa5d,_0x12321d(0x12d)),'icon':_0x5b26ef,'withText':!0x0,'tooltip':!0x0,'class':Ro,'allowMultipleFiles':!0x0}),_0x5cbe96['on'](_0x12321d(0x16d),(_0x3e8bef,_0x5440fc)=>{const _0x3daf76=_0x12321d;this[_0x3daf76(0x141)](_0x3daf76(0x121),_0x5440fc),this[_0x3daf76(0x16c)]();}),_0x5cbe96[_0x12321d(0x163)]=!0x0,_0x163b73[_0x12321d(0x110)][_0x12321d(0xe2)](_0x5cbe96);}for(const _0x5a4de5 of _0x5443b3[_0x12321d(0x148)]){const _0x5e3b0d=this[_0x12321d(0x145)](_0x45aa5d,{'label':_0x5a4de5[_0x12321d(0x151)],'icon':_0x5a4de5[_0x12321d(0x169)]||_0x5aaf9f,'type':_0x12321d(0x13e)});_0x163b73[_0x12321d(0x110)][_0x12321d(0xe2)](_0x5e3b0d),_0x5e3b0d['on'](_0x12321d(0x147),()=>{const _0x559927=_0x12321d;this[_0x559927(0x16c)](),this[_0x559927(0x150)](_0x5a4de5);});}}[_0x2ee477(0xe5)](_0xa75e8c,_0x28c844){const _0x54697d=_0x2ee477;this[_0x54697d(0xf5)]=new _0x2707fe(_0x28c844),this[_0x54697d(0xf5)]['on'](_0x54697d(0x10d),(_0x1c1558,_0x256602)=>{const _0x3b4642=_0x54697d;this[_0x3b4642(0xf3)](_0x256602);}),this[_0x54697d(0xf5)]['on'](_0x54697d(0x102),()=>{const _0x45db83=_0x54697d;this[_0x45db83(0xf6)](),this[_0x45db83(0x14f)](),this[_0x45db83(0x156)][_0x45db83(0xfc)]({'target':this[_0x45db83(0x101)][_0x45db83(0x15f)],'limiter':this[_0x45db83(0x133)](),'positions':jo});}),this[_0x54697d(0xf5)]['on'](_0x54697d(0x112),()=>{const _0x8ebc1d=_0x54697d;this[_0x8ebc1d(0x13b)][_0x8ebc1d(0x16f)]&&this[_0x8ebc1d(0x13b)][_0x8ebc1d(0xfc)]({'target':this[_0x8ebc1d(0x101)][_0x8ebc1d(0x15f)],'limiter':this[_0x8ebc1d(0x133)](),'positions':jo});}),_0xa75e8c[_0x54697d(0x110)][_0x54697d(0xe2)](this[_0x54697d(0xf5)]);}[_0x2ee477(0x145)](_0x38f78d,_0x332e6e){const _0xdcfcc4=_0x2ee477,_0x52b8a1=_0xdcfcc4(0x13e)===_0x332e6e[_0xdcfcc4(0x11c)]?new SourcesBalloonButtonView(_0x38f78d):new _0x4d9735(_0x38f78d);return _0x52b8a1[_0xdcfcc4(0x14c)]({'label':_0x332e6e[_0xdcfcc4(0x151)],'icon':_0x332e6e[_0xdcfcc4(0x169)],'withText':!0x0,'tooltip':!0x0,'tooltipPosition':'sw','class':Ro}),_0x52b8a1;}[_0x2ee477(0x11a)](){const _0x459ddf=_0x2ee477;this[_0x459ddf(0x162)](),this[_0x459ddf(0x115)]();}[_0x2ee477(0x115)](){const _0x35d264=_0x2ee477;_0x53a877({'emitter':this[_0x35d264(0x13b)],'contextElements':[this[_0x35d264(0x13b)][_0x35d264(0x15f)]],'callback':()=>{const _0x231029=_0x35d264;this[_0x231029(0xf6)]();},'activator':()=>this[_0x35d264(0x13b)][_0x35d264(0x16f)]});}[_0x2ee477(0x130)](_0x131609){const _0x342323=_0x2ee477,_0x448805=this[_0x342323(0xeb)];_0x448805[_0x342323(0x142)][_0x342323(0xf4)]=_0x131609,_0x131609?_0x448805[_0x342323(0x126)][_0x342323(0x106)]():_0x448805[_0x342323(0x126)][_0x342323(0x10b)]();}[_0x2ee477(0x162)](){const _0x8e99f3=_0x2ee477,{balloonView:_0x286ce5,buttonView:_0x47df9a,hideMethod:_0x8acac4}=this[_0x8e99f3(0xeb)];_0x53a877({'emitter':_0x286ce5,'contextElements':[_0x286ce5[_0x8e99f3(0x15f)],_0x47df9a[_0x8e99f3(0x15f)]],'callback':()=>{_0x8acac4();},'activator':()=>_0x47df9a[_0x8e99f3(0xf4)]&&!this[_0x8e99f3(0x13b)][_0x8e99f3(0x16f)]&&!this[_0x8e99f3(0x149)][_0x8e99f3(0x13f)]()});}[_0x2ee477(0x10f)](_0x13b932,_0x274802,_0x1802d1=!0x1,_0x1c2f1f=!0x1){const _0x4237ef=_0x2ee477,_0x543676=_0x4237ef(0x127)===_0x274802||!0x0===_0x13b932[_0x4237ef(0x153)],_0x195266=new _0xb95f48(this[_0x4237ef(0x13d)],_0x13b932,_0x543676,_0x1802d1,_0x1c2f1f);return _0x543676||_0x195266['on'](_0x4237ef(0x170),()=>{const _0xbd587b=_0x4237ef;this[_0xbd587b(0x141)](_0xbd587b(0xf0),_0x195266['id']);}),_0x195266;}[_0x2ee477(0x140)](_0x4652f3,_0x355318){const _0x7cdf3a=_0x2ee477;_0x355318[_0x7cdf3a(0xe2)](_0x4652f3,0x0);}[_0x2ee477(0xef)](_0x1c4844,_0x1f253c){const _0x530f34=_0x2ee477,_0xc4e5fc=_0x1f253c[_0x530f34(0xea)](_0x59af5a=>_0x59af5a['id']===_0x1c4844);_0xc4e5fc&&_0x1f253c[_0x530f34(0x129)](_0xc4e5fc);}[_0x2ee477(0xf1)](){const _0x37ac5e=_0x2ee477;this[_0x37ac5e(0x101)][_0x37ac5e(0xf4)]?this[_0x37ac5e(0x16c)]():(this[_0x37ac5e(0x14f)](),this[_0x37ac5e(0x156)][_0x37ac5e(0xfc)]({'target':this[_0x37ac5e(0x101)][_0x37ac5e(0x15f)],'limiter':this[_0x37ac5e(0x133)](),'positions':jo}));}[_0x2ee477(0xf3)](_0x3ff920){const _0x521914=_0x2ee477;this[_0x521914(0xf5)][_0x521914(0xe9)](),this[_0x521914(0xf6)](),this[_0x521914(0x141)](_0x521914(0xec),_0x3ff920);}}function _0x584a(){const _0x36b9c8=['element','closest','focus','_setupAddContextBalloonClickOutsideHandler','tooltip','ck-ai-chat','ck-ai-chat-context-controls__add-context-button','ck-ai-chat-context-controls','ck-reset_all-excluded','_setupTemplate','icon','7766RVJZil','_createAddContextBalloonPanelView','hideAddContextBalloonPanel','done','isLoading','isVisible','removeContextItemChip','children','ck-ai-chat-context-controls__pending-contexts','defaultPositions','add','AI_CHAT_CONTEXT_URL_LABEL','northArrowSouthWest','_addUrlContent','_overflowManager','50268mSDVYD','clearCurrentContextItems','clear','find','_addContextBalloonConfig','addUrlToContext','div','AI_CHAT_CONTEXT_ADD_CONTEXT','_removeContextFromCollection','removeContextItem','_handleAddContextButtonClick','_createResourcesBalloonView','_handleUrlSubmit','isOn','_urlInputView','hideUrlBalloonPanel','setContextItemLoading','current','addDocumentToContext','setConversationContext','5348uwLkxy','pin','ck-ai-chat-context-chips-wrapper-balloon','_setBalloonPanelContent','ck-ai-chat-context-controls__balloon-button','ck-ai-chat-context-controls__url-balloon-panel','addContextButtonView','cancel','ck-ai-chat-context-controls__add-context-balloon-panel','render','searchInputVisibleFrom','show','_createBaseBalloonPanel','loadSourceResources','5268yvfdSL','southArrowNorthEast','hide','body','submitUrl','urls','_createContextButton','content','setAddContextOptions','refreshBalloon','showSourceResourcesBalloon','isHidden','_setupUrlBalloonClickOutsideHandler','reorganizeChips','2065902OetBTy','4EygvRU','_createUrlBalloonPanelView','_setupAllBalloonClickOutsideHandlers','overflowChips','type','ck-ai-chat-controls_context_show-more-button','isEnabled','northArrowSouth','494224kYtXKj','addFileToContext','160BLmNyO','populateSourceResourceBalloon','__arrow','bodyCollection','balloonView','conversation','_createAddContextButtonView','remove','2442969qgqSYT','createCollection','_conversationContextsChips','AI_CHAT_CONTEXT_FILE_LABEL','setTemplate','30WfMqTB','_toggleAddContextBalloon','clearConversationContextItems','enabled','_getLimiterElement','146460XELPmm','arrowView','updateResourceState','closeSourceResourceBalloon','_createArrowView','showUrlBalloonPanel','123293GryIZl','_urlBalloonPanelView','addResourceToContext','locale','source','isAnyResourceBalloonVisible','_addContextToCollection','fire','buttonView','_currentContextsChips','addContextItem','_createBalloonButton','AI_CHAT_CONTEXT_CURRENT_DOCUMENT','execute','sources','_resourcesBalloonView','ck-ai-chat-context-controls__balloon-button-source','files','set','ck-ai-chat-context-controls__show-more-balloon-panel','southArrowNorth','showAddContextBalloonPanel','_showSourceResourcesBalloon','label','northArrowSouthEast','isReadOnly','destroy','bind','_addContextBalloonPanelView','extendTemplate','_setAddContextButtonEnabled','menuitem','_bindEventHandlers','document','setContainerElement','ck-ai-chat-controls-button','southArrowNorthWest'];_0x584a=function(){return _0x36b9c8;};return _0x584a();}export class SourcesBalloonButtonView extends _0x4d9735{[_0x2ee477(0x135)];constructor(_0x2ca2e7){const _0x373277=_0x2ee477;super(_0x2ca2e7),this[_0x373277(0x14c)]({'withText':!0x0,'role':_0x373277(0x159)}),this[_0x373277(0x135)]=this[_0x373277(0x138)](),this[_0x373277(0x157)]({'attributes':{'class':[Uo]}});}[_0x2ee477(0x104)](){const _0x1d1133=_0x2ee477;super[_0x1d1133(0x104)](),this[_0x1d1133(0x171)][_0x1d1133(0xe2)](this[_0x1d1133(0x135)]);}[_0x2ee477(0x138)](){const _0x54a8dd=_0x2ee477,_0x3c2f54=new _0x2e8000();return _0x3c2f54[_0x54a8dd(0x110)]=_0x231f78,_0x3c2f54[_0x54a8dd(0x157)]({'attributes':{'class':Uo+_0x54a8dd(0x124)}}),_0x3c2f54;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x6f3810=_0x18bf;(function(_0x12e116,_0x18c97d){const _0xf8d2d6=_0x18bf,_0x60db8c=_0x12e116();while(!![]){try{const _0x47ad5b=-parseInt(_0xf8d2d6(0x1ab))/0x1+parseInt(_0xf8d2d6(0x19b))/0x2*(parseInt(_0xf8d2d6(0x191))/0x3)+-parseInt(_0xf8d2d6(0x19d))/0x4*(-parseInt(_0xf8d2d6(0x194))/0x5)+parseInt(_0xf8d2d6(0x18f))/0x6*(parseInt(_0xf8d2d6(0x19c))/0x7)+-parseInt(_0xf8d2d6(0x1a9))/0x8*(parseInt(_0xf8d2d6(0x199))/0x9)+parseInt(_0xf8d2d6(0x1a3))/0xa*(-parseInt(_0xf8d2d6(0x198))/0xb)+parseInt(_0xf8d2d6(0x1a2))/0xc*(parseInt(_0xf8d2d6(0x19e))/0xd);if(_0x47ad5b===_0x18c97d)break;else _0x60db8c['push'](_0x60db8c['shift']());}catch(_0x1d10ef){_0x60db8c['push'](_0x60db8c['shift']());}}}(_0x4351,0x8c26c));import{ButtonView as _0xd9a14b,View as _0x1849b2}from'ckeditor5/src/ui.js';import{IconStop as _0x5cc8b8}from'ckeditor5/src/icons.js';import{getTranslation as _0x5b53ef}from'../../../aicore/utils/common-translations.js';export class AIChatControlsLoaderView extends _0x1849b2{[_0x6f3810(0x190)];[_0x6f3810(0x1a7)];constructor(_0x4086d0){const _0x5737e9=_0x6f3810;super(_0x4086d0),this[_0x5737e9(0x190)]=this[_0x5737e9(0x19f)](),this[_0x5737e9(0x1a7)]=this[_0x5737e9(0x19a)](),this[_0x5737e9(0x18e)]({'tag':_0x5737e9(0x1a4),'attributes':{'class':['ck',_0x5737e9(0x1a0),_0x5737e9(0x192)]},'children':[this[_0x5737e9(0x1a7)],this[_0x5737e9(0x190)]]});}[_0x6f3810(0x19f)](){const _0x345fe9=_0x6f3810,_0x40f747=new _0xd9a14b(this[_0x345fe9(0x1a8)]);return _0x40f747[_0x345fe9(0x197)]({'label':_0x5b53ef(this[_0x345fe9(0x1a8)],_0x345fe9(0x1a1)),'withText':!0x0,'class':_0x345fe9(0x193),'icon':_0x5cc8b8}),_0x40f747['on'](_0x345fe9(0x196),()=>{const _0x24ac82=_0x345fe9;this[_0x24ac82(0x1aa)](_0x24ac82(0x195));}),_0x40f747;}[_0x6f3810(0x19a)](){const _0x5d1db4=_0x6f3810,_0x14d270=new _0x1849b2(this[_0x5d1db4(0x1a8)]);return _0x14d270[_0x5d1db4(0x18e)]({'tag':_0x5d1db4(0x1a4),'attributes':{'class':[_0x5d1db4(0x18d)]},'children':[{'tag':_0x5d1db4(0x1a4),'attributes':{'class':[_0x5d1db4(0x1a5)]},'children':[{'tag':_0x5d1db4(0x1a4),'attributes':{'class':[_0x5d1db4(0x18c)]}},{'tag':_0x5d1db4(0x1a4),'attributes':{'class':[_0x5d1db4(0x18c)]}},{'tag':_0x5d1db4(0x1a4),'attributes':{'class':[_0x5d1db4(0x18c)]}}]},{'text':_0x5b53ef(this[_0x5d1db4(0x1a8)],_0x5d1db4(0x1a6))}]}),_0x14d270;}}function _0x18bf(_0x2985be,_0x209a35){const _0x435167=_0x4351();return _0x18bf=function(_0x18bf50,_0x69c1e6){_0x18bf50=_0x18bf50-0x18c;let _0x77a00b=_0x435167[_0x18bf50];return _0x77a00b;},_0x18bf(_0x2985be,_0x209a35);}function _0x4351(){const _0x281cb1=['390lUvyhl','abortPromptStream','execute','set','121NXDPdc','108YLpRUS','_createLoaderView','978700RyXQTZ','36932bkyvhs','31616UDYuSd','26ccHBRy','_createCancelButtonView','ck-ai-chat-controls-loader-wrapper','AI_CHAT_STOP_GENERATING','3348456bZJSdT','749810iUvWpj','div','ck-ai-chat-controls-loader-icon','AI_CHAT_IS_WRITING','_loaderView','locale','254576MBaFMS','fire','157575JeZSsP','ck-ai-chat-controls-loader-icon-dot','ck-ai-chat-controls-loader','setTemplate','312znKbzf','_cancelButtonView','3rhJOyg','ck-reset_all','ck-ai-button-secondary\x20ck-ai-button-stop-generating'];_0x4351=function(){return _0x281cb1;};return _0x4351();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x414efb=_0x3960;(function(_0x563b09,_0x4fe6a1){const _0x350d9d=_0x3960,_0x13a4c8=_0x563b09();while(!![]){try{const _0x18b31f=parseInt(_0x350d9d(0xb5))/0x1*(parseInt(_0x350d9d(0xf0))/0x2)+-parseInt(_0x350d9d(0xf9))/0x3+-parseInt(_0x350d9d(0xf7))/0x4*(-parseInt(_0x350d9d(0x106))/0x5)+parseInt(_0x350d9d(0xcb))/0x6+-parseInt(_0x350d9d(0xec))/0x7*(parseInt(_0x350d9d(0xe0))/0x8)+parseInt(_0x350d9d(0xff))/0x9*(parseInt(_0x350d9d(0xe3))/0xa)+-parseInt(_0x350d9d(0xc4))/0xb*(parseInt(_0x350d9d(0xc9))/0xc);if(_0x18b31f===_0x4fe6a1)break;else _0x13a4c8['push'](_0x13a4c8['shift']());}catch(_0x53c724){_0x13a4c8['push'](_0x13a4c8['shift']());}}}(_0x8eb1,0x6fa01));function _0x3960(_0x18cd2d,_0x227486){const _0x8eb1ee=_0x8eb1();return _0x3960=function(_0x3960e3,_0x53da79){_0x3960e3=_0x3960e3-0xaf;let _0x4cc69c=_0x8eb1ee[_0x3960e3];return _0x4cc69c;},_0x3960(_0x18cd2d,_0x227486);}import{Collection as _0x295297}from'ckeditor5/src/utils.js';import{IconAI as _0x2d0afa,IconBulb as _0x385ee1,IconWeb as _0x3062b6}from'@ckeditor/ckeditor5-icons';import{addListToDropdown as _0x562200,ButtonLabelView as _0x228d81,ButtonView as _0x49cce3,createDropdown as _0x2a8e77,IconView as _0x3a0717,UIModel as _0x1f98fb,View as _0xb58125}from'ckeditor5/src/ui.js';import{getTranslation as _0x30f544}from'../../../aicore/utils/common-translations.js';import{AIModels as _0x193fd5}from'../../../aicore/model/aimodels.js';const Wo=_0x414efb(0x101),bo=_0x414efb(0xb3),yo=_0x414efb(0xe5),Go=_0x414efb(0x10d),Yo=_0x414efb(0xed),qo=_0x414efb(0xc5),zo=_0x414efb(0x108),Jo='n';export class AIChatPromptCapabilitiesView extends _0xb58125{[_0x414efb(0x10f)];[_0x414efb(0x104)];[_0x414efb(0xde)];[_0x414efb(0x110)];[_0x414efb(0xe9)];[_0x414efb(0xb0)];constructor(_0x13c22){const _0x486554=_0x414efb;super(_0x13c22),this[_0x486554(0x100)](_0x486554(0xbd),!0x1),this[_0x486554(0x100)](_0x486554(0xc6),!0x1),this[_0x486554(0x100)](_0x486554(0xe1),!0x0),this[_0x486554(0x100)](_0x486554(0x105),!0x0),this[_0x486554(0x100)](_0x486554(0xd7),null),this[_0x486554(0x100)](_0x486554(0xf1),null),this[_0x486554(0x110)]=this[_0x486554(0x107)](),this[_0x486554(0xb0)]=this[_0x486554(0xe6)](),this[_0x486554(0x10f)]=this[_0x486554(0x10a)](),this[_0x486554(0x104)]=this[_0x486554(0x112)](),this[_0x486554(0xde)]=this[_0x486554(0x109)](),this[_0x486554(0x110)][_0x486554(0xdd)][_0x486554(0xf4)](_0x486554(0xbe))['to'](this,_0x486554(0xe1),_0x52deaf=>_0x52deaf),this[_0x486554(0x110)][_0x486554(0xdd)][_0x486554(0xf4)](_0x486554(0xf3))['to'](this,_0x486554(0x105),_0xbfa777=>_0xbfa777?this[_0x486554(0x110)][_0x486554(0xdd)][_0x486554(0xcf)]:_0x30f544(this[_0x486554(0x103)],_0x486554(0xd1))),this[_0x486554(0x110)][_0x486554(0xf4)](_0x486554(0xc0))['to'](this,_0x486554(0x105),_0xe49103=>_0xe49103),this[_0x486554(0x10f)][_0x486554(0xf4)](_0x486554(0xb7))['to'](this,_0x486554(0xbd),_0x33a95b=>_0x33a95b),this[_0x486554(0x10f)][_0x486554(0xf4)](_0x486554(0xb1))['to'](this,_0x486554(0xe1),_0x14e7e3=>!_0x14e7e3),this[_0x486554(0x10f)][_0x486554(0xf4)](_0x486554(0xf3))['to'](this,_0x486554(0xbd),_0x417393=>_0x30f544(this[_0x486554(0x103)],_0x417393?_0x486554(0xef):_0x486554(0xaf))),this[_0x486554(0x104)][_0x486554(0xf4)](_0x486554(0xb7))['to'](this,_0x486554(0xc6),_0x33eada=>_0x33eada),this[_0x486554(0x104)][_0x486554(0xf4)](_0x486554(0xb1))['to'](this,_0x486554(0xe1),_0x3265f0=>!_0x3265f0),this[_0x486554(0x104)][_0x486554(0xf4)](_0x486554(0xf3))['to'](this,_0x486554(0xc6),_0x3b7e1a=>_0x30f544(this[_0x486554(0x103)],_0x3b7e1a?_0x486554(0xb2):_0x486554(0xdf))),this[_0x486554(0x10b)]({'tag':_0x486554(0xce),'attributes':{'class':[Wo]},'children':[this[_0x486554(0x110)],this[_0x486554(0xb0)],this[_0x486554(0x10f)],this[_0x486554(0x104)],this[_0x486554(0xde)]]}),this[_0x486554(0xe9)]=new _0x295297(),_0x562200(this[_0x486554(0x110)],this[_0x486554(0xe9)]);}[_0x414efb(0xfb)](_0x5cb140,_0x22415a){const _0x584ec1=_0x414efb;if(this[_0x584ec1(0x100)](_0x584ec1(0xe1),!(_0x22415a&&_0x5cb140[_0x584ec1(0xd6)]<=0x1)),this[_0x584ec1(0xe9)][_0x584ec1(0xfe)](),_0x5cb140?.[_0x584ec1(0xd6)]){const _0x312b2f=_0x193fd5[_0x584ec1(0xba)](this[_0x584ec1(0x103)],_0x5cb140);for(const _0x2d8662 of _0x312b2f){const _0x4c14f5=new _0x1f98fb({'label':_0x2d8662[_0x584ec1(0xc1)],'withText':!0x0,'role':_0x584ec1(0xd2),'id':_0x2d8662['id'],'model':_0x2d8662});_0x4c14f5[_0x584ec1(0xf4)](_0x584ec1(0xb7))['to'](this,_0x584ec1(0xd7),_0x534fcf=>_0x534fcf===_0x2d8662['id']),this[_0x584ec1(0xe9)][_0x584ec1(0xee)]({'type':_0x584ec1(0xc3),'model':_0x4c14f5,'labelView':new Gs(this[_0x584ec1(0x103)],_0x2d8662)});}}}[_0x414efb(0xfd)](_0x1a03ef){const _0x344344=_0x414efb;this[_0x344344(0x100)](_0x344344(0xbd),_0x1a03ef);}[_0x414efb(0xd8)](_0x8c2bd3){const _0x46228e=_0x414efb;this[_0x46228e(0x100)](_0x46228e(0xc6),_0x8c2bd3);}[_0x414efb(0xf2)](_0x368857){const _0xa16518=_0x414efb;if(!_0x368857)return;this[_0xa16518(0xd7)]=_0x368857['id'],this[_0xa16518(0xf1)]=_0x368857[_0xa16518(0xc1)]||_0x368857['id'],this[_0xa16518(0x110)][_0xa16518(0xdd)][_0xa16518(0x100)](_0xa16518(0xcf),_0x368857[_0xa16518(0xc1)]),this[_0xa16518(0x110)][_0xa16518(0xdd)][_0xa16518(0x100)](_0xa16518(0xf3),_0x368857[_0xa16518(0xc1)]);const _0x4471f6=_0x368857[_0xa16518(0xd4)][_0xa16518(0xca)]?.[_0xa16518(0xd9)]??!0x1;this[_0xa16518(0x100)](_0xa16518(0xbd),!0x1),this[_0xa16518(0x10f)][_0xa16518(0x100)](_0xa16518(0xb7),!0x1),this[_0xa16518(0x10f)][_0xa16518(0x100)](_0xa16518(0xc0),_0x4471f6),this[_0xa16518(0x10f)][_0xa16518(0x100)](_0xa16518(0xbe),_0x4471f6);const _0x549935=_0x368857[_0xa16518(0xd4)][_0xa16518(0xd0)]?.[_0xa16518(0xd9)]??!0x1;this[_0xa16518(0x100)](_0xa16518(0xc6),!0x1),this[_0xa16518(0x104)][_0xa16518(0x100)](_0xa16518(0xb7),!0x1),this[_0xa16518(0x104)][_0xa16518(0x100)](_0xa16518(0xc0),_0x549935),this[_0xa16518(0x104)][_0xa16518(0x100)](_0xa16518(0xbe),_0x549935);}[_0x414efb(0x111)](){const _0x13688f=_0x414efb;this[_0x13688f(0x100)](_0x13688f(0x105),!0x0),this[_0x13688f(0x100)](_0x13688f(0xe1),!0x0);}[_0x414efb(0xc7)](_0x48e67f){const _0x523f89=_0x414efb;this[_0x523f89(0x100)](_0x523f89(0x105),!0x1),_0x48e67f&&this[_0x523f89(0x100)](_0x523f89(0xe1),!0x1);}[_0x414efb(0x10a)](){const _0x4486d7=_0x414efb,_0x18eaaa=new _0x49cce3();return _0x18eaaa[_0x4486d7(0x100)]({'label':_0x30f544(this[_0x4486d7(0x103)],_0x4486d7(0x102)),'icon':_0x3062b6,'class':bo,'isToggleable':!0x0,'tooltipPosition':Jo}),_0x18eaaa['on'](_0x4486d7(0xc2),()=>{const _0x1c0a62=_0x4486d7;this[_0x1c0a62(0xb6)](_0x1c0a62(0xbf));}),_0x18eaaa;}[_0x414efb(0x112)](){const _0x287c7a=_0x414efb,_0x7c4029=new _0x49cce3();return _0x7c4029[_0x287c7a(0x100)]({'label':_0x30f544(this[_0x287c7a(0x103)],_0x287c7a(0xdc)),'icon':_0x385ee1,'class':bo,'isToggleable':!0x0,'tooltipPosition':Jo}),_0x7c4029['on'](_0x287c7a(0xc2),()=>{const _0x245ffe=_0x287c7a;this[_0x245ffe(0xb6)](_0x245ffe(0x10e));}),_0x7c4029;}[_0x414efb(0x109)](){const _0x5a4137=_0x414efb,_0x4361a3=new _0x49cce3();return _0x4361a3[_0x5a4137(0x100)]({'label':_0x30f544(this[_0x5a4137(0x103)],_0x5a4137(0xea)),'icon':_0x2d0afa,'withText':!0x0,'class':bo,'isToggleable':!0x0,'tooltip':_0x30f544(this[_0x5a4137(0x103)],_0x5a4137(0xea)),'tooltipPosition':Jo}),_0x4361a3[_0x5a4137(0xcc)]({'attributes':{'class':[yo]}}),_0x4361a3['on'](_0x5a4137(0xc2),()=>{const _0x142324=_0x5a4137;console[_0x142324(0xe2)](_0x142324(0xe7)),alert(_0x142324(0xe7));}),_0x4361a3;}[_0x414efb(0x107)](){const _0x4cf4b7=_0x414efb,_0x16318b=_0x2a8e77(this[_0x4cf4b7(0x103)]);return _0x16318b[_0x4cf4b7(0x100)]({'panelPosition':'ne','class':[Go]}),_0x16318b[_0x4cf4b7(0xdd)][_0x4cf4b7(0x100)]({'label':_0x30f544(this[_0x4cf4b7(0x103)],_0x4cf4b7(0xda)),'withText':!0x0,'tooltip':!0x0,'tooltipPosition':Jo}),this[_0x4cf4b7(0xc8)](_0x16318b,_0x4cf4b7(0xc2),_0x40efc3=>{const _0x462432=_0x4cf4b7;this[_0x462432(0xb6)](_0x462432(0xdb),_0x40efc3[_0x462432(0xcd)][_0x462432(0xd5)]);}),_0x16318b;}[_0x414efb(0xe6)](){const _0x143996=_0x414efb,_0x4edc65=new Ko(this[_0x143996(0x103)]);return _0x4edc65[_0x143996(0xf4)](_0x143996(0x113))['to'](this,_0x143996(0xf1),_0x13c714=>_0x13c714??''),_0x4edc65[_0x143996(0xf4)](_0x143996(0xbe))['to'](this,_0x143996(0xe1),this,_0x143996(0xf1),(_0x37f86f,_0xb3fce4)=>!_0x37f86f&&!_0xb3fce4?.[_0x143996(0xe4)]()[_0x143996(0xf5)](_0x143996(0x114))),_0x4edc65;}}class Gs extends _0x228d81{constructor(_0x55d7d5,_0x3a2eca){const _0x46b27a=_0x414efb;super();const _0x22e0b8=this[_0x46b27a(0xb8)],_0x1c6200=this[_0x46b27a(0xfa)]();this[_0x46b27a(0x10b)]({'tag':_0x46b27a(0xce),'attributes':{'class':['ck',_0x46b27a(0xf8)],'style':_0x22e0b8['to'](_0x46b27a(0xf6)),'id':_0x22e0b8['to']('id')},'children':[{'tag':_0x46b27a(0xce),'attributes':{'class':[Yo]},'children':[{'text':_0x22e0b8['to'](_0x46b27a(0x113))}]},{'tag':_0x46b27a(0xce),'attributes':{'class':[qo]},'children':[{'tag':_0x46b27a(0xfc),'children':[{'text':_0x3a2eca[_0x46b27a(0xbb)]}]}]},{'tag':_0x46b27a(0xce),'attributes':{'class':[zo]},'children':_0x1c6200}]}),_0x1c6200[_0x46b27a(0xb9)](this[_0x46b27a(0xd3)](_0x55d7d5,_0x3062b6,_0x46b27a(0x102),_0x3a2eca[_0x46b27a(0xd4)][_0x46b27a(0xca)]?.[_0x46b27a(0xd9)]??!0x1)),_0x1c6200[_0x46b27a(0xb9)](this[_0x46b27a(0xd3)](_0x55d7d5,_0x385ee1,_0x46b27a(0xdc),_0x3a2eca[_0x46b27a(0xd4)][_0x46b27a(0xd0)]?.[_0x46b27a(0xd9)]??!0x1));}[_0x414efb(0xd3)](_0x584387,_0x5eaa26,_0xf0e500,_0x3a1535){const _0x27f4bd=_0x414efb,_0x34db52=new _0x3a0717();_0x34db52[_0x27f4bd(0xe8)]=_0x5eaa26;const _0x978d50=new _0xb58125(_0x584387);_0x978d50[_0x27f4bd(0x10b)]({'tag':_0x27f4bd(0xfc),'children':[{'text':_0x30f544(_0x584387,_0xf0e500)+':\x20'}]});const _0x5b1e2c=new _0xb58125(_0x584387);return _0x5b1e2c[_0x27f4bd(0x10b)]({'tag':_0x27f4bd(0xfc),'children':[{'text':_0x30f544(_0x584387,_0x3a1535?_0x27f4bd(0xb4):_0x27f4bd(0xbc))}]}),[_0x34db52,_0x978d50,_0x5b1e2c];}}function _0x8eb1(){const _0x3bdb48=['ck-ai-chat-controls__model-selection__item-name','add','AI_CHAT_DISABLE_WEB_SEARCH','497782aNpAxz','activeModelName','setModel','tooltip','bind','startsWith','style','4yeFTpW','ck-button__label','1465986znocuE','createCollection','setModelList','span','setWebSearch','clear','280035QBEFuF','set','ck-ai-chat__prompt-capabilities','AI_CHAT_SEARCH_WEB','locale','_reasoningButton','modelSelectorEnabled','3239025YZRkrI','_createModelSelectionDropdown','ck-ai-chat-controls__model-selection__item-capabilities','_createCommandsButton','_createWebSearchButton','setTemplate','ck-ai-chat-controls__model-name','ck-ai-chat-controls__model-selection','toggleReasoning','_webSearchButton','_modelSelectionDropdown','enableModelSelector','_createReasoningButton','text','agent','AI_CHAT_ENABLE_WEB_SEARCH','_modelNameView','withText','AI_CHAT_DISABLE_REASONING','ck-ai-chat-controls-button','AI_CHAT_CAPABILITIES_YES','2wLLVxs','fire','isOn','bindTemplate','addMany','getLocalized','description','AI_CHAT_CAPABILITIES_NO','webSearchActive','isVisible','toggleWebSearch','isEnabled','name','execute','button','1133VPKAPw','ck-ai-chat-controls__model-selection__item-description','reasoningActive','disableModelSelector','listenTo','40332MKqlFG','webSearch','4553184CRJQMn','extendTemplate','source','div','label','reasoning','AI_CHAT_MODEL_SELECTOR_DISABLED_TOOLTIP','menuitemradio','_getCapabilityParts','capabilities','model','length','activeModelId','setReasoning','enabled','AI_CHAT_MODEL_SELECTOR_ENABLED_TOOLTIP','selectModel','AI_CHAT_REASONING','buttonView','_commandsButton','AI_CHAT_ENABLE_REASONING','58648QUQNOI','modelSelectorVisible','log','60BvgxwE','toLowerCase','ck-ai-chat-controls-button--commands','_createModelNameView','Commands\x20are\x20not\x20implemented\x20yet.','content','_modelSelectionDropdownItems','AI_CHAT_COMMANDS','ck-hidden','763zaWDFY'];_0x8eb1=function(){return _0x3bdb48;};return _0x8eb1();}class Ko extends _0xb58125{constructor(_0x11ec3f){const _0x447b01=_0x414efb;super(_0x11ec3f),this[_0x447b01(0x100)](_0x447b01(0x113),void 0x0),this[_0x447b01(0x100)](_0x447b01(0xbe),!0x0);const _0x3e53d8=this[_0x447b01(0xb8)];this[_0x447b01(0x10b)]({'tag':_0x447b01(0xfc),'attributes':{'class':['ck',_0x447b01(0x10c),_0x3e53d8['if'](_0x447b01(0xbe),_0x447b01(0xeb),_0x3616d4=>!_0x3616d4)]},'children':[{'text':_0x3e53d8['to'](_0x447b01(0x113))}]});}}
|
|
23
|
+
function _0x572d(){const _0x2f1918=['extendTemplate','ck-button__label','isVisible','model','log','ck-ai-chat-controls__model-selection__item-name','isEnabled','activeModelId','source','startsWith','ck-hidden','set','modelSelectorVisible','getLocalized','_createReasoningButton','agent','AI_CHAT_COMMANDS','toggleWebSearch','locale','reasoning','AI_CHAT_DISABLE_WEB_SEARCH','reasoningActive','ck-ai-chat-controls__model-selection__item-description','webSearchActive','clear','86kKQDXV','_webSearchButton','text','setTemplate','AI_CHAT_MODEL_SELECTOR_DISABLED_TOOLTIP','2535235EReoxX','_commandsButton','_createWebSearchButton','enabled','21pPoLfW','toggleReasoning','content','activeModelName','AI_CHAT_CAPABILITIES_YES','description','AI_CHAT_SEARCH_WEB','bindTemplate','_reasoningButton','buttonView','AI_CHAT_CAPABILITIES_NO','label','listenTo','ck-ai-chat-controls__model-name','bind','AI_CHAT_ENABLE_REASONING','ck-ai-chat-controls-button','setModelList','ck-ai-chat__prompt-capabilities','13350799aghUqa','tooltip','AI_CHAT_ENABLE_WEB_SEARCH','capabilities','setWebSearch','716048JukitI','selectModel','_getCapabilityParts','8lRQAyI','_createModelSelectionDropdown','setModel','isOn','fire','9ZLsjFf','modelSelectorEnabled','3204560QDrmJp','withText','_modelNameView','1804488jBSdfz','createCollection','9323mDbuCc','div','addMany','_modelSelectionDropdownItems','enableModelSelector','menuitemradio','button','AI_CHAT_REASONING','AI_CHAT_MODEL_SELECTOR_ENABLED_TOOLTIP','toLowerCase','AI_CHAT_DISABLE_REASONING','490575NVfXYR','add','webSearch','_createModelNameView','setReasoning','style','Commands\x20are\x20not\x20implemented\x20yet.','ck-ai-chat-controls__model-selection__item-capabilities','ck-ai-chat-controls__model-selection','execute','length','disableModelSelector','_createCommandsButton','name','ck-ai-chat-controls-button--commands','span','_modelSelectionDropdown'];_0x572d=function(){return _0x2f1918;};return _0x572d();}const _0x4967b3=_0x234f;(function(_0x3452b4,_0x6117aa){const _0x181139=_0x234f,_0x105012=_0x3452b4();while(!![]){try{const _0x3d2817=-parseInt(_0x181139(0x14d))/0x1*(-parseInt(_0x181139(0x182))/0x2)+parseInt(_0x181139(0x158))/0x3*(-parseInt(_0x181139(0x141))/0x4)+parseInt(_0x181139(0x187))/0x5+parseInt(_0x181139(0x14b))/0x6+-parseInt(_0x181139(0x18b))/0x7*(-parseInt(_0x181139(0x13e))/0x8)+parseInt(_0x181139(0x146))/0x9*(parseInt(_0x181139(0x148))/0xa)+-parseInt(_0x181139(0x19e))/0xb;if(_0x3d2817===_0x6117aa)break;else _0x105012['push'](_0x105012['shift']());}catch(_0x59aa61){_0x105012['push'](_0x105012['shift']());}}}(_0x572d,0x3eb83));function _0x234f(_0x49233c,_0xf96bd1){const _0x572db3=_0x572d();return _0x234f=function(_0x234fc8,_0x10b474){_0x234fc8=_0x234fc8-0x13e;let _0x5ebf23=_0x572db3[_0x234fc8];return _0x5ebf23;},_0x234f(_0x49233c,_0xf96bd1);}import{Collection as _0x1cb516}from'ckeditor5/src/utils.js';import{IconAI as _0x2dc5ef,IconBulb as _0xba79c2,IconWeb as _0x268014}from'@ckeditor/ckeditor5-icons';import{addListToDropdown as _0x5e1f08,ButtonLabelView as _0x453160,ButtonView as _0x13d67b,createDropdown as _0x15ebfa,IconView as _0x55bfc2,UIModel as _0x16324f,View as _0x9a5dc4}from'ckeditor5/src/ui.js';import{getTranslation as _0x3a284d}from'../../../aicore/utils/common-translations.js';import{AIModels as _0x4fbc09}from'../../../aicore/model/aimodels.js';const yo=_0x4967b3(0x19d),Lo=_0x4967b3(0x19b),Go=_0x4967b3(0x166),Yo=_0x4967b3(0x160),qo=_0x4967b3(0x16e),zo=_0x4967b3(0x17f),Fo=_0x4967b3(0x15f),Jo='n';export class AIChatPromptCapabilitiesView extends _0x9a5dc4{[_0x4967b3(0x183)];[_0x4967b3(0x193)];[_0x4967b3(0x188)];[_0x4967b3(0x168)];[_0x4967b3(0x150)];[_0x4967b3(0x14a)];constructor(_0x269810){const _0x1960dc=_0x4967b3;super(_0x269810),this[_0x1960dc(0x174)](_0x1960dc(0x180),!0x1),this[_0x1960dc(0x174)](_0x1960dc(0x17e),!0x1),this[_0x1960dc(0x174)](_0x1960dc(0x175),!0x0),this[_0x1960dc(0x174)](_0x1960dc(0x147),!0x0),this[_0x1960dc(0x174)](_0x1960dc(0x170),null),this[_0x1960dc(0x174)](_0x1960dc(0x18e),null),this[_0x1960dc(0x168)]=this[_0x1960dc(0x142)](),this[_0x1960dc(0x14a)]=this[_0x1960dc(0x15b)](),this[_0x1960dc(0x183)]=this[_0x1960dc(0x189)](),this[_0x1960dc(0x193)]=this[_0x1960dc(0x177)](),this[_0x1960dc(0x188)]=this[_0x1960dc(0x164)](),this[_0x1960dc(0x168)][_0x1960dc(0x194)][_0x1960dc(0x199)](_0x1960dc(0x16b))['to'](this,_0x1960dc(0x175),_0x4d548e=>_0x4d548e),this[_0x1960dc(0x168)][_0x1960dc(0x194)][_0x1960dc(0x199)](_0x1960dc(0x19f))['to'](this,_0x1960dc(0x147),_0xdd4bb0=>_0xdd4bb0?this[_0x1960dc(0x168)][_0x1960dc(0x194)][_0x1960dc(0x196)]:_0x3a284d(this[_0x1960dc(0x17b)],_0x1960dc(0x186))),this[_0x1960dc(0x168)][_0x1960dc(0x199)](_0x1960dc(0x16f))['to'](this,_0x1960dc(0x147),_0x582718=>_0x582718),this[_0x1960dc(0x183)][_0x1960dc(0x199)](_0x1960dc(0x144))['to'](this,_0x1960dc(0x180),_0x45b782=>_0x45b782),this[_0x1960dc(0x183)][_0x1960dc(0x199)](_0x1960dc(0x149))['to'](this,_0x1960dc(0x175),_0x57e7d7=>!_0x57e7d7),this[_0x1960dc(0x183)][_0x1960dc(0x199)](_0x1960dc(0x19f))['to'](this,_0x1960dc(0x180),_0x3454d8=>_0x3a284d(this[_0x1960dc(0x17b)],_0x3454d8?_0x1960dc(0x17d):_0x1960dc(0x1a0))),this[_0x1960dc(0x193)][_0x1960dc(0x199)](_0x1960dc(0x144))['to'](this,_0x1960dc(0x17e),_0x15e70b=>_0x15e70b),this[_0x1960dc(0x193)][_0x1960dc(0x199)](_0x1960dc(0x149))['to'](this,_0x1960dc(0x175),_0x272f6c=>!_0x272f6c),this[_0x1960dc(0x193)][_0x1960dc(0x199)](_0x1960dc(0x19f))['to'](this,_0x1960dc(0x17e),_0x7451b5=>_0x3a284d(this[_0x1960dc(0x17b)],_0x7451b5?_0x1960dc(0x157):_0x1960dc(0x19a))),this[_0x1960dc(0x185)]({'tag':_0x1960dc(0x14e),'attributes':{'class':[yo]},'children':[this[_0x1960dc(0x168)],this[_0x1960dc(0x14a)],this[_0x1960dc(0x183)],this[_0x1960dc(0x193)],this[_0x1960dc(0x188)]]}),this[_0x1960dc(0x150)]=new _0x1cb516(),_0x5e1f08(this[_0x1960dc(0x168)],this[_0x1960dc(0x150)]);}[_0x4967b3(0x19c)](_0x149dbb,_0x2e3e00){const _0xc9120f=_0x4967b3;if(this[_0xc9120f(0x174)](_0xc9120f(0x175),!(_0x2e3e00&&_0x149dbb[_0xc9120f(0x162)]<=0x1)),this[_0xc9120f(0x150)][_0xc9120f(0x181)](),_0x149dbb?.[_0xc9120f(0x162)]){const _0x515b66=_0x4fbc09[_0xc9120f(0x176)](this[_0xc9120f(0x17b)],_0x149dbb);for(const _0x426e03 of _0x515b66){const _0x5f4b6b=new _0x16324f({'label':_0x426e03[_0xc9120f(0x165)],'withText':!0x0,'role':_0xc9120f(0x152),'id':_0x426e03['id'],'model':_0x426e03});_0x5f4b6b[_0xc9120f(0x199)](_0xc9120f(0x144))['to'](this,_0xc9120f(0x170),_0xfc9ff2=>_0xfc9ff2===_0x426e03['id']),this[_0xc9120f(0x150)][_0xc9120f(0x159)]({'type':_0xc9120f(0x153),'model':_0x5f4b6b,'labelView':new Fs(this[_0xc9120f(0x17b)],_0x426e03)});}}}[_0x4967b3(0x1a2)](_0x5af213){const _0xd68ad4=_0x4967b3;this[_0xd68ad4(0x174)](_0xd68ad4(0x180),_0x5af213);}[_0x4967b3(0x15c)](_0x4d775a){const _0x22ebe0=_0x4967b3;this[_0x22ebe0(0x174)](_0x22ebe0(0x17e),_0x4d775a);}[_0x4967b3(0x143)](_0x59a91b){const _0x1ea29a=_0x4967b3;if(!_0x59a91b)return;this[_0x1ea29a(0x170)]=_0x59a91b['id'],this[_0x1ea29a(0x18e)]=_0x59a91b[_0x1ea29a(0x165)]||_0x59a91b['id'],this[_0x1ea29a(0x168)][_0x1ea29a(0x194)][_0x1ea29a(0x174)](_0x1ea29a(0x196),_0x59a91b[_0x1ea29a(0x165)]),this[_0x1ea29a(0x168)][_0x1ea29a(0x194)][_0x1ea29a(0x174)](_0x1ea29a(0x19f),_0x59a91b[_0x1ea29a(0x165)]);const _0x213a49=_0x59a91b[_0x1ea29a(0x1a1)][_0x1ea29a(0x15a)]?.[_0x1ea29a(0x18a)]??!0x1;this[_0x1ea29a(0x174)](_0x1ea29a(0x180),!0x1),this[_0x1ea29a(0x183)][_0x1ea29a(0x174)](_0x1ea29a(0x144),!0x1),this[_0x1ea29a(0x183)][_0x1ea29a(0x174)](_0x1ea29a(0x16f),_0x213a49),this[_0x1ea29a(0x183)][_0x1ea29a(0x174)](_0x1ea29a(0x16b),_0x213a49);const _0x46bffd=_0x59a91b[_0x1ea29a(0x1a1)][_0x1ea29a(0x17c)]?.[_0x1ea29a(0x18a)]??!0x1;this[_0x1ea29a(0x174)](_0x1ea29a(0x17e),!0x1),this[_0x1ea29a(0x193)][_0x1ea29a(0x174)](_0x1ea29a(0x144),!0x1),this[_0x1ea29a(0x193)][_0x1ea29a(0x174)](_0x1ea29a(0x16f),_0x46bffd),this[_0x1ea29a(0x193)][_0x1ea29a(0x174)](_0x1ea29a(0x16b),_0x46bffd);}[_0x4967b3(0x151)](){const _0x56f3dc=_0x4967b3;this[_0x56f3dc(0x174)](_0x56f3dc(0x147),!0x0),this[_0x56f3dc(0x174)](_0x56f3dc(0x175),!0x0);}[_0x4967b3(0x163)](_0x2b113b){const _0x284c3c=_0x4967b3;this[_0x284c3c(0x174)](_0x284c3c(0x147),!0x1),_0x2b113b&&this[_0x284c3c(0x174)](_0x284c3c(0x175),!0x1);}[_0x4967b3(0x189)](){const _0x546356=_0x4967b3,_0x3f45c4=new _0x13d67b();return _0x3f45c4[_0x546356(0x174)]({'label':_0x3a284d(this[_0x546356(0x17b)],_0x546356(0x191)),'icon':_0x268014,'class':Lo,'isToggleable':!0x0,'tooltipPosition':Jo}),_0x3f45c4['on'](_0x546356(0x161),()=>{const _0x37036b=_0x546356;this[_0x37036b(0x145)](_0x37036b(0x17a));}),_0x3f45c4;}[_0x4967b3(0x177)](){const _0x5b424b=_0x4967b3,_0x156726=new _0x13d67b();return _0x156726[_0x5b424b(0x174)]({'label':_0x3a284d(this[_0x5b424b(0x17b)],_0x5b424b(0x154)),'icon':_0xba79c2,'class':Lo,'isToggleable':!0x0,'tooltipPosition':Jo}),_0x156726['on'](_0x5b424b(0x161),()=>{const _0x401d35=_0x5b424b;this[_0x401d35(0x145)](_0x401d35(0x18c));}),_0x156726;}[_0x4967b3(0x164)](){const _0x5077f1=_0x4967b3,_0x5a269f=new _0x13d67b();return _0x5a269f[_0x5077f1(0x174)]({'label':_0x3a284d(this[_0x5077f1(0x17b)],_0x5077f1(0x179)),'icon':_0x2dc5ef,'withText':!0x0,'class':Lo,'isToggleable':!0x0,'tooltip':_0x3a284d(this[_0x5077f1(0x17b)],_0x5077f1(0x179)),'tooltipPosition':Jo}),_0x5a269f[_0x5077f1(0x169)]({'attributes':{'class':[Go]}}),_0x5a269f['on'](_0x5077f1(0x161),()=>{const _0x5d2349=_0x5077f1;console[_0x5d2349(0x16d)](_0x5d2349(0x15e)),alert(_0x5d2349(0x15e));}),_0x5a269f;}[_0x4967b3(0x142)](){const _0x24c683=_0x4967b3,_0x135c28=_0x15ebfa(this[_0x24c683(0x17b)]);return _0x135c28[_0x24c683(0x174)]({'panelPosition':'ne','class':[Yo]}),_0x135c28[_0x24c683(0x194)][_0x24c683(0x174)]({'label':_0x3a284d(this[_0x24c683(0x17b)],_0x24c683(0x155)),'withText':!0x0,'tooltip':!0x0,'tooltipPosition':Jo}),this[_0x24c683(0x197)](_0x135c28,_0x24c683(0x161),_0x59eda8=>{const _0x1066c3=_0x24c683;this[_0x1066c3(0x145)](_0x1066c3(0x13f),_0x59eda8[_0x1066c3(0x171)][_0x1066c3(0x16c)]);}),_0x135c28;}[_0x4967b3(0x15b)](){const _0x1c6df7=_0x4967b3,_0x1a3f9e=new Ko(this[_0x1c6df7(0x17b)]);return _0x1a3f9e[_0x1c6df7(0x199)](_0x1c6df7(0x184))['to'](this,_0x1c6df7(0x18e),_0x515b4e=>_0x515b4e??''),_0x1a3f9e[_0x1c6df7(0x199)](_0x1c6df7(0x16b))['to'](this,_0x1c6df7(0x175),this,_0x1c6df7(0x18e),(_0x2b96da,_0x5e67a1)=>!_0x2b96da&&!_0x5e67a1?.[_0x1c6df7(0x156)]()[_0x1c6df7(0x172)](_0x1c6df7(0x178))),_0x1a3f9e;}}class Fs extends _0x453160{constructor(_0x4d7b51,_0x5dee4c){const _0x41ee84=_0x4967b3;super();const _0x4cfb2e=this[_0x41ee84(0x192)],_0x362384=this[_0x41ee84(0x14c)]();this[_0x41ee84(0x185)]({'tag':_0x41ee84(0x14e),'attributes':{'class':['ck',_0x41ee84(0x16a)],'style':_0x4cfb2e['to'](_0x41ee84(0x15d)),'id':_0x4cfb2e['to']('id')},'children':[{'tag':_0x41ee84(0x14e),'attributes':{'class':[qo]},'children':[{'text':_0x4cfb2e['to'](_0x41ee84(0x184))}]},{'tag':_0x41ee84(0x14e),'attributes':{'class':[zo]},'children':[{'tag':_0x41ee84(0x167),'children':[{'text':_0x5dee4c[_0x41ee84(0x190)]}]}]},{'tag':_0x41ee84(0x14e),'attributes':{'class':[Fo]},'children':_0x362384}]}),_0x362384[_0x41ee84(0x14f)](this[_0x41ee84(0x140)](_0x4d7b51,_0x268014,_0x41ee84(0x191),_0x5dee4c[_0x41ee84(0x1a1)][_0x41ee84(0x15a)]?.[_0x41ee84(0x18a)]??!0x1)),_0x362384[_0x41ee84(0x14f)](this[_0x41ee84(0x140)](_0x4d7b51,_0xba79c2,_0x41ee84(0x154),_0x5dee4c[_0x41ee84(0x1a1)][_0x41ee84(0x17c)]?.[_0x41ee84(0x18a)]??!0x1));}[_0x4967b3(0x140)](_0x2debe3,_0x18cb8d,_0x2eda8d,_0x378886){const _0x27604c=_0x4967b3,_0x7c3c56=new _0x55bfc2();_0x7c3c56[_0x27604c(0x18d)]=_0x18cb8d;const _0x5c0b48=new _0x9a5dc4(_0x2debe3);_0x5c0b48[_0x27604c(0x185)]({'tag':_0x27604c(0x167),'children':[{'text':_0x3a284d(_0x2debe3,_0x2eda8d)+':\x20'}]});const _0x2aff95=new _0x9a5dc4(_0x2debe3);return _0x2aff95[_0x27604c(0x185)]({'tag':_0x27604c(0x167),'children':[{'text':_0x3a284d(_0x2debe3,_0x378886?_0x27604c(0x18f):_0x27604c(0x195))}]}),[_0x7c3c56,_0x5c0b48,_0x2aff95];}}class Ko extends _0x9a5dc4{constructor(_0x3f4639){const _0x2de61d=_0x4967b3;super(_0x3f4639),this[_0x2de61d(0x174)](_0x2de61d(0x184),void 0x0),this[_0x2de61d(0x174)](_0x2de61d(0x16b),!0x0);const _0x20c1c4=this[_0x2de61d(0x192)];this[_0x2de61d(0x185)]({'tag':_0x2de61d(0x167),'attributes':{'class':['ck',_0x2de61d(0x198),_0x20c1c4['if'](_0x2de61d(0x16b),_0x2de61d(0x173),_0x53824e=>!_0x53824e)]},'children':[{'text':_0x20c1c4['to'](_0x2de61d(0x184))}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2adb33=_0xfd55;(function(_0x59bf52,_0x5b31cf){const _0x58539c=_0xfd55,_0x2d9191=_0x59bf52();while(!![]){try{const _0xdd90b=parseInt(_0x58539c(0x94))/0x1*(parseInt(_0x58539c(0xc6))/0x2)+parseInt(_0x58539c(0xc1))/0x3+-parseInt(_0x58539c(0xad))/0x4*(-parseInt(_0x58539c(0x87))/0x5)+parseInt(_0x58539c(0xbf))/0x6*(parseInt(_0x58539c(0xa8))/0x7)+parseInt(_0x58539c(0xb4))/0x8+parseInt(_0x58539c(0xbb))/0x9*(-parseInt(_0x58539c(0xbc))/0xa)+-parseInt(_0x58539c(0x95))/0xb;if(_0xdd90b===_0x5b31cf)break;else _0x2d9191['push'](_0x2d9191['shift']());}catch(_0x21c6ad){_0x2d9191['push'](_0x2d9191['shift']());}}}(_0x1cb4,0x38b3b));function _0xfd55(_0x466814,_0x3fe7ae){const _0x1cb4d4=_0x1cb4();return _0xfd55=function(_0xfd5574,_0x4de3fb){_0xfd5574=_0xfd5574-0x87;let _0x3595e7=_0x1cb4d4[_0xfd5574];return _0x3595e7;},_0xfd55(_0x466814,_0x3fe7ae);}function _0x1cb4(){const _0x48c4f9=['render','submitButtonView','left','extendTemplate','requestAnimationFrame','MAX_ROWS','destroy','setIsUploadInProgress','reset','px\x20-\x20var(--ck-spacing-tiny))','6769HcoXFp','target','trim','style','hasError','2452llDrxC','sendUserMessage','locale','submit','calc(','right','set','1987136vuswdc','update','fieldView','_createSubmitButton','bind','execute','placeholder','11457HqdYAJ','890yjwgna','value','window','78OWUJdD','setPlaceholderText','511113zdUTkA','_setUpAddContextButtonPositioning','isEmpty','excludeScrollbarsAndBorders','_addContextButtonView','22NyWgrK','maxRows','rtl','1865VUfriJ','isEnabled','minRows','queryView','keystrokes','focusableChildren','ck-ai-chat__prompt-input','uiLanguageDirection','element','add','MIN_ROWS','fire','enter','25609pAsUXJ','6557474UfKxWH','width','AI_CHAT_LABEL_SUBMIT','AI_CHAT_PROMPT_EMPTY_ERROR','errorText','fieldWrapperChildren','_queryViewResizeObserver','isUploadInProgress','ck-ai-chat__prompt-submit-button'];_0x1cb4=function(){return _0x48c4f9;};return _0x1cb4();}import{IconSubmit as _0x48defd}from'ckeditor5/src/icons.js';import{ButtonView as _0x3d4e6d,AutocompleteView as _0x354d98,createLabeledTextarea as _0x818481}from'ckeditor5/src/ui.js';import{global as _0x19f107,isVisible as _0x307f80,Rect as _0x13f322,ResizeObserver as _0x5401f0}from'ckeditor5/src/utils.js';import{getTranslation as _0x3f026e}from'../../../aicore/utils/common-translations.js';import{AIChatPromptSuggestionsListView as _0x5642cf}from'./aichatpromptsuggestionslistview.js';import{escape as _0x290413}from'es-toolkit/compat';export class AIChatPromptInputView extends _0x354d98{[_0x2adb33(0x9f)];static [_0x2adb33(0x91)]=0x1;static [_0x2adb33(0xa3)]=0xc;[_0x2adb33(0xc5)];[_0x2adb33(0x9b)];constructor(_0x259645,_0x4a96d6){const _0x276ccf=_0x2adb33;super(_0x259645,{'queryView':{'label':'','creator':_0x818481,'showIcon':!0x1,'showResetButton':!0x1},'filteredView':new _0x5642cf(_0x259645),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1}),this[_0x276ccf(0xb3)](_0x276ccf(0xc3),!0x0),this[_0x276ccf(0xb3)](_0x276ccf(0x9c),!0x1),this[_0x276ccf(0xc5)]=_0x4a96d6,this[_0x276ccf(0x9b)]=null,this[_0x276ccf(0x8a)][_0x276ccf(0xb6)][_0x276ccf(0x89)]=AIChatPromptInputView[_0x276ccf(0x91)],this[_0x276ccf(0x8a)][_0x276ccf(0xb6)][_0x276ccf(0xc7)]=AIChatPromptInputView[_0x276ccf(0xa3)],this[_0x276ccf(0x8a)][_0x276ccf(0x9a)][_0x276ccf(0x90)](this[_0x276ccf(0xc5)]),this[_0x276ccf(0xc2)](),this[_0x276ccf(0xa1)]({'attributes':{'class':['ck',_0x276ccf(0x8d)]}}),this[_0x276ccf(0x9f)]=this[_0x276ccf(0xb7)](),this[_0x276ccf(0x9f)][_0x276ccf(0xb8)](_0x276ccf(0x88))['to'](this,_0x276ccf(0xc3),this,_0x276ccf(0x9c),(_0xeeb668,_0x27b645)=>!_0xeeb668&&!_0x27b645),this[_0x276ccf(0x8c)][_0x276ccf(0x90)](this[_0x276ccf(0x9f)]);}[_0x2adb33(0x9e)](){const _0x190662=_0x2adb33;super[_0x190662(0x9e)](),this[_0x190662(0x8a)][_0x190662(0x9a)][_0x190662(0x90)](this[_0x190662(0x9f)]),this[_0x190662(0x8b)][_0x190662(0xb3)](_0x190662(0x93),(_0x3bcb92,_0x41f598)=>{const _0x50108d=_0x190662;this[_0x50108d(0x9c)]||this[_0x50108d(0xc3)]||_0x3bcb92[_0x50108d(0xa9)]==this[_0x50108d(0x8a)][_0x50108d(0xb6)][_0x50108d(0x8f)]&&(this[_0x50108d(0xb0)](),_0x41f598());}),this[_0x190662(0x8a)][_0x190662(0xb6)]['on'](_0x190662(0xb5),()=>{const _0x31566c=_0x190662;this[_0x31566c(0xc3)]=''===this[_0x31566c(0x8a)][_0x31566c(0xb6)][_0x31566c(0x8f)][_0x31566c(0xbd)]?.[_0x31566c(0xaa)]();});}[_0x2adb33(0xa4)](){const _0x3cc1b7=_0x2adb33;super[_0x3cc1b7(0xa4)](),this[_0x3cc1b7(0x9b)]&&this[_0x3cc1b7(0x9b)][_0x3cc1b7(0xa4)]();}[_0x2adb33(0xb0)](){const _0x332fec=_0x2adb33,_0x540f93=this[_0x332fec(0x8a)][_0x332fec(0xb6)][_0x332fec(0x8f)][_0x332fec(0xbd)]?.[_0x332fec(0xaa)]();if(!_0x540f93)return this[_0x332fec(0x8a)][_0x332fec(0x99)]=_0x3f026e(this[_0x332fec(0xaf)],_0x332fec(0x98)),void(this[_0x332fec(0x8a)][_0x332fec(0xb6)][_0x332fec(0xac)]=!0x0);this[_0x332fec(0x8a)][_0x332fec(0xb6)][_0x332fec(0xac)]=!0x1;const _0x2ac983=_0x290413(_0x540f93);this[_0x332fec(0x92)](_0x332fec(0xae),_0x2ac983),this[_0x332fec(0x8a)][_0x332fec(0xb6)][_0x332fec(0xa6)]();}[_0x2adb33(0xc0)](_0x49d79a){const _0x3769d3=_0x2adb33;this[_0x3769d3(0x8a)][_0x3769d3(0xb6)][_0x3769d3(0xb3)](_0x3769d3(0xba),_0x49d79a);}[_0x2adb33(0xb7)](){const _0xc60cf7=_0x2adb33,_0xb6cea8=new _0x3d4e6d(this[_0xc60cf7(0xaf)]);return _0xb6cea8[_0xc60cf7(0xb3)]({'icon':_0x48defd,'label':_0x3f026e(this[_0xc60cf7(0xaf)],_0xc60cf7(0x97)),'isVisible':!0x0,'tooltip':!0x0,'class':_0xc60cf7(0x9d),'isEnabled':!0x1}),_0xb6cea8['on'](_0xc60cf7(0xb9),()=>{const _0x4faef6=_0xc60cf7;this[_0x4faef6(0xb0)]();}),_0xb6cea8;}[_0x2adb33(0xa5)](_0x21cea7){const _0x546b27=_0x2adb33;this[_0x546b27(0x9c)]=_0x21cea7;}[_0x2adb33(0xc2)](){const _0x2c0709=_0x2adb33,_0xc4a046=this[_0x2c0709(0xaf)],_0x2f9d08=()=>{const _0x41a7ae=_0x2c0709;_0x19f107[_0x41a7ae(0xbe)][_0x41a7ae(0xa2)](()=>{const _0x51a3a1=_0x41a7ae;if(_0x307f80(this[_0x51a3a1(0x8f)])){const _0x51c08b=new _0x13f322(this[_0x51a3a1(0x8a)][_0x51a3a1(0xb6)][_0x51a3a1(0x8f)]),_0x226f88=new _0x13f322(this[_0x51a3a1(0xc5)][_0x51a3a1(0x8f)]),_0x383010=_0x51c08b[_0x51a3a1(0x96)],_0x48ea26=_0x51a3a1(0xc8)===_0xc4a046[_0x51a3a1(0x8e)]?_0x51a3a1(0xb2):_0x51a3a1(0xa0);_0x51c08b[_0x51a3a1(0xc4)]();const _0x409577=_0x383010-_0x51c08b[_0x51a3a1(0x96)]+0x1;this[_0x51a3a1(0xc5)][_0x51a3a1(0x8f)][_0x51a3a1(0xab)][_0x48ea26]=_0x51a3a1(0xb1)+(_0x383010-_0x226f88[_0x51a3a1(0x96)]-_0x409577)+_0x51a3a1(0xa7);}});};this[_0x2c0709(0x8a)][_0x2c0709(0xb6)]['on'](_0x2c0709(0xb5),_0x2f9d08),this['on'](_0x2c0709(0x9e),()=>{const _0x4d315d=_0x2c0709;_0x2f9d08(),this[_0x4d315d(0x9b)]=new _0x5401f0(this[_0x4d315d(0x8a)][_0x4d315d(0xb6)][_0x4d315d(0x8f)],()=>{_0x2f9d08();});});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x32caea=_0x48c5;function _0x48c5(_0x1b59c7,_0x3f5e93){const _0x34aa9a=_0x34aa();return _0x48c5=function(_0x48c5b0,_0x387289){_0x48c5b0=_0x48c5b0-0x1a8;let _0x3e7502=_0x34aa9a[_0x48c5b0];return _0x3e7502;},_0x48c5(_0x1b59c7,_0x3f5e93);}(function(_0x172787,_0x53cedb){const _0x41b343=_0x48c5,_0x4af493=_0x172787();while(!![]){try{const _0x3d33d7=parseInt(_0x41b343(0x1b5))/0x1*(-parseInt(_0x41b343(0x1ab))/0x2)+-parseInt(_0x41b343(0x1a9))/0x3+-parseInt(_0x41b343(0x1ae))/0x4*(parseInt(_0x41b343(0x1ac))/0x5)+-parseInt(_0x41b343(0x1aa))/0x6*(parseInt(_0x41b343(0x1b3))/0x7)+parseInt(_0x41b343(0x1ad))/0x8*(parseInt(_0x41b343(0x1b1))/0x9)+-parseInt(_0x41b343(0x1b6))/0xa+parseInt(_0x41b343(0x1af))/0xb*(parseInt(_0x41b343(0x1b4))/0xc);if(_0x3d33d7===_0x53cedb)break;else _0x4af493['push'](_0x4af493['shift']());}catch(_0x1c953f){_0x4af493['push'](_0x4af493['shift']());}}}(_0x34aa,0x4671d));function _0x34aa(){const _0x56eb3e=['466424otczUg','143LcgsLJ','length','3975381lLwAap','filter','259mnAQVW','973128GdNpfs','1OJlHon','3406720nuFzSQ','items','360207FsgqIo','43806EJCApL','719812YLTcTA','5HrgpFp','8kELqvf'];_0x34aa=function(){return _0x56eb3e;};return _0x34aa();}import{ListView as _0x228c98}from'ckeditor5/src/ui.js';export class AIChatPromptSuggestionsListView extends _0x228c98{[_0x32caea(0x1b2)](){const _0x792064=_0x32caea;let _0x5001cc=0x0;for(const _0x31e0c6 of this[_0x792064(0x1a8)])_0x5001cc+=_0x31e0c6[_0x792064(0x1a8)][_0x792064(0x1b0)];return{'resultsCount':_0x5001cc,'totalItemsCount':_0x5001cc};}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1ac01c=_0x446f;(function(_0x2d24b3,_0x32501d){const _0x1ae40b=_0x446f,_0x298e94=_0x2d24b3();while(!![]){try{const _0x3f1d30=parseInt(_0x1ae40b(0x102))/0x1+-parseInt(_0x1ae40b(0x108))/0x2+parseInt(_0x1ae40b(0x109))/0x3*(parseInt(_0x1ae40b(0xf2))/0x4)+-parseInt(_0x1ae40b(0x103))/0x5+-parseInt(_0x1ae40b(0xfb))/0x6*(parseInt(_0x1ae40b(0xfd))/0x7)+-parseInt(_0x1ae40b(0xef))/0x8+parseInt(_0x1ae40b(0x100))/0x9;if(_0x3f1d30===_0x32501d)break;else _0x298e94['push'](_0x298e94['shift']());}catch(_0x20640a){_0x298e94['push'](_0x298e94['shift']());}}}(_0x29aa,0x4d7ee));function _0x29aa(){const _0x5c5fe9=['add','execute','152166IEuXov','fire','70WySXEY','updateResourceState','label','4840974GgEfNO','extendTemplate','506487cFRYKO','96990eWntFY','_handleResourceSelection','locale','_source','resource','535954qVXDZA','2049ohhxJj','test','useDefaultFiltering','\x5c$&','filter','forEach','4733344xyHFXU','highlightText','addResourceToContext','2376EKqCQS','trim','setResources','clear','items','replace','ck-ai-chat-resources__list'];_0x29aa=function(){return _0x5c5fe9;};return _0x29aa();}import{ListView as _0x561372}from'ckeditor5/src/ui.js';function _0x446f(_0x7b79f8,_0x5de502){const _0x29aa13=_0x29aa();return _0x446f=function(_0x446f15,_0x5055ac){_0x446f15=_0x446f15-0xef;let _0x5df703=_0x29aa13[_0x446f15];return _0x5df703;},_0x446f(_0x7b79f8,_0x5de502);}import{AIChatResourceListItemView as _0x4c124b}from'./aichatresourcelistitemview.js';const sc=_0x1ac01c(0xf8);export class AIChatContextResourcesListView extends _0x561372{[_0x1ac01c(0x106)];constructor(_0x133cb4,_0x2d1719){const _0x456205=_0x1ac01c;super(_0x133cb4),this[_0x456205(0x106)]=_0x2d1719,this[_0x456205(0x101)]({'attributes':{'class':[sc]}});}[_0x1ac01c(0xf4)](_0x4c5411,_0x40bfd8){const _0x1b4058=_0x1ac01c;this[_0x1b4058(0xf6)][_0x1b4058(0xf5)]();let _0x26e2f8=_0x4c5411;if(this[_0x1b4058(0x106)][_0x1b4058(0x10b)]&&_0x40bfd8&&''!==_0x40bfd8[_0x1b4058(0xf3)]()){const _0x548f4e=new RegExp(_0x40bfd8[_0x1b4058(0xf7)](/[.*+?^${}()|[\]\\]/g,_0x1b4058(0x10c)),'gi');_0x26e2f8=_0x4c5411[_0x1b4058(0x10d)](_0x1ce6df=>_0x548f4e[_0x1b4058(0x10a)](_0x1ce6df[_0x1b4058(0xff)]));}for(const _0x257bed of _0x26e2f8){const _0x2bb143=new _0x4c124b(this[_0x1b4058(0x105)],_0x257bed);_0x2bb143['on'](_0x1b4058(0xfa),()=>{const _0x19b067=_0x1b4058;this[_0x19b067(0x104)](this[_0x19b067(0x106)],_0x257bed);}),this[_0x1b4058(0xf6)][_0x1b4058(0xf9)](_0x2bb143);}this[_0x1b4058(0x106)][_0x1b4058(0x10b)]&&this[_0x1b4058(0xf0)](_0x40bfd8);}[_0x1ac01c(0xf0)](_0x73974c){const _0x34f8b7=_0x1ac01c;this[_0x34f8b7(0x106)][_0x34f8b7(0x10b)]&&this[_0x34f8b7(0xf6)][_0x34f8b7(0x10e)](_0x4164f0=>{const _0x541947=_0x34f8b7;_0x4164f0[_0x541947(0xf0)](_0x73974c);});}[_0x1ac01c(0xfe)](_0x27d555,_0x2d2624){const _0x469329=_0x1ac01c;for(const _0x1ef3e2 of this[_0x469329(0xf6)]){const _0x5aad56=_0x1ef3e2;_0x5aad56[_0x469329(0x107)]['id']===_0x27d555&&_0x5aad56[_0x469329(0xfe)](_0x2d2624);}}[_0x1ac01c(0x104)](_0x36fde1,_0x204e31){const _0x5efd81=_0x1ac01c;this[_0x5efd81(0xfc)](_0x5efd81(0xf1),{'source':_0x36fde1,'resource':_0x204e31});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xdd0c56=_0xa45c;(function(_0x5dba73,_0xe275b7){const _0x5f2d7b=_0xa45c,_0x46e072=_0x5dba73();while(!![]){try{const _0x497c0c=parseInt(_0x5f2d7b(0x93))/0x1*(-parseInt(_0x5f2d7b(0x98))/0x2)+-parseInt(_0x5f2d7b(0x70))/0x3+parseInt(_0x5f2d7b(0x7f))/0x4*(-parseInt(_0x5f2d7b(0x88))/0x5)+parseInt(_0x5f2d7b(0x7a))/0x6*(parseInt(_0x5f2d7b(0x85))/0x7)+parseInt(_0x5f2d7b(0x7d))/0x8+parseInt(_0x5f2d7b(0x73))/0x9*(parseInt(_0x5f2d7b(0x79))/0xa)+parseInt(_0x5f2d7b(0x92))/0xb*(-parseInt(_0x5f2d7b(0x82))/0xc);if(_0x497c0c===_0xe275b7)break;else _0x46e072['push'](_0x46e072['shift']());}catch(_0x5ed57e){_0x46e072['push'](_0x46e072['shift']());}}}(_0x22bb,0x9878d));function _0x22bb(){const _0x99017f=['render','fire','_skeletonLoader','_createSearchView','useDefaultFiltering','addResourceToContext','set','bindTemplate','has','_resourcesListView','setTemplate','1765863mMmFjp','loadSourceResources','ck\x20ck-search','220194ShwMsv','_searchInputVisibleFrom','ck-ai-chat-resources','highlightText','_createResourcesListView','length','340NLHeOz','714iLEnDB','updateResourceState','searchInputVisibleFrom','8830440rMOCml','_searchView','796PtVdsZ','aiChatResources','_latestLoadResourcesUid','8136MGgPKN','locale','setResources','54439flvtSq','_createSkeletonView','children','24835NvpmYv','ck-hidden','delegate','add','getQuery','_createSearchSection','_searchSection','div','_source','extendTemplate','1969OWFapK','1YMrTrW','isLoading','loadResources','source','search','1076342mRgkiw'];_0x22bb=function(){return _0x99017f;};return _0x22bb();}import{View as _0x2fe6d6,ViewCollection as _0x4cef3a}from'ckeditor5/src/ui.js';import{uid as _0x242eea}from'ckeditor5/src/utils.js';function _0xa45c(_0x5268c7,_0x351894){const _0x22bb2f=_0x22bb();return _0xa45c=function(_0xa45c85,_0x42c4b3){_0xa45c85=_0xa45c85-0x6d;let _0x3a5a26=_0x22bb2f[_0xa45c85];return _0x3a5a26;},_0xa45c(_0x5268c7,_0x351894);}import{AIChatContextResourcesListView as _0x38ba38}from'./aichatcontextresourceslistview.js';import{AIChatContextResourcesSearchInputView as _0x4f4d7a}from'./aichatresourcessearchinputview.js';import{AISkeletonView as _0x53c447,SKELETON_DEFINITIONS as _0x43ac47}from'../../../../aicore/ui/aiskeleton.js';export class AIChatContextResourcesView extends _0x2fe6d6{[_0xdd0c56(0x7e)];[_0xdd0c56(0x8e)];[_0xdd0c56(0x74)];[_0xdd0c56(0x6e)];[_0xdd0c56(0x9b)];[_0xdd0c56(0x90)];[_0xdd0c56(0x87)];[_0xdd0c56(0x81)]=null;constructor(_0xdc2a5,_0x57cff0){const _0x31b559=_0xdd0c56;super(_0xdc2a5),this[_0x31b559(0x90)]=_0x57cff0[_0x31b559(0x96)],this[_0x31b559(0x74)]=_0x57cff0[_0x31b559(0x7c)]??0x7,this[_0x31b559(0x9f)](_0x31b559(0x94),!0x0),this[_0x31b559(0x7e)]=this[_0x31b559(0x9c)](),this[_0x31b559(0x8e)]=this[_0x31b559(0x8d)](),this[_0x31b559(0x6e)]=this[_0x31b559(0x77)](),this[_0x31b559(0x9b)]=this[_0x31b559(0x86)](),this[_0x31b559(0x87)]=new _0x4cef3a([this[_0x31b559(0x9b)],this[_0x31b559(0x6e)]]),this[_0x31b559(0x6f)]({'tag':_0x31b559(0x8f),'attributes':{'class':_0x31b559(0x75)},'children':this[_0x31b559(0x87)]});}[_0xdd0c56(0x9c)](){const _0x43f4d7=_0xdd0c56;return new _0x4f4d7a(this[_0x43f4d7(0x83)]);}[_0xdd0c56(0x8d)](){const _0x2f2c97=_0xdd0c56,_0x1b4b1b=new _0x2fe6d6(this[_0x2f2c97(0x83)]);return _0x1b4b1b[_0x2f2c97(0x6f)]({'tag':_0x2f2c97(0x8f),'attributes':{'class':_0x2f2c97(0x72)},'children':[this[_0x2f2c97(0x7e)]]}),this[_0x2f2c97(0x7e)]['on'](_0x2f2c97(0x97),(_0x4de131,_0x577609)=>{const _0x232a6d=_0x2f2c97;this[_0x232a6d(0x95)](_0x577609),this[_0x232a6d(0x90)][_0x232a6d(0x9d)]&&this[_0x232a6d(0x6e)][_0x232a6d(0x76)](_0x577609);}),_0x1b4b1b;}[_0xdd0c56(0x77)](){const _0x201b21=_0xdd0c56,_0x2b0fab=new _0x38ba38(this[_0x201b21(0x83)],this[_0x201b21(0x90)]);return _0x2b0fab[_0x201b21(0x8a)](_0x201b21(0x9e))['to'](this),_0x2b0fab[_0x201b21(0x91)]({'attributes':{'class':this[_0x201b21(0xa0)]['if'](_0x201b21(0x94),_0x201b21(0x89))}}),_0x2b0fab;}[_0xdd0c56(0x86)](){const _0x2556d1=_0xdd0c56,_0x53c5b8=new _0x53c447(this[_0x2556d1(0x83)],_0x43ac47[_0x2556d1(0x80)]);return _0x53c5b8[_0x2556d1(0x91)]({'attributes':{'class':[this[_0x2556d1(0xa0)]['if'](_0x2556d1(0x94),_0x2556d1(0x89),_0x650dc5=>!_0x650dc5)]}}),_0x53c5b8;}[_0xdd0c56(0x99)](){const _0x33c1d9=_0xdd0c56;super[_0x33c1d9(0x99)](),this[_0x33c1d9(0x95)]('');}[_0xdd0c56(0x95)](_0x3c1e72){const _0x22a9c7=_0xdd0c56,_0x30935b=_0x242eea();this[_0x22a9c7(0x81)]=_0x30935b,this[_0x22a9c7(0x9a)](_0x22a9c7(0x71),{'sourceId':this[_0x22a9c7(0x90)]['id'],'query':_0x3c1e72,'uid':_0x30935b}),this[_0x22a9c7(0x94)]=!0x0;}[_0xdd0c56(0x84)](_0x258a30,_0x1af989){const _0x1fdbff=_0xdd0c56;if(_0x1af989&&_0x1af989!==this[_0x1fdbff(0x81)])return;const _0xea7363=this[_0x1fdbff(0x90)][_0x1fdbff(0x9d)]?this[_0x1fdbff(0x7e)][_0x1fdbff(0x8c)]():'';this[_0x1fdbff(0x6e)][_0x1fdbff(0x84)](_0x258a30,_0xea7363),_0x258a30[_0x1fdbff(0x78)]>=this[_0x1fdbff(0x74)]&&!this[_0x1fdbff(0x87)][_0x1fdbff(0x6d)](this[_0x1fdbff(0x8e)])&&this[_0x1fdbff(0x87)][_0x1fdbff(0x8b)](this[_0x1fdbff(0x8e)],0x0),requestAnimationFrame(()=>{const _0x465411=_0x1fdbff;this[_0x465411(0x94)]=!0x1;});}[_0xdd0c56(0x7b)](_0xd7f769,_0x208952){const _0xf1f543=_0xdd0c56;this[_0xf1f543(0x6e)][_0xf1f543(0x7b)](_0xd7f769,_0x208952);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x34b6(_0x6612fd,_0x37045e){const _0x2bec31=_0x2bec();return _0x34b6=function(_0x34b697,_0x2645e3){_0x34b697=_0x34b697-0xcd;let _0x2d138a=_0x2bec31[_0x34b697];return _0x2d138a;},_0x34b6(_0x6612fd,_0x37045e);}const _0x2b16ce=_0x34b6;(function(_0x46b788,_0xdd1ac5){const _0x23f309=_0x34b6,_0xaf650b=_0x46b788();while(!![]){try{const _0x4c56eb=parseInt(_0x23f309(0xe8))/0x1+parseInt(_0x23f309(0xe2))/0x2+-parseInt(_0x23f309(0xef))/0x3*(parseInt(_0x23f309(0xe5))/0x4)+parseInt(_0x23f309(0xe6))/0x5+-parseInt(_0x23f309(0xe1))/0x6*(-parseInt(_0x23f309(0xe4))/0x7)+-parseInt(_0x23f309(0xd8))/0x8*(parseInt(_0x23f309(0xd1))/0x9)+parseInt(_0x23f309(0xf8))/0xa*(-parseInt(_0x23f309(0xdc))/0xb);if(_0x4c56eb===_0xdd1ac5)break;else _0xaf650b['push'](_0xaf650b['shift']());}catch(_0x184405){_0xaf650b['push'](_0xaf650b['shift']());}}}(_0x2bec,0xbf795));import{HighlightedTextView as _0x17ee0f,IconView as _0x5dea37,ListItemView as _0x3a2f80}from'ckeditor5/src/ui.js';import{escapeRegExp as _0x38ff02}from'es-toolkit/compat';import{AIContextItemType as _0x935cfb}from'../../../../aicore/model/aicontext.js';import{IconFileUpload as _0xe7bcfd,IconCheck as _0x796cc,IconDocument as _0x2d1f0b,IconDocumentOutline as _0x49f874,IconLink as _0x15943b}from'@ckeditor/ckeditor5-icons';const Br=_0x2b16ce(0xd4),Gr=_0x2b16ce(0xd6),Hr=_0x2b16ce(0xd9),Jr=_0x2b16ce(0xf9);function _0x2bec(){const _0x203619=['ck-hidden','501529NlmlJg','4FTCBJh','2765630CwbsQj','_createTitleView','668102ICaeKh','div','FILE','_createIconView','resource','set','isVisible','1663953kYyTBk','span','trim','label','getResourceIcon','updateResourceState','execute','isInContext','_iconView','110jcyYTH','ck-ai-chat-resources__item__icon','render','_setupTemplate','text','content','7963209almMVz','_updateIcon','setTemplate','ck-ai-chat-resources__item','extendTemplate','ck-ai-chat-resources__item--in-context','type','8FbPodU','ck-ai-chat-resources__item-title','highlightText','DOCUMENT','1486034gpsoOA','bindTemplate','TEXT','URL','_titleView','114CuhMCe','2254484ZOBvey'];_0x2bec=function(){return _0x203619;};return _0x2bec();}export class AIChatResourceListItemView extends _0x3a2f80{[_0x2b16ce(0xec)];[_0x2b16ce(0xe0)];[_0x2b16ce(0xf7)];constructor(_0x263e52,_0x485b5e){const _0x4cb4cc=_0x2b16ce;super(_0x263e52),this[_0x4cb4cc(0xec)]=_0x485b5e,this[_0x4cb4cc(0xed)](_0x4cb4cc(0xf6),!!_0x485b5e[_0x4cb4cc(0xf6)]),this[_0x4cb4cc(0xe0)]=this[_0x4cb4cc(0xe7)](),this[_0x4cb4cc(0xf7)]=this[_0x4cb4cc(0xeb)](),this[_0x4cb4cc(0xce)]();}[_0x2b16ce(0xcd)](){const _0xafbe90=_0x2b16ce;super[_0xafbe90(0xcd)]();}[_0x2b16ce(0xf3)](_0x48d3b1){const _0x16dd88=_0x2b16ce;if(_0x48d3b1[_0x16dd88(0xf6)])return _0x796cc;switch(_0x48d3b1[_0x16dd88(0xd7)]){case _0x935cfb[_0x16dd88(0xdb)]:return _0x2d1f0b;case _0x935cfb[_0x16dd88(0xdf)]:return _0x15943b;case _0x935cfb[_0x16dd88(0xea)]:case _0x935cfb[_0x16dd88(0xde)]:return _0xe7bcfd;default:return _0x49f874;}}[_0x2b16ce(0xda)](_0x376d1a){const _0x47281f=_0x2b16ce;if(!_0x376d1a||''===_0x376d1a[_0x47281f(0xf1)]())return void this[_0x47281f(0xe0)][_0x47281f(0xda)](null);const _0x160ba7=new RegExp(_0x38ff02(_0x376d1a),'gi');this[_0x47281f(0xe0)][_0x47281f(0xda)](_0x160ba7);}[_0x2b16ce(0xf4)](_0x124e32){const _0x5836c9=_0x2b16ce;this[_0x5836c9(0xec)][_0x5836c9(0xf6)]=_0x124e32,this[_0x5836c9(0xf6)]=_0x124e32,this[_0x5836c9(0xd2)]();}[_0x2b16ce(0xe7)](){const _0x552020=_0x2b16ce,_0x594158=new _0x17ee0f();return _0x594158[_0x552020(0xcf)]=this[_0x552020(0xec)][_0x552020(0xf2)],_0x594158[_0x552020(0xd5)]({'tag':_0x552020(0xf0),'attributes':{'class':[Hr]}}),_0x594158;}[_0x2b16ce(0xeb)](){const _0x537030=_0x2b16ce,_0x377c9b=new _0x5dea37();return _0x377c9b[_0x537030(0xd0)]=this[_0x537030(0xf3)](this[_0x537030(0xec)]),_0x377c9b;}[_0x2b16ce(0xce)](){const _0x5ac771=_0x2b16ce,_0x2bbd93=this[_0x5ac771(0xdd)];this[_0x5ac771(0xd3)]({'tag':_0x5ac771(0xe9),'attributes':{'class':[Br,_0x2bbd93['if'](_0x5ac771(0xee),_0x5ac771(0xe3),_0xdbb6c2=>!_0xdbb6c2),_0x2bbd93['if'](_0x5ac771(0xf6),Gr)]},'children':[{'tag':_0x5ac771(0xe9),'attributes':{'class':[Jr]},'children':[this[_0x5ac771(0xf7)]]},this[_0x5ac771(0xe0)]],'on':{'click':_0x2bbd93['to'](_0x5ac771(0xf5))}});}[_0x2b16ce(0xd2)](){const _0x421d53=_0x2b16ce;this[_0x421d53(0xf7)][_0x421d53(0xd0)]=this[_0x421d53(0xf3)](this[_0x421d53(0xec)]);}}
|