@ckeditor/ckeditor5-ai 47.6.1-alpha.1 → 47.6.2-alpha.0
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/LICENSE.md +0 -4
- package/build/ai.js +2 -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/lang/contexts.json +1 -0
- package/package.json +15 -16
- 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.d.ts +15 -156
- package/src/aiassistant/adapters/awstextadapter.js +1 -1
- package/src/aiassistant/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant/aiassistant.d.ts +2 -0
- 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/aiballoonview.js +1 -1
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatballoon.js +1 -1
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/ui/aichatballoonview.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/aichatfeedcustomelementview.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/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/aichatshortcuts/aichatshortcuts.js +1 -1
- package/src/aichatshortcuts/ui/aichatshortcutsview.js +1 -1
- package/src/aichatshortcuts/ui/aichatshortcutview.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/aisuggestioncontentpartheaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.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/aicore/utils/scrollmanager.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/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoondisclaimerview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoontoolbarview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoonview.js +1 -1
- package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
- package/src/aireviewcore/aireviewcorecontroller.js +1 -1
- package/src/aireviewcore/aireviewcoreediting.js +1 -1
- package/src/aireviewcore/aireviewcoreui.js +1 -1
- package/src/aireviewcore/model/aireviewcheck.js +1 -1
- package/src/aireviewcore/model/aireviewchecklist.js +1 -1
- package/src/aireviewcore/model/aireviewcheckresult.js +1 -1
- package/src/aireviewcore/model/aireviewcheckresultchange.js +1 -1
- package/src/aireviewcore/model/aireviewcheckrun.js +1 -1
- package/src/aireviewcore/model/aireviewsystemcheckrun.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreballoonsuggestionview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorechecklistitemresultview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorecustomcheckview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorefinishreviewbuttonview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoregeneralerrorview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorepromptinputview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewchecklistview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewcommandlistitemview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewcompletedview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreuicheckresultsview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreview.js +1 -1
- package/src/aireviewcore/ui/form/aireviewcoreformdropdown.js +1 -1
- package/src/aireviewcore/ui/form/aireviewcoreformmanager.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/aireviewmodeui.js +1 -1
- package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
- package/src/aireviewmode/model/aireviewcheckextra.js +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewextracheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewmodechecklist.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/aitranslate/aitranslate.js +1 -1
- package/src/aitranslate/aitranslatecontroller.js +1 -1
- package/src/aitranslate/aitranslateui.js +1 -1
- package/src/aitranslate/model/aitranslatecheck.js +1 -1
- package/src/aitranslate/model/aitranslatechecklist.js +1 -1
- package/src/aitranslate/model/aitranslatecheckrun.js +1 -1
- package/src/aitranslate/ui/aitranslatechecklistview.js +1 -1
- package/src/aitranslate/ui/aitranslatecheckresultsview.js +1 -1
- package/src/errors.js +1 -1
- package/src/errorsmap.js +1 -1
- package/src/index.js +1 -1
- package/build/966.ai.js +0 -5
- package/build/translations/en.js +0 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x746057=_0x189a;(function(_0x3cb76b,_0x38c9ba){const _0x4777d5=_0x189a,_0x35db82=_0x3cb76b();while(!![]){try{const _0x5a219d=parseInt(_0x4777d5(0x1cc))/0x1+parseInt(_0x4777d5(0x1e1))/0x2+parseInt(_0x4777d5(0x1cf))/0x3*(parseInt(_0x4777d5(0x1df))/0x4)+-parseInt(_0x4777d5(0x1d8))/0x5*(-parseInt(_0x4777d5(0x1cb))/0x6)+-parseInt(_0x4777d5(0x1d2))/0x7+-parseInt(_0x4777d5(0x1cd))/0x8+parseInt(_0x4777d5(0x1db))/0x9*(-parseInt(_0x4777d5(0x1d1))/0xa);if(_0x5a219d===_0x38c9ba)break;else _0x35db82['push'](_0x35db82['shift']());}catch(_0x3b3955){_0x35db82['push'](_0x35db82['shift']());}}}(_0x377c,0x62516));import{ButtonView as _0x562ce7,FormHeaderView as _0x11e9c4}from'ckeditor5/src/ui.js';import{IconPlus as _0x17b0f7,IconAIChat as _0x209606}from'ckeditor5/src/icons.js';function _0x377c(){const _0x30797d=['676794wAtQcc','1842784EtvspN','AI_CHAT_HEADING','82179wonctm','children','10MQTjZS','2419095vJHfqn','conversationStartButton','add','ck-ai-header\x20ck-ai-header_chat','startConversation','execute','95WjfySH','isMaximized','set','9183717oPozWz','_createStartConversationButton','resizeButton','locale','36LSLpmB','AI_CHAT_LABEL_NEW_CHAT','1005332EXiqPM','ck-ai-chat__start-conversation','fire','180966czGiCu'];_0x377c=function(){return _0x30797d;};return _0x377c();}import{getTranslation as _0x111eb2}from'../../aicore/utils/common-translations.js';function _0x189a(_0x428dca,_0x3058e1){const _0x377c72=_0x377c();return _0x189a=function(_0x189ab6,_0x297a23){_0x189ab6=_0x189ab6-0x1cb;let _0x138ab0=_0x377c72[_0x189ab6];return _0x138ab0;},_0x189a(_0x428dca,_0x3058e1);}import{createResizeButton as _0x537673}from'../../aicore/utils/createresizebutton.js';import'../../../theme/common/aiheader.css';export class AIChatHeaderView extends _0x11e9c4{[_0x746057(0x1d3)];[_0x746057(0x1dd)];constructor(_0x899423,_0x4c09d0){const _0x2ddc0f=_0x746057;super(_0x899423,{'label':_0x111eb2(_0x899423,_0x2ddc0f(0x1ce)),'class':_0x2ddc0f(0x1d5),'icon':_0x209606}),this[_0x2ddc0f(0x1da)](_0x2ddc0f(0x1d9),!0x1),this[_0x2ddc0f(0x1d3)]=this[_0x2ddc0f(0x1dc)](_0x899423),this[_0x2ddc0f(0x1d0)][_0x2ddc0f(0x1d4)](this[_0x2ddc0f(0x1d3)]),_0x4c09d0&&(this[_0x2ddc0f(0x1dd)]=_0x537673(_0x899423,this),this[_0x2ddc0f(0x1d0)][_0x2ddc0f(0x1d4)](this[_0x2ddc0f(0x1dd)]));}[_0x746057(0x1dc)](_0x284484){const _0x1f8bbd=_0x746057,_0x5b7000=new _0x562ce7(_0x284484);return _0x5b7000[_0x1f8bbd(0x1da)]({'label':_0x111eb2(this[_0x1f8bbd(0x1de)],_0x1f8bbd(0x1e0)),'withText':!0x0,'icon':_0x17b0f7,'class':_0x1f8bbd(0x1e2)}),_0x5b7000['on'](_0x1f8bbd(0x1d7),()=>{const _0x52416c=_0x1f8bbd;this[_0x52416c(0x1e3)](_0x52416c(0x1d6));}),_0x5b7000;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x5d6464=_0x551c;(function(_0x4e8d17,_0x3a04a6){var _0x3aeb0a=_0x551c,_0x16954c=_0x4e8d17();while(!![]){try{var _0x46c211=parseInt(_0x3aeb0a(0x12e))/0x1*(parseInt(_0x3aeb0a(0x143))/0x2)+-parseInt(_0x3aeb0a(0x12c))/0x3+parseInt(_0x3aeb0a(0x136))/0x4*(parseInt(_0x3aeb0a(0x13a))/0x5)+parseInt(_0x3aeb0a(0x132))/0x6+-parseInt(_0x3aeb0a(0x12d))/0x7*(-parseInt(_0x3aeb0a(0x130))/0x8)+parseInt(_0x3aeb0a(0x138))/0x9*(parseInt(_0x3aeb0a(0x131))/0xa)+-parseInt(_0x3aeb0a(0x135))/0xb*(parseInt(_0x3aeb0a(0x142))/0xc);if(_0x46c211===_0x3a04a6)break;else _0x16954c['push'](_0x16954c['shift']());}catch(_0x3057b2){_0x16954c['push'](_0x16954c['shift']());}}}(_0x1a08,0x4382b));import{View as _0x58cb5f,BodyCollection as _0x5b9581}from'ckeditor5/src/ui.js';import{AI_CHAT_UI_EVENT_NAMES as _0x4268dc}from'../utils/eventnames.js';import{AIChatFeedView as _0xcd5cb5}from'./aichatfeedview.js';function _0x1a08(){var _0x1321bc=['chatControls','chatHeader','div','ck-reset_all','378966xODPTc','41321SOxPlY','1kkYaNw','uiLanguageDirection','24MyZlnw','30jGSZot','2626236bCCNBA','delegate','chatFeed','5027ovTshl','109944YlGyIK','ck-rounded-corners','1434951NKMpet','detachFromDom','45zsMGne','attachToDom','ck-ai-chat','populateSourceResourceBalloon','contextResourcesSearchInputVisibleFrom','closeSourceResourceBalloon','chatDisclaimer','destroy','33360BDLrFV','984398ECLFuK','setTemplate','showResizeButton','_bodyCollection'];_0x1a08=function(){return _0x1321bc;};return _0x1a08();}import{AIChatControlsView as _0x7a6acb}from'./aichatcontrolsview.js';import{AIChatHeaderView as _0x207b82}from'./aichatheaderview.js';import{AIDisclaimerView as _0x2c3d8b}from'../../aicore/ui/aidisclaimerview.js';function _0x551c(_0x5255bf,_0x1f7817){var _0x1a0895=_0x1a08();return _0x551c=function(_0x551c8e,_0xec7376){_0x551c8e=_0x551c8e-0x128;var _0x4a8aec=_0x1a0895[_0x551c8e];return _0x4a8aec;},_0x551c(_0x5255bf,_0x1f7817);}import'../../../theme/common/ainotification.css';import'../../../theme/common/aibutton.css';import'../../../theme/common/aitrackchanges.css';export class AIChatView extends _0x58cb5f{[_0x5d6464(0x129)];[_0x5d6464(0x134)];[_0x5d6464(0x128)];[_0x5d6464(0x140)];[_0x5d6464(0x146)];constructor(_0x71f584,_0x547822){var _0x3265eb=_0x5d6464;super(_0x71f584),this[_0x3265eb(0x146)]=new _0x5b9581(_0x71f584),this[_0x3265eb(0x146)][_0x3265eb(0x13b)](),this[_0x3265eb(0x129)]=new _0x207b82(_0x71f584,_0x547822[_0x3265eb(0x145)]),this[_0x3265eb(0x129)][_0x3265eb(0x133)](..._0x4268dc)['to'](this),this[_0x3265eb(0x134)]=new _0xcd5cb5(_0x71f584,this[_0x3265eb(0x146)]),this[_0x3265eb(0x134)][_0x3265eb(0x133)](..._0x4268dc)['to'](this),this[_0x3265eb(0x128)]=new _0x7a6acb(_0x71f584,{'bodyCollection':this[_0x3265eb(0x146)],'contextResourcesSearchInputVisibleFrom':_0x547822[_0x3265eb(0x13e)]}),this[_0x3265eb(0x128)][_0x3265eb(0x133)](..._0x4268dc)['to'](this),this[_0x3265eb(0x140)]=new _0x2c3d8b(_0x71f584),this[_0x3265eb(0x144)]({'tag':_0x3265eb(0x12a),'attributes':{'class':['ck',_0x3265eb(0x12b),_0x3265eb(0x13c),_0x3265eb(0x137)],'dir':_0x71f584[_0x3265eb(0x12f)]},'children':[this[_0x3265eb(0x129)],this[_0x3265eb(0x134)],this[_0x3265eb(0x128)],this[_0x3265eb(0x140)]]});}[_0x5d6464(0x13d)](_0x1d65e9,_0x4106aa,_0x1b1f6e,_0x167efe){var _0x388b26=_0x5d6464;this[_0x388b26(0x128)][_0x388b26(0x13d)](_0x1d65e9,_0x4106aa,_0x1b1f6e,_0x167efe);}[_0x5d6464(0x13f)](_0x290fcc){var _0x5b069a=_0x5d6464;this[_0x5b069a(0x128)][_0x5b069a(0x13f)](_0x290fcc);}[_0x5d6464(0x141)](){var _0x2a17ac=_0x5d6464;this[_0x2a17ac(0x146)][_0x2a17ac(0x139)](),super[_0x2a17ac(0x141)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x25cc(_0x425b75,_0x8f406e){const _0x50d263=_0x50d2();return _0x25cc=function(_0x25ccab,_0x149f48){_0x25ccab=_0x25ccab-0x1d7;let _0x4828f3=_0x50d263[_0x25ccab];return _0x4828f3;},_0x25cc(_0x425b75,_0x8f406e);}const _0xac3581=_0x25cc;(function(_0x39a343,_0x47b81c){const _0x19d980=_0x25cc,_0x498ffb=_0x39a343();while(!![]){try{const _0xfcc4e8=-parseInt(_0x19d980(0x24c))/0x1*(parseInt(_0x19d980(0x206))/0x2)+-parseInt(_0x19d980(0x24e))/0x3*(parseInt(_0x19d980(0x208))/0x4)+parseInt(_0x19d980(0x20a))/0x5+parseInt(_0x19d980(0x24d))/0x6*(parseInt(_0x19d980(0x1db))/0x7)+-parseInt(_0x19d980(0x202))/0x8+parseInt(_0x19d980(0x239))/0x9+parseInt(_0x19d980(0x25f))/0xa;if(_0xfcc4e8===_0x47b81c)break;else _0x498ffb['push'](_0x498ffb['shift']());}catch(_0x2263a1){_0x498ffb['push'](_0x498ffb['shift']());}}}(_0x50d2,0xda93b));import{View as _0x439f7a,BalloonPanelView as _0x1e3514,ButtonView as _0x4d9406,clickOutsideHandler as _0x4dd8d8}from'ckeditor5/src/ui.js';import{Collection as _0x1fc7b9}from'ckeditor5/src/utils.js';const hn={'maxVisibleRows':0x2,'rowDetectionTolerance':0x5,'showMoreLabelPrefix':'+\x20','viewportOffset':{'top':0x64,'bottom':0xa}},an=_0xac3581(0x209);function _0x50d2(){const _0x5bdbd0=['content','_calculateOverflowInContainer','calculationContainer','zIndex','undefined','controlsButton','overflowChips','pop','execute','label','children','render','+\x201','createElement','remove','length','hidden','_createShowMoreBalloonPanelView','forEach','block\x20!important','_createShowMoreButton','14216880aBBWbn','block','classList','cloneNode','24SonAGr','add','376OBYCjg','300px','1755325wgfqBQ','_createCalculationContainer','offsetWidth','showMoreBalloon','show','button','_checkAndHandleOverflow','0px','_overflowChips','-9999px','maxVisibleRows','isIntersecting','clear','clientWidth','_containerElement','_distributeChips','none','visibility','_updateBalloonContent','pin','includes','from','_ancestorsToRestore','getBoundingClientRect','innerWidth','innerHeight','innerHTML','_renderChipsAndCountRows','_restoreAncestorVisibility','style','_visibleChips','border-box','isConnected','abs','_showMoreBalloonPanelView','cssClasses','_updateOverflowUI','_createShowMoreButtonView','element','showMoreButton','observe','toLowerCase','hideBalloonPanel','clientHeight','destroy','position','width','2860218LWzIdt','rowDetectionTolerance','push','_intersectionObserver','_createContainerElements','_pendingCalculation','isVisible','className','visible\x20!important','_bodyCollection','_parentView','_showMoreButtonView','getComputedStyle','hide','bottom','50px','visible','_testButtonFit','absolute','60139UfEGno','8723454mjnIXz','3609lsKCUk','_applyOverflowResults','_updateShowMoreButtonVisibility','div','auto','ck-calculation-container','right','_handleShowMoreButtonClick','overflowContainer','left','disconnect','textContent','querySelector','extendTemplate','_makeAncestorsVisible','height','_isContainerVisible','13843750PqxDKt','_applyCalculationStyles','.ck-ai-chat','filter','pointerEvents','showMoreLabelPrefix','documentElement','tagName','disableAnimationOnEnter','_createMockButton','isOn','some','_calculateContainerWidth','body','slice','_findTargetContainer','7MFYufO','reorganizeChips','opacity','showMoreButtonView','_locale','setTemplate','appendChild','set','_setupVisibilityObserver','_config','parentElement','_targetContainer','showBalloonPanel','display','boxSizing','_repinBalloonPanel','top','setContainerElement'];_0x50d2=function(){return _0x5bdbd0;};return _0x50d2();}export class AIChatChipsOverflowManager{[_0xac3581(0x1df)];[_0xac3581(0x1e4)];[_0xac3581(0x228)];[_0xac3581(0x212)];[_0xac3581(0x244)]=null;[_0xac3581(0x22c)]=null;[_0xac3581(0x218)]=null;[_0xac3581(0x242)];[_0xac3581(0x243)]=null;[_0xac3581(0x23c)]=null;[_0xac3581(0x23e)]=!0x1;constructor(_0x23b27e,_0x24ec34,_0x4f4241,_0x5c0a60,_0x23b31e){const _0x2427c9=_0xac3581;this[_0x2427c9(0x1df)]=_0x23b27e,this[_0x2427c9(0x228)]=_0x24ec34,this[_0x2427c9(0x1e4)]={...hn,..._0x4f4241,'cssClasses':{'controlsButton':'','calculationContainer':_0x2427c9(0x253),..._0x4f4241[_0x2427c9(0x22d)]}},this[_0x2427c9(0x212)]=new _0x1fc7b9(),this[_0x2427c9(0x242)]=_0x5c0a60,this[_0x2427c9(0x243)]=_0x23b31e||null;}[_0xac3581(0x1ec)](_0xf35a19){const _0x5743b1=_0xac3581;this[_0x5743b1(0x23c)]&&(this[_0x5743b1(0x23c)][_0x5743b1(0x258)](),this[_0x5743b1(0x23c)]=null),this[_0x5743b1(0x218)]=_0xf35a19,this[_0x5743b1(0x1e3)]();}get[_0xac3581(0x1de)](){const _0x5ebc69=_0xac3581;return this[_0x5ebc69(0x244)];}get[_0xac3581(0x1f3)](){const _0x547eba=_0xac3581;return this[_0x547eba(0x212)];}[_0xac3581(0x1dc)](){requestAnimationFrame(()=>{const _0x477ec0=_0x25cc;this[_0x477ec0(0x210)]();});}[_0xac3581(0x1e7)](){const _0x4c35ee=_0xac3581;this[_0x4c35ee(0x244)]&&this[_0x4c35ee(0x22c)]&&(this[_0x4c35ee(0x21c)](),this[_0x4c35ee(0x244)][_0x4c35ee(0x269)]=!0x0,this[_0x4c35ee(0x22c)][_0x4c35ee(0x20e)](),this[_0x4c35ee(0x22c)][_0x4c35ee(0x21d)]({'target':this[_0x4c35ee(0x244)][_0x4c35ee(0x230)],'limiter':document[_0x4c35ee(0x25a)](_0x4c35ee(0x261))}));}[_0xac3581(0x234)](){const _0xce38c1=_0xac3581;this[_0xce38c1(0x244)]&&this[_0xce38c1(0x22c)]&&(this[_0xce38c1(0x244)][_0xce38c1(0x269)]=!0x1,this[_0xce38c1(0x22c)][_0xce38c1(0x246)]());}[_0xac3581(0x216)](){const _0x482f0b=_0xac3581;this[_0x482f0b(0x212)][_0x482f0b(0x216)](),this[_0x482f0b(0x234)](),this[_0x482f0b(0x250)](),this[_0x482f0b(0x244)]&&(this[_0x482f0b(0x244)][_0x482f0b(0x1f6)]=''),this[_0x482f0b(0x22c)]&&this[_0x482f0b(0x22c)][_0x482f0b(0x1ed)][_0x482f0b(0x216)]();}[_0xac3581(0x236)](){const _0x28b5dd=_0xac3581;this[_0x28b5dd(0x23c)]&&(this[_0x28b5dd(0x23c)][_0x28b5dd(0x258)](),this[_0x28b5dd(0x23c)]=null),this[_0x28b5dd(0x244)]&&(this[_0x28b5dd(0x244)][_0x28b5dd(0x236)](),this[_0x28b5dd(0x244)]=null),this[_0x28b5dd(0x22c)]&&(this[_0x28b5dd(0x22c)][_0x28b5dd(0x236)](),this[_0x28b5dd(0x22c)]=null);}[_0xac3581(0x210)](){const _0x1ff3b1=_0xac3581;if(!this[_0x1ff3b1(0x218)])return;if(!this[_0x1ff3b1(0x25e)]())return void(this[_0x1ff3b1(0x23e)]=!0x0);this[_0x1ff3b1(0x23e)]=!0x1;const _0x34adce=[...this[_0x1ff3b1(0x228)],...this[_0x1ff3b1(0x212)]],_0x592bab=this[_0x1ff3b1(0x20b)](),_0x97ffa3=this[_0x1ff3b1(0x1ee)](_0x592bab,_0x34adce),_0x53e705=_0x592bab[_0x1ff3b1(0x220)];_0x53e705&&this[_0x1ff3b1(0x226)](_0x53e705),_0x592bab[_0x1ff3b1(0x1fb)](),this[_0x1ff3b1(0x24f)](_0x34adce,_0x97ffa3);}[_0xac3581(0x201)](){const _0x3030d3=_0xac3581;this[_0x3030d3(0x244)]=this[_0x3030d3(0x22f)](),this[_0x3030d3(0x22c)]=this[_0x3030d3(0x1fe)](),this[_0x3030d3(0x244)][_0x3030d3(0x1f8)](),this[_0x3030d3(0x218)][_0x3030d3(0x1e1)](this[_0x3030d3(0x244)][_0x3030d3(0x230)]),this[_0x3030d3(0x244)]['on'](_0x3030d3(0x1f5),()=>{const _0x23ebf4=_0x3030d3;this[_0x23ebf4(0x255)]();}),_0x4dd8d8({'emitter':this[_0x3030d3(0x22c)],'contextElements':[this[_0x3030d3(0x22c)][_0x3030d3(0x230)],this[_0x3030d3(0x244)][_0x3030d3(0x230)]],'callback':()=>this[_0x3030d3(0x234)](),'activator':()=>this[_0x3030d3(0x244)][_0x3030d3(0x269)]});}[_0xac3581(0x22f)](){const _0x401c58=_0xac3581,_0x343a79=new _0x4d9406(this[_0x401c58(0x1df)]);_0x343a79[_0x401c58(0x1e2)]({'label':'','withText':!0x0,'isToggleable':!0x0});const _0x5ad2b5=[this[_0x401c58(0x1e4)][_0x401c58(0x22d)][_0x401c58(0x231)]];return this[_0x401c58(0x1e4)][_0x401c58(0x22d)][_0x401c58(0x1f2)]&&_0x5ad2b5[_0x401c58(0x23b)](this[_0x401c58(0x1e4)][_0x401c58(0x22d)][_0x401c58(0x1f2)]),_0x343a79[_0x401c58(0x25b)]({'attributes':{'class':_0x5ad2b5}}),_0x343a79;}[_0xac3581(0x1fe)](){const _0x17dac9=_0xac3581,_0xd5a9d2=new _0x1e3514(this[_0x17dac9(0x1df)]);return _0xd5a9d2[_0x17dac9(0x25b)]({'attributes':{'class':this[_0x17dac9(0x1e4)][_0x17dac9(0x22d)][_0x17dac9(0x20d)]}}),this[_0x17dac9(0x242)][_0x17dac9(0x207)](_0xd5a9d2),_0xd5a9d2;}[_0xac3581(0x21c)](){const _0x1a496d=_0xac3581;if(this[_0x1a496d(0x22c)]&&(this[_0x1a496d(0x22c)][_0x1a496d(0x1ed)][_0x1a496d(0x216)](),this[_0x1a496d(0x212)][_0x1a496d(0x1fc)]>0x0)){this[_0x1a496d(0x212)][_0x1a496d(0x1ff)](_0x540ed1=>{const _0x1c8053=_0x1a496d;_0x540ed1[_0x1c8053(0x267)]();});const _0x3ea1d4=new _0x439f7a(this[_0x1a496d(0x1df)]);_0x3ea1d4[_0x1a496d(0x1e0)]({'tag':_0x1a496d(0x251),'attributes':{'class':this[_0x1a496d(0x1e4)][_0x1a496d(0x22d)][_0x1a496d(0x256)]},'children':this[_0x1a496d(0x212)]}),this[_0x1a496d(0x22c)][_0x1a496d(0x1ed)][_0x1a496d(0x207)](_0x3ea1d4);}}[_0xac3581(0x255)](){const _0xcaca14=_0xac3581;this[_0xcaca14(0x244)][_0xcaca14(0x269)]?this[_0xcaca14(0x234)]():this[_0xcaca14(0x1e7)]();}[_0xac3581(0x250)](){const _0x3b7fc1=_0xac3581,_0x51a978=this[_0x3b7fc1(0x212)][_0x3b7fc1(0x1fc)]>0x0;this[_0x3b7fc1(0x244)]?.[_0x3b7fc1(0x230)]&&(this[_0x3b7fc1(0x244)][_0x3b7fc1(0x230)][_0x3b7fc1(0x227)][_0x3b7fc1(0x1e8)]=_0x51a978?'':_0x3b7fc1(0x21a));}[_0xac3581(0x1ea)](){const _0x937c7f=_0xac3581;this[_0x937c7f(0x244)]?.[_0x937c7f(0x269)]&&this[_0x937c7f(0x22c)]?.[_0x937c7f(0x23f)]&&this[_0x937c7f(0x244)][_0x937c7f(0x230)]&&this[_0x937c7f(0x22c)][_0x937c7f(0x21d)]({'target':this[_0x937c7f(0x244)][_0x937c7f(0x230)],'limiter':document[_0x937c7f(0x25a)](_0x937c7f(0x261))});}[_0xac3581(0x1da)](_0x25714e){const _0x54b703=_0xac3581,_0x11ecab=this[_0x54b703(0x218)]?.[_0x54b703(0x266)][_0x54b703(0x233)]()||_0x54b703(0x251),_0x468b7b=this[_0x54b703(0x218)]?.[_0x54b703(0x204)];if(_0x468b7b){const _0x19ccf3=_0x468b7b[0x0]||'',_0x111226=_0x25714e[_0x54b703(0x25a)]('.'+_0x19ccf3),_0x428b9c=_0x25714e[_0x54b703(0x25a)](_0x11ecab);return _0x111226||_0x428b9c||_0x25714e;}return _0x25714e[_0x54b703(0x25a)](_0x11ecab)||_0x25714e;}[_0xac3581(0x1d7)](){const _0x560ab1=_0xac3581,_0x2f8d77=this[_0x560ab1(0x243)]?.[_0x560ab1(0x230)]||this[_0x560ab1(0x218)];if(!_0x2f8d77)return an;const _0x21f8fc=window[_0x560ab1(0x245)](_0x2f8d77)[_0x560ab1(0x238)];if(_0x560ab1(0x252)===_0x21f8fc||_0x560ab1(0x211)===_0x21f8fc||!_0x21f8fc){const _0x1a9f3d=_0x2f8d77[_0x560ab1(0x1e5)];if(_0x1a9f3d){const _0x26f101=window[_0x560ab1(0x245)](_0x1a9f3d);return _0x560ab1(0x252)!==_0x26f101[_0x560ab1(0x238)]?_0x26f101[_0x560ab1(0x238)]:an;}return an;}return _0x21f8fc;}[_0xac3581(0x260)](_0x546b0a,_0xf1b68){const _0x11e9e0=_0xac3581;this[_0x11e9e0(0x1e4)][_0x11e9e0(0x22d)][_0x11e9e0(0x1ef)]&&_0x546b0a[_0x11e9e0(0x204)][_0x11e9e0(0x207)](this[_0x11e9e0(0x1e4)][_0x11e9e0(0x22d)][_0x11e9e0(0x1ef)]),_0x546b0a[_0x11e9e0(0x227)][_0x11e9e0(0x238)]=_0xf1b68,_0x546b0a[_0x11e9e0(0x227)][_0x11e9e0(0x237)]=_0x11e9e0(0x24b),_0x546b0a[_0x11e9e0(0x227)][_0x11e9e0(0x1eb)]=_0x11e9e0(0x213),_0x546b0a[_0x11e9e0(0x227)][_0x11e9e0(0x257)]=_0x11e9e0(0x213),_0x546b0a[_0x11e9e0(0x227)][_0x11e9e0(0x1dd)]='0',_0x546b0a[_0x11e9e0(0x227)][_0x11e9e0(0x263)]=_0x11e9e0(0x21a),_0x546b0a[_0x11e9e0(0x227)][_0x11e9e0(0x1f0)]='-1',_0x546b0a[_0x11e9e0(0x227)][_0x11e9e0(0x21b)]=_0x11e9e0(0x241),_0x546b0a[_0x11e9e0(0x227)][_0x11e9e0(0x1e8)]=_0x11e9e0(0x200),_0x546b0a[_0x11e9e0(0x227)][_0x11e9e0(0x1e9)]=_0x11e9e0(0x229);}[_0xac3581(0x226)](_0x5af4bf){const _0x1cbea3=_0xac3581;_0x5af4bf[_0x1cbea3(0x1ff)](({element:_0x29a3c9,originalDisplay:_0x490ae3,originalVisibility:_0x2c4161})=>{const _0x53f4b2=_0x1cbea3;_0x29a3c9[_0x53f4b2(0x227)][_0x53f4b2(0x1e8)]=_0x490ae3,_0x29a3c9[_0x53f4b2(0x227)][_0x53f4b2(0x21b)]=_0x2c4161;});}[_0xac3581(0x25c)](_0x1c67e4){const _0x353b44=_0xac3581,_0x4e9ae1=[];let _0x4e3a2d=_0x1c67e4;for(;_0x4e3a2d&&_0x4e3a2d!==document[_0x353b44(0x1d8)];){const _0x4e8d34=window[_0x353b44(0x245)](_0x4e3a2d);_0x353b44(0x21a)!==_0x4e8d34[_0x353b44(0x1e8)]&&_0x353b44(0x1fd)!==_0x4e8d34[_0x353b44(0x21b)]||(_0x4e9ae1[_0x353b44(0x23b)]({'element':_0x4e3a2d,'originalDisplay':_0x4e3a2d[_0x353b44(0x227)][_0x353b44(0x1e8)],'originalVisibility':_0x4e3a2d[_0x353b44(0x227)][_0x353b44(0x21b)]}),_0x4e3a2d[_0x353b44(0x227)][_0x353b44(0x1e8)]=_0x353b44(0x203),_0x4e3a2d[_0x353b44(0x227)][_0x353b44(0x21b)]=_0x353b44(0x249)),_0x4e3a2d=_0x4e3a2d[_0x353b44(0x1e5)];}return _0x4e9ae1;}[_0xac3581(0x23d)](){const _0x56b114=_0xac3581;let _0x389a51,_0x40c4e3;return this[_0x56b114(0x243)]?.[_0x56b114(0x230)]?(_0x389a51=this[_0x56b114(0x243)][_0x56b114(0x230)][_0x56b114(0x205)](!0x0),_0x40c4e3=this[_0x56b114(0x1da)](_0x389a51)):(_0x389a51=document[_0x56b114(0x1fa)](_0x56b114(0x251)),_0x40c4e3=_0x389a51),{'calculationContainer':_0x389a51,'targetContainer':_0x40c4e3};}[_0xac3581(0x20b)](){const _0x40eabc=_0xac3581,{calculationContainer:_0x72465a,targetContainer:_0x5e5af1}=this[_0x40eabc(0x23d)](),_0x227823=this[_0x40eabc(0x1d7)]();this[_0x40eabc(0x260)](_0x72465a,_0x227823);const _0x84360a=this[_0x40eabc(0x243)]?.[_0x40eabc(0x230)]||this[_0x40eabc(0x218)],_0x245038=_0x84360a?.[_0x40eabc(0x1e5)];_0x245038?_0x245038[_0x40eabc(0x1e1)](_0x72465a):document[_0x40eabc(0x1d8)][_0x40eabc(0x1e1)](_0x72465a),_0x72465a[_0x40eabc(0x1e6)]=_0x5e5af1;const _0x2c3705=this[_0x40eabc(0x25c)](_0x245038||null);return _0x72465a[_0x40eabc(0x20c)],_0x72465a[_0x40eabc(0x220)]=_0x2c3705,_0x72465a;}[_0xac3581(0x1ee)](_0x1d6aff,_0x1c617f){const _0x8aaae5=_0xac3581,_0x4a0cff=_0x1d6aff[_0x8aaae5(0x1e6)]||_0x1d6aff,_0x2b1762=[],{rowCount:_0x45cfe7}=this[_0x8aaae5(0x225)](_0x4a0cff,_0x1c617f);if(_0x45cfe7<=this[_0x8aaae5(0x1e4)][_0x8aaae5(0x214)])return _0x2b1762;const _0x4119ba=_0x1c617f[_0x8aaae5(0x1d9)]();for(;_0x4119ba[_0x8aaae5(0x1fc)]>0x0;){if(this[_0x8aaae5(0x24a)](_0x1d6aff,_0x4a0cff,_0x4119ba)){const _0x107063=_0x1c617f[_0x8aaae5(0x262)](_0xb6a7ee=>!_0x4119ba[_0x8aaae5(0x21e)](_0xb6a7ee));_0x2b1762[_0x8aaae5(0x23b)](..._0x107063);break;}if(!_0x4119ba[_0x8aaae5(0x1f4)]())break;}return _0x2b1762;}[_0xac3581(0x225)](_0x5bef24,_0x34c2b9){const _0x3f87ec=_0xac3581;_0x5bef24[_0x3f87ec(0x224)]='',_0x34c2b9[_0x3f87ec(0x1ff)](_0x196437=>{const _0x3718f3=_0x3f87ec;if(_0x196437[_0x3718f3(0x230)]){const _0x358001=_0x196437[_0x3718f3(0x230)][_0x3718f3(0x205)](!0x0);_0x5bef24[_0x3718f3(0x1e1)](_0x358001);}}),_0x5bef24[_0x3f87ec(0x20c)];const _0x31dc0a=_0x5bef24[_0x3f87ec(0x1f7)],_0x45bffe=[];return Array[_0x3f87ec(0x21f)](_0x31dc0a)[_0x3f87ec(0x1ff)](_0x3805e4=>{const _0x255516=_0x3f87ec,_0x2a7588=_0x3805e4[_0x255516(0x221)]()[_0x255516(0x1eb)];_0x45bffe[_0x255516(0x26a)](_0x45a1bc=>Math[_0x255516(0x22b)](_0x45a1bc-_0x2a7588)<this[_0x255516(0x1e4)][_0x255516(0x23a)])||_0x45bffe[_0x255516(0x23b)](_0x2a7588);}),{'rowCount':_0x45bffe[_0x3f87ec(0x1fc)]};}[_0xac3581(0x268)](){const _0x2e962e=_0xac3581,_0x3da1e9=document[_0x2e962e(0x1fa)](_0x2e962e(0x20f));return _0x3da1e9[_0x2e962e(0x240)]=this[_0x2e962e(0x1e4)][_0x2e962e(0x22d)][_0x2e962e(0x231)],this[_0x2e962e(0x1e4)][_0x2e962e(0x22d)][_0x2e962e(0x1f2)]&&_0x3da1e9[_0x2e962e(0x204)][_0x2e962e(0x207)](this[_0x2e962e(0x1e4)][_0x2e962e(0x22d)][_0x2e962e(0x1f2)]),_0x3da1e9[_0x2e962e(0x259)]=_0x2e962e(0x1f9),_0x3da1e9;}[_0xac3581(0x24a)](_0x1fd956,_0x1d7f08,_0x5875bb){const _0x38d28b=_0xac3581;this[_0x38d28b(0x225)](_0x1d7f08,_0x5875bb);const _0x5569c5=this[_0x38d28b(0x268)]();_0x1fd956[_0x38d28b(0x1e1)](_0x5569c5),_0x1fd956[_0x38d28b(0x20c)];const _0x683af2=[..._0x1d7f08[_0x38d28b(0x1f7)],_0x5569c5],_0x3587cf=[];_0x683af2[_0x38d28b(0x1ff)](_0x264c0c=>{const _0x176952=_0x38d28b,_0x1f90b9=_0x264c0c[_0x176952(0x221)]()[_0x176952(0x1eb)];_0x3587cf[_0x176952(0x26a)](_0x5734ae=>Math[_0x176952(0x22b)](_0x5734ae-_0x1f90b9)<this[_0x176952(0x1e4)][_0x176952(0x23a)])||_0x3587cf[_0x176952(0x23b)](_0x1f90b9);});const _0x389bc5=_0x3587cf[_0x38d28b(0x1fc)];return _0x5569c5[_0x38d28b(0x1fb)](),_0x389bc5<=this[_0x38d28b(0x1e4)][_0x38d28b(0x214)];}[_0xac3581(0x219)](_0x44b6b4,_0x536155){const _0xf3130e=_0xac3581;this[_0xf3130e(0x228)][_0xf3130e(0x216)](),this[_0xf3130e(0x212)][_0xf3130e(0x216)](),_0x44b6b4[_0xf3130e(0x1ff)](_0x21ed4e=>{const _0x8d9364=_0xf3130e;_0x536155[_0x8d9364(0x21e)](_0x21ed4e)?this[_0x8d9364(0x212)][_0x8d9364(0x207)](_0x21ed4e):this[_0x8d9364(0x228)][_0x8d9364(0x207)](_0x21ed4e);});}[_0xac3581(0x22e)](_0x4f3f1c){const _0x2f1f30=_0xac3581;if(_0x4f3f1c>0x0&&!this[_0x2f1f30(0x244)]&&this[_0x2f1f30(0x201)](),_0x4f3f1c>0x0&&this[_0x2f1f30(0x244)]){const _0x1ffa9c=''+this[_0x2f1f30(0x1e4)][_0x2f1f30(0x264)]+(_0x4f3f1c<0x63?_0x4f3f1c:'99');this[_0x2f1f30(0x244)][_0x2f1f30(0x1f6)]=_0x1ffa9c;}this[_0x2f1f30(0x21c)](),this[_0x2f1f30(0x250)](),this[_0x2f1f30(0x1ea)]();}[_0xac3581(0x24f)](_0x188828,_0x57a7e0){const _0x2fce94=_0xac3581;this[_0x2fce94(0x219)](_0x188828,_0x57a7e0),this[_0x2fce94(0x22e)](_0x57a7e0[_0x2fce94(0x1fc)]);}[_0xac3581(0x1e3)](){const _0x266365=_0xac3581;this[_0x266365(0x218)]&&_0x266365(0x1f1)!=typeof IntersectionObserver&&(this[_0x266365(0x23c)]=new IntersectionObserver(_0x53e15b=>{const _0x1bae1b=_0x266365;_0x53e15b[0x0][_0x1bae1b(0x215)]&&this[_0x1bae1b(0x23e)]&&requestAnimationFrame(()=>{const _0x4404b1=_0x1bae1b;this[_0x4404b1(0x210)]();});},{'threshold':0.01,'rootMargin':_0x266365(0x248)}),this[_0x266365(0x23c)][_0x266365(0x232)](this[_0x266365(0x218)]));}[_0xac3581(0x25e)](){const _0x19dd20=_0xac3581;if(!this[_0x19dd20(0x218)])return!0x1;if(!this[_0x19dd20(0x218)][_0x19dd20(0x22a)])return!0x1;const _0x558e2f=this[_0x19dd20(0x218)][_0x19dd20(0x221)]();if(0x0===_0x558e2f[_0x19dd20(0x238)]||0x0===_0x558e2f[_0x19dd20(0x25d)])return!0x1;const _0x4bd77b=window[_0x19dd20(0x223)]||document[_0x19dd20(0x265)][_0x19dd20(0x235)],_0x22533a=window[_0x19dd20(0x222)]||document[_0x19dd20(0x265)][_0x19dd20(0x217)],_0x5f3928=0xc8;return _0x558e2f[_0x19dd20(0x247)]>=-0xc8&&_0x558e2f[_0x19dd20(0x1eb)]<=_0x4bd77b+_0x5f3928&&_0x558e2f[_0x19dd20(0x254)]>=-0xc8&&_0x558e2f[_0x19dd20(0x257)]<=_0x22533a+_0x5f3928;}}
|
|
23
|
+
const _0xc36ce6=_0x50f8;(function(_0x40fe26,_0x32ec45){const _0x4a0ac9=_0x50f8,_0xda47d2=_0x40fe26();while(!![]){try{const _0x48fbea=parseInt(_0x4a0ac9(0x174))/0x1*(parseInt(_0x4a0ac9(0x105))/0x2)+-parseInt(_0x4a0ac9(0xeb))/0x3*(parseInt(_0x4a0ac9(0x182))/0x4)+parseInt(_0x4a0ac9(0x155))/0x5*(-parseInt(_0x4a0ac9(0x131))/0x6)+-parseInt(_0x4a0ac9(0x11d))/0x7*(-parseInt(_0x4a0ac9(0x164))/0x8)+-parseInt(_0x4a0ac9(0x175))/0x9*(-parseInt(_0x4a0ac9(0x10b))/0xa)+-parseInt(_0x4a0ac9(0xf1))/0xb*(-parseInt(_0x4a0ac9(0xf8))/0xc)+-parseInt(_0x4a0ac9(0x170))/0xd*(parseInt(_0x4a0ac9(0x16f))/0xe);if(_0x48fbea===_0x32ec45)break;else _0xda47d2['push'](_0xda47d2['shift']());}catch(_0x6b58ba){_0xda47d2['push'](_0xda47d2['shift']());}}}(_0x579a,0x6ee9a));import{View as _0x4857de,BalloonPanelView as _0x3ed472,ButtonView as _0x27fabf,clickOutsideHandler as _0x94199d}from'ckeditor5/src/ui.js';import{Collection as _0x148701}from'ckeditor5/src/utils.js';const hn={'maxVisibleRows':0x2,'rowDetectionTolerance':0x5,'showMoreLabelPrefix':'+\x20','viewportOffset':{'top':0x64,'bottom':0xa}},an=_0xc36ce6(0xfd);function _0x579a(){const _0x795b7f=['absolute','from','innerWidth','_repinBalloonPanel','position','_testButtonFit','getBoundingClientRect','block','7JNulCk','appendChild','body','_distributeChips','observe','_makeAncestorsVisible','_renderChipsAndCountRows','showMoreButton','_createMockButton','visibility','pointerEvents','zIndex','.ck-ai-chat','set','_ancestorsToRestore','length','_handleShowMoreButtonClick','_createContainerElements','_setupVisibilityObserver','render','375438GzYaHN','width','_updateBalloonContent','_updateShowMoreButtonVisibility','offsetWidth','cssClasses','reorganizeChips','div','some','_overflowChips','_isContainerVisible','filter','_findTargetContainer','setContainerElement','clientWidth','disconnect','_parentView','extendTemplate','none','top','0px','element','createElement','_applyCalculationStyles','className','_visibleChips','controlsButton','_showMoreBalloonPanelView','border-box','display','_config','left','boxSizing','show','button','isOn','40fHDoUi','hide','block\x20!important','overflowContainer','label','_createShowMoreButton','destroy','_pendingCalculation','right','push','_createShowMoreButtonView','showBalloonPanel','getComputedStyle','execute','rowDetectionTolerance','6590784ulhlFW','hidden','showMoreButtonView','overflowChips','add','isVisible','toLowerCase','children','isIntersecting','50px','forEach','490HLSOPp','282919SddKEP','cloneNode','pin','_bodyCollection','4SCuodL','153PhHeHl','_intersectionObserver','opacity','clientHeight','_createCalculationContainer','abs','_containerElement','_targetContainer','showMoreLabelPrefix','visible\x20!important','textContent','-9999px','_calculateOverflowInContainer','176npcsvV','54687YMvRNT','hideBalloonPanel','_updateOverflowUI','pop','ck-calculation-container','tagName','55TKUHqb','showMoreBalloon','bottom','setTemplate','_applyOverflowResults','_restoreAncestorVisibility','_createShowMoreBalloonPanelView','1388184RQFyoU','_showMoreButtonView','isConnected','slice','+\x201','300px','disableAnimationOnEnter','calculationContainer','undefined','_checkAndHandleOverflow','clear','innerHTML','parentElement','135268TeFUBg','content','_locale','includes','maxVisibleRows','classList','497570CIvteM','querySelector','_calculateContainerWidth','auto','height','visible','innerHeight','remove','style','documentElement'];_0x579a=function(){return _0x795b7f;};return _0x579a();}function _0x50f8(_0x3941ee,_0x41940b){const _0x579ad7=_0x579a();return _0x50f8=function(_0x50f8c6,_0x553633){_0x50f8c6=_0x50f8c6-0xeb;let _0x1e27c1=_0x579ad7[_0x50f8c6];return _0x1e27c1;},_0x50f8(_0x3941ee,_0x41940b);}export class AIChatChipsOverflowManager{[_0xc36ce6(0x107)];[_0xc36ce6(0x14f)];[_0xc36ce6(0x14a)];[_0xc36ce6(0x13a)];[_0xc36ce6(0xf9)]=null;[_0xc36ce6(0x14c)]=null;[_0xc36ce6(0x17b)]=null;[_0xc36ce6(0x173)];[_0xc36ce6(0x141)]=null;[_0xc36ce6(0x176)]=null;[_0xc36ce6(0x15c)]=!0x1;constructor(_0x249ce8,_0x4c6b86,_0x1eb8e3,_0x2754fe,_0xf2b734){const _0xce9ddb=_0xc36ce6;this[_0xce9ddb(0x107)]=_0x249ce8,this[_0xce9ddb(0x14a)]=_0x4c6b86,this[_0xce9ddb(0x14f)]={...hn,..._0x1eb8e3,'cssClasses':{'controlsButton':'','calculationContainer':_0xce9ddb(0xef),..._0x1eb8e3[_0xce9ddb(0x136)]}},this[_0xce9ddb(0x13a)]=new _0x148701(),this[_0xce9ddb(0x173)]=_0x2754fe,this[_0xce9ddb(0x141)]=_0xf2b734||null;}[_0xc36ce6(0x13e)](_0x2c2513){const _0x30111e=_0xc36ce6;this[_0x30111e(0x176)]&&(this[_0x30111e(0x176)][_0x30111e(0x140)](),this[_0x30111e(0x176)]=null),this[_0x30111e(0x17b)]=_0x2c2513,this[_0x30111e(0x12f)]();}get[_0xc36ce6(0x166)](){const _0x28652f=_0xc36ce6;return this[_0x28652f(0xf9)];}get[_0xc36ce6(0x167)](){const _0x9c7892=_0xc36ce6;return this[_0x9c7892(0x13a)];}[_0xc36ce6(0x137)](){requestAnimationFrame(()=>{const _0x229228=_0x50f8;this[_0x229228(0x101)]();});}[_0xc36ce6(0x160)](){const _0xf68efc=_0xc36ce6;this[_0xf68efc(0xf9)]&&this[_0xf68efc(0x14c)]&&(this[_0xf68efc(0x133)](),this[_0xf68efc(0xf9)][_0xf68efc(0x154)]=!0x0,this[_0xf68efc(0x14c)][_0xf68efc(0x152)](),this[_0xf68efc(0x14c)][_0xf68efc(0x172)]({'target':this[_0xf68efc(0xf9)][_0xf68efc(0x146)],'limiter':document[_0xf68efc(0x10c)](_0xf68efc(0x129))}));}[_0xc36ce6(0xec)](){const _0x5a71ee=_0xc36ce6;this[_0x5a71ee(0xf9)]&&this[_0x5a71ee(0x14c)]&&(this[_0x5a71ee(0xf9)][_0x5a71ee(0x154)]=!0x1,this[_0x5a71ee(0x14c)][_0x5a71ee(0x156)]());}[_0xc36ce6(0x102)](){const _0x37eb5=_0xc36ce6;this[_0x37eb5(0x13a)][_0x37eb5(0x102)](),this[_0x37eb5(0xec)](),this[_0x37eb5(0x134)](),this[_0x37eb5(0xf9)]&&(this[_0x37eb5(0xf9)][_0x37eb5(0x159)]=''),this[_0x37eb5(0x14c)]&&this[_0x37eb5(0x14c)][_0x37eb5(0x106)][_0x37eb5(0x102)]();}[_0xc36ce6(0x15b)](){const _0x51fdd0=_0xc36ce6;this[_0x51fdd0(0x176)]&&(this[_0x51fdd0(0x176)][_0x51fdd0(0x140)](),this[_0x51fdd0(0x176)]=null),this[_0x51fdd0(0xf9)]&&(this[_0x51fdd0(0xf9)][_0x51fdd0(0x15b)](),this[_0x51fdd0(0xf9)]=null),this[_0x51fdd0(0x14c)]&&(this[_0x51fdd0(0x14c)][_0x51fdd0(0x15b)](),this[_0x51fdd0(0x14c)]=null);}[_0xc36ce6(0x101)](){const _0x20ce65=_0xc36ce6;if(!this[_0x20ce65(0x17b)])return;if(!this[_0x20ce65(0x13b)]())return void(this[_0x20ce65(0x15c)]=!0x0);this[_0x20ce65(0x15c)]=!0x1;const _0x5729d8=[...this[_0x20ce65(0x14a)],...this[_0x20ce65(0x13a)]],_0x519a31=this[_0x20ce65(0x179)](),_0x264919=this[_0x20ce65(0x181)](_0x519a31,_0x5729d8),_0x58dbd5=_0x519a31[_0x20ce65(0x12b)];_0x58dbd5&&this[_0x20ce65(0xf6)](_0x58dbd5),_0x519a31[_0x20ce65(0x112)](),this[_0x20ce65(0xf5)](_0x5729d8,_0x264919);}[_0xc36ce6(0x15a)](){const _0x595d03=_0xc36ce6;this[_0x595d03(0xf9)]=this[_0x595d03(0x15f)](),this[_0x595d03(0x14c)]=this[_0x595d03(0xf7)](),this[_0x595d03(0xf9)][_0x595d03(0x130)](),this[_0x595d03(0x17b)][_0x595d03(0x11e)](this[_0x595d03(0xf9)][_0x595d03(0x146)]),this[_0x595d03(0xf9)]['on'](_0x595d03(0x162),()=>{const _0x3ae2ce=_0x595d03;this[_0x3ae2ce(0x12d)]();}),_0x94199d({'emitter':this[_0x595d03(0x14c)],'contextElements':[this[_0x595d03(0x14c)][_0x595d03(0x146)],this[_0x595d03(0xf9)][_0x595d03(0x146)]],'callback':()=>this[_0x595d03(0xec)](),'activator':()=>this[_0x595d03(0xf9)][_0x595d03(0x154)]});}[_0xc36ce6(0x15f)](){const _0x2ccf48=_0xc36ce6,_0xcf2f5f=new _0x27fabf(this[_0x2ccf48(0x107)]);_0xcf2f5f[_0x2ccf48(0x12a)]({'label':'','withText':!0x0,'isToggleable':!0x0});const _0x4b3f65=[this[_0x2ccf48(0x14f)][_0x2ccf48(0x136)][_0x2ccf48(0x124)]];return this[_0x2ccf48(0x14f)][_0x2ccf48(0x136)][_0x2ccf48(0x14b)]&&_0x4b3f65[_0x2ccf48(0x15e)](this[_0x2ccf48(0x14f)][_0x2ccf48(0x136)][_0x2ccf48(0x14b)]),_0xcf2f5f[_0x2ccf48(0x142)]({'attributes':{'class':_0x4b3f65}}),_0xcf2f5f;}[_0xc36ce6(0xf7)](){const _0x4cc470=_0xc36ce6,_0x54a2ea=new _0x3ed472(this[_0x4cc470(0x107)]);return _0x54a2ea[_0x4cc470(0x142)]({'attributes':{'class':this[_0x4cc470(0x14f)][_0x4cc470(0x136)][_0x4cc470(0xf2)]}}),this[_0x4cc470(0x173)][_0x4cc470(0x168)](_0x54a2ea),_0x54a2ea;}[_0xc36ce6(0x133)](){const _0x220305=_0xc36ce6;if(this[_0x220305(0x14c)]&&(this[_0x220305(0x14c)][_0x220305(0x106)][_0x220305(0x102)](),this[_0x220305(0x13a)][_0x220305(0x12c)]>0x0)){this[_0x220305(0x13a)][_0x220305(0x16e)](_0x71ffb3=>{const _0x140259=_0x220305;_0x71ffb3[_0x140259(0xfe)]();});const _0x11e4f6=new _0x4857de(this[_0x220305(0x107)]);_0x11e4f6[_0x220305(0xf4)]({'tag':_0x220305(0x138),'attributes':{'class':this[_0x220305(0x14f)][_0x220305(0x136)][_0x220305(0x158)]},'children':this[_0x220305(0x13a)]}),this[_0x220305(0x14c)][_0x220305(0x106)][_0x220305(0x168)](_0x11e4f6);}}[_0xc36ce6(0x12d)](){const _0x37b5be=_0xc36ce6;this[_0x37b5be(0xf9)][_0x37b5be(0x154)]?this[_0x37b5be(0xec)]():this[_0x37b5be(0x160)]();}[_0xc36ce6(0x134)](){const _0x107db1=_0xc36ce6,_0x4696d2=this[_0x107db1(0x13a)][_0x107db1(0x12c)]>0x0;this[_0x107db1(0xf9)]?.[_0x107db1(0x146)]&&(this[_0x107db1(0xf9)][_0x107db1(0x146)][_0x107db1(0x113)][_0x107db1(0x14e)]=_0x4696d2?'':_0x107db1(0x143));}[_0xc36ce6(0x118)](){const _0xaca2f1=_0xc36ce6;this[_0xaca2f1(0xf9)]?.[_0xaca2f1(0x154)]&&this[_0xaca2f1(0x14c)]?.[_0xaca2f1(0x169)]&&this[_0xaca2f1(0xf9)][_0xaca2f1(0x146)]&&this[_0xaca2f1(0x14c)][_0xaca2f1(0x172)]({'target':this[_0xaca2f1(0xf9)][_0xaca2f1(0x146)],'limiter':document[_0xaca2f1(0x10c)](_0xaca2f1(0x129))});}[_0xc36ce6(0x13d)](_0x33f8a2){const _0x51b98c=_0xc36ce6,_0x1afc82=this[_0x51b98c(0x17b)]?.[_0x51b98c(0xf0)][_0x51b98c(0x16a)]()||_0x51b98c(0x138),_0x48adb9=this[_0x51b98c(0x17b)]?.[_0x51b98c(0x10a)];if(_0x48adb9){const _0x9e53df=_0x48adb9[0x0]||'',_0xe74c20=_0x33f8a2[_0x51b98c(0x10c)]('.'+_0x9e53df),_0x76a35b=_0x33f8a2[_0x51b98c(0x10c)](_0x1afc82);return _0xe74c20||_0x76a35b||_0x33f8a2;}return _0x33f8a2[_0x51b98c(0x10c)](_0x1afc82)||_0x33f8a2;}[_0xc36ce6(0x10d)](){const _0x42df06=_0xc36ce6,_0x3404d1=this[_0x42df06(0x141)]?.[_0x42df06(0x146)]||this[_0x42df06(0x17b)];if(!_0x3404d1)return an;const _0x4cd7c0=window[_0x42df06(0x161)](_0x3404d1)[_0x42df06(0x132)];if(_0x42df06(0x10e)===_0x4cd7c0||_0x42df06(0x145)===_0x4cd7c0||!_0x4cd7c0){const _0x183d2b=_0x3404d1[_0x42df06(0x104)];if(_0x183d2b){const _0x3178ce=window[_0x42df06(0x161)](_0x183d2b);return _0x42df06(0x10e)!==_0x3178ce[_0x42df06(0x132)]?_0x3178ce[_0x42df06(0x132)]:an;}return an;}return _0x4cd7c0;}[_0xc36ce6(0x148)](_0x1837cd,_0x517d04){const _0x1272b7=_0xc36ce6;this[_0x1272b7(0x14f)][_0x1272b7(0x136)][_0x1272b7(0xff)]&&_0x1837cd[_0x1272b7(0x10a)][_0x1272b7(0x168)](this[_0x1272b7(0x14f)][_0x1272b7(0x136)][_0x1272b7(0xff)]),_0x1837cd[_0x1272b7(0x113)][_0x1272b7(0x132)]=_0x517d04,_0x1837cd[_0x1272b7(0x113)][_0x1272b7(0x119)]=_0x1272b7(0x115),_0x1837cd[_0x1272b7(0x113)][_0x1272b7(0x144)]=_0x1272b7(0x180),_0x1837cd[_0x1272b7(0x113)][_0x1272b7(0x150)]=_0x1272b7(0x180),_0x1837cd[_0x1272b7(0x113)][_0x1272b7(0x177)]='0',_0x1837cd[_0x1272b7(0x113)][_0x1272b7(0x127)]=_0x1272b7(0x143),_0x1837cd[_0x1272b7(0x113)][_0x1272b7(0x128)]='-1',_0x1837cd[_0x1272b7(0x113)][_0x1272b7(0x126)]=_0x1272b7(0x17e),_0x1837cd[_0x1272b7(0x113)][_0x1272b7(0x14e)]=_0x1272b7(0x157),_0x1837cd[_0x1272b7(0x113)][_0x1272b7(0x151)]=_0x1272b7(0x14d);}[_0xc36ce6(0xf6)](_0x317c0d){const _0x29f476=_0xc36ce6;_0x317c0d[_0x29f476(0x16e)](({element:_0x5f31c0,originalDisplay:_0x18b974,originalVisibility:_0x15542c})=>{const _0x19e789=_0x29f476;_0x5f31c0[_0x19e789(0x113)][_0x19e789(0x14e)]=_0x18b974,_0x5f31c0[_0x19e789(0x113)][_0x19e789(0x126)]=_0x15542c;});}[_0xc36ce6(0x122)](_0x550d64){const _0x4a1570=_0xc36ce6,_0x1e768e=[];let _0x2af71c=_0x550d64;for(;_0x2af71c&&_0x2af71c!==document[_0x4a1570(0x11f)];){const _0x27d28d=window[_0x4a1570(0x161)](_0x2af71c);_0x4a1570(0x143)!==_0x27d28d[_0x4a1570(0x14e)]&&_0x4a1570(0x165)!==_0x27d28d[_0x4a1570(0x126)]||(_0x1e768e[_0x4a1570(0x15e)]({'element':_0x2af71c,'originalDisplay':_0x2af71c[_0x4a1570(0x113)][_0x4a1570(0x14e)],'originalVisibility':_0x2af71c[_0x4a1570(0x113)][_0x4a1570(0x126)]}),_0x2af71c[_0x4a1570(0x113)][_0x4a1570(0x14e)]=_0x4a1570(0x11c),_0x2af71c[_0x4a1570(0x113)][_0x4a1570(0x126)]=_0x4a1570(0x110)),_0x2af71c=_0x2af71c[_0x4a1570(0x104)];}return _0x1e768e;}[_0xc36ce6(0x12e)](){const _0x37733a=_0xc36ce6;let _0x3ec7ba,_0x5aecd6;return this[_0x37733a(0x141)]?.[_0x37733a(0x146)]?(_0x3ec7ba=this[_0x37733a(0x141)][_0x37733a(0x146)][_0x37733a(0x171)](!0x0),_0x5aecd6=this[_0x37733a(0x13d)](_0x3ec7ba)):(_0x3ec7ba=document[_0x37733a(0x147)](_0x37733a(0x138)),_0x5aecd6=_0x3ec7ba),{'calculationContainer':_0x3ec7ba,'targetContainer':_0x5aecd6};}[_0xc36ce6(0x179)](){const _0x38928f=_0xc36ce6,{calculationContainer:_0x31c848,targetContainer:_0x26aed9}=this[_0x38928f(0x12e)](),_0x5d35d1=this[_0x38928f(0x10d)]();this[_0x38928f(0x148)](_0x31c848,_0x5d35d1);const _0x2fed23=this[_0x38928f(0x141)]?.[_0x38928f(0x146)]||this[_0x38928f(0x17b)],_0x38c276=_0x2fed23?.[_0x38928f(0x104)];_0x38c276?_0x38c276[_0x38928f(0x11e)](_0x31c848):document[_0x38928f(0x11f)][_0x38928f(0x11e)](_0x31c848),_0x31c848[_0x38928f(0x17c)]=_0x26aed9;const _0x7198c0=this[_0x38928f(0x122)](_0x38c276||null);return _0x31c848[_0x38928f(0x135)],_0x31c848[_0x38928f(0x12b)]=_0x7198c0,_0x31c848;}[_0xc36ce6(0x181)](_0x1185ef,_0x5535c1){const _0x5ebfd3=_0xc36ce6,_0x1b6e0a=_0x1185ef[_0x5ebfd3(0x17c)]||_0x1185ef,_0x5ed8c7=[],{rowCount:_0x2b15a0}=this[_0x5ebfd3(0x123)](_0x1b6e0a,_0x5535c1);if(_0x2b15a0<=this[_0x5ebfd3(0x14f)][_0x5ebfd3(0x109)])return _0x5ed8c7;const _0x7a1593=_0x5535c1[_0x5ebfd3(0xfb)]();for(;_0x7a1593[_0x5ebfd3(0x12c)]>0x0;){if(this[_0x5ebfd3(0x11a)](_0x1185ef,_0x1b6e0a,_0x7a1593)){const _0xd85dba=_0x5535c1[_0x5ebfd3(0x13c)](_0x203708=>!_0x7a1593[_0x5ebfd3(0x108)](_0x203708));_0x5ed8c7[_0x5ebfd3(0x15e)](..._0xd85dba);break;}if(!_0x7a1593[_0x5ebfd3(0xee)]())break;}return _0x5ed8c7;}[_0xc36ce6(0x123)](_0x2d16f6,_0x40819d){const _0x15eda9=_0xc36ce6;_0x2d16f6[_0x15eda9(0x103)]='',_0x40819d[_0x15eda9(0x16e)](_0x36682a=>{const _0x2ded66=_0x15eda9;if(_0x36682a[_0x2ded66(0x146)]){const _0x25b0e4=_0x36682a[_0x2ded66(0x146)][_0x2ded66(0x171)](!0x0);_0x2d16f6[_0x2ded66(0x11e)](_0x25b0e4);}}),_0x2d16f6[_0x15eda9(0x135)];const _0x1e606e=_0x2d16f6[_0x15eda9(0x16b)],_0x22f0ea=[];return Array[_0x15eda9(0x116)](_0x1e606e)[_0x15eda9(0x16e)](_0x186ed7=>{const _0x4ada1c=_0x15eda9,_0x23590a=_0x186ed7[_0x4ada1c(0x11b)]()[_0x4ada1c(0x144)];_0x22f0ea[_0x4ada1c(0x139)](_0x4842a9=>Math[_0x4ada1c(0x17a)](_0x4842a9-_0x23590a)<this[_0x4ada1c(0x14f)][_0x4ada1c(0x163)])||_0x22f0ea[_0x4ada1c(0x15e)](_0x23590a);}),{'rowCount':_0x22f0ea[_0x15eda9(0x12c)]};}[_0xc36ce6(0x125)](){const _0x16469e=_0xc36ce6,_0x475e34=document[_0x16469e(0x147)](_0x16469e(0x153));return _0x475e34[_0x16469e(0x149)]=this[_0x16469e(0x14f)][_0x16469e(0x136)][_0x16469e(0x124)],this[_0x16469e(0x14f)][_0x16469e(0x136)][_0x16469e(0x14b)]&&_0x475e34[_0x16469e(0x10a)][_0x16469e(0x168)](this[_0x16469e(0x14f)][_0x16469e(0x136)][_0x16469e(0x14b)]),_0x475e34[_0x16469e(0x17f)]=_0x16469e(0xfc),_0x475e34;}[_0xc36ce6(0x11a)](_0x31698a,_0x131f61,_0x3dfc83){const _0x2434ba=_0xc36ce6;this[_0x2434ba(0x123)](_0x131f61,_0x3dfc83);const _0x219b6d=this[_0x2434ba(0x125)]();_0x31698a[_0x2434ba(0x11e)](_0x219b6d),_0x31698a[_0x2434ba(0x135)];const _0xed4290=[..._0x131f61[_0x2434ba(0x16b)],_0x219b6d],_0x2a2c96=[];_0xed4290[_0x2434ba(0x16e)](_0x584f97=>{const _0x3bf3ae=_0x2434ba,_0x199d8e=_0x584f97[_0x3bf3ae(0x11b)]()[_0x3bf3ae(0x144)];_0x2a2c96[_0x3bf3ae(0x139)](_0x19637a=>Math[_0x3bf3ae(0x17a)](_0x19637a-_0x199d8e)<this[_0x3bf3ae(0x14f)][_0x3bf3ae(0x163)])||_0x2a2c96[_0x3bf3ae(0x15e)](_0x199d8e);});const _0x237ed0=_0x2a2c96[_0x2434ba(0x12c)];return _0x219b6d[_0x2434ba(0x112)](),_0x237ed0<=this[_0x2434ba(0x14f)][_0x2434ba(0x109)];}[_0xc36ce6(0x120)](_0x494697,_0x59f3f5){const _0xb743fa=_0xc36ce6;this[_0xb743fa(0x14a)][_0xb743fa(0x102)](),this[_0xb743fa(0x13a)][_0xb743fa(0x102)](),_0x494697[_0xb743fa(0x16e)](_0x213af2=>{const _0x5f2e1d=_0xb743fa;_0x59f3f5[_0x5f2e1d(0x108)](_0x213af2)?this[_0x5f2e1d(0x13a)][_0x5f2e1d(0x168)](_0x213af2):this[_0x5f2e1d(0x14a)][_0x5f2e1d(0x168)](_0x213af2);});}[_0xc36ce6(0xed)](_0x3758d9){const _0x556827=_0xc36ce6;if(_0x3758d9>0x0&&!this[_0x556827(0xf9)]&&this[_0x556827(0x15a)](),_0x3758d9>0x0&&this[_0x556827(0xf9)]){const _0x4f623e=''+this[_0x556827(0x14f)][_0x556827(0x17d)]+(_0x3758d9<0x63?_0x3758d9:'99');this[_0x556827(0xf9)][_0x556827(0x159)]=_0x4f623e;}this[_0x556827(0x133)](),this[_0x556827(0x134)](),this[_0x556827(0x118)]();}[_0xc36ce6(0xf5)](_0x205ac5,_0x472031){const _0x40535e=_0xc36ce6;this[_0x40535e(0x120)](_0x205ac5,_0x472031),this[_0x40535e(0xed)](_0x472031[_0x40535e(0x12c)]);}[_0xc36ce6(0x12f)](){const _0x49c94c=_0xc36ce6;this[_0x49c94c(0x17b)]&&_0x49c94c(0x100)!=typeof IntersectionObserver&&(this[_0x49c94c(0x176)]=new IntersectionObserver(_0x4c7f96=>{const _0x3a7727=_0x49c94c;_0x4c7f96[0x0][_0x3a7727(0x16c)]&&this[_0x3a7727(0x15c)]&&requestAnimationFrame(()=>{const _0x4153bb=_0x3a7727;this[_0x4153bb(0x101)]();});},{'threshold':0.01,'rootMargin':_0x49c94c(0x16d)}),this[_0x49c94c(0x176)][_0x49c94c(0x121)](this[_0x49c94c(0x17b)]));}[_0xc36ce6(0x13b)](){const _0x1f4436=_0xc36ce6;if(!this[_0x1f4436(0x17b)])return!0x1;if(!this[_0x1f4436(0x17b)][_0x1f4436(0xfa)])return!0x1;const _0x99a753=this[_0x1f4436(0x17b)][_0x1f4436(0x11b)]();if(0x0===_0x99a753[_0x1f4436(0x132)]||0x0===_0x99a753[_0x1f4436(0x10f)])return!0x1;const _0x2a8339=window[_0x1f4436(0x111)]||document[_0x1f4436(0x114)][_0x1f4436(0x178)],_0x57634c=window[_0x1f4436(0x117)]||document[_0x1f4436(0x114)][_0x1f4436(0x13f)],_0x5e3f0=0xc8;return _0x99a753[_0x1f4436(0xf3)]>=-0xc8&&_0x99a753[_0x1f4436(0x144)]<=_0x2a8339+_0x5e3f0&&_0x99a753[_0x1f4436(0x15d)]>=-0xc8&&_0x99a753[_0x1f4436(0x150)]<=_0x57634c+_0x5e3f0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x56de10=_0x23fa;(function(_0x2d31ec,_0x21f62d){const _0x26638d=_0x23fa,_0x25c840=_0x2d31ec();while(!![]){try{const _0x144d34=parseInt(_0x26638d(0x137))/0x1+-parseInt(_0x26638d(0x13f))/0x2*(parseInt(_0x26638d(0x13a))/0x3)+parseInt(_0x26638d(0x15a))/0x4*(parseInt(_0x26638d(0x150))/0x5)+-parseInt(_0x26638d(0x172))/0x6+parseInt(_0x26638d(0x14c))/0x7+parseInt(_0x26638d(0x14f))/0x8+parseInt(_0x26638d(0x15d))/0x9;if(_0x144d34===_0x21f62d)break;else _0x25c840['push'](_0x25c840['shift']());}catch(_0x5bcc2d){_0x25c840['push'](_0x25c840['shift']());}}}(_0x4f74,0x8f552));function _0x23fa(_0x1126bd,_0x5d453d){const _0x4f7489=_0x4f74();return _0x23fa=function(_0x23fab7,_0x10ee04){_0x23fab7=_0x23fab7-0x132;let _0x6ee990=_0x4f7489[_0x23fab7];return _0x6ee990;},_0x23fa(_0x1126bd,_0x5d453d);}import{ButtonView as _0x513604,IconView as _0x97a8c2}from'ckeditor5/src/ui.js';import{IconClose as _0xffecab,IconDocument as _0x1ce348,IconFileUpload as _0x14402a,IconLink as _0x32cb28,IconSelection as _0x2df0ac}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x330bc7}from'../../../aicore/utils/common-translations.js';import{AISpinnerView as _0x2ae246}from'../../../aicore/ui/aispinner.js';const xn={'file':_0x14402a,'document':_0x1ce348,'web-resource':_0x32cb28,'text':_0x14402a,'selection':_0x2df0ac,'mcp-tool-context':_0x1ce348},bn=_0x56de10(0x132),wn=_0x56de10(0x13c),Tn=_0x56de10(0x15e),En=_0x56de10(0x138),fn=_0x56de10(0x171),An=_0x56de10(0x148),Cn='n';export class AIChatContextItemButtonView extends _0x513604{constructor(_0xe3d099,_0x174861,_0x1ff861,_0xdba16d,_0x4e096d=!0x1){const _0x323812=_0x56de10;super(_0xe3d099),this[_0x323812(0x158)]=_0xdba16d,this[_0x323812(0x164)](_0x174861,_0x1ff861,_0x4e096d),this[_0x323812(0x154)]();}[_0x56de10(0x136)](){const _0x3fc48f=_0x56de10;super[_0x3fc48f(0x136)](),this[_0x3fc48f(0x158)]&&this[_0x3fc48f(0x151)]&&(this[_0x3fc48f(0x151)][_0x3fc48f(0x15f)][_0x3fc48f(0x165)](_0x3fc48f(0x16f)),this[_0x3fc48f(0x15c)](this[_0x3fc48f(0x151)],()=>{const _0x482148=_0x3fc48f;this[_0x482148(0x151)]&&this[_0x482148(0x151)][_0x482148(0x15f)][_0x482148(0x140)](_0x482148(0x16f));}));}[_0x56de10(0x163)](){const _0x26eb79=_0x56de10;this[_0x26eb79(0x158)]=!0x1,this[_0x26eb79(0x151)]&&this[_0x26eb79(0x151)][_0x26eb79(0x15f)][_0x26eb79(0x140)](_0x26eb79(0x16f));}[_0x56de10(0x164)](_0x496e88,_0x54f059,_0x47c98b){const _0x24f033=_0x56de10;this[_0x24f033(0x14e)](_0x24f033(0x143),_0x496e88[_0x24f033(0x143)]),this[_0x24f033(0x14e)](_0x24f033(0x169),!0x0),this[_0x24f033(0x14e)](_0x24f033(0x162),_0x496e88[_0x24f033(0x170)]),this[_0x24f033(0x14e)]('id',_0x496e88[_0x24f033(0x16b)]),this[_0x24f033(0x14e)](_0x24f033(0x13e),_0x54f059),this[_0x24f033(0x14e)](_0x24f033(0x146),_0x47c98b);}[_0x56de10(0x154)](){const _0x5f4578=_0x56de10,_0x17f61d=this[_0x5f4578(0x167)](),_0x34cbeb=this[_0x5f4578(0x157)](),_0x368022=this[_0x5f4578(0x14d)];this[_0x5f4578(0x134)]({'tag':_0x5f4578(0x141),'attributes':this[_0x5f4578(0x13d)](_0x368022),'children':this[_0x5f4578(0x142)](_0x17f61d,_0x34cbeb,_0x368022)});}[_0x56de10(0x13d)](_0x5693c5){const _0xf2cf34=_0x56de10;return{'class':[bn,_0x5693c5['if'](_0xf2cf34(0x162),Tn,_0x1bee59=>_0xf2cf34(0x152)==_0x1bee59),_0x5693c5['if'](_0xf2cf34(0x162),wn,_0x159afb=>_0xf2cf34(0x16e)==_0x159afb)],'data-cke-tooltip-text':_0x5693c5['to'](_0xf2cf34(0x143),In),'data-cke-tooltip-position':Cn,'data-cke-tooltip-class':An};}[_0x56de10(0x142)](_0xebd959,_0x3a4de0,_0x27b3e5){const _0xfe97b9=_0x56de10,_0x1a0f46=this[_0xfe97b9(0x161)](_0x27b3e5),_0x531f15=this[_0xfe97b9(0x160)]();return this[_0xfe97b9(0x13e)]?[_0xebd959,_0x1a0f46]:[_0xebd959,_0x531f15,_0x1a0f46,_0x3a4de0];}[_0x56de10(0x161)](_0x2697f2){const _0x499062=_0x56de10;return{'tag':_0x499062(0x135),'attributes':{'class':En},'children':[{'text':_0x2697f2['to'](_0x499062(0x143))}]};}[_0x56de10(0x157)](){const _0x1535e7=_0x56de10,_0x51f3e=new _0x513604(this[_0x1535e7(0x16a)]);return _0x51f3e[_0x1535e7(0x14e)]({'label':_0x330bc7(this[_0x1535e7(0x16a)],_0x1535e7(0x13b)),'icon':_0xffecab}),this[_0x1535e7(0x16c)](_0x51f3e),_0x51f3e;}[_0x56de10(0x16c)](_0x2aee79){const _0x10f4d9=_0x56de10;_0x2aee79['on'](_0x10f4d9(0x159),()=>{const _0x5574ce=_0x10f4d9;this[_0x5574ce(0x144)](_0x5574ce(0x133),this['id']);});}[_0x56de10(0x167)](){const _0x373e8e=_0x56de10,_0x53f333=this[_0x373e8e(0x14d)],_0x24b178=new _0x97a8c2();return _0x24b178[_0x373e8e(0x153)]=xn[this[_0x373e8e(0x162)]],_0x24b178[_0x373e8e(0x147)]({'attributes':{'class':[fn,_0x53f333['if'](_0x373e8e(0x146),_0x373e8e(0x14a),_0x11ede6=>_0x11ede6)]}}),_0x24b178;}[_0x56de10(0x15c)](_0x1cfc91,_0x3712a1){const _0x58a191=_0x56de10;if(!_0x1cfc91)return;const _0x4614bb=()=>{const _0x5d09b4=_0x23fa;_0x3712a1(),_0x1cfc91[_0x5d09b4(0x14b)](_0x5d09b4(0x149),_0x4614bb),_0x1cfc91[_0x5d09b4(0x14b)](_0x5d09b4(0x145),_0x4614bb);};_0x1cfc91[_0x58a191(0x16d)](_0x58a191(0x149),_0x4614bb),_0x1cfc91[_0x58a191(0x16d)](_0x58a191(0x145),_0x4614bb);}[_0x56de10(0x160)](){const _0x586bd0=_0x56de10,_0x4fe629=new _0x2ae246(_0x586bd0(0x155));return _0x4fe629[_0x586bd0(0x168)](_0x586bd0(0x15b))['to'](this,_0x586bd0(0x146),_0x4deb7f=>_0x4deb7f),_0x4fe629;}}function In(_0x25d836){const _0x54e639=_0x56de10;if(!_0x25d836)return _0x25d836;if(_0x25d836[_0x54e639(0x166)]<=0x78)return _0x25d836;const _0x1b02ec=_0x25d836[_0x54e639(0x139)](0x0,0x78),_0xe01c1c=_0x1b02ec[_0x54e639(0x156)]('\x20');return(_0xe01c1c>0x0?_0x1b02ec[_0x54e639(0x139)](0x0,_0xe01c1c):_0x1b02ec)+'…';}function _0x4f74(){const _0x195d6b=['_isAnimationOnEnterEnabled','execute','277584YVNKAK','isVisible','_handleAnimationEndOnce','3455478yvQKtU','ck-ai-chat-context-chip_document','classList','_createLoaderIcon','_createLabelElement','itemType','disableAnimationOnEnter','_initializeProperties','add','length','_createIconView','bind','tooltip','locale','uiId','_setupRemoveButtonEvent','addEventListener','selection','ck-ai-chat-context-chip_new-chip','type','ck-ai-chat-context-chip__type-icon','5652018nAIWbw','ck-ai-chat-context-chip','removeContextItemChip','setTemplate','span','render','443542gVpVfZ','ck-ai-chat-context-chip__label','slice','489HrJjgu','AI_CHAT_CONTEXT_REMOVE_FROM_CONTEXT','ck-ai-chat-context-chip_wide','_createTemplateAttributes','readonly','5666HJtbpG','remove','div','_createTemplateChildren','label','fire','webkitAnimationEnd','isLoading','extendTemplate','ck-ai-chat-context-controls__chip-tooltip','animationend','ck-hidden','removeEventListener','1975687KrskEZ','bindTemplate','set','1497496dcordk','50nneoks','element','document','content','_setupTemplate','small','lastIndexOf','_createRemoveButton'];_0x4f74=function(){return _0x195d6b;};return _0x4f74();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x1d2f(){const _0x5dd49f=['_createBackButton','focus','_focusables','destroy','submitUrl','ck-labeled-field-view_empty','clearError','focusTracker','isEnabled','confirmButton','input','execute','_setupKeystrokes','AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT','ck-button-icon','element','submit','errorText','fire','focusCycler','_isValidUrl','esc','1341oNWKfy','locale','826010MdqTsD','\x20ck-hidden','set','setError','createCollection','fieldView','AI_CHAT_CONTEXT_URL_PLACEHOLDER','keystrokes','trim','_createUrlInputField','clear','setTemplate','AI_CHAT_CONTEXT_URL_INVALID_ERROR','12dbSKBR','change:withBackButton','cancel','refreshBalloon','1cNmyuW','_updateConfirmButtonState','add','backButton','17106oQlLaC','length','428TNNHVa','_handleSubmit','children','listenTo','forEach','163298eVsfxw','_setupTemplate','render','ck-ai-chat-context-controls__url-form','getValue','327360rkUMla','2095961XZbBVP','AI_CHAT_CONTEXT_URL_ADD_URL','urlInputField','form','stop','AI_CHAT_CONTEXT_URL_LABEL','687335iwSQnC','ck-ai-chat-context-controls__url-input-section','ck-button-icon\x20ck-button-back','tab','value','div','_setupEventHandlers','withBackButton','shift+tab','_createConfirmButton','20390qEAwMy','AI_CHAT_CONTEXT_URL_EMPTY_ERROR','ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_context-url'];_0x1d2f=function(){return _0x5dd49f;};return _0x1d2f();}const _0x3c7c3c=_0x4774;function _0x4774(_0x416b8f,_0x3bdaca){const _0x1d2fcd=_0x1d2f();return _0x4774=function(_0x4774fe,_0xc4e539){_0x4774fe=_0x4774fe-0x9e;let _0xe824fd=_0x1d2fcd[_0x4774fe];return _0xe824fd;},_0x4774(_0x416b8f,_0x3bdaca);}(function(_0x2e0c27,_0x92a75c){const _0xc17770=_0x4774,_0x4f6129=_0x2e0c27();while(!![]){try{const _0x200234=parseInt(_0xc17770(0xbb))/0x1*(parseInt(_0xc17770(0xc6))/0x2)+parseInt(_0xc17770(0xbf))/0x3*(-parseInt(_0xc17770(0xc1))/0x4)+-parseInt(_0xc17770(0xaa))/0x5+-parseInt(_0xc17770(0xb7))/0x6*(-parseInt(_0xc17770(0xcc))/0x7)+parseInt(_0xc17770(0xcb))/0x8+parseInt(_0xc17770(0xa8))/0x9*(parseInt(_0xc17770(0xdc))/0xa)+parseInt(_0xc17770(0xd2))/0xb;if(_0x200234===_0x92a75c)break;else _0x4f6129['push'](_0x4f6129['shift']());}catch(_0x5a1158){_0x4f6129['push'](_0x4f6129['shift']());}}}(_0x1d2f,0x4c44b));import{FocusTracker as _0x46b314,KeystrokeHandler as _0x45d2e1}from'ckeditor5/src/utils.js';import{ButtonView as _0x8a2dad,FocusCycler as _0x1efe2b,LabeledFieldView as _0x2a1494,View as _0x4fa4ae,FormHeaderView as _0x18103a,createLabeledInputText as _0x41a4c1,submitHandler as _0x4539c8}from'ckeditor5/src/ui.js';import{IconCheck as _0x447b07,IconPreviousArrow as _0x16ef79}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x2024bb}from'../../../aicore/utils/common-translations.js';const oh=_0x3c7c3c(0xc9),ch=_0x3c7c3c(0xd3);export class AIChatContextPanelUrlInputView extends _0x4fa4ae{[_0x3c7c3c(0xe6)];[_0x3c7c3c(0xb1)];[_0x3c7c3c(0xe1)];[_0x3c7c3c(0xa5)];[_0x3c7c3c(0xce)];[_0x3c7c3c(0xbe)];[_0x3c7c3c(0xe8)];constructor(_0x369251){const _0x49dcbb=_0x3c7c3c;super(_0x369251),this[_0x49dcbb(0xe6)]=new _0x46b314(),this[_0x49dcbb(0xb1)]=new _0x45d2e1(),this[_0x49dcbb(0xbe)]=this[_0x49dcbb(0xdf)](),this[_0x49dcbb(0xce)]=this[_0x49dcbb(0xb3)](),this[_0x49dcbb(0xe8)]=this[_0x49dcbb(0xdb)](),this[_0x49dcbb(0xe1)]=this[_0x49dcbb(0xae)]([this[_0x49dcbb(0xbe)],this[_0x49dcbb(0xce)],this[_0x49dcbb(0xe8)]]),this[_0x49dcbb(0xa5)]=new _0x1efe2b({'focusables':this[_0x49dcbb(0xe1)],'focusTracker':this[_0x49dcbb(0xe6)],'keystrokeHandler':this[_0x49dcbb(0xb1)],'actions':{'focusPrevious':_0x49dcbb(0xda),'focusNext':_0x49dcbb(0xd5)}}),this[_0x49dcbb(0xac)](_0x49dcbb(0xd9),!0x0),this[_0x49dcbb(0xc7)](),this[_0x49dcbb(0xd8)](),this[_0x49dcbb(0x9e)]();}[_0x3c7c3c(0xc8)](){const _0x651885=_0x3c7c3c;super[_0x651885(0xc8)](),this[_0x651885(0xe1)][_0x651885(0xc5)](_0x168a3e=>{const _0x2cac77=_0x651885;this[_0x2cac77(0xe6)][_0x2cac77(0xbd)](_0x168a3e[_0x2cac77(0xa1)]),this[_0x2cac77(0xb1)][_0x2cac77(0xc4)](_0x168a3e[_0x2cac77(0xa1)]);}),_0x4539c8({'view':this}),this[_0x651885(0xe0)]();}[_0x3c7c3c(0xe2)](){const _0xaadda2=_0x3c7c3c;super[_0xaadda2(0xe2)](),this[_0xaadda2(0xe6)][_0xaadda2(0xe2)](),this[_0xaadda2(0xb1)][_0xaadda2(0xe2)]();}[_0x3c7c3c(0xe0)](){const _0x5c92bb=_0x3c7c3c;this[_0x5c92bb(0xce)][_0x5c92bb(0xe0)]();}[_0x3c7c3c(0xca)](){const _0x2f277e=_0x3c7c3c;return this[_0x2f277e(0xce)][_0x2f277e(0xaf)][_0x2f277e(0xa1)]?.[_0x2f277e(0xd6)]?.[_0x2f277e(0xb2)]()||'';}[_0x3c7c3c(0xb4)](){const _0x349ab5=_0x3c7c3c;this[_0x349ab5(0xce)][_0x349ab5(0xaf)][_0x349ab5(0xa1)][_0x349ab5(0xd6)]='',this[_0x349ab5(0xce)][_0x349ab5(0xa3)]=null,this[_0x349ab5(0xe8)][_0x349ab5(0xe7)]=!0x1;}[_0x3c7c3c(0xad)](_0x46966a){const _0x2f544c=_0x3c7c3c;this[_0x2f544c(0xce)][_0x2f544c(0xa3)]=_0x46966a,this[_0x2f544c(0xbc)](),this[_0x2f544c(0xa4)](_0x2f544c(0xba));}[_0x3c7c3c(0xe5)](){const _0x2613e6=_0x3c7c3c;this[_0x2613e6(0xce)][_0x2613e6(0xa3)]=null,this[_0x2613e6(0xbc)]();}[_0x3c7c3c(0xdf)](){const _0x16a7cd=_0x3c7c3c,_0x4a457b=new _0x8a2dad(this[_0x16a7cd(0xa9)]);return _0x4a457b[_0x16a7cd(0xac)]({'icon':_0x16ef79,'tooltip':_0x2024bb(this[_0x16a7cd(0xa9)],_0x16a7cd(0x9f)),'tooltipPosition':'n','class':[_0x16a7cd(0xd4)]}),this['on'](_0x16a7cd(0xb8),(_0x24037e,_0x21fe02,_0x14e756)=>{const _0x55768e=_0x16a7cd;_0x4a457b[_0x55768e(0xac)]({'class':[_0x55768e(0xd4)+(_0x14e756?'':_0x55768e(0xab))]});}),_0x4a457b;}[_0x3c7c3c(0xb3)](){const _0x442894=_0x3c7c3c,_0xbffc4e=new _0x2a1494(this[_0x442894(0xa9)],_0x41a4c1);return _0xbffc4e[_0x442894(0xac)]({'label':_0x2024bb(this[_0x442894(0xa9)],_0x442894(0xd1)),'class':_0x442894(0xe4)}),_0xbffc4e[_0x442894(0xaf)][_0x442894(0xac)]({'placeholder':_0x2024bb(this[_0x442894(0xa9)],_0x442894(0xb0))}),_0xbffc4e;}[_0x3c7c3c(0xdb)](){const _0x2b61e3=_0x3c7c3c,_0x3829e1=new _0x8a2dad(this[_0x2b61e3(0xa9)]);return _0x3829e1[_0x2b61e3(0xac)]({'icon':_0x447b07,'tooltip':_0x2024bb(this[_0x2b61e3(0xa9)],_0x2b61e3(0xcd)),'tooltipPosition':'n','class':_0x2b61e3(0xa0),'type':_0x2b61e3(0xa2),'isEnabled':!0x1}),_0x3829e1;}[_0x3c7c3c(0xc7)](){const _0xc6d9ea=_0x3c7c3c,_0x19cef3=new _0x18103a(this[_0xc6d9ea(0xa9)],{'label':_0x2024bb(this[_0xc6d9ea(0xa9)],_0xc6d9ea(0xcd)),'class':_0xc6d9ea(0xde)});_0x19cef3[_0xc6d9ea(0xc3)][_0xc6d9ea(0xbd)](this[_0xc6d9ea(0xbe)],0x0),this[_0xc6d9ea(0xb5)]({'tag':_0xc6d9ea(0xcf),'attributes':{'class':oh,'tabindex':'-1'},'children':[_0x19cef3,{'tag':_0xc6d9ea(0xd7),'attributes':{'class':ch},'children':[this[_0xc6d9ea(0xce)],this[_0xc6d9ea(0xe8)]]}]});}[_0x3c7c3c(0xd8)](){const _0x41d58d=_0x3c7c3c;this[_0x41d58d(0xbe)]['on'](_0x41d58d(0xea),()=>{const _0x496ff4=_0x41d58d;this[_0x496ff4(0xb4)](),this[_0x496ff4(0xa4)](_0x496ff4(0xb9));}),this[_0x41d58d(0xce)][_0x41d58d(0xaf)]['on'](_0x41d58d(0xe9),()=>{const _0x1b249b=_0x41d58d;this[_0x1b249b(0xe5)](),this[_0x1b249b(0xbc)](),this[_0x1b249b(0xa4)](_0x1b249b(0xba));}),this['on'](_0x41d58d(0xa2),_0x4b054f=>{const _0x5b7eb1=_0x41d58d;_0x4b054f[_0x5b7eb1(0xd0)](),this[_0x5b7eb1(0xc2)]();});}[_0x3c7c3c(0x9e)](){const _0x4876b1=_0x3c7c3c;this[_0x4876b1(0xb1)][_0x4876b1(0xac)](_0x4876b1(0xa7),(_0x340aa9,_0x4f9739)=>{const _0xf72678=_0x4876b1;this[_0xf72678(0xb4)](),this[_0xf72678(0xa4)](_0xf72678(0xb9)),_0x4f9739();});}[_0x3c7c3c(0xc2)](){const _0xe12aa1=_0x3c7c3c,_0x4a731e=this[_0xe12aa1(0xca)]()[_0xe12aa1(0xb2)]();_0x4a731e?this[_0xe12aa1(0xa6)](_0x4a731e)?(this[_0xe12aa1(0xe5)](),this[_0xe12aa1(0xa4)](_0xe12aa1(0xe3),_0x4a731e)):this[_0xe12aa1(0xad)](_0x2024bb(this[_0xe12aa1(0xa9)],_0xe12aa1(0xb6))):this[_0xe12aa1(0xad)](_0x2024bb(this[_0xe12aa1(0xa9)],_0xe12aa1(0xdd)));}[_0x3c7c3c(0xbc)](){const _0x1f642f=_0x3c7c3c,_0x3d450e=this[_0x1f642f(0xca)]()[_0x1f642f(0xb2)](),_0x43a950=!!this[_0x1f642f(0xce)][_0x1f642f(0xa3)];this[_0x1f642f(0xe8)][_0x1f642f(0xe7)]=_0x3d450e[_0x1f642f(0xc0)]>0x0&&!_0x43a950;}[_0x3c7c3c(0xa6)](_0x3546ba){try{return!!new URL(_0x3546ba);}catch{return!0x1;}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x3ad47c=_0x82c1;(function(_0x4d8496,_0x5d5165){const _0x5bf3b4=_0x82c1,_0x3dba48=_0x4d8496();while(!![]){try{const _0x203b2b=parseInt(_0x5bf3b4(0x14d))/0x1*(parseInt(_0x5bf3b4(0x13d))/0x2)+parseInt(_0x5bf3b4(0x1a0))/0x3*(-parseInt(_0x5bf3b4(0x19b))/0x4)+parseInt(_0x5bf3b4(0x19a))/0x5*(-parseInt(_0x5bf3b4(0x18d))/0x6)+-parseInt(_0x5bf3b4(0x126))/0x7*(-parseInt(_0x5bf3b4(0x171))/0x8)+-parseInt(_0x5bf3b4(0x182))/0x9+parseInt(_0x5bf3b4(0x136))/0xa*(parseInt(_0x5bf3b4(0x1be))/0xb)+-parseInt(_0x5bf3b4(0x197))/0xc*(parseInt(_0x5bf3b4(0x1bb))/0xd);if(_0x203b2b===_0x5d5165)break;else _0x3dba48['push'](_0x3dba48['shift']());}catch(_0x388f9a){_0x3dba48['push'](_0x3dba48['shift']());}}}(_0x2a28,0xa6ebe));import{BalloonPanelView as _0x3a327e,ButtonView as _0x184ffd,clickOutsideHandler as _0x32d63b,FileDialogButtonView as _0x1eda12,IconView as _0x1a7661,View as _0x33dec1}from'ckeditor5/src/ui.js';import{IconBrowseFiles as _0x2c4aa3,IconDocument as _0x6dbee9,IconDocumentOutline as _0x492c96,IconDropdownArrow as _0x37f0da,IconLink as _0x80dc86,IconPaperClip as _0xcf56f3}from'@ckeditor/ckeditor5-icons';import{AIChatContextItemButtonView as _0x2e79df}from'./aichatcontextitembuttonview.js';function _0x82c1(_0x1ff097,_0x30f29e){const _0x2a282d=_0x2a28();return _0x82c1=function(_0x82c143,_0x222b7d){_0x82c143=_0x82c143-0x126;let _0x4c40b8=_0x2a282d[_0x82c143];return _0x4c40b8;},_0x82c1(_0x1ff097,_0x30f29e);}import{AIChatContextPanelUrlInputView as _0x5ac8f6}from'./aichatcontextpanelurlinputview.js';import{AIChatChipsOverflowManager as _0x47ee21}from'./aichatchipsoverflowmanager.js';import{getTranslation as _0x22225c}from'../../../aicore/utils/common-translations.js';function _0x2a28(){const _0x5ec59a=['content','showUrlBalloonPanel','_setupTemplate','ck-ai-chat-context-controls__pending-contexts','_overflowManager','find','render','bind','document','children','isHidden','sources','__arrow','_toggleAddContextBalloon','11707659TZgvWC','add','_hasExactlyOneSource','icon','_createContextButton','isReadOnly','southArrowNorthEast','setAddContextOptions','ck-ai-chat-context-controls__balloon-button','source','ck-ai-chat-context-controls__add-context-button','2244804XMfDpG','body','_addContextBalloonPanelView','refreshBalloon','_createAddContextBalloonPanelView','updateResourceState','setConversationContext','label','_showSourceResourcesBalloon','_conversationContextsChips','64788chtWZO','isAnyResourceBalloonVisible','clear','5vvUkiY','4wXzHyd','_urlInputView','tooltip','ck-ai-chat-context-controls__add-context-balloon-panel','urls','992499WykUuL','executeCustomItemCallback','AI_CHAT_CONTEXT_FILE_LABEL','bodyCollection','northArrowSouth','ck-ai-chat-controls_context_show-more-button','AI_CHAT_CONTEXT_ADD_CONTEXT','addUrlToContext','_setupAddContextBalloonClickOutsideHandler','_setupAllBalloonClickOutsideHandlers','hide','ck-ai-chat-context-controls','_handleUrlSubmit','setTemplate','populateSourceResourceBalloon','element','ck-ai-chat-context-chips-wrapper-balloon','removeContextItemChip','customItem','ck-ai-chat-controls-button','_createResourcesBalloonView','ck-reset_all-excluded','ck-ai-chat','current','_setBalloonPanelContent','files','arrowView','208nRXNgP','addContextButtonView','northArrowSouthEast','265793oBMCgJ','_currentContextsChips','924XRiQvB','hideUrlBalloonPanel','hideAddContextBalloonPanel','remove','_addContextBalloonConfig','menuitem','fire','searchInputVisibleFrom','cancel','show','withBackButton','_createAddContextButtonView','_setupUrlBalloonClickOutsideHandler','_resourcesBalloonView','addContextItem','showSourceResourcesBalloon','430QVnZbU','_bindEventHandlers','closeSourceResourceBalloon','get','buttonView','createCollection','clearCurrentContextItems','1307422PeMrxG','overflowChips','isLoading','_removeContextFromCollection','div','AI_CHAT_CONTEXT_CURRENT_DOCUMENT','southArrowNorthWest','execute','locale','_createBaseBalloonPanel','closest','addFileToContext','set','_urlBalloonPanelView','setContextItemLoading','pin','1jSbrdj','northArrowSouthWest','_handleAddContextButtonClick','clearConversationContextItems','submitUrl','done','loadSourceResources','extendTemplate','length','type','addDocumentToContext','customItems','addResourceToContext','removeContextItem','isOn','destroy','_addUrlContent','_getLimiterElement','conversation','ck-ai-chat-context-controls__balloon-button-source','enabled','AI_CHAT_CONTEXT_URL_LABEL','reorganizeChips','isVisible','_setAddContextButtonEnabled','ck-ai-chat-context-controls__show-more-balloon-panel','_createBalloonButton','_createArrowView','isEnabled','_addContextToCollection','showAddContextBalloonPanel','_createUrlBalloonPanelView','focus','ck-ai-chat-context-controls__url-balloon-panel','setContainerElement','balloonView','65648tXUDQr','southArrowNorth','defaultPositions'];_0x2a28=function(){return _0x5ec59a;};return _0x2a28();}import{AIChatResourcesBalloonView as _0x53bff5}from'./resources/aichatresourcesballoonview.js';export const CONTEXT_PANEL_VIEW_EVENT_NAMES=[_0x3ad47c(0x157),_0x3ad47c(0x148),_0x3ad47c(0x1a7),_0x3ad47c(0x159),_0x3ad47c(0x15a),_0x3ad47c(0x153),_0x3ad47c(0x1a1)];const Uo=_0x3ad47c(0x1ab),Lo=_0x3ad47c(0x177),No=_0x3ad47c(0x19e),Mo=_0x3ad47c(0x18c),Ho=_0x3ad47c(0x16e),jo=_0x3ad47c(0x18a),Fo=_0x3ad47c(0x160),Xo=_0x3ad47c(0x1b3),Do=_0x3ad47c(0x1b0),$o=_0x3ad47c(0x1a5),Wo=_0x3ad47c(0x166),qo=_0x3ad47c(0x1b6),zo=[_0x3a327e[_0x3ad47c(0x173)][_0x3ad47c(0x14e)],_0x3a327e[_0x3ad47c(0x173)][_0x3ad47c(0x1a4)],_0x3a327e[_0x3ad47c(0x173)][_0x3ad47c(0x1bd)],_0x3a327e[_0x3ad47c(0x173)][_0x3ad47c(0x143)],_0x3a327e[_0x3ad47c(0x173)][_0x3ad47c(0x172)],_0x3a327e[_0x3ad47c(0x173)][_0x3ad47c(0x188)]];export class AIChatContextPanelView extends _0x33dec1{[_0x3ad47c(0x1bc)];[_0x3ad47c(0x1bf)]=this[_0x3ad47c(0x13b)]();[_0x3ad47c(0x196)]=this[_0x3ad47c(0x13b)]();[_0x3ad47c(0x178)];[_0x3ad47c(0x18f)];[_0x3ad47c(0x14a)];[_0x3ad47c(0x19c)];[_0x3ad47c(0x133)];[_0x3ad47c(0x12a)];[_0x3ad47c(0x184)]=!0x1;[_0x3ad47c(0x1a3)];constructor(_0x2cf449,_0x5b9408){const _0x239ee4=_0x3ad47c;super(_0x2cf449),this[_0x239ee4(0x1a3)]=_0x5b9408[_0x239ee4(0x1a3)],this[_0x239ee4(0x1bf)]=this[_0x239ee4(0x13b)](),this[_0x239ee4(0x196)]=this[_0x239ee4(0x13b)](),this[_0x239ee4(0x1bc)]=this[_0x239ee4(0x131)](_0x2cf449),this[_0x239ee4(0x18f)]=this[_0x239ee4(0x191)](_0x2cf449),this[_0x239ee4(0x14a)]=this[_0x239ee4(0x16c)](_0x2cf449),this[_0x239ee4(0x133)]=this[_0x239ee4(0x1b4)](_0x2cf449,_0x5b9408);const _0x11895d={'cssClasses':{'showMoreButton':$o,'showMoreBalloon':Wo,'overflowContainer':Do,'controlsButton':Xo}};this[_0x239ee4(0x178)]=new _0x47ee21(_0x2cf449,this[_0x239ee4(0x1bf)],_0x11895d,this[_0x239ee4(0x1a3)],this),this[_0x239ee4(0x12a)]={'buttonView':this[_0x239ee4(0x1bc)],'balloonView':this[_0x239ee4(0x18f)],'hideMethod':this[_0x239ee4(0x128)][_0x239ee4(0x17b)](this),'showMethod':this[_0x239ee4(0x16b)][_0x239ee4(0x17b)](this)},this[_0x239ee4(0x176)](),this[_0x239ee4(0x137)]();}[_0x3ad47c(0x17a)](){const _0x54f405=_0x3ad47c;super[_0x54f405(0x17a)](),this[_0x54f405(0x1a9)](),this[_0x54f405(0x178)][_0x54f405(0x16f)](this[_0x54f405(0x1af)]),this[_0x54f405(0x178)][_0x54f405(0x163)]();}[_0x3ad47c(0x15c)](){const _0x2f6361=_0x3ad47c;super[_0x2f6361(0x15c)](),this[_0x2f6361(0x178)][_0x2f6361(0x15c)](),this[_0x2f6361(0x133)][_0x2f6361(0x15c)]();}[_0x3ad47c(0x134)](_0x5631f0,_0x23b2a7){const _0xea291b=_0x3ad47c,_0x2b3544=this[_0xea291b(0x186)](_0x5631f0,_0xea291b(0x1b7),!0x0,_0x23b2a7);this[_0xea291b(0x16a)](_0x2b3544,this[_0xea291b(0x1bf)]),this[_0xea291b(0x178)][_0xea291b(0x163)]();}[_0x3ad47c(0x15a)](_0x3d2b40){const _0x138bcc=_0x3ad47c;this[_0x138bcc(0x140)](_0x3d2b40,this[_0x138bcc(0x1bf)]),this[_0x138bcc(0x140)](_0x3d2b40,this[_0x138bcc(0x178)][_0x138bcc(0x13e)]),this[_0x138bcc(0x178)][_0x138bcc(0x163)]();}[_0x3ad47c(0x14b)](_0x34e519,_0x8fdbd0){const _0x56583c=_0x3ad47c;let _0x16fb99=this[_0x56583c(0x1bf)][_0x56583c(0x179)](_0x558de9=>_0x558de9['id']===_0x34e519);_0x16fb99||(_0x16fb99=this[_0x56583c(0x178)][_0x56583c(0x13e)][_0x56583c(0x179)](_0x1c8450=>_0x1c8450['id']===_0x34e519)),_0x16fb99&&(_0x16fb99[_0x56583c(0x13f)]=_0x8fdbd0);}[_0x3ad47c(0x193)](_0x3a5ce6){const _0x2e902d=_0x3ad47c;this[_0x2e902d(0x196)][_0x2e902d(0x199)]();for(const _0x245229 of _0x3a5ce6){const _0x407501=this[_0x2e902d(0x186)](_0x245229,_0x2e902d(0x15f),!0x1,!0x1);this[_0x2e902d(0x16a)](_0x407501,this[_0x2e902d(0x196)]);}}[_0x3ad47c(0x13c)](){const _0x35b9e8=_0x3ad47c;this[_0x35b9e8(0x1bf)][_0x35b9e8(0x199)](),this[_0x35b9e8(0x178)][_0x35b9e8(0x199)]();}[_0x3ad47c(0x150)](){const _0x442fc0=_0x3ad47c;this[_0x442fc0(0x196)][_0x442fc0(0x199)]();}[_0x3ad47c(0x192)](_0x523764,_0xcc6244,_0x3c7706){const _0x2a9129=_0x3ad47c;this[_0x2a9129(0x133)][_0x2a9129(0x192)](_0x523764,_0xcc6244,_0x3c7706);}[_0x3ad47c(0x128)](){const _0x585632=_0x3ad47c;this[_0x585632(0x181)](!0x1);}[_0x3ad47c(0x16b)](){const _0x5b6290=_0x3ad47c;this[_0x5b6290(0x181)](!0x0);}[_0x3ad47c(0x127)](){const _0x1a30a1=_0x3ad47c;this[_0x1a30a1(0x14a)][_0x1a30a1(0x1aa)](),this[_0x1a30a1(0x1bc)][_0x1a30a1(0x15b)]=!0x1,this[_0x1a30a1(0x19c)]&&this[_0x1a30a1(0x19c)][_0x1a30a1(0x199)]();}[_0x3ad47c(0x175)](){const _0x15bcb3=_0x3ad47c;this[_0x15bcb3(0x14a)][_0x15bcb3(0x12f)](),this[_0x15bcb3(0x1bc)][_0x15bcb3(0x15b)]=!0x0;}[_0x3ad47c(0x195)]({source:_0x4826ab,withBackButton:_0x103f8d}){const _0xf982ff=_0x3ad47c;this[_0xf982ff(0x133)][_0xf982ff(0x135)]({'source':_0x4826ab,'withBackButton':_0x103f8d}),this[_0xf982ff(0x1bc)][_0xf982ff(0x15b)]=!0x0;}[_0x3ad47c(0x1ae)](_0x2fde9b,_0x30afed,_0xd35901,_0x4d8f0e){const _0xc81b7b=_0x3ad47c;this[_0xc81b7b(0x133)][_0xc81b7b(0x1ae)](_0x2fde9b,_0xd35901,_0x4d8f0e);}[_0x3ad47c(0x138)](_0x44669d){const _0x32760b=_0x3ad47c;this[_0x32760b(0x133)][_0x32760b(0x138)](_0x44669d),this[_0x32760b(0x1bc)][_0x32760b(0x15b)]=!0x1;}[_0x3ad47c(0x189)](_0x3aee12){const _0x596f3c=_0x3ad47c;this[_0x596f3c(0x1b8)](this[_0x596f3c(0x18f)],this[_0x596f3c(0x145)],_0x3aee12),this[_0x596f3c(0x165)](_0x3aee12);}[_0x3ad47c(0x165)](_0xb553b0){const _0x221893=_0x3ad47c,_0x23cce7=!_0xb553b0[_0x221893(0x17c)][_0x221893(0x17e)]&&_0xb553b0[_0x221893(0x17c)][_0x221893(0x161)],_0x205794=_0xb553b0[_0x221893(0x19f)][_0x221893(0x161)],_0x4441a4=_0xb553b0[_0x221893(0x1b9)][_0x221893(0x161)],_0x2741cc=_0xb553b0[_0x221893(0x17f)][_0x221893(0x155)]>0x0,_0x1bd782=_0xb553b0[_0x221893(0x158)]&&_0xb553b0[_0x221893(0x158)][_0x221893(0x155)]>0x0;this[_0x221893(0x1bc)][_0x221893(0x169)]=_0x23cce7||_0x205794||_0x4441a4||_0x2741cc||_0x1bd782;}[_0x3ad47c(0x176)](){const _0x114bd8=_0x3ad47c;this[_0x114bd8(0x1ad)]({'tag':_0x114bd8(0x141),'attributes':{'class':[Uo,_0x114bd8(0x1b5)]},'children':[{'tag':_0x114bd8(0x141),'attributes':{'class':Lo},'children':this[_0x114bd8(0x1bf)]}]});}[_0x3ad47c(0x137)](){const _0x1cef79=_0x3ad47c;this[_0x1cef79(0x1bc)]['on'](_0x1cef79(0x144),()=>{const _0x27be1a=_0x1cef79;this[_0x27be1a(0x14f)]();});}[_0x3ad47c(0x131)](_0x1fc4ec){const _0x568cbd=_0x3ad47c,_0x14dac1=new _0x184ffd(_0x1fc4ec);return _0x14dac1[_0x568cbd(0x149)]({'label':_0x22225c(_0x1fc4ec,_0x568cbd(0x1a6)),'class':Xo+'\x20'+Mo,'icon':_0xcf56f3,'isToggleable':!0x0,'tooltip':!0x0,'tooltipPosition':'sw'}),_0x14dac1;}[_0x3ad47c(0x191)](_0x568503){const _0x22466e=_0x3ad47c;return this[_0x22466e(0x146)](_0x568503,No);}[_0x3ad47c(0x16c)](_0x470d9d){const _0x4bd5a5=_0x3ad47c,_0x48ebb9=this[_0x4bd5a5(0x146)](_0x470d9d,Ho);return this[_0x4bd5a5(0x15d)](_0x48ebb9,_0x470d9d),_0x48ebb9;}[_0x3ad47c(0x1b4)](_0x4ccbf7,_0x258d60){const _0x1c4eb2=_0x3ad47c,_0x4298da={'searchInputVisibleFrom':_0x258d60[_0x1c4eb2(0x12d)],'onBackToContext':()=>{const _0x430475=_0x1c4eb2;this[_0x430475(0x16b)](),this[_0x430475(0x18f)][_0x430475(0x14c)]({'target':this[_0x430475(0x1bc)][_0x430475(0x1af)],'limiter':this[_0x430475(0x15e)](),'positions':zo});},'onResourceSelected':(_0x292461,_0xde1ef2)=>{const _0x1059b5=_0x1c4eb2;this[_0x1059b5(0x12c)](_0x1059b5(0x159),{'source':_0x292461,'resource':_0xde1ef2});},'onLoadSourceResources':_0x26b266=>{const _0x4c6918=_0x1c4eb2;this[_0x4c6918(0x12c)](_0x4c6918(0x153),_0x26b266);},'onBalloonClosed':()=>{const _0xa8fa2d=_0x1c4eb2;this[_0xa8fa2d(0x1bc)][_0xa8fa2d(0x15b)]=!0x1;},'getLimiterElement':()=>this[_0x1c4eb2(0x15e)](),'getTargetElement':()=>this[_0x1c4eb2(0x1bc)][_0x1c4eb2(0x1af)]};return new _0x53bff5(_0x4ccbf7,_0x258d60[_0x1c4eb2(0x1a3)],_0x4298da);}[_0x3ad47c(0x15e)](){const _0x27fed2=_0x3ad47c;return this[_0x27fed2(0x1af)]?.[_0x27fed2(0x147)]('.'+qo)||document[_0x27fed2(0x18e)];}[_0x3ad47c(0x146)](_0x21763f,_0x349ad1){const _0x131834=_0x3ad47c,_0x5e442d=new _0x3a327e(_0x21763f);return _0x5e442d[_0x131834(0x154)]({'attributes':{'class':_0x349ad1}}),this[_0x131834(0x1a3)][_0x131834(0x183)](_0x5e442d),_0x5e442d;}[_0x3ad47c(0x1b8)](_0xa4991f,_0x47d09a,_0x268a95){const _0x5715ad=_0x3ad47c;if(_0xa4991f[_0x5715ad(0x174)][_0x5715ad(0x199)](),!_0x268a95[_0x5715ad(0x17c)][_0x5715ad(0x17e)]&&_0x268a95[_0x5715ad(0x17c)][_0x5715ad(0x161)]){const _0x16575c=this[_0x5715ad(0x167)](_0x47d09a,{'label':_0x22225c(_0x47d09a,_0x5715ad(0x142)),'icon':_0x6dbee9});_0x16575c['on'](_0x5715ad(0x144),()=>{const _0x47f486=_0x5715ad;this[_0x47f486(0x12c)](_0x47f486(0x157)),this[_0x47f486(0x128)]();}),_0xa4991f[_0x5715ad(0x174)][_0x5715ad(0x183)](_0x16575c);}if(_0x268a95[_0x5715ad(0x19f)][_0x5715ad(0x161)]){const _0x34b40d=this[_0x5715ad(0x167)](_0x47d09a,{'label':_0x22225c(_0x47d09a,_0x5715ad(0x162)),'icon':_0x80dc86});_0x34b40d['on'](_0x5715ad(0x144),()=>{const _0x39908d=_0x5715ad;this[_0x39908d(0x128)](),this[_0x39908d(0x175)](),this[_0x39908d(0x14a)][_0x39908d(0x14c)]({'target':this[_0x39908d(0x1bc)][_0x39908d(0x1af)],'limiter':this[_0x39908d(0x15e)](),'positions':zo}),this[_0x39908d(0x19c)][_0x39908d(0x16d)]();}),_0xa4991f[_0x5715ad(0x174)][_0x5715ad(0x183)](_0x34b40d);}if(_0x268a95[_0x5715ad(0x1b9)][_0x5715ad(0x161)]){const _0x5d9403=new _0x1eda12(_0x47d09a);_0x5d9403[_0x5715ad(0x149)]({'label':_0x22225c(_0x47d09a,_0x5715ad(0x1a2)),'icon':_0x2c4aa3,'withText':!0x0,'tooltip':!0x0,'class':jo,'allowMultipleFiles':!0x0}),_0x5d9403['on'](_0x5715ad(0x144),()=>{const _0x2f4a38=_0x5715ad;this[_0x2f4a38(0x128)]();}),_0x5d9403['on'](_0x5715ad(0x152),(_0x24ba3e,_0x3e7c21)=>{const _0x51aaeb=_0x5715ad;this[_0x51aaeb(0x12c)](_0x51aaeb(0x148),_0x3e7c21);}),_0x5d9403[_0x5715ad(0x19d)]=!0x0,_0xa4991f[_0x5715ad(0x174)][_0x5715ad(0x183)](_0x5d9403);}for(const _0x377438 of _0x268a95[_0x5715ad(0x17f)]){const _0x589213=this[_0x5715ad(0x167)](_0x47d09a,{'label':_0x377438[_0x5715ad(0x194)],'icon':_0x377438[_0x5715ad(0x185)]||_0x492c96,'type':_0x5715ad(0x18b)});_0xa4991f[_0x5715ad(0x174)][_0x5715ad(0x183)](_0x589213),_0x589213['on'](_0x5715ad(0x144),()=>{const _0x46ab35=_0x5715ad;this[_0x46ab35(0x128)](),this[_0x46ab35(0x195)]({'source':_0x377438,'withBackButton':!this[_0x46ab35(0x184)]});});}for(const _0x2be41b of _0x268a95[_0x5715ad(0x158)]||[]){const _0x500c77=this[_0x5715ad(0x167)](_0x47d09a,{'label':_0x2be41b[_0x5715ad(0x194)],'icon':_0x2be41b[_0x5715ad(0x185)]||_0x492c96,'type':_0x5715ad(0x1b2)});_0xa4991f[_0x5715ad(0x174)][_0x5715ad(0x183)](_0x500c77),_0x500c77['on'](_0x5715ad(0x144),()=>{const _0x2846c2=_0x5715ad;this[_0x2846c2(0x128)](),this[_0x2846c2(0x12c)](_0x2846c2(0x1a1),_0x2be41b);});}this[_0x5715ad(0x184)]=0x1===_0xa4991f[_0x5715ad(0x174)][_0x5715ad(0x155)],this[_0x5715ad(0x19c)][_0x5715ad(0x130)]=!this[_0x5715ad(0x184)];}[_0x3ad47c(0x15d)](_0x447b03,_0x51a765){const _0x1c551b=_0x3ad47c;this[_0x1c551b(0x19c)]=new _0x5ac8f6(_0x51a765),this[_0x1c551b(0x19c)]['on'](_0x1c551b(0x151),(_0x301b27,_0x4584ff)=>{const _0x575c36=_0x1c551b;this[_0x575c36(0x1ac)](_0x4584ff);}),this[_0x1c551b(0x19c)]['on'](_0x1c551b(0x12e),()=>{const _0x4c6664=_0x1c551b;this[_0x4c6664(0x127)](),this[_0x4c6664(0x184)]||(this[_0x4c6664(0x16b)](),this[_0x4c6664(0x18f)][_0x4c6664(0x14c)]({'target':this[_0x4c6664(0x1bc)][_0x4c6664(0x1af)],'limiter':this[_0x4c6664(0x15e)](),'positions':zo}));}),this[_0x1c551b(0x19c)]['on'](_0x1c551b(0x190),()=>{const _0x2399b5=_0x1c551b;this[_0x2399b5(0x14a)][_0x2399b5(0x164)]&&this[_0x2399b5(0x14a)][_0x2399b5(0x14c)]({'target':this[_0x2399b5(0x1bc)][_0x2399b5(0x1af)],'limiter':this[_0x2399b5(0x15e)](),'positions':zo});}),_0x447b03[_0x1c551b(0x174)][_0x1c551b(0x183)](this[_0x1c551b(0x19c)]);}[_0x3ad47c(0x167)](_0x3bf98,_0x1a075e){const _0x28d3bc=_0x3ad47c,_0x169124=_0x28d3bc(0x18b)===_0x1a075e[_0x28d3bc(0x156)]?new SourcesBalloonButtonView(_0x3bf98):new _0x184ffd(_0x3bf98);return _0x169124[_0x28d3bc(0x149)]({'label':_0x1a075e[_0x28d3bc(0x194)],'icon':_0x1a075e[_0x28d3bc(0x185)],'withText':!0x0,'tooltip':!0x0,'tooltipPosition':'sw','class':jo}),_0x169124;}[_0x3ad47c(0x1a9)](){const _0x2cca0a=_0x3ad47c;this[_0x2cca0a(0x1a8)](),this[_0x2cca0a(0x132)]();}[_0x3ad47c(0x132)](){const _0x5cc180=_0x3ad47c;_0x32d63b({'emitter':this[_0x5cc180(0x14a)],'contextElements':[this[_0x5cc180(0x14a)][_0x5cc180(0x1af)]],'callback':()=>{const _0x47c907=_0x5cc180;this[_0x47c907(0x127)]();},'activator':()=>this[_0x5cc180(0x14a)][_0x5cc180(0x164)]});}[_0x3ad47c(0x181)](_0x466b52){const _0x1a838c=_0x3ad47c,_0x576042=this[_0x1a838c(0x12a)];_0x576042[_0x1a838c(0x13a)][_0x1a838c(0x15b)]=_0x466b52,_0x466b52?_0x576042[_0x1a838c(0x170)][_0x1a838c(0x12f)]():_0x576042[_0x1a838c(0x170)][_0x1a838c(0x1aa)]();}[_0x3ad47c(0x1a8)](){const _0x1bb231=_0x3ad47c,{balloonView:_0x2291d5,buttonView:_0x54d4a5,hideMethod:_0x5abb86}=this[_0x1bb231(0x12a)];_0x32d63b({'emitter':_0x2291d5,'contextElements':[_0x2291d5[_0x1bb231(0x1af)],_0x54d4a5[_0x1bb231(0x1af)]],'callback':()=>{_0x5abb86();},'activator':()=>_0x54d4a5[_0x1bb231(0x15b)]&&!this[_0x1bb231(0x14a)][_0x1bb231(0x164)]&&!this[_0x1bb231(0x133)][_0x1bb231(0x198)]()});}[_0x3ad47c(0x186)](_0xefea85,_0x1a59a7,_0x106a2b=!0x1,_0x5f56fd=!0x1){const _0x13927e=_0x3ad47c,_0x3166ce=_0x13927e(0x15f)===_0x1a59a7||!0x0===_0xefea85[_0x13927e(0x187)],_0x4faca6=new _0x2e79df(this[_0x13927e(0x145)],_0xefea85,_0x3166ce,_0x106a2b,_0x5f56fd);return _0x3166ce||_0x4faca6['on'](_0x13927e(0x1b1),()=>{const _0x145473=_0x13927e;this[_0x145473(0x12c)](_0x145473(0x15a),_0x4faca6['id']);}),_0x4faca6;}[_0x3ad47c(0x16a)](_0x39a1ba,_0x474302){const _0x98d184=_0x3ad47c;_0x474302[_0x98d184(0x183)](_0x39a1ba,0x0);}[_0x3ad47c(0x140)](_0x3c780a,_0x42d5a7){const _0x2d4b24=_0x3ad47c,_0x4d68d1=_0x42d5a7[_0x2d4b24(0x179)](_0x5d342d=>_0x5d342d['id']===_0x3c780a);_0x4d68d1&&_0x42d5a7[_0x2d4b24(0x129)](_0x4d68d1);}[_0x3ad47c(0x14f)](){const _0x4a3cb4=_0x3ad47c;this[_0x4a3cb4(0x1bc)][_0x4a3cb4(0x15b)]?this[_0x4a3cb4(0x128)]():(this[_0x4a3cb4(0x16b)](),this[_0x4a3cb4(0x18f)][_0x4a3cb4(0x14c)]({'target':this[_0x4a3cb4(0x1bc)][_0x4a3cb4(0x1af)],'limiter':this[_0x4a3cb4(0x15e)](),'positions':zo}),this[_0x4a3cb4(0x184)]&&this[_0x4a3cb4(0x18f)][_0x4a3cb4(0x174)][_0x4a3cb4(0x139)](0x0)?.[_0x4a3cb4(0x12c)](_0x4a3cb4(0x144)));}[_0x3ad47c(0x1ac)](_0x45c73f){const _0x5c1a03=_0x3ad47c;this[_0x5c1a03(0x19c)][_0x5c1a03(0x199)](),this[_0x5c1a03(0x127)](),this[_0x5c1a03(0x12c)](_0x5c1a03(0x1a7),_0x45c73f);}}export class SourcesBalloonButtonView extends _0x184ffd{[_0x3ad47c(0x1ba)];constructor(_0x3157eb){const _0x146d93=_0x3ad47c;super(_0x3157eb),this[_0x146d93(0x149)]({'withText':!0x0,'role':_0x146d93(0x12b)}),this[_0x146d93(0x1ba)]=this[_0x146d93(0x168)](),this[_0x146d93(0x154)]({'attributes':{'class':[Fo]}});}[_0x3ad47c(0x17a)](){const _0x47fc49=_0x3ad47c;super[_0x47fc49(0x17a)](),this[_0x47fc49(0x17d)][_0x47fc49(0x183)](this[_0x47fc49(0x1ba)]);}[_0x3ad47c(0x168)](){const _0xc95413=_0x3ad47c,_0x494b5a=new _0x1a7661();return _0x494b5a[_0xc95413(0x174)]=_0x37f0da,_0x494b5a[_0xc95413(0x154)]({'attributes':{'class':Fo+_0xc95413(0x180)}}),_0x494b5a;}}
|
|
23
|
+
const _0x217c82=_0x3c64;(function(_0x584a02,_0xdb7014){const _0x433660=_0x3c64,_0x2e83a9=_0x584a02();while(!![]){try{const _0x463c6f=-parseInt(_0x433660(0x236))/0x1*(-parseInt(_0x433660(0x1e7))/0x2)+parseInt(_0x433660(0x256))/0x3+parseInt(_0x433660(0x24b))/0x4*(-parseInt(_0x433660(0x216))/0x5)+parseInt(_0x433660(0x266))/0x6+-parseInt(_0x433660(0x23a))/0x7+-parseInt(_0x433660(0x237))/0x8+-parseInt(_0x433660(0x220))/0x9*(parseInt(_0x433660(0x26c))/0xa);if(_0x463c6f===_0xdb7014)break;else _0x2e83a9['push'](_0x2e83a9['shift']());}catch(_0x5c961d){_0x2e83a9['push'](_0x2e83a9['shift']());}}}(_0x1569,0x4c299));function _0x1569(){const _0x18ead8=['extendTemplate','addResourceToContext','loadSourceResources','southArrowNorthEast','destroy','2918988tncgmt','closest','cancel','length','_handleUrlSubmit','clearConversationContextItems','800yizDmH','label','get','remove','addFileToContext','setConversationContext','southArrowNorthWest','overflowChips','children','createCollection','balloonView','northArrowSouthWest','setContainerElement','hideAddContextBalloonPanel','ck-ai-chat-controls-button','_setupAllBalloonClickOutsideHandlers','_createUrlBalloonPanelView','ck-ai-chat-context-controls__url-balloon-panel','65874iHnwWT','defaultPositions','_getLimiterElement','closeSourceResourceBalloon','addContextItem','_addContextBalloonConfig','AI_CHAT_CONTEXT_CURRENT_DOCUMENT','_urlBalloonPanelView','_overflowManager','ck-ai-chat-controls_context_show-more-button','_createContextButton','focus','isEnabled','__arrow','_createBaseBalloonPanel','northArrowSouthEast','_showSourceResourcesBalloon','populateSourceResourceBalloon','addContextButtonView','isVisible','ck-ai-chat','_conversationContextsChips','_createArrowView','addUrlToContext','locale','_setupAddContextBalloonClickOutsideHandler','ck-ai-chat-context-controls__add-context-button','div','render','withBackButton','_setupUrlBalloonClickOutsideHandler','files','done','pin','customItems','_createAddContextButtonView','AI_CHAT_CONTEXT_ADD_CONTEXT','removeContextItem','isAnyResourceBalloonVisible','hide','_currentContextsChips','showAddContextBalloonPanel','_setupTemplate','ck-ai-chat-context-chips-wrapper-balloon','type','isOn','icon','1958545likEOV','hideUrlBalloonPanel','ck-ai-chat-context-controls__balloon-button-source','_resourcesBalloonView','_hasExactlyOneSource','_addContextBalloonPanelView','_createAddContextBalloonPanelView','execute','bind','AI_CHAT_CONTEXT_URL_LABEL','35901cYzMPS','find','menuitem','body','_urlInputView','current','removeContextItemChip','_handleAddContextButtonClick','reorganizeChips','ck-ai-chat-context-controls','southArrowNorth','refreshBalloon','set','bodyCollection','_toggleAddContextBalloon','_createBalloonButton','addDocumentToContext','document','customItem','submitUrl','_addUrlContent','setTemplate','17BOfUSu','1252304TEDURq','sources','source','1475201AyxMqw','isReadOnly','conversation','urls','isLoading','updateResourceState','content','showUrlBalloonPanel','northArrowSouth','_bindEventHandlers','executeCustomItemCallback','_setAddContextButtonEnabled','_addContextToCollection','clear','showSourceResourcesBalloon','searchInputVisibleFrom','add','4cbAaVh','_setBalloonPanelContent','_removeContextFromCollection','setContextItemLoading','ck-ai-chat-context-controls__balloon-button','isHidden','fire','arrowView','buttonView','clearCurrentContextItems','setAddContextOptions','1030932cmCiUb','enabled','show','element','ck-reset_all-excluded','tooltip','_createResourcesBalloonView','ck-ai-chat-context-controls__show-more-balloon-panel','ck-ai-chat-context-controls__pending-contexts','ck-ai-chat-context-controls__add-context-balloon-panel','AI_CHAT_CONTEXT_FILE_LABEL'];_0x1569=function(){return _0x18ead8;};return _0x1569();}function _0x3c64(_0x5e4452,_0x25dba8){const _0x1569ee=_0x1569();return _0x3c64=function(_0x3c6407,_0x46fcd6){_0x3c6407=_0x3c6407-0x1e6;let _0x321747=_0x1569ee[_0x3c6407];return _0x321747;},_0x3c64(_0x5e4452,_0x25dba8);}import{BalloonPanelView as _0x36b04d,ButtonView as _0x4e50af,clickOutsideHandler as _0xc03999,FileDialogButtonView as _0x4ac669,IconView as _0x47381a,View as _0x155e76}from'ckeditor5/src/ui.js';import{IconBrowseFiles as _0x2a0d0e,IconDocument as _0x54248c,IconDocumentOutline as _0x446af9,IconDropdownArrow as _0x3f18fa,IconLink as _0x4de35c,IconPaperClip as _0x2d100c}from'@ckeditor/ckeditor5-icons';import{AIChatContextItemButtonView as _0x4f11f6}from'./aichatcontextitembuttonview.js';import{AIChatContextPanelUrlInputView as _0x532c2e}from'./aichatcontextpanelurlinputview.js';import{AIChatChipsOverflowManager as _0x4a18be}from'./aichatchipsoverflowmanager.js';import{getTranslation as _0x20dcc2}from'../../../aicore/utils/common-translations.js';import{AIChatResourcesBalloonView as _0x5b73cc}from'./resources/aichatresourcesballoonview.js';export const CONTEXT_PANEL_VIEW_EVENT_NAMES=[_0x217c82(0x230),_0x217c82(0x270),_0x217c82(0x1fe),_0x217c82(0x262),_0x217c82(0x20c),_0x217c82(0x263),_0x217c82(0x244)];const Oo=_0x217c82(0x229),Uo=_0x217c82(0x25e),Lo=_0x217c82(0x25f),No=_0x217c82(0x201),Mo=_0x217c82(0x1e6),Ho=_0x217c82(0x24f),jo=_0x217c82(0x218),Fo=_0x217c82(0x27a),Xo=_0x217c82(0x212),Do=_0x217c82(0x1f0),$o=_0x217c82(0x25d),Wo=_0x217c82(0x1fb),qo=[_0x36b04d[_0x217c82(0x1e8)][_0x217c82(0x277)],_0x36b04d[_0x217c82(0x1e8)][_0x217c82(0x242)],_0x36b04d[_0x217c82(0x1e8)][_0x217c82(0x1f6)],_0x36b04d[_0x217c82(0x1e8)][_0x217c82(0x272)],_0x36b04d[_0x217c82(0x1e8)][_0x217c82(0x22a)],_0x36b04d[_0x217c82(0x1e8)][_0x217c82(0x264)]];export class AIChatContextPanelView extends _0x155e76{[_0x217c82(0x1f9)];[_0x217c82(0x20f)]=this[_0x217c82(0x275)]();[_0x217c82(0x1fc)]=this[_0x217c82(0x275)]();[_0x217c82(0x1ef)];[_0x217c82(0x21b)];[_0x217c82(0x1ee)];[_0x217c82(0x224)];[_0x217c82(0x219)];[_0x217c82(0x1ec)];[_0x217c82(0x21a)]=!0x1;[_0x217c82(0x22d)];constructor(_0x1d0299,_0x536a2a){const _0x4539ab=_0x217c82;super(_0x1d0299),this[_0x4539ab(0x22d)]=_0x536a2a[_0x4539ab(0x22d)],this[_0x4539ab(0x20f)]=this[_0x4539ab(0x275)](),this[_0x4539ab(0x1fc)]=this[_0x4539ab(0x275)](),this[_0x4539ab(0x1f9)]=this[_0x4539ab(0x20a)](_0x1d0299),this[_0x4539ab(0x21b)]=this[_0x4539ab(0x21c)](_0x1d0299),this[_0x4539ab(0x1ee)]=this[_0x4539ab(0x27c)](_0x1d0299),this[_0x4539ab(0x219)]=this[_0x4539ab(0x25c)](_0x1d0299,_0x536a2a);const _0x298bbd={'cssClasses':{'showMoreButton':Do,'showMoreBalloon':$o,'overflowContainer':Xo,'controlsButton':Fo}};this[_0x4539ab(0x1ef)]=new _0x4a18be(_0x1d0299,this[_0x4539ab(0x20f)],_0x298bbd,this[_0x4539ab(0x22d)],this),this[_0x4539ab(0x1ec)]={'buttonView':this[_0x4539ab(0x1f9)],'balloonView':this[_0x4539ab(0x21b)],'hideMethod':this[_0x4539ab(0x279)][_0x4539ab(0x21e)](this),'showMethod':this[_0x4539ab(0x210)][_0x4539ab(0x21e)](this)},this[_0x4539ab(0x211)](),this[_0x4539ab(0x243)]();}[_0x217c82(0x203)](){const _0x1499d4=_0x217c82;super[_0x1499d4(0x203)](),this[_0x1499d4(0x27b)](),this[_0x1499d4(0x1ef)][_0x1499d4(0x278)](this[_0x1499d4(0x259)]),this[_0x1499d4(0x1ef)][_0x1499d4(0x228)]();}[_0x217c82(0x265)](){const _0x391c59=_0x217c82;super[_0x391c59(0x265)](),this[_0x391c59(0x1ef)][_0x391c59(0x265)](),this[_0x391c59(0x219)][_0x391c59(0x265)]();}[_0x217c82(0x1eb)](_0x561043,_0x4b6250){const _0x3866fc=_0x217c82,_0x1ec36f=this[_0x3866fc(0x1f1)](_0x561043,_0x3866fc(0x225),!0x0,_0x4b6250);this[_0x3866fc(0x246)](_0x1ec36f,this[_0x3866fc(0x20f)]),this[_0x3866fc(0x1ef)][_0x3866fc(0x228)]();}[_0x217c82(0x20c)](_0x274f6b){const _0x3b95c6=_0x217c82;this[_0x3b95c6(0x24d)](_0x274f6b,this[_0x3b95c6(0x20f)]),this[_0x3b95c6(0x24d)](_0x274f6b,this[_0x3b95c6(0x1ef)][_0x3b95c6(0x273)]),this[_0x3b95c6(0x1ef)][_0x3b95c6(0x228)]();}[_0x217c82(0x24e)](_0x12ca48,_0x2805cf){const _0x448bc5=_0x217c82;let _0x2bf6e9=this[_0x448bc5(0x20f)][_0x448bc5(0x221)](_0x3a45e7=>_0x3a45e7['id']===_0x12ca48);_0x2bf6e9||(_0x2bf6e9=this[_0x448bc5(0x1ef)][_0x448bc5(0x273)][_0x448bc5(0x221)](_0x2a01be=>_0x2a01be['id']===_0x12ca48)),_0x2bf6e9&&(_0x2bf6e9[_0x448bc5(0x23e)]=_0x2805cf);}[_0x217c82(0x271)](_0x313556){const _0x32c6bf=_0x217c82;this[_0x32c6bf(0x1fc)][_0x32c6bf(0x247)]();for(const _0x425027 of _0x313556){const _0x45408c=this[_0x32c6bf(0x1f1)](_0x425027,_0x32c6bf(0x23c),!0x1,!0x1);this[_0x32c6bf(0x246)](_0x45408c,this[_0x32c6bf(0x1fc)]);}}[_0x217c82(0x254)](){const _0x85334d=_0x217c82;this[_0x85334d(0x20f)][_0x85334d(0x247)](),this[_0x85334d(0x1ef)][_0x85334d(0x247)]();}[_0x217c82(0x26b)](){const _0x42c4e3=_0x217c82;this[_0x42c4e3(0x1fc)][_0x42c4e3(0x247)]();}[_0x217c82(0x23f)](_0x4bc5d5,_0x4f828a,_0x5e0bc0){const _0x475e7b=_0x217c82;this[_0x475e7b(0x219)][_0x475e7b(0x23f)](_0x4bc5d5,_0x4f828a,_0x5e0bc0);}[_0x217c82(0x279)](){const _0x543acd=_0x217c82;this[_0x543acd(0x22e)](!0x1);}[_0x217c82(0x210)](){const _0x33043d=_0x217c82;this[_0x33043d(0x22e)](!0x0);}[_0x217c82(0x217)](){const _0x16f7f9=_0x217c82;this[_0x16f7f9(0x1ee)][_0x16f7f9(0x20e)](),this[_0x16f7f9(0x1f9)][_0x16f7f9(0x214)]=!0x1,this[_0x16f7f9(0x224)]&&this[_0x16f7f9(0x224)][_0x16f7f9(0x247)]();}[_0x217c82(0x241)](){const _0x234607=_0x217c82;this[_0x234607(0x1ee)][_0x234607(0x258)](),this[_0x234607(0x1f9)][_0x234607(0x214)]=!0x0;}[_0x217c82(0x1f7)]({source:_0x47af61,withBackButton:_0x224de0}){const _0x406c78=_0x217c82;this[_0x406c78(0x219)][_0x406c78(0x248)]({'source':_0x47af61,'withBackButton':_0x224de0}),this[_0x406c78(0x1f9)][_0x406c78(0x214)]=!0x0;}[_0x217c82(0x1f8)](_0x2003cb,_0x41b496,_0x4c183f,_0x1d4082){const _0x4587ce=_0x217c82;this[_0x4587ce(0x219)][_0x4587ce(0x1f8)](_0x2003cb,_0x4c183f,_0x1d4082);}[_0x217c82(0x1ea)](_0xe19ca1){const _0x5bd9a1=_0x217c82;this[_0x5bd9a1(0x219)][_0x5bd9a1(0x1ea)](_0xe19ca1),this[_0x5bd9a1(0x1f9)][_0x5bd9a1(0x214)]=!0x1;}[_0x217c82(0x255)](_0x8c3be4){const _0x5311fa=_0x217c82;this[_0x5311fa(0x24c)](this[_0x5311fa(0x21b)],this[_0x5311fa(0x1ff)],_0x8c3be4),this[_0x5311fa(0x245)](_0x8c3be4);}[_0x217c82(0x245)](_0x124ce8){const _0x3e7a94=_0x217c82,_0x27d9e2=!_0x124ce8[_0x3e7a94(0x231)][_0x3e7a94(0x250)]&&_0x124ce8[_0x3e7a94(0x231)][_0x3e7a94(0x257)],_0x22e423=_0x124ce8[_0x3e7a94(0x23d)][_0x3e7a94(0x257)],_0x9a6a4c=_0x124ce8[_0x3e7a94(0x206)][_0x3e7a94(0x257)],_0x5ec949=_0x124ce8[_0x3e7a94(0x238)][_0x3e7a94(0x269)]>0x0,_0x508b4c=_0x124ce8[_0x3e7a94(0x209)]&&_0x124ce8[_0x3e7a94(0x209)][_0x3e7a94(0x269)]>0x0;this[_0x3e7a94(0x1f9)][_0x3e7a94(0x1f3)]=_0x27d9e2||_0x22e423||_0x9a6a4c||_0x5ec949||_0x508b4c;}[_0x217c82(0x211)](){const _0x47e9cf=_0x217c82;this[_0x47e9cf(0x235)]({'tag':_0x47e9cf(0x202),'attributes':{'class':[Oo,_0x47e9cf(0x25a)]},'children':[{'tag':_0x47e9cf(0x202),'attributes':{'class':Uo},'children':this[_0x47e9cf(0x20f)]}]});}[_0x217c82(0x243)](){const _0x56bc2d=_0x217c82;this[_0x56bc2d(0x1f9)]['on'](_0x56bc2d(0x21d),()=>{const _0x392c92=_0x56bc2d;this[_0x392c92(0x227)]();});}[_0x217c82(0x20a)](_0x2d4216){const _0x2328ce=_0x217c82,_0x18bd8a=new _0x4e50af(_0x2d4216);return _0x18bd8a[_0x2328ce(0x22c)]({'label':_0x20dcc2(_0x2d4216,_0x2328ce(0x20b)),'class':Fo+'\x20'+No,'icon':_0x2d100c,'isToggleable':!0x0,'tooltip':!0x0,'tooltipPosition':'sw'}),_0x18bd8a;}[_0x217c82(0x21c)](_0x461c3b){const _0x2dd4b1=_0x217c82;return this[_0x2dd4b1(0x1f5)](_0x461c3b,Lo);}[_0x217c82(0x27c)](_0x3e726b){const _0x174dc7=_0x217c82,_0x111130=this[_0x174dc7(0x1f5)](_0x3e726b,Mo);return this[_0x174dc7(0x234)](_0x111130,_0x3e726b),_0x111130;}[_0x217c82(0x25c)](_0x436bde,_0x240a33){const _0x253e54=_0x217c82,_0x85111c={'searchInputVisibleFrom':_0x240a33[_0x253e54(0x249)],'onBackToContext':()=>{const _0x4fcc75=_0x253e54;this[_0x4fcc75(0x210)](),this[_0x4fcc75(0x21b)][_0x4fcc75(0x208)]({'target':this[_0x4fcc75(0x1f9)][_0x4fcc75(0x259)],'limiter':this[_0x4fcc75(0x1e9)](),'positions':qo});},'onResourceSelected':(_0xe72231,_0x492d77)=>{const _0x54b6bb=_0x253e54;this[_0x54b6bb(0x251)](_0x54b6bb(0x262),{'source':_0xe72231,'resource':_0x492d77});},'onLoadSourceResources':_0x2a8a71=>{const _0x3a3663=_0x253e54;this[_0x3a3663(0x251)](_0x3a3663(0x263),_0x2a8a71);},'onBalloonClosed':()=>{const _0x38448c=_0x253e54;this[_0x38448c(0x1f9)][_0x38448c(0x214)]=!0x1;},'getLimiterElement':()=>this[_0x253e54(0x1e9)](),'getTargetElement':()=>this[_0x253e54(0x1f9)][_0x253e54(0x259)]};return new _0x5b73cc(_0x436bde,_0x240a33[_0x253e54(0x22d)],_0x85111c);}[_0x217c82(0x1e9)](){const _0x3056fe=_0x217c82;return this[_0x3056fe(0x259)]?.[_0x3056fe(0x267)]('.'+Wo)||document[_0x3056fe(0x223)];}[_0x217c82(0x1f5)](_0x3b9aba,_0x31ceb1){const _0x3393f7=_0x217c82,_0x1929b6=new _0x36b04d(_0x3b9aba);return _0x1929b6[_0x3393f7(0x261)]({'attributes':{'class':_0x31ceb1}}),this[_0x3393f7(0x22d)][_0x3393f7(0x24a)](_0x1929b6),_0x1929b6;}[_0x217c82(0x24c)](_0x1fa190,_0x44c21b,_0x32a8d5){const _0x4c8825=_0x217c82;if(_0x1fa190[_0x4c8825(0x240)][_0x4c8825(0x247)](),!_0x32a8d5[_0x4c8825(0x231)][_0x4c8825(0x250)]&&_0x32a8d5[_0x4c8825(0x231)][_0x4c8825(0x257)]){const _0x327415=this[_0x4c8825(0x22f)](_0x44c21b,{'label':_0x20dcc2(_0x44c21b,_0x4c8825(0x1ed)),'icon':_0x54248c});_0x327415['on'](_0x4c8825(0x21d),()=>{const _0x17086b=_0x4c8825;this[_0x17086b(0x251)](_0x17086b(0x230)),this[_0x17086b(0x279)]();}),_0x1fa190[_0x4c8825(0x240)][_0x4c8825(0x24a)](_0x327415);}if(_0x32a8d5[_0x4c8825(0x23d)][_0x4c8825(0x257)]){const _0x40e4ab=this[_0x4c8825(0x22f)](_0x44c21b,{'label':_0x20dcc2(_0x44c21b,_0x4c8825(0x21f)),'icon':_0x4de35c});_0x40e4ab['on'](_0x4c8825(0x21d),()=>{const _0x48633f=_0x4c8825;this[_0x48633f(0x279)](),this[_0x48633f(0x241)](),this[_0x48633f(0x1ee)][_0x48633f(0x208)]({'target':this[_0x48633f(0x1f9)][_0x48633f(0x259)],'limiter':this[_0x48633f(0x1e9)](),'positions':qo}),this[_0x48633f(0x224)][_0x48633f(0x1f2)]();}),_0x1fa190[_0x4c8825(0x240)][_0x4c8825(0x24a)](_0x40e4ab);}if(_0x32a8d5[_0x4c8825(0x206)][_0x4c8825(0x257)]){const _0x3e4ceb=new _0x4ac669(_0x44c21b);_0x3e4ceb[_0x4c8825(0x22c)]({'label':_0x20dcc2(_0x44c21b,_0x4c8825(0x260)),'icon':_0x2a0d0e,'withText':!0x0,'tooltip':!0x0,'class':Ho,'allowMultipleFiles':!0x0}),_0x3e4ceb['on'](_0x4c8825(0x21d),()=>{const _0x1f84b7=_0x4c8825;this[_0x1f84b7(0x279)]();}),_0x3e4ceb['on'](_0x4c8825(0x207),(_0x453e9f,_0x2897a1)=>{const _0x34033c=_0x4c8825;this[_0x34033c(0x251)](_0x34033c(0x270),_0x2897a1);}),_0x3e4ceb[_0x4c8825(0x25b)]=!0x0,_0x1fa190[_0x4c8825(0x240)][_0x4c8825(0x24a)](_0x3e4ceb);}for(const _0x14b97f of _0x32a8d5[_0x4c8825(0x238)]){const _0x4d0bc5=this[_0x4c8825(0x22f)](_0x44c21b,{'label':_0x14b97f[_0x4c8825(0x26d)],'icon':_0x14b97f[_0x4c8825(0x215)]||_0x446af9,'type':_0x4c8825(0x239)});_0x1fa190[_0x4c8825(0x240)][_0x4c8825(0x24a)](_0x4d0bc5),_0x4d0bc5['on'](_0x4c8825(0x21d),()=>{const _0x7889d1=_0x4c8825;this[_0x7889d1(0x279)](),this[_0x7889d1(0x1f7)]({'source':_0x14b97f,'withBackButton':!this[_0x7889d1(0x21a)]});});}for(const _0xa0648c of _0x32a8d5[_0x4c8825(0x209)]||[]){const _0xc312c9=this[_0x4c8825(0x22f)](_0x44c21b,{'label':_0xa0648c[_0x4c8825(0x26d)],'icon':_0xa0648c[_0x4c8825(0x215)]||_0x446af9,'type':_0x4c8825(0x232)});_0x1fa190[_0x4c8825(0x240)][_0x4c8825(0x24a)](_0xc312c9),_0xc312c9['on'](_0x4c8825(0x21d),()=>{const _0x5636a5=_0x4c8825;this[_0x5636a5(0x279)](),this[_0x5636a5(0x251)](_0x5636a5(0x244),_0xa0648c);});}this[_0x4c8825(0x21a)]=0x1===_0x1fa190[_0x4c8825(0x240)][_0x4c8825(0x269)],this[_0x4c8825(0x224)][_0x4c8825(0x204)]=!this[_0x4c8825(0x21a)];}[_0x217c82(0x234)](_0x49571e,_0x25058f){const _0xf780a2=_0x217c82;this[_0xf780a2(0x224)]=new _0x532c2e(_0x25058f),this[_0xf780a2(0x224)]['on'](_0xf780a2(0x233),(_0x20879f,_0x5334de)=>{const _0x2f77b8=_0xf780a2;this[_0x2f77b8(0x26a)](_0x5334de);}),this[_0xf780a2(0x224)]['on'](_0xf780a2(0x268),()=>{const _0x8a20f=_0xf780a2;this[_0x8a20f(0x217)](),this[_0x8a20f(0x21a)]||(this[_0x8a20f(0x210)](),this[_0x8a20f(0x21b)][_0x8a20f(0x208)]({'target':this[_0x8a20f(0x1f9)][_0x8a20f(0x259)],'limiter':this[_0x8a20f(0x1e9)](),'positions':qo}));}),this[_0xf780a2(0x224)]['on'](_0xf780a2(0x22b),()=>{const _0x22366e=_0xf780a2;this[_0x22366e(0x1ee)][_0x22366e(0x1fa)]&&this[_0x22366e(0x1ee)][_0x22366e(0x208)]({'target':this[_0x22366e(0x1f9)][_0x22366e(0x259)],'limiter':this[_0x22366e(0x1e9)](),'positions':qo});}),_0x49571e[_0xf780a2(0x240)][_0xf780a2(0x24a)](this[_0xf780a2(0x224)]);}[_0x217c82(0x22f)](_0x361f54,_0x5ae04b){const _0x26aa26=_0x217c82,_0x2ee7ab=_0x26aa26(0x239)===_0x5ae04b[_0x26aa26(0x213)]?new SourcesBalloonButtonView(_0x361f54):new _0x4e50af(_0x361f54);return _0x2ee7ab[_0x26aa26(0x22c)]({'label':_0x5ae04b[_0x26aa26(0x26d)],'icon':_0x5ae04b[_0x26aa26(0x215)],'withText':!0x0,'tooltip':!0x0,'tooltipPosition':'sw','class':Ho}),_0x2ee7ab;}[_0x217c82(0x27b)](){const _0xd3d2f0=_0x217c82;this[_0xd3d2f0(0x200)](),this[_0xd3d2f0(0x205)]();}[_0x217c82(0x205)](){const _0x5f364c=_0x217c82;_0xc03999({'emitter':this[_0x5f364c(0x1ee)],'contextElements':[this[_0x5f364c(0x1ee)][_0x5f364c(0x259)]],'callback':()=>{const _0x3fff4a=_0x5f364c;this[_0x3fff4a(0x217)]();},'activator':()=>this[_0x5f364c(0x1ee)][_0x5f364c(0x1fa)]});}[_0x217c82(0x22e)](_0x54ccd6){const _0x7cd67b=_0x217c82,_0x5384cb=this[_0x7cd67b(0x1ec)];_0x5384cb[_0x7cd67b(0x253)][_0x7cd67b(0x214)]=_0x54ccd6,_0x54ccd6?_0x5384cb[_0x7cd67b(0x276)][_0x7cd67b(0x258)]():_0x5384cb[_0x7cd67b(0x276)][_0x7cd67b(0x20e)]();}[_0x217c82(0x200)](){const _0x3c8822=_0x217c82,{balloonView:_0x521874,buttonView:_0x564642,hideMethod:_0xe0dcb5}=this[_0x3c8822(0x1ec)];_0xc03999({'emitter':_0x521874,'contextElements':[_0x521874[_0x3c8822(0x259)],_0x564642[_0x3c8822(0x259)]],'callback':()=>{_0xe0dcb5();},'activator':()=>_0x564642[_0x3c8822(0x214)]&&!this[_0x3c8822(0x1ee)][_0x3c8822(0x1fa)]&&!this[_0x3c8822(0x219)][_0x3c8822(0x20d)]()});}[_0x217c82(0x1f1)](_0x1eb368,_0x142f4c,_0x4cae4b=!0x1,_0xfe5d19=!0x1){const _0x2ea3b2=_0x217c82,_0x4f56ce=_0x2ea3b2(0x23c)===_0x142f4c||!0x0===_0x1eb368[_0x2ea3b2(0x23b)],_0x5a88b7=new _0x4f11f6(this[_0x2ea3b2(0x1ff)],_0x1eb368,_0x4f56ce,_0x4cae4b,_0xfe5d19);return _0x4f56ce||_0x5a88b7['on'](_0x2ea3b2(0x226),()=>{const _0x4289f0=_0x2ea3b2;this[_0x4289f0(0x251)](_0x4289f0(0x20c),_0x5a88b7['id']);}),_0x5a88b7;}[_0x217c82(0x246)](_0x4888ce,_0xc52681){const _0x3e2962=_0x217c82;_0xc52681[_0x3e2962(0x24a)](_0x4888ce,0x0);}[_0x217c82(0x24d)](_0x2240ec,_0x4cceeb){const _0x430d79=_0x217c82,_0x1ec788=_0x4cceeb[_0x430d79(0x221)](_0x2a92fb=>_0x2a92fb['id']===_0x2240ec);_0x1ec788&&_0x4cceeb[_0x430d79(0x26f)](_0x1ec788);}[_0x217c82(0x227)](){const _0x3fb66c=_0x217c82;this[_0x3fb66c(0x1f9)][_0x3fb66c(0x214)]?this[_0x3fb66c(0x279)]():(this[_0x3fb66c(0x210)](),this[_0x3fb66c(0x21b)][_0x3fb66c(0x208)]({'target':this[_0x3fb66c(0x1f9)][_0x3fb66c(0x259)],'limiter':this[_0x3fb66c(0x1e9)](),'positions':qo}),this[_0x3fb66c(0x21a)]&&this[_0x3fb66c(0x21b)][_0x3fb66c(0x240)][_0x3fb66c(0x26e)](0x0)?.[_0x3fb66c(0x251)](_0x3fb66c(0x21d)));}[_0x217c82(0x26a)](_0x1e654e){const _0x4dcb70=_0x217c82;this[_0x4dcb70(0x224)][_0x4dcb70(0x247)](),this[_0x4dcb70(0x217)](),this[_0x4dcb70(0x251)](_0x4dcb70(0x1fe),_0x1e654e);}}export class SourcesBalloonButtonView extends _0x4e50af{[_0x217c82(0x252)];constructor(_0xe0ffcb){const _0x347a36=_0x217c82;super(_0xe0ffcb),this[_0x347a36(0x22c)]({'withText':!0x0,'role':_0x347a36(0x222)}),this[_0x347a36(0x252)]=this[_0x347a36(0x1fd)](),this[_0x347a36(0x261)]({'attributes':{'class':[jo]}});}[_0x217c82(0x203)](){const _0x34e576=_0x217c82;super[_0x34e576(0x203)](),this[_0x34e576(0x274)][_0x34e576(0x24a)](this[_0x34e576(0x252)]);}[_0x217c82(0x1fd)](){const _0xf94a3b=_0x217c82,_0x25ed35=new _0x47381a();return _0x25ed35[_0xf94a3b(0x240)]=_0x3f18fa,_0x25ed35[_0xf94a3b(0x261)]({'attributes':{'class':jo+_0xf94a3b(0x1f4)}}),_0x25ed35;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x49a4c0=_0x2f06;function _0x2f06(_0x1c5fdc,_0x4fe98e){const _0x1c2c9f=_0x1c2c();return _0x2f06=function(_0x2f06c1,_0x102a5f){_0x2f06c1=_0x2f06c1-0x1a8;let _0x5e5f03=_0x1c2c9f[_0x2f06c1];return _0x5e5f03;},_0x2f06(_0x1c5fdc,_0x4fe98e);}(function(_0x4cf656,_0x986da0){const _0x35ea63=_0x2f06,_0x54ee37=_0x4cf656();while(!![]){try{const _0x2b0864=-parseInt(_0x35ea63(0x1b4))/0x1*(parseInt(_0x35ea63(0x1c3))/0x2)+parseInt(_0x35ea63(0x1c0))/0x3+-parseInt(_0x35ea63(0x1b9))/0x4*(-parseInt(_0x35ea63(0x1b5))/0x5)+-parseInt(_0x35ea63(0x1be))/0x6+-parseInt(_0x35ea63(0x1c5))/0x7*(-parseInt(_0x35ea63(0x1bc))/0x8)+-parseInt(_0x35ea63(0x1ba))/0x9*(parseInt(_0x35ea63(0x1bf))/0xa)+-parseInt(_0x35ea63(0x1ad))/0xb;if(_0x2b0864===_0x986da0)break;else _0x54ee37['push'](_0x54ee37['shift']());}catch(_0x5cba8c){_0x54ee37['push'](_0x54ee37['shift']());}}}(_0x1c2c,0x61ad5));import{ButtonView as _0x41ef58,View as _0xb8fcd}from'ckeditor5/src/ui.js';function _0x1c2c(){const _0x9355a5=['_createLoaderView','ck-ai-chat-controls-loader-wrapper','_loaderView','4069xJGnJB','40JMJNzZ','AI_CHAT_IS_WRITING','fire','locale','371064sHofQi','47367GHXixn','div','184otELHV','ck-reset_all','4390554wYyaHB','730hTVllF','2049453UIkzmE','setTemplate','_createCancelButtonView','180kXSvrN','abortPromptStream','172851nMVUMY','ck-ai-chat-controls-loader','_cancelButtonView','ck-ai-chat-controls-loader-icon','ck-ai-chat-controls-loader-icon-dot','set','1220615GIgqBD','execute','ck-ai-button-secondary\x20ck-ai-button-stop-generating','AI_CHAT_STOP_GENERATING'];_0x1c2c=function(){return _0x9355a5;};return _0x1c2c();}import{IconStop as _0x52ebe9}from'ckeditor5/src/icons.js';import{getTranslation as _0x5ddbe2}from'../../../aicore/utils/common-translations.js';export class AIChatControlsLoaderView extends _0xb8fcd{[_0x49a4c0(0x1a9)];[_0x49a4c0(0x1b3)];constructor(_0xfc7db8){const _0x22dfd4=_0x49a4c0;super(_0xfc7db8),this[_0x22dfd4(0x1a9)]=this[_0x22dfd4(0x1c2)](),this[_0x22dfd4(0x1b3)]=this[_0x22dfd4(0x1b1)](),this[_0x22dfd4(0x1c1)]({'tag':_0x22dfd4(0x1bb),'attributes':{'class':['ck',_0x22dfd4(0x1b2),_0x22dfd4(0x1bd)]},'children':[this[_0x22dfd4(0x1b3)],this[_0x22dfd4(0x1a9)]]});}[_0x49a4c0(0x1c2)](){const _0x3b1cbe=_0x49a4c0,_0x557243=new _0x41ef58(this[_0x3b1cbe(0x1b8)]);return _0x557243[_0x3b1cbe(0x1ac)]({'label':_0x5ddbe2(this[_0x3b1cbe(0x1b8)],_0x3b1cbe(0x1b0)),'withText':!0x0,'class':_0x3b1cbe(0x1af),'icon':_0x52ebe9}),_0x557243['on'](_0x3b1cbe(0x1ae),()=>{const _0x188dcc=_0x3b1cbe;this[_0x188dcc(0x1b7)](_0x188dcc(0x1c4));}),_0x557243;}[_0x49a4c0(0x1b1)](){const _0x177954=_0x49a4c0,_0x22b52a=new _0xb8fcd(this[_0x177954(0x1b8)]);return _0x22b52a[_0x177954(0x1c1)]({'tag':_0x177954(0x1bb),'attributes':{'class':[_0x177954(0x1a8)]},'children':[{'tag':_0x177954(0x1bb),'attributes':{'class':[_0x177954(0x1aa)]},'children':[{'tag':_0x177954(0x1bb),'attributes':{'class':[_0x177954(0x1ab)]}},{'tag':_0x177954(0x1bb),'attributes':{'class':[_0x177954(0x1ab)]}},{'tag':_0x177954(0x1bb),'attributes':{'class':[_0x177954(0x1ab)]}}]},{'text':_0x5ddbe2(this[_0x177954(0x1b8)],_0x177954(0x1b6))}]}),_0x22b52a;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x47d01a=_0x2f1c;(function(_0x3d8e57,_0x7a141b){const _0x206045=_0x2f1c,_0xe60086=_0x3d8e57();while(!![]){try{const _0x43d2e0=parseInt(_0x206045(0x105))/0x1+-parseInt(_0x206045(0x134))/0x2*(parseInt(_0x206045(0xf7))/0x3)+parseInt(_0x206045(0x12e))/0x4+-parseInt(_0x206045(0x13a))/0x5*(parseInt(_0x206045(0xea))/0x6)+-parseInt(_0x206045(0x12a))/0x7+parseInt(_0x206045(0x119))/0x8+parseInt(_0x206045(0xfa))/0x9;if(_0x43d2e0===_0x7a141b)break;else _0xe60086['push'](_0xe60086['shift']());}catch(_0x24a6ce){_0xe60086['push'](_0xe60086['shift']());}}}(_0x19b4,0x21b3e));import{Collection as _0x393f2d}from'ckeditor5/src/utils.js';import{IconAI as _0x37c307,IconBulb as _0x392de0,IconWeb as _0x319e68}from'@ckeditor/ckeditor5-icons';import{addListToDropdown as _0x49d41f,ButtonLabelView as _0x414f8d,ButtonView as _0x22cb76,createDropdown as _0x66ac2,IconView as _0x55a45d,UIModel as _0x1be6d0,View as _0x34724c}from'ckeditor5/src/ui.js';import{getTranslation as _0x47cfdb}from'../../../aicore/utils/common-translations.js';const Ko=_0x47d01a(0x11c),Xo=_0x47d01a(0x144),Qo=_0x47d01a(0xf0),Zo=_0x47d01a(0xeb),tl=_0x47d01a(0x145),el=_0x47d01a(0x141),il=_0x47d01a(0x120),sl=_0x47d01a(0x136),ol='n';export class AIChatPromptCapabilitiesView extends _0x34724c{[_0x47d01a(0x11f)];[_0x47d01a(0x100)];[_0x47d01a(0xe9)];[_0x47d01a(0x132)];[_0x47d01a(0x108)];[_0x47d01a(0x12f)];constructor(_0x5f4e83){const _0x4e5953=_0x47d01a;super(_0x5f4e83),this[_0x4e5953(0x12b)](_0x4e5953(0x106),!0x1),this[_0x4e5953(0x12b)](_0x4e5953(0x122),!0x1),this[_0x4e5953(0x12b)](_0x4e5953(0x133),_0x4e5953(0xfe)),this[_0x4e5953(0x12b)](_0x4e5953(0xf6),!0x0),this[_0x4e5953(0x12b)](_0x4e5953(0xf8),null),this[_0x4e5953(0x12b)](_0x4e5953(0x129),null),this[_0x4e5953(0x132)]=this[_0x4e5953(0x13f)](),this[_0x4e5953(0x12f)]=this[_0x4e5953(0x10e)](),this[_0x4e5953(0x11f)]=this[_0x4e5953(0xf9)](),this[_0x4e5953(0x100)]=this[_0x4e5953(0x11d)](),this[_0x4e5953(0xe9)]=this[_0x4e5953(0x103)](),this[_0x4e5953(0x132)][_0x4e5953(0x140)][_0x4e5953(0x112)](_0x4e5953(0x12c))['to'](this,_0x4e5953(0x133),_0x2c934c=>_0x4e5953(0xfe)===_0x2c934c),this[_0x4e5953(0x132)][_0x4e5953(0x140)][_0x4e5953(0x112)](_0x4e5953(0xf4))['to'](this,_0x4e5953(0xf6),_0x42485b=>_0x42485b?this[_0x4e5953(0x132)][_0x4e5953(0x140)][_0x4e5953(0x10f)]:_0x47cfdb(this[_0x4e5953(0x12d)],_0x4e5953(0x130))),this[_0x4e5953(0x132)][_0x4e5953(0x112)](_0x4e5953(0x114))['to'](this,_0x4e5953(0xf6),_0x1a8e19=>_0x1a8e19),this[_0x4e5953(0x11f)][_0x4e5953(0x112)](_0x4e5953(0x118))['to'](this,_0x4e5953(0x106),_0x2f37ce=>_0x2f37ce),this[_0x4e5953(0x11f)][_0x4e5953(0x112)](_0x4e5953(0xf4))['to'](this,_0x4e5953(0x106),_0x1c5cb1=>_0x47cfdb(this[_0x4e5953(0x12d)],_0x1c5cb1?_0x4e5953(0x126):_0x4e5953(0x116))),this[_0x4e5953(0x100)][_0x4e5953(0x112)](_0x4e5953(0x118))['to'](this,_0x4e5953(0x122),_0x4d463e=>_0x4d463e),this[_0x4e5953(0x100)][_0x4e5953(0x112)](_0x4e5953(0xf4))['to'](this,_0x4e5953(0x122),_0x293693=>_0x47cfdb(this[_0x4e5953(0x12d)],_0x293693?_0x4e5953(0x10a):_0x4e5953(0x142))),this[_0x4e5953(0xe6)]({'tag':_0x4e5953(0x107),'attributes':{'class':[Ko]},'children':[this[_0x4e5953(0x132)],this[_0x4e5953(0x12f)],this[_0x4e5953(0x11f)],this[_0x4e5953(0x100)],this[_0x4e5953(0xe9)]]}),this[_0x4e5953(0x108)]=new _0x393f2d(),_0x49d41f(this[_0x4e5953(0x132)],this[_0x4e5953(0x108)]);}[_0x47d01a(0x11e)](_0x26a014,_0x2e0d60){const _0x6c4a06=_0x47d01a;if(_0x2e0d60)this[_0x6c4a06(0x12b)](_0x6c4a06(0x133),_0x6c4a06(0x10b));else{const _0x28d647=0x1===_0x26a014[_0x6c4a06(0x13d)];this[_0x6c4a06(0x12b)](_0x6c4a06(0x133),_0x28d647?_0x6c4a06(0x13e):_0x6c4a06(0xfe));}if(this[_0x6c4a06(0x108)][_0x6c4a06(0x11b)](),_0x26a014?.[_0x6c4a06(0x13d)])for(const _0x4dcbb2 of _0x26a014){const _0x2ef605=new _0x1be6d0({'label':_0x4dcbb2[_0x6c4a06(0x13e)],'withText':!0x0,'role':_0x6c4a06(0x10d),'id':_0x4dcbb2['id'],'model':_0x4dcbb2});_0x2ef605[_0x6c4a06(0x112)](_0x6c4a06(0x118))['to'](this,_0x6c4a06(0xf8),_0x58f325=>_0x58f325===_0x4dcbb2['id']),this[_0x6c4a06(0x108)][_0x6c4a06(0x109)]({'type':_0x6c4a06(0xfc),'model':_0x2ef605,'labelView':new ko(this[_0x6c4a06(0x12d)],_0x4dcbb2)});}}[_0x47d01a(0x124)](_0x315e3f){const _0x2cd597=_0x47d01a;this[_0x2cd597(0x12b)](_0x2cd597(0x106),_0x315e3f);}[_0x47d01a(0x102)](_0x59a8b9){const _0x21f59c=_0x47d01a;this[_0x21f59c(0x12b)](_0x21f59c(0x122),_0x59a8b9);}[_0x47d01a(0xee)](_0x826e3){const _0x22cf2f=_0x47d01a;if(!_0x826e3)return;this[_0x22cf2f(0xf8)]=_0x826e3['id'],this[_0x22cf2f(0x129)]=_0x826e3[_0x22cf2f(0x13e)]||_0x826e3['id'],this[_0x22cf2f(0x132)][_0x22cf2f(0x140)][_0x22cf2f(0x12b)](_0x22cf2f(0x10f),_0x826e3[_0x22cf2f(0x13e)]),this[_0x22cf2f(0x132)][_0x22cf2f(0x140)][_0x22cf2f(0x12b)](_0x22cf2f(0xf4),_0x826e3[_0x22cf2f(0x13e)]);const _0x48f5e7=_0x826e3[_0x22cf2f(0xf3)][_0x22cf2f(0x131)]?.[_0x22cf2f(0x10c)]??!0x1;this[_0x22cf2f(0x12b)](_0x22cf2f(0x106),!0x1),this[_0x22cf2f(0x11f)][_0x22cf2f(0x12b)](_0x22cf2f(0x118),!0x1),this[_0x22cf2f(0x11f)][_0x22cf2f(0x12b)](_0x22cf2f(0x114),_0x48f5e7),this[_0x22cf2f(0x11f)][_0x22cf2f(0x12b)](_0x22cf2f(0x12c),_0x48f5e7);const _0x1c2733=_0x826e3[_0x22cf2f(0xf3)][_0x22cf2f(0xe8)]?.[_0x22cf2f(0x10c)]??!0x1;this[_0x22cf2f(0x12b)](_0x22cf2f(0x122),!0x1),this[_0x22cf2f(0x100)][_0x22cf2f(0x12b)](_0x22cf2f(0x118),!0x1),this[_0x22cf2f(0x100)][_0x22cf2f(0x12b)](_0x22cf2f(0x114),_0x1c2733),this[_0x22cf2f(0x100)][_0x22cf2f(0x12b)](_0x22cf2f(0x12c),_0x1c2733);}[_0x47d01a(0x123)](){const _0x363155=_0x47d01a;this[_0x363155(0x12b)](_0x363155(0xf6),!0x0);}[_0x47d01a(0xef)](_0x21ba42){const _0x57156e=_0x47d01a;this[_0x57156e(0x12b)](_0x57156e(0xf6),!0x1),_0x21ba42&&this[_0x57156e(0x12b)](_0x57156e(0x133),_0x57156e(0x10b));}[_0x47d01a(0xf9)](){const _0x5392fe=_0x47d01a,_0x2505cd=new _0x22cb76();return _0x2505cd[_0x5392fe(0x12b)]({'label':_0x47cfdb(this[_0x5392fe(0x12d)],_0x5392fe(0xf2)),'icon':_0x319e68,'class':Xo,'isToggleable':!0x0,'tooltipPosition':ol}),_0x2505cd['on'](_0x5392fe(0xe7),()=>{const _0x32845a=_0x5392fe;this[_0x32845a(0x128)](_0x32845a(0xf5));}),_0x2505cd;}[_0x47d01a(0x11d)](){const _0x5a5cb3=_0x47d01a,_0x2e7c9f=new _0x22cb76();return _0x2e7c9f[_0x5a5cb3(0x12b)]({'label':_0x47cfdb(this[_0x5a5cb3(0x12d)],_0x5a5cb3(0x13b)),'icon':_0x392de0,'class':Xo,'isToggleable':!0x0,'tooltipPosition':ol}),_0x2e7c9f['on'](_0x5a5cb3(0xe7),()=>{const _0x8a988c=_0x5a5cb3;this[_0x8a988c(0x128)](_0x8a988c(0xec));}),_0x2e7c9f;}[_0x47d01a(0x103)](){const _0x425a8c=_0x47d01a,_0x36f20e=new _0x22cb76();return _0x36f20e[_0x425a8c(0x12b)]({'label':_0x47cfdb(this[_0x425a8c(0x12d)],_0x425a8c(0x125)),'icon':_0x37c307,'withText':!0x0,'class':Xo,'isToggleable':!0x0,'tooltip':_0x47cfdb(this[_0x425a8c(0x12d)],_0x425a8c(0x125)),'tooltipPosition':ol}),_0x36f20e[_0x425a8c(0xed)]({'attributes':{'class':[Qo]}}),_0x36f20e['on'](_0x425a8c(0xe7),()=>{const _0x3d2b1a=_0x425a8c;console[_0x3d2b1a(0x115)](_0x3d2b1a(0x127)),alert(_0x3d2b1a(0x127));}),_0x36f20e;}[_0x47d01a(0x13f)](){const _0x5cf1a2=_0x47d01a,_0x55c041=_0x66ac2(this[_0x5cf1a2(0x12d)]);return _0x55c041[_0x5cf1a2(0x12b)]({'panelPosition':'ne','class':[tl]}),_0x55c041[_0x5cf1a2(0x140)][_0x5cf1a2(0x12b)]({'label':_0x47cfdb(this[_0x5cf1a2(0x12d)],_0x5cf1a2(0x146)),'withText':!0x0,'tooltip':!0x0,'tooltipPosition':ol,'class':Zo}),this[_0x5cf1a2(0xfb)](_0x55c041,_0x5cf1a2(0xe7),_0xef2c96=>{const _0x592071=_0x5cf1a2;this[_0x592071(0x128)](_0x592071(0x117),_0xef2c96[_0x592071(0x110)][_0x592071(0x143)]);}),_0x55c041;}[_0x47d01a(0x10e)](){const _0x1d0e4c=_0x47d01a,_0x45c7d4=new _o(this[_0x1d0e4c(0x12d)]);return _0x45c7d4[_0x1d0e4c(0x112)](_0x1d0e4c(0x11a))['to'](this,_0x1d0e4c(0x129),_0x226458=>_0x226458??''),_0x45c7d4[_0x1d0e4c(0x112)](_0x1d0e4c(0x12c))['to'](this,_0x1d0e4c(0x133),_0x53e73e=>_0x1d0e4c(0x13e)===_0x53e73e),_0x45c7d4;}}function _0x2f1c(_0x5d2f8a,_0x83b2f3){const _0x19b4ca=_0x19b4();return _0x2f1c=function(_0x2f1c77,_0x5438f1){_0x2f1c77=_0x2f1c77-0xe6;let _0x366bd=_0x19b4ca[_0x2f1c77];return _0x366bd;},_0x2f1c(_0x5d2f8a,_0x83b2f3);}function _0x19b4(){const _0x54564a=['860672TjiTlE','text','clear','ck-ai-chat__prompt-capabilities','_createReasoningButton','setModelList','_webSearchButton','ck-ai-chat-controls__model-selection__item-description','AI_CHAT_CAPABILITIES_YES','reasoningActive','enableModelSelector','setWebSearch','AI_CHAT_COMMANDS','AI_CHAT_DISABLE_WEB_SEARCH','Commands\x20are\x20not\x20implemented\x20yet.','fire','activeModelName','605955ydlpnC','set','isVisible','locale','296840aRQmPg','_modelNameView','AI_CHAT_MODEL_SELECTOR_DISABLED_TOOLTIP','webSearch','_modelSelectionDropdown','modelDisplayMode','1100MflCrf','_getCapabilityParts','ck-ai-chat-controls__model-selection__item-capabilities','bindTemplate','createCollection','span','42140uAdBTi','AI_CHAT_REASONING','description','length','name','_createModelSelectionDropdown','buttonView','ck-ai-chat-controls__model-selection__item-name','AI_CHAT_ENABLE_REASONING','model','ck-ai-chat-controls-button','ck-ai-chat-controls__model-selection','AI_CHAT_MODEL_SELECTOR_ENABLED_TOOLTIP','setTemplate','execute','reasoning','_commandsButton','186DtEcuH','ck-ai-button-tertiary','toggleReasoning','extendTemplate','setModel','disableModelSelector','ck-ai-chat-controls-button--commands','style','AI_CHAT_SEARCH_WEB','capabilities','tooltip','toggleWebSearch','modelSelectorEnabled','687pjmTGU','activeModelId','_createWebSearchButton','3290535zAMbXT','listenTo','button','addMany','selector','ck-ai-chat-controls__model-name','_reasoningButton','ck-button__label','setReasoning','_createCommandsButton','ck-hidden','64420brzFbN','webSearchActive','div','_modelSelectionDropdownItems','add','AI_CHAT_DISABLE_REASONING','hidden','enabled','menuitemradio','_createModelNameView','label','source','content','bind','AI_CHAT_CAPABILITIES_NO','isEnabled','log','AI_CHAT_ENABLE_WEB_SEARCH','selectModel','isOn'];_0x19b4=function(){return _0x54564a;};return _0x19b4();}class ko extends _0x414f8d{constructor(_0x2b8439,_0x380497){const _0x39208d=_0x47d01a;super();const _0x54d8e4=this[_0x39208d(0x137)],_0x2b5eae=this[_0x39208d(0x138)]();this[_0x39208d(0xe6)]({'tag':_0x39208d(0x107),'attributes':{'class':['ck',_0x39208d(0x101)],'style':_0x54d8e4['to'](_0x39208d(0xf1)),'id':_0x54d8e4['to']('id')},'children':[{'tag':_0x39208d(0x107),'attributes':{'class':[el]},'children':[{'text':_0x54d8e4['to'](_0x39208d(0x11a))}]},{'tag':_0x39208d(0x107),'attributes':{'class':[il]},'children':[{'tag':_0x39208d(0x139),'children':[{'text':_0x380497[_0x39208d(0x13c)]}]}]},{'tag':_0x39208d(0x107),'attributes':{'class':[sl]},'children':_0x2b5eae}]}),_0x2b5eae[_0x39208d(0xfd)](this[_0x39208d(0x135)](_0x2b8439,_0x319e68,_0x39208d(0xf2),_0x380497[_0x39208d(0xf3)][_0x39208d(0x131)]?.[_0x39208d(0x10c)]??!0x1)),_0x2b5eae[_0x39208d(0xfd)](this[_0x39208d(0x135)](_0x2b8439,_0x392de0,_0x39208d(0x13b),_0x380497[_0x39208d(0xf3)][_0x39208d(0xe8)]?.[_0x39208d(0x10c)]??!0x1));}[_0x47d01a(0x135)](_0x56e42f,_0xfe4898,_0x243157,_0x447841){const _0x1ca89b=_0x47d01a,_0xced2ce=new _0x55a45d();_0xced2ce[_0x1ca89b(0x111)]=_0xfe4898;const _0x35510f=new _0x34724c(_0x56e42f);_0x35510f[_0x1ca89b(0xe6)]({'tag':_0x1ca89b(0x139),'children':[{'text':_0x47cfdb(_0x56e42f,_0x243157)+':\x20'}]});const _0x1cb576=new _0x34724c(_0x56e42f);return _0x1cb576[_0x1ca89b(0xe6)]({'tag':_0x1ca89b(0x139),'children':[{'text':_0x47cfdb(_0x56e42f,_0x447841?_0x1ca89b(0x121):_0x1ca89b(0x113))}]}),[_0xced2ce,_0x35510f,_0x1cb576];}}class _o extends _0x34724c{constructor(_0x165c37){const _0x32b2e3=_0x47d01a;super(_0x165c37),this[_0x32b2e3(0x12b)](_0x32b2e3(0x11a),void 0x0),this[_0x32b2e3(0x12b)](_0x32b2e3(0x12c),!0x0);const _0x348f71=this[_0x32b2e3(0x137)];this[_0x32b2e3(0xe6)]({'tag':_0x32b2e3(0x139),'attributes':{'class':['ck',_0x32b2e3(0xff),_0x348f71['if'](_0x32b2e3(0x12c),_0x32b2e3(0x104),_0x446dfc=>!_0x446dfc)]},'children':[{'text':_0x348f71['to'](_0x32b2e3(0x11a))}]});}}
|
|
23
|
+
const _0x1c71f6=_0x54ea;(function(_0xcf876d,_0x23047b){const _0x921e30=_0x54ea,_0x12a256=_0xcf876d();while(!![]){try{const _0x461c11=-parseInt(_0x921e30(0xc8))/0x1*(-parseInt(_0x921e30(0xe3))/0x2)+parseInt(_0x921e30(0xdc))/0x3*(-parseInt(_0x921e30(0xb6))/0x4)+parseInt(_0x921e30(0xc3))/0x5+parseInt(_0x921e30(0xb3))/0x6+-parseInt(_0x921e30(0xcb))/0x7+-parseInt(_0x921e30(0x9f))/0x8*(-parseInt(_0x921e30(0xff))/0x9)+-parseInt(_0x921e30(0xd4))/0xa;if(_0x461c11===_0x23047b)break;else _0x12a256['push'](_0x12a256['shift']());}catch(_0x351780){_0x12a256['push'](_0x12a256['shift']());}}}(_0x5a9c,0x31500));import{Collection as _0x4ed9f1}from'ckeditor5/src/utils.js';import{IconAI as _0x5032f6,IconBulb as _0x161bfa,IconWeb as _0x2e0bf3}from'@ckeditor/ckeditor5-icons';import{addListToDropdown as _0x3b1adf,ButtonLabelView as _0x531149,ButtonView as _0x23af47,createDropdown as _0x8910c6,IconView as _0x1d8823,UIModel as _0x53e80d,View as _0x4d4a85}from'ckeditor5/src/ui.js';import{getTranslation as _0x45f806}from'../../../aicore/utils/common-translations.js';const Jo=_0x1c71f6(0xd0),Fo=_0x1c71f6(0xf3),Ko=_0x1c71f6(0xa4),Qo=_0x1c71f6(0xe5),Zo=_0x1c71f6(0xa7),tl=_0x1c71f6(0xaa),el=_0x1c71f6(0xfb),il=_0x1c71f6(0xbe),sl='n';function _0x5a9c(){const _0x256358=['button','3aXwyvf','setWebSearch','selectModel','label','ck-ai-chat-controls__model-name','ck-hidden','_modelNameView','2282ujiIKZ','execute','ck-ai-button-tertiary','text','addMany','hidden','setReasoning','AI_CHAT_COMMANDS','_modelSelectionDropdown','span','description','source','AI_CHAT_DISABLE_REASONING','Commands\x20are\x20not\x20implemented\x20yet.','AI_CHAT_CAPABILITIES_YES','setModelList','ck-ai-chat-controls-button','bind','name','ck-button__label','reasoningActive','bindTemplate','_webSearchButton','buttonView','ck-ai-chat-controls__model-selection__item-description','toggleReasoning','_commandsButton','AI_CHAT_CAPABILITIES_NO','3501CZWfme','isVisible','7048VuPZGF','setModel','selector','model','toggleWebSearch','ck-ai-chat-controls-button--commands','isOn','isEnabled','ck-ai-chat-controls__model-selection','extendTemplate','listenTo','ck-ai-chat-controls__model-selection__item-name','set','AI_CHAT_ENABLE_REASONING','content','log','enabled','_createReasoningButton','_modelSelectionDropdownItems','_createModelSelectionDropdown','891300gXrRoy','menuitemradio','tooltip','1377108QBzdnS','_createWebSearchButton','style','AI_CHAT_SEARCH_WEB','webSearch','AI_CHAT_MODEL_SELECTOR_ENABLED_TOOLTIP','div','activeModelName','ck-ai-chat-controls__model-selection__item-capabilities','AI_CHAT_MODEL_SELECTOR_DISABLED_TOOLTIP','disableModelSelector','_createModelNameView','add','1870515voudfF','fire','_reasoningButton','length','AI_CHAT_DISABLE_WEB_SEARCH','277mNCsVb','_createCommandsButton','_getCapabilityParts','1403808oaxvbD','capabilities','clear','createCollection','AI_CHAT_ENABLE_WEB_SEARCH','ck-ai-chat__prompt-capabilities','modelDisplayMode','AI_CHAT_REASONING','modelSelectorEnabled','4346140EJtIXS','locale','enableModelSelector','setTemplate','activeModelId','reasoning','webSearchActive'];_0x5a9c=function(){return _0x256358;};return _0x5a9c();}export class AIChatPromptCapabilitiesView extends _0x4d4a85{[_0x1c71f6(0xf9)];[_0x1c71f6(0xc5)];[_0x1c71f6(0xfd)];[_0x1c71f6(0xeb)];[_0x1c71f6(0xb1)];[_0x1c71f6(0xe2)];constructor(_0x169efb){const _0x4f3dba=_0x1c71f6;super(_0x169efb),this[_0x4f3dba(0xab)](_0x4f3dba(0xda),!0x1),this[_0x4f3dba(0xab)](_0x4f3dba(0xf7),!0x1),this[_0x4f3dba(0xab)](_0x4f3dba(0xd1),_0x4f3dba(0xa1)),this[_0x4f3dba(0xab)](_0x4f3dba(0xd3),!0x0),this[_0x4f3dba(0xab)](_0x4f3dba(0xd8),null),this[_0x4f3dba(0xab)](_0x4f3dba(0xbd),null),this[_0x4f3dba(0xeb)]=this[_0x4f3dba(0xb2)](),this[_0x4f3dba(0xe2)]=this[_0x4f3dba(0xc1)](),this[_0x4f3dba(0xf9)]=this[_0x4f3dba(0xb7)](),this[_0x4f3dba(0xc5)]=this[_0x4f3dba(0xb0)](),this[_0x4f3dba(0xfd)]=this[_0x4f3dba(0xc9)](),this[_0x4f3dba(0xeb)][_0x4f3dba(0xfa)][_0x4f3dba(0xf4)](_0x4f3dba(0x100))['to'](this,_0x4f3dba(0xd1),_0x3c2b58=>_0x4f3dba(0xa1)===_0x3c2b58),this[_0x4f3dba(0xeb)][_0x4f3dba(0xfa)][_0x4f3dba(0xf4)](_0x4f3dba(0xb5))['to'](this,_0x4f3dba(0xd3),_0x54ff42=>_0x54ff42?this[_0x4f3dba(0xeb)][_0x4f3dba(0xfa)][_0x4f3dba(0xdf)]:_0x45f806(this[_0x4f3dba(0xd5)],_0x4f3dba(0xbf))),this[_0x4f3dba(0xeb)][_0x4f3dba(0xf4)](_0x4f3dba(0xa6))['to'](this,_0x4f3dba(0xd3),_0x58ddba=>_0x58ddba),this[_0x4f3dba(0xf9)][_0x4f3dba(0xf4)](_0x4f3dba(0xa5))['to'](this,_0x4f3dba(0xda),_0x3a1d37=>_0x3a1d37),this[_0x4f3dba(0xf9)][_0x4f3dba(0xf4)](_0x4f3dba(0xb5))['to'](this,_0x4f3dba(0xda),_0x3cd4aa=>_0x45f806(this[_0x4f3dba(0xd5)],_0x3cd4aa?_0x4f3dba(0xc7):_0x4f3dba(0xcf))),this[_0x4f3dba(0xc5)][_0x4f3dba(0xf4)](_0x4f3dba(0xa5))['to'](this,_0x4f3dba(0xf7),_0xc7ed5=>_0xc7ed5),this[_0x4f3dba(0xc5)][_0x4f3dba(0xf4)](_0x4f3dba(0xb5))['to'](this,_0x4f3dba(0xf7),_0x3a604e=>_0x45f806(this[_0x4f3dba(0xd5)],_0x3a604e?_0x4f3dba(0xef):_0x4f3dba(0xac))),this[_0x4f3dba(0xd7)]({'tag':_0x4f3dba(0xbc),'attributes':{'class':[Jo]},'children':[this[_0x4f3dba(0xeb)],this[_0x4f3dba(0xe2)],this[_0x4f3dba(0xf9)],this[_0x4f3dba(0xc5)],this[_0x4f3dba(0xfd)]]}),this[_0x4f3dba(0xb1)]=new _0x4ed9f1(),_0x3b1adf(this[_0x4f3dba(0xeb)],this[_0x4f3dba(0xb1)]);}[_0x1c71f6(0xf2)](_0x3dc0bc,_0x47319f){const _0x41ef0a=_0x1c71f6;if(_0x47319f)this[_0x41ef0a(0xab)](_0x41ef0a(0xd1),_0x41ef0a(0xe8));else{const _0x3c1439=0x1===_0x3dc0bc[_0x41ef0a(0xc6)];this[_0x41ef0a(0xab)](_0x41ef0a(0xd1),_0x3c1439?_0x41ef0a(0xf5):_0x41ef0a(0xa1));}if(this[_0x41ef0a(0xb1)][_0x41ef0a(0xcd)](),_0x3dc0bc?.[_0x41ef0a(0xc6)])for(const _0x529b4c of _0x3dc0bc){const _0x1f6185=new _0x53e80d({'label':_0x529b4c[_0x41ef0a(0xf5)],'withText':!0x0,'role':_0x41ef0a(0xb4),'id':_0x529b4c['id'],'model':_0x529b4c});_0x1f6185[_0x41ef0a(0xf4)](_0x41ef0a(0xa5))['to'](this,_0x41ef0a(0xd8),_0x5d19b7=>_0x5d19b7===_0x529b4c['id']),this[_0x41ef0a(0xb1)][_0x41ef0a(0xc2)]({'type':_0x41ef0a(0xdb),'model':_0x1f6185,'labelView':new ko(this[_0x41ef0a(0xd5)],_0x529b4c)});}}[_0x1c71f6(0xdd)](_0x41f82b){const _0x22b1a7=_0x1c71f6;this[_0x22b1a7(0xab)](_0x22b1a7(0xda),_0x41f82b);}[_0x1c71f6(0xe9)](_0x34b9af){const _0x4aed25=_0x1c71f6;this[_0x4aed25(0xab)](_0x4aed25(0xf7),_0x34b9af);}[_0x1c71f6(0xa0)](_0x195e86){const _0x4fd6aa=_0x1c71f6;if(!_0x195e86)return;this[_0x4fd6aa(0xd8)]=_0x195e86['id'],this[_0x4fd6aa(0xbd)]=_0x195e86[_0x4fd6aa(0xf5)]||_0x195e86['id'],this[_0x4fd6aa(0xeb)][_0x4fd6aa(0xfa)][_0x4fd6aa(0xab)](_0x4fd6aa(0xdf),_0x195e86[_0x4fd6aa(0xf5)]),this[_0x4fd6aa(0xeb)][_0x4fd6aa(0xfa)][_0x4fd6aa(0xab)](_0x4fd6aa(0xb5),_0x195e86[_0x4fd6aa(0xf5)]);const _0x243543=_0x195e86[_0x4fd6aa(0xcc)][_0x4fd6aa(0xba)]?.[_0x4fd6aa(0xaf)]??!0x1;this[_0x4fd6aa(0xab)](_0x4fd6aa(0xda),!0x1),this[_0x4fd6aa(0xf9)][_0x4fd6aa(0xab)](_0x4fd6aa(0xa5),!0x1),this[_0x4fd6aa(0xf9)][_0x4fd6aa(0xab)](_0x4fd6aa(0xa6),_0x243543),this[_0x4fd6aa(0xf9)][_0x4fd6aa(0xab)](_0x4fd6aa(0x100),_0x243543);const _0x26d297=_0x195e86[_0x4fd6aa(0xcc)][_0x4fd6aa(0xd9)]?.[_0x4fd6aa(0xaf)]??!0x1;this[_0x4fd6aa(0xab)](_0x4fd6aa(0xf7),!0x1),this[_0x4fd6aa(0xc5)][_0x4fd6aa(0xab)](_0x4fd6aa(0xa5),!0x1),this[_0x4fd6aa(0xc5)][_0x4fd6aa(0xab)](_0x4fd6aa(0xa6),_0x26d297),this[_0x4fd6aa(0xc5)][_0x4fd6aa(0xab)](_0x4fd6aa(0x100),_0x26d297);}[_0x1c71f6(0xd6)](){const _0x31bf62=_0x1c71f6;this[_0x31bf62(0xab)](_0x31bf62(0xd3),!0x0);}[_0x1c71f6(0xc0)](_0x2bac89){const _0x264af6=_0x1c71f6;this[_0x264af6(0xab)](_0x264af6(0xd3),!0x1),_0x2bac89&&this[_0x264af6(0xab)](_0x264af6(0xd1),_0x264af6(0xe8));}[_0x1c71f6(0xb7)](){const _0x4b4bbe=_0x1c71f6,_0x236c11=new _0x23af47();return _0x236c11[_0x4b4bbe(0xab)]({'label':_0x45f806(this[_0x4b4bbe(0xd5)],_0x4b4bbe(0xb9)),'icon':_0x2e0bf3,'class':Fo,'isToggleable':!0x0,'tooltipPosition':sl}),_0x236c11['on'](_0x4b4bbe(0xe4),()=>{const _0x59606e=_0x4b4bbe;this[_0x59606e(0xc4)](_0x59606e(0xa3));}),_0x236c11;}[_0x1c71f6(0xb0)](){const _0x53a12e=_0x1c71f6,_0x592109=new _0x23af47();return _0x592109[_0x53a12e(0xab)]({'label':_0x45f806(this[_0x53a12e(0xd5)],_0x53a12e(0xd2)),'icon':_0x161bfa,'class':Fo,'isToggleable':!0x0,'tooltipPosition':sl}),_0x592109['on'](_0x53a12e(0xe4),()=>{const _0xd10c99=_0x53a12e;this[_0xd10c99(0xc4)](_0xd10c99(0xfc));}),_0x592109;}[_0x1c71f6(0xc9)](){const _0x448559=_0x1c71f6,_0x1e9940=new _0x23af47();return _0x1e9940[_0x448559(0xab)]({'label':_0x45f806(this[_0x448559(0xd5)],_0x448559(0xea)),'icon':_0x5032f6,'withText':!0x0,'class':Fo,'isToggleable':!0x0,'tooltip':_0x45f806(this[_0x448559(0xd5)],_0x448559(0xea)),'tooltipPosition':sl}),_0x1e9940[_0x448559(0xa8)]({'attributes':{'class':[Ko]}}),_0x1e9940['on'](_0x448559(0xe4),()=>{const _0x45b206=_0x448559;console[_0x45b206(0xae)](_0x45b206(0xf0)),alert(_0x45b206(0xf0));}),_0x1e9940;}[_0x1c71f6(0xb2)](){const _0x305ca1=_0x1c71f6,_0x14b0ca=_0x8910c6(this[_0x305ca1(0xd5)]);return _0x14b0ca[_0x305ca1(0xab)]({'panelPosition':'ne','class':[Zo]}),_0x14b0ca[_0x305ca1(0xfa)][_0x305ca1(0xab)]({'label':_0x45f806(this[_0x305ca1(0xd5)],_0x305ca1(0xbb)),'withText':!0x0,'tooltip':!0x0,'tooltipPosition':sl,'class':Qo}),this[_0x305ca1(0xa9)](_0x14b0ca,_0x305ca1(0xe4),_0x218125=>{const _0x4780ce=_0x305ca1;this[_0x4780ce(0xc4)](_0x4780ce(0xde),_0x218125[_0x4780ce(0xee)][_0x4780ce(0xa2)]);}),_0x14b0ca;}[_0x1c71f6(0xc1)](){const _0x358876=_0x1c71f6,_0x1beb9c=new _o(this[_0x358876(0xd5)]);return _0x1beb9c[_0x358876(0xf4)](_0x358876(0xe6))['to'](this,_0x358876(0xbd),_0x3f950e=>_0x3f950e??''),_0x1beb9c[_0x358876(0xf4)](_0x358876(0x100))['to'](this,_0x358876(0xd1),_0xd04ab6=>_0x358876(0xf5)===_0xd04ab6),_0x1beb9c;}}class ko extends _0x531149{constructor(_0x686a95,_0x27f1bd){const _0x38f328=_0x1c71f6;super();const _0x10f2f5=this[_0x38f328(0xf8)],_0x53e725=this[_0x38f328(0xce)]();this[_0x38f328(0xd7)]({'tag':_0x38f328(0xbc),'attributes':{'class':['ck',_0x38f328(0xf6)],'style':_0x10f2f5['to'](_0x38f328(0xb8)),'id':_0x10f2f5['to']('id')},'children':[{'tag':_0x38f328(0xbc),'attributes':{'class':[tl]},'children':[{'text':_0x10f2f5['to'](_0x38f328(0xe6))}]},{'tag':_0x38f328(0xbc),'attributes':{'class':[el]},'children':[{'tag':_0x38f328(0xec),'children':[{'text':_0x27f1bd[_0x38f328(0xed)]}]}]},{'tag':_0x38f328(0xbc),'attributes':{'class':[il]},'children':_0x53e725}]}),_0x53e725[_0x38f328(0xe7)](this[_0x38f328(0xca)](_0x686a95,_0x2e0bf3,_0x38f328(0xb9),_0x27f1bd[_0x38f328(0xcc)][_0x38f328(0xba)]?.[_0x38f328(0xaf)]??!0x1)),_0x53e725[_0x38f328(0xe7)](this[_0x38f328(0xca)](_0x686a95,_0x161bfa,_0x38f328(0xd2),_0x27f1bd[_0x38f328(0xcc)][_0x38f328(0xd9)]?.[_0x38f328(0xaf)]??!0x1));}[_0x1c71f6(0xca)](_0x11395a,_0x39bc7c,_0x44c415,_0x12eb5a){const _0x59cb70=_0x1c71f6,_0x2d525a=new _0x1d8823();_0x2d525a[_0x59cb70(0xad)]=_0x39bc7c;const _0xab616d=new _0x4d4a85(_0x11395a);_0xab616d[_0x59cb70(0xd7)]({'tag':_0x59cb70(0xec),'children':[{'text':_0x45f806(_0x11395a,_0x44c415)+':\x20'}]});const _0x450b4e=new _0x4d4a85(_0x11395a);return _0x450b4e[_0x59cb70(0xd7)]({'tag':_0x59cb70(0xec),'children':[{'text':_0x45f806(_0x11395a,_0x12eb5a?_0x59cb70(0xf1):_0x59cb70(0xfe))}]}),[_0x2d525a,_0xab616d,_0x450b4e];}}function _0x54ea(_0x2c63d5,_0x1544e9){const _0x5a9ccb=_0x5a9c();return _0x54ea=function(_0x54ea42,_0x2c7756){_0x54ea42=_0x54ea42-0x9f;let _0x30f0d9=_0x5a9ccb[_0x54ea42];return _0x30f0d9;},_0x54ea(_0x2c63d5,_0x1544e9);}class _o extends _0x4d4a85{constructor(_0x503438){const _0x4feb63=_0x1c71f6;super(_0x503438),this[_0x4feb63(0xab)](_0x4feb63(0xe6),void 0x0),this[_0x4feb63(0xab)](_0x4feb63(0x100),!0x0);const _0x49b5fe=this[_0x4feb63(0xf8)];this[_0x4feb63(0xd7)]({'tag':_0x4feb63(0xec),'attributes':{'class':['ck',_0x4feb63(0xe0),_0x49b5fe['if'](_0x4feb63(0x100),_0x4feb63(0xe1),_0x37e677=>!_0x37e677)]},'children':[{'text':_0x49b5fe['to'](_0x4feb63(0xe6))}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0xa88d(_0x3c9086,_0x1263b1){const _0x518e19=_0x518e();return _0xa88d=function(_0xa88da3,_0x6464cf){_0xa88da3=_0xa88da3-0xda;let _0x4e7323=_0x518e19[_0xa88da3];return _0x4e7323;},_0xa88d(_0x3c9086,_0x1263b1);}const _0x3948bd=_0xa88d;(function(_0x5a7a8f,_0x159148){const _0x3cee96=_0xa88d,_0x48cadd=_0x5a7a8f();while(!![]){try{const _0x50974a=-parseInt(_0x3cee96(0xf2))/0x1+-parseInt(_0x3cee96(0x113))/0x2*(parseInt(_0x3cee96(0xe9))/0x3)+-parseInt(_0x3cee96(0x114))/0x4*(-parseInt(_0x3cee96(0x10b))/0x5)+parseInt(_0x3cee96(0x112))/0x6*(parseInt(_0x3cee96(0xdf))/0x7)+parseInt(_0x3cee96(0xe6))/0x8+parseInt(_0x3cee96(0x118))/0x9*(parseInt(_0x3cee96(0xf7))/0xa)+-parseInt(_0x3cee96(0x108))/0xb*(parseInt(_0x3cee96(0x106))/0xc);if(_0x50974a===_0x159148)break;else _0x48cadd['push'](_0x48cadd['shift']());}catch(_0x1c9525){_0x48cadd['push'](_0x48cadd['shift']());}}}(_0x518e,0xeb736));import{IconSubmit as _0x2cd8a7}from'ckeditor5/src/icons.js';import{ButtonView as _0x244f08,AutocompleteView as _0x23682e,createLabeledTextarea as _0xd6241e}from'ckeditor5/src/ui.js';function _0x518e(){const _0x566b50=['value','requestAnimationFrame','242588GlPnhm','isEmpty','locale','element','hasError','427580eEUegO','_queryViewResizeObserver','AI_CHAT_LABEL_SUBMIT','style','errorText','target','enter','contains','fire','focus','fieldView','ck-ai-chat__prompt-input_highlighted','keystrokes','width','MIN_ROWS','12suYYVj','reset','6172309YURrLO','submitButtonView','bind','1285375SnhThw','minRows','ck-ai-chat__prompt-input','MAX_ROWS','placeholder','isEnabled','isUploadInProgress','2395134WqlkZr','66238RWEBqk','4vJcEUc','setIsUploadInProgress','px\x20-\x20var(--ck-spacing-tiny))','rtl','216JTRtyq','_createSubmitButton','uiLanguageDirection','_addContextButtonView','left','fieldWrapperChildren','queryView','set','render','ck-ai-chat__prompt-submit-button','setPlaceholderText','add','excludeScrollbarsAndBorders','destroy','submit','7iLDhQM','classList','trim','right','update','sendUserMessage','_setUpAddContextButtonPositioning','7309056zSNvvr','execute','maxRows','75ofPomA','remove','calc(','focusableChildren','extendTemplate','window','AI_CHAT_PROMPT_EMPTY_ERROR'];_0x518e=function(){return _0x566b50;};return _0x518e();}import{global as _0x562797,isVisible as _0x352b85,Rect as _0x1ee1a6,ResizeObserver as _0x12709d}from'ckeditor5/src/utils.js';import{getTranslation as _0x1a6ba0}from'../../../aicore/utils/common-translations.js';import{AIChatPromptSuggestionsListView as _0x117c59}from'./aichatpromptsuggestionslistview.js';import{escape as _0x13a4ad}from'es-toolkit/compat';const ah=_0x3948bd(0x102);export class AIChatPromptInputView extends _0x23682e{[_0x3948bd(0x109)];static [_0x3948bd(0x105)]=0x1;static [_0x3948bd(0x10e)]=0xc;[_0x3948bd(0x11b)];[_0x3948bd(0xf8)];constructor(_0x2dd5b8,_0x5dd60c){const _0x149bd8=_0x3948bd;super(_0x2dd5b8,{'queryView':{'label':'','creator':_0xd6241e,'showIcon':!0x1,'showResetButton':!0x1},'filteredView':new _0x117c59(_0x2dd5b8),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1}),this[_0x149bd8(0x11f)](_0x149bd8(0xf3),!0x0),this[_0x149bd8(0x11f)](_0x149bd8(0x111),!0x1),this[_0x149bd8(0x11b)]=_0x5dd60c,this[_0x149bd8(0xf8)]=null,this[_0x149bd8(0x11e)][_0x149bd8(0x101)][_0x149bd8(0x10c)]=AIChatPromptInputView[_0x149bd8(0x105)],this[_0x149bd8(0x11e)][_0x149bd8(0x101)][_0x149bd8(0xe8)]=AIChatPromptInputView[_0x149bd8(0x10e)],this[_0x149bd8(0x11e)][_0x149bd8(0x11d)][_0x149bd8(0xdb)](this[_0x149bd8(0x11b)]),this[_0x149bd8(0xe5)](),this[_0x149bd8(0xed)]({'attributes':{'class':['ck',_0x149bd8(0x10d)]}}),this[_0x149bd8(0x109)]=this[_0x149bd8(0x119)](),this[_0x149bd8(0x109)][_0x149bd8(0x10a)](_0x149bd8(0x110))['to'](this,_0x149bd8(0xf3),this,_0x149bd8(0x111),(_0x18889c,_0x586ce3)=>!_0x18889c&&!_0x586ce3),this[_0x149bd8(0xec)][_0x149bd8(0xdb)](this[_0x149bd8(0x109)]);}[_0x3948bd(0x120)](){const _0x32bd79=_0x3948bd;super[_0x32bd79(0x120)](),this[_0x32bd79(0x11e)][_0x32bd79(0x11d)][_0x32bd79(0xdb)](this[_0x32bd79(0x109)]),this[_0x32bd79(0x103)][_0x32bd79(0x11f)](_0x32bd79(0xfd),(_0x32c426,_0x244d1e)=>{const _0x27991f=_0x32bd79;this[_0x27991f(0x111)]||this[_0x27991f(0xf3)]||_0x32c426[_0x27991f(0xfc)]==this[_0x27991f(0x11e)][_0x27991f(0x101)][_0x27991f(0xf5)]&&(this[_0x27991f(0xde)](),_0x244d1e());}),this[_0x32bd79(0x11e)][_0x32bd79(0x101)]['on'](_0x32bd79(0xe3),()=>{const _0x2b3b26=_0x32bd79;this[_0x2b3b26(0xf3)]=''===this[_0x2b3b26(0x11e)][_0x2b3b26(0x101)][_0x2b3b26(0xf5)][_0x2b3b26(0xf0)]?.[_0x2b3b26(0xe1)]();});}[_0x3948bd(0xdd)](){const _0x462481=_0x3948bd;super[_0x462481(0xdd)](),this[_0x462481(0xf8)]&&this[_0x462481(0xf8)][_0x462481(0xdd)]();}[_0x3948bd(0xde)](){const _0x1f6b8f=_0x3948bd,_0x485595=this[_0x1f6b8f(0x11e)][_0x1f6b8f(0x101)][_0x1f6b8f(0xf5)][_0x1f6b8f(0xf0)]?.[_0x1f6b8f(0xe1)]();if(!_0x485595)return this[_0x1f6b8f(0x11e)][_0x1f6b8f(0xfb)]=_0x1a6ba0(this[_0x1f6b8f(0xf4)],_0x1f6b8f(0xef)),void(this[_0x1f6b8f(0x11e)][_0x1f6b8f(0x101)][_0x1f6b8f(0xf6)]=!0x0);this[_0x1f6b8f(0x11e)][_0x1f6b8f(0x101)][_0x1f6b8f(0xf6)]=!0x1;const _0x174da6=_0x13a4ad(_0x485595);this[_0x1f6b8f(0xff)](_0x1f6b8f(0xe4),_0x174da6),this[_0x1f6b8f(0x11e)][_0x1f6b8f(0x101)][_0x1f6b8f(0x107)]();}[_0x3948bd(0xda)](_0x5c3bdc){const _0x56370b=_0x3948bd;this[_0x56370b(0x11e)][_0x56370b(0x101)][_0x56370b(0x11f)](_0x56370b(0x10f),_0x5c3bdc);}[_0x3948bd(0x100)](_0x3e08c7=!0x1){const _0x5e8ff6=_0x3948bd;super[_0x5e8ff6(0x100)](),_0x3e08c7&&(this[_0x5e8ff6(0xf5)][_0x5e8ff6(0xe0)][_0x5e8ff6(0xfe)](ah)||(this[_0x5e8ff6(0xf5)][_0x5e8ff6(0xe0)][_0x5e8ff6(0xdb)](ah),setTimeout(()=>{const _0x3632f0=_0x5e8ff6;this[_0x3632f0(0xf5)][_0x3632f0(0xe0)][_0x3632f0(0xea)](ah);},0x320)));}[_0x3948bd(0x119)](){const _0x4ca62a=_0x3948bd,_0x2366ca=new _0x244f08(this[_0x4ca62a(0xf4)]);return _0x2366ca[_0x4ca62a(0x11f)]({'icon':_0x2cd8a7,'label':_0x1a6ba0(this[_0x4ca62a(0xf4)],_0x4ca62a(0xf9)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x4ca62a(0x121),'isEnabled':!0x1}),_0x2366ca['on'](_0x4ca62a(0xe7),()=>{const _0x327316=_0x4ca62a;this[_0x327316(0xde)]();}),_0x2366ca;}[_0x3948bd(0x115)](_0x36c9ee){const _0x41772b=_0x3948bd;this[_0x41772b(0x111)]=_0x36c9ee;}[_0x3948bd(0xe5)](){const _0x388a36=_0x3948bd,_0x509b97=this[_0x388a36(0xf4)],_0x3956a8=()=>{const _0x5dc6f8=_0x388a36;_0x562797[_0x5dc6f8(0xee)][_0x5dc6f8(0xf1)](()=>{const _0xe8f725=_0x5dc6f8;if(_0x352b85(this[_0xe8f725(0xf5)])){const _0x13c0c6=new _0x1ee1a6(this[_0xe8f725(0x11e)][_0xe8f725(0x101)][_0xe8f725(0xf5)]),_0x1f66a=new _0x1ee1a6(this[_0xe8f725(0x11b)][_0xe8f725(0xf5)]),_0x55c4d5=_0x13c0c6[_0xe8f725(0x104)],_0x358683=_0xe8f725(0x117)===_0x509b97[_0xe8f725(0x11a)]?_0xe8f725(0xe2):_0xe8f725(0x11c);_0x13c0c6[_0xe8f725(0xdc)]();const _0x52dddb=_0x55c4d5-_0x13c0c6[_0xe8f725(0x104)]+0x1;this[_0xe8f725(0x11b)][_0xe8f725(0xf5)][_0xe8f725(0xfa)][_0x358683]=_0xe8f725(0xeb)+(_0x55c4d5-_0x1f66a[_0xe8f725(0x104)]-_0x52dddb)+_0xe8f725(0x116);}});};this[_0x388a36(0x11e)][_0x388a36(0x101)]['on'](_0x388a36(0xe3),_0x3956a8),this['on'](_0x388a36(0x120),()=>{const _0x524b3e=_0x388a36;_0x3956a8(),this[_0x524b3e(0xf8)]=new _0x12709d(this[_0x524b3e(0x11e)][_0x524b3e(0x101)][_0x524b3e(0xf5)],()=>{_0x3956a8();});});}}
|