@ckeditor/ckeditor5-source-editing-enhanced 46.0.1-alpha.4 → 46.0.1-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 _0x4a0d65,PendingActions as _0xfb4d8b,Plugin as _0xab1401}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x3f268e,formatHtml as _0x4bfa41,env as _0x1d9285,uid as _0x30a633}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconSource as _0x59fc37}from'@ckeditor/ckeditor5-icons/dist/index.js';import{View as _0x36da74,ButtonView as _0x42a773,MenuBarMenuListItemButtonView as _0x331a5a}from'@ckeditor/ckeditor5-ui/dist/index.js';import{EditorView as _0x248d25,crosshairCursor as _0x2a1452,drawSelection as _0x35ff43,dropCursor as _0x1ef4b5,lineNumbers as _0xf29042,highlightActiveLine as _0xf7af32,highlightActiveLineGutter as _0x8dac19,highlightSpecialChars as _0x2fc7bc,rectangularSelection as _0x40f7ce,keymap as _0xe04749}from'@codemirror/view';import{Compartment as _0x1d837b,Transaction as _0x1de407}from'@codemirror/state';import{bracketMatching as _0x17150c,foldGutter as _0x37ddd3,indentOnInput as _0x23fa15,syntaxHighlighting as _0x5a3fba,defaultHighlightStyle as _0x57f40d,foldKeymap as _0x5050ba}from'@codemirror/language';import{toggleTabFocusMode as _0x509382,history as _0x3d9d00,defaultKeymap as _0x27f8f3,historyKeymap as _0x4f8b3c,indentLess as _0x35e8be,indentMore as _0x34fc9a,redo as _0x30ee00,undo as _0x455371}from'@codemirror/commands';import{autocompletion as _0x56ba71,closeBrackets as _0x42d55a,closeBracketsKeymap as _0x1bb3ce,completionKeymap as _0x5b4f07}from'@codemirror/autocomplete';import{html as _0x114493}from'@codemirror/lang-html';import{markdown as _0x55ee1e}from'@codemirror/lang-markdown';import{oneDark as _0x1d2be0}from'@codemirror/theme-one-dark';function w(_0x542f45,_0x5f4f32){const t=_0x542f45['t'];switch(_0x5f4f32){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 _0x5f4f32;}}function r(_0xdfeab3){const _0x406b6e=_0xdfeab3['editing']['view']['document']['roots'],_0x577c84=_0x406b6e['length'];if(0x0===_0x577c84)throw new _0x3f268e('source-editing-enhanced-editor-no-root',_0xdfeab3);if(0x1===_0x577c84)return _0x406b6e['first']['rootName'];return Array['from'](_0xdfeab3['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function g(_0x41d772){return tr(_0x41d772['replace'](/^[\n\s]*/g,''))?_0x41d772['replace'](/\s+/g,''):_0x41d772;}function tr(_0x27c64d){return _0x27c64d['startsWith']('<');}function p(_0xb6815b){const _0x236dc5=[_0x248d25['lineWrapping'],_0x56ba71(),_0x17150c(),_0x42d55a(),_0x2a1452(),_0x35ff43(),_0x1ef4b5(),_0xf29042(),_0x37ddd3(),_0xf7af32(),_0x8dac19(),_0x2fc7bc(),_0x3d9d00(),_0x23fa15(),_0x40f7ce(),_0x5a3fba(_0x57f40d,{'fallback':!0x0})],_0x11c03b=new _0x1d837b();_0x236dc5['push'](_0x11c03b['of'](_0x248d25['editable']['of'](!0x0))),'html'===_0xb6815b['syntaxLanguage']?_0x236dc5['push'](_0x114493()):_0x236dc5['push'](_0x55ee1e());const _0x469c1f=function(_0x2a6bc9){if(_0x2a6bc9&&'default'!==_0x2a6bc9)return'dark'===_0x2a6bc9?_0x1d2be0:_0x2a6bc9;return null;}(_0xb6815b['theme']);_0x469c1f&&_0x236dc5['push'](_0x469c1f),_0x236dc5['push'](_0xe04749['of']([..._0x1bb3ce,..._0x27f8f3,..._0x4f8b3c,..._0x5050ba,..._0x5b4f07,{'key':'Tab','run':_0x34fc9a,'shift':_0x35e8be,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-y','mac':'Cmd-y','run':_0x30ee00,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-Shift-z','mac':'Cmd-Shift-z','run':_0x30ee00,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-z','mac':'Cmd-z','run':_0x455371,'preventDefault':!0x0,'stopPropagation':!0x0}]));const _0x33d499=new _0x248d25({'extensions':_0x236dc5,'parent':_0xb6815b['parent']});return _0x509382(_0x33d499),{'focus':()=>{_0x33d499['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x33d499['focus']();},'getData':()=>_0x33d499['state']['doc']['toString'](),'setData':_0x1b291b=>{_0x33d499['dispatch']({'changes':{'from':0x0,'to':_0x33d499['state']['doc']['length'],'insert':_0x1b291b},'annotations':_0x1de407['addToHistory']['of'](!0x1)});},'setReadOnly':_0x4f73c3=>{_0x33d499['dispatch']({'effects':[_0x11c03b['reconfigure'](_0x248d25['editable']['of'](!_0x4f73c3))]});},'destroy':()=>{_0x33d499['destroy']();},'instance':_0x33d499};}class E extends _0x36da74{['_codeEditorApi']=null;['_options'];constructor(_0x191aaf,_0x2e2baf){super(_0x191aaf),this['_options']=_0x2e2baf,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',(_0x37d23b,_0x25c8aa,_0x1c8e90)=>{this['setReadOnly'](_0x1c8e90);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0x397754){this['_codeEditorApi']['setData'](_0x397754);}['setReadOnly'](_0x1ef675){this['_codeEditorApi']['setReadOnly'](_0x1ef675);}}const b='SourceEditingEnhancedMode';class d extends _0x4a0d65{constructor(_0xdb93aa){super(_0xdb93aa),this['affectsData']=!0x1,this['editor']['plugins']['get'](_0xfb4d8b)['on']('change:hasAny',(_0x5da9ee,_0x11b684,_0x51e66f)=>{_0x51e66f?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['_disableCommands'](){const _0x3a4862=this['editor'];for(const _0x2b7d2c of _0x3a4862['commands']['names']())['replaceSource','editSource']['includes'](_0x2b7d2c)||_0x3a4862['commands']['get'](_0x2b7d2c)['forceDisabled'](b);}['_enableCommands'](){const _0x151d73=this['editor'];for(const _0x3ac338 of _0x151d73['commands']['commands']())_0x3ac338['clearForceDisabled'](b);}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x4453f6=this['editor'],_0x1ea482=_0x4453f6['locale'],_0x198c60=_0x4453f6['plugins']['get']('Dialog'),_0xc090af=r(_0x4453f6),_0x4e5015=_0x4453f6['data']['get']({'rootName':_0xc090af}),_0x27faa1=tr(_0x57a8be=_0x4e5015)?_0x4bfa41(_0x57a8be):_0x57a8be;var _0x57a8be;const _0x1d195b=new E(_0x1ea482,{'syntaxLanguage':_0x4453f6['plugins']['has']('Markdown')?'markdown':'html','theme':_0x4453f6['config']['get']('sourceEditingEnhanced.theme')});let _0x1f0583=!0x0;const _0x30adda=_0x5ed3d5=>{if(!_0x1f0583)return;return g(_0x1d195b['getData']())!==g(_0x27faa1)?window['confirm'](w(_0x1ea482,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0x5ed3d5['stop']():void 0x0;};_0x198c60['show']({'id':'sourceEditingEnhanced','title':w(_0x1ea482,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0x1d195b,'actionButtons':[{'label':w(_0x1ea482,'Cancel'),'withText':!0x0,'onExecute':()=>{_0x198c60['hide']();}},{'label':w(_0x1ea482,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0x2cb039=g(_0x1d195b['getData']())!==g(_0x27faa1);(_0x2cb039&&_0x4453f6['execute']('replaceSource',_0x1d195b['getData']()),_0x1f0583=!0x1,_0x198c60['hide'](),_0x2cb039&&'editables'in _0x4453f6['ui']['view'])&&_0x4453f6['ui']['view']['editables'][_0xc090af]['element']['focus']();},'onCreate':_0x2500eb=>{_0x2500eb['set']('isEnabled',!_0x4453f6['isReadOnly']),_0x2500eb['bind']('isEnabled')['to'](_0x4453f6,'isReadOnly',this,'isEnabled',(_0x2d8a92,_0x3151ab)=>!_0x2d8a92&&_0x3151ab);}}],'onHide':()=>{this['_enableCommands'](),_0x198c60['off']('hide',_0x30adda),_0x1d195b['destroy']();},'onShow':()=>{_0x1d195b['bind']('isReadOnly')['to'](_0x4453f6,'isReadOnly',this,'isEnabled',(_0x3fbd8f,_0x4f0518)=>_0x3fbd8f||!_0x4f0518),_0x1d195b['setData'](_0x27faa1),_0x1d195b['focus'](),_0x198c60['on']('hide',_0x30adda,{'priority':'highest'}),this['_disableCommands']();}});}}class a extends _0xab1401{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[_0xfb4d8b];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x52e376=this['editor'],_0x3107f0=_0x52e376['locale'],_0x1dea17=new d(_0x52e376);_0x52e376['commands']['add']('editSource',_0x1dea17),_0x52e376['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0x56fad5=this['_createButton'](_0x42a773,_0x1dea17);return _0x56fad5['set']({'label':w(_0x3107f0,'Source'),'icon':_0x59fc37,'tooltip':w(_0x3107f0,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0x56fad5;}),_0x52e376['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0x2bc387=this['_createButton'](_0x331a5a,_0x1dea17,!0x0);return _0x2bc387['set']({'label':w(_0x3107f0,'Edit\x20source\x20modal\x20label'),'icon':_0x59fc37,'role':'menuitemcheckbox'}),_0x2bc387;}),this['_registerKeybindings']();}['afterInit'](){!async function(_0x3dbaf1){const _0x182e9e=_0x52c59d([0x32,0x75,0x31,0x64,0x36,0x66,0x37,0x45,0x46,0x69,0x72,0x4b,0x42,0x47,0x34,0x55,0x33,0x67,0x39,0x49,0x44,0x6d,0x70,0x35,0x50,0x7a,0x4a,0x4f,0x74,0x48,0x51,0x65,0x6b,0x68,0x54,0x73,0x62,0x63,0x30,0x6e,0x4e,0x61,0x41,0x57,0x59,0x79,0x43,0x38,0x56,0x52,0x5a,0x77,0x4d,0x53,0x6f,0x6a,0x4c,0x58,0x76,0x71,0x78,0x6c]),_0x51fc58=0x52606ed,_0x55e2cd=0x5216985^_0x51fc58,_0x2317b2=window[_0x52c59d([0x44,0x61,0x74,0x65])][_0x52c59d([0x6e,0x6f,0x77])](),_0x311dd8=_0x3dbaf1[_0x52c59d([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5c0b26=new window[(_0x52c59d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3e9329=>{_0x311dd8[_0x52c59d([0x6f,0x6e,0x63,0x65])](_0x52c59d([0x72,0x65,0x61,0x64,0x79]),_0x3e9329);}),_0x1656dd={[_0x52c59d([0x6b,0x74,0x79])]:_0x52c59d([0x45,0x43]),[_0x52c59d([0x75,0x73,0x65])]:_0x52c59d([0x73,0x69,0x67]),[_0x52c59d([0x63,0x72,0x76])]:_0x52c59d([0x50,0x2d,0x32,0x35,0x36]),[_0x52c59d([0x78])]:_0x52c59d([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]),[_0x52c59d([0x79])]:_0x52c59d([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]),[_0x52c59d([0x61,0x6c,0x67])]:_0x52c59d([0x45,0x53,0x32,0x35,0x36])},_0x543cc9=_0x311dd8[_0x52c59d([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x52c59d([0x67,0x65,0x74])](_0x52c59d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4ef01e(){let _0x444ef7,_0x575da0=null,_0x29c769=null;try{if(_0x543cc9==_0x52c59d([0x47,0x50,0x4c]))return _0x52c59d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x444ef7=_0x2ee935(),!_0x444ef7)return _0x52c59d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x444ef7[_0x52c59d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x29c769=_0x2b7838(_0x444ef7[_0x52c59d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x444ef7[_0x52c59d([0x6a,0x74,0x69])])),await _0x20943a()?_0x45ade3()?_0x349dab()?_0x52c59d([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x59c28b()?(_0x444ef7[_0x52c59d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x52c59d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x575da0=_0x26f8cb(_0x52c59d([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x444ef7[_0x52c59d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x52c59d([0x74,0x72,0x69,0x61,0x6c])&&(_0x575da0=_0x26f8cb(_0x52c59d([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x15985f()):_0x52c59d([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x52c59d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x52c59d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x52c59d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x349dab(){const _0xf58e53=[_0x52c59d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x52c59d([0x74,0x72,0x69,0x61,0x6c])][_0x52c59d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x444ef7[_0x52c59d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2317b2/0x3e8:0xe10*_0x55e2cd;return _0x444ef7[_0x52c59d([0x65,0x78,0x70])]<_0xf58e53;}function _0x45ade3(){const _0x2ba549=_0x444ef7[_0x52c59d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2ba549&&(!!_0x2ba549[_0x52c59d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x52c59d([0x2a]))||!!_0x2ba549[_0x52c59d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x52c59d([0x53,0x45,0x45])));}function _0x59c28b(){const _0x212eab=_0x444ef7[_0x52c59d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x212eab||0x0==_0x212eab[_0x52c59d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x20000a}=new URL(window[_0x52c59d([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x212eab[_0x52c59d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x20000a))return!0x0;const _0x41d26b=_0x20000a[_0x52c59d([0x73,0x70,0x6c,0x69,0x74])](_0x52c59d([0x2e]));return _0x212eab[_0x52c59d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x8e0622=>_0x8e0622[_0x52c59d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x52c59d([0x2a])))[_0x52c59d([0x6d,0x61,0x70])](_0x48cb1b=>_0x48cb1b[_0x52c59d([0x73,0x70,0x6c,0x69,0x74])](_0x52c59d([0x2e])))[_0x52c59d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x29bf77=>_0x29bf77[_0x52c59d([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x41d26b[_0x52c59d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x52c59d([0x6d,0x61,0x70])](_0x34e68a=>Array(_0x41d26b[_0x52c59d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x34e68a[_0x52c59d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x52c59d([0x66,0x69,0x6c,0x6c])](_0x34e68a[0x0]===_0x52c59d([0x2a])?_0x52c59d([0x2a]):'')[_0x52c59d([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x34e68a))[_0x52c59d([0x73,0x6f,0x6d,0x65])](_0x2eda0e=>_0x41d26b[_0x52c59d([0x65,0x76,0x65,0x72,0x79])]((_0x3da854,_0x38ef95)=>_0x2eda0e[_0x38ef95]===_0x3da854||_0x2eda0e[_0x38ef95]===_0x52c59d([0x2a])));}function _0x15985f(){return _0x575da0&&_0x29c769?new window[(_0x52c59d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1b3618,_0x43e7ce)=>{_0x575da0[_0x52c59d([0x74,0x68,0x65,0x6e])](_0x1b3618,_0x43e7ce),_0x29c769[_0x52c59d([0x74,0x68,0x65,0x6e])](_0x1b815a=>{_0x1b815a!=_0x52c59d([0x56,0x61,0x6c,0x69,0x64])&&_0x1b3618(_0x1b815a);},_0x43e7ce);}):_0x575da0||_0x29c769||_0x52c59d([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2b7838(_0x1a6c3e,_0x1e43ff){return new window[(_0x52c59d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5e1f80=>{if(_0x4f6754())return _0x5e1f80(_0x52c59d([0x56,0x61,0x6c,0x69,0x64]));_0x1b2c2a(),_0x311dd8[_0x52c59d([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x52c59d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x535d0d=!0x1;const _0x2d1868=_0x30a633();function _0xc60432(_0x3be4d9){return!!_0x3be4d9&&(typeof _0x3be4d9===_0x52c59d([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3be4d9===_0x52c59d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3be4d9[_0x52c59d([0x74,0x68,0x65,0x6e])]===_0x52c59d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3be4d9[_0x52c59d([0x63,0x61,0x74,0x63,0x68])]===_0x52c59d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x351f11(_0x32ff6b){_0x5145ac(_0x32ff6b)[_0x52c59d([0x74,0x68,0x65,0x6e])](_0x425e09=>{if(!_0x425e09||_0x425e09[_0x52c59d([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x52c59d([0x6f,0x6b]))return _0x52c59d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3adad2(_0x2a86fa(_0x2d1868+_0x1e43ff))!=_0x425e09[_0x52c59d([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x52c59d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x52c59d([0x56,0x61,0x6c,0x69,0x64]);})[_0x52c59d([0x74,0x68,0x65,0x6e])](_0xac6196=>(_0x2f0ec8(),_0xac6196),()=>{const _0x3a9afd=_0x596e90();return null==_0x3a9afd?(_0x2f0ec8(),_0x52c59d([0x56,0x61,0x6c,0x69,0x64])):_0x52c59d(_0x2317b2-_0x3a9afd>(0x212a82ed^_0x51fc58)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x52c59d([0x74,0x68,0x65,0x6e])](_0x5e1f80)[_0x52c59d([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5e1f80(_0x52c59d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x45fc3b=0x510e86d^_0x51fc58;function _0x2f0ec8(){const _0xf59d3d=_0x52c59d([0x6c,0x6c,0x63,0x74,0x2d])+_0x3adad2(_0x2a86fa(_0x1a6c3e)),_0x528b8c=_0x5f5559(_0x3adad2(window[_0x52c59d([0x4d,0x61,0x74,0x68])][_0x52c59d([0x63,0x65,0x69,0x6c])](_0x2317b2/_0x45fc3b)));window[_0x52c59d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x52c59d([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xf59d3d,_0x528b8c);}function _0x596e90(){const _0x3bc5c9=_0x52c59d([0x6c,0x6c,0x63,0x74,0x2d])+_0x3adad2(_0x2a86fa(_0x1a6c3e)),_0x188fdc=window[_0x52c59d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x52c59d([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3bc5c9);return _0x188fdc?window[_0x52c59d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5f5559(_0x188fdc),0x10)*_0x45fc3b:null;}function _0x5145ac(_0x451b22){return new window[(_0x52c59d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xcd80ff,_0x4ac9af)=>{_0x451b22[_0x52c59d([0x74,0x68,0x65,0x6e])](_0xcd80ff,_0x4ac9af),window[_0x52c59d([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4ac9af,0x527d22d^_0x51fc58);});}}_0x311dd8[_0x52c59d([0x6f,0x6e])](_0x52c59d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4592bd,_0x544090)=>{if(_0x544090[0x0]!=_0x1a6c3e)return _0x5e1f80(_0x52c59d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x544090[0x1]={..._0x544090[0x1],[_0x52c59d([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2d1868};},{[_0x52c59d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x52c59d([0x68,0x69,0x67,0x68])}),_0x311dd8[_0x52c59d([0x6f,0x6e])](_0x52c59d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5aaf65=>{_0xc60432(_0x5aaf65[_0x52c59d([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x535d0d=!0x0,_0x351f11(_0x5aaf65[_0x52c59d([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x52c59d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x52c59d([0x6c,0x6f,0x77])}),_0x5c0b26[_0x52c59d([0x74,0x68,0x65,0x6e])](()=>{_0x535d0d||_0x5e1f80(_0x52c59d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4f6754(){return _0x311dd8[_0x52c59d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x52c59d([0x76,0x69,0x65,0x77])][_0x52c59d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x52c59d([0x61,0x75,0x74,0x6f]);}function _0x1b2c2a(){_0x311dd8[_0x52c59d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x52c59d([0x76,0x69,0x65,0x77])][_0x52c59d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x52c59d([0x61,0x75,0x74,0x6f]);}}function _0x26f8cb(_0x45fc54){const _0x359c41=[new window[(_0x52c59d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x928319=>setTimeout(_0x928319,0x52f3821^_0x51fc58)),_0x5c0b26[_0x52c59d([0x74,0x68,0x65,0x6e])](()=>new window[(_0x52c59d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2f258d=>{let _0x214e58=0x0;_0x311dd8[_0x52c59d([0x6d,0x6f,0x64,0x65,0x6c])][_0x52c59d([0x6f,0x6e])](_0x52c59d([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x33f444,_0x3190bb)=>{_0x3190bb[0x0][_0x52c59d([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x214e58++,_0x214e58==(0x5260715^_0x51fc58)&&(_0x2f258d(),_0x33f444[_0x52c59d([0x6f,0x66,0x66])]());});}))];return window[_0x52c59d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x52c59d([0x72,0x61,0x63,0x65])](_0x359c41)[_0x52c59d([0x74,0x68,0x65,0x6e])](()=>_0x45fc54);}async function _0x6e9802(){await _0x5c0b26,_0x311dd8[_0x52c59d([0x6d,0x6f,0x64,0x65,0x6c])][_0x52c59d([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x177547,_0x311dd8[_0x52c59d([0x6d,0x6f,0x64,0x65,0x6c])][_0x52c59d([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x177547,_0x311dd8[_0x52c59d([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x52c59d([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x336f3c(_0x119a66){const _0x1f8869=_0x3aeba8();_0x311dd8[_0x1f8869]=_0x52c59d([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])+_0x119a66,_0x119a66!=_0x52c59d([0x56,0x61,0x6c,0x69,0x64])&&_0x6e9802();}function _0x3aeba8(){const _0x1914bf=window[_0x52c59d([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x52c59d([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x52c59d([0x6e,0x6f,0x77])]())[_0x52c59d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x52c59d([0x2e]),'');let _0x25487b=_0x52c59d([0x75]);for(let _0x51ca48=0x0;_0x51ca48<_0x1914bf[_0x52c59d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x51ca48+=0x2){let _0x246572=window[_0x52c59d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1914bf[_0x52c59d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x51ca48,_0x51ca48+0x2));_0x246572>=_0x182e9e[_0x52c59d([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x246572-=_0x182e9e[_0x52c59d([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x25487b+=_0x182e9e[_0x246572];}return _0x25487b;}function _0x2ee935(){const _0x4ad8a1=_0x543cc9[_0x52c59d([0x73,0x70,0x6c,0x69,0x74])](_0x52c59d([0x2e]));if(0x3!=_0x4ad8a1[_0x52c59d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xb29118(_0x4ad8a1[0x1]);function _0xb29118(_0xaa29c8){const _0x1d175f=_0x25908e(_0xaa29c8);return _0x1d175f&&_0x1bab0e()?_0x1d175f:null;function _0x1bab0e(){const _0x13c8f2=_0x1d175f[_0x52c59d([0x6a,0x74,0x69])],_0x578d04=window[_0x52c59d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x13c8f2[_0x52c59d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x13c8f2[_0x52c59d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x234569={..._0x1d175f,[_0x52c59d([0x6a,0x74,0x69])]:_0x13c8f2[_0x52c59d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x13c8f2[_0x52c59d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x234569[_0x52c59d([0x76,0x63])],_0x2a86fa(_0x234569)==_0x578d04;}}}async function _0x20943a(){let _0x4ad152=!0x0;try{const _0x42e259=_0x543cc9[_0x52c59d([0x73,0x70,0x6c,0x69,0x74])](_0x52c59d([0x2e])),[_0x4bd7cc,_0x267275,_0x4e4fc7]=_0x42e259;return _0x7695a2(_0x4bd7cc),await _0x9fcf4(_0x4bd7cc,_0x267275,_0x4e4fc7),_0x4ad152;}catch{return!0x1;}function _0x7695a2(_0x555ab5){const _0x25d16f=_0x25908e(_0x555ab5);_0x25d16f&&_0x25d16f[_0x52c59d([0x61,0x6c,0x67])]==_0x52c59d([0x45,0x53,0x32,0x35,0x36])||(_0x4ad152=!0x1);}async function _0x9fcf4(_0x333786,_0x5b35d2,_0x401095){const _0x1f9270=window[_0x52c59d([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x52c59d([0x66,0x72,0x6f,0x6d])](_0x4be375(_0x401095),_0x26b86a=>_0x26b86a[_0x52c59d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x28b481=new window[(_0x52c59d([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x52c59d([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x333786+_0x52c59d([0x2e])+_0x5b35d2),_0x5dd76f=window[_0x52c59d([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x52c59d([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5dd76f)return;const _0x1af5b3=await _0x5dd76f[_0x52c59d([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x52c59d([0x6a,0x77,0x6b]),_0x1656dd,{[_0x52c59d([0x6e,0x61,0x6d,0x65])]:_0x52c59d([0x45,0x43,0x44,0x53,0x41]),[_0x52c59d([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x52c59d([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x52c59d([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5dd76f[_0x52c59d([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x52c59d([0x6e,0x61,0x6d,0x65])]:_0x52c59d([0x45,0x43,0x44,0x53,0x41]),[_0x52c59d([0x68,0x61,0x73,0x68])]:{[_0x52c59d([0x6e,0x61,0x6d,0x65])]:_0x52c59d([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1af5b3,_0x1f9270,_0x28b481)||(_0x4ad152=!0x1);}}function _0x25908e(_0x1bdaa9){return _0x1bdaa9[_0x52c59d([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x52c59d([0x65,0x79]))?JSON[_0x52c59d([0x70,0x61,0x72,0x73,0x65])](_0x4be375(_0x1bdaa9)):null;}function _0x4be375(_0x4246aa){return window[_0x52c59d([0x61,0x74,0x6f,0x62])](_0x4246aa[_0x52c59d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x52c59d([0x2b]))[_0x52c59d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x52c59d([0x2f])));}function _0x2a86fa(_0x407100){let _0x3ad401=0x1505;function _0x386b36(_0x4fc1b4){for(let _0x5a41fd=0x0;_0x5a41fd<_0x4fc1b4[_0x52c59d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5a41fd++){const _0x49852e=_0x4fc1b4[_0x52c59d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5a41fd);_0x3ad401=(_0x3ad401<<0x5)+_0x3ad401+_0x49852e,_0x3ad401&=_0x3ad401;}}function _0x58388f(_0x29807d){Array[_0x52c59d([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x29807d)?_0x29807d[_0x52c59d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x58388f):_0x29807d&&typeof _0x29807d==_0x52c59d([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x52c59d([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x29807d)[_0x52c59d([0x73,0x6f,0x72,0x74])]()[_0x52c59d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4021a4,_0x3c7ed4])=>{_0x386b36(_0x4021a4),_0x58388f(_0x3c7ed4);}):_0x386b36(window[_0x52c59d([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x29807d));}return _0x58388f(_0x407100),_0x3ad401>>>0x0;}function _0x3adad2(_0x11e3ea){return _0x11e3ea[_0x52c59d([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x52c59d([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x52c59d([0x30]));}function _0x5f5559(_0x5d7022){return _0x5d7022[_0x52c59d([0x73,0x70,0x6c,0x69,0x74])]('')[_0x52c59d([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x52c59d([0x6a,0x6f,0x69,0x6e])]('');}function _0x177547(){}function _0x52c59d(_0x2c229d){return _0x2c229d['map'](_0x3eeeb2=>String['fromCharCode'](_0x3eeeb2))['join']('');}_0x336f3c(await _0x4ef01e());}(this);}['_createButton'](_0x170586,_0x3369e6,_0xc9af40=!0x1){const _0x304d44=new _0x170586(this['editor']['locale']);return _0x304d44['set']({'withText':_0xc9af40,'isToggleable':!0x1}),_0x304d44['bind']('isEnabled')['to'](_0x3369e6,'isEnabled'),this['listenTo'](_0x304d44,'execute',()=>_0x3369e6['execute']()),_0x304d44;}['_registerKeybindings'](){const _0x45d2b5=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':w(_0x45d2b5,'Source\x20Editing\x20Enhanced')});const _0x42f2a4=_0x1d9285['isMac']||_0x1d9285['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':w(_0x45d2b5,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':w(_0x45d2b5,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':w(_0x45d2b5,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':w(_0x45d2b5,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':w(_0x45d2b5,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':w(_0x45d2b5,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':w(_0x45d2b5,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x42f2a4?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':w(_0x45d2b5,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':w(_0x45d2b5,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':w(_0x45d2b5,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':w(_0x45d2b5,'Select\x20line'),'keystroke':_0x42f2a4?'Ctrl!+L':'Alt+L'},{'label':w(_0x45d2b5,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x42f2a4?'Alt+Shift+M':'Ctrl+M'},{'label':w(_0x45d2b5,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':w(_0x45d2b5,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':w(_0x45d2b5,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':w(_0x45d2b5,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':w(_0x45d2b5,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x42f2a4?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}class c extends _0x4a0d65{constructor(_0x28d579){super(_0x28d579),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0x5381d1,_0x4d2a5d){const _0x1aaaee=this['editor'],_0x5950a2=_0x4d2a5d?.['rootName']??r(_0x1aaaee);_0x1aaaee['data']['set']({[_0x5950a2]:_0x5381d1},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}class ee extends _0xab1401{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[a];}constructor(_0x17d1b3){super(_0x17d1b3),_0x17d1b3['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 _0x1bf3e2=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x20095b;for(const _0x2ce610 in _0x1bf3e2){const _0x4472b0=_0x2ce610,_0x49ba8e=_0x1bf3e2[_0x4472b0];if('sourceEditingEnhancedLicenseKeyValid'==_0x49ba8e||'sourceEditingEnhancedLicenseKeyInvalid'==_0x49ba8e||'sourceEditingEnhancedLicenseKeyExpired'==_0x49ba8e||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x49ba8e||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x49ba8e||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x49ba8e||'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x49ba8e||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x49ba8e){delete _0x1bf3e2[_0x4472b0],_0x20095b=_0x49ba8e,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0x20095b&&_0x1bf3e2['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0x20095b&&_0x1bf3e2['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x20095b&&_0x1bf3e2['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x20095b&&_0x1bf3e2['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x20095b&&_0x1bf3e2['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x20095b&&_0x1bf3e2['_showLicenseError']('trialLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x20095b&&_0x1bf3e2['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0x2a8021=this['editor'],_0x3e09ff=_0x2a8021['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0x3e09ff&&_0x2a8021['plugins']['has']('RealTimeCollaborativeEditing'))throw new _0x3f268e('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0x3e09ff&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x597e9e=>_0x2a8021['plugins']['has'](_0x597e9e))&&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.'),_0x2a8021['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 _0x53b65a,PendingActions as _0x40e709,Plugin as _0xe0fb50}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x4efb22,formatHtml as _0x279c11,env as _0x1a1584,uid as _0x5e903e}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconSource as _0x40962c}from'@ckeditor/ckeditor5-icons/dist/index.js';import{View as _0x226537,ButtonView as _0x40c1bf,MenuBarMenuListItemButtonView as _0x727834}from'@ckeditor/ckeditor5-ui/dist/index.js';import{EditorView as _0xb48e5e,crosshairCursor as _0x341b27,drawSelection as _0x4e875b,dropCursor as _0x4db595,lineNumbers as _0x18da98,highlightActiveLine as _0x41d75d,highlightActiveLineGutter as _0x33c33e,highlightSpecialChars as _0x50744f,rectangularSelection as _0x4ae41f,keymap as _0x3b2f0a}from'@codemirror/view';import{Compartment as _0x8ac118,Transaction as _0x243c8c}from'@codemirror/state';import{bracketMatching as _0x434b97,foldGutter as _0x3086d7,indentOnInput as _0x8cb4a1,syntaxHighlighting as _0x1c9bfc,defaultHighlightStyle as _0x329851,foldKeymap as _0x2147ff}from'@codemirror/language';import{toggleTabFocusMode as _0x3e347f,history as _0x5a0377,defaultKeymap as _0x4d5349,historyKeymap as _0x10bb91,indentLess as _0x278259,indentMore as _0x3657d6,redo as _0x3b5e57,undo as _0x243ecf}from'@codemirror/commands';import{autocompletion as _0x55955e,closeBrackets as _0x5ccd95,closeBracketsKeymap as _0x88b3b4,completionKeymap as _0x499c96}from'@codemirror/autocomplete';import{html as _0x10dabe}from'@codemirror/lang-html';import{markdown as _0x4ef652}from'@codemirror/lang-markdown';import{oneDark as _0x3dd477}from'@codemirror/theme-one-dark';function w(_0x44062e,_0x3e793c){const t=_0x44062e['t'];switch(_0x3e793c){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 _0x3e793c;}}function r(_0x1bf7b6){const _0x8e1008=_0x1bf7b6['editing']['view']['document']['roots'],_0x206035=_0x8e1008['length'];if(0x0===_0x206035)throw new _0x4efb22('source-editing-enhanced-editor-no-root',_0x1bf7b6);if(0x1===_0x206035)return _0x8e1008['first']['rootName'];return Array['from'](_0x1bf7b6['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function g(_0x34cc8b){return tr(_0x34cc8b['replace'](/^[\n\s]*/g,''))?_0x34cc8b['replace'](/\s+/g,''):_0x34cc8b;}function tr(_0x416c9b){return _0x416c9b['startsWith']('<');}function p(_0x156ba7){const _0x5b446c=[_0xb48e5e['lineWrapping'],_0x55955e(),_0x434b97(),_0x5ccd95(),_0x341b27(),_0x4e875b(),_0x4db595(),_0x18da98(),_0x3086d7(),_0x41d75d(),_0x33c33e(),_0x50744f(),_0x5a0377(),_0x8cb4a1(),_0x4ae41f(),_0x1c9bfc(_0x329851,{'fallback':!0x0})],_0x4c0b3a=new _0x8ac118();_0x5b446c['push'](_0x4c0b3a['of'](_0xb48e5e['editable']['of'](!0x0))),'html'===_0x156ba7['syntaxLanguage']?_0x5b446c['push'](_0x10dabe()):_0x5b446c['push'](_0x4ef652());const _0x2dba60=function(_0x532d1f){if(_0x532d1f&&'default'!==_0x532d1f)return'dark'===_0x532d1f?_0x3dd477:_0x532d1f;return null;}(_0x156ba7['theme']);_0x2dba60&&_0x5b446c['push'](_0x2dba60),_0x5b446c['push'](_0x3b2f0a['of']([..._0x88b3b4,..._0x4d5349,..._0x10bb91,..._0x2147ff,..._0x499c96,{'key':'Tab','run':_0x3657d6,'shift':_0x278259,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-y','mac':'Cmd-y','run':_0x3b5e57,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-Shift-z','mac':'Cmd-Shift-z','run':_0x3b5e57,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-z','mac':'Cmd-z','run':_0x243ecf,'preventDefault':!0x0,'stopPropagation':!0x0}]));const _0x2e3cba=new _0xb48e5e({'extensions':_0x5b446c,'parent':_0x156ba7['parent']});return _0x3e347f(_0x2e3cba),{'focus':()=>{_0x2e3cba['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x2e3cba['focus']();},'getData':()=>_0x2e3cba['state']['doc']['toString'](),'setData':_0x46cc91=>{_0x2e3cba['dispatch']({'changes':{'from':0x0,'to':_0x2e3cba['state']['doc']['length'],'insert':_0x46cc91},'annotations':_0x243c8c['addToHistory']['of'](!0x1)});},'setReadOnly':_0x1148a2=>{_0x2e3cba['dispatch']({'effects':[_0x4c0b3a['reconfigure'](_0xb48e5e['editable']['of'](!_0x1148a2))]});},'destroy':()=>{_0x2e3cba['destroy']();},'instance':_0x2e3cba};}class E extends _0x226537{['_codeEditorApi']=null;['_options'];constructor(_0x365a8a,_0x50da98){super(_0x365a8a),this['_options']=_0x50da98,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',(_0x4d15fe,_0x14b906,_0x80b552)=>{this['setReadOnly'](_0x80b552);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0x17a4f5){this['_codeEditorApi']['setData'](_0x17a4f5);}['setReadOnly'](_0x3303f6){this['_codeEditorApi']['setReadOnly'](_0x3303f6);}}const b='SourceEditingEnhancedMode';class d extends _0x53b65a{constructor(_0x22584b){super(_0x22584b),this['affectsData']=!0x1,this['editor']['plugins']['get'](_0x40e709)['on']('change:hasAny',(_0x10d89f,_0x562ab9,_0xcd407c)=>{_0xcd407c?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['_disableCommands'](){const _0xdc8e4e=this['editor'];for(const _0x27a15f of _0xdc8e4e['commands']['names']())['replaceSource','editSource']['includes'](_0x27a15f)||_0xdc8e4e['commands']['get'](_0x27a15f)['forceDisabled'](b);}['_enableCommands'](){const _0x16e418=this['editor'];for(const _0x2db663 of _0x16e418['commands']['commands']())_0x2db663['clearForceDisabled'](b);}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x17711f=this['editor'],_0x2ff6df=_0x17711f['locale'],_0xb3716d=_0x17711f['plugins']['get']('Dialog'),_0x3de614=r(_0x17711f),_0x15f6e1=_0x17711f['data']['get']({'rootName':_0x3de614}),_0x2637c9=tr(_0x1717a7=_0x15f6e1)?_0x279c11(_0x1717a7):_0x1717a7;var _0x1717a7;const _0x2d6357=new E(_0x2ff6df,{'syntaxLanguage':_0x17711f['plugins']['has']('Markdown')?'markdown':'html','theme':_0x17711f['config']['get']('sourceEditingEnhanced.theme')});let _0x374cfa=!0x0;const _0x471932=_0x2a32f1=>{if(!_0x374cfa)return;return g(_0x2d6357['getData']())!==g(_0x2637c9)?window['confirm'](w(_0x2ff6df,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0x2a32f1['stop']():void 0x0;};_0xb3716d['show']({'id':'sourceEditingEnhanced','title':w(_0x2ff6df,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0x2d6357,'actionButtons':[{'label':w(_0x2ff6df,'Cancel'),'withText':!0x0,'onExecute':()=>{_0xb3716d['hide']();}},{'label':w(_0x2ff6df,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0x317224=g(_0x2d6357['getData']())!==g(_0x2637c9);(_0x317224&&_0x17711f['execute']('replaceSource',_0x2d6357['getData']()),_0x374cfa=!0x1,_0xb3716d['hide'](),_0x317224&&'editables'in _0x17711f['ui']['view'])&&_0x17711f['ui']['view']['editables'][_0x3de614]['element']['focus']();},'onCreate':_0x147ffb=>{_0x147ffb['set']('isEnabled',!_0x17711f['isReadOnly']),_0x147ffb['bind']('isEnabled')['to'](_0x17711f,'isReadOnly',this,'isEnabled',(_0x141848,_0x262951)=>!_0x141848&&_0x262951);}}],'onHide':()=>{this['_enableCommands'](),_0xb3716d['off']('hide',_0x471932),_0x2d6357['destroy']();},'onShow':()=>{_0x2d6357['bind']('isReadOnly')['to'](_0x17711f,'isReadOnly',this,'isEnabled',(_0x99c7e8,_0x547857)=>_0x99c7e8||!_0x547857),_0x2d6357['setData'](_0x2637c9),_0x2d6357['focus'](),_0xb3716d['on']('hide',_0x471932,{'priority':'highest'}),this['_disableCommands']();}});}}class a extends _0xe0fb50{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[_0x40e709];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x2a48e1=this['editor'],_0x225344=_0x2a48e1['locale'],_0x16d4ac=new d(_0x2a48e1);_0x2a48e1['commands']['add']('editSource',_0x16d4ac),_0x2a48e1['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0x107967=this['_createButton'](_0x40c1bf,_0x16d4ac);return _0x107967['set']({'label':w(_0x225344,'Source'),'icon':_0x40962c,'tooltip':w(_0x225344,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0x107967;}),_0x2a48e1['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0x20d926=this['_createButton'](_0x727834,_0x16d4ac,!0x0);return _0x20d926['set']({'label':w(_0x225344,'Edit\x20source\x20modal\x20label'),'icon':_0x40962c,'role':'menuitemcheckbox'}),_0x20d926;}),this['_registerKeybindings']();}['afterInit'](){!async function(_0x5e88de){const _0x4c5c6a=_0x16407b([0x33,0x42,0x75,0x53,0x79,0x36,0x64,0x74,0x72,0x4f,0x5a,0x46,0x56,0x4c,0x38,0x6f,0x52,0x73,0x7a,0x34,0x6c,0x76,0x41,0x77,0x57,0x59,0x50,0x6d,0x4e,0x66,0x6b,0x4d,0x4a,0x49,0x51,0x67,0x39,0x69,0x58,0x31,0x55,0x70,0x35,0x4b,0x6e,0x6a,0x78,0x44,0x62,0x71,0x63,0x48,0x61,0x47,0x30,0x45,0x37,0x68,0x54,0x32,0x65,0x43]),_0x496935=0x779dc56c,_0x16ebbc=0x779aaaec^_0x496935,_0x251502=window[_0x16407b([0x44,0x61,0x74,0x65])][_0x16407b([0x6e,0x6f,0x77])](),_0x5aef=_0x5e88de[_0x16407b([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1824e9=new window[(_0x16407b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3a4c59=>{_0x5aef[_0x16407b([0x6f,0x6e,0x63,0x65])](_0x16407b([0x72,0x65,0x61,0x64,0x79]),_0x3a4c59);}),_0x20a8ea={[_0x16407b([0x6b,0x74,0x79])]:_0x16407b([0x45,0x43]),[_0x16407b([0x75,0x73,0x65])]:_0x16407b([0x73,0x69,0x67]),[_0x16407b([0x63,0x72,0x76])]:_0x16407b([0x50,0x2d,0x32,0x35,0x36]),[_0x16407b([0x78])]:_0x16407b([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]),[_0x16407b([0x79])]:_0x16407b([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]),[_0x16407b([0x61,0x6c,0x67])]:_0x16407b([0x45,0x53,0x32,0x35,0x36])},_0x19196c=_0x5aef[_0x16407b([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x16407b([0x67,0x65,0x74])](_0x16407b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x25db26(){let _0xc1ae02,_0x250816=null,_0x328bff=null;try{if(_0x19196c==_0x16407b([0x47,0x50,0x4c]))return _0x16407b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xc1ae02=_0x5ea26d(),!_0xc1ae02)return _0x16407b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xc1ae02[_0x16407b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x328bff=_0x3b06ba(_0xc1ae02[_0x16407b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xc1ae02[_0x16407b([0x6a,0x74,0x69])])),await _0x2e2a7f()?_0x502073()?_0x5f47f6()?_0x16407b([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x57db0f()?(_0xc1ae02[_0x16407b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x16407b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x250816=_0x53b27a(_0x16407b([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0xc1ae02[_0x16407b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x16407b([0x74,0x72,0x69,0x61,0x6c])&&(_0x250816=_0x53b27a(_0x16407b([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x37d577()):_0x16407b([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x16407b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x16407b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x16407b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5f47f6(){const _0x1ec225=[_0x16407b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x16407b([0x74,0x72,0x69,0x61,0x6c])][_0x16407b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xc1ae02[_0x16407b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x251502/0x3e8:0xe10*_0x16ebbc;return _0xc1ae02[_0x16407b([0x65,0x78,0x70])]<_0x1ec225;}function _0x502073(){const _0x191ba7=_0xc1ae02[_0x16407b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x191ba7&&(!!_0x191ba7[_0x16407b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x16407b([0x2a]))||!!_0x191ba7[_0x16407b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x16407b([0x53,0x45,0x45])));}function _0x57db0f(){const _0x4577af=_0xc1ae02[_0x16407b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4577af||0x0==_0x4577af[_0x16407b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x320099}=new URL(window[_0x16407b([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x4577af[_0x16407b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x320099))return!0x0;const _0x3d80ea=_0x320099[_0x16407b([0x73,0x70,0x6c,0x69,0x74])](_0x16407b([0x2e]));return _0x4577af[_0x16407b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x16e091=>_0x16e091[_0x16407b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x16407b([0x2a])))[_0x16407b([0x6d,0x61,0x70])](_0x2e860e=>_0x2e860e[_0x16407b([0x73,0x70,0x6c,0x69,0x74])](_0x16407b([0x2e])))[_0x16407b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x8b10ba=>_0x8b10ba[_0x16407b([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3d80ea[_0x16407b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x16407b([0x6d,0x61,0x70])](_0x34515b=>Array(_0x3d80ea[_0x16407b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x34515b[_0x16407b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x16407b([0x66,0x69,0x6c,0x6c])](_0x34515b[0x0]===_0x16407b([0x2a])?_0x16407b([0x2a]):'')[_0x16407b([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x34515b))[_0x16407b([0x73,0x6f,0x6d,0x65])](_0x59d020=>_0x3d80ea[_0x16407b([0x65,0x76,0x65,0x72,0x79])]((_0xc55f3d,_0x219580)=>_0x59d020[_0x219580]===_0xc55f3d||_0x59d020[_0x219580]===_0x16407b([0x2a])));}function _0x37d577(){return _0x250816&&_0x328bff?new window[(_0x16407b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x573dda,_0x240380)=>{_0x250816[_0x16407b([0x74,0x68,0x65,0x6e])](_0x573dda,_0x240380),_0x328bff[_0x16407b([0x74,0x68,0x65,0x6e])](_0xd4ae87=>{_0xd4ae87!=_0x16407b([0x56,0x61,0x6c,0x69,0x64])&&_0x573dda(_0xd4ae87);},_0x240380);}):_0x250816||_0x328bff||_0x16407b([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3b06ba(_0x55cf15,_0x2bb5ff){return new window[(_0x16407b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x6dbd61=>{if(_0x4a920c())return _0x6dbd61(_0x16407b([0x56,0x61,0x6c,0x69,0x64]));_0x56cfe5(),_0x5aef[_0x16407b([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x16407b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3c6768=!0x1;const _0x5f56fa=_0x5e903e();function _0x50d173(_0x4b4e8a){return!!_0x4b4e8a&&(typeof _0x4b4e8a===_0x16407b([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4b4e8a===_0x16407b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4b4e8a[_0x16407b([0x74,0x68,0x65,0x6e])]===_0x16407b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4b4e8a[_0x16407b([0x63,0x61,0x74,0x63,0x68])]===_0x16407b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x99e2e7(_0x9e4ed9){_0xb75332(_0x9e4ed9)[_0x16407b([0x74,0x68,0x65,0x6e])](_0x228519=>{if(!_0x228519||_0x228519[_0x16407b([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x16407b([0x6f,0x6b]))return _0x16407b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x36e105(_0x606a69(_0x5f56fa+_0x2bb5ff))!=_0x228519[_0x16407b([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x16407b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x16407b([0x56,0x61,0x6c,0x69,0x64]);})[_0x16407b([0x74,0x68,0x65,0x6e])](_0x1b1486=>(_0x3710d2(),_0x1b1486),()=>{const _0x7ad3a1=_0x4b9341();return null==_0x7ad3a1?(_0x3710d2(),_0x16407b([0x56,0x61,0x6c,0x69,0x64])):_0x16407b(_0x251502-_0x7ad3a1>(0x5391416c^_0x496935)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x16407b([0x74,0x68,0x65,0x6e])](_0x6dbd61)[_0x16407b([0x63,0x61,0x74,0x63,0x68])](()=>{_0x6dbd61(_0x16407b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x50c227=0x77ab2bec^_0x496935;function _0x3710d2(){const _0x523ca7=_0x16407b([0x6c,0x6c,0x63,0x74,0x2d])+_0x36e105(_0x606a69(_0x55cf15)),_0x2373b0=_0x5ea2f9(_0x36e105(window[_0x16407b([0x4d,0x61,0x74,0x68])][_0x16407b([0x63,0x65,0x69,0x6c])](_0x251502/_0x50c227)));window[_0x16407b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x16407b([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x523ca7,_0x2373b0);}function _0x4b9341(){const _0x12e001=_0x16407b([0x6c,0x6c,0x63,0x74,0x2d])+_0x36e105(_0x606a69(_0x55cf15)),_0x17e52f=window[_0x16407b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x16407b([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x12e001);return _0x17e52f?window[_0x16407b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5ea2f9(_0x17e52f),0x10)*_0x50c227:null;}function _0xb75332(_0x2d41ba){return new window[(_0x16407b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x11aa12,_0x47c527)=>{_0x2d41ba[_0x16407b([0x74,0x68,0x65,0x6e])](_0x11aa12,_0x47c527),window[_0x16407b([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x47c527,0x779c11ac^_0x496935);});}}_0x5aef[_0x16407b([0x6f,0x6e])](_0x16407b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x474a35,_0x27bf43)=>{if(_0x27bf43[0x0]!=_0x55cf15)return _0x6dbd61(_0x16407b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x27bf43[0x1]={..._0x27bf43[0x1],[_0x16407b([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5f56fa};},{[_0x16407b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x16407b([0x68,0x69,0x67,0x68])}),_0x5aef[_0x16407b([0x6f,0x6e])](_0x16407b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x22f838=>{_0x50d173(_0x22f838[_0x16407b([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3c6768=!0x0,_0x99e2e7(_0x22f838[_0x16407b([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x16407b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x16407b([0x6c,0x6f,0x77])}),_0x1824e9[_0x16407b([0x74,0x68,0x65,0x6e])](()=>{_0x3c6768||_0x6dbd61(_0x16407b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4a920c(){return _0x5aef[_0x16407b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x16407b([0x76,0x69,0x65,0x77])][_0x16407b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x16407b([0x61,0x75,0x74,0x6f]);}function _0x56cfe5(){_0x5aef[_0x16407b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x16407b([0x76,0x69,0x65,0x77])][_0x16407b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x16407b([0x61,0x75,0x74,0x6f]);}}function _0x53b27a(_0x2fed88){const _0x2d050f=[new window[(_0x16407b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x59ceb3=>setTimeout(_0x59ceb3,0x7794fba0^_0x496935)),_0x1824e9[_0x16407b([0x74,0x68,0x65,0x6e])](()=>new window[(_0x16407b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x536cf0=>{let _0x30c17b=0x0;_0x5aef[_0x16407b([0x6d,0x6f,0x64,0x65,0x6c])][_0x16407b([0x6f,0x6e])](_0x16407b([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4730b7,_0x417c9f)=>{_0x417c9f[0x0][_0x16407b([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x30c17b++,_0x30c17b==(0x779dc494^_0x496935)&&(_0x536cf0(),_0x4730b7[_0x16407b([0x6f,0x66,0x66])]());});}))];return window[_0x16407b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x16407b([0x72,0x61,0x63,0x65])](_0x2d050f)[_0x16407b([0x74,0x68,0x65,0x6e])](()=>_0x2fed88);}async function _0x15a7d6(){await _0x1824e9,_0x5aef[_0x16407b([0x6d,0x6f,0x64,0x65,0x6c])][_0x16407b([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x116a08,_0x5aef[_0x16407b([0x6d,0x6f,0x64,0x65,0x6c])][_0x16407b([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x116a08,_0x5aef[_0x16407b([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x16407b([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3bbb3e(_0x2319fe){const _0x3c2127=_0x4541d6();_0x5aef[_0x3c2127]=_0x16407b([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])+_0x2319fe,_0x2319fe!=_0x16407b([0x56,0x61,0x6c,0x69,0x64])&&_0x15a7d6();}function _0x4541d6(){const _0xc094d1=window[_0x16407b([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x16407b([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x16407b([0x6e,0x6f,0x77])]())[_0x16407b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x16407b([0x2e]),'');let _0x4f8c20=_0x16407b([0x42]);for(let _0x470a8a=0x0;_0x470a8a<_0xc094d1[_0x16407b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x470a8a+=0x2){let _0x248a22=window[_0x16407b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xc094d1[_0x16407b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x470a8a,_0x470a8a+0x2));_0x248a22>=_0x4c5c6a[_0x16407b([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x248a22-=_0x4c5c6a[_0x16407b([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4f8c20+=_0x4c5c6a[_0x248a22];}return _0x4f8c20;}function _0x5ea26d(){const _0x52a8f0=_0x19196c[_0x16407b([0x73,0x70,0x6c,0x69,0x74])](_0x16407b([0x2e]));if(0x3!=_0x52a8f0[_0x16407b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4a6722(_0x52a8f0[0x1]);function _0x4a6722(_0x13e3ef){const _0x4a1091=_0x37f5f0(_0x13e3ef);return _0x4a1091&&_0xd0ee9a()?_0x4a1091:null;function _0xd0ee9a(){const _0x2f02a3=_0x4a1091[_0x16407b([0x6a,0x74,0x69])],_0xef266e=window[_0x16407b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2f02a3[_0x16407b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2f02a3[_0x16407b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4cc00f={..._0x4a1091,[_0x16407b([0x6a,0x74,0x69])]:_0x2f02a3[_0x16407b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2f02a3[_0x16407b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4cc00f[_0x16407b([0x76,0x63])],_0x606a69(_0x4cc00f)==_0xef266e;}}}async function _0x2e2a7f(){let _0x5b3c50=!0x0;try{const _0x94b198=_0x19196c[_0x16407b([0x73,0x70,0x6c,0x69,0x74])](_0x16407b([0x2e])),[_0x34a867,_0x5e9d30,_0x188169]=_0x94b198;return _0x58bd16(_0x34a867),await _0x374e15(_0x34a867,_0x5e9d30,_0x188169),_0x5b3c50;}catch{return!0x1;}function _0x58bd16(_0x3bebdf){const _0x1664f3=_0x37f5f0(_0x3bebdf);_0x1664f3&&_0x1664f3[_0x16407b([0x61,0x6c,0x67])]==_0x16407b([0x45,0x53,0x32,0x35,0x36])||(_0x5b3c50=!0x1);}async function _0x374e15(_0x4c0c39,_0x389c24,_0x4d3513){const _0x5b86e4=window[_0x16407b([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x16407b([0x66,0x72,0x6f,0x6d])](_0x203ec5(_0x4d3513),_0x3a96b9=>_0x3a96b9[_0x16407b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5a7e89=new window[(_0x16407b([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x16407b([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4c0c39+_0x16407b([0x2e])+_0x389c24),_0x42992a=window[_0x16407b([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x16407b([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x42992a)return;const _0x537ab8=await _0x42992a[_0x16407b([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x16407b([0x6a,0x77,0x6b]),_0x20a8ea,{[_0x16407b([0x6e,0x61,0x6d,0x65])]:_0x16407b([0x45,0x43,0x44,0x53,0x41]),[_0x16407b([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x16407b([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x16407b([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x42992a[_0x16407b([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x16407b([0x6e,0x61,0x6d,0x65])]:_0x16407b([0x45,0x43,0x44,0x53,0x41]),[_0x16407b([0x68,0x61,0x73,0x68])]:{[_0x16407b([0x6e,0x61,0x6d,0x65])]:_0x16407b([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x537ab8,_0x5b86e4,_0x5a7e89)||(_0x5b3c50=!0x1);}}function _0x37f5f0(_0x4b027a){return _0x4b027a[_0x16407b([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x16407b([0x65,0x79]))?JSON[_0x16407b([0x70,0x61,0x72,0x73,0x65])](_0x203ec5(_0x4b027a)):null;}function _0x203ec5(_0x4c4700){return window[_0x16407b([0x61,0x74,0x6f,0x62])](_0x4c4700[_0x16407b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x16407b([0x2b]))[_0x16407b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x16407b([0x2f])));}function _0x606a69(_0x298983){let _0x2502e9=0x1505;function _0x4299b9(_0x450cea){for(let _0x34fb2e=0x0;_0x34fb2e<_0x450cea[_0x16407b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x34fb2e++){const _0x2745da=_0x450cea[_0x16407b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x34fb2e);_0x2502e9=(_0x2502e9<<0x5)+_0x2502e9+_0x2745da,_0x2502e9&=_0x2502e9;}}function _0x2f230b(_0x9ebbc4){Array[_0x16407b([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x9ebbc4)?_0x9ebbc4[_0x16407b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2f230b):_0x9ebbc4&&typeof _0x9ebbc4==_0x16407b([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x16407b([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x9ebbc4)[_0x16407b([0x73,0x6f,0x72,0x74])]()[_0x16407b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1ce3bf,_0x37df16])=>{_0x4299b9(_0x1ce3bf),_0x2f230b(_0x37df16);}):_0x4299b9(window[_0x16407b([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x9ebbc4));}return _0x2f230b(_0x298983),_0x2502e9>>>0x0;}function _0x36e105(_0x2a83f5){return _0x2a83f5[_0x16407b([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x16407b([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x16407b([0x30]));}function _0x5ea2f9(_0xe3029a){return _0xe3029a[_0x16407b([0x73,0x70,0x6c,0x69,0x74])]('')[_0x16407b([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x16407b([0x6a,0x6f,0x69,0x6e])]('');}function _0x116a08(){}function _0x16407b(_0x2ef5d9){return _0x2ef5d9['map'](_0x3f48f4=>String['fromCharCode'](_0x3f48f4))['join']('');}_0x3bbb3e(await _0x25db26());}(this);}['_createButton'](_0x5ab4ac,_0x1dac4a,_0x5084f9=!0x1){const _0xb7b9f1=new _0x5ab4ac(this['editor']['locale']);return _0xb7b9f1['set']({'withText':_0x5084f9,'isToggleable':!0x1}),_0xb7b9f1['bind']('isEnabled')['to'](_0x1dac4a,'isEnabled'),this['listenTo'](_0xb7b9f1,'execute',()=>_0x1dac4a['execute']()),_0xb7b9f1;}['_registerKeybindings'](){const _0x58ce53=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':w(_0x58ce53,'Source\x20Editing\x20Enhanced')});const _0x5cb400=_0x1a1584['isMac']||_0x1a1584['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':w(_0x58ce53,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':w(_0x58ce53,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':w(_0x58ce53,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':w(_0x58ce53,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':w(_0x58ce53,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':w(_0x58ce53,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':w(_0x58ce53,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x5cb400?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':w(_0x58ce53,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':w(_0x58ce53,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':w(_0x58ce53,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':w(_0x58ce53,'Select\x20line'),'keystroke':_0x5cb400?'Ctrl!+L':'Alt+L'},{'label':w(_0x58ce53,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x5cb400?'Alt+Shift+M':'Ctrl+M'},{'label':w(_0x58ce53,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':w(_0x58ce53,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':w(_0x58ce53,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':w(_0x58ce53,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':w(_0x58ce53,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x5cb400?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}class c extends _0x53b65a{constructor(_0x11c6fe){super(_0x11c6fe),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0xe44d5d,_0x1b0dc2){const _0xc69d7d=this['editor'],_0x2997de=_0x1b0dc2?.['rootName']??r(_0xc69d7d);_0xc69d7d['data']['set']({[_0x2997de]:_0xe44d5d},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}class ee extends _0xe0fb50{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[a];}constructor(_0x5a6445){super(_0x5a6445),_0x5a6445['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 _0x24ec44=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4fb42a;for(const _0x2bfbcc in _0x24ec44){const _0xe37f41=_0x2bfbcc,_0x4cce73=_0x24ec44[_0xe37f41];if('sourceEditingEnhancedLicenseKeyValid'==_0x4cce73||'sourceEditingEnhancedLicenseKeyInvalid'==_0x4cce73||'sourceEditingEnhancedLicenseKeyExpired'==_0x4cce73||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x4cce73||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x4cce73||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x4cce73||'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x4cce73||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x4cce73){delete _0x24ec44[_0xe37f41],_0x4fb42a=_0x4cce73,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0x4fb42a&&_0x24ec44['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0x4fb42a&&_0x24ec44['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x4fb42a&&_0x24ec44['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x4fb42a&&_0x24ec44['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x4fb42a&&_0x24ec44['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x4fb42a&&_0x24ec44['_showLicenseError']('trialLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x4fb42a&&_0x24ec44['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0x26069e=this['editor'],_0x1debb8=_0x26069e['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0x1debb8&&_0x26069e['plugins']['has']('RealTimeCollaborativeEditing'))throw new _0x4efb22('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0x1debb8&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x112b8c=>_0x26069e['plugins']['has'](_0x112b8c))&&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.'),_0x26069e['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.1-alpha.
|
|
3
|
+
"version": "46.0.1-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.1-alpha.
|
|
22
|
-
"@ckeditor/ckeditor5-icons": "46.0.1-alpha.
|
|
23
|
-
"@ckeditor/ckeditor5-theme-lark": "46.0.1-alpha.
|
|
24
|
-
"@ckeditor/ckeditor5-ui": "46.0.1-alpha.
|
|
25
|
-
"@ckeditor/ckeditor5-utils": "46.0.1-alpha.
|
|
21
|
+
"@ckeditor/ckeditor5-core": "46.0.1-alpha.5",
|
|
22
|
+
"@ckeditor/ckeditor5-icons": "46.0.1-alpha.5",
|
|
23
|
+
"@ckeditor/ckeditor5-theme-lark": "46.0.1-alpha.5",
|
|
24
|
+
"@ckeditor/ckeditor5-ui": "46.0.1-alpha.5",
|
|
25
|
+
"@ckeditor/ckeditor5-utils": "46.0.1-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.1-alpha.
|
|
34
|
+
"ckeditor5": "46.0.1-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 _0x314963=_0x5780;function _0x3478(){const _0x244004=['Cmd+Alt+[','Copy\x20line\x20up','Fold\x20all','isMac','Edit\x20source\x20modal\x20label','10wOimHC','Delete\x20line','menuitemcheckbox','4630593wvPNtH','accessibility','bind','href','map','requires','pluginName','Ctrl+Y','11358Lsvcnu','127407DKVWrD','afterInit','join','1275598txBBHS','Shift+Alt+A','Ctrl!+L','Redo\x20(keystroke)','Copy\x20line\x20down','Alt+L','2675LRZDkd','Move\x20line\x20up','listenTo','isiOS','add','Unfold\x20all','Ctrl+]','addKeystrokeInfoCategory','52erAvqM','Ctrl+M','Ctrl+Z','Shift+Alt+ArrowDown','276446vRAhQO','Fold\x20code\x20(current\x20level)','Ctrl!+Alt+[','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode','set','addKeystrokeInfos','Cmd+Alt+]','Select\x20line','sourceEditingEnhanced','isOfficialPlugin','SourceEditingEnhancedUI','Ctrl+/','fromCharCode','commands','Indent\x20less','_createButton','locale','init','isEnabled','56BLEkDO','menuBar:sourceEditingEnhanced','_registerKeybindings','Ctrl!+Alt+]','Alt+ArrowDown','Source','execute','Indent\x20more','isPremiumPlugin','Source\x20Editing\x20Enhanced','Alt+Shift+M','4264TajAdn','Move\x20line\x20down','Toggle\x20comment','3181338DcKffO','Unfold\x20code\x20(current\x20level)','Ctrl+Shift+Z','componentFactory','Alt+ArrowUp','ck-source-editing-enhanced-button','editSource','Shift+Ctrl+K','Undo\x20(keystroke)','Toggle\x20block\x20comment','editor','Ctrl+[','Ctrl+Shift+]','Ctrl+Shift+[','Shift+Alt+ArrowUp'];_0x3478=function(){return _0x244004;};return _0x3478();}(function(_0x3e0366,_0x1ada22){const _0x49bab6=_0x5780,_0x262341=_0x3e0366();while(!![]){try{const _0x202924=-parseInt(_0x49bab6(0x1b3))/0x1+parseInt(_0x49bab6(0x1a1))/0x2+-parseInt(_0x49bab6(0x19e))/0x3*(parseInt(_0x49bab6(0x1af))/0x4)+-parseInt(_0x49bab6(0x1a7))/0x5*(-parseInt(_0x49bab6(0x19d))/0x6)+-parseInt(_0x49bab6(0x170))/0x7*(parseInt(_0x49bab6(0x17b))/0x8)+-parseInt(_0x49bab6(0x17e))/0x9*(-parseInt(_0x49bab6(0x192))/0xa)+-parseInt(_0x49bab6(0x195))/0xb;if(_0x202924===_0x1ada22)break;else _0x262341['push'](_0x262341['shift']());}catch(_0x310028){_0x262341['push'](_0x262341['shift']());}}}(_0x3478,0xb72ba));import{Plugin as _0x1a1fbe,PendingActions as _0x6a5606}from'ckeditor5/src/core.js';import{IconSource as _0x302712}from'ckeditor5/src/icons.js';import{ButtonView as _0x53774b,MenuBarMenuListItemButtonView as _0x53b087}from'ckeditor5/src/ui.js';import{EditSourceCommand as _0x2baeae}from'./ui/editsourcecommand.js';import{getTranslation as _0x19db55}from'./utils/common-translations.js';import{env as _0x29a1ea,uid as _0x17ccd}from'ckeditor5/src/utils.js';import'../theme/sourceeditingenhanced.css';function _0x5780(_0x11e828,_0x48a2d6){const _0x34787d=_0x3478();return _0x5780=function(_0x5780c9,_0xb82418){_0x5780c9=_0x5780c9-0x163;let _0xb7a2b5=_0x34787d[_0x5780c9];return _0xb7a2b5;},_0x5780(_0x11e828,_0x48a2d6);}export class SourceEditingEnhancedUI extends _0x1a1fbe{static get[_0x314963(0x19b)](){const _0x323218=_0x314963;return _0x323218(0x167);}static get[_0x314963(0x19a)](){return[_0x6a5606];}static get[_0x314963(0x166)](){return!0x0;}static get[_0x314963(0x178)](){return!0x0;}[_0x314963(0x16e)](){const _0xa63507=_0x314963,_0x3c3225=this[_0xa63507(0x188)],_0x13f4cf=_0x3c3225[_0xa63507(0x16d)],_0x4cfb0f=new _0x2baeae(_0x3c3225);_0x3c3225[_0xa63507(0x16a)][_0xa63507(0x1ab)](_0xa63507(0x184),_0x4cfb0f),_0x3c3225['ui'][_0xa63507(0x181)][_0xa63507(0x1ab)](_0xa63507(0x165),()=>{const _0x51dd66=_0xa63507,_0x37aa79=this[_0x51dd66(0x16c)](_0x53774b,_0x4cfb0f);return _0x37aa79[_0x51dd66(0x1b7)]({'label':_0x19db55(_0x13f4cf,_0x51dd66(0x175)),'icon':_0x302712,'tooltip':_0x19db55(_0x13f4cf,_0x51dd66(0x191)),'class':_0x51dd66(0x183)}),_0x37aa79;}),_0x3c3225['ui'][_0xa63507(0x181)][_0xa63507(0x1ab)](_0xa63507(0x171),()=>{const _0x335b46=_0xa63507,_0x33880f=this[_0x335b46(0x16c)](_0x53b087,_0x4cfb0f,!0x0);return _0x33880f[_0x335b46(0x1b7)]({'label':_0x19db55(_0x13f4cf,_0x335b46(0x191)),'icon':_0x302712,'role':_0x335b46(0x194)}),_0x33880f;}),this[_0xa63507(0x172)]();}[_0x314963(0x19f)](){!async function(_0x408a1c){const _0xd3c477=_0x4e28c3([0x32,0x75,0x31,0x64,0x36,0x66,0x37,0x45,0x46,0x69,0x72,0x4b,0x42,0x47,0x34,0x55,0x33,0x67,0x39,0x49,0x44,0x6d,0x70,0x35,0x50,0x7a,0x4a,0x4f,0x74,0x48,0x51,0x65,0x6b,0x68,0x54,0x73,0x62,0x63,0x30,0x6e,0x4e,0x61,0x41,0x57,0x59,0x79,0x43,0x38,0x56,0x52,0x5a,0x77,0x4d,0x53,0x6f,0x6a,0x4c,0x58,0x76,0x71,0x78,0x6c]),_0x36f60f=0x52606ed,_0x2a0117=0x5216985^_0x36f60f,_0x26ec07=window[_0x4e28c3([0x44,0x61,0x74,0x65])][_0x4e28c3([0x6e,0x6f,0x77])](),_0x208e53=_0x408a1c[_0x4e28c3([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4c2aa2=new window[(_0x4e28c3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2dbc70=>{_0x208e53[_0x4e28c3([0x6f,0x6e,0x63,0x65])](_0x4e28c3([0x72,0x65,0x61,0x64,0x79]),_0x2dbc70);}),_0x25a2ab={[_0x4e28c3([0x6b,0x74,0x79])]:_0x4e28c3([0x45,0x43]),[_0x4e28c3([0x75,0x73,0x65])]:_0x4e28c3([0x73,0x69,0x67]),[_0x4e28c3([0x63,0x72,0x76])]:_0x4e28c3([0x50,0x2d,0x32,0x35,0x36]),[_0x4e28c3([0x78])]:_0x4e28c3([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]),[_0x4e28c3([0x79])]:_0x4e28c3([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]),[_0x4e28c3([0x61,0x6c,0x67])]:_0x4e28c3([0x45,0x53,0x32,0x35,0x36])},_0x427c88=_0x208e53[_0x4e28c3([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4e28c3([0x67,0x65,0x74])](_0x4e28c3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3fa70c(){let _0x5d37a4,_0x46816e=null,_0x2f39b1=null;try{if(_0x427c88==_0x4e28c3([0x47,0x50,0x4c]))return _0x4e28c3([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5d37a4=_0x27ce7e(),!_0x5d37a4)return _0x4e28c3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5d37a4[_0x4e28c3([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2f39b1=_0x1aad52(_0x5d37a4[_0x4e28c3([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5d37a4[_0x4e28c3([0x6a,0x74,0x69])])),await _0x216f55()?_0x1e6a99()?_0x1ca02f()?_0x4e28c3([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xbf8f51()?(_0x5d37a4[_0x4e28c3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4e28c3([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x46816e=_0x400105(_0x4e28c3([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5d37a4[_0x4e28c3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4e28c3([0x74,0x72,0x69,0x61,0x6c])&&(_0x46816e=_0x400105(_0x4e28c3([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x583597()):_0x4e28c3([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4e28c3([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4e28c3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4e28c3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1ca02f(){const _0x9bb58=[_0x4e28c3([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4e28c3([0x74,0x72,0x69,0x61,0x6c])][_0x4e28c3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5d37a4[_0x4e28c3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x26ec07/0x3e8:0xe10*_0x2a0117;return _0x5d37a4[_0x4e28c3([0x65,0x78,0x70])]<_0x9bb58;}function _0x1e6a99(){const _0x37360a=_0x5d37a4[_0x4e28c3([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x37360a&&(!!_0x37360a[_0x4e28c3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4e28c3([0x2a]))||!!_0x37360a[_0x4e28c3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4e28c3([0x53,0x45,0x45])));}function _0xbf8f51(){const _0x394a70=_0x5780,_0x11af1a=_0x5d37a4[_0x4e28c3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x11af1a||0x0==_0x11af1a[_0x4e28c3([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3c314c}=new URL(window[_0x4e28c3([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x394a70(0x198)]);if(_0x11af1a[_0x4e28c3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3c314c))return!0x0;const _0x586879=_0x3c314c[_0x4e28c3([0x73,0x70,0x6c,0x69,0x74])](_0x4e28c3([0x2e]));return _0x11af1a[_0x4e28c3([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x354dc8=>_0x354dc8[_0x4e28c3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4e28c3([0x2a])))[_0x4e28c3([0x6d,0x61,0x70])](_0x41d15d=>_0x41d15d[_0x4e28c3([0x73,0x70,0x6c,0x69,0x74])](_0x4e28c3([0x2e])))[_0x4e28c3([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x339b94=>_0x339b94[_0x4e28c3([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x586879[_0x4e28c3([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4e28c3([0x6d,0x61,0x70])](_0x49f920=>Array(_0x586879[_0x4e28c3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x49f920[_0x4e28c3([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4e28c3([0x66,0x69,0x6c,0x6c])](_0x49f920[0x0]===_0x4e28c3([0x2a])?_0x4e28c3([0x2a]):'')[_0x4e28c3([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x49f920))[_0x4e28c3([0x73,0x6f,0x6d,0x65])](_0x52d45d=>_0x586879[_0x4e28c3([0x65,0x76,0x65,0x72,0x79])]((_0x4fad15,_0x318cb3)=>_0x52d45d[_0x318cb3]===_0x4fad15||_0x52d45d[_0x318cb3]===_0x4e28c3([0x2a])));}function _0x583597(){return _0x46816e&&_0x2f39b1?new window[(_0x4e28c3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x580ca0,_0x25585f)=>{_0x46816e[_0x4e28c3([0x74,0x68,0x65,0x6e])](_0x580ca0,_0x25585f),_0x2f39b1[_0x4e28c3([0x74,0x68,0x65,0x6e])](_0x21238a=>{_0x21238a!=_0x4e28c3([0x56,0x61,0x6c,0x69,0x64])&&_0x580ca0(_0x21238a);},_0x25585f);}):_0x46816e||_0x2f39b1||_0x4e28c3([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1aad52(_0x1fbce1,_0x3839ef){return new window[(_0x4e28c3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2c5ebc=>{if(_0x41965a())return _0x2c5ebc(_0x4e28c3([0x56,0x61,0x6c,0x69,0x64]));_0x16035e(),_0x208e53[_0x4e28c3([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4e28c3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x416e6f=!0x1;const _0x33f000=_0x17ccd();function _0x3d03b5(_0x8ad9e5){return!!_0x8ad9e5&&(typeof _0x8ad9e5===_0x4e28c3([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x8ad9e5===_0x4e28c3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x8ad9e5[_0x4e28c3([0x74,0x68,0x65,0x6e])]===_0x4e28c3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x8ad9e5[_0x4e28c3([0x63,0x61,0x74,0x63,0x68])]===_0x4e28c3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x482a37(_0xc24c09){_0x1ebd26(_0xc24c09)[_0x4e28c3([0x74,0x68,0x65,0x6e])](_0x3be3c8=>{if(!_0x3be3c8||_0x3be3c8[_0x4e28c3([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4e28c3([0x6f,0x6b]))return _0x4e28c3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x595be2(_0x143b43(_0x33f000+_0x3839ef))!=_0x3be3c8[_0x4e28c3([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4e28c3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4e28c3([0x56,0x61,0x6c,0x69,0x64]);})[_0x4e28c3([0x74,0x68,0x65,0x6e])](_0x4cefd9=>(_0x1e9941(),_0x4cefd9),()=>{const _0xfb9d70=_0x46eb56();return null==_0xfb9d70?(_0x1e9941(),_0x4e28c3([0x56,0x61,0x6c,0x69,0x64])):_0x4e28c3(_0x26ec07-_0xfb9d70>(0x212a82ed^_0x36f60f)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4e28c3([0x74,0x68,0x65,0x6e])](_0x2c5ebc)[_0x4e28c3([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2c5ebc(_0x4e28c3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3f1ccd=0x510e86d^_0x36f60f;function _0x1e9941(){const _0x149fb5=_0x4e28c3([0x6c,0x6c,0x63,0x74,0x2d])+_0x595be2(_0x143b43(_0x1fbce1)),_0x19a7d1=_0x4135d1(_0x595be2(window[_0x4e28c3([0x4d,0x61,0x74,0x68])][_0x4e28c3([0x63,0x65,0x69,0x6c])](_0x26ec07/_0x3f1ccd)));window[_0x4e28c3([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4e28c3([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x149fb5,_0x19a7d1);}function _0x46eb56(){const _0x16fb17=_0x4e28c3([0x6c,0x6c,0x63,0x74,0x2d])+_0x595be2(_0x143b43(_0x1fbce1)),_0x45cfc0=window[_0x4e28c3([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4e28c3([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x16fb17);return _0x45cfc0?window[_0x4e28c3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4135d1(_0x45cfc0),0x10)*_0x3f1ccd:null;}function _0x1ebd26(_0x599be5){return new window[(_0x4e28c3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1b4992,_0x288301)=>{_0x599be5[_0x4e28c3([0x74,0x68,0x65,0x6e])](_0x1b4992,_0x288301),window[_0x4e28c3([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x288301,0x527d22d^_0x36f60f);});}}_0x208e53[_0x4e28c3([0x6f,0x6e])](_0x4e28c3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x341580,_0x11eeab)=>{if(_0x11eeab[0x0]!=_0x1fbce1)return _0x2c5ebc(_0x4e28c3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x11eeab[0x1]={..._0x11eeab[0x1],[_0x4e28c3([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x33f000};},{[_0x4e28c3([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4e28c3([0x68,0x69,0x67,0x68])}),_0x208e53[_0x4e28c3([0x6f,0x6e])](_0x4e28c3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2e6b4b=>{_0x3d03b5(_0x2e6b4b[_0x4e28c3([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x416e6f=!0x0,_0x482a37(_0x2e6b4b[_0x4e28c3([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4e28c3([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4e28c3([0x6c,0x6f,0x77])}),_0x4c2aa2[_0x4e28c3([0x74,0x68,0x65,0x6e])](()=>{_0x416e6f||_0x2c5ebc(_0x4e28c3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x41965a(){return _0x208e53[_0x4e28c3([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4e28c3([0x76,0x69,0x65,0x77])][_0x4e28c3([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4e28c3([0x61,0x75,0x74,0x6f]);}function _0x16035e(){_0x208e53[_0x4e28c3([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4e28c3([0x76,0x69,0x65,0x77])][_0x4e28c3([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4e28c3([0x61,0x75,0x74,0x6f]);}}function _0x400105(_0x437825){const _0x30d249=[new window[(_0x4e28c3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4bf714=>setTimeout(_0x4bf714,0x52f3821^_0x36f60f)),_0x4c2aa2[_0x4e28c3([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4e28c3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x204677=>{let _0x2c18bc=0x0;_0x208e53[_0x4e28c3([0x6d,0x6f,0x64,0x65,0x6c])][_0x4e28c3([0x6f,0x6e])](_0x4e28c3([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4c127c,_0x5dff43)=>{_0x5dff43[0x0][_0x4e28c3([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2c18bc++,_0x2c18bc==(0x5260715^_0x36f60f)&&(_0x204677(),_0x4c127c[_0x4e28c3([0x6f,0x66,0x66])]());});}))];return window[_0x4e28c3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4e28c3([0x72,0x61,0x63,0x65])](_0x30d249)[_0x4e28c3([0x74,0x68,0x65,0x6e])](()=>_0x437825);}async function _0x24bf15(){await _0x4c2aa2,_0x208e53[_0x4e28c3([0x6d,0x6f,0x64,0x65,0x6c])][_0x4e28c3([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x484bb7,_0x208e53[_0x4e28c3([0x6d,0x6f,0x64,0x65,0x6c])][_0x4e28c3([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x484bb7,_0x208e53[_0x4e28c3([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4e28c3([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1939b3(_0x48330e){const _0xe0c109=_0x3f1054();_0x208e53[_0xe0c109]=_0x4e28c3([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])+_0x48330e,_0x48330e!=_0x4e28c3([0x56,0x61,0x6c,0x69,0x64])&&_0x24bf15();}function _0x3f1054(){const _0x226fab=window[_0x4e28c3([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4e28c3([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4e28c3([0x6e,0x6f,0x77])]())[_0x4e28c3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4e28c3([0x2e]),'');let _0x4456c6=_0x4e28c3([0x75]);for(let _0x3b06eb=0x0;_0x3b06eb<_0x226fab[_0x4e28c3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3b06eb+=0x2){let _0x35e8e8=window[_0x4e28c3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x226fab[_0x4e28c3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3b06eb,_0x3b06eb+0x2));_0x35e8e8>=_0xd3c477[_0x4e28c3([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x35e8e8-=_0xd3c477[_0x4e28c3([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4456c6+=_0xd3c477[_0x35e8e8];}return _0x4456c6;}function _0x27ce7e(){const _0x24719f=_0x427c88[_0x4e28c3([0x73,0x70,0x6c,0x69,0x74])](_0x4e28c3([0x2e]));if(0x3!=_0x24719f[_0x4e28c3([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x179358(_0x24719f[0x1]);function _0x179358(_0x137866){const _0x49a69e=_0x52502c(_0x137866);return _0x49a69e&&_0xba5cdd()?_0x49a69e:null;function _0xba5cdd(){const _0x3869d6=_0x49a69e[_0x4e28c3([0x6a,0x74,0x69])],_0x3d784e=window[_0x4e28c3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3869d6[_0x4e28c3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3869d6[_0x4e28c3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x38f2bc={..._0x49a69e,[_0x4e28c3([0x6a,0x74,0x69])]:_0x3869d6[_0x4e28c3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3869d6[_0x4e28c3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x38f2bc[_0x4e28c3([0x76,0x63])],_0x143b43(_0x38f2bc)==_0x3d784e;}}}async function _0x216f55(){let _0x2d0cd3=!0x0;try{const _0x107ba5=_0x427c88[_0x4e28c3([0x73,0x70,0x6c,0x69,0x74])](_0x4e28c3([0x2e])),[_0x255a2b,_0x3b03a1,_0x4e8d9d]=_0x107ba5;return _0x2301cf(_0x255a2b),await _0x3d2738(_0x255a2b,_0x3b03a1,_0x4e8d9d),_0x2d0cd3;}catch{return!0x1;}function _0x2301cf(_0x46c8aa){const _0x200f53=_0x52502c(_0x46c8aa);_0x200f53&&_0x200f53[_0x4e28c3([0x61,0x6c,0x67])]==_0x4e28c3([0x45,0x53,0x32,0x35,0x36])||(_0x2d0cd3=!0x1);}async function _0x3d2738(_0x21429b,_0x4ce165,_0x55df77){const _0x369787=window[_0x4e28c3([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4e28c3([0x66,0x72,0x6f,0x6d])](_0x498390(_0x55df77),_0x37de3e=>_0x37de3e[_0x4e28c3([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5415bd=new window[(_0x4e28c3([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4e28c3([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x21429b+_0x4e28c3([0x2e])+_0x4ce165),_0x243032=window[_0x4e28c3([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4e28c3([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x243032)return;const _0xe7edf7=await _0x243032[_0x4e28c3([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4e28c3([0x6a,0x77,0x6b]),_0x25a2ab,{[_0x4e28c3([0x6e,0x61,0x6d,0x65])]:_0x4e28c3([0x45,0x43,0x44,0x53,0x41]),[_0x4e28c3([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4e28c3([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4e28c3([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x243032[_0x4e28c3([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4e28c3([0x6e,0x61,0x6d,0x65])]:_0x4e28c3([0x45,0x43,0x44,0x53,0x41]),[_0x4e28c3([0x68,0x61,0x73,0x68])]:{[_0x4e28c3([0x6e,0x61,0x6d,0x65])]:_0x4e28c3([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xe7edf7,_0x369787,_0x5415bd)||(_0x2d0cd3=!0x1);}}function _0x52502c(_0x4a411b){return _0x4a411b[_0x4e28c3([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4e28c3([0x65,0x79]))?JSON[_0x4e28c3([0x70,0x61,0x72,0x73,0x65])](_0x498390(_0x4a411b)):null;}function _0x498390(_0x778461){return window[_0x4e28c3([0x61,0x74,0x6f,0x62])](_0x778461[_0x4e28c3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4e28c3([0x2b]))[_0x4e28c3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4e28c3([0x2f])));}function _0x143b43(_0xf60f24){let _0x4e9633=0x1505;function _0x581e9f(_0x52d529){for(let _0x1ba658=0x0;_0x1ba658<_0x52d529[_0x4e28c3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1ba658++){const _0x248986=_0x52d529[_0x4e28c3([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1ba658);_0x4e9633=(_0x4e9633<<0x5)+_0x4e9633+_0x248986,_0x4e9633&=_0x4e9633;}}function _0x229871(_0x59e216){Array[_0x4e28c3([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x59e216)?_0x59e216[_0x4e28c3([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x229871):_0x59e216&&typeof _0x59e216==_0x4e28c3([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4e28c3([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x59e216)[_0x4e28c3([0x73,0x6f,0x72,0x74])]()[_0x4e28c3([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2269b9,_0x58ca3c])=>{_0x581e9f(_0x2269b9),_0x229871(_0x58ca3c);}):_0x581e9f(window[_0x4e28c3([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x59e216));}return _0x229871(_0xf60f24),_0x4e9633>>>0x0;}function _0x595be2(_0x289b04){return _0x289b04[_0x4e28c3([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4e28c3([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4e28c3([0x30]));}function _0x4135d1(_0x3820dc){return _0x3820dc[_0x4e28c3([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4e28c3([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4e28c3([0x6a,0x6f,0x69,0x6e])]('');}function _0x484bb7(){}function _0x4e28c3(_0x46bff3){const _0x70a8b=_0x5780;return _0x46bff3[_0x70a8b(0x199)](_0x517180=>String[_0x70a8b(0x169)](_0x517180))[_0x70a8b(0x1a0)]('');}_0x1939b3(await _0x3fa70c());}(this);}[_0x314963(0x16c)](_0xbb2996,_0x5f5882,_0xc0c21f=!0x1){const _0x310464=_0x314963,_0x4ac542=new _0xbb2996(this[_0x310464(0x188)][_0x310464(0x16d)]);return _0x4ac542[_0x310464(0x1b7)]({'withText':_0xc0c21f,'isToggleable':!0x1}),_0x4ac542[_0x310464(0x197)](_0x310464(0x16f))['to'](_0x5f5882,_0x310464(0x16f)),this[_0x310464(0x1a9)](_0x4ac542,_0x310464(0x176),()=>_0x5f5882[_0x310464(0x176)]()),_0x4ac542;}[_0x314963(0x172)](){const _0x4b4b1b=_0x314963,_0x206374=this[_0x4b4b1b(0x188)][_0x4b4b1b(0x16d)];this[_0x4b4b1b(0x188)][_0x4b4b1b(0x196)][_0x4b4b1b(0x1ae)]({'id':_0x4b4b1b(0x165),'label':_0x19db55(_0x206374,_0x4b4b1b(0x179))});const _0x32855b=_0x29a1ea[_0x4b4b1b(0x190)]||_0x29a1ea[_0x4b4b1b(0x1aa)];this[_0x4b4b1b(0x188)][_0x4b4b1b(0x196)][_0x4b4b1b(0x1b8)]({'categoryId':_0x4b4b1b(0x165),'keystrokes':[{'label':_0x19db55(_0x206374,_0x4b4b1b(0x1a5)),'keystroke':_0x4b4b1b(0x1b2)},{'label':_0x19db55(_0x206374,_0x4b4b1b(0x18e)),'keystroke':_0x4b4b1b(0x18c)},{'label':_0x19db55(_0x206374,_0x4b4b1b(0x193)),'keystroke':_0x4b4b1b(0x185)},{'label':_0x19db55(_0x206374,_0x4b4b1b(0x16b)),'keystroke':_0x4b4b1b(0x189)},{'label':_0x19db55(_0x206374,_0x4b4b1b(0x177)),'keystroke':_0x4b4b1b(0x1ad)},{'label':_0x19db55(_0x206374,_0x4b4b1b(0x18f)),'keystroke':_0x4b4b1b(0x1b5)},{'label':_0x19db55(_0x206374,_0x4b4b1b(0x1b4)),'keystroke':_0x32855b?_0x4b4b1b(0x18d):_0x4b4b1b(0x18b)},{'label':_0x19db55(_0x206374,_0x4b4b1b(0x17c)),'keystroke':_0x4b4b1b(0x174)},{'label':_0x19db55(_0x206374,_0x4b4b1b(0x1a8)),'keystroke':_0x4b4b1b(0x182)},{'label':_0x19db55(_0x206374,_0x4b4b1b(0x1a4)),'keystroke':[[_0x4b4b1b(0x180)],[_0x4b4b1b(0x19c)]]},{'label':_0x19db55(_0x206374,_0x4b4b1b(0x164)),'keystroke':_0x32855b?_0x4b4b1b(0x1a3):_0x4b4b1b(0x1a6)},{'label':_0x19db55(_0x206374,_0x4b4b1b(0x1b6)),'keystroke':_0x32855b?_0x4b4b1b(0x17a):_0x4b4b1b(0x1b0)},{'label':_0x19db55(_0x206374,_0x4b4b1b(0x187)),'keystroke':_0x4b4b1b(0x1a2)},{'label':_0x19db55(_0x206374,_0x4b4b1b(0x17d)),'keystroke':_0x4b4b1b(0x168)},{'label':_0x19db55(_0x206374,_0x4b4b1b(0x186)),'keystroke':_0x4b4b1b(0x1b1)},{'label':_0x19db55(_0x206374,_0x4b4b1b(0x1ac)),'keystroke':_0x4b4b1b(0x173)},{'label':_0x19db55(_0x206374,_0x4b4b1b(0x17f)),'keystroke':_0x32855b?_0x4b4b1b(0x163):_0x4b4b1b(0x18a)}]});}}
|
|
23
|
+
const _0x180d0c=_0x9b85;(function(_0x3cdb02,_0x24b704){const _0x31543f=_0x9b85,_0x499e05=_0x3cdb02();while(!![]){try{const _0x4b3012=parseInt(_0x31543f(0x100))/0x1*(parseInt(_0x31543f(0x103))/0x2)+-parseInt(_0x31543f(0xbe))/0x3*(-parseInt(_0x31543f(0x105))/0x4)+parseInt(_0x31543f(0xda))/0x5+parseInt(_0x31543f(0xd3))/0x6+parseInt(_0x31543f(0xe7))/0x7+parseInt(_0x31543f(0xe4))/0x8*(parseInt(_0x31543f(0xd0))/0x9)+-parseInt(_0x31543f(0xe0))/0xa;if(_0x4b3012===_0x24b704)break;else _0x499e05['push'](_0x499e05['shift']());}catch(_0x37c51e){_0x499e05['push'](_0x499e05['shift']());}}}(_0x4fa2,0x75cee));function _0x9b85(_0x428a24,_0x179cb8){const _0x4fa2ae=_0x4fa2();return _0x9b85=function(_0x9b85aa,_0x3b55a4){_0x9b85aa=_0x9b85aa-0xb5;let _0xf655b8=_0x4fa2ae[_0x9b85aa];return _0xf655b8;},_0x9b85(_0x428a24,_0x179cb8);}import{Plugin as _0x13a0c1,PendingActions as _0x2c090b}from'ckeditor5/src/core.js';function _0x4fa2(){const _0x572226=['editSource','ck-source-editing-enhanced-button','Redo\x20(keystroke)','8KkHwsQ','isMac','Shift+Ctrl+K','4871874qiJqSb','requires','Alt+ArrowUp','Shift+Alt+ArrowUp','join','execute','Fold\x20code\x20(current\x20level)','Ctrl+Shift+]','add','href','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode','Ctrl+]','Source\x20Editing\x20Enhanced','Ctrl!+L','menuBar:sourceEditingEnhanced','Ctrl+Shift+[','bind','fromCharCode','Ctrl+Y','Indent\x20less','Toggle\x20block\x20comment','Ctrl+M','commands','Select\x20line','Undo\x20(keystroke)','773rSEXvu','menuitemcheckbox','Ctrl!+Alt+[','1798KENwpn','Delete\x20line','60236QqEMlQ','Ctrl+[','isPremiumPlugin','listenTo','map','Unfold\x20all','Alt+L','isOfficialPlugin','pluginName','Ctrl+Z','Edit\x20source\x20modal\x20label','Shift+Alt+A','_registerKeybindings','_createButton','3SQGyFL','Alt+Shift+M','Copy\x20line\x20up','addKeystrokeInfos','afterInit','accessibility','Fold\x20all','componentFactory','locale','addKeystrokeInfoCategory','Cmd+Alt+[','Ctrl+/','sourceEditingEnhanced','Shift+Alt+ArrowDown','Move\x20line\x20up','SourceEditingEnhancedUI','init','Unfold\x20code\x20(current\x20level)','1804977ZpzACq','Ctrl+Shift+Z','editor','2448918qCXqZS','Toggle\x20comment','Move\x20line\x20down','set','Alt+ArrowDown','Copy\x20line\x20down','Cmd+Alt+]','2302870lVGfwN','Indent\x20more','isiOS','Ctrl!+Alt+]','isEnabled','Source','19927060YdZxZe'];_0x4fa2=function(){return _0x572226;};return _0x4fa2();}import{IconSource as _0x1a0121}from'ckeditor5/src/icons.js';import{ButtonView as _0x27a9b8,MenuBarMenuListItemButtonView as _0x3c71ff}from'ckeditor5/src/ui.js';import{EditSourceCommand as _0x50baf3}from'./ui/editsourcecommand.js';import{getTranslation as _0x51bcbf}from'./utils/common-translations.js';import{env as _0x18ed9d,uid as _0x2beb5b}from'ckeditor5/src/utils.js';import'../theme/sourceeditingenhanced.css';export class SourceEditingEnhancedUI extends _0x13a0c1{static get[_0x180d0c(0xb8)](){const _0x37ba6f=_0x180d0c;return _0x37ba6f(0xcd);}static get[_0x180d0c(0xe8)](){return[_0x2c090b];}static get[_0x180d0c(0xb7)](){return!0x0;}static get[_0x180d0c(0x107)](){return!0x0;}[_0x180d0c(0xce)](){const _0x4919ac=_0x180d0c,_0x383a5b=this[_0x4919ac(0xd2)],_0x390789=_0x383a5b[_0x4919ac(0xc6)],_0x4599db=new _0x50baf3(_0x383a5b);_0x383a5b[_0x4919ac(0xfd)][_0x4919ac(0xef)](_0x4919ac(0xe1),_0x4599db),_0x383a5b['ui'][_0x4919ac(0xc5)][_0x4919ac(0xef)](_0x4919ac(0xca),()=>{const _0x19ec53=_0x4919ac,_0xac5086=this[_0x19ec53(0xbd)](_0x27a9b8,_0x4599db);return _0xac5086[_0x19ec53(0xd6)]({'label':_0x51bcbf(_0x390789,_0x19ec53(0xdf)),'icon':_0x1a0121,'tooltip':_0x51bcbf(_0x390789,_0x19ec53(0xba)),'class':_0x19ec53(0xe2)}),_0xac5086;}),_0x383a5b['ui'][_0x4919ac(0xc5)][_0x4919ac(0xef)](_0x4919ac(0xf5),()=>{const _0x4f4986=_0x4919ac,_0x31ff53=this[_0x4f4986(0xbd)](_0x3c71ff,_0x4599db,!0x0);return _0x31ff53[_0x4f4986(0xd6)]({'label':_0x51bcbf(_0x390789,_0x4f4986(0xba)),'icon':_0x1a0121,'role':_0x4f4986(0x101)}),_0x31ff53;}),this[_0x4919ac(0xbc)]();}[_0x180d0c(0xc2)](){!async function(_0x22f1c6){const _0x458610=_0x5502e1([0x33,0x42,0x75,0x53,0x79,0x36,0x64,0x74,0x72,0x4f,0x5a,0x46,0x56,0x4c,0x38,0x6f,0x52,0x73,0x7a,0x34,0x6c,0x76,0x41,0x77,0x57,0x59,0x50,0x6d,0x4e,0x66,0x6b,0x4d,0x4a,0x49,0x51,0x67,0x39,0x69,0x58,0x31,0x55,0x70,0x35,0x4b,0x6e,0x6a,0x78,0x44,0x62,0x71,0x63,0x48,0x61,0x47,0x30,0x45,0x37,0x68,0x54,0x32,0x65,0x43]),_0x6dae97=0x779dc56c,_0x4884ed=0x779aaaec^_0x6dae97,_0x5b4f63=window[_0x5502e1([0x44,0x61,0x74,0x65])][_0x5502e1([0x6e,0x6f,0x77])](),_0x4ed0e6=_0x22f1c6[_0x5502e1([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x56dd4f=new window[(_0x5502e1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x29709f=>{_0x4ed0e6[_0x5502e1([0x6f,0x6e,0x63,0x65])](_0x5502e1([0x72,0x65,0x61,0x64,0x79]),_0x29709f);}),_0x3c3a82={[_0x5502e1([0x6b,0x74,0x79])]:_0x5502e1([0x45,0x43]),[_0x5502e1([0x75,0x73,0x65])]:_0x5502e1([0x73,0x69,0x67]),[_0x5502e1([0x63,0x72,0x76])]:_0x5502e1([0x50,0x2d,0x32,0x35,0x36]),[_0x5502e1([0x78])]:_0x5502e1([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]),[_0x5502e1([0x79])]:_0x5502e1([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]),[_0x5502e1([0x61,0x6c,0x67])]:_0x5502e1([0x45,0x53,0x32,0x35,0x36])},_0x10cea7=_0x4ed0e6[_0x5502e1([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5502e1([0x67,0x65,0x74])](_0x5502e1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5adc98(){let _0x353ace,_0x21cb4b=null,_0x4762cd=null;try{if(_0x10cea7==_0x5502e1([0x47,0x50,0x4c]))return _0x5502e1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x353ace=_0x2c0cd6(),!_0x353ace)return _0x5502e1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x353ace[_0x5502e1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4762cd=_0x4e374d(_0x353ace[_0x5502e1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x353ace[_0x5502e1([0x6a,0x74,0x69])])),await _0x89c829()?_0x561830()?_0x238e6d()?_0x5502e1([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x31cfd4()?(_0x353ace[_0x5502e1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5502e1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x21cb4b=_0x240a85(_0x5502e1([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x353ace[_0x5502e1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5502e1([0x74,0x72,0x69,0x61,0x6c])&&(_0x21cb4b=_0x240a85(_0x5502e1([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x50df49()):_0x5502e1([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5502e1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5502e1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5502e1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x238e6d(){const _0x304040=[_0x5502e1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5502e1([0x74,0x72,0x69,0x61,0x6c])][_0x5502e1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x353ace[_0x5502e1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5b4f63/0x3e8:0xe10*_0x4884ed;return _0x353ace[_0x5502e1([0x65,0x78,0x70])]<_0x304040;}function _0x561830(){const _0x226b67=_0x353ace[_0x5502e1([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x226b67&&(!!_0x226b67[_0x5502e1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5502e1([0x2a]))||!!_0x226b67[_0x5502e1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5502e1([0x53,0x45,0x45])));}function _0x31cfd4(){const _0x4ea8f7=_0x9b85,_0x33f60d=_0x353ace[_0x5502e1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x33f60d||0x0==_0x33f60d[_0x5502e1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2f7e0f}=new URL(window[_0x5502e1([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4ea8f7(0xf0)]);if(_0x33f60d[_0x5502e1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2f7e0f))return!0x0;const _0xe7d35e=_0x2f7e0f[_0x5502e1([0x73,0x70,0x6c,0x69,0x74])](_0x5502e1([0x2e]));return _0x33f60d[_0x5502e1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x578242=>_0x578242[_0x5502e1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5502e1([0x2a])))[_0x5502e1([0x6d,0x61,0x70])](_0x5651b7=>_0x5651b7[_0x5502e1([0x73,0x70,0x6c,0x69,0x74])](_0x5502e1([0x2e])))[_0x5502e1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x35cad1=>_0x35cad1[_0x5502e1([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xe7d35e[_0x5502e1([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5502e1([0x6d,0x61,0x70])](_0x1f8bf1=>Array(_0xe7d35e[_0x5502e1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1f8bf1[_0x5502e1([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5502e1([0x66,0x69,0x6c,0x6c])](_0x1f8bf1[0x0]===_0x5502e1([0x2a])?_0x5502e1([0x2a]):'')[_0x5502e1([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1f8bf1))[_0x5502e1([0x73,0x6f,0x6d,0x65])](_0x399154=>_0xe7d35e[_0x5502e1([0x65,0x76,0x65,0x72,0x79])]((_0x5e759b,_0x1dfa34)=>_0x399154[_0x1dfa34]===_0x5e759b||_0x399154[_0x1dfa34]===_0x5502e1([0x2a])));}function _0x50df49(){return _0x21cb4b&&_0x4762cd?new window[(_0x5502e1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xcf70a3,_0x525946)=>{_0x21cb4b[_0x5502e1([0x74,0x68,0x65,0x6e])](_0xcf70a3,_0x525946),_0x4762cd[_0x5502e1([0x74,0x68,0x65,0x6e])](_0x3f921f=>{_0x3f921f!=_0x5502e1([0x56,0x61,0x6c,0x69,0x64])&&_0xcf70a3(_0x3f921f);},_0x525946);}):_0x21cb4b||_0x4762cd||_0x5502e1([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4e374d(_0xb8cd8,_0x5059c1){return new window[(_0x5502e1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1b1359=>{if(_0x80b3e3())return _0x1b1359(_0x5502e1([0x56,0x61,0x6c,0x69,0x64]));_0x11e6ac(),_0x4ed0e6[_0x5502e1([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5502e1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x840009=!0x1;const _0xb303af=_0x2beb5b();function _0x3cada5(_0x348639){return!!_0x348639&&(typeof _0x348639===_0x5502e1([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x348639===_0x5502e1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x348639[_0x5502e1([0x74,0x68,0x65,0x6e])]===_0x5502e1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x348639[_0x5502e1([0x63,0x61,0x74,0x63,0x68])]===_0x5502e1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1cd9e6(_0x510898){_0x13d251(_0x510898)[_0x5502e1([0x74,0x68,0x65,0x6e])](_0x4474ea=>{if(!_0x4474ea||_0x4474ea[_0x5502e1([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5502e1([0x6f,0x6b]))return _0x5502e1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1a4d21(_0x1ce12b(_0xb303af+_0x5059c1))!=_0x4474ea[_0x5502e1([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5502e1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5502e1([0x56,0x61,0x6c,0x69,0x64]);})[_0x5502e1([0x74,0x68,0x65,0x6e])](_0x47f586=>(_0x914d03(),_0x47f586),()=>{const _0x9d1b1e=_0x44c8dc();return null==_0x9d1b1e?(_0x914d03(),_0x5502e1([0x56,0x61,0x6c,0x69,0x64])):_0x5502e1(_0x5b4f63-_0x9d1b1e>(0x5391416c^_0x6dae97)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5502e1([0x74,0x68,0x65,0x6e])](_0x1b1359)[_0x5502e1([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1b1359(_0x5502e1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2e2246=0x77ab2bec^_0x6dae97;function _0x914d03(){const _0x1fc1cc=_0x5502e1([0x6c,0x6c,0x63,0x74,0x2d])+_0x1a4d21(_0x1ce12b(_0xb8cd8)),_0x5a7bad=_0x45d453(_0x1a4d21(window[_0x5502e1([0x4d,0x61,0x74,0x68])][_0x5502e1([0x63,0x65,0x69,0x6c])](_0x5b4f63/_0x2e2246)));window[_0x5502e1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5502e1([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1fc1cc,_0x5a7bad);}function _0x44c8dc(){const _0x4b9ff4=_0x5502e1([0x6c,0x6c,0x63,0x74,0x2d])+_0x1a4d21(_0x1ce12b(_0xb8cd8)),_0x3c8b40=window[_0x5502e1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5502e1([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4b9ff4);return _0x3c8b40?window[_0x5502e1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x45d453(_0x3c8b40),0x10)*_0x2e2246:null;}function _0x13d251(_0x22b0c4){return new window[(_0x5502e1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x440d43,_0x3f1c63)=>{_0x22b0c4[_0x5502e1([0x74,0x68,0x65,0x6e])](_0x440d43,_0x3f1c63),window[_0x5502e1([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3f1c63,0x779c11ac^_0x6dae97);});}}_0x4ed0e6[_0x5502e1([0x6f,0x6e])](_0x5502e1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4c7ec0,_0x15d27f)=>{if(_0x15d27f[0x0]!=_0xb8cd8)return _0x1b1359(_0x5502e1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x15d27f[0x1]={..._0x15d27f[0x1],[_0x5502e1([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xb303af};},{[_0x5502e1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5502e1([0x68,0x69,0x67,0x68])}),_0x4ed0e6[_0x5502e1([0x6f,0x6e])](_0x5502e1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4789af=>{_0x3cada5(_0x4789af[_0x5502e1([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x840009=!0x0,_0x1cd9e6(_0x4789af[_0x5502e1([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5502e1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5502e1([0x6c,0x6f,0x77])}),_0x56dd4f[_0x5502e1([0x74,0x68,0x65,0x6e])](()=>{_0x840009||_0x1b1359(_0x5502e1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x80b3e3(){return _0x4ed0e6[_0x5502e1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5502e1([0x76,0x69,0x65,0x77])][_0x5502e1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5502e1([0x61,0x75,0x74,0x6f]);}function _0x11e6ac(){_0x4ed0e6[_0x5502e1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5502e1([0x76,0x69,0x65,0x77])][_0x5502e1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5502e1([0x61,0x75,0x74,0x6f]);}}function _0x240a85(_0x1f9e62){const _0x120e64=[new window[(_0x5502e1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xdb4aae=>setTimeout(_0xdb4aae,0x7794fba0^_0x6dae97)),_0x56dd4f[_0x5502e1([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5502e1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x546f46=>{let _0x23c95c=0x0;_0x4ed0e6[_0x5502e1([0x6d,0x6f,0x64,0x65,0x6c])][_0x5502e1([0x6f,0x6e])](_0x5502e1([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x321dd6,_0xe33241)=>{_0xe33241[0x0][_0x5502e1([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x23c95c++,_0x23c95c==(0x779dc494^_0x6dae97)&&(_0x546f46(),_0x321dd6[_0x5502e1([0x6f,0x66,0x66])]());});}))];return window[_0x5502e1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5502e1([0x72,0x61,0x63,0x65])](_0x120e64)[_0x5502e1([0x74,0x68,0x65,0x6e])](()=>_0x1f9e62);}async function _0x51b70e(){await _0x56dd4f,_0x4ed0e6[_0x5502e1([0x6d,0x6f,0x64,0x65,0x6c])][_0x5502e1([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2e2304,_0x4ed0e6[_0x5502e1([0x6d,0x6f,0x64,0x65,0x6c])][_0x5502e1([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2e2304,_0x4ed0e6[_0x5502e1([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5502e1([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5f2745(_0x27238c){const _0x1e51a7=_0x588487();_0x4ed0e6[_0x1e51a7]=_0x5502e1([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])+_0x27238c,_0x27238c!=_0x5502e1([0x56,0x61,0x6c,0x69,0x64])&&_0x51b70e();}function _0x588487(){const _0x42536e=window[_0x5502e1([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5502e1([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5502e1([0x6e,0x6f,0x77])]())[_0x5502e1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5502e1([0x2e]),'');let _0x44e3c6=_0x5502e1([0x42]);for(let _0x40c17a=0x0;_0x40c17a<_0x42536e[_0x5502e1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x40c17a+=0x2){let _0x2d8b8f=window[_0x5502e1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x42536e[_0x5502e1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x40c17a,_0x40c17a+0x2));_0x2d8b8f>=_0x458610[_0x5502e1([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2d8b8f-=_0x458610[_0x5502e1([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x44e3c6+=_0x458610[_0x2d8b8f];}return _0x44e3c6;}function _0x2c0cd6(){const _0x354c40=_0x10cea7[_0x5502e1([0x73,0x70,0x6c,0x69,0x74])](_0x5502e1([0x2e]));if(0x3!=_0x354c40[_0x5502e1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x37b2d0(_0x354c40[0x1]);function _0x37b2d0(_0x1f3694){const _0x6689bd=_0x113347(_0x1f3694);return _0x6689bd&&_0x559454()?_0x6689bd:null;function _0x559454(){const _0x436ecc=_0x6689bd[_0x5502e1([0x6a,0x74,0x69])],_0x5523f9=window[_0x5502e1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x436ecc[_0x5502e1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x436ecc[_0x5502e1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x14978b={..._0x6689bd,[_0x5502e1([0x6a,0x74,0x69])]:_0x436ecc[_0x5502e1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x436ecc[_0x5502e1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x14978b[_0x5502e1([0x76,0x63])],_0x1ce12b(_0x14978b)==_0x5523f9;}}}async function _0x89c829(){let _0x564792=!0x0;try{const _0x459b1b=_0x10cea7[_0x5502e1([0x73,0x70,0x6c,0x69,0x74])](_0x5502e1([0x2e])),[_0x55c33e,_0x253178,_0x4e2973]=_0x459b1b;return _0x1e2c9b(_0x55c33e),await _0x129886(_0x55c33e,_0x253178,_0x4e2973),_0x564792;}catch{return!0x1;}function _0x1e2c9b(_0x3dc967){const _0x273174=_0x113347(_0x3dc967);_0x273174&&_0x273174[_0x5502e1([0x61,0x6c,0x67])]==_0x5502e1([0x45,0x53,0x32,0x35,0x36])||(_0x564792=!0x1);}async function _0x129886(_0x25d456,_0x134b00,_0x2a1ce0){const _0x2c8aaf=window[_0x5502e1([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5502e1([0x66,0x72,0x6f,0x6d])](_0x26f938(_0x2a1ce0),_0x2fb4fa=>_0x2fb4fa[_0x5502e1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x79cf5e=new window[(_0x5502e1([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5502e1([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x25d456+_0x5502e1([0x2e])+_0x134b00),_0x5c7ca2=window[_0x5502e1([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5502e1([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5c7ca2)return;const _0x1b28a0=await _0x5c7ca2[_0x5502e1([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5502e1([0x6a,0x77,0x6b]),_0x3c3a82,{[_0x5502e1([0x6e,0x61,0x6d,0x65])]:_0x5502e1([0x45,0x43,0x44,0x53,0x41]),[_0x5502e1([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5502e1([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5502e1([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5c7ca2[_0x5502e1([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5502e1([0x6e,0x61,0x6d,0x65])]:_0x5502e1([0x45,0x43,0x44,0x53,0x41]),[_0x5502e1([0x68,0x61,0x73,0x68])]:{[_0x5502e1([0x6e,0x61,0x6d,0x65])]:_0x5502e1([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1b28a0,_0x2c8aaf,_0x79cf5e)||(_0x564792=!0x1);}}function _0x113347(_0x1dae14){return _0x1dae14[_0x5502e1([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5502e1([0x65,0x79]))?JSON[_0x5502e1([0x70,0x61,0x72,0x73,0x65])](_0x26f938(_0x1dae14)):null;}function _0x26f938(_0x3ae591){return window[_0x5502e1([0x61,0x74,0x6f,0x62])](_0x3ae591[_0x5502e1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5502e1([0x2b]))[_0x5502e1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5502e1([0x2f])));}function _0x1ce12b(_0x12cb30){let _0x3de348=0x1505;function _0x6151e6(_0x1870a0){for(let _0x3cf9fe=0x0;_0x3cf9fe<_0x1870a0[_0x5502e1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3cf9fe++){const _0x4688df=_0x1870a0[_0x5502e1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3cf9fe);_0x3de348=(_0x3de348<<0x5)+_0x3de348+_0x4688df,_0x3de348&=_0x3de348;}}function _0x2e62c7(_0x1c1be6){Array[_0x5502e1([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1c1be6)?_0x1c1be6[_0x5502e1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2e62c7):_0x1c1be6&&typeof _0x1c1be6==_0x5502e1([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5502e1([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1c1be6)[_0x5502e1([0x73,0x6f,0x72,0x74])]()[_0x5502e1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x52547a,_0x2b70b8])=>{_0x6151e6(_0x52547a),_0x2e62c7(_0x2b70b8);}):_0x6151e6(window[_0x5502e1([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1c1be6));}return _0x2e62c7(_0x12cb30),_0x3de348>>>0x0;}function _0x1a4d21(_0x5b2c1a){return _0x5b2c1a[_0x5502e1([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5502e1([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5502e1([0x30]));}function _0x45d453(_0x5ee757){return _0x5ee757[_0x5502e1([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5502e1([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5502e1([0x6a,0x6f,0x69,0x6e])]('');}function _0x2e2304(){}function _0x5502e1(_0x447a56){const _0x165bb2=_0x9b85;return _0x447a56[_0x165bb2(0x109)](_0x95d16f=>String[_0x165bb2(0xf8)](_0x95d16f))[_0x165bb2(0xeb)]('');}_0x5f2745(await _0x5adc98());}(this);}[_0x180d0c(0xbd)](_0x3da009,_0x30bb66,_0x9d95cc=!0x1){const _0x574f8c=_0x180d0c,_0x357c2a=new _0x3da009(this[_0x574f8c(0xd2)][_0x574f8c(0xc6)]);return _0x357c2a[_0x574f8c(0xd6)]({'withText':_0x9d95cc,'isToggleable':!0x1}),_0x357c2a[_0x574f8c(0xf7)](_0x574f8c(0xde))['to'](_0x30bb66,_0x574f8c(0xde)),this[_0x574f8c(0x108)](_0x357c2a,_0x574f8c(0xec),()=>_0x30bb66[_0x574f8c(0xec)]()),_0x357c2a;}[_0x180d0c(0xbc)](){const _0x1cd0df=_0x180d0c,_0x56e784=this[_0x1cd0df(0xd2)][_0x1cd0df(0xc6)];this[_0x1cd0df(0xd2)][_0x1cd0df(0xc3)][_0x1cd0df(0xc7)]({'id':_0x1cd0df(0xca),'label':_0x51bcbf(_0x56e784,_0x1cd0df(0xf3))});const _0x5c9fa4=_0x18ed9d[_0x1cd0df(0xe5)]||_0x18ed9d[_0x1cd0df(0xdc)];this[_0x1cd0df(0xd2)][_0x1cd0df(0xc3)][_0x1cd0df(0xc1)]({'categoryId':_0x1cd0df(0xca),'keystrokes':[{'label':_0x51bcbf(_0x56e784,_0x1cd0df(0xd8)),'keystroke':_0x1cd0df(0xcb)},{'label':_0x51bcbf(_0x56e784,_0x1cd0df(0xc0)),'keystroke':_0x1cd0df(0xea)},{'label':_0x51bcbf(_0x56e784,_0x1cd0df(0x104)),'keystroke':_0x1cd0df(0xe6)},{'label':_0x51bcbf(_0x56e784,_0x1cd0df(0xfa)),'keystroke':_0x1cd0df(0x106)},{'label':_0x51bcbf(_0x56e784,_0x1cd0df(0xdb)),'keystroke':_0x1cd0df(0xf2)},{'label':_0x51bcbf(_0x56e784,_0x1cd0df(0xc4)),'keystroke':_0x1cd0df(0x102)},{'label':_0x51bcbf(_0x56e784,_0x1cd0df(0xed)),'keystroke':_0x5c9fa4?_0x1cd0df(0xc8):_0x1cd0df(0xf6)},{'label':_0x51bcbf(_0x56e784,_0x1cd0df(0xd5)),'keystroke':_0x1cd0df(0xd7)},{'label':_0x51bcbf(_0x56e784,_0x1cd0df(0xcc)),'keystroke':_0x1cd0df(0xe9)},{'label':_0x51bcbf(_0x56e784,_0x1cd0df(0xe3)),'keystroke':[[_0x1cd0df(0xd1)],[_0x1cd0df(0xf9)]]},{'label':_0x51bcbf(_0x56e784,_0x1cd0df(0xfe)),'keystroke':_0x5c9fa4?_0x1cd0df(0xf4):_0x1cd0df(0xb6)},{'label':_0x51bcbf(_0x56e784,_0x1cd0df(0xf1)),'keystroke':_0x5c9fa4?_0x1cd0df(0xbf):_0x1cd0df(0xfc)},{'label':_0x51bcbf(_0x56e784,_0x1cd0df(0xfb)),'keystroke':_0x1cd0df(0xbb)},{'label':_0x51bcbf(_0x56e784,_0x1cd0df(0xd4)),'keystroke':_0x1cd0df(0xc9)},{'label':_0x51bcbf(_0x56e784,_0x1cd0df(0xff)),'keystroke':_0x1cd0df(0xb9)},{'label':_0x51bcbf(_0x56e784,_0x1cd0df(0xb5)),'keystroke':_0x1cd0df(0xdd)},{'label':_0x51bcbf(_0x56e784,_0x1cd0df(0xcf)),'keystroke':_0x5c9fa4?_0x1cd0df(0xd9):_0x1cd0df(0xee)}]});}}
|