@ckeditor/ckeditor5-ai 47.6.1 → 47.6.2
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 _0x1b3744=_0x3c36;(function(_0x1229f4,_0x40fba8){const _0x2e23bb=_0x3c36,_0x25a8a6=_0x1229f4();while(!![]){try{const _0x3d071e=-parseInt(_0x2e23bb(0xb7))/0x1+parseInt(_0x2e23bb(0xa1))/0x2*(-parseInt(_0x2e23bb(0xa8))/0x3)+-parseInt(_0x2e23bb(0xac))/0x4+-parseInt(_0x2e23bb(0xad))/0x5*(parseInt(_0x2e23bb(0xb1))/0x6)+parseInt(_0x2e23bb(0x9a))/0x7+parseInt(_0x2e23bb(0x8d))/0x8*(-parseInt(_0x2e23bb(0x9f))/0x9)+-parseInt(_0x2e23bb(0x99))/0xa*(-parseInt(_0x2e23bb(0xa9))/0xb);if(_0x3d071e===_0x40fba8)break;else _0x25a8a6['push'](_0x25a8a6['shift']());}catch(_0x1e3f32){_0x25a8a6['push'](_0x25a8a6['shift']());}}}(_0x5ee5,0xf3367));import _0x9efbf0 from'morphdom';import{NodeWithChildren as _0x3c0ef9,Text as _0x20be0f,Element as _0x3d2701,isText as _0x494fb6,isDocument as _0x506068,isTag as _0x5ead01,cloneNode as _0x3e7b58,getChildren as _0x29d1d6,prepend as _0x204b3b,removeElement as _0x24dfc2,textContent as _0x34b2e4,render as _0x34ab87}from'./htmlparser.js';function _0x3c36(_0xe1e711,_0x4ebe85){const _0x5ee5dc=_0x5ee5();return _0x3c36=function(_0x3c3640,_0x4d1794){_0x3c3640=_0x3c3640-0x80;let _0xe72725=_0x5ee5dc[_0x3c3640];return _0xe72725;},_0x3c36(_0xe1e711,_0x4ebe85);}export class HTMLStreamer{[_0x1b3744(0x94)];[_0x1b3744(0xab)]=!0x1;[_0x1b3744(0x8b)]=null;[_0x1b3744(0x91)]=[];[_0x1b3744(0xbd)]=0x0;[_0x1b3744(0x9e)]=null;[_0x1b3744(0x83)]=0x0;constructor(_0x37711e){const _0x2f69a7=_0x1b3744;this[_0x2f69a7(0x94)]={'delay':_0x37711e[_0x2f69a7(0xaf)]??0x14,'textNodeStyle':_0x37711e[_0x2f69a7(0x82)],'onStreamUpdate':_0x37711e[_0x2f69a7(0xb9)]||(()=>{})};}async[_0x1b3744(0xa3)]({document:_0xfc88f,targetElement:_0x16fabb,abortSignal:_0x3333d8}){const _0x2b219f=_0x1b3744;this[_0x2b219f(0xab)]&&this[_0x2b219f(0xbe)](),_0x3333d8?.[_0x2b219f(0xa4)](_0x2b219f(0xb8),this[_0x2b219f(0xbe)][_0x2b219f(0xa7)](this)),this[_0x2b219f(0x8b)]=_0x3e7b58(_0xfc88f,!0x0),this[_0x2b219f(0x91)]=this[_0x2b219f(0x98)](),this[_0x2b219f(0xab)]=!0x0,this[_0x2b219f(0xbd)]>this[_0x2b219f(0x91)][_0x2b219f(0x88)]&&(this[_0x2b219f(0xbd)]=this[_0x2b219f(0x91)][_0x2b219f(0x88)]);for(let _0x4ca113=0x0;_0x4ca113<this[_0x2b219f(0xbd)];_0x4ca113++)this[_0x2b219f(0x91)][_0x4ca113][_0x2b219f(0xa5)]=!0x0;do{const _0x20fcf7=Date[_0x2b219f(0x87)](),_0x3f33dc=this[_0x2b219f(0x91)][this[_0x2b219f(0xbd)]],_0x558407=_0x20fcf7-this[_0x2b219f(0x83)];if(_0x3f33dc){_0x3f33dc[_0x2b219f(0xa5)]=!0x0;let _0x25fbfc=_0x3f33dc[_0x2b219f(0x89)];for(;_0x25fbfc;)_0x25fbfc[_0x2b219f(0xa5)]=!0x0,_0x25fbfc=_0x25fbfc[_0x2b219f(0x89)];}if(_0x558407<this[_0x2b219f(0x94)][_0x2b219f(0xaf)])try{const {promise:_0xf9f276,abortController:_0x4d6df8}=Us(this[_0x2b219f(0x94)][_0x2b219f(0xaf)]-_0x558407);this[_0x2b219f(0x9e)]=_0x4d6df8,await _0xf9f276;}catch(_0x1399e7){return;}_0x9efbf0(_0x16fabb,'<'+_0x16fabb[_0x2b219f(0x8f)]+'>'+this[_0x2b219f(0xbb)](this[_0x2b219f(0x8b)])+'</'+_0x16fabb[_0x2b219f(0x8f)]+'>',{'childrenOnly':!0x0}),this[_0x2b219f(0x94)][_0x2b219f(0xb9)]&&this[_0x2b219f(0x94)][_0x2b219f(0xb9)](),this[_0x2b219f(0xbd)]++,this[_0x2b219f(0x83)]=Date[_0x2b219f(0x87)]();}while(this[_0x2b219f(0xbd)]<this[_0x2b219f(0x91)][_0x2b219f(0x88)]);this[_0x2b219f(0xbd)]=this[_0x2b219f(0x91)][_0x2b219f(0x88)],this[_0x2b219f(0xab)]=!0x1;}[_0x1b3744(0x96)](){const _0x9881a6=_0x1b3744;this[_0x9881a6(0xab)]=!0x1,this[_0x9881a6(0x8b)]=null,this[_0x9881a6(0x91)]=[],this[_0x9881a6(0xbd)]=0x0,this[_0x9881a6(0x9e)]=null;}[_0x1b3744(0xb5)]({targetElement:_0xd5f894}){const _0x1b41e2=_0x1b3744;Array[_0x1b41e2(0xa6)](_0xd5f894[_0x1b41e2(0xb6)](_0x1b41e2(0x8e)))[_0x1b41e2(0xaa)]()[_0x1b41e2(0xa2)](_0x231eb6=>{const _0x5e51fd=_0x1b41e2;_0x231eb6[_0x5e51fd(0xa0)](_0x231eb6[_0x5e51fd(0x8a)][0x0]);});}[_0x1b3744(0xbe)](){const _0x44065d=_0x1b3744;this[_0x44065d(0xab)]=!0x1,this[_0x44065d(0x9e)]&&(this[_0x44065d(0x9e)][_0x44065d(0xb8)](),this[_0x44065d(0x9e)]=null);}[_0x1b3744(0xbb)](_0x1ee87a){const _0x54aa3e=_0x1b3744;let _0x5a21fd='';if(function(_0x15e5f3){return _0x506068(_0x15e5f3);}(_0x1ee87a)){for(const _0x1a16ef of _0x1ee87a[_0x54aa3e(0xb4)])_0x5a21fd+=this[_0x54aa3e(0xbb)](_0x1a16ef);}else{if(Ls(_0x1ee87a)){if(!_0x1ee87a[_0x54aa3e(0xa5)])return'';const _0x5239e7=_0x1ee87a,_0x1f76ff=Object[_0x54aa3e(0x92)](_0x5239e7[_0x54aa3e(0xb0)])[_0x54aa3e(0x93)](([_0x4e39a0,_0x3a801b])=>_0x4e39a0+'=\x22'+_0x3a801b+'\x22')[_0x54aa3e(0x80)]('\x20');_0x5a21fd+='<'+_0x5239e7[_0x54aa3e(0x8f)]+(_0x1f76ff?'\x20'+_0x1f76ff:'')+'>';for(const _0x4f17fd of _0x29d1d6(_0x5239e7))_0x5a21fd+=this[_0x54aa3e(0xbb)](_0x4f17fd);_0x5a21fd+='</'+_0x5239e7[_0x54aa3e(0x8f)]+'>';}else{if(!Ds(_0x1ee87a))return'';if(!_0x1ee87a[_0x54aa3e(0xa5)])return'';!function(_0x4b0f5c){const _0xd4591b=_0x54aa3e;if(!_0x4b0f5c[_0xd4591b(0x89)]||!Ls(_0x4b0f5c[_0xd4591b(0x89)]))return!0x1;if(!Ts[_0xd4591b(0xb3)](_0x4b0f5c[_0xd4591b(0x89)][_0xd4591b(0x8f)]))return!0x1;return!_0x34b2e4(_0x4b0f5c)[_0xd4591b(0xba)](/^\s*[<>]\s*$/);}(_0x1ee87a)?_0x5a21fd+=_0x34ab87(_0x1ee87a):_0x5a21fd+=_0x34ab87(new _0x3d2701(_0x54aa3e(0x9c),{'data-ck-html-streamer-word-chunk':'','style':this[_0x54aa3e(0x94)][_0x54aa3e(0x82)]},[_0x1ee87a]));}}return _0x5a21fd;}[_0x1b3744(0x98)](){const _0x5ca3b8=_0x1b3744,_0x3c934f=[];return function(_0x391b17,_0x1a48b2){const _0x3557fc=_0x3c36,_0x5108d7=_0x3b4d64=>{const _0x4deb7c=_0x3c36;if(_0x1a48b2(_0x3b4d64),_0x3b4d64 instanceof _0x3c0ef9)for(let _0x154d40=0x0;_0x154d40<_0x3b4d64[_0x4deb7c(0xb4)][_0x4deb7c(0x88)];_0x154d40++){const _0x32ef16=_0x3b4d64[_0x4deb7c(0xb4)][_0x154d40];_0x5108d7(_0x32ef16);}};for(let _0x92ebfe=0x0;_0x92ebfe<_0x391b17[_0x3557fc(0xb4)][_0x3557fc(0x88)];_0x92ebfe++)_0x5108d7(_0x391b17[_0x3557fc(0xb4)][_0x92ebfe]);}(this[_0x5ca3b8(0x8b)],_0x5b4d6a=>{const _0x4fe475=_0x5ca3b8;if(Ds(_0x5b4d6a)){const _0x1d726e=this[_0x4fe475(0x95)](_0x5b4d6a);_0x1d726e[_0x4fe475(0x88)]&&_0x3c934f[_0x4fe475(0x85)](..._0x1d726e);}_0x5b4d6a[_0x4fe475(0x86)]||_0x5b4d6a[_0x4fe475(0x90)]||_0x3c934f[_0x4fe475(0x85)](_0x5b4d6a);}),_0x3c934f;}[_0x1b3744(0x95)](_0x3fcfcd){const _0x34a2b9=_0x1b3744;if(_0x3fcfcd[_0x34a2b9(0x86)]||_0x3fcfcd[_0x34a2b9(0x90)])return[];const _0x286857=_0x34b2e4(_0x3fcfcd)[_0x34a2b9(0xba)](/(?:\s*\S+\s*)/g),_0x32be23=[];if(_0x286857&&_0x286857[_0x34a2b9(0x88)]>0x1){for(const _0x18117c of _0x286857){const _0x20f258=new _0x20be0f(_0x18117c);_0x20f258[_0x34a2b9(0x90)]=!0x0,_0x204b3b(_0x3fcfcd,_0x20f258),_0x32be23[_0x34a2b9(0x85)](_0x20f258);}_0x3fcfcd[_0x34a2b9(0x86)]=!0x0,_0x24dfc2(_0x3fcfcd);}return _0x32be23;}}function _0x5ee5(){const _0x2420c8=['textNodeStyle','lastUpdateTime','ins','push','isWordSplitSource','now','length','parent','childNodes','document','code','72slcGGM','span[data-ck-html-streamer-word-chunk]','tagName','isWordSplitResult','nodesList','entries','map','options','splitTextNodeIntoWordNodes','reset','sub','getParsedDocumentNodeList','20KsAUXf','7012131SHgKLF','mark','span','div','timeoutAbortController','1456308jBzrrH','replaceWith','94lTIunU','forEach','stream','addEventListener','shouldBeStreamed','from','bind','59664kaJCVi','34153031CPfKJU','reverse','isStreaming','2251388RSgMng','25dFAQEs','sup','delay','attribs','2308350dfPUlP','del','includes','children','cleanUpAnimations','querySelectorAll','1337660EjLSLL','abort','onStreamUpdate','match','renderNode','signal','currentIndex','stop','join','strong'];_0x5ee5=function(){return _0x2420c8;};return _0x5ee5();}const Ts=['p','li','td','th',_0x1b3744(0x9c),'h1','h2','h3','h4','h5','h6','b',_0x1b3744(0x81),'i','em',_0x1b3744(0x9b),_0x1b3744(0xb2),_0x1b3744(0x84),_0x1b3744(0xae),_0x1b3744(0x97),'a',_0x1b3744(0x8c),_0x1b3744(0x9d)];function Ds(_0x3f6016){return _0x494fb6(_0x3f6016);}function Ls(_0x1d5048){return _0x5ead01(_0x1d5048);}function Us(_0x5decec){const _0x22e262=new AbortController();return{'promise':new Promise((_0x4700bf,_0x21d8ce)=>{const _0x16c7ab=_0x3c36,_0x2eb5d1=setTimeout(_0x4700bf,_0x5decec);_0x22e262[_0x16c7ab(0xbc)][_0x16c7ab(0xa4)](_0x16c7ab(0xb8),()=>{clearTimeout(_0x2eb5d1),_0x21d8ce();});}),'abortController':_0x22e262};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4a83a6=_0x3783;(function(_0x24f6ca,_0x1f837d){const _0x54bf0a=_0x3783,_0x32fcc6=_0x24f6ca();while(!![]){try{const _0x5c45c5=-parseInt(_0x54bf0a(0x125))/0x1*(parseInt(_0x54bf0a(0x12b))/0x2)+parseInt(_0x54bf0a(0x11a))/0x3*(parseInt(_0x54bf0a(0x127))/0x4)+parseInt(_0x54bf0a(0x129))/0x5+parseInt(_0x54bf0a(0x105))/0x6*(-parseInt(_0x54bf0a(0x10d))/0x7)+-parseInt(_0x54bf0a(0x106))/0x8*(-parseInt(_0x54bf0a(0x130))/0x9)+-parseInt(_0x54bf0a(0x11d))/0xa+parseInt(_0x54bf0a(0x12f))/0xb;if(_0x5c45c5===_0x1f837d)break;else _0x32fcc6['push'](_0x32fcc6['shift']());}catch(_0x28a591){_0x32fcc6['push'](_0x32fcc6['shift']());}}}(_0x205b,0x8d408));function _0x205b(){const _0x4218e2=['78568mtNBlt','type','includes','bind','isUserPaused','scrollHeight','start','42ToYfTm','ArrowUp','stop','isRunning','key','_isAtBottom','PageDown','_rafUpdate','wheel','pointerdown','ArrowDown','addEventListener','destroy','303324qcBUjo','animationFrameId','auto','10795320VLCOZr','PageUp','_stop','deltaY','signal','keydown','abort','Home','1jtzumS','scrollTo','4WzLtxW','End','2531125Yskeug','element','2277832kHbZrl','abortController','touchstart','_onUserEvent','24895464SVJQFS','909nqtrui','1065462tpHbmi'];_0x205b=function(){return _0x4218e2;};return _0x205b();}function _0x3783(_0x5085f3,_0x2c4fab){const _0x205bd3=_0x205b();return _0x3783=function(_0x378354,_0x2fb4fa){_0x378354=_0x378354-0x105;let _0x54a7b9=_0x205bd3[_0x378354];return _0x54a7b9;},_0x3783(_0x5085f3,_0x2c4fab);}const Fs=[_0x4a83a6(0x115),_0x4a83a6(0x12d),_0x4a83a6(0x116),_0x4a83a6(0x122)],qs=[_0x4a83a6(0x10e),_0x4a83a6(0x117),_0x4a83a6(0x11e),_0x4a83a6(0x113),_0x4a83a6(0x124),_0x4a83a6(0x128),'\x20'];export class ScrollManager{[_0x4a83a6(0x12a)];[_0x4a83a6(0x11b)];[_0x4a83a6(0x110)];[_0x4a83a6(0x12c)];[_0x4a83a6(0x10a)];constructor(_0x593042){const _0xcab032=_0x4a83a6;this[_0xcab032(0x12a)]=_0x593042,this[_0xcab032(0x11b)]=null,this[_0xcab032(0x110)]=!0x1,this[_0xcab032(0x12c)]=new AbortController(),this[_0xcab032(0x10a)]=!0x1;for(const _0x1055d0 of Fs){const _0x295a65=_0xcab032(0x122)!==_0x1055d0;this[_0xcab032(0x12a)][_0xcab032(0x118)](_0x1055d0,this[_0xcab032(0x12e)][_0xcab032(0x109)](this),{'passive':_0x295a65,'signal':this[_0xcab032(0x12c)][_0xcab032(0x121)]});}}[_0x4a83a6(0x10c)](){const _0x15965e=_0x4a83a6;this[_0x15965e(0x110)]||(this[_0x15965e(0x110)]=!0x0,this[_0x15965e(0x10a)]=!0x1,this[_0x15965e(0x11b)]=requestAnimationFrame(this[_0x15965e(0x114)][_0x15965e(0x109)](this)));}[_0x4a83a6(0x10f)](){requestAnimationFrame(()=>{const _0x42f4dc=_0x3783;this[_0x42f4dc(0x11f)]();});}[_0x4a83a6(0x119)](){const _0x2b1632=_0x4a83a6;this[_0x2b1632(0x11f)](),this[_0x2b1632(0x12c)][_0x2b1632(0x123)]();}[_0x4a83a6(0x11f)](){const _0x599abf=_0x4a83a6;null!==this[_0x599abf(0x11b)]&&(cancelAnimationFrame(this[_0x599abf(0x11b)]),this[_0x599abf(0x11b)]=null),this[_0x599abf(0x110)]&&(this[_0x599abf(0x110)]=!0x1),this[_0x599abf(0x10a)]=!0x1;}[_0x4a83a6(0x12e)](_0x2761c7){const _0x5a4427=_0x4a83a6;if(this[_0x5a4427(0x110)]){if(_0x5a4427(0x122)===_0x2761c7[_0x5a4427(0x107)]){const _0x57ca67=_0x2761c7[_0x5a4427(0x111)];if(!qs[_0x5a4427(0x108)](_0x57ca67))return;}_0x2761c7 instanceof WheelEvent?_0x2761c7[_0x5a4427(0x120)]<0x0?this[_0x5a4427(0x10a)]=!0x0:this[_0x5a4427(0x10a)]=!this[_0x5a4427(0x112)]():this[_0x5a4427(0x10a)]=!0x0;}}[_0x4a83a6(0x112)](){const _0x545e90=_0x4a83a6,{scrollTop:_0x1b05e9,scrollHeight:_0x41c456,clientHeight:_0x2cd89e}=this[_0x545e90(0x12a)];return _0x41c456-_0x1b05e9-_0x2cd89e<=0x5;}[_0x4a83a6(0x114)](){const _0x177085=_0x4a83a6;this[_0x177085(0x110)]&&(this[_0x177085(0x10a)]||this[_0x177085(0x12a)][_0x177085(0x126)]({'top':this[_0x177085(0x12a)][_0x177085(0x10b)],'behavior':_0x177085(0x11c)}),this[_0x177085(0x11b)]=requestAnimationFrame(this[_0x177085(0x114)][_0x177085(0x109)](this)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x1bbb49=_0x43a9;function _0x4136(){var _0x2d1a67=['5oIyUWo','1950390JtTIqi','pluginName','1157391EXgVFJ','24cUobvl','268160saFozq','isOfficialPlugin','requires','338335tpQHeu','2467536aORcNO','AIEditorIntegration','1548279ExqjDf','isPremiumPlugin','5985TlDQZF'];_0x4136=function(){return _0x2d1a67;};return _0x4136();}(function(_0x433465,_0x2ae1ad){var _0x518254=_0x43a9,_0x3b954a=_0x433465();while(!![]){try{var _0x7ded52=-parseInt(_0x518254(0x1ed))/0x1+parseInt(_0x518254(0x1e6))/0x2+-parseInt(_0x518254(0x1f0))/0x3+-parseInt(_0x518254(0x1ea))/0x4*(-parseInt(_0x518254(0x1f3))/0x5)+parseInt(_0x518254(0x1ee))/0x6+parseInt(_0x518254(0x1f2))/0x7*(parseInt(_0x518254(0x1e9))/0x8)+parseInt(_0x518254(0x1e8))/0x9;if(_0x7ded52===_0x2ae1ad)break;else _0x3b954a['push'](_0x3b954a['shift']());}catch(_0x109b29){_0x3b954a['push'](_0x3b954a['shift']());}}}(_0x4136,0xb2473));import{Plugin as _0x263a3a}from'ckeditor5/src/core.js';function _0x43a9(_0x27a3df,_0x338275){var _0x41363c=_0x4136();return _0x43a9=function(_0x43a97a,_0xbe8093){_0x43a97a=_0x43a97a-0x1e6;var _0x23bd02=_0x41363c[_0x43a97a];return _0x23bd02;},_0x43a9(_0x27a3df,_0x338275);}import{AIToggleButtonUI as _0x22b263}from'./aitogglebutton/aitogglebuttonui.js';import{AIChatBalloon as _0x1a183a}from'../aichat/aichatballoon.js';import{SuggestionsConversion as _0x5f57a7}from'ckeditor5-collaboration/src/collaboration-core.js';export class AIEditorIntegration extends _0x263a3a{static get[_0x1bbb49(0x1ec)](){return[_0x22b263,_0x1a183a,_0x5f57a7];}static get[_0x1bbb49(0x1e7)](){var _0xf1fd=_0x1bbb49;return _0xf1fd(0x1ef);}static get[_0x1bbb49(0x1eb)](){return!0x0;}static get[_0x1bbb49(0x1f1)](){return!0x0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x269b(_0x51c4ba,_0x446c58){const _0x390c44=_0x390c();return _0x269b=function(_0x269bab,_0x211b6b){_0x269bab=_0x269bab-0xc0;let _0x364684=_0x390c44[_0x269bab];return _0x364684;},_0x269b(_0x51c4ba,_0x446c58);}const _0x43584a=_0x269b;(function(_0x1fea55,_0x2046b6){const _0x368244=_0x269b,_0x7c9e63=_0x1fea55();while(!![]){try{const _0x421ab6=parseInt(_0x368244(0xdc))/0x1+parseInt(_0x368244(0xc3))/0x2+-parseInt(_0x368244(0xc5))/0x3+-parseInt(_0x368244(0xda))/0x4+parseInt(_0x368244(0xce))/0x5+-parseInt(_0x368244(0xd5))/0x6+-parseInt(_0x368244(0xdd))/0x7*(-parseInt(_0x368244(0xcc))/0x8);if(_0x421ab6===_0x2046b6)break;else _0x7c9e63['push'](_0x7c9e63['shift']());}catch(_0x240639){_0x7c9e63['push'](_0x7c9e63['shift']());}}}(_0x390c,0x71c42));function _0x390c(){const _0x270818=['1229072AtpLXq','init','801329ySBDUV','18004juAoNy','menuBar:toggleAi','locale','commands','componentFactory','listenTo','execute','788944iPoKIz','ck-ai-toggle-button','2642559VsMsSj','isOn','AI_TOGGLE_BUTTON_LABEL','isPremiumPlugin','menuitemcheckbox','get','toggleAi','2848zeViCg','value','2224310cELMgV','AIToggleButtonUI','set','editor','add','bind','requires','5413128OTymmT','pluginName','isOfficialPlugin','_createAIUIButton','isEnabled'];_0x390c=function(){return _0x270818;};return _0x390c();}import{Plugin as _0x3c89e7}from'ckeditor5/src/core.js';import{ToggleAICommand as _0x4338ca}from'./toggleaicommand.js';import{ButtonView as _0x2c6087,MenuBarMenuListItemButtonView as _0xa6ce38}from'ckeditor5/src/ui.js';import{IconAIAskAI as _0x54558c}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x21642e}from'../../aicore/utils/common-translations.js';import{AITabs as _0x1ad990}from'../../aitabs/aitabs.js';import'../../../theme/aieditorintegration/aitogglebutton.css';export class AIToggleButtonUI extends _0x3c89e7{static get[_0x43584a(0xd4)](){return[_0x1ad990];}static get[_0x43584a(0xd6)](){const _0x3571ad=_0x43584a;return _0x3571ad(0xcf);}static get[_0x43584a(0xd7)](){return!0x0;}static get[_0x43584a(0xc8)](){return!0x0;}[_0x43584a(0xdb)](){const _0x402171=_0x43584a,_0x3a9dd5=this[_0x402171(0xd1)];_0x3a9dd5[_0x402171(0xe0)][_0x402171(0xd2)](_0x402171(0xcb),new _0x4338ca(_0x3a9dd5)),_0x3a9dd5['ui'][_0x402171(0xc0)][_0x402171(0xd2)](_0x402171(0xcb),()=>{const _0x423e7f=_0x402171,_0x2fe0d9=this[_0x423e7f(0xd8)](_0x2c6087);return _0x2fe0d9[_0x423e7f(0xd0)]({'tooltip':!0x0,'class':_0x423e7f(0xc4)}),_0x2fe0d9;}),_0x3a9dd5['ui'][_0x402171(0xc0)][_0x402171(0xd2)](_0x402171(0xde),()=>{const _0x3c3dff=_0x402171,_0x497468=this[_0x3c3dff(0xd8)](_0xa6ce38);return _0x497468[_0x3c3dff(0xd0)]({'role':_0x3c3dff(0xc9)}),_0x497468;});}[_0x43584a(0xd8)](_0x4ee9d8){const _0x513c5f=_0x43584a,_0x9ff6fc=this[_0x513c5f(0xd1)],_0x28ba6c=_0x9ff6fc[_0x513c5f(0xe0)][_0x513c5f(0xca)](_0x513c5f(0xcb)),_0x4560c3=new _0x4ee9d8(_0x9ff6fc[_0x513c5f(0xdf)]);return _0x4560c3[_0x513c5f(0xd0)]({'label':_0x21642e(_0x9ff6fc[_0x513c5f(0xdf)],_0x513c5f(0xc7)),'icon':_0x54558c,'isToggleable':!0x0}),_0x4560c3[_0x513c5f(0xd3)](_0x513c5f(0xd9))['to'](_0x28ba6c),_0x4560c3[_0x513c5f(0xd3)](_0x513c5f(0xc6))['to'](_0x28ba6c,_0x513c5f(0xcd),_0x198589=>!!_0x198589),this[_0x513c5f(0xc1)](_0x4560c3,_0x513c5f(0xc2),()=>{const _0x43b2fa=_0x513c5f;_0x28ba6c[_0x43b2fa(0xc2)]();}),_0x4560c3;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x144a61=_0xffaa;function _0x9666(){const _0x9cea45=['plugins','isEnabled','view','1249858ekhazb','isVisible','4657982EIGuio','351lyqFdd','114147fPvNDW','AITabs','value','get','editor','1007772ILSbYW','145448IxXJWs','2254062PVSbui','18KijFjT','110290kRbBhv','execute','bind'];_0x9666=function(){return _0x9cea45;};return _0x9666();}(function(_0x210be8,_0x3ae124){const _0x150cae=_0xffaa,_0x48d26a=_0x210be8();while(!![]){try{const _0x55e59f=parseInt(_0x150cae(0xd0))/0x1+-parseInt(_0x150cae(0xdf))/0x2+-parseInt(_0x150cae(0xd7))/0x3+parseInt(_0x150cae(0xd5))/0x4+parseInt(_0x150cae(0xd9))/0x5*(parseInt(_0x150cae(0xd8))/0x6)+parseInt(_0x150cae(0xce))/0x7+-parseInt(_0x150cae(0xd6))/0x8*(-parseInt(_0x150cae(0xcf))/0x9);if(_0x55e59f===_0x3ae124)break;else _0x48d26a['push'](_0x48d26a['shift']());}catch(_0x5e7952){_0x48d26a['push'](_0x48d26a['shift']());}}}(_0x9666,0x69182));function _0xffaa(_0x45946a,_0x2d8f22){const _0x96661b=_0x9666();return _0xffaa=function(_0xffaa87,_0x3711cb){_0xffaa87=_0xffaa87-0xcd;let _0x30be39=_0x96661b[_0xffaa87];return _0x30be39;},_0xffaa(_0x45946a,_0x2d8f22);}import{Command as _0x28f602}from'ckeditor5/src/core.js';export class ToggleAICommand extends _0x28f602{constructor(_0xb52a16){const _0x1b33a9=_0xffaa;super(_0xb52a16);const _0x2552b8=_0xb52a16[_0x1b33a9(0xdc)][_0x1b33a9(0xd3)](_0x1b33a9(0xd1))[_0x1b33a9(0xde)];this[_0x1b33a9(0xdb)](_0x1b33a9(0xd2))['to'](_0x2552b8,_0x1b33a9(0xcd)),this[_0x1b33a9(0xdd)]=!0x0;}[_0x144a61(0xda)](){const _0x5c9835=_0x144a61,_0x2e2518=this[_0x5c9835(0xd4)][_0x5c9835(0xdc)][_0x5c9835(0xd3)](_0x5c9835(0xd1))[_0x5c9835(0xde)];_0x2e2518[_0x5c9835(0xcd)]=!_0x2e2518[_0x5c9835(0xcd)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x29c4(_0x71b044,_0xb81eb7){var _0x1394ff=_0x1394();return _0x29c4=function(_0x29c4e5,_0x3608dd){_0x29c4e5=_0x29c4e5-0x19f;var _0x20f539=_0x1394ff[_0x29c4e5];return _0x20f539;},_0x29c4(_0x71b044,_0xb81eb7);}var _0x56d273=_0x29c4;(function(_0x254649,_0x38aed6){var _0x5408a3=_0x29c4,_0x3c9348=_0x254649();while(!![]){try{var _0x363dc9=-parseInt(_0x5408a3(0x1a7))/0x1+parseInt(_0x5408a3(0x19f))/0x2+parseInt(_0x5408a3(0x1aa))/0x3+parseInt(_0x5408a3(0x1a6))/0x4*(-parseInt(_0x5408a3(0x1ab))/0x5)+parseInt(_0x5408a3(0x1ae))/0x6*(-parseInt(_0x5408a3(0x1ad))/0x7)+-parseInt(_0x5408a3(0x1a4))/0x8*(parseInt(_0x5408a3(0x1a1))/0x9)+parseInt(_0x5408a3(0x1a5))/0xa;if(_0x363dc9===_0x38aed6)break;else _0x3c9348['push'](_0x3c9348['shift']());}catch(_0x1eef67){_0x3c9348['push'](_0x3c9348['shift']());}}}(_0x1394,0xe6839));import{Plugin as _0x4b6261}from'ckeditor5/src/core.js';import{AIQuickActionsUI as _0xdc5d44}from'./aiquickactionsui.js';import{AIQuickActionsEditing as _0x492937}from'./aiquickactionsediting.js';function _0x1394(){var _0x2cc4f6=['requires','ai.quickActions','3128QxRmil','46764860evMVCf','963212uykdGl','1664239XWmDhW','isOfficialPlugin','pluginName','872385LnXGib','25AymWJn','AIQuickActions','7msHOmY','6034062iuvNiM','isPremiumPlugin','config','666658BzBVvR','define','11106yTcfXw'];_0x1394=function(){return _0x2cc4f6;};return _0x1394();}import{AIActions as _0x57bb30}from'../aiactions/aiactions.js';export class AIQuickActions extends _0x4b6261{static get[_0x56d273(0x1a2)](){return[_0xdc5d44,_0x492937,_0x57bb30];}static get[_0x56d273(0x1a9)](){var _0x2b7955=_0x56d273;return _0x2b7955(0x1ac);}static get[_0x56d273(0x1a8)](){return!0x0;}static get[_0x56d273(0x1af)](){return!0x0;}constructor(_0x26738a){var _0x40dbd5=_0x56d273;super(_0x26738a),_0x26738a[_0x40dbd5(0x1b0)][_0x40dbd5(0x1a0)](_0x40dbd5(0x1a3),{'extraCommands':[],'removeCommands':[],'isSearchEnabled':!0x0});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x2ec14e=_0x32d4;function _0x32d4(_0x1718d4,_0x3c2eb3){const _0x12786a=_0x1278();return _0x32d4=function(_0x32d481,_0x409c53){_0x32d481=_0x32d481-0x12a;let _0x5ce529=_0x12786a[_0x32d481];return _0x5ce529;},_0x32d4(_0x1718d4,_0x3c2eb3);}(function(_0x5e3c44,_0xeed221){const _0x1c3d38=_0x32d4,_0x360a80=_0x5e3c44();while(!![]){try{const _0x7a7e25=-parseInt(_0x1c3d38(0x13f))/0x1+-parseInt(_0x1c3d38(0x167))/0x2+-parseInt(_0x1c3d38(0x161))/0x3+-parseInt(_0x1c3d38(0x162))/0x4*(parseInt(_0x1c3d38(0x14f))/0x5)+-parseInt(_0x1c3d38(0x15b))/0x6*(parseInt(_0x1c3d38(0x157))/0x7)+parseInt(_0x1c3d38(0x15a))/0x8*(-parseInt(_0x1c3d38(0x166))/0x9)+parseInt(_0x1c3d38(0x159))/0xa*(parseInt(_0x1c3d38(0x160))/0xb);if(_0x7a7e25===_0xeed221)break;else _0x360a80['push'](_0x360a80['shift']());}catch(_0x51c9da){_0x360a80['push'](_0x360a80['shift']());}}}(_0x1278,0x46fc4));function _0x1278(){const _0x442023=['ask-ai','ai-quick-actions-plugin-not-found','model','removeSelectionFromChatContext','view','other','getLimitElement','isCollapsed','startConversation','change','activateTab','_handleAIActionsActionLabel','actionName','AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','ACTION','1075220QmiwSv','setSelection','isVisible','prompt','args','_handleAIReviewAction','focusPromptInput','_handleAIActionsAction','600901fxFgPp','locale','422330Ukbcmz','8zeClAS','30Tdhtlp','displayedPrompt','log','executeAction','AITabs','682pAhugS','1130577XKevaQ','4Fldghg','label','chat','editor','4493403fhYLiS','718014vQFAzs','handleAIReviewAction','CHAT','_expandSelectionIfCollapsed','_handleAIChatAction','document','type','parent','getSelectedBlocks','AIActions','icon','AIChat','get','sendMessage','execute','has','addSelectionToChatContext','plugins','AIChatController','REVIEW','activeTab','selection','AIReviewMode','schema','448298NoMhFs'];_0x1278=function(){return _0x442023;};return _0x1278();}import{Command as _0x82e4f3}from'ckeditor5/src/core.js';import{CKEditorError as _0x814c8e,first as _0x304e1c}from'ckeditor5/src/utils.js';import{AIQuickActionType as _0x23cdae}from'./aiquickactionsui.js';import{getTranslation as _0x45f31d}from'../aicore/utils/common-translations.js';export class AIQuickActionsCommand extends _0x82e4f3{[_0x2ec14e(0x135)](_0x2c36f0){const _0x278260=_0x2ec14e;switch(this[_0x278260(0x12a)](),_0x2c36f0[_0x278260(0x12d)]){case _0x23cdae[_0x278260(0x169)]:if(!this[_0x278260(0x165)][_0x278260(0x138)][_0x278260(0x136)](_0x278260(0x132))){const _0x37e552=_0x45f31d(this[_0x278260(0x165)][_0x278260(0x158)],_0x278260(0x14d),_0x278260(0x132));throw new _0x814c8e(_0x278260(0x141),this[_0x278260(0x165)],{'errorMessage':_0x37e552});}this[_0x278260(0x12b)](_0x2c36f0);break;case _0x23cdae[_0x278260(0x14e)]:if(!this[_0x278260(0x165)][_0x278260(0x138)][_0x278260(0x136)](_0x278260(0x130))){const _0x291f6b=_0x45f31d(this[_0x278260(0x165)][_0x278260(0x158)],_0x278260(0x14d),_0x278260(0x130));throw new _0x814c8e(_0x278260(0x141),this[_0x278260(0x165)],{'errorMessage':_0x291f6b});}this[_0x278260(0x156)](_0x2c36f0);break;case _0x23cdae[_0x278260(0x13a)]:if(!this[_0x278260(0x165)][_0x278260(0x138)][_0x278260(0x136)](_0x278260(0x13d))){const _0x3aa914=_0x45f31d(this[_0x278260(0x165)][_0x278260(0x158)],_0x278260(0x14d),_0x278260(0x13d));throw new _0x814c8e(_0x278260(0x141),this[_0x278260(0x165)],{'errorMessage':_0x3aa914});}this[_0x278260(0x154)](_0x2c36f0);}}async[_0x2ec14e(0x12b)](_0x3a0710){const _0x198906=_0x2ec14e,_0xe1820b=this[_0x198906(0x165)][_0x198906(0x138)][_0x198906(0x133)](_0x198906(0x132)),_0x3ff175=this[_0x198906(0x165)][_0x198906(0x138)][_0x198906(0x133)](_0x198906(0x139)),_0x59d9f0=this[_0x198906(0x165)][_0x198906(0x138)][_0x198906(0x133)](_0x198906(0x15f))[_0x198906(0x144)];if(_0x59d9f0[_0x198906(0x151)]||(_0x59d9f0[_0x198906(0x151)]=!0x0),_0x198906(0x164)!==_0x59d9f0[_0x198906(0x13b)]&&_0x59d9f0[_0x198906(0x14a)](_0x198906(0x164)),_0x198906(0x140)===_0x3a0710['id'])_0x3ff175[_0x198906(0x143)](),await _0xe1820b[_0x198906(0x137)](),_0xe1820b[_0x198906(0x155)]();else await _0xe1820b[_0x198906(0x148)](),_0x3ff175[_0x198906(0x143)](),await _0xe1820b[_0x198906(0x137)](),_0xe1820b[_0x198906(0x155)](),await _0xe1820b[_0x198906(0x134)]({'message':_0x3a0710[_0x198906(0x152)]||_0x3a0710[_0x198906(0x15c)],'attributes':{'quickActionData':{'id':_0x3a0710['id']},'displayedPrompt':_0x3a0710[_0x198906(0x15c)]}});}[_0x2ec14e(0x12a)](){const _0x509d6b=_0x2ec14e,_0x20b0e4=this[_0x509d6b(0x165)],_0x5c9131=_0x20b0e4[_0x509d6b(0x142)][_0x509d6b(0x12c)][_0x509d6b(0x13c)];if(!_0x5c9131[_0x509d6b(0x147)])return;const _0x108d34=_0x304e1c(_0x5c9131[_0x509d6b(0x12f)]())||_0x20b0e4[_0x509d6b(0x142)][_0x509d6b(0x13e)][_0x509d6b(0x146)](_0x5c9131);_0x20b0e4[_0x509d6b(0x142)][_0x509d6b(0x149)](_0x4c698f=>{const _0x3c9d35=_0x509d6b;_0x4c698f[_0x3c9d35(0x150)](_0x108d34,'in');});}[_0x2ec14e(0x14b)](_0x22091d){const _0x304821=_0x2ec14e;return _0x22091d[_0x304821(0x12e)]?.[_0x304821(0x163)]&&_0x304821(0x145)!==_0x22091d[_0x304821(0x12e)]?.['id']?_0x22091d[_0x304821(0x12e)][_0x304821(0x163)]+':\x20'+_0x22091d[_0x304821(0x15c)]:_0x22091d[_0x304821(0x15c)];}async[_0x2ec14e(0x156)](_0x56ae8d){const _0x52caf7=_0x2ec14e,_0x326d8c=this[_0x52caf7(0x165)][_0x52caf7(0x138)][_0x52caf7(0x133)](_0x52caf7(0x130)),_0x20f827=_0x56ae8d[_0x52caf7(0x152)]?{'userMessage':_0x56ae8d[_0x52caf7(0x152)],'model':_0x56ae8d[_0x52caf7(0x142)]}:{'actionName':_0x56ae8d[_0x52caf7(0x14c)]||_0x56ae8d['id'],'args':_0x56ae8d[_0x52caf7(0x153)]},_0x2c8f35=this[_0x52caf7(0x14b)](_0x56ae8d);await _0x326d8c[_0x52caf7(0x15e)](_0x20f827,_0x2c8f35,_0x56ae8d[_0x52caf7(0x131)]);}async[_0x2ec14e(0x154)](_0x485750){const _0xf419d6=_0x2ec14e;console[_0xf419d6(0x15d)](_0xf419d6(0x168),_0x485750);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3e8254=_0x3aab;function _0x3aab(_0x4d9b72,_0xa7652){const _0x4f4e1f=_0x4f4e();return _0x3aab=function(_0x3aab7e,_0x5d88ff){_0x3aab7e=_0x3aab7e-0x1ed;let _0x248f0d=_0x4f4e1f[_0x3aab7e];return _0x248f0d;},_0x3aab(_0x4d9b72,_0xa7652);}(function(_0x5c828a,_0xc517ee){const _0x22cb4b=_0x3aab,_0x43e7a7=_0x5c828a();while(!![]){try{const _0x470103=-parseInt(_0x22cb4b(0x203))/0x1+-parseInt(_0x22cb4b(0x209))/0x2*(parseInt(_0x22cb4b(0x202))/0x3)+parseInt(_0x22cb4b(0x1fa))/0x4*(parseInt(_0x22cb4b(0x205))/0x5)+-parseInt(_0x22cb4b(0x1fc))/0x6+parseInt(_0x22cb4b(0x1f2))/0x7+parseInt(_0x22cb4b(0x204))/0x8+-parseInt(_0x22cb4b(0x1ee))/0x9*(-parseInt(_0x22cb4b(0x1f7))/0xa);if(_0x470103===_0xc517ee)break;else _0x43e7a7['push'](_0x43e7a7['shift']());}catch(_0x18cf21){_0x43e7a7['push'](_0x43e7a7['shift']());}}}(_0x4f4e,0x724d6));import{Plugin as _0x4b0ffd}from'ckeditor5/src/core.js';import{AIQuickActionsCommand as _0x529357}from'./aiquickactionscommand.js';function _0x4f4e(){const _0xa7abcb=['directChange','18516xyMoJE','741893HsjUrK','300848atFubj','8005kwCTiM','init','commands','isOfficialPlugin','88cnwesH','AIChat','8825409aJGXIo','aiQuickAction','selection','isPremiumPlugin','4236141hQvabp','model','plugins','document','get','10gfEHod','has','change:range','492SJBXGz','add','2031900HOKFWJ','pluginName','editor','AIQuickActionsEditing','removeSelectionFromChatContext'];_0x4f4e=function(){return _0xa7abcb;};return _0x4f4e();}export class AIQuickActionsEditing extends _0x4b0ffd{static get[_0x3e8254(0x1fd)](){const _0x58c948=_0x3e8254;return _0x58c948(0x1ff);}static get[_0x3e8254(0x208)](){return!0x0;}static get[_0x3e8254(0x1f1)](){return!0x0;}[_0x3e8254(0x206)](){const _0x3446d7=_0x3e8254,_0x481ffc=this[_0x3446d7(0x1fe)],_0xca2776=new _0x529357(this[_0x3446d7(0x1fe)]);if(_0x481ffc[_0x3446d7(0x207)][_0x3446d7(0x1fb)](_0x3446d7(0x1ef),_0xca2776),_0x481ffc[_0x3446d7(0x1f4)][_0x3446d7(0x1f8)](_0x3446d7(0x1ed))){const _0x5edaea=this[_0x3446d7(0x1fe)][_0x3446d7(0x1f4)][_0x3446d7(0x1f6)](_0x3446d7(0x1ed));_0x481ffc[_0x3446d7(0x1f3)][_0x3446d7(0x1f5)][_0x3446d7(0x1f0)]['on'](_0x3446d7(0x1f9),(_0x5a8872,_0x51b805)=>{const _0xe0738=_0x3446d7;_0x51b805[_0xe0738(0x201)]&&_0x5edaea[_0xe0738(0x200)]();});}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0xae65(_0x1904d6,_0x4cb046){const _0x328550=_0x3285();return _0xae65=function(_0xae65fb,_0xb42714){_0xae65fb=_0xae65fb-0x1db;let _0x4f2954=_0x328550[_0xae65fb];return _0x4f2954;},_0xae65(_0x1904d6,_0x4cb046);}const _0x4e0b60=_0xae65;(function(_0x422824,_0x2e5392){const _0x121b44=_0xae65,_0xa1c6b7=_0x422824();while(!![]){try{const _0x48086e=-parseInt(_0x121b44(0x1ee))/0x1+parseInt(_0x121b44(0x224))/0x2*(parseInt(_0x121b44(0x210))/0x3)+-parseInt(_0x121b44(0x248))/0x4+-parseInt(_0x121b44(0x1fd))/0x5*(parseInt(_0x121b44(0x21b))/0x6)+-parseInt(_0x121b44(0x257))/0x7*(parseInt(_0x121b44(0x204))/0x8)+-parseInt(_0x121b44(0x279))/0x9+-parseInt(_0x121b44(0x1f0))/0xa*(-parseInt(_0x121b44(0x221))/0xb);if(_0x48086e===_0x2e5392)break;else _0xa1c6b7['push'](_0xa1c6b7['shift']());}catch(_0x4ba746){_0xa1c6b7['push'](_0xa1c6b7['shift']());}}}(_0x3285,0x362f5));import{IconAIAdjustLength as _0x21ef50,IconAIChangeTone as _0x391116,IconAIChatCommands as _0x1e4586,IconAIContinueWriting as _0x5bdbd5,IconAIGrammarCheck as _0x4c2924,IconAIImproveWriting as _0x4dd52e,IconAIOther as _0x5e0792,IconAIQuickActions as _0x22ebf7,IconAITranslate as _0x245953}from'@ckeditor/ckeditor5-icons';import{Plugin as _0x47240f}from'ckeditor5/src/core.js';import{CKEditorError as _0x51c541,logError as _0x3dce0c}from'ckeditor5/src/utils.js';import{getTranslation as _0x3c3791}from'../aicore/utils/common-translations.js';import{aiQuickActionsDropdownCreator as _0x551104}from'./ui/aiquickactionsdropdowncreator.js';import{aiQuickActionsButtonCreator as _0x4571bd}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x32c211,BalloonToolbar as _0x17f215,MenuBarMenuView as _0xb3fbaa,MenuBarMenuListView as _0x3b977f,MenuBarMenuListItemView as _0x34a44b,MenuBarMenuListItemButtonView as _0x3fa13e}from'ckeditor5/src/ui.js';import{AIModels as _0x3ffdae}from'../aicore/model/aimodels.js';import{AIConnector as _0x443288}from'../aicore/aiconnector.js';import'../../theme/common/aibutton.css';import'../../theme/aiquickactions/aiquickactions.css';function _0x3285(){const _0x1d51e5=['requires','REVIEW','isEnabled','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','ACTION','filter','commands','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','german','AI_QUICK_ACTIONS_MORE_FRIENDLY','menu','AI_QUICK_ACTIONS_MORE_DIRECT','AI_QUICK_ACTIONS_CHAT_COMMANDS','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','AIQuickActionsUI','AI_QUICK_ACTIONS_ASK_AI','_prepareQuickActionsDefinition','focus','menuBarView','menuBar:aiQuickActions','make-shorter','other','items','1183292pLdwVp','highlight-key-points','improve-writing','plugins','make-tone-direct','editor','pluginName','map','has','translate-to-korean','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','locale','translate-to-french','ai.quickActions.isSearchEnabled','english','7oMyuuf','AI_QUICK_ACTIONS_MORE_CONFIDENT','change-tone','make-tone-professional','set','italian','icon','AI_QUICK_ACTIONS_MAKE_LONGER','menuitem','japanese','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','_quickActionsDefinition','push','isOfficialPlugin','execute','spanish','translate-to-spanish','_initializeQuickActionsMenuBar','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','AI_QUICK_ACTIONS_EXPLAIN','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','AI_QUICK_ACTIONS_OTHER','delegate','DisplayNames','AI_QUICK_ACTIONS_MORE_CASUAL','ask-ai','AI_QUICK_ACTIONS_CONTINUE_WRITING','russian','CHAT','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','AI_QUICK_ACTIONS_TRANSLATE','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','translate-to-german','_initializeQuickActionsDropdown','39906EmsAre','values','translate-to-italian','AI_QUICK_ACTIONS_IMPROVE_WRITING','translate','adjust-length','AIActions','korean','fix-grammar','AIConnector','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20extract\x20and\x20present\x20the\x20key\x20points\x20from\x20its\x20content.</task><rules>1.\x20Present\x20the\x20output\x20as\x20a\x20clear,\x20structured\x20list\x20(bullets\x20or\x20numbered).-\x20Each\x20point\x20should\x20be\x20concise\x20(one\x20sentence\x20or\x20less).-\x20Do\x20not\x20merge\x20distinct\x20ideas\x20into\x20one\x20bullet.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20extraction\x20style:-\x20If\x20it\x20is\x20descriptive\x20capture\x20the\x20main\x20attributes\x20or\x20features.-\x20If\x20it\x20is\x20argumentative\x20extract\x20the\x20main\x20claim\x20and\x20supporting\x20reasons\x20separately.-\x20If\x20it\x20is\x20narrative/story-like\x20extract\x20the\x20main\x20events\x20in\x20chronological\x20order.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20highlight\x20the\x20most\x20important\x20facts\x20or\x20numbers.-\x20If\x20it\x20is\x20instructional\x20list\x20the\x20steps\x20or\x20main\x20actions\x20in\x20simplified\x20form.-\x20If\x20it\x20provides\x20comparisons\x20extract\x20the\x20contrasted\x20items\x20and\x20their\x20differences/similarities.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20category\x20above\x20extract\x20the\x20main\x20ideas\x20in\x20plain,\x20short\x20statements.3.\x20Keep\x20the\x20list\x20between\x203–7\x20items\x20where\x20possible.-\x20If\x20the\x20text\x20is\x20very\x20short,\x20fewer\x20items\x20are\x20fine.-\x20If\x20it\x20is\x20very\x20long,\x20focus\x20on\x20the\x20most\x20important\x20ideas\x20only.4.\x20Do\x20not\x20copy\x20long\x20text\x20fragments\x20—\x20restate\x20in\x20simple\x20words.5.\x20Do\x20not\x20add\x20interpretation,\x20evaluation,\x20or\x20commentary\x20beyond\x20the\x20text.6.\x20Ensure\x20the\x20list\x20can\x20stand\x20alone\x20without\x20requiring\x20the\x20reader\x20to\x20see\x20the\x20original\x20document.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20key\x20points.8.\x20Your\x20key\x20points\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20extracted\x20key\x20points.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','_executeQuickAction','explain','chat-commands','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20summarize\x20its\x20content\x20in\x20a\x20few\x20sentences,\x20keeping\x20only\x20the\x20essential\x20meaning.</task><rules>1.\x20Your\x20summary\x20should\x20be\x20short\x20and\x20clear:-\x20Aim\x20for\x202–4\x20sentences\x20unless\x20the\x20text\x20is\x20extremely\x20short.-\x20Focus\x20on\x20capturing\x20the\x20main\x20idea(s)\x20without\x20unnecessary\x20detail.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20summary\x20style:-\x20If\x20it\x20is\x20descriptive\x20condense\x20the\x20description\x20into\x20its\x20core\x20idea.-\x20If\x20it\x20is\x20argumentative\x20or\x20opinion-based\x20summarize\x20the\x20main\x20claim\x20and\x20reasoning\x20neutrally.-\x20If\x20it\x20is\x20narrative/story-like\x20capture\x20the\x20main\x20event\x20or\x20outcome\x20without\x20side\x20details.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20summarize\x20what\x20the\x20data\x20shows\x20in\x20plain\x20language.-\x20If\x20it\x20is\x20instructional\x20restate\x20the\x20overall\x20purpose\x20of\x20the\x20steps\x20without\x20listing\x20every\x20step.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20provide\x20a\x20general\x20concise\x20summary.3.\x20Provide\x20context\x20if\x20necessary\x20for\x20clarity:-\x20Mention\x20the\x20subject\x20or\x20topic\x20explicitly\x20so\x20the\x20summary\x20can\x20stand\x20alone.4.\x20Do\x20not\x20simply\x20copy\x20sentences\x20from\x20the\x20original\x20text\x20—\x20rephrase\x20in\x20plain\x20language.5.\x20Avoid\x20adding\x20new\x20information\x20or\x20interpretation\x20not\x20present\x20in\x20the\x20text.6.\x20Summarize\x20in\x20a\x20way\x20that\x20would\x20make\x20sense\x20to\x20someone\x20who\x20has\x20not\x20read\x20the\x20original\x20text.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20summary.8.\x20Your\x20summary\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20summary.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','displayedPrompt','model','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','<task>For\x20given\x20selected\x20part\x20of\x20HTML\x20document\x20you\x20must\x20explain\x20the\x20meaning\x20of\x20it\x27s\x20content\x20clearly\x20and\x20in\x20plain\x20language.</task><rules>1.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is:-\x20If\x20it\x20looks\x20like\x20a\x20definition\x20explain\x20the\x20concept\x20in\x20simple\x20terms.-\x20If\x20it\x20looks\x20like\x20a\x20description\x20clarify\x20what\x20it\x20is\x20describing\x20and\x20why\x20it\x20matters.-\x20If\x20it\x20contains\x20technical\x20terms\x20or\x20jargon\x20break\x20them\x20down\x20into\x20everyday\x20language.-\x20If\x20it\x20looks\x20instructional\x20restate\x20as\x20clear\x20steps\x20someone\x20can\x20follow.-\x20If\x20it\x20provides\x20examples\x20explain\x20what\x20the\x20example\x20shows\x20and\x20why\x20it\x27s\x20relevant.-\x20If\x20it\x20presents\x20an\x20argument\x20or\x20claim\x20restate\x20the\x20claim\x20neutrally\x20and\x20explain\x20its\x20purpose.-\x20If\x20it\x20is\x20narrative/story-like\x20explain\x20what\x20event\x20or\x20situation\x20is\x20being\x20described.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20explain\x20what\x20the\x20data\x20indicates.-\x20If\x20it\x20is\x20a\x20quotation\x20explain\x20the\x20meaning\x20of\x20the\x20quote\x20in\x20context.-\x20If\x20it\x20compares/contrasts\x20things\x20explain\x20the\x20key\x20differences\x20or\x20similarities\x20simply.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20give\x20a\x20clear,\x20plain-language\x20explanation\x20of\x20its\x20meaning,\x20focusing\x20on\x20usefulness.2.\x20Provide\x20context\x20if\x20the\x20meaning\x20could\x20be\x20unclear\x20without\x20it.\x20(e.g.,\x20explain\x20where\x20such\x20a\x20term\x20might\x20be\x20used,\x20or\x20why\x20it\x20is\x20important).3.\x20Keep\x20the\x20explanation\x20short\x20but\x20complete\x20(2–5\x20sentences).Avoid\x20overly\x20technical\x20detail\x20unless\x20it\x20is\x20necessary\x20for\x20understanding.4.\x20Do\x20not\x20simply\x20repeat\x20the\x20original\x20text\x20—\x20restate\x20and\x20expand\x20it\x20in\x20plain\x20words.5.\x20If\x20possible,\x20add\x20a\x20short\x20example\x20or\x20analogy\x20to\x20make\x20it\x20easier\x20to\x20understand.6.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20explanation.7.\x20Your\x20explanation\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20explanation.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','language','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','AI_QUICK_ACTIONS_ADJUST_LENGTH','portuguese','423975LROtxi','children','4390YNBZpp','get','message','forEach','some','label','make-tone-friendly','config','translate-to-russian','make-tone-casual','attachToDom','ai.quickActions.extraCommands','summarize','268005KiJlbC','panelView','chinese','find','translate-to-japanese','_shouldIncludeAction','aiQuickAction','898656NroPSn','type','AI_QUICK_ACTIONS_CHANGE_TONE','continue','AI_QUICK_ACTIONS_SUMMARIZE','make-tone-confident','translate-to-english','french','isPremiumPlugin','getAll','_getDefaultAndCustomActions','length','216303BZVUbh','getDefaultQuickActions','AI_QUICK_ACTIONS_HEADING','ai.quickActions.removeCommands','editing','_initializeQuickActionsComponents','AI_QUICK_ACTIONS_MAKE_SHORTER','init','view','English','ai-quick-actions-models-unable-to-retrieve','48VjBCmy','uiLanguage','buttonView','includes','_initializeQuickActionsComponentsAndCommands','close','30041Pinfrk','replace','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','8nRzqbt','AIReviewMode','ai.chat.context.document.enabled','ai-quick-actions-unavailable-model','translate-to-portuguese','aiQuickActions','make-longer','add','AIChat','translate-to-chinese','actions','componentFactory'];_0x3285=function(){return _0x1d51e5;};return _0x3285();}const Ut=_0x4e0b60(0x1e9),vt=_0x4e0b60(0x1e5),Pt=_0x4e0b60(0x1e1);export var AIQuickActionType;!function(_0x4753c9){const _0x3b3d9e=_0x4e0b60;_0x4753c9[_0x3b3d9e(0x273)]=_0x3b3d9e(0x273),_0x4753c9[_0x3b3d9e(0x234)]=_0x3b3d9e(0x234),_0x4753c9[_0x3b3d9e(0x231)]=_0x3b3d9e(0x231);}(AIQuickActionType||(AIQuickActionType={}));export var AIQuickActionTypeToPluginName;!function(_0x3eca90){const _0x12d65e=_0x4e0b60;_0x3eca90[_0x12d65e(0x273)]=_0x12d65e(0x22c),_0x3eca90[_0x12d65e(0x234)]=_0x12d65e(0x1dd),_0x3eca90[_0x12d65e(0x231)]=_0x12d65e(0x225);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));export class AIQuickActionsUI extends _0x47240f{static get[_0x4e0b60(0x230)](){return[_0x17f215,_0x443288];}static get[_0x4e0b60(0x24e)](){const _0x376c77=_0x4e0b60;return _0x376c77(0x23f);}static get[_0x4e0b60(0x264)](){return!0x0;}static get[_0x4e0b60(0x20c)](){return!0x0;}async[_0x4e0b60(0x217)](){const _0xc175c4=_0x4e0b60,_0x9f51de=await this[_0xc175c4(0x20e)]();this[_0xc175c4(0x241)](_0x9f51de),this[_0xc175c4(0x21f)]();}static[_0x4e0b60(0x211)](_0x39dc56){return function(_0x71d218){const _0x64ca4d=_0xae65,_0x23c7ec=new Intl[(_0x64ca4d(0x26e))](['en'],{'type':_0x64ca4d(0x1ea)})['of'](_0x71d218[_0x64ca4d(0x21c)]),_0x37589c=_0x23c7ec||_0x64ca4d(0x219),_0x2c5616=[{'id':_0x64ca4d(0x270),'displayedPrompt':_0x3c3791(_0x71d218,_0x64ca4d(0x240)),'type':AIQuickActionType[_0x64ca4d(0x273)],'icon':_0x1e4586},{'id':_0x64ca4d(0x1e4),'label':_0x3c3791(_0x71d218,_0x64ca4d(0x23d)),'icon':_0x1e4586,'actions':[{'id':_0x64ca4d(0x1e3),'displayedPrompt':_0x3c3791(_0x71d218,_0x64ca4d(0x26a)),'prompt':Ut[_0x64ca4d(0x222)]('%0',_0x37589c),'type':AIQuickActionType[_0x64ca4d(0x273)]},{'id':_0x64ca4d(0x1fc),'displayedPrompt':_0x3c3791(_0x71d218,_0x64ca4d(0x208)),'prompt':vt[_0x64ca4d(0x222)]('%0',_0x37589c),'type':AIQuickActionType[_0x64ca4d(0x273)]},{'id':_0x64ca4d(0x249),'displayedPrompt':_0x3c3791(_0x71d218,_0x64ca4d(0x223)),'prompt':Pt[_0x64ca4d(0x222)]('%0',_0x37589c),'type':AIQuickActionType[_0x64ca4d(0x273)]}]},{'id':_0x64ca4d(0x24a),'displayedPrompt':_0x3c3791(_0x71d218,_0x64ca4d(0x27c)),'type':AIQuickActionType[_0x64ca4d(0x234)],'icon':_0x4dd52e},{'id':_0x64ca4d(0x207),'displayedPrompt':_0x3c3791(_0x71d218,_0x64ca4d(0x271)),'type':AIQuickActionType[_0x64ca4d(0x234)],'icon':_0x5bdbd5},{'id':_0x64ca4d(0x1df),'displayedPrompt':_0x3c3791(_0x71d218,_0x64ca4d(0x238)),'type':AIQuickActionType[_0x64ca4d(0x234)],'icon':_0x4c2924},{'id':_0x64ca4d(0x1dc),'label':_0x3c3791(_0x71d218,_0x64ca4d(0x1ec)),'icon':_0x21ef50,'actions':[{'id':_0x64ca4d(0x245),'displayedPrompt':_0x3c3791(_0x71d218,_0x64ca4d(0x216)),'type':AIQuickActionType[_0x64ca4d(0x234)]},{'id':_0x64ca4d(0x22a),'displayedPrompt':_0x3c3791(_0x71d218,_0x64ca4d(0x25e)),'type':AIQuickActionType[_0x64ca4d(0x234)]}]},{'id':_0x64ca4d(0x259),'label':_0x3c3791(_0x71d218,_0x64ca4d(0x206)),'icon':_0x391116,'actions':[{'id':_0x64ca4d(0x1f9),'displayedPrompt':_0x3c3791(_0x71d218,_0x64ca4d(0x26f)),'type':AIQuickActionType[_0x64ca4d(0x234)]},{'id':_0x64ca4d(0x24c),'displayedPrompt':_0x3c3791(_0x71d218,_0x64ca4d(0x23c)),'type':AIQuickActionType[_0x64ca4d(0x234)]},{'id':_0x64ca4d(0x1f6),'displayedPrompt':_0x3c3791(_0x71d218,_0x64ca4d(0x23a)),'type':AIQuickActionType[_0x64ca4d(0x234)]},{'id':_0x64ca4d(0x209),'displayedPrompt':_0x3c3791(_0x71d218,_0x64ca4d(0x258)),'type':AIQuickActionType[_0x64ca4d(0x234)]},{'id':_0x64ca4d(0x25a),'displayedPrompt':_0x3c3791(_0x71d218,_0x64ca4d(0x261)),'type':AIQuickActionType[_0x64ca4d(0x234)]}]},{'id':_0x64ca4d(0x1db),'label':_0x3c3791(_0x71d218,_0x64ca4d(0x275)),'icon':_0x245953,'actions':[{'id':_0x64ca4d(0x20a),'displayedPrompt':_0x3c3791(_0x71d218,_0x64ca4d(0x276)),'type':AIQuickActionType[_0x64ca4d(0x234)],'actionName':_0x64ca4d(0x1db),'args':{'language':_0x64ca4d(0x256)}},{'id':_0x64ca4d(0x22d),'displayedPrompt':_0x3c3791(_0x71d218,_0x64ca4d(0x1eb)),'type':AIQuickActionType[_0x64ca4d(0x234)],'actionName':_0x64ca4d(0x1db),'args':{'language':_0x64ca4d(0x1ff)}},{'id':_0x64ca4d(0x267),'displayedPrompt':_0x3c3791(_0x71d218,_0x64ca4d(0x237)),'type':AIQuickActionType[_0x64ca4d(0x234)],'actionName':_0x64ca4d(0x1db),'args':{'language':_0x64ca4d(0x266)}},{'id':_0x64ca4d(0x277),'displayedPrompt':_0x3c3791(_0x71d218,_0x64ca4d(0x233)),'type':AIQuickActionType[_0x64ca4d(0x234)],'actionName':_0x64ca4d(0x1db),'args':{'language':_0x64ca4d(0x239)}},{'id':_0x64ca4d(0x254),'displayedPrompt':_0x3c3791(_0x71d218,_0x64ca4d(0x252)),'type':AIQuickActionType[_0x64ca4d(0x234)],'actionName':_0x64ca4d(0x1db),'args':{'language':_0x64ca4d(0x20b)}},{'id':_0x64ca4d(0x201),'displayedPrompt':_0x3c3791(_0x71d218,_0x64ca4d(0x274)),'type':AIQuickActionType[_0x64ca4d(0x234)],'actionName':_0x64ca4d(0x1db),'args':{'language':_0x64ca4d(0x260)}},{'id':_0x64ca4d(0x228),'displayedPrompt':_0x3c3791(_0x71d218,_0x64ca4d(0x269)),'type':AIQuickActionType[_0x64ca4d(0x234)],'actionName':_0x64ca4d(0x1db),'args':{'language':_0x64ca4d(0x1ed)}},{'id':_0x64ca4d(0x251),'displayedPrompt':_0x3c3791(_0x71d218,_0x64ca4d(0x26b)),'type':AIQuickActionType[_0x64ca4d(0x234)],'actionName':_0x64ca4d(0x1db),'args':{'language':_0x64ca4d(0x1de)}},{'id':_0x64ca4d(0x27b),'displayedPrompt':_0x3c3791(_0x71d218,_0x64ca4d(0x1e8)),'type':AIQuickActionType[_0x64ca4d(0x234)],'actionName':_0x64ca4d(0x1db),'args':{'language':_0x64ca4d(0x25c)}},{'id':_0x64ca4d(0x1f8),'displayedPrompt':_0x3c3791(_0x71d218,_0x64ca4d(0x23e)),'type':AIQuickActionType[_0x64ca4d(0x234)],'actionName':_0x64ca4d(0x1db),'args':{'language':_0x64ca4d(0x272)}}]},{'id':_0x64ca4d(0x246),'label':_0x3c3791(_0x71d218,_0x64ca4d(0x26c)),'icon':_0x5e0792,'actions':[]}];return _0x2c5616;}(_0x39dc56);}async[_0x4e0b60(0x20e)](){const _0x11e843=_0x4e0b60,_0x484c27=AIQuickActionsUI[_0x11e843(0x211)](this[_0x11e843(0x24d)][_0x11e843(0x253)]),_0x239fc7=this[_0x11e843(0x24d)][_0x11e843(0x1f7)][_0x11e843(0x1f1)](_0x11e843(0x1fb))||[];let _0x395cd3=[];try{_0x395cd3=await new _0x3ffdae({'connector':this[_0x11e843(0x24d)][_0x11e843(0x24b)][_0x11e843(0x1f1)](_0x11e843(0x1e0)),'locale':this[_0x11e843(0x24d)][_0x11e843(0x253)]})[_0x11e843(0x20d)]();}catch(_0x206aec){const _0x370bd3=new _0x51c541(_0x11e843(0x21a),this,{'error':_0x206aec});_0x3dce0c(_0x370bd3[_0x11e843(0x1f2)]);}finally{const _0x1709d5=_0x239fc7[_0x11e843(0x24f)](_0x5d2fa8=>({..._0x5d2fa8,'icon':void 0x0}));_0x484c27[_0x11e843(0x200)](_0x5ba14a=>_0x11e843(0x246)===_0x5ba14a['id'])[_0x11e843(0x22e)][_0x11e843(0x263)](..._0x1709d5),_0x484c27[_0x11e843(0x1f3)](_0x2ea794=>{const _0x49c21e=_0x11e843;if(_0x49c21e(0x22e)in _0x2ea794)_0x2ea794[_0x49c21e(0x22e)][_0x49c21e(0x1f3)](_0x46a0a8=>{const _0x42ec4d=_0x49c21e;if(_0x46a0a8[_0x42ec4d(0x232)]=!!_0x395cd3[_0x42ec4d(0x200)](_0x1a9fa5=>_0x1a9fa5['id']===_0x46a0a8[_0x42ec4d(0x1e7)])||void 0x0===_0x46a0a8[_0x42ec4d(0x1e7)],!_0x46a0a8[_0x42ec4d(0x232)]){const _0x71b2f8=new _0x51c541(_0x42ec4d(0x227),this,{'actionId':_0x46a0a8['id'],'modelId':_0x46a0a8[_0x42ec4d(0x1e7)]});_0x3dce0c(_0x71b2f8[_0x42ec4d(0x1f2)]);}});else{if(_0x2ea794[_0x49c21e(0x232)]=!!_0x395cd3[_0x49c21e(0x200)](_0x5d360a=>_0x5d360a['id']===_0x2ea794[_0x49c21e(0x1e7)])||void 0x0===_0x2ea794[_0x49c21e(0x1e7)],!_0x2ea794[_0x49c21e(0x232)]){const _0x143308=new _0x51c541(_0x49c21e(0x227),this,{'actionId':_0x2ea794['id'],'modelId':_0x2ea794[_0x49c21e(0x1e7)]});_0x3dce0c(_0x143308[_0x49c21e(0x1f2)]);}}});}return _0x484c27;}[_0x4e0b60(0x21f)](){const _0x513a94=_0x4e0b60,_0x2d562b=new _0x32c211(this[_0x513a94(0x24d)][_0x513a94(0x253)]);_0x2d562b[_0x513a94(0x1fa)](),this[_0x513a94(0x278)](_0x2d562b),this[_0x513a94(0x268)](),this[_0x513a94(0x215)](_0x2d562b);}[_0x4e0b60(0x278)](_0x322b57){const _0x38a150=_0x4e0b60,_0x4aea3d=this[_0x38a150(0x24d)][_0x38a150(0x1f7)][_0x38a150(0x1f1)](_0x38a150(0x255))??!0x0;this[_0x38a150(0x24d)]['ui'][_0x38a150(0x22f)][_0x38a150(0x22b)](_0x38a150(0x229),_0x551104({'editor':this[_0x38a150(0x24d)],'content':this[_0x38a150(0x262)],'buttonDefinition':{'icon':_0x22ebf7,'label':_0x3c3791(this[_0x38a150(0x24d)][_0x38a150(0x253)],_0x38a150(0x212))},'bodyCollection':_0x322b57,'hasSearch':_0x4aea3d}));}[_0x4e0b60(0x241)](_0x2e2c36){const _0x27d19a=_0x4e0b60;this[_0x27d19a(0x262)]=_0x2e2c36[_0x27d19a(0x24f)](_0x3c8b68=>{const _0x93e3ed=_0x27d19a;if(_0x93e3ed(0x22e)in _0x3c8b68){const _0x563604=_0x3c8b68;return{..._0x563604,'actions':_0x563604[_0x93e3ed(0x22e)][_0x93e3ed(0x24f)](_0x3a97ec=>{const {actions:_0x529d7a,..._0x283629}=_0x563604;return{..._0x3a97ec,'parent':_0x283629};})[_0x93e3ed(0x235)](_0x5c0322=>this[_0x93e3ed(0x202)](_0x5c0322))};}return _0x3c8b68;})[_0x27d19a(0x235)](_0xb23cbb=>_0x27d19a(0x22e)in _0xb23cbb?_0xb23cbb[_0x27d19a(0x22e)][_0x27d19a(0x20f)]>0x0:this[_0x27d19a(0x202)](_0xb23cbb));}[_0x4e0b60(0x202)](_0x7f9162){const _0x6f51d=_0x4e0b60,_0xb2d972=this[_0x6f51d(0x24d)][_0x6f51d(0x1f7)][_0x6f51d(0x1f1)](_0x6f51d(0x213))||[];return this[_0x6f51d(0x24d)][_0x6f51d(0x24b)][_0x6f51d(0x250)](AIQuickActionTypeToPluginName[_0x7f9162[_0x6f51d(0x205)]])&&!_0xb2d972[_0x6f51d(0x21e)](_0x7f9162['id'])&&!(_0x7f9162[_0x6f51d(0x205)]===AIQuickActionType[_0x6f51d(0x273)]&&!0x1===this[_0x6f51d(0x24d)][_0x6f51d(0x1f7)][_0x6f51d(0x1f1)](_0x6f51d(0x226)));}[_0x4e0b60(0x215)](_0xb52cae){const _0x3cfb50=_0x4e0b60;this[_0x3cfb50(0x262)][_0x3cfb50(0x1f3)](_0x41686d=>{const _0x376c63=_0x3cfb50;if(_0x376c63(0x22e)in _0x41686d){const _0x3fdea5=_0x551104({'editor':this[_0x376c63(0x24d)],'content':_0x41686d[_0x376c63(0x22e)],'buttonDefinition':_0x41686d,'bodyCollection':_0xb52cae});this[_0x376c63(0x24d)]['ui'][_0x376c63(0x22f)][_0x376c63(0x22b)](_0x41686d['id'],_0x3fdea5),_0x41686d[_0x376c63(0x22e)][_0x376c63(0x1f3)](_0x454482=>{const _0x2e515a=_0x376c63,_0xc661ad=_0x4571bd({'editor':this[_0x2e515a(0x24d)],'action':_0x454482});this[_0x2e515a(0x24d)]['ui'][_0x2e515a(0x22f)][_0x2e515a(0x22b)](_0x454482['id'],_0xc661ad);});}else{const _0xbf3703=_0x4571bd({'editor':this[_0x376c63(0x24d)],'action':_0x41686d,'withText':!0x1,'withIcon':!0x0,'isInDropdown':!0x1});this[_0x376c63(0x24d)]['ui'][_0x376c63(0x22f)][_0x376c63(0x22b)](_0x41686d['id'],_0xbf3703);}});}[_0x4e0b60(0x268)](){const _0xca9af3=_0x4e0b60;this[_0xca9af3(0x24d)]['ui'][_0xca9af3(0x22f)][_0xca9af3(0x22b)](_0xca9af3(0x244),_0xf00f6d=>{const _0x2cf3ec=_0xca9af3,_0x4f52f7=new _0xb3fbaa(_0xf00f6d),_0x117ae4=_0x3c3791(_0xf00f6d,_0x2cf3ec(0x212));_0x4f52f7[_0x2cf3ec(0x21d)][_0x2cf3ec(0x25b)]({'label':_0x117ae4,'icon':_0x22ebf7});const _0x3f5aa2=new _0x3b977f(_0xf00f6d);_0x3f5aa2[_0x2cf3ec(0x25b)]({'ariaLabel':_0x117ae4,'role':_0x2cf3ec(0x23b)}),this[_0x2cf3ec(0x262)][_0x2cf3ec(0x1f3)](_0x1c1822=>{const _0x1c641f=_0x2cf3ec;if(_0x1c641f(0x22e)in _0x1c1822){const _0xa97048=_0x1c1822,_0x3c9b11=new _0x34a44b(_0xf00f6d,_0x4f52f7),_0x57493b=new _0xb3fbaa(_0xf00f6d),_0x36db51=new _0x3b977f(_0xf00f6d);_0x57493b[_0x1c641f(0x21d)][_0x1c641f(0x25b)]({'label':_0xa97048[_0x1c641f(0x1f5)],'icon':_0xa97048[_0x1c641f(0x25d)]}),_0xa97048[_0x1c641f(0x22e)][_0x1c641f(0x1f3)](_0x1cde09=>{const _0x1cc624=_0x1c641f,_0x10b639=new _0x34a44b(_0xf00f6d,_0x57493b),_0x2c4396=new _0x3fa13e(_0xf00f6d);_0x2c4396[_0x1cc624(0x25b)]({'label':_0x1cde09[_0x1cc624(0x1e6)],'icon':_0x1cde09[_0x1cc624(0x25d)],'role':_0x1cc624(0x25f),'isEnabled':_0x1cde09[_0x1cc624(0x232)]}),_0x2c4396['on'](_0x1cc624(0x265),()=>{const _0xddcfa6=_0x1cc624;this[_0xddcfa6(0x1e2)](_0x1cde09);}),_0x2c4396[_0x1cc624(0x26d)](_0x1cc624(0x265))['to'](_0x57493b),_0x10b639[_0x1cc624(0x1ef)][_0x1cc624(0x22b)](_0x2c4396),_0x36db51[_0x1cc624(0x247)][_0x1cc624(0x22b)](_0x10b639);}),_0x57493b[_0x1c641f(0x1fe)][_0x1c641f(0x1ef)][_0x1c641f(0x22b)](_0x36db51),_0x3c9b11[_0x1c641f(0x1ef)][_0x1c641f(0x22b)](_0x57493b),_0x3f5aa2[_0x1c641f(0x247)][_0x1c641f(0x22b)](_0x3c9b11);}else{const _0xd0b03=_0x1c1822,_0x429a69=new _0x34a44b(_0xf00f6d,_0x4f52f7),_0x2e5947=new _0x3fa13e(_0xf00f6d);_0x2e5947[_0x1c641f(0x25b)]({'label':_0xd0b03[_0x1c641f(0x1e6)],'icon':_0xd0b03[_0x1c641f(0x25d)],'role':_0x1c641f(0x25f),'isEnabled':_0xd0b03[_0x1c641f(0x232)]}),_0x2e5947['on'](_0x1c641f(0x265),()=>{const _0x3b55e8=_0x1c641f;this[_0x3b55e8(0x1e2)](_0xd0b03);}),_0x2e5947[_0x1c641f(0x26d)](_0x1c641f(0x265))['to'](_0x4f52f7),_0x429a69[_0x1c641f(0x1ef)][_0x1c641f(0x22b)](_0x2e5947),_0x3f5aa2[_0x1c641f(0x247)][_0x1c641f(0x22b)](_0x429a69);}});const _0x165aef=Object[_0x2cf3ec(0x27a)](AIQuickActionTypeToPluginName)[_0x2cf3ec(0x1f4)](_0x3d2203=>this[_0x2cf3ec(0x24d)][_0x2cf3ec(0x24b)][_0x2cf3ec(0x250)](_0x3d2203));return _0x4f52f7[_0x2cf3ec(0x25b)]({'isEnabled':_0x165aef}),_0x4f52f7[_0x2cf3ec(0x1fe)][_0x2cf3ec(0x1ef)][_0x2cf3ec(0x22b)](_0x3f5aa2),_0x4f52f7;});}[_0x4e0b60(0x1e2)](_0x3bd431){const _0x19ed5b=_0x4e0b60,_0xf9afab=this[_0x19ed5b(0x24d)];_0xf9afab[_0x19ed5b(0x214)][_0x19ed5b(0x218)][_0x19ed5b(0x242)](),_0xf9afab[_0x19ed5b(0x236)][_0x19ed5b(0x265)](_0x19ed5b(0x203),_0x3bd431);const _0x5d4777=_0xf9afab['ui'][_0x19ed5b(0x218)][_0x19ed5b(0x243)];_0x5d4777&&_0x5d4777[_0x19ed5b(0x220)]&&_0x5d4777[_0x19ed5b(0x220)]();}}
|
|
23
|
+
const _0x5aeb24=_0x2e48;(function(_0x3f3448,_0x531ae8){const _0x3a5292=_0x2e48,_0x25d6b0=_0x3f3448();while(!![]){try{const _0x13d06f=-parseInt(_0x3a5292(0x217))/0x1+parseInt(_0x3a5292(0x23a))/0x2+-parseInt(_0x3a5292(0x1f8))/0x3+-parseInt(_0x3a5292(0x223))/0x4+-parseInt(_0x3a5292(0x231))/0x5*(-parseInt(_0x3a5292(0x229))/0x6)+-parseInt(_0x3a5292(0x236))/0x7*(-parseInt(_0x3a5292(0x1e1))/0x8)+-parseInt(_0x3a5292(0x1ef))/0x9;if(_0x13d06f===_0x531ae8)break;else _0x25d6b0['push'](_0x25d6b0['shift']());}catch(_0x344997){_0x25d6b0['push'](_0x25d6b0['shift']());}}}(_0x517a,0x74777));function _0x517a(){const _0x5b8385=['isPremiumPlugin','1510Jfyagi','menuBarView','make-longer','<task>For\x20given\x20selected\x20part\x20of\x20HTML\x20document\x20you\x20must\x20explain\x20the\x20meaning\x20of\x20it\x27s\x20content\x20clearly\x20and\x20in\x20plain\x20language.</task><rules>1.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is:-\x20If\x20it\x20looks\x20like\x20a\x20definition\x20explain\x20the\x20concept\x20in\x20simple\x20terms.-\x20If\x20it\x20looks\x20like\x20a\x20description\x20clarify\x20what\x20it\x20is\x20describing\x20and\x20why\x20it\x20matters.-\x20If\x20it\x20contains\x20technical\x20terms\x20or\x20jargon\x20break\x20them\x20down\x20into\x20everyday\x20language.-\x20If\x20it\x20looks\x20instructional\x20restate\x20as\x20clear\x20steps\x20someone\x20can\x20follow.-\x20If\x20it\x20provides\x20examples\x20explain\x20what\x20the\x20example\x20shows\x20and\x20why\x20it\x27s\x20relevant.-\x20If\x20it\x20presents\x20an\x20argument\x20or\x20claim\x20restate\x20the\x20claim\x20neutrally\x20and\x20explain\x20its\x20purpose.-\x20If\x20it\x20is\x20narrative/story-like\x20explain\x20what\x20event\x20or\x20situation\x20is\x20being\x20described.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20explain\x20what\x20the\x20data\x20indicates.-\x20If\x20it\x20is\x20a\x20quotation\x20explain\x20the\x20meaning\x20of\x20the\x20quote\x20in\x20context.-\x20If\x20it\x20compares/contrasts\x20things\x20explain\x20the\x20key\x20differences\x20or\x20similarities\x20simply.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20give\x20a\x20clear,\x20plain-language\x20explanation\x20of\x20its\x20meaning,\x20focusing\x20on\x20usefulness.2.\x20Provide\x20context\x20if\x20the\x20meaning\x20could\x20be\x20unclear\x20without\x20it.\x20(e.g.,\x20explain\x20where\x20such\x20a\x20term\x20might\x20be\x20used,\x20or\x20why\x20it\x20is\x20important).3.\x20Keep\x20the\x20explanation\x20short\x20but\x20complete\x20(2–5\x20sentences).Avoid\x20overly\x20technical\x20detail\x20unless\x20it\x20is\x20necessary\x20for\x20understanding.4.\x20Do\x20not\x20simply\x20repeat\x20the\x20original\x20text\x20—\x20restate\x20and\x20expand\x20it\x20in\x20plain\x20words.5.\x20If\x20possible,\x20add\x20a\x20short\x20example\x20or\x20analogy\x20to\x20make\x20it\x20easier\x20to\x20understand.6.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20explanation.7.\x20Your\x20explanation\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20explanation.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','ai-quick-actions-models-unable-to-retrieve','781123ONKcoG','isEnabled','_initializeQuickActionsMenuBar','filter','622526bSEHkQ','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20summarize\x20its\x20content\x20in\x20a\x20few\x20sentences,\x20keeping\x20only\x20the\x20essential\x20meaning.</task><rules>1.\x20Your\x20summary\x20should\x20be\x20short\x20and\x20clear:-\x20Aim\x20for\x202–4\x20sentences\x20unless\x20the\x20text\x20is\x20extremely\x20short.-\x20Focus\x20on\x20capturing\x20the\x20main\x20idea(s)\x20without\x20unnecessary\x20detail.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20summary\x20style:-\x20If\x20it\x20is\x20descriptive\x20condense\x20the\x20description\x20into\x20its\x20core\x20idea.-\x20If\x20it\x20is\x20argumentative\x20or\x20opinion-based\x20summarize\x20the\x20main\x20claim\x20and\x20reasoning\x20neutrally.-\x20If\x20it\x20is\x20narrative/story-like\x20capture\x20the\x20main\x20event\x20or\x20outcome\x20without\x20side\x20details.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20summarize\x20what\x20the\x20data\x20shows\x20in\x20plain\x20language.-\x20If\x20it\x20is\x20instructional\x20restate\x20the\x20overall\x20purpose\x20of\x20the\x20steps\x20without\x20listing\x20every\x20step.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20provide\x20a\x20general\x20concise\x20summary.3.\x20Provide\x20context\x20if\x20necessary\x20for\x20clarity:-\x20Mention\x20the\x20subject\x20or\x20topic\x20explicitly\x20so\x20the\x20summary\x20can\x20stand\x20alone.4.\x20Do\x20not\x20simply\x20copy\x20sentences\x20from\x20the\x20original\x20text\x20—\x20rephrase\x20in\x20plain\x20language.5.\x20Avoid\x20adding\x20new\x20information\x20or\x20interpretation\x20not\x20present\x20in\x20the\x20text.6.\x20Summarize\x20in\x20a\x20way\x20that\x20would\x20make\x20sense\x20to\x20someone\x20who\x20has\x20not\x20read\x20the\x20original\x20text.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20summary.8.\x20Your\x20summary\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20summary.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','English','_initializeQuickActionsDropdown','values','has','AI_QUICK_ACTIONS_MORE_CONFIDENT','commands','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','type','attachToDom','translate-to-italian','menuBar:aiQuickActions','forEach','getDefaultQuickActions','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','menuitem','spanish','panelView','translate-to-japanese','ai-quick-actions-unavailable-model','italian','children','AIChat','items','delegate','editing','chinese','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20extract\x20and\x20present\x20the\x20key\x20points\x20from\x20its\x20content.</task><rules>1.\x20Present\x20the\x20output\x20as\x20a\x20clear,\x20structured\x20list\x20(bullets\x20or\x20numbered).-\x20Each\x20point\x20should\x20be\x20concise\x20(one\x20sentence\x20or\x20less).-\x20Do\x20not\x20merge\x20distinct\x20ideas\x20into\x20one\x20bullet.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20extraction\x20style:-\x20If\x20it\x20is\x20descriptive\x20capture\x20the\x20main\x20attributes\x20or\x20features.-\x20If\x20it\x20is\x20argumentative\x20extract\x20the\x20main\x20claim\x20and\x20supporting\x20reasons\x20separately.-\x20If\x20it\x20is\x20narrative/story-like\x20extract\x20the\x20main\x20events\x20in\x20chronological\x20order.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20highlight\x20the\x20most\x20important\x20facts\x20or\x20numbers.-\x20If\x20it\x20is\x20instructional\x20list\x20the\x20steps\x20or\x20main\x20actions\x20in\x20simplified\x20form.-\x20If\x20it\x20provides\x20comparisons\x20extract\x20the\x20contrasted\x20items\x20and\x20their\x20differences/similarities.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20category\x20above\x20extract\x20the\x20main\x20ideas\x20in\x20plain,\x20short\x20statements.3.\x20Keep\x20the\x20list\x20between\x203–7\x20items\x20where\x20possible.-\x20If\x20the\x20text\x20is\x20very\x20short,\x20fewer\x20items\x20are\x20fine.-\x20If\x20it\x20is\x20very\x20long,\x20focus\x20on\x20the\x20most\x20important\x20ideas\x20only.4.\x20Do\x20not\x20copy\x20long\x20text\x20fragments\x20—\x20restate\x20in\x20simple\x20words.5.\x20Do\x20not\x20add\x20interpretation,\x20evaluation,\x20or\x20commentary\x20beyond\x20the\x20text.6.\x20Ensure\x20the\x20list\x20can\x20stand\x20alone\x20without\x20requiring\x20the\x20reader\x20to\x20see\x20the\x20original\x20document.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20key\x20points.8.\x20Your\x20key\x20points\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20extracted\x20key\x20points.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','focus','ai.quickActions.removeCommands','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','ai.chat.context.document.enabled','displayedPrompt','translate-to-russian','_initializeQuickActionsComponentsAndCommands','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','other','componentFactory','summarize','icon','_executeQuickAction','AI_QUICK_ACTIONS_MORE_FRIENDLY','locale','label','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','map','explain','AI_QUICK_ACTIONS_MAKE_SHORTER','AI_QUICK_ACTIONS_OTHER','requires','AI_QUICK_ACTIONS_CONTINUE_WRITING','translate-to-chinese','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','add','init','_shouldIncludeAction','AI_QUICK_ACTIONS_EXPLAIN','AI_QUICK_ACTIONS_TRANSLATE','AI_QUICK_ACTIONS_ADJUST_LENGTH','translate-to-spanish','german','make-tone-professional','_quickActionsDefinition','DisplayNames','fix-grammar','translate-to-korean','AI_QUICK_ACTIONS_ASK_AI','uiLanguage','24FoOczd','make-tone-confident','make-shorter','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','some','getAll','length','AI_QUICK_ACTIONS_MAKE_LONGER','config','make-tone-casual','ACTION','language','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','_prepareQuickActionsDefinition','6248349EhtbTD','make-tone-friendly','AI_QUICK_ACTIONS_MORE_CASUAL','get','menu','translate-to-german','highlight-key-points','ai.quickActions.extraCommands','_initializeQuickActionsComponents','293499BjmmpG','russian','message','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','improve-writing','set','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','actions','AI_QUICK_ACTIONS_IMPROVE_WRITING','model','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','continue','push','translate-to-french','translate','REVIEW','french','AI_QUICK_ACTIONS_CHAT_COMMANDS','AIActions','execute','includes','AIConnector','chat-commands','buttonView','translate-to-english','close','AI_QUICK_ACTIONS_CHANGE_TONE','ai.quickActions.isSearchEnabled','translate-to-portuguese','_getDefaultAndCustomActions','AI_QUICK_ACTIONS_SUMMARIZE','111439TBzPym','view','find','change-tone','korean','ask-ai','AIQuickActionsUI','portuguese','editor','isOfficialPlugin','plugins','japanese','336688aOWzOr','CHAT','AIReviewMode','make-tone-direct','pluginName','aiQuickActions','16266UWiJwa','adjust-length','aiQuickAction','AI_QUICK_ACTIONS_HEADING','english','replace','AI_QUICK_ACTIONS_MORE_DIRECT'];_0x517a=function(){return _0x5b8385;};return _0x517a();}import{IconAIAdjustLength as _0x350300,IconAIChangeTone as _0x43c613,IconAIChatCommands as _0x1ab747,IconAIContinueWriting as _0x24e520,IconAIGrammarCheck as _0x4b8727,IconAIImproveWriting as _0x3bbce0,IconAIOther as _0x1e6d1f,IconAIQuickActions as _0x567bfa,IconAITranslate as _0x516f76}from'@ckeditor/ckeditor5-icons';import{Plugin as _0x2ca796}from'ckeditor5/src/core.js';import{CKEditorError as _0xfb552,logError as _0x95974c}from'ckeditor5/src/utils.js';import{getTranslation as _0x501a19}from'../aicore/utils/common-translations.js';import{aiQuickActionsDropdownCreator as _0x531a4c}from'./ui/aiquickactionsdropdowncreator.js';import{aiQuickActionsButtonCreator as _0x43a96a}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x8e18dc,BalloonToolbar as _0xa4249a,MenuBarMenuView as _0x39d651,MenuBarMenuListView as _0xf4e266,MenuBarMenuListItemView as _0x12d4c7,MenuBarMenuListItemButtonView as _0x5ebc55}from'ckeditor5/src/ui.js';import{AIModels as _0xe3c4cc}from'../aicore/model/aimodels.js';import{AIConnector as _0x30cf98}from'../aicore/aiconnector.js';import'../../theme/common/aibutton.css';import'../../theme/aiquickactions/aiquickactions.css';const ee=_0x5aeb24(0x234),ie=_0x5aeb24(0x23b),ne=_0x5aeb24(0x257);export var AIQuickActionType;!function(_0x14ff52){const _0x63a337=_0x5aeb24;_0x14ff52[_0x63a337(0x224)]=_0x63a337(0x224),_0x14ff52[_0x63a337(0x1eb)]=_0x63a337(0x1eb),_0x14ff52[_0x63a337(0x207)]=_0x63a337(0x207);}(AIQuickActionType||(AIQuickActionType={}));export var AIQuickActionTypeToPluginName;!function(_0x256f3e){const _0x332891=_0x5aeb24;_0x256f3e[_0x332891(0x224)]=_0x332891(0x252),_0x256f3e[_0x332891(0x1eb)]=_0x332891(0x20a),_0x256f3e[_0x332891(0x207)]=_0x332891(0x225);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));function _0x2e48(_0x14fdaa,_0xc989c4){const _0x517afc=_0x517a();return _0x2e48=function(_0x2e48d8,_0x31acd9){_0x2e48d8=_0x2e48d8-0x1d0;let _0x2beed5=_0x517afc[_0x2e48d8];return _0x2beed5;},_0x2e48(_0x14fdaa,_0xc989c4);}export class AIQuickActionsUI extends _0x2ca796{static get[_0x5aeb24(0x26d)](){return[_0xa4249a,_0x30cf98];}static get[_0x5aeb24(0x227)](){const _0x171ec3=_0x5aeb24;return _0x171ec3(0x21d);}static get[_0x5aeb24(0x220)](){return!0x0;}static get[_0x5aeb24(0x230)](){return!0x0;}async[_0x5aeb24(0x1d3)](){const _0x10df6e=_0x5aeb24,_0x4b1e48=await this[_0x10df6e(0x215)]();this[_0x10df6e(0x1ee)](_0x4b1e48),this[_0x10df6e(0x25e)]();}static[_0x5aeb24(0x249)](_0x467180){return function(_0x267dfd){const _0x160f1d=_0x2e48,_0x195d38=new Intl[(_0x160f1d(0x1dc))](['en'],{'type':_0x160f1d(0x1ec)})['of'](_0x267dfd[_0x160f1d(0x1e0)]),_0x4dd819=_0x195d38||_0x160f1d(0x23d),_0x44a1d4=[{'id':_0x160f1d(0x21c),'displayedPrompt':_0x501a19(_0x267dfd,_0x160f1d(0x1df)),'type':AIQuickActionType[_0x160f1d(0x224)],'icon':_0x1ab747},{'id':_0x160f1d(0x20e),'label':_0x501a19(_0x267dfd,_0x160f1d(0x209)),'icon':_0x1ab747,'actions':[{'id':_0x160f1d(0x26a),'displayedPrompt':_0x501a19(_0x267dfd,_0x160f1d(0x1d5)),'prompt':ee[_0x160f1d(0x22e)]('%0',_0x4dd819),'type':AIQuickActionType[_0x160f1d(0x224)]},{'id':_0x160f1d(0x262),'displayedPrompt':_0x501a19(_0x267dfd,_0x160f1d(0x216)),'prompt':ie[_0x160f1d(0x22e)]('%0',_0x4dd819),'type':AIQuickActionType[_0x160f1d(0x224)]},{'id':_0x160f1d(0x1f5),'displayedPrompt':_0x501a19(_0x267dfd,_0x160f1d(0x24a)),'prompt':ne[_0x160f1d(0x22e)]('%0',_0x4dd819),'type':AIQuickActionType[_0x160f1d(0x224)]}]},{'id':_0x160f1d(0x1fc),'displayedPrompt':_0x501a19(_0x267dfd,_0x160f1d(0x200)),'type':AIQuickActionType[_0x160f1d(0x1eb)],'icon':_0x3bbce0},{'id':_0x160f1d(0x203),'displayedPrompt':_0x501a19(_0x267dfd,_0x160f1d(0x26e)),'type':AIQuickActionType[_0x160f1d(0x1eb)],'icon':_0x24e520},{'id':_0x160f1d(0x1dd),'displayedPrompt':_0x501a19(_0x267dfd,_0x160f1d(0x1ed)),'type':AIQuickActionType[_0x160f1d(0x1eb)],'icon':_0x4b8727},{'id':_0x160f1d(0x22a),'label':_0x501a19(_0x267dfd,_0x160f1d(0x1d7)),'icon':_0x350300,'actions':[{'id':_0x160f1d(0x1e3),'displayedPrompt':_0x501a19(_0x267dfd,_0x160f1d(0x26b)),'type':AIQuickActionType[_0x160f1d(0x1eb)]},{'id':_0x160f1d(0x233),'displayedPrompt':_0x501a19(_0x267dfd,_0x160f1d(0x1e8)),'type':AIQuickActionType[_0x160f1d(0x1eb)]}]},{'id':_0x160f1d(0x21a),'label':_0x501a19(_0x267dfd,_0x160f1d(0x212)),'icon':_0x43c613,'actions':[{'id':_0x160f1d(0x1ea),'displayedPrompt':_0x501a19(_0x267dfd,_0x160f1d(0x1f1)),'type':AIQuickActionType[_0x160f1d(0x1eb)]},{'id':_0x160f1d(0x226),'displayedPrompt':_0x501a19(_0x267dfd,_0x160f1d(0x22f)),'type':AIQuickActionType[_0x160f1d(0x1eb)]},{'id':_0x160f1d(0x1f0),'displayedPrompt':_0x501a19(_0x267dfd,_0x160f1d(0x265)),'type':AIQuickActionType[_0x160f1d(0x1eb)]},{'id':_0x160f1d(0x1e2),'displayedPrompt':_0x501a19(_0x267dfd,_0x160f1d(0x241)),'type':AIQuickActionType[_0x160f1d(0x1eb)]},{'id':_0x160f1d(0x1da),'displayedPrompt':_0x501a19(_0x267dfd,_0x160f1d(0x25f)),'type':AIQuickActionType[_0x160f1d(0x1eb)]}]},{'id':_0x160f1d(0x206),'label':_0x501a19(_0x267dfd,_0x160f1d(0x1d6)),'icon':_0x516f76,'actions':[{'id':_0x160f1d(0x210),'displayedPrompt':_0x501a19(_0x267dfd,_0x160f1d(0x1d0)),'type':AIQuickActionType[_0x160f1d(0x1eb)],'actionName':_0x160f1d(0x206),'args':{'language':_0x160f1d(0x22d)}},{'id':_0x160f1d(0x26f),'displayedPrompt':_0x501a19(_0x267dfd,_0x160f1d(0x23c)),'type':AIQuickActionType[_0x160f1d(0x1eb)],'actionName':_0x160f1d(0x206),'args':{'language':_0x160f1d(0x256)}},{'id':_0x160f1d(0x1d8),'displayedPrompt':_0x501a19(_0x267dfd,_0x160f1d(0x202)),'type':AIQuickActionType[_0x160f1d(0x1eb)],'actionName':_0x160f1d(0x206),'args':{'language':_0x160f1d(0x24c)}},{'id':_0x160f1d(0x1f4),'displayedPrompt':_0x501a19(_0x267dfd,_0x160f1d(0x243)),'type':AIQuickActionType[_0x160f1d(0x1eb)],'actionName':_0x160f1d(0x206),'args':{'language':_0x160f1d(0x1d9)}},{'id':_0x160f1d(0x205),'displayedPrompt':_0x501a19(_0x267dfd,_0x160f1d(0x1fb)),'type':AIQuickActionType[_0x160f1d(0x1eb)],'actionName':_0x160f1d(0x206),'args':{'language':_0x160f1d(0x208)}},{'id':_0x160f1d(0x24e),'displayedPrompt':_0x501a19(_0x267dfd,_0x160f1d(0x1e4)),'type':AIQuickActionType[_0x160f1d(0x1eb)],'actionName':_0x160f1d(0x206),'args':{'language':_0x160f1d(0x222)}},{'id':_0x160f1d(0x214),'displayedPrompt':_0x501a19(_0x267dfd,_0x160f1d(0x268)),'type':AIQuickActionType[_0x160f1d(0x1eb)],'actionName':_0x160f1d(0x206),'args':{'language':_0x160f1d(0x21e)}},{'id':_0x160f1d(0x1de),'displayedPrompt':_0x501a19(_0x267dfd,_0x160f1d(0x1fe)),'type':AIQuickActionType[_0x160f1d(0x1eb)],'actionName':_0x160f1d(0x206),'args':{'language':_0x160f1d(0x21b)}},{'id':_0x160f1d(0x246),'displayedPrompt':_0x501a19(_0x267dfd,_0x160f1d(0x1d1)),'type':AIQuickActionType[_0x160f1d(0x1eb)],'actionName':_0x160f1d(0x206),'args':{'language':_0x160f1d(0x250)}},{'id':_0x160f1d(0x25d),'displayedPrompt':_0x501a19(_0x267dfd,_0x160f1d(0x25a)),'type':AIQuickActionType[_0x160f1d(0x1eb)],'actionName':_0x160f1d(0x206),'args':{'language':_0x160f1d(0x1f9)}}]},{'id':_0x160f1d(0x260),'label':_0x501a19(_0x267dfd,_0x160f1d(0x26c)),'icon':_0x1e6d1f,'actions':[]}];return _0x44a1d4;}(_0x467180);}async[_0x5aeb24(0x215)](){const _0x2ec2dd=_0x5aeb24,_0x24e243=AIQuickActionsUI[_0x2ec2dd(0x249)](this[_0x2ec2dd(0x21f)][_0x2ec2dd(0x266)]),_0x8803bb=this[_0x2ec2dd(0x21f)][_0x2ec2dd(0x1e9)][_0x2ec2dd(0x1f2)](_0x2ec2dd(0x1f6))||[];let _0x3b2bab=[];try{_0x3b2bab=await new _0xe3c4cc({'connector':this[_0x2ec2dd(0x21f)][_0x2ec2dd(0x221)][_0x2ec2dd(0x1f2)](_0x2ec2dd(0x20d)),'locale':this[_0x2ec2dd(0x21f)][_0x2ec2dd(0x266)]})[_0x2ec2dd(0x1e6)]();}catch(_0x2a50c6){const _0x494a2e=new _0xfb552(_0x2ec2dd(0x235),this,{'error':_0x2a50c6});_0x95974c(_0x494a2e[_0x2ec2dd(0x1fa)]);}finally{const _0x34100a=_0x8803bb[_0x2ec2dd(0x269)](_0x1d9028=>({..._0x1d9028,'icon':void 0x0}));_0x24e243[_0x2ec2dd(0x219)](_0x155d61=>_0x2ec2dd(0x260)===_0x155d61['id'])[_0x2ec2dd(0x1ff)][_0x2ec2dd(0x204)](..._0x34100a),_0x24e243[_0x2ec2dd(0x248)](_0x6f4250=>{const _0x28be51=_0x2ec2dd;if(_0x28be51(0x1ff)in _0x6f4250)_0x6f4250[_0x28be51(0x1ff)][_0x28be51(0x248)](_0x5b5d0a=>{const _0x1e02c1=_0x28be51;if(_0x5b5d0a[_0x1e02c1(0x237)]=!!_0x3b2bab[_0x1e02c1(0x219)](_0x3faa16=>_0x3faa16['id']===_0x5b5d0a[_0x1e02c1(0x201)])||void 0x0===_0x5b5d0a[_0x1e02c1(0x201)],!_0x5b5d0a[_0x1e02c1(0x237)]){const _0x1f2e93=new _0xfb552(_0x1e02c1(0x24f),this,{'actionId':_0x5b5d0a['id'],'modelId':_0x5b5d0a[_0x1e02c1(0x201)]});_0x95974c(_0x1f2e93[_0x1e02c1(0x1fa)]);}});else{if(_0x6f4250[_0x28be51(0x237)]=!!_0x3b2bab[_0x28be51(0x219)](_0x393b3c=>_0x393b3c['id']===_0x6f4250[_0x28be51(0x201)])||void 0x0===_0x6f4250[_0x28be51(0x201)],!_0x6f4250[_0x28be51(0x237)]){const _0x3645f6=new _0xfb552(_0x28be51(0x24f),this,{'actionId':_0x6f4250['id'],'modelId':_0x6f4250[_0x28be51(0x201)]});_0x95974c(_0x3645f6[_0x28be51(0x1fa)]);}}});}return _0x24e243;}[_0x5aeb24(0x25e)](){const _0x2ffb9a=_0x5aeb24,_0x246f03=new _0x8e18dc(this[_0x2ffb9a(0x21f)][_0x2ffb9a(0x266)]);_0x246f03[_0x2ffb9a(0x245)](),this[_0x2ffb9a(0x23e)](_0x246f03),this[_0x2ffb9a(0x238)](),this[_0x2ffb9a(0x1f7)](_0x246f03);}[_0x5aeb24(0x23e)](_0x1acae3){const _0x213e7e=_0x5aeb24,_0x26796d=this[_0x213e7e(0x21f)][_0x213e7e(0x1e9)][_0x213e7e(0x1f2)](_0x213e7e(0x213))??!0x0;this[_0x213e7e(0x21f)]['ui'][_0x213e7e(0x261)][_0x213e7e(0x1d2)](_0x213e7e(0x228),_0x531a4c({'editor':this[_0x213e7e(0x21f)],'content':this[_0x213e7e(0x1db)],'buttonDefinition':{'icon':_0x567bfa,'label':_0x501a19(this[_0x213e7e(0x21f)][_0x213e7e(0x266)],_0x213e7e(0x22c))},'bodyCollection':_0x1acae3,'hasSearch':_0x26796d}));}[_0x5aeb24(0x1ee)](_0x54b120){const _0x14dfc4=_0x5aeb24;this[_0x14dfc4(0x1db)]=_0x54b120[_0x14dfc4(0x269)](_0x4bfb1a=>{const _0x473cb1=_0x14dfc4;if(_0x473cb1(0x1ff)in _0x4bfb1a){const _0x46e01b=_0x4bfb1a;return{..._0x46e01b,'actions':_0x46e01b[_0x473cb1(0x1ff)][_0x473cb1(0x269)](_0xb8c564=>{const {actions:_0x496ca4,..._0x4d2ed1}=_0x46e01b;return{..._0xb8c564,'parent':_0x4d2ed1};})[_0x473cb1(0x239)](_0x3ab44d=>this[_0x473cb1(0x1d4)](_0x3ab44d))};}return _0x4bfb1a;})[_0x14dfc4(0x239)](_0x8b53ec=>_0x14dfc4(0x1ff)in _0x8b53ec?_0x8b53ec[_0x14dfc4(0x1ff)][_0x14dfc4(0x1e7)]>0x0:this[_0x14dfc4(0x1d4)](_0x8b53ec));}[_0x5aeb24(0x1d4)](_0x1f00c4){const _0x4ac0ce=_0x5aeb24,_0x1cde39=this[_0x4ac0ce(0x21f)][_0x4ac0ce(0x1e9)][_0x4ac0ce(0x1f2)](_0x4ac0ce(0x259))||[];return this[_0x4ac0ce(0x21f)][_0x4ac0ce(0x221)][_0x4ac0ce(0x240)](AIQuickActionTypeToPluginName[_0x1f00c4[_0x4ac0ce(0x244)]])&&!_0x1cde39[_0x4ac0ce(0x20c)](_0x1f00c4['id'])&&!(_0x1f00c4[_0x4ac0ce(0x244)]===AIQuickActionType[_0x4ac0ce(0x224)]&&!0x1===this[_0x4ac0ce(0x21f)][_0x4ac0ce(0x1e9)][_0x4ac0ce(0x1f2)](_0x4ac0ce(0x25b)));}[_0x5aeb24(0x1f7)](_0x1374f8){const _0x134120=_0x5aeb24;this[_0x134120(0x1db)][_0x134120(0x248)](_0x4b4808=>{const _0x10de09=_0x134120;if(_0x10de09(0x1ff)in _0x4b4808){const _0x4d6647=_0x531a4c({'editor':this[_0x10de09(0x21f)],'content':_0x4b4808[_0x10de09(0x1ff)],'buttonDefinition':_0x4b4808,'bodyCollection':_0x1374f8});this[_0x10de09(0x21f)]['ui'][_0x10de09(0x261)][_0x10de09(0x1d2)](_0x4b4808['id'],_0x4d6647),_0x4b4808[_0x10de09(0x1ff)][_0x10de09(0x248)](_0x2f6731=>{const _0x474ee5=_0x10de09,_0x329585=_0x43a96a({'editor':this[_0x474ee5(0x21f)],'action':_0x2f6731});this[_0x474ee5(0x21f)]['ui'][_0x474ee5(0x261)][_0x474ee5(0x1d2)](_0x2f6731['id'],_0x329585);});}else{const _0x45c806=_0x43a96a({'editor':this[_0x10de09(0x21f)],'action':_0x4b4808,'withText':!0x1,'withIcon':!0x0,'isInDropdown':!0x1});this[_0x10de09(0x21f)]['ui'][_0x10de09(0x261)][_0x10de09(0x1d2)](_0x4b4808['id'],_0x45c806);}});}[_0x5aeb24(0x238)](){const _0xcdf63e=_0x5aeb24;this[_0xcdf63e(0x21f)]['ui'][_0xcdf63e(0x261)][_0xcdf63e(0x1d2)](_0xcdf63e(0x247),_0x5b985d=>{const _0x51674b=_0xcdf63e,_0x198b16=new _0x39d651(_0x5b985d),_0x37f5bc=_0x501a19(_0x5b985d,_0x51674b(0x22c));_0x198b16[_0x51674b(0x20f)][_0x51674b(0x1fd)]({'label':_0x37f5bc,'icon':_0x567bfa});const _0x37b874=new _0xf4e266(_0x5b985d);_0x37b874[_0x51674b(0x1fd)]({'ariaLabel':_0x37f5bc,'role':_0x51674b(0x1f3)}),this[_0x51674b(0x1db)][_0x51674b(0x248)](_0x24b1ce=>{const _0x1716ee=_0x51674b;if(_0x1716ee(0x1ff)in _0x24b1ce){const _0x48585a=_0x24b1ce,_0x2b236a=new _0x12d4c7(_0x5b985d,_0x198b16),_0x480779=new _0x39d651(_0x5b985d),_0x451479=new _0xf4e266(_0x5b985d);_0x480779[_0x1716ee(0x20f)][_0x1716ee(0x1fd)]({'label':_0x48585a[_0x1716ee(0x267)],'icon':_0x48585a[_0x1716ee(0x263)]}),_0x48585a[_0x1716ee(0x1ff)][_0x1716ee(0x248)](_0x3fa404=>{const _0x4006db=_0x1716ee,_0x3566b3=new _0x12d4c7(_0x5b985d,_0x480779),_0x1ecfd5=new _0x5ebc55(_0x5b985d);_0x1ecfd5[_0x4006db(0x1fd)]({'label':_0x3fa404[_0x4006db(0x25c)],'icon':_0x3fa404[_0x4006db(0x263)],'role':_0x4006db(0x24b),'isEnabled':_0x3fa404[_0x4006db(0x237)]}),_0x1ecfd5['on'](_0x4006db(0x20b),()=>{const _0x3a9775=_0x4006db;this[_0x3a9775(0x264)](_0x3fa404);}),_0x1ecfd5[_0x4006db(0x254)](_0x4006db(0x20b))['to'](_0x480779),_0x3566b3[_0x4006db(0x251)][_0x4006db(0x1d2)](_0x1ecfd5),_0x451479[_0x4006db(0x253)][_0x4006db(0x1d2)](_0x3566b3);}),_0x480779[_0x1716ee(0x24d)][_0x1716ee(0x251)][_0x1716ee(0x1d2)](_0x451479),_0x2b236a[_0x1716ee(0x251)][_0x1716ee(0x1d2)](_0x480779),_0x37b874[_0x1716ee(0x253)][_0x1716ee(0x1d2)](_0x2b236a);}else{const _0x7dc61f=_0x24b1ce,_0x1b9288=new _0x12d4c7(_0x5b985d,_0x198b16),_0x5c2c49=new _0x5ebc55(_0x5b985d);_0x5c2c49[_0x1716ee(0x1fd)]({'label':_0x7dc61f[_0x1716ee(0x25c)],'icon':_0x7dc61f[_0x1716ee(0x263)],'role':_0x1716ee(0x24b),'isEnabled':_0x7dc61f[_0x1716ee(0x237)]}),_0x5c2c49['on'](_0x1716ee(0x20b),()=>{const _0x12a63e=_0x1716ee;this[_0x12a63e(0x264)](_0x7dc61f);}),_0x5c2c49[_0x1716ee(0x254)](_0x1716ee(0x20b))['to'](_0x198b16),_0x1b9288[_0x1716ee(0x251)][_0x1716ee(0x1d2)](_0x5c2c49),_0x37b874[_0x1716ee(0x253)][_0x1716ee(0x1d2)](_0x1b9288);}});const _0x461e45=Object[_0x51674b(0x23f)](AIQuickActionTypeToPluginName)[_0x51674b(0x1e5)](_0x568928=>this[_0x51674b(0x21f)][_0x51674b(0x221)][_0x51674b(0x240)](_0x568928));return _0x198b16[_0x51674b(0x1fd)]({'isEnabled':_0x461e45}),_0x198b16[_0x51674b(0x24d)][_0x51674b(0x251)][_0x51674b(0x1d2)](_0x37b874),_0x198b16;});}[_0x5aeb24(0x264)](_0x4e9310){const _0x55bcdd=_0x5aeb24,_0x1d97ff=this[_0x55bcdd(0x21f)];_0x1d97ff[_0x55bcdd(0x255)][_0x55bcdd(0x218)][_0x55bcdd(0x258)](),_0x1d97ff[_0x55bcdd(0x242)][_0x55bcdd(0x20b)](_0x55bcdd(0x22b),_0x4e9310);const _0x58f9b2=_0x1d97ff['ui'][_0x55bcdd(0x218)][_0x55bcdd(0x232)];_0x58f9b2&&_0x58f9b2[_0x55bcdd(0x211)]&&_0x58f9b2[_0x55bcdd(0x211)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x1710(_0x535168,_0x2c5aa2){const _0x58330b=_0x5833();return _0x1710=function(_0x1710f3,_0x2ae622){_0x1710f3=_0x1710f3-0xe6;let _0x2b5dfb=_0x58330b[_0x1710f3];return _0x2b5dfb;},_0x1710(_0x535168,_0x2c5aa2);}(function(_0x5ca500,_0x3b381b){const _0x487fa5=_0x1710,_0x48c8cc=_0x5ca500();while(!![]){try{const _0x295733=parseInt(_0x487fa5(0xf6))/0x1+-parseInt(_0x487fa5(0xef))/0x2+parseInt(_0x487fa5(0xfd))/0x3+-parseInt(_0x487fa5(0xfc))/0x4*(-parseInt(_0x487fa5(0xfa))/0x5)+-parseInt(_0x487fa5(0xfe))/0x6*(-parseInt(_0x487fa5(0xec))/0x7)+-parseInt(_0x487fa5(0xf5))/0x8*(-parseInt(_0x487fa5(0xe8))/0x9)+-parseInt(_0x487fa5(0xe6))/0xa;if(_0x295733===_0x3b381b)break;else _0x48c8cc['push'](_0x48c8cc['shift']());}catch(_0x577015){_0x48c8cc['push'](_0x48c8cc['shift']());}}}(_0x5833,0x880ea));import{ButtonView as _0x1ac1a6}from'ckeditor5/src/ui.js';function _0x5833(){const _0x14fd6e=['bindTemplate','ck-ai-quick-actions-button','execute','14ndWOMJ','set','parent','336152jPNCvW','extendTemplate','isEnabled','view','icon','menuitem','1147096UyEeoq','685861oEUhnW','displayedPrompt','focus','commands','5diaqBZ','aiQuickAction','4040508MHfnxD','995634bnDewX','1212990DtwCtr','editing','18502170TQbnSP','locale','9zjysdD'];_0x5833=function(){return _0x14fd6e;};return _0x5833();}import{IconAIQuickActions as _0x32d7b0}from'@ckeditor/ckeditor5-icons';export function aiQuickActionsButtonCreator(_0x4e3949){const {editor:_0x149a53,action:_0x5ac1ed,withText:_0x1fcbb8=!0x1,withIcon:_0x529596=!0x0,isInDropdown:_0x4bb10b=!0x0,shouldPreventFocus:_0x27f0cf=!0x1}=_0x4e3949;return()=>{const _0x4f2ae2=_0x1710,_0x519e39=_0x149a53[_0x4f2ae2(0xe7)],_0x37f663=new _0x1ac1a6(_0x519e39),_0x46e506=_0x37f663[_0x4f2ae2(0xe9)];_0x4bb10b&&_0x37f663[_0x4f2ae2(0xf0)]({'on':{'mouseenter':_0x46e506['to'](()=>{const _0x526d2e=_0x4f2ae2;_0x27f0cf&&_0x27f0cf()||_0x37f663[_0x526d2e(0xf8)]();})}});const _0x44e62a=_0x5ac1ed[_0x4f2ae2(0xf3)]??_0x5ac1ed[_0x4f2ae2(0xee)]?.[_0x4f2ae2(0xf3)];return _0x37f663[_0x4f2ae2(0xed)]({'label':_0x5ac1ed[_0x4f2ae2(0xf7)],'withText':_0x1fcbb8,'role':_0x4f2ae2(0xf4),'icon':_0x529596?_0x44e62a??_0x32d7b0:void 0x0,'tooltip':!_0x1fcbb8,'class':_0x4f2ae2(0xea),'isEnabled':_0x5ac1ed[_0x4f2ae2(0xf1)]}),_0x37f663['on'](_0x4f2ae2(0xeb),()=>{const _0x154cb7=_0x4f2ae2;_0x149a53[_0x154cb7(0xff)][_0x154cb7(0xf2)][_0x154cb7(0xf8)](),_0x149a53[_0x154cb7(0xf9)][_0x154cb7(0xeb)](_0x154cb7(0xfb),_0x5ac1ed);}),_0x37f663;};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x4a04a0=_0x1a0d;(function(_0x585b43,_0x5b1a76){const _0x2fcc06=_0x1a0d,_0x9f839a=_0x585b43();while(!![]){try{const _0x37bbc3=parseInt(_0x2fcc06(0x116))/0x1+-parseInt(_0x2fcc06(0xfa))/0x2*(-parseInt(_0x2fcc06(0x12c))/0x3)+-parseInt(_0x2fcc06(0x112))/0x4*(-parseInt(_0x2fcc06(0x13e))/0x5)+parseInt(_0x2fcc06(0x15f))/0x6+-parseInt(_0x2fcc06(0x124))/0x7+-parseInt(_0x2fcc06(0xf4))/0x8+-parseInt(_0x2fcc06(0x10f))/0x9;if(_0x37bbc3===_0x5b1a76)break;else _0x9f839a['push'](_0x9f839a['shift']());}catch(_0xf8c868){_0x9f839a['push'](_0x9f839a['shift']());}}}(_0x27db,0xbbe1c));import{View as _0x1104c7,ListItemView as _0x4c8075,ListView as _0x4ad703,BalloonPanelView as _0x31c697,DropdownMenuPanelPositioningFunctions as _0x545a15,ViewCollection as _0x131a79,FocusCycler as _0x585f40,ButtonView as _0x3b4add,IconView as _0x3fbb08,HighlightedTextView as _0x2dd6cf,ButtonLabelWithHighlightView as _0x3eac80,SearchTextView as _0x531e47}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0xbda05e}from'@ckeditor/ckeditor5-icons';import{FocusTracker as _0x4dd6a4,KeystrokeHandler as _0xf6b481}from'ckeditor5/src/utils.js';import{aiQuickActionsButtonCreator as _0x77d04a}from'./aiquickactionsbuttoncreator.js';import{DropdownMenuButtonWithHighlightView as _0x141025}from'./dropdownmenubuttonwithhighlightview.js';import{getTranslation as _0x6d3e8b}from'../../aicore/utils/common-translations.js';function _0x27db(){const _0xbcfa40=['view','ck-ai-quick-actions-button_with-group__open-paren','relatedTarget','set','ArrowRight','_searchTextView','element','_isSearchFocused','ck-ai-quick-actions-search-result-button','_focusables','.ck-ai-quick-actions-group-list','3113504umlRGx','ck-ai-quick-actions-button\x20ck-ai-quick-actions-button_with-group','_bodyCollection','menu','text','ck-rounded-corners','22cxJJoR','eastSouth','ck-reset_all','ck-ai-quick-actions-search-result__content','children','div','ck-ai-quick-actions-button','clear','render','ck-ai-quick-actions-search-result-button_with-group','focusTracker','ck-dropdown-menu__nested-menu__panel','button','isOn','_hasSearch','menuitem','editing','_createActionGroupButton','_handleSearchResultButtonClick','ck-ai-quick-actions-group-list','label','24121179wCQrhn','AI_QUICK_ACTIONS_SEARCH','ck-ai-quick-actions-button_with-group__close-paren','4INKoJw','reset','ck-ai-quick-actions-search','uiLanguageDirection','1387129SmZTbx','destroy','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button\x20ck-ai-quick-actions-search-result-button_with-group','actions','role','resetSearch','commands','_createSearchResultGroupedActionButton','chain','ArrowLeft','_createListItems','ck-ai-quick-actions-button__group-icon','get','_createSearchResultIndividualActionButton','5443655cRZtKe','_hideNestedPanel','fire','forEach','AI_QUICK_ACTIONS_SEARCH_NOT_FOUND','_createActionButton','detachFromDom','_openNestedPanels','267357lyZBkt','.ck-ai-quick-actions-group-panel','show','_createSearchResultActionRow','setTemplate','contains','ck-dropdown-menu-list','_getPanelKeystroke','ck-ai-quick-actions-group-panel','_getButtonKeystroke','push','ck-button','span','_handlePanelKeydown','content','bindTemplate','_createSearchResultGroupRow','bind','3593175qHXkyx','_setupActionButtonExecution','isEnabled','displayedPrompt','_createSearchResultActionButton','addEventListener','ck-ai-quick-actions-button_with-group','focus','_createSearchTextView','ck-button_with-text','_setupGroupMenuBehavior','items','closest','activeElement','_isMovingToNestedMenu','rtl','_createSearchResultContentView','fieldView','hide','optionsListView','_hideAllNestedPanels','aiQuickAction','ck-ai-quick-actions','some','ownerDocument','focusCycler','ck-ai-quick-actions-search-result__group-row','pin','parent','locale','.ck-ai-quick-actions-group-button','icon','_showNestedPanel','9182850HERGew','add','extendTemplate','first','_createGroupActionsList','execute','ck-ai-quick-actions-search-result__action-row','addMany','mouseleave','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button','queryView','delete','key','isVisible','keystrokes','ck-ai-quick-actions-group-button','_allSearchableItems'];_0x27db=function(){return _0xbcfa40;};return _0x27db();}import{AIQuickActionsFilteredListView as _0x552112}from'./aiquickactionsfilteredlistview.js';function _0x1a0d(_0x7ddf81,_0x1e0342){const _0x27dbf2=_0x27db();return _0x1a0d=function(_0x1a0dfa,_0x3bf720){_0x1a0dfa=_0x1a0dfa-0xde;let _0x52d14e=_0x27dbf2[_0x1a0dfa];return _0x52d14e;},_0x1a0d(_0x7ddf81,_0x1e0342);}const Js=_0x4a04a0(0xf7),Xs=_0x4a04a0(0x109);export class AIQuickActionsDropdownContentView extends _0x1104c7{[_0x4a04a0(0xf6)];[_0x4a04a0(0x151)];[_0x4a04a0(0xee)]=null;[_0x4a04a0(0xe8)]=[];[_0x4a04a0(0xfe)];[_0x4a04a0(0x104)];[_0x4a04a0(0xe6)];[_0x4a04a0(0xf2)];[_0x4a04a0(0x157)];[_0x4a04a0(0x12b)]=new Set();[_0x4a04a0(0x108)];constructor(_0x3fcf1a,_0x5d44b5,_0x307de9,_0x20e143,_0x2e42f1=!0x1){const _0x1f5d55=_0x4a04a0,_0x48be60=_0x3fcf1a[_0x1f5d55(0x15b)];super(_0x48be60),this[_0x1f5d55(0xf6)]=_0x20e143,this[_0x1f5d55(0x108)]=_0x2e42f1;const _0x1029bd=this[_0x1f5d55(0x120)](_0x3fcf1a,_0x5d44b5,_0x307de9);this[_0x1f5d55(0x151)]=new _0x552112(_0x48be60,_0x1029bd,this[_0x1f5d55(0xe8)]),this[_0x1f5d55(0x151)][_0x1f5d55(0x11a)]=Js,this[_0x1f5d55(0x151)][_0x1f5d55(0x149)][_0x1f5d55(0xdf)](_0x1029bd),this[_0x1f5d55(0x104)]=new _0x4dd6a4(),this[_0x1f5d55(0xe6)]=new _0xf6b481(),_0x2e42f1&&(this[_0x1f5d55(0xee)]=this[_0x1f5d55(0x146)]()),this[_0x1f5d55(0xf2)]=_0x1029bd,this[_0x1f5d55(0x157)]=new _0x585f40({'focusables':this[_0x1f5d55(0xf2)],'focusTracker':this[_0x1f5d55(0x104)],'keystrokeHandler':this[_0x1f5d55(0xe6)]}),_0x2e42f1&&this[_0x1f5d55(0xee)]&&this[_0x1f5d55(0x157)][_0x1f5d55(0x11e)](this[_0x1f5d55(0xee)][_0x1f5d55(0x157)]);const _0x494374=_0x2e42f1&&this[_0x1f5d55(0xee)]?[this[_0x1f5d55(0xee)]]:[this[_0x1f5d55(0x151)]];this[_0x1f5d55(0xfe)]=new _0x131a79(_0x494374),this[_0x1f5d55(0x130)]({'tag':_0x1f5d55(0xff),'attributes':{'class':['ck',_0x1f5d55(0xfc),_0x1f5d55(0x154),_0x1f5d55(0xf9)],'dir':_0x48be60[_0x1f5d55(0x115)]},'children':this[_0x1f5d55(0xfe)]});}[_0x4a04a0(0x146)](){const _0x52b446=_0x4a04a0;return new _0x531e47(this[_0x52b446(0x15b)],{'filteredView':this[_0x52b446(0x151)],'queryView':{'label':_0x6d3e8b(this[_0x52b446(0x15b)],_0x52b446(0x110))},'class':_0x52b446(0x114),'infoView':{'text':{'notFound':{'primary':_0x6d3e8b(this[_0x52b446(0x15b)],_0x52b446(0x128))}}}});}[_0x4a04a0(0xf0)](){const _0x422bc4=_0x4a04a0;if(!this[_0x422bc4(0x108)]||!this[_0x422bc4(0xee)]||!this[_0x422bc4(0xee)][_0x422bc4(0xe2)][_0x422bc4(0x14f)][_0x422bc4(0xef)])return!0x1;const _0x2506f0=this[_0x422bc4(0xee)][_0x422bc4(0xe2)][_0x422bc4(0x14f)][_0x422bc4(0xef)][_0x422bc4(0x156)]?.[_0x422bc4(0x14b)];return this[_0x422bc4(0xee)][_0x422bc4(0xe2)][_0x422bc4(0x14f)][_0x422bc4(0xef)][_0x422bc4(0x131)](_0x2506f0);}[_0x4a04a0(0x120)](_0x21073c,_0xfcbc19,_0x574a07){const _0x3d4b55=_0x4a04a0,_0x46a7fe=new _0x131a79();return _0xfcbc19[_0x3d4b55(0x127)](_0x42ac25=>{const _0x1648a8=_0x3d4b55;if(_0x1648a8(0x119)in _0x42ac25){const {listItem:_0x3cf406}=this[_0x1648a8(0x10b)](_0x21073c,_0x42ac25,_0x574a07);_0x46a7fe[_0x1648a8(0x160)](_0x3cf406),_0x42ac25[_0x1648a8(0x119)][_0x1648a8(0x127)](_0x31281e=>{const _0x1261fe=_0x1648a8;this[_0x1261fe(0x129)](_0x21073c,_0x31281e,_0x42ac25[_0x1261fe(0x10e)],_0x42ac25[_0x1261fe(0x15d)]);const {listItem:_0x1ff3ca,highlightViews:_0x4abbef}=this[_0x1261fe(0x142)](_0x21073c,_0x31281e,_0x42ac25[_0x1261fe(0x10e)],_0x42ac25[_0x1261fe(0x15d)]);this[_0x1261fe(0xe8)][_0x1261fe(0x136)]({'item':_0x1ff3ca,'label':_0x31281e[_0x1261fe(0x141)],'groupLabel':_0x42ac25[_0x1261fe(0x10e)],'highlightViews':_0x4abbef});});}else{const {listItem:_0x2758ce}=this[_0x1648a8(0x129)](_0x21073c,_0x42ac25);_0x46a7fe[_0x1648a8(0x160)](_0x2758ce);const _0x5b8699=_0x2758ce[_0x1648a8(0xfe)][_0x1648a8(0x162)];if(_0x5b8699){const {listItem:_0x10fe37,highlightViews:_0x23c5a7}=this[_0x1648a8(0x142)](_0x21073c,_0x42ac25);this[_0x1648a8(0xe8)][_0x1648a8(0x136)]({'item':_0x10fe37,'label':_0x5b8699[_0x1648a8(0x10e)]||'','highlightViews':_0x23c5a7});}}}),_0x46a7fe;}[_0x4a04a0(0x129)](_0x6ac896,_0x1c1c88,_0x132304,_0xe4fd2f){const _0x1a70f5=_0x4a04a0,_0x1f0c63=new _0x4c8075(this[_0x1a70f5(0x15b)]);if(_0x132304&&_0xe4fd2f){const _0xc22462=new _0x3b4add(this[_0x1a70f5(0x15b)]),_0x47732e=_0xc22462[_0x1a70f5(0x13b)],_0x4632e0=new _0x2dd6cf();_0x4632e0[_0x1a70f5(0xf8)]=_0x1c1c88[_0x1a70f5(0x141)];const _0x44a8ac=new _0x2dd6cf();_0x44a8ac[_0x1a70f5(0xf8)]=_0x132304;const _0x10585e=new _0x3fbb08();_0x10585e[_0x1a70f5(0x13a)]=_0xe4fd2f,_0x10585e[_0x1a70f5(0x161)]({'attributes':{'class':_0x1a70f5(0x121)}});const _0x2e5bfb=new _0x1104c7(this[_0x1a70f5(0x15b)]);_0x2e5bfb[_0x1a70f5(0x130)]({'tag':_0x1a70f5(0x138),'attributes':{'class':_0x1a70f5(0xea)},'children':[{'text':'\x20('}]});const _0x5f5b67=new _0x1104c7(this[_0x1a70f5(0x15b)]);return _0x5f5b67[_0x1a70f5(0x130)]({'tag':_0x1a70f5(0x138),'attributes':{'class':_0x1a70f5(0x111)},'children':[{'text':')'}]}),_0xc22462[_0x1a70f5(0xec)]({'label':_0x1c1c88[_0x1a70f5(0x141)]+'\x20('+_0x132304+')','withText':!0x0,'role':_0x1a70f5(0x109),'class':_0x1a70f5(0xf5),'tooltip':!0x1}),_0xc22462[_0x1a70f5(0x130)]({'tag':_0x1a70f5(0x106),'attributes':{'class':['ck',_0x1a70f5(0x137),_0x1a70f5(0x147),_0x1a70f5(0x100),_0x1a70f5(0x144)],'type':_0x1a70f5(0x106),'role':_0x1a70f5(0x109),'tabindex':'-1'},'children':[_0x4632e0,_0x2e5bfb,_0x10585e,_0x44a8ac,_0x5f5b67],'on':{'mouseenter':_0x47732e['to'](()=>{const _0x568f61=_0x1a70f5;this[_0x568f61(0xf0)]()||_0xc22462[_0x568f61(0x145)]();}),'click':_0x47732e['to'](()=>{const _0x27c0e1=_0x1a70f5;_0xc22462[_0x27c0e1(0x126)](_0x27c0e1(0x164));})}}),_0xc22462['on'](_0x1a70f5(0x164),()=>{const _0x37dfb6=_0x1a70f5;_0x6ac896[_0x37dfb6(0x10a)][_0x37dfb6(0xe9)][_0x37dfb6(0x145)](),_0x6ac896[_0x37dfb6(0x11c)][_0x37dfb6(0x164)](_0x37dfb6(0x153),_0x1c1c88);}),_0x1f0c63[_0x1a70f5(0xfe)][_0x1a70f5(0x160)](_0xc22462),{'listItem':_0x1f0c63,'highlightViews':[_0x4632e0,_0x44a8ac]};}{const _0x1016b=new _0x3eac80(),_0x2d6587=new _0x3b4add(this[_0x1a70f5(0x15b)],_0x1016b),_0x25847e=_0x2d6587[_0x1a70f5(0x13b)],_0x195267=_0x1c1c88[_0x1a70f5(0x15d)]??_0x1c1c88[_0x1a70f5(0x15a)]?.[_0x1a70f5(0x15d)],_0x22b58a=void 0x0!==_0x1c1c88[_0x1a70f5(0x15d)];return _0x2d6587[_0x1a70f5(0xec)]({'label':_0x1c1c88[_0x1a70f5(0x141)],'withText':!0x0,'role':_0x1a70f5(0x109),'icon':_0x22b58a?_0x195267??_0xbda05e:void 0x0,'tooltip':!0x1,'class':_0x1a70f5(0x100)}),_0x2d6587[_0x1a70f5(0x161)]({'on':{'mouseenter':_0x25847e['to'](()=>{const _0x3f3a43=_0x1a70f5;this[_0x3f3a43(0xf0)]()||_0x2d6587[_0x3f3a43(0x145)]();})}}),_0x2d6587['on'](_0x1a70f5(0x164),()=>{const _0xe2f09b=_0x1a70f5;_0x6ac896[_0xe2f09b(0x10a)][_0xe2f09b(0xe9)][_0xe2f09b(0x145)](),_0x6ac896[_0xe2f09b(0x11c)][_0xe2f09b(0x164)](_0xe2f09b(0x153),_0x1c1c88);}),_0x1f0c63[_0x1a70f5(0xfe)][_0x1a70f5(0x160)](_0x2d6587),{'listItem':_0x1f0c63,'highlightViews':[_0x1016b]};}}[_0x4a04a0(0x142)](_0x444223,_0x3c5a78,_0x51aac7,_0x37a64b){const _0x58a633=_0x4a04a0;return _0x51aac7&&_0x37a64b?this[_0x58a633(0x11d)](_0x444223,_0x3c5a78,_0x51aac7,_0x37a64b):this[_0x58a633(0x123)](_0x444223,_0x3c5a78);}[_0x4a04a0(0x11d)](_0x4e3db9,_0x1fcb93,_0x448ffa,_0x39ae69){const _0x434133=_0x4a04a0,_0x3d6868=new _0x4c8075(this[_0x434133(0x15b)]),_0x533aa5=new _0x3b4add(this[_0x434133(0x15b)]),_0x6b89b9=_0x533aa5[_0x434133(0x13b)],{view:_0x2398d1,highlightView:_0x5b1a04}=this[_0x434133(0x13c)](_0x448ffa,_0x39ae69),{view:_0xc401e2,highlightView:_0xf09545}=this[_0x434133(0x12f)](_0x1fcb93[_0x434133(0x141)]),_0x2f4ff6=this[_0x434133(0x14e)](_0x2398d1,_0xc401e2);return _0x533aa5[_0x434133(0xec)]({'label':_0x1fcb93[_0x434133(0x141)],'withText':!0x0,'role':_0x434133(0x109),'class':_0x434133(0x118),'tooltip':!0x1}),_0x533aa5[_0x434133(0x130)]({'tag':_0x434133(0x106),'attributes':{'class':['ck',_0x434133(0x137),_0x434133(0x147),_0x434133(0x100),_0x434133(0xf1),_0x434133(0x103)],'type':_0x434133(0x106),'role':_0x434133(0x109),'tabindex':'-1'},'children':[_0x2f4ff6],'on':{'mouseenter':_0x6b89b9['to'](()=>{const _0x5aa441=_0x434133;this[_0x5aa441(0xf0)]()||_0x533aa5[_0x5aa441(0x145)]();}),'click':_0x6b89b9['to'](()=>{const _0x518fbf=_0x434133;this[_0x518fbf(0x10c)](_0x533aa5);})}}),this[_0x434133(0x13f)](_0x533aa5,_0x4e3db9,_0x1fcb93),_0x3d6868[_0x434133(0xfe)][_0x434133(0x160)](_0x533aa5),{'listItem':_0x3d6868,'highlightViews':[_0x5b1a04,_0xf09545]};}[_0x4a04a0(0x123)](_0x3656ee,_0x5ea305){const _0x2518c0=_0x4a04a0,_0x5566b7=new _0x4c8075(this[_0x2518c0(0x15b)]),_0x10210f=new _0x3eac80(),_0x57356a=new _0x3b4add(this[_0x2518c0(0x15b)],_0x10210f),_0xf2b4cb=_0x57356a[_0x2518c0(0x13b)];return _0x57356a[_0x2518c0(0xec)]({'label':_0x5ea305[_0x2518c0(0x141)],'withText':!0x0,'role':_0x2518c0(0x109),'icon':void 0x0,'tooltip':!0x1,'class':_0x2518c0(0xe1)}),_0x57356a[_0x2518c0(0x161)]({'on':{'mouseenter':_0xf2b4cb['to'](()=>{const _0x3d520b=_0x2518c0;this[_0x3d520b(0xf0)]()||_0x57356a[_0x3d520b(0x145)]();})}}),this[_0x2518c0(0x13f)](_0x57356a,_0x3656ee,_0x5ea305),_0x5566b7[_0x2518c0(0xfe)][_0x2518c0(0x160)](_0x57356a),{'listItem':_0x5566b7,'highlightViews':[_0x10210f]};}[_0x4a04a0(0x13c)](_0x3c91ce,_0x41a51c){const _0x2f36d2=_0x4a04a0,_0xdb71ca=new _0x1104c7(this[_0x2f36d2(0x15b)]),_0x5e6a7c=new _0x3fbb08();_0x5e6a7c[_0x2f36d2(0x13a)]=_0x41a51c,_0x5e6a7c[_0x2f36d2(0x161)]({'attributes':{'class':_0x2f36d2(0x121)}});const _0x56f4ec=new _0x2dd6cf();return _0x56f4ec[_0x2f36d2(0xf8)]=_0x3c91ce,_0xdb71ca[_0x2f36d2(0x130)]({'tag':_0x2f36d2(0xff),'attributes':{'class':_0x2f36d2(0x158)},'children':[_0x5e6a7c,_0x56f4ec]}),{'view':_0xdb71ca,'highlightView':_0x56f4ec};}[_0x4a04a0(0x12f)](_0x51507a){const _0x16d259=_0x4a04a0,_0x50c1d9=new _0x1104c7(this[_0x16d259(0x15b)]),_0x299817=new _0x2dd6cf();return _0x299817[_0x16d259(0xf8)]=_0x51507a,_0x50c1d9[_0x16d259(0x130)]({'tag':_0x16d259(0xff),'attributes':{'class':_0x16d259(0xde)},'children':[_0x299817]}),{'view':_0x50c1d9,'highlightView':_0x299817};}[_0x4a04a0(0x14e)](_0x352214,_0x4f5042){const _0x4c4965=_0x4a04a0,_0x191746=new _0x1104c7(this[_0x4c4965(0x15b)]);return _0x191746[_0x4c4965(0x130)]({'tag':_0x4c4965(0xff),'attributes':{'class':_0x4c4965(0xfd)},'children':[_0x352214,_0x4f5042]}),_0x191746;}[_0x4a04a0(0x13f)](_0x21f134,_0x4cdcd4,_0x4e336e){const _0x4d7e16=_0x4a04a0;_0x21f134['on'](_0x4d7e16(0x164),()=>{const _0x47e502=_0x4d7e16;_0x4cdcd4[_0x47e502(0x10a)][_0x47e502(0xe9)][_0x47e502(0x145)](),_0x4cdcd4[_0x47e502(0x11c)][_0x47e502(0x164)](_0x47e502(0x153),_0x4e336e);});}[_0x4a04a0(0x10b)](_0x2c00f6,_0x5ef48d,_0x4b6940){const _0x40db9f=_0x4a04a0,_0x508ae0=new _0x4c8075(this[_0x40db9f(0x15b)]),_0x1d7530=new _0x3eac80(),_0x4632ee=new _0x141025(this[_0x40db9f(0x15b)],_0x1d7530),_0x154c75=_0x4632ee[_0x40db9f(0x13b)],_0x330f73=this[_0x40db9f(0x133)](_0x4b6940),_0x128449=this[_0x40db9f(0x163)](_0x2c00f6,_0x5ef48d[_0x40db9f(0x119)],_0x4b6940);_0x4632ee[_0x40db9f(0xec)]({'label':_0x5ef48d[_0x40db9f(0x10e)],'withText':!0x0,'role':Xs,'icon':_0x5ef48d[_0x40db9f(0x15d)]??_0xbda05e,'isEnabled':_0x5ef48d[_0x40db9f(0x119)][_0x40db9f(0x155)](_0x2f34e9=>_0x2f34e9[_0x40db9f(0x140)])}),_0x4632ee[_0x40db9f(0x161)]({'on':{'mouseenter':_0x154c75['to'](()=>{const _0x40b2df=_0x40db9f;this[_0x40b2df(0xf0)]()||_0x4632ee[_0x40b2df(0x145)]();})}});const _0x582dd3=new _0x31c697(this[_0x40db9f(0x15b)]);return _0x582dd3[_0x40db9f(0x161)]({'attributes':{'class':['ck',_0x40db9f(0xfc),_0x40db9f(0x134),_0x40db9f(0x105)]},'on':{'keydown':_0x154c75['to'](_0x15d294=>{const _0x3ce6d9=_0x40db9f;this[_0x3ce6d9(0x139)](_0x15d294,_0x330f73,_0x4632ee,_0x582dd3);})}}),_0x4632ee[_0x40db9f(0x13d)](_0x40db9f(0x107))['to'](_0x582dd3,_0x40db9f(0xe5)),this[_0x40db9f(0xf6)][_0x40db9f(0x160)](_0x582dd3),_0x582dd3[_0x40db9f(0x13a)][_0x40db9f(0x160)](_0x128449),this[_0x40db9f(0x148)](_0x4632ee,_0x582dd3),_0x508ae0[_0x40db9f(0xfe)][_0x40db9f(0x160)](_0x4632ee),{'listItem':_0x508ae0,'highlightView':_0x1d7530};}[_0x4a04a0(0x163)](_0x3e99df,_0x45d64c,_0x41a8f1){const _0x7a0b2e=_0x4a04a0,_0x2292b4=new _0x4ad703(this[_0x7a0b2e(0x15b)]);return _0x2292b4[_0x7a0b2e(0x161)]({'attributes':{'class':['ck',_0x7a0b2e(0xfc),_0x7a0b2e(0x10d),_0x7a0b2e(0x132)]}}),_0x45d64c[_0x7a0b2e(0x127)](_0x172e05=>{const _0x4f8f35=_0x7a0b2e,_0x2ab351=new _0x4c8075(this[_0x4f8f35(0x15b)]),_0x5a5b91=_0x77d04a({'editor':_0x3e99df,'action':_0x172e05,'withText':!0x0,'withIcon':!0x1,'isInDropdown':!0x0,'shouldPreventFocus':()=>this[_0x4f8f35(0xf0)]()})();_0x2ab351[_0x4f8f35(0xfe)][_0x4f8f35(0x160)](_0x5a5b91),_0x41a8f1[_0x4f8f35(0x104)][_0x4f8f35(0x160)](_0x5a5b91),_0x2292b4[_0x4f8f35(0x149)][_0x4f8f35(0x160)](_0x2ab351);}),_0x2292b4;}[_0x4a04a0(0x148)](_0x46a325,_0x4baa66){const _0x51403b=_0x4a04a0,_0x235eb3=_0x46a325[_0x51403b(0x13b)],_0x1fc445=this[_0x51403b(0x135)](_0x46a325);_0x46a325[_0x51403b(0x161)]({'attributes':{'class':[_0x51403b(0xe7)]},'on':{'mouseenter':_0x235eb3['to'](()=>{const _0x3004d8=_0x51403b;this[_0x3004d8(0x15e)](_0x4baa66,_0x46a325);}),'mouseleave':_0x235eb3['to'](_0x1cfbdc=>{const _0x5a6a82=_0x51403b,_0x28f4d3=_0x1cfbdc[_0x5a6a82(0xeb)];this[_0x5a6a82(0x14c)](_0x28f4d3,_0x4baa66)||this[_0x5a6a82(0x125)](_0x4baa66);}),'keydown':_0x235eb3['to'](_0x2a8f95=>{const _0x3a0d47=_0x51403b;_0x2a8f95[_0x3a0d47(0xe4)]==_0x1fc445&&(this[_0x3a0d47(0x15e)](_0x4baa66,_0x46a325),_0x4baa66[_0x3a0d47(0x13a)][_0x3a0d47(0x122)](0x0)[_0x3a0d47(0x145)]());})}}),_0x4baa66['on'](_0x51403b(0x102),()=>{const _0x1583fd=_0x51403b;_0x4baa66[_0x1583fd(0xef)]?.[_0x1583fd(0x143)](_0x1583fd(0xe0),_0xce3d37=>{const _0x1cc0b1=_0x1583fd,_0x1d7224=_0xce3d37[_0x1cc0b1(0xeb)];_0x46a325[_0x1cc0b1(0xef)]?.[_0x1cc0b1(0x131)](_0x1d7224)||this[_0x1cc0b1(0x14c)](_0x1d7224,_0x4baa66)||this[_0x1cc0b1(0x125)](_0x4baa66);});});}[_0x4a04a0(0x15e)](_0x29b157,_0x38f6bc){const _0x571ba0=_0x4a04a0;this[_0x571ba0(0x12b)][_0x571ba0(0x127)](_0x4674b8=>{const _0x1b1460=_0x571ba0;_0x4674b8!==_0x29b157&&_0x4674b8[_0x1b1460(0xe5)]&&_0x4674b8[_0x1b1460(0x150)]();}),_0x29b157[_0x571ba0(0x12e)](),_0x29b157[_0x571ba0(0x159)]({'positions':[_0x545a15[_0x571ba0(0xfb)]],'target':_0x38f6bc[_0x571ba0(0xef)],'fitInViewport':!0x0}),this[_0x571ba0(0x12b)][_0x571ba0(0x160)](_0x29b157);}[_0x4a04a0(0x125)](_0x242536){const _0x2c9be1=_0x4a04a0;_0x242536[_0x2c9be1(0x150)](),this[_0x2c9be1(0x12b)][_0x2c9be1(0xe3)](_0x242536);}[_0x4a04a0(0x152)](){const _0x46acef=_0x4a04a0;this[_0x46acef(0x12b)][_0x46acef(0x127)](_0x3c40d9=>_0x3c40d9[_0x46acef(0x150)]()),this[_0x46acef(0x12b)][_0x46acef(0x101)]();}[_0x4a04a0(0x14c)](_0x1b8072,_0x38a037){const _0x359b7c=_0x4a04a0;if(!_0x1b8072)return!0x1;if(_0x38a037[_0x359b7c(0xef)]?.[_0x359b7c(0x131)](_0x1b8072))return!0x0;const _0x26e7a7=_0x1b8072;return _0x26e7a7[_0x359b7c(0x14a)]&&(null!==_0x26e7a7[_0x359b7c(0x14a)](_0x359b7c(0x12d))||null!==_0x26e7a7[_0x359b7c(0x14a)](_0x359b7c(0xf3))||null!==_0x26e7a7[_0x359b7c(0x14a)](_0x359b7c(0x15c)));}[_0x4a04a0(0x11b)](){const _0x4db8aa=_0x4a04a0;this[_0x4db8aa(0xee)]&&this[_0x4db8aa(0xee)][_0x4db8aa(0x113)]();}[_0x4a04a0(0x117)](){const _0x138855=_0x4a04a0;this[_0x138855(0x152)](),this[_0x138855(0xf6)][_0x138855(0x12a)](),super[_0x138855(0x117)]();}[_0x4a04a0(0x145)](){const _0x365d89=_0x4a04a0;this[_0x365d89(0xee)]?this[_0x365d89(0xee)][_0x365d89(0x145)]():this[_0x365d89(0x151)][_0x365d89(0x145)]();}[_0x4a04a0(0x133)](_0x19c57d){const _0x4ab57d=_0x4a04a0;return _0x4ab57d(0x14d)===_0x19c57d[_0x4ab57d(0x15b)][_0x4ab57d(0x115)]?_0x4ab57d(0xed):_0x4ab57d(0x11f);}[_0x4a04a0(0x135)](_0x12208d){const _0x2ebe32=_0x4a04a0;return _0x2ebe32(0x14d)===_0x12208d[_0x2ebe32(0x15b)][_0x2ebe32(0x115)]?_0x2ebe32(0x11f):_0x2ebe32(0xed);}[_0x4a04a0(0x139)](_0x1a6298,_0x4a5cf6,_0x20ed1f,_0x4b3cfc){const _0x56d97b=_0x4a04a0;_0x1a6298[_0x56d97b(0xe4)]==_0x4a5cf6&&(_0x20ed1f[_0x56d97b(0x145)](),this[_0x56d97b(0x125)](_0x4b3cfc));}[_0x4a04a0(0x10c)](_0x2bd12a){const _0x36902e=_0x4a04a0;_0x2bd12a[_0x36902e(0x126)](_0x36902e(0x164));}}
|
|
23
|
+
const _0x224927=_0x16db;(function(_0x33f1ba,_0x4aef0e){const _0x5b05f5=_0x16db,_0x263ad4=_0x33f1ba();while(!![]){try{const _0x100d9f=parseInt(_0x5b05f5(0x18f))/0x1*(-parseInt(_0x5b05f5(0x17e))/0x2)+parseInt(_0x5b05f5(0x17b))/0x3+parseInt(_0x5b05f5(0x180))/0x4*(-parseInt(_0x5b05f5(0x152))/0x5)+parseInt(_0x5b05f5(0x172))/0x6*(-parseInt(_0x5b05f5(0x19d))/0x7)+-parseInt(_0x5b05f5(0x17d))/0x8+parseInt(_0x5b05f5(0x179))/0x9+parseInt(_0x5b05f5(0x160))/0xa*(parseInt(_0x5b05f5(0x182))/0xb);if(_0x100d9f===_0x4aef0e)break;else _0x263ad4['push'](_0x263ad4['shift']());}catch(_0x5d4347){_0x263ad4['push'](_0x263ad4['shift']());}}}(_0x60f8,0xadf20));import{View as _0x312975,ListItemView as _0x370b8f,ListView as _0x2a7714,BalloonPanelView as _0x4d0cf8,DropdownMenuPanelPositioningFunctions as _0xadc570,ViewCollection as _0x4903da,FocusCycler as _0x5963eb,ButtonView as _0x50d65d,IconView as _0x2a1941,HighlightedTextView as _0x107988,ButtonLabelWithHighlightView as _0x5be1a0,SearchTextView as _0x41c03a}from'ckeditor5/src/ui.js';function _0x16db(_0x3a9240,_0x5ac54c){const _0x60f8db=_0x60f8();return _0x16db=function(_0x16dbd8,_0x31408c){_0x16dbd8=_0x16dbd8-0x142;let _0x394f4f=_0x60f8db[_0x16dbd8];return _0x394f4f;},_0x16db(_0x3a9240,_0x5ac54c);}import{IconAIQuickActions as _0x1f9d60}from'@ckeditor/ckeditor5-icons';import{FocusTracker as _0x556153,KeystrokeHandler as _0x16c18a}from'ckeditor5/src/utils.js';function _0x60f8(){const _0x2d463e=['_setupGroupMenuBehavior','contains','icon','_createActionButton','isOn','_createSearchResultActionButton','ck-dropdown-menu__nested-menu__panel','fire','ck-ai-quick-actions-search-result-button_with-group','ck-button','_hideNestedPanel','.ck-ai-quick-actions-group-panel','mouseleave','displayedPrompt','detachFromDom','resetSearch','clear','add','view','aiQuickAction','ck-rounded-corners','ck-ai-quick-actions-search-result-button','AI_QUICK_ACTIONS_SEARCH_NOT_FOUND','actions','ck-reset_all','ck-ai-quick-actions-button\x20ck-ai-quick-actions-button_with-group','_focusables','_createSearchResultContentView','_createActionGroupButton','show','hide','_createListItems','queryView','ck-ai-quick-actions','first','_bodyCollection','key','ck-ai-quick-actions-group-button','get','ck-button_with-text','uiLanguageDirection','_showNestedPanel','_createSearchResultIndividualActionButton','addMany','locale','ck-ai-quick-actions-search-result__action-row','destroy','focusTracker','_openNestedPanels','ck-ai-quick-actions-group-list','optionsListView','ck-ai-quick-actions-button_with-group__close-paren','menu','65GyCZaK','editing','ck-dropdown-menu-list','_getButtonKeystroke','parent','_createSearchResultGroupedActionButton','.ck-ai-quick-actions-group-list','set','element','pin','ck-ai-quick-actions-button','_createSearchTextView','closest','ck-ai-quick-actions-button__group-icon','84580bLmxge','_handleSearchResultButtonClick','some','execute','ownerDocument','forEach','delete','setTemplate','text','children','_createSearchResultActionRow','bind','_hideAllNestedPanels','render','focus','ck-ai-quick-actions-search-result__group-row','isEnabled','_allSearchableItems','2249394KvJxel','addEventListener','div','_createGroupActionsList','button','activeElement','_createSearchResultGroupRow','10209366dRlTzX','ck-ai-quick-actions-group-panel','2445063CWjvlM','_isSearchFocused','4291280XHDIbl','18nRBIZw','span','95308nCnYUv','relatedTarget','1672izJNgI','_handlePanelKeydown','role','.ck-ai-quick-actions-group-button','eastSouth','keystrokes','push','content','commands','_getPanelKeystroke','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button\x20ck-ai-quick-actions-search-result-button_with-group','rtl','items','61297skaNxC','menuitem','ck-ai-quick-actions-search-result__content','ck-ai-quick-actions-search','bindTemplate','AI_QUICK_ACTIONS_SEARCH','_isMovingToNestedMenu','chain','_searchTextView','ck-ai-quick-actions-button_with-group__open-paren','reset','ArrowLeft','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button','ck-ai-quick-actions-button_with-group','21rWypfp','ArrowRight','fieldView','_setupActionButtonExecution','focusCycler','label','extendTemplate','_hasSearch','isVisible'];_0x60f8=function(){return _0x2d463e;};return _0x60f8();}import{aiQuickActionsButtonCreator as _0x2b8f4d}from'./aiquickactionsbuttoncreator.js';import{DropdownMenuButtonWithHighlightView as _0x1133b7}from'./dropdownmenubuttonwithhighlightview.js';import{getTranslation as _0x3a9eeb}from'../../aicore/utils/common-translations.js';import{AIQuickActionsFilteredListView as _0x2f2f4f}from'./aiquickactionsfilteredlistview.js';const Ks=_0x224927(0x151),Os=_0x224927(0x190);export class AIQuickActionsDropdownContentView extends _0x312975{[_0x224927(0x1c9)];[_0x224927(0x14f)];[_0x224927(0x197)]=null;[_0x224927(0x171)]=[];[_0x224927(0x169)];[_0x224927(0x14c)];[_0x224927(0x187)];[_0x224927(0x1c0)];[_0x224927(0x1a1)];[_0x224927(0x14d)]=new Set();[_0x224927(0x1a4)];constructor(_0x38046f,_0x6d2806,_0x3c7b29,_0x51d32a,_0x19c821=!0x1){const _0x5b0850=_0x224927,_0x2ad30d=_0x38046f[_0x5b0850(0x149)];super(_0x2ad30d),this[_0x5b0850(0x1c9)]=_0x51d32a,this[_0x5b0850(0x1a4)]=_0x19c821;const _0x28bf31=this[_0x5b0850(0x1c5)](_0x38046f,_0x6d2806,_0x3c7b29);this[_0x5b0850(0x14f)]=new _0x2f2f4f(_0x2ad30d,_0x28bf31,this[_0x5b0850(0x171)]),this[_0x5b0850(0x14f)][_0x5b0850(0x184)]=Ks,this[_0x5b0850(0x14f)][_0x5b0850(0x18e)][_0x5b0850(0x148)](_0x28bf31),this[_0x5b0850(0x14c)]=new _0x556153(),this[_0x5b0850(0x187)]=new _0x16c18a(),_0x19c821&&(this[_0x5b0850(0x197)]=this[_0x5b0850(0x15d)]()),this[_0x5b0850(0x1c0)]=_0x28bf31,this[_0x5b0850(0x1a1)]=new _0x5963eb({'focusables':this[_0x5b0850(0x1c0)],'focusTracker':this[_0x5b0850(0x14c)],'keystrokeHandler':this[_0x5b0850(0x187)]}),_0x19c821&&this[_0x5b0850(0x197)]&&this[_0x5b0850(0x1a1)][_0x5b0850(0x196)](this[_0x5b0850(0x197)][_0x5b0850(0x1a1)]);const _0x4e4d80=_0x19c821&&this[_0x5b0850(0x197)]?[this[_0x5b0850(0x197)]]:[this[_0x5b0850(0x14f)]];this[_0x5b0850(0x169)]=new _0x4903da(_0x4e4d80),this[_0x5b0850(0x167)]({'tag':_0x5b0850(0x174),'attributes':{'class':['ck',_0x5b0850(0x1be),_0x5b0850(0x1c7),_0x5b0850(0x1ba)],'dir':_0x2ad30d[_0x5b0850(0x145)]},'children':this[_0x5b0850(0x169)]});}[_0x224927(0x15d)](){const _0x40778c=_0x224927;return new _0x41c03a(this[_0x40778c(0x149)],{'filteredView':this[_0x40778c(0x14f)],'queryView':{'label':_0x3a9eeb(this[_0x40778c(0x149)],_0x40778c(0x194))},'class':_0x40778c(0x192),'infoView':{'text':{'notFound':{'primary':_0x3a9eeb(this[_0x40778c(0x149)],_0x40778c(0x1bc))}}}});}[_0x224927(0x17c)](){const _0x256611=_0x224927;if(!this[_0x256611(0x1a4)]||!this[_0x256611(0x197)]||!this[_0x256611(0x197)][_0x256611(0x1c6)][_0x256611(0x19f)][_0x256611(0x15a)])return!0x1;const _0x1116b4=this[_0x256611(0x197)][_0x256611(0x1c6)][_0x256611(0x19f)][_0x256611(0x15a)][_0x256611(0x164)]?.[_0x256611(0x177)];return this[_0x256611(0x197)][_0x256611(0x1c6)][_0x256611(0x19f)][_0x256611(0x15a)][_0x256611(0x1a7)](_0x1116b4);}[_0x224927(0x1c5)](_0x226257,_0x10f7c8,_0x466cab){const _0x188a4f=_0x224927,_0x3112ef=new _0x4903da();return _0x10f7c8[_0x188a4f(0x165)](_0x45325c=>{const _0x118067=_0x188a4f;if(_0x118067(0x1bd)in _0x45325c){const {listItem:_0x573638}=this[_0x118067(0x1c2)](_0x226257,_0x45325c,_0x466cab);_0x3112ef[_0x118067(0x1b7)](_0x573638),_0x45325c[_0x118067(0x1bd)][_0x118067(0x165)](_0x1e640a=>{const _0x3e9bc1=_0x118067;this[_0x3e9bc1(0x1a9)](_0x226257,_0x1e640a,_0x45325c[_0x3e9bc1(0x1a2)],_0x45325c[_0x3e9bc1(0x1a8)]);const {listItem:_0xc2086e,highlightViews:_0x458053}=this[_0x3e9bc1(0x1ab)](_0x226257,_0x1e640a,_0x45325c[_0x3e9bc1(0x1a2)],_0x45325c[_0x3e9bc1(0x1a8)]);this[_0x3e9bc1(0x171)][_0x3e9bc1(0x188)]({'item':_0xc2086e,'label':_0x1e640a[_0x3e9bc1(0x1b3)],'groupLabel':_0x45325c[_0x3e9bc1(0x1a2)],'highlightViews':_0x458053});});}else{const {listItem:_0x2b0d0f}=this[_0x118067(0x1a9)](_0x226257,_0x45325c);_0x3112ef[_0x118067(0x1b7)](_0x2b0d0f);const _0x1a0b51=_0x2b0d0f[_0x118067(0x169)][_0x118067(0x1c8)];if(_0x1a0b51){const {listItem:_0x5d770c,highlightViews:_0x509b1a}=this[_0x118067(0x1ab)](_0x226257,_0x45325c);this[_0x118067(0x171)][_0x118067(0x188)]({'item':_0x5d770c,'label':_0x1a0b51[_0x118067(0x1a2)]||'','highlightViews':_0x509b1a});}}}),_0x3112ef;}[_0x224927(0x1a9)](_0x305713,_0x3e48bc,_0x3ac670,_0x10bfcb){const _0x5c8819=_0x224927,_0x219af3=new _0x370b8f(this[_0x5c8819(0x149)]);if(_0x3ac670&&_0x10bfcb){const _0x429a33=new _0x50d65d(this[_0x5c8819(0x149)]),_0x582de3=_0x429a33[_0x5c8819(0x193)],_0x4528c8=new _0x107988();_0x4528c8[_0x5c8819(0x168)]=_0x3e48bc[_0x5c8819(0x1b3)];const _0x296b24=new _0x107988();_0x296b24[_0x5c8819(0x168)]=_0x3ac670;const _0x2fe8d0=new _0x2a1941();_0x2fe8d0[_0x5c8819(0x189)]=_0x10bfcb,_0x2fe8d0[_0x5c8819(0x1a3)]({'attributes':{'class':_0x5c8819(0x15f)}});const _0x568797=new _0x312975(this[_0x5c8819(0x149)]);_0x568797[_0x5c8819(0x167)]({'tag':_0x5c8819(0x17f),'attributes':{'class':_0x5c8819(0x198)},'children':[{'text':'\x20('}]});const _0x562c84=new _0x312975(this[_0x5c8819(0x149)]);return _0x562c84[_0x5c8819(0x167)]({'tag':_0x5c8819(0x17f),'attributes':{'class':_0x5c8819(0x150)},'children':[{'text':')'}]}),_0x429a33[_0x5c8819(0x159)]({'label':_0x3e48bc[_0x5c8819(0x1b3)]+'\x20('+_0x3ac670+')','withText':!0x0,'role':_0x5c8819(0x190),'class':_0x5c8819(0x1bf),'tooltip':!0x1}),_0x429a33[_0x5c8819(0x167)]({'tag':_0x5c8819(0x176),'attributes':{'class':['ck',_0x5c8819(0x1af),_0x5c8819(0x144),_0x5c8819(0x15c),_0x5c8819(0x19c)],'type':_0x5c8819(0x176),'role':_0x5c8819(0x190),'tabindex':'-1'},'children':[_0x4528c8,_0x568797,_0x2fe8d0,_0x296b24,_0x562c84],'on':{'mouseenter':_0x582de3['to'](()=>{const _0x16b764=_0x5c8819;this[_0x16b764(0x17c)]()||_0x429a33[_0x16b764(0x16e)]();}),'click':_0x582de3['to'](()=>{const _0x15314a=_0x5c8819;_0x429a33[_0x15314a(0x1ad)](_0x15314a(0x163));})}}),_0x429a33['on'](_0x5c8819(0x163),()=>{const _0x54d8a9=_0x5c8819;_0x305713[_0x54d8a9(0x153)][_0x54d8a9(0x1b8)][_0x54d8a9(0x16e)](),_0x305713[_0x54d8a9(0x18a)][_0x54d8a9(0x163)](_0x54d8a9(0x1b9),_0x3e48bc);}),_0x219af3[_0x5c8819(0x169)][_0x5c8819(0x1b7)](_0x429a33),{'listItem':_0x219af3,'highlightViews':[_0x4528c8,_0x296b24]};}{const _0x526a94=new _0x5be1a0(),_0x4002c5=new _0x50d65d(this[_0x5c8819(0x149)],_0x526a94),_0x513f29=_0x4002c5[_0x5c8819(0x193)],_0x2ddaaa=_0x3e48bc[_0x5c8819(0x1a8)]??_0x3e48bc[_0x5c8819(0x156)]?.[_0x5c8819(0x1a8)],_0x2822ed=void 0x0!==_0x3e48bc[_0x5c8819(0x1a8)];return _0x4002c5[_0x5c8819(0x159)]({'label':_0x3e48bc[_0x5c8819(0x1b3)],'withText':!0x0,'role':_0x5c8819(0x190),'icon':_0x2822ed?_0x2ddaaa??_0x1f9d60:void 0x0,'tooltip':!0x1,'class':_0x5c8819(0x15c)}),_0x4002c5[_0x5c8819(0x1a3)]({'on':{'mouseenter':_0x513f29['to'](()=>{const _0x5876bb=_0x5c8819;this[_0x5876bb(0x17c)]()||_0x4002c5[_0x5876bb(0x16e)]();})}}),_0x4002c5['on'](_0x5c8819(0x163),()=>{const _0xd9c20c=_0x5c8819;_0x305713[_0xd9c20c(0x153)][_0xd9c20c(0x1b8)][_0xd9c20c(0x16e)](),_0x305713[_0xd9c20c(0x18a)][_0xd9c20c(0x163)](_0xd9c20c(0x1b9),_0x3e48bc);}),_0x219af3[_0x5c8819(0x169)][_0x5c8819(0x1b7)](_0x4002c5),{'listItem':_0x219af3,'highlightViews':[_0x526a94]};}}[_0x224927(0x1ab)](_0x3ebb38,_0x4fdfb9,_0x17f97a,_0x42fece){const _0x47a8fc=_0x224927;return _0x17f97a&&_0x42fece?this[_0x47a8fc(0x157)](_0x3ebb38,_0x4fdfb9,_0x17f97a,_0x42fece):this[_0x47a8fc(0x147)](_0x3ebb38,_0x4fdfb9);}[_0x224927(0x157)](_0x45dbe8,_0x522ad2,_0x11ca0e,_0x355e24){const _0x310b71=_0x224927,_0x244a9f=new _0x370b8f(this[_0x310b71(0x149)]),_0x202fc3=new _0x50d65d(this[_0x310b71(0x149)]),_0x367fa2=_0x202fc3[_0x310b71(0x193)],{view:_0x58e141,highlightView:_0x3c6667}=this[_0x310b71(0x178)](_0x11ca0e,_0x355e24),{view:_0x36ef46,highlightView:_0x42acb4}=this[_0x310b71(0x16a)](_0x522ad2[_0x310b71(0x1b3)]),_0xf8ecf3=this[_0x310b71(0x1c1)](_0x58e141,_0x36ef46);return _0x202fc3[_0x310b71(0x159)]({'label':_0x522ad2[_0x310b71(0x1b3)],'withText':!0x0,'role':_0x310b71(0x190),'class':_0x310b71(0x18c),'tooltip':!0x1}),_0x202fc3[_0x310b71(0x167)]({'tag':_0x310b71(0x176),'attributes':{'class':['ck',_0x310b71(0x1af),_0x310b71(0x144),_0x310b71(0x15c),_0x310b71(0x1bb),_0x310b71(0x1ae)],'type':_0x310b71(0x176),'role':_0x310b71(0x190),'tabindex':'-1'},'children':[_0xf8ecf3],'on':{'mouseenter':_0x367fa2['to'](()=>{const _0x27ce9d=_0x310b71;this[_0x27ce9d(0x17c)]()||_0x202fc3[_0x27ce9d(0x16e)]();}),'click':_0x367fa2['to'](()=>{const _0x446b06=_0x310b71;this[_0x446b06(0x161)](_0x202fc3);})}}),this[_0x310b71(0x1a0)](_0x202fc3,_0x45dbe8,_0x522ad2),_0x244a9f[_0x310b71(0x169)][_0x310b71(0x1b7)](_0x202fc3),{'listItem':_0x244a9f,'highlightViews':[_0x3c6667,_0x42acb4]};}[_0x224927(0x147)](_0x37830c,_0x30fe05){const _0xce5d9d=_0x224927,_0x3640b5=new _0x370b8f(this[_0xce5d9d(0x149)]),_0x335fc8=new _0x5be1a0(),_0x3b823f=new _0x50d65d(this[_0xce5d9d(0x149)],_0x335fc8),_0x20980c=_0x3b823f[_0xce5d9d(0x193)];return _0x3b823f[_0xce5d9d(0x159)]({'label':_0x30fe05[_0xce5d9d(0x1b3)],'withText':!0x0,'role':_0xce5d9d(0x190),'icon':void 0x0,'tooltip':!0x1,'class':_0xce5d9d(0x19b)}),_0x3b823f[_0xce5d9d(0x1a3)]({'on':{'mouseenter':_0x20980c['to'](()=>{const _0x213a18=_0xce5d9d;this[_0x213a18(0x17c)]()||_0x3b823f[_0x213a18(0x16e)]();})}}),this[_0xce5d9d(0x1a0)](_0x3b823f,_0x37830c,_0x30fe05),_0x3640b5[_0xce5d9d(0x169)][_0xce5d9d(0x1b7)](_0x3b823f),{'listItem':_0x3640b5,'highlightViews':[_0x335fc8]};}[_0x224927(0x178)](_0x54ff83,_0x4ae059){const _0x28a896=_0x224927,_0x47220b=new _0x312975(this[_0x28a896(0x149)]),_0x4e283e=new _0x2a1941();_0x4e283e[_0x28a896(0x189)]=_0x4ae059,_0x4e283e[_0x28a896(0x1a3)]({'attributes':{'class':_0x28a896(0x15f)}});const _0x4eee05=new _0x107988();return _0x4eee05[_0x28a896(0x168)]=_0x54ff83,_0x47220b[_0x28a896(0x167)]({'tag':_0x28a896(0x174),'attributes':{'class':_0x28a896(0x16f)},'children':[_0x4e283e,_0x4eee05]}),{'view':_0x47220b,'highlightView':_0x4eee05};}[_0x224927(0x16a)](_0x5d447e){const _0x273295=_0x224927,_0x1eea0f=new _0x312975(this[_0x273295(0x149)]),_0x5aefba=new _0x107988();return _0x5aefba[_0x273295(0x168)]=_0x5d447e,_0x1eea0f[_0x273295(0x167)]({'tag':_0x273295(0x174),'attributes':{'class':_0x273295(0x14a)},'children':[_0x5aefba]}),{'view':_0x1eea0f,'highlightView':_0x5aefba};}[_0x224927(0x1c1)](_0x290c83,_0x4db165){const _0x4ec31b=_0x224927,_0x2d2f31=new _0x312975(this[_0x4ec31b(0x149)]);return _0x2d2f31[_0x4ec31b(0x167)]({'tag':_0x4ec31b(0x174),'attributes':{'class':_0x4ec31b(0x191)},'children':[_0x290c83,_0x4db165]}),_0x2d2f31;}[_0x224927(0x1a0)](_0x69edeb,_0xa0617c,_0x3dffe4){const _0x26aa12=_0x224927;_0x69edeb['on'](_0x26aa12(0x163),()=>{const _0x34bc54=_0x26aa12;_0xa0617c[_0x34bc54(0x153)][_0x34bc54(0x1b8)][_0x34bc54(0x16e)](),_0xa0617c[_0x34bc54(0x18a)][_0x34bc54(0x163)](_0x34bc54(0x1b9),_0x3dffe4);});}[_0x224927(0x1c2)](_0x19c869,_0x2e9e19,_0x4cc419){const _0x4c753a=_0x224927,_0x31aab5=new _0x370b8f(this[_0x4c753a(0x149)]),_0x3e5833=new _0x5be1a0(),_0x12faee=new _0x1133b7(this[_0x4c753a(0x149)],_0x3e5833),_0x14dbe9=_0x12faee[_0x4c753a(0x193)],_0x372e4e=this[_0x4c753a(0x18b)](_0x4cc419),_0x132fd=this[_0x4c753a(0x175)](_0x19c869,_0x2e9e19[_0x4c753a(0x1bd)],_0x4cc419);_0x12faee[_0x4c753a(0x159)]({'label':_0x2e9e19[_0x4c753a(0x1a2)],'withText':!0x0,'role':Os,'icon':_0x2e9e19[_0x4c753a(0x1a8)]??_0x1f9d60,'isEnabled':_0x2e9e19[_0x4c753a(0x1bd)][_0x4c753a(0x162)](_0x5af4c3=>_0x5af4c3[_0x4c753a(0x170)])}),_0x12faee[_0x4c753a(0x1a3)]({'on':{'mouseenter':_0x14dbe9['to'](()=>{const _0x283e1a=_0x4c753a;this[_0x283e1a(0x17c)]()||_0x12faee[_0x283e1a(0x16e)]();})}});const _0xbfa24d=new _0x4d0cf8(this[_0x4c753a(0x149)]);return _0xbfa24d[_0x4c753a(0x1a3)]({'attributes':{'class':['ck',_0x4c753a(0x1be),_0x4c753a(0x17a),_0x4c753a(0x1ac)]},'on':{'keydown':_0x14dbe9['to'](_0x516cb1=>{const _0x2616b9=_0x4c753a;this[_0x2616b9(0x183)](_0x516cb1,_0x372e4e,_0x12faee,_0xbfa24d);})}}),_0x12faee[_0x4c753a(0x16b)](_0x4c753a(0x1aa))['to'](_0xbfa24d,_0x4c753a(0x1a5)),this[_0x4c753a(0x1c9)][_0x4c753a(0x1b7)](_0xbfa24d),_0xbfa24d[_0x4c753a(0x189)][_0x4c753a(0x1b7)](_0x132fd),this[_0x4c753a(0x1a6)](_0x12faee,_0xbfa24d),_0x31aab5[_0x4c753a(0x169)][_0x4c753a(0x1b7)](_0x12faee),{'listItem':_0x31aab5,'highlightView':_0x3e5833};}[_0x224927(0x175)](_0x582a02,_0x9bf1f,_0x7d786e){const _0xa50a18=_0x224927,_0x1c4b9a=new _0x2a7714(this[_0xa50a18(0x149)]);return _0x1c4b9a[_0xa50a18(0x1a3)]({'attributes':{'class':['ck',_0xa50a18(0x1be),_0xa50a18(0x14e),_0xa50a18(0x154)]}}),_0x9bf1f[_0xa50a18(0x165)](_0x5f01d5=>{const _0x84ca38=_0xa50a18,_0x3302e1=new _0x370b8f(this[_0x84ca38(0x149)]),_0x45bb1e=_0x2b8f4d({'editor':_0x582a02,'action':_0x5f01d5,'withText':!0x0,'withIcon':!0x1,'isInDropdown':!0x0,'shouldPreventFocus':()=>this[_0x84ca38(0x17c)]()})();_0x3302e1[_0x84ca38(0x169)][_0x84ca38(0x1b7)](_0x45bb1e),_0x7d786e[_0x84ca38(0x14c)][_0x84ca38(0x1b7)](_0x45bb1e),_0x1c4b9a[_0x84ca38(0x18e)][_0x84ca38(0x1b7)](_0x3302e1);}),_0x1c4b9a;}[_0x224927(0x1a6)](_0x3b6b1c,_0x466f90){const _0x3d5255=_0x224927,_0x41711e=_0x3b6b1c[_0x3d5255(0x193)],_0x3df546=this[_0x3d5255(0x155)](_0x3b6b1c);_0x3b6b1c[_0x3d5255(0x1a3)]({'attributes':{'class':[_0x3d5255(0x142)]},'on':{'mouseenter':_0x41711e['to'](()=>{const _0x25b133=_0x3d5255;this[_0x25b133(0x146)](_0x466f90,_0x3b6b1c);}),'mouseleave':_0x41711e['to'](_0x46e1ce=>{const _0x255356=_0x3d5255,_0x1ee424=_0x46e1ce[_0x255356(0x181)];this[_0x255356(0x195)](_0x1ee424,_0x466f90)||this[_0x255356(0x1b0)](_0x466f90);}),'keydown':_0x41711e['to'](_0x745b7f=>{const _0x494595=_0x3d5255;_0x745b7f[_0x494595(0x1ca)]==_0x3df546&&(this[_0x494595(0x146)](_0x466f90,_0x3b6b1c),_0x466f90[_0x494595(0x189)][_0x494595(0x143)](0x0)[_0x494595(0x16e)]());})}}),_0x466f90['on'](_0x3d5255(0x16d),()=>{const _0x9cde46=_0x3d5255;_0x466f90[_0x9cde46(0x15a)]?.[_0x9cde46(0x173)](_0x9cde46(0x1b2),_0x194486=>{const _0x328eeb=_0x9cde46,_0x987d6c=_0x194486[_0x328eeb(0x181)];_0x3b6b1c[_0x328eeb(0x15a)]?.[_0x328eeb(0x1a7)](_0x987d6c)||this[_0x328eeb(0x195)](_0x987d6c,_0x466f90)||this[_0x328eeb(0x1b0)](_0x466f90);});});}[_0x224927(0x146)](_0x507a83,_0x4c73c2){const _0x378241=_0x224927;this[_0x378241(0x14d)][_0x378241(0x165)](_0x37efdc=>{const _0x593bc9=_0x378241;_0x37efdc!==_0x507a83&&_0x37efdc[_0x593bc9(0x1a5)]&&_0x37efdc[_0x593bc9(0x1c4)]();}),_0x507a83[_0x378241(0x1c3)](),_0x507a83[_0x378241(0x15b)]({'positions':[_0xadc570[_0x378241(0x186)]],'target':_0x4c73c2[_0x378241(0x15a)],'fitInViewport':!0x0}),this[_0x378241(0x14d)][_0x378241(0x1b7)](_0x507a83);}[_0x224927(0x1b0)](_0xc717){const _0x170c94=_0x224927;_0xc717[_0x170c94(0x1c4)](),this[_0x170c94(0x14d)][_0x170c94(0x166)](_0xc717);}[_0x224927(0x16c)](){const _0x16cbe0=_0x224927;this[_0x16cbe0(0x14d)][_0x16cbe0(0x165)](_0x6e9124=>_0x6e9124[_0x16cbe0(0x1c4)]()),this[_0x16cbe0(0x14d)][_0x16cbe0(0x1b6)]();}[_0x224927(0x195)](_0x597225,_0x11f70f){const _0x30e63c=_0x224927;if(!_0x597225)return!0x1;if(_0x11f70f[_0x30e63c(0x15a)]?.[_0x30e63c(0x1a7)](_0x597225))return!0x0;const _0x5c4bd1=_0x597225;return _0x5c4bd1[_0x30e63c(0x15e)]&&(null!==_0x5c4bd1[_0x30e63c(0x15e)](_0x30e63c(0x1b1))||null!==_0x5c4bd1[_0x30e63c(0x15e)](_0x30e63c(0x158))||null!==_0x5c4bd1[_0x30e63c(0x15e)](_0x30e63c(0x185)));}[_0x224927(0x1b5)](){const _0x14eb92=_0x224927;this[_0x14eb92(0x197)]&&this[_0x14eb92(0x197)][_0x14eb92(0x199)]();}[_0x224927(0x14b)](){const _0x410c96=_0x224927;this[_0x410c96(0x16c)](),this[_0x410c96(0x1c9)][_0x410c96(0x1b4)](),super[_0x410c96(0x14b)]();}[_0x224927(0x16e)](){const _0x5e2341=_0x224927;this[_0x5e2341(0x197)]?this[_0x5e2341(0x197)][_0x5e2341(0x16e)]():this[_0x5e2341(0x14f)][_0x5e2341(0x16e)]();}[_0x224927(0x18b)](_0x47a718){const _0x11fcbf=_0x224927;return _0x11fcbf(0x18d)===_0x47a718[_0x11fcbf(0x149)][_0x11fcbf(0x145)]?_0x11fcbf(0x19e):_0x11fcbf(0x19a);}[_0x224927(0x155)](_0x3aa130){const _0x3852d8=_0x224927;return _0x3852d8(0x18d)===_0x3aa130[_0x3852d8(0x149)][_0x3852d8(0x145)]?_0x3852d8(0x19a):_0x3852d8(0x19e);}[_0x224927(0x183)](_0x18d735,_0x242c1c,_0x53810b,_0x568ea0){const _0x5adf51=_0x224927;_0x18d735[_0x5adf51(0x1ca)]==_0x242c1c&&(_0x53810b[_0x5adf51(0x16e)](),this[_0x5adf51(0x1b0)](_0x568ea0));}[_0x224927(0x161)](_0x53420f){const _0x565150=_0x224927;_0x53420f[_0x565150(0x1ad)](_0x565150(0x163));}}
|