@ckeditor/ckeditor5-source-editing-enhanced 47.4.0-alpha.5 → 47.4.0
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 _0x57b2d8,PendingActions as _0x5a41ad,Plugin as _0x3f80e2}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x1eb41b,formatHtml as _0x45e7c4,env as _0x166bd7,uid as _0x2f5047}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconSource as _0x39ab4d}from'@ckeditor/ckeditor5-icons/dist/index.js';import{View as _0x3f0ef9,ButtonView as _0x2d993b,MenuBarMenuListItemButtonView as _0x79ed1f}from'@ckeditor/ckeditor5-ui/dist/index.js';import{EditorView as _0x4dd9db,crosshairCursor as _0x9764b6,drawSelection as _0x490d9f,dropCursor as _0x267e1b,lineNumbers as _0x2a18e9,highlightActiveLine as _0x890ad1,highlightActiveLineGutter as _0x156286,highlightSpecialChars as _0x18c464,rectangularSelection as _0x3f705e,keymap as _0x5a4fde}from'@codemirror/view';import{Compartment as _0x358479,Transaction as _0x1b255b}from'@codemirror/state';import{bracketMatching as _0x341f94,foldGutter as _0x152d3e,indentOnInput as _0x4913d5,syntaxHighlighting as _0x3fd3ad,defaultHighlightStyle as _0x168885,foldKeymap as _0x17a766}from'@codemirror/language';import{toggleTabFocusMode as _0x2bebbb,history as _0x58f7ad,defaultKeymap as _0x19b83c,historyKeymap as _0x5f4019,indentLess as _0xa8cff7,indentMore as _0xe6bcc1,redo as _0x407919,undo as _0x1b9ae8}from'@codemirror/commands';import{autocompletion as _0x48494a,closeBrackets as _0x44208d,closeBracketsKeymap as _0x5a51d7,completionKeymap as _0x21f04d}from'@codemirror/autocomplete';import{html as _0x2bf8c5}from'@codemirror/lang-html';import{markdown as _0x9530d3}from'@codemirror/lang-markdown';import{oneDark as _0xfc080}from'@codemirror/theme-one-dark';function w(_0x3bf063,_0x28e325){const t=_0x3bf063['t'];switch(_0x28e325){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 _0x28e325;}}function r(_0x3df1a0){const _0x43819e=_0x3df1a0['editing']['view']['document']['roots'],_0x4816bc=_0x43819e['length'];if(0x0===_0x4816bc)throw new _0x1eb41b('source-editing-enhanced-editor-no-root',_0x3df1a0);if(0x1===_0x4816bc)return _0x43819e['first']['rootName'];return Array['from'](_0x3df1a0['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function g(_0x3134e9){return tr(_0x3134e9['replace'](/^[\n\s]*/g,''))?_0x3134e9['replace'](/\s+/g,''):_0x3134e9;}function tr(_0x9a9e68){return _0x9a9e68['startsWith']('<');}function p(_0xf57300){const _0x2875e1=[_0x4dd9db['lineWrapping'],_0x48494a(),_0x341f94(),_0x44208d(),_0x9764b6(),_0x490d9f(),_0x267e1b(),_0x2a18e9(),_0x152d3e(),_0x890ad1(),_0x156286(),_0x18c464(),_0x58f7ad(),_0x4913d5(),_0x3f705e(),_0x3fd3ad(_0x168885,{'fallback':!0x0})],_0x2eca97=new _0x358479();_0x2875e1['push'](_0x2eca97['of'](_0x4dd9db['editable']['of'](!0x0))),'html'===_0xf57300['syntaxLanguage']?_0x2875e1['push'](_0x2bf8c5()):_0x2875e1['push'](_0x9530d3());const _0x57dec9=function(_0x2edd9b){if(_0x2edd9b&&'default'!==_0x2edd9b)return'dark'===_0x2edd9b?_0xfc080:_0x2edd9b;return null;}(_0xf57300['theme']);_0x57dec9&&_0x2875e1['push'](_0x57dec9),_0x2875e1['push'](_0x5a4fde['of']([..._0x5a51d7,..._0x19b83c,..._0x5f4019,..._0x17a766,..._0x21f04d,{'key':'Tab','run':_0xe6bcc1,'shift':_0xa8cff7,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-y','mac':'Cmd-y','run':_0x407919,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-Shift-z','mac':'Cmd-Shift-z','run':_0x407919,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-z','mac':'Cmd-z','run':_0x1b9ae8,'preventDefault':!0x0,'stopPropagation':!0x0}]));const _0x840e1d=new _0x4dd9db({'extensions':_0x2875e1,'parent':_0xf57300['parent']});return _0x2bebbb(_0x840e1d),{'focus':()=>{_0x840e1d['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x840e1d['focus']();},'getData':()=>_0x840e1d['state']['doc']['toString'](),'setData':_0x394c20=>{_0x840e1d['dispatch']({'changes':{'from':0x0,'to':_0x840e1d['state']['doc']['length'],'insert':_0x394c20},'annotations':_0x1b255b['addToHistory']['of'](!0x1)});},'setReadOnly':_0xf602b6=>{_0x840e1d['dispatch']({'effects':[_0x2eca97['reconfigure'](_0x4dd9db['editable']['of'](!_0xf602b6))]});},'destroy':()=>{_0x840e1d['destroy']();},'instance':_0x840e1d};}class E extends _0x3f0ef9{['_codeEditorApi']=null;['_options'];constructor(_0x565c31,_0x3606c9){super(_0x565c31),this['_options']=_0x3606c9,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',(_0x415c34,_0xb86ddf,_0x4c9b14)=>{this['setReadOnly'](_0x4c9b14);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0x265559){this['_codeEditorApi']['setData'](_0x265559);}['setReadOnly'](_0x432d96){this['_codeEditorApi']['setReadOnly'](_0x432d96);}}const b='SourceEditingEnhancedMode';class d extends _0x57b2d8{constructor(_0x4445b5){super(_0x4445b5),this['affectsData']=!0x1,this['editor']['plugins']['get'](_0x5a41ad)['on']('change:hasAny',(_0x3823d5,_0x1d0707,_0x34cf09)=>{_0x34cf09?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['_disableCommands'](){const _0x2039f2=this['editor'];for(const _0x14c838 of _0x2039f2['commands']['names']())['replaceSource','editSource']['includes'](_0x14c838)||_0x2039f2['commands']['get'](_0x14c838)['forceDisabled'](b);}['_enableCommands'](){const _0x48aa46=this['editor'];for(const _0x422556 of _0x48aa46['commands']['commands']())_0x422556['clearForceDisabled'](b);}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x4e966b=this['editor'],_0x2bc568=_0x4e966b['locale'],_0xa801e5=_0x4e966b['plugins']['get']('Dialog'),_0x46d717=r(_0x4e966b),_0x5a0413=_0x4e966b['data']['get']({'rootName':_0x46d717}),_0x5d7d30=tr(_0x760e19=_0x5a0413)?_0x45e7c4(_0x760e19):_0x760e19;var _0x760e19;const _0x4d9b7f=new E(_0x2bc568,{'syntaxLanguage':_0x4e966b['plugins']['has']('Markdown')?'markdown':'html','theme':_0x4e966b['config']['get']('sourceEditingEnhanced.theme')});let _0x2bb64d=!0x0;const _0x3fe71f=_0x1d15fc=>{if(!_0x2bb64d)return;return g(_0x4d9b7f['getData']())!==g(_0x5d7d30)?window['confirm'](w(_0x2bc568,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0x1d15fc['stop']():void 0x0;};_0xa801e5['show']({'id':'sourceEditingEnhanced','title':w(_0x2bc568,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0x4d9b7f,'actionButtons':[{'label':w(_0x2bc568,'Cancel'),'withText':!0x0,'onExecute':()=>{_0xa801e5['hide']();}},{'label':w(_0x2bc568,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0xac889c=g(_0x4d9b7f['getData']())!==g(_0x5d7d30);(_0xac889c&&_0x4e966b['execute']('replaceSource',_0x4d9b7f['getData']()),_0x2bb64d=!0x1,_0xa801e5['hide'](),_0xac889c&&'editables'in _0x4e966b['ui']['view'])&&_0x4e966b['ui']['view']['editables'][_0x46d717]['element']['focus']();},'onCreate':_0x1d020f=>{_0x1d020f['set']('isEnabled',!_0x4e966b['isReadOnly']),_0x1d020f['bind']('isEnabled')['to'](_0x4e966b,'isReadOnly',this,'isEnabled',(_0xfd35f9,_0x234cdc)=>!_0xfd35f9&&_0x234cdc);}}],'onHide':()=>{this['_enableCommands'](),_0xa801e5['off']('hide',_0x3fe71f),_0x4d9b7f['destroy']();},'onShow':()=>{_0x4d9b7f['bind']('isReadOnly')['to'](_0x4e966b,'isReadOnly',this,'isEnabled',(_0x17ecd3,_0x53edab)=>_0x17ecd3||!_0x53edab),_0x4d9b7f['setData'](_0x5d7d30),_0x4d9b7f['focus'](),_0xa801e5['on']('hide',_0x3fe71f,{'priority':'highest'}),this['_disableCommands']();}});}}class a extends _0x3f80e2{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[_0x5a41ad];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x4640b5=this['editor'],_0xb7059c=_0x4640b5['locale'],_0x184f19=new d(_0x4640b5);_0x4640b5['commands']['add']('editSource',_0x184f19),_0x4640b5['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0x243fdc=this['_createButton'](_0x2d993b,_0x184f19);return _0x243fdc['set']({'label':w(_0xb7059c,'Source'),'icon':_0x39ab4d,'tooltip':w(_0xb7059c,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0x243fdc;}),_0x4640b5['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0x24682d=this['_createButton'](_0x79ed1f,_0x184f19,!0x0);return _0x24682d['set']({'label':w(_0xb7059c,'Edit\x20source\x20modal\x20label'),'icon':_0x39ab4d,'role':'menuitemcheckbox'}),_0x24682d;}),this['_registerKeybindings']();}['afterInit'](){!async function(_0xe787f3){const _0x108ce6=_0x20365a([0x4e,0x51,0x56,0x58,0x79,0x42,0x46,0x48,0x4a,0x7a,0x72,0x38,0x57,0x47,0x49,0x34,0x61,0x5a,0x6e,0x54,0x65,0x6f,0x55,0x78,0x36,0x70,0x39,0x6a,0x66,0x76,0x33,0x44,0x69,0x74,0x4c,0x77,0x75,0x63,0x6b,0x59,0x6c,0x68,0x64,0x4d,0x41,0x32,0x4b,0x35,0x53,0x37,0x6d,0x62,0x43,0x4f,0x50,0x45,0x73,0x31,0x71,0x67,0x52,0x30]),_0x3fa4ba=0x5dba9314,_0x5491b9=0x5dbdeda4^_0x3fa4ba,_0x13ad5a=window[_0x20365a([0x44,0x61,0x74,0x65])][_0x20365a([0x6e,0x6f,0x77])](),_0x4b6a83=_0xe787f3[_0x20365a([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x42e126=new window[(_0x20365a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1343f6=>{_0x4b6a83[_0x20365a([0x6f,0x6e,0x63,0x65])](_0x20365a([0x72,0x65,0x61,0x64,0x79]),_0x1343f6);}),_0x3b7123={[_0x20365a([0x6b,0x74,0x79])]:_0x20365a([0x45,0x43]),[_0x20365a([0x75,0x73,0x65])]:_0x20365a([0x73,0x69,0x67]),[_0x20365a([0x63,0x72,0x76])]:_0x20365a([0x50,0x2d,0x32,0x35,0x36]),[_0x20365a([0x78])]:_0x20365a([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]),[_0x20365a([0x79])]:_0x20365a([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]),[_0x20365a([0x61,0x6c,0x67])]:_0x20365a([0x45,0x53,0x32,0x35,0x36])},_0x55c63f=_0x4b6a83[_0x20365a([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x20365a([0x67,0x65,0x74])](_0x20365a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xc8b547(){let _0x45c4a2,_0xd6080d=null,_0x398d2c=null;try{if(_0x55c63f==_0x20365a([0x47,0x50,0x4c]))return _0x20365a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x45c4a2=_0x5c3a37(),!_0x45c4a2)return _0x20365a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x45c4a2[_0x20365a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x398d2c=_0x1cbe44(_0x45c4a2[_0x20365a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x45c4a2[_0x20365a([0x6a,0x74,0x69])])),await _0x5a65e1()?_0x4c7f31()?_0x166cdd()?_0x20365a([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x50a4b5()?(_0x45c4a2[_0x20365a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x20365a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xd6080d=_0x131332(_0x20365a([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x8636d4()):_0x20365a([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x20365a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x20365a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x20365a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x166cdd(){const _0x4e1f5f=[_0x20365a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x20365a([0x74,0x72,0x69,0x61,0x6c])][_0x20365a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x45c4a2[_0x20365a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x13ad5a/0x3e8:0xe10*_0x5491b9;return _0x45c4a2[_0x20365a([0x65,0x78,0x70])]<_0x4e1f5f;}function _0x4c7f31(){const _0x2bd842=_0x45c4a2[_0x20365a([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2bd842&&(!!_0x2bd842[_0x20365a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x20365a([0x2a]))||!!_0x2bd842[_0x20365a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x20365a([0x53,0x45,0x45])));}function _0x50a4b5(){const _0x20dff8=_0x45c4a2[_0x20365a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x20dff8||0x0==_0x20dff8[_0x20365a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x45db1a}=new URL(window[_0x20365a([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x20dff8[_0x20365a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x45db1a))return!0x0;const _0x665e71=_0x45db1a[_0x20365a([0x73,0x70,0x6c,0x69,0x74])](_0x20365a([0x2e]));return _0x20dff8[_0x20365a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xb8276b=>_0xb8276b[_0x20365a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x20365a([0x2a])))[_0x20365a([0x6d,0x61,0x70])](_0x4b5708=>_0x4b5708[_0x20365a([0x73,0x70,0x6c,0x69,0x74])](_0x20365a([0x2e])))[_0x20365a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xa3771a=>_0xa3771a[_0x20365a([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x665e71[_0x20365a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x20365a([0x6d,0x61,0x70])](_0x2cbaa9=>Array(_0x665e71[_0x20365a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2cbaa9[_0x20365a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x20365a([0x66,0x69,0x6c,0x6c])](_0x2cbaa9[0x0]===_0x20365a([0x2a])?_0x20365a([0x2a]):'')[_0x20365a([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2cbaa9))[_0x20365a([0x73,0x6f,0x6d,0x65])](_0x3458a7=>_0x665e71[_0x20365a([0x65,0x76,0x65,0x72,0x79])]((_0x299896,_0x1021c6)=>_0x3458a7[_0x1021c6]===_0x299896||_0x3458a7[_0x1021c6]===_0x20365a([0x2a])));}function _0x8636d4(){return _0xd6080d&&_0x398d2c?new window[(_0x20365a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1cc8c9,_0x7d0a8d)=>{_0xd6080d[_0x20365a([0x74,0x68,0x65,0x6e])](_0x1cc8c9,_0x7d0a8d),_0x398d2c[_0x20365a([0x74,0x68,0x65,0x6e])](_0x15e89d=>{_0x15e89d!=_0x20365a([0x56,0x61,0x6c,0x69,0x64])&&_0x1cc8c9(_0x15e89d);},_0x7d0a8d);}):_0xd6080d||_0x398d2c||_0x20365a([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1cbe44(_0x878456,_0x13a968){return new window[(_0x20365a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x35c685=>{if(_0x44d503())return _0x35c685(_0x20365a([0x56,0x61,0x6c,0x69,0x64]));_0x5a4154(),_0x4b6a83[_0x20365a([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x20365a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x39f30c=!0x1;const _0xb95e00=_0x2f5047();function _0xa4a803(_0xf3aa45){return!!_0xf3aa45&&(typeof _0xf3aa45===_0x20365a([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xf3aa45===_0x20365a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xf3aa45[_0x20365a([0x74,0x68,0x65,0x6e])]===_0x20365a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xf3aa45[_0x20365a([0x63,0x61,0x74,0x63,0x68])]===_0x20365a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x535f77(_0x21cc37){_0x11c9be(_0x21cc37)[_0x20365a([0x74,0x68,0x65,0x6e])](_0xb45a98=>{if(!_0xb45a98||_0xb45a98[_0x20365a([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x20365a([0x6f,0x6b]))return _0x20365a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5269d7(_0x361495(_0xb95e00+_0x13a968))!=_0xb45a98[_0x20365a([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x20365a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x20365a([0x56,0x61,0x6c,0x69,0x64]);})[_0x20365a([0x74,0x68,0x65,0x6e])](_0x3249a8=>(_0x199c86(),_0x3249a8),()=>{const _0x5e473f=_0x26975b();return null==_0x5e473f?(_0x199c86(),_0x20365a([0x56,0x61,0x6c,0x69,0x64])):_0x20365a(_0x13ad5a-_0x5e473f>(0x79b61714^_0x3fa4ba)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x20365a([0x74,0x68,0x65,0x6e])](_0x35c685)[_0x20365a([0x63,0x61,0x74,0x63,0x68])](()=>{_0x35c685(_0x20365a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x6dff05=0x5d8c7d94^_0x3fa4ba;function _0x199c86(){const _0x579952=_0x20365a([0x6c,0x6c,0x63,0x74,0x2d])+_0x5269d7(_0x361495(_0x878456)),_0x5ba914=_0x4d773d(_0x5269d7(window[_0x20365a([0x4d,0x61,0x74,0x68])][_0x20365a([0x63,0x65,0x69,0x6c])](_0x13ad5a/_0x6dff05)));window[_0x20365a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x20365a([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x579952,_0x5ba914);}function _0x26975b(){const _0x191ca1=_0x20365a([0x6c,0x6c,0x63,0x74,0x2d])+_0x5269d7(_0x361495(_0x878456)),_0x1e0293=window[_0x20365a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x20365a([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x191ca1);return _0x1e0293?window[_0x20365a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4d773d(_0x1e0293),0x10)*_0x6dff05:null;}function _0x11c9be(_0xf6fc95){return new window[(_0x20365a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2e0468,_0x368fb2)=>{_0xf6fc95[_0x20365a([0x74,0x68,0x65,0x6e])](_0x2e0468,_0x368fb2),window[_0x20365a([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x368fb2,0x5dbb47d4^_0x3fa4ba);});}}_0x4b6a83[_0x20365a([0x6f,0x6e])](_0x20365a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3ae6a9,_0x53ae64)=>{if(_0x53ae64[0x0]!=_0x878456)return _0x35c685(_0x20365a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x53ae64[0x1]={..._0x53ae64[0x1],[_0x20365a([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xb95e00};},{[_0x20365a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x20365a([0x68,0x69,0x67,0x68])}),_0x4b6a83[_0x20365a([0x6f,0x6e])](_0x20365a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4523ca=>{_0xa4a803(_0x4523ca[_0x20365a([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x39f30c=!0x0,_0x535f77(_0x4523ca[_0x20365a([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x20365a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x20365a([0x6c,0x6f,0x77])}),_0x42e126[_0x20365a([0x74,0x68,0x65,0x6e])](()=>{_0x39f30c||_0x35c685(_0x20365a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x44d503(){return _0x4b6a83[_0x20365a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x20365a([0x76,0x69,0x65,0x77])][_0x20365a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x20365a([0x61,0x75,0x74,0x6f]);}function _0x5a4154(){_0x4b6a83[_0x20365a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x20365a([0x76,0x69,0x65,0x77])][_0x20365a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x20365a([0x61,0x75,0x74,0x6f]);}}function _0x131332(_0x5189cc){const _0x333664=[new window[(_0x20365a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x486220=>setTimeout(_0x486220,0x5db3add8^_0x3fa4ba)),_0x42e126[_0x20365a([0x74,0x68,0x65,0x6e])](()=>new window[(_0x20365a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x57ae70=>{let _0x5d342f=0x0;_0x4b6a83[_0x20365a([0x6d,0x6f,0x64,0x65,0x6c])][_0x20365a([0x6f,0x6e])](_0x20365a([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4fad71,_0x550b5f)=>{_0x550b5f[0x0][_0x20365a([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5d342f++,_0x5d342f==(0x5dba96fc^_0x3fa4ba)&&(_0x57ae70(),_0x4fad71[_0x20365a([0x6f,0x66,0x66])]());});}))];return window[_0x20365a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x20365a([0x72,0x61,0x63,0x65])](_0x333664)[_0x20365a([0x74,0x68,0x65,0x6e])](()=>_0x5189cc);}async function _0x18950e(){await _0x42e126,_0x4b6a83[_0x20365a([0x6d,0x6f,0x64,0x65,0x6c])][_0x20365a([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2e0ae6,_0x4b6a83[_0x20365a([0x6d,0x6f,0x64,0x65,0x6c])][_0x20365a([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2e0ae6,_0x4b6a83[_0x20365a([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x20365a([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xf68585(_0x2191d0){const _0x52ecef=_0x3334ef();_0x4b6a83[_0x52ecef]=_0x20365a([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])+_0x2191d0,_0x2191d0!=_0x20365a([0x56,0x61,0x6c,0x69,0x64])&&_0x18950e();}function _0x3334ef(){const _0x354200=window[_0x20365a([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x20365a([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x20365a([0x6e,0x6f,0x77])]())[_0x20365a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x20365a([0x2e]),'');let _0x272d29=_0x20365a([0x4e]);for(let _0x51942b=0x0;_0x51942b<_0x354200[_0x20365a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x51942b+=0x2){let _0x149aee=window[_0x20365a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x354200[_0x20365a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x51942b,_0x51942b+0x2));_0x149aee>=_0x108ce6[_0x20365a([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x149aee-=_0x108ce6[_0x20365a([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x272d29+=_0x108ce6[_0x149aee];}return _0x272d29;}function _0x5c3a37(){const _0x4b53ee=_0x55c63f[_0x20365a([0x73,0x70,0x6c,0x69,0x74])](_0x20365a([0x2e]));if(0x3!=_0x4b53ee[_0x20365a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x286dd8(_0x4b53ee[0x1]);function _0x286dd8(_0xa2252c){const _0x2d9c23=_0x1623ac(_0xa2252c);return _0x2d9c23&&_0x2d0cfe()?_0x2d9c23:null;function _0x2d0cfe(){const _0x402c2e=_0x2d9c23[_0x20365a([0x6a,0x74,0x69])],_0x4e5d52=window[_0x20365a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x402c2e[_0x20365a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x402c2e[_0x20365a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1e0096={..._0x2d9c23,[_0x20365a([0x6a,0x74,0x69])]:_0x402c2e[_0x20365a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x402c2e[_0x20365a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1e0096[_0x20365a([0x76,0x63])],_0x361495(_0x1e0096)==_0x4e5d52;}}}async function _0x5a65e1(){let _0x308629=!0x0;try{const _0x45fdb8=_0x55c63f[_0x20365a([0x73,0x70,0x6c,0x69,0x74])](_0x20365a([0x2e])),[_0x2756fb,_0x15281a,_0x36f8b9]=_0x45fdb8;return _0xfb92ac(_0x2756fb),await _0x5a9155(_0x2756fb,_0x15281a,_0x36f8b9),_0x308629;}catch{return!0x1;}function _0xfb92ac(_0x507662){const _0x9c670f=_0x1623ac(_0x507662);_0x9c670f&&_0x9c670f[_0x20365a([0x61,0x6c,0x67])]==_0x20365a([0x45,0x53,0x32,0x35,0x36])||(_0x308629=!0x1);}async function _0x5a9155(_0x226b8d,_0x43e12f,_0x33bb51){const _0xa9d7d8=window[_0x20365a([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x20365a([0x66,0x72,0x6f,0x6d])](_0x4d0a8e(_0x33bb51),_0x1856f1=>_0x1856f1[_0x20365a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xb6b555=new window[(_0x20365a([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x20365a([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x226b8d+_0x20365a([0x2e])+_0x43e12f),_0x144198=window[_0x20365a([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x20365a([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x144198)return;const _0x15d98d=await _0x144198[_0x20365a([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x20365a([0x6a,0x77,0x6b]),_0x3b7123,{[_0x20365a([0x6e,0x61,0x6d,0x65])]:_0x20365a([0x45,0x43,0x44,0x53,0x41]),[_0x20365a([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x20365a([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x20365a([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x144198[_0x20365a([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x20365a([0x6e,0x61,0x6d,0x65])]:_0x20365a([0x45,0x43,0x44,0x53,0x41]),[_0x20365a([0x68,0x61,0x73,0x68])]:{[_0x20365a([0x6e,0x61,0x6d,0x65])]:_0x20365a([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x15d98d,_0xa9d7d8,_0xb6b555)||(_0x308629=!0x1);}}function _0x1623ac(_0x54e5ac){return _0x54e5ac[_0x20365a([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x20365a([0x65,0x79]))?JSON[_0x20365a([0x70,0x61,0x72,0x73,0x65])](_0x4d0a8e(_0x54e5ac)):null;}function _0x4d0a8e(_0x3dee50){return window[_0x20365a([0x61,0x74,0x6f,0x62])](_0x3dee50[_0x20365a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x20365a([0x2b]))[_0x20365a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x20365a([0x2f])));}function _0x361495(_0x2a87ec){let _0x33df6f=0x1505;function _0x28b426(_0x1cdee7){for(let _0x55cdba=0x0;_0x55cdba<_0x1cdee7[_0x20365a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x55cdba++){const _0x2fe04f=_0x1cdee7[_0x20365a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x55cdba);_0x33df6f=(_0x33df6f<<0x5)+_0x33df6f+_0x2fe04f,_0x33df6f&=_0x33df6f;}}function _0x1dbc2a(_0x17672b){Array[_0x20365a([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x17672b)?_0x17672b[_0x20365a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1dbc2a):_0x17672b&&typeof _0x17672b==_0x20365a([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x20365a([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x17672b)[_0x20365a([0x73,0x6f,0x72,0x74])]()[_0x20365a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2988ac,_0xf85f4d])=>{_0x28b426(_0x2988ac),_0x1dbc2a(_0xf85f4d);}):_0x28b426(window[_0x20365a([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x17672b));}return _0x1dbc2a(_0x2a87ec),_0x33df6f>>>0x0;}function _0x5269d7(_0x3566d3){return _0x3566d3[_0x20365a([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x20365a([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x20365a([0x30]));}function _0x4d773d(_0x19c624){return _0x19c624[_0x20365a([0x73,0x70,0x6c,0x69,0x74])]('')[_0x20365a([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x20365a([0x6a,0x6f,0x69,0x6e])]('');}function _0x2e0ae6(){}function _0x20365a(_0xf1f0dc){return _0xf1f0dc['map'](_0x4f76f2=>String['fromCharCode'](_0x4f76f2))['join']('');}_0xf68585(await _0xc8b547());}(this);}['_createButton'](_0x3e6641,_0x2fbad2,_0x30107a=!0x1){const _0x149792=new _0x3e6641(this['editor']['locale']);return _0x149792['set']({'withText':_0x30107a,'isToggleable':!0x1}),_0x149792['bind']('isEnabled')['to'](_0x2fbad2,'isEnabled'),this['listenTo'](_0x149792,'execute',()=>_0x2fbad2['execute']()),_0x149792;}['_registerKeybindings'](){const _0x14701f=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':w(_0x14701f,'Source\x20Editing\x20Enhanced')});const _0x108afd=_0x166bd7['isMac']||_0x166bd7['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':w(_0x14701f,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':w(_0x14701f,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':w(_0x14701f,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':w(_0x14701f,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':w(_0x14701f,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':w(_0x14701f,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':w(_0x14701f,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x108afd?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':w(_0x14701f,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':w(_0x14701f,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':w(_0x14701f,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':w(_0x14701f,'Select\x20line'),'keystroke':_0x108afd?'Ctrl!+L':'Alt+L'},{'label':w(_0x14701f,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x108afd?'Alt+Shift+M':'Ctrl+M'},{'label':w(_0x14701f,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':w(_0x14701f,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':w(_0x14701f,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':w(_0x14701f,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':w(_0x14701f,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x108afd?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}class c extends _0x57b2d8{constructor(_0x21dbd8){super(_0x21dbd8),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0x40d6e9,_0x429b7f){const _0x5018a0=this['editor'],_0x3076b6=_0x429b7f?.['rootName']??r(_0x5018a0);_0x5018a0['data']['set']({[_0x3076b6]:_0x40d6e9},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}class ee extends _0x3f80e2{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[a];}constructor(_0x55f309){super(_0x55f309),_0x55f309['config']['define']('sourceEditingEnhanced.allowCollaborationFeatures',!0x1);}['init'](){this['_checkCompatibility'](),this['editor']['commands']['add']('replaceSource',new c(this['editor'])),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x1fad35=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x509aa5;for(const _0x5bbc24 in _0x1fad35){const _0x1f5eff=_0x5bbc24,_0x3ad43a=_0x1fad35[_0x1f5eff];if('sourceEditingEnhancedLicenseKeyValid'==_0x3ad43a||'sourceEditingEnhancedLicenseKeyInvalid'==_0x3ad43a||'sourceEditingEnhancedLicenseKeyExpired'==_0x3ad43a||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x3ad43a||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x3ad43a||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x3ad43a||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x3ad43a){delete _0x1fad35[_0x1f5eff],_0x509aa5=_0x3ad43a,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0x509aa5&&_0x1fad35['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0x509aa5&&_0x1fad35['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x509aa5&&_0x1fad35['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x509aa5&&_0x1fad35['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x509aa5&&_0x1fad35['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x509aa5&&_0x1fad35['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0x597e62=this['editor'],_0x307a3a=_0x597e62['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0x307a3a&&_0x597e62['plugins']['has']('RealTimeCollaborativeEditing'))throw new _0x1eb41b('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0x307a3a&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x1deeaa=>_0x597e62['plugins']['has'](_0x1deeaa))&&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.'),_0x597e62['plugins']['has']('RestrictedEditingModeEditing')&&console['warn']('You\x20initialized\x20the\x20editor\x20with\x20the\x20source\x20editing\x20enhanced\x20feature\x20and\x20restricted\x20editing\x20feature.\x20Please\x20be\x20advised\x20that\x20the\x20source\x20editing\x20enhanced\x20feature\x20may\x20not\x20work,\x20and\x20be\x20careful\x20when\x20editing\x20document\x20source\x20that\x20contains\x20markers\x20created\x20by\x20the\x20restricted\x20editing\x20feature.');}}export{d as EditSourceCommand,c as ReplaceSourceCommand,ee as SourceEditingEnhanced};
|
|
23
|
+
import{Command as _0x546e89,PendingActions as _0x420c31,Plugin as _0x2064fc}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0xfda2f,formatHtml as _0x5a4448,env as _0x448389,uid as _0x546d67}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconSource as _0x3e52a6}from'@ckeditor/ckeditor5-icons/dist/index.js';import{View as _0x226dcf,ButtonView as _0x21135b,MenuBarMenuListItemButtonView as _0x3cb0d6}from'@ckeditor/ckeditor5-ui/dist/index.js';import{EditorView as _0x1d0330,crosshairCursor as _0x35e9a4,drawSelection as _0x5c1a76,dropCursor as _0x71bddc,lineNumbers as _0xa3aebe,highlightActiveLine as _0x270c10,highlightActiveLineGutter as _0x5d0c2d,highlightSpecialChars as _0x15c969,rectangularSelection as _0x475c0c,keymap as _0x50a424}from'@codemirror/view';import{Compartment as _0x5ca7fd,Transaction as _0x339f62}from'@codemirror/state';import{bracketMatching as _0x1023f0,foldGutter as _0x385f5b,indentOnInput as _0x7b622,syntaxHighlighting as _0x3087a8,defaultHighlightStyle as _0x4171f3,foldKeymap as _0x346373}from'@codemirror/language';import{toggleTabFocusMode as _0x2b92d2,history as _0x3af0ec,defaultKeymap as _0x1aaa86,historyKeymap as _0x38ab65,indentLess as _0x230936,indentMore as _0x5e8ebf,redo as _0x2b9206,undo as _0x3f738a}from'@codemirror/commands';import{autocompletion as _0x4790cf,closeBrackets as _0x44be51,closeBracketsKeymap as _0x1ab4eb,completionKeymap as _0x234054}from'@codemirror/autocomplete';import{html as _0x113a77}from'@codemirror/lang-html';import{markdown as _0x5ec9dc}from'@codemirror/lang-markdown';import{oneDark as _0x1383e9}from'@codemirror/theme-one-dark';function w(_0x4b436,_0x10baa9){const t=_0x4b436['t'];switch(_0x10baa9){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 _0x10baa9;}}function r(_0x3f48ac){const _0x5a5c1e=_0x3f48ac['editing']['view']['document']['roots'],_0x3fd9f3=_0x5a5c1e['length'];if(0x0===_0x3fd9f3)throw new _0xfda2f('source-editing-enhanced-editor-no-root',_0x3f48ac);if(0x1===_0x3fd9f3)return _0x5a5c1e['first']['rootName'];return Array['from'](_0x3f48ac['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function g(_0x105546){return tr(_0x105546['replace'](/^[\n\s]*/g,''))?_0x105546['replace'](/\s+/g,''):_0x105546;}function tr(_0x649b77){return _0x649b77['startsWith']('<');}function p(_0x5263d7){const _0x28e530=[_0x1d0330['lineWrapping'],_0x4790cf(),_0x1023f0(),_0x44be51(),_0x35e9a4(),_0x5c1a76(),_0x71bddc(),_0xa3aebe(),_0x385f5b(),_0x270c10(),_0x5d0c2d(),_0x15c969(),_0x3af0ec(),_0x7b622(),_0x475c0c(),_0x3087a8(_0x4171f3,{'fallback':!0x0})],_0x507e2b=new _0x5ca7fd();_0x28e530['push'](_0x507e2b['of'](_0x1d0330['editable']['of'](!0x0))),'html'===_0x5263d7['syntaxLanguage']?_0x28e530['push'](_0x113a77()):_0x28e530['push'](_0x5ec9dc());const _0x5b7b01=function(_0x41436e){if(_0x41436e&&'default'!==_0x41436e)return'dark'===_0x41436e?_0x1383e9:_0x41436e;return null;}(_0x5263d7['theme']);_0x5b7b01&&_0x28e530['push'](_0x5b7b01),_0x28e530['push'](_0x50a424['of']([..._0x1ab4eb,..._0x1aaa86,..._0x38ab65,..._0x346373,..._0x234054,{'key':'Tab','run':_0x5e8ebf,'shift':_0x230936,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-y','mac':'Cmd-y','run':_0x2b9206,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-Shift-z','mac':'Cmd-Shift-z','run':_0x2b9206,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-z','mac':'Cmd-z','run':_0x3f738a,'preventDefault':!0x0,'stopPropagation':!0x0}]));const _0x198d2a=new _0x1d0330({'extensions':_0x28e530,'parent':_0x5263d7['parent']});return _0x2b92d2(_0x198d2a),{'focus':()=>{_0x198d2a['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x198d2a['focus']();},'getData':()=>_0x198d2a['state']['doc']['toString'](),'setData':_0x500f78=>{_0x198d2a['dispatch']({'changes':{'from':0x0,'to':_0x198d2a['state']['doc']['length'],'insert':_0x500f78},'annotations':_0x339f62['addToHistory']['of'](!0x1)});},'setReadOnly':_0x2a564d=>{_0x198d2a['dispatch']({'effects':[_0x507e2b['reconfigure'](_0x1d0330['editable']['of'](!_0x2a564d))]});},'destroy':()=>{_0x198d2a['destroy']();},'instance':_0x198d2a};}class E extends _0x226dcf{['_codeEditorApi']=null;['_options'];constructor(_0x1f8ced,_0x1db276){super(_0x1f8ced),this['_options']=_0x1db276,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',(_0x5db34b,_0x3de897,_0x41b10d)=>{this['setReadOnly'](_0x41b10d);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0x16f5d4){this['_codeEditorApi']['setData'](_0x16f5d4);}['setReadOnly'](_0x249103){this['_codeEditorApi']['setReadOnly'](_0x249103);}}const b='SourceEditingEnhancedMode';class d extends _0x546e89{constructor(_0x28a126){super(_0x28a126),this['affectsData']=!0x1,this['editor']['plugins']['get'](_0x420c31)['on']('change:hasAny',(_0x76dd7,_0x597394,_0x934256)=>{_0x934256?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['_disableCommands'](){const _0x157a8a=this['editor'];for(const _0x51c7db of _0x157a8a['commands']['names']())['replaceSource','editSource']['includes'](_0x51c7db)||_0x157a8a['commands']['get'](_0x51c7db)['forceDisabled'](b);}['_enableCommands'](){const _0x1fe2db=this['editor'];for(const _0x46a9d4 of _0x1fe2db['commands']['commands']())_0x46a9d4['clearForceDisabled'](b);}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x330c59=this['editor'],_0x1376c0=_0x330c59['locale'],_0x10a1e9=_0x330c59['plugins']['get']('Dialog'),_0x40b9d5=r(_0x330c59),_0x588cb0=_0x330c59['data']['get']({'rootName':_0x40b9d5}),_0x111a3c=tr(_0x3e5116=_0x588cb0)?_0x5a4448(_0x3e5116):_0x3e5116;var _0x3e5116;const _0x7ead60=new E(_0x1376c0,{'syntaxLanguage':_0x330c59['plugins']['has']('Markdown')?'markdown':'html','theme':_0x330c59['config']['get']('sourceEditingEnhanced.theme')});let _0x40294c=!0x0;const _0x4660b9=_0x91ea06=>{if(!_0x40294c)return;return g(_0x7ead60['getData']())!==g(_0x111a3c)?window['confirm'](w(_0x1376c0,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0x91ea06['stop']():void 0x0;};_0x10a1e9['show']({'id':'sourceEditingEnhanced','title':w(_0x1376c0,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0x7ead60,'actionButtons':[{'label':w(_0x1376c0,'Cancel'),'withText':!0x0,'onExecute':()=>{_0x10a1e9['hide']();}},{'label':w(_0x1376c0,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0x20519b=g(_0x7ead60['getData']())!==g(_0x111a3c);(_0x20519b&&_0x330c59['execute']('replaceSource',_0x7ead60['getData']()),_0x40294c=!0x1,_0x10a1e9['hide'](),_0x20519b&&'editables'in _0x330c59['ui']['view'])&&_0x330c59['ui']['view']['editables'][_0x40b9d5]['element']['focus']();},'onCreate':_0x310e2e=>{_0x310e2e['set']('isEnabled',!_0x330c59['isReadOnly']),_0x310e2e['bind']('isEnabled')['to'](_0x330c59,'isReadOnly',this,'isEnabled',(_0x39785f,_0x189124)=>!_0x39785f&&_0x189124);}}],'onHide':()=>{this['_enableCommands'](),_0x10a1e9['off']('hide',_0x4660b9),_0x7ead60['destroy']();},'onShow':()=>{_0x7ead60['bind']('isReadOnly')['to'](_0x330c59,'isReadOnly',this,'isEnabled',(_0x1775ac,_0x4b1033)=>_0x1775ac||!_0x4b1033),_0x7ead60['setData'](_0x111a3c),_0x7ead60['focus'](),_0x10a1e9['on']('hide',_0x4660b9,{'priority':'highest'}),this['_disableCommands']();}});}}class a extends _0x2064fc{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[_0x420c31];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x2430aa=this['editor'],_0x2602af=_0x2430aa['locale'],_0x256a0a=new d(_0x2430aa);_0x2430aa['commands']['add']('editSource',_0x256a0a),_0x2430aa['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0x2152e6=this['_createButton'](_0x21135b,_0x256a0a);return _0x2152e6['set']({'label':w(_0x2602af,'Source'),'icon':_0x3e52a6,'tooltip':w(_0x2602af,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0x2152e6;}),_0x2430aa['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0x4fe2be=this['_createButton'](_0x3cb0d6,_0x256a0a,!0x0);return _0x4fe2be['set']({'label':w(_0x2602af,'Edit\x20source\x20modal\x20label'),'icon':_0x3e52a6,'role':'menuitemcheckbox'}),_0x4fe2be;}),this['_registerKeybindings']();}['afterInit'](){!async function(_0x47396a){const _0x4831bc=_0x565a04([0x4e,0x51,0x56,0x58,0x79,0x42,0x46,0x48,0x4a,0x7a,0x72,0x38,0x57,0x47,0x49,0x34,0x61,0x5a,0x6e,0x54,0x65,0x6f,0x55,0x78,0x36,0x70,0x39,0x6a,0x66,0x76,0x33,0x44,0x69,0x74,0x4c,0x77,0x75,0x63,0x6b,0x59,0x6c,0x68,0x64,0x4d,0x41,0x32,0x4b,0x35,0x53,0x37,0x6d,0x62,0x43,0x4f,0x50,0x45,0x73,0x31,0x71,0x67,0x52,0x30]),_0x2d5bea=0x5dba9314,_0x2a317e=0x5dbdeddc^_0x2d5bea,_0x310ce2=window[_0x565a04([0x44,0x61,0x74,0x65])][_0x565a04([0x6e,0x6f,0x77])](),_0x3f669f=_0x47396a[_0x565a04([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x50a781=new window[(_0x565a04([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x323e13=>{_0x3f669f[_0x565a04([0x6f,0x6e,0x63,0x65])](_0x565a04([0x72,0x65,0x61,0x64,0x79]),_0x323e13);}),_0x485aa5={[_0x565a04([0x6b,0x74,0x79])]:_0x565a04([0x45,0x43]),[_0x565a04([0x75,0x73,0x65])]:_0x565a04([0x73,0x69,0x67]),[_0x565a04([0x63,0x72,0x76])]:_0x565a04([0x50,0x2d,0x32,0x35,0x36]),[_0x565a04([0x78])]:_0x565a04([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]),[_0x565a04([0x79])]:_0x565a04([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]),[_0x565a04([0x61,0x6c,0x67])]:_0x565a04([0x45,0x53,0x32,0x35,0x36])},_0x15e866=_0x3f669f[_0x565a04([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x565a04([0x67,0x65,0x74])](_0x565a04([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x44f49d(){let _0x2d19b9,_0x287fa6=null,_0x16cb36=null;try{if(_0x15e866==_0x565a04([0x47,0x50,0x4c]))return _0x565a04([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2d19b9=_0xd3f0f1(),!_0x2d19b9)return _0x565a04([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2d19b9[_0x565a04([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x16cb36=_0x50524f(_0x2d19b9[_0x565a04([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2d19b9[_0x565a04([0x6a,0x74,0x69])])),await _0x498d8c()?_0x2c4764()?_0x53b5c3()?_0x565a04([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5b19da()?(_0x2d19b9[_0x565a04([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x565a04([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x287fa6=_0x7544f5(_0x565a04([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x45ee92()):_0x565a04([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x565a04([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x565a04([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x565a04([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x53b5c3(){const _0xde14b9=[_0x565a04([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x565a04([0x74,0x72,0x69,0x61,0x6c])][_0x565a04([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2d19b9[_0x565a04([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x310ce2/0x3e8:0xe10*_0x2a317e;return _0x2d19b9[_0x565a04([0x65,0x78,0x70])]<_0xde14b9;}function _0x2c4764(){const _0x3d5da6=_0x2d19b9[_0x565a04([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3d5da6&&(!!_0x3d5da6[_0x565a04([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x565a04([0x2a]))||!!_0x3d5da6[_0x565a04([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x565a04([0x53,0x45,0x45])));}function _0x5b19da(){const _0x2e91ec=_0x2d19b9[_0x565a04([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2e91ec||0x0==_0x2e91ec[_0x565a04([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x127f13}=new URL(window[_0x565a04([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x2e91ec[_0x565a04([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x127f13))return!0x0;const _0x2d47f9=_0x127f13[_0x565a04([0x73,0x70,0x6c,0x69,0x74])](_0x565a04([0x2e]));return _0x2e91ec[_0x565a04([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5f28a0=>_0x5f28a0[_0x565a04([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x565a04([0x2a])))[_0x565a04([0x6d,0x61,0x70])](_0x6a2885=>_0x6a2885[_0x565a04([0x73,0x70,0x6c,0x69,0x74])](_0x565a04([0x2e])))[_0x565a04([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x17ff15=>_0x17ff15[_0x565a04([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2d47f9[_0x565a04([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x565a04([0x6d,0x61,0x70])](_0x33c79b=>Array(_0x2d47f9[_0x565a04([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x33c79b[_0x565a04([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x565a04([0x66,0x69,0x6c,0x6c])](_0x33c79b[0x0]===_0x565a04([0x2a])?_0x565a04([0x2a]):'')[_0x565a04([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x33c79b))[_0x565a04([0x73,0x6f,0x6d,0x65])](_0x4befe8=>_0x2d47f9[_0x565a04([0x65,0x76,0x65,0x72,0x79])]((_0x8ae8b,_0x45ba81)=>_0x4befe8[_0x45ba81]===_0x8ae8b||_0x4befe8[_0x45ba81]===_0x565a04([0x2a])));}function _0x45ee92(){return _0x287fa6&&_0x16cb36?new window[(_0x565a04([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4a0e67,_0x34da33)=>{_0x287fa6[_0x565a04([0x74,0x68,0x65,0x6e])](_0x4a0e67,_0x34da33),_0x16cb36[_0x565a04([0x74,0x68,0x65,0x6e])](_0x3b9152=>{_0x3b9152!=_0x565a04([0x56,0x61,0x6c,0x69,0x64])&&_0x4a0e67(_0x3b9152);},_0x34da33);}):_0x287fa6||_0x16cb36||_0x565a04([0x56,0x61,0x6c,0x69,0x64]);}}function _0x50524f(_0x229017,_0x42db05){return new window[(_0x565a04([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4e9a93=>{if(_0xb2f403())return _0x4e9a93(_0x565a04([0x56,0x61,0x6c,0x69,0x64]));_0xea2f7c(),_0x3f669f[_0x565a04([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x565a04([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1d5896=!0x1;const _0x4edaa8=_0x546d67();function _0x7e4787(_0x3bf458){return!!_0x3bf458&&(typeof _0x3bf458===_0x565a04([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3bf458===_0x565a04([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3bf458[_0x565a04([0x74,0x68,0x65,0x6e])]===_0x565a04([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3bf458[_0x565a04([0x63,0x61,0x74,0x63,0x68])]===_0x565a04([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4b377e(_0x4e98c9){_0x2ea1b0(_0x4e98c9)[_0x565a04([0x74,0x68,0x65,0x6e])](_0x46f14c=>{if(!_0x46f14c||_0x46f14c[_0x565a04([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x565a04([0x6f,0x6b]))return _0x565a04([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x209dc5(_0x4f4677(_0x4edaa8+_0x42db05))!=_0x46f14c[_0x565a04([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x565a04([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x565a04([0x56,0x61,0x6c,0x69,0x64]);})[_0x565a04([0x74,0x68,0x65,0x6e])](_0x1725dc=>(_0x127c4c(),_0x1725dc),()=>{const _0x56ce16=_0x3f1da6();return null==_0x56ce16?(_0x127c4c(),_0x565a04([0x56,0x61,0x6c,0x69,0x64])):_0x565a04(_0x310ce2-_0x56ce16>(0x79b61714^_0x2d5bea)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x565a04([0x74,0x68,0x65,0x6e])](_0x4e9a93)[_0x565a04([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4e9a93(_0x565a04([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x24ebda=0x5d8c7d94^_0x2d5bea;function _0x127c4c(){const _0x55922e=_0x565a04([0x6c,0x6c,0x63,0x74,0x2d])+_0x209dc5(_0x4f4677(_0x229017)),_0x420560=_0x4d0c7d(_0x209dc5(window[_0x565a04([0x4d,0x61,0x74,0x68])][_0x565a04([0x63,0x65,0x69,0x6c])](_0x310ce2/_0x24ebda)));window[_0x565a04([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x565a04([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x55922e,_0x420560);}function _0x3f1da6(){const _0x491a81=_0x565a04([0x6c,0x6c,0x63,0x74,0x2d])+_0x209dc5(_0x4f4677(_0x229017)),_0x55a6d3=window[_0x565a04([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x565a04([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x491a81);return _0x55a6d3?window[_0x565a04([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4d0c7d(_0x55a6d3),0x10)*_0x24ebda:null;}function _0x2ea1b0(_0x2e9d74){return new window[(_0x565a04([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x36af36,_0x3f72fb)=>{_0x2e9d74[_0x565a04([0x74,0x68,0x65,0x6e])](_0x36af36,_0x3f72fb),window[_0x565a04([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3f72fb,0x5dbb47d4^_0x2d5bea);});}}_0x3f669f[_0x565a04([0x6f,0x6e])](_0x565a04([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x26cc9c,_0x47ebf5)=>{if(_0x47ebf5[0x0]!=_0x229017)return _0x4e9a93(_0x565a04([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x47ebf5[0x1]={..._0x47ebf5[0x1],[_0x565a04([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4edaa8};},{[_0x565a04([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x565a04([0x68,0x69,0x67,0x68])}),_0x3f669f[_0x565a04([0x6f,0x6e])](_0x565a04([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1f9b46=>{_0x7e4787(_0x1f9b46[_0x565a04([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1d5896=!0x0,_0x4b377e(_0x1f9b46[_0x565a04([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x565a04([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x565a04([0x6c,0x6f,0x77])}),_0x50a781[_0x565a04([0x74,0x68,0x65,0x6e])](()=>{_0x1d5896||_0x4e9a93(_0x565a04([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xb2f403(){return _0x3f669f[_0x565a04([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x565a04([0x76,0x69,0x65,0x77])][_0x565a04([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x565a04([0x61,0x75,0x74,0x6f]);}function _0xea2f7c(){_0x3f669f[_0x565a04([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x565a04([0x76,0x69,0x65,0x77])][_0x565a04([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x565a04([0x61,0x75,0x74,0x6f]);}}function _0x7544f5(_0x8c87da){const _0x234727=[new window[(_0x565a04([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x37fcaf=>setTimeout(_0x37fcaf,0x5db3add8^_0x2d5bea)),_0x50a781[_0x565a04([0x74,0x68,0x65,0x6e])](()=>new window[(_0x565a04([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xb9e1e3=>{let _0x331da1=0x0;_0x3f669f[_0x565a04([0x6d,0x6f,0x64,0x65,0x6c])][_0x565a04([0x6f,0x6e])](_0x565a04([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x454d90,_0x35d20e)=>{_0x35d20e[0x0][_0x565a04([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x331da1++,_0x331da1==(0x5dba96fc^_0x2d5bea)&&(_0xb9e1e3(),_0x454d90[_0x565a04([0x6f,0x66,0x66])]());});}))];return window[_0x565a04([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x565a04([0x72,0x61,0x63,0x65])](_0x234727)[_0x565a04([0x74,0x68,0x65,0x6e])](()=>_0x8c87da);}async function _0x592497(){await _0x50a781,_0x3f669f[_0x565a04([0x6d,0x6f,0x64,0x65,0x6c])][_0x565a04([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2ef747,_0x3f669f[_0x565a04([0x6d,0x6f,0x64,0x65,0x6c])][_0x565a04([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2ef747,_0x3f669f[_0x565a04([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x565a04([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x48c0eb(_0x57671a){const _0xcdbd4a=_0x2b0561();_0x3f669f[_0xcdbd4a]=_0x565a04([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])+_0x57671a,_0x57671a!=_0x565a04([0x56,0x61,0x6c,0x69,0x64])&&_0x592497();}function _0x2b0561(){const _0x275642=window[_0x565a04([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x565a04([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x565a04([0x6e,0x6f,0x77])]())[_0x565a04([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x565a04([0x2e]),'');let _0x35e947=_0x565a04([0x4e]);for(let _0x4ed338=0x0;_0x4ed338<_0x275642[_0x565a04([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4ed338+=0x2){let _0x2a253d=window[_0x565a04([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x275642[_0x565a04([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4ed338,_0x4ed338+0x2));_0x2a253d>=_0x4831bc[_0x565a04([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2a253d-=_0x4831bc[_0x565a04([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x35e947+=_0x4831bc[_0x2a253d];}return _0x35e947;}function _0xd3f0f1(){const _0x5a619a=_0x15e866[_0x565a04([0x73,0x70,0x6c,0x69,0x74])](_0x565a04([0x2e]));if(0x3!=_0x5a619a[_0x565a04([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3ad388(_0x5a619a[0x1]);function _0x3ad388(_0x2c1634){const _0x155fc0=_0x101988(_0x2c1634);return _0x155fc0&&_0x295b59()?_0x155fc0:null;function _0x295b59(){const _0x333703=_0x155fc0[_0x565a04([0x6a,0x74,0x69])],_0x2be597=window[_0x565a04([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x333703[_0x565a04([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x333703[_0x565a04([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2985be={..._0x155fc0,[_0x565a04([0x6a,0x74,0x69])]:_0x333703[_0x565a04([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x333703[_0x565a04([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2985be[_0x565a04([0x76,0x63])],_0x4f4677(_0x2985be)==_0x2be597;}}}async function _0x498d8c(){let _0x2fbf66=!0x0;try{const _0x1a1d09=_0x15e866[_0x565a04([0x73,0x70,0x6c,0x69,0x74])](_0x565a04([0x2e])),[_0x5b9cce,_0x38b231,_0x4d821c]=_0x1a1d09;return _0x304e81(_0x5b9cce),await _0x577727(_0x5b9cce,_0x38b231,_0x4d821c),_0x2fbf66;}catch{return!0x1;}function _0x304e81(_0x319b7c){const _0x101ddd=_0x101988(_0x319b7c);_0x101ddd&&_0x101ddd[_0x565a04([0x61,0x6c,0x67])]==_0x565a04([0x45,0x53,0x32,0x35,0x36])||(_0x2fbf66=!0x1);}async function _0x577727(_0x5cf02b,_0x410abd,_0x5d8270){const _0x446c80=window[_0x565a04([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x565a04([0x66,0x72,0x6f,0x6d])](_0x51ed80(_0x5d8270),_0x3432c2=>_0x3432c2[_0x565a04([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1394db=new window[(_0x565a04([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x565a04([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5cf02b+_0x565a04([0x2e])+_0x410abd),_0x38a40c=window[_0x565a04([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x565a04([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x38a40c)return;const _0x2cfb5f=await _0x38a40c[_0x565a04([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x565a04([0x6a,0x77,0x6b]),_0x485aa5,{[_0x565a04([0x6e,0x61,0x6d,0x65])]:_0x565a04([0x45,0x43,0x44,0x53,0x41]),[_0x565a04([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x565a04([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x565a04([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x38a40c[_0x565a04([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x565a04([0x6e,0x61,0x6d,0x65])]:_0x565a04([0x45,0x43,0x44,0x53,0x41]),[_0x565a04([0x68,0x61,0x73,0x68])]:{[_0x565a04([0x6e,0x61,0x6d,0x65])]:_0x565a04([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2cfb5f,_0x446c80,_0x1394db)||(_0x2fbf66=!0x1);}}function _0x101988(_0x112868){return _0x112868[_0x565a04([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x565a04([0x65,0x79]))?JSON[_0x565a04([0x70,0x61,0x72,0x73,0x65])](_0x51ed80(_0x112868)):null;}function _0x51ed80(_0x16ccbe){return window[_0x565a04([0x61,0x74,0x6f,0x62])](_0x16ccbe[_0x565a04([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x565a04([0x2b]))[_0x565a04([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x565a04([0x2f])));}function _0x4f4677(_0xf07ca0){let _0x529cfd=0x1505;function _0x36a503(_0x3e759b){for(let _0x447371=0x0;_0x447371<_0x3e759b[_0x565a04([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x447371++){const _0x23776b=_0x3e759b[_0x565a04([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x447371);_0x529cfd=(_0x529cfd<<0x5)+_0x529cfd+_0x23776b,_0x529cfd&=_0x529cfd;}}function _0x37d13a(_0x468ea0){Array[_0x565a04([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x468ea0)?_0x468ea0[_0x565a04([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x37d13a):_0x468ea0&&typeof _0x468ea0==_0x565a04([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x565a04([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x468ea0)[_0x565a04([0x73,0x6f,0x72,0x74])]()[_0x565a04([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x38ce83,_0x512b72])=>{_0x36a503(_0x38ce83),_0x37d13a(_0x512b72);}):_0x36a503(window[_0x565a04([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x468ea0));}return _0x37d13a(_0xf07ca0),_0x529cfd>>>0x0;}function _0x209dc5(_0x2b73b5){return _0x2b73b5[_0x565a04([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x565a04([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x565a04([0x30]));}function _0x4d0c7d(_0x21327b){return _0x21327b[_0x565a04([0x73,0x70,0x6c,0x69,0x74])]('')[_0x565a04([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x565a04([0x6a,0x6f,0x69,0x6e])]('');}function _0x2ef747(){}function _0x565a04(_0x387d50){return _0x387d50['map'](_0x23f9c2=>String['fromCharCode'](_0x23f9c2))['join']('');}_0x48c0eb(await _0x44f49d());}(this);}['_createButton'](_0x577435,_0x350f24,_0x640bab=!0x1){const _0x14473e=new _0x577435(this['editor']['locale']);return _0x14473e['set']({'withText':_0x640bab,'isToggleable':!0x1}),_0x14473e['bind']('isEnabled')['to'](_0x350f24,'isEnabled'),this['listenTo'](_0x14473e,'execute',()=>_0x350f24['execute']()),_0x14473e;}['_registerKeybindings'](){const _0xb5a065=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':w(_0xb5a065,'Source\x20Editing\x20Enhanced')});const _0x555e12=_0x448389['isMac']||_0x448389['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':w(_0xb5a065,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':w(_0xb5a065,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':w(_0xb5a065,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':w(_0xb5a065,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':w(_0xb5a065,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':w(_0xb5a065,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':w(_0xb5a065,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x555e12?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':w(_0xb5a065,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':w(_0xb5a065,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':w(_0xb5a065,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':w(_0xb5a065,'Select\x20line'),'keystroke':_0x555e12?'Ctrl!+L':'Alt+L'},{'label':w(_0xb5a065,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x555e12?'Alt+Shift+M':'Ctrl+M'},{'label':w(_0xb5a065,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':w(_0xb5a065,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':w(_0xb5a065,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':w(_0xb5a065,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':w(_0xb5a065,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x555e12?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}class c extends _0x546e89{constructor(_0x169691){super(_0x169691),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0x3098c2,_0x21b9e8){const _0x6005da=this['editor'],_0x3fa60c=_0x21b9e8?.['rootName']??r(_0x6005da);_0x6005da['data']['set']({[_0x3fa60c]:_0x3098c2},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}class ee extends _0x2064fc{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[a];}constructor(_0x22296b){super(_0x22296b),_0x22296b['config']['define']('sourceEditingEnhanced.allowCollaborationFeatures',!0x1);}['init'](){this['_checkCompatibility'](),this['editor']['commands']['add']('replaceSource',new c(this['editor'])),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x336103=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x167d1c;for(const _0x44c22b in _0x336103){const _0x3602bf=_0x44c22b,_0x3a920c=_0x336103[_0x3602bf];if('sourceEditingEnhancedLicenseKeyValid'==_0x3a920c||'sourceEditingEnhancedLicenseKeyInvalid'==_0x3a920c||'sourceEditingEnhancedLicenseKeyExpired'==_0x3a920c||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x3a920c||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x3a920c||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x3a920c||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x3a920c){delete _0x336103[_0x3602bf],_0x167d1c=_0x3a920c,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0x167d1c&&_0x336103['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0x167d1c&&_0x336103['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x167d1c&&_0x336103['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x167d1c&&_0x336103['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x167d1c&&_0x336103['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x167d1c&&_0x336103['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0x224cc4=this['editor'],_0x252ccf=_0x224cc4['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0x252ccf&&_0x224cc4['plugins']['has']('RealTimeCollaborativeEditing'))throw new _0xfda2f('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0x252ccf&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x16f19d=>_0x224cc4['plugins']['has'](_0x16f19d))&&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.'),_0x224cc4['plugins']['has']('RestrictedEditingModeEditing')&&console['warn']('You\x20initialized\x20the\x20editor\x20with\x20the\x20source\x20editing\x20enhanced\x20feature\x20and\x20restricted\x20editing\x20feature.\x20Please\x20be\x20advised\x20that\x20the\x20source\x20editing\x20enhanced\x20feature\x20may\x20not\x20work,\x20and\x20be\x20careful\x20when\x20editing\x20document\x20source\x20that\x20contains\x20markers\x20created\x20by\x20the\x20restricted\x20editing\x20feature.');}}export{d as EditSourceCommand,c as ReplaceSourceCommand,ee as SourceEditingEnhanced};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-source-editing-enhanced",
|
|
3
|
-
"version": "47.4.0
|
|
3
|
+
"version": "47.4.0",
|
|
4
4
|
"description": "Source editing enhanced feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -18,11 +18,11 @@
|
|
|
18
18
|
"type": "module",
|
|
19
19
|
"main": "src/index.js",
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@ckeditor/ckeditor5-core": "47.4.0
|
|
22
|
-
"@ckeditor/ckeditor5-icons": "47.4.0
|
|
23
|
-
"@ckeditor/ckeditor5-theme-lark": "47.4.0
|
|
24
|
-
"@ckeditor/ckeditor5-ui": "47.4.0
|
|
25
|
-
"@ckeditor/ckeditor5-utils": "47.4.0
|
|
21
|
+
"@ckeditor/ckeditor5-core": "47.4.0",
|
|
22
|
+
"@ckeditor/ckeditor5-icons": "47.4.0",
|
|
23
|
+
"@ckeditor/ckeditor5-theme-lark": "47.4.0",
|
|
24
|
+
"@ckeditor/ckeditor5-ui": "47.4.0",
|
|
25
|
+
"@ckeditor/ckeditor5-utils": "47.4.0",
|
|
26
26
|
"@codemirror/autocomplete": "^6.7.1",
|
|
27
27
|
"@codemirror/commands": "6.8.1",
|
|
28
28
|
"@codemirror/lang-html": "^6.0.0",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"@codemirror/state": "^6.5.0",
|
|
32
32
|
"@codemirror/theme-one-dark": "^6.1.2",
|
|
33
33
|
"@codemirror/view": "^6.35.0",
|
|
34
|
-
"ckeditor5": "47.4.0
|
|
34
|
+
"ckeditor5": "47.4.0"
|
|
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 _0x196bdb=_0x14ad;(function(_0x32f4c5,_0x354914){const _0x140fa0=_0x14ad,_0x6ee9aa=_0x32f4c5();while(!![]){try{const _0x45236e=-parseInt(_0x140fa0(0x138))/0x1*(-parseInt(_0x140fa0(0x10d))/0x2)+-parseInt(_0x140fa0(0x13c))/0x3*(-parseInt(_0x140fa0(0x115))/0x4)+-parseInt(_0x140fa0(0x129))/0x5+-parseInt(_0x140fa0(0x10f))/0x6+parseInt(_0x140fa0(0x11b))/0x7*(parseInt(_0x140fa0(0x13f))/0x8)+parseInt(_0x140fa0(0xfa))/0x9*(parseInt(_0x140fa0(0x143))/0xa)+-parseInt(_0x140fa0(0xf2))/0xb*(-parseInt(_0x140fa0(0x12b))/0xc);if(_0x45236e===_0x354914)break;else _0x6ee9aa['push'](_0x6ee9aa['shift']());}catch(_0x26ff07){_0x6ee9aa['push'](_0x6ee9aa['shift']());}}}(_0x3e0b,0x35857));import{Plugin as _0x5b3718,PendingActions as _0x52253e}from'ckeditor5/src/core.js';import{IconSource as _0xf8dab4}from'ckeditor5/src/icons.js';import{ButtonView as _0x5885e9,MenuBarMenuListItemButtonView as _0x5c0ac9}from'ckeditor5/src/ui.js';import{EditSourceCommand as _0x1ba319}from'./ui/editsourcecommand.js';import{getTranslation as _0xe7427d}from'./utils/common-translations.js';import{env as _0x7e2cf3,uid as _0x249ad4}from'ckeditor5/src/utils.js';import'../theme/sourceeditingenhanced.css';function _0x14ad(_0x141617,_0x545f23){const _0x3e0ba2=_0x3e0b();return _0x14ad=function(_0x14ad2a,_0x152bee){_0x14ad2a=_0x14ad2a-0xee;let _0x3ec7db=_0x3e0ba2[_0x14ad2a];return _0x3ec7db;},_0x14ad(_0x141617,_0x545f23);}export class SourceEditingEnhancedUI extends _0x5b3718{static get[_0x196bdb(0x130)](){const _0x4a57fb=_0x196bdb;return _0x4a57fb(0x11e);}static get[_0x196bdb(0x101)](){return[_0x52253e];}static get[_0x196bdb(0x12f)](){return!0x0;}static get[_0x196bdb(0xf5)](){return!0x0;}[_0x196bdb(0x114)](){const _0x3097d0=_0x196bdb,_0x3de56d=this[_0x3097d0(0x12a)],_0x58e55b=_0x3de56d[_0x3097d0(0x123)],_0x3b1abb=new _0x1ba319(_0x3de56d);_0x3de56d[_0x3097d0(0x10c)][_0x3097d0(0x11a)](_0x3097d0(0x10a),_0x3b1abb),_0x3de56d['ui'][_0x3097d0(0x10e)][_0x3097d0(0x11a)](_0x3097d0(0x100),()=>{const _0x38b26d=_0x3097d0,_0xd19e7c=this[_0x38b26d(0xf8)](_0x5885e9,_0x3b1abb);return _0xd19e7c[_0x38b26d(0xf4)]({'label':_0xe7427d(_0x58e55b,_0x38b26d(0x117)),'icon':_0xf8dab4,'tooltip':_0xe7427d(_0x58e55b,_0x38b26d(0xf9)),'class':_0x38b26d(0xf3)}),_0xd19e7c;}),_0x3de56d['ui'][_0x3097d0(0x10e)][_0x3097d0(0x11a)](_0x3097d0(0xf0),()=>{const _0x11889b=_0x3097d0,_0x4454ca=this[_0x11889b(0xf8)](_0x5c0ac9,_0x3b1abb,!0x0);return _0x4454ca[_0x11889b(0xf4)]({'label':_0xe7427d(_0x58e55b,_0x11889b(0xf9)),'icon':_0xf8dab4,'role':_0x11889b(0x11d)}),_0x4454ca;}),this[_0x3097d0(0x137)]();}[_0x196bdb(0x110)](){!async function(_0x6e5144){const _0x5681dd=_0x4daa9a([0x4e,0x51,0x56,0x58,0x79,0x42,0x46,0x48,0x4a,0x7a,0x72,0x38,0x57,0x47,0x49,0x34,0x61,0x5a,0x6e,0x54,0x65,0x6f,0x55,0x78,0x36,0x70,0x39,0x6a,0x66,0x76,0x33,0x44,0x69,0x74,0x4c,0x77,0x75,0x63,0x6b,0x59,0x6c,0x68,0x64,0x4d,0x41,0x32,0x4b,0x35,0x53,0x37,0x6d,0x62,0x43,0x4f,0x50,0x45,0x73,0x31,0x71,0x67,0x52,0x30]),_0x51ecd9=0x5dba9314,_0x4a481f=0x5dbdeda4^_0x51ecd9,_0x3c26a0=window[_0x4daa9a([0x44,0x61,0x74,0x65])][_0x4daa9a([0x6e,0x6f,0x77])](),_0x154696=_0x6e5144[_0x4daa9a([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1585e2=new window[(_0x4daa9a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1dd1b3=>{_0x154696[_0x4daa9a([0x6f,0x6e,0x63,0x65])](_0x4daa9a([0x72,0x65,0x61,0x64,0x79]),_0x1dd1b3);}),_0xb65aef={[_0x4daa9a([0x6b,0x74,0x79])]:_0x4daa9a([0x45,0x43]),[_0x4daa9a([0x75,0x73,0x65])]:_0x4daa9a([0x73,0x69,0x67]),[_0x4daa9a([0x63,0x72,0x76])]:_0x4daa9a([0x50,0x2d,0x32,0x35,0x36]),[_0x4daa9a([0x78])]:_0x4daa9a([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]),[_0x4daa9a([0x79])]:_0x4daa9a([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]),[_0x4daa9a([0x61,0x6c,0x67])]:_0x4daa9a([0x45,0x53,0x32,0x35,0x36])},_0xee7d94=_0x154696[_0x4daa9a([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4daa9a([0x67,0x65,0x74])](_0x4daa9a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x32d45a(){let _0x59f441,_0x6dff2b=null,_0x2f81ae=null;try{if(_0xee7d94==_0x4daa9a([0x47,0x50,0x4c]))return _0x4daa9a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x59f441=_0x1e8e07(),!_0x59f441)return _0x4daa9a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x59f441[_0x4daa9a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2f81ae=_0x46386e(_0x59f441[_0x4daa9a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x59f441[_0x4daa9a([0x6a,0x74,0x69])])),await _0x133752()?_0x18624c()?_0x479ba7()?_0x4daa9a([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3fe5c6()?(_0x59f441[_0x4daa9a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4daa9a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x6dff2b=_0x5addf7(_0x4daa9a([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x49ef08()):_0x4daa9a([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4daa9a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4daa9a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4daa9a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x479ba7(){const _0x4aabdb=[_0x4daa9a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4daa9a([0x74,0x72,0x69,0x61,0x6c])][_0x4daa9a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x59f441[_0x4daa9a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3c26a0/0x3e8:0xe10*_0x4a481f;return _0x59f441[_0x4daa9a([0x65,0x78,0x70])]<_0x4aabdb;}function _0x18624c(){const _0x2e6658=_0x59f441[_0x4daa9a([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2e6658&&(!!_0x2e6658[_0x4daa9a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4daa9a([0x2a]))||!!_0x2e6658[_0x4daa9a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4daa9a([0x53,0x45,0x45])));}function _0x3fe5c6(){const _0x40e2e0=_0x14ad,_0x3b795a=_0x59f441[_0x4daa9a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3b795a||0x0==_0x3b795a[_0x4daa9a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xcea937}=new URL(window[_0x4daa9a([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x40e2e0(0x120)]);if(_0x3b795a[_0x4daa9a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xcea937))return!0x0;const _0x30661c=_0xcea937[_0x4daa9a([0x73,0x70,0x6c,0x69,0x74])](_0x4daa9a([0x2e]));return _0x3b795a[_0x4daa9a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x388c8f=>_0x388c8f[_0x4daa9a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4daa9a([0x2a])))[_0x4daa9a([0x6d,0x61,0x70])](_0x489f58=>_0x489f58[_0x4daa9a([0x73,0x70,0x6c,0x69,0x74])](_0x4daa9a([0x2e])))[_0x4daa9a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2ef165=>_0x2ef165[_0x4daa9a([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x30661c[_0x4daa9a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4daa9a([0x6d,0x61,0x70])](_0x1e0c7a=>Array(_0x30661c[_0x4daa9a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1e0c7a[_0x4daa9a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4daa9a([0x66,0x69,0x6c,0x6c])](_0x1e0c7a[0x0]===_0x4daa9a([0x2a])?_0x4daa9a([0x2a]):'')[_0x4daa9a([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1e0c7a))[_0x4daa9a([0x73,0x6f,0x6d,0x65])](_0x50a682=>_0x30661c[_0x4daa9a([0x65,0x76,0x65,0x72,0x79])]((_0x1e8434,_0x27f921)=>_0x50a682[_0x27f921]===_0x1e8434||_0x50a682[_0x27f921]===_0x4daa9a([0x2a])));}function _0x49ef08(){return _0x6dff2b&&_0x2f81ae?new window[(_0x4daa9a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x549594,_0xec5422)=>{_0x6dff2b[_0x4daa9a([0x74,0x68,0x65,0x6e])](_0x549594,_0xec5422),_0x2f81ae[_0x4daa9a([0x74,0x68,0x65,0x6e])](_0x8bf012=>{_0x8bf012!=_0x4daa9a([0x56,0x61,0x6c,0x69,0x64])&&_0x549594(_0x8bf012);},_0xec5422);}):_0x6dff2b||_0x2f81ae||_0x4daa9a([0x56,0x61,0x6c,0x69,0x64]);}}function _0x46386e(_0x2d28ef,_0x5085a){return new window[(_0x4daa9a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x35fa3a=>{if(_0x3731de())return _0x35fa3a(_0x4daa9a([0x56,0x61,0x6c,0x69,0x64]));_0x57038d(),_0x154696[_0x4daa9a([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4daa9a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x57a13e=!0x1;const _0x54dc43=_0x249ad4();function _0x3687dd(_0x4c638d){return!!_0x4c638d&&(typeof _0x4c638d===_0x4daa9a([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4c638d===_0x4daa9a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4c638d[_0x4daa9a([0x74,0x68,0x65,0x6e])]===_0x4daa9a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4c638d[_0x4daa9a([0x63,0x61,0x74,0x63,0x68])]===_0x4daa9a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1dfc96(_0x3d29b3){_0x29d429(_0x3d29b3)[_0x4daa9a([0x74,0x68,0x65,0x6e])](_0x467037=>{if(!_0x467037||_0x467037[_0x4daa9a([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4daa9a([0x6f,0x6b]))return _0x4daa9a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xae1e8b(_0x30a5b0(_0x54dc43+_0x5085a))!=_0x467037[_0x4daa9a([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4daa9a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4daa9a([0x56,0x61,0x6c,0x69,0x64]);})[_0x4daa9a([0x74,0x68,0x65,0x6e])](_0x28fde7=>(_0x5ca65d(),_0x28fde7),()=>{const _0x33ea42=_0x181f80();return null==_0x33ea42?(_0x5ca65d(),_0x4daa9a([0x56,0x61,0x6c,0x69,0x64])):_0x4daa9a(_0x3c26a0-_0x33ea42>(0x79b61714^_0x51ecd9)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4daa9a([0x74,0x68,0x65,0x6e])](_0x35fa3a)[_0x4daa9a([0x63,0x61,0x74,0x63,0x68])](()=>{_0x35fa3a(_0x4daa9a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x51fba2=0x5d8c7d94^_0x51ecd9;function _0x5ca65d(){const _0x2b953f=_0x4daa9a([0x6c,0x6c,0x63,0x74,0x2d])+_0xae1e8b(_0x30a5b0(_0x2d28ef)),_0x8488b5=_0x559426(_0xae1e8b(window[_0x4daa9a([0x4d,0x61,0x74,0x68])][_0x4daa9a([0x63,0x65,0x69,0x6c])](_0x3c26a0/_0x51fba2)));window[_0x4daa9a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4daa9a([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2b953f,_0x8488b5);}function _0x181f80(){const _0x46e9ac=_0x4daa9a([0x6c,0x6c,0x63,0x74,0x2d])+_0xae1e8b(_0x30a5b0(_0x2d28ef)),_0x4c3c2b=window[_0x4daa9a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4daa9a([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x46e9ac);return _0x4c3c2b?window[_0x4daa9a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x559426(_0x4c3c2b),0x10)*_0x51fba2:null;}function _0x29d429(_0x23c8a4){return new window[(_0x4daa9a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x466fa6,_0x1e20ee)=>{_0x23c8a4[_0x4daa9a([0x74,0x68,0x65,0x6e])](_0x466fa6,_0x1e20ee),window[_0x4daa9a([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1e20ee,0x5dbb47d4^_0x51ecd9);});}}_0x154696[_0x4daa9a([0x6f,0x6e])](_0x4daa9a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x64b948,_0x447e8a)=>{if(_0x447e8a[0x0]!=_0x2d28ef)return _0x35fa3a(_0x4daa9a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x447e8a[0x1]={..._0x447e8a[0x1],[_0x4daa9a([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x54dc43};},{[_0x4daa9a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4daa9a([0x68,0x69,0x67,0x68])}),_0x154696[_0x4daa9a([0x6f,0x6e])](_0x4daa9a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5658e0=>{_0x3687dd(_0x5658e0[_0x4daa9a([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x57a13e=!0x0,_0x1dfc96(_0x5658e0[_0x4daa9a([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4daa9a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4daa9a([0x6c,0x6f,0x77])}),_0x1585e2[_0x4daa9a([0x74,0x68,0x65,0x6e])](()=>{_0x57a13e||_0x35fa3a(_0x4daa9a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3731de(){return _0x154696[_0x4daa9a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4daa9a([0x76,0x69,0x65,0x77])][_0x4daa9a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4daa9a([0x61,0x75,0x74,0x6f]);}function _0x57038d(){_0x154696[_0x4daa9a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4daa9a([0x76,0x69,0x65,0x77])][_0x4daa9a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4daa9a([0x61,0x75,0x74,0x6f]);}}function _0x5addf7(_0x449094){const _0x30fdd7=[new window[(_0x4daa9a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x40f90b=>setTimeout(_0x40f90b,0x5db3add8^_0x51ecd9)),_0x1585e2[_0x4daa9a([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4daa9a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1bc3eb=>{let _0x2c3428=0x0;_0x154696[_0x4daa9a([0x6d,0x6f,0x64,0x65,0x6c])][_0x4daa9a([0x6f,0x6e])](_0x4daa9a([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3e5d7a,_0x8c85a0)=>{_0x8c85a0[0x0][_0x4daa9a([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2c3428++,_0x2c3428==(0x5dba96fc^_0x51ecd9)&&(_0x1bc3eb(),_0x3e5d7a[_0x4daa9a([0x6f,0x66,0x66])]());});}))];return window[_0x4daa9a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4daa9a([0x72,0x61,0x63,0x65])](_0x30fdd7)[_0x4daa9a([0x74,0x68,0x65,0x6e])](()=>_0x449094);}async function _0x571226(){await _0x1585e2,_0x154696[_0x4daa9a([0x6d,0x6f,0x64,0x65,0x6c])][_0x4daa9a([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x58769c,_0x154696[_0x4daa9a([0x6d,0x6f,0x64,0x65,0x6c])][_0x4daa9a([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x58769c,_0x154696[_0x4daa9a([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4daa9a([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x48ea7c(_0x42d131){const _0x568ce2=_0x2ed5a0();_0x154696[_0x568ce2]=_0x4daa9a([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])+_0x42d131,_0x42d131!=_0x4daa9a([0x56,0x61,0x6c,0x69,0x64])&&_0x571226();}function _0x2ed5a0(){const _0x42dd88=window[_0x4daa9a([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4daa9a([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4daa9a([0x6e,0x6f,0x77])]())[_0x4daa9a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4daa9a([0x2e]),'');let _0x5182cb=_0x4daa9a([0x4e]);for(let _0x4fc37a=0x0;_0x4fc37a<_0x42dd88[_0x4daa9a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4fc37a+=0x2){let _0x2dda47=window[_0x4daa9a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x42dd88[_0x4daa9a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4fc37a,_0x4fc37a+0x2));_0x2dda47>=_0x5681dd[_0x4daa9a([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2dda47-=_0x5681dd[_0x4daa9a([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5182cb+=_0x5681dd[_0x2dda47];}return _0x5182cb;}function _0x1e8e07(){const _0x35500b=_0xee7d94[_0x4daa9a([0x73,0x70,0x6c,0x69,0x74])](_0x4daa9a([0x2e]));if(0x3!=_0x35500b[_0x4daa9a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2e8dfb(_0x35500b[0x1]);function _0x2e8dfb(_0x2ae0db){const _0x3aa94a=_0x12bf35(_0x2ae0db);return _0x3aa94a&&_0x519a93()?_0x3aa94a:null;function _0x519a93(){const _0x5091ee=_0x3aa94a[_0x4daa9a([0x6a,0x74,0x69])],_0x3247f9=window[_0x4daa9a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5091ee[_0x4daa9a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5091ee[_0x4daa9a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xd3caa5={..._0x3aa94a,[_0x4daa9a([0x6a,0x74,0x69])]:_0x5091ee[_0x4daa9a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5091ee[_0x4daa9a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xd3caa5[_0x4daa9a([0x76,0x63])],_0x30a5b0(_0xd3caa5)==_0x3247f9;}}}async function _0x133752(){let _0x5cb47b=!0x0;try{const _0x5ce51d=_0xee7d94[_0x4daa9a([0x73,0x70,0x6c,0x69,0x74])](_0x4daa9a([0x2e])),[_0x130716,_0xc255fc,_0x3bb215]=_0x5ce51d;return _0x50a599(_0x130716),await _0x97d792(_0x130716,_0xc255fc,_0x3bb215),_0x5cb47b;}catch{return!0x1;}function _0x50a599(_0x16694e){const _0x281b5b=_0x12bf35(_0x16694e);_0x281b5b&&_0x281b5b[_0x4daa9a([0x61,0x6c,0x67])]==_0x4daa9a([0x45,0x53,0x32,0x35,0x36])||(_0x5cb47b=!0x1);}async function _0x97d792(_0xaa8a11,_0x733475,_0x6e3a82){const _0x5c79ca=window[_0x4daa9a([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4daa9a([0x66,0x72,0x6f,0x6d])](_0x1009ce(_0x6e3a82),_0x495fb8=>_0x495fb8[_0x4daa9a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1f4b58=new window[(_0x4daa9a([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4daa9a([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xaa8a11+_0x4daa9a([0x2e])+_0x733475),_0x5dbf2f=window[_0x4daa9a([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4daa9a([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5dbf2f)return;const _0xddc659=await _0x5dbf2f[_0x4daa9a([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4daa9a([0x6a,0x77,0x6b]),_0xb65aef,{[_0x4daa9a([0x6e,0x61,0x6d,0x65])]:_0x4daa9a([0x45,0x43,0x44,0x53,0x41]),[_0x4daa9a([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4daa9a([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4daa9a([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5dbf2f[_0x4daa9a([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4daa9a([0x6e,0x61,0x6d,0x65])]:_0x4daa9a([0x45,0x43,0x44,0x53,0x41]),[_0x4daa9a([0x68,0x61,0x73,0x68])]:{[_0x4daa9a([0x6e,0x61,0x6d,0x65])]:_0x4daa9a([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xddc659,_0x5c79ca,_0x1f4b58)||(_0x5cb47b=!0x1);}}function _0x12bf35(_0x349591){return _0x349591[_0x4daa9a([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4daa9a([0x65,0x79]))?JSON[_0x4daa9a([0x70,0x61,0x72,0x73,0x65])](_0x1009ce(_0x349591)):null;}function _0x1009ce(_0x232e61){return window[_0x4daa9a([0x61,0x74,0x6f,0x62])](_0x232e61[_0x4daa9a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4daa9a([0x2b]))[_0x4daa9a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4daa9a([0x2f])));}function _0x30a5b0(_0x1642a3){let _0x8fdb9b=0x1505;function _0x3189bc(_0x1d0600){for(let _0x578766=0x0;_0x578766<_0x1d0600[_0x4daa9a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x578766++){const _0x16ee49=_0x1d0600[_0x4daa9a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x578766);_0x8fdb9b=(_0x8fdb9b<<0x5)+_0x8fdb9b+_0x16ee49,_0x8fdb9b&=_0x8fdb9b;}}function _0x35525e(_0x2cf4f8){Array[_0x4daa9a([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2cf4f8)?_0x2cf4f8[_0x4daa9a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x35525e):_0x2cf4f8&&typeof _0x2cf4f8==_0x4daa9a([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4daa9a([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2cf4f8)[_0x4daa9a([0x73,0x6f,0x72,0x74])]()[_0x4daa9a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x30aeb5,_0x2dd33d])=>{_0x3189bc(_0x30aeb5),_0x35525e(_0x2dd33d);}):_0x3189bc(window[_0x4daa9a([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2cf4f8));}return _0x35525e(_0x1642a3),_0x8fdb9b>>>0x0;}function _0xae1e8b(_0xcae3ef){return _0xcae3ef[_0x4daa9a([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4daa9a([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4daa9a([0x30]));}function _0x559426(_0x28eb9e){return _0x28eb9e[_0x4daa9a([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4daa9a([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4daa9a([0x6a,0x6f,0x69,0x6e])]('');}function _0x58769c(){}function _0x4daa9a(_0x210d09){const _0x458d32=_0x14ad;return _0x210d09[_0x458d32(0x13d)](_0x43c831=>String[_0x458d32(0x13e)](_0x43c831))[_0x458d32(0x12c)]('');}_0x48ea7c(await _0x32d45a());}(this);}[_0x196bdb(0xf8)](_0x49dc73,_0x402d14,_0x399eae=!0x1){const _0x50ab7c=_0x196bdb,_0x2c2049=new _0x49dc73(this[_0x50ab7c(0x12a)][_0x50ab7c(0x123)]);return _0x2c2049[_0x50ab7c(0xf4)]({'withText':_0x399eae,'isToggleable':!0x1}),_0x2c2049[_0x50ab7c(0x111)](_0x50ab7c(0x108))['to'](_0x402d14,_0x50ab7c(0x108)),this[_0x50ab7c(0x106)](_0x2c2049,_0x50ab7c(0x127),()=>_0x402d14[_0x50ab7c(0x127)]()),_0x2c2049;}[_0x196bdb(0x137)](){const _0x7b7938=_0x196bdb,_0x753dd0=this[_0x7b7938(0x12a)][_0x7b7938(0x123)];this[_0x7b7938(0x12a)][_0x7b7938(0x102)][_0x7b7938(0x139)]({'id':_0x7b7938(0x100),'label':_0xe7427d(_0x753dd0,_0x7b7938(0xf7))});const _0x307fc6=_0x7e2cf3[_0x7b7938(0x135)]||_0x7e2cf3[_0x7b7938(0x109)];this[_0x7b7938(0x12a)][_0x7b7938(0x102)][_0x7b7938(0xee)]({'categoryId':_0x7b7938(0x100),'keystrokes':[{'label':_0xe7427d(_0x753dd0,_0x7b7938(0x140)),'keystroke':_0x7b7938(0x13a)},{'label':_0xe7427d(_0x753dd0,_0x7b7938(0x121)),'keystroke':_0x7b7938(0x126)},{'label':_0xe7427d(_0x753dd0,_0x7b7938(0x141)),'keystroke':_0x7b7938(0x112)},{'label':_0xe7427d(_0x753dd0,_0x7b7938(0xfd)),'keystroke':_0x7b7938(0xff)},{'label':_0xe7427d(_0x753dd0,_0x7b7938(0x10b)),'keystroke':_0x7b7938(0x12d)},{'label':_0xe7427d(_0x753dd0,_0x7b7938(0xef)),'keystroke':_0x7b7938(0xf6)},{'label':_0xe7427d(_0x753dd0,_0x7b7938(0x107)),'keystroke':_0x307fc6?_0x7b7938(0x118):_0x7b7938(0x128)},{'label':_0xe7427d(_0x753dd0,_0x7b7938(0x122)),'keystroke':_0x7b7938(0x11f)},{'label':_0xe7427d(_0x753dd0,_0x7b7938(0x116)),'keystroke':_0x7b7938(0x12e)},{'label':_0xe7427d(_0x753dd0,_0x7b7938(0x134)),'keystroke':[[_0x7b7938(0x11c)],[_0x7b7938(0xfb)]]},{'label':_0xe7427d(_0x753dd0,_0x7b7938(0x125)),'keystroke':_0x307fc6?_0x7b7938(0x124):_0x7b7938(0x142)},{'label':_0xe7427d(_0x753dd0,_0x7b7938(0x104)),'keystroke':_0x307fc6?_0x7b7938(0x132):_0x7b7938(0x131)},{'label':_0xe7427d(_0x753dd0,_0x7b7938(0x136)),'keystroke':_0x7b7938(0x113)},{'label':_0xe7427d(_0x753dd0,_0x7b7938(0x133)),'keystroke':_0x7b7938(0x105)},{'label':_0xe7427d(_0x753dd0,_0x7b7938(0xf1)),'keystroke':_0x7b7938(0x144)},{'label':_0xe7427d(_0x753dd0,_0x7b7938(0x13b)),'keystroke':_0x7b7938(0x119)},{'label':_0xe7427d(_0x753dd0,_0x7b7938(0x103)),'keystroke':_0x307fc6?_0x7b7938(0xfe):_0x7b7938(0xfc)}]});}}function _0x3e0b(){const _0x33046c=['isPremiumPlugin','Ctrl!+Alt+[','Source\x20Editing\x20Enhanced','_createButton','Edit\x20source\x20modal\x20label','9qHuHzt','Ctrl+Y','Ctrl+Shift+]','Indent\x20less','Cmd+Alt+]','Ctrl+[','sourceEditingEnhanced','requires','accessibility','Unfold\x20code\x20(current\x20level)','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode','Ctrl+/','listenTo','Fold\x20code\x20(current\x20level)','isEnabled','isiOS','editSource','Indent\x20more','commands','6XTFZAL','componentFactory','1205208zyskSs','afterInit','bind','Shift+Ctrl+K','Shift+Alt+A','init','2748cDPBQZ','Move\x20line\x20up','Source','Cmd+Alt+[','Ctrl!+Alt+]','add','1681351BZIfXU','Ctrl+Shift+Z','menuitemcheckbox','SourceEditingEnhancedUI','Alt+ArrowDown','href','Copy\x20line\x20up','Move\x20line\x20down','locale','Ctrl!+L','Select\x20line','Shift+Alt+ArrowUp','execute','Ctrl+Shift+[','1448415qkvYTm','editor','252mujxps','join','Ctrl+]','Alt+ArrowUp','isOfficialPlugin','pluginName','Ctrl+M','Alt+Shift+M','Toggle\x20comment','Redo\x20(keystroke)','isMac','Toggle\x20block\x20comment','_registerKeybindings','12193PLUIyq','addKeystrokeInfoCategory','Shift+Alt+ArrowDown','Unfold\x20all','657JkpshM','map','fromCharCode','8LMlNud','Copy\x20line\x20down','Delete\x20line','Alt+L','2093430CJWZBQ','Ctrl+Z','addKeystrokeInfos','Fold\x20all','menuBar:sourceEditingEnhanced','Undo\x20(keystroke)','38346OEzhXG','ck-source-editing-enhanced-button','set'];_0x3e0b=function(){return _0x33046c;};return _0x3e0b();}
|
|
23
|
+
const _0x22c877=_0x3d71;(function(_0x479412,_0x2bcdf8){const _0x176561=_0x3d71,_0x32fe0e=_0x479412();while(!![]){try{const _0x59189c=-parseInt(_0x176561(0x166))/0x1*(parseInt(_0x176561(0x186))/0x2)+-parseInt(_0x176561(0x176))/0x3+parseInt(_0x176561(0x181))/0x4+-parseInt(_0x176561(0x16a))/0x5*(-parseInt(_0x176561(0x159))/0x6)+parseInt(_0x176561(0x18b))/0x7*(-parseInt(_0x176561(0x145))/0x8)+-parseInt(_0x176561(0x148))/0x9*(-parseInt(_0x176561(0x174))/0xa)+-parseInt(_0x176561(0x163))/0xb*(-parseInt(_0x176561(0x14f))/0xc);if(_0x59189c===_0x2bcdf8)break;else _0x32fe0e['push'](_0x32fe0e['shift']());}catch(_0x1fdf1b){_0x32fe0e['push'](_0x32fe0e['shift']());}}}(_0x9aeb,0xc976e));import{Plugin as _0x260039,PendingActions as _0x330be1}from'ckeditor5/src/core.js';import{IconSource as _0x8ae82b}from'ckeditor5/src/icons.js';import{ButtonView as _0x49d218,MenuBarMenuListItemButtonView as _0x255836}from'ckeditor5/src/ui.js';import{EditSourceCommand as _0x4a4908}from'./ui/editsourcecommand.js';function _0x3d71(_0x110ab8,_0x384827){const _0x9aeb1e=_0x9aeb();return _0x3d71=function(_0x3d7155,_0x593c5e){_0x3d7155=_0x3d7155-0x139;let _0x1b4a86=_0x9aeb1e[_0x3d7155];return _0x1b4a86;},_0x3d71(_0x110ab8,_0x384827);}import{getTranslation as _0x2a9221}from'./utils/common-translations.js';import{env as _0x233495,uid as _0x4f7c6c}from'ckeditor5/src/utils.js';import'../theme/sourceeditingenhanced.css';function _0x9aeb(){const _0x58613c=['Shift+Alt+ArrowUp','afterInit','Ctrl!+Alt+]','Ctrl+/','Ctrl!+Alt+[','Ctrl+[','Fold\x20all','Unfold\x20all','336vjKWFj','Ctrl+Shift+Z','Delete\x20line','125757noNzTC','add','menuitemcheckbox','requires','_createButton','_registerKeybindings','Undo\x20(keystroke)','5352BsCENg','commands','isiOS','Select\x20line','Toggle\x20block\x20comment','bind','editor','Fold\x20code\x20(current\x20level)','editSource','Edit\x20source\x20modal\x20label','3358818pBBbcm','accessibility','componentFactory','Cmd+Alt+[','fromCharCode','Copy\x20line\x20up','Ctrl+M','SourceEditingEnhancedUI','Ctrl!+L','locale','34507JEpEtc','Move\x20line\x20up','Source','28opiwPJ','Shift+Alt+ArrowDown','isPremiumPlugin','Ctrl+Shift+[','5usfmNl','isMac','Ctrl+Z','Indent\x20more','isEnabled','listenTo','menuBar:sourceEditingEnhanced','Indent\x20less','Shift+Ctrl+K','Alt+ArrowDown','430INdAyR','init','3569094Gtbojc','Redo\x20(keystroke)','Unfold\x20code\x20(current\x20level)','map','Shift+Alt+A','Copy\x20line\x20down','href','isOfficialPlugin','Ctrl+Shift+]','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode','Toggle\x20comment','414584XtrXwL','sourceEditingEnhanced','Alt+Shift+M','pluginName','addKeystrokeInfos','41338JhryZm','Source\x20Editing\x20Enhanced','Alt+L','Ctrl+]','execute','11627vTHcZw','ck-source-editing-enhanced-button','Cmd+Alt+]','addKeystrokeInfoCategory','Move\x20line\x20down','Ctrl+Y','Alt+ArrowUp','join','set'];_0x9aeb=function(){return _0x58613c;};return _0x9aeb();}export class SourceEditingEnhancedUI extends _0x260039{static get[_0x22c877(0x184)](){const _0x5526b9=_0x22c877;return _0x5526b9(0x160);}static get[_0x22c877(0x14b)](){return[_0x330be1];}static get[_0x22c877(0x17d)](){return!0x0;}static get[_0x22c877(0x168)](){return!0x0;}[_0x22c877(0x175)](){const _0x5aed4=_0x22c877,_0x3817a2=this[_0x5aed4(0x155)],_0x1261af=_0x3817a2[_0x5aed4(0x162)],_0xbffb1=new _0x4a4908(_0x3817a2);_0x3817a2[_0x5aed4(0x150)][_0x5aed4(0x149)](_0x5aed4(0x157),_0xbffb1),_0x3817a2['ui'][_0x5aed4(0x15b)][_0x5aed4(0x149)](_0x5aed4(0x182),()=>{const _0x440084=_0x5aed4,_0x55d91e=this[_0x440084(0x14c)](_0x49d218,_0xbffb1);return _0x55d91e[_0x440084(0x13c)]({'label':_0x2a9221(_0x1261af,_0x440084(0x165)),'icon':_0x8ae82b,'tooltip':_0x2a9221(_0x1261af,_0x440084(0x158)),'class':_0x440084(0x18c)}),_0x55d91e;}),_0x3817a2['ui'][_0x5aed4(0x15b)][_0x5aed4(0x149)](_0x5aed4(0x170),()=>{const _0xd3e222=_0x5aed4,_0x290d23=this[_0xd3e222(0x14c)](_0x255836,_0xbffb1,!0x0);return _0x290d23[_0xd3e222(0x13c)]({'label':_0x2a9221(_0x1261af,_0xd3e222(0x158)),'icon':_0x8ae82b,'role':_0xd3e222(0x14a)}),_0x290d23;}),this[_0x5aed4(0x14d)]();}[_0x22c877(0x13e)](){!async function(_0x312491){const _0x64b068=_0x246c95([0x4e,0x51,0x56,0x58,0x79,0x42,0x46,0x48,0x4a,0x7a,0x72,0x38,0x57,0x47,0x49,0x34,0x61,0x5a,0x6e,0x54,0x65,0x6f,0x55,0x78,0x36,0x70,0x39,0x6a,0x66,0x76,0x33,0x44,0x69,0x74,0x4c,0x77,0x75,0x63,0x6b,0x59,0x6c,0x68,0x64,0x4d,0x41,0x32,0x4b,0x35,0x53,0x37,0x6d,0x62,0x43,0x4f,0x50,0x45,0x73,0x31,0x71,0x67,0x52,0x30]),_0xee001c=0x5dba9314,_0x53c82c=0x5dbdeddc^_0xee001c,_0x2eeb53=window[_0x246c95([0x44,0x61,0x74,0x65])][_0x246c95([0x6e,0x6f,0x77])](),_0x44a1fc=_0x312491[_0x246c95([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x7d4dba=new window[(_0x246c95([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x28bca0=>{_0x44a1fc[_0x246c95([0x6f,0x6e,0x63,0x65])](_0x246c95([0x72,0x65,0x61,0x64,0x79]),_0x28bca0);}),_0x497a9b={[_0x246c95([0x6b,0x74,0x79])]:_0x246c95([0x45,0x43]),[_0x246c95([0x75,0x73,0x65])]:_0x246c95([0x73,0x69,0x67]),[_0x246c95([0x63,0x72,0x76])]:_0x246c95([0x50,0x2d,0x32,0x35,0x36]),[_0x246c95([0x78])]:_0x246c95([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]),[_0x246c95([0x79])]:_0x246c95([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]),[_0x246c95([0x61,0x6c,0x67])]:_0x246c95([0x45,0x53,0x32,0x35,0x36])},_0x2e3536=_0x44a1fc[_0x246c95([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x246c95([0x67,0x65,0x74])](_0x246c95([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2a21a0(){let _0x31c948,_0x3fb4fd=null,_0x5a90b8=null;try{if(_0x2e3536==_0x246c95([0x47,0x50,0x4c]))return _0x246c95([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x31c948=_0xc65d15(),!_0x31c948)return _0x246c95([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x31c948[_0x246c95([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5a90b8=_0x2b3852(_0x31c948[_0x246c95([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x31c948[_0x246c95([0x6a,0x74,0x69])])),await _0x54ff49()?_0x3c204e()?_0x2ac0b2()?_0x246c95([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5812e0()?(_0x31c948[_0x246c95([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x246c95([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3fb4fd=_0x3d695b(_0x246c95([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5287ea()):_0x246c95([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x246c95([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x246c95([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x246c95([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2ac0b2(){const _0x229f8e=[_0x246c95([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x246c95([0x74,0x72,0x69,0x61,0x6c])][_0x246c95([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x31c948[_0x246c95([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2eeb53/0x3e8:0xe10*_0x53c82c;return _0x31c948[_0x246c95([0x65,0x78,0x70])]<_0x229f8e;}function _0x3c204e(){const _0x2bde35=_0x31c948[_0x246c95([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2bde35&&(!!_0x2bde35[_0x246c95([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x246c95([0x2a]))||!!_0x2bde35[_0x246c95([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x246c95([0x53,0x45,0x45])));}function _0x5812e0(){const _0x5a6991=_0x3d71,_0x7abcc2=_0x31c948[_0x246c95([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x7abcc2||0x0==_0x7abcc2[_0x246c95([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4dce53}=new URL(window[_0x246c95([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x5a6991(0x17c)]);if(_0x7abcc2[_0x246c95([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4dce53))return!0x0;const _0x3db564=_0x4dce53[_0x246c95([0x73,0x70,0x6c,0x69,0x74])](_0x246c95([0x2e]));return _0x7abcc2[_0x246c95([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xe40756=>_0xe40756[_0x246c95([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x246c95([0x2a])))[_0x246c95([0x6d,0x61,0x70])](_0x6de697=>_0x6de697[_0x246c95([0x73,0x70,0x6c,0x69,0x74])](_0x246c95([0x2e])))[_0x246c95([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1ef6a7=>_0x1ef6a7[_0x246c95([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3db564[_0x246c95([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x246c95([0x6d,0x61,0x70])](_0x25b14b=>Array(_0x3db564[_0x246c95([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x25b14b[_0x246c95([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x246c95([0x66,0x69,0x6c,0x6c])](_0x25b14b[0x0]===_0x246c95([0x2a])?_0x246c95([0x2a]):'')[_0x246c95([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x25b14b))[_0x246c95([0x73,0x6f,0x6d,0x65])](_0x29b82f=>_0x3db564[_0x246c95([0x65,0x76,0x65,0x72,0x79])]((_0x12c569,_0x4bb652)=>_0x29b82f[_0x4bb652]===_0x12c569||_0x29b82f[_0x4bb652]===_0x246c95([0x2a])));}function _0x5287ea(){return _0x3fb4fd&&_0x5a90b8?new window[(_0x246c95([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2c91e0,_0x57dec5)=>{_0x3fb4fd[_0x246c95([0x74,0x68,0x65,0x6e])](_0x2c91e0,_0x57dec5),_0x5a90b8[_0x246c95([0x74,0x68,0x65,0x6e])](_0x1c6c58=>{_0x1c6c58!=_0x246c95([0x56,0x61,0x6c,0x69,0x64])&&_0x2c91e0(_0x1c6c58);},_0x57dec5);}):_0x3fb4fd||_0x5a90b8||_0x246c95([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2b3852(_0x5bb2ff,_0x25b254){return new window[(_0x246c95([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x19ce51=>{if(_0x52aceb())return _0x19ce51(_0x246c95([0x56,0x61,0x6c,0x69,0x64]));_0x55bb71(),_0x44a1fc[_0x246c95([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x246c95([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xcb7b88=!0x1;const _0x41959c=_0x4f7c6c();function _0x37c051(_0x943707){return!!_0x943707&&(typeof _0x943707===_0x246c95([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x943707===_0x246c95([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x943707[_0x246c95([0x74,0x68,0x65,0x6e])]===_0x246c95([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x943707[_0x246c95([0x63,0x61,0x74,0x63,0x68])]===_0x246c95([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x39f8e3(_0xac5bf9){_0xca84b8(_0xac5bf9)[_0x246c95([0x74,0x68,0x65,0x6e])](_0x1c4469=>{if(!_0x1c4469||_0x1c4469[_0x246c95([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x246c95([0x6f,0x6b]))return _0x246c95([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x17b203(_0x15ba9f(_0x41959c+_0x25b254))!=_0x1c4469[_0x246c95([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x246c95([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x246c95([0x56,0x61,0x6c,0x69,0x64]);})[_0x246c95([0x74,0x68,0x65,0x6e])](_0x3ce28e=>(_0xa3dde0(),_0x3ce28e),()=>{const _0x58c45e=_0x18337a();return null==_0x58c45e?(_0xa3dde0(),_0x246c95([0x56,0x61,0x6c,0x69,0x64])):_0x246c95(_0x2eeb53-_0x58c45e>(0x79b61714^_0xee001c)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x246c95([0x74,0x68,0x65,0x6e])](_0x19ce51)[_0x246c95([0x63,0x61,0x74,0x63,0x68])](()=>{_0x19ce51(_0x246c95([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2be128=0x5d8c7d94^_0xee001c;function _0xa3dde0(){const _0x25888b=_0x246c95([0x6c,0x6c,0x63,0x74,0x2d])+_0x17b203(_0x15ba9f(_0x5bb2ff)),_0x8ca1f9=_0x4cf448(_0x17b203(window[_0x246c95([0x4d,0x61,0x74,0x68])][_0x246c95([0x63,0x65,0x69,0x6c])](_0x2eeb53/_0x2be128)));window[_0x246c95([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x246c95([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x25888b,_0x8ca1f9);}function _0x18337a(){const _0x243c04=_0x246c95([0x6c,0x6c,0x63,0x74,0x2d])+_0x17b203(_0x15ba9f(_0x5bb2ff)),_0x26c609=window[_0x246c95([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x246c95([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x243c04);return _0x26c609?window[_0x246c95([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4cf448(_0x26c609),0x10)*_0x2be128:null;}function _0xca84b8(_0x4823e1){return new window[(_0x246c95([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x48a0a0,_0x13922f)=>{_0x4823e1[_0x246c95([0x74,0x68,0x65,0x6e])](_0x48a0a0,_0x13922f),window[_0x246c95([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x13922f,0x5dbb47d4^_0xee001c);});}}_0x44a1fc[_0x246c95([0x6f,0x6e])](_0x246c95([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x522661,_0x432208)=>{if(_0x432208[0x0]!=_0x5bb2ff)return _0x19ce51(_0x246c95([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x432208[0x1]={..._0x432208[0x1],[_0x246c95([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x41959c};},{[_0x246c95([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x246c95([0x68,0x69,0x67,0x68])}),_0x44a1fc[_0x246c95([0x6f,0x6e])](_0x246c95([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x472ca8=>{_0x37c051(_0x472ca8[_0x246c95([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xcb7b88=!0x0,_0x39f8e3(_0x472ca8[_0x246c95([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x246c95([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x246c95([0x6c,0x6f,0x77])}),_0x7d4dba[_0x246c95([0x74,0x68,0x65,0x6e])](()=>{_0xcb7b88||_0x19ce51(_0x246c95([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x52aceb(){return _0x44a1fc[_0x246c95([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x246c95([0x76,0x69,0x65,0x77])][_0x246c95([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x246c95([0x61,0x75,0x74,0x6f]);}function _0x55bb71(){_0x44a1fc[_0x246c95([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x246c95([0x76,0x69,0x65,0x77])][_0x246c95([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x246c95([0x61,0x75,0x74,0x6f]);}}function _0x3d695b(_0x57ccba){const _0x9ad025=[new window[(_0x246c95([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x6dac83=>setTimeout(_0x6dac83,0x5db3add8^_0xee001c)),_0x7d4dba[_0x246c95([0x74,0x68,0x65,0x6e])](()=>new window[(_0x246c95([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4a692d=>{let _0x448bdc=0x0;_0x44a1fc[_0x246c95([0x6d,0x6f,0x64,0x65,0x6c])][_0x246c95([0x6f,0x6e])](_0x246c95([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5a7fa3,_0x3742e3)=>{_0x3742e3[0x0][_0x246c95([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x448bdc++,_0x448bdc==(0x5dba96fc^_0xee001c)&&(_0x4a692d(),_0x5a7fa3[_0x246c95([0x6f,0x66,0x66])]());});}))];return window[_0x246c95([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x246c95([0x72,0x61,0x63,0x65])](_0x9ad025)[_0x246c95([0x74,0x68,0x65,0x6e])](()=>_0x57ccba);}async function _0x40877f(){await _0x7d4dba,_0x44a1fc[_0x246c95([0x6d,0x6f,0x64,0x65,0x6c])][_0x246c95([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1334a2,_0x44a1fc[_0x246c95([0x6d,0x6f,0x64,0x65,0x6c])][_0x246c95([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1334a2,_0x44a1fc[_0x246c95([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x246c95([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x21a75f(_0x170a43){const _0x1f56c1=_0x35997a();_0x44a1fc[_0x1f56c1]=_0x246c95([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])+_0x170a43,_0x170a43!=_0x246c95([0x56,0x61,0x6c,0x69,0x64])&&_0x40877f();}function _0x35997a(){const _0x5e6fbc=window[_0x246c95([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x246c95([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x246c95([0x6e,0x6f,0x77])]())[_0x246c95([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x246c95([0x2e]),'');let _0x21041b=_0x246c95([0x4e]);for(let _0x724780=0x0;_0x724780<_0x5e6fbc[_0x246c95([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x724780+=0x2){let _0x2b2ad7=window[_0x246c95([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5e6fbc[_0x246c95([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x724780,_0x724780+0x2));_0x2b2ad7>=_0x64b068[_0x246c95([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2b2ad7-=_0x64b068[_0x246c95([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x21041b+=_0x64b068[_0x2b2ad7];}return _0x21041b;}function _0xc65d15(){const _0x3a5dde=_0x2e3536[_0x246c95([0x73,0x70,0x6c,0x69,0x74])](_0x246c95([0x2e]));if(0x3!=_0x3a5dde[_0x246c95([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x15c44b(_0x3a5dde[0x1]);function _0x15c44b(_0x3fac5d){const _0x2800f7=_0x27d56e(_0x3fac5d);return _0x2800f7&&_0xd973ae()?_0x2800f7:null;function _0xd973ae(){const _0x3ff158=_0x2800f7[_0x246c95([0x6a,0x74,0x69])],_0x4e9c5d=window[_0x246c95([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3ff158[_0x246c95([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3ff158[_0x246c95([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x532526={..._0x2800f7,[_0x246c95([0x6a,0x74,0x69])]:_0x3ff158[_0x246c95([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3ff158[_0x246c95([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x532526[_0x246c95([0x76,0x63])],_0x15ba9f(_0x532526)==_0x4e9c5d;}}}async function _0x54ff49(){let _0x1ff580=!0x0;try{const _0x57419c=_0x2e3536[_0x246c95([0x73,0x70,0x6c,0x69,0x74])](_0x246c95([0x2e])),[_0x134419,_0x380aaa,_0x1c1997]=_0x57419c;return _0x23103b(_0x134419),await _0x2451fc(_0x134419,_0x380aaa,_0x1c1997),_0x1ff580;}catch{return!0x1;}function _0x23103b(_0x20b896){const _0x1419a9=_0x27d56e(_0x20b896);_0x1419a9&&_0x1419a9[_0x246c95([0x61,0x6c,0x67])]==_0x246c95([0x45,0x53,0x32,0x35,0x36])||(_0x1ff580=!0x1);}async function _0x2451fc(_0x5b2ca4,_0x2318c8,_0x3e2c6a){const _0x4e81ce=window[_0x246c95([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x246c95([0x66,0x72,0x6f,0x6d])](_0x422eff(_0x3e2c6a),_0x4c4f49=>_0x4c4f49[_0x246c95([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x38dd6f=new window[(_0x246c95([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x246c95([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5b2ca4+_0x246c95([0x2e])+_0x2318c8),_0x54e818=window[_0x246c95([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x246c95([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x54e818)return;const _0x2d57e9=await _0x54e818[_0x246c95([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x246c95([0x6a,0x77,0x6b]),_0x497a9b,{[_0x246c95([0x6e,0x61,0x6d,0x65])]:_0x246c95([0x45,0x43,0x44,0x53,0x41]),[_0x246c95([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x246c95([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x246c95([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x54e818[_0x246c95([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x246c95([0x6e,0x61,0x6d,0x65])]:_0x246c95([0x45,0x43,0x44,0x53,0x41]),[_0x246c95([0x68,0x61,0x73,0x68])]:{[_0x246c95([0x6e,0x61,0x6d,0x65])]:_0x246c95([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2d57e9,_0x4e81ce,_0x38dd6f)||(_0x1ff580=!0x1);}}function _0x27d56e(_0x162a80){return _0x162a80[_0x246c95([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x246c95([0x65,0x79]))?JSON[_0x246c95([0x70,0x61,0x72,0x73,0x65])](_0x422eff(_0x162a80)):null;}function _0x422eff(_0x354579){return window[_0x246c95([0x61,0x74,0x6f,0x62])](_0x354579[_0x246c95([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x246c95([0x2b]))[_0x246c95([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x246c95([0x2f])));}function _0x15ba9f(_0x2d5dcf){let _0x1486dc=0x1505;function _0x2d9155(_0x5c5f21){for(let _0x439b88=0x0;_0x439b88<_0x5c5f21[_0x246c95([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x439b88++){const _0x3e4f46=_0x5c5f21[_0x246c95([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x439b88);_0x1486dc=(_0x1486dc<<0x5)+_0x1486dc+_0x3e4f46,_0x1486dc&=_0x1486dc;}}function _0x2dcda3(_0x410602){Array[_0x246c95([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x410602)?_0x410602[_0x246c95([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2dcda3):_0x410602&&typeof _0x410602==_0x246c95([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x246c95([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x410602)[_0x246c95([0x73,0x6f,0x72,0x74])]()[_0x246c95([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x315845,_0x559c48])=>{_0x2d9155(_0x315845),_0x2dcda3(_0x559c48);}):_0x2d9155(window[_0x246c95([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x410602));}return _0x2dcda3(_0x2d5dcf),_0x1486dc>>>0x0;}function _0x17b203(_0x1c2a4b){return _0x1c2a4b[_0x246c95([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x246c95([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x246c95([0x30]));}function _0x4cf448(_0x3251f1){return _0x3251f1[_0x246c95([0x73,0x70,0x6c,0x69,0x74])]('')[_0x246c95([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x246c95([0x6a,0x6f,0x69,0x6e])]('');}function _0x1334a2(){}function _0x246c95(_0x5e4b3b){const _0x363a51=_0x3d71;return _0x5e4b3b[_0x363a51(0x179)](_0xff2816=>String[_0x363a51(0x15d)](_0xff2816))[_0x363a51(0x13b)]('');}_0x21a75f(await _0x2a21a0());}(this);}[_0x22c877(0x14c)](_0x31814f,_0x3cc9e7,_0xd66673=!0x1){const _0x507fc9=_0x22c877,_0x3ac2bf=new _0x31814f(this[_0x507fc9(0x155)][_0x507fc9(0x162)]);return _0x3ac2bf[_0x507fc9(0x13c)]({'withText':_0xd66673,'isToggleable':!0x1}),_0x3ac2bf[_0x507fc9(0x154)](_0x507fc9(0x16e))['to'](_0x3cc9e7,_0x507fc9(0x16e)),this[_0x507fc9(0x16f)](_0x3ac2bf,_0x507fc9(0x18a),()=>_0x3cc9e7[_0x507fc9(0x18a)]()),_0x3ac2bf;}[_0x22c877(0x14d)](){const _0x3fefb4=_0x22c877,_0x4c5ac3=this[_0x3fefb4(0x155)][_0x3fefb4(0x162)];this[_0x3fefb4(0x155)][_0x3fefb4(0x15a)][_0x3fefb4(0x18e)]({'id':_0x3fefb4(0x182),'label':_0x2a9221(_0x4c5ac3,_0x3fefb4(0x187))});const _0x53b75a=_0x233495[_0x3fefb4(0x16b)]||_0x233495[_0x3fefb4(0x151)];this[_0x3fefb4(0x155)][_0x3fefb4(0x15a)][_0x3fefb4(0x185)]({'categoryId':_0x3fefb4(0x182),'keystrokes':[{'label':_0x2a9221(_0x4c5ac3,_0x3fefb4(0x17b)),'keystroke':_0x3fefb4(0x167)},{'label':_0x2a9221(_0x4c5ac3,_0x3fefb4(0x15e)),'keystroke':_0x3fefb4(0x13d)},{'label':_0x2a9221(_0x4c5ac3,_0x3fefb4(0x147)),'keystroke':_0x3fefb4(0x172)},{'label':_0x2a9221(_0x4c5ac3,_0x3fefb4(0x171)),'keystroke':_0x3fefb4(0x142)},{'label':_0x2a9221(_0x4c5ac3,_0x3fefb4(0x16d)),'keystroke':_0x3fefb4(0x189)},{'label':_0x2a9221(_0x4c5ac3,_0x3fefb4(0x143)),'keystroke':_0x3fefb4(0x141)},{'label':_0x2a9221(_0x4c5ac3,_0x3fefb4(0x156)),'keystroke':_0x53b75a?_0x3fefb4(0x15c):_0x3fefb4(0x169)},{'label':_0x2a9221(_0x4c5ac3,_0x3fefb4(0x18f)),'keystroke':_0x3fefb4(0x173)},{'label':_0x2a9221(_0x4c5ac3,_0x3fefb4(0x164)),'keystroke':_0x3fefb4(0x13a)},{'label':_0x2a9221(_0x4c5ac3,_0x3fefb4(0x177)),'keystroke':[[_0x3fefb4(0x146)],[_0x3fefb4(0x139)]]},{'label':_0x2a9221(_0x4c5ac3,_0x3fefb4(0x152)),'keystroke':_0x53b75a?_0x3fefb4(0x161):_0x3fefb4(0x188)},{'label':_0x2a9221(_0x4c5ac3,_0x3fefb4(0x17f)),'keystroke':_0x53b75a?_0x3fefb4(0x183):_0x3fefb4(0x15f)},{'label':_0x2a9221(_0x4c5ac3,_0x3fefb4(0x153)),'keystroke':_0x3fefb4(0x17a)},{'label':_0x2a9221(_0x4c5ac3,_0x3fefb4(0x180)),'keystroke':_0x3fefb4(0x140)},{'label':_0x2a9221(_0x4c5ac3,_0x3fefb4(0x14e)),'keystroke':_0x3fefb4(0x16c)},{'label':_0x2a9221(_0x4c5ac3,_0x3fefb4(0x144)),'keystroke':_0x3fefb4(0x13f)},{'label':_0x2a9221(_0x4c5ac3,_0x3fefb4(0x178)),'keystroke':_0x53b75a?_0x3fefb4(0x18d):_0x3fefb4(0x17e)}]});}}
|