@ckeditor/ckeditor5-source-editing-enhanced 0.0.0-nightly-next-20250212.0 → 0.0.0-nightly-20250212.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/source-editing-enhanced.js +1 -1
- package/ckeditor5-metadata.json +1 -1
- package/dist/index.js +1 -1
- package/package.json +6 -7
- package/src/index.js +1 -1
- package/src/replacesourcecommand.js +1 -1
- package/src/sourceeditingenhanced.js +1 -1
- package/src/sourceeditingenhancedui.js +1 -1
- package/src/ui/codeeditorview.js +1 -1
- package/src/ui/editsourcecommand.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/createcodemirroreditor.js +1 -1
- package/src/utils/format.js +1 -1
- package/src/utils/getactiverootname.js +1 -1
package/ckeditor5-metadata.json
CHANGED
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Command as _0x3beb61,PendingActions as _0x34d8be,Plugin as _0x2cf1b2}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x50d273,env as _0x5aeb8d,uid as _0x24a648}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconSource as _0x343650}from'@ckeditor/ckeditor5-icons/dist/index.js';import{View as _0x397866,ButtonView as _0x509649,MenuBarMenuListItemButtonView as _0x18731b}from'@ckeditor/ckeditor5-ui/dist/index.js';import{EditorView as _0x25f5dd,crosshairCursor as _0x35e7e4,drawSelection as _0x4589b2,dropCursor as _0x15b0e0,lineNumbers as _0x2310e7,highlightActiveLine as _0x1eec14,highlightActiveLineGutter as _0x127046,highlightSpecialChars as _0x2bbdfe,rectangularSelection as _0xadd5d,keymap as _0x95d689}from'@codemirror/view';import{Compartment as _0xdeef00,Transaction as _0x3a85e5}from'@codemirror/state';import{bracketMatching as _0x2b5070,foldGutter as _0x1a1bd9,indentOnInput as _0x1b065e,syntaxHighlighting as _0x7c294f,defaultHighlightStyle as _0x323e9f,foldKeymap as _0x1f8c72}from'@codemirror/language';import{history as _0x40a84a,defaultKeymap as _0x53c071,historyKeymap as _0x540821,redo as _0x1cb674}from'@codemirror/commands';import{autocompletion as _0x395c53,closeBrackets as _0x24cdb0,closeBracketsKeymap as _0x373e1b,completionKeymap as _0x1e3a4b}from'@codemirror/autocomplete';import{html as _0x3e504b}from'@codemirror/lang-html';import{markdown as _0x4b26cf}from'@codemirror/lang-markdown';function f(_0xcc3763,_0x563e2a){const t=_0xcc3763['t'];switch(_0x563e2a){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 _0x563e2a;}}function s(_0x77592){const _0x205e88=_0x77592['editing']['view']['document']['roots'],_0x29cf3=_0x205e88['length'];if(0x0===_0x29cf3)throw new _0x50d273('source-editing-enhanced-editor-no-root',_0x77592);if(0x1===_0x29cf3)return _0x205e88['first']['rootName'];return Array['from'](_0x77592['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function g(_0x4a1942){return $(_0x4a1942)?function(_0x450fd1){const _0x188652=[{'name':'address','isVoid':!0x1},{'name':'article','isVoid':!0x1},{'name':'aside','isVoid':!0x1},{'name':'blockquote','isVoid':!0x1},{'name':'details','isVoid':!0x1},{'name':'dialog','isVoid':!0x1},{'name':'dd','isVoid':!0x1},{'name':'div','isVoid':!0x1},{'name':'dl','isVoid':!0x1},{'name':'dt','isVoid':!0x1},{'name':'fieldset','isVoid':!0x1},{'name':'figcaption','isVoid':!0x1},{'name':'figure','isVoid':!0x1},{'name':'footer','isVoid':!0x1},{'name':'form','isVoid':!0x1},{'name':'h1','isVoid':!0x1},{'name':'h2','isVoid':!0x1},{'name':'h3','isVoid':!0x1},{'name':'h4','isVoid':!0x1},{'name':'h5','isVoid':!0x1},{'name':'h6','isVoid':!0x1},{'name':'header','isVoid':!0x1},{'name':'hgroup','isVoid':!0x1},{'name':'hr','isVoid':!0x0},{'name':'li','isVoid':!0x1},{'name':'main','isVoid':!0x1},{'name':'nav','isVoid':!0x1},{'name':'ol','isVoid':!0x1},{'name':'p','isVoid':!0x1},{'name':'section','isVoid':!0x1},{'name':'table','isVoid':!0x1},{'name':'tbody','isVoid':!0x1},{'name':'td','isVoid':!0x1},{'name':'th','isVoid':!0x1},{'name':'thead','isVoid':!0x1},{'name':'tr','isVoid':!0x1},{'name':'ul','isVoid':!0x1}],_0x1ce55f=_0x188652['map'](_0x4b1d9f=>_0x4b1d9f['name'])['join']('|'),_0x1015cf=_0x450fd1['replace'](new RegExp('</?('+_0x1ce55f+')(\x20.*?)?>','g'),'\x0a$&\x0a')['replace'](/<br[^>]*>/g,'$&\x0a')['split']('\x0a');let _0x475ed3=0x0,_0x5011c6=!0x1;return _0x1015cf['filter'](_0x5d35b8=>_0x5d35b8['length'])['map'](_0x180e50=>(_0x5011c6=function(_0x5ce4b5,_0xa6e38e){return new RegExp('<pre(\x20.*?)?>')['test'](_0x5ce4b5)?'first':new RegExp('</pre>')['test'](_0x5ce4b5)?'last':('first'===_0xa6e38e||'middle'===_0xa6e38e)&&'middle';}(_0x180e50,_0x5011c6),function(_0x79ff82,_0x310840){return _0x310840['some'](_0x25c795=>!_0x25c795['isVoid']&&!!new RegExp('<'+_0x25c795['name']+'(\x20.*?)?>')['test'](_0x79ff82));}(_0x180e50,_0x188652)?X(_0x180e50,_0x475ed3++):function(_0x38d962,_0x3c1e7b){return _0x3c1e7b['some'](_0x206148=>new RegExp('</'+_0x206148['name']+'>')['test'](_0x38d962));}(_0x180e50,_0x188652)?X(_0x180e50,--_0x475ed3):'middle'===_0x5011c6||'last'===_0x5011c6?_0x180e50:X(_0x180e50,_0x475ed3)))['join']('\x0a');}(_0x4a1942):_0x4a1942;}function E(_0x26b0de){return $(_0x26b0de['replace'](/^[\n\s]*/g,''))?_0x26b0de['replace'](/\s+/g,''):_0x26b0de;}function $(_0x42a4f6){return _0x42a4f6['startsWith']('<');}function X(_0x2ebf75,_0x188557,_0x39ad18='\x20\x20\x20\x20'){return''+_0x39ad18['repeat'](Math['max'](0x0,_0x188557))+_0x2ebf75;}function p(_0x529b5c){const _0x160f8a=[_0x25f5dd['lineWrapping'],_0x395c53(),_0x2b5070(),_0x24cdb0(),_0x35e7e4(),_0x4589b2(),_0x15b0e0(),_0x2310e7(),_0x1a1bd9(),_0x1eec14(),_0x127046(),_0x2bbdfe(),_0x40a84a(),_0x1b065e(),_0xadd5d(),_0x7c294f(_0x323e9f,{'fallback':!0x0})],_0x46ddd0=new _0xdeef00();_0x160f8a['push'](_0x46ddd0['of'](_0x25f5dd['editable']['of'](!0x0))),'html'===_0x529b5c['syntaxLanguage']?_0x160f8a['push'](_0x3e504b()):_0x160f8a['push'](_0x4b26cf()),_0x529b5c['theme']&&_0x160f8a['push'](_0x529b5c['theme']),_0x160f8a['push'](_0x95d689['of']([..._0x373e1b,..._0x53c071,..._0x540821,..._0x1f8c72,..._0x1e3a4b,{'key':'Ctrl-Shift-z','mac':'Cmd-y','run':_0x1cb674,'preventDefault':!0x0}]));const _0xddbe0=new _0x25f5dd({'extensions':_0x160f8a,'parent':_0x529b5c['parent']});return{'focus':()=>{_0xddbe0['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0xddbe0['focus']();},'getData':()=>_0xddbe0['state']['doc']['toString'](),'setData':_0x3d7277=>{_0xddbe0['dispatch']({'changes':{'from':0x0,'to':_0xddbe0['state']['doc']['length'],'insert':_0x3d7277},'annotations':_0x3a85e5['addToHistory']['of'](!0x1)});},'setReadOnly':_0x3749e0=>{_0xddbe0['dispatch']({'effects':[_0x46ddd0['reconfigure'](_0x25f5dd['editable']['of'](!_0x3749e0))]});},'destroy':()=>{_0xddbe0['destroy']();}};}class m extends _0x397866{['_codeEditorApi']=null;['_options'];constructor(_0x56e69a,_0x3e9926){super(_0x56e69a),this['_options']=_0x3e9926,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',(_0x27aa7c,_0x360a3f,_0x3e5328)=>{this['setReadOnly'](_0x3e5328);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0x409987){this['_codeEditorApi']['setData'](_0x409987);}['setReadOnly'](_0x45dbee){this['_codeEditorApi']['setReadOnly'](_0x45dbee);}}class d extends _0x3beb61{constructor(_0x5e5d78){super(_0x5e5d78),this['affectsData']=!0x1,this['editor']['plugins']['get'](_0x34d8be)['on']('change:hasAny',(_0x1fe9c9,_0x426f08,_0x57f150)=>{_0x57f150?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x1e0b8b=this['editor'],_0x422633=_0x1e0b8b['locale'],_0x161d0b=_0x1e0b8b['plugins']['get']('Dialog'),_0x2a5111=s(_0x1e0b8b),_0x35937b=g(_0x1e0b8b['data']['get']({'rootName':_0x2a5111})),_0x3bd6e8=new m(_0x422633,{'syntaxLanguage':_0x1e0b8b['plugins']['has']('Markdown')?'markdown':'html','theme':_0x1e0b8b['config']['get']('sourceEditingEnhanced.theme')});let _0x82bd8=!0x0;const _0x5ee30a=_0x2e19b5=>{if(!_0x82bd8)return;return E(_0x3bd6e8['getData']())!==E(_0x35937b)?window['confirm'](f(_0x422633,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0x2e19b5['stop']():void 0x0;};_0x161d0b['show']({'id':'sourceEditingEnhanced','title':f(_0x422633,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0x3bd6e8,'actionButtons':[{'label':f(_0x422633,'Cancel'),'withText':!0x0,'onExecute':()=>{_0x161d0b['hide']();}},{'label':f(_0x422633,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0x53893b=E(_0x3bd6e8['getData']())!==E(_0x35937b);(_0x53893b&&_0x1e0b8b['execute']('replaceSource',_0x3bd6e8['getData']()),_0x82bd8=!0x1,_0x161d0b['hide'](),_0x53893b&&'editables'in _0x1e0b8b['ui']['view'])&&_0x1e0b8b['ui']['view']['editables'][_0x2a5111]['element']['focus']();},'onCreate':_0x399e97=>{_0x399e97['set']('isEnabled',!_0x1e0b8b['isReadOnly']),_0x399e97['bind']('isEnabled')['to'](_0x1e0b8b,'isReadOnly',this,'isEnabled',(_0x92eb83,_0x5b9ae1)=>!_0x92eb83&&_0x5b9ae1);}}],'onHide':()=>{_0x161d0b['off']('hide',_0x5ee30a),_0x3bd6e8['destroy']();},'onShow':()=>{_0x3bd6e8['bind']('isReadOnly')['to'](_0x1e0b8b,'isReadOnly',this,'isEnabled',(_0x4ef486,_0x18a531)=>_0x4ef486||!_0x18a531),_0x3bd6e8['setData'](_0x35937b),_0x3bd6e8['focus'](),_0x161d0b['on']('hide',_0x5ee30a,{'priority':'highest'});}});}}class a extends _0x2cf1b2{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[_0x34d8be];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x20d5fe=this['editor'],_0x4db0cf=_0x20d5fe['locale'],_0x463c66=new d(_0x20d5fe);_0x20d5fe['commands']['add']('editSource',_0x463c66),_0x20d5fe['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0x4c7dc9=this['_createButton'](_0x509649,_0x463c66);return _0x4c7dc9['set']({'label':f(_0x4db0cf,'Source'),'icon':_0x343650,'tooltip':f(_0x4db0cf,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0x4c7dc9;}),_0x20d5fe['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0x2cfcd2=this['_createButton'](_0x18731b,_0x463c66,!0x0);return _0x2cfcd2['set']({'label':f(_0x4db0cf,'Edit\x20source\x20modal\x20label'),'icon':_0x343650,'role':'menuitemcheckbox'}),_0x2cfcd2;}),this['_registerKeybindings']();}['afterInit'](){!async function(_0x56d604){const _0x41077d=_0x2d9a5f([0x71,0x74,0x55,0x4b,0x56,0x62,0x4c,0x52,0x73,0x41,0x66,0x35,0x53,0x64,0x44,0x78,0x79,0x4f,0x31,0x6f,0x38,0x48,0x34,0x69,0x4a,0x6c,0x49,0x57,0x70,0x6a,0x6d,0x65,0x6b,0x37,0x7a,0x36,0x32,0x51,0x72,0x4e,0x42,0x58,0x76,0x30,0x5a,0x61,0x45,0x67,0x43,0x54,0x6e,0x68,0x75,0x63,0x50,0x46,0x33,0x59,0x39,0x77,0x4d,0x47]),_0x267b38=0x60303e06,_0x5b1e10=0x6037614e^_0x267b38,_0x25e718=window[_0x2d9a5f([0x44,0x61,0x74,0x65])][_0x2d9a5f([0x6e,0x6f,0x77])](),_0x22bdd1=_0x56d604[_0x2d9a5f([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x39a01c=new window[(_0x2d9a5f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x39c03c=>{_0x22bdd1[_0x2d9a5f([0x6f,0x6e,0x63,0x65])](_0x2d9a5f([0x72,0x65,0x61,0x64,0x79]),_0x39c03c);}),_0x269997={[_0x2d9a5f([0x6b,0x74,0x79])]:_0x2d9a5f([0x45,0x43]),[_0x2d9a5f([0x75,0x73,0x65])]:_0x2d9a5f([0x73,0x69,0x67]),[_0x2d9a5f([0x63,0x72,0x76])]:_0x2d9a5f([0x50,0x2d,0x32,0x35,0x36]),[_0x2d9a5f([0x78])]:_0x2d9a5f([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]),[_0x2d9a5f([0x79])]:_0x2d9a5f([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]),[_0x2d9a5f([0x61,0x6c,0x67])]:_0x2d9a5f([0x45,0x53,0x32,0x35,0x36])},_0x3dfd3d=_0x22bdd1[_0x2d9a5f([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2d9a5f([0x67,0x65,0x74])](_0x2d9a5f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x47ed69(){let _0x3fccb8,_0x53225f=null,_0x23568d=null;try{if(_0x3dfd3d==_0x2d9a5f([0x47,0x50,0x4c]))return _0x2d9a5f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3fccb8=_0x19905f(),!_0x3fccb8)return _0x2d9a5f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3fccb8[_0x2d9a5f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x23568d=_0x4265fb(_0x3fccb8[_0x2d9a5f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3fccb8[_0x2d9a5f([0x6a,0x74,0x69])])),await _0x5a0e13()?_0xdc7149()?_0x155a59()?_0x2d9a5f([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x30b1ea()?(_0x3fccb8[_0x2d9a5f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2d9a5f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x53225f=_0xefc07e(_0x2d9a5f([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3fccb8[_0x2d9a5f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2d9a5f([0x74,0x72,0x69,0x61,0x6c])&&(_0x53225f=_0xefc07e(_0x2d9a5f([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5f1977()):_0x2d9a5f([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2d9a5f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2d9a5f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x594dbc){return _0x2d9a5f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x155a59(){const _0x2031fc=[_0x2d9a5f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2d9a5f([0x74,0x72,0x69,0x61,0x6c])][_0x2d9a5f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3fccb8[_0x2d9a5f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x25e718/0x3e8:0xe10*_0x5b1e10;return _0x3fccb8[_0x2d9a5f([0x65,0x78,0x70])]<_0x2031fc;}function _0xdc7149(){const _0x3ceb92=_0x3fccb8[_0x2d9a5f([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3ceb92&&(!!_0x3ceb92[_0x2d9a5f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2d9a5f([0x2a]))||!!_0x3ceb92[_0x2d9a5f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2d9a5f([0x53,0x45,0x45])));}function _0x30b1ea(){const _0xfd52f8=_0x3fccb8[_0x2d9a5f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xfd52f8||0x0==_0xfd52f8[_0x2d9a5f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x18653d}=new URL(window[_0x2d9a5f([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0xfd52f8[_0x2d9a5f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x18653d))return!0x0;const _0x1a199b=_0x18653d[_0x2d9a5f([0x73,0x70,0x6c,0x69,0x74])](_0x2d9a5f([0x2e]));return _0xfd52f8[_0x2d9a5f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x113dcd=>_0x113dcd[_0x2d9a5f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2d9a5f([0x2a])))[_0x2d9a5f([0x6d,0x61,0x70])](_0x471473=>_0x471473[_0x2d9a5f([0x73,0x70,0x6c,0x69,0x74])](_0x2d9a5f([0x2e])))[_0x2d9a5f([0x73,0x6f,0x6d,0x65])](_0x5098d7=>_0x1a199b[_0x2d9a5f([0x65,0x76,0x65,0x72,0x79])]((_0x7b878c,_0x430df5)=>_0x5098d7[_0x430df5]===_0x7b878c||_0x5098d7[_0x430df5]===_0x2d9a5f([0x2a])));}function _0x5f1977(){return _0x53225f&&_0x23568d?new window[(_0x2d9a5f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4a624f,_0x4dc90b)=>{_0x53225f[_0x2d9a5f([0x74,0x68,0x65,0x6e])](_0x4a624f,_0x4dc90b),_0x23568d[_0x2d9a5f([0x74,0x68,0x65,0x6e])](_0x14e767=>{_0x14e767!=_0x2d9a5f([0x56,0x61,0x6c,0x69,0x64])&&_0x4a624f(_0x14e767);},_0x4dc90b);}):_0x53225f||_0x23568d||_0x2d9a5f([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4265fb(_0x571cae,_0x402932){return new window[(_0x2d9a5f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x420dad=>{if(_0x23e416())return _0x420dad(_0x2d9a5f([0x56,0x61,0x6c,0x69,0x64]));_0x548ad4(),_0x22bdd1[_0x2d9a5f([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2d9a5f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4872d1=!0x1;const _0x37202e=_0x24a648();function _0x2c195e(_0x315fd1){return!!_0x315fd1&&(typeof _0x315fd1===_0x2d9a5f([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x315fd1===_0x2d9a5f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x315fd1[_0x2d9a5f([0x74,0x68,0x65,0x6e])]===_0x2d9a5f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x315fd1[_0x2d9a5f([0x63,0x61,0x74,0x63,0x68])]===_0x2d9a5f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x11e386(_0x444629){_0x2da957(_0x444629)[_0x2d9a5f([0x74,0x68,0x65,0x6e])](_0x42552f=>{if(!_0x42552f||_0x42552f[_0x2d9a5f([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2d9a5f([0x6f,0x6b]))return _0x2d9a5f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x82f7e2(_0x205595(_0x37202e+_0x402932))!=_0x42552f[_0x2d9a5f([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2d9a5f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2d9a5f([0x56,0x61,0x6c,0x69,0x64]);})[_0x2d9a5f([0x74,0x68,0x65,0x6e])](_0x3ef778=>(_0xdef364(),_0x3ef778),()=>{const _0x15ee27=_0x21a694();return null==_0x15ee27?(_0xdef364(),_0x2d9a5f([0x56,0x61,0x6c,0x69,0x64])):_0x2d9a5f(_0x25e718-_0x15ee27>(0x443cba06^_0x267b38)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2d9a5f([0x74,0x68,0x65,0x6e])](_0x420dad)[_0x2d9a5f([0x63,0x61,0x74,0x63,0x68])](()=>{_0x420dad(_0x2d9a5f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x57f2a6=0x6006d086^_0x267b38;function _0xdef364(){const _0x413a52=_0x2d9a5f([0x6c,0x6c,0x63,0x74,0x2d])+_0x82f7e2(_0x205595(_0x571cae)),_0x38ebd5=_0x2df614(_0x82f7e2(window[_0x2d9a5f([0x4d,0x61,0x74,0x68])][_0x2d9a5f([0x63,0x65,0x69,0x6c])](_0x25e718/_0x57f2a6)));window[_0x2d9a5f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2d9a5f([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x413a52,_0x38ebd5);}function _0x21a694(){const _0x5e3908=_0x2d9a5f([0x6c,0x6c,0x63,0x74,0x2d])+_0x82f7e2(_0x205595(_0x571cae)),_0x1a5645=window[_0x2d9a5f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2d9a5f([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5e3908);return _0x1a5645?window[_0x2d9a5f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2df614(_0x1a5645),0x10)*_0x57f2a6:null;}function _0x2da957(_0x5517fb){return new window[(_0x2d9a5f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x53f88a,_0x396da0)=>{_0x5517fb[_0x2d9a5f([0x74,0x68,0x65,0x6e])](_0x53f88a,_0x396da0),window[_0x2d9a5f([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x396da0,0x6031eac6^_0x267b38);});}}_0x22bdd1[_0x2d9a5f([0x6f,0x6e])](_0x2d9a5f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4d7469,_0xb47f9c)=>{if(_0xb47f9c[0x0]!=_0x571cae)return _0x420dad(_0x2d9a5f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xb47f9c[0x1]={..._0xb47f9c[0x1],[_0x2d9a5f([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x37202e};},{[_0x2d9a5f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2d9a5f([0x68,0x69,0x67,0x68])}),_0x22bdd1[_0x2d9a5f([0x6f,0x6e])](_0x2d9a5f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1c19d3=>{_0x2c195e(_0x1c19d3[_0x2d9a5f([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4872d1=!0x0,_0x11e386(_0x1c19d3[_0x2d9a5f([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2d9a5f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2d9a5f([0x6c,0x6f,0x77])}),_0x39a01c[_0x2d9a5f([0x74,0x68,0x65,0x6e])](()=>{_0x4872d1||_0x420dad(_0x2d9a5f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x23e416(){return _0x22bdd1[_0x2d9a5f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2d9a5f([0x76,0x69,0x65,0x77])][_0x2d9a5f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2d9a5f([0x61,0x75,0x74,0x6f]);}function _0x548ad4(){_0x22bdd1[_0x2d9a5f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2d9a5f([0x76,0x69,0x65,0x77])][_0x2d9a5f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2d9a5f([0x61,0x75,0x74,0x6f]);}}function _0xefc07e(_0x2cc8a4){const _0x2856b8=[new window[(_0x2d9a5f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4d2e20=>setTimeout(_0x4d2e20,0x603900ca^_0x267b38)),_0x39a01c[_0x2d9a5f([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2d9a5f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xc78564=>{let _0x1e82af=0x0;_0x22bdd1[_0x2d9a5f([0x6d,0x6f,0x64,0x65,0x6c])][_0x2d9a5f([0x6f,0x6e])](_0x2d9a5f([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x47b9dd,_0x3f39ca)=>{_0x3f39ca[0x0][_0x2d9a5f([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1e82af++,_0x1e82af==(0x60303ffe^_0x267b38)&&(_0xc78564(),_0x47b9dd[_0x2d9a5f([0x6f,0x66,0x66])]());});}))];return window[_0x2d9a5f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2d9a5f([0x72,0x61,0x63,0x65])](_0x2856b8)[_0x2d9a5f([0x74,0x68,0x65,0x6e])](()=>_0x2cc8a4);}async function _0x3b7f52(){await _0x39a01c,_0x22bdd1[_0x2d9a5f([0x6d,0x6f,0x64,0x65,0x6c])][_0x2d9a5f([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5bd84e,_0x22bdd1[_0x2d9a5f([0x6d,0x6f,0x64,0x65,0x6c])][_0x2d9a5f([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5bd84e,_0x22bdd1[_0x2d9a5f([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2d9a5f([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xf90ed(_0x24e38c){const _0x2aa43f=_0x532542();_0x22bdd1[_0x2aa43f]=_0x2d9a5f([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])+_0x24e38c,_0x24e38c!=_0x2d9a5f([0x56,0x61,0x6c,0x69,0x64])&&_0x3b7f52();}function _0x532542(){const _0x41aa34=window[_0x2d9a5f([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2d9a5f([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2d9a5f([0x6e,0x6f,0x77])]())[_0x2d9a5f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2d9a5f([0x2e]),'');let _0x17aa3a=_0x2d9a5f([0x71]);for(let _0x3a9f55=0x0;_0x3a9f55<_0x41aa34[_0x2d9a5f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3a9f55+=0x2){let _0x43d808=window[_0x2d9a5f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x41aa34[_0x2d9a5f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3a9f55,_0x3a9f55+0x2));_0x43d808>=_0x41077d[_0x2d9a5f([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x43d808-=_0x41077d[_0x2d9a5f([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x17aa3a+=_0x41077d[_0x43d808];}return _0x17aa3a;}function _0x19905f(){const _0x1f9aae=_0x3dfd3d[_0x2d9a5f([0x73,0x70,0x6c,0x69,0x74])](_0x2d9a5f([0x2e]));if(0x3!=_0x1f9aae[_0x2d9a5f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x137dd8(_0x1f9aae[0x1]);function _0x137dd8(_0x45e0b7){const _0x444a4f=_0xe8c7d2(_0x45e0b7);return _0x444a4f&&_0x32a33f()?_0x444a4f:null;function _0x32a33f(){const _0x1e640f=_0x444a4f[_0x2d9a5f([0x6a,0x74,0x69])],_0x6b39f4=window[_0x2d9a5f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1e640f[_0x2d9a5f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1e640f[_0x2d9a5f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4d3393={..._0x444a4f,[_0x2d9a5f([0x6a,0x74,0x69])]:_0x1e640f[_0x2d9a5f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1e640f[_0x2d9a5f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4d3393[_0x2d9a5f([0x76,0x63])],_0x205595(_0x4d3393)==_0x6b39f4;}}}async function _0x5a0e13(){let _0x2206b5=!0x0;try{const _0x14a1fd=_0x3dfd3d[_0x2d9a5f([0x73,0x70,0x6c,0x69,0x74])](_0x2d9a5f([0x2e])),[_0x3264b6,_0xb0b792,_0x5a3bb7]=_0x14a1fd;return _0x5ed319(_0x3264b6),await _0x4d92a0(_0x3264b6,_0xb0b792,_0x5a3bb7),_0x2206b5;}catch(_0x432839){return!0x1;}function _0x5ed319(_0x34123d){const _0x2828ac=_0xe8c7d2(_0x34123d);_0x2828ac&&_0x2828ac[_0x2d9a5f([0x61,0x6c,0x67])]==_0x2d9a5f([0x45,0x53,0x32,0x35,0x36])||(_0x2206b5=!0x1);}async function _0x4d92a0(_0x5db42b,_0x39cb95,_0x45e838){const _0x1b8594=window[_0x2d9a5f([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2d9a5f([0x66,0x72,0x6f,0x6d])](_0x4608ef(_0x45e838),_0x4fa628=>_0x4fa628[_0x2d9a5f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x18a619=new window[(_0x2d9a5f([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2d9a5f([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5db42b+_0x2d9a5f([0x2e])+_0x39cb95),_0x427914=window[_0x2d9a5f([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2d9a5f([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x427914)return;const _0x34642a=await _0x427914[_0x2d9a5f([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2d9a5f([0x6a,0x77,0x6b]),_0x269997,{[_0x2d9a5f([0x6e,0x61,0x6d,0x65])]:_0x2d9a5f([0x45,0x43,0x44,0x53,0x41]),[_0x2d9a5f([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2d9a5f([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2d9a5f([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x427914[_0x2d9a5f([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2d9a5f([0x6e,0x61,0x6d,0x65])]:_0x2d9a5f([0x45,0x43,0x44,0x53,0x41]),[_0x2d9a5f([0x68,0x61,0x73,0x68])]:{[_0x2d9a5f([0x6e,0x61,0x6d,0x65])]:_0x2d9a5f([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x34642a,_0x1b8594,_0x18a619)||(_0x2206b5=!0x1);}}function _0xe8c7d2(_0x6fab3d){return _0x6fab3d[_0x2d9a5f([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2d9a5f([0x65,0x79]))?JSON[_0x2d9a5f([0x70,0x61,0x72,0x73,0x65])](_0x4608ef(_0x6fab3d)):null;}function _0x4608ef(_0x50a1a8){return window[_0x2d9a5f([0x61,0x74,0x6f,0x62])](_0x50a1a8[_0x2d9a5f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2d9a5f([0x2b]))[_0x2d9a5f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2d9a5f([0x2f])));}function _0x205595(_0x5bd3fd){let _0x137477=0x1505;function _0x1b63d7(_0x21597d){for(let _0x4418fb=0x0;_0x4418fb<_0x21597d[_0x2d9a5f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4418fb++){const _0x1e9de8=_0x21597d[_0x2d9a5f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4418fb);_0x137477=(_0x137477<<0x5)+_0x137477+_0x1e9de8,_0x137477&=_0x137477;}}function _0x508689(_0x2466d7){Array[_0x2d9a5f([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2466d7)?_0x2466d7[_0x2d9a5f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x508689):_0x2466d7&&typeof _0x2466d7==_0x2d9a5f([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2d9a5f([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2466d7)[_0x2d9a5f([0x73,0x6f,0x72,0x74])]()[_0x2d9a5f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3a5649,_0x10f413])=>{_0x1b63d7(_0x3a5649),_0x508689(_0x10f413);}):_0x1b63d7(window[_0x2d9a5f([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2466d7));}return _0x508689(_0x5bd3fd),_0x137477>>>0x0;}function _0x82f7e2(_0x1601ae){return _0x1601ae[_0x2d9a5f([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2d9a5f([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2d9a5f([0x30]));}function _0x2df614(_0x48b50e){return _0x48b50e[_0x2d9a5f([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2d9a5f([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2d9a5f([0x6a,0x6f,0x69,0x6e])]('');}function _0x5bd84e(){}function _0x2d9a5f(_0x294865){return _0x294865['map'](_0x1e7dbf=>String['fromCharCode'](_0x1e7dbf))['join']('');}_0xf90ed(await _0x47ed69());}(this);}['_createButton'](_0xe338a5,_0x194969,_0xd515d5=!0x1){const _0x5d14ab=new _0xe338a5(this['editor']['locale']);return _0x5d14ab['set']({'withText':_0xd515d5,'isToggleable':!0x1}),_0x5d14ab['bind']('isEnabled')['to'](_0x194969,'isEnabled'),this['listenTo'](_0x5d14ab,'execute',()=>_0x194969['execute']()),_0x5d14ab;}['_registerKeybindings'](){const _0x4076c6=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':f(_0x4076c6,'Source\x20Editing\x20Enhanced')});const _0x4c9d38=_0x5aeb8d['isMac']||_0x5aeb8d['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':f(_0x4076c6,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':f(_0x4076c6,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':f(_0x4076c6,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':f(_0x4076c6,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':f(_0x4076c6,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':f(_0x4076c6,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':f(_0x4076c6,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x4c9d38?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':f(_0x4076c6,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':f(_0x4076c6,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':f(_0x4076c6,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':f(_0x4076c6,'Select\x20line'),'keystroke':_0x4c9d38?'Ctrl!+L':'Alt+L'},{'label':f(_0x4076c6,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x4c9d38?'Alt+Shift+M':'Ctrl+M'},{'label':f(_0x4076c6,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':f(_0x4076c6,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':f(_0x4076c6,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':f(_0x4076c6,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':f(_0x4076c6,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x4c9d38?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}class e extends _0x3beb61{constructor(_0x3ef25f){super(_0x3ef25f),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0x580edd,_0x47c836){const _0x52fe59=this['editor'],_0x3dbbb7=_0x47c836?.['rootName']??s(_0x52fe59);_0x52fe59['data']['set']({[_0x3dbbb7]:_0x580edd},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}class c extends _0x2cf1b2{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[a];}constructor(_0x5a6eee){super(_0x5a6eee),_0x5a6eee['config']['define']('sourceEditingEnhanced.allowCollaborationFeatures',!0x1);}['init'](){this['_checkCompatibility'](),this['editor']['commands']['add']('replaceSource',new e(this['editor'])),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0xb948b5=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x26af49;for(const _0x43b5bc in _0xb948b5){const _0x27a66e=_0x43b5bc,_0x4ef531=_0xb948b5[_0x27a66e];if('sourceEditingEnhancedLicenseKeyValid'==_0x4ef531||'sourceEditingEnhancedLicenseKeyInvalid'==_0x4ef531||'sourceEditingEnhancedLicenseKeyExpired'==_0x4ef531||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x4ef531||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x4ef531||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x4ef531||'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x4ef531||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x4ef531){delete _0xb948b5[_0x27a66e],_0x26af49=_0x4ef531,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0x26af49&&_0xb948b5['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0x26af49&&_0xb948b5['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x26af49&&_0xb948b5['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x26af49&&_0xb948b5['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x26af49&&_0xb948b5['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x26af49&&_0xb948b5['_showLicenseError']('trialLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x26af49&&_0xb948b5['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0x5a2f4f=this['editor'],_0x52414a=_0x5a2f4f['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0x52414a&&_0x5a2f4f['plugins']['has']('RealTimeCollaborativeEditing'))throw new _0x50d273('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0x52414a&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x2694b9=>_0x5a2f4f['plugins']['has'](_0x2694b9))&&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.'),_0x5a2f4f['plugins']['has']('RestrictedEditingModeEditing')&&console['warn']('You\x20initialized\x20the\x20editor\x20with\x20the\x20source\x20editing\x20enhanced\x20feature\x20and\x20restricted\x20editing\x20feature.\x20Please\x20be\x20advised\x20that\x20the\x20source\x20editing\x20enhanced\x20feature\x20may\x20not\x20work,\x20and\x20be\x20careful\x20when\x20editing\x20document\x20source\x20that\x20contains\x20markers\x20created\x20by\x20the\x20restricted\x20editing\x20feature.');}}export{d as EditSourceCommand,e as ReplaceSourceCommand,c as SourceEditingEnhanced};
|
|
23
|
+
import{Command as _0x576358,PendingActions as _0x2a3251,Plugin as _0x272d07,icons as _0x3cb18e}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x5bbc5b,env as _0x2f4c7f,uid as _0x1aa77f}from'@ckeditor/ckeditor5-utils/dist/index.js';import{View as _0x4e584d,ButtonView as _0x20a886,MenuBarMenuListItemButtonView as _0x333544}from'@ckeditor/ckeditor5-ui/dist/index.js';import{EditorView as _0x24d403,crosshairCursor as _0x3af848,drawSelection as _0x1e368b,dropCursor as _0x51225e,lineNumbers as _0x126141,highlightActiveLine as _0x37562c,highlightActiveLineGutter as _0x5bbdd6,highlightSpecialChars as _0x13a375,rectangularSelection as _0x85db97,keymap as _0x525af1}from'@codemirror/view';import{Compartment as _0x4d9890,Transaction as _0x3ac66b}from'@codemirror/state';import{bracketMatching as _0x2f27a7,foldGutter as _0x21ad45,indentOnInput as _0x4009ef,syntaxHighlighting as _0x1bfa4a,defaultHighlightStyle as _0x2f03f7,foldKeymap as _0x1bcf5c}from'@codemirror/language';import{history as _0x709218,defaultKeymap as _0x2fb655,historyKeymap as _0x3bd98f,redo as _0x3916a8}from'@codemirror/commands';import{autocompletion as _0x20ffd2,closeBrackets as _0x43039d,closeBracketsKeymap as _0x3b53a6,completionKeymap as _0x51a992}from'@codemirror/autocomplete';import{html as _0x1f081b}from'@codemirror/lang-html';import{markdown as _0x2225f6}from'@codemirror/lang-markdown';function f(_0x48da20,_0xb96534){const t=_0x48da20['t'];switch(_0xb96534){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 _0xb96534;}}function o(_0xee6a0){const _0x13aef9=_0xee6a0['editing']['view']['document']['roots'],_0x3ecaff=_0x13aef9['length'];if(0x0===_0x3ecaff)throw new _0x5bbc5b('source-editing-enhanced-editor-no-root',_0xee6a0);if(0x1===_0x3ecaff)return _0x13aef9['first']['rootName'];return Array['from'](_0xee6a0['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function g(_0x19e853){return $(_0x19e853)?function(_0x977645){const _0x3bea13=[{'name':'address','isVoid':!0x1},{'name':'article','isVoid':!0x1},{'name':'aside','isVoid':!0x1},{'name':'blockquote','isVoid':!0x1},{'name':'details','isVoid':!0x1},{'name':'dialog','isVoid':!0x1},{'name':'dd','isVoid':!0x1},{'name':'div','isVoid':!0x1},{'name':'dl','isVoid':!0x1},{'name':'dt','isVoid':!0x1},{'name':'fieldset','isVoid':!0x1},{'name':'figcaption','isVoid':!0x1},{'name':'figure','isVoid':!0x1},{'name':'footer','isVoid':!0x1},{'name':'form','isVoid':!0x1},{'name':'h1','isVoid':!0x1},{'name':'h2','isVoid':!0x1},{'name':'h3','isVoid':!0x1},{'name':'h4','isVoid':!0x1},{'name':'h5','isVoid':!0x1},{'name':'h6','isVoid':!0x1},{'name':'header','isVoid':!0x1},{'name':'hgroup','isVoid':!0x1},{'name':'hr','isVoid':!0x0},{'name':'li','isVoid':!0x1},{'name':'main','isVoid':!0x1},{'name':'nav','isVoid':!0x1},{'name':'ol','isVoid':!0x1},{'name':'p','isVoid':!0x1},{'name':'section','isVoid':!0x1},{'name':'table','isVoid':!0x1},{'name':'tbody','isVoid':!0x1},{'name':'td','isVoid':!0x1},{'name':'th','isVoid':!0x1},{'name':'thead','isVoid':!0x1},{'name':'tr','isVoid':!0x1},{'name':'ul','isVoid':!0x1}],_0x177030=_0x3bea13['map'](_0x59ee1c=>_0x59ee1c['name'])['join']('|'),_0x94c07a=_0x977645['replace'](new RegExp('</?('+_0x177030+')(\x20.*?)?>','g'),'\x0a$&\x0a')['replace'](/<br[^>]*>/g,'$&\x0a')['split']('\x0a');let _0x29ae6d=0x0,_0x2e8c2e=!0x1;return _0x94c07a['filter'](_0x461529=>_0x461529['length'])['map'](_0xaa9576=>(_0x2e8c2e=function(_0x23e2ed,_0x27fca4){return new RegExp('<pre(\x20.*?)?>')['test'](_0x23e2ed)?'first':new RegExp('</pre>')['test'](_0x23e2ed)?'last':('first'===_0x27fca4||'middle'===_0x27fca4)&&'middle';}(_0xaa9576,_0x2e8c2e),function(_0x338e8a,_0x2613db){return _0x2613db['some'](_0x516c58=>!_0x516c58['isVoid']&&!!new RegExp('<'+_0x516c58['name']+'(\x20.*?)?>')['test'](_0x338e8a));}(_0xaa9576,_0x3bea13)?X(_0xaa9576,_0x29ae6d++):function(_0x3ca561,_0x23192e){return _0x23192e['some'](_0x1598dc=>new RegExp('</'+_0x1598dc['name']+'>')['test'](_0x3ca561));}(_0xaa9576,_0x3bea13)?X(_0xaa9576,--_0x29ae6d):'middle'===_0x2e8c2e||'last'===_0x2e8c2e?_0xaa9576:X(_0xaa9576,_0x29ae6d)))['join']('\x0a');}(_0x19e853):_0x19e853;}function E(_0x3862fd){return $(_0x3862fd['replace'](/^[\n\s]*/g,''))?_0x3862fd['replace'](/\s+/g,''):_0x3862fd;}function $(_0x4ac60f){return _0x4ac60f['startsWith']('<');}function X(_0x272a80,_0x2794e7,_0x564015='\x20\x20\x20\x20'){return''+_0x564015['repeat'](Math['max'](0x0,_0x2794e7))+_0x272a80;}function p(_0x1185ad){const _0x25e0cc=[_0x24d403['lineWrapping'],_0x20ffd2(),_0x2f27a7(),_0x43039d(),_0x3af848(),_0x1e368b(),_0x51225e(),_0x126141(),_0x21ad45(),_0x37562c(),_0x5bbdd6(),_0x13a375(),_0x709218(),_0x4009ef(),_0x85db97(),_0x1bfa4a(_0x2f03f7,{'fallback':!0x0})],_0x4d501e=new _0x4d9890();_0x25e0cc['push'](_0x4d501e['of'](_0x24d403['editable']['of'](!0x0))),'html'===_0x1185ad['syntaxLanguage']?_0x25e0cc['push'](_0x1f081b()):_0x25e0cc['push'](_0x2225f6()),_0x1185ad['theme']&&_0x25e0cc['push'](_0x1185ad['theme']),_0x25e0cc['push'](_0x525af1['of']([..._0x3b53a6,..._0x2fb655,..._0x3bd98f,..._0x1bcf5c,..._0x51a992,{'key':'Ctrl-Shift-z','mac':'Cmd-y','run':_0x3916a8,'preventDefault':!0x0}]));const _0x20d17c=new _0x24d403({'extensions':_0x25e0cc,'parent':_0x1185ad['parent']});return{'focus':()=>{_0x20d17c['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x20d17c['focus']();},'getData':()=>_0x20d17c['state']['doc']['toString'](),'setData':_0x592bd8=>{_0x20d17c['dispatch']({'changes':{'from':0x0,'to':_0x20d17c['state']['doc']['length'],'insert':_0x592bd8},'annotations':_0x3ac66b['addToHistory']['of'](!0x1)});},'setReadOnly':_0x4b41a1=>{_0x20d17c['dispatch']({'effects':[_0x4d501e['reconfigure'](_0x24d403['editable']['of'](!_0x4b41a1))]});},'destroy':()=>{_0x20d17c['destroy']();}};}class m extends _0x4e584d{constructor(_0x5acd23,_0x5dbd90){super(_0x5acd23),this['_codeEditorApi']=null,this['_options']=_0x5dbd90,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',(_0x49ceb6,_0x51b192,_0x56b38d)=>{this['setReadOnly'](_0x56b38d);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0x3b40e2){this['_codeEditorApi']['setData'](_0x3b40e2);}['setReadOnly'](_0x379de4){this['_codeEditorApi']['setReadOnly'](_0x379de4);}}class d extends _0x576358{constructor(_0xa3a15e){super(_0xa3a15e),this['affectsData']=!0x1,this['editor']['plugins']['get'](_0x2a3251)['on']('change:hasAny',(_0x5694c7,_0x1a442b,_0x2198af)=>{_0x2198af?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x454c93=this['editor'],_0x2478b1=_0x454c93['locale'],_0x397a4f=_0x454c93['plugins']['get']('Dialog'),_0x4a1ae3=o(_0x454c93),_0x3e5b6d=g(_0x454c93['data']['get']({'rootName':_0x4a1ae3})),_0x41d227=new m(_0x2478b1,{'syntaxLanguage':_0x454c93['plugins']['has']('Markdown')?'markdown':'html','theme':_0x454c93['config']['get']('sourceEditingEnhanced.theme')});let _0x6184c8=!0x0;const _0x1100f3=_0xb27a56=>{if(!_0x6184c8)return;return E(_0x41d227['getData']())!==E(_0x3e5b6d)?window['confirm'](f(_0x2478b1,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0xb27a56['stop']():void 0x0;};_0x397a4f['show']({'id':'sourceEditingEnhanced','title':f(_0x2478b1,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0x41d227,'actionButtons':[{'label':f(_0x2478b1,'Cancel'),'withText':!0x0,'onExecute':()=>{_0x397a4f['hide']();}},{'label':f(_0x2478b1,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0x183299=E(_0x41d227['getData']())!==E(_0x3e5b6d);(_0x183299&&_0x454c93['execute']('replaceSource',_0x41d227['getData']()),_0x6184c8=!0x1,_0x397a4f['hide'](),_0x183299&&'editables'in _0x454c93['ui']['view'])&&_0x454c93['ui']['view']['editables'][_0x4a1ae3]['element']['focus']();},'onCreate':_0x402cd9=>{_0x402cd9['set']('isEnabled',!_0x454c93['isReadOnly']),_0x402cd9['bind']('isEnabled')['to'](_0x454c93,'isReadOnly',this,'isEnabled',(_0xe6aafd,_0x2cacb4)=>!_0xe6aafd&&_0x2cacb4);}}],'onHide':()=>{_0x397a4f['off']('hide',_0x1100f3),_0x41d227['destroy']();},'onShow':()=>{_0x41d227['bind']('isReadOnly')['to'](_0x454c93,'isReadOnly',this,'isEnabled',(_0x85462a,_0x527e94)=>_0x85462a||!_0x527e94),_0x41d227['setData'](_0x3e5b6d),_0x41d227['focus'](),_0x397a4f['on']('hide',_0x1100f3,{'priority':'highest'});}});}}class n extends _0x272d07{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[_0x2a3251];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x1bb93f=this['editor'],_0x5e93e4=_0x1bb93f['locale'],_0x273068=new d(_0x1bb93f);_0x1bb93f['commands']['add']('editSource',_0x273068),_0x1bb93f['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0x11a849=this['_createButton'](_0x20a886,_0x273068);return _0x11a849['set']({'label':f(_0x5e93e4,'Source'),'icon':_0x3cb18e['source'],'tooltip':f(_0x5e93e4,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0x11a849;}),_0x1bb93f['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0xb8053d=this['_createButton'](_0x333544,_0x273068,!0x0);return _0xb8053d['set']({'label':f(_0x5e93e4,'Edit\x20source\x20modal\x20label'),'icon':_0x3cb18e['source'],'role':'menuitemcheckbox'}),_0xb8053d;}),this['_registerKeybindings']();}['afterInit'](){!async function(_0x35734a){const _0x38b3e8=_0x38dbe0([0x6c,0x45,0x55,0x37,0x68,0x31,0x6b,0x4f,0x79,0x56,0x6a,0x4d,0x46,0x7a,0x64,0x32,0x54,0x59,0x61,0x34,0x4a,0x63,0x65,0x52,0x4c,0x69,0x4b,0x33,0x42,0x62,0x41,0x76,0x66,0x36,0x72,0x53,0x51,0x75,0x4e,0x73,0x48,0x49,0x38,0x39,0x35,0x71,0x6f,0x77,0x47,0x70,0x78,0x50,0x5a,0x57,0x44,0x6d,0x43,0x58,0x6e,0x74,0x67,0x30]),_0x4b7050=0x5e60c4d2,_0x3b732f=0x5e679b9a^_0x4b7050,_0x544fcf=window[_0x38dbe0([0x44,0x61,0x74,0x65])][_0x38dbe0([0x6e,0x6f,0x77])](),_0x1da4a6=_0x35734a[_0x38dbe0([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1b381c=new window[(_0x38dbe0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1b6f23=>{_0x1da4a6[_0x38dbe0([0x6f,0x6e,0x63,0x65])](_0x38dbe0([0x72,0x65,0x61,0x64,0x79]),_0x1b6f23);}),_0x449113={[_0x38dbe0([0x6b,0x74,0x79])]:_0x38dbe0([0x45,0x43]),[_0x38dbe0([0x75,0x73,0x65])]:_0x38dbe0([0x73,0x69,0x67]),[_0x38dbe0([0x63,0x72,0x76])]:_0x38dbe0([0x50,0x2d,0x32,0x35,0x36]),[_0x38dbe0([0x78])]:_0x38dbe0([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]),[_0x38dbe0([0x79])]:_0x38dbe0([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]),[_0x38dbe0([0x61,0x6c,0x67])]:_0x38dbe0([0x45,0x53,0x32,0x35,0x36])},_0x39facf=_0x1da4a6[_0x38dbe0([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x38dbe0([0x67,0x65,0x74])](_0x38dbe0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4d6c31(){let _0x5bdee5,_0x251114=null,_0x6aed13=null;try{if(_0x39facf==_0x38dbe0([0x47,0x50,0x4c]))return _0x38dbe0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5bdee5=_0x20c3b1(),!_0x5bdee5)return _0x38dbe0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5bdee5[_0x38dbe0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x6aed13=_0x44c5cf(_0x5bdee5[_0x38dbe0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5bdee5[_0x38dbe0([0x6a,0x74,0x69])])),await _0x5e7923()?_0x4a7ec0()?_0x5c6f3f()?_0x38dbe0([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x22317e()?(_0x5bdee5[_0x38dbe0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x38dbe0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x251114=_0x381f03(_0x38dbe0([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5bdee5[_0x38dbe0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x38dbe0([0x74,0x72,0x69,0x61,0x6c])&&(_0x251114=_0x381f03(_0x38dbe0([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x21995e()):_0x38dbe0([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x38dbe0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x38dbe0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x5ce459){return _0x38dbe0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5c6f3f(){const _0x1258cc=[_0x38dbe0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x38dbe0([0x74,0x72,0x69,0x61,0x6c])][_0x38dbe0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5bdee5[_0x38dbe0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x544fcf/0x3e8:0xe10*_0x3b732f;return _0x5bdee5[_0x38dbe0([0x65,0x78,0x70])]<_0x1258cc;}function _0x4a7ec0(){const _0x3069b1=_0x5bdee5[_0x38dbe0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3069b1&&(!!_0x3069b1[_0x38dbe0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x38dbe0([0x2a]))||!!_0x3069b1[_0x38dbe0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x38dbe0([0x53,0x45,0x45])));}function _0x22317e(){const _0x24970d=_0x5bdee5[_0x38dbe0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x24970d||0x0==_0x24970d[_0x38dbe0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x223a91}=new URL(window[_0x38dbe0([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x24970d[_0x38dbe0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x223a91))return!0x0;const _0x1b8bee=_0x223a91[_0x38dbe0([0x73,0x70,0x6c,0x69,0x74])](_0x38dbe0([0x2e]));return _0x24970d[_0x38dbe0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x257139=>_0x257139[_0x38dbe0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x38dbe0([0x2a])))[_0x38dbe0([0x6d,0x61,0x70])](_0xec28a0=>_0xec28a0[_0x38dbe0([0x73,0x70,0x6c,0x69,0x74])](_0x38dbe0([0x2e])))[_0x38dbe0([0x73,0x6f,0x6d,0x65])](_0x18e7ac=>_0x1b8bee[_0x38dbe0([0x65,0x76,0x65,0x72,0x79])]((_0x23d18e,_0x59ad43)=>_0x18e7ac[_0x59ad43]===_0x23d18e||_0x18e7ac[_0x59ad43]===_0x38dbe0([0x2a])));}function _0x21995e(){return _0x251114&&_0x6aed13?new window[(_0x38dbe0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x413b86,_0x48fc24)=>{_0x251114[_0x38dbe0([0x74,0x68,0x65,0x6e])](_0x413b86,_0x48fc24),_0x6aed13[_0x38dbe0([0x74,0x68,0x65,0x6e])](_0x226afa=>{_0x226afa!=_0x38dbe0([0x56,0x61,0x6c,0x69,0x64])&&_0x413b86(_0x226afa);},_0x48fc24);}):_0x251114||_0x6aed13||_0x38dbe0([0x56,0x61,0x6c,0x69,0x64]);}}function _0x44c5cf(_0x28ca95,_0x564370){return new window[(_0x38dbe0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x491744=>{if(_0xc19d78())return _0x491744(_0x38dbe0([0x56,0x61,0x6c,0x69,0x64]));_0x2e38d3(),_0x1da4a6[_0x38dbe0([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x38dbe0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xae4669=!0x1;const _0x50b8d6=_0x1aa77f();function _0x45e724(_0x1a841d){return!!_0x1a841d&&(typeof _0x1a841d===_0x38dbe0([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1a841d===_0x38dbe0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1a841d[_0x38dbe0([0x74,0x68,0x65,0x6e])]===_0x38dbe0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1a841d[_0x38dbe0([0x63,0x61,0x74,0x63,0x68])]===_0x38dbe0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x547df6(_0x1edba8){_0x509734(_0x1edba8)[_0x38dbe0([0x74,0x68,0x65,0x6e])](_0x3be3d1=>{if(!_0x3be3d1||_0x3be3d1[_0x38dbe0([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x38dbe0([0x6f,0x6b]))return _0x38dbe0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xe449b9(_0x359755(_0x50b8d6+_0x564370))!=_0x3be3d1[_0x38dbe0([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x38dbe0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x38dbe0([0x56,0x61,0x6c,0x69,0x64]);})[_0x38dbe0([0x74,0x68,0x65,0x6e])](_0x4f4193=>(_0x448eca(),_0x4f4193),()=>{const _0x158060=_0x1c04c8();return null==_0x158060?(_0x448eca(),_0x38dbe0([0x56,0x61,0x6c,0x69,0x64])):_0x38dbe0(_0x544fcf-_0x158060>(0x7a6c40d2^_0x4b7050)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x38dbe0([0x74,0x68,0x65,0x6e])](_0x491744)[_0x38dbe0([0x63,0x61,0x74,0x63,0x68])](()=>{_0x491744(_0x38dbe0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4cc8ed=0x5e562a52^_0x4b7050;function _0x448eca(){const _0x4c8a55=_0x38dbe0([0x6c,0x6c,0x63,0x74,0x2d])+_0xe449b9(_0x359755(_0x28ca95)),_0x117010=_0x4e9d05(_0xe449b9(window[_0x38dbe0([0x4d,0x61,0x74,0x68])][_0x38dbe0([0x63,0x65,0x69,0x6c])](_0x544fcf/_0x4cc8ed)));window[_0x38dbe0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x38dbe0([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4c8a55,_0x117010);}function _0x1c04c8(){const _0x21a020=_0x38dbe0([0x6c,0x6c,0x63,0x74,0x2d])+_0xe449b9(_0x359755(_0x28ca95)),_0x44bfe8=window[_0x38dbe0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x38dbe0([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x21a020);return _0x44bfe8?window[_0x38dbe0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4e9d05(_0x44bfe8),0x10)*_0x4cc8ed:null;}function _0x509734(_0x157eb1){return new window[(_0x38dbe0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x8674b7,_0x443e54)=>{_0x157eb1[_0x38dbe0([0x74,0x68,0x65,0x6e])](_0x8674b7,_0x443e54),window[_0x38dbe0([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x443e54,0x5e611012^_0x4b7050);});}}_0x1da4a6[_0x38dbe0([0x6f,0x6e])](_0x38dbe0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x26784a,_0x55da80)=>{if(_0x55da80[0x0]!=_0x28ca95)return _0x491744(_0x38dbe0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x55da80[0x1]={..._0x55da80[0x1],[_0x38dbe0([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x50b8d6};},{[_0x38dbe0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x38dbe0([0x68,0x69,0x67,0x68])}),_0x1da4a6[_0x38dbe0([0x6f,0x6e])](_0x38dbe0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x559636=>{_0x45e724(_0x559636[_0x38dbe0([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xae4669=!0x0,_0x547df6(_0x559636[_0x38dbe0([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x38dbe0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x38dbe0([0x6c,0x6f,0x77])}),_0x1b381c[_0x38dbe0([0x74,0x68,0x65,0x6e])](()=>{_0xae4669||_0x491744(_0x38dbe0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xc19d78(){return _0x1da4a6[_0x38dbe0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x38dbe0([0x76,0x69,0x65,0x77])][_0x38dbe0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x38dbe0([0x61,0x75,0x74,0x6f]);}function _0x2e38d3(){_0x1da4a6[_0x38dbe0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x38dbe0([0x76,0x69,0x65,0x77])][_0x38dbe0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x38dbe0([0x61,0x75,0x74,0x6f]);}}function _0x381f03(_0x372c90){const _0x136e52=[new window[(_0x38dbe0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3d93e2=>setTimeout(_0x3d93e2,0x5e69fa1e^_0x4b7050)),_0x1b381c[_0x38dbe0([0x74,0x68,0x65,0x6e])](()=>new window[(_0x38dbe0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x50c4ae=>{let _0x4db618=0x0;_0x1da4a6[_0x38dbe0([0x6d,0x6f,0x64,0x65,0x6c])][_0x38dbe0([0x6f,0x6e])](_0x38dbe0([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x538732,_0x3bba78)=>{_0x3bba78[0x0][_0x38dbe0([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4db618++,_0x4db618==(0x5e60c52a^_0x4b7050)&&(_0x50c4ae(),_0x538732[_0x38dbe0([0x6f,0x66,0x66])]());});}))];return window[_0x38dbe0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x38dbe0([0x72,0x61,0x63,0x65])](_0x136e52)[_0x38dbe0([0x74,0x68,0x65,0x6e])](()=>_0x372c90);}async function _0x44675e(){await _0x1b381c,_0x1da4a6[_0x38dbe0([0x6d,0x6f,0x64,0x65,0x6c])][_0x38dbe0([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x232c90,_0x1da4a6[_0x38dbe0([0x6d,0x6f,0x64,0x65,0x6c])][_0x38dbe0([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x232c90,_0x1da4a6[_0x38dbe0([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x38dbe0([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x47e527(_0x5ca0fe){const _0x4290ed=_0x512276();_0x1da4a6[_0x4290ed]=_0x38dbe0([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])+_0x5ca0fe,_0x5ca0fe!=_0x38dbe0([0x56,0x61,0x6c,0x69,0x64])&&_0x44675e();}function _0x512276(){const _0x5584fe=window[_0x38dbe0([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x38dbe0([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x38dbe0([0x6e,0x6f,0x77])]())[_0x38dbe0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x38dbe0([0x2e]),'');let _0x508bf0=_0x38dbe0([0x6c]);for(let _0x469f28=0x0;_0x469f28<_0x5584fe[_0x38dbe0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x469f28+=0x2){let _0x4a629d=window[_0x38dbe0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5584fe[_0x38dbe0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x469f28,_0x469f28+0x2));_0x4a629d>=_0x38b3e8[_0x38dbe0([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4a629d-=_0x38b3e8[_0x38dbe0([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x508bf0+=_0x38b3e8[_0x4a629d];}return _0x508bf0;}function _0x20c3b1(){const _0x5466bb=_0x39facf[_0x38dbe0([0x73,0x70,0x6c,0x69,0x74])](_0x38dbe0([0x2e]));if(0x3!=_0x5466bb[_0x38dbe0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2e3913(_0x5466bb[0x1]);function _0x2e3913(_0x2c301a){const _0x3f3c20=_0x4edd1c(_0x2c301a);return _0x3f3c20&&_0x44f753()?_0x3f3c20:null;function _0x44f753(){const _0x5cbfe0=_0x3f3c20[_0x38dbe0([0x6a,0x74,0x69])],_0x358c9c=window[_0x38dbe0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5cbfe0[_0x38dbe0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5cbfe0[_0x38dbe0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x28fb8f={..._0x3f3c20,[_0x38dbe0([0x6a,0x74,0x69])]:_0x5cbfe0[_0x38dbe0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5cbfe0[_0x38dbe0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x28fb8f[_0x38dbe0([0x76,0x63])],_0x359755(_0x28fb8f)==_0x358c9c;}}}async function _0x5e7923(){let _0xb7bd45=!0x0;try{const _0x5ebb20=_0x39facf[_0x38dbe0([0x73,0x70,0x6c,0x69,0x74])](_0x38dbe0([0x2e])),[_0x13ef30,_0x1d6154,_0x16da67]=_0x5ebb20;return _0xff77bd(_0x13ef30),await _0x414af4(_0x13ef30,_0x1d6154,_0x16da67),_0xb7bd45;}catch(_0x1d03f6){return!0x1;}function _0xff77bd(_0x4965f6){const _0x43bb56=_0x4edd1c(_0x4965f6);_0x43bb56&&_0x43bb56[_0x38dbe0([0x61,0x6c,0x67])]==_0x38dbe0([0x45,0x53,0x32,0x35,0x36])||(_0xb7bd45=!0x1);}async function _0x414af4(_0x8c4a43,_0x49b9bb,_0x133486){const _0x593fcd=window[_0x38dbe0([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x38dbe0([0x66,0x72,0x6f,0x6d])](_0x33a3d9(_0x133486),_0x41e30a=>_0x41e30a[_0x38dbe0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x785c8b=new window[(_0x38dbe0([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x38dbe0([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x8c4a43+_0x38dbe0([0x2e])+_0x49b9bb),_0x76312=window[_0x38dbe0([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x38dbe0([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x76312)return;const _0x385aee=await _0x76312[_0x38dbe0([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x38dbe0([0x6a,0x77,0x6b]),_0x449113,{[_0x38dbe0([0x6e,0x61,0x6d,0x65])]:_0x38dbe0([0x45,0x43,0x44,0x53,0x41]),[_0x38dbe0([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x38dbe0([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x38dbe0([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x76312[_0x38dbe0([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x38dbe0([0x6e,0x61,0x6d,0x65])]:_0x38dbe0([0x45,0x43,0x44,0x53,0x41]),[_0x38dbe0([0x68,0x61,0x73,0x68])]:{[_0x38dbe0([0x6e,0x61,0x6d,0x65])]:_0x38dbe0([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x385aee,_0x593fcd,_0x785c8b)||(_0xb7bd45=!0x1);}}function _0x4edd1c(_0x3cda21){return _0x3cda21[_0x38dbe0([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x38dbe0([0x65,0x79]))?JSON[_0x38dbe0([0x70,0x61,0x72,0x73,0x65])](_0x33a3d9(_0x3cda21)):null;}function _0x33a3d9(_0x1bb20a){return window[_0x38dbe0([0x61,0x74,0x6f,0x62])](_0x1bb20a[_0x38dbe0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x38dbe0([0x2b]))[_0x38dbe0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x38dbe0([0x2f])));}function _0x359755(_0x52d7b1){let _0x31a6ed=0x1505;function _0x5a05a4(_0x460b5f){for(let _0x320b6b=0x0;_0x320b6b<_0x460b5f[_0x38dbe0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x320b6b++){const _0x496ed5=_0x460b5f[_0x38dbe0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x320b6b);_0x31a6ed=(_0x31a6ed<<0x5)+_0x31a6ed+_0x496ed5,_0x31a6ed&=_0x31a6ed;}}function _0x571f8b(_0x549d0d){Array[_0x38dbe0([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x549d0d)?_0x549d0d[_0x38dbe0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x571f8b):_0x549d0d&&typeof _0x549d0d==_0x38dbe0([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x38dbe0([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x549d0d)[_0x38dbe0([0x73,0x6f,0x72,0x74])]()[_0x38dbe0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x472bc9,_0x227274])=>{_0x5a05a4(_0x472bc9),_0x571f8b(_0x227274);}):_0x5a05a4(window[_0x38dbe0([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x549d0d));}return _0x571f8b(_0x52d7b1),_0x31a6ed>>>0x0;}function _0xe449b9(_0x1e2953){return _0x1e2953[_0x38dbe0([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x38dbe0([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x38dbe0([0x30]));}function _0x4e9d05(_0x45bfc7){return _0x45bfc7[_0x38dbe0([0x73,0x70,0x6c,0x69,0x74])]('')[_0x38dbe0([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x38dbe0([0x6a,0x6f,0x69,0x6e])]('');}function _0x232c90(){}function _0x38dbe0(_0x57a088){return _0x57a088['map'](_0x4165f9=>String['fromCharCode'](_0x4165f9))['join']('');}_0x47e527(await _0x4d6c31());}(this);}['_createButton'](_0x2328e1,_0x1befdf,_0x210861=!0x1){const _0x38602a=new _0x2328e1(this['editor']['locale']);return _0x38602a['set']({'withText':_0x210861,'isToggleable':!0x1}),_0x38602a['bind']('isEnabled')['to'](_0x1befdf,'isEnabled'),this['listenTo'](_0x38602a,'execute',()=>_0x1befdf['execute']()),_0x38602a;}['_registerKeybindings'](){const _0x4e4e4e=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':f(_0x4e4e4e,'Source\x20Editing\x20Enhanced')});const _0x287e2d=_0x2f4c7f['isMac']||_0x2f4c7f['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':f(_0x4e4e4e,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':f(_0x4e4e4e,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':f(_0x4e4e4e,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':f(_0x4e4e4e,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':f(_0x4e4e4e,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':f(_0x4e4e4e,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':f(_0x4e4e4e,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x287e2d?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':f(_0x4e4e4e,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':f(_0x4e4e4e,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':f(_0x4e4e4e,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':f(_0x4e4e4e,'Select\x20line'),'keystroke':_0x287e2d?'Ctrl!+L':'Alt+L'},{'label':f(_0x4e4e4e,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x287e2d?'Alt+Shift+M':'Ctrl+M'},{'label':f(_0x4e4e4e,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':f(_0x4e4e4e,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':f(_0x4e4e4e,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':f(_0x4e4e4e,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':f(_0x4e4e4e,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x287e2d?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}class s extends _0x576358{constructor(_0x4d7a4d){super(_0x4d7a4d),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0xb2129f,_0x28dfa2){var _0x5e1e4b;const _0x1e3e81=this['editor'],_0x483c6c=null!==(_0x5e1e4b=null==_0x28dfa2?void 0x0:_0x28dfa2['rootName'])&&void 0x0!==_0x5e1e4b?_0x5e1e4b:o(_0x1e3e81);_0x1e3e81['data']['set']({[_0x483c6c]:_0xb2129f},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}class a extends _0x272d07{static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[n];}constructor(_0x4f054c){super(_0x4f054c),_0x4f054c['config']['define']('sourceEditingEnhanced.allowCollaborationFeatures',!0x1);}['init'](){this['_checkCompatibility'](),this['editor']['commands']['add']('replaceSource',new s(this['editor'])),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x4ec431=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x37b9e7;for(const _0x2e8cf2 in _0x4ec431){const _0x41f4d8=_0x2e8cf2,_0x31f624=_0x4ec431[_0x41f4d8];if('sourceEditingEnhancedLicenseKeyValid'==_0x31f624||'sourceEditingEnhancedLicenseKeyInvalid'==_0x31f624||'sourceEditingEnhancedLicenseKeyExpired'==_0x31f624||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x31f624||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x31f624||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x31f624||'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x31f624||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x31f624){delete _0x4ec431[_0x41f4d8],_0x37b9e7=_0x31f624,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0x37b9e7&&_0x4ec431['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0x37b9e7&&_0x4ec431['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x37b9e7&&_0x4ec431['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x37b9e7&&_0x4ec431['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x37b9e7&&_0x4ec431['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x37b9e7&&_0x4ec431['_showLicenseError']('trialLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x37b9e7&&_0x4ec431['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0x18fa46=this['editor'],_0x4bc198=_0x18fa46['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0x4bc198&&_0x18fa46['plugins']['has']('RealTimeCollaborativeEditing'))throw new _0x5bbc5b('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0x4bc198&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x3b1767=>_0x18fa46['plugins']['has'](_0x3b1767))&&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.'),_0x18fa46['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,s as ReplaceSourceCommand,a as SourceEditingEnhanced};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-source-editing-enhanced",
|
|
3
|
-
"version": "0.0.0-nightly-
|
|
3
|
+
"version": "0.0.0-nightly-20250212.0",
|
|
4
4
|
"description": "Source editing enhanced feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -18,11 +18,10 @@
|
|
|
18
18
|
"type": "module",
|
|
19
19
|
"main": "src/index.js",
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@ckeditor/ckeditor5-core": "0.0.0-nightly-
|
|
22
|
-
"@ckeditor/ckeditor5-
|
|
23
|
-
"@ckeditor/ckeditor5-
|
|
24
|
-
"@ckeditor/ckeditor5-
|
|
25
|
-
"@ckeditor/ckeditor5-utils": "0.0.0-nightly-next-20250212.0",
|
|
21
|
+
"@ckeditor/ckeditor5-core": "0.0.0-nightly-20250212.0",
|
|
22
|
+
"@ckeditor/ckeditor5-theme-lark": "0.0.0-nightly-20250212.0",
|
|
23
|
+
"@ckeditor/ckeditor5-ui": "0.0.0-nightly-20250212.0",
|
|
24
|
+
"@ckeditor/ckeditor5-utils": "0.0.0-nightly-20250212.0",
|
|
26
25
|
"@codemirror/autocomplete": "6.18.4",
|
|
27
26
|
"@codemirror/commands": "6.8.0",
|
|
28
27
|
"@codemirror/lang-html": "6.4.9",
|
|
@@ -30,7 +29,7 @@
|
|
|
30
29
|
"@codemirror/language": "6.10.8",
|
|
31
30
|
"@codemirror/state": "6.5.2",
|
|
32
31
|
"@codemirror/view": "6.36.2",
|
|
33
|
-
"ckeditor5": "0.0.0-nightly-
|
|
32
|
+
"ckeditor5": "0.0.0-nightly-20250212.0"
|
|
34
33
|
},
|
|
35
34
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
36
35
|
"author": "CKSource (http://cksource.com/)",
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x25c856,_0x1a38c9){var _0x1bdab3=_0x3818,_0x347b97=_0x25c856();while(!![]){try{var _0x178d51=-parseInt(_0x1bdab3(0x17e))/0x1+-parseInt(_0x1bdab3(0x183))/0x2+-parseInt(_0x1bdab3(0x184))/0x3*(parseInt(_0x1bdab3(0x17c))/0x4)+parseInt(_0x1bdab3(0x17a))/0x5+-parseInt(_0x1bdab3(0x182))/0x6*(-parseInt(_0x1bdab3(0x180))/0x7)+parseInt(_0x1bdab3(0x17f))/0x8*(-parseInt(_0x1bdab3(0x17b))/0x9)+parseInt(_0x1bdab3(0x181))/0xa*(parseInt(_0x1bdab3(0x17d))/0xb);if(_0x178d51===_0x1a38c9)break;else _0x347b97['push'](_0x347b97['shift']());}catch(_0x59cd01){_0x347b97['push'](_0x347b97['shift']());}}}(_0x4546,0x3838e));function _0x3818(_0x436af8,_0x3ac3af){var _0x4546eb=_0x4546();return _0x3818=function(_0x38189c,_0x44518f){_0x38189c=_0x38189c-0x17a;var _0x3fe2ab=_0x4546eb[_0x38189c];return _0x3fe2ab;},_0x3818(_0x436af8,_0x3ac3af);}function _0x4546(){var _0x15d3ff=['9ENiSNA','2084XVvUOm','11WnrQjf','228006MClrzP','541760rqhBxK','498638NRgWMV','6783230nIlgsy','18BYyVsj','897754mcmexH','381jiRqbN','745155zftnjx'];_0x4546=function(){return _0x15d3ff;};return _0x4546();}export{default as SourceEditingEnhanced}from'./sourceeditingenhanced.js';export{default as ReplaceSourceCommand}from'./replacesourcecommand.js';export{default as EditSourceCommand}from'./ui/editsourcecommand.js';import'./augmentation.js';
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x3300f7=_0x3c4b;(function(_0x159719,_0x3e82d1){var _0x4d80c0=_0x3c4b,_0x20f565=_0x159719();while(!![]){try{var _0x339ceb=-parseInt(_0x4d80c0(0x88))/0x1*(parseInt(_0x4d80c0(0x7d))/0x2)+-parseInt(_0x4d80c0(0x7a))/0x3+parseInt(_0x4d80c0(0x81))/0x4*(-parseInt(_0x4d80c0(0x83))/0x5)+parseInt(_0x4d80c0(0x82))/0x6*(parseInt(_0x4d80c0(0x87))/0x7)+parseInt(_0x4d80c0(0x7c))/0x8+-parseInt(_0x4d80c0(0x7f))/0x9+parseInt(_0x4d80c0(0x79))/0xa;if(_0x339ceb===_0x3e82d1)break;else _0x20f565['push'](_0x20f565['shift']());}catch(_0x1c3ebd){_0x20f565['push'](_0x20f565['shift']());}}}(_0x4c28,0x2378c));import{Command as _0x4b4a8a}from'ckeditor5/src/core.js';function _0x3c4b(_0x3dbcdc,_0x54bd5b){var _0x4c28bc=_0x4c28();return _0x3c4b=function(_0x3c4b5f,_0xfeba02){_0x3c4b5f=_0x3c4b5f-0x77;var _0x3a12f9=_0x4c28bc[_0x3c4b5f];return _0x3a12f9;},_0x3c4b(_0x3dbcdc,_0x54bd5b);}function _0x4c28(){var _0xfd414e=['refresh','execute','rootName','1771ToVhbj','98713xrjGxG','set','isEnabled','5241420pbiDPO','175908mwKpbA','isReadOnly','676504dXXCxx','2kmUQNk','data','2209536mgECiN','editor','252jjKsqr','2166gdIWrV','12055TLwNeZ'];_0x4c28=function(){return _0xfd414e;};return _0x4c28();}import{getActiveRootName as _0x3aa8c1}from'./utils/getactiverootname.js';export default class s extends _0x4b4a8a{constructor(_0x33dd4d){var _0x2a427e=_0x3c4b;super(_0x33dd4d),this[_0x2a427e(0x84)]();}[_0x3300f7(0x84)](){var _0x169e92=_0x3300f7;this[_0x169e92(0x78)]=!this[_0x169e92(0x80)][_0x169e92(0x7b)];}[_0x3300f7(0x85)](_0x590f66,_0x35e1dc){var _0x3b76e2=_0x3300f7,_0x437831;const _0xb583be=this[_0x3b76e2(0x80)],_0x588ca9=null!==(_0x437831=null==_0x35e1dc?void 0x0:_0x35e1dc[_0x3b76e2(0x86)])&&void 0x0!==_0x437831?_0x437831:_0x3aa8c1(_0xb583be);_0xb583be[_0x3b76e2(0x7e)][_0x3b76e2(0x77)]({[_0x588ca9]:_0x590f66},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x5dc8(_0x7615ae,_0x1fdcef){const _0xe8833a=_0xe883();return _0x5dc8=function(_0x5dc8d2,_0x37cc9c){_0x5dc8d2=_0x5dc8d2-0x77;let _0xaa1f33=_0xe8833a[_0x5dc8d2];return _0xaa1f33;},_0x5dc8(_0x7615ae,_0x1fdcef);}const _0x3ef19f=_0x5dc8;function _0xe883(){const _0x1353d4=['warn','sourceEditingEnhancedLicenseKeyInvalid','plugins','TrackChangesEditing','destroy','SourceEditingEnhanced','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.','usageLimit','expired','RestrictedEditingModeEditing','sourceEditingEnhancedLicenseKeyDomainLimit','18GomgWh','3765322zwJCLY','24RIZWhi','evaluationLimit','sourceEditingEnhancedLicenseKeyValid','2389923UoOnwC','sourceEditingEnhancedLicenseKeyNotAllowed','sourceEditingEnhancedLicenseKeyEvaluationLimit','pluginName','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.','RealTimeCollaborativeEditing','sourceEditingEnhancedLicenseKeyExpired','4647348IiNRPp','domainLimit','isOfficialPlugin','5GgtolN','commands','editor','get','_checkCompatibility','requires','config','trialLimit','some','sourceEditingEnhancedLicenseKeyUsageLimit','192568aacMgH','init','isPremiumPlugin','1017945pWCmKT','_licenseKeyCheckInterval','70AccDoI','RevisionHistory','30FoBRVJ','sourceEditingEnhanced.allowCollaborationFeatures','CommentsEditing','replaceSource','sourceEditingEnhancedLicenseKeyTrialLimit','_showLicenseError','invalid','source-editing-enhanced-incompatible-with-real-time-collaboration','has','featureNotAllowed','add','115171QldqMt','licenseKey','932898ZvZRJy','define'];_0xe883=function(){return _0x1353d4;};return _0xe883();}(function(_0x5f8455,_0xbaa522){const _0x10aeb5=_0x5dc8,_0x39fa8f=_0x5f8455();while(!![]){try{const _0x49a703=parseInt(_0x10aeb5(0xa6))/0x1*(-parseInt(_0x10aeb5(0x7b))/0x2)+parseInt(_0x10aeb5(0x80))/0x3+parseInt(_0x10aeb5(0x87))/0x4*(parseInt(_0x10aeb5(0x8a))/0x5)+-parseInt(_0x10aeb5(0xa8))/0x6+parseInt(_0x10aeb5(0x99))/0x7*(parseInt(_0x10aeb5(0x94))/0x8)+-parseInt(_0x10aeb5(0x97))/0x9*(-parseInt(_0x10aeb5(0x9b))/0xa)+parseInt(_0x10aeb5(0x7c))/0xb*(-parseInt(_0x10aeb5(0x7d))/0xc);if(_0x49a703===_0xbaa522)break;else _0x39fa8f['push'](_0x39fa8f['shift']());}catch(_0x5c230d){_0x39fa8f['push'](_0x39fa8f['shift']());}}}(_0xe883,0xa1975));import{Plugin as _0x372dac}from'ckeditor5/src/core.js';import{CKEditorError as _0x3d8ba7}from'ckeditor5/src/utils.js';import _0x18f7da from'./sourceeditingenhancedui.js';import _0x597aac from'./replacesourcecommand.js';import'../theme/sourceeditingenhanced.css';export default class a extends _0x372dac{static get[_0x3ef19f(0x83)](){const _0xfc03a4=_0x3ef19f;return _0xfc03a4(0xaf);}static get[_0x3ef19f(0x89)](){return!0x0;}static get[_0x3ef19f(0x96)](){return!0x0;}static get[_0x3ef19f(0x8f)](){return[_0x18f7da];}constructor(_0x4e8d14){const _0x4f9360=_0x3ef19f;super(_0x4e8d14),_0x4e8d14[_0x4f9360(0x90)][_0x4f9360(0xa9)](_0x4f9360(0x9c),!0x1);}[_0x3ef19f(0x95)](){const _0xe45898=_0x3ef19f;this[_0xe45898(0x8e)](),this[_0xe45898(0x8c)][_0xe45898(0x8b)][_0xe45898(0xa5)](_0xe45898(0x9e),new _0x597aac(this[_0xe45898(0x8c)])),this[_0xe45898(0xa7)]=this[_0xe45898(0x8c)][_0xe45898(0x90)][_0xe45898(0x8d)](_0xe45898(0xa7));const _0xc338e2=this[_0xe45898(0x8c)];this[_0xe45898(0x98)]=setInterval(()=>{const _0x1dc56b=_0xe45898;let _0x5ea3d9;for(const _0xe73942 in _0xc338e2){const _0x3d049c=_0xe73942,_0x5d321b=_0xc338e2[_0x3d049c];if(_0x1dc56b(0x7f)==_0x5d321b||_0x1dc56b(0xab)==_0x5d321b||_0x1dc56b(0x86)==_0x5d321b||_0x1dc56b(0x7a)==_0x5d321b||_0x1dc56b(0x81)==_0x5d321b||_0x1dc56b(0x82)==_0x5d321b||_0x1dc56b(0x9f)==_0x5d321b||_0x1dc56b(0x93)==_0x5d321b){delete _0xc338e2[_0x3d049c],_0x5ea3d9=_0x5d321b,clearInterval(this[_0x1dc56b(0x98)]),this[_0x1dc56b(0x98)]=void 0x0;break;}}_0x1dc56b(0xab)==_0x5ea3d9&&_0xc338e2[_0x1dc56b(0xa0)](_0x1dc56b(0xa1)),_0x1dc56b(0x86)==_0x5ea3d9&&_0xc338e2[_0x1dc56b(0xa0)](_0x1dc56b(0x78)),_0x1dc56b(0x7a)==_0x5ea3d9&&_0xc338e2[_0x1dc56b(0xa0)](_0x1dc56b(0x88)),_0x1dc56b(0x81)==_0x5ea3d9&&_0xc338e2[_0x1dc56b(0xa0)](_0x1dc56b(0xa4),_0x1dc56b(0xaf)),_0x1dc56b(0x82)==_0x5ea3d9&&_0xc338e2[_0x1dc56b(0xa0)](_0x1dc56b(0x7e)),_0x1dc56b(0x9f)==_0x5ea3d9&&_0xc338e2[_0x1dc56b(0xa0)](_0x1dc56b(0x91)),_0x1dc56b(0x93)==_0x5ea3d9&&_0xc338e2[_0x1dc56b(0xa0)](_0x1dc56b(0x77));},0x3e8);}[_0x3ef19f(0xae)](){const _0x5e4505=_0x3ef19f;this[_0x5e4505(0x98)]&&clearInterval(this[_0x5e4505(0x98)]);}[_0x3ef19f(0x8e)](){const _0x2411d1=_0x3ef19f,_0x14218c=this[_0x2411d1(0x8c)],_0x5c3a7a=_0x14218c[_0x2411d1(0x90)][_0x2411d1(0x8d)](_0x2411d1(0x9c));if(!_0x5c3a7a&&_0x14218c[_0x2411d1(0xac)][_0x2411d1(0xa3)](_0x2411d1(0x85)))throw new _0x3d8ba7(_0x2411d1(0xa2),null);!_0x5c3a7a&&[_0x2411d1(0x9d),_0x2411d1(0xad),_0x2411d1(0x9a)][_0x2411d1(0x92)](_0x18776b=>_0x14218c[_0x2411d1(0xac)][_0x2411d1(0xa3)](_0x18776b))&&console[_0x2411d1(0xaa)](_0x2411d1(0xb0)),_0x14218c[_0x2411d1(0xac)][_0x2411d1(0xa3)](_0x2411d1(0x79))&&console[_0x2411d1(0xaa)](_0x2411d1(0x84));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x3d77(_0x1760ad,_0x2af126){const _0x35865e=_0x3586();return _0x3d77=function(_0x3d777e,_0x50ea12){_0x3d777e=_0x3d777e-0x102;let _0x286271=_0x35865e[_0x3d777e];return _0x286271;},_0x3d77(_0x1760ad,_0x2af126);}const _0x380fbf=_0x3d77;function _0x3586(){const _0x96f766=['Cmd+Alt+]','Shift+Ctrl+K','Select\x20line','addKeystrokeInfos','_createButton','Redo\x20(keystroke)','23093DXpHTY','map','Copy\x20line\x20down','Ctrl+Shift+[','menuBar:sourceEditingEnhanced','componentFactory','_registerKeybindings','isMac','init','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode','Edit\x20source\x20modal\x20label','isPremiumPlugin','bind','Fold\x20code\x20(current\x20level)','Shift+Alt+ArrowDown','Fold\x20all','sourceEditingEnhanced','Source','editSource','Cmd+Alt+[','Shift+Alt+ArrowUp','877713xmPvBX','Source\x20Editing\x20Enhanced','isiOS','Ctrl+Z','Alt+ArrowDown','2273202ylTGse','2113588rQjVjw','requires','set','3189JHGtty','locale','Indent\x20more','Toggle\x20comment','Unfold\x20all','Alt+L','Ctrl+Shift+Z','Toggle\x20block\x20comment','Ctrl!+L','join','10RabkVA','Move\x20line\x20down','fromCharCode','commands','Indent\x20less','editor','11283304hqfjfl','pluginName','218UyRgRL','isOfficialPlugin','6209525sFpzTI','Ctrl+Shift+]','menuitemcheckbox','addKeystrokeInfoCategory','Ctrl+/','href','listenTo','Ctrl+Y','Copy\x20line\x20up','Ctrl+M','Move\x20line\x20up','SourceEditingEnhancedUI','Alt+ArrowUp','1308vzkhOt','Ctrl!+Alt+[','isEnabled','Ctrl+]','accessibility','Undo\x20(keystroke)','afterInit','Alt+Shift+M','add','ck-source-editing-enhanced-button','Unfold\x20code\x20(current\x20level)','Ctrl!+Alt+]','execute','Ctrl+[','Delete\x20line','Shift+Alt+A'];_0x3586=function(){return _0x96f766;};return _0x3586();}(function(_0x373eba,_0x322e47){const _0x31c35e=_0x3d77,_0x2762b8=_0x373eba();while(!![]){try{const _0x17180b=parseInt(_0x31c35e(0x142))/0x1+-parseInt(_0x31c35e(0x108))/0x2*(parseInt(_0x31c35e(0x14b))/0x3)+-parseInt(_0x31c35e(0x148))/0x4+-parseInt(_0x31c35e(0x10a))/0x5+-parseInt(_0x31c35e(0x117))/0x6*(-parseInt(_0x31c35e(0x12d))/0x7)+parseInt(_0x31c35e(0x106))/0x8+parseInt(_0x31c35e(0x147))/0x9*(-parseInt(_0x31c35e(0x155))/0xa);if(_0x17180b===_0x322e47)break;else _0x2762b8['push'](_0x2762b8['shift']());}catch(_0x2c7263){_0x2762b8['push'](_0x2762b8['shift']());}}}(_0x3586,0xd40d1));import{Plugin as _0x5db268,PendingActions as _0x4d5dd3}from'ckeditor5/src/core.js';import{IconSource as _0x2c13ca}from'ckeditor5/src/icons.js';import{ButtonView as _0x92717,MenuBarMenuListItemButtonView as _0x16f86c}from'ckeditor5/src/ui.js';import _0x5da845 from'./ui/editsourcecommand.js';import{getTranslation as _0x2fe2b0}from'./utils/common-translations.js';import{env as _0x3f0edd,uid as _0xc1301e}from'ckeditor5/src/utils.js';import'../theme/sourceeditingenhanced.css';export default class a extends _0x5db268{static get[_0x380fbf(0x107)](){const _0x24ca21=_0x380fbf;return _0x24ca21(0x115);}static get[_0x380fbf(0x149)](){return[_0x4d5dd3];}static get[_0x380fbf(0x109)](){return!0x0;}static get[_0x380fbf(0x138)](){return!0x0;}[_0x380fbf(0x135)](){const _0x2da534=_0x380fbf,_0x52fae2=this[_0x2da534(0x105)],_0x30123f=_0x52fae2[_0x2da534(0x14c)],_0x59a1be=new _0x5da845(_0x52fae2);_0x52fae2[_0x2da534(0x103)][_0x2da534(0x11f)](_0x2da534(0x13f),_0x59a1be),_0x52fae2['ui'][_0x2da534(0x132)][_0x2da534(0x11f)](_0x2da534(0x13d),()=>{const _0x28c5bb=_0x2da534,_0x5a5daa=this[_0x28c5bb(0x12b)](_0x92717,_0x59a1be);return _0x5a5daa[_0x28c5bb(0x14a)]({'label':_0x2fe2b0(_0x30123f,_0x28c5bb(0x13e)),'icon':_0x2c13ca,'tooltip':_0x2fe2b0(_0x30123f,_0x28c5bb(0x137)),'class':_0x28c5bb(0x120)}),_0x5a5daa;}),_0x52fae2['ui'][_0x2da534(0x132)][_0x2da534(0x11f)](_0x2da534(0x131),()=>{const _0x3c0342=_0x2da534,_0xd2e3e1=this[_0x3c0342(0x12b)](_0x16f86c,_0x59a1be,!0x0);return _0xd2e3e1[_0x3c0342(0x14a)]({'label':_0x2fe2b0(_0x30123f,_0x3c0342(0x137)),'icon':_0x2c13ca,'role':_0x3c0342(0x10c)}),_0xd2e3e1;}),this[_0x2da534(0x133)]();}[_0x380fbf(0x11d)](){!async function(_0x41d29b){const _0x4c0b7e=_0x2a79b0([0x71,0x74,0x55,0x4b,0x56,0x62,0x4c,0x52,0x73,0x41,0x66,0x35,0x53,0x64,0x44,0x78,0x79,0x4f,0x31,0x6f,0x38,0x48,0x34,0x69,0x4a,0x6c,0x49,0x57,0x70,0x6a,0x6d,0x65,0x6b,0x37,0x7a,0x36,0x32,0x51,0x72,0x4e,0x42,0x58,0x76,0x30,0x5a,0x61,0x45,0x67,0x43,0x54,0x6e,0x68,0x75,0x63,0x50,0x46,0x33,0x59,0x39,0x77,0x4d,0x47]),_0x1c4874=0x60303e06,_0x18c08e=0x6037614e^_0x1c4874,_0x469d61=window[_0x2a79b0([0x44,0x61,0x74,0x65])][_0x2a79b0([0x6e,0x6f,0x77])](),_0x22bf7f=_0x41d29b[_0x2a79b0([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5c7f3a=new window[(_0x2a79b0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2b9efb=>{_0x22bf7f[_0x2a79b0([0x6f,0x6e,0x63,0x65])](_0x2a79b0([0x72,0x65,0x61,0x64,0x79]),_0x2b9efb);}),_0x1ace46={[_0x2a79b0([0x6b,0x74,0x79])]:_0x2a79b0([0x45,0x43]),[_0x2a79b0([0x75,0x73,0x65])]:_0x2a79b0([0x73,0x69,0x67]),[_0x2a79b0([0x63,0x72,0x76])]:_0x2a79b0([0x50,0x2d,0x32,0x35,0x36]),[_0x2a79b0([0x78])]:_0x2a79b0([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]),[_0x2a79b0([0x79])]:_0x2a79b0([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]),[_0x2a79b0([0x61,0x6c,0x67])]:_0x2a79b0([0x45,0x53,0x32,0x35,0x36])},_0x2228c0=_0x22bf7f[_0x2a79b0([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2a79b0([0x67,0x65,0x74])](_0x2a79b0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x12f46c(){let _0xf68b78,_0x3cc577=null,_0x322345=null;try{if(_0x2228c0==_0x2a79b0([0x47,0x50,0x4c]))return _0x2a79b0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xf68b78=_0x171e47(),!_0xf68b78)return _0x2a79b0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xf68b78[_0x2a79b0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x322345=_0x4a1adc(_0xf68b78[_0x2a79b0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xf68b78[_0x2a79b0([0x6a,0x74,0x69])])),await _0x1e4dc6()?_0x14ad22()?_0x4acf24()?_0x2a79b0([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2f816d()?(_0xf68b78[_0x2a79b0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2a79b0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3cc577=_0x35f020(_0x2a79b0([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0xf68b78[_0x2a79b0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2a79b0([0x74,0x72,0x69,0x61,0x6c])&&(_0x3cc577=_0x35f020(_0x2a79b0([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xa776b3()):_0x2a79b0([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2a79b0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2a79b0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x496438){return _0x2a79b0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4acf24(){const _0x198018=[_0x2a79b0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2a79b0([0x74,0x72,0x69,0x61,0x6c])][_0x2a79b0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xf68b78[_0x2a79b0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x469d61/0x3e8:0xe10*_0x18c08e;return _0xf68b78[_0x2a79b0([0x65,0x78,0x70])]<_0x198018;}function _0x14ad22(){const _0x37e432=_0xf68b78[_0x2a79b0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x37e432&&(!!_0x37e432[_0x2a79b0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2a79b0([0x2a]))||!!_0x37e432[_0x2a79b0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2a79b0([0x53,0x45,0x45])));}function _0x2f816d(){const _0x164d7d=_0x3d77,_0x47ddd9=_0xf68b78[_0x2a79b0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x47ddd9||0x0==_0x47ddd9[_0x2a79b0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x495eed}=new URL(window[_0x2a79b0([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x164d7d(0x10f)]);if(_0x47ddd9[_0x2a79b0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x495eed))return!0x0;const _0x580e6f=_0x495eed[_0x2a79b0([0x73,0x70,0x6c,0x69,0x74])](_0x2a79b0([0x2e]));return _0x47ddd9[_0x2a79b0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1e849a=>_0x1e849a[_0x2a79b0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2a79b0([0x2a])))[_0x2a79b0([0x6d,0x61,0x70])](_0x12abc5=>_0x12abc5[_0x2a79b0([0x73,0x70,0x6c,0x69,0x74])](_0x2a79b0([0x2e])))[_0x2a79b0([0x73,0x6f,0x6d,0x65])](_0x5e3b8b=>_0x580e6f[_0x2a79b0([0x65,0x76,0x65,0x72,0x79])]((_0x5c5a47,_0x2b0b09)=>_0x5e3b8b[_0x2b0b09]===_0x5c5a47||_0x5e3b8b[_0x2b0b09]===_0x2a79b0([0x2a])));}function _0xa776b3(){return _0x3cc577&&_0x322345?new window[(_0x2a79b0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1585b0,_0x6537e5)=>{_0x3cc577[_0x2a79b0([0x74,0x68,0x65,0x6e])](_0x1585b0,_0x6537e5),_0x322345[_0x2a79b0([0x74,0x68,0x65,0x6e])](_0x24f569=>{_0x24f569!=_0x2a79b0([0x56,0x61,0x6c,0x69,0x64])&&_0x1585b0(_0x24f569);},_0x6537e5);}):_0x3cc577||_0x322345||_0x2a79b0([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4a1adc(_0x32a71b,_0x29f40e){return new window[(_0x2a79b0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3b8b7e=>{if(_0x2419a7())return _0x3b8b7e(_0x2a79b0([0x56,0x61,0x6c,0x69,0x64]));_0x407d94(),_0x22bf7f[_0x2a79b0([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2a79b0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5f0a00=!0x1;const _0x10d1ff=_0xc1301e();function _0x999c2e(_0x996dd8){return!!_0x996dd8&&(typeof _0x996dd8===_0x2a79b0([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x996dd8===_0x2a79b0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x996dd8[_0x2a79b0([0x74,0x68,0x65,0x6e])]===_0x2a79b0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x996dd8[_0x2a79b0([0x63,0x61,0x74,0x63,0x68])]===_0x2a79b0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x53f394(_0x56490a){_0x1ebab0(_0x56490a)[_0x2a79b0([0x74,0x68,0x65,0x6e])](_0x1f5dd3=>{if(!_0x1f5dd3||_0x1f5dd3[_0x2a79b0([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2a79b0([0x6f,0x6b]))return _0x2a79b0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2f24a9(_0x2c93f0(_0x10d1ff+_0x29f40e))!=_0x1f5dd3[_0x2a79b0([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2a79b0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2a79b0([0x56,0x61,0x6c,0x69,0x64]);})[_0x2a79b0([0x74,0x68,0x65,0x6e])](_0xb711a2=>(_0x3bda0a(),_0xb711a2),()=>{const _0x2b6fe5=_0x388813();return null==_0x2b6fe5?(_0x3bda0a(),_0x2a79b0([0x56,0x61,0x6c,0x69,0x64])):_0x2a79b0(_0x469d61-_0x2b6fe5>(0x443cba06^_0x1c4874)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2a79b0([0x74,0x68,0x65,0x6e])](_0x3b8b7e)[_0x2a79b0([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3b8b7e(_0x2a79b0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x42d00b=0x6006d086^_0x1c4874;function _0x3bda0a(){const _0x2f9532=_0x2a79b0([0x6c,0x6c,0x63,0x74,0x2d])+_0x2f24a9(_0x2c93f0(_0x32a71b)),_0x2027e5=_0x58eb18(_0x2f24a9(window[_0x2a79b0([0x4d,0x61,0x74,0x68])][_0x2a79b0([0x63,0x65,0x69,0x6c])](_0x469d61/_0x42d00b)));window[_0x2a79b0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2a79b0([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2f9532,_0x2027e5);}function _0x388813(){const _0x3f76b0=_0x2a79b0([0x6c,0x6c,0x63,0x74,0x2d])+_0x2f24a9(_0x2c93f0(_0x32a71b)),_0x3b3eaf=window[_0x2a79b0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2a79b0([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3f76b0);return _0x3b3eaf?window[_0x2a79b0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x58eb18(_0x3b3eaf),0x10)*_0x42d00b:null;}function _0x1ebab0(_0x594260){return new window[(_0x2a79b0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1a2400,_0x4df931)=>{_0x594260[_0x2a79b0([0x74,0x68,0x65,0x6e])](_0x1a2400,_0x4df931),window[_0x2a79b0([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4df931,0x6031eac6^_0x1c4874);});}}_0x22bf7f[_0x2a79b0([0x6f,0x6e])](_0x2a79b0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x576d13,_0x1fb33c)=>{if(_0x1fb33c[0x0]!=_0x32a71b)return _0x3b8b7e(_0x2a79b0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1fb33c[0x1]={..._0x1fb33c[0x1],[_0x2a79b0([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x10d1ff};},{[_0x2a79b0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2a79b0([0x68,0x69,0x67,0x68])}),_0x22bf7f[_0x2a79b0([0x6f,0x6e])](_0x2a79b0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x396a0c=>{_0x999c2e(_0x396a0c[_0x2a79b0([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5f0a00=!0x0,_0x53f394(_0x396a0c[_0x2a79b0([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2a79b0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2a79b0([0x6c,0x6f,0x77])}),_0x5c7f3a[_0x2a79b0([0x74,0x68,0x65,0x6e])](()=>{_0x5f0a00||_0x3b8b7e(_0x2a79b0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2419a7(){return _0x22bf7f[_0x2a79b0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2a79b0([0x76,0x69,0x65,0x77])][_0x2a79b0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2a79b0([0x61,0x75,0x74,0x6f]);}function _0x407d94(){_0x22bf7f[_0x2a79b0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2a79b0([0x76,0x69,0x65,0x77])][_0x2a79b0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2a79b0([0x61,0x75,0x74,0x6f]);}}function _0x35f020(_0x4c0cae){const _0x483dbd=[new window[(_0x2a79b0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x9595cf=>setTimeout(_0x9595cf,0x603900ca^_0x1c4874)),_0x5c7f3a[_0x2a79b0([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2a79b0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1378ce=>{let _0x209596=0x0;_0x22bf7f[_0x2a79b0([0x6d,0x6f,0x64,0x65,0x6c])][_0x2a79b0([0x6f,0x6e])](_0x2a79b0([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x27163a,_0x2e31f3)=>{_0x2e31f3[0x0][_0x2a79b0([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x209596++,_0x209596==(0x60303ffe^_0x1c4874)&&(_0x1378ce(),_0x27163a[_0x2a79b0([0x6f,0x66,0x66])]());});}))];return window[_0x2a79b0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2a79b0([0x72,0x61,0x63,0x65])](_0x483dbd)[_0x2a79b0([0x74,0x68,0x65,0x6e])](()=>_0x4c0cae);}async function _0xbcac04(){await _0x5c7f3a,_0x22bf7f[_0x2a79b0([0x6d,0x6f,0x64,0x65,0x6c])][_0x2a79b0([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3930f9,_0x22bf7f[_0x2a79b0([0x6d,0x6f,0x64,0x65,0x6c])][_0x2a79b0([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3930f9,_0x22bf7f[_0x2a79b0([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2a79b0([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x40e974(_0x2bea05){const _0x3ed735=_0x30056c();_0x22bf7f[_0x3ed735]=_0x2a79b0([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])+_0x2bea05,_0x2bea05!=_0x2a79b0([0x56,0x61,0x6c,0x69,0x64])&&_0xbcac04();}function _0x30056c(){const _0x40d9ae=window[_0x2a79b0([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2a79b0([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2a79b0([0x6e,0x6f,0x77])]())[_0x2a79b0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2a79b0([0x2e]),'');let _0x19e69f=_0x2a79b0([0x71]);for(let _0x5b4729=0x0;_0x5b4729<_0x40d9ae[_0x2a79b0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5b4729+=0x2){let _0x24e6bf=window[_0x2a79b0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x40d9ae[_0x2a79b0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5b4729,_0x5b4729+0x2));_0x24e6bf>=_0x4c0b7e[_0x2a79b0([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x24e6bf-=_0x4c0b7e[_0x2a79b0([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x19e69f+=_0x4c0b7e[_0x24e6bf];}return _0x19e69f;}function _0x171e47(){const _0x107b17=_0x2228c0[_0x2a79b0([0x73,0x70,0x6c,0x69,0x74])](_0x2a79b0([0x2e]));if(0x3!=_0x107b17[_0x2a79b0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4629c8(_0x107b17[0x1]);function _0x4629c8(_0x2efa1f){const _0x364b35=_0x25b157(_0x2efa1f);return _0x364b35&&_0xfde9d6()?_0x364b35:null;function _0xfde9d6(){const _0xf2d55b=_0x364b35[_0x2a79b0([0x6a,0x74,0x69])],_0x179585=window[_0x2a79b0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xf2d55b[_0x2a79b0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xf2d55b[_0x2a79b0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4a92b4={..._0x364b35,[_0x2a79b0([0x6a,0x74,0x69])]:_0xf2d55b[_0x2a79b0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xf2d55b[_0x2a79b0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4a92b4[_0x2a79b0([0x76,0x63])],_0x2c93f0(_0x4a92b4)==_0x179585;}}}async function _0x1e4dc6(){let _0x1128d9=!0x0;try{const _0x2eed30=_0x2228c0[_0x2a79b0([0x73,0x70,0x6c,0x69,0x74])](_0x2a79b0([0x2e])),[_0x2ff7ed,_0x9f6f33,_0x478c3f]=_0x2eed30;return _0x3fca3e(_0x2ff7ed),await _0x59999c(_0x2ff7ed,_0x9f6f33,_0x478c3f),_0x1128d9;}catch(_0x111304){return!0x1;}function _0x3fca3e(_0x4f4ecb){const _0x5797f7=_0x25b157(_0x4f4ecb);_0x5797f7&&_0x5797f7[_0x2a79b0([0x61,0x6c,0x67])]==_0x2a79b0([0x45,0x53,0x32,0x35,0x36])||(_0x1128d9=!0x1);}async function _0x59999c(_0x561333,_0xa9b01d,_0x1185bb){const _0x666299=window[_0x2a79b0([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2a79b0([0x66,0x72,0x6f,0x6d])](_0x9d91a9(_0x1185bb),_0x54a02c=>_0x54a02c[_0x2a79b0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x292e36=new window[(_0x2a79b0([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2a79b0([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x561333+_0x2a79b0([0x2e])+_0xa9b01d),_0x37eb07=window[_0x2a79b0([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2a79b0([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x37eb07)return;const _0x25e51e=await _0x37eb07[_0x2a79b0([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2a79b0([0x6a,0x77,0x6b]),_0x1ace46,{[_0x2a79b0([0x6e,0x61,0x6d,0x65])]:_0x2a79b0([0x45,0x43,0x44,0x53,0x41]),[_0x2a79b0([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2a79b0([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2a79b0([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x37eb07[_0x2a79b0([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2a79b0([0x6e,0x61,0x6d,0x65])]:_0x2a79b0([0x45,0x43,0x44,0x53,0x41]),[_0x2a79b0([0x68,0x61,0x73,0x68])]:{[_0x2a79b0([0x6e,0x61,0x6d,0x65])]:_0x2a79b0([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x25e51e,_0x666299,_0x292e36)||(_0x1128d9=!0x1);}}function _0x25b157(_0x4980eb){return _0x4980eb[_0x2a79b0([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2a79b0([0x65,0x79]))?JSON[_0x2a79b0([0x70,0x61,0x72,0x73,0x65])](_0x9d91a9(_0x4980eb)):null;}function _0x9d91a9(_0x49fbdb){return window[_0x2a79b0([0x61,0x74,0x6f,0x62])](_0x49fbdb[_0x2a79b0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2a79b0([0x2b]))[_0x2a79b0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2a79b0([0x2f])));}function _0x2c93f0(_0x2d6664){let _0x3c20a3=0x1505;function _0x2cdee7(_0x5764eb){for(let _0x48b6d3=0x0;_0x48b6d3<_0x5764eb[_0x2a79b0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x48b6d3++){const _0x3c8129=_0x5764eb[_0x2a79b0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x48b6d3);_0x3c20a3=(_0x3c20a3<<0x5)+_0x3c20a3+_0x3c8129,_0x3c20a3&=_0x3c20a3;}}function _0x89de79(_0x1b4529){Array[_0x2a79b0([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1b4529)?_0x1b4529[_0x2a79b0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x89de79):_0x1b4529&&typeof _0x1b4529==_0x2a79b0([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2a79b0([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1b4529)[_0x2a79b0([0x73,0x6f,0x72,0x74])]()[_0x2a79b0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2909ab,_0x242185])=>{_0x2cdee7(_0x2909ab),_0x89de79(_0x242185);}):_0x2cdee7(window[_0x2a79b0([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1b4529));}return _0x89de79(_0x2d6664),_0x3c20a3>>>0x0;}function _0x2f24a9(_0x28d1eb){return _0x28d1eb[_0x2a79b0([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2a79b0([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2a79b0([0x30]));}function _0x58eb18(_0x2e9e89){return _0x2e9e89[_0x2a79b0([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2a79b0([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2a79b0([0x6a,0x6f,0x69,0x6e])]('');}function _0x3930f9(){}function _0x2a79b0(_0xbb2975){const _0x78bff8=_0x3d77;return _0xbb2975[_0x78bff8(0x12e)](_0x5eda9c=>String[_0x78bff8(0x102)](_0x5eda9c))[_0x78bff8(0x154)]('');}_0x40e974(await _0x12f46c());}(this);}[_0x380fbf(0x12b)](_0x1f40da,_0x44d9b5,_0x2144d5=!0x1){const _0x55e5f1=_0x380fbf,_0x546c4d=new _0x1f40da(this[_0x55e5f1(0x105)][_0x55e5f1(0x14c)]);return _0x546c4d[_0x55e5f1(0x14a)]({'withText':_0x2144d5,'isToggleable':!0x1}),_0x546c4d[_0x55e5f1(0x139)](_0x55e5f1(0x119))['to'](_0x44d9b5,_0x55e5f1(0x119)),this[_0x55e5f1(0x110)](_0x546c4d,_0x55e5f1(0x123),()=>_0x44d9b5[_0x55e5f1(0x123)]()),_0x546c4d;}[_0x380fbf(0x133)](){const _0x2cc373=_0x380fbf,_0x5ed382=this[_0x2cc373(0x105)][_0x2cc373(0x14c)];this[_0x2cc373(0x105)][_0x2cc373(0x11b)][_0x2cc373(0x10d)]({'id':_0x2cc373(0x13d),'label':_0x2fe2b0(_0x5ed382,_0x2cc373(0x143))});const _0x33f1c6=_0x3f0edd[_0x2cc373(0x134)]||_0x3f0edd[_0x2cc373(0x144)];this[_0x2cc373(0x105)][_0x2cc373(0x11b)][_0x2cc373(0x12a)]({'categoryId':_0x2cc373(0x13d),'keystrokes':[{'label':_0x2fe2b0(_0x5ed382,_0x2cc373(0x12f)),'keystroke':_0x2cc373(0x13b)},{'label':_0x2fe2b0(_0x5ed382,_0x2cc373(0x112)),'keystroke':_0x2cc373(0x141)},{'label':_0x2fe2b0(_0x5ed382,_0x2cc373(0x125)),'keystroke':_0x2cc373(0x128)},{'label':_0x2fe2b0(_0x5ed382,_0x2cc373(0x104)),'keystroke':_0x2cc373(0x124)},{'label':_0x2fe2b0(_0x5ed382,_0x2cc373(0x14d)),'keystroke':_0x2cc373(0x11a)},{'label':_0x2fe2b0(_0x5ed382,_0x2cc373(0x13c)),'keystroke':_0x2cc373(0x118)},{'label':_0x2fe2b0(_0x5ed382,_0x2cc373(0x13a)),'keystroke':_0x33f1c6?_0x2cc373(0x140):_0x2cc373(0x130)},{'label':_0x2fe2b0(_0x5ed382,_0x2cc373(0x156)),'keystroke':_0x2cc373(0x146)},{'label':_0x2fe2b0(_0x5ed382,_0x2cc373(0x114)),'keystroke':_0x2cc373(0x116)},{'label':_0x2fe2b0(_0x5ed382,_0x2cc373(0x12c)),'keystroke':[[_0x2cc373(0x151)],[_0x2cc373(0x111)]]},{'label':_0x2fe2b0(_0x5ed382,_0x2cc373(0x129)),'keystroke':_0x33f1c6?_0x2cc373(0x153):_0x2cc373(0x150)},{'label':_0x2fe2b0(_0x5ed382,_0x2cc373(0x136)),'keystroke':_0x33f1c6?_0x2cc373(0x11e):_0x2cc373(0x113)},{'label':_0x2fe2b0(_0x5ed382,_0x2cc373(0x152)),'keystroke':_0x2cc373(0x126)},{'label':_0x2fe2b0(_0x5ed382,_0x2cc373(0x14e)),'keystroke':_0x2cc373(0x10e)},{'label':_0x2fe2b0(_0x5ed382,_0x2cc373(0x11c)),'keystroke':_0x2cc373(0x145)},{'label':_0x2fe2b0(_0x5ed382,_0x2cc373(0x14f)),'keystroke':_0x2cc373(0x122)},{'label':_0x2fe2b0(_0x5ed382,_0x2cc373(0x121)),'keystroke':_0x33f1c6?_0x2cc373(0x127):_0x2cc373(0x10b)}]});}}
|
|
23
|
+
function _0x2add(){const _0x2f0ec3=['Alt+L','Source\x20Editing\x20Enhanced','Ctrl+[','Ctrl!+Alt+[','Move\x20line\x20up','menuBar:sourceEditingEnhanced','30VcwBOj','Select\x20line','500823kGjdJn','Fold\x20all','source','isPremiumPlugin','join','listenTo','commands','addKeystrokeInfoCategory','3176734sAIOfx','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode','init','Ctrl+/','add','791004EYdGNl','6OQEsbV','pluginName','Ctrl!+L','execute','isOfficialPlugin','Indent\x20less','Copy\x20line\x20down','Fold\x20code\x20(current\x20level)','editor','componentFactory','Ctrl+]','accessibility','ck-source-editing-enhanced-button','Alt+ArrowDown','Alt+Shift+M','Shift+Alt+ArrowUp','Alt+ArrowUp','10391052FcNqBo','7312858abWwni','Cmd+Alt+]','Redo\x20(keystroke)','fromCharCode','Move\x20line\x20down','822084TPESng','requires','Ctrl+M','Ctrl+Shift+]','Cmd+Alt+[','50dzkavP','Ctrl+Y','Delete\x20line','SourceEditingEnhancedUI','Ctrl+Z','_registerKeybindings','isEnabled','Copy\x20line\x20up','Shift+Ctrl+K','Ctrl+Shift+[','isMac','120TBUAdB','editSource','addKeystrokeInfos','isiOS','Unfold\x20all','Ctrl!+Alt+]','78edFajJ','Ctrl+Shift+Z','set','6FhYKhk','Toggle\x20comment','Indent\x20more','menuitemcheckbox','244022ENEusU','Shift+Alt+A','href','Unfold\x20code\x20(current\x20level)','_createButton','sourceEditingEnhanced','Undo\x20(keystroke)','Toggle\x20block\x20comment','Source','afterInit','Shift+Alt+ArrowDown','bind','locale','map','Edit\x20source\x20modal\x20label'];_0x2add=function(){return _0x2f0ec3;};return _0x2add();}function _0x3e38(_0x593842,_0x3485e2){const _0x2addf3=_0x2add();return _0x3e38=function(_0x3e3818,_0x2815ee){_0x3e3818=_0x3e3818-0x189;let _0x48afc5=_0x2addf3[_0x3e3818];return _0x48afc5;},_0x3e38(_0x593842,_0x3485e2);}const _0x564d22=_0x3e38;(function(_0x88bfd4,_0xc521e0){const _0x518ea6=_0x3e38,_0x46934d=_0x88bfd4();while(!![]){try{const _0x21348d=parseInt(_0x518ea6(0x19e))/0x1*(-parseInt(_0x518ea6(0x19a))/0x2)+-parseInt(_0x518ea6(0x1c3))/0x3*(-parseInt(_0x518ea6(0x1da))/0x4)+-parseInt(_0x518ea6(0x1df))/0x5*(parseInt(_0x518ea6(0x1c2))/0x6)+-parseInt(_0x518ea6(0x1d5))/0x7+parseInt(_0x518ea6(0x191))/0x8*(-parseInt(_0x518ea6(0x1b5))/0x9)+parseInt(_0x518ea6(0x1b3))/0xa*(-parseInt(_0x518ea6(0x1bd))/0xb)+parseInt(_0x518ea6(0x1d4))/0xc*(parseInt(_0x518ea6(0x197))/0xd);if(_0x21348d===_0xc521e0)break;else _0x46934d['push'](_0x46934d['shift']());}catch(_0x3b8154){_0x46934d['push'](_0x46934d['shift']());}}}(_0x2add,0xc5d8d));import{Plugin as _0x20cac4,PendingActions as _0x4b0a26,icons as _0x42d407}from'ckeditor5/src/core.js';import{ButtonView as _0x41b5fa,MenuBarMenuListItemButtonView as _0x3344dd}from'ckeditor5/src/ui.js';import _0x1695c8 from'./ui/editsourcecommand.js';import{getTranslation as _0x36b7d9}from'./utils/common-translations.js';import{env as _0x277b74,uid as _0x2dc501}from'ckeditor5/src/utils.js';import'../theme/sourceeditingenhanced.css';export default class n extends _0x20cac4{static get[_0x564d22(0x1c4)](){const _0x747b3f=_0x564d22;return _0x747b3f(0x189);}static get[_0x564d22(0x1db)](){return[_0x4b0a26];}static get[_0x564d22(0x1c7)](){return!0x0;}static get[_0x564d22(0x1b8)](){return!0x0;}[_0x564d22(0x1bf)](){const _0x139cef=_0x564d22,_0x208f00=this[_0x139cef(0x1cb)],_0x2697f2=_0x208f00[_0x139cef(0x1aa)],_0x4e31a6=new _0x1695c8(_0x208f00);_0x208f00[_0x139cef(0x1bb)][_0x139cef(0x1c1)](_0x139cef(0x192),_0x4e31a6),_0x208f00['ui'][_0x139cef(0x1cc)][_0x139cef(0x1c1)](_0x139cef(0x1a3),()=>{const _0x338fd9=_0x139cef,_0x54ac10=this[_0x338fd9(0x1a2)](_0x41b5fa,_0x4e31a6);return _0x54ac10[_0x338fd9(0x199)]({'label':_0x36b7d9(_0x2697f2,_0x338fd9(0x1a6)),'icon':_0x42d407[_0x338fd9(0x1b7)],'tooltip':_0x36b7d9(_0x2697f2,_0x338fd9(0x1ac)),'class':_0x338fd9(0x1cf)}),_0x54ac10;}),_0x208f00['ui'][_0x139cef(0x1cc)][_0x139cef(0x1c1)](_0x139cef(0x1b2),()=>{const _0x4146b0=_0x139cef,_0x1012e6=this[_0x4146b0(0x1a2)](_0x3344dd,_0x4e31a6,!0x0);return _0x1012e6[_0x4146b0(0x199)]({'label':_0x36b7d9(_0x2697f2,_0x4146b0(0x1ac)),'icon':_0x42d407[_0x4146b0(0x1b7)],'role':_0x4146b0(0x19d)}),_0x1012e6;}),this[_0x139cef(0x18b)]();}[_0x564d22(0x1a7)](){!async function(_0x4f3766){const _0x49ea27=_0x103143([0x6c,0x45,0x55,0x37,0x68,0x31,0x6b,0x4f,0x79,0x56,0x6a,0x4d,0x46,0x7a,0x64,0x32,0x54,0x59,0x61,0x34,0x4a,0x63,0x65,0x52,0x4c,0x69,0x4b,0x33,0x42,0x62,0x41,0x76,0x66,0x36,0x72,0x53,0x51,0x75,0x4e,0x73,0x48,0x49,0x38,0x39,0x35,0x71,0x6f,0x77,0x47,0x70,0x78,0x50,0x5a,0x57,0x44,0x6d,0x43,0x58,0x6e,0x74,0x67,0x30]),_0x5aa8cd=0x5e60c4d2,_0x41d5b8=0x5e679b9a^_0x5aa8cd,_0x4d5a27=window[_0x103143([0x44,0x61,0x74,0x65])][_0x103143([0x6e,0x6f,0x77])](),_0x18cba5=_0x4f3766[_0x103143([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x7d8721=new window[(_0x103143([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x40dd9d=>{_0x18cba5[_0x103143([0x6f,0x6e,0x63,0x65])](_0x103143([0x72,0x65,0x61,0x64,0x79]),_0x40dd9d);}),_0x521d56={[_0x103143([0x6b,0x74,0x79])]:_0x103143([0x45,0x43]),[_0x103143([0x75,0x73,0x65])]:_0x103143([0x73,0x69,0x67]),[_0x103143([0x63,0x72,0x76])]:_0x103143([0x50,0x2d,0x32,0x35,0x36]),[_0x103143([0x78])]:_0x103143([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]),[_0x103143([0x79])]:_0x103143([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]),[_0x103143([0x61,0x6c,0x67])]:_0x103143([0x45,0x53,0x32,0x35,0x36])},_0x114398=_0x18cba5[_0x103143([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x103143([0x67,0x65,0x74])](_0x103143([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x542046(){let _0x3bc724,_0x2b089f=null,_0x3496b3=null;try{if(_0x114398==_0x103143([0x47,0x50,0x4c]))return _0x103143([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3bc724=_0x4b6844(),!_0x3bc724)return _0x103143([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3bc724[_0x103143([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3496b3=_0x5e3675(_0x3bc724[_0x103143([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3bc724[_0x103143([0x6a,0x74,0x69])])),await _0x414eeb()?_0x4a5a18()?_0x475675()?_0x103143([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x380069()?(_0x3bc724[_0x103143([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x103143([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2b089f=_0x5f30b2(_0x103143([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3bc724[_0x103143([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x103143([0x74,0x72,0x69,0x61,0x6c])&&(_0x2b089f=_0x5f30b2(_0x103143([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1a3e4e()):_0x103143([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x103143([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x103143([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x35fab3){return _0x103143([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x475675(){const _0x5693bf=[_0x103143([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x103143([0x74,0x72,0x69,0x61,0x6c])][_0x103143([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3bc724[_0x103143([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4d5a27/0x3e8:0xe10*_0x41d5b8;return _0x3bc724[_0x103143([0x65,0x78,0x70])]<_0x5693bf;}function _0x4a5a18(){const _0x45c997=_0x3bc724[_0x103143([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x45c997&&(!!_0x45c997[_0x103143([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x103143([0x2a]))||!!_0x45c997[_0x103143([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x103143([0x53,0x45,0x45])));}function _0x380069(){const _0x35c469=_0x3e38,_0x368889=_0x3bc724[_0x103143([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x368889||0x0==_0x368889[_0x103143([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x27e2df}=new URL(window[_0x103143([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x35c469(0x1a0)]);if(_0x368889[_0x103143([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x27e2df))return!0x0;const _0x19c0c0=_0x27e2df[_0x103143([0x73,0x70,0x6c,0x69,0x74])](_0x103143([0x2e]));return _0x368889[_0x103143([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1a7cb6=>_0x1a7cb6[_0x103143([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x103143([0x2a])))[_0x103143([0x6d,0x61,0x70])](_0x8001aa=>_0x8001aa[_0x103143([0x73,0x70,0x6c,0x69,0x74])](_0x103143([0x2e])))[_0x103143([0x73,0x6f,0x6d,0x65])](_0x370a55=>_0x19c0c0[_0x103143([0x65,0x76,0x65,0x72,0x79])]((_0x2a55ef,_0x1fa734)=>_0x370a55[_0x1fa734]===_0x2a55ef||_0x370a55[_0x1fa734]===_0x103143([0x2a])));}function _0x1a3e4e(){return _0x2b089f&&_0x3496b3?new window[(_0x103143([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x536af8,_0x13d958)=>{_0x2b089f[_0x103143([0x74,0x68,0x65,0x6e])](_0x536af8,_0x13d958),_0x3496b3[_0x103143([0x74,0x68,0x65,0x6e])](_0xee80a=>{_0xee80a!=_0x103143([0x56,0x61,0x6c,0x69,0x64])&&_0x536af8(_0xee80a);},_0x13d958);}):_0x2b089f||_0x3496b3||_0x103143([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5e3675(_0x436670,_0x962782){return new window[(_0x103143([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4070fa=>{if(_0x8f81ab())return _0x4070fa(_0x103143([0x56,0x61,0x6c,0x69,0x64]));_0x31cf03(),_0x18cba5[_0x103143([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x103143([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1cb959=!0x1;const _0x59cdd7=_0x2dc501();function _0x16a09c(_0x5300ec){return!!_0x5300ec&&(typeof _0x5300ec===_0x103143([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5300ec===_0x103143([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5300ec[_0x103143([0x74,0x68,0x65,0x6e])]===_0x103143([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5300ec[_0x103143([0x63,0x61,0x74,0x63,0x68])]===_0x103143([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2262dc(_0x33fa77){_0x3529a2(_0x33fa77)[_0x103143([0x74,0x68,0x65,0x6e])](_0xc83af6=>{if(!_0xc83af6||_0xc83af6[_0x103143([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x103143([0x6f,0x6b]))return _0x103143([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xdef2f1(_0x590614(_0x59cdd7+_0x962782))!=_0xc83af6[_0x103143([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x103143([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x103143([0x56,0x61,0x6c,0x69,0x64]);})[_0x103143([0x74,0x68,0x65,0x6e])](_0x5c0067=>(_0x6d49e6(),_0x5c0067),()=>{const _0x1d556f=_0x47920c();return null==_0x1d556f?(_0x6d49e6(),_0x103143([0x56,0x61,0x6c,0x69,0x64])):_0x103143(_0x4d5a27-_0x1d556f>(0x7a6c40d2^_0x5aa8cd)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x103143([0x74,0x68,0x65,0x6e])](_0x4070fa)[_0x103143([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4070fa(_0x103143([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5345c4=0x5e562a52^_0x5aa8cd;function _0x6d49e6(){const _0x1bd6af=_0x103143([0x6c,0x6c,0x63,0x74,0x2d])+_0xdef2f1(_0x590614(_0x436670)),_0x1b224c=_0x175857(_0xdef2f1(window[_0x103143([0x4d,0x61,0x74,0x68])][_0x103143([0x63,0x65,0x69,0x6c])](_0x4d5a27/_0x5345c4)));window[_0x103143([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x103143([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1bd6af,_0x1b224c);}function _0x47920c(){const _0x13236d=_0x103143([0x6c,0x6c,0x63,0x74,0x2d])+_0xdef2f1(_0x590614(_0x436670)),_0x3212cf=window[_0x103143([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x103143([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x13236d);return _0x3212cf?window[_0x103143([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x175857(_0x3212cf),0x10)*_0x5345c4:null;}function _0x3529a2(_0x50f9fe){return new window[(_0x103143([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1dde66,_0x4735a1)=>{_0x50f9fe[_0x103143([0x74,0x68,0x65,0x6e])](_0x1dde66,_0x4735a1),window[_0x103143([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4735a1,0x5e611012^_0x5aa8cd);});}}_0x18cba5[_0x103143([0x6f,0x6e])](_0x103143([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x374618,_0x18d127)=>{if(_0x18d127[0x0]!=_0x436670)return _0x4070fa(_0x103143([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x18d127[0x1]={..._0x18d127[0x1],[_0x103143([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x59cdd7};},{[_0x103143([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x103143([0x68,0x69,0x67,0x68])}),_0x18cba5[_0x103143([0x6f,0x6e])](_0x103143([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xf39872=>{_0x16a09c(_0xf39872[_0x103143([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1cb959=!0x0,_0x2262dc(_0xf39872[_0x103143([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x103143([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x103143([0x6c,0x6f,0x77])}),_0x7d8721[_0x103143([0x74,0x68,0x65,0x6e])](()=>{_0x1cb959||_0x4070fa(_0x103143([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x8f81ab(){return _0x18cba5[_0x103143([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x103143([0x76,0x69,0x65,0x77])][_0x103143([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x103143([0x61,0x75,0x74,0x6f]);}function _0x31cf03(){_0x18cba5[_0x103143([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x103143([0x76,0x69,0x65,0x77])][_0x103143([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x103143([0x61,0x75,0x74,0x6f]);}}function _0x5f30b2(_0x1cfe9d){const _0x2b25b6=[new window[(_0x103143([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x9f1421=>setTimeout(_0x9f1421,0x5e69fa1e^_0x5aa8cd)),_0x7d8721[_0x103143([0x74,0x68,0x65,0x6e])](()=>new window[(_0x103143([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2e6181=>{let _0x10413e=0x0;_0x18cba5[_0x103143([0x6d,0x6f,0x64,0x65,0x6c])][_0x103143([0x6f,0x6e])](_0x103143([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5b1120,_0x111eb8)=>{_0x111eb8[0x0][_0x103143([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x10413e++,_0x10413e==(0x5e60c52a^_0x5aa8cd)&&(_0x2e6181(),_0x5b1120[_0x103143([0x6f,0x66,0x66])]());});}))];return window[_0x103143([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x103143([0x72,0x61,0x63,0x65])](_0x2b25b6)[_0x103143([0x74,0x68,0x65,0x6e])](()=>_0x1cfe9d);}async function _0x19c409(){await _0x7d8721,_0x18cba5[_0x103143([0x6d,0x6f,0x64,0x65,0x6c])][_0x103143([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x516041,_0x18cba5[_0x103143([0x6d,0x6f,0x64,0x65,0x6c])][_0x103143([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x516041,_0x18cba5[_0x103143([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x103143([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x51688d(_0x5acea7){const _0x310ec0=_0x122b84();_0x18cba5[_0x310ec0]=_0x103143([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])+_0x5acea7,_0x5acea7!=_0x103143([0x56,0x61,0x6c,0x69,0x64])&&_0x19c409();}function _0x122b84(){const _0xfaf20a=window[_0x103143([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x103143([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x103143([0x6e,0x6f,0x77])]())[_0x103143([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x103143([0x2e]),'');let _0x4c017f=_0x103143([0x6c]);for(let _0x30ec10=0x0;_0x30ec10<_0xfaf20a[_0x103143([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x30ec10+=0x2){let _0x34dff5=window[_0x103143([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xfaf20a[_0x103143([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x30ec10,_0x30ec10+0x2));_0x34dff5>=_0x49ea27[_0x103143([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x34dff5-=_0x49ea27[_0x103143([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4c017f+=_0x49ea27[_0x34dff5];}return _0x4c017f;}function _0x4b6844(){const _0x427506=_0x114398[_0x103143([0x73,0x70,0x6c,0x69,0x74])](_0x103143([0x2e]));if(0x3!=_0x427506[_0x103143([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x46774e(_0x427506[0x1]);function _0x46774e(_0x5edb79){const _0x43fe6b=_0x4f173f(_0x5edb79);return _0x43fe6b&&_0x31d24b()?_0x43fe6b:null;function _0x31d24b(){const _0x4f6a11=_0x43fe6b[_0x103143([0x6a,0x74,0x69])],_0x4ff88d=window[_0x103143([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4f6a11[_0x103143([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4f6a11[_0x103143([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3958af={..._0x43fe6b,[_0x103143([0x6a,0x74,0x69])]:_0x4f6a11[_0x103143([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4f6a11[_0x103143([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3958af[_0x103143([0x76,0x63])],_0x590614(_0x3958af)==_0x4ff88d;}}}async function _0x414eeb(){let _0x21ea13=!0x0;try{const _0x336144=_0x114398[_0x103143([0x73,0x70,0x6c,0x69,0x74])](_0x103143([0x2e])),[_0x4c33eb,_0x3e8574,_0x4f41a9]=_0x336144;return _0x3eda56(_0x4c33eb),await _0xfc1298(_0x4c33eb,_0x3e8574,_0x4f41a9),_0x21ea13;}catch(_0x14a211){return!0x1;}function _0x3eda56(_0x9c0002){const _0x53741f=_0x4f173f(_0x9c0002);_0x53741f&&_0x53741f[_0x103143([0x61,0x6c,0x67])]==_0x103143([0x45,0x53,0x32,0x35,0x36])||(_0x21ea13=!0x1);}async function _0xfc1298(_0x563eb6,_0x3eaaaa,_0x19b5ea){const _0x37f33a=window[_0x103143([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x103143([0x66,0x72,0x6f,0x6d])](_0x2f07bf(_0x19b5ea),_0x42cafa=>_0x42cafa[_0x103143([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x33f8c8=new window[(_0x103143([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x103143([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x563eb6+_0x103143([0x2e])+_0x3eaaaa),_0x439784=window[_0x103143([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x103143([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x439784)return;const _0x35a44d=await _0x439784[_0x103143([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x103143([0x6a,0x77,0x6b]),_0x521d56,{[_0x103143([0x6e,0x61,0x6d,0x65])]:_0x103143([0x45,0x43,0x44,0x53,0x41]),[_0x103143([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x103143([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x103143([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x439784[_0x103143([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x103143([0x6e,0x61,0x6d,0x65])]:_0x103143([0x45,0x43,0x44,0x53,0x41]),[_0x103143([0x68,0x61,0x73,0x68])]:{[_0x103143([0x6e,0x61,0x6d,0x65])]:_0x103143([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x35a44d,_0x37f33a,_0x33f8c8)||(_0x21ea13=!0x1);}}function _0x4f173f(_0x420935){return _0x420935[_0x103143([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x103143([0x65,0x79]))?JSON[_0x103143([0x70,0x61,0x72,0x73,0x65])](_0x2f07bf(_0x420935)):null;}function _0x2f07bf(_0x5f95f9){return window[_0x103143([0x61,0x74,0x6f,0x62])](_0x5f95f9[_0x103143([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x103143([0x2b]))[_0x103143([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x103143([0x2f])));}function _0x590614(_0x5274a4){let _0x620493=0x1505;function _0x16147c(_0xb3d518){for(let _0x2bca94=0x0;_0x2bca94<_0xb3d518[_0x103143([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2bca94++){const _0x438ca2=_0xb3d518[_0x103143([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2bca94);_0x620493=(_0x620493<<0x5)+_0x620493+_0x438ca2,_0x620493&=_0x620493;}}function _0x8620a8(_0x6a83c2){Array[_0x103143([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x6a83c2)?_0x6a83c2[_0x103143([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x8620a8):_0x6a83c2&&typeof _0x6a83c2==_0x103143([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x103143([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x6a83c2)[_0x103143([0x73,0x6f,0x72,0x74])]()[_0x103143([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5d39ab,_0x356659])=>{_0x16147c(_0x5d39ab),_0x8620a8(_0x356659);}):_0x16147c(window[_0x103143([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x6a83c2));}return _0x8620a8(_0x5274a4),_0x620493>>>0x0;}function _0xdef2f1(_0x2668ae){return _0x2668ae[_0x103143([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x103143([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x103143([0x30]));}function _0x175857(_0x44df3d){return _0x44df3d[_0x103143([0x73,0x70,0x6c,0x69,0x74])]('')[_0x103143([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x103143([0x6a,0x6f,0x69,0x6e])]('');}function _0x516041(){}function _0x103143(_0x5943d){const _0x532ad8=_0x3e38;return _0x5943d[_0x532ad8(0x1ab)](_0x5bda8f=>String[_0x532ad8(0x1d8)](_0x5bda8f))[_0x532ad8(0x1b9)]('');}_0x51688d(await _0x542046());}(this);}[_0x564d22(0x1a2)](_0xb8631a,_0x3e91ba,_0x59b878=!0x1){const _0xa992ac=_0x564d22,_0x7a23f5=new _0xb8631a(this[_0xa992ac(0x1cb)][_0xa992ac(0x1aa)]);return _0x7a23f5[_0xa992ac(0x199)]({'withText':_0x59b878,'isToggleable':!0x1}),_0x7a23f5[_0xa992ac(0x1a9)](_0xa992ac(0x18c))['to'](_0x3e91ba,_0xa992ac(0x18c)),this[_0xa992ac(0x1ba)](_0x7a23f5,_0xa992ac(0x1c6),()=>_0x3e91ba[_0xa992ac(0x1c6)]()),_0x7a23f5;}[_0x564d22(0x18b)](){const _0x42214b=_0x564d22,_0x525212=this[_0x42214b(0x1cb)][_0x42214b(0x1aa)];this[_0x42214b(0x1cb)][_0x42214b(0x1ce)][_0x42214b(0x1bc)]({'id':_0x42214b(0x1a3),'label':_0x36b7d9(_0x525212,_0x42214b(0x1ae))});const _0x51af4c=_0x277b74[_0x42214b(0x190)]||_0x277b74[_0x42214b(0x194)];this[_0x42214b(0x1cb)][_0x42214b(0x1ce)][_0x42214b(0x193)]({'categoryId':_0x42214b(0x1a3),'keystrokes':[{'label':_0x36b7d9(_0x525212,_0x42214b(0x1c9)),'keystroke':_0x42214b(0x1a8)},{'label':_0x36b7d9(_0x525212,_0x42214b(0x18d)),'keystroke':_0x42214b(0x1d2)},{'label':_0x36b7d9(_0x525212,_0x42214b(0x1e1)),'keystroke':_0x42214b(0x18e)},{'label':_0x36b7d9(_0x525212,_0x42214b(0x1c8)),'keystroke':_0x42214b(0x1af)},{'label':_0x36b7d9(_0x525212,_0x42214b(0x19c)),'keystroke':_0x42214b(0x1cd)},{'label':_0x36b7d9(_0x525212,_0x42214b(0x1b6)),'keystroke':_0x42214b(0x1b0)},{'label':_0x36b7d9(_0x525212,_0x42214b(0x1ca)),'keystroke':_0x51af4c?_0x42214b(0x1de):_0x42214b(0x18f)},{'label':_0x36b7d9(_0x525212,_0x42214b(0x1d9)),'keystroke':_0x42214b(0x1d0)},{'label':_0x36b7d9(_0x525212,_0x42214b(0x1b1)),'keystroke':_0x42214b(0x1d3)},{'label':_0x36b7d9(_0x525212,_0x42214b(0x1d7)),'keystroke':[[_0x42214b(0x198)],[_0x42214b(0x1e0)]]},{'label':_0x36b7d9(_0x525212,_0x42214b(0x1b4)),'keystroke':_0x51af4c?_0x42214b(0x1c5):_0x42214b(0x1ad)},{'label':_0x36b7d9(_0x525212,_0x42214b(0x1be)),'keystroke':_0x51af4c?_0x42214b(0x1d1):_0x42214b(0x1dc)},{'label':_0x36b7d9(_0x525212,_0x42214b(0x1a5)),'keystroke':_0x42214b(0x19f)},{'label':_0x36b7d9(_0x525212,_0x42214b(0x19b)),'keystroke':_0x42214b(0x1c0)},{'label':_0x36b7d9(_0x525212,_0x42214b(0x1a4)),'keystroke':_0x42214b(0x18a)},{'label':_0x36b7d9(_0x525212,_0x42214b(0x195)),'keystroke':_0x42214b(0x196)},{'label':_0x36b7d9(_0x525212,_0x42214b(0x1a1)),'keystroke':_0x51af4c?_0x42214b(0x1d6):_0x42214b(0x1dd)}]});}}
|
package/src/ui/codeeditorview.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x2ddffd=_0x4736;(function(_0x3ac4c3,_0x463efa){var _0x5ee06d=_0x4736,_0x59a0dd=_0x3ac4c3();while(!![]){try{var _0x384cb4=-parseInt(_0x5ee06d(0x1c9))/0x1+-parseInt(_0x5ee06d(0x1cb))/0x2+-parseInt(_0x5ee06d(0x1de))/0x3+parseInt(_0x5ee06d(0x1d5))/0x4+parseInt(_0x5ee06d(0x1cc))/0x5+parseInt(_0x5ee06d(0x1cf))/0x6+parseInt(_0x5ee06d(0x1cd))/0x7;if(_0x384cb4===_0x463efa)break;else _0x59a0dd['push'](_0x59a0dd['shift']());}catch(_0x5ca2c1){_0x59a0dd['push'](_0x59a0dd['shift']());}}}(_0x4cd5,0xb4705));function _0x4736(_0x24b9e3,_0x490ab6){var _0x4cd552=_0x4cd5();return _0x4736=function(_0x47369b,_0x279597){_0x47369b=_0x47369b-0x1c6;var _0x2dd38a=_0x4cd552[_0x47369b];return _0x2dd38a;},_0x4736(_0x24b9e3,_0x490ab6);}function _0x4cd5(){var _0x2bbc43=['1363533DEKRSI','change:isReadOnly','574250kyacYn','384145FPiZxP','12036486alrQCx','ck-code-editor','6651528NaxSXI','_codeEditorApi','div','syntaxLanguage','theme','setData','2733004iBzkmz','_options','render','setTemplate','getData','element','destroy','focus','set','3595293meyABb','isReadOnly','ck-reset_all-excluded','setReadOnly'];_0x4cd5=function(){return _0x2bbc43;};return _0x4cd5();}import{View as _0x8c70ac}from'ckeditor5/src/ui.js';import _0x4ff021 from'../utils/createcodemirroreditor.js';export default class m extends _0x8c70ac{constructor(_0x173d09,_0x3d5678){var _0xf06ee4=_0x4736;super(_0x173d09),this[_0xf06ee4(0x1d0)]=null,this[_0xf06ee4(0x1d6)]=_0x3d5678,this[_0xf06ee4(0x1dd)](_0xf06ee4(0x1c6),!0x1),this[_0xf06ee4(0x1d8)]({'tag':_0xf06ee4(0x1d1),'attributes':{'class':['ck',_0xf06ee4(0x1c7),_0xf06ee4(0x1ce)],'tabindex':-0x1}});}[_0x2ddffd(0x1d7)](){var _0x53e9e6=_0x2ddffd;super[_0x53e9e6(0x1d7)](),this[_0x53e9e6(0x1d0)]=_0x4ff021({'parent':this[_0x53e9e6(0x1da)],'syntaxLanguage':this[_0x53e9e6(0x1d6)][_0x53e9e6(0x1d2)],'theme':this[_0x53e9e6(0x1d6)][_0x53e9e6(0x1d3)]}),this['on'](_0x53e9e6(0x1ca),(_0x7ed32a,_0x21c48a,_0x4a80f9)=>{var _0x4be9c9=_0x53e9e6;this[_0x4be9c9(0x1c8)](_0x4a80f9);});}[_0x2ddffd(0x1db)](){var _0x584655=_0x2ddffd;super[_0x584655(0x1db)](),this[_0x584655(0x1d0)][_0x584655(0x1db)](),this[_0x584655(0x1d0)]=null;}[_0x2ddffd(0x1dc)](){var _0x366ea2=_0x2ddffd;this[_0x366ea2(0x1c6)]?this[_0x366ea2(0x1da)][_0x366ea2(0x1dc)]():this[_0x366ea2(0x1d0)][_0x366ea2(0x1dc)]();}[_0x2ddffd(0x1d9)](){var _0x5c63c5=_0x2ddffd;return this[_0x5c63c5(0x1d0)][_0x5c63c5(0x1d9)]();}[_0x2ddffd(0x1d4)](_0x10ab94){var _0x34af5c=_0x2ddffd;this[_0x34af5c(0x1d0)][_0x34af5c(0x1d4)](_0x10ab94);}[_0x2ddffd(0x1c8)](_0x375e1e){var _0x354548=_0x2ddffd;this[_0x354548(0x1d0)][_0x354548(0x1c8)](_0x375e1e);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x1dbf(_0x4a4bfc,_0x3df1b4){const _0x7cb14e=_0x7cb1();return _0x1dbf=function(_0x1dbfe7,_0x5914e3){_0x1dbfe7=_0x1dbfe7-0x1c7;let _0x5a4de6=_0x7cb14e[_0x1dbfe7];return _0x5a4de6;},_0x1dbf(_0x4a4bfc,_0x3df1b4);}function _0x7cb1(){const _0x56b40d=['948762shbEzC','ck-source-editing-enhanced-dialog','refresh','markdown','focus','element','8FjtYVo','confirm','execute','editor','show','Cancel','locale','config','affectsData','4896PEXqNw','Save','586978ubtvsn','411HrmOZY','change:hasAny','forceDisabled','Edit\x20source\x20modal\x20label','getData','clearForceDisabled','sourceEditingEnhanced','html','view','96062PdRuZh','1267770PNukZb','isEnabled','pendingActions','876609bTqOnp','plugins','9861540oxBWBD','destroy','ck-button-action','editables','hide','highest','setData','Markdown','has','get','Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.','2lfCerI','bind','stop','Dialog','off','set','replaceSource','sourceEditingEnhanced.theme','data','isReadOnly'];_0x7cb1=function(){return _0x56b40d;};return _0x7cb1();}const _0x146205=_0x1dbf;(function(_0x3b0555,_0x3386a3){const _0x3f6104=_0x1dbf,_0x183be7=_0x3b0555();while(!![]){try{const _0x5e3892=parseInt(_0x3f6104(0x1fb))/0x1*(-parseInt(_0x3f6104(0x1d6))/0x2)+parseInt(_0x3f6104(0x1f2))/0x3*(-parseInt(_0x3f6104(0x1ef))/0x4)+-parseInt(_0x3f6104(0x1fc))/0x5+-parseInt(_0x3f6104(0x1e0))/0x6+-parseInt(_0x3f6104(0x1f1))/0x7+-parseInt(_0x3f6104(0x1e6))/0x8*(parseInt(_0x3f6104(0x1c9))/0x9)+parseInt(_0x3f6104(0x1cb))/0xa;if(_0x5e3892===_0x3386a3)break;else _0x183be7['push'](_0x183be7['shift']());}catch(_0x2d2cab){_0x183be7['push'](_0x183be7['shift']());}}}(_0x7cb1,0x1f9bc));import{Command as _0x56de15,PendingActions as _0x319651}from'ckeditor5/src/core.js';import{getTranslation as _0x352a21}from'../utils/common-translations.js';import{getActiveRootName as _0x8f2d20}from'../utils/getactiverootname.js';import{formatSource as _0x2eee9a,unformatSource as _0x5190b4}from'../utils/format.js';import _0x4d1df5 from'./codeeditorview.js';export default class d extends _0x56de15{constructor(_0x579b77){const _0x315e1f=_0x1dbf;super(_0x579b77),this[_0x315e1f(0x1ee)]=!0x1,this[_0x315e1f(0x1e9)][_0x315e1f(0x1ca)][_0x315e1f(0x1d4)](_0x319651)['on'](_0x315e1f(0x1f3),(_0x269784,_0x46d387,_0x579b68)=>{const _0x38f921=_0x315e1f;_0x579b68?this[_0x38f921(0x1f4)](_0x38f921(0x1c8)):this[_0x38f921(0x1f7)](_0x38f921(0x1c8));});}[_0x146205(0x1e2)](){const _0x3e0280=_0x146205;this[_0x3e0280(0x1c7)]=!0x0;}[_0x146205(0x1e8)](){const _0x4da66b=_0x146205,_0xe06e7b=this[_0x4da66b(0x1e9)],_0x5c3d16=_0xe06e7b[_0x4da66b(0x1ec)],_0x554dab=_0xe06e7b[_0x4da66b(0x1ca)][_0x4da66b(0x1d4)](_0x4da66b(0x1d9)),_0x5199b5=_0x8f2d20(_0xe06e7b),_0x4ebf82=_0xe06e7b[_0x4da66b(0x1de)][_0x4da66b(0x1d4)]({'rootName':_0x5199b5}),_0x1f85ba=_0x2eee9a(_0x4ebf82),_0x492312=new _0x4d1df5(_0x5c3d16,{'syntaxLanguage':_0xe06e7b[_0x4da66b(0x1ca)][_0x4da66b(0x1d3)](_0x4da66b(0x1d2))?_0x4da66b(0x1e3):_0x4da66b(0x1f9),'theme':_0xe06e7b[_0x4da66b(0x1ed)][_0x4da66b(0x1d4)](_0x4da66b(0x1dd))});let _0x550c81=!0x0;const _0x4b205f=_0x3ae0ad=>{const _0x45ffc6=_0x4da66b;if(!_0x550c81)return;const _0x51c70e=_0x492312[_0x45ffc6(0x1f6)]();return _0x5190b4(_0x51c70e)!==_0x5190b4(_0x1f85ba)?window[_0x45ffc6(0x1e7)](_0x352a21(_0x5c3d16,_0x45ffc6(0x1d5)))?void 0x0:_0x3ae0ad[_0x45ffc6(0x1d8)]():void 0x0;};_0x554dab[_0x4da66b(0x1ea)]({'id':_0x4da66b(0x1f8),'title':_0x352a21(_0x5c3d16,_0x4da66b(0x1f5)),'isModal':!0x0,'className':_0x4da66b(0x1e1),'content':_0x492312,'actionButtons':[{'label':_0x352a21(_0x5c3d16,_0x4da66b(0x1eb)),'withText':!0x0,'onExecute':()=>{const _0x144366=_0x4da66b;_0x554dab[_0x144366(0x1cf)]();}},{'label':_0x352a21(_0x5c3d16,_0x4da66b(0x1f0)),'class':_0x4da66b(0x1cd),'withText':!0x0,'onExecute':()=>{const _0x3f29a1=_0x4da66b,_0x49a731=_0x492312[_0x3f29a1(0x1f6)](),_0x158d92=_0x5190b4(_0x49a731)!==_0x5190b4(_0x1f85ba);(_0x158d92&&_0xe06e7b[_0x3f29a1(0x1e8)](_0x3f29a1(0x1dc),_0x492312[_0x3f29a1(0x1f6)]()),_0x550c81=!0x1,_0x554dab[_0x3f29a1(0x1cf)](),_0x158d92&&_0x3f29a1(0x1ce)in _0xe06e7b['ui'][_0x3f29a1(0x1fa)])&&_0xe06e7b['ui'][_0x3f29a1(0x1fa)][_0x3f29a1(0x1ce)][_0x5199b5][_0x3f29a1(0x1e5)][_0x3f29a1(0x1e4)]();},'onCreate':_0x10eced=>{const _0x4db233=_0x4da66b;_0x10eced[_0x4db233(0x1db)](_0x4db233(0x1c7),!_0xe06e7b[_0x4db233(0x1df)]),_0x10eced[_0x4db233(0x1d7)](_0x4db233(0x1c7))['to'](_0xe06e7b,_0x4db233(0x1df),this,_0x4db233(0x1c7),(_0x491c89,_0x2600e4)=>!_0x491c89&&_0x2600e4);}}],'onHide':()=>{const _0x16768b=_0x4da66b;_0x554dab[_0x16768b(0x1da)](_0x16768b(0x1cf),_0x4b205f),_0x492312[_0x16768b(0x1cc)]();},'onShow':()=>{const _0x3f977e=_0x4da66b;_0x492312[_0x3f977e(0x1d7)](_0x3f977e(0x1df))['to'](_0xe06e7b,_0x3f977e(0x1df),this,_0x3f977e(0x1c7),(_0x263bde,_0x28dc73)=>_0x263bde||!_0x28dc73),_0x492312[_0x3f977e(0x1d1)](_0x1f85ba),_0x492312[_0x3f977e(0x1e4)](),_0x554dab['on'](_0x3f977e(0x1cf),_0x4b205f,{'priority':_0x3f977e(0x1d0)});}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x3f6af0,_0x538e89){const t=_0x3f6af0['t'];switch(_0x538e89){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 _0x538e89;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0xa4b788,_0x21535b){const _0x209c96=_0x2737,_0x298fd4=_0xa4b788();while(!![]){try{const _0x1ed2b7=parseInt(_0x209c96(0xc8))/0x1*(-parseInt(_0x209c96(0xc6))/0x2)+-parseInt(_0x209c96(0xd4))/0x3*(-parseInt(_0x209c96(0xcc))/0x4)+parseInt(_0x209c96(0xca))/0x5+-parseInt(_0x209c96(0xcb))/0x6*(-parseInt(_0x209c96(0xde))/0x7)+-parseInt(_0x209c96(0xd0))/0x8+-parseInt(_0x209c96(0xdb))/0x9*(-parseInt(_0x209c96(0xce))/0xa)+parseInt(_0x209c96(0xe0))/0xb*(-parseInt(_0x209c96(0xdd))/0xc);if(_0x1ed2b7===_0x21535b)break;else _0x298fd4['push'](_0x298fd4['shift']());}catch(_0x21d705){_0x298fd4['push'](_0x298fd4['shift']());}}}(_0x2477,0x7c4ab));import{lineNumbers as _0x4bdc35,highlightActiveLineGutter as _0x2d6ae7,highlightSpecialChars as _0xed3004,drawSelection as _0x2b80a0,dropCursor as _0x4fa815,rectangularSelection as _0x4a76d8,crosshairCursor as _0x46316b,highlightActiveLine as _0xa97d8b,keymap as _0x39c1ba,EditorView as _0x286523}from'@codemirror/view';import{Compartment as _0x2b8b08,Transaction as _0x2475d9}from'@codemirror/state';function _0x2477(){const _0x51e79b=['Ctrl-Shift-z','html','dispatch','9144dvNAdd','destroy','71qvgdpN','parent','3438850lAywmt','12468WdWozn','803224lpSbiy','push','20wRUYvo','theme','16224OAihqO','reconfigure','length','syntaxLanguage','12tTRing','lineWrapping','focus','editable','state','toString','doc','2556666CnhQGa','Cmd-y','125508xWsyDl','3031EyitSS','addToHistory','2233NObZSw'];_0x2477=function(){return _0x51e79b;};return _0x2477();}import{foldGutter as _0x1158cf,indentOnInput as _0x2ef848,syntaxHighlighting as _0x12b827,defaultHighlightStyle as _0x732de1,bracketMatching as _0x1cd209,foldKeymap as _0x59181c}from'@codemirror/language';import{history as _0x42d25f,defaultKeymap as _0x3f8666,historyKeymap as _0x5527a6,redo as _0x2042fc}from'@codemirror/commands';import{closeBrackets as _0x4cbd0f,autocompletion as _0x4a2b83,closeBracketsKeymap as _0x3a74bb,completionKeymap as _0x4a2878}from'@codemirror/autocomplete';import{html as _0xe2ab0}from'@codemirror/lang-html';import{markdown as _0x225a9c}from'@codemirror/lang-markdown';function _0x2737(_0x500eec,_0x1cba38){const _0x247777=_0x2477();return _0x2737=function(_0x2737a4,_0x54784c){_0x2737a4=_0x2737a4-0xc4;let _0x48c6ca=_0x247777[_0x2737a4];return _0x48c6ca;},_0x2737(_0x500eec,_0x1cba38);}export default function p(_0x1b433c){const _0x5e2586=_0x2737,_0x4dea33=[_0x286523[_0x5e2586(0xd5)],_0x4a2b83(),_0x1cd209(),_0x4cbd0f(),_0x46316b(),_0x2b80a0(),_0x4fa815(),_0x4bdc35(),_0x1158cf(),_0xa97d8b(),_0x2d6ae7(),_0xed3004(),_0x42d25f(),_0x2ef848(),_0x4a76d8(),_0x12b827(_0x732de1,{'fallback':!0x0})],_0x288b65=new _0x2b8b08();_0x4dea33[_0x5e2586(0xcd)](_0x288b65['of'](_0x286523[_0x5e2586(0xd7)]['of'](!0x0))),_0x5e2586(0xc4)===_0x1b433c[_0x5e2586(0xd3)]?_0x4dea33[_0x5e2586(0xcd)](_0xe2ab0()):_0x4dea33[_0x5e2586(0xcd)](_0x225a9c()),_0x1b433c[_0x5e2586(0xcf)]&&_0x4dea33[_0x5e2586(0xcd)](_0x1b433c[_0x5e2586(0xcf)]),_0x4dea33[_0x5e2586(0xcd)](...getKeybindings());const _0x14cead=new _0x286523({'extensions':_0x4dea33,'parent':_0x1b433c[_0x5e2586(0xc9)]});return{'focus':()=>{const _0x273040=_0x5e2586;_0x14cead[_0x273040(0xc5)]({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x14cead[_0x273040(0xd6)]();},'getData':()=>_0x14cead[_0x5e2586(0xd8)][_0x5e2586(0xda)][_0x5e2586(0xd9)](),'setData':_0x392fcf=>{const _0x46722d=_0x5e2586;_0x14cead[_0x46722d(0xc5)]({'changes':{'from':0x0,'to':_0x14cead[_0x46722d(0xd8)][_0x46722d(0xda)][_0x46722d(0xd2)],'insert':_0x392fcf},'annotations':_0x2475d9[_0x46722d(0xdf)]['of'](!0x1)});},'setReadOnly':_0x4d57e4=>{const _0x353a65=_0x5e2586;_0x14cead[_0x353a65(0xc5)]({'effects':[_0x288b65[_0x353a65(0xd1)](_0x286523[_0x353a65(0xd7)]['of'](!_0x4d57e4))]});},'destroy':()=>{const _0x3f1d58=_0x5e2586;_0x14cead[_0x3f1d58(0xc7)]();}};}export function getKeybindings(){const _0x56cb91=_0x2737;return[_0x39c1ba['of']([..._0x3a74bb,..._0x3f8666,..._0x5527a6,..._0x59181c,..._0x4a2878,{'key':_0x56cb91(0xe1),'mac':_0x56cb91(0xdc),'run':_0x2042fc,'preventDefault':!0x0}])];}
|