@ckeditor/ckeditor5-source-editing-enhanced 45.2.1-alpha.5 → 45.2.1-alpha.6
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 _0x3e97bf,PendingActions as _0x23c2af,Plugin as _0x460622}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x5e677c,formatHtml as tr,env as _0x143b25,uid as _0x264bc3}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconSource as _0xbbc2b}from'@ckeditor/ckeditor5-icons/dist/index.js';import{View as _0x5edde0,ButtonView as _0x2ea820,MenuBarMenuListItemButtonView as _0x413669}from'@ckeditor/ckeditor5-ui/dist/index.js';import{EditorView as _0x9fb566,crosshairCursor as _0x3aaf1e,drawSelection as _0x4953bc,dropCursor as _0x4e2b1a,lineNumbers as _0x2f8d8b,highlightActiveLine as _0x19b569,highlightActiveLineGutter as _0x55f499,highlightSpecialChars as _0x443f2a,rectangularSelection as _0x19ffc5,keymap as _0x17cc6c}from'@codemirror/view';import{Compartment as _0x32fdc8,Transaction as _0x492c55}from'@codemirror/state';import{bracketMatching as _0x390e48,foldGutter as _0x2cf944,indentOnInput as _0x21766a,syntaxHighlighting as _0xe888b5,defaultHighlightStyle as _0x47fe7d,foldKeymap as _0x413ea8}from'@codemirror/language';import{toggleTabFocusMode as _0x2ec17c,history as _0x2f7621,defaultKeymap as _0xd77ac9,historyKeymap as _0x47668f,indentLess as _0x20cd83,indentMore as _0x4bf4a6,redo as _0x45deb3,undo as _0x5932f6}from'@codemirror/commands';import{autocompletion as _0x4ad72c,closeBrackets as _0x19d08b,closeBracketsKeymap as _0x5cee8a,completionKeymap as _0x5aea9e}from'@codemirror/autocomplete';import{html as _0x1cf753}from'@codemirror/lang-html';import{markdown as _0x2bee99}from'@codemirror/lang-markdown';import{oneDark as _0x19c715}from'@codemirror/theme-one-dark';function f(_0x266293,_0x182c3f){const t=_0x266293['t'];switch(_0x182c3f){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 _0x182c3f;}}function s(_0x20f08e){const _0x35d6e3=_0x20f08e['editing']['view']['document']['roots'],_0x5e5ad7=_0x35d6e3['length'];if(0x0===_0x5e5ad7)throw new _0x5e677c('source-editing-enhanced-editor-no-root',_0x20f08e);if(0x1===_0x5e5ad7)return _0x35d6e3['first']['rootName'];return Array['from'](_0x20f08e['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function E(_0x3022ae){return or(_0x3022ae['replace'](/^[\n\s]*/g,''))?_0x3022ae['replace'](/\s+/g,''):_0x3022ae;}function or(_0x376984){return _0x376984['startsWith']('<');}function p(_0x462005){const _0x4da082=[_0x9fb566['lineWrapping'],_0x4ad72c(),_0x390e48(),_0x19d08b(),_0x3aaf1e(),_0x4953bc(),_0x4e2b1a(),_0x2f8d8b(),_0x2cf944(),_0x19b569(),_0x55f499(),_0x443f2a(),_0x2f7621(),_0x21766a(),_0x19ffc5(),_0xe888b5(_0x47fe7d,{'fallback':!0x0})],_0x499287=new _0x32fdc8();_0x4da082['push'](_0x499287['of'](_0x9fb566['editable']['of'](!0x0))),'html'===_0x462005['syntaxLanguage']?_0x4da082['push'](_0x1cf753()):_0x4da082['push'](_0x2bee99());const _0x150c11=function(_0x22d25c){if(_0x22d25c&&'default'!==_0x22d25c)return'dark'===_0x22d25c?_0x19c715:_0x22d25c;return null;}(_0x462005['theme']);_0x150c11&&_0x4da082['push'](_0x150c11),_0x4da082['push'](_0x17cc6c['of']([..._0x5cee8a,..._0xd77ac9,..._0x47668f,..._0x413ea8,..._0x5aea9e,{'key':'Tab','run':_0x4bf4a6,'shift':_0x20cd83,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-y','mac':'Cmd-y','run':_0x45deb3,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-Shift-z','mac':'Cmd-Shift-z','run':_0x45deb3,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-z','mac':'Cmd-z','run':_0x5932f6,'preventDefault':!0x0,'stopPropagation':!0x0}]));const _0x5929bc=new _0x9fb566({'extensions':_0x4da082,'parent':_0x462005['parent']});return _0x2ec17c(_0x5929bc),{'focus':()=>{_0x5929bc['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x5929bc['focus']();},'getData':()=>_0x5929bc['state']['doc']['toString'](),'setData':_0x49aa8e=>{_0x5929bc['dispatch']({'changes':{'from':0x0,'to':_0x5929bc['state']['doc']['length'],'insert':_0x49aa8e},'annotations':_0x492c55['addToHistory']['of'](!0x1)});},'setReadOnly':_0x3a54e0=>{_0x5929bc['dispatch']({'effects':[_0x499287['reconfigure'](_0x9fb566['editable']['of'](!_0x3a54e0))]});},'destroy':()=>{_0x5929bc['destroy']();},'instance':_0x5929bc};}class m extends _0x5edde0{['_codeEditorApi']=null;['_options'];constructor(_0x56baa3,_0x1c9c61){super(_0x56baa3),this['_options']=_0x1c9c61,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',(_0x535e8c,_0x111d43,_0x58694d)=>{this['setReadOnly'](_0x58694d);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0x451c32){this['_codeEditorApi']['setData'](_0x451c32);}['setReadOnly'](_0x319000){this['_codeEditorApi']['setReadOnly'](_0x319000);}}const b='SourceEditingEnhancedMode';class d extends _0x3e97bf{constructor(_0x25ae8a){super(_0x25ae8a),this['affectsData']=!0x1,this['editor']['plugins']['get'](_0x23c2af)['on']('change:hasAny',(_0x3e6ce8,_0x5d5a9a,_0x316b3b)=>{_0x316b3b?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['_disableCommands'](){const _0x29dc90=this['editor'];for(const _0xee536b of _0x29dc90['commands']['names']())['replaceSource','editSource']['includes'](_0xee536b)||_0x29dc90['commands']['get'](_0xee536b)['forceDisabled'](b);}['_enableCommands'](){const _0x44ab6a=this['editor'];for(const _0x5189be of _0x44ab6a['commands']['commands']())_0x5189be['clearForceDisabled'](b);}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x27d4b5=this['editor'],_0x44eeb8=_0x27d4b5['locale'],_0x4f7602=_0x27d4b5['plugins']['get']('Dialog'),_0x29ea32=s(_0x27d4b5),_0x2d6284=_0x27d4b5['data']['get']({'rootName':_0x29ea32}),_0x90bb54=or(_0x39cd4a=_0x2d6284)?tr(_0x39cd4a):_0x39cd4a;var _0x39cd4a;const _0x3dad75=new m(_0x44eeb8,{'syntaxLanguage':_0x27d4b5['plugins']['has']('Markdown')?'markdown':'html','theme':_0x27d4b5['config']['get']('sourceEditingEnhanced.theme')});let _0x364037=!0x0;const _0x2b9508=_0xd4192b=>{if(!_0x364037)return;return E(_0x3dad75['getData']())!==E(_0x90bb54)?window['confirm'](f(_0x44eeb8,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0xd4192b['stop']():void 0x0;};_0x4f7602['show']({'id':'sourceEditingEnhanced','title':f(_0x44eeb8,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0x3dad75,'actionButtons':[{'label':f(_0x44eeb8,'Cancel'),'withText':!0x0,'onExecute':()=>{_0x4f7602['hide']();}},{'label':f(_0x44eeb8,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0xe8a8ab=E(_0x3dad75['getData']())!==E(_0x90bb54);(_0xe8a8ab&&_0x27d4b5['execute']('replaceSource',_0x3dad75['getData']()),_0x364037=!0x1,_0x4f7602['hide'](),_0xe8a8ab&&'editables'in _0x27d4b5['ui']['view'])&&_0x27d4b5['ui']['view']['editables'][_0x29ea32]['element']['focus']();},'onCreate':_0x32073a=>{_0x32073a['set']('isEnabled',!_0x27d4b5['isReadOnly']),_0x32073a['bind']('isEnabled')['to'](_0x27d4b5,'isReadOnly',this,'isEnabled',(_0x5cbe76,_0x50e0b6)=>!_0x5cbe76&&_0x50e0b6);}}],'onHide':()=>{this['_enableCommands'](),_0x4f7602['off']('hide',_0x2b9508),_0x3dad75['destroy']();},'onShow':()=>{_0x3dad75['bind']('isReadOnly')['to'](_0x27d4b5,'isReadOnly',this,'isEnabled',(_0x577bb5,_0x55097f)=>_0x577bb5||!_0x55097f),_0x3dad75['setData'](_0x90bb54),_0x3dad75['focus'](),_0x4f7602['on']('hide',_0x2b9508,{'priority':'highest'}),this['_disableCommands']();}});}}class a extends _0x460622{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[_0x23c2af];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x21da12=this['editor'],_0x50db57=_0x21da12['locale'],_0x45e64b=new d(_0x21da12);_0x21da12['commands']['add']('editSource',_0x45e64b),_0x21da12['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0x4916b7=this['_createButton'](_0x2ea820,_0x45e64b);return _0x4916b7['set']({'label':f(_0x50db57,'Source'),'icon':_0xbbc2b,'tooltip':f(_0x50db57,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0x4916b7;}),_0x21da12['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0x5a9e6e=this['_createButton'](_0x413669,_0x45e64b,!0x0);return _0x5a9e6e['set']({'label':f(_0x50db57,'Edit\x20source\x20modal\x20label'),'icon':_0xbbc2b,'role':'menuitemcheckbox'}),_0x5a9e6e;}),this['_registerKeybindings']();}['afterInit'](){!async function(_0x394096){const _0x170b74=_0x3174a9([0x6a,0x67,0x62,0x6b,0x4b,0x4f,0x52,0x64,0x35,0x39,0x47,0x6e,0x44,0x30,0x77,0x65,0x4c,0x49,0x7a,0x61,0x55,0x54,0x46,0x70,0x41,0x66,0x42,0x76,0x48,0x59,0x57,0x56,0x69,0x4a,0x4e,0x75,0x58,0x5a,0x72,0x34,0x74,0x78,0x38,0x79,0x71,0x37,0x6c,0x50,0x51,0x53,0x6d,0x73,0x33,0x36,0x68,0x63,0x43,0x45,0x31,0x4d,0x6f,0x32]),_0x3d6fd2=0x202c8fa9,_0x796722=0x202be499^_0x3d6fd2,_0x21854e=window[_0x3174a9([0x44,0x61,0x74,0x65])][_0x3174a9([0x6e,0x6f,0x77])](),_0x4556bc=_0x394096[_0x3174a9([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3345e1=new window[(_0x3174a9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xdfbe93=>{_0x4556bc[_0x3174a9([0x6f,0x6e,0x63,0x65])](_0x3174a9([0x72,0x65,0x61,0x64,0x79]),_0xdfbe93);}),_0x3cfd5e={[_0x3174a9([0x6b,0x74,0x79])]:_0x3174a9([0x45,0x43]),[_0x3174a9([0x75,0x73,0x65])]:_0x3174a9([0x73,0x69,0x67]),[_0x3174a9([0x63,0x72,0x76])]:_0x3174a9([0x50,0x2d,0x32,0x35,0x36]),[_0x3174a9([0x78])]:_0x3174a9([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]),[_0x3174a9([0x79])]:_0x3174a9([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]),[_0x3174a9([0x61,0x6c,0x67])]:_0x3174a9([0x45,0x53,0x32,0x35,0x36])},_0x18a6ef=_0x4556bc[_0x3174a9([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3174a9([0x67,0x65,0x74])](_0x3174a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x38f670(){let _0xa48bd3,_0x5a1dec=null,_0x3d5fe0=null;try{if(_0x18a6ef==_0x3174a9([0x47,0x50,0x4c]))return _0x3174a9([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xa48bd3=_0xd2c940(),!_0xa48bd3)return _0x3174a9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xa48bd3[_0x3174a9([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3d5fe0=_0x1f2161(_0xa48bd3[_0x3174a9([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xa48bd3[_0x3174a9([0x6a,0x74,0x69])])),await _0x8d8dd3()?_0x4e1a00()?_0x3565e4()?_0x3174a9([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1de5f2()?(_0xa48bd3[_0x3174a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3174a9([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5a1dec=_0x4f3dd(_0x3174a9([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0xa48bd3[_0x3174a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3174a9([0x74,0x72,0x69,0x61,0x6c])&&(_0x5a1dec=_0x4f3dd(_0x3174a9([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x709137()):_0x3174a9([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3174a9([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3174a9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3174a9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3565e4(){const _0x2bbcc4=[_0x3174a9([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3174a9([0x74,0x72,0x69,0x61,0x6c])][_0x3174a9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xa48bd3[_0x3174a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x21854e/0x3e8:0xe10*_0x796722;return _0xa48bd3[_0x3174a9([0x65,0x78,0x70])]<_0x2bbcc4;}function _0x4e1a00(){const _0x494826=_0xa48bd3[_0x3174a9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x494826&&(!!_0x494826[_0x3174a9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3174a9([0x2a]))||!!_0x494826[_0x3174a9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3174a9([0x53,0x45,0x45])));}function _0x1de5f2(){const _0x3fcf8c=_0xa48bd3[_0x3174a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3fcf8c||0x0==_0x3fcf8c[_0x3174a9([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x41e3b0}=new URL(window[_0x3174a9([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3fcf8c[_0x3174a9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x41e3b0))return!0x0;const _0x1c78f0=_0x41e3b0[_0x3174a9([0x73,0x70,0x6c,0x69,0x74])](_0x3174a9([0x2e]));return _0x3fcf8c[_0x3174a9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x426c2e=>_0x426c2e[_0x3174a9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3174a9([0x2a])))[_0x3174a9([0x6d,0x61,0x70])](_0x367d6a=>_0x367d6a[_0x3174a9([0x73,0x70,0x6c,0x69,0x74])](_0x3174a9([0x2e])))[_0x3174a9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1287a7=>_0x1287a7[_0x3174a9([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1c78f0[_0x3174a9([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3174a9([0x6d,0x61,0x70])](_0x5c9b42=>Array(_0x1c78f0[_0x3174a9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5c9b42[_0x3174a9([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3174a9([0x66,0x69,0x6c,0x6c])](_0x5c9b42[0x0]===_0x3174a9([0x2a])?_0x3174a9([0x2a]):'')[_0x3174a9([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5c9b42))[_0x3174a9([0x73,0x6f,0x6d,0x65])](_0x34e282=>_0x1c78f0[_0x3174a9([0x65,0x76,0x65,0x72,0x79])]((_0x3188a8,_0x133c6d)=>_0x34e282[_0x133c6d]===_0x3188a8||_0x34e282[_0x133c6d]===_0x3174a9([0x2a])));}function _0x709137(){return _0x5a1dec&&_0x3d5fe0?new window[(_0x3174a9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2701b0,_0x158359)=>{_0x5a1dec[_0x3174a9([0x74,0x68,0x65,0x6e])](_0x2701b0,_0x158359),_0x3d5fe0[_0x3174a9([0x74,0x68,0x65,0x6e])](_0x3a508b=>{_0x3a508b!=_0x3174a9([0x56,0x61,0x6c,0x69,0x64])&&_0x2701b0(_0x3a508b);},_0x158359);}):_0x5a1dec||_0x3d5fe0||_0x3174a9([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1f2161(_0x4f1caf,_0x3b7e5f){return new window[(_0x3174a9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x29c6b8=>{if(_0x5aa5f0())return _0x29c6b8(_0x3174a9([0x56,0x61,0x6c,0x69,0x64]));_0x4358af(),_0x4556bc[_0x3174a9([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3174a9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3f98b3=!0x1;const _0x107e0b=_0x264bc3();function _0xd9896b(_0x103f2a){return!!_0x103f2a&&(typeof _0x103f2a===_0x3174a9([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x103f2a===_0x3174a9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x103f2a[_0x3174a9([0x74,0x68,0x65,0x6e])]===_0x3174a9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x103f2a[_0x3174a9([0x63,0x61,0x74,0x63,0x68])]===_0x3174a9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x226209(_0x464eee){_0x31fab4(_0x464eee)[_0x3174a9([0x74,0x68,0x65,0x6e])](_0x57ff1c=>{if(!_0x57ff1c||_0x57ff1c[_0x3174a9([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3174a9([0x6f,0x6b]))return _0x3174a9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3e3881(_0x2ae8b6(_0x107e0b+_0x3b7e5f))!=_0x57ff1c[_0x3174a9([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3174a9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3174a9([0x56,0x61,0x6c,0x69,0x64]);})[_0x3174a9([0x74,0x68,0x65,0x6e])](_0x1b9515=>(_0x421650(),_0x1b9515),()=>{const _0x57d6ae=_0x1e3cf6();return null==_0x57d6ae?(_0x421650(),_0x3174a9([0x56,0x61,0x6c,0x69,0x64])):_0x3174a9(_0x21854e-_0x57d6ae>(0x4200ba9^_0x3d6fd2)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3174a9([0x74,0x68,0x65,0x6e])](_0x29c6b8)[_0x3174a9([0x63,0x61,0x74,0x63,0x68])](()=>{_0x29c6b8(_0x3174a9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5620c8=0x201a6129^_0x3d6fd2;function _0x421650(){const _0x1ffb00=_0x3174a9([0x6c,0x6c,0x63,0x74,0x2d])+_0x3e3881(_0x2ae8b6(_0x4f1caf)),_0x3fdb2d=_0x2b1cc2(_0x3e3881(window[_0x3174a9([0x4d,0x61,0x74,0x68])][_0x3174a9([0x63,0x65,0x69,0x6c])](_0x21854e/_0x5620c8)));window[_0x3174a9([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3174a9([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1ffb00,_0x3fdb2d);}function _0x1e3cf6(){const _0x565ac1=_0x3174a9([0x6c,0x6c,0x63,0x74,0x2d])+_0x3e3881(_0x2ae8b6(_0x4f1caf)),_0x101c0c=window[_0x3174a9([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3174a9([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x565ac1);return _0x101c0c?window[_0x3174a9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2b1cc2(_0x101c0c),0x10)*_0x5620c8:null;}function _0x31fab4(_0x3f224b){return new window[(_0x3174a9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x53e4c1,_0x2698d2)=>{_0x3f224b[_0x3174a9([0x74,0x68,0x65,0x6e])](_0x53e4c1,_0x2698d2),window[_0x3174a9([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2698d2,0x202d5b69^_0x3d6fd2);});}}_0x4556bc[_0x3174a9([0x6f,0x6e])](_0x3174a9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x295b62,_0x517a8e)=>{if(_0x517a8e[0x0]!=_0x4f1caf)return _0x29c6b8(_0x3174a9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x517a8e[0x1]={..._0x517a8e[0x1],[_0x3174a9([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x107e0b};},{[_0x3174a9([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3174a9([0x68,0x69,0x67,0x68])}),_0x4556bc[_0x3174a9([0x6f,0x6e])](_0x3174a9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x467261=>{_0xd9896b(_0x467261[_0x3174a9([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3f98b3=!0x0,_0x226209(_0x467261[_0x3174a9([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3174a9([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3174a9([0x6c,0x6f,0x77])}),_0x3345e1[_0x3174a9([0x74,0x68,0x65,0x6e])](()=>{_0x3f98b3||_0x29c6b8(_0x3174a9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5aa5f0(){return _0x4556bc[_0x3174a9([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3174a9([0x76,0x69,0x65,0x77])][_0x3174a9([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3174a9([0x61,0x75,0x74,0x6f]);}function _0x4358af(){_0x4556bc[_0x3174a9([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3174a9([0x76,0x69,0x65,0x77])][_0x3174a9([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3174a9([0x61,0x75,0x74,0x6f]);}}function _0x4f3dd(_0x2d7888){const _0x1bf075=[new window[(_0x3174a9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x18ba54=>setTimeout(_0x18ba54,0x2025b165^_0x3d6fd2)),_0x3345e1[_0x3174a9([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3174a9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x184b86=>{let _0x1cde6c=0x0;_0x4556bc[_0x3174a9([0x6d,0x6f,0x64,0x65,0x6c])][_0x3174a9([0x6f,0x6e])](_0x3174a9([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x483968,_0xab2254)=>{_0xab2254[0x0][_0x3174a9([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1cde6c++,_0x1cde6c==(0x202c8e51^_0x3d6fd2)&&(_0x184b86(),_0x483968[_0x3174a9([0x6f,0x66,0x66])]());});}))];return window[_0x3174a9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3174a9([0x72,0x61,0x63,0x65])](_0x1bf075)[_0x3174a9([0x74,0x68,0x65,0x6e])](()=>_0x2d7888);}async function _0x144aa3(){await _0x3345e1,_0x4556bc[_0x3174a9([0x6d,0x6f,0x64,0x65,0x6c])][_0x3174a9([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x48e2c6,_0x4556bc[_0x3174a9([0x6d,0x6f,0x64,0x65,0x6c])][_0x3174a9([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x48e2c6,_0x4556bc[_0x3174a9([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3174a9([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x53cf51(_0x364d3b){const _0x36aa86=_0x32c6c9();_0x4556bc[_0x36aa86]=_0x3174a9([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])+_0x364d3b,_0x364d3b!=_0x3174a9([0x56,0x61,0x6c,0x69,0x64])&&_0x144aa3();}function _0x32c6c9(){const _0x2def88=window[_0x3174a9([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3174a9([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3174a9([0x6e,0x6f,0x77])]())[_0x3174a9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3174a9([0x2e]),'');let _0x3202cd=_0x3174a9([0x6a]);for(let _0x4f86dc=0x0;_0x4f86dc<_0x2def88[_0x3174a9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4f86dc+=0x2){let _0x395e32=window[_0x3174a9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2def88[_0x3174a9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4f86dc,_0x4f86dc+0x2));_0x395e32>=_0x170b74[_0x3174a9([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x395e32-=_0x170b74[_0x3174a9([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3202cd+=_0x170b74[_0x395e32];}return _0x3202cd;}function _0xd2c940(){const _0x108d01=_0x18a6ef[_0x3174a9([0x73,0x70,0x6c,0x69,0x74])](_0x3174a9([0x2e]));if(0x3!=_0x108d01[_0x3174a9([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4a2e12(_0x108d01[0x1]);function _0x4a2e12(_0x3794f6){const _0x9dbba5=_0x59924d(_0x3794f6);return _0x9dbba5&&_0x22d9a9()?_0x9dbba5:null;function _0x22d9a9(){const _0x3a3011=_0x9dbba5[_0x3174a9([0x6a,0x74,0x69])],_0x2b0044=window[_0x3174a9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3a3011[_0x3174a9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3a3011[_0x3174a9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3df829={..._0x9dbba5,[_0x3174a9([0x6a,0x74,0x69])]:_0x3a3011[_0x3174a9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3a3011[_0x3174a9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3df829[_0x3174a9([0x76,0x63])],_0x2ae8b6(_0x3df829)==_0x2b0044;}}}async function _0x8d8dd3(){let _0x2d46bf=!0x0;try{const _0x5555d5=_0x18a6ef[_0x3174a9([0x73,0x70,0x6c,0x69,0x74])](_0x3174a9([0x2e])),[_0x1956a9,_0x2940ad,_0x2e7eb2]=_0x5555d5;return _0x10198f(_0x1956a9),await _0x5c5b27(_0x1956a9,_0x2940ad,_0x2e7eb2),_0x2d46bf;}catch{return!0x1;}function _0x10198f(_0x545b81){const _0x163d11=_0x59924d(_0x545b81);_0x163d11&&_0x163d11[_0x3174a9([0x61,0x6c,0x67])]==_0x3174a9([0x45,0x53,0x32,0x35,0x36])||(_0x2d46bf=!0x1);}async function _0x5c5b27(_0x4563fb,_0x57c146,_0x25932d){const _0xc21559=window[_0x3174a9([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3174a9([0x66,0x72,0x6f,0x6d])](_0xc50e43(_0x25932d),_0x433986=>_0x433986[_0x3174a9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x571960=new window[(_0x3174a9([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3174a9([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4563fb+_0x3174a9([0x2e])+_0x57c146),_0x2b0281=window[_0x3174a9([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3174a9([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2b0281)return;const _0x3b1a09=await _0x2b0281[_0x3174a9([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3174a9([0x6a,0x77,0x6b]),_0x3cfd5e,{[_0x3174a9([0x6e,0x61,0x6d,0x65])]:_0x3174a9([0x45,0x43,0x44,0x53,0x41]),[_0x3174a9([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3174a9([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3174a9([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2b0281[_0x3174a9([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3174a9([0x6e,0x61,0x6d,0x65])]:_0x3174a9([0x45,0x43,0x44,0x53,0x41]),[_0x3174a9([0x68,0x61,0x73,0x68])]:{[_0x3174a9([0x6e,0x61,0x6d,0x65])]:_0x3174a9([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3b1a09,_0xc21559,_0x571960)||(_0x2d46bf=!0x1);}}function _0x59924d(_0x576b2f){return _0x576b2f[_0x3174a9([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3174a9([0x65,0x79]))?JSON[_0x3174a9([0x70,0x61,0x72,0x73,0x65])](_0xc50e43(_0x576b2f)):null;}function _0xc50e43(_0x19601f){return window[_0x3174a9([0x61,0x74,0x6f,0x62])](_0x19601f[_0x3174a9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3174a9([0x2b]))[_0x3174a9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3174a9([0x2f])));}function _0x2ae8b6(_0x37a3f0){let _0x4a6092=0x1505;function _0x212d00(_0xeb2e7b){for(let _0x465a12=0x0;_0x465a12<_0xeb2e7b[_0x3174a9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x465a12++){const _0x50efa3=_0xeb2e7b[_0x3174a9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x465a12);_0x4a6092=(_0x4a6092<<0x5)+_0x4a6092+_0x50efa3,_0x4a6092&=_0x4a6092;}}function _0x51c5ce(_0x55c6b5){Array[_0x3174a9([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x55c6b5)?_0x55c6b5[_0x3174a9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x51c5ce):_0x55c6b5&&typeof _0x55c6b5==_0x3174a9([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3174a9([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x55c6b5)[_0x3174a9([0x73,0x6f,0x72,0x74])]()[_0x3174a9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1b1f86,_0x56916b])=>{_0x212d00(_0x1b1f86),_0x51c5ce(_0x56916b);}):_0x212d00(window[_0x3174a9([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x55c6b5));}return _0x51c5ce(_0x37a3f0),_0x4a6092>>>0x0;}function _0x3e3881(_0x237aae){return _0x237aae[_0x3174a9([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3174a9([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3174a9([0x30]));}function _0x2b1cc2(_0x35abef){return _0x35abef[_0x3174a9([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3174a9([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3174a9([0x6a,0x6f,0x69,0x6e])]('');}function _0x48e2c6(){}function _0x3174a9(_0x53211e){return _0x53211e['map'](_0x444e08=>String['fromCharCode'](_0x444e08))['join']('');}_0x53cf51(await _0x38f670());}(this);}['_createButton'](_0x2c4a12,_0x53897e,_0x3e3f55=!0x1){const _0x4ef18c=new _0x2c4a12(this['editor']['locale']);return _0x4ef18c['set']({'withText':_0x3e3f55,'isToggleable':!0x1}),_0x4ef18c['bind']('isEnabled')['to'](_0x53897e,'isEnabled'),this['listenTo'](_0x4ef18c,'execute',()=>_0x53897e['execute']()),_0x4ef18c;}['_registerKeybindings'](){const _0x20b0a0=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':f(_0x20b0a0,'Source\x20Editing\x20Enhanced')});const _0x2e3818=_0x143b25['isMac']||_0x143b25['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':f(_0x20b0a0,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':f(_0x20b0a0,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':f(_0x20b0a0,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':f(_0x20b0a0,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':f(_0x20b0a0,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':f(_0x20b0a0,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':f(_0x20b0a0,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x2e3818?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':f(_0x20b0a0,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':f(_0x20b0a0,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':f(_0x20b0a0,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':f(_0x20b0a0,'Select\x20line'),'keystroke':_0x2e3818?'Ctrl!+L':'Alt+L'},{'label':f(_0x20b0a0,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x2e3818?'Alt+Shift+M':'Ctrl+M'},{'label':f(_0x20b0a0,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':f(_0x20b0a0,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':f(_0x20b0a0,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':f(_0x20b0a0,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':f(_0x20b0a0,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x2e3818?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}class e extends _0x3e97bf{constructor(_0x13a081){super(_0x13a081),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0x34b27f,_0x9ccb25){const _0x3758e5=this['editor'],_0x362865=_0x9ccb25?.['rootName']??s(_0x3758e5);_0x3758e5['data']['set']({[_0x362865]:_0x34b27f},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}class c extends _0x460622{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[a];}constructor(_0x19e2b2){super(_0x19e2b2),_0x19e2b2['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 _0x2f2d8e=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0xf7d871;for(const _0x9acd0e in _0x2f2d8e){const _0x3e40d5=_0x9acd0e,_0x18389c=_0x2f2d8e[_0x3e40d5];if('sourceEditingEnhancedLicenseKeyValid'==_0x18389c||'sourceEditingEnhancedLicenseKeyInvalid'==_0x18389c||'sourceEditingEnhancedLicenseKeyExpired'==_0x18389c||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x18389c||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x18389c||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x18389c||'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x18389c||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x18389c){delete _0x2f2d8e[_0x3e40d5],_0xf7d871=_0x18389c,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0xf7d871&&_0x2f2d8e['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0xf7d871&&_0x2f2d8e['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0xf7d871&&_0x2f2d8e['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0xf7d871&&_0x2f2d8e['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0xf7d871&&_0x2f2d8e['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyTrialLimit'==_0xf7d871&&_0x2f2d8e['_showLicenseError']('trialLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0xf7d871&&_0x2f2d8e['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0x18d5fd=this['editor'],_0x394a9c=_0x18d5fd['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0x394a9c&&_0x18d5fd['plugins']['has']('RealTimeCollaborativeEditing'))throw new _0x5e677c('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0x394a9c&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x11a025=>_0x18d5fd['plugins']['has'](_0x11a025))&&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.'),_0x18d5fd['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 _0x49c953,PendingActions as _0x3085fe,Plugin as _0x22470d}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x2ef746,formatHtml as tr,env as _0x18eb29,uid as _0x1af594}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconSource as _0x236edf}from'@ckeditor/ckeditor5-icons/dist/index.js';import{View as _0x2a7c39,ButtonView as _0x2bafd7,MenuBarMenuListItemButtonView as _0x33dd19}from'@ckeditor/ckeditor5-ui/dist/index.js';import{EditorView as _0x16f3cd,crosshairCursor as _0xa410af,drawSelection as _0x14e9c3,dropCursor as _0xced7aa,lineNumbers as _0x1b7c07,highlightActiveLine as _0x53e92a,highlightActiveLineGutter as _0x1bbb65,highlightSpecialChars as _0x145338,rectangularSelection as _0x4c742c,keymap as _0x28f57e}from'@codemirror/view';import{Compartment as _0x174229,Transaction as _0x413d77}from'@codemirror/state';import{bracketMatching as _0x462985,foldGutter as _0x1fb96f,indentOnInput as _0x374595,syntaxHighlighting as _0x2292db,defaultHighlightStyle as _0x519bd9,foldKeymap as _0x5efb47}from'@codemirror/language';import{toggleTabFocusMode as _0x71432d,history as _0x1956f1,defaultKeymap as _0x44d798,historyKeymap as _0x5dde31,indentLess as _0x223f50,indentMore as _0x49811a,redo as _0x233c3d,undo as _0x1659f1}from'@codemirror/commands';import{autocompletion as _0x23bd5a,closeBrackets as _0x52708d,closeBracketsKeymap as _0x392c0a,completionKeymap as _0x1024d0}from'@codemirror/autocomplete';import{html as _0x3efe5a}from'@codemirror/lang-html';import{markdown as _0x3e4ac2}from'@codemirror/lang-markdown';import{oneDark as _0x3e3b0d}from'@codemirror/theme-one-dark';function f(_0x2cc576,_0x4df75){const t=_0x2cc576['t'];switch(_0x4df75){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 _0x4df75;}}function s(_0x21b82d){const _0x13c9e5=_0x21b82d['editing']['view']['document']['roots'],_0x4ce26b=_0x13c9e5['length'];if(0x0===_0x4ce26b)throw new _0x2ef746('source-editing-enhanced-editor-no-root',_0x21b82d);if(0x1===_0x4ce26b)return _0x13c9e5['first']['rootName'];return Array['from'](_0x21b82d['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function E(_0x3a4285){return or(_0x3a4285['replace'](/^[\n\s]*/g,''))?_0x3a4285['replace'](/\s+/g,''):_0x3a4285;}function or(_0x31e7ec){return _0x31e7ec['startsWith']('<');}function p(_0xbdd70c){const _0x343802=[_0x16f3cd['lineWrapping'],_0x23bd5a(),_0x462985(),_0x52708d(),_0xa410af(),_0x14e9c3(),_0xced7aa(),_0x1b7c07(),_0x1fb96f(),_0x53e92a(),_0x1bbb65(),_0x145338(),_0x1956f1(),_0x374595(),_0x4c742c(),_0x2292db(_0x519bd9,{'fallback':!0x0})],_0x59ccf8=new _0x174229();_0x343802['push'](_0x59ccf8['of'](_0x16f3cd['editable']['of'](!0x0))),'html'===_0xbdd70c['syntaxLanguage']?_0x343802['push'](_0x3efe5a()):_0x343802['push'](_0x3e4ac2());const _0x5c6046=function(_0x31ab77){if(_0x31ab77&&'default'!==_0x31ab77)return'dark'===_0x31ab77?_0x3e3b0d:_0x31ab77;return null;}(_0xbdd70c['theme']);_0x5c6046&&_0x343802['push'](_0x5c6046),_0x343802['push'](_0x28f57e['of']([..._0x392c0a,..._0x44d798,..._0x5dde31,..._0x5efb47,..._0x1024d0,{'key':'Tab','run':_0x49811a,'shift':_0x223f50,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-y','mac':'Cmd-y','run':_0x233c3d,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-Shift-z','mac':'Cmd-Shift-z','run':_0x233c3d,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-z','mac':'Cmd-z','run':_0x1659f1,'preventDefault':!0x0,'stopPropagation':!0x0}]));const _0x507d2e=new _0x16f3cd({'extensions':_0x343802,'parent':_0xbdd70c['parent']});return _0x71432d(_0x507d2e),{'focus':()=>{_0x507d2e['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x507d2e['focus']();},'getData':()=>_0x507d2e['state']['doc']['toString'](),'setData':_0xdcf5dd=>{_0x507d2e['dispatch']({'changes':{'from':0x0,'to':_0x507d2e['state']['doc']['length'],'insert':_0xdcf5dd},'annotations':_0x413d77['addToHistory']['of'](!0x1)});},'setReadOnly':_0x5c178e=>{_0x507d2e['dispatch']({'effects':[_0x59ccf8['reconfigure'](_0x16f3cd['editable']['of'](!_0x5c178e))]});},'destroy':()=>{_0x507d2e['destroy']();},'instance':_0x507d2e};}class m extends _0x2a7c39{['_codeEditorApi']=null;['_options'];constructor(_0x4b21e5,_0x8c7431){super(_0x4b21e5),this['_options']=_0x8c7431,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',(_0x25474b,_0xb521ec,_0x27f5f8)=>{this['setReadOnly'](_0x27f5f8);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0x5c75a0){this['_codeEditorApi']['setData'](_0x5c75a0);}['setReadOnly'](_0x18ec73){this['_codeEditorApi']['setReadOnly'](_0x18ec73);}}const b='SourceEditingEnhancedMode';class d extends _0x49c953{constructor(_0x5b9a1f){super(_0x5b9a1f),this['affectsData']=!0x1,this['editor']['plugins']['get'](_0x3085fe)['on']('change:hasAny',(_0x178160,_0x15c955,_0x109a02)=>{_0x109a02?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['_disableCommands'](){const _0x500c4d=this['editor'];for(const _0x335798 of _0x500c4d['commands']['names']())['replaceSource','editSource']['includes'](_0x335798)||_0x500c4d['commands']['get'](_0x335798)['forceDisabled'](b);}['_enableCommands'](){const _0x445e2b=this['editor'];for(const _0x1becc4 of _0x445e2b['commands']['commands']())_0x1becc4['clearForceDisabled'](b);}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x35e641=this['editor'],_0x3bb536=_0x35e641['locale'],_0x5a8c13=_0x35e641['plugins']['get']('Dialog'),_0x5836f4=s(_0x35e641),_0x3dcbe2=_0x35e641['data']['get']({'rootName':_0x5836f4}),_0x229e9d=or(_0x28f5bb=_0x3dcbe2)?tr(_0x28f5bb):_0x28f5bb;var _0x28f5bb;const _0x2698a3=new m(_0x3bb536,{'syntaxLanguage':_0x35e641['plugins']['has']('Markdown')?'markdown':'html','theme':_0x35e641['config']['get']('sourceEditingEnhanced.theme')});let _0x345a90=!0x0;const _0x593ee7=_0x126625=>{if(!_0x345a90)return;return E(_0x2698a3['getData']())!==E(_0x229e9d)?window['confirm'](f(_0x3bb536,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0x126625['stop']():void 0x0;};_0x5a8c13['show']({'id':'sourceEditingEnhanced','title':f(_0x3bb536,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0x2698a3,'actionButtons':[{'label':f(_0x3bb536,'Cancel'),'withText':!0x0,'onExecute':()=>{_0x5a8c13['hide']();}},{'label':f(_0x3bb536,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0x378970=E(_0x2698a3['getData']())!==E(_0x229e9d);(_0x378970&&_0x35e641['execute']('replaceSource',_0x2698a3['getData']()),_0x345a90=!0x1,_0x5a8c13['hide'](),_0x378970&&'editables'in _0x35e641['ui']['view'])&&_0x35e641['ui']['view']['editables'][_0x5836f4]['element']['focus']();},'onCreate':_0x115e68=>{_0x115e68['set']('isEnabled',!_0x35e641['isReadOnly']),_0x115e68['bind']('isEnabled')['to'](_0x35e641,'isReadOnly',this,'isEnabled',(_0x3f1508,_0x1ce440)=>!_0x3f1508&&_0x1ce440);}}],'onHide':()=>{this['_enableCommands'](),_0x5a8c13['off']('hide',_0x593ee7),_0x2698a3['destroy']();},'onShow':()=>{_0x2698a3['bind']('isReadOnly')['to'](_0x35e641,'isReadOnly',this,'isEnabled',(_0x367fd7,_0x1f3b0f)=>_0x367fd7||!_0x1f3b0f),_0x2698a3['setData'](_0x229e9d),_0x2698a3['focus'](),_0x5a8c13['on']('hide',_0x593ee7,{'priority':'highest'}),this['_disableCommands']();}});}}class a extends _0x22470d{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[_0x3085fe];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x5d0b4c=this['editor'],_0x393d85=_0x5d0b4c['locale'],_0x71c5ad=new d(_0x5d0b4c);_0x5d0b4c['commands']['add']('editSource',_0x71c5ad),_0x5d0b4c['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0x181dbe=this['_createButton'](_0x2bafd7,_0x71c5ad);return _0x181dbe['set']({'label':f(_0x393d85,'Source'),'icon':_0x236edf,'tooltip':f(_0x393d85,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0x181dbe;}),_0x5d0b4c['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0x4fa891=this['_createButton'](_0x33dd19,_0x71c5ad,!0x0);return _0x4fa891['set']({'label':f(_0x393d85,'Edit\x20source\x20modal\x20label'),'icon':_0x236edf,'role':'menuitemcheckbox'}),_0x4fa891;}),this['_registerKeybindings']();}['afterInit'](){!async function(_0x1734d2){const _0x518509=_0x36b040([0x6a,0x38,0x67,0x73,0x77,0x35,0x6c,0x36,0x53,0x78,0x52,0x57,0x59,0x72,0x64,0x66,0x69,0x74,0x34,0x32,0x39,0x43,0x63,0x49,0x58,0x4a,0x51,0x45,0x4e,0x30,0x75,0x70,0x4d,0x55,0x5a,0x50,0x71,0x56,0x79,0x6f,0x7a,0x41,0x76,0x65,0x33,0x4c,0x46,0x48,0x44,0x47,0x31,0x42,0x68,0x61,0x6b,0x62,0x4b,0x37,0x54,0x6d,0x4f,0x6e]),_0x11740e=0x5c39c8d0,_0x36a4d8=0x5c3ea398^_0x11740e,_0x324733=window[_0x36b040([0x44,0x61,0x74,0x65])][_0x36b040([0x6e,0x6f,0x77])](),_0x34dfb7=_0x1734d2[_0x36b040([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5c3bb1=new window[(_0x36b040([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x508d2f=>{_0x34dfb7[_0x36b040([0x6f,0x6e,0x63,0x65])](_0x36b040([0x72,0x65,0x61,0x64,0x79]),_0x508d2f);}),_0x17525f={[_0x36b040([0x6b,0x74,0x79])]:_0x36b040([0x45,0x43]),[_0x36b040([0x75,0x73,0x65])]:_0x36b040([0x73,0x69,0x67]),[_0x36b040([0x63,0x72,0x76])]:_0x36b040([0x50,0x2d,0x32,0x35,0x36]),[_0x36b040([0x78])]:_0x36b040([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]),[_0x36b040([0x79])]:_0x36b040([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]),[_0x36b040([0x61,0x6c,0x67])]:_0x36b040([0x45,0x53,0x32,0x35,0x36])},_0x13c98a=_0x34dfb7[_0x36b040([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x36b040([0x67,0x65,0x74])](_0x36b040([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x519688(){let _0x946083,_0x25c595=null,_0x543ea3=null;try{if(_0x13c98a==_0x36b040([0x47,0x50,0x4c]))return _0x36b040([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x946083=_0x195532(),!_0x946083)return _0x36b040([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x946083[_0x36b040([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x543ea3=_0x2cc59a(_0x946083[_0x36b040([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x946083[_0x36b040([0x6a,0x74,0x69])])),await _0x498f46()?_0x3844cc()?_0x308286()?_0x36b040([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x48f57b()?(_0x946083[_0x36b040([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x36b040([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x25c595=_0x25af90(_0x36b040([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x946083[_0x36b040([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x36b040([0x74,0x72,0x69,0x61,0x6c])&&(_0x25c595=_0x25af90(_0x36b040([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x33e13f()):_0x36b040([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x36b040([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x36b040([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x36b040([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x308286(){const _0x597f05=[_0x36b040([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x36b040([0x74,0x72,0x69,0x61,0x6c])][_0x36b040([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x946083[_0x36b040([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x324733/0x3e8:0xe10*_0x36a4d8;return _0x946083[_0x36b040([0x65,0x78,0x70])]<_0x597f05;}function _0x3844cc(){const _0x3af955=_0x946083[_0x36b040([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3af955&&(!!_0x3af955[_0x36b040([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x36b040([0x2a]))||!!_0x3af955[_0x36b040([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x36b040([0x53,0x45,0x45])));}function _0x48f57b(){const _0xc41a5e=_0x946083[_0x36b040([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xc41a5e||0x0==_0xc41a5e[_0x36b040([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x150fe1}=new URL(window[_0x36b040([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0xc41a5e[_0x36b040([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x150fe1))return!0x0;const _0x37c9cc=_0x150fe1[_0x36b040([0x73,0x70,0x6c,0x69,0x74])](_0x36b040([0x2e]));return _0xc41a5e[_0x36b040([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x125996=>_0x125996[_0x36b040([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x36b040([0x2a])))[_0x36b040([0x6d,0x61,0x70])](_0x1ee596=>_0x1ee596[_0x36b040([0x73,0x70,0x6c,0x69,0x74])](_0x36b040([0x2e])))[_0x36b040([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3f6cc3=>_0x3f6cc3[_0x36b040([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x37c9cc[_0x36b040([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x36b040([0x6d,0x61,0x70])](_0x12554e=>Array(_0x37c9cc[_0x36b040([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x12554e[_0x36b040([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x36b040([0x66,0x69,0x6c,0x6c])](_0x12554e[0x0]===_0x36b040([0x2a])?_0x36b040([0x2a]):'')[_0x36b040([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x12554e))[_0x36b040([0x73,0x6f,0x6d,0x65])](_0xa9c5fb=>_0x37c9cc[_0x36b040([0x65,0x76,0x65,0x72,0x79])]((_0xbf3db0,_0x20c5f1)=>_0xa9c5fb[_0x20c5f1]===_0xbf3db0||_0xa9c5fb[_0x20c5f1]===_0x36b040([0x2a])));}function _0x33e13f(){return _0x25c595&&_0x543ea3?new window[(_0x36b040([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2cb9ac,_0x4a2f82)=>{_0x25c595[_0x36b040([0x74,0x68,0x65,0x6e])](_0x2cb9ac,_0x4a2f82),_0x543ea3[_0x36b040([0x74,0x68,0x65,0x6e])](_0x3d9acd=>{_0x3d9acd!=_0x36b040([0x56,0x61,0x6c,0x69,0x64])&&_0x2cb9ac(_0x3d9acd);},_0x4a2f82);}):_0x25c595||_0x543ea3||_0x36b040([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2cc59a(_0x1d6b74,_0x363405){return new window[(_0x36b040([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1f900c=>{if(_0x3293d5())return _0x1f900c(_0x36b040([0x56,0x61,0x6c,0x69,0x64]));_0x385db5(),_0x34dfb7[_0x36b040([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x36b040([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1b1f85=!0x1;const _0x13fd57=_0x1af594();function _0x2d548e(_0x3cb203){return!!_0x3cb203&&(typeof _0x3cb203===_0x36b040([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3cb203===_0x36b040([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3cb203[_0x36b040([0x74,0x68,0x65,0x6e])]===_0x36b040([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3cb203[_0x36b040([0x63,0x61,0x74,0x63,0x68])]===_0x36b040([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x9a4fb2(_0x3c474e){_0x1550dd(_0x3c474e)[_0x36b040([0x74,0x68,0x65,0x6e])](_0x196f91=>{if(!_0x196f91||_0x196f91[_0x36b040([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x36b040([0x6f,0x6b]))return _0x36b040([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5ca2a2(_0x11c2e0(_0x13fd57+_0x363405))!=_0x196f91[_0x36b040([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x36b040([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x36b040([0x56,0x61,0x6c,0x69,0x64]);})[_0x36b040([0x74,0x68,0x65,0x6e])](_0x569df1=>(_0x590786(),_0x569df1),()=>{const _0x314486=_0x5af24e();return null==_0x314486?(_0x590786(),_0x36b040([0x56,0x61,0x6c,0x69,0x64])):_0x36b040(_0x324733-_0x314486>(0x78354cd0^_0x11740e)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x36b040([0x74,0x68,0x65,0x6e])](_0x1f900c)[_0x36b040([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1f900c(_0x36b040([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x394462=0x5c0f2650^_0x11740e;function _0x590786(){const _0x4fc648=_0x36b040([0x6c,0x6c,0x63,0x74,0x2d])+_0x5ca2a2(_0x11c2e0(_0x1d6b74)),_0x5387e6=_0x4e4c8d(_0x5ca2a2(window[_0x36b040([0x4d,0x61,0x74,0x68])][_0x36b040([0x63,0x65,0x69,0x6c])](_0x324733/_0x394462)));window[_0x36b040([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x36b040([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4fc648,_0x5387e6);}function _0x5af24e(){const _0x395452=_0x36b040([0x6c,0x6c,0x63,0x74,0x2d])+_0x5ca2a2(_0x11c2e0(_0x1d6b74)),_0xe78b7f=window[_0x36b040([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x36b040([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x395452);return _0xe78b7f?window[_0x36b040([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4e4c8d(_0xe78b7f),0x10)*_0x394462:null;}function _0x1550dd(_0x28350c){return new window[(_0x36b040([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x136f88,_0x22a23e)=>{_0x28350c[_0x36b040([0x74,0x68,0x65,0x6e])](_0x136f88,_0x22a23e),window[_0x36b040([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x22a23e,0x5c381c10^_0x11740e);});}}_0x34dfb7[_0x36b040([0x6f,0x6e])](_0x36b040([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4f5ba1,_0x49a651)=>{if(_0x49a651[0x0]!=_0x1d6b74)return _0x1f900c(_0x36b040([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x49a651[0x1]={..._0x49a651[0x1],[_0x36b040([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x13fd57};},{[_0x36b040([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x36b040([0x68,0x69,0x67,0x68])}),_0x34dfb7[_0x36b040([0x6f,0x6e])](_0x36b040([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x40c1f2=>{_0x2d548e(_0x40c1f2[_0x36b040([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1b1f85=!0x0,_0x9a4fb2(_0x40c1f2[_0x36b040([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x36b040([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x36b040([0x6c,0x6f,0x77])}),_0x5c3bb1[_0x36b040([0x74,0x68,0x65,0x6e])](()=>{_0x1b1f85||_0x1f900c(_0x36b040([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3293d5(){return _0x34dfb7[_0x36b040([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x36b040([0x76,0x69,0x65,0x77])][_0x36b040([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x36b040([0x61,0x75,0x74,0x6f]);}function _0x385db5(){_0x34dfb7[_0x36b040([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x36b040([0x76,0x69,0x65,0x77])][_0x36b040([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x36b040([0x61,0x75,0x74,0x6f]);}}function _0x25af90(_0x3dc3d7){const _0x20fae2=[new window[(_0x36b040([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x560156=>setTimeout(_0x560156,0x5c30f61c^_0x11740e)),_0x5c3bb1[_0x36b040([0x74,0x68,0x65,0x6e])](()=>new window[(_0x36b040([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x20a938=>{let _0x149be9=0x0;_0x34dfb7[_0x36b040([0x6d,0x6f,0x64,0x65,0x6c])][_0x36b040([0x6f,0x6e])](_0x36b040([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x517e45,_0x296fba)=>{_0x296fba[0x0][_0x36b040([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x149be9++,_0x149be9==(0x5c39c928^_0x11740e)&&(_0x20a938(),_0x517e45[_0x36b040([0x6f,0x66,0x66])]());});}))];return window[_0x36b040([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x36b040([0x72,0x61,0x63,0x65])](_0x20fae2)[_0x36b040([0x74,0x68,0x65,0x6e])](()=>_0x3dc3d7);}async function _0x52f7e2(){await _0x5c3bb1,_0x34dfb7[_0x36b040([0x6d,0x6f,0x64,0x65,0x6c])][_0x36b040([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x52184e,_0x34dfb7[_0x36b040([0x6d,0x6f,0x64,0x65,0x6c])][_0x36b040([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x52184e,_0x34dfb7[_0x36b040([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x36b040([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x54f888(_0x488bf0){const _0x46f610=_0x22ecb9();_0x34dfb7[_0x46f610]=_0x36b040([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])+_0x488bf0,_0x488bf0!=_0x36b040([0x56,0x61,0x6c,0x69,0x64])&&_0x52f7e2();}function _0x22ecb9(){const _0x10b92c=window[_0x36b040([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x36b040([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x36b040([0x6e,0x6f,0x77])]())[_0x36b040([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x36b040([0x2e]),'');let _0xa7da6f=_0x36b040([0x6a]);for(let _0x525372=0x0;_0x525372<_0x10b92c[_0x36b040([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x525372+=0x2){let _0x476e73=window[_0x36b040([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x10b92c[_0x36b040([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x525372,_0x525372+0x2));_0x476e73>=_0x518509[_0x36b040([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x476e73-=_0x518509[_0x36b040([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xa7da6f+=_0x518509[_0x476e73];}return _0xa7da6f;}function _0x195532(){const _0x4d799a=_0x13c98a[_0x36b040([0x73,0x70,0x6c,0x69,0x74])](_0x36b040([0x2e]));if(0x3!=_0x4d799a[_0x36b040([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x321150(_0x4d799a[0x1]);function _0x321150(_0x2aa33b){const _0x33d521=_0x3d4333(_0x2aa33b);return _0x33d521&&_0x39b2a1()?_0x33d521:null;function _0x39b2a1(){const _0x180968=_0x33d521[_0x36b040([0x6a,0x74,0x69])],_0x375e5c=window[_0x36b040([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x180968[_0x36b040([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x180968[_0x36b040([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x359969={..._0x33d521,[_0x36b040([0x6a,0x74,0x69])]:_0x180968[_0x36b040([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x180968[_0x36b040([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x359969[_0x36b040([0x76,0x63])],_0x11c2e0(_0x359969)==_0x375e5c;}}}async function _0x498f46(){let _0x168d1b=!0x0;try{const _0x5882b5=_0x13c98a[_0x36b040([0x73,0x70,0x6c,0x69,0x74])](_0x36b040([0x2e])),[_0x58dc38,_0x235328,_0xd26f79]=_0x5882b5;return _0x59a61f(_0x58dc38),await _0x14c589(_0x58dc38,_0x235328,_0xd26f79),_0x168d1b;}catch{return!0x1;}function _0x59a61f(_0x52881b){const _0x5d7362=_0x3d4333(_0x52881b);_0x5d7362&&_0x5d7362[_0x36b040([0x61,0x6c,0x67])]==_0x36b040([0x45,0x53,0x32,0x35,0x36])||(_0x168d1b=!0x1);}async function _0x14c589(_0x29d738,_0x228a61,_0x395711){const _0x301268=window[_0x36b040([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x36b040([0x66,0x72,0x6f,0x6d])](_0x3291b0(_0x395711),_0x3ad576=>_0x3ad576[_0x36b040([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xb1f089=new window[(_0x36b040([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x36b040([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x29d738+_0x36b040([0x2e])+_0x228a61),_0x5bf018=window[_0x36b040([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x36b040([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5bf018)return;const _0x2c31b9=await _0x5bf018[_0x36b040([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x36b040([0x6a,0x77,0x6b]),_0x17525f,{[_0x36b040([0x6e,0x61,0x6d,0x65])]:_0x36b040([0x45,0x43,0x44,0x53,0x41]),[_0x36b040([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x36b040([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x36b040([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5bf018[_0x36b040([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x36b040([0x6e,0x61,0x6d,0x65])]:_0x36b040([0x45,0x43,0x44,0x53,0x41]),[_0x36b040([0x68,0x61,0x73,0x68])]:{[_0x36b040([0x6e,0x61,0x6d,0x65])]:_0x36b040([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2c31b9,_0x301268,_0xb1f089)||(_0x168d1b=!0x1);}}function _0x3d4333(_0x17354e){return _0x17354e[_0x36b040([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x36b040([0x65,0x79]))?JSON[_0x36b040([0x70,0x61,0x72,0x73,0x65])](_0x3291b0(_0x17354e)):null;}function _0x3291b0(_0x220fe3){return window[_0x36b040([0x61,0x74,0x6f,0x62])](_0x220fe3[_0x36b040([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x36b040([0x2b]))[_0x36b040([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x36b040([0x2f])));}function _0x11c2e0(_0x572aad){let _0x45480b=0x1505;function _0xd039bb(_0x16a953){for(let _0x49b67f=0x0;_0x49b67f<_0x16a953[_0x36b040([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x49b67f++){const _0x3738ca=_0x16a953[_0x36b040([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x49b67f);_0x45480b=(_0x45480b<<0x5)+_0x45480b+_0x3738ca,_0x45480b&=_0x45480b;}}function _0x589d03(_0x4a72e3){Array[_0x36b040([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4a72e3)?_0x4a72e3[_0x36b040([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x589d03):_0x4a72e3&&typeof _0x4a72e3==_0x36b040([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x36b040([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4a72e3)[_0x36b040([0x73,0x6f,0x72,0x74])]()[_0x36b040([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x530b31,_0x47f1b0])=>{_0xd039bb(_0x530b31),_0x589d03(_0x47f1b0);}):_0xd039bb(window[_0x36b040([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4a72e3));}return _0x589d03(_0x572aad),_0x45480b>>>0x0;}function _0x5ca2a2(_0x3ca4ed){return _0x3ca4ed[_0x36b040([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x36b040([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x36b040([0x30]));}function _0x4e4c8d(_0x5b4470){return _0x5b4470[_0x36b040([0x73,0x70,0x6c,0x69,0x74])]('')[_0x36b040([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x36b040([0x6a,0x6f,0x69,0x6e])]('');}function _0x52184e(){}function _0x36b040(_0x124543){return _0x124543['map'](_0x1bbab8=>String['fromCharCode'](_0x1bbab8))['join']('');}_0x54f888(await _0x519688());}(this);}['_createButton'](_0x376e34,_0x41060a,_0x1b9ca7=!0x1){const _0x15b303=new _0x376e34(this['editor']['locale']);return _0x15b303['set']({'withText':_0x1b9ca7,'isToggleable':!0x1}),_0x15b303['bind']('isEnabled')['to'](_0x41060a,'isEnabled'),this['listenTo'](_0x15b303,'execute',()=>_0x41060a['execute']()),_0x15b303;}['_registerKeybindings'](){const _0x53222a=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':f(_0x53222a,'Source\x20Editing\x20Enhanced')});const _0x1a7888=_0x18eb29['isMac']||_0x18eb29['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':f(_0x53222a,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':f(_0x53222a,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':f(_0x53222a,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':f(_0x53222a,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':f(_0x53222a,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':f(_0x53222a,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':f(_0x53222a,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x1a7888?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':f(_0x53222a,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':f(_0x53222a,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':f(_0x53222a,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':f(_0x53222a,'Select\x20line'),'keystroke':_0x1a7888?'Ctrl!+L':'Alt+L'},{'label':f(_0x53222a,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x1a7888?'Alt+Shift+M':'Ctrl+M'},{'label':f(_0x53222a,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':f(_0x53222a,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':f(_0x53222a,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':f(_0x53222a,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':f(_0x53222a,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x1a7888?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}class e extends _0x49c953{constructor(_0x52b3de){super(_0x52b3de),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0x58fb63,_0x15ef95){const _0x17ff5a=this['editor'],_0x5b0ab7=_0x15ef95?.['rootName']??s(_0x17ff5a);_0x17ff5a['data']['set']({[_0x5b0ab7]:_0x58fb63},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}class c extends _0x22470d{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[a];}constructor(_0x50254a){super(_0x50254a),_0x50254a['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 _0x1331ad=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3a5e3c;for(const _0x3e6274 in _0x1331ad){const _0x4086a8=_0x3e6274,_0x1aceac=_0x1331ad[_0x4086a8];if('sourceEditingEnhancedLicenseKeyValid'==_0x1aceac||'sourceEditingEnhancedLicenseKeyInvalid'==_0x1aceac||'sourceEditingEnhancedLicenseKeyExpired'==_0x1aceac||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x1aceac||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x1aceac||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x1aceac||'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x1aceac||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x1aceac){delete _0x1331ad[_0x4086a8],_0x3a5e3c=_0x1aceac,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0x3a5e3c&&_0x1331ad['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0x3a5e3c&&_0x1331ad['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x3a5e3c&&_0x1331ad['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x3a5e3c&&_0x1331ad['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x3a5e3c&&_0x1331ad['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x3a5e3c&&_0x1331ad['_showLicenseError']('trialLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x3a5e3c&&_0x1331ad['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0x3f7937=this['editor'],_0x4348cf=_0x3f7937['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0x4348cf&&_0x3f7937['plugins']['has']('RealTimeCollaborativeEditing'))throw new _0x2ef746('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0x4348cf&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x247aac=>_0x3f7937['plugins']['has'](_0x247aac))&&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.'),_0x3f7937['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.1-alpha.
|
|
3
|
+
"version": "45.2.1-alpha.6",
|
|
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.1-alpha.
|
|
22
|
-
"@ckeditor/ckeditor5-icons": "45.2.1-alpha.
|
|
23
|
-
"@ckeditor/ckeditor5-theme-lark": "45.2.1-alpha.
|
|
24
|
-
"@ckeditor/ckeditor5-ui": "45.2.1-alpha.
|
|
25
|
-
"@ckeditor/ckeditor5-utils": "45.2.1-alpha.
|
|
21
|
+
"@ckeditor/ckeditor5-core": "45.2.1-alpha.6",
|
|
22
|
+
"@ckeditor/ckeditor5-icons": "45.2.1-alpha.6",
|
|
23
|
+
"@ckeditor/ckeditor5-theme-lark": "45.2.1-alpha.6",
|
|
24
|
+
"@ckeditor/ckeditor5-ui": "45.2.1-alpha.6",
|
|
25
|
+
"@ckeditor/ckeditor5-utils": "45.2.1-alpha.6",
|
|
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.1-alpha.
|
|
34
|
+
"ckeditor5": "45.2.1-alpha.6"
|
|
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 _0x521c50=_0x208a;(function(_0x27f47a,_0x4a1959){const _0x2c4f19=_0x208a,_0x25a102=_0x27f47a();while(!![]){try{const _0x522d4e=parseInt(_0x2c4f19(0x18c))/0x1*(-parseInt(_0x2c4f19(0x150))/0x2)+parseInt(_0x2c4f19(0x168))/0x3+-parseInt(_0x2c4f19(0x14e))/0x4+parseInt(_0x2c4f19(0x17a))/0x5+-parseInt(_0x2c4f19(0x141))/0x6*(parseInt(_0x2c4f19(0x159))/0x7)+parseInt(_0x2c4f19(0x157))/0x8*(-parseInt(_0x2c4f19(0x177))/0x9)+parseInt(_0x2c4f19(0x192))/0xa;if(_0x522d4e===_0x4a1959)break;else _0x25a102['push'](_0x25a102['shift']());}catch(_0xf7b7cc){_0x25a102['push'](_0x25a102['shift']());}}}(_0x18be,0x8a0bc));import{Plugin as _0x54f1d9,PendingActions as _0x43f94a}from'ckeditor5/src/core.js';import{IconSource as _0x49dd72}from'ckeditor5/src/icons.js';function _0x18be(){const _0x28d636=['251wgxdzZ','isMac','Shift+Ctrl+K','ck-source-editing-enhanced-button','Ctrl+/','Unfold\x20all','22113410sxgfzL','sourceEditingEnhanced','Undo\x20(keystroke)','Indent\x20more','18eJFcUJ','Source','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode','Ctrl+M','Toggle\x20comment','isiOS','Ctrl+Shift+Z','isPremiumPlugin','href','Move\x20line\x20up','isEnabled','Ctrl+Shift+]','Redo\x20(keystroke)','4178792cpxHwc','map','8562FvZdxV','menuBar:sourceEditingEnhanced','pluginName','execute','join','Cmd+Alt+[','set','824iHNPPk','afterInit','1675842JIyqEg','menuitemcheckbox','Alt+Shift+M','_createButton','accessibility','Indent\x20less','Move\x20line\x20down','Copy\x20line\x20up','Unfold\x20code\x20(current\x20level)','Ctrl!+Alt+[','Cmd+Alt+]','isOfficialPlugin','_registerKeybindings','componentFactory','Ctrl+Y','2245359sjdwyr','Alt+ArrowDown','Shift+Alt+A','fromCharCode','Fold\x20code\x20(current\x20level)','add','Ctrl!+L','Shift+Alt+ArrowDown','Ctrl+]','addKeystrokeInfoCategory','Delete\x20line','SourceEditingEnhancedUI','Toggle\x20block\x20comment','requires','Ctrl!+Alt+]','55224uOJueC','init','Source\x20Editing\x20Enhanced','5375485qqJggY','Ctrl+Z','commands','locale','Copy\x20line\x20down','Ctrl+Shift+[','Edit\x20source\x20modal\x20label','Shift+Alt+ArrowUp','editSource','Alt+L','Ctrl+[','editor','addKeystrokeInfos','Alt+ArrowUp','Select\x20line','Fold\x20all','listenTo','bind'];_0x18be=function(){return _0x28d636;};return _0x18be();}function _0x208a(_0x134404,_0x3bc94b){const _0x18befa=_0x18be();return _0x208a=function(_0x208a56,_0x2f288f){_0x208a56=_0x208a56-0x13e;let _0x433690=_0x18befa[_0x208a56];return _0x433690;},_0x208a(_0x134404,_0x3bc94b);}import{ButtonView as _0x16d98f,MenuBarMenuListItemButtonView as _0x3c2b62}from'ckeditor5/src/ui.js';import _0x391b1e from'./ui/editsourcecommand.js';import{getTranslation as _0x437767}from'./utils/common-translations.js';import{env as _0xff09eb,uid as _0x5b694e}from'ckeditor5/src/utils.js';import'../theme/sourceeditingenhanced.css';export default class a extends _0x54f1d9{static get[_0x521c50(0x152)](){const _0x5a5d73=_0x521c50;return _0x5a5d73(0x173);}static get[_0x521c50(0x175)](){return[_0x43f94a];}static get[_0x521c50(0x164)](){return!0x0;}static get[_0x521c50(0x148)](){return!0x0;}[_0x521c50(0x178)](){const _0x418fdd=_0x521c50,_0x2d9217=this[_0x418fdd(0x185)],_0x46a1b1=_0x2d9217[_0x418fdd(0x17d)],_0x2d12ee=new _0x391b1e(_0x2d9217);_0x2d9217[_0x418fdd(0x17c)][_0x418fdd(0x16d)](_0x418fdd(0x182),_0x2d12ee),_0x2d9217['ui'][_0x418fdd(0x166)][_0x418fdd(0x16d)](_0x418fdd(0x13e),()=>{const _0x5bb994=_0x418fdd,_0x222a87=this[_0x5bb994(0x15c)](_0x16d98f,_0x2d12ee);return _0x222a87[_0x5bb994(0x156)]({'label':_0x437767(_0x46a1b1,_0x5bb994(0x142)),'icon':_0x49dd72,'tooltip':_0x437767(_0x46a1b1,_0x5bb994(0x180)),'class':_0x5bb994(0x18f)}),_0x222a87;}),_0x2d9217['ui'][_0x418fdd(0x166)][_0x418fdd(0x16d)](_0x418fdd(0x151),()=>{const _0x55b70a=_0x418fdd,_0x1c9d2d=this[_0x55b70a(0x15c)](_0x3c2b62,_0x2d12ee,!0x0);return _0x1c9d2d[_0x55b70a(0x156)]({'label':_0x437767(_0x46a1b1,_0x55b70a(0x180)),'icon':_0x49dd72,'role':_0x55b70a(0x15a)}),_0x1c9d2d;}),this[_0x418fdd(0x165)]();}[_0x521c50(0x158)](){!async function(_0x3d5fdf){const _0x10e1e5=_0x534192([0x6a,0x67,0x62,0x6b,0x4b,0x4f,0x52,0x64,0x35,0x39,0x47,0x6e,0x44,0x30,0x77,0x65,0x4c,0x49,0x7a,0x61,0x55,0x54,0x46,0x70,0x41,0x66,0x42,0x76,0x48,0x59,0x57,0x56,0x69,0x4a,0x4e,0x75,0x58,0x5a,0x72,0x34,0x74,0x78,0x38,0x79,0x71,0x37,0x6c,0x50,0x51,0x53,0x6d,0x73,0x33,0x36,0x68,0x63,0x43,0x45,0x31,0x4d,0x6f,0x32]),_0x205341=0x202c8fa9,_0x590d5a=0x202be499^_0x205341,_0x3a18bb=window[_0x534192([0x44,0x61,0x74,0x65])][_0x534192([0x6e,0x6f,0x77])](),_0x4cce72=_0x3d5fdf[_0x534192([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x28ea46=new window[(_0x534192([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3a13af=>{_0x4cce72[_0x534192([0x6f,0x6e,0x63,0x65])](_0x534192([0x72,0x65,0x61,0x64,0x79]),_0x3a13af);}),_0x337cf6={[_0x534192([0x6b,0x74,0x79])]:_0x534192([0x45,0x43]),[_0x534192([0x75,0x73,0x65])]:_0x534192([0x73,0x69,0x67]),[_0x534192([0x63,0x72,0x76])]:_0x534192([0x50,0x2d,0x32,0x35,0x36]),[_0x534192([0x78])]:_0x534192([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]),[_0x534192([0x79])]:_0x534192([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]),[_0x534192([0x61,0x6c,0x67])]:_0x534192([0x45,0x53,0x32,0x35,0x36])},_0x1ba2b2=_0x4cce72[_0x534192([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x534192([0x67,0x65,0x74])](_0x534192([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x531201(){let _0x47ab11,_0x3fe955=null,_0x1c3908=null;try{if(_0x1ba2b2==_0x534192([0x47,0x50,0x4c]))return _0x534192([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x47ab11=_0x219386(),!_0x47ab11)return _0x534192([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x47ab11[_0x534192([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1c3908=_0x16cefc(_0x47ab11[_0x534192([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x47ab11[_0x534192([0x6a,0x74,0x69])])),await _0x223c16()?_0x25e095()?_0x45715b()?_0x534192([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x26033e()?(_0x47ab11[_0x534192([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x534192([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3fe955=_0x135079(_0x534192([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x47ab11[_0x534192([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x534192([0x74,0x72,0x69,0x61,0x6c])&&(_0x3fe955=_0x135079(_0x534192([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4f1d2d()):_0x534192([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x534192([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x534192([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x534192([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x45715b(){const _0x161aa0=[_0x534192([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x534192([0x74,0x72,0x69,0x61,0x6c])][_0x534192([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x47ab11[_0x534192([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3a18bb/0x3e8:0xe10*_0x590d5a;return _0x47ab11[_0x534192([0x65,0x78,0x70])]<_0x161aa0;}function _0x25e095(){const _0x5519b5=_0x47ab11[_0x534192([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5519b5&&(!!_0x5519b5[_0x534192([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x534192([0x2a]))||!!_0x5519b5[_0x534192([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x534192([0x53,0x45,0x45])));}function _0x26033e(){const _0xd12c56=_0x208a,_0x51677c=_0x47ab11[_0x534192([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x51677c||0x0==_0x51677c[_0x534192([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xe1f6f5}=new URL(window[_0x534192([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0xd12c56(0x149)]);if(_0x51677c[_0x534192([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe1f6f5))return!0x0;const _0x290f61=_0xe1f6f5[_0x534192([0x73,0x70,0x6c,0x69,0x74])](_0x534192([0x2e]));return _0x51677c[_0x534192([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x373d57=>_0x373d57[_0x534192([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x534192([0x2a])))[_0x534192([0x6d,0x61,0x70])](_0x163f4d=>_0x163f4d[_0x534192([0x73,0x70,0x6c,0x69,0x74])](_0x534192([0x2e])))[_0x534192([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x39d8d3=>_0x39d8d3[_0x534192([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x290f61[_0x534192([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x534192([0x6d,0x61,0x70])](_0x1347dc=>Array(_0x290f61[_0x534192([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1347dc[_0x534192([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x534192([0x66,0x69,0x6c,0x6c])](_0x1347dc[0x0]===_0x534192([0x2a])?_0x534192([0x2a]):'')[_0x534192([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1347dc))[_0x534192([0x73,0x6f,0x6d,0x65])](_0x1e88fa=>_0x290f61[_0x534192([0x65,0x76,0x65,0x72,0x79])]((_0x1f9ab0,_0x1ffe43)=>_0x1e88fa[_0x1ffe43]===_0x1f9ab0||_0x1e88fa[_0x1ffe43]===_0x534192([0x2a])));}function _0x4f1d2d(){return _0x3fe955&&_0x1c3908?new window[(_0x534192([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1909b2,_0x47dd44)=>{_0x3fe955[_0x534192([0x74,0x68,0x65,0x6e])](_0x1909b2,_0x47dd44),_0x1c3908[_0x534192([0x74,0x68,0x65,0x6e])](_0x346425=>{_0x346425!=_0x534192([0x56,0x61,0x6c,0x69,0x64])&&_0x1909b2(_0x346425);},_0x47dd44);}):_0x3fe955||_0x1c3908||_0x534192([0x56,0x61,0x6c,0x69,0x64]);}}function _0x16cefc(_0xe7354,_0x4d11d3){return new window[(_0x534192([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2eef1b=>{if(_0x3de80e())return _0x2eef1b(_0x534192([0x56,0x61,0x6c,0x69,0x64]));_0x568101(),_0x4cce72[_0x534192([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x534192([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2d3a56=!0x1;const _0x5ed94f=_0x5b694e();function _0x2d9088(_0x361eef){return!!_0x361eef&&(typeof _0x361eef===_0x534192([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x361eef===_0x534192([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x361eef[_0x534192([0x74,0x68,0x65,0x6e])]===_0x534192([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x361eef[_0x534192([0x63,0x61,0x74,0x63,0x68])]===_0x534192([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3b66fa(_0x186f53){_0x23bd55(_0x186f53)[_0x534192([0x74,0x68,0x65,0x6e])](_0x128d39=>{if(!_0x128d39||_0x128d39[_0x534192([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x534192([0x6f,0x6b]))return _0x534192([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x20efab(_0x32d0c4(_0x5ed94f+_0x4d11d3))!=_0x128d39[_0x534192([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x534192([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x534192([0x56,0x61,0x6c,0x69,0x64]);})[_0x534192([0x74,0x68,0x65,0x6e])](_0xf638f=>(_0x195d32(),_0xf638f),()=>{const _0x4c74be=_0x6e9f44();return null==_0x4c74be?(_0x195d32(),_0x534192([0x56,0x61,0x6c,0x69,0x64])):_0x534192(_0x3a18bb-_0x4c74be>(0x4200ba9^_0x205341)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x534192([0x74,0x68,0x65,0x6e])](_0x2eef1b)[_0x534192([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2eef1b(_0x534192([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1b36fa=0x201a6129^_0x205341;function _0x195d32(){const _0x2e326e=_0x534192([0x6c,0x6c,0x63,0x74,0x2d])+_0x20efab(_0x32d0c4(_0xe7354)),_0x3c4ce1=_0x4af911(_0x20efab(window[_0x534192([0x4d,0x61,0x74,0x68])][_0x534192([0x63,0x65,0x69,0x6c])](_0x3a18bb/_0x1b36fa)));window[_0x534192([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x534192([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2e326e,_0x3c4ce1);}function _0x6e9f44(){const _0x4e871d=_0x534192([0x6c,0x6c,0x63,0x74,0x2d])+_0x20efab(_0x32d0c4(_0xe7354)),_0x9ef239=window[_0x534192([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x534192([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4e871d);return _0x9ef239?window[_0x534192([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4af911(_0x9ef239),0x10)*_0x1b36fa:null;}function _0x23bd55(_0x3153eb){return new window[(_0x534192([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5d65fa,_0x23efef)=>{_0x3153eb[_0x534192([0x74,0x68,0x65,0x6e])](_0x5d65fa,_0x23efef),window[_0x534192([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x23efef,0x202d5b69^_0x205341);});}}_0x4cce72[_0x534192([0x6f,0x6e])](_0x534192([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x427fb6,_0x38a788)=>{if(_0x38a788[0x0]!=_0xe7354)return _0x2eef1b(_0x534192([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x38a788[0x1]={..._0x38a788[0x1],[_0x534192([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5ed94f};},{[_0x534192([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x534192([0x68,0x69,0x67,0x68])}),_0x4cce72[_0x534192([0x6f,0x6e])](_0x534192([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xa51d6a=>{_0x2d9088(_0xa51d6a[_0x534192([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2d3a56=!0x0,_0x3b66fa(_0xa51d6a[_0x534192([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x534192([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x534192([0x6c,0x6f,0x77])}),_0x28ea46[_0x534192([0x74,0x68,0x65,0x6e])](()=>{_0x2d3a56||_0x2eef1b(_0x534192([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3de80e(){return _0x4cce72[_0x534192([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x534192([0x76,0x69,0x65,0x77])][_0x534192([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x534192([0x61,0x75,0x74,0x6f]);}function _0x568101(){_0x4cce72[_0x534192([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x534192([0x76,0x69,0x65,0x77])][_0x534192([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x534192([0x61,0x75,0x74,0x6f]);}}function _0x135079(_0x3e503d){const _0x104b25=[new window[(_0x534192([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x35348b=>setTimeout(_0x35348b,0x2025b165^_0x205341)),_0x28ea46[_0x534192([0x74,0x68,0x65,0x6e])](()=>new window[(_0x534192([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x409b4a=>{let _0x913786=0x0;_0x4cce72[_0x534192([0x6d,0x6f,0x64,0x65,0x6c])][_0x534192([0x6f,0x6e])](_0x534192([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x465bff,_0x44427a)=>{_0x44427a[0x0][_0x534192([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x913786++,_0x913786==(0x202c8e51^_0x205341)&&(_0x409b4a(),_0x465bff[_0x534192([0x6f,0x66,0x66])]());});}))];return window[_0x534192([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x534192([0x72,0x61,0x63,0x65])](_0x104b25)[_0x534192([0x74,0x68,0x65,0x6e])](()=>_0x3e503d);}async function _0x2ba500(){await _0x28ea46,_0x4cce72[_0x534192([0x6d,0x6f,0x64,0x65,0x6c])][_0x534192([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2b66a7,_0x4cce72[_0x534192([0x6d,0x6f,0x64,0x65,0x6c])][_0x534192([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2b66a7,_0x4cce72[_0x534192([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x534192([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5f0e43(_0x104845){const _0x18b766=_0x1c4050();_0x4cce72[_0x18b766]=_0x534192([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])+_0x104845,_0x104845!=_0x534192([0x56,0x61,0x6c,0x69,0x64])&&_0x2ba500();}function _0x1c4050(){const _0x56eaca=window[_0x534192([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x534192([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x534192([0x6e,0x6f,0x77])]())[_0x534192([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x534192([0x2e]),'');let _0x255b5d=_0x534192([0x6a]);for(let _0x4dea00=0x0;_0x4dea00<_0x56eaca[_0x534192([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4dea00+=0x2){let _0x1d1f6d=window[_0x534192([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x56eaca[_0x534192([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4dea00,_0x4dea00+0x2));_0x1d1f6d>=_0x10e1e5[_0x534192([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1d1f6d-=_0x10e1e5[_0x534192([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x255b5d+=_0x10e1e5[_0x1d1f6d];}return _0x255b5d;}function _0x219386(){const _0x434c6f=_0x1ba2b2[_0x534192([0x73,0x70,0x6c,0x69,0x74])](_0x534192([0x2e]));if(0x3!=_0x434c6f[_0x534192([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2bcc9e(_0x434c6f[0x1]);function _0x2bcc9e(_0x16664d){const _0x14364c=_0x49a40b(_0x16664d);return _0x14364c&&_0x5efbe1()?_0x14364c:null;function _0x5efbe1(){const _0x436290=_0x14364c[_0x534192([0x6a,0x74,0x69])],_0x3076f9=window[_0x534192([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x436290[_0x534192([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x436290[_0x534192([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x223744={..._0x14364c,[_0x534192([0x6a,0x74,0x69])]:_0x436290[_0x534192([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x436290[_0x534192([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x223744[_0x534192([0x76,0x63])],_0x32d0c4(_0x223744)==_0x3076f9;}}}async function _0x223c16(){let _0x4dfa52=!0x0;try{const _0x143880=_0x1ba2b2[_0x534192([0x73,0x70,0x6c,0x69,0x74])](_0x534192([0x2e])),[_0x1d98e6,_0x68834,_0x3d5853]=_0x143880;return _0x3a0b01(_0x1d98e6),await _0x2b7aae(_0x1d98e6,_0x68834,_0x3d5853),_0x4dfa52;}catch{return!0x1;}function _0x3a0b01(_0x40b685){const _0x714fc1=_0x49a40b(_0x40b685);_0x714fc1&&_0x714fc1[_0x534192([0x61,0x6c,0x67])]==_0x534192([0x45,0x53,0x32,0x35,0x36])||(_0x4dfa52=!0x1);}async function _0x2b7aae(_0x228a22,_0x3059bb,_0x597f2d){const _0x446f88=window[_0x534192([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x534192([0x66,0x72,0x6f,0x6d])](_0x5195d4(_0x597f2d),_0x14f144=>_0x14f144[_0x534192([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x15ab8e=new window[(_0x534192([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x534192([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x228a22+_0x534192([0x2e])+_0x3059bb),_0x51ed34=window[_0x534192([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x534192([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x51ed34)return;const _0x56ea80=await _0x51ed34[_0x534192([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x534192([0x6a,0x77,0x6b]),_0x337cf6,{[_0x534192([0x6e,0x61,0x6d,0x65])]:_0x534192([0x45,0x43,0x44,0x53,0x41]),[_0x534192([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x534192([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x534192([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x51ed34[_0x534192([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x534192([0x6e,0x61,0x6d,0x65])]:_0x534192([0x45,0x43,0x44,0x53,0x41]),[_0x534192([0x68,0x61,0x73,0x68])]:{[_0x534192([0x6e,0x61,0x6d,0x65])]:_0x534192([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x56ea80,_0x446f88,_0x15ab8e)||(_0x4dfa52=!0x1);}}function _0x49a40b(_0x46210e){return _0x46210e[_0x534192([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x534192([0x65,0x79]))?JSON[_0x534192([0x70,0x61,0x72,0x73,0x65])](_0x5195d4(_0x46210e)):null;}function _0x5195d4(_0x342e87){return window[_0x534192([0x61,0x74,0x6f,0x62])](_0x342e87[_0x534192([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x534192([0x2b]))[_0x534192([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x534192([0x2f])));}function _0x32d0c4(_0x1e1b6d){let _0x12453b=0x1505;function _0x86733(_0x2b095c){for(let _0x895373=0x0;_0x895373<_0x2b095c[_0x534192([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x895373++){const _0x422c50=_0x2b095c[_0x534192([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x895373);_0x12453b=(_0x12453b<<0x5)+_0x12453b+_0x422c50,_0x12453b&=_0x12453b;}}function _0x2e63a1(_0x554cf7){Array[_0x534192([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x554cf7)?_0x554cf7[_0x534192([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2e63a1):_0x554cf7&&typeof _0x554cf7==_0x534192([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x534192([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x554cf7)[_0x534192([0x73,0x6f,0x72,0x74])]()[_0x534192([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1918c7,_0x52e5a7])=>{_0x86733(_0x1918c7),_0x2e63a1(_0x52e5a7);}):_0x86733(window[_0x534192([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x554cf7));}return _0x2e63a1(_0x1e1b6d),_0x12453b>>>0x0;}function _0x20efab(_0x27c341){return _0x27c341[_0x534192([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x534192([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x534192([0x30]));}function _0x4af911(_0x5387c9){return _0x5387c9[_0x534192([0x73,0x70,0x6c,0x69,0x74])]('')[_0x534192([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x534192([0x6a,0x6f,0x69,0x6e])]('');}function _0x2b66a7(){}function _0x534192(_0x29af34){const _0x2cc2ee=_0x208a;return _0x29af34[_0x2cc2ee(0x14f)](_0x197c8d=>String[_0x2cc2ee(0x16b)](_0x197c8d))[_0x2cc2ee(0x154)]('');}_0x5f0e43(await _0x531201());}(this);}[_0x521c50(0x15c)](_0x51344c,_0x14f11b,_0x4f8ff1=!0x1){const _0x3f01b6=_0x521c50,_0x528430=new _0x51344c(this[_0x3f01b6(0x185)][_0x3f01b6(0x17d)]);return _0x528430[_0x3f01b6(0x156)]({'withText':_0x4f8ff1,'isToggleable':!0x1}),_0x528430[_0x3f01b6(0x18b)](_0x3f01b6(0x14b))['to'](_0x14f11b,_0x3f01b6(0x14b)),this[_0x3f01b6(0x18a)](_0x528430,_0x3f01b6(0x153),()=>_0x14f11b[_0x3f01b6(0x153)]()),_0x528430;}[_0x521c50(0x165)](){const _0x328d63=_0x521c50,_0x1f50e6=this[_0x328d63(0x185)][_0x328d63(0x17d)];this[_0x328d63(0x185)][_0x328d63(0x15d)][_0x328d63(0x171)]({'id':_0x328d63(0x13e),'label':_0x437767(_0x1f50e6,_0x328d63(0x179))});const _0x391003=_0xff09eb[_0x328d63(0x18d)]||_0xff09eb[_0x328d63(0x146)];this[_0x328d63(0x185)][_0x328d63(0x15d)][_0x328d63(0x186)]({'categoryId':_0x328d63(0x13e),'keystrokes':[{'label':_0x437767(_0x1f50e6,_0x328d63(0x17e)),'keystroke':_0x328d63(0x16f)},{'label':_0x437767(_0x1f50e6,_0x328d63(0x160)),'keystroke':_0x328d63(0x181)},{'label':_0x437767(_0x1f50e6,_0x328d63(0x172)),'keystroke':_0x328d63(0x18e)},{'label':_0x437767(_0x1f50e6,_0x328d63(0x15e)),'keystroke':_0x328d63(0x184)},{'label':_0x437767(_0x1f50e6,_0x328d63(0x140)),'keystroke':_0x328d63(0x170)},{'label':_0x437767(_0x1f50e6,_0x328d63(0x189)),'keystroke':_0x328d63(0x162)},{'label':_0x437767(_0x1f50e6,_0x328d63(0x16c)),'keystroke':_0x391003?_0x328d63(0x155):_0x328d63(0x17f)},{'label':_0x437767(_0x1f50e6,_0x328d63(0x15f)),'keystroke':_0x328d63(0x169)},{'label':_0x437767(_0x1f50e6,_0x328d63(0x14a)),'keystroke':_0x328d63(0x187)},{'label':_0x437767(_0x1f50e6,_0x328d63(0x14d)),'keystroke':[[_0x328d63(0x147)],[_0x328d63(0x167)]]},{'label':_0x437767(_0x1f50e6,_0x328d63(0x188)),'keystroke':_0x391003?_0x328d63(0x16e):_0x328d63(0x183)},{'label':_0x437767(_0x1f50e6,_0x328d63(0x143)),'keystroke':_0x391003?_0x328d63(0x15b):_0x328d63(0x144)},{'label':_0x437767(_0x1f50e6,_0x328d63(0x174)),'keystroke':_0x328d63(0x16a)},{'label':_0x437767(_0x1f50e6,_0x328d63(0x145)),'keystroke':_0x328d63(0x190)},{'label':_0x437767(_0x1f50e6,_0x328d63(0x13f)),'keystroke':_0x328d63(0x17b)},{'label':_0x437767(_0x1f50e6,_0x328d63(0x191)),'keystroke':_0x328d63(0x176)},{'label':_0x437767(_0x1f50e6,_0x328d63(0x161)),'keystroke':_0x391003?_0x328d63(0x163):_0x328d63(0x14c)}]});}}
|
|
23
|
+
const _0x542bdd=_0x9229;(function(_0x4ede8a,_0x2f8822){const _0x47f8c9=_0x9229,_0x3d30e5=_0x4ede8a();while(!![]){try{const _0x23bc64=-parseInt(_0x47f8c9(0x211))/0x1*(-parseInt(_0x47f8c9(0x212))/0x2)+parseInt(_0x47f8c9(0x1c1))/0x3+parseInt(_0x47f8c9(0x1d6))/0x4*(parseInt(_0x47f8c9(0x1ea))/0x5)+-parseInt(_0x47f8c9(0x1d2))/0x6+-parseInt(_0x47f8c9(0x1f8))/0x7+-parseInt(_0x47f8c9(0x1cf))/0x8*(-parseInt(_0x47f8c9(0x214))/0x9)+-parseInt(_0x47f8c9(0x1d5))/0xa*(-parseInt(_0x47f8c9(0x204))/0xb);if(_0x23bc64===_0x2f8822)break;else _0x3d30e5['push'](_0x3d30e5['shift']());}catch(_0x447dcf){_0x3d30e5['push'](_0x3d30e5['shift']());}}}(_0x1bb8,0x4052a));import{Plugin as _0x48253e,PendingActions as _0x1abe82}from'ckeditor5/src/core.js';import{IconSource as _0x1226d2}from'ckeditor5/src/icons.js';import{ButtonView as _0x3298d1,MenuBarMenuListItemButtonView as _0x10ab67}from'ckeditor5/src/ui.js';import _0x5685d4 from'./ui/editsourcecommand.js';import{getTranslation as _0x4d2e05}from'./utils/common-translations.js';import{env as _0x34946c,uid as _0x34fde2}from'ckeditor5/src/utils.js';function _0x1bb8(){const _0xb607a=['href','Cmd+Alt+]','Toggle\x20block\x20comment','join','Cmd+Alt+[','Ctrl!+Alt+]','execute','menuBar:sourceEditingEnhanced','SourceEditingEnhancedUI','isMac','Shift+Alt+ArrowUp','9Kursby','83542haDvSc','editSource','3141ioTtRo','locale','Shift+Ctrl+K','349290cHYQwH','Ctrl+Shift+]','sourceEditingEnhanced','Unfold\x20code\x20(current\x20level)','Ctrl!+Alt+[','bind','commands','Redo\x20(keystroke)','Source\x20Editing\x20Enhanced','Ctrl!+L','listenTo','accessibility','Copy\x20line\x20up','addKeystrokeInfoCategory','6424TJFRnM','addKeystrokeInfos','Source','2762106MtIpLc','Move\x20line\x20up','Ctrl+/','370QUDOmG','4yxhhnJ','Ctrl+M','Ctrl+]','Fold\x20all','init','Fold\x20code\x20(current\x20level)','isEnabled','Ctrl+[','Ctrl+Y','componentFactory','Copy\x20line\x20down','Alt+Shift+M','editor','Shift+Alt+A','_createButton','Edit\x20source\x20modal\x20label','Shift+Alt+ArrowDown','Indent\x20more','Delete\x20line','add','655585honVAr','Unfold\x20all','_registerKeybindings','map','Alt+L','afterInit','Indent\x20less','Ctrl+Z','Ctrl+Shift+[','isiOS','ck-source-editing-enhanced-button','fromCharCode','Undo\x20(keystroke)','isPremiumPlugin','3539130UAhUrj','Alt+ArrowUp','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode','set','Select\x20line','Toggle\x20comment','pluginName','requires','Ctrl+Shift+Z','Move\x20line\x20down','Alt+ArrowDown','isOfficialPlugin','96822HHmPsB','menuitemcheckbox'];_0x1bb8=function(){return _0xb607a;};return _0x1bb8();}import'../theme/sourceeditingenhanced.css';function _0x9229(_0x52f893,_0x37cf12){const _0x1bb87e=_0x1bb8();return _0x9229=function(_0x9229a7,_0x3ec5aa){_0x9229a7=_0x9229a7-0x1bf;let _0x62504b=_0x1bb87e[_0x9229a7];return _0x62504b;},_0x9229(_0x52f893,_0x37cf12);}export default class a extends _0x48253e{static get[_0x542bdd(0x1fe)](){const _0x51a358=_0x542bdd;return _0x51a358(0x20e);}static get[_0x542bdd(0x1ff)](){return[_0x1abe82];}static get[_0x542bdd(0x203)](){return!0x0;}static get[_0x542bdd(0x1f7)](){return!0x0;}[_0x542bdd(0x1da)](){const _0x1a940d=_0x542bdd,_0x1007f6=this[_0x1a940d(0x1e2)],_0x3bde79=_0x1007f6[_0x1a940d(0x1bf)],_0x4e9e22=new _0x5685d4(_0x1007f6);_0x1007f6[_0x1a940d(0x1c7)][_0x1a940d(0x1e9)](_0x1a940d(0x213),_0x4e9e22),_0x1007f6['ui'][_0x1a940d(0x1df)][_0x1a940d(0x1e9)](_0x1a940d(0x1c3),()=>{const _0x181f87=_0x1a940d,_0x3b0a25=this[_0x181f87(0x1e4)](_0x3298d1,_0x4e9e22);return _0x3b0a25[_0x181f87(0x1fb)]({'label':_0x4d2e05(_0x3bde79,_0x181f87(0x1d1)),'icon':_0x1226d2,'tooltip':_0x4d2e05(_0x3bde79,_0x181f87(0x1e5)),'class':_0x181f87(0x1f4)}),_0x3b0a25;}),_0x1007f6['ui'][_0x1a940d(0x1df)][_0x1a940d(0x1e9)](_0x1a940d(0x20d),()=>{const _0x43faf8=_0x1a940d,_0x4614f1=this[_0x43faf8(0x1e4)](_0x10ab67,_0x4e9e22,!0x0);return _0x4614f1[_0x43faf8(0x1fb)]({'label':_0x4d2e05(_0x3bde79,_0x43faf8(0x1e5)),'icon':_0x1226d2,'role':_0x43faf8(0x205)}),_0x4614f1;}),this[_0x1a940d(0x1ec)]();}[_0x542bdd(0x1ef)](){!async function(_0x2b6b07){const _0x53daa6=_0x1a1981([0x6a,0x38,0x67,0x73,0x77,0x35,0x6c,0x36,0x53,0x78,0x52,0x57,0x59,0x72,0x64,0x66,0x69,0x74,0x34,0x32,0x39,0x43,0x63,0x49,0x58,0x4a,0x51,0x45,0x4e,0x30,0x75,0x70,0x4d,0x55,0x5a,0x50,0x71,0x56,0x79,0x6f,0x7a,0x41,0x76,0x65,0x33,0x4c,0x46,0x48,0x44,0x47,0x31,0x42,0x68,0x61,0x6b,0x62,0x4b,0x37,0x54,0x6d,0x4f,0x6e]),_0x32216e=0x5c39c8d0,_0x8feb8c=0x5c3ea398^_0x32216e,_0x6822b2=window[_0x1a1981([0x44,0x61,0x74,0x65])][_0x1a1981([0x6e,0x6f,0x77])](),_0x39b033=_0x2b6b07[_0x1a1981([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2614b3=new window[(_0x1a1981([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x12a8cc=>{_0x39b033[_0x1a1981([0x6f,0x6e,0x63,0x65])](_0x1a1981([0x72,0x65,0x61,0x64,0x79]),_0x12a8cc);}),_0x80d631={[_0x1a1981([0x6b,0x74,0x79])]:_0x1a1981([0x45,0x43]),[_0x1a1981([0x75,0x73,0x65])]:_0x1a1981([0x73,0x69,0x67]),[_0x1a1981([0x63,0x72,0x76])]:_0x1a1981([0x50,0x2d,0x32,0x35,0x36]),[_0x1a1981([0x78])]:_0x1a1981([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]),[_0x1a1981([0x79])]:_0x1a1981([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]),[_0x1a1981([0x61,0x6c,0x67])]:_0x1a1981([0x45,0x53,0x32,0x35,0x36])},_0x237a08=_0x39b033[_0x1a1981([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1a1981([0x67,0x65,0x74])](_0x1a1981([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x599b15(){let _0x29d6ac,_0x3cfd0f=null,_0x196d92=null;try{if(_0x237a08==_0x1a1981([0x47,0x50,0x4c]))return _0x1a1981([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x29d6ac=_0x25353a(),!_0x29d6ac)return _0x1a1981([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x29d6ac[_0x1a1981([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x196d92=_0x3ed1ed(_0x29d6ac[_0x1a1981([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x29d6ac[_0x1a1981([0x6a,0x74,0x69])])),await _0x1dcd0c()?_0x1ece1f()?_0x543e21()?_0x1a1981([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x31fb99()?(_0x29d6ac[_0x1a1981([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1a1981([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3cfd0f=_0x398f5a(_0x1a1981([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x29d6ac[_0x1a1981([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1a1981([0x74,0x72,0x69,0x61,0x6c])&&(_0x3cfd0f=_0x398f5a(_0x1a1981([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2b69ed()):_0x1a1981([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1a1981([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1a1981([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1a1981([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x543e21(){const _0x3e09a4=[_0x1a1981([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1a1981([0x74,0x72,0x69,0x61,0x6c])][_0x1a1981([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x29d6ac[_0x1a1981([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x6822b2/0x3e8:0xe10*_0x8feb8c;return _0x29d6ac[_0x1a1981([0x65,0x78,0x70])]<_0x3e09a4;}function _0x1ece1f(){const _0x58eaab=_0x29d6ac[_0x1a1981([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x58eaab&&(!!_0x58eaab[_0x1a1981([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1a1981([0x2a]))||!!_0x58eaab[_0x1a1981([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1a1981([0x53,0x45,0x45])));}function _0x31fb99(){const _0x23f41a=_0x9229,_0x1a4b9b=_0x29d6ac[_0x1a1981([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1a4b9b||0x0==_0x1a4b9b[_0x1a1981([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x218702}=new URL(window[_0x1a1981([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x23f41a(0x206)]);if(_0x1a4b9b[_0x1a1981([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x218702))return!0x0;const _0xa6b7b7=_0x218702[_0x1a1981([0x73,0x70,0x6c,0x69,0x74])](_0x1a1981([0x2e]));return _0x1a4b9b[_0x1a1981([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x203324=>_0x203324[_0x1a1981([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1a1981([0x2a])))[_0x1a1981([0x6d,0x61,0x70])](_0xab12a0=>_0xab12a0[_0x1a1981([0x73,0x70,0x6c,0x69,0x74])](_0x1a1981([0x2e])))[_0x1a1981([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xd919fe=>_0xd919fe[_0x1a1981([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xa6b7b7[_0x1a1981([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1a1981([0x6d,0x61,0x70])](_0x2395a2=>Array(_0xa6b7b7[_0x1a1981([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2395a2[_0x1a1981([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1a1981([0x66,0x69,0x6c,0x6c])](_0x2395a2[0x0]===_0x1a1981([0x2a])?_0x1a1981([0x2a]):'')[_0x1a1981([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2395a2))[_0x1a1981([0x73,0x6f,0x6d,0x65])](_0x27acf2=>_0xa6b7b7[_0x1a1981([0x65,0x76,0x65,0x72,0x79])]((_0x190e00,_0x157266)=>_0x27acf2[_0x157266]===_0x190e00||_0x27acf2[_0x157266]===_0x1a1981([0x2a])));}function _0x2b69ed(){return _0x3cfd0f&&_0x196d92?new window[(_0x1a1981([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3ddacb,_0x453fd4)=>{_0x3cfd0f[_0x1a1981([0x74,0x68,0x65,0x6e])](_0x3ddacb,_0x453fd4),_0x196d92[_0x1a1981([0x74,0x68,0x65,0x6e])](_0x2e86e4=>{_0x2e86e4!=_0x1a1981([0x56,0x61,0x6c,0x69,0x64])&&_0x3ddacb(_0x2e86e4);},_0x453fd4);}):_0x3cfd0f||_0x196d92||_0x1a1981([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3ed1ed(_0x1d812b,_0x2c9e89){return new window[(_0x1a1981([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x38ace2=>{if(_0x427685())return _0x38ace2(_0x1a1981([0x56,0x61,0x6c,0x69,0x64]));_0xcece8f(),_0x39b033[_0x1a1981([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1a1981([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x12c0bd=!0x1;const _0x68e0a2=_0x34fde2();function _0x281ab8(_0x54c4b9){return!!_0x54c4b9&&(typeof _0x54c4b9===_0x1a1981([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x54c4b9===_0x1a1981([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x54c4b9[_0x1a1981([0x74,0x68,0x65,0x6e])]===_0x1a1981([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x54c4b9[_0x1a1981([0x63,0x61,0x74,0x63,0x68])]===_0x1a1981([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x153716(_0x1dcc53){_0x3a376d(_0x1dcc53)[_0x1a1981([0x74,0x68,0x65,0x6e])](_0x1dc6fa=>{if(!_0x1dc6fa||_0x1dc6fa[_0x1a1981([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1a1981([0x6f,0x6b]))return _0x1a1981([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4d663c(_0x1a442b(_0x68e0a2+_0x2c9e89))!=_0x1dc6fa[_0x1a1981([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1a1981([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1a1981([0x56,0x61,0x6c,0x69,0x64]);})[_0x1a1981([0x74,0x68,0x65,0x6e])](_0x4eb6fa=>(_0x1720d5(),_0x4eb6fa),()=>{const _0x39c6df=_0xad0987();return null==_0x39c6df?(_0x1720d5(),_0x1a1981([0x56,0x61,0x6c,0x69,0x64])):_0x1a1981(_0x6822b2-_0x39c6df>(0x78354cd0^_0x32216e)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1a1981([0x74,0x68,0x65,0x6e])](_0x38ace2)[_0x1a1981([0x63,0x61,0x74,0x63,0x68])](()=>{_0x38ace2(_0x1a1981([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3073f2=0x5c0f2650^_0x32216e;function _0x1720d5(){const _0x23607f=_0x1a1981([0x6c,0x6c,0x63,0x74,0x2d])+_0x4d663c(_0x1a442b(_0x1d812b)),_0x1e2040=_0x1529bc(_0x4d663c(window[_0x1a1981([0x4d,0x61,0x74,0x68])][_0x1a1981([0x63,0x65,0x69,0x6c])](_0x6822b2/_0x3073f2)));window[_0x1a1981([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1a1981([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x23607f,_0x1e2040);}function _0xad0987(){const _0x1e9c09=_0x1a1981([0x6c,0x6c,0x63,0x74,0x2d])+_0x4d663c(_0x1a442b(_0x1d812b)),_0x5ce869=window[_0x1a1981([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1a1981([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1e9c09);return _0x5ce869?window[_0x1a1981([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1529bc(_0x5ce869),0x10)*_0x3073f2:null;}function _0x3a376d(_0x58e767){return new window[(_0x1a1981([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x400ec9,_0x3fe1dd)=>{_0x58e767[_0x1a1981([0x74,0x68,0x65,0x6e])](_0x400ec9,_0x3fe1dd),window[_0x1a1981([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3fe1dd,0x5c381c10^_0x32216e);});}}_0x39b033[_0x1a1981([0x6f,0x6e])](_0x1a1981([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x6268fb,_0x23a9ff)=>{if(_0x23a9ff[0x0]!=_0x1d812b)return _0x38ace2(_0x1a1981([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x23a9ff[0x1]={..._0x23a9ff[0x1],[_0x1a1981([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x68e0a2};},{[_0x1a1981([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1a1981([0x68,0x69,0x67,0x68])}),_0x39b033[_0x1a1981([0x6f,0x6e])](_0x1a1981([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2cc758=>{_0x281ab8(_0x2cc758[_0x1a1981([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x12c0bd=!0x0,_0x153716(_0x2cc758[_0x1a1981([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1a1981([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1a1981([0x6c,0x6f,0x77])}),_0x2614b3[_0x1a1981([0x74,0x68,0x65,0x6e])](()=>{_0x12c0bd||_0x38ace2(_0x1a1981([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x427685(){return _0x39b033[_0x1a1981([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1a1981([0x76,0x69,0x65,0x77])][_0x1a1981([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1a1981([0x61,0x75,0x74,0x6f]);}function _0xcece8f(){_0x39b033[_0x1a1981([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1a1981([0x76,0x69,0x65,0x77])][_0x1a1981([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1a1981([0x61,0x75,0x74,0x6f]);}}function _0x398f5a(_0x1a7375){const _0x52be7e=[new window[(_0x1a1981([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x33654a=>setTimeout(_0x33654a,0x5c30f61c^_0x32216e)),_0x2614b3[_0x1a1981([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1a1981([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4bf05f=>{let _0x3ba307=0x0;_0x39b033[_0x1a1981([0x6d,0x6f,0x64,0x65,0x6c])][_0x1a1981([0x6f,0x6e])](_0x1a1981([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x155a13,_0x146869)=>{_0x146869[0x0][_0x1a1981([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3ba307++,_0x3ba307==(0x5c39c928^_0x32216e)&&(_0x4bf05f(),_0x155a13[_0x1a1981([0x6f,0x66,0x66])]());});}))];return window[_0x1a1981([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1a1981([0x72,0x61,0x63,0x65])](_0x52be7e)[_0x1a1981([0x74,0x68,0x65,0x6e])](()=>_0x1a7375);}async function _0x4dfb69(){await _0x2614b3,_0x39b033[_0x1a1981([0x6d,0x6f,0x64,0x65,0x6c])][_0x1a1981([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x27f041,_0x39b033[_0x1a1981([0x6d,0x6f,0x64,0x65,0x6c])][_0x1a1981([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x27f041,_0x39b033[_0x1a1981([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1a1981([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2da225(_0x5e0022){const _0x561deb=_0x4ee5d2();_0x39b033[_0x561deb]=_0x1a1981([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])+_0x5e0022,_0x5e0022!=_0x1a1981([0x56,0x61,0x6c,0x69,0x64])&&_0x4dfb69();}function _0x4ee5d2(){const _0x3154ef=window[_0x1a1981([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1a1981([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1a1981([0x6e,0x6f,0x77])]())[_0x1a1981([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1a1981([0x2e]),'');let _0x814883=_0x1a1981([0x6a]);for(let _0x23ba28=0x0;_0x23ba28<_0x3154ef[_0x1a1981([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x23ba28+=0x2){let _0x3c219a=window[_0x1a1981([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3154ef[_0x1a1981([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x23ba28,_0x23ba28+0x2));_0x3c219a>=_0x53daa6[_0x1a1981([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3c219a-=_0x53daa6[_0x1a1981([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x814883+=_0x53daa6[_0x3c219a];}return _0x814883;}function _0x25353a(){const _0x4c1539=_0x237a08[_0x1a1981([0x73,0x70,0x6c,0x69,0x74])](_0x1a1981([0x2e]));if(0x3!=_0x4c1539[_0x1a1981([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1eaf7e(_0x4c1539[0x1]);function _0x1eaf7e(_0x14014c){const _0x5f477a=_0x100c58(_0x14014c);return _0x5f477a&&_0x19a1fd()?_0x5f477a:null;function _0x19a1fd(){const _0x1bdad6=_0x5f477a[_0x1a1981([0x6a,0x74,0x69])],_0x470bea=window[_0x1a1981([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1bdad6[_0x1a1981([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1bdad6[_0x1a1981([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x372b5f={..._0x5f477a,[_0x1a1981([0x6a,0x74,0x69])]:_0x1bdad6[_0x1a1981([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1bdad6[_0x1a1981([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x372b5f[_0x1a1981([0x76,0x63])],_0x1a442b(_0x372b5f)==_0x470bea;}}}async function _0x1dcd0c(){let _0x1be9f6=!0x0;try{const _0x593f5c=_0x237a08[_0x1a1981([0x73,0x70,0x6c,0x69,0x74])](_0x1a1981([0x2e])),[_0x1ce82d,_0x151ffd,_0xdf05c1]=_0x593f5c;return _0xb0657c(_0x1ce82d),await _0x403e6d(_0x1ce82d,_0x151ffd,_0xdf05c1),_0x1be9f6;}catch{return!0x1;}function _0xb0657c(_0x50ee90){const _0x4b3586=_0x100c58(_0x50ee90);_0x4b3586&&_0x4b3586[_0x1a1981([0x61,0x6c,0x67])]==_0x1a1981([0x45,0x53,0x32,0x35,0x36])||(_0x1be9f6=!0x1);}async function _0x403e6d(_0x38f724,_0x1c7eac,_0x39c16c){const _0x1e79fe=window[_0x1a1981([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1a1981([0x66,0x72,0x6f,0x6d])](_0x43cd96(_0x39c16c),_0x2080aa=>_0x2080aa[_0x1a1981([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3cd77c=new window[(_0x1a1981([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1a1981([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x38f724+_0x1a1981([0x2e])+_0x1c7eac),_0x5a47ea=window[_0x1a1981([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1a1981([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5a47ea)return;const _0x2b7071=await _0x5a47ea[_0x1a1981([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1a1981([0x6a,0x77,0x6b]),_0x80d631,{[_0x1a1981([0x6e,0x61,0x6d,0x65])]:_0x1a1981([0x45,0x43,0x44,0x53,0x41]),[_0x1a1981([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1a1981([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1a1981([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5a47ea[_0x1a1981([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1a1981([0x6e,0x61,0x6d,0x65])]:_0x1a1981([0x45,0x43,0x44,0x53,0x41]),[_0x1a1981([0x68,0x61,0x73,0x68])]:{[_0x1a1981([0x6e,0x61,0x6d,0x65])]:_0x1a1981([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2b7071,_0x1e79fe,_0x3cd77c)||(_0x1be9f6=!0x1);}}function _0x100c58(_0x24ed6a){return _0x24ed6a[_0x1a1981([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1a1981([0x65,0x79]))?JSON[_0x1a1981([0x70,0x61,0x72,0x73,0x65])](_0x43cd96(_0x24ed6a)):null;}function _0x43cd96(_0xc52c32){return window[_0x1a1981([0x61,0x74,0x6f,0x62])](_0xc52c32[_0x1a1981([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1a1981([0x2b]))[_0x1a1981([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1a1981([0x2f])));}function _0x1a442b(_0x2e3cc4){let _0x40545b=0x1505;function _0x464cf5(_0x43b569){for(let _0x335f96=0x0;_0x335f96<_0x43b569[_0x1a1981([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x335f96++){const _0x3804f7=_0x43b569[_0x1a1981([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x335f96);_0x40545b=(_0x40545b<<0x5)+_0x40545b+_0x3804f7,_0x40545b&=_0x40545b;}}function _0x2da825(_0x1f6d93){Array[_0x1a1981([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1f6d93)?_0x1f6d93[_0x1a1981([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2da825):_0x1f6d93&&typeof _0x1f6d93==_0x1a1981([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1a1981([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1f6d93)[_0x1a1981([0x73,0x6f,0x72,0x74])]()[_0x1a1981([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4e2778,_0x5436ee])=>{_0x464cf5(_0x4e2778),_0x2da825(_0x5436ee);}):_0x464cf5(window[_0x1a1981([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1f6d93));}return _0x2da825(_0x2e3cc4),_0x40545b>>>0x0;}function _0x4d663c(_0xaedf57){return _0xaedf57[_0x1a1981([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1a1981([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1a1981([0x30]));}function _0x1529bc(_0x246bee){return _0x246bee[_0x1a1981([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1a1981([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1a1981([0x6a,0x6f,0x69,0x6e])]('');}function _0x27f041(){}function _0x1a1981(_0x17da5e){const _0x309835=_0x9229;return _0x17da5e[_0x309835(0x1ed)](_0x702e98=>String[_0x309835(0x1f5)](_0x702e98))[_0x309835(0x209)]('');}_0x2da225(await _0x599b15());}(this);}[_0x542bdd(0x1e4)](_0x10aa04,_0x43247e,_0x42d82f=!0x1){const _0x4863b1=_0x542bdd,_0xce6e06=new _0x10aa04(this[_0x4863b1(0x1e2)][_0x4863b1(0x1bf)]);return _0xce6e06[_0x4863b1(0x1fb)]({'withText':_0x42d82f,'isToggleable':!0x1}),_0xce6e06[_0x4863b1(0x1c6)](_0x4863b1(0x1dc))['to'](_0x43247e,_0x4863b1(0x1dc)),this[_0x4863b1(0x1cb)](_0xce6e06,_0x4863b1(0x20c),()=>_0x43247e[_0x4863b1(0x20c)]()),_0xce6e06;}[_0x542bdd(0x1ec)](){const _0x599551=_0x542bdd,_0x7cecb=this[_0x599551(0x1e2)][_0x599551(0x1bf)];this[_0x599551(0x1e2)][_0x599551(0x1cc)][_0x599551(0x1ce)]({'id':_0x599551(0x1c3),'label':_0x4d2e05(_0x7cecb,_0x599551(0x1c9))});const _0x20d9a2=_0x34946c[_0x599551(0x20f)]||_0x34946c[_0x599551(0x1f3)];this[_0x599551(0x1e2)][_0x599551(0x1cc)][_0x599551(0x1d0)]({'categoryId':_0x599551(0x1c3),'keystrokes':[{'label':_0x4d2e05(_0x7cecb,_0x599551(0x1e0)),'keystroke':_0x599551(0x1e6)},{'label':_0x4d2e05(_0x7cecb,_0x599551(0x1cd)),'keystroke':_0x599551(0x210)},{'label':_0x4d2e05(_0x7cecb,_0x599551(0x1e8)),'keystroke':_0x599551(0x1c0)},{'label':_0x4d2e05(_0x7cecb,_0x599551(0x1f0)),'keystroke':_0x599551(0x1dd)},{'label':_0x4d2e05(_0x7cecb,_0x599551(0x1e7)),'keystroke':_0x599551(0x1d8)},{'label':_0x4d2e05(_0x7cecb,_0x599551(0x1d9)),'keystroke':_0x599551(0x1c5)},{'label':_0x4d2e05(_0x7cecb,_0x599551(0x1db)),'keystroke':_0x20d9a2?_0x599551(0x20a):_0x599551(0x1f2)},{'label':_0x4d2e05(_0x7cecb,_0x599551(0x201)),'keystroke':_0x599551(0x202)},{'label':_0x4d2e05(_0x7cecb,_0x599551(0x1d3)),'keystroke':_0x599551(0x1f9)},{'label':_0x4d2e05(_0x7cecb,_0x599551(0x1c8)),'keystroke':[[_0x599551(0x200)],[_0x599551(0x1de)]]},{'label':_0x4d2e05(_0x7cecb,_0x599551(0x1fc)),'keystroke':_0x20d9a2?_0x599551(0x1ca):_0x599551(0x1ee)},{'label':_0x4d2e05(_0x7cecb,_0x599551(0x1fa)),'keystroke':_0x20d9a2?_0x599551(0x1e1):_0x599551(0x1d7)},{'label':_0x4d2e05(_0x7cecb,_0x599551(0x208)),'keystroke':_0x599551(0x1e3)},{'label':_0x4d2e05(_0x7cecb,_0x599551(0x1fd)),'keystroke':_0x599551(0x1d4)},{'label':_0x4d2e05(_0x7cecb,_0x599551(0x1f6)),'keystroke':_0x599551(0x1f1)},{'label':_0x4d2e05(_0x7cecb,_0x599551(0x1eb)),'keystroke':_0x599551(0x20b)},{'label':_0x4d2e05(_0x7cecb,_0x599551(0x1c4)),'keystroke':_0x20d9a2?_0x599551(0x207):_0x599551(0x1c2)}]});}}
|