@ckeditor/ckeditor5-ai 47.7.1 → 47.7.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/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 _0x253731=_0x5f00;function _0xc053(){var _0x425037=['1089295NBElIK','4267356ppFbxd','6227039ZvDabn','AIRequestError','711vqLSli','13742460TWUCJc','isPremiumPlugin','pluginName','isOfficialPlugin','afterInit','9282IkqYvh','textAdapter','AIAdapter','4ZiWCeT','1059265dAkyRq','3577024HBoBzQ','aiadapter-text-adapter-not-set','name'];_0xc053=function(){return _0x425037;};return _0xc053();}(function(_0x9163f3,_0x16d30d){var _0x3e1eaf=_0x5f00,_0x3780ab=_0x9163f3();while(!![]){try{var _0x4b9c7a=parseInt(_0x3e1eaf(0x90))/0x1+parseInt(_0x3e1eaf(0x9a))/0x2*(-parseInt(_0x3e1eaf(0x94))/0x3)+parseInt(_0x3e1eaf(0x9d))/0x4*(parseInt(_0x3e1eaf(0x9e))/0x5)+-parseInt(_0x3e1eaf(0x91))/0x6+-parseInt(_0x3e1eaf(0x92))/0x7+parseInt(_0x3e1eaf(0x9f))/0x8+parseInt(_0x3e1eaf(0x95))/0x9;if(_0x4b9c7a===_0x16d30d)break;else _0x3780ab['push'](_0x3780ab['shift']());}catch(_0xe9aef4){_0x3780ab['push'](_0x3780ab['shift']());}}}(_0xc053,0x8c420));import{Plugin as _0xdeb5dd}from'ckeditor5/src/core.js';import{CKEditorError as _0x2c09f4}from'ckeditor5/src/utils.js';function _0x5f00(_0x5d84aa,_0x1363fa){var _0xc05380=_0xc053();return _0x5f00=function(_0x5f0059,_0xfbadff){_0x5f0059=_0x5f0059-0x8e;var _0x134a55=_0xc05380[_0x5f0059];return _0x134a55;},_0x5f00(_0x5d84aa,_0x1363fa);}export class AIAdapter extends _0xdeb5dd{static get[_0x253731(0x97)](){var _0x5aa4e6=_0x253731;return _0x5aa4e6(0x9c);}static get[_0x253731(0x98)](){return!0x0;}static get[_0x253731(0x96)](){return!0x0;}[_0x253731(0x99)](){var _0x2eea9f=_0x253731;if(!this[_0x2eea9f(0x9b)])throw new _0x2c09f4(_0x2eea9f(0x8e),null);}}export class AIRequestError extends Error{constructor(_0x24596e){var _0x2c29c5=_0x253731;super(_0x24596e),this[_0x2c29c5(0x8f)]=_0x2c29c5(0x93);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x31371f=_0x1488;(function(_0x51d3d4,_0x3f1db1){const _0x4204bb=_0x1488,_0x2e5fc0=_0x51d3d4();while(!![]){try{const _0x23873d=-parseInt(_0x4204bb(0x6f))/0x1*(-parseInt(_0x4204bb(0x8c))/0x2)+-parseInt(_0x4204bb(0x86))/0x3+parseInt(_0x4204bb(0x89))/0x4*(-parseInt(_0x4204bb(0x6b))/0x5)+parseInt(_0x4204bb(0x7d))/0x6*(parseInt(_0x4204bb(0x71))/0x7)+-parseInt(_0x4204bb(0x8d))/0x8*(parseInt(_0x4204bb(0x8f))/0x9)+-parseInt(_0x4204bb(0x78))/0xa*(-parseInt(_0x4204bb(0x75))/0xb)+parseInt(_0x4204bb(0x77))/0xc;if(_0x23873d===_0x3f1db1)break;else _0x2e5fc0['push'](_0x2e5fc0['shift']());}catch(_0x1bf7d2){_0x2e5fc0['push'](_0x2e5fc0['shift']());}}}(_0x4766,0x735b6));import{Plugin as _0x1b4193}from'ckeditor5/src/core.js';import{CKEditorError as _0x10a8cd}from'ckeditor5/src/utils.js';function _0x4766(){const _0x2d72ad=['aitextadapter-send-request-failed','reject','init','2210483XgaZwh','application/json','1006128ewgntF','30dSgrKU','AbortError','object','abortController','abort','1713918dOGCXm','_prepareRequestHeaders','requires','textAdapter','error','locale','name','sendRequest','resolve','2656134UjwkfH','makeRequest','editor','110364uIZMMY','AI_ERROR_GET_PARAMETERS','_prepareRequestParameters','8902jnJlya','92840BDWlpt','assign','225BzfTRG','plugins','aborted','85YyYerF','catch','signal','get','193CUKivq','AI_ERROR_GET_HEADERS','14liSoVf'];_0x4766=function(){return _0x2d72ad;};return _0x4766();}function _0x1488(_0x41974b,_0x584638){const _0x47664f=_0x4766();return _0x1488=function(_0x1488a5,_0x19cd22){_0x1488a5=_0x1488a5-0x69;let _0x379bfa=_0x47664f[_0x1488a5];return _0x379bfa;},_0x1488(_0x41974b,_0x584638);}import{AIAdapter as _0x1a715d,AIRequestError as _0x5696bc}from'./aiadapter.js';import{getTranslation as _0x3094dd}from'../utils/common-translations.js';export class AITextAdapter extends _0x1b4193{[_0x31371f(0x7b)];static get[_0x31371f(0x7f)](){return[_0x1a715d];}constructor(_0x541de2){const _0xce87f6=_0x31371f;super(_0x541de2),this[_0xce87f6(0x7b)]=new AbortController();}[_0x31371f(0x74)](){const _0x28cea7=_0x31371f;this[_0x28cea7(0x88)][_0x28cea7(0x69)][_0x28cea7(0x6e)](_0x1a715d)[_0x28cea7(0x80)]=this;}[_0x31371f(0x7c)](){const _0x58c159=_0x31371f;this[_0x58c159(0x7b)][_0x58c159(0x6d)][_0x58c159(0x6a)]||(this[_0x58c159(0x7b)][_0x58c159(0x7c)](),this[_0x58c159(0x7b)]=new AbortController());}async[_0x31371f(0x87)](_0x54a4c6){const _0x154ddc=_0x31371f;return this[_0x154ddc(0x84)](_0x54a4c6)[_0x154ddc(0x6c)](_0xec8550=>{const _0x1742c1=_0x154ddc;if(_0xec8550 instanceof _0x5696bc)return Promise[_0x1742c1(0x73)](_0xec8550);if(_0x1742c1(0x79)==_0xec8550[_0x1742c1(0x83)])return Promise[_0x1742c1(0x85)]();throw console[_0x1742c1(0x81)](_0xec8550),new _0x10a8cd(_0x1742c1(0x72),null);});}async[_0x31371f(0x7e)](_0x1a093f,_0x3ce7e7){const _0x181824=_0x31371f,_0x489c3b=this[_0x181824(0x88)][_0x181824(0x82)],_0x42a18f={'Content-Type':_0x181824(0x76)};if(_0x181824(0x7a)==typeof _0x1a093f)Object[_0x181824(0x8e)](_0x42a18f,_0x1a093f);else{if(_0x1a093f)try{const _0x3b7b08=await _0x1a093f(_0x3ce7e7);Object[_0x181824(0x8e)](_0x42a18f,_0x3b7b08);}catch{return Promise[_0x181824(0x73)](new _0x5696bc(_0x3094dd(_0x489c3b,_0x181824(0x70))));}}return _0x42a18f;}async[_0x31371f(0x8b)](_0x4276c3,_0x2fb27d){const _0x31da6f=_0x31371f,_0x20fb67=this[_0x31da6f(0x88)][_0x31da6f(0x82)];if(_0x31da6f(0x7a)==typeof _0x4276c3)return _0x4276c3;try{return await _0x4276c3(_0x2fb27d);}catch{return Promise[_0x31da6f(0x73)](new _0x5696bc(_0x3094dd(_0x20fb67,_0x31da6f(0x8a))));}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x403a63=_0x56dc;(function(_0xa6844e,_0x289020){var _0x55c455=_0x56dc,_0x5403d0=_0xa6844e();while(!![]){try{var _0x26bffc=-parseInt(_0x55c455(0xe3))/0x1*(-parseInt(_0x55c455(0xdf))/0x2)+-parseInt(_0x55c455(0xce))/0x3*(parseInt(_0x55c455(0xdb))/0x4)+-parseInt(_0x55c455(0xd0))/0x5*(-parseInt(_0x55c455(0xd2))/0x6)+-parseInt(_0x55c455(0xe0))/0x7*(parseInt(_0x55c455(0xd5))/0x8)+parseInt(_0x55c455(0xda))/0x9*(parseInt(_0x55c455(0xdc))/0xa)+-parseInt(_0x55c455(0xd7))/0xb*(parseInt(_0x55c455(0xd4))/0xc)+-parseInt(_0x55c455(0xdd))/0xd*(-parseInt(_0x55c455(0xcf))/0xe);if(_0x26bffc===_0x289020)break;else _0x5403d0['push'](_0x5403d0['shift']());}catch(_0x2cf054){_0x5403d0['push'](_0x5403d0['shift']());}}}(_0x369f,0x44918));import{AITextAdapter as _0xd247d8}from'./aitextadapter.js';import{AIRequestError as _0x5e2219}from'./aiadapter.js';import{getTranslation as _0x51eb0f}from'../utils/common-translations.js';import{logWarning as _0xa73cc4,logError as _0x361df7}from'ckeditor5/src/utils.js';function _0x56dc(_0x268f34,_0x2012a8){var _0x369fca=_0x369f();return _0x56dc=function(_0x56dcff,_0x4c2904){_0x56dcff=_0x56dcff-0xce;var _0x64e0e7=_0x369fca[_0x56dcff];return _0x64e0e7;},_0x56dc(_0x268f34,_0x2012a8);}export class AWSTextAdapter extends _0xd247d8{static get[_0x403a63(0xe1)](){var _0x43e7a3=_0x403a63;return _0x43e7a3(0xd3);}[_0x403a63(0xde)](){var _0x27fca1=_0x403a63;super[_0x27fca1(0xde)](),_0xa73cc4(_0x27fca1(0xd9));}async[_0x403a63(0xe2)](_0x20329a){var _0x5f0b99=_0x403a63;throw _0x361df7(_0x5f0b99(0xd9)),new _0x5e2219(_0x51eb0f(this[_0x5f0b99(0xd1)][_0x5f0b99(0xd6)],_0x5f0b99(0xd8)));}}function _0x369f(){var _0x255263=['275751MiUxEm','pluginName','sendRequest','31436ecodZr','830193VZCLOW','14pRKHTu','8115BGzKIJ','editor','24MPRyhK','AWSTextAdapter','72OXYmEW','96ZCweVk','locale','744469rzThRj','AI_ERROR_AWS_NOT_SUPPORTED','ai-aws-adapter-not-supported','234bzdmxF','8uICuFD','31630gxAaSg','15804230FQMXHR','init','26BilVoH'];_0x369f=function(){return _0x255263;};return _0x369f();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x8c3dbc=_0x24d0;function _0x286a(){const _0x4e9241=['signal','1187937dhyYEh','parse','resolve','context_length_exceeded','system','locale','ai.assistant.adapter.openAI.requestParameters','966296fykilY','25xQSnlu','POST','abortController','editor','\x0aYou\x20must\x20keep\x20the\x20text\x20formatting.\x0a\x0aContent:\x0a','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.','map','gpt-4o','getReader','_isBufferIncomplete','stringify','2056998eChKJb','split','62973HltAUV','data:\x20','AI_ERROR_MODERATION','replace','[DONE]','12903327ORgyJJ','define','stream','4184EMutrW','message','ai.assistant.adapter.openAI.apiUrl','delta','47376000RlwVtp','length','join','pluginName','https://api.openai.com/v1/chat/completions','AI_ERROR_CONTEXT_LENGTH','_readStaticResponse','text','content','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.','_requestParameters','8491xlLAuN','config','_apiUrl','user','_prepareRequestParameters','json','reject','get','includes','sendRequest','_readStreamableResponse','_cleanUpData','Moderation','prepareMessages','ai.assistant.adapter.openAI.requestHeaders','read','Instruction:\x0a','choices','filter','OpenAITextAdapter','decode','4qNVGNr','_prepareRequestHeaders','body','_requestHeaders'];_0x286a=function(){return _0x4e9241;};return _0x286a();}function _0x24d0(_0x5b2fd9,_0x35964a){const _0x286aff=_0x286a();return _0x24d0=function(_0x24d0ad,_0x4ffe0f){_0x24d0ad=_0x24d0ad-0x6e;let _0x9ec9f5=_0x286aff[_0x24d0ad];return _0x9ec9f5;},_0x24d0(_0x5b2fd9,_0x35964a);}(function(_0x4401d0,_0x3e5743){const _0x33ff36=_0x24d0,_0xf50316=_0x4401d0();while(!![]){try{const _0x50131e=parseInt(_0x33ff36(0x7b))/0x1*(parseInt(_0x33ff36(0xa7))/0x2)+-parseInt(_0x33ff36(0xac))/0x3+parseInt(_0x33ff36(0xb3))/0x4+-parseInt(_0x33ff36(0x6e))/0x5*(parseInt(_0x33ff36(0x79))/0x6)+-parseInt(_0x33ff36(0x92))/0x7*(parseInt(_0x33ff36(0x83))/0x8)+-parseInt(_0x33ff36(0x80))/0x9+parseInt(_0x33ff36(0x87))/0xa;if(_0x50131e===_0x3e5743)break;else _0xf50316['push'](_0xf50316['shift']());}catch(_0x33ae14){_0xf50316['push'](_0xf50316['shift']());}}}(_0x286a,0xe249a));import{AITextAdapter as _0x30518d}from'./aitextadapter.js';import{AIRequestError as _0x4ef7cc}from'./aiadapter.js';import{getTranslation as _0x9752c4}from'../utils/common-translations.js';export class OpenAITextAdapter extends _0x30518d{[_0x8c3dbc(0x94)];[_0x8c3dbc(0xaa)];[_0x8c3dbc(0x91)];static get[_0x8c3dbc(0x8a)](){const _0x15b9e8=_0x8c3dbc;return _0x15b9e8(0xa5);}constructor(_0x5cccee){const _0x547e81=_0x8c3dbc;super(_0x5cccee),_0x5cccee[_0x547e81(0x93)][_0x547e81(0x81)](_0x547e81(0x85),_0x547e81(0x8b)),_0x5cccee[_0x547e81(0x93)][_0x547e81(0x99)](_0x547e81(0xb2))||_0x5cccee[_0x547e81(0x93)][_0x547e81(0x81)](_0x547e81(0xb2),{'model':_0x547e81(0x75),'temperature':0x1,'top_p':0x1,'stream':!0x0}),this[_0x547e81(0x94)]=_0x5cccee[_0x547e81(0x93)][_0x547e81(0x99)](_0x547e81(0x85)),this[_0x547e81(0xaa)]=_0x5cccee[_0x547e81(0x93)][_0x547e81(0x99)](_0x547e81(0xa0))||{},this[_0x547e81(0x91)]=_0x5cccee[_0x547e81(0x93)][_0x547e81(0x99)](_0x547e81(0xb2));}async[_0x8c3dbc(0x9b)]({query:_0x3f75af,context:_0x49457b,onData:_0xb950c2,actionId:_0xf3f203}){const _0x127517=_0x8c3dbc,_0x1f060c=this[_0x127517(0x71)][_0x127517(0xb1)],_0xe71acf=await this[_0x127517(0x9f)](_0x3f75af,_0x49457b,_0xf3f203),_0x4cf8ad=await this[_0x127517(0xa8)](this[_0x127517(0xaa)],_0xf3f203),_0x558b80=await this[_0x127517(0x96)](this[_0x127517(0x91)],_0xf3f203),_0x24b24a={'messages':_0xe71acf,..._0x558b80},_0x544645={'method':_0x127517(0x6f),'headers':_0x4cf8ad,'body':JSON[_0x127517(0x78)](_0x24b24a),'signal':this[_0x127517(0x70)][_0x127517(0xab)]},_0x232632=await fetch(this[_0x127517(0x94)],_0x544645);if(_0x232632['ok'])return _0x558b80[_0x127517(0x82)]?await this[_0x127517(0x9c)](_0x232632,_0xb950c2):await this[_0x127517(0x8d)](_0x232632,_0xb950c2),Promise[_0x127517(0xae)]();{const _0x30e1af=await _0x232632[_0x127517(0x8e)]();return _0x30e1af[_0x127517(0x9a)](_0x127517(0xaf))?Promise[_0x127517(0x98)](new _0x4ef7cc(_0x9752c4(_0x1f060c,_0x127517(0x8c)))):_0x30e1af[_0x127517(0x9a)](_0x127517(0x9e))?Promise[_0x127517(0x98)](new _0x4ef7cc(_0x9752c4(_0x1f060c,_0x127517(0x7d)))):Promise[_0x127517(0x98)](new Error(_0x30e1af));}}async[_0x8c3dbc(0x9f)](_0x4f0f66,_0x3e4779,_0x173fdb){const _0x357b79=_0x8c3dbc;let _0x73d25a,_0x3af707;return _0x3e4779?(_0x73d25a=_0x357b79(0x90),_0x3af707=_0x357b79(0xa2)+_0x4f0f66+_0x357b79(0x72)+_0x3e4779):(_0x73d25a=_0x357b79(0x73),_0x3af707=_0x4f0f66),[{'role':_0x357b79(0xb0),'content':_0x73d25a},{'role':_0x357b79(0x95),'content':_0x3af707}];}async[_0x8c3dbc(0x9c)](_0x7db43,_0x13917e){const _0x1288fc=_0x8c3dbc,_0x4c9bb0=_0x7db43[_0x1288fc(0xa9)][_0x1288fc(0x76)](),_0x56df4e=new TextDecoder();let _0x4d9f7c='',_0x4b6e2f='',_0x5e4128='',_0x3133fe=!0x1;for(;!_0x3133fe;){const {done:_0xbe517d,value:_0x3502a6}=await _0x4c9bb0[_0x1288fc(0xa1)](),_0x4995c0=_0x4d9f7c+_0x56df4e[_0x1288fc(0xa6)](_0x3502a6);let _0x142c2a='';_0x3133fe=_0xbe517d;try{_0x142c2a=this[_0x1288fc(0x9d)](_0x4995c0),_0x4d9f7c='';}catch{_0x4d9f7c=_0x4995c0;continue;}_0x4b6e2f+=_0x142c2a,!_0x3133fe&&this[_0x1288fc(0x77)](_0x4b6e2f)||_0x4b6e2f&&(_0x5e4128+=_0x4b6e2f,_0x4b6e2f='',_0x13917e(_0x5e4128));}return Promise[_0x1288fc(0xae)]();}async[_0x8c3dbc(0x8d)](_0x5e990f,_0x7e28bd){const _0x5222ed=_0x8c3dbc;return _0x7e28bd((await _0x5e990f[_0x5222ed(0x97)]())[_0x5222ed(0xa3)][0x0][_0x5222ed(0x84)][_0x5222ed(0x8f)]),Promise[_0x5222ed(0xae)]();}[_0x8c3dbc(0x77)](_0x3ddd40){const _0xa274d7=_0x8c3dbc,_0x3241df=_0x3ddd40[_0xa274d7(0x7a)]('<')[_0xa274d7(0x88)]!==_0x3ddd40[_0xa274d7(0x7a)]('>')[_0xa274d7(0x88)],_0x326667=_0x3ddd40[_0xa274d7(0x88)]<0x1e;return _0x3241df&&_0x326667;}[_0x8c3dbc(0x9d)](_0x23c5e4){const _0x564c51=_0x8c3dbc;return _0x23c5e4[_0x564c51(0x7a)](/\n(?![^{]*\})/g)[_0x564c51(0x74)](_0x3d7997=>_0x3d7997[_0x564c51(0x7e)](_0x564c51(0x7c),''))[_0x564c51(0xa4)](_0x295bfd=>_0x295bfd&&_0x295bfd[_0x564c51(0x88)]>0x0&&_0x564c51(0x7f)!==_0x295bfd)[_0x564c51(0x74)](_0x1fc6e6=>{const _0x34816c=_0x564c51,{choices:_0xa01e8a}=JSON[_0x34816c(0xad)](_0x1fc6e6);if(_0xa01e8a[0x0]?.[_0x34816c(0x86)]?.[_0x34816c(0x8f)])return _0xa01e8a[0x0][_0x34816c(0x86)][_0x34816c(0x8f)];})[_0x564c51(0xa4)](_0x5bad06=>_0x5bad06)[_0x564c51(0x89)]('');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3a4cf3=_0x2ae8;function _0x8b4f(){const _0x5d24bc=['summarize','friendly','direct','Arabic','push','Hindi','set','translate','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','translateSpanish','filter','translateFrench','translateGerman','Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','get','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','makeShorter','Confident','legal','find','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','529184YOtoHv','German','French','business','Translate\x20the\x20content\x20to\x20English\x20language.','Journalism','ai.assistant.preserveComments','translateChinese','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','includes','Translate\x20the\x20content\x20to\x20Arabic\x20language.','Portuguese','casual','commands','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','journalism','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','Summarize','editOrReview','Make\x20longer','poetic','translateArabic','Simplified\x20Chinese','Improve\x20writing','666670uSwCSQ','makeLonger','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','continue','requires','config','1925165UHKDnf','translateEnglish','simplifyLanguage','Translate','Make\x20shorter','518304KQMcQp','Friendly','Spanish','changeTone','Change\x20tone','Poetic','pluginName','50ZNGMnU','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','10zqHkyu','Direct','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','ai.assistant.extraCommandGroups','Business','translateHindi','translatePortuguese','Translate\x20the\x20content\x20to\x20German\x20language.','locale','groupId','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','confident','Translate\x20the\x20content\x20to\x20French\x20language.','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','AIAssistant','Edit\x20or\x20review','Generate\x20from\x20selection','39PPOAHD','generate','Continue','isPremiumPlugin','professional','ai.assistant.removeCommands','English','6867360GSPUlr','changeStyle','define','115258stddVV','Legal','Simplify\x20language','concat','Professional','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','ai.assistant.commands','Casual','forEach','42zwkCgq','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','322194yRhyiT','Translate\x20the\x20content\x20to\x20Spanish\x20language.','Translate\x20the\x20content\x20to\x20Hindi\x20language.','Change\x20style','isOfficialPlugin','improveWriting','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.'];_0x8b4f=function(){return _0x5d24bc;};return _0x8b4f();}(function(_0x97e982,_0x3c9e2d){const _0x4eb5e8=_0x2ae8,_0x3d4054=_0x97e982();while(!![]){try{const _0x128c8b=parseInt(_0x4eb5e8(0xee))/0x1+parseInt(_0x4eb5e8(0x11e))/0x2*(-parseInt(_0x4eb5e8(0x114))/0x3)+-parseInt(_0x4eb5e8(0xd6))/0x4+parseInt(_0x4eb5e8(0x102))/0x5*(parseInt(_0x4eb5e8(0x129))/0x6)+-parseInt(_0x4eb5e8(0x127))/0x7*(-parseInt(_0x4eb5e8(0xf9))/0x8)+-parseInt(_0x4eb5e8(0x11b))/0x9+-parseInt(_0x4eb5e8(0x100))/0xa*(-parseInt(_0x4eb5e8(0xf4))/0xb);if(_0x128c8b===_0x3c9e2d)break;else _0x3d4054['push'](_0x3d4054['shift']());}catch(_0x31dcfd){_0x3d4054['push'](_0x3d4054['shift']());}}}(_0x8b4f,0x6008e));import{Plugin as _0x58202f}from'ckeditor5/src/core.js';import{AIAssistantUI as _0x44021c}from'./aiassistantui.js';import{AIAssistantEditing as _0x29b023}from'./aiassistantediting.js';function _0x2ae8(_0x35e637,_0x2eb67e){const _0x8b4f83=_0x8b4f();return _0x2ae8=function(_0x2ae87f,_0x3fe8fe){_0x2ae87f=_0x2ae87f-0xc3;let _0x42f400=_0x8b4f83[_0x2ae87f];return _0x42f400;},_0x2ae8(_0x35e637,_0x2eb67e);}import{getTranslation as _0x364fdf}from'./utils/common-translations.js';import{normalizeCommandsConfig as _0x3b3ef4}from'./utils/normalizecommandsconfig.js';export class AIAssistant extends _0x58202f{static get[_0x3a4cf3(0xf2)](){return[_0x44021c,_0x29b023];}static get[_0x3a4cf3(0xff)](){const _0x566a80=_0x3a4cf3;return _0x566a80(0x111);}static get[_0x3a4cf3(0x12d)](){return!0x0;}static get[_0x3a4cf3(0x117)](){return!0x0;}constructor(_0xabaea3){const _0x4d0961=_0x3a4cf3;super(_0xabaea3);const _0x2a13f5=_0xabaea3[_0x4d0961(0xf3)],_0x3f86b4=_0xabaea3[_0x4d0961(0x10a)];_0x2a13f5[_0x4d0961(0x11d)](_0x4d0961(0xdc),!0x0),_0x2a13f5[_0x4d0961(0x11d)](_0x4d0961(0x124),getDefaultAICommands(_0x3f86b4)),_0x2a13f5[_0x4d0961(0x11d)](_0x4d0961(0x105),[]),_0x2a13f5[_0x4d0961(0x11d)](_0x4d0961(0x119),[]);let _0x5bd7b0=_0x3b3ef4(_0x2a13f5[_0x4d0961(0xce)](_0x4d0961(0x124)),_0x3f86b4);const _0x4233f8=_0x2a13f5[_0x4d0961(0xce)](_0x4d0961(0x105)),_0xf3cdb=_0x2a13f5[_0x4d0961(0xce)](_0x4d0961(0x119));_0x4233f8[_0x4d0961(0x126)](_0x6b28a2=>{const _0x29d035=_0x4d0961,_0xa4e8a1=_0x5bd7b0[_0x29d035(0xd4)](_0x1da663=>_0x1da663[_0x29d035(0x10b)]===_0x6b28a2[_0x29d035(0x10b)]);_0xa4e8a1?_0xa4e8a1[_0x29d035(0xe3)]=_0xa4e8a1[_0x29d035(0xe3)][_0x29d035(0x121)](_0x6b28a2[_0x29d035(0xe3)]):_0x5bd7b0[_0x29d035(0xc4)](_0x6b28a2);}),_0x5bd7b0=_0x5bd7b0[_0x4d0961(0xca)](_0x71adc9=>!_0xf3cdb[_0x4d0961(0xdf)](_0x71adc9[_0x4d0961(0x10b)])),_0x5bd7b0[_0x4d0961(0x126)](_0x363ba3=>{const _0x591ce0=_0x4d0961;_0x363ba3[_0x591ce0(0xe3)]=_0x363ba3[_0x591ce0(0xe3)][_0x591ce0(0xca)](_0x13c770=>!_0xf3cdb[_0x591ce0(0xdf)](_0x13c770['id']));}),_0x2a13f5[_0x4d0961(0xc6)](_0x4d0961(0x124),_0x5bd7b0);}}export function getDefaultAICommands(_0xe78f44){const _0x1de09e=_0x3a4cf3;return[{'groupId':_0x1de09e(0xe8),'groupLabel':_0x364fdf(_0xe78f44,_0x1de09e(0x112)),'commands':[{'id':_0x1de09e(0x12e),'label':_0x364fdf(_0xe78f44,_0x1de09e(0xed)),'prompt':_0x1de09e(0x10d)},{'id':_0x1de09e(0xd1),'label':_0x364fdf(_0xe78f44,_0x1de09e(0xf8)),'prompt':_0x1de09e(0xe6)},{'id':_0x1de09e(0xef),'label':_0x364fdf(_0xe78f44,_0x1de09e(0xe9)),'prompt':_0x1de09e(0xde)},{'id':_0x1de09e(0xf6),'label':_0x364fdf(_0xe78f44,_0x1de09e(0x120)),'prompt':_0x1de09e(0x10c)}]},{'groupId':_0x1de09e(0x115),'groupLabel':_0x364fdf(_0xe78f44,_0x1de09e(0x113)),'commands':[{'id':_0x1de09e(0x130),'label':_0x364fdf(_0xe78f44,_0x1de09e(0xe7)),'prompt':_0x1de09e(0xcd)},{'id':_0x1de09e(0xf1),'label':_0x364fdf(_0xe78f44,_0x1de09e(0x116)),'prompt':_0x1de09e(0xcf)}]},{'groupId':_0x1de09e(0xfc),'groupLabel':_0x364fdf(_0xe78f44,_0x1de09e(0xfd)),'commands':[{'id':_0x1de09e(0x118),'label':_0x364fdf(_0xe78f44,_0x1de09e(0x122)),'prompt':_0x1de09e(0xd5)},{'id':_0x1de09e(0xe2),'label':_0x364fdf(_0xe78f44,_0x1de09e(0x125)),'prompt':_0x1de09e(0x104)},{'id':_0x1de09e(0x132),'label':_0x364fdf(_0xe78f44,_0x1de09e(0x103)),'prompt':_0x1de09e(0x101)},{'id':_0x1de09e(0x10e),'label':_0x364fdf(_0xe78f44,_0x1de09e(0xd2)),'prompt':_0x1de09e(0x12f)},{'id':_0x1de09e(0x131),'label':_0x364fdf(_0xe78f44,_0x1de09e(0xfa)),'prompt':_0x1de09e(0xf0)}]},{'groupId':_0x1de09e(0x11c),'groupLabel':_0x364fdf(_0xe78f44,_0x1de09e(0x12c)),'commands':[{'id':_0x1de09e(0xd9),'label':_0x364fdf(_0xe78f44,_0x1de09e(0x106)),'prompt':_0x1de09e(0x110)},{'id':_0x1de09e(0xd3),'label':_0x364fdf(_0xe78f44,_0x1de09e(0x11f)),'prompt':_0x1de09e(0xe4)},{'id':_0x1de09e(0xe5),'label':_0x364fdf(_0xe78f44,_0x1de09e(0xdb)),'prompt':_0x1de09e(0xd0)},{'id':_0x1de09e(0xea),'label':_0x364fdf(_0xe78f44,_0x1de09e(0xfe)),'prompt':_0x1de09e(0x123)}]},{'groupId':_0x1de09e(0xc7),'groupLabel':_0x364fdf(_0xe78f44,_0x1de09e(0xf7)),'commands':[{'id':_0x1de09e(0xf5),'label':_0x364fdf(_0xe78f44,_0x1de09e(0x11a)),'prompt':_0x1de09e(0xda)},{'id':_0x1de09e(0xc9),'label':_0x364fdf(_0xe78f44,_0x1de09e(0xfb)),'prompt':_0x1de09e(0x12a)},{'id':_0x1de09e(0x108),'label':_0x364fdf(_0xe78f44,_0x1de09e(0xe1)),'prompt':_0x1de09e(0x128)},{'id':_0x1de09e(0xcc),'label':_0x364fdf(_0xe78f44,_0x1de09e(0xd7)),'prompt':_0x1de09e(0x109)},{'id':_0x1de09e(0xcb),'label':_0x364fdf(_0xe78f44,_0x1de09e(0xd8)),'prompt':_0x1de09e(0x10f)},{'id':_0x1de09e(0xdd),'label':_0x364fdf(_0xe78f44,_0x1de09e(0xec)),'prompt':_0x1de09e(0xc8)},{'id':_0x1de09e(0x107),'label':_0x364fdf(_0xe78f44,_0x1de09e(0xc5)),'prompt':_0x1de09e(0x12b)},{'id':_0x1de09e(0xeb),'label':_0x364fdf(_0xe78f44,_0x1de09e(0xc3)),'prompt':_0x1de09e(0xe0)}]}];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
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);}}
|
|
23
|
+
const _0x3e6f1f=_0x5683;(function(_0x3a1197,_0x1a0870){const _0x1aaa5c=_0x5683,_0x46e45=_0x3a1197();while(!![]){try{const _0x26e795=parseInt(_0x1aaa5c(0x199))/0x1*(parseInt(_0x1aaa5c(0x18e))/0x2)+parseInt(_0x1aaa5c(0x1d0))/0x3+parseInt(_0x1aaa5c(0x1ae))/0x4*(parseInt(_0x1aaa5c(0x17b))/0x5)+parseInt(_0x1aaa5c(0x1c9))/0x6*(-parseInt(_0x1aaa5c(0x169))/0x7)+-parseInt(_0x1aaa5c(0x1a2))/0x8*(-parseInt(_0x1aaa5c(0x174))/0x9)+-parseInt(_0x1aaa5c(0x172))/0xa*(parseInt(_0x1aaa5c(0x19f))/0xb)+parseInt(_0x1aaa5c(0x173))/0xc*(-parseInt(_0x1aaa5c(0x1a1))/0xd);if(_0x26e795===_0x1a0870)break;else _0x46e45['push'](_0x46e45['shift']());}catch(_0x204513){_0x46e45['push'](_0x46e45['shift']());}}}(_0x2d61,0x3fb9a));import{uid as _0x5b4a8e}from'ckeditor5/src/utils.js';import{Plugin as _0x2007fb}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x131add}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x258622,ViewDataTransfer as _0x1912bd}from'ckeditor5/src/engine.js';function _0x5683(_0x180e1e,_0x137d7d){const _0x2d617a=_0x2d61();return _0x5683=function(_0x5683c9,_0x2786db){_0x5683c9=_0x5683c9-0x164;let _0xe7762e=_0x2d617a[_0x5683c9];return _0xe7762e;},_0x5683(_0x180e1e,_0x137d7d);}const w=globalThis[_0x3e6f1f(0x19c)],f=_0x3e6f1f(0x1af);function _0x2d61(){const _0x1ff604=['TableUtils','from','_createEmptyTableRows','createPositionAfter','init','insertRows','getRange','parse','markers','plugins','markerToElement','removeMarker','selection','document','_getAISelection','fromCharCode','findAncestor','insertContentBelow','createPositionAt','join','_getDefaultInsertBelowPosition','createSelection','6cxTJQZ','config','change','getRowIndexes','end','lowest','getLastPosition','885450hgYXUO','addClass','ck-ai-assistant-ui_theme','_getTableRowCountFromContent','ck-fake-ai-selection_collapsed','getRows','_pasteHTMLUsingClipboard','markerRange','forEach','table','1983849SACIZw','schema','markerToHighlight','data','deleteContent','text/html','getColumnIndexes','get','editor','1550DYZYwj','12PwBEXU','5571YVRcnv','model','ck-fake-ai-selection','getLastMatchingPosition','map','resultRange','isAtEnd','3835TYOJrS','addMarker','conversion','hideFakeVisualSelection','insertContent','paste','getSelectedBlocks','off','isContent','isOfficialPlugin','isCollapsed','canEditAt','setSelection','contentInsertion','createRange','editingDowncast','first','AIAssistantEditing','element','14abmaaM','showFakeVisualSelection','getChild','span','start','setData','href','updateMarker','filter','fire','pop','8617DkSRPB','length','getSelectedTableCells','DataTransfer','ai.assistant.useTheme','getMarkersGroup','1441gazgjb','pluginName','8303854nnttpI','5944LMwXmA','once','_resetContentOfSelectedTableCells','createUIElement','_prepareTableInsertBelowPosition','push','last','has','afterInit','for','getFirstRange','editing','2024qpQpXv','ai-ui','getRanges','getChildren','isPremiumPlugin'];_0x2d61=function(){return _0x1ff604;};return _0x2d61();}export class AIAssistantEditing extends _0x2007fb{static get[_0x3e6f1f(0x1a0)](){const _0x32e732=_0x3e6f1f;return _0x32e732(0x18c);}static get[_0x3e6f1f(0x184)](){return!0x0;}static get[_0x3e6f1f(0x1b2)](){return!0x0;}[_0x3e6f1f(0x1b7)](){const _0x64cf44=_0x3e6f1f,{editor:_0x21daae}=this,_0x32fe4f=[_0x64cf44(0x176)];_0x21daae[_0x64cf44(0x1ca)][_0x64cf44(0x170)](_0x64cf44(0x19d))&&_0x32fe4f[_0x64cf44(0x1a7)](_0x64cf44(0x1d2)),_0x21daae[_0x64cf44(0x17d)][_0x64cf44(0x1ab)](_0x64cf44(0x18a))[_0x64cf44(0x16b)]({'model':f,'view':{'classes':_0x32fe4f,'priority':0xc}}),_0x21daae[_0x64cf44(0x17d)][_0x64cf44(0x1ab)](_0x64cf44(0x18a))[_0x64cf44(0x1bd)]({'model':f,'view':(_0x546686,{writer:_0x3f0e75})=>{const _0x139e16=_0x64cf44;if(!_0x546686[_0x139e16(0x166)][_0x139e16(0x185)])return null;const _0x176c3c=_0x3f0e75[_0x139e16(0x1a5)](_0x139e16(0x191));return _0x3f0e75[_0x139e16(0x1d1)]([_0x139e16(0x176),_0x139e16(0x1d4)],_0x176c3c),_0x176c3c;}});}[_0x3e6f1f(0x1aa)](){!async function(_0x34ab7e){const _0x1394ac=_0x5f4929([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]),_0x501bbc=0x3dffc4e1,_0x5561aa=0x3df84e89^_0x501bbc,_0x31da11=window[_0x5f4929([0x44,0x61,0x74,0x65])][_0x5f4929([0x6e,0x6f,0x77])](),_0x11e009=_0x34ab7e[_0x5f4929([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1d0660=new window[(_0x5f4929([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1d2585=>{_0x11e009[_0x5f4929([0x6f,0x6e,0x63,0x65])](_0x5f4929([0x72,0x65,0x61,0x64,0x79]),_0x1d2585);}),_0x4cbdda={[_0x5f4929([0x6b,0x74,0x79])]:_0x5f4929([0x45,0x43]),[_0x5f4929([0x75,0x73,0x65])]:_0x5f4929([0x73,0x69,0x67]),[_0x5f4929([0x63,0x72,0x76])]:_0x5f4929([0x50,0x2d,0x32,0x35,0x36]),[_0x5f4929([0x78])]:_0x5f4929([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]),[_0x5f4929([0x79])]:_0x5f4929([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]),[_0x5f4929([0x61,0x6c,0x67])]:_0x5f4929([0x45,0x53,0x32,0x35,0x36])},_0x28d885=_0x11e009[_0x5f4929([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5f4929([0x67,0x65,0x74])](_0x5f4929([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3c1aa0(){let _0x2045f3,_0x3f9986=null,_0x2cb8db=null;try{if(_0x28d885==_0x5f4929([0x47,0x50,0x4c]))return _0x5f4929([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2045f3=_0x27a4dd(),!_0x2045f3)return _0x5f4929([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2045f3[_0x5f4929([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2cb8db=_0x360278(_0x2045f3[_0x5f4929([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2045f3[_0x5f4929([0x6a,0x74,0x69])])),await _0x3aa784()?_0x52f25a()?_0x1aae10()?_0x5f4929([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5ae128()?(_0x2045f3[_0x5f4929([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5f4929([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3f9986=_0x21b202(_0x5f4929([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x59147e()):_0x5f4929([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5f4929([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5f4929([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5f4929([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1aae10(){const _0x1f3184=[_0x5f4929([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5f4929([0x74,0x72,0x69,0x61,0x6c])][_0x5f4929([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2045f3[_0x5f4929([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x31da11/0x3e8:0xe10*_0x5561aa;return _0x2045f3[_0x5f4929([0x65,0x78,0x70])]<_0x1f3184;}function _0x52f25a(){const _0x48f49d=_0x2045f3[_0x5f4929([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x48f49d&&(!!_0x48f49d[_0x5f4929([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5f4929([0x2a]))||!!_0x48f49d[_0x5f4929([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5f4929([0x41,0x49])));}function _0x5ae128(){const _0x221ed3=_0x5683,_0x1998b4=_0x2045f3[_0x5f4929([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1998b4||0x0==_0x1998b4[_0x5f4929([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x6a81c2}=new URL(window[_0x5f4929([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x221ed3(0x194)]);if(_0x1998b4[_0x5f4929([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x6a81c2))return!0x0;const _0x42052e=_0x6a81c2[_0x5f4929([0x73,0x70,0x6c,0x69,0x74])](_0x5f4929([0x2e]));return _0x1998b4[_0x5f4929([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4bb297=>_0x4bb297[_0x5f4929([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5f4929([0x2a])))[_0x5f4929([0x6d,0x61,0x70])](_0x50bed5=>_0x50bed5[_0x5f4929([0x73,0x70,0x6c,0x69,0x74])](_0x5f4929([0x2e])))[_0x5f4929([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x10b6cb=>_0x10b6cb[_0x5f4929([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x42052e[_0x5f4929([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5f4929([0x6d,0x61,0x70])](_0x1568ba=>Array(_0x42052e[_0x5f4929([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1568ba[_0x5f4929([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5f4929([0x66,0x69,0x6c,0x6c])](_0x1568ba[0x0]===_0x5f4929([0x2a])?_0x5f4929([0x2a]):'')[_0x5f4929([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1568ba))[_0x5f4929([0x73,0x6f,0x6d,0x65])](_0xc9e8cf=>_0x42052e[_0x5f4929([0x65,0x76,0x65,0x72,0x79])]((_0x18e772,_0x211452)=>_0xc9e8cf[_0x211452]===_0x18e772||_0xc9e8cf[_0x211452]===_0x5f4929([0x2a])));}function _0x59147e(){return _0x3f9986&&_0x2cb8db?new window[(_0x5f4929([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x168552,_0x54050)=>{_0x3f9986[_0x5f4929([0x74,0x68,0x65,0x6e])](_0x168552,_0x54050),_0x2cb8db[_0x5f4929([0x74,0x68,0x65,0x6e])](_0x2cfd77=>{_0x2cfd77!=_0x5f4929([0x56,0x61,0x6c,0x69,0x64])&&_0x168552(_0x2cfd77);},_0x54050);}):_0x3f9986||_0x2cb8db||_0x5f4929([0x56,0x61,0x6c,0x69,0x64]);}}function _0x360278(_0x168c12,_0x2b093e){return new window[(_0x5f4929([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1f1fa0=>{if(_0x48c168())return _0x1f1fa0(_0x5f4929([0x56,0x61,0x6c,0x69,0x64]));_0x2c8248(),_0x11e009[_0x5f4929([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5f4929([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xaf9f80=!0x1;const _0x1f5359=_0x5b4a8e();function _0x5dcb22(_0x410434){return!!_0x410434&&(typeof _0x410434===_0x5f4929([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x410434===_0x5f4929([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x410434[_0x5f4929([0x74,0x68,0x65,0x6e])]===_0x5f4929([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x410434[_0x5f4929([0x63,0x61,0x74,0x63,0x68])]===_0x5f4929([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x28388c(_0x4a0ed2){_0x3bcdf2(_0x4a0ed2)[_0x5f4929([0x74,0x68,0x65,0x6e])](_0x3221b7=>{if(!_0x3221b7||_0x3221b7[_0x5f4929([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5f4929([0x6f,0x6b]))return _0x5f4929([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x522fb8(_0x2c8b8a(_0x1f5359+_0x2b093e))!=_0x3221b7[_0x5f4929([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5f4929([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5f4929([0x56,0x61,0x6c,0x69,0x64]);})[_0x5f4929([0x74,0x68,0x65,0x6e])](_0x276b78=>(_0x5b81bc(),_0x276b78),()=>{const _0x300812=_0x20ef15();return null==_0x300812?(_0x5b81bc(),_0x5f4929([0x56,0x61,0x6c,0x69,0x64])):_0x5f4929(_0x31da11-_0x300812>(0x19f340e1^_0x501bbc)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5f4929([0x74,0x68,0x65,0x6e])](_0x1f1fa0)[_0x5f4929([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1f1fa0(_0x5f4929([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x18d538=0x3dc92a61^_0x501bbc;function _0x5b81bc(){const _0x2f2eb9=_0x5f4929([0x6c,0x6c,0x63,0x74,0x2d])+_0x522fb8(_0x2c8b8a(_0x168c12)),_0x2aaffc=_0x421a33(_0x522fb8(window[_0x5f4929([0x4d,0x61,0x74,0x68])][_0x5f4929([0x63,0x65,0x69,0x6c])](_0x31da11/_0x18d538)));window[_0x5f4929([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5f4929([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2f2eb9,_0x2aaffc);}function _0x20ef15(){const _0x38903e=_0x5f4929([0x6c,0x6c,0x63,0x74,0x2d])+_0x522fb8(_0x2c8b8a(_0x168c12)),_0x2eef31=window[_0x5f4929([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5f4929([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x38903e);return _0x2eef31?window[_0x5f4929([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x421a33(_0x2eef31),0x10)*_0x18d538:null;}function _0x3bcdf2(_0x2af7b6){return new window[(_0x5f4929([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5049ea,_0x136dfc)=>{_0x2af7b6[_0x5f4929([0x74,0x68,0x65,0x6e])](_0x5049ea,_0x136dfc),window[_0x5f4929([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x136dfc,0x3dfe1021^_0x501bbc);});}}_0x11e009[_0x5f4929([0x6f,0x6e])](_0x5f4929([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2af3c2,_0x31e20c)=>{if(_0x31e20c[0x0]!=_0x168c12)return _0x1f1fa0(_0x5f4929([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x31e20c[0x1]={..._0x31e20c[0x1],[_0x5f4929([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1f5359};},{[_0x5f4929([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5f4929([0x68,0x69,0x67,0x68])}),_0x11e009[_0x5f4929([0x6f,0x6e])](_0x5f4929([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x436105=>{_0x5dcb22(_0x436105[_0x5f4929([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xaf9f80=!0x0,_0x28388c(_0x436105[_0x5f4929([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5f4929([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5f4929([0x6c,0x6f,0x77])}),_0x1d0660[_0x5f4929([0x74,0x68,0x65,0x6e])](()=>{_0xaf9f80||_0x1f1fa0(_0x5f4929([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x48c168(){return _0x11e009[_0x5f4929([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5f4929([0x76,0x69,0x65,0x77])][_0x5f4929([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5f4929([0x61,0x75,0x74,0x6f]);}function _0x2c8248(){_0x11e009[_0x5f4929([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5f4929([0x76,0x69,0x65,0x77])][_0x5f4929([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5f4929([0x61,0x75,0x74,0x6f]);}}function _0x21b202(_0x473995){const _0xedd551=[new window[(_0x5f4929([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3dd37f=>setTimeout(_0x3dd37f,0x3df6fa2d^_0x501bbc)),_0x1d0660[_0x5f4929([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5f4929([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x108774=>{let _0x251cd6=0x0;_0x11e009[_0x5f4929([0x6d,0x6f,0x64,0x65,0x6c])][_0x5f4929([0x6f,0x6e])](_0x5f4929([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3ac15c,_0x5007a5)=>{_0x5007a5[0x0][_0x5f4929([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x251cd6++,_0x251cd6==(0x3dffc109^_0x501bbc)&&(_0x108774(),_0x3ac15c[_0x5f4929([0x6f,0x66,0x66])]());});}))];return window[_0x5f4929([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5f4929([0x72,0x61,0x63,0x65])](_0xedd551)[_0x5f4929([0x74,0x68,0x65,0x6e])](()=>_0x473995);}async function _0x2b5b3a(){await _0x1d0660,_0x11e009[_0x5f4929([0x6d,0x6f,0x64,0x65,0x6c])][_0x5f4929([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x522fb5,_0x11e009[_0x5f4929([0x6d,0x6f,0x64,0x65,0x6c])][_0x5f4929([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x522fb5,_0x11e009[_0x5f4929([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5f4929([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x167d11(_0x238360){const _0x566a93=_0x1d0462();_0x11e009[_0x566a93]=_0x5f4929([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x238360,_0x238360!=_0x5f4929([0x56,0x61,0x6c,0x69,0x64])&&_0x2b5b3a();}function _0x1d0462(){const _0x2e88cb=window[_0x5f4929([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5f4929([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5f4929([0x6e,0x6f,0x77])]())[_0x5f4929([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5f4929([0x2e]),'');let _0x41e0f3=_0x5f4929([0x6e]);for(let _0x2f1fdd=0x0;_0x2f1fdd<_0x2e88cb[_0x5f4929([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2f1fdd+=0x2){let _0x16c26a=window[_0x5f4929([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2e88cb[_0x5f4929([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2f1fdd,_0x2f1fdd+0x2));_0x16c26a>=_0x1394ac[_0x5f4929([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x16c26a-=_0x1394ac[_0x5f4929([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x41e0f3+=_0x1394ac[_0x16c26a];}return _0x41e0f3;}function _0x27a4dd(){const _0x5f305b=_0x28d885[_0x5f4929([0x73,0x70,0x6c,0x69,0x74])](_0x5f4929([0x2e]));if(0x3!=_0x5f305b[_0x5f4929([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2635a1(_0x5f305b[0x1]);function _0x2635a1(_0x194996){const _0x26d2ef=_0x45eed7(_0x194996);return _0x26d2ef&&_0x302586()?_0x26d2ef:null;function _0x302586(){const _0xa56f46=_0x26d2ef[_0x5f4929([0x6a,0x74,0x69])],_0x46bb3a=window[_0x5f4929([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xa56f46[_0x5f4929([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xa56f46[_0x5f4929([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x45ac01={..._0x26d2ef,[_0x5f4929([0x6a,0x74,0x69])]:_0xa56f46[_0x5f4929([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xa56f46[_0x5f4929([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x45ac01[_0x5f4929([0x76,0x63])],_0x2c8b8a(_0x45ac01)==_0x46bb3a;}}}async function _0x3aa784(){let _0x12e991=!0x0;try{const _0x515939=_0x28d885[_0x5f4929([0x73,0x70,0x6c,0x69,0x74])](_0x5f4929([0x2e])),[_0x348b9c,_0x4b71a6,_0x470070]=_0x515939;return _0x40ac2d(_0x348b9c),await _0x578f66(_0x348b9c,_0x4b71a6,_0x470070),_0x12e991;}catch{return!0x1;}function _0x40ac2d(_0x3f18e4){const _0xa9190d=_0x45eed7(_0x3f18e4);_0xa9190d&&_0xa9190d[_0x5f4929([0x61,0x6c,0x67])]==_0x5f4929([0x45,0x53,0x32,0x35,0x36])||(_0x12e991=!0x1);}async function _0x578f66(_0x451865,_0x37e0b6,_0x2453af){const _0x1eb371=window[_0x5f4929([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5f4929([0x66,0x72,0x6f,0x6d])](_0x31c8fc(_0x2453af),_0x392322=>_0x392322[_0x5f4929([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x175c46=new window[(_0x5f4929([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5f4929([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x451865+_0x5f4929([0x2e])+_0x37e0b6),_0x1f3453=window[_0x5f4929([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5f4929([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1f3453)return;const _0x4545c5=await _0x1f3453[_0x5f4929([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5f4929([0x6a,0x77,0x6b]),_0x4cbdda,{[_0x5f4929([0x6e,0x61,0x6d,0x65])]:_0x5f4929([0x45,0x43,0x44,0x53,0x41]),[_0x5f4929([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5f4929([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5f4929([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1f3453[_0x5f4929([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5f4929([0x6e,0x61,0x6d,0x65])]:_0x5f4929([0x45,0x43,0x44,0x53,0x41]),[_0x5f4929([0x68,0x61,0x73,0x68])]:{[_0x5f4929([0x6e,0x61,0x6d,0x65])]:_0x5f4929([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4545c5,_0x1eb371,_0x175c46)||(_0x12e991=!0x1);}}function _0x45eed7(_0x23498a){return _0x23498a[_0x5f4929([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5f4929([0x65,0x79]))?JSON[_0x5f4929([0x70,0x61,0x72,0x73,0x65])](_0x31c8fc(_0x23498a)):null;}function _0x31c8fc(_0x3ce319){return window[_0x5f4929([0x61,0x74,0x6f,0x62])](_0x3ce319[_0x5f4929([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5f4929([0x2b]))[_0x5f4929([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5f4929([0x2f])));}function _0x2c8b8a(_0x39c553){let _0x2d2015=0x1505;function _0x162cd4(_0x27fb91){for(let _0x31fd40=0x0;_0x31fd40<_0x27fb91[_0x5f4929([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x31fd40++){const _0x414c64=_0x27fb91[_0x5f4929([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x31fd40);_0x2d2015=(_0x2d2015<<0x5)+_0x2d2015+_0x414c64,_0x2d2015&=_0x2d2015;}}function _0x36ca49(_0x4cf577){Array[_0x5f4929([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4cf577)?_0x4cf577[_0x5f4929([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x36ca49):_0x4cf577&&typeof _0x4cf577==_0x5f4929([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5f4929([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4cf577)[_0x5f4929([0x73,0x6f,0x72,0x74])]()[_0x5f4929([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x8ce812,_0x369782])=>{_0x162cd4(_0x8ce812),_0x36ca49(_0x369782);}):_0x162cd4(window[_0x5f4929([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4cf577));}return _0x36ca49(_0x39c553),_0x2d2015>>>0x0;}function _0x522fb8(_0x527aa1){return _0x527aa1[_0x5f4929([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5f4929([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5f4929([0x30]));}function _0x421a33(_0x586a3a){return _0x586a3a[_0x5f4929([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5f4929([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5f4929([0x6a,0x6f,0x69,0x6e])]('');}function _0x522fb5(){}function _0x5f4929(_0x5008f3){const _0x2dc507=_0x5683;return _0x5008f3[_0x2dc507(0x178)](_0x372305=>String[_0x2dc507(0x1c2)](_0x372305))[_0x2dc507(0x1c6)]('');}_0x167d11(await _0x3c1aa0());}(this);}[_0x3e6f1f(0x18f)](){const _0x13103c=_0x3e6f1f,_0x157f0d=this[_0x13103c(0x171)][_0x13103c(0x175)];_0x157f0d[_0x13103c(0x1cb)](_0x50ea2e=>{const _0x2b1e92=_0x13103c,_0x5b25b7=_0x157f0d[_0x2b1e92(0x1c0)][_0x2b1e92(0x1bf)][_0x2b1e92(0x1b0)]();let _0x187a7b=0x0;for(const _0x68727b of _0x5b25b7){const _0xa55545=f+':'+_0x187a7b;if(_0x157f0d[_0x2b1e92(0x1bb)][_0x2b1e92(0x1a9)](_0xa55545))_0x50ea2e[_0x2b1e92(0x195)](_0xa55545,{'range':_0x68727b});else{if(_0x68727b[_0x2b1e92(0x192)][_0x2b1e92(0x17a)]){const _0x129fa1=_0x68727b[_0x2b1e92(0x192)][_0x2b1e92(0x177)](({item:_0xaf2b95})=>!_0x157f0d[_0x2b1e92(0x16a)][_0x2b1e92(0x183)](_0xaf2b95),{'boundaries':_0x68727b});_0x50ea2e[_0x2b1e92(0x17c)](_0xa55545,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x50ea2e[_0x2b1e92(0x189)](_0x129fa1,_0x68727b[_0x2b1e92(0x1cd)])});}else _0x50ea2e[_0x2b1e92(0x17c)](_0xa55545,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x68727b});}_0x187a7b++;}});}[_0x3e6f1f(0x17e)](){const _0x1f6d9d=_0x3e6f1f,_0x493144=this[_0x1f6d9d(0x171)][_0x1f6d9d(0x175)],_0x46926d=Array[_0x1f6d9d(0x1b4)](this[_0x1f6d9d(0x171)][_0x1f6d9d(0x175)][_0x1f6d9d(0x1bb)][_0x1f6d9d(0x19e)](f));_0x46926d[_0x1f6d9d(0x19a)]&&_0x493144[_0x1f6d9d(0x1cb)](_0x3ff4d6=>{const _0x73da23=_0x1f6d9d;_0x46926d[_0x73da23(0x167)](_0x32420d=>{const _0x3a2bcb=_0x73da23;_0x3ff4d6[_0x3a2bcb(0x1be)](_0x32420d);});});}[_0x3e6f1f(0x17f)](_0x55ee1d,_0x1dca1c){const _0x62d162=_0x3e6f1f,_0x4dbc2e=this[_0x62d162(0x1c1)](),_0x36aced=_0x1dca1c||_0x4dbc2e[_0x62d162(0x1ac)]();this[_0x62d162(0x171)][_0x62d162(0x175)][_0x62d162(0x186)](_0x36aced)&&this[_0x62d162(0x171)][_0x62d162(0x175)][_0x62d162(0x1cb)](_0x5a8842=>{const _0x35c988=_0x62d162;this[_0x35c988(0x17e)](),_0x1dca1c||this[_0x35c988(0x1a4)](_0x5a8842,_0x4dbc2e),this[_0x35c988(0x165)]({'insertAt':_0x36aced,'writer':_0x5a8842,'html':_0x55ee1d});});}[_0x3e6f1f(0x1c4)](_0x298318){const _0x41f2b2=_0x3e6f1f,{model:_0x5c035a}=this[_0x41f2b2(0x171)],_0x760c53=this[_0x41f2b2(0x1c1)]();_0x5c035a[_0x41f2b2(0x1cb)](()=>{const _0x442357=_0x41f2b2,_0x1d4f25=this[_0x442357(0x1a6)](_0x298318,_0x760c53)||this[_0x442357(0x1c7)](_0x760c53);this[_0x442357(0x17f)](_0x298318,_0x1d4f25);});}[_0x3e6f1f(0x1c1)](){const _0x29dfe0=_0x3e6f1f,_0xcbc199=this[_0x29dfe0(0x171)][_0x29dfe0(0x175)],_0x248cc2=Array[_0x29dfe0(0x1b4)](_0xcbc199[_0x29dfe0(0x1bb)][_0x29dfe0(0x19e)](f))[_0x29dfe0(0x178)](_0x4e8d25=>_0x4e8d25[_0x29dfe0(0x1b9)]());return _0xcbc199[_0x29dfe0(0x1c8)](_0x248cc2);}[_0x3e6f1f(0x165)]({writer:_0x35545d,html:_0x1a6b1d,insertAt:_0x1c7630}){const _0x5a845f=_0x3e6f1f,{view:_0x4553fb}=this[_0x5a845f(0x171)][_0x5a845f(0x1ad)],_0x1ec35c=this[_0x5a845f(0x171)][_0x5a845f(0x1bc)][_0x5a845f(0x170)](_0x131add),_0x13db21=new w();_0x13db21[_0x5a845f(0x193)](_0x5a845f(0x16e),_0x1a6b1d);const _0x5ae188=new ClipboardEvent(_0x5a845f(0x180),{'clipboardData':_0x13db21}),_0x471599=new _0x258622(_0x4553fb,_0x5ae188,{'dataTransfer':new _0x1912bd(_0x13db21)});_0x35545d[_0x5a845f(0x187)](_0x1c7630);const _0x5bd71a=(_0x2c3437,_0x1e277f)=>{const _0x1bb0dc=_0x5a845f;_0x1e277f[_0x1bb0dc(0x179)]&&_0x35545d[_0x1bb0dc(0x187)](_0x1e277f[_0x1bb0dc(0x179)]);};_0x1ec35c[_0x5a845f(0x1a3)](_0x5a845f(0x188),_0x5bd71a,{'priority':_0x5a845f(0x1ce)}),_0x4553fb[_0x5a845f(0x1c0)][_0x5a845f(0x197)](_0x5a845f(0x180),_0x471599),_0x1ec35c[_0x5a845f(0x182)](_0x5a845f(0x188),_0x5bd71a);}[_0x3e6f1f(0x1c7)](_0x522888){const _0x5215f6=_0x3e6f1f,{model:_0x217475}=this[_0x5215f6(0x171)],_0x1caa05=Array[_0x5215f6(0x1b4)](_0x522888[_0x5215f6(0x181)]());return _0x1caa05[_0x5215f6(0x19a)]?_0x217475[_0x5215f6(0x1b6)](_0x1caa05[_0x5215f6(0x198)]()):_0x522888[_0x5215f6(0x1cf)]();}[_0x3e6f1f(0x1a6)](_0x1f13c5,_0x375361){const _0x2b0b50=_0x3e6f1f,{model:_0x5a7546,plugins:_0x3ef36f}=this[_0x2b0b50(0x171)];if(_0x3ef36f[_0x2b0b50(0x1a9)](_0x2b0b50(0x1b3))){const _0x3bc87c=_0x3ef36f[_0x2b0b50(0x170)](_0x2b0b50(0x1b3))[_0x2b0b50(0x19b)](_0x375361);if(_0x3bc87c[_0x2b0b50(0x19a)]){const _0x3087b3=this[_0x2b0b50(0x1d3)](_0x1f13c5),_0x467561=this[_0x2b0b50(0x1b5)](_0x3bc87c,_0x3087b3);return _0x5a7546[_0x2b0b50(0x1c5)](_0x467561,0x0);}}return null;}[_0x3e6f1f(0x1d3)](_0x1d5081){const _0x1319cd=_0x3e6f1f,_0x12c299=this[_0x1319cd(0x171)][_0x1319cd(0x1bc)][_0x1319cd(0x170)](_0x1319cd(0x1b3)),_0x3e5149=this[_0x1319cd(0x171)][_0x1319cd(0x16c)][_0x1319cd(0x1ba)](_0x1d5081),_0x12b9fd=Array[_0x1319cd(0x1b4)](_0x3e5149[_0x1319cd(0x1b1)]())[_0x1319cd(0x196)](_0x3c91a0=>_0x3c91a0['is'](_0x1319cd(0x18d),_0x1319cd(0x168)));let _0x1b7dae=0x0;return _0x12b9fd[_0x1319cd(0x167)](_0x30f125=>{const _0x3e92fe=_0x1319cd;_0x1b7dae+=_0x12c299[_0x3e92fe(0x164)](_0x30f125);}),_0x1b7dae;}[_0x3e6f1f(0x1b5)](_0x561a85,_0x50082b){const _0x469d2a=_0x3e6f1f,_0x609bdc=this[_0x469d2a(0x171)][_0x469d2a(0x1bc)][_0x469d2a(0x170)](_0x469d2a(0x1b3)),_0x480412=_0x609bdc[_0x469d2a(0x1cc)](_0x561a85),_0x4db012=_0x609bdc[_0x469d2a(0x16f)](_0x561a85),_0x499d2f=_0x480412[_0x469d2a(0x1a8)]+0x1,_0x1f6f17=_0x4db012[_0x469d2a(0x18b)],_0x5a64b7=_0x561a85[0x0][_0x469d2a(0x1c3)](_0x469d2a(0x168));for(let _0x126b33=0x0;_0x126b33<_0x50082b;_0x126b33++)_0x609bdc[_0x469d2a(0x1b8)](_0x5a64b7,{'at':_0x499d2f});return _0x5a64b7[_0x469d2a(0x190)](_0x499d2f)[_0x469d2a(0x190)](_0x1f6f17);}[_0x3e6f1f(0x1a4)](_0x590d90,_0xb98bc){const _0xd3ec8a=_0x3e6f1f,{plugins:_0x481123}=this[_0xd3ec8a(0x171)],{model:_0x4c3f45}=_0x590d90;if(!_0x481123[_0xd3ec8a(0x1a9)](_0xd3ec8a(0x1b3)))return;_0x481123[_0xd3ec8a(0x170)](_0xd3ec8a(0x1b3))[_0xd3ec8a(0x19b)](_0xb98bc)[_0xd3ec8a(0x19a)]&&_0x4c3f45[_0xd3ec8a(0x16d)](_0xb98bc);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
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();}
|
|
23
|
+
const _0x5327c4=_0x3a8e;function _0x3608(){const _0x16a9a6=['featureNotAllowed','Error\x20during\x20AI\x20content\x20generation:\x20%0','command:','updateView','change:enabledCommandsIds','announce','forEach','panelView','groupLabel','getRanges','get','menuPanelClass','focus','_getMenuBarGroupButtons','pluginName','insertContent','update','menuitemcheckbox','_onExecute','change:value','editor','aiLicenseKeyDomainLimit','domainLimit','_formView','once','text/html','aiLicenseKeyUsageLimit','comment','tableOfContents','textAdapter','label','queryView','map','AIAssistant','values','menuView','ai.assistant.commands','aiLicenseKeyEvaluationLimit','show','model','view','body','ck-ai-commands-dropdown\x20','prompt','_commandDefinitions','invalid','menuBar:aiAssistant','showAIAssistant','promptView','hideFakeVisualSelection','getLimitElement','buttons','listenTo','_showLicenseError','_aiAdapter','copy','enabledCommandsIds','custom','hideUI','splice','5693940gRyUvP','_createAIAssistantUIButton','includes','from','REPLACE','expired','566244LDyFCj','polite','media','AI\x20Commands','3283650wiJbxq','items','ai.assistant.disabledElements','componentFactory','INSERT','getSelectedBlocks','filter','text','execute','schema','aiLicenseKeyInvalid','828965GtSAzA','hide','aiLicenseKeyExpired','replaceContent','isEnabled','children','_uiCssClasses','set','42993kxGfrU','\x20ck-ai-assistant-ui_theme','buttonView','wasMoved','reset','showUI','ai.assistant.contentAreaCssClass','AIAssistantUI','_forceMarkersCopy','getData','render','ck-ai-assistant-button\x20','AI\x20Assistant','ai-commands-config-order-collision','isCollapsed','aiAssistant','DataTransfer','setSelection','fire','init','isPremiumPlugin','ck-ai-assistant-ui','fieldView','add','rawHtml','updatePosition','_aiAssistantController','aiLicenseKeyNotAllowed','requiresContent','commands','EDITOR_TOP_SIDE','_getResolvedCommandsDefinitions','config','requires','isOn','9nQtYJx','locale','12LbpxHm','change:isProcessing','trim','insertContentBelow','destroy','<p>','licenseKey','contentArea','document','isFlat','showFakeVisualSelection','menuBar:aiCommands','_licenseKeyCheckInterval','AI\x20is\x20writing','source','editing','selection','currentContext','1665972TzfLUX','push','aiCommands','define','getSelectedElement','bind','change:isError','isOfficialPlugin','groupId','addMany','plugins','replace','usageLimit','_initView','_initAriaAiStatusChangeAnnouncements','</p>','42SmNRnw','order','change','evaluationLimit','delegate','aiLicenseKeyValid','ai.assistant.useTheme','_populateMenuBarMenu','Generated\x20content:\x20%0','errorView','3353384VqFRwa','length','sort','_dialog'];_0x3608=function(){return _0x16a9a6;};return _0x3608();}(function(_0x280c50,_0x3d1f71){const _0x2e116a=_0x3a8e,_0x1d4e71=_0x280c50();while(!![]){try{const _0x3f9c52=parseInt(_0x2e116a(0x1d7))/0x1*(parseInt(_0x2e116a(0x170))/0x2)+-parseInt(_0x2e116a(0x160))/0x3+-parseInt(_0x2e116a(0x1c0))/0x4+-parseInt(_0x2e116a(0x1cf))/0x5*(-parseInt(_0x2e116a(0x1fc))/0x6)+-parseInt(_0x2e116a(0x1ba))/0x7+-parseInt(_0x2e116a(0x17a))/0x8*(-parseInt(_0x2e116a(0x1fa))/0x9)+parseInt(_0x2e116a(0x1c4))/0xa;if(_0x3f9c52===_0x3d1f71)break;else _0x1d4e71['push'](_0x1d4e71['shift']());}catch(_0x30b9df){_0x1d4e71['push'](_0x1d4e71['shift']());}}}(_0x3608,0x73278));import{Plugin as _0x25e177}from'ckeditor5/src/core.js';import{IconMagicWand as _0x4e6b02,IconRobotPencil as _0x41bf6e}from'ckeditor5/src/icons.js';import{first as _0xb5db40,CKEditorError as _0x5b1b4c}from'ckeditor5/src/utils.js';import{createDropdown as _0x54e0b9,addMenuToDropdown as _0x39fbf1,ButtonView as _0x3efcf3,MenuBarMenuListItemButtonView as _0x48400d,Dialog as _0x49bacf,DialogViewPosition as _0x4f6721,MenuBarMenuView as _0x1d0dec,MenuBarMenuListView as _0x2c4bdb,MenuBarMenuListItemView as _0x28714a}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x3d0fa3,UNGROUPED_COMMANDS_GROUP_ID as _0x1e2d1c}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x596ddd}from'./aiassistantediting.js';import{AIAdapter as _0x3c2380}from'./adapters/aiadapter.js';import{getTranslation as _0x53047d}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0x26231a}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0x26fc7f}from'./ui/aiassistantcontroller.js';import{AIFormView as _0x467d3a}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x405ed2}from'./ui/form/aiformtoolbarview.js';import'../../theme/aiassistant/ai.css';function _0x3a8e(_0x40f0a0,_0x27a297){const _0x36085c=_0x3608();return _0x3a8e=function(_0x3a8ea7,_0x533460){_0x3a8ea7=_0x3a8ea7-0x15e;let _0x26f5f7=_0x36085c[_0x3a8ea7];return _0x26f5f7;},_0x3a8e(_0x40f0a0,_0x27a297);}import'../../theme/aiassistant/ai-dropdown.css';import'../../theme/aiassistant/ai-form.css';const w=globalThis[_0x5327c4(0x1e7)];import{ClipboardMarkersUtils as _0x216e3c}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x6dfa22,ViewDataTransfer as _0x3ccbf9}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0x25e177{[_0x5327c4(0x202)];[_0x5327c4(0x208)];[_0x5327c4(0x17d)];[_0x5327c4(0x195)];[_0x5327c4(0x1b4)];[_0x5327c4(0x1f1)];[_0x5327c4(0x1d5)]='';static get[_0x5327c4(0x18c)](){const _0x460319=_0x5327c4;return _0x460319(0x1de);}static get[_0x5327c4(0x167)](){return!0x0;}static get[_0x5327c4(0x1eb)](){return!0x0;}static get[_0x5327c4(0x1f8)](){return[_0x216e3c,_0x596ddd,_0x3c2380,_0x49bacf];}constructor(_0x42421c){const _0x2da41f=_0x5327c4;super(_0x42421c),_0x42421c[_0x2da41f(0x1f7)][_0x2da41f(0x163)](_0x2da41f(0x1c6),[_0x2da41f(0x1c2),_0x2da41f(0x1ef),_0x2da41f(0x19a)]),_0x42421c[_0x2da41f(0x1f7)][_0x2da41f(0x163)](_0x2da41f(0x1dd),''),_0x42421c[_0x2da41f(0x1f7)][_0x2da41f(0x163)](_0x2da41f(0x176),!0x0),this[_0x2da41f(0x1d5)]=_0x2da41f(0x1ec)+(_0x42421c[_0x2da41f(0x1f7)][_0x2da41f(0x188)](_0x2da41f(0x176))?_0x2da41f(0x1d8):'');}[_0x5327c4(0x1ea)](){const _0x47cef0=_0x5327c4,{editor:_0x76b5c0}=this;this[_0x47cef0(0x1b4)]=_0x76b5c0[_0x47cef0(0x16a)][_0x47cef0(0x188)](_0x3c2380),this[_0x47cef0(0x17d)]=_0x76b5c0[_0x47cef0(0x16a)][_0x47cef0(0x188)](_0x49bacf),this[_0x47cef0(0x195)]=null,this[_0x47cef0(0x1aa)]=this[_0x47cef0(0x1f6)]();const _0x2f8292=new _0x26231a(_0x76b5c0,Array[_0x47cef0(0x1bd)](this[_0x47cef0(0x1aa)][_0x47cef0(0x1a0)]()));_0x76b5c0[_0x47cef0(0x1f4)][_0x47cef0(0x1ee)](_0x47cef0(0x1ad),_0x2f8292),_0x76b5c0['ui'][_0x47cef0(0x1c7)][_0x47cef0(0x1ee)](_0x47cef0(0x162),_0x3485c1=>{const _0x586637=_0x47cef0,_0x4803ff=_0x54e0b9(_0x3485c1);return _0x4803ff[_0x586637(0x1d6)]({'class':_0x586637(0x1a8)+this[_0x586637(0x1d5)]}),_0x4803ff[_0x586637(0x1d9)][_0x586637(0x1d6)]({'label':_0x53047d(_0x3485c1,_0x586637(0x1c3)),'icon':_0x4e6b02,'tooltip':!0x0}),_0x4803ff['on'](_0x586637(0x1cc),_0xcb0f54=>this[_0x586637(0x190)](_0xcb0f54[_0x586637(0x20a)]['id'])),_0x39fbf1(_0x4803ff,_0x76b5c0['ui'][_0x586637(0x1a6)][_0x586637(0x1a7)],function(_0x30012c){const _0x33e913=_0x586637,_0x2d80f6=_0x3d0fa3(_0x30012c[_0x33e913(0x1f7)][_0x33e913(0x188)](_0x33e913(0x1a2)),_0x30012c[_0x33e913(0x1fb)]),_0x1da28a=B(_0x30012c,_0x2d80f6)[_0x33e913(0x1ca)](_0x535ae1=>_0x535ae1[_0x33e913(0x1f4)][_0x33e913(0x17b)]);if(0x1===_0x1da28a[_0x33e913(0x17b)])return B(_0x30012c,_0x1da28a[0x0][_0x33e913(0x1f4)])[_0x33e913(0x19e)](_0x37fc6a=>({'id':_0x37fc6a['id'],'label':_0x37fc6a[_0x33e913(0x19c)]}));return _0x1da28a[_0x33e913(0x19e)](_0x90d3d9=>{const _0x2d2a5b=_0x33e913,{groupId:_0x13ec39,groupLabel:_0x2da541,commands:_0x1bce0c}=_0x90d3d9,_0xdb8bc0=B(_0x30012c,_0x1bce0c)[_0x2d2a5b(0x19e)](_0x3c5c0f=>({'id':_0x3c5c0f['id'],'label':_0x3c5c0f[_0x2d2a5b(0x19c)]}));return{'id':_0x13ec39,'menu':_0x2da541||_0x13ec39,'children':_0xdb8bc0};});}(_0x76b5c0),{'ariaLabel':_0x53047d(_0x3485c1,_0x586637(0x1c3))}),_0x4803ff[_0x586637(0x1a1)][_0x586637(0x189)]=_0x586637(0x1a8)+this[_0x586637(0x1d5)],_0x2f8292['on'](_0x586637(0x182),_0x3ff342),_0x4803ff[_0x586637(0x1a1)][_0x586637(0x196)](_0x586637(0x1e1),_0x3ff342),_0x4803ff;function _0x3ff342(){const _0x4fd9ee=_0x586637;_0x4803ff[_0x4fd9ee(0x1d3)]=_0x2f8292[_0x4fd9ee(0x1b6)][_0x4fd9ee(0x17b)]>0x0;for(const _0x1b9109 of _0x4803ff[_0x4fd9ee(0x1a1)][_0x4fd9ee(0x1b1)])_0x1b9109[_0x4fd9ee(0x1d3)]=_0x2f8292[_0x4fd9ee(0x1b6)][_0x4fd9ee(0x1bc)](_0x1b9109['id']);}}),_0x76b5c0['ui'][_0x47cef0(0x1c7)][_0x47cef0(0x1ee)](_0x47cef0(0x207),_0x19203b=>{const _0xcb9e89=_0x47cef0,_0x25c581=new _0x1d0dec(_0x19203b);_0x25c581[_0xcb9e89(0x1d9)][_0xcb9e89(0x1d6)]({'label':_0x53047d(_0x19203b,_0xcb9e89(0x1c3)),'icon':_0x4e6b02}),_0x25c581[_0xcb9e89(0x165)](_0xcb9e89(0x1d3))['to'](_0x2f8292,_0xcb9e89(0x1b6),_0x3ffdcd=>_0x3ffdcd[_0xcb9e89(0x17b)]>0x0);const _0x3db98b=_0x3d0fa3(_0x76b5c0[_0xcb9e89(0x1f7)][_0xcb9e89(0x188)](_0xcb9e89(0x1a2)),_0x19203b);return this[_0xcb9e89(0x177)](_0x2f8292,_0x25c581,_0x3db98b,_0x2ebc63=>this[_0xcb9e89(0x190)](_0x2ebc63)),_0x25c581;}),_0x76b5c0['ui'][_0x47cef0(0x1c7)][_0x47cef0(0x1ee)](_0x47cef0(0x1e6),()=>{const _0x562088=_0x47cef0,_0x142997=this[_0x562088(0x1bb)](_0x3efcf3);return _0x142997[_0x562088(0x1d6)]({'tooltip':!0x0,'class':_0x562088(0x1e2)+this[_0x562088(0x1d5)]}),_0x142997;}),_0x76b5c0['ui'][_0x47cef0(0x1c7)][_0x47cef0(0x1ee)](_0x47cef0(0x1ac),()=>{const _0x2e9513=_0x47cef0,_0x32d0c2=this[_0x2e9513(0x1bb)](_0x48400d);return _0x32d0c2[_0x2e9513(0x1d6)]({'role':_0x2e9513(0x18f)}),_0x32d0c2;}),this[_0x47cef0(0x202)]=this[_0x47cef0(0x192)][_0x47cef0(0x1f7)][_0x47cef0(0x188)](_0x47cef0(0x202));const _0xbc1a0f=this[_0x47cef0(0x192)];this[_0x47cef0(0x208)]=setInterval(()=>{const _0x51cd33=_0x47cef0;let _0xab4690;for(const _0x6bcecd in _0xbc1a0f){const _0x2a4641=_0x6bcecd,_0x4cff26=_0xbc1a0f[_0x2a4641];if(_0x51cd33(0x175)==_0x4cff26||_0x51cd33(0x1ce)==_0x4cff26||_0x51cd33(0x1d1)==_0x4cff26||_0x51cd33(0x193)==_0x4cff26||_0x51cd33(0x1f2)==_0x4cff26||_0x51cd33(0x1a3)==_0x4cff26||_0x51cd33(0x198)==_0x4cff26){delete _0xbc1a0f[_0x2a4641],_0xab4690=_0x4cff26,clearInterval(this[_0x51cd33(0x208)]),this[_0x51cd33(0x208)]=void 0x0;break;}}_0x51cd33(0x1ce)==_0xab4690&&_0xbc1a0f[_0x51cd33(0x1b3)](_0x51cd33(0x1ab)),_0x51cd33(0x1d1)==_0xab4690&&_0xbc1a0f[_0x51cd33(0x1b3)](_0x51cd33(0x1bf)),_0x51cd33(0x193)==_0xab4690&&_0xbc1a0f[_0x51cd33(0x1b3)](_0x51cd33(0x194)),_0x51cd33(0x1f2)==_0xab4690&&_0xbc1a0f[_0x51cd33(0x1b3)](_0x51cd33(0x17e),_0x51cd33(0x19f)),_0x51cd33(0x1a3)==_0xab4690&&_0xbc1a0f[_0x51cd33(0x1b3)](_0x51cd33(0x173)),_0x51cd33(0x198)==_0xab4690&&_0xbc1a0f[_0x51cd33(0x1b3)](_0x51cd33(0x16c));},0x3e8);}[_0x5327c4(0x200)](){const _0x98b42e=_0x5327c4;super[_0x98b42e(0x200)](),this[_0x98b42e(0x208)]&&clearInterval(this[_0x98b42e(0x208)]);}[_0x5327c4(0x1dc)](_0x2b3940='',_0x3e0b3e='',_0x34a5f5=_0x5327c4(0x1b7)){const _0x30062b=_0x5327c4,_0x23849a=this[_0x30062b(0x192)],_0x244d33=_0x23849a[_0x30062b(0x20b)][_0x30062b(0x1a6)],_0x2d2794=_0x23849a[_0x30062b(0x16a)][_0x30062b(0x188)](_0x596ddd),_0x246b38=_0x23849a[_0x30062b(0x16a)][_0x30062b(0x188)](_0x216e3c);_0x2d2794[_0x30062b(0x206)]();const _0x36ef63=new w(),_0x4563b6=new ClipboardEvent(_0x30062b(0x1b5),{'clipboardData':_0x36ef63}),_0x23ef68=new _0x3ccbf9(_0x36ef63),_0x398e43=new _0x6dfa22(_0x244d33,_0x4563b6,{'dataTransfer':_0x23ef68});_0x246b38[_0x30062b(0x1df)](_0x30062b(0x199),()=>{const _0x13a9d6=_0x30062b;_0x244d33[_0x13a9d6(0x204)][_0x13a9d6(0x1e9)](_0x13a9d6(0x1b5),_0x398e43);}),this[_0x30062b(0x195)]||(this[_0x30062b(0x16d)](),this[_0x30062b(0x1f1)]=new _0x26fc7f(_0x23849a,this[_0x30062b(0x1b4)][_0x30062b(0x19b)],this[_0x30062b(0x195)]));let _0x4af923=_0x23ef68[_0x30062b(0x1e0)](_0x30062b(0x197));const _0x1c6ff9=_0x23849a[_0x30062b(0x1a5)][_0x30062b(0x204)][_0x30062b(0x15e)],_0x3dfa1f=Array[_0x30062b(0x1bd)](_0x1c6ff9[_0x30062b(0x187)]());0x1===_0x3dfa1f[_0x30062b(0x17b)]&&_0x3dfa1f[0x0][_0x30062b(0x205)]&&!_0x1c6ff9[_0x30062b(0x164)]()&&''!==_0x4af923[_0x30062b(0x16b)](/ /g,'')[_0x30062b(0x1fe)]()&&(_0x4af923=_0x30062b(0x201)+_0x4af923+_0x30062b(0x16f)),this[_0x30062b(0x1f1)][_0x30062b(0x181)]({'actionId':_0x34a5f5,'query':_0x2b3940,'htmlContent':_0x4af923,'label':_0x3e0b3e,'mainActionLabel':_0x405ed2[_0x23849a[_0x30062b(0x1a5)][_0x30062b(0x204)][_0x30062b(0x15e)][_0x30062b(0x1e5)]?_0x30062b(0x1c8):_0x30062b(0x1be)]}),_0x30062b(0x1e6)!==this[_0x30062b(0x17d)]['id']?this[_0x30062b(0x17d)][_0x30062b(0x1a4)]({'id':_0x30062b(0x1e6),'icon':_0x41bf6e,'title':_0x53047d(this[_0x30062b(0x192)][_0x30062b(0x1fb)],_0x30062b(0x1e3)),'content':this[_0x30062b(0x195)],'position':_0x4f6721[_0x30062b(0x1f5)],'onShow':()=>{const _0x50d105=_0x30062b;this[_0x50d105(0x195)][_0x50d105(0x18a)]();},'onHide':()=>{const _0x3aaff9=_0x30062b;this[_0x3aaff9(0x1f1)][_0x3aaff9(0x1db)](),_0x2d2794[_0x3aaff9(0x1af)]();}}):this[_0x30062b(0x17d)][_0x30062b(0x1a6)][_0x30062b(0x1da)]||this[_0x30062b(0x17d)][_0x30062b(0x1a6)][_0x30062b(0x1f0)]();}[_0x5327c4(0x1b8)](){const _0x347ef8=_0x5327c4;this[_0x347ef8(0x17d)][_0x347ef8(0x1d0)]();}[_0x5327c4(0x1f6)](){const _0x2121b0=_0x5327c4,_0xaf5270=new Map(),_0x4ab185=_0x3d0fa3(this[_0x2121b0(0x192)][_0x2121b0(0x1f7)][_0x2121b0(0x188)](_0x2121b0(0x1a2)),this[_0x2121b0(0x192)][_0x2121b0(0x1fb)]);for(const _0x5652a6 of _0x4ab185)for(const _0x5d43ca of _0x5652a6[_0x2121b0(0x1f4)])_0xaf5270[_0x2121b0(0x1d6)](_0x5d43ca['id'],{..._0x5d43ca,'groupId':_0x5652a6[_0x2121b0(0x168)],'groupLabel':_0x5652a6[_0x2121b0(0x186)]||_0x5652a6[_0x2121b0(0x168)]});return _0xaf5270;}[_0x5327c4(0x1bb)](_0x4ea21b){const _0x3048a0=_0x5327c4,_0x5c7554=this[_0x3048a0(0x192)],_0x3ccfec=_0x5c7554[_0x3048a0(0x1f4)][_0x3048a0(0x188)](_0x3048a0(0x1ad)),_0xfe16bb=new _0x4ea21b(_0x5c7554[_0x3048a0(0x1fb)]);return _0xfe16bb[_0x3048a0(0x1d6)]({'label':_0x53047d(_0x5c7554[_0x3048a0(0x1fb)],_0x3048a0(0x1e3)),'icon':_0x41bf6e,'isToggleable':!0x0}),_0xfe16bb[_0x3048a0(0x165)](_0x3048a0(0x1d3))['to'](_0x3ccfec),_0xfe16bb[_0x3048a0(0x165)](_0x3048a0(0x1f9))['to'](this[_0x3048a0(0x17d)],'id',_0x170ad0=>_0x3048a0(0x1e6)===_0x170ad0),this[_0x3048a0(0x1b2)](_0xfe16bb,_0x3048a0(0x1cc),()=>{const _0x4e4c91=_0x3048a0;_0xfe16bb[_0x4e4c91(0x1f9)]?this[_0x4e4c91(0x1b8)]():_0x3ccfec[_0x4e4c91(0x1cc)]();}),_0xfe16bb;}[_0x5327c4(0x16d)](){const _0x3c34a4=_0x5327c4,_0x37cc7d=this[_0x3c34a4(0x192)][_0x3c34a4(0x16a)][_0x3c34a4(0x188)](_0x596ddd);this[_0x3c34a4(0x195)]=new _0x467d3a(this[_0x3c34a4(0x192)][_0x3c34a4(0x1fb)],this[_0x3c34a4(0x1d5)],this[_0x3c34a4(0x192)][_0x3c34a4(0x1f7)][_0x3c34a4(0x188)](_0x3c34a4(0x1dd))),this[_0x3c34a4(0x195)]['on'](_0x3c34a4(0x191),()=>{const _0x58826b=_0x3c34a4;this[_0x58826b(0x17d)][_0x58826b(0x1a6)][_0x58826b(0x1da)]||this[_0x58826b(0x17d)][_0x58826b(0x1a6)][_0x58826b(0x1f0)]();}),this[_0x3c34a4(0x195)][_0x3c34a4(0x1ae)][_0x3c34a4(0x19d)][_0x3c34a4(0x1ed)]['on'](_0x3c34a4(0x18e),()=>{const _0xa080ee=_0x3c34a4;this[_0xa080ee(0x17d)][_0xa080ee(0x1a6)][_0xa080ee(0x1da)]||this[_0xa080ee(0x17d)][_0xa080ee(0x1a6)][_0xa080ee(0x1f0)]();}),this[_0x3c34a4(0x1b2)](this[_0x3c34a4(0x195)],_0x3c34a4(0x1d2),()=>{const _0x363441=_0x3c34a4;_0x37cc7d[_0x363441(0x18d)](this[_0x363441(0x1f1)][_0x363441(0x15f)]),this[_0x363441(0x1b8)]();}),this[_0x3c34a4(0x1b2)](this[_0x3c34a4(0x195)],_0x3c34a4(0x1ff),()=>{const _0x3de937=_0x3c34a4;_0x37cc7d[_0x3de937(0x1ff)](this[_0x3de937(0x1f1)][_0x3de937(0x15f)]),this[_0x3de937(0x1b8)]();}),this[_0x3c34a4(0x16e)]();}[_0x5327c4(0x16e)](){const _0x485659=_0x5327c4,{locale:_0x15b380,ui:{ariaLiveAnnouncer:_0x1ed27f}}=this[_0x485659(0x192)];this[_0x485659(0x195)][_0x485659(0x203)]['on'](_0x485659(0x1fd),(_0x352142,_0x4c3fcb,_0x1152d7)=>{const _0x49c3a8=_0x485659,_0x507d22=this[_0x49c3a8(0x1f1)][_0x49c3a8(0x15f)];_0x1152d7?_0x1ed27f[_0x49c3a8(0x183)](_0x53047d(_0x15b380,_0x49c3a8(0x209))):_0x507d22&&_0x1ed27f[_0x49c3a8(0x183)](_0x53047d(_0x15b380,_0x49c3a8(0x178),_0x507d22),{'politeness':_0x49c3a8(0x1c1),'isUnsafeHTML':!0x0});}),this[_0x485659(0x195)]['on'](_0x485659(0x166),(_0x178cbf,_0x24821f,_0x51b571)=>{const _0xbc9afb=_0x485659;if(_0x51b571){const _0x28e278=this[_0xbc9afb(0x195)][_0xbc9afb(0x179)][_0xbc9afb(0x1cb)];_0x1ed27f[_0xbc9afb(0x183)](_0x53047d(_0x15b380,_0xbc9afb(0x17f),_0x28e278));}});}[_0x5327c4(0x190)](_0x2969d2){const _0x357261=_0x5327c4,_0x22d63a=this[_0x357261(0x1aa)][_0x357261(0x188)](_0x2969d2),_0x26366d=this[_0x357261(0x192)],_0x465b48=_0x26366d[_0x357261(0x1a5)][_0x357261(0x204)][_0x357261(0x15e)],_0x39f70e=_0x26366d[_0x357261(0x1f4)][_0x357261(0x188)](_0x357261(0x1ad)),_0x1ddae6=_0x26366d[_0x357261(0x16a)][_0x357261(0x188)](_0x596ddd),_0x278780=''+(_0x22d63a[_0x357261(0x168)]!==_0x1e2d1c?_0x22d63a[_0x357261(0x186)]+':\x20':'')+_0x22d63a[_0x357261(0x19c)];if(!0x1!==_0x22d63a[_0x357261(0x1f3)]&&_0x465b48[_0x357261(0x1e5)]){const _0x5e6372=_0xb5db40(_0x465b48[_0x357261(0x1c9)]())||_0x26366d[_0x357261(0x1a5)][_0x357261(0x1cd)][_0x357261(0x1b0)](_0x465b48);_0x26366d[_0x357261(0x1a5)][_0x357261(0x172)](_0x3452d6=>{const _0xd7f01=_0x357261;_0x3452d6[_0xd7f01(0x1e8)](_0x5e6372,'in');});}_0x1ddae6[_0x357261(0x206)](),_0x39f70e[_0x357261(0x1cc)](_0x22d63a[_0x357261(0x1a9)],_0x278780,_0x357261(0x180)+_0x2969d2);}[_0x5327c4(0x177)](_0x4d2940,_0x103d8f,_0x5564b6,_0x235898){const _0x2de564=_0x5327c4,_0x4f2f8a=this[_0x2de564(0x192)],_0x435b70=_0x4f2f8a[_0x2de564(0x1fb)],_0x4a789f=new _0x2c4bdb(_0x435b70),_0x284717=B(_0x4f2f8a,_0x5564b6)[_0x2de564(0x1ca)](_0x13f109=>_0x13f109[_0x2de564(0x1f4)][_0x2de564(0x17b)]);0x1===_0x284717[_0x2de564(0x17b)]?this[_0x2de564(0x18b)]({'command':_0x4d2940,'commands':_0x284717[0x0][_0x2de564(0x1f4)],'parentMenuView':_0x103d8f,'onExecute':_0x235898})[_0x2de564(0x184)](_0x74483a=>_0x4a789f[_0x2de564(0x1c5)][_0x2de564(0x1ee)](_0x74483a)):_0x284717[_0x2de564(0x184)](({groupId:_0x36b8fe,groupLabel:_0x49bced,commands:_0x15b7ec})=>{const _0x3b1802=_0x2de564,_0x3a76de=new _0x28714a(_0x435b70,_0x103d8f),_0x1734c0=new _0x1d0dec(_0x435b70),_0x2ddfc8=new _0x2c4bdb(_0x435b70),_0x237472=this[_0x3b1802(0x18b)]({'command':_0x4d2940,'commands':_0x15b7ec,'parentMenuView':_0x1734c0,'onExecute':_0x235898});_0x1734c0[_0x3b1802(0x1d9)][_0x3b1802(0x1d6)]({'label':_0x49bced||_0x36b8fe}),_0x1734c0[_0x3b1802(0x174)](_0x3b1802(0x1cc))['to'](_0x103d8f),_0x2ddfc8[_0x3b1802(0x1c5)][_0x3b1802(0x169)](_0x237472),_0x1734c0[_0x3b1802(0x185)][_0x3b1802(0x1d4)][_0x3b1802(0x1ee)](_0x2ddfc8),_0x3a76de[_0x3b1802(0x1d4)][_0x3b1802(0x1ee)](_0x1734c0),_0x4a789f[_0x3b1802(0x1c5)][_0x3b1802(0x1ee)](_0x3a76de);}),_0x103d8f[_0x2de564(0x185)][_0x2de564(0x1d4)][_0x2de564(0x1ee)](_0x4a789f);}[_0x5327c4(0x18b)]({command:_0x384de9,commands:_0x24f5d9,parentMenuView:_0x358842,onExecute:_0x397286}){const _0x1584b2=_0x5327c4,_0x566ee4=this[_0x1584b2(0x192)],_0x30d2c3=_0x566ee4[_0x1584b2(0x1fb)];return B(_0x566ee4,_0x24f5d9)[_0x1584b2(0x19e)](_0x463659=>{const _0x1b2d00=_0x1584b2,_0xabc540=new _0x28714a(_0x30d2c3,_0x358842),_0x4176e8=new _0x48400d(_0x30d2c3);return _0x4176e8[_0x1b2d00(0x1d6)]({'label':_0x463659[_0x1b2d00(0x19c)]}),_0x4176e8[_0x1b2d00(0x174)](_0x1b2d00(0x1cc))['to'](_0x358842),_0x4176e8['on'](_0x1b2d00(0x1cc),()=>_0x397286(_0x463659['id'])),_0x4176e8[_0x1b2d00(0x165)](_0x1b2d00(0x1d3))['to'](_0x384de9,_0x1b2d00(0x1b6),_0x1885b9=>_0x1885b9[_0x1b2d00(0x1bc)](_0x463659['id'])),_0xabc540[_0x1b2d00(0x1d4)][_0x1b2d00(0x1ee)](_0x4176e8),_0xabc540;});}}function U(_0x2ba12a,_0x25783d){const _0x597155=_0x5327c4;return void 0x0!==_0x2ba12a[_0x597155(0x171)]&&void 0x0===_0x25783d[_0x597155(0x171)]?0x1:void 0x0===_0x2ba12a[_0x597155(0x171)]&&void 0x0!==_0x25783d[_0x597155(0x171)]?-0x1:void 0x0!==_0x2ba12a[_0x597155(0x171)]&&void 0x0!==_0x25783d[_0x597155(0x171)]?_0x2ba12a[_0x597155(0x171)]-_0x25783d[_0x597155(0x171)]:0x0;}function B(_0x3a934d,_0x44ecf4){const _0x4a44b0=_0x5327c4;_0x44ecf4[_0x4a44b0(0x17c)](U);const _0x496717={},_0x49126f=[];for(const _0x2e98c7 of _0x44ecf4)if(void 0x0!==_0x2e98c7[_0x4a44b0(0x171)]){if(_0x2e98c7[_0x4a44b0(0x171)]in _0x496717)throw new _0x5b1b4c(_0x4a44b0(0x1e4),_0x3a934d,{'conflictingDefinitions':[_0x2e98c7,_0x496717[_0x2e98c7[_0x4a44b0(0x171)]]]});_0x496717[_0x2e98c7[_0x4a44b0(0x171)]]=_0x2e98c7,_0x49126f[_0x4a44b0(0x1b9)](_0x2e98c7[_0x4a44b0(0x171)],0x0,_0x2e98c7);}else _0x49126f[_0x4a44b0(0x161)](_0x2e98c7);return _0x49126f;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x22b6fd,_0x2cd2ff){var _0x4af878=_0x2f0f,_0x99a797=_0x22b6fd();while(!![]){try{var _0x4a1123=parseInt(_0x4af878(0x1cf))/0x1*(parseInt(_0x4af878(0x1cb))/0x2)+parseInt(_0x4af878(0x1c9))/0x3+parseInt(_0x4af878(0x1ca))/0x4*(-parseInt(_0x4af878(0x1cc))/0x5)+parseInt(_0x4af878(0x1cd))/0x6+parseInt(_0x4af878(0x1d1))/0x7*(parseInt(_0x4af878(0x1c8))/0x8)+-parseInt(_0x4af878(0x1d3))/0x9*(parseInt(_0x4af878(0x1d0))/0xa)+-parseInt(_0x4af878(0x1d2))/0xb*(parseInt(_0x4af878(0x1ce))/0xc);if(_0x4a1123===_0x2cd2ff)break;else _0x99a797['push'](_0x99a797['shift']());}catch(_0x153f10){_0x99a797['push'](_0x99a797['shift']());}}}(_0x5732,0x1a43d));function _0x5732(){var _0x38bafd=['40pBCWHn','7LJaWfP','1444102cONNPr','158481IgXwvc','225712HDovup','280260IcFdpM','4QXFDbk','22UnAgYa','197720aJdjLk','580032AAVrwL','12WEkeXY','11867jWVwlR'];_0x5732=function(){return _0x38bafd;};return _0x5732();}function _0x2f0f(_0x4a86d,_0x24eb54){var _0x5732e2=_0x5732();return _0x2f0f=function(_0x2f0f0e,_0x4cda58){_0x2f0f0e=_0x2f0f0e-0x1c8;var _0x19947d=_0x5732e2[_0x2f0f0e];return _0x19947d;},_0x2f0f(_0x4a86d,_0x24eb54);}import{CKEditorError as _0x3036a0}from'ckeditor5/src/utils.js';
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x528d6b=_0x41e7;function _0x41e7(_0x1252ca,_0x3dc6de){const _0x3565e8=_0x3565();return _0x41e7=function(_0x41e7a7,_0x3a86c3){_0x41e7a7=_0x41e7a7-0x12c;let _0x58f290=_0x3565e8[_0x41e7a7];return _0x58f290;},_0x41e7(_0x1252ca,_0x3dc6de);}(function(_0x33797a,_0x1e20bb){const _0x432938=_0x41e7,_0x4184ac=_0x33797a();while(!![]){try{const _0x32187c=parseInt(_0x432938(0x16e))/0x1+-parseInt(_0x432938(0x154))/0x2+-parseInt(_0x432938(0x188))/0x3+-parseInt(_0x432938(0x173))/0x4*(parseInt(_0x432938(0x181))/0x5)+parseInt(_0x432938(0x143))/0x6+-parseInt(_0x432938(0x169))/0x7+parseInt(_0x432938(0x156))/0x8;if(_0x32187c===_0x1e20bb)break;else _0x4184ac['push'](_0x4184ac['shift']());}catch(_0x2680dc){_0x4184ac['push'](_0x4184ac['shift']());}}}(_0x3565,0xe2f2a));import{ObservableMixin as _0x58566e}from'ckeditor5/src/utils.js';import{AIRequestError as _0x258e42}from'../adapters/aiadapter.js';import{Matcher as _0x563d12,ViewUpcastWriter as _0x4ba00c}from'ckeditor5/src/engine.js';const hs=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export class AIAssistantController extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x58566e(){[_0x528d6b(0x133)];[_0x528d6b(0x140)];[_0x528d6b(0x155)];[_0x528d6b(0x168)];[_0x528d6b(0x175)];[_0x528d6b(0x13b)];constructor(_0x38ceea,_0x26c5c0,_0x1224b1){const _0x11d7f6=_0x528d6b;super(),this[_0x11d7f6(0x133)]=_0x38ceea,this[_0x11d7f6(0x140)]=_0x26c5c0,this[_0x11d7f6(0x168)]=document[_0x11d7f6(0x164)](_0x11d7f6(0x130)),this[_0x11d7f6(0x175)]=new DOMParser(),this[_0x11d7f6(0x13b)]=new XMLSerializer(),this[_0x11d7f6(0x155)]=_0x1224b1,this[_0x11d7f6(0x14b)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x11d7f6(0x134),(_0x39fa60,_0xb10c8,_0x1bc47e)=>{const _0x2fae98=_0x11d7f6;this[_0x2fae98(0x155)][_0x2fae98(0x139)]=this[_0x2fae98(0x174)](_0x1bc47e);}),this[_0x11d7f6(0x142)](this[_0x11d7f6(0x155)],_0x11d7f6(0x13c),(_0x45bf63,_0xfc499)=>{const _0x2af3d3=_0x11d7f6,_0xa16ca7=this[_0x2af3d3(0x15b)]||this[_0x2af3d3(0x153)];this[_0x2af3d3(0x141)](_0xfc499,_0xa16ca7,_0x2af3d3(0x13a));}),this[_0x11d7f6(0x142)](this[_0x11d7f6(0x155)],_0x11d7f6(0x136),()=>{const _0x3df7e3=_0x11d7f6;this[_0x3df7e3(0x155)][_0x3df7e3(0x147)]=this[_0x3df7e3(0x17c)],this[_0x3df7e3(0x141)](this[_0x3df7e3(0x13e)],this[_0x3df7e3(0x178)],this[_0x3df7e3(0x16f)],this[_0x3df7e3(0x17c)]);}),this[_0x11d7f6(0x142)](this[_0x11d7f6(0x155)],_0x11d7f6(0x165),()=>{const _0x417d54=_0x11d7f6;this[_0x417d54(0x165)]();});}[_0x528d6b(0x189)](){const _0x59a37a=_0x528d6b;this[_0x59a37a(0x12d)]();}async[_0x528d6b(0x172)]({actionId:_0x1e4284,query:_0x1a6be2,htmlContent:_0xe43aa4,label:_0x2adcba,mainActionLabel:_0x105e32}){const _0x41fda8=_0x528d6b;this[_0x41fda8(0x155)][_0x41fda8(0x147)]=_0x2adcba,this[_0x41fda8(0x155)][_0x41fda8(0x157)]=_0x105e32,this[_0x41fda8(0x153)]=_0xe43aa4,_0x1a6be2&&(this[_0x41fda8(0x155)][_0x41fda8(0x177)]?this[_0x41fda8(0x141)](_0x1a6be2,_0xe43aa4,_0x1e4284,_0x2adcba):this[_0x41fda8(0x155)][_0x41fda8(0x14f)](_0x41fda8(0x15a),()=>{const _0x27009a=_0x41fda8;this[_0x27009a(0x141)](_0x1a6be2,_0xe43aa4,_0x1e4284,_0x2adcba);}));}[_0x528d6b(0x165)](){const _0x2be259=_0x528d6b;this[_0x2be259(0x17b)]&&(this[_0x2be259(0x17b)]=!0x1,this[_0x2be259(0x155)][_0x2be259(0x16b)](),this[_0x2be259(0x140)][_0x2be259(0x148)]());}[_0x528d6b(0x14d)](){const _0x39386a=_0x528d6b;this[_0x39386a(0x153)]='',this[_0x39386a(0x15b)]='',this[_0x39386a(0x152)]='',this[_0x39386a(0x178)]='',this[_0x39386a(0x13e)]='',this[_0x39386a(0x17c)]='',this[_0x39386a(0x16f)]=void 0x0,this[_0x39386a(0x155)][_0x39386a(0x14d)](),this[_0x39386a(0x165)]();}async[_0x528d6b(0x141)](_0x63fed9,_0x51cb6a,_0x246b7e,_0x18c438){const _0x490863=_0x528d6b;return this[_0x490863(0x17b)]=!0x0,this[_0x490863(0x155)][_0x490863(0x185)](),this[_0x490863(0x178)]=_0x51cb6a,this[_0x490863(0x13e)]=_0x63fed9,this[_0x490863(0x17c)]=_0x18c438||_0x63fed9,this[_0x490863(0x16f)]=_0x246b7e,new Promise(_0x5040b2=>{const _0x4544ea=_0x490863;this[_0x4544ea(0x140)][_0x4544ea(0x135)]({'query':_0x63fed9,'context':_0x51cb6a,'onData':_0x10e4cc=>{const _0x5e33cb=_0x4544ea;this[_0x5e33cb(0x152)]=_0x10e4cc,this[_0x5e33cb(0x15b)]=this[_0x5e33cb(0x16a)](this[_0x5e33cb(0x152)]);},'actionId':_0x246b7e})[_0x4544ea(0x187)](()=>{const _0x4163b6=_0x4544ea;!this[_0x4163b6(0x15b)]&&this[_0x4163b6(0x152)]&&(this[_0x4163b6(0x15b)]=this[_0x4163b6(0x16a)](this[_0x4163b6(0x152)],!0x0));})[_0x4544ea(0x14a)](_0x226473=>{const _0x522fdd=_0x4544ea;_0x226473 instanceof _0x258e42?this[_0x522fdd(0x155)][_0x522fdd(0x13d)](_0x226473[_0x522fdd(0x166)]):this[_0x522fdd(0x155)][_0x522fdd(0x13d)](),_0x5040b2();})[_0x4544ea(0x132)](()=>{const _0x1a86a4=_0x4544ea;this[_0x1a86a4(0x165)](),_0x5040b2();});});}[_0x528d6b(0x16a)](_0x269851,_0x1d61ee=!0x1){const _0xc5bf1=_0x528d6b,_0x265ce6=hs[_0xc5bf1(0x18c)](_0x269851);_0x269851=_0x265ce6?_0x269851[_0xc5bf1(0x15e)](_0x265ce6[0x1][_0xc5bf1(0x183)]):_0x269851[_0xc5bf1(0x183)]<0x64&&!_0x1d61ee?'':this[_0xc5bf1(0x162)](_0x269851);const _0xf25df1=this[_0xc5bf1(0x175)][_0xc5bf1(0x186)](_0x269851,_0xc5bf1(0x15f));if(_0x265ce6){const _0x3d5d3e=Array[_0xc5bf1(0x13f)](_0xf25df1[_0xc5bf1(0x16d)][_0xc5bf1(0x146)]);_0x3d5d3e[_0xc5bf1(0x150)]();for(const _0x5a4e6d of _0x3d5d3e){if(_0x5a4e6d[_0xc5bf1(0x180)]==Node[_0xc5bf1(0x176)])break;_0x5a4e6d[_0xc5bf1(0x18d)]();}}const _0x48de34=this[_0xc5bf1(0x133)][_0xc5bf1(0x17e)][_0xc5bf1(0x159)][_0xc5bf1(0x17d)](this[_0xc5bf1(0x13b)][_0xc5bf1(0x163)](_0xf25df1[_0xc5bf1(0x16d)]));this[_0xc5bf1(0x151)]()||this[_0xc5bf1(0x138)](_0x48de34);const _0x40e220=this[_0xc5bf1(0x133)][_0xc5bf1(0x161)][_0xc5bf1(0x18b)](_0xc5bf1(0x12c)),_0x190638=this[_0xc5bf1(0x133)][_0xc5bf1(0x17e)][_0xc5bf1(0x149)](_0x48de34);return _0x40e220||_0x190638[_0xc5bf1(0x17f)][_0xc5bf1(0x158)](),this[_0xc5bf1(0x133)][_0xc5bf1(0x17e)][_0xc5bf1(0x15c)](_0x190638);}[_0x528d6b(0x138)](_0x4728a8){const _0xfb7994=_0x528d6b,_0x41a0b4=new _0x4ba00c(this[_0xfb7994(0x133)][_0xfb7994(0x131)][_0xfb7994(0x155)][_0xfb7994(0x14e)]),_0x55b457=new _0x563d12({'name':/^h[1-5]$/}),_0x5639bc=[];let _0x1bc030=!0x1;for(const _0x1561cc of _0x4728a8)_0x1561cc['is'](_0xfb7994(0x144))&&_0x55b457[_0xfb7994(0x15d)](_0x1561cc)&&(_0x5639bc[_0xfb7994(0x14c)](_0x1561cc),'h1'==_0x1561cc[_0xfb7994(0x12f)]&&(_0x1bc030=!0x0));if(_0x1bc030){for(const _0x37cc57 of _0x5639bc)_0x41a0b4[_0xfb7994(0x137)]('h'+(parseInt(_0x37cc57[_0xfb7994(0x12f)][0x1])+0x1),_0x37cc57);}}[_0x528d6b(0x151)](){const _0x1aa9a7=_0x528d6b,{data:_0x15504d,editing:_0x25e2aa}=this[_0x1aa9a7(0x133)],_0x2887ec=_0x15504d[_0x1aa9a7(0x16c)][_0x1aa9a7(0x17d)](_0x1aa9a7(0x171)),_0x1a37fe=_0x15504d[_0x1aa9a7(0x17d)](_0x15504d[_0x1aa9a7(0x149)](_0x2887ec));return!!_0x25e2aa[_0x1aa9a7(0x155)][_0x1aa9a7(0x182)][_0x1aa9a7(0x167)](_0x1a37fe)[_0x1aa9a7(0x145)]('h1');}[_0x528d6b(0x174)](_0x55364a){const _0x40de1a=_0x528d6b;return this[_0x40de1a(0x133)][_0x40de1a(0x131)][_0x40de1a(0x155)][_0x40de1a(0x182)][_0x40de1a(0x160)](this[_0x40de1a(0x168)],_0x55364a),this[_0x40de1a(0x168)][_0x40de1a(0x179)];}[_0x528d6b(0x162)](_0x6ea88e){const _0x20cea9=_0x528d6b,_0x486ab4=_0x6ea88e[_0x20cea9(0x18a)]();return _0x486ab4[_0x20cea9(0x17a)](_0x20cea9(0x184))?_0x486ab4[_0x20cea9(0x170)](_0x20cea9(0x12e))?_0x486ab4[_0x20cea9(0x15e)](0x7,_0x486ab4[_0x20cea9(0x183)]-0x3):_0x486ab4[_0x20cea9(0x15e)](0x7):_0x6ea88e;}}function _0x3565(){const _0x379aea=['_parseAndNormalizeContent','finishProcessing','htmlProcessor','body','1635015MSvXlQ','previousActionId','endsWith','<h1></h1>','updateView','12UhUmbx','_sanitizeHTML','_domParser','ELEMENT_NODE','isRendered','previousContext','innerHTML','startsWith','isProcessing','previousLabel','toView','data','markers','nodeType','1846265wcJWag','domConverter','length','```html','startProcessing','parseFromString','then','1825986ZacMin','destroy','trim','get','exec','remove','ai.assistant.preserveComments','stopListening','```','name','div','editing','finally','editor','set:currentContext','makeRequest','tryAgainEvent','rename','_normalizeResponseHeadings','value','custom','_xmlSerializer','submitPrompt','handleError','previousQuery','from','textAdapter','_handleQuery','listenTo','7435476pBzYuH','element','querySelector','childNodes','prompt','abort','toModel','catch','set','push','reset','document','once','reverse','_isH1TagSupportEnabled','currentResponse','initialContext','3191386QISfeP','view','24668544JHhFMi','mainAction','clear','processor','render','currentContext','stringify','match','substring','text/html','setContentOf','config','_stripMarkdownSyntax','serializeToString','createElement','stopProcessing','message','viewToDom','_sanitizationContainer','12012959zjspqn'];_0x3565=function(){return _0x379aea;};return _0x3565();}
|