@ckeditor/ckeditor5-source-editing-enhanced 47.4.0-alpha.2 → 47.4.0-alpha.4
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/build/source-editing-enhanced.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +7 -7
- package/src/sourceeditingenhancedui.js +1 -1
- package/src/ui/codeeditorview.js +1 -1
- package/src/ui/editsourcecommand.js +1 -1
- package/src/utils/createcodemirroreditor.js +1 -1
- package/src/utils/format.js +1 -1
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Command as _0x371054,PendingActions as _0x5c09b2,Plugin as _0x13c1d3}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x4dcec8,formatHtml as _0x231068,env as _0x24e384,uid as _0x4cfa61}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconSource as _0x88ed6c}from'@ckeditor/ckeditor5-icons/dist/index.js';import{View as _0x42119f,ButtonView as _0x745b69,MenuBarMenuListItemButtonView as _0x26def0}from'@ckeditor/ckeditor5-ui/dist/index.js';import{EditorView as _0x5b2755,crosshairCursor as _0x364af6,drawSelection as _0x29d275,dropCursor as _0x1552d6,lineNumbers as _0x2584cb,highlightActiveLine as _0xcd887f,highlightActiveLineGutter as _0x375292,highlightSpecialChars as _0x8091ff,rectangularSelection as _0x528a06,keymap as _0x42e3fe}from'@codemirror/view';import{Compartment as _0xf211c8,Transaction as _0x2ec642}from'@codemirror/state';import{bracketMatching as _0x4652c1,foldGutter as _0x4879bc,indentOnInput as _0x1897a8,syntaxHighlighting as _0x17c8f2,defaultHighlightStyle as _0x3ada9e,foldKeymap as _0x3313a8}from'@codemirror/language';import{toggleTabFocusMode as _0x5a64c3,history as _0x53bb21,defaultKeymap as _0x525f30,historyKeymap as _0x56904b,indentLess as _0x1d30cc,indentMore as _0x524f75,redo as _0x1b2708,undo as _0x5a3709}from'@codemirror/commands';import{autocompletion as _0x27039d,closeBrackets as _0x433bc6,closeBracketsKeymap as _0x4f8129,completionKeymap as _0xda32b7}from'@codemirror/autocomplete';import{html as _0xafe03f}from'@codemirror/lang-html';import{markdown as _0x319f2c}from'@codemirror/lang-markdown';import{oneDark as _0xd2a388}from'@codemirror/theme-one-dark';function w(_0x2410af,_0x5b1c38){const t=_0x2410af['t'];switch(_0x5b1c38){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 _0x5b1c38;}}function r(_0x108212){const _0x14a0a7=_0x108212['editing']['view']['document']['roots'],_0x5148f2=_0x14a0a7['length'];if(0x0===_0x5148f2)throw new _0x4dcec8('source-editing-enhanced-editor-no-root',_0x108212);if(0x1===_0x5148f2)return _0x14a0a7['first']['rootName'];return Array['from'](_0x108212['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function $(_0x4cc94a){return X(_0x4cc94a['replace'](/^[\n\s]*/g,''))?_0x4cc94a['replace'](/\s+/g,''):_0x4cc94a;}function X(_0x4f504c){return _0x4f504c['startsWith']('<');}function Y(_0x4804ed){const _0x466d5c=[_0x5b2755['lineWrapping'],_0x27039d(),_0x4652c1(),_0x433bc6(),_0x364af6(),_0x29d275(),_0x1552d6(),_0x2584cb(),_0x4879bc(),_0xcd887f(),_0x375292(),_0x8091ff(),_0x53bb21(),_0x1897a8(),_0x528a06(),_0x17c8f2(_0x3ada9e,{'fallback':!0x0})],_0x3ad809=new _0xf211c8();_0x466d5c['push'](_0x3ad809['of'](_0x5b2755['editable']['of'](!0x0))),'html'===_0x4804ed['syntaxLanguage']?_0x466d5c['push'](_0xafe03f()):_0x466d5c['push'](_0x319f2c());const _0x2ff472=function(_0x2d2cca){if(_0x2d2cca&&'default'!==_0x2d2cca)return'dark'===_0x2d2cca?_0xd2a388:_0x2d2cca;return null;}(_0x4804ed['theme']);_0x2ff472&&_0x466d5c['push'](_0x2ff472),_0x466d5c['push'](_0x42e3fe['of']([..._0x4f8129,..._0x525f30,..._0x56904b,..._0x3313a8,..._0xda32b7,{'key':'Tab','run':_0x524f75,'shift':_0x1d30cc,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-y','mac':'Cmd-y','run':_0x1b2708,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-Shift-z','mac':'Cmd-Shift-z','run':_0x1b2708,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-z','mac':'Cmd-z','run':_0x5a3709,'preventDefault':!0x0,'stopPropagation':!0x0}]));const _0x316c21=new _0x5b2755({'extensions':_0x466d5c,'parent':_0x4804ed['parent']});return _0x5a64c3(_0x316c21),{'focus':()=>{_0x316c21['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x316c21['focus']();},'getData':()=>_0x316c21['state']['doc']['toString'](),'setData':_0x4b2403=>{_0x316c21['dispatch']({'changes':{'from':0x0,'to':_0x316c21['state']['doc']['length'],'insert':_0x4b2403},'annotations':_0x2ec642['addToHistory']['of'](!0x1)});},'setReadOnly':_0x5eeb96=>{_0x316c21['dispatch']({'effects':[_0x3ad809['reconfigure'](_0x5b2755['editable']['of'](!_0x5eeb96))]});},'destroy':()=>{_0x316c21['destroy']();},'instance':_0x316c21};}class ee extends _0x42119f{['_codeEditorApi']=null;['_options'];constructor(_0x3a2f34,_0x5043c6){super(_0x3a2f34),this['_options']=_0x5043c6,this['set']('isReadOnly',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all-excluded','ck-code-editor'],'tabindex':-0x1}});}['render'](){super['render'](),this['_codeEditorApi']=Y({'parent':this['element'],'syntaxLanguage':this['_options']['syntaxLanguage'],'theme':this['_options']['theme']}),this['on']('change:isReadOnly',(_0x7455a8,_0x2855ff,_0x1a283c)=>{this['setReadOnly'](_0x1a283c);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0x242b0b){this['_codeEditorApi']['setData'](_0x242b0b);}['setReadOnly'](_0x478284){this['_codeEditorApi']['setReadOnly'](_0x478284);}}const te='SourceEditingEnhancedMode';class d extends _0x371054{constructor(_0x7ebc39){super(_0x7ebc39),this['affectsData']=!0x1,this['editor']['plugins']['get'](_0x5c09b2)['on']('change:hasAny',(_0x5ac7c0,_0x1cda85,_0x700f25)=>{_0x700f25?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['_disableCommands'](){const _0x6e2216=this['editor'];for(const _0x5765e1 of _0x6e2216['commands']['names']())['replaceSource','editSource']['includes'](_0x5765e1)||_0x6e2216['commands']['get'](_0x5765e1)['forceDisabled'](te);}['_enableCommands'](){const _0xe72db9=this['editor'];for(const _0x28c5bd of _0xe72db9['commands']['commands']())_0x28c5bd['clearForceDisabled'](te);}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0xa31147=this['editor'],_0x5eb457=_0xa31147['locale'],_0x55d992=_0xa31147['plugins']['get']('Dialog'),_0x571481=r(_0xa31147),_0x2e5764=_0xa31147['data']['get']({'rootName':_0x571481}),_0x1e8659=X(_0x31d574=_0x2e5764)?_0x231068(_0x31d574):_0x31d574;var _0x31d574;const _0x1b01a7=new ee(_0x5eb457,{'syntaxLanguage':_0xa31147['plugins']['has']('Markdown')?'markdown':'html','theme':_0xa31147['config']['get']('sourceEditingEnhanced.theme')});let _0x359ef5=!0x0;const _0x23a480=_0x9b0e24=>{if(!_0x359ef5)return;return $(_0x1b01a7['getData']())!==$(_0x1e8659)?window['confirm'](w(_0x5eb457,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0x9b0e24['stop']():void 0x0;};_0x55d992['show']({'id':'sourceEditingEnhanced','title':w(_0x5eb457,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0x1b01a7,'actionButtons':[{'label':w(_0x5eb457,'Cancel'),'withText':!0x0,'onExecute':()=>{_0x55d992['hide']();}},{'label':w(_0x5eb457,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0x5ab093=$(_0x1b01a7['getData']())!==$(_0x1e8659);(_0x5ab093&&_0xa31147['execute']('replaceSource',_0x1b01a7['getData']()),_0x359ef5=!0x1,_0x55d992['hide'](),_0x5ab093&&'editables'in _0xa31147['ui']['view'])&&_0xa31147['ui']['view']['editables'][_0x571481]['element']['focus']();},'onCreate':_0x37d2a0=>{_0x37d2a0['set']('isEnabled',!_0xa31147['isReadOnly']),_0x37d2a0['bind']('isEnabled')['to'](_0xa31147,'isReadOnly',this,'isEnabled',(_0x333375,_0x43d7d8)=>!_0x333375&&_0x43d7d8);}}],'onHide':()=>{this['_enableCommands'](),_0x55d992['off']('hide',_0x23a480),_0x1b01a7['destroy']();},'onShow':()=>{_0x1b01a7['bind']('isReadOnly')['to'](_0xa31147,'isReadOnly',this,'isEnabled',(_0x3a7667,_0x46b31d)=>_0x3a7667||!_0x46b31d),_0x1b01a7['setData'](_0x1e8659),_0x1b01a7['focus'](),_0x55d992['on']('hide',_0x23a480,{'priority':'highest'}),this['_disableCommands']();}});}}class a extends _0x13c1d3{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[_0x5c09b2];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x5d4fd8=this['editor'],_0x3609a1=_0x5d4fd8['locale'],_0x9d4a32=new d(_0x5d4fd8);_0x5d4fd8['commands']['add']('editSource',_0x9d4a32),_0x5d4fd8['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0x18842b=this['_createButton'](_0x745b69,_0x9d4a32);return _0x18842b['set']({'label':w(_0x3609a1,'Source'),'icon':_0x88ed6c,'tooltip':w(_0x3609a1,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0x18842b;}),_0x5d4fd8['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0x38a0c7=this['_createButton'](_0x26def0,_0x9d4a32,!0x0);return _0x38a0c7['set']({'label':w(_0x3609a1,'Edit\x20source\x20modal\x20label'),'icon':_0x88ed6c,'role':'menuitemcheckbox'}),_0x38a0c7;}),this['_registerKeybindings']();}['afterInit'](){!async function(_0xf48648){const _0xdfbf74=_0x46c3e6([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]),_0x5cd63c=0x5dba9314,_0x5d4229=0x5dbded7c^_0x5cd63c,_0xbe30f0=window[_0x46c3e6([0x44,0x61,0x74,0x65])][_0x46c3e6([0x6e,0x6f,0x77])](),_0x85fb79=_0xf48648[_0x46c3e6([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x860a70=new window[(_0x46c3e6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x35114b=>{_0x85fb79[_0x46c3e6([0x6f,0x6e,0x63,0x65])](_0x46c3e6([0x72,0x65,0x61,0x64,0x79]),_0x35114b);}),_0x249281={[_0x46c3e6([0x6b,0x74,0x79])]:_0x46c3e6([0x45,0x43]),[_0x46c3e6([0x75,0x73,0x65])]:_0x46c3e6([0x73,0x69,0x67]),[_0x46c3e6([0x63,0x72,0x76])]:_0x46c3e6([0x50,0x2d,0x32,0x35,0x36]),[_0x46c3e6([0x78])]:_0x46c3e6([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]),[_0x46c3e6([0x79])]:_0x46c3e6([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]),[_0x46c3e6([0x61,0x6c,0x67])]:_0x46c3e6([0x45,0x53,0x32,0x35,0x36])},_0x4862f7=_0x85fb79[_0x46c3e6([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x46c3e6([0x67,0x65,0x74])](_0x46c3e6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4a44cf(){let _0x48b186,_0x5d6380=null,_0x3f240e=null;try{if(_0x4862f7==_0x46c3e6([0x47,0x50,0x4c]))return _0x46c3e6([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x48b186=_0x74197(),!_0x48b186)return _0x46c3e6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x48b186[_0x46c3e6([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3f240e=_0x107d67(_0x48b186[_0x46c3e6([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x48b186[_0x46c3e6([0x6a,0x74,0x69])])),await _0x1ff404()?_0x55a74d()?_0x31419d()?_0x46c3e6([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x54c480()?(_0x48b186[_0x46c3e6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x46c3e6([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5d6380=_0x3e2a6e(_0x46c3e6([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5ca754()):_0x46c3e6([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x46c3e6([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x46c3e6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x46c3e6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x31419d(){const _0x480b9c=[_0x46c3e6([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x46c3e6([0x74,0x72,0x69,0x61,0x6c])][_0x46c3e6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x48b186[_0x46c3e6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xbe30f0/0x3e8:0xe10*_0x5d4229;return _0x48b186[_0x46c3e6([0x65,0x78,0x70])]<_0x480b9c;}function _0x55a74d(){const _0x435d28=_0x48b186[_0x46c3e6([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x435d28&&(!!_0x435d28[_0x46c3e6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x46c3e6([0x2a]))||!!_0x435d28[_0x46c3e6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x46c3e6([0x53,0x45,0x45])));}function _0x54c480(){const _0x2c2fe0=_0x48b186[_0x46c3e6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2c2fe0||0x0==_0x2c2fe0[_0x46c3e6([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x11cafd}=new URL(window[_0x46c3e6([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x2c2fe0[_0x46c3e6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x11cafd))return!0x0;const _0x31ca78=_0x11cafd[_0x46c3e6([0x73,0x70,0x6c,0x69,0x74])](_0x46c3e6([0x2e]));return _0x2c2fe0[_0x46c3e6([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1c9824=>_0x1c9824[_0x46c3e6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x46c3e6([0x2a])))[_0x46c3e6([0x6d,0x61,0x70])](_0x196a7a=>_0x196a7a[_0x46c3e6([0x73,0x70,0x6c,0x69,0x74])](_0x46c3e6([0x2e])))[_0x46c3e6([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x176aa9=>_0x176aa9[_0x46c3e6([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x31ca78[_0x46c3e6([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x46c3e6([0x6d,0x61,0x70])](_0x34578b=>Array(_0x31ca78[_0x46c3e6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x34578b[_0x46c3e6([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x46c3e6([0x66,0x69,0x6c,0x6c])](_0x34578b[0x0]===_0x46c3e6([0x2a])?_0x46c3e6([0x2a]):'')[_0x46c3e6([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x34578b))[_0x46c3e6([0x73,0x6f,0x6d,0x65])](_0x3fd860=>_0x31ca78[_0x46c3e6([0x65,0x76,0x65,0x72,0x79])]((_0x5936c7,_0x2a9cb3)=>_0x3fd860[_0x2a9cb3]===_0x5936c7||_0x3fd860[_0x2a9cb3]===_0x46c3e6([0x2a])));}function _0x5ca754(){return _0x5d6380&&_0x3f240e?new window[(_0x46c3e6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x9a3f48,_0x5ae778)=>{_0x5d6380[_0x46c3e6([0x74,0x68,0x65,0x6e])](_0x9a3f48,_0x5ae778),_0x3f240e[_0x46c3e6([0x74,0x68,0x65,0x6e])](_0x439718=>{_0x439718!=_0x46c3e6([0x56,0x61,0x6c,0x69,0x64])&&_0x9a3f48(_0x439718);},_0x5ae778);}):_0x5d6380||_0x3f240e||_0x46c3e6([0x56,0x61,0x6c,0x69,0x64]);}}function _0x107d67(_0x37504f,_0x59a42b){return new window[(_0x46c3e6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x71b658=>{if(_0x27141())return _0x71b658(_0x46c3e6([0x56,0x61,0x6c,0x69,0x64]));_0x41043f(),_0x85fb79[_0x46c3e6([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x46c3e6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1c3442=!0x1;const _0x2070f7=_0x4cfa61();function _0x334b8d(_0x3e903d){return!!_0x3e903d&&(typeof _0x3e903d===_0x46c3e6([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3e903d===_0x46c3e6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3e903d[_0x46c3e6([0x74,0x68,0x65,0x6e])]===_0x46c3e6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3e903d[_0x46c3e6([0x63,0x61,0x74,0x63,0x68])]===_0x46c3e6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1e78a8(_0x3a2283){_0x507b76(_0x3a2283)[_0x46c3e6([0x74,0x68,0x65,0x6e])](_0x2fed8a=>{if(!_0x2fed8a||_0x2fed8a[_0x46c3e6([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x46c3e6([0x6f,0x6b]))return _0x46c3e6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x51fdda(_0x3a833f(_0x2070f7+_0x59a42b))!=_0x2fed8a[_0x46c3e6([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x46c3e6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x46c3e6([0x56,0x61,0x6c,0x69,0x64]);})[_0x46c3e6([0x74,0x68,0x65,0x6e])](_0x1b1238=>(_0x32bd40(),_0x1b1238),()=>{const _0x1f43c4=_0x2788fe();return null==_0x1f43c4?(_0x32bd40(),_0x46c3e6([0x56,0x61,0x6c,0x69,0x64])):_0x46c3e6(_0xbe30f0-_0x1f43c4>(0x79b61714^_0x5cd63c)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x46c3e6([0x74,0x68,0x65,0x6e])](_0x71b658)[_0x46c3e6([0x63,0x61,0x74,0x63,0x68])](()=>{_0x71b658(_0x46c3e6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1408d3=0x5d8c7d94^_0x5cd63c;function _0x32bd40(){const _0x9f2cfe=_0x46c3e6([0x6c,0x6c,0x63,0x74,0x2d])+_0x51fdda(_0x3a833f(_0x37504f)),_0x19c1c5=_0x53dd54(_0x51fdda(window[_0x46c3e6([0x4d,0x61,0x74,0x68])][_0x46c3e6([0x63,0x65,0x69,0x6c])](_0xbe30f0/_0x1408d3)));window[_0x46c3e6([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x46c3e6([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x9f2cfe,_0x19c1c5);}function _0x2788fe(){const _0x580717=_0x46c3e6([0x6c,0x6c,0x63,0x74,0x2d])+_0x51fdda(_0x3a833f(_0x37504f)),_0xfa184f=window[_0x46c3e6([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x46c3e6([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x580717);return _0xfa184f?window[_0x46c3e6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x53dd54(_0xfa184f),0x10)*_0x1408d3:null;}function _0x507b76(_0x4ac067){return new window[(_0x46c3e6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x18b481,_0x3a6bd1)=>{_0x4ac067[_0x46c3e6([0x74,0x68,0x65,0x6e])](_0x18b481,_0x3a6bd1),window[_0x46c3e6([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3a6bd1,0x5dbb47d4^_0x5cd63c);});}}_0x85fb79[_0x46c3e6([0x6f,0x6e])](_0x46c3e6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2c5594,_0x148129)=>{if(_0x148129[0x0]!=_0x37504f)return _0x71b658(_0x46c3e6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x148129[0x1]={..._0x148129[0x1],[_0x46c3e6([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2070f7};},{[_0x46c3e6([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x46c3e6([0x68,0x69,0x67,0x68])}),_0x85fb79[_0x46c3e6([0x6f,0x6e])](_0x46c3e6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5f5741=>{_0x334b8d(_0x5f5741[_0x46c3e6([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1c3442=!0x0,_0x1e78a8(_0x5f5741[_0x46c3e6([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x46c3e6([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x46c3e6([0x6c,0x6f,0x77])}),_0x860a70[_0x46c3e6([0x74,0x68,0x65,0x6e])](()=>{_0x1c3442||_0x71b658(_0x46c3e6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x27141(){return _0x85fb79[_0x46c3e6([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x46c3e6([0x76,0x69,0x65,0x77])][_0x46c3e6([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x46c3e6([0x61,0x75,0x74,0x6f]);}function _0x41043f(){_0x85fb79[_0x46c3e6([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x46c3e6([0x76,0x69,0x65,0x77])][_0x46c3e6([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x46c3e6([0x61,0x75,0x74,0x6f]);}}function _0x3e2a6e(_0x169c11){const _0x1f7b92=[new window[(_0x46c3e6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2a1059=>setTimeout(_0x2a1059,0x5db3add8^_0x5cd63c)),_0x860a70[_0x46c3e6([0x74,0x68,0x65,0x6e])](()=>new window[(_0x46c3e6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x367eef=>{let _0x2fe3be=0x0;_0x85fb79[_0x46c3e6([0x6d,0x6f,0x64,0x65,0x6c])][_0x46c3e6([0x6f,0x6e])](_0x46c3e6([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x588f78,_0x5ed28d)=>{_0x5ed28d[0x0][_0x46c3e6([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2fe3be++,_0x2fe3be==(0x5dba96fc^_0x5cd63c)&&(_0x367eef(),_0x588f78[_0x46c3e6([0x6f,0x66,0x66])]());});}))];return window[_0x46c3e6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x46c3e6([0x72,0x61,0x63,0x65])](_0x1f7b92)[_0x46c3e6([0x74,0x68,0x65,0x6e])](()=>_0x169c11);}async function _0xf10bf1(){await _0x860a70,_0x85fb79[_0x46c3e6([0x6d,0x6f,0x64,0x65,0x6c])][_0x46c3e6([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3f7451,_0x85fb79[_0x46c3e6([0x6d,0x6f,0x64,0x65,0x6c])][_0x46c3e6([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3f7451,_0x85fb79[_0x46c3e6([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x46c3e6([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2a28d2(_0x23220b){const _0x4304ec=_0x5a6a5e();_0x85fb79[_0x4304ec]=_0x46c3e6([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])+_0x23220b,_0x23220b!=_0x46c3e6([0x56,0x61,0x6c,0x69,0x64])&&_0xf10bf1();}function _0x5a6a5e(){const _0x1d09f7=window[_0x46c3e6([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x46c3e6([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x46c3e6([0x6e,0x6f,0x77])]())[_0x46c3e6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x46c3e6([0x2e]),'');let _0x18ec89=_0x46c3e6([0x4e]);for(let _0x18d7ac=0x0;_0x18d7ac<_0x1d09f7[_0x46c3e6([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x18d7ac+=0x2){let _0x336cc6=window[_0x46c3e6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1d09f7[_0x46c3e6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x18d7ac,_0x18d7ac+0x2));_0x336cc6>=_0xdfbf74[_0x46c3e6([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x336cc6-=_0xdfbf74[_0x46c3e6([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x18ec89+=_0xdfbf74[_0x336cc6];}return _0x18ec89;}function _0x74197(){const _0x18a970=_0x4862f7[_0x46c3e6([0x73,0x70,0x6c,0x69,0x74])](_0x46c3e6([0x2e]));if(0x3!=_0x18a970[_0x46c3e6([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x58a431(_0x18a970[0x1]);function _0x58a431(_0xb05bcb){const _0x382091=_0x126afa(_0xb05bcb);return _0x382091&&_0x5924af()?_0x382091:null;function _0x5924af(){const _0x1b5dc8=_0x382091[_0x46c3e6([0x6a,0x74,0x69])],_0x3b2b83=window[_0x46c3e6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1b5dc8[_0x46c3e6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1b5dc8[_0x46c3e6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x136656={..._0x382091,[_0x46c3e6([0x6a,0x74,0x69])]:_0x1b5dc8[_0x46c3e6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1b5dc8[_0x46c3e6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x136656[_0x46c3e6([0x76,0x63])],_0x3a833f(_0x136656)==_0x3b2b83;}}}async function _0x1ff404(){let _0x1d4a84=!0x0;try{const _0x4be6cb=_0x4862f7[_0x46c3e6([0x73,0x70,0x6c,0x69,0x74])](_0x46c3e6([0x2e])),[_0x24fdf4,_0x319b6b,_0x4c88ad]=_0x4be6cb;return _0x20eac5(_0x24fdf4),await _0x135b5e(_0x24fdf4,_0x319b6b,_0x4c88ad),_0x1d4a84;}catch{return!0x1;}function _0x20eac5(_0x4b05fc){const _0x45e7f6=_0x126afa(_0x4b05fc);_0x45e7f6&&_0x45e7f6[_0x46c3e6([0x61,0x6c,0x67])]==_0x46c3e6([0x45,0x53,0x32,0x35,0x36])||(_0x1d4a84=!0x1);}async function _0x135b5e(_0x3a6249,_0x4bdc3a,_0x4e2b8c){const _0x34bb82=window[_0x46c3e6([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x46c3e6([0x66,0x72,0x6f,0x6d])](_0x12f94e(_0x4e2b8c),_0x5ad5c8=>_0x5ad5c8[_0x46c3e6([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4e2d60=new window[(_0x46c3e6([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x46c3e6([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3a6249+_0x46c3e6([0x2e])+_0x4bdc3a),_0x4e5333=window[_0x46c3e6([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x46c3e6([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4e5333)return;const _0x1a39eb=await _0x4e5333[_0x46c3e6([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x46c3e6([0x6a,0x77,0x6b]),_0x249281,{[_0x46c3e6([0x6e,0x61,0x6d,0x65])]:_0x46c3e6([0x45,0x43,0x44,0x53,0x41]),[_0x46c3e6([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x46c3e6([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x46c3e6([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4e5333[_0x46c3e6([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x46c3e6([0x6e,0x61,0x6d,0x65])]:_0x46c3e6([0x45,0x43,0x44,0x53,0x41]),[_0x46c3e6([0x68,0x61,0x73,0x68])]:{[_0x46c3e6([0x6e,0x61,0x6d,0x65])]:_0x46c3e6([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1a39eb,_0x34bb82,_0x4e2d60)||(_0x1d4a84=!0x1);}}function _0x126afa(_0x41e671){return _0x41e671[_0x46c3e6([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x46c3e6([0x65,0x79]))?JSON[_0x46c3e6([0x70,0x61,0x72,0x73,0x65])](_0x12f94e(_0x41e671)):null;}function _0x12f94e(_0x18089f){return window[_0x46c3e6([0x61,0x74,0x6f,0x62])](_0x18089f[_0x46c3e6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x46c3e6([0x2b]))[_0x46c3e6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x46c3e6([0x2f])));}function _0x3a833f(_0x2daaa6){let _0xaa7711=0x1505;function _0x4e87db(_0x2f75d2){for(let _0x1bd6db=0x0;_0x1bd6db<_0x2f75d2[_0x46c3e6([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1bd6db++){const _0x236b8c=_0x2f75d2[_0x46c3e6([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1bd6db);_0xaa7711=(_0xaa7711<<0x5)+_0xaa7711+_0x236b8c,_0xaa7711&=_0xaa7711;}}function _0x38c436(_0x588f80){Array[_0x46c3e6([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x588f80)?_0x588f80[_0x46c3e6([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x38c436):_0x588f80&&typeof _0x588f80==_0x46c3e6([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x46c3e6([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x588f80)[_0x46c3e6([0x73,0x6f,0x72,0x74])]()[_0x46c3e6([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x418f6d,_0x43ab60])=>{_0x4e87db(_0x418f6d),_0x38c436(_0x43ab60);}):_0x4e87db(window[_0x46c3e6([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x588f80));}return _0x38c436(_0x2daaa6),_0xaa7711>>>0x0;}function _0x51fdda(_0x20c181){return _0x20c181[_0x46c3e6([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x46c3e6([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x46c3e6([0x30]));}function _0x53dd54(_0x2daab1){return _0x2daab1[_0x46c3e6([0x73,0x70,0x6c,0x69,0x74])]('')[_0x46c3e6([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x46c3e6([0x6a,0x6f,0x69,0x6e])]('');}function _0x3f7451(){}function _0x46c3e6(_0x1326e0){return _0x1326e0['map'](_0xd86450=>String['fromCharCode'](_0xd86450))['join']('');}_0x2a28d2(await _0x4a44cf());}(this);}['_createButton'](_0x1b740b,_0xc966a8,_0x338fbe=!0x1){const _0x424bae=new _0x1b740b(this['editor']['locale']);return _0x424bae['set']({'withText':_0x338fbe,'isToggleable':!0x1}),_0x424bae['bind']('isEnabled')['to'](_0xc966a8,'isEnabled'),this['listenTo'](_0x424bae,'execute',()=>_0xc966a8['execute']()),_0x424bae;}['_registerKeybindings'](){const _0x8199b4=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':w(_0x8199b4,'Source\x20Editing\x20Enhanced')});const _0x5c2a11=_0x24e384['isMac']||_0x24e384['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':w(_0x8199b4,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':w(_0x8199b4,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':w(_0x8199b4,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':w(_0x8199b4,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':w(_0x8199b4,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':w(_0x8199b4,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':w(_0x8199b4,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x5c2a11?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':w(_0x8199b4,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':w(_0x8199b4,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':w(_0x8199b4,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':w(_0x8199b4,'Select\x20line'),'keystroke':_0x5c2a11?'Ctrl!+L':'Alt+L'},{'label':w(_0x8199b4,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x5c2a11?'Alt+Shift+M':'Ctrl+M'},{'label':w(_0x8199b4,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':w(_0x8199b4,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':w(_0x8199b4,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':w(_0x8199b4,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':w(_0x8199b4,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x5c2a11?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}class c extends _0x371054{constructor(_0x25edb1){super(_0x25edb1),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0x397113,_0x271cdc){const _0x502544=this['editor'],_0x375446=_0x271cdc?.['rootName']??r(_0x502544);_0x502544['data']['set']({[_0x375446]:_0x397113},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}class ne extends _0x13c1d3{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[a];}constructor(_0x593507){super(_0x593507),_0x593507['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 _0x21fe00=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x40ad25;for(const _0x14d623 in _0x21fe00){const _0x5033ed=_0x14d623,_0x8857ba=_0x21fe00[_0x5033ed];if('sourceEditingEnhancedLicenseKeyValid'==_0x8857ba||'sourceEditingEnhancedLicenseKeyInvalid'==_0x8857ba||'sourceEditingEnhancedLicenseKeyExpired'==_0x8857ba||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x8857ba||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x8857ba||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x8857ba||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x8857ba){delete _0x21fe00[_0x5033ed],_0x40ad25=_0x8857ba,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0x40ad25&&_0x21fe00['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0x40ad25&&_0x21fe00['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x40ad25&&_0x21fe00['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x40ad25&&_0x21fe00['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x40ad25&&_0x21fe00['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x40ad25&&_0x21fe00['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0x106e70=this['editor'],_0x289585=_0x106e70['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0x289585&&_0x106e70['plugins']['has']('RealTimeCollaborativeEditing'))throw new _0x4dcec8('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0x289585&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x3474f0=>_0x106e70['plugins']['has'](_0x3474f0))&&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.'),_0x106e70['plugins']['has']('RestrictedEditingModeEditing')&&console['warn']('You\x20initialized\x20the\x20editor\x20with\x20the\x20source\x20editing\x20enhanced\x20feature\x20and\x20restricted\x20editing\x20feature.\x20Please\x20be\x20advised\x20that\x20the\x20source\x20editing\x20enhanced\x20feature\x20may\x20not\x20work,\x20and\x20be\x20careful\x20when\x20editing\x20document\x20source\x20that\x20contains\x20markers\x20created\x20by\x20the\x20restricted\x20editing\x20feature.');}}export{d as EditSourceCommand,c as ReplaceSourceCommand,ne as SourceEditingEnhanced};
|
|
23
|
+
import{Command as _0xdccb42,PendingActions as _0x4d26cf,Plugin as _0x1d650f}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x229333,formatHtml as _0x1dc64d,env as _0x2a65b8,uid as _0x3b13a2}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconSource as _0x1b3db8}from'@ckeditor/ckeditor5-icons/dist/index.js';import{View as _0x2cf391,ButtonView as _0x4f49a2,MenuBarMenuListItemButtonView as _0x45f506}from'@ckeditor/ckeditor5-ui/dist/index.js';import{EditorView as _0x298259,crosshairCursor as _0x1d19ab,drawSelection as _0x1c3790,dropCursor as _0x3d9d5a,lineNumbers as _0x38fe76,highlightActiveLine as _0x1a55fc,highlightActiveLineGutter as _0x11aec4,highlightSpecialChars as _0x43094b,rectangularSelection as _0x3185eb,keymap as _0x469b0c}from'@codemirror/view';import{Compartment as _0x505a2c,Transaction as _0x24b5cc}from'@codemirror/state';import{bracketMatching as _0x335229,foldGutter as _0x1b64ab,indentOnInput as _0x3030d8,syntaxHighlighting as _0x152671,defaultHighlightStyle as _0x5c8c61,foldKeymap as _0x15bc53}from'@codemirror/language';import{toggleTabFocusMode as _0x46e8eb,history as _0x4e6a11,defaultKeymap as _0x1a5481,historyKeymap as _0x3d50fb,indentLess as _0xd54f4b,indentMore as _0xb4bedc,redo as _0xe0a494,undo as _0x4b8a7b}from'@codemirror/commands';import{autocompletion as _0x366e4c,closeBrackets as _0x144902,closeBracketsKeymap as _0x5855ed,completionKeymap as _0x2735f8}from'@codemirror/autocomplete';import{html as _0x539368}from'@codemirror/lang-html';import{markdown as _0x8b52e8}from'@codemirror/lang-markdown';import{oneDark as _0x26dfcb}from'@codemirror/theme-one-dark';function w(_0x5dfff1,_0x2c9656){const t=_0x5dfff1['t'];switch(_0x2c9656){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 _0x2c9656;}}function r(_0x29d8d5){const _0x36ce09=_0x29d8d5['editing']['view']['document']['roots'],_0x34be3f=_0x36ce09['length'];if(0x0===_0x34be3f)throw new _0x229333('source-editing-enhanced-editor-no-root',_0x29d8d5);if(0x1===_0x34be3f)return _0x36ce09['first']['rootName'];return Array['from'](_0x29d8d5['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function g(_0x4baaea){return tr(_0x4baaea['replace'](/^[\n\s]*/g,''))?_0x4baaea['replace'](/\s+/g,''):_0x4baaea;}function tr(_0x142370){return _0x142370['startsWith']('<');}function p(_0x4b7a2f){const _0x5936cf=[_0x298259['lineWrapping'],_0x366e4c(),_0x335229(),_0x144902(),_0x1d19ab(),_0x1c3790(),_0x3d9d5a(),_0x38fe76(),_0x1b64ab(),_0x1a55fc(),_0x11aec4(),_0x43094b(),_0x4e6a11(),_0x3030d8(),_0x3185eb(),_0x152671(_0x5c8c61,{'fallback':!0x0})],_0x514cf9=new _0x505a2c();_0x5936cf['push'](_0x514cf9['of'](_0x298259['editable']['of'](!0x0))),'html'===_0x4b7a2f['syntaxLanguage']?_0x5936cf['push'](_0x539368()):_0x5936cf['push'](_0x8b52e8());const _0x72a425=function(_0x386cc7){if(_0x386cc7&&'default'!==_0x386cc7)return'dark'===_0x386cc7?_0x26dfcb:_0x386cc7;return null;}(_0x4b7a2f['theme']);_0x72a425&&_0x5936cf['push'](_0x72a425),_0x5936cf['push'](_0x469b0c['of']([..._0x5855ed,..._0x1a5481,..._0x3d50fb,..._0x15bc53,..._0x2735f8,{'key':'Tab','run':_0xb4bedc,'shift':_0xd54f4b,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-y','mac':'Cmd-y','run':_0xe0a494,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-Shift-z','mac':'Cmd-Shift-z','run':_0xe0a494,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-z','mac':'Cmd-z','run':_0x4b8a7b,'preventDefault':!0x0,'stopPropagation':!0x0}]));const _0x3a69d8=new _0x298259({'extensions':_0x5936cf,'parent':_0x4b7a2f['parent']});return _0x46e8eb(_0x3a69d8),{'focus':()=>{_0x3a69d8['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x3a69d8['focus']();},'getData':()=>_0x3a69d8['state']['doc']['toString'](),'setData':_0x9b6af0=>{_0x3a69d8['dispatch']({'changes':{'from':0x0,'to':_0x3a69d8['state']['doc']['length'],'insert':_0x9b6af0},'annotations':_0x24b5cc['addToHistory']['of'](!0x1)});},'setReadOnly':_0x416880=>{_0x3a69d8['dispatch']({'effects':[_0x514cf9['reconfigure'](_0x298259['editable']['of'](!_0x416880))]});},'destroy':()=>{_0x3a69d8['destroy']();},'instance':_0x3a69d8};}class E extends _0x2cf391{['_codeEditorApi']=null;['_options'];constructor(_0x564f7c,_0x53fa4e){super(_0x564f7c),this['_options']=_0x53fa4e,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',(_0x335ecf,_0x56f968,_0x1dfa08)=>{this['setReadOnly'](_0x1dfa08);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0x39fdc7){this['_codeEditorApi']['setData'](_0x39fdc7);}['setReadOnly'](_0x213904){this['_codeEditorApi']['setReadOnly'](_0x213904);}}const b='SourceEditingEnhancedMode';class d extends _0xdccb42{constructor(_0x40bec1){super(_0x40bec1),this['affectsData']=!0x1,this['editor']['plugins']['get'](_0x4d26cf)['on']('change:hasAny',(_0x377fdd,_0x5e0ce4,_0x5d8d34)=>{_0x5d8d34?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['_disableCommands'](){const _0x58d291=this['editor'];for(const _0x2d3770 of _0x58d291['commands']['names']())['replaceSource','editSource']['includes'](_0x2d3770)||_0x58d291['commands']['get'](_0x2d3770)['forceDisabled'](b);}['_enableCommands'](){const _0x459d31=this['editor'];for(const _0x2b640f of _0x459d31['commands']['commands']())_0x2b640f['clearForceDisabled'](b);}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x581fb6=this['editor'],_0x355b28=_0x581fb6['locale'],_0x8719b4=_0x581fb6['plugins']['get']('Dialog'),_0x5e58f3=r(_0x581fb6),_0x202e52=_0x581fb6['data']['get']({'rootName':_0x5e58f3}),_0x1d5b7d=tr(_0x41fda0=_0x202e52)?_0x1dc64d(_0x41fda0):_0x41fda0;var _0x41fda0;const _0xd41572=new E(_0x355b28,{'syntaxLanguage':_0x581fb6['plugins']['has']('Markdown')?'markdown':'html','theme':_0x581fb6['config']['get']('sourceEditingEnhanced.theme')});let _0x3fd669=!0x0;const _0x1d2a91=_0x1137bd=>{if(!_0x3fd669)return;return g(_0xd41572['getData']())!==g(_0x1d5b7d)?window['confirm'](w(_0x355b28,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0x1137bd['stop']():void 0x0;};_0x8719b4['show']({'id':'sourceEditingEnhanced','title':w(_0x355b28,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0xd41572,'actionButtons':[{'label':w(_0x355b28,'Cancel'),'withText':!0x0,'onExecute':()=>{_0x8719b4['hide']();}},{'label':w(_0x355b28,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0x2f29ff=g(_0xd41572['getData']())!==g(_0x1d5b7d);(_0x2f29ff&&_0x581fb6['execute']('replaceSource',_0xd41572['getData']()),_0x3fd669=!0x1,_0x8719b4['hide'](),_0x2f29ff&&'editables'in _0x581fb6['ui']['view'])&&_0x581fb6['ui']['view']['editables'][_0x5e58f3]['element']['focus']();},'onCreate':_0x2c8649=>{_0x2c8649['set']('isEnabled',!_0x581fb6['isReadOnly']),_0x2c8649['bind']('isEnabled')['to'](_0x581fb6,'isReadOnly',this,'isEnabled',(_0x2f34cb,_0x2eef8b)=>!_0x2f34cb&&_0x2eef8b);}}],'onHide':()=>{this['_enableCommands'](),_0x8719b4['off']('hide',_0x1d2a91),_0xd41572['destroy']();},'onShow':()=>{_0xd41572['bind']('isReadOnly')['to'](_0x581fb6,'isReadOnly',this,'isEnabled',(_0x3f3bfe,_0x1c095e)=>_0x3f3bfe||!_0x1c095e),_0xd41572['setData'](_0x1d5b7d),_0xd41572['focus'](),_0x8719b4['on']('hide',_0x1d2a91,{'priority':'highest'}),this['_disableCommands']();}});}}class a extends _0x1d650f{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[_0x4d26cf];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x2fddc9=this['editor'],_0x217234=_0x2fddc9['locale'],_0x741d3d=new d(_0x2fddc9);_0x2fddc9['commands']['add']('editSource',_0x741d3d),_0x2fddc9['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0x43155d=this['_createButton'](_0x4f49a2,_0x741d3d);return _0x43155d['set']({'label':w(_0x217234,'Source'),'icon':_0x1b3db8,'tooltip':w(_0x217234,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0x43155d;}),_0x2fddc9['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0x148822=this['_createButton'](_0x45f506,_0x741d3d,!0x0);return _0x148822['set']({'label':w(_0x217234,'Edit\x20source\x20modal\x20label'),'icon':_0x1b3db8,'role':'menuitemcheckbox'}),_0x148822;}),this['_registerKeybindings']();}['afterInit'](){!async function(_0x3d4dcd){const _0x562528=_0x48be49([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]),_0x5a2c7b=0x5dba9314,_0x5baf4e=0x5dbded8c^_0x5a2c7b,_0x369598=window[_0x48be49([0x44,0x61,0x74,0x65])][_0x48be49([0x6e,0x6f,0x77])](),_0x5bfe16=_0x3d4dcd[_0x48be49([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x19ff22=new window[(_0x48be49([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x26a9be=>{_0x5bfe16[_0x48be49([0x6f,0x6e,0x63,0x65])](_0x48be49([0x72,0x65,0x61,0x64,0x79]),_0x26a9be);}),_0xcdf877={[_0x48be49([0x6b,0x74,0x79])]:_0x48be49([0x45,0x43]),[_0x48be49([0x75,0x73,0x65])]:_0x48be49([0x73,0x69,0x67]),[_0x48be49([0x63,0x72,0x76])]:_0x48be49([0x50,0x2d,0x32,0x35,0x36]),[_0x48be49([0x78])]:_0x48be49([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]),[_0x48be49([0x79])]:_0x48be49([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]),[_0x48be49([0x61,0x6c,0x67])]:_0x48be49([0x45,0x53,0x32,0x35,0x36])},_0x385cc9=_0x5bfe16[_0x48be49([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x48be49([0x67,0x65,0x74])](_0x48be49([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5db132(){let _0x21498f,_0x34336b=null,_0x1255d7=null;try{if(_0x385cc9==_0x48be49([0x47,0x50,0x4c]))return _0x48be49([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x21498f=_0x5dc232(),!_0x21498f)return _0x48be49([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x21498f[_0x48be49([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1255d7=_0x4c0fdb(_0x21498f[_0x48be49([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x21498f[_0x48be49([0x6a,0x74,0x69])])),await _0x6b6e37()?_0xce598f()?_0x1c5760()?_0x48be49([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x21d764()?(_0x21498f[_0x48be49([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x48be49([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x34336b=_0x2b01db(_0x48be49([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0xd9c3cd()):_0x48be49([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x48be49([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x48be49([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x48be49([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1c5760(){const _0x4fb78b=[_0x48be49([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x48be49([0x74,0x72,0x69,0x61,0x6c])][_0x48be49([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x21498f[_0x48be49([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x369598/0x3e8:0xe10*_0x5baf4e;return _0x21498f[_0x48be49([0x65,0x78,0x70])]<_0x4fb78b;}function _0xce598f(){const _0x29c9b2=_0x21498f[_0x48be49([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x29c9b2&&(!!_0x29c9b2[_0x48be49([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x48be49([0x2a]))||!!_0x29c9b2[_0x48be49([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x48be49([0x53,0x45,0x45])));}function _0x21d764(){const _0x2bce06=_0x21498f[_0x48be49([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2bce06||0x0==_0x2bce06[_0x48be49([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x176539}=new URL(window[_0x48be49([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x2bce06[_0x48be49([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x176539))return!0x0;const _0x19754f=_0x176539[_0x48be49([0x73,0x70,0x6c,0x69,0x74])](_0x48be49([0x2e]));return _0x2bce06[_0x48be49([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x280b80=>_0x280b80[_0x48be49([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x48be49([0x2a])))[_0x48be49([0x6d,0x61,0x70])](_0x37dd56=>_0x37dd56[_0x48be49([0x73,0x70,0x6c,0x69,0x74])](_0x48be49([0x2e])))[_0x48be49([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x287815=>_0x287815[_0x48be49([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x19754f[_0x48be49([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x48be49([0x6d,0x61,0x70])](_0x2a7a2b=>Array(_0x19754f[_0x48be49([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2a7a2b[_0x48be49([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x48be49([0x66,0x69,0x6c,0x6c])](_0x2a7a2b[0x0]===_0x48be49([0x2a])?_0x48be49([0x2a]):'')[_0x48be49([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2a7a2b))[_0x48be49([0x73,0x6f,0x6d,0x65])](_0x50cd57=>_0x19754f[_0x48be49([0x65,0x76,0x65,0x72,0x79])]((_0x5b610e,_0xde1cc7)=>_0x50cd57[_0xde1cc7]===_0x5b610e||_0x50cd57[_0xde1cc7]===_0x48be49([0x2a])));}function _0xd9c3cd(){return _0x34336b&&_0x1255d7?new window[(_0x48be49([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x551fd6,_0x2a8813)=>{_0x34336b[_0x48be49([0x74,0x68,0x65,0x6e])](_0x551fd6,_0x2a8813),_0x1255d7[_0x48be49([0x74,0x68,0x65,0x6e])](_0x37cba9=>{_0x37cba9!=_0x48be49([0x56,0x61,0x6c,0x69,0x64])&&_0x551fd6(_0x37cba9);},_0x2a8813);}):_0x34336b||_0x1255d7||_0x48be49([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4c0fdb(_0x11fa72,_0x2b887a){return new window[(_0x48be49([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2d9397=>{if(_0x1a85f0())return _0x2d9397(_0x48be49([0x56,0x61,0x6c,0x69,0x64]));_0x4aed88(),_0x5bfe16[_0x48be49([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x48be49([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x414aa1=!0x1;const _0x42abc3=_0x3b13a2();function _0x176b4d(_0x35dbd8){return!!_0x35dbd8&&(typeof _0x35dbd8===_0x48be49([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x35dbd8===_0x48be49([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x35dbd8[_0x48be49([0x74,0x68,0x65,0x6e])]===_0x48be49([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x35dbd8[_0x48be49([0x63,0x61,0x74,0x63,0x68])]===_0x48be49([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x513f52(_0x4a4747){_0xefa6cd(_0x4a4747)[_0x48be49([0x74,0x68,0x65,0x6e])](_0x3282b9=>{if(!_0x3282b9||_0x3282b9[_0x48be49([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x48be49([0x6f,0x6b]))return _0x48be49([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4a1e0b(_0x8327c1(_0x42abc3+_0x2b887a))!=_0x3282b9[_0x48be49([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x48be49([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x48be49([0x56,0x61,0x6c,0x69,0x64]);})[_0x48be49([0x74,0x68,0x65,0x6e])](_0x337f3a=>(_0x1e8253(),_0x337f3a),()=>{const _0x4d6c2e=_0x906c27();return null==_0x4d6c2e?(_0x1e8253(),_0x48be49([0x56,0x61,0x6c,0x69,0x64])):_0x48be49(_0x369598-_0x4d6c2e>(0x79b61714^_0x5a2c7b)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x48be49([0x74,0x68,0x65,0x6e])](_0x2d9397)[_0x48be49([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2d9397(_0x48be49([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x22cab1=0x5d8c7d94^_0x5a2c7b;function _0x1e8253(){const _0x231f3e=_0x48be49([0x6c,0x6c,0x63,0x74,0x2d])+_0x4a1e0b(_0x8327c1(_0x11fa72)),_0x2571b6=_0x20519a(_0x4a1e0b(window[_0x48be49([0x4d,0x61,0x74,0x68])][_0x48be49([0x63,0x65,0x69,0x6c])](_0x369598/_0x22cab1)));window[_0x48be49([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x48be49([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x231f3e,_0x2571b6);}function _0x906c27(){const _0x1f5562=_0x48be49([0x6c,0x6c,0x63,0x74,0x2d])+_0x4a1e0b(_0x8327c1(_0x11fa72)),_0x30b5b9=window[_0x48be49([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x48be49([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1f5562);return _0x30b5b9?window[_0x48be49([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x20519a(_0x30b5b9),0x10)*_0x22cab1:null;}function _0xefa6cd(_0x1944b0){return new window[(_0x48be49([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x405f0c,_0x5f0111)=>{_0x1944b0[_0x48be49([0x74,0x68,0x65,0x6e])](_0x405f0c,_0x5f0111),window[_0x48be49([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5f0111,0x5dbb47d4^_0x5a2c7b);});}}_0x5bfe16[_0x48be49([0x6f,0x6e])](_0x48be49([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5ee224,_0x1290f7)=>{if(_0x1290f7[0x0]!=_0x11fa72)return _0x2d9397(_0x48be49([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1290f7[0x1]={..._0x1290f7[0x1],[_0x48be49([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x42abc3};},{[_0x48be49([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x48be49([0x68,0x69,0x67,0x68])}),_0x5bfe16[_0x48be49([0x6f,0x6e])](_0x48be49([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xed77ec=>{_0x176b4d(_0xed77ec[_0x48be49([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x414aa1=!0x0,_0x513f52(_0xed77ec[_0x48be49([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x48be49([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x48be49([0x6c,0x6f,0x77])}),_0x19ff22[_0x48be49([0x74,0x68,0x65,0x6e])](()=>{_0x414aa1||_0x2d9397(_0x48be49([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1a85f0(){return _0x5bfe16[_0x48be49([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x48be49([0x76,0x69,0x65,0x77])][_0x48be49([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x48be49([0x61,0x75,0x74,0x6f]);}function _0x4aed88(){_0x5bfe16[_0x48be49([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x48be49([0x76,0x69,0x65,0x77])][_0x48be49([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x48be49([0x61,0x75,0x74,0x6f]);}}function _0x2b01db(_0x2a3467){const _0x2d7b6f=[new window[(_0x48be49([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4db388=>setTimeout(_0x4db388,0x5db3add8^_0x5a2c7b)),_0x19ff22[_0x48be49([0x74,0x68,0x65,0x6e])](()=>new window[(_0x48be49([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x16b547=>{let _0x2b37be=0x0;_0x5bfe16[_0x48be49([0x6d,0x6f,0x64,0x65,0x6c])][_0x48be49([0x6f,0x6e])](_0x48be49([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1e7150,_0x29dd7f)=>{_0x29dd7f[0x0][_0x48be49([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2b37be++,_0x2b37be==(0x5dba96fc^_0x5a2c7b)&&(_0x16b547(),_0x1e7150[_0x48be49([0x6f,0x66,0x66])]());});}))];return window[_0x48be49([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x48be49([0x72,0x61,0x63,0x65])](_0x2d7b6f)[_0x48be49([0x74,0x68,0x65,0x6e])](()=>_0x2a3467);}async function _0xdcb12a(){await _0x19ff22,_0x5bfe16[_0x48be49([0x6d,0x6f,0x64,0x65,0x6c])][_0x48be49([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x494f3b,_0x5bfe16[_0x48be49([0x6d,0x6f,0x64,0x65,0x6c])][_0x48be49([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x494f3b,_0x5bfe16[_0x48be49([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x48be49([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2b5f18(_0x3fc2fe){const _0x1dfa2e=_0x6892b6();_0x5bfe16[_0x1dfa2e]=_0x48be49([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])+_0x3fc2fe,_0x3fc2fe!=_0x48be49([0x56,0x61,0x6c,0x69,0x64])&&_0xdcb12a();}function _0x6892b6(){const _0x391fb5=window[_0x48be49([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x48be49([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x48be49([0x6e,0x6f,0x77])]())[_0x48be49([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x48be49([0x2e]),'');let _0x482711=_0x48be49([0x4e]);for(let _0x4b1c51=0x0;_0x4b1c51<_0x391fb5[_0x48be49([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4b1c51+=0x2){let _0x533d16=window[_0x48be49([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x391fb5[_0x48be49([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4b1c51,_0x4b1c51+0x2));_0x533d16>=_0x562528[_0x48be49([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x533d16-=_0x562528[_0x48be49([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x482711+=_0x562528[_0x533d16];}return _0x482711;}function _0x5dc232(){const _0x248015=_0x385cc9[_0x48be49([0x73,0x70,0x6c,0x69,0x74])](_0x48be49([0x2e]));if(0x3!=_0x248015[_0x48be49([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x8ad0fe(_0x248015[0x1]);function _0x8ad0fe(_0x2da508){const _0x5df160=_0x4a4a46(_0x2da508);return _0x5df160&&_0x41e854()?_0x5df160:null;function _0x41e854(){const _0x4bc0b0=_0x5df160[_0x48be49([0x6a,0x74,0x69])],_0x32d24e=window[_0x48be49([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4bc0b0[_0x48be49([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4bc0b0[_0x48be49([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xdb95d={..._0x5df160,[_0x48be49([0x6a,0x74,0x69])]:_0x4bc0b0[_0x48be49([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4bc0b0[_0x48be49([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xdb95d[_0x48be49([0x76,0x63])],_0x8327c1(_0xdb95d)==_0x32d24e;}}}async function _0x6b6e37(){let _0x24b222=!0x0;try{const _0xdfb05e=_0x385cc9[_0x48be49([0x73,0x70,0x6c,0x69,0x74])](_0x48be49([0x2e])),[_0x5d7f6d,_0x4f958b,_0x55bb89]=_0xdfb05e;return _0xde8ed1(_0x5d7f6d),await _0xa775b8(_0x5d7f6d,_0x4f958b,_0x55bb89),_0x24b222;}catch{return!0x1;}function _0xde8ed1(_0x15d0da){const _0x151589=_0x4a4a46(_0x15d0da);_0x151589&&_0x151589[_0x48be49([0x61,0x6c,0x67])]==_0x48be49([0x45,0x53,0x32,0x35,0x36])||(_0x24b222=!0x1);}async function _0xa775b8(_0x1e1e82,_0x598c5e,_0x12f834){const _0x9f9771=window[_0x48be49([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x48be49([0x66,0x72,0x6f,0x6d])](_0x44994d(_0x12f834),_0x5b1169=>_0x5b1169[_0x48be49([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x243a0d=new window[(_0x48be49([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x48be49([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1e1e82+_0x48be49([0x2e])+_0x598c5e),_0x52474c=window[_0x48be49([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x48be49([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x52474c)return;const _0x28b13=await _0x52474c[_0x48be49([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x48be49([0x6a,0x77,0x6b]),_0xcdf877,{[_0x48be49([0x6e,0x61,0x6d,0x65])]:_0x48be49([0x45,0x43,0x44,0x53,0x41]),[_0x48be49([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x48be49([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x48be49([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x52474c[_0x48be49([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x48be49([0x6e,0x61,0x6d,0x65])]:_0x48be49([0x45,0x43,0x44,0x53,0x41]),[_0x48be49([0x68,0x61,0x73,0x68])]:{[_0x48be49([0x6e,0x61,0x6d,0x65])]:_0x48be49([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x28b13,_0x9f9771,_0x243a0d)||(_0x24b222=!0x1);}}function _0x4a4a46(_0x3fb8a6){return _0x3fb8a6[_0x48be49([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x48be49([0x65,0x79]))?JSON[_0x48be49([0x70,0x61,0x72,0x73,0x65])](_0x44994d(_0x3fb8a6)):null;}function _0x44994d(_0x4b4ebc){return window[_0x48be49([0x61,0x74,0x6f,0x62])](_0x4b4ebc[_0x48be49([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x48be49([0x2b]))[_0x48be49([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x48be49([0x2f])));}function _0x8327c1(_0x5ec96f){let _0x3c78af=0x1505;function _0x1ca820(_0x45fd4b){for(let _0x3daad5=0x0;_0x3daad5<_0x45fd4b[_0x48be49([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3daad5++){const _0x35ff95=_0x45fd4b[_0x48be49([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3daad5);_0x3c78af=(_0x3c78af<<0x5)+_0x3c78af+_0x35ff95,_0x3c78af&=_0x3c78af;}}function _0x3cf8c9(_0x963e12){Array[_0x48be49([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x963e12)?_0x963e12[_0x48be49([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3cf8c9):_0x963e12&&typeof _0x963e12==_0x48be49([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x48be49([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x963e12)[_0x48be49([0x73,0x6f,0x72,0x74])]()[_0x48be49([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x480bcb,_0x561c77])=>{_0x1ca820(_0x480bcb),_0x3cf8c9(_0x561c77);}):_0x1ca820(window[_0x48be49([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x963e12));}return _0x3cf8c9(_0x5ec96f),_0x3c78af>>>0x0;}function _0x4a1e0b(_0x27fb6d){return _0x27fb6d[_0x48be49([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x48be49([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x48be49([0x30]));}function _0x20519a(_0x46234b){return _0x46234b[_0x48be49([0x73,0x70,0x6c,0x69,0x74])]('')[_0x48be49([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x48be49([0x6a,0x6f,0x69,0x6e])]('');}function _0x494f3b(){}function _0x48be49(_0x4ede89){return _0x4ede89['map'](_0x493514=>String['fromCharCode'](_0x493514))['join']('');}_0x2b5f18(await _0x5db132());}(this);}['_createButton'](_0x2f8c03,_0x31cd87,_0x29e0fa=!0x1){const _0x4eed30=new _0x2f8c03(this['editor']['locale']);return _0x4eed30['set']({'withText':_0x29e0fa,'isToggleable':!0x1}),_0x4eed30['bind']('isEnabled')['to'](_0x31cd87,'isEnabled'),this['listenTo'](_0x4eed30,'execute',()=>_0x31cd87['execute']()),_0x4eed30;}['_registerKeybindings'](){const _0x1493e6=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':w(_0x1493e6,'Source\x20Editing\x20Enhanced')});const _0x66aee2=_0x2a65b8['isMac']||_0x2a65b8['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':w(_0x1493e6,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':w(_0x1493e6,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':w(_0x1493e6,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':w(_0x1493e6,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':w(_0x1493e6,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':w(_0x1493e6,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':w(_0x1493e6,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x66aee2?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':w(_0x1493e6,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':w(_0x1493e6,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':w(_0x1493e6,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':w(_0x1493e6,'Select\x20line'),'keystroke':_0x66aee2?'Ctrl!+L':'Alt+L'},{'label':w(_0x1493e6,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x66aee2?'Alt+Shift+M':'Ctrl+M'},{'label':w(_0x1493e6,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':w(_0x1493e6,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':w(_0x1493e6,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':w(_0x1493e6,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':w(_0x1493e6,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x66aee2?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}class c extends _0xdccb42{constructor(_0x35aaa1){super(_0x35aaa1),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0x1899a9,_0x51d472){const _0x438286=this['editor'],_0x450aa2=_0x51d472?.['rootName']??r(_0x438286);_0x438286['data']['set']({[_0x450aa2]:_0x1899a9},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}class ee extends _0x1d650f{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[a];}constructor(_0x14d45e){super(_0x14d45e),_0x14d45e['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 _0x1c033b=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0xaee73f;for(const _0x169106 in _0x1c033b){const _0x18b81d=_0x169106,_0x91c0b9=_0x1c033b[_0x18b81d];if('sourceEditingEnhancedLicenseKeyValid'==_0x91c0b9||'sourceEditingEnhancedLicenseKeyInvalid'==_0x91c0b9||'sourceEditingEnhancedLicenseKeyExpired'==_0x91c0b9||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x91c0b9||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x91c0b9||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x91c0b9||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x91c0b9){delete _0x1c033b[_0x18b81d],_0xaee73f=_0x91c0b9,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0xaee73f&&_0x1c033b['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0xaee73f&&_0x1c033b['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0xaee73f&&_0x1c033b['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0xaee73f&&_0x1c033b['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0xaee73f&&_0x1c033b['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0xaee73f&&_0x1c033b['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0x2afcd6=this['editor'],_0x213922=_0x2afcd6['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0x213922&&_0x2afcd6['plugins']['has']('RealTimeCollaborativeEditing'))throw new _0x229333('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0x213922&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x35d845=>_0x2afcd6['plugins']['has'](_0x35d845))&&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.'),_0x2afcd6['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-alpha.
|
|
3
|
+
"version": "47.4.0-alpha.4",
|
|
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-alpha.
|
|
22
|
-
"@ckeditor/ckeditor5-icons": "47.4.0-alpha.
|
|
23
|
-
"@ckeditor/ckeditor5-theme-lark": "47.4.0-alpha.
|
|
24
|
-
"@ckeditor/ckeditor5-ui": "47.4.0-alpha.
|
|
25
|
-
"@ckeditor/ckeditor5-utils": "47.4.0-alpha.
|
|
21
|
+
"@ckeditor/ckeditor5-core": "47.4.0-alpha.4",
|
|
22
|
+
"@ckeditor/ckeditor5-icons": "47.4.0-alpha.4",
|
|
23
|
+
"@ckeditor/ckeditor5-theme-lark": "47.4.0-alpha.4",
|
|
24
|
+
"@ckeditor/ckeditor5-ui": "47.4.0-alpha.4",
|
|
25
|
+
"@ckeditor/ckeditor5-utils": "47.4.0-alpha.4",
|
|
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-alpha.
|
|
34
|
+
"ckeditor5": "47.4.0-alpha.4"
|
|
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 _0x516cf2=_0x4dcd;(function(_0xf1c2a8,_0x197bd4){const _0x167f5f=_0x4dcd,_0x188c93=_0xf1c2a8();while(!![]){try{const _0x1716c8=-parseInt(_0x167f5f(0x113))/0x1*(-parseInt(_0x167f5f(0xeb))/0x2)+-parseInt(_0x167f5f(0x10a))/0x3+-parseInt(_0x167f5f(0x100))/0x4*(-parseInt(_0x167f5f(0xdd))/0x5)+parseInt(_0x167f5f(0x104))/0x6+parseInt(_0x167f5f(0xce))/0x7+-parseInt(_0x167f5f(0xe5))/0x8*(parseInt(_0x167f5f(0xcf))/0x9)+parseInt(_0x167f5f(0xed))/0xa*(-parseInt(_0x167f5f(0xf8))/0xb);if(_0x1716c8===_0x197bd4)break;else _0x188c93['push'](_0x188c93['shift']());}catch(_0x268b14){_0x188c93['push'](_0x188c93['shift']());}}}(_0x5f10,0x54583));import{Plugin as _0x5064ca,PendingActions as _0x118509}from'ckeditor5/src/core.js';import{IconSource as _0x167cd2}from'ckeditor5/src/icons.js';import{ButtonView as _0x1c0db5,MenuBarMenuListItemButtonView as _0x3b22bc}from'ckeditor5/src/ui.js';import{EditSourceCommand as _0x40a702}from'./ui/editsourcecommand.js';import{getTranslation as _0x6f3f52}from'./utils/common-translations.js';function _0x4dcd(_0x29b83f,_0x260acb){const _0x5f101f=_0x5f10();return _0x4dcd=function(_0x4dcd2e,_0x688c36){_0x4dcd2e=_0x4dcd2e-0xcb;let _0x44516a=_0x5f101f[_0x4dcd2e];return _0x44516a;},_0x4dcd(_0x29b83f,_0x260acb);}import{env as _0x52b3b8,uid as _0x2f1c02}from'ckeditor5/src/utils.js';function _0x5f10(){const _0x587d43=['Cmd+Alt+[','Redo\x20(keystroke)','isPremiumPlugin','fromCharCode','Ctrl+Shift+[','Copy\x20line\x20down','Shift+Alt+ArrowUp','8weGDMP','locale','componentFactory','join','Ctrl!+Alt+[','Ctrl+Shift+Z','7152iAdEyH','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode','7915290fEBjSk','Shift+Ctrl+K','Move\x20line\x20up','accessibility','sourceEditingEnhanced','Fold\x20all','Shift+Alt+A','Alt+L','Undo\x20(keystroke)','Ctrl+M','editSource','11ZICbVf','Ctrl+Shift+]','isiOS','Select\x20line','afterInit','Ctrl+]','Ctrl+/','Ctrl+[','174652GTIfha','map','Indent\x20less','Cmd+Alt+]','891414ciODaT','Shift+Alt+ArrowDown','editor','requires','Alt+ArrowDown','Indent\x20more','811899dBbgKX','_registerKeybindings','Move\x20line\x20down','execute','Alt+ArrowUp','Unfold\x20code\x20(current\x20level)','Ctrl+Y','ck-source-editing-enhanced-button','Toggle\x20block\x20comment','109uOIpTa','pluginName','SourceEditingEnhancedUI','isEnabled','Ctrl+Z','href','Ctrl!+L','commands','Delete\x20line','isOfficialPlugin','menuBar:sourceEditingEnhanced','Alt+Shift+M','init','add','Source\x20Editing\x20Enhanced','isMac','Source','3726905kCjQzC','1683783kuaqwQ','bind','Copy\x20line\x20up','_createButton','menuitemcheckbox','addKeystrokeInfos','Unfold\x20all','set','Edit\x20source\x20modal\x20label','Toggle\x20comment','listenTo','Ctrl!+Alt+]','Fold\x20code\x20(current\x20level)','addKeystrokeInfoCategory','60ecteiZ'];_0x5f10=function(){return _0x587d43;};return _0x5f10();}import'../theme/sourceeditingenhanced.css';export class SourceEditingEnhancedUI extends _0x5064ca{static get[_0x516cf2(0x114)](){const _0xb863d0=_0x516cf2;return _0xb863d0(0x115);}static get[_0x516cf2(0x107)](){return[_0x118509];}static get[_0x516cf2(0x11c)](){return!0x0;}static get[_0x516cf2(0xe0)](){return!0x0;}[_0x516cf2(0x11f)](){const _0x576f06=_0x516cf2,_0x1c8e12=this[_0x576f06(0x106)],_0x57af20=_0x1c8e12[_0x576f06(0xe6)],_0x94f72c=new _0x40a702(_0x1c8e12);_0x1c8e12[_0x576f06(0x11a)][_0x576f06(0x120)](_0x576f06(0xf7),_0x94f72c),_0x1c8e12['ui'][_0x576f06(0xe7)][_0x576f06(0x120)](_0x576f06(0xf1),()=>{const _0x26d1d6=_0x576f06,_0x565070=this[_0x26d1d6(0xd2)](_0x1c0db5,_0x94f72c);return _0x565070[_0x26d1d6(0xd6)]({'label':_0x6f3f52(_0x57af20,_0x26d1d6(0xcd)),'icon':_0x167cd2,'tooltip':_0x6f3f52(_0x57af20,_0x26d1d6(0xd7)),'class':_0x26d1d6(0x111)}),_0x565070;}),_0x1c8e12['ui'][_0x576f06(0xe7)][_0x576f06(0x120)](_0x576f06(0x11d),()=>{const _0x4e3200=_0x576f06,_0x1af1a4=this[_0x4e3200(0xd2)](_0x3b22bc,_0x94f72c,!0x0);return _0x1af1a4[_0x4e3200(0xd6)]({'label':_0x6f3f52(_0x57af20,_0x4e3200(0xd7)),'icon':_0x167cd2,'role':_0x4e3200(0xd3)}),_0x1af1a4;}),this[_0x576f06(0x10b)]();}[_0x516cf2(0xfc)](){!async function(_0x43eecb){const _0x590304=_0x4afd71([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]),_0xe8b1d2=0x5dba9314,_0x524f8d=0x5dbded7c^_0xe8b1d2,_0xaa3660=window[_0x4afd71([0x44,0x61,0x74,0x65])][_0x4afd71([0x6e,0x6f,0x77])](),_0x2b123c=_0x43eecb[_0x4afd71([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x21e1c5=new window[(_0x4afd71([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x16783a=>{_0x2b123c[_0x4afd71([0x6f,0x6e,0x63,0x65])](_0x4afd71([0x72,0x65,0x61,0x64,0x79]),_0x16783a);}),_0xd18330={[_0x4afd71([0x6b,0x74,0x79])]:_0x4afd71([0x45,0x43]),[_0x4afd71([0x75,0x73,0x65])]:_0x4afd71([0x73,0x69,0x67]),[_0x4afd71([0x63,0x72,0x76])]:_0x4afd71([0x50,0x2d,0x32,0x35,0x36]),[_0x4afd71([0x78])]:_0x4afd71([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]),[_0x4afd71([0x79])]:_0x4afd71([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]),[_0x4afd71([0x61,0x6c,0x67])]:_0x4afd71([0x45,0x53,0x32,0x35,0x36])},_0x4e6412=_0x2b123c[_0x4afd71([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4afd71([0x67,0x65,0x74])](_0x4afd71([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3453a1(){let _0x534a04,_0x5ceaca=null,_0x2bbceb=null;try{if(_0x4e6412==_0x4afd71([0x47,0x50,0x4c]))return _0x4afd71([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x534a04=_0x4cfbc9(),!_0x534a04)return _0x4afd71([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x534a04[_0x4afd71([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2bbceb=_0x338105(_0x534a04[_0x4afd71([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x534a04[_0x4afd71([0x6a,0x74,0x69])])),await _0x535675()?_0x42ca3a()?_0x1cab3f()?_0x4afd71([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4d510f()?(_0x534a04[_0x4afd71([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4afd71([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5ceaca=_0x2cf1f5(_0x4afd71([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x30676a()):_0x4afd71([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4afd71([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4afd71([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4afd71([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1cab3f(){const _0x6c5f03=[_0x4afd71([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4afd71([0x74,0x72,0x69,0x61,0x6c])][_0x4afd71([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x534a04[_0x4afd71([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xaa3660/0x3e8:0xe10*_0x524f8d;return _0x534a04[_0x4afd71([0x65,0x78,0x70])]<_0x6c5f03;}function _0x42ca3a(){const _0x1c1f9f=_0x534a04[_0x4afd71([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1c1f9f&&(!!_0x1c1f9f[_0x4afd71([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4afd71([0x2a]))||!!_0x1c1f9f[_0x4afd71([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4afd71([0x53,0x45,0x45])));}function _0x4d510f(){const _0x197d71=_0x4dcd,_0x67b3a7=_0x534a04[_0x4afd71([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x67b3a7||0x0==_0x67b3a7[_0x4afd71([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x30b3bd}=new URL(window[_0x4afd71([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x197d71(0x118)]);if(_0x67b3a7[_0x4afd71([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x30b3bd))return!0x0;const _0x25693f=_0x30b3bd[_0x4afd71([0x73,0x70,0x6c,0x69,0x74])](_0x4afd71([0x2e]));return _0x67b3a7[_0x4afd71([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2d67d5=>_0x2d67d5[_0x4afd71([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4afd71([0x2a])))[_0x4afd71([0x6d,0x61,0x70])](_0x2a95d2=>_0x2a95d2[_0x4afd71([0x73,0x70,0x6c,0x69,0x74])](_0x4afd71([0x2e])))[_0x4afd71([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x425a04=>_0x425a04[_0x4afd71([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x25693f[_0x4afd71([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4afd71([0x6d,0x61,0x70])](_0x38a115=>Array(_0x25693f[_0x4afd71([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x38a115[_0x4afd71([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4afd71([0x66,0x69,0x6c,0x6c])](_0x38a115[0x0]===_0x4afd71([0x2a])?_0x4afd71([0x2a]):'')[_0x4afd71([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x38a115))[_0x4afd71([0x73,0x6f,0x6d,0x65])](_0x4d6a9b=>_0x25693f[_0x4afd71([0x65,0x76,0x65,0x72,0x79])]((_0x363993,_0x456f6b)=>_0x4d6a9b[_0x456f6b]===_0x363993||_0x4d6a9b[_0x456f6b]===_0x4afd71([0x2a])));}function _0x30676a(){return _0x5ceaca&&_0x2bbceb?new window[(_0x4afd71([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3618f6,_0x1031e5)=>{_0x5ceaca[_0x4afd71([0x74,0x68,0x65,0x6e])](_0x3618f6,_0x1031e5),_0x2bbceb[_0x4afd71([0x74,0x68,0x65,0x6e])](_0x35c97a=>{_0x35c97a!=_0x4afd71([0x56,0x61,0x6c,0x69,0x64])&&_0x3618f6(_0x35c97a);},_0x1031e5);}):_0x5ceaca||_0x2bbceb||_0x4afd71([0x56,0x61,0x6c,0x69,0x64]);}}function _0x338105(_0x1c203c,_0x569100){return new window[(_0x4afd71([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3f97a1=>{if(_0x559b70())return _0x3f97a1(_0x4afd71([0x56,0x61,0x6c,0x69,0x64]));_0x366d71(),_0x2b123c[_0x4afd71([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4afd71([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x74108e=!0x1;const _0x18acbd=_0x2f1c02();function _0x7580fc(_0x593b9a){return!!_0x593b9a&&(typeof _0x593b9a===_0x4afd71([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x593b9a===_0x4afd71([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x593b9a[_0x4afd71([0x74,0x68,0x65,0x6e])]===_0x4afd71([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x593b9a[_0x4afd71([0x63,0x61,0x74,0x63,0x68])]===_0x4afd71([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xe53bbc(_0x3f54cc){_0x121538(_0x3f54cc)[_0x4afd71([0x74,0x68,0x65,0x6e])](_0x3879b9=>{if(!_0x3879b9||_0x3879b9[_0x4afd71([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4afd71([0x6f,0x6b]))return _0x4afd71([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x578bda(_0x51dd27(_0x18acbd+_0x569100))!=_0x3879b9[_0x4afd71([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4afd71([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4afd71([0x56,0x61,0x6c,0x69,0x64]);})[_0x4afd71([0x74,0x68,0x65,0x6e])](_0x3b0b87=>(_0x3af413(),_0x3b0b87),()=>{const _0xdc5766=_0x5a7f10();return null==_0xdc5766?(_0x3af413(),_0x4afd71([0x56,0x61,0x6c,0x69,0x64])):_0x4afd71(_0xaa3660-_0xdc5766>(0x79b61714^_0xe8b1d2)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4afd71([0x74,0x68,0x65,0x6e])](_0x3f97a1)[_0x4afd71([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3f97a1(_0x4afd71([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x62c411=0x5d8c7d94^_0xe8b1d2;function _0x3af413(){const _0x5de497=_0x4afd71([0x6c,0x6c,0x63,0x74,0x2d])+_0x578bda(_0x51dd27(_0x1c203c)),_0x3ad193=_0x467e80(_0x578bda(window[_0x4afd71([0x4d,0x61,0x74,0x68])][_0x4afd71([0x63,0x65,0x69,0x6c])](_0xaa3660/_0x62c411)));window[_0x4afd71([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4afd71([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5de497,_0x3ad193);}function _0x5a7f10(){const _0x21458d=_0x4afd71([0x6c,0x6c,0x63,0x74,0x2d])+_0x578bda(_0x51dd27(_0x1c203c)),_0x3ac490=window[_0x4afd71([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4afd71([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x21458d);return _0x3ac490?window[_0x4afd71([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x467e80(_0x3ac490),0x10)*_0x62c411:null;}function _0x121538(_0x202ace){return new window[(_0x4afd71([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x37725a,_0x390495)=>{_0x202ace[_0x4afd71([0x74,0x68,0x65,0x6e])](_0x37725a,_0x390495),window[_0x4afd71([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x390495,0x5dbb47d4^_0xe8b1d2);});}}_0x2b123c[_0x4afd71([0x6f,0x6e])](_0x4afd71([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x394984,_0x588574)=>{if(_0x588574[0x0]!=_0x1c203c)return _0x3f97a1(_0x4afd71([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x588574[0x1]={..._0x588574[0x1],[_0x4afd71([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x18acbd};},{[_0x4afd71([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4afd71([0x68,0x69,0x67,0x68])}),_0x2b123c[_0x4afd71([0x6f,0x6e])](_0x4afd71([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x51cbce=>{_0x7580fc(_0x51cbce[_0x4afd71([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x74108e=!0x0,_0xe53bbc(_0x51cbce[_0x4afd71([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4afd71([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4afd71([0x6c,0x6f,0x77])}),_0x21e1c5[_0x4afd71([0x74,0x68,0x65,0x6e])](()=>{_0x74108e||_0x3f97a1(_0x4afd71([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x559b70(){return _0x2b123c[_0x4afd71([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4afd71([0x76,0x69,0x65,0x77])][_0x4afd71([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4afd71([0x61,0x75,0x74,0x6f]);}function _0x366d71(){_0x2b123c[_0x4afd71([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4afd71([0x76,0x69,0x65,0x77])][_0x4afd71([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4afd71([0x61,0x75,0x74,0x6f]);}}function _0x2cf1f5(_0x5dc9f2){const _0x415ce0=[new window[(_0x4afd71([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x71269d=>setTimeout(_0x71269d,0x5db3add8^_0xe8b1d2)),_0x21e1c5[_0x4afd71([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4afd71([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3abb8d=>{let _0x26e1af=0x0;_0x2b123c[_0x4afd71([0x6d,0x6f,0x64,0x65,0x6c])][_0x4afd71([0x6f,0x6e])](_0x4afd71([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x39d67a,_0xfdd68)=>{_0xfdd68[0x0][_0x4afd71([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x26e1af++,_0x26e1af==(0x5dba96fc^_0xe8b1d2)&&(_0x3abb8d(),_0x39d67a[_0x4afd71([0x6f,0x66,0x66])]());});}))];return window[_0x4afd71([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4afd71([0x72,0x61,0x63,0x65])](_0x415ce0)[_0x4afd71([0x74,0x68,0x65,0x6e])](()=>_0x5dc9f2);}async function _0x4f417b(){await _0x21e1c5,_0x2b123c[_0x4afd71([0x6d,0x6f,0x64,0x65,0x6c])][_0x4afd71([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x539606,_0x2b123c[_0x4afd71([0x6d,0x6f,0x64,0x65,0x6c])][_0x4afd71([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x539606,_0x2b123c[_0x4afd71([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4afd71([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x233946(_0x5e265a){const _0x58dfff=_0x3d4322();_0x2b123c[_0x58dfff]=_0x4afd71([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])+_0x5e265a,_0x5e265a!=_0x4afd71([0x56,0x61,0x6c,0x69,0x64])&&_0x4f417b();}function _0x3d4322(){const _0x447b85=window[_0x4afd71([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4afd71([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4afd71([0x6e,0x6f,0x77])]())[_0x4afd71([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4afd71([0x2e]),'');let _0x5eebee=_0x4afd71([0x4e]);for(let _0x2f0d43=0x0;_0x2f0d43<_0x447b85[_0x4afd71([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2f0d43+=0x2){let _0x1e20ab=window[_0x4afd71([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x447b85[_0x4afd71([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2f0d43,_0x2f0d43+0x2));_0x1e20ab>=_0x590304[_0x4afd71([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1e20ab-=_0x590304[_0x4afd71([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5eebee+=_0x590304[_0x1e20ab];}return _0x5eebee;}function _0x4cfbc9(){const _0x1bf28d=_0x4e6412[_0x4afd71([0x73,0x70,0x6c,0x69,0x74])](_0x4afd71([0x2e]));if(0x3!=_0x1bf28d[_0x4afd71([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5d23d6(_0x1bf28d[0x1]);function _0x5d23d6(_0x53595d){const _0x11e650=_0x488276(_0x53595d);return _0x11e650&&_0x590cf5()?_0x11e650:null;function _0x590cf5(){const _0x4982fb=_0x11e650[_0x4afd71([0x6a,0x74,0x69])],_0x47c6bf=window[_0x4afd71([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4982fb[_0x4afd71([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4982fb[_0x4afd71([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xe6d9d0={..._0x11e650,[_0x4afd71([0x6a,0x74,0x69])]:_0x4982fb[_0x4afd71([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4982fb[_0x4afd71([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xe6d9d0[_0x4afd71([0x76,0x63])],_0x51dd27(_0xe6d9d0)==_0x47c6bf;}}}async function _0x535675(){let _0x50f18e=!0x0;try{const _0x666fc7=_0x4e6412[_0x4afd71([0x73,0x70,0x6c,0x69,0x74])](_0x4afd71([0x2e])),[_0x55f5a6,_0x5f2c7a,_0x27e417]=_0x666fc7;return _0x36fcb9(_0x55f5a6),await _0x4336d4(_0x55f5a6,_0x5f2c7a,_0x27e417),_0x50f18e;}catch{return!0x1;}function _0x36fcb9(_0x1fb0ee){const _0x5ef991=_0x488276(_0x1fb0ee);_0x5ef991&&_0x5ef991[_0x4afd71([0x61,0x6c,0x67])]==_0x4afd71([0x45,0x53,0x32,0x35,0x36])||(_0x50f18e=!0x1);}async function _0x4336d4(_0x500407,_0x373599,_0x558c0){const _0x3d5de2=window[_0x4afd71([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4afd71([0x66,0x72,0x6f,0x6d])](_0x3f3dfc(_0x558c0),_0x46d512=>_0x46d512[_0x4afd71([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xae738b=new window[(_0x4afd71([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4afd71([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x500407+_0x4afd71([0x2e])+_0x373599),_0x43a3f4=window[_0x4afd71([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4afd71([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x43a3f4)return;const _0x25cc1b=await _0x43a3f4[_0x4afd71([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4afd71([0x6a,0x77,0x6b]),_0xd18330,{[_0x4afd71([0x6e,0x61,0x6d,0x65])]:_0x4afd71([0x45,0x43,0x44,0x53,0x41]),[_0x4afd71([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4afd71([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4afd71([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x43a3f4[_0x4afd71([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4afd71([0x6e,0x61,0x6d,0x65])]:_0x4afd71([0x45,0x43,0x44,0x53,0x41]),[_0x4afd71([0x68,0x61,0x73,0x68])]:{[_0x4afd71([0x6e,0x61,0x6d,0x65])]:_0x4afd71([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x25cc1b,_0x3d5de2,_0xae738b)||(_0x50f18e=!0x1);}}function _0x488276(_0x122151){return _0x122151[_0x4afd71([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4afd71([0x65,0x79]))?JSON[_0x4afd71([0x70,0x61,0x72,0x73,0x65])](_0x3f3dfc(_0x122151)):null;}function _0x3f3dfc(_0x1b7a96){return window[_0x4afd71([0x61,0x74,0x6f,0x62])](_0x1b7a96[_0x4afd71([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4afd71([0x2b]))[_0x4afd71([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4afd71([0x2f])));}function _0x51dd27(_0x5d8a81){let _0x4b2169=0x1505;function _0x214007(_0x1c670e){for(let _0x3fc1cb=0x0;_0x3fc1cb<_0x1c670e[_0x4afd71([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3fc1cb++){const _0x47d6a3=_0x1c670e[_0x4afd71([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3fc1cb);_0x4b2169=(_0x4b2169<<0x5)+_0x4b2169+_0x47d6a3,_0x4b2169&=_0x4b2169;}}function _0x1f32e2(_0x48da8d){Array[_0x4afd71([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x48da8d)?_0x48da8d[_0x4afd71([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1f32e2):_0x48da8d&&typeof _0x48da8d==_0x4afd71([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4afd71([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x48da8d)[_0x4afd71([0x73,0x6f,0x72,0x74])]()[_0x4afd71([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x55bbc6,_0x2f01be])=>{_0x214007(_0x55bbc6),_0x1f32e2(_0x2f01be);}):_0x214007(window[_0x4afd71([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x48da8d));}return _0x1f32e2(_0x5d8a81),_0x4b2169>>>0x0;}function _0x578bda(_0x11e0ac){return _0x11e0ac[_0x4afd71([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4afd71([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4afd71([0x30]));}function _0x467e80(_0x297b7f){return _0x297b7f[_0x4afd71([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4afd71([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4afd71([0x6a,0x6f,0x69,0x6e])]('');}function _0x539606(){}function _0x4afd71(_0xcbcc0e){const _0x4fbfc3=_0x4dcd;return _0xcbcc0e[_0x4fbfc3(0x101)](_0x17a48b=>String[_0x4fbfc3(0xe1)](_0x17a48b))[_0x4fbfc3(0xe8)]('');}_0x233946(await _0x3453a1());}(this);}[_0x516cf2(0xd2)](_0x4def4e,_0x233fe3,_0x16bd17=!0x1){const _0x5a55c3=_0x516cf2,_0x288c73=new _0x4def4e(this[_0x5a55c3(0x106)][_0x5a55c3(0xe6)]);return _0x288c73[_0x5a55c3(0xd6)]({'withText':_0x16bd17,'isToggleable':!0x1}),_0x288c73[_0x5a55c3(0xd0)](_0x5a55c3(0x116))['to'](_0x233fe3,_0x5a55c3(0x116)),this[_0x5a55c3(0xd9)](_0x288c73,_0x5a55c3(0x10d),()=>_0x233fe3[_0x5a55c3(0x10d)]()),_0x288c73;}[_0x516cf2(0x10b)](){const _0x5edba1=_0x516cf2,_0x52ca27=this[_0x5edba1(0x106)][_0x5edba1(0xe6)];this[_0x5edba1(0x106)][_0x5edba1(0xf0)][_0x5edba1(0xdc)]({'id':_0x5edba1(0xf1),'label':_0x6f3f52(_0x52ca27,_0x5edba1(0xcb))});const _0xb31345=_0x52b3b8[_0x5edba1(0xcc)]||_0x52b3b8[_0x5edba1(0xfa)];this[_0x5edba1(0x106)][_0x5edba1(0xf0)][_0x5edba1(0xd4)]({'categoryId':_0x5edba1(0xf1),'keystrokes':[{'label':_0x6f3f52(_0x52ca27,_0x5edba1(0xe3)),'keystroke':_0x5edba1(0x105)},{'label':_0x6f3f52(_0x52ca27,_0x5edba1(0xd1)),'keystroke':_0x5edba1(0xe4)},{'label':_0x6f3f52(_0x52ca27,_0x5edba1(0x11b)),'keystroke':_0x5edba1(0xee)},{'label':_0x6f3f52(_0x52ca27,_0x5edba1(0x102)),'keystroke':_0x5edba1(0xff)},{'label':_0x6f3f52(_0x52ca27,_0x5edba1(0x109)),'keystroke':_0x5edba1(0xfd)},{'label':_0x6f3f52(_0x52ca27,_0x5edba1(0xf2)),'keystroke':_0x5edba1(0xe9)},{'label':_0x6f3f52(_0x52ca27,_0x5edba1(0xdb)),'keystroke':_0xb31345?_0x5edba1(0xde):_0x5edba1(0xe2)},{'label':_0x6f3f52(_0x52ca27,_0x5edba1(0x10c)),'keystroke':_0x5edba1(0x108)},{'label':_0x6f3f52(_0x52ca27,_0x5edba1(0xef)),'keystroke':_0x5edba1(0x10e)},{'label':_0x6f3f52(_0x52ca27,_0x5edba1(0xdf)),'keystroke':[[_0x5edba1(0xea)],[_0x5edba1(0x110)]]},{'label':_0x6f3f52(_0x52ca27,_0x5edba1(0xfb)),'keystroke':_0xb31345?_0x5edba1(0x119):_0x5edba1(0xf4)},{'label':_0x6f3f52(_0x52ca27,_0x5edba1(0xec)),'keystroke':_0xb31345?_0x5edba1(0x11e):_0x5edba1(0xf6)},{'label':_0x6f3f52(_0x52ca27,_0x5edba1(0x112)),'keystroke':_0x5edba1(0xf3)},{'label':_0x6f3f52(_0x52ca27,_0x5edba1(0xd8)),'keystroke':_0x5edba1(0xfe)},{'label':_0x6f3f52(_0x52ca27,_0x5edba1(0xf5)),'keystroke':_0x5edba1(0x117)},{'label':_0x6f3f52(_0x52ca27,_0x5edba1(0xd5)),'keystroke':_0x5edba1(0xda)},{'label':_0x6f3f52(_0x52ca27,_0x5edba1(0x10f)),'keystroke':_0xb31345?_0x5edba1(0x103):_0x5edba1(0xf9)}]});}}
|
|
23
|
+
const _0x440163=_0x1605;(function(_0xd07e79,_0x4b9229){const _0x1769f3=_0x1605,_0x143963=_0xd07e79();while(!![]){try{const _0x14b0f1=-parseInt(_0x1769f3(0x1be))/0x1+parseInt(_0x1769f3(0x1c5))/0x2*(parseInt(_0x1769f3(0x206))/0x3)+-parseInt(_0x1769f3(0x1f8))/0x4*(-parseInt(_0x1769f3(0x1cf))/0x5)+-parseInt(_0x1769f3(0x1ee))/0x6*(parseInt(_0x1769f3(0x1d8))/0x7)+-parseInt(_0x1769f3(0x202))/0x8*(-parseInt(_0x1769f3(0x207))/0x9)+-parseInt(_0x1769f3(0x1f5))/0xa*(-parseInt(_0x1769f3(0x1d2))/0xb)+-parseInt(_0x1769f3(0x211))/0xc*(parseInt(_0x1769f3(0x1cc))/0xd);if(_0x14b0f1===_0x4b9229)break;else _0x143963['push'](_0x143963['shift']());}catch(_0x2ad340){_0x143963['push'](_0x143963['shift']());}}}(_0x2bb1,0x3a73f));import{Plugin as _0x41b5cd,PendingActions as _0x46a41b}from'ckeditor5/src/core.js';function _0x2bb1(){const _0x27fda1=['9347ostWLH','isEnabled','Source','1665835sfFUuv','_registerKeybindings','href','121rvvYTY','sourceEditingEnhanced','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode','Shift+Ctrl+K','Alt+Shift+M','Toggle\x20block\x20comment','1019179CzAXNi','SourceEditingEnhancedUI','Indent\x20less','editSource','Alt+ArrowUp','commands','_createButton','bind','execute','isPremiumPlugin','Ctrl!+L','Fold\x20code\x20(current\x20level)','Delete\x20line','listenTo','requires','accessibility','Alt+L','Edit\x20source\x20modal\x20label','Shift+Alt+ArrowDown','addKeystrokeInfos','Indent\x20more','addKeystrokeInfoCategory','6rcYldw','Ctrl+/','Shift+Alt+A','Ctrl+]','Ctrl+Y','init','Unfold\x20code\x20(current\x20level)','290670QFLpdJ','Toggle\x20comment','menuBar:sourceEditingEnhanced','4jWBrxN','afterInit','componentFactory','Ctrl!+Alt+]','Ctrl+M','add','isiOS','Select\x20line','set','ck-source-editing-enhanced-button','24fdKJBa','Cmd+Alt+]','Fold\x20all','join','411Pgkdas','528741txdwjO','Cmd+Alt+[','menuitemcheckbox','Shift+Alt+ArrowUp','Ctrl!+Alt+[','Source\x20Editing\x20Enhanced','isOfficialPlugin','Copy\x20line\x20down','map','Move\x20line\x20up','9936vwPqyF','Ctrl+Shift+]','locale','Ctrl+[','Move\x20line\x20down','124717SNAxyc','isMac','Copy\x20line\x20up','fromCharCode','Alt+ArrowDown','Undo\x20(keystroke)','Redo\x20(keystroke)','4028rOxKWt','editor','Ctrl+Z','pluginName','Ctrl+Shift+[','Unfold\x20all','Ctrl+Shift+Z'];_0x2bb1=function(){return _0x27fda1;};return _0x2bb1();}import{IconSource as _0x413cb7}from'ckeditor5/src/icons.js';function _0x1605(_0x31f8cb,_0x418751){const _0x2bb10a=_0x2bb1();return _0x1605=function(_0x1605cb,_0x31dea0){_0x1605cb=_0x1605cb-0x1bc;let _0x370f88=_0x2bb10a[_0x1605cb];return _0x370f88;},_0x1605(_0x31f8cb,_0x418751);}import{ButtonView as _0xbbc756,MenuBarMenuListItemButtonView as _0x107266}from'ckeditor5/src/ui.js';import{EditSourceCommand as _0x5ce590}from'./ui/editsourcecommand.js';import{getTranslation as _0x5e719f}from'./utils/common-translations.js';import{env as _0x1a15fe,uid as _0x143948}from'ckeditor5/src/utils.js';import'../theme/sourceeditingenhanced.css';export class SourceEditingEnhancedUI extends _0x41b5cd{static get[_0x440163(0x1c8)](){const _0x1733bb=_0x440163;return _0x1733bb(0x1d9);}static get[_0x440163(0x1e6)](){return[_0x46a41b];}static get[_0x440163(0x20d)](){return!0x0;}static get[_0x440163(0x1e1)](){return!0x0;}[_0x440163(0x1f3)](){const _0x567a27=_0x440163,_0x1acdac=this[_0x567a27(0x1c6)],_0x5c9eb1=_0x1acdac[_0x567a27(0x213)],_0x57cc9f=new _0x5ce590(_0x1acdac);_0x1acdac[_0x567a27(0x1dd)][_0x567a27(0x1fd)](_0x567a27(0x1db),_0x57cc9f),_0x1acdac['ui'][_0x567a27(0x1fa)][_0x567a27(0x1fd)](_0x567a27(0x1d3),()=>{const _0xc0efe3=_0x567a27,_0x13899d=this[_0xc0efe3(0x1de)](_0xbbc756,_0x57cc9f);return _0x13899d[_0xc0efe3(0x200)]({'label':_0x5e719f(_0x5c9eb1,_0xc0efe3(0x1ce)),'icon':_0x413cb7,'tooltip':_0x5e719f(_0x5c9eb1,_0xc0efe3(0x1e9)),'class':_0xc0efe3(0x201)}),_0x13899d;}),_0x1acdac['ui'][_0x567a27(0x1fa)][_0x567a27(0x1fd)](_0x567a27(0x1f7),()=>{const _0x3fff23=_0x567a27,_0x15df39=this[_0x3fff23(0x1de)](_0x107266,_0x57cc9f,!0x0);return _0x15df39[_0x3fff23(0x200)]({'label':_0x5e719f(_0x5c9eb1,_0x3fff23(0x1e9)),'icon':_0x413cb7,'role':_0x3fff23(0x209)}),_0x15df39;}),this[_0x567a27(0x1d0)]();}[_0x440163(0x1f9)](){!async function(_0x4047cc){const _0x46e38b=_0x498fb6([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]),_0x31a367=0x5dba9314,_0x48cb7a=0x5dbded8c^_0x31a367,_0x23ab97=window[_0x498fb6([0x44,0x61,0x74,0x65])][_0x498fb6([0x6e,0x6f,0x77])](),_0x269598=_0x4047cc[_0x498fb6([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3fed02=new window[(_0x498fb6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3fa8ce=>{_0x269598[_0x498fb6([0x6f,0x6e,0x63,0x65])](_0x498fb6([0x72,0x65,0x61,0x64,0x79]),_0x3fa8ce);}),_0x2bb118={[_0x498fb6([0x6b,0x74,0x79])]:_0x498fb6([0x45,0x43]),[_0x498fb6([0x75,0x73,0x65])]:_0x498fb6([0x73,0x69,0x67]),[_0x498fb6([0x63,0x72,0x76])]:_0x498fb6([0x50,0x2d,0x32,0x35,0x36]),[_0x498fb6([0x78])]:_0x498fb6([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]),[_0x498fb6([0x79])]:_0x498fb6([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]),[_0x498fb6([0x61,0x6c,0x67])]:_0x498fb6([0x45,0x53,0x32,0x35,0x36])},_0x3bbc12=_0x269598[_0x498fb6([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x498fb6([0x67,0x65,0x74])](_0x498fb6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x8cd14f(){let _0x4dc8fb,_0x3a3626=null,_0x550b1a=null;try{if(_0x3bbc12==_0x498fb6([0x47,0x50,0x4c]))return _0x498fb6([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4dc8fb=_0x40cc54(),!_0x4dc8fb)return _0x498fb6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4dc8fb[_0x498fb6([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x550b1a=_0x387051(_0x4dc8fb[_0x498fb6([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4dc8fb[_0x498fb6([0x6a,0x74,0x69])])),await _0xc5eea6()?_0x3bc62e()?_0x496aaa()?_0x498fb6([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x22047a()?(_0x4dc8fb[_0x498fb6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x498fb6([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3a3626=_0x422e3c(_0x498fb6([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x371e1d()):_0x498fb6([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x498fb6([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x498fb6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x498fb6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x496aaa(){const _0x45b91a=[_0x498fb6([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x498fb6([0x74,0x72,0x69,0x61,0x6c])][_0x498fb6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4dc8fb[_0x498fb6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x23ab97/0x3e8:0xe10*_0x48cb7a;return _0x4dc8fb[_0x498fb6([0x65,0x78,0x70])]<_0x45b91a;}function _0x3bc62e(){const _0x567881=_0x4dc8fb[_0x498fb6([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x567881&&(!!_0x567881[_0x498fb6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x498fb6([0x2a]))||!!_0x567881[_0x498fb6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x498fb6([0x53,0x45,0x45])));}function _0x22047a(){const _0x10a45c=_0x1605,_0x522f5a=_0x4dc8fb[_0x498fb6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x522f5a||0x0==_0x522f5a[_0x498fb6([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xf6e5eb}=new URL(window[_0x498fb6([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x10a45c(0x1d1)]);if(_0x522f5a[_0x498fb6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xf6e5eb))return!0x0;const _0x4f7014=_0xf6e5eb[_0x498fb6([0x73,0x70,0x6c,0x69,0x74])](_0x498fb6([0x2e]));return _0x522f5a[_0x498fb6([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x354546=>_0x354546[_0x498fb6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x498fb6([0x2a])))[_0x498fb6([0x6d,0x61,0x70])](_0x60ed35=>_0x60ed35[_0x498fb6([0x73,0x70,0x6c,0x69,0x74])](_0x498fb6([0x2e])))[_0x498fb6([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x317c4a=>_0x317c4a[_0x498fb6([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4f7014[_0x498fb6([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x498fb6([0x6d,0x61,0x70])](_0x34ee60=>Array(_0x4f7014[_0x498fb6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x34ee60[_0x498fb6([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x498fb6([0x66,0x69,0x6c,0x6c])](_0x34ee60[0x0]===_0x498fb6([0x2a])?_0x498fb6([0x2a]):'')[_0x498fb6([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x34ee60))[_0x498fb6([0x73,0x6f,0x6d,0x65])](_0x55ecd1=>_0x4f7014[_0x498fb6([0x65,0x76,0x65,0x72,0x79])]((_0x589e60,_0x4cd1b7)=>_0x55ecd1[_0x4cd1b7]===_0x589e60||_0x55ecd1[_0x4cd1b7]===_0x498fb6([0x2a])));}function _0x371e1d(){return _0x3a3626&&_0x550b1a?new window[(_0x498fb6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x302489,_0x3a4e19)=>{_0x3a3626[_0x498fb6([0x74,0x68,0x65,0x6e])](_0x302489,_0x3a4e19),_0x550b1a[_0x498fb6([0x74,0x68,0x65,0x6e])](_0x4e9e1b=>{_0x4e9e1b!=_0x498fb6([0x56,0x61,0x6c,0x69,0x64])&&_0x302489(_0x4e9e1b);},_0x3a4e19);}):_0x3a3626||_0x550b1a||_0x498fb6([0x56,0x61,0x6c,0x69,0x64]);}}function _0x387051(_0x839930,_0x41da52){return new window[(_0x498fb6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1d1f53=>{if(_0x3df7bd())return _0x1d1f53(_0x498fb6([0x56,0x61,0x6c,0x69,0x64]));_0x3cb6da(),_0x269598[_0x498fb6([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x498fb6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4d2014=!0x1;const _0x250429=_0x143948();function _0x421ff9(_0x809a4d){return!!_0x809a4d&&(typeof _0x809a4d===_0x498fb6([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x809a4d===_0x498fb6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x809a4d[_0x498fb6([0x74,0x68,0x65,0x6e])]===_0x498fb6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x809a4d[_0x498fb6([0x63,0x61,0x74,0x63,0x68])]===_0x498fb6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x62f209(_0x395bc4){_0x210104(_0x395bc4)[_0x498fb6([0x74,0x68,0x65,0x6e])](_0xcdbf31=>{if(!_0xcdbf31||_0xcdbf31[_0x498fb6([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x498fb6([0x6f,0x6b]))return _0x498fb6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x11c999(_0x553b77(_0x250429+_0x41da52))!=_0xcdbf31[_0x498fb6([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x498fb6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x498fb6([0x56,0x61,0x6c,0x69,0x64]);})[_0x498fb6([0x74,0x68,0x65,0x6e])](_0x1f9272=>(_0x3db061(),_0x1f9272),()=>{const _0x226246=_0x5ed9a1();return null==_0x226246?(_0x3db061(),_0x498fb6([0x56,0x61,0x6c,0x69,0x64])):_0x498fb6(_0x23ab97-_0x226246>(0x79b61714^_0x31a367)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x498fb6([0x74,0x68,0x65,0x6e])](_0x1d1f53)[_0x498fb6([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1d1f53(_0x498fb6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xfe6f4=0x5d8c7d94^_0x31a367;function _0x3db061(){const _0x1d6e7b=_0x498fb6([0x6c,0x6c,0x63,0x74,0x2d])+_0x11c999(_0x553b77(_0x839930)),_0x48acd9=_0x3f351b(_0x11c999(window[_0x498fb6([0x4d,0x61,0x74,0x68])][_0x498fb6([0x63,0x65,0x69,0x6c])](_0x23ab97/_0xfe6f4)));window[_0x498fb6([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x498fb6([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1d6e7b,_0x48acd9);}function _0x5ed9a1(){const _0x5accf3=_0x498fb6([0x6c,0x6c,0x63,0x74,0x2d])+_0x11c999(_0x553b77(_0x839930)),_0x26894e=window[_0x498fb6([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x498fb6([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5accf3);return _0x26894e?window[_0x498fb6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3f351b(_0x26894e),0x10)*_0xfe6f4:null;}function _0x210104(_0x33588a){return new window[(_0x498fb6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xb37f15,_0x137002)=>{_0x33588a[_0x498fb6([0x74,0x68,0x65,0x6e])](_0xb37f15,_0x137002),window[_0x498fb6([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x137002,0x5dbb47d4^_0x31a367);});}}_0x269598[_0x498fb6([0x6f,0x6e])](_0x498fb6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x293524,_0x59ff1f)=>{if(_0x59ff1f[0x0]!=_0x839930)return _0x1d1f53(_0x498fb6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x59ff1f[0x1]={..._0x59ff1f[0x1],[_0x498fb6([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x250429};},{[_0x498fb6([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x498fb6([0x68,0x69,0x67,0x68])}),_0x269598[_0x498fb6([0x6f,0x6e])](_0x498fb6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x41883b=>{_0x421ff9(_0x41883b[_0x498fb6([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4d2014=!0x0,_0x62f209(_0x41883b[_0x498fb6([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x498fb6([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x498fb6([0x6c,0x6f,0x77])}),_0x3fed02[_0x498fb6([0x74,0x68,0x65,0x6e])](()=>{_0x4d2014||_0x1d1f53(_0x498fb6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3df7bd(){return _0x269598[_0x498fb6([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x498fb6([0x76,0x69,0x65,0x77])][_0x498fb6([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x498fb6([0x61,0x75,0x74,0x6f]);}function _0x3cb6da(){_0x269598[_0x498fb6([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x498fb6([0x76,0x69,0x65,0x77])][_0x498fb6([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x498fb6([0x61,0x75,0x74,0x6f]);}}function _0x422e3c(_0x30d800){const _0x80a8e7=[new window[(_0x498fb6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x327eb8=>setTimeout(_0x327eb8,0x5db3add8^_0x31a367)),_0x3fed02[_0x498fb6([0x74,0x68,0x65,0x6e])](()=>new window[(_0x498fb6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xcf2951=>{let _0x5d3cac=0x0;_0x269598[_0x498fb6([0x6d,0x6f,0x64,0x65,0x6c])][_0x498fb6([0x6f,0x6e])](_0x498fb6([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x198095,_0x3fc1fb)=>{_0x3fc1fb[0x0][_0x498fb6([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5d3cac++,_0x5d3cac==(0x5dba96fc^_0x31a367)&&(_0xcf2951(),_0x198095[_0x498fb6([0x6f,0x66,0x66])]());});}))];return window[_0x498fb6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x498fb6([0x72,0x61,0x63,0x65])](_0x80a8e7)[_0x498fb6([0x74,0x68,0x65,0x6e])](()=>_0x30d800);}async function _0x34a4f0(){await _0x3fed02,_0x269598[_0x498fb6([0x6d,0x6f,0x64,0x65,0x6c])][_0x498fb6([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2df2db,_0x269598[_0x498fb6([0x6d,0x6f,0x64,0x65,0x6c])][_0x498fb6([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2df2db,_0x269598[_0x498fb6([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x498fb6([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x524c2a(_0x2ef683){const _0x59f686=_0x4200ab();_0x269598[_0x59f686]=_0x498fb6([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])+_0x2ef683,_0x2ef683!=_0x498fb6([0x56,0x61,0x6c,0x69,0x64])&&_0x34a4f0();}function _0x4200ab(){const _0x5c933d=window[_0x498fb6([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x498fb6([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x498fb6([0x6e,0x6f,0x77])]())[_0x498fb6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x498fb6([0x2e]),'');let _0x38fb9e=_0x498fb6([0x4e]);for(let _0x42f3ea=0x0;_0x42f3ea<_0x5c933d[_0x498fb6([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x42f3ea+=0x2){let _0x42d6c3=window[_0x498fb6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5c933d[_0x498fb6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x42f3ea,_0x42f3ea+0x2));_0x42d6c3>=_0x46e38b[_0x498fb6([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x42d6c3-=_0x46e38b[_0x498fb6([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x38fb9e+=_0x46e38b[_0x42d6c3];}return _0x38fb9e;}function _0x40cc54(){const _0x1bc92b=_0x3bbc12[_0x498fb6([0x73,0x70,0x6c,0x69,0x74])](_0x498fb6([0x2e]));if(0x3!=_0x1bc92b[_0x498fb6([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x298653(_0x1bc92b[0x1]);function _0x298653(_0x189cc7){const _0x519029=_0x4c7eb7(_0x189cc7);return _0x519029&&_0x1fed61()?_0x519029:null;function _0x1fed61(){const _0x30ffea=_0x519029[_0x498fb6([0x6a,0x74,0x69])],_0x38646a=window[_0x498fb6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x30ffea[_0x498fb6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x30ffea[_0x498fb6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5cb8a9={..._0x519029,[_0x498fb6([0x6a,0x74,0x69])]:_0x30ffea[_0x498fb6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x30ffea[_0x498fb6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5cb8a9[_0x498fb6([0x76,0x63])],_0x553b77(_0x5cb8a9)==_0x38646a;}}}async function _0xc5eea6(){let _0x26e2ab=!0x0;try{const _0x231eb9=_0x3bbc12[_0x498fb6([0x73,0x70,0x6c,0x69,0x74])](_0x498fb6([0x2e])),[_0x591480,_0x582492,_0x524088]=_0x231eb9;return _0x3780de(_0x591480),await _0x212f11(_0x591480,_0x582492,_0x524088),_0x26e2ab;}catch{return!0x1;}function _0x3780de(_0x482744){const _0x3fbfb1=_0x4c7eb7(_0x482744);_0x3fbfb1&&_0x3fbfb1[_0x498fb6([0x61,0x6c,0x67])]==_0x498fb6([0x45,0x53,0x32,0x35,0x36])||(_0x26e2ab=!0x1);}async function _0x212f11(_0x667bea,_0x256996,_0x33127d){const _0xac59a3=window[_0x498fb6([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x498fb6([0x66,0x72,0x6f,0x6d])](_0x196f00(_0x33127d),_0x1962d2=>_0x1962d2[_0x498fb6([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x23790e=new window[(_0x498fb6([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x498fb6([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x667bea+_0x498fb6([0x2e])+_0x256996),_0x558379=window[_0x498fb6([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x498fb6([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x558379)return;const _0x5b888c=await _0x558379[_0x498fb6([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x498fb6([0x6a,0x77,0x6b]),_0x2bb118,{[_0x498fb6([0x6e,0x61,0x6d,0x65])]:_0x498fb6([0x45,0x43,0x44,0x53,0x41]),[_0x498fb6([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x498fb6([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x498fb6([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x558379[_0x498fb6([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x498fb6([0x6e,0x61,0x6d,0x65])]:_0x498fb6([0x45,0x43,0x44,0x53,0x41]),[_0x498fb6([0x68,0x61,0x73,0x68])]:{[_0x498fb6([0x6e,0x61,0x6d,0x65])]:_0x498fb6([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5b888c,_0xac59a3,_0x23790e)||(_0x26e2ab=!0x1);}}function _0x4c7eb7(_0x10befb){return _0x10befb[_0x498fb6([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x498fb6([0x65,0x79]))?JSON[_0x498fb6([0x70,0x61,0x72,0x73,0x65])](_0x196f00(_0x10befb)):null;}function _0x196f00(_0x1025f6){return window[_0x498fb6([0x61,0x74,0x6f,0x62])](_0x1025f6[_0x498fb6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x498fb6([0x2b]))[_0x498fb6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x498fb6([0x2f])));}function _0x553b77(_0x49b164){let _0x3c56b7=0x1505;function _0xc031dd(_0x56b8ca){for(let _0x202674=0x0;_0x202674<_0x56b8ca[_0x498fb6([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x202674++){const _0x8cc499=_0x56b8ca[_0x498fb6([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x202674);_0x3c56b7=(_0x3c56b7<<0x5)+_0x3c56b7+_0x8cc499,_0x3c56b7&=_0x3c56b7;}}function _0x16a1a9(_0x542e13){Array[_0x498fb6([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x542e13)?_0x542e13[_0x498fb6([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x16a1a9):_0x542e13&&typeof _0x542e13==_0x498fb6([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x498fb6([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x542e13)[_0x498fb6([0x73,0x6f,0x72,0x74])]()[_0x498fb6([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x10e715,_0x3053f0])=>{_0xc031dd(_0x10e715),_0x16a1a9(_0x3053f0);}):_0xc031dd(window[_0x498fb6([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x542e13));}return _0x16a1a9(_0x49b164),_0x3c56b7>>>0x0;}function _0x11c999(_0x754a84){return _0x754a84[_0x498fb6([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x498fb6([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x498fb6([0x30]));}function _0x3f351b(_0x28be34){return _0x28be34[_0x498fb6([0x73,0x70,0x6c,0x69,0x74])]('')[_0x498fb6([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x498fb6([0x6a,0x6f,0x69,0x6e])]('');}function _0x2df2db(){}function _0x498fb6(_0x1a8f4b){const _0x2b60c8=_0x1605;return _0x1a8f4b[_0x2b60c8(0x20f)](_0x4f5899=>String[_0x2b60c8(0x1c1)](_0x4f5899))[_0x2b60c8(0x205)]('');}_0x524c2a(await _0x8cd14f());}(this);}[_0x440163(0x1de)](_0x283680,_0x3b95ea,_0x5c564f=!0x1){const _0x56c44d=_0x440163,_0x2b0ba5=new _0x283680(this[_0x56c44d(0x1c6)][_0x56c44d(0x213)]);return _0x2b0ba5[_0x56c44d(0x200)]({'withText':_0x5c564f,'isToggleable':!0x1}),_0x2b0ba5[_0x56c44d(0x1df)](_0x56c44d(0x1cd))['to'](_0x3b95ea,_0x56c44d(0x1cd)),this[_0x56c44d(0x1e5)](_0x2b0ba5,_0x56c44d(0x1e0),()=>_0x3b95ea[_0x56c44d(0x1e0)]()),_0x2b0ba5;}[_0x440163(0x1d0)](){const _0x123770=_0x440163,_0x10966e=this[_0x123770(0x1c6)][_0x123770(0x213)];this[_0x123770(0x1c6)][_0x123770(0x1e7)][_0x123770(0x1ed)]({'id':_0x123770(0x1d3),'label':_0x5e719f(_0x10966e,_0x123770(0x20c))});const _0x59961c=_0x1a15fe[_0x123770(0x1bf)]||_0x1a15fe[_0x123770(0x1fe)];this[_0x123770(0x1c6)][_0x123770(0x1e7)][_0x123770(0x1eb)]({'categoryId':_0x123770(0x1d3),'keystrokes':[{'label':_0x5e719f(_0x10966e,_0x123770(0x20e)),'keystroke':_0x123770(0x1ea)},{'label':_0x5e719f(_0x10966e,_0x123770(0x1c0)),'keystroke':_0x123770(0x20a)},{'label':_0x5e719f(_0x10966e,_0x123770(0x1e4)),'keystroke':_0x123770(0x1d5)},{'label':_0x5e719f(_0x10966e,_0x123770(0x1da)),'keystroke':_0x123770(0x1bc)},{'label':_0x5e719f(_0x10966e,_0x123770(0x1ec)),'keystroke':_0x123770(0x1f1)},{'label':_0x5e719f(_0x10966e,_0x123770(0x204)),'keystroke':_0x123770(0x20b)},{'label':_0x5e719f(_0x10966e,_0x123770(0x1e3)),'keystroke':_0x59961c?_0x123770(0x208):_0x123770(0x1c9)},{'label':_0x5e719f(_0x10966e,_0x123770(0x1bd)),'keystroke':_0x123770(0x1c2)},{'label':_0x5e719f(_0x10966e,_0x123770(0x210)),'keystroke':_0x123770(0x1dc)},{'label':_0x5e719f(_0x10966e,_0x123770(0x1c4)),'keystroke':[[_0x123770(0x1cb)],[_0x123770(0x1f2)]]},{'label':_0x5e719f(_0x10966e,_0x123770(0x1ff)),'keystroke':_0x59961c?_0x123770(0x1e2):_0x123770(0x1e8)},{'label':_0x5e719f(_0x10966e,_0x123770(0x1d4)),'keystroke':_0x59961c?_0x123770(0x1d6):_0x123770(0x1fc)},{'label':_0x5e719f(_0x10966e,_0x123770(0x1d7)),'keystroke':_0x123770(0x1f0)},{'label':_0x5e719f(_0x10966e,_0x123770(0x1f6)),'keystroke':_0x123770(0x1ef)},{'label':_0x5e719f(_0x10966e,_0x123770(0x1c3)),'keystroke':_0x123770(0x1c7)},{'label':_0x5e719f(_0x10966e,_0x123770(0x1ca)),'keystroke':_0x123770(0x1fb)},{'label':_0x5e719f(_0x10966e,_0x123770(0x1f4)),'keystroke':_0x59961c?_0x123770(0x203):_0x123770(0x212)}]});}}
|
package/src/ui/codeeditorview.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x5e57(){var _0x433028=['756vlMKvE','850pcbOns','change:isReadOnly','13AgxbFO','4670qnsQTG','theme','502ZCjtPt','ck-code-editor','set','getData','_options','_codeEditorApi','1180UhUtbT','760UalWLy','56947cxFtIy','10yTodqd','div','setTemplate','936cNyPZZ','isReadOnly','element','render','417YENcta','60foNxJt','syntaxLanguage','destroy','3290274LuLLfQ','ck-reset_all-excluded','setReadOnly','setData','4263224hyOUmZ','focus'];_0x5e57=function(){return _0x433028;};return _0x5e57();}var _0xaf891d=_0x4a95;(function(_0x54c3d9,_0x8660eb){var _0x12e104=_0x4a95,_0x324856=_0x54c3d9();while(!![]){try{var _0x26726d=-parseInt(_0x12e104(0x142))/0x1*(-parseInt(_0x12e104(0x13d))/0x2)+parseInt(_0x12e104(0x132))/0x3*(parseInt(_0x12e104(0x128))/0x4)+parseInt(_0x12e104(0x140))/0x5*(-parseInt(_0x12e104(0x12e))/0x6)+-parseInt(_0x12e104(0x13c))/0x7*(parseInt(_0x12e104(0x129))/0x8)+-parseInt(_0x12e104(0x136))/0x9*(-parseInt(_0x12e104(0x12b))/0xa)+-parseInt(_0x12e104(0x12a))/0xb*(-parseInt(_0x12e104(0x133))/0xc)+-parseInt(_0x12e104(0x13f))/0xd*(parseInt(_0x12e104(0x13a))/0xe);if(_0x26726d===_0x8660eb)break;else _0x324856['push'](_0x324856['shift']());}catch(_0x36f4a0){_0x324856['push'](_0x324856['shift']());}}}(_0x5e57,0x2d402));import{View as _0x5c7b61}from'ckeditor5/src/ui.js';import{createCodeMirrorEditor as _0x1aacc4}from'../utils/createcodemirroreditor.js';function _0x4a95(_0x1c1147,_0x2b48ff){var _0x5e5740=_0x5e57();return _0x4a95=function(_0x4a956f,_0x2c701e){_0x4a956f=_0x4a956f-0x128;var _0x55c654=_0x5e5740[_0x4a956f];return _0x55c654;},_0x4a95(_0x1c1147,_0x2b48ff);}export class CodeEditorView extends _0x5c7b61{[_0xaf891d(0x147)]=null;[_0xaf891d(0x146)];constructor(_0xe6cdd5,_0x260818){var _0x21b91a=_0xaf891d;super(_0xe6cdd5),this[_0x21b91a(0x146)]=_0x260818,this[_0x21b91a(0x144)](_0x21b91a(0x12f),!0x1),this[_0x21b91a(0x12d)]({'tag':_0x21b91a(0x12c),'attributes':{'class':['ck',_0x21b91a(0x137),_0x21b91a(0x143)],'tabindex':-0x1}});}[_0xaf891d(0x131)](){var _0x2df3c3=_0xaf891d;super[_0x2df3c3(0x131)](),this[_0x2df3c3(0x147)]=_0x1aacc4({'parent':this[_0x2df3c3(0x130)],'syntaxLanguage':this[_0x2df3c3(0x146)][_0x2df3c3(0x134)],'theme':this[_0x2df3c3(0x146)][_0x2df3c3(0x141)]}),this['on'](_0x2df3c3(0x13e),(_0x4374ad,_0xdc0af,_0x2c4c2c)=>{var _0xa3a954=_0x2df3c3;this[_0xa3a954(0x138)](_0x2c4c2c);});}[_0xaf891d(0x135)](){var _0x282b6d=_0xaf891d;super[_0x282b6d(0x135)](),this[_0x282b6d(0x147)][_0x282b6d(0x135)](),this[_0x282b6d(0x147)]=null;}[_0xaf891d(0x13b)](){var _0x340ba9=_0xaf891d;this[_0x340ba9(0x12f)]?this[_0x340ba9(0x130)][_0x340ba9(0x13b)]():this[_0x340ba9(0x147)][_0x340ba9(0x13b)]();}[_0xaf891d(0x145)](){var _0x128be9=_0xaf891d;return this[_0x128be9(0x147)][_0x128be9(0x145)]();}[_0xaf891d(0x139)](_0x180ed3){var _0x361a4b=_0xaf891d;this[_0x361a4b(0x147)][_0x361a4b(0x139)](_0x180ed3);}[_0xaf891d(0x138)](_0xf687fd){var _0x490349=_0xaf891d;this[_0x490349(0x147)][_0x490349(0x138)](_0xf687fd);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2f5c23=_0x2a86;function _0x3909(){const _0x5dcdd8=['42TsWKNJ','12091488csoJxd','data','_disableCommands','editables','execute','affectsData','getData','markdown','set','names','SourceEditingEnhancedMode','commands','hide','focus','isReadOnly','setData','Edit\x20source\x20modal\x20label','editor','show','41JaurTp','confirm','isEnabled','html','33106hjfmwJ','Dialog','pendingActions','5335340hzyXCc','9015671bRDXnb','forceDisabled','ck-button-action','change:hasAny','has','6QmLPmU','19169940sXdJIh','sourceEditingEnhanced','destroy','Cancel','stop','config','refresh','14482962dkicCq','view','highest','bind','Markdown','replaceSource','element','includes','sourceEditingEnhanced.theme','ck-source-editing-enhanced-dialog','editSource','plugins','_enableCommands','off','get','Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.','Save','locale','19352vZVszU','clearForceDisabled'];_0x3909=function(){return _0x5dcdd8;};return _0x3909();}(function(_0x4e171d,_0x260f16){const _0x48b450=_0x2a86,_0xd171cc=_0x4e171d();while(!![]){try{const _0x4eca4b=parseInt(_0x48b450(0x1dd))/0x1*(-parseInt(_0x48b450(0x1e1))/0x2)+parseInt(_0x48b450(0x1c9))/0x3*(parseInt(_0x48b450(0x1c7))/0x4)+parseInt(_0x48b450(0x1e4))/0x5*(-parseInt(_0x48b450(0x1ad))/0x6)+parseInt(_0x48b450(0x1e5))/0x7+parseInt(_0x48b450(0x1ca))/0x8+parseInt(_0x48b450(0x1b5))/0x9+-parseInt(_0x48b450(0x1ae))/0xa;if(_0x4eca4b===_0x260f16)break;else _0xd171cc['push'](_0xd171cc['shift']());}catch(_0x4c4b9e){_0xd171cc['push'](_0xd171cc['shift']());}}}(_0x3909,0xc6a24));import{Command as _0x5db933,PendingActions as _0x10d6a3}from'ckeditor5/src/core.js';import{getTranslation as _0x19285a}from'../utils/common-translations.js';import{getActiveRootName as _0xa8f259}from'../utils/getactiverootname.js';import{formatSource as _0x1887f9,unformatSource as _0x28bfe0}from'../utils/format.js';import{CodeEditorView as _0x40dd59}from'./codeeditorview.js';function _0x2a86(_0x59bc73,_0x37cbf5){const _0x390915=_0x3909();return _0x2a86=function(_0x2a86b6,_0x160b0f){_0x2a86b6=_0x2a86b6-0x1ad;let _0x91e72d=_0x390915[_0x2a86b6];return _0x91e72d;},_0x2a86(_0x59bc73,_0x37cbf5);}const b=_0x2f5c23(0x1d4);export class EditSourceCommand extends _0x5db933{constructor(_0x18b5ad){const _0x4f37da=_0x2f5c23;super(_0x18b5ad),this[_0x4f37da(0x1cf)]=!0x1,this[_0x4f37da(0x1db)][_0x4f37da(0x1c0)][_0x4f37da(0x1c3)](_0x10d6a3)['on'](_0x4f37da(0x1e8),(_0x5bc0b9,_0x599f41,_0x5b7c35)=>{const _0x2efe04=_0x4f37da;_0x5b7c35?this[_0x2efe04(0x1e6)](_0x2efe04(0x1e3)):this[_0x2efe04(0x1c8)](_0x2efe04(0x1e3));});}[_0x2f5c23(0x1cc)](){const _0x3facd0=_0x2f5c23,_0x5de9e9=this[_0x3facd0(0x1db)];for(const _0x4152e8 of _0x5de9e9[_0x3facd0(0x1d5)][_0x3facd0(0x1d3)]())[_0x3facd0(0x1ba),_0x3facd0(0x1bf)][_0x3facd0(0x1bc)](_0x4152e8)||_0x5de9e9[_0x3facd0(0x1d5)][_0x3facd0(0x1c3)](_0x4152e8)[_0x3facd0(0x1e6)](b);}[_0x2f5c23(0x1c1)](){const _0x52ef42=_0x2f5c23,_0x5309e0=this[_0x52ef42(0x1db)];for(const _0x311269 of _0x5309e0[_0x52ef42(0x1d5)][_0x52ef42(0x1d5)]())_0x311269[_0x52ef42(0x1c8)](b);}[_0x2f5c23(0x1b4)](){const _0x26b61f=_0x2f5c23;this[_0x26b61f(0x1df)]=!0x0;}[_0x2f5c23(0x1ce)](){const _0x40f91d=_0x2f5c23,_0xebebe6=this[_0x40f91d(0x1db)],_0x4dcd9d=_0xebebe6[_0x40f91d(0x1c6)],_0x43a7d8=_0xebebe6[_0x40f91d(0x1c0)][_0x40f91d(0x1c3)](_0x40f91d(0x1e2)),_0x29abf9=_0xa8f259(_0xebebe6),_0x1480a0=_0xebebe6[_0x40f91d(0x1cb)][_0x40f91d(0x1c3)]({'rootName':_0x29abf9}),_0x177ddc=_0x1887f9(_0x1480a0),_0x34f9e6=new _0x40dd59(_0x4dcd9d,{'syntaxLanguage':_0xebebe6[_0x40f91d(0x1c0)][_0x40f91d(0x1e9)](_0x40f91d(0x1b9))?_0x40f91d(0x1d1):_0x40f91d(0x1e0),'theme':_0xebebe6[_0x40f91d(0x1b3)][_0x40f91d(0x1c3)](_0x40f91d(0x1bd))});let _0x3aad80=!0x0;const _0x19f92f=_0x355c82=>{const _0x9db499=_0x40f91d;if(!_0x3aad80)return;const _0x121849=_0x34f9e6[_0x9db499(0x1d0)]();return _0x28bfe0(_0x121849)!==_0x28bfe0(_0x177ddc)?window[_0x9db499(0x1de)](_0x19285a(_0x4dcd9d,_0x9db499(0x1c4)))?void 0x0:_0x355c82[_0x9db499(0x1b2)]():void 0x0;};_0x43a7d8[_0x40f91d(0x1dc)]({'id':_0x40f91d(0x1af),'title':_0x19285a(_0x4dcd9d,_0x40f91d(0x1da)),'isModal':!0x0,'className':_0x40f91d(0x1be),'content':_0x34f9e6,'actionButtons':[{'label':_0x19285a(_0x4dcd9d,_0x40f91d(0x1b1)),'withText':!0x0,'onExecute':()=>{const _0x5f3912=_0x40f91d;_0x43a7d8[_0x5f3912(0x1d6)]();}},{'label':_0x19285a(_0x4dcd9d,_0x40f91d(0x1c5)),'class':_0x40f91d(0x1e7),'withText':!0x0,'onExecute':()=>{const _0x42302a=_0x40f91d,_0x3d86c4=_0x34f9e6[_0x42302a(0x1d0)](),_0x24ef34=_0x28bfe0(_0x3d86c4)!==_0x28bfe0(_0x177ddc);(_0x24ef34&&_0xebebe6[_0x42302a(0x1ce)](_0x42302a(0x1ba),_0x34f9e6[_0x42302a(0x1d0)]()),_0x3aad80=!0x1,_0x43a7d8[_0x42302a(0x1d6)](),_0x24ef34&&_0x42302a(0x1cd)in _0xebebe6['ui'][_0x42302a(0x1b6)])&&_0xebebe6['ui'][_0x42302a(0x1b6)][_0x42302a(0x1cd)][_0x29abf9][_0x42302a(0x1bb)][_0x42302a(0x1d7)]();},'onCreate':_0x28e1ab=>{const _0x1de193=_0x40f91d;_0x28e1ab[_0x1de193(0x1d2)](_0x1de193(0x1df),!_0xebebe6[_0x1de193(0x1d8)]),_0x28e1ab[_0x1de193(0x1b8)](_0x1de193(0x1df))['to'](_0xebebe6,_0x1de193(0x1d8),this,_0x1de193(0x1df),(_0x207857,_0x440be2)=>!_0x207857&&_0x440be2);}}],'onHide':()=>{const _0x1d06b0=_0x40f91d;this[_0x1d06b0(0x1c1)](),_0x43a7d8[_0x1d06b0(0x1c2)](_0x1d06b0(0x1d6),_0x19f92f),_0x34f9e6[_0x1d06b0(0x1b0)]();},'onShow':()=>{const _0x305ab1=_0x40f91d;_0x34f9e6[_0x305ab1(0x1b8)](_0x305ab1(0x1d8))['to'](_0xebebe6,_0x305ab1(0x1d8),this,_0x305ab1(0x1df),(_0x194cf5,_0x3e2c13)=>_0x194cf5||!_0x3e2c13),_0x34f9e6[_0x305ab1(0x1d9)](_0x177ddc),_0x34f9e6[_0x305ab1(0x1d7)](),_0x43a7d8['on'](_0x305ab1(0x1d6),_0x19f92f,{'priority':_0x305ab1(0x1b7)}),this[_0x305ab1(0x1cc)]();}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x2f88d5,_0x11ad3c){const _0x5c26aa=_0x5dd4,_0x68802f=_0x2f88d5();while(!![]){try{const _0x450c70=parseInt(_0x5c26aa(0x1b6))/0x1+-parseInt(_0x5c26aa(0x1c7))/0x2*(parseInt(_0x5c26aa(0x1b8))/0x3)+parseInt(_0x5c26aa(0x1b5))/0x4+-parseInt(_0x5c26aa(0x1c4))/0x5*(-parseInt(_0x5c26aa(0x1cb))/0x6)+parseInt(_0x5c26aa(0x1cd))/0x7+-parseInt(_0x5c26aa(0x1c1))/0x8*(parseInt(_0x5c26aa(0x1bb))/0x9)+-parseInt(_0x5c26aa(0x1cf))/0xa*(parseInt(_0x5c26aa(0x1c5))/0xb);if(_0x450c70===_0x11ad3c)break;else _0x68802f['push'](_0x68802f['shift']());}catch(_0xea3a06){_0x68802f['push'](_0x68802f['shift']());}}}(_0x1cd7,0x80485));import{lineNumbers as _0x52a2bc,highlightActiveLineGutter as _0x2acd8e,highlightSpecialChars as _0x36987a,drawSelection as _0x1a51c8,dropCursor as _0xcd0fa5,rectangularSelection as _0x1a89d4,crosshairCursor as _0x404af6,highlightActiveLine as _0x4972a6,keymap as _0x1fac91,EditorView as _0x309ae8}from'@codemirror/view';import{Compartment as _0x261293,Transaction as _0x49c0ff}from'@codemirror/state';import{foldGutter as _0x129346,indentOnInput as _0x8211e2,syntaxHighlighting as _0x5520a2,defaultHighlightStyle as _0x4c4f38,bracketMatching as _0x4698cf,foldKeymap as _0x2e52d2}from'@codemirror/language';import{history as _0x598df5,defaultKeymap as _0x23f45c,historyKeymap as _0x15288c,redo as _0x4ec6af,undo as _0x1133f9,indentMore as _0x85a55c,indentLess as _0x5f0335,toggleTabFocusMode as _0x31fad5}from'@codemirror/commands';import{closeBrackets as _0x2d7426,autocompletion as _0x384b3b,closeBracketsKeymap as _0x591d97,completionKeymap as _0x34a7cc}from'@codemirror/autocomplete';import{html as _0x3079b3}from'@codemirror/lang-html';function _0x5dd4(_0x3a1e18,_0x5ad032){const _0x1cd778=_0x1cd7();return _0x5dd4=function(_0x5dd410,_0x19764b){_0x5dd410=_0x5dd410-0x1ac;let _0x1d1444=_0x1cd778[_0x5dd410];return _0x1d1444;},_0x5dd4(_0x3a1e18,_0x5ad032);}import{markdown as _0xf9e7b2}from'@codemirror/lang-markdown';import{oneDark as _0x450723}from'@codemirror/theme-one-dark';export function createCodeMirrorEditor(_0x421c71){const _0x57bf54=_0x5dd4,_0x5318bf=[_0x309ae8[_0x57bf54(0x1b4)],_0x384b3b(),_0x4698cf(),_0x2d7426(),_0x404af6(),_0x1a51c8(),_0xcd0fa5(),_0x52a2bc(),_0x129346(),_0x4972a6(),_0x2acd8e(),_0x36987a(),_0x598df5(),_0x8211e2(),_0x1a89d4(),_0x5520a2(_0x4c4f38,{'fallback':!0x0})],_0x25b4d2=new _0x261293();_0x5318bf[_0x57bf54(0x1b3)](_0x25b4d2['of'](_0x309ae8[_0x57bf54(0x1c3)]['of'](!0x0))),_0x57bf54(0x1b0)===_0x421c71[_0x57bf54(0x1b9)]?_0x5318bf[_0x57bf54(0x1b3)](_0x3079b3()):_0x5318bf[_0x57bf54(0x1b3)](_0xf9e7b2());const _0xa4664a=function(_0x221b14){const _0x5451ff=_0x57bf54;if(_0x221b14&&_0x5451ff(0x1b2)!==_0x221b14)return _0x5451ff(0x1ca)===_0x221b14?_0x450723:_0x221b14;return null;}(_0x421c71[_0x57bf54(0x1bf)]);_0xa4664a&&_0x5318bf[_0x57bf54(0x1b3)](_0xa4664a),_0x5318bf[_0x57bf54(0x1b3)](...getKeybindings());const _0x53d276=new _0x309ae8({'extensions':_0x5318bf,'parent':_0x421c71[_0x57bf54(0x1ad)]});return _0x31fad5(_0x53d276),{'focus':()=>{const _0x2d8540=_0x57bf54;_0x53d276[_0x2d8540(0x1c9)]({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x53d276[_0x2d8540(0x1c0)]();},'getData':()=>_0x53d276[_0x57bf54(0x1b7)][_0x57bf54(0x1ba)][_0x57bf54(0x1ce)](),'setData':_0xa9fb8a=>{const _0x323cea=_0x57bf54;_0x53d276[_0x323cea(0x1c9)]({'changes':{'from':0x0,'to':_0x53d276[_0x323cea(0x1b7)][_0x323cea(0x1ba)][_0x323cea(0x1ae)],'insert':_0xa9fb8a},'annotations':_0x49c0ff[_0x323cea(0x1b1)]['of'](!0x1)});},'setReadOnly':_0x52a479=>{const _0x429c4c=_0x57bf54;_0x53d276[_0x429c4c(0x1c9)]({'effects':[_0x25b4d2[_0x429c4c(0x1ac)](_0x309ae8[_0x429c4c(0x1c3)]['of'](!_0x52a479))]});},'destroy':()=>{const _0x396bc0=_0x57bf54;_0x53d276[_0x396bc0(0x1c6)]();},'instance':_0x53d276};}export function getKeybindings(){const _0x1e6422=_0x5dd4;return[_0x1fac91['of']([..._0x591d97,..._0x23f45c,..._0x15288c,..._0x2e52d2,..._0x34a7cc,{'key':_0x1e6422(0x1be),'run':_0x85a55c,'shift':_0x5f0335,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':_0x1e6422(0x1af),'mac':_0x1e6422(0x1bd),'run':_0x4ec6af,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':_0x1e6422(0x1cc),'mac':_0x1e6422(0x1bc),'run':_0x4ec6af,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':_0x1e6422(0x1c8),'mac':_0x1e6422(0x1c2),'run':_0x1133f9,'preventDefault':!0x0,'stopPropagation':!0x0}])];}function _0x1cd7(){const _0x23699e=['Cmd-Shift-z','Cmd-y','Tab','theme','focus','80bBJgQf','Cmd-z','editable','10lzLlEi','10259942wgAFKW','destroy','4OtpoIX','Ctrl-z','dispatch','dark','605442Zfsufc','Ctrl-Shift-z','3375428CqFJQh','toString','10osgAcn','reconfigure','parent','length','Ctrl-y','html','addToHistory','default','push','lineWrapping','2511836lnrrrg','926374ArLTBa','state','344646HoSRFo','syntaxLanguage','doc','495378ZwORZK'];_0x1cd7=function(){return _0x23699e;};return _0x1cd7();}
|
package/src/utils/format.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x4c5c59,_0x45cc25){var _0x2db3d6=_0xf031,_0x369c41=_0x4c5c59();while(!![]){try{var _0xe40375=-parseInt(_0x2db3d6(0xdb))/0x1*(-parseInt(_0x2db3d6(0xdd))/0x2)+-parseInt(_0x2db3d6(0xdc))/0x3+-parseInt(_0x2db3d6(0xd5))/0x4+-parseInt(_0x2db3d6(0xd6))/0x5+-parseInt(_0x2db3d6(0xd7))/0x6+-parseInt(_0x2db3d6(0xd9))/0x7*(-parseInt(_0x2db3d6(0xd4))/0x8)+parseInt(_0x2db3d6(0xda))/0x9;if(_0xe40375===_0x45cc25)break;else _0x369c41['push'](_0x369c41['shift']());}catch(_0x32b2cb){_0x369c41['push'](_0x369c41['shift']());}}}(_0x5930,0x71dd2));function _0xf031(_0x3feb84,_0x54ad98){var _0x593048=_0x5930();return _0xf031=function(_0xf0310b,_0x15b96e){_0xf0310b=_0xf0310b-0xd4;var _0x233d02=_0x593048[_0xf0310b];return _0x233d02;},_0xf031(_0x3feb84,_0x54ad98);}import{formatHtml as _0x4d5cd0}from'ckeditor5/src/utils.js';function _0x5930(){var _0x1263b6=['7lNTlFo','20235402fidyeR','1HlHVdi','1488960iEuYvd','658480ZaCynN','startsWith','2336944MsfLnN','3118092DSRGLz','1302325tUbRXK','5202252iZiiUk','replace'];_0x5930=function(){return _0x1263b6;};return _0x5930();}export function formatSource(_0x45a433){return tr(_0x45a433)?_0x4d5cd0(_0x45a433):_0x45a433;}export function unformatSource(_0x347e8a){var _0x4121e3=_0xf031;return tr(_0x347e8a[_0x4121e3(0xd8)](/^[\n\s]*/g,''))?_0x347e8a[_0x4121e3(0xd8)](/\s+/g,''):_0x347e8a;}function tr(_0x41398a){var _0x48b75c=_0xf031;return _0x41398a[_0x48b75c(0xde)]('<');}
|