@ckeditor/ckeditor5-source-editing-enhanced 46.1.1-alpha.2 → 46.1.1-alpha.3

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 _0x3eda9e,PendingActions as _0x10059a,Plugin as _0x427a6b}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x110e58,formatHtml as _0x16cf6f,env as _0x2eac57,uid as _0x28e9}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconSource as _0x26d023}from'@ckeditor/ckeditor5-icons/dist/index.js';import{View as _0xd95d0b,ButtonView as _0x17ad3c,MenuBarMenuListItemButtonView as _0x32cd1a}from'@ckeditor/ckeditor5-ui/dist/index.js';import{EditorView as _0x37f078,crosshairCursor as _0x58e816,drawSelection as _0x4c04b6,dropCursor as _0x2a4d09,lineNumbers as _0x21719e,highlightActiveLine as _0x364c15,highlightActiveLineGutter as _0x1a17bb,highlightSpecialChars as _0x1140b9,rectangularSelection as _0x38972e,keymap as _0x164d69}from'@codemirror/view';import{Compartment as _0x25e61f,Transaction as _0x37ff43}from'@codemirror/state';import{bracketMatching as _0x5b2eb6,foldGutter as _0x54a6c6,indentOnInput as _0x3c22cb,syntaxHighlighting as _0x35a038,defaultHighlightStyle as _0x14b268,foldKeymap as _0x5d6651}from'@codemirror/language';import{toggleTabFocusMode as _0x344713,history as _0x46df79,defaultKeymap as _0x195891,historyKeymap as _0x144c53,indentLess as _0x23d0c8,indentMore as _0x77c80d,redo as _0x141942,undo as _0x1a325b}from'@codemirror/commands';import{autocompletion as _0x3b977b,closeBrackets as _0x1dc71b,closeBracketsKeymap as _0x272051,completionKeymap as _0x390787}from'@codemirror/autocomplete';import{html as _0x15a61e}from'@codemirror/lang-html';import{markdown as _0xcf4825}from'@codemirror/lang-markdown';import{oneDark as _0x1456a4}from'@codemirror/theme-one-dark';function w(_0xf0ce37,_0x9b76a2){const t=_0xf0ce37['t'];switch(_0x9b76a2){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 _0x9b76a2;}}function r(_0x3eba07){const _0x1ae4c9=_0x3eba07['editing']['view']['document']['roots'],_0x4d9c23=_0x1ae4c9['length'];if(0x0===_0x4d9c23)throw new _0x110e58('source-editing-enhanced-editor-no-root',_0x3eba07);if(0x1===_0x4d9c23)return _0x1ae4c9['first']['rootName'];return Array['from'](_0x3eba07['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function $(_0x33410c){return X(_0x33410c['replace'](/^[\n\s]*/g,''))?_0x33410c['replace'](/\s+/g,''):_0x33410c;}function X(_0xff2784){return _0xff2784['startsWith']('<');}function Y(_0x327852){const _0x2e9370=[_0x37f078['lineWrapping'],_0x3b977b(),_0x5b2eb6(),_0x1dc71b(),_0x58e816(),_0x4c04b6(),_0x2a4d09(),_0x21719e(),_0x54a6c6(),_0x364c15(),_0x1a17bb(),_0x1140b9(),_0x46df79(),_0x3c22cb(),_0x38972e(),_0x35a038(_0x14b268,{'fallback':!0x0})],_0x31dae3=new _0x25e61f();_0x2e9370['push'](_0x31dae3['of'](_0x37f078['editable']['of'](!0x0))),'html'===_0x327852['syntaxLanguage']?_0x2e9370['push'](_0x15a61e()):_0x2e9370['push'](_0xcf4825());const _0x5dde36=function(_0x4fed3a){if(_0x4fed3a&&'default'!==_0x4fed3a)return'dark'===_0x4fed3a?_0x1456a4:_0x4fed3a;return null;}(_0x327852['theme']);_0x5dde36&&_0x2e9370['push'](_0x5dde36),_0x2e9370['push'](_0x164d69['of']([..._0x272051,..._0x195891,..._0x144c53,..._0x5d6651,..._0x390787,{'key':'Tab','run':_0x77c80d,'shift':_0x23d0c8,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-y','mac':'Cmd-y','run':_0x141942,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-Shift-z','mac':'Cmd-Shift-z','run':_0x141942,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-z','mac':'Cmd-z','run':_0x1a325b,'preventDefault':!0x0,'stopPropagation':!0x0}]));const _0x4c7137=new _0x37f078({'extensions':_0x2e9370,'parent':_0x327852['parent']});return _0x344713(_0x4c7137),{'focus':()=>{_0x4c7137['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x4c7137['focus']();},'getData':()=>_0x4c7137['state']['doc']['toString'](),'setData':_0x564e11=>{_0x4c7137['dispatch']({'changes':{'from':0x0,'to':_0x4c7137['state']['doc']['length'],'insert':_0x564e11},'annotations':_0x37ff43['addToHistory']['of'](!0x1)});},'setReadOnly':_0x1d1c9b=>{_0x4c7137['dispatch']({'effects':[_0x31dae3['reconfigure'](_0x37f078['editable']['of'](!_0x1d1c9b))]});},'destroy':()=>{_0x4c7137['destroy']();},'instance':_0x4c7137};}class ee extends _0xd95d0b{['_codeEditorApi']=null;['_options'];constructor(_0x604964,_0x45be41){super(_0x604964),this['_options']=_0x45be41,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']=Y({'parent':this['element'],'syntaxLanguage':this['_options']['syntaxLanguage'],'theme':this['_options']['theme']}),this['on']('change:isReadOnly',(_0x127fef,_0x50fdff,_0x5ddb44)=>{this['setReadOnly'](_0x5ddb44);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0x25759e){this['_codeEditorApi']['setData'](_0x25759e);}['setReadOnly'](_0x39415e){this['_codeEditorApi']['setReadOnly'](_0x39415e);}}const te='SourceEditingEnhancedMode';class d extends _0x3eda9e{constructor(_0x50df8c){super(_0x50df8c),this['affectsData']=!0x1,this['editor']['plugins']['get'](_0x10059a)['on']('change:hasAny',(_0x5232c4,_0x29a68c,_0x5a03a5)=>{_0x5a03a5?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['_disableCommands'](){const _0x14bbdc=this['editor'];for(const _0x591fb4 of _0x14bbdc['commands']['names']())['replaceSource','editSource']['includes'](_0x591fb4)||_0x14bbdc['commands']['get'](_0x591fb4)['forceDisabled'](te);}['_enableCommands'](){const _0x3c5421=this['editor'];for(const _0x52c224 of _0x3c5421['commands']['commands']())_0x52c224['clearForceDisabled'](te);}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x1a8dac=this['editor'],_0x55911e=_0x1a8dac['locale'],_0x29912c=_0x1a8dac['plugins']['get']('Dialog'),_0x3479c2=r(_0x1a8dac),_0x358689=_0x1a8dac['data']['get']({'rootName':_0x3479c2}),_0x1f60b7=X(_0x2df8db=_0x358689)?_0x16cf6f(_0x2df8db):_0x2df8db;var _0x2df8db;const _0x5293ee=new ee(_0x55911e,{'syntaxLanguage':_0x1a8dac['plugins']['has']('Markdown')?'markdown':'html','theme':_0x1a8dac['config']['get']('sourceEditingEnhanced.theme')});let _0x3cdb40=!0x0;const _0x106b0d=_0x3f9142=>{if(!_0x3cdb40)return;return $(_0x5293ee['getData']())!==$(_0x1f60b7)?window['confirm'](w(_0x55911e,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0x3f9142['stop']():void 0x0;};_0x29912c['show']({'id':'sourceEditingEnhanced','title':w(_0x55911e,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0x5293ee,'actionButtons':[{'label':w(_0x55911e,'Cancel'),'withText':!0x0,'onExecute':()=>{_0x29912c['hide']();}},{'label':w(_0x55911e,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0x356fe2=$(_0x5293ee['getData']())!==$(_0x1f60b7);(_0x356fe2&&_0x1a8dac['execute']('replaceSource',_0x5293ee['getData']()),_0x3cdb40=!0x1,_0x29912c['hide'](),_0x356fe2&&'editables'in _0x1a8dac['ui']['view'])&&_0x1a8dac['ui']['view']['editables'][_0x3479c2]['element']['focus']();},'onCreate':_0x43fee9=>{_0x43fee9['set']('isEnabled',!_0x1a8dac['isReadOnly']),_0x43fee9['bind']('isEnabled')['to'](_0x1a8dac,'isReadOnly',this,'isEnabled',(_0x49339d,_0x5b3a94)=>!_0x49339d&&_0x5b3a94);}}],'onHide':()=>{this['_enableCommands'](),_0x29912c['off']('hide',_0x106b0d),_0x5293ee['destroy']();},'onShow':()=>{_0x5293ee['bind']('isReadOnly')['to'](_0x1a8dac,'isReadOnly',this,'isEnabled',(_0x316536,_0x12219a)=>_0x316536||!_0x12219a),_0x5293ee['setData'](_0x1f60b7),_0x5293ee['focus'](),_0x29912c['on']('hide',_0x106b0d,{'priority':'highest'}),this['_disableCommands']();}});}}class a extends _0x427a6b{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[_0x10059a];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x10e5cb=this['editor'],_0x486ddb=_0x10e5cb['locale'],_0x3e77b9=new d(_0x10e5cb);_0x10e5cb['commands']['add']('editSource',_0x3e77b9),_0x10e5cb['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0x4b852c=this['_createButton'](_0x17ad3c,_0x3e77b9);return _0x4b852c['set']({'label':w(_0x486ddb,'Source'),'icon':_0x26d023,'tooltip':w(_0x486ddb,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0x4b852c;}),_0x10e5cb['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0x48f76c=this['_createButton'](_0x32cd1a,_0x3e77b9,!0x0);return _0x48f76c['set']({'label':w(_0x486ddb,'Edit\x20source\x20modal\x20label'),'icon':_0x26d023,'role':'menuitemcheckbox'}),_0x48f76c;}),this['_registerKeybindings']();}['afterInit'](){!async function(_0x2ed20c){const _0x390a35=_0x924291([0x75,0x6d,0x67,0x6c,0x31,0x46,0x34,0x59,0x6b,0x41,0x56,0x45,0x74,0x76,0x30,0x54,0x63,0x4e,0x36,0x6e,0x4b,0x69,0x58,0x43,0x72,0x68,0x4f,0x44,0x64,0x32,0x50,0x61,0x47,0x4d,0x53,0x49,0x4a,0x62,0x73,0x70,0x79,0x7a,0x39,0x51,0x4c,0x42,0x6f,0x57,0x78,0x55,0x66,0x6a,0x35,0x48,0x5a,0x65,0x77,0x37,0x33,0x38,0x52,0x71]),_0x481053=0x305505ed,_0x3a92a4=0x305276b5^_0x481053,_0xc61f7c=window[_0x924291([0x44,0x61,0x74,0x65])][_0x924291([0x6e,0x6f,0x77])](),_0x1b88a6=_0x2ed20c[_0x924291([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x142365=new window[(_0x924291([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x638c37=>{_0x1b88a6[_0x924291([0x6f,0x6e,0x63,0x65])](_0x924291([0x72,0x65,0x61,0x64,0x79]),_0x638c37);}),_0x526fc4={[_0x924291([0x6b,0x74,0x79])]:_0x924291([0x45,0x43]),[_0x924291([0x75,0x73,0x65])]:_0x924291([0x73,0x69,0x67]),[_0x924291([0x63,0x72,0x76])]:_0x924291([0x50,0x2d,0x32,0x35,0x36]),[_0x924291([0x78])]:_0x924291([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]),[_0x924291([0x79])]:_0x924291([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]),[_0x924291([0x61,0x6c,0x67])]:_0x924291([0x45,0x53,0x32,0x35,0x36])},_0x5a57d5=_0x1b88a6[_0x924291([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x924291([0x67,0x65,0x74])](_0x924291([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5e5503(){let _0x143f6f,_0x5c8bc1=null,_0x54bac8=null;try{if(_0x5a57d5==_0x924291([0x47,0x50,0x4c]))return _0x924291([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x143f6f=_0x47d12e(),!_0x143f6f)return _0x924291([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x143f6f[_0x924291([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x54bac8=_0xcb6064(_0x143f6f[_0x924291([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x143f6f[_0x924291([0x6a,0x74,0x69])])),await _0x5b27cf()?_0x1b4297()?_0x527b90()?_0x924291([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xdeb45()?(_0x143f6f[_0x924291([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x924291([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5c8bc1=_0x5eef47(_0x924291([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x143f6f[_0x924291([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x924291([0x74,0x72,0x69,0x61,0x6c])&&(_0x5c8bc1=_0x5eef47(_0x924291([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4f93a3()):_0x924291([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x924291([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x924291([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x924291([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x527b90(){const _0x5704a2=[_0x924291([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x924291([0x74,0x72,0x69,0x61,0x6c])][_0x924291([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x143f6f[_0x924291([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xc61f7c/0x3e8:0xe10*_0x3a92a4;return _0x143f6f[_0x924291([0x65,0x78,0x70])]<_0x5704a2;}function _0x1b4297(){const _0x47d0cd=_0x143f6f[_0x924291([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x47d0cd&&(!!_0x47d0cd[_0x924291([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x924291([0x2a]))||!!_0x47d0cd[_0x924291([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x924291([0x53,0x45,0x45])));}function _0xdeb45(){const _0x1ae4aa=_0x143f6f[_0x924291([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1ae4aa||0x0==_0x1ae4aa[_0x924291([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x56e3a}=new URL(window[_0x924291([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x1ae4aa[_0x924291([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x56e3a))return!0x0;const _0x1444fd=_0x56e3a[_0x924291([0x73,0x70,0x6c,0x69,0x74])](_0x924291([0x2e]));return _0x1ae4aa[_0x924291([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2c1d6f=>_0x2c1d6f[_0x924291([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x924291([0x2a])))[_0x924291([0x6d,0x61,0x70])](_0x46ff67=>_0x46ff67[_0x924291([0x73,0x70,0x6c,0x69,0x74])](_0x924291([0x2e])))[_0x924291([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xb17dca=>_0xb17dca[_0x924291([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1444fd[_0x924291([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x924291([0x6d,0x61,0x70])](_0x4a617b=>Array(_0x1444fd[_0x924291([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4a617b[_0x924291([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x924291([0x66,0x69,0x6c,0x6c])](_0x4a617b[0x0]===_0x924291([0x2a])?_0x924291([0x2a]):'')[_0x924291([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4a617b))[_0x924291([0x73,0x6f,0x6d,0x65])](_0x2ac85c=>_0x1444fd[_0x924291([0x65,0x76,0x65,0x72,0x79])]((_0x49959f,_0x57acc1)=>_0x2ac85c[_0x57acc1]===_0x49959f||_0x2ac85c[_0x57acc1]===_0x924291([0x2a])));}function _0x4f93a3(){return _0x5c8bc1&&_0x54bac8?new window[(_0x924291([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x217567,_0x22460a)=>{_0x5c8bc1[_0x924291([0x74,0x68,0x65,0x6e])](_0x217567,_0x22460a),_0x54bac8[_0x924291([0x74,0x68,0x65,0x6e])](_0x5251fe=>{_0x5251fe!=_0x924291([0x56,0x61,0x6c,0x69,0x64])&&_0x217567(_0x5251fe);},_0x22460a);}):_0x5c8bc1||_0x54bac8||_0x924291([0x56,0x61,0x6c,0x69,0x64]);}}function _0xcb6064(_0x3ca4df,_0x596eab){return new window[(_0x924291([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x165323=>{if(_0x70ab7a())return _0x165323(_0x924291([0x56,0x61,0x6c,0x69,0x64]));_0x18f66f(),_0x1b88a6[_0x924291([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x924291([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x43b534=!0x1;const _0x31e524=_0x28e9();function _0x1a2967(_0x3f93cd){return!!_0x3f93cd&&(typeof _0x3f93cd===_0x924291([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3f93cd===_0x924291([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3f93cd[_0x924291([0x74,0x68,0x65,0x6e])]===_0x924291([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3f93cd[_0x924291([0x63,0x61,0x74,0x63,0x68])]===_0x924291([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1687cd(_0x5ddd5a){_0xb32637(_0x5ddd5a)[_0x924291([0x74,0x68,0x65,0x6e])](_0x116a46=>{if(!_0x116a46||_0x116a46[_0x924291([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x924291([0x6f,0x6b]))return _0x924291([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2d9110(_0x2f1b26(_0x31e524+_0x596eab))!=_0x116a46[_0x924291([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x924291([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x924291([0x56,0x61,0x6c,0x69,0x64]);})[_0x924291([0x74,0x68,0x65,0x6e])](_0x166ea5=>(_0x2fe508(),_0x166ea5),()=>{const _0x26fc51=_0x484a9d();return null==_0x26fc51?(_0x2fe508(),_0x924291([0x56,0x61,0x6c,0x69,0x64])):_0x924291(_0xc61f7c-_0x26fc51>(0x145981ed^_0x481053)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x924291([0x74,0x68,0x65,0x6e])](_0x165323)[_0x924291([0x63,0x61,0x74,0x63,0x68])](()=>{_0x165323(_0x924291([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1dbd9e=0x3063eb6d^_0x481053;function _0x2fe508(){const _0x1d5f25=_0x924291([0x6c,0x6c,0x63,0x74,0x2d])+_0x2d9110(_0x2f1b26(_0x3ca4df)),_0x501f33=_0x3562d8(_0x2d9110(window[_0x924291([0x4d,0x61,0x74,0x68])][_0x924291([0x63,0x65,0x69,0x6c])](_0xc61f7c/_0x1dbd9e)));window[_0x924291([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x924291([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1d5f25,_0x501f33);}function _0x484a9d(){const _0x3167db=_0x924291([0x6c,0x6c,0x63,0x74,0x2d])+_0x2d9110(_0x2f1b26(_0x3ca4df)),_0xe02aee=window[_0x924291([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x924291([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3167db);return _0xe02aee?window[_0x924291([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3562d8(_0xe02aee),0x10)*_0x1dbd9e:null;}function _0xb32637(_0x4e66d3){return new window[(_0x924291([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4c034e,_0x1d7296)=>{_0x4e66d3[_0x924291([0x74,0x68,0x65,0x6e])](_0x4c034e,_0x1d7296),window[_0x924291([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1d7296,0x3054d12d^_0x481053);});}}_0x1b88a6[_0x924291([0x6f,0x6e])](_0x924291([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x301e84,_0x45243f)=>{if(_0x45243f[0x0]!=_0x3ca4df)return _0x165323(_0x924291([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x45243f[0x1]={..._0x45243f[0x1],[_0x924291([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x31e524};},{[_0x924291([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x924291([0x68,0x69,0x67,0x68])}),_0x1b88a6[_0x924291([0x6f,0x6e])](_0x924291([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3dcc81=>{_0x1a2967(_0x3dcc81[_0x924291([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x43b534=!0x0,_0x1687cd(_0x3dcc81[_0x924291([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x924291([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x924291([0x6c,0x6f,0x77])}),_0x142365[_0x924291([0x74,0x68,0x65,0x6e])](()=>{_0x43b534||_0x165323(_0x924291([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x70ab7a(){return _0x1b88a6[_0x924291([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x924291([0x76,0x69,0x65,0x77])][_0x924291([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x924291([0x61,0x75,0x74,0x6f]);}function _0x18f66f(){_0x1b88a6[_0x924291([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x924291([0x76,0x69,0x65,0x77])][_0x924291([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x924291([0x61,0x75,0x74,0x6f]);}}function _0x5eef47(_0x5236f4){const _0x11bd12=[new window[(_0x924291([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3064de=>setTimeout(_0x3064de,0x305c3b21^_0x481053)),_0x142365[_0x924291([0x74,0x68,0x65,0x6e])](()=>new window[(_0x924291([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x19f23d=>{let _0x292619=0x0;_0x1b88a6[_0x924291([0x6d,0x6f,0x64,0x65,0x6c])][_0x924291([0x6f,0x6e])](_0x924291([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x225d23,_0x3eb68b)=>{_0x3eb68b[0x0][_0x924291([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x292619++,_0x292619==(0x30550415^_0x481053)&&(_0x19f23d(),_0x225d23[_0x924291([0x6f,0x66,0x66])]());});}))];return window[_0x924291([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x924291([0x72,0x61,0x63,0x65])](_0x11bd12)[_0x924291([0x74,0x68,0x65,0x6e])](()=>_0x5236f4);}async function _0x1819d1(){await _0x142365,_0x1b88a6[_0x924291([0x6d,0x6f,0x64,0x65,0x6c])][_0x924291([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x17f230,_0x1b88a6[_0x924291([0x6d,0x6f,0x64,0x65,0x6c])][_0x924291([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x17f230,_0x1b88a6[_0x924291([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x924291([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xb84b33(_0x1fc69e){const _0x2f2236=_0x4068cf();_0x1b88a6[_0x2f2236]=_0x924291([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])+_0x1fc69e,_0x1fc69e!=_0x924291([0x56,0x61,0x6c,0x69,0x64])&&_0x1819d1();}function _0x4068cf(){const _0x39c151=window[_0x924291([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x924291([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x924291([0x6e,0x6f,0x77])]())[_0x924291([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x924291([0x2e]),'');let _0xd17c98=_0x924291([0x75]);for(let _0x1469c4=0x0;_0x1469c4<_0x39c151[_0x924291([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1469c4+=0x2){let _0x470433=window[_0x924291([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x39c151[_0x924291([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1469c4,_0x1469c4+0x2));_0x470433>=_0x390a35[_0x924291([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x470433-=_0x390a35[_0x924291([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xd17c98+=_0x390a35[_0x470433];}return _0xd17c98;}function _0x47d12e(){const _0x28cbac=_0x5a57d5[_0x924291([0x73,0x70,0x6c,0x69,0x74])](_0x924291([0x2e]));if(0x3!=_0x28cbac[_0x924291([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x527927(_0x28cbac[0x1]);function _0x527927(_0x2da3b8){const _0x50d752=_0x5dfbd1(_0x2da3b8);return _0x50d752&&_0x32c875()?_0x50d752:null;function _0x32c875(){const _0xb668f3=_0x50d752[_0x924291([0x6a,0x74,0x69])],_0x265323=window[_0x924291([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xb668f3[_0x924291([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xb668f3[_0x924291([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x587d77={..._0x50d752,[_0x924291([0x6a,0x74,0x69])]:_0xb668f3[_0x924291([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xb668f3[_0x924291([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x587d77[_0x924291([0x76,0x63])],_0x2f1b26(_0x587d77)==_0x265323;}}}async function _0x5b27cf(){let _0xd9ea6a=!0x0;try{const _0x2d2d62=_0x5a57d5[_0x924291([0x73,0x70,0x6c,0x69,0x74])](_0x924291([0x2e])),[_0x29af5d,_0x3992f1,_0x526db7]=_0x2d2d62;return _0x2a7fc8(_0x29af5d),await _0xc63f13(_0x29af5d,_0x3992f1,_0x526db7),_0xd9ea6a;}catch{return!0x1;}function _0x2a7fc8(_0x2afd8c){const _0x3c5ae6=_0x5dfbd1(_0x2afd8c);_0x3c5ae6&&_0x3c5ae6[_0x924291([0x61,0x6c,0x67])]==_0x924291([0x45,0x53,0x32,0x35,0x36])||(_0xd9ea6a=!0x1);}async function _0xc63f13(_0x14e106,_0x13f6f4,_0x30d861){const _0x3e7708=window[_0x924291([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x924291([0x66,0x72,0x6f,0x6d])](_0x424047(_0x30d861),_0x7e4b29=>_0x7e4b29[_0x924291([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2381bf=new window[(_0x924291([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x924291([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x14e106+_0x924291([0x2e])+_0x13f6f4),_0x1662be=window[_0x924291([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x924291([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1662be)return;const _0x158c64=await _0x1662be[_0x924291([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x924291([0x6a,0x77,0x6b]),_0x526fc4,{[_0x924291([0x6e,0x61,0x6d,0x65])]:_0x924291([0x45,0x43,0x44,0x53,0x41]),[_0x924291([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x924291([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x924291([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1662be[_0x924291([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x924291([0x6e,0x61,0x6d,0x65])]:_0x924291([0x45,0x43,0x44,0x53,0x41]),[_0x924291([0x68,0x61,0x73,0x68])]:{[_0x924291([0x6e,0x61,0x6d,0x65])]:_0x924291([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x158c64,_0x3e7708,_0x2381bf)||(_0xd9ea6a=!0x1);}}function _0x5dfbd1(_0x27bceb){return _0x27bceb[_0x924291([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x924291([0x65,0x79]))?JSON[_0x924291([0x70,0x61,0x72,0x73,0x65])](_0x424047(_0x27bceb)):null;}function _0x424047(_0x49fdce){return window[_0x924291([0x61,0x74,0x6f,0x62])](_0x49fdce[_0x924291([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x924291([0x2b]))[_0x924291([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x924291([0x2f])));}function _0x2f1b26(_0x46a952){let _0x55432b=0x1505;function _0x32d83b(_0xc98323){for(let _0x14fc1d=0x0;_0x14fc1d<_0xc98323[_0x924291([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x14fc1d++){const _0x3d470c=_0xc98323[_0x924291([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x14fc1d);_0x55432b=(_0x55432b<<0x5)+_0x55432b+_0x3d470c,_0x55432b&=_0x55432b;}}function _0x4e2f3d(_0x31ae46){Array[_0x924291([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x31ae46)?_0x31ae46[_0x924291([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4e2f3d):_0x31ae46&&typeof _0x31ae46==_0x924291([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x924291([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x31ae46)[_0x924291([0x73,0x6f,0x72,0x74])]()[_0x924291([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3f384f,_0x5d026f])=>{_0x32d83b(_0x3f384f),_0x4e2f3d(_0x5d026f);}):_0x32d83b(window[_0x924291([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x31ae46));}return _0x4e2f3d(_0x46a952),_0x55432b>>>0x0;}function _0x2d9110(_0x3a59c0){return _0x3a59c0[_0x924291([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x924291([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x924291([0x30]));}function _0x3562d8(_0x1b1120){return _0x1b1120[_0x924291([0x73,0x70,0x6c,0x69,0x74])]('')[_0x924291([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x924291([0x6a,0x6f,0x69,0x6e])]('');}function _0x17f230(){}function _0x924291(_0xe15ae7){return _0xe15ae7['map'](_0x1a26b7=>String['fromCharCode'](_0x1a26b7))['join']('');}_0xb84b33(await _0x5e5503());}(this);}['_createButton'](_0x567606,_0x3f3c09,_0x1d4bf7=!0x1){const _0x46e322=new _0x567606(this['editor']['locale']);return _0x46e322['set']({'withText':_0x1d4bf7,'isToggleable':!0x1}),_0x46e322['bind']('isEnabled')['to'](_0x3f3c09,'isEnabled'),this['listenTo'](_0x46e322,'execute',()=>_0x3f3c09['execute']()),_0x46e322;}['_registerKeybindings'](){const _0x76efe8=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':w(_0x76efe8,'Source\x20Editing\x20Enhanced')});const _0x260573=_0x2eac57['isMac']||_0x2eac57['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':w(_0x76efe8,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':w(_0x76efe8,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':w(_0x76efe8,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':w(_0x76efe8,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':w(_0x76efe8,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':w(_0x76efe8,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':w(_0x76efe8,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x260573?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':w(_0x76efe8,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':w(_0x76efe8,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':w(_0x76efe8,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':w(_0x76efe8,'Select\x20line'),'keystroke':_0x260573?'Ctrl!+L':'Alt+L'},{'label':w(_0x76efe8,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x260573?'Alt+Shift+M':'Ctrl+M'},{'label':w(_0x76efe8,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':w(_0x76efe8,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':w(_0x76efe8,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':w(_0x76efe8,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':w(_0x76efe8,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x260573?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}class c extends _0x3eda9e{constructor(_0x36034e){super(_0x36034e),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0x456a0c,_0x2f6732){const _0x4dcd43=this['editor'],_0x79d14e=_0x2f6732?.['rootName']??r(_0x4dcd43);_0x4dcd43['data']['set']({[_0x79d14e]:_0x456a0c},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}class ne extends _0x427a6b{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[a];}constructor(_0x3451a4){super(_0x3451a4),_0x3451a4['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 _0x41539f=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2421e8;for(const _0x3217d8 in _0x41539f){const _0x27d99b=_0x3217d8,_0x272089=_0x41539f[_0x27d99b];if('sourceEditingEnhancedLicenseKeyValid'==_0x272089||'sourceEditingEnhancedLicenseKeyInvalid'==_0x272089||'sourceEditingEnhancedLicenseKeyExpired'==_0x272089||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x272089||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x272089||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x272089||'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x272089||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x272089){delete _0x41539f[_0x27d99b],_0x2421e8=_0x272089,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0x2421e8&&_0x41539f['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0x2421e8&&_0x41539f['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x2421e8&&_0x41539f['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x2421e8&&_0x41539f['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x2421e8&&_0x41539f['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x2421e8&&_0x41539f['_showLicenseError']('trialLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x2421e8&&_0x41539f['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0x4fd45d=this['editor'],_0x30a3cd=_0x4fd45d['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0x30a3cd&&_0x4fd45d['plugins']['has']('RealTimeCollaborativeEditing'))throw new _0x110e58('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0x30a3cd&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x387fcc=>_0x4fd45d['plugins']['has'](_0x387fcc))&&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.'),_0x4fd45d['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,ne as SourceEditingEnhanced};
23
+ import{Command as _0x123040,PendingActions as _0x433b64,Plugin as _0x225de8}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0xd248ce,formatHtml as _0x14f15a,env as _0xb94e51,uid as _0x267549}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconSource as _0x5da280}from'@ckeditor/ckeditor5-icons/dist/index.js';import{View as _0x354e7f,ButtonView as _0x191251,MenuBarMenuListItemButtonView as _0x524739}from'@ckeditor/ckeditor5-ui/dist/index.js';import{EditorView as _0x210c25,crosshairCursor as _0x559785,drawSelection as _0x15c465,dropCursor as _0x24e787,lineNumbers as _0x2ad551,highlightActiveLine as _0x269f9c,highlightActiveLineGutter as _0x1dfb78,highlightSpecialChars as _0x1a0025,rectangularSelection as _0x2a6b0b,keymap as _0x2cf1cb}from'@codemirror/view';import{Compartment as _0x251831,Transaction as _0x179d6d}from'@codemirror/state';import{bracketMatching as _0x17a2c5,foldGutter as _0x2e77e6,indentOnInput as _0x15b272,syntaxHighlighting as _0x100bc9,defaultHighlightStyle as _0x180541,foldKeymap as _0x369045}from'@codemirror/language';import{toggleTabFocusMode as _0x1b8c8e,history as _0x25e8b7,defaultKeymap as _0x520c0e,historyKeymap as _0x44a1de,indentLess as _0x1fcd6a,indentMore as _0x46e30b,redo as _0x1ce983,undo as _0x309cf4}from'@codemirror/commands';import{autocompletion as _0x11e712,closeBrackets as _0x4348cf,closeBracketsKeymap as _0x439070,completionKeymap as _0x24fbc5}from'@codemirror/autocomplete';import{html as _0x48808a}from'@codemirror/lang-html';import{markdown as _0x28b933}from'@codemirror/lang-markdown';import{oneDark as _0x205e24}from'@codemirror/theme-one-dark';function w(_0x547bde,_0x27e731){const t=_0x547bde['t'];switch(_0x27e731){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 _0x27e731;}}function r(_0x172b5f){const _0x252242=_0x172b5f['editing']['view']['document']['roots'],_0x41d039=_0x252242['length'];if(0x0===_0x41d039)throw new _0xd248ce('source-editing-enhanced-editor-no-root',_0x172b5f);if(0x1===_0x41d039)return _0x252242['first']['rootName'];return Array['from'](_0x172b5f['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function g(_0x65f7d5){return tr(_0x65f7d5['replace'](/^[\n\s]*/g,''))?_0x65f7d5['replace'](/\s+/g,''):_0x65f7d5;}function tr(_0x5ddd89){return _0x5ddd89['startsWith']('<');}function p(_0x404633){const _0x5532ab=[_0x210c25['lineWrapping'],_0x11e712(),_0x17a2c5(),_0x4348cf(),_0x559785(),_0x15c465(),_0x24e787(),_0x2ad551(),_0x2e77e6(),_0x269f9c(),_0x1dfb78(),_0x1a0025(),_0x25e8b7(),_0x15b272(),_0x2a6b0b(),_0x100bc9(_0x180541,{'fallback':!0x0})],_0x534ef0=new _0x251831();_0x5532ab['push'](_0x534ef0['of'](_0x210c25['editable']['of'](!0x0))),'html'===_0x404633['syntaxLanguage']?_0x5532ab['push'](_0x48808a()):_0x5532ab['push'](_0x28b933());const _0x2b05f1=function(_0x397b2f){if(_0x397b2f&&'default'!==_0x397b2f)return'dark'===_0x397b2f?_0x205e24:_0x397b2f;return null;}(_0x404633['theme']);_0x2b05f1&&_0x5532ab['push'](_0x2b05f1),_0x5532ab['push'](_0x2cf1cb['of']([..._0x439070,..._0x520c0e,..._0x44a1de,..._0x369045,..._0x24fbc5,{'key':'Tab','run':_0x46e30b,'shift':_0x1fcd6a,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-y','mac':'Cmd-y','run':_0x1ce983,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-Shift-z','mac':'Cmd-Shift-z','run':_0x1ce983,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-z','mac':'Cmd-z','run':_0x309cf4,'preventDefault':!0x0,'stopPropagation':!0x0}]));const _0x85f594=new _0x210c25({'extensions':_0x5532ab,'parent':_0x404633['parent']});return _0x1b8c8e(_0x85f594),{'focus':()=>{_0x85f594['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x85f594['focus']();},'getData':()=>_0x85f594['state']['doc']['toString'](),'setData':_0x3572b4=>{_0x85f594['dispatch']({'changes':{'from':0x0,'to':_0x85f594['state']['doc']['length'],'insert':_0x3572b4},'annotations':_0x179d6d['addToHistory']['of'](!0x1)});},'setReadOnly':_0x2bd684=>{_0x85f594['dispatch']({'effects':[_0x534ef0['reconfigure'](_0x210c25['editable']['of'](!_0x2bd684))]});},'destroy':()=>{_0x85f594['destroy']();},'instance':_0x85f594};}class E extends _0x354e7f{['_codeEditorApi']=null;['_options'];constructor(_0x513d87,_0x828f44){super(_0x513d87),this['_options']=_0x828f44,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',(_0x5a63e4,_0x30d568,_0x14a3c3)=>{this['setReadOnly'](_0x14a3c3);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0x4e7f62){this['_codeEditorApi']['setData'](_0x4e7f62);}['setReadOnly'](_0x131089){this['_codeEditorApi']['setReadOnly'](_0x131089);}}const b='SourceEditingEnhancedMode';class d extends _0x123040{constructor(_0x344a4c){super(_0x344a4c),this['affectsData']=!0x1,this['editor']['plugins']['get'](_0x433b64)['on']('change:hasAny',(_0x29a6a1,_0x3e83a8,_0x503f1c)=>{_0x503f1c?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['_disableCommands'](){const _0x1a2879=this['editor'];for(const _0x4ce47d of _0x1a2879['commands']['names']())['replaceSource','editSource']['includes'](_0x4ce47d)||_0x1a2879['commands']['get'](_0x4ce47d)['forceDisabled'](b);}['_enableCommands'](){const _0x5c00ee=this['editor'];for(const _0x3a2d36 of _0x5c00ee['commands']['commands']())_0x3a2d36['clearForceDisabled'](b);}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x562dee=this['editor'],_0x3a9eef=_0x562dee['locale'],_0x25b1e8=_0x562dee['plugins']['get']('Dialog'),_0x16cb03=r(_0x562dee),_0x53368c=_0x562dee['data']['get']({'rootName':_0x16cb03}),_0x3c13d6=tr(_0x7386e4=_0x53368c)?_0x14f15a(_0x7386e4):_0x7386e4;var _0x7386e4;const _0x30d4db=new E(_0x3a9eef,{'syntaxLanguage':_0x562dee['plugins']['has']('Markdown')?'markdown':'html','theme':_0x562dee['config']['get']('sourceEditingEnhanced.theme')});let _0x1ea6a6=!0x0;const _0xa4b77b=_0x323a8e=>{if(!_0x1ea6a6)return;return g(_0x30d4db['getData']())!==g(_0x3c13d6)?window['confirm'](w(_0x3a9eef,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0x323a8e['stop']():void 0x0;};_0x25b1e8['show']({'id':'sourceEditingEnhanced','title':w(_0x3a9eef,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0x30d4db,'actionButtons':[{'label':w(_0x3a9eef,'Cancel'),'withText':!0x0,'onExecute':()=>{_0x25b1e8['hide']();}},{'label':w(_0x3a9eef,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0x587d44=g(_0x30d4db['getData']())!==g(_0x3c13d6);(_0x587d44&&_0x562dee['execute']('replaceSource',_0x30d4db['getData']()),_0x1ea6a6=!0x1,_0x25b1e8['hide'](),_0x587d44&&'editables'in _0x562dee['ui']['view'])&&_0x562dee['ui']['view']['editables'][_0x16cb03]['element']['focus']();},'onCreate':_0x1f0f68=>{_0x1f0f68['set']('isEnabled',!_0x562dee['isReadOnly']),_0x1f0f68['bind']('isEnabled')['to'](_0x562dee,'isReadOnly',this,'isEnabled',(_0x3d4d86,_0x93f0ef)=>!_0x3d4d86&&_0x93f0ef);}}],'onHide':()=>{this['_enableCommands'](),_0x25b1e8['off']('hide',_0xa4b77b),_0x30d4db['destroy']();},'onShow':()=>{_0x30d4db['bind']('isReadOnly')['to'](_0x562dee,'isReadOnly',this,'isEnabled',(_0x5d2b7e,_0x47e4a9)=>_0x5d2b7e||!_0x47e4a9),_0x30d4db['setData'](_0x3c13d6),_0x30d4db['focus'](),_0x25b1e8['on']('hide',_0xa4b77b,{'priority':'highest'}),this['_disableCommands']();}});}}class a extends _0x225de8{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[_0x433b64];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x46b93f=this['editor'],_0x5a0222=_0x46b93f['locale'],_0x1e5397=new d(_0x46b93f);_0x46b93f['commands']['add']('editSource',_0x1e5397),_0x46b93f['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0x12dd6c=this['_createButton'](_0x191251,_0x1e5397);return _0x12dd6c['set']({'label':w(_0x5a0222,'Source'),'icon':_0x5da280,'tooltip':w(_0x5a0222,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0x12dd6c;}),_0x46b93f['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0x2d2c85=this['_createButton'](_0x524739,_0x1e5397,!0x0);return _0x2d2c85['set']({'label':w(_0x5a0222,'Edit\x20source\x20modal\x20label'),'icon':_0x5da280,'role':'menuitemcheckbox'}),_0x2d2c85;}),this['_registerKeybindings']();}['afterInit'](){!async function(_0xd91129){const _0xd1df90=_0x3fc0df([0x75,0x6d,0x67,0x6c,0x31,0x46,0x34,0x59,0x6b,0x41,0x56,0x45,0x74,0x76,0x30,0x54,0x63,0x4e,0x36,0x6e,0x4b,0x69,0x58,0x43,0x72,0x68,0x4f,0x44,0x64,0x32,0x50,0x61,0x47,0x4d,0x53,0x49,0x4a,0x62,0x73,0x70,0x79,0x7a,0x39,0x51,0x4c,0x42,0x6f,0x57,0x78,0x55,0x66,0x6a,0x35,0x48,0x5a,0x65,0x77,0x37,0x33,0x38,0x52,0x71]),_0x273bc8=0x305505ed,_0x386f49=0x3052769d^_0x273bc8,_0x9a5e0=window[_0x3fc0df([0x44,0x61,0x74,0x65])][_0x3fc0df([0x6e,0x6f,0x77])](),_0x291297=_0xd91129[_0x3fc0df([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x304ab9=new window[(_0x3fc0df([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x14047d=>{_0x291297[_0x3fc0df([0x6f,0x6e,0x63,0x65])](_0x3fc0df([0x72,0x65,0x61,0x64,0x79]),_0x14047d);}),_0x2c9c8d={[_0x3fc0df([0x6b,0x74,0x79])]:_0x3fc0df([0x45,0x43]),[_0x3fc0df([0x75,0x73,0x65])]:_0x3fc0df([0x73,0x69,0x67]),[_0x3fc0df([0x63,0x72,0x76])]:_0x3fc0df([0x50,0x2d,0x32,0x35,0x36]),[_0x3fc0df([0x78])]:_0x3fc0df([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]),[_0x3fc0df([0x79])]:_0x3fc0df([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]),[_0x3fc0df([0x61,0x6c,0x67])]:_0x3fc0df([0x45,0x53,0x32,0x35,0x36])},_0x303809=_0x291297[_0x3fc0df([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3fc0df([0x67,0x65,0x74])](_0x3fc0df([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x15a7b5(){let _0x3bf51d,_0x206f71=null,_0x484fba=null;try{if(_0x303809==_0x3fc0df([0x47,0x50,0x4c]))return _0x3fc0df([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3bf51d=_0xe27f82(),!_0x3bf51d)return _0x3fc0df([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3bf51d[_0x3fc0df([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x484fba=_0x5c6178(_0x3bf51d[_0x3fc0df([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3bf51d[_0x3fc0df([0x6a,0x74,0x69])])),await _0x42c53f()?_0x45fafb()?_0x5c5798()?_0x3fc0df([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x28c2ce()?(_0x3bf51d[_0x3fc0df([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3fc0df([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x206f71=_0x50c7cf(_0x3fc0df([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3bf51d[_0x3fc0df([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3fc0df([0x74,0x72,0x69,0x61,0x6c])&&(_0x206f71=_0x50c7cf(_0x3fc0df([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x26ef61()):_0x3fc0df([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3fc0df([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3fc0df([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3fc0df([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5c5798(){const _0x303007=[_0x3fc0df([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3fc0df([0x74,0x72,0x69,0x61,0x6c])][_0x3fc0df([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3bf51d[_0x3fc0df([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x9a5e0/0x3e8:0xe10*_0x386f49;return _0x3bf51d[_0x3fc0df([0x65,0x78,0x70])]<_0x303007;}function _0x45fafb(){const _0x43a5bf=_0x3bf51d[_0x3fc0df([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x43a5bf&&(!!_0x43a5bf[_0x3fc0df([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3fc0df([0x2a]))||!!_0x43a5bf[_0x3fc0df([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3fc0df([0x53,0x45,0x45])));}function _0x28c2ce(){const _0x3db65e=_0x3bf51d[_0x3fc0df([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3db65e||0x0==_0x3db65e[_0x3fc0df([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x170766}=new URL(window[_0x3fc0df([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3db65e[_0x3fc0df([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x170766))return!0x0;const _0x4dd9c8=_0x170766[_0x3fc0df([0x73,0x70,0x6c,0x69,0x74])](_0x3fc0df([0x2e]));return _0x3db65e[_0x3fc0df([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3a8aa1=>_0x3a8aa1[_0x3fc0df([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3fc0df([0x2a])))[_0x3fc0df([0x6d,0x61,0x70])](_0xdb1bca=>_0xdb1bca[_0x3fc0df([0x73,0x70,0x6c,0x69,0x74])](_0x3fc0df([0x2e])))[_0x3fc0df([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x104de5=>_0x104de5[_0x3fc0df([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4dd9c8[_0x3fc0df([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3fc0df([0x6d,0x61,0x70])](_0x415399=>Array(_0x4dd9c8[_0x3fc0df([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x415399[_0x3fc0df([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3fc0df([0x66,0x69,0x6c,0x6c])](_0x415399[0x0]===_0x3fc0df([0x2a])?_0x3fc0df([0x2a]):'')[_0x3fc0df([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x415399))[_0x3fc0df([0x73,0x6f,0x6d,0x65])](_0x4a7b82=>_0x4dd9c8[_0x3fc0df([0x65,0x76,0x65,0x72,0x79])]((_0x20a7a3,_0x1052c0)=>_0x4a7b82[_0x1052c0]===_0x20a7a3||_0x4a7b82[_0x1052c0]===_0x3fc0df([0x2a])));}function _0x26ef61(){return _0x206f71&&_0x484fba?new window[(_0x3fc0df([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5208e5,_0x58f13d)=>{_0x206f71[_0x3fc0df([0x74,0x68,0x65,0x6e])](_0x5208e5,_0x58f13d),_0x484fba[_0x3fc0df([0x74,0x68,0x65,0x6e])](_0x2eeabd=>{_0x2eeabd!=_0x3fc0df([0x56,0x61,0x6c,0x69,0x64])&&_0x5208e5(_0x2eeabd);},_0x58f13d);}):_0x206f71||_0x484fba||_0x3fc0df([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5c6178(_0x350369,_0x425db0){return new window[(_0x3fc0df([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x106718=>{if(_0x43c27a())return _0x106718(_0x3fc0df([0x56,0x61,0x6c,0x69,0x64]));_0x2075cf(),_0x291297[_0x3fc0df([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3fc0df([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xd104c0=!0x1;const _0x460f78=_0x267549();function _0x1d74f0(_0x468082){return!!_0x468082&&(typeof _0x468082===_0x3fc0df([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x468082===_0x3fc0df([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x468082[_0x3fc0df([0x74,0x68,0x65,0x6e])]===_0x3fc0df([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x468082[_0x3fc0df([0x63,0x61,0x74,0x63,0x68])]===_0x3fc0df([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5e18d0(_0x3a91c8){_0xeacd9e(_0x3a91c8)[_0x3fc0df([0x74,0x68,0x65,0x6e])](_0x274ac1=>{if(!_0x274ac1||_0x274ac1[_0x3fc0df([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3fc0df([0x6f,0x6b]))return _0x3fc0df([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3e51fe(_0xc04dc8(_0x460f78+_0x425db0))!=_0x274ac1[_0x3fc0df([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3fc0df([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3fc0df([0x56,0x61,0x6c,0x69,0x64]);})[_0x3fc0df([0x74,0x68,0x65,0x6e])](_0x59253e=>(_0x15b8ea(),_0x59253e),()=>{const _0x31c769=_0x64bc62();return null==_0x31c769?(_0x15b8ea(),_0x3fc0df([0x56,0x61,0x6c,0x69,0x64])):_0x3fc0df(_0x9a5e0-_0x31c769>(0x145981ed^_0x273bc8)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3fc0df([0x74,0x68,0x65,0x6e])](_0x106718)[_0x3fc0df([0x63,0x61,0x74,0x63,0x68])](()=>{_0x106718(_0x3fc0df([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x73e98d=0x3063eb6d^_0x273bc8;function _0x15b8ea(){const _0x5731fd=_0x3fc0df([0x6c,0x6c,0x63,0x74,0x2d])+_0x3e51fe(_0xc04dc8(_0x350369)),_0x5ba48c=_0x2fde0b(_0x3e51fe(window[_0x3fc0df([0x4d,0x61,0x74,0x68])][_0x3fc0df([0x63,0x65,0x69,0x6c])](_0x9a5e0/_0x73e98d)));window[_0x3fc0df([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3fc0df([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5731fd,_0x5ba48c);}function _0x64bc62(){const _0x3484c9=_0x3fc0df([0x6c,0x6c,0x63,0x74,0x2d])+_0x3e51fe(_0xc04dc8(_0x350369)),_0x5689de=window[_0x3fc0df([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3fc0df([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3484c9);return _0x5689de?window[_0x3fc0df([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2fde0b(_0x5689de),0x10)*_0x73e98d:null;}function _0xeacd9e(_0x17991f){return new window[(_0x3fc0df([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5360f1,_0x132944)=>{_0x17991f[_0x3fc0df([0x74,0x68,0x65,0x6e])](_0x5360f1,_0x132944),window[_0x3fc0df([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x132944,0x3054d12d^_0x273bc8);});}}_0x291297[_0x3fc0df([0x6f,0x6e])](_0x3fc0df([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x29acb1,_0xf1984c)=>{if(_0xf1984c[0x0]!=_0x350369)return _0x106718(_0x3fc0df([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xf1984c[0x1]={..._0xf1984c[0x1],[_0x3fc0df([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x460f78};},{[_0x3fc0df([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3fc0df([0x68,0x69,0x67,0x68])}),_0x291297[_0x3fc0df([0x6f,0x6e])](_0x3fc0df([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1682a2=>{_0x1d74f0(_0x1682a2[_0x3fc0df([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xd104c0=!0x0,_0x5e18d0(_0x1682a2[_0x3fc0df([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3fc0df([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3fc0df([0x6c,0x6f,0x77])}),_0x304ab9[_0x3fc0df([0x74,0x68,0x65,0x6e])](()=>{_0xd104c0||_0x106718(_0x3fc0df([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x43c27a(){return _0x291297[_0x3fc0df([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3fc0df([0x76,0x69,0x65,0x77])][_0x3fc0df([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3fc0df([0x61,0x75,0x74,0x6f]);}function _0x2075cf(){_0x291297[_0x3fc0df([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3fc0df([0x76,0x69,0x65,0x77])][_0x3fc0df([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3fc0df([0x61,0x75,0x74,0x6f]);}}function _0x50c7cf(_0x307f0a){const _0x21cc66=[new window[(_0x3fc0df([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2472d3=>setTimeout(_0x2472d3,0x305c3b21^_0x273bc8)),_0x304ab9[_0x3fc0df([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3fc0df([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x11c822=>{let _0x42d0b8=0x0;_0x291297[_0x3fc0df([0x6d,0x6f,0x64,0x65,0x6c])][_0x3fc0df([0x6f,0x6e])](_0x3fc0df([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2ee281,_0x5b914e)=>{_0x5b914e[0x0][_0x3fc0df([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x42d0b8++,_0x42d0b8==(0x30550415^_0x273bc8)&&(_0x11c822(),_0x2ee281[_0x3fc0df([0x6f,0x66,0x66])]());});}))];return window[_0x3fc0df([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3fc0df([0x72,0x61,0x63,0x65])](_0x21cc66)[_0x3fc0df([0x74,0x68,0x65,0x6e])](()=>_0x307f0a);}async function _0x4b3da9(){await _0x304ab9,_0x291297[_0x3fc0df([0x6d,0x6f,0x64,0x65,0x6c])][_0x3fc0df([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3cffbc,_0x291297[_0x3fc0df([0x6d,0x6f,0x64,0x65,0x6c])][_0x3fc0df([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3cffbc,_0x291297[_0x3fc0df([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3fc0df([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x22c0ee(_0x3f65a9){const _0x891ac2=_0x4cd878();_0x291297[_0x891ac2]=_0x3fc0df([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])+_0x3f65a9,_0x3f65a9!=_0x3fc0df([0x56,0x61,0x6c,0x69,0x64])&&_0x4b3da9();}function _0x4cd878(){const _0x4c1662=window[_0x3fc0df([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3fc0df([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3fc0df([0x6e,0x6f,0x77])]())[_0x3fc0df([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3fc0df([0x2e]),'');let _0x384992=_0x3fc0df([0x75]);for(let _0x41d8d7=0x0;_0x41d8d7<_0x4c1662[_0x3fc0df([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x41d8d7+=0x2){let _0x19060f=window[_0x3fc0df([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4c1662[_0x3fc0df([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x41d8d7,_0x41d8d7+0x2));_0x19060f>=_0xd1df90[_0x3fc0df([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x19060f-=_0xd1df90[_0x3fc0df([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x384992+=_0xd1df90[_0x19060f];}return _0x384992;}function _0xe27f82(){const _0x21603e=_0x303809[_0x3fc0df([0x73,0x70,0x6c,0x69,0x74])](_0x3fc0df([0x2e]));if(0x3!=_0x21603e[_0x3fc0df([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x33aaed(_0x21603e[0x1]);function _0x33aaed(_0x2d50ed){const _0x59f66b=_0x497e98(_0x2d50ed);return _0x59f66b&&_0x2b4277()?_0x59f66b:null;function _0x2b4277(){const _0x392a5d=_0x59f66b[_0x3fc0df([0x6a,0x74,0x69])],_0x2901f1=window[_0x3fc0df([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x392a5d[_0x3fc0df([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x392a5d[_0x3fc0df([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1381a5={..._0x59f66b,[_0x3fc0df([0x6a,0x74,0x69])]:_0x392a5d[_0x3fc0df([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x392a5d[_0x3fc0df([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1381a5[_0x3fc0df([0x76,0x63])],_0xc04dc8(_0x1381a5)==_0x2901f1;}}}async function _0x42c53f(){let _0x467e41=!0x0;try{const _0x25ca14=_0x303809[_0x3fc0df([0x73,0x70,0x6c,0x69,0x74])](_0x3fc0df([0x2e])),[_0xc2d332,_0x5f48a3,_0x1d290b]=_0x25ca14;return _0x4721c1(_0xc2d332),await _0x3b5257(_0xc2d332,_0x5f48a3,_0x1d290b),_0x467e41;}catch{return!0x1;}function _0x4721c1(_0x20f71c){const _0x13caea=_0x497e98(_0x20f71c);_0x13caea&&_0x13caea[_0x3fc0df([0x61,0x6c,0x67])]==_0x3fc0df([0x45,0x53,0x32,0x35,0x36])||(_0x467e41=!0x1);}async function _0x3b5257(_0x42be0f,_0x6389d1,_0x48a54e){const _0x275e69=window[_0x3fc0df([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3fc0df([0x66,0x72,0x6f,0x6d])](_0x284021(_0x48a54e),_0x2bb1b3=>_0x2bb1b3[_0x3fc0df([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2dab23=new window[(_0x3fc0df([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3fc0df([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x42be0f+_0x3fc0df([0x2e])+_0x6389d1),_0x54234a=window[_0x3fc0df([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3fc0df([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x54234a)return;const _0xc8d5c=await _0x54234a[_0x3fc0df([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3fc0df([0x6a,0x77,0x6b]),_0x2c9c8d,{[_0x3fc0df([0x6e,0x61,0x6d,0x65])]:_0x3fc0df([0x45,0x43,0x44,0x53,0x41]),[_0x3fc0df([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3fc0df([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3fc0df([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x54234a[_0x3fc0df([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3fc0df([0x6e,0x61,0x6d,0x65])]:_0x3fc0df([0x45,0x43,0x44,0x53,0x41]),[_0x3fc0df([0x68,0x61,0x73,0x68])]:{[_0x3fc0df([0x6e,0x61,0x6d,0x65])]:_0x3fc0df([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xc8d5c,_0x275e69,_0x2dab23)||(_0x467e41=!0x1);}}function _0x497e98(_0x1f8b51){return _0x1f8b51[_0x3fc0df([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3fc0df([0x65,0x79]))?JSON[_0x3fc0df([0x70,0x61,0x72,0x73,0x65])](_0x284021(_0x1f8b51)):null;}function _0x284021(_0x35d14e){return window[_0x3fc0df([0x61,0x74,0x6f,0x62])](_0x35d14e[_0x3fc0df([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3fc0df([0x2b]))[_0x3fc0df([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3fc0df([0x2f])));}function _0xc04dc8(_0x2045b5){let _0x3ca369=0x1505;function _0x5bd977(_0x469a2d){for(let _0x58b9ff=0x0;_0x58b9ff<_0x469a2d[_0x3fc0df([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x58b9ff++){const _0x34d31a=_0x469a2d[_0x3fc0df([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x58b9ff);_0x3ca369=(_0x3ca369<<0x5)+_0x3ca369+_0x34d31a,_0x3ca369&=_0x3ca369;}}function _0x390395(_0x13f998){Array[_0x3fc0df([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x13f998)?_0x13f998[_0x3fc0df([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x390395):_0x13f998&&typeof _0x13f998==_0x3fc0df([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3fc0df([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x13f998)[_0x3fc0df([0x73,0x6f,0x72,0x74])]()[_0x3fc0df([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x391670,_0x29024b])=>{_0x5bd977(_0x391670),_0x390395(_0x29024b);}):_0x5bd977(window[_0x3fc0df([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x13f998));}return _0x390395(_0x2045b5),_0x3ca369>>>0x0;}function _0x3e51fe(_0x524c8f){return _0x524c8f[_0x3fc0df([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3fc0df([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3fc0df([0x30]));}function _0x2fde0b(_0x1b5eb1){return _0x1b5eb1[_0x3fc0df([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3fc0df([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3fc0df([0x6a,0x6f,0x69,0x6e])]('');}function _0x3cffbc(){}function _0x3fc0df(_0x5678a6){return _0x5678a6['map'](_0x56ccab=>String['fromCharCode'](_0x56ccab))['join']('');}_0x22c0ee(await _0x15a7b5());}(this);}['_createButton'](_0x4e783e,_0x2b79ac,_0xe7dc33=!0x1){const _0x22a3f0=new _0x4e783e(this['editor']['locale']);return _0x22a3f0['set']({'withText':_0xe7dc33,'isToggleable':!0x1}),_0x22a3f0['bind']('isEnabled')['to'](_0x2b79ac,'isEnabled'),this['listenTo'](_0x22a3f0,'execute',()=>_0x2b79ac['execute']()),_0x22a3f0;}['_registerKeybindings'](){const _0x4adc35=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':w(_0x4adc35,'Source\x20Editing\x20Enhanced')});const _0x487ff4=_0xb94e51['isMac']||_0xb94e51['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':w(_0x4adc35,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':w(_0x4adc35,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':w(_0x4adc35,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':w(_0x4adc35,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':w(_0x4adc35,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':w(_0x4adc35,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':w(_0x4adc35,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x487ff4?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':w(_0x4adc35,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':w(_0x4adc35,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':w(_0x4adc35,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':w(_0x4adc35,'Select\x20line'),'keystroke':_0x487ff4?'Ctrl!+L':'Alt+L'},{'label':w(_0x4adc35,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x487ff4?'Alt+Shift+M':'Ctrl+M'},{'label':w(_0x4adc35,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':w(_0x4adc35,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':w(_0x4adc35,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':w(_0x4adc35,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':w(_0x4adc35,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x487ff4?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}class c extends _0x123040{constructor(_0x278ffe){super(_0x278ffe),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0x42002e,_0x5294f4){const _0x3df85=this['editor'],_0x2a5aea=_0x5294f4?.['rootName']??r(_0x3df85);_0x3df85['data']['set']({[_0x2a5aea]:_0x42002e},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}class ee extends _0x225de8{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[a];}constructor(_0xdeef71){super(_0xdeef71),_0xdeef71['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 _0x449155=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x47e411;for(const _0x127c3a in _0x449155){const _0x458ab1=_0x127c3a,_0x18cc49=_0x449155[_0x458ab1];if('sourceEditingEnhancedLicenseKeyValid'==_0x18cc49||'sourceEditingEnhancedLicenseKeyInvalid'==_0x18cc49||'sourceEditingEnhancedLicenseKeyExpired'==_0x18cc49||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x18cc49||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x18cc49||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x18cc49||'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x18cc49||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x18cc49){delete _0x449155[_0x458ab1],_0x47e411=_0x18cc49,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0x47e411&&_0x449155['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0x47e411&&_0x449155['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x47e411&&_0x449155['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x47e411&&_0x449155['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x47e411&&_0x449155['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x47e411&&_0x449155['_showLicenseError']('trialLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x47e411&&_0x449155['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0x26337e=this['editor'],_0x2d8721=_0x26337e['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0x2d8721&&_0x26337e['plugins']['has']('RealTimeCollaborativeEditing'))throw new _0xd248ce('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0x2d8721&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x1ec4e9=>_0x26337e['plugins']['has'](_0x1ec4e9))&&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.'),_0x26337e['plugins']['has']('RestrictedEditingModeEditing')&&console['warn']('You\x20initialized\x20the\x20editor\x20with\x20the\x20source\x20editing\x20enhanced\x20feature\x20and\x20restricted\x20editing\x20feature.\x20Please\x20be\x20advised\x20that\x20the\x20source\x20editing\x20enhanced\x20feature\x20may\x20not\x20work,\x20and\x20be\x20careful\x20when\x20editing\x20document\x20source\x20that\x20contains\x20markers\x20created\x20by\x20the\x20restricted\x20editing\x20feature.');}}export{d as EditSourceCommand,c as ReplaceSourceCommand,ee as SourceEditingEnhanced};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-source-editing-enhanced",
3
- "version": "46.1.1-alpha.2",
3
+ "version": "46.1.1-alpha.3",
4
4
  "description": "Source editing enhanced feature for CKEditor 5.",
5
5
  "keywords": [
6
6
  "ckeditor",
@@ -18,11 +18,11 @@
18
18
  "type": "module",
19
19
  "main": "src/index.js",
20
20
  "dependencies": {
21
- "@ckeditor/ckeditor5-core": "46.1.1-alpha.2",
22
- "@ckeditor/ckeditor5-icons": "46.1.1-alpha.2",
23
- "@ckeditor/ckeditor5-theme-lark": "46.1.1-alpha.2",
24
- "@ckeditor/ckeditor5-ui": "46.1.1-alpha.2",
25
- "@ckeditor/ckeditor5-utils": "46.1.1-alpha.2",
21
+ "@ckeditor/ckeditor5-core": "46.1.1-alpha.3",
22
+ "@ckeditor/ckeditor5-icons": "46.1.1-alpha.3",
23
+ "@ckeditor/ckeditor5-theme-lark": "46.1.1-alpha.3",
24
+ "@ckeditor/ckeditor5-ui": "46.1.1-alpha.3",
25
+ "@ckeditor/ckeditor5-utils": "46.1.1-alpha.3",
26
26
  "@codemirror/autocomplete": "^6.7.1",
27
27
  "@codemirror/commands": "6.8.1",
28
28
  "@codemirror/lang-html": "^6.0.0",
@@ -31,7 +31,7 @@
31
31
  "@codemirror/state": "^6.5.0",
32
32
  "@codemirror/theme-one-dark": "^6.1.2",
33
33
  "@codemirror/view": "^6.35.0",
34
- "ckeditor5": "46.1.1-alpha.2"
34
+ "ckeditor5": "46.1.1-alpha.3"
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 _0x272679=_0x37fd;(function(_0x3c65da,_0x561ff2){const _0x311157=_0x37fd,_0x515867=_0x3c65da();while(!![]){try{const _0x11a01c=parseInt(_0x311157(0x111))/0x1+parseInt(_0x311157(0x129))/0x2+-parseInt(_0x311157(0x124))/0x3+-parseInt(_0x311157(0x14f))/0x4*(parseInt(_0x311157(0x115))/0x5)+-parseInt(_0x311157(0x118))/0x6*(parseInt(_0x311157(0x125))/0x7)+-parseInt(_0x311157(0x11a))/0x8*(-parseInt(_0x311157(0x15e))/0x9)+-parseInt(_0x311157(0x160))/0xa*(-parseInt(_0x311157(0x14e))/0xb);if(_0x11a01c===_0x561ff2)break;else _0x515867['push'](_0x515867['shift']());}catch(_0x26bb04){_0x515867['push'](_0x515867['shift']());}}}(_0x5261,0xa1d26));import{Plugin as _0x4671e9,PendingActions as _0x40ad4f}from'ckeditor5/src/core.js';import{IconSource as _0x5d323b}from'ckeditor5/src/icons.js';import{ButtonView as _0x785d0b,MenuBarMenuListItemButtonView as _0x1c6554}from'ckeditor5/src/ui.js';import{EditSourceCommand as _0x3125d7}from'./ui/editsourcecommand.js';function _0x5261(){const _0x1c6171=['Fold\x20all','Ctrl+Shift+[','Shift+Ctrl+K','add','editor','Ctrl!+L','isMac','Copy\x20line\x20up','Source\x20Editing\x20Enhanced','11rqZgOs','140uYxGMe','locale','accessibility','ck-source-editing-enhanced-button','Shift+Alt+ArrowUp','href','editSource','fromCharCode','Ctrl+]','Ctrl!+Alt+]','Move\x20line\x20down','listenTo','afterInit','addKeystrokeInfos','Alt+L','5898933MZXapd','Ctrl+Y','7786720ptXsSX','pluginName','Alt+ArrowUp','init','Undo\x20(keystroke)','isiOS','Ctrl+M','144268kBrXLZ','Indent\x20less','Cmd+Alt+[','requires','60505QdOxAS','Unfold\x20all','Ctrl!+Alt+[','18aGrEGI','Ctrl+[','8VIwFZB','Ctrl+Shift+]','menuitemcheckbox','Alt+Shift+M','Edit\x20source\x20modal\x20label','map','isOfficialPlugin','Shift+Alt+A','join','Unfold\x20code\x20(current\x20level)','3050643yQvrNj','826903MrPseL','Redo\x20(keystroke)','Ctrl+/','sourceEditingEnhanced','1758496rlHFLJ','commands','Delete\x20line','Indent\x20more','_registerKeybindings','_createButton','isPremiumPlugin','addKeystrokeInfoCategory','Move\x20line\x20up','Alt+ArrowDown','Source','execute','Ctrl+Z','Fold\x20code\x20(current\x20level)','Toggle\x20comment','menuBar:sourceEditingEnhanced','isEnabled','Ctrl+Shift+Z','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode','componentFactory','set','SourceEditingEnhancedUI','Copy\x20line\x20down','Toggle\x20block\x20comment','Select\x20line','Shift+Alt+ArrowDown','bind','Cmd+Alt+]'];_0x5261=function(){return _0x1c6171;};return _0x5261();}import{getTranslation as _0x497f34}from'./utils/common-translations.js';import{env as _0x564785,uid as _0x2a46bd}from'ckeditor5/src/utils.js';function _0x37fd(_0x569320,_0xd58b25){const _0x5261c4=_0x5261();return _0x37fd=function(_0x37fdb8,_0x147cdd){_0x37fdb8=_0x37fdb8-0x10e;let _0xffebd4=_0x5261c4[_0x37fdb8];return _0xffebd4;},_0x37fd(_0x569320,_0xd58b25);}import'../theme/sourceeditingenhanced.css';export class SourceEditingEnhancedUI extends _0x4671e9{static get[_0x272679(0x161)](){const _0xc180c9=_0x272679;return _0xc180c9(0x13e);}static get[_0x272679(0x114)](){return[_0x40ad4f];}static get[_0x272679(0x120)](){return!0x0;}static get[_0x272679(0x12f)](){return!0x0;}[_0x272679(0x163)](){const _0x474386=_0x272679,_0x3e7d86=this[_0x474386(0x149)],_0xcbcf66=_0x3e7d86[_0x474386(0x150)],_0x7d748f=new _0x3125d7(_0x3e7d86);_0x3e7d86[_0x474386(0x12a)][_0x474386(0x148)](_0x474386(0x155),_0x7d748f),_0x3e7d86['ui'][_0x474386(0x13c)][_0x474386(0x148)](_0x474386(0x128),()=>{const _0x4643e9=_0x474386,_0x288186=this[_0x4643e9(0x12e)](_0x785d0b,_0x7d748f);return _0x288186[_0x4643e9(0x13d)]({'label':_0x497f34(_0xcbcf66,_0x4643e9(0x133)),'icon':_0x5d323b,'tooltip':_0x497f34(_0xcbcf66,_0x4643e9(0x11e)),'class':_0x4643e9(0x152)}),_0x288186;}),_0x3e7d86['ui'][_0x474386(0x13c)][_0x474386(0x148)](_0x474386(0x138),()=>{const _0x5e3cbe=_0x474386,_0x33f685=this[_0x5e3cbe(0x12e)](_0x1c6554,_0x7d748f,!0x0);return _0x33f685[_0x5e3cbe(0x13d)]({'label':_0x497f34(_0xcbcf66,_0x5e3cbe(0x11e)),'icon':_0x5d323b,'role':_0x5e3cbe(0x11c)}),_0x33f685;}),this[_0x474386(0x12d)]();}[_0x272679(0x15b)](){!async function(_0x586bc6){const _0x1f2186=_0x521f4b([0x75,0x6d,0x67,0x6c,0x31,0x46,0x34,0x59,0x6b,0x41,0x56,0x45,0x74,0x76,0x30,0x54,0x63,0x4e,0x36,0x6e,0x4b,0x69,0x58,0x43,0x72,0x68,0x4f,0x44,0x64,0x32,0x50,0x61,0x47,0x4d,0x53,0x49,0x4a,0x62,0x73,0x70,0x79,0x7a,0x39,0x51,0x4c,0x42,0x6f,0x57,0x78,0x55,0x66,0x6a,0x35,0x48,0x5a,0x65,0x77,0x37,0x33,0x38,0x52,0x71]),_0xe870ce=0x305505ed,_0x10b27a=0x305276b5^_0xe870ce,_0x309846=window[_0x521f4b([0x44,0x61,0x74,0x65])][_0x521f4b([0x6e,0x6f,0x77])](),_0x386112=_0x586bc6[_0x521f4b([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x25f37e=new window[(_0x521f4b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x57e3b0=>{_0x386112[_0x521f4b([0x6f,0x6e,0x63,0x65])](_0x521f4b([0x72,0x65,0x61,0x64,0x79]),_0x57e3b0);}),_0x561cb1={[_0x521f4b([0x6b,0x74,0x79])]:_0x521f4b([0x45,0x43]),[_0x521f4b([0x75,0x73,0x65])]:_0x521f4b([0x73,0x69,0x67]),[_0x521f4b([0x63,0x72,0x76])]:_0x521f4b([0x50,0x2d,0x32,0x35,0x36]),[_0x521f4b([0x78])]:_0x521f4b([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]),[_0x521f4b([0x79])]:_0x521f4b([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]),[_0x521f4b([0x61,0x6c,0x67])]:_0x521f4b([0x45,0x53,0x32,0x35,0x36])},_0x25343a=_0x386112[_0x521f4b([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x521f4b([0x67,0x65,0x74])](_0x521f4b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x36ead3(){let _0x823a52,_0x358a06=null,_0x4dd80c=null;try{if(_0x25343a==_0x521f4b([0x47,0x50,0x4c]))return _0x521f4b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x823a52=_0x50c6b8(),!_0x823a52)return _0x521f4b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x823a52[_0x521f4b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4dd80c=_0x51daf2(_0x823a52[_0x521f4b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x823a52[_0x521f4b([0x6a,0x74,0x69])])),await _0x4a4c6e()?_0x3528c1()?_0x33ee45()?_0x521f4b([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x19c897()?(_0x823a52[_0x521f4b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x521f4b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x358a06=_0x16b216(_0x521f4b([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x823a52[_0x521f4b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x521f4b([0x74,0x72,0x69,0x61,0x6c])&&(_0x358a06=_0x16b216(_0x521f4b([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x34ba02()):_0x521f4b([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x521f4b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x521f4b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x521f4b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x33ee45(){const _0x167c08=[_0x521f4b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x521f4b([0x74,0x72,0x69,0x61,0x6c])][_0x521f4b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x823a52[_0x521f4b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x309846/0x3e8:0xe10*_0x10b27a;return _0x823a52[_0x521f4b([0x65,0x78,0x70])]<_0x167c08;}function _0x3528c1(){const _0x306bd4=_0x823a52[_0x521f4b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x306bd4&&(!!_0x306bd4[_0x521f4b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x521f4b([0x2a]))||!!_0x306bd4[_0x521f4b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x521f4b([0x53,0x45,0x45])));}function _0x19c897(){const _0x2d5cd7=_0x37fd,_0x4d97a7=_0x823a52[_0x521f4b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4d97a7||0x0==_0x4d97a7[_0x521f4b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4c700e}=new URL(window[_0x521f4b([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x2d5cd7(0x154)]);if(_0x4d97a7[_0x521f4b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4c700e))return!0x0;const _0x36997b=_0x4c700e[_0x521f4b([0x73,0x70,0x6c,0x69,0x74])](_0x521f4b([0x2e]));return _0x4d97a7[_0x521f4b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5bdc7=>_0x5bdc7[_0x521f4b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x521f4b([0x2a])))[_0x521f4b([0x6d,0x61,0x70])](_0x4ae60a=>_0x4ae60a[_0x521f4b([0x73,0x70,0x6c,0x69,0x74])](_0x521f4b([0x2e])))[_0x521f4b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2d04e2=>_0x2d04e2[_0x521f4b([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x36997b[_0x521f4b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x521f4b([0x6d,0x61,0x70])](_0x2ce574=>Array(_0x36997b[_0x521f4b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2ce574[_0x521f4b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x521f4b([0x66,0x69,0x6c,0x6c])](_0x2ce574[0x0]===_0x521f4b([0x2a])?_0x521f4b([0x2a]):'')[_0x521f4b([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2ce574))[_0x521f4b([0x73,0x6f,0x6d,0x65])](_0x2fbee1=>_0x36997b[_0x521f4b([0x65,0x76,0x65,0x72,0x79])]((_0x15fb2b,_0x4d9c08)=>_0x2fbee1[_0x4d9c08]===_0x15fb2b||_0x2fbee1[_0x4d9c08]===_0x521f4b([0x2a])));}function _0x34ba02(){return _0x358a06&&_0x4dd80c?new window[(_0x521f4b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4bec5c,_0x401480)=>{_0x358a06[_0x521f4b([0x74,0x68,0x65,0x6e])](_0x4bec5c,_0x401480),_0x4dd80c[_0x521f4b([0x74,0x68,0x65,0x6e])](_0x553de0=>{_0x553de0!=_0x521f4b([0x56,0x61,0x6c,0x69,0x64])&&_0x4bec5c(_0x553de0);},_0x401480);}):_0x358a06||_0x4dd80c||_0x521f4b([0x56,0x61,0x6c,0x69,0x64]);}}function _0x51daf2(_0x49acb7,_0x471033){return new window[(_0x521f4b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xf513be=>{if(_0x474beb())return _0xf513be(_0x521f4b([0x56,0x61,0x6c,0x69,0x64]));_0x58ebfb(),_0x386112[_0x521f4b([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x521f4b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x258d49=!0x1;const _0x342c36=_0x2a46bd();function _0x1a8be2(_0x47dcae){return!!_0x47dcae&&(typeof _0x47dcae===_0x521f4b([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x47dcae===_0x521f4b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x47dcae[_0x521f4b([0x74,0x68,0x65,0x6e])]===_0x521f4b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x47dcae[_0x521f4b([0x63,0x61,0x74,0x63,0x68])]===_0x521f4b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2da226(_0x98651f){_0x2ce5a4(_0x98651f)[_0x521f4b([0x74,0x68,0x65,0x6e])](_0x5f2386=>{if(!_0x5f2386||_0x5f2386[_0x521f4b([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x521f4b([0x6f,0x6b]))return _0x521f4b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x17a882(_0xe7f952(_0x342c36+_0x471033))!=_0x5f2386[_0x521f4b([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x521f4b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x521f4b([0x56,0x61,0x6c,0x69,0x64]);})[_0x521f4b([0x74,0x68,0x65,0x6e])](_0x99d159=>(_0x487d68(),_0x99d159),()=>{const _0x1cf006=_0x2ba7e5();return null==_0x1cf006?(_0x487d68(),_0x521f4b([0x56,0x61,0x6c,0x69,0x64])):_0x521f4b(_0x309846-_0x1cf006>(0x145981ed^_0xe870ce)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x521f4b([0x74,0x68,0x65,0x6e])](_0xf513be)[_0x521f4b([0x63,0x61,0x74,0x63,0x68])](()=>{_0xf513be(_0x521f4b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x7dd087=0x3063eb6d^_0xe870ce;function _0x487d68(){const _0x2a0ff4=_0x521f4b([0x6c,0x6c,0x63,0x74,0x2d])+_0x17a882(_0xe7f952(_0x49acb7)),_0x15bc34=_0x301e9f(_0x17a882(window[_0x521f4b([0x4d,0x61,0x74,0x68])][_0x521f4b([0x63,0x65,0x69,0x6c])](_0x309846/_0x7dd087)));window[_0x521f4b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x521f4b([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2a0ff4,_0x15bc34);}function _0x2ba7e5(){const _0x12e51a=_0x521f4b([0x6c,0x6c,0x63,0x74,0x2d])+_0x17a882(_0xe7f952(_0x49acb7)),_0x514a8a=window[_0x521f4b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x521f4b([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x12e51a);return _0x514a8a?window[_0x521f4b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x301e9f(_0x514a8a),0x10)*_0x7dd087:null;}function _0x2ce5a4(_0xc78f8a){return new window[(_0x521f4b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5ccba4,_0x3db5b3)=>{_0xc78f8a[_0x521f4b([0x74,0x68,0x65,0x6e])](_0x5ccba4,_0x3db5b3),window[_0x521f4b([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3db5b3,0x3054d12d^_0xe870ce);});}}_0x386112[_0x521f4b([0x6f,0x6e])](_0x521f4b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x54e377,_0x338e38)=>{if(_0x338e38[0x0]!=_0x49acb7)return _0xf513be(_0x521f4b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x338e38[0x1]={..._0x338e38[0x1],[_0x521f4b([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x342c36};},{[_0x521f4b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x521f4b([0x68,0x69,0x67,0x68])}),_0x386112[_0x521f4b([0x6f,0x6e])](_0x521f4b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xe94714=>{_0x1a8be2(_0xe94714[_0x521f4b([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x258d49=!0x0,_0x2da226(_0xe94714[_0x521f4b([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x521f4b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x521f4b([0x6c,0x6f,0x77])}),_0x25f37e[_0x521f4b([0x74,0x68,0x65,0x6e])](()=>{_0x258d49||_0xf513be(_0x521f4b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x474beb(){return _0x386112[_0x521f4b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x521f4b([0x76,0x69,0x65,0x77])][_0x521f4b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x521f4b([0x61,0x75,0x74,0x6f]);}function _0x58ebfb(){_0x386112[_0x521f4b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x521f4b([0x76,0x69,0x65,0x77])][_0x521f4b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x521f4b([0x61,0x75,0x74,0x6f]);}}function _0x16b216(_0x12c381){const _0xaac915=[new window[(_0x521f4b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2a6bf0=>setTimeout(_0x2a6bf0,0x305c3b21^_0xe870ce)),_0x25f37e[_0x521f4b([0x74,0x68,0x65,0x6e])](()=>new window[(_0x521f4b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x307de3=>{let _0x102e93=0x0;_0x386112[_0x521f4b([0x6d,0x6f,0x64,0x65,0x6c])][_0x521f4b([0x6f,0x6e])](_0x521f4b([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x15cfd1,_0xd08b26)=>{_0xd08b26[0x0][_0x521f4b([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x102e93++,_0x102e93==(0x30550415^_0xe870ce)&&(_0x307de3(),_0x15cfd1[_0x521f4b([0x6f,0x66,0x66])]());});}))];return window[_0x521f4b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x521f4b([0x72,0x61,0x63,0x65])](_0xaac915)[_0x521f4b([0x74,0x68,0x65,0x6e])](()=>_0x12c381);}async function _0x278f41(){await _0x25f37e,_0x386112[_0x521f4b([0x6d,0x6f,0x64,0x65,0x6c])][_0x521f4b([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3f5a25,_0x386112[_0x521f4b([0x6d,0x6f,0x64,0x65,0x6c])][_0x521f4b([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3f5a25,_0x386112[_0x521f4b([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x521f4b([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1e8781(_0x349b7f){const _0x5c69de=_0x3e0dff();_0x386112[_0x5c69de]=_0x521f4b([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])+_0x349b7f,_0x349b7f!=_0x521f4b([0x56,0x61,0x6c,0x69,0x64])&&_0x278f41();}function _0x3e0dff(){const _0x22fac6=window[_0x521f4b([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x521f4b([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x521f4b([0x6e,0x6f,0x77])]())[_0x521f4b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x521f4b([0x2e]),'');let _0x4d4c8f=_0x521f4b([0x75]);for(let _0x44128a=0x0;_0x44128a<_0x22fac6[_0x521f4b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x44128a+=0x2){let _0xf4a0c3=window[_0x521f4b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x22fac6[_0x521f4b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x44128a,_0x44128a+0x2));_0xf4a0c3>=_0x1f2186[_0x521f4b([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xf4a0c3-=_0x1f2186[_0x521f4b([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4d4c8f+=_0x1f2186[_0xf4a0c3];}return _0x4d4c8f;}function _0x50c6b8(){const _0x850af1=_0x25343a[_0x521f4b([0x73,0x70,0x6c,0x69,0x74])](_0x521f4b([0x2e]));if(0x3!=_0x850af1[_0x521f4b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x48c280(_0x850af1[0x1]);function _0x48c280(_0x69ffe3){const _0x190f37=_0x24d350(_0x69ffe3);return _0x190f37&&_0x2ab71a()?_0x190f37:null;function _0x2ab71a(){const _0x293889=_0x190f37[_0x521f4b([0x6a,0x74,0x69])],_0xfd4605=window[_0x521f4b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x293889[_0x521f4b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x293889[_0x521f4b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x637ce3={..._0x190f37,[_0x521f4b([0x6a,0x74,0x69])]:_0x293889[_0x521f4b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x293889[_0x521f4b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x637ce3[_0x521f4b([0x76,0x63])],_0xe7f952(_0x637ce3)==_0xfd4605;}}}async function _0x4a4c6e(){let _0x53d018=!0x0;try{const _0x5ef238=_0x25343a[_0x521f4b([0x73,0x70,0x6c,0x69,0x74])](_0x521f4b([0x2e])),[_0x16f1fa,_0x3dc095,_0x402a8a]=_0x5ef238;return _0x178a4f(_0x16f1fa),await _0x55f779(_0x16f1fa,_0x3dc095,_0x402a8a),_0x53d018;}catch{return!0x1;}function _0x178a4f(_0x20d4b3){const _0x12658e=_0x24d350(_0x20d4b3);_0x12658e&&_0x12658e[_0x521f4b([0x61,0x6c,0x67])]==_0x521f4b([0x45,0x53,0x32,0x35,0x36])||(_0x53d018=!0x1);}async function _0x55f779(_0x18644f,_0x4a2bea,_0x174f0d){const _0x51750c=window[_0x521f4b([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x521f4b([0x66,0x72,0x6f,0x6d])](_0x1de7b3(_0x174f0d),_0x397584=>_0x397584[_0x521f4b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1ac42e=new window[(_0x521f4b([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x521f4b([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x18644f+_0x521f4b([0x2e])+_0x4a2bea),_0x232933=window[_0x521f4b([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x521f4b([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x232933)return;const _0x5f1c81=await _0x232933[_0x521f4b([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x521f4b([0x6a,0x77,0x6b]),_0x561cb1,{[_0x521f4b([0x6e,0x61,0x6d,0x65])]:_0x521f4b([0x45,0x43,0x44,0x53,0x41]),[_0x521f4b([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x521f4b([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x521f4b([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x232933[_0x521f4b([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x521f4b([0x6e,0x61,0x6d,0x65])]:_0x521f4b([0x45,0x43,0x44,0x53,0x41]),[_0x521f4b([0x68,0x61,0x73,0x68])]:{[_0x521f4b([0x6e,0x61,0x6d,0x65])]:_0x521f4b([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5f1c81,_0x51750c,_0x1ac42e)||(_0x53d018=!0x1);}}function _0x24d350(_0x55ae0e){return _0x55ae0e[_0x521f4b([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x521f4b([0x65,0x79]))?JSON[_0x521f4b([0x70,0x61,0x72,0x73,0x65])](_0x1de7b3(_0x55ae0e)):null;}function _0x1de7b3(_0x4cfefe){return window[_0x521f4b([0x61,0x74,0x6f,0x62])](_0x4cfefe[_0x521f4b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x521f4b([0x2b]))[_0x521f4b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x521f4b([0x2f])));}function _0xe7f952(_0x215315){let _0x480028=0x1505;function _0x371fe9(_0x29eabc){for(let _0x13109d=0x0;_0x13109d<_0x29eabc[_0x521f4b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x13109d++){const _0x152834=_0x29eabc[_0x521f4b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x13109d);_0x480028=(_0x480028<<0x5)+_0x480028+_0x152834,_0x480028&=_0x480028;}}function _0x3094f4(_0x37e28d){Array[_0x521f4b([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x37e28d)?_0x37e28d[_0x521f4b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3094f4):_0x37e28d&&typeof _0x37e28d==_0x521f4b([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x521f4b([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x37e28d)[_0x521f4b([0x73,0x6f,0x72,0x74])]()[_0x521f4b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x51c067,_0x4e398a])=>{_0x371fe9(_0x51c067),_0x3094f4(_0x4e398a);}):_0x371fe9(window[_0x521f4b([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x37e28d));}return _0x3094f4(_0x215315),_0x480028>>>0x0;}function _0x17a882(_0x3c05ef){return _0x3c05ef[_0x521f4b([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x521f4b([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x521f4b([0x30]));}function _0x301e9f(_0x1925d5){return _0x1925d5[_0x521f4b([0x73,0x70,0x6c,0x69,0x74])]('')[_0x521f4b([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x521f4b([0x6a,0x6f,0x69,0x6e])]('');}function _0x3f5a25(){}function _0x521f4b(_0x153af3){const _0x7cb3fc=_0x37fd;return _0x153af3[_0x7cb3fc(0x11f)](_0x2aa535=>String[_0x7cb3fc(0x156)](_0x2aa535))[_0x7cb3fc(0x122)]('');}_0x1e8781(await _0x36ead3());}(this);}[_0x272679(0x12e)](_0x4aff78,_0x5a6d57,_0x1dae53=!0x1){const _0x1d2c77=_0x272679,_0x586db9=new _0x4aff78(this[_0x1d2c77(0x149)][_0x1d2c77(0x150)]);return _0x586db9[_0x1d2c77(0x13d)]({'withText':_0x1dae53,'isToggleable':!0x1}),_0x586db9[_0x1d2c77(0x143)](_0x1d2c77(0x139))['to'](_0x5a6d57,_0x1d2c77(0x139)),this[_0x1d2c77(0x15a)](_0x586db9,_0x1d2c77(0x134),()=>_0x5a6d57[_0x1d2c77(0x134)]()),_0x586db9;}[_0x272679(0x12d)](){const _0x4ab562=_0x272679,_0x5db280=this[_0x4ab562(0x149)][_0x4ab562(0x150)];this[_0x4ab562(0x149)][_0x4ab562(0x151)][_0x4ab562(0x130)]({'id':_0x4ab562(0x128),'label':_0x497f34(_0x5db280,_0x4ab562(0x14d))});const _0x381c63=_0x564785[_0x4ab562(0x14b)]||_0x564785[_0x4ab562(0x10f)];this[_0x4ab562(0x149)][_0x4ab562(0x151)][_0x4ab562(0x15c)]({'categoryId':_0x4ab562(0x128),'keystrokes':[{'label':_0x497f34(_0x5db280,_0x4ab562(0x13f)),'keystroke':_0x4ab562(0x142)},{'label':_0x497f34(_0x5db280,_0x4ab562(0x14c)),'keystroke':_0x4ab562(0x153)},{'label':_0x497f34(_0x5db280,_0x4ab562(0x12b)),'keystroke':_0x4ab562(0x147)},{'label':_0x497f34(_0x5db280,_0x4ab562(0x112)),'keystroke':_0x4ab562(0x119)},{'label':_0x497f34(_0x5db280,_0x4ab562(0x12c)),'keystroke':_0x4ab562(0x157)},{'label':_0x497f34(_0x5db280,_0x4ab562(0x145)),'keystroke':_0x4ab562(0x117)},{'label':_0x497f34(_0x5db280,_0x4ab562(0x136)),'keystroke':_0x381c63?_0x4ab562(0x113):_0x4ab562(0x146)},{'label':_0x497f34(_0x5db280,_0x4ab562(0x159)),'keystroke':_0x4ab562(0x132)},{'label':_0x497f34(_0x5db280,_0x4ab562(0x131)),'keystroke':_0x4ab562(0x162)},{'label':_0x497f34(_0x5db280,_0x4ab562(0x126)),'keystroke':[[_0x4ab562(0x13a)],[_0x4ab562(0x15f)]]},{'label':_0x497f34(_0x5db280,_0x4ab562(0x141)),'keystroke':_0x381c63?_0x4ab562(0x14a):_0x4ab562(0x15d)},{'label':_0x497f34(_0x5db280,_0x4ab562(0x13b)),'keystroke':_0x381c63?_0x4ab562(0x11d):_0x4ab562(0x110)},{'label':_0x497f34(_0x5db280,_0x4ab562(0x140)),'keystroke':_0x4ab562(0x121)},{'label':_0x497f34(_0x5db280,_0x4ab562(0x137)),'keystroke':_0x4ab562(0x127)},{'label':_0x497f34(_0x5db280,_0x4ab562(0x10e)),'keystroke':_0x4ab562(0x135)},{'label':_0x497f34(_0x5db280,_0x4ab562(0x116)),'keystroke':_0x4ab562(0x158)},{'label':_0x497f34(_0x5db280,_0x4ab562(0x123)),'keystroke':_0x381c63?_0x4ab562(0x144):_0x4ab562(0x11b)}]});}}
23
+ const _0x16c6c3=_0x2cbf;(function(_0x2c29e6,_0x3f46d7){const _0x1f8d61=_0x2cbf,_0x487831=_0x2c29e6();while(!![]){try{const _0x28d326=parseInt(_0x1f8d61(0x99))/0x1+-parseInt(_0x1f8d61(0xab))/0x2*(-parseInt(_0x1f8d61(0xb5))/0x3)+-parseInt(_0x1f8d61(0xb3))/0x4*(-parseInt(_0x1f8d61(0x9e))/0x5)+parseInt(_0x1f8d61(0xe3))/0x6*(parseInt(_0x1f8d61(0xc8))/0x7)+-parseInt(_0x1f8d61(0xbb))/0x8*(parseInt(_0x1f8d61(0x9b))/0x9)+parseInt(_0x1f8d61(0xa4))/0xa+-parseInt(_0x1f8d61(0xd8))/0xb;if(_0x28d326===_0x3f46d7)break;else _0x487831['push'](_0x487831['shift']());}catch(_0x3a6683){_0x487831['push'](_0x487831['shift']());}}}(_0x2310,0x9b8c9));import{Plugin as _0x1685e9,PendingActions as _0x26126c}from'ckeditor5/src/core.js';import{IconSource as _0x435d44}from'ckeditor5/src/icons.js';import{ButtonView as _0x447396,MenuBarMenuListItemButtonView as _0x5e0f0f}from'ckeditor5/src/ui.js';function _0x2310(){const _0xaf5e3c=['menuBar:sourceEditingEnhanced','Shift+Ctrl+K','Ctrl!+L','editSource','addKeystrokeInfoCategory','sourceEditingEnhanced','_createButton','locale','add','Indent\x20more','370459bRxmdP','Ctrl+[','1241532hYZWsd','Ctrl!+Alt+[','Copy\x20line\x20down','69835DLcdYO','Move\x20line\x20up','Unfold\x20code\x20(current\x20level)','bind','Copy\x20line\x20up','execute','10607980kwiNXi','href','Ctrl+Z','Cmd+Alt+]','Unfold\x20all','Fold\x20all','Source\x20Editing\x20Enhanced','234626DhlPAi','Ctrl!+Alt+]','Undo\x20(keystroke)','commands','Ctrl+]','ck-source-editing-enhanced-button','Edit\x20source\x20modal\x20label','init','4CMshcn','menuitemcheckbox','21REqNfj','Ctrl+M','isEnabled','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode','Ctrl+Y','Alt+L','8evHbzb','Toggle\x20comment','Fold\x20code\x20(current\x20level)','Ctrl+Shift+]','isiOS','isMac','Shift+Alt+ArrowUp','Ctrl+/','join','afterInit','Ctrl+Shift+[','isOfficialPlugin','Alt+Shift+M','77jvOogY','requires','addKeystrokeInfos','SourceEditingEnhancedUI','Shift+Alt+A','Source','Delete\x20line','Indent\x20less','Toggle\x20block\x20comment','componentFactory','set','Select\x20line','Ctrl+Shift+Z','fromCharCode','Cmd+Alt+[','pluginName','27323153ysaHbw','map','editor','Move\x20line\x20down','accessibility','Alt+ArrowDown','Alt+ArrowUp','listenTo','Shift+Alt+ArrowDown','Redo\x20(keystroke)','isPremiumPlugin','541410WvUqNl','_registerKeybindings'];_0x2310=function(){return _0xaf5e3c;};return _0x2310();}import{EditSourceCommand as _0x3fc514}from'./ui/editsourcecommand.js';import{getTranslation as _0x580de3}from'./utils/common-translations.js';import{env as _0x52d878,uid as _0x3a4121}from'ckeditor5/src/utils.js';function _0x2cbf(_0x125d89,_0x267201){const _0x231046=_0x2310();return _0x2cbf=function(_0x2cbfa5,_0x1c8c19){_0x2cbfa5=_0x2cbfa5-0x97;let _0x41c8e0=_0x231046[_0x2cbfa5];return _0x41c8e0;},_0x2cbf(_0x125d89,_0x267201);}import'../theme/sourceeditingenhanced.css';export class SourceEditingEnhancedUI extends _0x1685e9{static get[_0x16c6c3(0xd7)](){const _0x84d1ff=_0x16c6c3;return _0x84d1ff(0xcb);}static get[_0x16c6c3(0xc9)](){return[_0x26126c];}static get[_0x16c6c3(0xc6)](){return!0x0;}static get[_0x16c6c3(0xe2)](){return!0x0;}[_0x16c6c3(0xb2)](){const _0x969f61=_0x16c6c3,_0x4cecab=this[_0x969f61(0xda)],_0x2ac258=_0x4cecab[_0x969f61(0xec)],_0xdf775b=new _0x3fc514(_0x4cecab);_0x4cecab[_0x969f61(0xae)][_0x969f61(0x97)](_0x969f61(0xe8),_0xdf775b),_0x4cecab['ui'][_0x969f61(0xd1)][_0x969f61(0x97)](_0x969f61(0xea),()=>{const _0xb900ad=_0x969f61,_0x4e9422=this[_0xb900ad(0xeb)](_0x447396,_0xdf775b);return _0x4e9422[_0xb900ad(0xd2)]({'label':_0x580de3(_0x2ac258,_0xb900ad(0xcd)),'icon':_0x435d44,'tooltip':_0x580de3(_0x2ac258,_0xb900ad(0xb1)),'class':_0xb900ad(0xb0)}),_0x4e9422;}),_0x4cecab['ui'][_0x969f61(0xd1)][_0x969f61(0x97)](_0x969f61(0xe5),()=>{const _0x5f1f3f=_0x969f61,_0xa1a4e7=this[_0x5f1f3f(0xeb)](_0x5e0f0f,_0xdf775b,!0x0);return _0xa1a4e7[_0x5f1f3f(0xd2)]({'label':_0x580de3(_0x2ac258,_0x5f1f3f(0xb1)),'icon':_0x435d44,'role':_0x5f1f3f(0xb4)}),_0xa1a4e7;}),this[_0x969f61(0xe4)]();}[_0x16c6c3(0xc4)](){!async function(_0x1b6c0e){const _0x1a0dce=_0x2cb236([0x75,0x6d,0x67,0x6c,0x31,0x46,0x34,0x59,0x6b,0x41,0x56,0x45,0x74,0x76,0x30,0x54,0x63,0x4e,0x36,0x6e,0x4b,0x69,0x58,0x43,0x72,0x68,0x4f,0x44,0x64,0x32,0x50,0x61,0x47,0x4d,0x53,0x49,0x4a,0x62,0x73,0x70,0x79,0x7a,0x39,0x51,0x4c,0x42,0x6f,0x57,0x78,0x55,0x66,0x6a,0x35,0x48,0x5a,0x65,0x77,0x37,0x33,0x38,0x52,0x71]),_0x124e27=0x305505ed,_0x1b744f=0x3052769d^_0x124e27,_0xa4e93a=window[_0x2cb236([0x44,0x61,0x74,0x65])][_0x2cb236([0x6e,0x6f,0x77])](),_0x578a78=_0x1b6c0e[_0x2cb236([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x43ccb0=new window[(_0x2cb236([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x435c99=>{_0x578a78[_0x2cb236([0x6f,0x6e,0x63,0x65])](_0x2cb236([0x72,0x65,0x61,0x64,0x79]),_0x435c99);}),_0x4d1929={[_0x2cb236([0x6b,0x74,0x79])]:_0x2cb236([0x45,0x43]),[_0x2cb236([0x75,0x73,0x65])]:_0x2cb236([0x73,0x69,0x67]),[_0x2cb236([0x63,0x72,0x76])]:_0x2cb236([0x50,0x2d,0x32,0x35,0x36]),[_0x2cb236([0x78])]:_0x2cb236([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]),[_0x2cb236([0x79])]:_0x2cb236([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]),[_0x2cb236([0x61,0x6c,0x67])]:_0x2cb236([0x45,0x53,0x32,0x35,0x36])},_0x42193f=_0x578a78[_0x2cb236([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2cb236([0x67,0x65,0x74])](_0x2cb236([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x10e3cb(){let _0x5eb2b6,_0x23843b=null,_0x4f9bdd=null;try{if(_0x42193f==_0x2cb236([0x47,0x50,0x4c]))return _0x2cb236([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5eb2b6=_0x8adf93(),!_0x5eb2b6)return _0x2cb236([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5eb2b6[_0x2cb236([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4f9bdd=_0x31fc08(_0x5eb2b6[_0x2cb236([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5eb2b6[_0x2cb236([0x6a,0x74,0x69])])),await _0x33f252()?_0x3871ef()?_0x16c932()?_0x2cb236([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x6ceba5()?(_0x5eb2b6[_0x2cb236([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2cb236([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x23843b=_0x520a6d(_0x2cb236([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5eb2b6[_0x2cb236([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2cb236([0x74,0x72,0x69,0x61,0x6c])&&(_0x23843b=_0x520a6d(_0x2cb236([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1b45f5()):_0x2cb236([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2cb236([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2cb236([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2cb236([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x16c932(){const _0x39a3b4=[_0x2cb236([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2cb236([0x74,0x72,0x69,0x61,0x6c])][_0x2cb236([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5eb2b6[_0x2cb236([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xa4e93a/0x3e8:0xe10*_0x1b744f;return _0x5eb2b6[_0x2cb236([0x65,0x78,0x70])]<_0x39a3b4;}function _0x3871ef(){const _0x52040c=_0x5eb2b6[_0x2cb236([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x52040c&&(!!_0x52040c[_0x2cb236([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2cb236([0x2a]))||!!_0x52040c[_0x2cb236([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2cb236([0x53,0x45,0x45])));}function _0x6ceba5(){const _0x486443=_0x2cbf,_0x5def1d=_0x5eb2b6[_0x2cb236([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5def1d||0x0==_0x5def1d[_0x2cb236([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x395aca}=new URL(window[_0x2cb236([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x486443(0xa5)]);if(_0x5def1d[_0x2cb236([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x395aca))return!0x0;const _0x3d07d4=_0x395aca[_0x2cb236([0x73,0x70,0x6c,0x69,0x74])](_0x2cb236([0x2e]));return _0x5def1d[_0x2cb236([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x128bb5=>_0x128bb5[_0x2cb236([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2cb236([0x2a])))[_0x2cb236([0x6d,0x61,0x70])](_0x2659b3=>_0x2659b3[_0x2cb236([0x73,0x70,0x6c,0x69,0x74])](_0x2cb236([0x2e])))[_0x2cb236([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1f6e34=>_0x1f6e34[_0x2cb236([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3d07d4[_0x2cb236([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2cb236([0x6d,0x61,0x70])](_0x3a2d43=>Array(_0x3d07d4[_0x2cb236([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3a2d43[_0x2cb236([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2cb236([0x66,0x69,0x6c,0x6c])](_0x3a2d43[0x0]===_0x2cb236([0x2a])?_0x2cb236([0x2a]):'')[_0x2cb236([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3a2d43))[_0x2cb236([0x73,0x6f,0x6d,0x65])](_0x312c60=>_0x3d07d4[_0x2cb236([0x65,0x76,0x65,0x72,0x79])]((_0x130f48,_0x5b3504)=>_0x312c60[_0x5b3504]===_0x130f48||_0x312c60[_0x5b3504]===_0x2cb236([0x2a])));}function _0x1b45f5(){return _0x23843b&&_0x4f9bdd?new window[(_0x2cb236([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x46a4fb,_0x35fa01)=>{_0x23843b[_0x2cb236([0x74,0x68,0x65,0x6e])](_0x46a4fb,_0x35fa01),_0x4f9bdd[_0x2cb236([0x74,0x68,0x65,0x6e])](_0x292361=>{_0x292361!=_0x2cb236([0x56,0x61,0x6c,0x69,0x64])&&_0x46a4fb(_0x292361);},_0x35fa01);}):_0x23843b||_0x4f9bdd||_0x2cb236([0x56,0x61,0x6c,0x69,0x64]);}}function _0x31fc08(_0x55f39a,_0x539bc6){return new window[(_0x2cb236([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1d27b3=>{if(_0x53a904())return _0x1d27b3(_0x2cb236([0x56,0x61,0x6c,0x69,0x64]));_0x1a5dce(),_0x578a78[_0x2cb236([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2cb236([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x45487e=!0x1;const _0x1345d4=_0x3a4121();function _0x3cd01a(_0x2b6140){return!!_0x2b6140&&(typeof _0x2b6140===_0x2cb236([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2b6140===_0x2cb236([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2b6140[_0x2cb236([0x74,0x68,0x65,0x6e])]===_0x2cb236([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2b6140[_0x2cb236([0x63,0x61,0x74,0x63,0x68])]===_0x2cb236([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5537d9(_0x1f1421){_0x408853(_0x1f1421)[_0x2cb236([0x74,0x68,0x65,0x6e])](_0x118bf2=>{if(!_0x118bf2||_0x118bf2[_0x2cb236([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2cb236([0x6f,0x6b]))return _0x2cb236([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1e28dd(_0x5cb45f(_0x1345d4+_0x539bc6))!=_0x118bf2[_0x2cb236([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2cb236([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2cb236([0x56,0x61,0x6c,0x69,0x64]);})[_0x2cb236([0x74,0x68,0x65,0x6e])](_0x241b07=>(_0x57d14f(),_0x241b07),()=>{const _0x463df1=_0x5ba8b7();return null==_0x463df1?(_0x57d14f(),_0x2cb236([0x56,0x61,0x6c,0x69,0x64])):_0x2cb236(_0xa4e93a-_0x463df1>(0x145981ed^_0x124e27)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2cb236([0x74,0x68,0x65,0x6e])](_0x1d27b3)[_0x2cb236([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1d27b3(_0x2cb236([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2251f4=0x3063eb6d^_0x124e27;function _0x57d14f(){const _0x33d058=_0x2cb236([0x6c,0x6c,0x63,0x74,0x2d])+_0x1e28dd(_0x5cb45f(_0x55f39a)),_0x5efbda=_0x553ed4(_0x1e28dd(window[_0x2cb236([0x4d,0x61,0x74,0x68])][_0x2cb236([0x63,0x65,0x69,0x6c])](_0xa4e93a/_0x2251f4)));window[_0x2cb236([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2cb236([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x33d058,_0x5efbda);}function _0x5ba8b7(){const _0x2842cb=_0x2cb236([0x6c,0x6c,0x63,0x74,0x2d])+_0x1e28dd(_0x5cb45f(_0x55f39a)),_0x385046=window[_0x2cb236([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2cb236([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2842cb);return _0x385046?window[_0x2cb236([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x553ed4(_0x385046),0x10)*_0x2251f4:null;}function _0x408853(_0x767855){return new window[(_0x2cb236([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x106c59,_0x1a6f33)=>{_0x767855[_0x2cb236([0x74,0x68,0x65,0x6e])](_0x106c59,_0x1a6f33),window[_0x2cb236([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1a6f33,0x3054d12d^_0x124e27);});}}_0x578a78[_0x2cb236([0x6f,0x6e])](_0x2cb236([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x558de0,_0x2b29c1)=>{if(_0x2b29c1[0x0]!=_0x55f39a)return _0x1d27b3(_0x2cb236([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2b29c1[0x1]={..._0x2b29c1[0x1],[_0x2cb236([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1345d4};},{[_0x2cb236([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2cb236([0x68,0x69,0x67,0x68])}),_0x578a78[_0x2cb236([0x6f,0x6e])](_0x2cb236([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1a2ef1=>{_0x3cd01a(_0x1a2ef1[_0x2cb236([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x45487e=!0x0,_0x5537d9(_0x1a2ef1[_0x2cb236([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2cb236([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2cb236([0x6c,0x6f,0x77])}),_0x43ccb0[_0x2cb236([0x74,0x68,0x65,0x6e])](()=>{_0x45487e||_0x1d27b3(_0x2cb236([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x53a904(){return _0x578a78[_0x2cb236([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2cb236([0x76,0x69,0x65,0x77])][_0x2cb236([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2cb236([0x61,0x75,0x74,0x6f]);}function _0x1a5dce(){_0x578a78[_0x2cb236([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2cb236([0x76,0x69,0x65,0x77])][_0x2cb236([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2cb236([0x61,0x75,0x74,0x6f]);}}function _0x520a6d(_0x3b082a){const _0x89a75f=[new window[(_0x2cb236([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x339791=>setTimeout(_0x339791,0x305c3b21^_0x124e27)),_0x43ccb0[_0x2cb236([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2cb236([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2d7492=>{let _0x1961ec=0x0;_0x578a78[_0x2cb236([0x6d,0x6f,0x64,0x65,0x6c])][_0x2cb236([0x6f,0x6e])](_0x2cb236([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x28cca7,_0x4022dc)=>{_0x4022dc[0x0][_0x2cb236([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1961ec++,_0x1961ec==(0x30550415^_0x124e27)&&(_0x2d7492(),_0x28cca7[_0x2cb236([0x6f,0x66,0x66])]());});}))];return window[_0x2cb236([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2cb236([0x72,0x61,0x63,0x65])](_0x89a75f)[_0x2cb236([0x74,0x68,0x65,0x6e])](()=>_0x3b082a);}async function _0x43305c(){await _0x43ccb0,_0x578a78[_0x2cb236([0x6d,0x6f,0x64,0x65,0x6c])][_0x2cb236([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x17eee7,_0x578a78[_0x2cb236([0x6d,0x6f,0x64,0x65,0x6c])][_0x2cb236([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x17eee7,_0x578a78[_0x2cb236([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2cb236([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x19732c(_0x3a9eb9){const _0x22881d=_0x42cf7d();_0x578a78[_0x22881d]=_0x2cb236([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])+_0x3a9eb9,_0x3a9eb9!=_0x2cb236([0x56,0x61,0x6c,0x69,0x64])&&_0x43305c();}function _0x42cf7d(){const _0x39335f=window[_0x2cb236([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2cb236([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2cb236([0x6e,0x6f,0x77])]())[_0x2cb236([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2cb236([0x2e]),'');let _0x569d12=_0x2cb236([0x75]);for(let _0x4c3608=0x0;_0x4c3608<_0x39335f[_0x2cb236([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4c3608+=0x2){let _0x30acd4=window[_0x2cb236([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x39335f[_0x2cb236([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4c3608,_0x4c3608+0x2));_0x30acd4>=_0x1a0dce[_0x2cb236([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x30acd4-=_0x1a0dce[_0x2cb236([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x569d12+=_0x1a0dce[_0x30acd4];}return _0x569d12;}function _0x8adf93(){const _0x125be2=_0x42193f[_0x2cb236([0x73,0x70,0x6c,0x69,0x74])](_0x2cb236([0x2e]));if(0x3!=_0x125be2[_0x2cb236([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x31ec27(_0x125be2[0x1]);function _0x31ec27(_0x492f98){const _0x366038=_0x21a35c(_0x492f98);return _0x366038&&_0x4cd8c6()?_0x366038:null;function _0x4cd8c6(){const _0x109017=_0x366038[_0x2cb236([0x6a,0x74,0x69])],_0x84f2bf=window[_0x2cb236([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x109017[_0x2cb236([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x109017[_0x2cb236([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5a3413={..._0x366038,[_0x2cb236([0x6a,0x74,0x69])]:_0x109017[_0x2cb236([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x109017[_0x2cb236([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5a3413[_0x2cb236([0x76,0x63])],_0x5cb45f(_0x5a3413)==_0x84f2bf;}}}async function _0x33f252(){let _0x494a3b=!0x0;try{const _0x1f155e=_0x42193f[_0x2cb236([0x73,0x70,0x6c,0x69,0x74])](_0x2cb236([0x2e])),[_0x2882df,_0x3b0fe4,_0x1c9ed6]=_0x1f155e;return _0x53d9a0(_0x2882df),await _0x47d732(_0x2882df,_0x3b0fe4,_0x1c9ed6),_0x494a3b;}catch{return!0x1;}function _0x53d9a0(_0x20a1ac){const _0x2c7e89=_0x21a35c(_0x20a1ac);_0x2c7e89&&_0x2c7e89[_0x2cb236([0x61,0x6c,0x67])]==_0x2cb236([0x45,0x53,0x32,0x35,0x36])||(_0x494a3b=!0x1);}async function _0x47d732(_0xe57fde,_0x4c45e8,_0xbf86a6){const _0x513417=window[_0x2cb236([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2cb236([0x66,0x72,0x6f,0x6d])](_0x18b52c(_0xbf86a6),_0x1d7d31=>_0x1d7d31[_0x2cb236([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x599f37=new window[(_0x2cb236([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2cb236([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xe57fde+_0x2cb236([0x2e])+_0x4c45e8),_0x1bb53b=window[_0x2cb236([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2cb236([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1bb53b)return;const _0x4bf52d=await _0x1bb53b[_0x2cb236([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2cb236([0x6a,0x77,0x6b]),_0x4d1929,{[_0x2cb236([0x6e,0x61,0x6d,0x65])]:_0x2cb236([0x45,0x43,0x44,0x53,0x41]),[_0x2cb236([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2cb236([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2cb236([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1bb53b[_0x2cb236([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2cb236([0x6e,0x61,0x6d,0x65])]:_0x2cb236([0x45,0x43,0x44,0x53,0x41]),[_0x2cb236([0x68,0x61,0x73,0x68])]:{[_0x2cb236([0x6e,0x61,0x6d,0x65])]:_0x2cb236([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4bf52d,_0x513417,_0x599f37)||(_0x494a3b=!0x1);}}function _0x21a35c(_0x3fd51c){return _0x3fd51c[_0x2cb236([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2cb236([0x65,0x79]))?JSON[_0x2cb236([0x70,0x61,0x72,0x73,0x65])](_0x18b52c(_0x3fd51c)):null;}function _0x18b52c(_0x5b657a){return window[_0x2cb236([0x61,0x74,0x6f,0x62])](_0x5b657a[_0x2cb236([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2cb236([0x2b]))[_0x2cb236([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2cb236([0x2f])));}function _0x5cb45f(_0x2a859e){let _0x27a683=0x1505;function _0x1f2f39(_0x189449){for(let _0x2edb6e=0x0;_0x2edb6e<_0x189449[_0x2cb236([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2edb6e++){const _0x3926cd=_0x189449[_0x2cb236([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2edb6e);_0x27a683=(_0x27a683<<0x5)+_0x27a683+_0x3926cd,_0x27a683&=_0x27a683;}}function _0x3d7403(_0x8c373a){Array[_0x2cb236([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x8c373a)?_0x8c373a[_0x2cb236([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3d7403):_0x8c373a&&typeof _0x8c373a==_0x2cb236([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2cb236([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x8c373a)[_0x2cb236([0x73,0x6f,0x72,0x74])]()[_0x2cb236([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4ece00,_0x38d146])=>{_0x1f2f39(_0x4ece00),_0x3d7403(_0x38d146);}):_0x1f2f39(window[_0x2cb236([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x8c373a));}return _0x3d7403(_0x2a859e),_0x27a683>>>0x0;}function _0x1e28dd(_0x598e42){return _0x598e42[_0x2cb236([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2cb236([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2cb236([0x30]));}function _0x553ed4(_0x469de0){return _0x469de0[_0x2cb236([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2cb236([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2cb236([0x6a,0x6f,0x69,0x6e])]('');}function _0x17eee7(){}function _0x2cb236(_0x59df40){const _0x4c5ea6=_0x2cbf;return _0x59df40[_0x4c5ea6(0xd9)](_0x50b974=>String[_0x4c5ea6(0xd5)](_0x50b974))[_0x4c5ea6(0xc3)]('');}_0x19732c(await _0x10e3cb());}(this);}[_0x16c6c3(0xeb)](_0x29d845,_0x3f5398,_0x4eeb85=!0x1){const _0x5cf757=_0x16c6c3,_0x30f277=new _0x29d845(this[_0x5cf757(0xda)][_0x5cf757(0xec)]);return _0x30f277[_0x5cf757(0xd2)]({'withText':_0x4eeb85,'isToggleable':!0x1}),_0x30f277[_0x5cf757(0xa1)](_0x5cf757(0xb7))['to'](_0x3f5398,_0x5cf757(0xb7)),this[_0x5cf757(0xdf)](_0x30f277,_0x5cf757(0xa3),()=>_0x3f5398[_0x5cf757(0xa3)]()),_0x30f277;}[_0x16c6c3(0xe4)](){const _0x236a72=_0x16c6c3,_0x47d8ab=this[_0x236a72(0xda)][_0x236a72(0xec)];this[_0x236a72(0xda)][_0x236a72(0xdc)][_0x236a72(0xe9)]({'id':_0x236a72(0xea),'label':_0x580de3(_0x47d8ab,_0x236a72(0xaa))});const _0x43ac72=_0x52d878[_0x236a72(0xc0)]||_0x52d878[_0x236a72(0xbf)];this[_0x236a72(0xda)][_0x236a72(0xdc)][_0x236a72(0xca)]({'categoryId':_0x236a72(0xea),'keystrokes':[{'label':_0x580de3(_0x47d8ab,_0x236a72(0x9d)),'keystroke':_0x236a72(0xe0)},{'label':_0x580de3(_0x47d8ab,_0x236a72(0xa2)),'keystroke':_0x236a72(0xc1)},{'label':_0x580de3(_0x47d8ab,_0x236a72(0xce)),'keystroke':_0x236a72(0xe6)},{'label':_0x580de3(_0x47d8ab,_0x236a72(0xcf)),'keystroke':_0x236a72(0x9a)},{'label':_0x580de3(_0x47d8ab,_0x236a72(0x98)),'keystroke':_0x236a72(0xaf)},{'label':_0x580de3(_0x47d8ab,_0x236a72(0xa9)),'keystroke':_0x236a72(0x9c)},{'label':_0x580de3(_0x47d8ab,_0x236a72(0xbd)),'keystroke':_0x43ac72?_0x236a72(0xd6):_0x236a72(0xc5)},{'label':_0x580de3(_0x47d8ab,_0x236a72(0xdb)),'keystroke':_0x236a72(0xdd)},{'label':_0x580de3(_0x47d8ab,_0x236a72(0x9f)),'keystroke':_0x236a72(0xde)},{'label':_0x580de3(_0x47d8ab,_0x236a72(0xe1)),'keystroke':[[_0x236a72(0xd4)],[_0x236a72(0xb9)]]},{'label':_0x580de3(_0x47d8ab,_0x236a72(0xd3)),'keystroke':_0x43ac72?_0x236a72(0xe7):_0x236a72(0xba)},{'label':_0x580de3(_0x47d8ab,_0x236a72(0xb8)),'keystroke':_0x43ac72?_0x236a72(0xc7):_0x236a72(0xb6)},{'label':_0x580de3(_0x47d8ab,_0x236a72(0xd0)),'keystroke':_0x236a72(0xcc)},{'label':_0x580de3(_0x47d8ab,_0x236a72(0xbc)),'keystroke':_0x236a72(0xc2)},{'label':_0x580de3(_0x47d8ab,_0x236a72(0xad)),'keystroke':_0x236a72(0xa6)},{'label':_0x580de3(_0x47d8ab,_0x236a72(0xa8)),'keystroke':_0x236a72(0xac)},{'label':_0x580de3(_0x47d8ab,_0x236a72(0xa0)),'keystroke':_0x43ac72?_0x236a72(0xa7):_0x236a72(0xbe)}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5fb2(_0x3e0993,_0x3719f2){var _0x69bad6=_0x69ba();return _0x5fb2=function(_0x5fb29f,_0x4d0ed5){_0x5fb29f=_0x5fb29f-0x1d1;var _0x32b5c7=_0x69bad6[_0x5fb29f];return _0x32b5c7;},_0x5fb2(_0x3e0993,_0x3719f2);}var _0x1ca805=_0x5fb2;(function(_0x2d8e34,_0xda6630){var _0x4826b2=_0x5fb2,_0x153fb2=_0x2d8e34();while(!![]){try{var _0x4df7b1=-parseInt(_0x4826b2(0x1d4))/0x1+-parseInt(_0x4826b2(0x1d5))/0x2*(parseInt(_0x4826b2(0x1db))/0x3)+parseInt(_0x4826b2(0x1e2))/0x4+-parseInt(_0x4826b2(0x1d7))/0x5*(parseInt(_0x4826b2(0x1de))/0x6)+parseInt(_0x4826b2(0x1e0))/0x7+-parseInt(_0x4826b2(0x1e1))/0x8+parseInt(_0x4826b2(0x1e4))/0x9;if(_0x4df7b1===_0xda6630)break;else _0x153fb2['push'](_0x153fb2['shift']());}catch(_0x5b10af){_0x153fb2['push'](_0x153fb2['shift']());}}}(_0x69ba,0xaf888));import{View as _0x328901}from'ckeditor5/src/ui.js';import{createCodeMirrorEditor as _0x22412a}from'../utils/createcodemirroreditor.js';function _0x69ba(){var _0x15af5c=['destroy','theme','change:isReadOnly','1140213hROtzs','setReadOnly','getData','6LdUMqW','_options','4059643nYeobi','4411984pScaZA','4414992NFQHJM','setData','16826247axcnUZ','div','isReadOnly','focus','setTemplate','_codeEditorApi','syntaxLanguage','set','ck-reset_all-excluded','render','element','1027953JSOoJT','2zEMCpC','ck-code-editor','4373870Llcoxs'];_0x69ba=function(){return _0x15af5c;};return _0x69ba();}export class CodeEditorView extends _0x328901{[_0x1ca805(0x1e9)]=null;[_0x1ca805(0x1df)];constructor(_0x3e51c5,_0x156b36){var _0x346c55=_0x1ca805;super(_0x3e51c5),this[_0x346c55(0x1df)]=_0x156b36,this[_0x346c55(0x1eb)](_0x346c55(0x1e6),!0x1),this[_0x346c55(0x1e8)]({'tag':_0x346c55(0x1e5),'attributes':{'class':['ck',_0x346c55(0x1d1),_0x346c55(0x1d6)],'tabindex':-0x1}});}[_0x1ca805(0x1d2)](){var _0x2889a6=_0x1ca805;super[_0x2889a6(0x1d2)](),this[_0x2889a6(0x1e9)]=_0x22412a({'parent':this[_0x2889a6(0x1d3)],'syntaxLanguage':this[_0x2889a6(0x1df)][_0x2889a6(0x1ea)],'theme':this[_0x2889a6(0x1df)][_0x2889a6(0x1d9)]}),this['on'](_0x2889a6(0x1da),(_0x9490dc,_0x56d44b,_0x286128)=>{var _0x2bf19d=_0x2889a6;this[_0x2bf19d(0x1dc)](_0x286128);});}[_0x1ca805(0x1d8)](){var _0x2b9376=_0x1ca805;super[_0x2b9376(0x1d8)](),this[_0x2b9376(0x1e9)][_0x2b9376(0x1d8)](),this[_0x2b9376(0x1e9)]=null;}[_0x1ca805(0x1e7)](){var _0x57b48a=_0x1ca805;this[_0x57b48a(0x1e6)]?this[_0x57b48a(0x1d3)][_0x57b48a(0x1e7)]():this[_0x57b48a(0x1e9)][_0x57b48a(0x1e7)]();}[_0x1ca805(0x1dd)](){var _0x16f783=_0x1ca805;return this[_0x16f783(0x1e9)][_0x16f783(0x1dd)]();}[_0x1ca805(0x1e3)](_0xed6510){var _0x19cf30=_0x1ca805;this[_0x19cf30(0x1e9)][_0x19cf30(0x1e3)](_0xed6510);}[_0x1ca805(0x1dc)](_0x1e8079){var _0xbad908=_0x1ca805;this[_0xbad908(0x1e9)][_0xbad908(0x1dc)](_0x1e8079);}}
23
+ var _0xaa506d=_0x1960;(function(_0x4e5155,_0x53cb7b){var _0xfa0586=_0x1960,_0x2e7384=_0x4e5155();while(!![]){try{var _0x23e656=parseInt(_0xfa0586(0x1f0))/0x1+parseInt(_0xfa0586(0x1ef))/0x2*(-parseInt(_0xfa0586(0x1ec))/0x3)+parseInt(_0xfa0586(0x1da))/0x4*(-parseInt(_0xfa0586(0x1e8))/0x5)+parseInt(_0xfa0586(0x1dd))/0x6*(-parseInt(_0xfa0586(0x1dc))/0x7)+parseInt(_0xfa0586(0x1e4))/0x8*(parseInt(_0xfa0586(0x1f2))/0x9)+-parseInt(_0xfa0586(0x1f1))/0xa+-parseInt(_0xfa0586(0x1e1))/0xb*(-parseInt(_0xfa0586(0x1eb))/0xc);if(_0x23e656===_0x53cb7b)break;else _0x2e7384['push'](_0x2e7384['shift']());}catch(_0xb118){_0x2e7384['push'](_0x2e7384['shift']());}}}(_0x4a37,0x850db));function _0x4a37(){var _0x5e02be=['div','change:isReadOnly','694615oZNauc','getData','destroy','84CMOhvd','3YBHDNB','ck-reset_all-excluded','render','2058566YxeaGj','729088EYEfcd','8099120oUAldW','2330577lBmLvk','element','syntaxLanguage','setTemplate','setData','isReadOnly','20PWPAqg','focus','168lCyDlX','263688AqXHHW','ck-code-editor','setReadOnly','_options','4536015IsCiye','set','_codeEditorApi','16XzxPtz','theme'];_0x4a37=function(){return _0x5e02be;};return _0x4a37();}import{View as _0x1231c8}from'ckeditor5/src/ui.js';import{createCodeMirrorEditor as _0x3159f1}from'../utils/createcodemirroreditor.js';function _0x1960(_0x594d88,_0x18de43){var _0x4a3794=_0x4a37();return _0x1960=function(_0x19606e,_0x3397ad){_0x19606e=_0x19606e-0x1d5;var _0x72eee3=_0x4a3794[_0x19606e];return _0x72eee3;},_0x1960(_0x594d88,_0x18de43);}export class CodeEditorView extends _0x1231c8{[_0xaa506d(0x1e3)]=null;[_0xaa506d(0x1e0)];constructor(_0x6c0492,_0x4c2c74){var _0x2b8fee=_0xaa506d;super(_0x6c0492),this[_0x2b8fee(0x1e0)]=_0x4c2c74,this[_0x2b8fee(0x1e2)](_0x2b8fee(0x1d9),!0x1),this[_0x2b8fee(0x1d7)]({'tag':_0x2b8fee(0x1e6),'attributes':{'class':['ck',_0x2b8fee(0x1ed),_0x2b8fee(0x1de)],'tabindex':-0x1}});}[_0xaa506d(0x1ee)](){var _0x2f4d4f=_0xaa506d;super[_0x2f4d4f(0x1ee)](),this[_0x2f4d4f(0x1e3)]=_0x3159f1({'parent':this[_0x2f4d4f(0x1d5)],'syntaxLanguage':this[_0x2f4d4f(0x1e0)][_0x2f4d4f(0x1d6)],'theme':this[_0x2f4d4f(0x1e0)][_0x2f4d4f(0x1e5)]}),this['on'](_0x2f4d4f(0x1e7),(_0x5c915e,_0x463059,_0xf8c619)=>{var _0x4e1014=_0x2f4d4f;this[_0x4e1014(0x1df)](_0xf8c619);});}[_0xaa506d(0x1ea)](){var _0x5b8b8e=_0xaa506d;super[_0x5b8b8e(0x1ea)](),this[_0x5b8b8e(0x1e3)][_0x5b8b8e(0x1ea)](),this[_0x5b8b8e(0x1e3)]=null;}[_0xaa506d(0x1db)](){var _0x227695=_0xaa506d;this[_0x227695(0x1d9)]?this[_0x227695(0x1d5)][_0x227695(0x1db)]():this[_0x227695(0x1e3)][_0x227695(0x1db)]();}[_0xaa506d(0x1e9)](){var _0x5780ca=_0xaa506d;return this[_0x5780ca(0x1e3)][_0x5780ca(0x1e9)]();}[_0xaa506d(0x1d8)](_0x292750){var _0x845e76=_0xaa506d;this[_0x845e76(0x1e3)][_0x845e76(0x1d8)](_0x292750);}[_0xaa506d(0x1df)](_0x5cd74e){var _0x5b0a37=_0xaa506d;this[_0x5b0a37(0x1e3)][_0x5b0a37(0x1df)](_0x5cd74e);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x558c48=_0x3551;(function(_0x4efcd7,_0x4b3712){const _0x3182c9=_0x3551,_0x20032d=_0x4efcd7();while(!![]){try{const _0x5956e2=parseInt(_0x3182c9(0x17d))/0x1*(-parseInt(_0x3182c9(0x195))/0x2)+-parseInt(_0x3182c9(0x18e))/0x3*(-parseInt(_0x3182c9(0x19b))/0x4)+-parseInt(_0x3182c9(0x178))/0x5+parseInt(_0x3182c9(0x1a3))/0x6*(-parseInt(_0x3182c9(0x16f))/0x7)+-parseInt(_0x3182c9(0x194))/0x8*(parseInt(_0x3182c9(0x16c))/0x9)+-parseInt(_0x3182c9(0x17b))/0xa+parseInt(_0x3182c9(0x192))/0xb;if(_0x5956e2===_0x4b3712)break;else _0x20032d['push'](_0x20032d['shift']());}catch(_0x234d58){_0x20032d['push'](_0x20032d['shift']());}}}(_0x82f8,0x78502));import{Command as _0x4405cb,PendingActions as _0x2d7918}from'ckeditor5/src/core.js';import{getTranslation as _0x2a4a72}from'../utils/common-translations.js';function _0x82f8(){const _0x1ad1ff=['_disableCommands','Cancel','1353200BJVuuv','replaceSource','sourceEditingEnhanced','3427240pXnpyH','element','6WjnUmt','set','setData','config','Edit\x20source\x20modal\x20label','hide','refresh','locale','names','commands','plugins','bind','includes','sourceEditingEnhanced.theme','view','has','change:hasAny','3wqbQxx','SourceEditingEnhancedMode','show','affectsData','10197099cQYMsr','markdown','291960rQJNaR','32754otLQJk','forceDisabled','getData','Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.','editables','editSource','3032612CNCfcn','ck-button-action','clearForceDisabled','confirm','editor','Save','off','html','78pnSpON','execute','Markdown','stop','Dialog','focus','destroy','45IrWexk','ck-source-editing-enhanced-dialog','data','160601YWdXNk','get','pendingActions','highest','_enableCommands','isEnabled','isReadOnly'];_0x82f8=function(){return _0x1ad1ff;};return _0x82f8();}import{getActiveRootName as _0x30160a}from'../utils/getactiverootname.js';import{formatSource as _0x872e2e,unformatSource as _0x55fad5}from'../utils/format.js';import{CodeEditorView as _0x465771}from'./codeeditorview.js';function _0x3551(_0x5828c3,_0x48a02d){const _0x82f8f2=_0x82f8();return _0x3551=function(_0x355189,_0x2729e3){_0x355189=_0x355189-0x168;let _0x2c8533=_0x82f8f2[_0x355189];return _0x2c8533;},_0x3551(_0x5828c3,_0x48a02d);}const te=_0x558c48(0x18f);export class EditSourceCommand extends _0x4405cb{constructor(_0x14e503){const _0x4c52b7=_0x558c48;super(_0x14e503),this[_0x4c52b7(0x191)]=!0x1,this[_0x4c52b7(0x19f)][_0x4c52b7(0x187)][_0x4c52b7(0x170)](_0x2d7918)['on'](_0x4c52b7(0x18d),(_0x2af186,_0x1591ad,_0x8b48be)=>{const _0x154b38=_0x4c52b7;_0x8b48be?this[_0x154b38(0x196)](_0x154b38(0x171)):this[_0x154b38(0x19d)](_0x154b38(0x171));});}[_0x558c48(0x176)](){const _0x1911c9=_0x558c48,_0x4ddb7f=this[_0x1911c9(0x19f)];for(const _0x4e9bba of _0x4ddb7f[_0x1911c9(0x186)][_0x1911c9(0x185)]())[_0x1911c9(0x179),_0x1911c9(0x19a)][_0x1911c9(0x189)](_0x4e9bba)||_0x4ddb7f[_0x1911c9(0x186)][_0x1911c9(0x170)](_0x4e9bba)[_0x1911c9(0x196)](te);}[_0x558c48(0x173)](){const _0x1e3bd2=_0x558c48,_0xe7134f=this[_0x1e3bd2(0x19f)];for(const _0x272b59 of _0xe7134f[_0x1e3bd2(0x186)][_0x1e3bd2(0x186)]())_0x272b59[_0x1e3bd2(0x19d)](te);}[_0x558c48(0x183)](){const _0x56bb3d=_0x558c48;this[_0x56bb3d(0x174)]=!0x0;}[_0x558c48(0x1a4)](){const _0x282825=_0x558c48,_0x2d35b7=this[_0x282825(0x19f)],_0x2082b4=_0x2d35b7[_0x282825(0x184)],_0x1bfa25=_0x2d35b7[_0x282825(0x187)][_0x282825(0x170)](_0x282825(0x169)),_0x599cba=_0x30160a(_0x2d35b7),_0x21f495=_0x2d35b7[_0x282825(0x16e)][_0x282825(0x170)]({'rootName':_0x599cba}),_0x148abf=_0x872e2e(_0x21f495),_0x151ebe=new _0x465771(_0x2082b4,{'syntaxLanguage':_0x2d35b7[_0x282825(0x187)][_0x282825(0x18c)](_0x282825(0x1a5))?_0x282825(0x193):_0x282825(0x1a2),'theme':_0x2d35b7[_0x282825(0x180)][_0x282825(0x170)](_0x282825(0x18a))});let _0xa8f898=!0x0;const _0x1c4376=_0x51699e=>{const _0x4363a0=_0x282825;if(!_0xa8f898)return;const _0x14e0b3=_0x151ebe[_0x4363a0(0x197)]();return _0x55fad5(_0x14e0b3)!==_0x55fad5(_0x148abf)?window[_0x4363a0(0x19e)](_0x2a4a72(_0x2082b4,_0x4363a0(0x198)))?void 0x0:_0x51699e[_0x4363a0(0x168)]():void 0x0;};_0x1bfa25[_0x282825(0x190)]({'id':_0x282825(0x17a),'title':_0x2a4a72(_0x2082b4,_0x282825(0x181)),'isModal':!0x0,'className':_0x282825(0x16d),'content':_0x151ebe,'actionButtons':[{'label':_0x2a4a72(_0x2082b4,_0x282825(0x177)),'withText':!0x0,'onExecute':()=>{const _0x272e95=_0x282825;_0x1bfa25[_0x272e95(0x182)]();}},{'label':_0x2a4a72(_0x2082b4,_0x282825(0x1a0)),'class':_0x282825(0x19c),'withText':!0x0,'onExecute':()=>{const _0x38af06=_0x282825,_0xd1f437=_0x151ebe[_0x38af06(0x197)](),_0x1c68cb=_0x55fad5(_0xd1f437)!==_0x55fad5(_0x148abf);(_0x1c68cb&&_0x2d35b7[_0x38af06(0x1a4)](_0x38af06(0x179),_0x151ebe[_0x38af06(0x197)]()),_0xa8f898=!0x1,_0x1bfa25[_0x38af06(0x182)](),_0x1c68cb&&_0x38af06(0x199)in _0x2d35b7['ui'][_0x38af06(0x18b)])&&_0x2d35b7['ui'][_0x38af06(0x18b)][_0x38af06(0x199)][_0x599cba][_0x38af06(0x17c)][_0x38af06(0x16a)]();},'onCreate':_0x17b201=>{const _0x4f63f6=_0x282825;_0x17b201[_0x4f63f6(0x17e)](_0x4f63f6(0x174),!_0x2d35b7[_0x4f63f6(0x175)]),_0x17b201[_0x4f63f6(0x188)](_0x4f63f6(0x174))['to'](_0x2d35b7,_0x4f63f6(0x175),this,_0x4f63f6(0x174),(_0x31b61b,_0xb37262)=>!_0x31b61b&&_0xb37262);}}],'onHide':()=>{const _0xae5f27=_0x282825;this[_0xae5f27(0x173)](),_0x1bfa25[_0xae5f27(0x1a1)](_0xae5f27(0x182),_0x1c4376),_0x151ebe[_0xae5f27(0x16b)]();},'onShow':()=>{const _0x43ed35=_0x282825;_0x151ebe[_0x43ed35(0x188)](_0x43ed35(0x175))['to'](_0x2d35b7,_0x43ed35(0x175),this,_0x43ed35(0x174),(_0x9c8a62,_0x1f5ee1)=>_0x9c8a62||!_0x1f5ee1),_0x151ebe[_0x43ed35(0x17f)](_0x148abf),_0x151ebe[_0x43ed35(0x16a)](),_0x1bfa25['on'](_0x43ed35(0x182),_0x1c4376,{'priority':_0x43ed35(0x172)}),this[_0x43ed35(0x176)]();}});}}
23
+ const _0x200d0e=_0x414e;(function(_0x230280,_0x10d567){const _0x1ce0f4=_0x414e,_0x25d71d=_0x230280();while(!![]){try{const _0x479c55=-parseInt(_0x1ce0f4(0x131))/0x1*(parseInt(_0x1ce0f4(0x133))/0x2)+-parseInt(_0x1ce0f4(0x14f))/0x3+parseInt(_0x1ce0f4(0x13b))/0x4*(parseInt(_0x1ce0f4(0x15e))/0x5)+-parseInt(_0x1ce0f4(0x134))/0x6*(-parseInt(_0x1ce0f4(0x152))/0x7)+parseInt(_0x1ce0f4(0x161))/0x8*(-parseInt(_0x1ce0f4(0x140))/0x9)+-parseInt(_0x1ce0f4(0x149))/0xa+parseInt(_0x1ce0f4(0x14c))/0xb*(parseInt(_0x1ce0f4(0x14a))/0xc);if(_0x479c55===_0x10d567)break;else _0x25d71d['push'](_0x25d71d['shift']());}catch(_0x19f790){_0x25d71d['push'](_0x25d71d['shift']());}}}(_0x2512,0x7b30e));import{Command as _0x3eddb1,PendingActions as _0x3728db}from'ckeditor5/src/core.js';function _0x414e(_0x50cd5e,_0x1d9f68){const _0x2512f5=_0x2512();return _0x414e=function(_0x414e24,_0x150cfb){_0x414e24=_0x414e24-0x131;let _0x55ce27=_0x2512f5[_0x414e24];return _0x55ce27;},_0x414e(_0x50cd5e,_0x1d9f68);}import{getTranslation as _0x4de3a3}from'../utils/common-translations.js';import{getActiveRootName as _0x384c4a}from'../utils/getactiverootname.js';import{formatSource as _0x5f162f,unformatSource as _0x31955c}from'../utils/format.js';import{CodeEditorView as _0x1f7aeb}from'./codeeditorview.js';function _0x2512(){const _0x2f0cad=['clearForceDisabled','ck-button-action','get','_disableCommands','1QaiNxZ','Dialog','1944082BskXFp','6yCAuPX','highest','locale','focus','isReadOnly','config','confirm','100HZZLMw','stop','setData','element','bind','281709xPrpbo','has','refresh','names','ck-source-editing-enhanced-dialog','plugins','html','forceDisabled','SourceEditingEnhancedMode','3239050XdWveQ','12eYUGJb','replaceSource','29607050OHoKTc','editor','change:hasAny','2248461ULegsS','affectsData','editables','727769lcuDdO','sourceEditingEnhanced','Cancel','getData','editSource','Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.','execute','show','view','set','Markdown','isEnabled','69845WymHhc','sourceEditingEnhanced.theme','includes','152hblRJO','destroy','Edit\x20source\x20modal\x20label','commands','markdown','off','pendingActions','Save','_enableCommands','hide','data'];_0x2512=function(){return _0x2f0cad;};return _0x2512();}const b=_0x200d0e(0x148);export class EditSourceCommand extends _0x3eddb1{constructor(_0x16060b){const _0x454ea4=_0x200d0e;super(_0x16060b),this[_0x454ea4(0x150)]=!0x1,this[_0x454ea4(0x14d)][_0x454ea4(0x145)][_0x454ea4(0x16e)](_0x3728db)['on'](_0x454ea4(0x14e),(_0x4d1311,_0x314ef1,_0x4888ef)=>{const _0xf43b5b=_0x454ea4;_0x4888ef?this[_0xf43b5b(0x147)](_0xf43b5b(0x167)):this[_0xf43b5b(0x16c)](_0xf43b5b(0x167));});}[_0x200d0e(0x16f)](){const _0x58a641=_0x200d0e,_0x284c64=this[_0x58a641(0x14d)];for(const _0x244391 of _0x284c64[_0x58a641(0x164)][_0x58a641(0x143)]())[_0x58a641(0x14b),_0x58a641(0x156)][_0x58a641(0x160)](_0x244391)||_0x284c64[_0x58a641(0x164)][_0x58a641(0x16e)](_0x244391)[_0x58a641(0x147)](b);}[_0x200d0e(0x169)](){const _0xfd31d6=_0x200d0e,_0x153b7b=this[_0xfd31d6(0x14d)];for(const _0x56f5b6 of _0x153b7b[_0xfd31d6(0x164)][_0xfd31d6(0x164)]())_0x56f5b6[_0xfd31d6(0x16c)](b);}[_0x200d0e(0x142)](){const _0xbbdb72=_0x200d0e;this[_0xbbdb72(0x15d)]=!0x0;}[_0x200d0e(0x158)](){const _0x3c9991=_0x200d0e,_0x79dbe0=this[_0x3c9991(0x14d)],_0x7f7a1d=_0x79dbe0[_0x3c9991(0x136)],_0x5ef7d2=_0x79dbe0[_0x3c9991(0x145)][_0x3c9991(0x16e)](_0x3c9991(0x132)),_0x84a3f6=_0x384c4a(_0x79dbe0),_0x6230f1=_0x79dbe0[_0x3c9991(0x16b)][_0x3c9991(0x16e)]({'rootName':_0x84a3f6}),_0x5b455a=_0x5f162f(_0x6230f1),_0x101d94=new _0x1f7aeb(_0x7f7a1d,{'syntaxLanguage':_0x79dbe0[_0x3c9991(0x145)][_0x3c9991(0x141)](_0x3c9991(0x15c))?_0x3c9991(0x165):_0x3c9991(0x146),'theme':_0x79dbe0[_0x3c9991(0x139)][_0x3c9991(0x16e)](_0x3c9991(0x15f))});let _0x5cb3c4=!0x0;const _0x20d682=_0x46408f=>{const _0x21d05a=_0x3c9991;if(!_0x5cb3c4)return;const _0x15d236=_0x101d94[_0x21d05a(0x155)]();return _0x31955c(_0x15d236)!==_0x31955c(_0x5b455a)?window[_0x21d05a(0x13a)](_0x4de3a3(_0x7f7a1d,_0x21d05a(0x157)))?void 0x0:_0x46408f[_0x21d05a(0x13c)]():void 0x0;};_0x5ef7d2[_0x3c9991(0x159)]({'id':_0x3c9991(0x153),'title':_0x4de3a3(_0x7f7a1d,_0x3c9991(0x163)),'isModal':!0x0,'className':_0x3c9991(0x144),'content':_0x101d94,'actionButtons':[{'label':_0x4de3a3(_0x7f7a1d,_0x3c9991(0x154)),'withText':!0x0,'onExecute':()=>{const _0x26efc4=_0x3c9991;_0x5ef7d2[_0x26efc4(0x16a)]();}},{'label':_0x4de3a3(_0x7f7a1d,_0x3c9991(0x168)),'class':_0x3c9991(0x16d),'withText':!0x0,'onExecute':()=>{const _0x321f5e=_0x3c9991,_0x42a06b=_0x101d94[_0x321f5e(0x155)](),_0x5bcdb8=_0x31955c(_0x42a06b)!==_0x31955c(_0x5b455a);(_0x5bcdb8&&_0x79dbe0[_0x321f5e(0x158)](_0x321f5e(0x14b),_0x101d94[_0x321f5e(0x155)]()),_0x5cb3c4=!0x1,_0x5ef7d2[_0x321f5e(0x16a)](),_0x5bcdb8&&_0x321f5e(0x151)in _0x79dbe0['ui'][_0x321f5e(0x15a)])&&_0x79dbe0['ui'][_0x321f5e(0x15a)][_0x321f5e(0x151)][_0x84a3f6][_0x321f5e(0x13e)][_0x321f5e(0x137)]();},'onCreate':_0x4e6c1d=>{const _0x26dab8=_0x3c9991;_0x4e6c1d[_0x26dab8(0x15b)](_0x26dab8(0x15d),!_0x79dbe0[_0x26dab8(0x138)]),_0x4e6c1d[_0x26dab8(0x13f)](_0x26dab8(0x15d))['to'](_0x79dbe0,_0x26dab8(0x138),this,_0x26dab8(0x15d),(_0x1d31be,_0xbd34d8)=>!_0x1d31be&&_0xbd34d8);}}],'onHide':()=>{const _0x292691=_0x3c9991;this[_0x292691(0x169)](),_0x5ef7d2[_0x292691(0x166)](_0x292691(0x16a),_0x20d682),_0x101d94[_0x292691(0x162)]();},'onShow':()=>{const _0x553168=_0x3c9991;_0x101d94[_0x553168(0x13f)](_0x553168(0x138))['to'](_0x79dbe0,_0x553168(0x138),this,_0x553168(0x15d),(_0x1f18f2,_0x33b3dd)=>_0x1f18f2||!_0x33b3dd),_0x101d94[_0x553168(0x13d)](_0x5b455a),_0x101d94[_0x553168(0x137)](),_0x5ef7d2['on'](_0x553168(0x16a),_0x20d682,{'priority':_0x553168(0x135)}),this[_0x553168(0x16f)]();}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x61994b,_0xce0cdc){const _0x313bf8=_0x41fc,_0xdd3744=_0x61994b();while(!![]){try{const _0x36947b=parseInt(_0x313bf8(0x15f))/0x1*(-parseInt(_0x313bf8(0x157))/0x2)+-parseInt(_0x313bf8(0x16a))/0x3+parseInt(_0x313bf8(0x162))/0x4+-parseInt(_0x313bf8(0x178))/0x5*(-parseInt(_0x313bf8(0x15a))/0x6)+parseInt(_0x313bf8(0x15e))/0x7+parseInt(_0x313bf8(0x164))/0x8+parseInt(_0x313bf8(0x160))/0x9*(-parseInt(_0x313bf8(0x16c))/0xa);if(_0x36947b===_0xce0cdc)break;else _0xdd3744['push'](_0xdd3744['shift']());}catch(_0x5af966){_0xdd3744['push'](_0xdd3744['shift']());}}}(_0x2590,0xabfde));import{lineNumbers as _0x4e394c,highlightActiveLineGutter as _0x545272,highlightSpecialChars as _0x404754,drawSelection as _0x514b9b,dropCursor as _0x3bf741,rectangularSelection as _0x58f230,crosshairCursor as _0xb84e23,highlightActiveLine as _0x355c80,keymap as _0x33b0a3,EditorView as _0x370421}from'@codemirror/view';import{Compartment as _0x3d430b,Transaction as _0x27cb00}from'@codemirror/state';import{foldGutter as _0x5205c4,indentOnInput as _0x5b80a1,syntaxHighlighting as _0x3c676f,defaultHighlightStyle as _0xffc3ca,bracketMatching as _0x471f8f,foldKeymap as _0x5bf2de}from'@codemirror/language';import{history as _0x1ea1e9,defaultKeymap as _0x1d3da4,historyKeymap as _0x4b933e,redo as _0x3540b1,undo as _0x4044e4,indentMore as _0x387e33,indentLess as _0xa6e620,toggleTabFocusMode as _0x145443}from'@codemirror/commands';function _0x2590(){const _0x287f8b=['7796976RjevDN','state','doc','toString','addToHistory','Ctrl-y','2560677ACsmhz','length','14930puSbDl','default','Tab','push','parent','theme','Cmd-y','dispatch','Cmd-Shift-z','Ctrl-z','destroy','Cmd-z','2801035fZhEWe','focus','2aBBAZv','reconfigure','editable','6iSUVgd','lineWrapping','syntaxLanguage','dark','9450847fEokqi','399203qPDOlR','6336LoJjrL','html','493448YBfthQ','Ctrl-Shift-z'];_0x2590=function(){return _0x287f8b;};return _0x2590();}function _0x41fc(_0x1c651d,_0x24b571){const _0x2590ca=_0x2590();return _0x41fc=function(_0x41fc26,_0x3604cf){_0x41fc26=_0x41fc26-0x157;let _0x18524b=_0x2590ca[_0x41fc26];return _0x18524b;},_0x41fc(_0x1c651d,_0x24b571);}import{closeBrackets as _0x5b0b0f,autocompletion as _0x320282,closeBracketsKeymap as _0x5102e9,completionKeymap as _0x18d68c}from'@codemirror/autocomplete';import{html as _0x5b436a}from'@codemirror/lang-html';import{markdown as _0x437a65}from'@codemirror/lang-markdown';import{oneDark as _0x543474}from'@codemirror/theme-one-dark';export function createCodeMirrorEditor(_0x25f666){const _0x4fefdf=_0x41fc,_0x41920b=[_0x370421[_0x4fefdf(0x15b)],_0x320282(),_0x471f8f(),_0x5b0b0f(),_0xb84e23(),_0x514b9b(),_0x3bf741(),_0x4e394c(),_0x5205c4(),_0x355c80(),_0x545272(),_0x404754(),_0x1ea1e9(),_0x5b80a1(),_0x58f230(),_0x3c676f(_0xffc3ca,{'fallback':!0x0})],_0x5d2e76=new _0x3d430b();_0x41920b[_0x4fefdf(0x16f)](_0x5d2e76['of'](_0x370421[_0x4fefdf(0x159)]['of'](!0x0))),_0x4fefdf(0x161)===_0x25f666[_0x4fefdf(0x15c)]?_0x41920b[_0x4fefdf(0x16f)](_0x5b436a()):_0x41920b[_0x4fefdf(0x16f)](_0x437a65());const _0x5949c2=function(_0x24e6fb){const _0x2b74f9=_0x4fefdf;if(_0x24e6fb&&_0x2b74f9(0x16d)!==_0x24e6fb)return _0x2b74f9(0x15d)===_0x24e6fb?_0x543474:_0x24e6fb;return null;}(_0x25f666[_0x4fefdf(0x171)]);_0x5949c2&&_0x41920b[_0x4fefdf(0x16f)](_0x5949c2),_0x41920b[_0x4fefdf(0x16f)](...getKeybindings());const _0x1e027b=new _0x370421({'extensions':_0x41920b,'parent':_0x25f666[_0x4fefdf(0x170)]});return _0x145443(_0x1e027b),{'focus':()=>{const _0x3ff318=_0x4fefdf;_0x1e027b[_0x3ff318(0x173)]({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x1e027b[_0x3ff318(0x179)]();},'getData':()=>_0x1e027b[_0x4fefdf(0x165)][_0x4fefdf(0x166)][_0x4fefdf(0x167)](),'setData':_0x19c853=>{const _0x6f561c=_0x4fefdf;_0x1e027b[_0x6f561c(0x173)]({'changes':{'from':0x0,'to':_0x1e027b[_0x6f561c(0x165)][_0x6f561c(0x166)][_0x6f561c(0x16b)],'insert':_0x19c853},'annotations':_0x27cb00[_0x6f561c(0x168)]['of'](!0x1)});},'setReadOnly':_0x3043f7=>{const _0x8932a9=_0x4fefdf;_0x1e027b[_0x8932a9(0x173)]({'effects':[_0x5d2e76[_0x8932a9(0x158)](_0x370421[_0x8932a9(0x159)]['of'](!_0x3043f7))]});},'destroy':()=>{const _0x30fa53=_0x4fefdf;_0x1e027b[_0x30fa53(0x176)]();},'instance':_0x1e027b};}export function getKeybindings(){const _0x4cd126=_0x41fc;return[_0x33b0a3['of']([..._0x5102e9,..._0x1d3da4,..._0x4b933e,..._0x5bf2de,..._0x18d68c,{'key':_0x4cd126(0x16e),'run':_0x387e33,'shift':_0xa6e620,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':_0x4cd126(0x169),'mac':_0x4cd126(0x172),'run':_0x3540b1,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':_0x4cd126(0x163),'mac':_0x4cd126(0x174),'run':_0x3540b1,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':_0x4cd126(0x175),'mac':_0x4cd126(0x177),'run':_0x4044e4,'preventDefault':!0x0,'stopPropagation':!0x0}])];}
23
+ function _0x4cb6(){const _0x283d64=['dispatch','756858qRZOnj','reconfigure','Tab','Cmd-y','2460647rBmKBa','destroy','dark','focus','default','Ctrl-z','718660bSHUbe','Ctrl-y','parent','theme','Ctrl-Shift-z','state','Cmd-z','8376dQQBiR','length','Cmd-Shift-z','addToHistory','html','toString','6HhACKv','384772TMqvDO','push','4eZcshv','lineWrapping','11lsKOQF','syntaxLanguage','2290160lckGHa','2502reYEEu','doc','211623iIDpZT','editable'];_0x4cb6=function(){return _0x283d64;};return _0x4cb6();}(function(_0x2b3abd,_0x24c246){const _0x3966fb=_0x5365,_0x3aff1a=_0x2b3abd();while(!![]){try{const _0x584810=parseInt(_0x3966fb(0xdf))/0x1+parseInt(_0x3966fb(0xc7))/0x2+parseInt(_0x3966fb(0xc4))/0x3*(parseInt(_0x3966fb(0xe1))/0x4)+-parseInt(_0x3966fb(0xd1))/0x5+-parseInt(_0x3966fb(0xde))/0x6*(parseInt(_0x3966fb(0xcb))/0x7)+-parseInt(_0x3966fb(0xd8))/0x8*(parseInt(_0x3966fb(0xc2))/0x9)+parseInt(_0x3966fb(0xc1))/0xa*(parseInt(_0x3966fb(0xe3))/0xb);if(_0x584810===_0x24c246)break;else _0x3aff1a['push'](_0x3aff1a['shift']());}catch(_0x23d061){_0x3aff1a['push'](_0x3aff1a['shift']());}}}(_0x4cb6,0x437d7));import{lineNumbers as _0xa21420,highlightActiveLineGutter as _0x5d970f,highlightSpecialChars as _0x405751,drawSelection as _0xd37a84,dropCursor as _0x44395c,rectangularSelection as _0xca7f65,crosshairCursor as _0x4f343c,highlightActiveLine as _0xd72969,keymap as _0x6fe547,EditorView as _0x511aad}from'@codemirror/view';import{Compartment as _0x495f98,Transaction as _0x56fc57}from'@codemirror/state';import{foldGutter as _0xed80e0,indentOnInput as _0x58fa13,syntaxHighlighting as _0x3f1ead,defaultHighlightStyle as _0x6af2a2,bracketMatching as _0x15739a,foldKeymap as _0x5b99f2}from'@codemirror/language';import{history as _0x465f52,defaultKeymap as _0xf76478,historyKeymap as _0x40b3ea,redo as _0x5c9dee,undo as _0xe78689,indentMore as _0x124c31,indentLess as _0x887697,toggleTabFocusMode as _0x49bc54}from'@codemirror/commands';import{closeBrackets as _0x49d332,autocompletion as _0x586d1f,closeBracketsKeymap as _0x42d09e,completionKeymap as _0x3a99f1}from'@codemirror/autocomplete';import{html as _0x2c0e94}from'@codemirror/lang-html';import{markdown as _0x4f7582}from'@codemirror/lang-markdown';import{oneDark as _0x3a0a2b}from'@codemirror/theme-one-dark';function _0x5365(_0x710e1c,_0x4ef229){const _0x4cb628=_0x4cb6();return _0x5365=function(_0x5365fa,_0x2c4934){_0x5365fa=_0x5365fa-0xc1;let _0x4535e6=_0x4cb628[_0x5365fa];return _0x4535e6;},_0x5365(_0x710e1c,_0x4ef229);}export function createCodeMirrorEditor(_0x535472){const _0x4f8b5b=_0x5365,_0x4a1a8a=[_0x511aad[_0x4f8b5b(0xe2)],_0x586d1f(),_0x15739a(),_0x49d332(),_0x4f343c(),_0xd37a84(),_0x44395c(),_0xa21420(),_0xed80e0(),_0xd72969(),_0x5d970f(),_0x405751(),_0x465f52(),_0x58fa13(),_0xca7f65(),_0x3f1ead(_0x6af2a2,{'fallback':!0x0})],_0x462b96=new _0x495f98();_0x4a1a8a[_0x4f8b5b(0xe0)](_0x462b96['of'](_0x511aad[_0x4f8b5b(0xc5)]['of'](!0x0))),_0x4f8b5b(0xdc)===_0x535472[_0x4f8b5b(0xe4)]?_0x4a1a8a[_0x4f8b5b(0xe0)](_0x2c0e94()):_0x4a1a8a[_0x4f8b5b(0xe0)](_0x4f7582());const _0x3391e2=function(_0x2e705){const _0x7e44c=_0x4f8b5b;if(_0x2e705&&_0x7e44c(0xcf)!==_0x2e705)return _0x7e44c(0xcd)===_0x2e705?_0x3a0a2b:_0x2e705;return null;}(_0x535472[_0x4f8b5b(0xd4)]);_0x3391e2&&_0x4a1a8a[_0x4f8b5b(0xe0)](_0x3391e2),_0x4a1a8a[_0x4f8b5b(0xe0)](...getKeybindings());const _0xc186c5=new _0x511aad({'extensions':_0x4a1a8a,'parent':_0x535472[_0x4f8b5b(0xd3)]});return _0x49bc54(_0xc186c5),{'focus':()=>{const _0x1718b8=_0x4f8b5b;_0xc186c5[_0x1718b8(0xc6)]({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0xc186c5[_0x1718b8(0xce)]();},'getData':()=>_0xc186c5[_0x4f8b5b(0xd6)][_0x4f8b5b(0xc3)][_0x4f8b5b(0xdd)](),'setData':_0x5076db=>{const _0x53ea05=_0x4f8b5b;_0xc186c5[_0x53ea05(0xc6)]({'changes':{'from':0x0,'to':_0xc186c5[_0x53ea05(0xd6)][_0x53ea05(0xc3)][_0x53ea05(0xd9)],'insert':_0x5076db},'annotations':_0x56fc57[_0x53ea05(0xdb)]['of'](!0x1)});},'setReadOnly':_0x26e97e=>{const _0x3dfda4=_0x4f8b5b;_0xc186c5[_0x3dfda4(0xc6)]({'effects':[_0x462b96[_0x3dfda4(0xc8)](_0x511aad[_0x3dfda4(0xc5)]['of'](!_0x26e97e))]});},'destroy':()=>{const _0x32f6a7=_0x4f8b5b;_0xc186c5[_0x32f6a7(0xcc)]();},'instance':_0xc186c5};}export function getKeybindings(){const _0x2b4359=_0x5365;return[_0x6fe547['of']([..._0x42d09e,..._0xf76478,..._0x40b3ea,..._0x5b99f2,..._0x3a99f1,{'key':_0x2b4359(0xc9),'run':_0x124c31,'shift':_0x887697,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':_0x2b4359(0xd2),'mac':_0x2b4359(0xca),'run':_0x5c9dee,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':_0x2b4359(0xd5),'mac':_0x2b4359(0xda),'run':_0x5c9dee,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':_0x2b4359(0xd0),'mac':_0x2b4359(0xd7),'run':_0xe78689,'preventDefault':!0x0,'stopPropagation':!0x0}])];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x402235,_0x5d1fce){var _0x27c2b6=_0x2765,_0x2fd823=_0x402235();while(!![]){try{var _0x31bf92=parseInt(_0x27c2b6(0x14a))/0x1*(-parseInt(_0x27c2b6(0x148))/0x2)+-parseInt(_0x27c2b6(0x146))/0x3*(parseInt(_0x27c2b6(0x143))/0x4)+parseInt(_0x27c2b6(0x145))/0x5+-parseInt(_0x27c2b6(0x144))/0x6*(parseInt(_0x27c2b6(0x147))/0x7)+-parseInt(_0x27c2b6(0x14e))/0x8+-parseInt(_0x27c2b6(0x14b))/0x9+parseInt(_0x27c2b6(0x149))/0xa;if(_0x31bf92===_0x5d1fce)break;else _0x2fd823['push'](_0x2fd823['shift']());}catch(_0x3c7b8d){_0x2fd823['push'](_0x2fd823['shift']());}}}(_0x4a2e,0x3fa0b));import{formatHtml as _0x2383fc}from'ckeditor5/src/utils.js';function _0x2765(_0x2fcf95,_0x42e037){var _0x4a2e9c=_0x4a2e();return _0x2765=function(_0x2765ec,_0x2e724e){_0x2765ec=_0x2765ec-0x143;var _0x505717=_0x4a2e9c[_0x2765ec];return _0x505717;},_0x2765(_0x2fcf95,_0x42e037);}export function formatSource(_0x3b9907){return X(_0x3b9907)?_0x2383fc(_0x3b9907):_0x3b9907;}export function unformatSource(_0x2814cb){var _0x434e2a=_0x2765;return X(_0x2814cb[_0x434e2a(0x14c)](/^[\n\s]*/g,''))?_0x2814cb[_0x434e2a(0x14c)](/\s+/g,''):_0x2814cb;}function X(_0x81c610){var _0x2f5c58=_0x2765;return _0x81c610[_0x2f5c58(0x14d)]('<');}function _0x4a2e(){var _0xbf5f2f=['3456729GZFWlj','replace','startsWith','771968jmQjbp','1244072JhSBZn','214806KfCaVz','613320CachWk','3CzdYIp','84LIgotI','88868kcjHaz','15368980ZQunjJ','4JtfZgO'];_0x4a2e=function(){return _0xbf5f2f;};return _0x4a2e();}
23
+ (function(_0x429a02,_0x509862){var _0x59ac55=_0x14ac,_0x12de8a=_0x429a02();while(!![]){try{var _0x5a83e9=parseInt(_0x59ac55(0x11c))/0x1*(-parseInt(_0x59ac55(0x122))/0x2)+-parseInt(_0x59ac55(0x11f))/0x3+parseInt(_0x59ac55(0x11d))/0x4+-parseInt(_0x59ac55(0x120))/0x5*(parseInt(_0x59ac55(0x121))/0x6)+parseInt(_0x59ac55(0x124))/0x7+-parseInt(_0x59ac55(0x11e))/0x8+parseInt(_0x59ac55(0x125))/0x9*(parseInt(_0x59ac55(0x123))/0xa);if(_0x5a83e9===_0x509862)break;else _0x12de8a['push'](_0x12de8a['shift']());}catch(_0xc1832f){_0x12de8a['push'](_0x12de8a['shift']());}}}(_0x3689,0x918ab));import{formatHtml as _0x157ccf}from'ckeditor5/src/utils.js';export function formatSource(_0x173f38){return tr(_0x173f38)?_0x157ccf(_0x173f38):_0x173f38;}function _0x14ac(_0x312347,_0x112ed3){var _0x36899b=_0x3689();return _0x14ac=function(_0x14ac83,_0x420552){_0x14ac83=_0x14ac83-0x11b;var _0x41ccf7=_0x36899b[_0x14ac83];return _0x41ccf7;},_0x14ac(_0x312347,_0x112ed3);}export function unformatSource(_0xf9be8a){var _0x354f87=_0x14ac;return tr(_0xf9be8a[_0x354f87(0x126)](/^[\n\s]*/g,''))?_0xf9be8a[_0x354f87(0x126)](/\s+/g,''):_0xf9be8a;}function tr(_0x22863d){var _0x328f12=_0x14ac;return _0x22863d[_0x328f12(0x11b)]('<');}function _0x3689(){var _0x5ced0d=['29180wPwpxA','3785740MHwPqU','5085phDSRZ','replace','startsWith','47899yaMqfc','712776rLrgDj','1437928bMfBoC','1658397pakEdQ','965KoBGrZ','4008mzxgpm','38edgSpx'];_0x3689=function(){return _0x5ced0d;};return _0x3689();}