@ckeditor/ckeditor5-source-editing-enhanced 47.7.0-alpha.0 → 47.7.0-alpha.1

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 _0x417c4c,PendingActions as _0x125882,Plugin as _0x1120c9}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x84b27d,formatHtml as _0x1ccaac,env as _0x5399d6,uid as _0x4f621d}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconSource as _0x2fb102}from'@ckeditor/ckeditor5-icons/dist/index.js';import{View as _0xfa8560,ButtonView as _0x2f8ae4,MenuBarMenuListItemButtonView as _0x90bb47}from'@ckeditor/ckeditor5-ui/dist/index.js';import{EditorView as _0x77fe6,crosshairCursor as _0x2a76fa,drawSelection as _0x5127dc,dropCursor as _0x4883e5,lineNumbers as _0x3ca41c,highlightActiveLine as _0x293670,highlightActiveLineGutter as _0x3c82e4,highlightSpecialChars as _0x1dda58,rectangularSelection as _0xb265dc,keymap as _0x2668e6}from'@codemirror/view';import{Compartment as _0x278216,Transaction as _0x14c9cb}from'@codemirror/state';import{bracketMatching as _0x42b47f,foldGutter as _0x17da5b,indentOnInput as _0x252e74,syntaxHighlighting as _0x5f109f,defaultHighlightStyle as _0x3e11ae,foldKeymap as _0x536063}from'@codemirror/language';import{toggleTabFocusMode as _0x5381e8,history as _0x3854bd,defaultKeymap as _0x55ac3a,historyKeymap as _0x132650,indentLess as _0x42a4b0,indentMore as _0x4f2f3c,redo as _0x26b631,undo as _0x35dfae}from'@codemirror/commands';import{autocompletion as _0x5eb24f,closeBrackets as _0x2b9aaa,closeBracketsKeymap as _0x450ee2,completionKeymap as _0xbc18b0}from'@codemirror/autocomplete';import{html as _0x49d9f2}from'@codemirror/lang-html';import{markdown as _0x8c613f}from'@codemirror/lang-markdown';import{oneDark as _0x41a40c}from'@codemirror/theme-one-dark';function w(_0xa92728,_0x3750f){const t=_0xa92728['t'];switch(_0x3750f){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 _0x3750f;}}function r(_0x3d014d){const _0x1f7e03=_0x3d014d['editing']['view']['document']['roots'],_0x207a75=_0x1f7e03['length'];if(0x0===_0x207a75)throw new _0x84b27d('source-editing-enhanced-editor-no-root',_0x3d014d);if(0x1===_0x207a75)return _0x1f7e03['first']['rootName'];return Array['from'](_0x3d014d['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function g(_0xd758cb){return tr(_0xd758cb['replace'](/^[\n\s]*/g,''))?_0xd758cb['replace'](/\s+/g,''):_0xd758cb;}function tr(_0xe9b1b6){return _0xe9b1b6['startsWith']('<');}function p(_0x53d554){const _0x110eb6=[_0x77fe6['lineWrapping'],_0x5eb24f(),_0x42b47f(),_0x2b9aaa(),_0x2a76fa(),_0x5127dc(),_0x4883e5(),_0x3ca41c(),_0x17da5b(),_0x293670(),_0x3c82e4(),_0x1dda58(),_0x3854bd(),_0x252e74(),_0xb265dc(),_0x5f109f(_0x3e11ae,{'fallback':!0x0})],_0x571839=new _0x278216();_0x110eb6['push'](_0x571839['of'](_0x77fe6['editable']['of'](!0x0))),'html'===_0x53d554['syntaxLanguage']?_0x110eb6['push'](_0x49d9f2()):_0x110eb6['push'](_0x8c613f());const _0x26bfe0=function(_0x385f7c){if(_0x385f7c&&'default'!==_0x385f7c)return'dark'===_0x385f7c?_0x41a40c:_0x385f7c;return null;}(_0x53d554['theme']);_0x26bfe0&&_0x110eb6['push'](_0x26bfe0),_0x110eb6['push'](_0x2668e6['of']([..._0x450ee2,..._0x55ac3a,..._0x132650,..._0x536063,..._0xbc18b0,{'key':'Tab','run':_0x4f2f3c,'shift':_0x42a4b0,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-y','mac':'Cmd-y','run':_0x26b631,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-Shift-z','mac':'Cmd-Shift-z','run':_0x26b631,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-z','mac':'Cmd-z','run':_0x35dfae,'preventDefault':!0x0,'stopPropagation':!0x0}]));const _0x48b1c1=new _0x77fe6({'extensions':_0x110eb6,'parent':_0x53d554['parent']});return _0x5381e8(_0x48b1c1),{'focus':()=>{_0x48b1c1['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x48b1c1['focus']();},'getData':()=>_0x48b1c1['state']['doc']['toString'](),'setData':_0x1e51d7=>{_0x48b1c1['dispatch']({'changes':{'from':0x0,'to':_0x48b1c1['state']['doc']['length'],'insert':_0x1e51d7},'annotations':_0x14c9cb['addToHistory']['of'](!0x1)});},'setReadOnly':_0x114381=>{_0x48b1c1['dispatch']({'effects':[_0x571839['reconfigure'](_0x77fe6['editable']['of'](!_0x114381))]});},'destroy':()=>{_0x48b1c1['destroy']();},'instance':_0x48b1c1};}class E extends _0xfa8560{['_codeEditorApi']=null;['_options'];constructor(_0x3d710b,_0x56e64f){super(_0x3d710b),this['_options']=_0x56e64f,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',(_0xf41827,_0x299b87,_0x100388)=>{this['setReadOnly'](_0x100388);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0x40f950){this['_codeEditorApi']['setData'](_0x40f950);}['setReadOnly'](_0xd51412){this['_codeEditorApi']['setReadOnly'](_0xd51412);}}const b='SourceEditingEnhancedMode';class d extends _0x417c4c{constructor(_0x478f86){super(_0x478f86),this['affectsData']=!0x1,this['editor']['plugins']['get'](_0x125882)['on']('change:hasAny',(_0xc49eec,_0x20d817,_0x61c1e9)=>{_0x61c1e9?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['_disableCommands'](){const _0x111da7=this['editor'];for(const _0x31e483 of _0x111da7['commands']['names']())['replaceSource','editSource']['includes'](_0x31e483)||_0x111da7['commands']['get'](_0x31e483)['forceDisabled'](b);}['_enableCommands'](){const _0x47ac65=this['editor'];for(const _0xd845c6 of _0x47ac65['commands']['commands']())_0xd845c6['clearForceDisabled'](b);}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x1e7fad=this['editor'],_0x4fb7e5=_0x1e7fad['locale'],_0x1b5de2=_0x1e7fad['plugins']['get']('Dialog'),_0x273df6=r(_0x1e7fad),_0x3878b5=_0x1e7fad['data']['get']({'rootName':_0x273df6}),_0x594505=tr(_0x46fef1=_0x3878b5)?_0x1ccaac(_0x46fef1):_0x46fef1;var _0x46fef1;const _0x2d53a7=new E(_0x4fb7e5,{'syntaxLanguage':_0x1e7fad['plugins']['has']('Markdown')?'markdown':'html','theme':_0x1e7fad['config']['get']('sourceEditingEnhanced.theme')});let _0xaaf589=!0x0;const _0x51168a=_0x237424=>{if(!_0xaaf589)return;return g(_0x2d53a7['getData']())!==g(_0x594505)?window['confirm'](w(_0x4fb7e5,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0x237424['stop']():void 0x0;};_0x1b5de2['show']({'id':'sourceEditingEnhanced','title':w(_0x4fb7e5,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0x2d53a7,'actionButtons':[{'label':w(_0x4fb7e5,'Cancel'),'withText':!0x0,'onExecute':()=>{_0x1b5de2['hide']();}},{'label':w(_0x4fb7e5,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0x478337=g(_0x2d53a7['getData']())!==g(_0x594505);(_0x478337&&_0x1e7fad['execute']('replaceSource',_0x2d53a7['getData']()),_0xaaf589=!0x1,_0x1b5de2['hide'](),_0x478337&&'editables'in _0x1e7fad['ui']['view'])&&_0x1e7fad['ui']['view']['editables'][_0x273df6]['element']['focus']();},'onCreate':_0x3456ae=>{_0x3456ae['set']('isEnabled',!_0x1e7fad['isReadOnly']),_0x3456ae['bind']('isEnabled')['to'](_0x1e7fad,'isReadOnly',this,'isEnabled',(_0x5036e5,_0x58469d)=>!_0x5036e5&&_0x58469d);}}],'onHide':()=>{this['_enableCommands'](),_0x1b5de2['off']('hide',_0x51168a),_0x2d53a7['destroy']();},'onShow':()=>{_0x2d53a7['bind']('isReadOnly')['to'](_0x1e7fad,'isReadOnly',this,'isEnabled',(_0x42f89f,_0x2d7742)=>_0x42f89f||!_0x2d7742),_0x2d53a7['setData'](_0x594505),_0x2d53a7['focus'](),_0x1b5de2['on']('hide',_0x51168a,{'priority':'highest'}),this['_disableCommands']();}});}}class a extends _0x1120c9{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[_0x125882];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x2397cd=this['editor'],_0x44cc91=_0x2397cd['locale'],_0x28a5c2=new d(_0x2397cd);_0x2397cd['commands']['add']('editSource',_0x28a5c2),_0x2397cd['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0x36e963=this['_createButton'](_0x2f8ae4,_0x28a5c2);return _0x36e963['set']({'label':w(_0x44cc91,'Source'),'icon':_0x2fb102,'tooltip':w(_0x44cc91,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0x36e963;}),_0x2397cd['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0x5ed718=this['_createButton'](_0x90bb47,_0x28a5c2,!0x0);return _0x5ed718['set']({'label':w(_0x44cc91,'Edit\x20source\x20modal\x20label'),'icon':_0x2fb102,'role':'menuitemcheckbox'}),_0x5ed718;}),this['_registerKeybindings']();}['afterInit'](){!async function(_0x57ad53){const _0x2755f8=_0x92ec14([0x4e,0x51,0x56,0x58,0x79,0x42,0x46,0x48,0x4a,0x7a,0x72,0x38,0x57,0x47,0x49,0x34,0x61,0x5a,0x6e,0x54,0x65,0x6f,0x55,0x78,0x36,0x70,0x39,0x6a,0x66,0x76,0x33,0x44,0x69,0x74,0x4c,0x77,0x75,0x63,0x6b,0x59,0x6c,0x68,0x64,0x4d,0x41,0x32,0x4b,0x35,0x53,0x37,0x6d,0x62,0x43,0x4f,0x50,0x45,0x73,0x31,0x71,0x67,0x52,0x30]),_0x57508a=0x5dba9314,_0x1753a7=0x5dbd15bc^_0x57508a,_0x165428=window[_0x92ec14([0x44,0x61,0x74,0x65])][_0x92ec14([0x6e,0x6f,0x77])](),_0x232a48=_0x57ad53[_0x92ec14([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x425705=new window[(_0x92ec14([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x66bb90=>{_0x232a48[_0x92ec14([0x6f,0x6e,0x63,0x65])](_0x92ec14([0x72,0x65,0x61,0x64,0x79]),_0x66bb90);}),_0x6e028a={[_0x92ec14([0x6b,0x74,0x79])]:_0x92ec14([0x45,0x43]),[_0x92ec14([0x75,0x73,0x65])]:_0x92ec14([0x73,0x69,0x67]),[_0x92ec14([0x63,0x72,0x76])]:_0x92ec14([0x50,0x2d,0x32,0x35,0x36]),[_0x92ec14([0x78])]:_0x92ec14([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]),[_0x92ec14([0x79])]:_0x92ec14([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]),[_0x92ec14([0x61,0x6c,0x67])]:_0x92ec14([0x45,0x53,0x32,0x35,0x36])},_0x37a76b=_0x232a48[_0x92ec14([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x92ec14([0x67,0x65,0x74])](_0x92ec14([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x15b900(){let _0x3fc793,_0x120c6d=null,_0xc35c56=null;try{if(_0x37a76b==_0x92ec14([0x47,0x50,0x4c]))return _0x92ec14([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3fc793=_0x1fe16f(),!_0x3fc793)return _0x92ec14([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3fc793[_0x92ec14([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xc35c56=_0x3cf221(_0x3fc793[_0x92ec14([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3fc793[_0x92ec14([0x6a,0x74,0x69])])),await _0x2618f0()?_0x24726b()?_0x2ea14e()?_0x92ec14([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2803e7()?(_0x3fc793[_0x92ec14([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x92ec14([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x120c6d=_0x5314d3(_0x92ec14([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3791de()):_0x92ec14([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x92ec14([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x92ec14([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x92ec14([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2ea14e(){const _0x4ecf19=[_0x92ec14([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x92ec14([0x74,0x72,0x69,0x61,0x6c])][_0x92ec14([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3fc793[_0x92ec14([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x165428/0x3e8:0xe10*_0x1753a7;return _0x3fc793[_0x92ec14([0x65,0x78,0x70])]<_0x4ecf19;}function _0x24726b(){const _0xe21777=_0x3fc793[_0x92ec14([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0xe21777&&(!!_0xe21777[_0x92ec14([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x92ec14([0x2a]))||!!_0xe21777[_0x92ec14([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x92ec14([0x53,0x45,0x45])));}function _0x2803e7(){const _0x39877b=_0x3fc793[_0x92ec14([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x39877b||0x0==_0x39877b[_0x92ec14([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2e15d6}=new URL(window[_0x92ec14([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x39877b[_0x92ec14([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2e15d6))return!0x0;const _0x21425c=_0x2e15d6[_0x92ec14([0x73,0x70,0x6c,0x69,0x74])](_0x92ec14([0x2e]));return _0x39877b[_0x92ec14([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3bc391=>_0x3bc391[_0x92ec14([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x92ec14([0x2a])))[_0x92ec14([0x6d,0x61,0x70])](_0x2a501b=>_0x2a501b[_0x92ec14([0x73,0x70,0x6c,0x69,0x74])](_0x92ec14([0x2e])))[_0x92ec14([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x367a8f=>_0x367a8f[_0x92ec14([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x21425c[_0x92ec14([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x92ec14([0x6d,0x61,0x70])](_0x5c52ac=>Array(_0x21425c[_0x92ec14([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5c52ac[_0x92ec14([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x92ec14([0x66,0x69,0x6c,0x6c])](_0x5c52ac[0x0]===_0x92ec14([0x2a])?_0x92ec14([0x2a]):'')[_0x92ec14([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5c52ac))[_0x92ec14([0x73,0x6f,0x6d,0x65])](_0x516af7=>_0x21425c[_0x92ec14([0x65,0x76,0x65,0x72,0x79])]((_0x2a3a69,_0x3caa26)=>_0x516af7[_0x3caa26]===_0x2a3a69||_0x516af7[_0x3caa26]===_0x92ec14([0x2a])));}function _0x3791de(){return _0x120c6d&&_0xc35c56?new window[(_0x92ec14([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x47e91b,_0x5d8a46)=>{_0x120c6d[_0x92ec14([0x74,0x68,0x65,0x6e])](_0x47e91b,_0x5d8a46),_0xc35c56[_0x92ec14([0x74,0x68,0x65,0x6e])](_0x47a37a=>{_0x47a37a!=_0x92ec14([0x56,0x61,0x6c,0x69,0x64])&&_0x47e91b(_0x47a37a);},_0x5d8a46);}):_0x120c6d||_0xc35c56||_0x92ec14([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3cf221(_0x1c41c6,_0x1a78ef){return new window[(_0x92ec14([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xde5950=>{if(_0xfeeef1())return _0xde5950(_0x92ec14([0x56,0x61,0x6c,0x69,0x64]));_0x5372d8(),_0x232a48[_0x92ec14([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x92ec14([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x32440a=!0x1;const _0x19813b=_0x4f621d();function _0x42380(_0x13aea6){return!!_0x13aea6&&(typeof _0x13aea6===_0x92ec14([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x13aea6===_0x92ec14([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x13aea6[_0x92ec14([0x74,0x68,0x65,0x6e])]===_0x92ec14([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x13aea6[_0x92ec14([0x63,0x61,0x74,0x63,0x68])]===_0x92ec14([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5167f0(_0x33e7d0){_0x281054(_0x33e7d0)[_0x92ec14([0x74,0x68,0x65,0x6e])](_0x47390f=>{if(!_0x47390f||_0x47390f[_0x92ec14([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x92ec14([0x6f,0x6b]))return _0x92ec14([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x10a135(_0x580aaa(_0x19813b+_0x1a78ef))!=_0x47390f[_0x92ec14([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x92ec14([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x92ec14([0x56,0x61,0x6c,0x69,0x64]);})[_0x92ec14([0x74,0x68,0x65,0x6e])](_0x64c7f1=>(_0x43553d(),_0x64c7f1),()=>{const _0x508412=_0x3dcc93();return null==_0x508412?(_0x43553d(),_0x92ec14([0x56,0x61,0x6c,0x69,0x64])):_0x92ec14(_0x165428-_0x508412>(0x79b61714^_0x57508a)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x92ec14([0x74,0x68,0x65,0x6e])](_0xde5950)[_0x92ec14([0x63,0x61,0x74,0x63,0x68])](()=>{_0xde5950(_0x92ec14([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x547921=0x5d8c7d94^_0x57508a;function _0x43553d(){const _0x180d3c=_0x92ec14([0x6c,0x6c,0x63,0x74,0x2d])+_0x10a135(_0x580aaa(_0x1c41c6)),_0x4eb850=_0x414577(_0x10a135(window[_0x92ec14([0x4d,0x61,0x74,0x68])][_0x92ec14([0x63,0x65,0x69,0x6c])](_0x165428/_0x547921)));window[_0x92ec14([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x92ec14([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x180d3c,_0x4eb850);}function _0x3dcc93(){const _0x2a98b6=_0x92ec14([0x6c,0x6c,0x63,0x74,0x2d])+_0x10a135(_0x580aaa(_0x1c41c6)),_0x43002b=window[_0x92ec14([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x92ec14([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2a98b6);return _0x43002b?window[_0x92ec14([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x414577(_0x43002b),0x10)*_0x547921:null;}function _0x281054(_0x852cd){return new window[(_0x92ec14([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5c9efe,_0x51099a)=>{_0x852cd[_0x92ec14([0x74,0x68,0x65,0x6e])](_0x5c9efe,_0x51099a),window[_0x92ec14([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x51099a,0x5dbb47d4^_0x57508a);});}}_0x232a48[_0x92ec14([0x6f,0x6e])](_0x92ec14([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4515eb,_0x2463d0)=>{if(_0x2463d0[0x0]!=_0x1c41c6)return _0xde5950(_0x92ec14([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2463d0[0x1]={..._0x2463d0[0x1],[_0x92ec14([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x19813b};},{[_0x92ec14([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x92ec14([0x68,0x69,0x67,0x68])}),_0x232a48[_0x92ec14([0x6f,0x6e])](_0x92ec14([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5d7726=>{_0x42380(_0x5d7726[_0x92ec14([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x32440a=!0x0,_0x5167f0(_0x5d7726[_0x92ec14([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x92ec14([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x92ec14([0x6c,0x6f,0x77])}),_0x425705[_0x92ec14([0x74,0x68,0x65,0x6e])](()=>{_0x32440a||_0xde5950(_0x92ec14([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xfeeef1(){return _0x232a48[_0x92ec14([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x92ec14([0x76,0x69,0x65,0x77])][_0x92ec14([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x92ec14([0x61,0x75,0x74,0x6f]);}function _0x5372d8(){_0x232a48[_0x92ec14([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x92ec14([0x76,0x69,0x65,0x77])][_0x92ec14([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x92ec14([0x61,0x75,0x74,0x6f]);}}function _0x5314d3(_0x40ef65){const _0x491ebf=[new window[(_0x92ec14([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xd224=>setTimeout(_0xd224,0x5db3add8^_0x57508a)),_0x425705[_0x92ec14([0x74,0x68,0x65,0x6e])](()=>new window[(_0x92ec14([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1a08fc=>{let _0x2bcdaf=0x0;_0x232a48[_0x92ec14([0x6d,0x6f,0x64,0x65,0x6c])][_0x92ec14([0x6f,0x6e])](_0x92ec14([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2032b4,_0x331852)=>{_0x331852[0x0][_0x92ec14([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2bcdaf++,_0x2bcdaf==(0x5dba96fc^_0x57508a)&&(_0x1a08fc(),_0x2032b4[_0x92ec14([0x6f,0x66,0x66])]());});}))];return window[_0x92ec14([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x92ec14([0x72,0x61,0x63,0x65])](_0x491ebf)[_0x92ec14([0x74,0x68,0x65,0x6e])](()=>_0x40ef65);}async function _0xdd6afd(){await _0x425705,_0x232a48[_0x92ec14([0x6d,0x6f,0x64,0x65,0x6c])][_0x92ec14([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2aa306,_0x232a48[_0x92ec14([0x6d,0x6f,0x64,0x65,0x6c])][_0x92ec14([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2aa306,_0x232a48[_0x92ec14([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x92ec14([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1d004e(_0x33b0c2){const _0xc5990d=_0x507271();_0x232a48[_0xc5990d]=_0x92ec14([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])+_0x33b0c2,_0x33b0c2!=_0x92ec14([0x56,0x61,0x6c,0x69,0x64])&&_0xdd6afd();}function _0x507271(){const _0x2896f0=window[_0x92ec14([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x92ec14([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x92ec14([0x6e,0x6f,0x77])]())[_0x92ec14([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x92ec14([0x2e]),'');let _0x1ab8a0=_0x92ec14([0x4e]);for(let _0x3c7b93=0x0;_0x3c7b93<_0x2896f0[_0x92ec14([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3c7b93+=0x2){let _0x3d76e3=window[_0x92ec14([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2896f0[_0x92ec14([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3c7b93,_0x3c7b93+0x2));_0x3d76e3>=_0x2755f8[_0x92ec14([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3d76e3-=_0x2755f8[_0x92ec14([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1ab8a0+=_0x2755f8[_0x3d76e3];}return _0x1ab8a0;}function _0x1fe16f(){const _0x182883=_0x37a76b[_0x92ec14([0x73,0x70,0x6c,0x69,0x74])](_0x92ec14([0x2e]));if(0x3!=_0x182883[_0x92ec14([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1ba5c1(_0x182883[0x1]);function _0x1ba5c1(_0x5185d9){const _0x2c3c49=_0x1a2e65(_0x5185d9);return _0x2c3c49&&_0x59b9d9()?_0x2c3c49:null;function _0x59b9d9(){const _0x2dac57=_0x2c3c49[_0x92ec14([0x6a,0x74,0x69])],_0x23c57d=window[_0x92ec14([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2dac57[_0x92ec14([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2dac57[_0x92ec14([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x39ef08={..._0x2c3c49,[_0x92ec14([0x6a,0x74,0x69])]:_0x2dac57[_0x92ec14([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2dac57[_0x92ec14([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x39ef08[_0x92ec14([0x76,0x63])],_0x580aaa(_0x39ef08)==_0x23c57d;}}}async function _0x2618f0(){let _0x89b480=!0x0;try{const _0x2d272a=_0x37a76b[_0x92ec14([0x73,0x70,0x6c,0x69,0x74])](_0x92ec14([0x2e])),[_0x48cfb7,_0x37f703,_0xde60c2]=_0x2d272a;return _0xb9385e(_0x48cfb7),await _0x243a15(_0x48cfb7,_0x37f703,_0xde60c2),_0x89b480;}catch{return!0x1;}function _0xb9385e(_0x452174){const _0x40bc7c=_0x1a2e65(_0x452174);_0x40bc7c&&_0x40bc7c[_0x92ec14([0x61,0x6c,0x67])]==_0x92ec14([0x45,0x53,0x32,0x35,0x36])||(_0x89b480=!0x1);}async function _0x243a15(_0xa85a96,_0x39f3fc,_0x3ffb21){const _0x79ecec=window[_0x92ec14([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x92ec14([0x66,0x72,0x6f,0x6d])](_0x5d5e20(_0x3ffb21),_0x37d197=>_0x37d197[_0x92ec14([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3f7c13=new window[(_0x92ec14([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x92ec14([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xa85a96+_0x92ec14([0x2e])+_0x39f3fc),_0xc5459a=window[_0x92ec14([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x92ec14([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xc5459a)return;const _0x123b6c=await _0xc5459a[_0x92ec14([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x92ec14([0x6a,0x77,0x6b]),_0x6e028a,{[_0x92ec14([0x6e,0x61,0x6d,0x65])]:_0x92ec14([0x45,0x43,0x44,0x53,0x41]),[_0x92ec14([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x92ec14([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x92ec14([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xc5459a[_0x92ec14([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x92ec14([0x6e,0x61,0x6d,0x65])]:_0x92ec14([0x45,0x43,0x44,0x53,0x41]),[_0x92ec14([0x68,0x61,0x73,0x68])]:{[_0x92ec14([0x6e,0x61,0x6d,0x65])]:_0x92ec14([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x123b6c,_0x79ecec,_0x3f7c13)||(_0x89b480=!0x1);}}function _0x1a2e65(_0x999b29){return _0x999b29[_0x92ec14([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x92ec14([0x65,0x79]))?JSON[_0x92ec14([0x70,0x61,0x72,0x73,0x65])](_0x5d5e20(_0x999b29)):null;}function _0x5d5e20(_0x568929){return window[_0x92ec14([0x61,0x74,0x6f,0x62])](_0x568929[_0x92ec14([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x92ec14([0x2b]))[_0x92ec14([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x92ec14([0x2f])));}function _0x580aaa(_0x151f37){let _0x9d0735=0x1505;function _0x4f9067(_0xfa46c){for(let _0x37ba12=0x0;_0x37ba12<_0xfa46c[_0x92ec14([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x37ba12++){const _0xd4f66a=_0xfa46c[_0x92ec14([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x37ba12);_0x9d0735=(_0x9d0735<<0x5)+_0x9d0735+_0xd4f66a,_0x9d0735&=_0x9d0735;}}function _0x3e59a7(_0x2ee50c){Array[_0x92ec14([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2ee50c)?_0x2ee50c[_0x92ec14([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3e59a7):_0x2ee50c&&typeof _0x2ee50c==_0x92ec14([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x92ec14([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2ee50c)[_0x92ec14([0x73,0x6f,0x72,0x74])]()[_0x92ec14([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x39be91,_0x391ed2])=>{_0x4f9067(_0x39be91),_0x3e59a7(_0x391ed2);}):_0x4f9067(window[_0x92ec14([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2ee50c));}return _0x3e59a7(_0x151f37),_0x9d0735>>>0x0;}function _0x10a135(_0xccbc18){return _0xccbc18[_0x92ec14([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x92ec14([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x92ec14([0x30]));}function _0x414577(_0x3437a7){return _0x3437a7[_0x92ec14([0x73,0x70,0x6c,0x69,0x74])]('')[_0x92ec14([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x92ec14([0x6a,0x6f,0x69,0x6e])]('');}function _0x2aa306(){}function _0x92ec14(_0x2c644f){return _0x2c644f['map'](_0x37e5e1=>String['fromCharCode'](_0x37e5e1))['join']('');}_0x1d004e(await _0x15b900());}(this);}['_createButton'](_0x4d1dd5,_0x5a08bf,_0x1ea80e=!0x1){const _0x5cf1e0=new _0x4d1dd5(this['editor']['locale']);return _0x5cf1e0['set']({'withText':_0x1ea80e,'isToggleable':!0x1}),_0x5cf1e0['bind']('isEnabled')['to'](_0x5a08bf,'isEnabled'),this['listenTo'](_0x5cf1e0,'execute',()=>_0x5a08bf['execute']()),_0x5cf1e0;}['_registerKeybindings'](){const _0x14d31d=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':w(_0x14d31d,'Source\x20Editing\x20Enhanced')});const _0x374a8a=_0x5399d6['isMac']||_0x5399d6['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':w(_0x14d31d,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':w(_0x14d31d,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':w(_0x14d31d,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':w(_0x14d31d,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':w(_0x14d31d,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':w(_0x14d31d,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':w(_0x14d31d,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x374a8a?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':w(_0x14d31d,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':w(_0x14d31d,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':w(_0x14d31d,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':w(_0x14d31d,'Select\x20line'),'keystroke':_0x374a8a?'Ctrl!+L':'Alt+L'},{'label':w(_0x14d31d,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x374a8a?'Alt+Shift+M':'Ctrl+M'},{'label':w(_0x14d31d,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':w(_0x14d31d,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':w(_0x14d31d,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':w(_0x14d31d,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':w(_0x14d31d,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x374a8a?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}class c extends _0x417c4c{constructor(_0x5c75ab){super(_0x5c75ab),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0x9a77c7,_0x2dc4a0){const _0x3e329f=this['editor'],_0x2420d8=_0x2dc4a0?.['rootName']??r(_0x3e329f);_0x3e329f['data']['set']({[_0x2420d8]:_0x9a77c7},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}class ee extends _0x1120c9{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[a];}constructor(_0x4373f8){super(_0x4373f8),_0x4373f8['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 _0x15c79a=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x6a097d;for(const _0x495559 in _0x15c79a){const _0x49cfed=_0x495559,_0x223e5a=_0x15c79a[_0x49cfed];if('sourceEditingEnhancedLicenseKeyValid'==_0x223e5a||'sourceEditingEnhancedLicenseKeyInvalid'==_0x223e5a||'sourceEditingEnhancedLicenseKeyExpired'==_0x223e5a||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x223e5a||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x223e5a||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x223e5a||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x223e5a){delete _0x15c79a[_0x49cfed],_0x6a097d=_0x223e5a,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0x6a097d&&_0x15c79a['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0x6a097d&&_0x15c79a['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x6a097d&&_0x15c79a['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x6a097d&&_0x15c79a['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x6a097d&&_0x15c79a['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x6a097d&&_0x15c79a['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0x23b878=this['editor'],_0x4b93a4=_0x23b878['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0x4b93a4&&_0x23b878['plugins']['has']('RealTimeCollaborativeEditing'))throw new _0x84b27d('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0x4b93a4&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x4b629e=>_0x23b878['plugins']['has'](_0x4b629e))&&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.'),_0x23b878['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 _0x11cc2f,PendingActions as _0x3ebbea,Plugin as _0x2c0b19}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x230eb0,formatHtml as _0x2544de,env as _0x2c3678,uid as _0x57628a}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconSource as _0x1e8fab}from'@ckeditor/ckeditor5-icons/dist/index.js';import{View as _0x1bef52,ButtonView as _0x23efc,MenuBarMenuListItemButtonView as _0x3f71fc}from'@ckeditor/ckeditor5-ui/dist/index.js';import{EditorView as _0x13bc18,crosshairCursor as _0x5b89a4,drawSelection as _0x41ece3,dropCursor as _0x3af1a1,lineNumbers as _0x36319e,highlightActiveLine as _0x5684a5,highlightActiveLineGutter as _0x4e5271,highlightSpecialChars as _0x4abba9,rectangularSelection as _0x41bd89,keymap as _0x3f5f14}from'@codemirror/view';import{Compartment as _0x2b4b35,Transaction as _0x4fbc8d}from'@codemirror/state';import{bracketMatching as _0x26c51e,foldGutter as _0xc0608b,indentOnInput as _0x89c992,syntaxHighlighting as _0x321562,defaultHighlightStyle as _0x2cc206,foldKeymap as _0x19001f}from'@codemirror/language';import{toggleTabFocusMode as _0x40ad94,history as _0x560341,defaultKeymap as _0x2b8919,historyKeymap as _0x55c255,indentLess as _0x53fda9,indentMore as _0x5eb7f5,redo as _0x242715,undo as _0x38f363}from'@codemirror/commands';import{autocompletion as _0x85f999,closeBrackets as _0x29070f,closeBracketsKeymap as _0x88aeff,completionKeymap as _0x19a581}from'@codemirror/autocomplete';import{html as _0x3bc751}from'@codemirror/lang-html';import{markdown as _0x43dec1}from'@codemirror/lang-markdown';import{oneDark as _0x1b1e89}from'@codemirror/theme-one-dark';function w(_0x5d67a2,_0x48fe69){const t=_0x5d67a2['t'];switch(_0x48fe69){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 _0x48fe69;}}function r(_0xce101b){const _0x29361c=_0xce101b['editing']['view']['document']['roots'],_0x239a03=_0x29361c['length'];if(0x0===_0x239a03)throw new _0x230eb0('source-editing-enhanced-editor-no-root',_0xce101b);if(0x1===_0x239a03)return _0x29361c['first']['rootName'];return Array['from'](_0xce101b['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function g(_0x1daae8){return tr(_0x1daae8['replace'](/^[\n\s]*/g,''))?_0x1daae8['replace'](/\s+/g,''):_0x1daae8;}function tr(_0x26df21){return _0x26df21['startsWith']('<');}function p(_0x4ee470){const _0x2d24f8=[_0x13bc18['lineWrapping'],_0x85f999(),_0x26c51e(),_0x29070f(),_0x5b89a4(),_0x41ece3(),_0x3af1a1(),_0x36319e(),_0xc0608b(),_0x5684a5(),_0x4e5271(),_0x4abba9(),_0x560341(),_0x89c992(),_0x41bd89(),_0x321562(_0x2cc206,{'fallback':!0x0})],_0x4d87be=new _0x2b4b35();_0x2d24f8['push'](_0x4d87be['of'](_0x13bc18['editable']['of'](!0x0))),'html'===_0x4ee470['syntaxLanguage']?_0x2d24f8['push'](_0x3bc751()):_0x2d24f8['push'](_0x43dec1());const _0x56323e=function(_0x1040ba){if(_0x1040ba&&'default'!==_0x1040ba)return'dark'===_0x1040ba?_0x1b1e89:_0x1040ba;return null;}(_0x4ee470['theme']);_0x56323e&&_0x2d24f8['push'](_0x56323e),_0x2d24f8['push'](_0x3f5f14['of']([..._0x88aeff,..._0x2b8919,..._0x55c255,..._0x19001f,..._0x19a581,{'key':'Tab','run':_0x5eb7f5,'shift':_0x53fda9,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-y','mac':'Cmd-y','run':_0x242715,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-Shift-z','mac':'Cmd-Shift-z','run':_0x242715,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-z','mac':'Cmd-z','run':_0x38f363,'preventDefault':!0x0,'stopPropagation':!0x0}]));const _0x3e9278=new _0x13bc18({'extensions':_0x2d24f8,'parent':_0x4ee470['parent']});return _0x40ad94(_0x3e9278),{'focus':()=>{_0x3e9278['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x3e9278['focus']();},'getData':()=>_0x3e9278['state']['doc']['toString'](),'setData':_0x12edff=>{_0x3e9278['dispatch']({'changes':{'from':0x0,'to':_0x3e9278['state']['doc']['length'],'insert':_0x12edff},'annotations':_0x4fbc8d['addToHistory']['of'](!0x1)});},'setReadOnly':_0x168897=>{_0x3e9278['dispatch']({'effects':[_0x4d87be['reconfigure'](_0x13bc18['editable']['of'](!_0x168897))]});},'destroy':()=>{_0x3e9278['destroy']();},'instance':_0x3e9278};}class E extends _0x1bef52{['_codeEditorApi']=null;['_options'];constructor(_0x5d843b,_0x455e3f){super(_0x5d843b),this['_options']=_0x455e3f,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',(_0x4c9221,_0x41479d,_0xeafbd3)=>{this['setReadOnly'](_0xeafbd3);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0x3c2162){this['_codeEditorApi']['setData'](_0x3c2162);}['setReadOnly'](_0x34adc2){this['_codeEditorApi']['setReadOnly'](_0x34adc2);}}const b='SourceEditingEnhancedMode';class d extends _0x11cc2f{constructor(_0x4de58e){super(_0x4de58e),this['affectsData']=!0x1,this['editor']['plugins']['get'](_0x3ebbea)['on']('change:hasAny',(_0x4b099c,_0x56954a,_0x53f9ca)=>{_0x53f9ca?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['_disableCommands'](){const _0x3abff2=this['editor'];for(const _0x3a6ebd of _0x3abff2['commands']['names']())['replaceSource','editSource']['includes'](_0x3a6ebd)||_0x3abff2['commands']['get'](_0x3a6ebd)['forceDisabled'](b);}['_enableCommands'](){const _0x8eb58d=this['editor'];for(const _0x25cc73 of _0x8eb58d['commands']['commands']())_0x25cc73['clearForceDisabled'](b);}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x2e6359=this['editor'],_0x9c93be=_0x2e6359['locale'],_0x58c325=_0x2e6359['plugins']['get']('Dialog'),_0x37a5b4=r(_0x2e6359),_0x1c08c9=_0x2e6359['data']['get']({'rootName':_0x37a5b4}),_0x10f9a7=tr(_0x260dc3=_0x1c08c9)?_0x2544de(_0x260dc3):_0x260dc3;var _0x260dc3;const _0x4f7c4f=new E(_0x9c93be,{'syntaxLanguage':_0x2e6359['plugins']['has']('Markdown')?'markdown':'html','theme':_0x2e6359['config']['get']('sourceEditingEnhanced.theme')});let _0x52320f=!0x0;const _0x4bffa8=_0x5da11c=>{if(!_0x52320f)return;return g(_0x4f7c4f['getData']())!==g(_0x10f9a7)?window['confirm'](w(_0x9c93be,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0x5da11c['stop']():void 0x0;};_0x58c325['show']({'id':'sourceEditingEnhanced','title':w(_0x9c93be,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0x4f7c4f,'actionButtons':[{'label':w(_0x9c93be,'Cancel'),'withText':!0x0,'onExecute':()=>{_0x58c325['hide']();}},{'label':w(_0x9c93be,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0x27b21b=g(_0x4f7c4f['getData']())!==g(_0x10f9a7);(_0x27b21b&&_0x2e6359['execute']('replaceSource',_0x4f7c4f['getData']()),_0x52320f=!0x1,_0x58c325['hide'](),_0x27b21b&&'editables'in _0x2e6359['ui']['view'])&&_0x2e6359['ui']['view']['editables'][_0x37a5b4]['element']['focus']();},'onCreate':_0x1c269e=>{_0x1c269e['set']('isEnabled',!_0x2e6359['isReadOnly']),_0x1c269e['bind']('isEnabled')['to'](_0x2e6359,'isReadOnly',this,'isEnabled',(_0xd83150,_0x5c3034)=>!_0xd83150&&_0x5c3034);}}],'onHide':()=>{this['_enableCommands'](),_0x58c325['off']('hide',_0x4bffa8),_0x4f7c4f['destroy']();},'onShow':()=>{_0x4f7c4f['bind']('isReadOnly')['to'](_0x2e6359,'isReadOnly',this,'isEnabled',(_0xf01e93,_0x23ade2)=>_0xf01e93||!_0x23ade2),_0x4f7c4f['setData'](_0x10f9a7),_0x4f7c4f['focus'](),_0x58c325['on']('hide',_0x4bffa8,{'priority':'highest'}),this['_disableCommands']();}});}}class a extends _0x2c0b19{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[_0x3ebbea];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x5aacd4=this['editor'],_0x3990af=_0x5aacd4['locale'],_0x2dd6d4=new d(_0x5aacd4);_0x5aacd4['commands']['add']('editSource',_0x2dd6d4),_0x5aacd4['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0x5296ca=this['_createButton'](_0x23efc,_0x2dd6d4);return _0x5296ca['set']({'label':w(_0x3990af,'Source'),'icon':_0x1e8fab,'tooltip':w(_0x3990af,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0x5296ca;}),_0x5aacd4['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0x543a0d=this['_createButton'](_0x3f71fc,_0x2dd6d4,!0x0);return _0x543a0d['set']({'label':w(_0x3990af,'Edit\x20source\x20modal\x20label'),'icon':_0x1e8fab,'role':'menuitemcheckbox'}),_0x543a0d;}),this['_registerKeybindings']();}['afterInit'](){!async function(_0x4fa4c3){const _0xa4c33=_0x2d3381([0x4e,0x51,0x56,0x58,0x79,0x42,0x46,0x48,0x4a,0x7a,0x72,0x38,0x57,0x47,0x49,0x34,0x61,0x5a,0x6e,0x54,0x65,0x6f,0x55,0x78,0x36,0x70,0x39,0x6a,0x66,0x76,0x33,0x44,0x69,0x74,0x4c,0x77,0x75,0x63,0x6b,0x59,0x6c,0x68,0x64,0x4d,0x41,0x32,0x4b,0x35,0x53,0x37,0x6d,0x62,0x43,0x4f,0x50,0x45,0x73,0x31,0x71,0x67,0x52,0x30]),_0x51c7c4=0x5dba9314,_0x5507d3=0x5dbd1434^_0x51c7c4,_0x3b7482=window[_0x2d3381([0x44,0x61,0x74,0x65])][_0x2d3381([0x6e,0x6f,0x77])](),_0x50d6b9=_0x4fa4c3[_0x2d3381([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x31877c=new window[(_0x2d3381([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x10b7b4=>{_0x50d6b9[_0x2d3381([0x6f,0x6e,0x63,0x65])](_0x2d3381([0x72,0x65,0x61,0x64,0x79]),_0x10b7b4);}),_0x3802c4={[_0x2d3381([0x6b,0x74,0x79])]:_0x2d3381([0x45,0x43]),[_0x2d3381([0x75,0x73,0x65])]:_0x2d3381([0x73,0x69,0x67]),[_0x2d3381([0x63,0x72,0x76])]:_0x2d3381([0x50,0x2d,0x32,0x35,0x36]),[_0x2d3381([0x78])]:_0x2d3381([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]),[_0x2d3381([0x79])]:_0x2d3381([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]),[_0x2d3381([0x61,0x6c,0x67])]:_0x2d3381([0x45,0x53,0x32,0x35,0x36])},_0x395878=_0x50d6b9[_0x2d3381([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2d3381([0x67,0x65,0x74])](_0x2d3381([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xb57d86(){let _0x1b2804,_0x329e55=null,_0x54eb73=null;try{if(_0x395878==_0x2d3381([0x47,0x50,0x4c]))return _0x2d3381([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1b2804=_0x523eda(),!_0x1b2804)return _0x2d3381([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1b2804[_0x2d3381([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x54eb73=_0x565589(_0x1b2804[_0x2d3381([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1b2804[_0x2d3381([0x6a,0x74,0x69])])),await _0x358823()?_0x15b98()?_0x8bccf8()?_0x2d3381([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1e571b()?(_0x1b2804[_0x2d3381([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2d3381([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x329e55=_0x28f7b9(_0x2d3381([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3443b2()):_0x2d3381([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2d3381([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2d3381([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2d3381([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x8bccf8(){const _0x20b5da=[_0x2d3381([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2d3381([0x74,0x72,0x69,0x61,0x6c])][_0x2d3381([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1b2804[_0x2d3381([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3b7482/0x3e8:0xe10*_0x5507d3;return _0x1b2804[_0x2d3381([0x65,0x78,0x70])]<_0x20b5da;}function _0x15b98(){const _0x6c65f4=_0x1b2804[_0x2d3381([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x6c65f4&&(!!_0x6c65f4[_0x2d3381([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2d3381([0x2a]))||!!_0x6c65f4[_0x2d3381([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2d3381([0x53,0x45,0x45])));}function _0x1e571b(){const _0xfa6ecf=_0x1b2804[_0x2d3381([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xfa6ecf||0x0==_0xfa6ecf[_0x2d3381([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x435da5}=new URL(window[_0x2d3381([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0xfa6ecf[_0x2d3381([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x435da5))return!0x0;const _0x415cb5=_0x435da5[_0x2d3381([0x73,0x70,0x6c,0x69,0x74])](_0x2d3381([0x2e]));return _0xfa6ecf[_0x2d3381([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3cbb9f=>_0x3cbb9f[_0x2d3381([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2d3381([0x2a])))[_0x2d3381([0x6d,0x61,0x70])](_0x59374c=>_0x59374c[_0x2d3381([0x73,0x70,0x6c,0x69,0x74])](_0x2d3381([0x2e])))[_0x2d3381([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5730f2=>_0x5730f2[_0x2d3381([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x415cb5[_0x2d3381([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2d3381([0x6d,0x61,0x70])](_0x2cd7ab=>Array(_0x415cb5[_0x2d3381([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2cd7ab[_0x2d3381([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2d3381([0x66,0x69,0x6c,0x6c])](_0x2cd7ab[0x0]===_0x2d3381([0x2a])?_0x2d3381([0x2a]):'')[_0x2d3381([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2cd7ab))[_0x2d3381([0x73,0x6f,0x6d,0x65])](_0x5e6979=>_0x415cb5[_0x2d3381([0x65,0x76,0x65,0x72,0x79])]((_0x5b4624,_0x27fae9)=>_0x5e6979[_0x27fae9]===_0x5b4624||_0x5e6979[_0x27fae9]===_0x2d3381([0x2a])));}function _0x3443b2(){return _0x329e55&&_0x54eb73?new window[(_0x2d3381([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5e94e9,_0x101cc4)=>{_0x329e55[_0x2d3381([0x74,0x68,0x65,0x6e])](_0x5e94e9,_0x101cc4),_0x54eb73[_0x2d3381([0x74,0x68,0x65,0x6e])](_0x358fb5=>{_0x358fb5!=_0x2d3381([0x56,0x61,0x6c,0x69,0x64])&&_0x5e94e9(_0x358fb5);},_0x101cc4);}):_0x329e55||_0x54eb73||_0x2d3381([0x56,0x61,0x6c,0x69,0x64]);}}function _0x565589(_0xd535bc,_0x2335e0){return new window[(_0x2d3381([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x560cd4=>{if(_0x2e4d2f())return _0x560cd4(_0x2d3381([0x56,0x61,0x6c,0x69,0x64]));_0x5f3b2e(),_0x50d6b9[_0x2d3381([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2d3381([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4ad6ba=!0x1;const _0x5f12de=_0x57628a();function _0x49a116(_0x5c5e6a){return!!_0x5c5e6a&&(typeof _0x5c5e6a===_0x2d3381([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5c5e6a===_0x2d3381([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5c5e6a[_0x2d3381([0x74,0x68,0x65,0x6e])]===_0x2d3381([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5c5e6a[_0x2d3381([0x63,0x61,0x74,0x63,0x68])]===_0x2d3381([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x21a23e(_0x1b4906){_0x168db7(_0x1b4906)[_0x2d3381([0x74,0x68,0x65,0x6e])](_0xd3ced=>{if(!_0xd3ced||_0xd3ced[_0x2d3381([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2d3381([0x6f,0x6b]))return _0x2d3381([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x240923(_0x472161(_0x5f12de+_0x2335e0))!=_0xd3ced[_0x2d3381([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2d3381([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2d3381([0x56,0x61,0x6c,0x69,0x64]);})[_0x2d3381([0x74,0x68,0x65,0x6e])](_0x234c4f=>(_0x4a2cf7(),_0x234c4f),()=>{const _0x506c6b=_0x539d7a();return null==_0x506c6b?(_0x4a2cf7(),_0x2d3381([0x56,0x61,0x6c,0x69,0x64])):_0x2d3381(_0x3b7482-_0x506c6b>(0x79b61714^_0x51c7c4)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2d3381([0x74,0x68,0x65,0x6e])](_0x560cd4)[_0x2d3381([0x63,0x61,0x74,0x63,0x68])](()=>{_0x560cd4(_0x2d3381([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x24b58b=0x5d8c7d94^_0x51c7c4;function _0x4a2cf7(){const _0x3e86a5=_0x2d3381([0x6c,0x6c,0x63,0x74,0x2d])+_0x240923(_0x472161(_0xd535bc)),_0x1169eb=_0x25b837(_0x240923(window[_0x2d3381([0x4d,0x61,0x74,0x68])][_0x2d3381([0x63,0x65,0x69,0x6c])](_0x3b7482/_0x24b58b)));window[_0x2d3381([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2d3381([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3e86a5,_0x1169eb);}function _0x539d7a(){const _0x9f850=_0x2d3381([0x6c,0x6c,0x63,0x74,0x2d])+_0x240923(_0x472161(_0xd535bc)),_0x4e31ee=window[_0x2d3381([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2d3381([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x9f850);return _0x4e31ee?window[_0x2d3381([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x25b837(_0x4e31ee),0x10)*_0x24b58b:null;}function _0x168db7(_0x122748){return new window[(_0x2d3381([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5700b3,_0x397b3a)=>{_0x122748[_0x2d3381([0x74,0x68,0x65,0x6e])](_0x5700b3,_0x397b3a),window[_0x2d3381([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x397b3a,0x5dbb47d4^_0x51c7c4);});}}_0x50d6b9[_0x2d3381([0x6f,0x6e])](_0x2d3381([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x29a01f,_0x13171d)=>{if(_0x13171d[0x0]!=_0xd535bc)return _0x560cd4(_0x2d3381([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x13171d[0x1]={..._0x13171d[0x1],[_0x2d3381([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5f12de};},{[_0x2d3381([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2d3381([0x68,0x69,0x67,0x68])}),_0x50d6b9[_0x2d3381([0x6f,0x6e])](_0x2d3381([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x50795f=>{_0x49a116(_0x50795f[_0x2d3381([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4ad6ba=!0x0,_0x21a23e(_0x50795f[_0x2d3381([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2d3381([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2d3381([0x6c,0x6f,0x77])}),_0x31877c[_0x2d3381([0x74,0x68,0x65,0x6e])](()=>{_0x4ad6ba||_0x560cd4(_0x2d3381([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2e4d2f(){return _0x50d6b9[_0x2d3381([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2d3381([0x76,0x69,0x65,0x77])][_0x2d3381([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2d3381([0x61,0x75,0x74,0x6f]);}function _0x5f3b2e(){_0x50d6b9[_0x2d3381([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2d3381([0x76,0x69,0x65,0x77])][_0x2d3381([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2d3381([0x61,0x75,0x74,0x6f]);}}function _0x28f7b9(_0x43bf05){const _0x22b7f3=[new window[(_0x2d3381([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4296d2=>setTimeout(_0x4296d2,0x5db3add8^_0x51c7c4)),_0x31877c[_0x2d3381([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2d3381([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x163823=>{let _0x3565ff=0x0;_0x50d6b9[_0x2d3381([0x6d,0x6f,0x64,0x65,0x6c])][_0x2d3381([0x6f,0x6e])](_0x2d3381([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x236f7a,_0xd60033)=>{_0xd60033[0x0][_0x2d3381([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3565ff++,_0x3565ff==(0x5dba96fc^_0x51c7c4)&&(_0x163823(),_0x236f7a[_0x2d3381([0x6f,0x66,0x66])]());});}))];return window[_0x2d3381([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2d3381([0x72,0x61,0x63,0x65])](_0x22b7f3)[_0x2d3381([0x74,0x68,0x65,0x6e])](()=>_0x43bf05);}async function _0x563932(){await _0x31877c,_0x50d6b9[_0x2d3381([0x6d,0x6f,0x64,0x65,0x6c])][_0x2d3381([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x30d6d3,_0x50d6b9[_0x2d3381([0x6d,0x6f,0x64,0x65,0x6c])][_0x2d3381([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x30d6d3,_0x50d6b9[_0x2d3381([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2d3381([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x20c29c(_0x52eff1){const _0x45b73e=_0x25d6fa();_0x50d6b9[_0x45b73e]=_0x2d3381([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])+_0x52eff1,_0x52eff1!=_0x2d3381([0x56,0x61,0x6c,0x69,0x64])&&_0x563932();}function _0x25d6fa(){const _0xa9c24d=window[_0x2d3381([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2d3381([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2d3381([0x6e,0x6f,0x77])]())[_0x2d3381([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2d3381([0x2e]),'');let _0x2c10a0=_0x2d3381([0x4e]);for(let _0xaba99b=0x0;_0xaba99b<_0xa9c24d[_0x2d3381([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xaba99b+=0x2){let _0x22b67d=window[_0x2d3381([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xa9c24d[_0x2d3381([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xaba99b,_0xaba99b+0x2));_0x22b67d>=_0xa4c33[_0x2d3381([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x22b67d-=_0xa4c33[_0x2d3381([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2c10a0+=_0xa4c33[_0x22b67d];}return _0x2c10a0;}function _0x523eda(){const _0x322acb=_0x395878[_0x2d3381([0x73,0x70,0x6c,0x69,0x74])](_0x2d3381([0x2e]));if(0x3!=_0x322acb[_0x2d3381([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x31e752(_0x322acb[0x1]);function _0x31e752(_0x58a64d){const _0x18070a=_0x1e5c0b(_0x58a64d);return _0x18070a&&_0x55a177()?_0x18070a:null;function _0x55a177(){const _0x21ae67=_0x18070a[_0x2d3381([0x6a,0x74,0x69])],_0x5670ba=window[_0x2d3381([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x21ae67[_0x2d3381([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x21ae67[_0x2d3381([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x19da5d={..._0x18070a,[_0x2d3381([0x6a,0x74,0x69])]:_0x21ae67[_0x2d3381([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x21ae67[_0x2d3381([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x19da5d[_0x2d3381([0x76,0x63])],_0x472161(_0x19da5d)==_0x5670ba;}}}async function _0x358823(){let _0x4e930a=!0x0;try{const _0x33c345=_0x395878[_0x2d3381([0x73,0x70,0x6c,0x69,0x74])](_0x2d3381([0x2e])),[_0x4e8052,_0x3485c0,_0x368434]=_0x33c345;return _0x3c22b4(_0x4e8052),await _0x1fdf3b(_0x4e8052,_0x3485c0,_0x368434),_0x4e930a;}catch{return!0x1;}function _0x3c22b4(_0x251746){const _0x48d424=_0x1e5c0b(_0x251746);_0x48d424&&_0x48d424[_0x2d3381([0x61,0x6c,0x67])]==_0x2d3381([0x45,0x53,0x32,0x35,0x36])||(_0x4e930a=!0x1);}async function _0x1fdf3b(_0x823f17,_0x1cc766,_0x363d99){const _0x1d8eb9=window[_0x2d3381([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2d3381([0x66,0x72,0x6f,0x6d])](_0x1fe13e(_0x363d99),_0x1e57b7=>_0x1e57b7[_0x2d3381([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3e1454=new window[(_0x2d3381([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2d3381([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x823f17+_0x2d3381([0x2e])+_0x1cc766),_0x58eae9=window[_0x2d3381([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2d3381([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x58eae9)return;const _0x482ff7=await _0x58eae9[_0x2d3381([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2d3381([0x6a,0x77,0x6b]),_0x3802c4,{[_0x2d3381([0x6e,0x61,0x6d,0x65])]:_0x2d3381([0x45,0x43,0x44,0x53,0x41]),[_0x2d3381([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2d3381([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2d3381([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x58eae9[_0x2d3381([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2d3381([0x6e,0x61,0x6d,0x65])]:_0x2d3381([0x45,0x43,0x44,0x53,0x41]),[_0x2d3381([0x68,0x61,0x73,0x68])]:{[_0x2d3381([0x6e,0x61,0x6d,0x65])]:_0x2d3381([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x482ff7,_0x1d8eb9,_0x3e1454)||(_0x4e930a=!0x1);}}function _0x1e5c0b(_0x9bac15){return _0x9bac15[_0x2d3381([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2d3381([0x65,0x79]))?JSON[_0x2d3381([0x70,0x61,0x72,0x73,0x65])](_0x1fe13e(_0x9bac15)):null;}function _0x1fe13e(_0x57982e){return window[_0x2d3381([0x61,0x74,0x6f,0x62])](_0x57982e[_0x2d3381([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2d3381([0x2b]))[_0x2d3381([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2d3381([0x2f])));}function _0x472161(_0xa520cb){let _0x2b464e=0x1505;function _0x296702(_0x28c458){for(let _0x36bc3c=0x0;_0x36bc3c<_0x28c458[_0x2d3381([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x36bc3c++){const _0x9a02e1=_0x28c458[_0x2d3381([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x36bc3c);_0x2b464e=(_0x2b464e<<0x5)+_0x2b464e+_0x9a02e1,_0x2b464e&=_0x2b464e;}}function _0x4f5da3(_0x52c6f2){Array[_0x2d3381([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x52c6f2)?_0x52c6f2[_0x2d3381([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4f5da3):_0x52c6f2&&typeof _0x52c6f2==_0x2d3381([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2d3381([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x52c6f2)[_0x2d3381([0x73,0x6f,0x72,0x74])]()[_0x2d3381([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x136b74,_0x3e6146])=>{_0x296702(_0x136b74),_0x4f5da3(_0x3e6146);}):_0x296702(window[_0x2d3381([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x52c6f2));}return _0x4f5da3(_0xa520cb),_0x2b464e>>>0x0;}function _0x240923(_0x3a5016){return _0x3a5016[_0x2d3381([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2d3381([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2d3381([0x30]));}function _0x25b837(_0xbb3645){return _0xbb3645[_0x2d3381([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2d3381([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2d3381([0x6a,0x6f,0x69,0x6e])]('');}function _0x30d6d3(){}function _0x2d3381(_0x5aa682){return _0x5aa682['map'](_0x1e13f4=>String['fromCharCode'](_0x1e13f4))['join']('');}_0x20c29c(await _0xb57d86());}(this);}['_createButton'](_0x4f8233,_0x44476e,_0x109ac8=!0x1){const _0x3276f8=new _0x4f8233(this['editor']['locale']);return _0x3276f8['set']({'withText':_0x109ac8,'isToggleable':!0x1}),_0x3276f8['bind']('isEnabled')['to'](_0x44476e,'isEnabled'),this['listenTo'](_0x3276f8,'execute',()=>_0x44476e['execute']()),_0x3276f8;}['_registerKeybindings'](){const _0x269cc1=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':w(_0x269cc1,'Source\x20Editing\x20Enhanced')});const _0x3803e7=_0x2c3678['isMac']||_0x2c3678['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':w(_0x269cc1,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':w(_0x269cc1,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':w(_0x269cc1,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':w(_0x269cc1,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':w(_0x269cc1,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':w(_0x269cc1,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':w(_0x269cc1,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x3803e7?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':w(_0x269cc1,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':w(_0x269cc1,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':w(_0x269cc1,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':w(_0x269cc1,'Select\x20line'),'keystroke':_0x3803e7?'Ctrl!+L':'Alt+L'},{'label':w(_0x269cc1,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x3803e7?'Alt+Shift+M':'Ctrl+M'},{'label':w(_0x269cc1,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':w(_0x269cc1,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':w(_0x269cc1,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':w(_0x269cc1,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':w(_0x269cc1,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x3803e7?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}class c extends _0x11cc2f{constructor(_0x53ead4){super(_0x53ead4),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0x3faf97,_0x1e1268){const _0x1420f9=this['editor'],_0x405268=_0x1e1268?.['rootName']??r(_0x1420f9);_0x1420f9['data']['set']({[_0x405268]:_0x3faf97},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}class ee extends _0x2c0b19{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[a];}constructor(_0x398c5a){super(_0x398c5a),_0x398c5a['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 _0x42d53d=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x52a6d4;for(const _0x29d08d in _0x42d53d){const _0x469313=_0x29d08d,_0x3b6fbb=_0x42d53d[_0x469313];if('sourceEditingEnhancedLicenseKeyValid'==_0x3b6fbb||'sourceEditingEnhancedLicenseKeyInvalid'==_0x3b6fbb||'sourceEditingEnhancedLicenseKeyExpired'==_0x3b6fbb||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x3b6fbb||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x3b6fbb||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x3b6fbb||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x3b6fbb){delete _0x42d53d[_0x469313],_0x52a6d4=_0x3b6fbb,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0x52a6d4&&_0x42d53d['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0x52a6d4&&_0x42d53d['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x52a6d4&&_0x42d53d['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x52a6d4&&_0x42d53d['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x52a6d4&&_0x42d53d['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x52a6d4&&_0x42d53d['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0x1c90ff=this['editor'],_0x172073=_0x1c90ff['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0x172073&&_0x1c90ff['plugins']['has']('RealTimeCollaborativeEditing'))throw new _0x230eb0('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0x172073&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x2de17a=>_0x1c90ff['plugins']['has'](_0x2de17a))&&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.'),_0x1c90ff['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": "47.7.0-alpha.0",
3
+ "version": "47.7.0-alpha.1",
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": "47.7.0-alpha.0",
22
- "@ckeditor/ckeditor5-icons": "47.7.0-alpha.0",
23
- "@ckeditor/ckeditor5-theme-lark": "47.7.0-alpha.0",
24
- "@ckeditor/ckeditor5-ui": "47.7.0-alpha.0",
25
- "@ckeditor/ckeditor5-utils": "47.7.0-alpha.0",
21
+ "@ckeditor/ckeditor5-core": "47.7.0-alpha.1",
22
+ "@ckeditor/ckeditor5-icons": "47.7.0-alpha.1",
23
+ "@ckeditor/ckeditor5-theme-lark": "47.7.0-alpha.1",
24
+ "@ckeditor/ckeditor5-ui": "47.7.0-alpha.1",
25
+ "@ckeditor/ckeditor5-utils": "47.7.0-alpha.1",
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": "47.7.0-alpha.0"
34
+ "ckeditor5": "47.7.0-alpha.1"
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 _0x782a66=_0x153f;(function(_0x147730,_0x13e05f){const _0x379b12=_0x153f,_0x1e7dc6=_0x147730();while(!![]){try{const _0x36f54c=parseInt(_0x379b12(0x1d7))/0x1*(-parseInt(_0x379b12(0x1a9))/0x2)+-parseInt(_0x379b12(0x1cc))/0x3+-parseInt(_0x379b12(0x184))/0x4+-parseInt(_0x379b12(0x1ba))/0x5*(parseInt(_0x379b12(0x1ce))/0x6)+parseInt(_0x379b12(0x1b3))/0x7+parseInt(_0x379b12(0x197))/0x8+parseInt(_0x379b12(0x1c8))/0x9;if(_0x36f54c===_0x13e05f)break;else _0x1e7dc6['push'](_0x1e7dc6['shift']());}catch(_0x469be5){_0x1e7dc6['push'](_0x1e7dc6['shift']());}}}(_0x49ac,0xaa64c));import{Plugin as _0x4627e6,PendingActions as _0x20557b}from'ckeditor5/src/core.js';import{IconSource as _0x5872b2}from'ckeditor5/src/icons.js';import{ButtonView as _0x5efcca,MenuBarMenuListItemButtonView as _0x5b5035}from'ckeditor5/src/ui.js';import{EditSourceCommand as _0x24ea5d}from'./ui/editsourcecommand.js';import{getTranslation as _0x1551fd}from'./utils/common-translations.js';function _0x49ac(){const _0x393b10=['Shift+Alt+ArrowUp','isOfficialPlugin','Ctrl+Shift+[','Move\x20line\x20up','Unfold\x20code\x20(current\x20level)','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode','addKeystrokeInfos','Ctrl!+Alt+[','addKeystrokeInfoCategory','set','commands','10761176uTESOh','Shift+Alt+A','Indent\x20more','isMac','bind','Redo\x20(keystroke)','Ctrl+Z','requires','Ctrl!+Alt+]','menuitemcheckbox','join','Shift+Alt+ArrowDown','menuBar:sourceEditingEnhanced','editor','Source\x20Editing\x20Enhanced','_createButton','isiOS','Ctrl!+L','4fwjDrD','Ctrl+/','Fold\x20all','listenTo','map','Delete\x20line','Edit\x20source\x20modal\x20label','Shift+Ctrl+K','isPremiumPlugin','Indent\x20less','5946045YVVnjr','Cmd+Alt+]','Toggle\x20comment','Ctrl+]','isEnabled','Toggle\x20block\x20comment','accessibility','15JmtjVn','fromCharCode','locale','editSource','add','Copy\x20line\x20up','Undo\x20(keystroke)','Alt+ArrowDown','Fold\x20code\x20(current\x20level)','execute','Alt+Shift+M','Ctrl+[','Unfold\x20all','_registerKeybindings','5616765eQOLtU','Move\x20line\x20down','Ctrl+Shift+Z','init','2375067ugzkHu','Source','237330AcHmnr','pluginName','ck-source-editing-enhanced-button','Select\x20line','Cmd+Alt+[','Ctrl+Y','componentFactory','SourceEditingEnhancedUI','Alt+L','383798dtXVhV','1771140JWzMYN','Alt+ArrowUp','afterInit','sourceEditingEnhanced','Ctrl+M','href','Copy\x20line\x20down','Ctrl+Shift+]'];_0x49ac=function(){return _0x393b10;};return _0x49ac();}import{env as _0x6ad4bb,uid as _0x3cd6b0}from'ckeditor5/src/utils.js';import'../theme/sourceeditingenhanced.css';function _0x153f(_0x247a91,_0x3a962c){const _0x49acc5=_0x49ac();return _0x153f=function(_0x153f63,_0x3b9a59){_0x153f63=_0x153f63-0x184;let _0x51ef12=_0x49acc5[_0x153f63];return _0x51ef12;},_0x153f(_0x247a91,_0x3a962c);}export class SourceEditingEnhancedUI extends _0x4627e6{static get[_0x782a66(0x1cf)](){const _0x4a80bf=_0x782a66;return _0x4a80bf(0x1d5);}static get[_0x782a66(0x19e)](){return[_0x20557b];}static get[_0x782a66(0x18d)](){return!0x0;}static get[_0x782a66(0x1b1)](){return!0x0;}[_0x782a66(0x1cb)](){const _0x310708=_0x782a66,_0x1fb818=this[_0x310708(0x1a4)],_0x37c0a7=_0x1fb818[_0x310708(0x1bc)],_0x177fda=new _0x24ea5d(_0x1fb818);_0x1fb818[_0x310708(0x196)][_0x310708(0x1be)](_0x310708(0x1bd),_0x177fda),_0x1fb818['ui'][_0x310708(0x1d4)][_0x310708(0x1be)](_0x310708(0x187),()=>{const _0xd4d254=_0x310708,_0x160607=this[_0xd4d254(0x1a6)](_0x5efcca,_0x177fda);return _0x160607[_0xd4d254(0x195)]({'label':_0x1551fd(_0x37c0a7,_0xd4d254(0x1cd)),'icon':_0x5872b2,'tooltip':_0x1551fd(_0x37c0a7,_0xd4d254(0x1af)),'class':_0xd4d254(0x1d0)}),_0x160607;}),_0x1fb818['ui'][_0x310708(0x1d4)][_0x310708(0x1be)](_0x310708(0x1a3),()=>{const _0x402fff=_0x310708,_0x3532e7=this[_0x402fff(0x1a6)](_0x5b5035,_0x177fda,!0x0);return _0x3532e7[_0x402fff(0x195)]({'label':_0x1551fd(_0x37c0a7,_0x402fff(0x1af)),'icon':_0x5872b2,'role':_0x402fff(0x1a0)}),_0x3532e7;}),this[_0x310708(0x1c7)]();}[_0x782a66(0x186)](){!async function(_0x2233f5){const _0x307648=_0x2030c3([0x4e,0x51,0x56,0x58,0x79,0x42,0x46,0x48,0x4a,0x7a,0x72,0x38,0x57,0x47,0x49,0x34,0x61,0x5a,0x6e,0x54,0x65,0x6f,0x55,0x78,0x36,0x70,0x39,0x6a,0x66,0x76,0x33,0x44,0x69,0x74,0x4c,0x77,0x75,0x63,0x6b,0x59,0x6c,0x68,0x64,0x4d,0x41,0x32,0x4b,0x35,0x53,0x37,0x6d,0x62,0x43,0x4f,0x50,0x45,0x73,0x31,0x71,0x67,0x52,0x30]),_0x133148=0x5dba9314,_0x5e025a=0x5dbd15bc^_0x133148,_0x216624=window[_0x2030c3([0x44,0x61,0x74,0x65])][_0x2030c3([0x6e,0x6f,0x77])](),_0x2747b5=_0x2233f5[_0x2030c3([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xe5427d=new window[(_0x2030c3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x543db6=>{_0x2747b5[_0x2030c3([0x6f,0x6e,0x63,0x65])](_0x2030c3([0x72,0x65,0x61,0x64,0x79]),_0x543db6);}),_0x9a6c43={[_0x2030c3([0x6b,0x74,0x79])]:_0x2030c3([0x45,0x43]),[_0x2030c3([0x75,0x73,0x65])]:_0x2030c3([0x73,0x69,0x67]),[_0x2030c3([0x63,0x72,0x76])]:_0x2030c3([0x50,0x2d,0x32,0x35,0x36]),[_0x2030c3([0x78])]:_0x2030c3([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]),[_0x2030c3([0x79])]:_0x2030c3([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]),[_0x2030c3([0x61,0x6c,0x67])]:_0x2030c3([0x45,0x53,0x32,0x35,0x36])},_0x19f2e5=_0x2747b5[_0x2030c3([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2030c3([0x67,0x65,0x74])](_0x2030c3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5be67a(){let _0x58de1b,_0x3d9b25=null,_0x2d4738=null;try{if(_0x19f2e5==_0x2030c3([0x47,0x50,0x4c]))return _0x2030c3([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x58de1b=_0x2aa227(),!_0x58de1b)return _0x2030c3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x58de1b[_0x2030c3([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2d4738=_0x36489e(_0x58de1b[_0x2030c3([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x58de1b[_0x2030c3([0x6a,0x74,0x69])])),await _0x58eeb4()?_0x5f1b1e()?_0x4b0804()?_0x2030c3([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x430e52()?(_0x58de1b[_0x2030c3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2030c3([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3d9b25=_0x6a6644(_0x2030c3([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x408492()):_0x2030c3([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2030c3([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2030c3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2030c3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4b0804(){const _0x1acadc=[_0x2030c3([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2030c3([0x74,0x72,0x69,0x61,0x6c])][_0x2030c3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x58de1b[_0x2030c3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x216624/0x3e8:0xe10*_0x5e025a;return _0x58de1b[_0x2030c3([0x65,0x78,0x70])]<_0x1acadc;}function _0x5f1b1e(){const _0x11501c=_0x58de1b[_0x2030c3([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x11501c&&(!!_0x11501c[_0x2030c3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2030c3([0x2a]))||!!_0x11501c[_0x2030c3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2030c3([0x53,0x45,0x45])));}function _0x430e52(){const _0x45ac5c=_0x153f,_0x2b55b5=_0x58de1b[_0x2030c3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2b55b5||0x0==_0x2b55b5[_0x2030c3([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5a1cac}=new URL(window[_0x2030c3([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x45ac5c(0x189)]);if(_0x2b55b5[_0x2030c3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5a1cac))return!0x0;const _0x2f9377=_0x5a1cac[_0x2030c3([0x73,0x70,0x6c,0x69,0x74])](_0x2030c3([0x2e]));return _0x2b55b5[_0x2030c3([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x12a880=>_0x12a880[_0x2030c3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2030c3([0x2a])))[_0x2030c3([0x6d,0x61,0x70])](_0xe3979c=>_0xe3979c[_0x2030c3([0x73,0x70,0x6c,0x69,0x74])](_0x2030c3([0x2e])))[_0x2030c3([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x46ea68=>_0x46ea68[_0x2030c3([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2f9377[_0x2030c3([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2030c3([0x6d,0x61,0x70])](_0x423b7f=>Array(_0x2f9377[_0x2030c3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x423b7f[_0x2030c3([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2030c3([0x66,0x69,0x6c,0x6c])](_0x423b7f[0x0]===_0x2030c3([0x2a])?_0x2030c3([0x2a]):'')[_0x2030c3([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x423b7f))[_0x2030c3([0x73,0x6f,0x6d,0x65])](_0x35ede1=>_0x2f9377[_0x2030c3([0x65,0x76,0x65,0x72,0x79])]((_0x123fd2,_0x11430c)=>_0x35ede1[_0x11430c]===_0x123fd2||_0x35ede1[_0x11430c]===_0x2030c3([0x2a])));}function _0x408492(){return _0x3d9b25&&_0x2d4738?new window[(_0x2030c3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x44b77e,_0x552c17)=>{_0x3d9b25[_0x2030c3([0x74,0x68,0x65,0x6e])](_0x44b77e,_0x552c17),_0x2d4738[_0x2030c3([0x74,0x68,0x65,0x6e])](_0x23d98d=>{_0x23d98d!=_0x2030c3([0x56,0x61,0x6c,0x69,0x64])&&_0x44b77e(_0x23d98d);},_0x552c17);}):_0x3d9b25||_0x2d4738||_0x2030c3([0x56,0x61,0x6c,0x69,0x64]);}}function _0x36489e(_0x5a8bf3,_0x128ff6){return new window[(_0x2030c3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x131f00=>{if(_0x26e1fe())return _0x131f00(_0x2030c3([0x56,0x61,0x6c,0x69,0x64]));_0x538695(),_0x2747b5[_0x2030c3([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2030c3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4873af=!0x1;const _0xa4c693=_0x3cd6b0();function _0x5ea475(_0x5d7589){return!!_0x5d7589&&(typeof _0x5d7589===_0x2030c3([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5d7589===_0x2030c3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5d7589[_0x2030c3([0x74,0x68,0x65,0x6e])]===_0x2030c3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5d7589[_0x2030c3([0x63,0x61,0x74,0x63,0x68])]===_0x2030c3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x15049f(_0x33298a){_0x4c0719(_0x33298a)[_0x2030c3([0x74,0x68,0x65,0x6e])](_0x2c8b81=>{if(!_0x2c8b81||_0x2c8b81[_0x2030c3([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2030c3([0x6f,0x6b]))return _0x2030c3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x61579(_0x2123df(_0xa4c693+_0x128ff6))!=_0x2c8b81[_0x2030c3([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2030c3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2030c3([0x56,0x61,0x6c,0x69,0x64]);})[_0x2030c3([0x74,0x68,0x65,0x6e])](_0x30fb02=>(_0xbc3f78(),_0x30fb02),()=>{const _0x10e80f=_0x353ce6();return null==_0x10e80f?(_0xbc3f78(),_0x2030c3([0x56,0x61,0x6c,0x69,0x64])):_0x2030c3(_0x216624-_0x10e80f>(0x79b61714^_0x133148)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2030c3([0x74,0x68,0x65,0x6e])](_0x131f00)[_0x2030c3([0x63,0x61,0x74,0x63,0x68])](()=>{_0x131f00(_0x2030c3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x20646b=0x5d8c7d94^_0x133148;function _0xbc3f78(){const _0x362f3b=_0x2030c3([0x6c,0x6c,0x63,0x74,0x2d])+_0x61579(_0x2123df(_0x5a8bf3)),_0xcc5bbb=_0x1cf1ca(_0x61579(window[_0x2030c3([0x4d,0x61,0x74,0x68])][_0x2030c3([0x63,0x65,0x69,0x6c])](_0x216624/_0x20646b)));window[_0x2030c3([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2030c3([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x362f3b,_0xcc5bbb);}function _0x353ce6(){const _0x13e5f1=_0x2030c3([0x6c,0x6c,0x63,0x74,0x2d])+_0x61579(_0x2123df(_0x5a8bf3)),_0x46bafe=window[_0x2030c3([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2030c3([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x13e5f1);return _0x46bafe?window[_0x2030c3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1cf1ca(_0x46bafe),0x10)*_0x20646b:null;}function _0x4c0719(_0x356e22){return new window[(_0x2030c3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3b3051,_0xbd2884)=>{_0x356e22[_0x2030c3([0x74,0x68,0x65,0x6e])](_0x3b3051,_0xbd2884),window[_0x2030c3([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xbd2884,0x5dbb47d4^_0x133148);});}}_0x2747b5[_0x2030c3([0x6f,0x6e])](_0x2030c3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4e42da,_0xee5730)=>{if(_0xee5730[0x0]!=_0x5a8bf3)return _0x131f00(_0x2030c3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xee5730[0x1]={..._0xee5730[0x1],[_0x2030c3([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xa4c693};},{[_0x2030c3([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2030c3([0x68,0x69,0x67,0x68])}),_0x2747b5[_0x2030c3([0x6f,0x6e])](_0x2030c3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2caea1=>{_0x5ea475(_0x2caea1[_0x2030c3([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4873af=!0x0,_0x15049f(_0x2caea1[_0x2030c3([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2030c3([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2030c3([0x6c,0x6f,0x77])}),_0xe5427d[_0x2030c3([0x74,0x68,0x65,0x6e])](()=>{_0x4873af||_0x131f00(_0x2030c3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x26e1fe(){return _0x2747b5[_0x2030c3([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2030c3([0x76,0x69,0x65,0x77])][_0x2030c3([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2030c3([0x61,0x75,0x74,0x6f]);}function _0x538695(){_0x2747b5[_0x2030c3([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2030c3([0x76,0x69,0x65,0x77])][_0x2030c3([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2030c3([0x61,0x75,0x74,0x6f]);}}function _0x6a6644(_0x178d65){const _0x29359f=[new window[(_0x2030c3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2037a1=>setTimeout(_0x2037a1,0x5db3add8^_0x133148)),_0xe5427d[_0x2030c3([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2030c3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4dca34=>{let _0x2d9eaf=0x0;_0x2747b5[_0x2030c3([0x6d,0x6f,0x64,0x65,0x6c])][_0x2030c3([0x6f,0x6e])](_0x2030c3([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5dfcd0,_0x514d62)=>{_0x514d62[0x0][_0x2030c3([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2d9eaf++,_0x2d9eaf==(0x5dba96fc^_0x133148)&&(_0x4dca34(),_0x5dfcd0[_0x2030c3([0x6f,0x66,0x66])]());});}))];return window[_0x2030c3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2030c3([0x72,0x61,0x63,0x65])](_0x29359f)[_0x2030c3([0x74,0x68,0x65,0x6e])](()=>_0x178d65);}async function _0x3be8ff(){await _0xe5427d,_0x2747b5[_0x2030c3([0x6d,0x6f,0x64,0x65,0x6c])][_0x2030c3([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x35ef19,_0x2747b5[_0x2030c3([0x6d,0x6f,0x64,0x65,0x6c])][_0x2030c3([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x35ef19,_0x2747b5[_0x2030c3([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2030c3([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x43c591(_0x1761b0){const _0x33c12f=_0x3c6ee1();_0x2747b5[_0x33c12f]=_0x2030c3([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])+_0x1761b0,_0x1761b0!=_0x2030c3([0x56,0x61,0x6c,0x69,0x64])&&_0x3be8ff();}function _0x3c6ee1(){const _0x1f5816=window[_0x2030c3([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2030c3([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2030c3([0x6e,0x6f,0x77])]())[_0x2030c3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2030c3([0x2e]),'');let _0x119ea9=_0x2030c3([0x4e]);for(let _0x45d9d6=0x0;_0x45d9d6<_0x1f5816[_0x2030c3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x45d9d6+=0x2){let _0x3773d9=window[_0x2030c3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1f5816[_0x2030c3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x45d9d6,_0x45d9d6+0x2));_0x3773d9>=_0x307648[_0x2030c3([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3773d9-=_0x307648[_0x2030c3([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x119ea9+=_0x307648[_0x3773d9];}return _0x119ea9;}function _0x2aa227(){const _0x72bfa=_0x19f2e5[_0x2030c3([0x73,0x70,0x6c,0x69,0x74])](_0x2030c3([0x2e]));if(0x3!=_0x72bfa[_0x2030c3([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x21d9dd(_0x72bfa[0x1]);function _0x21d9dd(_0x140619){const _0x102fd3=_0x4e3362(_0x140619);return _0x102fd3&&_0x5a6bdd()?_0x102fd3:null;function _0x5a6bdd(){const _0x5a784a=_0x102fd3[_0x2030c3([0x6a,0x74,0x69])],_0x5e1d5e=window[_0x2030c3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5a784a[_0x2030c3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5a784a[_0x2030c3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x28bd95={..._0x102fd3,[_0x2030c3([0x6a,0x74,0x69])]:_0x5a784a[_0x2030c3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5a784a[_0x2030c3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x28bd95[_0x2030c3([0x76,0x63])],_0x2123df(_0x28bd95)==_0x5e1d5e;}}}async function _0x58eeb4(){let _0x44e08a=!0x0;try{const _0x1c0457=_0x19f2e5[_0x2030c3([0x73,0x70,0x6c,0x69,0x74])](_0x2030c3([0x2e])),[_0x4959dc,_0x30d8e8,_0x45be22]=_0x1c0457;return _0x5b6c6f(_0x4959dc),await _0x2ae1b5(_0x4959dc,_0x30d8e8,_0x45be22),_0x44e08a;}catch{return!0x1;}function _0x5b6c6f(_0xc52623){const _0x1cc67a=_0x4e3362(_0xc52623);_0x1cc67a&&_0x1cc67a[_0x2030c3([0x61,0x6c,0x67])]==_0x2030c3([0x45,0x53,0x32,0x35,0x36])||(_0x44e08a=!0x1);}async function _0x2ae1b5(_0x42d9cf,_0x1c5f76,_0x171def){const _0x3488ab=window[_0x2030c3([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2030c3([0x66,0x72,0x6f,0x6d])](_0x4c94fa(_0x171def),_0x483711=>_0x483711[_0x2030c3([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x254a44=new window[(_0x2030c3([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2030c3([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x42d9cf+_0x2030c3([0x2e])+_0x1c5f76),_0x3b7414=window[_0x2030c3([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2030c3([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3b7414)return;const _0x506f80=await _0x3b7414[_0x2030c3([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2030c3([0x6a,0x77,0x6b]),_0x9a6c43,{[_0x2030c3([0x6e,0x61,0x6d,0x65])]:_0x2030c3([0x45,0x43,0x44,0x53,0x41]),[_0x2030c3([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2030c3([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2030c3([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3b7414[_0x2030c3([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2030c3([0x6e,0x61,0x6d,0x65])]:_0x2030c3([0x45,0x43,0x44,0x53,0x41]),[_0x2030c3([0x68,0x61,0x73,0x68])]:{[_0x2030c3([0x6e,0x61,0x6d,0x65])]:_0x2030c3([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x506f80,_0x3488ab,_0x254a44)||(_0x44e08a=!0x1);}}function _0x4e3362(_0xe0e7d3){return _0xe0e7d3[_0x2030c3([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2030c3([0x65,0x79]))?JSON[_0x2030c3([0x70,0x61,0x72,0x73,0x65])](_0x4c94fa(_0xe0e7d3)):null;}function _0x4c94fa(_0x4cebf2){return window[_0x2030c3([0x61,0x74,0x6f,0x62])](_0x4cebf2[_0x2030c3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2030c3([0x2b]))[_0x2030c3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2030c3([0x2f])));}function _0x2123df(_0x477bfb){let _0x5d4cf8=0x1505;function _0xd5cef4(_0x4ca56e){for(let _0x59951c=0x0;_0x59951c<_0x4ca56e[_0x2030c3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x59951c++){const _0x392f6c=_0x4ca56e[_0x2030c3([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x59951c);_0x5d4cf8=(_0x5d4cf8<<0x5)+_0x5d4cf8+_0x392f6c,_0x5d4cf8&=_0x5d4cf8;}}function _0x2f60cc(_0x2ab082){Array[_0x2030c3([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2ab082)?_0x2ab082[_0x2030c3([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2f60cc):_0x2ab082&&typeof _0x2ab082==_0x2030c3([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2030c3([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2ab082)[_0x2030c3([0x73,0x6f,0x72,0x74])]()[_0x2030c3([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4c7798,_0x55e718])=>{_0xd5cef4(_0x4c7798),_0x2f60cc(_0x55e718);}):_0xd5cef4(window[_0x2030c3([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2ab082));}return _0x2f60cc(_0x477bfb),_0x5d4cf8>>>0x0;}function _0x61579(_0x1eecd6){return _0x1eecd6[_0x2030c3([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2030c3([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2030c3([0x30]));}function _0x1cf1ca(_0x4a8624){return _0x4a8624[_0x2030c3([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2030c3([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2030c3([0x6a,0x6f,0x69,0x6e])]('');}function _0x35ef19(){}function _0x2030c3(_0x49fa28){const _0x1581d7=_0x153f;return _0x49fa28[_0x1581d7(0x1ad)](_0x232888=>String[_0x1581d7(0x1bb)](_0x232888))[_0x1581d7(0x1a1)]('');}_0x43c591(await _0x5be67a());}(this);}[_0x782a66(0x1a6)](_0x445a22,_0x167b9e,_0x3c9ee9=!0x1){const _0x407004=_0x782a66,_0x212afc=new _0x445a22(this[_0x407004(0x1a4)][_0x407004(0x1bc)]);return _0x212afc[_0x407004(0x195)]({'withText':_0x3c9ee9,'isToggleable':!0x1}),_0x212afc[_0x407004(0x19b)](_0x407004(0x1b7))['to'](_0x167b9e,_0x407004(0x1b7)),this[_0x407004(0x1ac)](_0x212afc,_0x407004(0x1c3),()=>_0x167b9e[_0x407004(0x1c3)]()),_0x212afc;}[_0x782a66(0x1c7)](){const _0x1c8a45=_0x782a66,_0x47c0c9=this[_0x1c8a45(0x1a4)][_0x1c8a45(0x1bc)];this[_0x1c8a45(0x1a4)][_0x1c8a45(0x1b9)][_0x1c8a45(0x194)]({'id':_0x1c8a45(0x187),'label':_0x1551fd(_0x47c0c9,_0x1c8a45(0x1a5))});const _0x23b415=_0x6ad4bb[_0x1c8a45(0x19a)]||_0x6ad4bb[_0x1c8a45(0x1a7)];this[_0x1c8a45(0x1a4)][_0x1c8a45(0x1b9)][_0x1c8a45(0x192)]({'categoryId':_0x1c8a45(0x187),'keystrokes':[{'label':_0x1551fd(_0x47c0c9,_0x1c8a45(0x18a)),'keystroke':_0x1c8a45(0x1a2)},{'label':_0x1551fd(_0x47c0c9,_0x1c8a45(0x1bf)),'keystroke':_0x1c8a45(0x18c)},{'label':_0x1551fd(_0x47c0c9,_0x1c8a45(0x1ae)),'keystroke':_0x1c8a45(0x1b0)},{'label':_0x1551fd(_0x47c0c9,_0x1c8a45(0x1b2)),'keystroke':_0x1c8a45(0x1c5)},{'label':_0x1551fd(_0x47c0c9,_0x1c8a45(0x199)),'keystroke':_0x1c8a45(0x1b6)},{'label':_0x1551fd(_0x47c0c9,_0x1c8a45(0x1ab)),'keystroke':_0x1c8a45(0x193)},{'label':_0x1551fd(_0x47c0c9,_0x1c8a45(0x1c2)),'keystroke':_0x23b415?_0x1c8a45(0x1d2):_0x1c8a45(0x18e)},{'label':_0x1551fd(_0x47c0c9,_0x1c8a45(0x1c9)),'keystroke':_0x1c8a45(0x1c1)},{'label':_0x1551fd(_0x47c0c9,_0x1c8a45(0x18f)),'keystroke':_0x1c8a45(0x185)},{'label':_0x1551fd(_0x47c0c9,_0x1c8a45(0x19c)),'keystroke':[[_0x1c8a45(0x1ca)],[_0x1c8a45(0x1d3)]]},{'label':_0x1551fd(_0x47c0c9,_0x1c8a45(0x1d1)),'keystroke':_0x23b415?_0x1c8a45(0x1a8):_0x1c8a45(0x1d6)},{'label':_0x1551fd(_0x47c0c9,_0x1c8a45(0x191)),'keystroke':_0x23b415?_0x1c8a45(0x1c4):_0x1c8a45(0x188)},{'label':_0x1551fd(_0x47c0c9,_0x1c8a45(0x1b8)),'keystroke':_0x1c8a45(0x198)},{'label':_0x1551fd(_0x47c0c9,_0x1c8a45(0x1b5)),'keystroke':_0x1c8a45(0x1aa)},{'label':_0x1551fd(_0x47c0c9,_0x1c8a45(0x1c0)),'keystroke':_0x1c8a45(0x19d)},{'label':_0x1551fd(_0x47c0c9,_0x1c8a45(0x1c6)),'keystroke':_0x1c8a45(0x19f)},{'label':_0x1551fd(_0x47c0c9,_0x1c8a45(0x190)),'keystroke':_0x23b415?_0x1c8a45(0x1b4):_0x1c8a45(0x18b)}]});}}
23
+ const _0x1e0e24=_0x1ca3;(function(_0x117cea,_0x15b1f2){const _0x214b48=_0x1ca3,_0x343f51=_0x117cea();while(!![]){try{const _0x1ff3af=-parseInt(_0x214b48(0x84))/0x1*(parseInt(_0x214b48(0x8d))/0x2)+-parseInt(_0x214b48(0x7d))/0x3*(-parseInt(_0x214b48(0xcb))/0x4)+-parseInt(_0x214b48(0xa3))/0x5*(-parseInt(_0x214b48(0xb1))/0x6)+parseInt(_0x214b48(0x8b))/0x7*(-parseInt(_0x214b48(0x8e))/0x8)+parseInt(_0x214b48(0x9a))/0x9*(parseInt(_0x214b48(0xac))/0xa)+parseInt(_0x214b48(0xb9))/0xb+-parseInt(_0x214b48(0xb5))/0xc*(parseInt(_0x214b48(0xa8))/0xd);if(_0x1ff3af===_0x15b1f2)break;else _0x343f51['push'](_0x343f51['shift']());}catch(_0x4adee8){_0x343f51['push'](_0x343f51['shift']());}}}(_0x1105,0x42221));import{Plugin as _0x5239ef,PendingActions as _0xa0026}from'ckeditor5/src/core.js';import{IconSource as _0x20f74a}from'ckeditor5/src/icons.js';import{ButtonView as _0x32f3c4,MenuBarMenuListItemButtonView as _0x4d821f}from'ckeditor5/src/ui.js';import{EditSourceCommand as _0x185d12}from'./ui/editsourcecommand.js';import{getTranslation as _0x2d51ff}from'./utils/common-translations.js';function _0x1105(){const _0x36616a=['Select\x20line','8862QWbkLV','Ctrl!+L','Alt+ArrowDown','Shift+Ctrl+K','24DgxDeo','fromCharCode','isPremiumPlugin','href','2834557bVdsCJ','Source','Toggle\x20block\x20comment','map','commands','addKeystrokeInfoCategory','editor','Copy\x20line\x20down','Ctrl!+Alt+[','Indent\x20more','requires','Alt+ArrowUp','isiOS','join','ck-source-editing-enhanced-button','Redo\x20(keystroke)','execute','Shift+Alt+A','8QpEbXm','Indent\x20less','Source\x20Editing\x20Enhanced','isEnabled','_createButton','Edit\x20source\x20modal\x20label','Fold\x20code\x20(current\x20level)','componentFactory','listenTo','Shift+Alt+ArrowDown','794229OmXnhd','Move\x20line\x20up','afterInit','isMac','Fold\x20all','Ctrl+/','Ctrl+Y','19rYWsBO','Ctrl+]','Cmd+Alt+[','set','accessibility','isOfficialPlugin','locale','14entHOM','Copy\x20line\x20up','39374TtNQDY','347792yUsMJH','sourceEditingEnhanced','init','editSource','Alt+Shift+M','Ctrl+Shift+[','_registerKeybindings','menuBar:sourceEditingEnhanced','pluginName','Undo\x20(keystroke)','Delete\x20line','Move\x20line\x20down','27xIyXmt','Shift+Alt+ArrowUp','Unfold\x20all','SourceEditingEnhancedUI','addKeystrokeInfos','bind','Toggle\x20comment','Ctrl+Shift+Z','Unfold\x20code\x20(current\x20level)','430hnqsrU','add','menuitemcheckbox','Cmd+Alt+]','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode','2677623ziDBTU','Ctrl!+Alt+]','Ctrl+Z','Alt+L','765430TxGqLw','Ctrl+[','Ctrl+Shift+]','Ctrl+M'];_0x1105=function(){return _0x36616a;};return _0x1105();}import{env as _0x2028b4,uid as _0x551818}from'ckeditor5/src/utils.js';function _0x1ca3(_0x3fa4c2,_0x132552){const _0x11053b=_0x1105();return _0x1ca3=function(_0x1ca3e,_0x1af2fd){_0x1ca3e=_0x1ca3e-0x77;let _0x117db7=_0x11053b[_0x1ca3e];return _0x117db7;},_0x1ca3(_0x3fa4c2,_0x132552);}import'../theme/sourceeditingenhanced.css';export class SourceEditingEnhancedUI extends _0x5239ef{static get[_0x1e0e24(0x96)](){const _0x3823c6=_0x1e0e24;return _0x3823c6(0x9d);}static get[_0x1e0e24(0xc3)](){return[_0xa0026];}static get[_0x1e0e24(0x89)](){return!0x0;}static get[_0x1e0e24(0xb7)](){return!0x0;}[_0x1e0e24(0x90)](){const _0x465a46=_0x1e0e24,_0xf184b1=this[_0x465a46(0xbf)],_0x399eb3=_0xf184b1[_0x465a46(0x8a)],_0x6b63f5=new _0x185d12(_0xf184b1);_0xf184b1[_0x465a46(0xbd)][_0x465a46(0xa4)](_0x465a46(0x91),_0x6b63f5),_0xf184b1['ui'][_0x465a46(0x7a)][_0x465a46(0xa4)](_0x465a46(0x8f),()=>{const _0x3a3742=_0x465a46,_0x452858=this[_0x3a3742(0x77)](_0x32f3c4,_0x6b63f5);return _0x452858[_0x3a3742(0x87)]({'label':_0x2d51ff(_0x399eb3,_0x3a3742(0xba)),'icon':_0x20f74a,'tooltip':_0x2d51ff(_0x399eb3,_0x3a3742(0x78)),'class':_0x3a3742(0xc7)}),_0x452858;}),_0xf184b1['ui'][_0x465a46(0x7a)][_0x465a46(0xa4)](_0x465a46(0x95),()=>{const _0x29540c=_0x465a46,_0x2a1a55=this[_0x29540c(0x77)](_0x4d821f,_0x6b63f5,!0x0);return _0x2a1a55[_0x29540c(0x87)]({'label':_0x2d51ff(_0x399eb3,_0x29540c(0x78)),'icon':_0x20f74a,'role':_0x29540c(0xa5)}),_0x2a1a55;}),this[_0x465a46(0x94)]();}[_0x1e0e24(0x7f)](){!async function(_0x4a7a21){const _0x3f07c8=_0x3e5ae5([0x4e,0x51,0x56,0x58,0x79,0x42,0x46,0x48,0x4a,0x7a,0x72,0x38,0x57,0x47,0x49,0x34,0x61,0x5a,0x6e,0x54,0x65,0x6f,0x55,0x78,0x36,0x70,0x39,0x6a,0x66,0x76,0x33,0x44,0x69,0x74,0x4c,0x77,0x75,0x63,0x6b,0x59,0x6c,0x68,0x64,0x4d,0x41,0x32,0x4b,0x35,0x53,0x37,0x6d,0x62,0x43,0x4f,0x50,0x45,0x73,0x31,0x71,0x67,0x52,0x30]),_0x8d0502=0x5dba9314,_0x4b5788=0x5dbd1434^_0x8d0502,_0x42a6d4=window[_0x3e5ae5([0x44,0x61,0x74,0x65])][_0x3e5ae5([0x6e,0x6f,0x77])](),_0x325391=_0x4a7a21[_0x3e5ae5([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x538e97=new window[(_0x3e5ae5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x42ab66=>{_0x325391[_0x3e5ae5([0x6f,0x6e,0x63,0x65])](_0x3e5ae5([0x72,0x65,0x61,0x64,0x79]),_0x42ab66);}),_0x3d3fc8={[_0x3e5ae5([0x6b,0x74,0x79])]:_0x3e5ae5([0x45,0x43]),[_0x3e5ae5([0x75,0x73,0x65])]:_0x3e5ae5([0x73,0x69,0x67]),[_0x3e5ae5([0x63,0x72,0x76])]:_0x3e5ae5([0x50,0x2d,0x32,0x35,0x36]),[_0x3e5ae5([0x78])]:_0x3e5ae5([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]),[_0x3e5ae5([0x79])]:_0x3e5ae5([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]),[_0x3e5ae5([0x61,0x6c,0x67])]:_0x3e5ae5([0x45,0x53,0x32,0x35,0x36])},_0x1158df=_0x325391[_0x3e5ae5([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3e5ae5([0x67,0x65,0x74])](_0x3e5ae5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1acc1a(){let _0x820003,_0x3d1b5a=null,_0x793764=null;try{if(_0x1158df==_0x3e5ae5([0x47,0x50,0x4c]))return _0x3e5ae5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x820003=_0x100f9a(),!_0x820003)return _0x3e5ae5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x820003[_0x3e5ae5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x793764=_0x51b9a1(_0x820003[_0x3e5ae5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x820003[_0x3e5ae5([0x6a,0x74,0x69])])),await _0x479bf4()?_0x49b4dc()?_0x1dfc6b()?_0x3e5ae5([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x17df29()?(_0x820003[_0x3e5ae5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3e5ae5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3d1b5a=_0x2bf043(_0x3e5ae5([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1933fe()):_0x3e5ae5([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3e5ae5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3e5ae5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3e5ae5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1dfc6b(){const _0x381075=[_0x3e5ae5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3e5ae5([0x74,0x72,0x69,0x61,0x6c])][_0x3e5ae5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x820003[_0x3e5ae5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x42a6d4/0x3e8:0xe10*_0x4b5788;return _0x820003[_0x3e5ae5([0x65,0x78,0x70])]<_0x381075;}function _0x49b4dc(){const _0x20f3d1=_0x820003[_0x3e5ae5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x20f3d1&&(!!_0x20f3d1[_0x3e5ae5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e5ae5([0x2a]))||!!_0x20f3d1[_0x3e5ae5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e5ae5([0x53,0x45,0x45])));}function _0x17df29(){const _0x4009c2=_0x1ca3,_0x5e5aac=_0x820003[_0x3e5ae5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5e5aac||0x0==_0x5e5aac[_0x3e5ae5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x491121}=new URL(window[_0x3e5ae5([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4009c2(0xb8)]);if(_0x5e5aac[_0x3e5ae5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x491121))return!0x0;const _0x477a5c=_0x491121[_0x3e5ae5([0x73,0x70,0x6c,0x69,0x74])](_0x3e5ae5([0x2e]));return _0x5e5aac[_0x3e5ae5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4c1cda=>_0x4c1cda[_0x3e5ae5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e5ae5([0x2a])))[_0x3e5ae5([0x6d,0x61,0x70])](_0x57b816=>_0x57b816[_0x3e5ae5([0x73,0x70,0x6c,0x69,0x74])](_0x3e5ae5([0x2e])))[_0x3e5ae5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1b003a=>_0x1b003a[_0x3e5ae5([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x477a5c[_0x3e5ae5([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3e5ae5([0x6d,0x61,0x70])](_0x50a39d=>Array(_0x477a5c[_0x3e5ae5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x50a39d[_0x3e5ae5([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3e5ae5([0x66,0x69,0x6c,0x6c])](_0x50a39d[0x0]===_0x3e5ae5([0x2a])?_0x3e5ae5([0x2a]):'')[_0x3e5ae5([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x50a39d))[_0x3e5ae5([0x73,0x6f,0x6d,0x65])](_0x16dbf7=>_0x477a5c[_0x3e5ae5([0x65,0x76,0x65,0x72,0x79])]((_0x54fdc4,_0x4ad778)=>_0x16dbf7[_0x4ad778]===_0x54fdc4||_0x16dbf7[_0x4ad778]===_0x3e5ae5([0x2a])));}function _0x1933fe(){return _0x3d1b5a&&_0x793764?new window[(_0x3e5ae5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x497fbe,_0x3ab498)=>{_0x3d1b5a[_0x3e5ae5([0x74,0x68,0x65,0x6e])](_0x497fbe,_0x3ab498),_0x793764[_0x3e5ae5([0x74,0x68,0x65,0x6e])](_0x4116e5=>{_0x4116e5!=_0x3e5ae5([0x56,0x61,0x6c,0x69,0x64])&&_0x497fbe(_0x4116e5);},_0x3ab498);}):_0x3d1b5a||_0x793764||_0x3e5ae5([0x56,0x61,0x6c,0x69,0x64]);}}function _0x51b9a1(_0x5cf6f5,_0xe05eda){return new window[(_0x3e5ae5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x11a8f0=>{if(_0x26b5f())return _0x11a8f0(_0x3e5ae5([0x56,0x61,0x6c,0x69,0x64]));_0x1e879f(),_0x325391[_0x3e5ae5([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3e5ae5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xf7d94d=!0x1;const _0x5d82fb=_0x551818();function _0x2e845f(_0x4a2afc){return!!_0x4a2afc&&(typeof _0x4a2afc===_0x3e5ae5([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4a2afc===_0x3e5ae5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4a2afc[_0x3e5ae5([0x74,0x68,0x65,0x6e])]===_0x3e5ae5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4a2afc[_0x3e5ae5([0x63,0x61,0x74,0x63,0x68])]===_0x3e5ae5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x15c403(_0x445080){_0x4dbe0d(_0x445080)[_0x3e5ae5([0x74,0x68,0x65,0x6e])](_0x4da0d1=>{if(!_0x4da0d1||_0x4da0d1[_0x3e5ae5([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3e5ae5([0x6f,0x6b]))return _0x3e5ae5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x29ed92(_0x5c8630(_0x5d82fb+_0xe05eda))!=_0x4da0d1[_0x3e5ae5([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3e5ae5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3e5ae5([0x56,0x61,0x6c,0x69,0x64]);})[_0x3e5ae5([0x74,0x68,0x65,0x6e])](_0x4ade1b=>(_0x231884(),_0x4ade1b),()=>{const _0x3b29f2=_0x2d9dd4();return null==_0x3b29f2?(_0x231884(),_0x3e5ae5([0x56,0x61,0x6c,0x69,0x64])):_0x3e5ae5(_0x42a6d4-_0x3b29f2>(0x79b61714^_0x8d0502)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3e5ae5([0x74,0x68,0x65,0x6e])](_0x11a8f0)[_0x3e5ae5([0x63,0x61,0x74,0x63,0x68])](()=>{_0x11a8f0(_0x3e5ae5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3adc75=0x5d8c7d94^_0x8d0502;function _0x231884(){const _0x4d2f90=_0x3e5ae5([0x6c,0x6c,0x63,0x74,0x2d])+_0x29ed92(_0x5c8630(_0x5cf6f5)),_0x51c88f=_0x7f0fdd(_0x29ed92(window[_0x3e5ae5([0x4d,0x61,0x74,0x68])][_0x3e5ae5([0x63,0x65,0x69,0x6c])](_0x42a6d4/_0x3adc75)));window[_0x3e5ae5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3e5ae5([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4d2f90,_0x51c88f);}function _0x2d9dd4(){const _0x15f338=_0x3e5ae5([0x6c,0x6c,0x63,0x74,0x2d])+_0x29ed92(_0x5c8630(_0x5cf6f5)),_0x239fe7=window[_0x3e5ae5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3e5ae5([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x15f338);return _0x239fe7?window[_0x3e5ae5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x7f0fdd(_0x239fe7),0x10)*_0x3adc75:null;}function _0x4dbe0d(_0x1a122c){return new window[(_0x3e5ae5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3934d3,_0x460b43)=>{_0x1a122c[_0x3e5ae5([0x74,0x68,0x65,0x6e])](_0x3934d3,_0x460b43),window[_0x3e5ae5([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x460b43,0x5dbb47d4^_0x8d0502);});}}_0x325391[_0x3e5ae5([0x6f,0x6e])](_0x3e5ae5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1edcac,_0x419a1c)=>{if(_0x419a1c[0x0]!=_0x5cf6f5)return _0x11a8f0(_0x3e5ae5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x419a1c[0x1]={..._0x419a1c[0x1],[_0x3e5ae5([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5d82fb};},{[_0x3e5ae5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3e5ae5([0x68,0x69,0x67,0x68])}),_0x325391[_0x3e5ae5([0x6f,0x6e])](_0x3e5ae5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3eb4a5=>{_0x2e845f(_0x3eb4a5[_0x3e5ae5([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xf7d94d=!0x0,_0x15c403(_0x3eb4a5[_0x3e5ae5([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3e5ae5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3e5ae5([0x6c,0x6f,0x77])}),_0x538e97[_0x3e5ae5([0x74,0x68,0x65,0x6e])](()=>{_0xf7d94d||_0x11a8f0(_0x3e5ae5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x26b5f(){return _0x325391[_0x3e5ae5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3e5ae5([0x76,0x69,0x65,0x77])][_0x3e5ae5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3e5ae5([0x61,0x75,0x74,0x6f]);}function _0x1e879f(){_0x325391[_0x3e5ae5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3e5ae5([0x76,0x69,0x65,0x77])][_0x3e5ae5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3e5ae5([0x61,0x75,0x74,0x6f]);}}function _0x2bf043(_0x2ec7fa){const _0xf43df1=[new window[(_0x3e5ae5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x32d06e=>setTimeout(_0x32d06e,0x5db3add8^_0x8d0502)),_0x538e97[_0x3e5ae5([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3e5ae5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4baca9=>{let _0x198459=0x0;_0x325391[_0x3e5ae5([0x6d,0x6f,0x64,0x65,0x6c])][_0x3e5ae5([0x6f,0x6e])](_0x3e5ae5([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1d56b2,_0x3e6604)=>{_0x3e6604[0x0][_0x3e5ae5([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x198459++,_0x198459==(0x5dba96fc^_0x8d0502)&&(_0x4baca9(),_0x1d56b2[_0x3e5ae5([0x6f,0x66,0x66])]());});}))];return window[_0x3e5ae5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3e5ae5([0x72,0x61,0x63,0x65])](_0xf43df1)[_0x3e5ae5([0x74,0x68,0x65,0x6e])](()=>_0x2ec7fa);}async function _0x101396(){await _0x538e97,_0x325391[_0x3e5ae5([0x6d,0x6f,0x64,0x65,0x6c])][_0x3e5ae5([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x16cbf7,_0x325391[_0x3e5ae5([0x6d,0x6f,0x64,0x65,0x6c])][_0x3e5ae5([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x16cbf7,_0x325391[_0x3e5ae5([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3e5ae5([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3e9cfe(_0x17a269){const _0x3f4536=_0x273f28();_0x325391[_0x3f4536]=_0x3e5ae5([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])+_0x17a269,_0x17a269!=_0x3e5ae5([0x56,0x61,0x6c,0x69,0x64])&&_0x101396();}function _0x273f28(){const _0xc72fb2=window[_0x3e5ae5([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3e5ae5([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3e5ae5([0x6e,0x6f,0x77])]())[_0x3e5ae5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3e5ae5([0x2e]),'');let _0x15e9e5=_0x3e5ae5([0x4e]);for(let _0x36b900=0x0;_0x36b900<_0xc72fb2[_0x3e5ae5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x36b900+=0x2){let _0x520cf6=window[_0x3e5ae5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xc72fb2[_0x3e5ae5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x36b900,_0x36b900+0x2));_0x520cf6>=_0x3f07c8[_0x3e5ae5([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x520cf6-=_0x3f07c8[_0x3e5ae5([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x15e9e5+=_0x3f07c8[_0x520cf6];}return _0x15e9e5;}function _0x100f9a(){const _0x56c494=_0x1158df[_0x3e5ae5([0x73,0x70,0x6c,0x69,0x74])](_0x3e5ae5([0x2e]));if(0x3!=_0x56c494[_0x3e5ae5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x360e80(_0x56c494[0x1]);function _0x360e80(_0x8095b){const _0x234ee3=_0x32995a(_0x8095b);return _0x234ee3&&_0x384fdc()?_0x234ee3:null;function _0x384fdc(){const _0x1819f4=_0x234ee3[_0x3e5ae5([0x6a,0x74,0x69])],_0x33cd4c=window[_0x3e5ae5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1819f4[_0x3e5ae5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1819f4[_0x3e5ae5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x484631={..._0x234ee3,[_0x3e5ae5([0x6a,0x74,0x69])]:_0x1819f4[_0x3e5ae5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1819f4[_0x3e5ae5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x484631[_0x3e5ae5([0x76,0x63])],_0x5c8630(_0x484631)==_0x33cd4c;}}}async function _0x479bf4(){let _0x1c0c20=!0x0;try{const _0x57f778=_0x1158df[_0x3e5ae5([0x73,0x70,0x6c,0x69,0x74])](_0x3e5ae5([0x2e])),[_0x21d704,_0x559015,_0x17b8fd]=_0x57f778;return _0x47d7f2(_0x21d704),await _0x10dd18(_0x21d704,_0x559015,_0x17b8fd),_0x1c0c20;}catch{return!0x1;}function _0x47d7f2(_0x273d0b){const _0x34067d=_0x32995a(_0x273d0b);_0x34067d&&_0x34067d[_0x3e5ae5([0x61,0x6c,0x67])]==_0x3e5ae5([0x45,0x53,0x32,0x35,0x36])||(_0x1c0c20=!0x1);}async function _0x10dd18(_0x54c680,_0x24e1e5,_0x384914){const _0x20569b=window[_0x3e5ae5([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3e5ae5([0x66,0x72,0x6f,0x6d])](_0xd32a10(_0x384914),_0x5e5e6a=>_0x5e5e6a[_0x3e5ae5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x278c28=new window[(_0x3e5ae5([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3e5ae5([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x54c680+_0x3e5ae5([0x2e])+_0x24e1e5),_0x1e9f7f=window[_0x3e5ae5([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3e5ae5([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1e9f7f)return;const _0x5e4fcf=await _0x1e9f7f[_0x3e5ae5([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3e5ae5([0x6a,0x77,0x6b]),_0x3d3fc8,{[_0x3e5ae5([0x6e,0x61,0x6d,0x65])]:_0x3e5ae5([0x45,0x43,0x44,0x53,0x41]),[_0x3e5ae5([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3e5ae5([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3e5ae5([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1e9f7f[_0x3e5ae5([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3e5ae5([0x6e,0x61,0x6d,0x65])]:_0x3e5ae5([0x45,0x43,0x44,0x53,0x41]),[_0x3e5ae5([0x68,0x61,0x73,0x68])]:{[_0x3e5ae5([0x6e,0x61,0x6d,0x65])]:_0x3e5ae5([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5e4fcf,_0x20569b,_0x278c28)||(_0x1c0c20=!0x1);}}function _0x32995a(_0x4dd75a){return _0x4dd75a[_0x3e5ae5([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3e5ae5([0x65,0x79]))?JSON[_0x3e5ae5([0x70,0x61,0x72,0x73,0x65])](_0xd32a10(_0x4dd75a)):null;}function _0xd32a10(_0x4a9093){return window[_0x3e5ae5([0x61,0x74,0x6f,0x62])](_0x4a9093[_0x3e5ae5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3e5ae5([0x2b]))[_0x3e5ae5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3e5ae5([0x2f])));}function _0x5c8630(_0x23044a){let _0x36c435=0x1505;function _0x460b5b(_0x1d8182){for(let _0x248919=0x0;_0x248919<_0x1d8182[_0x3e5ae5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x248919++){const _0x5a94ff=_0x1d8182[_0x3e5ae5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x248919);_0x36c435=(_0x36c435<<0x5)+_0x36c435+_0x5a94ff,_0x36c435&=_0x36c435;}}function _0x3f2f1c(_0x2bb08c){Array[_0x3e5ae5([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2bb08c)?_0x2bb08c[_0x3e5ae5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3f2f1c):_0x2bb08c&&typeof _0x2bb08c==_0x3e5ae5([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3e5ae5([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2bb08c)[_0x3e5ae5([0x73,0x6f,0x72,0x74])]()[_0x3e5ae5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4441e3,_0x22c2b4])=>{_0x460b5b(_0x4441e3),_0x3f2f1c(_0x22c2b4);}):_0x460b5b(window[_0x3e5ae5([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2bb08c));}return _0x3f2f1c(_0x23044a),_0x36c435>>>0x0;}function _0x29ed92(_0x45aaf9){return _0x45aaf9[_0x3e5ae5([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3e5ae5([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3e5ae5([0x30]));}function _0x7f0fdd(_0x5a144b){return _0x5a144b[_0x3e5ae5([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3e5ae5([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3e5ae5([0x6a,0x6f,0x69,0x6e])]('');}function _0x16cbf7(){}function _0x3e5ae5(_0x29da90){const _0x29cbc6=_0x1ca3;return _0x29da90[_0x29cbc6(0xbc)](_0x1aaa77=>String[_0x29cbc6(0xb6)](_0x1aaa77))[_0x29cbc6(0xc6)]('');}_0x3e9cfe(await _0x1acc1a());}(this);}[_0x1e0e24(0x77)](_0x2b901c,_0x4620c4,_0x5a0f20=!0x1){const _0x3eb1e9=_0x1e0e24,_0x4432af=new _0x2b901c(this[_0x3eb1e9(0xbf)][_0x3eb1e9(0x8a)]);return _0x4432af[_0x3eb1e9(0x87)]({'withText':_0x5a0f20,'isToggleable':!0x1}),_0x4432af[_0x3eb1e9(0x9f)](_0x3eb1e9(0xce))['to'](_0x4620c4,_0x3eb1e9(0xce)),this[_0x3eb1e9(0x7b)](_0x4432af,_0x3eb1e9(0xc9),()=>_0x4620c4[_0x3eb1e9(0xc9)]()),_0x4432af;}[_0x1e0e24(0x94)](){const _0x2473fe=_0x1e0e24,_0x19abd5=this[_0x2473fe(0xbf)][_0x2473fe(0x8a)];this[_0x2473fe(0xbf)][_0x2473fe(0x88)][_0x2473fe(0xbe)]({'id':_0x2473fe(0x8f),'label':_0x2d51ff(_0x19abd5,_0x2473fe(0xcd))});const _0x1696a2=_0x2028b4[_0x2473fe(0x80)]||_0x2028b4[_0x2473fe(0xc5)];this[_0x2473fe(0xbf)][_0x2473fe(0x88)][_0x2473fe(0x9e)]({'categoryId':_0x2473fe(0x8f),'keystrokes':[{'label':_0x2d51ff(_0x19abd5,_0x2473fe(0xc0)),'keystroke':_0x2473fe(0x7c)},{'label':_0x2d51ff(_0x19abd5,_0x2473fe(0x8c)),'keystroke':_0x2473fe(0x9b)},{'label':_0x2d51ff(_0x19abd5,_0x2473fe(0x98)),'keystroke':_0x2473fe(0xb4)},{'label':_0x2d51ff(_0x19abd5,_0x2473fe(0xcc)),'keystroke':_0x2473fe(0xad)},{'label':_0x2d51ff(_0x19abd5,_0x2473fe(0xc2)),'keystroke':_0x2473fe(0x85)},{'label':_0x2d51ff(_0x19abd5,_0x2473fe(0x81)),'keystroke':_0x2473fe(0xc1)},{'label':_0x2d51ff(_0x19abd5,_0x2473fe(0x79)),'keystroke':_0x1696a2?_0x2473fe(0x86):_0x2473fe(0x93)},{'label':_0x2d51ff(_0x19abd5,_0x2473fe(0x99)),'keystroke':_0x2473fe(0xb3)},{'label':_0x2d51ff(_0x19abd5,_0x2473fe(0x7e)),'keystroke':_0x2473fe(0xc4)},{'label':_0x2d51ff(_0x19abd5,_0x2473fe(0xc8)),'keystroke':[[_0x2473fe(0xa1)],[_0x2473fe(0x83)]]},{'label':_0x2d51ff(_0x19abd5,_0x2473fe(0xb0)),'keystroke':_0x1696a2?_0x2473fe(0xb2):_0x2473fe(0xab)},{'label':_0x2d51ff(_0x19abd5,_0x2473fe(0xa7)),'keystroke':_0x1696a2?_0x2473fe(0x92):_0x2473fe(0xaf)},{'label':_0x2d51ff(_0x19abd5,_0x2473fe(0xbb)),'keystroke':_0x2473fe(0xca)},{'label':_0x2d51ff(_0x19abd5,_0x2473fe(0xa0)),'keystroke':_0x2473fe(0x82)},{'label':_0x2d51ff(_0x19abd5,_0x2473fe(0x97)),'keystroke':_0x2473fe(0xaa)},{'label':_0x2d51ff(_0x19abd5,_0x2473fe(0x9c)),'keystroke':_0x2473fe(0xa9)},{'label':_0x2d51ff(_0x19abd5,_0x2473fe(0xa2)),'keystroke':_0x1696a2?_0x2473fe(0xa6):_0x2473fe(0xae)}]});}}