@ckeditor/ckeditor5-ai 47.3.0-alpha.0 → 47.3.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-editor.css +0 -4
- package/dist/index.css +0 -4
- 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 +9 -9
- package/lang/translations/bg.po +9 -9
- package/lang/translations/bn.po +9 -9
- package/lang/translations/ca.po +9 -9
- package/lang/translations/cs.po +9 -9
- package/lang/translations/da.po +9 -9
- package/lang/translations/de.po +9 -9
- package/lang/translations/el.po +9 -9
- package/lang/translations/es.po +9 -9
- package/lang/translations/et.po +9 -9
- package/lang/translations/fi.po +9 -9
- package/lang/translations/fr.po +9 -9
- package/lang/translations/he.po +9 -9
- package/lang/translations/hi.po +9 -9
- package/lang/translations/hu.po +9 -9
- package/lang/translations/id.po +9 -9
- package/lang/translations/it.po +9 -9
- package/lang/translations/ja.po +9 -9
- package/lang/translations/ko.po +9 -9
- package/lang/translations/lt.po +9 -9
- package/lang/translations/lv.po +9 -9
- package/lang/translations/ms.po +9 -9
- package/lang/translations/nl.po +9 -9
- package/lang/translations/no.po +9 -9
- package/lang/translations/pl.po +9 -9
- package/lang/translations/pt-br.po +9 -9
- package/lang/translations/pt.po +9 -9
- package/lang/translations/ro.po +9 -9
- package/lang/translations/ru.po +9 -9
- package/lang/translations/sk.po +9 -9
- package/lang/translations/sr.po +9 -9
- package/lang/translations/sv.po +9 -9
- package/lang/translations/th.po +9 -9
- package/lang/translations/tr.po +9 -9
- package/lang/translations/uk.po +9 -9
- package/lang/translations/vi.po +9 -9
- package/lang/translations/zh-cn.po +9 -9
- package/lang/translations/zh.po +9 -9
- 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/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/aicore/utils/scrollmanager.js +1 -1
- package/src/aieditorintegration/aieditorintegration.js +1 -1
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
- package/src/aiquickactions/aiquickactions.js +1 -1
- package/src/aiquickactions/aiquickactionscommand.js +1 -1
- package/src/aiquickactions/aiquickactionsediting.js +1 -1
- package/src/aiquickactions/aiquickactionsui.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
- package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.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/aireviewmodegeneralerrorview.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/errorsmap.js +1 -1
- package/src/index.js +1 -1
- package/theme/aiquickactions/aiquickactions.css +0 -4
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x40a316=_0x380f;function _0x380f(_0x1b8cf5,_0x12e3cf){const _0x3de996=_0x3de9();return _0x380f=function(_0x380f32,_0x4a2bba){_0x380f32=_0x380f32-0x14c;let _0x464ecd=_0x3de996[_0x380f32];return _0x464ecd;},_0x380f(_0x1b8cf5,_0x12e3cf);}(function(_0x50a34e,_0x3a9e53){const _0x3e9c67=_0x380f,_0x459458=_0x50a34e();while(!![]){try{const _0x104278=-parseInt(_0x3e9c67(0x17c))/0x1+-parseInt(_0x3e9c67(0x15e))/0x2*(-parseInt(_0x3e9c67(0x18a))/0x3)+parseInt(_0x3e9c67(0x1ad))/0x4+parseInt(_0x3e9c67(0x153))/0x5+-parseInt(_0x3e9c67(0x166))/0x6+parseInt(_0x3e9c67(0x163))/0x7*(-parseInt(_0x3e9c67(0x183))/0x8)+parseInt(_0x3e9c67(0x179))/0x9;if(_0x104278===_0x3a9e53)break;else _0x459458['push'](_0x459458['shift']());}catch(_0x5d25ef){_0x459458['push'](_0x459458['shift']());}}}(_0x3de9,0xeecc3));import{uid as _0x19dccd}from'ckeditor5/src/utils.js';import{Plugin as _0x5e4245}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0xda320a}from'ckeditor5/src/clipboard.js';function _0x3de9(){const _0x53de1f=['href','editing','isPremiumPlugin','push','createUIElement','_getAISelection','getColumnIndexes','5568715toPLGS','markers','parse','init','map','getRows','getChildren','findAncestor','_prepareTableInsertBelowPosition','createRange','_pasteHTMLUsingClipboard','4ecsRNr','getRanges','data','afterInit','last','2325911pdZcyb','get','createPositionAt','10499496HvTLze','conversion','getLastPosition','pop','TableUtils','for','ck-fake-ai-selection_collapsed','hideFakeVisualSelection','isOfficialPlugin','off','first','text/html','showFakeVisualSelection','deleteContent','markerRange','updateMarker','ai.assistant.useTheme','isCollapsed','ck-fake-ai-selection','20218113iLIQIR','_getTableRowCountFromContent','getLastMatchingPosition','1499322qxNjXi','config','insertRows','getChild','selection','getRowIndexes','AIAssistantEditing','40AnVShh','lowest','createPositionAfter','addMarker','DataTransfer','schema','from','2551698xLhbuW','plugins','fromCharCode','document','editor','isContent','filter','addClass','getFirstRange','resultRange','paste','once','getSelectedBlocks','_getDefaultInsertBelowPosition','editingDowncast','removeMarker','forEach','join','canEditAt','element','start','change','_resetContentOfSelectedTableCells','markerToElement','insertContentBelow','ck-ai-assistant-ui_theme','_createEmptyTableRows','setData','ai-ui','table','model','insertContent','setSelection','createSelection','has','3309544lbIlCn','markerToHighlight','end','pluginName','fire','getRange','getSelectedTableCells','length','isAtEnd','span','getMarkersGroup','contentInsertion'];_0x3de9=function(){return _0x53de1f;};return _0x3de9();}import{ViewDocumentDomEventData as _0x5220f9,ViewDataTransfer as _0x4f7ddd}from'ckeditor5/src/engine.js';const dt=globalThis[_0x40a316(0x187)],pt=_0x40a316(0x1a6);export class AIAssistantEditing extends _0x5e4245{static get[_0x40a316(0x1b0)](){const _0x1300ec=_0x40a316;return _0x1300ec(0x182);}static get[_0x40a316(0x16e)](){return!0x0;}static get[_0x40a316(0x14e)](){return!0x0;}[_0x40a316(0x156)](){const _0x28c774=_0x40a316,{editor:_0x23b939}=this,_0x1a55fb=[_0x28c774(0x178)];_0x23b939[_0x28c774(0x17d)][_0x28c774(0x164)](_0x28c774(0x176))&&_0x1a55fb[_0x28c774(0x14f)](_0x28c774(0x1a3)),_0x23b939[_0x28c774(0x167)][_0x28c774(0x16b)](_0x28c774(0x198))[_0x28c774(0x1ae)]({'model':pt,'view':{'classes':_0x1a55fb,'priority':0xc}}),_0x23b939[_0x28c774(0x167)][_0x28c774(0x16b)](_0x28c774(0x198))[_0x28c774(0x1a1)]({'model':pt,'view':(_0x17f9ed,{writer:_0x3f40d6})=>{const _0x187a4e=_0x28c774;if(!_0x17f9ed[_0x187a4e(0x174)][_0x187a4e(0x177)])return null;const _0x386cc=_0x3f40d6[_0x187a4e(0x150)](_0x187a4e(0x1b6));return _0x3f40d6[_0x187a4e(0x191)]([_0x187a4e(0x178),_0x187a4e(0x16c)],_0x386cc),_0x386cc;}});}[_0x40a316(0x161)](){!async function(_0x30f473){const _0x4cfab2=_0x5c6a12([0x6e,0x41,0x37,0x79,0x75,0x72,0x67,0x4f,0x48,0x62,0x5a,0x76,0x44,0x70,0x6c,0x52,0x6b,0x4a,0x73,0x63,0x64,0x49,0x43,0x6d,0x38,0x36,0x6f,0x50,0x57,0x78,0x39,0x32,0x66,0x31,0x71,0x46,0x30,0x4c,0x61,0x53,0x58,0x33,0x4e,0x47,0x77,0x54,0x4d,0x4b,0x34,0x6a,0x56,0x74,0x59,0x55,0x42,0x51,0x69,0x35,0x7a,0x68,0x65,0x45]),_0x5a53fd=0x3dffc4e1,_0x4c80f6=0x3df8bed1^_0x5a53fd,_0x3e93d2=window[_0x5c6a12([0x44,0x61,0x74,0x65])][_0x5c6a12([0x6e,0x6f,0x77])](),_0x2f0ba7=_0x30f473[_0x5c6a12([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3ceea9=new window[(_0x5c6a12([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x158ff1=>{_0x2f0ba7[_0x5c6a12([0x6f,0x6e,0x63,0x65])](_0x5c6a12([0x72,0x65,0x61,0x64,0x79]),_0x158ff1);}),_0x174d35={[_0x5c6a12([0x6b,0x74,0x79])]:_0x5c6a12([0x45,0x43]),[_0x5c6a12([0x75,0x73,0x65])]:_0x5c6a12([0x73,0x69,0x67]),[_0x5c6a12([0x63,0x72,0x76])]:_0x5c6a12([0x50,0x2d,0x32,0x35,0x36]),[_0x5c6a12([0x78])]:_0x5c6a12([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x5c6a12([0x79])]:_0x5c6a12([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x5c6a12([0x61,0x6c,0x67])]:_0x5c6a12([0x45,0x53,0x32,0x35,0x36])},_0x3e3baa=_0x2f0ba7[_0x5c6a12([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5c6a12([0x67,0x65,0x74])](_0x5c6a12([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5162a7(){let _0x1c3d8b,_0x3cab96=null,_0x525d4f=null;try{if(_0x3e3baa==_0x5c6a12([0x47,0x50,0x4c]))return _0x5c6a12([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1c3d8b=_0x2bfdaf(),!_0x1c3d8b)return _0x5c6a12([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1c3d8b[_0x5c6a12([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x525d4f=_0x102cc5(_0x1c3d8b[_0x5c6a12([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1c3d8b[_0x5c6a12([0x6a,0x74,0x69])])),await _0x689d3()?_0x3884aa()?_0x50b545()?_0x5c6a12([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x26a382()?(_0x1c3d8b[_0x5c6a12([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5c6a12([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3cab96=_0x1ebce5(_0x5c6a12([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1c3d8b[_0x5c6a12([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5c6a12([0x74,0x72,0x69,0x61,0x6c])&&(_0x3cab96=_0x1ebce5(_0x5c6a12([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x39b7a9()):_0x5c6a12([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5c6a12([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5c6a12([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5c6a12([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x50b545(){const _0x256a4c=[_0x5c6a12([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5c6a12([0x74,0x72,0x69,0x61,0x6c])][_0x5c6a12([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1c3d8b[_0x5c6a12([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3e93d2/0x3e8:0xe10*_0x4c80f6;return _0x1c3d8b[_0x5c6a12([0x65,0x78,0x70])]<_0x256a4c;}function _0x3884aa(){const _0x5ba4e9=_0x1c3d8b[_0x5c6a12([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5ba4e9&&(!!_0x5ba4e9[_0x5c6a12([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5c6a12([0x2a]))||!!_0x5ba4e9[_0x5c6a12([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5c6a12([0x41,0x49])));}function _0x26a382(){const _0x2d63f0=_0x380f,_0x40aaa4=_0x1c3d8b[_0x5c6a12([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x40aaa4||0x0==_0x40aaa4[_0x5c6a12([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4e75e9}=new URL(window[_0x5c6a12([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x2d63f0(0x14c)]);if(_0x40aaa4[_0x5c6a12([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4e75e9))return!0x0;const _0x23521c=_0x4e75e9[_0x5c6a12([0x73,0x70,0x6c,0x69,0x74])](_0x5c6a12([0x2e]));return _0x40aaa4[_0x5c6a12([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x58e831=>_0x58e831[_0x5c6a12([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5c6a12([0x2a])))[_0x5c6a12([0x6d,0x61,0x70])](_0x455709=>_0x455709[_0x5c6a12([0x73,0x70,0x6c,0x69,0x74])](_0x5c6a12([0x2e])))[_0x5c6a12([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x938302=>_0x938302[_0x5c6a12([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x23521c[_0x5c6a12([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5c6a12([0x6d,0x61,0x70])](_0x1fa99c=>Array(_0x23521c[_0x5c6a12([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1fa99c[_0x5c6a12([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5c6a12([0x66,0x69,0x6c,0x6c])](_0x1fa99c[0x0]===_0x5c6a12([0x2a])?_0x5c6a12([0x2a]):'')[_0x5c6a12([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1fa99c))[_0x5c6a12([0x73,0x6f,0x6d,0x65])](_0x3aad1c=>_0x23521c[_0x5c6a12([0x65,0x76,0x65,0x72,0x79])]((_0x10b9fc,_0x418ea8)=>_0x3aad1c[_0x418ea8]===_0x10b9fc||_0x3aad1c[_0x418ea8]===_0x5c6a12([0x2a])));}function _0x39b7a9(){return _0x3cab96&&_0x525d4f?new window[(_0x5c6a12([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x8a14e8,_0x21cdee)=>{_0x3cab96[_0x5c6a12([0x74,0x68,0x65,0x6e])](_0x8a14e8,_0x21cdee),_0x525d4f[_0x5c6a12([0x74,0x68,0x65,0x6e])](_0x1d1c61=>{_0x1d1c61!=_0x5c6a12([0x56,0x61,0x6c,0x69,0x64])&&_0x8a14e8(_0x1d1c61);},_0x21cdee);}):_0x3cab96||_0x525d4f||_0x5c6a12([0x56,0x61,0x6c,0x69,0x64]);}}function _0x102cc5(_0x2209f4,_0x916bd2){return new window[(_0x5c6a12([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x421b03=>{if(_0x59607e())return _0x421b03(_0x5c6a12([0x56,0x61,0x6c,0x69,0x64]));_0x4e3111(),_0x2f0ba7[_0x5c6a12([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5c6a12([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x598e57=!0x1;const _0x540584=_0x19dccd();function _0x21c49c(_0xa0d8e0){return!!_0xa0d8e0&&(typeof _0xa0d8e0===_0x5c6a12([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xa0d8e0===_0x5c6a12([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xa0d8e0[_0x5c6a12([0x74,0x68,0x65,0x6e])]===_0x5c6a12([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xa0d8e0[_0x5c6a12([0x63,0x61,0x74,0x63,0x68])]===_0x5c6a12([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x140fb7(_0x356966){_0x2c1c84(_0x356966)[_0x5c6a12([0x74,0x68,0x65,0x6e])](_0x239ac0=>{if(!_0x239ac0||_0x239ac0[_0x5c6a12([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5c6a12([0x6f,0x6b]))return _0x5c6a12([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x42af7b(_0x53af17(_0x540584+_0x916bd2))!=_0x239ac0[_0x5c6a12([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5c6a12([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5c6a12([0x56,0x61,0x6c,0x69,0x64]);})[_0x5c6a12([0x74,0x68,0x65,0x6e])](_0x1cc040=>(_0x322e3d(),_0x1cc040),()=>{const _0x331a8b=_0x4da382();return null==_0x331a8b?(_0x322e3d(),_0x5c6a12([0x56,0x61,0x6c,0x69,0x64])):_0x5c6a12(_0x3e93d2-_0x331a8b>(0x19f340e1^_0x5a53fd)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5c6a12([0x74,0x68,0x65,0x6e])](_0x421b03)[_0x5c6a12([0x63,0x61,0x74,0x63,0x68])](()=>{_0x421b03(_0x5c6a12([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3268a1=0x3dc92a61^_0x5a53fd;function _0x322e3d(){const _0x16f1fc=_0x5c6a12([0x6c,0x6c,0x63,0x74,0x2d])+_0x42af7b(_0x53af17(_0x2209f4)),_0x32fa83=_0x463a1c(_0x42af7b(window[_0x5c6a12([0x4d,0x61,0x74,0x68])][_0x5c6a12([0x63,0x65,0x69,0x6c])](_0x3e93d2/_0x3268a1)));window[_0x5c6a12([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5c6a12([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x16f1fc,_0x32fa83);}function _0x4da382(){const _0x41a6a1=_0x5c6a12([0x6c,0x6c,0x63,0x74,0x2d])+_0x42af7b(_0x53af17(_0x2209f4)),_0x3e09b9=window[_0x5c6a12([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5c6a12([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x41a6a1);return _0x3e09b9?window[_0x5c6a12([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x463a1c(_0x3e09b9),0x10)*_0x3268a1:null;}function _0x2c1c84(_0x3102c1){return new window[(_0x5c6a12([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3f6fd9,_0x3e9d47)=>{_0x3102c1[_0x5c6a12([0x74,0x68,0x65,0x6e])](_0x3f6fd9,_0x3e9d47),window[_0x5c6a12([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3e9d47,0x3dfe1021^_0x5a53fd);});}}_0x2f0ba7[_0x5c6a12([0x6f,0x6e])](_0x5c6a12([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3f7be4,_0x5b1af6)=>{if(_0x5b1af6[0x0]!=_0x2209f4)return _0x421b03(_0x5c6a12([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5b1af6[0x1]={..._0x5b1af6[0x1],[_0x5c6a12([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x540584};},{[_0x5c6a12([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5c6a12([0x68,0x69,0x67,0x68])}),_0x2f0ba7[_0x5c6a12([0x6f,0x6e])](_0x5c6a12([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x307136=>{_0x21c49c(_0x307136[_0x5c6a12([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x598e57=!0x0,_0x140fb7(_0x307136[_0x5c6a12([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5c6a12([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5c6a12([0x6c,0x6f,0x77])}),_0x3ceea9[_0x5c6a12([0x74,0x68,0x65,0x6e])](()=>{_0x598e57||_0x421b03(_0x5c6a12([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x59607e(){return _0x2f0ba7[_0x5c6a12([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5c6a12([0x76,0x69,0x65,0x77])][_0x5c6a12([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5c6a12([0x61,0x75,0x74,0x6f]);}function _0x4e3111(){_0x2f0ba7[_0x5c6a12([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5c6a12([0x76,0x69,0x65,0x77])][_0x5c6a12([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5c6a12([0x61,0x75,0x74,0x6f]);}}function _0x1ebce5(_0x5e6233){const _0x538522=[new window[(_0x5c6a12([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x39b6f1=>setTimeout(_0x39b6f1,0x3df6fa2d^_0x5a53fd)),_0x3ceea9[_0x5c6a12([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5c6a12([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2b545d=>{let _0xcb7796=0x0;_0x2f0ba7[_0x5c6a12([0x6d,0x6f,0x64,0x65,0x6c])][_0x5c6a12([0x6f,0x6e])](_0x5c6a12([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x503a95,_0x4b8a46)=>{_0x4b8a46[0x0][_0x5c6a12([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xcb7796++,_0xcb7796==(0x3dffc519^_0x5a53fd)&&(_0x2b545d(),_0x503a95[_0x5c6a12([0x6f,0x66,0x66])]());});}))];return window[_0x5c6a12([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5c6a12([0x72,0x61,0x63,0x65])](_0x538522)[_0x5c6a12([0x74,0x68,0x65,0x6e])](()=>_0x5e6233);}async function _0x20d300(){await _0x3ceea9,_0x2f0ba7[_0x5c6a12([0x6d,0x6f,0x64,0x65,0x6c])][_0x5c6a12([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2ca4b1,_0x2f0ba7[_0x5c6a12([0x6d,0x6f,0x64,0x65,0x6c])][_0x5c6a12([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2ca4b1,_0x2f0ba7[_0x5c6a12([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5c6a12([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x41f3e8(_0x5a434c){const _0x35481c=_0x2600d1();_0x2f0ba7[_0x35481c]=_0x5c6a12([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5a434c,_0x5a434c!=_0x5c6a12([0x56,0x61,0x6c,0x69,0x64])&&_0x20d300();}function _0x2600d1(){const _0xbd83d4=window[_0x5c6a12([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5c6a12([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5c6a12([0x6e,0x6f,0x77])]())[_0x5c6a12([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5c6a12([0x2e]),'');let _0x525792=_0x5c6a12([0x6e]);for(let _0x4eba1e=0x0;_0x4eba1e<_0xbd83d4[_0x5c6a12([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4eba1e+=0x2){let _0xed3f82=window[_0x5c6a12([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xbd83d4[_0x5c6a12([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4eba1e,_0x4eba1e+0x2));_0xed3f82>=_0x4cfab2[_0x5c6a12([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xed3f82-=_0x4cfab2[_0x5c6a12([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x525792+=_0x4cfab2[_0xed3f82];}return _0x525792;}function _0x2bfdaf(){const _0x2ec5bc=_0x3e3baa[_0x5c6a12([0x73,0x70,0x6c,0x69,0x74])](_0x5c6a12([0x2e]));if(0x3!=_0x2ec5bc[_0x5c6a12([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x29060e(_0x2ec5bc[0x1]);function _0x29060e(_0x29159e){const _0x4dc514=_0x37a78e(_0x29159e);return _0x4dc514&&_0x4c14b7()?_0x4dc514:null;function _0x4c14b7(){const _0x342409=_0x4dc514[_0x5c6a12([0x6a,0x74,0x69])],_0x77d0bf=window[_0x5c6a12([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x342409[_0x5c6a12([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x342409[_0x5c6a12([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3b8f83={..._0x4dc514,[_0x5c6a12([0x6a,0x74,0x69])]:_0x342409[_0x5c6a12([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x342409[_0x5c6a12([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3b8f83[_0x5c6a12([0x76,0x63])],_0x53af17(_0x3b8f83)==_0x77d0bf;}}}async function _0x689d3(){let _0x4fbbfb=!0x0;try{const _0x556e52=_0x3e3baa[_0x5c6a12([0x73,0x70,0x6c,0x69,0x74])](_0x5c6a12([0x2e])),[_0xf0239e,_0x51c1ad,_0x3b627f]=_0x556e52;return _0x21b2c7(_0xf0239e),await _0x4b0cf9(_0xf0239e,_0x51c1ad,_0x3b627f),_0x4fbbfb;}catch{return!0x1;}function _0x21b2c7(_0x31517e){const _0x4fda9b=_0x37a78e(_0x31517e);_0x4fda9b&&_0x4fda9b[_0x5c6a12([0x61,0x6c,0x67])]==_0x5c6a12([0x45,0x53,0x32,0x35,0x36])||(_0x4fbbfb=!0x1);}async function _0x4b0cf9(_0x5855a7,_0x482e5f,_0xf46082){const _0x5bd13f=window[_0x5c6a12([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5c6a12([0x66,0x72,0x6f,0x6d])](_0xaf09e5(_0xf46082),_0x57b919=>_0x57b919[_0x5c6a12([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1088fc=new window[(_0x5c6a12([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5c6a12([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5855a7+_0x5c6a12([0x2e])+_0x482e5f),_0x406c80=window[_0x5c6a12([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5c6a12([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x406c80)return;const _0x1d75d5=await _0x406c80[_0x5c6a12([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5c6a12([0x6a,0x77,0x6b]),_0x174d35,{[_0x5c6a12([0x6e,0x61,0x6d,0x65])]:_0x5c6a12([0x45,0x43,0x44,0x53,0x41]),[_0x5c6a12([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5c6a12([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5c6a12([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x406c80[_0x5c6a12([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5c6a12([0x6e,0x61,0x6d,0x65])]:_0x5c6a12([0x45,0x43,0x44,0x53,0x41]),[_0x5c6a12([0x68,0x61,0x73,0x68])]:{[_0x5c6a12([0x6e,0x61,0x6d,0x65])]:_0x5c6a12([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1d75d5,_0x5bd13f,_0x1088fc)||(_0x4fbbfb=!0x1);}}function _0x37a78e(_0x576870){return _0x576870[_0x5c6a12([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5c6a12([0x65,0x79]))?JSON[_0x5c6a12([0x70,0x61,0x72,0x73,0x65])](_0xaf09e5(_0x576870)):null;}function _0xaf09e5(_0x7502cd){return window[_0x5c6a12([0x61,0x74,0x6f,0x62])](_0x7502cd[_0x5c6a12([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5c6a12([0x2b]))[_0x5c6a12([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5c6a12([0x2f])));}function _0x53af17(_0x2c349f){let _0x2f9be9=0x1505;function _0x1e9db1(_0x256224){for(let _0x3a97cd=0x0;_0x3a97cd<_0x256224[_0x5c6a12([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3a97cd++){const _0x83a4e6=_0x256224[_0x5c6a12([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3a97cd);_0x2f9be9=(_0x2f9be9<<0x5)+_0x2f9be9+_0x83a4e6,_0x2f9be9&=_0x2f9be9;}}function _0x5aa6fc(_0x52821f){Array[_0x5c6a12([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x52821f)?_0x52821f[_0x5c6a12([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5aa6fc):_0x52821f&&typeof _0x52821f==_0x5c6a12([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5c6a12([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x52821f)[_0x5c6a12([0x73,0x6f,0x72,0x74])]()[_0x5c6a12([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xfc463f,_0x18ce92])=>{_0x1e9db1(_0xfc463f),_0x5aa6fc(_0x18ce92);}):_0x1e9db1(window[_0x5c6a12([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x52821f));}return _0x5aa6fc(_0x2c349f),_0x2f9be9>>>0x0;}function _0x42af7b(_0x3c738b){return _0x3c738b[_0x5c6a12([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5c6a12([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5c6a12([0x30]));}function _0x463a1c(_0x55b4a6){return _0x55b4a6[_0x5c6a12([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5c6a12([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5c6a12([0x6a,0x6f,0x69,0x6e])]('');}function _0x2ca4b1(){}function _0x5c6a12(_0x339cfa){const _0xb495d8=_0x380f;return _0x339cfa[_0xb495d8(0x157)](_0x3c6b74=>String[_0xb495d8(0x18c)](_0x3c6b74))[_0xb495d8(0x19b)]('');}_0x41f3e8(await _0x5162a7());}(this);}[_0x40a316(0x172)](){const _0x47d52d=_0x40a316,_0x39a9af=this[_0x47d52d(0x18e)][_0x47d52d(0x1a8)];_0x39a9af[_0x47d52d(0x19f)](_0x466652=>{const _0x3758a0=_0x47d52d,_0x1dca4b=_0x39a9af[_0x3758a0(0x18d)][_0x3758a0(0x180)][_0x3758a0(0x15f)]();let _0x510d69=0x0;for(const _0x853c4f of _0x1dca4b){const _0x255516=pt+':'+_0x510d69;if(_0x39a9af[_0x3758a0(0x154)][_0x3758a0(0x1ac)](_0x255516))_0x466652[_0x3758a0(0x175)](_0x255516,{'range':_0x853c4f});else{if(_0x853c4f[_0x3758a0(0x19e)][_0x3758a0(0x1b5)]){const _0x4c0c6b=_0x853c4f[_0x3758a0(0x19e)][_0x3758a0(0x17b)](({item:_0x364d98})=>!_0x39a9af[_0x3758a0(0x188)][_0x3758a0(0x18f)](_0x364d98),{'boundaries':_0x853c4f});_0x466652[_0x3758a0(0x186)](_0x255516,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x466652[_0x3758a0(0x15c)](_0x4c0c6b,_0x853c4f[_0x3758a0(0x1af)])});}else _0x466652[_0x3758a0(0x186)](_0x255516,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x853c4f});}_0x510d69++;}});}[_0x40a316(0x16d)](){const _0x3d8cf7=_0x40a316,_0xb01ce0=this[_0x3d8cf7(0x18e)][_0x3d8cf7(0x1a8)],_0x587f74=Array[_0x3d8cf7(0x189)](this[_0x3d8cf7(0x18e)][_0x3d8cf7(0x1a8)][_0x3d8cf7(0x154)][_0x3d8cf7(0x1b7)](pt));_0x587f74[_0x3d8cf7(0x1b4)]&&_0xb01ce0[_0x3d8cf7(0x19f)](_0x3700b4=>{const _0x19d78c=_0x3d8cf7;_0x587f74[_0x19d78c(0x19a)](_0x304b14=>{const _0x300a00=_0x19d78c;_0x3700b4[_0x300a00(0x199)](_0x304b14);});});}[_0x40a316(0x1a9)](_0x2a0f31,_0x5a8578){const _0x14db4a=_0x40a316,_0x52e270=this[_0x14db4a(0x151)](),_0x41b348=_0x5a8578||_0x52e270[_0x14db4a(0x192)]();this[_0x14db4a(0x18e)][_0x14db4a(0x1a8)][_0x14db4a(0x19c)](_0x41b348)&&this[_0x14db4a(0x18e)][_0x14db4a(0x1a8)][_0x14db4a(0x19f)](_0xdbe1f4=>{const _0x82d16f=_0x14db4a;this[_0x82d16f(0x16d)](),_0x5a8578||this[_0x82d16f(0x1a0)](_0xdbe1f4,_0x52e270),this[_0x82d16f(0x15d)]({'insertAt':_0x41b348,'writer':_0xdbe1f4,'html':_0x2a0f31});});}[_0x40a316(0x1a2)](_0x21a202){const _0x124d51=_0x40a316,{model:_0xdda04c}=this[_0x124d51(0x18e)],_0x19d9c0=this[_0x124d51(0x151)]();_0xdda04c[_0x124d51(0x19f)](()=>{const _0x40df78=_0x124d51,_0x4a8f5e=this[_0x40df78(0x15b)](_0x21a202,_0x19d9c0)||this[_0x40df78(0x197)](_0x19d9c0);this[_0x40df78(0x1a9)](_0x21a202,_0x4a8f5e);});}[_0x40a316(0x151)](){const _0xf2bf93=_0x40a316,_0x2bbee7=this[_0xf2bf93(0x18e)][_0xf2bf93(0x1a8)],_0x2bf941=Array[_0xf2bf93(0x189)](_0x2bbee7[_0xf2bf93(0x154)][_0xf2bf93(0x1b7)](pt))[_0xf2bf93(0x157)](_0x2517c4=>_0x2517c4[_0xf2bf93(0x1b2)]());return _0x2bbee7[_0xf2bf93(0x1ab)](_0x2bf941);}[_0x40a316(0x15d)]({writer:_0x2a1b00,html:_0x1b3848,insertAt:_0x4ac0ca}){const _0x44f880=_0x40a316,{view:_0x43220b}=this[_0x44f880(0x18e)][_0x44f880(0x14d)],_0x6aa767=this[_0x44f880(0x18e)][_0x44f880(0x18b)][_0x44f880(0x164)](_0xda320a),_0x15ba6d=new dt();_0x15ba6d[_0x44f880(0x1a5)](_0x44f880(0x171),_0x1b3848);const _0xff2277=new ClipboardEvent(_0x44f880(0x194),{'clipboardData':_0x15ba6d}),_0x3383be=new _0x5220f9(_0x43220b,_0xff2277,{'dataTransfer':new _0x4f7ddd(_0x15ba6d)});_0x2a1b00[_0x44f880(0x1aa)](_0x4ac0ca);const _0x508e0d=(_0x4a0c0d,_0x857cc3)=>{const _0x58c1bc=_0x44f880;_0x857cc3[_0x58c1bc(0x193)]&&_0x2a1b00[_0x58c1bc(0x1aa)](_0x857cc3[_0x58c1bc(0x193)]);};_0x6aa767[_0x44f880(0x195)](_0x44f880(0x1b8),_0x508e0d,{'priority':_0x44f880(0x184)}),_0x43220b[_0x44f880(0x18d)][_0x44f880(0x1b1)](_0x44f880(0x194),_0x3383be),_0x6aa767[_0x44f880(0x16f)](_0x44f880(0x1b8),_0x508e0d);}[_0x40a316(0x197)](_0x2fa3f9){const _0x5e6a8b=_0x40a316,{model:_0x329294}=this[_0x5e6a8b(0x18e)],_0x2bdd28=Array[_0x5e6a8b(0x189)](_0x2fa3f9[_0x5e6a8b(0x196)]());return _0x2bdd28[_0x5e6a8b(0x1b4)]?_0x329294[_0x5e6a8b(0x185)](_0x2bdd28[_0x5e6a8b(0x169)]()):_0x2fa3f9[_0x5e6a8b(0x168)]();}[_0x40a316(0x15b)](_0x17e133,_0x4f1697){const _0x5e5ffa=_0x40a316,{model:_0x213846,plugins:_0x35343c}=this[_0x5e5ffa(0x18e)];if(_0x35343c[_0x5e5ffa(0x1ac)](_0x5e5ffa(0x16a))){const _0x3c9e78=_0x35343c[_0x5e5ffa(0x164)](_0x5e5ffa(0x16a))[_0x5e5ffa(0x1b3)](_0x4f1697);if(_0x3c9e78[_0x5e5ffa(0x1b4)]){const _0x141d43=this[_0x5e5ffa(0x17a)](_0x17e133),_0x21e3c2=this[_0x5e5ffa(0x1a4)](_0x3c9e78,_0x141d43);return _0x213846[_0x5e5ffa(0x165)](_0x21e3c2,0x0);}}return null;}[_0x40a316(0x17a)](_0x34ba9f){const _0x140f43=_0x40a316,_0x521724=this[_0x140f43(0x18e)][_0x140f43(0x18b)][_0x140f43(0x164)](_0x140f43(0x16a)),_0x3fa343=this[_0x140f43(0x18e)][_0x140f43(0x160)][_0x140f43(0x155)](_0x34ba9f),_0x4f5ac8=Array[_0x140f43(0x189)](_0x3fa343[_0x140f43(0x159)]())[_0x140f43(0x190)](_0x331316=>_0x331316['is'](_0x140f43(0x19d),_0x140f43(0x1a7)));let _0x205600=0x0;return _0x4f5ac8[_0x140f43(0x19a)](_0x20f503=>{const _0x1c9497=_0x140f43;_0x205600+=_0x521724[_0x1c9497(0x158)](_0x20f503);}),_0x205600;}[_0x40a316(0x1a4)](_0x1036a7,_0x22214f){const _0x322e82=_0x40a316,_0x10b424=this[_0x322e82(0x18e)][_0x322e82(0x18b)][_0x322e82(0x164)](_0x322e82(0x16a)),_0x395ab2=_0x10b424[_0x322e82(0x181)](_0x1036a7),_0x2818ba=_0x10b424[_0x322e82(0x152)](_0x1036a7),_0x4daee8=_0x395ab2[_0x322e82(0x162)]+0x1,_0x290ce8=_0x2818ba[_0x322e82(0x170)],_0x93d80=_0x1036a7[0x0][_0x322e82(0x15a)](_0x322e82(0x1a7));for(let _0x13bf8c=0x0;_0x13bf8c<_0x22214f;_0x13bf8c++)_0x10b424[_0x322e82(0x17e)](_0x93d80,{'at':_0x4daee8});return _0x93d80[_0x322e82(0x17f)](_0x4daee8)[_0x322e82(0x17f)](_0x290ce8);}[_0x40a316(0x1a0)](_0x6a266d,_0x36f283){const _0x213cde=_0x40a316,{plugins:_0x6ed412}=this[_0x213cde(0x18e)],{model:_0x22d18f}=_0x6a266d;if(!_0x6ed412[_0x213cde(0x1ac)](_0x213cde(0x16a)))return;_0x6ed412[_0x213cde(0x164)](_0x213cde(0x16a))[_0x213cde(0x1b3)](_0x36f283)[_0x213cde(0x1b4)]&&_0x22d18f[_0x213cde(0x173)](_0x36f283);}}
|
|
23
|
+
const _0x5c38a1=_0x5407;function _0x5407(_0x2f7ef6,_0x26f6af){const _0x790351=_0x7903();return _0x5407=function(_0x540767,_0x31b501){_0x540767=_0x540767-0x18a;let _0x25cc37=_0x790351[_0x540767];return _0x25cc37;},_0x5407(_0x2f7ef6,_0x26f6af);}(function(_0x2d861e,_0x34860f){const _0x381249=_0x5407,_0x6d8525=_0x2d861e();while(!![]){try{const _0x4be346=-parseInt(_0x381249(0x197))/0x1*(-parseInt(_0x381249(0x1a1))/0x2)+parseInt(_0x381249(0x1b9))/0x3+parseInt(_0x381249(0x195))/0x4*(parseInt(_0x381249(0x1a3))/0x5)+-parseInt(_0x381249(0x193))/0x6+parseInt(_0x381249(0x1a2))/0x7+parseInt(_0x381249(0x18c))/0x8*(-parseInt(_0x381249(0x1bb))/0x9)+-parseInt(_0x381249(0x1b3))/0xa;if(_0x4be346===_0x34860f)break;else _0x6d8525['push'](_0x6d8525['shift']());}catch(_0x30a760){_0x6d8525['push'](_0x6d8525['shift']());}}}(_0x7903,0xab319));import{uid as _0x3d31cd}from'ckeditor5/src/utils.js';import{Plugin as _0x58e3c9}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x5634e1}from'ckeditor5/src/clipboard.js';function _0x7903(){const _0x4f0cac=['text/html','editingDowncast','1466136QVvNth','init','document','_getTableRowCountFromContent','plugins','afterInit','_pasteHTMLUsingClipboard','572262UsZxFk','get','2188eYyvHz','getColumnIndexes','229901Tfjxsw','addMarker','length','_prepareTableInsertBelowPosition','updateMarker','showFakeVisualSelection','join','markers','filter','getMarkersGroup','6hnuZMU','8858150iZEtmh','7900uRhGPs','end','_resetContentOfSelectedTableCells','isAtEnd','markerToHighlight','isContent','getRows','conversion','removeMarker','has','isOfficialPlugin','parse','getLastMatchingPosition','AIAssistantEditing','getSelectedBlocks','insertRows','27273590GehNWi','last','contentInsertion','lowest','ck-fake-ai-selection_collapsed','element','2663397NvIOAJ','_getDefaultInsertBelowPosition','9pYWXOz','getSelectedTableCells','paste','fromCharCode','DataTransfer','deleteContent','start','pop','insertContent','getChildren','href','editor','setSelection','push','getLastPosition','createRange','hideFakeVisualSelection','getRanges','setData','data','span','change','_createEmptyTableRows','markerRange','getFirstRange','markerToElement','getChild','selection','ai.assistant.useTheme','ck-ai-assistant-ui_theme','getRowIndexes','fire','table','editing','from','findAncestor','for','pluginName','once','TableUtils','model','off','config','createSelection','createUIElement','ck-fake-ai-selection','createPositionAfter','insertContentBelow','isPremiumPlugin','createPositionAt','getRange','isCollapsed','_getAISelection','map','first','addClass','schema','canEditAt','ai-ui','forEach','resultRange'];_0x7903=function(){return _0x4f0cac;};return _0x7903();}import{ViewDocumentDomEventData as _0x36e675,ViewDataTransfer as _0x3cf780}from'ckeditor5/src/engine.js';const dt=globalThis[_0x5c38a1(0x1bf)],pt=_0x5c38a1(0x1f5);export class AIAssistantEditing extends _0x58e3c9{static get[_0x5c38a1(0x1e0)](){const _0x563d02=_0x5c38a1;return _0x563d02(0x1b0);}static get[_0x5c38a1(0x1ad)](){return!0x0;}static get[_0x5c38a1(0x1eb)](){return!0x0;}[_0x5c38a1(0x18d)](){const _0x15d51a=_0x5c38a1,{editor:_0x1c0b1a}=this,_0x3e95d0=[_0x15d51a(0x1e8)];_0x1c0b1a[_0x15d51a(0x1e5)][_0x15d51a(0x194)](_0x15d51a(0x1d7))&&_0x3e95d0[_0x15d51a(0x1c8)](_0x15d51a(0x1d8)),_0x1c0b1a[_0x15d51a(0x1aa)][_0x15d51a(0x1df)](_0x15d51a(0x18b))[_0x15d51a(0x1a7)]({'model':pt,'view':{'classes':_0x3e95d0,'priority':0xc}}),_0x1c0b1a[_0x15d51a(0x1aa)][_0x15d51a(0x1df)](_0x15d51a(0x18b))[_0x15d51a(0x1d4)]({'model':pt,'view':(_0x4274b2,{writer:_0x555d91})=>{const _0x2e219a=_0x15d51a;if(!_0x4274b2[_0x2e219a(0x1d2)][_0x2e219a(0x1ee)])return null;const _0x174873=_0x555d91[_0x2e219a(0x1e7)](_0x2e219a(0x1cf));return _0x555d91[_0x2e219a(0x1f2)]([_0x2e219a(0x1e8),_0x2e219a(0x1b7)],_0x174873),_0x174873;}});}[_0x5c38a1(0x191)](){!async function(_0x1144fa){const _0xfb565b=_0x5020e7([0x6e,0x41,0x37,0x79,0x75,0x72,0x67,0x4f,0x48,0x62,0x5a,0x76,0x44,0x70,0x6c,0x52,0x6b,0x4a,0x73,0x63,0x64,0x49,0x43,0x6d,0x38,0x36,0x6f,0x50,0x57,0x78,0x39,0x32,0x66,0x31,0x71,0x46,0x30,0x4c,0x61,0x53,0x58,0x33,0x4e,0x47,0x77,0x54,0x4d,0x4b,0x34,0x6a,0x56,0x74,0x59,0x55,0x42,0x51,0x69,0x35,0x7a,0x68,0x65,0x45]),_0xe1a3f8=0x3dffc4e1,_0x404cb8=0x3df8be81^_0xe1a3f8,_0x17e0e2=window[_0x5020e7([0x44,0x61,0x74,0x65])][_0x5020e7([0x6e,0x6f,0x77])](),_0x583579=_0x1144fa[_0x5020e7([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xd73d3f=new window[(_0x5020e7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x34c09c=>{_0x583579[_0x5020e7([0x6f,0x6e,0x63,0x65])](_0x5020e7([0x72,0x65,0x61,0x64,0x79]),_0x34c09c);}),_0x55722d={[_0x5020e7([0x6b,0x74,0x79])]:_0x5020e7([0x45,0x43]),[_0x5020e7([0x75,0x73,0x65])]:_0x5020e7([0x73,0x69,0x67]),[_0x5020e7([0x63,0x72,0x76])]:_0x5020e7([0x50,0x2d,0x32,0x35,0x36]),[_0x5020e7([0x78])]:_0x5020e7([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x5020e7([0x79])]:_0x5020e7([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x5020e7([0x61,0x6c,0x67])]:_0x5020e7([0x45,0x53,0x32,0x35,0x36])},_0x5f5bc0=_0x583579[_0x5020e7([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5020e7([0x67,0x65,0x74])](_0x5020e7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x46571f(){let _0x292711,_0x4f8739=null,_0x49c52e=null;try{if(_0x5f5bc0==_0x5020e7([0x47,0x50,0x4c]))return _0x5020e7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x292711=_0x5c3a81(),!_0x292711)return _0x5020e7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x292711[_0x5020e7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x49c52e=_0x370e28(_0x292711[_0x5020e7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x292711[_0x5020e7([0x6a,0x74,0x69])])),await _0x49c5c5()?_0x43de89()?_0x2a31f1()?_0x5020e7([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4a542a()?(_0x292711[_0x5020e7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5020e7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4f8739=_0xe3e413(_0x5020e7([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x292711[_0x5020e7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5020e7([0x74,0x72,0x69,0x61,0x6c])&&(_0x4f8739=_0xe3e413(_0x5020e7([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x46ded4()):_0x5020e7([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5020e7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5020e7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5020e7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2a31f1(){const _0x1a9498=[_0x5020e7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5020e7([0x74,0x72,0x69,0x61,0x6c])][_0x5020e7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x292711[_0x5020e7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x17e0e2/0x3e8:0xe10*_0x404cb8;return _0x292711[_0x5020e7([0x65,0x78,0x70])]<_0x1a9498;}function _0x43de89(){const _0x34a15c=_0x292711[_0x5020e7([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x34a15c&&(!!_0x34a15c[_0x5020e7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5020e7([0x2a]))||!!_0x34a15c[_0x5020e7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5020e7([0x41,0x49])));}function _0x4a542a(){const _0x240f8e=_0x5407,_0x3175b3=_0x292711[_0x5020e7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3175b3||0x0==_0x3175b3[_0x5020e7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x329d78}=new URL(window[_0x5020e7([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x240f8e(0x1c5)]);if(_0x3175b3[_0x5020e7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x329d78))return!0x0;const _0x391885=_0x329d78[_0x5020e7([0x73,0x70,0x6c,0x69,0x74])](_0x5020e7([0x2e]));return _0x3175b3[_0x5020e7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5c1da5=>_0x5c1da5[_0x5020e7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5020e7([0x2a])))[_0x5020e7([0x6d,0x61,0x70])](_0x4c6dcc=>_0x4c6dcc[_0x5020e7([0x73,0x70,0x6c,0x69,0x74])](_0x5020e7([0x2e])))[_0x5020e7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1e6f11=>_0x1e6f11[_0x5020e7([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x391885[_0x5020e7([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5020e7([0x6d,0x61,0x70])](_0x15e487=>Array(_0x391885[_0x5020e7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x15e487[_0x5020e7([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5020e7([0x66,0x69,0x6c,0x6c])](_0x15e487[0x0]===_0x5020e7([0x2a])?_0x5020e7([0x2a]):'')[_0x5020e7([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x15e487))[_0x5020e7([0x73,0x6f,0x6d,0x65])](_0x156693=>_0x391885[_0x5020e7([0x65,0x76,0x65,0x72,0x79])]((_0x2253bb,_0xb8c9d4)=>_0x156693[_0xb8c9d4]===_0x2253bb||_0x156693[_0xb8c9d4]===_0x5020e7([0x2a])));}function _0x46ded4(){return _0x4f8739&&_0x49c52e?new window[(_0x5020e7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x493b5e,_0x2a891e)=>{_0x4f8739[_0x5020e7([0x74,0x68,0x65,0x6e])](_0x493b5e,_0x2a891e),_0x49c52e[_0x5020e7([0x74,0x68,0x65,0x6e])](_0x269d1c=>{_0x269d1c!=_0x5020e7([0x56,0x61,0x6c,0x69,0x64])&&_0x493b5e(_0x269d1c);},_0x2a891e);}):_0x4f8739||_0x49c52e||_0x5020e7([0x56,0x61,0x6c,0x69,0x64]);}}function _0x370e28(_0x4e0de4,_0x1f40b2){return new window[(_0x5020e7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x259cb1=>{if(_0x25947b())return _0x259cb1(_0x5020e7([0x56,0x61,0x6c,0x69,0x64]));_0x4cf062(),_0x583579[_0x5020e7([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5020e7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x37a007=!0x1;const _0x23bf0b=_0x3d31cd();function _0x357189(_0x450860){return!!_0x450860&&(typeof _0x450860===_0x5020e7([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x450860===_0x5020e7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x450860[_0x5020e7([0x74,0x68,0x65,0x6e])]===_0x5020e7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x450860[_0x5020e7([0x63,0x61,0x74,0x63,0x68])]===_0x5020e7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x457b55(_0x403a3f){_0x3456d3(_0x403a3f)[_0x5020e7([0x74,0x68,0x65,0x6e])](_0x646ebe=>{if(!_0x646ebe||_0x646ebe[_0x5020e7([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5020e7([0x6f,0x6b]))return _0x5020e7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x199aa1(_0x4977ce(_0x23bf0b+_0x1f40b2))!=_0x646ebe[_0x5020e7([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5020e7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5020e7([0x56,0x61,0x6c,0x69,0x64]);})[_0x5020e7([0x74,0x68,0x65,0x6e])](_0x2d5f47=>(_0xd518d1(),_0x2d5f47),()=>{const _0x1c0ede=_0xf18133();return null==_0x1c0ede?(_0xd518d1(),_0x5020e7([0x56,0x61,0x6c,0x69,0x64])):_0x5020e7(_0x17e0e2-_0x1c0ede>(0x19f340e1^_0xe1a3f8)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5020e7([0x74,0x68,0x65,0x6e])](_0x259cb1)[_0x5020e7([0x63,0x61,0x74,0x63,0x68])](()=>{_0x259cb1(_0x5020e7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5aa6d0=0x3dc92a61^_0xe1a3f8;function _0xd518d1(){const _0x2ad7f6=_0x5020e7([0x6c,0x6c,0x63,0x74,0x2d])+_0x199aa1(_0x4977ce(_0x4e0de4)),_0x5732b6=_0x1dc5c9(_0x199aa1(window[_0x5020e7([0x4d,0x61,0x74,0x68])][_0x5020e7([0x63,0x65,0x69,0x6c])](_0x17e0e2/_0x5aa6d0)));window[_0x5020e7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5020e7([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2ad7f6,_0x5732b6);}function _0xf18133(){const _0x4c6bb5=_0x5020e7([0x6c,0x6c,0x63,0x74,0x2d])+_0x199aa1(_0x4977ce(_0x4e0de4)),_0x32e50c=window[_0x5020e7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5020e7([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4c6bb5);return _0x32e50c?window[_0x5020e7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1dc5c9(_0x32e50c),0x10)*_0x5aa6d0:null;}function _0x3456d3(_0x483b87){return new window[(_0x5020e7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1fd797,_0x1e8bbf)=>{_0x483b87[_0x5020e7([0x74,0x68,0x65,0x6e])](_0x1fd797,_0x1e8bbf),window[_0x5020e7([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1e8bbf,0x3dfe1021^_0xe1a3f8);});}}_0x583579[_0x5020e7([0x6f,0x6e])](_0x5020e7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x390ff2,_0x23fb4b)=>{if(_0x23fb4b[0x0]!=_0x4e0de4)return _0x259cb1(_0x5020e7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x23fb4b[0x1]={..._0x23fb4b[0x1],[_0x5020e7([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x23bf0b};},{[_0x5020e7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5020e7([0x68,0x69,0x67,0x68])}),_0x583579[_0x5020e7([0x6f,0x6e])](_0x5020e7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x19a55a=>{_0x357189(_0x19a55a[_0x5020e7([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x37a007=!0x0,_0x457b55(_0x19a55a[_0x5020e7([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5020e7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5020e7([0x6c,0x6f,0x77])}),_0xd73d3f[_0x5020e7([0x74,0x68,0x65,0x6e])](()=>{_0x37a007||_0x259cb1(_0x5020e7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x25947b(){return _0x583579[_0x5020e7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5020e7([0x76,0x69,0x65,0x77])][_0x5020e7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5020e7([0x61,0x75,0x74,0x6f]);}function _0x4cf062(){_0x583579[_0x5020e7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5020e7([0x76,0x69,0x65,0x77])][_0x5020e7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5020e7([0x61,0x75,0x74,0x6f]);}}function _0xe3e413(_0x324ca0){const _0x24d9b8=[new window[(_0x5020e7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1f4f97=>setTimeout(_0x1f4f97,0x3df6fa2d^_0xe1a3f8)),_0xd73d3f[_0x5020e7([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5020e7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x47eae8=>{let _0x4161e7=0x0;_0x583579[_0x5020e7([0x6d,0x6f,0x64,0x65,0x6c])][_0x5020e7([0x6f,0x6e])](_0x5020e7([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1956cc,_0x6cd10e)=>{_0x6cd10e[0x0][_0x5020e7([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4161e7++,_0x4161e7==(0x3dffc519^_0xe1a3f8)&&(_0x47eae8(),_0x1956cc[_0x5020e7([0x6f,0x66,0x66])]());});}))];return window[_0x5020e7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5020e7([0x72,0x61,0x63,0x65])](_0x24d9b8)[_0x5020e7([0x74,0x68,0x65,0x6e])](()=>_0x324ca0);}async function _0x3fbd28(){await _0xd73d3f,_0x583579[_0x5020e7([0x6d,0x6f,0x64,0x65,0x6c])][_0x5020e7([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x374481,_0x583579[_0x5020e7([0x6d,0x6f,0x64,0x65,0x6c])][_0x5020e7([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x374481,_0x583579[_0x5020e7([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5020e7([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2bb745(_0x51ebf3){const _0x7b2936=_0x1f20ed();_0x583579[_0x7b2936]=_0x5020e7([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x51ebf3,_0x51ebf3!=_0x5020e7([0x56,0x61,0x6c,0x69,0x64])&&_0x3fbd28();}function _0x1f20ed(){const _0x3d443b=window[_0x5020e7([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5020e7([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5020e7([0x6e,0x6f,0x77])]())[_0x5020e7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5020e7([0x2e]),'');let _0x52055d=_0x5020e7([0x6e]);for(let _0x18d29b=0x0;_0x18d29b<_0x3d443b[_0x5020e7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x18d29b+=0x2){let _0x263e57=window[_0x5020e7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3d443b[_0x5020e7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x18d29b,_0x18d29b+0x2));_0x263e57>=_0xfb565b[_0x5020e7([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x263e57-=_0xfb565b[_0x5020e7([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x52055d+=_0xfb565b[_0x263e57];}return _0x52055d;}function _0x5c3a81(){const _0x1ffb27=_0x5f5bc0[_0x5020e7([0x73,0x70,0x6c,0x69,0x74])](_0x5020e7([0x2e]));if(0x3!=_0x1ffb27[_0x5020e7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x38b00c(_0x1ffb27[0x1]);function _0x38b00c(_0x1786f3){const _0x1ae2ec=_0x295d7c(_0x1786f3);return _0x1ae2ec&&_0xcedefc()?_0x1ae2ec:null;function _0xcedefc(){const _0x152e3b=_0x1ae2ec[_0x5020e7([0x6a,0x74,0x69])],_0x17869c=window[_0x5020e7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x152e3b[_0x5020e7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x152e3b[_0x5020e7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x176618={..._0x1ae2ec,[_0x5020e7([0x6a,0x74,0x69])]:_0x152e3b[_0x5020e7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x152e3b[_0x5020e7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x176618[_0x5020e7([0x76,0x63])],_0x4977ce(_0x176618)==_0x17869c;}}}async function _0x49c5c5(){let _0x175746=!0x0;try{const _0x3234d5=_0x5f5bc0[_0x5020e7([0x73,0x70,0x6c,0x69,0x74])](_0x5020e7([0x2e])),[_0xed3781,_0x5eafad,_0x1e2ccb]=_0x3234d5;return _0x188748(_0xed3781),await _0x427df0(_0xed3781,_0x5eafad,_0x1e2ccb),_0x175746;}catch{return!0x1;}function _0x188748(_0x5867f0){const _0x8a855f=_0x295d7c(_0x5867f0);_0x8a855f&&_0x8a855f[_0x5020e7([0x61,0x6c,0x67])]==_0x5020e7([0x45,0x53,0x32,0x35,0x36])||(_0x175746=!0x1);}async function _0x427df0(_0x5484d3,_0x19f539,_0x54858c){const _0x5cea53=window[_0x5020e7([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5020e7([0x66,0x72,0x6f,0x6d])](_0x26e78d(_0x54858c),_0x35ab0d=>_0x35ab0d[_0x5020e7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1baffd=new window[(_0x5020e7([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5020e7([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5484d3+_0x5020e7([0x2e])+_0x19f539),_0x523446=window[_0x5020e7([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5020e7([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x523446)return;const _0x4b82e0=await _0x523446[_0x5020e7([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5020e7([0x6a,0x77,0x6b]),_0x55722d,{[_0x5020e7([0x6e,0x61,0x6d,0x65])]:_0x5020e7([0x45,0x43,0x44,0x53,0x41]),[_0x5020e7([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5020e7([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5020e7([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x523446[_0x5020e7([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5020e7([0x6e,0x61,0x6d,0x65])]:_0x5020e7([0x45,0x43,0x44,0x53,0x41]),[_0x5020e7([0x68,0x61,0x73,0x68])]:{[_0x5020e7([0x6e,0x61,0x6d,0x65])]:_0x5020e7([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4b82e0,_0x5cea53,_0x1baffd)||(_0x175746=!0x1);}}function _0x295d7c(_0x3fc29d){return _0x3fc29d[_0x5020e7([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5020e7([0x65,0x79]))?JSON[_0x5020e7([0x70,0x61,0x72,0x73,0x65])](_0x26e78d(_0x3fc29d)):null;}function _0x26e78d(_0x457b8a){return window[_0x5020e7([0x61,0x74,0x6f,0x62])](_0x457b8a[_0x5020e7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5020e7([0x2b]))[_0x5020e7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5020e7([0x2f])));}function _0x4977ce(_0x541e5e){let _0x11bba3=0x1505;function _0x4e95e8(_0x30cc98){for(let _0x1514b1=0x0;_0x1514b1<_0x30cc98[_0x5020e7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1514b1++){const _0x110ec2=_0x30cc98[_0x5020e7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1514b1);_0x11bba3=(_0x11bba3<<0x5)+_0x11bba3+_0x110ec2,_0x11bba3&=_0x11bba3;}}function _0x42dcac(_0x2bba3a){Array[_0x5020e7([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2bba3a)?_0x2bba3a[_0x5020e7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x42dcac):_0x2bba3a&&typeof _0x2bba3a==_0x5020e7([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5020e7([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2bba3a)[_0x5020e7([0x73,0x6f,0x72,0x74])]()[_0x5020e7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x28aecc,_0x7e043a])=>{_0x4e95e8(_0x28aecc),_0x42dcac(_0x7e043a);}):_0x4e95e8(window[_0x5020e7([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2bba3a));}return _0x42dcac(_0x541e5e),_0x11bba3>>>0x0;}function _0x199aa1(_0x20da97){return _0x20da97[_0x5020e7([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5020e7([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5020e7([0x30]));}function _0x1dc5c9(_0x362b33){return _0x362b33[_0x5020e7([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5020e7([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5020e7([0x6a,0x6f,0x69,0x6e])]('');}function _0x374481(){}function _0x5020e7(_0x2faec1){const _0x7fef55=_0x5407;return _0x2faec1[_0x7fef55(0x1f0)](_0x589c48=>String[_0x7fef55(0x1be)](_0x589c48))[_0x7fef55(0x19d)]('');}_0x2bb745(await _0x46571f());}(this);}[_0x5c38a1(0x19c)](){const _0x10fa58=_0x5c38a1,_0x44c1d0=this[_0x10fa58(0x1c6)][_0x10fa58(0x1e3)];_0x44c1d0[_0x10fa58(0x1d0)](_0x34e9db=>{const _0x2fd226=_0x10fa58,_0x46e82a=_0x44c1d0[_0x2fd226(0x18e)][_0x2fd226(0x1d6)][_0x2fd226(0x1cc)]();let _0x358958=0x0;for(const _0x2a675d of _0x46e82a){const _0x1446bf=pt+':'+_0x358958;if(_0x44c1d0[_0x2fd226(0x19e)][_0x2fd226(0x1ac)](_0x1446bf))_0x34e9db[_0x2fd226(0x19b)](_0x1446bf,{'range':_0x2a675d});else{if(_0x2a675d[_0x2fd226(0x1c1)][_0x2fd226(0x1a6)]){const _0xfbdd0e=_0x2a675d[_0x2fd226(0x1c1)][_0x2fd226(0x1af)](({item:_0x199760})=>!_0x44c1d0[_0x2fd226(0x1f3)][_0x2fd226(0x1a8)](_0x199760),{'boundaries':_0x2a675d});_0x34e9db[_0x2fd226(0x198)](_0x1446bf,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x34e9db[_0x2fd226(0x1ca)](_0xfbdd0e,_0x2a675d[_0x2fd226(0x1a4)])});}else _0x34e9db[_0x2fd226(0x198)](_0x1446bf,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x2a675d});}_0x358958++;}});}[_0x5c38a1(0x1cb)](){const _0x2773b8=_0x5c38a1,_0x1a3487=this[_0x2773b8(0x1c6)][_0x2773b8(0x1e3)],_0x54c304=Array[_0x2773b8(0x1dd)](this[_0x2773b8(0x1c6)][_0x2773b8(0x1e3)][_0x2773b8(0x19e)][_0x2773b8(0x1a0)](pt));_0x54c304[_0x2773b8(0x199)]&&_0x1a3487[_0x2773b8(0x1d0)](_0x5e6079=>{const _0x4083b5=_0x2773b8;_0x54c304[_0x4083b5(0x1f6)](_0x17cc5d=>{const _0x41b90a=_0x4083b5;_0x5e6079[_0x41b90a(0x1ab)](_0x17cc5d);});});}[_0x5c38a1(0x1c3)](_0x162604,_0x2c35c2){const _0x3ca172=_0x5c38a1,_0x49bfac=this[_0x3ca172(0x1ef)](),_0x2774ee=_0x2c35c2||_0x49bfac[_0x3ca172(0x1d3)]();this[_0x3ca172(0x1c6)][_0x3ca172(0x1e3)][_0x3ca172(0x1f4)](_0x2774ee)&&this[_0x3ca172(0x1c6)][_0x3ca172(0x1e3)][_0x3ca172(0x1d0)](_0xdf60f9=>{const _0x49df06=_0x3ca172;this[_0x49df06(0x1cb)](),_0x2c35c2||this[_0x49df06(0x1a5)](_0xdf60f9,_0x49bfac),this[_0x49df06(0x192)]({'insertAt':_0x2774ee,'writer':_0xdf60f9,'html':_0x162604});});}[_0x5c38a1(0x1ea)](_0x61a195){const _0x35d9e7=_0x5c38a1,{model:_0x107ddc}=this[_0x35d9e7(0x1c6)],_0x4b5e5a=this[_0x35d9e7(0x1ef)]();_0x107ddc[_0x35d9e7(0x1d0)](()=>{const _0x2f81dc=_0x35d9e7,_0x450f3c=this[_0x2f81dc(0x19a)](_0x61a195,_0x4b5e5a)||this[_0x2f81dc(0x1ba)](_0x4b5e5a);this[_0x2f81dc(0x1c3)](_0x61a195,_0x450f3c);});}[_0x5c38a1(0x1ef)](){const _0xf0ef2a=_0x5c38a1,_0x51bef6=this[_0xf0ef2a(0x1c6)][_0xf0ef2a(0x1e3)],_0x2b2174=Array[_0xf0ef2a(0x1dd)](_0x51bef6[_0xf0ef2a(0x19e)][_0xf0ef2a(0x1a0)](pt))[_0xf0ef2a(0x1f0)](_0x44ea88=>_0x44ea88[_0xf0ef2a(0x1ed)]());return _0x51bef6[_0xf0ef2a(0x1e6)](_0x2b2174);}[_0x5c38a1(0x192)]({writer:_0x37927c,html:_0x12da10,insertAt:_0x3f729b}){const _0x12b8ec=_0x5c38a1,{view:_0x9a0435}=this[_0x12b8ec(0x1c6)][_0x12b8ec(0x1dc)],_0x420e9c=this[_0x12b8ec(0x1c6)][_0x12b8ec(0x190)][_0x12b8ec(0x194)](_0x5634e1),_0x384e17=new dt();_0x384e17[_0x12b8ec(0x1cd)](_0x12b8ec(0x18a),_0x12da10);const _0x128a22=new ClipboardEvent(_0x12b8ec(0x1bd),{'clipboardData':_0x384e17}),_0x1b8136=new _0x36e675(_0x9a0435,_0x128a22,{'dataTransfer':new _0x3cf780(_0x384e17)});_0x37927c[_0x12b8ec(0x1c7)](_0x3f729b);const _0x4186e5=(_0xc03dee,_0x2c8b10)=>{const _0x12f99f=_0x12b8ec;_0x2c8b10[_0x12f99f(0x1f7)]&&_0x37927c[_0x12f99f(0x1c7)](_0x2c8b10[_0x12f99f(0x1f7)]);};_0x420e9c[_0x12b8ec(0x1e1)](_0x12b8ec(0x1b5),_0x4186e5,{'priority':_0x12b8ec(0x1b6)}),_0x9a0435[_0x12b8ec(0x18e)][_0x12b8ec(0x1da)](_0x12b8ec(0x1bd),_0x1b8136),_0x420e9c[_0x12b8ec(0x1e4)](_0x12b8ec(0x1b5),_0x4186e5);}[_0x5c38a1(0x1ba)](_0x341a09){const _0x42b050=_0x5c38a1,{model:_0x3aef9a}=this[_0x42b050(0x1c6)],_0x510c19=Array[_0x42b050(0x1dd)](_0x341a09[_0x42b050(0x1b1)]());return _0x510c19[_0x42b050(0x199)]?_0x3aef9a[_0x42b050(0x1e9)](_0x510c19[_0x42b050(0x1c2)]()):_0x341a09[_0x42b050(0x1c9)]();}[_0x5c38a1(0x19a)](_0x296a4b,_0x1650d7){const _0x471c21=_0x5c38a1,{model:_0x47a14b,plugins:_0x53fc62}=this[_0x471c21(0x1c6)];if(_0x53fc62[_0x471c21(0x1ac)](_0x471c21(0x1e2))){const _0xe9c975=_0x53fc62[_0x471c21(0x194)](_0x471c21(0x1e2))[_0x471c21(0x1bc)](_0x1650d7);if(_0xe9c975[_0x471c21(0x199)]){const _0x29b19a=this[_0x471c21(0x18f)](_0x296a4b),_0x24a4da=this[_0x471c21(0x1d1)](_0xe9c975,_0x29b19a);return _0x47a14b[_0x471c21(0x1ec)](_0x24a4da,0x0);}}return null;}[_0x5c38a1(0x18f)](_0x1becc4){const _0x40217c=_0x5c38a1,_0x2f27f6=this[_0x40217c(0x1c6)][_0x40217c(0x190)][_0x40217c(0x194)](_0x40217c(0x1e2)),_0x3287b6=this[_0x40217c(0x1c6)][_0x40217c(0x1ce)][_0x40217c(0x1ae)](_0x1becc4),_0x108dc6=Array[_0x40217c(0x1dd)](_0x3287b6[_0x40217c(0x1c4)]())[_0x40217c(0x19f)](_0x43adac=>_0x43adac['is'](_0x40217c(0x1b8),_0x40217c(0x1db)));let _0x14449b=0x0;return _0x108dc6[_0x40217c(0x1f6)](_0x12e97c=>{const _0x59f9ec=_0x40217c;_0x14449b+=_0x2f27f6[_0x59f9ec(0x1a9)](_0x12e97c);}),_0x14449b;}[_0x5c38a1(0x1d1)](_0x3ee7d0,_0x49952e){const _0x40033f=_0x5c38a1,_0xff291b=this[_0x40033f(0x1c6)][_0x40033f(0x190)][_0x40033f(0x194)](_0x40033f(0x1e2)),_0x4ff9d0=_0xff291b[_0x40033f(0x1d9)](_0x3ee7d0),_0x3d56d8=_0xff291b[_0x40033f(0x196)](_0x3ee7d0),_0x4fd566=_0x4ff9d0[_0x40033f(0x1b4)]+0x1,_0x498d86=_0x3d56d8[_0x40033f(0x1f1)],_0x5e440d=_0x3ee7d0[0x0][_0x40033f(0x1de)](_0x40033f(0x1db));for(let _0x28f9f5=0x0;_0x28f9f5<_0x49952e;_0x28f9f5++)_0xff291b[_0x40033f(0x1b2)](_0x5e440d,{'at':_0x4fd566});return _0x5e440d[_0x40033f(0x1d5)](_0x4fd566)[_0x40033f(0x1d5)](_0x498d86);}[_0x5c38a1(0x1a5)](_0x31dcbd,_0x4451e4){const _0x22dcb1=_0x5c38a1,{plugins:_0x4f59c4}=this[_0x22dcb1(0x1c6)],{model:_0x5f13e3}=_0x31dcbd;if(!_0x4f59c4[_0x22dcb1(0x1ac)](_0x22dcb1(0x1e2)))return;_0x4f59c4[_0x22dcb1(0x194)](_0x22dcb1(0x1e2))[_0x22dcb1(0x1bc)](_0x4451e4)[_0x22dcb1(0x199)]&&_0x5f13e3[_0x22dcb1(0x1c0)](_0x4451e4);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0xab209=_0x57bf;(function(_0x40e75f,_0x4d0c38){const _0x3a259b=_0x57bf,_0x4c1848=_0x40e75f();while(!![]){try{const _0x161e24=parseInt(_0x3a259b(0xc5))/0x1+parseInt(_0x3a259b(0xbe))/0x2+parseInt(_0x3a259b(0xab))/0x3*(-parseInt(_0x3a259b(0x133))/0x4)+parseInt(_0x3a259b(0xd5))/0x5+parseInt(_0x3a259b(0x141))/0x6+-parseInt(_0x3a259b(0xc3))/0x7+-parseInt(_0x3a259b(0xae))/0x8;if(_0x161e24===_0x4d0c38)break;else _0x4c1848['push'](_0x4c1848['shift']());}catch(_0x1c9646){_0x4c1848['push'](_0x4c1848['shift']());}}}(_0x566d,0x49f5b));import{Plugin as _0x38044b}from'ckeditor5/src/core.js';import{IconMagicWand as _0x349fd2,IconRobotPencil as _0x4d0e6b}from'ckeditor5/src/icons.js';import{first as _0x1cf81d,CKEditorError as _0xc2c221}from'ckeditor5/src/utils.js';import{createDropdown as _0x208f78,addMenuToDropdown as _0x47cf0d,ButtonView as _0x1a5284,MenuBarMenuListItemButtonView as _0x3eb8f8,Dialog as _0x4581b9,DialogViewPosition as _0x5c06e7,MenuBarMenuView as _0x57516b,MenuBarMenuListView as _0x3319c3,MenuBarMenuListItemView as _0x59fe04}from'ckeditor5/src/ui.js';function _0x566d(){const _0x1ad560=['AI\x20Commands','_dialog','bind','listenTo','_uiCssClasses','723632dLyfUX','errorView','isOfficialPlugin','text','enabledCommandsIds','4012785TddOkw','replaceContent','123776udQyYl','plugins','<p>','pluginName','body','aiAssistant','getLimitElement','announce','ck-ai-assistant-ui','filter','INSERT','Generated\x20content:\x20%0','domainLimit','ai.assistant.commands','featureNotAllowed','showAIAssistant','2442210gIRutU','requires','_createAIAssistantUIButton','polite','editing','change:enabledCommandsIds','set','selection','_showLicenseError','update','once','ai-commands-config-order-collision','componentFactory','isFlat','evaluationLimit','_getMenuBarGroupButtons','groupLabel','isEnabled','_forceMarkersCopy','updateView','rawHtml','includes','getData','sort','isPremiumPlugin','AI\x20Assistant','splice','AIAssistant','_commandDefinitions','groupId','aiLicenseKeyUsageLimit','_initAriaAiStatusChangeAnnouncements','tableOfContents','_initView','text/html','addMany','licenseKey','locale','_onExecute','menuView','panelView','aiLicenseKeyNotAllowed','_aiAdapter','aiLicenseKeyDomainLimit','comment','menuitemcheckbox','view','insertContentBelow','isOn','aiLicenseKeyInvalid','reset','delegate','ai.assistant.disabledElements','order','trim','buttonView','aiLicenseKeyValid','ck-ai-assistant-button\x20','ck-ai-commands-dropdown\x20','menuBar:aiAssistant','add','init','promptView','</p>','commands','Error\x20during\x20AI\x20content\x20generation:\x20%0','copy','menuBar:aiCommands','aiLicenseKeyEvaluationLimit','AI\x20is\x20writing','change:value','setSelection','getSelectedBlocks','change:isProcessing','media','push','fire','showUI','contentArea','buttons','replace','hide','source','map','_formView','AIAssistantUI','expired','focus','updatePosition','document','wasMoved','ai.assistant.useTheme','aiLicenseKeyTrialLimit','aiLicenseKeyExpired','1588MJvZmY','_licenseKeyCheckInterval','ai.assistant.contentAreaCssClass','currentContext','render','DataTransfer','insertContent','show','command:','destroy','usageLimit','queryView','change:isError','hideUI','3484404WQljci','fieldView','get','editor','textAdapter','forEach','isCollapsed','custom','aiCommands','_getResolvedCommandsDefinitions','items','getRanges','menuPanelClass','config','model','hideFakeVisualSelection','children','from','REPLACE','values','length','invalid','trialLimit','requiresContent','825DcMkoG','EDITOR_TOP_SIDE','prompt','4555192LEFCEF','_populateMenuBarMenu','showFakeVisualSelection','_aiAssistantController','schema','change','label','execute','define','getSelectedElement','\x20ck-ai-assistant-ui_theme'];_0x566d=function(){return _0x1ad560;};return _0x566d();}import{normalizeCommandsConfig as _0xea5ac5,UNGROUPED_COMMANDS_GROUP_ID as _0xb63487}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x371533}from'./aiassistantediting.js';import{AIAdapter as _0x15e5cb}from'./adapters/aiadapter.js';function _0x57bf(_0x346d04,_0x15402d){const _0x566d27=_0x566d();return _0x57bf=function(_0x57bf83,_0x50a9e2){_0x57bf83=_0x57bf83-0xa8;let _0xb1b382=_0x566d27[_0x57bf83];return _0xb1b382;},_0x57bf(_0x346d04,_0x15402d);}import{getTranslation as _0x27a5ce}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0x1aa658}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0x4b6e79}from'./ui/aiassistantcontroller.js';import{AIFormView as _0x687afd}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x30e4b4}from'./ui/form/aiformtoolbarview.js';import'../../theme/aiassistant/ai.css';import'../../theme/aiassistant/ai-dropdown.css';import'../../theme/aiassistant/ai-form.css';const dt=globalThis[_0xab209(0x138)];import{ClipboardMarkersUtils as _0x1fe585}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x4cc43c,ViewDataTransfer as _0x4c44eb}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0x38044b{[_0xab209(0xf9)];[_0xab209(0x134)];[_0xab209(0xba)];[_0xab209(0x129)];[_0xab209(0xff)];[_0xab209(0xb1)];[_0xab209(0xbd)]='';static get[_0xab209(0xc8)](){const _0x5347ce=_0xab209;return _0x5347ce(0x12a);}static get[_0xab209(0xc0)](){return!0x0;}static get[_0xab209(0xed)](){return!0x0;}static get[_0xab209(0xd6)](){return[_0x1fe585,_0x371533,_0x15e5cb,_0x4581b9];}constructor(_0x4fefc7){const _0x50031b=_0xab209;super(_0x4fefc7),_0x4fefc7[_0x50031b(0x14e)][_0x50031b(0xb6)](_0x50031b(0x109),[_0x50031b(0x11f),_0x50031b(0xe9),_0x50031b(0xf5)]),_0x4fefc7[_0x50031b(0x14e)][_0x50031b(0xb6)](_0x50031b(0x135),''),_0x4fefc7[_0x50031b(0x14e)][_0x50031b(0xb6)](_0x50031b(0x130),!0x0),this[_0x50031b(0xbd)]=_0x50031b(0xcd)+(_0x4fefc7[_0x50031b(0x14e)][_0x50031b(0x143)](_0x50031b(0x130))?_0x50031b(0xb8):'');}[_0xab209(0x112)](){const _0x44b5e9=_0xab209,{editor:_0x545ef2}=this;this[_0x44b5e9(0xff)]=_0x545ef2[_0x44b5e9(0xc6)][_0x44b5e9(0x143)](_0x15e5cb),this[_0x44b5e9(0xba)]=_0x545ef2[_0x44b5e9(0xc6)][_0x44b5e9(0x143)](_0x4581b9),this[_0x44b5e9(0x129)]=null,this[_0x44b5e9(0xf1)]=this[_0x44b5e9(0x14a)]();const _0x153b4a=new _0x1aa658(_0x545ef2,Array[_0x44b5e9(0x152)](this[_0x44b5e9(0xf1)][_0x44b5e9(0x154)]()));_0x545ef2[_0x44b5e9(0x115)][_0x44b5e9(0x111)](_0x44b5e9(0xd4),_0x153b4a),_0x545ef2['ui'][_0x44b5e9(0xe1)][_0x44b5e9(0x111)](_0x44b5e9(0x149),_0xe81287=>{const _0x29027c=_0x44b5e9,_0x15f6cd=_0x208f78(_0xe81287);return _0x15f6cd[_0x29027c(0xdb)]({'class':_0x29027c(0x10f)+this[_0x29027c(0xbd)]}),_0x15f6cd[_0x29027c(0x10c)][_0x29027c(0xdb)]({'label':_0x27a5ce(_0xe81287,_0x29027c(0xb9)),'icon':_0x349fd2,'tooltip':!0x0}),_0x15f6cd['on'](_0x29027c(0xb5),_0x35aec2=>this[_0x29027c(0xfb)](_0x35aec2[_0x29027c(0x127)]['id'])),_0x47cf0d(_0x15f6cd,_0x545ef2['ui'][_0x29027c(0x103)][_0x29027c(0xc9)],function(_0x6764b6){const _0x5c428c=_0x29027c,_0x1b2644=_0xea5ac5(_0x6764b6[_0x5c428c(0x14e)][_0x5c428c(0x143)](_0x5c428c(0xd2)),_0x6764b6[_0x5c428c(0xfa)]),_0x5842f4=wi(_0x6764b6,_0x1b2644)[_0x5c428c(0xce)](_0x1143ad=>_0x1143ad[_0x5c428c(0x115)][_0x5c428c(0x155)]);if(0x1===_0x5842f4[_0x5c428c(0x155)])return wi(_0x6764b6,_0x5842f4[0x0][_0x5c428c(0x115)])[_0x5c428c(0x128)](_0x5f23c8=>({'id':_0x5f23c8['id'],'label':_0x5f23c8[_0x5c428c(0xb4)]}));return _0x5842f4[_0x5c428c(0x128)](_0x4d1cf1=>{const _0x4caf58=_0x5c428c,{groupId:_0x40b38a,groupLabel:_0x7dcde3,commands:_0x42baa4}=_0x4d1cf1,_0x443cee=wi(_0x6764b6,_0x42baa4)[_0x4caf58(0x128)](_0xfcd7cb=>({'id':_0xfcd7cb['id'],'label':_0xfcd7cb[_0x4caf58(0xb4)]}));return{'id':_0x40b38a,'menu':_0x7dcde3||_0x40b38a,'children':_0x443cee};});}(_0x545ef2),{'ariaLabel':_0x27a5ce(_0xe81287,_0x29027c(0xb9))}),_0x15f6cd[_0x29027c(0xfc)][_0x29027c(0x14d)]=_0x29027c(0x10f)+this[_0x29027c(0xbd)],_0x153b4a['on'](_0x29027c(0xda),_0x193b58),_0x15f6cd[_0x29027c(0xfc)][_0x29027c(0xdf)](_0x29027c(0x137),_0x193b58),_0x15f6cd;function _0x193b58(){const _0x39fe21=_0x29027c;_0x15f6cd[_0x39fe21(0xe6)]=_0x153b4a[_0x39fe21(0xc2)][_0x39fe21(0x155)]>0x0;for(const _0x2b34e5 of _0x15f6cd[_0x39fe21(0xfc)][_0x39fe21(0x124)])_0x2b34e5[_0x39fe21(0xe6)]=_0x153b4a[_0x39fe21(0xc2)][_0x39fe21(0xea)](_0x2b34e5['id']);}}),_0x545ef2['ui'][_0x44b5e9(0xe1)][_0x44b5e9(0x111)](_0x44b5e9(0x118),_0x172d35=>{const _0x448730=_0x44b5e9,_0x2c85f3=new _0x57516b(_0x172d35);_0x2c85f3[_0x448730(0x10c)][_0x448730(0xdb)]({'label':_0x27a5ce(_0x172d35,_0x448730(0xb9)),'icon':_0x349fd2}),_0x2c85f3[_0x448730(0xbb)](_0x448730(0xe6))['to'](_0x153b4a,_0x448730(0xc2),_0x3d70fd=>_0x3d70fd[_0x448730(0x155)]>0x0);const _0x334d37=_0xea5ac5(_0x545ef2[_0x448730(0x14e)][_0x448730(0x143)](_0x448730(0xd2)),_0x172d35);return this[_0x448730(0xaf)](_0x153b4a,_0x2c85f3,_0x334d37,_0x31b028=>this[_0x448730(0xfb)](_0x31b028)),_0x2c85f3;}),_0x545ef2['ui'][_0x44b5e9(0xe1)][_0x44b5e9(0x111)](_0x44b5e9(0xca),()=>{const _0x6821ba=_0x44b5e9,_0xee4007=this[_0x6821ba(0xd7)](_0x1a5284);return _0xee4007[_0x6821ba(0xdb)]({'tooltip':!0x0,'class':_0x6821ba(0x10e)+this[_0x6821ba(0xbd)]}),_0xee4007;}),_0x545ef2['ui'][_0x44b5e9(0xe1)][_0x44b5e9(0x111)](_0x44b5e9(0x110),()=>{const _0x1f11da=_0x44b5e9,_0x6d51a4=this[_0x1f11da(0xd7)](_0x3eb8f8);return _0x6d51a4[_0x1f11da(0xdb)]({'role':_0x1f11da(0x102)}),_0x6d51a4;}),this[_0x44b5e9(0xf9)]=this[_0x44b5e9(0x144)][_0x44b5e9(0x14e)][_0x44b5e9(0x143)](_0x44b5e9(0xf9));const _0x3d0098=this[_0x44b5e9(0x144)];this[_0x44b5e9(0x134)]=setInterval(()=>{const _0x6bb212=_0x44b5e9;let _0x2e69d6;for(const _0x4bda4f in _0x3d0098){const _0x7310e0=_0x4bda4f,_0x2bfd38=_0x3d0098[_0x7310e0];if(_0x6bb212(0x10d)==_0x2bfd38||_0x6bb212(0x106)==_0x2bfd38||_0x6bb212(0x132)==_0x2bfd38||_0x6bb212(0x100)==_0x2bfd38||_0x6bb212(0xfe)==_0x2bfd38||_0x6bb212(0x119)==_0x2bfd38||_0x6bb212(0x131)==_0x2bfd38||_0x6bb212(0xf3)==_0x2bfd38){delete _0x3d0098[_0x7310e0],_0x2e69d6=_0x2bfd38,clearInterval(this[_0x6bb212(0x134)]),this[_0x6bb212(0x134)]=void 0x0;break;}}_0x6bb212(0x106)==_0x2e69d6&&_0x3d0098[_0x6bb212(0xdd)](_0x6bb212(0xa8)),_0x6bb212(0x132)==_0x2e69d6&&_0x3d0098[_0x6bb212(0xdd)](_0x6bb212(0x12b)),_0x6bb212(0x100)==_0x2e69d6&&_0x3d0098[_0x6bb212(0xdd)](_0x6bb212(0xd1)),_0x6bb212(0xfe)==_0x2e69d6&&_0x3d0098[_0x6bb212(0xdd)](_0x6bb212(0xd3),_0x6bb212(0xf0)),_0x6bb212(0x119)==_0x2e69d6&&_0x3d0098[_0x6bb212(0xdd)](_0x6bb212(0xe3)),_0x6bb212(0x131)==_0x2e69d6&&_0x3d0098[_0x6bb212(0xdd)](_0x6bb212(0xa9)),_0x6bb212(0xf3)==_0x2e69d6&&_0x3d0098[_0x6bb212(0xdd)](_0x6bb212(0x13d));},0x3e8);}[_0xab209(0x13c)](){const _0x3a6043=_0xab209;super[_0x3a6043(0x13c)](),this[_0x3a6043(0x134)]&&clearInterval(this[_0x3a6043(0x134)]);}[_0xab209(0x122)](_0x211b0a='',_0x5d4b98='',_0x20c7f0=_0xab209(0x148)){const _0x27ab7b=_0xab209,_0x55c727=this[_0x27ab7b(0x144)],_0x1569a8=_0x55c727[_0x27ab7b(0xd9)][_0x27ab7b(0x103)],_0x2e6ea5=_0x55c727[_0x27ab7b(0xc6)][_0x27ab7b(0x143)](_0x371533),_0x5a7219=_0x55c727[_0x27ab7b(0xc6)][_0x27ab7b(0x143)](_0x1fe585);_0x2e6ea5[_0x27ab7b(0xb0)]();const _0x5e91dd=new dt(),_0x55fe1b=new ClipboardEvent(_0x27ab7b(0x117),{'clipboardData':_0x5e91dd}),_0x236656=new _0x4c44eb(_0x5e91dd),_0x576765=new _0x4cc43c(_0x1569a8,_0x55fe1b,{'dataTransfer':_0x236656});_0x5a7219[_0x27ab7b(0xe7)](_0x27ab7b(0x101),()=>{const _0x3821d0=_0x27ab7b;_0x1569a8[_0x3821d0(0x12e)][_0x3821d0(0x121)](_0x3821d0(0x117),_0x576765);}),this[_0x27ab7b(0x129)]||(this[_0x27ab7b(0xf6)](),this[_0x27ab7b(0xb1)]=new _0x4b6e79(_0x55c727,this[_0x27ab7b(0xff)][_0x27ab7b(0x145)],this[_0x27ab7b(0x129)]));let _0x2da2c4=_0x236656[_0x27ab7b(0xeb)](_0x27ab7b(0xf7));const _0x31d5c9=_0x55c727[_0x27ab7b(0x14f)][_0x27ab7b(0x12e)][_0x27ab7b(0xdc)],_0x4dde34=Array[_0x27ab7b(0x152)](_0x31d5c9[_0x27ab7b(0x14c)]());0x1===_0x4dde34[_0x27ab7b(0x155)]&&_0x4dde34[0x0][_0x27ab7b(0xe2)]&&!_0x31d5c9[_0x27ab7b(0xb7)]()&&''!==_0x2da2c4[_0x27ab7b(0x125)](/ /g,'')[_0x27ab7b(0x10b)]()&&(_0x2da2c4=_0x27ab7b(0xc7)+_0x2da2c4+_0x27ab7b(0x114)),this[_0x27ab7b(0xb1)][_0x27ab7b(0xe8)]({'actionId':_0x20c7f0,'query':_0x211b0a,'htmlContent':_0x2da2c4,'label':_0x5d4b98,'mainActionLabel':_0x30e4b4[_0x55c727[_0x27ab7b(0x14f)][_0x27ab7b(0x12e)][_0x27ab7b(0xdc)][_0x27ab7b(0x147)]?_0x27ab7b(0xcf):_0x27ab7b(0x153)]}),_0x27ab7b(0xca)!==this[_0x27ab7b(0xba)]['id']?this[_0x27ab7b(0xba)][_0x27ab7b(0x13a)]({'id':_0x27ab7b(0xca),'icon':_0x4d0e6b,'title':_0x27a5ce(this[_0x27ab7b(0x144)][_0x27ab7b(0xfa)],_0x27ab7b(0xee)),'content':this[_0x27ab7b(0x129)],'position':_0x5c06e7[_0x27ab7b(0xac)],'onShow':()=>{const _0x32ede4=_0x27ab7b;this[_0x32ede4(0x129)][_0x32ede4(0x12c)]();},'onHide':()=>{const _0x483033=_0x27ab7b;this[_0x483033(0xb1)][_0x483033(0x107)](),_0x2e6ea5[_0x483033(0x150)]();}}):this[_0x27ab7b(0xba)][_0x27ab7b(0x103)][_0x27ab7b(0x12f)]||this[_0x27ab7b(0xba)][_0x27ab7b(0x103)][_0x27ab7b(0x12d)]();}[_0xab209(0x140)](){const _0x11584a=_0xab209;this[_0x11584a(0xba)][_0x11584a(0x126)]();}[_0xab209(0x14a)](){const _0x2722df=_0xab209,_0x1ac037=new Map(),_0x114c8c=_0xea5ac5(this[_0x2722df(0x144)][_0x2722df(0x14e)][_0x2722df(0x143)](_0x2722df(0xd2)),this[_0x2722df(0x144)][_0x2722df(0xfa)]);for(const _0x36b6f7 of _0x114c8c)for(const _0xc20f84 of _0x36b6f7[_0x2722df(0x115)])_0x1ac037[_0x2722df(0xdb)](_0xc20f84['id'],{..._0xc20f84,'groupId':_0x36b6f7[_0x2722df(0xf2)],'groupLabel':_0x36b6f7[_0x2722df(0xe5)]||_0x36b6f7[_0x2722df(0xf2)]});return _0x1ac037;}[_0xab209(0xd7)](_0x111bc9){const _0x30a7cb=_0xab209,_0x596340=this[_0x30a7cb(0x144)],_0x1df50b=_0x596340[_0x30a7cb(0x115)][_0x30a7cb(0x143)](_0x30a7cb(0xd4)),_0x5fea4a=new _0x111bc9(_0x596340[_0x30a7cb(0xfa)]);return _0x5fea4a[_0x30a7cb(0xdb)]({'label':_0x27a5ce(_0x596340[_0x30a7cb(0xfa)],_0x30a7cb(0xee)),'icon':_0x4d0e6b,'isToggleable':!0x0}),_0x5fea4a[_0x30a7cb(0xbb)](_0x30a7cb(0xe6))['to'](_0x1df50b),_0x5fea4a[_0x30a7cb(0xbb)](_0x30a7cb(0x105))['to'](this[_0x30a7cb(0xba)],'id',_0x20714f=>_0x30a7cb(0xca)===_0x20714f),this[_0x30a7cb(0xbc)](_0x5fea4a,_0x30a7cb(0xb5),()=>{const _0x14da10=_0x30a7cb;_0x5fea4a[_0x14da10(0x105)]?this[_0x14da10(0x140)]():_0x1df50b[_0x14da10(0xb5)]();}),_0x5fea4a;}[_0xab209(0xf6)](){const _0x539371=_0xab209,_0x11f20d=this[_0x539371(0x144)][_0x539371(0xc6)][_0x539371(0x143)](_0x371533);this[_0x539371(0x129)]=new _0x687afd(this[_0x539371(0x144)][_0x539371(0xfa)],this[_0x539371(0xbd)],this[_0x539371(0x144)][_0x539371(0x14e)][_0x539371(0x143)](_0x539371(0x135))),this[_0x539371(0x129)]['on'](_0x539371(0x11b),()=>{const _0x566ddc=_0x539371;this[_0x566ddc(0xba)][_0x566ddc(0x103)][_0x566ddc(0x12f)]||this[_0x566ddc(0xba)][_0x566ddc(0x103)][_0x566ddc(0x12d)]();}),this[_0x539371(0x129)][_0x539371(0x113)][_0x539371(0x13e)][_0x539371(0x142)]['on'](_0x539371(0xde),()=>{const _0x56058b=_0x539371;this[_0x56058b(0xba)][_0x56058b(0x103)][_0x56058b(0x12f)]||this[_0x56058b(0xba)][_0x56058b(0x103)][_0x56058b(0x12d)]();}),this[_0x539371(0xbc)](this[_0x539371(0x129)],_0x539371(0xc4),()=>{const _0x16bb51=_0x539371;_0x11f20d[_0x16bb51(0x139)](this[_0x16bb51(0xb1)][_0x16bb51(0x136)]),this[_0x16bb51(0x140)]();}),this[_0x539371(0xbc)](this[_0x539371(0x129)],_0x539371(0x104),()=>{const _0x59807a=_0x539371;_0x11f20d[_0x59807a(0x104)](this[_0x59807a(0xb1)][_0x59807a(0x136)]),this[_0x59807a(0x140)]();}),this[_0x539371(0xf4)]();}[_0xab209(0xf4)](){const _0x130f1d=_0xab209,{locale:_0xdc0bc0,ui:{ariaLiveAnnouncer:_0x43afbf}}=this[_0x130f1d(0x144)];this[_0x130f1d(0x129)][_0x130f1d(0x123)]['on'](_0x130f1d(0x11e),(_0x18e225,_0x1ebf63,_0x4c0cf2)=>{const _0x59d02d=_0x130f1d,_0x55cd33=this[_0x59d02d(0xb1)][_0x59d02d(0x136)];_0x4c0cf2?_0x43afbf[_0x59d02d(0xcc)](_0x27a5ce(_0xdc0bc0,_0x59d02d(0x11a))):_0x55cd33&&_0x43afbf[_0x59d02d(0xcc)](_0x27a5ce(_0xdc0bc0,_0x59d02d(0xd0),_0x55cd33),{'politeness':_0x59d02d(0xd8),'isUnsafeHTML':!0x0});}),this[_0x130f1d(0x129)]['on'](_0x130f1d(0x13f),(_0x26d565,_0x4cc04d,_0x305e91)=>{const _0x5ca5a9=_0x130f1d;if(_0x305e91){const _0x5e12f4=this[_0x5ca5a9(0x129)][_0x5ca5a9(0xbf)][_0x5ca5a9(0xc1)];_0x43afbf[_0x5ca5a9(0xcc)](_0x27a5ce(_0xdc0bc0,_0x5ca5a9(0x116),_0x5e12f4));}});}[_0xab209(0xfb)](_0x55a0b3){const _0x4c571e=_0xab209,_0x8ed224=this[_0x4c571e(0xf1)][_0x4c571e(0x143)](_0x55a0b3),_0x15f8f7=this[_0x4c571e(0x144)],_0x3f07f3=_0x15f8f7[_0x4c571e(0x14f)][_0x4c571e(0x12e)][_0x4c571e(0xdc)],_0x43e443=_0x15f8f7[_0x4c571e(0x115)][_0x4c571e(0x143)](_0x4c571e(0xd4)),_0x436171=_0x15f8f7[_0x4c571e(0xc6)][_0x4c571e(0x143)](_0x371533),_0x8da1c1=''+(_0x8ed224[_0x4c571e(0xf2)]!==_0xb63487?_0x8ed224[_0x4c571e(0xe5)]+':\x20':'')+_0x8ed224[_0x4c571e(0xb4)];if(!0x1!==_0x8ed224[_0x4c571e(0xaa)]&&_0x3f07f3[_0x4c571e(0x147)]){const _0x255327=_0x1cf81d(_0x3f07f3[_0x4c571e(0x11d)]())||_0x15f8f7[_0x4c571e(0x14f)][_0x4c571e(0xb2)][_0x4c571e(0xcb)](_0x3f07f3);_0x15f8f7[_0x4c571e(0x14f)][_0x4c571e(0xb3)](_0x470b0c=>{const _0x5f4a92=_0x4c571e;_0x470b0c[_0x5f4a92(0x11c)](_0x255327,'in');});}_0x436171[_0x4c571e(0xb0)](),_0x43e443[_0x4c571e(0xb5)](_0x8ed224[_0x4c571e(0xad)],_0x8da1c1,_0x4c571e(0x13b)+_0x55a0b3);}[_0xab209(0xaf)](_0x24c672,_0x42c666,_0x53ee91,_0x2343a0){const _0xe9a455=_0xab209,_0x1aeef0=this[_0xe9a455(0x144)],_0x3260ee=_0x1aeef0[_0xe9a455(0xfa)],_0x183937=new _0x3319c3(_0x3260ee),_0x701d16=wi(_0x1aeef0,_0x53ee91)[_0xe9a455(0xce)](_0x599539=>_0x599539[_0xe9a455(0x115)][_0xe9a455(0x155)]);0x1===_0x701d16[_0xe9a455(0x155)]?this[_0xe9a455(0xe4)]({'command':_0x24c672,'commands':_0x701d16[0x0][_0xe9a455(0x115)],'parentMenuView':_0x42c666,'onExecute':_0x2343a0})[_0xe9a455(0x146)](_0x74cd38=>_0x183937[_0xe9a455(0x14b)][_0xe9a455(0x111)](_0x74cd38)):_0x701d16[_0xe9a455(0x146)](({groupId:_0x20dc13,groupLabel:_0x25d469,commands:_0x2054e5})=>{const _0x49ffe1=_0xe9a455,_0x3a2f47=new _0x59fe04(_0x3260ee,_0x42c666),_0x19b9b8=new _0x57516b(_0x3260ee),_0x267cfa=new _0x3319c3(_0x3260ee),_0x48a007=this[_0x49ffe1(0xe4)]({'command':_0x24c672,'commands':_0x2054e5,'parentMenuView':_0x19b9b8,'onExecute':_0x2343a0});_0x19b9b8[_0x49ffe1(0x10c)][_0x49ffe1(0xdb)]({'label':_0x25d469||_0x20dc13}),_0x19b9b8[_0x49ffe1(0x108)](_0x49ffe1(0xb5))['to'](_0x42c666),_0x267cfa[_0x49ffe1(0x14b)][_0x49ffe1(0xf8)](_0x48a007),_0x19b9b8[_0x49ffe1(0xfd)][_0x49ffe1(0x151)][_0x49ffe1(0x111)](_0x267cfa),_0x3a2f47[_0x49ffe1(0x151)][_0x49ffe1(0x111)](_0x19b9b8),_0x183937[_0x49ffe1(0x14b)][_0x49ffe1(0x111)](_0x3a2f47);}),_0x42c666[_0xe9a455(0xfd)][_0xe9a455(0x151)][_0xe9a455(0x111)](_0x183937);}[_0xab209(0xe4)]({command:_0x1e1928,commands:_0xa5c85c,parentMenuView:_0x3a4598,onExecute:_0x5b7057}){const _0x3842b2=_0xab209,_0x56ec02=this[_0x3842b2(0x144)],_0x430e4c=_0x56ec02[_0x3842b2(0xfa)];return wi(_0x56ec02,_0xa5c85c)[_0x3842b2(0x128)](_0x4b0674=>{const _0x36fee4=_0x3842b2,_0x1cf59e=new _0x59fe04(_0x430e4c,_0x3a4598),_0x14c848=new _0x3eb8f8(_0x430e4c);return _0x14c848[_0x36fee4(0xdb)]({'label':_0x4b0674[_0x36fee4(0xb4)]}),_0x14c848[_0x36fee4(0x108)](_0x36fee4(0xb5))['to'](_0x3a4598),_0x14c848['on'](_0x36fee4(0xb5),()=>_0x5b7057(_0x4b0674['id'])),_0x14c848[_0x36fee4(0xbb)](_0x36fee4(0xe6))['to'](_0x1e1928,_0x36fee4(0xc2),_0x5dfed1=>_0x5dfed1[_0x36fee4(0xea)](_0x4b0674['id'])),_0x1cf59e[_0x36fee4(0x151)][_0x36fee4(0x111)](_0x14c848),_0x1cf59e;});}}function Ai(_0x235459,_0x10ef43){const _0x162550=_0xab209;return void 0x0!==_0x235459[_0x162550(0x10a)]&&void 0x0===_0x10ef43[_0x162550(0x10a)]?0x1:void 0x0===_0x235459[_0x162550(0x10a)]&&void 0x0!==_0x10ef43[_0x162550(0x10a)]?-0x1:void 0x0!==_0x235459[_0x162550(0x10a)]&&void 0x0!==_0x10ef43[_0x162550(0x10a)]?_0x235459[_0x162550(0x10a)]-_0x10ef43[_0x162550(0x10a)]:0x0;}function wi(_0x5865d9,_0x484a04){const _0x45e269=_0xab209;_0x484a04[_0x45e269(0xec)](Ai);const _0x50de33={},_0x57026c=[];for(const _0x3f7f94 of _0x484a04)if(void 0x0!==_0x3f7f94[_0x45e269(0x10a)]){if(_0x3f7f94[_0x45e269(0x10a)]in _0x50de33)throw new _0xc2c221(_0x45e269(0xe0),_0x5865d9,{'conflictingDefinitions':[_0x3f7f94,_0x50de33[_0x3f7f94[_0x45e269(0x10a)]]]});_0x50de33[_0x3f7f94[_0x45e269(0x10a)]]=_0x3f7f94,_0x57026c[_0x45e269(0xef)](_0x3f7f94[_0x45e269(0x10a)],0x0,_0x3f7f94);}else _0x57026c[_0x45e269(0x120)](_0x3f7f94);return _0x57026c;}
|
|
23
|
+
function _0x8790(){const _0xec8e07=['reset','getRanges','hideUI','config','ai.assistant.disabledElements','groupId','replace','document','get','licenseKey','aiAssistant','custom','_uiCssClasses','plugins','_forceMarkersCopy','define','_licenseKeyCheckInterval','trialLimit','hideFakeVisualSelection','showUI','errorView','_aiAssistantController','text/html','filter','splice','aiLicenseKeyEvaluationLimit','update','fieldView','from','getSelectedBlocks','4194342ftWMrJ','buttonView','5872580jwZiQL','enabledCommandsIds','currentContext','Generated\x20content:\x20%0','map','aiLicenseKeyValid','552104NKVXgs','evaluationLimit','featureNotAllowed','editor','_createAIAssistantUIButton','comment','focus','usageLimit','queryView','menuBar:aiAssistant','updateView','<p>','109SyHqUe','menuView','showAIAssistant','Error\x20during\x20AI\x20content\x20generation:\x20%0','_initAriaAiStatusChangeAnnouncements','destroy','schema','includes','ai.assistant.useTheme','isPremiumPlugin','_getMenuBarGroupButtons','1372818IpESey','menuBar:aiCommands','invalid','aiLicenseKeyUsageLimit','change:enabledCommandsIds','77YmGVbf','aiLicenseKeyExpired','textAdapter','isOfficialPlugin','wasMoved','panelView','2284dnVvNe','\x20ck-ai-assistant-ui_theme','change:isError','push','_aiAdapter','items','_getResolvedCommandsDefinitions','listenTo','editing','locale','10uKuSYf','text','sort','source','REPLACE','announce','setSelection','EDITOR_TOP_SIDE','aiCommands','AIAssistant','once','insertContentBelow','tableOfContents','aiLicenseKeyInvalid','fire','addMany','media','execute','ck-ai-assistant-button\x20','_dialog','getData','getSelectedElement','set','_formView','change','command:','insertContent','ai-commands-config-order-collision','commands','ai.assistant.contentAreaCssClass','aiLicenseKeyDomainLimit','groupLabel','isEnabled','isOn','render','polite','rawHtml','getLimitElement','2222752wdeulF','menuitemcheckbox','isFlat','replaceContent','add','show','aiLicenseKeyTrialLimit','requiresContent','children','_commandDefinitions','18016497YnRwaT','model','AIAssistantUI','body','menuPanelClass','copy','init','INSERT','isCollapsed','ck-ai-commands-dropdown\x20','componentFactory','ck-ai-assistant-ui','pluginName','change:isProcessing','buttons','order','ai.assistant.commands','forEach','AI\x20Commands','_onExecute','AI\x20Assistant','requires','aiLicenseKeyNotAllowed','prompt','_populateMenuBarMenu','expired','</p>','_initView','selection','label','AI\x20is\x20writing','trim','updatePosition','DataTransfer','change:value','showFakeVisualSelection','bind','domainLimit','promptView','length','values','view','hide','_showLicenseError','delegate','contentArea'];_0x8790=function(){return _0xec8e07;};return _0x8790();}const _0x2f1ad2=_0x3652;(function(_0x271add,_0x6ebad0){const _0x32f94c=_0x3652,_0x2ac55f=_0x271add();while(!![]){try{const _0x254826=parseInt(_0x32f94c(0x123))/0x1*(-parseInt(_0x32f94c(0x139))/0x2)+-parseInt(_0x32f94c(0x12e))/0x3+parseInt(_0x32f94c(0x169))/0x4+-parseInt(_0x32f94c(0x111))/0x5+parseInt(_0x32f94c(0x10f))/0x6+parseInt(_0x32f94c(0x133))/0x7*(-parseInt(_0x32f94c(0x117))/0x8)+-parseInt(_0x32f94c(0x173))/0x9*(-parseInt(_0x32f94c(0x143))/0xa);if(_0x254826===_0x6ebad0)break;else _0x2ac55f['push'](_0x2ac55f['shift']());}catch(_0x270a1d){_0x2ac55f['push'](_0x2ac55f['shift']());}}}(_0x8790,0xb4de3));import{Plugin as _0x1a298e}from'ckeditor5/src/core.js';import{IconMagicWand as _0x3cc05a,IconRobotPencil as _0x4d3293}from'ckeditor5/src/icons.js';import{first as _0x5dfe26,CKEditorError as _0x380b06}from'ckeditor5/src/utils.js';import{createDropdown as _0x4f7083,addMenuToDropdown as _0x1fd579,ButtonView as _0x3de42d,MenuBarMenuListItemButtonView as _0xdc3858,Dialog as _0x483383,DialogViewPosition as _0x32339b,MenuBarMenuView as _0x36f3c0,MenuBarMenuListView as _0x42c9c3,MenuBarMenuListItemView as _0x380871}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x52a50d,UNGROUPED_COMMANDS_GROUP_ID as _0x3bbafe}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x1b3d1a}from'./aiassistantediting.js';import{AIAdapter as _0x5112a2}from'./adapters/aiadapter.js';import{getTranslation as _0x5d4189}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0x13e9ae}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0x219343}from'./ui/aiassistantcontroller.js';function _0x3652(_0x1993c5,_0x1744fe){const _0x879043=_0x8790();return _0x3652=function(_0x365204,_0x458bbc){_0x365204=_0x365204-0xea;let _0x11141c=_0x879043[_0x365204];return _0x11141c;},_0x3652(_0x1993c5,_0x1744fe);}import{AIFormView as _0xfb87b9}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0xb0d807}from'./ui/form/aiformtoolbarview.js';import'../../theme/aiassistant/ai.css';import'../../theme/aiassistant/ai-dropdown.css';import'../../theme/aiassistant/ai-form.css';const dt=globalThis[_0x2f1ad2(0x194)];import{ClipboardMarkersUtils as _0x17e208}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x245395,ViewDataTransfer as _0x5601bb}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0x1a298e{[_0x2f1ad2(0xfa)];[_0x2f1ad2(0x101)];[_0x2f1ad2(0x156)];[_0x2f1ad2(0x15a)];[_0x2f1ad2(0x13d)];[_0x2f1ad2(0x106)];[_0x2f1ad2(0xfd)]='';static get[_0x2f1ad2(0x17f)](){const _0x4aee3d=_0x2f1ad2;return _0x4aee3d(0x175);}static get[_0x2f1ad2(0x136)](){return!0x0;}static get[_0x2f1ad2(0x12c)](){return!0x0;}static get[_0x2f1ad2(0x188)](){return[_0x17e208,_0x1b3d1a,_0x5112a2,_0x483383];}constructor(_0x5ec273){const _0x48feeb=_0x2f1ad2;super(_0x5ec273),_0x5ec273[_0x48feeb(0xf4)][_0x48feeb(0x100)](_0x48feeb(0xf5),[_0x48feeb(0x153),_0x48feeb(0x167),_0x48feeb(0x14f)]),_0x5ec273[_0x48feeb(0xf4)][_0x48feeb(0x100)](_0x48feeb(0x160),''),_0x5ec273[_0x48feeb(0xf4)][_0x48feeb(0x100)](_0x48feeb(0x12b),!0x0),this[_0x48feeb(0xfd)]=_0x48feeb(0x17e)+(_0x5ec273[_0x48feeb(0xf4)][_0x48feeb(0xf9)](_0x48feeb(0x12b))?_0x48feeb(0x13a):'');}[_0x2f1ad2(0x179)](){const _0x55218e=_0x2f1ad2,{editor:_0x56cf30}=this;this[_0x55218e(0x13d)]=_0x56cf30[_0x55218e(0xfe)][_0x55218e(0xf9)](_0x5112a2),this[_0x55218e(0x156)]=_0x56cf30[_0x55218e(0xfe)][_0x55218e(0xf9)](_0x483383),this[_0x55218e(0x15a)]=null,this[_0x55218e(0x172)]=this[_0x55218e(0x13f)]();const _0x1c1445=new _0x13e9ae(_0x56cf30,Array[_0x55218e(0x10d)](this[_0x55218e(0x172)][_0x55218e(0xeb)]()));_0x56cf30[_0x55218e(0x15f)][_0x55218e(0x16d)](_0x55218e(0x125),_0x1c1445),_0x56cf30['ui'][_0x55218e(0x17d)][_0x55218e(0x16d)](_0x55218e(0x14b),_0x1c6554=>{const _0xc50847=_0x55218e,_0x233a36=_0x4f7083(_0x1c6554);return _0x233a36[_0xc50847(0x159)]({'class':_0xc50847(0x17c)+this[_0xc50847(0xfd)]}),_0x233a36[_0xc50847(0x110)][_0xc50847(0x159)]({'label':_0x5d4189(_0x1c6554,_0xc50847(0x185)),'icon':_0x3cc05a,'tooltip':!0x0}),_0x233a36['on'](_0xc50847(0x154),_0x36c9f4=>this[_0xc50847(0x186)](_0x36c9f4[_0xc50847(0x146)]['id'])),_0x1fd579(_0x233a36,_0x56cf30['ui'][_0xc50847(0xec)][_0xc50847(0x176)],function(_0x9e8837){const _0x4adaf9=_0xc50847,_0x58336a=_0x52a50d(_0x9e8837[_0x4adaf9(0xf4)][_0x4adaf9(0xf9)](_0x4adaf9(0x183)),_0x9e8837[_0x4adaf9(0x142)]),_0x404ea0=wi(_0x9e8837,_0x58336a)[_0x4adaf9(0x108)](_0x8f86f7=>_0x8f86f7[_0x4adaf9(0x15f)][_0x4adaf9(0xea)]);if(0x1===_0x404ea0[_0x4adaf9(0xea)])return wi(_0x9e8837,_0x404ea0[0x0][_0x4adaf9(0x15f)])[_0x4adaf9(0x115)](_0x2d766a=>({'id':_0x2d766a['id'],'label':_0x2d766a[_0x4adaf9(0x190)]}));return _0x404ea0[_0x4adaf9(0x115)](_0x38dd45=>{const _0x5091ea=_0x4adaf9,{groupId:_0x527d7b,groupLabel:_0x4bea56,commands:_0x2ef260}=_0x38dd45,_0x26f340=wi(_0x9e8837,_0x2ef260)[_0x5091ea(0x115)](_0x5ddf28=>({'id':_0x5ddf28['id'],'label':_0x5ddf28[_0x5091ea(0x190)]}));return{'id':_0x527d7b,'menu':_0x4bea56||_0x527d7b,'children':_0x26f340};});}(_0x56cf30),{'ariaLabel':_0x5d4189(_0x1c6554,_0xc50847(0x185))}),_0x233a36[_0xc50847(0x124)][_0xc50847(0x177)]=_0xc50847(0x17c)+this[_0xc50847(0xfd)],_0x1c1445['on'](_0xc50847(0x132),_0x3a0885),_0x233a36[_0xc50847(0x124)][_0xc50847(0x14d)](_0xc50847(0x165),_0x3a0885),_0x233a36;function _0x3a0885(){const _0x3c3873=_0xc50847;_0x233a36[_0x3c3873(0x163)]=_0x1c1445[_0x3c3873(0x112)][_0x3c3873(0xea)]>0x0;for(const _0x436ac5 of _0x233a36[_0x3c3873(0x124)][_0x3c3873(0x181)])_0x436ac5[_0x3c3873(0x163)]=_0x1c1445[_0x3c3873(0x112)][_0x3c3873(0x12a)](_0x436ac5['id']);}}),_0x56cf30['ui'][_0x55218e(0x17d)][_0x55218e(0x16d)](_0x55218e(0x12f),_0x246597=>{const _0x3a6847=_0x55218e,_0x1f2d09=new _0x36f3c0(_0x246597);_0x1f2d09[_0x3a6847(0x110)][_0x3a6847(0x159)]({'label':_0x5d4189(_0x246597,_0x3a6847(0x185)),'icon':_0x3cc05a}),_0x1f2d09[_0x3a6847(0x197)](_0x3a6847(0x163))['to'](_0x1c1445,_0x3a6847(0x112),_0x2c1473=>_0x2c1473[_0x3a6847(0xea)]>0x0);const _0x33b3cb=_0x52a50d(_0x56cf30[_0x3a6847(0xf4)][_0x3a6847(0xf9)](_0x3a6847(0x183)),_0x246597);return this[_0x3a6847(0x18b)](_0x1c1445,_0x1f2d09,_0x33b3cb,_0xc541c8=>this[_0x3a6847(0x186)](_0xc541c8)),_0x1f2d09;}),_0x56cf30['ui'][_0x55218e(0x17d)][_0x55218e(0x16d)](_0x55218e(0xfb),()=>{const _0x2bcc27=_0x55218e,_0x5cc4e8=this[_0x2bcc27(0x11b)](_0x3de42d);return _0x5cc4e8[_0x2bcc27(0x159)]({'tooltip':!0x0,'class':_0x2bcc27(0x155)+this[_0x2bcc27(0xfd)]}),_0x5cc4e8;}),_0x56cf30['ui'][_0x55218e(0x17d)][_0x55218e(0x16d)](_0x55218e(0x120),()=>{const _0xce72c6=_0x55218e,_0x525275=this[_0xce72c6(0x11b)](_0xdc3858);return _0x525275[_0xce72c6(0x159)]({'role':_0xce72c6(0x16a)}),_0x525275;}),this[_0x55218e(0xfa)]=this[_0x55218e(0x11a)][_0x55218e(0xf4)][_0x55218e(0xf9)](_0x55218e(0xfa));const _0x2d3326=this[_0x55218e(0x11a)];this[_0x55218e(0x101)]=setInterval(()=>{const _0x2e80c7=_0x55218e;let _0x222a19;for(const _0x462bd7 in _0x2d3326){const _0x4237ae=_0x462bd7,_0x25d41f=_0x2d3326[_0x4237ae];if(_0x2e80c7(0x116)==_0x25d41f||_0x2e80c7(0x150)==_0x25d41f||_0x2e80c7(0x134)==_0x25d41f||_0x2e80c7(0x161)==_0x25d41f||_0x2e80c7(0x189)==_0x25d41f||_0x2e80c7(0x10a)==_0x25d41f||_0x2e80c7(0x16f)==_0x25d41f||_0x2e80c7(0x131)==_0x25d41f){delete _0x2d3326[_0x4237ae],_0x222a19=_0x25d41f,clearInterval(this[_0x2e80c7(0x101)]),this[_0x2e80c7(0x101)]=void 0x0;break;}}_0x2e80c7(0x150)==_0x222a19&&_0x2d3326[_0x2e80c7(0xee)](_0x2e80c7(0x130)),_0x2e80c7(0x134)==_0x222a19&&_0x2d3326[_0x2e80c7(0xee)](_0x2e80c7(0x18c)),_0x2e80c7(0x161)==_0x222a19&&_0x2d3326[_0x2e80c7(0xee)](_0x2e80c7(0x198)),_0x2e80c7(0x189)==_0x222a19&&_0x2d3326[_0x2e80c7(0xee)](_0x2e80c7(0x119),_0x2e80c7(0x14c)),_0x2e80c7(0x10a)==_0x222a19&&_0x2d3326[_0x2e80c7(0xee)](_0x2e80c7(0x118)),_0x2e80c7(0x16f)==_0x222a19&&_0x2d3326[_0x2e80c7(0xee)](_0x2e80c7(0x102)),_0x2e80c7(0x131)==_0x222a19&&_0x2d3326[_0x2e80c7(0xee)](_0x2e80c7(0x11e));},0x3e8);}[_0x2f1ad2(0x128)](){const _0x4d89e5=_0x2f1ad2;super[_0x4d89e5(0x128)](),this[_0x4d89e5(0x101)]&&clearInterval(this[_0x4d89e5(0x101)]);}[_0x2f1ad2(0x104)](_0x40cd67='',_0x1669c7='',_0x142292=_0x2f1ad2(0xfc)){const _0x429699=_0x2f1ad2,_0x3dcb24=this[_0x429699(0x11a)],_0x4d8387=_0x3dcb24[_0x429699(0x141)][_0x429699(0xec)],_0x210591=_0x3dcb24[_0x429699(0xfe)][_0x429699(0xf9)](_0x1b3d1a),_0x594921=_0x3dcb24[_0x429699(0xfe)][_0x429699(0xf9)](_0x17e208);_0x210591[_0x429699(0x196)]();const _0x454680=new dt(),_0xd6923=new ClipboardEvent(_0x429699(0x178),{'clipboardData':_0x454680}),_0x5347fa=new _0x5601bb(_0x454680),_0x4cb01e=new _0x245395(_0x4d8387,_0xd6923,{'dataTransfer':_0x5347fa});_0x594921[_0x429699(0xff)](_0x429699(0x11c),()=>{const _0x5f2d86=_0x429699;_0x4d8387[_0x5f2d86(0xf8)][_0x5f2d86(0x151)](_0x5f2d86(0x178),_0x4cb01e);}),this[_0x429699(0x15a)]||(this[_0x429699(0x18e)](),this[_0x429699(0x106)]=new _0x219343(_0x3dcb24,this[_0x429699(0x13d)][_0x429699(0x135)],this[_0x429699(0x15a)]));let _0x58733c=_0x5347fa[_0x429699(0x157)](_0x429699(0x107));const _0x534386=_0x3dcb24[_0x429699(0x174)][_0x429699(0xf8)][_0x429699(0x18f)],_0x5de7bd=Array[_0x429699(0x10d)](_0x534386[_0x429699(0xf2)]());0x1===_0x5de7bd[_0x429699(0xea)]&&_0x5de7bd[0x0][_0x429699(0x16b)]&&!_0x534386[_0x429699(0x158)]()&&''!==_0x58733c[_0x429699(0xf7)](/ /g,'')[_0x429699(0x192)]()&&(_0x58733c=_0x429699(0x122)+_0x58733c+_0x429699(0x18d)),this[_0x429699(0x106)][_0x429699(0x121)]({'actionId':_0x142292,'query':_0x40cd67,'htmlContent':_0x58733c,'label':_0x1669c7,'mainActionLabel':_0xb0d807[_0x3dcb24[_0x429699(0x174)][_0x429699(0xf8)][_0x429699(0x18f)][_0x429699(0x17b)]?_0x429699(0x17a):_0x429699(0x147)]}),_0x429699(0xfb)!==this[_0x429699(0x156)]['id']?this[_0x429699(0x156)][_0x429699(0x16e)]({'id':_0x429699(0xfb),'icon':_0x4d3293,'title':_0x5d4189(this[_0x429699(0x11a)][_0x429699(0x142)],_0x429699(0x187)),'content':this[_0x429699(0x15a)],'position':_0x32339b[_0x429699(0x14a)],'onShow':()=>{const _0x551cd5=_0x429699;this[_0x551cd5(0x15a)][_0x551cd5(0x11d)]();},'onHide':()=>{const _0x17f4c7=_0x429699;this[_0x17f4c7(0x106)][_0x17f4c7(0xf1)](),_0x210591[_0x17f4c7(0x103)]();}}):this[_0x429699(0x156)][_0x429699(0xec)][_0x429699(0x137)]||this[_0x429699(0x156)][_0x429699(0xec)][_0x429699(0x193)]();}[_0x2f1ad2(0xf3)](){const _0x252151=_0x2f1ad2;this[_0x252151(0x156)][_0x252151(0xed)]();}[_0x2f1ad2(0x13f)](){const _0x4a6abf=_0x2f1ad2,_0x7cb009=new Map(),_0x1b6640=_0x52a50d(this[_0x4a6abf(0x11a)][_0x4a6abf(0xf4)][_0x4a6abf(0xf9)](_0x4a6abf(0x183)),this[_0x4a6abf(0x11a)][_0x4a6abf(0x142)]);for(const _0x4e7f2b of _0x1b6640)for(const _0x47d2df of _0x4e7f2b[_0x4a6abf(0x15f)])_0x7cb009[_0x4a6abf(0x159)](_0x47d2df['id'],{..._0x47d2df,'groupId':_0x4e7f2b[_0x4a6abf(0xf6)],'groupLabel':_0x4e7f2b[_0x4a6abf(0x162)]||_0x4e7f2b[_0x4a6abf(0xf6)]});return _0x7cb009;}[_0x2f1ad2(0x11b)](_0x5f08db){const _0xbc81b5=_0x2f1ad2,_0x3426c5=this[_0xbc81b5(0x11a)],_0x32a083=_0x3426c5[_0xbc81b5(0x15f)][_0xbc81b5(0xf9)](_0xbc81b5(0x125)),_0x41629c=new _0x5f08db(_0x3426c5[_0xbc81b5(0x142)]);return _0x41629c[_0xbc81b5(0x159)]({'label':_0x5d4189(_0x3426c5[_0xbc81b5(0x142)],_0xbc81b5(0x187)),'icon':_0x4d3293,'isToggleable':!0x0}),_0x41629c[_0xbc81b5(0x197)](_0xbc81b5(0x163))['to'](_0x32a083),_0x41629c[_0xbc81b5(0x197)](_0xbc81b5(0x164))['to'](this[_0xbc81b5(0x156)],'id',_0x34d3f7=>_0xbc81b5(0xfb)===_0x34d3f7),this[_0xbc81b5(0x140)](_0x41629c,_0xbc81b5(0x154),()=>{const _0x45e561=_0xbc81b5;_0x41629c[_0x45e561(0x164)]?this[_0x45e561(0xf3)]():_0x32a083[_0x45e561(0x154)]();}),_0x41629c;}[_0x2f1ad2(0x18e)](){const _0xaaae09=_0x2f1ad2,_0x5f0867=this[_0xaaae09(0x11a)][_0xaaae09(0xfe)][_0xaaae09(0xf9)](_0x1b3d1a);this[_0xaaae09(0x15a)]=new _0xfb87b9(this[_0xaaae09(0x11a)][_0xaaae09(0x142)],this[_0xaaae09(0xfd)],this[_0xaaae09(0x11a)][_0xaaae09(0xf4)][_0xaaae09(0xf9)](_0xaaae09(0x160))),this[_0xaaae09(0x15a)]['on'](_0xaaae09(0x195),()=>{const _0xcfa1e0=_0xaaae09;this[_0xcfa1e0(0x156)][_0xcfa1e0(0xec)][_0xcfa1e0(0x137)]||this[_0xcfa1e0(0x156)][_0xcfa1e0(0xec)][_0xcfa1e0(0x193)]();}),this[_0xaaae09(0x15a)][_0xaaae09(0x199)][_0xaaae09(0x11f)][_0xaaae09(0x10c)]['on'](_0xaaae09(0x10b),()=>{const _0xf38822=_0xaaae09;this[_0xf38822(0x156)][_0xf38822(0xec)][_0xf38822(0x137)]||this[_0xf38822(0x156)][_0xf38822(0xec)][_0xf38822(0x193)]();}),this[_0xaaae09(0x140)](this[_0xaaae09(0x15a)],_0xaaae09(0x16c),()=>{const _0x46bb0e=_0xaaae09;_0x5f0867[_0x46bb0e(0x15d)](this[_0x46bb0e(0x106)][_0x46bb0e(0x113)]),this[_0x46bb0e(0xf3)]();}),this[_0xaaae09(0x140)](this[_0xaaae09(0x15a)],_0xaaae09(0x14e),()=>{const _0x3291b1=_0xaaae09;_0x5f0867[_0x3291b1(0x14e)](this[_0x3291b1(0x106)][_0x3291b1(0x113)]),this[_0x3291b1(0xf3)]();}),this[_0xaaae09(0x127)]();}[_0x2f1ad2(0x127)](){const _0x249446=_0x2f1ad2,{locale:_0x1d1330,ui:{ariaLiveAnnouncer:_0x4a01ee}}=this[_0x249446(0x11a)];this[_0x249446(0x15a)][_0x249446(0xf0)]['on'](_0x249446(0x180),(_0x1fdb39,_0x1580fb,_0x182dfc)=>{const _0x2aef88=_0x249446,_0x454127=this[_0x2aef88(0x106)][_0x2aef88(0x113)];_0x182dfc?_0x4a01ee[_0x2aef88(0x148)](_0x5d4189(_0x1d1330,_0x2aef88(0x191))):_0x454127&&_0x4a01ee[_0x2aef88(0x148)](_0x5d4189(_0x1d1330,_0x2aef88(0x114),_0x454127),{'politeness':_0x2aef88(0x166),'isUnsafeHTML':!0x0});}),this[_0x249446(0x15a)]['on'](_0x249446(0x13b),(_0x163f81,_0x285ba5,_0x28a398)=>{const _0x4137bd=_0x249446;if(_0x28a398){const _0x71f917=this[_0x4137bd(0x15a)][_0x4137bd(0x105)][_0x4137bd(0x144)];_0x4a01ee[_0x4137bd(0x148)](_0x5d4189(_0x1d1330,_0x4137bd(0x126),_0x71f917));}});}[_0x2f1ad2(0x186)](_0x2908c1){const _0x22dda0=_0x2f1ad2,_0x336030=this[_0x22dda0(0x172)][_0x22dda0(0xf9)](_0x2908c1),_0x773527=this[_0x22dda0(0x11a)],_0x2fa247=_0x773527[_0x22dda0(0x174)][_0x22dda0(0xf8)][_0x22dda0(0x18f)],_0x1fe5f2=_0x773527[_0x22dda0(0x15f)][_0x22dda0(0xf9)](_0x22dda0(0x125)),_0xffea4e=_0x773527[_0x22dda0(0xfe)][_0x22dda0(0xf9)](_0x1b3d1a),_0x3ffafe=''+(_0x336030[_0x22dda0(0xf6)]!==_0x3bbafe?_0x336030[_0x22dda0(0x162)]+':\x20':'')+_0x336030[_0x22dda0(0x190)];if(!0x1!==_0x336030[_0x22dda0(0x170)]&&_0x2fa247[_0x22dda0(0x17b)]){const _0x154e63=_0x5dfe26(_0x2fa247[_0x22dda0(0x10e)]())||_0x773527[_0x22dda0(0x174)][_0x22dda0(0x129)][_0x22dda0(0x168)](_0x2fa247);_0x773527[_0x22dda0(0x174)][_0x22dda0(0x15b)](_0x4a4dbe=>{const _0x518907=_0x22dda0;_0x4a4dbe[_0x518907(0x149)](_0x154e63,'in');});}_0xffea4e[_0x22dda0(0x196)](),_0x1fe5f2[_0x22dda0(0x154)](_0x336030[_0x22dda0(0x18a)],_0x3ffafe,_0x22dda0(0x15c)+_0x2908c1);}[_0x2f1ad2(0x18b)](_0x19c6b3,_0x568dea,_0x4a95a9,_0x1b6dff){const _0x113d76=_0x2f1ad2,_0xdb751d=this[_0x113d76(0x11a)],_0x31a0d6=_0xdb751d[_0x113d76(0x142)],_0x2e3253=new _0x42c9c3(_0x31a0d6),_0x48a2ac=wi(_0xdb751d,_0x4a95a9)[_0x113d76(0x108)](_0x386dce=>_0x386dce[_0x113d76(0x15f)][_0x113d76(0xea)]);0x1===_0x48a2ac[_0x113d76(0xea)]?this[_0x113d76(0x12d)]({'command':_0x19c6b3,'commands':_0x48a2ac[0x0][_0x113d76(0x15f)],'parentMenuView':_0x568dea,'onExecute':_0x1b6dff})[_0x113d76(0x184)](_0x2b6e8f=>_0x2e3253[_0x113d76(0x13e)][_0x113d76(0x16d)](_0x2b6e8f)):_0x48a2ac[_0x113d76(0x184)](({groupId:_0x2a5843,groupLabel:_0x3aef6a,commands:_0x3b8298})=>{const _0x243e92=_0x113d76,_0x512232=new _0x380871(_0x31a0d6,_0x568dea),_0x28863f=new _0x36f3c0(_0x31a0d6),_0x326b23=new _0x42c9c3(_0x31a0d6),_0x9fa4ae=this[_0x243e92(0x12d)]({'command':_0x19c6b3,'commands':_0x3b8298,'parentMenuView':_0x28863f,'onExecute':_0x1b6dff});_0x28863f[_0x243e92(0x110)][_0x243e92(0x159)]({'label':_0x3aef6a||_0x2a5843}),_0x28863f[_0x243e92(0xef)](_0x243e92(0x154))['to'](_0x568dea),_0x326b23[_0x243e92(0x13e)][_0x243e92(0x152)](_0x9fa4ae),_0x28863f[_0x243e92(0x138)][_0x243e92(0x171)][_0x243e92(0x16d)](_0x326b23),_0x512232[_0x243e92(0x171)][_0x243e92(0x16d)](_0x28863f),_0x2e3253[_0x243e92(0x13e)][_0x243e92(0x16d)](_0x512232);}),_0x568dea[_0x113d76(0x138)][_0x113d76(0x171)][_0x113d76(0x16d)](_0x2e3253);}[_0x2f1ad2(0x12d)]({command:_0x243c26,commands:_0x1afe33,parentMenuView:_0xffb07a,onExecute:_0x3a0a7e}){const _0x3cd5b5=_0x2f1ad2,_0x5d39fa=this[_0x3cd5b5(0x11a)],_0x18aa18=_0x5d39fa[_0x3cd5b5(0x142)];return wi(_0x5d39fa,_0x1afe33)[_0x3cd5b5(0x115)](_0x2e8489=>{const _0x446692=_0x3cd5b5,_0x63628b=new _0x380871(_0x18aa18,_0xffb07a),_0x5f39a0=new _0xdc3858(_0x18aa18);return _0x5f39a0[_0x446692(0x159)]({'label':_0x2e8489[_0x446692(0x190)]}),_0x5f39a0[_0x446692(0xef)](_0x446692(0x154))['to'](_0xffb07a),_0x5f39a0['on'](_0x446692(0x154),()=>_0x3a0a7e(_0x2e8489['id'])),_0x5f39a0[_0x446692(0x197)](_0x446692(0x163))['to'](_0x243c26,_0x446692(0x112),_0x2d5541=>_0x2d5541[_0x446692(0x12a)](_0x2e8489['id'])),_0x63628b[_0x446692(0x171)][_0x446692(0x16d)](_0x5f39a0),_0x63628b;});}}function Ai(_0x208db2,_0x5f0341){const _0x2bef42=_0x2f1ad2;return void 0x0!==_0x208db2[_0x2bef42(0x182)]&&void 0x0===_0x5f0341[_0x2bef42(0x182)]?0x1:void 0x0===_0x208db2[_0x2bef42(0x182)]&&void 0x0!==_0x5f0341[_0x2bef42(0x182)]?-0x1:void 0x0!==_0x208db2[_0x2bef42(0x182)]&&void 0x0!==_0x5f0341[_0x2bef42(0x182)]?_0x208db2[_0x2bef42(0x182)]-_0x5f0341[_0x2bef42(0x182)]:0x0;}function wi(_0x34f7ad,_0x2c360c){const _0x29d602=_0x2f1ad2;_0x2c360c[_0x29d602(0x145)](Ai);const _0xff3db4={},_0x3ff771=[];for(const _0x207f8b of _0x2c360c)if(void 0x0!==_0x207f8b[_0x29d602(0x182)]){if(_0x207f8b[_0x29d602(0x182)]in _0xff3db4)throw new _0x380b06(_0x29d602(0x15e),_0x34f7ad,{'conflictingDefinitions':[_0x207f8b,_0xff3db4[_0x207f8b[_0x29d602(0x182)]]]});_0xff3db4[_0x207f8b[_0x29d602(0x182)]]=_0x207f8b,_0x3ff771[_0x29d602(0x109)](_0x207f8b[_0x29d602(0x182)],0x0,_0x207f8b);}else _0x3ff771[_0x29d602(0x13c)](_0x207f8b);return _0x3ff771;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x4915(_0x3c3b2d,_0x21e88e){var _0x446693=_0x4466();return _0x4915=function(_0x49156b,_0x4701d1){_0x49156b=_0x49156b-0x101;var _0xef42fe=_0x446693[_0x49156b];return _0xef42fe;},_0x4915(_0x3c3b2d,_0x21e88e);}function _0x4466(){var _0x1cca26=['14962920flaZTp','52593YMcdES','22970pkpITB','3954937duoBUz','16CKjvPC','6235256HlGggT','6CfSHVR','1009218wYvpSm','9iFgunf','4157337xIQQBk'];_0x4466=function(){return _0x1cca26;};return _0x4466();}(function(_0x50f3bb,_0x4fa526){var _0x287c72=_0x4915,_0x574510=_0x50f3bb();while(!![]){try{var _0x54f91e=-parseInt(_0x287c72(0x101))/0x1+-parseInt(_0x287c72(0x107))/0x2+parseInt(_0x287c72(0x109))/0x3+-parseInt(_0x287c72(0x104))/0x4*(-parseInt(_0x287c72(0x102))/0x5)+parseInt(_0x287c72(0x106))/0x6*(parseInt(_0x287c72(0x103))/0x7)+parseInt(_0x287c72(0x105))/0x8*(parseInt(_0x287c72(0x108))/0x9)+-parseInt(_0x287c72(0x10a))/0xa;if(_0x54f91e===_0x4fa526)break;else _0x574510['push'](_0x574510['shift']());}catch(_0x538c1c){_0x574510['push'](_0x574510['shift']());}}}(_0x4466,0xa9b13));import{CKEditorError as _0x18f1e8}from'ckeditor5/src/utils.js';
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
const _0x3e67fb=_0x352d;(function(_0x318f64,_0x4a0dd4){const _0x952215=_0x352d,_0x2d3f49=_0x318f64();while(!![]){try{const _0x4b58e2=parseInt(_0x952215(0x1d5))/0x1*(-parseInt(_0x952215(0x1e5))/0x2)+-parseInt(_0x952215(0x1fe))/0x3*(-parseInt(_0x952215(0x1d7))/0x4)+parseInt(_0x952215(0x1cf))/0x5+parseInt(_0x952215(0x21f))/0x6*(-parseInt(_0x952215(0x1c3))/0x7)+parseInt(_0x952215(0x1d6))/0x8+-parseInt(_0x952215(0x218))/0x9*(-parseInt(_0x952215(0x1ee))/0xa)+-parseInt(_0x952215(0x1c2))/0xb*(parseInt(_0x952215(0x217))/0xc);if(_0x4b58e2===_0x4a0dd4)break;else _0x2d3f49['push'](_0x2d3f49['shift']());}catch(_0x1369c2){_0x2d3f49['push'](_0x2d3f49['shift']());}}}(_0x2a11,0x1eec8));import{ObservableMixin as _0x57e9a8}from'ckeditor5/src/utils.js';import{AIRequestError as _0x25b0a8}from'../adapters/aiadapter.js';import{Matcher as _0x228cfc,ViewUpcastWriter as _0x2b3365}from'ckeditor5/src/engine.js';const fs=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');function _0x2a11(){const _0x5c8551=['currentResponse','_isH1TagSupportEnabled','makeRequest','setContentOf','innerHTML','exec','prompt','478650HqBtwj','body','finishProcessing','push','then','childNodes','1kRsHUk','1056368nwIITk','45764vGXWvv','reverse','div','destroy','previousQuery','_parseAndNormalizeContent','htmlProcessor','isRendered','once','<h1></h1>','_sanitizationContainer','_xmlSerializer','submitPrompt','previousContext','256666xhXWiG','textAdapter','ELEMENT_NODE','ai.assistant.preserveComments','clear','```','createElement','from','mainAction','9910QkWulJ','_sanitizeHTML','listenTo','config','data','abort','toModel','isProcessing','handleError','_normalizeResponseHeadings','trim','previousLabel','value','catch','stopProcessing','stopListening','21NjmvXT','updateView','name','document','viewToDom','get','nodeType','```html','match','querySelector','serializeToString','_handleQuery','currentContext','element','reset','render','set:currentContext','processor','length','initialContext','view','custom','startProcessing','tryAgainEvent','stringify','12tqJMDd','1521rCRDJP','_stripMarkdownSyntax','set','markers','editor','text/html','toView','16284wuyJSU','substring','_domParser','rename','startsWith','message','endsWith','parseFromString','domConverter','65329McFcUC','553FwvpuM','remove','editing','finally','previousActionId'];_0x2a11=function(){return _0x5c8551;};return _0x2a11();}function _0x352d(_0x20e4fb,_0x412719){const _0x2a1158=_0x2a11();return _0x352d=function(_0x352dea,_0x1bc201){_0x352dea=_0x352dea-0x1bb;let _0x11b00a=_0x2a1158[_0x352dea];return _0x11b00a;},_0x352d(_0x20e4fb,_0x412719);}export class AIAssistantController extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x57e9a8(){[_0x3e67fb(0x21c)];[_0x3e67fb(0x1e6)];[_0x3e67fb(0x212)];[_0x3e67fb(0x1e1)];[_0x3e67fb(0x1bb)];[_0x3e67fb(0x1e2)];constructor(_0x5bcce9,_0x47d526,_0x14f4b2){const _0x578c84=_0x3e67fb;super(),this[_0x578c84(0x21c)]=_0x5bcce9,this[_0x578c84(0x1e6)]=_0x47d526,this[_0x578c84(0x1e1)]=document[_0x578c84(0x1eb)](_0x578c84(0x1d9)),this[_0x578c84(0x1bb)]=new DOMParser(),this[_0x578c84(0x1e2)]=new XMLSerializer(),this[_0x578c84(0x212)]=_0x14f4b2,this[_0x578c84(0x21a)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x578c84(0x20e),(_0x19e1c0,_0x4c2746,_0x2d6bc2)=>{const _0xffff69=_0x578c84;this[_0xffff69(0x212)][_0xffff69(0x1fa)]=this[_0xffff69(0x1ef)](_0x2d6bc2);}),this[_0x578c84(0x1f0)](this[_0x578c84(0x212)],_0x578c84(0x1e3),(_0x22c3ce,_0x2461b9)=>{const _0x1cc13f=_0x578c84,_0xcd8cd4=this[_0x1cc13f(0x20a)]||this[_0x1cc13f(0x211)];this[_0x1cc13f(0x209)](_0x2461b9,_0xcd8cd4,_0x1cc13f(0x213));}),this[_0x578c84(0x1f0)](this[_0x578c84(0x212)],_0x578c84(0x215),()=>{const _0x279fc9=_0x578c84;this[_0x279fc9(0x212)][_0x279fc9(0x1ce)]=this[_0x279fc9(0x1f9)],this[_0x279fc9(0x209)](this[_0x279fc9(0x1db)],this[_0x279fc9(0x1e4)],this[_0x279fc9(0x1c7)],this[_0x279fc9(0x1f9)]);}),this[_0x578c84(0x1f0)](this[_0x578c84(0x212)],_0x578c84(0x1fc),()=>{const _0x57c0d5=_0x578c84;this[_0x57c0d5(0x1fc)]();});}[_0x3e67fb(0x1da)](){const _0x3a5cba=_0x3e67fb;this[_0x3a5cba(0x1fd)]();}async[_0x3e67fb(0x1ff)]({actionId:_0x150696,query:_0x37b9b0,htmlContent:_0xe1145d,label:_0x423632,mainActionLabel:_0x295a2f}){const _0x4b9b05=_0x3e67fb;this[_0x4b9b05(0x212)][_0x4b9b05(0x1ce)]=_0x423632,this[_0x4b9b05(0x212)][_0x4b9b05(0x1ed)]=_0x295a2f,this[_0x4b9b05(0x211)]=_0xe1145d,_0x37b9b0&&(this[_0x4b9b05(0x212)][_0x4b9b05(0x1de)]?this[_0x4b9b05(0x209)](_0x37b9b0,_0xe1145d,_0x150696,_0x423632):this[_0x4b9b05(0x212)][_0x4b9b05(0x1df)](_0x4b9b05(0x20d),()=>{const _0x175194=_0x4b9b05;this[_0x175194(0x209)](_0x37b9b0,_0xe1145d,_0x150696,_0x423632);}));}[_0x3e67fb(0x1fc)](){const _0x43135e=_0x3e67fb;this[_0x43135e(0x1f5)]&&(this[_0x43135e(0x1f5)]=!0x1,this[_0x43135e(0x212)][_0x43135e(0x1d1)](),this[_0x43135e(0x1e6)][_0x43135e(0x1f3)]());}[_0x3e67fb(0x20c)](){const _0x48773f=_0x3e67fb;this[_0x48773f(0x211)]='',this[_0x48773f(0x20a)]='',this[_0x48773f(0x1c8)]='',this[_0x48773f(0x1e4)]='',this[_0x48773f(0x1db)]='',this[_0x48773f(0x1f9)]='',this[_0x48773f(0x1c7)]=void 0x0,this[_0x48773f(0x212)][_0x48773f(0x20c)](),this[_0x48773f(0x1fc)]();}async[_0x3e67fb(0x209)](_0x5edf01,_0xc7a1be,_0x1a7f1e,_0x43d181){const _0x102b09=_0x3e67fb;return this[_0x102b09(0x1f5)]=!0x0,this[_0x102b09(0x212)][_0x102b09(0x214)](),this[_0x102b09(0x1e4)]=_0xc7a1be,this[_0x102b09(0x1db)]=_0x5edf01,this[_0x102b09(0x1f9)]=_0x43d181||_0x5edf01,this[_0x102b09(0x1c7)]=_0x1a7f1e,new Promise(_0x11ccf0=>{const _0x2a8522=_0x102b09;this[_0x2a8522(0x1e6)][_0x2a8522(0x1ca)]({'query':_0x5edf01,'context':_0xc7a1be,'onData':_0xef5fdd=>{const _0x6c6beb=_0x2a8522;this[_0x6c6beb(0x1c8)]=_0xef5fdd,this[_0x6c6beb(0x20a)]=this[_0x6c6beb(0x1dc)](this[_0x6c6beb(0x1c8)]);},'actionId':_0x1a7f1e})[_0x2a8522(0x1d3)](()=>{const _0x52ca63=_0x2a8522;!this[_0x52ca63(0x20a)]&&this[_0x52ca63(0x1c8)]&&(this[_0x52ca63(0x20a)]=this[_0x52ca63(0x1dc)](this[_0x52ca63(0x1c8)],!0x0));})[_0x2a8522(0x1fb)](_0x590fef=>{const _0x2d17e1=_0x2a8522;_0x590fef instanceof _0x25b0a8?this[_0x2d17e1(0x212)][_0x2d17e1(0x1f6)](_0x590fef[_0x2d17e1(0x1be)]):this[_0x2d17e1(0x212)][_0x2d17e1(0x1f6)](),_0x11ccf0();})[_0x2a8522(0x1c6)](()=>{const _0x22dfad=_0x2a8522;this[_0x22dfad(0x1fc)](),_0x11ccf0();});});}[_0x3e67fb(0x1dc)](_0x1e2ac1,_0x24de93=!0x1){const _0x17db1b=_0x3e67fb,_0x496985=fs[_0x17db1b(0x1cd)](_0x1e2ac1);_0x1e2ac1=_0x496985?_0x1e2ac1[_0x17db1b(0x220)](_0x496985[0x1][_0x17db1b(0x210)]):_0x1e2ac1[_0x17db1b(0x210)]<0x64&&!_0x24de93?'':this[_0x17db1b(0x219)](_0x1e2ac1);const _0x274d30=this[_0x17db1b(0x1bb)][_0x17db1b(0x1c0)](_0x1e2ac1,_0x17db1b(0x21d));if(_0x496985){const _0x612c5f=Array[_0x17db1b(0x1ec)](_0x274d30[_0x17db1b(0x1d0)][_0x17db1b(0x1d4)]);_0x612c5f[_0x17db1b(0x1d8)]();for(const _0x48338b of _0x612c5f){if(_0x48338b[_0x17db1b(0x204)]==Node[_0x17db1b(0x1e7)])break;_0x48338b[_0x17db1b(0x1c4)]();}}const _0x5d5f3b=this[_0x17db1b(0x21c)][_0x17db1b(0x1f2)][_0x17db1b(0x20f)][_0x17db1b(0x21e)](this[_0x17db1b(0x1e2)][_0x17db1b(0x208)](_0x274d30[_0x17db1b(0x1d0)]));this[_0x17db1b(0x1c9)]()||this[_0x17db1b(0x1f7)](_0x5d5f3b);const _0x3f20dc=this[_0x17db1b(0x21c)][_0x17db1b(0x1f1)][_0x17db1b(0x203)](_0x17db1b(0x1e8)),_0x5759fb=this[_0x17db1b(0x21c)][_0x17db1b(0x1f2)][_0x17db1b(0x1f4)](_0x5d5f3b);return _0x3f20dc||_0x5759fb[_0x17db1b(0x21b)][_0x17db1b(0x1e9)](),this[_0x17db1b(0x21c)][_0x17db1b(0x1f2)][_0x17db1b(0x216)](_0x5759fb);}[_0x3e67fb(0x1f7)](_0xebba69){const _0x2de4f5=_0x3e67fb,_0x1c36d6=new _0x2b3365(this[_0x2de4f5(0x21c)][_0x2de4f5(0x1c5)][_0x2de4f5(0x212)][_0x2de4f5(0x201)]),_0x44aeee=new _0x228cfc({'name':/^h[1-5]$/}),_0xd63c7c=[];let _0x2bded8=!0x1;for(const _0x3042df of _0xebba69)_0x3042df['is'](_0x2de4f5(0x20b))&&_0x44aeee[_0x2de4f5(0x206)](_0x3042df)&&(_0xd63c7c[_0x2de4f5(0x1d2)](_0x3042df),'h1'==_0x3042df[_0x2de4f5(0x200)]&&(_0x2bded8=!0x0));if(_0x2bded8){for(const _0x526a95 of _0xd63c7c)_0x1c36d6[_0x2de4f5(0x1bc)]('h'+(parseInt(_0x526a95[_0x2de4f5(0x200)][0x1])+0x1),_0x526a95);}}[_0x3e67fb(0x1c9)](){const _0x6fc092=_0x3e67fb,{data:_0xa892dd,editing:_0x2fe05a}=this[_0x6fc092(0x21c)],_0x1fe787=_0xa892dd[_0x6fc092(0x1dd)][_0x6fc092(0x21e)](_0x6fc092(0x1e0)),_0x4e6553=_0xa892dd[_0x6fc092(0x21e)](_0xa892dd[_0x6fc092(0x1f4)](_0x1fe787));return!!_0x2fe05a[_0x6fc092(0x212)][_0x6fc092(0x1c1)][_0x6fc092(0x202)](_0x4e6553)[_0x6fc092(0x207)]('h1');}[_0x3e67fb(0x1ef)](_0x5c4cb7){const _0x560286=_0x3e67fb;return this[_0x560286(0x21c)][_0x560286(0x1c5)][_0x560286(0x212)][_0x560286(0x1c1)][_0x560286(0x1cb)](this[_0x560286(0x1e1)],_0x5c4cb7),this[_0x560286(0x1e1)][_0x560286(0x1cc)];}[_0x3e67fb(0x219)](_0x574767){const _0x53334a=_0x3e67fb,_0x38160e=_0x574767[_0x53334a(0x1f8)]();return _0x38160e[_0x53334a(0x1bd)](_0x53334a(0x205))?_0x38160e[_0x53334a(0x1bf)](_0x53334a(0x1ea))?_0x38160e[_0x53334a(0x220)](0x7,_0x38160e[_0x53334a(0x210)]-0x3):_0x38160e[_0x53334a(0x220)](0x7):_0x574767;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x14b4(_0x4e75ac,_0x1d63ec){const _0x1e4c26=_0x1e4c();return _0x14b4=function(_0x14b418,_0x4d12a3){_0x14b418=_0x14b418-0xd6;let _0x59e0ef=_0x1e4c26[_0x14b418];return _0x59e0ef;},_0x14b4(_0x4e75ac,_0x1d63ec);}const _0xb7e6b=_0x14b4;(function(_0x380e6e,_0x2d9b6f){const _0x5cf42e=_0x14b4,_0x32ba7d=_0x380e6e();while(!![]){try{const _0x5ee485=parseInt(_0x5cf42e(0x118))/0x1+-parseInt(_0x5cf42e(0x105))/0x2*(parseInt(_0x5cf42e(0x10c))/0x3)+-parseInt(_0x5cf42e(0xfc))/0x4+-parseInt(_0x5cf42e(0x107))/0x5+parseInt(_0x5cf42e(0xd6))/0x6*(-parseInt(_0x5cf42e(0x101))/0x7)+parseInt(_0x5cf42e(0x10d))/0x8*(-parseInt(_0x5cf42e(0x10a))/0x9)+parseInt(_0x5cf42e(0xfe))/0xa;if(_0x5ee485===_0x2d9b6f)break;else _0x32ba7d['push'](_0x32ba7d['shift']());}catch(_0x234782){_0x32ba7d['push'](_0x32ba7d['shift']());}}}(_0x1e4c,0x6d046));import{global as _0x1de1fc}from'ckeditor5/src/utils.js';function _0x1e4c(){const _0x172fe2=['render','getSelection','.ck-ai-form__loader','-9999px','focus','ck-reset_all-excluded','textContent','<span>]</span>','setEndBefore','isVisible','element','ck-hidden','icon','listenTo','198vDyHcD','setTemplate','appendLoader','value','createElement','bind','div','absolute','mousedown','style','<span>[</span>','appendChild','execCommand','ck-ai-form__content-area-wrapper','scrollTo','ck-ai-form__copy-button','ck-ai-form__content-field','createRange','isEnabled','clipboard','ck-content','class','remove','execute','smooth','set','change:isProcessing','body','isProcessing','ClipboardItem','copy','setStartAfter','_createCopyButton','left','bindTemplate','lastElementChild','wheel','firstElementChild','2651132HdfiLq','AI\x20is\x20writing...','24504200AMkCAy','ck-ai-form__copy-button-wrapper','querySelector','63763FLfylF','ck-ai-form__content-area','locale','_createLoader','466sepGYH','position','984430myRlZt','text/html','loaderView','126aNlgll','_copyHTMLToClipboard','11283QAEjog','126168lgWyxn','ck-ai-form__content-area--processing','scrollHeight','\x20ck-ai-form__copy-button--copied','removeAllRanges','Copy','copyButtonView','change:value','write','text/plain','contentFieldView','253487aTkvfT','addRange','ck-ai-form__loader','innerHTML','setContent'];_0x1e4c=function(){return _0x172fe2;};return _0x1e4c();}import{View as _0x12fee6,ButtonView as _0x3f5fc4,SpinnerView as _0x461dde}from'ckeditor5/src/ui.js';import{IconCheck as _0x50ebfe,IconCopy as _0x2f5887}from'ckeditor5/src/icons.js';import{getTranslation as _0x4af0be}from'../../utils/common-translations.js';export class AIFormContentArea extends _0x12fee6{[_0xb7e6b(0x117)];[_0xb7e6b(0x113)];constructor(_0x56b48e,_0x882dfd=''){const _0x5784b1=_0xb7e6b;super(_0x56b48e),this[_0x5784b1(0xef)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x27dee6=this[_0x5784b1(0xf8)];this[_0x5784b1(0x117)]=new ContentFieldView(_0x56b48e,_0x882dfd),this[_0x5784b1(0x113)]=this[_0x5784b1(0xf6)](),this[_0x5784b1(0xd7)]({'tag':_0x5784b1(0xdc),'attributes':{'class':['ck',_0x5784b1(0xe3),_0x27dee6['if'](_0x5784b1(0x126),_0x5784b1(0x128),_0x4beab9=>!_0x4beab9)],'tabindex':'-1'},'children':[{'tag':_0x5784b1(0xdc),'attributes':{'class':['ck',_0x5784b1(0x102),_0x27dee6['if'](_0x5784b1(0xf2),_0x5784b1(0x10e))]},'children':[this[_0x5784b1(0x117)],{'tag':_0x5784b1(0xdc),'attributes':{'class':['ck',_0x5784b1(0xff)]},'children':[this[_0x5784b1(0x113)]]}]}]});}[_0xb7e6b(0x11d)](){const _0x40efee=_0xb7e6b;super[_0x40efee(0x11d)](),this[_0x40efee(0xd9)]&&this[_0x40efee(0x117)][_0x40efee(0x11c)](this[_0x40efee(0xd9)]);let _0x10a78b=!0x1;this['on'](_0x40efee(0x114),(_0x536c9f,_0x2be52d,_0x1cd6eb)=>{const _0x37f381=_0x40efee,_0x471df1=!this[_0x37f381(0x117)][_0x37f381(0x127)][_0x37f381(0x100)](_0x37f381(0x11f));this[_0x37f381(0x117)][_0x37f381(0x11c)](_0x1cd6eb),this[_0x37f381(0xf2)]&&_0x471df1&&!_0x10a78b&&this[_0x37f381(0x127)][_0x37f381(0xe4)]({'top':this[_0x37f381(0x127)][_0x37f381(0x10f)],'behavior':_0x37f381(0xee)});}),this['on'](_0x40efee(0xf0),(_0x46a9d3,_0x186254,_0x1e6bd1)=>{const _0x3d5749=_0x40efee;_0x10a78b=!0x1,_0x1e6bd1?(this[_0x3d5749(0xd9)]=null,this[_0x3d5749(0x117)][_0x3d5749(0xd8)]()):this[_0x3d5749(0xd9)]||this[_0x3d5749(0x117)][_0x3d5749(0x11c)]('');}),this[_0x40efee(0x12a)](this[_0x40efee(0x127)],_0x40efee(0xfa),()=>{_0x10a78b=!0x0;}),this[_0x40efee(0x12a)](this[_0x40efee(0x127)],_0x40efee(0xde),()=>{_0x10a78b=!0x0;});}[_0xb7e6b(0x121)](){const _0x49405f=_0xb7e6b;this[_0x49405f(0x127)][_0x49405f(0x121)]();}[_0xb7e6b(0xf6)](){const _0x2e7624=_0xb7e6b,_0xeaba59=this[_0x2e7624(0x103)],_0x237a1e=new _0x3f5fc4(this[_0x2e7624(0x103)]),_0x323e4b=_0x2e7624(0xe5);return _0x237a1e[_0x2e7624(0xef)]({'label':_0x4af0be(_0xeaba59,_0x2e7624(0x112)),'icon':_0x2f5887,'class':_0x323e4b,'tooltip':!0x0}),_0x237a1e[_0x2e7624(0xdb)](_0x2e7624(0x126))['to'](this,_0x2e7624(0xd9),_0x52333b=>!!_0x52333b),_0x237a1e[_0x2e7624(0xdb)](_0x2e7624(0xe8))['to'](this,_0x2e7624(0xf2),_0xdab6b3=>!_0xdab6b3),_0x237a1e['on'](_0x2e7624(0xed),()=>{const _0xdbbd9c=_0x2e7624;this[_0xdbbd9c(0x10b)](this[_0xdbbd9c(0x117)][_0xdbbd9c(0x127)]),_0x237a1e[_0xdbbd9c(0x129)]=_0x50ebfe,_0x237a1e[_0xdbbd9c(0xeb)]=_0x323e4b+_0xdbbd9c(0x110),this[_0xdbbd9c(0x121)](),setTimeout(()=>{const _0x2cae64=_0xdbbd9c;_0x237a1e[_0x2cae64(0x129)]=_0x2f5887,_0x237a1e[_0x2cae64(0xeb)]=_0x323e4b;},0x3e8);}),_0x237a1e;}[_0xb7e6b(0x10b)](_0x478a43){const _0x162584=_0xb7e6b,{window:_0x104869,document:_0x3e731a}=_0x1de1fc;if(_0x104869[_0x162584(0xf3)]){const {Blob:_0x5c49e7,ClipboardItem:_0x25bce8}=_0x104869,_0x158d44=[new _0x25bce8({'text/html':new _0x5c49e7([_0x478a43[_0x162584(0x11b)]],{'type':_0x162584(0x108)}),'text/plain':new _0x5c49e7([_0x478a43[_0x162584(0x123)]||''],{'type':_0x162584(0x116)})})];navigator[_0x162584(0xe9)][_0x162584(0x115)](_0x158d44);}else{const _0x289d9b=_0x3e731a[_0x162584(0xda)](_0x162584(0xdc));_0x289d9b[_0x162584(0xdf)][_0x162584(0x106)]=_0x162584(0xdd),_0x289d9b[_0x162584(0xdf)][_0x162584(0xf7)]=_0x162584(0x120),_0x289d9b[_0x162584(0x11b)]=_0x162584(0xe0)+_0x478a43[_0x162584(0x11b)]+_0x162584(0x124),_0x3e731a[_0x162584(0xf1)][_0x162584(0xe1)](_0x289d9b);const _0x33e699=_0x3e731a[_0x162584(0xe7)]();_0x33e699[_0x162584(0xf5)](_0x289d9b[_0x162584(0xfb)]),_0x33e699[_0x162584(0x125)](_0x289d9b[_0x162584(0xf9)]);const _0x8f5735=_0x104869[_0x162584(0x11e)]();_0x8f5735[_0x162584(0x111)](),_0x8f5735[_0x162584(0x119)](_0x33e699),_0x3e731a[_0x162584(0xe2)](_0x162584(0xf4)),_0x289d9b[_0x162584(0xec)]();}}}export class ContentFieldView extends _0x12fee6{constructor(_0x5ed2fb,_0x136bda=''){const _0x5a229c=_0xb7e6b;super(_0x5ed2fb),this[_0x5a229c(0x109)]=this[_0x5a229c(0x104)](),this[_0x5a229c(0xd7)]({'tag':_0x5a229c(0xdc),'attributes':{'class':['ck',_0x5a229c(0xea),_0x136bda,_0x5a229c(0x122),_0x5a229c(0xe6)]}});}[_0xb7e6b(0x11c)](_0x8eef7b){const _0x55edae=_0xb7e6b;this[_0x55edae(0x127)][_0x55edae(0x11b)]=_0x8eef7b;}[_0xb7e6b(0xd8)](){const _0x19a97d=_0xb7e6b;this[_0x19a97d(0x127)][_0x19a97d(0xe1)](this[_0x19a97d(0x109)][_0x19a97d(0x127)]);}[_0xb7e6b(0x104)](){const _0x550316=_0xb7e6b,_0x3aade7=new _0x12fee6(),_0xe300e7=this[_0x550316(0x103)],_0x469073=new _0x461dde();return _0x469073[_0x550316(0x126)]=!0x0,_0x3aade7[_0x550316(0xd7)]({'tag':_0x550316(0xdc),'attributes':{'class':['ck',_0x550316(0x11a)]},'children':[_0x469073,{'text':_0x4af0be(_0xe300e7,_0x550316(0xfd))}]}),_0x3aade7[_0x550316(0x11d)](),_0x3aade7;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x3618a2,_0x1672fc){const _0xc6f8c7=_0x4393,_0x426d2a=_0x3618a2();while(!![]){try{const _0x13483a=-parseInt(_0xc6f8c7(0x1aa))/0x1*(-parseInt(_0xc6f8c7(0x1b4))/0x2)+parseInt(_0xc6f8c7(0x1b5))/0x3*(parseInt(_0xc6f8c7(0x1a7))/0x4)+parseInt(_0xc6f8c7(0x1af))/0x5*(-parseInt(_0xc6f8c7(0x1b3))/0x6)+-parseInt(_0xc6f8c7(0x1b0))/0x7+parseInt(_0xc6f8c7(0x1a8))/0x8+parseInt(_0xc6f8c7(0x1a6))/0x9*(-parseInt(_0xc6f8c7(0x1ab))/0xa)+parseInt(_0xc6f8c7(0x1a5))/0xb*(parseInt(_0xc6f8c7(0x1ac))/0xc);if(_0x13483a===_0x1672fc)break;else _0x426d2a['push'](_0x426d2a['shift']());}catch(_0x24da8f){_0x426d2a['push'](_0x426d2a['shift']());}}}(_0x747d,0x458ef));import{IconError as _0x53eadd}from'ckeditor5/src/icons.js';function _0x747d(){const _0x4f6eef=['90lZdyjR','9271992dqKqvz','ck-ai-form__error','div','510cUegOX','3212881dGcuBh','bindTemplate','text','22602cekjIR','134236ZZaGzg','187461cTDUmW','set','content','11sFyYPj','384633RhlJpv','4KzaoiY','4346976JkvvJU','setTemplate','2pbFNdV'];_0x747d=function(){return _0x4f6eef;};return _0x747d();}function _0x4393(_0x1d2ca6,_0x582f8e){const _0x747d72=_0x747d();return _0x4393=function(_0x4393ce,_0x2ee41b){_0x4393ce=_0x4393ce-0x1a3;let _0x594384=_0x747d72[_0x4393ce];return _0x594384;},_0x4393(_0x1d2ca6,_0x582f8e);}import{View as _0x1e1237,IconView as _0x59febd}from'ckeditor5/src/ui.js';export class AIFormErrorView extends _0x1e1237{constructor(_0x348d4d,_0x88301=''){const _0x546b71=_0x4393;super(_0x348d4d);const _0x38981b=new _0x59febd(),_0x2a4dd3=this[_0x546b71(0x1b1)];this[_0x546b71(0x1a3)](_0x546b71(0x1b2),_0x88301),_0x38981b[_0x546b71(0x1a4)]=_0x53eadd,this[_0x546b71(0x1a9)]({'tag':_0x546b71(0x1ae),'attributes':{'class':['ck',_0x546b71(0x1ad)]},'children':[_0x38981b,{'text':_0x2a4dd3['to'](_0x546b71(0x1b2))}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x1230(_0x5e6e41,_0x4b3c5f){const _0x3c103f=_0x3c10();return _0x1230=function(_0x1230e8,_0x54939b){_0x1230e8=_0x1230e8-0x86;let _0x53298f=_0x3c103f[_0x1230e8];return _0x53298f;},_0x1230(_0x5e6e41,_0x4b3c5f);}const _0x148b69=_0x1230;(function(_0x3ef0ab,_0x287043){const _0x53fa33=_0x1230,_0x72de28=_0x3ef0ab();while(!![]){try{const _0x159fe5=parseInt(_0x53fa33(0x94))/0x1+parseInt(_0x53fa33(0x9d))/0x2*(parseInt(_0x53fa33(0xa7))/0x3)+parseInt(_0x53fa33(0x95))/0x4*(-parseInt(_0x53fa33(0xb3))/0x5)+-parseInt(_0x53fa33(0x8c))/0x6*(parseInt(_0x53fa33(0xad))/0x7)+parseInt(_0x53fa33(0xa5))/0x8+parseInt(_0x53fa33(0xbb))/0x9*(-parseInt(_0x53fa33(0xa1))/0xa)+-parseInt(_0x53fa33(0xbf))/0xb*(parseInt(_0x53fa33(0xb1))/0xc);if(_0x159fe5===_0x287043)break;else _0x72de28['push'](_0x72de28['shift']());}catch(_0x2e061c){_0x72de28['push'](_0x72de28['shift']());}}}(_0x3c10,0xc4bce));function _0x3c10(){const _0x3f8ec6=['bind','requestAnimationFrame','enter','ck-ai-form__toggle-history','element','window','31356ZBlfUY','_createSubmitButton','left','keystrokes','1683rJmhDm','rtl','showHistoryButtonView','set','width','isEnabled','submit','Submit','target','294QbitJU','focusLast','focusCycler','focusableChildren','execute','isVisible','isEmpty','value','528110DcdoXr','8nAgKOA','submitButtonView','locale','filteredView','resultsView','queryView','update','style','8QzDCmo','maxRows','History','ck-ai-form__submit','2400YzWcHb','uiLanguageDirection','fieldWrapperChildren','_createShowHistoryButton','5299384cSzzeD','focusFirst','1164669DCQTqQ','minRows','fire','right','children','fieldView','34916BukDFs','add','isOn','focus','62364XyFUYJ','excludeScrollbarsAndBorders','154685eHSJyW','render'];_0x3c10=function(){return _0x3f8ec6;};return _0x3c10();}import{Rect as _0x3a1bf0,global as _0x49ea69,isVisible as _0x125153}from'ckeditor5/src/utils.js';import{IconAIHistory as _0x4d68a4,IconSubmit as _0x4a4d2c}from'ckeditor5/src/icons.js';import{AutocompleteView as _0x2d607e,ButtonView as _0x1db19c}from'ckeditor5/src/ui.js';import{getTranslation as _0x5da1d9}from'../../utils/common-translations.js';export class AIFormPromptView extends _0x2d607e{[_0x148b69(0x96)];[_0x148b69(0xc1)];constructor(_0x4ce265,_0x46b0f5){const _0x23156d=_0x148b69;super(_0x4ce265,_0x46b0f5),this[_0x23156d(0x9a)][_0x23156d(0xac)][_0x23156d(0xa8)]=0x1,this[_0x23156d(0x9a)][_0x23156d(0xac)][_0x23156d(0x9e)]=0x3,this[_0x23156d(0x96)]=this[_0x23156d(0xbc)](),this[_0x23156d(0xc1)]=this[_0x23156d(0xa4)](),this[_0x23156d(0x8f)][_0x23156d(0xae)](this[_0x23156d(0xc1)],0x1),this[_0x23156d(0x8f)][_0x23156d(0xae)](this[_0x23156d(0x96)]);}[_0x148b69(0xb4)](){const _0x3b5aa9=_0x148b69;super[_0x3b5aa9(0xb4)](),this[_0x3b5aa9(0x9a)][_0x3b5aa9(0xa3)][_0x3b5aa9(0xae)](this[_0x3b5aa9(0xc1)]),this[_0x3b5aa9(0xab)][_0x3b5aa9(0xae)](this[_0x3b5aa9(0x96)]),this[_0x3b5aa9(0xbe)][_0x3b5aa9(0x86)](_0x3b5aa9(0xb7),(_0x4794bb,_0x165c8e)=>{const _0x13b38d=_0x3b5aa9;_0x4794bb[_0x13b38d(0x8b)]==this[_0x13b38d(0x9a)][_0x13b38d(0xac)][_0x13b38d(0xb9)]&&(this[_0x13b38d(0x89)](),_0x165c8e());});}[_0x148b69(0xbc)](){const _0x403b32=_0x148b69,_0x144c12=new _0x1db19c(this[_0x403b32(0x97)]),_0xaabec9=this[_0x403b32(0x97)];return _0x144c12[_0x403b32(0x86)]({'icon':_0x4a4d2c,'label':_0x5da1d9(_0xaabec9,_0x403b32(0x8a)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x403b32(0xa0)}),_0x144c12['on'](_0x403b32(0x90),()=>{const _0x12e1fd=_0x403b32;this[_0x12e1fd(0x89)]();}),_0x144c12[_0x403b32(0xb5)](_0x403b32(0x88))['to'](this[_0x403b32(0x9a)][_0x403b32(0xac)],_0x403b32(0x92),this,_0x403b32(0x88),(_0x2f0e08,_0x12d038)=>!_0x2f0e08&&_0x12d038),_0x144c12;}[_0x148b69(0xa4)](){const _0xd11a5=_0x148b69,_0x34f29e=new _0x1db19c(this[_0xd11a5(0x97)]),_0x40f3b9=this[_0xd11a5(0x99)],_0x5759c2=this[_0xd11a5(0x97)];_0x34f29e[_0xd11a5(0x86)]({'label':_0x5da1d9(_0x5759c2,_0xd11a5(0x9f)),'withText':!0x1,'icon':_0x4d68a4,'tooltip':!0x0,'tooltipPosition':'sw','class':_0xd11a5(0xb8)}),_0x34f29e[_0xd11a5(0xb5)](_0xd11a5(0xaf))['to'](_0x40f3b9,_0xd11a5(0x91)),_0x34f29e[_0xd11a5(0xb5)](_0xd11a5(0x88))['to'](this,_0xd11a5(0x88)),_0x34f29e['on'](_0xd11a5(0x90),()=>{const _0x43f238=_0xd11a5;_0x40f3b9[_0x43f238(0x91)]=!_0x40f3b9[_0x43f238(0x91)],_0x40f3b9[_0x43f238(0x91)]?this[_0x43f238(0x98)][_0x43f238(0xb0)]():this[_0x43f238(0xb0)]();});const _0x507676=()=>{const _0x313835=_0xd11a5;_0x49ea69[_0x313835(0xba)][_0x313835(0xb6)](()=>{const _0x14f068=_0x313835;if(_0x125153(this[_0x14f068(0xb9)])){const _0x13906a=new _0x3a1bf0(this[_0x14f068(0x9a)][_0x14f068(0xac)][_0x14f068(0xb9)]),_0x4fcc00=_0x13906a[_0x14f068(0x87)],_0x5658ff=_0x14f068(0xc0)===_0x5759c2[_0x14f068(0xa2)]?_0x14f068(0xbd):_0x14f068(0xaa);_0x13906a[_0x14f068(0xb2)](),_0x34f29e[_0x14f068(0xb9)][_0x14f068(0x9c)][_0x5658ff]=_0x4fcc00-_0x13906a[_0x14f068(0x87)]+0x1+'px';}});};return this[_0xd11a5(0x9a)][_0xd11a5(0xac)]['on'](_0xd11a5(0x9b),_0x507676),this['on'](_0xd11a5(0xb4),_0x507676),_0x34f29e;}[_0x148b69(0x89)](){const _0x4f4347=_0x148b69,_0x128221=this[_0x4f4347(0x9a)][_0x4f4347(0xac)][_0x4f4347(0xb9)][_0x4f4347(0x93)];this[_0x4f4347(0xa9)](_0x4f4347(0x89),_0x128221);}[_0x148b69(0xb0)](_0xce97dc){const _0x369fe3=_0x148b69;-0x1===_0xce97dc?this[_0x369fe3(0x8e)][_0x369fe3(0x8d)]():this[_0x369fe3(0x8e)][_0x369fe3(0xa6)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x7f132f=_0x1f14;function _0x1f14(_0x2ef20b,_0x452bb0){const _0xa82f48=_0xa82f();return _0x1f14=function(_0x1f14e7,_0x32943c){_0x1f14e7=_0x1f14e7-0x111;let _0x3c873e=_0xa82f48[_0x1f14e7];return _0x3c873e;},_0x1f14(_0x2ef20b,_0x452bb0);}(function(_0x2c449a,_0x315cee){const _0x2b74c2=_0x1f14,_0x2aed8d=_0x2c449a();while(!![]){try{const _0x20ad22=-parseInt(_0x2b74c2(0x128))/0x1+parseInt(_0x2b74c2(0x117))/0x2+parseInt(_0x2b74c2(0x122))/0x3+parseInt(_0x2b74c2(0x120))/0x4+parseInt(_0x2b74c2(0x12a))/0x5+parseInt(_0x2b74c2(0x118))/0x6+-parseInt(_0x2b74c2(0x11c))/0x7*(parseInt(_0x2b74c2(0x11f))/0x8);if(_0x20ad22===_0x315cee)break;else _0x2aed8d['push'](_0x2aed8d['shift']());}catch(_0x525038){_0x2aed8d['push'](_0x2aed8d['shift']());}}}(_0xa82f,0x8da6f));function _0xa82f(){const _0x12a053=['_CONTENT','stopButton','isVisible','_createButton','replaceButton','REPLACE','locale','ck-hidden','replace','label','ck-button-action','ck-ai-form__toolbar','767418ByNXEF','3556620sBVasL','tryAgainButton','items','set','35kayGAU','Try\x20again','bind','1862024EUbAoS','2918400GuUdLk','bindTemplate','1187229LChZYm','addMany','mainAction','AI_','insertButton','extendTemplate','965972xDQRQt','toUpperCase','3040610NYglam','insert','Stop','Insert\x20below'];_0xa82f=function(){return _0x12a053;};return _0xa82f();}import{ToolbarView as _0x105710,ButtonView as _0x329e74}from'ckeditor5/src/ui.js';import{getTranslation as _0xc01c83}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x7f132f(0x113),'INSERT':_0x7f132f(0x12b)};export class AIFormToolbarView extends _0x105710{constructor(_0x2e7a25){const _0x535d5d=_0x7f132f;super(_0x2e7a25),this[_0x535d5d(0x11b)](_0x535d5d(0x130),!0x1),this[_0x535d5d(0x11b)](_0x535d5d(0x124),AIFormToolbarViewMainActionLabel[_0x535d5d(0x133)]),this[_0x535d5d(0x132)]=this[_0x535d5d(0x131)]('',_0x535d5d(0x115)),this[_0x535d5d(0x132)][_0x535d5d(0x11e)](_0x535d5d(0x114))['to'](this,_0x535d5d(0x124),_0x52c10e=>_0xc01c83(_0x2e7a25,_0x535d5d(0x125)+_0x52c10e[_0x535d5d(0x129)]()+_0x535d5d(0x12e))),this[_0x535d5d(0x126)]=this[_0x535d5d(0x131)](_0xc01c83(_0x2e7a25,_0x535d5d(0x12d))),this[_0x535d5d(0x119)]=this[_0x535d5d(0x131)](_0xc01c83(_0x2e7a25,_0x535d5d(0x11d))),this[_0x535d5d(0x12f)]=this[_0x535d5d(0x131)](_0xc01c83(_0x2e7a25,_0x535d5d(0x12c)));const _0x39ce1d=this[_0x535d5d(0x121)];this[_0x535d5d(0x127)]({'attributes':{'class':[_0x535d5d(0x116),_0x39ce1d['if'](_0x535d5d(0x130),_0x535d5d(0x112),_0x56d889=>!_0x56d889)]}}),this[_0x535d5d(0x11a)][_0x535d5d(0x123)]([this[_0x535d5d(0x132)],this[_0x535d5d(0x126)],this[_0x535d5d(0x119)],this[_0x535d5d(0x12f)]]);}[_0x7f132f(0x131)](_0x307ad8,_0x3071df){const _0x362679=_0x7f132f,_0x343ceb=new _0x329e74(this[_0x362679(0x111)]);return _0x343ceb[_0x362679(0x11b)]({'label':_0x307ad8,'class':_0x3071df||'','isVisible':!0x0,'withText':!0x0}),_0x343ceb;}}
|