@ckeditor/ckeditor5-ai 47.7.4 → 47.7.5-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
|
-
function
|
|
23
|
+
const _0x390637=_0x386e;function _0x1e61(){const _0x141044=['error','name','editor','requires','plugins','222SKMwxE','signal','aborted','AI_ERROR_GET_HEADERS','assign','application/json','66277xhCJFd','get','7325712xDsOoU','310690jihOiO','abortController','AI_ERROR_GET_PARAMETERS','146uUiEuv','1190145uChTmH','27041JrBfHB','abort','41754UJnXny','resolve','init','catch','reject','makeRequest','locale','1718108RYXrys','_prepareRequestParameters','textAdapter','aitextadapter-send-request-failed','object','AbortError','_prepareRequestHeaders','648bAWaVG','sendRequest'];_0x1e61=function(){return _0x141044;};return _0x1e61();}(function(_0xed11a5,_0x1cf42f){const _0x1aee56=_0x386e,_0x23a91c=_0xed11a5();while(!![]){try{const _0x5a01e4=parseInt(_0x1aee56(0xeb))/0x1+-parseInt(_0x1aee56(0xcc))/0x2*(-parseInt(_0x1aee56(0xd0))/0x3)+parseInt(_0x1aee56(0xd7))/0x4+parseInt(_0x1aee56(0xcd))/0x5+parseInt(_0x1aee56(0xe5))/0x6*(parseInt(_0x1aee56(0xce))/0x7)+parseInt(_0x1aee56(0xed))/0x8+parseInt(_0x1aee56(0xde))/0x9*(-parseInt(_0x1aee56(0xee))/0xa);if(_0x5a01e4===_0x1cf42f)break;else _0x23a91c['push'](_0x23a91c['shift']());}catch(_0x3db95b){_0x23a91c['push'](_0x23a91c['shift']());}}}(_0x1e61,0x8b884));import{Plugin as _0x307663}from'ckeditor5/src/core.js';import{CKEditorError as _0x3d58d3}from'ckeditor5/src/utils.js';import{AIAdapter as _0x31d20b,AIRequestError as _0x303480}from'./aiadapter.js';import{getTranslation as _0x90e1fa}from'../utils/common-translations.js';function _0x386e(_0x46a32f,_0x24be19){const _0x1e615f=_0x1e61();return _0x386e=function(_0x386eda,_0x2f8cc2){_0x386eda=_0x386eda-0xca;let _0x14d6a1=_0x1e615f[_0x386eda];return _0x14d6a1;},_0x386e(_0x46a32f,_0x24be19);}export class AITextAdapter extends _0x307663{[_0x390637(0xca)];static get[_0x390637(0xe3)](){return[_0x31d20b];}constructor(_0x45212a){const _0x408120=_0x390637;super(_0x45212a),this[_0x408120(0xca)]=new AbortController();}[_0x390637(0xd2)](){const _0x3c701f=_0x390637;this[_0x3c701f(0xe2)][_0x3c701f(0xe4)][_0x3c701f(0xec)](_0x31d20b)[_0x3c701f(0xd9)]=this;}[_0x390637(0xcf)](){const _0x1bc2a9=_0x390637;this[_0x1bc2a9(0xca)][_0x1bc2a9(0xe6)][_0x1bc2a9(0xe7)]||(this[_0x1bc2a9(0xca)][_0x1bc2a9(0xcf)](),this[_0x1bc2a9(0xca)]=new AbortController());}async[_0x390637(0xd5)](_0x38eaa2){const _0x4bf7ce=_0x390637;return this[_0x4bf7ce(0xdf)](_0x38eaa2)[_0x4bf7ce(0xd3)](_0x42acc1=>{const _0xe7e646=_0x4bf7ce;if(_0x42acc1 instanceof _0x303480)return Promise[_0xe7e646(0xd4)](_0x42acc1);if(_0xe7e646(0xdc)==_0x42acc1[_0xe7e646(0xe1)])return Promise[_0xe7e646(0xd1)]();throw console[_0xe7e646(0xe0)](_0x42acc1),new _0x3d58d3(_0xe7e646(0xda),null);});}async[_0x390637(0xdd)](_0x14ece4,_0x274037){const _0x23c864=_0x390637,_0x56c899=this[_0x23c864(0xe2)][_0x23c864(0xd6)],_0xac3fc7={'Content-Type':_0x23c864(0xea)};if(_0x23c864(0xdb)==typeof _0x14ece4)Object[_0x23c864(0xe9)](_0xac3fc7,_0x14ece4);else{if(_0x14ece4)try{const _0x1ee497=await _0x14ece4(_0x274037);Object[_0x23c864(0xe9)](_0xac3fc7,_0x1ee497);}catch{return Promise[_0x23c864(0xd4)](new _0x303480(_0x90e1fa(_0x56c899,_0x23c864(0xe8))));}}return _0xac3fc7;}async[_0x390637(0xd8)](_0x28b1de,_0x4fe919){const _0x2d56e4=_0x390637,_0x218472=this[_0x2d56e4(0xe2)][_0x2d56e4(0xd6)];if(_0x2d56e4(0xdb)==typeof _0x28b1de)return _0x28b1de;try{return await _0x28b1de(_0x4fe919);}catch{return Promise[_0x2d56e4(0xd4)](new _0x303480(_0x90e1fa(_0x218472,_0x2d56e4(0xcb))));}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x58577f=_0x48ea;function _0x598c(){var _0x4fc130=['1279320zUNgJw','ai-aws-adapter-not-supported','1115778dIUUbm','AWSTextAdapter','sendRequest','pluginName','locale','2070735pdCsGZ','init','4295242YnyXOv','AI_ERROR_AWS_NOT_SUPPORTED','32KvTLly','485999bTOMUj','172041ESjtzb','editor','8221664QDhthd'];_0x598c=function(){return _0x4fc130;};return _0x598c();}(function(_0x3afd08,_0x2cbaf9){var _0x456236=_0x48ea,_0x42e0b7=_0x3afd08();while(!![]){try{var _0x1f50fc=-parseInt(_0x456236(0x191))/0x1+parseInt(_0x456236(0x197))/0x2+-parseInt(_0x456236(0x192))/0x3*(-parseInt(_0x456236(0x190))/0x4)+parseInt(_0x456236(0x19c))/0x5+-parseInt(_0x456236(0x195))/0x6+parseInt(_0x456236(0x19e))/0x7+-parseInt(_0x456236(0x194))/0x8;if(_0x1f50fc===_0x2cbaf9)break;else _0x42e0b7['push'](_0x42e0b7['shift']());}catch(_0x486b6c){_0x42e0b7['push'](_0x42e0b7['shift']());}}}(_0x598c,0x4d833));import{AITextAdapter as _0x303105}from'./aitextadapter.js';import{AIRequestError as _0x1473d1}from'./aiadapter.js';import{getTranslation as _0x2fc073}from'../utils/common-translations.js';function _0x48ea(_0x1caa4c,_0x5ced2e){var _0x598c3f=_0x598c();return _0x48ea=function(_0x48ea4f,_0xe548b){_0x48ea4f=_0x48ea4f-0x18f;var _0x45483e=_0x598c3f[_0x48ea4f];return _0x45483e;},_0x48ea(_0x1caa4c,_0x5ced2e);}import{logWarning as _0x5e489c,logError as _0x234bf3}from'ckeditor5/src/utils.js';export class AWSTextAdapter extends _0x303105{static get[_0x58577f(0x19a)](){var _0x4dcb90=_0x58577f;return _0x4dcb90(0x198);}[_0x58577f(0x19d)](){var _0xfba4e=_0x58577f;super[_0xfba4e(0x19d)](),_0x5e489c(_0xfba4e(0x196));}async[_0x58577f(0x199)](_0x418bee){var _0x19a3e9=_0x58577f;throw _0x234bf3(_0x19a3e9(0x196)),new _0x1473d1(_0x2fc073(this[_0x19a3e9(0x193)][_0x19a3e9(0x19b)],_0x19a3e9(0x18f)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x2024(_0x356167,_0x4b6bf1){const _0x2b0057=_0x2b00();return _0x2024=function(_0x20242d,_0x686dcd){_0x20242d=_0x20242d-0x193;let _0x3e7c5d=_0x2b0057[_0x20242d];return _0x3e7c5d;},_0x2024(_0x356167,_0x4b6bf1);}const _0x2b0a04=_0x2024;(function(_0x59d2f5,_0x352c9d){const _0x3c76d5=_0x2024,_0x34edbf=_0x59d2f5();while(!![]){try{const _0x352d93=-parseInt(_0x3c76d5(0x1ae))/0x1*(-parseInt(_0x3c76d5(0x1b3))/0x2)+-parseInt(_0x3c76d5(0x1b7))/0x3*(-parseInt(_0x3c76d5(0x1a8))/0x4)+parseInt(_0x3c76d5(0x1aa))/0x5+parseInt(_0x3c76d5(0x19f))/0x6*(parseInt(_0x3c76d5(0x1d3))/0x7)+-parseInt(_0x3c76d5(0x1cc))/0x8+-parseInt(_0x3c76d5(0x1d0))/0x9+-parseInt(_0x3c76d5(0x1b6))/0xa;if(_0x352d93===_0x352c9d)break;else _0x34edbf['push'](_0x34edbf['shift']());}catch(_0x5a7c50){_0x34edbf['push'](_0x34edbf['shift']());}}}(_0x2b00,0x65a79));import{AITextAdapter as _0x2151b4}from'./aitextadapter.js';import{AIRequestError as _0x5cdc34}from'./aiadapter.js';function _0x2b00(){const _0x2bce1e=['context_length_exceeded','[DONE]','Instruction:\x0a','_apiUrl','get','gpt-4o','reject','31074vxmgSR','prepareMessages','replace','AI_ERROR_CONTEXT_LENGTH','body','signal','ai.assistant.adapter.openAI.requestHeaders','stringify','read','881792zKgLii','parse','2863815MlVWkK','user','system','data:\x20','284729mjhvbW','POST','message','OpenAITextAdapter','choices','2wyhsbB','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.','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.','1163150zFFvBp','3plgghw','_requestParameters','stream','sendRequest','length','https://api.openai.com/v1/chat/completions','_cleanUpData','includes','decode','split','_isBufferIncomplete','_readStreamableResponse','content','_requestHeaders','getReader','Moderation','map','config','AI_ERROR_MODERATION','pluginName','resolve','5972552jMztlC','_prepareRequestParameters','text','json','4061097nUszFB','editor','ai.assistant.adapter.openAI.apiUrl','882JHJCHc','_readStaticResponse','ai.assistant.adapter.openAI.requestParameters','filter','define','delta','abortController','locale','_prepareRequestHeaders','join','\x0aYou\x20must\x20keep\x20the\x20text\x20formatting.\x0a\x0aContent:\x0a'];_0x2b00=function(){return _0x2bce1e;};return _0x2b00();}import{getTranslation as _0x18d99d}from'../utils/common-translations.js';export class OpenAITextAdapter extends _0x2151b4{[_0x2b0a04(0x19b)];[_0x2b0a04(0x1c4)];[_0x2b0a04(0x1b8)];static get[_0x2b0a04(0x1ca)](){const _0x491836=_0x2b0a04;return _0x491836(0x1b1);}constructor(_0x5f0f0c){const _0x187678=_0x2b0a04;super(_0x5f0f0c),_0x5f0f0c[_0x187678(0x1c8)][_0x187678(0x1d7)](_0x187678(0x1d2),_0x187678(0x1bc)),_0x5f0f0c[_0x187678(0x1c8)][_0x187678(0x19c)](_0x187678(0x1d5))||_0x5f0f0c[_0x187678(0x1c8)][_0x187678(0x1d7)](_0x187678(0x1d5),{'model':_0x187678(0x19d),'temperature':0x1,'top_p':0x1,'stream':!0x0}),this[_0x187678(0x19b)]=_0x5f0f0c[_0x187678(0x1c8)][_0x187678(0x19c)](_0x187678(0x1d2)),this[_0x187678(0x1c4)]=_0x5f0f0c[_0x187678(0x1c8)][_0x187678(0x19c)](_0x187678(0x1a5))||{},this[_0x187678(0x1b8)]=_0x5f0f0c[_0x187678(0x1c8)][_0x187678(0x19c)](_0x187678(0x1d5));}async[_0x2b0a04(0x1ba)]({query:_0x2553b5,context:_0x4a7ec0,onData:_0x255c79,actionId:_0x170990}){const _0x5d6677=_0x2b0a04,_0xfc29bb=this[_0x5d6677(0x1d1)][_0x5d6677(0x194)],_0x48c323=await this[_0x5d6677(0x1a0)](_0x2553b5,_0x4a7ec0,_0x170990),_0x3fd9fb=await this[_0x5d6677(0x195)](this[_0x5d6677(0x1c4)],_0x170990),_0x4df977=await this[_0x5d6677(0x1cd)](this[_0x5d6677(0x1b8)],_0x170990),_0x58d016={'messages':_0x48c323,..._0x4df977},_0x1afa10={'method':_0x5d6677(0x1af),'headers':_0x3fd9fb,'body':JSON[_0x5d6677(0x1a6)](_0x58d016),'signal':this[_0x5d6677(0x193)][_0x5d6677(0x1a4)]},_0x160188=await fetch(this[_0x5d6677(0x19b)],_0x1afa10);if(_0x160188['ok'])return _0x4df977[_0x5d6677(0x1b9)]?await this[_0x5d6677(0x1c2)](_0x160188,_0x255c79):await this[_0x5d6677(0x1d4)](_0x160188,_0x255c79),Promise[_0x5d6677(0x1cb)]();{const _0xf2ffc3=await _0x160188[_0x5d6677(0x1ce)]();return _0xf2ffc3[_0x5d6677(0x1be)](_0x5d6677(0x198))?Promise[_0x5d6677(0x19e)](new _0x5cdc34(_0x18d99d(_0xfc29bb,_0x5d6677(0x1a2)))):_0xf2ffc3[_0x5d6677(0x1be)](_0x5d6677(0x1c6))?Promise[_0x5d6677(0x19e)](new _0x5cdc34(_0x18d99d(_0xfc29bb,_0x5d6677(0x1c9)))):Promise[_0x5d6677(0x19e)](new Error(_0xf2ffc3));}}async[_0x2b0a04(0x1a0)](_0x196b6c,_0x47f0c8,_0x531ab7){const _0x4d0c0e=_0x2b0a04;let _0x4be891,_0x11d728;return _0x47f0c8?(_0x4be891=_0x4d0c0e(0x1b4),_0x11d728=_0x4d0c0e(0x19a)+_0x196b6c+_0x4d0c0e(0x197)+_0x47f0c8):(_0x4be891=_0x4d0c0e(0x1b5),_0x11d728=_0x196b6c),[{'role':_0x4d0c0e(0x1ac),'content':_0x4be891},{'role':_0x4d0c0e(0x1ab),'content':_0x11d728}];}async[_0x2b0a04(0x1c2)](_0x364947,_0x32f8bc){const _0x5b6b54=_0x2b0a04,_0x81d46a=_0x364947[_0x5b6b54(0x1a3)][_0x5b6b54(0x1c5)](),_0x575cad=new TextDecoder();let _0x2278c2='',_0x387d33='',_0x452b6f='',_0x5a70e3=!0x1;for(;!_0x5a70e3;){const {done:_0x3d4a60,value:_0x85a93c}=await _0x81d46a[_0x5b6b54(0x1a7)](),_0xb945c4=_0x2278c2+_0x575cad[_0x5b6b54(0x1bf)](_0x85a93c);let _0xf2fc5d='';_0x5a70e3=_0x3d4a60;try{_0xf2fc5d=this[_0x5b6b54(0x1bd)](_0xb945c4),_0x2278c2='';}catch{_0x2278c2=_0xb945c4;continue;}_0x387d33+=_0xf2fc5d,!_0x5a70e3&&this[_0x5b6b54(0x1c1)](_0x387d33)||_0x387d33&&(_0x452b6f+=_0x387d33,_0x387d33='',_0x32f8bc(_0x452b6f));}return Promise[_0x5b6b54(0x1cb)]();}async[_0x2b0a04(0x1d4)](_0x12571d,_0x319220){const _0x5d1ffa=_0x2b0a04;return _0x319220((await _0x12571d[_0x5d1ffa(0x1cf)]())[_0x5d1ffa(0x1b2)][0x0][_0x5d1ffa(0x1b0)][_0x5d1ffa(0x1c3)]),Promise[_0x5d1ffa(0x1cb)]();}[_0x2b0a04(0x1c1)](_0x3488e9){const _0x37acbd=_0x2b0a04,_0x2e9d01=_0x3488e9[_0x37acbd(0x1c0)]('<')[_0x37acbd(0x1bb)]!==_0x3488e9[_0x37acbd(0x1c0)]('>')[_0x37acbd(0x1bb)],_0x51d667=_0x3488e9[_0x37acbd(0x1bb)]<0x1e;return _0x2e9d01&&_0x51d667;}[_0x2b0a04(0x1bd)](_0x1f6128){const _0x3ca695=_0x2b0a04;return _0x1f6128[_0x3ca695(0x1c0)](/\n(?![^{]*\})/g)[_0x3ca695(0x1c7)](_0x11565c=>_0x11565c[_0x3ca695(0x1a1)](_0x3ca695(0x1ad),''))[_0x3ca695(0x1d6)](_0x4a4a26=>_0x4a4a26&&_0x4a4a26[_0x3ca695(0x1bb)]>0x0&&_0x3ca695(0x199)!==_0x4a4a26)[_0x3ca695(0x1c7)](_0x4fad76=>{const _0x1f2992=_0x3ca695,{choices:_0x5dc07e}=JSON[_0x1f2992(0x1a9)](_0x4fad76);if(_0x5dc07e[0x0]?.[_0x1f2992(0x1d8)]?.[_0x1f2992(0x1c3)])return _0x5dc07e[0x0][_0x1f2992(0x1d8)][_0x1f2992(0x1c3)];})[_0x3ca695(0x1d6)](_0x44e734=>_0x44e734)[_0x3ca695(0x196)]('');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x2f14a9=_0x5dc7;(function(_0x104940,_0x515ef8){const _0x3a3818=_0x5dc7,_0x471ebd=_0x104940();while(!![]){try{const _0x5a40f1=-parseInt(_0x3a3818(0x192))/0x1*(parseInt(_0x3a3818(0x141))/0x2)+-parseInt(_0x3a3818(0x15d))/0x3+parseInt(_0x3a3818(0x18f))/0x4*(parseInt(_0x3a3818(0x19b))/0x5)+-parseInt(_0x3a3818(0x153))/0x6*(parseInt(_0x3a3818(0x18d))/0x7)+-parseInt(_0x3a3818(0x169))/0x8+-parseInt(_0x3a3818(0x1a1))/0x9*(-parseInt(_0x3a3818(0x16c))/0xa)+-parseInt(_0x3a3818(0x170))/0xb*(-parseInt(_0x3a3818(0x185))/0xc);if(_0x5a40f1===_0x515ef8)break;else _0x471ebd['push'](_0x471ebd['shift']());}catch(_0x313ab4){_0x471ebd['push'](_0x471ebd['shift']());}}}(_0x2abf,0xe9cea));import{Plugin as _0x5d2045}from'ckeditor5/src/core.js';import{AIAssistantUI as _0x300985}from'./aiassistantui.js';import{AIAssistantEditing as _0x54f326}from'./aiassistantediting.js';import{getTranslation as _0x57244a}from'./utils/common-translations.js';import{normalizeCommandsConfig as _0x1981b5}from'./utils/normalizecommandsconfig.js';function _0x5dc7(_0x18b45a,_0x275140){const _0x2abf08=_0x2abf();return _0x5dc7=function(_0x5dc76a,_0x297de2){_0x5dc76a=_0x5dc76a-0x133;let _0x3e1e0b=_0x2abf08[_0x5dc76a];return _0x3e1e0b;},_0x5dc7(_0x18b45a,_0x275140);}function _0x2abf(){const _0x3a325e=['Hindi','German','push','Arabic','English','business','makeShorter','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','Translate\x20the\x20content\x20to\x20Arabic\x20language.','Make\x20shorter','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','Journalism','continue','get','translateFrench','legal','ai.assistant.removeCommands','concat','locale','876vhhpNf','Spanish','translateSpanish','Simplified\x20Chinese','commands','changeStyle','Translate\x20the\x20content\x20to\x20German\x20language.','casual','28RSiLTN','translateEnglish','290148KoghRz','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','direct','1zmoFUJ','Portuguese','Translate\x20the\x20content\x20to\x20Hindi\x20language.','filter','Translate\x20the\x20content\x20to\x20Spanish\x20language.','Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','Continue','makeLonger','French','65qAaWuM','Poetic','Business','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','Summarize','confident','1347606dmKVrN','find','Generate\x20from\x20selection','Change\x20style','pluginName','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','Edit\x20or\x20review','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','config','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','Simplify\x20language','forEach','friendly','Direct','Confident','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','Change\x20tone','327386BANhHh','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','poetic','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','translatePortuguese','translateArabic','improveWriting','set','requires','journalism','translate','translateChinese','Casual','ai.assistant.commands','isPremiumPlugin','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','changeTone','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','70734FPVTMQ','ai.assistant.extraCommandGroups','summarize','generate','isOfficialPlugin','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','Improve\x20writing','simplifyLanguage','define','includes','5657934VdRQpB','professional','Translate','translateGerman','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','translateHindi','Make\x20longer','Professional','AIAssistant','editOrReview','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','Friendly','8702840EkDcia','groupId','Translate\x20the\x20content\x20to\x20English\x20language.','70GMVUvm','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','ai.assistant.preserveComments','Translate\x20the\x20content\x20to\x20French\x20language.','324159KqYijC','Legal'];_0x2abf=function(){return _0x3a325e;};return _0x2abf();}export class AIAssistant extends _0x5d2045{static get[_0x2f14a9(0x149)](){return[_0x300985,_0x54f326];}static get[_0x2f14a9(0x134)](){const _0x28bb6e=_0x2f14a9;return _0x28bb6e(0x165);}static get[_0x2f14a9(0x157)](){return!0x0;}static get[_0x2f14a9(0x14f)](){return!0x0;}constructor(_0x39f769){const _0x3628ae=_0x2f14a9;super(_0x39f769);const _0x1cf367=_0x39f769[_0x3628ae(0x138)],_0x2db5e=_0x39f769[_0x3628ae(0x184)];_0x1cf367[_0x3628ae(0x15b)](_0x3628ae(0x16e),!0x0),_0x1cf367[_0x3628ae(0x15b)](_0x3628ae(0x14e),getDefaultAICommands(_0x2db5e)),_0x1cf367[_0x3628ae(0x15b)](_0x3628ae(0x154),[]),_0x1cf367[_0x3628ae(0x15b)](_0x3628ae(0x182),[]);let _0x20fb40=_0x1981b5(_0x1cf367[_0x3628ae(0x17f)](_0x3628ae(0x14e)),_0x2db5e);const _0x2149ed=_0x1cf367[_0x3628ae(0x17f)](_0x3628ae(0x154)),_0x43c2a9=_0x1cf367[_0x3628ae(0x17f)](_0x3628ae(0x182));_0x2149ed[_0x3628ae(0x13b)](_0x1f5563=>{const _0x5b4074=_0x3628ae,_0x5af7e0=_0x20fb40[_0x5b4074(0x1a2)](_0x7e96d2=>_0x7e96d2[_0x5b4074(0x16a)]===_0x1f5563[_0x5b4074(0x16a)]);_0x5af7e0?_0x5af7e0[_0x5b4074(0x189)]=_0x5af7e0[_0x5b4074(0x189)][_0x5b4074(0x183)](_0x1f5563[_0x5b4074(0x189)]):_0x20fb40[_0x5b4074(0x174)](_0x1f5563);}),_0x20fb40=_0x20fb40[_0x3628ae(0x195)](_0x691857=>!_0x43c2a9[_0x3628ae(0x15c)](_0x691857[_0x3628ae(0x16a)])),_0x20fb40[_0x3628ae(0x13b)](_0x1dc221=>{const _0x4e6044=_0x3628ae;_0x1dc221[_0x4e6044(0x189)]=_0x1dc221[_0x4e6044(0x189)][_0x4e6044(0x195)](_0xef4997=>!_0x43c2a9[_0x4e6044(0x15c)](_0xef4997['id']));}),_0x1cf367[_0x3628ae(0x148)](_0x3628ae(0x14e),_0x20fb40);}}export function getDefaultAICommands(_0x4377ef){const _0x37de86=_0x2f14a9;return[{'groupId':_0x37de86(0x166),'groupLabel':_0x57244a(_0x4377ef,_0x37de86(0x136)),'commands':[{'id':_0x37de86(0x147),'label':_0x57244a(_0x4377ef,_0x37de86(0x159)),'prompt':_0x37de86(0x152)},{'id':_0x37de86(0x178),'label':_0x57244a(_0x4377ef,_0x37de86(0x17b)),'prompt':_0x37de86(0x190)},{'id':_0x37de86(0x199),'label':_0x57244a(_0x4377ef,_0x37de86(0x163)),'prompt':_0x37de86(0x139)},{'id':_0x37de86(0x15a),'label':_0x57244a(_0x4377ef,_0x37de86(0x13a)),'prompt':_0x37de86(0x167)}]},{'groupId':_0x37de86(0x156),'groupLabel':_0x57244a(_0x4377ef,_0x37de86(0x1a3)),'commands':[{'id':_0x37de86(0x155),'label':_0x57244a(_0x4377ef,_0x37de86(0x19f)),'prompt':_0x37de86(0x197)},{'id':_0x37de86(0x17e),'label':_0x57244a(_0x4377ef,_0x37de86(0x198)),'prompt':_0x37de86(0x16d)}]},{'groupId':_0x37de86(0x151),'groupLabel':_0x57244a(_0x4377ef,_0x37de86(0x140)),'commands':[{'id':_0x37de86(0x15e),'label':_0x57244a(_0x4377ef,_0x37de86(0x164)),'prompt':_0x37de86(0x158)},{'id':_0x37de86(0x18c),'label':_0x57244a(_0x4377ef,_0x37de86(0x14d)),'prompt':_0x37de86(0x17c)},{'id':_0x37de86(0x191),'label':_0x57244a(_0x4377ef,_0x37de86(0x13d)),'prompt':_0x37de86(0x19e)},{'id':_0x37de86(0x1a0),'label':_0x57244a(_0x4377ef,_0x37de86(0x13e)),'prompt':_0x37de86(0x135)},{'id':_0x37de86(0x13c),'label':_0x57244a(_0x4377ef,_0x37de86(0x168)),'prompt':_0x37de86(0x179)}]},{'groupId':_0x37de86(0x18a),'groupLabel':_0x57244a(_0x4377ef,_0x37de86(0x133)),'commands':[{'id':_0x37de86(0x177),'label':_0x57244a(_0x4377ef,_0x37de86(0x19d)),'prompt':_0x37de86(0x161)},{'id':_0x37de86(0x181),'label':_0x57244a(_0x4377ef,_0x37de86(0x171)),'prompt':_0x37de86(0x13f)},{'id':_0x37de86(0x14a),'label':_0x57244a(_0x4377ef,_0x37de86(0x17d)),'prompt':_0x37de86(0x142)},{'id':_0x37de86(0x143),'label':_0x57244a(_0x4377ef,_0x37de86(0x19c)),'prompt':_0x37de86(0x144)}]},{'groupId':_0x37de86(0x14b),'groupLabel':_0x57244a(_0x4377ef,_0x37de86(0x15f)),'commands':[{'id':_0x37de86(0x18e),'label':_0x57244a(_0x4377ef,_0x37de86(0x176)),'prompt':_0x37de86(0x16b)},{'id':_0x37de86(0x187),'label':_0x57244a(_0x4377ef,_0x37de86(0x186)),'prompt':_0x37de86(0x196)},{'id':_0x37de86(0x145),'label':_0x57244a(_0x4377ef,_0x37de86(0x193)),'prompt':_0x37de86(0x137)},{'id':_0x37de86(0x160),'label':_0x57244a(_0x4377ef,_0x37de86(0x173)),'prompt':_0x37de86(0x18b)},{'id':_0x37de86(0x180),'label':_0x57244a(_0x4377ef,_0x37de86(0x19a)),'prompt':_0x37de86(0x16f)},{'id':_0x37de86(0x14c),'label':_0x57244a(_0x4377ef,_0x37de86(0x188)),'prompt':_0x37de86(0x150)},{'id':_0x37de86(0x162),'label':_0x57244a(_0x4377ef,_0x37de86(0x172)),'prompt':_0x37de86(0x194)},{'id':_0x37de86(0x146),'label':_0x57244a(_0x4377ef,_0x37de86(0x175)),'prompt':_0x37de86(0x17a)}]}];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x3f03(){const _0x11cb41=['ck-fake-ai-selection','change','updateMarker','_pasteHTMLUsingClipboard','hideFakeVisualSelection','1198165UnHrDX','table','pop','map','push','fire','getChild','editor','ai.assistant.useTheme','DataTransfer','_getDefaultInsertBelowPosition','schema','contentInsertion','length','editing','6QBwxZy','282563fUwbVs','get','first','forEach','once','span','316896ETFTuY','isCollapsed','391624pxcUIL','setData','createSelection','deleteContent','showFakeVisualSelection','model','plugins','markers','end','paste','last','AIAssistantEditing','getFirstRange','conversion','1617140xfZuCO','lowest','start','config','createRange','isOfficialPlugin','ck-ai-assistant-ui_theme','addClass','createPositionAfter','addMarker','href','4370YgsCWp','init','from','_resetContentOfSelectedTableCells','getSelectedTableCells','canEditAt','resultRange','insertRows','_getAISelection','parse','join','insertContent','isAtEnd','pluginName','text/html','afterInit','fromCharCode','document','1786416DZyhvA','_createEmptyTableRows','createUIElement','_prepareTableInsertBelowPosition','9xYNqfh','setSelection','editingDowncast','TableUtils','getRanges','getRows','isContent','insertContentBelow','ai-ui','removeMarker','filter','markerToElement','element','markerToHighlight','getRange','getLastMatchingPosition','data','getSelectedBlocks','for','814FepNuk','getRowIndexes','findAncestor','off','getColumnIndexes','has','selection','ck-fake-ai-selection_collapsed','_getTableRowCountFromContent','getMarkersGroup','getLastPosition','isPremiumPlugin','createPositionAt','6liSlHw','getChildren','markerRange'];_0x3f03=function(){return _0x11cb41;};return _0x3f03();}const _0x1ffd05=_0x354e;(function(_0x1e8e5a,_0x5640c2){const _0x70a717=_0x354e,_0x5c427d=_0x1e8e5a();while(!![]){try{const _0xe232b8=parseInt(_0x70a717(0x1fa))/0x1+-parseInt(_0x70a717(0x200))/0x2+-parseInt(_0x70a717(0x251))/0x3*(parseInt(_0x70a717(0x202))/0x4)+parseInt(_0x70a717(0x1ea))/0x5+parseInt(_0x70a717(0x1f9))/0x6*(parseInt(_0x70a717(0x210))/0x7)+parseInt(_0x70a717(0x22d))/0x8*(-parseInt(_0x70a717(0x231))/0x9)+parseInt(_0x70a717(0x21b))/0xa*(-parseInt(_0x70a717(0x244))/0xb);if(_0xe232b8===_0x5640c2)break;else _0x5c427d['push'](_0x5c427d['shift']());}catch(_0x3c1a04){_0x5c427d['push'](_0x5c427d['shift']());}}}(_0x3f03,0x22fd4));import{uid as _0x4fd0eb}from'ckeditor5/src/utils.js';import{Plugin as _0x159533}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x5f0ee1}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0xcf51db,ViewDataTransfer as _0x550eb4}from'ckeditor5/src/engine.js';const w=globalThis[_0x1ffd05(0x1f3)],f=_0x1ffd05(0x239);function _0x354e(_0x856a64,_0x5e737c){const _0x3f037e=_0x3f03();return _0x354e=function(_0x354efa,_0x3f18cb){_0x354efa=_0x354efa-0x1e7;let _0xfe7c21=_0x3f037e[_0x354efa];return _0xfe7c21;},_0x354e(_0x856a64,_0x5e737c);}export class AIAssistantEditing extends _0x159533{static get[_0x1ffd05(0x228)](){const _0x1c63a3=_0x1ffd05;return _0x1c63a3(0x20d);}static get[_0x1ffd05(0x215)](){return!0x0;}static get[_0x1ffd05(0x24f)](){return!0x0;}[_0x1ffd05(0x21c)](){const _0x5d51c2=_0x1ffd05,{editor:_0x53a567}=this,_0x481fc8=[_0x5d51c2(0x254)];_0x53a567[_0x5d51c2(0x213)][_0x5d51c2(0x1fb)](_0x5d51c2(0x1f2))&&_0x481fc8[_0x5d51c2(0x1ee)](_0x5d51c2(0x216)),_0x53a567[_0x5d51c2(0x20f)][_0x5d51c2(0x243)](_0x5d51c2(0x233))[_0x5d51c2(0x23e)]({'model':f,'view':{'classes':_0x481fc8,'priority':0xc}}),_0x53a567[_0x5d51c2(0x20f)][_0x5d51c2(0x243)](_0x5d51c2(0x233))[_0x5d51c2(0x23c)]({'model':f,'view':(_0x1d3499,{writer:_0x3853c4})=>{const _0x16ad86=_0x5d51c2;if(!_0x1d3499[_0x16ad86(0x253)][_0x16ad86(0x201)])return null;const _0x52aa41=_0x3853c4[_0x16ad86(0x22f)](_0x16ad86(0x1ff));return _0x3853c4[_0x16ad86(0x217)]([_0x16ad86(0x254),_0x16ad86(0x24b)],_0x52aa41),_0x52aa41;}});}[_0x1ffd05(0x22a)](){!async function(_0x1e3a95){const _0x37548f=_0x18b074([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]),_0x582b0d=0x3dffc4e1,_0x395698=0x3df85121^_0x582b0d,_0x36edcb=window[_0x18b074([0x44,0x61,0x74,0x65])][_0x18b074([0x6e,0x6f,0x77])](),_0x50afd3=_0x1e3a95[_0x18b074([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x97f047=new window[(_0x18b074([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3a0c2f=>{_0x50afd3[_0x18b074([0x6f,0x6e,0x63,0x65])](_0x18b074([0x72,0x65,0x61,0x64,0x79]),_0x3a0c2f);}),_0x22e991={[_0x18b074([0x6b,0x74,0x79])]:_0x18b074([0x45,0x43]),[_0x18b074([0x75,0x73,0x65])]:_0x18b074([0x73,0x69,0x67]),[_0x18b074([0x63,0x72,0x76])]:_0x18b074([0x50,0x2d,0x32,0x35,0x36]),[_0x18b074([0x78])]:_0x18b074([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]),[_0x18b074([0x79])]:_0x18b074([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]),[_0x18b074([0x61,0x6c,0x67])]:_0x18b074([0x45,0x53,0x32,0x35,0x36])},_0x2253d0=_0x50afd3[_0x18b074([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x18b074([0x67,0x65,0x74])](_0x18b074([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2e845b(){let _0x214bda,_0x487b8a=null,_0x20734=null;try{if(_0x2253d0==_0x18b074([0x47,0x50,0x4c]))return _0x18b074([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x214bda=_0x9cf50a(),!_0x214bda)return _0x18b074([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x214bda[_0x18b074([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x20734=_0x1b215f(_0x214bda[_0x18b074([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x214bda[_0x18b074([0x6a,0x74,0x69])])),await _0x6bc8fb()?_0x39386a()?_0x26d1b0()?_0x18b074([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x15ff69()?(_0x214bda[_0x18b074([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x18b074([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x487b8a=_0x5edcbd(_0x18b074([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2fd919()):_0x18b074([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x18b074([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x18b074([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x18b074([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x26d1b0(){const _0x2135a5=[_0x18b074([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x18b074([0x74,0x72,0x69,0x61,0x6c])][_0x18b074([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x214bda[_0x18b074([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x36edcb/0x3e8:0xe10*_0x395698;return _0x214bda[_0x18b074([0x65,0x78,0x70])]<_0x2135a5;}function _0x39386a(){const _0x1d5756=_0x214bda[_0x18b074([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1d5756&&(!!_0x1d5756[_0x18b074([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x18b074([0x2a]))||!!_0x1d5756[_0x18b074([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x18b074([0x41,0x49])));}function _0x15ff69(){const _0x1faa2a=_0x354e,_0x100004=_0x214bda[_0x18b074([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x100004||0x0==_0x100004[_0x18b074([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x28a248}=new URL(window[_0x18b074([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x1faa2a(0x21a)]);if(_0x100004[_0x18b074([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x28a248))return!0x0;const _0x2a850a=_0x28a248[_0x18b074([0x73,0x70,0x6c,0x69,0x74])](_0x18b074([0x2e]));return _0x100004[_0x18b074([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3c11d1=>_0x3c11d1[_0x18b074([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x18b074([0x2a])))[_0x18b074([0x6d,0x61,0x70])](_0x51fc49=>_0x51fc49[_0x18b074([0x73,0x70,0x6c,0x69,0x74])](_0x18b074([0x2e])))[_0x18b074([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xa67a56=>_0xa67a56[_0x18b074([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2a850a[_0x18b074([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x18b074([0x6d,0x61,0x70])](_0x1adb58=>Array(_0x2a850a[_0x18b074([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1adb58[_0x18b074([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x18b074([0x66,0x69,0x6c,0x6c])](_0x1adb58[0x0]===_0x18b074([0x2a])?_0x18b074([0x2a]):'')[_0x18b074([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1adb58))[_0x18b074([0x73,0x6f,0x6d,0x65])](_0x1c2d7c=>_0x2a850a[_0x18b074([0x65,0x76,0x65,0x72,0x79])]((_0x2d7ed2,_0x1c9b9a)=>_0x1c2d7c[_0x1c9b9a]===_0x2d7ed2||_0x1c2d7c[_0x1c9b9a]===_0x18b074([0x2a])));}function _0x2fd919(){return _0x487b8a&&_0x20734?new window[(_0x18b074([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x497e17,_0x28e66d)=>{_0x487b8a[_0x18b074([0x74,0x68,0x65,0x6e])](_0x497e17,_0x28e66d),_0x20734[_0x18b074([0x74,0x68,0x65,0x6e])](_0x3d7745=>{_0x3d7745!=_0x18b074([0x56,0x61,0x6c,0x69,0x64])&&_0x497e17(_0x3d7745);},_0x28e66d);}):_0x487b8a||_0x20734||_0x18b074([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1b215f(_0xaff0a7,_0xdfe6a7){return new window[(_0x18b074([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1f19a6=>{if(_0x32c182())return _0x1f19a6(_0x18b074([0x56,0x61,0x6c,0x69,0x64]));_0x276a3a(),_0x50afd3[_0x18b074([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x18b074([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x27ff03=!0x1;const _0x30e98f=_0x4fd0eb();function _0xc060f(_0x3d800c){return!!_0x3d800c&&(typeof _0x3d800c===_0x18b074([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3d800c===_0x18b074([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3d800c[_0x18b074([0x74,0x68,0x65,0x6e])]===_0x18b074([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3d800c[_0x18b074([0x63,0x61,0x74,0x63,0x68])]===_0x18b074([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x33df3d(_0xb0aaea){_0xfb4395(_0xb0aaea)[_0x18b074([0x74,0x68,0x65,0x6e])](_0x51792a=>{if(!_0x51792a||_0x51792a[_0x18b074([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x18b074([0x6f,0x6b]))return _0x18b074([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x138795(_0x4d755f(_0x30e98f+_0xdfe6a7))!=_0x51792a[_0x18b074([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x18b074([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x18b074([0x56,0x61,0x6c,0x69,0x64]);})[_0x18b074([0x74,0x68,0x65,0x6e])](_0xe6335c=>(_0x124013(),_0xe6335c),()=>{const _0x5a81f9=_0x36743a();return null==_0x5a81f9?(_0x124013(),_0x18b074([0x56,0x61,0x6c,0x69,0x64])):_0x18b074(_0x36edcb-_0x5a81f9>(0x19f340e1^_0x582b0d)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x18b074([0x74,0x68,0x65,0x6e])](_0x1f19a6)[_0x18b074([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1f19a6(_0x18b074([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x119d79=0x3dc92a61^_0x582b0d;function _0x124013(){const _0x875aac=_0x18b074([0x6c,0x6c,0x63,0x74,0x2d])+_0x138795(_0x4d755f(_0xaff0a7)),_0x5c1d6e=_0x595e39(_0x138795(window[_0x18b074([0x4d,0x61,0x74,0x68])][_0x18b074([0x63,0x65,0x69,0x6c])](_0x36edcb/_0x119d79)));window[_0x18b074([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x18b074([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x875aac,_0x5c1d6e);}function _0x36743a(){const _0x4ee753=_0x18b074([0x6c,0x6c,0x63,0x74,0x2d])+_0x138795(_0x4d755f(_0xaff0a7)),_0x2f605b=window[_0x18b074([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x18b074([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4ee753);return _0x2f605b?window[_0x18b074([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x595e39(_0x2f605b),0x10)*_0x119d79:null;}function _0xfb4395(_0x5d80bc){return new window[(_0x18b074([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x47b727,_0x31bd2e)=>{_0x5d80bc[_0x18b074([0x74,0x68,0x65,0x6e])](_0x47b727,_0x31bd2e),window[_0x18b074([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x31bd2e,0x3dfe1021^_0x582b0d);});}}_0x50afd3[_0x18b074([0x6f,0x6e])](_0x18b074([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x9d9759,_0x1ba411)=>{if(_0x1ba411[0x0]!=_0xaff0a7)return _0x1f19a6(_0x18b074([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1ba411[0x1]={..._0x1ba411[0x1],[_0x18b074([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x30e98f};},{[_0x18b074([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x18b074([0x68,0x69,0x67,0x68])}),_0x50afd3[_0x18b074([0x6f,0x6e])](_0x18b074([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5a22c0=>{_0xc060f(_0x5a22c0[_0x18b074([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x27ff03=!0x0,_0x33df3d(_0x5a22c0[_0x18b074([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x18b074([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x18b074([0x6c,0x6f,0x77])}),_0x97f047[_0x18b074([0x74,0x68,0x65,0x6e])](()=>{_0x27ff03||_0x1f19a6(_0x18b074([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x32c182(){return _0x50afd3[_0x18b074([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x18b074([0x76,0x69,0x65,0x77])][_0x18b074([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x18b074([0x61,0x75,0x74,0x6f]);}function _0x276a3a(){_0x50afd3[_0x18b074([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x18b074([0x76,0x69,0x65,0x77])][_0x18b074([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x18b074([0x61,0x75,0x74,0x6f]);}}function _0x5edcbd(_0x137766){const _0x107e66=[new window[(_0x18b074([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x37c764=>setTimeout(_0x37c764,0x3df6fa2d^_0x582b0d)),_0x97f047[_0x18b074([0x74,0x68,0x65,0x6e])](()=>new window[(_0x18b074([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x35194e=>{let _0x4c36a6=0x0;_0x50afd3[_0x18b074([0x6d,0x6f,0x64,0x65,0x6c])][_0x18b074([0x6f,0x6e])](_0x18b074([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x264fb2,_0x41fa78)=>{_0x41fa78[0x0][_0x18b074([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4c36a6++,_0x4c36a6==(0x3dffc109^_0x582b0d)&&(_0x35194e(),_0x264fb2[_0x18b074([0x6f,0x66,0x66])]());});}))];return window[_0x18b074([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x18b074([0x72,0x61,0x63,0x65])](_0x107e66)[_0x18b074([0x74,0x68,0x65,0x6e])](()=>_0x137766);}async function _0x5a6592(){await _0x97f047,_0x50afd3[_0x18b074([0x6d,0x6f,0x64,0x65,0x6c])][_0x18b074([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x59fe18,_0x50afd3[_0x18b074([0x6d,0x6f,0x64,0x65,0x6c])][_0x18b074([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x59fe18,_0x50afd3[_0x18b074([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x18b074([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x38da2d(_0x3e6cab){const _0x4b8034=_0x181695();_0x50afd3[_0x4b8034]=_0x18b074([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3e6cab,_0x3e6cab!=_0x18b074([0x56,0x61,0x6c,0x69,0x64])&&_0x5a6592();}function _0x181695(){const _0x1e7da6=window[_0x18b074([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x18b074([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x18b074([0x6e,0x6f,0x77])]())[_0x18b074([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x18b074([0x2e]),'');let _0x25aea6=_0x18b074([0x6e]);for(let _0x3362f4=0x0;_0x3362f4<_0x1e7da6[_0x18b074([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3362f4+=0x2){let _0x15d14b=window[_0x18b074([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1e7da6[_0x18b074([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3362f4,_0x3362f4+0x2));_0x15d14b>=_0x37548f[_0x18b074([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x15d14b-=_0x37548f[_0x18b074([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x25aea6+=_0x37548f[_0x15d14b];}return _0x25aea6;}function _0x9cf50a(){const _0x5b9810=_0x2253d0[_0x18b074([0x73,0x70,0x6c,0x69,0x74])](_0x18b074([0x2e]));if(0x3!=_0x5b9810[_0x18b074([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x21f3c7(_0x5b9810[0x1]);function _0x21f3c7(_0xd2358a){const _0x54e099=_0x2a63e0(_0xd2358a);return _0x54e099&&_0x1bd931()?_0x54e099:null;function _0x1bd931(){const _0x659a3a=_0x54e099[_0x18b074([0x6a,0x74,0x69])],_0x161284=window[_0x18b074([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x659a3a[_0x18b074([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x659a3a[_0x18b074([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x957a1e={..._0x54e099,[_0x18b074([0x6a,0x74,0x69])]:_0x659a3a[_0x18b074([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x659a3a[_0x18b074([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x957a1e[_0x18b074([0x76,0x63])],_0x4d755f(_0x957a1e)==_0x161284;}}}async function _0x6bc8fb(){let _0x498fbd=!0x0;try{const _0x1d899b=_0x2253d0[_0x18b074([0x73,0x70,0x6c,0x69,0x74])](_0x18b074([0x2e])),[_0x4df347,_0x28a065,_0xb2377f]=_0x1d899b;return _0x3c37f8(_0x4df347),await _0x225f98(_0x4df347,_0x28a065,_0xb2377f),_0x498fbd;}catch{return!0x1;}function _0x3c37f8(_0x5a46ca){const _0xbe187f=_0x2a63e0(_0x5a46ca);_0xbe187f&&_0xbe187f[_0x18b074([0x61,0x6c,0x67])]==_0x18b074([0x45,0x53,0x32,0x35,0x36])||(_0x498fbd=!0x1);}async function _0x225f98(_0x4d95bb,_0x321141,_0x5de7bd){const _0x27b6c7=window[_0x18b074([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x18b074([0x66,0x72,0x6f,0x6d])](_0x2d8a38(_0x5de7bd),_0x36da49=>_0x36da49[_0x18b074([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x152dfc=new window[(_0x18b074([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x18b074([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4d95bb+_0x18b074([0x2e])+_0x321141),_0x56c09c=window[_0x18b074([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x18b074([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x56c09c)return;const _0x468dbb=await _0x56c09c[_0x18b074([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x18b074([0x6a,0x77,0x6b]),_0x22e991,{[_0x18b074([0x6e,0x61,0x6d,0x65])]:_0x18b074([0x45,0x43,0x44,0x53,0x41]),[_0x18b074([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x18b074([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x18b074([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x56c09c[_0x18b074([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x18b074([0x6e,0x61,0x6d,0x65])]:_0x18b074([0x45,0x43,0x44,0x53,0x41]),[_0x18b074([0x68,0x61,0x73,0x68])]:{[_0x18b074([0x6e,0x61,0x6d,0x65])]:_0x18b074([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x468dbb,_0x27b6c7,_0x152dfc)||(_0x498fbd=!0x1);}}function _0x2a63e0(_0x53f032){return _0x53f032[_0x18b074([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x18b074([0x65,0x79]))?JSON[_0x18b074([0x70,0x61,0x72,0x73,0x65])](_0x2d8a38(_0x53f032)):null;}function _0x2d8a38(_0x1bacd2){return window[_0x18b074([0x61,0x74,0x6f,0x62])](_0x1bacd2[_0x18b074([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x18b074([0x2b]))[_0x18b074([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x18b074([0x2f])));}function _0x4d755f(_0x5e5132){let _0x523ec4=0x1505;function _0xa21c77(_0x5a6bc6){for(let _0x4c63b5=0x0;_0x4c63b5<_0x5a6bc6[_0x18b074([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4c63b5++){const _0x43f250=_0x5a6bc6[_0x18b074([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4c63b5);_0x523ec4=(_0x523ec4<<0x5)+_0x523ec4+_0x43f250,_0x523ec4&=_0x523ec4;}}function _0x4502fb(_0x1eec14){Array[_0x18b074([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1eec14)?_0x1eec14[_0x18b074([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4502fb):_0x1eec14&&typeof _0x1eec14==_0x18b074([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x18b074([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1eec14)[_0x18b074([0x73,0x6f,0x72,0x74])]()[_0x18b074([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x47f325,_0x30040a])=>{_0xa21c77(_0x47f325),_0x4502fb(_0x30040a);}):_0xa21c77(window[_0x18b074([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1eec14));}return _0x4502fb(_0x5e5132),_0x523ec4>>>0x0;}function _0x138795(_0x27f0ee){return _0x27f0ee[_0x18b074([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x18b074([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x18b074([0x30]));}function _0x595e39(_0x1ed206){return _0x1ed206[_0x18b074([0x73,0x70,0x6c,0x69,0x74])]('')[_0x18b074([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x18b074([0x6a,0x6f,0x69,0x6e])]('');}function _0x59fe18(){}function _0x18b074(_0x93f743){const _0x596292=_0x354e;return _0x93f743[_0x596292(0x1ed)](_0x3854dc=>String[_0x596292(0x22b)](_0x3854dc))[_0x596292(0x225)]('');}_0x38da2d(await _0x2e845b());}(this);}[_0x1ffd05(0x206)](){const _0x253241=_0x1ffd05,_0x443715=this[_0x253241(0x1f1)][_0x253241(0x207)];_0x443715[_0x253241(0x255)](_0x5f9ec9=>{const _0x48d170=_0x253241,_0x4e2233=_0x443715[_0x48d170(0x22c)][_0x48d170(0x24a)][_0x48d170(0x235)]();let _0x2f508b=0x0;for(const _0x2c65b9 of _0x4e2233){const _0x363c29=f+':'+_0x2f508b;if(_0x443715[_0x48d170(0x209)][_0x48d170(0x249)](_0x363c29))_0x5f9ec9[_0x48d170(0x1e7)](_0x363c29,{'range':_0x2c65b9});else{if(_0x2c65b9[_0x48d170(0x212)][_0x48d170(0x227)]){const _0x521709=_0x2c65b9[_0x48d170(0x212)][_0x48d170(0x240)](({item:_0x44faec})=>!_0x443715[_0x48d170(0x1f5)][_0x48d170(0x237)](_0x44faec),{'boundaries':_0x2c65b9});_0x5f9ec9[_0x48d170(0x219)](_0x363c29,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x5f9ec9[_0x48d170(0x214)](_0x521709,_0x2c65b9[_0x48d170(0x20a)])});}else _0x5f9ec9[_0x48d170(0x219)](_0x363c29,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x2c65b9});}_0x2f508b++;}});}[_0x1ffd05(0x1e9)](){const _0x18f4a0=_0x1ffd05,_0x25450b=this[_0x18f4a0(0x1f1)][_0x18f4a0(0x207)],_0x337160=Array[_0x18f4a0(0x21d)](this[_0x18f4a0(0x1f1)][_0x18f4a0(0x207)][_0x18f4a0(0x209)][_0x18f4a0(0x24d)](f));_0x337160[_0x18f4a0(0x1f7)]&&_0x25450b[_0x18f4a0(0x255)](_0x5c3629=>{const _0x4f01c3=_0x18f4a0;_0x337160[_0x4f01c3(0x1fd)](_0x47dd58=>{const _0x31497b=_0x4f01c3;_0x5c3629[_0x31497b(0x23a)](_0x47dd58);});});}[_0x1ffd05(0x226)](_0x270c7a,_0x291390){const _0x1e2d25=_0x1ffd05,_0x63baa7=this[_0x1e2d25(0x223)](),_0x158923=_0x291390||_0x63baa7[_0x1e2d25(0x20e)]();this[_0x1e2d25(0x1f1)][_0x1e2d25(0x207)][_0x1e2d25(0x220)](_0x158923)&&this[_0x1e2d25(0x1f1)][_0x1e2d25(0x207)][_0x1e2d25(0x255)](_0x56832c=>{const _0x1d9786=_0x1e2d25;this[_0x1d9786(0x1e9)](),_0x291390||this[_0x1d9786(0x21e)](_0x56832c,_0x63baa7),this[_0x1d9786(0x1e8)]({'insertAt':_0x158923,'writer':_0x56832c,'html':_0x270c7a});});}[_0x1ffd05(0x238)](_0x6a2ae8){const _0x59a47a=_0x1ffd05,{model:_0x4b0992}=this[_0x59a47a(0x1f1)],_0x4169b5=this[_0x59a47a(0x223)]();_0x4b0992[_0x59a47a(0x255)](()=>{const _0x4cd0b5=_0x59a47a,_0x58d95b=this[_0x4cd0b5(0x230)](_0x6a2ae8,_0x4169b5)||this[_0x4cd0b5(0x1f4)](_0x4169b5);this[_0x4cd0b5(0x226)](_0x6a2ae8,_0x58d95b);});}[_0x1ffd05(0x223)](){const _0x859032=_0x1ffd05,_0xbb1991=this[_0x859032(0x1f1)][_0x859032(0x207)],_0x35f290=Array[_0x859032(0x21d)](_0xbb1991[_0x859032(0x209)][_0x859032(0x24d)](f))[_0x859032(0x1ed)](_0x3f30f3=>_0x3f30f3[_0x859032(0x23f)]());return _0xbb1991[_0x859032(0x204)](_0x35f290);}[_0x1ffd05(0x1e8)]({writer:_0x5ce462,html:_0xa6c51,insertAt:_0xc2bf4}){const _0x443fc2=_0x1ffd05,{view:_0x55f39b}=this[_0x443fc2(0x1f1)][_0x443fc2(0x1f8)],_0x33260f=this[_0x443fc2(0x1f1)][_0x443fc2(0x208)][_0x443fc2(0x1fb)](_0x5f0ee1),_0x53a967=new w();_0x53a967[_0x443fc2(0x203)](_0x443fc2(0x229),_0xa6c51);const _0x4e3b98=new ClipboardEvent(_0x443fc2(0x20b),{'clipboardData':_0x53a967}),_0x291cab=new _0xcf51db(_0x55f39b,_0x4e3b98,{'dataTransfer':new _0x550eb4(_0x53a967)});_0x5ce462[_0x443fc2(0x232)](_0xc2bf4);const _0x52cf5f=(_0xcffd52,_0x1871a5)=>{const _0x70eaf2=_0x443fc2;_0x1871a5[_0x70eaf2(0x221)]&&_0x5ce462[_0x70eaf2(0x232)](_0x1871a5[_0x70eaf2(0x221)]);};_0x33260f[_0x443fc2(0x1fe)](_0x443fc2(0x1f6),_0x52cf5f,{'priority':_0x443fc2(0x211)}),_0x55f39b[_0x443fc2(0x22c)][_0x443fc2(0x1ef)](_0x443fc2(0x20b),_0x291cab),_0x33260f[_0x443fc2(0x247)](_0x443fc2(0x1f6),_0x52cf5f);}[_0x1ffd05(0x1f4)](_0xcd9ba4){const _0xee4396=_0x1ffd05,{model:_0x40196a}=this[_0xee4396(0x1f1)],_0x4ab923=Array[_0xee4396(0x21d)](_0xcd9ba4[_0xee4396(0x242)]());return _0x4ab923[_0xee4396(0x1f7)]?_0x40196a[_0xee4396(0x218)](_0x4ab923[_0xee4396(0x1ec)]()):_0xcd9ba4[_0xee4396(0x24e)]();}[_0x1ffd05(0x230)](_0x3c1b73,_0x3e6d24){const _0x3af1b6=_0x1ffd05,{model:_0x23c5bc,plugins:_0x1b0bc1}=this[_0x3af1b6(0x1f1)];if(_0x1b0bc1[_0x3af1b6(0x249)](_0x3af1b6(0x234))){const _0x2c2678=_0x1b0bc1[_0x3af1b6(0x1fb)](_0x3af1b6(0x234))[_0x3af1b6(0x21f)](_0x3e6d24);if(_0x2c2678[_0x3af1b6(0x1f7)]){const _0x5bc483=this[_0x3af1b6(0x24c)](_0x3c1b73),_0x53ab8a=this[_0x3af1b6(0x22e)](_0x2c2678,_0x5bc483);return _0x23c5bc[_0x3af1b6(0x250)](_0x53ab8a,0x0);}}return null;}[_0x1ffd05(0x24c)](_0x364492){const _0x25cf58=_0x1ffd05,_0x2ca5dc=this[_0x25cf58(0x1f1)][_0x25cf58(0x208)][_0x25cf58(0x1fb)](_0x25cf58(0x234)),_0x5609a7=this[_0x25cf58(0x1f1)][_0x25cf58(0x241)][_0x25cf58(0x224)](_0x364492),_0x18de65=Array[_0x25cf58(0x21d)](_0x5609a7[_0x25cf58(0x252)]())[_0x25cf58(0x23b)](_0x1fb0c5=>_0x1fb0c5['is'](_0x25cf58(0x23d),_0x25cf58(0x1eb)));let _0x183146=0x0;return _0x18de65[_0x25cf58(0x1fd)](_0x2b4f7d=>{const _0x155632=_0x25cf58;_0x183146+=_0x2ca5dc[_0x155632(0x236)](_0x2b4f7d);}),_0x183146;}[_0x1ffd05(0x22e)](_0x2f6841,_0x22bba0){const _0x292f28=_0x1ffd05,_0x301b9d=this[_0x292f28(0x1f1)][_0x292f28(0x208)][_0x292f28(0x1fb)](_0x292f28(0x234)),_0x53d9fa=_0x301b9d[_0x292f28(0x245)](_0x2f6841),_0x1ff07b=_0x301b9d[_0x292f28(0x248)](_0x2f6841),_0x100296=_0x53d9fa[_0x292f28(0x20c)]+0x1,_0x989f9e=_0x1ff07b[_0x292f28(0x1fc)],_0x3ea7ed=_0x2f6841[0x0][_0x292f28(0x246)](_0x292f28(0x1eb));for(let _0x17e4cd=0x0;_0x17e4cd<_0x22bba0;_0x17e4cd++)_0x301b9d[_0x292f28(0x222)](_0x3ea7ed,{'at':_0x100296});return _0x3ea7ed[_0x292f28(0x1f0)](_0x100296)[_0x292f28(0x1f0)](_0x989f9e);}[_0x1ffd05(0x21e)](_0x5657fb,_0x1701c5){const _0x3f9918=_0x1ffd05,{plugins:_0x10c98e}=this[_0x3f9918(0x1f1)],{model:_0x2aec65}=_0x5657fb;if(!_0x10c98e[_0x3f9918(0x249)](_0x3f9918(0x234)))return;_0x10c98e[_0x3f9918(0x1fb)](_0x3f9918(0x234))[_0x3f9918(0x21f)](_0x1701c5)[_0x3f9918(0x1f7)]&&_0x2aec65[_0x3f9918(0x205)](_0x1701c5);}}
|
|
23
|
+
const _0x525fa3=_0x1775;function _0x1775(_0x4dc388,_0x1b18d7){const _0xff22b3=_0xff22();return _0x1775=function(_0x17758f,_0x590240){_0x17758f=_0x17758f-0x66;let _0x20f697=_0xff22b3[_0x17758f];return _0x20f697;},_0x1775(_0x4dc388,_0x1b18d7);}(function(_0x358007,_0x507930){const _0x5c9464=_0x1775,_0x1a19a7=_0x358007();while(!![]){try{const _0x594aad=parseInt(_0x5c9464(0x94))/0x1*(parseInt(_0x5c9464(0x80))/0x2)+-parseInt(_0x5c9464(0x6e))/0x3*(parseInt(_0x5c9464(0xb2))/0x4)+parseInt(_0x5c9464(0xa0))/0x5+-parseInt(_0x5c9464(0x7a))/0x6+parseInt(_0x5c9464(0xa1))/0x7*(-parseInt(_0x5c9464(0xbd))/0x8)+parseInt(_0x5c9464(0x8d))/0x9*(-parseInt(_0x5c9464(0xc3))/0xa)+parseInt(_0x5c9464(0x74))/0xb;if(_0x594aad===_0x507930)break;else _0x1a19a7['push'](_0x1a19a7['shift']());}catch(_0x5ce17a){_0x1a19a7['push'](_0x1a19a7['shift']());}}}(_0xff22,0xda9e9));import{uid as _0x1dfb43}from'ckeditor5/src/utils.js';import{Plugin as _0x43d106}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x24df28}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x5ab091,ViewDataTransfer as _0xa93ced}from'ckeditor5/src/engine.js';const st=globalThis[_0x525fa3(0xad)],ct=_0x525fa3(0xd2);export class AIAssistantEditing extends _0x43d106{static get[_0x525fa3(0x73)](){const _0xeac808=_0x525fa3;return _0xeac808(0x6a);}static get[_0x525fa3(0xd0)](){return!0x0;}static get[_0x525fa3(0x96)](){return!0x0;}[_0x525fa3(0x87)](){const _0x313749=_0x525fa3,{editor:_0x4f3b40}=this,_0x275f9d=[_0x313749(0x76)];_0x4f3b40[_0x313749(0x78)][_0x313749(0xc8)](_0x313749(0xcb))&&_0x275f9d[_0x313749(0x70)](_0x313749(0x82)),_0x4f3b40[_0x313749(0x7d)][_0x313749(0x91)](_0x313749(0x92))[_0x313749(0xc6)]({'model':ct,'view':{'classes':_0x275f9d,'priority':0xc}}),_0x4f3b40[_0x313749(0x7d)][_0x313749(0x91)](_0x313749(0x92))[_0x313749(0x88)]({'model':ct,'view':(_0x35c282,{writer:_0x49acf5})=>{const _0xb3f526=_0x313749;if(!_0x35c282[_0xb3f526(0xc9)][_0xb3f526(0x9d)])return null;const _0x550cc7=_0x49acf5[_0xb3f526(0x9f)](_0xb3f526(0xca));return _0x49acf5[_0xb3f526(0xa9)]([_0xb3f526(0x76),_0xb3f526(0xb8)],_0x550cc7),_0x550cc7;}});}[_0x525fa3(0x97)](){!async function(_0x59997b){const _0x3422ff=_0x1ccda8([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]),_0x43c0be=0x3dffc4e1,_0x12c400=0x3df85111^_0x43c0be,_0x3a6877=window[_0x1ccda8([0x44,0x61,0x74,0x65])][_0x1ccda8([0x6e,0x6f,0x77])](),_0x35c913=_0x59997b[_0x1ccda8([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x287b03=new window[(_0x1ccda8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3ff3d3=>{_0x35c913[_0x1ccda8([0x6f,0x6e,0x63,0x65])](_0x1ccda8([0x72,0x65,0x61,0x64,0x79]),_0x3ff3d3);}),_0x10824e={[_0x1ccda8([0x6b,0x74,0x79])]:_0x1ccda8([0x45,0x43]),[_0x1ccda8([0x75,0x73,0x65])]:_0x1ccda8([0x73,0x69,0x67]),[_0x1ccda8([0x63,0x72,0x76])]:_0x1ccda8([0x50,0x2d,0x32,0x35,0x36]),[_0x1ccda8([0x78])]:_0x1ccda8([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]),[_0x1ccda8([0x79])]:_0x1ccda8([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]),[_0x1ccda8([0x61,0x6c,0x67])]:_0x1ccda8([0x45,0x53,0x32,0x35,0x36])},_0x464ed5=_0x35c913[_0x1ccda8([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1ccda8([0x67,0x65,0x74])](_0x1ccda8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xd2b8f1(){let _0x295e68,_0x397712=null,_0x5ae05b=null;try{if(_0x464ed5==_0x1ccda8([0x47,0x50,0x4c]))return _0x1ccda8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x295e68=_0xa85b61(),!_0x295e68)return _0x1ccda8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x295e68[_0x1ccda8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5ae05b=_0x4cff72(_0x295e68[_0x1ccda8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x295e68[_0x1ccda8([0x6a,0x74,0x69])])),await _0x3388a0()?_0x48ce35()?_0x4cd806()?_0x1ccda8([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xacbba()?(_0x295e68[_0x1ccda8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1ccda8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x397712=_0x5a2fa3(_0x1ccda8([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x348a87()):_0x1ccda8([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1ccda8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1ccda8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1ccda8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4cd806(){const _0x2901f7=[_0x1ccda8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1ccda8([0x74,0x72,0x69,0x61,0x6c])][_0x1ccda8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x295e68[_0x1ccda8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3a6877/0x3e8:0xe10*_0x12c400;return _0x295e68[_0x1ccda8([0x65,0x78,0x70])]<_0x2901f7;}function _0x48ce35(){const _0x43a53c=_0x295e68[_0x1ccda8([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x43a53c&&(!!_0x43a53c[_0x1ccda8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1ccda8([0x2a]))||!!_0x43a53c[_0x1ccda8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1ccda8([0x41,0x49])));}function _0xacbba(){const _0xc41b7e=_0x1775,_0x51d14c=_0x295e68[_0x1ccda8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x51d14c||0x0==_0x51d14c[_0x1ccda8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5786a8}=new URL(window[_0x1ccda8([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0xc41b7e(0x8b)]);if(_0x51d14c[_0x1ccda8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5786a8))return!0x0;const _0x4beac6=_0x5786a8[_0x1ccda8([0x73,0x70,0x6c,0x69,0x74])](_0x1ccda8([0x2e]));return _0x51d14c[_0x1ccda8([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3f9145=>_0x3f9145[_0x1ccda8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1ccda8([0x2a])))[_0x1ccda8([0x6d,0x61,0x70])](_0x2f4cce=>_0x2f4cce[_0x1ccda8([0x73,0x70,0x6c,0x69,0x74])](_0x1ccda8([0x2e])))[_0x1ccda8([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2bac54=>_0x2bac54[_0x1ccda8([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4beac6[_0x1ccda8([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1ccda8([0x6d,0x61,0x70])](_0x3eb7cb=>Array(_0x4beac6[_0x1ccda8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3eb7cb[_0x1ccda8([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1ccda8([0x66,0x69,0x6c,0x6c])](_0x3eb7cb[0x0]===_0x1ccda8([0x2a])?_0x1ccda8([0x2a]):'')[_0x1ccda8([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3eb7cb))[_0x1ccda8([0x73,0x6f,0x6d,0x65])](_0xa8348=>_0x4beac6[_0x1ccda8([0x65,0x76,0x65,0x72,0x79])]((_0x140bb1,_0x5b55ce)=>_0xa8348[_0x5b55ce]===_0x140bb1||_0xa8348[_0x5b55ce]===_0x1ccda8([0x2a])));}function _0x348a87(){return _0x397712&&_0x5ae05b?new window[(_0x1ccda8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1f2603,_0x5fb335)=>{_0x397712[_0x1ccda8([0x74,0x68,0x65,0x6e])](_0x1f2603,_0x5fb335),_0x5ae05b[_0x1ccda8([0x74,0x68,0x65,0x6e])](_0x27cdc9=>{_0x27cdc9!=_0x1ccda8([0x56,0x61,0x6c,0x69,0x64])&&_0x1f2603(_0x27cdc9);},_0x5fb335);}):_0x397712||_0x5ae05b||_0x1ccda8([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4cff72(_0x57dc84,_0x5ac2d7){return new window[(_0x1ccda8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x39ea42=>{if(_0x15d5a8())return _0x39ea42(_0x1ccda8([0x56,0x61,0x6c,0x69,0x64]));_0x249de4(),_0x35c913[_0x1ccda8([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1ccda8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4381e9=!0x1;const _0x3a2449=_0x1dfb43();function _0x274afd(_0x4a6d3c){return!!_0x4a6d3c&&(typeof _0x4a6d3c===_0x1ccda8([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4a6d3c===_0x1ccda8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4a6d3c[_0x1ccda8([0x74,0x68,0x65,0x6e])]===_0x1ccda8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4a6d3c[_0x1ccda8([0x63,0x61,0x74,0x63,0x68])]===_0x1ccda8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2391e3(_0x104e35){_0x3ab881(_0x104e35)[_0x1ccda8([0x74,0x68,0x65,0x6e])](_0x28a1e4=>{if(!_0x28a1e4||_0x28a1e4[_0x1ccda8([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1ccda8([0x6f,0x6b]))return _0x1ccda8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x544f82(_0x209846(_0x3a2449+_0x5ac2d7))!=_0x28a1e4[_0x1ccda8([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1ccda8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1ccda8([0x56,0x61,0x6c,0x69,0x64]);})[_0x1ccda8([0x74,0x68,0x65,0x6e])](_0x278d38=>(_0x157656(),_0x278d38),()=>{const _0x3aa3f6=_0x3be0ac();return null==_0x3aa3f6?(_0x157656(),_0x1ccda8([0x56,0x61,0x6c,0x69,0x64])):_0x1ccda8(_0x3a6877-_0x3aa3f6>(0x19f340e1^_0x43c0be)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1ccda8([0x74,0x68,0x65,0x6e])](_0x39ea42)[_0x1ccda8([0x63,0x61,0x74,0x63,0x68])](()=>{_0x39ea42(_0x1ccda8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2f534f=0x3dc92a61^_0x43c0be;function _0x157656(){const _0x442e2c=_0x1ccda8([0x6c,0x6c,0x63,0x74,0x2d])+_0x544f82(_0x209846(_0x57dc84)),_0x482d6c=_0x5e95a8(_0x544f82(window[_0x1ccda8([0x4d,0x61,0x74,0x68])][_0x1ccda8([0x63,0x65,0x69,0x6c])](_0x3a6877/_0x2f534f)));window[_0x1ccda8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1ccda8([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x442e2c,_0x482d6c);}function _0x3be0ac(){const _0x1d78ed=_0x1ccda8([0x6c,0x6c,0x63,0x74,0x2d])+_0x544f82(_0x209846(_0x57dc84)),_0x49a63b=window[_0x1ccda8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1ccda8([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1d78ed);return _0x49a63b?window[_0x1ccda8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5e95a8(_0x49a63b),0x10)*_0x2f534f:null;}function _0x3ab881(_0x2daed4){return new window[(_0x1ccda8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2f2147,_0x38cc62)=>{_0x2daed4[_0x1ccda8([0x74,0x68,0x65,0x6e])](_0x2f2147,_0x38cc62),window[_0x1ccda8([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x38cc62,0x3dfe1021^_0x43c0be);});}}_0x35c913[_0x1ccda8([0x6f,0x6e])](_0x1ccda8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xa71155,_0x407976)=>{if(_0x407976[0x0]!=_0x57dc84)return _0x39ea42(_0x1ccda8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x407976[0x1]={..._0x407976[0x1],[_0x1ccda8([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3a2449};},{[_0x1ccda8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1ccda8([0x68,0x69,0x67,0x68])}),_0x35c913[_0x1ccda8([0x6f,0x6e])](_0x1ccda8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3ae76d=>{_0x274afd(_0x3ae76d[_0x1ccda8([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4381e9=!0x0,_0x2391e3(_0x3ae76d[_0x1ccda8([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1ccda8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1ccda8([0x6c,0x6f,0x77])}),_0x287b03[_0x1ccda8([0x74,0x68,0x65,0x6e])](()=>{_0x4381e9||_0x39ea42(_0x1ccda8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x15d5a8(){return _0x35c913[_0x1ccda8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1ccda8([0x76,0x69,0x65,0x77])][_0x1ccda8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1ccda8([0x61,0x75,0x74,0x6f]);}function _0x249de4(){_0x35c913[_0x1ccda8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1ccda8([0x76,0x69,0x65,0x77])][_0x1ccda8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1ccda8([0x61,0x75,0x74,0x6f]);}}function _0x5a2fa3(_0x37786a){const _0xb24bb0=[new window[(_0x1ccda8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x386adf=>setTimeout(_0x386adf,0x3df6fa2d^_0x43c0be)),_0x287b03[_0x1ccda8([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1ccda8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2ee2b0=>{let _0x212cab=0x0;_0x35c913[_0x1ccda8([0x6d,0x6f,0x64,0x65,0x6c])][_0x1ccda8([0x6f,0x6e])](_0x1ccda8([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x349540,_0x3fed44)=>{_0x3fed44[0x0][_0x1ccda8([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x212cab++,_0x212cab==(0x3dffc109^_0x43c0be)&&(_0x2ee2b0(),_0x349540[_0x1ccda8([0x6f,0x66,0x66])]());});}))];return window[_0x1ccda8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1ccda8([0x72,0x61,0x63,0x65])](_0xb24bb0)[_0x1ccda8([0x74,0x68,0x65,0x6e])](()=>_0x37786a);}async function _0x58c995(){await _0x287b03,_0x35c913[_0x1ccda8([0x6d,0x6f,0x64,0x65,0x6c])][_0x1ccda8([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2fc866,_0x35c913[_0x1ccda8([0x6d,0x6f,0x64,0x65,0x6c])][_0x1ccda8([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2fc866,_0x35c913[_0x1ccda8([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1ccda8([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x36299d(_0xff3f5c){const _0x37dab5=_0x37811e();_0x35c913[_0x37dab5]=_0x1ccda8([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xff3f5c,_0xff3f5c!=_0x1ccda8([0x56,0x61,0x6c,0x69,0x64])&&_0x58c995();}function _0x37811e(){const _0x57f507=window[_0x1ccda8([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1ccda8([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1ccda8([0x6e,0x6f,0x77])]())[_0x1ccda8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1ccda8([0x2e]),'');let _0x1dd9bc=_0x1ccda8([0x6e]);for(let _0x3bd10=0x0;_0x3bd10<_0x57f507[_0x1ccda8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3bd10+=0x2){let _0x4da35e=window[_0x1ccda8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x57f507[_0x1ccda8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3bd10,_0x3bd10+0x2));_0x4da35e>=_0x3422ff[_0x1ccda8([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4da35e-=_0x3422ff[_0x1ccda8([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1dd9bc+=_0x3422ff[_0x4da35e];}return _0x1dd9bc;}function _0xa85b61(){const _0x22bc7c=_0x464ed5[_0x1ccda8([0x73,0x70,0x6c,0x69,0x74])](_0x1ccda8([0x2e]));if(0x3!=_0x22bc7c[_0x1ccda8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x57ba84(_0x22bc7c[0x1]);function _0x57ba84(_0x2a9105){const _0x4dd9b6=_0x598d10(_0x2a9105);return _0x4dd9b6&&_0x2035e0()?_0x4dd9b6:null;function _0x2035e0(){const _0x48c096=_0x4dd9b6[_0x1ccda8([0x6a,0x74,0x69])],_0x28d824=window[_0x1ccda8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x48c096[_0x1ccda8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x48c096[_0x1ccda8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1e477c={..._0x4dd9b6,[_0x1ccda8([0x6a,0x74,0x69])]:_0x48c096[_0x1ccda8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x48c096[_0x1ccda8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1e477c[_0x1ccda8([0x76,0x63])],_0x209846(_0x1e477c)==_0x28d824;}}}async function _0x3388a0(){let _0x1c5ebf=!0x0;try{const _0x41d6ef=_0x464ed5[_0x1ccda8([0x73,0x70,0x6c,0x69,0x74])](_0x1ccda8([0x2e])),[_0x3bcd73,_0x377d62,_0x8b442b]=_0x41d6ef;return _0x52122f(_0x3bcd73),await _0x3089e5(_0x3bcd73,_0x377d62,_0x8b442b),_0x1c5ebf;}catch{return!0x1;}function _0x52122f(_0x44f0dc){const _0x34f0f4=_0x598d10(_0x44f0dc);_0x34f0f4&&_0x34f0f4[_0x1ccda8([0x61,0x6c,0x67])]==_0x1ccda8([0x45,0x53,0x32,0x35,0x36])||(_0x1c5ebf=!0x1);}async function _0x3089e5(_0x154bdd,_0xb14f0d,_0x2e6061){const _0x5d18cc=window[_0x1ccda8([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1ccda8([0x66,0x72,0x6f,0x6d])](_0x3456fe(_0x2e6061),_0x20a378=>_0x20a378[_0x1ccda8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x554772=new window[(_0x1ccda8([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1ccda8([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x154bdd+_0x1ccda8([0x2e])+_0xb14f0d),_0x1ca0d1=window[_0x1ccda8([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1ccda8([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1ca0d1)return;const _0x21abf8=await _0x1ca0d1[_0x1ccda8([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1ccda8([0x6a,0x77,0x6b]),_0x10824e,{[_0x1ccda8([0x6e,0x61,0x6d,0x65])]:_0x1ccda8([0x45,0x43,0x44,0x53,0x41]),[_0x1ccda8([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1ccda8([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1ccda8([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1ca0d1[_0x1ccda8([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1ccda8([0x6e,0x61,0x6d,0x65])]:_0x1ccda8([0x45,0x43,0x44,0x53,0x41]),[_0x1ccda8([0x68,0x61,0x73,0x68])]:{[_0x1ccda8([0x6e,0x61,0x6d,0x65])]:_0x1ccda8([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x21abf8,_0x5d18cc,_0x554772)||(_0x1c5ebf=!0x1);}}function _0x598d10(_0x29a8f0){return _0x29a8f0[_0x1ccda8([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1ccda8([0x65,0x79]))?JSON[_0x1ccda8([0x70,0x61,0x72,0x73,0x65])](_0x3456fe(_0x29a8f0)):null;}function _0x3456fe(_0xb3cb84){return window[_0x1ccda8([0x61,0x74,0x6f,0x62])](_0xb3cb84[_0x1ccda8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1ccda8([0x2b]))[_0x1ccda8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1ccda8([0x2f])));}function _0x209846(_0x51a498){let _0x54ef18=0x1505;function _0x1a8aa7(_0x624a24){for(let _0x2f7d93=0x0;_0x2f7d93<_0x624a24[_0x1ccda8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2f7d93++){const _0x2810b7=_0x624a24[_0x1ccda8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2f7d93);_0x54ef18=(_0x54ef18<<0x5)+_0x54ef18+_0x2810b7,_0x54ef18&=_0x54ef18;}}function _0x32d48b(_0x65bdce){Array[_0x1ccda8([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x65bdce)?_0x65bdce[_0x1ccda8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x32d48b):_0x65bdce&&typeof _0x65bdce==_0x1ccda8([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1ccda8([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x65bdce)[_0x1ccda8([0x73,0x6f,0x72,0x74])]()[_0x1ccda8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x236cdf,_0x1cc4df])=>{_0x1a8aa7(_0x236cdf),_0x32d48b(_0x1cc4df);}):_0x1a8aa7(window[_0x1ccda8([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x65bdce));}return _0x32d48b(_0x51a498),_0x54ef18>>>0x0;}function _0x544f82(_0x34d380){return _0x34d380[_0x1ccda8([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1ccda8([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1ccda8([0x30]));}function _0x5e95a8(_0x71a5ac){return _0x71a5ac[_0x1ccda8([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1ccda8([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1ccda8([0x6a,0x6f,0x69,0x6e])]('');}function _0x2fc866(){}function _0x1ccda8(_0x48961d){const _0x273391=_0x1775;return _0x48961d[_0x273391(0x7c)](_0x14cfc6=>String[_0x273391(0x9b)](_0x14cfc6))[_0x273391(0xc0)]('');}_0x36299d(await _0xd2b8f1());}(this);}[_0x525fa3(0x98)](){const _0x462dd3=_0x525fa3,_0x3fc4fb=this[_0x462dd3(0xaf)][_0x462dd3(0x71)];_0x3fc4fb[_0x462dd3(0x7f)](_0x1e9b43=>{const _0x1d7d65=_0x462dd3,_0x40e882=_0x3fc4fb[_0x1d7d65(0x8e)][_0x1d7d65(0x6f)][_0x1d7d65(0xb6)]();let _0x495f40=0x0;for(const _0x1fbbdf of _0x40e882){const _0x5c0271=ct+':'+_0x495f40;if(_0x3fc4fb[_0x1d7d65(0xcf)][_0x1d7d65(0xc2)](_0x5c0271))_0x1e9b43[_0x1d7d65(0xb1)](_0x5c0271,{'range':_0x1fbbdf});else{if(_0x1fbbdf[_0x1d7d65(0x6c)][_0x1d7d65(0xce)]){const _0x40545f=_0x1fbbdf[_0x1d7d65(0x6c)][_0x1d7d65(0xa5)](({item:_0x25fcd6})=>!_0x3fc4fb[_0x1d7d65(0xaa)][_0x1d7d65(0x9a)](_0x25fcd6),{'boundaries':_0x1fbbdf});_0x1e9b43[_0x1d7d65(0xa4)](_0x5c0271,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x1e9b43[_0x1d7d65(0xd3)](_0x40545f,_0x1fbbdf[_0x1d7d65(0x81)])});}else _0x1e9b43[_0x1d7d65(0xa4)](_0x5c0271,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x1fbbdf});}_0x495f40++;}});}[_0x525fa3(0x99)](){const _0x5a6f86=_0x525fa3,_0x430cbd=this[_0x5a6f86(0xaf)][_0x5a6f86(0x71)],_0x5a6cb5=Array[_0x5a6f86(0x8a)](this[_0x5a6f86(0xaf)][_0x5a6f86(0x71)][_0x5a6f86(0xcf)][_0x5a6f86(0x93)](ct));_0x5a6cb5[_0x5a6f86(0xba)]&&_0x430cbd[_0x5a6f86(0x7f)](_0x244ebe=>{const _0xb72453=_0x5a6f86;_0x5a6cb5[_0xb72453(0xa6)](_0x2f002d=>{const _0x17f2fc=_0xb72453;_0x244ebe[_0x17f2fc(0xc5)](_0x2f002d);});});}[_0x525fa3(0xcc)](_0x5e80cb,_0x2bd5c3){const _0x346fb9=_0x525fa3,_0x2e5ea7=this[_0x346fb9(0x66)](),_0x529262=_0x2bd5c3||_0x2e5ea7[_0x346fb9(0x9c)]();this[_0x346fb9(0xaf)][_0x346fb9(0x71)][_0x346fb9(0x75)](_0x529262)&&this[_0x346fb9(0xaf)][_0x346fb9(0x71)][_0x346fb9(0x7f)](_0x297de0=>{const _0x3a40d0=_0x346fb9;this[_0x3a40d0(0x99)](),_0x2bd5c3||this[_0x3a40d0(0x77)](_0x297de0,_0x2e5ea7),this[_0x3a40d0(0x67)]({'insertAt':_0x529262,'writer':_0x297de0,'html':_0x5e80cb});});}[_0x525fa3(0xab)](_0x4cfb7b){const _0x472d35=_0x525fa3,{model:_0x3a192e}=this[_0x472d35(0xaf)],_0x2f2f08=this[_0x472d35(0x66)]();_0x3a192e[_0x472d35(0x7f)](()=>{const _0x5acb83=_0x472d35,_0x2201c2=this[_0x5acb83(0x6d)](_0x4cfb7b,_0x2f2f08)||this[_0x5acb83(0xc4)](_0x2f2f08);this[_0x5acb83(0xcc)](_0x4cfb7b,_0x2201c2);});}[_0x525fa3(0x66)](){const _0x142b71=_0x525fa3,_0xa0040c=this[_0x142b71(0xaf)][_0x142b71(0x71)],_0x2216ab=Array[_0x142b71(0x8a)](_0xa0040c[_0x142b71(0xcf)][_0x142b71(0x93)](ct))[_0x142b71(0x7c)](_0x2a320d=>_0x2a320d[_0x142b71(0xbc)]());return _0xa0040c[_0x142b71(0xc1)](_0x2216ab);}[_0x525fa3(0x67)]({writer:_0x22288e,html:_0x25197d,insertAt:_0x13a0f7}){const _0x317279=_0x525fa3,{view:_0x23bb7b}=this[_0x317279(0xaf)][_0x317279(0xa2)],_0x4aaa27=this[_0x317279(0xaf)][_0x317279(0xb3)][_0x317279(0xc8)](_0x24df28),_0x51e0b9=new st();_0x51e0b9[_0x317279(0x6b)](_0x317279(0x69),_0x25197d);const _0x3b4783=new ClipboardEvent(_0x317279(0xa8),{'clipboardData':_0x51e0b9}),_0x1f4a82=new _0x5ab091(_0x23bb7b,_0x3b4783,{'dataTransfer':new _0xa93ced(_0x51e0b9)});_0x22288e[_0x317279(0xb4)](_0x13a0f7);const _0x53c2b3=(_0xe1658a,_0x459da3)=>{const _0x37f7a8=_0x317279;_0x459da3[_0x37f7a8(0x84)]&&_0x22288e[_0x37f7a8(0xb4)](_0x459da3[_0x37f7a8(0x84)]);};_0x4aaa27[_0x317279(0x9e)](_0x317279(0xa3),_0x53c2b3,{'priority':_0x317279(0xc7)}),_0x23bb7b[_0x317279(0x8e)][_0x317279(0xb0)](_0x317279(0xa8),_0x1f4a82),_0x4aaa27[_0x317279(0xbe)](_0x317279(0xa3),_0x53c2b3);}[_0x525fa3(0xc4)](_0x53fc88){const _0x2e5b5e=_0x525fa3,{model:_0x1597f2}=this[_0x2e5b5e(0xaf)],_0x5007a6=Array[_0x2e5b5e(0x8a)](_0x53fc88[_0x2e5b5e(0x89)]());return _0x5007a6[_0x2e5b5e(0xba)]?_0x1597f2[_0x2e5b5e(0x68)](_0x5007a6[_0x2e5b5e(0x90)]()):_0x53fc88[_0x2e5b5e(0xac)]();}[_0x525fa3(0x6d)](_0x3c3808,_0x387f82){const _0x39ebda=_0x525fa3,{model:_0x2efecf,plugins:_0xaa6bab}=this[_0x39ebda(0xaf)];if(_0xaa6bab[_0x39ebda(0xc2)](_0x39ebda(0x8f))){const _0x2d3b3d=_0xaa6bab[_0x39ebda(0xc8)](_0x39ebda(0x8f))[_0x39ebda(0x8c)](_0x387f82);if(_0x2d3b3d[_0x39ebda(0xba)]){const _0x46c51d=this[_0x39ebda(0x83)](_0x3c3808),_0x96b021=this[_0x39ebda(0xbf)](_0x2d3b3d,_0x46c51d);return _0x2efecf[_0x39ebda(0xb9)](_0x96b021,0x0);}}return null;}[_0x525fa3(0x83)](_0x13c67e){const _0x746b1c=_0x525fa3,_0xc155b2=this[_0x746b1c(0xaf)][_0x746b1c(0xb3)][_0x746b1c(0xc8)](_0x746b1c(0x8f)),_0x30e4bb=this[_0x746b1c(0xaf)][_0x746b1c(0x72)][_0x746b1c(0x86)](_0x13c67e),_0x4fb825=Array[_0x746b1c(0x8a)](_0x30e4bb[_0x746b1c(0x7e)]())[_0x746b1c(0xa7)](_0xcb1991=>_0xcb1991['is'](_0x746b1c(0xae),_0x746b1c(0xd4)));let _0x5ca298=0x0;return _0x4fb825[_0x746b1c(0xa6)](_0x49f062=>{const _0x898c45=_0x746b1c;_0x5ca298+=_0xc155b2[_0x898c45(0x95)](_0x49f062);}),_0x5ca298;}[_0x525fa3(0xbf)](_0x4c6745,_0x415d09){const _0x13bd29=_0x525fa3,_0x8ad335=this[_0x13bd29(0xaf)][_0x13bd29(0xb3)][_0x13bd29(0xc8)](_0x13bd29(0x8f)),_0x138d04=_0x8ad335[_0x13bd29(0x7b)](_0x4c6745),_0x2f19e0=_0x8ad335[_0x13bd29(0xb7)](_0x4c6745),_0x83479b=_0x138d04[_0x13bd29(0xb5)]+0x1,_0x474224=_0x2f19e0[_0x13bd29(0x85)],_0xa6b7d4=_0x4c6745[0x0][_0x13bd29(0xbb)](_0x13bd29(0xd4));for(let _0x177143=0x0;_0x177143<_0x415d09;_0x177143++)_0x8ad335[_0x13bd29(0xcd)](_0xa6b7d4,{'at':_0x83479b});return _0xa6b7d4[_0x13bd29(0x79)](_0x83479b)[_0x13bd29(0x79)](_0x474224);}[_0x525fa3(0x77)](_0x1a5d2a,_0x1fa80d){const _0x552a30=_0x525fa3,{plugins:_0x117bb7}=this[_0x552a30(0xaf)],{model:_0x17e02e}=_0x1a5d2a;if(!_0x117bb7[_0x552a30(0xc2)](_0x552a30(0x8f)))return;_0x117bb7[_0x552a30(0xc8)](_0x552a30(0x8f))[_0x552a30(0x8c)](_0x1fa80d)[_0x552a30(0xba)]&&_0x17e02e[_0x552a30(0xd1)](_0x1fa80d);}}function _0xff22(){const _0x338b07=['config','getChild','236406pYUHoi','getRowIndexes','map','conversion','getChildren','change','1066296gpyImr','end','ck-ai-assistant-ui_theme','_getTableRowCountFromContent','resultRange','first','parse','init','markerToElement','getSelectedBlocks','from','href','getSelectedTableCells','719721sCZvHs','document','TableUtils','pop','for','editingDowncast','getMarkersGroup','3UcZqJB','getRows','isPremiumPlugin','afterInit','showFakeVisualSelection','hideFakeVisualSelection','isContent','fromCharCode','getFirstRange','isCollapsed','once','createUIElement','3218960kvyknl','6160238rAEWDU','editing','contentInsertion','addMarker','getLastMatchingPosition','forEach','filter','paste','addClass','schema','insertContentBelow','getLastPosition','DataTransfer','element','editor','fire','updateMarker','3060844nQRuTQ','plugins','setSelection','last','getRanges','getColumnIndexes','ck-fake-ai-selection_collapsed','createPositionAt','length','findAncestor','getRange','8mIuqIx','off','_createEmptyTableRows','join','createSelection','has','190pseSap','_getDefaultInsertBelowPosition','removeMarker','markerToHighlight','lowest','get','markerRange','span','ai.assistant.useTheme','insertContent','insertRows','isAtEnd','markers','isOfficialPlugin','deleteContent','ai-ui','createRange','table','_getAISelection','_pasteHTMLUsingClipboard','createPositionAfter','text/html','AIAssistantEditing','setData','start','_prepareTableInsertBelowPosition','6zisuny','selection','push','model','data','pluginName','28836467MxcACB','canEditAt','ck-fake-ai-selection','_resetContentOfSelectedTableCells'];_0xff22=function(){return _0x338b07;};return _0xff22();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0xf6f6be=_0x427d;(function(_0xe2bc1e,_0x5a64bf){const _0x956c1d=_0x427d,_0x3c36aa=_0xe2bc1e();while(!![]){try{const _0x286701=parseInt(_0x956c1d(0x24c))/0x1*(-parseInt(_0x956c1d(0x20e))/0x2)+-parseInt(_0x956c1d(0x1f2))/0x3+-parseInt(_0x956c1d(0x21c))/0x4*(-parseInt(_0x956c1d(0x1f7))/0x5)+-parseInt(_0x956c1d(0x217))/0x6+parseInt(_0x956c1d(0x22e))/0x7+parseInt(_0x956c1d(0x1cb))/0x8*(-parseInt(_0x956c1d(0x21d))/0x9)+parseInt(_0x956c1d(0x22f))/0xa;if(_0x286701===_0x5a64bf)break;else _0x3c36aa['push'](_0x3c36aa['shift']());}catch(_0x3ac6d6){_0x3c36aa['push'](_0x3c36aa['shift']());}}}(_0x2c37,0xaac3e));import{Plugin as _0x55ef3f}from'ckeditor5/src/core.js';import{IconMagicWand as _0xd71cee,IconRobotPencil as _0x199562}from'ckeditor5/src/icons.js';import{first as _0x539f4c,CKEditorError as _0x2437be}from'ckeditor5/src/utils.js';function _0x427d(_0x41bb9d,_0x242f51){const _0x2c3726=_0x2c37();return _0x427d=function(_0x427d3d,_0x4486a3){_0x427d3d=_0x427d3d-0x1bc;let _0x4e39ef=_0x2c3726[_0x427d3d];return _0x4e39ef;},_0x427d(_0x41bb9d,_0x242f51);}import{createDropdown as _0x1498b2,addMenuToDropdown as _0x4bde7b,ButtonView as _0x49e921,MenuBarMenuListItemButtonView as _0x285822,Dialog as _0x33e5f1,DialogViewPosition as _0x1af00d,MenuBarMenuView as _0x2c71b8,MenuBarMenuListView as _0x201dfc,MenuBarMenuListItemView as _0x5e081e}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x2ea3c0,UNGROUPED_COMMANDS_GROUP_ID as _0x53965a}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0xd5b8c0}from'./aiassistantediting.js';import{AIAdapter as _0x86d269}from'./adapters/aiadapter.js';import{getTranslation as _0x3f0d29}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0x12b4ed}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0x3b1811}from'./ui/aiassistantcontroller.js';import{AIFormView as _0x3e5bc2}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x2d4177}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[_0xf6f6be(0x248)];import{ClipboardMarkersUtils as _0x3831b6}from'ckeditor5/src/clipboard.js';function _0x2c37(){const _0x21f997=['aiAssistant','items','_onExecute','usageLimit','componentFactory','ck-ai-assistant-ui','label','selection','ck-ai-commands-dropdown\x20','getLimitElement','custom','_aiAdapter','change:value','setSelection','1729422yhquIW','_aiAssistantController','menuBar:aiCommands','source','EDITOR_TOP_SIDE','5AkgkZM','updatePosition','commands','render','menuitemcheckbox','aiLicenseKeyUsageLimit','featureNotAllowed','_getMenuBarGroupButtons','addMany','showFakeVisualSelection','\x20ck-ai-assistant-ui_theme','forEach','comment','queryView','length','change:isProcessing','announce','values','locale','buttonView','getData','isFlat','AI\x20Commands','2ytaRak','_initAriaAiStatusChangeAnnouncements','includes','ck-ai-assistant-button\x20','REPLACE','bind','copy','get','change','2202504wxRJcU','menuPanelClass','sort','_licenseKeyCheckInterval','view','5147804NbFjDT','606402aYejfG','from','_showLicenseError','polite','rawHtml','_formView','children','ai.assistant.contentAreaCssClass','reset','isOfficialPlugin','promptView','insertContentBelow','AI\x20is\x20writing','isEnabled','add','getRanges','show','1061102guFrKp','9998210acjoxs','errorView','AIAssistant','showAIAssistant','</p>','panelView','trim','textAdapter','isCollapsed','model','init','tableOfContents','push','aiLicenseKeyDomainLimit','editing','aiLicenseKeyEvaluationLimit','hideUI','map','expired','_dialog','AI\x20Assistant','listenTo','AIAssistantUI','replace','fire','DataTransfer','getSelectedBlocks','_commandDefinitions','change:enabledCommandsIds','256322nznzNt','text','filter','_createAIAssistantUIButton','ai-commands-config-order-collision','wasMoved','evaluationLimit','<p>','_initView','licenseKey','domainLimit','menuView','_forceMarkersCopy','requiresContent','editor','aiLicenseKeyValid','insertContent','_uiCssClasses','invalid','currentContext','_getResolvedCommandsDefinitions','schema','fieldView','aiLicenseKeyNotAllowed','delegate','Error\x20during\x20AI\x20content\x20generation:\x20%0','execute','change:isError','define','isPremiumPlugin','INSERT','aiLicenseKeyExpired','hide','isOn','showUI','menuBar:aiAssistant','prompt','once','plugins','contentArea','set','destroy','focus','order','aiLicenseKeyInvalid','64jqqHEh','aiCommands','ai.assistant.commands','getSelectedElement','pluginName','buttons','updateView','hideFakeVisualSelection','replaceContent','ai.assistant.disabledElements','document','_populateMenuBarMenu','media','ai.assistant.useTheme','splice','command:','body','enabledCommandsIds','groupId','text/html','requires','config','groupLabel','update','Generated\x20content:\x20%0'];_0x2c37=function(){return _0x21f997;};return _0x2c37();}import{ViewDocumentDomEventData as _0x466607,ViewDataTransfer as _0x12ac7e}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0x55ef3f{[_0xf6f6be(0x255)];[_0xf6f6be(0x21a)];[_0xf6f6be(0x242)];[_0xf6f6be(0x222)];[_0xf6f6be(0x1ef)];[_0xf6f6be(0x1f3)];[_0xf6f6be(0x25d)]='';static get[_0xf6f6be(0x1cf)](){const _0x1ad147=_0xf6f6be;return _0x1ad147(0x245);}static get[_0xf6f6be(0x226)](){return!0x0;}static get[_0xf6f6be(0x269)](){return!0x0;}static get[_0xf6f6be(0x1df)](){return[_0x3831b6,_0xd5b8c0,_0x86d269,_0x33e5f1];}constructor(_0x3814e8){const _0x409035=_0xf6f6be;super(_0x3814e8),_0x3814e8[_0x409035(0x1e0)][_0x409035(0x268)](_0x409035(0x1d4),[_0x409035(0x1d7),_0x409035(0x221),_0x409035(0x23a)]),_0x3814e8[_0x409035(0x1e0)][_0x409035(0x268)](_0x409035(0x224),''),_0x3814e8[_0x409035(0x1e0)][_0x409035(0x268)](_0x409035(0x1d8),!0x0),this[_0x409035(0x25d)]=_0x409035(0x1e9)+(_0x3814e8[_0x409035(0x1e0)][_0x409035(0x215)](_0x409035(0x1d8))?_0x409035(0x201):'');}[_0xf6f6be(0x239)](){const _0x29a1d5=_0xf6f6be,{editor:_0x202b55}=this;this[_0x29a1d5(0x1ef)]=_0x202b55[_0x29a1d5(0x1c4)][_0x29a1d5(0x215)](_0x86d269),this[_0x29a1d5(0x242)]=_0x202b55[_0x29a1d5(0x1c4)][_0x29a1d5(0x215)](_0x33e5f1),this[_0x29a1d5(0x222)]=null,this[_0x29a1d5(0x24a)]=this[_0x29a1d5(0x260)]();const _0x5a8983=new _0x12b4ed(_0x202b55,Array[_0x29a1d5(0x21e)](this[_0x29a1d5(0x24a)][_0x29a1d5(0x208)]()));_0x202b55[_0x29a1d5(0x1f9)][_0x29a1d5(0x22b)](_0x29a1d5(0x232),_0x5a8983),_0x202b55['ui'][_0x29a1d5(0x1e8)][_0x29a1d5(0x22b)](_0x29a1d5(0x1cc),_0x3ceb90=>{const _0x188518=_0x29a1d5,_0x3fa5e5=_0x1498b2(_0x3ceb90);return _0x3fa5e5[_0x188518(0x1c6)]({'class':_0x188518(0x1ec)+this[_0x188518(0x25d)]}),_0x3fa5e5[_0x188518(0x20a)][_0x188518(0x1c6)]({'label':_0x3f0d29(_0x3ceb90,_0x188518(0x20d)),'icon':_0xd71cee,'tooltip':!0x0}),_0x3fa5e5['on'](_0x188518(0x266),_0x108fac=>this[_0x188518(0x1e6)](_0x108fac[_0x188518(0x1f5)]['id'])),_0x4bde7b(_0x3fa5e5,_0x202b55['ui'][_0x188518(0x21b)][_0x188518(0x1db)],function(_0x5ad459){const _0x50fd13=_0x188518,_0x55c163=_0x2ea3c0(_0x5ad459[_0x50fd13(0x1e0)][_0x50fd13(0x215)](_0x50fd13(0x1cd)),_0x5ad459[_0x50fd13(0x209)]),_0x462f6d=B(_0x5ad459,_0x55c163)[_0x50fd13(0x24e)](_0x23b659=>_0x23b659[_0x50fd13(0x1f9)][_0x50fd13(0x205)]);if(0x1===_0x462f6d[_0x50fd13(0x205)])return B(_0x5ad459,_0x462f6d[0x0][_0x50fd13(0x1f9)])[_0x50fd13(0x240)](_0x3e2e65=>({'id':_0x3e2e65['id'],'label':_0x3e2e65[_0x50fd13(0x1ea)]}));return _0x462f6d[_0x50fd13(0x240)](_0xd8ce67=>{const _0x5dc304=_0x50fd13,{groupId:_0x4b5c48,groupLabel:_0x51e18b,commands:_0x3a925e}=_0xd8ce67,_0x293852=B(_0x5ad459,_0x3a925e)[_0x5dc304(0x240)](_0x3f0627=>({'id':_0x3f0627['id'],'label':_0x3f0627[_0x5dc304(0x1ea)]}));return{'id':_0x4b5c48,'menu':_0x51e18b||_0x4b5c48,'children':_0x293852};});}(_0x202b55),{'ariaLabel':_0x3f0d29(_0x3ceb90,_0x188518(0x20d))}),_0x3fa5e5[_0x188518(0x257)][_0x188518(0x218)]=_0x188518(0x1ec)+this[_0x188518(0x25d)],_0x5a8983['on'](_0x188518(0x24b),_0x2eeefb),_0x3fa5e5[_0x188518(0x257)][_0x188518(0x1c3)](_0x188518(0x1fa),_0x2eeefb),_0x3fa5e5;function _0x2eeefb(){const _0x5a0fd8=_0x188518;_0x3fa5e5[_0x5a0fd8(0x22a)]=_0x5a8983[_0x5a0fd8(0x1dc)][_0x5a0fd8(0x205)]>0x0;for(const _0x37eee6 of _0x3fa5e5[_0x5a0fd8(0x257)][_0x5a0fd8(0x1d0)])_0x37eee6[_0x5a0fd8(0x22a)]=_0x5a8983[_0x5a0fd8(0x1dc)][_0x5a0fd8(0x210)](_0x37eee6['id']);}}),_0x202b55['ui'][_0x29a1d5(0x1e8)][_0x29a1d5(0x22b)](_0x29a1d5(0x1f4),_0x2d8ebc=>{const _0x4ad381=_0x29a1d5,_0x537f07=new _0x2c71b8(_0x2d8ebc);_0x537f07[_0x4ad381(0x20a)][_0x4ad381(0x1c6)]({'label':_0x3f0d29(_0x2d8ebc,_0x4ad381(0x20d)),'icon':_0xd71cee}),_0x537f07[_0x4ad381(0x213)](_0x4ad381(0x22a))['to'](_0x5a8983,_0x4ad381(0x1dc),_0x2d2aa5=>_0x2d2aa5[_0x4ad381(0x205)]>0x0);const _0xd6d56f=_0x2ea3c0(_0x202b55[_0x4ad381(0x1e0)][_0x4ad381(0x215)](_0x4ad381(0x1cd)),_0x2d8ebc);return this[_0x4ad381(0x1d6)](_0x5a8983,_0x537f07,_0xd6d56f,_0x5786d7=>this[_0x4ad381(0x1e6)](_0x5786d7)),_0x537f07;}),_0x202b55['ui'][_0x29a1d5(0x1e8)][_0x29a1d5(0x22b)](_0x29a1d5(0x1e4),()=>{const _0x5bf998=_0x29a1d5,_0x58ab02=this[_0x5bf998(0x24f)](_0x49e921);return _0x58ab02[_0x5bf998(0x1c6)]({'tooltip':!0x0,'class':_0x5bf998(0x211)+this[_0x5bf998(0x25d)]}),_0x58ab02;}),_0x202b55['ui'][_0x29a1d5(0x1e8)][_0x29a1d5(0x22b)](_0x29a1d5(0x1c1),()=>{const _0x42eece=_0x29a1d5,_0x324a0d=this[_0x42eece(0x24f)](_0x285822);return _0x324a0d[_0x42eece(0x1c6)]({'role':_0x42eece(0x1fb)}),_0x324a0d;}),this[_0x29a1d5(0x255)]=this[_0x29a1d5(0x25a)][_0x29a1d5(0x1e0)][_0x29a1d5(0x215)](_0x29a1d5(0x255));const _0x3a7657=this[_0x29a1d5(0x25a)];this[_0x29a1d5(0x21a)]=setInterval(()=>{const _0x33288a=_0x29a1d5;let _0x3dc508;for(const _0x4f01d0 in _0x3a7657){const _0x460501=_0x4f01d0,_0x1603ec=_0x3a7657[_0x460501];if(_0x33288a(0x25b)==_0x1603ec||_0x33288a(0x1ca)==_0x1603ec||_0x33288a(0x1bd)==_0x1603ec||_0x33288a(0x23c)==_0x1603ec||_0x33288a(0x263)==_0x1603ec||_0x33288a(0x23e)==_0x1603ec||_0x33288a(0x1fc)==_0x1603ec){delete _0x3a7657[_0x460501],_0x3dc508=_0x1603ec,clearInterval(this[_0x33288a(0x21a)]),this[_0x33288a(0x21a)]=void 0x0;break;}}_0x33288a(0x1ca)==_0x3dc508&&_0x3a7657[_0x33288a(0x21f)](_0x33288a(0x25e)),_0x33288a(0x1bd)==_0x3dc508&&_0x3a7657[_0x33288a(0x21f)](_0x33288a(0x241)),_0x33288a(0x23c)==_0x3dc508&&_0x3a7657[_0x33288a(0x21f)](_0x33288a(0x256)),_0x33288a(0x263)==_0x3dc508&&_0x3a7657[_0x33288a(0x21f)](_0x33288a(0x1fd),_0x33288a(0x231)),_0x33288a(0x23e)==_0x3dc508&&_0x3a7657[_0x33288a(0x21f)](_0x33288a(0x252)),_0x33288a(0x1fc)==_0x3dc508&&_0x3a7657[_0x33288a(0x21f)](_0x33288a(0x1e7));},0x3e8);}[_0xf6f6be(0x1c7)](){const _0x4cb820=_0xf6f6be;super[_0x4cb820(0x1c7)](),this[_0x4cb820(0x21a)]&&clearInterval(this[_0x4cb820(0x21a)]);}[_0xf6f6be(0x1c0)](_0x502862='',_0x18ac98='',_0x26e20c=_0xf6f6be(0x1ee)){const _0xd50253=_0xf6f6be,_0x3b54a2=this[_0xd50253(0x25a)],_0x1f3af4=_0x3b54a2[_0xd50253(0x23d)][_0xd50253(0x21b)],_0x17b658=_0x3b54a2[_0xd50253(0x1c4)][_0xd50253(0x215)](_0xd5b8c0),_0x48be58=_0x3b54a2[_0xd50253(0x1c4)][_0xd50253(0x215)](_0x3831b6);_0x17b658[_0xd50253(0x200)]();const _0x4fa211=new w(),_0x528485=new ClipboardEvent(_0xd50253(0x214),{'clipboardData':_0x4fa211}),_0x463c50=new _0x12ac7e(_0x4fa211),_0x248608=new _0x466607(_0x1f3af4,_0x528485,{'dataTransfer':_0x463c50});_0x48be58[_0xd50253(0x258)](_0xd50253(0x203),()=>{const _0x213b13=_0xd50253;_0x1f3af4[_0x213b13(0x1d5)][_0x213b13(0x247)](_0x213b13(0x214),_0x248608);}),this[_0xd50253(0x222)]||(this[_0xd50253(0x254)](),this[_0xd50253(0x1f3)]=new _0x3b1811(_0x3b54a2,this[_0xd50253(0x1ef)][_0xd50253(0x236)],this[_0xd50253(0x222)]));let _0x415104=_0x463c50[_0xd50253(0x20b)](_0xd50253(0x1de));const _0x2bc154=_0x3b54a2[_0xd50253(0x238)][_0xd50253(0x1d5)][_0xd50253(0x1eb)],_0x387855=Array[_0xd50253(0x21e)](_0x2bc154[_0xd50253(0x22c)]());0x1===_0x387855[_0xd50253(0x205)]&&_0x387855[0x0][_0xd50253(0x20c)]&&!_0x2bc154[_0xd50253(0x1ce)]()&&''!==_0x415104[_0xd50253(0x246)](/ /g,'')[_0xd50253(0x235)]()&&(_0x415104=_0xd50253(0x253)+_0x415104+_0xd50253(0x233)),this[_0xd50253(0x1f3)][_0xd50253(0x1d1)]({'actionId':_0x26e20c,'query':_0x502862,'htmlContent':_0x415104,'label':_0x18ac98,'mainActionLabel':_0x2d4177[_0x3b54a2[_0xd50253(0x238)][_0xd50253(0x1d5)][_0xd50253(0x1eb)][_0xd50253(0x237)]?_0xd50253(0x1bc):_0xd50253(0x212)]}),_0xd50253(0x1e4)!==this[_0xd50253(0x242)]['id']?this[_0xd50253(0x242)][_0xd50253(0x22d)]({'id':_0xd50253(0x1e4),'icon':_0x199562,'title':_0x3f0d29(this[_0xd50253(0x25a)][_0xd50253(0x209)],_0xd50253(0x243)),'content':this[_0xd50253(0x222)],'position':_0x1af00d[_0xd50253(0x1f6)],'onShow':()=>{const _0x298801=_0xd50253;this[_0x298801(0x222)][_0x298801(0x1c8)]();},'onHide':()=>{const _0x4ac028=_0xd50253;this[_0x4ac028(0x1f3)][_0x4ac028(0x225)](),_0x17b658[_0x4ac028(0x1d2)]();}}):this[_0xd50253(0x242)][_0xd50253(0x21b)][_0xd50253(0x251)]||this[_0xd50253(0x242)][_0xd50253(0x21b)][_0xd50253(0x1f8)]();}[_0xf6f6be(0x23f)](){const _0x2812c8=_0xf6f6be;this[_0x2812c8(0x242)][_0x2812c8(0x1be)]();}[_0xf6f6be(0x260)](){const _0x2b1732=_0xf6f6be,_0x59bce5=new Map(),_0x89dda9=_0x2ea3c0(this[_0x2b1732(0x25a)][_0x2b1732(0x1e0)][_0x2b1732(0x215)](_0x2b1732(0x1cd)),this[_0x2b1732(0x25a)][_0x2b1732(0x209)]);for(const _0x5bfb31 of _0x89dda9)for(const _0x4a6742 of _0x5bfb31[_0x2b1732(0x1f9)])_0x59bce5[_0x2b1732(0x1c6)](_0x4a6742['id'],{..._0x4a6742,'groupId':_0x5bfb31[_0x2b1732(0x1dd)],'groupLabel':_0x5bfb31[_0x2b1732(0x1e1)]||_0x5bfb31[_0x2b1732(0x1dd)]});return _0x59bce5;}[_0xf6f6be(0x24f)](_0x19cd5d){const _0x4725be=_0xf6f6be,_0x3c2e62=this[_0x4725be(0x25a)],_0x46019b=_0x3c2e62[_0x4725be(0x1f9)][_0x4725be(0x215)](_0x4725be(0x232)),_0x4d925b=new _0x19cd5d(_0x3c2e62[_0x4725be(0x209)]);return _0x4d925b[_0x4725be(0x1c6)]({'label':_0x3f0d29(_0x3c2e62[_0x4725be(0x209)],_0x4725be(0x243)),'icon':_0x199562,'isToggleable':!0x0}),_0x4d925b[_0x4725be(0x213)](_0x4725be(0x22a))['to'](_0x46019b),_0x4d925b[_0x4725be(0x213)](_0x4725be(0x1bf))['to'](this[_0x4725be(0x242)],'id',_0x265f1a=>_0x4725be(0x1e4)===_0x265f1a),this[_0x4725be(0x244)](_0x4d925b,_0x4725be(0x266),()=>{const _0xfb1c7d=_0x4725be;_0x4d925b[_0xfb1c7d(0x1bf)]?this[_0xfb1c7d(0x23f)]():_0x46019b[_0xfb1c7d(0x266)]();}),_0x4d925b;}[_0xf6f6be(0x254)](){const _0x5d0aa0=_0xf6f6be,_0x3e6bdb=this[_0x5d0aa0(0x25a)][_0x5d0aa0(0x1c4)][_0x5d0aa0(0x215)](_0xd5b8c0);this[_0x5d0aa0(0x222)]=new _0x3e5bc2(this[_0x5d0aa0(0x25a)][_0x5d0aa0(0x209)],this[_0x5d0aa0(0x25d)],this[_0x5d0aa0(0x25a)][_0x5d0aa0(0x1e0)][_0x5d0aa0(0x215)](_0x5d0aa0(0x224))),this[_0x5d0aa0(0x222)]['on'](_0x5d0aa0(0x1f0),()=>{const _0x31dc6a=_0x5d0aa0;this[_0x31dc6a(0x242)][_0x31dc6a(0x21b)][_0x31dc6a(0x251)]||this[_0x31dc6a(0x242)][_0x31dc6a(0x21b)][_0x31dc6a(0x1f8)]();}),this[_0x5d0aa0(0x222)][_0x5d0aa0(0x227)][_0x5d0aa0(0x204)][_0x5d0aa0(0x262)]['on'](_0x5d0aa0(0x1e2),()=>{const _0x33c6ad=_0x5d0aa0;this[_0x33c6ad(0x242)][_0x33c6ad(0x21b)][_0x33c6ad(0x251)]||this[_0x33c6ad(0x242)][_0x33c6ad(0x21b)][_0x33c6ad(0x1f8)]();}),this[_0x5d0aa0(0x244)](this[_0x5d0aa0(0x222)],_0x5d0aa0(0x1d3),()=>{const _0x2ba1ec=_0x5d0aa0;_0x3e6bdb[_0x2ba1ec(0x25c)](this[_0x2ba1ec(0x1f3)][_0x2ba1ec(0x25f)]),this[_0x2ba1ec(0x23f)]();}),this[_0x5d0aa0(0x244)](this[_0x5d0aa0(0x222)],_0x5d0aa0(0x228),()=>{const _0x210be2=_0x5d0aa0;_0x3e6bdb[_0x210be2(0x228)](this[_0x210be2(0x1f3)][_0x210be2(0x25f)]),this[_0x210be2(0x23f)]();}),this[_0x5d0aa0(0x20f)]();}[_0xf6f6be(0x20f)](){const _0x50015e=_0xf6f6be,{locale:_0x88993b,ui:{ariaLiveAnnouncer:_0x5809e6}}=this[_0x50015e(0x25a)];this[_0x50015e(0x222)][_0x50015e(0x1c5)]['on'](_0x50015e(0x206),(_0x32a892,_0x3e00e7,_0xaed0c0)=>{const _0x48c1b2=_0x50015e,_0x2a5b95=this[_0x48c1b2(0x1f3)][_0x48c1b2(0x25f)];_0xaed0c0?_0x5809e6[_0x48c1b2(0x207)](_0x3f0d29(_0x88993b,_0x48c1b2(0x229))):_0x2a5b95&&_0x5809e6[_0x48c1b2(0x207)](_0x3f0d29(_0x88993b,_0x48c1b2(0x1e3),_0x2a5b95),{'politeness':_0x48c1b2(0x220),'isUnsafeHTML':!0x0});}),this[_0x50015e(0x222)]['on'](_0x50015e(0x267),(_0x1b8b9e,_0x598c02,_0x218254)=>{const _0x5491dd=_0x50015e;if(_0x218254){const _0x974431=this[_0x5491dd(0x222)][_0x5491dd(0x230)][_0x5491dd(0x24d)];_0x5809e6[_0x5491dd(0x207)](_0x3f0d29(_0x88993b,_0x5491dd(0x265),_0x974431));}});}[_0xf6f6be(0x1e6)](_0x10df91){const _0x48b0e1=_0xf6f6be,_0x4f6e86=this[_0x48b0e1(0x24a)][_0x48b0e1(0x215)](_0x10df91),_0x1d9936=this[_0x48b0e1(0x25a)],_0x15b8a4=_0x1d9936[_0x48b0e1(0x238)][_0x48b0e1(0x1d5)][_0x48b0e1(0x1eb)],_0x55255e=_0x1d9936[_0x48b0e1(0x1f9)][_0x48b0e1(0x215)](_0x48b0e1(0x232)),_0x3ef804=_0x1d9936[_0x48b0e1(0x1c4)][_0x48b0e1(0x215)](_0xd5b8c0),_0x314d55=''+(_0x4f6e86[_0x48b0e1(0x1dd)]!==_0x53965a?_0x4f6e86[_0x48b0e1(0x1e1)]+':\x20':'')+_0x4f6e86[_0x48b0e1(0x1ea)];if(!0x1!==_0x4f6e86[_0x48b0e1(0x259)]&&_0x15b8a4[_0x48b0e1(0x237)]){const _0x5529f9=_0x539f4c(_0x15b8a4[_0x48b0e1(0x249)]())||_0x1d9936[_0x48b0e1(0x238)][_0x48b0e1(0x261)][_0x48b0e1(0x1ed)](_0x15b8a4);_0x1d9936[_0x48b0e1(0x238)][_0x48b0e1(0x216)](_0x23f7d8=>{const _0x3bdd37=_0x48b0e1;_0x23f7d8[_0x3bdd37(0x1f1)](_0x5529f9,'in');});}_0x3ef804[_0x48b0e1(0x200)](),_0x55255e[_0x48b0e1(0x266)](_0x4f6e86[_0x48b0e1(0x1c2)],_0x314d55,_0x48b0e1(0x1da)+_0x10df91);}[_0xf6f6be(0x1d6)](_0x2adb24,_0xc5c081,_0x12ab39,_0xe8cd13){const _0xe1bc41=_0xf6f6be,_0x583f59=this[_0xe1bc41(0x25a)],_0xb394a0=_0x583f59[_0xe1bc41(0x209)],_0x16001d=new _0x201dfc(_0xb394a0),_0x5b47be=B(_0x583f59,_0x12ab39)[_0xe1bc41(0x24e)](_0x584b44=>_0x584b44[_0xe1bc41(0x1f9)][_0xe1bc41(0x205)]);0x1===_0x5b47be[_0xe1bc41(0x205)]?this[_0xe1bc41(0x1fe)]({'command':_0x2adb24,'commands':_0x5b47be[0x0][_0xe1bc41(0x1f9)],'parentMenuView':_0xc5c081,'onExecute':_0xe8cd13})[_0xe1bc41(0x202)](_0x29b671=>_0x16001d[_0xe1bc41(0x1e5)][_0xe1bc41(0x22b)](_0x29b671)):_0x5b47be[_0xe1bc41(0x202)](({groupId:_0x4f1fa6,groupLabel:_0x3d86e3,commands:_0x4bbe1a})=>{const _0x531351=_0xe1bc41,_0x1f2611=new _0x5e081e(_0xb394a0,_0xc5c081),_0x5ad7ad=new _0x2c71b8(_0xb394a0),_0x383f17=new _0x201dfc(_0xb394a0),_0x4a447d=this[_0x531351(0x1fe)]({'command':_0x2adb24,'commands':_0x4bbe1a,'parentMenuView':_0x5ad7ad,'onExecute':_0xe8cd13});_0x5ad7ad[_0x531351(0x20a)][_0x531351(0x1c6)]({'label':_0x3d86e3||_0x4f1fa6}),_0x5ad7ad[_0x531351(0x264)](_0x531351(0x266))['to'](_0xc5c081),_0x383f17[_0x531351(0x1e5)][_0x531351(0x1ff)](_0x4a447d),_0x5ad7ad[_0x531351(0x234)][_0x531351(0x223)][_0x531351(0x22b)](_0x383f17),_0x1f2611[_0x531351(0x223)][_0x531351(0x22b)](_0x5ad7ad),_0x16001d[_0x531351(0x1e5)][_0x531351(0x22b)](_0x1f2611);}),_0xc5c081[_0xe1bc41(0x234)][_0xe1bc41(0x223)][_0xe1bc41(0x22b)](_0x16001d);}[_0xf6f6be(0x1fe)]({command:_0x1527db,commands:_0x1cece1,parentMenuView:_0x3c7c26,onExecute:_0x4701ce}){const _0x1af5e5=_0xf6f6be,_0x2713dd=this[_0x1af5e5(0x25a)],_0x562fc4=_0x2713dd[_0x1af5e5(0x209)];return B(_0x2713dd,_0x1cece1)[_0x1af5e5(0x240)](_0x43ece0=>{const _0x461155=_0x1af5e5,_0x5cb8f4=new _0x5e081e(_0x562fc4,_0x3c7c26),_0x24c65e=new _0x285822(_0x562fc4);return _0x24c65e[_0x461155(0x1c6)]({'label':_0x43ece0[_0x461155(0x1ea)]}),_0x24c65e[_0x461155(0x264)](_0x461155(0x266))['to'](_0x3c7c26),_0x24c65e['on'](_0x461155(0x266),()=>_0x4701ce(_0x43ece0['id'])),_0x24c65e[_0x461155(0x213)](_0x461155(0x22a))['to'](_0x1527db,_0x461155(0x1dc),_0x589e0f=>_0x589e0f[_0x461155(0x210)](_0x43ece0['id'])),_0x5cb8f4[_0x461155(0x223)][_0x461155(0x22b)](_0x24c65e),_0x5cb8f4;});}}function U(_0x66cbad,_0x4e7825){const _0xdf45bc=_0xf6f6be;return void 0x0!==_0x66cbad[_0xdf45bc(0x1c9)]&&void 0x0===_0x4e7825[_0xdf45bc(0x1c9)]?0x1:void 0x0===_0x66cbad[_0xdf45bc(0x1c9)]&&void 0x0!==_0x4e7825[_0xdf45bc(0x1c9)]?-0x1:void 0x0!==_0x66cbad[_0xdf45bc(0x1c9)]&&void 0x0!==_0x4e7825[_0xdf45bc(0x1c9)]?_0x66cbad[_0xdf45bc(0x1c9)]-_0x4e7825[_0xdf45bc(0x1c9)]:0x0;}function B(_0x4558c6,_0x29de7b){const _0x2363d3=_0xf6f6be;_0x29de7b[_0x2363d3(0x219)](U);const _0x58a8b5={},_0x392a6d=[];for(const _0x57e0bb of _0x29de7b)if(void 0x0!==_0x57e0bb[_0x2363d3(0x1c9)]){if(_0x57e0bb[_0x2363d3(0x1c9)]in _0x58a8b5)throw new _0x2437be(_0x2363d3(0x250),_0x4558c6,{'conflictingDefinitions':[_0x57e0bb,_0x58a8b5[_0x57e0bb[_0x2363d3(0x1c9)]]]});_0x58a8b5[_0x57e0bb[_0x2363d3(0x1c9)]]=_0x57e0bb,_0x392a6d[_0x2363d3(0x1d9)](_0x57e0bb[_0x2363d3(0x1c9)],0x0,_0x57e0bb);}else _0x392a6d[_0x2363d3(0x23b)](_0x57e0bb);return _0x392a6d;}
|
|
23
|
+
const _0x5e15f8=_0x4bb3;(function(_0x5742e7,_0x108a73){const _0x4e8f95=_0x4bb3,_0x11f479=_0x5742e7();while(!![]){try{const _0x187104=parseInt(_0x4e8f95(0x126))/0x1+-parseInt(_0x4e8f95(0xcb))/0x2*(-parseInt(_0x4e8f95(0xdd))/0x3)+parseInt(_0x4e8f95(0xa7))/0x4*(-parseInt(_0x4e8f95(0xbf))/0x5)+-parseInt(_0x4e8f95(0xce))/0x6*(parseInt(_0x4e8f95(0xf5))/0x7)+parseInt(_0x4e8f95(0x115))/0x8+parseInt(_0x4e8f95(0x10d))/0x9*(parseInt(_0x4e8f95(0x9a))/0xa)+-parseInt(_0x4e8f95(0xa3))/0xb;if(_0x187104===_0x108a73)break;else _0x11f479['push'](_0x11f479['shift']());}catch(_0x431fe9){_0x11f479['push'](_0x11f479['shift']());}}}(_0x1cec,0xaef09));import{Plugin as _0x332a97}from'ckeditor5/src/core.js';import{IconMagicWand as _0x589612,IconRobotPencil as _0x3b24b0}from'ckeditor5/src/icons.js';import{first as _0x2da4b0,CKEditorError as _0x487582}from'ckeditor5/src/utils.js';import{createDropdown as _0x241973,addMenuToDropdown as _0x444ff8,ButtonView as _0x56603d,MenuBarMenuListItemButtonView as _0x3df59e,Dialog as _0x18e1b8,DialogViewPosition as _0x2d7bef,MenuBarMenuView as _0x5afbc0,MenuBarMenuListView as _0xf1a181,MenuBarMenuListItemView as _0xb7f7da}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x34ffe4,UNGROUPED_COMMANDS_GROUP_ID as _0x2cc927}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x490b23}from'./aiassistantediting.js';import{AIAdapter as _0x18cfc4}from'./adapters/aiadapter.js';import{getTranslation as _0x1e7e66}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0x37c92b}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0x22382f}from'./ui/aiassistantcontroller.js';import{AIFormView as _0x26cf78}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x4f7569}from'./ui/form/aiformtoolbarview.js';function _0x1cec(){const _0x75f929=['domainLimit','contentArea','getRanges','_getResolvedCommandsDefinitions','7zqIqjG','announce','set','panelView','source','delegate','hideUI','isOfficialPlugin','show','focus','locale','aiLicenseKeyDomainLimit','destroy','change','isEnabled','licenseKey','replace','buttonView','AIAssistant','showFakeVisualSelection','pluginName','showUI','ck-ai-commands-dropdown\x20','menuPanelClass','9DgNZrE','_initView','buttons','hideFakeVisualSelection','length','getData','document','setSelection','2901504VuPDXp','invalid','aiLicenseKeyExpired','<p>','_licenseKeyCheckInterval','map','change:isProcessing','tableOfContents','replaceContent','view','editor','custom','updatePosition','_aiAdapter','getSelectedBlocks','wasMoved','trim','913004HEpNHT','aiLicenseKeyValid','body','fieldView','media','REPLACE','selection','define','listenTo','commands','rawHtml','once','promptView','addMany','ai.assistant.commands','filter','currentContext','insertContentBelow','isFlat','ck-ai-assistant-button\x20','ai.assistant.disabledElements','aiCommands','isCollapsed','expired','aiLicenseKeyInvalid','fire','</p>','AI\x20is\x20writing','errorView','requiresContent','insertContent','aiLicenseKeyNotAllowed','_getMenuBarGroupButtons','groupLabel','change:value','5866690rOsamc','getLimitElement','order','items','update','INSERT','textAdapter','_forceMarkersCopy','add','2229799RAuuyw','menuBar:aiCommands','updateView','Generated\x20content:\x20%0','4fHlfnG','featureNotAllowed','plugins','requires','includes','menuitemcheckbox','isPremiumPlugin','copy','DataTransfer','text','ai-commands-config-order-collision','Error\x20during\x20AI\x20content\x20generation:\x20%0','AI\x20Commands','usageLimit','render','aiLicenseKeyUsageLimit','evaluationLimit','_createAIAssistantUIButton','AIAssistantUI','EDITOR_TOP_SIDE','_dialog','get','isOn','command:','4460075CrkcMW','queryView','_populateMenuBarMenu','sort','splice','reset','hide','push','_formView','values','_aiAssistantController','aiAssistant','26566ZmjdyE','componentFactory','_uiCssClasses','8037210ledWpv','config','ai.assistant.contentAreaCssClass','groupId','init','execute','AI\x20Assistant','getSelectedElement','change:enabledCommandsIds','model','enabledCommandsIds','ai.assistant.useTheme','bind','showAIAssistant','_showLicenseError','291qUvPyG','_initAriaAiStatusChangeAnnouncements','menuView','polite','menuBar:aiAssistant','aiLicenseKeyEvaluationLimit','from','_onExecute','\x20ck-ai-assistant-ui_theme','label','forEach','change:isError','prompt','ck-ai-assistant-ui','editing','schema','text/html','children','_commandDefinitions','comment'];_0x1cec=function(){return _0x75f929;};return _0x1cec();}import'../../theme/aiassistant/ai.css';import'../../theme/aiassistant/ai-dropdown.css';import'../../theme/aiassistant/ai-form.css';const st=globalThis[_0x5e15f8(0xaf)];import{ClipboardMarkersUtils as _0x3563ed}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x40efda,ViewDataTransfer as _0x1c2194}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0x332a97{[_0x5e15f8(0x104)];[_0x5e15f8(0x119)];[_0x5e15f8(0xbb)];[_0x5e15f8(0xc7)];[_0x5e15f8(0x122)];[_0x5e15f8(0xc9)];[_0x5e15f8(0xcd)]='';static get[_0x5e15f8(0x109)](){const _0x5ceaa9=_0x5e15f8;return _0x5ceaa9(0xb9);}static get[_0x5e15f8(0xfc)](){return!0x0;}static get[_0x5e15f8(0xad)](){return!0x0;}static get[_0x5e15f8(0xaa)](){return[_0x3563ed,_0x490b23,_0x18cfc4,_0x18e1b8];}constructor(_0xca62ae){const _0x387b4e=_0x5e15f8;super(_0xca62ae),_0xca62ae[_0x387b4e(0xcf)][_0x387b4e(0x12d)](_0x387b4e(0x8b),[_0x387b4e(0x12a),_0x387b4e(0x81),_0x387b4e(0x11c)]),_0xca62ae[_0x387b4e(0xcf)][_0x387b4e(0x12d)](_0x387b4e(0xd0),''),_0xca62ae[_0x387b4e(0xcf)][_0x387b4e(0x12d)](_0x387b4e(0xd9),!0x0),this[_0x387b4e(0xcd)]=_0x387b4e(0xea)+(_0xca62ae[_0x387b4e(0xcf)][_0x387b4e(0xbc)](_0x387b4e(0xd9))?_0x387b4e(0xe5):'');}[_0x5e15f8(0xd2)](){const _0x8a8dbf=_0x5e15f8,{editor:_0x35f01a}=this;this[_0x8a8dbf(0x122)]=_0x35f01a[_0x8a8dbf(0xa9)][_0x8a8dbf(0xbc)](_0x18cfc4),this[_0x8a8dbf(0xbb)]=_0x35f01a[_0x8a8dbf(0xa9)][_0x8a8dbf(0xbc)](_0x18e1b8),this[_0x8a8dbf(0xc7)]=null,this[_0x8a8dbf(0xef)]=this[_0x8a8dbf(0xf4)]();const _0x4aa7f1=new _0x37c92b(_0x35f01a,Array[_0x8a8dbf(0xe3)](this[_0x8a8dbf(0xef)][_0x8a8dbf(0xc8)]()));_0x35f01a[_0x8a8dbf(0x80)][_0x8a8dbf(0xa2)](_0x8a8dbf(0xdb),_0x4aa7f1),_0x35f01a['ui'][_0x8a8dbf(0xcc)][_0x8a8dbf(0xa2)](_0x8a8dbf(0x8c),_0x316d84=>{const _0x36dbab=_0x8a8dbf,_0x5b801a=_0x241973(_0x316d84);return _0x5b801a[_0x36dbab(0xf7)]({'class':_0x36dbab(0x10b)+this[_0x36dbab(0xcd)]}),_0x5b801a[_0x36dbab(0x106)][_0x36dbab(0xf7)]({'label':_0x1e7e66(_0x316d84,_0x36dbab(0xb3)),'icon':_0x589612,'tooltip':!0x0}),_0x5b801a['on'](_0x36dbab(0xd3),_0x26ac04=>this[_0x36dbab(0xe4)](_0x26ac04[_0x36dbab(0xf9)]['id'])),_0x444ff8(_0x5b801a,_0x35f01a['ui'][_0x36dbab(0x11e)][_0x36dbab(0x128)],function(_0x33493e){const _0x58c172=_0x36dbab,_0x56c734=_0x34ffe4(_0x33493e[_0x58c172(0xcf)][_0x58c172(0xbc)](_0x58c172(0x85)),_0x33493e[_0x58c172(0xff)]),_0x8ae6a9=gi(_0x33493e,_0x56c734)[_0x58c172(0x86)](_0x2b25f8=>_0x2b25f8[_0x58c172(0x80)][_0x58c172(0x111)]);if(0x1===_0x8ae6a9[_0x58c172(0x111)])return gi(_0x33493e,_0x8ae6a9[0x0][_0x58c172(0x80)])[_0x58c172(0x11a)](_0x17958e=>({'id':_0x17958e['id'],'label':_0x17958e[_0x58c172(0xe6)]}));return _0x8ae6a9[_0x58c172(0x11a)](_0x1774dd=>{const _0x47ee3c=_0x58c172,{groupId:_0x3438ac,groupLabel:_0x1f348a,commands:_0x4e6671}=_0x1774dd,_0x3e35e8=gi(_0x33493e,_0x4e6671)[_0x47ee3c(0x11a)](_0x532daf=>({'id':_0x532daf['id'],'label':_0x532daf[_0x47ee3c(0xe6)]}));return{'id':_0x3438ac,'menu':_0x1f348a||_0x3438ac,'children':_0x3e35e8};});}(_0x35f01a),{'ariaLabel':_0x1e7e66(_0x316d84,_0x36dbab(0xb3))}),_0x5b801a[_0x36dbab(0xdf)][_0x36dbab(0x10c)]=_0x36dbab(0x10b)+this[_0x36dbab(0xcd)],_0x4aa7f1['on'](_0x36dbab(0xd6),_0x4f1e3f),_0x5b801a[_0x36dbab(0xdf)][_0x36dbab(0x82)](_0x36dbab(0xb5),_0x4f1e3f),_0x5b801a;function _0x4f1e3f(){const _0x534fca=_0x36dbab;_0x5b801a[_0x534fca(0x103)]=_0x4aa7f1[_0x534fca(0xd8)][_0x534fca(0x111)]>0x0;for(const _0x24b941 of _0x5b801a[_0x534fca(0xdf)][_0x534fca(0x10f)])_0x24b941[_0x534fca(0x103)]=_0x4aa7f1[_0x534fca(0xd8)][_0x534fca(0xab)](_0x24b941['id']);}}),_0x35f01a['ui'][_0x8a8dbf(0xcc)][_0x8a8dbf(0xa2)](_0x8a8dbf(0xa4),_0x8de340=>{const _0x2b2098=_0x8a8dbf,_0x202341=new _0x5afbc0(_0x8de340);_0x202341[_0x2b2098(0x106)][_0x2b2098(0xf7)]({'label':_0x1e7e66(_0x8de340,_0x2b2098(0xb3)),'icon':_0x589612}),_0x202341[_0x2b2098(0xda)](_0x2b2098(0x103))['to'](_0x4aa7f1,_0x2b2098(0xd8),_0xca0ac3=>_0xca0ac3[_0x2b2098(0x111)]>0x0);const _0x1ae045=_0x34ffe4(_0x35f01a[_0x2b2098(0xcf)][_0x2b2098(0xbc)](_0x2b2098(0x85)),_0x8de340);return this[_0x2b2098(0xc1)](_0x4aa7f1,_0x202341,_0x1ae045,_0x23e828=>this[_0x2b2098(0xe4)](_0x23e828)),_0x202341;}),_0x35f01a['ui'][_0x8a8dbf(0xcc)][_0x8a8dbf(0xa2)](_0x8a8dbf(0xca),()=>{const _0x18b288=_0x8a8dbf,_0xbe89e7=this[_0x18b288(0xb8)](_0x56603d);return _0xbe89e7[_0x18b288(0xf7)]({'tooltip':!0x0,'class':_0x18b288(0x8a)+this[_0x18b288(0xcd)]}),_0xbe89e7;}),_0x35f01a['ui'][_0x8a8dbf(0xcc)][_0x8a8dbf(0xa2)](_0x8a8dbf(0xe1),()=>{const _0x262749=_0x8a8dbf,_0x2868ec=this[_0x262749(0xb8)](_0x3df59e);return _0x2868ec[_0x262749(0xf7)]({'role':_0x262749(0xac)}),_0x2868ec;}),this[_0x8a8dbf(0x104)]=this[_0x8a8dbf(0x11f)][_0x8a8dbf(0xcf)][_0x8a8dbf(0xbc)](_0x8a8dbf(0x104));const _0x58c6a7=this[_0x8a8dbf(0x11f)];this[_0x8a8dbf(0x119)]=setInterval(()=>{const _0xe6a479=_0x8a8dbf;let _0xb9c55b;for(const _0x195f9f in _0x58c6a7){const _0x1338da=_0x195f9f,_0x2d8783=_0x58c6a7[_0x1338da];if(_0xe6a479(0x127)==_0x2d8783||_0xe6a479(0x8f)==_0x2d8783||_0xe6a479(0x117)==_0x2d8783||_0xe6a479(0x100)==_0x2d8783||_0xe6a479(0x96)==_0x2d8783||_0xe6a479(0xe2)==_0x2d8783||_0xe6a479(0xb6)==_0x2d8783){delete _0x58c6a7[_0x1338da],_0xb9c55b=_0x2d8783,clearInterval(this[_0xe6a479(0x119)]),this[_0xe6a479(0x119)]=void 0x0;break;}}_0xe6a479(0x8f)==_0xb9c55b&&_0x58c6a7[_0xe6a479(0xdc)](_0xe6a479(0x116)),_0xe6a479(0x117)==_0xb9c55b&&_0x58c6a7[_0xe6a479(0xdc)](_0xe6a479(0x8e)),_0xe6a479(0x100)==_0xb9c55b&&_0x58c6a7[_0xe6a479(0xdc)](_0xe6a479(0xf1)),_0xe6a479(0x96)==_0xb9c55b&&_0x58c6a7[_0xe6a479(0xdc)](_0xe6a479(0xa8),_0xe6a479(0x107)),_0xe6a479(0xe2)==_0xb9c55b&&_0x58c6a7[_0xe6a479(0xdc)](_0xe6a479(0xb7)),_0xe6a479(0xb6)==_0xb9c55b&&_0x58c6a7[_0xe6a479(0xdc)](_0xe6a479(0xb4));},0x3e8);}[_0x5e15f8(0x101)](){const _0x4d3569=_0x5e15f8;super[_0x4d3569(0x101)](),this[_0x4d3569(0x119)]&&clearInterval(this[_0x4d3569(0x119)]);}[_0x5e15f8(0x10a)](_0x5de8f5='',_0x5186c3='',_0x9bdfae=_0x5e15f8(0x120)){const _0x4c6a23=_0x5e15f8,_0x2003e2=this[_0x4c6a23(0x11f)],_0x464a39=_0x2003e2[_0x4c6a23(0xeb)][_0x4c6a23(0x11e)],_0x137231=_0x2003e2[_0x4c6a23(0xa9)][_0x4c6a23(0xbc)](_0x490b23),_0x2fe5f3=_0x2003e2[_0x4c6a23(0xa9)][_0x4c6a23(0xbc)](_0x3563ed);_0x137231[_0x4c6a23(0x108)]();const _0x204363=new st(),_0x56396d=new ClipboardEvent(_0x4c6a23(0xae),{'clipboardData':_0x204363}),_0x4acf86=new _0x1c2194(_0x204363),_0x14d120=new _0x40efda(_0x464a39,_0x56396d,{'dataTransfer':_0x4acf86});_0x2fe5f3[_0x4c6a23(0xa1)](_0x4c6a23(0xf0),()=>{const _0x72f836=_0x4c6a23;_0x464a39[_0x72f836(0x113)][_0x72f836(0x90)](_0x72f836(0xae),_0x14d120);}),this[_0x4c6a23(0xc7)]||(this[_0x4c6a23(0x10e)](),this[_0x4c6a23(0xc9)]=new _0x22382f(_0x2003e2,this[_0x4c6a23(0x122)][_0x4c6a23(0xa0)],this[_0x4c6a23(0xc7)]));let _0x1a71aa=_0x4acf86[_0x4c6a23(0x112)](_0x4c6a23(0xed));const _0x5770de=_0x2003e2[_0x4c6a23(0xd7)][_0x4c6a23(0x113)][_0x4c6a23(0x12c)],_0x143ed6=Array[_0x4c6a23(0xe3)](_0x5770de[_0x4c6a23(0xf3)]());0x1===_0x143ed6[_0x4c6a23(0x111)]&&_0x143ed6[0x0][_0x4c6a23(0x89)]&&!_0x5770de[_0x4c6a23(0xd5)]()&&''!==_0x1a71aa[_0x4c6a23(0x105)](/ /g,'')[_0x4c6a23(0x125)]()&&(_0x1a71aa=_0x4c6a23(0x118)+_0x1a71aa+_0x4c6a23(0x91)),this[_0x4c6a23(0xc9)][_0x4c6a23(0xa5)]({'actionId':_0x9bdfae,'query':_0x5de8f5,'htmlContent':_0x1a71aa,'label':_0x5186c3,'mainActionLabel':_0x4f7569[_0x2003e2[_0x4c6a23(0xd7)][_0x4c6a23(0x113)][_0x4c6a23(0x12c)][_0x4c6a23(0x8d)]?_0x4c6a23(0x9f):_0x4c6a23(0x12b)]}),_0x4c6a23(0xca)!==this[_0x4c6a23(0xbb)]['id']?this[_0x4c6a23(0xbb)][_0x4c6a23(0xfd)]({'id':_0x4c6a23(0xca),'icon':_0x3b24b0,'title':_0x1e7e66(this[_0x4c6a23(0x11f)][_0x4c6a23(0xff)],_0x4c6a23(0xd4)),'content':this[_0x4c6a23(0xc7)],'position':_0x2d7bef[_0x4c6a23(0xba)],'onShow':()=>{const _0x11de77=_0x4c6a23;this[_0x11de77(0xc7)][_0x11de77(0xfe)]();},'onHide':()=>{const _0x54ba5e=_0x4c6a23;this[_0x54ba5e(0xc9)][_0x54ba5e(0xc4)](),_0x137231[_0x54ba5e(0x110)]();}}):this[_0x4c6a23(0xbb)][_0x4c6a23(0x11e)][_0x4c6a23(0x124)]||this[_0x4c6a23(0xbb)][_0x4c6a23(0x11e)][_0x4c6a23(0x121)]();}[_0x5e15f8(0xfb)](){const _0x337cc7=_0x5e15f8;this[_0x337cc7(0xbb)][_0x337cc7(0xc5)]();}[_0x5e15f8(0xf4)](){const _0x145216=_0x5e15f8,_0x14a9f3=new Map(),_0x448293=_0x34ffe4(this[_0x145216(0x11f)][_0x145216(0xcf)][_0x145216(0xbc)](_0x145216(0x85)),this[_0x145216(0x11f)][_0x145216(0xff)]);for(const _0x231a1e of _0x448293)for(const _0x9e2ba9 of _0x231a1e[_0x145216(0x80)])_0x14a9f3[_0x145216(0xf7)](_0x9e2ba9['id'],{..._0x9e2ba9,'groupId':_0x231a1e[_0x145216(0xd1)],'groupLabel':_0x231a1e[_0x145216(0x98)]||_0x231a1e[_0x145216(0xd1)]});return _0x14a9f3;}[_0x5e15f8(0xb8)](_0x18f691){const _0x132c69=_0x5e15f8,_0x332740=this[_0x132c69(0x11f)],_0x197034=_0x332740[_0x132c69(0x80)][_0x132c69(0xbc)](_0x132c69(0xdb)),_0x42ec35=new _0x18f691(_0x332740[_0x132c69(0xff)]);return _0x42ec35[_0x132c69(0xf7)]({'label':_0x1e7e66(_0x332740[_0x132c69(0xff)],_0x132c69(0xd4)),'icon':_0x3b24b0,'isToggleable':!0x0}),_0x42ec35[_0x132c69(0xda)](_0x132c69(0x103))['to'](_0x197034),_0x42ec35[_0x132c69(0xda)](_0x132c69(0xbd))['to'](this[_0x132c69(0xbb)],'id',_0x19a9c7=>_0x132c69(0xca)===_0x19a9c7),this[_0x132c69(0x12e)](_0x42ec35,_0x132c69(0xd3),()=>{const _0x23edbe=_0x132c69;_0x42ec35[_0x23edbe(0xbd)]?this[_0x23edbe(0xfb)]():_0x197034[_0x23edbe(0xd3)]();}),_0x42ec35;}[_0x5e15f8(0x10e)](){const _0x3ad2ee=_0x5e15f8,_0x35c2b1=this[_0x3ad2ee(0x11f)][_0x3ad2ee(0xa9)][_0x3ad2ee(0xbc)](_0x490b23);this[_0x3ad2ee(0xc7)]=new _0x26cf78(this[_0x3ad2ee(0x11f)][_0x3ad2ee(0xff)],this[_0x3ad2ee(0xcd)],this[_0x3ad2ee(0x11f)][_0x3ad2ee(0xcf)][_0x3ad2ee(0xbc)](_0x3ad2ee(0xd0))),this[_0x3ad2ee(0xc7)]['on'](_0x3ad2ee(0x99),()=>{const _0x5e0739=_0x3ad2ee;this[_0x5e0739(0xbb)][_0x5e0739(0x11e)][_0x5e0739(0x124)]||this[_0x5e0739(0xbb)][_0x5e0739(0x11e)][_0x5e0739(0x121)]();}),this[_0x3ad2ee(0xc7)][_0x3ad2ee(0x83)][_0x3ad2ee(0xc0)][_0x3ad2ee(0x129)]['on'](_0x3ad2ee(0x9e),()=>{const _0x842a20=_0x3ad2ee;this[_0x842a20(0xbb)][_0x842a20(0x11e)][_0x842a20(0x124)]||this[_0x842a20(0xbb)][_0x842a20(0x11e)][_0x842a20(0x121)]();}),this[_0x3ad2ee(0x12e)](this[_0x3ad2ee(0xc7)],_0x3ad2ee(0x11d),()=>{const _0x150fe5=_0x3ad2ee;_0x35c2b1[_0x150fe5(0x95)](this[_0x150fe5(0xc9)][_0x150fe5(0x87)]),this[_0x150fe5(0xfb)]();}),this[_0x3ad2ee(0x12e)](this[_0x3ad2ee(0xc7)],_0x3ad2ee(0x88),()=>{const _0x58f45=_0x3ad2ee;_0x35c2b1[_0x58f45(0x88)](this[_0x58f45(0xc9)][_0x58f45(0x87)]),this[_0x58f45(0xfb)]();}),this[_0x3ad2ee(0xde)]();}[_0x5e15f8(0xde)](){const _0x4212c3=_0x5e15f8,{locale:_0x15d6fd,ui:{ariaLiveAnnouncer:_0x2656c3}}=this[_0x4212c3(0x11f)];this[_0x4212c3(0xc7)][_0x4212c3(0xf2)]['on'](_0x4212c3(0x11b),(_0x18f486,_0x4dfa63,_0x57d140)=>{const _0x5285e7=_0x4212c3,_0x23e30c=this[_0x5285e7(0xc9)][_0x5285e7(0x87)];_0x57d140?_0x2656c3[_0x5285e7(0xf6)](_0x1e7e66(_0x15d6fd,_0x5285e7(0x92))):_0x23e30c&&_0x2656c3[_0x5285e7(0xf6)](_0x1e7e66(_0x15d6fd,_0x5285e7(0xa6),_0x23e30c),{'politeness':_0x5285e7(0xe0),'isUnsafeHTML':!0x0});}),this[_0x4212c3(0xc7)]['on'](_0x4212c3(0xe8),(_0x2f285f,_0x4d6b6e,_0x546715)=>{const _0x18d621=_0x4212c3;if(_0x546715){const _0x2f7425=this[_0x18d621(0xc7)][_0x18d621(0x93)][_0x18d621(0xb0)];_0x2656c3[_0x18d621(0xf6)](_0x1e7e66(_0x15d6fd,_0x18d621(0xb2),_0x2f7425));}});}[_0x5e15f8(0xe4)](_0x5f5871){const _0x2d2366=_0x5e15f8,_0x354a11=this[_0x2d2366(0xef)][_0x2d2366(0xbc)](_0x5f5871),_0x26e2f2=this[_0x2d2366(0x11f)],_0x12f011=_0x26e2f2[_0x2d2366(0xd7)][_0x2d2366(0x113)][_0x2d2366(0x12c)],_0x17961d=_0x26e2f2[_0x2d2366(0x80)][_0x2d2366(0xbc)](_0x2d2366(0xdb)),_0x3a98e5=_0x26e2f2[_0x2d2366(0xa9)][_0x2d2366(0xbc)](_0x490b23),_0x2acf6b=''+(_0x354a11[_0x2d2366(0xd1)]!==_0x2cc927?_0x354a11[_0x2d2366(0x98)]+':\x20':'')+_0x354a11[_0x2d2366(0xe6)];if(!0x1!==_0x354a11[_0x2d2366(0x94)]&&_0x12f011[_0x2d2366(0x8d)]){const _0x1853b2=_0x2da4b0(_0x12f011[_0x2d2366(0x123)]())||_0x26e2f2[_0x2d2366(0xd7)][_0x2d2366(0xec)][_0x2d2366(0x9b)](_0x12f011);_0x26e2f2[_0x2d2366(0xd7)][_0x2d2366(0x102)](_0x30e652=>{const _0xfb6707=_0x2d2366;_0x30e652[_0xfb6707(0x114)](_0x1853b2,'in');});}_0x3a98e5[_0x2d2366(0x108)](),_0x17961d[_0x2d2366(0xd3)](_0x354a11[_0x2d2366(0xe9)],_0x2acf6b,_0x2d2366(0xbe)+_0x5f5871);}[_0x5e15f8(0xc1)](_0x35152a,_0x37521f,_0x3d2b57,_0x2398e9){const _0x585768=_0x5e15f8,_0x4fbc04=this[_0x585768(0x11f)],_0x95f951=_0x4fbc04[_0x585768(0xff)],_0x8858d5=new _0xf1a181(_0x95f951),_0x10b51b=gi(_0x4fbc04,_0x3d2b57)[_0x585768(0x86)](_0x41b558=>_0x41b558[_0x585768(0x80)][_0x585768(0x111)]);0x1===_0x10b51b[_0x585768(0x111)]?this[_0x585768(0x97)]({'command':_0x35152a,'commands':_0x10b51b[0x0][_0x585768(0x80)],'parentMenuView':_0x37521f,'onExecute':_0x2398e9})[_0x585768(0xe7)](_0x57f6b2=>_0x8858d5[_0x585768(0x9d)][_0x585768(0xa2)](_0x57f6b2)):_0x10b51b[_0x585768(0xe7)](({groupId:_0x25787d,groupLabel:_0x14e610,commands:_0x4ef1cc})=>{const _0x8a2b80=_0x585768,_0x24bf6c=new _0xb7f7da(_0x95f951,_0x37521f),_0x5941f6=new _0x5afbc0(_0x95f951),_0x7fbfa6=new _0xf1a181(_0x95f951),_0x2b829e=this[_0x8a2b80(0x97)]({'command':_0x35152a,'commands':_0x4ef1cc,'parentMenuView':_0x5941f6,'onExecute':_0x2398e9});_0x5941f6[_0x8a2b80(0x106)][_0x8a2b80(0xf7)]({'label':_0x14e610||_0x25787d}),_0x5941f6[_0x8a2b80(0xfa)](_0x8a2b80(0xd3))['to'](_0x37521f),_0x7fbfa6[_0x8a2b80(0x9d)][_0x8a2b80(0x84)](_0x2b829e),_0x5941f6[_0x8a2b80(0xf8)][_0x8a2b80(0xee)][_0x8a2b80(0xa2)](_0x7fbfa6),_0x24bf6c[_0x8a2b80(0xee)][_0x8a2b80(0xa2)](_0x5941f6),_0x8858d5[_0x8a2b80(0x9d)][_0x8a2b80(0xa2)](_0x24bf6c);}),_0x37521f[_0x585768(0xf8)][_0x585768(0xee)][_0x585768(0xa2)](_0x8858d5);}[_0x5e15f8(0x97)]({command:_0x3fdba3,commands:_0x4fc603,parentMenuView:_0x53365c,onExecute:_0x43683c}){const _0x14f4c6=_0x5e15f8,_0x2b49e2=this[_0x14f4c6(0x11f)],_0x14c675=_0x2b49e2[_0x14f4c6(0xff)];return gi(_0x2b49e2,_0x4fc603)[_0x14f4c6(0x11a)](_0x49a5cf=>{const _0x7032e9=_0x14f4c6,_0x59a4d6=new _0xb7f7da(_0x14c675,_0x53365c),_0x3db4df=new _0x3df59e(_0x14c675);return _0x3db4df[_0x7032e9(0xf7)]({'label':_0x49a5cf[_0x7032e9(0xe6)]}),_0x3db4df[_0x7032e9(0xfa)](_0x7032e9(0xd3))['to'](_0x53365c),_0x3db4df['on'](_0x7032e9(0xd3),()=>_0x43683c(_0x49a5cf['id'])),_0x3db4df[_0x7032e9(0xda)](_0x7032e9(0x103))['to'](_0x3fdba3,_0x7032e9(0xd8),_0x456020=>_0x456020[_0x7032e9(0xab)](_0x49a5cf['id'])),_0x59a4d6[_0x7032e9(0xee)][_0x7032e9(0xa2)](_0x3db4df),_0x59a4d6;});}}function wi(_0x102428,_0x1fcc82){const _0x5ee62e=_0x5e15f8;return void 0x0!==_0x102428[_0x5ee62e(0x9c)]&&void 0x0===_0x1fcc82[_0x5ee62e(0x9c)]?0x1:void 0x0===_0x102428[_0x5ee62e(0x9c)]&&void 0x0!==_0x1fcc82[_0x5ee62e(0x9c)]?-0x1:void 0x0!==_0x102428[_0x5ee62e(0x9c)]&&void 0x0!==_0x1fcc82[_0x5ee62e(0x9c)]?_0x102428[_0x5ee62e(0x9c)]-_0x1fcc82[_0x5ee62e(0x9c)]:0x0;}function _0x4bb3(_0x14a84b,_0x5b12c6){const _0x1cec1e=_0x1cec();return _0x4bb3=function(_0x4bb36e,_0xb93e5d){_0x4bb36e=_0x4bb36e-0x80;let _0x2b9f31=_0x1cec1e[_0x4bb36e];return _0x2b9f31;},_0x4bb3(_0x14a84b,_0x5b12c6);}function gi(_0x3b4263,_0x3e2585){const _0x5c054d=_0x5e15f8;_0x3e2585[_0x5c054d(0xc2)](wi);const _0x524555={},_0x8c7ace=[];for(const _0x2c7e40 of _0x3e2585)if(void 0x0!==_0x2c7e40[_0x5c054d(0x9c)]){if(_0x2c7e40[_0x5c054d(0x9c)]in _0x524555)throw new _0x487582(_0x5c054d(0xb1),_0x3b4263,{'conflictingDefinitions':[_0x2c7e40,_0x524555[_0x2c7e40[_0x5c054d(0x9c)]]]});_0x524555[_0x2c7e40[_0x5c054d(0x9c)]]=_0x2c7e40,_0x8c7ace[_0x5c054d(0xc3)](_0x2c7e40[_0x5c054d(0x9c)],0x0,_0x2c7e40);}else _0x8c7ace[_0x5c054d(0xc6)](_0x2c7e40);return _0x8c7ace;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x3a2d(){var _0x2561c2=['1402124wYJrDi','12XWFoKV','5463490FpsWjH','6YRruCY','105zQYjvC','16rQVWnC','479192ctPENH','6174sDiFHS','4VtMcPQ','3037761ygPiAs','12914231TZoRyQ','21200842XtOjsm','10yHZqlD'];_0x3a2d=function(){return _0x2561c2;};return _0x3a2d();}(function(_0x496518,_0x107806){var _0x128c36=_0x2ddc,_0x4e4ced=_0x496518();while(!![]){try{var _0x516ae8=-parseInt(_0x128c36(0x10d))/0x1+parseInt(_0x128c36(0x107))/0x2*(parseInt(_0x128c36(0x10a))/0x3)+parseInt(_0x128c36(0x10f))/0x4*(parseInt(_0x128c36(0x109))/0x5)+parseInt(_0x128c36(0x10e))/0x6*(-parseInt(_0x128c36(0x10b))/0x7)+parseInt(_0x128c36(0x10c))/0x8*(-parseInt(_0x128c36(0x103))/0x9)+-parseInt(_0x128c36(0x106))/0xa*(-parseInt(_0x128c36(0x104))/0xb)+parseInt(_0x128c36(0x108))/0xc*(-parseInt(_0x128c36(0x105))/0xd);if(_0x516ae8===_0x107806)break;else _0x4e4ced['push'](_0x4e4ced['shift']());}catch(_0x12cc9b){_0x4e4ced['push'](_0x4e4ced['shift']());}}}(_0x3a2d,0xd3fe4));function _0x2ddc(_0x57b700,_0x2d936a){var _0x3a2d7d=_0x3a2d();return _0x2ddc=function(_0x2ddc31,_0x2c655e){_0x2ddc31=_0x2ddc31-0x103;var _0x1c70a4=_0x3a2d7d[_0x2ddc31];return _0x1c70a4;},_0x2ddc(_0x57b700,_0x2d936a);}import{CKEditorError as _0x217848}from'ckeditor5/src/utils.js';
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
24
|
-
|
|
23
|
+
function _0x4cc7(_0x562972,_0x446fd3){const _0x251a65=_0x251a();return _0x4cc7=function(_0x4cc7e9,_0x5eecbd){_0x4cc7e9=_0x4cc7e9-0x162;let _0x3da77a=_0x251a65[_0x4cc7e9];return _0x3da77a;},_0x4cc7(_0x562972,_0x446fd3);}const _0x40bc17=_0x4cc7;(function(_0x518217,_0x47b07b){const _0x3de157=_0x4cc7,_0x5c69be=_0x518217();while(!![]){try{const _0x4a5865=-parseInt(_0x3de157(0x166))/0x1+-parseInt(_0x3de157(0x1b8))/0x2+-parseInt(_0x3de157(0x191))/0x3+-parseInt(_0x3de157(0x1a0))/0x4*(-parseInt(_0x3de157(0x196))/0x5)+parseInt(_0x3de157(0x1a8))/0x6+parseInt(_0x3de157(0x169))/0x7*(parseInt(_0x3de157(0x1ae))/0x8)+parseInt(_0x3de157(0x1b4))/0x9;if(_0x4a5865===_0x47b07b)break;else _0x5c69be['push'](_0x5c69be['shift']());}catch(_0x18b9ed){_0x5c69be['push'](_0x5c69be['shift']());}}}(_0x251a,0xb4272));import{ObservableMixin as _0x2dbc51}from'ckeditor5/src/utils.js';import{AIRequestError as _0x1430f5}from'../adapters/aiadapter.js';import{Matcher as _0x5965b4,ViewUpcastWriter as _0x22eb2e}from'ckeditor5/src/engine.js';function _0x251a(){const _0x1c8853=['editing','abort','reset','```','catch','_xmlSerializer','_handleQuery','previousQuery','finishProcessing','message','previousContext','push','clear','_stripMarkdownSyntax','childNodes','destroy','stopListening','518130yxNEtf','finally','serializeToString','setContentOf','previousActionId','5hCybVW','querySelector','listenTo','trim','stringify','submitPrompt','prompt','document','from','processor','1822812XhhPeC','toModel','reverse','```html','remove','markers','view','exec','4390950puSEmH','element','_parseAndNormalizeContent','makeRequest','config','startsWith','8cEbUPS','nodeType','render','toView','htmlProcessor','body','9069048MDooDU','startProcessing','substring','endsWith','1595146CFUOlX','set:currentContext','_domParser','ELEMENT_NODE','mainAction','_sanitizationContainer','match','currentContext','isRendered','custom','updateView','get','domConverter','length','<h1></h1>','editor','rename','938904UJjTZQ','set','data','3163251keVRId','then','stopProcessing','parseFromString','name','once','isProcessing','handleError','div','currentResponse','ai.assistant.preserveComments','text/html','innerHTML','textAdapter','viewToDom','previousLabel','initialContext','_sanitizeHTML','createElement','value','_normalizeResponseHeadings','tryAgainEvent','_isH1TagSupportEnabled'];_0x251a=function(){return _0x1c8853;};return _0x251a();}const ps=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export class AIAssistantController extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x2dbc51(){[_0x40bc17(0x164)];[_0x40bc17(0x176)];[_0x40bc17(0x1a6)];[_0x40bc17(0x1bd)];[_0x40bc17(0x1ba)];[_0x40bc17(0x185)];constructor(_0x356ba6,_0x92bbdd,_0x2730c5){const _0x4a35f1=_0x40bc17;super(),this[_0x4a35f1(0x164)]=_0x356ba6,this[_0x4a35f1(0x176)]=_0x92bbdd,this[_0x4a35f1(0x1bd)]=document[_0x4a35f1(0x17b)](_0x4a35f1(0x171)),this[_0x4a35f1(0x1ba)]=new DOMParser(),this[_0x4a35f1(0x185)]=new XMLSerializer(),this[_0x4a35f1(0x1a6)]=_0x2730c5,this[_0x4a35f1(0x167)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x4a35f1(0x1b9),(_0x5d9bfc,_0x339a99,_0x13bcad)=>{const _0x78ab2e=_0x4a35f1;this[_0x78ab2e(0x1a6)][_0x78ab2e(0x17c)]=this[_0x78ab2e(0x17a)](_0x13bcad);}),this[_0x4a35f1(0x198)](this[_0x4a35f1(0x1a6)],_0x4a35f1(0x19b),(_0x460b3b,_0x1a2722)=>{const _0x4c459d=_0x4a35f1,_0x5be078=this[_0x4c459d(0x1bf)]||this[_0x4c459d(0x179)];this[_0x4c459d(0x186)](_0x1a2722,_0x5be078,_0x4c459d(0x1c1));}),this[_0x4a35f1(0x198)](this[_0x4a35f1(0x1a6)],_0x4a35f1(0x17e),()=>{const _0x566304=_0x4a35f1;this[_0x566304(0x1a6)][_0x566304(0x19c)]=this[_0x566304(0x178)],this[_0x566304(0x186)](this[_0x566304(0x187)],this[_0x566304(0x18a)],this[_0x566304(0x195)],this[_0x566304(0x178)]);}),this[_0x4a35f1(0x198)](this[_0x4a35f1(0x1a6)],_0x4a35f1(0x16b),()=>{const _0x16026b=_0x4a35f1;this[_0x16026b(0x16b)]();});}[_0x40bc17(0x18f)](){const _0x522835=_0x40bc17;this[_0x522835(0x190)]();}async[_0x40bc17(0x1c2)]({actionId:_0x3a4dfa,query:_0x4f482f,htmlContent:_0x301faf,label:_0x126ec6,mainActionLabel:_0x14db80}){const _0x3370c6=_0x40bc17;this[_0x3370c6(0x1a6)][_0x3370c6(0x19c)]=_0x126ec6,this[_0x3370c6(0x1a6)][_0x3370c6(0x1bc)]=_0x14db80,this[_0x3370c6(0x179)]=_0x301faf,_0x4f482f&&(this[_0x3370c6(0x1a6)][_0x3370c6(0x1c0)]?this[_0x3370c6(0x186)](_0x4f482f,_0x301faf,_0x3a4dfa,_0x126ec6):this[_0x3370c6(0x1a6)][_0x3370c6(0x16e)](_0x3370c6(0x1b0),()=>{const _0x520614=_0x3370c6;this[_0x520614(0x186)](_0x4f482f,_0x301faf,_0x3a4dfa,_0x126ec6);}));}[_0x40bc17(0x16b)](){const _0x132499=_0x40bc17;this[_0x132499(0x16f)]&&(this[_0x132499(0x16f)]=!0x1,this[_0x132499(0x1a6)][_0x132499(0x188)](),this[_0x132499(0x176)][_0x132499(0x181)]());}[_0x40bc17(0x182)](){const _0x2ba122=_0x40bc17;this[_0x2ba122(0x179)]='',this[_0x2ba122(0x1bf)]='',this[_0x2ba122(0x172)]='',this[_0x2ba122(0x18a)]='',this[_0x2ba122(0x187)]='',this[_0x2ba122(0x178)]='',this[_0x2ba122(0x195)]=void 0x0,this[_0x2ba122(0x1a6)][_0x2ba122(0x182)](),this[_0x2ba122(0x16b)]();}async[_0x40bc17(0x186)](_0x3d5261,_0x2c4afb,_0x310307,_0x10c82d){const _0xc8e414=_0x40bc17;return this[_0xc8e414(0x16f)]=!0x0,this[_0xc8e414(0x1a6)][_0xc8e414(0x1b5)](),this[_0xc8e414(0x18a)]=_0x2c4afb,this[_0xc8e414(0x187)]=_0x3d5261,this[_0xc8e414(0x178)]=_0x10c82d||_0x3d5261,this[_0xc8e414(0x195)]=_0x310307,new Promise(_0x5389cd=>{const _0x3a58fd=_0xc8e414;this[_0x3a58fd(0x176)][_0x3a58fd(0x1ab)]({'query':_0x3d5261,'context':_0x2c4afb,'onData':_0x400c0a=>{const _0x26535c=_0x3a58fd;this[_0x26535c(0x172)]=_0x400c0a,this[_0x26535c(0x1bf)]=this[_0x26535c(0x1aa)](this[_0x26535c(0x172)]);},'actionId':_0x310307})[_0x3a58fd(0x16a)](()=>{const _0x5a3d6=_0x3a58fd;!this[_0x5a3d6(0x1bf)]&&this[_0x5a3d6(0x172)]&&(this[_0x5a3d6(0x1bf)]=this[_0x5a3d6(0x1aa)](this[_0x5a3d6(0x172)],!0x0));})[_0x3a58fd(0x184)](_0xb85881=>{const _0x19e6af=_0x3a58fd;_0xb85881 instanceof _0x1430f5?this[_0x19e6af(0x1a6)][_0x19e6af(0x170)](_0xb85881[_0x19e6af(0x189)]):this[_0x19e6af(0x1a6)][_0x19e6af(0x170)](),_0x5389cd();})[_0x3a58fd(0x192)](()=>{const _0x103002=_0x3a58fd;this[_0x103002(0x16b)](),_0x5389cd();});});}[_0x40bc17(0x1aa)](_0x2720ef,_0xdeb029=!0x1){const _0x4b9646=_0x40bc17,_0x5a4d64=ps[_0x4b9646(0x1a7)](_0x2720ef);_0x2720ef=_0x5a4d64?_0x2720ef[_0x4b9646(0x1b6)](_0x5a4d64[0x1][_0x4b9646(0x162)]):_0x2720ef[_0x4b9646(0x162)]<0x64&&!_0xdeb029?'':this[_0x4b9646(0x18d)](_0x2720ef);const _0x54c784=this[_0x4b9646(0x1ba)][_0x4b9646(0x16c)](_0x2720ef,_0x4b9646(0x174));if(_0x5a4d64){const _0x4eaf62=Array[_0x4b9646(0x19e)](_0x54c784[_0x4b9646(0x1b3)][_0x4b9646(0x18e)]);_0x4eaf62[_0x4b9646(0x1a2)]();for(const _0x18025f of _0x4eaf62){if(_0x18025f[_0x4b9646(0x1af)]==Node[_0x4b9646(0x1bb)])break;_0x18025f[_0x4b9646(0x1a4)]();}}const _0x23e3be=this[_0x4b9646(0x164)][_0x4b9646(0x168)][_0x4b9646(0x19f)][_0x4b9646(0x1b1)](this[_0x4b9646(0x185)][_0x4b9646(0x193)](_0x54c784[_0x4b9646(0x1b3)]));this[_0x4b9646(0x17f)]()||this[_0x4b9646(0x17d)](_0x23e3be);const _0x3a4751=this[_0x4b9646(0x164)][_0x4b9646(0x1ac)][_0x4b9646(0x1c3)](_0x4b9646(0x173)),_0x1261b8=this[_0x4b9646(0x164)][_0x4b9646(0x168)][_0x4b9646(0x1a1)](_0x23e3be);return _0x3a4751||_0x1261b8[_0x4b9646(0x1a5)][_0x4b9646(0x18c)](),this[_0x4b9646(0x164)][_0x4b9646(0x168)][_0x4b9646(0x19a)](_0x1261b8);}[_0x40bc17(0x17d)](_0x2ebc9a){const _0x4d9df2=_0x40bc17,_0x42df4c=new _0x22eb2e(this[_0x4d9df2(0x164)][_0x4d9df2(0x180)][_0x4d9df2(0x1a6)][_0x4d9df2(0x19d)]),_0x50ef04=new _0x5965b4({'name':/^h[1-5]$/}),_0x11aea0=[];let _0x10b671=!0x1;for(const _0x3d5b78 of _0x2ebc9a)_0x3d5b78['is'](_0x4d9df2(0x1a9))&&_0x50ef04[_0x4d9df2(0x1be)](_0x3d5b78)&&(_0x11aea0[_0x4d9df2(0x18b)](_0x3d5b78),'h1'==_0x3d5b78[_0x4d9df2(0x16d)]&&(_0x10b671=!0x0));if(_0x10b671){for(const _0x34ae1f of _0x11aea0)_0x42df4c[_0x4d9df2(0x165)]('h'+(parseInt(_0x34ae1f[_0x4d9df2(0x16d)][0x1])+0x1),_0x34ae1f);}}[_0x40bc17(0x17f)](){const _0x14c361=_0x40bc17,{data:_0x148c4e,editing:_0x23d17b}=this[_0x14c361(0x164)],_0x5d271d=_0x148c4e[_0x14c361(0x1b2)][_0x14c361(0x1b1)](_0x14c361(0x163)),_0x117f6b=_0x148c4e[_0x14c361(0x1b1)](_0x148c4e[_0x14c361(0x1a1)](_0x5d271d));return!!_0x23d17b[_0x14c361(0x1a6)][_0x14c361(0x1c4)][_0x14c361(0x177)](_0x117f6b)[_0x14c361(0x197)]('h1');}[_0x40bc17(0x17a)](_0x18749d){const _0x4fd5b4=_0x40bc17;return this[_0x4fd5b4(0x164)][_0x4fd5b4(0x180)][_0x4fd5b4(0x1a6)][_0x4fd5b4(0x1c4)][_0x4fd5b4(0x194)](this[_0x4fd5b4(0x1bd)],_0x18749d),this[_0x4fd5b4(0x1bd)][_0x4fd5b4(0x175)];}[_0x40bc17(0x18d)](_0x1fff13){const _0x47f2f3=_0x40bc17,_0x41d8a6=_0x1fff13[_0x47f2f3(0x199)]();return _0x41d8a6[_0x47f2f3(0x1ad)](_0x47f2f3(0x1a3))?_0x41d8a6[_0x47f2f3(0x1b7)](_0x47f2f3(0x183))?_0x41d8a6[_0x47f2f3(0x1b6)](0x7,_0x41d8a6[_0x47f2f3(0x162)]-0x3):_0x41d8a6[_0x47f2f3(0x1b6)](0x7):_0x1fff13;}}
|