@ckeditor/ckeditor5-ai 47.6.2-alpha.1 → 47.7.0-alpha.0
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
|
+
function _0x3685(_0x56778a,_0x566520){var _0x59ffd4=_0x59ff();return _0x3685=function(_0x36851a,_0x400cf2){_0x36851a=_0x36851a-0x179;var _0x56bcc6=_0x59ffd4[_0x36851a];return _0x56bcc6;},_0x3685(_0x56778a,_0x566520);}var _0x274f3f=_0x3685;function _0x59ff(){var _0x1bdeed=['1383AqLfKE','589360owqoAp','768678GahrbN','36440pEcAoY','AIRequestError','4PQbHhb','7IyPMiz','287407KoWDAy','name','textAdapter','14xLlVHO','aiadapter-text-adapter-not-set','1794530tBUbmY','pluginName','AIAdapter','432qZMAUK','isPremiumPlugin','afterInit','isOfficialPlugin','4709111MUGQmN'];_0x59ff=function(){return _0x1bdeed;};return _0x59ff();}(function(_0x4a0e9,_0x3e58eb){var _0x1a6c7e=_0x3685,_0x34a73e=_0x4a0e9();while(!![]){try{var _0x44dd4d=-parseInt(_0x1a6c7e(0x181))/0x1+parseInt(_0x1a6c7e(0x184))/0x2*(parseInt(_0x1a6c7e(0x17a))/0x3)+parseInt(_0x1a6c7e(0x17f))/0x4*(-parseInt(_0x1a6c7e(0x17b))/0x5)+-parseInt(_0x1a6c7e(0x17c))/0x6*(-parseInt(_0x1a6c7e(0x180))/0x7)+-parseInt(_0x1a6c7e(0x17d))/0x8*(-parseInt(_0x1a6c7e(0x189))/0x9)+-parseInt(_0x1a6c7e(0x186))/0xa+parseInt(_0x1a6c7e(0x179))/0xb;if(_0x44dd4d===_0x3e58eb)break;else _0x34a73e['push'](_0x34a73e['shift']());}catch(_0xa2c916){_0x34a73e['push'](_0x34a73e['shift']());}}}(_0x59ff,0x2f345));import{Plugin as _0x544cf3}from'ckeditor5/src/core.js';import{CKEditorError as _0x5e17eb}from'ckeditor5/src/utils.js';export class AIAdapter extends _0x544cf3{static get[_0x274f3f(0x187)](){var _0x4dd145=_0x274f3f;return _0x4dd145(0x188);}static get[_0x274f3f(0x18c)](){return!0x0;}static get[_0x274f3f(0x18a)](){return!0x0;}[_0x274f3f(0x18b)](){var _0x4cdbe0=_0x274f3f;if(!this[_0x4cdbe0(0x183)])throw new _0x5e17eb(_0x4cdbe0(0x185),null);}}export class AIRequestError extends Error{constructor(_0x553a41){var _0x5031b6=_0x274f3f;super(_0x553a41),this[_0x5031b6(0x182)]=_0x5031b6(0x17e);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x44c3(){const _0x118b24=['12bEzCeJ','_prepareRequestParameters','application/json','AI_ERROR_GET_PARAMETERS','42376hIvWoy','5378879eODGGq','AI_ERROR_GET_HEADERS','catch','makeRequest','169rYfAdQ','aitextadapter-send-request-failed','93OSNWNb','2457170pDTndN','1798872GmQofX','error','AbortError','get','2690821HhbgDr','locale','reject','sendRequest','6IvQSkO','aborted','abortController','resolve','init','textAdapter','abort','object','plugins','_prepareRequestHeaders','5884BqmHuk','editor','139310SvBtzC','assign','requires','450ipJJfr','name','signal'];_0x44c3=function(){return _0x118b24;};return _0x44c3();}function _0x2983(_0x583093,_0x4c46d2){const _0x44c381=_0x44c3();return _0x2983=function(_0x298368,_0x39fbfb){_0x298368=_0x298368-0x1ba;let _0x4a9396=_0x44c381[_0x298368];return _0x4a9396;},_0x2983(_0x583093,_0x4c46d2);}const _0x358236=_0x2983;(function(_0x2d254e,_0x26e021){const _0x35ffc1=_0x2983,_0x522450=_0x2d254e();while(!![]){try{const _0x45db7e=parseInt(_0x35ffc1(0x1c3))/0x1*(-parseInt(_0x35ffc1(0x1d9))/0x2)+-parseInt(_0x35ffc1(0x1c5))/0x3*(-parseInt(_0x35ffc1(0x1be))/0x4)+-parseInt(_0x35ffc1(0x1c6))/0x5+parseInt(_0x35ffc1(0x1cf))/0x6*(-parseInt(_0x35ffc1(0x1cb))/0x7)+parseInt(_0x35ffc1(0x1c7))/0x8+-parseInt(_0x35ffc1(0x1de))/0x9*(-parseInt(_0x35ffc1(0x1db))/0xa)+-parseInt(_0x35ffc1(0x1bf))/0xb*(-parseInt(_0x35ffc1(0x1ba))/0xc);if(_0x45db7e===_0x26e021)break;else _0x522450['push'](_0x522450['shift']());}catch(_0x515109){_0x522450['push'](_0x522450['shift']());}}}(_0x44c3,0x594d1));import{Plugin as _0x38d857}from'ckeditor5/src/core.js';import{CKEditorError as _0xfcb833}from'ckeditor5/src/utils.js';import{AIAdapter as _0x54f78d,AIRequestError as _0x41aebb}from'./aiadapter.js';import{getTranslation as _0x3ed919}from'../utils/common-translations.js';export class AITextAdapter extends _0x38d857{[_0x358236(0x1d1)];static get[_0x358236(0x1dd)](){return[_0x54f78d];}constructor(_0x4cea28){const _0x4fbc44=_0x358236;super(_0x4cea28),this[_0x4fbc44(0x1d1)]=new AbortController();}[_0x358236(0x1d3)](){const _0x2e6ad4=_0x358236;this[_0x2e6ad4(0x1da)][_0x2e6ad4(0x1d7)][_0x2e6ad4(0x1ca)](_0x54f78d)[_0x2e6ad4(0x1d4)]=this;}[_0x358236(0x1d5)](){const _0x4ce1cb=_0x358236;this[_0x4ce1cb(0x1d1)][_0x4ce1cb(0x1e0)][_0x4ce1cb(0x1d0)]||(this[_0x4ce1cb(0x1d1)][_0x4ce1cb(0x1d5)](),this[_0x4ce1cb(0x1d1)]=new AbortController());}async[_0x358236(0x1c2)](_0x23f8a2){const _0x27ad84=_0x358236;return this[_0x27ad84(0x1ce)](_0x23f8a2)[_0x27ad84(0x1c1)](_0x4d537a=>{const _0x79af55=_0x27ad84;if(_0x4d537a instanceof _0x41aebb)return Promise[_0x79af55(0x1cd)](_0x4d537a);if(_0x79af55(0x1c9)==_0x4d537a[_0x79af55(0x1df)])return Promise[_0x79af55(0x1d2)]();throw console[_0x79af55(0x1c8)](_0x4d537a),new _0xfcb833(_0x79af55(0x1c4),null);});}async[_0x358236(0x1d8)](_0x4f4644,_0x526d63){const _0x1ceb60=_0x358236,_0x28ad5f=this[_0x1ceb60(0x1da)][_0x1ceb60(0x1cc)],_0x4f50d2={'Content-Type':_0x1ceb60(0x1bc)};if(_0x1ceb60(0x1d6)==typeof _0x4f4644)Object[_0x1ceb60(0x1dc)](_0x4f50d2,_0x4f4644);else{if(_0x4f4644)try{const _0xb619db=await _0x4f4644(_0x526d63);Object[_0x1ceb60(0x1dc)](_0x4f50d2,_0xb619db);}catch{return Promise[_0x1ceb60(0x1cd)](new _0x41aebb(_0x3ed919(_0x28ad5f,_0x1ceb60(0x1c0))));}}return _0x4f50d2;}async[_0x358236(0x1bb)](_0x19641b,_0x37eec3){const _0xbc8f35=_0x358236,_0x3f08ba=this[_0xbc8f35(0x1da)][_0xbc8f35(0x1cc)];if(_0xbc8f35(0x1d6)==typeof _0x19641b)return _0x19641b;try{return await _0x19641b(_0x37eec3);}catch{return Promise[_0xbc8f35(0x1cd)](new _0x41aebb(_0x3ed919(_0x3f08ba,_0xbc8f35(0x1bd))));}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x445c(_0x4083bc,_0x71623){var _0x238709=_0x2387();return _0x445c=function(_0x445c8f,_0x3eb51d){_0x445c8f=_0x445c8f-0x95;var _0x141a6c=_0x238709[_0x445c8f];return _0x141a6c;},_0x445c(_0x4083bc,_0x71623);}var _0x58d3f0=_0x445c;(function(_0x5bf385,_0x42446b){var _0x59f1ba=_0x445c,_0xadcee8=_0x5bf385();while(!![]){try{var _0x1ac865=-parseInt(_0x59f1ba(0xa8))/0x1*(-parseInt(_0x59f1ba(0xa0))/0x2)+-parseInt(_0x59f1ba(0xa3))/0x3*(parseInt(_0x59f1ba(0xa1))/0x4)+-parseInt(_0x59f1ba(0x9a))/0x5*(-parseInt(_0x59f1ba(0x96))/0x6)+-parseInt(_0x59f1ba(0xa2))/0x7*(-parseInt(_0x59f1ba(0xa4))/0x8)+-parseInt(_0x59f1ba(0x9b))/0x9+-parseInt(_0x59f1ba(0xa6))/0xa*(-parseInt(_0x59f1ba(0xa9))/0xb)+-parseInt(_0x59f1ba(0x99))/0xc*(parseInt(_0x59f1ba(0x95))/0xd);if(_0x1ac865===_0x42446b)break;else _0xadcee8['push'](_0xadcee8['shift']());}catch(_0x31b088){_0xadcee8['push'](_0xadcee8['shift']());}}}(_0x2387,0xcb9c5));import{AITextAdapter as _0x5b65c2}from'./aitextadapter.js';import{AIRequestError as _0x5dc3c3}from'./aiadapter.js';import{getTranslation as _0x16da4a}from'../utils/common-translations.js';import{logWarning as _0xf338d,logError as _0x4e61ad}from'ckeditor5/src/utils.js';export class AWSTextAdapter extends _0x5b65c2{static get[_0x58d3f0(0x98)](){var _0x1a1424=_0x58d3f0;return _0x1a1424(0x9d);}[_0x58d3f0(0x9c)](){var _0x4be124=_0x58d3f0;super[_0x4be124(0x9c)](),_0xf338d(_0x4be124(0xa7));}async[_0x58d3f0(0x9f)](_0x3e2fd7){var _0x2401f1=_0x58d3f0;throw _0x4e61ad(_0x2401f1(0xa7)),new _0x5dc3c3(_0x16da4a(this[_0x2401f1(0x9e)][_0x2401f1(0x97)],_0x2401f1(0xa5)));}}function _0x2387(){var _0x2a0779=['pluginName','2363892rNjIsJ','195mzaTcr','5452101Fjkrhy','init','AWSTextAdapter','editor','sendRequest','2hXEqAZ','1922504vtlyFN','1841efCjZA','3vQazPa','18336OHxFqN','AI_ERROR_AWS_NOT_SUPPORTED','10uooLYA','ai-aws-adapter-not-supported','184097mLFVce','4968953xDFsAD','65XsdxHZ','256422uauDlS','locale'];_0x2387=function(){return _0x2a0779;};return _0x2387();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x25aed4=_0x1f2b;(function(_0x11918f,_0x1c62de){const _0xb222bf=_0x1f2b,_0x2dbe5d=_0x11918f();while(!![]){try{const _0x441a60=-parseInt(_0xb222bf(0x100))/0x1*(parseInt(_0xb222bf(0x12e))/0x2)+parseInt(_0xb222bf(0x114))/0x3+-parseInt(_0xb222bf(0x11a))/0x4*(parseInt(_0xb222bf(0x125))/0x5)+-parseInt(_0xb222bf(0x140))/0x6+parseInt(_0xb222bf(0x11d))/0x7+parseInt(_0xb222bf(0x142))/0x8*(parseInt(_0xb222bf(0x113))/0x9)+parseInt(_0xb222bf(0x116))/0xa*(parseInt(_0xb222bf(0x11f))/0xb);if(_0x441a60===_0x1c62de)break;else _0x2dbe5d['push'](_0x2dbe5d['shift']());}catch(_0x3f7253){_0x2dbe5d['push'](_0x2dbe5d['shift']());}}}(_0x129e,0xa03db));function _0x1f2b(_0xe3c1cc,_0x2356c0){const _0x129edc=_0x129e();return _0x1f2b=function(_0x1f2b90,_0x160e64){_0x1f2b90=_0x1f2b90-0x100;let _0xde3ee7=_0x129edc[_0x1f2b90];return _0xde3ee7;},_0x1f2b(_0xe3c1cc,_0x2356c0);}import{AITextAdapter as _0xff6cc8}from'./aitextadapter.js';function _0x129e(){const _0x2107f9=['join','44JhTCGU','_apiUrl','replace','7072527vdGNDG','message','110KSaYqj','[DONE]','_readStreamableResponse','_prepareRequestHeaders','filter','editor','40970PFYuWv','_cleanUpData','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.','split','prepareMessages','_requestHeaders','context_length_exceeded','ai.assistant.adapter.openAI.requestHeaders','AI_ERROR_CONTEXT_LENGTH','605666XiVRGI','system','abortController','data:\x20','signal','includes','map','OpenAITextAdapter','length','resolve','get','define','POST','stringify','user','gpt-4o','getReader','parse','7571412lqKLtl','AI_ERROR_MODERATION','981424DeKzvY','locale','ai.assistant.adapter.openAI.apiUrl','pluginName','text','3tfIQaJ','_isBufferIncomplete','ai.assistant.adapter.openAI.requestParameters','sendRequest','content','choices','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.','_prepareRequestParameters','_requestParameters','Moderation','json','body','\x0aYou\x20must\x20keep\x20the\x20text\x20formatting.\x0a\x0aContent:\x0a','Instruction:\x0a','config','read','stream','https://api.openai.com/v1/chat/completions','_readStaticResponse','45qHXniU','329823hGkWno','decode','1183190LvYipB','reject','delta'];_0x129e=function(){return _0x2107f9;};return _0x129e();}import{AIRequestError as _0x437c85}from'./aiadapter.js';import{getTranslation as _0x1e6cb7}from'../utils/common-translations.js';export class OpenAITextAdapter extends _0xff6cc8{[_0x25aed4(0x11b)];[_0x25aed4(0x12a)];[_0x25aed4(0x108)];static get[_0x25aed4(0x145)](){const _0x437290=_0x25aed4;return _0x437290(0x135);}constructor(_0x38c117){const _0x519d83=_0x25aed4;super(_0x38c117),_0x38c117[_0x519d83(0x10e)][_0x519d83(0x139)](_0x519d83(0x144),_0x519d83(0x111)),_0x38c117[_0x519d83(0x10e)][_0x519d83(0x138)](_0x519d83(0x102))||_0x38c117[_0x519d83(0x10e)][_0x519d83(0x139)](_0x519d83(0x102),{'model':_0x519d83(0x13d),'temperature':0x1,'top_p':0x1,'stream':!0x0}),this[_0x519d83(0x11b)]=_0x38c117[_0x519d83(0x10e)][_0x519d83(0x138)](_0x519d83(0x144)),this[_0x519d83(0x12a)]=_0x38c117[_0x519d83(0x10e)][_0x519d83(0x138)](_0x519d83(0x12c))||{},this[_0x519d83(0x108)]=_0x38c117[_0x519d83(0x10e)][_0x519d83(0x138)](_0x519d83(0x102));}async[_0x25aed4(0x103)]({query:_0x522474,context:_0x79d6c8,onData:_0x4d31f3,actionId:_0xf27d1d}){const _0x291baa=_0x25aed4,_0xe4db6e=this[_0x291baa(0x124)][_0x291baa(0x143)],_0x407c9e=await this[_0x291baa(0x129)](_0x522474,_0x79d6c8,_0xf27d1d),_0x2908f6=await this[_0x291baa(0x122)](this[_0x291baa(0x12a)],_0xf27d1d),_0x477ed6=await this[_0x291baa(0x107)](this[_0x291baa(0x108)],_0xf27d1d),_0x165b89={'messages':_0x407c9e,..._0x477ed6},_0xe13bc9={'method':_0x291baa(0x13a),'headers':_0x2908f6,'body':JSON[_0x291baa(0x13b)](_0x165b89),'signal':this[_0x291baa(0x130)][_0x291baa(0x132)]},_0x5d878f=await fetch(this[_0x291baa(0x11b)],_0xe13bc9);if(_0x5d878f['ok'])return _0x477ed6[_0x291baa(0x110)]?await this[_0x291baa(0x121)](_0x5d878f,_0x4d31f3):await this[_0x291baa(0x112)](_0x5d878f,_0x4d31f3),Promise[_0x291baa(0x137)]();{const _0xb49b81=await _0x5d878f[_0x291baa(0x146)]();return _0xb49b81[_0x291baa(0x133)](_0x291baa(0x12b))?Promise[_0x291baa(0x117)](new _0x437c85(_0x1e6cb7(_0xe4db6e,_0x291baa(0x12d)))):_0xb49b81[_0x291baa(0x133)](_0x291baa(0x109))?Promise[_0x291baa(0x117)](new _0x437c85(_0x1e6cb7(_0xe4db6e,_0x291baa(0x141)))):Promise[_0x291baa(0x117)](new Error(_0xb49b81));}}async[_0x25aed4(0x129)](_0x59fbf,_0x845b94,_0x2ec7d5){const _0x14ee1a=_0x25aed4;let _0x3136e4,_0x5db819;return _0x845b94?(_0x3136e4=_0x14ee1a(0x106),_0x5db819=_0x14ee1a(0x10d)+_0x59fbf+_0x14ee1a(0x10c)+_0x845b94):(_0x3136e4=_0x14ee1a(0x127),_0x5db819=_0x59fbf),[{'role':_0x14ee1a(0x12f),'content':_0x3136e4},{'role':_0x14ee1a(0x13c),'content':_0x5db819}];}async[_0x25aed4(0x121)](_0x274442,_0x34a881){const _0x3fd66a=_0x25aed4,_0x2b5c9c=_0x274442[_0x3fd66a(0x10b)][_0x3fd66a(0x13e)](),_0xb70292=new TextDecoder();let _0x32bb83='',_0x1dec77='',_0x52b936='',_0x232cd7=!0x1;for(;!_0x232cd7;){const {done:_0x2212ec,value:_0x33b93a}=await _0x2b5c9c[_0x3fd66a(0x10f)](),_0x7a6c99=_0x32bb83+_0xb70292[_0x3fd66a(0x115)](_0x33b93a);let _0x2231d8='';_0x232cd7=_0x2212ec;try{_0x2231d8=this[_0x3fd66a(0x126)](_0x7a6c99),_0x32bb83='';}catch{_0x32bb83=_0x7a6c99;continue;}_0x1dec77+=_0x2231d8,!_0x232cd7&&this[_0x3fd66a(0x101)](_0x1dec77)||_0x1dec77&&(_0x52b936+=_0x1dec77,_0x1dec77='',_0x34a881(_0x52b936));}return Promise[_0x3fd66a(0x137)]();}async[_0x25aed4(0x112)](_0x54fe32,_0x287d5f){const _0x3fa7db=_0x25aed4;return _0x287d5f((await _0x54fe32[_0x3fa7db(0x10a)]())[_0x3fa7db(0x105)][0x0][_0x3fa7db(0x11e)][_0x3fa7db(0x104)]),Promise[_0x3fa7db(0x137)]();}[_0x25aed4(0x101)](_0x3531e9){const _0x325dff=_0x25aed4,_0x25dc1d=_0x3531e9[_0x325dff(0x128)]('<')[_0x325dff(0x136)]!==_0x3531e9[_0x325dff(0x128)]('>')[_0x325dff(0x136)],_0x5c15b8=_0x3531e9[_0x325dff(0x136)]<0x1e;return _0x25dc1d&&_0x5c15b8;}[_0x25aed4(0x126)](_0x81a1db){const _0x28ec24=_0x25aed4;return _0x81a1db[_0x28ec24(0x128)](/\n(?![^{]*\})/g)[_0x28ec24(0x134)](_0x2bd007=>_0x2bd007[_0x28ec24(0x11c)](_0x28ec24(0x131),''))[_0x28ec24(0x123)](_0x1c74c0=>_0x1c74c0&&_0x1c74c0[_0x28ec24(0x136)]>0x0&&_0x28ec24(0x120)!==_0x1c74c0)[_0x28ec24(0x134)](_0x2bac5c=>{const _0x6155c4=_0x28ec24,{choices:_0x186b46}=JSON[_0x6155c4(0x13f)](_0x2bac5c);if(_0x186b46[0x0]?.[_0x6155c4(0x118)]?.[_0x6155c4(0x104)])return _0x186b46[0x0][_0x6155c4(0x118)][_0x6155c4(0x104)];})[_0x28ec24(0x123)](_0x3e6753=>_0x3e6753)[_0x28ec24(0x119)]('');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x23d90e=_0x4c04;(function(_0x59aa10,_0x5c07a7){const _0x4fb92f=_0x4c04,_0x18bea1=_0x59aa10();while(!![]){try{const _0x28650b=-parseInt(_0x4fb92f(0xb5))/0x1*(-parseInt(_0x4fb92f(0xfa))/0x2)+-parseInt(_0x4fb92f(0xb3))/0x3+-parseInt(_0x4fb92f(0xf8))/0x4*(parseInt(_0x4fb92f(0xbc))/0x5)+parseInt(_0x4fb92f(0xbe))/0x6+parseInt(_0x4fb92f(0xd2))/0x7+parseInt(_0x4fb92f(0xde))/0x8+parseInt(_0x4fb92f(0xf2))/0x9*(-parseInt(_0x4fb92f(0xc0))/0xa);if(_0x28650b===_0x5c07a7)break;else _0x18bea1['push'](_0x18bea1['shift']());}catch(_0x4cc524){_0x18bea1['push'](_0x18bea1['shift']());}}}(_0x4ea3,0x544a6));import{Plugin as _0x21f9a9}from'ckeditor5/src/core.js';function _0x4ea3(){const _0x323f2c=['requires','push','English','editOrReview','Translate\x20the\x20content\x20to\x20Hindi\x20language.','isPremiumPlugin','Professional','translateArabic','Translate\x20the\x20content\x20to\x20Arabic\x20language.','makeShorter','Arabic','Business','translateEnglish','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','filter','generate','Simplify\x20language','1830381DFRBAq','Edit\x20or\x20review','1346TSCRRL','Make\x20longer','journalism','summarize','Portuguese','makeLonger','poetic','27700ISKafL','ai.assistant.extraCommandGroups','1916802OOoRMv','legal','30MZyLBI','set','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','professional','Poetic','changeStyle','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','French','concat','Casual','groupId','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','direct','includes','translateFrench','friendly','3119886omNTUY','confident','ai.assistant.preserveComments','translateChinese','Change\x20style','German','Hindi','simplifyLanguage','Continue','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','Generate\x20from\x20selection','translatePortuguese','3436792PBICho','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','improveWriting','pluginName','locale','changeTone','commands','Make\x20shorter','define','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','Direct','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','Friendly','casual','Translate\x20the\x20content\x20to\x20German\x20language.','Translate\x20the\x20content\x20to\x20Spanish\x20language.','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','Translate\x20the\x20content\x20to\x20English\x20language.','164313JIOWDP','isOfficialPlugin','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','business','ai.assistant.removeCommands','Simplified\x20Chinese','316DDqQLt','Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','376NWzjad','Translate\x20the\x20content\x20to\x20French\x20language.','translateHindi','ai.assistant.commands','Summarize','config','AIAssistant','translateGerman','Spanish','Improve\x20writing','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','forEach','Confident','Translate','find','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','Legal','Change\x20tone','continue','translate','translateSpanish','Journalism','get'];_0x4ea3=function(){return _0x323f2c;};return _0x4ea3();}import{AIAssistantUI as _0x3d7040}from'./aiassistantui.js';import{AIAssistantEditing as _0x340f50}from'./aiassistantediting.js';import{getTranslation as _0x2168c1}from'./utils/common-translations.js';function _0x4c04(_0x20ff14,_0x570474){const _0x4ea3b9=_0x4ea3();return _0x4c04=function(_0x4c0403,_0x19bf44){_0x4c0403=_0x4c0403-0x8c;let _0x39397f=_0x4ea3b9[_0x4c0403];return _0x39397f;},_0x4c04(_0x20ff14,_0x570474);}import{normalizeCommandsConfig as _0x47c30d}from'./utils/normalizecommandsconfig.js';export class AIAssistant extends _0x21f9a9{static get[_0x23d90e(0xa2)](){return[_0x3d7040,_0x340f50];}static get[_0x23d90e(0xe3)](){const _0x254c7f=_0x23d90e;return _0x254c7f(0x91);}static get[_0x23d90e(0xf3)](){return!0x0;}static get[_0x23d90e(0xa7)](){return!0x0;}constructor(_0x8ce706){const _0x551d67=_0x23d90e;super(_0x8ce706);const _0x1288c0=_0x8ce706[_0x551d67(0x90)],_0x2fd138=_0x8ce706[_0x551d67(0xe4)];_0x1288c0[_0x551d67(0xe8)](_0x551d67(0xd4),!0x0),_0x1288c0[_0x551d67(0xe8)](_0x551d67(0x8e),getDefaultAICommands(_0x2fd138)),_0x1288c0[_0x551d67(0xe8)](_0x551d67(0xbd),[]),_0x1288c0[_0x551d67(0xe8)](_0x551d67(0xf6),[]);let _0x1532e1=_0x47c30d(_0x1288c0[_0x551d67(0xa1)](_0x551d67(0x8e)),_0x2fd138);const _0x4064e3=_0x1288c0[_0x551d67(0xa1)](_0x551d67(0xbd)),_0x1b133c=_0x1288c0[_0x551d67(0xa1)](_0x551d67(0xf6));_0x4064e3[_0x551d67(0x96)](_0x33f4c5=>{const _0x34eaad=_0x551d67,_0x5b4d01=_0x1532e1[_0x34eaad(0x99)](_0x3da85b=>_0x3da85b[_0x34eaad(0xcb)]===_0x33f4c5[_0x34eaad(0xcb)]);_0x5b4d01?_0x5b4d01[_0x34eaad(0xe6)]=_0x5b4d01[_0x34eaad(0xe6)][_0x34eaad(0xc9)](_0x33f4c5[_0x34eaad(0xe6)]):_0x1532e1[_0x34eaad(0xa3)](_0x33f4c5);}),_0x1532e1=_0x1532e1[_0x551d67(0xb0)](_0x81db7c=>!_0x1b133c[_0x551d67(0xcf)](_0x81db7c[_0x551d67(0xcb)])),_0x1532e1[_0x551d67(0x96)](_0x7f7a47=>{const _0x188d07=_0x551d67;_0x7f7a47[_0x188d07(0xe6)]=_0x7f7a47[_0x188d07(0xe6)][_0x188d07(0xb0)](_0x38cbcf=>!_0x1b133c[_0x188d07(0xcf)](_0x38cbcf['id']));}),_0x1288c0[_0x551d67(0xc1)](_0x551d67(0x8e),_0x1532e1);}}export function getDefaultAICommands(_0x307f76){const _0x5552f7=_0x23d90e;return[{'groupId':_0x5552f7(0xa5),'groupLabel':_0x2168c1(_0x307f76,_0x5552f7(0xb4)),'commands':[{'id':_0x5552f7(0xe2),'label':_0x2168c1(_0x307f76,_0x5552f7(0x94)),'prompt':_0x5552f7(0xcd)},{'id':_0x5552f7(0xab),'label':_0x2168c1(_0x307f76,_0x5552f7(0xe7)),'prompt':_0x5552f7(0xf0)},{'id':_0x5552f7(0xba),'label':_0x2168c1(_0x307f76,_0x5552f7(0xb6)),'prompt':_0x5552f7(0x9a)},{'id':_0x5552f7(0xd9),'label':_0x2168c1(_0x307f76,_0x5552f7(0xb2)),'prompt':_0x5552f7(0xaf)}]},{'groupId':_0x5552f7(0xb1),'groupLabel':_0x2168c1(_0x307f76,_0x5552f7(0xdc)),'commands':[{'id':_0x5552f7(0xb8),'label':_0x2168c1(_0x307f76,_0x5552f7(0x8f)),'prompt':_0x5552f7(0xf9)},{'id':_0x5552f7(0x9d),'label':_0x2168c1(_0x307f76,_0x5552f7(0xda)),'prompt':_0x5552f7(0xcc)}]},{'groupId':_0x5552f7(0xe5),'groupLabel':_0x2168c1(_0x307f76,_0x5552f7(0x9c)),'commands':[{'id':_0x5552f7(0xc3),'label':_0x2168c1(_0x307f76,_0x5552f7(0xa8)),'prompt':_0x5552f7(0xeb)},{'id':_0x5552f7(0xed),'label':_0x2168c1(_0x307f76,_0x5552f7(0xca)),'prompt':_0x5552f7(0xc2)},{'id':_0x5552f7(0xce),'label':_0x2168c1(_0x307f76,_0x5552f7(0xea)),'prompt':_0x5552f7(0xdf)},{'id':_0x5552f7(0xd3),'label':_0x2168c1(_0x307f76,_0x5552f7(0x97)),'prompt':_0x5552f7(0xc6)},{'id':_0x5552f7(0xd1),'label':_0x2168c1(_0x307f76,_0x5552f7(0xec)),'prompt':_0x5552f7(0xe1)}]},{'groupId':_0x5552f7(0xc5),'groupLabel':_0x2168c1(_0x307f76,_0x5552f7(0xd6)),'commands':[{'id':_0x5552f7(0xf5),'label':_0x2168c1(_0x307f76,_0x5552f7(0xad)),'prompt':_0x5552f7(0xc7)},{'id':_0x5552f7(0xbf),'label':_0x2168c1(_0x307f76,_0x5552f7(0x9b)),'prompt':_0x5552f7(0xe0)},{'id':_0x5552f7(0xb7),'label':_0x2168c1(_0x307f76,_0x5552f7(0xa0)),'prompt':_0x5552f7(0x95)},{'id':_0x5552f7(0xbb),'label':_0x2168c1(_0x307f76,_0x5552f7(0xc4)),'prompt':_0x5552f7(0xdb)}]},{'groupId':_0x5552f7(0x9e),'groupLabel':_0x2168c1(_0x307f76,_0x5552f7(0x98)),'commands':[{'id':_0x5552f7(0xae),'label':_0x2168c1(_0x307f76,_0x5552f7(0xa4)),'prompt':_0x5552f7(0xf1)},{'id':_0x5552f7(0x9f),'label':_0x2168c1(_0x307f76,_0x5552f7(0x93)),'prompt':_0x5552f7(0xef)},{'id':_0x5552f7(0xdd),'label':_0x2168c1(_0x307f76,_0x5552f7(0xb9)),'prompt':_0x5552f7(0xe9)},{'id':_0x5552f7(0x92),'label':_0x2168c1(_0x307f76,_0x5552f7(0xd7)),'prompt':_0x5552f7(0xee)},{'id':_0x5552f7(0xd0),'label':_0x2168c1(_0x307f76,_0x5552f7(0xc8)),'prompt':_0x5552f7(0x8c)},{'id':_0x5552f7(0xd5),'label':_0x2168c1(_0x307f76,_0x5552f7(0xf7)),'prompt':_0x5552f7(0xf4)},{'id':_0x5552f7(0x8d),'label':_0x2168c1(_0x307f76,_0x5552f7(0xd8)),'prompt':_0x5552f7(0xa6)},{'id':_0x5552f7(0xa9),'label':_0x2168c1(_0x307f76,_0x5552f7(0xac)),'prompt':_0x5552f7(0xaa)}]}];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x2c96(){const _0x327195=['span','ck-ai-assistant-ui_theme','map','init','46xVUaDn','getLastMatchingPosition','getMarkersGroup','data','ai.assistant.useTheme','8021815CCfMqE','push','isContent','insertContent','forEach','isPremiumPlugin','_resetContentOfSelectedTableCells','addMarker','_getDefaultInsertBelowPosition','showFakeVisualSelection','href','pluginName','setData','insertRows','config','has','markerRange','schema','parse','isCollapsed','getRowIndexes','_createEmptyTableRows','element','getFirstRange','createUIElement','getColumnIndexes','createPositionAfter','getRows','4XyWMnd','table','selection','TableUtils','editor','ai-ui','markerToHighlight','start','text/html','getRanges','pop','plugins','markers','_pasteHTMLUsingClipboard','4734UZOqyl','change','markerToElement','deleteContent','DataTransfer','length','off','from','1874802RPGdVz','contentInsertion','join','21110wznRXY','6152LjoGGX','resultRange','69519fycfLn','for','ck-fake-ai-selection_collapsed','filter','getChildren','model','ck-fake-ai-selection','27056469AXFdvI','once','isOfficialPlugin','insertContentBelow','createRange','editingDowncast','afterInit','editing','hideFakeVisualSelection','fire','canEditAt','_getAISelection','paste','getSelectedTableCells','first','isAtEnd','_getTableRowCountFromContent','AIAssistantEditing','last','setSelection','updateMarker','document','2456wwZtyA','1967RvuNun','getChild','lowest','fromCharCode','getSelectedBlocks','get','getLastPosition','createPositionAt','createSelection','end','_prepareTableInsertBelowPosition','addClass','removeMarker','getRange','conversion','findAncestor'];_0x2c96=function(){return _0x327195;};return _0x2c96();}const _0x2bf9dd=_0x5c2e;(function(_0x29be04,_0x16107a){const _0x1a3958=_0x5c2e,_0x561013=_0x29be04();while(!![]){try{const _0x3e8465=-parseInt(_0x1a3958(0xd8))/0x1*(-parseInt(_0x1a3958(0x113))/0x2)+-parseInt(_0x1a3958(0x115))/0x3*(-parseInt(_0x1a3958(0xf9))/0x4)+parseInt(_0x1a3958(0xdd))/0x5+parseInt(_0x1a3958(0x10f))/0x6+-parseInt(_0x1a3958(0xc4))/0x7*(-parseInt(_0x1a3958(0xc3))/0x8)+parseInt(_0x1a3958(0x107))/0x9*(parseInt(_0x1a3958(0x112))/0xa)+-parseInt(_0x1a3958(0x11c))/0xb;if(_0x3e8465===_0x16107a)break;else _0x561013['push'](_0x561013['shift']());}catch(_0xed233b){_0x561013['push'](_0x561013['shift']());}}}(_0x2c96,0xc7d29));import{uid as _0x54a71c}from'ckeditor5/src/utils.js';function _0x5c2e(_0x54812c,_0x38a1e7){const _0x2c963b=_0x2c96();return _0x5c2e=function(_0x5c2ee0,_0x413f97){_0x5c2ee0=_0x5c2ee0-0xc3;let _0xa12c53=_0x2c963b[_0x5c2ee0];return _0xa12c53;},_0x5c2e(_0x54812c,_0x38a1e7);}import{Plugin as _0x3086c3}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x2de126}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x589578,ViewDataTransfer as _0x1de831}from'ckeditor5/src/engine.js';const w=globalThis[_0x2bf9dd(0x10b)],f=_0x2bf9dd(0xfe);export class AIAssistantEditing extends _0x3086c3{static get[_0x2bf9dd(0xe8)](){const _0x1a9d35=_0x2bf9dd;return _0x1a9d35(0x12d);}static get[_0x2bf9dd(0x11e)](){return!0x0;}static get[_0x2bf9dd(0xe2)](){return!0x0;}[_0x2bf9dd(0xd7)](){const _0x44e327=_0x2bf9dd,{editor:_0x3d79a1}=this,_0x45c99b=[_0x44e327(0x11b)];_0x3d79a1[_0x44e327(0xeb)][_0x44e327(0xc9)](_0x44e327(0xdc))&&_0x45c99b[_0x44e327(0xde)](_0x44e327(0xd5)),_0x3d79a1[_0x44e327(0xd2)][_0x44e327(0x116)](_0x44e327(0x121))[_0x44e327(0xff)]({'model':f,'view':{'classes':_0x45c99b,'priority':0xc}}),_0x3d79a1[_0x44e327(0xd2)][_0x44e327(0x116)](_0x44e327(0x121))[_0x44e327(0x109)]({'model':f,'view':(_0x491110,{writer:_0x284760})=>{const _0x5306d4=_0x44e327;if(!_0x491110[_0x5306d4(0xed)][_0x5306d4(0xf0)])return null;const _0x146226=_0x284760[_0x5306d4(0xf5)](_0x5306d4(0xd4));return _0x284760[_0x5306d4(0xcf)]([_0x5306d4(0x11b),_0x5306d4(0x117)],_0x146226),_0x146226;}});}[_0x2bf9dd(0x122)](){!async function(_0x46375a){const _0x4907c3=_0x366d11([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]),_0x438763=0x3dffc4e1,_0x145213=0x3df84249^_0x438763,_0x36d95a=window[_0x366d11([0x44,0x61,0x74,0x65])][_0x366d11([0x6e,0x6f,0x77])](),_0x57d337=_0x46375a[_0x366d11([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x415567=new window[(_0x366d11([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x106de6=>{_0x57d337[_0x366d11([0x6f,0x6e,0x63,0x65])](_0x366d11([0x72,0x65,0x61,0x64,0x79]),_0x106de6);}),_0x523e4d={[_0x366d11([0x6b,0x74,0x79])]:_0x366d11([0x45,0x43]),[_0x366d11([0x75,0x73,0x65])]:_0x366d11([0x73,0x69,0x67]),[_0x366d11([0x63,0x72,0x76])]:_0x366d11([0x50,0x2d,0x32,0x35,0x36]),[_0x366d11([0x78])]:_0x366d11([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]),[_0x366d11([0x79])]:_0x366d11([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]),[_0x366d11([0x61,0x6c,0x67])]:_0x366d11([0x45,0x53,0x32,0x35,0x36])},_0x57371f=_0x57d337[_0x366d11([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x366d11([0x67,0x65,0x74])](_0x366d11([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2221bc(){let _0xa04fca,_0x2e84eb=null,_0x106db6=null;try{if(_0x57371f==_0x366d11([0x47,0x50,0x4c]))return _0x366d11([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xa04fca=_0x3286f8(),!_0xa04fca)return _0x366d11([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xa04fca[_0x366d11([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x106db6=_0x3a22a1(_0xa04fca[_0x366d11([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xa04fca[_0x366d11([0x6a,0x74,0x69])])),await _0x361af2()?_0x4dd945()?_0x54e918()?_0x366d11([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x43923d()?(_0xa04fca[_0x366d11([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x366d11([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2e84eb=_0x499bfe(_0x366d11([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x165533()):_0x366d11([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x366d11([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x366d11([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x366d11([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x54e918(){const _0x4899a2=[_0x366d11([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x366d11([0x74,0x72,0x69,0x61,0x6c])][_0x366d11([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xa04fca[_0x366d11([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x36d95a/0x3e8:0xe10*_0x145213;return _0xa04fca[_0x366d11([0x65,0x78,0x70])]<_0x4899a2;}function _0x4dd945(){const _0x55c2ce=_0xa04fca[_0x366d11([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x55c2ce&&(!!_0x55c2ce[_0x366d11([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x366d11([0x2a]))||!!_0x55c2ce[_0x366d11([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x366d11([0x41,0x49])));}function _0x43923d(){const _0x57863f=_0x5c2e,_0x40caa2=_0xa04fca[_0x366d11([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x40caa2||0x0==_0x40caa2[_0x366d11([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3cf6fb}=new URL(window[_0x366d11([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x57863f(0xe7)]);if(_0x40caa2[_0x366d11([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3cf6fb))return!0x0;const _0x1c96a6=_0x3cf6fb[_0x366d11([0x73,0x70,0x6c,0x69,0x74])](_0x366d11([0x2e]));return _0x40caa2[_0x366d11([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x112ee7=>_0x112ee7[_0x366d11([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x366d11([0x2a])))[_0x366d11([0x6d,0x61,0x70])](_0xc43864=>_0xc43864[_0x366d11([0x73,0x70,0x6c,0x69,0x74])](_0x366d11([0x2e])))[_0x366d11([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3b7fa6=>_0x3b7fa6[_0x366d11([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1c96a6[_0x366d11([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x366d11([0x6d,0x61,0x70])](_0x42124e=>Array(_0x1c96a6[_0x366d11([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x42124e[_0x366d11([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x366d11([0x66,0x69,0x6c,0x6c])](_0x42124e[0x0]===_0x366d11([0x2a])?_0x366d11([0x2a]):'')[_0x366d11([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x42124e))[_0x366d11([0x73,0x6f,0x6d,0x65])](_0x214551=>_0x1c96a6[_0x366d11([0x65,0x76,0x65,0x72,0x79])]((_0xc1309f,_0x4fefb7)=>_0x214551[_0x4fefb7]===_0xc1309f||_0x214551[_0x4fefb7]===_0x366d11([0x2a])));}function _0x165533(){return _0x2e84eb&&_0x106db6?new window[(_0x366d11([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x355eb2,_0x74091e)=>{_0x2e84eb[_0x366d11([0x74,0x68,0x65,0x6e])](_0x355eb2,_0x74091e),_0x106db6[_0x366d11([0x74,0x68,0x65,0x6e])](_0x210731=>{_0x210731!=_0x366d11([0x56,0x61,0x6c,0x69,0x64])&&_0x355eb2(_0x210731);},_0x74091e);}):_0x2e84eb||_0x106db6||_0x366d11([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3a22a1(_0x49c4bd,_0x3f8893){return new window[(_0x366d11([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x29a051=>{if(_0x2656f4())return _0x29a051(_0x366d11([0x56,0x61,0x6c,0x69,0x64]));_0x1dd116(),_0x57d337[_0x366d11([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x366d11([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4034c7=!0x1;const _0x475c50=_0x54a71c();function _0x2dd48a(_0xb67166){return!!_0xb67166&&(typeof _0xb67166===_0x366d11([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xb67166===_0x366d11([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xb67166[_0x366d11([0x74,0x68,0x65,0x6e])]===_0x366d11([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xb67166[_0x366d11([0x63,0x61,0x74,0x63,0x68])]===_0x366d11([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5b8f99(_0x56fab1){_0x2892d4(_0x56fab1)[_0x366d11([0x74,0x68,0x65,0x6e])](_0x36b451=>{if(!_0x36b451||_0x36b451[_0x366d11([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x366d11([0x6f,0x6b]))return _0x366d11([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2ef0bd(_0x2b556e(_0x475c50+_0x3f8893))!=_0x36b451[_0x366d11([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x366d11([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x366d11([0x56,0x61,0x6c,0x69,0x64]);})[_0x366d11([0x74,0x68,0x65,0x6e])](_0x14db8b=>(_0x254e2b(),_0x14db8b),()=>{const _0x55682c=_0x227231();return null==_0x55682c?(_0x254e2b(),_0x366d11([0x56,0x61,0x6c,0x69,0x64])):_0x366d11(_0x36d95a-_0x55682c>(0x19f340e1^_0x438763)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x366d11([0x74,0x68,0x65,0x6e])](_0x29a051)[_0x366d11([0x63,0x61,0x74,0x63,0x68])](()=>{_0x29a051(_0x366d11([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x9feb08=0x3dc92a61^_0x438763;function _0x254e2b(){const _0x5057af=_0x366d11([0x6c,0x6c,0x63,0x74,0x2d])+_0x2ef0bd(_0x2b556e(_0x49c4bd)),_0x2d34c6=_0x48495b(_0x2ef0bd(window[_0x366d11([0x4d,0x61,0x74,0x68])][_0x366d11([0x63,0x65,0x69,0x6c])](_0x36d95a/_0x9feb08)));window[_0x366d11([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x366d11([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5057af,_0x2d34c6);}function _0x227231(){const _0x3575ae=_0x366d11([0x6c,0x6c,0x63,0x74,0x2d])+_0x2ef0bd(_0x2b556e(_0x49c4bd)),_0x20689a=window[_0x366d11([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x366d11([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3575ae);return _0x20689a?window[_0x366d11([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x48495b(_0x20689a),0x10)*_0x9feb08:null;}function _0x2892d4(_0x5e4d40){return new window[(_0x366d11([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x395697,_0x5a1bab)=>{_0x5e4d40[_0x366d11([0x74,0x68,0x65,0x6e])](_0x395697,_0x5a1bab),window[_0x366d11([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5a1bab,0x3dfe1021^_0x438763);});}}_0x57d337[_0x366d11([0x6f,0x6e])](_0x366d11([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x447628,_0x4eac3d)=>{if(_0x4eac3d[0x0]!=_0x49c4bd)return _0x29a051(_0x366d11([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4eac3d[0x1]={..._0x4eac3d[0x1],[_0x366d11([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x475c50};},{[_0x366d11([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x366d11([0x68,0x69,0x67,0x68])}),_0x57d337[_0x366d11([0x6f,0x6e])](_0x366d11([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xc2f1c=>{_0x2dd48a(_0xc2f1c[_0x366d11([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4034c7=!0x0,_0x5b8f99(_0xc2f1c[_0x366d11([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x366d11([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x366d11([0x6c,0x6f,0x77])}),_0x415567[_0x366d11([0x74,0x68,0x65,0x6e])](()=>{_0x4034c7||_0x29a051(_0x366d11([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2656f4(){return _0x57d337[_0x366d11([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x366d11([0x76,0x69,0x65,0x77])][_0x366d11([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x366d11([0x61,0x75,0x74,0x6f]);}function _0x1dd116(){_0x57d337[_0x366d11([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x366d11([0x76,0x69,0x65,0x77])][_0x366d11([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x366d11([0x61,0x75,0x74,0x6f]);}}function _0x499bfe(_0x5dbf99){const _0x1b8861=[new window[(_0x366d11([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x508e72=>setTimeout(_0x508e72,0x3df6fa2d^_0x438763)),_0x415567[_0x366d11([0x74,0x68,0x65,0x6e])](()=>new window[(_0x366d11([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x301bf6=>{let _0x4b9d8d=0x0;_0x57d337[_0x366d11([0x6d,0x6f,0x64,0x65,0x6c])][_0x366d11([0x6f,0x6e])](_0x366d11([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x46c06c,_0x5b7474)=>{_0x5b7474[0x0][_0x366d11([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4b9d8d++,_0x4b9d8d==(0x3dffc109^_0x438763)&&(_0x301bf6(),_0x46c06c[_0x366d11([0x6f,0x66,0x66])]());});}))];return window[_0x366d11([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x366d11([0x72,0x61,0x63,0x65])](_0x1b8861)[_0x366d11([0x74,0x68,0x65,0x6e])](()=>_0x5dbf99);}async function _0x3313f5(){await _0x415567,_0x57d337[_0x366d11([0x6d,0x6f,0x64,0x65,0x6c])][_0x366d11([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x31673f,_0x57d337[_0x366d11([0x6d,0x6f,0x64,0x65,0x6c])][_0x366d11([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x31673f,_0x57d337[_0x366d11([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x366d11([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5c6a95(_0x4f056d){const _0xb9afe1=_0x54d2d9();_0x57d337[_0xb9afe1]=_0x366d11([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4f056d,_0x4f056d!=_0x366d11([0x56,0x61,0x6c,0x69,0x64])&&_0x3313f5();}function _0x54d2d9(){const _0x432645=window[_0x366d11([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x366d11([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x366d11([0x6e,0x6f,0x77])]())[_0x366d11([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x366d11([0x2e]),'');let _0xeca02c=_0x366d11([0x6e]);for(let _0x284e2d=0x0;_0x284e2d<_0x432645[_0x366d11([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x284e2d+=0x2){let _0x3c551f=window[_0x366d11([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x432645[_0x366d11([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x284e2d,_0x284e2d+0x2));_0x3c551f>=_0x4907c3[_0x366d11([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3c551f-=_0x4907c3[_0x366d11([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xeca02c+=_0x4907c3[_0x3c551f];}return _0xeca02c;}function _0x3286f8(){const _0x1aa3fe=_0x57371f[_0x366d11([0x73,0x70,0x6c,0x69,0x74])](_0x366d11([0x2e]));if(0x3!=_0x1aa3fe[_0x366d11([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2744e6(_0x1aa3fe[0x1]);function _0x2744e6(_0x46c563){const _0x17dd0c=_0x1cc51c(_0x46c563);return _0x17dd0c&&_0x20c69e()?_0x17dd0c:null;function _0x20c69e(){const _0x312944=_0x17dd0c[_0x366d11([0x6a,0x74,0x69])],_0x88e8f4=window[_0x366d11([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x312944[_0x366d11([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x312944[_0x366d11([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3d072f={..._0x17dd0c,[_0x366d11([0x6a,0x74,0x69])]:_0x312944[_0x366d11([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x312944[_0x366d11([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3d072f[_0x366d11([0x76,0x63])],_0x2b556e(_0x3d072f)==_0x88e8f4;}}}async function _0x361af2(){let _0x15dabf=!0x0;try{const _0x8b3b23=_0x57371f[_0x366d11([0x73,0x70,0x6c,0x69,0x74])](_0x366d11([0x2e])),[_0x3e47f9,_0x4d680e,_0x473b51]=_0x8b3b23;return _0x28af24(_0x3e47f9),await _0xb38ce4(_0x3e47f9,_0x4d680e,_0x473b51),_0x15dabf;}catch{return!0x1;}function _0x28af24(_0x42c8d0){const _0x135df8=_0x1cc51c(_0x42c8d0);_0x135df8&&_0x135df8[_0x366d11([0x61,0x6c,0x67])]==_0x366d11([0x45,0x53,0x32,0x35,0x36])||(_0x15dabf=!0x1);}async function _0xb38ce4(_0x135836,_0x334b4e,_0x132199){const _0x3c8771=window[_0x366d11([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x366d11([0x66,0x72,0x6f,0x6d])](_0x31caa6(_0x132199),_0xddb3da=>_0xddb3da[_0x366d11([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3c389c=new window[(_0x366d11([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x366d11([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x135836+_0x366d11([0x2e])+_0x334b4e),_0x269253=window[_0x366d11([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x366d11([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x269253)return;const _0x14f348=await _0x269253[_0x366d11([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x366d11([0x6a,0x77,0x6b]),_0x523e4d,{[_0x366d11([0x6e,0x61,0x6d,0x65])]:_0x366d11([0x45,0x43,0x44,0x53,0x41]),[_0x366d11([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x366d11([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x366d11([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x269253[_0x366d11([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x366d11([0x6e,0x61,0x6d,0x65])]:_0x366d11([0x45,0x43,0x44,0x53,0x41]),[_0x366d11([0x68,0x61,0x73,0x68])]:{[_0x366d11([0x6e,0x61,0x6d,0x65])]:_0x366d11([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x14f348,_0x3c8771,_0x3c389c)||(_0x15dabf=!0x1);}}function _0x1cc51c(_0x3070dd){return _0x3070dd[_0x366d11([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x366d11([0x65,0x79]))?JSON[_0x366d11([0x70,0x61,0x72,0x73,0x65])](_0x31caa6(_0x3070dd)):null;}function _0x31caa6(_0x5388ed){return window[_0x366d11([0x61,0x74,0x6f,0x62])](_0x5388ed[_0x366d11([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x366d11([0x2b]))[_0x366d11([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x366d11([0x2f])));}function _0x2b556e(_0x5c297d){let _0x5f04b5=0x1505;function _0x4b8e8a(_0x378e48){for(let _0x1bda5c=0x0;_0x1bda5c<_0x378e48[_0x366d11([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1bda5c++){const _0x364534=_0x378e48[_0x366d11([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1bda5c);_0x5f04b5=(_0x5f04b5<<0x5)+_0x5f04b5+_0x364534,_0x5f04b5&=_0x5f04b5;}}function _0xffddbc(_0x2f8532){Array[_0x366d11([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2f8532)?_0x2f8532[_0x366d11([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xffddbc):_0x2f8532&&typeof _0x2f8532==_0x366d11([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x366d11([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2f8532)[_0x366d11([0x73,0x6f,0x72,0x74])]()[_0x366d11([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x491f61,_0x3d77b2])=>{_0x4b8e8a(_0x491f61),_0xffddbc(_0x3d77b2);}):_0x4b8e8a(window[_0x366d11([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2f8532));}return _0xffddbc(_0x5c297d),_0x5f04b5>>>0x0;}function _0x2ef0bd(_0x4a7e1d){return _0x4a7e1d[_0x366d11([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x366d11([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x366d11([0x30]));}function _0x48495b(_0x4680ae){return _0x4680ae[_0x366d11([0x73,0x70,0x6c,0x69,0x74])]('')[_0x366d11([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x366d11([0x6a,0x6f,0x69,0x6e])]('');}function _0x31673f(){}function _0x366d11(_0x238e24){const _0x8cc2b1=_0x5c2e;return _0x238e24[_0x8cc2b1(0xd6)](_0x42323b=>String[_0x8cc2b1(0xc7)](_0x42323b))[_0x8cc2b1(0x111)]('');}_0x5c6a95(await _0x2221bc());}(this);}[_0x2bf9dd(0xe6)](){const _0x29b58d=_0x2bf9dd,_0x354961=this[_0x29b58d(0xfd)][_0x29b58d(0x11a)];_0x354961[_0x29b58d(0x108)](_0xbef4ba=>{const _0x5207a9=_0x29b58d,_0x516009=_0x354961[_0x5207a9(0x131)][_0x5207a9(0xfb)][_0x5207a9(0x102)]();let _0x561af6=0x0;for(const _0x5cb9fe of _0x516009){const _0x5b79d2=f+':'+_0x561af6;if(_0x354961[_0x5207a9(0x105)][_0x5207a9(0xec)](_0x5b79d2))_0xbef4ba[_0x5207a9(0x130)](_0x5b79d2,{'range':_0x5cb9fe});else{if(_0x5cb9fe[_0x5207a9(0x100)][_0x5207a9(0x12b)]){const _0x56ccf3=_0x5cb9fe[_0x5207a9(0x100)][_0x5207a9(0xd9)](({item:_0x4fc9e7})=>!_0x354961[_0x5207a9(0xee)][_0x5207a9(0xdf)](_0x4fc9e7),{'boundaries':_0x5cb9fe});_0xbef4ba[_0x5207a9(0xe4)](_0x5b79d2,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0xbef4ba[_0x5207a9(0x120)](_0x56ccf3,_0x5cb9fe[_0x5207a9(0xcd)])});}else _0xbef4ba[_0x5207a9(0xe4)](_0x5b79d2,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x5cb9fe});}_0x561af6++;}});}[_0x2bf9dd(0x124)](){const _0x386c18=_0x2bf9dd,_0x3039ef=this[_0x386c18(0xfd)][_0x386c18(0x11a)],_0x268e7d=Array[_0x386c18(0x10e)](this[_0x386c18(0xfd)][_0x386c18(0x11a)][_0x386c18(0x105)][_0x386c18(0xda)](f));_0x268e7d[_0x386c18(0x10c)]&&_0x3039ef[_0x386c18(0x108)](_0x370296=>{const _0x4b385b=_0x386c18;_0x268e7d[_0x4b385b(0xe1)](_0x5a3183=>{const _0x137a98=_0x4b385b;_0x370296[_0x137a98(0xd0)](_0x5a3183);});});}[_0x2bf9dd(0xe0)](_0x5aec88,_0x36bd19){const _0x22f5ec=_0x2bf9dd,_0x5c15e4=this[_0x22f5ec(0x127)](),_0x121685=_0x36bd19||_0x5c15e4[_0x22f5ec(0xf4)]();this[_0x22f5ec(0xfd)][_0x22f5ec(0x11a)][_0x22f5ec(0x126)](_0x121685)&&this[_0x22f5ec(0xfd)][_0x22f5ec(0x11a)][_0x22f5ec(0x108)](_0x147e40=>{const _0x46f0c6=_0x22f5ec;this[_0x46f0c6(0x124)](),_0x36bd19||this[_0x46f0c6(0xe3)](_0x147e40,_0x5c15e4),this[_0x46f0c6(0x106)]({'insertAt':_0x121685,'writer':_0x147e40,'html':_0x5aec88});});}[_0x2bf9dd(0x11f)](_0x18963a){const _0x26af01=_0x2bf9dd,{model:_0x895d4c}=this[_0x26af01(0xfd)],_0x1cf94f=this[_0x26af01(0x127)]();_0x895d4c[_0x26af01(0x108)](()=>{const _0x4121d6=_0x26af01,_0x1548c2=this[_0x4121d6(0xce)](_0x18963a,_0x1cf94f)||this[_0x4121d6(0xe5)](_0x1cf94f);this[_0x4121d6(0xe0)](_0x18963a,_0x1548c2);});}[_0x2bf9dd(0x127)](){const _0x57705d=_0x2bf9dd,_0x2db817=this[_0x57705d(0xfd)][_0x57705d(0x11a)],_0x196857=Array[_0x57705d(0x10e)](_0x2db817[_0x57705d(0x105)][_0x57705d(0xda)](f))[_0x57705d(0xd6)](_0x2adf5b=>_0x2adf5b[_0x57705d(0xd1)]());return _0x2db817[_0x57705d(0xcc)](_0x196857);}[_0x2bf9dd(0x106)]({writer:_0x69829a,html:_0x21b9ff,insertAt:_0xa7260}){const _0x29bb1e=_0x2bf9dd,{view:_0x3be32d}=this[_0x29bb1e(0xfd)][_0x29bb1e(0x123)],_0x362dbb=this[_0x29bb1e(0xfd)][_0x29bb1e(0x104)][_0x29bb1e(0xc9)](_0x2de126),_0x199206=new w();_0x199206[_0x29bb1e(0xe9)](_0x29bb1e(0x101),_0x21b9ff);const _0x34ae03=new ClipboardEvent(_0x29bb1e(0x128),{'clipboardData':_0x199206}),_0xe44649=new _0x589578(_0x3be32d,_0x34ae03,{'dataTransfer':new _0x1de831(_0x199206)});_0x69829a[_0x29bb1e(0x12f)](_0xa7260);const _0xdf889d=(_0x228a4d,_0x2db77e)=>{const _0x681322=_0x29bb1e;_0x2db77e[_0x681322(0x114)]&&_0x69829a[_0x681322(0x12f)](_0x2db77e[_0x681322(0x114)]);};_0x362dbb[_0x29bb1e(0x11d)](_0x29bb1e(0x110),_0xdf889d,{'priority':_0x29bb1e(0xc6)}),_0x3be32d[_0x29bb1e(0x131)][_0x29bb1e(0x125)](_0x29bb1e(0x128),_0xe44649),_0x362dbb[_0x29bb1e(0x10d)](_0x29bb1e(0x110),_0xdf889d);}[_0x2bf9dd(0xe5)](_0x44ab6a){const _0x3c23ba=_0x2bf9dd,{model:_0x539489}=this[_0x3c23ba(0xfd)],_0x58d560=Array[_0x3c23ba(0x10e)](_0x44ab6a[_0x3c23ba(0xc8)]());return _0x58d560[_0x3c23ba(0x10c)]?_0x539489[_0x3c23ba(0xf7)](_0x58d560[_0x3c23ba(0x103)]()):_0x44ab6a[_0x3c23ba(0xca)]();}[_0x2bf9dd(0xce)](_0x531ace,_0x297434){const _0x38d48a=_0x2bf9dd,{model:_0x484fb8,plugins:_0x21266f}=this[_0x38d48a(0xfd)];if(_0x21266f[_0x38d48a(0xec)](_0x38d48a(0xfc))){const _0x12248c=_0x21266f[_0x38d48a(0xc9)](_0x38d48a(0xfc))[_0x38d48a(0x129)](_0x297434);if(_0x12248c[_0x38d48a(0x10c)]){const _0x5dc025=this[_0x38d48a(0x12c)](_0x531ace),_0x11d974=this[_0x38d48a(0xf2)](_0x12248c,_0x5dc025);return _0x484fb8[_0x38d48a(0xcb)](_0x11d974,0x0);}}return null;}[_0x2bf9dd(0x12c)](_0x329e5b){const _0x55087f=_0x2bf9dd,_0x75bc0=this[_0x55087f(0xfd)][_0x55087f(0x104)][_0x55087f(0xc9)](_0x55087f(0xfc)),_0x26e565=this[_0x55087f(0xfd)][_0x55087f(0xdb)][_0x55087f(0xef)](_0x329e5b),_0x324042=Array[_0x55087f(0x10e)](_0x26e565[_0x55087f(0x119)]())[_0x55087f(0x118)](_0x97dd63=>_0x97dd63['is'](_0x55087f(0xf3),_0x55087f(0xfa)));let _0x259b32=0x0;return _0x324042[_0x55087f(0xe1)](_0x40b4a4=>{const _0x32aa22=_0x55087f;_0x259b32+=_0x75bc0[_0x32aa22(0xf8)](_0x40b4a4);}),_0x259b32;}[_0x2bf9dd(0xf2)](_0x342a4d,_0x4aad69){const _0x592b7b=_0x2bf9dd,_0x543377=this[_0x592b7b(0xfd)][_0x592b7b(0x104)][_0x592b7b(0xc9)](_0x592b7b(0xfc)),_0x4cb198=_0x543377[_0x592b7b(0xf1)](_0x342a4d),_0x804fcc=_0x543377[_0x592b7b(0xf6)](_0x342a4d),_0x4467f9=_0x4cb198[_0x592b7b(0x12e)]+0x1,_0x4b9698=_0x804fcc[_0x592b7b(0x12a)],_0x5561e3=_0x342a4d[0x0][_0x592b7b(0xd3)](_0x592b7b(0xfa));for(let _0x416f4a=0x0;_0x416f4a<_0x4aad69;_0x416f4a++)_0x543377[_0x592b7b(0xea)](_0x5561e3,{'at':_0x4467f9});return _0x5561e3[_0x592b7b(0xc5)](_0x4467f9)[_0x592b7b(0xc5)](_0x4b9698);}[_0x2bf9dd(0xe3)](_0x250470,_0x2e241a){const _0x1ed50d=_0x2bf9dd,{plugins:_0xd8cb7d}=this[_0x1ed50d(0xfd)],{model:_0x459df2}=_0x250470;if(!_0xd8cb7d[_0x1ed50d(0xec)](_0x1ed50d(0xfc)))return;_0xd8cb7d[_0x1ed50d(0xc9)](_0x1ed50d(0xfc))[_0x1ed50d(0x129)](_0x2e241a)[_0x1ed50d(0x10c)]&&_0x459df2[_0x1ed50d(0x10a)](_0x2e241a);}}
|
|
23
|
+
const _0x4ab341=_0x40cf;(function(_0x3525f4,_0x3ddab9){const _0x458195=_0x40cf,_0x46218f=_0x3525f4();while(!![]){try{const _0x17c1ed=parseInt(_0x458195(0x137))/0x1+-parseInt(_0x458195(0x117))/0x2+-parseInt(_0x458195(0x118))/0x3*(-parseInt(_0x458195(0x102))/0x4)+parseInt(_0x458195(0x143))/0x5+-parseInt(_0x458195(0x14a))/0x6*(parseInt(_0x458195(0x156))/0x7)+-parseInt(_0x458195(0x123))/0x8+parseInt(_0x458195(0x114))/0x9;if(_0x17c1ed===_0x3ddab9)break;else _0x46218f['push'](_0x46218f['shift']());}catch(_0x156f1f){_0x46218f['push'](_0x46218f['shift']());}}}(_0x1620,0xb33fa));function _0x40cf(_0x3c3b1c,_0x44dba6){const _0x162071=_0x1620();return _0x40cf=function(_0x40cf00,_0x41cc8a){_0x40cf00=_0x40cf00-0xeb;let _0x59459f=_0x162071[_0x40cf00];return _0x59459f;},_0x40cf(_0x3c3b1c,_0x44dba6);}import{uid as _0x1e9e99}from'ckeditor5/src/utils.js';import{Plugin as _0x17e845}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0xd59a28}from'ckeditor5/src/clipboard.js';function _0x1620(){const _0x195cd3=['ck-fake-ai-selection','insertContentBelow','join','markerToHighlight','span','getRowIndexes','deleteContent','element','getChildren','has','afterInit','canEditAt','1464039kLxCsp','markerRange','pluginName','521274YvyMAH','18BapkbZ','ai.assistant.useTheme','forEach','createUIElement','isAtEnd','length','config','ai-ui','parse','isPremiumPlugin','for','6359680oINczo','init','ck-fake-ai-selection_collapsed','getMarkersGroup','showFakeVisualSelection','href','_createEmptyTableRows','getFirstRange','removeMarker','isCollapsed','from','ck-ai-assistant-ui_theme','createSelection','DataTransfer','conversion','push','once','editingDowncast','model','getRanges','1415155vDmArk','createPositionAt','getColumnIndexes','table','end','schema','AIAssistantEditing','addMarker','getChild','_getAISelection','_getTableRowCountFromContent','getSelectedBlocks','153015NGSLwK','markerToElement','resultRange','document','text/html','change','addClass','3972GWEsJP','createRange','TableUtils','isContent','lowest','start','get','off','insertRows','last','map','getLastPosition','8057WvmHZY','setSelection','first','_getDefaultInsertBelowPosition','setData','paste','editor','_resetContentOfSelectedTableCells','fire','pop','fromCharCode','getRange','createPositionAfter','_prepareTableInsertBelowPosition','_pasteHTMLUsingClipboard','hideFakeVisualSelection','contentInsertion','getRows','updateMarker','insertContent','data','filter','getLastMatchingPosition','markers','editing','628888kmdHrT','findAncestor','selection','isOfficialPlugin','plugins','getSelectedTableCells'];_0x1620=function(){return _0x195cd3;};return _0x1620();}import{ViewDocumentDomEventData as _0x3318bc,ViewDataTransfer as _0x5b2768}from'ckeditor5/src/engine.js';const st=globalThis[_0x4ab341(0x130)],ct=_0x4ab341(0x11f);export class AIAssistantEditing extends _0x17e845{static get[_0x4ab341(0x116)](){const _0x46cc0b=_0x4ab341;return _0x46cc0b(0x13d);}static get[_0x4ab341(0x105)](){return!0x0;}static get[_0x4ab341(0x121)](){return!0x0;}[_0x4ab341(0x124)](){const _0x3022b6=_0x4ab341,{editor:_0x4f7124}=this,_0x20f661=[_0x3022b6(0x108)];_0x4f7124[_0x3022b6(0x11e)][_0x3022b6(0x150)](_0x3022b6(0x119))&&_0x20f661[_0x3022b6(0x132)](_0x3022b6(0x12e)),_0x4f7124[_0x3022b6(0x131)][_0x3022b6(0x122)](_0x3022b6(0x134))[_0x3022b6(0x10b)]({'model':ct,'view':{'classes':_0x20f661,'priority':0xc}}),_0x4f7124[_0x3022b6(0x131)][_0x3022b6(0x122)](_0x3022b6(0x134))[_0x3022b6(0x144)]({'model':ct,'view':(_0x130676,{writer:_0x3b0db7})=>{const _0x4fa2f8=_0x3022b6;if(!_0x130676[_0x4fa2f8(0x115)][_0x4fa2f8(0x12c)])return null;const _0x1789f4=_0x3b0db7[_0x4fa2f8(0x11b)](_0x4fa2f8(0x10c));return _0x3b0db7[_0x4fa2f8(0x149)]([_0x4fa2f8(0x108),_0x4fa2f8(0x125)],_0x1789f4),_0x1789f4;}});}[_0x4ab341(0x112)](){!async function(_0x45df89){const _0xa73264=_0x356713([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]),_0x2d1925=0x3dffc4e1,_0xac2b2e=0x3df84249^_0x2d1925,_0x761e60=window[_0x356713([0x44,0x61,0x74,0x65])][_0x356713([0x6e,0x6f,0x77])](),_0x52491=_0x45df89[_0x356713([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1f3524=new window[(_0x356713([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x111d43=>{_0x52491[_0x356713([0x6f,0x6e,0x63,0x65])](_0x356713([0x72,0x65,0x61,0x64,0x79]),_0x111d43);}),_0x178a8a={[_0x356713([0x6b,0x74,0x79])]:_0x356713([0x45,0x43]),[_0x356713([0x75,0x73,0x65])]:_0x356713([0x73,0x69,0x67]),[_0x356713([0x63,0x72,0x76])]:_0x356713([0x50,0x2d,0x32,0x35,0x36]),[_0x356713([0x78])]:_0x356713([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]),[_0x356713([0x79])]:_0x356713([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]),[_0x356713([0x61,0x6c,0x67])]:_0x356713([0x45,0x53,0x32,0x35,0x36])},_0x29bbfe=_0x52491[_0x356713([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x356713([0x67,0x65,0x74])](_0x356713([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x126f0c(){let _0x4c15ab,_0x758f0=null,_0x35d585=null;try{if(_0x29bbfe==_0x356713([0x47,0x50,0x4c]))return _0x356713([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4c15ab=_0x9931bf(),!_0x4c15ab)return _0x356713([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4c15ab[_0x356713([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x35d585=_0x249681(_0x4c15ab[_0x356713([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4c15ab[_0x356713([0x6a,0x74,0x69])])),await _0x45aa37()?_0x3bbb7d()?_0x3d8245()?_0x356713([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2f6ff7()?(_0x4c15ab[_0x356713([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x356713([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x758f0=_0x1fb328(_0x356713([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x399343()):_0x356713([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x356713([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x356713([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x356713([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3d8245(){const _0x360fa6=[_0x356713([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x356713([0x74,0x72,0x69,0x61,0x6c])][_0x356713([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4c15ab[_0x356713([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x761e60/0x3e8:0xe10*_0xac2b2e;return _0x4c15ab[_0x356713([0x65,0x78,0x70])]<_0x360fa6;}function _0x3bbb7d(){const _0x2c1f81=_0x4c15ab[_0x356713([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2c1f81&&(!!_0x2c1f81[_0x356713([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x356713([0x2a]))||!!_0x2c1f81[_0x356713([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x356713([0x41,0x49])));}function _0x2f6ff7(){const _0x382941=_0x40cf,_0x410978=_0x4c15ab[_0x356713([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x410978||0x0==_0x410978[_0x356713([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1ce1e7}=new URL(window[_0x356713([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x382941(0x128)]);if(_0x410978[_0x356713([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1ce1e7))return!0x0;const _0x38607b=_0x1ce1e7[_0x356713([0x73,0x70,0x6c,0x69,0x74])](_0x356713([0x2e]));return _0x410978[_0x356713([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x117916=>_0x117916[_0x356713([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x356713([0x2a])))[_0x356713([0x6d,0x61,0x70])](_0x20cea4=>_0x20cea4[_0x356713([0x73,0x70,0x6c,0x69,0x74])](_0x356713([0x2e])))[_0x356713([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4c57d5=>_0x4c57d5[_0x356713([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x38607b[_0x356713([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x356713([0x6d,0x61,0x70])](_0x146ee0=>Array(_0x38607b[_0x356713([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x146ee0[_0x356713([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x356713([0x66,0x69,0x6c,0x6c])](_0x146ee0[0x0]===_0x356713([0x2a])?_0x356713([0x2a]):'')[_0x356713([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x146ee0))[_0x356713([0x73,0x6f,0x6d,0x65])](_0x1caea6=>_0x38607b[_0x356713([0x65,0x76,0x65,0x72,0x79])]((_0x163891,_0x171c3a)=>_0x1caea6[_0x171c3a]===_0x163891||_0x1caea6[_0x171c3a]===_0x356713([0x2a])));}function _0x399343(){return _0x758f0&&_0x35d585?new window[(_0x356713([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x403da9,_0x38df44)=>{_0x758f0[_0x356713([0x74,0x68,0x65,0x6e])](_0x403da9,_0x38df44),_0x35d585[_0x356713([0x74,0x68,0x65,0x6e])](_0x41a212=>{_0x41a212!=_0x356713([0x56,0x61,0x6c,0x69,0x64])&&_0x403da9(_0x41a212);},_0x38df44);}):_0x758f0||_0x35d585||_0x356713([0x56,0x61,0x6c,0x69,0x64]);}}function _0x249681(_0x5b7e10,_0x31caa0){return new window[(_0x356713([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x12ea87=>{if(_0x3c96b7())return _0x12ea87(_0x356713([0x56,0x61,0x6c,0x69,0x64]));_0x45b25d(),_0x52491[_0x356713([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x356713([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xbc6512=!0x1;const _0x2b55e5=_0x1e9e99();function _0x30a887(_0x5b6056){return!!_0x5b6056&&(typeof _0x5b6056===_0x356713([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5b6056===_0x356713([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5b6056[_0x356713([0x74,0x68,0x65,0x6e])]===_0x356713([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5b6056[_0x356713([0x63,0x61,0x74,0x63,0x68])]===_0x356713([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3c984f(_0x5a348e){_0x203184(_0x5a348e)[_0x356713([0x74,0x68,0x65,0x6e])](_0x3caaaa=>{if(!_0x3caaaa||_0x3caaaa[_0x356713([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x356713([0x6f,0x6b]))return _0x356713([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5d39cd(_0x16a9d4(_0x2b55e5+_0x31caa0))!=_0x3caaaa[_0x356713([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x356713([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x356713([0x56,0x61,0x6c,0x69,0x64]);})[_0x356713([0x74,0x68,0x65,0x6e])](_0xac1c15=>(_0xa59424(),_0xac1c15),()=>{const _0x472203=_0x5d9bf0();return null==_0x472203?(_0xa59424(),_0x356713([0x56,0x61,0x6c,0x69,0x64])):_0x356713(_0x761e60-_0x472203>(0x19f340e1^_0x2d1925)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x356713([0x74,0x68,0x65,0x6e])](_0x12ea87)[_0x356713([0x63,0x61,0x74,0x63,0x68])](()=>{_0x12ea87(_0x356713([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x276de5=0x3dc92a61^_0x2d1925;function _0xa59424(){const _0x42c705=_0x356713([0x6c,0x6c,0x63,0x74,0x2d])+_0x5d39cd(_0x16a9d4(_0x5b7e10)),_0x53a492=_0xf48cee(_0x5d39cd(window[_0x356713([0x4d,0x61,0x74,0x68])][_0x356713([0x63,0x65,0x69,0x6c])](_0x761e60/_0x276de5)));window[_0x356713([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x356713([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x42c705,_0x53a492);}function _0x5d9bf0(){const _0x1ce6e9=_0x356713([0x6c,0x6c,0x63,0x74,0x2d])+_0x5d39cd(_0x16a9d4(_0x5b7e10)),_0xeaaddc=window[_0x356713([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x356713([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1ce6e9);return _0xeaaddc?window[_0x356713([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xf48cee(_0xeaaddc),0x10)*_0x276de5:null;}function _0x203184(_0x48a1e9){return new window[(_0x356713([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x49b757,_0xadb928)=>{_0x48a1e9[_0x356713([0x74,0x68,0x65,0x6e])](_0x49b757,_0xadb928),window[_0x356713([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xadb928,0x3dfe1021^_0x2d1925);});}}_0x52491[_0x356713([0x6f,0x6e])](_0x356713([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x58310d,_0x3d662e)=>{if(_0x3d662e[0x0]!=_0x5b7e10)return _0x12ea87(_0x356713([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3d662e[0x1]={..._0x3d662e[0x1],[_0x356713([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2b55e5};},{[_0x356713([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x356713([0x68,0x69,0x67,0x68])}),_0x52491[_0x356713([0x6f,0x6e])](_0x356713([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x9aac70=>{_0x30a887(_0x9aac70[_0x356713([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xbc6512=!0x0,_0x3c984f(_0x9aac70[_0x356713([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x356713([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x356713([0x6c,0x6f,0x77])}),_0x1f3524[_0x356713([0x74,0x68,0x65,0x6e])](()=>{_0xbc6512||_0x12ea87(_0x356713([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3c96b7(){return _0x52491[_0x356713([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x356713([0x76,0x69,0x65,0x77])][_0x356713([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x356713([0x61,0x75,0x74,0x6f]);}function _0x45b25d(){_0x52491[_0x356713([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x356713([0x76,0x69,0x65,0x77])][_0x356713([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x356713([0x61,0x75,0x74,0x6f]);}}function _0x1fb328(_0x47867f){const _0x4476c1=[new window[(_0x356713([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3008cd=>setTimeout(_0x3008cd,0x3df6fa2d^_0x2d1925)),_0x1f3524[_0x356713([0x74,0x68,0x65,0x6e])](()=>new window[(_0x356713([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x139efa=>{let _0x5cd390=0x0;_0x52491[_0x356713([0x6d,0x6f,0x64,0x65,0x6c])][_0x356713([0x6f,0x6e])](_0x356713([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4e0223,_0x1fdfcd)=>{_0x1fdfcd[0x0][_0x356713([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5cd390++,_0x5cd390==(0x3dffc109^_0x2d1925)&&(_0x139efa(),_0x4e0223[_0x356713([0x6f,0x66,0x66])]());});}))];return window[_0x356713([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x356713([0x72,0x61,0x63,0x65])](_0x4476c1)[_0x356713([0x74,0x68,0x65,0x6e])](()=>_0x47867f);}async function _0x4a479e(){await _0x1f3524,_0x52491[_0x356713([0x6d,0x6f,0x64,0x65,0x6c])][_0x356713([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x38a702,_0x52491[_0x356713([0x6d,0x6f,0x64,0x65,0x6c])][_0x356713([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x38a702,_0x52491[_0x356713([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x356713([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x56aaae(_0x223b66){const _0x2b8b0a=_0x3e7fe7();_0x52491[_0x2b8b0a]=_0x356713([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x223b66,_0x223b66!=_0x356713([0x56,0x61,0x6c,0x69,0x64])&&_0x4a479e();}function _0x3e7fe7(){const _0x1708b9=window[_0x356713([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x356713([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x356713([0x6e,0x6f,0x77])]())[_0x356713([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x356713([0x2e]),'');let _0xf1193a=_0x356713([0x6e]);for(let _0x327f40=0x0;_0x327f40<_0x1708b9[_0x356713([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x327f40+=0x2){let _0x59512e=window[_0x356713([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1708b9[_0x356713([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x327f40,_0x327f40+0x2));_0x59512e>=_0xa73264[_0x356713([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x59512e-=_0xa73264[_0x356713([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xf1193a+=_0xa73264[_0x59512e];}return _0xf1193a;}function _0x9931bf(){const _0x2b4428=_0x29bbfe[_0x356713([0x73,0x70,0x6c,0x69,0x74])](_0x356713([0x2e]));if(0x3!=_0x2b4428[_0x356713([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x8355bf(_0x2b4428[0x1]);function _0x8355bf(_0x367851){const _0x3cc0b3=_0x1f0a87(_0x367851);return _0x3cc0b3&&_0x461cca()?_0x3cc0b3:null;function _0x461cca(){const _0x1d4225=_0x3cc0b3[_0x356713([0x6a,0x74,0x69])],_0x2f8df5=window[_0x356713([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1d4225[_0x356713([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1d4225[_0x356713([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x13b33f={..._0x3cc0b3,[_0x356713([0x6a,0x74,0x69])]:_0x1d4225[_0x356713([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1d4225[_0x356713([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x13b33f[_0x356713([0x76,0x63])],_0x16a9d4(_0x13b33f)==_0x2f8df5;}}}async function _0x45aa37(){let _0x598997=!0x0;try{const _0x2032bd=_0x29bbfe[_0x356713([0x73,0x70,0x6c,0x69,0x74])](_0x356713([0x2e])),[_0x183239,_0x245d7c,_0x13f06c]=_0x2032bd;return _0x18a329(_0x183239),await _0x51c26d(_0x183239,_0x245d7c,_0x13f06c),_0x598997;}catch{return!0x1;}function _0x18a329(_0x5921ab){const _0x5fdfeb=_0x1f0a87(_0x5921ab);_0x5fdfeb&&_0x5fdfeb[_0x356713([0x61,0x6c,0x67])]==_0x356713([0x45,0x53,0x32,0x35,0x36])||(_0x598997=!0x1);}async function _0x51c26d(_0x28cf2d,_0x5cd851,_0xc41de5){const _0xad0a66=window[_0x356713([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x356713([0x66,0x72,0x6f,0x6d])](_0x2287a8(_0xc41de5),_0xe06618=>_0xe06618[_0x356713([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x54f55b=new window[(_0x356713([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x356713([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x28cf2d+_0x356713([0x2e])+_0x5cd851),_0x56cedc=window[_0x356713([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x356713([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x56cedc)return;const _0x14de2e=await _0x56cedc[_0x356713([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x356713([0x6a,0x77,0x6b]),_0x178a8a,{[_0x356713([0x6e,0x61,0x6d,0x65])]:_0x356713([0x45,0x43,0x44,0x53,0x41]),[_0x356713([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x356713([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x356713([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x56cedc[_0x356713([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x356713([0x6e,0x61,0x6d,0x65])]:_0x356713([0x45,0x43,0x44,0x53,0x41]),[_0x356713([0x68,0x61,0x73,0x68])]:{[_0x356713([0x6e,0x61,0x6d,0x65])]:_0x356713([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x14de2e,_0xad0a66,_0x54f55b)||(_0x598997=!0x1);}}function _0x1f0a87(_0x3e20c3){return _0x3e20c3[_0x356713([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x356713([0x65,0x79]))?JSON[_0x356713([0x70,0x61,0x72,0x73,0x65])](_0x2287a8(_0x3e20c3)):null;}function _0x2287a8(_0x562030){return window[_0x356713([0x61,0x74,0x6f,0x62])](_0x562030[_0x356713([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x356713([0x2b]))[_0x356713([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x356713([0x2f])));}function _0x16a9d4(_0x3bfd17){let _0x103294=0x1505;function _0x4072a9(_0x31b41a){for(let _0xcdcebb=0x0;_0xcdcebb<_0x31b41a[_0x356713([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xcdcebb++){const _0x3d3e45=_0x31b41a[_0x356713([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xcdcebb);_0x103294=(_0x103294<<0x5)+_0x103294+_0x3d3e45,_0x103294&=_0x103294;}}function _0x544719(_0x4c2b1c){Array[_0x356713([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4c2b1c)?_0x4c2b1c[_0x356713([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x544719):_0x4c2b1c&&typeof _0x4c2b1c==_0x356713([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x356713([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4c2b1c)[_0x356713([0x73,0x6f,0x72,0x74])]()[_0x356713([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2c347d,_0x4de94e])=>{_0x4072a9(_0x2c347d),_0x544719(_0x4de94e);}):_0x4072a9(window[_0x356713([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4c2b1c));}return _0x544719(_0x3bfd17),_0x103294>>>0x0;}function _0x5d39cd(_0x3092df){return _0x3092df[_0x356713([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x356713([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x356713([0x30]));}function _0xf48cee(_0x5a5410){return _0x5a5410[_0x356713([0x73,0x70,0x6c,0x69,0x74])]('')[_0x356713([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x356713([0x6a,0x6f,0x69,0x6e])]('');}function _0x38a702(){}function _0x356713(_0xab7b7d){const _0x1d45bc=_0x40cf;return _0xab7b7d[_0x1d45bc(0x154)](_0x29c3b0=>String[_0x1d45bc(0xf3)](_0x29c3b0))[_0x1d45bc(0x10a)]('');}_0x56aaae(await _0x126f0c());}(this);}[_0x4ab341(0x127)](){const _0x5bfb14=_0x4ab341,_0x163329=this[_0x5bfb14(0xef)][_0x5bfb14(0x135)];_0x163329[_0x5bfb14(0x148)](_0x56ee18=>{const _0x352cbd=_0x5bfb14,_0x3153fb=_0x163329[_0x352cbd(0x146)][_0x352cbd(0x104)][_0x352cbd(0x136)]();let _0x38ff87=0x0;for(const _0x172df6 of _0x3153fb){const _0x52a69a=ct+':'+_0x38ff87;if(_0x163329[_0x352cbd(0x100)][_0x352cbd(0x111)](_0x52a69a))_0x56ee18[_0x352cbd(0xfb)](_0x52a69a,{'range':_0x172df6});else{if(_0x172df6[_0x352cbd(0x14f)][_0x352cbd(0x11c)]){const _0x14a782=_0x172df6[_0x352cbd(0x14f)][_0x352cbd(0xff)](({item:_0x454f41})=>!_0x163329[_0x352cbd(0x13c)][_0x352cbd(0x14d)](_0x454f41),{'boundaries':_0x172df6});_0x56ee18[_0x352cbd(0x13e)](_0x52a69a,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x56ee18[_0x352cbd(0x14b)](_0x14a782,_0x172df6[_0x352cbd(0x13b)])});}else _0x56ee18[_0x352cbd(0x13e)](_0x52a69a,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x172df6});}_0x38ff87++;}});}[_0x4ab341(0xf8)](){const _0x5fecf5=_0x4ab341,_0x4c05b2=this[_0x5fecf5(0xef)][_0x5fecf5(0x135)],_0x1888ae=Array[_0x5fecf5(0x12d)](this[_0x5fecf5(0xef)][_0x5fecf5(0x135)][_0x5fecf5(0x100)][_0x5fecf5(0x126)](ct));_0x1888ae[_0x5fecf5(0x11d)]&&_0x4c05b2[_0x5fecf5(0x148)](_0x2d74f7=>{const _0x38ae85=_0x5fecf5;_0x1888ae[_0x38ae85(0x11a)](_0x885c1e=>{const _0x1c91ae=_0x38ae85;_0x2d74f7[_0x1c91ae(0x12b)](_0x885c1e);});});}[_0x4ab341(0xfc)](_0x53efc6,_0x2344bb){const _0x28f529=_0x4ab341,_0x52cebc=this[_0x28f529(0x140)](),_0x5efb8d=_0x2344bb||_0x52cebc[_0x28f529(0x12a)]();this[_0x28f529(0xef)][_0x28f529(0x135)][_0x28f529(0x113)](_0x5efb8d)&&this[_0x28f529(0xef)][_0x28f529(0x135)][_0x28f529(0x148)](_0x4fd37d=>{const _0x4fe9a5=_0x28f529;this[_0x4fe9a5(0xf8)](),_0x2344bb||this[_0x4fe9a5(0xf0)](_0x4fd37d,_0x52cebc),this[_0x4fe9a5(0xf7)]({'insertAt':_0x5efb8d,'writer':_0x4fd37d,'html':_0x53efc6});});}[_0x4ab341(0x109)](_0x29df9f){const _0x136f0a=_0x4ab341,{model:_0x1a0c1e}=this[_0x136f0a(0xef)],_0x3f0cdd=this[_0x136f0a(0x140)]();_0x1a0c1e[_0x136f0a(0x148)](()=>{const _0x471d95=_0x136f0a,_0x59ea6d=this[_0x471d95(0xf6)](_0x29df9f,_0x3f0cdd)||this[_0x471d95(0xec)](_0x3f0cdd);this[_0x471d95(0xfc)](_0x29df9f,_0x59ea6d);});}[_0x4ab341(0x140)](){const _0x188e56=_0x4ab341,_0x3fa982=this[_0x188e56(0xef)][_0x188e56(0x135)],_0x4128c9=Array[_0x188e56(0x12d)](_0x3fa982[_0x188e56(0x100)][_0x188e56(0x126)](ct))[_0x188e56(0x154)](_0x4e8317=>_0x4e8317[_0x188e56(0xf4)]());return _0x3fa982[_0x188e56(0x12f)](_0x4128c9);}[_0x4ab341(0xf7)]({writer:_0x1ccdf8,html:_0x12353b,insertAt:_0x2eb488}){const _0x6e80b6=_0x4ab341,{view:_0x5da483}=this[_0x6e80b6(0xef)][_0x6e80b6(0x101)],_0x45a24c=this[_0x6e80b6(0xef)][_0x6e80b6(0x106)][_0x6e80b6(0x150)](_0xd59a28),_0x45e972=new st();_0x45e972[_0x6e80b6(0xed)](_0x6e80b6(0x147),_0x12353b);const _0x43f5e4=new ClipboardEvent(_0x6e80b6(0xee),{'clipboardData':_0x45e972}),_0xe31bdf=new _0x3318bc(_0x5da483,_0x43f5e4,{'dataTransfer':new _0x5b2768(_0x45e972)});_0x1ccdf8[_0x6e80b6(0x157)](_0x2eb488);const _0x41bd5e=(_0x16d70a,_0x3b5436)=>{const _0x39b02b=_0x6e80b6;_0x3b5436[_0x39b02b(0x145)]&&_0x1ccdf8[_0x39b02b(0x157)](_0x3b5436[_0x39b02b(0x145)]);};_0x45a24c[_0x6e80b6(0x133)](_0x6e80b6(0xf9),_0x41bd5e,{'priority':_0x6e80b6(0x14e)}),_0x5da483[_0x6e80b6(0x146)][_0x6e80b6(0xf1)](_0x6e80b6(0xee),_0xe31bdf),_0x45a24c[_0x6e80b6(0x151)](_0x6e80b6(0xf9),_0x41bd5e);}[_0x4ab341(0xec)](_0x5a9340){const _0x104c22=_0x4ab341,{model:_0x275864}=this[_0x104c22(0xef)],_0xb514d9=Array[_0x104c22(0x12d)](_0x5a9340[_0x104c22(0x142)]());return _0xb514d9[_0x104c22(0x11d)]?_0x275864[_0x104c22(0xf5)](_0xb514d9[_0x104c22(0xf2)]()):_0x5a9340[_0x104c22(0x155)]();}[_0x4ab341(0xf6)](_0x3fab8c,_0xc19b95){const _0x3057c7=_0x4ab341,{model:_0x377fdf,plugins:_0x3c882a}=this[_0x3057c7(0xef)];if(_0x3c882a[_0x3057c7(0x111)](_0x3057c7(0x14c))){const _0xeb3f11=_0x3c882a[_0x3057c7(0x150)](_0x3057c7(0x14c))[_0x3057c7(0x107)](_0xc19b95);if(_0xeb3f11[_0x3057c7(0x11d)]){const _0xdd82a8=this[_0x3057c7(0x141)](_0x3fab8c),_0x3ece09=this[_0x3057c7(0x129)](_0xeb3f11,_0xdd82a8);return _0x377fdf[_0x3057c7(0x138)](_0x3ece09,0x0);}}return null;}[_0x4ab341(0x141)](_0x3ba16c){const _0xcd2fe3=_0x4ab341,_0x1c7423=this[_0xcd2fe3(0xef)][_0xcd2fe3(0x106)][_0xcd2fe3(0x150)](_0xcd2fe3(0x14c)),_0xcd09d8=this[_0xcd2fe3(0xef)][_0xcd2fe3(0xfd)][_0xcd2fe3(0x120)](_0x3ba16c),_0x482a8c=Array[_0xcd2fe3(0x12d)](_0xcd09d8[_0xcd2fe3(0x110)]())[_0xcd2fe3(0xfe)](_0x31b7fd=>_0x31b7fd['is'](_0xcd2fe3(0x10f),_0xcd2fe3(0x13a)));let _0x160a00=0x0;return _0x482a8c[_0xcd2fe3(0x11a)](_0x588fdd=>{const _0x575fab=_0xcd2fe3;_0x160a00+=_0x1c7423[_0x575fab(0xfa)](_0x588fdd);}),_0x160a00;}[_0x4ab341(0x129)](_0xbd9bc7,_0x349c70){const _0x13b8b8=_0x4ab341,_0x43a2d7=this[_0x13b8b8(0xef)][_0x13b8b8(0x106)][_0x13b8b8(0x150)](_0x13b8b8(0x14c)),_0x2ee17c=_0x43a2d7[_0x13b8b8(0x10d)](_0xbd9bc7),_0x1ec22b=_0x43a2d7[_0x13b8b8(0x139)](_0xbd9bc7),_0x530eaf=_0x2ee17c[_0x13b8b8(0x153)]+0x1,_0xe14693=_0x1ec22b[_0x13b8b8(0xeb)],_0xff836e=_0xbd9bc7[0x0][_0x13b8b8(0x103)](_0x13b8b8(0x13a));for(let _0x3779e9=0x0;_0x3779e9<_0x349c70;_0x3779e9++)_0x43a2d7[_0x13b8b8(0x152)](_0xff836e,{'at':_0x530eaf});return _0xff836e[_0x13b8b8(0x13f)](_0x530eaf)[_0x13b8b8(0x13f)](_0xe14693);}[_0x4ab341(0xf0)](_0x408b17,_0x4009f1){const _0x23c40e=_0x4ab341,{plugins:_0x575dab}=this[_0x23c40e(0xef)],{model:_0x3877b7}=_0x408b17;if(!_0x575dab[_0x23c40e(0x111)](_0x23c40e(0x14c)))return;_0x575dab[_0x23c40e(0x150)](_0x23c40e(0x14c))[_0x23c40e(0x107)](_0x4009f1)[_0x23c40e(0x11d)]&&_0x3877b7[_0x23c40e(0x10e)](_0x4009f1);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x2f5b43=_0x5036;(function(_0x55fcbd,_0x308716){const _0x2d25cd=_0x5036,_0x504187=_0x55fcbd();while(!![]){try{const _0x4e0329=parseInt(_0x2d25cd(0x256))/0x1+-parseInt(_0x2d25cd(0x26e))/0x2*(-parseInt(_0x2d25cd(0x258))/0x3)+parseInt(_0x2d25cd(0x1df))/0x4+parseInt(_0x2d25cd(0x27b))/0x5*(parseInt(_0x2d25cd(0x240))/0x6)+-parseInt(_0x2d25cd(0x1d9))/0x7+parseInt(_0x2d25cd(0x276))/0x8+-parseInt(_0x2d25cd(0x259))/0x9*(parseInt(_0x2d25cd(0x204))/0xa);if(_0x4e0329===_0x308716)break;else _0x504187['push'](_0x504187['shift']());}catch(_0x340a54){_0x504187['push'](_0x504187['shift']());}}}(_0x1bda,0x1cd8e));import{Plugin as _0x5ee94b}from'ckeditor5/src/core.js';import{IconMagicWand as _0x5301bd,IconRobotPencil as _0x484b00}from'ckeditor5/src/icons.js';import{first as _0x582261,CKEditorError as _0x3ded36}from'ckeditor5/src/utils.js';import{createDropdown as _0x51ee8a,addMenuToDropdown as _0x39fa98,ButtonView as _0x3ec65f,MenuBarMenuListItemButtonView as _0x5f3c1c,Dialog as _0x756f17,DialogViewPosition as _0x447ddb,MenuBarMenuView as _0x18f88e,MenuBarMenuListView as _0xc5f4c0,MenuBarMenuListItemView as _0x50b4a3}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x42f45a,UNGROUPED_COMMANDS_GROUP_ID as _0xf0ba0b}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x2771a4}from'./aiassistantediting.js';import{AIAdapter as _0xfdd976}from'./adapters/aiadapter.js';import{getTranslation as _0x25cb91}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0x5d6c55}from'./ui/showaiassistantcommand.js';function _0x5036(_0x34aaa3,_0x58c929){const _0x1bda65=_0x1bda();return _0x5036=function(_0x503677,_0x65f490){_0x503677=_0x503677-0x1cf;let _0x2fd896=_0x1bda65[_0x503677];return _0x2fd896;},_0x5036(_0x34aaa3,_0x58c929);}import{AIAssistantController as _0x3bc993}from'./ui/aiassistantcontroller.js';function _0x1bda(){const _0x3ec08b=['_getResolvedCommandsDefinitions','menuitemcheckbox','change:enabledCommandsIds','1058690dEYPho','body','getRanges','addMany','custom','getSelectedBlocks','isEnabled','define','_populateMenuBarMenu','insertContent','sort','change','trim','buttonView','map','fire','showAIAssistant','update','updatePosition','enabledCommandsIds','_licenseKeyCheckInterval','ck-ai-commands-dropdown\x20','currentContext','</p>','focus','Generated\x20content:\x20%0','Error\x20during\x20AI\x20content\x20generation:\x20%0','promptView','insertContentBelow','ai.assistant.useTheme','updateView','includes','componentFactory','from','_dialog','change:value','length','textAdapter','model','config','ai.assistant.commands','_aiAssistantController','pluginName','featureNotAllowed','licenseKey','\x20ck-ai-assistant-ui_theme','aiAssistant','requires','hideFakeVisualSelection','ai.assistant.disabledElements','aiLicenseKeyUsageLimit','view','once','children','contentArea','add','change:isError','splice','usageLimit','delegate','18660MMmgzx','setSelection','_onExecute','AI\x20is\x20writing','menuBar:aiCommands','locale','REPLACE','_forceMarkersCopy','aiLicenseKeyEvaluationLimit','label','init','DataTransfer','push','aiLicenseKeyValid','panelView','menuView','isOn','hide','_getMenuBarGroupButtons','polite','prompt','ck-ai-assistant-button\x20','114195qvSSPG','change:isProcessing','15bLoBoL','45GQsABo','isPremiumPlugin','menuBar:aiAssistant','aiLicenseKeyExpired','INSERT','ck-ai-assistant-ui','editing','_initView','announce','getLimitElement','groupLabel','showFakeVisualSelection','selection','replace','editor','text','AIAssistantUI','<p>','comment','show','bind','27686wUQqVG','_commandDefinitions','destroy','isFlat','menuPanelClass','AI\x20Assistant','wasMoved','command:','1114528ZJuxvp','getSelectedElement','media','commands','values','290eTdQwJ','queryView','_showLicenseError','text/html','errorView','buttons','aiCommands','document','isCollapsed','forEach','get','groupId','352996ESCQXl','source','showUI','copy','_uiCssClasses','_createAIAssistantUIButton','779300XUZBPP','plugins','rawHtml','reset','_aiAdapter','fieldView','filter','AIAssistant','domainLimit','replaceContent','aiLicenseKeyInvalid','order','listenTo','ai-commands-config-order-collision','invalid','isOfficialPlugin','expired','EDITOR_TOP_SIDE','AI\x20Commands','ai.assistant.contentAreaCssClass','aiLicenseKeyNotAllowed','tableOfContents','schema','set','_formView','hideUI','render','requiresContent','getData','execute','_initAriaAiStatusChangeAnnouncements','items','aiLicenseKeyDomainLimit','evaluationLimit'];_0x1bda=function(){return _0x3ec08b;};return _0x1bda();}import{AIFormView as _0x5f0ab6}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x41a66d}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[_0x2f5b43(0x24b)];import{ClipboardMarkersUtils as _0x5a7fbb}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0xdacb4c,ViewDataTransfer as _0x24b7ba}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0x5ee94b{[_0x2f5b43(0x230)];[_0x2f5b43(0x218)];[_0x2f5b43(0x226)];[_0x2f5b43(0x1f7)];[_0x2f5b43(0x1e3)];[_0x2f5b43(0x22d)];[_0x2f5b43(0x1dd)]='';static get[_0x2f5b43(0x22e)](){const _0x277f6b=_0x2f5b43;return _0x277f6b(0x269);}static get[_0x2f5b43(0x1ee)](){return!0x0;}static get[_0x2f5b43(0x25a)](){return!0x0;}static get[_0x2f5b43(0x233)](){return[_0x5a7fbb,_0x2771a4,_0xfdd976,_0x756f17];}constructor(_0x2857bc){const _0x31b69f=_0x2f5b43;super(_0x2857bc),_0x2857bc[_0x31b69f(0x22b)][_0x31b69f(0x20b)](_0x31b69f(0x235),[_0x31b69f(0x278),_0x31b69f(0x1e1),_0x31b69f(0x1f4)]),_0x2857bc[_0x31b69f(0x22b)][_0x31b69f(0x20b)](_0x31b69f(0x1f2),''),_0x2857bc[_0x31b69f(0x22b)][_0x31b69f(0x20b)](_0x31b69f(0x221),!0x0),this[_0x31b69f(0x1dd)]=_0x31b69f(0x25e)+(_0x2857bc[_0x31b69f(0x22b)][_0x31b69f(0x1d7)](_0x31b69f(0x221))?_0x31b69f(0x231):'');}[_0x2f5b43(0x24a)](){const _0x274786=_0x2f5b43,{editor:_0x5f0eaa}=this;this[_0x274786(0x1e3)]=_0x5f0eaa[_0x274786(0x1e0)][_0x274786(0x1d7)](_0xfdd976),this[_0x274786(0x226)]=_0x5f0eaa[_0x274786(0x1e0)][_0x274786(0x1d7)](_0x756f17),this[_0x274786(0x1f7)]=null,this[_0x274786(0x26f)]=this[_0x274786(0x201)]();const _0x43598d=new _0x5d6c55(_0x5f0eaa,Array[_0x274786(0x225)](this[_0x274786(0x26f)][_0x274786(0x27a)]()));_0x5f0eaa[_0x274786(0x279)][_0x274786(0x23b)](_0x274786(0x214),_0x43598d),_0x5f0eaa['ui'][_0x274786(0x224)][_0x274786(0x23b)](_0x274786(0x1d3),_0x5e2111=>{const _0x4cac9b=_0x274786,_0x48fcfc=_0x51ee8a(_0x5e2111);return _0x48fcfc[_0x4cac9b(0x1f6)]({'class':_0x4cac9b(0x219)+this[_0x4cac9b(0x1dd)]}),_0x48fcfc[_0x4cac9b(0x211)][_0x4cac9b(0x1f6)]({'label':_0x25cb91(_0x5e2111,_0x4cac9b(0x1f1)),'icon':_0x5301bd,'tooltip':!0x0}),_0x48fcfc['on'](_0x4cac9b(0x1fc),_0x5ce9b1=>this[_0x4cac9b(0x242)](_0x5ce9b1[_0x4cac9b(0x1da)]['id'])),_0x39fa98(_0x48fcfc,_0x5f0eaa['ui'][_0x4cac9b(0x237)][_0x4cac9b(0x205)],function(_0x3a56c6){const _0x22c120=_0x4cac9b,_0x44456d=_0x42f45a(_0x3a56c6[_0x22c120(0x22b)][_0x22c120(0x1d7)](_0x22c120(0x22c)),_0x3a56c6[_0x22c120(0x245)]),_0x199abe=B(_0x3a56c6,_0x44456d)[_0x22c120(0x1e5)](_0x2792a0=>_0x2792a0[_0x22c120(0x279)][_0x22c120(0x228)]);if(0x1===_0x199abe[_0x22c120(0x228)])return B(_0x3a56c6,_0x199abe[0x0][_0x22c120(0x279)])[_0x22c120(0x212)](_0xa9436b=>({'id':_0xa9436b['id'],'label':_0xa9436b[_0x22c120(0x249)]}));return _0x199abe[_0x22c120(0x212)](_0x1acf89=>{const _0x44a602=_0x22c120,{groupId:_0xd57fbb,groupLabel:_0x1bbe66,commands:_0x1e471d}=_0x1acf89,_0x11eb66=B(_0x3a56c6,_0x1e471d)[_0x44a602(0x212)](_0x3cb4e6=>({'id':_0x3cb4e6['id'],'label':_0x3cb4e6[_0x44a602(0x249)]}));return{'id':_0xd57fbb,'menu':_0x1bbe66||_0xd57fbb,'children':_0x11eb66};});}(_0x5f0eaa),{'ariaLabel':_0x25cb91(_0x5e2111,_0x4cac9b(0x1f1))}),_0x48fcfc[_0x4cac9b(0x24f)][_0x4cac9b(0x272)]=_0x4cac9b(0x219)+this[_0x4cac9b(0x1dd)],_0x43598d['on'](_0x4cac9b(0x203),_0x26b270),_0x48fcfc[_0x4cac9b(0x24f)][_0x4cac9b(0x238)](_0x4cac9b(0x1f9),_0x26b270),_0x48fcfc;function _0x26b270(){const _0x1fda50=_0x4cac9b;_0x48fcfc[_0x1fda50(0x20a)]=_0x43598d[_0x1fda50(0x217)][_0x1fda50(0x228)]>0x0;for(const _0x46a49e of _0x48fcfc[_0x1fda50(0x24f)][_0x1fda50(0x1d2)])_0x46a49e[_0x1fda50(0x20a)]=_0x43598d[_0x1fda50(0x217)][_0x1fda50(0x223)](_0x46a49e['id']);}}),_0x5f0eaa['ui'][_0x274786(0x224)][_0x274786(0x23b)](_0x274786(0x244),_0xc7f69f=>{const _0x1377ed=_0x274786,_0x2f8e13=new _0x18f88e(_0xc7f69f);_0x2f8e13[_0x1377ed(0x211)][_0x1377ed(0x1f6)]({'label':_0x25cb91(_0xc7f69f,_0x1377ed(0x1f1)),'icon':_0x5301bd}),_0x2f8e13[_0x1377ed(0x26d)](_0x1377ed(0x20a))['to'](_0x43598d,_0x1377ed(0x217),_0x2d551c=>_0x2d551c[_0x1377ed(0x228)]>0x0);const _0x5ed7f6=_0x42f45a(_0x5f0eaa[_0x1377ed(0x22b)][_0x1377ed(0x1d7)](_0x1377ed(0x22c)),_0xc7f69f);return this[_0x1377ed(0x20c)](_0x43598d,_0x2f8e13,_0x5ed7f6,_0x2bc6a3=>this[_0x1377ed(0x242)](_0x2bc6a3)),_0x2f8e13;}),_0x5f0eaa['ui'][_0x274786(0x224)][_0x274786(0x23b)](_0x274786(0x232),()=>{const _0x3bd864=_0x274786,_0x21a611=this[_0x3bd864(0x1de)](_0x3ec65f);return _0x21a611[_0x3bd864(0x1f6)]({'tooltip':!0x0,'class':_0x3bd864(0x255)+this[_0x3bd864(0x1dd)]}),_0x21a611;}),_0x5f0eaa['ui'][_0x274786(0x224)][_0x274786(0x23b)](_0x274786(0x25b),()=>{const _0xaf66cc=_0x274786,_0x277b00=this[_0xaf66cc(0x1de)](_0x5f3c1c);return _0x277b00[_0xaf66cc(0x1f6)]({'role':_0xaf66cc(0x202)}),_0x277b00;}),this[_0x274786(0x230)]=this[_0x274786(0x267)][_0x274786(0x22b)][_0x274786(0x1d7)](_0x274786(0x230));const _0x4b92d1=this[_0x274786(0x267)];this[_0x274786(0x218)]=setInterval(()=>{const _0x10dce6=_0x274786;let _0x80cf;for(const _0x4307e9 in _0x4b92d1){const _0x9b04f2=_0x4307e9,_0x2fbfd1=_0x4b92d1[_0x9b04f2];if(_0x10dce6(0x24d)==_0x2fbfd1||_0x10dce6(0x1e9)==_0x2fbfd1||_0x10dce6(0x25c)==_0x2fbfd1||_0x10dce6(0x1ff)==_0x2fbfd1||_0x10dce6(0x1f3)==_0x2fbfd1||_0x10dce6(0x248)==_0x2fbfd1||_0x10dce6(0x236)==_0x2fbfd1){delete _0x4b92d1[_0x9b04f2],_0x80cf=_0x2fbfd1,clearInterval(this[_0x10dce6(0x218)]),this[_0x10dce6(0x218)]=void 0x0;break;}}_0x10dce6(0x1e9)==_0x80cf&&_0x4b92d1[_0x10dce6(0x1cf)](_0x10dce6(0x1ed)),_0x10dce6(0x25c)==_0x80cf&&_0x4b92d1[_0x10dce6(0x1cf)](_0x10dce6(0x1ef)),_0x10dce6(0x1ff)==_0x80cf&&_0x4b92d1[_0x10dce6(0x1cf)](_0x10dce6(0x1e7)),_0x10dce6(0x1f3)==_0x80cf&&_0x4b92d1[_0x10dce6(0x1cf)](_0x10dce6(0x22f),_0x10dce6(0x1e6)),_0x10dce6(0x248)==_0x80cf&&_0x4b92d1[_0x10dce6(0x1cf)](_0x10dce6(0x200)),_0x10dce6(0x236)==_0x80cf&&_0x4b92d1[_0x10dce6(0x1cf)](_0x10dce6(0x23e));},0x3e8);}[_0x2f5b43(0x270)](){const _0x25be83=_0x2f5b43;super[_0x25be83(0x270)](),this[_0x25be83(0x218)]&&clearInterval(this[_0x25be83(0x218)]);}[_0x2f5b43(0x1db)](_0x445820='',_0x6b5d88='',_0xd8233a=_0x2f5b43(0x208)){const _0x3de8d9=_0x2f5b43,_0x35f561=this[_0x3de8d9(0x267)],_0x34afa1=_0x35f561[_0x3de8d9(0x25f)][_0x3de8d9(0x237)],_0x5955d0=_0x35f561[_0x3de8d9(0x1e0)][_0x3de8d9(0x1d7)](_0x2771a4),_0x498063=_0x35f561[_0x3de8d9(0x1e0)][_0x3de8d9(0x1d7)](_0x5a7fbb);_0x5955d0[_0x3de8d9(0x264)]();const _0x2ab741=new w(),_0x29184d=new ClipboardEvent(_0x3de8d9(0x1dc),{'clipboardData':_0x2ab741}),_0x1afa38=new _0x24b7ba(_0x2ab741),_0x34497f=new _0xdacb4c(_0x34afa1,_0x29184d,{'dataTransfer':_0x1afa38});_0x498063[_0x3de8d9(0x247)](_0x3de8d9(0x26b),()=>{const _0x4a2644=_0x3de8d9;_0x34afa1[_0x4a2644(0x1d4)][_0x4a2644(0x213)](_0x4a2644(0x1dc),_0x34497f);}),this[_0x3de8d9(0x1f7)]||(this[_0x3de8d9(0x260)](),this[_0x3de8d9(0x22d)]=new _0x3bc993(_0x35f561,this[_0x3de8d9(0x1e3)][_0x3de8d9(0x229)],this[_0x3de8d9(0x1f7)]));let _0x38c2a1=_0x1afa38[_0x3de8d9(0x1fb)](_0x3de8d9(0x1d0));const _0x43916f=_0x35f561[_0x3de8d9(0x22a)][_0x3de8d9(0x1d4)][_0x3de8d9(0x265)],_0x23d1dc=Array[_0x3de8d9(0x225)](_0x43916f[_0x3de8d9(0x206)]());0x1===_0x23d1dc[_0x3de8d9(0x228)]&&_0x23d1dc[0x0][_0x3de8d9(0x271)]&&!_0x43916f[_0x3de8d9(0x277)]()&&''!==_0x38c2a1[_0x3de8d9(0x266)](/ /g,'')[_0x3de8d9(0x210)]()&&(_0x38c2a1=_0x3de8d9(0x26a)+_0x38c2a1+_0x3de8d9(0x21b)),this[_0x3de8d9(0x22d)][_0x3de8d9(0x222)]({'actionId':_0xd8233a,'query':_0x445820,'htmlContent':_0x38c2a1,'label':_0x6b5d88,'mainActionLabel':_0x41a66d[_0x35f561[_0x3de8d9(0x22a)][_0x3de8d9(0x1d4)][_0x3de8d9(0x265)][_0x3de8d9(0x1d5)]?_0x3de8d9(0x25d):_0x3de8d9(0x246)]}),_0x3de8d9(0x232)!==this[_0x3de8d9(0x226)]['id']?this[_0x3de8d9(0x226)][_0x3de8d9(0x26c)]({'id':_0x3de8d9(0x232),'icon':_0x484b00,'title':_0x25cb91(this[_0x3de8d9(0x267)][_0x3de8d9(0x245)],_0x3de8d9(0x273)),'content':this[_0x3de8d9(0x1f7)],'position':_0x447ddb[_0x3de8d9(0x1f0)],'onShow':()=>{const _0x34754b=_0x3de8d9;this[_0x34754b(0x1f7)][_0x34754b(0x21c)]();},'onHide':()=>{const _0x2fe971=_0x3de8d9;this[_0x2fe971(0x22d)][_0x2fe971(0x1e2)](),_0x5955d0[_0x2fe971(0x234)]();}}):this[_0x3de8d9(0x226)][_0x3de8d9(0x237)][_0x3de8d9(0x274)]||this[_0x3de8d9(0x226)][_0x3de8d9(0x237)][_0x3de8d9(0x216)]();}[_0x2f5b43(0x1f8)](){const _0x50b1bb=_0x2f5b43;this[_0x50b1bb(0x226)][_0x50b1bb(0x251)]();}[_0x2f5b43(0x201)](){const _0x5010dd=_0x2f5b43,_0x27b595=new Map(),_0x4ffb24=_0x42f45a(this[_0x5010dd(0x267)][_0x5010dd(0x22b)][_0x5010dd(0x1d7)](_0x5010dd(0x22c)),this[_0x5010dd(0x267)][_0x5010dd(0x245)]);for(const _0x7c01a3 of _0x4ffb24)for(const _0x3bf749 of _0x7c01a3[_0x5010dd(0x279)])_0x27b595[_0x5010dd(0x1f6)](_0x3bf749['id'],{..._0x3bf749,'groupId':_0x7c01a3[_0x5010dd(0x1d8)],'groupLabel':_0x7c01a3[_0x5010dd(0x263)]||_0x7c01a3[_0x5010dd(0x1d8)]});return _0x27b595;}[_0x2f5b43(0x1de)](_0x1c930e){const _0x1d1b38=_0x2f5b43,_0x5dd085=this[_0x1d1b38(0x267)],_0x22cacb=_0x5dd085[_0x1d1b38(0x279)][_0x1d1b38(0x1d7)](_0x1d1b38(0x214)),_0x2830c3=new _0x1c930e(_0x5dd085[_0x1d1b38(0x245)]);return _0x2830c3[_0x1d1b38(0x1f6)]({'label':_0x25cb91(_0x5dd085[_0x1d1b38(0x245)],_0x1d1b38(0x273)),'icon':_0x484b00,'isToggleable':!0x0}),_0x2830c3[_0x1d1b38(0x26d)](_0x1d1b38(0x20a))['to'](_0x22cacb),_0x2830c3[_0x1d1b38(0x26d)](_0x1d1b38(0x250))['to'](this[_0x1d1b38(0x226)],'id',_0xe6c4f9=>_0x1d1b38(0x232)===_0xe6c4f9),this[_0x1d1b38(0x1eb)](_0x2830c3,_0x1d1b38(0x1fc),()=>{const _0x4f4c39=_0x1d1b38;_0x2830c3[_0x4f4c39(0x250)]?this[_0x4f4c39(0x1f8)]():_0x22cacb[_0x4f4c39(0x1fc)]();}),_0x2830c3;}[_0x2f5b43(0x260)](){const _0x5e30cb=_0x2f5b43,_0xe68bac=this[_0x5e30cb(0x267)][_0x5e30cb(0x1e0)][_0x5e30cb(0x1d7)](_0x2771a4);this[_0x5e30cb(0x1f7)]=new _0x5f0ab6(this[_0x5e30cb(0x267)][_0x5e30cb(0x245)],this[_0x5e30cb(0x1dd)],this[_0x5e30cb(0x267)][_0x5e30cb(0x22b)][_0x5e30cb(0x1d7)](_0x5e30cb(0x1f2))),this[_0x5e30cb(0x1f7)]['on'](_0x5e30cb(0x227),()=>{const _0x591dd5=_0x5e30cb;this[_0x591dd5(0x226)][_0x591dd5(0x237)][_0x591dd5(0x274)]||this[_0x591dd5(0x226)][_0x591dd5(0x237)][_0x591dd5(0x216)]();}),this[_0x5e30cb(0x1f7)][_0x5e30cb(0x21f)][_0x5e30cb(0x27c)][_0x5e30cb(0x1e4)]['on'](_0x5e30cb(0x215),()=>{const _0x11eaf7=_0x5e30cb;this[_0x11eaf7(0x226)][_0x11eaf7(0x237)][_0x11eaf7(0x274)]||this[_0x11eaf7(0x226)][_0x11eaf7(0x237)][_0x11eaf7(0x216)]();}),this[_0x5e30cb(0x1eb)](this[_0x5e30cb(0x1f7)],_0x5e30cb(0x1e8),()=>{const _0x2b8ad1=_0x5e30cb;_0xe68bac[_0x2b8ad1(0x20d)](this[_0x2b8ad1(0x22d)][_0x2b8ad1(0x21a)]),this[_0x2b8ad1(0x1f8)]();}),this[_0x5e30cb(0x1eb)](this[_0x5e30cb(0x1f7)],_0x5e30cb(0x220),()=>{const _0x4e6bec=_0x5e30cb;_0xe68bac[_0x4e6bec(0x220)](this[_0x4e6bec(0x22d)][_0x4e6bec(0x21a)]),this[_0x4e6bec(0x1f8)]();}),this[_0x5e30cb(0x1fd)]();}[_0x2f5b43(0x1fd)](){const _0x30bfbb=_0x2f5b43,{locale:_0x166775,ui:{ariaLiveAnnouncer:_0x11c2f7}}=this[_0x30bfbb(0x267)];this[_0x30bfbb(0x1f7)][_0x30bfbb(0x23a)]['on'](_0x30bfbb(0x257),(_0x201d7a,_0x5bd693,_0x1fd7c9)=>{const _0x28d446=_0x30bfbb,_0x47ec70=this[_0x28d446(0x22d)][_0x28d446(0x21a)];_0x1fd7c9?_0x11c2f7[_0x28d446(0x261)](_0x25cb91(_0x166775,_0x28d446(0x243))):_0x47ec70&&_0x11c2f7[_0x28d446(0x261)](_0x25cb91(_0x166775,_0x28d446(0x21d),_0x47ec70),{'politeness':_0x28d446(0x253),'isUnsafeHTML':!0x0});}),this[_0x30bfbb(0x1f7)]['on'](_0x30bfbb(0x23c),(_0x4845bc,_0x3d437c,_0xd63216)=>{const _0x48c56d=_0x30bfbb;if(_0xd63216){const _0x4278b8=this[_0x48c56d(0x1f7)][_0x48c56d(0x1d1)][_0x48c56d(0x268)];_0x11c2f7[_0x48c56d(0x261)](_0x25cb91(_0x166775,_0x48c56d(0x21e),_0x4278b8));}});}[_0x2f5b43(0x242)](_0x362c41){const _0x2413f9=_0x2f5b43,_0x176984=this[_0x2413f9(0x26f)][_0x2413f9(0x1d7)](_0x362c41),_0xb2495c=this[_0x2413f9(0x267)],_0x267b41=_0xb2495c[_0x2413f9(0x22a)][_0x2413f9(0x1d4)][_0x2413f9(0x265)],_0x1d5b70=_0xb2495c[_0x2413f9(0x279)][_0x2413f9(0x1d7)](_0x2413f9(0x214)),_0x4ab07b=_0xb2495c[_0x2413f9(0x1e0)][_0x2413f9(0x1d7)](_0x2771a4),_0x27bd83=''+(_0x176984[_0x2413f9(0x1d8)]!==_0xf0ba0b?_0x176984[_0x2413f9(0x263)]+':\x20':'')+_0x176984[_0x2413f9(0x249)];if(!0x1!==_0x176984[_0x2413f9(0x1fa)]&&_0x267b41[_0x2413f9(0x1d5)]){const _0xdc22cf=_0x582261(_0x267b41[_0x2413f9(0x209)]())||_0xb2495c[_0x2413f9(0x22a)][_0x2413f9(0x1f5)][_0x2413f9(0x262)](_0x267b41);_0xb2495c[_0x2413f9(0x22a)][_0x2413f9(0x20f)](_0x292790=>{const _0x15b96c=_0x2413f9;_0x292790[_0x15b96c(0x241)](_0xdc22cf,'in');});}_0x4ab07b[_0x2413f9(0x264)](),_0x1d5b70[_0x2413f9(0x1fc)](_0x176984[_0x2413f9(0x254)],_0x27bd83,_0x2413f9(0x275)+_0x362c41);}[_0x2f5b43(0x20c)](_0x35b9ef,_0xd45f1e,_0x3671a3,_0x13d68f){const _0x5beca4=_0x2f5b43,_0x846cfd=this[_0x5beca4(0x267)],_0x1be642=_0x846cfd[_0x5beca4(0x245)],_0x49c7f0=new _0xc5f4c0(_0x1be642),_0x4f16a6=B(_0x846cfd,_0x3671a3)[_0x5beca4(0x1e5)](_0x56a39f=>_0x56a39f[_0x5beca4(0x279)][_0x5beca4(0x228)]);0x1===_0x4f16a6[_0x5beca4(0x228)]?this[_0x5beca4(0x252)]({'command':_0x35b9ef,'commands':_0x4f16a6[0x0][_0x5beca4(0x279)],'parentMenuView':_0xd45f1e,'onExecute':_0x13d68f})[_0x5beca4(0x1d6)](_0x1f234f=>_0x49c7f0[_0x5beca4(0x1fe)][_0x5beca4(0x23b)](_0x1f234f)):_0x4f16a6[_0x5beca4(0x1d6)](({groupId:_0x259a3d,groupLabel:_0x21accd,commands:_0x1a83e0})=>{const _0x2d6b34=_0x5beca4,_0x1e572b=new _0x50b4a3(_0x1be642,_0xd45f1e),_0x270782=new _0x18f88e(_0x1be642),_0x52866b=new _0xc5f4c0(_0x1be642),_0x552c46=this[_0x2d6b34(0x252)]({'command':_0x35b9ef,'commands':_0x1a83e0,'parentMenuView':_0x270782,'onExecute':_0x13d68f});_0x270782[_0x2d6b34(0x211)][_0x2d6b34(0x1f6)]({'label':_0x21accd||_0x259a3d}),_0x270782[_0x2d6b34(0x23f)](_0x2d6b34(0x1fc))['to'](_0xd45f1e),_0x52866b[_0x2d6b34(0x1fe)][_0x2d6b34(0x207)](_0x552c46),_0x270782[_0x2d6b34(0x24e)][_0x2d6b34(0x239)][_0x2d6b34(0x23b)](_0x52866b),_0x1e572b[_0x2d6b34(0x239)][_0x2d6b34(0x23b)](_0x270782),_0x49c7f0[_0x2d6b34(0x1fe)][_0x2d6b34(0x23b)](_0x1e572b);}),_0xd45f1e[_0x5beca4(0x24e)][_0x5beca4(0x239)][_0x5beca4(0x23b)](_0x49c7f0);}[_0x2f5b43(0x252)]({command:_0x318239,commands:_0x43ac4c,parentMenuView:_0x30c38a,onExecute:_0x13ee0c}){const _0x79dd0b=_0x2f5b43,_0x7904c6=this[_0x79dd0b(0x267)],_0x5100a9=_0x7904c6[_0x79dd0b(0x245)];return B(_0x7904c6,_0x43ac4c)[_0x79dd0b(0x212)](_0x13d671=>{const _0x576bbf=_0x79dd0b,_0x59cc0b=new _0x50b4a3(_0x5100a9,_0x30c38a),_0x446d3e=new _0x5f3c1c(_0x5100a9);return _0x446d3e[_0x576bbf(0x1f6)]({'label':_0x13d671[_0x576bbf(0x249)]}),_0x446d3e[_0x576bbf(0x23f)](_0x576bbf(0x1fc))['to'](_0x30c38a),_0x446d3e['on'](_0x576bbf(0x1fc),()=>_0x13ee0c(_0x13d671['id'])),_0x446d3e[_0x576bbf(0x26d)](_0x576bbf(0x20a))['to'](_0x318239,_0x576bbf(0x217),_0x343f69=>_0x343f69[_0x576bbf(0x223)](_0x13d671['id'])),_0x59cc0b[_0x576bbf(0x239)][_0x576bbf(0x23b)](_0x446d3e),_0x59cc0b;});}}function U(_0x2fd3f3,_0x2d4e24){const _0x5926c1=_0x2f5b43;return void 0x0!==_0x2fd3f3[_0x5926c1(0x1ea)]&&void 0x0===_0x2d4e24[_0x5926c1(0x1ea)]?0x1:void 0x0===_0x2fd3f3[_0x5926c1(0x1ea)]&&void 0x0!==_0x2d4e24[_0x5926c1(0x1ea)]?-0x1:void 0x0!==_0x2fd3f3[_0x5926c1(0x1ea)]&&void 0x0!==_0x2d4e24[_0x5926c1(0x1ea)]?_0x2fd3f3[_0x5926c1(0x1ea)]-_0x2d4e24[_0x5926c1(0x1ea)]:0x0;}function B(_0x12bd1a,_0x484d51){const _0x971d64=_0x2f5b43;_0x484d51[_0x971d64(0x20e)](U);const _0x286ddd={},_0x55579a=[];for(const _0x3a20f8 of _0x484d51)if(void 0x0!==_0x3a20f8[_0x971d64(0x1ea)]){if(_0x3a20f8[_0x971d64(0x1ea)]in _0x286ddd)throw new _0x3ded36(_0x971d64(0x1ec),_0x12bd1a,{'conflictingDefinitions':[_0x3a20f8,_0x286ddd[_0x3a20f8[_0x971d64(0x1ea)]]]});_0x286ddd[_0x3a20f8[_0x971d64(0x1ea)]]=_0x3a20f8,_0x55579a[_0x971d64(0x23d)](_0x3a20f8[_0x971d64(0x1ea)],0x0,_0x3a20f8);}else _0x55579a[_0x971d64(0x24c)](_0x3a20f8);return _0x55579a;}
|
|
23
|
+
const _0x5a355=_0x3f4c;(function(_0x472cbd,_0x5ecc7e){const _0x4fb74f=_0x3f4c,_0x354b37=_0x472cbd();while(!![]){try{const _0x3c1940=parseInt(_0x4fb74f(0x190))/0x1*(-parseInt(_0x4fb74f(0x1bc))/0x2)+-parseInt(_0x4fb74f(0x20d))/0x3+parseInt(_0x4fb74f(0x1d2))/0x4+parseInt(_0x4fb74f(0x19a))/0x5*(parseInt(_0x4fb74f(0x216))/0x6)+parseInt(_0x4fb74f(0x1b6))/0x7*(parseInt(_0x4fb74f(0x19b))/0x8)+parseInt(_0x4fb74f(0x1f8))/0x9*(parseInt(_0x4fb74f(0x1c9))/0xa)+-parseInt(_0x4fb74f(0x1e2))/0xb;if(_0x3c1940===_0x5ecc7e)break;else _0x354b37['push'](_0x354b37['shift']());}catch(_0x2591b8){_0x354b37['push'](_0x354b37['shift']());}}}(_0x3e2a,0x4137f));import{Plugin as _0x2ee70e}from'ckeditor5/src/core.js';import{IconMagicWand as _0x1f2fe8,IconRobotPencil as _0x456107}from'ckeditor5/src/icons.js';import{first as _0xb06d02,CKEditorError as _0x23c1c6}from'ckeditor5/src/utils.js';function _0x3e2a(){const _0x7fe647=['execute','currentContext','add','locale','AI\x20is\x20writing','change:isProcessing','replaceContent','init','INSERT','fire','_onExecute','insertContent','addMany','168IUkCxy','change','show','wasMoved','plugins','showAIAssistant','446yTXJhy','AIAssistant','reset','replace','isPremiumPlugin','aiAssistant','push','<p>','aiLicenseKeyValid','command:','getSelectedElement','aiLicenseKeyDomainLimit','Error\x20during\x20AI\x20content\x20generation:\x20%0','1389210MJneHM','isOfficialPlugin','destroy','menuitemcheckbox','\x20ck-ai-assistant-ui_theme','hideFakeVisualSelection','config','source','getSelectedBlocks','648452BrOOnW','once','body','map','_initView','children','_aiAdapter','promptView','AIAssistantUI','filter','errorView','ai.assistant.useTheme','menuView','DataTransfer','_licenseKeyCheckInterval','groupId','814110sLNbZq','set','values','showUI','expired','_getMenuBarGroupButtons','buttonView','ck-ai-assistant-button\x20','requiresContent','buttons','custom','</p>','copy','updatePosition','media','aiLicenseKeyUsageLimit','isOn','evaluationLimit','enabledCommandsIds','AI\x20Assistant','panelView','ai.assistant.commands','9IKazGH','aiLicenseKeyEvaluationLimit','EDITOR_TOP_SIDE','ai-commands-config-order-collision','REPLACE','aiLicenseKeyInvalid','text/html','render','splice','order','forEach','Generated\x20content:\x20%0','schema','_getResolvedCommandsDefinitions','requires','menuBar:aiAssistant','featureNotAllowed','_initAriaAiStatusChangeAnnouncements','tableOfContents','getData','polite','397380gSvvAs','editor','isCollapsed','fieldView','menuBar:aiCommands','aiLicenseKeyExpired','change:value','selection','view','82254yFQmHL','getLimitElement','insertContentBelow','get','_commandDefinitions','document','_aiAssistantController','pluginName','isEnabled','ck-ai-commands-dropdown\x20','model','_showLicenseError','label','invalid','bind','text','from','length','queryView','updateView','isFlat','domainLimit','showFakeVisualSelection','includes','rawHtml','aiCommands','_createAIAssistantUIButton','announce','sort','update','AI\x20Commands','change:isError','ck-ai-assistant-ui','items','groupLabel','contentArea','commands','textAdapter','aiLicenseKeyNotAllowed','hide','ai.assistant.contentAreaCssClass','1361TeaIMi','listenTo','delegate','_forceMarkersCopy','getRanges','_populateMenuBarMenu','prompt','focus','ai.assistant.disabledElements','menuPanelClass','10nCZhDr','149552fwSnEx','trim','licenseKey','editing','_uiCssClasses','_formView','usageLimit','setSelection','componentFactory','change:enabledCommandsIds','_dialog','define','hideUI','comment'];_0x3e2a=function(){return _0x7fe647;};return _0x3e2a();}import{createDropdown as _0x144948,addMenuToDropdown as _0x25718f,ButtonView as _0xe82ba,MenuBarMenuListItemButtonView as _0x515cf5,Dialog as _0xe78c9f,DialogViewPosition as _0x1e2e7f,MenuBarMenuView as _0x226691,MenuBarMenuListView as _0x5fbfea,MenuBarMenuListItemView as _0x345845}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x1013b8,UNGROUPED_COMMANDS_GROUP_ID as _0x461b78}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x2b7bc7}from'./aiassistantediting.js';import{AIAdapter as _0x7f4b6b}from'./adapters/aiadapter.js';function _0x3f4c(_0x50b872,_0x4b0864){const _0x3e2aa4=_0x3e2a();return _0x3f4c=function(_0x3f4cbf,_0x4bb785){_0x3f4cbf=_0x3f4cbf-0x179;let _0x3a6dca=_0x3e2aa4[_0x3f4cbf];return _0x3a6dca;},_0x3f4c(_0x50b872,_0x4b0864);}import{getTranslation as _0x4c4a91}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0x1ccddc}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0x200165}from'./ui/aiassistantcontroller.js';import{AIFormView as _0x10a287}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x54b390}from'./ui/form/aiformtoolbarview.js';import'../../theme/aiassistant/ai.css';import'../../theme/aiassistant/ai-dropdown.css';import'../../theme/aiassistant/ai-form.css';const st=globalThis[_0x5a355(0x1df)];import{ClipboardMarkersUtils as _0x475eaa}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0xe3987,ViewDataTransfer as _0x53f2f7}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0x2ee70e{[_0x5a355(0x19d)];[_0x5a355(0x1e0)];[_0x5a355(0x1a5)];[_0x5a355(0x1a0)];[_0x5a355(0x1d8)];[_0x5a355(0x21c)];[_0x5a355(0x19f)]='';static get[_0x5a355(0x21d)](){const _0x30d77b=_0x5a355;return _0x30d77b(0x1da);}static get[_0x5a355(0x1ca)](){return!0x0;}static get[_0x5a355(0x1c0)](){return!0x0;}static get[_0x5a355(0x206)](){return[_0x475eaa,_0x2b7bc7,_0x7f4b6b,_0xe78c9f];}constructor(_0x15e00d){const _0x422abe=_0x5a355;super(_0x15e00d),_0x15e00d[_0x422abe(0x1cf)][_0x422abe(0x1a6)](_0x422abe(0x198),[_0x422abe(0x1f0),_0x422abe(0x17f),_0x422abe(0x20a)]),_0x15e00d[_0x422abe(0x1cf)][_0x422abe(0x1a6)](_0x422abe(0x18f),''),_0x15e00d[_0x422abe(0x1cf)][_0x422abe(0x1a6)](_0x422abe(0x1dd),!0x0),this[_0x422abe(0x19f)]=_0x422abe(0x187)+(_0x15e00d[_0x422abe(0x1cf)][_0x422abe(0x219)](_0x422abe(0x1dd))?_0x422abe(0x1cd):'');}[_0x5a355(0x1b0)](){const _0x3b3f3b=_0x5a355,{editor:_0x39c076}=this;this[_0x3b3f3b(0x1d8)]=_0x39c076[_0x3b3f3b(0x1ba)][_0x3b3f3b(0x219)](_0x7f4b6b),this[_0x3b3f3b(0x1a5)]=_0x39c076[_0x3b3f3b(0x1ba)][_0x3b3f3b(0x219)](_0xe78c9f),this[_0x3b3f3b(0x1a0)]=null,this[_0x3b3f3b(0x21a)]=this[_0x3b3f3b(0x205)]();const _0x30d1a4=new _0x1ccddc(_0x39c076,Array[_0x3b3f3b(0x226)](this[_0x3b3f3b(0x21a)][_0x3b3f3b(0x1e4)]()));_0x39c076[_0x3b3f3b(0x18b)][_0x3b3f3b(0x1ab)](_0x3b3f3b(0x1bb),_0x30d1a4),_0x39c076['ui'][_0x3b3f3b(0x1a3)][_0x3b3f3b(0x1ab)](_0x3b3f3b(0x180),_0x30a6b0=>{const _0x4eee37=_0x3b3f3b,_0x2a70a0=_0x144948(_0x30a6b0);return _0x2a70a0[_0x4eee37(0x1e3)]({'class':_0x4eee37(0x21f)+this[_0x4eee37(0x19f)]}),_0x2a70a0[_0x4eee37(0x1e8)][_0x4eee37(0x1e3)]({'label':_0x4c4a91(_0x30a6b0,_0x4eee37(0x185)),'icon':_0x1f2fe8,'tooltip':!0x0}),_0x2a70a0['on'](_0x4eee37(0x1a9),_0x30487c=>this[_0x4eee37(0x1b3)](_0x30487c[_0x4eee37(0x1d0)]['id'])),_0x25718f(_0x2a70a0,_0x39c076['ui'][_0x4eee37(0x215)][_0x4eee37(0x1d4)],function(_0x2b3d3b){const _0x2ca873=_0x4eee37,_0x34218b=_0x1013b8(_0x2b3d3b[_0x2ca873(0x1cf)][_0x2ca873(0x219)](_0x2ca873(0x1f7)),_0x2b3d3b[_0x2ca873(0x1ac)]),_0x271fb3=gi(_0x2b3d3b,_0x34218b)[_0x2ca873(0x1db)](_0x426e44=>_0x426e44[_0x2ca873(0x18b)][_0x2ca873(0x227)]);if(0x1===_0x271fb3[_0x2ca873(0x227)])return gi(_0x2b3d3b,_0x271fb3[0x0][_0x2ca873(0x18b)])[_0x2ca873(0x1d5)](_0x41dc85=>({'id':_0x41dc85['id'],'label':_0x41dc85[_0x2ca873(0x222)]}));return _0x271fb3[_0x2ca873(0x1d5)](_0x2b3c76=>{const _0x1e8ff3=_0x2ca873,{groupId:_0x590918,groupLabel:_0x21f625,commands:_0x323a48}=_0x2b3c76,_0x5cb086=gi(_0x2b3d3b,_0x323a48)[_0x1e8ff3(0x1d5)](_0x1d03f4=>({'id':_0x1d03f4['id'],'label':_0x1d03f4[_0x1e8ff3(0x222)]}));return{'id':_0x590918,'menu':_0x21f625||_0x590918,'children':_0x5cb086};});}(_0x39c076),{'ariaLabel':_0x4c4a91(_0x30a6b0,_0x4eee37(0x185))}),_0x2a70a0[_0x4eee37(0x1de)][_0x4eee37(0x199)]=_0x4eee37(0x21f)+this[_0x4eee37(0x19f)],_0x30d1a4['on'](_0x4eee37(0x1a4),_0x3499ef),_0x2a70a0[_0x4eee37(0x1de)][_0x4eee37(0x1d3)](_0x4eee37(0x1ff),_0x3499ef),_0x2a70a0;function _0x3499ef(){const _0x5427bf=_0x4eee37;_0x2a70a0[_0x5427bf(0x21e)]=_0x30d1a4[_0x5427bf(0x1f4)][_0x5427bf(0x227)]>0x0;for(const _0x524525 of _0x2a70a0[_0x5427bf(0x1de)][_0x5427bf(0x1eb)])_0x524525[_0x5427bf(0x21e)]=_0x30d1a4[_0x5427bf(0x1f4)][_0x5427bf(0x17e)](_0x524525['id']);}}),_0x39c076['ui'][_0x3b3f3b(0x1a3)][_0x3b3f3b(0x1ab)](_0x3b3f3b(0x211),_0x5ce87d=>{const _0x5f5d79=_0x3b3f3b,_0x2794f1=new _0x226691(_0x5ce87d);_0x2794f1[_0x5f5d79(0x1e8)][_0x5f5d79(0x1e3)]({'label':_0x4c4a91(_0x5ce87d,_0x5f5d79(0x185)),'icon':_0x1f2fe8}),_0x2794f1[_0x5f5d79(0x224)](_0x5f5d79(0x21e))['to'](_0x30d1a4,_0x5f5d79(0x1f4),_0x5a3551=>_0x5a3551[_0x5f5d79(0x227)]>0x0);const _0x160bff=_0x1013b8(_0x39c076[_0x5f5d79(0x1cf)][_0x5f5d79(0x219)](_0x5f5d79(0x1f7)),_0x5ce87d);return this[_0x5f5d79(0x195)](_0x30d1a4,_0x2794f1,_0x160bff,_0x405a80=>this[_0x5f5d79(0x1b3)](_0x405a80)),_0x2794f1;}),_0x39c076['ui'][_0x3b3f3b(0x1a3)][_0x3b3f3b(0x1ab)](_0x3b3f3b(0x1c1),()=>{const _0x128b1d=_0x3b3f3b,_0x19c5ec=this[_0x128b1d(0x181)](_0xe82ba);return _0x19c5ec[_0x128b1d(0x1e3)]({'tooltip':!0x0,'class':_0x128b1d(0x1e9)+this[_0x128b1d(0x19f)]}),_0x19c5ec;}),_0x39c076['ui'][_0x3b3f3b(0x1a3)][_0x3b3f3b(0x1ab)](_0x3b3f3b(0x207),()=>{const _0x27e149=_0x3b3f3b,_0x576fbf=this[_0x27e149(0x181)](_0x515cf5);return _0x576fbf[_0x27e149(0x1e3)]({'role':_0x27e149(0x1cc)}),_0x576fbf;}),this[_0x3b3f3b(0x19d)]=this[_0x3b3f3b(0x20e)][_0x3b3f3b(0x1cf)][_0x3b3f3b(0x219)](_0x3b3f3b(0x19d));const _0x25b5cd=this[_0x3b3f3b(0x20e)];this[_0x3b3f3b(0x1e0)]=setInterval(()=>{const _0x3871a8=_0x3b3f3b;let _0x18e2e4;for(const _0x3e39b6 in _0x25b5cd){const _0x41aba7=_0x3e39b6,_0x381f4d=_0x25b5cd[_0x41aba7];if(_0x3871a8(0x1c4)==_0x381f4d||_0x3871a8(0x1fd)==_0x381f4d||_0x3871a8(0x212)==_0x381f4d||_0x3871a8(0x1c7)==_0x381f4d||_0x3871a8(0x18d)==_0x381f4d||_0x3871a8(0x1f9)==_0x381f4d||_0x3871a8(0x1f1)==_0x381f4d){delete _0x25b5cd[_0x41aba7],_0x18e2e4=_0x381f4d,clearInterval(this[_0x3871a8(0x1e0)]),this[_0x3871a8(0x1e0)]=void 0x0;break;}}_0x3871a8(0x1fd)==_0x18e2e4&&_0x25b5cd[_0x3871a8(0x221)](_0x3871a8(0x223)),_0x3871a8(0x212)==_0x18e2e4&&_0x25b5cd[_0x3871a8(0x221)](_0x3871a8(0x1e6)),_0x3871a8(0x1c7)==_0x18e2e4&&_0x25b5cd[_0x3871a8(0x221)](_0x3871a8(0x17c)),_0x3871a8(0x18d)==_0x18e2e4&&_0x25b5cd[_0x3871a8(0x221)](_0x3871a8(0x208),_0x3871a8(0x1bd)),_0x3871a8(0x1f9)==_0x18e2e4&&_0x25b5cd[_0x3871a8(0x221)](_0x3871a8(0x1f3)),_0x3871a8(0x1f1)==_0x18e2e4&&_0x25b5cd[_0x3871a8(0x221)](_0x3871a8(0x1a1));},0x3e8);}[_0x5a355(0x1cb)](){const _0x177cbd=_0x5a355;super[_0x177cbd(0x1cb)](),this[_0x177cbd(0x1e0)]&&clearInterval(this[_0x177cbd(0x1e0)]);}[_0x5a355(0x1e5)](_0x546180='',_0x49e12c='',_0xa9b365=_0x5a355(0x1ec)){const _0x5f001c=_0x5a355,_0xba1a2d=this[_0x5f001c(0x20e)],_0xc16146=_0xba1a2d[_0x5f001c(0x19e)][_0x5f001c(0x215)],_0x59ddf7=_0xba1a2d[_0x5f001c(0x1ba)][_0x5f001c(0x219)](_0x2b7bc7),_0x5b0c7d=_0xba1a2d[_0x5f001c(0x1ba)][_0x5f001c(0x219)](_0x475eaa);_0x59ddf7[_0x5f001c(0x17d)]();const _0x1eac12=new st(),_0x4c0620=new ClipboardEvent(_0x5f001c(0x1ee),{'clipboardData':_0x1eac12}),_0x5c98fc=new _0x53f2f7(_0x1eac12),_0xa61645=new _0xe3987(_0xc16146,_0x4c0620,{'dataTransfer':_0x5c98fc});_0x5b0c7d[_0x5f001c(0x193)](_0x5f001c(0x1a8),()=>{const _0x4278c6=_0x5f001c;_0xc16146[_0x4278c6(0x21b)][_0x4278c6(0x1b2)](_0x4278c6(0x1ee),_0xa61645);}),this[_0x5f001c(0x1a0)]||(this[_0x5f001c(0x1d6)](),this[_0x5f001c(0x21c)]=new _0x200165(_0xba1a2d,this[_0x5f001c(0x1d8)][_0x5f001c(0x18c)],this[_0x5f001c(0x1a0)]));let _0x20359e=_0x5c98fc[_0x5f001c(0x20b)](_0x5f001c(0x1fe));const _0x4cc86b=_0xba1a2d[_0x5f001c(0x220)][_0x5f001c(0x21b)][_0x5f001c(0x214)],_0x4151f7=Array[_0x5f001c(0x226)](_0x4cc86b[_0x5f001c(0x194)]());0x1===_0x4151f7[_0x5f001c(0x227)]&&_0x4151f7[0x0][_0x5f001c(0x17b)]&&!_0x4cc86b[_0x5f001c(0x1c6)]()&&''!==_0x20359e[_0x5f001c(0x1bf)](/ /g,'')[_0x5f001c(0x19c)]()&&(_0x20359e=_0x5f001c(0x1c3)+_0x20359e+_0x5f001c(0x1ed)),this[_0x5f001c(0x21c)][_0x5f001c(0x17a)]({'actionId':_0xa9b365,'query':_0x546180,'htmlContent':_0x20359e,'label':_0x49e12c,'mainActionLabel':_0x54b390[_0xba1a2d[_0x5f001c(0x220)][_0x5f001c(0x21b)][_0x5f001c(0x214)][_0x5f001c(0x20f)]?_0x5f001c(0x1b1):_0x5f001c(0x1fc)]}),_0x5f001c(0x1c1)!==this[_0x5f001c(0x1a5)]['id']?this[_0x5f001c(0x1a5)][_0x5f001c(0x1b8)]({'id':_0x5f001c(0x1c1),'icon':_0x456107,'title':_0x4c4a91(this[_0x5f001c(0x20e)][_0x5f001c(0x1ac)],_0x5f001c(0x1f5)),'content':this[_0x5f001c(0x1a0)],'position':_0x1e2e7f[_0x5f001c(0x1fa)],'onShow':()=>{const _0x1a7d2a=_0x5f001c;this[_0x1a7d2a(0x1a0)][_0x1a7d2a(0x197)]();},'onHide':()=>{const _0x2afee7=_0x5f001c;this[_0x2afee7(0x21c)][_0x2afee7(0x1be)](),_0x59ddf7[_0x2afee7(0x1ce)]();}}):this[_0x5f001c(0x1a5)][_0x5f001c(0x215)][_0x5f001c(0x1b9)]||this[_0x5f001c(0x1a5)][_0x5f001c(0x215)][_0x5f001c(0x1ef)]();}[_0x5a355(0x1a7)](){const _0x1f4073=_0x5a355;this[_0x1f4073(0x1a5)][_0x1f4073(0x18e)]();}[_0x5a355(0x205)](){const _0x1cb3e9=_0x5a355,_0x5946d6=new Map(),_0x1ef827=_0x1013b8(this[_0x1cb3e9(0x20e)][_0x1cb3e9(0x1cf)][_0x1cb3e9(0x219)](_0x1cb3e9(0x1f7)),this[_0x1cb3e9(0x20e)][_0x1cb3e9(0x1ac)]);for(const _0x2d5d19 of _0x1ef827)for(const _0x19feb3 of _0x2d5d19[_0x1cb3e9(0x18b)])_0x5946d6[_0x1cb3e9(0x1e3)](_0x19feb3['id'],{..._0x19feb3,'groupId':_0x2d5d19[_0x1cb3e9(0x1e1)],'groupLabel':_0x2d5d19[_0x1cb3e9(0x189)]||_0x2d5d19[_0x1cb3e9(0x1e1)]});return _0x5946d6;}[_0x5a355(0x181)](_0x274e60){const _0x33c6b9=_0x5a355,_0x2979dc=this[_0x33c6b9(0x20e)],_0x4b30c8=_0x2979dc[_0x33c6b9(0x18b)][_0x33c6b9(0x219)](_0x33c6b9(0x1bb)),_0x275a5e=new _0x274e60(_0x2979dc[_0x33c6b9(0x1ac)]);return _0x275a5e[_0x33c6b9(0x1e3)]({'label':_0x4c4a91(_0x2979dc[_0x33c6b9(0x1ac)],_0x33c6b9(0x1f5)),'icon':_0x456107,'isToggleable':!0x0}),_0x275a5e[_0x33c6b9(0x224)](_0x33c6b9(0x21e))['to'](_0x4b30c8),_0x275a5e[_0x33c6b9(0x224)](_0x33c6b9(0x1f2))['to'](this[_0x33c6b9(0x1a5)],'id',_0x5a633a=>_0x33c6b9(0x1c1)===_0x5a633a),this[_0x33c6b9(0x191)](_0x275a5e,_0x33c6b9(0x1a9),()=>{const _0x41d1de=_0x33c6b9;_0x275a5e[_0x41d1de(0x1f2)]?this[_0x41d1de(0x1a7)]():_0x4b30c8[_0x41d1de(0x1a9)]();}),_0x275a5e;}[_0x5a355(0x1d6)](){const _0x230a04=_0x5a355,_0x492414=this[_0x230a04(0x20e)][_0x230a04(0x1ba)][_0x230a04(0x219)](_0x2b7bc7);this[_0x230a04(0x1a0)]=new _0x10a287(this[_0x230a04(0x20e)][_0x230a04(0x1ac)],this[_0x230a04(0x19f)],this[_0x230a04(0x20e)][_0x230a04(0x1cf)][_0x230a04(0x219)](_0x230a04(0x18f))),this[_0x230a04(0x1a0)]['on'](_0x230a04(0x213),()=>{const _0x389cdc=_0x230a04;this[_0x389cdc(0x1a5)][_0x389cdc(0x215)][_0x389cdc(0x1b9)]||this[_0x389cdc(0x1a5)][_0x389cdc(0x215)][_0x389cdc(0x1ef)]();}),this[_0x230a04(0x1a0)][_0x230a04(0x1d9)][_0x230a04(0x179)][_0x230a04(0x210)]['on'](_0x230a04(0x184),()=>{const _0x558a8d=_0x230a04;this[_0x558a8d(0x1a5)][_0x558a8d(0x215)][_0x558a8d(0x1b9)]||this[_0x558a8d(0x1a5)][_0x558a8d(0x215)][_0x558a8d(0x1ef)]();}),this[_0x230a04(0x191)](this[_0x230a04(0x1a0)],_0x230a04(0x1af),()=>{const _0x46c05b=_0x230a04;_0x492414[_0x46c05b(0x1b4)](this[_0x46c05b(0x21c)][_0x46c05b(0x1aa)]),this[_0x46c05b(0x1a7)]();}),this[_0x230a04(0x191)](this[_0x230a04(0x1a0)],_0x230a04(0x218),()=>{const _0x58de45=_0x230a04;_0x492414[_0x58de45(0x218)](this[_0x58de45(0x21c)][_0x58de45(0x1aa)]),this[_0x58de45(0x1a7)]();}),this[_0x230a04(0x209)]();}[_0x5a355(0x209)](){const _0x3144fa=_0x5a355,{locale:_0x320fb3,ui:{ariaLiveAnnouncer:_0x596269}}=this[_0x3144fa(0x20e)];this[_0x3144fa(0x1a0)][_0x3144fa(0x18a)]['on'](_0x3144fa(0x1ae),(_0x5bad2f,_0x330872,_0x10ca51)=>{const _0xd9211f=_0x3144fa,_0x590f22=this[_0xd9211f(0x21c)][_0xd9211f(0x1aa)];_0x10ca51?_0x596269[_0xd9211f(0x182)](_0x4c4a91(_0x320fb3,_0xd9211f(0x1ad))):_0x590f22&&_0x596269[_0xd9211f(0x182)](_0x4c4a91(_0x320fb3,_0xd9211f(0x203),_0x590f22),{'politeness':_0xd9211f(0x20c),'isUnsafeHTML':!0x0});}),this[_0x3144fa(0x1a0)]['on'](_0x3144fa(0x186),(_0x53039c,_0x191f9e,_0xa30295)=>{const _0x20cb6d=_0x3144fa;if(_0xa30295){const _0x315ee7=this[_0x20cb6d(0x1a0)][_0x20cb6d(0x1dc)][_0x20cb6d(0x225)];_0x596269[_0x20cb6d(0x182)](_0x4c4a91(_0x320fb3,_0x20cb6d(0x1c8),_0x315ee7));}});}[_0x5a355(0x1b3)](_0x290fe6){const _0x58eab1=_0x5a355,_0x10b086=this[_0x58eab1(0x21a)][_0x58eab1(0x219)](_0x290fe6),_0x19e80d=this[_0x58eab1(0x20e)],_0x423f48=_0x19e80d[_0x58eab1(0x220)][_0x58eab1(0x21b)][_0x58eab1(0x214)],_0x14405f=_0x19e80d[_0x58eab1(0x18b)][_0x58eab1(0x219)](_0x58eab1(0x1bb)),_0x43bba5=_0x19e80d[_0x58eab1(0x1ba)][_0x58eab1(0x219)](_0x2b7bc7),_0x488f08=''+(_0x10b086[_0x58eab1(0x1e1)]!==_0x461b78?_0x10b086[_0x58eab1(0x189)]+':\x20':'')+_0x10b086[_0x58eab1(0x222)];if(!0x1!==_0x10b086[_0x58eab1(0x1ea)]&&_0x423f48[_0x58eab1(0x20f)]){const _0x269ddd=_0xb06d02(_0x423f48[_0x58eab1(0x1d1)]())||_0x19e80d[_0x58eab1(0x220)][_0x58eab1(0x204)][_0x58eab1(0x217)](_0x423f48);_0x19e80d[_0x58eab1(0x220)][_0x58eab1(0x1b7)](_0x210111=>{const _0x38cd63=_0x58eab1;_0x210111[_0x38cd63(0x1a2)](_0x269ddd,'in');});}_0x43bba5[_0x58eab1(0x17d)](),_0x14405f[_0x58eab1(0x1a9)](_0x10b086[_0x58eab1(0x196)],_0x488f08,_0x58eab1(0x1c5)+_0x290fe6);}[_0x5a355(0x195)](_0x42f4df,_0x22d8f6,_0x1822d3,_0x43b140){const _0x1e73bd=_0x5a355,_0x466340=this[_0x1e73bd(0x20e)],_0x561ce9=_0x466340[_0x1e73bd(0x1ac)],_0x59606a=new _0x5fbfea(_0x561ce9),_0x44c5fc=gi(_0x466340,_0x1822d3)[_0x1e73bd(0x1db)](_0x3c62c3=>_0x3c62c3[_0x1e73bd(0x18b)][_0x1e73bd(0x227)]);0x1===_0x44c5fc[_0x1e73bd(0x227)]?this[_0x1e73bd(0x1e7)]({'command':_0x42f4df,'commands':_0x44c5fc[0x0][_0x1e73bd(0x18b)],'parentMenuView':_0x22d8f6,'onExecute':_0x43b140})[_0x1e73bd(0x202)](_0x462f7a=>_0x59606a[_0x1e73bd(0x188)][_0x1e73bd(0x1ab)](_0x462f7a)):_0x44c5fc[_0x1e73bd(0x202)](({groupId:_0xf8443f,groupLabel:_0x1dc6b5,commands:_0x594a72})=>{const _0x39db41=_0x1e73bd,_0x273fdc=new _0x345845(_0x561ce9,_0x22d8f6),_0x57bc1a=new _0x226691(_0x561ce9),_0x41d34d=new _0x5fbfea(_0x561ce9),_0x17877e=this[_0x39db41(0x1e7)]({'command':_0x42f4df,'commands':_0x594a72,'parentMenuView':_0x57bc1a,'onExecute':_0x43b140});_0x57bc1a[_0x39db41(0x1e8)][_0x39db41(0x1e3)]({'label':_0x1dc6b5||_0xf8443f}),_0x57bc1a[_0x39db41(0x192)](_0x39db41(0x1a9))['to'](_0x22d8f6),_0x41d34d[_0x39db41(0x188)][_0x39db41(0x1b5)](_0x17877e),_0x57bc1a[_0x39db41(0x1f6)][_0x39db41(0x1d7)][_0x39db41(0x1ab)](_0x41d34d),_0x273fdc[_0x39db41(0x1d7)][_0x39db41(0x1ab)](_0x57bc1a),_0x59606a[_0x39db41(0x188)][_0x39db41(0x1ab)](_0x273fdc);}),_0x22d8f6[_0x1e73bd(0x1f6)][_0x1e73bd(0x1d7)][_0x1e73bd(0x1ab)](_0x59606a);}[_0x5a355(0x1e7)]({command:_0x203350,commands:_0x1f53e4,parentMenuView:_0x2fd71a,onExecute:_0x51e0f3}){const _0x3ab8a6=_0x5a355,_0x1dc5b4=this[_0x3ab8a6(0x20e)],_0x140628=_0x1dc5b4[_0x3ab8a6(0x1ac)];return gi(_0x1dc5b4,_0x1f53e4)[_0x3ab8a6(0x1d5)](_0x238110=>{const _0x1e2cc3=_0x3ab8a6,_0x8de053=new _0x345845(_0x140628,_0x2fd71a),_0x36034e=new _0x515cf5(_0x140628);return _0x36034e[_0x1e2cc3(0x1e3)]({'label':_0x238110[_0x1e2cc3(0x222)]}),_0x36034e[_0x1e2cc3(0x192)](_0x1e2cc3(0x1a9))['to'](_0x2fd71a),_0x36034e['on'](_0x1e2cc3(0x1a9),()=>_0x51e0f3(_0x238110['id'])),_0x36034e[_0x1e2cc3(0x224)](_0x1e2cc3(0x21e))['to'](_0x203350,_0x1e2cc3(0x1f4),_0x5eac72=>_0x5eac72[_0x1e2cc3(0x17e)](_0x238110['id'])),_0x8de053[_0x1e2cc3(0x1d7)][_0x1e2cc3(0x1ab)](_0x36034e),_0x8de053;});}}function wi(_0x3c8dea,_0x3220aa){const _0x11bc29=_0x5a355;return void 0x0!==_0x3c8dea[_0x11bc29(0x201)]&&void 0x0===_0x3220aa[_0x11bc29(0x201)]?0x1:void 0x0===_0x3c8dea[_0x11bc29(0x201)]&&void 0x0!==_0x3220aa[_0x11bc29(0x201)]?-0x1:void 0x0!==_0x3c8dea[_0x11bc29(0x201)]&&void 0x0!==_0x3220aa[_0x11bc29(0x201)]?_0x3c8dea[_0x11bc29(0x201)]-_0x3220aa[_0x11bc29(0x201)]:0x0;}function gi(_0x1ee9ea,_0x492bb4){const _0x25cba8=_0x5a355;_0x492bb4[_0x25cba8(0x183)](wi);const _0x24ff11={},_0x64b1b3=[];for(const _0x173e61 of _0x492bb4)if(void 0x0!==_0x173e61[_0x25cba8(0x201)]){if(_0x173e61[_0x25cba8(0x201)]in _0x24ff11)throw new _0x23c1c6(_0x25cba8(0x1fb),_0x1ee9ea,{'conflictingDefinitions':[_0x173e61,_0x24ff11[_0x173e61[_0x25cba8(0x201)]]]});_0x24ff11[_0x173e61[_0x25cba8(0x201)]]=_0x173e61,_0x64b1b3[_0x25cba8(0x200)](_0x173e61[_0x25cba8(0x201)],0x0,_0x173e61);}else _0x64b1b3[_0x25cba8(0x1c2)](_0x173e61);return _0x64b1b3;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x3d42(_0x254fe3,_0x245afe){var _0x1b7600=_0x1b76();return _0x3d42=function(_0x3d42c8,_0x1a67cb){_0x3d42c8=_0x3d42c8-0x131;var _0x57c107=_0x1b7600[_0x3d42c8];return _0x57c107;},_0x3d42(_0x254fe3,_0x245afe);}(function(_0x45feb1,_0x2b50e6){var _0x559e6a=_0x3d42,_0x105b9c=_0x45feb1();while(!![]){try{var _0x42970b=-parseInt(_0x559e6a(0x13a))/0x1+-parseInt(_0x559e6a(0x139))/0x2*(-parseInt(_0x559e6a(0x13b))/0x3)+parseInt(_0x559e6a(0x133))/0x4*(-parseInt(_0x559e6a(0x132))/0x5)+-parseInt(_0x559e6a(0x138))/0x6+parseInt(_0x559e6a(0x137))/0x7*(parseInt(_0x559e6a(0x136))/0x8)+-parseInt(_0x559e6a(0x134))/0x9*(-parseInt(_0x559e6a(0x131))/0xa)+parseInt(_0x559e6a(0x135))/0xb*(parseInt(_0x559e6a(0x13c))/0xc);if(_0x42970b===_0x2b50e6)break;else _0x105b9c['push'](_0x105b9c['shift']());}catch(_0xf08676){_0x105b9c['push'](_0x105b9c['shift']());}}}(_0x1b76,0x30481));import{CKEditorError as _0x3e49da}from'ckeditor5/src/utils.js';function _0x1b76(){var _0x4fcc92=['90wlKoeT','66KRDWGb','80RqfEHI','248647QlvOAx','329718NsvZfX','24488aPoXiO','358670jtgTlv','3HnfsNB','75288PyJMVr','356710gLVKJB','94015KnNtXU','32dBxAKT'];_0x1b76=function(){return _0x4fcc92;};return _0x1b76();}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
function _0x598f(_0x14d0d8,_0x3e7a10){const _0x23ff5b=_0x23ff();return _0x598f=function(_0x598fa7,_0x224b4b){_0x598fa7=_0x598fa7-0x111;let _0x574f7a=_0x23ff5b[_0x598fa7];return _0x574f7a;},_0x598f(_0x14d0d8,_0x3e7a10);}const _0x4dc55b=_0x598f;(function(_0x1cecce,_0x57d8e6){const _0x49e8f3=_0x598f,_0x538d7f=_0x1cecce();while(!![]){try{const _0x418dfa=-parseInt(_0x49e8f3(0x14c))/0x1+parseInt(_0x49e8f3(0x129))/0x2*(-parseInt(_0x49e8f3(0x130))/0x3)+parseInt(_0x49e8f3(0x124))/0x4*(-parseInt(_0x49e8f3(0x114))/0x5)+-parseInt(_0x49e8f3(0x16e))/0x6*(parseInt(_0x49e8f3(0x159))/0x7)+parseInt(_0x49e8f3(0x16a))/0x8*(-parseInt(_0x49e8f3(0x153))/0x9)+-parseInt(_0x49e8f3(0x158))/0xa*(-parseInt(_0x49e8f3(0x156))/0xb)+parseInt(_0x49e8f3(0x157))/0xc;if(_0x418dfa===_0x57d8e6)break;else _0x538d7f['push'](_0x538d7f['shift']());}catch(_0x3b5ff6){_0x538d7f['push'](_0x538d7f['shift']());}}}(_0x23ff,0xb72a8));import{ObservableMixin as _0x1e159f}from'ckeditor5/src/utils.js';import{AIRequestError as _0xfa5f53}from'../adapters/aiadapter.js';import{Matcher as _0x5bd530,ViewUpcastWriter as _0x175c7}from'ckeditor5/src/engine.js';const vs=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');function _0x23ff(){const _0x1a921b=['finally','document','1482834aSudML','ELEMENT_NODE','trim','_normalizeResponseHeadings','textAdapter','startsWith','childNodes','finishProcessing','text/html','endsWith','markers','setContentOf','296680gsbuvm','reset','_xmlSerializer','view','set:currentContext','previousActionId','custom','<h1></h1>','_stripMarkdownSyntax','then','catch','reverse','_sanitizationContainer','length','isProcessing','stringify','80UDFrqd','initialContext','currentContext','get','serializeToString','45804cIgvfS','isRendered','_parseAndNormalizeContent','_isH1TagSupportEnabled','previousLabel','message','element','171FkshmT','```html','previousContext','_sanitizeHTML','updateView','editing','mainAction','nodeType','createElement','parseFromString','toModel','querySelector','push','value','previousQuery','name','abort','htmlProcessor','innerHTML','startProcessing','stopProcessing','```','set','_handleQuery','rename','submitPrompt','exec','_domParser','603375WNkGAB','editor','remove','ai.assistant.preserveComments','div','body','currentResponse','127755UuhYZD','tryAgainEvent','domConverter','1418505KVYZHb','54990252fVKVYI','60LeNHzB','7iEqKUe','once','viewToDom','render','makeRequest','prompt','substring','from','handleError','clear','config','destroy','data','processor','listenTo','toView','stopListening','712pfKKPH','match'];_0x23ff=function(){return _0x1a921b;};return _0x23ff();}export class AIAssistantController extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x1e159f(){[_0x4dc55b(0x14d)];[_0x4dc55b(0x172)];[_0x4dc55b(0x117)];[_0x4dc55b(0x120)];[_0x4dc55b(0x14b)];[_0x4dc55b(0x116)];constructor(_0x56b152,_0x17e25b,_0x4d9ca1){const _0x2c47c2=_0x4dc55b;super(),this[_0x2c47c2(0x14d)]=_0x56b152,this[_0x2c47c2(0x172)]=_0x17e25b,this[_0x2c47c2(0x120)]=document[_0x2c47c2(0x138)](_0x2c47c2(0x150)),this[_0x2c47c2(0x14b)]=new DOMParser(),this[_0x2c47c2(0x116)]=new XMLSerializer(),this[_0x2c47c2(0x117)]=_0x4d9ca1,this[_0x2c47c2(0x146)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x2c47c2(0x118),(_0x56ce2f,_0x4f2dd4,_0x378046)=>{const _0x3ccd54=_0x2c47c2;this[_0x3ccd54(0x117)][_0x3ccd54(0x13d)]=this[_0x3ccd54(0x133)](_0x378046);}),this[_0x2c47c2(0x167)](this[_0x2c47c2(0x117)],_0x2c47c2(0x149),(_0x84ceac,_0x44a1e0)=>{const _0x233135=_0x2c47c2,_0x207de1=this[_0x233135(0x126)]||this[_0x233135(0x125)];this[_0x233135(0x147)](_0x44a1e0,_0x207de1,_0x233135(0x11a));}),this[_0x2c47c2(0x167)](this[_0x2c47c2(0x117)],_0x2c47c2(0x154),()=>{const _0x3a557a=_0x2c47c2;this[_0x3a557a(0x117)][_0x3a557a(0x15e)]=this[_0x3a557a(0x12d)],this[_0x3a557a(0x147)](this[_0x3a557a(0x13e)],this[_0x3a557a(0x132)],this[_0x3a557a(0x119)],this[_0x3a557a(0x12d)]);}),this[_0x2c47c2(0x167)](this[_0x2c47c2(0x117)],_0x2c47c2(0x144),()=>{const _0x37ffb0=_0x2c47c2;this[_0x37ffb0(0x144)]();});}[_0x4dc55b(0x164)](){const _0x597b42=_0x4dc55b;this[_0x597b42(0x169)]();}async[_0x4dc55b(0x134)]({actionId:_0x5cf306,query:_0x8b3e81,htmlContent:_0xd99bea,label:_0xda3144,mainActionLabel:_0x41272d}){const _0x3b6595=_0x4dc55b;this[_0x3b6595(0x117)][_0x3b6595(0x15e)]=_0xda3144,this[_0x3b6595(0x117)][_0x3b6595(0x136)]=_0x41272d,this[_0x3b6595(0x125)]=_0xd99bea,_0x8b3e81&&(this[_0x3b6595(0x117)][_0x3b6595(0x12a)]?this[_0x3b6595(0x147)](_0x8b3e81,_0xd99bea,_0x5cf306,_0xda3144):this[_0x3b6595(0x117)][_0x3b6595(0x15a)](_0x3b6595(0x15c),()=>{const _0x120c58=_0x3b6595;this[_0x120c58(0x147)](_0x8b3e81,_0xd99bea,_0x5cf306,_0xda3144);}));}[_0x4dc55b(0x144)](){const _0x760c04=_0x4dc55b;this[_0x760c04(0x122)]&&(this[_0x760c04(0x122)]=!0x1,this[_0x760c04(0x117)][_0x760c04(0x175)](),this[_0x760c04(0x172)][_0x760c04(0x140)]());}[_0x4dc55b(0x115)](){const _0x20295a=_0x4dc55b;this[_0x20295a(0x125)]='',this[_0x20295a(0x126)]='',this[_0x20295a(0x152)]='',this[_0x20295a(0x132)]='',this[_0x20295a(0x13e)]='',this[_0x20295a(0x12d)]='',this[_0x20295a(0x119)]=void 0x0,this[_0x20295a(0x117)][_0x20295a(0x115)](),this[_0x20295a(0x144)]();}async[_0x4dc55b(0x147)](_0x2e6b55,_0x32eb9f,_0x123d9c,_0x235a82){const _0x4123d9=_0x4dc55b;return this[_0x4123d9(0x122)]=!0x0,this[_0x4123d9(0x117)][_0x4123d9(0x143)](),this[_0x4123d9(0x132)]=_0x32eb9f,this[_0x4123d9(0x13e)]=_0x2e6b55,this[_0x4123d9(0x12d)]=_0x235a82||_0x2e6b55,this[_0x4123d9(0x119)]=_0x123d9c,new Promise(_0x5cea8d=>{const _0xb9e696=_0x4123d9;this[_0xb9e696(0x172)][_0xb9e696(0x15d)]({'query':_0x2e6b55,'context':_0x32eb9f,'onData':_0x4d62d3=>{const _0x4527ce=_0xb9e696;this[_0x4527ce(0x152)]=_0x4d62d3,this[_0x4527ce(0x126)]=this[_0x4527ce(0x12b)](this[_0x4527ce(0x152)]);},'actionId':_0x123d9c})[_0xb9e696(0x11d)](()=>{const _0x5396dd=_0xb9e696;!this[_0x5396dd(0x126)]&&this[_0x5396dd(0x152)]&&(this[_0x5396dd(0x126)]=this[_0x5396dd(0x12b)](this[_0x5396dd(0x152)],!0x0));})[_0xb9e696(0x11e)](_0x221a43=>{const _0x30ca97=_0xb9e696;_0x221a43 instanceof _0xfa5f53?this[_0x30ca97(0x117)][_0x30ca97(0x161)](_0x221a43[_0x30ca97(0x12e)]):this[_0x30ca97(0x117)][_0x30ca97(0x161)](),_0x5cea8d();})[_0xb9e696(0x16c)](()=>{const _0xbd4721=_0xb9e696;this[_0xbd4721(0x144)](),_0x5cea8d();});});}[_0x4dc55b(0x12b)](_0xc6c16e,_0x13f49b=!0x1){const _0x5a31c4=_0x4dc55b,_0x3b7836=vs[_0x5a31c4(0x14a)](_0xc6c16e);_0xc6c16e=_0x3b7836?_0xc6c16e[_0x5a31c4(0x15f)](_0x3b7836[0x1][_0x5a31c4(0x121)]):_0xc6c16e[_0x5a31c4(0x121)]<0x64&&!_0x13f49b?'':this[_0x5a31c4(0x11c)](_0xc6c16e);const _0x4b303b=this[_0x5a31c4(0x14b)][_0x5a31c4(0x139)](_0xc6c16e,_0x5a31c4(0x176));if(_0x3b7836){const _0x2549f8=Array[_0x5a31c4(0x160)](_0x4b303b[_0x5a31c4(0x151)][_0x5a31c4(0x174)]);_0x2549f8[_0x5a31c4(0x11f)]();for(const _0x306254 of _0x2549f8){if(_0x306254[_0x5a31c4(0x137)]==Node[_0x5a31c4(0x16f)])break;_0x306254[_0x5a31c4(0x14e)]();}}const _0x1c935f=this[_0x5a31c4(0x14d)][_0x5a31c4(0x165)][_0x5a31c4(0x166)][_0x5a31c4(0x168)](this[_0x5a31c4(0x116)][_0x5a31c4(0x128)](_0x4b303b[_0x5a31c4(0x151)]));this[_0x5a31c4(0x12c)]()||this[_0x5a31c4(0x171)](_0x1c935f);const _0x258735=this[_0x5a31c4(0x14d)][_0x5a31c4(0x163)][_0x5a31c4(0x127)](_0x5a31c4(0x14f)),_0x233f44=this[_0x5a31c4(0x14d)][_0x5a31c4(0x165)][_0x5a31c4(0x13a)](_0x1c935f);return _0x258735||_0x233f44[_0x5a31c4(0x112)][_0x5a31c4(0x162)](),this[_0x5a31c4(0x14d)][_0x5a31c4(0x165)][_0x5a31c4(0x123)](_0x233f44);}[_0x4dc55b(0x171)](_0xa8c3e9){const _0x5b6075=_0x4dc55b,_0x2b8a46=new _0x175c7(this[_0x5b6075(0x14d)][_0x5b6075(0x135)][_0x5b6075(0x117)][_0x5b6075(0x16d)]),_0x218c64=new _0x5bd530({'name':/^h[1-5]$/}),_0x4a526e=[];let _0x39cdaf=!0x1;for(const _0x4e0b77 of _0xa8c3e9)_0x4e0b77['is'](_0x5b6075(0x12f))&&_0x218c64[_0x5b6075(0x16b)](_0x4e0b77)&&(_0x4a526e[_0x5b6075(0x13c)](_0x4e0b77),'h1'==_0x4e0b77[_0x5b6075(0x13f)]&&(_0x39cdaf=!0x0));if(_0x39cdaf){for(const _0x5da803 of _0x4a526e)_0x2b8a46[_0x5b6075(0x148)]('h'+(parseInt(_0x5da803[_0x5b6075(0x13f)][0x1])+0x1),_0x5da803);}}[_0x4dc55b(0x12c)](){const _0x30fedf=_0x4dc55b,{data:_0x935eb7,editing:_0x23d20d}=this[_0x30fedf(0x14d)],_0x2ce998=_0x935eb7[_0x30fedf(0x141)][_0x30fedf(0x168)](_0x30fedf(0x11b)),_0x4fb9d8=_0x935eb7[_0x30fedf(0x168)](_0x935eb7[_0x30fedf(0x13a)](_0x2ce998));return!!_0x23d20d[_0x30fedf(0x117)][_0x30fedf(0x155)][_0x30fedf(0x15b)](_0x4fb9d8)[_0x30fedf(0x13b)]('h1');}[_0x4dc55b(0x133)](_0x84d7d2){const _0x231996=_0x4dc55b;return this[_0x231996(0x14d)][_0x231996(0x135)][_0x231996(0x117)][_0x231996(0x155)][_0x231996(0x113)](this[_0x231996(0x120)],_0x84d7d2),this[_0x231996(0x120)][_0x231996(0x142)];}[_0x4dc55b(0x11c)](_0x3fd452){const _0x7fc0a2=_0x4dc55b,_0x1adb67=_0x3fd452[_0x7fc0a2(0x170)]();return _0x1adb67[_0x7fc0a2(0x173)](_0x7fc0a2(0x131))?_0x1adb67[_0x7fc0a2(0x111)](_0x7fc0a2(0x145))?_0x1adb67[_0x7fc0a2(0x15f)](0x7,_0x1adb67[_0x7fc0a2(0x121)]-0x3):_0x1adb67[_0x7fc0a2(0x15f)](0x7):_0x3fd452;}}
|