@ckeditor/ckeditor5-source-editing-enhanced 0.0.0-nightly-20250704.0 → 0.0.0-nightly-20250706.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Command as _0x4b52ea,PendingActions as _0x5c45fd,Plugin as _0x41b61a}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x8e7d0e,formatHtml as _0x5de5d5,env as _0x12f6e8,uid as _0x11c479}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconSource as _0x211361}from'@ckeditor/ckeditor5-icons/dist/index.js';import{View as _0x940f34,ButtonView as _0x2f121a,MenuBarMenuListItemButtonView as _0x975e39}from'@ckeditor/ckeditor5-ui/dist/index.js';import{EditorView as _0x3531f0,crosshairCursor as _0x1773dd,drawSelection as _0x2cc6ec,dropCursor as _0x34c3b2,lineNumbers as _0x5bdbde,highlightActiveLine as _0x2affde,highlightActiveLineGutter as _0x28cf7d,highlightSpecialChars as _0x3c936d,rectangularSelection as _0x1b3b51,keymap as _0x595e3f}from'@codemirror/view';import{Compartment as _0x1d5925,Transaction as _0x263cd9}from'@codemirror/state';import{bracketMatching as _0x3ef818,foldGutter as _0x18f497,indentOnInput as _0x2eee50,syntaxHighlighting as _0x22bc35,defaultHighlightStyle as _0x325e34,foldKeymap as _0x47a2d1}from'@codemirror/language';import{toggleTabFocusMode as _0x10205f,history as _0x1563c4,defaultKeymap as _0x55cb7f,historyKeymap as _0x248abe,indentLess as _0x52ecdb,indentMore as _0x292ed1,redo as _0x1746be,undo as _0x42b31c}from'@codemirror/commands';import{autocompletion as _0x555d1a,closeBrackets as _0x48b9e2,closeBracketsKeymap as _0x17b615,completionKeymap as _0x11669d}from'@codemirror/autocomplete';import{html as _0x59c9f2}from'@codemirror/lang-html';import{markdown as _0x18b35d}from'@codemirror/lang-markdown';import{oneDark as _0x5d07fd}from'@codemirror/theme-one-dark';function w(_0x532d63,_0x232d55){const t=_0x532d63['t'];switch(_0x232d55){case'Edit\x20source\x20modal\x20label':return t({'string':'Edit\x20source','id':'Edit\x20source\x20modal\x20label'});case'Source':return t('Source');case'Source\x20Editing\x20Enhanced':return t('Source\x20Editing\x20Enhanced');case'Copy\x20line\x20down':return t('Copy\x20line\x20down');case'Copy\x20line\x20up':return t('Copy\x20line\x20up');case'Delete\x20line':return t('Delete\x20line');case'Indent\x20less':return t('Indent\x20less');case'Indent\x20more':return t('Indent\x20more');case'Fold\x20all':return t('Fold\x20all');case'Fold\x20code\x20(current\x20level)':return t('Fold\x20code\x20(current\x20level)');case'Move\x20line\x20down':return t('Move\x20line\x20down');case'Move\x20line\x20up':return t('Move\x20line\x20up');case'Redo\x20(keystroke)':return t({'id':'Redo\x20(keystroke)','string':'Redo'});case'Select\x20line':return t('Select\x20line');case'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode':return t('Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode');case'Toggle\x20block\x20comment':return t('Toggle\x20block\x20comment');case'Toggle\x20comment':return t('Toggle\x20comment');case'Undo\x20(keystroke)':return t({'id':'Undo\x20(keystroke)','string':'Undo'});case'Unfold\x20all':return t('Unfold\x20all');case'Unfold\x20code\x20(current\x20level)':return t('Unfold\x20code\x20(current\x20level)');case'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.':return t('Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.');case'Cancel':return t('Cancel');case'Save':return t('Save');default:return _0x232d55;}}function r(_0x291d54){const _0x9ca65b=_0x291d54['editing']['view']['document']['roots'],_0x5cf3fe=_0x9ca65b['length'];if(0x0===_0x5cf3fe)throw new _0x8e7d0e('source-editing-enhanced-editor-no-root',_0x291d54);if(0x1===_0x5cf3fe)return _0x9ca65b['first']['rootName'];return Array['from'](_0x291d54['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function g(_0x39eeb7){return tr(_0x39eeb7['replace'](/^[\n\s]*/g,''))?_0x39eeb7['replace'](/\s+/g,''):_0x39eeb7;}function tr(_0x49a82e){return _0x49a82e['startsWith']('<');}function p(_0x136c60){const _0x729f47=[_0x3531f0['lineWrapping'],_0x555d1a(),_0x3ef818(),_0x48b9e2(),_0x1773dd(),_0x2cc6ec(),_0x34c3b2(),_0x5bdbde(),_0x18f497(),_0x2affde(),_0x28cf7d(),_0x3c936d(),_0x1563c4(),_0x2eee50(),_0x1b3b51(),_0x22bc35(_0x325e34,{'fallback':!0x0})],_0x105b85=new _0x1d5925();_0x729f47['push'](_0x105b85['of'](_0x3531f0['editable']['of'](!0x0))),'html'===_0x136c60['syntaxLanguage']?_0x729f47['push'](_0x59c9f2()):_0x729f47['push'](_0x18b35d());const _0x3286d0=function(_0x34f9d3){if(_0x34f9d3&&'default'!==_0x34f9d3)return'dark'===_0x34f9d3?_0x5d07fd:_0x34f9d3;return null;}(_0x136c60['theme']);_0x3286d0&&_0x729f47['push'](_0x3286d0),_0x729f47['push'](_0x595e3f['of']([..._0x17b615,..._0x55cb7f,..._0x248abe,..._0x47a2d1,..._0x11669d,{'key':'Tab','run':_0x292ed1,'shift':_0x52ecdb,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-y','mac':'Cmd-y','run':_0x1746be,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-Shift-z','mac':'Cmd-Shift-z','run':_0x1746be,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-z','mac':'Cmd-z','run':_0x42b31c,'preventDefault':!0x0,'stopPropagation':!0x0}]));const _0x5e92b6=new _0x3531f0({'extensions':_0x729f47,'parent':_0x136c60['parent']});return _0x10205f(_0x5e92b6),{'focus':()=>{_0x5e92b6['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x5e92b6['focus']();},'getData':()=>_0x5e92b6['state']['doc']['toString'](),'setData':_0x3435d8=>{_0x5e92b6['dispatch']({'changes':{'from':0x0,'to':_0x5e92b6['state']['doc']['length'],'insert':_0x3435d8},'annotations':_0x263cd9['addToHistory']['of'](!0x1)});},'setReadOnly':_0x12ad75=>{_0x5e92b6['dispatch']({'effects':[_0x105b85['reconfigure'](_0x3531f0['editable']['of'](!_0x12ad75))]});},'destroy':()=>{_0x5e92b6['destroy']();},'instance':_0x5e92b6};}class E extends _0x940f34{['_codeEditorApi']=null;['_options'];constructor(_0x3178d2,_0xf07c0c){super(_0x3178d2),this['_options']=_0xf07c0c,this['set']('isReadOnly',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all-excluded','ck-code-editor'],'tabindex':-0x1}});}['render'](){super['render'](),this['_codeEditorApi']=p({'parent':this['element'],'syntaxLanguage':this['_options']['syntaxLanguage'],'theme':this['_options']['theme']}),this['on']('change:isReadOnly',(_0x52b218,_0x213ec1,_0x4ec081)=>{this['setReadOnly'](_0x4ec081);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0x268502){this['_codeEditorApi']['setData'](_0x268502);}['setReadOnly'](_0x270d26){this['_codeEditorApi']['setReadOnly'](_0x270d26);}}const b='SourceEditingEnhancedMode';class d extends _0x4b52ea{constructor(_0xfbd9a8){super(_0xfbd9a8),this['affectsData']=!0x1,this['editor']['plugins']['get'](_0x5c45fd)['on']('change:hasAny',(_0x2cf390,_0x3f5f6c,_0x22b489)=>{_0x22b489?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['_disableCommands'](){const _0x33e518=this['editor'];for(const _0x738326 of _0x33e518['commands']['names']())['replaceSource','editSource']['includes'](_0x738326)||_0x33e518['commands']['get'](_0x738326)['forceDisabled'](b);}['_enableCommands'](){const _0x5b738f=this['editor'];for(const _0x8ad14a of _0x5b738f['commands']['commands']())_0x8ad14a['clearForceDisabled'](b);}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x9abe43=this['editor'],_0x4898fc=_0x9abe43['locale'],_0xfaaef1=_0x9abe43['plugins']['get']('Dialog'),_0x248b71=r(_0x9abe43),_0x5d503c=_0x9abe43['data']['get']({'rootName':_0x248b71}),_0x5d933c=tr(_0x43b6e5=_0x5d503c)?_0x5de5d5(_0x43b6e5):_0x43b6e5;var _0x43b6e5;const _0x272250=new E(_0x4898fc,{'syntaxLanguage':_0x9abe43['plugins']['has']('Markdown')?'markdown':'html','theme':_0x9abe43['config']['get']('sourceEditingEnhanced.theme')});let _0x4485ab=!0x0;const _0x5589d0=_0xebb463=>{if(!_0x4485ab)return;return g(_0x272250['getData']())!==g(_0x5d933c)?window['confirm'](w(_0x4898fc,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0xebb463['stop']():void 0x0;};_0xfaaef1['show']({'id':'sourceEditingEnhanced','title':w(_0x4898fc,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0x272250,'actionButtons':[{'label':w(_0x4898fc,'Cancel'),'withText':!0x0,'onExecute':()=>{_0xfaaef1['hide']();}},{'label':w(_0x4898fc,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0x203b6b=g(_0x272250['getData']())!==g(_0x5d933c);(_0x203b6b&&_0x9abe43['execute']('replaceSource',_0x272250['getData']()),_0x4485ab=!0x1,_0xfaaef1['hide'](),_0x203b6b&&'editables'in _0x9abe43['ui']['view'])&&_0x9abe43['ui']['view']['editables'][_0x248b71]['element']['focus']();},'onCreate':_0x4e2a99=>{_0x4e2a99['set']('isEnabled',!_0x9abe43['isReadOnly']),_0x4e2a99['bind']('isEnabled')['to'](_0x9abe43,'isReadOnly',this,'isEnabled',(_0x1c2cf3,_0x2e5082)=>!_0x1c2cf3&&_0x2e5082);}}],'onHide':()=>{this['_enableCommands'](),_0xfaaef1['off']('hide',_0x5589d0),_0x272250['destroy']();},'onShow':()=>{_0x272250['bind']('isReadOnly')['to'](_0x9abe43,'isReadOnly',this,'isEnabled',(_0x266b9d,_0x18c7d3)=>_0x266b9d||!_0x18c7d3),_0x272250['setData'](_0x5d933c),_0x272250['focus'](),_0xfaaef1['on']('hide',_0x5589d0,{'priority':'highest'}),this['_disableCommands']();}});}}class a extends _0x41b61a{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[_0x5c45fd];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x306448=this['editor'],_0x5834de=_0x306448['locale'],_0x2ddfba=new d(_0x306448);_0x306448['commands']['add']('editSource',_0x2ddfba),_0x306448['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0x1d9ec5=this['_createButton'](_0x2f121a,_0x2ddfba);return _0x1d9ec5['set']({'label':w(_0x5834de,'Source'),'icon':_0x211361,'tooltip':w(_0x5834de,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0x1d9ec5;}),_0x306448['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0x1645a2=this['_createButton'](_0x975e39,_0x2ddfba,!0x0);return _0x1645a2['set']({'label':w(_0x5834de,'Edit\x20source\x20modal\x20label'),'icon':_0x211361,'role':'menuitemcheckbox'}),_0x1645a2;}),this['_registerKeybindings']();}['afterInit'](){!async function(_0x477762){const _0x753ef1=_0x5d030f([0x6d,0x58,0x78,0x51,0x35,0x4b,0x76,0x63,0x4d,0x6a,0x69,0x56,0x77,0x54,0x4a,0x7a,0x72,0x4c,0x6f,0x52,0x31,0x32,0x59,0x41,0x64,0x66,0x79,0x53,0x4f,0x45,0x39,0x48,0x38,0x5a,0x61,0x36,0x75,0x50,0x44,0x71,0x70,0x6b,0x68,0x46,0x65,0x62,0x34,0x57,0x42,0x43,0x33,0x30,0x67,0x73,0x74,0x6e,0x37,0x55,0x4e,0x49,0x6c,0x47]),_0x7209ac=0x60ef4073,_0x318181=0x60e82ceb^_0x7209ac,_0x2021c4=window[_0x5d030f([0x44,0x61,0x74,0x65])][_0x5d030f([0x6e,0x6f,0x77])](),_0x321c4f=_0x477762[_0x5d030f([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x49e6a0=new window[(_0x5d030f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x12dd2e=>{_0x321c4f[_0x5d030f([0x6f,0x6e,0x63,0x65])](_0x5d030f([0x72,0x65,0x61,0x64,0x79]),_0x12dd2e);}),_0x4275f0={[_0x5d030f([0x6b,0x74,0x79])]:_0x5d030f([0x45,0x43]),[_0x5d030f([0x75,0x73,0x65])]:_0x5d030f([0x73,0x69,0x67]),[_0x5d030f([0x63,0x72,0x76])]:_0x5d030f([0x50,0x2d,0x32,0x35,0x36]),[_0x5d030f([0x78])]:_0x5d030f([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]),[_0x5d030f([0x79])]:_0x5d030f([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]),[_0x5d030f([0x61,0x6c,0x67])]:_0x5d030f([0x45,0x53,0x32,0x35,0x36])},_0x55cdf9=_0x321c4f[_0x5d030f([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5d030f([0x67,0x65,0x74])](_0x5d030f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4ccac3(){let _0x29c8b4,_0x3e406b=null,_0x37efaf=null;try{if(_0x55cdf9==_0x5d030f([0x47,0x50,0x4c]))return _0x5d030f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x29c8b4=_0x25ccc1(),!_0x29c8b4)return _0x5d030f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x29c8b4[_0x5d030f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x37efaf=_0x46fbee(_0x29c8b4[_0x5d030f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x29c8b4[_0x5d030f([0x6a,0x74,0x69])])),await _0x41d254()?_0x44b7dc()?_0x20e250()?_0x5d030f([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3e93ae()?(_0x29c8b4[_0x5d030f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5d030f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3e406b=_0xd50b83(_0x5d030f([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x29c8b4[_0x5d030f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5d030f([0x74,0x72,0x69,0x61,0x6c])&&(_0x3e406b=_0xd50b83(_0x5d030f([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x325309()):_0x5d030f([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5d030f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5d030f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5d030f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x20e250(){const _0x435c8b=[_0x5d030f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5d030f([0x74,0x72,0x69,0x61,0x6c])][_0x5d030f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x29c8b4[_0x5d030f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2021c4/0x3e8:0xe10*_0x318181;return _0x29c8b4[_0x5d030f([0x65,0x78,0x70])]<_0x435c8b;}function _0x44b7dc(){const _0x431f99=_0x29c8b4[_0x5d030f([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x431f99&&(!!_0x431f99[_0x5d030f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5d030f([0x2a]))||!!_0x431f99[_0x5d030f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5d030f([0x53,0x45,0x45])));}function _0x3e93ae(){const _0x53b012=_0x29c8b4[_0x5d030f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x53b012||0x0==_0x53b012[_0x5d030f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x176fb9}=new URL(window[_0x5d030f([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x53b012[_0x5d030f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x176fb9))return!0x0;const _0x58823e=_0x176fb9[_0x5d030f([0x73,0x70,0x6c,0x69,0x74])](_0x5d030f([0x2e]));return _0x53b012[_0x5d030f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3f257a=>_0x3f257a[_0x5d030f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5d030f([0x2a])))[_0x5d030f([0x6d,0x61,0x70])](_0x15a234=>_0x15a234[_0x5d030f([0x73,0x70,0x6c,0x69,0x74])](_0x5d030f([0x2e])))[_0x5d030f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1926f3=>_0x1926f3[_0x5d030f([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x58823e[_0x5d030f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5d030f([0x6d,0x61,0x70])](_0x221ef5=>Array(_0x58823e[_0x5d030f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x221ef5[_0x5d030f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5d030f([0x66,0x69,0x6c,0x6c])](_0x221ef5[0x0]===_0x5d030f([0x2a])?_0x5d030f([0x2a]):'')[_0x5d030f([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x221ef5))[_0x5d030f([0x73,0x6f,0x6d,0x65])](_0x176c83=>_0x58823e[_0x5d030f([0x65,0x76,0x65,0x72,0x79])]((_0xe779b7,_0x1387c4)=>_0x176c83[_0x1387c4]===_0xe779b7||_0x176c83[_0x1387c4]===_0x5d030f([0x2a])));}function _0x325309(){return _0x3e406b&&_0x37efaf?new window[(_0x5d030f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x58408c,_0x48ce21)=>{_0x3e406b[_0x5d030f([0x74,0x68,0x65,0x6e])](_0x58408c,_0x48ce21),_0x37efaf[_0x5d030f([0x74,0x68,0x65,0x6e])](_0x2687cc=>{_0x2687cc!=_0x5d030f([0x56,0x61,0x6c,0x69,0x64])&&_0x58408c(_0x2687cc);},_0x48ce21);}):_0x3e406b||_0x37efaf||_0x5d030f([0x56,0x61,0x6c,0x69,0x64]);}}function _0x46fbee(_0x17d67d,_0x4dc246){return new window[(_0x5d030f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4b77ac=>{if(_0x5e1e0e())return _0x4b77ac(_0x5d030f([0x56,0x61,0x6c,0x69,0x64]));_0x51ba2(),_0x321c4f[_0x5d030f([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5d030f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x430c1a=!0x1;const _0x56522b=_0x11c479();function _0x4df7d9(_0x213189){return!!_0x213189&&(typeof _0x213189===_0x5d030f([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x213189===_0x5d030f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x213189[_0x5d030f([0x74,0x68,0x65,0x6e])]===_0x5d030f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x213189[_0x5d030f([0x63,0x61,0x74,0x63,0x68])]===_0x5d030f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x40bad1(_0xf9ecbd){_0x4c36ce(_0xf9ecbd)[_0x5d030f([0x74,0x68,0x65,0x6e])](_0x126b6c=>{if(!_0x126b6c||_0x126b6c[_0x5d030f([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5d030f([0x6f,0x6b]))return _0x5d030f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x169aee(_0x9afca1(_0x56522b+_0x4dc246))!=_0x126b6c[_0x5d030f([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5d030f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5d030f([0x56,0x61,0x6c,0x69,0x64]);})[_0x5d030f([0x74,0x68,0x65,0x6e])](_0x1c91aa=>(_0x5eb728(),_0x1c91aa),()=>{const _0x5a1a21=_0x140413();return null==_0x5a1a21?(_0x5eb728(),_0x5d030f([0x56,0x61,0x6c,0x69,0x64])):_0x5d030f(_0x2021c4-_0x5a1a21>(0x44e3c473^_0x7209ac)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5d030f([0x74,0x68,0x65,0x6e])](_0x4b77ac)[_0x5d030f([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4b77ac(_0x5d030f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4266b6=0x60d9aef3^_0x7209ac;function _0x5eb728(){const _0x4a3352=_0x5d030f([0x6c,0x6c,0x63,0x74,0x2d])+_0x169aee(_0x9afca1(_0x17d67d)),_0x3e9880=_0x47286a(_0x169aee(window[_0x5d030f([0x4d,0x61,0x74,0x68])][_0x5d030f([0x63,0x65,0x69,0x6c])](_0x2021c4/_0x4266b6)));window[_0x5d030f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5d030f([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4a3352,_0x3e9880);}function _0x140413(){const _0x276f4d=_0x5d030f([0x6c,0x6c,0x63,0x74,0x2d])+_0x169aee(_0x9afca1(_0x17d67d)),_0x30fa55=window[_0x5d030f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5d030f([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x276f4d);return _0x30fa55?window[_0x5d030f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x47286a(_0x30fa55),0x10)*_0x4266b6:null;}function _0x4c36ce(_0x3afc72){return new window[(_0x5d030f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x159514,_0x4af993)=>{_0x3afc72[_0x5d030f([0x74,0x68,0x65,0x6e])](_0x159514,_0x4af993),window[_0x5d030f([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4af993,0x60ee94b3^_0x7209ac);});}}_0x321c4f[_0x5d030f([0x6f,0x6e])](_0x5d030f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1aa56e,_0x3a235e)=>{if(_0x3a235e[0x0]!=_0x17d67d)return _0x4b77ac(_0x5d030f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3a235e[0x1]={..._0x3a235e[0x1],[_0x5d030f([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x56522b};},{[_0x5d030f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5d030f([0x68,0x69,0x67,0x68])}),_0x321c4f[_0x5d030f([0x6f,0x6e])](_0x5d030f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x452c8a=>{_0x4df7d9(_0x452c8a[_0x5d030f([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x430c1a=!0x0,_0x40bad1(_0x452c8a[_0x5d030f([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5d030f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5d030f([0x6c,0x6f,0x77])}),_0x49e6a0[_0x5d030f([0x74,0x68,0x65,0x6e])](()=>{_0x430c1a||_0x4b77ac(_0x5d030f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5e1e0e(){return _0x321c4f[_0x5d030f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5d030f([0x76,0x69,0x65,0x77])][_0x5d030f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5d030f([0x61,0x75,0x74,0x6f]);}function _0x51ba2(){_0x321c4f[_0x5d030f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5d030f([0x76,0x69,0x65,0x77])][_0x5d030f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5d030f([0x61,0x75,0x74,0x6f]);}}function _0xd50b83(_0x57b013){const _0x1c2326=[new window[(_0x5d030f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3dcf9c=>setTimeout(_0x3dcf9c,0x60e67ebf^_0x7209ac)),_0x49e6a0[_0x5d030f([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5d030f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3c1b19=>{let _0x34dc09=0x0;_0x321c4f[_0x5d030f([0x6d,0x6f,0x64,0x65,0x6c])][_0x5d030f([0x6f,0x6e])](_0x5d030f([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x29ab9a,_0x5ef738)=>{_0x5ef738[0x0][_0x5d030f([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x34dc09++,_0x34dc09==(0x60ef418b^_0x7209ac)&&(_0x3c1b19(),_0x29ab9a[_0x5d030f([0x6f,0x66,0x66])]());});}))];return window[_0x5d030f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5d030f([0x72,0x61,0x63,0x65])](_0x1c2326)[_0x5d030f([0x74,0x68,0x65,0x6e])](()=>_0x57b013);}async function _0x262371(){await _0x49e6a0,_0x321c4f[_0x5d030f([0x6d,0x6f,0x64,0x65,0x6c])][_0x5d030f([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2c2932,_0x321c4f[_0x5d030f([0x6d,0x6f,0x64,0x65,0x6c])][_0x5d030f([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2c2932,_0x321c4f[_0x5d030f([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5d030f([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x59d64b(_0x524b2d){const _0xa0c42c=_0x54313f();_0x321c4f[_0xa0c42c]=_0x5d030f([0x73,0x6f,0x75,0x72,0x63,0x65,0x45,0x64,0x69,0x74,0x69,0x6e,0x67,0x45,0x6e,0x68,0x61,0x6e,0x63,0x65,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x524b2d,_0x524b2d!=_0x5d030f([0x56,0x61,0x6c,0x69,0x64])&&_0x262371();}function _0x54313f(){const _0x6d77f3=window[_0x5d030f([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5d030f([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5d030f([0x6e,0x6f,0x77])]())[_0x5d030f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5d030f([0x2e]),'');let _0x34775=_0x5d030f([0x6d]);for(let _0x30d7b1=0x0;_0x30d7b1<_0x6d77f3[_0x5d030f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x30d7b1+=0x2){let _0x8c02d7=window[_0x5d030f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x6d77f3[_0x5d030f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x30d7b1,_0x30d7b1+0x2));_0x8c02d7>=_0x753ef1[_0x5d030f([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x8c02d7-=_0x753ef1[_0x5d030f([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x34775+=_0x753ef1[_0x8c02d7];}return _0x34775;}function _0x25ccc1(){const _0x2e7c91=_0x55cdf9[_0x5d030f([0x73,0x70,0x6c,0x69,0x74])](_0x5d030f([0x2e]));if(0x3!=_0x2e7c91[_0x5d030f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x59355a(_0x2e7c91[0x1]);function _0x59355a(_0x23c7f6){const _0x49c86a=_0x49b382(_0x23c7f6);return _0x49c86a&&_0x10f3b5()?_0x49c86a:null;function _0x10f3b5(){const _0xc1c3d4=_0x49c86a[_0x5d030f([0x6a,0x74,0x69])],_0x4b2f09=window[_0x5d030f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xc1c3d4[_0x5d030f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xc1c3d4[_0x5d030f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x48cf9a={..._0x49c86a,[_0x5d030f([0x6a,0x74,0x69])]:_0xc1c3d4[_0x5d030f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xc1c3d4[_0x5d030f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x48cf9a[_0x5d030f([0x76,0x63])],_0x9afca1(_0x48cf9a)==_0x4b2f09;}}}async function _0x41d254(){let _0x2a4e73=!0x0;try{const _0x2e332e=_0x55cdf9[_0x5d030f([0x73,0x70,0x6c,0x69,0x74])](_0x5d030f([0x2e])),[_0x4cfc00,_0x2cbcab,_0x347851]=_0x2e332e;return _0x1dd9d0(_0x4cfc00),await _0x33e287(_0x4cfc00,_0x2cbcab,_0x347851),_0x2a4e73;}catch{return!0x1;}function _0x1dd9d0(_0x32c264){const _0x5d0ca5=_0x49b382(_0x32c264);_0x5d0ca5&&_0x5d0ca5[_0x5d030f([0x61,0x6c,0x67])]==_0x5d030f([0x45,0x53,0x32,0x35,0x36])||(_0x2a4e73=!0x1);}async function _0x33e287(_0x1b1224,_0x415334,_0x460286){const _0x2fd1d3=window[_0x5d030f([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5d030f([0x66,0x72,0x6f,0x6d])](_0xc158b6(_0x460286),_0x4a0d1b=>_0x4a0d1b[_0x5d030f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xb7f28f=new window[(_0x5d030f([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5d030f([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1b1224+_0x5d030f([0x2e])+_0x415334),_0x475d0a=window[_0x5d030f([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5d030f([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x475d0a)return;const _0x45b4bc=await _0x475d0a[_0x5d030f([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5d030f([0x6a,0x77,0x6b]),_0x4275f0,{[_0x5d030f([0x6e,0x61,0x6d,0x65])]:_0x5d030f([0x45,0x43,0x44,0x53,0x41]),[_0x5d030f([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5d030f([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5d030f([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x475d0a[_0x5d030f([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5d030f([0x6e,0x61,0x6d,0x65])]:_0x5d030f([0x45,0x43,0x44,0x53,0x41]),[_0x5d030f([0x68,0x61,0x73,0x68])]:{[_0x5d030f([0x6e,0x61,0x6d,0x65])]:_0x5d030f([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x45b4bc,_0x2fd1d3,_0xb7f28f)||(_0x2a4e73=!0x1);}}function _0x49b382(_0x283bfa){return _0x283bfa[_0x5d030f([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5d030f([0x65,0x79]))?JSON[_0x5d030f([0x70,0x61,0x72,0x73,0x65])](_0xc158b6(_0x283bfa)):null;}function _0xc158b6(_0x4c5993){return window[_0x5d030f([0x61,0x74,0x6f,0x62])](_0x4c5993[_0x5d030f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5d030f([0x2b]))[_0x5d030f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5d030f([0x2f])));}function _0x9afca1(_0x57f797){let _0x144437=0x1505;function _0x9e1878(_0x341921){for(let _0x3a0d4b=0x0;_0x3a0d4b<_0x341921[_0x5d030f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3a0d4b++){const _0x2a0e21=_0x341921[_0x5d030f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3a0d4b);_0x144437=(_0x144437<<0x5)+_0x144437+_0x2a0e21,_0x144437&=_0x144437;}}function _0x22cedf(_0x2672be){Array[_0x5d030f([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2672be)?_0x2672be[_0x5d030f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x22cedf):_0x2672be&&typeof _0x2672be==_0x5d030f([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5d030f([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2672be)[_0x5d030f([0x73,0x6f,0x72,0x74])]()[_0x5d030f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4ac3fc,_0x2dc7bf])=>{_0x9e1878(_0x4ac3fc),_0x22cedf(_0x2dc7bf);}):_0x9e1878(window[_0x5d030f([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2672be));}return _0x22cedf(_0x57f797),_0x144437>>>0x0;}function _0x169aee(_0x528e86){return _0x528e86[_0x5d030f([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5d030f([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5d030f([0x30]));}function _0x47286a(_0x11c5cd){return _0x11c5cd[_0x5d030f([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5d030f([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5d030f([0x6a,0x6f,0x69,0x6e])]('');}function _0x2c2932(){}function _0x5d030f(_0x556160){return _0x556160['map'](_0x1c7a0e=>String['fromCharCode'](_0x1c7a0e))['join']('');}_0x59d64b(await _0x4ccac3());}(this);}['_createButton'](_0x3c2615,_0x2a90c2,_0x3c2d59=!0x1){const _0x54830f=new _0x3c2615(this['editor']['locale']);return _0x54830f['set']({'withText':_0x3c2d59,'isToggleable':!0x1}),_0x54830f['bind']('isEnabled')['to'](_0x2a90c2,'isEnabled'),this['listenTo'](_0x54830f,'execute',()=>_0x2a90c2['execute']()),_0x54830f;}['_registerKeybindings'](){const _0x1760a1=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':w(_0x1760a1,'Source\x20Editing\x20Enhanced')});const _0x1a15f8=_0x12f6e8['isMac']||_0x12f6e8['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':w(_0x1760a1,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':w(_0x1760a1,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':w(_0x1760a1,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':w(_0x1760a1,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':w(_0x1760a1,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':w(_0x1760a1,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':w(_0x1760a1,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x1a15f8?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':w(_0x1760a1,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':w(_0x1760a1,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':w(_0x1760a1,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':w(_0x1760a1,'Select\x20line'),'keystroke':_0x1a15f8?'Ctrl!+L':'Alt+L'},{'label':w(_0x1760a1,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x1a15f8?'Alt+Shift+M':'Ctrl+M'},{'label':w(_0x1760a1,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':w(_0x1760a1,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':w(_0x1760a1,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':w(_0x1760a1,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':w(_0x1760a1,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x1a15f8?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}class c extends _0x4b52ea{constructor(_0x292438){super(_0x292438),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0x5a4326,_0x4c0b73){const _0x210f00=this['editor'],_0x49f851=_0x4c0b73?.['rootName']??r(_0x210f00);_0x210f00['data']['set']({[_0x49f851]:_0x5a4326},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}class ee extends _0x41b61a{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[a];}constructor(_0x27490f){super(_0x27490f),_0x27490f['config']['define']('sourceEditingEnhanced.allowCollaborationFeatures',!0x1);}['init'](){this['_checkCompatibility'](),this['editor']['commands']['add']('replaceSource',new c(this['editor'])),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x2c6005=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1cc74f;for(const _0x21cfd8 in _0x2c6005){const _0xf86eb9=_0x21cfd8,_0xd9e08=_0x2c6005[_0xf86eb9];if('sourceEditingEnhancedLicenseKeyValid'==_0xd9e08||'sourceEditingEnhancedLicenseKeyInvalid'==_0xd9e08||'sourceEditingEnhancedLicenseKeyExpired'==_0xd9e08||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0xd9e08||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0xd9e08||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0xd9e08||'sourceEditingEnhancedLicenseKeyTrialLimit'==_0xd9e08||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0xd9e08){delete _0x2c6005[_0xf86eb9],_0x1cc74f=_0xd9e08,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0x1cc74f&&_0x2c6005['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0x1cc74f&&_0x2c6005['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x1cc74f&&_0x2c6005['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x1cc74f&&_0x2c6005['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x1cc74f&&_0x2c6005['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x1cc74f&&_0x2c6005['_showLicenseError']('trialLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x1cc74f&&_0x2c6005['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0x851ebf=this['editor'],_0x29d39f=_0x851ebf['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0x29d39f&&_0x851ebf['plugins']['has']('RealTimeCollaborativeEditing'))throw new _0x8e7d0e('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0x29d39f&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x4e4f8e=>_0x851ebf['plugins']['has'](_0x4e4f8e))&&console['warn']('You\x20initialized\x20the\x20editor\x20with\x20the\x20source\x20editing\x20enhanced\x20feature\x20and\x20at\x20least\x20one\x20of\x20the\x20collaboration\x20features.\x20Please\x20be\x20advised\x20that\x20the\x20source\x20editing\x20feature\x20may\x20not\x20work,\x20and\x20be\x20careful\x20when\x20editing\x20document\x20source\x20that\x20contains\x20markers\x20created\x20by\x20the\x20collaboration\x20features.'),_0x851ebf['plugins']['has']('RestrictedEditingModeEditing')&&console['warn']('You\x20initialized\x20the\x20editor\x20with\x20the\x20source\x20editing\x20enhanced\x20feature\x20and\x20restricted\x20editing\x20feature.\x20Please\x20be\x20advised\x20that\x20the\x20source\x20editing\x20enhanced\x20feature\x20may\x20not\x20work,\x20and\x20be\x20careful\x20when\x20editing\x20document\x20source\x20that\x20contains\x20markers\x20created\x20by\x20the\x20restricted\x20editing\x20feature.');}}export{d as EditSourceCommand,c as ReplaceSourceCommand,ee as SourceEditingEnhanced};
|
|
23
|
+
import{Command as _0x1e55a7,PendingActions as _0x4e9cc4,Plugin as _0x7d8791}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x48ab0b,formatHtml as _0x3294ef,env as _0x5d8ade,uid as _0xcd9a7f}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconSource as _0x3be935}from'@ckeditor/ckeditor5-icons/dist/index.js';import{View as _0x338f30,ButtonView as _0x1fa3c6,MenuBarMenuListItemButtonView as _0x349dca}from'@ckeditor/ckeditor5-ui/dist/index.js';import{EditorView as _0x3d774e,crosshairCursor as _0x145e03,drawSelection as _0x29327c,dropCursor as _0x1f04d9,lineNumbers as _0x30c5f2,highlightActiveLine as _0x1bba7d,highlightActiveLineGutter as _0x143e9c,highlightSpecialChars as _0x3cf62a,rectangularSelection as _0x36701c,keymap as _0x2f56bc}from'@codemirror/view';import{Compartment as _0x58f097,Transaction as _0x594eed}from'@codemirror/state';import{bracketMatching as _0x37aad0,foldGutter as _0x1bf162,indentOnInput as _0x2033a2,syntaxHighlighting as _0x862ca7,defaultHighlightStyle as _0x141059,foldKeymap as _0x121bb3}from'@codemirror/language';import{toggleTabFocusMode as _0xc16a2a,history as _0x1b792c,defaultKeymap as _0xf7be7c,historyKeymap as _0xed654f,indentLess as _0x112b82,indentMore as _0x2c59ea,redo as _0x2fc51b,undo as _0x3718ee}from'@codemirror/commands';import{autocompletion as _0x4f14e7,closeBrackets as _0x58f7c7,closeBracketsKeymap as _0x2d6f0a,completionKeymap as _0x185e8e}from'@codemirror/autocomplete';import{html as _0x3c3317}from'@codemirror/lang-html';import{markdown as _0x5a747e}from'@codemirror/lang-markdown';import{oneDark as _0x5903c0}from'@codemirror/theme-one-dark';function w(_0x273f0f,_0x2b04af){const t=_0x273f0f['t'];switch(_0x2b04af){case'Edit\x20source\x20modal\x20label':return t({'string':'Edit\x20source','id':'Edit\x20source\x20modal\x20label'});case'Source':return t('Source');case'Source\x20Editing\x20Enhanced':return t('Source\x20Editing\x20Enhanced');case'Copy\x20line\x20down':return t('Copy\x20line\x20down');case'Copy\x20line\x20up':return t('Copy\x20line\x20up');case'Delete\x20line':return t('Delete\x20line');case'Indent\x20less':return t('Indent\x20less');case'Indent\x20more':return t('Indent\x20more');case'Fold\x20all':return t('Fold\x20all');case'Fold\x20code\x20(current\x20level)':return t('Fold\x20code\x20(current\x20level)');case'Move\x20line\x20down':return t('Move\x20line\x20down');case'Move\x20line\x20up':return t('Move\x20line\x20up');case'Redo\x20(keystroke)':return t({'id':'Redo\x20(keystroke)','string':'Redo'});case'Select\x20line':return t('Select\x20line');case'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode':return t('Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode');case'Toggle\x20block\x20comment':return t('Toggle\x20block\x20comment');case'Toggle\x20comment':return t('Toggle\x20comment');case'Undo\x20(keystroke)':return t({'id':'Undo\x20(keystroke)','string':'Undo'});case'Unfold\x20all':return t('Unfold\x20all');case'Unfold\x20code\x20(current\x20level)':return t('Unfold\x20code\x20(current\x20level)');case'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.':return t('Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.');case'Cancel':return t('Cancel');case'Save':return t('Save');default:return _0x2b04af;}}function r(_0x225b31){const _0x38a3d8=_0x225b31['editing']['view']['document']['roots'],_0x262c55=_0x38a3d8['length'];if(0x0===_0x262c55)throw new _0x48ab0b('source-editing-enhanced-editor-no-root',_0x225b31);if(0x1===_0x262c55)return _0x38a3d8['first']['rootName'];return Array['from'](_0x225b31['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function g(_0x2d2614){return tr(_0x2d2614['replace'](/^[\n\s]*/g,''))?_0x2d2614['replace'](/\s+/g,''):_0x2d2614;}function tr(_0x456170){return _0x456170['startsWith']('<');}function p(_0x3f8e68){const _0x178d28=[_0x3d774e['lineWrapping'],_0x4f14e7(),_0x37aad0(),_0x58f7c7(),_0x145e03(),_0x29327c(),_0x1f04d9(),_0x30c5f2(),_0x1bf162(),_0x1bba7d(),_0x143e9c(),_0x3cf62a(),_0x1b792c(),_0x2033a2(),_0x36701c(),_0x862ca7(_0x141059,{'fallback':!0x0})],_0x451682=new _0x58f097();_0x178d28['push'](_0x451682['of'](_0x3d774e['editable']['of'](!0x0))),'html'===_0x3f8e68['syntaxLanguage']?_0x178d28['push'](_0x3c3317()):_0x178d28['push'](_0x5a747e());const _0x1bc9d8=function(_0x5bbf52){if(_0x5bbf52&&'default'!==_0x5bbf52)return'dark'===_0x5bbf52?_0x5903c0:_0x5bbf52;return null;}(_0x3f8e68['theme']);_0x1bc9d8&&_0x178d28['push'](_0x1bc9d8),_0x178d28['push'](_0x2f56bc['of']([..._0x2d6f0a,..._0xf7be7c,..._0xed654f,..._0x121bb3,..._0x185e8e,{'key':'Tab','run':_0x2c59ea,'shift':_0x112b82,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-y','mac':'Cmd-y','run':_0x2fc51b,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-Shift-z','mac':'Cmd-Shift-z','run':_0x2fc51b,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-z','mac':'Cmd-z','run':_0x3718ee,'preventDefault':!0x0,'stopPropagation':!0x0}]));const _0xb55168=new _0x3d774e({'extensions':_0x178d28,'parent':_0x3f8e68['parent']});return _0xc16a2a(_0xb55168),{'focus':()=>{_0xb55168['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0xb55168['focus']();},'getData':()=>_0xb55168['state']['doc']['toString'](),'setData':_0x3f3c75=>{_0xb55168['dispatch']({'changes':{'from':0x0,'to':_0xb55168['state']['doc']['length'],'insert':_0x3f3c75},'annotations':_0x594eed['addToHistory']['of'](!0x1)});},'setReadOnly':_0x3a7a6d=>{_0xb55168['dispatch']({'effects':[_0x451682['reconfigure'](_0x3d774e['editable']['of'](!_0x3a7a6d))]});},'destroy':()=>{_0xb55168['destroy']();},'instance':_0xb55168};}class E extends _0x338f30{['_codeEditorApi']=null;['_options'];constructor(_0x4b4ac3,_0x411544){super(_0x4b4ac3),this['_options']=_0x411544,this['set']('isReadOnly',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all-excluded','ck-code-editor'],'tabindex':-0x1}});}['render'](){super['render'](),this['_codeEditorApi']=p({'parent':this['element'],'syntaxLanguage':this['_options']['syntaxLanguage'],'theme':this['_options']['theme']}),this['on']('change:isReadOnly',(_0x5167a5,_0x49d2be,_0x2f3b34)=>{this['setReadOnly'](_0x2f3b34);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0x32b217){this['_codeEditorApi']['setData'](_0x32b217);}['setReadOnly'](_0x34ad22){this['_codeEditorApi']['setReadOnly'](_0x34ad22);}}const b='SourceEditingEnhancedMode';class d extends _0x1e55a7{constructor(_0x29f8a3){super(_0x29f8a3),this['affectsData']=!0x1,this['editor']['plugins']['get'](_0x4e9cc4)['on']('change:hasAny',(_0x2345c6,_0x47ccda,_0x1232a8)=>{_0x1232a8?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['_disableCommands'](){const _0x3c334b=this['editor'];for(const _0x2fc204 of _0x3c334b['commands']['names']())['replaceSource','editSource']['includes'](_0x2fc204)||_0x3c334b['commands']['get'](_0x2fc204)['forceDisabled'](b);}['_enableCommands'](){const _0x731c16=this['editor'];for(const _0x274822 of _0x731c16['commands']['commands']())_0x274822['clearForceDisabled'](b);}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x347d8d=this['editor'],_0x28c769=_0x347d8d['locale'],_0x3cca26=_0x347d8d['plugins']['get']('Dialog'),_0x5bb3d0=r(_0x347d8d),_0xef91e5=_0x347d8d['data']['get']({'rootName':_0x5bb3d0}),_0x4ddfa8=tr(_0x4102d6=_0xef91e5)?_0x3294ef(_0x4102d6):_0x4102d6;var _0x4102d6;const _0x44125d=new E(_0x28c769,{'syntaxLanguage':_0x347d8d['plugins']['has']('Markdown')?'markdown':'html','theme':_0x347d8d['config']['get']('sourceEditingEnhanced.theme')});let _0x4974d1=!0x0;const _0x254679=_0x14f0b5=>{if(!_0x4974d1)return;return g(_0x44125d['getData']())!==g(_0x4ddfa8)?window['confirm'](w(_0x28c769,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0x14f0b5['stop']():void 0x0;};_0x3cca26['show']({'id':'sourceEditingEnhanced','title':w(_0x28c769,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0x44125d,'actionButtons':[{'label':w(_0x28c769,'Cancel'),'withText':!0x0,'onExecute':()=>{_0x3cca26['hide']();}},{'label':w(_0x28c769,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0x9ac22=g(_0x44125d['getData']())!==g(_0x4ddfa8);(_0x9ac22&&_0x347d8d['execute']('replaceSource',_0x44125d['getData']()),_0x4974d1=!0x1,_0x3cca26['hide'](),_0x9ac22&&'editables'in _0x347d8d['ui']['view'])&&_0x347d8d['ui']['view']['editables'][_0x5bb3d0]['element']['focus']();},'onCreate':_0x11a79e=>{_0x11a79e['set']('isEnabled',!_0x347d8d['isReadOnly']),_0x11a79e['bind']('isEnabled')['to'](_0x347d8d,'isReadOnly',this,'isEnabled',(_0x4f1425,_0x5df6f1)=>!_0x4f1425&&_0x5df6f1);}}],'onHide':()=>{this['_enableCommands'](),_0x3cca26['off']('hide',_0x254679),_0x44125d['destroy']();},'onShow':()=>{_0x44125d['bind']('isReadOnly')['to'](_0x347d8d,'isReadOnly',this,'isEnabled',(_0x5ad865,_0x36cce2)=>_0x5ad865||!_0x36cce2),_0x44125d['setData'](_0x4ddfa8),_0x44125d['focus'](),_0x3cca26['on']('hide',_0x254679,{'priority':'highest'}),this['_disableCommands']();}});}}class a extends _0x7d8791{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[_0x4e9cc4];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x13dd3f=this['editor'],_0x3817f3=_0x13dd3f['locale'],_0x4c2639=new d(_0x13dd3f);_0x13dd3f['commands']['add']('editSource',_0x4c2639),_0x13dd3f['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0x237fe1=this['_createButton'](_0x1fa3c6,_0x4c2639);return _0x237fe1['set']({'label':w(_0x3817f3,'Source'),'icon':_0x3be935,'tooltip':w(_0x3817f3,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0x237fe1;}),_0x13dd3f['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0x1a6ffe=this['_createButton'](_0x349dca,_0x4c2639,!0x0);return _0x1a6ffe['set']({'label':w(_0x3817f3,'Edit\x20source\x20modal\x20label'),'icon':_0x3be935,'role':'menuitemcheckbox'}),_0x1a6ffe;}),this['_registerKeybindings']();}['afterInit'](){!async function(_0x19941e){const _0x5142e3=_0x1d0693([0x74,0x72,0x42,0x4e,0x71,0x70,0x35,0x56,0x30,0x31,0x78,0x79,0x57,0x39,0x4a,0x77,0x5a,0x44,0x68,0x36,0x43,0x38,0x65,0x49,0x53,0x48,0x7a,0x4c,0x58,0x6b,0x75,0x73,0x41,0x6f,0x67,0x61,0x59,0x6e,0x6c,0x32,0x51,0x52,0x62,0x6a,0x64,0x76,0x4d,0x54,0x45,0x63,0x34,0x66,0x69,0x4f,0x33,0x47,0x55,0x50,0x6d,0x37,0x46,0x4b]),_0x118b13=0x47bc684a,_0xcd10b7=0x47bb0482^_0x118b13,_0x1842b8=window[_0x1d0693([0x44,0x61,0x74,0x65])][_0x1d0693([0x6e,0x6f,0x77])](),_0x4732f3=_0x19941e[_0x1d0693([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x45b0fa=new window[(_0x1d0693([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x369f04=>{_0x4732f3[_0x1d0693([0x6f,0x6e,0x63,0x65])](_0x1d0693([0x72,0x65,0x61,0x64,0x79]),_0x369f04);}),_0x13df76={[_0x1d0693([0x6b,0x74,0x79])]:_0x1d0693([0x45,0x43]),[_0x1d0693([0x75,0x73,0x65])]:_0x1d0693([0x73,0x69,0x67]),[_0x1d0693([0x63,0x72,0x76])]:_0x1d0693([0x50,0x2d,0x32,0x35,0x36]),[_0x1d0693([0x78])]:_0x1d0693([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]),[_0x1d0693([0x79])]:_0x1d0693([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]),[_0x1d0693([0x61,0x6c,0x67])]:_0x1d0693([0x45,0x53,0x32,0x35,0x36])},_0x4d70e0=_0x4732f3[_0x1d0693([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1d0693([0x67,0x65,0x74])](_0x1d0693([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3538c7(){let _0x7c1866,_0x5e3f79=null,_0x3e9f92=null;try{if(_0x4d70e0==_0x1d0693([0x47,0x50,0x4c]))return _0x1d0693([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x7c1866=_0x404644(),!_0x7c1866)return _0x1d0693([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x7c1866[_0x1d0693([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3e9f92=_0xfc3e97(_0x7c1866[_0x1d0693([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x7c1866[_0x1d0693([0x6a,0x74,0x69])])),await _0x1aae74()?_0x4978cd()?_0x408e76()?_0x1d0693([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3fc57e()?(_0x7c1866[_0x1d0693([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1d0693([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5e3f79=_0x4cb62a(_0x1d0693([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x7c1866[_0x1d0693([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1d0693([0x74,0x72,0x69,0x61,0x6c])&&(_0x5e3f79=_0x4cb62a(_0x1d0693([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2cba3d()):_0x1d0693([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1d0693([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1d0693([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1d0693([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x408e76(){const _0xaedb33=[_0x1d0693([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1d0693([0x74,0x72,0x69,0x61,0x6c])][_0x1d0693([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x7c1866[_0x1d0693([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1842b8/0x3e8:0xe10*_0xcd10b7;return _0x7c1866[_0x1d0693([0x65,0x78,0x70])]<_0xaedb33;}function _0x4978cd(){const _0x33d485=_0x7c1866[_0x1d0693([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x33d485&&(!!_0x33d485[_0x1d0693([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1d0693([0x2a]))||!!_0x33d485[_0x1d0693([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1d0693([0x53,0x45,0x45])));}function _0x3fc57e(){const _0x1804a6=_0x7c1866[_0x1d0693([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1804a6||0x0==_0x1804a6[_0x1d0693([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4f0816}=new URL(window[_0x1d0693([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x1804a6[_0x1d0693([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4f0816))return!0x0;const _0x52804c=_0x4f0816[_0x1d0693([0x73,0x70,0x6c,0x69,0x74])](_0x1d0693([0x2e]));return _0x1804a6[_0x1d0693([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x37485b=>_0x37485b[_0x1d0693([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1d0693([0x2a])))[_0x1d0693([0x6d,0x61,0x70])](_0x5b357d=>_0x5b357d[_0x1d0693([0x73,0x70,0x6c,0x69,0x74])](_0x1d0693([0x2e])))[_0x1d0693([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5fe91d=>_0x5fe91d[_0x1d0693([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x52804c[_0x1d0693([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1d0693([0x6d,0x61,0x70])](_0x527903=>Array(_0x52804c[_0x1d0693([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x527903[_0x1d0693([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1d0693([0x66,0x69,0x6c,0x6c])](_0x527903[0x0]===_0x1d0693([0x2a])?_0x1d0693([0x2a]):'')[_0x1d0693([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x527903))[_0x1d0693([0x73,0x6f,0x6d,0x65])](_0x16d116=>_0x52804c[_0x1d0693([0x65,0x76,0x65,0x72,0x79])]((_0x54775f,_0x5ad0bd)=>_0x16d116[_0x5ad0bd]===_0x54775f||_0x16d116[_0x5ad0bd]===_0x1d0693([0x2a])));}function _0x2cba3d(){return _0x5e3f79&&_0x3e9f92?new window[(_0x1d0693([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1d33bf,_0x71453f)=>{_0x5e3f79[_0x1d0693([0x74,0x68,0x65,0x6e])](_0x1d33bf,_0x71453f),_0x3e9f92[_0x1d0693([0x74,0x68,0x65,0x6e])](_0x4409e1=>{_0x4409e1!=_0x1d0693([0x56,0x61,0x6c,0x69,0x64])&&_0x1d33bf(_0x4409e1);},_0x71453f);}):_0x5e3f79||_0x3e9f92||_0x1d0693([0x56,0x61,0x6c,0x69,0x64]);}}function _0xfc3e97(_0x3508fb,_0x346664){return new window[(_0x1d0693([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1c9be8=>{if(_0x7489e9())return _0x1c9be8(_0x1d0693([0x56,0x61,0x6c,0x69,0x64]));_0x5d7c36(),_0x4732f3[_0x1d0693([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1d0693([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x57b960=!0x1;const _0x197927=_0xcd9a7f();function _0x4223fd(_0x2b457d){return!!_0x2b457d&&(typeof _0x2b457d===_0x1d0693([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2b457d===_0x1d0693([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2b457d[_0x1d0693([0x74,0x68,0x65,0x6e])]===_0x1d0693([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2b457d[_0x1d0693([0x63,0x61,0x74,0x63,0x68])]===_0x1d0693([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x649bc4(_0x53fec0){_0x4f9cfa(_0x53fec0)[_0x1d0693([0x74,0x68,0x65,0x6e])](_0x485d7b=>{if(!_0x485d7b||_0x485d7b[_0x1d0693([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1d0693([0x6f,0x6b]))return _0x1d0693([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x53f018(_0xe88460(_0x197927+_0x346664))!=_0x485d7b[_0x1d0693([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1d0693([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1d0693([0x56,0x61,0x6c,0x69,0x64]);})[_0x1d0693([0x74,0x68,0x65,0x6e])](_0x2eb660=>(_0x2d64a7(),_0x2eb660),()=>{const _0x22f54a=_0x13079e();return null==_0x22f54a?(_0x2d64a7(),_0x1d0693([0x56,0x61,0x6c,0x69,0x64])):_0x1d0693(_0x1842b8-_0x22f54a>(0x63b0ec4a^_0x118b13)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1d0693([0x74,0x68,0x65,0x6e])](_0x1c9be8)[_0x1d0693([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1c9be8(_0x1d0693([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3ba36d=0x478a86ca^_0x118b13;function _0x2d64a7(){const _0x364e63=_0x1d0693([0x6c,0x6c,0x63,0x74,0x2d])+_0x53f018(_0xe88460(_0x3508fb)),_0x11eb71=_0x1b6d80(_0x53f018(window[_0x1d0693([0x4d,0x61,0x74,0x68])][_0x1d0693([0x63,0x65,0x69,0x6c])](_0x1842b8/_0x3ba36d)));window[_0x1d0693([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1d0693([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x364e63,_0x11eb71);}function _0x13079e(){const _0x369a87=_0x1d0693([0x6c,0x6c,0x63,0x74,0x2d])+_0x53f018(_0xe88460(_0x3508fb)),_0x1e93be=window[_0x1d0693([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1d0693([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x369a87);return _0x1e93be?window[_0x1d0693([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1b6d80(_0x1e93be),0x10)*_0x3ba36d:null;}function _0x4f9cfa(_0x276ddc){return new window[(_0x1d0693([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x45844e,_0x1d1fcd)=>{_0x276ddc[_0x1d0693([0x74,0x68,0x65,0x6e])](_0x45844e,_0x1d1fcd),window[_0x1d0693([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1d1fcd,0x47bdbc8a^_0x118b13);});}}_0x4732f3[_0x1d0693([0x6f,0x6e])](_0x1d0693([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x8cc638,_0x4ea669)=>{if(_0x4ea669[0x0]!=_0x3508fb)return _0x1c9be8(_0x1d0693([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4ea669[0x1]={..._0x4ea669[0x1],[_0x1d0693([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x197927};},{[_0x1d0693([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1d0693([0x68,0x69,0x67,0x68])}),_0x4732f3[_0x1d0693([0x6f,0x6e])](_0x1d0693([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1b6449=>{_0x4223fd(_0x1b6449[_0x1d0693([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x57b960=!0x0,_0x649bc4(_0x1b6449[_0x1d0693([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1d0693([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1d0693([0x6c,0x6f,0x77])}),_0x45b0fa[_0x1d0693([0x74,0x68,0x65,0x6e])](()=>{_0x57b960||_0x1c9be8(_0x1d0693([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x7489e9(){return _0x4732f3[_0x1d0693([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1d0693([0x76,0x69,0x65,0x77])][_0x1d0693([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1d0693([0x61,0x75,0x74,0x6f]);}function _0x5d7c36(){_0x4732f3[_0x1d0693([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1d0693([0x76,0x69,0x65,0x77])][_0x1d0693([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1d0693([0x61,0x75,0x74,0x6f]);}}function _0x4cb62a(_0x34a664){const _0x1082ca=[new window[(_0x1d0693([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x389236=>setTimeout(_0x389236,0x47b55686^_0x118b13)),_0x45b0fa[_0x1d0693([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1d0693([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4404a3=>{let _0x41c3e2=0x0;_0x4732f3[_0x1d0693([0x6d,0x6f,0x64,0x65,0x6c])][_0x1d0693([0x6f,0x6e])](_0x1d0693([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2373e3,_0x361c04)=>{_0x361c04[0x0][_0x1d0693([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x41c3e2++,_0x41c3e2==(0x47bc69b2^_0x118b13)&&(_0x4404a3(),_0x2373e3[_0x1d0693([0x6f,0x66,0x66])]());});}))];return window[_0x1d0693([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1d0693([0x72,0x61,0x63,0x65])](_0x1082ca)[_0x1d0693([0x74,0x68,0x65,0x6e])](()=>_0x34a664);}async function _0x2eba2e(){await _0x45b0fa,_0x4732f3[_0x1d0693([0x6d,0x6f,0x64,0x65,0x6c])][_0x1d0693([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x98774f,_0x4732f3[_0x1d0693([0x6d,0x6f,0x64,0x65,0x6c])][_0x1d0693([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x98774f,_0x4732f3[_0x1d0693([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1d0693([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x445eb5(_0x1d0842){const _0x420d9e=_0x134237();_0x4732f3[_0x420d9e]=_0x1d0693([0x73,0x6f,0x75,0x72,0x63,0x65,0x45,0x64,0x69,0x74,0x69,0x6e,0x67,0x45,0x6e,0x68,0x61,0x6e,0x63,0x65,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1d0842,_0x1d0842!=_0x1d0693([0x56,0x61,0x6c,0x69,0x64])&&_0x2eba2e();}function _0x134237(){const _0x1bbf0f=window[_0x1d0693([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1d0693([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1d0693([0x6e,0x6f,0x77])]())[_0x1d0693([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1d0693([0x2e]),'');let _0x25d84f=_0x1d0693([0x74]);for(let _0x32d0df=0x0;_0x32d0df<_0x1bbf0f[_0x1d0693([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x32d0df+=0x2){let _0x2aefc5=window[_0x1d0693([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1bbf0f[_0x1d0693([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x32d0df,_0x32d0df+0x2));_0x2aefc5>=_0x5142e3[_0x1d0693([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2aefc5-=_0x5142e3[_0x1d0693([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x25d84f+=_0x5142e3[_0x2aefc5];}return _0x25d84f;}function _0x404644(){const _0x35fbbc=_0x4d70e0[_0x1d0693([0x73,0x70,0x6c,0x69,0x74])](_0x1d0693([0x2e]));if(0x3!=_0x35fbbc[_0x1d0693([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x57edb0(_0x35fbbc[0x1]);function _0x57edb0(_0x45bfd6){const _0x10e31a=_0x1e7352(_0x45bfd6);return _0x10e31a&&_0x3152b1()?_0x10e31a:null;function _0x3152b1(){const _0x34d7d9=_0x10e31a[_0x1d0693([0x6a,0x74,0x69])],_0x169b15=window[_0x1d0693([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x34d7d9[_0x1d0693([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x34d7d9[_0x1d0693([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x174a4a={..._0x10e31a,[_0x1d0693([0x6a,0x74,0x69])]:_0x34d7d9[_0x1d0693([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x34d7d9[_0x1d0693([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x174a4a[_0x1d0693([0x76,0x63])],_0xe88460(_0x174a4a)==_0x169b15;}}}async function _0x1aae74(){let _0x2ae98c=!0x0;try{const _0x59ec93=_0x4d70e0[_0x1d0693([0x73,0x70,0x6c,0x69,0x74])](_0x1d0693([0x2e])),[_0x4d5810,_0x4c3dc7,_0x536b09]=_0x59ec93;return _0x4e4175(_0x4d5810),await _0x3fa75b(_0x4d5810,_0x4c3dc7,_0x536b09),_0x2ae98c;}catch{return!0x1;}function _0x4e4175(_0x473fb2){const _0x28e629=_0x1e7352(_0x473fb2);_0x28e629&&_0x28e629[_0x1d0693([0x61,0x6c,0x67])]==_0x1d0693([0x45,0x53,0x32,0x35,0x36])||(_0x2ae98c=!0x1);}async function _0x3fa75b(_0x1b65b0,_0xf2d77d,_0x4b8373){const _0x51e436=window[_0x1d0693([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1d0693([0x66,0x72,0x6f,0x6d])](_0x2aeea1(_0x4b8373),_0x9538b=>_0x9538b[_0x1d0693([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x29e097=new window[(_0x1d0693([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1d0693([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1b65b0+_0x1d0693([0x2e])+_0xf2d77d),_0x336bf1=window[_0x1d0693([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1d0693([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x336bf1)return;const _0x2db27b=await _0x336bf1[_0x1d0693([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1d0693([0x6a,0x77,0x6b]),_0x13df76,{[_0x1d0693([0x6e,0x61,0x6d,0x65])]:_0x1d0693([0x45,0x43,0x44,0x53,0x41]),[_0x1d0693([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1d0693([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1d0693([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x336bf1[_0x1d0693([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1d0693([0x6e,0x61,0x6d,0x65])]:_0x1d0693([0x45,0x43,0x44,0x53,0x41]),[_0x1d0693([0x68,0x61,0x73,0x68])]:{[_0x1d0693([0x6e,0x61,0x6d,0x65])]:_0x1d0693([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2db27b,_0x51e436,_0x29e097)||(_0x2ae98c=!0x1);}}function _0x1e7352(_0x4cf787){return _0x4cf787[_0x1d0693([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1d0693([0x65,0x79]))?JSON[_0x1d0693([0x70,0x61,0x72,0x73,0x65])](_0x2aeea1(_0x4cf787)):null;}function _0x2aeea1(_0x38bea5){return window[_0x1d0693([0x61,0x74,0x6f,0x62])](_0x38bea5[_0x1d0693([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1d0693([0x2b]))[_0x1d0693([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1d0693([0x2f])));}function _0xe88460(_0x3dca89){let _0x52594e=0x1505;function _0x4e5a95(_0x3387af){for(let _0x4803df=0x0;_0x4803df<_0x3387af[_0x1d0693([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4803df++){const _0x2a489c=_0x3387af[_0x1d0693([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4803df);_0x52594e=(_0x52594e<<0x5)+_0x52594e+_0x2a489c,_0x52594e&=_0x52594e;}}function _0x4ea60d(_0x29b4bc){Array[_0x1d0693([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x29b4bc)?_0x29b4bc[_0x1d0693([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4ea60d):_0x29b4bc&&typeof _0x29b4bc==_0x1d0693([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1d0693([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x29b4bc)[_0x1d0693([0x73,0x6f,0x72,0x74])]()[_0x1d0693([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x43f153,_0x50a0cb])=>{_0x4e5a95(_0x43f153),_0x4ea60d(_0x50a0cb);}):_0x4e5a95(window[_0x1d0693([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x29b4bc));}return _0x4ea60d(_0x3dca89),_0x52594e>>>0x0;}function _0x53f018(_0x693585){return _0x693585[_0x1d0693([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1d0693([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1d0693([0x30]));}function _0x1b6d80(_0x12b50e){return _0x12b50e[_0x1d0693([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1d0693([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1d0693([0x6a,0x6f,0x69,0x6e])]('');}function _0x98774f(){}function _0x1d0693(_0x5a2f38){return _0x5a2f38['map'](_0x18d74e=>String['fromCharCode'](_0x18d74e))['join']('');}_0x445eb5(await _0x3538c7());}(this);}['_createButton'](_0xae3532,_0x46feee,_0x3a14bd=!0x1){const _0x31b65a=new _0xae3532(this['editor']['locale']);return _0x31b65a['set']({'withText':_0x3a14bd,'isToggleable':!0x1}),_0x31b65a['bind']('isEnabled')['to'](_0x46feee,'isEnabled'),this['listenTo'](_0x31b65a,'execute',()=>_0x46feee['execute']()),_0x31b65a;}['_registerKeybindings'](){const _0xd205cc=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':w(_0xd205cc,'Source\x20Editing\x20Enhanced')});const _0x2c98f9=_0x5d8ade['isMac']||_0x5d8ade['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':w(_0xd205cc,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':w(_0xd205cc,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':w(_0xd205cc,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':w(_0xd205cc,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':w(_0xd205cc,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':w(_0xd205cc,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':w(_0xd205cc,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x2c98f9?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':w(_0xd205cc,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':w(_0xd205cc,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':w(_0xd205cc,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':w(_0xd205cc,'Select\x20line'),'keystroke':_0x2c98f9?'Ctrl!+L':'Alt+L'},{'label':w(_0xd205cc,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x2c98f9?'Alt+Shift+M':'Ctrl+M'},{'label':w(_0xd205cc,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':w(_0xd205cc,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':w(_0xd205cc,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':w(_0xd205cc,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':w(_0xd205cc,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x2c98f9?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}class c extends _0x1e55a7{constructor(_0x422a88){super(_0x422a88),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0x3ae17f,_0x821a04){const _0x1747d3=this['editor'],_0x2e6ddb=_0x821a04?.['rootName']??r(_0x1747d3);_0x1747d3['data']['set']({[_0x2e6ddb]:_0x3ae17f},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}class ee extends _0x7d8791{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[a];}constructor(_0x275184){super(_0x275184),_0x275184['config']['define']('sourceEditingEnhanced.allowCollaborationFeatures',!0x1);}['init'](){this['_checkCompatibility'](),this['editor']['commands']['add']('replaceSource',new c(this['editor'])),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x3e873d=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1018ad;for(const _0x35ee6c in _0x3e873d){const _0x286ea6=_0x35ee6c,_0x389381=_0x3e873d[_0x286ea6];if('sourceEditingEnhancedLicenseKeyValid'==_0x389381||'sourceEditingEnhancedLicenseKeyInvalid'==_0x389381||'sourceEditingEnhancedLicenseKeyExpired'==_0x389381||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x389381||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x389381||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x389381||'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x389381||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x389381){delete _0x3e873d[_0x286ea6],_0x1018ad=_0x389381,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0x1018ad&&_0x3e873d['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0x1018ad&&_0x3e873d['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x1018ad&&_0x3e873d['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x1018ad&&_0x3e873d['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x1018ad&&_0x3e873d['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x1018ad&&_0x3e873d['_showLicenseError']('trialLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x1018ad&&_0x3e873d['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0x4b5307=this['editor'],_0x21758d=_0x4b5307['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0x21758d&&_0x4b5307['plugins']['has']('RealTimeCollaborativeEditing'))throw new _0x48ab0b('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0x21758d&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x4ec7e3=>_0x4b5307['plugins']['has'](_0x4ec7e3))&&console['warn']('You\x20initialized\x20the\x20editor\x20with\x20the\x20source\x20editing\x20enhanced\x20feature\x20and\x20at\x20least\x20one\x20of\x20the\x20collaboration\x20features.\x20Please\x20be\x20advised\x20that\x20the\x20source\x20editing\x20feature\x20may\x20not\x20work,\x20and\x20be\x20careful\x20when\x20editing\x20document\x20source\x20that\x20contains\x20markers\x20created\x20by\x20the\x20collaboration\x20features.'),_0x4b5307['plugins']['has']('RestrictedEditingModeEditing')&&console['warn']('You\x20initialized\x20the\x20editor\x20with\x20the\x20source\x20editing\x20enhanced\x20feature\x20and\x20restricted\x20editing\x20feature.\x20Please\x20be\x20advised\x20that\x20the\x20source\x20editing\x20enhanced\x20feature\x20may\x20not\x20work,\x20and\x20be\x20careful\x20when\x20editing\x20document\x20source\x20that\x20contains\x20markers\x20created\x20by\x20the\x20restricted\x20editing\x20feature.');}}export{d as EditSourceCommand,c as ReplaceSourceCommand,ee as SourceEditingEnhanced};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-source-editing-enhanced",
|
|
3
|
-
"version": "0.0.0-nightly-
|
|
3
|
+
"version": "0.0.0-nightly-20250706.0",
|
|
4
4
|
"description": "Source editing enhanced feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -18,11 +18,11 @@
|
|
|
18
18
|
"type": "module",
|
|
19
19
|
"main": "src/index.js",
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@ckeditor/ckeditor5-core": "0.0.0-nightly-
|
|
22
|
-
"@ckeditor/ckeditor5-icons": "0.0.0-nightly-
|
|
23
|
-
"@ckeditor/ckeditor5-theme-lark": "0.0.0-nightly-
|
|
24
|
-
"@ckeditor/ckeditor5-ui": "0.0.0-nightly-
|
|
25
|
-
"@ckeditor/ckeditor5-utils": "0.0.0-nightly-
|
|
21
|
+
"@ckeditor/ckeditor5-core": "0.0.0-nightly-20250706.0",
|
|
22
|
+
"@ckeditor/ckeditor5-icons": "0.0.0-nightly-20250706.0",
|
|
23
|
+
"@ckeditor/ckeditor5-theme-lark": "0.0.0-nightly-20250706.0",
|
|
24
|
+
"@ckeditor/ckeditor5-ui": "0.0.0-nightly-20250706.0",
|
|
25
|
+
"@ckeditor/ckeditor5-utils": "0.0.0-nightly-20250706.0",
|
|
26
26
|
"@codemirror/autocomplete": "^6.7.1",
|
|
27
27
|
"@codemirror/commands": "6.8.1",
|
|
28
28
|
"@codemirror/lang-html": "^6.0.0",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"@codemirror/state": "^6.5.0",
|
|
32
32
|
"@codemirror/theme-one-dark": "^6.1.2",
|
|
33
33
|
"@codemirror/view": "^6.35.0",
|
|
34
|
-
"ckeditor5": "0.0.0-nightly-
|
|
34
|
+
"ckeditor5": "0.0.0-nightly-20250706.0"
|
|
35
35
|
},
|
|
36
36
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
37
37
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x4d18(_0x226df4,_0x539c63){const _0x4772a5=_0x4772();return _0x4d18=function(_0x4d18c3,_0x50bdeb){_0x4d18c3=_0x4d18c3-0x127;let _0x5e5cfb=_0x4772a5[_0x4d18c3];return _0x5e5cfb;},_0x4d18(_0x226df4,_0x539c63);}const _0x2f102e=_0x4d18;(function(_0x127152,_0x1c5bc9){const _0x2106ad=_0x4d18,_0x5be7b7=_0x127152();while(!![]){try{const _0x3f8266=parseInt(_0x2106ad(0x14b))/0x1+parseInt(_0x2106ad(0x16b))/0x2+-parseInt(_0x2106ad(0x16d))/0x3+-parseInt(_0x2106ad(0x14c))/0x4*(-parseInt(_0x2106ad(0x17a))/0x5)+parseInt(_0x2106ad(0x12f))/0x6*(parseInt(_0x2106ad(0x15b))/0x7)+-parseInt(_0x2106ad(0x12d))/0x8+-parseInt(_0x2106ad(0x144))/0x9;if(_0x3f8266===_0x1c5bc9)break;else _0x5be7b7['push'](_0x5be7b7['shift']());}catch(_0x37ba87){_0x5be7b7['push'](_0x5be7b7['shift']());}}}(_0x4772,0xade02));import{Plugin as _0x351216,PendingActions as _0x40f80e}from'ckeditor5/src/core.js';function _0x4772(){const _0x507510=['pluginName','Move\x20line\x20down','Shift+Alt+A','bind','Ctrl!+L','isEnabled','Ctrl+[','Alt+ArrowUp','_createButton','4282650FehbtU','componentFactory','addKeystrokeInfos','isMac','_registerKeybindings','listenTo','afterInit','1221067seFAPM','117704syctGM','Toggle\x20comment','Ctrl+Shift+[','editor','isiOS','commands','Select\x20line','Undo\x20(keystroke)','Cmd+Alt+]','Ctrl+Y','ck-source-editing-enhanced-button','Copy\x20line\x20up','Delete\x20line','Ctrl+]','execute','7HLrulr','isPremiumPlugin','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode','join','Source','Toggle\x20block\x20comment','map','accessibility','addKeystrokeInfoCategory','menuBar:sourceEditingEnhanced','Indent\x20less','Ctrl+Z','Ctrl!+Alt+[','Fold\x20code\x20(current\x20level)','Ctrl+Shift+Z','add','1604668ekVNZv','init','1563735jYpZRt','isOfficialPlugin','Move\x20line\x20up','Unfold\x20all','Edit\x20source\x20modal\x20label','locale','sourceEditingEnhanced','Indent\x20more','Shift+Alt+ArrowDown','Ctrl!+Alt+]','Shift+Alt+ArrowUp','fromCharCode','SourceEditingEnhancedUI','80eFinGk','Ctrl+Shift+]','Source\x20Editing\x20Enhanced','Fold\x20all','Alt+Shift+M','menuitemcheckbox','href','10122360GAiaoo','Alt+ArrowDown','2882202BPPNde','Shift+Ctrl+K','Ctrl+/','Unfold\x20code\x20(current\x20level)','set','editSource','Ctrl+M','requires','Cmd+Alt+[','Redo\x20(keystroke)','Alt+L','Copy\x20line\x20down'];_0x4772=function(){return _0x507510;};return _0x4772();}import{IconSource as _0x223889}from'ckeditor5/src/icons.js';import{ButtonView as _0x25d8ca,MenuBarMenuListItemButtonView as _0x521017}from'ckeditor5/src/ui.js';import{EditSourceCommand as _0x544073}from'./ui/editsourcecommand.js';import{getTranslation as _0x57d8b0}from'./utils/common-translations.js';import{env as _0x58b1e6,uid as _0x56e028}from'ckeditor5/src/utils.js';import'../theme/sourceeditingenhanced.css';export class SourceEditingEnhancedUI extends _0x351216{static get[_0x2f102e(0x13b)](){const _0x223fc9=_0x2f102e;return _0x223fc9(0x179);}static get[_0x2f102e(0x136)](){return[_0x40f80e];}static get[_0x2f102e(0x16e)](){return!0x0;}static get[_0x2f102e(0x15c)](){return!0x0;}[_0x2f102e(0x16c)](){const _0x12467b=_0x2f102e,_0x40c3f0=this[_0x12467b(0x14f)],_0x178f36=_0x40c3f0[_0x12467b(0x172)],_0x4ba406=new _0x544073(_0x40c3f0);_0x40c3f0[_0x12467b(0x151)][_0x12467b(0x16a)](_0x12467b(0x134),_0x4ba406),_0x40c3f0['ui'][_0x12467b(0x145)][_0x12467b(0x16a)](_0x12467b(0x173),()=>{const _0x16dde2=_0x12467b,_0x42bf1d=this[_0x16dde2(0x143)](_0x25d8ca,_0x4ba406);return _0x42bf1d[_0x16dde2(0x133)]({'label':_0x57d8b0(_0x178f36,_0x16dde2(0x15f)),'icon':_0x223889,'tooltip':_0x57d8b0(_0x178f36,_0x16dde2(0x171)),'class':_0x16dde2(0x156)}),_0x42bf1d;}),_0x40c3f0['ui'][_0x12467b(0x145)][_0x12467b(0x16a)](_0x12467b(0x164),()=>{const _0x4fb72c=_0x12467b,_0x14181b=this[_0x4fb72c(0x143)](_0x521017,_0x4ba406,!0x0);return _0x14181b[_0x4fb72c(0x133)]({'label':_0x57d8b0(_0x178f36,_0x4fb72c(0x171)),'icon':_0x223889,'role':_0x4fb72c(0x12b)}),_0x14181b;}),this[_0x12467b(0x148)]();}[_0x2f102e(0x14a)](){!async function(_0x471925){const _0x29e870=_0x210715([0x6d,0x58,0x78,0x51,0x35,0x4b,0x76,0x63,0x4d,0x6a,0x69,0x56,0x77,0x54,0x4a,0x7a,0x72,0x4c,0x6f,0x52,0x31,0x32,0x59,0x41,0x64,0x66,0x79,0x53,0x4f,0x45,0x39,0x48,0x38,0x5a,0x61,0x36,0x75,0x50,0x44,0x71,0x70,0x6b,0x68,0x46,0x65,0x62,0x34,0x57,0x42,0x43,0x33,0x30,0x67,0x73,0x74,0x6e,0x37,0x55,0x4e,0x49,0x6c,0x47]),_0x23dd4d=0x60ef4073,_0x5d213e=0x60e82ceb^_0x23dd4d,_0x2e9964=window[_0x210715([0x44,0x61,0x74,0x65])][_0x210715([0x6e,0x6f,0x77])](),_0x10df17=_0x471925[_0x210715([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4909c0=new window[(_0x210715([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x16cd4b=>{_0x10df17[_0x210715([0x6f,0x6e,0x63,0x65])](_0x210715([0x72,0x65,0x61,0x64,0x79]),_0x16cd4b);}),_0x2045bb={[_0x210715([0x6b,0x74,0x79])]:_0x210715([0x45,0x43]),[_0x210715([0x75,0x73,0x65])]:_0x210715([0x73,0x69,0x67]),[_0x210715([0x63,0x72,0x76])]:_0x210715([0x50,0x2d,0x32,0x35,0x36]),[_0x210715([0x78])]:_0x210715([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]),[_0x210715([0x79])]:_0x210715([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]),[_0x210715([0x61,0x6c,0x67])]:_0x210715([0x45,0x53,0x32,0x35,0x36])},_0x1dce93=_0x10df17[_0x210715([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x210715([0x67,0x65,0x74])](_0x210715([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x31b7d0(){let _0x40b345,_0x47c58e=null,_0xab90e2=null;try{if(_0x1dce93==_0x210715([0x47,0x50,0x4c]))return _0x210715([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x40b345=_0x455139(),!_0x40b345)return _0x210715([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x40b345[_0x210715([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xab90e2=_0x17aa9a(_0x40b345[_0x210715([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x40b345[_0x210715([0x6a,0x74,0x69])])),await _0x4af1cd()?_0x4ccfe3()?_0x499acb()?_0x210715([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x40e2ef()?(_0x40b345[_0x210715([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x210715([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x47c58e=_0x53e899(_0x210715([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x40b345[_0x210715([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x210715([0x74,0x72,0x69,0x61,0x6c])&&(_0x47c58e=_0x53e899(_0x210715([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2c53ba()):_0x210715([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x210715([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x210715([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x210715([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x499acb(){const _0x4a5e0f=[_0x210715([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x210715([0x74,0x72,0x69,0x61,0x6c])][_0x210715([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x40b345[_0x210715([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2e9964/0x3e8:0xe10*_0x5d213e;return _0x40b345[_0x210715([0x65,0x78,0x70])]<_0x4a5e0f;}function _0x4ccfe3(){const _0x552e4d=_0x40b345[_0x210715([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x552e4d&&(!!_0x552e4d[_0x210715([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x210715([0x2a]))||!!_0x552e4d[_0x210715([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x210715([0x53,0x45,0x45])));}function _0x40e2ef(){const _0x3874c9=_0x4d18,_0x112df5=_0x40b345[_0x210715([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x112df5||0x0==_0x112df5[_0x210715([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x434c9c}=new URL(window[_0x210715([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x3874c9(0x12c)]);if(_0x112df5[_0x210715([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x434c9c))return!0x0;const _0x89d7b8=_0x434c9c[_0x210715([0x73,0x70,0x6c,0x69,0x74])](_0x210715([0x2e]));return _0x112df5[_0x210715([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4fa482=>_0x4fa482[_0x210715([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x210715([0x2a])))[_0x210715([0x6d,0x61,0x70])](_0x5c3b5f=>_0x5c3b5f[_0x210715([0x73,0x70,0x6c,0x69,0x74])](_0x210715([0x2e])))[_0x210715([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1906a3=>_0x1906a3[_0x210715([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x89d7b8[_0x210715([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x210715([0x6d,0x61,0x70])](_0xb7be7a=>Array(_0x89d7b8[_0x210715([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xb7be7a[_0x210715([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x210715([0x66,0x69,0x6c,0x6c])](_0xb7be7a[0x0]===_0x210715([0x2a])?_0x210715([0x2a]):'')[_0x210715([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xb7be7a))[_0x210715([0x73,0x6f,0x6d,0x65])](_0x321c23=>_0x89d7b8[_0x210715([0x65,0x76,0x65,0x72,0x79])]((_0x56deec,_0x53517)=>_0x321c23[_0x53517]===_0x56deec||_0x321c23[_0x53517]===_0x210715([0x2a])));}function _0x2c53ba(){return _0x47c58e&&_0xab90e2?new window[(_0x210715([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x514e09,_0x155220)=>{_0x47c58e[_0x210715([0x74,0x68,0x65,0x6e])](_0x514e09,_0x155220),_0xab90e2[_0x210715([0x74,0x68,0x65,0x6e])](_0x597444=>{_0x597444!=_0x210715([0x56,0x61,0x6c,0x69,0x64])&&_0x514e09(_0x597444);},_0x155220);}):_0x47c58e||_0xab90e2||_0x210715([0x56,0x61,0x6c,0x69,0x64]);}}function _0x17aa9a(_0x4d078d,_0x115ac7){return new window[(_0x210715([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2cb78d=>{if(_0x38817f())return _0x2cb78d(_0x210715([0x56,0x61,0x6c,0x69,0x64]));_0xf7f2fd(),_0x10df17[_0x210715([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x210715([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x27814c=!0x1;const _0x524744=_0x56e028();function _0x1bc022(_0x1ffe02){return!!_0x1ffe02&&(typeof _0x1ffe02===_0x210715([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1ffe02===_0x210715([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1ffe02[_0x210715([0x74,0x68,0x65,0x6e])]===_0x210715([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1ffe02[_0x210715([0x63,0x61,0x74,0x63,0x68])]===_0x210715([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x898c7e(_0x2a5119){_0x51482e(_0x2a5119)[_0x210715([0x74,0x68,0x65,0x6e])](_0x5e5ee2=>{if(!_0x5e5ee2||_0x5e5ee2[_0x210715([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x210715([0x6f,0x6b]))return _0x210715([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5f2c80(_0x143661(_0x524744+_0x115ac7))!=_0x5e5ee2[_0x210715([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x210715([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x210715([0x56,0x61,0x6c,0x69,0x64]);})[_0x210715([0x74,0x68,0x65,0x6e])](_0x51931a=>(_0x795ecb(),_0x51931a),()=>{const _0x47f692=_0x5bbf26();return null==_0x47f692?(_0x795ecb(),_0x210715([0x56,0x61,0x6c,0x69,0x64])):_0x210715(_0x2e9964-_0x47f692>(0x44e3c473^_0x23dd4d)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x210715([0x74,0x68,0x65,0x6e])](_0x2cb78d)[_0x210715([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2cb78d(_0x210715([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x55f797=0x60d9aef3^_0x23dd4d;function _0x795ecb(){const _0x5b719=_0x210715([0x6c,0x6c,0x63,0x74,0x2d])+_0x5f2c80(_0x143661(_0x4d078d)),_0xeb5e1e=_0x213895(_0x5f2c80(window[_0x210715([0x4d,0x61,0x74,0x68])][_0x210715([0x63,0x65,0x69,0x6c])](_0x2e9964/_0x55f797)));window[_0x210715([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x210715([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5b719,_0xeb5e1e);}function _0x5bbf26(){const _0x2bfc43=_0x210715([0x6c,0x6c,0x63,0x74,0x2d])+_0x5f2c80(_0x143661(_0x4d078d)),_0x78438c=window[_0x210715([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x210715([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2bfc43);return _0x78438c?window[_0x210715([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x213895(_0x78438c),0x10)*_0x55f797:null;}function _0x51482e(_0x3f838d){return new window[(_0x210715([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5ab011,_0x21b0ae)=>{_0x3f838d[_0x210715([0x74,0x68,0x65,0x6e])](_0x5ab011,_0x21b0ae),window[_0x210715([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x21b0ae,0x60ee94b3^_0x23dd4d);});}}_0x10df17[_0x210715([0x6f,0x6e])](_0x210715([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xc528d9,_0x2edd9b)=>{if(_0x2edd9b[0x0]!=_0x4d078d)return _0x2cb78d(_0x210715([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2edd9b[0x1]={..._0x2edd9b[0x1],[_0x210715([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x524744};},{[_0x210715([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x210715([0x68,0x69,0x67,0x68])}),_0x10df17[_0x210715([0x6f,0x6e])](_0x210715([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x533ae3=>{_0x1bc022(_0x533ae3[_0x210715([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x27814c=!0x0,_0x898c7e(_0x533ae3[_0x210715([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x210715([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x210715([0x6c,0x6f,0x77])}),_0x4909c0[_0x210715([0x74,0x68,0x65,0x6e])](()=>{_0x27814c||_0x2cb78d(_0x210715([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x38817f(){return _0x10df17[_0x210715([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x210715([0x76,0x69,0x65,0x77])][_0x210715([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x210715([0x61,0x75,0x74,0x6f]);}function _0xf7f2fd(){_0x10df17[_0x210715([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x210715([0x76,0x69,0x65,0x77])][_0x210715([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x210715([0x61,0x75,0x74,0x6f]);}}function _0x53e899(_0x5d0c75){const _0x32602f=[new window[(_0x210715([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xf74e33=>setTimeout(_0xf74e33,0x60e67ebf^_0x23dd4d)),_0x4909c0[_0x210715([0x74,0x68,0x65,0x6e])](()=>new window[(_0x210715([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x128f9f=>{let _0x5c21ad=0x0;_0x10df17[_0x210715([0x6d,0x6f,0x64,0x65,0x6c])][_0x210715([0x6f,0x6e])](_0x210715([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3f83fe,_0x1d6605)=>{_0x1d6605[0x0][_0x210715([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5c21ad++,_0x5c21ad==(0x60ef418b^_0x23dd4d)&&(_0x128f9f(),_0x3f83fe[_0x210715([0x6f,0x66,0x66])]());});}))];return window[_0x210715([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x210715([0x72,0x61,0x63,0x65])](_0x32602f)[_0x210715([0x74,0x68,0x65,0x6e])](()=>_0x5d0c75);}async function _0x582664(){await _0x4909c0,_0x10df17[_0x210715([0x6d,0x6f,0x64,0x65,0x6c])][_0x210715([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3f9162,_0x10df17[_0x210715([0x6d,0x6f,0x64,0x65,0x6c])][_0x210715([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3f9162,_0x10df17[_0x210715([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x210715([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5add9e(_0x323cd0){const _0xfb9a90=_0x1920cd();_0x10df17[_0xfb9a90]=_0x210715([0x73,0x6f,0x75,0x72,0x63,0x65,0x45,0x64,0x69,0x74,0x69,0x6e,0x67,0x45,0x6e,0x68,0x61,0x6e,0x63,0x65,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x323cd0,_0x323cd0!=_0x210715([0x56,0x61,0x6c,0x69,0x64])&&_0x582664();}function _0x1920cd(){const _0x3f9a29=window[_0x210715([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x210715([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x210715([0x6e,0x6f,0x77])]())[_0x210715([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x210715([0x2e]),'');let _0x499fce=_0x210715([0x6d]);for(let _0x1a0d70=0x0;_0x1a0d70<_0x3f9a29[_0x210715([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1a0d70+=0x2){let _0x14ccd1=window[_0x210715([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3f9a29[_0x210715([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1a0d70,_0x1a0d70+0x2));_0x14ccd1>=_0x29e870[_0x210715([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x14ccd1-=_0x29e870[_0x210715([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x499fce+=_0x29e870[_0x14ccd1];}return _0x499fce;}function _0x455139(){const _0x5c69a8=_0x1dce93[_0x210715([0x73,0x70,0x6c,0x69,0x74])](_0x210715([0x2e]));if(0x3!=_0x5c69a8[_0x210715([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x12f0f9(_0x5c69a8[0x1]);function _0x12f0f9(_0x1c80ee){const _0x52f02d=_0x26aae9(_0x1c80ee);return _0x52f02d&&_0x5a6d93()?_0x52f02d:null;function _0x5a6d93(){const _0x2f44a1=_0x52f02d[_0x210715([0x6a,0x74,0x69])],_0x3758d2=window[_0x210715([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2f44a1[_0x210715([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2f44a1[_0x210715([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5940fc={..._0x52f02d,[_0x210715([0x6a,0x74,0x69])]:_0x2f44a1[_0x210715([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2f44a1[_0x210715([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5940fc[_0x210715([0x76,0x63])],_0x143661(_0x5940fc)==_0x3758d2;}}}async function _0x4af1cd(){let _0x14a749=!0x0;try{const _0x520d84=_0x1dce93[_0x210715([0x73,0x70,0x6c,0x69,0x74])](_0x210715([0x2e])),[_0x4f66d2,_0x102bca,_0x26904e]=_0x520d84;return _0x120eeb(_0x4f66d2),await _0x147ba4(_0x4f66d2,_0x102bca,_0x26904e),_0x14a749;}catch{return!0x1;}function _0x120eeb(_0x19bf90){const _0x1c1d57=_0x26aae9(_0x19bf90);_0x1c1d57&&_0x1c1d57[_0x210715([0x61,0x6c,0x67])]==_0x210715([0x45,0x53,0x32,0x35,0x36])||(_0x14a749=!0x1);}async function _0x147ba4(_0x4a94c5,_0x2cffaf,_0x2db118){const _0x171b66=window[_0x210715([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x210715([0x66,0x72,0x6f,0x6d])](_0x266c86(_0x2db118),_0x317064=>_0x317064[_0x210715([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1eda19=new window[(_0x210715([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x210715([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4a94c5+_0x210715([0x2e])+_0x2cffaf),_0x2f5305=window[_0x210715([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x210715([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2f5305)return;const _0x2ec53b=await _0x2f5305[_0x210715([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x210715([0x6a,0x77,0x6b]),_0x2045bb,{[_0x210715([0x6e,0x61,0x6d,0x65])]:_0x210715([0x45,0x43,0x44,0x53,0x41]),[_0x210715([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x210715([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x210715([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2f5305[_0x210715([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x210715([0x6e,0x61,0x6d,0x65])]:_0x210715([0x45,0x43,0x44,0x53,0x41]),[_0x210715([0x68,0x61,0x73,0x68])]:{[_0x210715([0x6e,0x61,0x6d,0x65])]:_0x210715([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2ec53b,_0x171b66,_0x1eda19)||(_0x14a749=!0x1);}}function _0x26aae9(_0x14638c){return _0x14638c[_0x210715([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x210715([0x65,0x79]))?JSON[_0x210715([0x70,0x61,0x72,0x73,0x65])](_0x266c86(_0x14638c)):null;}function _0x266c86(_0x2048e3){return window[_0x210715([0x61,0x74,0x6f,0x62])](_0x2048e3[_0x210715([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x210715([0x2b]))[_0x210715([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x210715([0x2f])));}function _0x143661(_0x8c2e93){let _0x29eaef=0x1505;function _0x2888f2(_0x43a9a4){for(let _0x1aa91f=0x0;_0x1aa91f<_0x43a9a4[_0x210715([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1aa91f++){const _0x3d4561=_0x43a9a4[_0x210715([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1aa91f);_0x29eaef=(_0x29eaef<<0x5)+_0x29eaef+_0x3d4561,_0x29eaef&=_0x29eaef;}}function _0xdc7606(_0x2becf3){Array[_0x210715([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2becf3)?_0x2becf3[_0x210715([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xdc7606):_0x2becf3&&typeof _0x2becf3==_0x210715([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x210715([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2becf3)[_0x210715([0x73,0x6f,0x72,0x74])]()[_0x210715([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5977cf,_0x3fae98])=>{_0x2888f2(_0x5977cf),_0xdc7606(_0x3fae98);}):_0x2888f2(window[_0x210715([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2becf3));}return _0xdc7606(_0x8c2e93),_0x29eaef>>>0x0;}function _0x5f2c80(_0x57d6a9){return _0x57d6a9[_0x210715([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x210715([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x210715([0x30]));}function _0x213895(_0xc448c6){return _0xc448c6[_0x210715([0x73,0x70,0x6c,0x69,0x74])]('')[_0x210715([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x210715([0x6a,0x6f,0x69,0x6e])]('');}function _0x3f9162(){}function _0x210715(_0x31e31f){const _0x4f1b9a=_0x4d18;return _0x31e31f[_0x4f1b9a(0x161)](_0x191d76=>String[_0x4f1b9a(0x178)](_0x191d76))[_0x4f1b9a(0x15e)]('');}_0x5add9e(await _0x31b7d0());}(this);}[_0x2f102e(0x143)](_0x542c8b,_0x564202,_0x41b971=!0x1){const _0x2c721e=_0x2f102e,_0x10efcd=new _0x542c8b(this[_0x2c721e(0x14f)][_0x2c721e(0x172)]);return _0x10efcd[_0x2c721e(0x133)]({'withText':_0x41b971,'isToggleable':!0x1}),_0x10efcd[_0x2c721e(0x13e)](_0x2c721e(0x140))['to'](_0x564202,_0x2c721e(0x140)),this[_0x2c721e(0x149)](_0x10efcd,_0x2c721e(0x15a),()=>_0x564202[_0x2c721e(0x15a)]()),_0x10efcd;}[_0x2f102e(0x148)](){const _0x35999b=_0x2f102e,_0x29954c=this[_0x35999b(0x14f)][_0x35999b(0x172)];this[_0x35999b(0x14f)][_0x35999b(0x162)][_0x35999b(0x163)]({'id':_0x35999b(0x173),'label':_0x57d8b0(_0x29954c,_0x35999b(0x128))});const _0x4f6913=_0x58b1e6[_0x35999b(0x147)]||_0x58b1e6[_0x35999b(0x150)];this[_0x35999b(0x14f)][_0x35999b(0x162)][_0x35999b(0x146)]({'categoryId':_0x35999b(0x173),'keystrokes':[{'label':_0x57d8b0(_0x29954c,_0x35999b(0x13a)),'keystroke':_0x35999b(0x175)},{'label':_0x57d8b0(_0x29954c,_0x35999b(0x157)),'keystroke':_0x35999b(0x177)},{'label':_0x57d8b0(_0x29954c,_0x35999b(0x158)),'keystroke':_0x35999b(0x130)},{'label':_0x57d8b0(_0x29954c,_0x35999b(0x165)),'keystroke':_0x35999b(0x141)},{'label':_0x57d8b0(_0x29954c,_0x35999b(0x174)),'keystroke':_0x35999b(0x159)},{'label':_0x57d8b0(_0x29954c,_0x35999b(0x129)),'keystroke':_0x35999b(0x167)},{'label':_0x57d8b0(_0x29954c,_0x35999b(0x168)),'keystroke':_0x4f6913?_0x35999b(0x137):_0x35999b(0x14e)},{'label':_0x57d8b0(_0x29954c,_0x35999b(0x13c)),'keystroke':_0x35999b(0x12e)},{'label':_0x57d8b0(_0x29954c,_0x35999b(0x16f)),'keystroke':_0x35999b(0x142)},{'label':_0x57d8b0(_0x29954c,_0x35999b(0x138)),'keystroke':[[_0x35999b(0x169)],[_0x35999b(0x155)]]},{'label':_0x57d8b0(_0x29954c,_0x35999b(0x152)),'keystroke':_0x4f6913?_0x35999b(0x13f):_0x35999b(0x139)},{'label':_0x57d8b0(_0x29954c,_0x35999b(0x15d)),'keystroke':_0x4f6913?_0x35999b(0x12a):_0x35999b(0x135)},{'label':_0x57d8b0(_0x29954c,_0x35999b(0x160)),'keystroke':_0x35999b(0x13d)},{'label':_0x57d8b0(_0x29954c,_0x35999b(0x14d)),'keystroke':_0x35999b(0x131)},{'label':_0x57d8b0(_0x29954c,_0x35999b(0x153)),'keystroke':_0x35999b(0x166)},{'label':_0x57d8b0(_0x29954c,_0x35999b(0x170)),'keystroke':_0x35999b(0x176)},{'label':_0x57d8b0(_0x29954c,_0x35999b(0x132)),'keystroke':_0x4f6913?_0x35999b(0x154):_0x35999b(0x127)}]});}}
|
|
23
|
+
function _0x330e(){const _0x1acdc5=['Ctrl+Y','Ctrl+Z','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode','isEnabled','15326590sQgcHv','Move\x20line\x20down','Ctrl+Shift+[','addKeystrokeInfos','menuBar:sourceEditingEnhanced','Shift+Alt+A','Ctrl+M','sourceEditingEnhanced','href','set','Shift+Ctrl+K','fromCharCode','112eyhaJo','afterInit','execute','add','Undo\x20(keystroke)','isMac','Ctrl+/','editor','Ctrl!+L','Ctrl!+Alt+[','Toggle\x20block\x20comment','Edit\x20source\x20modal\x20label','map','listenTo','editSource','24702964LyXwaW','accessibility','SourceEditingEnhancedUI','Copy\x20line\x20up','Toggle\x20comment','_registerKeybindings','addKeystrokeInfoCategory','Indent\x20more','Move\x20line\x20up','Alt+L','isOfficialPlugin','Shift+Alt+ArrowUp','Shift+Alt+ArrowDown','_createButton','Fold\x20all','Cmd+Alt+[','Copy\x20line\x20down','Unfold\x20code\x20(current\x20level)','392625SwPpwE','pluginName','12KxOItt','menuitemcheckbox','componentFactory','join','Alt+ArrowDown','Delete\x20line','Ctrl+Shift+Z','27386BuoxLw','Indent\x20less','locale','Source\x20Editing\x20Enhanced','280jgCTAW','17570GdoPRh','Ctrl+Shift+]','isiOS','init','Cmd+Alt+]','requires','Alt+Shift+M','72ZJqELO','Source','2591844xsAmxy','Ctrl!+Alt+]','Select\x20line','bind','Redo\x20(keystroke)','commands','Unfold\x20all','Ctrl+[','ck-source-editing-enhanced-button','Fold\x20code\x20(current\x20level)','Ctrl+]','2424905eDzceS','Alt+ArrowUp','isPremiumPlugin'];_0x330e=function(){return _0x1acdc5;};return _0x330e();}const _0x133a60=_0x577a;(function(_0x22bb27,_0x5d6fd9){const _0x31f7f5=_0x577a,_0x38d0d7=_0x22bb27();while(!![]){try{const _0x5aeaac=parseInt(_0x31f7f5(0x1ba))/0x1*(parseInt(_0x31f7f5(0x1e6))/0x2)+-parseInt(_0x31f7f5(0x1c8))/0x3+-parseInt(_0x31f7f5(0x1be))/0x4*(parseInt(_0x31f7f5(0x1bf))/0x5)+-parseInt(_0x31f7f5(0x209))/0x6*(-parseInt(_0x31f7f5(0x1d3))/0x7)+-parseInt(_0x31f7f5(0x1c6))/0x8*(-parseInt(_0x31f7f5(0x207))/0x9)+parseInt(_0x31f7f5(0x1da))/0xa+-parseInt(_0x31f7f5(0x1f5))/0xb;if(_0x5aeaac===_0x5d6fd9)break;else _0x38d0d7['push'](_0x38d0d7['shift']());}catch(_0x139b43){_0x38d0d7['push'](_0x38d0d7['shift']());}}}(_0x330e,0xc25ae));import{Plugin as _0x126196,PendingActions as _0x49b127}from'ckeditor5/src/core.js';import{IconSource as _0x1ba2b9}from'ckeditor5/src/icons.js';import{ButtonView as _0x3aeea3,MenuBarMenuListItemButtonView as _0x2929c3}from'ckeditor5/src/ui.js';import{EditSourceCommand as _0xbd722a}from'./ui/editsourcecommand.js';import{getTranslation as _0x30dafe}from'./utils/common-translations.js';import{env as _0x56e337,uid as _0x5cb944}from'ckeditor5/src/utils.js';function _0x577a(_0x2e8361,_0x435f8f){const _0x330e88=_0x330e();return _0x577a=function(_0x577ab9,_0x44bee9){_0x577ab9=_0x577ab9-0x1b9;let _0x8eb635=_0x330e88[_0x577ab9];return _0x8eb635;},_0x577a(_0x2e8361,_0x435f8f);}import'../theme/sourceeditingenhanced.css';export class SourceEditingEnhancedUI extends _0x126196{static get[_0x133a60(0x208)](){const _0x4653ee=_0x133a60;return _0x4653ee(0x1f7);}static get[_0x133a60(0x1c4)](){return[_0x49b127];}static get[_0x133a60(0x1ff)](){return!0x0;}static get[_0x133a60(0x1d5)](){return!0x0;}[_0x133a60(0x1c2)](){const _0x287b8f=_0x133a60,_0x1fdd79=this[_0x287b8f(0x1ed)],_0x3c26db=_0x1fdd79[_0x287b8f(0x1bc)],_0x4805c2=new _0xbd722a(_0x1fdd79);_0x1fdd79[_0x287b8f(0x1cd)][_0x287b8f(0x1e9)](_0x287b8f(0x1f4),_0x4805c2),_0x1fdd79['ui'][_0x287b8f(0x20b)][_0x287b8f(0x1e9)](_0x287b8f(0x1e1),()=>{const _0x5a94e9=_0x287b8f,_0x402190=this[_0x5a94e9(0x202)](_0x3aeea3,_0x4805c2);return _0x402190[_0x5a94e9(0x1e3)]({'label':_0x30dafe(_0x3c26db,_0x5a94e9(0x1c7)),'icon':_0x1ba2b9,'tooltip':_0x30dafe(_0x3c26db,_0x5a94e9(0x1f1)),'class':_0x5a94e9(0x1d0)}),_0x402190;}),_0x1fdd79['ui'][_0x287b8f(0x20b)][_0x287b8f(0x1e9)](_0x287b8f(0x1de),()=>{const _0x1f3150=_0x287b8f,_0x1f09b7=this[_0x1f3150(0x202)](_0x2929c3,_0x4805c2,!0x0);return _0x1f09b7[_0x1f3150(0x1e3)]({'label':_0x30dafe(_0x3c26db,_0x1f3150(0x1f1)),'icon':_0x1ba2b9,'role':_0x1f3150(0x20a)}),_0x1f09b7;}),this[_0x287b8f(0x1fa)]();}[_0x133a60(0x1e7)](){!async function(_0x59a655){const _0xb3b20d=_0x94de33([0x74,0x72,0x42,0x4e,0x71,0x70,0x35,0x56,0x30,0x31,0x78,0x79,0x57,0x39,0x4a,0x77,0x5a,0x44,0x68,0x36,0x43,0x38,0x65,0x49,0x53,0x48,0x7a,0x4c,0x58,0x6b,0x75,0x73,0x41,0x6f,0x67,0x61,0x59,0x6e,0x6c,0x32,0x51,0x52,0x62,0x6a,0x64,0x76,0x4d,0x54,0x45,0x63,0x34,0x66,0x69,0x4f,0x33,0x47,0x55,0x50,0x6d,0x37,0x46,0x4b]),_0x16cd3e=0x47bc684a,_0x469bb8=0x47bb0482^_0x16cd3e,_0x422842=window[_0x94de33([0x44,0x61,0x74,0x65])][_0x94de33([0x6e,0x6f,0x77])](),_0x2d2a05=_0x59a655[_0x94de33([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x329dc4=new window[(_0x94de33([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x363e1e=>{_0x2d2a05[_0x94de33([0x6f,0x6e,0x63,0x65])](_0x94de33([0x72,0x65,0x61,0x64,0x79]),_0x363e1e);}),_0x4c1eb4={[_0x94de33([0x6b,0x74,0x79])]:_0x94de33([0x45,0x43]),[_0x94de33([0x75,0x73,0x65])]:_0x94de33([0x73,0x69,0x67]),[_0x94de33([0x63,0x72,0x76])]:_0x94de33([0x50,0x2d,0x32,0x35,0x36]),[_0x94de33([0x78])]:_0x94de33([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]),[_0x94de33([0x79])]:_0x94de33([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]),[_0x94de33([0x61,0x6c,0x67])]:_0x94de33([0x45,0x53,0x32,0x35,0x36])},_0x2e26bc=_0x2d2a05[_0x94de33([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x94de33([0x67,0x65,0x74])](_0x94de33([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x574c14(){let _0x490eff,_0x23340f=null,_0x2676c4=null;try{if(_0x2e26bc==_0x94de33([0x47,0x50,0x4c]))return _0x94de33([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x490eff=_0x54e761(),!_0x490eff)return _0x94de33([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x490eff[_0x94de33([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2676c4=_0x242206(_0x490eff[_0x94de33([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x490eff[_0x94de33([0x6a,0x74,0x69])])),await _0x5f2024()?_0x2edb3d()?_0x40098e()?_0x94de33([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x516ed5()?(_0x490eff[_0x94de33([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x94de33([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x23340f=_0xf572d5(_0x94de33([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x490eff[_0x94de33([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x94de33([0x74,0x72,0x69,0x61,0x6c])&&(_0x23340f=_0xf572d5(_0x94de33([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5615b3()):_0x94de33([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x94de33([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x94de33([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x94de33([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x40098e(){const _0x3b369e=[_0x94de33([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x94de33([0x74,0x72,0x69,0x61,0x6c])][_0x94de33([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x490eff[_0x94de33([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x422842/0x3e8:0xe10*_0x469bb8;return _0x490eff[_0x94de33([0x65,0x78,0x70])]<_0x3b369e;}function _0x2edb3d(){const _0x19bbef=_0x490eff[_0x94de33([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x19bbef&&(!!_0x19bbef[_0x94de33([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x94de33([0x2a]))||!!_0x19bbef[_0x94de33([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x94de33([0x53,0x45,0x45])));}function _0x516ed5(){const _0x42059f=_0x577a,_0x563443=_0x490eff[_0x94de33([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x563443||0x0==_0x563443[_0x94de33([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5dafc0}=new URL(window[_0x94de33([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x42059f(0x1e2)]);if(_0x563443[_0x94de33([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5dafc0))return!0x0;const _0x4a4fa1=_0x5dafc0[_0x94de33([0x73,0x70,0x6c,0x69,0x74])](_0x94de33([0x2e]));return _0x563443[_0x94de33([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4d82e8=>_0x4d82e8[_0x94de33([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x94de33([0x2a])))[_0x94de33([0x6d,0x61,0x70])](_0x40e536=>_0x40e536[_0x94de33([0x73,0x70,0x6c,0x69,0x74])](_0x94de33([0x2e])))[_0x94de33([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2a7de9=>_0x2a7de9[_0x94de33([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4a4fa1[_0x94de33([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x94de33([0x6d,0x61,0x70])](_0x534a16=>Array(_0x4a4fa1[_0x94de33([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x534a16[_0x94de33([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x94de33([0x66,0x69,0x6c,0x6c])](_0x534a16[0x0]===_0x94de33([0x2a])?_0x94de33([0x2a]):'')[_0x94de33([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x534a16))[_0x94de33([0x73,0x6f,0x6d,0x65])](_0x1a8efd=>_0x4a4fa1[_0x94de33([0x65,0x76,0x65,0x72,0x79])]((_0x31ab29,_0x46af19)=>_0x1a8efd[_0x46af19]===_0x31ab29||_0x1a8efd[_0x46af19]===_0x94de33([0x2a])));}function _0x5615b3(){return _0x23340f&&_0x2676c4?new window[(_0x94de33([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x308669,_0x2e799a)=>{_0x23340f[_0x94de33([0x74,0x68,0x65,0x6e])](_0x308669,_0x2e799a),_0x2676c4[_0x94de33([0x74,0x68,0x65,0x6e])](_0x58013f=>{_0x58013f!=_0x94de33([0x56,0x61,0x6c,0x69,0x64])&&_0x308669(_0x58013f);},_0x2e799a);}):_0x23340f||_0x2676c4||_0x94de33([0x56,0x61,0x6c,0x69,0x64]);}}function _0x242206(_0x1dee9a,_0x176ce6){return new window[(_0x94de33([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4d07f4=>{if(_0x54e3e6())return _0x4d07f4(_0x94de33([0x56,0x61,0x6c,0x69,0x64]));_0x4914ba(),_0x2d2a05[_0x94de33([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x94de33([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x49b3d5=!0x1;const _0x377f15=_0x5cb944();function _0xc0d994(_0x473d86){return!!_0x473d86&&(typeof _0x473d86===_0x94de33([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x473d86===_0x94de33([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x473d86[_0x94de33([0x74,0x68,0x65,0x6e])]===_0x94de33([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x473d86[_0x94de33([0x63,0x61,0x74,0x63,0x68])]===_0x94de33([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x90d944(_0x45c7b5){_0x1f83c4(_0x45c7b5)[_0x94de33([0x74,0x68,0x65,0x6e])](_0x330c51=>{if(!_0x330c51||_0x330c51[_0x94de33([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x94de33([0x6f,0x6b]))return _0x94de33([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4f748a(_0x58b929(_0x377f15+_0x176ce6))!=_0x330c51[_0x94de33([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x94de33([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x94de33([0x56,0x61,0x6c,0x69,0x64]);})[_0x94de33([0x74,0x68,0x65,0x6e])](_0xb5d04=>(_0x44d3d8(),_0xb5d04),()=>{const _0xcb6194=_0x56447d();return null==_0xcb6194?(_0x44d3d8(),_0x94de33([0x56,0x61,0x6c,0x69,0x64])):_0x94de33(_0x422842-_0xcb6194>(0x63b0ec4a^_0x16cd3e)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x94de33([0x74,0x68,0x65,0x6e])](_0x4d07f4)[_0x94de33([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4d07f4(_0x94de33([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x11052f=0x478a86ca^_0x16cd3e;function _0x44d3d8(){const _0x262619=_0x94de33([0x6c,0x6c,0x63,0x74,0x2d])+_0x4f748a(_0x58b929(_0x1dee9a)),_0x531ea1=_0x593033(_0x4f748a(window[_0x94de33([0x4d,0x61,0x74,0x68])][_0x94de33([0x63,0x65,0x69,0x6c])](_0x422842/_0x11052f)));window[_0x94de33([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x94de33([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x262619,_0x531ea1);}function _0x56447d(){const _0x3f345e=_0x94de33([0x6c,0x6c,0x63,0x74,0x2d])+_0x4f748a(_0x58b929(_0x1dee9a)),_0x221419=window[_0x94de33([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x94de33([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3f345e);return _0x221419?window[_0x94de33([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x593033(_0x221419),0x10)*_0x11052f:null;}function _0x1f83c4(_0x4f43d3){return new window[(_0x94de33([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x38ed6d,_0x2121f4)=>{_0x4f43d3[_0x94de33([0x74,0x68,0x65,0x6e])](_0x38ed6d,_0x2121f4),window[_0x94de33([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2121f4,0x47bdbc8a^_0x16cd3e);});}}_0x2d2a05[_0x94de33([0x6f,0x6e])](_0x94de33([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1bbf4a,_0x173a36)=>{if(_0x173a36[0x0]!=_0x1dee9a)return _0x4d07f4(_0x94de33([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x173a36[0x1]={..._0x173a36[0x1],[_0x94de33([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x377f15};},{[_0x94de33([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x94de33([0x68,0x69,0x67,0x68])}),_0x2d2a05[_0x94de33([0x6f,0x6e])](_0x94de33([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2fec78=>{_0xc0d994(_0x2fec78[_0x94de33([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x49b3d5=!0x0,_0x90d944(_0x2fec78[_0x94de33([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x94de33([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x94de33([0x6c,0x6f,0x77])}),_0x329dc4[_0x94de33([0x74,0x68,0x65,0x6e])](()=>{_0x49b3d5||_0x4d07f4(_0x94de33([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x54e3e6(){return _0x2d2a05[_0x94de33([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x94de33([0x76,0x69,0x65,0x77])][_0x94de33([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x94de33([0x61,0x75,0x74,0x6f]);}function _0x4914ba(){_0x2d2a05[_0x94de33([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x94de33([0x76,0x69,0x65,0x77])][_0x94de33([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x94de33([0x61,0x75,0x74,0x6f]);}}function _0xf572d5(_0x4ce86a){const _0x374c3c=[new window[(_0x94de33([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3c4edf=>setTimeout(_0x3c4edf,0x47b55686^_0x16cd3e)),_0x329dc4[_0x94de33([0x74,0x68,0x65,0x6e])](()=>new window[(_0x94de33([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x47a6f0=>{let _0xff5bd1=0x0;_0x2d2a05[_0x94de33([0x6d,0x6f,0x64,0x65,0x6c])][_0x94de33([0x6f,0x6e])](_0x94de33([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3a33b6,_0x1205ed)=>{_0x1205ed[0x0][_0x94de33([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xff5bd1++,_0xff5bd1==(0x47bc69b2^_0x16cd3e)&&(_0x47a6f0(),_0x3a33b6[_0x94de33([0x6f,0x66,0x66])]());});}))];return window[_0x94de33([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x94de33([0x72,0x61,0x63,0x65])](_0x374c3c)[_0x94de33([0x74,0x68,0x65,0x6e])](()=>_0x4ce86a);}async function _0x5cfdb3(){await _0x329dc4,_0x2d2a05[_0x94de33([0x6d,0x6f,0x64,0x65,0x6c])][_0x94de33([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x452bf7,_0x2d2a05[_0x94de33([0x6d,0x6f,0x64,0x65,0x6c])][_0x94de33([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x452bf7,_0x2d2a05[_0x94de33([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x94de33([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x28025b(_0x3b3f59){const _0x31a45b=_0x55823f();_0x2d2a05[_0x31a45b]=_0x94de33([0x73,0x6f,0x75,0x72,0x63,0x65,0x45,0x64,0x69,0x74,0x69,0x6e,0x67,0x45,0x6e,0x68,0x61,0x6e,0x63,0x65,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3b3f59,_0x3b3f59!=_0x94de33([0x56,0x61,0x6c,0x69,0x64])&&_0x5cfdb3();}function _0x55823f(){const _0x21f49a=window[_0x94de33([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x94de33([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x94de33([0x6e,0x6f,0x77])]())[_0x94de33([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x94de33([0x2e]),'');let _0x3f7e9b=_0x94de33([0x74]);for(let _0x5448bb=0x0;_0x5448bb<_0x21f49a[_0x94de33([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5448bb+=0x2){let _0x9abb0c=window[_0x94de33([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x21f49a[_0x94de33([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5448bb,_0x5448bb+0x2));_0x9abb0c>=_0xb3b20d[_0x94de33([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x9abb0c-=_0xb3b20d[_0x94de33([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3f7e9b+=_0xb3b20d[_0x9abb0c];}return _0x3f7e9b;}function _0x54e761(){const _0xaa571d=_0x2e26bc[_0x94de33([0x73,0x70,0x6c,0x69,0x74])](_0x94de33([0x2e]));if(0x3!=_0xaa571d[_0x94de33([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x283381(_0xaa571d[0x1]);function _0x283381(_0x5353c6){const _0x4baeaa=_0x234670(_0x5353c6);return _0x4baeaa&&_0x271024()?_0x4baeaa:null;function _0x271024(){const _0x2e6233=_0x4baeaa[_0x94de33([0x6a,0x74,0x69])],_0x5bbfb7=window[_0x94de33([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2e6233[_0x94de33([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2e6233[_0x94de33([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x59bdb3={..._0x4baeaa,[_0x94de33([0x6a,0x74,0x69])]:_0x2e6233[_0x94de33([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2e6233[_0x94de33([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x59bdb3[_0x94de33([0x76,0x63])],_0x58b929(_0x59bdb3)==_0x5bbfb7;}}}async function _0x5f2024(){let _0x5ce336=!0x0;try{const _0x3f7aa2=_0x2e26bc[_0x94de33([0x73,0x70,0x6c,0x69,0x74])](_0x94de33([0x2e])),[_0x3982f6,_0x362529,_0x207618]=_0x3f7aa2;return _0x1e261c(_0x3982f6),await _0x3a34a4(_0x3982f6,_0x362529,_0x207618),_0x5ce336;}catch{return!0x1;}function _0x1e261c(_0x2e2cc7){const _0x14a787=_0x234670(_0x2e2cc7);_0x14a787&&_0x14a787[_0x94de33([0x61,0x6c,0x67])]==_0x94de33([0x45,0x53,0x32,0x35,0x36])||(_0x5ce336=!0x1);}async function _0x3a34a4(_0x21c827,_0x23ab89,_0x37cf52){const _0x3809e1=window[_0x94de33([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x94de33([0x66,0x72,0x6f,0x6d])](_0x49d014(_0x37cf52),_0x161abb=>_0x161abb[_0x94de33([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x109650=new window[(_0x94de33([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x94de33([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x21c827+_0x94de33([0x2e])+_0x23ab89),_0x4fdba2=window[_0x94de33([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x94de33([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4fdba2)return;const _0x9bf439=await _0x4fdba2[_0x94de33([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x94de33([0x6a,0x77,0x6b]),_0x4c1eb4,{[_0x94de33([0x6e,0x61,0x6d,0x65])]:_0x94de33([0x45,0x43,0x44,0x53,0x41]),[_0x94de33([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x94de33([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x94de33([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4fdba2[_0x94de33([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x94de33([0x6e,0x61,0x6d,0x65])]:_0x94de33([0x45,0x43,0x44,0x53,0x41]),[_0x94de33([0x68,0x61,0x73,0x68])]:{[_0x94de33([0x6e,0x61,0x6d,0x65])]:_0x94de33([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x9bf439,_0x3809e1,_0x109650)||(_0x5ce336=!0x1);}}function _0x234670(_0x2afdeb){return _0x2afdeb[_0x94de33([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x94de33([0x65,0x79]))?JSON[_0x94de33([0x70,0x61,0x72,0x73,0x65])](_0x49d014(_0x2afdeb)):null;}function _0x49d014(_0x1e3536){return window[_0x94de33([0x61,0x74,0x6f,0x62])](_0x1e3536[_0x94de33([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x94de33([0x2b]))[_0x94de33([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x94de33([0x2f])));}function _0x58b929(_0x561451){let _0x3e07f8=0x1505;function _0x413740(_0x1f147a){for(let _0x473c0f=0x0;_0x473c0f<_0x1f147a[_0x94de33([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x473c0f++){const _0x115b9f=_0x1f147a[_0x94de33([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x473c0f);_0x3e07f8=(_0x3e07f8<<0x5)+_0x3e07f8+_0x115b9f,_0x3e07f8&=_0x3e07f8;}}function _0x2ecc21(_0x3cbd4f){Array[_0x94de33([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3cbd4f)?_0x3cbd4f[_0x94de33([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2ecc21):_0x3cbd4f&&typeof _0x3cbd4f==_0x94de33([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x94de33([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3cbd4f)[_0x94de33([0x73,0x6f,0x72,0x74])]()[_0x94de33([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5bf18a,_0x4bb882])=>{_0x413740(_0x5bf18a),_0x2ecc21(_0x4bb882);}):_0x413740(window[_0x94de33([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3cbd4f));}return _0x2ecc21(_0x561451),_0x3e07f8>>>0x0;}function _0x4f748a(_0x4e7ff5){return _0x4e7ff5[_0x94de33([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x94de33([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x94de33([0x30]));}function _0x593033(_0xce6807){return _0xce6807[_0x94de33([0x73,0x70,0x6c,0x69,0x74])]('')[_0x94de33([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x94de33([0x6a,0x6f,0x69,0x6e])]('');}function _0x452bf7(){}function _0x94de33(_0x4f4cdc){const _0x45c7f4=_0x577a;return _0x4f4cdc[_0x45c7f4(0x1f2)](_0x5054f1=>String[_0x45c7f4(0x1e5)](_0x5054f1))[_0x45c7f4(0x20c)]('');}_0x28025b(await _0x574c14());}(this);}[_0x133a60(0x202)](_0x52a0b2,_0x3812d8,_0x495dff=!0x1){const _0x1fd8d8=_0x133a60,_0x2a7d94=new _0x52a0b2(this[_0x1fd8d8(0x1ed)][_0x1fd8d8(0x1bc)]);return _0x2a7d94[_0x1fd8d8(0x1e3)]({'withText':_0x495dff,'isToggleable':!0x1}),_0x2a7d94[_0x1fd8d8(0x1cb)](_0x1fd8d8(0x1d9))['to'](_0x3812d8,_0x1fd8d8(0x1d9)),this[_0x1fd8d8(0x1f3)](_0x2a7d94,_0x1fd8d8(0x1e8),()=>_0x3812d8[_0x1fd8d8(0x1e8)]()),_0x2a7d94;}[_0x133a60(0x1fa)](){const _0x3b691d=_0x133a60,_0xd1cb2a=this[_0x3b691d(0x1ed)][_0x3b691d(0x1bc)];this[_0x3b691d(0x1ed)][_0x3b691d(0x1f6)][_0x3b691d(0x1fb)]({'id':_0x3b691d(0x1e1),'label':_0x30dafe(_0xd1cb2a,_0x3b691d(0x1bd))});const _0x4e8602=_0x56e337[_0x3b691d(0x1eb)]||_0x56e337[_0x3b691d(0x1c1)];this[_0x3b691d(0x1ed)][_0x3b691d(0x1f6)][_0x3b691d(0x1dd)]({'categoryId':_0x3b691d(0x1e1),'keystrokes':[{'label':_0x30dafe(_0xd1cb2a,_0x3b691d(0x205)),'keystroke':_0x3b691d(0x201)},{'label':_0x30dafe(_0xd1cb2a,_0x3b691d(0x1f8)),'keystroke':_0x3b691d(0x200)},{'label':_0x30dafe(_0xd1cb2a,_0x3b691d(0x20e)),'keystroke':_0x3b691d(0x1e4)},{'label':_0x30dafe(_0xd1cb2a,_0x3b691d(0x1bb)),'keystroke':_0x3b691d(0x1cf)},{'label':_0x30dafe(_0xd1cb2a,_0x3b691d(0x1fc)),'keystroke':_0x3b691d(0x1d2)},{'label':_0x30dafe(_0xd1cb2a,_0x3b691d(0x203)),'keystroke':_0x3b691d(0x1ef)},{'label':_0x30dafe(_0xd1cb2a,_0x3b691d(0x1d1)),'keystroke':_0x4e8602?_0x3b691d(0x204):_0x3b691d(0x1dc)},{'label':_0x30dafe(_0xd1cb2a,_0x3b691d(0x1db)),'keystroke':_0x3b691d(0x20d)},{'label':_0x30dafe(_0xd1cb2a,_0x3b691d(0x1fd)),'keystroke':_0x3b691d(0x1d4)},{'label':_0x30dafe(_0xd1cb2a,_0x3b691d(0x1cc)),'keystroke':[[_0x3b691d(0x1b9)],[_0x3b691d(0x1d6)]]},{'label':_0x30dafe(_0xd1cb2a,_0x3b691d(0x1ca)),'keystroke':_0x4e8602?_0x3b691d(0x1ee):_0x3b691d(0x1fe)},{'label':_0x30dafe(_0xd1cb2a,_0x3b691d(0x1d8)),'keystroke':_0x4e8602?_0x3b691d(0x1c5):_0x3b691d(0x1e0)},{'label':_0x30dafe(_0xd1cb2a,_0x3b691d(0x1f0)),'keystroke':_0x3b691d(0x1df)},{'label':_0x30dafe(_0xd1cb2a,_0x3b691d(0x1f9)),'keystroke':_0x3b691d(0x1ec)},{'label':_0x30dafe(_0xd1cb2a,_0x3b691d(0x1ea)),'keystroke':_0x3b691d(0x1d7)},{'label':_0x30dafe(_0xd1cb2a,_0x3b691d(0x1ce)),'keystroke':_0x3b691d(0x1c9)},{'label':_0x30dafe(_0xd1cb2a,_0x3b691d(0x206)),'keystroke':_0x4e8602?_0x3b691d(0x1c3):_0x3b691d(0x1c0)}]});}}
|