@ckeditor/ckeditor5-ai 47.3.0-alpha.6 → 47.3.0-alpha.7
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/aiballoondisclaimerview.js +1 -1
- package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
- package/src/aiballoon/ui/aiballoonview.js +1 -1
- package/src/aichat/aichat.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/model/aichatmodels.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/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/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/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.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/dropdownmenubuttonwithhighlightview.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/aireviewmodeediting.js +1 -1
- package/src/aireviewmode/aireviewmodeui.js +1 -1
- package/src/aireviewmode/model/aireviewcheck.js +1 -1
- package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
- package/src/aireviewmode/model/aireviewchecklist.js +1 -1
- package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
- package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
- package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
- package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodegeneralerrorview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformmanager.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/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 _0x2d96(_0x55325a,_0xb382dd){const _0x74d2ab=_0x74d2();return _0x2d96=function(_0x2d964c,_0x12fd3a){_0x2d964c=_0x2d964c-0xda;let _0x3fb832=_0x74d2ab[_0x2d964c];return _0x3fb832;},_0x2d96(_0x55325a,_0xb382dd);}function _0x74d2(){const _0x47ec3f=['markerToHighlight','join','editor','_pasteHTMLUsingClipboard','isCollapsed','updateMarker','schema','init','getFirstRange','fromCharCode','has','from','insertContent','model','afterInit','541138phQHlF','5071pdGZYu','editingDowncast','document','canEditAt','conversion','832479aXmNDa','isContent','createUIElement','get','ck-fake-ai-selection_collapsed','getChildren','length','showFakeVisualSelection','getMarkersGroup','parse','deleteContent','806823aSuVYk','config','8zHIhNh','98244NgAIDQ','start','hideFakeVisualSelection','ai-ui','getSelectedTableCells','text/html','push','for','findAncestor','span','editing','isPremiumPlugin','createRange','plugins','href','_createEmptyTableRows','4enYeKu','change','DataTransfer','contentInsertion','_getAISelection','getRanges','2089465KUYUCJ','map','6730530TxzXfe','TableUtils','getColumnIndexes','createPositionAt','isOfficialPlugin','last','ck-ai-assistant-ui_theme','getRows','getSelectedBlocks','pluginName','off','addClass','_getTableRowCountFromContent','5GureRy','markerRange','data','insertRows','pop','getRange','createSelection','once','paste','end','insertContentBelow','getChild','removeMarker','lowest','8158800SHTlSR','addMarker','setSelection','selection','isAtEnd','table','_prepareTableInsertBelowPosition','ai.assistant.useTheme','_getDefaultInsertBelowPosition','8TEXgJE','forEach','getLastPosition','ck-fake-ai-selection','fire','AIAssistantEditing','element','getLastMatchingPosition','setData','first','markers','createPositionAfter','markerToElement','_resetContentOfSelectedTableCells','resultRange','filter','getRowIndexes'];_0x74d2=function(){return _0x47ec3f;};return _0x74d2();}const _0x16b1d9=_0x2d96;(function(_0x464d68,_0x25753a){const _0x15e81b=_0x2d96,_0x27f953=_0x464d68();while(!![]){try{const _0xa496d0=parseInt(_0x15e81b(0x110))/0x1*(-parseInt(_0x15e81b(0xec))/0x2)+-parseInt(_0x15e81b(0xf2))/0x3*(parseInt(_0x15e81b(0x13c))/0x4)+-parseInt(_0x15e81b(0x125))/0x5*(parseInt(_0x15e81b(0x118))/0x6)+parseInt(_0x15e81b(0x116))/0x7*(parseInt(_0x15e81b(0xff))/0x8)+parseInt(_0x15e81b(0xfd))/0x9+-parseInt(_0x15e81b(0x133))/0xa+parseInt(_0x15e81b(0xed))/0xb*(parseInt(_0x15e81b(0x100))/0xc);if(_0xa496d0===_0x25753a)break;else _0x27f953['push'](_0x27f953['shift']());}catch(_0xd0a87d){_0x27f953['push'](_0x27f953['shift']());}}}(_0x74d2,0x8f6bc));import{uid as _0x333fc2}from'ckeditor5/src/utils.js';import{Plugin as _0x24d362}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x27948a}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x489851,ViewDataTransfer as _0x15c5ab}from'ckeditor5/src/engine.js';const pt=globalThis[_0x16b1d9(0x112)],yt=_0x16b1d9(0x103);export class AIAssistantEditing extends _0x24d362{static get[_0x16b1d9(0x121)](){const _0x4f6309=_0x16b1d9;return _0x4f6309(0x141);}static get[_0x16b1d9(0x11c)](){return!0x0;}static get[_0x16b1d9(0x10b)](){return!0x0;}[_0x16b1d9(0xe4)](){const _0x31e135=_0x16b1d9,{editor:_0x678bf4}=this,_0x484d19=[_0x31e135(0x13f)];_0x678bf4[_0x31e135(0xfe)][_0x31e135(0xf5)](_0x31e135(0x13a))&&_0x484d19[_0x31e135(0x106)](_0x31e135(0x11e)),_0x678bf4[_0x31e135(0xf1)][_0x31e135(0x107)](_0x31e135(0xee))[_0x31e135(0xdd)]({'model':yt,'view':{'classes':_0x484d19,'priority':0xc}}),_0x678bf4[_0x31e135(0xf1)][_0x31e135(0x107)](_0x31e135(0xee))[_0x31e135(0x148)]({'model':yt,'view':(_0x5175cf,{writer:_0x14d93d})=>{const _0x20a41f=_0x31e135;if(!_0x5175cf[_0x20a41f(0x126)][_0x20a41f(0xe1)])return null;const _0x480c08=_0x14d93d[_0x20a41f(0xf4)](_0x20a41f(0x109));return _0x14d93d[_0x20a41f(0x123)]([_0x20a41f(0x13f),_0x20a41f(0xf6)],_0x480c08),_0x480c08;}});}[_0x16b1d9(0xeb)](){!async function(_0x217a35){const _0xdd50d3=_0x4a6be8([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]),_0x42d86c=0x3dffc4e1,_0x46abb8=0x3df8be21^_0x42d86c,_0x5e763b=window[_0x4a6be8([0x44,0x61,0x74,0x65])][_0x4a6be8([0x6e,0x6f,0x77])](),_0x57ab79=_0x217a35[_0x4a6be8([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2f2701=new window[(_0x4a6be8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x188a9c=>{_0x57ab79[_0x4a6be8([0x6f,0x6e,0x63,0x65])](_0x4a6be8([0x72,0x65,0x61,0x64,0x79]),_0x188a9c);}),_0x456a08={[_0x4a6be8([0x6b,0x74,0x79])]:_0x4a6be8([0x45,0x43]),[_0x4a6be8([0x75,0x73,0x65])]:_0x4a6be8([0x73,0x69,0x67]),[_0x4a6be8([0x63,0x72,0x76])]:_0x4a6be8([0x50,0x2d,0x32,0x35,0x36]),[_0x4a6be8([0x78])]:_0x4a6be8([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]),[_0x4a6be8([0x79])]:_0x4a6be8([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]),[_0x4a6be8([0x61,0x6c,0x67])]:_0x4a6be8([0x45,0x53,0x32,0x35,0x36])},_0x4a0f59=_0x57ab79[_0x4a6be8([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4a6be8([0x67,0x65,0x74])](_0x4a6be8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x49372a(){let _0x53ef57,_0x2128b7=null,_0x28c985=null;try{if(_0x4a0f59==_0x4a6be8([0x47,0x50,0x4c]))return _0x4a6be8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x53ef57=_0x1cf0a0(),!_0x53ef57)return _0x4a6be8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x53ef57[_0x4a6be8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x28c985=_0x37458a(_0x53ef57[_0x4a6be8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x53ef57[_0x4a6be8([0x6a,0x74,0x69])])),await _0x5967ac()?_0x39786b()?_0x4d21d1()?_0x4a6be8([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x89ec8a()?(_0x53ef57[_0x4a6be8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4a6be8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2128b7=_0x3f30cd(_0x4a6be8([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x53ef57[_0x4a6be8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4a6be8([0x74,0x72,0x69,0x61,0x6c])&&(_0x2128b7=_0x3f30cd(_0x4a6be8([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1f0950()):_0x4a6be8([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4a6be8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4a6be8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4a6be8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4d21d1(){const _0x2a0612=[_0x4a6be8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4a6be8([0x74,0x72,0x69,0x61,0x6c])][_0x4a6be8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x53ef57[_0x4a6be8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5e763b/0x3e8:0xe10*_0x46abb8;return _0x53ef57[_0x4a6be8([0x65,0x78,0x70])]<_0x2a0612;}function _0x39786b(){const _0x451b5f=_0x53ef57[_0x4a6be8([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x451b5f&&(!!_0x451b5f[_0x4a6be8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4a6be8([0x2a]))||!!_0x451b5f[_0x4a6be8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4a6be8([0x41,0x49])));}function _0x89ec8a(){const _0x144ef9=_0x2d96,_0x37b4c9=_0x53ef57[_0x4a6be8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x37b4c9||0x0==_0x37b4c9[_0x4a6be8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4a4d2f}=new URL(window[_0x4a6be8([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x144ef9(0x10e)]);if(_0x37b4c9[_0x4a6be8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4a4d2f))return!0x0;const _0x362c9d=_0x4a4d2f[_0x4a6be8([0x73,0x70,0x6c,0x69,0x74])](_0x4a6be8([0x2e]));return _0x37b4c9[_0x4a6be8([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1da1d5=>_0x1da1d5[_0x4a6be8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4a6be8([0x2a])))[_0x4a6be8([0x6d,0x61,0x70])](_0x5c904c=>_0x5c904c[_0x4a6be8([0x73,0x70,0x6c,0x69,0x74])](_0x4a6be8([0x2e])))[_0x4a6be8([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x302fbb=>_0x302fbb[_0x4a6be8([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x362c9d[_0x4a6be8([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4a6be8([0x6d,0x61,0x70])](_0x25518b=>Array(_0x362c9d[_0x4a6be8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x25518b[_0x4a6be8([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4a6be8([0x66,0x69,0x6c,0x6c])](_0x25518b[0x0]===_0x4a6be8([0x2a])?_0x4a6be8([0x2a]):'')[_0x4a6be8([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x25518b))[_0x4a6be8([0x73,0x6f,0x6d,0x65])](_0x2e5e03=>_0x362c9d[_0x4a6be8([0x65,0x76,0x65,0x72,0x79])]((_0x110700,_0x51bab5)=>_0x2e5e03[_0x51bab5]===_0x110700||_0x2e5e03[_0x51bab5]===_0x4a6be8([0x2a])));}function _0x1f0950(){return _0x2128b7&&_0x28c985?new window[(_0x4a6be8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x477899,_0x394d7d)=>{_0x2128b7[_0x4a6be8([0x74,0x68,0x65,0x6e])](_0x477899,_0x394d7d),_0x28c985[_0x4a6be8([0x74,0x68,0x65,0x6e])](_0x5053eb=>{_0x5053eb!=_0x4a6be8([0x56,0x61,0x6c,0x69,0x64])&&_0x477899(_0x5053eb);},_0x394d7d);}):_0x2128b7||_0x28c985||_0x4a6be8([0x56,0x61,0x6c,0x69,0x64]);}}function _0x37458a(_0x3ce62c,_0x34444a){return new window[(_0x4a6be8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x47a403=>{if(_0x10e7cb())return _0x47a403(_0x4a6be8([0x56,0x61,0x6c,0x69,0x64]));_0x5dabbd(),_0x57ab79[_0x4a6be8([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4a6be8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x49fe30=!0x1;const _0x583844=_0x333fc2();function _0x261dc6(_0x7fc5ef){return!!_0x7fc5ef&&(typeof _0x7fc5ef===_0x4a6be8([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x7fc5ef===_0x4a6be8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x7fc5ef[_0x4a6be8([0x74,0x68,0x65,0x6e])]===_0x4a6be8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x7fc5ef[_0x4a6be8([0x63,0x61,0x74,0x63,0x68])]===_0x4a6be8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x64249c(_0x1d0f75){_0x783fc1(_0x1d0f75)[_0x4a6be8([0x74,0x68,0x65,0x6e])](_0x58a89a=>{if(!_0x58a89a||_0x58a89a[_0x4a6be8([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4a6be8([0x6f,0x6b]))return _0x4a6be8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1b8a77(_0x3fcc38(_0x583844+_0x34444a))!=_0x58a89a[_0x4a6be8([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4a6be8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4a6be8([0x56,0x61,0x6c,0x69,0x64]);})[_0x4a6be8([0x74,0x68,0x65,0x6e])](_0x4b2ad8=>(_0x4d5ec5(),_0x4b2ad8),()=>{const _0x36b835=_0x1209af();return null==_0x36b835?(_0x4d5ec5(),_0x4a6be8([0x56,0x61,0x6c,0x69,0x64])):_0x4a6be8(_0x5e763b-_0x36b835>(0x19f340e1^_0x42d86c)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4a6be8([0x74,0x68,0x65,0x6e])](_0x47a403)[_0x4a6be8([0x63,0x61,0x74,0x63,0x68])](()=>{_0x47a403(_0x4a6be8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x9a3bd3=0x3dc92a61^_0x42d86c;function _0x4d5ec5(){const _0x2bafd1=_0x4a6be8([0x6c,0x6c,0x63,0x74,0x2d])+_0x1b8a77(_0x3fcc38(_0x3ce62c)),_0x303b91=_0x5c39b3(_0x1b8a77(window[_0x4a6be8([0x4d,0x61,0x74,0x68])][_0x4a6be8([0x63,0x65,0x69,0x6c])](_0x5e763b/_0x9a3bd3)));window[_0x4a6be8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4a6be8([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2bafd1,_0x303b91);}function _0x1209af(){const _0x36112f=_0x4a6be8([0x6c,0x6c,0x63,0x74,0x2d])+_0x1b8a77(_0x3fcc38(_0x3ce62c)),_0x4d95ca=window[_0x4a6be8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4a6be8([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x36112f);return _0x4d95ca?window[_0x4a6be8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5c39b3(_0x4d95ca),0x10)*_0x9a3bd3:null;}function _0x783fc1(_0x1a6547){return new window[(_0x4a6be8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xb5ec84,_0x29e703)=>{_0x1a6547[_0x4a6be8([0x74,0x68,0x65,0x6e])](_0xb5ec84,_0x29e703),window[_0x4a6be8([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x29e703,0x3dfe1021^_0x42d86c);});}}_0x57ab79[_0x4a6be8([0x6f,0x6e])](_0x4a6be8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4ed015,_0x383b22)=>{if(_0x383b22[0x0]!=_0x3ce62c)return _0x47a403(_0x4a6be8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x383b22[0x1]={..._0x383b22[0x1],[_0x4a6be8([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x583844};},{[_0x4a6be8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4a6be8([0x68,0x69,0x67,0x68])}),_0x57ab79[_0x4a6be8([0x6f,0x6e])](_0x4a6be8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xf98d80=>{_0x261dc6(_0xf98d80[_0x4a6be8([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x49fe30=!0x0,_0x64249c(_0xf98d80[_0x4a6be8([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4a6be8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4a6be8([0x6c,0x6f,0x77])}),_0x2f2701[_0x4a6be8([0x74,0x68,0x65,0x6e])](()=>{_0x49fe30||_0x47a403(_0x4a6be8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x10e7cb(){return _0x57ab79[_0x4a6be8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4a6be8([0x76,0x69,0x65,0x77])][_0x4a6be8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4a6be8([0x61,0x75,0x74,0x6f]);}function _0x5dabbd(){_0x57ab79[_0x4a6be8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4a6be8([0x76,0x69,0x65,0x77])][_0x4a6be8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4a6be8([0x61,0x75,0x74,0x6f]);}}function _0x3f30cd(_0x2862bd){const _0x33ae5d=[new window[(_0x4a6be8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x48606e=>setTimeout(_0x48606e,0x3df6fa2d^_0x42d86c)),_0x2f2701[_0x4a6be8([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4a6be8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x58dbe1=>{let _0x481071=0x0;_0x57ab79[_0x4a6be8([0x6d,0x6f,0x64,0x65,0x6c])][_0x4a6be8([0x6f,0x6e])](_0x4a6be8([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x11b0e2,_0x527d0d)=>{_0x527d0d[0x0][_0x4a6be8([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x481071++,_0x481071==(0x3dffc519^_0x42d86c)&&(_0x58dbe1(),_0x11b0e2[_0x4a6be8([0x6f,0x66,0x66])]());});}))];return window[_0x4a6be8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4a6be8([0x72,0x61,0x63,0x65])](_0x33ae5d)[_0x4a6be8([0x74,0x68,0x65,0x6e])](()=>_0x2862bd);}async function _0x5bc0c3(){await _0x2f2701,_0x57ab79[_0x4a6be8([0x6d,0x6f,0x64,0x65,0x6c])][_0x4a6be8([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x54949a,_0x57ab79[_0x4a6be8([0x6d,0x6f,0x64,0x65,0x6c])][_0x4a6be8([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x54949a,_0x57ab79[_0x4a6be8([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4a6be8([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x254ff1(_0x45084e){const _0x36d28b=_0x3bac6f();_0x57ab79[_0x36d28b]=_0x4a6be8([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x45084e,_0x45084e!=_0x4a6be8([0x56,0x61,0x6c,0x69,0x64])&&_0x5bc0c3();}function _0x3bac6f(){const _0x37be8f=window[_0x4a6be8([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4a6be8([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4a6be8([0x6e,0x6f,0x77])]())[_0x4a6be8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4a6be8([0x2e]),'');let _0x4f1f97=_0x4a6be8([0x6e]);for(let _0x4ee406=0x0;_0x4ee406<_0x37be8f[_0x4a6be8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4ee406+=0x2){let _0x4ac815=window[_0x4a6be8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x37be8f[_0x4a6be8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4ee406,_0x4ee406+0x2));_0x4ac815>=_0xdd50d3[_0x4a6be8([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4ac815-=_0xdd50d3[_0x4a6be8([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4f1f97+=_0xdd50d3[_0x4ac815];}return _0x4f1f97;}function _0x1cf0a0(){const _0x798e49=_0x4a0f59[_0x4a6be8([0x73,0x70,0x6c,0x69,0x74])](_0x4a6be8([0x2e]));if(0x3!=_0x798e49[_0x4a6be8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x55a90e(_0x798e49[0x1]);function _0x55a90e(_0x226ec1){const _0x5eb513=_0x269474(_0x226ec1);return _0x5eb513&&_0x4150a2()?_0x5eb513:null;function _0x4150a2(){const _0x2cb410=_0x5eb513[_0x4a6be8([0x6a,0x74,0x69])],_0x21ab9d=window[_0x4a6be8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2cb410[_0x4a6be8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2cb410[_0x4a6be8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3554d2={..._0x5eb513,[_0x4a6be8([0x6a,0x74,0x69])]:_0x2cb410[_0x4a6be8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2cb410[_0x4a6be8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3554d2[_0x4a6be8([0x76,0x63])],_0x3fcc38(_0x3554d2)==_0x21ab9d;}}}async function _0x5967ac(){let _0x533073=!0x0;try{const _0x16cf1c=_0x4a0f59[_0x4a6be8([0x73,0x70,0x6c,0x69,0x74])](_0x4a6be8([0x2e])),[_0x62dbce,_0x5ed624,_0x5a3dcb]=_0x16cf1c;return _0x23615f(_0x62dbce),await _0x42b700(_0x62dbce,_0x5ed624,_0x5a3dcb),_0x533073;}catch{return!0x1;}function _0x23615f(_0x3d3a55){const _0x190ab1=_0x269474(_0x3d3a55);_0x190ab1&&_0x190ab1[_0x4a6be8([0x61,0x6c,0x67])]==_0x4a6be8([0x45,0x53,0x32,0x35,0x36])||(_0x533073=!0x1);}async function _0x42b700(_0x54feb7,_0x1530f9,_0x1e2902){const _0x188508=window[_0x4a6be8([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4a6be8([0x66,0x72,0x6f,0x6d])](_0x3c0533(_0x1e2902),_0x2e2442=>_0x2e2442[_0x4a6be8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4f4519=new window[(_0x4a6be8([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4a6be8([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x54feb7+_0x4a6be8([0x2e])+_0x1530f9),_0x2835b5=window[_0x4a6be8([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4a6be8([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2835b5)return;const _0x3e4ea5=await _0x2835b5[_0x4a6be8([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4a6be8([0x6a,0x77,0x6b]),_0x456a08,{[_0x4a6be8([0x6e,0x61,0x6d,0x65])]:_0x4a6be8([0x45,0x43,0x44,0x53,0x41]),[_0x4a6be8([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4a6be8([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4a6be8([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2835b5[_0x4a6be8([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4a6be8([0x6e,0x61,0x6d,0x65])]:_0x4a6be8([0x45,0x43,0x44,0x53,0x41]),[_0x4a6be8([0x68,0x61,0x73,0x68])]:{[_0x4a6be8([0x6e,0x61,0x6d,0x65])]:_0x4a6be8([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3e4ea5,_0x188508,_0x4f4519)||(_0x533073=!0x1);}}function _0x269474(_0x182343){return _0x182343[_0x4a6be8([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4a6be8([0x65,0x79]))?JSON[_0x4a6be8([0x70,0x61,0x72,0x73,0x65])](_0x3c0533(_0x182343)):null;}function _0x3c0533(_0xd8707d){return window[_0x4a6be8([0x61,0x74,0x6f,0x62])](_0xd8707d[_0x4a6be8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4a6be8([0x2b]))[_0x4a6be8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4a6be8([0x2f])));}function _0x3fcc38(_0x5a1c15){let _0x42eb64=0x1505;function _0x1d1ed6(_0x43a47f){for(let _0x372c90=0x0;_0x372c90<_0x43a47f[_0x4a6be8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x372c90++){const _0x7add24=_0x43a47f[_0x4a6be8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x372c90);_0x42eb64=(_0x42eb64<<0x5)+_0x42eb64+_0x7add24,_0x42eb64&=_0x42eb64;}}function _0x52c14b(_0x225ba7){Array[_0x4a6be8([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x225ba7)?_0x225ba7[_0x4a6be8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x52c14b):_0x225ba7&&typeof _0x225ba7==_0x4a6be8([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4a6be8([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x225ba7)[_0x4a6be8([0x73,0x6f,0x72,0x74])]()[_0x4a6be8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x38e110,_0x34b78c])=>{_0x1d1ed6(_0x38e110),_0x52c14b(_0x34b78c);}):_0x1d1ed6(window[_0x4a6be8([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x225ba7));}return _0x52c14b(_0x5a1c15),_0x42eb64>>>0x0;}function _0x1b8a77(_0x3e16b6){return _0x3e16b6[_0x4a6be8([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4a6be8([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4a6be8([0x30]));}function _0x5c39b3(_0x24f2db){return _0x24f2db[_0x4a6be8([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4a6be8([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4a6be8([0x6a,0x6f,0x69,0x6e])]('');}function _0x54949a(){}function _0x4a6be8(_0x262d47){const _0x15dee4=_0x2d96;return _0x262d47[_0x15dee4(0x117)](_0x583842=>String[_0x15dee4(0xe6)](_0x583842))[_0x15dee4(0xde)]('');}_0x254ff1(await _0x49372a());}(this);}[_0x16b1d9(0xf9)](){const _0x15ca0b=_0x16b1d9,_0x4e8e72=this[_0x15ca0b(0xdf)][_0x15ca0b(0xea)];_0x4e8e72[_0x15ca0b(0x111)](_0x333e53=>{const _0x4bf4e0=_0x15ca0b,_0x15b2ee=_0x4e8e72[_0x4bf4e0(0xef)][_0x4bf4e0(0x136)][_0x4bf4e0(0x115)]();let _0xdf625c=0x0;for(const _0x2e4b9b of _0x15b2ee){const _0x4c2c51=yt+':'+_0xdf625c;if(_0x4e8e72[_0x4bf4e0(0x146)][_0x4bf4e0(0xe7)](_0x4c2c51))_0x333e53[_0x4bf4e0(0xe2)](_0x4c2c51,{'range':_0x2e4b9b});else{if(_0x2e4b9b[_0x4bf4e0(0x101)][_0x4bf4e0(0x137)]){const _0x13e952=_0x2e4b9b[_0x4bf4e0(0x101)][_0x4bf4e0(0x143)](({item:_0x4f77a6})=>!_0x4e8e72[_0x4bf4e0(0xe3)][_0x4bf4e0(0xf3)](_0x4f77a6),{'boundaries':_0x2e4b9b});_0x333e53[_0x4bf4e0(0x134)](_0x4c2c51,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x333e53[_0x4bf4e0(0x10c)](_0x13e952,_0x2e4b9b[_0x4bf4e0(0x12e)])});}else _0x333e53[_0x4bf4e0(0x134)](_0x4c2c51,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x2e4b9b});}_0xdf625c++;}});}[_0x16b1d9(0x102)](){const _0x4caa83=_0x16b1d9,_0x5ca0b3=this[_0x4caa83(0xdf)][_0x4caa83(0xea)],_0x5d75ea=Array[_0x4caa83(0xe8)](this[_0x4caa83(0xdf)][_0x4caa83(0xea)][_0x4caa83(0x146)][_0x4caa83(0xfa)](yt));_0x5d75ea[_0x4caa83(0xf8)]&&_0x5ca0b3[_0x4caa83(0x111)](_0x734495=>{const _0x5c091e=_0x4caa83;_0x5d75ea[_0x5c091e(0x13d)](_0x3309cb=>{const _0x20d23d=_0x5c091e;_0x734495[_0x20d23d(0x131)](_0x3309cb);});});}[_0x16b1d9(0xe9)](_0x2c19af,_0x12a49c){const _0x574919=_0x16b1d9,_0x333b26=this[_0x574919(0x114)](),_0x4c4a1c=_0x12a49c||_0x333b26[_0x574919(0xe5)]();this[_0x574919(0xdf)][_0x574919(0xea)][_0x574919(0xf0)](_0x4c4a1c)&&this[_0x574919(0xdf)][_0x574919(0xea)][_0x574919(0x111)](_0x5e781a=>{const _0x48708b=_0x574919;this[_0x48708b(0x102)](),_0x12a49c||this[_0x48708b(0x149)](_0x5e781a,_0x333b26),this[_0x48708b(0xe0)]({'insertAt':_0x4c4a1c,'writer':_0x5e781a,'html':_0x2c19af});});}[_0x16b1d9(0x12f)](_0x42ba35){const _0x2ac05b=_0x16b1d9,{model:_0x11d1bf}=this[_0x2ac05b(0xdf)],_0x2dd27c=this[_0x2ac05b(0x114)]();_0x11d1bf[_0x2ac05b(0x111)](()=>{const _0x22a587=_0x2ac05b,_0x15f146=this[_0x22a587(0x139)](_0x42ba35,_0x2dd27c)||this[_0x22a587(0x13b)](_0x2dd27c);this[_0x22a587(0xe9)](_0x42ba35,_0x15f146);});}[_0x16b1d9(0x114)](){const _0x102098=_0x16b1d9,_0x33c0ef=this[_0x102098(0xdf)][_0x102098(0xea)],_0x599d30=Array[_0x102098(0xe8)](_0x33c0ef[_0x102098(0x146)][_0x102098(0xfa)](yt))[_0x102098(0x117)](_0x3c66b9=>_0x3c66b9[_0x102098(0x12a)]());return _0x33c0ef[_0x102098(0x12b)](_0x599d30);}[_0x16b1d9(0xe0)]({writer:_0x3c5ecc,html:_0x2cba6e,insertAt:_0x2e25a3}){const _0x2ea078=_0x16b1d9,{view:_0x33fe58}=this[_0x2ea078(0xdf)][_0x2ea078(0x10a)],_0x591cc9=this[_0x2ea078(0xdf)][_0x2ea078(0x10d)][_0x2ea078(0xf5)](_0x27948a),_0xcb4f59=new pt();_0xcb4f59[_0x2ea078(0x144)](_0x2ea078(0x105),_0x2cba6e);const _0x14a90a=new ClipboardEvent(_0x2ea078(0x12d),{'clipboardData':_0xcb4f59}),_0x572716=new _0x489851(_0x33fe58,_0x14a90a,{'dataTransfer':new _0x15c5ab(_0xcb4f59)});_0x3c5ecc[_0x2ea078(0x135)](_0x2e25a3);const _0x4cc250=(_0x20bf87,_0x4262d5)=>{const _0x3c16d6=_0x2ea078;_0x4262d5[_0x3c16d6(0xda)]&&_0x3c5ecc[_0x3c16d6(0x135)](_0x4262d5[_0x3c16d6(0xda)]);};_0x591cc9[_0x2ea078(0x12c)](_0x2ea078(0x113),_0x4cc250,{'priority':_0x2ea078(0x132)}),_0x33fe58[_0x2ea078(0xef)][_0x2ea078(0x140)](_0x2ea078(0x12d),_0x572716),_0x591cc9[_0x2ea078(0x122)](_0x2ea078(0x113),_0x4cc250);}[_0x16b1d9(0x13b)](_0x105dfe){const _0x17d88c=_0x16b1d9,{model:_0xb68de2}=this[_0x17d88c(0xdf)],_0x1d8eb1=Array[_0x17d88c(0xe8)](_0x105dfe[_0x17d88c(0x120)]());return _0x1d8eb1[_0x17d88c(0xf8)]?_0xb68de2[_0x17d88c(0x147)](_0x1d8eb1[_0x17d88c(0x129)]()):_0x105dfe[_0x17d88c(0x13e)]();}[_0x16b1d9(0x139)](_0x4d1646,_0xbbb2ad){const _0x29bf45=_0x16b1d9,{model:_0x3b6e18,plugins:_0x638c4}=this[_0x29bf45(0xdf)];if(_0x638c4[_0x29bf45(0xe7)](_0x29bf45(0x119))){const _0x4afa36=_0x638c4[_0x29bf45(0xf5)](_0x29bf45(0x119))[_0x29bf45(0x104)](_0xbbb2ad);if(_0x4afa36[_0x29bf45(0xf8)]){const _0x29ba25=this[_0x29bf45(0x124)](_0x4d1646),_0xa3c1f2=this[_0x29bf45(0x10f)](_0x4afa36,_0x29ba25);return _0x3b6e18[_0x29bf45(0x11b)](_0xa3c1f2,0x0);}}return null;}[_0x16b1d9(0x124)](_0x144fa8){const _0x5d2bf3=_0x16b1d9,_0x4eac48=this[_0x5d2bf3(0xdf)][_0x5d2bf3(0x10d)][_0x5d2bf3(0xf5)](_0x5d2bf3(0x119)),_0x4d5727=this[_0x5d2bf3(0xdf)][_0x5d2bf3(0x127)][_0x5d2bf3(0xfb)](_0x144fa8),_0x5e25b5=Array[_0x5d2bf3(0xe8)](_0x4d5727[_0x5d2bf3(0xf7)]())[_0x5d2bf3(0xdb)](_0x5adf8a=>_0x5adf8a['is'](_0x5d2bf3(0x142),_0x5d2bf3(0x138)));let _0x10f731=0x0;return _0x5e25b5[_0x5d2bf3(0x13d)](_0xf73206=>{const _0x5530a6=_0x5d2bf3;_0x10f731+=_0x4eac48[_0x5530a6(0x11f)](_0xf73206);}),_0x10f731;}[_0x16b1d9(0x10f)](_0x19c7bf,_0x15291f){const _0x5e7820=_0x16b1d9,_0xc35c18=this[_0x5e7820(0xdf)][_0x5e7820(0x10d)][_0x5e7820(0xf5)](_0x5e7820(0x119)),_0xe9e83=_0xc35c18[_0x5e7820(0xdc)](_0x19c7bf),_0x1bee9b=_0xc35c18[_0x5e7820(0x11a)](_0x19c7bf),_0x33a7a9=_0xe9e83[_0x5e7820(0x11d)]+0x1,_0x3687c0=_0x1bee9b[_0x5e7820(0x145)],_0x4e19aa=_0x19c7bf[0x0][_0x5e7820(0x108)](_0x5e7820(0x138));for(let _0x108e13=0x0;_0x108e13<_0x15291f;_0x108e13++)_0xc35c18[_0x5e7820(0x128)](_0x4e19aa,{'at':_0x33a7a9});return _0x4e19aa[_0x5e7820(0x130)](_0x33a7a9)[_0x5e7820(0x130)](_0x3687c0);}[_0x16b1d9(0x149)](_0x3e9da4,_0x3d4eef){const _0x30ee4f=_0x16b1d9,{plugins:_0x41bb43}=this[_0x30ee4f(0xdf)],{model:_0x5a7659}=_0x3e9da4;if(!_0x41bb43[_0x30ee4f(0xe7)](_0x30ee4f(0x119)))return;_0x41bb43[_0x30ee4f(0xf5)](_0x30ee4f(0x119))[_0x30ee4f(0x104)](_0x3d4eef)[_0x30ee4f(0xf8)]&&_0x5a7659[_0x30ee4f(0xfc)](_0x3d4eef);}}
|
|
23
|
+
const _0x244545=_0x5adf;(function(_0x481d45,_0x16a58c){const _0x38ab95=_0x5adf,_0x3988f5=_0x481d45();while(!![]){try{const _0x3e717c=-parseInt(_0x38ab95(0x1ae))/0x1+-parseInt(_0x38ab95(0x16f))/0x2*(parseInt(_0x38ab95(0x15a))/0x3)+-parseInt(_0x38ab95(0x161))/0x4*(-parseInt(_0x38ab95(0x173))/0x5)+-parseInt(_0x38ab95(0x165))/0x6+-parseInt(_0x38ab95(0x19f))/0x7*(parseInt(_0x38ab95(0x15b))/0x8)+parseInt(_0x38ab95(0x1a8))/0x9+parseInt(_0x38ab95(0x1b2))/0xa;if(_0x3e717c===_0x16a58c)break;else _0x3988f5['push'](_0x3988f5['shift']());}catch(_0x356d23){_0x3988f5['push'](_0x3988f5['shift']());}}}(_0x512b,0xaba29));function _0x5adf(_0x5ba1d5,_0xdf6827){const _0x512bed=_0x512b();return _0x5adf=function(_0x5adf57,_0x17f4b4){_0x5adf57=_0x5adf57-0x14c;let _0x425eaa=_0x512bed[_0x5adf57];return _0x425eaa;},_0x5adf(_0x5ba1d5,_0xdf6827);}import{uid as _0x4b285b}from'ckeditor5/src/utils.js';import{Plugin as _0x4e3627}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x592c91}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x3784c6,ViewDataTransfer as _0x247e4a}from'ckeditor5/src/engine.js';function _0x512b(){const _0xbdf792=['span','afterInit','getRowIndexes','hideFakeVisualSelection','fire','isAtEnd','AIAssistantEditing','createSelection','_getDefaultInsertBelowPosition','ck-fake-ai-selection','init','pluginName','setSelection','createRange','join','getColumnIndexes','getChildren','table','off','_getTableRowCountFromContent','config','getMarkersGroup','first','ck-ai-assistant-ui_theme','getRange','isCollapsed','get','forEach','isContent','lowest','showFakeVisualSelection','getSelectedTableCells','canEditAt','data','selection','9541faWZmE','isOfficialPlugin','from','ai.assistant.useTheme','getChild','markers','isPremiumPlugin','getSelectedBlocks','markerRange','9710838ySzFOx','setData','start','insertContent','deleteContent','once','1092790QWMFWV','createPositionAfter','last','getRanges','19550750LUWVps','fromCharCode','end','createUIElement','resultRange','pop','has','insertRows','removeMarker','insertContentBelow','markerToElement','parse','for','_resetContentOfSelectedTableCells','DataTransfer','ai-ui','getRows','length','schema','push','getFirstRange','findAncestor','21426jehwum','112LOOLHf','contentInsertion','getLastMatchingPosition','addMarker','_pasteHTMLUsingClipboard','editor','236VxsNMf','filter','updateMarker','ck-fake-ai-selection_collapsed','4441554gXcTsW','getLastPosition','plugins','addClass','editing','conversion','TableUtils','editingDowncast','paste','element','358GJGGOY','_prepareTableInsertBelowPosition','document','model','67755HtaLPr','_createEmptyTableRows','markerToHighlight','text/html','createPositionAt','_getAISelection','map','change','href'];_0x512b=function(){return _0xbdf792;};return _0x512b();}const J=globalThis[_0x244545(0x152)],q=_0x244545(0x153);export class AIAssistantEditing extends _0x4e3627{static get[_0x244545(0x187)](){const _0x5c840b=_0x244545;return _0x5c840b(0x182);}static get[_0x244545(0x1a0)](){return!0x0;}static get[_0x244545(0x1a5)](){return!0x0;}[_0x244545(0x186)](){const _0x47a793=_0x244545,{editor:_0x145150}=this,_0xa6b240=[_0x47a793(0x185)];_0x145150[_0x47a793(0x190)][_0x47a793(0x196)](_0x47a793(0x1a2))&&_0xa6b240[_0x47a793(0x157)](_0x47a793(0x193)),_0x145150[_0x47a793(0x16a)][_0x47a793(0x150)](_0x47a793(0x16c))[_0x47a793(0x175)]({'model':q,'view':{'classes':_0xa6b240,'priority':0xc}}),_0x145150[_0x47a793(0x16a)][_0x47a793(0x150)](_0x47a793(0x16c))[_0x47a793(0x14e)]({'model':q,'view':(_0x1bdda4,{writer:_0x177a7c})=>{const _0x301c34=_0x47a793;if(!_0x1bdda4[_0x301c34(0x1a7)][_0x301c34(0x195)])return null;const _0x307f41=_0x177a7c[_0x301c34(0x1b5)](_0x301c34(0x17c));return _0x177a7c[_0x301c34(0x168)]([_0x301c34(0x185),_0x301c34(0x164)],_0x307f41),_0x307f41;}});}[_0x244545(0x17d)](){!async function(_0x390a12){const _0x38ecc9=_0x44bd3e([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]),_0x2a50a2=0x3dffc4e1,_0x1989bb=0x3df8be39^_0x2a50a2,_0x3dce74=window[_0x44bd3e([0x44,0x61,0x74,0x65])][_0x44bd3e([0x6e,0x6f,0x77])](),_0x31ed22=_0x390a12[_0x44bd3e([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5d4ca4=new window[(_0x44bd3e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x372ea8=>{_0x31ed22[_0x44bd3e([0x6f,0x6e,0x63,0x65])](_0x44bd3e([0x72,0x65,0x61,0x64,0x79]),_0x372ea8);}),_0x4f0815={[_0x44bd3e([0x6b,0x74,0x79])]:_0x44bd3e([0x45,0x43]),[_0x44bd3e([0x75,0x73,0x65])]:_0x44bd3e([0x73,0x69,0x67]),[_0x44bd3e([0x63,0x72,0x76])]:_0x44bd3e([0x50,0x2d,0x32,0x35,0x36]),[_0x44bd3e([0x78])]:_0x44bd3e([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]),[_0x44bd3e([0x79])]:_0x44bd3e([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]),[_0x44bd3e([0x61,0x6c,0x67])]:_0x44bd3e([0x45,0x53,0x32,0x35,0x36])},_0x349153=_0x31ed22[_0x44bd3e([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x44bd3e([0x67,0x65,0x74])](_0x44bd3e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xeadc1a(){let _0x55abd2,_0x1e261a=null,_0x27417a=null;try{if(_0x349153==_0x44bd3e([0x47,0x50,0x4c]))return _0x44bd3e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x55abd2=_0x40318e(),!_0x55abd2)return _0x44bd3e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x55abd2[_0x44bd3e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x27417a=_0x3eb1de(_0x55abd2[_0x44bd3e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x55abd2[_0x44bd3e([0x6a,0x74,0x69])])),await _0x561e9d()?_0x16759f()?_0x529a22()?_0x44bd3e([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x9ceaa9()?(_0x55abd2[_0x44bd3e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x44bd3e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1e261a=_0x19a5b2(_0x44bd3e([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x55abd2[_0x44bd3e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x44bd3e([0x74,0x72,0x69,0x61,0x6c])&&(_0x1e261a=_0x19a5b2(_0x44bd3e([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x497102()):_0x44bd3e([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x44bd3e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x44bd3e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x44bd3e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x529a22(){const _0x2f9c79=[_0x44bd3e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x44bd3e([0x74,0x72,0x69,0x61,0x6c])][_0x44bd3e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x55abd2[_0x44bd3e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3dce74/0x3e8:0xe10*_0x1989bb;return _0x55abd2[_0x44bd3e([0x65,0x78,0x70])]<_0x2f9c79;}function _0x16759f(){const _0xa2107f=_0x55abd2[_0x44bd3e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0xa2107f&&(!!_0xa2107f[_0x44bd3e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x44bd3e([0x2a]))||!!_0xa2107f[_0x44bd3e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x44bd3e([0x41,0x49])));}function _0x9ceaa9(){const _0x4b1204=_0x5adf,_0xddc725=_0x55abd2[_0x44bd3e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xddc725||0x0==_0xddc725[_0x44bd3e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x212c7b}=new URL(window[_0x44bd3e([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4b1204(0x17b)]);if(_0xddc725[_0x44bd3e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x212c7b))return!0x0;const _0x2cfaba=_0x212c7b[_0x44bd3e([0x73,0x70,0x6c,0x69,0x74])](_0x44bd3e([0x2e]));return _0xddc725[_0x44bd3e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3ba1bf=>_0x3ba1bf[_0x44bd3e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x44bd3e([0x2a])))[_0x44bd3e([0x6d,0x61,0x70])](_0x4b2391=>_0x4b2391[_0x44bd3e([0x73,0x70,0x6c,0x69,0x74])](_0x44bd3e([0x2e])))[_0x44bd3e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4e9893=>_0x4e9893[_0x44bd3e([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2cfaba[_0x44bd3e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x44bd3e([0x6d,0x61,0x70])](_0x502626=>Array(_0x2cfaba[_0x44bd3e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x502626[_0x44bd3e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x44bd3e([0x66,0x69,0x6c,0x6c])](_0x502626[0x0]===_0x44bd3e([0x2a])?_0x44bd3e([0x2a]):'')[_0x44bd3e([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x502626))[_0x44bd3e([0x73,0x6f,0x6d,0x65])](_0x4920ac=>_0x2cfaba[_0x44bd3e([0x65,0x76,0x65,0x72,0x79])]((_0x3a825c,_0x119640)=>_0x4920ac[_0x119640]===_0x3a825c||_0x4920ac[_0x119640]===_0x44bd3e([0x2a])));}function _0x497102(){return _0x1e261a&&_0x27417a?new window[(_0x44bd3e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x36a1a8,_0x45bfc0)=>{_0x1e261a[_0x44bd3e([0x74,0x68,0x65,0x6e])](_0x36a1a8,_0x45bfc0),_0x27417a[_0x44bd3e([0x74,0x68,0x65,0x6e])](_0x35d6be=>{_0x35d6be!=_0x44bd3e([0x56,0x61,0x6c,0x69,0x64])&&_0x36a1a8(_0x35d6be);},_0x45bfc0);}):_0x1e261a||_0x27417a||_0x44bd3e([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3eb1de(_0xd5b41d,_0x16e814){return new window[(_0x44bd3e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x445c28=>{if(_0x5db046())return _0x445c28(_0x44bd3e([0x56,0x61,0x6c,0x69,0x64]));_0x54cae6(),_0x31ed22[_0x44bd3e([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x44bd3e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x263b5e=!0x1;const _0x294939=_0x4b285b();function _0x2adb85(_0x6e1ddb){return!!_0x6e1ddb&&(typeof _0x6e1ddb===_0x44bd3e([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x6e1ddb===_0x44bd3e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x6e1ddb[_0x44bd3e([0x74,0x68,0x65,0x6e])]===_0x44bd3e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x6e1ddb[_0x44bd3e([0x63,0x61,0x74,0x63,0x68])]===_0x44bd3e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5dcf76(_0x3f02bb){_0x2a718b(_0x3f02bb)[_0x44bd3e([0x74,0x68,0x65,0x6e])](_0x1fdedb=>{if(!_0x1fdedb||_0x1fdedb[_0x44bd3e([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x44bd3e([0x6f,0x6b]))return _0x44bd3e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3b6a14(_0x48eb41(_0x294939+_0x16e814))!=_0x1fdedb[_0x44bd3e([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x44bd3e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x44bd3e([0x56,0x61,0x6c,0x69,0x64]);})[_0x44bd3e([0x74,0x68,0x65,0x6e])](_0x54aa10=>(_0x534821(),_0x54aa10),()=>{const _0x2fd2dc=_0x1f8985();return null==_0x2fd2dc?(_0x534821(),_0x44bd3e([0x56,0x61,0x6c,0x69,0x64])):_0x44bd3e(_0x3dce74-_0x2fd2dc>(0x19f340e1^_0x2a50a2)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x44bd3e([0x74,0x68,0x65,0x6e])](_0x445c28)[_0x44bd3e([0x63,0x61,0x74,0x63,0x68])](()=>{_0x445c28(_0x44bd3e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1412ee=0x3dc92a61^_0x2a50a2;function _0x534821(){const _0x1e79f8=_0x44bd3e([0x6c,0x6c,0x63,0x74,0x2d])+_0x3b6a14(_0x48eb41(_0xd5b41d)),_0xb8b3f=_0x45a6a4(_0x3b6a14(window[_0x44bd3e([0x4d,0x61,0x74,0x68])][_0x44bd3e([0x63,0x65,0x69,0x6c])](_0x3dce74/_0x1412ee)));window[_0x44bd3e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x44bd3e([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1e79f8,_0xb8b3f);}function _0x1f8985(){const _0x4f1ec0=_0x44bd3e([0x6c,0x6c,0x63,0x74,0x2d])+_0x3b6a14(_0x48eb41(_0xd5b41d)),_0x4a1bbc=window[_0x44bd3e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x44bd3e([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4f1ec0);return _0x4a1bbc?window[_0x44bd3e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x45a6a4(_0x4a1bbc),0x10)*_0x1412ee:null;}function _0x2a718b(_0x32294a){return new window[(_0x44bd3e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5db0fe,_0x1e5473)=>{_0x32294a[_0x44bd3e([0x74,0x68,0x65,0x6e])](_0x5db0fe,_0x1e5473),window[_0x44bd3e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1e5473,0x3dfe1021^_0x2a50a2);});}}_0x31ed22[_0x44bd3e([0x6f,0x6e])](_0x44bd3e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1e2cd0,_0x102763)=>{if(_0x102763[0x0]!=_0xd5b41d)return _0x445c28(_0x44bd3e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x102763[0x1]={..._0x102763[0x1],[_0x44bd3e([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x294939};},{[_0x44bd3e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x44bd3e([0x68,0x69,0x67,0x68])}),_0x31ed22[_0x44bd3e([0x6f,0x6e])](_0x44bd3e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5d03f2=>{_0x2adb85(_0x5d03f2[_0x44bd3e([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x263b5e=!0x0,_0x5dcf76(_0x5d03f2[_0x44bd3e([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x44bd3e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x44bd3e([0x6c,0x6f,0x77])}),_0x5d4ca4[_0x44bd3e([0x74,0x68,0x65,0x6e])](()=>{_0x263b5e||_0x445c28(_0x44bd3e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5db046(){return _0x31ed22[_0x44bd3e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x44bd3e([0x76,0x69,0x65,0x77])][_0x44bd3e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x44bd3e([0x61,0x75,0x74,0x6f]);}function _0x54cae6(){_0x31ed22[_0x44bd3e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x44bd3e([0x76,0x69,0x65,0x77])][_0x44bd3e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x44bd3e([0x61,0x75,0x74,0x6f]);}}function _0x19a5b2(_0x3203a5){const _0x399ca3=[new window[(_0x44bd3e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x435dff=>setTimeout(_0x435dff,0x3df6fa2d^_0x2a50a2)),_0x5d4ca4[_0x44bd3e([0x74,0x68,0x65,0x6e])](()=>new window[(_0x44bd3e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3d434e=>{let _0x2c183e=0x0;_0x31ed22[_0x44bd3e([0x6d,0x6f,0x64,0x65,0x6c])][_0x44bd3e([0x6f,0x6e])](_0x44bd3e([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1d00ea,_0x469edd)=>{_0x469edd[0x0][_0x44bd3e([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2c183e++,_0x2c183e==(0x3dffc519^_0x2a50a2)&&(_0x3d434e(),_0x1d00ea[_0x44bd3e([0x6f,0x66,0x66])]());});}))];return window[_0x44bd3e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x44bd3e([0x72,0x61,0x63,0x65])](_0x399ca3)[_0x44bd3e([0x74,0x68,0x65,0x6e])](()=>_0x3203a5);}async function _0x535ab6(){await _0x5d4ca4,_0x31ed22[_0x44bd3e([0x6d,0x6f,0x64,0x65,0x6c])][_0x44bd3e([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xf8ed4f,_0x31ed22[_0x44bd3e([0x6d,0x6f,0x64,0x65,0x6c])][_0x44bd3e([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xf8ed4f,_0x31ed22[_0x44bd3e([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x44bd3e([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4c66ef(_0x5f50a1){const _0x5d23c6=_0x3f1146();_0x31ed22[_0x5d23c6]=_0x44bd3e([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5f50a1,_0x5f50a1!=_0x44bd3e([0x56,0x61,0x6c,0x69,0x64])&&_0x535ab6();}function _0x3f1146(){const _0x5c6f60=window[_0x44bd3e([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x44bd3e([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x44bd3e([0x6e,0x6f,0x77])]())[_0x44bd3e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x44bd3e([0x2e]),'');let _0x5f082b=_0x44bd3e([0x6e]);for(let _0x264fba=0x0;_0x264fba<_0x5c6f60[_0x44bd3e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x264fba+=0x2){let _0x357679=window[_0x44bd3e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5c6f60[_0x44bd3e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x264fba,_0x264fba+0x2));_0x357679>=_0x38ecc9[_0x44bd3e([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x357679-=_0x38ecc9[_0x44bd3e([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5f082b+=_0x38ecc9[_0x357679];}return _0x5f082b;}function _0x40318e(){const _0x45101d=_0x349153[_0x44bd3e([0x73,0x70,0x6c,0x69,0x74])](_0x44bd3e([0x2e]));if(0x3!=_0x45101d[_0x44bd3e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3915db(_0x45101d[0x1]);function _0x3915db(_0x3e7ec2){const _0x5ad06d=_0x39c4a7(_0x3e7ec2);return _0x5ad06d&&_0x569bc0()?_0x5ad06d:null;function _0x569bc0(){const _0x21e578=_0x5ad06d[_0x44bd3e([0x6a,0x74,0x69])],_0x51b028=window[_0x44bd3e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x21e578[_0x44bd3e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x21e578[_0x44bd3e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x239add={..._0x5ad06d,[_0x44bd3e([0x6a,0x74,0x69])]:_0x21e578[_0x44bd3e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x21e578[_0x44bd3e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x239add[_0x44bd3e([0x76,0x63])],_0x48eb41(_0x239add)==_0x51b028;}}}async function _0x561e9d(){let _0x2342a8=!0x0;try{const _0x26c0da=_0x349153[_0x44bd3e([0x73,0x70,0x6c,0x69,0x74])](_0x44bd3e([0x2e])),[_0x5a48d4,_0x58a711,_0x2f4e2d]=_0x26c0da;return _0x48565f(_0x5a48d4),await _0x4f0892(_0x5a48d4,_0x58a711,_0x2f4e2d),_0x2342a8;}catch{return!0x1;}function _0x48565f(_0x2e07c5){const _0x2d1a77=_0x39c4a7(_0x2e07c5);_0x2d1a77&&_0x2d1a77[_0x44bd3e([0x61,0x6c,0x67])]==_0x44bd3e([0x45,0x53,0x32,0x35,0x36])||(_0x2342a8=!0x1);}async function _0x4f0892(_0x4aae1b,_0xba633c,_0x9e83bc){const _0x4bf886=window[_0x44bd3e([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x44bd3e([0x66,0x72,0x6f,0x6d])](_0xb18b55(_0x9e83bc),_0x4d735d=>_0x4d735d[_0x44bd3e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x417daa=new window[(_0x44bd3e([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x44bd3e([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4aae1b+_0x44bd3e([0x2e])+_0xba633c),_0x45228f=window[_0x44bd3e([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x44bd3e([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x45228f)return;const _0x266a8a=await _0x45228f[_0x44bd3e([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x44bd3e([0x6a,0x77,0x6b]),_0x4f0815,{[_0x44bd3e([0x6e,0x61,0x6d,0x65])]:_0x44bd3e([0x45,0x43,0x44,0x53,0x41]),[_0x44bd3e([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x44bd3e([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x44bd3e([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x45228f[_0x44bd3e([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x44bd3e([0x6e,0x61,0x6d,0x65])]:_0x44bd3e([0x45,0x43,0x44,0x53,0x41]),[_0x44bd3e([0x68,0x61,0x73,0x68])]:{[_0x44bd3e([0x6e,0x61,0x6d,0x65])]:_0x44bd3e([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x266a8a,_0x4bf886,_0x417daa)||(_0x2342a8=!0x1);}}function _0x39c4a7(_0x3f4fce){return _0x3f4fce[_0x44bd3e([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x44bd3e([0x65,0x79]))?JSON[_0x44bd3e([0x70,0x61,0x72,0x73,0x65])](_0xb18b55(_0x3f4fce)):null;}function _0xb18b55(_0x20d32f){return window[_0x44bd3e([0x61,0x74,0x6f,0x62])](_0x20d32f[_0x44bd3e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x44bd3e([0x2b]))[_0x44bd3e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x44bd3e([0x2f])));}function _0x48eb41(_0x1dee96){let _0x47ce17=0x1505;function _0x108d1e(_0x4d7449){for(let _0x2762f9=0x0;_0x2762f9<_0x4d7449[_0x44bd3e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2762f9++){const _0x230448=_0x4d7449[_0x44bd3e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2762f9);_0x47ce17=(_0x47ce17<<0x5)+_0x47ce17+_0x230448,_0x47ce17&=_0x47ce17;}}function _0x91d7ba(_0x40bd50){Array[_0x44bd3e([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x40bd50)?_0x40bd50[_0x44bd3e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x91d7ba):_0x40bd50&&typeof _0x40bd50==_0x44bd3e([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x44bd3e([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x40bd50)[_0x44bd3e([0x73,0x6f,0x72,0x74])]()[_0x44bd3e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4136f5,_0x1fe9d7])=>{_0x108d1e(_0x4136f5),_0x91d7ba(_0x1fe9d7);}):_0x108d1e(window[_0x44bd3e([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x40bd50));}return _0x91d7ba(_0x1dee96),_0x47ce17>>>0x0;}function _0x3b6a14(_0x36a9bd){return _0x36a9bd[_0x44bd3e([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x44bd3e([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x44bd3e([0x30]));}function _0x45a6a4(_0x2f4693){return _0x2f4693[_0x44bd3e([0x73,0x70,0x6c,0x69,0x74])]('')[_0x44bd3e([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x44bd3e([0x6a,0x6f,0x69,0x6e])]('');}function _0xf8ed4f(){}function _0x44bd3e(_0x14690e){const _0x9156d4=_0x5adf;return _0x14690e[_0x9156d4(0x179)](_0x4332e7=>String[_0x9156d4(0x1b3)](_0x4332e7))[_0x9156d4(0x18a)]('');}_0x4c66ef(await _0xeadc1a());}(this);}[_0x244545(0x19a)](){const _0x534983=_0x244545,_0x9c9b35=this[_0x534983(0x160)][_0x534983(0x172)];_0x9c9b35[_0x534983(0x17a)](_0x2d504a=>{const _0x2979a6=_0x534983,_0x4dde1f=_0x9c9b35[_0x2979a6(0x171)][_0x2979a6(0x19e)][_0x2979a6(0x1b1)]();let _0x45d07a=0x0;for(const _0x227a42 of _0x4dde1f){const _0x2930cc=q+':'+_0x45d07a;if(_0x9c9b35[_0x2979a6(0x1a4)][_0x2979a6(0x1b8)](_0x2930cc))_0x2d504a[_0x2979a6(0x163)](_0x2930cc,{'range':_0x227a42});else{if(_0x227a42[_0x2979a6(0x1aa)][_0x2979a6(0x181)]){const _0x23bb26=_0x227a42[_0x2979a6(0x1aa)][_0x2979a6(0x15d)](({item:_0x5307c3})=>!_0x9c9b35[_0x2979a6(0x156)][_0x2979a6(0x198)](_0x5307c3),{'boundaries':_0x227a42});_0x2d504a[_0x2979a6(0x15e)](_0x2930cc,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x2d504a[_0x2979a6(0x189)](_0x23bb26,_0x227a42[_0x2979a6(0x1b4)])});}else _0x2d504a[_0x2979a6(0x15e)](_0x2930cc,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x227a42});}_0x45d07a++;}});}[_0x244545(0x17f)](){const _0x1fc837=_0x244545,_0x13fa70=this[_0x1fc837(0x160)][_0x1fc837(0x172)],_0xa4b05b=Array[_0x1fc837(0x1a1)](this[_0x1fc837(0x160)][_0x1fc837(0x172)][_0x1fc837(0x1a4)][_0x1fc837(0x191)](q));_0xa4b05b[_0x1fc837(0x155)]&&_0x13fa70[_0x1fc837(0x17a)](_0x5abf48=>{const _0x38d43a=_0x1fc837;_0xa4b05b[_0x38d43a(0x197)](_0x425a8f=>{const _0x265afe=_0x38d43a;_0x5abf48[_0x265afe(0x14c)](_0x425a8f);});});}[_0x244545(0x1ab)](_0x41b641,_0x44f57e){const _0x3e336d=_0x244545,_0x585c96=this[_0x3e336d(0x178)](),_0x4ab48d=_0x44f57e||_0x585c96[_0x3e336d(0x158)]();this[_0x3e336d(0x160)][_0x3e336d(0x172)][_0x3e336d(0x19c)](_0x4ab48d)&&this[_0x3e336d(0x160)][_0x3e336d(0x172)][_0x3e336d(0x17a)](_0x3605e4=>{const _0x50a9dc=_0x3e336d;this[_0x50a9dc(0x17f)](),_0x44f57e||this[_0x50a9dc(0x151)](_0x3605e4,_0x585c96),this[_0x50a9dc(0x15f)]({'insertAt':_0x4ab48d,'writer':_0x3605e4,'html':_0x41b641});});}[_0x244545(0x14d)](_0x488764){const _0x58d7bb=_0x244545,{model:_0x5eb975}=this[_0x58d7bb(0x160)],_0x1d24f7=this[_0x58d7bb(0x178)]();_0x5eb975[_0x58d7bb(0x17a)](()=>{const _0x313612=_0x58d7bb,_0x32da93=this[_0x313612(0x170)](_0x488764,_0x1d24f7)||this[_0x313612(0x184)](_0x1d24f7);this[_0x313612(0x1ab)](_0x488764,_0x32da93);});}[_0x244545(0x178)](){const _0x55870b=_0x244545,_0x365055=this[_0x55870b(0x160)][_0x55870b(0x172)],_0x5f3825=Array[_0x55870b(0x1a1)](_0x365055[_0x55870b(0x1a4)][_0x55870b(0x191)](q))[_0x55870b(0x179)](_0xafaaeb=>_0xafaaeb[_0x55870b(0x194)]());return _0x365055[_0x55870b(0x183)](_0x5f3825);}[_0x244545(0x15f)]({writer:_0x3ab664,html:_0x673605,insertAt:_0x5614e2}){const _0x2eaf14=_0x244545,{view:_0x5edfaa}=this[_0x2eaf14(0x160)][_0x2eaf14(0x169)],_0x381d00=this[_0x2eaf14(0x160)][_0x2eaf14(0x167)][_0x2eaf14(0x196)](_0x592c91),_0x36afe8=new J();_0x36afe8[_0x2eaf14(0x1a9)](_0x2eaf14(0x176),_0x673605);const _0x47dfe3=new ClipboardEvent(_0x2eaf14(0x16d),{'clipboardData':_0x36afe8}),_0x1364eb=new _0x3784c6(_0x5edfaa,_0x47dfe3,{'dataTransfer':new _0x247e4a(_0x36afe8)});_0x3ab664[_0x2eaf14(0x188)](_0x5614e2);const _0x2aa84b=(_0x1cd588,_0x4dc104)=>{const _0x23b230=_0x2eaf14;_0x4dc104[_0x23b230(0x1b6)]&&_0x3ab664[_0x23b230(0x188)](_0x4dc104[_0x23b230(0x1b6)]);};_0x381d00[_0x2eaf14(0x1ad)](_0x2eaf14(0x15c),_0x2aa84b,{'priority':_0x2eaf14(0x199)}),_0x5edfaa[_0x2eaf14(0x171)][_0x2eaf14(0x180)](_0x2eaf14(0x16d),_0x1364eb),_0x381d00[_0x2eaf14(0x18e)](_0x2eaf14(0x15c),_0x2aa84b);}[_0x244545(0x184)](_0x49bda7){const _0x37d541=_0x244545,{model:_0xea8f8e}=this[_0x37d541(0x160)],_0x48ad73=Array[_0x37d541(0x1a1)](_0x49bda7[_0x37d541(0x1a6)]());return _0x48ad73[_0x37d541(0x155)]?_0xea8f8e[_0x37d541(0x1af)](_0x48ad73[_0x37d541(0x1b7)]()):_0x49bda7[_0x37d541(0x166)]();}[_0x244545(0x170)](_0x2f434c,_0x293db6){const _0x271c89=_0x244545,{model:_0x9e61b9,plugins:_0x51077c}=this[_0x271c89(0x160)];if(_0x51077c[_0x271c89(0x1b8)](_0x271c89(0x16b))){const _0x3c3569=_0x51077c[_0x271c89(0x196)](_0x271c89(0x16b))[_0x271c89(0x19b)](_0x293db6);if(_0x3c3569[_0x271c89(0x155)]){const _0x10bdf6=this[_0x271c89(0x18f)](_0x2f434c),_0x2c864d=this[_0x271c89(0x174)](_0x3c3569,_0x10bdf6);return _0x9e61b9[_0x271c89(0x177)](_0x2c864d,0x0);}}return null;}[_0x244545(0x18f)](_0x3a95a4){const _0x1b8496=_0x244545,_0x3ef1c9=this[_0x1b8496(0x160)][_0x1b8496(0x167)][_0x1b8496(0x196)](_0x1b8496(0x16b)),_0x3e61f5=this[_0x1b8496(0x160)][_0x1b8496(0x19d)][_0x1b8496(0x14f)](_0x3a95a4),_0x285257=Array[_0x1b8496(0x1a1)](_0x3e61f5[_0x1b8496(0x18c)]())[_0x1b8496(0x162)](_0x2b7a37=>_0x2b7a37['is'](_0x1b8496(0x16e),_0x1b8496(0x18d)));let _0x2fbc2b=0x0;return _0x285257[_0x1b8496(0x197)](_0x33019d=>{const _0x479b9b=_0x1b8496;_0x2fbc2b+=_0x3ef1c9[_0x479b9b(0x154)](_0x33019d);}),_0x2fbc2b;}[_0x244545(0x174)](_0x808bb3,_0x29044b){const _0x34e8d1=_0x244545,_0x407818=this[_0x34e8d1(0x160)][_0x34e8d1(0x167)][_0x34e8d1(0x196)](_0x34e8d1(0x16b)),_0xb4480=_0x407818[_0x34e8d1(0x17e)](_0x808bb3),_0x538bed=_0x407818[_0x34e8d1(0x18b)](_0x808bb3),_0xeea809=_0xb4480[_0x34e8d1(0x1b0)]+0x1,_0x4c92f1=_0x538bed[_0x34e8d1(0x192)],_0x177525=_0x808bb3[0x0][_0x34e8d1(0x159)](_0x34e8d1(0x18d));for(let _0x26e339=0x0;_0x26e339<_0x29044b;_0x26e339++)_0x407818[_0x34e8d1(0x1b9)](_0x177525,{'at':_0xeea809});return _0x177525[_0x34e8d1(0x1a3)](_0xeea809)[_0x34e8d1(0x1a3)](_0x4c92f1);}[_0x244545(0x151)](_0x5005f6,_0xe98bfd){const _0x8b686a=_0x244545,{plugins:_0x1ec096}=this[_0x8b686a(0x160)],{model:_0x2c2bda}=_0x5005f6;if(!_0x1ec096[_0x8b686a(0x1b8)](_0x8b686a(0x16b)))return;_0x1ec096[_0x8b686a(0x196)](_0x8b686a(0x16b))[_0x8b686a(0x19b)](_0xe98bfd)[_0x8b686a(0x155)]&&_0x2c2bda[_0x8b686a(0x1ac)](_0xe98bfd);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x4f2563=_0x575c;(function(_0x103aa5,_0x37ca03){const _0x4c846a=_0x575c,_0x4c6a38=_0x103aa5();while(!![]){try{const _0x28a7d2=-parseInt(_0x4c846a(0x8e))/0x1+parseInt(_0x4c846a(0x9e))/0x2*(parseInt(_0x4c846a(0xef))/0x3)+-parseInt(_0x4c846a(0x104))/0x4*(-parseInt(_0x4c846a(0xd4))/0x5)+-parseInt(_0x4c846a(0x8c))/0x6*(parseInt(_0x4c846a(0x83))/0x7)+-parseInt(_0x4c846a(0xbc))/0x8*(-parseInt(_0x4c846a(0xa1))/0x9)+parseInt(_0x4c846a(0xd0))/0xa*(-parseInt(_0x4c846a(0x115))/0xb)+parseInt(_0x4c846a(0x8d))/0xc*(-parseInt(_0x4c846a(0x10f))/0xd);if(_0x28a7d2===_0x37ca03)break;else _0x4c6a38['push'](_0x4c6a38['shift']());}catch(_0x420eff){_0x4c6a38['push'](_0x4c6a38['shift']());}}}(_0x7dc3,0xa1f45));import{Plugin as _0x2348ad}from'ckeditor5/src/core.js';import{IconMagicWand as _0x30689d,IconRobotPencil as _0x10d475}from'ckeditor5/src/icons.js';function _0x575c(_0x220754,_0x19a8ab){const _0x7dc34=_0x7dc3();return _0x575c=function(_0x575c5d,_0x1e961a){_0x575c5d=_0x575c5d-0x76;let _0x210c42=_0x7dc34[_0x575c5d];return _0x210c42;},_0x575c(_0x220754,_0x19a8ab);}import{first as _0x399f84,CKEditorError as _0x4c59f3}from'ckeditor5/src/utils.js';import{createDropdown as _0x1c7a1c,addMenuToDropdown as _0x10caa4,ButtonView as _0xcbe5f8,MenuBarMenuListItemButtonView as _0x3ed841,Dialog as _0x13e6da,DialogViewPosition as _0x1279a6,MenuBarMenuView as _0x21d2d8,MenuBarMenuListView as _0x41054e,MenuBarMenuListItemView as _0x39ce9b}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x1ef966,UNGROUPED_COMMANDS_GROUP_ID as _0xa8b680}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x1e01a6}from'./aiassistantediting.js';import{AIAdapter as _0xafe8a2}from'./adapters/aiadapter.js';import{getTranslation as _0x3e4d20}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0x3c22ea}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0x1fa64f}from'./ui/aiassistantcontroller.js';function _0x7dc3(){const _0x31d55c=['errorView','35hlOzlY','menuPanelClass','menuView','Error\x20during\x20AI\x20content\x20generation:\x20%0','change:enabledCommandsIds','queryView','view','insertContent','command:','330984TDsQAx','69036cicjfy','121107vHazDv','_initView','custom','_licenseKeyCheckInterval','invalid','trialLimit','isOn','add','\x20ck-ai-assistant-ui_theme','bind','aiAssistant','aiLicenseKeyTrialLimit','fire','_aiAdapter','_formView','polite','120shTPnr','menuitemcheckbox','order','9zDhvBl','panelView','get','change','requires','getData','buttons','execute','show','showUI','aiLicenseKeyDomainLimit','hideUI','_initAriaAiStatusChangeAnnouncements','map','AI\x20is\x20writing','isPremiumPlugin','items','length','tableOfContents','from','plugins','update','sort','DataTransfer','componentFactory','set','replace','3849648SMMtxC','commands','splice','AI\x20Assistant','_showLicenseError','ai.assistant.contentAreaCssClass','schema','announce','document','usageLimit','aiLicenseKeyUsageLimit','_uiCssClasses','aiLicenseKeyInvalid','setSelection','model','<p>','enabledCommandsIds','hideFakeVisualSelection','fieldView','reset','30170yczjFW','_createAIAssistantUIButton','EDITOR_TOP_SIDE','aiLicenseKeyValid','5927005kaNMkB','requiresContent','addMany','showFakeVisualSelection','push','render','isCollapsed','AIAssistantUI','_onExecute','listenTo','groupId','evaluationLimit','_getResolvedCommandsDefinitions','insertContentBelow','define','editor','aiLicenseKeyExpired','locale','copy','isOfficialPlugin','ck-ai-commands-dropdown\x20','rawHtml','menuBar:aiCommands','_forceMarkersCopy','includes','promptView','focus','38355QrVmXM','text','media','trim','REPLACE','showAIAssistant','isEnabled','comment','AIAssistant','_commandDefinitions','getSelectedElement','hide','currentContext','source','updatePosition','wasMoved','getLimitElement','licenseKey','textAdapter','_getMenuBarGroupButtons','init','4rlyXrF','Generated\x20content:\x20%0','getRanges','label','ck-ai-assistant-ui','replaceContent','contentArea','selection','filter','isFlat','change:value','806SCHlqp','</p>','domainLimit','text/html','change:isProcessing','aiLicenseKeyEvaluationLimit','3707upGBbf','pluginName','ai.assistant.useTheme','INSERT','_dialog','ai-commands-config-order-collision','ck-ai-assistant-button\x20','expired','aiCommands','_populateMenuBarMenu','_aiAssistantController','body','ai.assistant.commands','getSelectedBlocks','values','featureNotAllowed','destroy','groupLabel','once','forEach','change:isError','editing','children','aiLicenseKeyNotAllowed','updateView','AI\x20Commands','ai.assistant.disabledElements','prompt','menuBar:aiAssistant','delegate','config','buttonView'];_0x7dc3=function(){return _0x31d55c;};return _0x7dc3();}import{AIFormView as _0x51423d}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x2274a5}from'./ui/form/aiformtoolbarview.js';import'../../theme/aiassistant/ai.css';import'../../theme/aiassistant/ai-dropdown.css';import'../../theme/aiassistant/ai-form.css';const pt=globalThis[_0x4f2563(0xb8)];import{ClipboardMarkersUtils as _0x33a0d4}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x5cea20,ViewDataTransfer as _0x4df611}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0x2348ad{[_0x4f2563(0x100)];[_0x4f2563(0x91)];[_0x4f2563(0x119)];[_0x4f2563(0x9c)];[_0x4f2563(0x9b)];[_0x4f2563(0x11f)];[_0x4f2563(0xc7)]='';static get[_0x4f2563(0x116)](){const _0x4ef2ff=_0x4f2563;return _0x4ef2ff(0xdb);}static get[_0x4f2563(0xe7)](){return!0x0;}static get[_0x4f2563(0xb0)](){return!0x0;}static get[_0x4f2563(0xa5)](){return[_0x33a0d4,_0x1e01a6,_0xafe8a2,_0x13e6da];}constructor(_0x3651b7){const _0x2b5aa4=_0x4f2563;super(_0x3651b7),_0x3651b7[_0x2b5aa4(0x80)][_0x2b5aa4(0xe2)](_0x2b5aa4(0x7c),[_0x2b5aa4(0xf1),_0x2b5aa4(0xe9),_0x2b5aa4(0xb3)]),_0x3651b7[_0x2b5aa4(0x80)][_0x2b5aa4(0xe2)](_0x2b5aa4(0xc1),''),_0x3651b7[_0x2b5aa4(0x80)][_0x2b5aa4(0xe2)](_0x2b5aa4(0x117),!0x0),this[_0x2b5aa4(0xc7)]=_0x2b5aa4(0x108)+(_0x3651b7[_0x2b5aa4(0x80)][_0x2b5aa4(0xa3)](_0x2b5aa4(0x117))?_0x2b5aa4(0x96):'');}[_0x4f2563(0x103)](){const _0x224d9a=_0x4f2563,{editor:_0x14a16f}=this;this[_0x224d9a(0x9b)]=_0x14a16f[_0x224d9a(0xb5)][_0x224d9a(0xa3)](_0xafe8a2),this[_0x224d9a(0x119)]=_0x14a16f[_0x224d9a(0xb5)][_0x224d9a(0xa3)](_0x13e6da),this[_0x224d9a(0x9c)]=null,this[_0x224d9a(0xf8)]=this[_0x224d9a(0xe0)]();const _0x254cd7=new _0x3c22ea(_0x14a16f,Array[_0x224d9a(0xb4)](this[_0x224d9a(0xf8)][_0x224d9a(0x123)]()));_0x14a16f[_0x224d9a(0xbd)][_0x224d9a(0x95)](_0x224d9a(0xf4),_0x254cd7),_0x14a16f['ui'][_0x224d9a(0xb9)][_0x224d9a(0x95)](_0x224d9a(0x11d),_0x7b1022=>{const _0x4b33f1=_0x224d9a,_0x20510c=_0x1c7a1c(_0x7b1022);return _0x20510c[_0x4b33f1(0xba)]({'class':_0x4b33f1(0xe8)+this[_0x4b33f1(0xc7)]}),_0x20510c[_0x4b33f1(0x81)][_0x4b33f1(0xba)]({'label':_0x3e4d20(_0x7b1022,_0x4b33f1(0x7b)),'icon':_0x30689d,'tooltip':!0x0}),_0x20510c['on'](_0x4b33f1(0xa8),_0x5d2969=>this[_0x4b33f1(0xdc)](_0x5d2969[_0x4b33f1(0xfc)]['id'])),_0x10caa4(_0x20510c,_0x14a16f['ui'][_0x4b33f1(0x89)][_0x4b33f1(0x120)],function(_0xaea5b7){const _0x9477ca=_0x4b33f1,_0x3fd81a=_0x1ef966(_0xaea5b7[_0x9477ca(0x80)][_0x9477ca(0xa3)](_0x9477ca(0x121)),_0xaea5b7[_0x9477ca(0xe5)]),_0x5bc76b=wi(_0xaea5b7,_0x3fd81a)[_0x9477ca(0x10c)](_0xeecd20=>_0xeecd20[_0x9477ca(0xbd)][_0x9477ca(0xb2)]);if(0x1===_0x5bc76b[_0x9477ca(0xb2)])return wi(_0xaea5b7,_0x5bc76b[0x0][_0x9477ca(0xbd)])[_0x9477ca(0xae)](_0x5e5fae=>({'id':_0x5e5fae['id'],'label':_0x5e5fae[_0x9477ca(0x107)]}));return _0x5bc76b[_0x9477ca(0xae)](_0x1fc5f6=>{const _0x45e27b=_0x9477ca,{groupId:_0xbba598,groupLabel:_0xb36901,commands:_0x39c453}=_0x1fc5f6,_0x38838c=wi(_0xaea5b7,_0x39c453)[_0x45e27b(0xae)](_0x10c3d2=>({'id':_0x10c3d2['id'],'label':_0x10c3d2[_0x45e27b(0x107)]}));return{'id':_0xbba598,'menu':_0xb36901||_0xbba598,'children':_0x38838c};});}(_0x14a16f),{'ariaLabel':_0x3e4d20(_0x7b1022,_0x4b33f1(0x7b))}),_0x20510c[_0x4b33f1(0x85)][_0x4b33f1(0x84)]=_0x4b33f1(0xe8)+this[_0x4b33f1(0xc7)],_0x254cd7['on'](_0x4b33f1(0x87),_0x42752a),_0x20510c[_0x4b33f1(0x85)][_0x4b33f1(0x127)](_0x4b33f1(0xd9),_0x42752a),_0x20510c;function _0x42752a(){const _0x2b05c4=_0x4b33f1;_0x20510c[_0x2b05c4(0xf5)]=_0x254cd7[_0x2b05c4(0xcc)][_0x2b05c4(0xb2)]>0x0;for(const _0x4d511f of _0x20510c[_0x2b05c4(0x85)][_0x2b05c4(0xa7)])_0x4d511f[_0x2b05c4(0xf5)]=_0x254cd7[_0x2b05c4(0xcc)][_0x2b05c4(0xec)](_0x4d511f['id']);}}),_0x14a16f['ui'][_0x224d9a(0xb9)][_0x224d9a(0x95)](_0x224d9a(0xea),_0x712408=>{const _0x43d21b=_0x224d9a,_0x1f943c=new _0x21d2d8(_0x712408);_0x1f943c[_0x43d21b(0x81)][_0x43d21b(0xba)]({'label':_0x3e4d20(_0x712408,_0x43d21b(0x7b)),'icon':_0x30689d}),_0x1f943c[_0x43d21b(0x97)](_0x43d21b(0xf5))['to'](_0x254cd7,_0x43d21b(0xcc),_0x17a975=>_0x17a975[_0x43d21b(0xb2)]>0x0);const _0x5d0bc5=_0x1ef966(_0x14a16f[_0x43d21b(0x80)][_0x43d21b(0xa3)](_0x43d21b(0x121)),_0x712408);return this[_0x43d21b(0x11e)](_0x254cd7,_0x1f943c,_0x5d0bc5,_0x1b8d20=>this[_0x43d21b(0xdc)](_0x1b8d20)),_0x1f943c;}),_0x14a16f['ui'][_0x224d9a(0xb9)][_0x224d9a(0x95)](_0x224d9a(0x98),()=>{const _0xda2df9=_0x224d9a,_0x16a81c=this[_0xda2df9(0xd1)](_0xcbe5f8);return _0x16a81c[_0xda2df9(0xba)]({'tooltip':!0x0,'class':_0xda2df9(0x11b)+this[_0xda2df9(0xc7)]}),_0x16a81c;}),_0x14a16f['ui'][_0x224d9a(0xb9)][_0x224d9a(0x95)](_0x224d9a(0x7e),()=>{const _0xcd902d=_0x224d9a,_0x4055e8=this[_0xcd902d(0xd1)](_0x3ed841);return _0x4055e8[_0xcd902d(0xba)]({'role':_0xcd902d(0x9f)}),_0x4055e8;}),this[_0x224d9a(0x100)]=this[_0x224d9a(0xe3)][_0x224d9a(0x80)][_0x224d9a(0xa3)](_0x224d9a(0x100));const _0x4a4042=this[_0x224d9a(0xe3)];this[_0x224d9a(0x91)]=setInterval(()=>{const _0x1887d2=_0x224d9a;let _0x4c23d7;for(const _0x20bc57 in _0x4a4042){const _0x5bd47e=_0x20bc57,_0x82b1fd=_0x4a4042[_0x5bd47e];if(_0x1887d2(0xd3)==_0x82b1fd||_0x1887d2(0xc8)==_0x82b1fd||_0x1887d2(0xe4)==_0x82b1fd||_0x1887d2(0xab)==_0x82b1fd||_0x1887d2(0x79)==_0x82b1fd||_0x1887d2(0x114)==_0x82b1fd||_0x1887d2(0x99)==_0x82b1fd||_0x1887d2(0xc6)==_0x82b1fd){delete _0x4a4042[_0x5bd47e],_0x4c23d7=_0x82b1fd,clearInterval(this[_0x1887d2(0x91)]),this[_0x1887d2(0x91)]=void 0x0;break;}}_0x1887d2(0xc8)==_0x4c23d7&&_0x4a4042[_0x1887d2(0xc0)](_0x1887d2(0x92)),_0x1887d2(0xe4)==_0x4c23d7&&_0x4a4042[_0x1887d2(0xc0)](_0x1887d2(0x11c)),_0x1887d2(0xab)==_0x4c23d7&&_0x4a4042[_0x1887d2(0xc0)](_0x1887d2(0x111)),_0x1887d2(0x79)==_0x4c23d7&&_0x4a4042[_0x1887d2(0xc0)](_0x1887d2(0x124),_0x1887d2(0xf7)),_0x1887d2(0x114)==_0x4c23d7&&_0x4a4042[_0x1887d2(0xc0)](_0x1887d2(0xdf)),_0x1887d2(0x99)==_0x4c23d7&&_0x4a4042[_0x1887d2(0xc0)](_0x1887d2(0x93)),_0x1887d2(0xc6)==_0x4c23d7&&_0x4a4042[_0x1887d2(0xc0)](_0x1887d2(0xc5));},0x3e8);}[_0x4f2563(0x125)](){const _0x51bee4=_0x4f2563;super[_0x51bee4(0x125)](),this[_0x51bee4(0x91)]&&clearInterval(this[_0x51bee4(0x91)]);}[_0x4f2563(0xaa)](_0x3c0587='',_0x362990='',_0x48564c=_0x4f2563(0x90)){const _0x53c8c5=_0x4f2563,_0x5e12f6=this[_0x53c8c5(0xe3)],_0x38bc5c=_0x5e12f6[_0x53c8c5(0x77)][_0x53c8c5(0x89)],_0x15c2db=_0x5e12f6[_0x53c8c5(0xb5)][_0x53c8c5(0xa3)](_0x1e01a6),_0x3bfa7b=_0x5e12f6[_0x53c8c5(0xb5)][_0x53c8c5(0xa3)](_0x33a0d4);_0x15c2db[_0x53c8c5(0xd7)]();const _0x4fdf17=new pt(),_0x19a369=new ClipboardEvent(_0x53c8c5(0xe6),{'clipboardData':_0x4fdf17}),_0x56e231=new _0x4df611(_0x4fdf17),_0x1d5a2b=new _0x5cea20(_0x38bc5c,_0x19a369,{'dataTransfer':_0x56e231});_0x3bfa7b[_0x53c8c5(0xeb)](_0x53c8c5(0xf6),()=>{const _0x587dff=_0x53c8c5;_0x38bc5c[_0x587dff(0xc4)][_0x587dff(0x9a)](_0x587dff(0xe6),_0x1d5a2b);}),this[_0x53c8c5(0x9c)]||(this[_0x53c8c5(0x8f)](),this[_0x53c8c5(0x11f)]=new _0x1fa64f(_0x5e12f6,this[_0x53c8c5(0x9b)][_0x53c8c5(0x101)],this[_0x53c8c5(0x9c)]));let _0x212018=_0x56e231[_0x53c8c5(0xa6)](_0x53c8c5(0x112));const _0x577e12=_0x5e12f6[_0x53c8c5(0xca)][_0x53c8c5(0xc4)][_0x53c8c5(0x10b)],_0x203db1=Array[_0x53c8c5(0xb4)](_0x577e12[_0x53c8c5(0x106)]());0x1===_0x203db1[_0x53c8c5(0xb2)]&&_0x203db1[0x0][_0x53c8c5(0x10d)]&&!_0x577e12[_0x53c8c5(0xf9)]()&&''!==_0x212018[_0x53c8c5(0xbb)](/ /g,'')[_0x53c8c5(0xf2)]()&&(_0x212018=_0x53c8c5(0xcb)+_0x212018+_0x53c8c5(0x110)),this[_0x53c8c5(0x11f)][_0x53c8c5(0x7a)]({'actionId':_0x48564c,'query':_0x3c0587,'htmlContent':_0x212018,'label':_0x362990,'mainActionLabel':_0x2274a5[_0x5e12f6[_0x53c8c5(0xca)][_0x53c8c5(0xc4)][_0x53c8c5(0x10b)][_0x53c8c5(0xda)]?_0x53c8c5(0x118):_0x53c8c5(0xf3)]}),_0x53c8c5(0x98)!==this[_0x53c8c5(0x119)]['id']?this[_0x53c8c5(0x119)][_0x53c8c5(0xa9)]({'id':_0x53c8c5(0x98),'icon':_0x10d475,'title':_0x3e4d20(this[_0x53c8c5(0xe3)][_0x53c8c5(0xe5)],_0x53c8c5(0xbf)),'content':this[_0x53c8c5(0x9c)],'position':_0x1279a6[_0x53c8c5(0xd2)],'onShow':()=>{const _0x454e1c=_0x53c8c5;this[_0x454e1c(0x9c)][_0x454e1c(0xee)]();},'onHide':()=>{const _0x44a07d=_0x53c8c5;this[_0x44a07d(0x11f)][_0x44a07d(0xcf)](),_0x15c2db[_0x44a07d(0xcd)]();}}):this[_0x53c8c5(0x119)][_0x53c8c5(0x89)][_0x53c8c5(0xfe)]||this[_0x53c8c5(0x119)][_0x53c8c5(0x89)][_0x53c8c5(0xfd)]();}[_0x4f2563(0xac)](){const _0x4b6781=_0x4f2563;this[_0x4b6781(0x119)][_0x4b6781(0xfa)]();}[_0x4f2563(0xe0)](){const _0x8301c5=_0x4f2563,_0x1bf618=new Map(),_0xf7d95c=_0x1ef966(this[_0x8301c5(0xe3)][_0x8301c5(0x80)][_0x8301c5(0xa3)](_0x8301c5(0x121)),this[_0x8301c5(0xe3)][_0x8301c5(0xe5)]);for(const _0x4cecbd of _0xf7d95c)for(const _0xd0418b of _0x4cecbd[_0x8301c5(0xbd)])_0x1bf618[_0x8301c5(0xba)](_0xd0418b['id'],{..._0xd0418b,'groupId':_0x4cecbd[_0x8301c5(0xde)],'groupLabel':_0x4cecbd[_0x8301c5(0x126)]||_0x4cecbd[_0x8301c5(0xde)]});return _0x1bf618;}[_0x4f2563(0xd1)](_0x4d4af0){const _0x264625=_0x4f2563,_0x35f053=this[_0x264625(0xe3)],_0x388f63=_0x35f053[_0x264625(0xbd)][_0x264625(0xa3)](_0x264625(0xf4)),_0x2e3e8a=new _0x4d4af0(_0x35f053[_0x264625(0xe5)]);return _0x2e3e8a[_0x264625(0xba)]({'label':_0x3e4d20(_0x35f053[_0x264625(0xe5)],_0x264625(0xbf)),'icon':_0x10d475,'isToggleable':!0x0}),_0x2e3e8a[_0x264625(0x97)](_0x264625(0xf5))['to'](_0x388f63),_0x2e3e8a[_0x264625(0x97)](_0x264625(0x94))['to'](this[_0x264625(0x119)],'id',_0x300790=>_0x264625(0x98)===_0x300790),this[_0x264625(0xdd)](_0x2e3e8a,_0x264625(0xa8),()=>{const _0x43c018=_0x264625;_0x2e3e8a[_0x43c018(0x94)]?this[_0x43c018(0xac)]():_0x388f63[_0x43c018(0xa8)]();}),_0x2e3e8a;}[_0x4f2563(0x8f)](){const _0x4d8a03=_0x4f2563,_0x373629=this[_0x4d8a03(0xe3)][_0x4d8a03(0xb5)][_0x4d8a03(0xa3)](_0x1e01a6);this[_0x4d8a03(0x9c)]=new _0x51423d(this[_0x4d8a03(0xe3)][_0x4d8a03(0xe5)],this[_0x4d8a03(0xc7)],this[_0x4d8a03(0xe3)][_0x4d8a03(0x80)][_0x4d8a03(0xa3)](_0x4d8a03(0xc1))),this[_0x4d8a03(0x9c)]['on'](_0x4d8a03(0x10e),()=>{const _0x1d44f3=_0x4d8a03;this[_0x1d44f3(0x119)][_0x1d44f3(0x89)][_0x1d44f3(0xfe)]||this[_0x1d44f3(0x119)][_0x1d44f3(0x89)][_0x1d44f3(0xfd)]();}),this[_0x4d8a03(0x9c)][_0x4d8a03(0xed)][_0x4d8a03(0x88)][_0x4d8a03(0xce)]['on'](_0x4d8a03(0xb6),()=>{const _0x56c6b7=_0x4d8a03;this[_0x56c6b7(0x119)][_0x56c6b7(0x89)][_0x56c6b7(0xfe)]||this[_0x56c6b7(0x119)][_0x56c6b7(0x89)][_0x56c6b7(0xfd)]();}),this[_0x4d8a03(0xdd)](this[_0x4d8a03(0x9c)],_0x4d8a03(0x109),()=>{const _0xd47874=_0x4d8a03;_0x373629[_0xd47874(0x8a)](this[_0xd47874(0x11f)][_0xd47874(0xfb)]),this[_0xd47874(0xac)]();}),this[_0x4d8a03(0xdd)](this[_0x4d8a03(0x9c)],_0x4d8a03(0xe1),()=>{const _0x332097=_0x4d8a03;_0x373629[_0x332097(0xe1)](this[_0x332097(0x11f)][_0x332097(0xfb)]),this[_0x332097(0xac)]();}),this[_0x4d8a03(0xad)]();}[_0x4f2563(0xad)](){const _0x721d82=_0x4f2563,{locale:_0x4a77ec,ui:{ariaLiveAnnouncer:_0x396fb2}}=this[_0x721d82(0xe3)];this[_0x721d82(0x9c)][_0x721d82(0x10a)]['on'](_0x721d82(0x113),(_0xb6936c,_0x28f08d,_0x2b19ea)=>{const _0x589c35=_0x721d82,_0x2a0881=this[_0x589c35(0x11f)][_0x589c35(0xfb)];_0x2b19ea?_0x396fb2[_0x589c35(0xc3)](_0x3e4d20(_0x4a77ec,_0x589c35(0xaf))):_0x2a0881&&_0x396fb2[_0x589c35(0xc3)](_0x3e4d20(_0x4a77ec,_0x589c35(0x105),_0x2a0881),{'politeness':_0x589c35(0x9d),'isUnsafeHTML':!0x0});}),this[_0x721d82(0x9c)]['on'](_0x721d82(0x76),(_0xe8e74,_0x5619bb,_0x383098)=>{const _0x300b2a=_0x721d82;if(_0x383098){const _0x203654=this[_0x300b2a(0x9c)][_0x300b2a(0x82)][_0x300b2a(0xf0)];_0x396fb2[_0x300b2a(0xc3)](_0x3e4d20(_0x4a77ec,_0x300b2a(0x86),_0x203654));}});}[_0x4f2563(0xdc)](_0x48fc21){const _0x1d6ce7=_0x4f2563,_0x1bf201=this[_0x1d6ce7(0xf8)][_0x1d6ce7(0xa3)](_0x48fc21),_0x3e3682=this[_0x1d6ce7(0xe3)],_0x426c87=_0x3e3682[_0x1d6ce7(0xca)][_0x1d6ce7(0xc4)][_0x1d6ce7(0x10b)],_0x32bdcb=_0x3e3682[_0x1d6ce7(0xbd)][_0x1d6ce7(0xa3)](_0x1d6ce7(0xf4)),_0x3639d5=_0x3e3682[_0x1d6ce7(0xb5)][_0x1d6ce7(0xa3)](_0x1e01a6),_0x5bdcf0=''+(_0x1bf201[_0x1d6ce7(0xde)]!==_0xa8b680?_0x1bf201[_0x1d6ce7(0x126)]+':\x20':'')+_0x1bf201[_0x1d6ce7(0x107)];if(!0x1!==_0x1bf201[_0x1d6ce7(0xd5)]&&_0x426c87[_0x1d6ce7(0xda)]){const _0x3cdd8f=_0x399f84(_0x426c87[_0x1d6ce7(0x122)]())||_0x3e3682[_0x1d6ce7(0xca)][_0x1d6ce7(0xc2)][_0x1d6ce7(0xff)](_0x426c87);_0x3e3682[_0x1d6ce7(0xca)][_0x1d6ce7(0xa4)](_0x54aa7a=>{const _0x1476e2=_0x1d6ce7;_0x54aa7a[_0x1476e2(0xc9)](_0x3cdd8f,'in');});}_0x3639d5[_0x1d6ce7(0xd7)](),_0x32bdcb[_0x1d6ce7(0xa8)](_0x1bf201[_0x1d6ce7(0x7d)],_0x5bdcf0,_0x1d6ce7(0x8b)+_0x48fc21);}[_0x4f2563(0x11e)](_0x533d5c,_0x484859,_0x30f6fd,_0x482b8d){const _0x5ec23e=_0x4f2563,_0x337c9f=this[_0x5ec23e(0xe3)],_0x515bda=_0x337c9f[_0x5ec23e(0xe5)],_0x5c7136=new _0x41054e(_0x515bda),_0x174632=wi(_0x337c9f,_0x30f6fd)[_0x5ec23e(0x10c)](_0x2e6253=>_0x2e6253[_0x5ec23e(0xbd)][_0x5ec23e(0xb2)]);0x1===_0x174632[_0x5ec23e(0xb2)]?this[_0x5ec23e(0x102)]({'command':_0x533d5c,'commands':_0x174632[0x0][_0x5ec23e(0xbd)],'parentMenuView':_0x484859,'onExecute':_0x482b8d})[_0x5ec23e(0x128)](_0x278636=>_0x5c7136[_0x5ec23e(0xb1)][_0x5ec23e(0x95)](_0x278636)):_0x174632[_0x5ec23e(0x128)](({groupId:_0x282873,groupLabel:_0x4a324a,commands:_0x1feebf})=>{const _0x411c2d=_0x5ec23e,_0x3fd069=new _0x39ce9b(_0x515bda,_0x484859),_0x2c6bca=new _0x21d2d8(_0x515bda),_0x2a896d=new _0x41054e(_0x515bda),_0x384c37=this[_0x411c2d(0x102)]({'command':_0x533d5c,'commands':_0x1feebf,'parentMenuView':_0x2c6bca,'onExecute':_0x482b8d});_0x2c6bca[_0x411c2d(0x81)][_0x411c2d(0xba)]({'label':_0x4a324a||_0x282873}),_0x2c6bca[_0x411c2d(0x7f)](_0x411c2d(0xa8))['to'](_0x484859),_0x2a896d[_0x411c2d(0xb1)][_0x411c2d(0xd6)](_0x384c37),_0x2c6bca[_0x411c2d(0xa2)][_0x411c2d(0x78)][_0x411c2d(0x95)](_0x2a896d),_0x3fd069[_0x411c2d(0x78)][_0x411c2d(0x95)](_0x2c6bca),_0x5c7136[_0x411c2d(0xb1)][_0x411c2d(0x95)](_0x3fd069);}),_0x484859[_0x5ec23e(0xa2)][_0x5ec23e(0x78)][_0x5ec23e(0x95)](_0x5c7136);}[_0x4f2563(0x102)]({command:_0x4cb4ee,commands:_0x460159,parentMenuView:_0x1f95eb,onExecute:_0x27f673}){const _0x3d24db=_0x4f2563,_0x4812fc=this[_0x3d24db(0xe3)],_0xaff701=_0x4812fc[_0x3d24db(0xe5)];return wi(_0x4812fc,_0x460159)[_0x3d24db(0xae)](_0x4bdf1f=>{const _0x1f5654=_0x3d24db,_0x151af7=new _0x39ce9b(_0xaff701,_0x1f95eb),_0x377b60=new _0x3ed841(_0xaff701);return _0x377b60[_0x1f5654(0xba)]({'label':_0x4bdf1f[_0x1f5654(0x107)]}),_0x377b60[_0x1f5654(0x7f)](_0x1f5654(0xa8))['to'](_0x1f95eb),_0x377b60['on'](_0x1f5654(0xa8),()=>_0x27f673(_0x4bdf1f['id'])),_0x377b60[_0x1f5654(0x97)](_0x1f5654(0xf5))['to'](_0x4cb4ee,_0x1f5654(0xcc),_0x4be403=>_0x4be403[_0x1f5654(0xec)](_0x4bdf1f['id'])),_0x151af7[_0x1f5654(0x78)][_0x1f5654(0x95)](_0x377b60),_0x151af7;});}}function Ai(_0x38717e,_0x35d2d5){const _0x3ef0c0=_0x4f2563;return void 0x0!==_0x38717e[_0x3ef0c0(0xa0)]&&void 0x0===_0x35d2d5[_0x3ef0c0(0xa0)]?0x1:void 0x0===_0x38717e[_0x3ef0c0(0xa0)]&&void 0x0!==_0x35d2d5[_0x3ef0c0(0xa0)]?-0x1:void 0x0!==_0x38717e[_0x3ef0c0(0xa0)]&&void 0x0!==_0x35d2d5[_0x3ef0c0(0xa0)]?_0x38717e[_0x3ef0c0(0xa0)]-_0x35d2d5[_0x3ef0c0(0xa0)]:0x0;}function wi(_0x44ace5,_0x52376){const _0x4b9849=_0x4f2563;_0x52376[_0x4b9849(0xb7)](Ai);const _0x13ed41={},_0x4802fe=[];for(const _0xb22251 of _0x52376)if(void 0x0!==_0xb22251[_0x4b9849(0xa0)]){if(_0xb22251[_0x4b9849(0xa0)]in _0x13ed41)throw new _0x4c59f3(_0x4b9849(0x11a),_0x44ace5,{'conflictingDefinitions':[_0xb22251,_0x13ed41[_0xb22251[_0x4b9849(0xa0)]]]});_0x13ed41[_0xb22251[_0x4b9849(0xa0)]]=_0xb22251,_0x4802fe[_0x4b9849(0xbe)](_0xb22251[_0x4b9849(0xa0)],0x0,_0xb22251);}else _0x4802fe[_0x4b9849(0xd8)](_0xb22251);return _0x4802fe;}
|
|
23
|
+
const _0x3497f2=_0xb48c;(function(_0x38a9ea,_0x3cbda4){const _0x1674d3=_0xb48c,_0x521676=_0x38a9ea();while(!![]){try{const _0x12dedc=parseInt(_0x1674d3(0x1e4))/0x1+parseInt(_0x1674d3(0x1da))/0x2*(-parseInt(_0x1674d3(0x1a7))/0x3)+parseInt(_0x1674d3(0x20e))/0x4*(parseInt(_0x1674d3(0x18b))/0x5)+parseInt(_0x1674d3(0x225))/0x6+-parseInt(_0x1674d3(0x202))/0x7*(-parseInt(_0x1674d3(0x19c))/0x8)+-parseInt(_0x1674d3(0x1b1))/0x9*(-parseInt(_0x1674d3(0x1ff))/0xa)+parseInt(_0x1674d3(0x1a3))/0xb*(-parseInt(_0x1674d3(0x186))/0xc);if(_0x12dedc===_0x3cbda4)break;else _0x521676['push'](_0x521676['shift']());}catch(_0x3c0f3c){_0x521676['push'](_0x521676['shift']());}}}(_0x3919,0xb591e));import{Plugin as _0x4c1aaa}from'ckeditor5/src/core.js';import{IconMagicWand as _0x4d51ad,IconRobotPencil as _0x753514}from'ckeditor5/src/icons.js';import{first as _0x512ca3,CKEditorError as _0x24b643}from'ckeditor5/src/utils.js';import{createDropdown as _0x2ceb7b,addMenuToDropdown as _0x56663b,ButtonView as _0x2c8711,MenuBarMenuListItemButtonView as _0x32e2c8,Dialog as _0x472188,DialogViewPosition as _0x1c7782,MenuBarMenuView as _0x1a83af,MenuBarMenuListView as _0x4f32fd,MenuBarMenuListItemView as _0x42848f}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x3bb942,UNGROUPED_COMMANDS_GROUP_ID as _0x52b2bf}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x180ac4}from'./aiassistantediting.js';import{AIAdapter as _0x2a6857}from'./adapters/aiadapter.js';import{getTranslation as _0x53e2af}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0xc9838a}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0xdea816}from'./ui/aiassistantcontroller.js';import{AIFormView as _0x20e13d}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x11e731}from'./ui/form/aiformtoolbarview.js';import'../../theme/aiassistant/ai.css';import'../../theme/aiassistant/ai-dropdown.css';import'../../theme/aiassistant/ai-form.css';const J=globalThis[_0x3497f2(0x189)];function _0xb48c(_0x5db2d9,_0x2f322b){const _0x39197f=_0x3919();return _0xb48c=function(_0xb48c38,_0x320740){_0xb48c38=_0xb48c38-0x174;let _0x3c9bd5=_0x39197f[_0xb48c38];return _0x3c9bd5;},_0xb48c(_0x5db2d9,_0x2f322b);}import{ClipboardMarkersUtils as _0x3a94f0}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x562385,ViewDataTransfer as _0x10e4e6}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0x4c1aaa{[_0x3497f2(0x17d)];[_0x3497f2(0x191)];[_0x3497f2(0x215)];[_0x3497f2(0x21d)];[_0x3497f2(0x19d)];[_0x3497f2(0x1d9)];[_0x3497f2(0x20c)]='';static get[_0x3497f2(0x17f)](){const _0xcd712c=_0x3497f2;return _0xcd712c(0x1ae);}static get[_0x3497f2(0x220)](){return!0x0;}static get[_0x3497f2(0x205)](){return!0x0;}static get[_0x3497f2(0x1ed)](){return[_0x3a94f0,_0x180ac4,_0x2a6857,_0x472188];}constructor(_0x51ba86){const _0x310c41=_0x3497f2;super(_0x51ba86),_0x51ba86[_0x310c41(0x1d0)][_0x310c41(0x187)](_0x310c41(0x193),[_0x310c41(0x1de),_0x310c41(0x195),_0x310c41(0x176)]),_0x51ba86[_0x310c41(0x1d0)][_0x310c41(0x187)](_0x310c41(0x1a9),''),_0x51ba86[_0x310c41(0x1d0)][_0x310c41(0x187)](_0x310c41(0x183),!0x0),this[_0x310c41(0x20c)]=_0x310c41(0x1a6)+(_0x51ba86[_0x310c41(0x1d0)][_0x310c41(0x1fd)](_0x310c41(0x183))?_0x310c41(0x179):'');}[_0x3497f2(0x1c8)](){const _0x5cb9b6=_0x3497f2,{editor:_0x2cfe33}=this;this[_0x5cb9b6(0x19d)]=_0x2cfe33[_0x5cb9b6(0x1e1)][_0x5cb9b6(0x1fd)](_0x2a6857),this[_0x5cb9b6(0x215)]=_0x2cfe33[_0x5cb9b6(0x1e1)][_0x5cb9b6(0x1fd)](_0x472188),this[_0x5cb9b6(0x21d)]=null,this[_0x5cb9b6(0x1b7)]=this[_0x5cb9b6(0x1cc)]();const _0x5e10be=new _0xc9838a(_0x2cfe33,Array[_0x5cb9b6(0x1e5)](this[_0x5cb9b6(0x1b7)][_0x5cb9b6(0x17b)]()));_0x2cfe33[_0x5cb9b6(0x1c6)][_0x5cb9b6(0x208)](_0x5cb9b6(0x1fc),_0x5e10be),_0x2cfe33['ui'][_0x5cb9b6(0x1af)][_0x5cb9b6(0x208)](_0x5cb9b6(0x1d3),_0x11766f=>{const _0x259c4e=_0x5cb9b6,_0x482452=_0x2ceb7b(_0x11766f);return _0x482452[_0x259c4e(0x212)]({'class':_0x259c4e(0x1d2)+this[_0x259c4e(0x20c)]}),_0x482452[_0x259c4e(0x1f9)][_0x259c4e(0x212)]({'label':_0x53e2af(_0x11766f,_0x259c4e(0x221)),'icon':_0x4d51ad,'tooltip':!0x0}),_0x482452['on'](_0x259c4e(0x1e3),_0xcce690=>this[_0x259c4e(0x1d7)](_0xcce690[_0x259c4e(0x182)]['id'])),_0x56663b(_0x482452,_0x2cfe33['ui'][_0x259c4e(0x1fa)][_0x259c4e(0x1bc)],function(_0x548031){const _0x372007=_0x259c4e,_0x3e0368=_0x3bb942(_0x548031[_0x372007(0x1d0)][_0x372007(0x1fd)](_0x372007(0x1e0)),_0x548031[_0x372007(0x21c)]),_0x5b7845=hi(_0x548031,_0x3e0368)[_0x372007(0x1ee)](_0x5c99dc=>_0x5c99dc[_0x372007(0x1c6)][_0x372007(0x194)]);if(0x1===_0x5b7845[_0x372007(0x194)])return hi(_0x548031,_0x5b7845[0x0][_0x372007(0x1c6)])[_0x372007(0x18d)](_0x39727b=>({'id':_0x39727b['id'],'label':_0x39727b[_0x372007(0x1e9)]}));return _0x5b7845[_0x372007(0x18d)](_0x34df51=>{const _0x3d9afb=_0x372007,{groupId:_0x5021d0,groupLabel:_0x5425c9,commands:_0x31d7b6}=_0x34df51,_0x51b90a=hi(_0x548031,_0x31d7b6)[_0x3d9afb(0x18d)](_0x5d9579=>({'id':_0x5d9579['id'],'label':_0x5d9579[_0x3d9afb(0x1e9)]}));return{'id':_0x5021d0,'menu':_0x5425c9||_0x5021d0,'children':_0x51b90a};});}(_0x2cfe33),{'ariaLabel':_0x53e2af(_0x11766f,_0x259c4e(0x221))}),_0x482452[_0x259c4e(0x206)][_0x259c4e(0x1f8)]=_0x259c4e(0x1d2)+this[_0x259c4e(0x20c)],_0x5e10be['on'](_0x259c4e(0x188),_0x2b44a5),_0x482452[_0x259c4e(0x206)][_0x259c4e(0x213)](_0x259c4e(0x207),_0x2b44a5),_0x482452;function _0x2b44a5(){const _0x1725f6=_0x259c4e;_0x482452[_0x1725f6(0x19f)]=_0x5e10be[_0x1725f6(0x192)][_0x1725f6(0x194)]>0x0;for(const _0x445878 of _0x482452[_0x1725f6(0x206)][_0x1725f6(0x178)])_0x445878[_0x1725f6(0x19f)]=_0x5e10be[_0x1725f6(0x192)][_0x1725f6(0x18f)](_0x445878['id']);}}),_0x2cfe33['ui'][_0x5cb9b6(0x1af)][_0x5cb9b6(0x208)](_0x5cb9b6(0x1ef),_0x54f841=>{const _0x2b09e1=_0x5cb9b6,_0x3f5dc9=new _0x1a83af(_0x54f841);_0x3f5dc9[_0x2b09e1(0x1f9)][_0x2b09e1(0x212)]({'label':_0x53e2af(_0x54f841,_0x2b09e1(0x221)),'icon':_0x4d51ad}),_0x3f5dc9[_0x2b09e1(0x1db)](_0x2b09e1(0x19f))['to'](_0x5e10be,_0x2b09e1(0x192),_0x25f5c9=>_0x25f5c9[_0x2b09e1(0x194)]>0x0);const _0x4ed602=_0x3bb942(_0x2cfe33[_0x2b09e1(0x1d0)][_0x2b09e1(0x1fd)](_0x2b09e1(0x1e0)),_0x54f841);return this[_0x2b09e1(0x1b5)](_0x5e10be,_0x3f5dc9,_0x4ed602,_0x20635d=>this[_0x2b09e1(0x1d7)](_0x20635d)),_0x3f5dc9;}),_0x2cfe33['ui'][_0x5cb9b6(0x1af)][_0x5cb9b6(0x208)](_0x5cb9b6(0x21a),()=>{const _0x3c702c=_0x5cb9b6,_0x4b5e94=this[_0x3c702c(0x1f1)](_0x2c8711);return _0x4b5e94[_0x3c702c(0x212)]({'tooltip':!0x0,'class':_0x3c702c(0x1f2)+this[_0x3c702c(0x20c)]}),_0x4b5e94;}),_0x2cfe33['ui'][_0x5cb9b6(0x1af)][_0x5cb9b6(0x208)](_0x5cb9b6(0x1a5),()=>{const _0x54eda0=_0x5cb9b6,_0x62a42f=this[_0x54eda0(0x1f1)](_0x32e2c8);return _0x62a42f[_0x54eda0(0x212)]({'role':_0x54eda0(0x1df)}),_0x62a42f;}),this[_0x5cb9b6(0x17d)]=this[_0x5cb9b6(0x214)][_0x5cb9b6(0x1d0)][_0x5cb9b6(0x1fd)](_0x5cb9b6(0x17d));const _0x493989=this[_0x5cb9b6(0x214)];this[_0x5cb9b6(0x191)]=setInterval(()=>{const _0x45c249=_0x5cb9b6;let _0x19e43e;for(const _0x294343 in _0x493989){const _0x23d0ea=_0x294343,_0x44e908=_0x493989[_0x23d0ea];if(_0x45c249(0x20a)==_0x44e908||_0x45c249(0x1e6)==_0x44e908||_0x45c249(0x201)==_0x44e908||_0x45c249(0x198)==_0x44e908||_0x45c249(0x1f3)==_0x44e908||_0x45c249(0x222)==_0x44e908||_0x45c249(0x1c5)==_0x44e908||_0x45c249(0x1bb)==_0x44e908){delete _0x493989[_0x23d0ea],_0x19e43e=_0x44e908,clearInterval(this[_0x45c249(0x191)]),this[_0x45c249(0x191)]=void 0x0;break;}}_0x45c249(0x1e6)==_0x19e43e&&_0x493989[_0x45c249(0x18e)](_0x45c249(0x1d1)),_0x45c249(0x201)==_0x19e43e&&_0x493989[_0x45c249(0x18e)](_0x45c249(0x1a8)),_0x45c249(0x198)==_0x19e43e&&_0x493989[_0x45c249(0x18e)](_0x45c249(0x1eb)),_0x45c249(0x1f3)==_0x19e43e&&_0x493989[_0x45c249(0x18e)](_0x45c249(0x204),_0x45c249(0x1e8)),_0x45c249(0x222)==_0x19e43e&&_0x493989[_0x45c249(0x18e)](_0x45c249(0x223)),_0x45c249(0x1c5)==_0x19e43e&&_0x493989[_0x45c249(0x18e)](_0x45c249(0x19a)),_0x45c249(0x1bb)==_0x19e43e&&_0x493989[_0x45c249(0x18e)](_0x45c249(0x1a4));},0x3e8);}[_0x3497f2(0x1be)](){const _0x40f93c=_0x3497f2;super[_0x40f93c(0x1be)](),this[_0x40f93c(0x191)]&&clearInterval(this[_0x40f93c(0x191)]);}[_0x3497f2(0x20f)](_0x3ee2d0='',_0x2fed9c='',_0x2c4af1=_0x3497f2(0x18c)){const _0x4a640d=_0x3497f2,_0x5c9fdb=this[_0x4a640d(0x214)],_0xb6716e=_0x5c9fdb[_0x4a640d(0x1b6)][_0x4a640d(0x1fa)],_0x2b1242=_0x5c9fdb[_0x4a640d(0x1e1)][_0x4a640d(0x1fd)](_0x180ac4),_0x3226dc=_0x5c9fdb[_0x4a640d(0x1e1)][_0x4a640d(0x1fd)](_0x3a94f0);_0x2b1242[_0x4a640d(0x1cb)]();const _0x1d56b1=new J(),_0x2e5aef=new ClipboardEvent(_0x4a640d(0x197),{'clipboardData':_0x1d56b1}),_0x5354b1=new _0x10e4e6(_0x1d56b1),_0x22fe85=new _0x562385(_0xb6716e,_0x2e5aef,{'dataTransfer':_0x5354b1});_0x3226dc[_0x4a640d(0x174)](_0x4a640d(0x1c7),()=>{const _0x33ee51=_0x4a640d;_0xb6716e[_0x33ee51(0x1c1)][_0x33ee51(0x1fb)](_0x33ee51(0x197),_0x22fe85);}),this[_0x4a640d(0x21d)]||(this[_0x4a640d(0x1d8)](),this[_0x4a640d(0x1d9)]=new _0xdea816(_0x5c9fdb,this[_0x4a640d(0x19d)][_0x4a640d(0x19b)],this[_0x4a640d(0x21d)]));let _0x563a8e=_0x5354b1[_0x4a640d(0x1f6)](_0x4a640d(0x17c));const _0x316f6f=_0x5c9fdb[_0x4a640d(0x181)][_0x4a640d(0x1c1)][_0x4a640d(0x1aa)],_0x29397c=Array[_0x4a640d(0x1e5)](_0x316f6f[_0x4a640d(0x1ec)]());0x1===_0x29397c[_0x4a640d(0x194)]&&_0x29397c[0x0][_0x4a640d(0x1b9)]&&!_0x316f6f[_0x4a640d(0x184)]()&&''!==_0x563a8e[_0x4a640d(0x1a2)](/ /g,'')[_0x4a640d(0x1bf)]()&&(_0x563a8e=_0x4a640d(0x1f0)+_0x563a8e+_0x4a640d(0x1ac)),this[_0x4a640d(0x1d9)][_0x4a640d(0x1b4)]({'actionId':_0x2c4af1,'query':_0x3ee2d0,'htmlContent':_0x563a8e,'label':_0x2fed9c,'mainActionLabel':_0x11e731[_0x5c9fdb[_0x4a640d(0x181)][_0x4a640d(0x1c1)][_0x4a640d(0x1aa)][_0x4a640d(0x1f5)]?_0x4a640d(0x20d):_0x4a640d(0x1e7)]}),_0x4a640d(0x21a)!==this[_0x4a640d(0x215)]['id']?this[_0x4a640d(0x215)][_0x4a640d(0x1c0)]({'id':_0x4a640d(0x21a),'icon':_0x753514,'title':_0x53e2af(this[_0x4a640d(0x214)][_0x4a640d(0x21c)],_0x4a640d(0x196)),'content':this[_0x4a640d(0x21d)],'position':_0x1c7782[_0x4a640d(0x1a0)],'onShow':()=>{const _0x533f23=_0x4a640d;this[_0x533f23(0x21d)][_0x533f23(0x200)]();},'onHide':()=>{const _0x58b161=_0x4a640d;this[_0x58b161(0x1d9)][_0x58b161(0x180)](),_0x2b1242[_0x58b161(0x1ba)]();}}):this[_0x4a640d(0x215)][_0x4a640d(0x1fa)][_0x4a640d(0x18a)]||this[_0x4a640d(0x215)][_0x4a640d(0x1fa)][_0x4a640d(0x1cd)]();}[_0x3497f2(0x219)](){const _0x293fcf=_0x3497f2;this[_0x293fcf(0x215)][_0x293fcf(0x209)]();}[_0x3497f2(0x1cc)](){const _0x3685a2=_0x3497f2,_0x81877b=new Map(),_0x5208f0=_0x3bb942(this[_0x3685a2(0x214)][_0x3685a2(0x1d0)][_0x3685a2(0x1fd)](_0x3685a2(0x1e0)),this[_0x3685a2(0x214)][_0x3685a2(0x21c)]);for(const _0xfeaaf7 of _0x5208f0)for(const _0x1a2588 of _0xfeaaf7[_0x3685a2(0x1c6)])_0x81877b[_0x3685a2(0x212)](_0x1a2588['id'],{..._0x1a2588,'groupId':_0xfeaaf7[_0x3685a2(0x21f)],'groupLabel':_0xfeaaf7[_0x3685a2(0x1a1)]||_0xfeaaf7[_0x3685a2(0x21f)]});return _0x81877b;}[_0x3497f2(0x1f1)](_0x302af2){const _0x5c2296=_0x3497f2,_0x3ba6d6=this[_0x5c2296(0x214)],_0x37a296=_0x3ba6d6[_0x5c2296(0x1c6)][_0x5c2296(0x1fd)](_0x5c2296(0x1fc)),_0x33b848=new _0x302af2(_0x3ba6d6[_0x5c2296(0x21c)]);return _0x33b848[_0x5c2296(0x212)]({'label':_0x53e2af(_0x3ba6d6[_0x5c2296(0x21c)],_0x5c2296(0x196)),'icon':_0x753514,'isToggleable':!0x0}),_0x33b848[_0x5c2296(0x1db)](_0x5c2296(0x19f))['to'](_0x37a296),_0x33b848[_0x5c2296(0x1db)](_0x5c2296(0x224))['to'](this[_0x5c2296(0x215)],'id',_0x2512e3=>_0x5c2296(0x21a)===_0x2512e3),this[_0x5c2296(0x21b)](_0x33b848,_0x5c2296(0x1e3),()=>{const _0x8ed4c0=_0x5c2296;_0x33b848[_0x8ed4c0(0x224)]?this[_0x8ed4c0(0x219)]():_0x37a296[_0x8ed4c0(0x1e3)]();}),_0x33b848;}[_0x3497f2(0x1d8)](){const _0x506ba9=_0x3497f2,_0x415aff=this[_0x506ba9(0x214)][_0x506ba9(0x1e1)][_0x506ba9(0x1fd)](_0x180ac4);this[_0x506ba9(0x21d)]=new _0x20e13d(this[_0x506ba9(0x214)][_0x506ba9(0x21c)],this[_0x506ba9(0x20c)],this[_0x506ba9(0x214)][_0x506ba9(0x1d0)][_0x506ba9(0x1fd)](_0x506ba9(0x1a9))),this[_0x506ba9(0x21d)]['on'](_0x506ba9(0x217),()=>{const _0x1efd40=_0x506ba9;this[_0x1efd40(0x215)][_0x1efd40(0x1fa)][_0x1efd40(0x18a)]||this[_0x1efd40(0x215)][_0x1efd40(0x1fa)][_0x1efd40(0x1cd)]();}),this[_0x506ba9(0x21d)][_0x506ba9(0x17e)][_0x506ba9(0x1d5)][_0x506ba9(0x1cf)]['on'](_0x506ba9(0x175),()=>{const _0x52b900=_0x506ba9;this[_0x52b900(0x215)][_0x52b900(0x1fa)][_0x52b900(0x18a)]||this[_0x52b900(0x215)][_0x52b900(0x1fa)][_0x52b900(0x1cd)]();}),this[_0x506ba9(0x21b)](this[_0x506ba9(0x21d)],_0x506ba9(0x1b8),()=>{const _0x513595=_0x506ba9;_0x415aff[_0x513595(0x1ea)](this[_0x513595(0x1d9)][_0x513595(0x20b)]),this[_0x513595(0x219)]();}),this[_0x506ba9(0x21b)](this[_0x506ba9(0x21d)],_0x506ba9(0x1b3),()=>{const _0x2c5170=_0x506ba9;_0x415aff[_0x2c5170(0x1b3)](this[_0x2c5170(0x1d9)][_0x2c5170(0x20b)]),this[_0x2c5170(0x219)]();}),this[_0x506ba9(0x1e2)]();}[_0x3497f2(0x1e2)](){const _0x226dcc=_0x3497f2,{locale:_0x29b2ff,ui:{ariaLiveAnnouncer:_0x6f955e}}=this[_0x226dcc(0x214)];this[_0x226dcc(0x21d)][_0x226dcc(0x1f7)]['on'](_0x226dcc(0x1d6),(_0x202600,_0x43d62c,_0x547bdb)=>{const _0x1c9203=_0x226dcc,_0x4bc20a=this[_0x1c9203(0x1d9)][_0x1c9203(0x20b)];_0x547bdb?_0x6f955e[_0x1c9203(0x199)](_0x53e2af(_0x29b2ff,_0x1c9203(0x1dd))):_0x4bc20a&&_0x6f955e[_0x1c9203(0x199)](_0x53e2af(_0x29b2ff,_0x1c9203(0x1fe),_0x4bc20a),{'politeness':_0x1c9203(0x1d4),'isUnsafeHTML':!0x0});}),this[_0x226dcc(0x21d)]['on'](_0x226dcc(0x211),(_0x161d8f,_0x1890c3,_0x52f517)=>{const _0x59061d=_0x226dcc;if(_0x52f517){const _0x1f1204=this[_0x59061d(0x21d)][_0x59061d(0x1c2)][_0x59061d(0x218)];_0x6f955e[_0x59061d(0x199)](_0x53e2af(_0x29b2ff,_0x59061d(0x210),_0x1f1204));}});}[_0x3497f2(0x1d7)](_0x2f364f){const _0x14c532=_0x3497f2,_0x4e350f=this[_0x14c532(0x1b7)][_0x14c532(0x1fd)](_0x2f364f),_0xc1b451=this[_0x14c532(0x214)],_0x18af16=_0xc1b451[_0x14c532(0x181)][_0x14c532(0x1c1)][_0x14c532(0x1aa)],_0x33c630=_0xc1b451[_0x14c532(0x1c6)][_0x14c532(0x1fd)](_0x14c532(0x1fc)),_0x3cbe05=_0xc1b451[_0x14c532(0x1e1)][_0x14c532(0x1fd)](_0x180ac4),_0x1ce0b7=''+(_0x4e350f[_0x14c532(0x21f)]!==_0x52b2bf?_0x4e350f[_0x14c532(0x1a1)]+':\x20':'')+_0x4e350f[_0x14c532(0x1e9)];if(!0x1!==_0x4e350f[_0x14c532(0x17a)]&&_0x18af16[_0x14c532(0x1f5)]){const _0x1f53ef=_0x512ca3(_0x18af16[_0x14c532(0x1f4)]())||_0xc1b451[_0x14c532(0x181)][_0x14c532(0x1ce)][_0x14c532(0x21e)](_0x18af16);_0xc1b451[_0x14c532(0x181)][_0x14c532(0x1c4)](_0x5a42b1=>{const _0x19f3c4=_0x14c532;_0x5a42b1[_0x19f3c4(0x177)](_0x1f53ef,'in');});}_0x3cbe05[_0x14c532(0x1cb)](),_0x33c630[_0x14c532(0x1e3)](_0x4e350f[_0x14c532(0x1bd)],_0x1ce0b7,_0x14c532(0x1b0)+_0x2f364f);}[_0x3497f2(0x1b5)](_0xbc9ba4,_0xc68c24,_0x2cb49f,_0x38945b){const _0x528487=_0x3497f2,_0x462a55=this[_0x528487(0x214)],_0x4de096=_0x462a55[_0x528487(0x21c)],_0x3750d3=new _0x4f32fd(_0x4de096),_0x47cdcb=hi(_0x462a55,_0x2cb49f)[_0x528487(0x1ee)](_0x4fbf0f=>_0x4fbf0f[_0x528487(0x1c6)][_0x528487(0x194)]);0x1===_0x47cdcb[_0x528487(0x194)]?this[_0x528487(0x1c9)]({'command':_0xbc9ba4,'commands':_0x47cdcb[0x0][_0x528487(0x1c6)],'parentMenuView':_0xc68c24,'onExecute':_0x38945b})[_0x528487(0x216)](_0xe25861=>_0x3750d3[_0x528487(0x19e)][_0x528487(0x208)](_0xe25861)):_0x47cdcb[_0x528487(0x216)](({groupId:_0x454e03,groupLabel:_0x4f1be7,commands:_0x4f0df1})=>{const _0x4bff2e=_0x528487,_0x3c948c=new _0x42848f(_0x4de096,_0xc68c24),_0x4ac5d4=new _0x1a83af(_0x4de096),_0x57433d=new _0x4f32fd(_0x4de096),_0x24c06a=this[_0x4bff2e(0x1c9)]({'command':_0xbc9ba4,'commands':_0x4f0df1,'parentMenuView':_0x4ac5d4,'onExecute':_0x38945b});_0x4ac5d4[_0x4bff2e(0x1f9)][_0x4bff2e(0x212)]({'label':_0x4f1be7||_0x454e03}),_0x4ac5d4[_0x4bff2e(0x1ad)](_0x4bff2e(0x1e3))['to'](_0xc68c24),_0x57433d[_0x4bff2e(0x19e)][_0x4bff2e(0x1c3)](_0x24c06a),_0x4ac5d4[_0x4bff2e(0x185)][_0x4bff2e(0x1b2)][_0x4bff2e(0x208)](_0x57433d),_0x3c948c[_0x4bff2e(0x1b2)][_0x4bff2e(0x208)](_0x4ac5d4),_0x3750d3[_0x4bff2e(0x19e)][_0x4bff2e(0x208)](_0x3c948c);}),_0xc68c24[_0x528487(0x185)][_0x528487(0x1b2)][_0x528487(0x208)](_0x3750d3);}[_0x3497f2(0x1c9)]({command:_0x368966,commands:_0x156062,parentMenuView:_0x37c284,onExecute:_0x13acaf}){const _0x210a3a=_0x3497f2,_0x34176d=this[_0x210a3a(0x214)],_0x2164c7=_0x34176d[_0x210a3a(0x21c)];return hi(_0x34176d,_0x156062)[_0x210a3a(0x18d)](_0x6e67e4=>{const _0x15c299=_0x210a3a,_0x5a663c=new _0x42848f(_0x2164c7,_0x37c284),_0x5a1b49=new _0x32e2c8(_0x2164c7);return _0x5a1b49[_0x15c299(0x212)]({'label':_0x6e67e4[_0x15c299(0x1e9)]}),_0x5a1b49[_0x15c299(0x1ad)](_0x15c299(0x1e3))['to'](_0x37c284),_0x5a1b49['on'](_0x15c299(0x1e3),()=>_0x13acaf(_0x6e67e4['id'])),_0x5a1b49[_0x15c299(0x1db)](_0x15c299(0x19f))['to'](_0x368966,_0x15c299(0x192),_0x2addcc=>_0x2addcc[_0x15c299(0x18f)](_0x6e67e4['id'])),_0x5a663c[_0x15c299(0x1b2)][_0x15c299(0x208)](_0x5a1b49),_0x5a663c;});}}function _0x3919(){const _0x7841e0=['execute','613675vSIGKl','from','aiLicenseKeyInvalid','REPLACE','AIAssistant','label','insertContent','domainLimit','getRanges','requires','filter','menuBar:aiCommands','<p>','_createAIAssistantUIButton','ck-ai-assistant-button\x20','aiLicenseKeyNotAllowed','getSelectedBlocks','isCollapsed','getData','contentArea','menuPanelClass','buttonView','view','fire','showAIAssistant','get','Generated\x20content:\x20%0','10892610vTmJdK','focus','aiLicenseKeyExpired','644rVCoiw','order','featureNotAllowed','isPremiumPlugin','menuView','render','add','hide','aiLicenseKeyValid','currentContext','_uiCssClasses','INSERT','1493428TQKdaj','showUI','Error\x20during\x20AI\x20content\x20generation:\x20%0','change:isError','set','once','editor','_dialog','forEach','change:value','text','hideUI','aiAssistant','listenTo','locale','_formView','getLimitElement','groupId','isOfficialPlugin','AI\x20Commands','aiLicenseKeyEvaluationLimit','evaluationLimit','isOn','7785990uAvuOe','_forceMarkersCopy','update','tableOfContents','setSelection','buttons','\x20ck-ai-assistant-ui_theme','requiresContent','values','text/html','licenseKey','promptView','pluginName','reset','model','source','ai.assistant.useTheme','getSelectedElement','panelView','107652mLXNum','define','change:enabledCommandsIds','DataTransfer','wasMoved','10EupJCr','custom','map','_showLicenseError','includes','sort','_licenseKeyCheckInterval','enabledCommandsIds','ai.assistant.disabledElements','length','rawHtml','AI\x20Assistant','copy','aiLicenseKeyDomainLimit','announce','trialLimit','textAdapter','38816idwJgd','_aiAdapter','items','isEnabled','EDITOR_TOP_SIDE','groupLabel','replace','2849bQeyod','usageLimit','menuBar:aiAssistant','ck-ai-assistant-ui','337950WkjXmk','expired','ai.assistant.contentAreaCssClass','selection','push','</p>','delegate','AIAssistantUI','componentFactory','command:','9SNuneu','children','insertContentBelow','updateView','_populateMenuBarMenu','editing','_commandDefinitions','replaceContent','isFlat','hideFakeVisualSelection','aiLicenseKeyUsageLimit','body','prompt','destroy','trim','show','document','errorView','addMany','change','aiLicenseKeyTrialLimit','commands','comment','init','_getMenuBarGroupButtons','splice','showFakeVisualSelection','_getResolvedCommandsDefinitions','updatePosition','schema','fieldView','config','invalid','ck-ai-commands-dropdown\x20','aiCommands','polite','queryView','change:isProcessing','_onExecute','_initView','_aiAssistantController','20NlEqhm','bind','ai-commands-config-order-collision','AI\x20is\x20writing','media','menuitemcheckbox','ai.assistant.commands','plugins','_initAriaAiStatusChangeAnnouncements'];_0x3919=function(){return _0x7841e0;};return _0x3919();}function li(_0x23e409,_0x2f6716){const _0x52dba2=_0x3497f2;return void 0x0!==_0x23e409[_0x52dba2(0x203)]&&void 0x0===_0x2f6716[_0x52dba2(0x203)]?0x1:void 0x0===_0x23e409[_0x52dba2(0x203)]&&void 0x0!==_0x2f6716[_0x52dba2(0x203)]?-0x1:void 0x0!==_0x23e409[_0x52dba2(0x203)]&&void 0x0!==_0x2f6716[_0x52dba2(0x203)]?_0x23e409[_0x52dba2(0x203)]-_0x2f6716[_0x52dba2(0x203)]:0x0;}function hi(_0x12be83,_0x5cdada){const _0x1f0524=_0x3497f2;_0x5cdada[_0x1f0524(0x190)](li);const _0x35b36c={},_0x5a5dff=[];for(const _0x1fca95 of _0x5cdada)if(void 0x0!==_0x1fca95[_0x1f0524(0x203)]){if(_0x1fca95[_0x1f0524(0x203)]in _0x35b36c)throw new _0x24b643(_0x1f0524(0x1dc),_0x12be83,{'conflictingDefinitions':[_0x1fca95,_0x35b36c[_0x1fca95[_0x1f0524(0x203)]]]});_0x35b36c[_0x1fca95[_0x1f0524(0x203)]]=_0x1fca95,_0x5a5dff[_0x1f0524(0x1ca)](_0x1fca95[_0x1f0524(0x203)],0x0,_0x1fca95);}else _0x5a5dff[_0x1f0524(0x1ab)](_0x1fca95);return _0x5a5dff;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x16a3(){var _0x408316=['197451VpHlkb','409DkQzOm','319942QiWQep','297114lZQAfF','10uuNaNP','255eOgEJM','756996TmSmHr','328vyIjuS','702iVqlhC','1263867CMydby','72gYzcIZ','121MxczUG'];_0x16a3=function(){return _0x408316;};return _0x16a3();}(function(_0x3e6bc7,_0x295c1a){var _0x1ca4e7=_0x4ce9,_0x243fee=_0x3e6bc7();while(!![]){try{var _0xcfd993=-parseInt(_0x1ca4e7(0x134))/0x1*(-parseInt(_0x1ca4e7(0x13b))/0x2)+parseInt(_0x1ca4e7(0x13c))/0x3+-parseInt(_0x1ca4e7(0x13a))/0x4*(-parseInt(_0x1ca4e7(0x138))/0x5)+parseInt(_0x1ca4e7(0x136))/0x6+-parseInt(_0x1ca4e7(0x135))/0x7*(-parseInt(_0x1ca4e7(0x131))/0x8)+-parseInt(_0x1ca4e7(0x133))/0x9*(parseInt(_0x1ca4e7(0x137))/0xa)+parseInt(_0x1ca4e7(0x132))/0xb*(-parseInt(_0x1ca4e7(0x139))/0xc);if(_0xcfd993===_0x295c1a)break;else _0x243fee['push'](_0x243fee['shift']());}catch(_0x6fe3c7){_0x243fee['push'](_0x243fee['shift']());}}}(_0x16a3,0x4cac3));function _0x4ce9(_0x44860b,_0x32c84f){var _0x16a340=_0x16a3();return _0x4ce9=function(_0x4ce96d,_0xa91532){_0x4ce96d=_0x4ce96d-0x131;var _0x40a87a=_0x16a340[_0x4ce96d];return _0x40a87a;},_0x4ce9(_0x44860b,_0x32c84f);}import{CKEditorError as _0x564420}from'ckeditor5/src/utils.js';
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
function _0x3b2d(){const _0x476fa8=['18154Kstsvd','6784000NTNDNw','querySelector','5772208yhUdLr','div','endsWith','body','ai.assistant.preserveComments','editor','message','tryAgainEvent','_domParser','remove','text/html','_normalizeResponseHeadings','37oSuhHs','_parseAndNormalizeContent','catch','```','previousContext','makeRequest','5413940uYIYBc','reverse','stopListening','push','finally','custom','36bIfbLa','reset','htmlProcessor','markers','destroy','stopProcessing','get','data','clear','exec','_sanitizationContainer','once','abort','view','11671512ccPALB','ELEMENT_NODE','currentResponse','1556765aoWEWx','_isH1TagSupportEnabled','<h1></h1>','value','name','from','serializeToString','trim','_sanitizeHTML','innerHTML','processor','submitPrompt','prompt','element','length','_xmlSerializer','rename','11YswRns','handleError','render','substring','updateView','domConverter','match','startProcessing','finishProcessing','previousLabel','```html','nodeType','mainAction','document','set','childNodes','set:currentContext','toView','isRendered','setContentOf','config','_stripMarkdownSyntax','viewToDom','9ilmLYp','toModel','textAdapter','listenTo','6bZKETW','then','_handleQuery','startsWith','previousActionId','previousQuery','stringify','currentContext','editing','createElement','isProcessing','parseFromString','300708xfjaGD','initialContext'];_0x3b2d=function(){return _0x476fa8;};return _0x3b2d();}const _0x3b823e=_0x5456;function _0x5456(_0x55df1a,_0xee0c4b){const _0x3b2dc2=_0x3b2d();return _0x5456=function(_0x545625,_0x3b1141){_0x545625=_0x545625-0x183;let _0x4a57e5=_0x3b2dc2[_0x545625];return _0x4a57e5;},_0x5456(_0x55df1a,_0xee0c4b);}(function(_0x5b8a8a,_0x575c9a){const _0x5cc520=_0x5456,_0x41b8e3=_0x5b8a8a();while(!![]){try{const _0x413d4d=parseInt(_0x5cc520(0x1af))/0x1*(-parseInt(_0x5cc520(0x1a0))/0x2)+parseInt(_0x5cc520(0x19e))/0x3*(parseInt(_0x5cc520(0x1bb))/0x4)+-parseInt(_0x5cc520(0x1cc))/0x5*(-parseInt(_0x5cc520(0x192))/0x6)+-parseInt(_0x5cc520(0x1b5))/0x7+-parseInt(_0x5cc520(0x1a3))/0x8*(-parseInt(_0x5cc520(0x18e))/0x9)+parseInt(_0x5cc520(0x1a1))/0xa+parseInt(_0x5cc520(0x1dd))/0xb*(-parseInt(_0x5cc520(0x1c9))/0xc);if(_0x413d4d===_0x575c9a)break;else _0x41b8e3['push'](_0x41b8e3['shift']());}catch(_0x7c3bdb){_0x41b8e3['push'](_0x41b8e3['shift']());}}}(_0x3b2d,0x81c34));import{ObservableMixin as _0x91e3a6}from'ckeditor5/src/utils.js';import{AIRequestError as _0x371545}from'../adapters/aiadapter.js';import{Matcher as _0x23cca9,ViewUpcastWriter as _0x3d6c07}from'ckeditor5/src/engine.js';const ds=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export class AIAssistantController extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x91e3a6(){[_0x3b823e(0x1a8)];[_0x3b823e(0x190)];[_0x3b823e(0x1c8)];[_0x3b823e(0x1c5)];[_0x3b823e(0x1ab)];[_0x3b823e(0x1db)];constructor(_0x86f727,_0x3091aa,_0x2e8418){const _0x46d847=_0x3b823e;super(),this[_0x46d847(0x1a8)]=_0x86f727,this[_0x46d847(0x190)]=_0x3091aa,this[_0x46d847(0x1c5)]=document[_0x46d847(0x19b)](_0x46d847(0x1a4)),this[_0x46d847(0x1ab)]=new DOMParser(),this[_0x46d847(0x1db)]=new XMLSerializer(),this[_0x46d847(0x1c8)]=_0x2e8418,this[_0x46d847(0x185)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x46d847(0x187),(_0x53fc96,_0x9cfabe,_0x14a570)=>{const _0x22e41c=_0x46d847;this[_0x22e41c(0x1c8)][_0x22e41c(0x1cf)]=this[_0x22e41c(0x1d4)](_0x14a570);}),this[_0x46d847(0x191)](this[_0x46d847(0x1c8)],_0x46d847(0x1d7),(_0x24ac52,_0x179104)=>{const _0x394f39=_0x46d847,_0x51d69a=this[_0x394f39(0x199)]||this[_0x394f39(0x19f)];this[_0x394f39(0x194)](_0x179104,_0x51d69a,_0x394f39(0x1ba));}),this[_0x46d847(0x191)](this[_0x46d847(0x1c8)],_0x46d847(0x1aa),()=>{const _0x47688d=_0x46d847;this[_0x47688d(0x1c8)][_0x47688d(0x1d8)]=this[_0x47688d(0x1e6)],this[_0x47688d(0x194)](this[_0x47688d(0x197)],this[_0x47688d(0x1b3)],this[_0x47688d(0x196)],this[_0x47688d(0x1e6)]);}),this[_0x46d847(0x191)](this[_0x46d847(0x1c8)],_0x46d847(0x1c0),()=>{const _0x157e79=_0x46d847;this[_0x157e79(0x1c0)]();});}[_0x3b823e(0x1bf)](){const _0x52ee9b=_0x3b823e;this[_0x52ee9b(0x1b7)]();}async[_0x3b823e(0x1e1)]({actionId:_0x38d98c,query:_0x5135d6,htmlContent:_0x1f550f,label:_0x40dcd4,mainActionLabel:_0x3c7d6b}){const _0x33571a=_0x3b823e;this[_0x33571a(0x1c8)][_0x33571a(0x1d8)]=_0x40dcd4,this[_0x33571a(0x1c8)][_0x33571a(0x183)]=_0x3c7d6b,this[_0x33571a(0x19f)]=_0x1f550f,_0x5135d6&&(this[_0x33571a(0x1c8)][_0x33571a(0x189)]?this[_0x33571a(0x194)](_0x5135d6,_0x1f550f,_0x38d98c,_0x40dcd4):this[_0x33571a(0x1c8)][_0x33571a(0x1c6)](_0x33571a(0x1df),()=>{const _0x1ff6bd=_0x33571a;this[_0x1ff6bd(0x194)](_0x5135d6,_0x1f550f,_0x38d98c,_0x40dcd4);}));}[_0x3b823e(0x1c0)](){const _0x10c41b=_0x3b823e;this[_0x10c41b(0x19c)]&&(this[_0x10c41b(0x19c)]=!0x1,this[_0x10c41b(0x1c8)][_0x10c41b(0x1e5)](),this[_0x10c41b(0x190)][_0x10c41b(0x1c7)]());}[_0x3b823e(0x1bc)](){const _0x9887=_0x3b823e;this[_0x9887(0x19f)]='',this[_0x9887(0x199)]='',this[_0x9887(0x1cb)]='',this[_0x9887(0x1b3)]='',this[_0x9887(0x197)]='',this[_0x9887(0x1e6)]='',this[_0x9887(0x196)]=void 0x0,this[_0x9887(0x1c8)][_0x9887(0x1bc)](),this[_0x9887(0x1c0)]();}async[_0x3b823e(0x194)](_0xca9aac,_0x4d7f9c,_0xb25b78,_0x4dc79a){const _0x1208bb=_0x3b823e;return this[_0x1208bb(0x19c)]=!0x0,this[_0x1208bb(0x1c8)][_0x1208bb(0x1e4)](),this[_0x1208bb(0x1b3)]=_0x4d7f9c,this[_0x1208bb(0x197)]=_0xca9aac,this[_0x1208bb(0x1e6)]=_0x4dc79a||_0xca9aac,this[_0x1208bb(0x196)]=_0xb25b78,new Promise(_0x57e4d6=>{const _0x3a6a00=_0x1208bb;this[_0x3a6a00(0x190)][_0x3a6a00(0x1b4)]({'query':_0xca9aac,'context':_0x4d7f9c,'onData':_0x53690e=>{const _0xc8e8a=_0x3a6a00;this[_0xc8e8a(0x1cb)]=_0x53690e,this[_0xc8e8a(0x199)]=this[_0xc8e8a(0x1b0)](this[_0xc8e8a(0x1cb)]);},'actionId':_0xb25b78})[_0x3a6a00(0x193)](()=>{const _0x59ea43=_0x3a6a00;!this[_0x59ea43(0x199)]&&this[_0x59ea43(0x1cb)]&&(this[_0x59ea43(0x199)]=this[_0x59ea43(0x1b0)](this[_0x59ea43(0x1cb)],!0x0));})[_0x3a6a00(0x1b1)](_0x3d5b34=>{const _0x4c68b2=_0x3a6a00;_0x3d5b34 instanceof _0x371545?this[_0x4c68b2(0x1c8)][_0x4c68b2(0x1de)](_0x3d5b34[_0x4c68b2(0x1a9)]):this[_0x4c68b2(0x1c8)][_0x4c68b2(0x1de)](),_0x57e4d6();})[_0x3a6a00(0x1b9)](()=>{const _0x48e934=_0x3a6a00;this[_0x48e934(0x1c0)](),_0x57e4d6();});});}[_0x3b823e(0x1b0)](_0x2d2a32,_0x3f1195=!0x1){const _0x357286=_0x3b823e,_0x535c62=ds[_0x357286(0x1c4)](_0x2d2a32);_0x2d2a32=_0x535c62?_0x2d2a32[_0x357286(0x1e0)](_0x535c62[0x1][_0x357286(0x1da)]):_0x2d2a32[_0x357286(0x1da)]<0x64&&!_0x3f1195?'':this[_0x357286(0x18c)](_0x2d2a32);const _0x5d405c=this[_0x357286(0x1ab)][_0x357286(0x19d)](_0x2d2a32,_0x357286(0x1ad));if(_0x535c62){const _0x5711b9=Array[_0x357286(0x1d1)](_0x5d405c[_0x357286(0x1a6)][_0x357286(0x186)]);_0x5711b9[_0x357286(0x1b6)]();for(const _0x3b79c8 of _0x5711b9){if(_0x3b79c8[_0x357286(0x1e8)]==Node[_0x357286(0x1ca)])break;_0x3b79c8[_0x357286(0x1ac)]();}}const _0x258a7d=this[_0x357286(0x1a8)][_0x357286(0x1c2)][_0x357286(0x1d6)][_0x357286(0x188)](this[_0x357286(0x1db)][_0x357286(0x1d2)](_0x5d405c[_0x357286(0x1a6)]));this[_0x357286(0x1cd)]()||this[_0x357286(0x1ae)](_0x258a7d);const _0x4064c3=this[_0x357286(0x1a8)][_0x357286(0x18b)][_0x357286(0x1c1)](_0x357286(0x1a7)),_0x2f8a52=this[_0x357286(0x1a8)][_0x357286(0x1c2)][_0x357286(0x18f)](_0x258a7d);return _0x4064c3||_0x2f8a52[_0x357286(0x1be)][_0x357286(0x1c3)](),this[_0x357286(0x1a8)][_0x357286(0x1c2)][_0x357286(0x198)](_0x2f8a52);}[_0x3b823e(0x1ae)](_0x4c3420){const _0x487cee=_0x3b823e,_0x40fcd5=new _0x3d6c07(this[_0x487cee(0x1a8)][_0x487cee(0x19a)][_0x487cee(0x1c8)][_0x487cee(0x184)]),_0x5c54e8=new _0x23cca9({'name':/^h[1-5]$/}),_0x40fe7c=[];let _0x3bb90c=!0x1;for(const _0x16d56a of _0x4c3420)_0x16d56a['is'](_0x487cee(0x1d9))&&_0x5c54e8[_0x487cee(0x1e3)](_0x16d56a)&&(_0x40fe7c[_0x487cee(0x1b8)](_0x16d56a),'h1'==_0x16d56a[_0x487cee(0x1d0)]&&(_0x3bb90c=!0x0));if(_0x3bb90c){for(const _0x318203 of _0x40fe7c)_0x40fcd5[_0x487cee(0x1dc)]('h'+(parseInt(_0x318203[_0x487cee(0x1d0)][0x1])+0x1),_0x318203);}}[_0x3b823e(0x1cd)](){const _0xff1efb=_0x3b823e,{data:_0x12d990,editing:_0x326dea}=this[_0xff1efb(0x1a8)],_0x2d51d1=_0x12d990[_0xff1efb(0x1bd)][_0xff1efb(0x188)](_0xff1efb(0x1ce)),_0xa59368=_0x12d990[_0xff1efb(0x188)](_0x12d990[_0xff1efb(0x18f)](_0x2d51d1));return!!_0x326dea[_0xff1efb(0x1c8)][_0xff1efb(0x1e2)][_0xff1efb(0x18d)](_0xa59368)[_0xff1efb(0x1a2)]('h1');}[_0x3b823e(0x1d4)](_0x445f1f){const _0x232f56=_0x3b823e;return this[_0x232f56(0x1a8)][_0x232f56(0x19a)][_0x232f56(0x1c8)][_0x232f56(0x1e2)][_0x232f56(0x18a)](this[_0x232f56(0x1c5)],_0x445f1f),this[_0x232f56(0x1c5)][_0x232f56(0x1d5)];}[_0x3b823e(0x18c)](_0xdaf0f5){const _0x2e4d4c=_0x3b823e,_0xb95fa6=_0xdaf0f5[_0x2e4d4c(0x1d3)]();return _0xb95fa6[_0x2e4d4c(0x195)](_0x2e4d4c(0x1e7))?_0xb95fa6[_0x2e4d4c(0x1a5)](_0x2e4d4c(0x1b2))?_0xb95fa6[_0x2e4d4c(0x1e0)](0x7,_0xb95fa6[_0x2e4d4c(0x1da)]-0x3):_0xb95fa6[_0x2e4d4c(0x1e0)](0x7):_0xdaf0f5;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4c5d02=_0xe252;(function(_0x418169,_0x26bd57){const _0x2d7791=_0xe252,_0x2f2eda=_0x418169();while(!![]){try{const _0x1226c3=parseInt(_0x2d7791(0x10e))/0x1*(parseInt(_0x2d7791(0x139))/0x2)+parseInt(_0x2d7791(0x104))/0x3*(parseInt(_0x2d7791(0x126))/0x4)+parseInt(_0x2d7791(0xfc))/0x5*(-parseInt(_0x2d7791(0x141))/0x6)+-parseInt(_0x2d7791(0x115))/0x7+parseInt(_0x2d7791(0xfa))/0x8+-parseInt(_0x2d7791(0x13c))/0x9+-parseInt(_0x2d7791(0x118))/0xa*(-parseInt(_0x2d7791(0x145))/0xb);if(_0x1226c3===_0x26bd57)break;else _0x2f2eda['push'](_0x2f2eda['shift']());}catch(_0x25ad06){_0x2f2eda['push'](_0x2f2eda['shift']());}}}(_0x3e49,0xd410e));import{global as _0x1dccf1}from'ckeditor5/src/utils.js';function _0xe252(_0x33d669,_0x59bcc8){const _0x3e49f4=_0x3e49();return _0xe252=function(_0xe25266,_0x44768e){_0xe25266=_0xe25266-0xf8;let _0x2a0c42=_0x3e49f4[_0xe25266];return _0x2a0c42;},_0xe252(_0x33d669,_0x59bcc8);}import{View as _0x19aebe,ButtonView as _0x51e620,SpinnerView as _0x36e3fe}from'ckeditor5/src/ui.js';import{IconCheck as _0x16eaa7,IconCopy as _0x1ba513}from'ckeditor5/src/icons.js';import{getTranslation as _0x1c3b31}from'../../utils/common-translations.js';export class AIFormContentArea extends _0x19aebe{[_0x4c5d02(0x113)];[_0x4c5d02(0x11f)];constructor(_0x177577,_0x27840b=''){const _0x40d3e2=_0x4c5d02;super(_0x177577),this[_0x40d3e2(0x148)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x5aa719=this[_0x40d3e2(0x149)];this[_0x40d3e2(0x113)]=new ContentFieldView(_0x177577,_0x27840b),this[_0x40d3e2(0x11f)]=this[_0x40d3e2(0x124)](),this[_0x40d3e2(0x117)]({'tag':_0x40d3e2(0x137),'attributes':{'class':['ck',_0x40d3e2(0x130),_0x5aa719['if'](_0x40d3e2(0x142),_0x40d3e2(0x129),_0x1900e9=>!_0x1900e9)],'tabindex':'-1'},'children':[{'tag':_0x40d3e2(0x137),'attributes':{'class':['ck',_0x40d3e2(0x10d),_0x5aa719['if'](_0x40d3e2(0x110),_0x40d3e2(0x13a))]},'children':[this[_0x40d3e2(0x113)],{'tag':_0x40d3e2(0x137),'attributes':{'class':['ck',_0x40d3e2(0x12a)]},'children':[this[_0x40d3e2(0x11f)]]}]}]});}[_0x4c5d02(0x14b)](){const _0x50d1be=_0x4c5d02;super[_0x50d1be(0x14b)](),this[_0x50d1be(0x134)]&&this[_0x50d1be(0x113)][_0x50d1be(0x138)](this[_0x50d1be(0x134)]);let _0x52f402=!0x1;this['on'](_0x50d1be(0x105),(_0x2becc3,_0x2cda93,_0x16b97d)=>{const _0x4cdcda=_0x50d1be,_0x5696e7=!this[_0x4cdcda(0x113)][_0x4cdcda(0x100)][_0x4cdcda(0x116)](_0x4cdcda(0x133));this[_0x4cdcda(0x113)][_0x4cdcda(0x138)](_0x16b97d),this[_0x4cdcda(0x110)]&&_0x5696e7&&!_0x52f402&&this[_0x4cdcda(0x100)][_0x4cdcda(0x135)]({'top':this[_0x4cdcda(0x100)][_0x4cdcda(0x12c)],'behavior':_0x4cdcda(0x127)});}),this['on'](_0x50d1be(0x107),(_0xe7c96,_0x16d255,_0x4054ab)=>{const _0x4c2c34=_0x50d1be;_0x52f402=!0x1,_0x4054ab?(this[_0x4c2c34(0x134)]=null,this[_0x4c2c34(0x113)][_0x4c2c34(0xfd)]()):this[_0x4c2c34(0x134)]||this[_0x4c2c34(0x113)][_0x4c2c34(0x138)]('');}),this[_0x50d1be(0x14c)](this[_0x50d1be(0x100)],_0x50d1be(0x103),()=>{_0x52f402=!0x0;}),this[_0x50d1be(0x14c)](this[_0x50d1be(0x100)],_0x50d1be(0x11d),()=>{_0x52f402=!0x0;});}[_0x4c5d02(0x111)](){const _0x496c05=_0x4c5d02;this[_0x496c05(0x100)][_0x496c05(0x111)]();}[_0x4c5d02(0x124)](){const _0x3479e0=_0x4c5d02,_0x558665=this[_0x3479e0(0x112)],_0x2d34c0=new _0x51e620(this[_0x3479e0(0x112)]),_0x193d4d=_0x3479e0(0x128);return _0x2d34c0[_0x3479e0(0x148)]({'label':_0x1c3b31(_0x558665,_0x3479e0(0x12d)),'icon':_0x1ba513,'class':_0x193d4d,'tooltip':!0x0}),_0x2d34c0[_0x3479e0(0x10f)](_0x3479e0(0x142))['to'](this,_0x3479e0(0x134),_0xcfb370=>!!_0xcfb370),_0x2d34c0[_0x3479e0(0x10f)](_0x3479e0(0x10b))['to'](this,_0x3479e0(0x110),_0x1ac4c9=>!_0x1ac4c9),_0x2d34c0['on'](_0x3479e0(0x131),()=>{const _0x209c47=_0x3479e0;this[_0x209c47(0xf9)](this[_0x209c47(0x113)][_0x209c47(0x100)]),_0x2d34c0[_0x209c47(0xf8)]=_0x16eaa7,_0x2d34c0[_0x209c47(0x12e)]=_0x193d4d+_0x209c47(0x122),this[_0x209c47(0x111)](),setTimeout(()=>{const _0x280a09=_0x209c47;_0x2d34c0[_0x280a09(0xf8)]=_0x1ba513,_0x2d34c0[_0x280a09(0x12e)]=_0x193d4d;},0x3e8);}),_0x2d34c0;}[_0x4c5d02(0xf9)](_0x63e110){const _0x7caa4b=_0x4c5d02,{window:_0xbde857,document:_0x42bd56}=_0x1dccf1;if(_0xbde857[_0x7caa4b(0x13b)]){const {Blob:_0x3c75a6,ClipboardItem:_0x366d59}=_0xbde857,_0x3fa353=[new _0x366d59({'text/html':new _0x3c75a6([_0x63e110[_0x7caa4b(0x121)]],{'type':_0x7caa4b(0x132)}),'text/plain':new _0x3c75a6([_0x63e110[_0x7caa4b(0x140)]||''],{'type':_0x7caa4b(0x12b)})})];navigator[_0x7caa4b(0x13f)][_0x7caa4b(0x114)](_0x3fa353);}else{const _0x55ed1a=_0x42bd56[_0x7caa4b(0x106)](_0x7caa4b(0x137));_0x55ed1a[_0x7caa4b(0x144)][_0x7caa4b(0x12f)]=_0x7caa4b(0x13e),_0x55ed1a[_0x7caa4b(0x144)][_0x7caa4b(0xfe)]=_0x7caa4b(0x136),_0x55ed1a[_0x7caa4b(0x121)]=_0x7caa4b(0x146)+_0x63e110[_0x7caa4b(0x121)]+_0x7caa4b(0x147),_0x42bd56[_0x7caa4b(0x123)][_0x7caa4b(0x10c)](_0x55ed1a);const _0x24ab29=_0x42bd56[_0x7caa4b(0x119)]();_0x24ab29[_0x7caa4b(0xff)](_0x55ed1a[_0x7caa4b(0x11b)]),_0x24ab29[_0x7caa4b(0x109)](_0x55ed1a[_0x7caa4b(0x143)]);const _0x12f95b=_0xbde857[_0x7caa4b(0x11a)]();_0x12f95b[_0x7caa4b(0x108)](),_0x12f95b[_0x7caa4b(0x13d)](_0x24ab29),_0x42bd56[_0x7caa4b(0xfb)](_0x7caa4b(0x14d)),_0x55ed1a[_0x7caa4b(0x10a)]();}}}export class ContentFieldView extends _0x19aebe{constructor(_0x31e370,_0x9cf6d2=''){const _0x1e3ddf=_0x4c5d02;super(_0x31e370),this[_0x1e3ddf(0x102)]=this[_0x1e3ddf(0x11e)](),this[_0x1e3ddf(0x117)]({'tag':_0x1e3ddf(0x137),'attributes':{'class':['ck',_0x1e3ddf(0x101),_0x9cf6d2,_0x1e3ddf(0x125),_0x1e3ddf(0x120)]}});}[_0x4c5d02(0x138)](_0x5a5272){const _0x4f3d2d=_0x4c5d02;this[_0x4f3d2d(0x100)][_0x4f3d2d(0x121)]=_0x5a5272;}[_0x4c5d02(0xfd)](){const _0x3c718f=_0x4c5d02;this[_0x3c718f(0x100)][_0x3c718f(0x10c)](this[_0x3c718f(0x102)][_0x3c718f(0x100)]);}[_0x4c5d02(0x11e)](){const _0x205a3a=_0x4c5d02,_0x465aa8=new _0x19aebe(),_0x38c34e=this[_0x205a3a(0x112)],_0x29db96=new _0x36e3fe();return _0x29db96[_0x205a3a(0x142)]=!0x0,_0x465aa8[_0x205a3a(0x117)]({'tag':_0x205a3a(0x137),'attributes':{'class':['ck',_0x205a3a(0x14a)]},'children':[_0x29db96,{'text':_0x1c3b31(_0x38c34e,_0x205a3a(0x11c))}]}),_0x465aa8[_0x205a3a(0x14b)](),_0x465aa8;}}function _0x3e49(){const _0x21023f=['position','ck-ai-form__content-area-wrapper','execute','text/html','.ck-ai-form__loader','value','scrollTo','-9999px','div','setContent','52GDncnP','ck-ai-form__content-area--processing','ClipboardItem','11607048PgmqVw','addRange','absolute','clipboard','textContent','199728hwcrvE','isVisible','lastElementChild','style','30205252xlPXad','<span>[</span>','<span>]</span>','set','bindTemplate','ck-ai-form__loader','render','listenTo','copy','icon','_copyHTMLToClipboard','4660704btEYEA','execCommand','105hlJPug','appendLoader','left','setStartAfter','element','ck-content','loaderView','wheel','17247Adpypu','change:value','createElement','change:isProcessing','removeAllRanges','setEndBefore','remove','isEnabled','appendChild','ck-ai-form__content-area','28385RYxTyd','bind','isProcessing','focus','locale','contentFieldView','write','8705774ZLwtnd','querySelector','setTemplate','10kuCXsz','createRange','getSelection','firstElementChild','AI\x20is\x20writing...','mousedown','_createLoader','copyButtonView','ck-ai-form__content-field','innerHTML','\x20ck-ai-form__copy-button--copied','body','_createCopyButton','ck-reset_all-excluded','24BFPGII','smooth','ck-ai-form__copy-button','ck-hidden','ck-ai-form__copy-button-wrapper','text/plain','scrollHeight','Copy','class'];_0x3e49=function(){return _0x21023f;};return _0x3e49();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x172f(_0x129666,_0x39f795){const _0x3997fb=_0x3997();return _0x172f=function(_0x172f1e,_0x31274e){_0x172f1e=_0x172f1e-0x7b;let _0x455590=_0x3997fb[_0x172f1e];return _0x455590;},_0x172f(_0x129666,_0x39f795);}(function(_0x4b1886,_0x4066a4){const _0x54efbc=_0x172f,_0x14941e=_0x4b1886();while(!![]){try{const _0x1207ab=-parseInt(_0x54efbc(0x88))/0x1+-parseInt(_0x54efbc(0x80))/0x2+parseInt(_0x54efbc(0x7c))/0x3+parseInt(_0x54efbc(0x7e))/0x4*(parseInt(_0x54efbc(0x84))/0x5)+-parseInt(_0x54efbc(0x7d))/0x6+-parseInt(_0x54efbc(0x83))/0x7+parseInt(_0x54efbc(0x7b))/0x8;if(_0x1207ab===_0x4066a4)break;else _0x14941e['push'](_0x14941e['shift']());}catch(_0xabaf68){_0x14941e['push'](_0x14941e['shift']());}}}(_0x3997,0x5e87b));import{IconError as _0x212359}from'ckeditor5/src/icons.js';import{View as _0x17ab6f,IconView as _0x116094}from'ckeditor5/src/ui.js';export class AIFormErrorView extends _0x17ab6f{constructor(_0x3e5439,_0x1df8bf=''){const _0x3c1cc8=_0x172f;super(_0x3e5439);const _0x237a55=new _0x116094(),_0x3a12a1=this[_0x3c1cc8(0x87)];this[_0x3c1cc8(0x82)](_0x3c1cc8(0x86),_0x1df8bf),_0x237a55[_0x3c1cc8(0x81)]=_0x212359,this[_0x3c1cc8(0x89)]({'tag':_0x3c1cc8(0x7f),'attributes':{'class':['ck',_0x3c1cc8(0x85)]},'children':[_0x237a55,{'text':_0x3a12a1['to'](_0x3c1cc8(0x86))}]});}}function _0x3997(){const _0x2948e2=['826208GeQfXE','content','set','5111323JnoGAK','5zimuLj','ck-ai-form__error','text','bindTemplate','535849DIrEUu','setTemplate','10175640UtxPqu','1603098yPDRmR','891762vaqaIQ','1634572caUwvZ','div'];_0x3997=function(){return _0x2948e2;};return _0x3997();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x146b5e=_0x2152;(function(_0x435fc9,_0x53f3f2){const _0x2f0e95=_0x2152,_0x2284da=_0x435fc9();while(!![]){try{const _0x3d77db=-parseInt(_0x2f0e95(0x1d2))/0x1+-parseInt(_0x2f0e95(0x1f4))/0x2+parseInt(_0x2f0e95(0x1f0))/0x3+parseInt(_0x2f0e95(0x202))/0x4+-parseInt(_0x2f0e95(0x1fc))/0x5*(-parseInt(_0x2f0e95(0x206))/0x6)+parseInt(_0x2f0e95(0x1e1))/0x7*(parseInt(_0x2f0e95(0x1d6))/0x8)+-parseInt(_0x2f0e95(0x1ef))/0x9*(parseInt(_0x2f0e95(0x1e0))/0xa);if(_0x3d77db===_0x53f3f2)break;else _0x2284da['push'](_0x2284da['shift']());}catch(_0x3403b0){_0x2284da['push'](_0x2284da['shift']());}}}(_0x4a21,0x59078));function _0x2152(_0x2e56d2,_0x3c8b28){const _0x4a2166=_0x4a21();return _0x2152=function(_0x2152da,_0x167dce){_0x2152da=_0x2152da-0x1d0;let _0x677aeb=_0x4a2166[_0x2152da];return _0x677aeb;},_0x2152(_0x2e56d2,_0x3c8b28);}import{Rect as _0xaf50c5,global as _0x2c0c8f,isVisible as _0x15b605}from'ckeditor5/src/utils.js';import{IconAIHistory as _0x1c9744,IconSubmit as _0x1e46b8}from'ckeditor5/src/icons.js';import{AutocompleteView as _0x3294ac,ButtonView as _0x1e62f4}from'ckeditor5/src/ui.js';import{getTranslation as _0xd5fe4f}from'../../utils/common-translations.js';export class AIFormPromptView extends _0x3294ac{[_0x146b5e(0x200)];[_0x146b5e(0x1e5)];constructor(_0x528392,_0x45b13a){const _0x240438=_0x146b5e;super(_0x528392,_0x45b13a),this[_0x240438(0x1f6)][_0x240438(0x1e7)][_0x240438(0x1d5)]=0x1,this[_0x240438(0x1f6)][_0x240438(0x1e7)][_0x240438(0x1de)]=0x3,this[_0x240438(0x200)]=this[_0x240438(0x1e3)](),this[_0x240438(0x1e5)]=this[_0x240438(0x1f7)](),this[_0x240438(0x1f1)][_0x240438(0x1e2)](this[_0x240438(0x1e5)],0x1),this[_0x240438(0x1f1)][_0x240438(0x1e2)](this[_0x240438(0x200)]);}[_0x146b5e(0x1d8)](){const _0x42aced=_0x146b5e;super[_0x42aced(0x1d8)](),this[_0x42aced(0x1f6)][_0x42aced(0x207)][_0x42aced(0x1e2)](this[_0x42aced(0x1e5)]),this[_0x42aced(0x1d7)][_0x42aced(0x1e2)](this[_0x42aced(0x200)]),this[_0x42aced(0x1f2)][_0x42aced(0x209)](_0x42aced(0x1f3),(_0x4d42b4,_0x14a6f7)=>{const _0x20ac7a=_0x42aced;_0x4d42b4[_0x20ac7a(0x1d4)]==this[_0x20ac7a(0x1f6)][_0x20ac7a(0x1e7)][_0x20ac7a(0x1dd)]&&(this[_0x20ac7a(0x1da)](),_0x14a6f7());});}[_0x146b5e(0x1e3)](){const _0x1cddbf=_0x146b5e,_0x4d2dee=new _0x1e62f4(this[_0x1cddbf(0x1ee)]),_0x3e8cbe=this[_0x1cddbf(0x1ee)];return _0x4d2dee[_0x1cddbf(0x209)]({'icon':_0x1e46b8,'label':_0xd5fe4f(_0x3e8cbe,_0x1cddbf(0x1fb)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x1cddbf(0x208)}),_0x4d2dee['on'](_0x1cddbf(0x1f8),()=>{const _0x2df915=_0x1cddbf;this[_0x2df915(0x1da)]();}),_0x4d2dee[_0x1cddbf(0x1e6)](_0x1cddbf(0x1fd))['to'](this[_0x1cddbf(0x1f6)][_0x1cddbf(0x1e7)],_0x1cddbf(0x204),this,_0x1cddbf(0x1fd),(_0x23d42f,_0x3fc96d)=>!_0x23d42f&&_0x3fc96d),_0x4d2dee;}[_0x146b5e(0x1f7)](){const _0x3b7c17=_0x146b5e,_0xfe329b=new _0x1e62f4(this[_0x3b7c17(0x1ee)]),_0x100c81=this[_0x3b7c17(0x1ff)],_0x1409a2=this[_0x3b7c17(0x1ee)];_0xfe329b[_0x3b7c17(0x209)]({'label':_0xd5fe4f(_0x1409a2,_0x3b7c17(0x1dc)),'withText':!0x1,'icon':_0x1c9744,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x3b7c17(0x1d0)}),_0xfe329b[_0x3b7c17(0x1e6)](_0x3b7c17(0x1ec))['to'](_0x100c81,_0x3b7c17(0x201)),_0xfe329b[_0x3b7c17(0x1e6)](_0x3b7c17(0x1fd))['to'](this,_0x3b7c17(0x1fd)),_0xfe329b['on'](_0x3b7c17(0x1f8),()=>{const _0x342bbd=_0x3b7c17;_0x100c81[_0x342bbd(0x201)]=!_0x100c81[_0x342bbd(0x201)],_0x100c81[_0x342bbd(0x201)]?this[_0x342bbd(0x1e4)][_0x342bbd(0x1db)]():this[_0x342bbd(0x1db)]();});const _0x3c1fa4=()=>{const _0xf8b387=_0x3b7c17;_0x2c0c8f[_0xf8b387(0x1eb)][_0xf8b387(0x1f5)](()=>{const _0x122a9b=_0xf8b387;if(_0x15b605(this[_0x122a9b(0x1dd)])){const _0x505388=new _0xaf50c5(this[_0x122a9b(0x1f6)][_0x122a9b(0x1e7)][_0x122a9b(0x1dd)]),_0x4294a1=_0x505388[_0x122a9b(0x1fa)],_0x58232a=_0x122a9b(0x1ed)===_0x1409a2[_0x122a9b(0x205)]?_0x122a9b(0x1e8):_0x122a9b(0x1fe);_0x505388[_0x122a9b(0x1f9)](),_0xfe329b[_0x122a9b(0x1dd)][_0x122a9b(0x1d3)][_0x58232a]=_0x4294a1-_0x505388[_0x122a9b(0x1fa)]+0x1+'px';}});};return this[_0x3b7c17(0x1f6)][_0x3b7c17(0x1e7)]['on'](_0x3b7c17(0x1ea),_0x3c1fa4),this['on'](_0x3b7c17(0x1d8),_0x3c1fa4),_0xfe329b;}[_0x146b5e(0x1da)](){const _0x37e787=_0x146b5e,_0x38a85a=this[_0x37e787(0x1f6)][_0x37e787(0x1e7)][_0x37e787(0x1dd)][_0x37e787(0x1df)];this[_0x37e787(0x1d1)](_0x37e787(0x1da),_0x38a85a);}[_0x146b5e(0x1db)](_0x304b9d){const _0x507953=_0x146b5e;-0x1===_0x304b9d?this[_0x507953(0x1d9)][_0x507953(0x1e9)]():this[_0x507953(0x1d9)][_0x507953(0x203)]();}}function _0x4a21(){const _0x310798=['History','element','maxRows','value','60hIDamB','1386VsFsim','add','_createSubmitButton','filteredView','showHistoryButtonView','bind','fieldView','left','focusLast','update','window','isOn','rtl','locale','331623sipyOH','1713759hRhzrH','focusableChildren','keystrokes','enter','507634MvNjtf','requestAnimationFrame','queryView','_createShowHistoryButton','execute','excludeScrollbarsAndBorders','width','Submit','5kDHPQJ','isEnabled','right','resultsView','submitButtonView','isVisible','1385972hCiphj','focusFirst','isEmpty','uiLanguageDirection','130578LrLPkP','fieldWrapperChildren','ck-ai-form__submit','set','ck-ai-form__toggle-history','fire','196570LeLRYT','style','target','minRows','3904bDjcup','children','render','focusCycler','submit','focus'];_0x4a21=function(){return _0x310798;};return _0x4a21();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x46c50e=_0x3a34;(function(_0xa048e0,_0x5df314){const _0x44e6de=_0x3a34,_0x2695ff=_0xa048e0();while(!![]){try{const _0x3af04a=parseInt(_0x44e6de(0x16b))/0x1+parseInt(_0x44e6de(0x186))/0x2+parseInt(_0x44e6de(0x182))/0x3+parseInt(_0x44e6de(0x169))/0x4+-parseInt(_0x44e6de(0x178))/0x5+parseInt(_0x44e6de(0x17f))/0x6+-parseInt(_0x44e6de(0x184))/0x7*(parseInt(_0x44e6de(0x188))/0x8);if(_0x3af04a===_0x5df314)break;else _0x2695ff['push'](_0x2695ff['shift']());}catch(_0x2206ce){_0x2695ff['push'](_0x2695ff['shift']());}}}(_0x4496,0xf1e03));import{ToolbarView as _0x20c7a3,ButtonView as _0x390ef2}from'ckeditor5/src/ui.js';function _0x3a34(_0x215e45,_0x1d0fe3){const _0x44963c=_0x4496();return _0x3a34=function(_0x3a3444,_0x192c36){_0x3a3444=_0x3a3444-0x166;let _0x1c5eff=_0x44963c[_0x3a3444];return _0x1c5eff;},_0x3a34(_0x215e45,_0x1d0fe3);}import{getTranslation as _0x43aa70}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x46c50e(0x183),'INSERT':_0x46c50e(0x176)};export class AIFormToolbarView extends _0x20c7a3{constructor(_0x221454){const _0x204e2d=_0x46c50e;super(_0x221454),this[_0x204e2d(0x170)](_0x204e2d(0x187),!0x1),this[_0x204e2d(0x170)](_0x204e2d(0x179),AIFormToolbarViewMainActionLabel[_0x204e2d(0x16d)]),this[_0x204e2d(0x17b)]=this[_0x204e2d(0x171)]('',_0x204e2d(0x172)),this[_0x204e2d(0x17b)][_0x204e2d(0x17d)](_0x204e2d(0x180))['to'](this,_0x204e2d(0x179),_0x3dccc7=>_0x43aa70(_0x221454,_0x204e2d(0x167)+_0x3dccc7[_0x204e2d(0x16c)]()+_0x204e2d(0x181))),this[_0x204e2d(0x16e)]=this[_0x204e2d(0x171)](_0x43aa70(_0x221454,_0x204e2d(0x16a))),this[_0x204e2d(0x175)]=this[_0x204e2d(0x171)](_0x43aa70(_0x221454,_0x204e2d(0x174))),this[_0x204e2d(0x17c)]=this[_0x204e2d(0x171)](_0x43aa70(_0x221454,_0x204e2d(0x166)));const _0x528c1b=this[_0x204e2d(0x16f)];this[_0x204e2d(0x17e)]({'attributes':{'class':[_0x204e2d(0x17a),_0x528c1b['if'](_0x204e2d(0x187),_0x204e2d(0x177),_0x9e57df=>!_0x9e57df)]}}),this[_0x204e2d(0x168)][_0x204e2d(0x173)]([this[_0x204e2d(0x17b)],this[_0x204e2d(0x16e)],this[_0x204e2d(0x175)],this[_0x204e2d(0x17c)]]);}[_0x46c50e(0x171)](_0x51bf38,_0x2920ed){const _0x5ea6f2=_0x46c50e,_0x4c1e46=new _0x390ef2(this[_0x5ea6f2(0x185)]);return _0x4c1e46[_0x5ea6f2(0x170)]({'label':_0x51bf38,'class':_0x2920ed||'','isVisible':!0x0,'withText':!0x0}),_0x4c1e46;}}function _0x4496(){const _0x580436=['2608039gsfSzt','locale','2558068EKtGrj','isVisible','88bwCZKt','Stop','AI_','items','6237180BdAOQF','Insert\x20below','823889UtYEBD','toUpperCase','REPLACE','insertButton','bindTemplate','set','_createButton','ck-button-action','addMany','Try\x20again','tryAgainButton','insert','ck-hidden','2647375lvJrwj','mainAction','ck-ai-form__toolbar','replaceButton','stopButton','bind','extendTemplate','7897218HBbxmJ','label','_CONTENT','1920372WBwzpg','replace'];_0x4496=function(){return _0x580436;};return _0x4496();}
|