@ckeditor/ckeditor5-ai 47.2.0-alpha.1 → 47.2.0-alpha.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/build/ai.js +1 -1
- package/build/translations/ar.js +1 -1
- package/build/translations/bg.js +1 -1
- package/build/translations/bn.js +1 -1
- package/build/translations/ca.js +1 -1
- package/build/translations/cs.js +1 -1
- package/build/translations/da.js +1 -1
- package/build/translations/de.js +1 -1
- package/build/translations/el.js +1 -1
- package/build/translations/es.js +1 -1
- package/build/translations/et.js +1 -1
- package/build/translations/fi.js +1 -1
- package/build/translations/fr.js +1 -1
- package/build/translations/he.js +1 -1
- package/build/translations/hi.js +1 -1
- package/build/translations/hu.js +1 -1
- package/build/translations/id.js +1 -1
- package/build/translations/it.js +1 -1
- package/build/translations/ja.js +1 -1
- package/build/translations/ko.js +1 -1
- package/build/translations/lt.js +1 -1
- package/build/translations/lv.js +1 -1
- package/build/translations/ms.js +1 -1
- package/build/translations/nl.js +1 -1
- package/build/translations/no.js +1 -1
- package/build/translations/pl.js +1 -1
- package/build/translations/pt-br.js +1 -1
- package/build/translations/pt.js +1 -1
- package/build/translations/ro.js +1 -1
- package/build/translations/ru.js +1 -1
- package/build/translations/sk.js +1 -1
- package/build/translations/sr.js +1 -1
- package/build/translations/sv.js +1 -1
- package/build/translations/th.js +1 -1
- package/build/translations/tr.js +1 -1
- package/build/translations/uk.js +1 -1
- package/build/translations/vi.js +1 -1
- package/build/translations/zh-cn.js +1 -1
- package/build/translations/zh.js +1 -1
- package/dist/index.js +5 -5
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/lang/translations/ar.po +34 -34
- package/lang/translations/bg.po +26 -26
- package/lang/translations/bn.po +26 -26
- package/lang/translations/ca.po +26 -26
- package/lang/translations/cs.po +28 -28
- package/lang/translations/da.po +26 -26
- package/lang/translations/de.po +26 -26
- package/lang/translations/el.po +26 -26
- package/lang/translations/es.po +26 -26
- package/lang/translations/et.po +26 -26
- package/lang/translations/fi.po +26 -26
- package/lang/translations/fr.po +26 -26
- package/lang/translations/he.po +26 -26
- package/lang/translations/hi.po +26 -26
- package/lang/translations/hu.po +26 -26
- package/lang/translations/id.po +24 -24
- package/lang/translations/it.po +26 -26
- package/lang/translations/ja.po +24 -24
- package/lang/translations/ko.po +24 -24
- package/lang/translations/lt.po +28 -28
- package/lang/translations/lv.po +28 -28
- package/lang/translations/ms.po +24 -24
- package/lang/translations/nl.po +26 -26
- package/lang/translations/no.po +26 -26
- package/lang/translations/pl.po +28 -28
- package/lang/translations/pt-br.po +26 -26
- package/lang/translations/pt.po +26 -26
- package/lang/translations/ro.po +28 -28
- package/lang/translations/ru.po +28 -28
- package/lang/translations/sk.po +28 -28
- package/lang/translations/sr.po +28 -28
- package/lang/translations/sv.po +26 -26
- package/lang/translations/th.po +24 -24
- package/lang/translations/tr.po +26 -26
- package/lang/translations/uk.po +28 -28
- package/lang/translations/vi.po +24 -24
- package/lang/translations/zh-cn.po +24 -24
- package/lang/translations/zh.po +24 -24
- package/package.json +15 -15
- package/src/aiactions/aiactions.js +1 -1
- package/src/aiactions/model/aiactionsinteraction.js +1 -1
- package/src/aiactions/model/aiactionsreply.js +1 -1
- package/src/aiassistant/adapters/aiadapter.js +1 -1
- package/src/aiassistant/adapters/aitextadapter.js +1 -1
- package/src/aiassistant/adapters/awstextadapter.js +1 -1
- package/src/aiassistant/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant/aiassistant.js +1 -1
- package/src/aiassistant/aiassistantediting.js +1 -1
- package/src/aiassistant/aiassistantui.js +1 -1
- package/src/aiassistant/legacyerrors.js +1 -1
- package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
- package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
- package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
- package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
- package/src/aiassistant/ui/form/aiformview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
- package/src/aiassistant/ui/form/prompthistory.js +1 -1
- package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
- package/src/aiassistant/utils/common-translations.js +1 -1
- package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
- package/src/aiballoon/aiballoon.js +1 -1
- package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
- package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
- package/src/aiballoon/ui/aiballoonview.js +1 -1
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/model/aichatmodels.js +1 -1
- package/src/aichat/ui/aichatcontrolsview.js +1 -1
- package/src/aichat/ui/aichatfeedview.js +1 -1
- package/src/aichat/ui/aichatheaderview.js +1 -1
- package/src/aichat/ui/aichatview.js +1 -1
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
- package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
- package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
- package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
- package/src/aichat/utils/eventnames.js +1 -1
- package/src/aichat/utils/promisequeue.js +1 -1
- package/src/aichat/utils/scrollmanager.js +1 -1
- package/src/aichathistory/aichathistory.js +1 -1
- package/src/aichathistory/aichathistorycontroller.js +1 -1
- package/src/aichathistory/aichathistoryui.js +1 -1
- package/src/aichathistory/model/aichathistoryconversations.js +1 -1
- package/src/aichathistory/model/aichathistoryitem.js +1 -1
- package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
- package/src/aichathistory/ui/aichathistorylistview.js +1 -1
- package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
- package/src/aichathistory/ui/aichathistoryview.js +1 -1
- package/src/aicore/aiconnector.js +1 -1
- package/src/aicore/aiediting.js +1 -1
- package/src/aicore/model/aicapabilities.js +1 -1
- package/src/aicore/model/aicontext.js +1 -1
- package/src/aicore/model/aiinteraction.js +1 -1
- package/src/aicore/model/aimodels.js +1 -1
- package/src/aicore/model/aireply.js +1 -1
- package/src/aicore/pipeline/airesponseapplier.js +2 -2
- package/src/aicore/pipeline/airesponseparser.js +2 -2
- package/src/aicore/ui/aidisclaimerview.js +1 -1
- package/src/aicore/ui/aiskeleton.js +1 -1
- package/src/aicore/ui/aispinner.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
- package/src/aicore/utils/common-translations.js +1 -1
- package/src/aicore/utils/createresizebutton.js +1 -1
- package/src/aicore/utils/documentposition.js +1 -1
- package/src/aicore/utils/documentrange.js +1 -1
- package/src/aicore/utils/eventnames.js +1 -1
- package/src/aicore/utils/geteditorfromcontext.js +1 -1
- package/src/aicore/utils/getoperationsfromreply.js +1 -1
- package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
- package/src/aicore/utils/htmlparser.js +1 -1
- package/src/aicore/utils/htmlstreamer.js +1 -1
- package/src/aieditorintegration/aieditorintegration.js +1 -1
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
- package/src/aiquickactions/aiquickactions.js +1 -1
- package/src/aiquickactions/aiquickactionscommand.js +1 -1
- package/src/aiquickactions/aiquickactionsediting.js +1 -1
- package/src/aiquickactions/aiquickactionsui.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
- package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
- package/src/aireviewmode/aireviewmode.js +1 -1
- package/src/aireviewmode/aireviewmodecontroller.js +1 -1
- package/src/aireviewmode/aireviewmodeediting.js +1 -1
- package/src/aireviewmode/aireviewmodeui.js +1 -1
- package/src/aireviewmode/model/aireviewcheck.js +1 -1
- package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
- package/src/aireviewmode/model/aireviewchecklist.js +1 -1
- package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
- package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
- package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
- package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
- package/src/aitabs/aitabs.js +1 -1
- package/src/aitabs/aitabsmainview.js +1 -1
- package/src/aitabs/tabs/aitabsview.js +1 -1
- package/src/aitabs/tabs/tabbuttonview.js +1 -1
- package/src/aitabs/tabs/tabpanelview.js +1 -1
- package/src/errors.js +1 -1
- package/src/index.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1800ee=_0xd08a;(function(_0x5293e9,_0x4d79ea){const _0x432515=_0xd08a,_0x231597=_0x5293e9();while(!![]){try{const _0x40435d=parseInt(_0x432515(0xb4))/0x1*(parseInt(_0x432515(0x83))/0x2)+parseInt(_0x432515(0xb7))/0x3*(-parseInt(_0x432515(0xa7))/0x4)+parseInt(_0x432515(0x82))/0x5+parseInt(_0x432515(0x9c))/0x6*(parseInt(_0x432515(0x94))/0x7)+-parseInt(_0x432515(0x91))/0x8*(-parseInt(_0x432515(0xa3))/0x9)+parseInt(_0x432515(0x97))/0xa*(-parseInt(_0x432515(0x7d))/0xb)+parseInt(_0x432515(0x8e))/0xc;if(_0x40435d===_0x4d79ea)break;else _0x231597['push'](_0x231597['shift']());}catch(_0x5578bc){_0x231597['push'](_0x231597['shift']());}}}(_0x26e0,0xd467c));import _0x120b1f from'morphdom';function _0x26e0(){const _0x11d27d=['match','tagName','22349340SuMiiF','map','currentIndex','280fbTUGI','renderNode','isWordSplitSource','25781KwJHOf','stream','forEach','40bqOaQe','delay','children','childNodes','isWordSplitResult','1182lJAPci','replaceWith','includes','isStreaming','splitTextNodeIntoWordNodes','del','textNodeStyle','9441QFBekc','span','bind','document','3448892NGXEWp','code','cleanUpAnimations','ai-html-streamer-current-index-out-of-bounds','now','mark','onStreamUpdate','options','getParsedDocumentNodeList','addEventListener','div','parent','entries','377020gWpRNd','signal','strong','6RJKiVA','from','reverse','attribs','span[data-ck-html-streamer-word-chunk]','4603874GhyNko','length','sub','timeoutAbortController','sup','679015qJHTFR','8bQmOsG','ins','stop','push','shouldBeStreamed','abort','join','querySelectorAll','nodesList'];_0x26e0=function(){return _0x11d27d;};return _0x26e0();}import{NodeWithChildren as _0x55a57e,Text as _0xd28aa,Element as _0x43bb44,isText as _0x346a38,isDocument as _0x58d4f1,isTag as _0x301785,cloneNode as _0x315dba,getChildren as _0x1484d5,prepend as _0x32e4bf,removeElement as _0xe394a1,textContent as _0x180356,render as _0x1512d5}from'./htmlparser.js';import{logWarning as _0x436c51}from'ckeditor5/src/utils.js';export class HTMLStreamer{[_0x1800ee(0xae)];[_0x1800ee(0x9f)]=!0x1;[_0x1800ee(0xa6)]=null;[_0x1800ee(0x8b)]=[];[_0x1800ee(0x90)]=0x0;[_0x1800ee(0x80)]=null;constructor(_0x5113b6){const _0x3bbb5b=_0x1800ee;this[_0x3bbb5b(0xae)]={'delay':_0x5113b6[_0x3bbb5b(0x98)]??0x14,'textNodeStyle':_0x5113b6[_0x3bbb5b(0xa2)],'onStreamUpdate':_0x5113b6[_0x3bbb5b(0xad)]||(()=>{})};}async[_0x1800ee(0x95)]({document:_0xf248f3,targetElement:_0x39135e,abortSignal:_0x1a0dcf}){const _0x50b897=_0x1800ee;this[_0x50b897(0x9f)]&&this[_0x50b897(0x85)](),_0x1a0dcf?.[_0x50b897(0xb0)](_0x50b897(0x88),this[_0x50b897(0x85)][_0x50b897(0xa5)](this)),this[_0x50b897(0xa6)]=_0x315dba(_0xf248f3,!0x0),this[_0x50b897(0x8b)]=this[_0x50b897(0xaf)](),this[_0x50b897(0x9f)]=!0x0,this[_0x50b897(0x90)]>this[_0x50b897(0x8b)][_0x50b897(0x7e)]&&(_0x436c51(_0x50b897(0xaa),{'currentIndex':this[_0x50b897(0x90)],'nodeList':this[_0x50b897(0x8b)]}),this[_0x50b897(0x90)]=this[_0x50b897(0x8b)][_0x50b897(0x7e)]);for(let _0x3624b8=0x0;_0x3624b8<this[_0x50b897(0x90)];_0x3624b8++)this[_0x50b897(0x8b)][_0x3624b8][_0x50b897(0x87)]=!0x0;let _0xea754=0x0;for(let _0x52bbf2=this[_0x50b897(0x90)];_0x52bbf2<this[_0x50b897(0x8b)][_0x50b897(0x7e)];_0x52bbf2++){const _0x130102=Date[_0x50b897(0xab)](),_0xc77ca9=this[_0x50b897(0x8b)][_0x52bbf2],_0x135476=_0x130102-_0xea754;_0xc77ca9[_0x50b897(0x87)]=!0x0;let _0x434d7d=_0xc77ca9[_0x50b897(0xb2)];for(;_0x434d7d;)_0x434d7d[_0x50b897(0x87)]=!0x0,_0x434d7d=_0x434d7d[_0x50b897(0xb2)];if(_0x135476<this[_0x50b897(0xae)][_0x50b897(0x98)])try{const {promise:_0x1d644e,abortController:_0x10e0bd}=pr(this[_0x50b897(0xae)][_0x50b897(0x98)]-_0x135476);this[_0x50b897(0x80)]=_0x10e0bd,await _0x1d644e;}catch(_0x396a2e){return;}_0x120b1f(_0x39135e,'<'+_0x39135e[_0x50b897(0x8d)]+'>'+this[_0x50b897(0x92)](this[_0x50b897(0xa6)])+'</'+_0x39135e[_0x50b897(0x8d)]+'>',{'childrenOnly':!0x0}),this[_0x50b897(0xae)][_0x50b897(0xad)]&&this[_0x50b897(0xae)][_0x50b897(0xad)](),this[_0x50b897(0x90)]=_0x52bbf2,_0xea754=Date[_0x50b897(0xab)]();}this[_0x50b897(0x9f)]=!0x1;}[_0x1800ee(0xa9)]({targetElement:_0x376de9}){const _0x2ad62c=_0x1800ee;Array[_0x2ad62c(0x79)](_0x376de9[_0x2ad62c(0x8a)](_0x2ad62c(0x7c)))[_0x2ad62c(0x7a)]()[_0x2ad62c(0x96)](_0x5b6184=>{const _0x4ba218=_0x2ad62c;_0x5b6184[_0x4ba218(0x9d)](_0x5b6184[_0x4ba218(0x9a)][0x0]);});}[_0x1800ee(0x85)](){const _0x22bd5f=_0x1800ee;this[_0x22bd5f(0x9f)]=!0x1,this[_0x22bd5f(0x80)]&&(this[_0x22bd5f(0x80)][_0x22bd5f(0x88)](),this[_0x22bd5f(0x80)]=null);}[_0x1800ee(0x92)](_0x1f8f3d){const _0x4889ee=_0x1800ee;let _0x36db8d='';if(function(_0x55cdbe){return _0x58d4f1(_0x55cdbe);}(_0x1f8f3d)){for(const _0x21504f of _0x1f8f3d[_0x4889ee(0x99)])_0x36db8d+=this[_0x4889ee(0x92)](_0x21504f);}else{if(dr(_0x1f8f3d)){if(!_0x1f8f3d[_0x4889ee(0x87)])return'';const _0x2c125a=_0x1f8f3d,_0x5e627e=Object[_0x4889ee(0xb3)](_0x2c125a[_0x4889ee(0x7b)])[_0x4889ee(0x8f)](([_0x5a5ee8,_0x17e7cb])=>_0x5a5ee8+'=\x22'+_0x17e7cb+'\x22')[_0x4889ee(0x89)]('\x20');_0x36db8d+='<'+_0x2c125a[_0x4889ee(0x8d)]+(_0x5e627e?'\x20'+_0x5e627e:'')+'>';for(const _0x37efd4 of _0x1484d5(_0x2c125a))_0x36db8d+=this[_0x4889ee(0x92)](_0x37efd4);_0x36db8d+='</'+_0x2c125a[_0x4889ee(0x8d)]+'>';}else{if(!ar(_0x1f8f3d))return'';if(!_0x1f8f3d[_0x4889ee(0x87)])return'';!function(_0x20b2c2){const _0x569840=_0x4889ee;if(!_0x20b2c2[_0x569840(0xb2)]||!dr(_0x20b2c2[_0x569840(0xb2)]))return!0x1;if(!cr[_0x569840(0x9e)](_0x20b2c2[_0x569840(0xb2)][_0x569840(0x8d)]))return!0x1;return!_0x180356(_0x20b2c2)[_0x569840(0x8c)](/^\s*[<>]\s*$/);}(_0x1f8f3d)?_0x36db8d+=_0x1512d5(_0x1f8f3d):_0x36db8d+=_0x1512d5(new _0x43bb44(_0x4889ee(0xa4),{'data-ck-html-streamer-word-chunk':'','style':this[_0x4889ee(0xae)][_0x4889ee(0xa2)]},[_0x1f8f3d]));}}return _0x36db8d;}[_0x1800ee(0xaf)](){const _0x20210e=_0x1800ee,_0x1e21a9=[];return function(_0x2fdaea,_0x5e5481){const _0x1d09e6=_0xd08a,_0x1e9472=_0x455205=>{const _0x1c625d=_0xd08a;if(_0x5e5481(_0x455205),_0x455205 instanceof _0x55a57e)for(let _0x3a0662=0x0;_0x3a0662<_0x455205[_0x1c625d(0x99)][_0x1c625d(0x7e)];_0x3a0662++){const _0xd7fd69=_0x455205[_0x1c625d(0x99)][_0x3a0662];_0x1e9472(_0xd7fd69);}};for(let _0x6b10e1=0x0;_0x6b10e1<_0x2fdaea[_0x1d09e6(0x99)][_0x1d09e6(0x7e)];_0x6b10e1++)_0x1e9472(_0x2fdaea[_0x1d09e6(0x99)][_0x6b10e1]);}(this[_0x20210e(0xa6)],_0x1735cf=>{const _0x5d1d1a=_0x20210e;if(ar(_0x1735cf)){const _0x357ef9=this[_0x5d1d1a(0xa0)](_0x1735cf);_0x357ef9[_0x5d1d1a(0x7e)]&&_0x1e21a9[_0x5d1d1a(0x86)](..._0x357ef9);}_0x1735cf[_0x5d1d1a(0x93)]||_0x1735cf[_0x5d1d1a(0x9b)]||_0x1e21a9[_0x5d1d1a(0x86)](_0x1735cf);}),_0x1e21a9;}[_0x1800ee(0xa0)](_0x27c456){const _0x3c2a28=_0x1800ee;if(_0x27c456[_0x3c2a28(0x93)]||_0x27c456[_0x3c2a28(0x9b)])return[];const _0x53f358=_0x180356(_0x27c456)[_0x3c2a28(0x8c)](/(?:\s*\S+\s*)/g),_0x3d9765=[];if(_0x53f358&&_0x53f358[_0x3c2a28(0x7e)]>0x1){for(const _0xc53559 of _0x53f358){const _0x5ac8fd=new _0xd28aa(_0xc53559);_0x5ac8fd[_0x3c2a28(0x9b)]=!0x0,_0x32e4bf(_0x27c456,_0x5ac8fd),_0x3d9765[_0x3c2a28(0x86)](_0x5ac8fd);}_0x27c456[_0x3c2a28(0x93)]=!0x0,_0xe394a1(_0x27c456);}return _0x3d9765;}}function _0xd08a(_0x1e2f75,_0x101bd3){const _0x26e0bf=_0x26e0();return _0xd08a=function(_0xd08a9b,_0x3f0257){_0xd08a9b=_0xd08a9b-0x79;let _0x576cd3=_0x26e0bf[_0xd08a9b];return _0x576cd3;},_0xd08a(_0x1e2f75,_0x101bd3);}const cr=['p','li','td','th',_0x1800ee(0xa4),'h1','h2','h3','h4','h5','h6','b',_0x1800ee(0xb6),'i','em',_0x1800ee(0xac),_0x1800ee(0xa1),_0x1800ee(0x84),_0x1800ee(0x81),_0x1800ee(0x7f),'a',_0x1800ee(0xa8),_0x1800ee(0xb1)];function ar(_0xd65784){return _0x346a38(_0xd65784);}function dr(_0x209bba){return _0x301785(_0x209bba);}function pr(_0x4173ae){const _0x24b30d=new AbortController();return{'promise':new Promise((_0xbe930e,_0x32d619)=>{const _0x22e2bc=_0xd08a,_0x392377=setTimeout(_0xbe930e,_0x4173ae);_0x24b30d[_0x22e2bc(0xb5)][_0x22e2bc(0xb0)](_0x22e2bc(0x88),()=>{clearTimeout(_0x392377),_0x32d619();});}),'abortController':_0x24b30d};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x337791=_0x43e8;function _0x391f(){var _0x306ccd=['891834BFKJQH','29399823FmqdeZ','isOfficialPlugin','4kfDwRS','1137340erZJOx','isPremiumPlugin','314243UKFkKV','2864065jmkywL','2764095xAFqGt','54880LjEOvL','pluginName','AIEditorIntegration','requires','917PwbNuY'];_0x391f=function(){return _0x306ccd;};return _0x391f();}(function(_0x5452d4,_0x33a8d7){var _0x581737=_0x43e8,_0x45358d=_0x5452d4();while(!![]){try{var _0x4713a2=parseInt(_0x581737(0x1ba))/0x1+-parseInt(_0x581737(0x1b8))/0x2+-parseInt(_0x581737(0x1ae))/0x3+parseInt(_0x581737(0x1b7))/0x4*(-parseInt(_0x581737(0x1ad))/0x5)+-parseInt(_0x581737(0x1b4))/0x6+-parseInt(_0x581737(0x1b3))/0x7*(parseInt(_0x581737(0x1af))/0x8)+parseInt(_0x581737(0x1b5))/0x9;if(_0x4713a2===_0x33a8d7)break;else _0x45358d['push'](_0x45358d['shift']());}catch(_0x4d5a7e){_0x45358d['push'](_0x45358d['shift']());}}}(_0x391f,0x72ed7));function _0x43e8(_0x23ede5,_0x37bd7f){var _0x391f1e=_0x391f();return _0x43e8=function(_0x43e8ca,_0x4cbe68){_0x43e8ca=_0x43e8ca-0x1ad;var _0x120a0e=_0x391f1e[_0x43e8ca];return _0x120a0e;},_0x43e8(_0x23ede5,_0x37bd7f);}import{Plugin as _0x2166ab}from'ckeditor5/src/core.js';import{AIToggleButtonUI as _0x4727ff}from'./aitogglebutton/aitogglebuttonui.js';import{SuggestionsConversion as _0xd4ebb2}from'@ckeditor/ckeditor5-collaboration-core';export class AIEditorIntegration extends _0x2166ab{static get[_0x337791(0x1b2)](){return[_0x4727ff,_0xd4ebb2];}static get[_0x337791(0x1b0)](){var _0x1f8641=_0x337791;return _0x1f8641(0x1b1);}static get[_0x337791(0x1b6)](){return!0x0;}static get[_0x337791(0x1b9)](){return!0x0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4d93c3=_0x2ff2;(function(_0x1e0759,_0x105c4b){const _0x56f99a=_0x2ff2,_0x340fb2=_0x1e0759();while(!![]){try{const _0x481cc2=-parseInt(_0x56f99a(0xec))/0x1+-parseInt(_0x56f99a(0xe5))/0x2+parseInt(_0x56f99a(0xdb))/0x3+parseInt(_0x56f99a(0xcf))/0x4+parseInt(_0x56f99a(0xed))/0x5+parseInt(_0x56f99a(0xe4))/0x6+-parseInt(_0x56f99a(0xd7))/0x7;if(_0x481cc2===_0x105c4b)break;else _0x340fb2['push'](_0x340fb2['shift']());}catch(_0x20b04a){_0x340fb2['push'](_0x340fb2['shift']());}}}(_0x16de,0xd8bd2));import{Plugin as _0x17749d}from'ckeditor5/src/core.js';import{ToggleAICommand as _0x2a681b}from'./toggleaicommand.js';import{ButtonView as _0x2f7a34,MenuBarMenuListItemButtonView as _0x2dd637}from'ckeditor5/src/ui.js';function _0x16de(){const _0x3072da=['288144lyBoyM','add','locale','value','isOfficialPlugin','isPremiumPlugin','requires','bind','componentFactory','2114904YXOqxi','309520EVGlVf','editor','menuBar:toggleAi','execute','listenTo','get','isOn','1003794gfVoRF','8821435SIWUJs','_createAIUIButton','3378844fFQTuz','pluginName','toggleAi','isEnabled','AI_TOGGLE_BUTTON_LABEL','set','AIToggleButtonUI','init','7078498sNlPGD','commands','ck-ai-toggle-button','menuitemcheckbox'];_0x16de=function(){return _0x3072da;};return _0x16de();}import{IconAIAskAI as _0x4f6b01}from'@ckeditor/ckeditor5-icons';function _0x2ff2(_0x5556dd,_0x71841c){const _0x16dec8=_0x16de();return _0x2ff2=function(_0x2ff20e,_0x10fdf6){_0x2ff20e=_0x2ff20e-0xcf;let _0x2b5258=_0x16dec8[_0x2ff20e];return _0x2b5258;},_0x2ff2(_0x5556dd,_0x71841c);}import{getTranslation as _0xe22d82}from'../../aicore/utils/common-translations.js';import{AITabs as _0x367499}from'../../aitabs/aitabs.js';import'../../../theme/aieditorintegration/aitogglebutton.css';export class AIToggleButtonUI extends _0x17749d{static get[_0x4d93c3(0xe1)](){return[_0x367499];}static get[_0x4d93c3(0xd0)](){const _0x2ad143=_0x4d93c3;return _0x2ad143(0xd5);}static get[_0x4d93c3(0xdf)](){return!0x0;}static get[_0x4d93c3(0xe0)](){return!0x0;}[_0x4d93c3(0xd6)](){const _0x5227a8=_0x4d93c3,_0x39ed31=this[_0x5227a8(0xe6)];_0x39ed31[_0x5227a8(0xd8)][_0x5227a8(0xdc)](_0x5227a8(0xd1),new _0x2a681b(_0x39ed31)),_0x39ed31['ui'][_0x5227a8(0xe3)][_0x5227a8(0xdc)](_0x5227a8(0xd1),()=>{const _0x110121=_0x5227a8,_0x72e862=this[_0x110121(0xee)](_0x2f7a34);return _0x72e862[_0x110121(0xd4)]({'tooltip':!0x0,'class':_0x110121(0xd9)}),_0x72e862;}),_0x39ed31['ui'][_0x5227a8(0xe3)][_0x5227a8(0xdc)](_0x5227a8(0xe7),()=>{const _0x24e37c=_0x5227a8,_0x4b000d=this[_0x24e37c(0xee)](_0x2dd637);return _0x4b000d[_0x24e37c(0xd4)]({'role':_0x24e37c(0xda)}),_0x4b000d;});}[_0x4d93c3(0xee)](_0x37cecb){const _0x4b6e9d=_0x4d93c3,_0x5a93cf=this[_0x4b6e9d(0xe6)],_0x4aa0cf=_0x5a93cf[_0x4b6e9d(0xd8)][_0x4b6e9d(0xea)](_0x4b6e9d(0xd1)),_0x52eb9f=new _0x37cecb(_0x5a93cf[_0x4b6e9d(0xdd)]);return _0x52eb9f[_0x4b6e9d(0xd4)]({'label':_0xe22d82(_0x5a93cf[_0x4b6e9d(0xdd)],_0x4b6e9d(0xd3)),'icon':_0x4f6b01,'isToggleable':!0x0}),_0x52eb9f[_0x4b6e9d(0xe2)](_0x4b6e9d(0xd2))['to'](_0x4aa0cf),_0x52eb9f[_0x4b6e9d(0xe2)](_0x4b6e9d(0xeb))['to'](_0x4aa0cf,_0x4b6e9d(0xde),_0x281351=>!!_0x281351),this[_0x4b6e9d(0xe9)](_0x52eb9f,_0x4b6e9d(0xe8),()=>{const _0x133086=_0x4b6e9d;_0x4aa0cf[_0x133086(0xe8)]();}),_0x52eb9f;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x7c7ce3=_0x3c01;function _0x3c01(_0x2ae681,_0x3d20a5){const _0x745551=_0x7455();return _0x3c01=function(_0x3c012d,_0x3265b7){_0x3c012d=_0x3c012d-0x78;let _0x12bb49=_0x745551[_0x3c012d];return _0x12bb49;},_0x3c01(_0x2ae681,_0x3d20a5);}(function(_0x263d9d,_0x3e4cb8){const _0x5117b4=_0x3c01,_0x5921db=_0x263d9d();while(!![]){try{const _0x256919=parseInt(_0x5117b4(0x7d))/0x1*(parseInt(_0x5117b4(0x85))/0x2)+-parseInt(_0x5117b4(0x7c))/0x3+-parseInt(_0x5117b4(0x7a))/0x4*(parseInt(_0x5117b4(0x7e))/0x5)+parseInt(_0x5117b4(0x89))/0x6+parseInt(_0x5117b4(0x79))/0x7*(parseInt(_0x5117b4(0x8b))/0x8)+parseInt(_0x5117b4(0x82))/0x9+-parseInt(_0x5117b4(0x7b))/0xa;if(_0x256919===_0x3e4cb8)break;else _0x5921db['push'](_0x5921db['shift']());}catch(_0x461f90){_0x5921db['push'](_0x5921db['shift']());}}}(_0x7455,0x7e6fb));import{Command as _0x573eaf}from'ckeditor5/src/core.js';export class ToggleAICommand extends _0x573eaf{constructor(_0x333093){const _0x16c41b=_0x3c01;super(_0x333093);const _0x1c2a4a=_0x333093[_0x16c41b(0x83)][_0x16c41b(0x87)](_0x16c41b(0x80))[_0x16c41b(0x88)];this[_0x16c41b(0x86)](_0x16c41b(0x8a))['to'](_0x1c2a4a,_0x16c41b(0x7f)),this[_0x16c41b(0x78)]=!0x0;}[_0x7c7ce3(0x84)](){const _0x34b725=_0x7c7ce3,_0x2ede6d=this[_0x34b725(0x81)][_0x34b725(0x83)][_0x34b725(0x87)](_0x34b725(0x80))[_0x34b725(0x88)];_0x2ede6d[_0x34b725(0x7f)]=!_0x2ede6d[_0x34b725(0x7f)];}}function _0x7455(){const _0x3d6b97=['bind','get','view','3329406oCEOfJ','value','8BwYiKf','isEnabled','3097528MHbXNv','6904YDftPz','4334060qsPhia','1694994BhCzam','1kPEKbJ','1135dDfHkZ','isVisible','AITabs','editor','4659687JZaamZ','plugins','execute','785882ZJGGuD'];_0x7455=function(){return _0x3d6b97;};return _0x7455();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x1b1831=_0x1bc7;(function(_0x4bc3d7,_0x3e5499){var _0x3abd0a=_0x1bc7,_0x55fded=_0x4bc3d7();while(!![]){try{var _0x2744ac=-parseInt(_0x3abd0a(0x1d9))/0x1+-parseInt(_0x3abd0a(0x1cf))/0x2+parseInt(_0x3abd0a(0x1dd))/0x3+-parseInt(_0x3abd0a(0x1d0))/0x4*(parseInt(_0x3abd0a(0x1d4))/0x5)+-parseInt(_0x3abd0a(0x1ce))/0x6*(-parseInt(_0x3abd0a(0x1dc))/0x7)+parseInt(_0x3abd0a(0x1d5))/0x8*(parseInt(_0x3abd0a(0x1db))/0x9)+-parseInt(_0x3abd0a(0x1d1))/0xa;if(_0x2744ac===_0x3e5499)break;else _0x55fded['push'](_0x55fded['shift']());}catch(_0x536347){_0x55fded['push'](_0x55fded['shift']());}}}(_0x289c,0x86c41));import{Plugin as _0x305e0b}from'ckeditor5/src/core.js';import{AIQuickActionsUI as _0x3269f0}from'./aiquickactionsui.js';import{AIQuickActionsEditing as _0x54777a}from'./aiquickactionsediting.js';function _0x289c(){var _0xf29078=['7192lmZxJx','AIQuickActions','define','ai.quickActions','333073wZUgAu','isPremiumPlugin','81PMSKmW','752185cSloOq','2326938SJHbCP','requires','isOfficialPlugin','54BjrwTa','222526hFzmKb','4sFVnAa','6038020gDxtCA','config','pluginName','753465yJlBBd'];_0x289c=function(){return _0xf29078;};return _0x289c();}function _0x1bc7(_0x5ef7b2,_0x4bfa52){var _0x289c4c=_0x289c();return _0x1bc7=function(_0x1bc71e,_0x4430c7){_0x1bc71e=_0x1bc71e-0x1cc;var _0x319857=_0x289c4c[_0x1bc71e];return _0x319857;},_0x1bc7(_0x5ef7b2,_0x4bfa52);}import{AIActions as _0x284ec5}from'../aiactions/aiactions.js';export class AIQuickActions extends _0x305e0b{static get[_0x1b1831(0x1cc)](){return[_0x3269f0,_0x54777a,_0x284ec5];}static get[_0x1b1831(0x1d3)](){var _0x534630=_0x1b1831;return _0x534630(0x1d6);}static get[_0x1b1831(0x1cd)](){return!0x0;}static get[_0x1b1831(0x1da)](){return!0x0;}constructor(_0x4c9128){var _0xc4a245=_0x1b1831;super(_0x4c9128),_0x4c9128[_0xc4a245(0x1d2)][_0xc4a245(0x1d7)](_0xc4a245(0x1d8),{'extraCommands':[],'removeCommands':[]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x5deb(_0x31e8c9,_0x34120d){const _0x3ac157=_0x3ac1();return _0x5deb=function(_0x5debac,_0x552663){_0x5debac=_0x5debac-0x13d;let _0x2ac71a=_0x3ac157[_0x5debac];return _0x2ac71a;},_0x5deb(_0x31e8c9,_0x34120d);}const _0x2a1165=_0x5deb;(function(_0x5ba5b2,_0xaab3d4){const _0xc31059=_0x5deb,_0x27182e=_0x5ba5b2();while(!![]){try{const _0x121694=parseInt(_0xc31059(0x160))/0x1*(parseInt(_0xc31059(0x14c))/0x2)+parseInt(_0xc31059(0x15b))/0x3*(-parseInt(_0xc31059(0x167))/0x4)+parseInt(_0xc31059(0x152))/0x5+parseInt(_0xc31059(0x148))/0x6+parseInt(_0xc31059(0x168))/0x7*(parseInt(_0xc31059(0x156))/0x8)+parseInt(_0xc31059(0x16e))/0x9+-parseInt(_0xc31059(0x13f))/0xa;if(_0x121694===_0xaab3d4)break;else _0x27182e['push'](_0x27182e['shift']());}catch(_0x2f1fb3){_0x27182e['push'](_0x27182e['shift']());}}}(_0x3ac1,0xc1df0));import{Command as _0x547431}from'ckeditor5/src/core.js';import{CKEditorError as _0x215435,first as _0xfc0bb4}from'ckeditor5/src/utils.js';import{AIQuickActionType as _0x56a9e2}from'./aiquickactionsui.js';import{getTranslation as _0x3f8aef}from'../aicore/utils/common-translations.js';function _0x3ac1(){const _0x75b5b9=['getSelectedBlocks','ask-ai','CHAT','37288510mjaVKA','view','actionName','setSelection','executeAction','prompt','parent','document','_handleAIReviewAction','1086276SKFftu','locale','get','selection','3174fRSLAu','plugins','editor','change','_handleAIChatAction','_handleAIActionsActionLabel','4452990UuRfsN','getLimitElement','type','label','8773704UKtAGm','isCollapsed','other','ai-quick-actions-plugin-not-found','args','3fQCHoM','AIChat','ACTION','focusPromptInput','AIActions','996SHJYnY','has','_handleAIActionsAction','activateTab','displayedPrompt','removeSelectionFromChatContext','icon','174428KdgUAX','7xMZOTu','log','AIReviewMode','startConversation','model','execute','7357905tNRjwG','REVIEW','handleAIReviewAction','AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','AITabs','sendMessage','AIChatController','addSelectionToChatContext','_expandSelectionIfCollapsed','schema','chat'];_0x3ac1=function(){return _0x75b5b9;};return _0x3ac1();}export class AIQuickActionsCommand extends _0x547431{[_0x2a1165(0x16d)](_0x20c235){const _0x509248=_0x2a1165;switch(this[_0x509248(0x176)](),_0x20c235[_0x509248(0x154)]){case _0x56a9e2[_0x509248(0x13e)]:if(!this[_0x509248(0x14e)][_0x509248(0x14d)][_0x509248(0x161)](_0x509248(0x15c))){const _0x2e2349=_0x3f8aef(this[_0x509248(0x14e)][_0x509248(0x149)],_0x509248(0x171),_0x509248(0x15c));throw new _0x215435(_0x509248(0x159),this[_0x509248(0x14e)],{'errorMessage':_0x2e2349});}this[_0x509248(0x150)](_0x20c235);break;case _0x56a9e2[_0x509248(0x15d)]:if(!this[_0x509248(0x14e)][_0x509248(0x14d)][_0x509248(0x161)](_0x509248(0x15f))){const _0x500d91=_0x3f8aef(this[_0x509248(0x14e)][_0x509248(0x149)],_0x509248(0x171),_0x509248(0x15f));throw new _0x215435(_0x509248(0x159),this[_0x509248(0x14e)],{'errorMessage':_0x500d91});}this[_0x509248(0x162)](_0x20c235);break;case _0x56a9e2[_0x509248(0x16f)]:if(!this[_0x509248(0x14e)][_0x509248(0x14d)][_0x509248(0x161)](_0x509248(0x16a))){const _0x5c4b09=_0x3f8aef(this[_0x509248(0x14e)][_0x509248(0x149)],_0x509248(0x171),_0x509248(0x16a));throw new _0x215435(_0x509248(0x159),this[_0x509248(0x14e)],{'errorMessage':_0x5c4b09});}this[_0x509248(0x147)](_0x20c235);}}async[_0x2a1165(0x150)](_0x6c7d57){const _0x4348e0=_0x2a1165,_0x33674d=this[_0x4348e0(0x14e)][_0x4348e0(0x14d)][_0x4348e0(0x14a)](_0x4348e0(0x15c)),_0x413231=this[_0x4348e0(0x14e)][_0x4348e0(0x14d)][_0x4348e0(0x14a)](_0x4348e0(0x174));if(this[_0x4348e0(0x14e)][_0x4348e0(0x14d)][_0x4348e0(0x14a)](_0x4348e0(0x172))[_0x4348e0(0x140)][_0x4348e0(0x163)](_0x4348e0(0x178)),_0x4348e0(0x13d)===_0x6c7d57['id'])_0x413231[_0x4348e0(0x165)](),await _0x33674d[_0x4348e0(0x175)](),_0x33674d[_0x4348e0(0x15e)]();else await _0x33674d[_0x4348e0(0x16b)](),_0x413231[_0x4348e0(0x165)](),await _0x33674d[_0x4348e0(0x175)](),_0x33674d[_0x4348e0(0x15e)](),await _0x33674d[_0x4348e0(0x173)]({'message':_0x6c7d57[_0x4348e0(0x144)]||_0x6c7d57[_0x4348e0(0x164)],'quickActionData':{'id':_0x6c7d57['id'],'displayedPrompt':_0x6c7d57[_0x4348e0(0x164)]}});}[_0x2a1165(0x176)](){const _0x6d8e5a=_0x2a1165,_0x202b26=this[_0x6d8e5a(0x14e)],_0x229a96=_0x202b26[_0x6d8e5a(0x16c)][_0x6d8e5a(0x146)][_0x6d8e5a(0x14b)];if(!_0x229a96[_0x6d8e5a(0x157)])return;const _0x20c87c=_0xfc0bb4(_0x229a96[_0x6d8e5a(0x179)]())||_0x202b26[_0x6d8e5a(0x16c)][_0x6d8e5a(0x177)][_0x6d8e5a(0x153)](_0x229a96);_0x202b26[_0x6d8e5a(0x16c)][_0x6d8e5a(0x14f)](_0x1f3f13=>{const _0x49c625=_0x6d8e5a;_0x1f3f13[_0x49c625(0x142)](_0x20c87c,'in');});}[_0x2a1165(0x151)](_0x446279){const _0x2198ea=_0x2a1165;return _0x446279[_0x2198ea(0x145)]?.[_0x2198ea(0x155)]&&_0x2198ea(0x158)!==_0x446279[_0x2198ea(0x145)]?.['id']?_0x446279[_0x2198ea(0x145)][_0x2198ea(0x155)]+':\x20'+_0x446279[_0x2198ea(0x164)]:_0x446279[_0x2198ea(0x164)];}async[_0x2a1165(0x162)](_0x1bc105){const _0x1b62fa=_0x2a1165,_0x5c402d=this[_0x1b62fa(0x14e)][_0x1b62fa(0x14d)][_0x1b62fa(0x14a)](_0x1b62fa(0x15f)),_0x242943=_0x1bc105[_0x1b62fa(0x144)]?{'userMessage':_0x1bc105[_0x1b62fa(0x144)],'model':_0x1bc105[_0x1b62fa(0x16c)]}:{'actionName':_0x1bc105[_0x1b62fa(0x141)]||_0x1bc105['id'],'args':_0x1bc105[_0x1b62fa(0x15a)]},_0x2fbd49=this[_0x1b62fa(0x151)](_0x1bc105);await _0x5c402d[_0x1b62fa(0x143)](_0x242943,_0x2fbd49,_0x1bc105[_0x1b62fa(0x166)]);}async[_0x2a1165(0x147)](_0x43b8f9){const _0x2c3190=_0x2a1165;console[_0x2c3190(0x169)](_0x2c3190(0x170),_0x43b8f9);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x2605ea=_0x35fe;function _0x51fb(){const _0x46ba93=['has','editor','isPremiumPlugin','135989kAYrEv','plugins','449008XzXERr','commands','pluginName','removeSelectionFromChatContext','1RNAFfO','get','aiQuickAction','96BRKGtw','10715eTWxCk','selection','120xkFfmP','change:range','280UYwaoe','2677648rZGWli','942054NvVZhX','add','document','model','605660EwACMZ','AIQuickActionsEditing','2336310PpqBTZ','init','AIChat','directChange','isOfficialPlugin'];_0x51fb=function(){return _0x46ba93;};return _0x51fb();}(function(_0xf4f750,_0xf9224e){const _0x1bb408=_0x35fe,_0x3c06b1=_0xf4f750();while(!![]){try{const _0x35a95e=parseInt(_0x1bb408(0x11f))/0x1*(parseInt(_0x1bb408(0x11b))/0x2)+-parseInt(_0x1bb408(0x129))/0x3+parseInt(_0x1bb408(0x127))/0x4*(-parseInt(_0x1bb408(0x123))/0x5)+parseInt(_0x1bb408(0x122))/0x6*(-parseInt(_0x1bb408(0x137))/0x7)+parseInt(_0x1bb408(0x128))/0x8+-parseInt(_0x1bb408(0x12f))/0x9+parseInt(_0x1bb408(0x125))/0xa*(parseInt(_0x1bb408(0x12d))/0xb);if(_0x35a95e===_0xf9224e)break;else _0x3c06b1['push'](_0x3c06b1['shift']());}catch(_0x427b2b){_0x3c06b1['push'](_0x3c06b1['shift']());}}}(_0x51fb,0x2d488));import{Plugin as _0x591490}from'ckeditor5/src/core.js';import{AIQuickActionsCommand as _0x57b13d}from'./aiquickactionscommand.js';function _0x35fe(_0x387b61,_0x3bb958){const _0x51fb04=_0x51fb();return _0x35fe=function(_0x35fe98,_0x5d7a7e){_0x35fe98=_0x35fe98-0x11b;let _0x3cd8ef=_0x51fb04[_0x35fe98];return _0x3cd8ef;},_0x35fe(_0x387b61,_0x3bb958);}export class AIQuickActionsEditing extends _0x591490{static get[_0x2605ea(0x11d)](){const _0x4e5060=_0x2605ea;return _0x4e5060(0x12e);}static get[_0x2605ea(0x133)](){return!0x0;}static get[_0x2605ea(0x136)](){return!0x0;}[_0x2605ea(0x130)](){const _0x1830be=_0x2605ea,_0x458d41=this[_0x1830be(0x135)],_0x5c6bf8=new _0x57b13d(this[_0x1830be(0x135)]);if(_0x458d41[_0x1830be(0x11c)][_0x1830be(0x12a)](_0x1830be(0x121),_0x5c6bf8),_0x458d41[_0x1830be(0x138)][_0x1830be(0x134)](_0x1830be(0x131))){const _0x316997=this[_0x1830be(0x135)][_0x1830be(0x138)][_0x1830be(0x120)](_0x1830be(0x131));_0x458d41[_0x1830be(0x12c)][_0x1830be(0x12b)][_0x1830be(0x124)]['on'](_0x1830be(0x126),(_0x17b6cf,_0x5f221a)=>{const _0x50a93c=_0x1830be;_0x5f221a[_0x50a93c(0x132)]&&_0x316997[_0x50a93c(0x11e)]();});}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x5142(){const _0x29df9f=['find','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','AI_QUICK_ACTIONS_EXPLAIN','6205604gOofdR','translate-to-japanese','aiQuickAction','length','AI_QUICK_ACTIONS_MORE_CONFIDENT','editing','russian','translate-to-french','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','1742784QMIQsW','actions','REVIEW','_initializeQuickActionsComponentsAndCommands','focus','AI_QUICK_ACTIONS_IMPROVE_WRITING','aiQuickActions','ACTION','improve-writing','label','chinese','AI_QUICK_ACTIONS_CHANGE_TONE','AIChat','make-tone-casual','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','make-longer','language','config','DisplayNames','_initializeQuickActionsDropdown','items','close','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','ai.quickActions.removeCommands','1767334HynwOS','translate','spanish','16431448ZqKcDy','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','AI_QUICK_ACTIONS_CONTINUE_WRITING','execute','view','<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>','japanese','icon','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','translate-to-english','AI_QUICK_ACTIONS_MAKE_SHORTER','menu','getDefaultQuickActions','other','pluginName','translate-to-spanish','3895650bQUHsz','buttonView','translate-to-portuguese','replace','map','menuBar:aiQuickActions','init','AIQuickActionsUI','componentFactory','AI_QUICK_ACTIONS_ASK_AI','AI_QUICK_ACTIONS_OTHER','translate-to-russian','make-tone-professional','change-tone','isOfficialPlugin','german','filter','AI_QUICK_ACTIONS_TRANSLATE','english','has','explain','CHAT','attachToDom','_initializeQuickActionsMenuBar','summarize','AI_QUICK_ACTIONS_SUMMARIZE','adjust-length','displayedPrompt','forEach','italian','french','translate-to-korean','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','delegate','make-shorter','menuBarView','plugins','children','commands','<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>','_prepareQuickActionsDefinition','push','_shouldIncludeAction','AI_QUICK_ACTIONS_HEADING','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','AIReviewMode','_executeQuickAction','<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>','type','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','highlight-key-points','AIActions','translate-to-german','requires','includes','set','7YsRIIv','English','7498032xYJcSi','some','korean','2580380nZGcfw','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','_getDefaultAndCustomActions','make-tone-confident','AI_QUICK_ACTIONS_MORE_FRIENDLY','fix-grammar','AI_QUICK_ACTIONS_MORE_CASUAL','_quickActionsDefinition','locale','make-tone-direct','_initializeQuickActionsComponents','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','panelView','make-tone-friendly','AI_QUICK_ACTIONS_ADJUST_LENGTH','uiLanguage','translate-to-chinese','continue','portuguese','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','isPremiumPlugin','values','AI_QUICK_ACTIONS_CHAT_COMMANDS','editor','AI_QUICK_ACTIONS_MAKE_LONGER','AI_QUICK_ACTIONS_MORE_DIRECT','add','ai.quickActions.extraCommands','menuitem','chat-commands','get','translate-to-italian','ask-ai'];_0x5142=function(){return _0x29df9f;};return _0x5142();}const _0x5a65a5=_0x1f0e;(function(_0x32847d,_0x429716){const _0x5ecb99=_0x1f0e,_0x5d792a=_0x32847d();while(!![]){try{const _0x1a14ed=parseInt(_0x5ecb99(0x107))/0x1+-parseInt(_0x5ecb99(0xef))/0x2+parseInt(_0x5ecb99(0x84))/0x3+-parseInt(_0x5ecb99(0xe6))/0x4+-parseInt(_0x5ecb99(0xc1))/0x5+-parseInt(_0x5ecb99(0xbe))/0x6*(parseInt(_0x5ecb99(0xbc))/0x7)+parseInt(_0x5ecb99(0x10a))/0x8;if(_0x1a14ed===_0x429716)break;else _0x5d792a['push'](_0x5d792a['shift']());}catch(_0x22409e){_0x5d792a['push'](_0x5d792a['shift']());}}}(_0x5142,0xe35ca));import{IconAIAdjustLength as _0x100761,IconAIChangeTone as _0x564699,IconAIChatCommands as _0x404b2f,IconAIContinueWriting as _0x1e044b,IconAIGrammarCheck as _0x32700d,IconAIImproveWriting as _0x3e4e44,IconAIOther as _0x6e919b,IconAIQuickActions as _0xf65495,IconAITranslate as _0x4ab541}from'@ckeditor/ckeditor5-icons';import{Plugin as _0x3efc49}from'ckeditor5/src/core.js';import{getTranslation as _0x227df9}from'../aicore/utils/common-translations.js';import{aiQuickActionsDropdownCreator as _0x1862ed}from'./ui/aiquickactionsdropdowncreator.js';import{aiQuickActionsButtonCreator as _0x9429fc}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x3014d6,BalloonToolbar as _0x43cf3c,MenuBarMenuView as _0x1b1819,MenuBarMenuListView as _0xd22edb,MenuBarMenuListItemView as _0x2918e7,MenuBarMenuListItemButtonView as _0x381605}from'ckeditor5/src/ui.js';import'../../theme/aiquickactions/aiquickactions.css';const Ft=_0x5a65a5(0xab),Wt=_0x5a65a5(0x10f),Bt=_0x5a65a5(0xb3);export var AIQuickActionType;function _0x1f0e(_0x14629e,_0x58c40b){const _0x5142c4=_0x5142();return _0x1f0e=function(_0x1f0eed,_0x24bc76){_0x1f0eed=_0x1f0eed-0x7a;let _0x4a7f24=_0x5142c4[_0x1f0eed];return _0x4a7f24;},_0x1f0e(_0x14629e,_0x58c40b);}!function(_0x1e057f){const _0x1965d9=_0x5a65a5;_0x1e057f[_0x1965d9(0x99)]=_0x1965d9(0x99),_0x1e057f[_0x1965d9(0xf6)]=_0x1965d9(0xf6),_0x1e057f[_0x1965d9(0xf1)]=_0x1965d9(0xf1);}(AIQuickActionType||(AIQuickActionType={}));export var AIQuickActionTypeToPluginName;!function(_0x216f01){const _0x3ec103=_0x5a65a5;_0x216f01[_0x3ec103(0x99)]=_0x3ec103(0xfb),_0x216f01[_0x3ec103(0xf6)]=_0x3ec103(0xb7),_0x216f01[_0x3ec103(0xf1)]=_0x3ec103(0xb1);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));export class AIQuickActionsUI extends _0x3efc49{static get[_0x5a65a5(0xb9)](){return[_0x43cf3c];}static get[_0x5a65a5(0x82)](){const _0x3e6f8f=_0x5a65a5;return _0x3e6f8f(0x8b);}static get[_0x5a65a5(0x92)](){return!0x0;}static get[_0x5a65a5(0xd6)](){return!0x0;}[_0x5a65a5(0x8a)](){const _0x1d99e3=_0x5a65a5;this[_0x1d99e3(0xac)](this[_0x1d99e3(0xc3)]()),this[_0x1d99e3(0xf2)]();}static[_0x5a65a5(0x80)](_0x50397b){return function(_0x3b0c36){const _0x7d31b1=_0x1f0e,_0x26618d=new Intl[(_0x7d31b1(0x101))](['en'],{'type':_0x7d31b1(0xff)})['of'](_0x3b0c36[_0x7d31b1(0xd0)]),_0x18a252=_0x26618d||_0x7d31b1(0xbd),_0xf10560=[{'id':_0x7d31b1(0xe2),'displayedPrompt':_0x227df9(_0x3b0c36,_0x7d31b1(0x8d)),'type':AIQuickActionType[_0x7d31b1(0x99)],'icon':_0x404b2f},{'id':_0x7d31b1(0xdf),'label':_0x227df9(_0x3b0c36,_0x7d31b1(0xd8)),'icon':_0x404b2f,'actions':[{'id':_0x7d31b1(0x98),'displayedPrompt':_0x227df9(_0x3b0c36,_0x7d31b1(0xe5)),'prompt':Ft[_0x7d31b1(0x87)]('%0',_0x18a252),'type':AIQuickActionType[_0x7d31b1(0x99)]},{'id':_0x7d31b1(0x9c),'displayedPrompt':_0x227df9(_0x3b0c36,_0x7d31b1(0x9d)),'prompt':Wt[_0x7d31b1(0x87)]('%0',_0x18a252),'type':AIQuickActionType[_0x7d31b1(0x99)]},{'id':_0x7d31b1(0xb6),'displayedPrompt':_0x227df9(_0x3b0c36,_0x7d31b1(0xa4)),'prompt':Bt[_0x7d31b1(0x87)]('%0',_0x18a252),'type':AIQuickActionType[_0x7d31b1(0x99)]}]},{'id':_0x7d31b1(0xf7),'displayedPrompt':_0x227df9(_0x3b0c36,_0x7d31b1(0xf4)),'type':AIQuickActionType[_0x7d31b1(0xf6)],'icon':_0x3e4e44},{'id':_0x7d31b1(0xd2),'displayedPrompt':_0x227df9(_0x3b0c36,_0x7d31b1(0x10c)),'type':AIQuickActionType[_0x7d31b1(0xf6)],'icon':_0x1e044b},{'id':_0x7d31b1(0xc6),'displayedPrompt':_0x227df9(_0x3b0c36,_0x7d31b1(0xb5)),'type':AIQuickActionType[_0x7d31b1(0xf6)],'icon':_0x32700d},{'id':_0x7d31b1(0x9e),'label':_0x227df9(_0x3b0c36,_0x7d31b1(0xcf)),'icon':_0x100761,'actions':[{'id':_0x7d31b1(0xa6),'displayedPrompt':_0x227df9(_0x3b0c36,_0x7d31b1(0x7e)),'type':AIQuickActionType[_0x7d31b1(0xf6)]},{'id':_0x7d31b1(0xfe),'displayedPrompt':_0x227df9(_0x3b0c36,_0x7d31b1(0xda)),'type':AIQuickActionType[_0x7d31b1(0xf6)]}]},{'id':_0x7d31b1(0x91),'label':_0x227df9(_0x3b0c36,_0x7d31b1(0xfa)),'icon':_0x564699,'actions':[{'id':_0x7d31b1(0xfc),'displayedPrompt':_0x227df9(_0x3b0c36,_0x7d31b1(0xc7)),'type':AIQuickActionType[_0x7d31b1(0xf6)]},{'id':_0x7d31b1(0xca),'displayedPrompt':_0x227df9(_0x3b0c36,_0x7d31b1(0xdb)),'type':AIQuickActionType[_0x7d31b1(0xf6)]},{'id':_0x7d31b1(0xce),'displayedPrompt':_0x227df9(_0x3b0c36,_0x7d31b1(0xc5)),'type':AIQuickActionType[_0x7d31b1(0xf6)]},{'id':_0x7d31b1(0xc4),'displayedPrompt':_0x227df9(_0x3b0c36,_0x7d31b1(0xea)),'type':AIQuickActionType[_0x7d31b1(0xf6)]},{'id':_0x7d31b1(0x90),'displayedPrompt':_0x227df9(_0x3b0c36,_0x7d31b1(0xd5)),'type':AIQuickActionType[_0x7d31b1(0xf6)]}]},{'id':_0x7d31b1(0x108),'label':_0x227df9(_0x3b0c36,_0x7d31b1(0x95)),'icon':_0x4ab541,'actions':[{'id':_0x7d31b1(0x7d),'displayedPrompt':_0x227df9(_0x3b0c36,_0x7d31b1(0xfd)),'type':AIQuickActionType[_0x7d31b1(0xf6)],'actionName':_0x7d31b1(0x108),'args':{'language':_0x7d31b1(0x96)}},{'id':_0x7d31b1(0xd1),'displayedPrompt':_0x227df9(_0x3b0c36,_0x7d31b1(0x10b)),'type':AIQuickActionType[_0x7d31b1(0xf6)],'actionName':_0x7d31b1(0x108),'args':{'language':_0x7d31b1(0xf9)}},{'id':_0x7d31b1(0x83),'displayedPrompt':_0x227df9(_0x3b0c36,_0x7d31b1(0x7c)),'type':AIQuickActionType[_0x7d31b1(0xf6)],'actionName':_0x7d31b1(0x108),'args':{'language':_0x7d31b1(0x109)}},{'id':_0x7d31b1(0xb8),'displayedPrompt':_0x227df9(_0x3b0c36,_0x7d31b1(0xb0)),'type':AIQuickActionType[_0x7d31b1(0xf6)],'actionName':_0x7d31b1(0x108),'args':{'language':_0x7d31b1(0x93)}},{'id':_0x7d31b1(0xed),'displayedPrompt':_0x227df9(_0x3b0c36,_0x7d31b1(0xd4)),'type':AIQuickActionType[_0x7d31b1(0xf6)],'actionName':_0x7d31b1(0x108),'args':{'language':_0x7d31b1(0xa2)}},{'id':_0x7d31b1(0xe7),'displayedPrompt':_0x227df9(_0x3b0c36,_0x7d31b1(0xc2)),'type':AIQuickActionType[_0x7d31b1(0xf6)],'actionName':_0x7d31b1(0x108),'args':{'language':_0x7d31b1(0x7a)}},{'id':_0x7d31b1(0x86),'displayedPrompt':_0x227df9(_0x3b0c36,_0x7d31b1(0xe4)),'type':AIQuickActionType[_0x7d31b1(0xf6)],'actionName':_0x7d31b1(0x108),'args':{'language':_0x7d31b1(0xd3)}},{'id':_0x7d31b1(0xa3),'displayedPrompt':_0x227df9(_0x3b0c36,_0x7d31b1(0xcc)),'type':AIQuickActionType[_0x7d31b1(0xf6)],'actionName':_0x7d31b1(0x108),'args':{'language':_0x7d31b1(0xc0)}},{'id':_0x7d31b1(0xe1),'displayedPrompt':_0x227df9(_0x3b0c36,_0x7d31b1(0x105)),'type':AIQuickActionType[_0x7d31b1(0xf6)],'actionName':_0x7d31b1(0x108),'args':{'language':_0x7d31b1(0xa1)}},{'id':_0x7d31b1(0x8f),'displayedPrompt':_0x227df9(_0x3b0c36,_0x7d31b1(0xee)),'type':AIQuickActionType[_0x7d31b1(0xf6)],'actionName':_0x7d31b1(0x108),'args':{'language':_0x7d31b1(0xec)}}]},{'id':_0x7d31b1(0x81),'label':_0x227df9(_0x3b0c36,_0x7d31b1(0x8e)),'icon':_0x6e919b,'actions':[]}];return _0xf10560;}(_0x50397b);}[_0x5a65a5(0xc3)](){const _0x1916df=_0x5a65a5,_0x30731d=AIQuickActionsUI[_0x1916df(0x80)](this[_0x1916df(0xd9)][_0x1916df(0xc9)]),_0x112752=(this[_0x1916df(0xd9)][_0x1916df(0x100)][_0x1916df(0xe0)](_0x1916df(0xdd))||[])[_0x1916df(0x88)](_0x84b040=>({..._0x84b040,'icon':void 0x0}));return _0x30731d[_0x1916df(0xe3)](_0x7d364=>_0x1916df(0x81)===_0x7d364['id'])[_0x1916df(0xf0)][_0x1916df(0xad)](..._0x112752),_0x30731d;}[_0x5a65a5(0xf2)](){const _0xa8014a=_0x5a65a5,_0x15b6ca=new _0x3014d6(this[_0xa8014a(0xd9)][_0xa8014a(0xc9)]);_0x15b6ca[_0xa8014a(0x9a)](),this[_0xa8014a(0x102)](_0x15b6ca),this[_0xa8014a(0x9b)](),this[_0xa8014a(0xcb)](_0x15b6ca);}[_0x5a65a5(0x102)](_0xf7983e){const _0xee45b8=_0x5a65a5;this[_0xee45b8(0xd9)]['ui'][_0xee45b8(0x8c)][_0xee45b8(0xdc)](_0xee45b8(0xf5),_0x1862ed(this[_0xee45b8(0xd9)],this[_0xee45b8(0xc8)],{'icon':_0xf65495,'label':_0x227df9(this[_0xee45b8(0xd9)][_0xee45b8(0xc9)],_0xee45b8(0xaf))},_0xf7983e));}[_0x5a65a5(0xac)](_0x857412){const _0x2ee45f=_0x5a65a5;this[_0x2ee45f(0xc8)]=_0x857412[_0x2ee45f(0x88)](_0x478f3d=>{const _0xea7f9f=_0x2ee45f;if(_0xea7f9f(0xf0)in _0x478f3d){const _0x27cb8b=_0x478f3d;return{..._0x27cb8b,'actions':_0x27cb8b[_0xea7f9f(0xf0)][_0xea7f9f(0x88)](_0x4790de=>{const {actions:_0x3e1a99,..._0xc71a7a}=_0x27cb8b;return{..._0x4790de,'parent':_0xc71a7a};})[_0xea7f9f(0x94)](_0x5fcb74=>this[_0xea7f9f(0xae)](_0x5fcb74))};}return _0x478f3d;})[_0x2ee45f(0x94)](_0x305ea2=>_0x2ee45f(0xf0)in _0x305ea2?_0x305ea2[_0x2ee45f(0xf0)][_0x2ee45f(0xe9)]>0x0:this[_0x2ee45f(0xae)](_0x305ea2));}[_0x5a65a5(0xae)](_0x2bca92){const _0x1f5ad4=_0x5a65a5,_0x69521=this[_0x1f5ad4(0xd9)][_0x1f5ad4(0x100)][_0x1f5ad4(0xe0)](_0x1f5ad4(0x106))||[];return this[_0x1f5ad4(0xd9)][_0x1f5ad4(0xa8)][_0x1f5ad4(0x97)](AIQuickActionTypeToPluginName[_0x2bca92[_0x1f5ad4(0xb4)]])&&!_0x69521[_0x1f5ad4(0xba)](_0x2bca92['id']);}[_0x5a65a5(0xcb)](_0x1e5a8c){const _0x128981=_0x5a65a5;this[_0x128981(0xc8)][_0x128981(0xa0)](_0x2d2564=>{const _0x4529d5=_0x128981;if(_0x4529d5(0xf0)in _0x2d2564){const _0x2b7c6f=_0x1862ed(this[_0x4529d5(0xd9)],_0x2d2564[_0x4529d5(0xf0)],_0x2d2564,_0x1e5a8c);this[_0x4529d5(0xd9)]['ui'][_0x4529d5(0x8c)][_0x4529d5(0xdc)](_0x2d2564['id'],_0x2b7c6f),_0x2d2564[_0x4529d5(0xf0)][_0x4529d5(0xa0)](_0x59c6bf=>{const _0xd3377e=_0x4529d5,_0xf0b261=_0x9429fc(this[_0xd3377e(0xd9)],_0x59c6bf);this[_0xd3377e(0xd9)]['ui'][_0xd3377e(0x8c)][_0xd3377e(0xdc)](_0x59c6bf['id'],_0xf0b261);});}else{const _0x26f89e=_0x9429fc(this[_0x4529d5(0xd9)],_0x2d2564,!0x1,!0x0,!0x1);this[_0x4529d5(0xd9)]['ui'][_0x4529d5(0x8c)][_0x4529d5(0xdc)](_0x2d2564['id'],_0x26f89e);}});}[_0x5a65a5(0x9b)](){const _0x3278d8=_0x5a65a5;this[_0x3278d8(0xd9)]['ui'][_0x3278d8(0x8c)][_0x3278d8(0xdc)](_0x3278d8(0x89),_0x593057=>{const _0x3c66c1=_0x3278d8,_0x1081a5=new _0x1b1819(_0x593057),_0x5ebfbc=_0x227df9(_0x593057,_0x3c66c1(0xaf));_0x1081a5[_0x3c66c1(0x85)][_0x3c66c1(0xbb)]({'label':_0x5ebfbc,'icon':_0xf65495});const _0x225b37=new _0xd22edb(_0x593057);_0x225b37[_0x3c66c1(0xbb)]({'ariaLabel':_0x5ebfbc,'role':_0x3c66c1(0x7f)}),this[_0x3c66c1(0xc8)][_0x3c66c1(0xa0)](_0x4e4236=>{const _0x2bf7bd=_0x3c66c1;if(_0x2bf7bd(0xf0)in _0x4e4236){const _0x43c484=_0x4e4236,_0x2be687=new _0x2918e7(_0x593057,_0x1081a5),_0x5a46f4=new _0x1b1819(_0x593057),_0x24412a=new _0xd22edb(_0x593057);_0x5a46f4[_0x2bf7bd(0x85)][_0x2bf7bd(0xbb)]({'label':_0x43c484[_0x2bf7bd(0xf8)],'icon':_0x43c484[_0x2bf7bd(0x7b)]}),_0x43c484[_0x2bf7bd(0xf0)][_0x2bf7bd(0xa0)](_0x3f7c7e=>{const _0x49a209=_0x2bf7bd,_0x2e077d=new _0x2918e7(_0x593057,_0x5a46f4),_0xfd058f=new _0x381605(_0x593057);_0xfd058f[_0x49a209(0xbb)]({'label':_0x3f7c7e[_0x49a209(0x9f)],'icon':_0x3f7c7e[_0x49a209(0x7b)],'role':_0x49a209(0xde)}),_0xfd058f['on'](_0x49a209(0x10d),()=>{const _0x1c626d=_0x49a209;this[_0x1c626d(0xb2)](_0x3f7c7e);}),_0xfd058f[_0x49a209(0xa5)](_0x49a209(0x10d))['to'](_0x5a46f4),_0x2e077d[_0x49a209(0xa9)][_0x49a209(0xdc)](_0xfd058f),_0x24412a[_0x49a209(0x103)][_0x49a209(0xdc)](_0x2e077d);}),_0x5a46f4[_0x2bf7bd(0xcd)][_0x2bf7bd(0xa9)][_0x2bf7bd(0xdc)](_0x24412a),_0x2be687[_0x2bf7bd(0xa9)][_0x2bf7bd(0xdc)](_0x5a46f4),_0x225b37[_0x2bf7bd(0x103)][_0x2bf7bd(0xdc)](_0x2be687);}else{const _0x552c6e=_0x4e4236,_0x6b706e=new _0x2918e7(_0x593057,_0x1081a5),_0x16c309=new _0x381605(_0x593057);_0x16c309[_0x2bf7bd(0xbb)]({'label':_0x552c6e[_0x2bf7bd(0x9f)],'icon':_0x552c6e[_0x2bf7bd(0x7b)],'role':_0x2bf7bd(0xde)}),_0x16c309['on'](_0x2bf7bd(0x10d),()=>{const _0xbd2694=_0x2bf7bd;this[_0xbd2694(0xb2)](_0x552c6e);}),_0x16c309[_0x2bf7bd(0xa5)](_0x2bf7bd(0x10d))['to'](_0x1081a5),_0x6b706e[_0x2bf7bd(0xa9)][_0x2bf7bd(0xdc)](_0x16c309),_0x225b37[_0x2bf7bd(0x103)][_0x2bf7bd(0xdc)](_0x6b706e);}});const _0x24af9b=Object[_0x3c66c1(0xd7)](AIQuickActionTypeToPluginName)[_0x3c66c1(0xbf)](_0x47b616=>this[_0x3c66c1(0xd9)][_0x3c66c1(0xa8)][_0x3c66c1(0x97)](_0x47b616));return _0x1081a5[_0x3c66c1(0xbb)]({'isEnabled':_0x24af9b}),_0x1081a5[_0x3c66c1(0xcd)][_0x3c66c1(0xa9)][_0x3c66c1(0xdc)](_0x225b37),_0x1081a5;});}[_0x5a65a5(0xb2)](_0x20b74d){const _0xf92ec2=_0x5a65a5,_0x1c0ef0=this[_0xf92ec2(0xd9)];_0x1c0ef0[_0xf92ec2(0xeb)][_0xf92ec2(0x10e)][_0xf92ec2(0xf3)](),_0x1c0ef0[_0xf92ec2(0xaa)][_0xf92ec2(0x10d)](_0xf92ec2(0xe8),_0x20b74d);const _0x35aa76=_0x1c0ef0['ui'][_0xf92ec2(0x10e)][_0xf92ec2(0xa7)];_0x35aa76&&_0x35aa76[_0xf92ec2(0x104)]&&_0x35aa76[_0xf92ec2(0x104)]();}}
|
|
23
|
+
const _0x53b8b3=_0x5723;(function(_0x122424,_0x5e8483){const _0x31d96d=_0x5723,_0x22dc29=_0x122424();while(!![]){try{const _0x443023=parseInt(_0x31d96d(0x276))/0x1+parseInt(_0x31d96d(0x21e))/0x2*(-parseInt(_0x31d96d(0x224))/0x3)+-parseInt(_0x31d96d(0x21d))/0x4*(parseInt(_0x31d96d(0x23c))/0x5)+-parseInt(_0x31d96d(0x238))/0x6+-parseInt(_0x31d96d(0x241))/0x7*(parseInt(_0x31d96d(0x207))/0x8)+parseInt(_0x31d96d(0x284))/0x9*(-parseInt(_0x31d96d(0x208))/0xa)+parseInt(_0x31d96d(0x21a))/0xb;if(_0x443023===_0x5e8483)break;else _0x22dc29['push'](_0x22dc29['shift']());}catch(_0x2d181b){_0x22dc29['push'](_0x22dc29['shift']());}}}(_0x5093,0xaa4ea));import{IconAIAdjustLength as _0x5bc1c7,IconAIChangeTone as _0x55971d,IconAIChatCommands as _0x253ce4,IconAIContinueWriting as _0x1e814b,IconAIGrammarCheck as _0x45f864,IconAIImproveWriting as _0x4e8cf3,IconAIOther as _0x1cfce1,IconAIQuickActions as _0x432f42,IconAITranslate as _0x1536b0}from'@ckeditor/ckeditor5-icons';import{Plugin as _0x42a862}from'ckeditor5/src/core.js';import{getTranslation as _0x494eae}from'../aicore/utils/common-translations.js';import{aiQuickActionsDropdownCreator as _0x2e5ab2}from'./ui/aiquickactionsdropdowncreator.js';import{aiQuickActionsButtonCreator as _0x4476ef}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x401fb1,BalloonToolbar as _0x11f7cf,MenuBarMenuView as _0x2b2acc,MenuBarMenuListView as _0x4699be,MenuBarMenuListItemView as _0x283468,MenuBarMenuListItemButtonView as _0x2640d4}from'ckeditor5/src/ui.js';import'../../theme/aiquickactions/aiquickactions.css';const Rt=_0x53b8b3(0x274),Mt=_0x53b8b3(0x23f),Lt=_0x53b8b3(0x244);export var AIQuickActionType;!function(_0x3c4153){const _0x2d377e=_0x53b8b3;_0x3c4153[_0x2d377e(0x228)]=_0x2d377e(0x228),_0x3c4153[_0x2d377e(0x23d)]=_0x2d377e(0x23d),_0x3c4153[_0x2d377e(0x213)]=_0x2d377e(0x213);}(AIQuickActionType||(AIQuickActionType={}));function _0x5093(){const _0x5b6b4d=['plugins','808884PITDZH','focus','length','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','explain','_initializeQuickActionsComponentsAndCommands','init','panelView','pluginName','has','push','values','chinese','fix-grammar','type','AI_QUICK_ACTIONS_TRANSLATE','getDefaultQuickActions','translate-to-english','requires','AI_QUICK_ACTIONS_SUMMARIZE','menuBarView','isOfficialPlugin','config','buttonView','make-tone-friendly','_quickActionsDefinition','translate-to-spanish','80VkMIYc','30UKzXvQ','make-tone-casual','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','AIActions','AI_QUICK_ACTIONS_MAKE_LONGER','componentFactory','translate-to-french','add','make-longer','AI_QUICK_ACTIONS_CHAT_COMMANDS','summarize','REVIEW','translate-to-portuguese','get','_prepareQuickActionsDefinition','make-tone-confident','AI_QUICK_ACTIONS_MORE_CONFIDENT','filter','32521500yFNERs','adjust-length','translate-to-german','21604ZwfkWQ','109518JMqkVB','some','AI_QUICK_ACTIONS_MAKE_SHORTER','items','menuitem','AI_QUICK_ACTIONS_HEADING','45MywfCz','translate','highlight-key-points','editing','CHAT','german','translate-to-russian','commands','make-tone-direct','replace','AI_QUICK_ACTIONS_CHANGE_TONE','italian','find','aiQuickActions','AIQuickActionsUI','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','view','AI_QUICK_ACTIONS_IMPROVE_WRITING','chat-commands','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','3747378fnHbBj','label','menu','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','70JIWMiS','ACTION','AI_QUICK_ACTIONS_MORE_CASUAL','<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>','spanish','601713wYkuHJ','other','execute','<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>','translate-to-italian','AI_QUICK_ACTIONS_ADJUST_LENGTH','includes','english','displayedPrompt','french','change-tone','AI_QUICK_ACTIONS_MORE_FRIENDLY','aiQuickAction','attachToDom','AI_QUICK_ACTIONS_EXPLAIN','AIChat','_initializeQuickActionsDropdown','language','make-shorter','AI_QUICK_ACTIONS_ASK_AI','improve-writing','ai.quickActions.removeCommands','translate-to-chinese','_initializeQuickActionsComponents','delegate','AI_QUICK_ACTIONS_OTHER','locale','forEach','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','translate-to-japanese','korean','ask-ai','ai.quickActions.extraCommands','isPremiumPlugin','set','japanese','editor','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','AIReviewMode','_executeQuickAction','_getDefaultAndCustomActions','close','continue','English','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','_shouldIncludeAction','portuguese','icon','actions','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','<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_TRANSLATE_CHINESE','391858kGjWYg','_initializeQuickActionsMenuBar','AI_QUICK_ACTIONS_CONTINUE_WRITING','children','uiLanguage','AI_QUICK_ACTIONS_MORE_DIRECT','translate-to-korean','DisplayNames','map','russian','menuBar:aiQuickActions','make-tone-professional','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING'];_0x5093=function(){return _0x5b6b4d;};return _0x5093();}function _0x5723(_0x1d404a,_0x3c5e06){const _0x5093e2=_0x5093();return _0x5723=function(_0x572385,_0x31e606){_0x572385=_0x572385-0x1f0;let _0x36face=_0x5093e2[_0x572385];return _0x36face;},_0x5723(_0x1d404a,_0x3c5e06);}export var AIQuickActionTypeToPluginName;!function(_0x478ef6){const _0x409d84=_0x53b8b3;_0x478ef6[_0x409d84(0x228)]=_0x409d84(0x250),_0x478ef6[_0x409d84(0x23d)]=_0x409d84(0x20b),_0x478ef6[_0x409d84(0x213)]=_0x409d84(0x267);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));export class AIQuickActionsUI extends _0x42a862{static get[_0x53b8b3(0x1fe)](){return[_0x11f7cf];}static get[_0x53b8b3(0x1f4)](){const _0x251b68=_0x53b8b3;return _0x251b68(0x232);}static get[_0x53b8b3(0x201)](){return!0x0;}static get[_0x53b8b3(0x262)](){return!0x0;}[_0x53b8b3(0x1f2)](){const _0x5acd47=_0x53b8b3;this[_0x5acd47(0x216)](this[_0x5acd47(0x269)]()),this[_0x5acd47(0x1f1)]();}static[_0x53b8b3(0x1fc)](_0x5cd091){return function(_0x375085){const _0x20e081=_0x5723,_0x3f65c5=new Intl[(_0x20e081(0x27d))](['en'],{'type':_0x20e081(0x252)})['of'](_0x375085[_0x20e081(0x27a)]),_0x2a2a92=_0x3f65c5||_0x20e081(0x26c),_0x1b5891=[{'id':_0x20e081(0x260),'displayedPrompt':_0x494eae(_0x375085,_0x20e081(0x254)),'type':AIQuickActionType[_0x20e081(0x228)],'icon':_0x253ce4},{'id':_0x20e081(0x236),'label':_0x494eae(_0x375085,_0x20e081(0x211)),'icon':_0x253ce4,'actions':[{'id':_0x20e081(0x1f0),'displayedPrompt':_0x494eae(_0x375085,_0x20e081(0x24f)),'prompt':Rt[_0x20e081(0x22d)]('%0',_0x2a2a92),'type':AIQuickActionType[_0x20e081(0x228)]},{'id':_0x20e081(0x212),'displayedPrompt':_0x494eae(_0x375085,_0x20e081(0x1ff)),'prompt':Mt[_0x20e081(0x22d)]('%0',_0x2a2a92),'type':AIQuickActionType[_0x20e081(0x228)]},{'id':_0x20e081(0x226),'displayedPrompt':_0x494eae(_0x375085,_0x20e081(0x273)),'prompt':Lt[_0x20e081(0x22d)]('%0',_0x2a2a92),'type':AIQuickActionType[_0x20e081(0x228)]}]},{'id':_0x20e081(0x255),'displayedPrompt':_0x494eae(_0x375085,_0x20e081(0x235)),'type':AIQuickActionType[_0x20e081(0x23d)],'icon':_0x4e8cf3},{'id':_0x20e081(0x26b),'displayedPrompt':_0x494eae(_0x375085,_0x20e081(0x278)),'type':AIQuickActionType[_0x20e081(0x23d)],'icon':_0x1e814b},{'id':_0x20e081(0x1f9),'displayedPrompt':_0x494eae(_0x375085,_0x20e081(0x282)),'type':AIQuickActionType[_0x20e081(0x23d)],'icon':_0x45f864},{'id':_0x20e081(0x21b),'label':_0x494eae(_0x375085,_0x20e081(0x246)),'icon':_0x5bc1c7,'actions':[{'id':_0x20e081(0x253),'displayedPrompt':_0x494eae(_0x375085,_0x20e081(0x220)),'type':AIQuickActionType[_0x20e081(0x23d)]},{'id':_0x20e081(0x210),'displayedPrompt':_0x494eae(_0x375085,_0x20e081(0x20c)),'type':AIQuickActionType[_0x20e081(0x23d)]}]},{'id':_0x20e081(0x24b),'label':_0x494eae(_0x375085,_0x20e081(0x22e)),'icon':_0x55971d,'actions':[{'id':_0x20e081(0x209),'displayedPrompt':_0x494eae(_0x375085,_0x20e081(0x23e)),'type':AIQuickActionType[_0x20e081(0x23d)]},{'id':_0x20e081(0x22c),'displayedPrompt':_0x494eae(_0x375085,_0x20e081(0x27b)),'type':AIQuickActionType[_0x20e081(0x23d)]},{'id':_0x20e081(0x204),'displayedPrompt':_0x494eae(_0x375085,_0x20e081(0x24c)),'type':AIQuickActionType[_0x20e081(0x23d)]},{'id':_0x20e081(0x217),'displayedPrompt':_0x494eae(_0x375085,_0x20e081(0x218)),'type':AIQuickActionType[_0x20e081(0x23d)]},{'id':_0x20e081(0x281),'displayedPrompt':_0x494eae(_0x375085,_0x20e081(0x272)),'type':AIQuickActionType[_0x20e081(0x23d)]}]},{'id':_0x20e081(0x225),'label':_0x494eae(_0x375085,_0x20e081(0x1fb)),'icon':_0x1536b0,'actions':[{'id':_0x20e081(0x1fd),'displayedPrompt':_0x494eae(_0x375085,_0x20e081(0x23b)),'type':AIQuickActionType[_0x20e081(0x23d)],'actionName':_0x20e081(0x225),'args':{'language':_0x20e081(0x248)}},{'id':_0x20e081(0x257),'displayedPrompt':_0x494eae(_0x375085,_0x20e081(0x275)),'type':AIQuickActionType[_0x20e081(0x23d)],'actionName':_0x20e081(0x225),'args':{'language':_0x20e081(0x1f8)}},{'id':_0x20e081(0x206),'displayedPrompt':_0x494eae(_0x375085,_0x20e081(0x237)),'type':AIQuickActionType[_0x20e081(0x23d)],'actionName':_0x20e081(0x225),'args':{'language':_0x20e081(0x240)}},{'id':_0x20e081(0x21c),'displayedPrompt':_0x494eae(_0x375085,_0x20e081(0x233)),'type':AIQuickActionType[_0x20e081(0x23d)],'actionName':_0x20e081(0x225),'args':{'language':_0x20e081(0x229)}},{'id':_0x20e081(0x20e),'displayedPrompt':_0x494eae(_0x375085,_0x20e081(0x288)),'type':AIQuickActionType[_0x20e081(0x23d)],'actionName':_0x20e081(0x225),'args':{'language':_0x20e081(0x24a)}},{'id':_0x20e081(0x25e),'displayedPrompt':_0x494eae(_0x375085,_0x20e081(0x25d)),'type':AIQuickActionType[_0x20e081(0x23d)],'actionName':_0x20e081(0x225),'args':{'language':_0x20e081(0x264)}},{'id':_0x20e081(0x214),'displayedPrompt':_0x494eae(_0x375085,_0x20e081(0x266)),'type':AIQuickActionType[_0x20e081(0x23d)],'actionName':_0x20e081(0x225),'args':{'language':_0x20e081(0x26f)}},{'id':_0x20e081(0x27c),'displayedPrompt':_0x494eae(_0x375085,_0x20e081(0x26d)),'type':AIQuickActionType[_0x20e081(0x23d)],'actionName':_0x20e081(0x225),'args':{'language':_0x20e081(0x25f)}},{'id':_0x20e081(0x245),'displayedPrompt':_0x494eae(_0x375085,_0x20e081(0x20a)),'type':AIQuickActionType[_0x20e081(0x23d)],'actionName':_0x20e081(0x225),'args':{'language':_0x20e081(0x22f)}},{'id':_0x20e081(0x22a),'displayedPrompt':_0x494eae(_0x375085,_0x20e081(0x287)),'type':AIQuickActionType[_0x20e081(0x23d)],'actionName':_0x20e081(0x225),'args':{'language':_0x20e081(0x27f)}}]},{'id':_0x20e081(0x242),'label':_0x494eae(_0x375085,_0x20e081(0x25a)),'icon':_0x1cfce1,'actions':[]}];return _0x1b5891;}(_0x5cd091);}[_0x53b8b3(0x269)](){const _0x232a4d=_0x53b8b3,_0x506999=AIQuickActionsUI[_0x232a4d(0x1fc)](this[_0x232a4d(0x265)][_0x232a4d(0x25b)]),_0x2a467f=(this[_0x232a4d(0x265)][_0x232a4d(0x202)][_0x232a4d(0x215)](_0x232a4d(0x261))||[])[_0x232a4d(0x27e)](_0x4fff3c=>({..._0x4fff3c,'icon':void 0x0}));return _0x506999[_0x232a4d(0x230)](_0x548915=>_0x232a4d(0x242)===_0x548915['id'])[_0x232a4d(0x271)][_0x232a4d(0x1f6)](..._0x2a467f),_0x506999;}[_0x53b8b3(0x1f1)](){const _0x1867cc=_0x53b8b3,_0x3af21d=new _0x401fb1(this[_0x1867cc(0x265)][_0x1867cc(0x25b)]);_0x3af21d[_0x1867cc(0x24e)](),this[_0x1867cc(0x251)](_0x3af21d),this[_0x1867cc(0x277)](),this[_0x1867cc(0x258)](_0x3af21d);}[_0x53b8b3(0x251)](_0x13d514){const _0x4ed465=_0x53b8b3;this[_0x4ed465(0x265)]['ui'][_0x4ed465(0x20d)][_0x4ed465(0x20f)](_0x4ed465(0x231),_0x2e5ab2(this[_0x4ed465(0x265)],this[_0x4ed465(0x205)],{'icon':_0x432f42,'label':_0x494eae(this[_0x4ed465(0x265)][_0x4ed465(0x25b)],_0x4ed465(0x223))},_0x13d514));}[_0x53b8b3(0x216)](_0x3ef8ba){const _0x234642=_0x53b8b3;this[_0x234642(0x205)]=_0x3ef8ba[_0x234642(0x27e)](_0x30f934=>{const _0x47732c=_0x234642;if(_0x47732c(0x271)in _0x30f934){const _0x50dde2=_0x30f934;return{..._0x50dde2,'actions':_0x50dde2[_0x47732c(0x271)][_0x47732c(0x27e)](_0x415686=>{const {actions:_0xff64ae,..._0x2ee7df}=_0x50dde2;return{..._0x415686,'parent':_0x2ee7df};})[_0x47732c(0x219)](_0x33c5a6=>this[_0x47732c(0x26e)](_0x33c5a6))};}return _0x30f934;})[_0x234642(0x219)](_0x182e78=>_0x234642(0x271)in _0x182e78?_0x182e78[_0x234642(0x271)][_0x234642(0x286)]>0x0:this[_0x234642(0x26e)](_0x182e78));}[_0x53b8b3(0x26e)](_0x2df91b){const _0x1f304c=_0x53b8b3,_0x300fc2=this[_0x1f304c(0x265)][_0x1f304c(0x202)][_0x1f304c(0x215)](_0x1f304c(0x256))||[];return this[_0x1f304c(0x265)][_0x1f304c(0x283)][_0x1f304c(0x1f5)](AIQuickActionTypeToPluginName[_0x2df91b[_0x1f304c(0x1fa)]])&&!_0x300fc2[_0x1f304c(0x247)](_0x2df91b['id']);}[_0x53b8b3(0x258)](_0x5976f6){const _0x198bb1=_0x53b8b3;this[_0x198bb1(0x205)][_0x198bb1(0x25c)](_0x441717=>{const _0x3e8b51=_0x198bb1;if(_0x3e8b51(0x271)in _0x441717){const _0x4735af=_0x2e5ab2(this[_0x3e8b51(0x265)],_0x441717[_0x3e8b51(0x271)],_0x441717,_0x5976f6);this[_0x3e8b51(0x265)]['ui'][_0x3e8b51(0x20d)][_0x3e8b51(0x20f)](_0x441717['id'],_0x4735af),_0x441717[_0x3e8b51(0x271)][_0x3e8b51(0x25c)](_0x4ba99c=>{const _0x4b4a2e=_0x3e8b51,_0x2ba658=_0x4476ef(this[_0x4b4a2e(0x265)],_0x4ba99c);this[_0x4b4a2e(0x265)]['ui'][_0x4b4a2e(0x20d)][_0x4b4a2e(0x20f)](_0x4ba99c['id'],_0x2ba658);});}else{const _0x33eb20=_0x4476ef(this[_0x3e8b51(0x265)],_0x441717,!0x1,!0x0,!0x1);this[_0x3e8b51(0x265)]['ui'][_0x3e8b51(0x20d)][_0x3e8b51(0x20f)](_0x441717['id'],_0x33eb20);}});}[_0x53b8b3(0x277)](){const _0x8f6c74=_0x53b8b3;this[_0x8f6c74(0x265)]['ui'][_0x8f6c74(0x20d)][_0x8f6c74(0x20f)](_0x8f6c74(0x280),_0x697d73=>{const _0x3cccc2=_0x8f6c74,_0x34cbf7=new _0x2b2acc(_0x697d73),_0x1b8b25=_0x494eae(_0x697d73,_0x3cccc2(0x223));_0x34cbf7[_0x3cccc2(0x203)][_0x3cccc2(0x263)]({'label':_0x1b8b25,'icon':_0x432f42});const _0x427c71=new _0x4699be(_0x697d73);_0x427c71[_0x3cccc2(0x263)]({'ariaLabel':_0x1b8b25,'role':_0x3cccc2(0x23a)}),this[_0x3cccc2(0x205)][_0x3cccc2(0x25c)](_0x308acd=>{const _0x5d8450=_0x3cccc2;if(_0x5d8450(0x271)in _0x308acd){const _0x4415b4=_0x308acd,_0x204476=new _0x283468(_0x697d73,_0x34cbf7),_0x519191=new _0x2b2acc(_0x697d73),_0x2a6e67=new _0x4699be(_0x697d73);_0x519191[_0x5d8450(0x203)][_0x5d8450(0x263)]({'label':_0x4415b4[_0x5d8450(0x239)],'icon':_0x4415b4[_0x5d8450(0x270)]}),_0x4415b4[_0x5d8450(0x271)][_0x5d8450(0x25c)](_0x4f5139=>{const _0x433708=_0x5d8450,_0x1f7971=new _0x283468(_0x697d73,_0x519191),_0x5e33aa=new _0x2640d4(_0x697d73);_0x5e33aa[_0x433708(0x263)]({'label':_0x4f5139[_0x433708(0x249)],'icon':_0x4f5139[_0x433708(0x270)],'role':_0x433708(0x222)}),_0x5e33aa['on'](_0x433708(0x243),()=>{const _0x25b395=_0x433708;this[_0x25b395(0x268)](_0x4f5139);}),_0x5e33aa[_0x433708(0x259)](_0x433708(0x243))['to'](_0x519191),_0x1f7971[_0x433708(0x279)][_0x433708(0x20f)](_0x5e33aa),_0x2a6e67[_0x433708(0x221)][_0x433708(0x20f)](_0x1f7971);}),_0x519191[_0x5d8450(0x1f3)][_0x5d8450(0x279)][_0x5d8450(0x20f)](_0x2a6e67),_0x204476[_0x5d8450(0x279)][_0x5d8450(0x20f)](_0x519191),_0x427c71[_0x5d8450(0x221)][_0x5d8450(0x20f)](_0x204476);}else{const _0x234f63=_0x308acd,_0x17f450=new _0x283468(_0x697d73,_0x34cbf7),_0x56db7a=new _0x2640d4(_0x697d73);_0x56db7a[_0x5d8450(0x263)]({'label':_0x234f63[_0x5d8450(0x249)],'icon':_0x234f63[_0x5d8450(0x270)],'role':_0x5d8450(0x222)}),_0x56db7a['on'](_0x5d8450(0x243),()=>{const _0x536c96=_0x5d8450;this[_0x536c96(0x268)](_0x234f63);}),_0x56db7a[_0x5d8450(0x259)](_0x5d8450(0x243))['to'](_0x34cbf7),_0x17f450[_0x5d8450(0x279)][_0x5d8450(0x20f)](_0x56db7a),_0x427c71[_0x5d8450(0x221)][_0x5d8450(0x20f)](_0x17f450);}});const _0x1e4362=Object[_0x3cccc2(0x1f7)](AIQuickActionTypeToPluginName)[_0x3cccc2(0x21f)](_0x538f90=>this[_0x3cccc2(0x265)][_0x3cccc2(0x283)][_0x3cccc2(0x1f5)](_0x538f90));return _0x34cbf7[_0x3cccc2(0x263)]({'isEnabled':_0x1e4362}),_0x34cbf7[_0x3cccc2(0x1f3)][_0x3cccc2(0x279)][_0x3cccc2(0x20f)](_0x427c71),_0x34cbf7;});}[_0x53b8b3(0x268)](_0x2b9d06){const _0x5722a3=_0x53b8b3,_0x2d77fc=this[_0x5722a3(0x265)];_0x2d77fc[_0x5722a3(0x227)][_0x5722a3(0x234)][_0x5722a3(0x285)](),_0x2d77fc[_0x5722a3(0x22b)][_0x5722a3(0x243)](_0x5722a3(0x24d),_0x2b9d06);const _0x52450c=_0x2d77fc['ui'][_0x5722a3(0x234)][_0x5722a3(0x200)];_0x52450c&&_0x52450c[_0x5722a3(0x26a)]&&_0x52450c[_0x5722a3(0x26a)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x1762(){const _0x8f66d=['bindTemplate','6840282VOjASQ','execute','2847956NydhEH','3978171czaGLD','12fASokL','focus','view','981167KafBKA','editing','5294709DPpsNV','menuitem','displayedPrompt','locale','extendTemplate','commands','2208455QNErhV','33547032WCbhxc','ck-ai-quick-actions-button','aiQuickAction','parent','set','icon'];_0x1762=function(){return _0x8f66d;};return _0x1762();}(function(_0x1d12f3,_0x299ab0){const _0x3c110a=_0x23d7,_0x34f57f=_0x1d12f3();while(!![]){try{const _0x427b78=parseInt(_0x3c110a(0x177))/0x1+-parseInt(_0x3c110a(0x172))/0x2+-parseInt(_0x3c110a(0x173))/0x3+parseInt(_0x3c110a(0x174))/0x4*(-parseInt(_0x3c110a(0x168))/0x5)+-parseInt(_0x3c110a(0x170))/0x6+parseInt(_0x3c110a(0x162))/0x7+parseInt(_0x3c110a(0x169))/0x8;if(_0x427b78===_0x299ab0)break;else _0x34f57f['push'](_0x34f57f['shift']());}catch(_0x57b822){_0x34f57f['push'](_0x34f57f['shift']());}}}(_0x1762,0xaec02));import{ButtonView as _0x1c5ac9}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x541453}from'@ckeditor/ckeditor5-icons';function _0x23d7(_0x2f1e4a,_0x20d521){const _0x1762dc=_0x1762();return _0x23d7=function(_0x23d768,_0x1cb96d){_0x23d768=_0x23d768-0x161;let _0x52c124=_0x1762dc[_0x23d768];return _0x52c124;},_0x23d7(_0x2f1e4a,_0x20d521);}export function aiQuickActionsButtonCreator(_0x41c992,_0x2a705e,_0x3b8347=!0x1,_0x57eb27=!0x0,_0x81711b=!0x0){return()=>{const _0x35b916=_0x23d7,_0x25081c=_0x41c992[_0x35b916(0x165)],_0x477afc=new _0x1c5ac9(_0x25081c),_0x37ae86=_0x477afc[_0x35b916(0x16f)];_0x81711b&&_0x477afc[_0x35b916(0x166)]({'on':{'mouseenter':_0x37ae86['to'](()=>{const _0x2df03a=_0x35b916;_0x477afc[_0x2df03a(0x175)]();})}});const _0x250c31=_0x2a705e[_0x35b916(0x16e)]??_0x2a705e[_0x35b916(0x16c)]?.[_0x35b916(0x16e)];return _0x477afc[_0x35b916(0x16d)]({'label':_0x2a705e[_0x35b916(0x164)],'withText':_0x3b8347,'role':_0x35b916(0x163),'icon':_0x57eb27?_0x250c31??_0x541453:void 0x0,'tooltip':!_0x3b8347,'class':_0x35b916(0x16a)}),_0x477afc['on'](_0x35b916(0x171),()=>{const _0x4c6cfa=_0x35b916;_0x41c992[_0x4c6cfa(0x161)][_0x4c6cfa(0x176)][_0x4c6cfa(0x175)](),_0x41c992[_0x4c6cfa(0x167)][_0x4c6cfa(0x171)](_0x4c6cfa(0x16b),_0x2a705e);}),_0x477afc;};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x5eda(){const _0x22ab2e=['relatedTarget','8uIDudm','closest','add','setTemplate','_openNestedPanels','optionsListView','_bodyCollection','focusCycler','clear','416716yupeQu','ck-reset_all','menuitem','set','ck-ai-quick-actions-group-list','ck-ai-quick-actions','render','ck-ai-quick-actions-group-panel','ck-dropdown-menu__nested-menu__panel','hide','_hideNestedPanel','_setupGroupMenuBehavior','isOn','children','key','1575PxOIDj','rtl','div','eastSouth','forEach','.ck-ai-quick-actions-group-button','isVisible','_hideAllNestedPanels','404190gWacNL','ArrowRight','destroy','_createListItems','delete','_focusables','ck-dropdown-menu-list','bindTemplate','show','3nAYxku','contains','element','2175995ZAHTWE','_createActionGroupButton','extendTemplate','_createGroupActionsList','14774034dlZXcM','keystrokes','_showNestedPanel','label','addEventListener','.ck-ai-quick-actions-group-panel','get','role','detachFromDom','mouseleave','locale','ck-rounded-corners','items','icon','4WJgCIk','405756seVRwP','.ck-ai-quick-actions-group-list','2060890AajXSQ','pin','uiLanguageDirection','menu','ArrowLeft','ck-ai-quick-actions-group-button','content','bind','focusTracker','_isMovingToNestedMenu','actions','_createActionButton','addMany','10758CGoIhB','focus'];_0x5eda=function(){return _0x22ab2e;};return _0x5eda();}const _0x2c1a20=_0x3d13;(function(_0x397929,_0x3e5b71){const _0x214ccf=_0x3d13,_0x24fbd6=_0x397929();while(!![]){try{const _0x45abe3=-parseInt(_0x214ccf(0xa7))/0x1+-parseInt(_0x214ccf(0x90))/0x2*(parseInt(_0x214ccf(0xb0))/0x3)+-parseInt(_0x214ccf(0xc5))/0x4*(parseInt(_0x214ccf(0xb3))/0x5)+parseInt(_0x214ccf(0x84))/0x6*(parseInt(_0x214ccf(0x9f))/0x7)+parseInt(_0x214ccf(0x87))/0x8*(-parseInt(_0x214ccf(0xc6))/0x9)+-parseInt(_0x214ccf(0xc8))/0xa+parseInt(_0x214ccf(0xb7))/0xb;if(_0x45abe3===_0x3e5b71)break;else _0x24fbd6['push'](_0x24fbd6['shift']());}catch(_0x3c38d7){_0x24fbd6['push'](_0x24fbd6['shift']());}}}(_0x5eda,0x6d46f));import{View as _0x4ba8ef,ListItemView as _0x534cd1,ListView as _0x18ac69,BalloonPanelView as _0x1d3d5b,DropdownMenuPanelPositioningFunctions as _0x27d155,DropdownMenuButtonView as _0x2436a8,ViewCollection as _0xa55edf,FocusCycler as _0xb4821a}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x80cd23}from'@ckeditor/ckeditor5-icons';import{FocusTracker as _0x2dc4d1,KeystrokeHandler as _0xd6dd0e}from'ckeditor5/src/utils.js';function _0x3d13(_0x294a5d,_0x538d3e){const _0x5eda7d=_0x5eda();return _0x3d13=function(_0x3d13ae,_0x428b90){_0x3d13ae=_0x3d13ae-0x83;let _0x3ffc87=_0x5eda7d[_0x3d13ae];return _0x3ffc87;},_0x3d13(_0x294a5d,_0x538d3e);}import{aiQuickActionsButtonCreator as _0x3307ad}from'./aiquickactionsbuttoncreator.js';const qs=_0x2c1a20(0xcb),ys=_0x2c1a20(0x92);export class AIQuickActionsDropdownContentView extends _0x4ba8ef{[_0x2c1a20(0x8d)];[_0x2c1a20(0x8c)];[_0x2c1a20(0xd0)];[_0x2c1a20(0xb8)];[_0x2c1a20(0xac)];[_0x2c1a20(0x8e)];[_0x2c1a20(0x8b)]=new Set();constructor(_0x3d2cd2,_0x222b74,_0xc3b881,_0x4e2004){const _0x4c80c0=_0x2c1a20,_0x5dc20d=_0x3d2cd2[_0x4c80c0(0xc1)];super(_0x5dc20d),this[_0x4c80c0(0x8d)]=_0x4e2004;const _0x43f267=this[_0x4c80c0(0xaa)](_0x3d2cd2,_0x222b74,_0xc3b881);this[_0x4c80c0(0x8c)]=new _0x18ac69(_0x5dc20d),this[_0x4c80c0(0x8c)][_0x4c80c0(0xbe)]=qs,this[_0x4c80c0(0x8c)][_0x4c80c0(0xc3)][_0x4c80c0(0x83)](_0x43f267),this[_0x4c80c0(0xd0)]=new _0x2dc4d1(),this[_0x4c80c0(0xb8)]=new _0xd6dd0e(),this[_0x4c80c0(0xac)]=_0x43f267,this[_0x4c80c0(0x8e)]=new _0xb4821a({'focusables':this[_0x4c80c0(0xac)],'focusTracker':this[_0x4c80c0(0xd0)],'keystrokeHandler':this[_0x4c80c0(0xb8)]}),this[_0x4c80c0(0x8a)]({'tag':_0x4c80c0(0xa1),'attributes':{'class':['ck',_0x4c80c0(0x91),_0x4c80c0(0x95),_0x4c80c0(0xc2)],'dir':_0x5dc20d[_0x4c80c0(0xca)]},'children':[this[_0x4c80c0(0x8c)]]});}[_0x2c1a20(0xaa)](_0x3552fd,_0x384259,_0x9b68cb){const _0x1ee9d5=_0x2c1a20,_0xb109c9=new _0xa55edf();return _0x384259[_0x1ee9d5(0xa3)](_0x564b16=>{const _0x2a2274=_0x1ee9d5;_0x2a2274(0xd2)in _0x564b16?_0xb109c9[_0x2a2274(0x89)](this[_0x2a2274(0xb4)](_0x3552fd,_0x564b16,_0x9b68cb)):_0xb109c9[_0x2a2274(0x89)](this[_0x2a2274(0xd3)](_0x3552fd,_0x564b16));}),_0xb109c9;}[_0x2c1a20(0xd3)](_0x4fa3ff,_0x597754){const _0x532515=_0x2c1a20,_0x212a2b=new _0x534cd1(this[_0x532515(0xc1)]),_0x368120=_0x3307ad(_0x4fa3ff,_0x597754,!0x0,void 0x0!==_0x597754[_0x532515(0xc4)])();return _0x212a2b[_0x532515(0x9d)][_0x532515(0x89)](_0x368120),_0x212a2b;}[_0x2c1a20(0xb4)](_0x4a3d25,_0x43604c,_0x744ff1){const _0x184eb5=_0x2c1a20,_0xe4c0af=new _0x534cd1(this[_0x184eb5(0xc1)]),_0x3f95be=new _0x2436a8(this[_0x184eb5(0xc1)]),_0x5edab6=_0x3f95be[_0x184eb5(0xae)],_0x3740d0=_0x184eb5(0xa0)===_0x744ff1[_0x184eb5(0xc1)][_0x184eb5(0xca)]?_0x184eb5(0xa8):_0x184eb5(0xcc),_0xb11530=this[_0x184eb5(0xb6)](_0x4a3d25,_0x43604c[_0x184eb5(0xd2)],_0x744ff1);_0x3f95be[_0x184eb5(0x93)]({'label':_0x43604c[_0x184eb5(0xba)],'withText':!0x0,'role':ys,'icon':_0x43604c[_0x184eb5(0xc4)]??_0x80cd23}),_0x3f95be[_0x184eb5(0xb5)]({'on':{'mouseenter':_0x5edab6['to'](()=>{const _0x40c995=_0x184eb5;_0x3f95be[_0x40c995(0x85)]();})}});const _0x2220d0=new _0x1d3d5b(this[_0x184eb5(0xc1)]);return _0x2220d0[_0x184eb5(0xb5)]({'attributes':{'class':['ck',_0x184eb5(0x91),_0x184eb5(0x97),_0x184eb5(0x98)]},'on':{'keydown':_0x5edab6['to'](_0x56c017=>{const _0x312801=_0x184eb5;_0x56c017[_0x312801(0x9e)]==_0x3740d0&&(_0x3f95be[_0x312801(0x85)](),this[_0x312801(0x9a)](_0x2220d0));})}}),_0x3f95be[_0x184eb5(0xcf)](_0x184eb5(0x9c))['to'](_0x2220d0,_0x184eb5(0xa5)),this[_0x184eb5(0x8d)][_0x184eb5(0x89)](_0x2220d0),_0x2220d0[_0x184eb5(0xce)][_0x184eb5(0x89)](_0xb11530),this[_0x184eb5(0x9b)](_0x3f95be,_0x2220d0),_0xe4c0af[_0x184eb5(0x9d)][_0x184eb5(0x89)](_0x3f95be),_0xe4c0af;}[_0x2c1a20(0xb6)](_0x32ddcc,_0x321884,_0x3b9f6d){const _0x342a90=_0x2c1a20,_0x2f7850=new _0x18ac69(this[_0x342a90(0xc1)]);return _0x2f7850[_0x342a90(0xb5)]({'attributes':{'class':['ck',_0x342a90(0x91),_0x342a90(0x94),_0x342a90(0xad)]}}),_0x321884[_0x342a90(0xa3)](_0x59915e=>{const _0x8eeabb=_0x342a90,_0x269817=new _0x534cd1(this[_0x8eeabb(0xc1)]),_0x5103a1=_0x3307ad(_0x32ddcc,_0x59915e,!0x0,!0x1)();_0x269817[_0x8eeabb(0x9d)][_0x8eeabb(0x89)](_0x5103a1),_0x3b9f6d[_0x8eeabb(0xd0)][_0x8eeabb(0x89)](_0x5103a1),_0x2f7850[_0x8eeabb(0xc3)][_0x8eeabb(0x89)](_0x269817);}),_0x2f7850;}[_0x2c1a20(0x9b)](_0x19c35c,_0x345d21){const _0x8b031=_0x2c1a20,_0x49c3bc=_0x19c35c[_0x8b031(0xae)],_0x471afa=_0x8b031(0xa0)===_0x19c35c[_0x8b031(0xc1)][_0x8b031(0xca)]?_0x8b031(0xcc):_0x8b031(0xa8);_0x19c35c[_0x8b031(0xb5)]({'attributes':{'class':[_0x8b031(0xcd)]},'on':{'mouseenter':_0x49c3bc['to'](()=>{const _0x153248=_0x8b031;this[_0x153248(0xb9)](_0x345d21,_0x19c35c);}),'mouseleave':_0x49c3bc['to'](_0x23f8dc=>{const _0x1bebc5=_0x8b031,_0x3a4eba=_0x23f8dc[_0x1bebc5(0x86)];this[_0x1bebc5(0xd1)](_0x3a4eba,_0x345d21)||this[_0x1bebc5(0x9a)](_0x345d21);}),'keydown':_0x49c3bc['to'](_0x26485d=>{const _0x281384=_0x8b031;_0x26485d[_0x281384(0x9e)]==_0x471afa&&(this[_0x281384(0xb9)](_0x345d21,_0x19c35c),_0x345d21[_0x281384(0xce)][_0x281384(0xbd)](0x0)[_0x281384(0x85)]());})}}),_0x345d21['on'](_0x8b031(0x96),()=>{const _0x2b5f46=_0x8b031;_0x345d21[_0x2b5f46(0xb2)]?.[_0x2b5f46(0xbb)](_0x2b5f46(0xc0),_0xda76be=>{const _0x20ca39=_0x2b5f46,_0x2d81f2=_0xda76be[_0x20ca39(0x86)];_0x19c35c[_0x20ca39(0xb2)]?.[_0x20ca39(0xb1)](_0x2d81f2)||this[_0x20ca39(0xd1)](_0x2d81f2,_0x345d21)||this[_0x20ca39(0x9a)](_0x345d21);});});}[_0x2c1a20(0xb9)](_0x123b0b,_0x5c8bfd){const _0x2411e2=_0x2c1a20;this[_0x2411e2(0x8b)][_0x2411e2(0xa3)](_0x2c71a4=>{const _0x225180=_0x2411e2;_0x2c71a4!==_0x123b0b&&_0x2c71a4[_0x225180(0xa5)]&&_0x2c71a4[_0x225180(0x99)]();}),_0x123b0b[_0x2411e2(0xaf)](),_0x123b0b[_0x2411e2(0xc9)]({'positions':[_0x27d155[_0x2411e2(0xa2)]],'target':_0x5c8bfd[_0x2411e2(0xb2)],'fitInViewport':!0x0}),this[_0x2411e2(0x8b)][_0x2411e2(0x89)](_0x123b0b);}[_0x2c1a20(0x9a)](_0x45f560){const _0x43ac21=_0x2c1a20;_0x45f560[_0x43ac21(0x99)](),this[_0x43ac21(0x8b)][_0x43ac21(0xab)](_0x45f560);}[_0x2c1a20(0xa6)](){const _0x9a9e9d=_0x2c1a20;this[_0x9a9e9d(0x8b)][_0x9a9e9d(0xa3)](_0x5e03d5=>_0x5e03d5[_0x9a9e9d(0x99)]()),this[_0x9a9e9d(0x8b)][_0x9a9e9d(0x8f)]();}[_0x2c1a20(0xd1)](_0x18d9af,_0x27ed49){const _0x3694c7=_0x2c1a20;if(!_0x18d9af)return!0x1;if(_0x27ed49[_0x3694c7(0xb2)]?.[_0x3694c7(0xb1)](_0x18d9af))return!0x0;const _0x51c53e=_0x18d9af;return _0x51c53e[_0x3694c7(0x88)]&&(null!==_0x51c53e[_0x3694c7(0x88)](_0x3694c7(0xbc))||null!==_0x51c53e[_0x3694c7(0x88)](_0x3694c7(0xc7))||null!==_0x51c53e[_0x3694c7(0x88)](_0x3694c7(0xa4)));}[_0x2c1a20(0xa9)](){const _0x1f5842=_0x2c1a20;this[_0x1f5842(0xa6)](),this[_0x1f5842(0x8d)][_0x1f5842(0xbf)](),super[_0x1f5842(0xa9)]();}[_0x2c1a20(0x85)](){const _0x400707=_0x2c1a20;this[_0x400707(0x8c)][_0x400707(0x85)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x50bf9d,_0x1519d8){const _0x2a62bc=_0x511c,_0x5083ff=_0x50bf9d();while(!![]){try{const _0x18fe6d=parseInt(_0x2a62bc(0xfd))/0x1+parseInt(_0x2a62bc(0xff))/0x2+-parseInt(_0x2a62bc(0xf7))/0x3*(parseInt(_0x2a62bc(0xed))/0x4)+-parseInt(_0x2a62bc(0xfe))/0x5+-parseInt(_0x2a62bc(0xfc))/0x6*(-parseInt(_0x2a62bc(0xf8))/0x7)+parseInt(_0x2a62bc(0xf4))/0x8+parseInt(_0x2a62bc(0xf6))/0x9*(-parseInt(_0x2a62bc(0xfa))/0xa);if(_0x18fe6d===_0x1519d8)break;else _0x5083ff['push'](_0x5083ff['shift']());}catch(_0xb8d538){_0x5083ff['push'](_0x5083ff['shift']());}}}(_0x4cf7,0x3ab8d));import{createDropdown as _0xd319fc}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x49d306}from'@ckeditor/ckeditor5-icons';function _0x511c(_0x1926dd,_0x2b206a){const _0x4cf783=_0x4cf7();return _0x511c=function(_0x511c1b,_0x426e49){_0x511c1b=_0x511c1b-0xed;let _0x213657=_0x4cf783[_0x511c1b];return _0x213657;},_0x511c(_0x1926dd,_0x2b206a);}function _0x4cf7(){const _0x146a66=['label','9FqDAmi','1214709MVtfJb','19509XLsKID','ck-ai-quick-actions-dropdown','3507710lKzWTL','locale','1002Knbdsq','110777Oebndb','473980KywYZQ','413376ZHhBpT','4TtmzgF','icon','set','add','children','buttonView','panelView','2464808gNtcJW'];_0x4cf7=function(){return _0x146a66;};return _0x4cf7();}import{AIQuickActionsDropdownContentView as _0x1995c4}from'./aiquickactionsdropdowncontentview.js';export function aiQuickActionsDropdownCreator(_0x3de677,_0x2a04e4,_0x31dbb6,_0x5a03e0){return()=>{const _0x20bcc2=_0x511c,_0x46dcb9=_0x3de677[_0x20bcc2(0xfb)],_0x1a17cd=_0xd319fc(_0x46dcb9);_0x1a17cd[_0x20bcc2(0xf2)][_0x20bcc2(0xef)]({'icon':_0x31dbb6[_0x20bcc2(0xee)]??_0x49d306,'label':_0x31dbb6[_0x20bcc2(0xf5)],'tooltip':!0x0}),_0x1a17cd[_0x20bcc2(0xef)]({'class':_0x20bcc2(0xf9)});const _0x175eb5=new _0x1995c4(_0x3de677,_0x2a04e4,_0x1a17cd,_0x5a03e0);return _0x1a17cd[_0x20bcc2(0xf3)][_0x20bcc2(0xf1)][_0x20bcc2(0xf0)](_0x175eb5),_0x1a17cd;};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0xc0c4(_0x426d08,_0x5e71e1){const _0x169e71=_0x169e();return _0xc0c4=function(_0xc0c44d,_0x165812){_0xc0c44d=_0xc0c44d-0x11e;let _0x1bab30=_0x169e71[_0xc0c44d];return _0x1bab30;},_0xc0c4(_0x426d08,_0x5e71e1);}const _0x154c68=_0xc0c4;(function(_0x422d03,_0x4b9230){const _0xdf90d6=_0xc0c4,_0x3aaace=_0x422d03();while(!![]){try{const _0x285f75=parseInt(_0xdf90d6(0x12c))/0x1*(-parseInt(_0xdf90d6(0x129))/0x2)+-parseInt(_0xdf90d6(0x160))/0x3*(-parseInt(_0xdf90d6(0x130))/0x4)+-parseInt(_0xdf90d6(0x15a))/0x5*(-parseInt(_0xdf90d6(0x126))/0x6)+parseInt(_0xdf90d6(0x12d))/0x7+parseInt(_0xdf90d6(0x15f))/0x8*(parseInt(_0xdf90d6(0x150))/0x9)+-parseInt(_0xdf90d6(0x164))/0xa*(-parseInt(_0xdf90d6(0x12b))/0xb)+parseInt(_0xdf90d6(0x140))/0xc*(-parseInt(_0xdf90d6(0x158))/0xd);if(_0x285f75===_0x4b9230)break;else _0x3aaace['push'](_0x3aaace['shift']());}catch(_0x474894){_0x3aaace['push'](_0x3aaace['shift']());}}}(_0x169e,0x5cfb5));export const AI_REVIEW_CHECKS=[{'id':_0x154c68(0x128),'title':_0x154c68(0x120),'description':_0x154c68(0x14b),'isParameterized':!0x0},{'id':_0x154c68(0x151),'title':_0x154c68(0x13f),'description':_0x154c68(0x12a),'isParameterized':!0x1},{'id':_0x154c68(0x13c),'title':_0x154c68(0x125),'description':_0x154c68(0x11f),'isParameterized':!0x1},{'id':_0x154c68(0x14c),'title':_0x154c68(0x14e),'description':_0x154c68(0x136),'isParameterized':!0x1},{'id':_0x154c68(0x12f),'title':_0x154c68(0x134),'description':_0x154c68(0x11e),'isParameterized':!0x0,'options':[{'formType':_0x154c68(0x14f),'label':_0x154c68(0x134),'default':_0x154c68(0x132),'data':[{'label':_0x154c68(0x141),'id':_0x154c68(0x132)},{'label':_0x154c68(0x138),'id':_0x154c68(0x15e)}]}]},{'id':_0x154c68(0x15b),'title':_0x154c68(0x152),'description':_0x154c68(0x159),'isParameterized':!0x0,'options':[{'formType':_0x154c68(0x14f),'label':_0x154c68(0x152),'default':_0x154c68(0x149),'data':[{'label':_0x154c68(0x123),'id':_0x154c68(0x149)},{'label':_0x154c68(0x122),'id':_0x154c68(0x127)},{'label':_0x154c68(0x13e),'id':_0x154c68(0x139)},{'label':_0x154c68(0x13a),'id':_0x154c68(0x162)},{'label':_0x154c68(0x14a),'id':_0x154c68(0x142)}]}]},{'id':_0x154c68(0x145),'title':_0x154c68(0x163),'description':_0x154c68(0x161),'isParameterized':!0x0,'useArgs':!0x0,'options':[{'formType':_0x154c68(0x14f),'label':_0x154c68(0x121),'argsKey':_0x154c68(0x147),'data':[{'label':_0x154c68(0x13d),'id':_0x154c68(0x137)},{'label':_0x154c68(0x14d),'id':_0x154c68(0x13b)},{'label':_0x154c68(0x156),'id':_0x154c68(0x153)},{'label':_0x154c68(0x143),'id':_0x154c68(0x157)},{'label':_0x154c68(0x148),'id':_0x154c68(0x133)},{'label':_0x154c68(0x15c),'id':_0x154c68(0x144)},{'label':_0x154c68(0x135),'id':_0x154c68(0x131)},{'label':_0x154c68(0x155),'id':_0x154c68(0x15d)},{'label':_0x154c68(0x146),'id':_0x154c68(0x12e)},{'label':_0x154c68(0x154),'id':_0x154c68(0x124)}]}]}];function _0x169e(){const _0x42f67f=['259TmYXyg','412020ylgOrd','korean','make','4vCJKcp','russian','longer','chinese','Adjust\x20length','Russian','Enhance\x20the\x20overall\x20readability\x20of\x20the\x20text.','english','Shorter','friendly','Confident','spanish','clarity','English','Friendly','Correctness','3466332BEyRzt','Longer','professional','German','japanese','translate','Korean','language','Chinese\x20(Simplified)','casual','Professional','Type\x20a\x20custom\x20command\x20to\x20review\x20the\x20content\x20exactly\x20as\x20you\x20need.','readability','Spanish','Readability','dropdown','45wzFbgq','correctness','Adjust\x20tone\x20and\x20style','french','Italian','Portuguese','French','german','13QMikME','Choose\x20tone\x20and\x20style\x20to\x20change\x20content\x20as\x20you\x20need.','499955oedmAY','make-tone','Japanese','portuguese','shorter','92200XDmRNI','329859TsgfNd','Translate\x20the\x20text\x20into\x20another\x20language.','confident','Translate','618330ZIzxCT','Refine\x20text\x20length\x20to\x20match\x20your\x20needs.','Improve\x20the\x20clarity\x20and\x20readability\x20of\x20the\x20text.','Custom\x20command','Select\x20language','Direct','Casual','italian','Clarity','6UwOpBJ','direct','custom','214wiTQMB','Ensure\x20the\x20text\x20is\x20factually\x20accurate\x20and\x20free\x20of\x20errors.','66JstUPI'];_0x169e=function(){return _0x42f67f;};return _0x169e();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x586e59=_0x3ede;(function(_0x239245,_0x5bd384){var _0xc02379=_0x3ede,_0xf6396b=_0x239245();while(!![]){try{var _0x13222d=-parseInt(_0xc02379(0x1ee))/0x1*(-parseInt(_0xc02379(0x1ec))/0x2)+parseInt(_0xc02379(0x1f2))/0x3+parseInt(_0xc02379(0x1e6))/0x4*(parseInt(_0xc02379(0x1f4))/0x5)+parseInt(_0xc02379(0x1f3))/0x6*(-parseInt(_0xc02379(0x1ea))/0x7)+-parseInt(_0xc02379(0x1e5))/0x8+parseInt(_0xc02379(0x1ef))/0x9+-parseInt(_0xc02379(0x1f1))/0xa*(parseInt(_0xc02379(0x1e9))/0xb);if(_0x13222d===_0x5bd384)break;else _0xf6396b['push'](_0xf6396b['shift']());}catch(_0x1f3a40){_0xf6396b['push'](_0xf6396b['shift']());}}}(_0x1e89,0x20c85));import{ContextPlugin as _0xc41b0f}from'ckeditor5/src/core.js';import{AIReviewModeController as _0x338ef4}from'./aireviewmodecontroller.js';import{AIReviewModeUI as _0x4148ef}from'./aireviewmodeui.js';function _0x1e89(){var _0x225ef3=['543705BFguIy','4572ciodrG','140FOyBeW','1875944oKYJsC','11824BNvmmg','pluginName','requires','44xSTGWf','7wHoHIA','isOfficialPlugin','6ZQvvPr','isPremiumPlugin','4682FaepaQ','1047915HSNsnx','AIReviewMode','62380jtGGml'];_0x1e89=function(){return _0x225ef3;};return _0x1e89();}import{AIReviewModeEditing as _0x5eea77}from'./aireviewmodeediting.js';function _0x3ede(_0x315004,_0x14450c){var _0x1e8997=_0x1e89();return _0x3ede=function(_0x3ede2f,_0xdec56c){_0x3ede2f=_0x3ede2f-0x1e5;var _0x33249f=_0x1e8997[_0x3ede2f];return _0x33249f;},_0x3ede(_0x315004,_0x14450c);}export class AIReviewMode extends _0xc41b0f{static get[_0x586e59(0x1e8)](){return[_0x338ef4,_0x4148ef,_0x5eea77];}static get[_0x586e59(0x1e7)](){var _0x4096cd=_0x586e59;return _0x4096cd(0x1f0);}static get[_0x586e59(0x1eb)](){return!0x0;}static get[_0x586e59(0x1ed)](){return!0x0;}}
|