@ckeditor/ckeditor5-ai 47.7.0 → 47.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/dist/index.js +5 -5
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +15 -15
- package/src/aiactions/aiactions.js +1 -1
- package/src/aiactions/model/aiactionsinteraction.js +1 -1
- package/src/aiactions/model/aiactionsreply.js +1 -1
- package/src/aiassistant/adapters/aiadapter.js +1 -1
- package/src/aiassistant/adapters/aitextadapter.js +1 -1
- package/src/aiassistant/adapters/awstextadapter.js +1 -1
- package/src/aiassistant/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant/aiassistant.js +1 -1
- package/src/aiassistant/aiassistantediting.js +1 -1
- package/src/aiassistant/aiassistantui.js +1 -1
- package/src/aiassistant/legacyerrors.js +1 -1
- package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
- package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
- package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
- package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
- package/src/aiassistant/ui/form/aiformview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
- package/src/aiassistant/ui/form/prompthistory.js +1 -1
- package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
- package/src/aiassistant/utils/common-translations.js +1 -1
- package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
- package/src/aiballoon/aiballoon.js +1 -1
- package/src/aiballoon/ui/aiballoonview.js +1 -1
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatballoon.js +1 -1
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/ui/aichatballoonview.js +1 -1
- package/src/aichat/ui/aichatcontrolsview.js +1 -1
- package/src/aichat/ui/aichatfeedview.js +1 -1
- package/src/aichat/ui/aichatheaderview.js +1 -1
- package/src/aichat/ui/aichatview.js +1 -1
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
- package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
- package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcustomelementview.js +1 -1
- package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
- package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
- package/src/aichat/utils/eventnames.js +1 -1
- package/src/aichat/utils/promisequeue.js +1 -1
- package/src/aichathistory/aichathistory.js +1 -1
- package/src/aichathistory/aichathistorycontroller.js +1 -1
- package/src/aichathistory/aichathistoryui.js +1 -1
- package/src/aichathistory/model/aichathistoryconversations.js +1 -1
- package/src/aichathistory/model/aichathistoryitem.js +1 -1
- package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
- package/src/aichathistory/ui/aichathistorylistview.js +1 -1
- package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
- package/src/aichathistory/ui/aichathistoryview.js +1 -1
- package/src/aichatshortcuts/aichatshortcuts.js +1 -1
- package/src/aichatshortcuts/ui/aichatshortcutsview.js +1 -1
- package/src/aichatshortcuts/ui/aichatshortcutview.js +1 -1
- package/src/aicore/aiconnector.js +1 -1
- package/src/aicore/aiediting.js +1 -1
- package/src/aicore/model/aicapabilities.js +1 -1
- package/src/aicore/model/aicontext.js +1 -1
- package/src/aicore/model/aiinteraction.js +1 -1
- package/src/aicore/model/aimodels.js +1 -1
- package/src/aicore/model/aireply.js +1 -1
- package/src/aicore/pipeline/airesponseapplier.js +2 -2
- package/src/aicore/pipeline/airesponseparser.js +2 -2
- package/src/aicore/ui/aidisclaimerview.js +1 -1
- package/src/aicore/ui/aiskeleton.js +1 -1
- package/src/aicore/ui/aispinner.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartheaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.js +1 -1
- package/src/aicore/utils/common-translations.js +1 -1
- package/src/aicore/utils/createresizebutton.js +1 -1
- package/src/aicore/utils/documentposition.js +1 -1
- package/src/aicore/utils/documentrange.js +1 -1
- package/src/aicore/utils/eventnames.js +1 -1
- package/src/aicore/utils/geteditorfromcontext.js +1 -1
- package/src/aicore/utils/getoperationsfromreply.js +1 -1
- package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
- package/src/aicore/utils/htmlparser.js +1 -1
- package/src/aicore/utils/htmlstreamer.js +1 -1
- package/src/aicore/utils/scrollmanager.js +1 -1
- package/src/aieditorintegration/aieditorintegration.js +1 -1
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
- package/src/aiquickactions/aiquickactions.js +1 -1
- package/src/aiquickactions/aiquickactionscommand.js +1 -1
- package/src/aiquickactions/aiquickactionsediting.js +1 -1
- package/src/aiquickactions/aiquickactionsui.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoondisclaimerview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoontoolbarview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoonview.js +1 -1
- package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
- package/src/aireviewcore/aireviewcorecontroller.js +1 -1
- package/src/aireviewcore/aireviewcoreediting.js +1 -1
- package/src/aireviewcore/aireviewcoreui.js +1 -1
- package/src/aireviewcore/model/aireviewcheck.js +1 -1
- package/src/aireviewcore/model/aireviewchecklist.js +1 -1
- package/src/aireviewcore/model/aireviewcheckresult.js +1 -1
- package/src/aireviewcore/model/aireviewcheckresultchange.js +1 -1
- package/src/aireviewcore/model/aireviewcheckrun.js +1 -1
- package/src/aireviewcore/model/aireviewsystemcheckrun.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreballoonsuggestionview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorechecklistitemresultview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorecustomcheckview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorefinishreviewbuttonview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoregeneralerrorview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorepromptinputview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewchecklistview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewcommandlistitemview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewcompletedview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreuicheckresultsview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreview.js +1 -1
- package/src/aireviewcore/ui/form/aireviewcoreformdropdown.js +1 -1
- package/src/aireviewcore/ui/form/aireviewcoreformmanager.js +1 -1
- package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
- package/src/aireviewmode/aireviewmode.js +1 -1
- package/src/aireviewmode/aireviewmodecontroller.js +1 -1
- package/src/aireviewmode/aireviewmodeui.js +1 -1
- package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
- package/src/aireviewmode/model/aireviewcheckextra.js +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewextracheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewmodechecklist.js +1 -1
- package/src/aitabs/aitabs.js +1 -1
- package/src/aitabs/aitabsmainview.js +1 -1
- package/src/aitabs/tabs/aitabsview.js +1 -1
- package/src/aitabs/tabs/tabbuttonview.js +1 -1
- package/src/aitabs/tabs/tabpanelview.js +1 -1
- package/src/aitranslate/aitranslate.js +1 -1
- package/src/aitranslate/aitranslatecontroller.js +1 -1
- package/src/aitranslate/aitranslateui.js +1 -1
- package/src/aitranslate/model/aitranslatecheck.js +1 -1
- package/src/aitranslate/model/aitranslatechecklist.js +1 -1
- package/src/aitranslate/model/aitranslatecheckrun.js +1 -1
- package/src/aitranslate/ui/aitranslatechecklistview.js +1 -1
- package/src/aitranslate/ui/aitranslatecheckresultsview.js +1 -1
- package/src/errors.js +1 -1
- package/src/errorsmap.js +1 -1
- package/src/index.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x52e8ac=_0x190f;(function(_0x26a814,_0x5db4ab){var _0x2c260f=_0x190f,_0x37d07d=_0x26a814();while(!![]){try{var _0x13d2fd=parseInt(_0x2c260f(0x1a9))/0x1+parseInt(_0x2c260f(0x1ad))/0x2*(parseInt(_0x2c260f(0x1a2))/0x3)+-parseInt(_0x2c260f(0x1a0))/0x4*(parseInt(_0x2c260f(0x1b1))/0x5)+parseInt(_0x2c260f(0x1ab))/0x6*(parseInt(_0x2c260f(0x1a1))/0x7)+-parseInt(_0x2c260f(0x1a8))/0x8*(-parseInt(_0x2c260f(0x19f))/0x9)+-parseInt(_0x2c260f(0x1af))/0xa*(parseInt(_0x2c260f(0x19e))/0xb)+-parseInt(_0x2c260f(0x1a3))/0xc;if(_0x13d2fd===_0x5db4ab)break;else _0x37d07d['push'](_0x37d07d['shift']());}catch(_0x45c70b){_0x37d07d['push'](_0x37d07d['shift']());}}}(_0xfc48,0xa73e2));import{Plugin as _0x5ce54b}from'ckeditor5/src/core.js';function _0x190f(_0x2ed5a1,_0x14d7b6){var _0xfc48e3=_0xfc48();return _0x190f=function(_0x190f36,_0x37a929){_0x190f36=_0x190f36-0x19d;var _0xa8a8f3=_0xfc48e3[_0x190f36];return _0xa8a8f3;},_0x190f(_0x2ed5a1,_0x14d7b6);}function _0xfc48(){var _0x1880d2=['AIRequestError','4062750DMOjdl','isOfficialPlugin','14bBKCAB','textAdapter','46010pRUGpI','pluginName','531985zjayMV','name','1672bgnbgx','696375zLFoGK','20WzamMy','7IHSNLp','488865wPUWkm','14031168tYrGJB','isPremiumPlugin','AIAdapter','afterInit','aiadapter-text-adapter-not-set','128SzdyMh','29817giZLwC'];_0xfc48=function(){return _0x1880d2;};return _0xfc48();}import{CKEditorError as _0x1af781}from'ckeditor5/src/utils.js';export class AIAdapter extends _0x5ce54b{static get[_0x52e8ac(0x1b0)](){var _0x2e7d54=_0x52e8ac;return _0x2e7d54(0x1a5);}static get[_0x52e8ac(0x1ac)](){return!0x0;}static get[_0x52e8ac(0x1a4)](){return!0x0;}[_0x52e8ac(0x1a6)](){var _0x35de1e=_0x52e8ac;if(!this[_0x35de1e(0x1ae)])throw new _0x1af781(_0x35de1e(0x1a7),null);}}export class AIRequestError extends Error{constructor(_0x2b938f){var _0x4a2cad=_0x52e8ac;super(_0x2b938f),this[_0x4a2cad(0x19d)]=_0x4a2cad(0x1aa);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x154a62=_0x37a6;(function(_0x26db3c,_0x3c3a96){const _0x109220=_0x37a6,_0x47f309=_0x26db3c();while(!![]){try{const _0xe7f6b=-parseInt(_0x109220(0x203))/0x1*(parseInt(_0x109220(0x1fe))/0x2)+-parseInt(_0x109220(0x1e6))/0x3*(-parseInt(_0x109220(0x1e8))/0x4)+-parseInt(_0x109220(0x1f3))/0x5*(-parseInt(_0x109220(0x1fd))/0x6)+parseInt(_0x109220(0x207))/0x7+-parseInt(_0x109220(0x1f4))/0x8+-parseInt(_0x109220(0x1e7))/0x9*(-parseInt(_0x109220(0x1e2))/0xa)+parseInt(_0x109220(0x1f8))/0xb*(-parseInt(_0x109220(0x200))/0xc);if(_0xe7f6b===_0x3c3a96)break;else _0x47f309['push'](_0x47f309['shift']());}catch(_0x438d60){_0x47f309['push'](_0x47f309['shift']());}}}(_0x5d13,0x6ce36));import{Plugin as _0x1f237c}from'ckeditor5/src/core.js';import{CKEditorError as _0x5f2b02}from'ckeditor5/src/utils.js';function _0x5d13(){const _0x321a16=['6772680wVWeDh','error','requires','application/json','11vNujdu','signal','AI_ERROR_GET_PARAMETERS','makeRequest','editor','18cDiqJj','33094nMoNuZ','_prepareRequestHeaders','11647884hTsXzq','textAdapter','get','25nNkPnk','AI_ERROR_GET_HEADERS','AbortError','assign','3075296CCXGOq','reject','10OphZdI','resolve','plugins','catch','685779LsHsfD','6035283UJAfVO','12iJzAMq','aborted','locale','object','abort','name','sendRequest','aitextadapter-send-request-failed','init','abortController','_prepareRequestParameters','1468715nXsBKR'];_0x5d13=function(){return _0x321a16;};return _0x5d13();}import{AIAdapter as _0x2cae73,AIRequestError as _0x27835d}from'./aiadapter.js';import{getTranslation as _0x5e13f3}from'../utils/common-translations.js';function _0x37a6(_0x441c44,_0x4db0d5){const _0x5d1333=_0x5d13();return _0x37a6=function(_0x37a6ab,_0x337243){_0x37a6ab=_0x37a6ab-0x1e2;let _0x16142a=_0x5d1333[_0x37a6ab];return _0x16142a;},_0x37a6(_0x441c44,_0x4db0d5);}export class AITextAdapter extends _0x1f237c{[_0x154a62(0x1f1)];static get[_0x154a62(0x1f6)](){return[_0x2cae73];}constructor(_0x7a2dad){const _0x297cd4=_0x154a62;super(_0x7a2dad),this[_0x297cd4(0x1f1)]=new AbortController();}[_0x154a62(0x1f0)](){const _0x53e6df=_0x154a62;this[_0x53e6df(0x1fc)][_0x53e6df(0x1e4)][_0x53e6df(0x202)](_0x2cae73)[_0x53e6df(0x201)]=this;}[_0x154a62(0x1ec)](){const _0x39f383=_0x154a62;this[_0x39f383(0x1f1)][_0x39f383(0x1f9)][_0x39f383(0x1e9)]||(this[_0x39f383(0x1f1)][_0x39f383(0x1ec)](),this[_0x39f383(0x1f1)]=new AbortController());}async[_0x154a62(0x1fb)](_0x25c590){const _0x4f4e2a=_0x154a62;return this[_0x4f4e2a(0x1ee)](_0x25c590)[_0x4f4e2a(0x1e5)](_0xeb256a=>{const _0x1fecd5=_0x4f4e2a;if(_0xeb256a instanceof _0x27835d)return Promise[_0x1fecd5(0x208)](_0xeb256a);if(_0x1fecd5(0x205)==_0xeb256a[_0x1fecd5(0x1ed)])return Promise[_0x1fecd5(0x1e3)]();throw console[_0x1fecd5(0x1f5)](_0xeb256a),new _0x5f2b02(_0x1fecd5(0x1ef),null);});}async[_0x154a62(0x1ff)](_0x2a3b96,_0x680127){const _0x53e57a=_0x154a62,_0x321717=this[_0x53e57a(0x1fc)][_0x53e57a(0x1ea)],_0xdf0a17={'Content-Type':_0x53e57a(0x1f7)};if(_0x53e57a(0x1eb)==typeof _0x2a3b96)Object[_0x53e57a(0x206)](_0xdf0a17,_0x2a3b96);else{if(_0x2a3b96)try{const _0x31310d=await _0x2a3b96(_0x680127);Object[_0x53e57a(0x206)](_0xdf0a17,_0x31310d);}catch{return Promise[_0x53e57a(0x208)](new _0x27835d(_0x5e13f3(_0x321717,_0x53e57a(0x204))));}}return _0xdf0a17;}async[_0x154a62(0x1f2)](_0x24c7e6,_0x1dd0f3){const _0x3d02ec=_0x154a62,_0x3e7c9b=this[_0x3d02ec(0x1fc)][_0x3d02ec(0x1ea)];if(_0x3d02ec(0x1eb)==typeof _0x24c7e6)return _0x24c7e6;try{return await _0x24c7e6(_0x1dd0f3);}catch{return Promise[_0x3d02ec(0x208)](new _0x27835d(_0x5e13f3(_0x3e7c9b,_0x3d02ec(0x1fa))));}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x173e2a=_0x1186;(function(_0x470875,_0x379b9f){var _0x56e2db=_0x1186,_0x434751=_0x470875();while(!![]){try{var _0x56285d=parseInt(_0x56e2db(0x129))/0x1+parseInt(_0x56e2db(0x133))/0x2+parseInt(_0x56e2db(0x134))/0x3*(parseInt(_0x56e2db(0x12c))/0x4)+parseInt(_0x56e2db(0x139))/0x5+parseInt(_0x56e2db(0x130))/0x6*(parseInt(_0x56e2db(0x12b))/0x7)+parseInt(_0x56e2db(0x12a))/0x8+-parseInt(_0x56e2db(0x12f))/0x9;if(_0x56285d===_0x379b9f)break;else _0x434751['push'](_0x434751['shift']());}catch(_0x5570cc){_0x434751['push'](_0x434751['shift']());}}}(_0x2eb8,0xbaf93));function _0x2eb8(){var _0x49c01b=['5738344TKRcPP','63uygkDk','29116TTkHyr','locale','ai-aws-adapter-not-supported','32950710juQiqP','947046scusKZ','pluginName','editor','956654HBuZsh','300GQJOIm','AWSTextAdapter','AI_ERROR_AWS_NOT_SUPPORTED','sendRequest','init','1337500gvcXeu','815444CoJXkb'];_0x2eb8=function(){return _0x49c01b;};return _0x2eb8();}import{AITextAdapter as _0x29af04}from'./aitextadapter.js';import{AIRequestError as _0x9bb9a2}from'./aiadapter.js';function _0x1186(_0x293701,_0x53b036){var _0x2eb8ef=_0x2eb8();return _0x1186=function(_0x1186eb,_0x7a26d6){_0x1186eb=_0x1186eb-0x129;var _0x2aaa1c=_0x2eb8ef[_0x1186eb];return _0x2aaa1c;},_0x1186(_0x293701,_0x53b036);}import{getTranslation as _0x4a7b6f}from'../utils/common-translations.js';import{logWarning as _0x489b64,logError as _0x3d7c97}from'ckeditor5/src/utils.js';export class AWSTextAdapter extends _0x29af04{static get[_0x173e2a(0x131)](){var _0x33d6b9=_0x173e2a;return _0x33d6b9(0x135);}[_0x173e2a(0x138)](){var _0x3a2ad5=_0x173e2a;super[_0x3a2ad5(0x138)](),_0x489b64(_0x3a2ad5(0x12e));}async[_0x173e2a(0x137)](_0x1e0084){var _0x224419=_0x173e2a;throw _0x3d7c97(_0x224419(0x12e)),new _0x9bb9a2(_0x4a7b6f(this[_0x224419(0x132)][_0x224419(0x12d)],_0x224419(0x136)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x1abac0=_0x34ff;(function(_0x451d18,_0x247b2c){const _0x288620=_0x34ff,_0x550a3a=_0x451d18();while(!![]){try{const _0x49b88a=-parseInt(_0x288620(0x167))/0x1+-parseInt(_0x288620(0x179))/0x2*(parseInt(_0x288620(0x16b))/0x3)+parseInt(_0x288620(0x164))/0x4*(-parseInt(_0x288620(0x141))/0x5)+-parseInt(_0x288620(0x180))/0x6*(parseInt(_0x288620(0x14b))/0x7)+parseInt(_0x288620(0x15a))/0x8+-parseInt(_0x288620(0x157))/0x9*(-parseInt(_0x288620(0x142))/0xa)+parseInt(_0x288620(0x16a))/0xb*(parseInt(_0x288620(0x147))/0xc);if(_0x49b88a===_0x247b2c)break;else _0x550a3a['push'](_0x550a3a['shift']());}catch(_0x1c7fe0){_0x550a3a['push'](_0x550a3a['shift']());}}}(_0xfb75,0xae17c));function _0x34ff(_0x145f7c,_0xf9dcb2){const _0xfb75d1=_0xfb75();return _0x34ff=function(_0x34ffda,_0x5d632a){_0x34ffda=_0x34ffda-0x139;let _0x12a0d5=_0xfb75d1[_0x34ffda];return _0x12a0d5;},_0x34ff(_0x145f7c,_0xf9dcb2);}import{AITextAdapter as _0x3c9403}from'./aitextadapter.js';import{AIRequestError as _0x2bad83}from'./aiadapter.js';import{getTranslation as _0x16ec2e}from'../utils/common-translations.js';export class OpenAITextAdapter extends _0x3c9403{[_0x1abac0(0x14d)];[_0x1abac0(0x145)];[_0x1abac0(0x161)];static get[_0x1abac0(0x15d)](){const _0x227f29=_0x1abac0;return _0x227f29(0x14f);}constructor(_0x4d70e1){const _0x4b5691=_0x1abac0;super(_0x4d70e1),_0x4d70e1[_0x4b5691(0x144)][_0x4b5691(0x15b)](_0x4b5691(0x174),_0x4b5691(0x16f)),_0x4d70e1[_0x4b5691(0x144)][_0x4b5691(0x171)](_0x4b5691(0x16c))||_0x4d70e1[_0x4b5691(0x144)][_0x4b5691(0x15b)](_0x4b5691(0x16c),{'model':_0x4b5691(0x146),'temperature':0x1,'top_p':0x1,'stream':!0x0}),this[_0x4b5691(0x14d)]=_0x4d70e1[_0x4b5691(0x144)][_0x4b5691(0x171)](_0x4b5691(0x174)),this[_0x4b5691(0x145)]=_0x4d70e1[_0x4b5691(0x144)][_0x4b5691(0x171)](_0x4b5691(0x176))||{},this[_0x4b5691(0x161)]=_0x4d70e1[_0x4b5691(0x144)][_0x4b5691(0x171)](_0x4b5691(0x16c));}async[_0x1abac0(0x159)]({query:_0x18c2a9,context:_0x15510c,onData:_0x71e6a2,actionId:_0x85daf8}){const _0x10e1bf=_0x1abac0,_0x369a0f=this[_0x10e1bf(0x170)][_0x10e1bf(0x154)],_0x1cfc1a=await this[_0x10e1bf(0x13c)](_0x18c2a9,_0x15510c,_0x85daf8),_0x322a2c=await this[_0x10e1bf(0x172)](this[_0x10e1bf(0x145)],_0x85daf8),_0x2cc8d9=await this[_0x10e1bf(0x15e)](this[_0x10e1bf(0x161)],_0x85daf8),_0x55923c={'messages':_0x1cfc1a,..._0x2cc8d9},_0x6fc555={'method':_0x10e1bf(0x13b),'headers':_0x322a2c,'body':JSON[_0x10e1bf(0x160)](_0x55923c),'signal':this[_0x10e1bf(0x175)][_0x10e1bf(0x13a)]},_0x4ab719=await fetch(this[_0x10e1bf(0x14d)],_0x6fc555);if(_0x4ab719['ok'])return _0x2cc8d9[_0x10e1bf(0x163)]?await this[_0x10e1bf(0x148)](_0x4ab719,_0x71e6a2):await this[_0x10e1bf(0x150)](_0x4ab719,_0x71e6a2),Promise[_0x10e1bf(0x177)]();{const _0x4b9e96=await _0x4ab719[_0x10e1bf(0x168)]();return _0x4b9e96[_0x10e1bf(0x158)](_0x10e1bf(0x140))?Promise[_0x10e1bf(0x17a)](new _0x2bad83(_0x16ec2e(_0x369a0f,_0x10e1bf(0x17f)))):_0x4b9e96[_0x10e1bf(0x158)](_0x10e1bf(0x17c))?Promise[_0x10e1bf(0x17a)](new _0x2bad83(_0x16ec2e(_0x369a0f,_0x10e1bf(0x155)))):Promise[_0x10e1bf(0x17a)](new Error(_0x4b9e96));}}async[_0x1abac0(0x13c)](_0x493a24,_0x4253fb,_0x32200c){const _0x1cd117=_0x1abac0;let _0x15de61,_0x29ff9b;return _0x4253fb?(_0x15de61=_0x1cd117(0x153),_0x29ff9b=_0x1cd117(0x166)+_0x493a24+_0x1cd117(0x15f)+_0x4253fb):(_0x15de61=_0x1cd117(0x143),_0x29ff9b=_0x493a24),[{'role':_0x1cd117(0x139),'content':_0x15de61},{'role':_0x1cd117(0x178),'content':_0x29ff9b}];}async[_0x1abac0(0x148)](_0x9afb40,_0x481224){const _0x4aeae7=_0x1abac0,_0x42eab0=_0x9afb40[_0x4aeae7(0x149)][_0x4aeae7(0x13f)](),_0x1a1bd7=new TextDecoder();let _0x4f5e11='',_0x4f50d3='',_0x22f2d7='',_0x2350f8=!0x1;for(;!_0x2350f8;){const {done:_0x5699d8,value:_0x45ef72}=await _0x42eab0[_0x4aeae7(0x16d)](),_0x39f9ab=_0x4f5e11+_0x1a1bd7[_0x4aeae7(0x16e)](_0x45ef72);let _0x311726='';_0x2350f8=_0x5699d8;try{_0x311726=this[_0x4aeae7(0x169)](_0x39f9ab),_0x4f5e11='';}catch{_0x4f5e11=_0x39f9ab;continue;}_0x4f50d3+=_0x311726,!_0x2350f8&&this[_0x4aeae7(0x17b)](_0x4f50d3)||_0x4f50d3&&(_0x22f2d7+=_0x4f50d3,_0x4f50d3='',_0x481224(_0x22f2d7));}return Promise[_0x4aeae7(0x177)]();}async[_0x1abac0(0x150)](_0x2d5543,_0x25cdbb){const _0x1326e9=_0x1abac0;return _0x25cdbb((await _0x2d5543[_0x1326e9(0x152)]())[_0x1326e9(0x14c)][0x0][_0x1326e9(0x13e)][_0x1326e9(0x173)]),Promise[_0x1326e9(0x177)]();}[_0x1abac0(0x17b)](_0x44f4ed){const _0x1b1d16=_0x1abac0,_0x1ba4b2=_0x44f4ed[_0x1b1d16(0x151)]('<')[_0x1b1d16(0x17d)]!==_0x44f4ed[_0x1b1d16(0x151)]('>')[_0x1b1d16(0x17d)],_0x2b071d=_0x44f4ed[_0x1b1d16(0x17d)]<0x1e;return _0x1ba4b2&&_0x2b071d;}[_0x1abac0(0x169)](_0x190e85){const _0x403706=_0x1abac0;return _0x190e85[_0x403706(0x151)](/\n(?![^{]*\})/g)[_0x403706(0x156)](_0x4ceecc=>_0x4ceecc[_0x403706(0x14e)](_0x403706(0x165),''))[_0x403706(0x14a)](_0x353bec=>_0x353bec&&_0x353bec[_0x403706(0x17d)]>0x0&&_0x403706(0x162)!==_0x353bec)[_0x403706(0x156)](_0x560716=>{const _0x282e12=_0x403706,{choices:_0x492e06}=JSON[_0x282e12(0x17e)](_0x560716);if(_0x492e06[0x0]?.[_0x282e12(0x15c)]?.[_0x282e12(0x173)])return _0x492e06[0x0][_0x282e12(0x15c)][_0x282e12(0x173)];})[_0x403706(0x14a)](_0xe29dd4=>_0xe29dd4)[_0x403706(0x13d)]('');}}function _0xfb75(){const _0x1f84cd=['ai.assistant.adapter.openAI.requestParameters','read','decode','https://api.openai.com/v1/chat/completions','editor','get','_prepareRequestHeaders','content','ai.assistant.adapter.openAI.apiUrl','abortController','ai.assistant.adapter.openAI.requestHeaders','resolve','user','2393666eONgaj','reject','_isBufferIncomplete','Moderation','length','parse','AI_ERROR_CONTEXT_LENGTH','102AFJgeG','system','signal','POST','prepareMessages','join','message','getReader','context_length_exceeded','3615npzfBv','1770ntCeza','Your\x20task\x20is\x20to\x20generate\x20HTML\x20content\x20accordingly\x20to\x20the\x20given\x20instruction.\x20Never\x20include\x20<img>\x20tag\x20in\x20your\x20response\x20even\x20if\x20asked\x20for.\x20Your\x20answer\x20must\x20be\x20a\x20well-structured\x20and\x20properly\x20formatted\x20HTML\x20code.\x20Answer\x20only\x20with\x20the\x20generated\x20HTML\x20content.\x20Do\x20not\x20add\x20any\x20additional\x20remarks\x20or\x20notes.\x20Do\x20not\x20act\x20like\x20a\x20chatbot\x20or\x20a\x20real\x20person.','config','_requestHeaders','gpt-4o','1356AaRlDy','_readStreamableResponse','body','filter','511378RyaFPh','choices','_apiUrl','replace','OpenAITextAdapter','_readStaticResponse','split','json','Your\x20task\x20is\x20to\x20execute\x20the\x20instruction\x20using\x20the\x20provided\x20HTML\x20content.\x20Follow\x20the\x20instruction\x20closely.\x20Your\x20answer\x20must\x20be\x20a\x20properly\x20formatted\x20HTML\x20code.\x20Do\x20not\x20add\x20any\x20additional\x20remarks\x20or\x20notes.\x20Do\x20not\x20act\x20like\x20a\x20chatbot\x20or\x20a\x20real\x20person.','locale','AI_ERROR_MODERATION','map','5931aefxSS','includes','sendRequest','4966888HPgynT','define','delta','pluginName','_prepareRequestParameters','\x0aYou\x20must\x20keep\x20the\x20text\x20formatting.\x0a\x0aContent:\x0a','stringify','_requestParameters','[DONE]','stream','3176xwTkoI','data:\x20','Instruction:\x0a','311998fGJPvT','text','_cleanUpData','321277boXEtD','3tsFBdl'];_0xfb75=function(){return _0x1f84cd;};return _0xfb75();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x561081=_0xfc7d;(function(_0x14ef0d,_0x194734){const _0x23b906=_0xfc7d,_0x10329=_0x14ef0d();while(!![]){try{const _0xe99fe3=parseInt(_0x23b906(0x1cf))/0x1+parseInt(_0x23b906(0x173))/0x2*(parseInt(_0x23b906(0x1be))/0x3)+-parseInt(_0x23b906(0x1d4))/0x4*(parseInt(_0x23b906(0x1bc))/0x5)+parseInt(_0x23b906(0x16d))/0x6+parseInt(_0x23b906(0x18a))/0x7+-parseInt(_0x23b906(0x166))/0x8+-parseInt(_0x23b906(0x19c))/0x9*(-parseInt(_0x23b906(0x1c6))/0xa);if(_0xe99fe3===_0x194734)break;else _0x10329['push'](_0x10329['shift']());}catch(_0x4d3ea8){_0x10329['push'](_0x10329['shift']());}}}(_0x5191,0x9af95));function _0xfc7d(_0x59fe23,_0x9f6c5d){const _0x519117=_0x5191();return _0xfc7d=function(_0xfc7d27,_0x1bc620){_0xfc7d27=_0xfc7d27-0x166;let _0x5dea4=_0x519117[_0xfc7d27];return _0x5dea4;},_0xfc7d(_0x59fe23,_0x9f6c5d);}import{Plugin as _0xe0a83b}from'ckeditor5/src/core.js';import{AIAssistantUI as _0x2507f9}from'./aiassistantui.js';import{AIAssistantEditing as _0x5e3226}from'./aiassistantediting.js';import{getTranslation as _0x3c6e35}from'./utils/common-translations.js';import{normalizeCommandsConfig as _0x3e3d4a}from'./utils/normalizecommandsconfig.js';export class AIAssistant extends _0xe0a83b{static get[_0x561081(0x19e)](){return[_0x2507f9,_0x5e3226];}static get[_0x561081(0x19f)](){const _0x94f049=_0x561081;return _0x94f049(0x175);}static get[_0x561081(0x188)](){return!0x0;}static get[_0x561081(0x199)](){return!0x0;}constructor(_0x1b772e){const _0x145df8=_0x561081;super(_0x1b772e);const _0x5e46ec=_0x1b772e[_0x145df8(0x1cd)],_0x2517f9=_0x1b772e[_0x145df8(0x19a)];_0x5e46ec[_0x145df8(0x1c4)](_0x145df8(0x191),!0x0),_0x5e46ec[_0x145df8(0x1c4)](_0x145df8(0x1cc),getDefaultAICommands(_0x2517f9)),_0x5e46ec[_0x145df8(0x1c4)](_0x145df8(0x1d3),[]),_0x5e46ec[_0x145df8(0x1c4)](_0x145df8(0x18e),[]);let _0x5a59ff=_0x3e3d4a(_0x5e46ec[_0x145df8(0x198)](_0x145df8(0x1cc)),_0x2517f9);const _0x4a9492=_0x5e46ec[_0x145df8(0x198)](_0x145df8(0x1d3)),_0x541a4d=_0x5e46ec[_0x145df8(0x198)](_0x145df8(0x18e));_0x4a9492[_0x145df8(0x17a)](_0x6fe8e6=>{const _0x399d7f=_0x145df8,_0x5ccce5=_0x5a59ff[_0x399d7f(0x1ab)](_0x332ab0=>_0x332ab0[_0x399d7f(0x19d)]===_0x6fe8e6[_0x399d7f(0x19d)]);_0x5ccce5?_0x5ccce5[_0x399d7f(0x17c)]=_0x5ccce5[_0x399d7f(0x17c)][_0x399d7f(0x184)](_0x6fe8e6[_0x399d7f(0x17c)]):_0x5a59ff[_0x399d7f(0x1a5)](_0x6fe8e6);}),_0x5a59ff=_0x5a59ff[_0x145df8(0x1b1)](_0x1ee2c1=>!_0x541a4d[_0x145df8(0x18b)](_0x1ee2c1[_0x145df8(0x19d)])),_0x5a59ff[_0x145df8(0x17a)](_0x3508cb=>{const _0x59ebfb=_0x145df8;_0x3508cb[_0x59ebfb(0x17c)]=_0x3508cb[_0x59ebfb(0x17c)][_0x59ebfb(0x1b1)](_0x5cdadf=>!_0x541a4d[_0x59ebfb(0x18b)](_0x5cdadf['id']));}),_0x5e46ec[_0x145df8(0x1c0)](_0x145df8(0x1cc),_0x5a59ff);}}function _0x5191(){const _0x1a836b=['Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','Change\x20style','translateEnglish','translatePortuguese','Portuguese','translateChinese','105EQNVJx','Translate\x20the\x20content\x20to\x20English\x20language.','414489peAwom','translateArabic','set','simplifyLanguage','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','Translate\x20the\x20content\x20to\x20Arabic\x20language.','define','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','17950HHasrM','Translate\x20the\x20content\x20to\x20French\x20language.','business','translate','legal','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','ai.assistant.commands','config','poetic','1084400VYQYri','Continue','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','Edit\x20or\x20review','ai.assistant.extraCommandGroups','210468tGYObG','6770672FPMnBz','Make\x20longer','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','Translate','continue','translateSpanish','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','2796144iNTsTJ','Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','English','makeShorter','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','Make\x20shorter','2yvuIRO','Improve\x20writing','AIAssistant','translateFrench','direct','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','Summarize','forEach','translateGerman','commands','changeTone','journalism','Arabic','Simplify\x20language','editOrReview','Change\x20tone','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','concat','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','summarize','Translate\x20the\x20content\x20to\x20German\x20language.','isOfficialPlugin','professional','2349494fxLPqI','includes','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','Professional','ai.assistant.removeCommands','Business','French','ai.assistant.preserveComments','Translate\x20the\x20content\x20to\x20Hindi\x20language.','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','Journalism','Confident','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','Generate\x20from\x20selection','get','isPremiumPlugin','locale','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','2817jiSmcX','groupId','requires','pluginName','Casual','friendly','Poetic','Spanish','Legal','push','confident','Hindi','translateHindi','generate','Simplified\x20Chinese','find','makeLonger','German','Friendly','changeStyle','improveWriting','filter','casual','Translate\x20the\x20content\x20to\x20Spanish\x20language.','Direct','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.'];_0x5191=function(){return _0x1a836b;};return _0x5191();}export function getDefaultAICommands(_0x382e12){const _0x5851c5=_0x561081;return[{'groupId':_0x5851c5(0x181),'groupLabel':_0x3c6e35(_0x382e12,_0x5851c5(0x1d2)),'commands':[{'id':_0x5851c5(0x1b0),'label':_0x3c6e35(_0x382e12,_0x5851c5(0x174)),'prompt':_0x5851c5(0x19b)},{'id':_0x5851c5(0x170),'label':_0x3c6e35(_0x382e12,_0x5851c5(0x172)),'prompt':_0x5851c5(0x1c2)},{'id':_0x5851c5(0x1ac),'label':_0x3c6e35(_0x382e12,_0x5851c5(0x167)),'prompt':_0x5851c5(0x183)},{'id':_0x5851c5(0x1c1),'label':_0x3c6e35(_0x382e12,_0x5851c5(0x180)),'prompt':_0x5851c5(0x178)}]},{'groupId':_0x5851c5(0x1a9),'groupLabel':_0x3c6e35(_0x382e12,_0x5851c5(0x197)),'commands':[{'id':_0x5851c5(0x186),'label':_0x3c6e35(_0x382e12,_0x5851c5(0x179)),'prompt':_0x5851c5(0x16e)},{'id':_0x5851c5(0x16a),'label':_0x3c6e35(_0x382e12,_0x5851c5(0x1d0)),'prompt':_0x5851c5(0x18c)}]},{'groupId':_0x5851c5(0x17d),'groupLabel':_0x3c6e35(_0x382e12,_0x5851c5(0x182)),'commands':[{'id':_0x5851c5(0x189),'label':_0x3c6e35(_0x382e12,_0x5851c5(0x18d)),'prompt':_0x5851c5(0x168)},{'id':_0x5851c5(0x1b2),'label':_0x3c6e35(_0x382e12,_0x5851c5(0x1a0)),'prompt':_0x5851c5(0x1b6)},{'id':_0x5851c5(0x177),'label':_0x3c6e35(_0x382e12,_0x5851c5(0x1b4)),'prompt':_0x5851c5(0x16c)},{'id':_0x5851c5(0x1a6),'label':_0x3c6e35(_0x382e12,_0x5851c5(0x195)),'prompt':_0x5851c5(0x1cb)},{'id':_0x5851c5(0x1a1),'label':_0x3c6e35(_0x382e12,_0x5851c5(0x1ae)),'prompt':_0x5851c5(0x1d1)}]},{'groupId':_0x5851c5(0x1af),'groupLabel':_0x3c6e35(_0x382e12,_0x5851c5(0x1b7)),'commands':[{'id':_0x5851c5(0x1c8),'label':_0x3c6e35(_0x382e12,_0x5851c5(0x18f)),'prompt':_0x5851c5(0x185)},{'id':_0x5851c5(0x1ca),'label':_0x3c6e35(_0x382e12,_0x5851c5(0x1a4)),'prompt':_0x5851c5(0x196)},{'id':_0x5851c5(0x17e),'label':_0x3c6e35(_0x382e12,_0x5851c5(0x194)),'prompt':_0x5851c5(0x193)},{'id':_0x5851c5(0x1ce),'label':_0x3c6e35(_0x382e12,_0x5851c5(0x1a2)),'prompt':_0x5851c5(0x171)}]},{'groupId':_0x5851c5(0x1c9),'groupLabel':_0x3c6e35(_0x382e12,_0x5851c5(0x169)),'commands':[{'id':_0x5851c5(0x1b8),'label':_0x3c6e35(_0x382e12,_0x5851c5(0x16f)),'prompt':_0x5851c5(0x1bd)},{'id':_0x5851c5(0x16b),'label':_0x3c6e35(_0x382e12,_0x5851c5(0x1a3)),'prompt':_0x5851c5(0x1b3)},{'id':_0x5851c5(0x1b9),'label':_0x3c6e35(_0x382e12,_0x5851c5(0x1ba)),'prompt':_0x5851c5(0x1c5)},{'id':_0x5851c5(0x17b),'label':_0x3c6e35(_0x382e12,_0x5851c5(0x1ad)),'prompt':_0x5851c5(0x187)},{'id':_0x5851c5(0x176),'label':_0x3c6e35(_0x382e12,_0x5851c5(0x190)),'prompt':_0x5851c5(0x1c7)},{'id':_0x5851c5(0x1bb),'label':_0x3c6e35(_0x382e12,_0x5851c5(0x1aa)),'prompt':_0x5851c5(0x1b5)},{'id':_0x5851c5(0x1a8),'label':_0x3c6e35(_0x382e12,_0x5851c5(0x1a7)),'prompt':_0x5851c5(0x192)},{'id':_0x5851c5(0x1bf),'label':_0x3c6e35(_0x382e12,_0x5851c5(0x17f)),'prompt':_0x5851c5(0x1c3)}]}];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x380442=_0x995d;(function(_0x54f561,_0x3f1dcc){const _0x433deb=_0x995d,_0x311ab2=_0x54f561();while(!![]){try{const _0x54d54c=parseInt(_0x433deb(0x24b))/0x1+parseInt(_0x433deb(0x214))/0x2*(parseInt(_0x433deb(0x258))/0x3)+parseInt(_0x433deb(0x204))/0x4*(parseInt(_0x433deb(0x25c))/0x5)+parseInt(_0x433deb(0x200))/0x6*(-parseInt(_0x433deb(0x1fa))/0x7)+-parseInt(_0x433deb(0x251))/0x8*(-parseInt(_0x433deb(0x22d))/0x9)+parseInt(_0x433deb(0x229))/0xa*(-parseInt(_0x433deb(0x20b))/0xb)+parseInt(_0x433deb(0x211))/0xc;if(_0x54d54c===_0x3f1dcc)break;else _0x311ab2['push'](_0x311ab2['shift']());}catch(_0x10751e){_0x311ab2['push'](_0x311ab2['shift']());}}}(_0x2c37,0xd33e3));import{uid as _0x10180d}from'ckeditor5/src/utils.js';import{Plugin as _0x4481ea}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x591020}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x28a5ff,ViewDataTransfer as _0x3d8645}from'ckeditor5/src/engine.js';const j=globalThis[_0x380442(0x23a)],P=_0x380442(0x21e);export class AIAssistantEditing extends _0x4481ea{static get[_0x380442(0x20e)](){const _0x2fbc67=_0x380442;return _0x2fbc67(0x213);}static get[_0x380442(0x233)](){return!0x0;}static get[_0x380442(0x238)](){return!0x0;}[_0x380442(0x1fe)](){const _0x31b8a1=_0x380442,{editor:_0xba79c8}=this,_0x465e99=[_0x31b8a1(0x244)];_0xba79c8[_0x31b8a1(0x254)][_0x31b8a1(0x25e)](_0x31b8a1(0x21d))&&_0x465e99[_0x31b8a1(0x1f2)](_0x31b8a1(0x22a)),_0xba79c8[_0x31b8a1(0x24d)][_0x31b8a1(0x208)](_0x31b8a1(0x242))[_0x31b8a1(0x209)]({'model':P,'view':{'classes':_0x465e99,'priority':0xc}}),_0xba79c8[_0x31b8a1(0x24d)][_0x31b8a1(0x208)](_0x31b8a1(0x242))[_0x31b8a1(0x253)]({'model':P,'view':(_0x71cdb0,{writer:_0x3a9e90})=>{const _0x440afa=_0x31b8a1;if(!_0x71cdb0[_0x440afa(0x215)][_0x440afa(0x24a)])return null;const _0x514751=_0x3a9e90[_0x440afa(0x227)](_0x440afa(0x257));return _0x3a9e90[_0x440afa(0x219)]([_0x440afa(0x244),_0x440afa(0x22b)],_0x514751),_0x514751;}});}[_0x380442(0x230)](){!async function(_0x2bc339){const _0x438ad6=_0x42da7b([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]),_0x13b9e3=0x3dffc4e1,_0x88c1ab=0x3df84389^_0x13b9e3,_0x4e3272=window[_0x42da7b([0x44,0x61,0x74,0x65])][_0x42da7b([0x6e,0x6f,0x77])](),_0x8845e0=_0x2bc339[_0x42da7b([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x30652a=new window[(_0x42da7b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3b6436=>{_0x8845e0[_0x42da7b([0x6f,0x6e,0x63,0x65])](_0x42da7b([0x72,0x65,0x61,0x64,0x79]),_0x3b6436);}),_0x3d1993={[_0x42da7b([0x6b,0x74,0x79])]:_0x42da7b([0x45,0x43]),[_0x42da7b([0x75,0x73,0x65])]:_0x42da7b([0x73,0x69,0x67]),[_0x42da7b([0x63,0x72,0x76])]:_0x42da7b([0x50,0x2d,0x32,0x35,0x36]),[_0x42da7b([0x78])]:_0x42da7b([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]),[_0x42da7b([0x79])]:_0x42da7b([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]),[_0x42da7b([0x61,0x6c,0x67])]:_0x42da7b([0x45,0x53,0x32,0x35,0x36])},_0x10a50c=_0x8845e0[_0x42da7b([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x42da7b([0x67,0x65,0x74])](_0x42da7b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2e375c(){let _0x9849e3,_0x120145=null,_0xb6f094=null;try{if(_0x10a50c==_0x42da7b([0x47,0x50,0x4c]))return _0x42da7b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x9849e3=_0x3823c1(),!_0x9849e3)return _0x42da7b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x9849e3[_0x42da7b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xb6f094=_0x4c6242(_0x9849e3[_0x42da7b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x9849e3[_0x42da7b([0x6a,0x74,0x69])])),await _0x5984c3()?_0x3d8af7()?_0x138824()?_0x42da7b([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3539f8()?(_0x9849e3[_0x42da7b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x42da7b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x120145=_0x5dfc24(_0x42da7b([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x11f239()):_0x42da7b([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x42da7b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x42da7b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x42da7b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x138824(){const _0x27ea9e=[_0x42da7b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x42da7b([0x74,0x72,0x69,0x61,0x6c])][_0x42da7b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x9849e3[_0x42da7b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4e3272/0x3e8:0xe10*_0x88c1ab;return _0x9849e3[_0x42da7b([0x65,0x78,0x70])]<_0x27ea9e;}function _0x3d8af7(){const _0x4974ad=_0x9849e3[_0x42da7b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4974ad&&(!!_0x4974ad[_0x42da7b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x42da7b([0x2a]))||!!_0x4974ad[_0x42da7b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x42da7b([0x41,0x49])));}function _0x3539f8(){const _0xc3dd8b=_0x995d,_0x30ed8a=_0x9849e3[_0x42da7b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x30ed8a||0x0==_0x30ed8a[_0x42da7b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2cbbe6}=new URL(window[_0x42da7b([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0xc3dd8b(0x216)]);if(_0x30ed8a[_0x42da7b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2cbbe6))return!0x0;const _0x2069dd=_0x2cbbe6[_0x42da7b([0x73,0x70,0x6c,0x69,0x74])](_0x42da7b([0x2e]));return _0x30ed8a[_0x42da7b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x182625=>_0x182625[_0x42da7b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x42da7b([0x2a])))[_0x42da7b([0x6d,0x61,0x70])](_0x400e85=>_0x400e85[_0x42da7b([0x73,0x70,0x6c,0x69,0x74])](_0x42da7b([0x2e])))[_0x42da7b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x30fe36=>_0x30fe36[_0x42da7b([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2069dd[_0x42da7b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x42da7b([0x6d,0x61,0x70])](_0x55898d=>Array(_0x2069dd[_0x42da7b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x55898d[_0x42da7b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x42da7b([0x66,0x69,0x6c,0x6c])](_0x55898d[0x0]===_0x42da7b([0x2a])?_0x42da7b([0x2a]):'')[_0x42da7b([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x55898d))[_0x42da7b([0x73,0x6f,0x6d,0x65])](_0xa4bf3a=>_0x2069dd[_0x42da7b([0x65,0x76,0x65,0x72,0x79])]((_0x45332d,_0x31f26b)=>_0xa4bf3a[_0x31f26b]===_0x45332d||_0xa4bf3a[_0x31f26b]===_0x42da7b([0x2a])));}function _0x11f239(){return _0x120145&&_0xb6f094?new window[(_0x42da7b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1b4c5f,_0x5204f4)=>{_0x120145[_0x42da7b([0x74,0x68,0x65,0x6e])](_0x1b4c5f,_0x5204f4),_0xb6f094[_0x42da7b([0x74,0x68,0x65,0x6e])](_0x425e18=>{_0x425e18!=_0x42da7b([0x56,0x61,0x6c,0x69,0x64])&&_0x1b4c5f(_0x425e18);},_0x5204f4);}):_0x120145||_0xb6f094||_0x42da7b([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4c6242(_0x30281d,_0x41833e){return new window[(_0x42da7b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x372a61=>{if(_0x367fbe())return _0x372a61(_0x42da7b([0x56,0x61,0x6c,0x69,0x64]));_0x1e412e(),_0x8845e0[_0x42da7b([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x42da7b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3d675f=!0x1;const _0x5b4eb4=_0x10180d();function _0x36067c(_0x4fe86b){return!!_0x4fe86b&&(typeof _0x4fe86b===_0x42da7b([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4fe86b===_0x42da7b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4fe86b[_0x42da7b([0x74,0x68,0x65,0x6e])]===_0x42da7b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4fe86b[_0x42da7b([0x63,0x61,0x74,0x63,0x68])]===_0x42da7b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x585ef2(_0x6aa435){_0x2c72b8(_0x6aa435)[_0x42da7b([0x74,0x68,0x65,0x6e])](_0x1299e1=>{if(!_0x1299e1||_0x1299e1[_0x42da7b([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x42da7b([0x6f,0x6b]))return _0x42da7b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2997f5(_0x13da1f(_0x5b4eb4+_0x41833e))!=_0x1299e1[_0x42da7b([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x42da7b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x42da7b([0x56,0x61,0x6c,0x69,0x64]);})[_0x42da7b([0x74,0x68,0x65,0x6e])](_0x5e90a1=>(_0x5433ec(),_0x5e90a1),()=>{const _0x52648d=_0x506ea4();return null==_0x52648d?(_0x5433ec(),_0x42da7b([0x56,0x61,0x6c,0x69,0x64])):_0x42da7b(_0x4e3272-_0x52648d>(0x19f340e1^_0x13b9e3)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x42da7b([0x74,0x68,0x65,0x6e])](_0x372a61)[_0x42da7b([0x63,0x61,0x74,0x63,0x68])](()=>{_0x372a61(_0x42da7b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x16f37a=0x3dc92a61^_0x13b9e3;function _0x5433ec(){const _0xfd078c=_0x42da7b([0x6c,0x6c,0x63,0x74,0x2d])+_0x2997f5(_0x13da1f(_0x30281d)),_0x400348=_0x2c091b(_0x2997f5(window[_0x42da7b([0x4d,0x61,0x74,0x68])][_0x42da7b([0x63,0x65,0x69,0x6c])](_0x4e3272/_0x16f37a)));window[_0x42da7b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x42da7b([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xfd078c,_0x400348);}function _0x506ea4(){const _0x3835de=_0x42da7b([0x6c,0x6c,0x63,0x74,0x2d])+_0x2997f5(_0x13da1f(_0x30281d)),_0x2e5bb4=window[_0x42da7b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x42da7b([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3835de);return _0x2e5bb4?window[_0x42da7b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2c091b(_0x2e5bb4),0x10)*_0x16f37a:null;}function _0x2c72b8(_0x3ab423){return new window[(_0x42da7b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x9c513c,_0x46b3ab)=>{_0x3ab423[_0x42da7b([0x74,0x68,0x65,0x6e])](_0x9c513c,_0x46b3ab),window[_0x42da7b([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x46b3ab,0x3dfe1021^_0x13b9e3);});}}_0x8845e0[_0x42da7b([0x6f,0x6e])](_0x42da7b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xf401dd,_0x1eacb8)=>{if(_0x1eacb8[0x0]!=_0x30281d)return _0x372a61(_0x42da7b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1eacb8[0x1]={..._0x1eacb8[0x1],[_0x42da7b([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5b4eb4};},{[_0x42da7b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x42da7b([0x68,0x69,0x67,0x68])}),_0x8845e0[_0x42da7b([0x6f,0x6e])](_0x42da7b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x53bf63=>{_0x36067c(_0x53bf63[_0x42da7b([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3d675f=!0x0,_0x585ef2(_0x53bf63[_0x42da7b([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x42da7b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x42da7b([0x6c,0x6f,0x77])}),_0x30652a[_0x42da7b([0x74,0x68,0x65,0x6e])](()=>{_0x3d675f||_0x372a61(_0x42da7b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x367fbe(){return _0x8845e0[_0x42da7b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x42da7b([0x76,0x69,0x65,0x77])][_0x42da7b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x42da7b([0x61,0x75,0x74,0x6f]);}function _0x1e412e(){_0x8845e0[_0x42da7b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x42da7b([0x76,0x69,0x65,0x77])][_0x42da7b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x42da7b([0x61,0x75,0x74,0x6f]);}}function _0x5dfc24(_0x33a6ff){const _0xc18d4d=[new window[(_0x42da7b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x55ccf1=>setTimeout(_0x55ccf1,0x3df6fa2d^_0x13b9e3)),_0x30652a[_0x42da7b([0x74,0x68,0x65,0x6e])](()=>new window[(_0x42da7b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x35cbd0=>{let _0x33602f=0x0;_0x8845e0[_0x42da7b([0x6d,0x6f,0x64,0x65,0x6c])][_0x42da7b([0x6f,0x6e])](_0x42da7b([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x553ffc,_0x361c8e)=>{_0x361c8e[0x0][_0x42da7b([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x33602f++,_0x33602f==(0x3dffc109^_0x13b9e3)&&(_0x35cbd0(),_0x553ffc[_0x42da7b([0x6f,0x66,0x66])]());});}))];return window[_0x42da7b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x42da7b([0x72,0x61,0x63,0x65])](_0xc18d4d)[_0x42da7b([0x74,0x68,0x65,0x6e])](()=>_0x33a6ff);}async function _0x27bd1b(){await _0x30652a,_0x8845e0[_0x42da7b([0x6d,0x6f,0x64,0x65,0x6c])][_0x42da7b([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x42c5a4,_0x8845e0[_0x42da7b([0x6d,0x6f,0x64,0x65,0x6c])][_0x42da7b([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x42c5a4,_0x8845e0[_0x42da7b([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x42da7b([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x446d28(_0x275282){const _0x2e4be4=_0xce922();_0x8845e0[_0x2e4be4]=_0x42da7b([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x275282,_0x275282!=_0x42da7b([0x56,0x61,0x6c,0x69,0x64])&&_0x27bd1b();}function _0xce922(){const _0x23d7d8=window[_0x42da7b([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x42da7b([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x42da7b([0x6e,0x6f,0x77])]())[_0x42da7b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x42da7b([0x2e]),'');let _0x4bde34=_0x42da7b([0x6e]);for(let _0x4b2771=0x0;_0x4b2771<_0x23d7d8[_0x42da7b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4b2771+=0x2){let _0x4a5117=window[_0x42da7b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x23d7d8[_0x42da7b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4b2771,_0x4b2771+0x2));_0x4a5117>=_0x438ad6[_0x42da7b([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4a5117-=_0x438ad6[_0x42da7b([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4bde34+=_0x438ad6[_0x4a5117];}return _0x4bde34;}function _0x3823c1(){const _0x42c2fb=_0x10a50c[_0x42da7b([0x73,0x70,0x6c,0x69,0x74])](_0x42da7b([0x2e]));if(0x3!=_0x42c2fb[_0x42da7b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x95b5e7(_0x42c2fb[0x1]);function _0x95b5e7(_0x15e41c){const _0x45dd61=_0x27e716(_0x15e41c);return _0x45dd61&&_0x1b1a36()?_0x45dd61:null;function _0x1b1a36(){const _0x1c4455=_0x45dd61[_0x42da7b([0x6a,0x74,0x69])],_0xcc2217=window[_0x42da7b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1c4455[_0x42da7b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1c4455[_0x42da7b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x433d7a={..._0x45dd61,[_0x42da7b([0x6a,0x74,0x69])]:_0x1c4455[_0x42da7b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1c4455[_0x42da7b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x433d7a[_0x42da7b([0x76,0x63])],_0x13da1f(_0x433d7a)==_0xcc2217;}}}async function _0x5984c3(){let _0x4dcde8=!0x0;try{const _0x2ba413=_0x10a50c[_0x42da7b([0x73,0x70,0x6c,0x69,0x74])](_0x42da7b([0x2e])),[_0x47fe25,_0x2a7581,_0x510f76]=_0x2ba413;return _0x53f3b0(_0x47fe25),await _0x27f856(_0x47fe25,_0x2a7581,_0x510f76),_0x4dcde8;}catch{return!0x1;}function _0x53f3b0(_0x3f75b1){const _0x537cda=_0x27e716(_0x3f75b1);_0x537cda&&_0x537cda[_0x42da7b([0x61,0x6c,0x67])]==_0x42da7b([0x45,0x53,0x32,0x35,0x36])||(_0x4dcde8=!0x1);}async function _0x27f856(_0x39f429,_0x3e8474,_0x485801){const _0x1cb7f6=window[_0x42da7b([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x42da7b([0x66,0x72,0x6f,0x6d])](_0x149a95(_0x485801),_0x5ae9de=>_0x5ae9de[_0x42da7b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5c0f66=new window[(_0x42da7b([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x42da7b([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x39f429+_0x42da7b([0x2e])+_0x3e8474),_0x32967f=window[_0x42da7b([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x42da7b([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x32967f)return;const _0x5b041d=await _0x32967f[_0x42da7b([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x42da7b([0x6a,0x77,0x6b]),_0x3d1993,{[_0x42da7b([0x6e,0x61,0x6d,0x65])]:_0x42da7b([0x45,0x43,0x44,0x53,0x41]),[_0x42da7b([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x42da7b([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x42da7b([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x32967f[_0x42da7b([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x42da7b([0x6e,0x61,0x6d,0x65])]:_0x42da7b([0x45,0x43,0x44,0x53,0x41]),[_0x42da7b([0x68,0x61,0x73,0x68])]:{[_0x42da7b([0x6e,0x61,0x6d,0x65])]:_0x42da7b([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5b041d,_0x1cb7f6,_0x5c0f66)||(_0x4dcde8=!0x1);}}function _0x27e716(_0x1a15c9){return _0x1a15c9[_0x42da7b([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x42da7b([0x65,0x79]))?JSON[_0x42da7b([0x70,0x61,0x72,0x73,0x65])](_0x149a95(_0x1a15c9)):null;}function _0x149a95(_0x420c3b){return window[_0x42da7b([0x61,0x74,0x6f,0x62])](_0x420c3b[_0x42da7b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x42da7b([0x2b]))[_0x42da7b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x42da7b([0x2f])));}function _0x13da1f(_0x5906b0){let _0x43ebb5=0x1505;function _0x275d77(_0x1b62ac){for(let _0x26210f=0x0;_0x26210f<_0x1b62ac[_0x42da7b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x26210f++){const _0x3ead9a=_0x1b62ac[_0x42da7b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x26210f);_0x43ebb5=(_0x43ebb5<<0x5)+_0x43ebb5+_0x3ead9a,_0x43ebb5&=_0x43ebb5;}}function _0x22fb6f(_0x17451c){Array[_0x42da7b([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x17451c)?_0x17451c[_0x42da7b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x22fb6f):_0x17451c&&typeof _0x17451c==_0x42da7b([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x42da7b([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x17451c)[_0x42da7b([0x73,0x6f,0x72,0x74])]()[_0x42da7b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x58995f,_0x48c93b])=>{_0x275d77(_0x58995f),_0x22fb6f(_0x48c93b);}):_0x275d77(window[_0x42da7b([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x17451c));}return _0x22fb6f(_0x5906b0),_0x43ebb5>>>0x0;}function _0x2997f5(_0x1f0da5){return _0x1f0da5[_0x42da7b([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x42da7b([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x42da7b([0x30]));}function _0x2c091b(_0xdb8c2f){return _0xdb8c2f[_0x42da7b([0x73,0x70,0x6c,0x69,0x74])]('')[_0x42da7b([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x42da7b([0x6a,0x6f,0x69,0x6e])]('');}function _0x42c5a4(){}function _0x42da7b(_0x3334bc){const _0x770590=_0x995d;return _0x3334bc[_0x770590(0x241)](_0x23c3b4=>String[_0x770590(0x245)](_0x23c3b4))[_0x770590(0x236)]('');}_0x446d28(await _0x2e375c());}(this);}[_0x380442(0x259)](){const _0x2fc450=_0x380442,_0x219be3=this[_0x2fc450(0x250)][_0x2fc450(0x1f6)];_0x219be3[_0x2fc450(0x1f3)](_0x515b31=>{const _0x4d078d=_0x2fc450,_0x1127b8=_0x219be3[_0x4d078d(0x212)][_0x4d078d(0x23b)][_0x4d078d(0x226)]();let _0x1cf6f8=0x0;for(const _0x862fa8 of _0x1127b8){const _0x2031f6=P+':'+_0x1cf6f8;if(_0x219be3[_0x4d078d(0x224)][_0x4d078d(0x202)](_0x2031f6))_0x515b31[_0x4d078d(0x20d)](_0x2031f6,{'range':_0x862fa8});else{if(_0x862fa8[_0x4d078d(0x25b)][_0x4d078d(0x256)]){const _0x4feafa=_0x862fa8[_0x4d078d(0x25b)][_0x4d078d(0x23d)](({item:_0x526e75})=>!_0x219be3[_0x4d078d(0x220)][_0x4d078d(0x201)](_0x526e75),{'boundaries':_0x862fa8});_0x515b31[_0x4d078d(0x24f)](_0x2031f6,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x515b31[_0x4d078d(0x1f9)](_0x4feafa,_0x862fa8[_0x4d078d(0x218)])});}else _0x515b31[_0x4d078d(0x24f)](_0x2031f6,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x862fa8});}_0x1cf6f8++;}});}[_0x380442(0x1f8)](){const _0x332508=_0x380442,_0x554430=this[_0x332508(0x250)][_0x332508(0x1f6)],_0xf2c1ef=Array[_0x332508(0x248)](this[_0x332508(0x250)][_0x332508(0x1f6)][_0x332508(0x224)][_0x332508(0x221)](P));_0xf2c1ef[_0x332508(0x22c)]&&_0x554430[_0x332508(0x1f3)](_0x2cd92b=>{const _0x466b47=_0x332508;_0xf2c1ef[_0x466b47(0x240)](_0x1dbee7=>{const _0xba6b01=_0x466b47;_0x2cd92b[_0xba6b01(0x255)](_0x1dbee7);});});}[_0x380442(0x1f1)](_0xb3bbb8,_0x44f863){const _0x1f58c7=_0x380442,_0x473a99=this[_0x1f58c7(0x246)](),_0x2720b6=_0x44f863||_0x473a99[_0x1f58c7(0x1ff)]();this[_0x1f58c7(0x250)][_0x1f58c7(0x1f6)][_0x1f58c7(0x1fb)](_0x2720b6)&&this[_0x1f58c7(0x250)][_0x1f58c7(0x1f6)][_0x1f58c7(0x1f3)](_0x3257e6=>{const _0x2115d8=_0x1f58c7;this[_0x2115d8(0x1f8)](),_0x44f863||this[_0x2115d8(0x1fc)](_0x3257e6,_0x473a99),this[_0x2115d8(0x203)]({'insertAt':_0x2720b6,'writer':_0x3257e6,'html':_0xb3bbb8});});}[_0x380442(0x23c)](_0x176a07){const _0x527014=_0x380442,{model:_0x1064fd}=this[_0x527014(0x250)],_0xeadb3a=this[_0x527014(0x246)]();_0x1064fd[_0x527014(0x1f3)](()=>{const _0x154079=_0x527014,_0xa99b02=this[_0x154079(0x22e)](_0x176a07,_0xeadb3a)||this[_0x154079(0x21a)](_0xeadb3a);this[_0x154079(0x1f1)](_0x176a07,_0xa99b02);});}[_0x380442(0x246)](){const _0x33e582=_0x380442,_0x17abed=this[_0x33e582(0x250)][_0x33e582(0x1f6)],_0x2e6c3c=Array[_0x33e582(0x248)](_0x17abed[_0x33e582(0x224)][_0x33e582(0x221)](P))[_0x33e582(0x241)](_0x34a49d=>_0x34a49d[_0x33e582(0x24c)]());return _0x17abed[_0x33e582(0x25a)](_0x2e6c3c);}[_0x380442(0x203)]({writer:_0x5c0232,html:_0x2f37ce,insertAt:_0x2b9603}){const _0x451713=_0x380442,{view:_0x2d42c9}=this[_0x451713(0x250)][_0x451713(0x247)],_0x3c8a53=this[_0x451713(0x250)][_0x451713(0x21f)][_0x451713(0x25e)](_0x591020),_0x5753d5=new j();_0x5753d5[_0x451713(0x228)](_0x451713(0x1fd),_0x2f37ce);const _0x3e3aa9=new ClipboardEvent(_0x451713(0x222),{'clipboardData':_0x5753d5}),_0x5ec3d5=new _0x28a5ff(_0x2d42c9,_0x3e3aa9,{'dataTransfer':new _0x3d8645(_0x5753d5)});_0x5c0232[_0x451713(0x206)](_0x2b9603);const _0x5324fa=(_0x46d423,_0x12457f)=>{const _0x429fdc=_0x451713;_0x12457f[_0x429fdc(0x237)]&&_0x5c0232[_0x429fdc(0x206)](_0x12457f[_0x429fdc(0x237)]);};_0x3c8a53[_0x451713(0x205)](_0x451713(0x210),_0x5324fa,{'priority':_0x451713(0x1f7)}),_0x2d42c9[_0x451713(0x212)][_0x451713(0x231)](_0x451713(0x222),_0x5ec3d5),_0x3c8a53[_0x451713(0x24e)](_0x451713(0x210),_0x5324fa);}[_0x380442(0x21a)](_0x126867){const _0x322a50=_0x380442,{model:_0x39d34b}=this[_0x322a50(0x250)],_0x208e1b=Array[_0x322a50(0x248)](_0x126867[_0x322a50(0x1f5)]());return _0x208e1b[_0x322a50(0x22c)]?_0x39d34b[_0x322a50(0x217)](_0x208e1b[_0x322a50(0x20a)]()):_0x126867[_0x322a50(0x1ef)]();}[_0x380442(0x22e)](_0x1d4c2f,_0x2f0565){const _0x14e0c9=_0x380442,{model:_0x37a8e5,plugins:_0x12537a}=this[_0x14e0c9(0x250)];if(_0x12537a[_0x14e0c9(0x202)](_0x14e0c9(0x249))){const _0x10e35d=_0x12537a[_0x14e0c9(0x25e)](_0x14e0c9(0x249))[_0x14e0c9(0x223)](_0x2f0565);if(_0x10e35d[_0x14e0c9(0x22c)]){const _0xbc7ade=this[_0x14e0c9(0x225)](_0x1d4c2f),_0x4e2ffc=this[_0x14e0c9(0x239)](_0x10e35d,_0xbc7ade);return _0x37a8e5[_0x14e0c9(0x1f4)](_0x4e2ffc,0x0);}}return null;}[_0x380442(0x225)](_0x12cf58){const _0x44a0e3=_0x380442,_0x2cccff=this[_0x44a0e3(0x250)][_0x44a0e3(0x21f)][_0x44a0e3(0x25e)](_0x44a0e3(0x249)),_0x4c9653=this[_0x44a0e3(0x250)][_0x44a0e3(0x25d)][_0x44a0e3(0x21b)](_0x12cf58),_0x272caa=Array[_0x44a0e3(0x248)](_0x4c9653[_0x44a0e3(0x232)]())[_0x44a0e3(0x207)](_0x35daae=>_0x35daae['is'](_0x44a0e3(0x20f),_0x44a0e3(0x21c)));let _0x31ca9a=0x0;return _0x272caa[_0x44a0e3(0x240)](_0x27a34f=>{const _0x46ef5c=_0x44a0e3;_0x31ca9a+=_0x2cccff[_0x46ef5c(0x23f)](_0x27a34f);}),_0x31ca9a;}[_0x380442(0x239)](_0xfcfcdc,_0x32dba0){const _0x28813e=_0x380442,_0x57ee53=this[_0x28813e(0x250)][_0x28813e(0x21f)][_0x28813e(0x25e)](_0x28813e(0x249)),_0x2b2a17=_0x57ee53[_0x28813e(0x234)](_0xfcfcdc),_0x2ac72f=_0x57ee53[_0x28813e(0x22f)](_0xfcfcdc),_0x2ca51d=_0x2b2a17[_0x28813e(0x243)]+0x1,_0x409b6a=_0x2ac72f[_0x28813e(0x20c)],_0x31de87=_0xfcfcdc[0x0][_0x28813e(0x23e)](_0x28813e(0x21c));for(let _0x237c20=0x0;_0x237c20<_0x32dba0;_0x237c20++)_0x57ee53[_0x28813e(0x235)](_0x31de87,{'at':_0x2ca51d});return _0x31de87[_0x28813e(0x252)](_0x2ca51d)[_0x28813e(0x252)](_0x409b6a);}[_0x380442(0x1fc)](_0x1bc122,_0x287e8e){const _0x591a64=_0x380442,{plugins:_0x1855f5}=this[_0x591a64(0x250)],{model:_0x3abe19}=_0x1bc122;if(!_0x1855f5[_0x591a64(0x202)](_0x591a64(0x249)))return;_0x1855f5[_0x591a64(0x25e)](_0x591a64(0x249))[_0x591a64(0x223)](_0x287e8e)[_0x591a64(0x22c)]&&_0x3abe19[_0x591a64(0x1f0)](_0x287e8e);}}function _0x995d(_0x53b55a,_0x2cb5da){const _0x2c37bf=_0x2c37();return _0x995d=function(_0x995da3,_0x7e8e6){_0x995da3=_0x995da3-0x1ef;let _0x36f3b9=_0x2c37bf[_0x995da3];return _0x36f3b9;},_0x995d(_0x53b55a,_0x2cb5da);}function _0x2c37(){const _0x55b88d=['getColumnIndexes','afterInit','fire','getChildren','isOfficialPlugin','getRowIndexes','insertRows','join','resultRange','isPremiumPlugin','_createEmptyTableRows','DataTransfer','selection','insertContentBelow','getLastMatchingPosition','findAncestor','getRows','forEach','map','editingDowncast','last','ck-fake-ai-selection','fromCharCode','_getAISelection','editing','from','TableUtils','isCollapsed','520865TIGUeo','getRange','conversion','off','addMarker','editor','553256EqkXHL','getChild','markerToElement','config','removeMarker','isAtEnd','span','156ulQvWb','showFakeVisualSelection','createSelection','start','8985YValxA','data','get','getLastPosition','deleteContent','insertContent','push','change','createPositionAt','getSelectedBlocks','model','lowest','hideFakeVisualSelection','createRange','2832508ttAzAf','canEditAt','_resetContentOfSelectedTableCells','text/html','init','getFirstRange','24RDfFuV','isContent','has','_pasteHTMLUsingClipboard','620FubQYn','once','setSelection','filter','for','markerToHighlight','pop','10759353oxAvxJ','first','updateMarker','pluginName','element','contentInsertion','19868484DMCNNN','document','AIAssistantEditing','9466EuwuUz','markerRange','href','createPositionAfter','end','addClass','_getDefaultInsertBelowPosition','parse','table','ai.assistant.useTheme','ai-ui','plugins','schema','getMarkersGroup','paste','getSelectedTableCells','markers','_getTableRowCountFromContent','getRanges','createUIElement','setData','10VlQJdd','ck-ai-assistant-ui_theme','ck-fake-ai-selection_collapsed','length','99VBBdzN','_prepareTableInsertBelowPosition'];_0x2c37=function(){return _0x55b88d;};return _0x2c37();}
|
|
23
|
+
function _0x1c71(){const _0x143d58=['from','4404qfeLKB','parse','setSelection','push','document','fire','markerToHighlight','getRowIndexes','_getTableRowCountFromContent','selection','last','DataTransfer','ck-ai-assistant-ui_theme','ck-fake-ai-selection_collapsed','end','addMarker','afterInit','forEach','getRange','getSelectedBlocks','conversion','isCollapsed','2654400PPZdco','element','markerRange','has','834698bMdWHB','TableUtils','data','length','ck-fake-ai-selection','ai.assistant.useTheme','pluginName','deleteContent','isAtEnd','1jqDHxA','getMarkersGroup','getSelectedTableCells','map','markerToElement','_getDefaultInsertBelowPosition','9dyTxbx','showFakeVisualSelection','_getAISelection','getFirstRange','addClass','3596754ldCcDx','49znxHxB','once','schema','insertContentBelow','removeMarker','href','paste','isPremiumPlugin','text/html','getRanges','createRange','fromCharCode','833286icMgsu','isContent','createPositionAfter','lowest','filter','for','get','ai-ui','model','_pasteHTMLUsingClipboard','insertRows','getLastMatchingPosition','createSelection','_prepareTableInsertBelowPosition','_createEmptyTableRows','editingDowncast','pop','getLastPosition','span','5085WaVCuG','config','hideFakeVisualSelection','createPositionAt','createUIElement','resultRange','getChild','AIAssistantEditing','change','join','setData','getRows','updateMarker','editor','editing','markers','33230483inAAUU','getColumnIndexes','contentInsertion','start','getChildren','first','insertContent','findAncestor','_resetContentOfSelectedTableCells','canEditAt','isOfficialPlugin','table','init','off','plugins','9640850laAPWj'];_0x1c71=function(){return _0x143d58;};return _0x1c71();}const _0x55412f=_0x2d15;(function(_0x1b3190,_0x1db011){const _0x67f7b=_0x2d15,_0x4892b8=_0x1b3190();while(!![]){try{const _0x4eb1cb=parseInt(_0x67f7b(0x133))/0x1*(parseInt(_0x67f7b(0x12a))/0x2)+-parseInt(_0x67f7b(0x13e))/0x3+parseInt(_0x67f7b(0x110))/0x4*(-parseInt(_0x67f7b(0x15e))/0x5)+-parseInt(_0x67f7b(0x14b))/0x6*(-parseInt(_0x67f7b(0x13f))/0x7)+-parseInt(_0x67f7b(0x126))/0x8+parseInt(_0x67f7b(0x139))/0x9*(-parseInt(_0x67f7b(0x10e))/0xa)+parseInt(_0x67f7b(0xff))/0xb;if(_0x4eb1cb===_0x1db011)break;else _0x4892b8['push'](_0x4892b8['shift']());}catch(_0x221f74){_0x4892b8['push'](_0x4892b8['shift']());}}}(_0x1c71,0xc252d));import{uid as _0x3a1862}from'ckeditor5/src/utils.js';import{Plugin as _0x27286d}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x1c9043}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x4bcacc,ViewDataTransfer as _0x3237d2}from'ckeditor5/src/engine.js';function _0x2d15(_0x4404e2,_0x1b09e4){const _0x1c71ff=_0x1c71();return _0x2d15=function(_0x2d155f,_0x2cb37d){_0x2d155f=_0x2d155f-0xfe;let _0x5ec7f2=_0x1c71ff[_0x2d155f];return _0x5ec7f2;},_0x2d15(_0x4404e2,_0x1b09e4);}const w=globalThis[_0x55412f(0x11b)],f=_0x55412f(0x152);export class AIAssistantEditing extends _0x27286d{static get[_0x55412f(0x130)](){const _0x5dae43=_0x55412f;return _0x5dae43(0x165);}static get[_0x55412f(0x109)](){return!0x0;}static get[_0x55412f(0x146)](){return!0x0;}[_0x55412f(0x10b)](){const _0x110080=_0x55412f,{editor:_0x187d5e}=this,_0x1f40c5=[_0x110080(0x12e)];_0x187d5e[_0x110080(0x15f)][_0x110080(0x151)](_0x110080(0x12f))&&_0x1f40c5[_0x110080(0x113)](_0x110080(0x11c)),_0x187d5e[_0x110080(0x124)][_0x110080(0x150)](_0x110080(0x15a))[_0x110080(0x116)]({'model':f,'view':{'classes':_0x1f40c5,'priority':0xc}}),_0x187d5e[_0x110080(0x124)][_0x110080(0x150)](_0x110080(0x15a))[_0x110080(0x137)]({'model':f,'view':(_0xe600c7,{writer:_0x4624d0})=>{const _0x1cbb56=_0x110080;if(!_0xe600c7[_0x1cbb56(0x128)][_0x1cbb56(0x125)])return null;const _0x2cf241=_0x4624d0[_0x1cbb56(0x162)](_0x1cbb56(0x15d));return _0x4624d0[_0x1cbb56(0x13d)]([_0x1cbb56(0x12e),_0x1cbb56(0x11d)],_0x2cf241),_0x2cf241;}});}[_0x55412f(0x120)](){!async function(_0x4be45e){const _0x107864=_0x3793b([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]),_0x3a68f2=0x3dffc4e1,_0x3ebf22=0x3df84cf1^_0x3a68f2,_0xdc7200=window[_0x3793b([0x44,0x61,0x74,0x65])][_0x3793b([0x6e,0x6f,0x77])](),_0x27123d=_0x4be45e[_0x3793b([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x15a9c9=new window[(_0x3793b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4645ec=>{_0x27123d[_0x3793b([0x6f,0x6e,0x63,0x65])](_0x3793b([0x72,0x65,0x61,0x64,0x79]),_0x4645ec);}),_0x29792c={[_0x3793b([0x6b,0x74,0x79])]:_0x3793b([0x45,0x43]),[_0x3793b([0x75,0x73,0x65])]:_0x3793b([0x73,0x69,0x67]),[_0x3793b([0x63,0x72,0x76])]:_0x3793b([0x50,0x2d,0x32,0x35,0x36]),[_0x3793b([0x78])]:_0x3793b([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]),[_0x3793b([0x79])]:_0x3793b([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]),[_0x3793b([0x61,0x6c,0x67])]:_0x3793b([0x45,0x53,0x32,0x35,0x36])},_0x3f5bc0=_0x27123d[_0x3793b([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3793b([0x67,0x65,0x74])](_0x3793b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3e54a4(){let _0x5cde36,_0x56c733=null,_0x3d929d=null;try{if(_0x3f5bc0==_0x3793b([0x47,0x50,0x4c]))return _0x3793b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5cde36=_0x54c0e7(),!_0x5cde36)return _0x3793b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5cde36[_0x3793b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3d929d=_0x307cad(_0x5cde36[_0x3793b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5cde36[_0x3793b([0x6a,0x74,0x69])])),await _0xa7d391()?_0x152d48()?_0x4a1b4b()?_0x3793b([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x48bcab()?(_0x5cde36[_0x3793b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3793b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x56c733=_0x1f53fe(_0x3793b([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5b0b10()):_0x3793b([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3793b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3793b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3793b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4a1b4b(){const _0x25cc50=[_0x3793b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3793b([0x74,0x72,0x69,0x61,0x6c])][_0x3793b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5cde36[_0x3793b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xdc7200/0x3e8:0xe10*_0x3ebf22;return _0x5cde36[_0x3793b([0x65,0x78,0x70])]<_0x25cc50;}function _0x152d48(){const _0x511452=_0x5cde36[_0x3793b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x511452&&(!!_0x511452[_0x3793b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3793b([0x2a]))||!!_0x511452[_0x3793b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3793b([0x41,0x49])));}function _0x48bcab(){const _0x395312=_0x2d15,_0x74b149=_0x5cde36[_0x3793b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x74b149||0x0==_0x74b149[_0x3793b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x107480}=new URL(window[_0x3793b([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x395312(0x144)]);if(_0x74b149[_0x3793b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x107480))return!0x0;const _0x1b438f=_0x107480[_0x3793b([0x73,0x70,0x6c,0x69,0x74])](_0x3793b([0x2e]));return _0x74b149[_0x3793b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x18fe62=>_0x18fe62[_0x3793b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3793b([0x2a])))[_0x3793b([0x6d,0x61,0x70])](_0xef38f5=>_0xef38f5[_0x3793b([0x73,0x70,0x6c,0x69,0x74])](_0x3793b([0x2e])))[_0x3793b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5c290a=>_0x5c290a[_0x3793b([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1b438f[_0x3793b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3793b([0x6d,0x61,0x70])](_0x81803e=>Array(_0x1b438f[_0x3793b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x81803e[_0x3793b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3793b([0x66,0x69,0x6c,0x6c])](_0x81803e[0x0]===_0x3793b([0x2a])?_0x3793b([0x2a]):'')[_0x3793b([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x81803e))[_0x3793b([0x73,0x6f,0x6d,0x65])](_0xba5074=>_0x1b438f[_0x3793b([0x65,0x76,0x65,0x72,0x79])]((_0x2061e4,_0x486feb)=>_0xba5074[_0x486feb]===_0x2061e4||_0xba5074[_0x486feb]===_0x3793b([0x2a])));}function _0x5b0b10(){return _0x56c733&&_0x3d929d?new window[(_0x3793b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3ac36a,_0x414d68)=>{_0x56c733[_0x3793b([0x74,0x68,0x65,0x6e])](_0x3ac36a,_0x414d68),_0x3d929d[_0x3793b([0x74,0x68,0x65,0x6e])](_0x4204d2=>{_0x4204d2!=_0x3793b([0x56,0x61,0x6c,0x69,0x64])&&_0x3ac36a(_0x4204d2);},_0x414d68);}):_0x56c733||_0x3d929d||_0x3793b([0x56,0x61,0x6c,0x69,0x64]);}}function _0x307cad(_0x26ed1c,_0x593562){return new window[(_0x3793b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2d6713=>{if(_0x8cc3a())return _0x2d6713(_0x3793b([0x56,0x61,0x6c,0x69,0x64]));_0x324f2e(),_0x27123d[_0x3793b([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3793b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1c4f34=!0x1;const _0x3afc84=_0x3a1862();function _0x180f17(_0x546fc8){return!!_0x546fc8&&(typeof _0x546fc8===_0x3793b([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x546fc8===_0x3793b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x546fc8[_0x3793b([0x74,0x68,0x65,0x6e])]===_0x3793b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x546fc8[_0x3793b([0x63,0x61,0x74,0x63,0x68])]===_0x3793b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3673a3(_0xfaa688){_0x4cc6e7(_0xfaa688)[_0x3793b([0x74,0x68,0x65,0x6e])](_0x445204=>{if(!_0x445204||_0x445204[_0x3793b([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3793b([0x6f,0x6b]))return _0x3793b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4bd0c6(_0x29a954(_0x3afc84+_0x593562))!=_0x445204[_0x3793b([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3793b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3793b([0x56,0x61,0x6c,0x69,0x64]);})[_0x3793b([0x74,0x68,0x65,0x6e])](_0xc41a0a=>(_0x21bef5(),_0xc41a0a),()=>{const _0x13db53=_0x4d8e16();return null==_0x13db53?(_0x21bef5(),_0x3793b([0x56,0x61,0x6c,0x69,0x64])):_0x3793b(_0xdc7200-_0x13db53>(0x19f340e1^_0x3a68f2)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3793b([0x74,0x68,0x65,0x6e])](_0x2d6713)[_0x3793b([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2d6713(_0x3793b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3a81cd=0x3dc92a61^_0x3a68f2;function _0x21bef5(){const _0x846503=_0x3793b([0x6c,0x6c,0x63,0x74,0x2d])+_0x4bd0c6(_0x29a954(_0x26ed1c)),_0x532890=_0x28a6ae(_0x4bd0c6(window[_0x3793b([0x4d,0x61,0x74,0x68])][_0x3793b([0x63,0x65,0x69,0x6c])](_0xdc7200/_0x3a81cd)));window[_0x3793b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3793b([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x846503,_0x532890);}function _0x4d8e16(){const _0x2c77f0=_0x3793b([0x6c,0x6c,0x63,0x74,0x2d])+_0x4bd0c6(_0x29a954(_0x26ed1c)),_0x40765d=window[_0x3793b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3793b([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2c77f0);return _0x40765d?window[_0x3793b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x28a6ae(_0x40765d),0x10)*_0x3a81cd:null;}function _0x4cc6e7(_0x7f5641){return new window[(_0x3793b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x24e209,_0x335345)=>{_0x7f5641[_0x3793b([0x74,0x68,0x65,0x6e])](_0x24e209,_0x335345),window[_0x3793b([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x335345,0x3dfe1021^_0x3a68f2);});}}_0x27123d[_0x3793b([0x6f,0x6e])](_0x3793b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x565ea7,_0x266f14)=>{if(_0x266f14[0x0]!=_0x26ed1c)return _0x2d6713(_0x3793b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x266f14[0x1]={..._0x266f14[0x1],[_0x3793b([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3afc84};},{[_0x3793b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3793b([0x68,0x69,0x67,0x68])}),_0x27123d[_0x3793b([0x6f,0x6e])](_0x3793b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x27e188=>{_0x180f17(_0x27e188[_0x3793b([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1c4f34=!0x0,_0x3673a3(_0x27e188[_0x3793b([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3793b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3793b([0x6c,0x6f,0x77])}),_0x15a9c9[_0x3793b([0x74,0x68,0x65,0x6e])](()=>{_0x1c4f34||_0x2d6713(_0x3793b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x8cc3a(){return _0x27123d[_0x3793b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3793b([0x76,0x69,0x65,0x77])][_0x3793b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3793b([0x61,0x75,0x74,0x6f]);}function _0x324f2e(){_0x27123d[_0x3793b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3793b([0x76,0x69,0x65,0x77])][_0x3793b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3793b([0x61,0x75,0x74,0x6f]);}}function _0x1f53fe(_0x5e2249){const _0x34776c=[new window[(_0x3793b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5b84d7=>setTimeout(_0x5b84d7,0x3df6fa2d^_0x3a68f2)),_0x15a9c9[_0x3793b([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3793b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x30b8f8=>{let _0x3abb8e=0x0;_0x27123d[_0x3793b([0x6d,0x6f,0x64,0x65,0x6c])][_0x3793b([0x6f,0x6e])](_0x3793b([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3c8216,_0x26b20d)=>{_0x26b20d[0x0][_0x3793b([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3abb8e++,_0x3abb8e==(0x3dffc109^_0x3a68f2)&&(_0x30b8f8(),_0x3c8216[_0x3793b([0x6f,0x66,0x66])]());});}))];return window[_0x3793b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3793b([0x72,0x61,0x63,0x65])](_0x34776c)[_0x3793b([0x74,0x68,0x65,0x6e])](()=>_0x5e2249);}async function _0x1119b6(){await _0x15a9c9,_0x27123d[_0x3793b([0x6d,0x6f,0x64,0x65,0x6c])][_0x3793b([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xf55a16,_0x27123d[_0x3793b([0x6d,0x6f,0x64,0x65,0x6c])][_0x3793b([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xf55a16,_0x27123d[_0x3793b([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3793b([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x466d45(_0x8ac993){const _0x3397d4=_0x25f79c();_0x27123d[_0x3397d4]=_0x3793b([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x8ac993,_0x8ac993!=_0x3793b([0x56,0x61,0x6c,0x69,0x64])&&_0x1119b6();}function _0x25f79c(){const _0x452a1a=window[_0x3793b([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3793b([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3793b([0x6e,0x6f,0x77])]())[_0x3793b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3793b([0x2e]),'');let _0x2ca587=_0x3793b([0x6e]);for(let _0x64faac=0x0;_0x64faac<_0x452a1a[_0x3793b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x64faac+=0x2){let _0x264133=window[_0x3793b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x452a1a[_0x3793b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x64faac,_0x64faac+0x2));_0x264133>=_0x107864[_0x3793b([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x264133-=_0x107864[_0x3793b([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2ca587+=_0x107864[_0x264133];}return _0x2ca587;}function _0x54c0e7(){const _0x5eabc9=_0x3f5bc0[_0x3793b([0x73,0x70,0x6c,0x69,0x74])](_0x3793b([0x2e]));if(0x3!=_0x5eabc9[_0x3793b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x88790c(_0x5eabc9[0x1]);function _0x88790c(_0x1660fe){const _0x39660c=_0x117782(_0x1660fe);return _0x39660c&&_0x3fb49f()?_0x39660c:null;function _0x3fb49f(){const _0x224775=_0x39660c[_0x3793b([0x6a,0x74,0x69])],_0x3e7b09=window[_0x3793b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x224775[_0x3793b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x224775[_0x3793b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x26a738={..._0x39660c,[_0x3793b([0x6a,0x74,0x69])]:_0x224775[_0x3793b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x224775[_0x3793b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x26a738[_0x3793b([0x76,0x63])],_0x29a954(_0x26a738)==_0x3e7b09;}}}async function _0xa7d391(){let _0x110917=!0x0;try{const _0xfcdc09=_0x3f5bc0[_0x3793b([0x73,0x70,0x6c,0x69,0x74])](_0x3793b([0x2e])),[_0x3a7d23,_0x446439,_0x537dbe]=_0xfcdc09;return _0x34a920(_0x3a7d23),await _0x40e2a8(_0x3a7d23,_0x446439,_0x537dbe),_0x110917;}catch{return!0x1;}function _0x34a920(_0x280218){const _0x1f502f=_0x117782(_0x280218);_0x1f502f&&_0x1f502f[_0x3793b([0x61,0x6c,0x67])]==_0x3793b([0x45,0x53,0x32,0x35,0x36])||(_0x110917=!0x1);}async function _0x40e2a8(_0x1811b2,_0x495242,_0x9401c2){const _0x14b234=window[_0x3793b([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3793b([0x66,0x72,0x6f,0x6d])](_0x1a8acc(_0x9401c2),_0x26095e=>_0x26095e[_0x3793b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x189ce=new window[(_0x3793b([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3793b([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1811b2+_0x3793b([0x2e])+_0x495242),_0x3253b5=window[_0x3793b([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3793b([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3253b5)return;const _0x1f4c2b=await _0x3253b5[_0x3793b([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3793b([0x6a,0x77,0x6b]),_0x29792c,{[_0x3793b([0x6e,0x61,0x6d,0x65])]:_0x3793b([0x45,0x43,0x44,0x53,0x41]),[_0x3793b([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3793b([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3793b([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3253b5[_0x3793b([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3793b([0x6e,0x61,0x6d,0x65])]:_0x3793b([0x45,0x43,0x44,0x53,0x41]),[_0x3793b([0x68,0x61,0x73,0x68])]:{[_0x3793b([0x6e,0x61,0x6d,0x65])]:_0x3793b([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1f4c2b,_0x14b234,_0x189ce)||(_0x110917=!0x1);}}function _0x117782(_0x5ecb74){return _0x5ecb74[_0x3793b([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3793b([0x65,0x79]))?JSON[_0x3793b([0x70,0x61,0x72,0x73,0x65])](_0x1a8acc(_0x5ecb74)):null;}function _0x1a8acc(_0x58fabf){return window[_0x3793b([0x61,0x74,0x6f,0x62])](_0x58fabf[_0x3793b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3793b([0x2b]))[_0x3793b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3793b([0x2f])));}function _0x29a954(_0x1203ca){let _0x5a72de=0x1505;function _0x220457(_0x318e72){for(let _0x74c0e7=0x0;_0x74c0e7<_0x318e72[_0x3793b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x74c0e7++){const _0x2c66a2=_0x318e72[_0x3793b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x74c0e7);_0x5a72de=(_0x5a72de<<0x5)+_0x5a72de+_0x2c66a2,_0x5a72de&=_0x5a72de;}}function _0x3912ed(_0x42c777){Array[_0x3793b([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x42c777)?_0x42c777[_0x3793b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3912ed):_0x42c777&&typeof _0x42c777==_0x3793b([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3793b([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x42c777)[_0x3793b([0x73,0x6f,0x72,0x74])]()[_0x3793b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x50453c,_0x2311b6])=>{_0x220457(_0x50453c),_0x3912ed(_0x2311b6);}):_0x220457(window[_0x3793b([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x42c777));}return _0x3912ed(_0x1203ca),_0x5a72de>>>0x0;}function _0x4bd0c6(_0x4ad96f){return _0x4ad96f[_0x3793b([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3793b([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3793b([0x30]));}function _0x28a6ae(_0x17c01a){return _0x17c01a[_0x3793b([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3793b([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3793b([0x6a,0x6f,0x69,0x6e])]('');}function _0xf55a16(){}function _0x3793b(_0x5d9421){const _0x3d465c=_0x2d15;return _0x5d9421[_0x3d465c(0x136)](_0x1421dd=>String[_0x3d465c(0x14a)](_0x1421dd))[_0x3d465c(0x167)]('');}_0x466d45(await _0x3e54a4());}(this);}[_0x55412f(0x13a)](){const _0x588ff9=_0x55412f,_0x5e0c13=this[_0x588ff9(0x16b)][_0x588ff9(0x153)];_0x5e0c13[_0x588ff9(0x166)](_0x4d887f=>{const _0x459342=_0x588ff9,_0x32da4e=_0x5e0c13[_0x459342(0x114)][_0x459342(0x119)][_0x459342(0x148)]();let _0x7d2e45=0x0;for(const _0x230acc of _0x32da4e){const _0x192e0a=f+':'+_0x7d2e45;if(_0x5e0c13[_0x459342(0xfe)][_0x459342(0x129)](_0x192e0a))_0x4d887f[_0x459342(0x16a)](_0x192e0a,{'range':_0x230acc});else{if(_0x230acc[_0x459342(0x102)][_0x459342(0x132)]){const _0x290e74=_0x230acc[_0x459342(0x102)][_0x459342(0x156)](({item:_0x4bc498})=>!_0x5e0c13[_0x459342(0x141)][_0x459342(0x14c)](_0x4bc498),{'boundaries':_0x230acc});_0x4d887f[_0x459342(0x11f)](_0x192e0a,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x4d887f[_0x459342(0x149)](_0x290e74,_0x230acc[_0x459342(0x11e)])});}else _0x4d887f[_0x459342(0x11f)](_0x192e0a,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x230acc});}_0x7d2e45++;}});}[_0x55412f(0x160)](){const _0x423bf8=_0x55412f,_0x2858af=this[_0x423bf8(0x16b)][_0x423bf8(0x153)],_0x52e006=Array[_0x423bf8(0x10f)](this[_0x423bf8(0x16b)][_0x423bf8(0x153)][_0x423bf8(0xfe)][_0x423bf8(0x134)](f));_0x52e006[_0x423bf8(0x12d)]&&_0x2858af[_0x423bf8(0x166)](_0x17778c=>{const _0x3226dc=_0x423bf8;_0x52e006[_0x3226dc(0x121)](_0xd2b8b=>{const _0x17048f=_0x3226dc;_0x17778c[_0x17048f(0x143)](_0xd2b8b);});});}[_0x55412f(0x105)](_0x465e5b,_0x4c01db){const _0x172f4a=_0x55412f,_0x26c254=this[_0x172f4a(0x13b)](),_0x22d318=_0x4c01db||_0x26c254[_0x172f4a(0x13c)]();this[_0x172f4a(0x16b)][_0x172f4a(0x153)][_0x172f4a(0x108)](_0x22d318)&&this[_0x172f4a(0x16b)][_0x172f4a(0x153)][_0x172f4a(0x166)](_0x1f4fa4=>{const _0x5dc56e=_0x172f4a;this[_0x5dc56e(0x160)](),_0x4c01db||this[_0x5dc56e(0x107)](_0x1f4fa4,_0x26c254),this[_0x5dc56e(0x154)]({'insertAt':_0x22d318,'writer':_0x1f4fa4,'html':_0x465e5b});});}[_0x55412f(0x142)](_0x98020){const _0x567e59=_0x55412f,{model:_0x55887b}=this[_0x567e59(0x16b)],_0x53b6e5=this[_0x567e59(0x13b)]();_0x55887b[_0x567e59(0x166)](()=>{const _0x49b2e6=_0x567e59,_0x49a02e=this[_0x49b2e6(0x158)](_0x98020,_0x53b6e5)||this[_0x49b2e6(0x138)](_0x53b6e5);this[_0x49b2e6(0x105)](_0x98020,_0x49a02e);});}[_0x55412f(0x13b)](){const _0x1165e5=_0x55412f,_0x44dff9=this[_0x1165e5(0x16b)][_0x1165e5(0x153)],_0x5e3675=Array[_0x1165e5(0x10f)](_0x44dff9[_0x1165e5(0xfe)][_0x1165e5(0x134)](f))[_0x1165e5(0x136)](_0x122f7c=>_0x122f7c[_0x1165e5(0x122)]());return _0x44dff9[_0x1165e5(0x157)](_0x5e3675);}[_0x55412f(0x154)]({writer:_0x34c0e1,html:_0x5c0c0b,insertAt:_0x1efade}){const _0x347120=_0x55412f,{view:_0x529e7e}=this[_0x347120(0x16b)][_0x347120(0x16c)],_0x56911e=this[_0x347120(0x16b)][_0x347120(0x10d)][_0x347120(0x151)](_0x1c9043),_0x32c523=new w();_0x32c523[_0x347120(0x168)](_0x347120(0x147),_0x5c0c0b);const _0x5cb25e=new ClipboardEvent(_0x347120(0x145),{'clipboardData':_0x32c523}),_0x2ec250=new _0x4bcacc(_0x529e7e,_0x5cb25e,{'dataTransfer':new _0x3237d2(_0x32c523)});_0x34c0e1[_0x347120(0x112)](_0x1efade);const _0x5ab8f2=(_0x841345,_0x301b7c)=>{const _0x34fd63=_0x347120;_0x301b7c[_0x34fd63(0x163)]&&_0x34c0e1[_0x34fd63(0x112)](_0x301b7c[_0x34fd63(0x163)]);};_0x56911e[_0x347120(0x140)](_0x347120(0x101),_0x5ab8f2,{'priority':_0x347120(0x14e)}),_0x529e7e[_0x347120(0x114)][_0x347120(0x115)](_0x347120(0x145),_0x2ec250),_0x56911e[_0x347120(0x10c)](_0x347120(0x101),_0x5ab8f2);}[_0x55412f(0x138)](_0x18d67d){const _0x482e38=_0x55412f,{model:_0xbbc4e2}=this[_0x482e38(0x16b)],_0x27d8db=Array[_0x482e38(0x10f)](_0x18d67d[_0x482e38(0x123)]());return _0x27d8db[_0x482e38(0x12d)]?_0xbbc4e2[_0x482e38(0x14d)](_0x27d8db[_0x482e38(0x15b)]()):_0x18d67d[_0x482e38(0x15c)]();}[_0x55412f(0x158)](_0x1d485b,_0x35aec8){const _0x50e33e=_0x55412f,{model:_0x37f135,plugins:_0x5a87de}=this[_0x50e33e(0x16b)];if(_0x5a87de[_0x50e33e(0x129)](_0x50e33e(0x12b))){const _0x480644=_0x5a87de[_0x50e33e(0x151)](_0x50e33e(0x12b))[_0x50e33e(0x135)](_0x35aec8);if(_0x480644[_0x50e33e(0x12d)]){const _0x39d839=this[_0x50e33e(0x118)](_0x1d485b),_0x39f248=this[_0x50e33e(0x159)](_0x480644,_0x39d839);return _0x37f135[_0x50e33e(0x161)](_0x39f248,0x0);}}return null;}[_0x55412f(0x118)](_0xc68554){const _0x3a3194=_0x55412f,_0x3c4fdc=this[_0x3a3194(0x16b)][_0x3a3194(0x10d)][_0x3a3194(0x151)](_0x3a3194(0x12b)),_0x5a474c=this[_0x3a3194(0x16b)][_0x3a3194(0x12c)][_0x3a3194(0x111)](_0xc68554),_0x286dd9=Array[_0x3a3194(0x10f)](_0x5a474c[_0x3a3194(0x103)]())[_0x3a3194(0x14f)](_0x3240d8=>_0x3240d8['is'](_0x3a3194(0x127),_0x3a3194(0x10a)));let _0x483a0c=0x0;return _0x286dd9[_0x3a3194(0x121)](_0x51c8bb=>{const _0x516b31=_0x3a3194;_0x483a0c+=_0x3c4fdc[_0x516b31(0x169)](_0x51c8bb);}),_0x483a0c;}[_0x55412f(0x159)](_0x3937f9,_0xb584b8){const _0x40dd3e=_0x55412f,_0x2eef17=this[_0x40dd3e(0x16b)][_0x40dd3e(0x10d)][_0x40dd3e(0x151)](_0x40dd3e(0x12b)),_0x30a2ad=_0x2eef17[_0x40dd3e(0x117)](_0x3937f9),_0x566e85=_0x2eef17[_0x40dd3e(0x100)](_0x3937f9),_0x4280db=_0x30a2ad[_0x40dd3e(0x11a)]+0x1,_0x22f367=_0x566e85[_0x40dd3e(0x104)],_0x202f95=_0x3937f9[0x0][_0x40dd3e(0x106)](_0x40dd3e(0x10a));for(let _0x5b3053=0x0;_0x5b3053<_0xb584b8;_0x5b3053++)_0x2eef17[_0x40dd3e(0x155)](_0x202f95,{'at':_0x4280db});return _0x202f95[_0x40dd3e(0x164)](_0x4280db)[_0x40dd3e(0x164)](_0x22f367);}[_0x55412f(0x107)](_0x241971,_0x2b29d9){const _0x3e924b=_0x55412f,{plugins:_0xac7243}=this[_0x3e924b(0x16b)],{model:_0x9e7038}=_0x241971;if(!_0xac7243[_0x3e924b(0x129)](_0x3e924b(0x12b)))return;_0xac7243[_0x3e924b(0x151)](_0x3e924b(0x12b))[_0x3e924b(0x135)](_0x2b29d9)[_0x3e924b(0x12d)]&&_0x9e7038[_0x3e924b(0x131)](_0x2b29d9);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x96e7e5=_0x2f5c;(function(_0x280b18,_0x25f61a){const _0x44e3c3=_0x2f5c,_0x46bf42=_0x280b18();while(!![]){try{const _0x157c2e=-parseInt(_0x44e3c3(0xe8))/0x1*(parseInt(_0x44e3c3(0x109))/0x2)+-parseInt(_0x44e3c3(0xff))/0x3*(-parseInt(_0x44e3c3(0x13a))/0x4)+parseInt(_0x44e3c3(0xbd))/0x5*(parseInt(_0x44e3c3(0x147))/0x6)+-parseInt(_0x44e3c3(0x14c))/0x7*(-parseInt(_0x44e3c3(0xaa))/0x8)+parseInt(_0x44e3c3(0xb1))/0x9*(-parseInt(_0x44e3c3(0x104))/0xa)+-parseInt(_0x44e3c3(0x101))/0xb*(-parseInt(_0x44e3c3(0x13e))/0xc)+-parseInt(_0x44e3c3(0xa7))/0xd;if(_0x157c2e===_0x25f61a)break;else _0x46bf42['push'](_0x46bf42['shift']());}catch(_0x18eb19){_0x46bf42['push'](_0x46bf42['shift']());}}}(_0x20bc,0xcfbf8));import{Plugin as _0x4fd23d}from'ckeditor5/src/core.js';import{IconMagicWand as _0x41c8c9,IconRobotPencil as _0x534ccc}from'ckeditor5/src/icons.js';import{first as _0x48cce1,CKEditorError as _0x324baa}from'ckeditor5/src/utils.js';import{createDropdown as _0x44d667,addMenuToDropdown as _0x122b84,ButtonView as _0x5bc0a6,MenuBarMenuListItemButtonView as _0x5469cd,Dialog as _0x3deb71,DialogViewPosition as _0x54a20b,MenuBarMenuView as _0x44413a,MenuBarMenuListView as _0xb6ac62,MenuBarMenuListItemView as _0x2dbd21}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x39981a,UNGROUPED_COMMANDS_GROUP_ID as _0x346660}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x590615}from'./aiassistantediting.js';import{AIAdapter as _0x43f158}from'./adapters/aiadapter.js';import{getTranslation as _0x346404}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0x464e4b}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0x31cb12}from'./ui/aiassistantcontroller.js';import{AIFormView as _0x282ac1}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x133ed6}from'./ui/form/aiformtoolbarview.js';import'../../theme/aiassistant/ai.css';import'../../theme/aiassistant/ai-dropdown.css';import'../../theme/aiassistant/ai-form.css';const j=globalThis[_0x96e7e5(0x13f)];import{ClipboardMarkersUtils as _0x5ce126}from'ckeditor5/src/clipboard.js';function _0x2f5c(_0x57281c,_0x471d7c){const _0x20bcdc=_0x20bc();return _0x2f5c=function(_0x2f5ca6,_0x131bf1){_0x2f5ca6=_0x2f5ca6-0xa1;let _0x473023=_0x20bcdc[_0x2f5ca6];return _0x473023;},_0x2f5c(_0x57281c,_0x471d7c);}import{ViewDocumentDomEventData as _0x5238b1,ViewDataTransfer as _0x3e8f1b}from'ckeditor5/src/engine.js';function _0x20bc(){const _0xb8780b=['filter','aiLicenseKeyEvaluationLimit','_aiAdapter','43232UcMNSV','ai.assistant.contentAreaCssClass','length','aiLicenseKeyNotAllowed','isCollapsed','promptView','values','order','aiCommands','change:isError','commands','getRanges','getSelectedElement','ck-ai-assistant-ui','_onExecute','tableOfContents','enabledCommandsIds','prompt','focus','groupId','\x20ck-ai-assistant-ui_theme','_populateMenuBarMenu','map','model','trim','showFakeVisualSelection','groupLabel','AI\x20Assistant','items','_licenseKeyCheckInterval','plugins','change:enabledCommandsIds','change:isProcessing','aiLicenseKeyExpired','ai.assistant.disabledElements','ck-ai-commands-dropdown\x20','destroy','source','render','panelView','evaluationLimit','hideFakeVisualSelection','buttonView','children','AIAssistant','usageLimit','locale','change','aiLicenseKeyInvalid','12OPIsfu','aiAssistant','</p>','_initView','228DzUDJI','DataTransfer','_aiAssistantController','Generated\x20content:\x20%0','wasMoved','errorView','ai-commands-config-order-collision','licenseKey','requiresContent','1052778OtHDDw','_getResolvedCommandsDefinitions','expired','once','AI\x20Commands','2544843ekAYJF','command:','listenTo','componentFactory','ck-ai-assistant-button\x20','forEach','media','hide','init','buttons','contentArea','addMany','23605452eCGvmL','<p>','includes','24gBsauX','aiLicenseKeyUsageLimit','label','AI\x20is\x20writing','_initAriaAiStatusChangeAnnouncements','insertContent','showUI','49455lNbBDQ','editor','textAdapter','reset','_dialog','getLimitElement','menuView','REPLACE','get','copy','define','selection','40DRqgtS','_showLicenseError','config','currentContext','isOn','menuBar:aiCommands','_formView','add','show','document','push','isPremiumPlugin','getData','update','_forceMarkersCopy','isOfficialPlugin','replace','updateView','fire','replaceContent','set','isFlat','body','custom','text/html','setSelection','Error\x20during\x20AI\x20content\x20generation:\x20%0','execute','change:value','schema','getSelectedBlocks','invalid','ai.assistant.useTheme','bind','insertContentBelow','polite','comment','menuBar:aiAssistant','showAIAssistant','requires','featureNotAllowed','from','editing','31fbReYv','view','AIAssistantUI','INSERT','_createAIAssistantUIButton','splice','aiLicenseKeyValid','text','rawHtml','menuitemcheckbox','announce','aiLicenseKeyDomainLimit','pluginName','updatePosition','domainLimit','queryView','EDITOR_TOP_SIDE','ai.assistant.commands','_getMenuBarGroupButtons','fieldView','_uiCssClasses','isEnabled','delegate','298566HxUsmB','hideUI','461241tKvDJz','_commandDefinitions','menuPanelClass','460qAxylv','sort'];_0x20bc=function(){return _0xb8780b;};return _0x20bc();}export class AIAssistantUI extends _0x4fd23d{[_0x96e7e5(0x145)];[_0x96e7e5(0x126)];[_0x96e7e5(0xb5)];[_0x96e7e5(0xc3)];[_0x96e7e5(0x108)];[_0x96e7e5(0x140)];[_0x96e7e5(0xfc)]='';static get[_0x96e7e5(0xf4)](){const _0x1f69c1=_0x96e7e5;return _0x1f69c1(0xea);}static get[_0x96e7e5(0xcc)](){return!0x0;}static get[_0x96e7e5(0xc8)](){return!0x0;}static get[_0x96e7e5(0xe4)](){return[_0x5ce126,_0x590615,_0x43f158,_0x3deb71];}constructor(_0x4a49b7){const _0xb2a245=_0x96e7e5;super(_0x4a49b7),_0x4a49b7[_0xb2a245(0xbf)][_0xb2a245(0xbb)](_0xb2a245(0x12b),[_0xb2a245(0xa1),_0xb2a245(0xf0),_0xb2a245(0x118)]),_0x4a49b7[_0xb2a245(0xbf)][_0xb2a245(0xbb)](_0xb2a245(0x10a),''),_0x4a49b7[_0xb2a245(0xbf)][_0xb2a245(0xbb)](_0xb2a245(0xdd),!0x0),this[_0xb2a245(0xfc)]=_0xb2a245(0x116)+(_0x4a49b7[_0xb2a245(0xbf)][_0xb2a245(0xb9)](_0xb2a245(0xdd))?_0xb2a245(0x11d):'');}[_0x96e7e5(0xa3)](){const _0x52eb0b=_0x96e7e5,{editor:_0x444eea}=this;this[_0x52eb0b(0x108)]=_0x444eea[_0x52eb0b(0x127)][_0x52eb0b(0xb9)](_0x43f158),this[_0x52eb0b(0xb5)]=_0x444eea[_0x52eb0b(0x127)][_0x52eb0b(0xb9)](_0x3deb71),this[_0x52eb0b(0xc3)]=null,this[_0x52eb0b(0x102)]=this[_0x52eb0b(0x148)]();const _0x4e16c6=new _0x464e4b(_0x444eea,Array[_0x52eb0b(0xe6)](this[_0x52eb0b(0x102)][_0x52eb0b(0x10f)]()));_0x444eea[_0x52eb0b(0x113)][_0x52eb0b(0xc4)](_0x52eb0b(0xe3),_0x4e16c6),_0x444eea['ui'][_0x52eb0b(0x14f)][_0x52eb0b(0xc4)](_0x52eb0b(0x111),_0x169a44=>{const _0xa74561=_0x52eb0b,_0x1d977b=_0x44d667(_0x169a44);return _0x1d977b[_0xa74561(0xd1)]({'class':_0xa74561(0x12c)+this[_0xa74561(0xfc)]}),_0x1d977b[_0xa74561(0x133)][_0xa74561(0xd1)]({'label':_0x346404(_0x169a44,_0xa74561(0x14b)),'icon':_0x41c8c9,'tooltip':!0x0}),_0x1d977b['on'](_0xa74561(0xd8),_0x1d3437=>this[_0xa74561(0x117)](_0x1d3437[_0xa74561(0x12e)]['id'])),_0x122b84(_0x1d977b,_0x444eea['ui'][_0xa74561(0xe9)][_0xa74561(0xd3)],function(_0x59183a){const _0x79e031=_0xa74561,_0x4d0dd5=_0x39981a(_0x59183a[_0x79e031(0xbf)][_0x79e031(0xb9)](_0x79e031(0xf9)),_0x59183a[_0x79e031(0x137)]),_0x469c3f=Y(_0x59183a,_0x4d0dd5)[_0x79e031(0x106)](_0x186d72=>_0x186d72[_0x79e031(0x113)][_0x79e031(0x10b)]);if(0x1===_0x469c3f[_0x79e031(0x10b)])return Y(_0x59183a,_0x469c3f[0x0][_0x79e031(0x113)])[_0x79e031(0x11f)](_0x73541a=>({'id':_0x73541a['id'],'label':_0x73541a[_0x79e031(0xac)]}));return _0x469c3f[_0x79e031(0x11f)](_0x3127d4=>{const _0x182883=_0x79e031,{groupId:_0x3574bd,groupLabel:_0x4af4c8,commands:_0x2120c5}=_0x3127d4,_0xa646ac=Y(_0x59183a,_0x2120c5)[_0x182883(0x11f)](_0x1c9334=>({'id':_0x1c9334['id'],'label':_0x1c9334[_0x182883(0xac)]}));return{'id':_0x3574bd,'menu':_0x4af4c8||_0x3574bd,'children':_0xa646ac};});}(_0x444eea),{'ariaLabel':_0x346404(_0x169a44,_0xa74561(0x14b))}),_0x1d977b[_0xa74561(0xb7)][_0xa74561(0x103)]=_0xa74561(0x12c)+this[_0xa74561(0xfc)],_0x4e16c6['on'](_0xa74561(0x128),_0x33aabb),_0x1d977b[_0xa74561(0xb7)][_0xa74561(0x14a)](_0xa74561(0x12f),_0x33aabb),_0x1d977b;function _0x33aabb(){const _0x49e601=_0xa74561;_0x1d977b[_0x49e601(0xfd)]=_0x4e16c6[_0x49e601(0x119)][_0x49e601(0x10b)]>0x0;for(const _0x148fcd of _0x1d977b[_0x49e601(0xb7)][_0x49e601(0xa4)])_0x148fcd[_0x49e601(0xfd)]=_0x4e16c6[_0x49e601(0x119)][_0x49e601(0xa9)](_0x148fcd['id']);}}),_0x444eea['ui'][_0x52eb0b(0x14f)][_0x52eb0b(0xc4)](_0x52eb0b(0xc2),_0x308e29=>{const _0x5939da=_0x52eb0b,_0x23079c=new _0x44413a(_0x308e29);_0x23079c[_0x5939da(0x133)][_0x5939da(0xd1)]({'label':_0x346404(_0x308e29,_0x5939da(0x14b)),'icon':_0x41c8c9}),_0x23079c[_0x5939da(0xde)](_0x5939da(0xfd))['to'](_0x4e16c6,_0x5939da(0x119),_0x461eca=>_0x461eca[_0x5939da(0x10b)]>0x0);const _0x18ea12=_0x39981a(_0x444eea[_0x5939da(0xbf)][_0x5939da(0xb9)](_0x5939da(0xf9)),_0x308e29);return this[_0x5939da(0x11e)](_0x4e16c6,_0x23079c,_0x18ea12,_0x3f0fa1=>this[_0x5939da(0x117)](_0x3f0fa1)),_0x23079c;}),_0x444eea['ui'][_0x52eb0b(0x14f)][_0x52eb0b(0xc4)](_0x52eb0b(0x13b),()=>{const _0x25dc73=_0x52eb0b,_0x440666=this[_0x25dc73(0xec)](_0x5bc0a6);return _0x440666[_0x25dc73(0xd1)]({'tooltip':!0x0,'class':_0x25dc73(0x150)+this[_0x25dc73(0xfc)]}),_0x440666;}),_0x444eea['ui'][_0x52eb0b(0x14f)][_0x52eb0b(0xc4)](_0x52eb0b(0xe2),()=>{const _0x25bb68=_0x52eb0b,_0x163b12=this[_0x25bb68(0xec)](_0x5469cd);return _0x163b12[_0x25bb68(0xd1)]({'role':_0x25bb68(0xf1)}),_0x163b12;}),this[_0x52eb0b(0x145)]=this[_0x52eb0b(0xb2)][_0x52eb0b(0xbf)][_0x52eb0b(0xb9)](_0x52eb0b(0x145));const _0x1befd9=this[_0x52eb0b(0xb2)];this[_0x52eb0b(0x126)]=setInterval(()=>{const _0x5684f1=_0x52eb0b;let _0x375a90;for(const _0xf841a in _0x1befd9){const _0xf41b84=_0xf841a,_0x1dad7c=_0x1befd9[_0xf41b84];if(_0x5684f1(0xee)==_0x1dad7c||_0x5684f1(0x139)==_0x1dad7c||_0x5684f1(0x12a)==_0x1dad7c||_0x5684f1(0xf3)==_0x1dad7c||_0x5684f1(0x10c)==_0x1dad7c||_0x5684f1(0x107)==_0x1dad7c||_0x5684f1(0xab)==_0x1dad7c){delete _0x1befd9[_0xf41b84],_0x375a90=_0x1dad7c,clearInterval(this[_0x5684f1(0x126)]),this[_0x5684f1(0x126)]=void 0x0;break;}}_0x5684f1(0x139)==_0x375a90&&_0x1befd9[_0x5684f1(0xbe)](_0x5684f1(0xdc)),_0x5684f1(0x12a)==_0x375a90&&_0x1befd9[_0x5684f1(0xbe)](_0x5684f1(0x149)),_0x5684f1(0xf3)==_0x375a90&&_0x1befd9[_0x5684f1(0xbe)](_0x5684f1(0xf6)),_0x5684f1(0x10c)==_0x375a90&&_0x1befd9[_0x5684f1(0xbe)](_0x5684f1(0xe5),_0x5684f1(0x135)),_0x5684f1(0x107)==_0x375a90&&_0x1befd9[_0x5684f1(0xbe)](_0x5684f1(0x131)),_0x5684f1(0xab)==_0x375a90&&_0x1befd9[_0x5684f1(0xbe)](_0x5684f1(0x136));},0x3e8);}[_0x96e7e5(0x12d)](){const _0x279975=_0x96e7e5;super[_0x279975(0x12d)](),this[_0x279975(0x126)]&&clearInterval(this[_0x279975(0x126)]);}[_0x96e7e5(0xb0)](_0x136166='',_0x3fb057='',_0x1dc0e1=_0x96e7e5(0xd4)){const _0x2a4bdc=_0x96e7e5,_0x36e771=this[_0x2a4bdc(0xb2)],_0x2bd44c=_0x36e771[_0x2a4bdc(0xe7)][_0x2a4bdc(0xe9)],_0x51f1ff=_0x36e771[_0x2a4bdc(0x127)][_0x2a4bdc(0xb9)](_0x590615),_0x2ab4b4=_0x36e771[_0x2a4bdc(0x127)][_0x2a4bdc(0xb9)](_0x5ce126);_0x51f1ff[_0x2a4bdc(0x122)]();const _0x3207cb=new j(),_0x1b14f2=new ClipboardEvent(_0x2a4bdc(0xba),{'clipboardData':_0x3207cb}),_0xda1410=new _0x3e8f1b(_0x3207cb),_0x519878=new _0x5238b1(_0x2bd44c,_0x1b14f2,{'dataTransfer':_0xda1410});_0x2ab4b4[_0x2a4bdc(0xcb)](_0x2a4bdc(0xe1),()=>{const _0xe14591=_0x2a4bdc;_0x2bd44c[_0xe14591(0xc6)][_0xe14591(0xcf)](_0xe14591(0xba),_0x519878);}),this[_0x2a4bdc(0xc3)]||(this[_0x2a4bdc(0x13d)](),this[_0x2a4bdc(0x140)]=new _0x31cb12(_0x36e771,this[_0x2a4bdc(0x108)][_0x2a4bdc(0xb3)],this[_0x2a4bdc(0xc3)]));let _0x7bd4e2=_0xda1410[_0x2a4bdc(0xc9)](_0x2a4bdc(0xd5));const _0x10c50f=_0x36e771[_0x2a4bdc(0x120)][_0x2a4bdc(0xc6)][_0x2a4bdc(0xbc)],_0x31f401=Array[_0x2a4bdc(0xe6)](_0x10c50f[_0x2a4bdc(0x114)]());0x1===_0x31f401[_0x2a4bdc(0x10b)]&&_0x31f401[0x0][_0x2a4bdc(0xd2)]&&!_0x10c50f[_0x2a4bdc(0x115)]()&&''!==_0x7bd4e2[_0x2a4bdc(0xcd)](/ /g,'')[_0x2a4bdc(0x121)]()&&(_0x7bd4e2=_0x2a4bdc(0xa8)+_0x7bd4e2+_0x2a4bdc(0x13c)),this[_0x2a4bdc(0x140)][_0x2a4bdc(0xce)]({'actionId':_0x1dc0e1,'query':_0x136166,'htmlContent':_0x7bd4e2,'label':_0x3fb057,'mainActionLabel':_0x133ed6[_0x36e771[_0x2a4bdc(0x120)][_0x2a4bdc(0xc6)][_0x2a4bdc(0xbc)][_0x2a4bdc(0x10d)]?_0x2a4bdc(0xeb):_0x2a4bdc(0xb8)]}),_0x2a4bdc(0x13b)!==this[_0x2a4bdc(0xb5)]['id']?this[_0x2a4bdc(0xb5)][_0x2a4bdc(0xc5)]({'id':_0x2a4bdc(0x13b),'icon':_0x534ccc,'title':_0x346404(this[_0x2a4bdc(0xb2)][_0x2a4bdc(0x137)],_0x2a4bdc(0x124)),'content':this[_0x2a4bdc(0xc3)],'position':_0x54a20b[_0x2a4bdc(0xf8)],'onShow':()=>{const _0x500847=_0x2a4bdc;this[_0x500847(0xc3)][_0x500847(0x11b)]();},'onHide':()=>{const _0x2e45ea=_0x2a4bdc;this[_0x2e45ea(0x140)][_0x2e45ea(0xb4)](),_0x51f1ff[_0x2e45ea(0x132)]();}}):this[_0x2a4bdc(0xb5)][_0x2a4bdc(0xe9)][_0x2a4bdc(0x142)]||this[_0x2a4bdc(0xb5)][_0x2a4bdc(0xe9)][_0x2a4bdc(0xf5)]();}[_0x96e7e5(0x100)](){const _0x42223f=_0x96e7e5;this[_0x42223f(0xb5)][_0x42223f(0xa2)]();}[_0x96e7e5(0x148)](){const _0x385c0a=_0x96e7e5,_0x4c400e=new Map(),_0x4c6cb8=_0x39981a(this[_0x385c0a(0xb2)][_0x385c0a(0xbf)][_0x385c0a(0xb9)](_0x385c0a(0xf9)),this[_0x385c0a(0xb2)][_0x385c0a(0x137)]);for(const _0x34141a of _0x4c6cb8)for(const _0x393552 of _0x34141a[_0x385c0a(0x113)])_0x4c400e[_0x385c0a(0xd1)](_0x393552['id'],{..._0x393552,'groupId':_0x34141a[_0x385c0a(0x11c)],'groupLabel':_0x34141a[_0x385c0a(0x123)]||_0x34141a[_0x385c0a(0x11c)]});return _0x4c400e;}[_0x96e7e5(0xec)](_0x111464){const _0x108f65=_0x96e7e5,_0xf3777f=this[_0x108f65(0xb2)],_0x1e9579=_0xf3777f[_0x108f65(0x113)][_0x108f65(0xb9)](_0x108f65(0xe3)),_0x4509df=new _0x111464(_0xf3777f[_0x108f65(0x137)]);return _0x4509df[_0x108f65(0xd1)]({'label':_0x346404(_0xf3777f[_0x108f65(0x137)],_0x108f65(0x124)),'icon':_0x534ccc,'isToggleable':!0x0}),_0x4509df[_0x108f65(0xde)](_0x108f65(0xfd))['to'](_0x1e9579),_0x4509df[_0x108f65(0xde)](_0x108f65(0xc1))['to'](this[_0x108f65(0xb5)],'id',_0x2e72f1=>_0x108f65(0x13b)===_0x2e72f1),this[_0x108f65(0x14e)](_0x4509df,_0x108f65(0xd8),()=>{const _0x45437b=_0x108f65;_0x4509df[_0x45437b(0xc1)]?this[_0x45437b(0x100)]():_0x1e9579[_0x45437b(0xd8)]();}),_0x4509df;}[_0x96e7e5(0x13d)](){const _0x48f621=_0x96e7e5,_0x5818e4=this[_0x48f621(0xb2)][_0x48f621(0x127)][_0x48f621(0xb9)](_0x590615);this[_0x48f621(0xc3)]=new _0x282ac1(this[_0x48f621(0xb2)][_0x48f621(0x137)],this[_0x48f621(0xfc)],this[_0x48f621(0xb2)][_0x48f621(0xbf)][_0x48f621(0xb9)](_0x48f621(0x10a))),this[_0x48f621(0xc3)]['on'](_0x48f621(0xd9),()=>{const _0x17649b=_0x48f621;this[_0x17649b(0xb5)][_0x17649b(0xe9)][_0x17649b(0x142)]||this[_0x17649b(0xb5)][_0x17649b(0xe9)][_0x17649b(0xf5)]();}),this[_0x48f621(0xc3)][_0x48f621(0x10e)][_0x48f621(0xf7)][_0x48f621(0xfb)]['on'](_0x48f621(0xca),()=>{const _0xbc947e=_0x48f621;this[_0xbc947e(0xb5)][_0xbc947e(0xe9)][_0xbc947e(0x142)]||this[_0xbc947e(0xb5)][_0xbc947e(0xe9)][_0xbc947e(0xf5)]();}),this[_0x48f621(0x14e)](this[_0x48f621(0xc3)],_0x48f621(0xd0),()=>{const _0x39e5df=_0x48f621;_0x5818e4[_0x39e5df(0xaf)](this[_0x39e5df(0x140)][_0x39e5df(0xc0)]),this[_0x39e5df(0x100)]();}),this[_0x48f621(0x14e)](this[_0x48f621(0xc3)],_0x48f621(0xdf),()=>{const _0x403ab2=_0x48f621;_0x5818e4[_0x403ab2(0xdf)](this[_0x403ab2(0x140)][_0x403ab2(0xc0)]),this[_0x403ab2(0x100)]();}),this[_0x48f621(0xae)]();}[_0x96e7e5(0xae)](){const _0xcdd04=_0x96e7e5,{locale:_0x31378d,ui:{ariaLiveAnnouncer:_0x3dc535}}=this[_0xcdd04(0xb2)];this[_0xcdd04(0xc3)][_0xcdd04(0xa5)]['on'](_0xcdd04(0x129),(_0x4de8c4,_0x262efc,_0x1cedc0)=>{const _0x2b170e=_0xcdd04,_0x1e6c18=this[_0x2b170e(0x140)][_0x2b170e(0xc0)];_0x1cedc0?_0x3dc535[_0x2b170e(0xf2)](_0x346404(_0x31378d,_0x2b170e(0xad))):_0x1e6c18&&_0x3dc535[_0x2b170e(0xf2)](_0x346404(_0x31378d,_0x2b170e(0x141),_0x1e6c18),{'politeness':_0x2b170e(0xe0),'isUnsafeHTML':!0x0});}),this[_0xcdd04(0xc3)]['on'](_0xcdd04(0x112),(_0x5ca312,_0x26ae61,_0x4046c2)=>{const _0x3c2bc9=_0xcdd04;if(_0x4046c2){const _0x508afb=this[_0x3c2bc9(0xc3)][_0x3c2bc9(0x143)][_0x3c2bc9(0xef)];_0x3dc535[_0x3c2bc9(0xf2)](_0x346404(_0x31378d,_0x3c2bc9(0xd7),_0x508afb));}});}[_0x96e7e5(0x117)](_0x560dbe){const _0x4b1b40=_0x96e7e5,_0x427549=this[_0x4b1b40(0x102)][_0x4b1b40(0xb9)](_0x560dbe),_0x259f88=this[_0x4b1b40(0xb2)],_0x3f3700=_0x259f88[_0x4b1b40(0x120)][_0x4b1b40(0xc6)][_0x4b1b40(0xbc)],_0x199f5=_0x259f88[_0x4b1b40(0x113)][_0x4b1b40(0xb9)](_0x4b1b40(0xe3)),_0x2715c8=_0x259f88[_0x4b1b40(0x127)][_0x4b1b40(0xb9)](_0x590615),_0x4fa4f9=''+(_0x427549[_0x4b1b40(0x11c)]!==_0x346660?_0x427549[_0x4b1b40(0x123)]+':\x20':'')+_0x427549[_0x4b1b40(0xac)];if(!0x1!==_0x427549[_0x4b1b40(0x146)]&&_0x3f3700[_0x4b1b40(0x10d)]){const _0x573034=_0x48cce1(_0x3f3700[_0x4b1b40(0xdb)]())||_0x259f88[_0x4b1b40(0x120)][_0x4b1b40(0xda)][_0x4b1b40(0xb6)](_0x3f3700);_0x259f88[_0x4b1b40(0x120)][_0x4b1b40(0x138)](_0x1f0fa8=>{const _0x1794c7=_0x4b1b40;_0x1f0fa8[_0x1794c7(0xd6)](_0x573034,'in');});}_0x2715c8[_0x4b1b40(0x122)](),_0x199f5[_0x4b1b40(0xd8)](_0x427549[_0x4b1b40(0x11a)],_0x4fa4f9,_0x4b1b40(0x14d)+_0x560dbe);}[_0x96e7e5(0x11e)](_0x24eea4,_0x492bd0,_0x3c7aac,_0x11b70c){const _0x3706d1=_0x96e7e5,_0x19ceec=this[_0x3706d1(0xb2)],_0x1626c4=_0x19ceec[_0x3706d1(0x137)],_0x4acb99=new _0xb6ac62(_0x1626c4),_0x1938ef=Y(_0x19ceec,_0x3c7aac)[_0x3706d1(0x106)](_0xf851ff=>_0xf851ff[_0x3706d1(0x113)][_0x3706d1(0x10b)]);0x1===_0x1938ef[_0x3706d1(0x10b)]?this[_0x3706d1(0xfa)]({'command':_0x24eea4,'commands':_0x1938ef[0x0][_0x3706d1(0x113)],'parentMenuView':_0x492bd0,'onExecute':_0x11b70c})[_0x3706d1(0x151)](_0x355e1c=>_0x4acb99[_0x3706d1(0x125)][_0x3706d1(0xc4)](_0x355e1c)):_0x1938ef[_0x3706d1(0x151)](({groupId:_0x19d495,groupLabel:_0x261de0,commands:_0x520bea})=>{const _0x59e26e=_0x3706d1,_0x12c7f9=new _0x2dbd21(_0x1626c4,_0x492bd0),_0x40cb06=new _0x44413a(_0x1626c4),_0x4f6bec=new _0xb6ac62(_0x1626c4),_0x1a9d63=this[_0x59e26e(0xfa)]({'command':_0x24eea4,'commands':_0x520bea,'parentMenuView':_0x40cb06,'onExecute':_0x11b70c});_0x40cb06[_0x59e26e(0x133)][_0x59e26e(0xd1)]({'label':_0x261de0||_0x19d495}),_0x40cb06[_0x59e26e(0xfe)](_0x59e26e(0xd8))['to'](_0x492bd0),_0x4f6bec[_0x59e26e(0x125)][_0x59e26e(0xa6)](_0x1a9d63),_0x40cb06[_0x59e26e(0x130)][_0x59e26e(0x134)][_0x59e26e(0xc4)](_0x4f6bec),_0x12c7f9[_0x59e26e(0x134)][_0x59e26e(0xc4)](_0x40cb06),_0x4acb99[_0x59e26e(0x125)][_0x59e26e(0xc4)](_0x12c7f9);}),_0x492bd0[_0x3706d1(0x130)][_0x3706d1(0x134)][_0x3706d1(0xc4)](_0x4acb99);}[_0x96e7e5(0xfa)]({command:_0x5f398c,commands:_0x5951af,parentMenuView:_0x5becad,onExecute:_0x908902}){const _0x2605c3=_0x96e7e5,_0x3fadde=this[_0x2605c3(0xb2)],_0xe4e419=_0x3fadde[_0x2605c3(0x137)];return Y(_0x3fadde,_0x5951af)[_0x2605c3(0x11f)](_0x5f0596=>{const _0xb7d17=_0x2605c3,_0xf7919c=new _0x2dbd21(_0xe4e419,_0x5becad),_0x2686bf=new _0x5469cd(_0xe4e419);return _0x2686bf[_0xb7d17(0xd1)]({'label':_0x5f0596[_0xb7d17(0xac)]}),_0x2686bf[_0xb7d17(0xfe)](_0xb7d17(0xd8))['to'](_0x5becad),_0x2686bf['on'](_0xb7d17(0xd8),()=>_0x908902(_0x5f0596['id'])),_0x2686bf[_0xb7d17(0xde)](_0xb7d17(0xfd))['to'](_0x5f398c,_0xb7d17(0x119),_0x93a654=>_0x93a654[_0xb7d17(0xa9)](_0x5f0596['id'])),_0xf7919c[_0xb7d17(0x134)][_0xb7d17(0xc4)](_0x2686bf),_0xf7919c;});}}function X(_0x1a4508,_0x139ad6){const _0x1a343c=_0x96e7e5;return void 0x0!==_0x1a4508[_0x1a343c(0x110)]&&void 0x0===_0x139ad6[_0x1a343c(0x110)]?0x1:void 0x0===_0x1a4508[_0x1a343c(0x110)]&&void 0x0!==_0x139ad6[_0x1a343c(0x110)]?-0x1:void 0x0!==_0x1a4508[_0x1a343c(0x110)]&&void 0x0!==_0x139ad6[_0x1a343c(0x110)]?_0x1a4508[_0x1a343c(0x110)]-_0x139ad6[_0x1a343c(0x110)]:0x0;}function Y(_0xf1752e,_0x135b83){const _0x5861ce=_0x96e7e5;_0x135b83[_0x5861ce(0x105)](X);const _0x1fadbc={},_0x818dc2=[];for(const _0x920d40 of _0x135b83)if(void 0x0!==_0x920d40[_0x5861ce(0x110)]){if(_0x920d40[_0x5861ce(0x110)]in _0x1fadbc)throw new _0x324baa(_0x5861ce(0x144),_0xf1752e,{'conflictingDefinitions':[_0x920d40,_0x1fadbc[_0x920d40[_0x5861ce(0x110)]]]});_0x1fadbc[_0x920d40[_0x5861ce(0x110)]]=_0x920d40,_0x818dc2[_0x5861ce(0xed)](_0x920d40[_0x5861ce(0x110)],0x0,_0x920d40);}else _0x818dc2[_0x5861ce(0xc7)](_0x920d40);return _0x818dc2;}
|
|
23
|
+
const _0xd68d18=_0x5995;(function(_0x5a0300,_0x5cefff){const _0x27a94a=_0x5995,_0x5cd625=_0x5a0300();while(!![]){try{const _0x587415=parseInt(_0x27a94a(0xc0))/0x1*(-parseInt(_0x27a94a(0x133))/0x2)+parseInt(_0x27a94a(0x134))/0x3*(parseInt(_0x27a94a(0xeb))/0x4)+parseInt(_0x27a94a(0xe3))/0x5*(-parseInt(_0x27a94a(0xde))/0x6)+parseInt(_0x27a94a(0xe5))/0x7*(-parseInt(_0x27a94a(0x119))/0x8)+parseInt(_0x27a94a(0x15f))/0x9+parseInt(_0x27a94a(0xc1))/0xa+parseInt(_0x27a94a(0xd3))/0xb;if(_0x587415===_0x5cefff)break;else _0x5cd625['push'](_0x5cd625['shift']());}catch(_0x2045ac){_0x5cd625['push'](_0x5cd625['shift']());}}}(_0x5392,0x1af87));import{Plugin as _0xd00650}from'ckeditor5/src/core.js';import{IconMagicWand as _0x456a76,IconRobotPencil as _0x4095d1}from'ckeditor5/src/icons.js';import{first as _0x1dfc77,CKEditorError as _0x4087d7}from'ckeditor5/src/utils.js';import{createDropdown as _0xc6d50e,addMenuToDropdown as _0x3e912b,ButtonView as _0x34a5c4,MenuBarMenuListItemButtonView as _0x123ffe,Dialog as _0x3a6de6,DialogViewPosition as _0x470695,MenuBarMenuView as _0x483825,MenuBarMenuListView as _0x15e44e,MenuBarMenuListItemView as _0xb2277c}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x4420ff,UNGROUPED_COMMANDS_GROUP_ID as _0x2d94f4}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x4ff11e}from'./aiassistantediting.js';import{AIAdapter as _0x5b2b39}from'./adapters/aiadapter.js';import{getTranslation as _0x5c0819}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0x4c29d9}from'./ui/showaiassistantcommand.js';function _0x5995(_0x482ff9,_0x23b982){const _0x539240=_0x5392();return _0x5995=function(_0x599576,_0x5bc9ac){_0x599576=_0x599576-0xb7;let _0x3b7260=_0x539240[_0x599576];return _0x3b7260;},_0x5995(_0x482ff9,_0x23b982);}import{AIAssistantController as _0x292247}from'./ui/aiassistantcontroller.js';import{AIFormView as _0x9750a3}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x47f929}from'./ui/form/aiformtoolbarview.js';import'../../theme/aiassistant/ai.css';import'../../theme/aiassistant/ai-dropdown.css';import'../../theme/aiassistant/ai-form.css';const w=globalThis[_0xd68d18(0x13d)];import{ClipboardMarkersUtils as _0x183b72}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x3dd345,ViewDataTransfer as _0x98e50e}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0xd00650{[_0xd68d18(0x165)];[_0xd68d18(0xbb)];[_0xd68d18(0xdc)];[_0xd68d18(0x114)];[_0xd68d18(0x155)];[_0xd68d18(0x109)];[_0xd68d18(0x131)]='';static get[_0xd68d18(0xe4)](){const _0x3d87f0=_0xd68d18;return _0x3d87f0(0xfe);}static get[_0xd68d18(0xf5)](){return!0x0;}static get[_0xd68d18(0x160)](){return!0x0;}static get[_0xd68d18(0x121)](){return[_0x183b72,_0x4ff11e,_0x5b2b39,_0x3a6de6];}constructor(_0x4dada2){const _0x46b47c=_0xd68d18;super(_0x4dada2),_0x4dada2[_0x46b47c(0x14b)][_0x46b47c(0xce)](_0x46b47c(0xb7),[_0x46b47c(0xca),_0x46b47c(0xe9),_0x46b47c(0x126)]),_0x4dada2[_0x46b47c(0x14b)][_0x46b47c(0xce)](_0x46b47c(0xd1),''),_0x4dada2[_0x46b47c(0x14b)][_0x46b47c(0xce)](_0x46b47c(0xef),!0x0),this[_0x46b47c(0x131)]=_0x46b47c(0x10b)+(_0x4dada2[_0x46b47c(0x14b)][_0x46b47c(0x137)](_0x46b47c(0xef))?_0x46b47c(0x12d):'');}[_0xd68d18(0xd9)](){const _0x5509a7=_0xd68d18,{editor:_0x1889d2}=this;this[_0x5509a7(0x155)]=_0x1889d2[_0x5509a7(0x164)][_0x5509a7(0x137)](_0x5b2b39),this[_0x5509a7(0xdc)]=_0x1889d2[_0x5509a7(0x164)][_0x5509a7(0x137)](_0x3a6de6),this[_0x5509a7(0x114)]=null,this[_0x5509a7(0x11f)]=this[_0x5509a7(0x158)]();const _0x3d4a80=new _0x4c29d9(_0x1889d2,Array[_0x5509a7(0x138)](this[_0x5509a7(0x11f)][_0x5509a7(0xe6)]()));_0x1889d2[_0x5509a7(0x103)][_0x5509a7(0x135)](_0x5509a7(0x112),_0x3d4a80),_0x1889d2['ui'][_0x5509a7(0x10f)][_0x5509a7(0x135)](_0x5509a7(0xe1),_0x1fd477=>{const _0xdee28e=_0x5509a7,_0x400448=_0xc6d50e(_0x1fd477);return _0x400448[_0xdee28e(0x12c)]({'class':_0xdee28e(0x129)+this[_0xdee28e(0x131)]}),_0x400448[_0xdee28e(0xf1)][_0xdee28e(0x12c)]({'label':_0x5c0819(_0x1fd477,_0xdee28e(0xe8)),'icon':_0x456a76,'tooltip':!0x0}),_0x400448['on'](_0xdee28e(0xcb),_0x475a37=>this[_0xdee28e(0xed)](_0x475a37[_0xdee28e(0xfa)]['id'])),_0x3e912b(_0x400448,_0x1889d2['ui'][_0xdee28e(0x124)][_0xdee28e(0xbe)],function(_0x5ddbd2){const _0xda9d51=_0xdee28e,_0x5e7b42=_0x4420ff(_0x5ddbd2[_0xda9d51(0x14b)][_0xda9d51(0x137)](_0xda9d51(0x13c)),_0x5ddbd2[_0xda9d51(0x115)]),_0x838a59=B(_0x5ddbd2,_0x5e7b42)[_0xda9d51(0xfd)](_0x4b4a6d=>_0x4b4a6d[_0xda9d51(0x103)][_0xda9d51(0x10a)]);if(0x1===_0x838a59[_0xda9d51(0x10a)])return B(_0x5ddbd2,_0x838a59[0x0][_0xda9d51(0x103)])[_0xda9d51(0x11d)](_0x522ad1=>({'id':_0x522ad1['id'],'label':_0x522ad1[_0xda9d51(0xf8)]}));return _0x838a59[_0xda9d51(0x11d)](_0x1a0a8e=>{const _0x2dc02f=_0xda9d51,{groupId:_0x175360,groupLabel:_0x4a70f2,commands:_0x2507fd}=_0x1a0a8e,_0x311a3d=B(_0x5ddbd2,_0x2507fd)[_0x2dc02f(0x11d)](_0x391604=>({'id':_0x391604['id'],'label':_0x391604[_0x2dc02f(0xf8)]}));return{'id':_0x175360,'menu':_0x4a70f2||_0x175360,'children':_0x311a3d};});}(_0x1889d2),{'ariaLabel':_0x5c0819(_0x1fd477,_0xdee28e(0xe8))}),_0x400448[_0xdee28e(0x13b)][_0xdee28e(0x153)]=_0xdee28e(0x129)+this[_0xdee28e(0x131)],_0x3d4a80['on'](_0xdee28e(0x108),_0x1afd08),_0x400448[_0xdee28e(0x13b)][_0xdee28e(0x154)](_0xdee28e(0xdf),_0x1afd08),_0x400448;function _0x1afd08(){const _0x28ef6e=_0xdee28e;_0x400448[_0x28ef6e(0xf9)]=_0x3d4a80[_0x28ef6e(0x15c)][_0x28ef6e(0x10a)]>0x0;for(const _0x39864e of _0x400448[_0x28ef6e(0x13b)][_0x28ef6e(0x145)])_0x39864e[_0x28ef6e(0xf9)]=_0x3d4a80[_0x28ef6e(0x15c)][_0x28ef6e(0xcf)](_0x39864e['id']);}}),_0x1889d2['ui'][_0x5509a7(0x10f)][_0x5509a7(0x135)](_0x5509a7(0x15b),_0x290f94=>{const _0x37453b=_0x5509a7,_0x319955=new _0x483825(_0x290f94);_0x319955[_0x37453b(0xf1)][_0x37453b(0x12c)]({'label':_0x5c0819(_0x290f94,_0x37453b(0xe8)),'icon':_0x456a76}),_0x319955[_0x37453b(0x127)](_0x37453b(0xf9))['to'](_0x3d4a80,_0x37453b(0x15c),_0xcf8fdb=>_0xcf8fdb[_0x37453b(0x10a)]>0x0);const _0x248eaf=_0x4420ff(_0x1889d2[_0x37453b(0x14b)][_0x37453b(0x137)](_0x37453b(0x13c)),_0x290f94);return this[_0x37453b(0xcc)](_0x3d4a80,_0x319955,_0x248eaf,_0x391813=>this[_0x37453b(0xed)](_0x391813)),_0x319955;}),_0x1889d2['ui'][_0x5509a7(0x10f)][_0x5509a7(0x135)](_0x5509a7(0xfb),()=>{const _0x2d2f9e=_0x5509a7,_0x3ada7f=this[_0x2d2f9e(0x157)](_0x34a5c4);return _0x3ada7f[_0x2d2f9e(0x12c)]({'tooltip':!0x0,'class':_0x2d2f9e(0x132)+this[_0x2d2f9e(0x131)]}),_0x3ada7f;}),_0x1889d2['ui'][_0x5509a7(0x10f)][_0x5509a7(0x135)](_0x5509a7(0x163),()=>{const _0x427297=_0x5509a7,_0x21ed89=this[_0x427297(0x157)](_0x123ffe);return _0x21ed89[_0x427297(0x12c)]({'role':_0x427297(0x116)}),_0x21ed89;}),this[_0x5509a7(0x165)]=this[_0x5509a7(0xe7)][_0x5509a7(0x14b)][_0x5509a7(0x137)](_0x5509a7(0x165));const _0x58858c=this[_0x5509a7(0xe7)];this[_0x5509a7(0xbb)]=setInterval(()=>{const _0x32c76=_0x5509a7;let _0x87b074;for(const _0x5b0019 in _0x58858c){const _0x26177e=_0x5b0019,_0x5c5945=_0x58858c[_0x26177e];if(_0x32c76(0x10e)==_0x5c5945||_0x32c76(0x139)==_0x5c5945||_0x32c76(0xba)==_0x5c5945||_0x32c76(0xff)==_0x5c5945||_0x32c76(0xec)==_0x5c5945||_0x32c76(0x136)==_0x5c5945||_0x32c76(0xcd)==_0x5c5945){delete _0x58858c[_0x26177e],_0x87b074=_0x5c5945,clearInterval(this[_0x32c76(0xbb)]),this[_0x32c76(0xbb)]=void 0x0;break;}}_0x32c76(0x139)==_0x87b074&&_0x58858c[_0x32c76(0x10d)](_0x32c76(0xd2)),_0x32c76(0xba)==_0x87b074&&_0x58858c[_0x32c76(0x10d)](_0x32c76(0x144)),_0x32c76(0xff)==_0x87b074&&_0x58858c[_0x32c76(0x10d)](_0x32c76(0x159)),_0x32c76(0xec)==_0x87b074&&_0x58858c[_0x32c76(0x10d)](_0x32c76(0xd6),_0x32c76(0x14c)),_0x32c76(0x136)==_0x87b074&&_0x58858c[_0x32c76(0x10d)](_0x32c76(0xd5)),_0x32c76(0xcd)==_0x87b074&&_0x58858c[_0x32c76(0x10d)](_0x32c76(0x106));},0x3e8);}[_0xd68d18(0x142)](){const _0x27cd5b=_0xd68d18;super[_0x27cd5b(0x142)](),this[_0x27cd5b(0xbb)]&&clearInterval(this[_0x27cd5b(0xbb)]);}[_0xd68d18(0x122)](_0x1bdaee='',_0x36848e='',_0x55117a=_0xd68d18(0x11a)){const _0x57d1ab=_0xd68d18,_0xeea800=this[_0x57d1ab(0xe7)],_0x5e2460=_0xeea800[_0x57d1ab(0xf0)][_0x57d1ab(0x124)],_0x57637f=_0xeea800[_0x57d1ab(0x164)][_0x57d1ab(0x137)](_0x4ff11e),_0x50b64=_0xeea800[_0x57d1ab(0x164)][_0x57d1ab(0x137)](_0x183b72);_0x57637f[_0x57d1ab(0x12b)]();const _0x14945c=new w(),_0x47e455=new ClipboardEvent(_0x57d1ab(0x150),{'clipboardData':_0x14945c}),_0x31d843=new _0x98e50e(_0x14945c),_0x24b3be=new _0x3dd345(_0x5e2460,_0x47e455,{'dataTransfer':_0x31d843});_0x50b64[_0x57d1ab(0x118)](_0x57d1ab(0x13f),()=>{const _0x5d57db=_0x57d1ab;_0x5e2460[_0x5d57db(0xc6)][_0x5d57db(0x117)](_0x5d57db(0x150),_0x24b3be);}),this[_0x57d1ab(0x114)]||(this[_0x57d1ab(0x123)](),this[_0x57d1ab(0x109)]=new _0x292247(_0xeea800,this[_0x57d1ab(0x155)][_0x57d1ab(0x107)],this[_0x57d1ab(0x114)]));let _0x24eaa4=_0x31d843[_0x57d1ab(0x100)](_0x57d1ab(0xf4));const _0x3a7c7c=_0xeea800[_0x57d1ab(0x146)][_0x57d1ab(0xc6)][_0x57d1ab(0x110)],_0x2a0199=Array[_0x57d1ab(0x138)](_0x3a7c7c[_0x57d1ab(0xf6)]());0x1===_0x2a0199[_0x57d1ab(0x10a)]&&_0x2a0199[0x0][_0x57d1ab(0x10c)]&&!_0x3a7c7c[_0x57d1ab(0x140)]()&&''!==_0x24eaa4[_0x57d1ab(0x113)](/ /g,'')[_0x57d1ab(0x15d)]()&&(_0x24eaa4=_0x57d1ab(0xdd)+_0x24eaa4+_0x57d1ab(0x14a)),this[_0x57d1ab(0x109)][_0x57d1ab(0x143)]({'actionId':_0x55117a,'query':_0x1bdaee,'htmlContent':_0x24eaa4,'label':_0x36848e,'mainActionLabel':_0x47f929[_0xeea800[_0x57d1ab(0x146)][_0x57d1ab(0xc6)][_0x57d1ab(0x110)][_0x57d1ab(0xee)]?_0x57d1ab(0x141):_0x57d1ab(0x111)]}),_0x57d1ab(0xfb)!==this[_0x57d1ab(0xdc)]['id']?this[_0x57d1ab(0xdc)][_0x57d1ab(0xf3)]({'id':_0x57d1ab(0xfb),'icon':_0x4095d1,'title':_0x5c0819(this[_0x57d1ab(0xe7)][_0x57d1ab(0x115)],_0x57d1ab(0x15e)),'content':this[_0x57d1ab(0x114)],'position':_0x470695[_0x57d1ab(0x156)],'onShow':()=>{const _0x20dd9e=_0x57d1ab;this[_0x20dd9e(0x114)][_0x20dd9e(0xb9)]();},'onHide':()=>{const _0x4cee11=_0x57d1ab;this[_0x4cee11(0x109)][_0x4cee11(0xe0)](),_0x57637f[_0x4cee11(0x161)]();}}):this[_0x57d1ab(0xdc)][_0x57d1ab(0x124)][_0x57d1ab(0xdb)]||this[_0x57d1ab(0xdc)][_0x57d1ab(0x124)][_0x57d1ab(0xf2)]();}[_0xd68d18(0xc4)](){const _0x58dc8b=_0xd68d18;this[_0x58dc8b(0xdc)][_0x58dc8b(0x128)]();}[_0xd68d18(0x158)](){const _0x4aeb69=_0xd68d18,_0x1addfb=new Map(),_0x4fc061=_0x4420ff(this[_0x4aeb69(0xe7)][_0x4aeb69(0x14b)][_0x4aeb69(0x137)](_0x4aeb69(0x13c)),this[_0x4aeb69(0xe7)][_0x4aeb69(0x115)]);for(const _0x10e508 of _0x4fc061)for(const _0x196b7d of _0x10e508[_0x4aeb69(0x103)])_0x1addfb[_0x4aeb69(0x12c)](_0x196b7d['id'],{..._0x196b7d,'groupId':_0x10e508[_0x4aeb69(0x102)],'groupLabel':_0x10e508[_0x4aeb69(0x11e)]||_0x10e508[_0x4aeb69(0x102)]});return _0x1addfb;}[_0xd68d18(0x157)](_0x4b03df){const _0x3fcc4d=_0xd68d18,_0x2ed5ea=this[_0x3fcc4d(0xe7)],_0x3555b2=_0x2ed5ea[_0x3fcc4d(0x103)][_0x3fcc4d(0x137)](_0x3fcc4d(0x112)),_0x32f730=new _0x4b03df(_0x2ed5ea[_0x3fcc4d(0x115)]);return _0x32f730[_0x3fcc4d(0x12c)]({'label':_0x5c0819(_0x2ed5ea[_0x3fcc4d(0x115)],_0x3fcc4d(0x15e)),'icon':_0x4095d1,'isToggleable':!0x0}),_0x32f730[_0x3fcc4d(0x127)](_0x3fcc4d(0xf9))['to'](_0x3555b2),_0x32f730[_0x3fcc4d(0x127)](_0x3fcc4d(0x11b))['to'](this[_0x3fcc4d(0xdc)],'id',_0x10f8ec=>_0x3fcc4d(0xfb)===_0x10f8ec),this[_0x3fcc4d(0x13e)](_0x32f730,_0x3fcc4d(0xcb),()=>{const _0x5c7572=_0x3fcc4d;_0x32f730[_0x5c7572(0x11b)]?this[_0x5c7572(0xc4)]():_0x3555b2[_0x5c7572(0xcb)]();}),_0x32f730;}[_0xd68d18(0x123)](){const _0x527ac2=_0xd68d18,_0x14f8dd=this[_0x527ac2(0xe7)][_0x527ac2(0x164)][_0x527ac2(0x137)](_0x4ff11e);this[_0x527ac2(0x114)]=new _0x9750a3(this[_0x527ac2(0xe7)][_0x527ac2(0x115)],this[_0x527ac2(0x131)],this[_0x527ac2(0xe7)][_0x527ac2(0x14b)][_0x527ac2(0x137)](_0x527ac2(0xd1))),this[_0x527ac2(0x114)]['on'](_0x527ac2(0x105),()=>{const _0x371185=_0x527ac2;this[_0x371185(0xdc)][_0x371185(0x124)][_0x371185(0xdb)]||this[_0x371185(0xdc)][_0x371185(0x124)][_0x371185(0xf2)]();}),this[_0x527ac2(0x114)][_0x527ac2(0xb8)][_0x527ac2(0xd0)][_0x527ac2(0xe2)]['on'](_0x527ac2(0x12e),()=>{const _0x28b12d=_0x527ac2;this[_0x28b12d(0xdc)][_0x28b12d(0x124)][_0x28b12d(0xdb)]||this[_0x28b12d(0xdc)][_0x28b12d(0x124)][_0x28b12d(0xf2)]();}),this[_0x527ac2(0x13e)](this[_0x527ac2(0x114)],_0x527ac2(0x13a),()=>{const _0x71096b=_0x527ac2;_0x14f8dd[_0x71096b(0x125)](this[_0x71096b(0x109)][_0x71096b(0xf7)]),this[_0x71096b(0xc4)]();}),this[_0x527ac2(0x13e)](this[_0x527ac2(0x114)],_0x527ac2(0x147),()=>{const _0x56d460=_0x527ac2;_0x14f8dd[_0x56d460(0x147)](this[_0x56d460(0x109)][_0x56d460(0xf7)]),this[_0x56d460(0xc4)]();}),this[_0x527ac2(0xbf)]();}[_0xd68d18(0xbf)](){const _0x5ee0f4=_0xd68d18,{locale:_0x5d5ab1,ui:{ariaLiveAnnouncer:_0x3834d8}}=this[_0x5ee0f4(0xe7)];this[_0x5ee0f4(0x114)][_0x5ee0f4(0x149)]['on'](_0x5ee0f4(0x15a),(_0x105de0,_0x456ef0,_0x116d4a)=>{const _0x11af32=_0x5ee0f4,_0x110765=this[_0x11af32(0x109)][_0x11af32(0xf7)];_0x116d4a?_0x3834d8[_0x11af32(0x151)](_0x5c0819(_0x5d5ab1,_0x11af32(0xd4))):_0x110765&&_0x3834d8[_0x11af32(0x151)](_0x5c0819(_0x5d5ab1,_0x11af32(0x152),_0x110765),{'politeness':_0x11af32(0x14f),'isUnsafeHTML':!0x0});}),this[_0x5ee0f4(0x114)]['on'](_0x5ee0f4(0x14d),(_0x58203c,_0x3ac4eb,_0x265f34)=>{const _0xb62dd8=_0x5ee0f4;if(_0x265f34){const _0x107e4c=this[_0xb62dd8(0x114)][_0xb62dd8(0xd8)][_0xb62dd8(0xfc)];_0x3834d8[_0xb62dd8(0x151)](_0x5c0819(_0x5d5ab1,_0xb62dd8(0x101),_0x107e4c));}});}[_0xd68d18(0xed)](_0x4f17f9){const _0x251706=_0xd68d18,_0x46eb44=this[_0x251706(0x11f)][_0x251706(0x137)](_0x4f17f9),_0x46a487=this[_0x251706(0xe7)],_0x290e79=_0x46a487[_0x251706(0x146)][_0x251706(0xc6)][_0x251706(0x110)],_0x159cac=_0x46a487[_0x251706(0x103)][_0x251706(0x137)](_0x251706(0x112)),_0x32c7f0=_0x46a487[_0x251706(0x164)][_0x251706(0x137)](_0x4ff11e),_0x3cc181=''+(_0x46eb44[_0x251706(0x102)]!==_0x2d94f4?_0x46eb44[_0x251706(0x11e)]+':\x20':'')+_0x46eb44[_0x251706(0xf8)];if(!0x1!==_0x46eb44[_0x251706(0xc9)]&&_0x290e79[_0x251706(0xee)]){const _0x11b59e=_0x1dfc77(_0x290e79[_0x251706(0x12a)]())||_0x46a487[_0x251706(0x146)][_0x251706(0x12f)][_0x251706(0x130)](_0x290e79);_0x46a487[_0x251706(0x146)][_0x251706(0xc3)](_0x4b6db1=>{const _0x1c5c2b=_0x251706;_0x4b6db1[_0x1c5c2b(0xea)](_0x11b59e,'in');});}_0x32c7f0[_0x251706(0x12b)](),_0x159cac[_0x251706(0xcb)](_0x46eb44[_0x251706(0xc8)],_0x3cc181,_0x251706(0xda)+_0x4f17f9);}[_0xd68d18(0xcc)](_0x2c3893,_0x1af709,_0x3482bb,_0x23c23e){const _0x10323b=_0xd68d18,_0x47f270=this[_0x10323b(0xe7)],_0x83b164=_0x47f270[_0x10323b(0x115)],_0x17ea79=new _0x15e44e(_0x83b164),_0x3871a5=B(_0x47f270,_0x3482bb)[_0x10323b(0xfd)](_0x3945bb=>_0x3945bb[_0x10323b(0x103)][_0x10323b(0x10a)]);0x1===_0x3871a5[_0x10323b(0x10a)]?this[_0x10323b(0xd7)]({'command':_0x2c3893,'commands':_0x3871a5[0x0][_0x10323b(0x103)],'parentMenuView':_0x1af709,'onExecute':_0x23c23e})[_0x10323b(0x11c)](_0x5ab944=>_0x17ea79[_0x10323b(0x162)][_0x10323b(0x135)](_0x5ab944)):_0x3871a5[_0x10323b(0x11c)](({groupId:_0xadb706,groupLabel:_0x39cc6d,commands:_0x3fe3ce})=>{const _0xa693d5=_0x10323b,_0x29a423=new _0xb2277c(_0x83b164,_0x1af709),_0xc1f634=new _0x483825(_0x83b164),_0x5d99d9=new _0x15e44e(_0x83b164),_0x821a4f=this[_0xa693d5(0xd7)]({'command':_0x2c3893,'commands':_0x3fe3ce,'parentMenuView':_0xc1f634,'onExecute':_0x23c23e});_0xc1f634[_0xa693d5(0xf1)][_0xa693d5(0x12c)]({'label':_0x39cc6d||_0xadb706}),_0xc1f634[_0xa693d5(0xc5)](_0xa693d5(0xcb))['to'](_0x1af709),_0x5d99d9[_0xa693d5(0x162)][_0xa693d5(0xbc)](_0x821a4f),_0xc1f634[_0xa693d5(0x104)][_0xa693d5(0x120)][_0xa693d5(0x135)](_0x5d99d9),_0x29a423[_0xa693d5(0x120)][_0xa693d5(0x135)](_0xc1f634),_0x17ea79[_0xa693d5(0x162)][_0xa693d5(0x135)](_0x29a423);}),_0x1af709[_0x10323b(0x104)][_0x10323b(0x120)][_0x10323b(0x135)](_0x17ea79);}[_0xd68d18(0xd7)]({command:_0x20d261,commands:_0x25c890,parentMenuView:_0xc22f25,onExecute:_0x3ebe8f}){const _0x334eba=_0xd68d18,_0x4e6b45=this[_0x334eba(0xe7)],_0x49c572=_0x4e6b45[_0x334eba(0x115)];return B(_0x4e6b45,_0x25c890)[_0x334eba(0x11d)](_0x23ce1d=>{const _0x357c26=_0x334eba,_0x3bb365=new _0xb2277c(_0x49c572,_0xc22f25),_0x430b12=new _0x123ffe(_0x49c572);return _0x430b12[_0x357c26(0x12c)]({'label':_0x23ce1d[_0x357c26(0xf8)]}),_0x430b12[_0x357c26(0xc5)](_0x357c26(0xcb))['to'](_0xc22f25),_0x430b12['on'](_0x357c26(0xcb),()=>_0x3ebe8f(_0x23ce1d['id'])),_0x430b12[_0x357c26(0x127)](_0x357c26(0xf9))['to'](_0x20d261,_0x357c26(0x15c),_0x46eaf9=>_0x46eaf9[_0x357c26(0xcf)](_0x23ce1d['id'])),_0x3bb365[_0x357c26(0x120)][_0x357c26(0x135)](_0x430b12),_0x3bb365;});}}function U(_0x49fa8d,_0x3b8a2e){const _0x24cbb3=_0xd68d18;return void 0x0!==_0x49fa8d[_0x24cbb3(0xc2)]&&void 0x0===_0x3b8a2e[_0x24cbb3(0xc2)]?0x1:void 0x0===_0x49fa8d[_0x24cbb3(0xc2)]&&void 0x0!==_0x3b8a2e[_0x24cbb3(0xc2)]?-0x1:void 0x0!==_0x49fa8d[_0x24cbb3(0xc2)]&&void 0x0!==_0x3b8a2e[_0x24cbb3(0xc2)]?_0x49fa8d[_0x24cbb3(0xc2)]-_0x3b8a2e[_0x24cbb3(0xc2)]:0x0;}function B(_0x285475,_0x72a405){const _0x3e58f6=_0xd68d18;_0x72a405[_0x3e58f6(0xc7)](U);const _0x4e368c={},_0x1f1195=[];for(const _0x83e49b of _0x72a405)if(void 0x0!==_0x83e49b[_0x3e58f6(0xc2)]){if(_0x83e49b[_0x3e58f6(0xc2)]in _0x4e368c)throw new _0x4087d7(_0x3e58f6(0x148),_0x285475,{'conflictingDefinitions':[_0x83e49b,_0x4e368c[_0x83e49b[_0x3e58f6(0xc2)]]]});_0x4e368c[_0x83e49b[_0x3e58f6(0xc2)]]=_0x83e49b,_0x1f1195[_0x3e58f6(0xbd)](_0x83e49b[_0x3e58f6(0xc2)],0x0,_0x83e49b);}else _0x1f1195[_0x3e58f6(0x14e)](_0x83e49b);return _0x1f1195;}function _0x5392(){const _0x29cb2d=['updatePosition','show','text/html','isOfficialPlugin','getRanges','currentContext','label','isEnabled','source','aiAssistant','text','filter','AIAssistantUI','aiLicenseKeyDomainLimit','getData','Error\x20during\x20AI\x20content\x20generation:\x20%0','groupId','commands','panelView','change:value','usageLimit','textAdapter','change:enabledCommandsIds','_aiAssistantController','length','ck-ai-assistant-ui','isFlat','_showLicenseError','aiLicenseKeyValid','componentFactory','selection','REPLACE','showAIAssistant','replace','_formView','locale','menuitemcheckbox','fire','_forceMarkersCopy','1397832PbSWbU','custom','isOn','forEach','map','groupLabel','_commandDefinitions','children','requires','showUI','_initView','view','insertContent','tableOfContents','bind','hide','ck-ai-commands-dropdown\x20','getSelectedBlocks','showFakeVisualSelection','set','\x20ck-ai-assistant-ui_theme','update','schema','getLimitElement','_uiCssClasses','ck-ai-assistant-button\x20','6gKGvaN','82578quDdhp','add','aiLicenseKeyEvaluationLimit','get','from','aiLicenseKeyInvalid','replaceContent','menuView','ai.assistant.commands','DataTransfer','listenTo','comment','getSelectedElement','INSERT','destroy','updateView','expired','buttons','model','insertContentBelow','ai-commands-config-order-collision','contentArea','</p>','config','AIAssistant','change:isError','push','polite','copy','announce','Generated\x20content:\x20%0','menuPanelClass','once','_aiAdapter','EDITOR_TOP_SIDE','_createAIAssistantUIButton','_getResolvedCommandsDefinitions','domainLimit','change:isProcessing','menuBar:aiCommands','enabledCommandsIds','trim','AI\x20Assistant','466011BYpVfq','isPremiumPlugin','hideFakeVisualSelection','items','menuBar:aiAssistant','plugins','licenseKey','ai.assistant.disabledElements','promptView','focus','aiLicenseKeyExpired','_licenseKeyCheckInterval','addMany','splice','body','_initAriaAiStatusChangeAnnouncements','61055ZxZGHt','1255040rRQcOT','order','change','hideUI','delegate','document','sort','prompt','requiresContent','media','execute','_populateMenuBarMenu','aiLicenseKeyUsageLimit','define','includes','queryView','ai.assistant.contentAreaCssClass','invalid','3558621lRuXdd','AI\x20is\x20writing','evaluationLimit','featureNotAllowed','_getMenuBarGroupButtons','errorView','init','command:','wasMoved','_dialog','<p>','6mYmkqV','render','reset','aiCommands','fieldView','299775RczUCc','pluginName','7YuRIXg','values','editor','AI\x20Commands','rawHtml','setSelection','4QGRmsL','aiLicenseKeyNotAllowed','_onExecute','isCollapsed','ai.assistant.useTheme','editing','buttonView'];_0x5392=function(){return _0x29cb2d;};return _0x5392();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x58742f,_0x2db315){var _0x2e1205=_0x3e2d,_0xf1797=_0x58742f();while(!![]){try{var _0x4ca1f4=parseInt(_0x2e1205(0x13b))/0x1*(-parseInt(_0x2e1205(0x13d))/0x2)+-parseInt(_0x2e1205(0x13e))/0x3+parseInt(_0x2e1205(0x136))/0x4+parseInt(_0x2e1205(0x13c))/0x5*(parseInt(_0x2e1205(0x137))/0x6)+-parseInt(_0x2e1205(0x138))/0x7+parseInt(_0x2e1205(0x13f))/0x8+parseInt(_0x2e1205(0x139))/0x9*(parseInt(_0x2e1205(0x13a))/0xa);if(_0x4ca1f4===_0x2db315)break;else _0xf1797['push'](_0xf1797['shift']());}catch(_0x32f810){_0xf1797['push'](_0xf1797['shift']());}}}(_0x1fdb,0x72f1d));function _0x3e2d(_0xc17c9c,_0x1406b0){var _0x1fdbc9=_0x1fdb();return _0x3e2d=function(_0x3e2dfb,_0x1d1fc6){_0x3e2dfb=_0x3e2dfb-0x136;var _0x58ab9f=_0x1fdbc9[_0x3e2dfb];return _0x58ab9f;},_0x3e2d(_0xc17c9c,_0x1406b0);}function _0x1fdb(){var _0x59a957=['20hqZFfc','131434jeHZqQ','30CngrKU','14AEzwvP','1774296vZdaQH','6463952iGTgDP','3374048DPwNPx','675522RAkYSK','2535547fZevbL','78642BMwaCx'];_0x1fdb=function(){return _0x59a957;};return _0x1fdb();}import{CKEditorError as _0x3dc428}from'ckeditor5/src/utils.js';
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x3de219=_0x9df7;(function(_0x20ee94,_0x340879){const _0x48f150=_0x9df7,_0x15efcf=_0x20ee94();while(!![]){try{const _0x31f62a=parseInt(_0x48f150(0xbd))/0x1*(-parseInt(_0x48f150(0xdc))/0x2)+parseInt(_0x48f150(0xe5))/0x3+parseInt(_0x48f150(0xdb))/0x4*(-parseInt(_0x48f150(0xcf))/0x5)+-parseInt(_0x48f150(0xe1))/0x6+parseInt(_0x48f150(0xb5))/0x7*(-parseInt(_0x48f150(0xd6))/0x8)+parseInt(_0x48f150(0xd7))/0x9*(parseInt(_0x48f150(0xd3))/0xa)+-parseInt(_0x48f150(0xe6))/0xb*(-parseInt(_0x48f150(0xc3))/0xc);if(_0x31f62a===_0x340879)break;else _0x15efcf['push'](_0x15efcf['shift']());}catch(_0x12e2bb){_0x15efcf['push'](_0x15efcf['shift']());}}}(_0x4f15,0xad199));import{ObservableMixin as _0x1e5fae}from'ckeditor5/src/utils.js';function _0x9df7(_0x5b2818,_0x5c0018){const _0x4f1568=_0x4f15();return _0x9df7=function(_0x9df7f3,_0x30cfe5){_0x9df7f3=_0x9df7f3-0xa8;let _0x515c2c=_0x4f1568[_0x9df7f3];return _0x515c2c;},_0x9df7(_0x5b2818,_0x5c0018);}import{AIRequestError as _0x2e930f}from'../adapters/aiadapter.js';import{Matcher as _0xef8a5f,ViewUpcastWriter as _0x526394}from'ckeditor5/src/engine.js';const hs=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');function _0x4f15(){const _0x7b43c=['exec','mainAction','_sanitizeHTML','message','endsWith','name','from','_parseAndNormalizeContent','_stripMarkdownSyntax','htmlProcessor','serializeToString','prompt','finishProcessing','7OibjtE','childNodes','value','markers','view','text/html','querySelector','listenTo','129vuXCGy','createElement','rename','catch','startsWith','render','348xHGRAU','isProcessing','currentContext','stringify','previousActionId','element','reverse','currentResponse','tryAgainEvent','stopListening','_normalizeResponseHeadings','editing','135czyqNq','previousContext','ELEMENT_NODE','initialContext','21990kCkrAx','document','domConverter','9928304RseRmn','2682wKjVxR','get','```html','previousLabel','15576OvdUIx','17194GSBmlo','once','body','nodeType','clear','830388GggBNt','finally','abort','div','3513867vUiBVz','559867kBdihh','editor','_xmlSerializer','set:currentContext','reset','custom','toView','stopProcessing','handleError','_handleQuery','length','config','processor','<h1></h1>','then','_sanitizationContainer','destroy','trim','submitPrompt','updateView','ai.assistant.preserveComments','setContentOf','remove','_domParser','startProcessing','toModel','makeRequest','_isH1TagSupportEnabled','match','isRendered','substring','set','textAdapter','```','previousQuery','data','push','parseFromString','viewToDom','innerHTML'];_0x4f15=function(){return _0x7b43c;};return _0x4f15();}export class AIAssistantController extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x1e5fae(){[_0x3de219(0xe7)];[_0x3de219(0x106)];[_0x3de219(0xb9)];[_0x3de219(0xf5)];[_0x3de219(0xfd)];[_0x3de219(0xe8)];constructor(_0x29ee8f,_0x4b0572,_0x5f3cec){const _0x31d643=_0x3de219;super(),this[_0x31d643(0xe7)]=_0x29ee8f,this[_0x31d643(0x106)]=_0x4b0572,this[_0x31d643(0xf5)]=document[_0x31d643(0xbe)](_0x31d643(0xe4)),this[_0x31d643(0xfd)]=new DOMParser(),this[_0x31d643(0xe8)]=new XMLSerializer(),this[_0x31d643(0xb9)]=_0x5f3cec,this[_0x31d643(0x105)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x31d643(0xe9),(_0xb84b74,_0x369a1c,_0xa2b103)=>{const _0x1740e0=_0x31d643;this[_0x1740e0(0xb9)][_0x1740e0(0xb7)]=this[_0x1740e0(0xaa)](_0xa2b103);}),this[_0x31d643(0xbc)](this[_0x31d643(0xb9)],_0x31d643(0xf8),(_0xdf0001,_0x52096d)=>{const _0x47c8be=_0x31d643,_0x1180d4=this[_0x47c8be(0xc5)]||this[_0x47c8be(0xd2)];this[_0x47c8be(0xef)](_0x52096d,_0x1180d4,_0x47c8be(0xeb));}),this[_0x31d643(0xbc)](this[_0x31d643(0xb9)],_0x31d643(0xcb),()=>{const _0x5d7147=_0x31d643;this[_0x5d7147(0xb9)][_0x5d7147(0xb3)]=this[_0x5d7147(0xda)],this[_0x5d7147(0xef)](this[_0x5d7147(0x108)],this[_0x5d7147(0xd0)],this[_0x5d7147(0xc7)],this[_0x5d7147(0xda)]);}),this[_0x31d643(0xbc)](this[_0x31d643(0xb9)],_0x31d643(0xed),()=>{const _0x31c5e6=_0x31d643;this[_0x31c5e6(0xed)]();});}[_0x3de219(0xf6)](){const _0xb897b=_0x3de219;this[_0xb897b(0xcc)]();}async[_0x3de219(0xf9)]({actionId:_0x5cf081,query:_0x2a250d,htmlContent:_0x2a8f4e,label:_0x59b6ab,mainActionLabel:_0x3ca117}){const _0x5a89c3=_0x3de219;this[_0x5a89c3(0xb9)][_0x5a89c3(0xb3)]=_0x59b6ab,this[_0x5a89c3(0xb9)][_0x5a89c3(0xa9)]=_0x3ca117,this[_0x5a89c3(0xd2)]=_0x2a8f4e,_0x2a250d&&(this[_0x5a89c3(0xb9)][_0x5a89c3(0x103)]?this[_0x5a89c3(0xef)](_0x2a250d,_0x2a8f4e,_0x5cf081,_0x59b6ab):this[_0x5a89c3(0xb9)][_0x5a89c3(0xdd)](_0x5a89c3(0xc2),()=>{const _0x2d6db7=_0x5a89c3;this[_0x2d6db7(0xef)](_0x2a250d,_0x2a8f4e,_0x5cf081,_0x59b6ab);}));}[_0x3de219(0xed)](){const _0x5e1b3d=_0x3de219;this[_0x5e1b3d(0xc4)]&&(this[_0x5e1b3d(0xc4)]=!0x1,this[_0x5e1b3d(0xb9)][_0x5e1b3d(0xb4)](),this[_0x5e1b3d(0x106)][_0x5e1b3d(0xe3)]());}[_0x3de219(0xea)](){const _0x2c45de=_0x3de219;this[_0x2c45de(0xd2)]='',this[_0x2c45de(0xc5)]='',this[_0x2c45de(0xca)]='',this[_0x2c45de(0xd0)]='',this[_0x2c45de(0x108)]='',this[_0x2c45de(0xda)]='',this[_0x2c45de(0xc7)]=void 0x0,this[_0x2c45de(0xb9)][_0x2c45de(0xea)](),this[_0x2c45de(0xed)]();}async[_0x3de219(0xef)](_0xf48754,_0x22b022,_0x128074,_0x3e9d25){const _0x130ec0=_0x3de219;return this[_0x130ec0(0xc4)]=!0x0,this[_0x130ec0(0xb9)][_0x130ec0(0xfe)](),this[_0x130ec0(0xd0)]=_0x22b022,this[_0x130ec0(0x108)]=_0xf48754,this[_0x130ec0(0xda)]=_0x3e9d25||_0xf48754,this[_0x130ec0(0xc7)]=_0x128074,new Promise(_0xfe2b68=>{const _0x393d13=_0x130ec0;this[_0x393d13(0x106)][_0x393d13(0x100)]({'query':_0xf48754,'context':_0x22b022,'onData':_0x55c1d2=>{const _0x538526=_0x393d13;this[_0x538526(0xca)]=_0x55c1d2,this[_0x538526(0xc5)]=this[_0x538526(0xaf)](this[_0x538526(0xca)]);},'actionId':_0x128074})[_0x393d13(0xf4)](()=>{const _0x111b67=_0x393d13;!this[_0x111b67(0xc5)]&&this[_0x111b67(0xca)]&&(this[_0x111b67(0xc5)]=this[_0x111b67(0xaf)](this[_0x111b67(0xca)],!0x0));})[_0x393d13(0xc0)](_0x1696dc=>{const _0x3cc2f4=_0x393d13;_0x1696dc instanceof _0x2e930f?this[_0x3cc2f4(0xb9)][_0x3cc2f4(0xee)](_0x1696dc[_0x3cc2f4(0xab)]):this[_0x3cc2f4(0xb9)][_0x3cc2f4(0xee)](),_0xfe2b68();})[_0x393d13(0xe2)](()=>{const _0x255a17=_0x393d13;this[_0x255a17(0xed)](),_0xfe2b68();});});}[_0x3de219(0xaf)](_0x585f3d,_0xc59f1=!0x1){const _0x1994e9=_0x3de219,_0x5318db=hs[_0x1994e9(0xa8)](_0x585f3d);_0x585f3d=_0x5318db?_0x585f3d[_0x1994e9(0x104)](_0x5318db[0x1][_0x1994e9(0xf0)]):_0x585f3d[_0x1994e9(0xf0)]<0x64&&!_0xc59f1?'':this[_0x1994e9(0xb0)](_0x585f3d);const _0x57c3aa=this[_0x1994e9(0xfd)][_0x1994e9(0x10b)](_0x585f3d,_0x1994e9(0xba));if(_0x5318db){const _0x524c90=Array[_0x1994e9(0xae)](_0x57c3aa[_0x1994e9(0xde)][_0x1994e9(0xb6)]);_0x524c90[_0x1994e9(0xc9)]();for(const _0x122cb2 of _0x524c90){if(_0x122cb2[_0x1994e9(0xdf)]==Node[_0x1994e9(0xd1)])break;_0x122cb2[_0x1994e9(0xfc)]();}}const _0x309b15=this[_0x1994e9(0xe7)][_0x1994e9(0x109)][_0x1994e9(0xf2)][_0x1994e9(0xec)](this[_0x1994e9(0xe8)][_0x1994e9(0xb2)](_0x57c3aa[_0x1994e9(0xde)]));this[_0x1994e9(0x101)]()||this[_0x1994e9(0xcd)](_0x309b15);const _0x88ca5a=this[_0x1994e9(0xe7)][_0x1994e9(0xf1)][_0x1994e9(0xd8)](_0x1994e9(0xfa)),_0x41e44b=this[_0x1994e9(0xe7)][_0x1994e9(0x109)][_0x1994e9(0xff)](_0x309b15);return _0x88ca5a||_0x41e44b[_0x1994e9(0xb8)][_0x1994e9(0xe0)](),this[_0x1994e9(0xe7)][_0x1994e9(0x109)][_0x1994e9(0xc6)](_0x41e44b);}[_0x3de219(0xcd)](_0x3ba70c){const _0xf79566=_0x3de219,_0xd08348=new _0x526394(this[_0xf79566(0xe7)][_0xf79566(0xce)][_0xf79566(0xb9)][_0xf79566(0xd4)]),_0x33aa11=new _0xef8a5f({'name':/^h[1-5]$/}),_0x5a8080=[];let _0x171576=!0x1;for(const _0x46b05d of _0x3ba70c)_0x46b05d['is'](_0xf79566(0xc8))&&_0x33aa11[_0xf79566(0x102)](_0x46b05d)&&(_0x5a8080[_0xf79566(0x10a)](_0x46b05d),'h1'==_0x46b05d[_0xf79566(0xad)]&&(_0x171576=!0x0));if(_0x171576){for(const _0x26bac8 of _0x5a8080)_0xd08348[_0xf79566(0xbf)]('h'+(parseInt(_0x26bac8[_0xf79566(0xad)][0x1])+0x1),_0x26bac8);}}[_0x3de219(0x101)](){const _0x4ed613=_0x3de219,{data:_0x5d27bf,editing:_0x556984}=this[_0x4ed613(0xe7)],_0x49e312=_0x5d27bf[_0x4ed613(0xb1)][_0x4ed613(0xec)](_0x4ed613(0xf3)),_0x34161c=_0x5d27bf[_0x4ed613(0xec)](_0x5d27bf[_0x4ed613(0xff)](_0x49e312));return!!_0x556984[_0x4ed613(0xb9)][_0x4ed613(0xd5)][_0x4ed613(0x10c)](_0x34161c)[_0x4ed613(0xbb)]('h1');}[_0x3de219(0xaa)](_0x4ef731){const _0x48b644=_0x3de219;return this[_0x48b644(0xe7)][_0x48b644(0xce)][_0x48b644(0xb9)][_0x48b644(0xd5)][_0x48b644(0xfb)](this[_0x48b644(0xf5)],_0x4ef731),this[_0x48b644(0xf5)][_0x48b644(0x10d)];}[_0x3de219(0xb0)](_0x1cf31a){const _0xa8abce=_0x3de219,_0x4751da=_0x1cf31a[_0xa8abce(0xf7)]();return _0x4751da[_0xa8abce(0xc1)](_0xa8abce(0xd9))?_0x4751da[_0xa8abce(0xac)](_0xa8abce(0x107))?_0x4751da[_0xa8abce(0x104)](0x7,_0x4751da[_0xa8abce(0xf0)]-0x3):_0x4751da[_0xa8abce(0x104)](0x7):_0x1cf31a;}}
|