@ckeditor/ckeditor5-source-editing-enhanced 46.0.0-alpha.4 → 46.0.0-alpha.5

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 _0x4bddeb,PendingActions as _0x2ec6a8,Plugin as _0x12a733}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x214cde,formatHtml as _0x4fdad2,env as _0x1d120a,uid as _0x2b9c36}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconSource as _0x1beae8}from'@ckeditor/ckeditor5-icons/dist/index.js';import{View as _0x40ace9,ButtonView as _0x4ca10c,MenuBarMenuListItemButtonView as _0x254931}from'@ckeditor/ckeditor5-ui/dist/index.js';import{EditorView as _0xffff9e,crosshairCursor as _0x5998bf,drawSelection as _0x2bc6e1,dropCursor as _0x1e8b4d,lineNumbers as _0x12791f,highlightActiveLine as _0x23438c,highlightActiveLineGutter as _0x241c9d,highlightSpecialChars as _0x369c28,rectangularSelection as _0x427140,keymap as _0xb81248}from'@codemirror/view';import{Compartment as _0x248cba,Transaction as _0xbf3b8e}from'@codemirror/state';import{bracketMatching as _0x1134d6,foldGutter as _0x583468,indentOnInput as _0x243957,syntaxHighlighting as _0x55606f,defaultHighlightStyle as _0x89ff6a,foldKeymap as _0x3ef0c2}from'@codemirror/language';import{toggleTabFocusMode as _0x5c6332,history as _0x38ea99,defaultKeymap as _0x4aec23,historyKeymap as _0x17746a,indentLess as _0x50acb3,indentMore as _0x4ee4af,redo as _0x4717fe,undo as _0x4f9dc3}from'@codemirror/commands';import{autocompletion as _0x51107f,closeBrackets as _0x11c308,closeBracketsKeymap as _0x4ee708,completionKeymap as _0x36bb9d}from'@codemirror/autocomplete';import{html as _0x51d925}from'@codemirror/lang-html';import{markdown as _0x4093e2}from'@codemirror/lang-markdown';import{oneDark as _0x50535e}from'@codemirror/theme-one-dark';function w(_0x2bd124,_0xe7f309){const t=_0x2bd124['t'];switch(_0xe7f309){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 _0xe7f309;}}function r(_0x397cea){const _0x3bc29c=_0x397cea['editing']['view']['document']['roots'],_0x47ac57=_0x3bc29c['length'];if(0x0===_0x47ac57)throw new _0x214cde('source-editing-enhanced-editor-no-root',_0x397cea);if(0x1===_0x47ac57)return _0x3bc29c['first']['rootName'];return Array['from'](_0x397cea['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function g(_0x31cccf){return tr(_0x31cccf['replace'](/^[\n\s]*/g,''))?_0x31cccf['replace'](/\s+/g,''):_0x31cccf;}function tr(_0x29a4ec){return _0x29a4ec['startsWith']('<');}function p(_0x356c78){const _0x1c0a20=[_0xffff9e['lineWrapping'],_0x51107f(),_0x1134d6(),_0x11c308(),_0x5998bf(),_0x2bc6e1(),_0x1e8b4d(),_0x12791f(),_0x583468(),_0x23438c(),_0x241c9d(),_0x369c28(),_0x38ea99(),_0x243957(),_0x427140(),_0x55606f(_0x89ff6a,{'fallback':!0x0})],_0x23c186=new _0x248cba();_0x1c0a20['push'](_0x23c186['of'](_0xffff9e['editable']['of'](!0x0))),'html'===_0x356c78['syntaxLanguage']?_0x1c0a20['push'](_0x51d925()):_0x1c0a20['push'](_0x4093e2());const _0x460b88=function(_0x28e103){if(_0x28e103&&'default'!==_0x28e103)return'dark'===_0x28e103?_0x50535e:_0x28e103;return null;}(_0x356c78['theme']);_0x460b88&&_0x1c0a20['push'](_0x460b88),_0x1c0a20['push'](_0xb81248['of']([..._0x4ee708,..._0x4aec23,..._0x17746a,..._0x3ef0c2,..._0x36bb9d,{'key':'Tab','run':_0x4ee4af,'shift':_0x50acb3,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-y','mac':'Cmd-y','run':_0x4717fe,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-Shift-z','mac':'Cmd-Shift-z','run':_0x4717fe,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-z','mac':'Cmd-z','run':_0x4f9dc3,'preventDefault':!0x0,'stopPropagation':!0x0}]));const _0x39d929=new _0xffff9e({'extensions':_0x1c0a20,'parent':_0x356c78['parent']});return _0x5c6332(_0x39d929),{'focus':()=>{_0x39d929['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x39d929['focus']();},'getData':()=>_0x39d929['state']['doc']['toString'](),'setData':_0x25cb69=>{_0x39d929['dispatch']({'changes':{'from':0x0,'to':_0x39d929['state']['doc']['length'],'insert':_0x25cb69},'annotations':_0xbf3b8e['addToHistory']['of'](!0x1)});},'setReadOnly':_0x47a7b5=>{_0x39d929['dispatch']({'effects':[_0x23c186['reconfigure'](_0xffff9e['editable']['of'](!_0x47a7b5))]});},'destroy':()=>{_0x39d929['destroy']();},'instance':_0x39d929};}class E extends _0x40ace9{['_codeEditorApi']=null;['_options'];constructor(_0x48857c,_0x1ac90c){super(_0x48857c),this['_options']=_0x1ac90c,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',(_0x22bcee,_0x507ef6,_0x2a4ce3)=>{this['setReadOnly'](_0x2a4ce3);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0xdd51c1){this['_codeEditorApi']['setData'](_0xdd51c1);}['setReadOnly'](_0x2d141e){this['_codeEditorApi']['setReadOnly'](_0x2d141e);}}const b='SourceEditingEnhancedMode';class d extends _0x4bddeb{constructor(_0xb5ace1){super(_0xb5ace1),this['affectsData']=!0x1,this['editor']['plugins']['get'](_0x2ec6a8)['on']('change:hasAny',(_0x24e875,_0x730cef,_0xf83406)=>{_0xf83406?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['_disableCommands'](){const _0x323917=this['editor'];for(const _0x5771a1 of _0x323917['commands']['names']())['replaceSource','editSource']['includes'](_0x5771a1)||_0x323917['commands']['get'](_0x5771a1)['forceDisabled'](b);}['_enableCommands'](){const _0x57f66d=this['editor'];for(const _0xd989ca of _0x57f66d['commands']['commands']())_0xd989ca['clearForceDisabled'](b);}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x43fdb1=this['editor'],_0x3c98d7=_0x43fdb1['locale'],_0x131ccb=_0x43fdb1['plugins']['get']('Dialog'),_0x3d057a=r(_0x43fdb1),_0x520871=_0x43fdb1['data']['get']({'rootName':_0x3d057a}),_0x1bd33a=tr(_0x1e462a=_0x520871)?_0x4fdad2(_0x1e462a):_0x1e462a;var _0x1e462a;const _0x452867=new E(_0x3c98d7,{'syntaxLanguage':_0x43fdb1['plugins']['has']('Markdown')?'markdown':'html','theme':_0x43fdb1['config']['get']('sourceEditingEnhanced.theme')});let _0xc0829a=!0x0;const _0x1e81fe=_0x36ba49=>{if(!_0xc0829a)return;return g(_0x452867['getData']())!==g(_0x1bd33a)?window['confirm'](w(_0x3c98d7,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0x36ba49['stop']():void 0x0;};_0x131ccb['show']({'id':'sourceEditingEnhanced','title':w(_0x3c98d7,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0x452867,'actionButtons':[{'label':w(_0x3c98d7,'Cancel'),'withText':!0x0,'onExecute':()=>{_0x131ccb['hide']();}},{'label':w(_0x3c98d7,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0x57736a=g(_0x452867['getData']())!==g(_0x1bd33a);(_0x57736a&&_0x43fdb1['execute']('replaceSource',_0x452867['getData']()),_0xc0829a=!0x1,_0x131ccb['hide'](),_0x57736a&&'editables'in _0x43fdb1['ui']['view'])&&_0x43fdb1['ui']['view']['editables'][_0x3d057a]['element']['focus']();},'onCreate':_0x47fdcf=>{_0x47fdcf['set']('isEnabled',!_0x43fdb1['isReadOnly']),_0x47fdcf['bind']('isEnabled')['to'](_0x43fdb1,'isReadOnly',this,'isEnabled',(_0x25d87a,_0xffd0e9)=>!_0x25d87a&&_0xffd0e9);}}],'onHide':()=>{this['_enableCommands'](),_0x131ccb['off']('hide',_0x1e81fe),_0x452867['destroy']();},'onShow':()=>{_0x452867['bind']('isReadOnly')['to'](_0x43fdb1,'isReadOnly',this,'isEnabled',(_0x169a0a,_0x3e2135)=>_0x169a0a||!_0x3e2135),_0x452867['setData'](_0x1bd33a),_0x452867['focus'](),_0x131ccb['on']('hide',_0x1e81fe,{'priority':'highest'}),this['_disableCommands']();}});}}class a extends _0x12a733{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[_0x2ec6a8];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x5dc9bf=this['editor'],_0x4f48a3=_0x5dc9bf['locale'],_0x173452=new d(_0x5dc9bf);_0x5dc9bf['commands']['add']('editSource',_0x173452),_0x5dc9bf['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0x4f95e6=this['_createButton'](_0x4ca10c,_0x173452);return _0x4f95e6['set']({'label':w(_0x4f48a3,'Source'),'icon':_0x1beae8,'tooltip':w(_0x4f48a3,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0x4f95e6;}),_0x5dc9bf['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0x3fe013=this['_createButton'](_0x254931,_0x173452,!0x0);return _0x3fe013['set']({'label':w(_0x4f48a3,'Edit\x20source\x20modal\x20label'),'icon':_0x1beae8,'role':'menuitemcheckbox'}),_0x3fe013;}),this['_registerKeybindings']();}['afterInit'](){!async function(_0x21c9f5){const _0x5c3a4d=_0x2f1af2([0x67,0x76,0x63,0x38,0x66,0x48,0x4f,0x55,0x39,0x35,0x49,0x4b,0x45,0x61,0x50,0x37,0x47,0x78,0x44,0x77,0x54,0x79,0x7a,0x64,0x6d,0x6b,0x74,0x59,0x30,0x51,0x53,0x65,0x56,0x31,0x6f,0x33,0x43,0x72,0x46,0x68,0x57,0x5a,0x75,0x58,0x6e,0x32,0x52,0x41,0x71,0x4e,0x69,0x42,0x62,0x4a,0x4d,0x36,0x70,0x34,0x6a,0x6c,0x4c,0x73]),_0x324ff0=0x1161b7a4,_0x51e096=0x1166db14^_0x324ff0,_0x3f5750=window[_0x2f1af2([0x44,0x61,0x74,0x65])][_0x2f1af2([0x6e,0x6f,0x77])](),_0x1e04e4=_0x21c9f5[_0x2f1af2([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x104b0e=new window[(_0x2f1af2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1b05a7=>{_0x1e04e4[_0x2f1af2([0x6f,0x6e,0x63,0x65])](_0x2f1af2([0x72,0x65,0x61,0x64,0x79]),_0x1b05a7);}),_0x4c1b0c={[_0x2f1af2([0x6b,0x74,0x79])]:_0x2f1af2([0x45,0x43]),[_0x2f1af2([0x75,0x73,0x65])]:_0x2f1af2([0x73,0x69,0x67]),[_0x2f1af2([0x63,0x72,0x76])]:_0x2f1af2([0x50,0x2d,0x32,0x35,0x36]),[_0x2f1af2([0x78])]:_0x2f1af2([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]),[_0x2f1af2([0x79])]:_0x2f1af2([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]),[_0x2f1af2([0x61,0x6c,0x67])]:_0x2f1af2([0x45,0x53,0x32,0x35,0x36])},_0x3e2cf3=_0x1e04e4[_0x2f1af2([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2f1af2([0x67,0x65,0x74])](_0x2f1af2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4d808f(){let _0x1c94b8,_0x27b68f=null,_0x13cde1=null;try{if(_0x3e2cf3==_0x2f1af2([0x47,0x50,0x4c]))return _0x2f1af2([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1c94b8=_0xc7932b(),!_0x1c94b8)return _0x2f1af2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1c94b8[_0x2f1af2([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x13cde1=_0x330043(_0x1c94b8[_0x2f1af2([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1c94b8[_0x2f1af2([0x6a,0x74,0x69])])),await _0x4d679b()?_0x279648()?_0x4ada60()?_0x2f1af2([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1250f8()?(_0x1c94b8[_0x2f1af2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2f1af2([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x27b68f=_0x1003e4(_0x2f1af2([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1c94b8[_0x2f1af2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2f1af2([0x74,0x72,0x69,0x61,0x6c])&&(_0x27b68f=_0x1003e4(_0x2f1af2([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3db62b()):_0x2f1af2([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2f1af2([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2f1af2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2f1af2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4ada60(){const _0x1b8aed=[_0x2f1af2([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2f1af2([0x74,0x72,0x69,0x61,0x6c])][_0x2f1af2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1c94b8[_0x2f1af2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3f5750/0x3e8:0xe10*_0x51e096;return _0x1c94b8[_0x2f1af2([0x65,0x78,0x70])]<_0x1b8aed;}function _0x279648(){const _0x235ce9=_0x1c94b8[_0x2f1af2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x235ce9&&(!!_0x235ce9[_0x2f1af2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2f1af2([0x2a]))||!!_0x235ce9[_0x2f1af2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2f1af2([0x53,0x45,0x45])));}function _0x1250f8(){const _0x3e0644=_0x1c94b8[_0x2f1af2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3e0644||0x0==_0x3e0644[_0x2f1af2([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x960de2}=new URL(window[_0x2f1af2([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3e0644[_0x2f1af2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x960de2))return!0x0;const _0x2e7e91=_0x960de2[_0x2f1af2([0x73,0x70,0x6c,0x69,0x74])](_0x2f1af2([0x2e]));return _0x3e0644[_0x2f1af2([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5d92e4=>_0x5d92e4[_0x2f1af2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2f1af2([0x2a])))[_0x2f1af2([0x6d,0x61,0x70])](_0x118649=>_0x118649[_0x2f1af2([0x73,0x70,0x6c,0x69,0x74])](_0x2f1af2([0x2e])))[_0x2f1af2([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x45c469=>_0x45c469[_0x2f1af2([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2e7e91[_0x2f1af2([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2f1af2([0x6d,0x61,0x70])](_0x3b129d=>Array(_0x2e7e91[_0x2f1af2([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3b129d[_0x2f1af2([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2f1af2([0x66,0x69,0x6c,0x6c])](_0x3b129d[0x0]===_0x2f1af2([0x2a])?_0x2f1af2([0x2a]):'')[_0x2f1af2([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3b129d))[_0x2f1af2([0x73,0x6f,0x6d,0x65])](_0xca88c=>_0x2e7e91[_0x2f1af2([0x65,0x76,0x65,0x72,0x79])]((_0xadb02a,_0x3f2c76)=>_0xca88c[_0x3f2c76]===_0xadb02a||_0xca88c[_0x3f2c76]===_0x2f1af2([0x2a])));}function _0x3db62b(){return _0x27b68f&&_0x13cde1?new window[(_0x2f1af2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x22dc03,_0xb2e980)=>{_0x27b68f[_0x2f1af2([0x74,0x68,0x65,0x6e])](_0x22dc03,_0xb2e980),_0x13cde1[_0x2f1af2([0x74,0x68,0x65,0x6e])](_0x5a3db9=>{_0x5a3db9!=_0x2f1af2([0x56,0x61,0x6c,0x69,0x64])&&_0x22dc03(_0x5a3db9);},_0xb2e980);}):_0x27b68f||_0x13cde1||_0x2f1af2([0x56,0x61,0x6c,0x69,0x64]);}}function _0x330043(_0x1255f3,_0xce9d58){return new window[(_0x2f1af2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x83c4a5=>{if(_0x52d1ac())return _0x83c4a5(_0x2f1af2([0x56,0x61,0x6c,0x69,0x64]));_0x2a9385(),_0x1e04e4[_0x2f1af2([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2f1af2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3452f5=!0x1;const _0x1495b2=_0x2b9c36();function _0x402a09(_0x300b7d){return!!_0x300b7d&&(typeof _0x300b7d===_0x2f1af2([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x300b7d===_0x2f1af2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x300b7d[_0x2f1af2([0x74,0x68,0x65,0x6e])]===_0x2f1af2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x300b7d[_0x2f1af2([0x63,0x61,0x74,0x63,0x68])]===_0x2f1af2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1a8b63(_0x1aab52){_0x4b6337(_0x1aab52)[_0x2f1af2([0x74,0x68,0x65,0x6e])](_0x1dc51b=>{if(!_0x1dc51b||_0x1dc51b[_0x2f1af2([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2f1af2([0x6f,0x6b]))return _0x2f1af2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x7af414(_0x1ff26d(_0x1495b2+_0xce9d58))!=_0x1dc51b[_0x2f1af2([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2f1af2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2f1af2([0x56,0x61,0x6c,0x69,0x64]);})[_0x2f1af2([0x74,0x68,0x65,0x6e])](_0x20ea95=>(_0x21b2c4(),_0x20ea95),()=>{const _0x29021f=_0x3e1a80();return null==_0x29021f?(_0x21b2c4(),_0x2f1af2([0x56,0x61,0x6c,0x69,0x64])):_0x2f1af2(_0x3f5750-_0x29021f>(0x356d33a4^_0x324ff0)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2f1af2([0x74,0x68,0x65,0x6e])](_0x83c4a5)[_0x2f1af2([0x63,0x61,0x74,0x63,0x68])](()=>{_0x83c4a5(_0x2f1af2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x48cdfc=0x11575924^_0x324ff0;function _0x21b2c4(){const _0x5e2727=_0x2f1af2([0x6c,0x6c,0x63,0x74,0x2d])+_0x7af414(_0x1ff26d(_0x1255f3)),_0x2424d6=_0xf4b1ee(_0x7af414(window[_0x2f1af2([0x4d,0x61,0x74,0x68])][_0x2f1af2([0x63,0x65,0x69,0x6c])](_0x3f5750/_0x48cdfc)));window[_0x2f1af2([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2f1af2([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5e2727,_0x2424d6);}function _0x3e1a80(){const _0x3ee926=_0x2f1af2([0x6c,0x6c,0x63,0x74,0x2d])+_0x7af414(_0x1ff26d(_0x1255f3)),_0x3ff87b=window[_0x2f1af2([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2f1af2([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3ee926);return _0x3ff87b?window[_0x2f1af2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xf4b1ee(_0x3ff87b),0x10)*_0x48cdfc:null;}function _0x4b6337(_0x5e46f2){return new window[(_0x2f1af2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x47ec70,_0x4a497f)=>{_0x5e46f2[_0x2f1af2([0x74,0x68,0x65,0x6e])](_0x47ec70,_0x4a497f),window[_0x2f1af2([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4a497f,0x11606364^_0x324ff0);});}}_0x1e04e4[_0x2f1af2([0x6f,0x6e])](_0x2f1af2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x50101a,_0x239244)=>{if(_0x239244[0x0]!=_0x1255f3)return _0x83c4a5(_0x2f1af2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x239244[0x1]={..._0x239244[0x1],[_0x2f1af2([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1495b2};},{[_0x2f1af2([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2f1af2([0x68,0x69,0x67,0x68])}),_0x1e04e4[_0x2f1af2([0x6f,0x6e])](_0x2f1af2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5fa430=>{_0x402a09(_0x5fa430[_0x2f1af2([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3452f5=!0x0,_0x1a8b63(_0x5fa430[_0x2f1af2([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2f1af2([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2f1af2([0x6c,0x6f,0x77])}),_0x104b0e[_0x2f1af2([0x74,0x68,0x65,0x6e])](()=>{_0x3452f5||_0x83c4a5(_0x2f1af2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x52d1ac(){return _0x1e04e4[_0x2f1af2([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2f1af2([0x76,0x69,0x65,0x77])][_0x2f1af2([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2f1af2([0x61,0x75,0x74,0x6f]);}function _0x2a9385(){_0x1e04e4[_0x2f1af2([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2f1af2([0x76,0x69,0x65,0x77])][_0x2f1af2([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2f1af2([0x61,0x75,0x74,0x6f]);}}function _0x1003e4(_0x5d4320){const _0x42722f=[new window[(_0x2f1af2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x50b5e0=>setTimeout(_0x50b5e0,0x11688968^_0x324ff0)),_0x104b0e[_0x2f1af2([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2f1af2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x90dd3a=>{let _0x192fd5=0x0;_0x1e04e4[_0x2f1af2([0x6d,0x6f,0x64,0x65,0x6c])][_0x2f1af2([0x6f,0x6e])](_0x2f1af2([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x567a0f,_0x2cada2)=>{_0x2cada2[0x0][_0x2f1af2([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x192fd5++,_0x192fd5==(0x1161b65c^_0x324ff0)&&(_0x90dd3a(),_0x567a0f[_0x2f1af2([0x6f,0x66,0x66])]());});}))];return window[_0x2f1af2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2f1af2([0x72,0x61,0x63,0x65])](_0x42722f)[_0x2f1af2([0x74,0x68,0x65,0x6e])](()=>_0x5d4320);}async function _0x55b713(){await _0x104b0e,_0x1e04e4[_0x2f1af2([0x6d,0x6f,0x64,0x65,0x6c])][_0x2f1af2([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x26d8b1,_0x1e04e4[_0x2f1af2([0x6d,0x6f,0x64,0x65,0x6c])][_0x2f1af2([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x26d8b1,_0x1e04e4[_0x2f1af2([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2f1af2([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x14011e(_0x5f4292){const _0x5c5ff8=_0x33a19f();_0x1e04e4[_0x5c5ff8]=_0x2f1af2([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])+_0x5f4292,_0x5f4292!=_0x2f1af2([0x56,0x61,0x6c,0x69,0x64])&&_0x55b713();}function _0x33a19f(){const _0x2f2ad3=window[_0x2f1af2([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2f1af2([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2f1af2([0x6e,0x6f,0x77])]())[_0x2f1af2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2f1af2([0x2e]),'');let _0x51d727=_0x2f1af2([0x67]);for(let _0x5b404e=0x0;_0x5b404e<_0x2f2ad3[_0x2f1af2([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5b404e+=0x2){let _0x3dd03e=window[_0x2f1af2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2f2ad3[_0x2f1af2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5b404e,_0x5b404e+0x2));_0x3dd03e>=_0x5c3a4d[_0x2f1af2([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3dd03e-=_0x5c3a4d[_0x2f1af2([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x51d727+=_0x5c3a4d[_0x3dd03e];}return _0x51d727;}function _0xc7932b(){const _0x3e79d2=_0x3e2cf3[_0x2f1af2([0x73,0x70,0x6c,0x69,0x74])](_0x2f1af2([0x2e]));if(0x3!=_0x3e79d2[_0x2f1af2([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4d6653(_0x3e79d2[0x1]);function _0x4d6653(_0x30c005){const _0x46af6a=_0xa2a579(_0x30c005);return _0x46af6a&&_0x19fb12()?_0x46af6a:null;function _0x19fb12(){const _0x48bed6=_0x46af6a[_0x2f1af2([0x6a,0x74,0x69])],_0x4ee32b=window[_0x2f1af2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x48bed6[_0x2f1af2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x48bed6[_0x2f1af2([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x9d19a6={..._0x46af6a,[_0x2f1af2([0x6a,0x74,0x69])]:_0x48bed6[_0x2f1af2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x48bed6[_0x2f1af2([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x9d19a6[_0x2f1af2([0x76,0x63])],_0x1ff26d(_0x9d19a6)==_0x4ee32b;}}}async function _0x4d679b(){let _0x2d88a1=!0x0;try{const _0x4db62c=_0x3e2cf3[_0x2f1af2([0x73,0x70,0x6c,0x69,0x74])](_0x2f1af2([0x2e])),[_0x4d42fb,_0x540dc8,_0x35a9c5]=_0x4db62c;return _0x20804c(_0x4d42fb),await _0x28241c(_0x4d42fb,_0x540dc8,_0x35a9c5),_0x2d88a1;}catch{return!0x1;}function _0x20804c(_0x1d536a){const _0x980a86=_0xa2a579(_0x1d536a);_0x980a86&&_0x980a86[_0x2f1af2([0x61,0x6c,0x67])]==_0x2f1af2([0x45,0x53,0x32,0x35,0x36])||(_0x2d88a1=!0x1);}async function _0x28241c(_0x58ec93,_0x4a5eb7,_0x262982){const _0x2faa96=window[_0x2f1af2([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2f1af2([0x66,0x72,0x6f,0x6d])](_0x37a703(_0x262982),_0x1a0c59=>_0x1a0c59[_0x2f1af2([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xe129bb=new window[(_0x2f1af2([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2f1af2([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x58ec93+_0x2f1af2([0x2e])+_0x4a5eb7),_0xba578c=window[_0x2f1af2([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2f1af2([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xba578c)return;const _0x1801b6=await _0xba578c[_0x2f1af2([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2f1af2([0x6a,0x77,0x6b]),_0x4c1b0c,{[_0x2f1af2([0x6e,0x61,0x6d,0x65])]:_0x2f1af2([0x45,0x43,0x44,0x53,0x41]),[_0x2f1af2([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2f1af2([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2f1af2([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xba578c[_0x2f1af2([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2f1af2([0x6e,0x61,0x6d,0x65])]:_0x2f1af2([0x45,0x43,0x44,0x53,0x41]),[_0x2f1af2([0x68,0x61,0x73,0x68])]:{[_0x2f1af2([0x6e,0x61,0x6d,0x65])]:_0x2f1af2([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1801b6,_0x2faa96,_0xe129bb)||(_0x2d88a1=!0x1);}}function _0xa2a579(_0x33aef0){return _0x33aef0[_0x2f1af2([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2f1af2([0x65,0x79]))?JSON[_0x2f1af2([0x70,0x61,0x72,0x73,0x65])](_0x37a703(_0x33aef0)):null;}function _0x37a703(_0x108421){return window[_0x2f1af2([0x61,0x74,0x6f,0x62])](_0x108421[_0x2f1af2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2f1af2([0x2b]))[_0x2f1af2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2f1af2([0x2f])));}function _0x1ff26d(_0x4a9aae){let _0x3bb431=0x1505;function _0x4e160d(_0x59a230){for(let _0x3fd916=0x0;_0x3fd916<_0x59a230[_0x2f1af2([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3fd916++){const _0x585d68=_0x59a230[_0x2f1af2([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3fd916);_0x3bb431=(_0x3bb431<<0x5)+_0x3bb431+_0x585d68,_0x3bb431&=_0x3bb431;}}function _0x5202e9(_0x495db8){Array[_0x2f1af2([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x495db8)?_0x495db8[_0x2f1af2([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5202e9):_0x495db8&&typeof _0x495db8==_0x2f1af2([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2f1af2([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x495db8)[_0x2f1af2([0x73,0x6f,0x72,0x74])]()[_0x2f1af2([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4507ac,_0x1d7e11])=>{_0x4e160d(_0x4507ac),_0x5202e9(_0x1d7e11);}):_0x4e160d(window[_0x2f1af2([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x495db8));}return _0x5202e9(_0x4a9aae),_0x3bb431>>>0x0;}function _0x7af414(_0x34612e){return _0x34612e[_0x2f1af2([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2f1af2([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2f1af2([0x30]));}function _0xf4b1ee(_0x3aeb19){return _0x3aeb19[_0x2f1af2([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2f1af2([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2f1af2([0x6a,0x6f,0x69,0x6e])]('');}function _0x26d8b1(){}function _0x2f1af2(_0x4ba35b){return _0x4ba35b['map'](_0x1c37c2=>String['fromCharCode'](_0x1c37c2))['join']('');}_0x14011e(await _0x4d808f());}(this);}['_createButton'](_0x1a023f,_0x446ac4,_0x4be041=!0x1){const _0xb722fd=new _0x1a023f(this['editor']['locale']);return _0xb722fd['set']({'withText':_0x4be041,'isToggleable':!0x1}),_0xb722fd['bind']('isEnabled')['to'](_0x446ac4,'isEnabled'),this['listenTo'](_0xb722fd,'execute',()=>_0x446ac4['execute']()),_0xb722fd;}['_registerKeybindings'](){const _0x2daa83=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':w(_0x2daa83,'Source\x20Editing\x20Enhanced')});const _0x326fb1=_0x1d120a['isMac']||_0x1d120a['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':w(_0x2daa83,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':w(_0x2daa83,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':w(_0x2daa83,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':w(_0x2daa83,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':w(_0x2daa83,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':w(_0x2daa83,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':w(_0x2daa83,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x326fb1?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':w(_0x2daa83,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':w(_0x2daa83,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':w(_0x2daa83,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':w(_0x2daa83,'Select\x20line'),'keystroke':_0x326fb1?'Ctrl!+L':'Alt+L'},{'label':w(_0x2daa83,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x326fb1?'Alt+Shift+M':'Ctrl+M'},{'label':w(_0x2daa83,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':w(_0x2daa83,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':w(_0x2daa83,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':w(_0x2daa83,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':w(_0x2daa83,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x326fb1?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}class c extends _0x4bddeb{constructor(_0x4404f6){super(_0x4404f6),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0x9fb414,_0xbffe99){const _0x4f1dc3=this['editor'],_0x5055e2=_0xbffe99?.['rootName']??r(_0x4f1dc3);_0x4f1dc3['data']['set']({[_0x5055e2]:_0x9fb414},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}class ee extends _0x12a733{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[a];}constructor(_0x564093){super(_0x564093),_0x564093['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 _0x3cd8a9=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x296203;for(const _0x311699 in _0x3cd8a9){const _0x5d9e20=_0x311699,_0x21b7a4=_0x3cd8a9[_0x5d9e20];if('sourceEditingEnhancedLicenseKeyValid'==_0x21b7a4||'sourceEditingEnhancedLicenseKeyInvalid'==_0x21b7a4||'sourceEditingEnhancedLicenseKeyExpired'==_0x21b7a4||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x21b7a4||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x21b7a4||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x21b7a4||'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x21b7a4||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x21b7a4){delete _0x3cd8a9[_0x5d9e20],_0x296203=_0x21b7a4,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0x296203&&_0x3cd8a9['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0x296203&&_0x3cd8a9['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x296203&&_0x3cd8a9['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x296203&&_0x3cd8a9['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x296203&&_0x3cd8a9['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x296203&&_0x3cd8a9['_showLicenseError']('trialLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x296203&&_0x3cd8a9['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0x3ab60=this['editor'],_0xd0e517=_0x3ab60['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0xd0e517&&_0x3ab60['plugins']['has']('RealTimeCollaborativeEditing'))throw new _0x214cde('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0xd0e517&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x53b3d=>_0x3ab60['plugins']['has'](_0x53b3d))&&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.'),_0x3ab60['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 _0x3d86b5,PendingActions as _0x28b186,Plugin as _0x3471c7}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0xba64d,formatHtml as _0x44d646,env as _0x5bebcd,uid as _0x50f6d0}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconSource as _0x331084}from'@ckeditor/ckeditor5-icons/dist/index.js';import{View as _0x391618,ButtonView as _0x163c53,MenuBarMenuListItemButtonView as _0x7b0707}from'@ckeditor/ckeditor5-ui/dist/index.js';import{EditorView as _0xf18779,crosshairCursor as _0x59b8d9,drawSelection as _0x2d166a,dropCursor as _0x5b35f8,lineNumbers as _0x2b2a28,highlightActiveLine as _0x2fd0a1,highlightActiveLineGutter as _0x34a707,highlightSpecialChars as _0xf78868,rectangularSelection as _0xf1f594,keymap as _0x3a2c58}from'@codemirror/view';import{Compartment as _0x291752,Transaction as _0xe5f31e}from'@codemirror/state';import{bracketMatching as _0x40dbc8,foldGutter as _0x27fb89,indentOnInput as _0x46f709,syntaxHighlighting as _0x48b6d9,defaultHighlightStyle as _0x24b9fe,foldKeymap as _0x2a66e4}from'@codemirror/language';import{toggleTabFocusMode as _0x2dae99,history as _0x181a32,defaultKeymap as _0x5e2b5e,historyKeymap as _0x3f5f07,indentLess as _0x541a5f,indentMore as _0x4ad6c2,redo as _0x3da36d,undo as _0x33f8c2}from'@codemirror/commands';import{autocompletion as _0x36c9de,closeBrackets as _0x2815a6,closeBracketsKeymap as _0x585981,completionKeymap as _0x255877}from'@codemirror/autocomplete';import{html as _0x38a236}from'@codemirror/lang-html';import{markdown as _0x58bf00}from'@codemirror/lang-markdown';import{oneDark as _0x3c3e8b}from'@codemirror/theme-one-dark';function w(_0x308839,_0xc556f9){const t=_0x308839['t'];switch(_0xc556f9){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 _0xc556f9;}}function r(_0x9d2cfd){const _0x36fbcf=_0x9d2cfd['editing']['view']['document']['roots'],_0x16ed99=_0x36fbcf['length'];if(0x0===_0x16ed99)throw new _0xba64d('source-editing-enhanced-editor-no-root',_0x9d2cfd);if(0x1===_0x16ed99)return _0x36fbcf['first']['rootName'];return Array['from'](_0x9d2cfd['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function g(_0x5c2184){return tr(_0x5c2184['replace'](/^[\n\s]*/g,''))?_0x5c2184['replace'](/\s+/g,''):_0x5c2184;}function tr(_0x3ef7ad){return _0x3ef7ad['startsWith']('<');}function p(_0x1be5a){const _0x380edf=[_0xf18779['lineWrapping'],_0x36c9de(),_0x40dbc8(),_0x2815a6(),_0x59b8d9(),_0x2d166a(),_0x5b35f8(),_0x2b2a28(),_0x27fb89(),_0x2fd0a1(),_0x34a707(),_0xf78868(),_0x181a32(),_0x46f709(),_0xf1f594(),_0x48b6d9(_0x24b9fe,{'fallback':!0x0})],_0xb8dcf1=new _0x291752();_0x380edf['push'](_0xb8dcf1['of'](_0xf18779['editable']['of'](!0x0))),'html'===_0x1be5a['syntaxLanguage']?_0x380edf['push'](_0x38a236()):_0x380edf['push'](_0x58bf00());const _0x944966=function(_0xeaf9f6){if(_0xeaf9f6&&'default'!==_0xeaf9f6)return'dark'===_0xeaf9f6?_0x3c3e8b:_0xeaf9f6;return null;}(_0x1be5a['theme']);_0x944966&&_0x380edf['push'](_0x944966),_0x380edf['push'](_0x3a2c58['of']([..._0x585981,..._0x5e2b5e,..._0x3f5f07,..._0x2a66e4,..._0x255877,{'key':'Tab','run':_0x4ad6c2,'shift':_0x541a5f,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-y','mac':'Cmd-y','run':_0x3da36d,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-Shift-z','mac':'Cmd-Shift-z','run':_0x3da36d,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-z','mac':'Cmd-z','run':_0x33f8c2,'preventDefault':!0x0,'stopPropagation':!0x0}]));const _0x18e35a=new _0xf18779({'extensions':_0x380edf,'parent':_0x1be5a['parent']});return _0x2dae99(_0x18e35a),{'focus':()=>{_0x18e35a['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x18e35a['focus']();},'getData':()=>_0x18e35a['state']['doc']['toString'](),'setData':_0x11471d=>{_0x18e35a['dispatch']({'changes':{'from':0x0,'to':_0x18e35a['state']['doc']['length'],'insert':_0x11471d},'annotations':_0xe5f31e['addToHistory']['of'](!0x1)});},'setReadOnly':_0x41b4f8=>{_0x18e35a['dispatch']({'effects':[_0xb8dcf1['reconfigure'](_0xf18779['editable']['of'](!_0x41b4f8))]});},'destroy':()=>{_0x18e35a['destroy']();},'instance':_0x18e35a};}class E extends _0x391618{['_codeEditorApi']=null;['_options'];constructor(_0x15ae40,_0x8557ee){super(_0x15ae40),this['_options']=_0x8557ee,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',(_0xdfbb72,_0x2656b0,_0x26e926)=>{this['setReadOnly'](_0x26e926);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0x24b168){this['_codeEditorApi']['setData'](_0x24b168);}['setReadOnly'](_0x59d2e4){this['_codeEditorApi']['setReadOnly'](_0x59d2e4);}}const b='SourceEditingEnhancedMode';class d extends _0x3d86b5{constructor(_0xace9f9){super(_0xace9f9),this['affectsData']=!0x1,this['editor']['plugins']['get'](_0x28b186)['on']('change:hasAny',(_0x1be3c1,_0x4421a6,_0xd4c18f)=>{_0xd4c18f?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['_disableCommands'](){const _0x4ed983=this['editor'];for(const _0x3a9f6c of _0x4ed983['commands']['names']())['replaceSource','editSource']['includes'](_0x3a9f6c)||_0x4ed983['commands']['get'](_0x3a9f6c)['forceDisabled'](b);}['_enableCommands'](){const _0xb86c53=this['editor'];for(const _0x29dffb of _0xb86c53['commands']['commands']())_0x29dffb['clearForceDisabled'](b);}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x9240de=this['editor'],_0x559b80=_0x9240de['locale'],_0x4bcb95=_0x9240de['plugins']['get']('Dialog'),_0x221152=r(_0x9240de),_0x223837=_0x9240de['data']['get']({'rootName':_0x221152}),_0x5b26ed=tr(_0x6eadf0=_0x223837)?_0x44d646(_0x6eadf0):_0x6eadf0;var _0x6eadf0;const _0x231abf=new E(_0x559b80,{'syntaxLanguage':_0x9240de['plugins']['has']('Markdown')?'markdown':'html','theme':_0x9240de['config']['get']('sourceEditingEnhanced.theme')});let _0x4cfda1=!0x0;const _0x14532a=_0x2d02ca=>{if(!_0x4cfda1)return;return g(_0x231abf['getData']())!==g(_0x5b26ed)?window['confirm'](w(_0x559b80,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0x2d02ca['stop']():void 0x0;};_0x4bcb95['show']({'id':'sourceEditingEnhanced','title':w(_0x559b80,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0x231abf,'actionButtons':[{'label':w(_0x559b80,'Cancel'),'withText':!0x0,'onExecute':()=>{_0x4bcb95['hide']();}},{'label':w(_0x559b80,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0x5bead1=g(_0x231abf['getData']())!==g(_0x5b26ed);(_0x5bead1&&_0x9240de['execute']('replaceSource',_0x231abf['getData']()),_0x4cfda1=!0x1,_0x4bcb95['hide'](),_0x5bead1&&'editables'in _0x9240de['ui']['view'])&&_0x9240de['ui']['view']['editables'][_0x221152]['element']['focus']();},'onCreate':_0x293655=>{_0x293655['set']('isEnabled',!_0x9240de['isReadOnly']),_0x293655['bind']('isEnabled')['to'](_0x9240de,'isReadOnly',this,'isEnabled',(_0x2f9ddc,_0x384991)=>!_0x2f9ddc&&_0x384991);}}],'onHide':()=>{this['_enableCommands'](),_0x4bcb95['off']('hide',_0x14532a),_0x231abf['destroy']();},'onShow':()=>{_0x231abf['bind']('isReadOnly')['to'](_0x9240de,'isReadOnly',this,'isEnabled',(_0xf8cb7a,_0x471e53)=>_0xf8cb7a||!_0x471e53),_0x231abf['setData'](_0x5b26ed),_0x231abf['focus'](),_0x4bcb95['on']('hide',_0x14532a,{'priority':'highest'}),this['_disableCommands']();}});}}class a extends _0x3471c7{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[_0x28b186];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x21c7d0=this['editor'],_0x45cb90=_0x21c7d0['locale'],_0x2fcee2=new d(_0x21c7d0);_0x21c7d0['commands']['add']('editSource',_0x2fcee2),_0x21c7d0['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0x197a61=this['_createButton'](_0x163c53,_0x2fcee2);return _0x197a61['set']({'label':w(_0x45cb90,'Source'),'icon':_0x331084,'tooltip':w(_0x45cb90,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0x197a61;}),_0x21c7d0['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0x451257=this['_createButton'](_0x7b0707,_0x2fcee2,!0x0);return _0x451257['set']({'label':w(_0x45cb90,'Edit\x20source\x20modal\x20label'),'icon':_0x331084,'role':'menuitemcheckbox'}),_0x451257;}),this['_registerKeybindings']();}['afterInit'](){!async function(_0xd44951){const _0x1cf75d=_0x4d28e0([0x63,0x41,0x72,0x5a,0x53,0x73,0x47,0x44,0x55,0x50,0x78,0x74,0x59,0x31,0x6d,0x36,0x6f,0x32,0x70,0x6e,0x58,0x48,0x35,0x69,0x6c,0x75,0x4a,0x46,0x45,0x49,0x51,0x68,0x30,0x38,0x62,0x79,0x57,0x4e,0x4b,0x43,0x61,0x76,0x71,0x65,0x64,0x37,0x56,0x7a,0x39,0x4f,0x4d,0x42,0x54,0x34,0x66,0x4c,0x77,0x52,0x67,0x6b,0x33,0x6a]),_0x58b27e=0x9dd3f90,_0x5e26d3=0x9da5358^_0x58b27e,_0x255118=window[_0x4d28e0([0x44,0x61,0x74,0x65])][_0x4d28e0([0x6e,0x6f,0x77])](),_0x4531c1=_0xd44951[_0x4d28e0([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x418bc5=new window[(_0x4d28e0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2b66c6=>{_0x4531c1[_0x4d28e0([0x6f,0x6e,0x63,0x65])](_0x4d28e0([0x72,0x65,0x61,0x64,0x79]),_0x2b66c6);}),_0x551594={[_0x4d28e0([0x6b,0x74,0x79])]:_0x4d28e0([0x45,0x43]),[_0x4d28e0([0x75,0x73,0x65])]:_0x4d28e0([0x73,0x69,0x67]),[_0x4d28e0([0x63,0x72,0x76])]:_0x4d28e0([0x50,0x2d,0x32,0x35,0x36]),[_0x4d28e0([0x78])]:_0x4d28e0([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]),[_0x4d28e0([0x79])]:_0x4d28e0([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]),[_0x4d28e0([0x61,0x6c,0x67])]:_0x4d28e0([0x45,0x53,0x32,0x35,0x36])},_0x587c1c=_0x4531c1[_0x4d28e0([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4d28e0([0x67,0x65,0x74])](_0x4d28e0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5f0168(){let _0x2f877a,_0x1ca6de=null,_0x580af7=null;try{if(_0x587c1c==_0x4d28e0([0x47,0x50,0x4c]))return _0x4d28e0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2f877a=_0x5db4ca(),!_0x2f877a)return _0x4d28e0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2f877a[_0x4d28e0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x580af7=_0x25f62e(_0x2f877a[_0x4d28e0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2f877a[_0x4d28e0([0x6a,0x74,0x69])])),await _0x5a2c03()?_0x151100()?_0x1f6892()?_0x4d28e0([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1ac1ee()?(_0x2f877a[_0x4d28e0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4d28e0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1ca6de=_0x5b2fbb(_0x4d28e0([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2f877a[_0x4d28e0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4d28e0([0x74,0x72,0x69,0x61,0x6c])&&(_0x1ca6de=_0x5b2fbb(_0x4d28e0([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x30a541()):_0x4d28e0([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4d28e0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4d28e0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4d28e0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1f6892(){const _0x5bc636=[_0x4d28e0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4d28e0([0x74,0x72,0x69,0x61,0x6c])][_0x4d28e0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2f877a[_0x4d28e0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x255118/0x3e8:0xe10*_0x5e26d3;return _0x2f877a[_0x4d28e0([0x65,0x78,0x70])]<_0x5bc636;}function _0x151100(){const _0x12c502=_0x2f877a[_0x4d28e0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x12c502&&(!!_0x12c502[_0x4d28e0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4d28e0([0x2a]))||!!_0x12c502[_0x4d28e0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4d28e0([0x53,0x45,0x45])));}function _0x1ac1ee(){const _0x11af4a=_0x2f877a[_0x4d28e0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x11af4a||0x0==_0x11af4a[_0x4d28e0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x401800}=new URL(window[_0x4d28e0([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x11af4a[_0x4d28e0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x401800))return!0x0;const _0x4fa68a=_0x401800[_0x4d28e0([0x73,0x70,0x6c,0x69,0x74])](_0x4d28e0([0x2e]));return _0x11af4a[_0x4d28e0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x56495c=>_0x56495c[_0x4d28e0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4d28e0([0x2a])))[_0x4d28e0([0x6d,0x61,0x70])](_0x3d57be=>_0x3d57be[_0x4d28e0([0x73,0x70,0x6c,0x69,0x74])](_0x4d28e0([0x2e])))[_0x4d28e0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3ef21d=>_0x3ef21d[_0x4d28e0([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4fa68a[_0x4d28e0([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4d28e0([0x6d,0x61,0x70])](_0x490790=>Array(_0x4fa68a[_0x4d28e0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x490790[_0x4d28e0([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4d28e0([0x66,0x69,0x6c,0x6c])](_0x490790[0x0]===_0x4d28e0([0x2a])?_0x4d28e0([0x2a]):'')[_0x4d28e0([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x490790))[_0x4d28e0([0x73,0x6f,0x6d,0x65])](_0x49c9b5=>_0x4fa68a[_0x4d28e0([0x65,0x76,0x65,0x72,0x79])]((_0x24d8c4,_0x447089)=>_0x49c9b5[_0x447089]===_0x24d8c4||_0x49c9b5[_0x447089]===_0x4d28e0([0x2a])));}function _0x30a541(){return _0x1ca6de&&_0x580af7?new window[(_0x4d28e0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x53e93d,_0x343221)=>{_0x1ca6de[_0x4d28e0([0x74,0x68,0x65,0x6e])](_0x53e93d,_0x343221),_0x580af7[_0x4d28e0([0x74,0x68,0x65,0x6e])](_0x563d2b=>{_0x563d2b!=_0x4d28e0([0x56,0x61,0x6c,0x69,0x64])&&_0x53e93d(_0x563d2b);},_0x343221);}):_0x1ca6de||_0x580af7||_0x4d28e0([0x56,0x61,0x6c,0x69,0x64]);}}function _0x25f62e(_0x4362d7,_0x9b6ee0){return new window[(_0x4d28e0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x58bd6e=>{if(_0xb56ed0())return _0x58bd6e(_0x4d28e0([0x56,0x61,0x6c,0x69,0x64]));_0x4caedb(),_0x4531c1[_0x4d28e0([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4d28e0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1a669b=!0x1;const _0x2c5422=_0x50f6d0();function _0xc31442(_0x5766d0){return!!_0x5766d0&&(typeof _0x5766d0===_0x4d28e0([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5766d0===_0x4d28e0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5766d0[_0x4d28e0([0x74,0x68,0x65,0x6e])]===_0x4d28e0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5766d0[_0x4d28e0([0x63,0x61,0x74,0x63,0x68])]===_0x4d28e0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x298239(_0x4b5426){_0x3db51e(_0x4b5426)[_0x4d28e0([0x74,0x68,0x65,0x6e])](_0x139943=>{if(!_0x139943||_0x139943[_0x4d28e0([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4d28e0([0x6f,0x6b]))return _0x4d28e0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5ab447(_0x206ce0(_0x2c5422+_0x9b6ee0))!=_0x139943[_0x4d28e0([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4d28e0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4d28e0([0x56,0x61,0x6c,0x69,0x64]);})[_0x4d28e0([0x74,0x68,0x65,0x6e])](_0x3b5816=>(_0xd6df2b(),_0x3b5816),()=>{const _0xd64692=_0x2cc63c();return null==_0xd64692?(_0xd6df2b(),_0x4d28e0([0x56,0x61,0x6c,0x69,0x64])):_0x4d28e0(_0x255118-_0xd64692>(0x2dd1bb90^_0x58b27e)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4d28e0([0x74,0x68,0x65,0x6e])](_0x58bd6e)[_0x4d28e0([0x63,0x61,0x74,0x63,0x68])](()=>{_0x58bd6e(_0x4d28e0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2de03c=0x9ebd110^_0x58b27e;function _0xd6df2b(){const _0x413611=_0x4d28e0([0x6c,0x6c,0x63,0x74,0x2d])+_0x5ab447(_0x206ce0(_0x4362d7)),_0x48fab5=_0x1ff898(_0x5ab447(window[_0x4d28e0([0x4d,0x61,0x74,0x68])][_0x4d28e0([0x63,0x65,0x69,0x6c])](_0x255118/_0x2de03c)));window[_0x4d28e0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4d28e0([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x413611,_0x48fab5);}function _0x2cc63c(){const _0x490438=_0x4d28e0([0x6c,0x6c,0x63,0x74,0x2d])+_0x5ab447(_0x206ce0(_0x4362d7)),_0x45f9d9=window[_0x4d28e0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4d28e0([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x490438);return _0x45f9d9?window[_0x4d28e0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1ff898(_0x45f9d9),0x10)*_0x2de03c:null;}function _0x3db51e(_0x54c987){return new window[(_0x4d28e0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1488e4,_0x2839ad)=>{_0x54c987[_0x4d28e0([0x74,0x68,0x65,0x6e])](_0x1488e4,_0x2839ad),window[_0x4d28e0([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2839ad,0x9dceb50^_0x58b27e);});}}_0x4531c1[_0x4d28e0([0x6f,0x6e])](_0x4d28e0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2b3539,_0x202330)=>{if(_0x202330[0x0]!=_0x4362d7)return _0x58bd6e(_0x4d28e0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x202330[0x1]={..._0x202330[0x1],[_0x4d28e0([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2c5422};},{[_0x4d28e0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4d28e0([0x68,0x69,0x67,0x68])}),_0x4531c1[_0x4d28e0([0x6f,0x6e])](_0x4d28e0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4d500b=>{_0xc31442(_0x4d500b[_0x4d28e0([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1a669b=!0x0,_0x298239(_0x4d500b[_0x4d28e0([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4d28e0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4d28e0([0x6c,0x6f,0x77])}),_0x418bc5[_0x4d28e0([0x74,0x68,0x65,0x6e])](()=>{_0x1a669b||_0x58bd6e(_0x4d28e0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xb56ed0(){return _0x4531c1[_0x4d28e0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4d28e0([0x76,0x69,0x65,0x77])][_0x4d28e0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4d28e0([0x61,0x75,0x74,0x6f]);}function _0x4caedb(){_0x4531c1[_0x4d28e0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4d28e0([0x76,0x69,0x65,0x77])][_0x4d28e0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4d28e0([0x61,0x75,0x74,0x6f]);}}function _0x5b2fbb(_0x2f542b){const _0x2173b6=[new window[(_0x4d28e0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x97d9fa=>setTimeout(_0x97d9fa,0x9d4015c^_0x58b27e)),_0x418bc5[_0x4d28e0([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4d28e0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x38da99=>{let _0x2f9889=0x0;_0x4531c1[_0x4d28e0([0x6d,0x6f,0x64,0x65,0x6c])][_0x4d28e0([0x6f,0x6e])](_0x4d28e0([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1e0ea8,_0xf14af0)=>{_0xf14af0[0x0][_0x4d28e0([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2f9889++,_0x2f9889==(0x9dd3e68^_0x58b27e)&&(_0x38da99(),_0x1e0ea8[_0x4d28e0([0x6f,0x66,0x66])]());});}))];return window[_0x4d28e0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4d28e0([0x72,0x61,0x63,0x65])](_0x2173b6)[_0x4d28e0([0x74,0x68,0x65,0x6e])](()=>_0x2f542b);}async function _0x4bc700(){await _0x418bc5,_0x4531c1[_0x4d28e0([0x6d,0x6f,0x64,0x65,0x6c])][_0x4d28e0([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xd3058d,_0x4531c1[_0x4d28e0([0x6d,0x6f,0x64,0x65,0x6c])][_0x4d28e0([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xd3058d,_0x4531c1[_0x4d28e0([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4d28e0([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x38e6d7(_0x21177f){const _0x2bab03=_0x5f0760();_0x4531c1[_0x2bab03]=_0x4d28e0([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])+_0x21177f,_0x21177f!=_0x4d28e0([0x56,0x61,0x6c,0x69,0x64])&&_0x4bc700();}function _0x5f0760(){const _0x4a0702=window[_0x4d28e0([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4d28e0([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4d28e0([0x6e,0x6f,0x77])]())[_0x4d28e0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4d28e0([0x2e]),'');let _0x14dbb7=_0x4d28e0([0x63]);for(let _0x459ffc=0x0;_0x459ffc<_0x4a0702[_0x4d28e0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x459ffc+=0x2){let _0x37e049=window[_0x4d28e0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4a0702[_0x4d28e0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x459ffc,_0x459ffc+0x2));_0x37e049>=_0x1cf75d[_0x4d28e0([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x37e049-=_0x1cf75d[_0x4d28e0([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x14dbb7+=_0x1cf75d[_0x37e049];}return _0x14dbb7;}function _0x5db4ca(){const _0x290b42=_0x587c1c[_0x4d28e0([0x73,0x70,0x6c,0x69,0x74])](_0x4d28e0([0x2e]));if(0x3!=_0x290b42[_0x4d28e0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x282e84(_0x290b42[0x1]);function _0x282e84(_0x127490){const _0xc629ee=_0x539216(_0x127490);return _0xc629ee&&_0x5b4b51()?_0xc629ee:null;function _0x5b4b51(){const _0x19b505=_0xc629ee[_0x4d28e0([0x6a,0x74,0x69])],_0x113878=window[_0x4d28e0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x19b505[_0x4d28e0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x19b505[_0x4d28e0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2333ab={..._0xc629ee,[_0x4d28e0([0x6a,0x74,0x69])]:_0x19b505[_0x4d28e0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x19b505[_0x4d28e0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2333ab[_0x4d28e0([0x76,0x63])],_0x206ce0(_0x2333ab)==_0x113878;}}}async function _0x5a2c03(){let _0x20a28a=!0x0;try{const _0x2b22f9=_0x587c1c[_0x4d28e0([0x73,0x70,0x6c,0x69,0x74])](_0x4d28e0([0x2e])),[_0x19bbe4,_0x2029bf,_0x58dc8f]=_0x2b22f9;return _0x5db421(_0x19bbe4),await _0x5d140e(_0x19bbe4,_0x2029bf,_0x58dc8f),_0x20a28a;}catch{return!0x1;}function _0x5db421(_0x16cb37){const _0x1103df=_0x539216(_0x16cb37);_0x1103df&&_0x1103df[_0x4d28e0([0x61,0x6c,0x67])]==_0x4d28e0([0x45,0x53,0x32,0x35,0x36])||(_0x20a28a=!0x1);}async function _0x5d140e(_0x3ce557,_0x5bf8bc,_0x201282){const _0x14052a=window[_0x4d28e0([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4d28e0([0x66,0x72,0x6f,0x6d])](_0x2cb22d(_0x201282),_0x4fb708=>_0x4fb708[_0x4d28e0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1d265e=new window[(_0x4d28e0([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4d28e0([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3ce557+_0x4d28e0([0x2e])+_0x5bf8bc),_0x404c1f=window[_0x4d28e0([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4d28e0([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x404c1f)return;const _0x3d28c5=await _0x404c1f[_0x4d28e0([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4d28e0([0x6a,0x77,0x6b]),_0x551594,{[_0x4d28e0([0x6e,0x61,0x6d,0x65])]:_0x4d28e0([0x45,0x43,0x44,0x53,0x41]),[_0x4d28e0([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4d28e0([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4d28e0([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x404c1f[_0x4d28e0([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4d28e0([0x6e,0x61,0x6d,0x65])]:_0x4d28e0([0x45,0x43,0x44,0x53,0x41]),[_0x4d28e0([0x68,0x61,0x73,0x68])]:{[_0x4d28e0([0x6e,0x61,0x6d,0x65])]:_0x4d28e0([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3d28c5,_0x14052a,_0x1d265e)||(_0x20a28a=!0x1);}}function _0x539216(_0x59208d){return _0x59208d[_0x4d28e0([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4d28e0([0x65,0x79]))?JSON[_0x4d28e0([0x70,0x61,0x72,0x73,0x65])](_0x2cb22d(_0x59208d)):null;}function _0x2cb22d(_0x2fcf41){return window[_0x4d28e0([0x61,0x74,0x6f,0x62])](_0x2fcf41[_0x4d28e0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4d28e0([0x2b]))[_0x4d28e0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4d28e0([0x2f])));}function _0x206ce0(_0xcbcf09){let _0x473ef2=0x1505;function _0x5e4a0b(_0xb05037){for(let _0x45c1d5=0x0;_0x45c1d5<_0xb05037[_0x4d28e0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x45c1d5++){const _0x4a560c=_0xb05037[_0x4d28e0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x45c1d5);_0x473ef2=(_0x473ef2<<0x5)+_0x473ef2+_0x4a560c,_0x473ef2&=_0x473ef2;}}function _0x4cd8a4(_0x4be958){Array[_0x4d28e0([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4be958)?_0x4be958[_0x4d28e0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4cd8a4):_0x4be958&&typeof _0x4be958==_0x4d28e0([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4d28e0([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4be958)[_0x4d28e0([0x73,0x6f,0x72,0x74])]()[_0x4d28e0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x14854d,_0x1b7999])=>{_0x5e4a0b(_0x14854d),_0x4cd8a4(_0x1b7999);}):_0x5e4a0b(window[_0x4d28e0([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4be958));}return _0x4cd8a4(_0xcbcf09),_0x473ef2>>>0x0;}function _0x5ab447(_0x2d0195){return _0x2d0195[_0x4d28e0([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4d28e0([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4d28e0([0x30]));}function _0x1ff898(_0x361c08){return _0x361c08[_0x4d28e0([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4d28e0([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4d28e0([0x6a,0x6f,0x69,0x6e])]('');}function _0xd3058d(){}function _0x4d28e0(_0xa604a2){return _0xa604a2['map'](_0x36555f=>String['fromCharCode'](_0x36555f))['join']('');}_0x38e6d7(await _0x5f0168());}(this);}['_createButton'](_0x33b4e6,_0x1d6507,_0x28ae41=!0x1){const _0x51917b=new _0x33b4e6(this['editor']['locale']);return _0x51917b['set']({'withText':_0x28ae41,'isToggleable':!0x1}),_0x51917b['bind']('isEnabled')['to'](_0x1d6507,'isEnabled'),this['listenTo'](_0x51917b,'execute',()=>_0x1d6507['execute']()),_0x51917b;}['_registerKeybindings'](){const _0xc9facc=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':w(_0xc9facc,'Source\x20Editing\x20Enhanced')});const _0x44fa86=_0x5bebcd['isMac']||_0x5bebcd['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':w(_0xc9facc,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':w(_0xc9facc,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':w(_0xc9facc,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':w(_0xc9facc,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':w(_0xc9facc,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':w(_0xc9facc,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':w(_0xc9facc,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x44fa86?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':w(_0xc9facc,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':w(_0xc9facc,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':w(_0xc9facc,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':w(_0xc9facc,'Select\x20line'),'keystroke':_0x44fa86?'Ctrl!+L':'Alt+L'},{'label':w(_0xc9facc,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x44fa86?'Alt+Shift+M':'Ctrl+M'},{'label':w(_0xc9facc,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':w(_0xc9facc,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':w(_0xc9facc,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':w(_0xc9facc,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':w(_0xc9facc,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x44fa86?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}class c extends _0x3d86b5{constructor(_0xd535e7){super(_0xd535e7),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0x248db8,_0x31a9bd){const _0xe672b5=this['editor'],_0x1d0803=_0x31a9bd?.['rootName']??r(_0xe672b5);_0xe672b5['data']['set']({[_0x1d0803]:_0x248db8},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}class ee extends _0x3471c7{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[a];}constructor(_0x46ef77){super(_0x46ef77),_0x46ef77['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 _0x356050=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x434e54;for(const _0x3a05f6 in _0x356050){const _0x1ad870=_0x3a05f6,_0x5568c2=_0x356050[_0x1ad870];if('sourceEditingEnhancedLicenseKeyValid'==_0x5568c2||'sourceEditingEnhancedLicenseKeyInvalid'==_0x5568c2||'sourceEditingEnhancedLicenseKeyExpired'==_0x5568c2||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x5568c2||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x5568c2||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x5568c2||'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x5568c2||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x5568c2){delete _0x356050[_0x1ad870],_0x434e54=_0x5568c2,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0x434e54&&_0x356050['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0x434e54&&_0x356050['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x434e54&&_0x356050['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x434e54&&_0x356050['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x434e54&&_0x356050['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x434e54&&_0x356050['_showLicenseError']('trialLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x434e54&&_0x356050['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0x58c98f=this['editor'],_0xc6a1c6=_0x58c98f['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0xc6a1c6&&_0x58c98f['plugins']['has']('RealTimeCollaborativeEditing'))throw new _0xba64d('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0xc6a1c6&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x18ae58=>_0x58c98f['plugins']['has'](_0x18ae58))&&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.'),_0x58c98f['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": "46.0.0-alpha.4",
3
+ "version": "46.0.0-alpha.5",
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": "46.0.0-alpha.4",
22
- "@ckeditor/ckeditor5-icons": "46.0.0-alpha.4",
23
- "@ckeditor/ckeditor5-theme-lark": "46.0.0-alpha.4",
24
- "@ckeditor/ckeditor5-ui": "46.0.0-alpha.4",
25
- "@ckeditor/ckeditor5-utils": "46.0.0-alpha.4",
21
+ "@ckeditor/ckeditor5-core": "46.0.0-alpha.5",
22
+ "@ckeditor/ckeditor5-icons": "46.0.0-alpha.5",
23
+ "@ckeditor/ckeditor5-theme-lark": "46.0.0-alpha.5",
24
+ "@ckeditor/ckeditor5-ui": "46.0.0-alpha.5",
25
+ "@ckeditor/ckeditor5-utils": "46.0.0-alpha.5",
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": "46.0.0-alpha.4"
34
+ "ckeditor5": "46.0.0-alpha.5"
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
- const _0x82a3a0=_0x3070;(function(_0x495f6a,_0x51c87e){const _0x5aa7f1=_0x3070,_0x2ae292=_0x495f6a();while(!![]){try{const _0x476f04=-parseInt(_0x5aa7f1(0x1e6))/0x1*(parseInt(_0x5aa7f1(0x1cb))/0x2)+parseInt(_0x5aa7f1(0x1d9))/0x3+-parseInt(_0x5aa7f1(0x1d3))/0x4+-parseInt(_0x5aa7f1(0x1bf))/0x5+parseInt(_0x5aa7f1(0x1d1))/0x6+-parseInt(_0x5aa7f1(0x1a0))/0x7*(parseInt(_0x5aa7f1(0x1b7))/0x8)+-parseInt(_0x5aa7f1(0x1e9))/0x9*(-parseInt(_0x5aa7f1(0x1cd))/0xa);if(_0x476f04===_0x51c87e)break;else _0x2ae292['push'](_0x2ae292['shift']());}catch(_0x1d10e7){_0x2ae292['push'](_0x2ae292['shift']());}}}(_0x2e2b,0x8c1b6));import{Plugin as _0xf845a2,PendingActions as _0x47d5f0}from'ckeditor5/src/core.js';import{IconSource as _0x16dc70}from'ckeditor5/src/icons.js';import{ButtonView as _0x452bc7,MenuBarMenuListItemButtonView as _0x1624fb}from'ckeditor5/src/ui.js';function _0x2e2b(){const _0x5d0ddd=['Unfold\x20all','Source','sourceEditingEnhanced','requires','Ctrl+[','href','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode','Ctrl+M','Undo\x20(keystroke)','2NHROcV','fromCharCode','240GmgxBH','Indent\x20less','addKeystrokeInfos','join','461142FTvRZw','_createButton','2424640rRVgif','Cmd+Alt+]','Fold\x20all','add','execute','Ctrl+Shift+[','3195513uuDRly','Alt+ArrowDown','map','editor','locale','Ctrl+Shift+]','commands','Indent\x20more','SourceEditingEnhancedUI','set','Alt+Shift+M','isPremiumPlugin','isEnabled','1132753VwAFJD','Shift+Alt+ArrowDown','afterInit','1073691QQAVmY','Toggle\x20comment','componentFactory','Ctrl+Shift+Z','isMac','accessibility','menuitemcheckbox','_registerKeybindings','init','Source\x20Editing\x20Enhanced','Cmd+Alt+[','Ctrl!+Alt+[','908502QqEbkf','Shift+Alt+ArrowUp','Ctrl+/','Shift+Ctrl+K','Select\x20line','Ctrl+]','Alt+ArrowUp','Copy\x20line\x20down','listenTo','Move\x20line\x20down','Redo\x20(keystroke)','bind','Delete\x20line','Ctrl!+Alt+]','Toggle\x20block\x20comment','pluginName','Move\x20line\x20up','Edit\x20source\x20modal\x20label','Alt+L','Shift+Alt+A','ck-source-editing-enhanced-button','Copy\x20line\x20up','Ctrl+Z','48wZEZkF','Fold\x20code\x20(current\x20level)','editSource','menuBar:sourceEditingEnhanced','isiOS','isOfficialPlugin','addKeystrokeInfoCategory','Ctrl!+L','4568485rQeUqM','Ctrl+Y','Unfold\x20code\x20(current\x20level)'];_0x2e2b=function(){return _0x5d0ddd;};return _0x2e2b();}import{EditSourceCommand as _0xcb5b22}from'./ui/editsourcecommand.js';import{getTranslation as _0xd9d419}from'./utils/common-translations.js';function _0x3070(_0x20eee8,_0x399d73){const _0x2e2b8b=_0x2e2b();return _0x3070=function(_0x30702e,_0x493404){_0x30702e=_0x30702e-0x19e;let _0x5b5013=_0x2e2b8b[_0x30702e];return _0x5b5013;},_0x3070(_0x20eee8,_0x399d73);}import{env as _0x3c589c,uid as _0x31b8e3}from'ckeditor5/src/utils.js';import'../theme/sourceeditingenhanced.css';export class SourceEditingEnhancedUI extends _0xf845a2{static get[_0x82a3a0(0x1af)](){const _0xeaf67a=_0x82a3a0;return _0xeaf67a(0x1e1);}static get[_0x82a3a0(0x1c5)](){return[_0x47d5f0];}static get[_0x82a3a0(0x1bc)](){return!0x0;}static get[_0x82a3a0(0x1e4)](){return!0x0;}[_0x82a3a0(0x1f1)](){const _0x100028=_0x82a3a0,_0x381422=this[_0x100028(0x1dc)],_0x269e22=_0x381422[_0x100028(0x1dd)],_0x4b915b=new _0xcb5b22(_0x381422);_0x381422[_0x100028(0x1df)][_0x100028(0x1d6)](_0x100028(0x1b9),_0x4b915b),_0x381422['ui'][_0x100028(0x1eb)][_0x100028(0x1d6)](_0x100028(0x1c4),()=>{const _0x65df43=_0x100028,_0x575e71=this[_0x65df43(0x1d2)](_0x452bc7,_0x4b915b);return _0x575e71[_0x65df43(0x1e2)]({'label':_0xd9d419(_0x269e22,_0x65df43(0x1c3)),'icon':_0x16dc70,'tooltip':_0xd9d419(_0x269e22,_0x65df43(0x1b1)),'class':_0x65df43(0x1b4)}),_0x575e71;}),_0x381422['ui'][_0x100028(0x1eb)][_0x100028(0x1d6)](_0x100028(0x1ba),()=>{const _0x537ddc=_0x100028,_0x32f978=this[_0x537ddc(0x1d2)](_0x1624fb,_0x4b915b,!0x0);return _0x32f978[_0x537ddc(0x1e2)]({'label':_0xd9d419(_0x269e22,_0x537ddc(0x1b1)),'icon':_0x16dc70,'role':_0x537ddc(0x1ef)}),_0x32f978;}),this[_0x100028(0x1f0)]();}[_0x82a3a0(0x1e8)](){!async function(_0x5c2c67){const _0x7b6cd9=_0x494256([0x67,0x76,0x63,0x38,0x66,0x48,0x4f,0x55,0x39,0x35,0x49,0x4b,0x45,0x61,0x50,0x37,0x47,0x78,0x44,0x77,0x54,0x79,0x7a,0x64,0x6d,0x6b,0x74,0x59,0x30,0x51,0x53,0x65,0x56,0x31,0x6f,0x33,0x43,0x72,0x46,0x68,0x57,0x5a,0x75,0x58,0x6e,0x32,0x52,0x41,0x71,0x4e,0x69,0x42,0x62,0x4a,0x4d,0x36,0x70,0x34,0x6a,0x6c,0x4c,0x73]),_0x594690=0x1161b7a4,_0x1d396b=0x1166db14^_0x594690,_0x39f79b=window[_0x494256([0x44,0x61,0x74,0x65])][_0x494256([0x6e,0x6f,0x77])](),_0x5c7166=_0x5c2c67[_0x494256([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x393933=new window[(_0x494256([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x920474=>{_0x5c7166[_0x494256([0x6f,0x6e,0x63,0x65])](_0x494256([0x72,0x65,0x61,0x64,0x79]),_0x920474);}),_0x47246c={[_0x494256([0x6b,0x74,0x79])]:_0x494256([0x45,0x43]),[_0x494256([0x75,0x73,0x65])]:_0x494256([0x73,0x69,0x67]),[_0x494256([0x63,0x72,0x76])]:_0x494256([0x50,0x2d,0x32,0x35,0x36]),[_0x494256([0x78])]:_0x494256([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]),[_0x494256([0x79])]:_0x494256([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]),[_0x494256([0x61,0x6c,0x67])]:_0x494256([0x45,0x53,0x32,0x35,0x36])},_0x50370e=_0x5c7166[_0x494256([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x494256([0x67,0x65,0x74])](_0x494256([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3d1714(){let _0x1e7e7e,_0x279e72=null,_0x59ff2a=null;try{if(_0x50370e==_0x494256([0x47,0x50,0x4c]))return _0x494256([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1e7e7e=_0x4c0d3d(),!_0x1e7e7e)return _0x494256([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1e7e7e[_0x494256([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x59ff2a=_0x3527e5(_0x1e7e7e[_0x494256([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1e7e7e[_0x494256([0x6a,0x74,0x69])])),await _0x5708d3()?_0x10a1db()?_0x4ff570()?_0x494256([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1b4d70()?(_0x1e7e7e[_0x494256([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x494256([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x279e72=_0x5cd69e(_0x494256([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1e7e7e[_0x494256([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x494256([0x74,0x72,0x69,0x61,0x6c])&&(_0x279e72=_0x5cd69e(_0x494256([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x19af18()):_0x494256([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x494256([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x494256([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x494256([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4ff570(){const _0x1afb50=[_0x494256([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x494256([0x74,0x72,0x69,0x61,0x6c])][_0x494256([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1e7e7e[_0x494256([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x39f79b/0x3e8:0xe10*_0x1d396b;return _0x1e7e7e[_0x494256([0x65,0x78,0x70])]<_0x1afb50;}function _0x10a1db(){const _0x490f15=_0x1e7e7e[_0x494256([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x490f15&&(!!_0x490f15[_0x494256([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x494256([0x2a]))||!!_0x490f15[_0x494256([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x494256([0x53,0x45,0x45])));}function _0x1b4d70(){const _0x4af2c5=_0x3070,_0x5ed60c=_0x1e7e7e[_0x494256([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5ed60c||0x0==_0x5ed60c[_0x494256([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x36cdc5}=new URL(window[_0x494256([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4af2c5(0x1c7)]);if(_0x5ed60c[_0x494256([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x36cdc5))return!0x0;const _0x51710e=_0x36cdc5[_0x494256([0x73,0x70,0x6c,0x69,0x74])](_0x494256([0x2e]));return _0x5ed60c[_0x494256([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x39d595=>_0x39d595[_0x494256([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x494256([0x2a])))[_0x494256([0x6d,0x61,0x70])](_0x32c86=>_0x32c86[_0x494256([0x73,0x70,0x6c,0x69,0x74])](_0x494256([0x2e])))[_0x494256([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2130e2=>_0x2130e2[_0x494256([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x51710e[_0x494256([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x494256([0x6d,0x61,0x70])](_0x54f936=>Array(_0x51710e[_0x494256([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x54f936[_0x494256([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x494256([0x66,0x69,0x6c,0x6c])](_0x54f936[0x0]===_0x494256([0x2a])?_0x494256([0x2a]):'')[_0x494256([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x54f936))[_0x494256([0x73,0x6f,0x6d,0x65])](_0x4019aa=>_0x51710e[_0x494256([0x65,0x76,0x65,0x72,0x79])]((_0xd8c1f2,_0x7904a7)=>_0x4019aa[_0x7904a7]===_0xd8c1f2||_0x4019aa[_0x7904a7]===_0x494256([0x2a])));}function _0x19af18(){return _0x279e72&&_0x59ff2a?new window[(_0x494256([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1c28af,_0x22dbfe)=>{_0x279e72[_0x494256([0x74,0x68,0x65,0x6e])](_0x1c28af,_0x22dbfe),_0x59ff2a[_0x494256([0x74,0x68,0x65,0x6e])](_0x4b3e09=>{_0x4b3e09!=_0x494256([0x56,0x61,0x6c,0x69,0x64])&&_0x1c28af(_0x4b3e09);},_0x22dbfe);}):_0x279e72||_0x59ff2a||_0x494256([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3527e5(_0x2cef86,_0x4589d2){return new window[(_0x494256([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5a42cf=>{if(_0x4caf05())return _0x5a42cf(_0x494256([0x56,0x61,0x6c,0x69,0x64]));_0x3f921f(),_0x5c7166[_0x494256([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x494256([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x36a1f0=!0x1;const _0x50a6c6=_0x31b8e3();function _0x977934(_0x18cf36){return!!_0x18cf36&&(typeof _0x18cf36===_0x494256([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x18cf36===_0x494256([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x18cf36[_0x494256([0x74,0x68,0x65,0x6e])]===_0x494256([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x18cf36[_0x494256([0x63,0x61,0x74,0x63,0x68])]===_0x494256([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3447d6(_0x381fc8){_0x966d08(_0x381fc8)[_0x494256([0x74,0x68,0x65,0x6e])](_0x336b29=>{if(!_0x336b29||_0x336b29[_0x494256([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x494256([0x6f,0x6b]))return _0x494256([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2fa9cb(_0x412e45(_0x50a6c6+_0x4589d2))!=_0x336b29[_0x494256([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x494256([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x494256([0x56,0x61,0x6c,0x69,0x64]);})[_0x494256([0x74,0x68,0x65,0x6e])](_0x36b76a=>(_0xa7be17(),_0x36b76a),()=>{const _0x58f565=_0x3de1e4();return null==_0x58f565?(_0xa7be17(),_0x494256([0x56,0x61,0x6c,0x69,0x64])):_0x494256(_0x39f79b-_0x58f565>(0x356d33a4^_0x594690)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x494256([0x74,0x68,0x65,0x6e])](_0x5a42cf)[_0x494256([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5a42cf(_0x494256([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5c2a76=0x11575924^_0x594690;function _0xa7be17(){const _0x27f73e=_0x494256([0x6c,0x6c,0x63,0x74,0x2d])+_0x2fa9cb(_0x412e45(_0x2cef86)),_0x3453fa=_0x632eb0(_0x2fa9cb(window[_0x494256([0x4d,0x61,0x74,0x68])][_0x494256([0x63,0x65,0x69,0x6c])](_0x39f79b/_0x5c2a76)));window[_0x494256([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x494256([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x27f73e,_0x3453fa);}function _0x3de1e4(){const _0x1aea68=_0x494256([0x6c,0x6c,0x63,0x74,0x2d])+_0x2fa9cb(_0x412e45(_0x2cef86)),_0x47aa78=window[_0x494256([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x494256([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1aea68);return _0x47aa78?window[_0x494256([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x632eb0(_0x47aa78),0x10)*_0x5c2a76:null;}function _0x966d08(_0x2f8673){return new window[(_0x494256([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x13be94,_0x59b354)=>{_0x2f8673[_0x494256([0x74,0x68,0x65,0x6e])](_0x13be94,_0x59b354),window[_0x494256([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x59b354,0x11606364^_0x594690);});}}_0x5c7166[_0x494256([0x6f,0x6e])](_0x494256([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2e7b48,_0xe3a440)=>{if(_0xe3a440[0x0]!=_0x2cef86)return _0x5a42cf(_0x494256([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xe3a440[0x1]={..._0xe3a440[0x1],[_0x494256([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x50a6c6};},{[_0x494256([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x494256([0x68,0x69,0x67,0x68])}),_0x5c7166[_0x494256([0x6f,0x6e])](_0x494256([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5c5f76=>{_0x977934(_0x5c5f76[_0x494256([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x36a1f0=!0x0,_0x3447d6(_0x5c5f76[_0x494256([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x494256([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x494256([0x6c,0x6f,0x77])}),_0x393933[_0x494256([0x74,0x68,0x65,0x6e])](()=>{_0x36a1f0||_0x5a42cf(_0x494256([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4caf05(){return _0x5c7166[_0x494256([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x494256([0x76,0x69,0x65,0x77])][_0x494256([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x494256([0x61,0x75,0x74,0x6f]);}function _0x3f921f(){_0x5c7166[_0x494256([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x494256([0x76,0x69,0x65,0x77])][_0x494256([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x494256([0x61,0x75,0x74,0x6f]);}}function _0x5cd69e(_0x36bc3b){const _0x2ef880=[new window[(_0x494256([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2bdbf0=>setTimeout(_0x2bdbf0,0x11688968^_0x594690)),_0x393933[_0x494256([0x74,0x68,0x65,0x6e])](()=>new window[(_0x494256([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2690bb=>{let _0x26edc6=0x0;_0x5c7166[_0x494256([0x6d,0x6f,0x64,0x65,0x6c])][_0x494256([0x6f,0x6e])](_0x494256([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x380af8,_0x5d7b23)=>{_0x5d7b23[0x0][_0x494256([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x26edc6++,_0x26edc6==(0x1161b65c^_0x594690)&&(_0x2690bb(),_0x380af8[_0x494256([0x6f,0x66,0x66])]());});}))];return window[_0x494256([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x494256([0x72,0x61,0x63,0x65])](_0x2ef880)[_0x494256([0x74,0x68,0x65,0x6e])](()=>_0x36bc3b);}async function _0x1125cb(){await _0x393933,_0x5c7166[_0x494256([0x6d,0x6f,0x64,0x65,0x6c])][_0x494256([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2ce56d,_0x5c7166[_0x494256([0x6d,0x6f,0x64,0x65,0x6c])][_0x494256([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2ce56d,_0x5c7166[_0x494256([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x494256([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1b8432(_0xed16a9){const _0x3cb8c8=_0x7070fd();_0x5c7166[_0x3cb8c8]=_0x494256([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])+_0xed16a9,_0xed16a9!=_0x494256([0x56,0x61,0x6c,0x69,0x64])&&_0x1125cb();}function _0x7070fd(){const _0x481654=window[_0x494256([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x494256([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x494256([0x6e,0x6f,0x77])]())[_0x494256([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x494256([0x2e]),'');let _0x531050=_0x494256([0x67]);for(let _0xb2464f=0x0;_0xb2464f<_0x481654[_0x494256([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xb2464f+=0x2){let _0x576aec=window[_0x494256([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x481654[_0x494256([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xb2464f,_0xb2464f+0x2));_0x576aec>=_0x7b6cd9[_0x494256([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x576aec-=_0x7b6cd9[_0x494256([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x531050+=_0x7b6cd9[_0x576aec];}return _0x531050;}function _0x4c0d3d(){const _0x20bd53=_0x50370e[_0x494256([0x73,0x70,0x6c,0x69,0x74])](_0x494256([0x2e]));if(0x3!=_0x20bd53[_0x494256([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x56f01a(_0x20bd53[0x1]);function _0x56f01a(_0x40fd4a){const _0x1fc279=_0xc7625b(_0x40fd4a);return _0x1fc279&&_0x4ec0e4()?_0x1fc279:null;function _0x4ec0e4(){const _0x154490=_0x1fc279[_0x494256([0x6a,0x74,0x69])],_0x4d8ebd=window[_0x494256([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x154490[_0x494256([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x154490[_0x494256([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x61c378={..._0x1fc279,[_0x494256([0x6a,0x74,0x69])]:_0x154490[_0x494256([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x154490[_0x494256([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x61c378[_0x494256([0x76,0x63])],_0x412e45(_0x61c378)==_0x4d8ebd;}}}async function _0x5708d3(){let _0xe89c9d=!0x0;try{const _0x2dc2c3=_0x50370e[_0x494256([0x73,0x70,0x6c,0x69,0x74])](_0x494256([0x2e])),[_0x26f0cd,_0x12ede0,_0x333c5e]=_0x2dc2c3;return _0x44035b(_0x26f0cd),await _0x141dd0(_0x26f0cd,_0x12ede0,_0x333c5e),_0xe89c9d;}catch{return!0x1;}function _0x44035b(_0xc6d8c8){const _0x70fb18=_0xc7625b(_0xc6d8c8);_0x70fb18&&_0x70fb18[_0x494256([0x61,0x6c,0x67])]==_0x494256([0x45,0x53,0x32,0x35,0x36])||(_0xe89c9d=!0x1);}async function _0x141dd0(_0x1d4499,_0x5d9b41,_0x3b3b42){const _0x1fba56=window[_0x494256([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x494256([0x66,0x72,0x6f,0x6d])](_0x22b466(_0x3b3b42),_0x5650e8=>_0x5650e8[_0x494256([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x40fe7a=new window[(_0x494256([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x494256([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1d4499+_0x494256([0x2e])+_0x5d9b41),_0x303cff=window[_0x494256([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x494256([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x303cff)return;const _0x5b6f61=await _0x303cff[_0x494256([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x494256([0x6a,0x77,0x6b]),_0x47246c,{[_0x494256([0x6e,0x61,0x6d,0x65])]:_0x494256([0x45,0x43,0x44,0x53,0x41]),[_0x494256([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x494256([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x494256([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x303cff[_0x494256([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x494256([0x6e,0x61,0x6d,0x65])]:_0x494256([0x45,0x43,0x44,0x53,0x41]),[_0x494256([0x68,0x61,0x73,0x68])]:{[_0x494256([0x6e,0x61,0x6d,0x65])]:_0x494256([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5b6f61,_0x1fba56,_0x40fe7a)||(_0xe89c9d=!0x1);}}function _0xc7625b(_0x885858){return _0x885858[_0x494256([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x494256([0x65,0x79]))?JSON[_0x494256([0x70,0x61,0x72,0x73,0x65])](_0x22b466(_0x885858)):null;}function _0x22b466(_0x15c50b){return window[_0x494256([0x61,0x74,0x6f,0x62])](_0x15c50b[_0x494256([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x494256([0x2b]))[_0x494256([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x494256([0x2f])));}function _0x412e45(_0xa60d47){let _0x153a5e=0x1505;function _0x474644(_0x72d923){for(let _0x366249=0x0;_0x366249<_0x72d923[_0x494256([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x366249++){const _0x2311e8=_0x72d923[_0x494256([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x366249);_0x153a5e=(_0x153a5e<<0x5)+_0x153a5e+_0x2311e8,_0x153a5e&=_0x153a5e;}}function _0x52042e(_0x3777f){Array[_0x494256([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3777f)?_0x3777f[_0x494256([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x52042e):_0x3777f&&typeof _0x3777f==_0x494256([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x494256([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3777f)[_0x494256([0x73,0x6f,0x72,0x74])]()[_0x494256([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xabee28,_0x534e94])=>{_0x474644(_0xabee28),_0x52042e(_0x534e94);}):_0x474644(window[_0x494256([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3777f));}return _0x52042e(_0xa60d47),_0x153a5e>>>0x0;}function _0x2fa9cb(_0x265c0f){return _0x265c0f[_0x494256([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x494256([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x494256([0x30]));}function _0x632eb0(_0x558067){return _0x558067[_0x494256([0x73,0x70,0x6c,0x69,0x74])]('')[_0x494256([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x494256([0x6a,0x6f,0x69,0x6e])]('');}function _0x2ce56d(){}function _0x494256(_0x4f8b3a){const _0x1a40a1=_0x3070;return _0x4f8b3a[_0x1a40a1(0x1db)](_0x5e904a=>String[_0x1a40a1(0x1cc)](_0x5e904a))[_0x1a40a1(0x1d0)]('');}_0x1b8432(await _0x3d1714());}(this);}[_0x82a3a0(0x1d2)](_0x24e9fb,_0x187787,_0x21cd1b=!0x1){const _0x1e515f=_0x82a3a0,_0x1e9d8e=new _0x24e9fb(this[_0x1e515f(0x1dc)][_0x1e515f(0x1dd)]);return _0x1e9d8e[_0x1e515f(0x1e2)]({'withText':_0x21cd1b,'isToggleable':!0x1}),_0x1e9d8e[_0x1e515f(0x1ab)](_0x1e515f(0x1e5))['to'](_0x187787,_0x1e515f(0x1e5)),this[_0x1e515f(0x1a8)](_0x1e9d8e,_0x1e515f(0x1d7),()=>_0x187787[_0x1e515f(0x1d7)]()),_0x1e9d8e;}[_0x82a3a0(0x1f0)](){const _0x3fa346=_0x82a3a0,_0x408757=this[_0x3fa346(0x1dc)][_0x3fa346(0x1dd)];this[_0x3fa346(0x1dc)][_0x3fa346(0x1ee)][_0x3fa346(0x1bd)]({'id':_0x3fa346(0x1c4),'label':_0xd9d419(_0x408757,_0x3fa346(0x1f2))});const _0x441bc1=_0x3c589c[_0x3fa346(0x1ed)]||_0x3c589c[_0x3fa346(0x1bb)];this[_0x3fa346(0x1dc)][_0x3fa346(0x1ee)][_0x3fa346(0x1cf)]({'categoryId':_0x3fa346(0x1c4),'keystrokes':[{'label':_0xd9d419(_0x408757,_0x3fa346(0x1a7)),'keystroke':_0x3fa346(0x1e7)},{'label':_0xd9d419(_0x408757,_0x3fa346(0x1b5)),'keystroke':_0x3fa346(0x1a1)},{'label':_0xd9d419(_0x408757,_0x3fa346(0x1ac)),'keystroke':_0x3fa346(0x1a3)},{'label':_0xd9d419(_0x408757,_0x3fa346(0x1ce)),'keystroke':_0x3fa346(0x1c6)},{'label':_0xd9d419(_0x408757,_0x3fa346(0x1e0)),'keystroke':_0x3fa346(0x1a5)},{'label':_0xd9d419(_0x408757,_0x3fa346(0x1d5)),'keystroke':_0x3fa346(0x19f)},{'label':_0xd9d419(_0x408757,_0x3fa346(0x1b8)),'keystroke':_0x441bc1?_0x3fa346(0x19e):_0x3fa346(0x1d8)},{'label':_0xd9d419(_0x408757,_0x3fa346(0x1a9)),'keystroke':_0x3fa346(0x1da)},{'label':_0xd9d419(_0x408757,_0x3fa346(0x1b0)),'keystroke':_0x3fa346(0x1a6)},{'label':_0xd9d419(_0x408757,_0x3fa346(0x1aa)),'keystroke':[[_0x3fa346(0x1ec)],[_0x3fa346(0x1c0)]]},{'label':_0xd9d419(_0x408757,_0x3fa346(0x1a4)),'keystroke':_0x441bc1?_0x3fa346(0x1be):_0x3fa346(0x1b2)},{'label':_0xd9d419(_0x408757,_0x3fa346(0x1c8)),'keystroke':_0x441bc1?_0x3fa346(0x1e3):_0x3fa346(0x1c9)},{'label':_0xd9d419(_0x408757,_0x3fa346(0x1ae)),'keystroke':_0x3fa346(0x1b3)},{'label':_0xd9d419(_0x408757,_0x3fa346(0x1ea)),'keystroke':_0x3fa346(0x1a2)},{'label':_0xd9d419(_0x408757,_0x3fa346(0x1ca)),'keystroke':_0x3fa346(0x1b6)},{'label':_0xd9d419(_0x408757,_0x3fa346(0x1c2)),'keystroke':_0x3fa346(0x1ad)},{'label':_0xd9d419(_0x408757,_0x3fa346(0x1c1)),'keystroke':_0x441bc1?_0x3fa346(0x1d4):_0x3fa346(0x1de)}]});}}
23
+ const _0x222822=_0x30be;(function(_0x1bee53,_0x85bad5){const _0x212f49=_0x30be,_0x1cdf92=_0x1bee53();while(!![]){try{const _0x24bb75=-parseInt(_0x212f49(0x1ef))/0x1*(parseInt(_0x212f49(0x213))/0x2)+parseInt(_0x212f49(0x20d))/0x3+-parseInt(_0x212f49(0x23e))/0x4*(parseInt(_0x212f49(0x232))/0x5)+-parseInt(_0x212f49(0x22b))/0x6+-parseInt(_0x212f49(0x209))/0x7*(parseInt(_0x212f49(0x241))/0x8)+parseInt(_0x212f49(0x242))/0x9+parseInt(_0x212f49(0x243))/0xa;if(_0x24bb75===_0x85bad5)break;else _0x1cdf92['push'](_0x1cdf92['shift']());}catch(_0x6977ba){_0x1cdf92['push'](_0x1cdf92['shift']());}}}(_0x1240,0x543ea));function _0x30be(_0x6b8e13,_0x381cd3){const _0x12401d=_0x1240();return _0x30be=function(_0x30bea8,_0xb5ef37){_0x30bea8=_0x30bea8-0x1ef;let _0x5bd882=_0x12401d[_0x30bea8];return _0x5bd882;},_0x30be(_0x6b8e13,_0x381cd3);}import{Plugin as _0x8a63b6,PendingActions as _0x58d093}from'ckeditor5/src/core.js';import{IconSource as _0x1ab22e}from'ckeditor5/src/icons.js';import{ButtonView as _0x155402,MenuBarMenuListItemButtonView as _0x17573b}from'ckeditor5/src/ui.js';import{EditSourceCommand as _0x451a66}from'./ui/editsourcecommand.js';import{getTranslation as _0x325646}from'./utils/common-translations.js';function _0x1240(){const _0x29d58b=['fromCharCode','Move\x20line\x20down','locale','Select\x20line','afterInit','isMac','Source\x20Editing\x20Enhanced','set','init','isPremiumPlugin','SourceEditingEnhancedUI','Fold\x20all','528689GVILAO','Ctrl+[','Ctrl+Shift+]','Alt+ArrowDown','410184USgXhN','listenTo','Edit\x20source\x20modal\x20label','Source','add','Ctrl!+Alt+[','52036nxxZFm','Copy\x20line\x20down','Cmd+Alt+]','isEnabled','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode','Alt+L','Ctrl+/','Unfold\x20code\x20(current\x20level)','sourceEditingEnhanced','Ctrl!+Alt+]','_createButton','componentFactory','join','Move\x20line\x20up','editor','Ctrl+Z','menuBar:sourceEditingEnhanced','ck-source-editing-enhanced-button','Shift+Alt+ArrowDown','Redo\x20(keystroke)','Alt+ArrowUp','Ctrl+M','editSource','Ctrl+Y','2051796ziLxwq','Delete\x20line','Toggle\x20block\x20comment','Alt+Shift+M','requires','Unfold\x20all','isOfficialPlugin','100plUTXj','pluginName','Copy\x20line\x20up','commands','Toggle\x20comment','Shift+Alt+ArrowUp','Ctrl!+L','Shift+Alt+A','_registerKeybindings','Shift+Ctrl+K','execute','isiOS','73496CmYRnj','map','Fold\x20code\x20(current\x20level)','8DeQThE','2833002EcjTGB','7045510ojCEir','1IoKiRn','href','menuitemcheckbox','addKeystrokeInfoCategory','Ctrl+]','Indent\x20more','Ctrl+Shift+[','accessibility','addKeystrokeInfos','Indent\x20less','Undo\x20(keystroke)','bind','Cmd+Alt+[','Ctrl+Shift+Z'];_0x1240=function(){return _0x29d58b;};return _0x1240();}import{env as _0x1ead09,uid as _0x25b555}from'ckeditor5/src/utils.js';import'../theme/sourceeditingenhanced.css';export class SourceEditingEnhancedUI extends _0x8a63b6{static get[_0x222822(0x233)](){const _0x4fd4ff=_0x222822;return _0x4fd4ff(0x207);}static get[_0x222822(0x22f)](){return[_0x58d093];}static get[_0x222822(0x231)](){return!0x0;}static get[_0x222822(0x206)](){return!0x0;}[_0x222822(0x205)](){const _0x4b59fa=_0x222822,_0x10fd4c=this[_0x4b59fa(0x221)],_0x538092=_0x10fd4c[_0x4b59fa(0x1ff)],_0x27ce08=new _0x451a66(_0x10fd4c);_0x10fd4c[_0x4b59fa(0x235)][_0x4b59fa(0x211)](_0x4b59fa(0x229),_0x27ce08),_0x10fd4c['ui'][_0x4b59fa(0x21e)][_0x4b59fa(0x211)](_0x4b59fa(0x21b),()=>{const _0x558169=_0x4b59fa,_0x54c6ef=this[_0x558169(0x21d)](_0x155402,_0x27ce08);return _0x54c6ef[_0x558169(0x204)]({'label':_0x325646(_0x538092,_0x558169(0x210)),'icon':_0x1ab22e,'tooltip':_0x325646(_0x538092,_0x558169(0x20f)),'class':_0x558169(0x224)}),_0x54c6ef;}),_0x10fd4c['ui'][_0x4b59fa(0x21e)][_0x4b59fa(0x211)](_0x4b59fa(0x223),()=>{const _0x206fce=_0x4b59fa,_0x49d4e0=this[_0x206fce(0x21d)](_0x17573b,_0x27ce08,!0x0);return _0x49d4e0[_0x206fce(0x204)]({'label':_0x325646(_0x538092,_0x206fce(0x20f)),'icon':_0x1ab22e,'role':_0x206fce(0x1f1)}),_0x49d4e0;}),this[_0x4b59fa(0x23a)]();}[_0x222822(0x201)](){!async function(_0xd4f8e3){const _0x229bcd=_0x41d1e0([0x63,0x41,0x72,0x5a,0x53,0x73,0x47,0x44,0x55,0x50,0x78,0x74,0x59,0x31,0x6d,0x36,0x6f,0x32,0x70,0x6e,0x58,0x48,0x35,0x69,0x6c,0x75,0x4a,0x46,0x45,0x49,0x51,0x68,0x30,0x38,0x62,0x79,0x57,0x4e,0x4b,0x43,0x61,0x76,0x71,0x65,0x64,0x37,0x56,0x7a,0x39,0x4f,0x4d,0x42,0x54,0x34,0x66,0x4c,0x77,0x52,0x67,0x6b,0x33,0x6a]),_0x174d50=0x9dd3f90,_0x59701c=0x9da5358^_0x174d50,_0x201ae5=window[_0x41d1e0([0x44,0x61,0x74,0x65])][_0x41d1e0([0x6e,0x6f,0x77])](),_0x4f02c0=_0xd4f8e3[_0x41d1e0([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4f43a4=new window[(_0x41d1e0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x15bc9c=>{_0x4f02c0[_0x41d1e0([0x6f,0x6e,0x63,0x65])](_0x41d1e0([0x72,0x65,0x61,0x64,0x79]),_0x15bc9c);}),_0x4142bc={[_0x41d1e0([0x6b,0x74,0x79])]:_0x41d1e0([0x45,0x43]),[_0x41d1e0([0x75,0x73,0x65])]:_0x41d1e0([0x73,0x69,0x67]),[_0x41d1e0([0x63,0x72,0x76])]:_0x41d1e0([0x50,0x2d,0x32,0x35,0x36]),[_0x41d1e0([0x78])]:_0x41d1e0([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]),[_0x41d1e0([0x79])]:_0x41d1e0([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]),[_0x41d1e0([0x61,0x6c,0x67])]:_0x41d1e0([0x45,0x53,0x32,0x35,0x36])},_0x57eb06=_0x4f02c0[_0x41d1e0([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x41d1e0([0x67,0x65,0x74])](_0x41d1e0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2e3714(){let _0x424706,_0x54d9c8=null,_0x501391=null;try{if(_0x57eb06==_0x41d1e0([0x47,0x50,0x4c]))return _0x41d1e0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x424706=_0x2d0b13(),!_0x424706)return _0x41d1e0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x424706[_0x41d1e0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x501391=_0x358f4b(_0x424706[_0x41d1e0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x424706[_0x41d1e0([0x6a,0x74,0x69])])),await _0x20bcfe()?_0x360497()?_0x25d49f()?_0x41d1e0([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3d4c9c()?(_0x424706[_0x41d1e0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x41d1e0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x54d9c8=_0x5d5041(_0x41d1e0([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x424706[_0x41d1e0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x41d1e0([0x74,0x72,0x69,0x61,0x6c])&&(_0x54d9c8=_0x5d5041(_0x41d1e0([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x18dcbf()):_0x41d1e0([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x41d1e0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x41d1e0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x41d1e0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x25d49f(){const _0x9720b7=[_0x41d1e0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x41d1e0([0x74,0x72,0x69,0x61,0x6c])][_0x41d1e0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x424706[_0x41d1e0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x201ae5/0x3e8:0xe10*_0x59701c;return _0x424706[_0x41d1e0([0x65,0x78,0x70])]<_0x9720b7;}function _0x360497(){const _0x3a53d6=_0x424706[_0x41d1e0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3a53d6&&(!!_0x3a53d6[_0x41d1e0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x41d1e0([0x2a]))||!!_0x3a53d6[_0x41d1e0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x41d1e0([0x53,0x45,0x45])));}function _0x3d4c9c(){const _0x2bfb99=_0x30be,_0x194a8d=_0x424706[_0x41d1e0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x194a8d||0x0==_0x194a8d[_0x41d1e0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x15c14b}=new URL(window[_0x41d1e0([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x2bfb99(0x1f0)]);if(_0x194a8d[_0x41d1e0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x15c14b))return!0x0;const _0x3a4265=_0x15c14b[_0x41d1e0([0x73,0x70,0x6c,0x69,0x74])](_0x41d1e0([0x2e]));return _0x194a8d[_0x41d1e0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x540f57=>_0x540f57[_0x41d1e0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x41d1e0([0x2a])))[_0x41d1e0([0x6d,0x61,0x70])](_0x23c89b=>_0x23c89b[_0x41d1e0([0x73,0x70,0x6c,0x69,0x74])](_0x41d1e0([0x2e])))[_0x41d1e0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xc01cc0=>_0xc01cc0[_0x41d1e0([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3a4265[_0x41d1e0([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x41d1e0([0x6d,0x61,0x70])](_0x5027c5=>Array(_0x3a4265[_0x41d1e0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5027c5[_0x41d1e0([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x41d1e0([0x66,0x69,0x6c,0x6c])](_0x5027c5[0x0]===_0x41d1e0([0x2a])?_0x41d1e0([0x2a]):'')[_0x41d1e0([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5027c5))[_0x41d1e0([0x73,0x6f,0x6d,0x65])](_0x46fefd=>_0x3a4265[_0x41d1e0([0x65,0x76,0x65,0x72,0x79])]((_0x238ea6,_0x2e6591)=>_0x46fefd[_0x2e6591]===_0x238ea6||_0x46fefd[_0x2e6591]===_0x41d1e0([0x2a])));}function _0x18dcbf(){return _0x54d9c8&&_0x501391?new window[(_0x41d1e0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x48b541,_0x1b142c)=>{_0x54d9c8[_0x41d1e0([0x74,0x68,0x65,0x6e])](_0x48b541,_0x1b142c),_0x501391[_0x41d1e0([0x74,0x68,0x65,0x6e])](_0x2bfb6c=>{_0x2bfb6c!=_0x41d1e0([0x56,0x61,0x6c,0x69,0x64])&&_0x48b541(_0x2bfb6c);},_0x1b142c);}):_0x54d9c8||_0x501391||_0x41d1e0([0x56,0x61,0x6c,0x69,0x64]);}}function _0x358f4b(_0x356fab,_0x2ade34){return new window[(_0x41d1e0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x154ee8=>{if(_0x374d19())return _0x154ee8(_0x41d1e0([0x56,0x61,0x6c,0x69,0x64]));_0x35b987(),_0x4f02c0[_0x41d1e0([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x41d1e0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4cb5a6=!0x1;const _0xe0d183=_0x25b555();function _0x5684e2(_0x13b3a6){return!!_0x13b3a6&&(typeof _0x13b3a6===_0x41d1e0([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x13b3a6===_0x41d1e0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x13b3a6[_0x41d1e0([0x74,0x68,0x65,0x6e])]===_0x41d1e0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x13b3a6[_0x41d1e0([0x63,0x61,0x74,0x63,0x68])]===_0x41d1e0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x24e710(_0x417b86){_0x25ec6f(_0x417b86)[_0x41d1e0([0x74,0x68,0x65,0x6e])](_0x19cec1=>{if(!_0x19cec1||_0x19cec1[_0x41d1e0([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x41d1e0([0x6f,0x6b]))return _0x41d1e0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x489638(_0x3ef0c1(_0xe0d183+_0x2ade34))!=_0x19cec1[_0x41d1e0([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x41d1e0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x41d1e0([0x56,0x61,0x6c,0x69,0x64]);})[_0x41d1e0([0x74,0x68,0x65,0x6e])](_0x2c0a0d=>(_0x53ecfe(),_0x2c0a0d),()=>{const _0x558a79=_0x5ec5af();return null==_0x558a79?(_0x53ecfe(),_0x41d1e0([0x56,0x61,0x6c,0x69,0x64])):_0x41d1e0(_0x201ae5-_0x558a79>(0x2dd1bb90^_0x174d50)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x41d1e0([0x74,0x68,0x65,0x6e])](_0x154ee8)[_0x41d1e0([0x63,0x61,0x74,0x63,0x68])](()=>{_0x154ee8(_0x41d1e0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x359b83=0x9ebd110^_0x174d50;function _0x53ecfe(){const _0x2b0518=_0x41d1e0([0x6c,0x6c,0x63,0x74,0x2d])+_0x489638(_0x3ef0c1(_0x356fab)),_0x3ccc27=_0x1c04ca(_0x489638(window[_0x41d1e0([0x4d,0x61,0x74,0x68])][_0x41d1e0([0x63,0x65,0x69,0x6c])](_0x201ae5/_0x359b83)));window[_0x41d1e0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x41d1e0([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2b0518,_0x3ccc27);}function _0x5ec5af(){const _0x36e20c=_0x41d1e0([0x6c,0x6c,0x63,0x74,0x2d])+_0x489638(_0x3ef0c1(_0x356fab)),_0x5ebe60=window[_0x41d1e0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x41d1e0([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x36e20c);return _0x5ebe60?window[_0x41d1e0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1c04ca(_0x5ebe60),0x10)*_0x359b83:null;}function _0x25ec6f(_0x5e9e0e){return new window[(_0x41d1e0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2d1c42,_0x18e0c2)=>{_0x5e9e0e[_0x41d1e0([0x74,0x68,0x65,0x6e])](_0x2d1c42,_0x18e0c2),window[_0x41d1e0([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x18e0c2,0x9dceb50^_0x174d50);});}}_0x4f02c0[_0x41d1e0([0x6f,0x6e])](_0x41d1e0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1fba0e,_0x1b8848)=>{if(_0x1b8848[0x0]!=_0x356fab)return _0x154ee8(_0x41d1e0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1b8848[0x1]={..._0x1b8848[0x1],[_0x41d1e0([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xe0d183};},{[_0x41d1e0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x41d1e0([0x68,0x69,0x67,0x68])}),_0x4f02c0[_0x41d1e0([0x6f,0x6e])](_0x41d1e0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x13e232=>{_0x5684e2(_0x13e232[_0x41d1e0([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4cb5a6=!0x0,_0x24e710(_0x13e232[_0x41d1e0([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x41d1e0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x41d1e0([0x6c,0x6f,0x77])}),_0x4f43a4[_0x41d1e0([0x74,0x68,0x65,0x6e])](()=>{_0x4cb5a6||_0x154ee8(_0x41d1e0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x374d19(){return _0x4f02c0[_0x41d1e0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x41d1e0([0x76,0x69,0x65,0x77])][_0x41d1e0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x41d1e0([0x61,0x75,0x74,0x6f]);}function _0x35b987(){_0x4f02c0[_0x41d1e0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x41d1e0([0x76,0x69,0x65,0x77])][_0x41d1e0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x41d1e0([0x61,0x75,0x74,0x6f]);}}function _0x5d5041(_0x24ada2){const _0x5f076b=[new window[(_0x41d1e0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1acc75=>setTimeout(_0x1acc75,0x9d4015c^_0x174d50)),_0x4f43a4[_0x41d1e0([0x74,0x68,0x65,0x6e])](()=>new window[(_0x41d1e0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x48aa39=>{let _0x3454cf=0x0;_0x4f02c0[_0x41d1e0([0x6d,0x6f,0x64,0x65,0x6c])][_0x41d1e0([0x6f,0x6e])](_0x41d1e0([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5ed110,_0x5e3157)=>{_0x5e3157[0x0][_0x41d1e0([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3454cf++,_0x3454cf==(0x9dd3e68^_0x174d50)&&(_0x48aa39(),_0x5ed110[_0x41d1e0([0x6f,0x66,0x66])]());});}))];return window[_0x41d1e0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x41d1e0([0x72,0x61,0x63,0x65])](_0x5f076b)[_0x41d1e0([0x74,0x68,0x65,0x6e])](()=>_0x24ada2);}async function _0x545469(){await _0x4f43a4,_0x4f02c0[_0x41d1e0([0x6d,0x6f,0x64,0x65,0x6c])][_0x41d1e0([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5c15e9,_0x4f02c0[_0x41d1e0([0x6d,0x6f,0x64,0x65,0x6c])][_0x41d1e0([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5c15e9,_0x4f02c0[_0x41d1e0([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x41d1e0([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x435e25(_0x117801){const _0x2ed214=_0x27a035();_0x4f02c0[_0x2ed214]=_0x41d1e0([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])+_0x117801,_0x117801!=_0x41d1e0([0x56,0x61,0x6c,0x69,0x64])&&_0x545469();}function _0x27a035(){const _0xccd11b=window[_0x41d1e0([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x41d1e0([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x41d1e0([0x6e,0x6f,0x77])]())[_0x41d1e0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x41d1e0([0x2e]),'');let _0x4a38b3=_0x41d1e0([0x63]);for(let _0x3453bd=0x0;_0x3453bd<_0xccd11b[_0x41d1e0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3453bd+=0x2){let _0x39da2e=window[_0x41d1e0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xccd11b[_0x41d1e0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3453bd,_0x3453bd+0x2));_0x39da2e>=_0x229bcd[_0x41d1e0([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x39da2e-=_0x229bcd[_0x41d1e0([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4a38b3+=_0x229bcd[_0x39da2e];}return _0x4a38b3;}function _0x2d0b13(){const _0x4b8f57=_0x57eb06[_0x41d1e0([0x73,0x70,0x6c,0x69,0x74])](_0x41d1e0([0x2e]));if(0x3!=_0x4b8f57[_0x41d1e0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3b4169(_0x4b8f57[0x1]);function _0x3b4169(_0x5f2db2){const _0x50058a=_0x10ec31(_0x5f2db2);return _0x50058a&&_0x3973d9()?_0x50058a:null;function _0x3973d9(){const _0x40e0c2=_0x50058a[_0x41d1e0([0x6a,0x74,0x69])],_0x1d0e26=window[_0x41d1e0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x40e0c2[_0x41d1e0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x40e0c2[_0x41d1e0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5ccff1={..._0x50058a,[_0x41d1e0([0x6a,0x74,0x69])]:_0x40e0c2[_0x41d1e0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x40e0c2[_0x41d1e0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5ccff1[_0x41d1e0([0x76,0x63])],_0x3ef0c1(_0x5ccff1)==_0x1d0e26;}}}async function _0x20bcfe(){let _0x1fc854=!0x0;try{const _0x2fa3f2=_0x57eb06[_0x41d1e0([0x73,0x70,0x6c,0x69,0x74])](_0x41d1e0([0x2e])),[_0x4125a6,_0x1fa7a5,_0x2760e8]=_0x2fa3f2;return _0x8c6b9d(_0x4125a6),await _0x2895d5(_0x4125a6,_0x1fa7a5,_0x2760e8),_0x1fc854;}catch{return!0x1;}function _0x8c6b9d(_0x261cb0){const _0x516403=_0x10ec31(_0x261cb0);_0x516403&&_0x516403[_0x41d1e0([0x61,0x6c,0x67])]==_0x41d1e0([0x45,0x53,0x32,0x35,0x36])||(_0x1fc854=!0x1);}async function _0x2895d5(_0x3473ec,_0x3bb3c1,_0x5acb1c){const _0x5c2c7a=window[_0x41d1e0([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x41d1e0([0x66,0x72,0x6f,0x6d])](_0x335620(_0x5acb1c),_0x106a69=>_0x106a69[_0x41d1e0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5e9580=new window[(_0x41d1e0([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x41d1e0([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3473ec+_0x41d1e0([0x2e])+_0x3bb3c1),_0x529096=window[_0x41d1e0([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x41d1e0([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x529096)return;const _0x545726=await _0x529096[_0x41d1e0([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x41d1e0([0x6a,0x77,0x6b]),_0x4142bc,{[_0x41d1e0([0x6e,0x61,0x6d,0x65])]:_0x41d1e0([0x45,0x43,0x44,0x53,0x41]),[_0x41d1e0([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x41d1e0([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x41d1e0([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x529096[_0x41d1e0([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x41d1e0([0x6e,0x61,0x6d,0x65])]:_0x41d1e0([0x45,0x43,0x44,0x53,0x41]),[_0x41d1e0([0x68,0x61,0x73,0x68])]:{[_0x41d1e0([0x6e,0x61,0x6d,0x65])]:_0x41d1e0([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x545726,_0x5c2c7a,_0x5e9580)||(_0x1fc854=!0x1);}}function _0x10ec31(_0x177575){return _0x177575[_0x41d1e0([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x41d1e0([0x65,0x79]))?JSON[_0x41d1e0([0x70,0x61,0x72,0x73,0x65])](_0x335620(_0x177575)):null;}function _0x335620(_0x1ce840){return window[_0x41d1e0([0x61,0x74,0x6f,0x62])](_0x1ce840[_0x41d1e0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x41d1e0([0x2b]))[_0x41d1e0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x41d1e0([0x2f])));}function _0x3ef0c1(_0x7e2234){let _0x563be7=0x1505;function _0x32dab0(_0x1f8e0a){for(let _0x3b32b3=0x0;_0x3b32b3<_0x1f8e0a[_0x41d1e0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3b32b3++){const _0x3f6b46=_0x1f8e0a[_0x41d1e0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3b32b3);_0x563be7=(_0x563be7<<0x5)+_0x563be7+_0x3f6b46,_0x563be7&=_0x563be7;}}function _0x46f8b3(_0x4f4f23){Array[_0x41d1e0([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4f4f23)?_0x4f4f23[_0x41d1e0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x46f8b3):_0x4f4f23&&typeof _0x4f4f23==_0x41d1e0([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x41d1e0([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4f4f23)[_0x41d1e0([0x73,0x6f,0x72,0x74])]()[_0x41d1e0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x35ab78,_0x1e2ac1])=>{_0x32dab0(_0x35ab78),_0x46f8b3(_0x1e2ac1);}):_0x32dab0(window[_0x41d1e0([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4f4f23));}return _0x46f8b3(_0x7e2234),_0x563be7>>>0x0;}function _0x489638(_0xf07f02){return _0xf07f02[_0x41d1e0([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x41d1e0([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x41d1e0([0x30]));}function _0x1c04ca(_0x25e6c2){return _0x25e6c2[_0x41d1e0([0x73,0x70,0x6c,0x69,0x74])]('')[_0x41d1e0([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x41d1e0([0x6a,0x6f,0x69,0x6e])]('');}function _0x5c15e9(){}function _0x41d1e0(_0x3fb366){const _0x5a5bc4=_0x30be;return _0x3fb366[_0x5a5bc4(0x23f)](_0x36cc8d=>String[_0x5a5bc4(0x1fd)](_0x36cc8d))[_0x5a5bc4(0x21f)]('');}_0x435e25(await _0x2e3714());}(this);}[_0x222822(0x21d)](_0x610a92,_0x1e175a,_0x5e8d1a=!0x1){const _0x58ac4d=_0x222822,_0x6bbc27=new _0x610a92(this[_0x58ac4d(0x221)][_0x58ac4d(0x1ff)]);return _0x6bbc27[_0x58ac4d(0x204)]({'withText':_0x5e8d1a,'isToggleable':!0x1}),_0x6bbc27[_0x58ac4d(0x1fa)](_0x58ac4d(0x216))['to'](_0x1e175a,_0x58ac4d(0x216)),this[_0x58ac4d(0x20e)](_0x6bbc27,_0x58ac4d(0x23c),()=>_0x1e175a[_0x58ac4d(0x23c)]()),_0x6bbc27;}[_0x222822(0x23a)](){const _0x11649d=_0x222822,_0xd169b=this[_0x11649d(0x221)][_0x11649d(0x1ff)];this[_0x11649d(0x221)][_0x11649d(0x1f6)][_0x11649d(0x1f2)]({'id':_0x11649d(0x21b),'label':_0x325646(_0xd169b,_0x11649d(0x203))});const _0x1b67b6=_0x1ead09[_0x11649d(0x202)]||_0x1ead09[_0x11649d(0x23d)];this[_0x11649d(0x221)][_0x11649d(0x1f6)][_0x11649d(0x1f7)]({'categoryId':_0x11649d(0x21b),'keystrokes':[{'label':_0x325646(_0xd169b,_0x11649d(0x214)),'keystroke':_0x11649d(0x225)},{'label':_0x325646(_0xd169b,_0x11649d(0x234)),'keystroke':_0x11649d(0x237)},{'label':_0x325646(_0xd169b,_0x11649d(0x22c)),'keystroke':_0x11649d(0x23b)},{'label':_0x325646(_0xd169b,_0x11649d(0x1f8)),'keystroke':_0x11649d(0x20a)},{'label':_0x325646(_0xd169b,_0x11649d(0x1f4)),'keystroke':_0x11649d(0x1f3)},{'label':_0x325646(_0xd169b,_0x11649d(0x208)),'keystroke':_0x11649d(0x212)},{'label':_0x325646(_0xd169b,_0x11649d(0x240)),'keystroke':_0x1b67b6?_0x11649d(0x1fb):_0x11649d(0x1f5)},{'label':_0x325646(_0xd169b,_0x11649d(0x1fe)),'keystroke':_0x11649d(0x20c)},{'label':_0x325646(_0xd169b,_0x11649d(0x220)),'keystroke':_0x11649d(0x227)},{'label':_0x325646(_0xd169b,_0x11649d(0x226)),'keystroke':[[_0x11649d(0x1fc)],[_0x11649d(0x22a)]]},{'label':_0x325646(_0xd169b,_0x11649d(0x200)),'keystroke':_0x1b67b6?_0x11649d(0x238):_0x11649d(0x218)},{'label':_0x325646(_0xd169b,_0x11649d(0x217)),'keystroke':_0x1b67b6?_0x11649d(0x22e):_0x11649d(0x228)},{'label':_0x325646(_0xd169b,_0x11649d(0x22d)),'keystroke':_0x11649d(0x239)},{'label':_0x325646(_0xd169b,_0x11649d(0x236)),'keystroke':_0x11649d(0x219)},{'label':_0x325646(_0xd169b,_0x11649d(0x1f9)),'keystroke':_0x11649d(0x222)},{'label':_0x325646(_0xd169b,_0x11649d(0x230)),'keystroke':_0x11649d(0x21c)},{'label':_0x325646(_0xd169b,_0x11649d(0x21a)),'keystroke':_0x1b67b6?_0x11649d(0x215):_0x11649d(0x20b)}]});}}