@ckeditor/ckeditor5-ai 47.7.0-alpha.4 → 47.7.1-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
|
+
var _0x52e8ac=_0x190f;(function(_0x26a814,_0x5db4ab){var _0x2c260f=_0x190f,_0x37d07d=_0x26a814();while(!![]){try{var _0x13d2fd=parseInt(_0x2c260f(0x1a9))/0x1+parseInt(_0x2c260f(0x1ad))/0x2*(parseInt(_0x2c260f(0x1a2))/0x3)+-parseInt(_0x2c260f(0x1a0))/0x4*(parseInt(_0x2c260f(0x1b1))/0x5)+parseInt(_0x2c260f(0x1ab))/0x6*(parseInt(_0x2c260f(0x1a1))/0x7)+-parseInt(_0x2c260f(0x1a8))/0x8*(-parseInt(_0x2c260f(0x19f))/0x9)+-parseInt(_0x2c260f(0x1af))/0xa*(parseInt(_0x2c260f(0x19e))/0xb)+-parseInt(_0x2c260f(0x1a3))/0xc;if(_0x13d2fd===_0x5db4ab)break;else _0x37d07d['push'](_0x37d07d['shift']());}catch(_0x45c70b){_0x37d07d['push'](_0x37d07d['shift']());}}}(_0xfc48,0xa73e2));import{Plugin as _0x5ce54b}from'ckeditor5/src/core.js';function _0x190f(_0x2ed5a1,_0x14d7b6){var _0xfc48e3=_0xfc48();return _0x190f=function(_0x190f36,_0x37a929){_0x190f36=_0x190f36-0x19d;var _0xa8a8f3=_0xfc48e3[_0x190f36];return _0xa8a8f3;},_0x190f(_0x2ed5a1,_0x14d7b6);}function _0xfc48(){var _0x1880d2=['AIRequestError','4062750DMOjdl','isOfficialPlugin','14bBKCAB','textAdapter','46010pRUGpI','pluginName','531985zjayMV','name','1672bgnbgx','696375zLFoGK','20WzamMy','7IHSNLp','488865wPUWkm','14031168tYrGJB','isPremiumPlugin','AIAdapter','afterInit','aiadapter-text-adapter-not-set','128SzdyMh','29817giZLwC'];_0xfc48=function(){return _0x1880d2;};return _0xfc48();}import{CKEditorError as _0x1af781}from'ckeditor5/src/utils.js';export class AIAdapter extends _0x5ce54b{static get[_0x52e8ac(0x1b0)](){var _0x2e7d54=_0x52e8ac;return _0x2e7d54(0x1a5);}static get[_0x52e8ac(0x1ac)](){return!0x0;}static get[_0x52e8ac(0x1a4)](){return!0x0;}[_0x52e8ac(0x1a6)](){var _0x35de1e=_0x52e8ac;if(!this[_0x35de1e(0x1ae)])throw new _0x1af781(_0x35de1e(0x1a7),null);}}export class AIRequestError extends Error{constructor(_0x2b938f){var _0x4a2cad=_0x52e8ac;super(_0x2b938f),this[_0x4a2cad(0x19d)]=_0x4a2cad(0x1aa);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x154a62=_0x37a6;(function(_0x26db3c,_0x3c3a96){const _0x109220=_0x37a6,_0x47f309=_0x26db3c();while(!![]){try{const _0xe7f6b=-parseInt(_0x109220(0x203))/0x1*(parseInt(_0x109220(0x1fe))/0x2)+-parseInt(_0x109220(0x1e6))/0x3*(-parseInt(_0x109220(0x1e8))/0x4)+-parseInt(_0x109220(0x1f3))/0x5*(-parseInt(_0x109220(0x1fd))/0x6)+parseInt(_0x109220(0x207))/0x7+-parseInt(_0x109220(0x1f4))/0x8+-parseInt(_0x109220(0x1e7))/0x9*(-parseInt(_0x109220(0x1e2))/0xa)+parseInt(_0x109220(0x1f8))/0xb*(-parseInt(_0x109220(0x200))/0xc);if(_0xe7f6b===_0x3c3a96)break;else _0x47f309['push'](_0x47f309['shift']());}catch(_0x438d60){_0x47f309['push'](_0x47f309['shift']());}}}(_0x5d13,0x6ce36));import{Plugin as _0x1f237c}from'ckeditor5/src/core.js';import{CKEditorError as _0x5f2b02}from'ckeditor5/src/utils.js';function _0x5d13(){const _0x321a16=['6772680wVWeDh','error','requires','application/json','11vNujdu','signal','AI_ERROR_GET_PARAMETERS','makeRequest','editor','18cDiqJj','33094nMoNuZ','_prepareRequestHeaders','11647884hTsXzq','textAdapter','get','25nNkPnk','AI_ERROR_GET_HEADERS','AbortError','assign','3075296CCXGOq','reject','10OphZdI','resolve','plugins','catch','685779LsHsfD','6035283UJAfVO','12iJzAMq','aborted','locale','object','abort','name','sendRequest','aitextadapter-send-request-failed','init','abortController','_prepareRequestParameters','1468715nXsBKR'];_0x5d13=function(){return _0x321a16;};return _0x5d13();}import{AIAdapter as _0x2cae73,AIRequestError as _0x27835d}from'./aiadapter.js';import{getTranslation as _0x5e13f3}from'../utils/common-translations.js';function _0x37a6(_0x441c44,_0x4db0d5){const _0x5d1333=_0x5d13();return _0x37a6=function(_0x37a6ab,_0x337243){_0x37a6ab=_0x37a6ab-0x1e2;let _0x16142a=_0x5d1333[_0x37a6ab];return _0x16142a;},_0x37a6(_0x441c44,_0x4db0d5);}export class AITextAdapter extends _0x1f237c{[_0x154a62(0x1f1)];static get[_0x154a62(0x1f6)](){return[_0x2cae73];}constructor(_0x7a2dad){const _0x297cd4=_0x154a62;super(_0x7a2dad),this[_0x297cd4(0x1f1)]=new AbortController();}[_0x154a62(0x1f0)](){const _0x53e6df=_0x154a62;this[_0x53e6df(0x1fc)][_0x53e6df(0x1e4)][_0x53e6df(0x202)](_0x2cae73)[_0x53e6df(0x201)]=this;}[_0x154a62(0x1ec)](){const _0x39f383=_0x154a62;this[_0x39f383(0x1f1)][_0x39f383(0x1f9)][_0x39f383(0x1e9)]||(this[_0x39f383(0x1f1)][_0x39f383(0x1ec)](),this[_0x39f383(0x1f1)]=new AbortController());}async[_0x154a62(0x1fb)](_0x25c590){const _0x4f4e2a=_0x154a62;return this[_0x4f4e2a(0x1ee)](_0x25c590)[_0x4f4e2a(0x1e5)](_0xeb256a=>{const _0x1fecd5=_0x4f4e2a;if(_0xeb256a instanceof _0x27835d)return Promise[_0x1fecd5(0x208)](_0xeb256a);if(_0x1fecd5(0x205)==_0xeb256a[_0x1fecd5(0x1ed)])return Promise[_0x1fecd5(0x1e3)]();throw console[_0x1fecd5(0x1f5)](_0xeb256a),new _0x5f2b02(_0x1fecd5(0x1ef),null);});}async[_0x154a62(0x1ff)](_0x2a3b96,_0x680127){const _0x53e57a=_0x154a62,_0x321717=this[_0x53e57a(0x1fc)][_0x53e57a(0x1ea)],_0xdf0a17={'Content-Type':_0x53e57a(0x1f7)};if(_0x53e57a(0x1eb)==typeof _0x2a3b96)Object[_0x53e57a(0x206)](_0xdf0a17,_0x2a3b96);else{if(_0x2a3b96)try{const _0x31310d=await _0x2a3b96(_0x680127);Object[_0x53e57a(0x206)](_0xdf0a17,_0x31310d);}catch{return Promise[_0x53e57a(0x208)](new _0x27835d(_0x5e13f3(_0x321717,_0x53e57a(0x204))));}}return _0xdf0a17;}async[_0x154a62(0x1f2)](_0x24c7e6,_0x1dd0f3){const _0x3d02ec=_0x154a62,_0x3e7c9b=this[_0x3d02ec(0x1fc)][_0x3d02ec(0x1ea)];if(_0x3d02ec(0x1eb)==typeof _0x24c7e6)return _0x24c7e6;try{return await _0x24c7e6(_0x1dd0f3);}catch{return Promise[_0x3d02ec(0x208)](new _0x27835d(_0x5e13f3(_0x3e7c9b,_0x3d02ec(0x1fa))));}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x4d4afd=_0x56fc;(function(_0x49f2df,_0x28c0b2){var _0x492658=_0x56fc,_0x28e69a=_0x49f2df();while(!![]){try{var _0x19e259=parseInt(_0x492658(0xe5))/0x1+parseInt(_0x492658(0xdf))/0x2+-parseInt(_0x492658(0xe6))/0x3+parseInt(_0x492658(0xda))/0x4+parseInt(_0x492658(0xe3))/0x5*(parseInt(_0x492658(0xdc))/0x6)+-parseInt(_0x492658(0xe2))/0x7+-parseInt(_0x492658(0xd7))/0x8;if(_0x19e259===_0x28c0b2)break;else _0x28e69a['push'](_0x28e69a['shift']());}catch(_0x3e0807){_0x28e69a['push'](_0x28e69a['shift']());}}}(_0xb7d2,0x1dec6));function _0x56fc(_0x5a7976,_0x2cc17f){var _0xb7d2b1=_0xb7d2();return _0x56fc=function(_0x56fc92,_0x5ddb01){_0x56fc92=_0x56fc92-0xd7;var _0x14d5a5=_0xb7d2b1[_0x56fc92];return _0x14d5a5;},_0x56fc(_0x5a7976,_0x2cc17f);}import{AITextAdapter as _0xa121a1}from'./aitextadapter.js';import{AIRequestError as _0x21b90c}from'./aiadapter.js';import{getTranslation as _0x4c9e51}from'../utils/common-translations.js';function _0xb7d2(){var _0x3ad8a5=['locale','AWSTextAdapter','981281XhtjvI','1145MVyseN','pluginName','90232FtQfCE','402891YJeUdZ','1436256ObOlmk','init','editor','976740VAQcPb','sendRequest','3102jouIlB','ai-aws-adapter-not-supported','AI_ERROR_AWS_NOT_SUPPORTED','247536fcjULY'];_0xb7d2=function(){return _0x3ad8a5;};return _0xb7d2();}import{logWarning as _0x53a1aa,logError as _0x17cf66}from'ckeditor5/src/utils.js';export class AWSTextAdapter extends _0xa121a1{static get[_0x4d4afd(0xe4)](){var _0x15e44c=_0x4d4afd;return _0x15e44c(0xe1);}[_0x4d4afd(0xd8)](){var _0x51bd9f=_0x4d4afd;super[_0x51bd9f(0xd8)](),_0x53a1aa(_0x51bd9f(0xdd));}async[_0x4d4afd(0xdb)](_0x2e08ed){var _0x1f506f=_0x4d4afd;throw _0x17cf66(_0x1f506f(0xdd)),new _0x21b90c(_0x4c9e51(this[_0x1f506f(0xd9)][_0x1f506f(0xe0)],_0x1f506f(0xde)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x1abac0=_0x34ff;(function(_0x451d18,_0x247b2c){const _0x288620=_0x34ff,_0x550a3a=_0x451d18();while(!![]){try{const _0x49b88a=-parseInt(_0x288620(0x167))/0x1+-parseInt(_0x288620(0x179))/0x2*(parseInt(_0x288620(0x16b))/0x3)+parseInt(_0x288620(0x164))/0x4*(-parseInt(_0x288620(0x141))/0x5)+-parseInt(_0x288620(0x180))/0x6*(parseInt(_0x288620(0x14b))/0x7)+parseInt(_0x288620(0x15a))/0x8+-parseInt(_0x288620(0x157))/0x9*(-parseInt(_0x288620(0x142))/0xa)+parseInt(_0x288620(0x16a))/0xb*(parseInt(_0x288620(0x147))/0xc);if(_0x49b88a===_0x247b2c)break;else _0x550a3a['push'](_0x550a3a['shift']());}catch(_0x1c7fe0){_0x550a3a['push'](_0x550a3a['shift']());}}}(_0xfb75,0xae17c));function _0x34ff(_0x145f7c,_0xf9dcb2){const _0xfb75d1=_0xfb75();return _0x34ff=function(_0x34ffda,_0x5d632a){_0x34ffda=_0x34ffda-0x139;let _0x12a0d5=_0xfb75d1[_0x34ffda];return _0x12a0d5;},_0x34ff(_0x145f7c,_0xf9dcb2);}import{AITextAdapter as _0x3c9403}from'./aitextadapter.js';import{AIRequestError as _0x2bad83}from'./aiadapter.js';import{getTranslation as _0x16ec2e}from'../utils/common-translations.js';export class OpenAITextAdapter extends _0x3c9403{[_0x1abac0(0x14d)];[_0x1abac0(0x145)];[_0x1abac0(0x161)];static get[_0x1abac0(0x15d)](){const _0x227f29=_0x1abac0;return _0x227f29(0x14f);}constructor(_0x4d70e1){const _0x4b5691=_0x1abac0;super(_0x4d70e1),_0x4d70e1[_0x4b5691(0x144)][_0x4b5691(0x15b)](_0x4b5691(0x174),_0x4b5691(0x16f)),_0x4d70e1[_0x4b5691(0x144)][_0x4b5691(0x171)](_0x4b5691(0x16c))||_0x4d70e1[_0x4b5691(0x144)][_0x4b5691(0x15b)](_0x4b5691(0x16c),{'model':_0x4b5691(0x146),'temperature':0x1,'top_p':0x1,'stream':!0x0}),this[_0x4b5691(0x14d)]=_0x4d70e1[_0x4b5691(0x144)][_0x4b5691(0x171)](_0x4b5691(0x174)),this[_0x4b5691(0x145)]=_0x4d70e1[_0x4b5691(0x144)][_0x4b5691(0x171)](_0x4b5691(0x176))||{},this[_0x4b5691(0x161)]=_0x4d70e1[_0x4b5691(0x144)][_0x4b5691(0x171)](_0x4b5691(0x16c));}async[_0x1abac0(0x159)]({query:_0x18c2a9,context:_0x15510c,onData:_0x71e6a2,actionId:_0x85daf8}){const _0x10e1bf=_0x1abac0,_0x369a0f=this[_0x10e1bf(0x170)][_0x10e1bf(0x154)],_0x1cfc1a=await this[_0x10e1bf(0x13c)](_0x18c2a9,_0x15510c,_0x85daf8),_0x322a2c=await this[_0x10e1bf(0x172)](this[_0x10e1bf(0x145)],_0x85daf8),_0x2cc8d9=await this[_0x10e1bf(0x15e)](this[_0x10e1bf(0x161)],_0x85daf8),_0x55923c={'messages':_0x1cfc1a,..._0x2cc8d9},_0x6fc555={'method':_0x10e1bf(0x13b),'headers':_0x322a2c,'body':JSON[_0x10e1bf(0x160)](_0x55923c),'signal':this[_0x10e1bf(0x175)][_0x10e1bf(0x13a)]},_0x4ab719=await fetch(this[_0x10e1bf(0x14d)],_0x6fc555);if(_0x4ab719['ok'])return _0x2cc8d9[_0x10e1bf(0x163)]?await this[_0x10e1bf(0x148)](_0x4ab719,_0x71e6a2):await this[_0x10e1bf(0x150)](_0x4ab719,_0x71e6a2),Promise[_0x10e1bf(0x177)]();{const _0x4b9e96=await _0x4ab719[_0x10e1bf(0x168)]();return _0x4b9e96[_0x10e1bf(0x158)](_0x10e1bf(0x140))?Promise[_0x10e1bf(0x17a)](new _0x2bad83(_0x16ec2e(_0x369a0f,_0x10e1bf(0x17f)))):_0x4b9e96[_0x10e1bf(0x158)](_0x10e1bf(0x17c))?Promise[_0x10e1bf(0x17a)](new _0x2bad83(_0x16ec2e(_0x369a0f,_0x10e1bf(0x155)))):Promise[_0x10e1bf(0x17a)](new Error(_0x4b9e96));}}async[_0x1abac0(0x13c)](_0x493a24,_0x4253fb,_0x32200c){const _0x1cd117=_0x1abac0;let _0x15de61,_0x29ff9b;return _0x4253fb?(_0x15de61=_0x1cd117(0x153),_0x29ff9b=_0x1cd117(0x166)+_0x493a24+_0x1cd117(0x15f)+_0x4253fb):(_0x15de61=_0x1cd117(0x143),_0x29ff9b=_0x493a24),[{'role':_0x1cd117(0x139),'content':_0x15de61},{'role':_0x1cd117(0x178),'content':_0x29ff9b}];}async[_0x1abac0(0x148)](_0x9afb40,_0x481224){const _0x4aeae7=_0x1abac0,_0x42eab0=_0x9afb40[_0x4aeae7(0x149)][_0x4aeae7(0x13f)](),_0x1a1bd7=new TextDecoder();let _0x4f5e11='',_0x4f50d3='',_0x22f2d7='',_0x2350f8=!0x1;for(;!_0x2350f8;){const {done:_0x5699d8,value:_0x45ef72}=await _0x42eab0[_0x4aeae7(0x16d)](),_0x39f9ab=_0x4f5e11+_0x1a1bd7[_0x4aeae7(0x16e)](_0x45ef72);let _0x311726='';_0x2350f8=_0x5699d8;try{_0x311726=this[_0x4aeae7(0x169)](_0x39f9ab),_0x4f5e11='';}catch{_0x4f5e11=_0x39f9ab;continue;}_0x4f50d3+=_0x311726,!_0x2350f8&&this[_0x4aeae7(0x17b)](_0x4f50d3)||_0x4f50d3&&(_0x22f2d7+=_0x4f50d3,_0x4f50d3='',_0x481224(_0x22f2d7));}return Promise[_0x4aeae7(0x177)]();}async[_0x1abac0(0x150)](_0x2d5543,_0x25cdbb){const _0x1326e9=_0x1abac0;return _0x25cdbb((await _0x2d5543[_0x1326e9(0x152)]())[_0x1326e9(0x14c)][0x0][_0x1326e9(0x13e)][_0x1326e9(0x173)]),Promise[_0x1326e9(0x177)]();}[_0x1abac0(0x17b)](_0x44f4ed){const _0x1b1d16=_0x1abac0,_0x1ba4b2=_0x44f4ed[_0x1b1d16(0x151)]('<')[_0x1b1d16(0x17d)]!==_0x44f4ed[_0x1b1d16(0x151)]('>')[_0x1b1d16(0x17d)],_0x2b071d=_0x44f4ed[_0x1b1d16(0x17d)]<0x1e;return _0x1ba4b2&&_0x2b071d;}[_0x1abac0(0x169)](_0x190e85){const _0x403706=_0x1abac0;return _0x190e85[_0x403706(0x151)](/\n(?![^{]*\})/g)[_0x403706(0x156)](_0x4ceecc=>_0x4ceecc[_0x403706(0x14e)](_0x403706(0x165),''))[_0x403706(0x14a)](_0x353bec=>_0x353bec&&_0x353bec[_0x403706(0x17d)]>0x0&&_0x403706(0x162)!==_0x353bec)[_0x403706(0x156)](_0x560716=>{const _0x282e12=_0x403706,{choices:_0x492e06}=JSON[_0x282e12(0x17e)](_0x560716);if(_0x492e06[0x0]?.[_0x282e12(0x15c)]?.[_0x282e12(0x173)])return _0x492e06[0x0][_0x282e12(0x15c)][_0x282e12(0x173)];})[_0x403706(0x14a)](_0xe29dd4=>_0xe29dd4)[_0x403706(0x13d)]('');}}function _0xfb75(){const _0x1f84cd=['ai.assistant.adapter.openAI.requestParameters','read','decode','https://api.openai.com/v1/chat/completions','editor','get','_prepareRequestHeaders','content','ai.assistant.adapter.openAI.apiUrl','abortController','ai.assistant.adapter.openAI.requestHeaders','resolve','user','2393666eONgaj','reject','_isBufferIncomplete','Moderation','length','parse','AI_ERROR_CONTEXT_LENGTH','102AFJgeG','system','signal','POST','prepareMessages','join','message','getReader','context_length_exceeded','3615npzfBv','1770ntCeza','Your\x20task\x20is\x20to\x20generate\x20HTML\x20content\x20accordingly\x20to\x20the\x20given\x20instruction.\x20Never\x20include\x20<img>\x20tag\x20in\x20your\x20response\x20even\x20if\x20asked\x20for.\x20Your\x20answer\x20must\x20be\x20a\x20well-structured\x20and\x20properly\x20formatted\x20HTML\x20code.\x20Answer\x20only\x20with\x20the\x20generated\x20HTML\x20content.\x20Do\x20not\x20add\x20any\x20additional\x20remarks\x20or\x20notes.\x20Do\x20not\x20act\x20like\x20a\x20chatbot\x20or\x20a\x20real\x20person.','config','_requestHeaders','gpt-4o','1356AaRlDy','_readStreamableResponse','body','filter','511378RyaFPh','choices','_apiUrl','replace','OpenAITextAdapter','_readStaticResponse','split','json','Your\x20task\x20is\x20to\x20execute\x20the\x20instruction\x20using\x20the\x20provided\x20HTML\x20content.\x20Follow\x20the\x20instruction\x20closely.\x20Your\x20answer\x20must\x20be\x20a\x20properly\x20formatted\x20HTML\x20code.\x20Do\x20not\x20add\x20any\x20additional\x20remarks\x20or\x20notes.\x20Do\x20not\x20act\x20like\x20a\x20chatbot\x20or\x20a\x20real\x20person.','locale','AI_ERROR_MODERATION','map','5931aefxSS','includes','sendRequest','4966888HPgynT','define','delta','pluginName','_prepareRequestParameters','\x0aYou\x20must\x20keep\x20the\x20text\x20formatting.\x0a\x0aContent:\x0a','stringify','_requestParameters','[DONE]','stream','3176xwTkoI','data:\x20','Instruction:\x0a','311998fGJPvT','text','_cleanUpData','321277boXEtD','3tsFBdl'];_0xfb75=function(){return _0x1f84cd;};return _0xfb75();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x561081=_0xfc7d;(function(_0x14ef0d,_0x194734){const _0x23b906=_0xfc7d,_0x10329=_0x14ef0d();while(!![]){try{const _0xe99fe3=parseInt(_0x23b906(0x1cf))/0x1+parseInt(_0x23b906(0x173))/0x2*(parseInt(_0x23b906(0x1be))/0x3)+-parseInt(_0x23b906(0x1d4))/0x4*(parseInt(_0x23b906(0x1bc))/0x5)+parseInt(_0x23b906(0x16d))/0x6+parseInt(_0x23b906(0x18a))/0x7+-parseInt(_0x23b906(0x166))/0x8+-parseInt(_0x23b906(0x19c))/0x9*(-parseInt(_0x23b906(0x1c6))/0xa);if(_0xe99fe3===_0x194734)break;else _0x10329['push'](_0x10329['shift']());}catch(_0x4d3ea8){_0x10329['push'](_0x10329['shift']());}}}(_0x5191,0x9af95));function _0xfc7d(_0x59fe23,_0x9f6c5d){const _0x519117=_0x5191();return _0xfc7d=function(_0xfc7d27,_0x1bc620){_0xfc7d27=_0xfc7d27-0x166;let _0x5dea4=_0x519117[_0xfc7d27];return _0x5dea4;},_0xfc7d(_0x59fe23,_0x9f6c5d);}import{Plugin as _0xe0a83b}from'ckeditor5/src/core.js';import{AIAssistantUI as _0x2507f9}from'./aiassistantui.js';import{AIAssistantEditing as _0x5e3226}from'./aiassistantediting.js';import{getTranslation as _0x3c6e35}from'./utils/common-translations.js';import{normalizeCommandsConfig as _0x3e3d4a}from'./utils/normalizecommandsconfig.js';export class AIAssistant extends _0xe0a83b{static get[_0x561081(0x19e)](){return[_0x2507f9,_0x5e3226];}static get[_0x561081(0x19f)](){const _0x94f049=_0x561081;return _0x94f049(0x175);}static get[_0x561081(0x188)](){return!0x0;}static get[_0x561081(0x199)](){return!0x0;}constructor(_0x1b772e){const _0x145df8=_0x561081;super(_0x1b772e);const _0x5e46ec=_0x1b772e[_0x145df8(0x1cd)],_0x2517f9=_0x1b772e[_0x145df8(0x19a)];_0x5e46ec[_0x145df8(0x1c4)](_0x145df8(0x191),!0x0),_0x5e46ec[_0x145df8(0x1c4)](_0x145df8(0x1cc),getDefaultAICommands(_0x2517f9)),_0x5e46ec[_0x145df8(0x1c4)](_0x145df8(0x1d3),[]),_0x5e46ec[_0x145df8(0x1c4)](_0x145df8(0x18e),[]);let _0x5a59ff=_0x3e3d4a(_0x5e46ec[_0x145df8(0x198)](_0x145df8(0x1cc)),_0x2517f9);const _0x4a9492=_0x5e46ec[_0x145df8(0x198)](_0x145df8(0x1d3)),_0x541a4d=_0x5e46ec[_0x145df8(0x198)](_0x145df8(0x18e));_0x4a9492[_0x145df8(0x17a)](_0x6fe8e6=>{const _0x399d7f=_0x145df8,_0x5ccce5=_0x5a59ff[_0x399d7f(0x1ab)](_0x332ab0=>_0x332ab0[_0x399d7f(0x19d)]===_0x6fe8e6[_0x399d7f(0x19d)]);_0x5ccce5?_0x5ccce5[_0x399d7f(0x17c)]=_0x5ccce5[_0x399d7f(0x17c)][_0x399d7f(0x184)](_0x6fe8e6[_0x399d7f(0x17c)]):_0x5a59ff[_0x399d7f(0x1a5)](_0x6fe8e6);}),_0x5a59ff=_0x5a59ff[_0x145df8(0x1b1)](_0x1ee2c1=>!_0x541a4d[_0x145df8(0x18b)](_0x1ee2c1[_0x145df8(0x19d)])),_0x5a59ff[_0x145df8(0x17a)](_0x3508cb=>{const _0x59ebfb=_0x145df8;_0x3508cb[_0x59ebfb(0x17c)]=_0x3508cb[_0x59ebfb(0x17c)][_0x59ebfb(0x1b1)](_0x5cdadf=>!_0x541a4d[_0x59ebfb(0x18b)](_0x5cdadf['id']));}),_0x5e46ec[_0x145df8(0x1c0)](_0x145df8(0x1cc),_0x5a59ff);}}function _0x5191(){const _0x1a836b=['Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','Change\x20style','translateEnglish','translatePortuguese','Portuguese','translateChinese','105EQNVJx','Translate\x20the\x20content\x20to\x20English\x20language.','414489peAwom','translateArabic','set','simplifyLanguage','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','Translate\x20the\x20content\x20to\x20Arabic\x20language.','define','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','17950HHasrM','Translate\x20the\x20content\x20to\x20French\x20language.','business','translate','legal','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','ai.assistant.commands','config','poetic','1084400VYQYri','Continue','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','Edit\x20or\x20review','ai.assistant.extraCommandGroups','210468tGYObG','6770672FPMnBz','Make\x20longer','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','Translate','continue','translateSpanish','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','2796144iNTsTJ','Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','English','makeShorter','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','Make\x20shorter','2yvuIRO','Improve\x20writing','AIAssistant','translateFrench','direct','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','Summarize','forEach','translateGerman','commands','changeTone','journalism','Arabic','Simplify\x20language','editOrReview','Change\x20tone','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','concat','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','summarize','Translate\x20the\x20content\x20to\x20German\x20language.','isOfficialPlugin','professional','2349494fxLPqI','includes','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','Professional','ai.assistant.removeCommands','Business','French','ai.assistant.preserveComments','Translate\x20the\x20content\x20to\x20Hindi\x20language.','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','Journalism','Confident','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','Generate\x20from\x20selection','get','isPremiumPlugin','locale','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','2817jiSmcX','groupId','requires','pluginName','Casual','friendly','Poetic','Spanish','Legal','push','confident','Hindi','translateHindi','generate','Simplified\x20Chinese','find','makeLonger','German','Friendly','changeStyle','improveWriting','filter','casual','Translate\x20the\x20content\x20to\x20Spanish\x20language.','Direct','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.'];_0x5191=function(){return _0x1a836b;};return _0x5191();}export function getDefaultAICommands(_0x382e12){const _0x5851c5=_0x561081;return[{'groupId':_0x5851c5(0x181),'groupLabel':_0x3c6e35(_0x382e12,_0x5851c5(0x1d2)),'commands':[{'id':_0x5851c5(0x1b0),'label':_0x3c6e35(_0x382e12,_0x5851c5(0x174)),'prompt':_0x5851c5(0x19b)},{'id':_0x5851c5(0x170),'label':_0x3c6e35(_0x382e12,_0x5851c5(0x172)),'prompt':_0x5851c5(0x1c2)},{'id':_0x5851c5(0x1ac),'label':_0x3c6e35(_0x382e12,_0x5851c5(0x167)),'prompt':_0x5851c5(0x183)},{'id':_0x5851c5(0x1c1),'label':_0x3c6e35(_0x382e12,_0x5851c5(0x180)),'prompt':_0x5851c5(0x178)}]},{'groupId':_0x5851c5(0x1a9),'groupLabel':_0x3c6e35(_0x382e12,_0x5851c5(0x197)),'commands':[{'id':_0x5851c5(0x186),'label':_0x3c6e35(_0x382e12,_0x5851c5(0x179)),'prompt':_0x5851c5(0x16e)},{'id':_0x5851c5(0x16a),'label':_0x3c6e35(_0x382e12,_0x5851c5(0x1d0)),'prompt':_0x5851c5(0x18c)}]},{'groupId':_0x5851c5(0x17d),'groupLabel':_0x3c6e35(_0x382e12,_0x5851c5(0x182)),'commands':[{'id':_0x5851c5(0x189),'label':_0x3c6e35(_0x382e12,_0x5851c5(0x18d)),'prompt':_0x5851c5(0x168)},{'id':_0x5851c5(0x1b2),'label':_0x3c6e35(_0x382e12,_0x5851c5(0x1a0)),'prompt':_0x5851c5(0x1b6)},{'id':_0x5851c5(0x177),'label':_0x3c6e35(_0x382e12,_0x5851c5(0x1b4)),'prompt':_0x5851c5(0x16c)},{'id':_0x5851c5(0x1a6),'label':_0x3c6e35(_0x382e12,_0x5851c5(0x195)),'prompt':_0x5851c5(0x1cb)},{'id':_0x5851c5(0x1a1),'label':_0x3c6e35(_0x382e12,_0x5851c5(0x1ae)),'prompt':_0x5851c5(0x1d1)}]},{'groupId':_0x5851c5(0x1af),'groupLabel':_0x3c6e35(_0x382e12,_0x5851c5(0x1b7)),'commands':[{'id':_0x5851c5(0x1c8),'label':_0x3c6e35(_0x382e12,_0x5851c5(0x18f)),'prompt':_0x5851c5(0x185)},{'id':_0x5851c5(0x1ca),'label':_0x3c6e35(_0x382e12,_0x5851c5(0x1a4)),'prompt':_0x5851c5(0x196)},{'id':_0x5851c5(0x17e),'label':_0x3c6e35(_0x382e12,_0x5851c5(0x194)),'prompt':_0x5851c5(0x193)},{'id':_0x5851c5(0x1ce),'label':_0x3c6e35(_0x382e12,_0x5851c5(0x1a2)),'prompt':_0x5851c5(0x171)}]},{'groupId':_0x5851c5(0x1c9),'groupLabel':_0x3c6e35(_0x382e12,_0x5851c5(0x169)),'commands':[{'id':_0x5851c5(0x1b8),'label':_0x3c6e35(_0x382e12,_0x5851c5(0x16f)),'prompt':_0x5851c5(0x1bd)},{'id':_0x5851c5(0x16b),'label':_0x3c6e35(_0x382e12,_0x5851c5(0x1a3)),'prompt':_0x5851c5(0x1b3)},{'id':_0x5851c5(0x1b9),'label':_0x3c6e35(_0x382e12,_0x5851c5(0x1ba)),'prompt':_0x5851c5(0x1c5)},{'id':_0x5851c5(0x17b),'label':_0x3c6e35(_0x382e12,_0x5851c5(0x1ad)),'prompt':_0x5851c5(0x187)},{'id':_0x5851c5(0x176),'label':_0x3c6e35(_0x382e12,_0x5851c5(0x190)),'prompt':_0x5851c5(0x1c7)},{'id':_0x5851c5(0x1bb),'label':_0x3c6e35(_0x382e12,_0x5851c5(0x1aa)),'prompt':_0x5851c5(0x1b5)},{'id':_0x5851c5(0x1a8),'label':_0x3c6e35(_0x382e12,_0x5851c5(0x1a7)),'prompt':_0x5851c5(0x192)},{'id':_0x5851c5(0x1bf),'label':_0x3c6e35(_0x382e12,_0x5851c5(0x17f)),'prompt':_0x5851c5(0x1c3)}]}];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x1a0889=_0x5579;(function(_0x3329f5,_0x497a76){const _0x4838ed=_0x5579,_0x2a84b4=_0x3329f5();while(!![]){try{const _0x55c9b6=parseInt(_0x4838ed(0xed))/0x1+-parseInt(_0x4838ed(0x10c))/0x2+parseInt(_0x4838ed(0x127))/0x3+-parseInt(_0x4838ed(0x11a))/0x4*(-parseInt(_0x4838ed(0x13c))/0x5)+-parseInt(_0x4838ed(0x10a))/0x6+-parseInt(_0x4838ed(0x107))/0x7*(-parseInt(_0x4838ed(0x139))/0x8)+parseInt(_0x4838ed(0xff))/0x9*(parseInt(_0x4838ed(0xe8))/0xa);if(_0x55c9b6===_0x497a76)break;else _0x2a84b4['push'](_0x2a84b4['shift']());}catch(_0x9214d5){_0x2a84b4['push'](_0x2a84b4['shift']());}}}(_0x147d,0xa5b79));import{uid as _0x400760}from'ckeditor5/src/utils.js';import{Plugin as _0x54531c}from'ckeditor5/src/core.js';function _0x147d(){const _0x24d62b=['editing','table','getRows','setSelection','end','paste','showFakeVisualSelection','getMarkersGroup','first','ck-ai-assistant-ui_theme','from','findAncestor','contentInsertion','pop','isContent','fire','init','getSelectedTableCells','getFirstRange','model','isAtEnd','_resetContentOfSelectedTableCells','createSelection','50vNzxvT','getRange','markers','afterInit','getRowIndexes','209665ubjIrt','createUIElement','markerToElement','ck-fake-ai-selection_collapsed','isCollapsed','text/html','ai.assistant.useTheme','markerRange','once','insertContent','join','getLastMatchingPosition','deleteContent','has','insertContentBelow','_getTableRowCountFromContent','last','change','617319QyMYpF','getRanges','_pasteHTMLUsingClipboard','off','setData','element','schema','hideFakeVisualSelection','407519XgAvGk','insertRows','updateMarker','5592846apsUXS','document','1796722rFCxew','ck-fake-ai-selection','_prepareTableInsertBelowPosition','lowest','parse','pluginName','span','editingDowncast','createPositionAt','_getAISelection','TableUtils','_createEmptyTableRows','removeMarker','getChild','512596tqbput','filter','forEach','isOfficialPlugin','push','config','map','fromCharCode','_getDefaultInsertBelowPosition','href','for','isPremiumPlugin','data','629373jTdpFZ','createRange','resultRange','getLastPosition','length','AIAssistantEditing','canEditAt','getColumnIndexes','editor','DataTransfer','getSelectedBlocks','plugins','markerToHighlight','get','ai-ui','addMarker','addClass','selection','152vqYkaG','conversion','start','25GfvWkO','createPositionAfter','getChildren'];_0x147d=function(){return _0x24d62b;};return _0x147d();}import{ClipboardPipeline as _0x30a727}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x1205d1,ViewDataTransfer as _0x3b472a}from'ckeditor5/src/engine.js';function _0x5579(_0x275203,_0x48e223){const _0x147d54=_0x147d();return _0x5579=function(_0x557908,_0x3943b6){_0x557908=_0x557908-0xd6;let _0x3761f0=_0x147d54[_0x557908];return _0x3761f0;},_0x5579(_0x275203,_0x48e223);}const w=globalThis[_0x1a0889(0x130)],f=_0x1a0889(0x135);export class AIAssistantEditing extends _0x54531c{static get[_0x1a0889(0x111)](){const _0x1d692c=_0x1a0889;return _0x1d692c(0x12c);}static get[_0x1a0889(0x11d)](){return!0x0;}static get[_0x1a0889(0x125)](){return!0x0;}[_0x1a0889(0xe1)](){const _0x4e119b=_0x1a0889,{editor:_0x3e1eaa}=this,_0x12d955=[_0x4e119b(0x10d)];_0x3e1eaa[_0x4e119b(0x11f)][_0x4e119b(0x134)](_0x4e119b(0xf3))&&_0x12d955[_0x4e119b(0x11e)](_0x4e119b(0xda)),_0x3e1eaa[_0x4e119b(0x13a)][_0x4e119b(0x124)](_0x4e119b(0x113))[_0x4e119b(0x133)]({'model':f,'view':{'classes':_0x12d955,'priority':0xc}}),_0x3e1eaa[_0x4e119b(0x13a)][_0x4e119b(0x124)](_0x4e119b(0x113))[_0x4e119b(0xef)]({'model':f,'view':(_0xb5780,{writer:_0x37d0dd})=>{const _0x57c732=_0x4e119b;if(!_0xb5780[_0x57c732(0xf4)][_0x57c732(0xf1)])return null;const _0x5a2e23=_0x37d0dd[_0x57c732(0xee)](_0x57c732(0x112));return _0x37d0dd[_0x57c732(0x137)]([_0x57c732(0x10d),_0x57c732(0xf0)],_0x5a2e23),_0x5a2e23;}});}[_0x1a0889(0xeb)](){!async function(_0x3c0193){const _0x19904e=_0x3ee5b8([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]),_0x30bf8e=0x3dffc4e1,_0x2d4b91=0x3df843b1^_0x30bf8e,_0x5df20c=window[_0x3ee5b8([0x44,0x61,0x74,0x65])][_0x3ee5b8([0x6e,0x6f,0x77])](),_0x2b1f79=_0x3c0193[_0x3ee5b8([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2f1296=new window[(_0x3ee5b8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xa2f5b4=>{_0x2b1f79[_0x3ee5b8([0x6f,0x6e,0x63,0x65])](_0x3ee5b8([0x72,0x65,0x61,0x64,0x79]),_0xa2f5b4);}),_0x20ee57={[_0x3ee5b8([0x6b,0x74,0x79])]:_0x3ee5b8([0x45,0x43]),[_0x3ee5b8([0x75,0x73,0x65])]:_0x3ee5b8([0x73,0x69,0x67]),[_0x3ee5b8([0x63,0x72,0x76])]:_0x3ee5b8([0x50,0x2d,0x32,0x35,0x36]),[_0x3ee5b8([0x78])]:_0x3ee5b8([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]),[_0x3ee5b8([0x79])]:_0x3ee5b8([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]),[_0x3ee5b8([0x61,0x6c,0x67])]:_0x3ee5b8([0x45,0x53,0x32,0x35,0x36])},_0x404e8c=_0x2b1f79[_0x3ee5b8([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3ee5b8([0x67,0x65,0x74])](_0x3ee5b8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x53f4c4(){let _0x21ba99,_0x51c6b5=null,_0x16de3e=null;try{if(_0x404e8c==_0x3ee5b8([0x47,0x50,0x4c]))return _0x3ee5b8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x21ba99=_0x5835e6(),!_0x21ba99)return _0x3ee5b8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x21ba99[_0x3ee5b8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x16de3e=_0x6cc9be(_0x21ba99[_0x3ee5b8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x21ba99[_0x3ee5b8([0x6a,0x74,0x69])])),await _0x51feb9()?_0x131e21()?_0x2fac6f()?_0x3ee5b8([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4be102()?(_0x21ba99[_0x3ee5b8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3ee5b8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x51c6b5=_0x3894ae(_0x3ee5b8([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x36a6bb()):_0x3ee5b8([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3ee5b8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3ee5b8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3ee5b8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2fac6f(){const _0x3c63a1=[_0x3ee5b8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3ee5b8([0x74,0x72,0x69,0x61,0x6c])][_0x3ee5b8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x21ba99[_0x3ee5b8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5df20c/0x3e8:0xe10*_0x2d4b91;return _0x21ba99[_0x3ee5b8([0x65,0x78,0x70])]<_0x3c63a1;}function _0x131e21(){const _0x171351=_0x21ba99[_0x3ee5b8([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x171351&&(!!_0x171351[_0x3ee5b8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3ee5b8([0x2a]))||!!_0x171351[_0x3ee5b8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3ee5b8([0x41,0x49])));}function _0x4be102(){const _0x298eb7=_0x5579,_0x400305=_0x21ba99[_0x3ee5b8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x400305||0x0==_0x400305[_0x3ee5b8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xe22a68}=new URL(window[_0x3ee5b8([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x298eb7(0x123)]);if(_0x400305[_0x3ee5b8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe22a68))return!0x0;const _0x10e695=_0xe22a68[_0x3ee5b8([0x73,0x70,0x6c,0x69,0x74])](_0x3ee5b8([0x2e]));return _0x400305[_0x3ee5b8([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2c2893=>_0x2c2893[_0x3ee5b8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3ee5b8([0x2a])))[_0x3ee5b8([0x6d,0x61,0x70])](_0x56c481=>_0x56c481[_0x3ee5b8([0x73,0x70,0x6c,0x69,0x74])](_0x3ee5b8([0x2e])))[_0x3ee5b8([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x26425c=>_0x26425c[_0x3ee5b8([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x10e695[_0x3ee5b8([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3ee5b8([0x6d,0x61,0x70])](_0x15c8ea=>Array(_0x10e695[_0x3ee5b8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x15c8ea[_0x3ee5b8([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3ee5b8([0x66,0x69,0x6c,0x6c])](_0x15c8ea[0x0]===_0x3ee5b8([0x2a])?_0x3ee5b8([0x2a]):'')[_0x3ee5b8([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x15c8ea))[_0x3ee5b8([0x73,0x6f,0x6d,0x65])](_0x423ae1=>_0x10e695[_0x3ee5b8([0x65,0x76,0x65,0x72,0x79])]((_0x3623f9,_0xaa0871)=>_0x423ae1[_0xaa0871]===_0x3623f9||_0x423ae1[_0xaa0871]===_0x3ee5b8([0x2a])));}function _0x36a6bb(){return _0x51c6b5&&_0x16de3e?new window[(_0x3ee5b8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4b1d53,_0x5548b8)=>{_0x51c6b5[_0x3ee5b8([0x74,0x68,0x65,0x6e])](_0x4b1d53,_0x5548b8),_0x16de3e[_0x3ee5b8([0x74,0x68,0x65,0x6e])](_0x51e290=>{_0x51e290!=_0x3ee5b8([0x56,0x61,0x6c,0x69,0x64])&&_0x4b1d53(_0x51e290);},_0x5548b8);}):_0x51c6b5||_0x16de3e||_0x3ee5b8([0x56,0x61,0x6c,0x69,0x64]);}}function _0x6cc9be(_0x1915d1,_0x2e924b){return new window[(_0x3ee5b8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5a2d53=>{if(_0x5f06b5())return _0x5a2d53(_0x3ee5b8([0x56,0x61,0x6c,0x69,0x64]));_0x17eccf(),_0x2b1f79[_0x3ee5b8([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3ee5b8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3f1d11=!0x1;const _0x21d179=_0x400760();function _0x401998(_0x46aeca){return!!_0x46aeca&&(typeof _0x46aeca===_0x3ee5b8([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x46aeca===_0x3ee5b8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x46aeca[_0x3ee5b8([0x74,0x68,0x65,0x6e])]===_0x3ee5b8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x46aeca[_0x3ee5b8([0x63,0x61,0x74,0x63,0x68])]===_0x3ee5b8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3709b0(_0x2d1563){_0x422f2d(_0x2d1563)[_0x3ee5b8([0x74,0x68,0x65,0x6e])](_0xd95556=>{if(!_0xd95556||_0xd95556[_0x3ee5b8([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3ee5b8([0x6f,0x6b]))return _0x3ee5b8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x29c907(_0x37d885(_0x21d179+_0x2e924b))!=_0xd95556[_0x3ee5b8([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3ee5b8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3ee5b8([0x56,0x61,0x6c,0x69,0x64]);})[_0x3ee5b8([0x74,0x68,0x65,0x6e])](_0x47fd42=>(_0x5e8eee(),_0x47fd42),()=>{const _0x580cd9=_0x513b70();return null==_0x580cd9?(_0x5e8eee(),_0x3ee5b8([0x56,0x61,0x6c,0x69,0x64])):_0x3ee5b8(_0x5df20c-_0x580cd9>(0x19f340e1^_0x30bf8e)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3ee5b8([0x74,0x68,0x65,0x6e])](_0x5a2d53)[_0x3ee5b8([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5a2d53(_0x3ee5b8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x428da8=0x3dc92a61^_0x30bf8e;function _0x5e8eee(){const _0x8720ea=_0x3ee5b8([0x6c,0x6c,0x63,0x74,0x2d])+_0x29c907(_0x37d885(_0x1915d1)),_0x238139=_0x12a968(_0x29c907(window[_0x3ee5b8([0x4d,0x61,0x74,0x68])][_0x3ee5b8([0x63,0x65,0x69,0x6c])](_0x5df20c/_0x428da8)));window[_0x3ee5b8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3ee5b8([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x8720ea,_0x238139);}function _0x513b70(){const _0xb94f19=_0x3ee5b8([0x6c,0x6c,0x63,0x74,0x2d])+_0x29c907(_0x37d885(_0x1915d1)),_0x4bd781=window[_0x3ee5b8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3ee5b8([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xb94f19);return _0x4bd781?window[_0x3ee5b8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x12a968(_0x4bd781),0x10)*_0x428da8:null;}function _0x422f2d(_0x2583c6){return new window[(_0x3ee5b8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1a77c5,_0x2449f6)=>{_0x2583c6[_0x3ee5b8([0x74,0x68,0x65,0x6e])](_0x1a77c5,_0x2449f6),window[_0x3ee5b8([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2449f6,0x3dfe1021^_0x30bf8e);});}}_0x2b1f79[_0x3ee5b8([0x6f,0x6e])](_0x3ee5b8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4674e7,_0x4a1d13)=>{if(_0x4a1d13[0x0]!=_0x1915d1)return _0x5a2d53(_0x3ee5b8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4a1d13[0x1]={..._0x4a1d13[0x1],[_0x3ee5b8([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x21d179};},{[_0x3ee5b8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3ee5b8([0x68,0x69,0x67,0x68])}),_0x2b1f79[_0x3ee5b8([0x6f,0x6e])](_0x3ee5b8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x11309d=>{_0x401998(_0x11309d[_0x3ee5b8([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3f1d11=!0x0,_0x3709b0(_0x11309d[_0x3ee5b8([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3ee5b8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3ee5b8([0x6c,0x6f,0x77])}),_0x2f1296[_0x3ee5b8([0x74,0x68,0x65,0x6e])](()=>{_0x3f1d11||_0x5a2d53(_0x3ee5b8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5f06b5(){return _0x2b1f79[_0x3ee5b8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3ee5b8([0x76,0x69,0x65,0x77])][_0x3ee5b8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3ee5b8([0x61,0x75,0x74,0x6f]);}function _0x17eccf(){_0x2b1f79[_0x3ee5b8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3ee5b8([0x76,0x69,0x65,0x77])][_0x3ee5b8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3ee5b8([0x61,0x75,0x74,0x6f]);}}function _0x3894ae(_0x4e9d6e){const _0x586860=[new window[(_0x3ee5b8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x44fd66=>setTimeout(_0x44fd66,0x3df6fa2d^_0x30bf8e)),_0x2f1296[_0x3ee5b8([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3ee5b8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3d4341=>{let _0xc2dd24=0x0;_0x2b1f79[_0x3ee5b8([0x6d,0x6f,0x64,0x65,0x6c])][_0x3ee5b8([0x6f,0x6e])](_0x3ee5b8([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x125fb8,_0x3ead9c)=>{_0x3ead9c[0x0][_0x3ee5b8([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xc2dd24++,_0xc2dd24==(0x3dffc109^_0x30bf8e)&&(_0x3d4341(),_0x125fb8[_0x3ee5b8([0x6f,0x66,0x66])]());});}))];return window[_0x3ee5b8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3ee5b8([0x72,0x61,0x63,0x65])](_0x586860)[_0x3ee5b8([0x74,0x68,0x65,0x6e])](()=>_0x4e9d6e);}async function _0xac7ad3(){await _0x2f1296,_0x2b1f79[_0x3ee5b8([0x6d,0x6f,0x64,0x65,0x6c])][_0x3ee5b8([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x483a3f,_0x2b1f79[_0x3ee5b8([0x6d,0x6f,0x64,0x65,0x6c])][_0x3ee5b8([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x483a3f,_0x2b1f79[_0x3ee5b8([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3ee5b8([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xf45ff6(_0x342e5c){const _0x3b5cde=_0x398e9c();_0x2b1f79[_0x3b5cde]=_0x3ee5b8([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x342e5c,_0x342e5c!=_0x3ee5b8([0x56,0x61,0x6c,0x69,0x64])&&_0xac7ad3();}function _0x398e9c(){const _0x3d28ef=window[_0x3ee5b8([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3ee5b8([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3ee5b8([0x6e,0x6f,0x77])]())[_0x3ee5b8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3ee5b8([0x2e]),'');let _0x557e2d=_0x3ee5b8([0x6e]);for(let _0x1514db=0x0;_0x1514db<_0x3d28ef[_0x3ee5b8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1514db+=0x2){let _0x24e33c=window[_0x3ee5b8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3d28ef[_0x3ee5b8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1514db,_0x1514db+0x2));_0x24e33c>=_0x19904e[_0x3ee5b8([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x24e33c-=_0x19904e[_0x3ee5b8([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x557e2d+=_0x19904e[_0x24e33c];}return _0x557e2d;}function _0x5835e6(){const _0xe30356=_0x404e8c[_0x3ee5b8([0x73,0x70,0x6c,0x69,0x74])](_0x3ee5b8([0x2e]));if(0x3!=_0xe30356[_0x3ee5b8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5df50e(_0xe30356[0x1]);function _0x5df50e(_0x482f87){const _0x9acc09=_0x2ff94e(_0x482f87);return _0x9acc09&&_0x1e81ab()?_0x9acc09:null;function _0x1e81ab(){const _0x7bb9a7=_0x9acc09[_0x3ee5b8([0x6a,0x74,0x69])],_0x16caf0=window[_0x3ee5b8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x7bb9a7[_0x3ee5b8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x7bb9a7[_0x3ee5b8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3b518c={..._0x9acc09,[_0x3ee5b8([0x6a,0x74,0x69])]:_0x7bb9a7[_0x3ee5b8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x7bb9a7[_0x3ee5b8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3b518c[_0x3ee5b8([0x76,0x63])],_0x37d885(_0x3b518c)==_0x16caf0;}}}async function _0x51feb9(){let _0x5c4750=!0x0;try{const _0x14b2b5=_0x404e8c[_0x3ee5b8([0x73,0x70,0x6c,0x69,0x74])](_0x3ee5b8([0x2e])),[_0x5e139d,_0x5a5c98,_0xe59279]=_0x14b2b5;return _0x4bb6af(_0x5e139d),await _0x415dae(_0x5e139d,_0x5a5c98,_0xe59279),_0x5c4750;}catch{return!0x1;}function _0x4bb6af(_0x39a1dc){const _0x9bbc7f=_0x2ff94e(_0x39a1dc);_0x9bbc7f&&_0x9bbc7f[_0x3ee5b8([0x61,0x6c,0x67])]==_0x3ee5b8([0x45,0x53,0x32,0x35,0x36])||(_0x5c4750=!0x1);}async function _0x415dae(_0x43ee02,_0x1eecc6,_0x309697){const _0x12ce3f=window[_0x3ee5b8([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3ee5b8([0x66,0x72,0x6f,0x6d])](_0x2978a5(_0x309697),_0x268f78=>_0x268f78[_0x3ee5b8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1160e3=new window[(_0x3ee5b8([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3ee5b8([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x43ee02+_0x3ee5b8([0x2e])+_0x1eecc6),_0x3178ee=window[_0x3ee5b8([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3ee5b8([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3178ee)return;const _0x311c16=await _0x3178ee[_0x3ee5b8([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3ee5b8([0x6a,0x77,0x6b]),_0x20ee57,{[_0x3ee5b8([0x6e,0x61,0x6d,0x65])]:_0x3ee5b8([0x45,0x43,0x44,0x53,0x41]),[_0x3ee5b8([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3ee5b8([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3ee5b8([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3178ee[_0x3ee5b8([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3ee5b8([0x6e,0x61,0x6d,0x65])]:_0x3ee5b8([0x45,0x43,0x44,0x53,0x41]),[_0x3ee5b8([0x68,0x61,0x73,0x68])]:{[_0x3ee5b8([0x6e,0x61,0x6d,0x65])]:_0x3ee5b8([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x311c16,_0x12ce3f,_0x1160e3)||(_0x5c4750=!0x1);}}function _0x2ff94e(_0x34246c){return _0x34246c[_0x3ee5b8([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3ee5b8([0x65,0x79]))?JSON[_0x3ee5b8([0x70,0x61,0x72,0x73,0x65])](_0x2978a5(_0x34246c)):null;}function _0x2978a5(_0x2d0269){return window[_0x3ee5b8([0x61,0x74,0x6f,0x62])](_0x2d0269[_0x3ee5b8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3ee5b8([0x2b]))[_0x3ee5b8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3ee5b8([0x2f])));}function _0x37d885(_0x2bb27d){let _0x3370f0=0x1505;function _0x29fc58(_0x3a11d3){for(let _0x3cf2b5=0x0;_0x3cf2b5<_0x3a11d3[_0x3ee5b8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3cf2b5++){const _0x70e058=_0x3a11d3[_0x3ee5b8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3cf2b5);_0x3370f0=(_0x3370f0<<0x5)+_0x3370f0+_0x70e058,_0x3370f0&=_0x3370f0;}}function _0x4bc8c5(_0x172dd0){Array[_0x3ee5b8([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x172dd0)?_0x172dd0[_0x3ee5b8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4bc8c5):_0x172dd0&&typeof _0x172dd0==_0x3ee5b8([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3ee5b8([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x172dd0)[_0x3ee5b8([0x73,0x6f,0x72,0x74])]()[_0x3ee5b8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x572975,_0x3fbf9a])=>{_0x29fc58(_0x572975),_0x4bc8c5(_0x3fbf9a);}):_0x29fc58(window[_0x3ee5b8([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x172dd0));}return _0x4bc8c5(_0x2bb27d),_0x3370f0>>>0x0;}function _0x29c907(_0x4d11ac){return _0x4d11ac[_0x3ee5b8([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3ee5b8([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3ee5b8([0x30]));}function _0x12a968(_0x4fc600){return _0x4fc600[_0x3ee5b8([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3ee5b8([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3ee5b8([0x6a,0x6f,0x69,0x6e])]('');}function _0x483a3f(){}function _0x3ee5b8(_0xe3ccce){const _0x2eace1=_0x5579;return _0xe3ccce[_0x2eace1(0x120)](_0x1c842d=>String[_0x2eace1(0x121)](_0x1c842d))[_0x2eace1(0xf7)]('');}_0xf45ff6(await _0x53f4c4());}(this);}[_0x1a0889(0xd7)](){const _0x25dde4=_0x1a0889,_0x3093a4=this[_0x25dde4(0x12f)][_0x25dde4(0xe4)];_0x3093a4[_0x25dde4(0xfe)](_0x6ae97=>{const _0xf28512=_0x25dde4,_0x53941f=_0x3093a4[_0xf28512(0x10b)][_0xf28512(0x138)][_0xf28512(0x100)]();let _0x5f3e19=0x0;for(const _0x304d56 of _0x53941f){const _0x559bcc=f+':'+_0x5f3e19;if(_0x3093a4[_0xf28512(0xea)][_0xf28512(0xfa)](_0x559bcc))_0x6ae97[_0xf28512(0x109)](_0x559bcc,{'range':_0x304d56});else{if(_0x304d56[_0xf28512(0x13b)][_0xf28512(0xe5)]){const _0x1138b0=_0x304d56[_0xf28512(0x13b)][_0xf28512(0xf8)](({item:_0x298bc3})=>!_0x3093a4[_0xf28512(0x105)][_0xf28512(0xdf)](_0x298bc3),{'boundaries':_0x304d56});_0x6ae97[_0xf28512(0x136)](_0x559bcc,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x6ae97[_0xf28512(0x128)](_0x1138b0,_0x304d56[_0xf28512(0x143)])});}else _0x6ae97[_0xf28512(0x136)](_0x559bcc,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x304d56});}_0x5f3e19++;}});}[_0x1a0889(0x106)](){const _0xa39b20=_0x1a0889,_0x4ec8e8=this[_0xa39b20(0x12f)][_0xa39b20(0xe4)],_0x55e963=Array[_0xa39b20(0xdb)](this[_0xa39b20(0x12f)][_0xa39b20(0xe4)][_0xa39b20(0xea)][_0xa39b20(0xd8)](f));_0x55e963[_0xa39b20(0x12b)]&&_0x4ec8e8[_0xa39b20(0xfe)](_0x43222b=>{const _0x1999d4=_0xa39b20;_0x55e963[_0x1999d4(0x11c)](_0x28f1a3=>{const _0x444c0d=_0x1999d4;_0x43222b[_0x444c0d(0x118)](_0x28f1a3);});});}[_0x1a0889(0xf6)](_0x31ffd7,_0x518d4c){const _0x2a4cfc=_0x1a0889,_0x28f6ef=this[_0x2a4cfc(0x115)](),_0x1a1130=_0x518d4c||_0x28f6ef[_0x2a4cfc(0xe3)]();this[_0x2a4cfc(0x12f)][_0x2a4cfc(0xe4)][_0x2a4cfc(0x12d)](_0x1a1130)&&this[_0x2a4cfc(0x12f)][_0x2a4cfc(0xe4)][_0x2a4cfc(0xfe)](_0x1d1f67=>{const _0x447272=_0x2a4cfc;this[_0x447272(0x106)](),_0x518d4c||this[_0x447272(0xe6)](_0x1d1f67,_0x28f6ef),this[_0x447272(0x101)]({'insertAt':_0x1a1130,'writer':_0x1d1f67,'html':_0x31ffd7});});}[_0x1a0889(0xfb)](_0x10ec07){const _0x76527=_0x1a0889,{model:_0x547ffc}=this[_0x76527(0x12f)],_0x1b8dc0=this[_0x76527(0x115)]();_0x547ffc[_0x76527(0xfe)](()=>{const _0x2446b1=_0x76527,_0x455c20=this[_0x2446b1(0x10e)](_0x10ec07,_0x1b8dc0)||this[_0x2446b1(0x122)](_0x1b8dc0);this[_0x2446b1(0xf6)](_0x10ec07,_0x455c20);});}[_0x1a0889(0x115)](){const _0x2f4de7=_0x1a0889,_0x29ff01=this[_0x2f4de7(0x12f)][_0x2f4de7(0xe4)],_0x29e726=Array[_0x2f4de7(0xdb)](_0x29ff01[_0x2f4de7(0xea)][_0x2f4de7(0xd8)](f))[_0x2f4de7(0x120)](_0x47ae6e=>_0x47ae6e[_0x2f4de7(0xe9)]());return _0x29ff01[_0x2f4de7(0xe7)](_0x29e726);}[_0x1a0889(0x101)]({writer:_0x25b7d8,html:_0x10c63e,insertAt:_0x3bab4e}){const _0x56a023=_0x1a0889,{view:_0x3e50e8}=this[_0x56a023(0x12f)][_0x56a023(0x13f)],_0x7dd13f=this[_0x56a023(0x12f)][_0x56a023(0x132)][_0x56a023(0x134)](_0x30a727),_0x24d231=new w();_0x24d231[_0x56a023(0x103)](_0x56a023(0xf2),_0x10c63e);const _0x48c3a0=new ClipboardEvent(_0x56a023(0xd6),{'clipboardData':_0x24d231}),_0x2a00d2=new _0x1205d1(_0x3e50e8,_0x48c3a0,{'dataTransfer':new _0x3b472a(_0x24d231)});_0x25b7d8[_0x56a023(0x142)](_0x3bab4e);const _0x265f1a=(_0x584214,_0x5cb9c7)=>{const _0x17a308=_0x56a023;_0x5cb9c7[_0x17a308(0x129)]&&_0x25b7d8[_0x17a308(0x142)](_0x5cb9c7[_0x17a308(0x129)]);};_0x7dd13f[_0x56a023(0xf5)](_0x56a023(0xdd),_0x265f1a,{'priority':_0x56a023(0x10f)}),_0x3e50e8[_0x56a023(0x10b)][_0x56a023(0xe0)](_0x56a023(0xd6),_0x2a00d2),_0x7dd13f[_0x56a023(0x102)](_0x56a023(0xdd),_0x265f1a);}[_0x1a0889(0x122)](_0x5f0b75){const _0x1a236b=_0x1a0889,{model:_0x535dc5}=this[_0x1a236b(0x12f)],_0x1cc955=Array[_0x1a236b(0xdb)](_0x5f0b75[_0x1a236b(0x131)]());return _0x1cc955[_0x1a236b(0x12b)]?_0x535dc5[_0x1a236b(0x13d)](_0x1cc955[_0x1a236b(0xde)]()):_0x5f0b75[_0x1a236b(0x12a)]();}[_0x1a0889(0x10e)](_0xdb3210,_0x55d330){const _0x45b5b5=_0x1a0889,{model:_0x464ed8,plugins:_0x2fc7c9}=this[_0x45b5b5(0x12f)];if(_0x2fc7c9[_0x45b5b5(0xfa)](_0x45b5b5(0x116))){const _0x12aca4=_0x2fc7c9[_0x45b5b5(0x134)](_0x45b5b5(0x116))[_0x45b5b5(0xe2)](_0x55d330);if(_0x12aca4[_0x45b5b5(0x12b)]){const _0x2832b7=this[_0x45b5b5(0xfc)](_0xdb3210),_0x540faa=this[_0x45b5b5(0x117)](_0x12aca4,_0x2832b7);return _0x464ed8[_0x45b5b5(0x114)](_0x540faa,0x0);}}return null;}[_0x1a0889(0xfc)](_0x1d1b29){const _0x79fc40=_0x1a0889,_0x439668=this[_0x79fc40(0x12f)][_0x79fc40(0x132)][_0x79fc40(0x134)](_0x79fc40(0x116)),_0x1d5f27=this[_0x79fc40(0x12f)][_0x79fc40(0x126)][_0x79fc40(0x110)](_0x1d1b29),_0x5697d9=Array[_0x79fc40(0xdb)](_0x1d5f27[_0x79fc40(0x13e)]())[_0x79fc40(0x11b)](_0x5e4fee=>_0x5e4fee['is'](_0x79fc40(0x104),_0x79fc40(0x140)));let _0x5dd2a1=0x0;return _0x5697d9[_0x79fc40(0x11c)](_0x470af6=>{const _0x4a130b=_0x79fc40;_0x5dd2a1+=_0x439668[_0x4a130b(0x141)](_0x470af6);}),_0x5dd2a1;}[_0x1a0889(0x117)](_0x1607b3,_0x54c31c){const _0x324b99=_0x1a0889,_0x241e71=this[_0x324b99(0x12f)][_0x324b99(0x132)][_0x324b99(0x134)](_0x324b99(0x116)),_0x4ad894=_0x241e71[_0x324b99(0xec)](_0x1607b3),_0x22bc95=_0x241e71[_0x324b99(0x12e)](_0x1607b3),_0x11efba=_0x4ad894[_0x324b99(0xfd)]+0x1,_0x202ed7=_0x22bc95[_0x324b99(0xd9)],_0x2c39f5=_0x1607b3[0x0][_0x324b99(0xdc)](_0x324b99(0x140));for(let _0x3e0a70=0x0;_0x3e0a70<_0x54c31c;_0x3e0a70++)_0x241e71[_0x324b99(0x108)](_0x2c39f5,{'at':_0x11efba});return _0x2c39f5[_0x324b99(0x119)](_0x11efba)[_0x324b99(0x119)](_0x202ed7);}[_0x1a0889(0xe6)](_0x3a5c9e,_0x576466){const _0xdbd7af=_0x1a0889,{plugins:_0x3fa85b}=this[_0xdbd7af(0x12f)],{model:_0x11dab8}=_0x3a5c9e;if(!_0x3fa85b[_0xdbd7af(0xfa)](_0xdbd7af(0x116)))return;_0x3fa85b[_0xdbd7af(0x134)](_0xdbd7af(0x116))[_0xdbd7af(0xe2)](_0x576466)[_0xdbd7af(0x12b)]&&_0x11dab8[_0xdbd7af(0xf9)](_0x576466);}}
|
|
23
|
+
function _0x39e0(){const _0x4d2adb=['markers','filter','_getDefaultInsertBelowPosition','isOfficialPlugin','ck-fake-ai-selection_collapsed','insertContentBelow','createPositionAfter','createSelection','insertRows','fromCharCode','1215756pQXUva','getLastPosition','removeMarker','createRange','getLastMatchingPosition','once','for','afterInit','element','isContent','length','createUIElement','selection','ck-ai-assistant-ui_theme','isPremiumPlugin','init','end','span','3096926BGuIYT','deleteContent','isCollapsed','table','join','ck-fake-ai-selection','plugins','_prepareTableInsertBelowPosition','findAncestor','_getAISelection','TableUtils','346912hSsMjO','lowest','getFirstRange','1fTuwDY','document','getMarkersGroup','pluginName','contentInsertion','setData','href','getSelectedBlocks','data','start','setSelection','pop','hideFakeVisualSelection','push','schema','createPositionAt','config','getColumnIndexes','forEach','addClass','6OiIzde','editing','3061295RgVvcA','fire','getSelectedTableCells','getChildren','has','AIAssistantEditing','DataTransfer','get','updateMarker','getRange','canEditAt','insertContent','_resetContentOfSelectedTableCells','conversion','text/html','markerToHighlight','resultRange','getRows','model','ai.assistant.useTheme','parse','markerRange','editingDowncast','paste','getRanges','ai-ui','1219576KtNmzw','getRowIndexes','markerToElement','12265418VgZaQi','from','_getTableRowCountFromContent','first','showFakeVisualSelection','18490HnSKro','off','_pasteHTMLUsingClipboard','_createEmptyTableRows','last','1026bsYGyW','change','editor','getChild','map','addMarker','isAtEnd','6visKBL'];_0x39e0=function(){return _0x4d2adb;};return _0x39e0();}const _0x5f2f6f=_0x49d3;(function(_0x1014e1,_0x191fdc){const _0x59b28c=_0x49d3,_0x112a5e=_0x1014e1();while(!![]){try{const _0x56bb77=-parseInt(_0x59b28c(0x130))/0x1*(-parseInt(_0x59b28c(0xf1))/0x2)+parseInt(_0x59b28c(0x105))/0x3*(-parseInt(_0x59b28c(0x110))/0x4)+-parseInt(_0x59b28c(0xd7))/0x5*(parseInt(_0x59b28c(0xd5))/0x6)+-parseInt(_0x59b28c(0x122))/0x7+parseInt(_0x59b28c(0x12d))/0x8+parseInt(_0x59b28c(0xfe))/0x9*(parseInt(_0x59b28c(0xf9))/0xa)+parseInt(_0x59b28c(0xf4))/0xb;if(_0x56bb77===_0x191fdc)break;else _0x112a5e['push'](_0x112a5e['shift']());}catch(_0x542724){_0x112a5e['push'](_0x112a5e['shift']());}}}(_0x39e0,0x4d405));function _0x49d3(_0x559d7e,_0x298dd4){const _0x39e0c4=_0x39e0();return _0x49d3=function(_0x49d3e4,_0x48833c){_0x49d3e4=_0x49d3e4-0xd2;let _0x1827d6=_0x39e0c4[_0x49d3e4];return _0x1827d6;},_0x49d3(_0x559d7e,_0x298dd4);}import{uid as _0x321c3a}from'ckeditor5/src/utils.js';import{Plugin as _0x33c487}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x242ef8}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x504e3f,ViewDataTransfer as _0x334d3e}from'ckeditor5/src/engine.js';const w=globalThis[_0x5f2f6f(0xdd)],f=_0x5f2f6f(0xf0);export class AIAssistantEditing extends _0x33c487{static get[_0x5f2f6f(0x133)](){const _0x42d3d8=_0x5f2f6f;return _0x42d3d8(0xdc);}static get[_0x5f2f6f(0x109)](){return!0x0;}static get[_0x5f2f6f(0x11e)](){return!0x0;}[_0x5f2f6f(0x11f)](){const _0x1e5ab1=_0x5f2f6f,{editor:_0x52fbbb}=this,_0x489c99=[_0x1e5ab1(0x127)];_0x52fbbb[_0x1e5ab1(0x140)][_0x1e5ab1(0xde)](_0x1e5ab1(0xea))&&_0x489c99[_0x1e5ab1(0x13d)](_0x1e5ab1(0x11d)),_0x52fbbb[_0x1e5ab1(0xe4)][_0x1e5ab1(0x116)](_0x1e5ab1(0xed))[_0x1e5ab1(0xe6)]({'model':f,'view':{'classes':_0x489c99,'priority':0xc}}),_0x52fbbb[_0x1e5ab1(0xe4)][_0x1e5ab1(0x116)](_0x1e5ab1(0xed))[_0x1e5ab1(0xf3)]({'model':f,'view':(_0x778b1e,{writer:_0xda10fd})=>{const _0x2110c0=_0x1e5ab1;if(!_0x778b1e[_0x2110c0(0xec)][_0x2110c0(0x124)])return null;const _0x8690c3=_0xda10fd[_0x2110c0(0x11b)](_0x2110c0(0x121));return _0xda10fd[_0x2110c0(0xd4)]([_0x2110c0(0x127),_0x2110c0(0x10a)],_0x8690c3),_0x8690c3;}});}[_0x5f2f6f(0x117)](){!async function(_0x7c8fc9){const _0x3702e4=_0x10a3fc([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]),_0x4fd0fc=0x3dffc4e1,_0x41c6f6=0x3df84329^_0x4fd0fc,_0x2deeb3=window[_0x10a3fc([0x44,0x61,0x74,0x65])][_0x10a3fc([0x6e,0x6f,0x77])](),_0x567e4f=_0x7c8fc9[_0x10a3fc([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x26d5ea=new window[(_0x10a3fc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3152f5=>{_0x567e4f[_0x10a3fc([0x6f,0x6e,0x63,0x65])](_0x10a3fc([0x72,0x65,0x61,0x64,0x79]),_0x3152f5);}),_0x56c6a8={[_0x10a3fc([0x6b,0x74,0x79])]:_0x10a3fc([0x45,0x43]),[_0x10a3fc([0x75,0x73,0x65])]:_0x10a3fc([0x73,0x69,0x67]),[_0x10a3fc([0x63,0x72,0x76])]:_0x10a3fc([0x50,0x2d,0x32,0x35,0x36]),[_0x10a3fc([0x78])]:_0x10a3fc([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]),[_0x10a3fc([0x79])]:_0x10a3fc([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]),[_0x10a3fc([0x61,0x6c,0x67])]:_0x10a3fc([0x45,0x53,0x32,0x35,0x36])},_0x479999=_0x567e4f[_0x10a3fc([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x10a3fc([0x67,0x65,0x74])](_0x10a3fc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x594c2d(){let _0x4b08eb,_0x5549d8=null,_0x1aa31b=null;try{if(_0x479999==_0x10a3fc([0x47,0x50,0x4c]))return _0x10a3fc([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4b08eb=_0x5d5ea5(),!_0x4b08eb)return _0x10a3fc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4b08eb[_0x10a3fc([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1aa31b=_0x4fb1e7(_0x4b08eb[_0x10a3fc([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4b08eb[_0x10a3fc([0x6a,0x74,0x69])])),await _0x2ee711()?_0x3d9622()?_0x362624()?_0x10a3fc([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3077fb()?(_0x4b08eb[_0x10a3fc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x10a3fc([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5549d8=_0x5cfb74(_0x10a3fc([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x586cb2()):_0x10a3fc([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x10a3fc([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x10a3fc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x10a3fc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x362624(){const _0x2af9da=[_0x10a3fc([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x10a3fc([0x74,0x72,0x69,0x61,0x6c])][_0x10a3fc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4b08eb[_0x10a3fc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2deeb3/0x3e8:0xe10*_0x41c6f6;return _0x4b08eb[_0x10a3fc([0x65,0x78,0x70])]<_0x2af9da;}function _0x3d9622(){const _0x473ded=_0x4b08eb[_0x10a3fc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x473ded&&(!!_0x473ded[_0x10a3fc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x10a3fc([0x2a]))||!!_0x473ded[_0x10a3fc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x10a3fc([0x41,0x49])));}function _0x3077fb(){const _0x497758=_0x49d3,_0x2b310b=_0x4b08eb[_0x10a3fc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2b310b||0x0==_0x2b310b[_0x10a3fc([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4bf125}=new URL(window[_0x10a3fc([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x497758(0x136)]);if(_0x2b310b[_0x10a3fc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4bf125))return!0x0;const _0x4cbf28=_0x4bf125[_0x10a3fc([0x73,0x70,0x6c,0x69,0x74])](_0x10a3fc([0x2e]));return _0x2b310b[_0x10a3fc([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2ab09c=>_0x2ab09c[_0x10a3fc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x10a3fc([0x2a])))[_0x10a3fc([0x6d,0x61,0x70])](_0x12aa9f=>_0x12aa9f[_0x10a3fc([0x73,0x70,0x6c,0x69,0x74])](_0x10a3fc([0x2e])))[_0x10a3fc([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x481110=>_0x481110[_0x10a3fc([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4cbf28[_0x10a3fc([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x10a3fc([0x6d,0x61,0x70])](_0x2e3656=>Array(_0x4cbf28[_0x10a3fc([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2e3656[_0x10a3fc([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x10a3fc([0x66,0x69,0x6c,0x6c])](_0x2e3656[0x0]===_0x10a3fc([0x2a])?_0x10a3fc([0x2a]):'')[_0x10a3fc([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2e3656))[_0x10a3fc([0x73,0x6f,0x6d,0x65])](_0x3e94cc=>_0x4cbf28[_0x10a3fc([0x65,0x76,0x65,0x72,0x79])]((_0x31ec91,_0x27cf2c)=>_0x3e94cc[_0x27cf2c]===_0x31ec91||_0x3e94cc[_0x27cf2c]===_0x10a3fc([0x2a])));}function _0x586cb2(){return _0x5549d8&&_0x1aa31b?new window[(_0x10a3fc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3b3b8b,_0x8f9eac)=>{_0x5549d8[_0x10a3fc([0x74,0x68,0x65,0x6e])](_0x3b3b8b,_0x8f9eac),_0x1aa31b[_0x10a3fc([0x74,0x68,0x65,0x6e])](_0x1fe5bc=>{_0x1fe5bc!=_0x10a3fc([0x56,0x61,0x6c,0x69,0x64])&&_0x3b3b8b(_0x1fe5bc);},_0x8f9eac);}):_0x5549d8||_0x1aa31b||_0x10a3fc([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4fb1e7(_0x3bb583,_0x53bc2a){return new window[(_0x10a3fc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2427f2=>{if(_0x2cb04e())return _0x2427f2(_0x10a3fc([0x56,0x61,0x6c,0x69,0x64]));_0x4b7e91(),_0x567e4f[_0x10a3fc([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x10a3fc([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4112ce=!0x1;const _0x5c4564=_0x321c3a();function _0x5e8d0a(_0x3ca0f0){return!!_0x3ca0f0&&(typeof _0x3ca0f0===_0x10a3fc([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3ca0f0===_0x10a3fc([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3ca0f0[_0x10a3fc([0x74,0x68,0x65,0x6e])]===_0x10a3fc([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3ca0f0[_0x10a3fc([0x63,0x61,0x74,0x63,0x68])]===_0x10a3fc([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x51d29e(_0x1949ca){_0x5166c8(_0x1949ca)[_0x10a3fc([0x74,0x68,0x65,0x6e])](_0x1a0e17=>{if(!_0x1a0e17||_0x1a0e17[_0x10a3fc([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x10a3fc([0x6f,0x6b]))return _0x10a3fc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4459e6(_0x2928b8(_0x5c4564+_0x53bc2a))!=_0x1a0e17[_0x10a3fc([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x10a3fc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x10a3fc([0x56,0x61,0x6c,0x69,0x64]);})[_0x10a3fc([0x74,0x68,0x65,0x6e])](_0x1e8b1c=>(_0x47a011(),_0x1e8b1c),()=>{const _0x4b1f96=_0x322886();return null==_0x4b1f96?(_0x47a011(),_0x10a3fc([0x56,0x61,0x6c,0x69,0x64])):_0x10a3fc(_0x2deeb3-_0x4b1f96>(0x19f340e1^_0x4fd0fc)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x10a3fc([0x74,0x68,0x65,0x6e])](_0x2427f2)[_0x10a3fc([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2427f2(_0x10a3fc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x28be66=0x3dc92a61^_0x4fd0fc;function _0x47a011(){const _0x128f20=_0x10a3fc([0x6c,0x6c,0x63,0x74,0x2d])+_0x4459e6(_0x2928b8(_0x3bb583)),_0x547752=_0x39ef96(_0x4459e6(window[_0x10a3fc([0x4d,0x61,0x74,0x68])][_0x10a3fc([0x63,0x65,0x69,0x6c])](_0x2deeb3/_0x28be66)));window[_0x10a3fc([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x10a3fc([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x128f20,_0x547752);}function _0x322886(){const _0x5420db=_0x10a3fc([0x6c,0x6c,0x63,0x74,0x2d])+_0x4459e6(_0x2928b8(_0x3bb583)),_0x342800=window[_0x10a3fc([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x10a3fc([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5420db);return _0x342800?window[_0x10a3fc([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x39ef96(_0x342800),0x10)*_0x28be66:null;}function _0x5166c8(_0x1c2b43){return new window[(_0x10a3fc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x410485,_0x22c328)=>{_0x1c2b43[_0x10a3fc([0x74,0x68,0x65,0x6e])](_0x410485,_0x22c328),window[_0x10a3fc([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x22c328,0x3dfe1021^_0x4fd0fc);});}}_0x567e4f[_0x10a3fc([0x6f,0x6e])](_0x10a3fc([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x511573,_0x22428d)=>{if(_0x22428d[0x0]!=_0x3bb583)return _0x2427f2(_0x10a3fc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x22428d[0x1]={..._0x22428d[0x1],[_0x10a3fc([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5c4564};},{[_0x10a3fc([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x10a3fc([0x68,0x69,0x67,0x68])}),_0x567e4f[_0x10a3fc([0x6f,0x6e])](_0x10a3fc([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3776f6=>{_0x5e8d0a(_0x3776f6[_0x10a3fc([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4112ce=!0x0,_0x51d29e(_0x3776f6[_0x10a3fc([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x10a3fc([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x10a3fc([0x6c,0x6f,0x77])}),_0x26d5ea[_0x10a3fc([0x74,0x68,0x65,0x6e])](()=>{_0x4112ce||_0x2427f2(_0x10a3fc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2cb04e(){return _0x567e4f[_0x10a3fc([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x10a3fc([0x76,0x69,0x65,0x77])][_0x10a3fc([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x10a3fc([0x61,0x75,0x74,0x6f]);}function _0x4b7e91(){_0x567e4f[_0x10a3fc([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x10a3fc([0x76,0x69,0x65,0x77])][_0x10a3fc([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x10a3fc([0x61,0x75,0x74,0x6f]);}}function _0x5cfb74(_0x30becb){const _0x5e9563=[new window[(_0x10a3fc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x57018f=>setTimeout(_0x57018f,0x3df6fa2d^_0x4fd0fc)),_0x26d5ea[_0x10a3fc([0x74,0x68,0x65,0x6e])](()=>new window[(_0x10a3fc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2623c7=>{let _0x1eb25d=0x0;_0x567e4f[_0x10a3fc([0x6d,0x6f,0x64,0x65,0x6c])][_0x10a3fc([0x6f,0x6e])](_0x10a3fc([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x43cb1f,_0x54378b)=>{_0x54378b[0x0][_0x10a3fc([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1eb25d++,_0x1eb25d==(0x3dffc109^_0x4fd0fc)&&(_0x2623c7(),_0x43cb1f[_0x10a3fc([0x6f,0x66,0x66])]());});}))];return window[_0x10a3fc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x10a3fc([0x72,0x61,0x63,0x65])](_0x5e9563)[_0x10a3fc([0x74,0x68,0x65,0x6e])](()=>_0x30becb);}async function _0xdc07f2(){await _0x26d5ea,_0x567e4f[_0x10a3fc([0x6d,0x6f,0x64,0x65,0x6c])][_0x10a3fc([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1fda45,_0x567e4f[_0x10a3fc([0x6d,0x6f,0x64,0x65,0x6c])][_0x10a3fc([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1fda45,_0x567e4f[_0x10a3fc([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x10a3fc([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1c8e49(_0x4dab25){const _0x4e24b9=_0x552e0d();_0x567e4f[_0x4e24b9]=_0x10a3fc([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4dab25,_0x4dab25!=_0x10a3fc([0x56,0x61,0x6c,0x69,0x64])&&_0xdc07f2();}function _0x552e0d(){const _0x4d6564=window[_0x10a3fc([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x10a3fc([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x10a3fc([0x6e,0x6f,0x77])]())[_0x10a3fc([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x10a3fc([0x2e]),'');let _0x42d64c=_0x10a3fc([0x6e]);for(let _0x3c627b=0x0;_0x3c627b<_0x4d6564[_0x10a3fc([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3c627b+=0x2){let _0x2fd702=window[_0x10a3fc([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4d6564[_0x10a3fc([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3c627b,_0x3c627b+0x2));_0x2fd702>=_0x3702e4[_0x10a3fc([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2fd702-=_0x3702e4[_0x10a3fc([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x42d64c+=_0x3702e4[_0x2fd702];}return _0x42d64c;}function _0x5d5ea5(){const _0x180e07=_0x479999[_0x10a3fc([0x73,0x70,0x6c,0x69,0x74])](_0x10a3fc([0x2e]));if(0x3!=_0x180e07[_0x10a3fc([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3a1a90(_0x180e07[0x1]);function _0x3a1a90(_0x3b35c5){const _0x2a7d85=_0x1e0c0a(_0x3b35c5);return _0x2a7d85&&_0x2f8664()?_0x2a7d85:null;function _0x2f8664(){const _0x3095f6=_0x2a7d85[_0x10a3fc([0x6a,0x74,0x69])],_0x54c5ee=window[_0x10a3fc([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3095f6[_0x10a3fc([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3095f6[_0x10a3fc([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x9351ae={..._0x2a7d85,[_0x10a3fc([0x6a,0x74,0x69])]:_0x3095f6[_0x10a3fc([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3095f6[_0x10a3fc([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x9351ae[_0x10a3fc([0x76,0x63])],_0x2928b8(_0x9351ae)==_0x54c5ee;}}}async function _0x2ee711(){let _0x3bcb51=!0x0;try{const _0x419b26=_0x479999[_0x10a3fc([0x73,0x70,0x6c,0x69,0x74])](_0x10a3fc([0x2e])),[_0x266de9,_0x7d3d13,_0x12b8c8]=_0x419b26;return _0x1286b6(_0x266de9),await _0x15d03b(_0x266de9,_0x7d3d13,_0x12b8c8),_0x3bcb51;}catch{return!0x1;}function _0x1286b6(_0x583620){const _0x89d326=_0x1e0c0a(_0x583620);_0x89d326&&_0x89d326[_0x10a3fc([0x61,0x6c,0x67])]==_0x10a3fc([0x45,0x53,0x32,0x35,0x36])||(_0x3bcb51=!0x1);}async function _0x15d03b(_0xf84b96,_0x45def6,_0x2c4a04){const _0x3f293a=window[_0x10a3fc([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x10a3fc([0x66,0x72,0x6f,0x6d])](_0x3021b5(_0x2c4a04),_0x5802c3=>_0x5802c3[_0x10a3fc([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x43fa52=new window[(_0x10a3fc([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x10a3fc([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xf84b96+_0x10a3fc([0x2e])+_0x45def6),_0xd14cd6=window[_0x10a3fc([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x10a3fc([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xd14cd6)return;const _0x4cc2d4=await _0xd14cd6[_0x10a3fc([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x10a3fc([0x6a,0x77,0x6b]),_0x56c6a8,{[_0x10a3fc([0x6e,0x61,0x6d,0x65])]:_0x10a3fc([0x45,0x43,0x44,0x53,0x41]),[_0x10a3fc([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x10a3fc([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x10a3fc([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xd14cd6[_0x10a3fc([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x10a3fc([0x6e,0x61,0x6d,0x65])]:_0x10a3fc([0x45,0x43,0x44,0x53,0x41]),[_0x10a3fc([0x68,0x61,0x73,0x68])]:{[_0x10a3fc([0x6e,0x61,0x6d,0x65])]:_0x10a3fc([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4cc2d4,_0x3f293a,_0x43fa52)||(_0x3bcb51=!0x1);}}function _0x1e0c0a(_0x4650e8){return _0x4650e8[_0x10a3fc([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x10a3fc([0x65,0x79]))?JSON[_0x10a3fc([0x70,0x61,0x72,0x73,0x65])](_0x3021b5(_0x4650e8)):null;}function _0x3021b5(_0x492f24){return window[_0x10a3fc([0x61,0x74,0x6f,0x62])](_0x492f24[_0x10a3fc([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x10a3fc([0x2b]))[_0x10a3fc([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x10a3fc([0x2f])));}function _0x2928b8(_0x32527a){let _0x53cacf=0x1505;function _0x4976f3(_0x2e3100){for(let _0x22ac94=0x0;_0x22ac94<_0x2e3100[_0x10a3fc([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x22ac94++){const _0x26bc58=_0x2e3100[_0x10a3fc([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x22ac94);_0x53cacf=(_0x53cacf<<0x5)+_0x53cacf+_0x26bc58,_0x53cacf&=_0x53cacf;}}function _0x454c00(_0x3eed8f){Array[_0x10a3fc([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3eed8f)?_0x3eed8f[_0x10a3fc([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x454c00):_0x3eed8f&&typeof _0x3eed8f==_0x10a3fc([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x10a3fc([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3eed8f)[_0x10a3fc([0x73,0x6f,0x72,0x74])]()[_0x10a3fc([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x260957,_0x35c846])=>{_0x4976f3(_0x260957),_0x454c00(_0x35c846);}):_0x4976f3(window[_0x10a3fc([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3eed8f));}return _0x454c00(_0x32527a),_0x53cacf>>>0x0;}function _0x4459e6(_0x533026){return _0x533026[_0x10a3fc([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x10a3fc([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x10a3fc([0x30]));}function _0x39ef96(_0x257a76){return _0x257a76[_0x10a3fc([0x73,0x70,0x6c,0x69,0x74])]('')[_0x10a3fc([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x10a3fc([0x6a,0x6f,0x69,0x6e])]('');}function _0x1fda45(){}function _0x10a3fc(_0xa1c9af){const _0x5a8cbd=_0x49d3;return _0xa1c9af[_0x5a8cbd(0x102)](_0x1734c5=>String[_0x5a8cbd(0x10f)](_0x1734c5))[_0x5a8cbd(0x126)]('');}_0x1c8e49(await _0x594c2d());}(this);}[_0x5f2f6f(0xf8)](){const _0x445e10=_0x5f2f6f,_0x2528c2=this[_0x445e10(0x100)][_0x445e10(0xe9)];_0x2528c2[_0x445e10(0xff)](_0x2615a6=>{const _0x530bb4=_0x445e10,_0x3f0fd1=_0x2528c2[_0x530bb4(0x131)][_0x530bb4(0x11c)][_0x530bb4(0xef)]();let _0x3a9f44=0x0;for(const _0x3c08bb of _0x3f0fd1){const _0x452813=f+':'+_0x3a9f44;if(_0x2528c2[_0x530bb4(0x106)][_0x530bb4(0xdb)](_0x452813))_0x2615a6[_0x530bb4(0xdf)](_0x452813,{'range':_0x3c08bb});else{if(_0x3c08bb[_0x530bb4(0x139)][_0x530bb4(0x104)]){const _0x32b069=_0x3c08bb[_0x530bb4(0x139)][_0x530bb4(0x114)](({item:_0x4abee0})=>!_0x2528c2[_0x530bb4(0x13e)][_0x530bb4(0x119)](_0x4abee0),{'boundaries':_0x3c08bb});_0x2615a6[_0x530bb4(0x103)](_0x452813,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x2615a6[_0x530bb4(0x113)](_0x32b069,_0x3c08bb[_0x530bb4(0x120)])});}else _0x2615a6[_0x530bb4(0x103)](_0x452813,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x3c08bb});}_0x3a9f44++;}});}[_0x5f2f6f(0x13c)](){const _0x11e57b=_0x5f2f6f,_0x2f333d=this[_0x11e57b(0x100)][_0x11e57b(0xe9)],_0x14d06d=Array[_0x11e57b(0xf5)](this[_0x11e57b(0x100)][_0x11e57b(0xe9)][_0x11e57b(0x106)][_0x11e57b(0x132)](f));_0x14d06d[_0x11e57b(0x11a)]&&_0x2f333d[_0x11e57b(0xff)](_0x2fddbe=>{const _0x338653=_0x11e57b;_0x14d06d[_0x338653(0xd3)](_0x134e0f=>{const _0x495975=_0x338653;_0x2fddbe[_0x495975(0x112)](_0x134e0f);});});}[_0x5f2f6f(0xe2)](_0x499a2b,_0x4bc6bd){const _0x2665e0=_0x5f2f6f,_0x26fbfe=this[_0x2665e0(0x12b)](),_0x8936e8=_0x4bc6bd||_0x26fbfe[_0x2665e0(0x12f)]();this[_0x2665e0(0x100)][_0x2665e0(0xe9)][_0x2665e0(0xe1)](_0x8936e8)&&this[_0x2665e0(0x100)][_0x2665e0(0xe9)][_0x2665e0(0xff)](_0x12683b=>{const _0x51fcc1=_0x2665e0;this[_0x51fcc1(0x13c)](),_0x4bc6bd||this[_0x51fcc1(0xe3)](_0x12683b,_0x26fbfe),this[_0x51fcc1(0xfb)]({'insertAt':_0x8936e8,'writer':_0x12683b,'html':_0x499a2b});});}[_0x5f2f6f(0x10b)](_0x2f1a91){const _0xf53a29=_0x5f2f6f,{model:_0x3b0cc0}=this[_0xf53a29(0x100)],_0x255f6c=this[_0xf53a29(0x12b)]();_0x3b0cc0[_0xf53a29(0xff)](()=>{const _0x5251b7=_0xf53a29,_0x19a16e=this[_0x5251b7(0x129)](_0x2f1a91,_0x255f6c)||this[_0x5251b7(0x108)](_0x255f6c);this[_0x5251b7(0xe2)](_0x2f1a91,_0x19a16e);});}[_0x5f2f6f(0x12b)](){const _0x4374d2=_0x5f2f6f,_0x5df1ee=this[_0x4374d2(0x100)][_0x4374d2(0xe9)],_0x4329ee=Array[_0x4374d2(0xf5)](_0x5df1ee[_0x4374d2(0x106)][_0x4374d2(0x132)](f))[_0x4374d2(0x102)](_0x2c9ee3=>_0x2c9ee3[_0x4374d2(0xe0)]());return _0x5df1ee[_0x4374d2(0x10d)](_0x4329ee);}[_0x5f2f6f(0xfb)]({writer:_0x442b2a,html:_0x4dabe2,insertAt:_0x45c841}){const _0x231bbd=_0x5f2f6f,{view:_0x1835df}=this[_0x231bbd(0x100)][_0x231bbd(0xd6)],_0x929c6e=this[_0x231bbd(0x100)][_0x231bbd(0x128)][_0x231bbd(0xde)](_0x242ef8),_0x497e21=new w();_0x497e21[_0x231bbd(0x135)](_0x231bbd(0xe5),_0x4dabe2);const _0x535db4=new ClipboardEvent(_0x231bbd(0xee),{'clipboardData':_0x497e21}),_0x5b89a2=new _0x504e3f(_0x1835df,_0x535db4,{'dataTransfer':new _0x334d3e(_0x497e21)});_0x442b2a[_0x231bbd(0x13a)](_0x45c841);const _0x1169e6=(_0x51a83c,_0x3c8f18)=>{const _0xd50121=_0x231bbd;_0x3c8f18[_0xd50121(0xe7)]&&_0x442b2a[_0xd50121(0x13a)](_0x3c8f18[_0xd50121(0xe7)]);};_0x929c6e[_0x231bbd(0x115)](_0x231bbd(0x134),_0x1169e6,{'priority':_0x231bbd(0x12e)}),_0x1835df[_0x231bbd(0x131)][_0x231bbd(0xd8)](_0x231bbd(0xee),_0x5b89a2),_0x929c6e[_0x231bbd(0xfa)](_0x231bbd(0x134),_0x1169e6);}[_0x5f2f6f(0x108)](_0x5541d9){const _0x297394=_0x5f2f6f,{model:_0x200209}=this[_0x297394(0x100)],_0x5a8e2a=Array[_0x297394(0xf5)](_0x5541d9[_0x297394(0x137)]());return _0x5a8e2a[_0x297394(0x11a)]?_0x200209[_0x297394(0x10c)](_0x5a8e2a[_0x297394(0x13b)]()):_0x5541d9[_0x297394(0x111)]();}[_0x5f2f6f(0x129)](_0x43e1c1,_0x18627a){const _0x3c7a29=_0x5f2f6f,{model:_0x21ee36,plugins:_0x8c6e96}=this[_0x3c7a29(0x100)];if(_0x8c6e96[_0x3c7a29(0xdb)](_0x3c7a29(0x12c))){const _0x3c9da7=_0x8c6e96[_0x3c7a29(0xde)](_0x3c7a29(0x12c))[_0x3c7a29(0xd9)](_0x18627a);if(_0x3c9da7[_0x3c7a29(0x11a)]){const _0x1d62bd=this[_0x3c7a29(0xf6)](_0x43e1c1),_0x234243=this[_0x3c7a29(0xfc)](_0x3c9da7,_0x1d62bd);return _0x21ee36[_0x3c7a29(0x13f)](_0x234243,0x0);}}return null;}[_0x5f2f6f(0xf6)](_0x273ae6){const _0x276043=_0x5f2f6f,_0x53cbdd=this[_0x276043(0x100)][_0x276043(0x128)][_0x276043(0xde)](_0x276043(0x12c)),_0x37f999=this[_0x276043(0x100)][_0x276043(0x138)][_0x276043(0xeb)](_0x273ae6),_0x45625e=Array[_0x276043(0xf5)](_0x37f999[_0x276043(0xda)]())[_0x276043(0x107)](_0x3d3737=>_0x3d3737['is'](_0x276043(0x118),_0x276043(0x125)));let _0x9d050=0x0;return _0x45625e[_0x276043(0xd3)](_0xce8096=>{const _0x5086cb=_0x276043;_0x9d050+=_0x53cbdd[_0x5086cb(0xe8)](_0xce8096);}),_0x9d050;}[_0x5f2f6f(0xfc)](_0x1916c1,_0x35ac8e){const _0x401d51=_0x5f2f6f,_0x2eeb4b=this[_0x401d51(0x100)][_0x401d51(0x128)][_0x401d51(0xde)](_0x401d51(0x12c)),_0x22fde2=_0x2eeb4b[_0x401d51(0xf2)](_0x1916c1),_0x249105=_0x2eeb4b[_0x401d51(0xd2)](_0x1916c1),_0xb930db=_0x22fde2[_0x401d51(0xfd)]+0x1,_0xada5d9=_0x249105[_0x401d51(0xf7)],_0x53ebf5=_0x1916c1[0x0][_0x401d51(0x12a)](_0x401d51(0x125));for(let _0x1f2171=0x0;_0x1f2171<_0x35ac8e;_0x1f2171++)_0x2eeb4b[_0x401d51(0x10e)](_0x53ebf5,{'at':_0xb930db});return _0x53ebf5[_0x401d51(0x101)](_0xb930db)[_0x401d51(0x101)](_0xada5d9);}[_0x5f2f6f(0xe3)](_0x3e82b1,_0x31267b){const _0x2e8cfb=_0x5f2f6f,{plugins:_0x2bd8cd}=this[_0x2e8cfb(0x100)],{model:_0x324215}=_0x3e82b1;if(!_0x2bd8cd[_0x2e8cfb(0xdb)](_0x2e8cfb(0x12c)))return;_0x2bd8cd[_0x2e8cfb(0xde)](_0x2e8cfb(0x12c))[_0x2e8cfb(0xd9)](_0x31267b)[_0x2e8cfb(0x11a)]&&_0x324215[_0x2e8cfb(0x123)](_0x31267b);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x4b7aa2=_0x10a1;(function(_0x5137fd,_0x432bd6){const _0x180f59=_0x10a1,_0x3d05dc=_0x5137fd();while(!![]){try{const _0x36176d=parseInt(_0x180f59(0x1ae))/0x1+-parseInt(_0x180f59(0x1be))/0x2*(parseInt(_0x180f59(0x20a))/0x3)+parseInt(_0x180f59(0x1c9))/0x4+parseInt(_0x180f59(0x1ed))/0x5*(parseInt(_0x180f59(0x182))/0x6)+-parseInt(_0x180f59(0x202))/0x7*(-parseInt(_0x180f59(0x186))/0x8)+-parseInt(_0x180f59(0x1a8))/0x9+parseInt(_0x180f59(0x1a2))/0xa;if(_0x36176d===_0x432bd6)break;else _0x3d05dc['push'](_0x3d05dc['shift']());}catch(_0x12ff08){_0x3d05dc['push'](_0x3d05dc['shift']());}}}(_0x3e56,0x63010));import{Plugin as _0x53b885}from'ckeditor5/src/core.js';import{IconMagicWand as _0x491da5,IconRobotPencil as _0x108dbc}from'ckeditor5/src/icons.js';import{first as _0x3aa027,CKEditorError as _0x43be50}from'ckeditor5/src/utils.js';import{createDropdown as _0x586a58,addMenuToDropdown as _0x4eb7e6,ButtonView as _0x5f4ddf,MenuBarMenuListItemButtonView as _0x59a250,Dialog as _0x185aa1,DialogViewPosition as _0x2e1bf3,MenuBarMenuView as _0xce789b,MenuBarMenuListView as _0x242d46,MenuBarMenuListItemView as _0xc80219}from'ckeditor5/src/ui.js';function _0x3e56(){const _0x290fab=['updatePosition','8pjQwge','menuBar:aiCommands','getRanges','invalid','text','fire','_initAriaAiStatusChangeAnnouncements','selection','EDITOR_TOP_SIDE','bind','menuBar:aiAssistant','prompt','aiLicenseKeyDomainLimit','destroy','ai.assistant.contentAreaCssClass','values','requiresContent','currentContext','aiAssistant','AI\x20Assistant','replaceContent','menuPanelClass','config','_initView','splice','ai-commands-config-order-collision','getSelectedElement','rawHtml','1987130nTVDHG','AI\x20is\x20writing','map','label','add','trim','6827085TnSMjz','delegate','featureNotAllowed','children','promptView','_forceMarkersCopy','59482RqKUwC','forEach','ck-ai-commands-dropdown\x20','commands','_onExecute','tableOfContents','queryView','copy','componentFactory','panelView','buttons','_commandDefinitions','showFakeVisualSelection','_createAIAssistantUIButton','view','isPremiumPlugin','4KDQqdh','from','AI\x20Commands','sort','replace','isOfficialPlugin','menuitemcheckbox','groupLabel','_formView','isFlat','aiLicenseKeyNotAllowed','2939724cjIlOv','ai.assistant.disabledElements','hideUI','model','textAdapter','aiCommands','render','items','pluginName','usageLimit','define','set','comment','get','AIAssistant','expired','getSelectedBlocks','schema','reset','INSERT','update','_aiAdapter','editor','execute','aiLicenseKeyEvaluationLimit','editing','showUI','isOn','once','listenTo','groupId','enabledCommandsIds','evaluationLimit','command:','insertContentBelow','requires','179065Ipbisq','aiLicenseKeyInvalid','fieldView','ck-ai-assistant-ui','hideFakeVisualSelection','filter','length','media','order','polite','getData','ck-ai-assistant-button\x20','show','_getResolvedCommandsDefinitions','source','\x20ck-ai-assistant-ui_theme','plugins','aiLicenseKeyExpired','change','errorView','announce','4407004OgfKQt','insertContent','body','document','<p>','hide','_getMenuBarGroupButtons','Error\x20during\x20AI\x20content\x20generation:\x20%0','741639OWsNgF','_populateMenuBarMenu','domainLimit','showAIAssistant','ai.assistant.commands','buttonView','AIAssistantUI','aiLicenseKeyValid','change:enabledCommandsIds','</p>','_uiCssClasses','change:isProcessing','text/html','_showLicenseError','_dialog','getLimitElement','_licenseKeyCheckInterval','init','change:isError','aiLicenseKeyUsageLimit','focus','locale','Generated\x20content:\x20%0','setSelection','updateView','isEnabled','menuView','custom','contentArea','addMany','REPLACE','_aiAssistantController','ai.assistant.useTheme','wasMoved','DataTransfer','licenseKey','isCollapsed','includes','6rDqusn','push','change:value'];_0x3e56=function(){return _0x290fab;};return _0x3e56();}import{normalizeCommandsConfig as _0x377f38,UNGROUPED_COMMANDS_GROUP_ID as _0x3941bf}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x2d9984}from'./aiassistantediting.js';import{AIAdapter as _0x970663}from'./adapters/aiadapter.js';import{getTranslation as _0x184d09}from'./utils/common-translations.js';function _0x10a1(_0x301582,_0x5af336){const _0x3e5604=_0x3e56();return _0x10a1=function(_0x10a152,_0x1713bc){_0x10a152=_0x10a152-0x178;let _0x4f9924=_0x3e5604[_0x10a152];return _0x4f9924;},_0x10a1(_0x301582,_0x5af336);}import{ShowAIAssistantCommand as _0x1a9a07}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0x3c4707}from'./ui/aiassistantcontroller.js';import{AIFormView as _0x306f36}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x395454}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[_0x4b7aa2(0x17e)];import{ClipboardMarkersUtils as _0x4a7823}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x3bdf91,ViewDataTransfer as _0x86c3c2}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0x53b885{[_0x4b7aa2(0x17f)];[_0x4b7aa2(0x21a)];[_0x4b7aa2(0x218)];[_0x4b7aa2(0x1c6)];[_0x4b7aa2(0x1de)];[_0x4b7aa2(0x17b)];[_0x4b7aa2(0x214)]='';static get[_0x4b7aa2(0x1d1)](){const _0x374ff7=_0x4b7aa2;return _0x374ff7(0x210);}static get[_0x4b7aa2(0x1c3)](){return!0x0;}static get[_0x4b7aa2(0x1bd)](){return!0x0;}static get[_0x4b7aa2(0x1ec)](){return[_0x4a7823,_0x2d9984,_0x970663,_0x185aa1];}constructor(_0x4d248f){const _0x215c90=_0x4b7aa2;super(_0x4d248f),_0x4d248f[_0x215c90(0x19c)][_0x215c90(0x1d3)](_0x215c90(0x1ca),[_0x215c90(0x1f4),_0x215c90(0x1a1),_0x215c90(0x1b3)]),_0x4d248f[_0x215c90(0x19c)][_0x215c90(0x1d3)](_0x215c90(0x194),''),_0x4d248f[_0x215c90(0x19c)][_0x215c90(0x1d3)](_0x215c90(0x17c),!0x0),this[_0x215c90(0x214)]=_0x215c90(0x1f0)+(_0x4d248f[_0x215c90(0x19c)][_0x215c90(0x1d6)](_0x215c90(0x17c))?_0x215c90(0x1fc):'');}[_0x4b7aa2(0x21b)](){const _0x29b4f4=_0x4b7aa2,{editor:_0x143a8d}=this;this[_0x29b4f4(0x1de)]=_0x143a8d[_0x29b4f4(0x1fd)][_0x29b4f4(0x1d6)](_0x970663),this[_0x29b4f4(0x218)]=_0x143a8d[_0x29b4f4(0x1fd)][_0x29b4f4(0x1d6)](_0x185aa1),this[_0x29b4f4(0x1c6)]=null,this[_0x29b4f4(0x1b9)]=this[_0x29b4f4(0x1fa)]();const _0x5e4a42=new _0x1a9a07(_0x143a8d,Array[_0x29b4f4(0x1bf)](this[_0x29b4f4(0x1b9)][_0x29b4f4(0x195)]()));_0x143a8d[_0x29b4f4(0x1b1)][_0x29b4f4(0x1a6)](_0x29b4f4(0x20d),_0x5e4a42),_0x143a8d['ui'][_0x29b4f4(0x1b6)][_0x29b4f4(0x1a6)](_0x29b4f4(0x1ce),_0x2355a5=>{const _0x25469c=_0x29b4f4,_0x265610=_0x586a58(_0x2355a5);return _0x265610[_0x25469c(0x1d4)]({'class':_0x25469c(0x1b0)+this[_0x25469c(0x214)]}),_0x265610[_0x25469c(0x20f)][_0x25469c(0x1d4)]({'label':_0x184d09(_0x2355a5,_0x25469c(0x1c0)),'icon':_0x491da5,'tooltip':!0x0}),_0x265610['on'](_0x25469c(0x1e0),_0x299d3a=>this[_0x25469c(0x1b2)](_0x299d3a[_0x25469c(0x1fb)]['id'])),_0x4eb7e6(_0x265610,_0x143a8d['ui'][_0x25469c(0x1bc)][_0x25469c(0x204)],function(_0x13ab23){const _0x42034c=_0x25469c,_0x22b64a=_0x377f38(_0x13ab23[_0x42034c(0x19c)][_0x42034c(0x1d6)](_0x42034c(0x20e)),_0x13ab23[_0x42034c(0x21f)]),_0x8fbcd3=B(_0x13ab23,_0x22b64a)[_0x42034c(0x1f2)](_0x3fb3d2=>_0x3fb3d2[_0x42034c(0x1b1)][_0x42034c(0x1f3)]);if(0x1===_0x8fbcd3[_0x42034c(0x1f3)])return B(_0x13ab23,_0x8fbcd3[0x0][_0x42034c(0x1b1)])[_0x42034c(0x1a4)](_0x336db0=>({'id':_0x336db0['id'],'label':_0x336db0[_0x42034c(0x1a5)]}));return _0x8fbcd3[_0x42034c(0x1a4)](_0x43caf8=>{const _0x286df8=_0x42034c,{groupId:_0x18db22,groupLabel:_0x4ccc7c,commands:_0x2c7c6b}=_0x43caf8,_0x6e9380=B(_0x13ab23,_0x2c7c6b)[_0x286df8(0x1a4)](_0x57d335=>({'id':_0x57d335['id'],'label':_0x57d335[_0x286df8(0x1a5)]}));return{'id':_0x18db22,'menu':_0x4ccc7c||_0x18db22,'children':_0x6e9380};});}(_0x143a8d),{'ariaLabel':_0x184d09(_0x2355a5,_0x25469c(0x1c0))}),_0x265610[_0x25469c(0x224)][_0x25469c(0x19b)]=_0x25469c(0x1b0)+this[_0x25469c(0x214)],_0x5e4a42['on'](_0x25469c(0x212),_0xcef260),_0x265610[_0x25469c(0x224)][_0x25469c(0x1e5)](_0x25469c(0x1cf),_0xcef260),_0x265610;function _0xcef260(){const _0x1846df=_0x25469c;_0x265610[_0x1846df(0x223)]=_0x5e4a42[_0x1846df(0x1e8)][_0x1846df(0x1f3)]>0x0;for(const _0x990d3d of _0x265610[_0x1846df(0x224)][_0x1846df(0x1b8)])_0x990d3d[_0x1846df(0x223)]=_0x5e4a42[_0x1846df(0x1e8)][_0x1846df(0x181)](_0x990d3d['id']);}}),_0x143a8d['ui'][_0x29b4f4(0x1b6)][_0x29b4f4(0x1a6)](_0x29b4f4(0x187),_0x17d71f=>{const _0x2d6347=_0x29b4f4,_0x311ae1=new _0xce789b(_0x17d71f);_0x311ae1[_0x2d6347(0x20f)][_0x2d6347(0x1d4)]({'label':_0x184d09(_0x17d71f,_0x2d6347(0x1c0)),'icon':_0x491da5}),_0x311ae1[_0x2d6347(0x18f)](_0x2d6347(0x223))['to'](_0x5e4a42,_0x2d6347(0x1e8),_0x16cc7b=>_0x16cc7b[_0x2d6347(0x1f3)]>0x0);const _0x5dd69e=_0x377f38(_0x143a8d[_0x2d6347(0x19c)][_0x2d6347(0x1d6)](_0x2d6347(0x20e)),_0x17d71f);return this[_0x2d6347(0x20b)](_0x5e4a42,_0x311ae1,_0x5dd69e,_0x1a26c6=>this[_0x2d6347(0x1b2)](_0x1a26c6)),_0x311ae1;}),_0x143a8d['ui'][_0x29b4f4(0x1b6)][_0x29b4f4(0x1a6)](_0x29b4f4(0x198),()=>{const _0x353b64=_0x29b4f4,_0x3860a6=this[_0x353b64(0x1bb)](_0x5f4ddf);return _0x3860a6[_0x353b64(0x1d4)]({'tooltip':!0x0,'class':_0x353b64(0x1f8)+this[_0x353b64(0x214)]}),_0x3860a6;}),_0x143a8d['ui'][_0x29b4f4(0x1b6)][_0x29b4f4(0x1a6)](_0x29b4f4(0x190),()=>{const _0x456ade=_0x29b4f4,_0x4e481b=this[_0x456ade(0x1bb)](_0x59a250);return _0x4e481b[_0x456ade(0x1d4)]({'role':_0x456ade(0x1c4)}),_0x4e481b;}),this[_0x29b4f4(0x17f)]=this[_0x29b4f4(0x1df)][_0x29b4f4(0x19c)][_0x29b4f4(0x1d6)](_0x29b4f4(0x17f));const _0x5ed2b4=this[_0x29b4f4(0x1df)];this[_0x29b4f4(0x21a)]=setInterval(()=>{const _0x1d96e7=_0x29b4f4;let _0x4ffd79;for(const _0x1c4bc6 in _0x5ed2b4){const _0x14d42c=_0x1c4bc6,_0x19f0bb=_0x5ed2b4[_0x14d42c];if(_0x1d96e7(0x211)==_0x19f0bb||_0x1d96e7(0x1ee)==_0x19f0bb||_0x1d96e7(0x1fe)==_0x19f0bb||_0x1d96e7(0x192)==_0x19f0bb||_0x1d96e7(0x1c8)==_0x19f0bb||_0x1d96e7(0x1e1)==_0x19f0bb||_0x1d96e7(0x21d)==_0x19f0bb){delete _0x5ed2b4[_0x14d42c],_0x4ffd79=_0x19f0bb,clearInterval(this[_0x1d96e7(0x21a)]),this[_0x1d96e7(0x21a)]=void 0x0;break;}}_0x1d96e7(0x1ee)==_0x4ffd79&&_0x5ed2b4[_0x1d96e7(0x217)](_0x1d96e7(0x189)),_0x1d96e7(0x1fe)==_0x4ffd79&&_0x5ed2b4[_0x1d96e7(0x217)](_0x1d96e7(0x1d8)),_0x1d96e7(0x192)==_0x4ffd79&&_0x5ed2b4[_0x1d96e7(0x217)](_0x1d96e7(0x20c)),_0x1d96e7(0x1c8)==_0x4ffd79&&_0x5ed2b4[_0x1d96e7(0x217)](_0x1d96e7(0x1aa),_0x1d96e7(0x1d7)),_0x1d96e7(0x1e1)==_0x4ffd79&&_0x5ed2b4[_0x1d96e7(0x217)](_0x1d96e7(0x1e9)),_0x1d96e7(0x21d)==_0x4ffd79&&_0x5ed2b4[_0x1d96e7(0x217)](_0x1d96e7(0x1d2));},0x3e8);}[_0x4b7aa2(0x193)](){const _0x3574a8=_0x4b7aa2;super[_0x3574a8(0x193)](),this[_0x3574a8(0x21a)]&&clearInterval(this[_0x3574a8(0x21a)]);}[_0x4b7aa2(0x1e3)](_0x405a4d='',_0x2b66ad='',_0x4428cc=_0x4b7aa2(0x225)){const _0x5bb9e5=_0x4b7aa2,_0x17070f=this[_0x5bb9e5(0x1df)],_0x1e9d9a=_0x17070f[_0x5bb9e5(0x1e2)][_0x5bb9e5(0x1bc)],_0x15185e=_0x17070f[_0x5bb9e5(0x1fd)][_0x5bb9e5(0x1d6)](_0x2d9984),_0x21d92d=_0x17070f[_0x5bb9e5(0x1fd)][_0x5bb9e5(0x1d6)](_0x4a7823);_0x15185e[_0x5bb9e5(0x1ba)]();const _0x54b254=new w(),_0x573454=new ClipboardEvent(_0x5bb9e5(0x1b5),{'clipboardData':_0x54b254}),_0x4f581f=new _0x86c3c2(_0x54b254),_0x42ad6a=new _0x3bdf91(_0x1e9d9a,_0x573454,{'dataTransfer':_0x4f581f});_0x21d92d[_0x5bb9e5(0x1ad)](_0x5bb9e5(0x1d5),()=>{const _0x56c2ce=_0x5bb9e5;_0x1e9d9a[_0x56c2ce(0x205)][_0x56c2ce(0x18b)](_0x56c2ce(0x1b5),_0x42ad6a);}),this[_0x5bb9e5(0x1c6)]||(this[_0x5bb9e5(0x19d)](),this[_0x5bb9e5(0x17b)]=new _0x3c4707(_0x17070f,this[_0x5bb9e5(0x1de)][_0x5bb9e5(0x1cd)],this[_0x5bb9e5(0x1c6)]));let _0x2c7fac=_0x4f581f[_0x5bb9e5(0x1f7)](_0x5bb9e5(0x216));const _0x528b73=_0x17070f[_0x5bb9e5(0x1cc)][_0x5bb9e5(0x205)][_0x5bb9e5(0x18d)],_0xe7d37d=Array[_0x5bb9e5(0x1bf)](_0x528b73[_0x5bb9e5(0x188)]());0x1===_0xe7d37d[_0x5bb9e5(0x1f3)]&&_0xe7d37d[0x0][_0x5bb9e5(0x1c7)]&&!_0x528b73[_0x5bb9e5(0x1a0)]()&&''!==_0x2c7fac[_0x5bb9e5(0x1c2)](/ /g,'')[_0x5bb9e5(0x1a7)]()&&(_0x2c7fac=_0x5bb9e5(0x206)+_0x2c7fac+_0x5bb9e5(0x213)),this[_0x5bb9e5(0x17b)][_0x5bb9e5(0x222)]({'actionId':_0x4428cc,'query':_0x405a4d,'htmlContent':_0x2c7fac,'label':_0x2b66ad,'mainActionLabel':_0x395454[_0x17070f[_0x5bb9e5(0x1cc)][_0x5bb9e5(0x205)][_0x5bb9e5(0x18d)][_0x5bb9e5(0x180)]?_0x5bb9e5(0x1dc):_0x5bb9e5(0x17a)]}),_0x5bb9e5(0x198)!==this[_0x5bb9e5(0x218)]['id']?this[_0x5bb9e5(0x218)][_0x5bb9e5(0x1f9)]({'id':_0x5bb9e5(0x198),'icon':_0x108dbc,'title':_0x184d09(this[_0x5bb9e5(0x1df)][_0x5bb9e5(0x21f)],_0x5bb9e5(0x199)),'content':this[_0x5bb9e5(0x1c6)],'position':_0x2e1bf3[_0x5bb9e5(0x18e)],'onShow':()=>{const _0x5e7e02=_0x5bb9e5;this[_0x5e7e02(0x1c6)][_0x5e7e02(0x21e)]();},'onHide':()=>{const _0x2d7c95=_0x5bb9e5;this[_0x2d7c95(0x17b)][_0x2d7c95(0x1db)](),_0x15185e[_0x2d7c95(0x1f1)]();}}):this[_0x5bb9e5(0x218)][_0x5bb9e5(0x1bc)][_0x5bb9e5(0x17d)]||this[_0x5bb9e5(0x218)][_0x5bb9e5(0x1bc)][_0x5bb9e5(0x185)]();}[_0x4b7aa2(0x1cb)](){const _0x11d727=_0x4b7aa2;this[_0x11d727(0x218)][_0x11d727(0x207)]();}[_0x4b7aa2(0x1fa)](){const _0x3ec3e6=_0x4b7aa2,_0x2ef50f=new Map(),_0x42e1a4=_0x377f38(this[_0x3ec3e6(0x1df)][_0x3ec3e6(0x19c)][_0x3ec3e6(0x1d6)](_0x3ec3e6(0x20e)),this[_0x3ec3e6(0x1df)][_0x3ec3e6(0x21f)]);for(const _0x1171ba of _0x42e1a4)for(const _0x763cda of _0x1171ba[_0x3ec3e6(0x1b1)])_0x2ef50f[_0x3ec3e6(0x1d4)](_0x763cda['id'],{..._0x763cda,'groupId':_0x1171ba[_0x3ec3e6(0x1e7)],'groupLabel':_0x1171ba[_0x3ec3e6(0x1c5)]||_0x1171ba[_0x3ec3e6(0x1e7)]});return _0x2ef50f;}[_0x4b7aa2(0x1bb)](_0x1c4a0e){const _0x12ef91=_0x4b7aa2,_0x5cc178=this[_0x12ef91(0x1df)],_0x1147db=_0x5cc178[_0x12ef91(0x1b1)][_0x12ef91(0x1d6)](_0x12ef91(0x20d)),_0x2f33d0=new _0x1c4a0e(_0x5cc178[_0x12ef91(0x21f)]);return _0x2f33d0[_0x12ef91(0x1d4)]({'label':_0x184d09(_0x5cc178[_0x12ef91(0x21f)],_0x12ef91(0x199)),'icon':_0x108dbc,'isToggleable':!0x0}),_0x2f33d0[_0x12ef91(0x18f)](_0x12ef91(0x223))['to'](_0x1147db),_0x2f33d0[_0x12ef91(0x18f)](_0x12ef91(0x1e4))['to'](this[_0x12ef91(0x218)],'id',_0x1d2c57=>_0x12ef91(0x198)===_0x1d2c57),this[_0x12ef91(0x1e6)](_0x2f33d0,_0x12ef91(0x1e0),()=>{const _0x988e01=_0x12ef91;_0x2f33d0[_0x988e01(0x1e4)]?this[_0x988e01(0x1cb)]():_0x1147db[_0x988e01(0x1e0)]();}),_0x2f33d0;}[_0x4b7aa2(0x19d)](){const _0x3365d7=_0x4b7aa2,_0x1aef15=this[_0x3365d7(0x1df)][_0x3365d7(0x1fd)][_0x3365d7(0x1d6)](_0x2d9984);this[_0x3365d7(0x1c6)]=new _0x306f36(this[_0x3365d7(0x1df)][_0x3365d7(0x21f)],this[_0x3365d7(0x214)],this[_0x3365d7(0x1df)][_0x3365d7(0x19c)][_0x3365d7(0x1d6)](_0x3365d7(0x194))),this[_0x3365d7(0x1c6)]['on'](_0x3365d7(0x184),()=>{const _0x4716a2=_0x3365d7;this[_0x4716a2(0x218)][_0x4716a2(0x1bc)][_0x4716a2(0x17d)]||this[_0x4716a2(0x218)][_0x4716a2(0x1bc)][_0x4716a2(0x185)]();}),this[_0x3365d7(0x1c6)][_0x3365d7(0x1ac)][_0x3365d7(0x1b4)][_0x3365d7(0x1ef)]['on'](_0x3365d7(0x1dd),()=>{const _0x2557e9=_0x3365d7;this[_0x2557e9(0x218)][_0x2557e9(0x1bc)][_0x2557e9(0x17d)]||this[_0x2557e9(0x218)][_0x2557e9(0x1bc)][_0x2557e9(0x185)]();}),this[_0x3365d7(0x1e6)](this[_0x3365d7(0x1c6)],_0x3365d7(0x19a),()=>{const _0x64aa84=_0x3365d7;_0x1aef15[_0x64aa84(0x203)](this[_0x64aa84(0x17b)][_0x64aa84(0x197)]),this[_0x64aa84(0x1cb)]();}),this[_0x3365d7(0x1e6)](this[_0x3365d7(0x1c6)],_0x3365d7(0x1eb),()=>{const _0x3a9c2e=_0x3365d7;_0x1aef15[_0x3a9c2e(0x1eb)](this[_0x3a9c2e(0x17b)][_0x3a9c2e(0x197)]),this[_0x3a9c2e(0x1cb)]();}),this[_0x3365d7(0x18c)]();}[_0x4b7aa2(0x18c)](){const _0x20943d=_0x4b7aa2,{locale:_0x34e190,ui:{ariaLiveAnnouncer:_0x32ac68}}=this[_0x20943d(0x1df)];this[_0x20943d(0x1c6)][_0x20943d(0x178)]['on'](_0x20943d(0x215),(_0x29ba46,_0x363ebd,_0x49e63a)=>{const _0x4f1830=_0x20943d,_0x117755=this[_0x4f1830(0x17b)][_0x4f1830(0x197)];_0x49e63a?_0x32ac68[_0x4f1830(0x201)](_0x184d09(_0x34e190,_0x4f1830(0x1a3))):_0x117755&&_0x32ac68[_0x4f1830(0x201)](_0x184d09(_0x34e190,_0x4f1830(0x220),_0x117755),{'politeness':_0x4f1830(0x1f6),'isUnsafeHTML':!0x0});}),this[_0x20943d(0x1c6)]['on'](_0x20943d(0x21c),(_0x51a20,_0x2cc2d3,_0xb20b21)=>{const _0x2af04c=_0x20943d;if(_0xb20b21){const _0x469f6b=this[_0x2af04c(0x1c6)][_0x2af04c(0x200)][_0x2af04c(0x18a)];_0x32ac68[_0x2af04c(0x201)](_0x184d09(_0x34e190,_0x2af04c(0x209),_0x469f6b));}});}[_0x4b7aa2(0x1b2)](_0x19e4b7){const _0x2fb8f9=_0x4b7aa2,_0x579cb5=this[_0x2fb8f9(0x1b9)][_0x2fb8f9(0x1d6)](_0x19e4b7),_0x5d6b16=this[_0x2fb8f9(0x1df)],_0x9e0a91=_0x5d6b16[_0x2fb8f9(0x1cc)][_0x2fb8f9(0x205)][_0x2fb8f9(0x18d)],_0x3e8f55=_0x5d6b16[_0x2fb8f9(0x1b1)][_0x2fb8f9(0x1d6)](_0x2fb8f9(0x20d)),_0x33745a=_0x5d6b16[_0x2fb8f9(0x1fd)][_0x2fb8f9(0x1d6)](_0x2d9984),_0x522678=''+(_0x579cb5[_0x2fb8f9(0x1e7)]!==_0x3941bf?_0x579cb5[_0x2fb8f9(0x1c5)]+':\x20':'')+_0x579cb5[_0x2fb8f9(0x1a5)];if(!0x1!==_0x579cb5[_0x2fb8f9(0x196)]&&_0x9e0a91[_0x2fb8f9(0x180)]){const _0x47eb04=_0x3aa027(_0x9e0a91[_0x2fb8f9(0x1d9)]())||_0x5d6b16[_0x2fb8f9(0x1cc)][_0x2fb8f9(0x1da)][_0x2fb8f9(0x219)](_0x9e0a91);_0x5d6b16[_0x2fb8f9(0x1cc)][_0x2fb8f9(0x1ff)](_0x5bd985=>{const _0x560d1e=_0x2fb8f9;_0x5bd985[_0x560d1e(0x221)](_0x47eb04,'in');});}_0x33745a[_0x2fb8f9(0x1ba)](),_0x3e8f55[_0x2fb8f9(0x1e0)](_0x579cb5[_0x2fb8f9(0x191)],_0x522678,_0x2fb8f9(0x1ea)+_0x19e4b7);}[_0x4b7aa2(0x20b)](_0x87df1a,_0x1c75fb,_0x55ec1c,_0x68f6cd){const _0x176341=_0x4b7aa2,_0x709bd2=this[_0x176341(0x1df)],_0x5e3f39=_0x709bd2[_0x176341(0x21f)],_0x433a6c=new _0x242d46(_0x5e3f39),_0x56de77=B(_0x709bd2,_0x55ec1c)[_0x176341(0x1f2)](_0x1e64d4=>_0x1e64d4[_0x176341(0x1b1)][_0x176341(0x1f3)]);0x1===_0x56de77[_0x176341(0x1f3)]?this[_0x176341(0x208)]({'command':_0x87df1a,'commands':_0x56de77[0x0][_0x176341(0x1b1)],'parentMenuView':_0x1c75fb,'onExecute':_0x68f6cd})[_0x176341(0x1af)](_0x2a1a3f=>_0x433a6c[_0x176341(0x1d0)][_0x176341(0x1a6)](_0x2a1a3f)):_0x56de77[_0x176341(0x1af)](({groupId:_0x49e319,groupLabel:_0x4ffb1b,commands:_0x3cf303})=>{const _0x227665=_0x176341,_0x2143dc=new _0xc80219(_0x5e3f39,_0x1c75fb),_0x53451b=new _0xce789b(_0x5e3f39),_0x107017=new _0x242d46(_0x5e3f39),_0x310a61=this[_0x227665(0x208)]({'command':_0x87df1a,'commands':_0x3cf303,'parentMenuView':_0x53451b,'onExecute':_0x68f6cd});_0x53451b[_0x227665(0x20f)][_0x227665(0x1d4)]({'label':_0x4ffb1b||_0x49e319}),_0x53451b[_0x227665(0x1a9)](_0x227665(0x1e0))['to'](_0x1c75fb),_0x107017[_0x227665(0x1d0)][_0x227665(0x179)](_0x310a61),_0x53451b[_0x227665(0x1b7)][_0x227665(0x1ab)][_0x227665(0x1a6)](_0x107017),_0x2143dc[_0x227665(0x1ab)][_0x227665(0x1a6)](_0x53451b),_0x433a6c[_0x227665(0x1d0)][_0x227665(0x1a6)](_0x2143dc);}),_0x1c75fb[_0x176341(0x1b7)][_0x176341(0x1ab)][_0x176341(0x1a6)](_0x433a6c);}[_0x4b7aa2(0x208)]({command:_0xc9037a,commands:_0x4130e5,parentMenuView:_0x49c2f2,onExecute:_0x3c6d08}){const _0x11f21d=_0x4b7aa2,_0x1c57f3=this[_0x11f21d(0x1df)],_0x28c03a=_0x1c57f3[_0x11f21d(0x21f)];return B(_0x1c57f3,_0x4130e5)[_0x11f21d(0x1a4)](_0x326564=>{const _0x41edd8=_0x11f21d,_0x3d7684=new _0xc80219(_0x28c03a,_0x49c2f2),_0x3d9025=new _0x59a250(_0x28c03a);return _0x3d9025[_0x41edd8(0x1d4)]({'label':_0x326564[_0x41edd8(0x1a5)]}),_0x3d9025[_0x41edd8(0x1a9)](_0x41edd8(0x1e0))['to'](_0x49c2f2),_0x3d9025['on'](_0x41edd8(0x1e0),()=>_0x3c6d08(_0x326564['id'])),_0x3d9025[_0x41edd8(0x18f)](_0x41edd8(0x223))['to'](_0xc9037a,_0x41edd8(0x1e8),_0x223a4b=>_0x223a4b[_0x41edd8(0x181)](_0x326564['id'])),_0x3d7684[_0x41edd8(0x1ab)][_0x41edd8(0x1a6)](_0x3d9025),_0x3d7684;});}}function U(_0x15c78d,_0x26d65f){const _0x2eefd7=_0x4b7aa2;return void 0x0!==_0x15c78d[_0x2eefd7(0x1f5)]&&void 0x0===_0x26d65f[_0x2eefd7(0x1f5)]?0x1:void 0x0===_0x15c78d[_0x2eefd7(0x1f5)]&&void 0x0!==_0x26d65f[_0x2eefd7(0x1f5)]?-0x1:void 0x0!==_0x15c78d[_0x2eefd7(0x1f5)]&&void 0x0!==_0x26d65f[_0x2eefd7(0x1f5)]?_0x15c78d[_0x2eefd7(0x1f5)]-_0x26d65f[_0x2eefd7(0x1f5)]:0x0;}function B(_0x55d3b8,_0x2613b0){const _0x20b291=_0x4b7aa2;_0x2613b0[_0x20b291(0x1c1)](U);const _0x34963a={},_0xedcbdb=[];for(const _0x48b787 of _0x2613b0)if(void 0x0!==_0x48b787[_0x20b291(0x1f5)]){if(_0x48b787[_0x20b291(0x1f5)]in _0x34963a)throw new _0x43be50(_0x20b291(0x19f),_0x55d3b8,{'conflictingDefinitions':[_0x48b787,_0x34963a[_0x48b787[_0x20b291(0x1f5)]]]});_0x34963a[_0x48b787[_0x20b291(0x1f5)]]=_0x48b787,_0xedcbdb[_0x20b291(0x19e)](_0x48b787[_0x20b291(0x1f5)],0x0,_0x48b787);}else _0xedcbdb[_0x20b291(0x183)](_0x48b787);return _0xedcbdb;}
|
|
23
|
+
const _0xd68d18=_0x5995;(function(_0x5a0300,_0x5cefff){const _0x27a94a=_0x5995,_0x5cd625=_0x5a0300();while(!![]){try{const _0x587415=parseInt(_0x27a94a(0xc0))/0x1*(-parseInt(_0x27a94a(0x133))/0x2)+parseInt(_0x27a94a(0x134))/0x3*(parseInt(_0x27a94a(0xeb))/0x4)+parseInt(_0x27a94a(0xe3))/0x5*(-parseInt(_0x27a94a(0xde))/0x6)+parseInt(_0x27a94a(0xe5))/0x7*(-parseInt(_0x27a94a(0x119))/0x8)+parseInt(_0x27a94a(0x15f))/0x9+parseInt(_0x27a94a(0xc1))/0xa+parseInt(_0x27a94a(0xd3))/0xb;if(_0x587415===_0x5cefff)break;else _0x5cd625['push'](_0x5cd625['shift']());}catch(_0x2045ac){_0x5cd625['push'](_0x5cd625['shift']());}}}(_0x5392,0x1af87));import{Plugin as _0xd00650}from'ckeditor5/src/core.js';import{IconMagicWand as _0x456a76,IconRobotPencil as _0x4095d1}from'ckeditor5/src/icons.js';import{first as _0x1dfc77,CKEditorError as _0x4087d7}from'ckeditor5/src/utils.js';import{createDropdown as _0xc6d50e,addMenuToDropdown as _0x3e912b,ButtonView as _0x34a5c4,MenuBarMenuListItemButtonView as _0x123ffe,Dialog as _0x3a6de6,DialogViewPosition as _0x470695,MenuBarMenuView as _0x483825,MenuBarMenuListView as _0x15e44e,MenuBarMenuListItemView as _0xb2277c}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x4420ff,UNGROUPED_COMMANDS_GROUP_ID as _0x2d94f4}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x4ff11e}from'./aiassistantediting.js';import{AIAdapter as _0x5b2b39}from'./adapters/aiadapter.js';import{getTranslation as _0x5c0819}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0x4c29d9}from'./ui/showaiassistantcommand.js';function _0x5995(_0x482ff9,_0x23b982){const _0x539240=_0x5392();return _0x5995=function(_0x599576,_0x5bc9ac){_0x599576=_0x599576-0xb7;let _0x3b7260=_0x539240[_0x599576];return _0x3b7260;},_0x5995(_0x482ff9,_0x23b982);}import{AIAssistantController as _0x292247}from'./ui/aiassistantcontroller.js';import{AIFormView as _0x9750a3}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x47f929}from'./ui/form/aiformtoolbarview.js';import'../../theme/aiassistant/ai.css';import'../../theme/aiassistant/ai-dropdown.css';import'../../theme/aiassistant/ai-form.css';const w=globalThis[_0xd68d18(0x13d)];import{ClipboardMarkersUtils as _0x183b72}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x3dd345,ViewDataTransfer as _0x98e50e}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0xd00650{[_0xd68d18(0x165)];[_0xd68d18(0xbb)];[_0xd68d18(0xdc)];[_0xd68d18(0x114)];[_0xd68d18(0x155)];[_0xd68d18(0x109)];[_0xd68d18(0x131)]='';static get[_0xd68d18(0xe4)](){const _0x3d87f0=_0xd68d18;return _0x3d87f0(0xfe);}static get[_0xd68d18(0xf5)](){return!0x0;}static get[_0xd68d18(0x160)](){return!0x0;}static get[_0xd68d18(0x121)](){return[_0x183b72,_0x4ff11e,_0x5b2b39,_0x3a6de6];}constructor(_0x4dada2){const _0x46b47c=_0xd68d18;super(_0x4dada2),_0x4dada2[_0x46b47c(0x14b)][_0x46b47c(0xce)](_0x46b47c(0xb7),[_0x46b47c(0xca),_0x46b47c(0xe9),_0x46b47c(0x126)]),_0x4dada2[_0x46b47c(0x14b)][_0x46b47c(0xce)](_0x46b47c(0xd1),''),_0x4dada2[_0x46b47c(0x14b)][_0x46b47c(0xce)](_0x46b47c(0xef),!0x0),this[_0x46b47c(0x131)]=_0x46b47c(0x10b)+(_0x4dada2[_0x46b47c(0x14b)][_0x46b47c(0x137)](_0x46b47c(0xef))?_0x46b47c(0x12d):'');}[_0xd68d18(0xd9)](){const _0x5509a7=_0xd68d18,{editor:_0x1889d2}=this;this[_0x5509a7(0x155)]=_0x1889d2[_0x5509a7(0x164)][_0x5509a7(0x137)](_0x5b2b39),this[_0x5509a7(0xdc)]=_0x1889d2[_0x5509a7(0x164)][_0x5509a7(0x137)](_0x3a6de6),this[_0x5509a7(0x114)]=null,this[_0x5509a7(0x11f)]=this[_0x5509a7(0x158)]();const _0x3d4a80=new _0x4c29d9(_0x1889d2,Array[_0x5509a7(0x138)](this[_0x5509a7(0x11f)][_0x5509a7(0xe6)]()));_0x1889d2[_0x5509a7(0x103)][_0x5509a7(0x135)](_0x5509a7(0x112),_0x3d4a80),_0x1889d2['ui'][_0x5509a7(0x10f)][_0x5509a7(0x135)](_0x5509a7(0xe1),_0x1fd477=>{const _0xdee28e=_0x5509a7,_0x400448=_0xc6d50e(_0x1fd477);return _0x400448[_0xdee28e(0x12c)]({'class':_0xdee28e(0x129)+this[_0xdee28e(0x131)]}),_0x400448[_0xdee28e(0xf1)][_0xdee28e(0x12c)]({'label':_0x5c0819(_0x1fd477,_0xdee28e(0xe8)),'icon':_0x456a76,'tooltip':!0x0}),_0x400448['on'](_0xdee28e(0xcb),_0x475a37=>this[_0xdee28e(0xed)](_0x475a37[_0xdee28e(0xfa)]['id'])),_0x3e912b(_0x400448,_0x1889d2['ui'][_0xdee28e(0x124)][_0xdee28e(0xbe)],function(_0x5ddbd2){const _0xda9d51=_0xdee28e,_0x5e7b42=_0x4420ff(_0x5ddbd2[_0xda9d51(0x14b)][_0xda9d51(0x137)](_0xda9d51(0x13c)),_0x5ddbd2[_0xda9d51(0x115)]),_0x838a59=B(_0x5ddbd2,_0x5e7b42)[_0xda9d51(0xfd)](_0x4b4a6d=>_0x4b4a6d[_0xda9d51(0x103)][_0xda9d51(0x10a)]);if(0x1===_0x838a59[_0xda9d51(0x10a)])return B(_0x5ddbd2,_0x838a59[0x0][_0xda9d51(0x103)])[_0xda9d51(0x11d)](_0x522ad1=>({'id':_0x522ad1['id'],'label':_0x522ad1[_0xda9d51(0xf8)]}));return _0x838a59[_0xda9d51(0x11d)](_0x1a0a8e=>{const _0x2dc02f=_0xda9d51,{groupId:_0x175360,groupLabel:_0x4a70f2,commands:_0x2507fd}=_0x1a0a8e,_0x311a3d=B(_0x5ddbd2,_0x2507fd)[_0x2dc02f(0x11d)](_0x391604=>({'id':_0x391604['id'],'label':_0x391604[_0x2dc02f(0xf8)]}));return{'id':_0x175360,'menu':_0x4a70f2||_0x175360,'children':_0x311a3d};});}(_0x1889d2),{'ariaLabel':_0x5c0819(_0x1fd477,_0xdee28e(0xe8))}),_0x400448[_0xdee28e(0x13b)][_0xdee28e(0x153)]=_0xdee28e(0x129)+this[_0xdee28e(0x131)],_0x3d4a80['on'](_0xdee28e(0x108),_0x1afd08),_0x400448[_0xdee28e(0x13b)][_0xdee28e(0x154)](_0xdee28e(0xdf),_0x1afd08),_0x400448;function _0x1afd08(){const _0x28ef6e=_0xdee28e;_0x400448[_0x28ef6e(0xf9)]=_0x3d4a80[_0x28ef6e(0x15c)][_0x28ef6e(0x10a)]>0x0;for(const _0x39864e of _0x400448[_0x28ef6e(0x13b)][_0x28ef6e(0x145)])_0x39864e[_0x28ef6e(0xf9)]=_0x3d4a80[_0x28ef6e(0x15c)][_0x28ef6e(0xcf)](_0x39864e['id']);}}),_0x1889d2['ui'][_0x5509a7(0x10f)][_0x5509a7(0x135)](_0x5509a7(0x15b),_0x290f94=>{const _0x37453b=_0x5509a7,_0x319955=new _0x483825(_0x290f94);_0x319955[_0x37453b(0xf1)][_0x37453b(0x12c)]({'label':_0x5c0819(_0x290f94,_0x37453b(0xe8)),'icon':_0x456a76}),_0x319955[_0x37453b(0x127)](_0x37453b(0xf9))['to'](_0x3d4a80,_0x37453b(0x15c),_0xcf8fdb=>_0xcf8fdb[_0x37453b(0x10a)]>0x0);const _0x248eaf=_0x4420ff(_0x1889d2[_0x37453b(0x14b)][_0x37453b(0x137)](_0x37453b(0x13c)),_0x290f94);return this[_0x37453b(0xcc)](_0x3d4a80,_0x319955,_0x248eaf,_0x391813=>this[_0x37453b(0xed)](_0x391813)),_0x319955;}),_0x1889d2['ui'][_0x5509a7(0x10f)][_0x5509a7(0x135)](_0x5509a7(0xfb),()=>{const _0x2d2f9e=_0x5509a7,_0x3ada7f=this[_0x2d2f9e(0x157)](_0x34a5c4);return _0x3ada7f[_0x2d2f9e(0x12c)]({'tooltip':!0x0,'class':_0x2d2f9e(0x132)+this[_0x2d2f9e(0x131)]}),_0x3ada7f;}),_0x1889d2['ui'][_0x5509a7(0x10f)][_0x5509a7(0x135)](_0x5509a7(0x163),()=>{const _0x427297=_0x5509a7,_0x21ed89=this[_0x427297(0x157)](_0x123ffe);return _0x21ed89[_0x427297(0x12c)]({'role':_0x427297(0x116)}),_0x21ed89;}),this[_0x5509a7(0x165)]=this[_0x5509a7(0xe7)][_0x5509a7(0x14b)][_0x5509a7(0x137)](_0x5509a7(0x165));const _0x58858c=this[_0x5509a7(0xe7)];this[_0x5509a7(0xbb)]=setInterval(()=>{const _0x32c76=_0x5509a7;let _0x87b074;for(const _0x5b0019 in _0x58858c){const _0x26177e=_0x5b0019,_0x5c5945=_0x58858c[_0x26177e];if(_0x32c76(0x10e)==_0x5c5945||_0x32c76(0x139)==_0x5c5945||_0x32c76(0xba)==_0x5c5945||_0x32c76(0xff)==_0x5c5945||_0x32c76(0xec)==_0x5c5945||_0x32c76(0x136)==_0x5c5945||_0x32c76(0xcd)==_0x5c5945){delete _0x58858c[_0x26177e],_0x87b074=_0x5c5945,clearInterval(this[_0x32c76(0xbb)]),this[_0x32c76(0xbb)]=void 0x0;break;}}_0x32c76(0x139)==_0x87b074&&_0x58858c[_0x32c76(0x10d)](_0x32c76(0xd2)),_0x32c76(0xba)==_0x87b074&&_0x58858c[_0x32c76(0x10d)](_0x32c76(0x144)),_0x32c76(0xff)==_0x87b074&&_0x58858c[_0x32c76(0x10d)](_0x32c76(0x159)),_0x32c76(0xec)==_0x87b074&&_0x58858c[_0x32c76(0x10d)](_0x32c76(0xd6),_0x32c76(0x14c)),_0x32c76(0x136)==_0x87b074&&_0x58858c[_0x32c76(0x10d)](_0x32c76(0xd5)),_0x32c76(0xcd)==_0x87b074&&_0x58858c[_0x32c76(0x10d)](_0x32c76(0x106));},0x3e8);}[_0xd68d18(0x142)](){const _0x27cd5b=_0xd68d18;super[_0x27cd5b(0x142)](),this[_0x27cd5b(0xbb)]&&clearInterval(this[_0x27cd5b(0xbb)]);}[_0xd68d18(0x122)](_0x1bdaee='',_0x36848e='',_0x55117a=_0xd68d18(0x11a)){const _0x57d1ab=_0xd68d18,_0xeea800=this[_0x57d1ab(0xe7)],_0x5e2460=_0xeea800[_0x57d1ab(0xf0)][_0x57d1ab(0x124)],_0x57637f=_0xeea800[_0x57d1ab(0x164)][_0x57d1ab(0x137)](_0x4ff11e),_0x50b64=_0xeea800[_0x57d1ab(0x164)][_0x57d1ab(0x137)](_0x183b72);_0x57637f[_0x57d1ab(0x12b)]();const _0x14945c=new w(),_0x47e455=new ClipboardEvent(_0x57d1ab(0x150),{'clipboardData':_0x14945c}),_0x31d843=new _0x98e50e(_0x14945c),_0x24b3be=new _0x3dd345(_0x5e2460,_0x47e455,{'dataTransfer':_0x31d843});_0x50b64[_0x57d1ab(0x118)](_0x57d1ab(0x13f),()=>{const _0x5d57db=_0x57d1ab;_0x5e2460[_0x5d57db(0xc6)][_0x5d57db(0x117)](_0x5d57db(0x150),_0x24b3be);}),this[_0x57d1ab(0x114)]||(this[_0x57d1ab(0x123)](),this[_0x57d1ab(0x109)]=new _0x292247(_0xeea800,this[_0x57d1ab(0x155)][_0x57d1ab(0x107)],this[_0x57d1ab(0x114)]));let _0x24eaa4=_0x31d843[_0x57d1ab(0x100)](_0x57d1ab(0xf4));const _0x3a7c7c=_0xeea800[_0x57d1ab(0x146)][_0x57d1ab(0xc6)][_0x57d1ab(0x110)],_0x2a0199=Array[_0x57d1ab(0x138)](_0x3a7c7c[_0x57d1ab(0xf6)]());0x1===_0x2a0199[_0x57d1ab(0x10a)]&&_0x2a0199[0x0][_0x57d1ab(0x10c)]&&!_0x3a7c7c[_0x57d1ab(0x140)]()&&''!==_0x24eaa4[_0x57d1ab(0x113)](/ /g,'')[_0x57d1ab(0x15d)]()&&(_0x24eaa4=_0x57d1ab(0xdd)+_0x24eaa4+_0x57d1ab(0x14a)),this[_0x57d1ab(0x109)][_0x57d1ab(0x143)]({'actionId':_0x55117a,'query':_0x1bdaee,'htmlContent':_0x24eaa4,'label':_0x36848e,'mainActionLabel':_0x47f929[_0xeea800[_0x57d1ab(0x146)][_0x57d1ab(0xc6)][_0x57d1ab(0x110)][_0x57d1ab(0xee)]?_0x57d1ab(0x141):_0x57d1ab(0x111)]}),_0x57d1ab(0xfb)!==this[_0x57d1ab(0xdc)]['id']?this[_0x57d1ab(0xdc)][_0x57d1ab(0xf3)]({'id':_0x57d1ab(0xfb),'icon':_0x4095d1,'title':_0x5c0819(this[_0x57d1ab(0xe7)][_0x57d1ab(0x115)],_0x57d1ab(0x15e)),'content':this[_0x57d1ab(0x114)],'position':_0x470695[_0x57d1ab(0x156)],'onShow':()=>{const _0x20dd9e=_0x57d1ab;this[_0x20dd9e(0x114)][_0x20dd9e(0xb9)]();},'onHide':()=>{const _0x4cee11=_0x57d1ab;this[_0x4cee11(0x109)][_0x4cee11(0xe0)](),_0x57637f[_0x4cee11(0x161)]();}}):this[_0x57d1ab(0xdc)][_0x57d1ab(0x124)][_0x57d1ab(0xdb)]||this[_0x57d1ab(0xdc)][_0x57d1ab(0x124)][_0x57d1ab(0xf2)]();}[_0xd68d18(0xc4)](){const _0x58dc8b=_0xd68d18;this[_0x58dc8b(0xdc)][_0x58dc8b(0x128)]();}[_0xd68d18(0x158)](){const _0x4aeb69=_0xd68d18,_0x1addfb=new Map(),_0x4fc061=_0x4420ff(this[_0x4aeb69(0xe7)][_0x4aeb69(0x14b)][_0x4aeb69(0x137)](_0x4aeb69(0x13c)),this[_0x4aeb69(0xe7)][_0x4aeb69(0x115)]);for(const _0x10e508 of _0x4fc061)for(const _0x196b7d of _0x10e508[_0x4aeb69(0x103)])_0x1addfb[_0x4aeb69(0x12c)](_0x196b7d['id'],{..._0x196b7d,'groupId':_0x10e508[_0x4aeb69(0x102)],'groupLabel':_0x10e508[_0x4aeb69(0x11e)]||_0x10e508[_0x4aeb69(0x102)]});return _0x1addfb;}[_0xd68d18(0x157)](_0x4b03df){const _0x3fcc4d=_0xd68d18,_0x2ed5ea=this[_0x3fcc4d(0xe7)],_0x3555b2=_0x2ed5ea[_0x3fcc4d(0x103)][_0x3fcc4d(0x137)](_0x3fcc4d(0x112)),_0x32f730=new _0x4b03df(_0x2ed5ea[_0x3fcc4d(0x115)]);return _0x32f730[_0x3fcc4d(0x12c)]({'label':_0x5c0819(_0x2ed5ea[_0x3fcc4d(0x115)],_0x3fcc4d(0x15e)),'icon':_0x4095d1,'isToggleable':!0x0}),_0x32f730[_0x3fcc4d(0x127)](_0x3fcc4d(0xf9))['to'](_0x3555b2),_0x32f730[_0x3fcc4d(0x127)](_0x3fcc4d(0x11b))['to'](this[_0x3fcc4d(0xdc)],'id',_0x10f8ec=>_0x3fcc4d(0xfb)===_0x10f8ec),this[_0x3fcc4d(0x13e)](_0x32f730,_0x3fcc4d(0xcb),()=>{const _0x5c7572=_0x3fcc4d;_0x32f730[_0x5c7572(0x11b)]?this[_0x5c7572(0xc4)]():_0x3555b2[_0x5c7572(0xcb)]();}),_0x32f730;}[_0xd68d18(0x123)](){const _0x527ac2=_0xd68d18,_0x14f8dd=this[_0x527ac2(0xe7)][_0x527ac2(0x164)][_0x527ac2(0x137)](_0x4ff11e);this[_0x527ac2(0x114)]=new _0x9750a3(this[_0x527ac2(0xe7)][_0x527ac2(0x115)],this[_0x527ac2(0x131)],this[_0x527ac2(0xe7)][_0x527ac2(0x14b)][_0x527ac2(0x137)](_0x527ac2(0xd1))),this[_0x527ac2(0x114)]['on'](_0x527ac2(0x105),()=>{const _0x371185=_0x527ac2;this[_0x371185(0xdc)][_0x371185(0x124)][_0x371185(0xdb)]||this[_0x371185(0xdc)][_0x371185(0x124)][_0x371185(0xf2)]();}),this[_0x527ac2(0x114)][_0x527ac2(0xb8)][_0x527ac2(0xd0)][_0x527ac2(0xe2)]['on'](_0x527ac2(0x12e),()=>{const _0x28b12d=_0x527ac2;this[_0x28b12d(0xdc)][_0x28b12d(0x124)][_0x28b12d(0xdb)]||this[_0x28b12d(0xdc)][_0x28b12d(0x124)][_0x28b12d(0xf2)]();}),this[_0x527ac2(0x13e)](this[_0x527ac2(0x114)],_0x527ac2(0x13a),()=>{const _0x71096b=_0x527ac2;_0x14f8dd[_0x71096b(0x125)](this[_0x71096b(0x109)][_0x71096b(0xf7)]),this[_0x71096b(0xc4)]();}),this[_0x527ac2(0x13e)](this[_0x527ac2(0x114)],_0x527ac2(0x147),()=>{const _0x56d460=_0x527ac2;_0x14f8dd[_0x56d460(0x147)](this[_0x56d460(0x109)][_0x56d460(0xf7)]),this[_0x56d460(0xc4)]();}),this[_0x527ac2(0xbf)]();}[_0xd68d18(0xbf)](){const _0x5ee0f4=_0xd68d18,{locale:_0x5d5ab1,ui:{ariaLiveAnnouncer:_0x3834d8}}=this[_0x5ee0f4(0xe7)];this[_0x5ee0f4(0x114)][_0x5ee0f4(0x149)]['on'](_0x5ee0f4(0x15a),(_0x105de0,_0x456ef0,_0x116d4a)=>{const _0x11af32=_0x5ee0f4,_0x110765=this[_0x11af32(0x109)][_0x11af32(0xf7)];_0x116d4a?_0x3834d8[_0x11af32(0x151)](_0x5c0819(_0x5d5ab1,_0x11af32(0xd4))):_0x110765&&_0x3834d8[_0x11af32(0x151)](_0x5c0819(_0x5d5ab1,_0x11af32(0x152),_0x110765),{'politeness':_0x11af32(0x14f),'isUnsafeHTML':!0x0});}),this[_0x5ee0f4(0x114)]['on'](_0x5ee0f4(0x14d),(_0x58203c,_0x3ac4eb,_0x265f34)=>{const _0xb62dd8=_0x5ee0f4;if(_0x265f34){const _0x107e4c=this[_0xb62dd8(0x114)][_0xb62dd8(0xd8)][_0xb62dd8(0xfc)];_0x3834d8[_0xb62dd8(0x151)](_0x5c0819(_0x5d5ab1,_0xb62dd8(0x101),_0x107e4c));}});}[_0xd68d18(0xed)](_0x4f17f9){const _0x251706=_0xd68d18,_0x46eb44=this[_0x251706(0x11f)][_0x251706(0x137)](_0x4f17f9),_0x46a487=this[_0x251706(0xe7)],_0x290e79=_0x46a487[_0x251706(0x146)][_0x251706(0xc6)][_0x251706(0x110)],_0x159cac=_0x46a487[_0x251706(0x103)][_0x251706(0x137)](_0x251706(0x112)),_0x32c7f0=_0x46a487[_0x251706(0x164)][_0x251706(0x137)](_0x4ff11e),_0x3cc181=''+(_0x46eb44[_0x251706(0x102)]!==_0x2d94f4?_0x46eb44[_0x251706(0x11e)]+':\x20':'')+_0x46eb44[_0x251706(0xf8)];if(!0x1!==_0x46eb44[_0x251706(0xc9)]&&_0x290e79[_0x251706(0xee)]){const _0x11b59e=_0x1dfc77(_0x290e79[_0x251706(0x12a)]())||_0x46a487[_0x251706(0x146)][_0x251706(0x12f)][_0x251706(0x130)](_0x290e79);_0x46a487[_0x251706(0x146)][_0x251706(0xc3)](_0x4b6db1=>{const _0x1c5c2b=_0x251706;_0x4b6db1[_0x1c5c2b(0xea)](_0x11b59e,'in');});}_0x32c7f0[_0x251706(0x12b)](),_0x159cac[_0x251706(0xcb)](_0x46eb44[_0x251706(0xc8)],_0x3cc181,_0x251706(0xda)+_0x4f17f9);}[_0xd68d18(0xcc)](_0x2c3893,_0x1af709,_0x3482bb,_0x23c23e){const _0x10323b=_0xd68d18,_0x47f270=this[_0x10323b(0xe7)],_0x83b164=_0x47f270[_0x10323b(0x115)],_0x17ea79=new _0x15e44e(_0x83b164),_0x3871a5=B(_0x47f270,_0x3482bb)[_0x10323b(0xfd)](_0x3945bb=>_0x3945bb[_0x10323b(0x103)][_0x10323b(0x10a)]);0x1===_0x3871a5[_0x10323b(0x10a)]?this[_0x10323b(0xd7)]({'command':_0x2c3893,'commands':_0x3871a5[0x0][_0x10323b(0x103)],'parentMenuView':_0x1af709,'onExecute':_0x23c23e})[_0x10323b(0x11c)](_0x5ab944=>_0x17ea79[_0x10323b(0x162)][_0x10323b(0x135)](_0x5ab944)):_0x3871a5[_0x10323b(0x11c)](({groupId:_0xadb706,groupLabel:_0x39cc6d,commands:_0x3fe3ce})=>{const _0xa693d5=_0x10323b,_0x29a423=new _0xb2277c(_0x83b164,_0x1af709),_0xc1f634=new _0x483825(_0x83b164),_0x5d99d9=new _0x15e44e(_0x83b164),_0x821a4f=this[_0xa693d5(0xd7)]({'command':_0x2c3893,'commands':_0x3fe3ce,'parentMenuView':_0xc1f634,'onExecute':_0x23c23e});_0xc1f634[_0xa693d5(0xf1)][_0xa693d5(0x12c)]({'label':_0x39cc6d||_0xadb706}),_0xc1f634[_0xa693d5(0xc5)](_0xa693d5(0xcb))['to'](_0x1af709),_0x5d99d9[_0xa693d5(0x162)][_0xa693d5(0xbc)](_0x821a4f),_0xc1f634[_0xa693d5(0x104)][_0xa693d5(0x120)][_0xa693d5(0x135)](_0x5d99d9),_0x29a423[_0xa693d5(0x120)][_0xa693d5(0x135)](_0xc1f634),_0x17ea79[_0xa693d5(0x162)][_0xa693d5(0x135)](_0x29a423);}),_0x1af709[_0x10323b(0x104)][_0x10323b(0x120)][_0x10323b(0x135)](_0x17ea79);}[_0xd68d18(0xd7)]({command:_0x20d261,commands:_0x25c890,parentMenuView:_0xc22f25,onExecute:_0x3ebe8f}){const _0x334eba=_0xd68d18,_0x4e6b45=this[_0x334eba(0xe7)],_0x49c572=_0x4e6b45[_0x334eba(0x115)];return B(_0x4e6b45,_0x25c890)[_0x334eba(0x11d)](_0x23ce1d=>{const _0x357c26=_0x334eba,_0x3bb365=new _0xb2277c(_0x49c572,_0xc22f25),_0x430b12=new _0x123ffe(_0x49c572);return _0x430b12[_0x357c26(0x12c)]({'label':_0x23ce1d[_0x357c26(0xf8)]}),_0x430b12[_0x357c26(0xc5)](_0x357c26(0xcb))['to'](_0xc22f25),_0x430b12['on'](_0x357c26(0xcb),()=>_0x3ebe8f(_0x23ce1d['id'])),_0x430b12[_0x357c26(0x127)](_0x357c26(0xf9))['to'](_0x20d261,_0x357c26(0x15c),_0x46eaf9=>_0x46eaf9[_0x357c26(0xcf)](_0x23ce1d['id'])),_0x3bb365[_0x357c26(0x120)][_0x357c26(0x135)](_0x430b12),_0x3bb365;});}}function U(_0x49fa8d,_0x3b8a2e){const _0x24cbb3=_0xd68d18;return void 0x0!==_0x49fa8d[_0x24cbb3(0xc2)]&&void 0x0===_0x3b8a2e[_0x24cbb3(0xc2)]?0x1:void 0x0===_0x49fa8d[_0x24cbb3(0xc2)]&&void 0x0!==_0x3b8a2e[_0x24cbb3(0xc2)]?-0x1:void 0x0!==_0x49fa8d[_0x24cbb3(0xc2)]&&void 0x0!==_0x3b8a2e[_0x24cbb3(0xc2)]?_0x49fa8d[_0x24cbb3(0xc2)]-_0x3b8a2e[_0x24cbb3(0xc2)]:0x0;}function B(_0x285475,_0x72a405){const _0x3e58f6=_0xd68d18;_0x72a405[_0x3e58f6(0xc7)](U);const _0x4e368c={},_0x1f1195=[];for(const _0x83e49b of _0x72a405)if(void 0x0!==_0x83e49b[_0x3e58f6(0xc2)]){if(_0x83e49b[_0x3e58f6(0xc2)]in _0x4e368c)throw new _0x4087d7(_0x3e58f6(0x148),_0x285475,{'conflictingDefinitions':[_0x83e49b,_0x4e368c[_0x83e49b[_0x3e58f6(0xc2)]]]});_0x4e368c[_0x83e49b[_0x3e58f6(0xc2)]]=_0x83e49b,_0x1f1195[_0x3e58f6(0xbd)](_0x83e49b[_0x3e58f6(0xc2)],0x0,_0x83e49b);}else _0x1f1195[_0x3e58f6(0x14e)](_0x83e49b);return _0x1f1195;}function _0x5392(){const _0x29cb2d=['updatePosition','show','text/html','isOfficialPlugin','getRanges','currentContext','label','isEnabled','source','aiAssistant','text','filter','AIAssistantUI','aiLicenseKeyDomainLimit','getData','Error\x20during\x20AI\x20content\x20generation:\x20%0','groupId','commands','panelView','change:value','usageLimit','textAdapter','change:enabledCommandsIds','_aiAssistantController','length','ck-ai-assistant-ui','isFlat','_showLicenseError','aiLicenseKeyValid','componentFactory','selection','REPLACE','showAIAssistant','replace','_formView','locale','menuitemcheckbox','fire','_forceMarkersCopy','1397832PbSWbU','custom','isOn','forEach','map','groupLabel','_commandDefinitions','children','requires','showUI','_initView','view','insertContent','tableOfContents','bind','hide','ck-ai-commands-dropdown\x20','getSelectedBlocks','showFakeVisualSelection','set','\x20ck-ai-assistant-ui_theme','update','schema','getLimitElement','_uiCssClasses','ck-ai-assistant-button\x20','6gKGvaN','82578quDdhp','add','aiLicenseKeyEvaluationLimit','get','from','aiLicenseKeyInvalid','replaceContent','menuView','ai.assistant.commands','DataTransfer','listenTo','comment','getSelectedElement','INSERT','destroy','updateView','expired','buttons','model','insertContentBelow','ai-commands-config-order-collision','contentArea','</p>','config','AIAssistant','change:isError','push','polite','copy','announce','Generated\x20content:\x20%0','menuPanelClass','once','_aiAdapter','EDITOR_TOP_SIDE','_createAIAssistantUIButton','_getResolvedCommandsDefinitions','domainLimit','change:isProcessing','menuBar:aiCommands','enabledCommandsIds','trim','AI\x20Assistant','466011BYpVfq','isPremiumPlugin','hideFakeVisualSelection','items','menuBar:aiAssistant','plugins','licenseKey','ai.assistant.disabledElements','promptView','focus','aiLicenseKeyExpired','_licenseKeyCheckInterval','addMany','splice','body','_initAriaAiStatusChangeAnnouncements','61055ZxZGHt','1255040rRQcOT','order','change','hideUI','delegate','document','sort','prompt','requiresContent','media','execute','_populateMenuBarMenu','aiLicenseKeyUsageLimit','define','includes','queryView','ai.assistant.contentAreaCssClass','invalid','3558621lRuXdd','AI\x20is\x20writing','evaluationLimit','featureNotAllowed','_getMenuBarGroupButtons','errorView','init','command:','wasMoved','_dialog','<p>','6mYmkqV','render','reset','aiCommands','fieldView','299775RczUCc','pluginName','7YuRIXg','values','editor','AI\x20Commands','rawHtml','setSelection','4QGRmsL','aiLicenseKeyNotAllowed','_onExecute','isCollapsed','ai.assistant.useTheme','editing','buttonView'];_0x5392=function(){return _0x29cb2d;};return _0x5392();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x58742f,_0x2db315){var _0x2e1205=_0x3e2d,_0xf1797=_0x58742f();while(!![]){try{var _0x4ca1f4=parseInt(_0x2e1205(0x13b))/0x1*(-parseInt(_0x2e1205(0x13d))/0x2)+-parseInt(_0x2e1205(0x13e))/0x3+parseInt(_0x2e1205(0x136))/0x4+parseInt(_0x2e1205(0x13c))/0x5*(parseInt(_0x2e1205(0x137))/0x6)+-parseInt(_0x2e1205(0x138))/0x7+parseInt(_0x2e1205(0x13f))/0x8+parseInt(_0x2e1205(0x139))/0x9*(parseInt(_0x2e1205(0x13a))/0xa);if(_0x4ca1f4===_0x2db315)break;else _0xf1797['push'](_0xf1797['shift']());}catch(_0x32f810){_0xf1797['push'](_0xf1797['shift']());}}}(_0x1fdb,0x72f1d));function _0x3e2d(_0xc17c9c,_0x1406b0){var _0x1fdbc9=_0x1fdb();return _0x3e2d=function(_0x3e2dfb,_0x1d1fc6){_0x3e2dfb=_0x3e2dfb-0x136;var _0x58ab9f=_0x1fdbc9[_0x3e2dfb];return _0x58ab9f;},_0x3e2d(_0xc17c9c,_0x1406b0);}function _0x1fdb(){var _0x59a957=['20hqZFfc','131434jeHZqQ','30CngrKU','14AEzwvP','1774296vZdaQH','6463952iGTgDP','3374048DPwNPx','675522RAkYSK','2535547fZevbL','78642BMwaCx'];_0x1fdb=function(){return _0x59a957;};return _0x1fdb();}import{CKEditorError as _0x3dc428}from'ckeditor5/src/utils.js';
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x3de219=_0x9df7;(function(_0x20ee94,_0x340879){const _0x48f150=_0x9df7,_0x15efcf=_0x20ee94();while(!![]){try{const _0x31f62a=parseInt(_0x48f150(0xbd))/0x1*(-parseInt(_0x48f150(0xdc))/0x2)+parseInt(_0x48f150(0xe5))/0x3+parseInt(_0x48f150(0xdb))/0x4*(-parseInt(_0x48f150(0xcf))/0x5)+-parseInt(_0x48f150(0xe1))/0x6+parseInt(_0x48f150(0xb5))/0x7*(-parseInt(_0x48f150(0xd6))/0x8)+parseInt(_0x48f150(0xd7))/0x9*(parseInt(_0x48f150(0xd3))/0xa)+-parseInt(_0x48f150(0xe6))/0xb*(-parseInt(_0x48f150(0xc3))/0xc);if(_0x31f62a===_0x340879)break;else _0x15efcf['push'](_0x15efcf['shift']());}catch(_0x12e2bb){_0x15efcf['push'](_0x15efcf['shift']());}}}(_0x4f15,0xad199));import{ObservableMixin as _0x1e5fae}from'ckeditor5/src/utils.js';function _0x9df7(_0x5b2818,_0x5c0018){const _0x4f1568=_0x4f15();return _0x9df7=function(_0x9df7f3,_0x30cfe5){_0x9df7f3=_0x9df7f3-0xa8;let _0x515c2c=_0x4f1568[_0x9df7f3];return _0x515c2c;},_0x9df7(_0x5b2818,_0x5c0018);}import{AIRequestError as _0x2e930f}from'../adapters/aiadapter.js';import{Matcher as _0xef8a5f,ViewUpcastWriter as _0x526394}from'ckeditor5/src/engine.js';const hs=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');function _0x4f15(){const _0x7b43c=['exec','mainAction','_sanitizeHTML','message','endsWith','name','from','_parseAndNormalizeContent','_stripMarkdownSyntax','htmlProcessor','serializeToString','prompt','finishProcessing','7OibjtE','childNodes','value','markers','view','text/html','querySelector','listenTo','129vuXCGy','createElement','rename','catch','startsWith','render','348xHGRAU','isProcessing','currentContext','stringify','previousActionId','element','reverse','currentResponse','tryAgainEvent','stopListening','_normalizeResponseHeadings','editing','135czyqNq','previousContext','ELEMENT_NODE','initialContext','21990kCkrAx','document','domConverter','9928304RseRmn','2682wKjVxR','get','```html','previousLabel','15576OvdUIx','17194GSBmlo','once','body','nodeType','clear','830388GggBNt','finally','abort','div','3513867vUiBVz','559867kBdihh','editor','_xmlSerializer','set:currentContext','reset','custom','toView','stopProcessing','handleError','_handleQuery','length','config','processor','<h1></h1>','then','_sanitizationContainer','destroy','trim','submitPrompt','updateView','ai.assistant.preserveComments','setContentOf','remove','_domParser','startProcessing','toModel','makeRequest','_isH1TagSupportEnabled','match','isRendered','substring','set','textAdapter','```','previousQuery','data','push','parseFromString','viewToDom','innerHTML'];_0x4f15=function(){return _0x7b43c;};return _0x4f15();}export class AIAssistantController extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x1e5fae(){[_0x3de219(0xe7)];[_0x3de219(0x106)];[_0x3de219(0xb9)];[_0x3de219(0xf5)];[_0x3de219(0xfd)];[_0x3de219(0xe8)];constructor(_0x29ee8f,_0x4b0572,_0x5f3cec){const _0x31d643=_0x3de219;super(),this[_0x31d643(0xe7)]=_0x29ee8f,this[_0x31d643(0x106)]=_0x4b0572,this[_0x31d643(0xf5)]=document[_0x31d643(0xbe)](_0x31d643(0xe4)),this[_0x31d643(0xfd)]=new DOMParser(),this[_0x31d643(0xe8)]=new XMLSerializer(),this[_0x31d643(0xb9)]=_0x5f3cec,this[_0x31d643(0x105)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x31d643(0xe9),(_0xb84b74,_0x369a1c,_0xa2b103)=>{const _0x1740e0=_0x31d643;this[_0x1740e0(0xb9)][_0x1740e0(0xb7)]=this[_0x1740e0(0xaa)](_0xa2b103);}),this[_0x31d643(0xbc)](this[_0x31d643(0xb9)],_0x31d643(0xf8),(_0xdf0001,_0x52096d)=>{const _0x47c8be=_0x31d643,_0x1180d4=this[_0x47c8be(0xc5)]||this[_0x47c8be(0xd2)];this[_0x47c8be(0xef)](_0x52096d,_0x1180d4,_0x47c8be(0xeb));}),this[_0x31d643(0xbc)](this[_0x31d643(0xb9)],_0x31d643(0xcb),()=>{const _0x5d7147=_0x31d643;this[_0x5d7147(0xb9)][_0x5d7147(0xb3)]=this[_0x5d7147(0xda)],this[_0x5d7147(0xef)](this[_0x5d7147(0x108)],this[_0x5d7147(0xd0)],this[_0x5d7147(0xc7)],this[_0x5d7147(0xda)]);}),this[_0x31d643(0xbc)](this[_0x31d643(0xb9)],_0x31d643(0xed),()=>{const _0x31c5e6=_0x31d643;this[_0x31c5e6(0xed)]();});}[_0x3de219(0xf6)](){const _0xb897b=_0x3de219;this[_0xb897b(0xcc)]();}async[_0x3de219(0xf9)]({actionId:_0x5cf081,query:_0x2a250d,htmlContent:_0x2a8f4e,label:_0x59b6ab,mainActionLabel:_0x3ca117}){const _0x5a89c3=_0x3de219;this[_0x5a89c3(0xb9)][_0x5a89c3(0xb3)]=_0x59b6ab,this[_0x5a89c3(0xb9)][_0x5a89c3(0xa9)]=_0x3ca117,this[_0x5a89c3(0xd2)]=_0x2a8f4e,_0x2a250d&&(this[_0x5a89c3(0xb9)][_0x5a89c3(0x103)]?this[_0x5a89c3(0xef)](_0x2a250d,_0x2a8f4e,_0x5cf081,_0x59b6ab):this[_0x5a89c3(0xb9)][_0x5a89c3(0xdd)](_0x5a89c3(0xc2),()=>{const _0x2d6db7=_0x5a89c3;this[_0x2d6db7(0xef)](_0x2a250d,_0x2a8f4e,_0x5cf081,_0x59b6ab);}));}[_0x3de219(0xed)](){const _0x5e1b3d=_0x3de219;this[_0x5e1b3d(0xc4)]&&(this[_0x5e1b3d(0xc4)]=!0x1,this[_0x5e1b3d(0xb9)][_0x5e1b3d(0xb4)](),this[_0x5e1b3d(0x106)][_0x5e1b3d(0xe3)]());}[_0x3de219(0xea)](){const _0x2c45de=_0x3de219;this[_0x2c45de(0xd2)]='',this[_0x2c45de(0xc5)]='',this[_0x2c45de(0xca)]='',this[_0x2c45de(0xd0)]='',this[_0x2c45de(0x108)]='',this[_0x2c45de(0xda)]='',this[_0x2c45de(0xc7)]=void 0x0,this[_0x2c45de(0xb9)][_0x2c45de(0xea)](),this[_0x2c45de(0xed)]();}async[_0x3de219(0xef)](_0xf48754,_0x22b022,_0x128074,_0x3e9d25){const _0x130ec0=_0x3de219;return this[_0x130ec0(0xc4)]=!0x0,this[_0x130ec0(0xb9)][_0x130ec0(0xfe)](),this[_0x130ec0(0xd0)]=_0x22b022,this[_0x130ec0(0x108)]=_0xf48754,this[_0x130ec0(0xda)]=_0x3e9d25||_0xf48754,this[_0x130ec0(0xc7)]=_0x128074,new Promise(_0xfe2b68=>{const _0x393d13=_0x130ec0;this[_0x393d13(0x106)][_0x393d13(0x100)]({'query':_0xf48754,'context':_0x22b022,'onData':_0x55c1d2=>{const _0x538526=_0x393d13;this[_0x538526(0xca)]=_0x55c1d2,this[_0x538526(0xc5)]=this[_0x538526(0xaf)](this[_0x538526(0xca)]);},'actionId':_0x128074})[_0x393d13(0xf4)](()=>{const _0x111b67=_0x393d13;!this[_0x111b67(0xc5)]&&this[_0x111b67(0xca)]&&(this[_0x111b67(0xc5)]=this[_0x111b67(0xaf)](this[_0x111b67(0xca)],!0x0));})[_0x393d13(0xc0)](_0x1696dc=>{const _0x3cc2f4=_0x393d13;_0x1696dc instanceof _0x2e930f?this[_0x3cc2f4(0xb9)][_0x3cc2f4(0xee)](_0x1696dc[_0x3cc2f4(0xab)]):this[_0x3cc2f4(0xb9)][_0x3cc2f4(0xee)](),_0xfe2b68();})[_0x393d13(0xe2)](()=>{const _0x255a17=_0x393d13;this[_0x255a17(0xed)](),_0xfe2b68();});});}[_0x3de219(0xaf)](_0x585f3d,_0xc59f1=!0x1){const _0x1994e9=_0x3de219,_0x5318db=hs[_0x1994e9(0xa8)](_0x585f3d);_0x585f3d=_0x5318db?_0x585f3d[_0x1994e9(0x104)](_0x5318db[0x1][_0x1994e9(0xf0)]):_0x585f3d[_0x1994e9(0xf0)]<0x64&&!_0xc59f1?'':this[_0x1994e9(0xb0)](_0x585f3d);const _0x57c3aa=this[_0x1994e9(0xfd)][_0x1994e9(0x10b)](_0x585f3d,_0x1994e9(0xba));if(_0x5318db){const _0x524c90=Array[_0x1994e9(0xae)](_0x57c3aa[_0x1994e9(0xde)][_0x1994e9(0xb6)]);_0x524c90[_0x1994e9(0xc9)]();for(const _0x122cb2 of _0x524c90){if(_0x122cb2[_0x1994e9(0xdf)]==Node[_0x1994e9(0xd1)])break;_0x122cb2[_0x1994e9(0xfc)]();}}const _0x309b15=this[_0x1994e9(0xe7)][_0x1994e9(0x109)][_0x1994e9(0xf2)][_0x1994e9(0xec)](this[_0x1994e9(0xe8)][_0x1994e9(0xb2)](_0x57c3aa[_0x1994e9(0xde)]));this[_0x1994e9(0x101)]()||this[_0x1994e9(0xcd)](_0x309b15);const _0x88ca5a=this[_0x1994e9(0xe7)][_0x1994e9(0xf1)][_0x1994e9(0xd8)](_0x1994e9(0xfa)),_0x41e44b=this[_0x1994e9(0xe7)][_0x1994e9(0x109)][_0x1994e9(0xff)](_0x309b15);return _0x88ca5a||_0x41e44b[_0x1994e9(0xb8)][_0x1994e9(0xe0)](),this[_0x1994e9(0xe7)][_0x1994e9(0x109)][_0x1994e9(0xc6)](_0x41e44b);}[_0x3de219(0xcd)](_0x3ba70c){const _0xf79566=_0x3de219,_0xd08348=new _0x526394(this[_0xf79566(0xe7)][_0xf79566(0xce)][_0xf79566(0xb9)][_0xf79566(0xd4)]),_0x33aa11=new _0xef8a5f({'name':/^h[1-5]$/}),_0x5a8080=[];let _0x171576=!0x1;for(const _0x46b05d of _0x3ba70c)_0x46b05d['is'](_0xf79566(0xc8))&&_0x33aa11[_0xf79566(0x102)](_0x46b05d)&&(_0x5a8080[_0xf79566(0x10a)](_0x46b05d),'h1'==_0x46b05d[_0xf79566(0xad)]&&(_0x171576=!0x0));if(_0x171576){for(const _0x26bac8 of _0x5a8080)_0xd08348[_0xf79566(0xbf)]('h'+(parseInt(_0x26bac8[_0xf79566(0xad)][0x1])+0x1),_0x26bac8);}}[_0x3de219(0x101)](){const _0x4ed613=_0x3de219,{data:_0x5d27bf,editing:_0x556984}=this[_0x4ed613(0xe7)],_0x49e312=_0x5d27bf[_0x4ed613(0xb1)][_0x4ed613(0xec)](_0x4ed613(0xf3)),_0x34161c=_0x5d27bf[_0x4ed613(0xec)](_0x5d27bf[_0x4ed613(0xff)](_0x49e312));return!!_0x556984[_0x4ed613(0xb9)][_0x4ed613(0xd5)][_0x4ed613(0x10c)](_0x34161c)[_0x4ed613(0xbb)]('h1');}[_0x3de219(0xaa)](_0x4ef731){const _0x48b644=_0x3de219;return this[_0x48b644(0xe7)][_0x48b644(0xce)][_0x48b644(0xb9)][_0x48b644(0xd5)][_0x48b644(0xfb)](this[_0x48b644(0xf5)],_0x4ef731),this[_0x48b644(0xf5)][_0x48b644(0x10d)];}[_0x3de219(0xb0)](_0x1cf31a){const _0xa8abce=_0x3de219,_0x4751da=_0x1cf31a[_0xa8abce(0xf7)]();return _0x4751da[_0xa8abce(0xc1)](_0xa8abce(0xd9))?_0x4751da[_0xa8abce(0xac)](_0xa8abce(0x107))?_0x4751da[_0xa8abce(0x104)](0x7,_0x4751da[_0xa8abce(0xf0)]-0x3):_0x4751da[_0xa8abce(0x104)](0x7):_0x1cf31a;}}
|