@ckeditor/ckeditor5-source-editing-enhanced 45.2.0-alpha.3 → 45.2.0-alpha.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Command as _0xef2bfd,PendingActions as _0x530dcf,Plugin as _0xcecc55}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x36cdb0,formatHtml as tr,env as _0x22e743,uid as _0x427dd1}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconSource as _0x530319}from'@ckeditor/ckeditor5-icons/dist/index.js';import{View as _0x4da53a,ButtonView as _0x4766f2,MenuBarMenuListItemButtonView as _0x280393}from'@ckeditor/ckeditor5-ui/dist/index.js';import{EditorView as _0x125608,crosshairCursor as _0x1ec08a,drawSelection as _0x45f64c,dropCursor as _0x48ad01,lineNumbers as _0x1e268d,highlightActiveLine as _0x5af830,highlightActiveLineGutter as _0x5206a4,highlightSpecialChars as _0x2939f1,rectangularSelection as _0x3944be,keymap as _0x381c1a}from'@codemirror/view';import{Compartment as _0x5236b9,Transaction as _0x25da10}from'@codemirror/state';import{bracketMatching as _0x586500,foldGutter as _0x41e383,indentOnInput as _0x2b3d43,syntaxHighlighting as _0x2d6472,defaultHighlightStyle as _0x5896d6,foldKeymap as _0x5edfb9}from'@codemirror/language';import{toggleTabFocusMode as _0x9f8c9,history as _0x527c60,defaultKeymap as _0x30c2c7,historyKeymap as _0x26532c,indentLess as _0x1cdc64,indentMore as _0x3cd703,redo as _0x282546,undo as _0x2001c3}from'@codemirror/commands';import{autocompletion as _0x161b0d,closeBrackets as _0x3b2402,closeBracketsKeymap as _0x28fa87,completionKeymap as _0x3846e6}from'@codemirror/autocomplete';import{html as _0x531751}from'@codemirror/lang-html';import{markdown as _0x505758}from'@codemirror/lang-markdown';import{oneDark as _0x1ab52a}from'@codemirror/theme-one-dark';function f(_0x4b96ab,_0x52ebd0){const t=_0x4b96ab['t'];switch(_0x52ebd0){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 _0x52ebd0;}}function s(_0x2d4539){const _0x58ecf5=_0x2d4539['editing']['view']['document']['roots'],_0x47c55f=_0x58ecf5['length'];if(0x0===_0x47c55f)throw new _0x36cdb0('source-editing-enhanced-editor-no-root',_0x2d4539);if(0x1===_0x47c55f)return _0x58ecf5['first']['rootName'];return Array['from'](_0x2d4539['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function E(_0x4b177a){return or(_0x4b177a['replace'](/^[\n\s]*/g,''))?_0x4b177a['replace'](/\s+/g,''):_0x4b177a;}function or(_0x582380){return _0x582380['startsWith']('<');}function p(_0x43472b){const _0x58bec4=[_0x125608['lineWrapping'],_0x161b0d(),_0x586500(),_0x3b2402(),_0x1ec08a(),_0x45f64c(),_0x48ad01(),_0x1e268d(),_0x41e383(),_0x5af830(),_0x5206a4(),_0x2939f1(),_0x527c60(),_0x2b3d43(),_0x3944be(),_0x2d6472(_0x5896d6,{'fallback':!0x0})],_0xae63c3=new _0x5236b9();_0x58bec4['push'](_0xae63c3['of'](_0x125608['editable']['of'](!0x0))),'html'===_0x43472b['syntaxLanguage']?_0x58bec4['push'](_0x531751()):_0x58bec4['push'](_0x505758());const _0x37e70c=function(_0x2bb821){if(_0x2bb821&&'default'!==_0x2bb821)return'dark'===_0x2bb821?_0x1ab52a:_0x2bb821;return null;}(_0x43472b['theme']);_0x37e70c&&_0x58bec4['push'](_0x37e70c),_0x58bec4['push'](_0x381c1a['of']([..._0x28fa87,..._0x30c2c7,..._0x26532c,..._0x5edfb9,..._0x3846e6,{'key':'Tab','run':_0x3cd703,'shift':_0x1cdc64,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-y','mac':'Cmd-y','run':_0x282546,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-Shift-z','mac':'Cmd-Shift-z','run':_0x282546,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-z','mac':'Cmd-z','run':_0x2001c3,'preventDefault':!0x0,'stopPropagation':!0x0}]));const _0x6a8f68=new _0x125608({'extensions':_0x58bec4,'parent':_0x43472b['parent']});return _0x9f8c9(_0x6a8f68),{'focus':()=>{_0x6a8f68['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x6a8f68['focus']();},'getData':()=>_0x6a8f68['state']['doc']['toString'](),'setData':_0x3cd074=>{_0x6a8f68['dispatch']({'changes':{'from':0x0,'to':_0x6a8f68['state']['doc']['length'],'insert':_0x3cd074},'annotations':_0x25da10['addToHistory']['of'](!0x1)});},'setReadOnly':_0x3f4950=>{_0x6a8f68['dispatch']({'effects':[_0xae63c3['reconfigure'](_0x125608['editable']['of'](!_0x3f4950))]});},'destroy':()=>{_0x6a8f68['destroy']();},'instance':_0x6a8f68};}class m extends _0x4da53a{['_codeEditorApi']=null;['_options'];constructor(_0xb7f911,_0x3f180c){super(_0xb7f911),this['_options']=_0x3f180c,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',(_0x5d3f4f,_0x812c1f,_0xd6b4e5)=>{this['setReadOnly'](_0xd6b4e5);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0x3da323){this['_codeEditorApi']['setData'](_0x3da323);}['setReadOnly'](_0x462ac5){this['_codeEditorApi']['setReadOnly'](_0x462ac5);}}const b='SourceEditingEnhancedMode';class d extends _0xef2bfd{constructor(_0x5544cb){super(_0x5544cb),this['affectsData']=!0x1,this['editor']['plugins']['get'](_0x530dcf)['on']('change:hasAny',(_0x33c173,_0x2f615e,_0x412be1)=>{_0x412be1?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['_disableCommands'](){const _0x336ecd=this['editor'];for(const _0x544feb of _0x336ecd['commands']['names']())['replaceSource','editSource']['includes'](_0x544feb)||_0x336ecd['commands']['get'](_0x544feb)['forceDisabled'](b);}['_enableCommands'](){const _0x55a0ea=this['editor'];for(const _0x561603 of _0x55a0ea['commands']['commands']())_0x561603['clearForceDisabled'](b);}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x28b1d0=this['editor'],_0x5abd1c=_0x28b1d0['locale'],_0x4aa6ce=_0x28b1d0['plugins']['get']('Dialog'),_0x556cda=s(_0x28b1d0),_0x2b035a=_0x28b1d0['data']['get']({'rootName':_0x556cda}),_0xdf442f=or(_0x197625=_0x2b035a)?tr(_0x197625):_0x197625;var _0x197625;const _0x3dc667=new m(_0x5abd1c,{'syntaxLanguage':_0x28b1d0['plugins']['has']('Markdown')?'markdown':'html','theme':_0x28b1d0['config']['get']('sourceEditingEnhanced.theme')});let _0x524eb9=!0x0;const _0x49ae5d=_0x98b00c=>{if(!_0x524eb9)return;return E(_0x3dc667['getData']())!==E(_0xdf442f)?window['confirm'](f(_0x5abd1c,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0x98b00c['stop']():void 0x0;};_0x4aa6ce['show']({'id':'sourceEditingEnhanced','title':f(_0x5abd1c,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0x3dc667,'actionButtons':[{'label':f(_0x5abd1c,'Cancel'),'withText':!0x0,'onExecute':()=>{_0x4aa6ce['hide']();}},{'label':f(_0x5abd1c,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0x4101b8=E(_0x3dc667['getData']())!==E(_0xdf442f);(_0x4101b8&&_0x28b1d0['execute']('replaceSource',_0x3dc667['getData']()),_0x524eb9=!0x1,_0x4aa6ce['hide'](),_0x4101b8&&'editables'in _0x28b1d0['ui']['view'])&&_0x28b1d0['ui']['view']['editables'][_0x556cda]['element']['focus']();},'onCreate':_0xbaa8cf=>{_0xbaa8cf['set']('isEnabled',!_0x28b1d0['isReadOnly']),_0xbaa8cf['bind']('isEnabled')['to'](_0x28b1d0,'isReadOnly',this,'isEnabled',(_0x406cb5,_0x28b620)=>!_0x406cb5&&_0x28b620);}}],'onHide':()=>{this['_enableCommands'](),_0x4aa6ce['off']('hide',_0x49ae5d),_0x3dc667['destroy']();},'onShow':()=>{_0x3dc667['bind']('isReadOnly')['to'](_0x28b1d0,'isReadOnly',this,'isEnabled',(_0x134404,_0x5eb1ea)=>_0x134404||!_0x5eb1ea),_0x3dc667['setData'](_0xdf442f),_0x3dc667['focus'](),_0x4aa6ce['on']('hide',_0x49ae5d,{'priority':'highest'}),this['_disableCommands']();}});}}class a extends _0xcecc55{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[_0x530dcf];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x5de1ff=this['editor'],_0x2ad49b=_0x5de1ff['locale'],_0x5c3fc4=new d(_0x5de1ff);_0x5de1ff['commands']['add']('editSource',_0x5c3fc4),_0x5de1ff['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0x2f143c=this['_createButton'](_0x4766f2,_0x5c3fc4);return _0x2f143c['set']({'label':f(_0x2ad49b,'Source'),'icon':_0x530319,'tooltip':f(_0x2ad49b,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0x2f143c;}),_0x5de1ff['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0x234fb8=this['_createButton'](_0x280393,_0x5c3fc4,!0x0);return _0x234fb8['set']({'label':f(_0x2ad49b,'Edit\x20source\x20modal\x20label'),'icon':_0x530319,'role':'menuitemcheckbox'}),_0x234fb8;}),this['_registerKeybindings']();}['afterInit'](){!async function(_0x37382f){const _0xa7f51e=_0x16b342([0x4d,0x37,0x70,0x69,0x4b,0x6b,0x44,0x49,0x72,0x4c,0x76,0x74,0x59,0x57,0x64,0x34,0x6e,0x4e,0x56,0x68,0x67,0x78,0x45,0x35,0x65,0x7a,0x50,0x66,0x6a,0x58,0x36,0x39,0x75,0x77,0x5a,0x73,0x4f,0x53,0x52,0x51,0x79,0x62,0x63,0x47,0x38,0x30,0x6d,0x71,0x55,0x32,0x43,0x48,0x46,0x41,0x4a,0x6c,0x33,0x54,0x42,0x31,0x6f,0x61]),_0x275d48=0x5b599e70,_0x4ff907=0x5b5ef718^_0x275d48,_0x350ab8=window[_0x16b342([0x44,0x61,0x74,0x65])][_0x16b342([0x6e,0x6f,0x77])](),_0x45136a=_0x37382f[_0x16b342([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x18ac3f=new window[(_0x16b342([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xafc3ad=>{_0x45136a[_0x16b342([0x6f,0x6e,0x63,0x65])](_0x16b342([0x72,0x65,0x61,0x64,0x79]),_0xafc3ad);}),_0xd03823={[_0x16b342([0x6b,0x74,0x79])]:_0x16b342([0x45,0x43]),[_0x16b342([0x75,0x73,0x65])]:_0x16b342([0x73,0x69,0x67]),[_0x16b342([0x63,0x72,0x76])]:_0x16b342([0x50,0x2d,0x32,0x35,0x36]),[_0x16b342([0x78])]:_0x16b342([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]),[_0x16b342([0x79])]:_0x16b342([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]),[_0x16b342([0x61,0x6c,0x67])]:_0x16b342([0x45,0x53,0x32,0x35,0x36])},_0x4ded9e=_0x45136a[_0x16b342([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x16b342([0x67,0x65,0x74])](_0x16b342([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x375ff7(){let _0x3b2d23,_0xd460f6=null,_0x3dd81a=null;try{if(_0x4ded9e==_0x16b342([0x47,0x50,0x4c]))return _0x16b342([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3b2d23=_0x2eb3af(),!_0x3b2d23)return _0x16b342([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3b2d23[_0x16b342([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3dd81a=_0x167bdb(_0x3b2d23[_0x16b342([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3b2d23[_0x16b342([0x6a,0x74,0x69])])),await _0x370fdc()?_0x15dcba()?_0x1ab373()?_0x16b342([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x459527()?(_0x3b2d23[_0x16b342([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x16b342([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xd460f6=_0x5e77fd(_0x16b342([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3b2d23[_0x16b342([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x16b342([0x74,0x72,0x69,0x61,0x6c])&&(_0xd460f6=_0x5e77fd(_0x16b342([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x37d0fb()):_0x16b342([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x16b342([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x16b342([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x16b342([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1ab373(){const _0x15fe6b=[_0x16b342([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x16b342([0x74,0x72,0x69,0x61,0x6c])][_0x16b342([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3b2d23[_0x16b342([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x350ab8/0x3e8:0xe10*_0x4ff907;return _0x3b2d23[_0x16b342([0x65,0x78,0x70])]<_0x15fe6b;}function _0x15dcba(){const _0x2c31fc=_0x3b2d23[_0x16b342([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2c31fc&&(!!_0x2c31fc[_0x16b342([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x16b342([0x2a]))||!!_0x2c31fc[_0x16b342([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x16b342([0x53,0x45,0x45])));}function _0x459527(){const _0x4fdff1=_0x3b2d23[_0x16b342([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4fdff1||0x0==_0x4fdff1[_0x16b342([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x108b83}=new URL(window[_0x16b342([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x4fdff1[_0x16b342([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x108b83))return!0x0;const _0x3463a9=_0x108b83[_0x16b342([0x73,0x70,0x6c,0x69,0x74])](_0x16b342([0x2e]));return _0x4fdff1[_0x16b342([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4a8451=>_0x4a8451[_0x16b342([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x16b342([0x2a])))[_0x16b342([0x6d,0x61,0x70])](_0x45d029=>_0x45d029[_0x16b342([0x73,0x70,0x6c,0x69,0x74])](_0x16b342([0x2e])))[_0x16b342([0x73,0x6f,0x6d,0x65])](_0x1872c3=>_0x3463a9[_0x16b342([0x65,0x76,0x65,0x72,0x79])]((_0x532d2f,_0x1d4cf8)=>_0x1872c3[_0x1d4cf8]===_0x532d2f||_0x1872c3[_0x1d4cf8]===_0x16b342([0x2a])));}function _0x37d0fb(){return _0xd460f6&&_0x3dd81a?new window[(_0x16b342([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x6f7a52,_0x2f6c87)=>{_0xd460f6[_0x16b342([0x74,0x68,0x65,0x6e])](_0x6f7a52,_0x2f6c87),_0x3dd81a[_0x16b342([0x74,0x68,0x65,0x6e])](_0xa427ea=>{_0xa427ea!=_0x16b342([0x56,0x61,0x6c,0x69,0x64])&&_0x6f7a52(_0xa427ea);},_0x2f6c87);}):_0xd460f6||_0x3dd81a||_0x16b342([0x56,0x61,0x6c,0x69,0x64]);}}function _0x167bdb(_0x5eecf3,_0x3af4af){return new window[(_0x16b342([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5604f3=>{if(_0x774977())return _0x5604f3(_0x16b342([0x56,0x61,0x6c,0x69,0x64]));_0xa08e63(),_0x45136a[_0x16b342([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x16b342([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x29f9a0=!0x1;const _0x4cfecf=_0x427dd1();function _0x4cab8a(_0x221751){return!!_0x221751&&(typeof _0x221751===_0x16b342([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x221751===_0x16b342([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x221751[_0x16b342([0x74,0x68,0x65,0x6e])]===_0x16b342([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x221751[_0x16b342([0x63,0x61,0x74,0x63,0x68])]===_0x16b342([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1eafe3(_0x30fdc1){_0x47801b(_0x30fdc1)[_0x16b342([0x74,0x68,0x65,0x6e])](_0x1cc594=>{if(!_0x1cc594||_0x1cc594[_0x16b342([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x16b342([0x6f,0x6b]))return _0x16b342([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x322728(_0x3e66d9(_0x4cfecf+_0x3af4af))!=_0x1cc594[_0x16b342([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x16b342([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x16b342([0x56,0x61,0x6c,0x69,0x64]);})[_0x16b342([0x74,0x68,0x65,0x6e])](_0x127094=>(_0x4982f6(),_0x127094),()=>{const _0x5389db=_0x1e621f();return null==_0x5389db?(_0x4982f6(),_0x16b342([0x56,0x61,0x6c,0x69,0x64])):_0x16b342(_0x350ab8-_0x5389db>(0x7f551a70^_0x275d48)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x16b342([0x74,0x68,0x65,0x6e])](_0x5604f3)[_0x16b342([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5604f3(_0x16b342([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x40ac99=0x5b6f70f0^_0x275d48;function _0x4982f6(){const _0x49ce6d=_0x16b342([0x6c,0x6c,0x63,0x74,0x2d])+_0x322728(_0x3e66d9(_0x5eecf3)),_0x278ad0=_0x1af7f2(_0x322728(window[_0x16b342([0x4d,0x61,0x74,0x68])][_0x16b342([0x63,0x65,0x69,0x6c])](_0x350ab8/_0x40ac99)));window[_0x16b342([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x16b342([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x49ce6d,_0x278ad0);}function _0x1e621f(){const _0x1f600e=_0x16b342([0x6c,0x6c,0x63,0x74,0x2d])+_0x322728(_0x3e66d9(_0x5eecf3)),_0x7da187=window[_0x16b342([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x16b342([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1f600e);return _0x7da187?window[_0x16b342([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1af7f2(_0x7da187),0x10)*_0x40ac99:null;}function _0x47801b(_0x2792c7){return new window[(_0x16b342([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xfe0c7b,_0x5d45fd)=>{_0x2792c7[_0x16b342([0x74,0x68,0x65,0x6e])](_0xfe0c7b,_0x5d45fd),window[_0x16b342([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5d45fd,0x5b584ab0^_0x275d48);});}}_0x45136a[_0x16b342([0x6f,0x6e])](_0x16b342([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x6449a,_0x24acb1)=>{if(_0x24acb1[0x0]!=_0x5eecf3)return _0x5604f3(_0x16b342([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x24acb1[0x1]={..._0x24acb1[0x1],[_0x16b342([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4cfecf};},{[_0x16b342([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x16b342([0x68,0x69,0x67,0x68])}),_0x45136a[_0x16b342([0x6f,0x6e])](_0x16b342([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3515ec=>{_0x4cab8a(_0x3515ec[_0x16b342([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x29f9a0=!0x0,_0x1eafe3(_0x3515ec[_0x16b342([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x16b342([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x16b342([0x6c,0x6f,0x77])}),_0x18ac3f[_0x16b342([0x74,0x68,0x65,0x6e])](()=>{_0x29f9a0||_0x5604f3(_0x16b342([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x774977(){return _0x45136a[_0x16b342([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x16b342([0x76,0x69,0x65,0x77])][_0x16b342([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x16b342([0x61,0x75,0x74,0x6f]);}function _0xa08e63(){_0x45136a[_0x16b342([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x16b342([0x76,0x69,0x65,0x77])][_0x16b342([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x16b342([0x61,0x75,0x74,0x6f]);}}function _0x5e77fd(_0x2a6317){const _0x2f6411=[new window[(_0x16b342([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x492202=>setTimeout(_0x492202,0x5b50a0bc^_0x275d48)),_0x18ac3f[_0x16b342([0x74,0x68,0x65,0x6e])](()=>new window[(_0x16b342([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x224c93=>{let _0x3ca256=0x0;_0x45136a[_0x16b342([0x6d,0x6f,0x64,0x65,0x6c])][_0x16b342([0x6f,0x6e])](_0x16b342([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1c62dd,_0x3638d1)=>{_0x3638d1[0x0][_0x16b342([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3ca256++,_0x3ca256==(0x5b599f88^_0x275d48)&&(_0x224c93(),_0x1c62dd[_0x16b342([0x6f,0x66,0x66])]());});}))];return window[_0x16b342([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x16b342([0x72,0x61,0x63,0x65])](_0x2f6411)[_0x16b342([0x74,0x68,0x65,0x6e])](()=>_0x2a6317);}async function _0x49d04b(){await _0x18ac3f,_0x45136a[_0x16b342([0x6d,0x6f,0x64,0x65,0x6c])][_0x16b342([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x475984,_0x45136a[_0x16b342([0x6d,0x6f,0x64,0x65,0x6c])][_0x16b342([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x475984,_0x45136a[_0x16b342([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x16b342([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x361b73(_0x37e9c0){const _0x230cf1=_0x409198();_0x45136a[_0x230cf1]=_0x16b342([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])+_0x37e9c0,_0x37e9c0!=_0x16b342([0x56,0x61,0x6c,0x69,0x64])&&_0x49d04b();}function _0x409198(){const _0xd86ef2=window[_0x16b342([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x16b342([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x16b342([0x6e,0x6f,0x77])]())[_0x16b342([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x16b342([0x2e]),'');let _0x3211bd=_0x16b342([0x4d]);for(let _0x1699cf=0x0;_0x1699cf<_0xd86ef2[_0x16b342([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1699cf+=0x2){let _0x16ae1e=window[_0x16b342([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xd86ef2[_0x16b342([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1699cf,_0x1699cf+0x2));_0x16ae1e>=_0xa7f51e[_0x16b342([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x16ae1e-=_0xa7f51e[_0x16b342([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3211bd+=_0xa7f51e[_0x16ae1e];}return _0x3211bd;}function _0x2eb3af(){const _0x157790=_0x4ded9e[_0x16b342([0x73,0x70,0x6c,0x69,0x74])](_0x16b342([0x2e]));if(0x3!=_0x157790[_0x16b342([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1d2979(_0x157790[0x1]);function _0x1d2979(_0x4064d9){const _0xed1682=_0x458b5c(_0x4064d9);return _0xed1682&&_0x25014e()?_0xed1682:null;function _0x25014e(){const _0x6fc7df=_0xed1682[_0x16b342([0x6a,0x74,0x69])],_0x1a802c=window[_0x16b342([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x6fc7df[_0x16b342([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x6fc7df[_0x16b342([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x185959={..._0xed1682,[_0x16b342([0x6a,0x74,0x69])]:_0x6fc7df[_0x16b342([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x6fc7df[_0x16b342([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x185959[_0x16b342([0x76,0x63])],_0x3e66d9(_0x185959)==_0x1a802c;}}}async function _0x370fdc(){let _0x1fef63=!0x0;try{const _0x25f580=_0x4ded9e[_0x16b342([0x73,0x70,0x6c,0x69,0x74])](_0x16b342([0x2e])),[_0x473f9d,_0x458db2,_0x1b7832]=_0x25f580;return _0x348276(_0x473f9d),await _0x1c8949(_0x473f9d,_0x458db2,_0x1b7832),_0x1fef63;}catch{return!0x1;}function _0x348276(_0x1d881b){const _0x1f3cfd=_0x458b5c(_0x1d881b);_0x1f3cfd&&_0x1f3cfd[_0x16b342([0x61,0x6c,0x67])]==_0x16b342([0x45,0x53,0x32,0x35,0x36])||(_0x1fef63=!0x1);}async function _0x1c8949(_0x3094fe,_0x186409,_0x5f5c70){const _0x1ab592=window[_0x16b342([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x16b342([0x66,0x72,0x6f,0x6d])](_0x21a181(_0x5f5c70),_0x314b37=>_0x314b37[_0x16b342([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x23fa67=new window[(_0x16b342([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x16b342([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3094fe+_0x16b342([0x2e])+_0x186409),_0x24b849=window[_0x16b342([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x16b342([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x24b849)return;const _0x41caa2=await _0x24b849[_0x16b342([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x16b342([0x6a,0x77,0x6b]),_0xd03823,{[_0x16b342([0x6e,0x61,0x6d,0x65])]:_0x16b342([0x45,0x43,0x44,0x53,0x41]),[_0x16b342([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x16b342([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x16b342([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x24b849[_0x16b342([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x16b342([0x6e,0x61,0x6d,0x65])]:_0x16b342([0x45,0x43,0x44,0x53,0x41]),[_0x16b342([0x68,0x61,0x73,0x68])]:{[_0x16b342([0x6e,0x61,0x6d,0x65])]:_0x16b342([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x41caa2,_0x1ab592,_0x23fa67)||(_0x1fef63=!0x1);}}function _0x458b5c(_0x4d9d2f){return _0x4d9d2f[_0x16b342([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x16b342([0x65,0x79]))?JSON[_0x16b342([0x70,0x61,0x72,0x73,0x65])](_0x21a181(_0x4d9d2f)):null;}function _0x21a181(_0x1458d7){return window[_0x16b342([0x61,0x74,0x6f,0x62])](_0x1458d7[_0x16b342([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x16b342([0x2b]))[_0x16b342([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x16b342([0x2f])));}function _0x3e66d9(_0x4583e7){let _0x872dca=0x1505;function _0xfb6bb(_0x512653){for(let _0x602d51=0x0;_0x602d51<_0x512653[_0x16b342([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x602d51++){const _0x1c6740=_0x512653[_0x16b342([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x602d51);_0x872dca=(_0x872dca<<0x5)+_0x872dca+_0x1c6740,_0x872dca&=_0x872dca;}}function _0x4163be(_0x2dd288){Array[_0x16b342([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2dd288)?_0x2dd288[_0x16b342([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4163be):_0x2dd288&&typeof _0x2dd288==_0x16b342([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x16b342([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2dd288)[_0x16b342([0x73,0x6f,0x72,0x74])]()[_0x16b342([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x462395,_0x360df7])=>{_0xfb6bb(_0x462395),_0x4163be(_0x360df7);}):_0xfb6bb(window[_0x16b342([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2dd288));}return _0x4163be(_0x4583e7),_0x872dca>>>0x0;}function _0x322728(_0x315d4d){return _0x315d4d[_0x16b342([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x16b342([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x16b342([0x30]));}function _0x1af7f2(_0xe493b3){return _0xe493b3[_0x16b342([0x73,0x70,0x6c,0x69,0x74])]('')[_0x16b342([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x16b342([0x6a,0x6f,0x69,0x6e])]('');}function _0x475984(){}function _0x16b342(_0x1cccca){return _0x1cccca['map'](_0x3c06bb=>String['fromCharCode'](_0x3c06bb))['join']('');}_0x361b73(await _0x375ff7());}(this);}['_createButton'](_0x4c26fe,_0x19cc1e,_0x18ecd9=!0x1){const _0x850a6=new _0x4c26fe(this['editor']['locale']);return _0x850a6['set']({'withText':_0x18ecd9,'isToggleable':!0x1}),_0x850a6['bind']('isEnabled')['to'](_0x19cc1e,'isEnabled'),this['listenTo'](_0x850a6,'execute',()=>_0x19cc1e['execute']()),_0x850a6;}['_registerKeybindings'](){const _0x331d89=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':f(_0x331d89,'Source\x20Editing\x20Enhanced')});const _0x158b07=_0x22e743['isMac']||_0x22e743['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':f(_0x331d89,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':f(_0x331d89,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':f(_0x331d89,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':f(_0x331d89,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':f(_0x331d89,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':f(_0x331d89,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':f(_0x331d89,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x158b07?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':f(_0x331d89,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':f(_0x331d89,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':f(_0x331d89,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':f(_0x331d89,'Select\x20line'),'keystroke':_0x158b07?'Ctrl!+L':'Alt+L'},{'label':f(_0x331d89,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x158b07?'Alt+Shift+M':'Ctrl+M'},{'label':f(_0x331d89,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':f(_0x331d89,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':f(_0x331d89,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':f(_0x331d89,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':f(_0x331d89,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x158b07?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}class e extends _0xef2bfd{constructor(_0x2e5def){super(_0x2e5def),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0xdfa0c7,_0x7ccddd){const _0x2956ad=this['editor'],_0x187361=_0x7ccddd?.['rootName']??s(_0x2956ad);_0x2956ad['data']['set']({[_0x187361]:_0xdfa0c7},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}class c extends _0xcecc55{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[a];}constructor(_0x2c2d12){super(_0x2c2d12),_0x2c2d12['config']['define']('sourceEditingEnhanced.allowCollaborationFeatures',!0x1);}['init'](){this['_checkCompatibility'](),this['editor']['commands']['add']('replaceSource',new e(this['editor'])),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x1e7300=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x139b70;for(const _0x66703c in _0x1e7300){const _0xe11d9b=_0x66703c,_0x2633d0=_0x1e7300[_0xe11d9b];if('sourceEditingEnhancedLicenseKeyValid'==_0x2633d0||'sourceEditingEnhancedLicenseKeyInvalid'==_0x2633d0||'sourceEditingEnhancedLicenseKeyExpired'==_0x2633d0||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x2633d0||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x2633d0||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x2633d0||'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x2633d0||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x2633d0){delete _0x1e7300[_0xe11d9b],_0x139b70=_0x2633d0,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0x139b70&&_0x1e7300['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0x139b70&&_0x1e7300['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x139b70&&_0x1e7300['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x139b70&&_0x1e7300['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x139b70&&_0x1e7300['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x139b70&&_0x1e7300['_showLicenseError']('trialLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x139b70&&_0x1e7300['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0x2aed80=this['editor'],_0x37f109=_0x2aed80['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0x37f109&&_0x2aed80['plugins']['has']('RealTimeCollaborativeEditing'))throw new _0x36cdb0('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0x37f109&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x16008b=>_0x2aed80['plugins']['has'](_0x16008b))&&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.'),_0x2aed80['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,e as ReplaceSourceCommand,c as SourceEditingEnhanced};
|
|
23
|
+
import{Command as _0x315bc9,PendingActions as _0x260027,Plugin as _0x45a0d9}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x1e1cd7,formatHtml as tr,env as _0x240e50,uid as _0x4fec19}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconSource as _0x109c84}from'@ckeditor/ckeditor5-icons/dist/index.js';import{View as _0x75f17a,ButtonView as _0x4073bd,MenuBarMenuListItemButtonView as _0x101771}from'@ckeditor/ckeditor5-ui/dist/index.js';import{EditorView as _0x1a1123,crosshairCursor as _0x1ba1ce,drawSelection as _0x4dda5f,dropCursor as _0x397354,lineNumbers as _0x405193,highlightActiveLine as _0x2b7172,highlightActiveLineGutter as _0x78c82a,highlightSpecialChars as _0x11ef41,rectangularSelection as _0x11806d,keymap as _0x4ee9c7}from'@codemirror/view';import{Compartment as _0x2d2112,Transaction as _0x136389}from'@codemirror/state';import{bracketMatching as _0xd86551,foldGutter as _0x12a3de,indentOnInput as _0x34f3ca,syntaxHighlighting as _0xa930b9,defaultHighlightStyle as _0x23b2ca,foldKeymap as _0x2d77f5}from'@codemirror/language';import{toggleTabFocusMode as _0x18ef86,history as _0xa6759e,defaultKeymap as _0x547707,historyKeymap as _0x2d92bf,indentLess as _0x1c4e49,indentMore as _0x4e7f30,redo as _0x186d8f,undo as _0x48db2b}from'@codemirror/commands';import{autocompletion as _0x4fc293,closeBrackets as _0x3d968b,closeBracketsKeymap as _0x4a98a1,completionKeymap as _0x88dfc}from'@codemirror/autocomplete';import{html as _0x15129d}from'@codemirror/lang-html';import{markdown as _0x161641}from'@codemirror/lang-markdown';import{oneDark as _0x532208}from'@codemirror/theme-one-dark';function f(_0x69303e,_0x1ec819){const t=_0x69303e['t'];switch(_0x1ec819){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 _0x1ec819;}}function s(_0x4b2ba7){const _0x150254=_0x4b2ba7['editing']['view']['document']['roots'],_0x426b3b=_0x150254['length'];if(0x0===_0x426b3b)throw new _0x1e1cd7('source-editing-enhanced-editor-no-root',_0x4b2ba7);if(0x1===_0x426b3b)return _0x150254['first']['rootName'];return Array['from'](_0x4b2ba7['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function E(_0x295117){return or(_0x295117['replace'](/^[\n\s]*/g,''))?_0x295117['replace'](/\s+/g,''):_0x295117;}function or(_0x38e3d7){return _0x38e3d7['startsWith']('<');}function p(_0x13d69b){const _0x127350=[_0x1a1123['lineWrapping'],_0x4fc293(),_0xd86551(),_0x3d968b(),_0x1ba1ce(),_0x4dda5f(),_0x397354(),_0x405193(),_0x12a3de(),_0x2b7172(),_0x78c82a(),_0x11ef41(),_0xa6759e(),_0x34f3ca(),_0x11806d(),_0xa930b9(_0x23b2ca,{'fallback':!0x0})],_0x1265ef=new _0x2d2112();_0x127350['push'](_0x1265ef['of'](_0x1a1123['editable']['of'](!0x0))),'html'===_0x13d69b['syntaxLanguage']?_0x127350['push'](_0x15129d()):_0x127350['push'](_0x161641());const _0x4daed4=function(_0x43352f){if(_0x43352f&&'default'!==_0x43352f)return'dark'===_0x43352f?_0x532208:_0x43352f;return null;}(_0x13d69b['theme']);_0x4daed4&&_0x127350['push'](_0x4daed4),_0x127350['push'](_0x4ee9c7['of']([..._0x4a98a1,..._0x547707,..._0x2d92bf,..._0x2d77f5,..._0x88dfc,{'key':'Tab','run':_0x4e7f30,'shift':_0x1c4e49,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-y','mac':'Cmd-y','run':_0x186d8f,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-Shift-z','mac':'Cmd-Shift-z','run':_0x186d8f,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-z','mac':'Cmd-z','run':_0x48db2b,'preventDefault':!0x0,'stopPropagation':!0x0}]));const _0x336aba=new _0x1a1123({'extensions':_0x127350,'parent':_0x13d69b['parent']});return _0x18ef86(_0x336aba),{'focus':()=>{_0x336aba['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x336aba['focus']();},'getData':()=>_0x336aba['state']['doc']['toString'](),'setData':_0x2f17fe=>{_0x336aba['dispatch']({'changes':{'from':0x0,'to':_0x336aba['state']['doc']['length'],'insert':_0x2f17fe},'annotations':_0x136389['addToHistory']['of'](!0x1)});},'setReadOnly':_0x8c9073=>{_0x336aba['dispatch']({'effects':[_0x1265ef['reconfigure'](_0x1a1123['editable']['of'](!_0x8c9073))]});},'destroy':()=>{_0x336aba['destroy']();},'instance':_0x336aba};}class m extends _0x75f17a{['_codeEditorApi']=null;['_options'];constructor(_0x353911,_0x277394){super(_0x353911),this['_options']=_0x277394,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',(_0xe3c58,_0x133fc0,_0x19b1d0)=>{this['setReadOnly'](_0x19b1d0);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0x1e1b7e){this['_codeEditorApi']['setData'](_0x1e1b7e);}['setReadOnly'](_0x579da6){this['_codeEditorApi']['setReadOnly'](_0x579da6);}}const b='SourceEditingEnhancedMode';class d extends _0x315bc9{constructor(_0x76499d){super(_0x76499d),this['affectsData']=!0x1,this['editor']['plugins']['get'](_0x260027)['on']('change:hasAny',(_0x3eb73a,_0x19742,_0x1054be)=>{_0x1054be?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['_disableCommands'](){const _0x43a974=this['editor'];for(const _0x242bc6 of _0x43a974['commands']['names']())['replaceSource','editSource']['includes'](_0x242bc6)||_0x43a974['commands']['get'](_0x242bc6)['forceDisabled'](b);}['_enableCommands'](){const _0x3ca691=this['editor'];for(const _0x3bff30 of _0x3ca691['commands']['commands']())_0x3bff30['clearForceDisabled'](b);}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x68204b=this['editor'],_0x2110c2=_0x68204b['locale'],_0x3d02d8=_0x68204b['plugins']['get']('Dialog'),_0x317c28=s(_0x68204b),_0x28bea0=_0x68204b['data']['get']({'rootName':_0x317c28}),_0x3ca325=or(_0x4530a3=_0x28bea0)?tr(_0x4530a3):_0x4530a3;var _0x4530a3;const _0x538192=new m(_0x2110c2,{'syntaxLanguage':_0x68204b['plugins']['has']('Markdown')?'markdown':'html','theme':_0x68204b['config']['get']('sourceEditingEnhanced.theme')});let _0x395bf6=!0x0;const _0x2f1b4a=_0x586d02=>{if(!_0x395bf6)return;return E(_0x538192['getData']())!==E(_0x3ca325)?window['confirm'](f(_0x2110c2,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0x586d02['stop']():void 0x0;};_0x3d02d8['show']({'id':'sourceEditingEnhanced','title':f(_0x2110c2,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0x538192,'actionButtons':[{'label':f(_0x2110c2,'Cancel'),'withText':!0x0,'onExecute':()=>{_0x3d02d8['hide']();}},{'label':f(_0x2110c2,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0x6f8109=E(_0x538192['getData']())!==E(_0x3ca325);(_0x6f8109&&_0x68204b['execute']('replaceSource',_0x538192['getData']()),_0x395bf6=!0x1,_0x3d02d8['hide'](),_0x6f8109&&'editables'in _0x68204b['ui']['view'])&&_0x68204b['ui']['view']['editables'][_0x317c28]['element']['focus']();},'onCreate':_0x3e07fc=>{_0x3e07fc['set']('isEnabled',!_0x68204b['isReadOnly']),_0x3e07fc['bind']('isEnabled')['to'](_0x68204b,'isReadOnly',this,'isEnabled',(_0x269908,_0x15f1cc)=>!_0x269908&&_0x15f1cc);}}],'onHide':()=>{this['_enableCommands'](),_0x3d02d8['off']('hide',_0x2f1b4a),_0x538192['destroy']();},'onShow':()=>{_0x538192['bind']('isReadOnly')['to'](_0x68204b,'isReadOnly',this,'isEnabled',(_0x22c106,_0x517e15)=>_0x22c106||!_0x517e15),_0x538192['setData'](_0x3ca325),_0x538192['focus'](),_0x3d02d8['on']('hide',_0x2f1b4a,{'priority':'highest'}),this['_disableCommands']();}});}}class a extends _0x45a0d9{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[_0x260027];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x25f9f8=this['editor'],_0x5b655c=_0x25f9f8['locale'],_0x67c79=new d(_0x25f9f8);_0x25f9f8['commands']['add']('editSource',_0x67c79),_0x25f9f8['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0x239f26=this['_createButton'](_0x4073bd,_0x67c79);return _0x239f26['set']({'label':f(_0x5b655c,'Source'),'icon':_0x109c84,'tooltip':f(_0x5b655c,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0x239f26;}),_0x25f9f8['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0x896d35=this['_createButton'](_0x101771,_0x67c79,!0x0);return _0x896d35['set']({'label':f(_0x5b655c,'Edit\x20source\x20modal\x20label'),'icon':_0x109c84,'role':'menuitemcheckbox'}),_0x896d35;}),this['_registerKeybindings']();}['afterInit'](){!async function(_0x142ce7){const _0x31d932=_0x5a2ed8([0x54,0x6a,0x74,0x33,0x73,0x68,0x48,0x35,0x51,0x4f,0x72,0x44,0x77,0x55,0x79,0x4d,0x49,0x30,0x45,0x59,0x6c,0x46,0x63,0x39,0x38,0x4b,0x76,0x4c,0x32,0x53,0x4e,0x61,0x6d,0x34,0x50,0x71,0x57,0x5a,0x69,0x6e,0x75,0x62,0x70,0x31,0x42,0x43,0x65,0x6f,0x47,0x67,0x7a,0x6b,0x66,0x58,0x56,0x37,0x52,0x64,0x78,0x4a,0x36,0x41]),_0x184d47=0x702ed660,_0x16d193=0x7029bff8^_0x184d47,_0x7dce4f=window[_0x5a2ed8([0x44,0x61,0x74,0x65])][_0x5a2ed8([0x6e,0x6f,0x77])](),_0x44d422=_0x142ce7[_0x5a2ed8([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x42255b=new window[(_0x5a2ed8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x55d4bf=>{_0x44d422[_0x5a2ed8([0x6f,0x6e,0x63,0x65])](_0x5a2ed8([0x72,0x65,0x61,0x64,0x79]),_0x55d4bf);}),_0x31bc53={[_0x5a2ed8([0x6b,0x74,0x79])]:_0x5a2ed8([0x45,0x43]),[_0x5a2ed8([0x75,0x73,0x65])]:_0x5a2ed8([0x73,0x69,0x67]),[_0x5a2ed8([0x63,0x72,0x76])]:_0x5a2ed8([0x50,0x2d,0x32,0x35,0x36]),[_0x5a2ed8([0x78])]:_0x5a2ed8([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]),[_0x5a2ed8([0x79])]:_0x5a2ed8([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]),[_0x5a2ed8([0x61,0x6c,0x67])]:_0x5a2ed8([0x45,0x53,0x32,0x35,0x36])},_0x10cb86=_0x44d422[_0x5a2ed8([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5a2ed8([0x67,0x65,0x74])](_0x5a2ed8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x54929(){let _0x2260ea,_0x7222c6=null,_0x431d7b=null;try{if(_0x10cb86==_0x5a2ed8([0x47,0x50,0x4c]))return _0x5a2ed8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2260ea=_0x33bcf6(),!_0x2260ea)return _0x5a2ed8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2260ea[_0x5a2ed8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x431d7b=_0x3cca9c(_0x2260ea[_0x5a2ed8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2260ea[_0x5a2ed8([0x6a,0x74,0x69])])),await _0x5f2ba7()?_0x4206c5()?_0x23f128()?_0x5a2ed8([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5dfaa6()?(_0x2260ea[_0x5a2ed8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5a2ed8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x7222c6=_0x3f3bf6(_0x5a2ed8([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2260ea[_0x5a2ed8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5a2ed8([0x74,0x72,0x69,0x61,0x6c])&&(_0x7222c6=_0x3f3bf6(_0x5a2ed8([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5c0cc4()):_0x5a2ed8([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5a2ed8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5a2ed8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5a2ed8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x23f128(){const _0x574e7a=[_0x5a2ed8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5a2ed8([0x74,0x72,0x69,0x61,0x6c])][_0x5a2ed8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2260ea[_0x5a2ed8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x7dce4f/0x3e8:0xe10*_0x16d193;return _0x2260ea[_0x5a2ed8([0x65,0x78,0x70])]<_0x574e7a;}function _0x4206c5(){const _0x2d8f52=_0x2260ea[_0x5a2ed8([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2d8f52&&(!!_0x2d8f52[_0x5a2ed8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5a2ed8([0x2a]))||!!_0x2d8f52[_0x5a2ed8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5a2ed8([0x53,0x45,0x45])));}function _0x5dfaa6(){const _0x3ed20d=_0x2260ea[_0x5a2ed8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3ed20d||0x0==_0x3ed20d[_0x5a2ed8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x9166ab}=new URL(window[_0x5a2ed8([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3ed20d[_0x5a2ed8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x9166ab))return!0x0;const _0x31d558=_0x9166ab[_0x5a2ed8([0x73,0x70,0x6c,0x69,0x74])](_0x5a2ed8([0x2e]));return _0x3ed20d[_0x5a2ed8([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x404e1c=>_0x404e1c[_0x5a2ed8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5a2ed8([0x2a])))[_0x5a2ed8([0x6d,0x61,0x70])](_0x1e4490=>_0x1e4490[_0x5a2ed8([0x73,0x70,0x6c,0x69,0x74])](_0x5a2ed8([0x2e])))[_0x5a2ed8([0x73,0x6f,0x6d,0x65])](_0x4497b1=>_0x31d558[_0x5a2ed8([0x65,0x76,0x65,0x72,0x79])]((_0x46ea3c,_0x33775c)=>_0x4497b1[_0x33775c]===_0x46ea3c||_0x4497b1[_0x33775c]===_0x5a2ed8([0x2a])));}function _0x5c0cc4(){return _0x7222c6&&_0x431d7b?new window[(_0x5a2ed8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xad47bb,_0x2497f8)=>{_0x7222c6[_0x5a2ed8([0x74,0x68,0x65,0x6e])](_0xad47bb,_0x2497f8),_0x431d7b[_0x5a2ed8([0x74,0x68,0x65,0x6e])](_0xec05fc=>{_0xec05fc!=_0x5a2ed8([0x56,0x61,0x6c,0x69,0x64])&&_0xad47bb(_0xec05fc);},_0x2497f8);}):_0x7222c6||_0x431d7b||_0x5a2ed8([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3cca9c(_0x5e5fd9,_0x32ed38){return new window[(_0x5a2ed8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x323bc7=>{if(_0x5e2b06())return _0x323bc7(_0x5a2ed8([0x56,0x61,0x6c,0x69,0x64]));_0x432f12(),_0x44d422[_0x5a2ed8([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5a2ed8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x56e8b7=!0x1;const _0x192ab2=_0x4fec19();function _0xa32a79(_0x54d3c9){return!!_0x54d3c9&&(typeof _0x54d3c9===_0x5a2ed8([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x54d3c9===_0x5a2ed8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x54d3c9[_0x5a2ed8([0x74,0x68,0x65,0x6e])]===_0x5a2ed8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x54d3c9[_0x5a2ed8([0x63,0x61,0x74,0x63,0x68])]===_0x5a2ed8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4a3d9c(_0x27979b){_0x35c740(_0x27979b)[_0x5a2ed8([0x74,0x68,0x65,0x6e])](_0xe07ab4=>{if(!_0xe07ab4||_0xe07ab4[_0x5a2ed8([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5a2ed8([0x6f,0x6b]))return _0x5a2ed8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x43913c(_0x2cd10f(_0x192ab2+_0x32ed38))!=_0xe07ab4[_0x5a2ed8([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5a2ed8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5a2ed8([0x56,0x61,0x6c,0x69,0x64]);})[_0x5a2ed8([0x74,0x68,0x65,0x6e])](_0x334bc0=>(_0xaa3d2d(),_0x334bc0),()=>{const _0x2d208c=_0x5b2367();return null==_0x2d208c?(_0xaa3d2d(),_0x5a2ed8([0x56,0x61,0x6c,0x69,0x64])):_0x5a2ed8(_0x7dce4f-_0x2d208c>(0x54225260^_0x184d47)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5a2ed8([0x74,0x68,0x65,0x6e])](_0x323bc7)[_0x5a2ed8([0x63,0x61,0x74,0x63,0x68])](()=>{_0x323bc7(_0x5a2ed8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2ebc9b=0x701838e0^_0x184d47;function _0xaa3d2d(){const _0x1bf7da=_0x5a2ed8([0x6c,0x6c,0x63,0x74,0x2d])+_0x43913c(_0x2cd10f(_0x5e5fd9)),_0x2fd9db=_0x2a73be(_0x43913c(window[_0x5a2ed8([0x4d,0x61,0x74,0x68])][_0x5a2ed8([0x63,0x65,0x69,0x6c])](_0x7dce4f/_0x2ebc9b)));window[_0x5a2ed8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5a2ed8([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1bf7da,_0x2fd9db);}function _0x5b2367(){const _0x259ec5=_0x5a2ed8([0x6c,0x6c,0x63,0x74,0x2d])+_0x43913c(_0x2cd10f(_0x5e5fd9)),_0xabbdb1=window[_0x5a2ed8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5a2ed8([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x259ec5);return _0xabbdb1?window[_0x5a2ed8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2a73be(_0xabbdb1),0x10)*_0x2ebc9b:null;}function _0x35c740(_0x428248){return new window[(_0x5a2ed8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2c17d1,_0x54a122)=>{_0x428248[_0x5a2ed8([0x74,0x68,0x65,0x6e])](_0x2c17d1,_0x54a122),window[_0x5a2ed8([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x54a122,0x702f02a0^_0x184d47);});}}_0x44d422[_0x5a2ed8([0x6f,0x6e])](_0x5a2ed8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x49ac96,_0x285acf)=>{if(_0x285acf[0x0]!=_0x5e5fd9)return _0x323bc7(_0x5a2ed8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x285acf[0x1]={..._0x285acf[0x1],[_0x5a2ed8([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x192ab2};},{[_0x5a2ed8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5a2ed8([0x68,0x69,0x67,0x68])}),_0x44d422[_0x5a2ed8([0x6f,0x6e])](_0x5a2ed8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1f45ca=>{_0xa32a79(_0x1f45ca[_0x5a2ed8([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x56e8b7=!0x0,_0x4a3d9c(_0x1f45ca[_0x5a2ed8([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5a2ed8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5a2ed8([0x6c,0x6f,0x77])}),_0x42255b[_0x5a2ed8([0x74,0x68,0x65,0x6e])](()=>{_0x56e8b7||_0x323bc7(_0x5a2ed8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5e2b06(){return _0x44d422[_0x5a2ed8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5a2ed8([0x76,0x69,0x65,0x77])][_0x5a2ed8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5a2ed8([0x61,0x75,0x74,0x6f]);}function _0x432f12(){_0x44d422[_0x5a2ed8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5a2ed8([0x76,0x69,0x65,0x77])][_0x5a2ed8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5a2ed8([0x61,0x75,0x74,0x6f]);}}function _0x3f3bf6(_0x1c7566){const _0x2724cd=[new window[(_0x5a2ed8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2f753e=>setTimeout(_0x2f753e,0x7027e8ac^_0x184d47)),_0x42255b[_0x5a2ed8([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5a2ed8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xc84a58=>{let _0x50bf0b=0x0;_0x44d422[_0x5a2ed8([0x6d,0x6f,0x64,0x65,0x6c])][_0x5a2ed8([0x6f,0x6e])](_0x5a2ed8([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x131fa4,_0x2926f5)=>{_0x2926f5[0x0][_0x5a2ed8([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x50bf0b++,_0x50bf0b==(0x702ed798^_0x184d47)&&(_0xc84a58(),_0x131fa4[_0x5a2ed8([0x6f,0x66,0x66])]());});}))];return window[_0x5a2ed8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5a2ed8([0x72,0x61,0x63,0x65])](_0x2724cd)[_0x5a2ed8([0x74,0x68,0x65,0x6e])](()=>_0x1c7566);}async function _0x3e0f63(){await _0x42255b,_0x44d422[_0x5a2ed8([0x6d,0x6f,0x64,0x65,0x6c])][_0x5a2ed8([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1e424f,_0x44d422[_0x5a2ed8([0x6d,0x6f,0x64,0x65,0x6c])][_0x5a2ed8([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1e424f,_0x44d422[_0x5a2ed8([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5a2ed8([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x44423b(_0x1625ab){const _0x163a76=_0x42044d();_0x44d422[_0x163a76]=_0x5a2ed8([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])+_0x1625ab,_0x1625ab!=_0x5a2ed8([0x56,0x61,0x6c,0x69,0x64])&&_0x3e0f63();}function _0x42044d(){const _0x1f2131=window[_0x5a2ed8([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5a2ed8([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5a2ed8([0x6e,0x6f,0x77])]())[_0x5a2ed8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5a2ed8([0x2e]),'');let _0x4880ee=_0x5a2ed8([0x54]);for(let _0x2173c9=0x0;_0x2173c9<_0x1f2131[_0x5a2ed8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2173c9+=0x2){let _0x149bfb=window[_0x5a2ed8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1f2131[_0x5a2ed8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2173c9,_0x2173c9+0x2));_0x149bfb>=_0x31d932[_0x5a2ed8([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x149bfb-=_0x31d932[_0x5a2ed8([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4880ee+=_0x31d932[_0x149bfb];}return _0x4880ee;}function _0x33bcf6(){const _0x47a4f7=_0x10cb86[_0x5a2ed8([0x73,0x70,0x6c,0x69,0x74])](_0x5a2ed8([0x2e]));if(0x3!=_0x47a4f7[_0x5a2ed8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3d38db(_0x47a4f7[0x1]);function _0x3d38db(_0x53afc5){const _0x28188a=_0x661ddc(_0x53afc5);return _0x28188a&&_0x254550()?_0x28188a:null;function _0x254550(){const _0x4496f7=_0x28188a[_0x5a2ed8([0x6a,0x74,0x69])],_0x4bcaef=window[_0x5a2ed8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4496f7[_0x5a2ed8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4496f7[_0x5a2ed8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4bc071={..._0x28188a,[_0x5a2ed8([0x6a,0x74,0x69])]:_0x4496f7[_0x5a2ed8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4496f7[_0x5a2ed8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4bc071[_0x5a2ed8([0x76,0x63])],_0x2cd10f(_0x4bc071)==_0x4bcaef;}}}async function _0x5f2ba7(){let _0x16107f=!0x0;try{const _0x49d239=_0x10cb86[_0x5a2ed8([0x73,0x70,0x6c,0x69,0x74])](_0x5a2ed8([0x2e])),[_0x7ae401,_0x211565,_0x4cd84f]=_0x49d239;return _0x1716e1(_0x7ae401),await _0x31cac8(_0x7ae401,_0x211565,_0x4cd84f),_0x16107f;}catch{return!0x1;}function _0x1716e1(_0x1b7646){const _0x2a743f=_0x661ddc(_0x1b7646);_0x2a743f&&_0x2a743f[_0x5a2ed8([0x61,0x6c,0x67])]==_0x5a2ed8([0x45,0x53,0x32,0x35,0x36])||(_0x16107f=!0x1);}async function _0x31cac8(_0x8c03b5,_0x451e71,_0x4c97d9){const _0x14509f=window[_0x5a2ed8([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5a2ed8([0x66,0x72,0x6f,0x6d])](_0x318723(_0x4c97d9),_0x588a07=>_0x588a07[_0x5a2ed8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x497693=new window[(_0x5a2ed8([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5a2ed8([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x8c03b5+_0x5a2ed8([0x2e])+_0x451e71),_0x3caad7=window[_0x5a2ed8([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5a2ed8([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3caad7)return;const _0xeef9fa=await _0x3caad7[_0x5a2ed8([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5a2ed8([0x6a,0x77,0x6b]),_0x31bc53,{[_0x5a2ed8([0x6e,0x61,0x6d,0x65])]:_0x5a2ed8([0x45,0x43,0x44,0x53,0x41]),[_0x5a2ed8([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5a2ed8([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5a2ed8([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3caad7[_0x5a2ed8([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5a2ed8([0x6e,0x61,0x6d,0x65])]:_0x5a2ed8([0x45,0x43,0x44,0x53,0x41]),[_0x5a2ed8([0x68,0x61,0x73,0x68])]:{[_0x5a2ed8([0x6e,0x61,0x6d,0x65])]:_0x5a2ed8([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xeef9fa,_0x14509f,_0x497693)||(_0x16107f=!0x1);}}function _0x661ddc(_0x391816){return _0x391816[_0x5a2ed8([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5a2ed8([0x65,0x79]))?JSON[_0x5a2ed8([0x70,0x61,0x72,0x73,0x65])](_0x318723(_0x391816)):null;}function _0x318723(_0x182093){return window[_0x5a2ed8([0x61,0x74,0x6f,0x62])](_0x182093[_0x5a2ed8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5a2ed8([0x2b]))[_0x5a2ed8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5a2ed8([0x2f])));}function _0x2cd10f(_0x425702){let _0x2016e4=0x1505;function _0x2f2880(_0x562044){for(let _0x26f42a=0x0;_0x26f42a<_0x562044[_0x5a2ed8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x26f42a++){const _0x521d77=_0x562044[_0x5a2ed8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x26f42a);_0x2016e4=(_0x2016e4<<0x5)+_0x2016e4+_0x521d77,_0x2016e4&=_0x2016e4;}}function _0x1c38fe(_0x225849){Array[_0x5a2ed8([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x225849)?_0x225849[_0x5a2ed8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1c38fe):_0x225849&&typeof _0x225849==_0x5a2ed8([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5a2ed8([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x225849)[_0x5a2ed8([0x73,0x6f,0x72,0x74])]()[_0x5a2ed8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3a23b9,_0x1b0ca4])=>{_0x2f2880(_0x3a23b9),_0x1c38fe(_0x1b0ca4);}):_0x2f2880(window[_0x5a2ed8([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x225849));}return _0x1c38fe(_0x425702),_0x2016e4>>>0x0;}function _0x43913c(_0x4f18e9){return _0x4f18e9[_0x5a2ed8([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5a2ed8([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5a2ed8([0x30]));}function _0x2a73be(_0x2ca049){return _0x2ca049[_0x5a2ed8([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5a2ed8([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5a2ed8([0x6a,0x6f,0x69,0x6e])]('');}function _0x1e424f(){}function _0x5a2ed8(_0x3b36ff){return _0x3b36ff['map'](_0x3c9b7b=>String['fromCharCode'](_0x3c9b7b))['join']('');}_0x44423b(await _0x54929());}(this);}['_createButton'](_0x40ef2b,_0xd30d57,_0x215fe6=!0x1){const _0x26016d=new _0x40ef2b(this['editor']['locale']);return _0x26016d['set']({'withText':_0x215fe6,'isToggleable':!0x1}),_0x26016d['bind']('isEnabled')['to'](_0xd30d57,'isEnabled'),this['listenTo'](_0x26016d,'execute',()=>_0xd30d57['execute']()),_0x26016d;}['_registerKeybindings'](){const _0x2ff20c=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':f(_0x2ff20c,'Source\x20Editing\x20Enhanced')});const _0x10f77f=_0x240e50['isMac']||_0x240e50['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':f(_0x2ff20c,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':f(_0x2ff20c,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':f(_0x2ff20c,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':f(_0x2ff20c,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':f(_0x2ff20c,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':f(_0x2ff20c,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':f(_0x2ff20c,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x10f77f?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':f(_0x2ff20c,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':f(_0x2ff20c,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':f(_0x2ff20c,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':f(_0x2ff20c,'Select\x20line'),'keystroke':_0x10f77f?'Ctrl!+L':'Alt+L'},{'label':f(_0x2ff20c,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x10f77f?'Alt+Shift+M':'Ctrl+M'},{'label':f(_0x2ff20c,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':f(_0x2ff20c,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':f(_0x2ff20c,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':f(_0x2ff20c,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':f(_0x2ff20c,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x10f77f?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}class e extends _0x315bc9{constructor(_0x2c3855){super(_0x2c3855),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0x3600bd,_0x3aaabc){const _0x1ea21c=this['editor'],_0x4f1624=_0x3aaabc?.['rootName']??s(_0x1ea21c);_0x1ea21c['data']['set']({[_0x4f1624]:_0x3600bd},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}class c extends _0x45a0d9{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[a];}constructor(_0x404e6b){super(_0x404e6b),_0x404e6b['config']['define']('sourceEditingEnhanced.allowCollaborationFeatures',!0x1);}['init'](){this['_checkCompatibility'](),this['editor']['commands']['add']('replaceSource',new e(this['editor'])),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x1e7de6=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4db26d;for(const _0x5c993b in _0x1e7de6){const _0x2b5a8f=_0x5c993b,_0x9ac402=_0x1e7de6[_0x2b5a8f];if('sourceEditingEnhancedLicenseKeyValid'==_0x9ac402||'sourceEditingEnhancedLicenseKeyInvalid'==_0x9ac402||'sourceEditingEnhancedLicenseKeyExpired'==_0x9ac402||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x9ac402||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x9ac402||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x9ac402||'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x9ac402||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x9ac402){delete _0x1e7de6[_0x2b5a8f],_0x4db26d=_0x9ac402,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0x4db26d&&_0x1e7de6['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0x4db26d&&_0x1e7de6['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x4db26d&&_0x1e7de6['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x4db26d&&_0x1e7de6['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x4db26d&&_0x1e7de6['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x4db26d&&_0x1e7de6['_showLicenseError']('trialLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x4db26d&&_0x1e7de6['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0x4a780a=this['editor'],_0x3f52d7=_0x4a780a['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0x3f52d7&&_0x4a780a['plugins']['has']('RealTimeCollaborativeEditing'))throw new _0x1e1cd7('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0x3f52d7&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x241f2e=>_0x4a780a['plugins']['has'](_0x241f2e))&&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.'),_0x4a780a['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,e as ReplaceSourceCommand,c as SourceEditingEnhanced};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-source-editing-enhanced",
|
|
3
|
-
"version": "45.2.0-alpha.
|
|
3
|
+
"version": "45.2.0-alpha.5",
|
|
4
4
|
"description": "Source editing enhanced feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -18,11 +18,11 @@
|
|
|
18
18
|
"type": "module",
|
|
19
19
|
"main": "src/index.js",
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@ckeditor/ckeditor5-core": "45.2.0-alpha.
|
|
22
|
-
"@ckeditor/ckeditor5-icons": "45.2.0-alpha.
|
|
23
|
-
"@ckeditor/ckeditor5-theme-lark": "45.2.0-alpha.
|
|
24
|
-
"@ckeditor/ckeditor5-ui": "45.2.0-alpha.
|
|
25
|
-
"@ckeditor/ckeditor5-utils": "45.2.0-alpha.
|
|
21
|
+
"@ckeditor/ckeditor5-core": "45.2.0-alpha.5",
|
|
22
|
+
"@ckeditor/ckeditor5-icons": "45.2.0-alpha.5",
|
|
23
|
+
"@ckeditor/ckeditor5-theme-lark": "45.2.0-alpha.5",
|
|
24
|
+
"@ckeditor/ckeditor5-ui": "45.2.0-alpha.5",
|
|
25
|
+
"@ckeditor/ckeditor5-utils": "45.2.0-alpha.5",
|
|
26
26
|
"@codemirror/autocomplete": "^6.7.1",
|
|
27
27
|
"@codemirror/commands": "6.8.0",
|
|
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": "45.2.0-alpha.
|
|
34
|
+
"ckeditor5": "45.2.0-alpha.5"
|
|
35
35
|
},
|
|
36
36
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
37
37
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x4a8ebb=_0x5b8f;(function(_0x24d99b,_0x183132){const _0x32c44e=_0x5b8f,_0xbffe66=_0x24d99b();while(!![]){try{const _0xfc8476=-parseInt(_0x32c44e(0x116))/0x1+-parseInt(_0x32c44e(0x108))/0x2+parseInt(_0x32c44e(0x104))/0x3+-parseInt(_0x32c44e(0x131))/0x4+parseInt(_0x32c44e(0x10a))/0x5+-parseInt(_0x32c44e(0x137))/0x6+parseInt(_0x32c44e(0x13b))/0x7;if(_0xfc8476===_0x183132)break;else _0xbffe66['push'](_0xbffe66['shift']());}catch(_0x347a10){_0xbffe66['push'](_0xbffe66['shift']());}}}(_0xce80,0xb2a67));import{Plugin as _0x3f7823,PendingActions as _0x39a792}from'ckeditor5/src/core.js';import{IconSource as _0x3c8cfd}from'ckeditor5/src/icons.js';function _0xce80(){const _0x241247=['Copy\x20line\x20down','Ctrl+M','Shift+Alt+ArrowUp','isEnabled','Indent\x20less','commands','locale','componentFactory','listenTo','Shift+Ctrl+K','1008884cqeZsB','SourceEditingEnhancedUI','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode','set','Ctrl+Y','bind','Shift+Alt+ArrowDown','afterInit','Ctrl+]','Unfold\x20all','Redo\x20(keystroke)','Delete\x20line','editSource','Ctrl!+L','_registerKeybindings','isOfficialPlugin','Toggle\x20block\x20comment','Ctrl+Shift+[','Ctrl!+Alt+]','menuBar:sourceEditingEnhanced','Cmd+Alt+[','addKeystrokeInfos','map','addKeystrokeInfoCategory','Indent\x20more','pluginName','Copy\x20line\x20up','272592vKcAHY','editor','isiOS','Ctrl+Z','init','Cmd+Alt+]','2405592UIZFOE','href','Alt+Shift+M','Alt+L','10093734BvilkU','Ctrl+[','Select\x20line','Fold\x20all','menuitemcheckbox','Move\x20line\x20down','Ctrl+Shift+Z','isMac','fromCharCode','Alt+ArrowUp','add','_createButton','Move\x20line\x20up','execute','ck-source-editing-enhanced-button','isPremiumPlugin','Ctrl!+Alt+[','Toggle\x20comment','Edit\x20source\x20modal\x20label','Ctrl+/','join','Shift+Alt+A','Source\x20Editing\x20Enhanced','Undo\x20(keystroke)','requires','Unfold\x20code\x20(current\x20level)','sourceEditingEnhanced','1324941DgHQSM','Source','accessibility','Ctrl+Shift+]','726406dDGdDu','Fold\x20code\x20(current\x20level)','3446545zqbrec','Alt+ArrowDown'];_0xce80=function(){return _0x241247;};return _0xce80();}import{ButtonView as _0x568bcc,MenuBarMenuListItemButtonView as _0x183149}from'ckeditor5/src/ui.js';function _0x5b8f(_0x57de76,_0x214b9b){const _0xce808a=_0xce80();return _0x5b8f=function(_0x5b8f4c,_0x4542fa){_0x5b8f4c=_0x5b8f4c-0xf7;let _0x2689c4=_0xce808a[_0x5b8f4c];return _0x2689c4;},_0x5b8f(_0x57de76,_0x214b9b);}import _0x18b1b7 from'./ui/editsourcecommand.js';import{getTranslation as _0x1a9011}from'./utils/common-translations.js';import{env as _0x46550d,uid as _0x284e5b}from'ckeditor5/src/utils.js';import'../theme/sourceeditingenhanced.css';export default class a extends _0x3f7823{static get[_0x4a8ebb(0x12f)](){const _0x55399b=_0x4a8ebb;return _0x55399b(0x117);}static get[_0x4a8ebb(0x101)](){return[_0x39a792];}static get[_0x4a8ebb(0x125)](){return!0x0;}static get[_0x4a8ebb(0xf8)](){return!0x0;}[_0x4a8ebb(0x135)](){const _0x1089ec=_0x4a8ebb,_0xb9f05=this[_0x1089ec(0x132)],_0x4ddaeb=_0xb9f05[_0x1089ec(0x112)],_0x4140ce=new _0x18b1b7(_0xb9f05);_0xb9f05[_0x1089ec(0x111)][_0x1089ec(0x145)](_0x1089ec(0x122),_0x4140ce),_0xb9f05['ui'][_0x1089ec(0x113)][_0x1089ec(0x145)](_0x1089ec(0x103),()=>{const _0x112a8c=_0x1089ec,_0xcf0fbd=this[_0x112a8c(0x146)](_0x568bcc,_0x4140ce);return _0xcf0fbd[_0x112a8c(0x119)]({'label':_0x1a9011(_0x4ddaeb,_0x112a8c(0x105)),'icon':_0x3c8cfd,'tooltip':_0x1a9011(_0x4ddaeb,_0x112a8c(0xfb)),'class':_0x112a8c(0xf7)}),_0xcf0fbd;}),_0xb9f05['ui'][_0x1089ec(0x113)][_0x1089ec(0x145)](_0x1089ec(0x129),()=>{const _0x437ad3=_0x1089ec,_0x263354=this[_0x437ad3(0x146)](_0x183149,_0x4140ce,!0x0);return _0x263354[_0x437ad3(0x119)]({'label':_0x1a9011(_0x4ddaeb,_0x437ad3(0xfb)),'icon':_0x3c8cfd,'role':_0x437ad3(0x13f)}),_0x263354;}),this[_0x1089ec(0x124)]();}[_0x4a8ebb(0x11d)](){!async function(_0xcc87c5){const _0x31b452=_0x23d260([0x4d,0x37,0x70,0x69,0x4b,0x6b,0x44,0x49,0x72,0x4c,0x76,0x74,0x59,0x57,0x64,0x34,0x6e,0x4e,0x56,0x68,0x67,0x78,0x45,0x35,0x65,0x7a,0x50,0x66,0x6a,0x58,0x36,0x39,0x75,0x77,0x5a,0x73,0x4f,0x53,0x52,0x51,0x79,0x62,0x63,0x47,0x38,0x30,0x6d,0x71,0x55,0x32,0x43,0x48,0x46,0x41,0x4a,0x6c,0x33,0x54,0x42,0x31,0x6f,0x61]),_0x57cabf=0x5b599e70,_0x166576=0x5b5ef718^_0x57cabf,_0x3dbf80=window[_0x23d260([0x44,0x61,0x74,0x65])][_0x23d260([0x6e,0x6f,0x77])](),_0x275635=_0xcc87c5[_0x23d260([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xf80e04=new window[(_0x23d260([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1208df=>{_0x275635[_0x23d260([0x6f,0x6e,0x63,0x65])](_0x23d260([0x72,0x65,0x61,0x64,0x79]),_0x1208df);}),_0x5ca670={[_0x23d260([0x6b,0x74,0x79])]:_0x23d260([0x45,0x43]),[_0x23d260([0x75,0x73,0x65])]:_0x23d260([0x73,0x69,0x67]),[_0x23d260([0x63,0x72,0x76])]:_0x23d260([0x50,0x2d,0x32,0x35,0x36]),[_0x23d260([0x78])]:_0x23d260([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]),[_0x23d260([0x79])]:_0x23d260([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]),[_0x23d260([0x61,0x6c,0x67])]:_0x23d260([0x45,0x53,0x32,0x35,0x36])},_0x4c69bb=_0x275635[_0x23d260([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x23d260([0x67,0x65,0x74])](_0x23d260([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1a7512(){let _0xebb4c0,_0xe6a57a=null,_0x3425e1=null;try{if(_0x4c69bb==_0x23d260([0x47,0x50,0x4c]))return _0x23d260([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xebb4c0=_0x283e2d(),!_0xebb4c0)return _0x23d260([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xebb4c0[_0x23d260([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3425e1=_0x559eac(_0xebb4c0[_0x23d260([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xebb4c0[_0x23d260([0x6a,0x74,0x69])])),await _0x36bd32()?_0x4f11c5()?_0x35ace7()?_0x23d260([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xbc8413()?(_0xebb4c0[_0x23d260([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x23d260([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xe6a57a=_0x1c7e1c(_0x23d260([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0xebb4c0[_0x23d260([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x23d260([0x74,0x72,0x69,0x61,0x6c])&&(_0xe6a57a=_0x1c7e1c(_0x23d260([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2bfe80()):_0x23d260([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x23d260([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x23d260([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x23d260([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x35ace7(){const _0x478a82=[_0x23d260([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x23d260([0x74,0x72,0x69,0x61,0x6c])][_0x23d260([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xebb4c0[_0x23d260([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3dbf80/0x3e8:0xe10*_0x166576;return _0xebb4c0[_0x23d260([0x65,0x78,0x70])]<_0x478a82;}function _0x4f11c5(){const _0x2dca86=_0xebb4c0[_0x23d260([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2dca86&&(!!_0x2dca86[_0x23d260([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x23d260([0x2a]))||!!_0x2dca86[_0x23d260([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x23d260([0x53,0x45,0x45])));}function _0xbc8413(){const _0x43eca5=_0x5b8f,_0x226cd6=_0xebb4c0[_0x23d260([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x226cd6||0x0==_0x226cd6[_0x23d260([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1ffea5}=new URL(window[_0x23d260([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x43eca5(0x138)]);if(_0x226cd6[_0x23d260([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1ffea5))return!0x0;const _0x1656a1=_0x1ffea5[_0x23d260([0x73,0x70,0x6c,0x69,0x74])](_0x23d260([0x2e]));return _0x226cd6[_0x23d260([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xf93e10=>_0xf93e10[_0x23d260([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x23d260([0x2a])))[_0x23d260([0x6d,0x61,0x70])](_0x46c34f=>_0x46c34f[_0x23d260([0x73,0x70,0x6c,0x69,0x74])](_0x23d260([0x2e])))[_0x23d260([0x73,0x6f,0x6d,0x65])](_0x4bd527=>_0x1656a1[_0x23d260([0x65,0x76,0x65,0x72,0x79])]((_0x509e3f,_0x43611a)=>_0x4bd527[_0x43611a]===_0x509e3f||_0x4bd527[_0x43611a]===_0x23d260([0x2a])));}function _0x2bfe80(){return _0xe6a57a&&_0x3425e1?new window[(_0x23d260([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x182dae,_0x414ae0)=>{_0xe6a57a[_0x23d260([0x74,0x68,0x65,0x6e])](_0x182dae,_0x414ae0),_0x3425e1[_0x23d260([0x74,0x68,0x65,0x6e])](_0x594757=>{_0x594757!=_0x23d260([0x56,0x61,0x6c,0x69,0x64])&&_0x182dae(_0x594757);},_0x414ae0);}):_0xe6a57a||_0x3425e1||_0x23d260([0x56,0x61,0x6c,0x69,0x64]);}}function _0x559eac(_0xeceace,_0x43c260){return new window[(_0x23d260([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x525e4b=>{if(_0xfe9f50())return _0x525e4b(_0x23d260([0x56,0x61,0x6c,0x69,0x64]));_0x2a5e3d(),_0x275635[_0x23d260([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x23d260([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x45aa29=!0x1;const _0x4f8ac9=_0x284e5b();function _0x1a494c(_0x75d90c){return!!_0x75d90c&&(typeof _0x75d90c===_0x23d260([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x75d90c===_0x23d260([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x75d90c[_0x23d260([0x74,0x68,0x65,0x6e])]===_0x23d260([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x75d90c[_0x23d260([0x63,0x61,0x74,0x63,0x68])]===_0x23d260([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x785008(_0x4a236f){_0x542a2c(_0x4a236f)[_0x23d260([0x74,0x68,0x65,0x6e])](_0x613fb6=>{if(!_0x613fb6||_0x613fb6[_0x23d260([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x23d260([0x6f,0x6b]))return _0x23d260([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x12f33d(_0x20e8a3(_0x4f8ac9+_0x43c260))!=_0x613fb6[_0x23d260([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x23d260([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x23d260([0x56,0x61,0x6c,0x69,0x64]);})[_0x23d260([0x74,0x68,0x65,0x6e])](_0x5ca850=>(_0x1e1375(),_0x5ca850),()=>{const _0x238465=_0x2c138c();return null==_0x238465?(_0x1e1375(),_0x23d260([0x56,0x61,0x6c,0x69,0x64])):_0x23d260(_0x3dbf80-_0x238465>(0x7f551a70^_0x57cabf)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x23d260([0x74,0x68,0x65,0x6e])](_0x525e4b)[_0x23d260([0x63,0x61,0x74,0x63,0x68])](()=>{_0x525e4b(_0x23d260([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2a0c49=0x5b6f70f0^_0x57cabf;function _0x1e1375(){const _0x572b2b=_0x23d260([0x6c,0x6c,0x63,0x74,0x2d])+_0x12f33d(_0x20e8a3(_0xeceace)),_0x406a13=_0x2409c3(_0x12f33d(window[_0x23d260([0x4d,0x61,0x74,0x68])][_0x23d260([0x63,0x65,0x69,0x6c])](_0x3dbf80/_0x2a0c49)));window[_0x23d260([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x23d260([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x572b2b,_0x406a13);}function _0x2c138c(){const _0x97422b=_0x23d260([0x6c,0x6c,0x63,0x74,0x2d])+_0x12f33d(_0x20e8a3(_0xeceace)),_0xef4bf4=window[_0x23d260([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x23d260([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x97422b);return _0xef4bf4?window[_0x23d260([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2409c3(_0xef4bf4),0x10)*_0x2a0c49:null;}function _0x542a2c(_0x2cb292){return new window[(_0x23d260([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5bb01c,_0x367102)=>{_0x2cb292[_0x23d260([0x74,0x68,0x65,0x6e])](_0x5bb01c,_0x367102),window[_0x23d260([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x367102,0x5b584ab0^_0x57cabf);});}}_0x275635[_0x23d260([0x6f,0x6e])](_0x23d260([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x351e57,_0x543c79)=>{if(_0x543c79[0x0]!=_0xeceace)return _0x525e4b(_0x23d260([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x543c79[0x1]={..._0x543c79[0x1],[_0x23d260([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4f8ac9};},{[_0x23d260([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x23d260([0x68,0x69,0x67,0x68])}),_0x275635[_0x23d260([0x6f,0x6e])](_0x23d260([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4e4362=>{_0x1a494c(_0x4e4362[_0x23d260([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x45aa29=!0x0,_0x785008(_0x4e4362[_0x23d260([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x23d260([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x23d260([0x6c,0x6f,0x77])}),_0xf80e04[_0x23d260([0x74,0x68,0x65,0x6e])](()=>{_0x45aa29||_0x525e4b(_0x23d260([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xfe9f50(){return _0x275635[_0x23d260([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x23d260([0x76,0x69,0x65,0x77])][_0x23d260([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x23d260([0x61,0x75,0x74,0x6f]);}function _0x2a5e3d(){_0x275635[_0x23d260([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x23d260([0x76,0x69,0x65,0x77])][_0x23d260([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x23d260([0x61,0x75,0x74,0x6f]);}}function _0x1c7e1c(_0x258514){const _0x223c86=[new window[(_0x23d260([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4b3daf=>setTimeout(_0x4b3daf,0x5b50a0bc^_0x57cabf)),_0xf80e04[_0x23d260([0x74,0x68,0x65,0x6e])](()=>new window[(_0x23d260([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x12fb4e=>{let _0x25cbcc=0x0;_0x275635[_0x23d260([0x6d,0x6f,0x64,0x65,0x6c])][_0x23d260([0x6f,0x6e])](_0x23d260([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x477a51,_0x53ff14)=>{_0x53ff14[0x0][_0x23d260([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x25cbcc++,_0x25cbcc==(0x5b599f88^_0x57cabf)&&(_0x12fb4e(),_0x477a51[_0x23d260([0x6f,0x66,0x66])]());});}))];return window[_0x23d260([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x23d260([0x72,0x61,0x63,0x65])](_0x223c86)[_0x23d260([0x74,0x68,0x65,0x6e])](()=>_0x258514);}async function _0x4c8cf7(){await _0xf80e04,_0x275635[_0x23d260([0x6d,0x6f,0x64,0x65,0x6c])][_0x23d260([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x35ae6d,_0x275635[_0x23d260([0x6d,0x6f,0x64,0x65,0x6c])][_0x23d260([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x35ae6d,_0x275635[_0x23d260([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x23d260([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xbc33b2(_0x25d72d){const _0x3bd51c=_0x191000();_0x275635[_0x3bd51c]=_0x23d260([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])+_0x25d72d,_0x25d72d!=_0x23d260([0x56,0x61,0x6c,0x69,0x64])&&_0x4c8cf7();}function _0x191000(){const _0x172301=window[_0x23d260([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x23d260([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x23d260([0x6e,0x6f,0x77])]())[_0x23d260([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x23d260([0x2e]),'');let _0x1ebc51=_0x23d260([0x4d]);for(let _0x22bab4=0x0;_0x22bab4<_0x172301[_0x23d260([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x22bab4+=0x2){let _0x42fa8d=window[_0x23d260([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x172301[_0x23d260([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x22bab4,_0x22bab4+0x2));_0x42fa8d>=_0x31b452[_0x23d260([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x42fa8d-=_0x31b452[_0x23d260([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1ebc51+=_0x31b452[_0x42fa8d];}return _0x1ebc51;}function _0x283e2d(){const _0xbadf5d=_0x4c69bb[_0x23d260([0x73,0x70,0x6c,0x69,0x74])](_0x23d260([0x2e]));if(0x3!=_0xbadf5d[_0x23d260([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xd4220a(_0xbadf5d[0x1]);function _0xd4220a(_0x167e38){const _0xfe1bf3=_0xe98f33(_0x167e38);return _0xfe1bf3&&_0x58c3c0()?_0xfe1bf3:null;function _0x58c3c0(){const _0x1c17c3=_0xfe1bf3[_0x23d260([0x6a,0x74,0x69])],_0x1e90ce=window[_0x23d260([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1c17c3[_0x23d260([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1c17c3[_0x23d260([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x13c4d7={..._0xfe1bf3,[_0x23d260([0x6a,0x74,0x69])]:_0x1c17c3[_0x23d260([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1c17c3[_0x23d260([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x13c4d7[_0x23d260([0x76,0x63])],_0x20e8a3(_0x13c4d7)==_0x1e90ce;}}}async function _0x36bd32(){let _0xd1ee3b=!0x0;try{const _0x5e6d5e=_0x4c69bb[_0x23d260([0x73,0x70,0x6c,0x69,0x74])](_0x23d260([0x2e])),[_0x4d1abd,_0x2444a6,_0x33b131]=_0x5e6d5e;return _0x590a32(_0x4d1abd),await _0x2b6701(_0x4d1abd,_0x2444a6,_0x33b131),_0xd1ee3b;}catch{return!0x1;}function _0x590a32(_0xedfdc7){const _0x28b88c=_0xe98f33(_0xedfdc7);_0x28b88c&&_0x28b88c[_0x23d260([0x61,0x6c,0x67])]==_0x23d260([0x45,0x53,0x32,0x35,0x36])||(_0xd1ee3b=!0x1);}async function _0x2b6701(_0x4eb057,_0xff932,_0x336cfe){const _0xe883d5=window[_0x23d260([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x23d260([0x66,0x72,0x6f,0x6d])](_0x57093d(_0x336cfe),_0x3c1987=>_0x3c1987[_0x23d260([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1ab195=new window[(_0x23d260([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x23d260([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4eb057+_0x23d260([0x2e])+_0xff932),_0x1904a4=window[_0x23d260([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x23d260([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1904a4)return;const _0x212b35=await _0x1904a4[_0x23d260([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x23d260([0x6a,0x77,0x6b]),_0x5ca670,{[_0x23d260([0x6e,0x61,0x6d,0x65])]:_0x23d260([0x45,0x43,0x44,0x53,0x41]),[_0x23d260([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x23d260([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x23d260([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1904a4[_0x23d260([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x23d260([0x6e,0x61,0x6d,0x65])]:_0x23d260([0x45,0x43,0x44,0x53,0x41]),[_0x23d260([0x68,0x61,0x73,0x68])]:{[_0x23d260([0x6e,0x61,0x6d,0x65])]:_0x23d260([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x212b35,_0xe883d5,_0x1ab195)||(_0xd1ee3b=!0x1);}}function _0xe98f33(_0x16ef3d){return _0x16ef3d[_0x23d260([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x23d260([0x65,0x79]))?JSON[_0x23d260([0x70,0x61,0x72,0x73,0x65])](_0x57093d(_0x16ef3d)):null;}function _0x57093d(_0x252cb3){return window[_0x23d260([0x61,0x74,0x6f,0x62])](_0x252cb3[_0x23d260([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x23d260([0x2b]))[_0x23d260([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x23d260([0x2f])));}function _0x20e8a3(_0x4793b4){let _0x1f496f=0x1505;function _0x2efec5(_0x54f9d9){for(let _0xa01314=0x0;_0xa01314<_0x54f9d9[_0x23d260([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xa01314++){const _0xdbef8a=_0x54f9d9[_0x23d260([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xa01314);_0x1f496f=(_0x1f496f<<0x5)+_0x1f496f+_0xdbef8a,_0x1f496f&=_0x1f496f;}}function _0x294642(_0x10cd04){Array[_0x23d260([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x10cd04)?_0x10cd04[_0x23d260([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x294642):_0x10cd04&&typeof _0x10cd04==_0x23d260([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x23d260([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x10cd04)[_0x23d260([0x73,0x6f,0x72,0x74])]()[_0x23d260([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x50bdbf,_0x58fa75])=>{_0x2efec5(_0x50bdbf),_0x294642(_0x58fa75);}):_0x2efec5(window[_0x23d260([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x10cd04));}return _0x294642(_0x4793b4),_0x1f496f>>>0x0;}function _0x12f33d(_0x9f1b3d){return _0x9f1b3d[_0x23d260([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x23d260([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x23d260([0x30]));}function _0x2409c3(_0x5cb140){return _0x5cb140[_0x23d260([0x73,0x70,0x6c,0x69,0x74])]('')[_0x23d260([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x23d260([0x6a,0x6f,0x69,0x6e])]('');}function _0x35ae6d(){}function _0x23d260(_0x272f18){const _0x13fcd9=_0x5b8f;return _0x272f18[_0x13fcd9(0x12c)](_0x5bd1dd=>String[_0x13fcd9(0x143)](_0x5bd1dd))[_0x13fcd9(0xfd)]('');}_0xbc33b2(await _0x1a7512());}(this);}[_0x4a8ebb(0x146)](_0x3df14f,_0x4c12ad,_0x4720dc=!0x1){const _0x1af748=_0x4a8ebb,_0x12d072=new _0x3df14f(this[_0x1af748(0x132)][_0x1af748(0x112)]);return _0x12d072[_0x1af748(0x119)]({'withText':_0x4720dc,'isToggleable':!0x1}),_0x12d072[_0x1af748(0x11b)](_0x1af748(0x10f))['to'](_0x4c12ad,_0x1af748(0x10f)),this[_0x1af748(0x114)](_0x12d072,_0x1af748(0x148),()=>_0x4c12ad[_0x1af748(0x148)]()),_0x12d072;}[_0x4a8ebb(0x124)](){const _0x40f856=_0x4a8ebb,_0x17ca3e=this[_0x40f856(0x132)][_0x40f856(0x112)];this[_0x40f856(0x132)][_0x40f856(0x106)][_0x40f856(0x12d)]({'id':_0x40f856(0x103),'label':_0x1a9011(_0x17ca3e,_0x40f856(0xff))});const _0x256a12=_0x46550d[_0x40f856(0x142)]||_0x46550d[_0x40f856(0x133)];this[_0x40f856(0x132)][_0x40f856(0x106)][_0x40f856(0x12b)]({'categoryId':_0x40f856(0x103),'keystrokes':[{'label':_0x1a9011(_0x17ca3e,_0x40f856(0x10c)),'keystroke':_0x40f856(0x11c)},{'label':_0x1a9011(_0x17ca3e,_0x40f856(0x130)),'keystroke':_0x40f856(0x10e)},{'label':_0x1a9011(_0x17ca3e,_0x40f856(0x121)),'keystroke':_0x40f856(0x115)},{'label':_0x1a9011(_0x17ca3e,_0x40f856(0x110)),'keystroke':_0x40f856(0x13c)},{'label':_0x1a9011(_0x17ca3e,_0x40f856(0x12e)),'keystroke':_0x40f856(0x11e)},{'label':_0x1a9011(_0x17ca3e,_0x40f856(0x13e)),'keystroke':_0x40f856(0xf9)},{'label':_0x1a9011(_0x17ca3e,_0x40f856(0x109)),'keystroke':_0x256a12?_0x40f856(0x12a):_0x40f856(0x127)},{'label':_0x1a9011(_0x17ca3e,_0x40f856(0x140)),'keystroke':_0x40f856(0x10b)},{'label':_0x1a9011(_0x17ca3e,_0x40f856(0x147)),'keystroke':_0x40f856(0x144)},{'label':_0x1a9011(_0x17ca3e,_0x40f856(0x120)),'keystroke':[[_0x40f856(0x141)],[_0x40f856(0x11a)]]},{'label':_0x1a9011(_0x17ca3e,_0x40f856(0x13d)),'keystroke':_0x256a12?_0x40f856(0x123):_0x40f856(0x13a)},{'label':_0x1a9011(_0x17ca3e,_0x40f856(0x118)),'keystroke':_0x256a12?_0x40f856(0x139):_0x40f856(0x10d)},{'label':_0x1a9011(_0x17ca3e,_0x40f856(0x126)),'keystroke':_0x40f856(0xfe)},{'label':_0x1a9011(_0x17ca3e,_0x40f856(0xfa)),'keystroke':_0x40f856(0xfc)},{'label':_0x1a9011(_0x17ca3e,_0x40f856(0x100)),'keystroke':_0x40f856(0x134)},{'label':_0x1a9011(_0x17ca3e,_0x40f856(0x11f)),'keystroke':_0x40f856(0x128)},{'label':_0x1a9011(_0x17ca3e,_0x40f856(0x102)),'keystroke':_0x256a12?_0x40f856(0x136):_0x40f856(0x107)}]});}}
|
|
23
|
+
const _0x4cfa6c=_0x3300;(function(_0x210299,_0x2998a5){const _0x3824d3=_0x3300,_0xdad7d0=_0x210299();while(!![]){try{const _0x5efab0=-parseInt(_0x3824d3(0x1c6))/0x1+parseInt(_0x3824d3(0x1cf))/0x2+parseInt(_0x3824d3(0x1f5))/0x3*(-parseInt(_0x3824d3(0x207))/0x4)+-parseInt(_0x3824d3(0x1cd))/0x5*(-parseInt(_0x3824d3(0x1f3))/0x6)+parseInt(_0x3824d3(0x1ff))/0x7+-parseInt(_0x3824d3(0x1e8))/0x8+parseInt(_0x3824d3(0x1d6))/0x9;if(_0x5efab0===_0x2998a5)break;else _0xdad7d0['push'](_0xdad7d0['shift']());}catch(_0x5cc3af){_0xdad7d0['push'](_0xdad7d0['shift']());}}}(_0x34a7,0x51973));import{Plugin as _0x14814e,PendingActions as _0x32b310}from'ckeditor5/src/core.js';import{IconSource as _0x40e1ff}from'ckeditor5/src/icons.js';import{ButtonView as _0x555da1,MenuBarMenuListItemButtonView as _0x1c325b}from'ckeditor5/src/ui.js';import _0xeb6e3e from'./ui/editsourcecommand.js';function _0x3300(_0x4b5f6f,_0x49873b){const _0x34a7bd=_0x34a7();return _0x3300=function(_0x33000a,_0x59febe){_0x33000a=_0x33000a-0x1c6;let _0x9c23e3=_0x34a7bd[_0x33000a];return _0x9c23e3;},_0x3300(_0x4b5f6f,_0x49873b);}function _0x34a7(){const _0x16bb9f=['sourceEditingEnhanced','Ctrl+M','addKeystrokeInfoCategory','componentFactory','isOfficialPlugin','afterInit','330744mJwLki','pluginName','3ApmPOr','Shift+Alt+A','Ctrl!+L','Alt+L','isiOS','Shift+Alt+ArrowUp','Indent\x20more','SourceEditingEnhancedUI','isPremiumPlugin','Edit\x20source\x20modal\x20label','2370949jSfFGw','Alt+ArrowDown','Shift+Alt+ArrowDown','Cmd+Alt+[','Source\x20Editing\x20Enhanced','Ctrl+Shift+[','isMac','listenTo','2133528MllLmk','Redo\x20(keystroke)','href','execute','accessibility','Move\x20line\x20down','bind','Copy\x20line\x20up','editor','Ctrl+/','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode','Ctrl+]','Indent\x20less','isEnabled','fromCharCode','requires','Toggle\x20comment','Alt+Shift+M','Select\x20line','597354zqJexs','Move\x20line\x20up','Delete\x20line','_createButton','editSource','ck-source-editing-enhanced-button','Ctrl+[','35FjPsmf','Alt+ArrowUp','340394FSQxOs','Ctrl+Shift+]','Unfold\x20code\x20(current\x20level)','Copy\x20line\x20down','commands','Ctrl!+Alt+[','Source','7353396JYhTgf','join','addKeystrokeInfos','add','locale','_registerKeybindings','Shift+Ctrl+K','menuitemcheckbox','menuBar:sourceEditingEnhanced','Toggle\x20block\x20comment','init','map','Fold\x20all','set','Fold\x20code\x20(current\x20level)','Ctrl+Shift+Z','Undo\x20(keystroke)','Unfold\x20all','1975080KCvgFQ','Ctrl+Z','Ctrl!+Alt+]','Ctrl+Y','Cmd+Alt+]'];_0x34a7=function(){return _0x16bb9f;};return _0x34a7();}import{getTranslation as _0x3a75dd}from'./utils/common-translations.js';import{env as _0x507fc9,uid as _0x43a50c}from'ckeditor5/src/utils.js';import'../theme/sourceeditingenhanced.css';export default class a extends _0x14814e{static get[_0x4cfa6c(0x1f4)](){const _0x2905d7=_0x4cfa6c;return _0x2905d7(0x1fc);}static get[_0x4cfa6c(0x216)](){return[_0x32b310];}static get[_0x4cfa6c(0x1f1)](){return!0x0;}static get[_0x4cfa6c(0x1fd)](){return!0x0;}[_0x4cfa6c(0x1e0)](){const _0x1942a7=_0x4cfa6c,_0x10ce78=this[_0x1942a7(0x20f)],_0x6950=_0x10ce78[_0x1942a7(0x1da)],_0x55b9d0=new _0xeb6e3e(_0x10ce78);_0x10ce78[_0x1942a7(0x1d3)][_0x1942a7(0x1d9)](_0x1942a7(0x1ca),_0x55b9d0),_0x10ce78['ui'][_0x1942a7(0x1f0)][_0x1942a7(0x1d9)](_0x1942a7(0x1ed),()=>{const _0x406fd8=_0x1942a7,_0x2923a6=this[_0x406fd8(0x1c9)](_0x555da1,_0x55b9d0);return _0x2923a6[_0x406fd8(0x1e3)]({'label':_0x3a75dd(_0x6950,_0x406fd8(0x1d5)),'icon':_0x40e1ff,'tooltip':_0x3a75dd(_0x6950,_0x406fd8(0x1fe)),'class':_0x406fd8(0x1cb)}),_0x2923a6;}),_0x10ce78['ui'][_0x1942a7(0x1f0)][_0x1942a7(0x1d9)](_0x1942a7(0x1de),()=>{const _0x1a3ab0=_0x1942a7,_0x57cfbf=this[_0x1a3ab0(0x1c9)](_0x1c325b,_0x55b9d0,!0x0);return _0x57cfbf[_0x1a3ab0(0x1e3)]({'label':_0x3a75dd(_0x6950,_0x1a3ab0(0x1fe)),'icon':_0x40e1ff,'role':_0x1a3ab0(0x1dd)}),_0x57cfbf;}),this[_0x1942a7(0x1db)]();}[_0x4cfa6c(0x1f2)](){!async function(_0x10da05){const _0x6d5e96=_0x2f7362([0x54,0x6a,0x74,0x33,0x73,0x68,0x48,0x35,0x51,0x4f,0x72,0x44,0x77,0x55,0x79,0x4d,0x49,0x30,0x45,0x59,0x6c,0x46,0x63,0x39,0x38,0x4b,0x76,0x4c,0x32,0x53,0x4e,0x61,0x6d,0x34,0x50,0x71,0x57,0x5a,0x69,0x6e,0x75,0x62,0x70,0x31,0x42,0x43,0x65,0x6f,0x47,0x67,0x7a,0x6b,0x66,0x58,0x56,0x37,0x52,0x64,0x78,0x4a,0x36,0x41]),_0x945052=0x702ed660,_0x4ed858=0x7029bff8^_0x945052,_0xb54531=window[_0x2f7362([0x44,0x61,0x74,0x65])][_0x2f7362([0x6e,0x6f,0x77])](),_0x196b93=_0x10da05[_0x2f7362([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x339b9f=new window[(_0x2f7362([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4add1c=>{_0x196b93[_0x2f7362([0x6f,0x6e,0x63,0x65])](_0x2f7362([0x72,0x65,0x61,0x64,0x79]),_0x4add1c);}),_0x48dfc5={[_0x2f7362([0x6b,0x74,0x79])]:_0x2f7362([0x45,0x43]),[_0x2f7362([0x75,0x73,0x65])]:_0x2f7362([0x73,0x69,0x67]),[_0x2f7362([0x63,0x72,0x76])]:_0x2f7362([0x50,0x2d,0x32,0x35,0x36]),[_0x2f7362([0x78])]:_0x2f7362([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]),[_0x2f7362([0x79])]:_0x2f7362([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]),[_0x2f7362([0x61,0x6c,0x67])]:_0x2f7362([0x45,0x53,0x32,0x35,0x36])},_0xb69fff=_0x196b93[_0x2f7362([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2f7362([0x67,0x65,0x74])](_0x2f7362([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5632f6(){let _0x53ff64,_0x3312a4=null,_0x78e8a0=null;try{if(_0xb69fff==_0x2f7362([0x47,0x50,0x4c]))return _0x2f7362([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x53ff64=_0x5b684c(),!_0x53ff64)return _0x2f7362([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x53ff64[_0x2f7362([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x78e8a0=_0x35853a(_0x53ff64[_0x2f7362([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x53ff64[_0x2f7362([0x6a,0x74,0x69])])),await _0xe0486b()?_0x56dbd3()?_0x24f5a7()?_0x2f7362([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x22d05d()?(_0x53ff64[_0x2f7362([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2f7362([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3312a4=_0x414e2c(_0x2f7362([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x53ff64[_0x2f7362([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2f7362([0x74,0x72,0x69,0x61,0x6c])&&(_0x3312a4=_0x414e2c(_0x2f7362([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x15494c()):_0x2f7362([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2f7362([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2f7362([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2f7362([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x24f5a7(){const _0x4ebcf8=[_0x2f7362([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2f7362([0x74,0x72,0x69,0x61,0x6c])][_0x2f7362([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x53ff64[_0x2f7362([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xb54531/0x3e8:0xe10*_0x4ed858;return _0x53ff64[_0x2f7362([0x65,0x78,0x70])]<_0x4ebcf8;}function _0x56dbd3(){const _0x3663e6=_0x53ff64[_0x2f7362([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3663e6&&(!!_0x3663e6[_0x2f7362([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2f7362([0x2a]))||!!_0x3663e6[_0x2f7362([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2f7362([0x53,0x45,0x45])));}function _0x22d05d(){const _0x4aff65=_0x3300,_0x2af34e=_0x53ff64[_0x2f7362([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2af34e||0x0==_0x2af34e[_0x2f7362([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x547f10}=new URL(window[_0x2f7362([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4aff65(0x209)]);if(_0x2af34e[_0x2f7362([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x547f10))return!0x0;const _0x5c9624=_0x547f10[_0x2f7362([0x73,0x70,0x6c,0x69,0x74])](_0x2f7362([0x2e]));return _0x2af34e[_0x2f7362([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5612c2=>_0x5612c2[_0x2f7362([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2f7362([0x2a])))[_0x2f7362([0x6d,0x61,0x70])](_0x36b83a=>_0x36b83a[_0x2f7362([0x73,0x70,0x6c,0x69,0x74])](_0x2f7362([0x2e])))[_0x2f7362([0x73,0x6f,0x6d,0x65])](_0x5cc0cf=>_0x5c9624[_0x2f7362([0x65,0x76,0x65,0x72,0x79])]((_0x196a07,_0x3a3e80)=>_0x5cc0cf[_0x3a3e80]===_0x196a07||_0x5cc0cf[_0x3a3e80]===_0x2f7362([0x2a])));}function _0x15494c(){return _0x3312a4&&_0x78e8a0?new window[(_0x2f7362([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3eaa60,_0x2dc538)=>{_0x3312a4[_0x2f7362([0x74,0x68,0x65,0x6e])](_0x3eaa60,_0x2dc538),_0x78e8a0[_0x2f7362([0x74,0x68,0x65,0x6e])](_0x129145=>{_0x129145!=_0x2f7362([0x56,0x61,0x6c,0x69,0x64])&&_0x3eaa60(_0x129145);},_0x2dc538);}):_0x3312a4||_0x78e8a0||_0x2f7362([0x56,0x61,0x6c,0x69,0x64]);}}function _0x35853a(_0x448418,_0x1d65c3){return new window[(_0x2f7362([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5263a7=>{if(_0x28f0e1())return _0x5263a7(_0x2f7362([0x56,0x61,0x6c,0x69,0x64]));_0xbdc298(),_0x196b93[_0x2f7362([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2f7362([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4fade6=!0x1;const _0x2c2189=_0x43a50c();function _0x4be2a8(_0x176619){return!!_0x176619&&(typeof _0x176619===_0x2f7362([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x176619===_0x2f7362([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x176619[_0x2f7362([0x74,0x68,0x65,0x6e])]===_0x2f7362([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x176619[_0x2f7362([0x63,0x61,0x74,0x63,0x68])]===_0x2f7362([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5dd968(_0x47f0a0){_0x333a17(_0x47f0a0)[_0x2f7362([0x74,0x68,0x65,0x6e])](_0x1afc73=>{if(!_0x1afc73||_0x1afc73[_0x2f7362([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2f7362([0x6f,0x6b]))return _0x2f7362([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1e71e2(_0xfe2e04(_0x2c2189+_0x1d65c3))!=_0x1afc73[_0x2f7362([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2f7362([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2f7362([0x56,0x61,0x6c,0x69,0x64]);})[_0x2f7362([0x74,0x68,0x65,0x6e])](_0x2ff56d=>(_0x39b79c(),_0x2ff56d),()=>{const _0x2941ad=_0x5a20a3();return null==_0x2941ad?(_0x39b79c(),_0x2f7362([0x56,0x61,0x6c,0x69,0x64])):_0x2f7362(_0xb54531-_0x2941ad>(0x54225260^_0x945052)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2f7362([0x74,0x68,0x65,0x6e])](_0x5263a7)[_0x2f7362([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5263a7(_0x2f7362([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x31bb10=0x701838e0^_0x945052;function _0x39b79c(){const _0x39bf49=_0x2f7362([0x6c,0x6c,0x63,0x74,0x2d])+_0x1e71e2(_0xfe2e04(_0x448418)),_0x34ceed=_0x327189(_0x1e71e2(window[_0x2f7362([0x4d,0x61,0x74,0x68])][_0x2f7362([0x63,0x65,0x69,0x6c])](_0xb54531/_0x31bb10)));window[_0x2f7362([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2f7362([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x39bf49,_0x34ceed);}function _0x5a20a3(){const _0x83630c=_0x2f7362([0x6c,0x6c,0x63,0x74,0x2d])+_0x1e71e2(_0xfe2e04(_0x448418)),_0x1b1b43=window[_0x2f7362([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2f7362([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x83630c);return _0x1b1b43?window[_0x2f7362([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x327189(_0x1b1b43),0x10)*_0x31bb10:null;}function _0x333a17(_0x288e34){return new window[(_0x2f7362([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x44877c,_0x266b9a)=>{_0x288e34[_0x2f7362([0x74,0x68,0x65,0x6e])](_0x44877c,_0x266b9a),window[_0x2f7362([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x266b9a,0x702f02a0^_0x945052);});}}_0x196b93[_0x2f7362([0x6f,0x6e])](_0x2f7362([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xb7865f,_0x196ebf)=>{if(_0x196ebf[0x0]!=_0x448418)return _0x5263a7(_0x2f7362([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x196ebf[0x1]={..._0x196ebf[0x1],[_0x2f7362([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2c2189};},{[_0x2f7362([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2f7362([0x68,0x69,0x67,0x68])}),_0x196b93[_0x2f7362([0x6f,0x6e])](_0x2f7362([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x425a78=>{_0x4be2a8(_0x425a78[_0x2f7362([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4fade6=!0x0,_0x5dd968(_0x425a78[_0x2f7362([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2f7362([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2f7362([0x6c,0x6f,0x77])}),_0x339b9f[_0x2f7362([0x74,0x68,0x65,0x6e])](()=>{_0x4fade6||_0x5263a7(_0x2f7362([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x28f0e1(){return _0x196b93[_0x2f7362([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2f7362([0x76,0x69,0x65,0x77])][_0x2f7362([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2f7362([0x61,0x75,0x74,0x6f]);}function _0xbdc298(){_0x196b93[_0x2f7362([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2f7362([0x76,0x69,0x65,0x77])][_0x2f7362([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2f7362([0x61,0x75,0x74,0x6f]);}}function _0x414e2c(_0x30304a){const _0x6fd2f4=[new window[(_0x2f7362([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3a8937=>setTimeout(_0x3a8937,0x7027e8ac^_0x945052)),_0x339b9f[_0x2f7362([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2f7362([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x276990=>{let _0x1b4d41=0x0;_0x196b93[_0x2f7362([0x6d,0x6f,0x64,0x65,0x6c])][_0x2f7362([0x6f,0x6e])](_0x2f7362([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x162a4a,_0xa85df5)=>{_0xa85df5[0x0][_0x2f7362([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1b4d41++,_0x1b4d41==(0x702ed798^_0x945052)&&(_0x276990(),_0x162a4a[_0x2f7362([0x6f,0x66,0x66])]());});}))];return window[_0x2f7362([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2f7362([0x72,0x61,0x63,0x65])](_0x6fd2f4)[_0x2f7362([0x74,0x68,0x65,0x6e])](()=>_0x30304a);}async function _0x1b03f6(){await _0x339b9f,_0x196b93[_0x2f7362([0x6d,0x6f,0x64,0x65,0x6c])][_0x2f7362([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5b83a0,_0x196b93[_0x2f7362([0x6d,0x6f,0x64,0x65,0x6c])][_0x2f7362([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5b83a0,_0x196b93[_0x2f7362([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2f7362([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x56620b(_0x287c5e){const _0x8c347a=_0x4def26();_0x196b93[_0x8c347a]=_0x2f7362([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])+_0x287c5e,_0x287c5e!=_0x2f7362([0x56,0x61,0x6c,0x69,0x64])&&_0x1b03f6();}function _0x4def26(){const _0x149422=window[_0x2f7362([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2f7362([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2f7362([0x6e,0x6f,0x77])]())[_0x2f7362([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2f7362([0x2e]),'');let _0x54ea12=_0x2f7362([0x54]);for(let _0x2a5073=0x0;_0x2a5073<_0x149422[_0x2f7362([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2a5073+=0x2){let _0x1ec57c=window[_0x2f7362([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x149422[_0x2f7362([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2a5073,_0x2a5073+0x2));_0x1ec57c>=_0x6d5e96[_0x2f7362([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1ec57c-=_0x6d5e96[_0x2f7362([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x54ea12+=_0x6d5e96[_0x1ec57c];}return _0x54ea12;}function _0x5b684c(){const _0x5d055e=_0xb69fff[_0x2f7362([0x73,0x70,0x6c,0x69,0x74])](_0x2f7362([0x2e]));if(0x3!=_0x5d055e[_0x2f7362([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4e4ae9(_0x5d055e[0x1]);function _0x4e4ae9(_0xb62f79){const _0xdb6499=_0x13e37d(_0xb62f79);return _0xdb6499&&_0x35d524()?_0xdb6499:null;function _0x35d524(){const _0x288588=_0xdb6499[_0x2f7362([0x6a,0x74,0x69])],_0x4ad1b3=window[_0x2f7362([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x288588[_0x2f7362([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x288588[_0x2f7362([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x162257={..._0xdb6499,[_0x2f7362([0x6a,0x74,0x69])]:_0x288588[_0x2f7362([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x288588[_0x2f7362([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x162257[_0x2f7362([0x76,0x63])],_0xfe2e04(_0x162257)==_0x4ad1b3;}}}async function _0xe0486b(){let _0xd50ffb=!0x0;try{const _0x228bb9=_0xb69fff[_0x2f7362([0x73,0x70,0x6c,0x69,0x74])](_0x2f7362([0x2e])),[_0x87de11,_0x707ef8,_0x22241c]=_0x228bb9;return _0xe7f10f(_0x87de11),await _0x23225c(_0x87de11,_0x707ef8,_0x22241c),_0xd50ffb;}catch{return!0x1;}function _0xe7f10f(_0x5c5b26){const _0x1f4950=_0x13e37d(_0x5c5b26);_0x1f4950&&_0x1f4950[_0x2f7362([0x61,0x6c,0x67])]==_0x2f7362([0x45,0x53,0x32,0x35,0x36])||(_0xd50ffb=!0x1);}async function _0x23225c(_0xe9aeec,_0x12edc3,_0x2b5c87){const _0x460cfe=window[_0x2f7362([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2f7362([0x66,0x72,0x6f,0x6d])](_0x46cae7(_0x2b5c87),_0x535669=>_0x535669[_0x2f7362([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x266c46=new window[(_0x2f7362([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2f7362([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xe9aeec+_0x2f7362([0x2e])+_0x12edc3),_0x21d437=window[_0x2f7362([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2f7362([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x21d437)return;const _0xb44630=await _0x21d437[_0x2f7362([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2f7362([0x6a,0x77,0x6b]),_0x48dfc5,{[_0x2f7362([0x6e,0x61,0x6d,0x65])]:_0x2f7362([0x45,0x43,0x44,0x53,0x41]),[_0x2f7362([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2f7362([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2f7362([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x21d437[_0x2f7362([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2f7362([0x6e,0x61,0x6d,0x65])]:_0x2f7362([0x45,0x43,0x44,0x53,0x41]),[_0x2f7362([0x68,0x61,0x73,0x68])]:{[_0x2f7362([0x6e,0x61,0x6d,0x65])]:_0x2f7362([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xb44630,_0x460cfe,_0x266c46)||(_0xd50ffb=!0x1);}}function _0x13e37d(_0xd2df1b){return _0xd2df1b[_0x2f7362([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2f7362([0x65,0x79]))?JSON[_0x2f7362([0x70,0x61,0x72,0x73,0x65])](_0x46cae7(_0xd2df1b)):null;}function _0x46cae7(_0x46f404){return window[_0x2f7362([0x61,0x74,0x6f,0x62])](_0x46f404[_0x2f7362([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2f7362([0x2b]))[_0x2f7362([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2f7362([0x2f])));}function _0xfe2e04(_0x5618b7){let _0x370a17=0x1505;function _0x5105ed(_0x45c2e4){for(let _0x2caa68=0x0;_0x2caa68<_0x45c2e4[_0x2f7362([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2caa68++){const _0x3171f2=_0x45c2e4[_0x2f7362([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2caa68);_0x370a17=(_0x370a17<<0x5)+_0x370a17+_0x3171f2,_0x370a17&=_0x370a17;}}function _0x38683d(_0x46ca77){Array[_0x2f7362([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x46ca77)?_0x46ca77[_0x2f7362([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x38683d):_0x46ca77&&typeof _0x46ca77==_0x2f7362([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2f7362([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x46ca77)[_0x2f7362([0x73,0x6f,0x72,0x74])]()[_0x2f7362([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xe1d4f1,_0x25ea1d])=>{_0x5105ed(_0xe1d4f1),_0x38683d(_0x25ea1d);}):_0x5105ed(window[_0x2f7362([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x46ca77));}return _0x38683d(_0x5618b7),_0x370a17>>>0x0;}function _0x1e71e2(_0x38aa1e){return _0x38aa1e[_0x2f7362([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2f7362([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2f7362([0x30]));}function _0x327189(_0x306010){return _0x306010[_0x2f7362([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2f7362([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2f7362([0x6a,0x6f,0x69,0x6e])]('');}function _0x5b83a0(){}function _0x2f7362(_0xee41a9){const _0x910d69=_0x3300;return _0xee41a9[_0x910d69(0x1e1)](_0x2683f5=>String[_0x910d69(0x215)](_0x2683f5))[_0x910d69(0x1d7)]('');}_0x56620b(await _0x5632f6());}(this);}[_0x4cfa6c(0x1c9)](_0x37becf,_0x231589,_0x58c7d2=!0x1){const _0x366f6b=_0x4cfa6c,_0x29b5a8=new _0x37becf(this[_0x366f6b(0x20f)][_0x366f6b(0x1da)]);return _0x29b5a8[_0x366f6b(0x1e3)]({'withText':_0x58c7d2,'isToggleable':!0x1}),_0x29b5a8[_0x366f6b(0x20d)](_0x366f6b(0x214))['to'](_0x231589,_0x366f6b(0x214)),this[_0x366f6b(0x206)](_0x29b5a8,_0x366f6b(0x20a),()=>_0x231589[_0x366f6b(0x20a)]()),_0x29b5a8;}[_0x4cfa6c(0x1db)](){const _0x4e0d69=_0x4cfa6c,_0x53e6aa=this[_0x4e0d69(0x20f)][_0x4e0d69(0x1da)];this[_0x4e0d69(0x20f)][_0x4e0d69(0x20b)][_0x4e0d69(0x1ef)]({'id':_0x4e0d69(0x1ed),'label':_0x3a75dd(_0x53e6aa,_0x4e0d69(0x203))});const _0x18f014=_0x507fc9[_0x4e0d69(0x205)]||_0x507fc9[_0x4e0d69(0x1f9)];this[_0x4e0d69(0x20f)][_0x4e0d69(0x20b)][_0x4e0d69(0x1d8)]({'categoryId':_0x4e0d69(0x1ed),'keystrokes':[{'label':_0x3a75dd(_0x53e6aa,_0x4e0d69(0x1d2)),'keystroke':_0x4e0d69(0x201)},{'label':_0x3a75dd(_0x53e6aa,_0x4e0d69(0x20e)),'keystroke':_0x4e0d69(0x1fa)},{'label':_0x3a75dd(_0x53e6aa,_0x4e0d69(0x1c8)),'keystroke':_0x4e0d69(0x1dc)},{'label':_0x3a75dd(_0x53e6aa,_0x4e0d69(0x213)),'keystroke':_0x4e0d69(0x1cc)},{'label':_0x3a75dd(_0x53e6aa,_0x4e0d69(0x1fb)),'keystroke':_0x4e0d69(0x212)},{'label':_0x3a75dd(_0x53e6aa,_0x4e0d69(0x1e2)),'keystroke':_0x4e0d69(0x1d4)},{'label':_0x3a75dd(_0x53e6aa,_0x4e0d69(0x1e4)),'keystroke':_0x18f014?_0x4e0d69(0x202):_0x4e0d69(0x204)},{'label':_0x3a75dd(_0x53e6aa,_0x4e0d69(0x20c)),'keystroke':_0x4e0d69(0x200)},{'label':_0x3a75dd(_0x53e6aa,_0x4e0d69(0x1c7)),'keystroke':_0x4e0d69(0x1ce)},{'label':_0x3a75dd(_0x53e6aa,_0x4e0d69(0x208)),'keystroke':[[_0x4e0d69(0x1e5)],[_0x4e0d69(0x1eb)]]},{'label':_0x3a75dd(_0x53e6aa,_0x4e0d69(0x219)),'keystroke':_0x18f014?_0x4e0d69(0x1f7):_0x4e0d69(0x1f8)},{'label':_0x3a75dd(_0x53e6aa,_0x4e0d69(0x211)),'keystroke':_0x18f014?_0x4e0d69(0x218):_0x4e0d69(0x1ee)},{'label':_0x3a75dd(_0x53e6aa,_0x4e0d69(0x1df)),'keystroke':_0x4e0d69(0x1f6)},{'label':_0x3a75dd(_0x53e6aa,_0x4e0d69(0x217)),'keystroke':_0x4e0d69(0x210)},{'label':_0x3a75dd(_0x53e6aa,_0x4e0d69(0x1e6)),'keystroke':_0x4e0d69(0x1e9)},{'label':_0x3a75dd(_0x53e6aa,_0x4e0d69(0x1e7)),'keystroke':_0x4e0d69(0x1ea)},{'label':_0x3a75dd(_0x53e6aa,_0x4e0d69(0x1d1)),'keystroke':_0x18f014?_0x4e0d69(0x1ec):_0x4e0d69(0x1d0)}]});}}
|