@ckeditor/ckeditor5-source-editing-enhanced 0.0.0-nightly-20250203.0 → 0.0.0-nightly-20250204.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/dist/index.js +1 -1
- package/package.json +7 -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/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Command as _0x48f267,PendingActions as _0x4dc6f8,Plugin as _0x29aeed,icons as _0x29e01f}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0xedefac,env as _0x3a51f1,uid as _0x3e6c3c}from'@ckeditor/ckeditor5-utils/dist/index.js';import{View as _0x5f2d73,ButtonView as _0x58f2a3,MenuBarMenuListItemButtonView as _0x5d9693}from'@ckeditor/ckeditor5-ui/dist/index.js';import{EditorView as _0x2b3d52,crosshairCursor as _0x247f46,drawSelection as _0x5c12f9,dropCursor as _0x226371,lineNumbers as _0x5581e3,highlightActiveLine as _0x5ebc64,highlightActiveLineGutter as _0x4f0853,highlightSpecialChars as _0x90cbd9,rectangularSelection as _0x303fb8,keymap as _0x1a0efc}from'@codemirror/view';import{Compartment as _0x1e09d0,Transaction as _0x2bca57}from'@codemirror/state';import{bracketMatching as _0x28d60d,foldGutter as _0x31908d,indentOnInput as _0x336c5d,syntaxHighlighting as _0x21eace,defaultHighlightStyle as _0x5b109a,foldKeymap as _0x28df73}from'@codemirror/language';import{history as _0x183ea5,defaultKeymap as _0x107021,historyKeymap as _0x5b9042,redo as _0x379fb4}from'@codemirror/commands';import{autocompletion as _0x5c715e,closeBrackets as _0x3303b7,closeBracketsKeymap as _0x5a63fc,completionKeymap as _0x5b2f53}from'@codemirror/autocomplete';import{html as _0x43f159}from'@codemirror/lang-html';import{markdown as _0x286134}from'@codemirror/lang-markdown';function f(_0x18a941,_0x30b3c6){const t=_0x18a941['t'];switch(_0x30b3c6){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 _0x30b3c6;}}function o(_0x5efe5d){const _0x45122b=_0x5efe5d['editing']['view']['document']['roots'],_0x529108=_0x45122b['length'];if(0x0===_0x529108)throw new _0xedefac('source-editing-enhanced-editor-no-root',_0x5efe5d);if(0x1===_0x529108)return _0x45122b['first']['rootName'];return Array['from'](_0x5efe5d['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function g(_0x512061){return $(_0x512061)?function(_0x96ae83){const _0xe5e068=[{'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}],_0x485cf0=_0xe5e068['map'](_0x28142e=>_0x28142e['name'])['join']('|'),_0xb87a6=_0x96ae83['replace'](new RegExp('</?('+_0x485cf0+')(\x20.*?)?>','g'),'\x0a$&\x0a')['replace'](/<br[^>]*>/g,'$&\x0a')['split']('\x0a');let _0x94f8f8=0x0,_0x258ad1=!0x1;return _0xb87a6['filter'](_0x312835=>_0x312835['length'])['map'](_0x1fcdec=>(_0x258ad1=function(_0x286455,_0x213e28){return new RegExp('<pre(\x20.*?)?>')['test'](_0x286455)?'first':new RegExp('</pre>')['test'](_0x286455)?'last':('first'===_0x213e28||'middle'===_0x213e28)&&'middle';}(_0x1fcdec,_0x258ad1),function(_0x3f5ef8,_0x166385){return _0x166385['some'](_0x1cfa59=>!_0x1cfa59['isVoid']&&!!new RegExp('<'+_0x1cfa59['name']+'(\x20.*?)?>')['test'](_0x3f5ef8));}(_0x1fcdec,_0xe5e068)?X(_0x1fcdec,_0x94f8f8++):function(_0x417320,_0x274a16){return _0x274a16['some'](_0x14b2a2=>new RegExp('</'+_0x14b2a2['name']+'>')['test'](_0x417320));}(_0x1fcdec,_0xe5e068)?X(_0x1fcdec,--_0x94f8f8):'middle'===_0x258ad1||'last'===_0x258ad1?_0x1fcdec:X(_0x1fcdec,_0x94f8f8)))['join']('\x0a');}(_0x512061):_0x512061;}function E(_0x4f8f17){return $(_0x4f8f17['replace'](/^[\n\s]*/g,''))?_0x4f8f17['replace'](/\s+/g,''):_0x4f8f17;}function $(_0x4e5ca7){return _0x4e5ca7['startsWith']('<');}function X(_0x225b6a,_0x2dac40,_0x4f310d='\x20\x20\x20\x20'){return''+_0x4f310d['repeat'](Math['max'](0x0,_0x2dac40))+_0x225b6a;}function p(_0x4fcddf){const _0x13489e=[_0x2b3d52['lineWrapping'],_0x5c715e(),_0x28d60d(),_0x3303b7(),_0x247f46(),_0x5c12f9(),_0x226371(),_0x5581e3(),_0x31908d(),_0x5ebc64(),_0x4f0853(),_0x90cbd9(),_0x183ea5(),_0x336c5d(),_0x303fb8(),_0x21eace(_0x5b109a,{'fallback':!0x0})],_0x42ebe2=new _0x1e09d0();_0x13489e['push'](_0x42ebe2['of'](_0x2b3d52['editable']['of'](!0x0))),'html'===_0x4fcddf['syntaxLanguage']?_0x13489e['push'](_0x43f159()):_0x13489e['push'](_0x286134()),_0x4fcddf['theme']&&_0x13489e['push'](_0x4fcddf['theme']),_0x13489e['push'](_0x1a0efc['of']([..._0x5a63fc,..._0x107021,..._0x5b9042,..._0x28df73,..._0x5b2f53,{'key':'Ctrl-Shift-z','mac':'Cmd-y','run':_0x379fb4,'preventDefault':!0x0}]));const _0x3d5004=new _0x2b3d52({'extensions':_0x13489e,'parent':_0x4fcddf['parent']});return{'focus':()=>{_0x3d5004['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x3d5004['focus']();},'getData':()=>_0x3d5004['state']['doc']['toString'](),'setData':_0x785465=>{_0x3d5004['dispatch']({'changes':{'from':0x0,'to':_0x3d5004['state']['doc']['length'],'insert':_0x785465},'annotations':_0x2bca57['addToHistory']['of'](!0x1)});},'setReadOnly':_0x8a1fce=>{_0x3d5004['dispatch']({'effects':[_0x42ebe2['reconfigure'](_0x2b3d52['editable']['of'](!_0x8a1fce))]});},'destroy':()=>{_0x3d5004['destroy']();}};}class m extends _0x5f2d73{constructor(_0x4df126,_0x158aef){super(_0x4df126),this['_codeEditorApi']=null,this['_options']=_0x158aef,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',(_0x42fda0,_0x44bf17,_0x2138d5)=>{this['setReadOnly'](_0x2138d5);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0x175b06){this['_codeEditorApi']['setData'](_0x175b06);}['setReadOnly'](_0x4c8592){this['_codeEditorApi']['setReadOnly'](_0x4c8592);}}class d extends _0x48f267{constructor(_0x1decb5){super(_0x1decb5),this['affectsData']=!0x1,this['editor']['plugins']['get'](_0x4dc6f8)['on']('change:hasAny',(_0x5aed6d,_0x15d5ee,_0x1caed)=>{_0x1caed?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x18c885=this['editor'],_0x514cea=_0x18c885['locale'],_0x2d7280=_0x18c885['plugins']['get']('Dialog'),_0x394fe1=o(_0x18c885),_0x2f9a4c=g(_0x18c885['data']['get']({'rootName':_0x394fe1})),_0x3bafc3=new m(_0x514cea,{'syntaxLanguage':_0x18c885['plugins']['has']('Markdown')?'markdown':'html','theme':_0x18c885['config']['get']('sourceEditingEnhanced.theme')});let _0x5c6231=!0x0;const _0xc564a0=_0x403f71=>{if(!_0x5c6231)return;return E(_0x3bafc3['getData']())!==E(_0x2f9a4c)?window['confirm'](f(_0x514cea,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0x403f71['stop']():void 0x0;};_0x2d7280['show']({'id':'sourceEditingEnhanced','title':f(_0x514cea,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0x3bafc3,'actionButtons':[{'label':f(_0x514cea,'Cancel'),'withText':!0x0,'onExecute':()=>{_0x2d7280['hide']();}},{'label':f(_0x514cea,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0x278ac3=E(_0x3bafc3['getData']())!==E(_0x2f9a4c);(_0x278ac3&&_0x18c885['execute']('replaceSource',_0x3bafc3['getData']()),_0x5c6231=!0x1,_0x2d7280['hide'](),_0x278ac3&&'editables'in _0x18c885['ui']['view'])&&_0x18c885['ui']['view']['editables'][_0x394fe1]['element']['focus']();},'onCreate':_0x8ead53=>{_0x8ead53['set']('isEnabled',!_0x18c885['isReadOnly']),_0x8ead53['bind']('isEnabled')['to'](_0x18c885,'isReadOnly',this,'isEnabled',(_0x1c68c3,_0x4912e6)=>!_0x1c68c3&&_0x4912e6);}}],'onHide':()=>{_0x2d7280['off']('hide',_0xc564a0),_0x3bafc3['destroy']();},'onShow':()=>{_0x3bafc3['bind']('isReadOnly')['to'](_0x18c885,'isReadOnly',this,'isEnabled',(_0x3666b2,_0x29ceb0)=>_0x3666b2||!_0x29ceb0),_0x3bafc3['setData'](_0x2f9a4c),_0x3bafc3['focus'](),_0x2d7280['on']('hide',_0xc564a0,{'priority':'highest'});}});}}class n extends _0x29aeed{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[_0x4dc6f8];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x136078=this['editor'],_0x373d7e=_0x136078['locale'],_0x30fa7c=new d(_0x136078);_0x136078['commands']['add']('editSource',_0x30fa7c),_0x136078['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0x1cb08c=this['_createButton'](_0x58f2a3,_0x30fa7c);return _0x1cb08c['set']({'label':f(_0x373d7e,'Source'),'icon':_0x29e01f['source'],'tooltip':f(_0x373d7e,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0x1cb08c;}),_0x136078['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0x5c31e0=this['_createButton'](_0x5d9693,_0x30fa7c,!0x0);return _0x5c31e0['set']({'label':f(_0x373d7e,'Edit\x20source\x20modal\x20label'),'icon':_0x29e01f['source'],'role':'menuitemcheckbox'}),_0x5c31e0;}),this['_registerKeybindings']();}['afterInit'](){!async function(_0x4ce191){const _0x5d6a6e=_0x54b692([0x61,0x4d,0x64,0x57,0x35,0x4f,0x77,0x42,0x63,0x6c,0x74,0x36,0x30,0x34,0x41,0x59,0x44,0x38,0x72,0x68,0x71,0x65,0x39,0x6d,0x33,0x43,0x31,0x69,0x46,0x62,0x6e,0x54,0x79,0x32,0x56,0x4e,0x78,0x75,0x47,0x6f,0x53,0x4a,0x6b,0x55,0x5a,0x70,0x48,0x49,0x66,0x73,0x7a,0x50,0x6a,0x4b,0x4c,0x67,0x52,0x37,0x58,0x45,0x76,0x51]),_0x2fd383=0x379777bf,_0x247f6e=0x379029cf^_0x2fd383,_0x38c6a2=window[_0x54b692([0x44,0x61,0x74,0x65])][_0x54b692([0x6e,0x6f,0x77])](),_0x3feee7=_0x4ce191[_0x54b692([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x933180=new window[(_0x54b692([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x255db7=>{_0x3feee7[_0x54b692([0x6f,0x6e,0x63,0x65])](_0x54b692([0x72,0x65,0x61,0x64,0x79]),_0x255db7);}),_0x5f5d1d={[_0x54b692([0x6b,0x74,0x79])]:_0x54b692([0x45,0x43]),[_0x54b692([0x75,0x73,0x65])]:_0x54b692([0x73,0x69,0x67]),[_0x54b692([0x63,0x72,0x76])]:_0x54b692([0x50,0x2d,0x32,0x35,0x36]),[_0x54b692([0x78])]:_0x54b692([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]),[_0x54b692([0x79])]:_0x54b692([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]),[_0x54b692([0x61,0x6c,0x67])]:_0x54b692([0x45,0x53,0x32,0x35,0x36])},_0x117eb7=_0x3feee7[_0x54b692([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x54b692([0x67,0x65,0x74])](_0x54b692([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x209242(){let _0x29972a,_0x5f5d4a=null,_0x3acce6=null;try{if(_0x117eb7==_0x54b692([0x47,0x50,0x4c]))return _0x54b692([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x29972a=_0xa8cdda(),!_0x29972a)return _0x54b692([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x29972a[_0x54b692([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3acce6=_0xb48b66(_0x29972a[_0x54b692([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x29972a[_0x54b692([0x6a,0x74,0x69])])),await _0x52c7f5()?_0x41f72d()?_0x51980c()?_0x54b692([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5d683b()?(_0x29972a[_0x54b692([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x54b692([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5f5d4a=_0x459a71(_0x54b692([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x29972a[_0x54b692([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x54b692([0x74,0x72,0x69,0x61,0x6c])&&(_0x5f5d4a=_0x459a71(_0x54b692([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2eb3a8()):_0x54b692([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x54b692([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x54b692([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x387fc5){return _0x54b692([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x51980c(){const _0x2fb9ab=[_0x54b692([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x54b692([0x74,0x72,0x69,0x61,0x6c])][_0x54b692([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x29972a[_0x54b692([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x38c6a2/0x3e8:0xe10*_0x247f6e;return _0x29972a[_0x54b692([0x65,0x78,0x70])]<_0x2fb9ab;}function _0x41f72d(){const _0x1bd998=_0x29972a[_0x54b692([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1bd998&&(!!_0x1bd998[_0x54b692([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x54b692([0x2a]))||!!_0x1bd998[_0x54b692([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x54b692([0x53,0x45,0x45])));}function _0x5d683b(){const _0x5ed70c=_0x29972a[_0x54b692([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5ed70c||0x0==_0x5ed70c[_0x54b692([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5f4867}=new URL(window[_0x54b692([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x5ed70c[_0x54b692([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5f4867))return!0x0;const _0x1cc008=_0x5f4867[_0x54b692([0x73,0x70,0x6c,0x69,0x74])](_0x54b692([0x2e]));return _0x5ed70c[_0x54b692([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x59527c=>_0x59527c[_0x54b692([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x54b692([0x2a])))[_0x54b692([0x6d,0x61,0x70])](_0x1f9bef=>_0x1f9bef[_0x54b692([0x73,0x70,0x6c,0x69,0x74])](_0x54b692([0x2e])))[_0x54b692([0x73,0x6f,0x6d,0x65])](_0x991a4c=>_0x1cc008[_0x54b692([0x65,0x76,0x65,0x72,0x79])]((_0xe9e20b,_0xf816ca)=>_0x991a4c[_0xf816ca]===_0xe9e20b||_0x991a4c[_0xf816ca]===_0x54b692([0x2a])));}function _0x2eb3a8(){return _0x5f5d4a&&_0x3acce6?new window[(_0x54b692([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5a2686,_0x18a2ed)=>{_0x5f5d4a[_0x54b692([0x74,0x68,0x65,0x6e])](_0x5a2686,_0x18a2ed),_0x3acce6[_0x54b692([0x74,0x68,0x65,0x6e])](_0xc90cd2=>{_0xc90cd2!=_0x54b692([0x56,0x61,0x6c,0x69,0x64])&&_0x5a2686(_0xc90cd2);},_0x18a2ed);}):_0x5f5d4a||_0x3acce6||_0x54b692([0x56,0x61,0x6c,0x69,0x64]);}}function _0xb48b66(_0x376967,_0x2395d7){return new window[(_0x54b692([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x34ec6e=>{if(_0x4953ec())return _0x34ec6e(_0x54b692([0x56,0x61,0x6c,0x69,0x64]));_0x44b2dc(),_0x3feee7[_0x54b692([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x54b692([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5242c3=!0x1;const _0x13fae6=_0x3e6c3c();function _0x2ff05a(_0x147062){return!!_0x147062&&(typeof _0x147062===_0x54b692([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x147062===_0x54b692([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x147062[_0x54b692([0x74,0x68,0x65,0x6e])]===_0x54b692([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x147062[_0x54b692([0x63,0x61,0x74,0x63,0x68])]===_0x54b692([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1041fa(_0x218269){_0x265776(_0x218269)[_0x54b692([0x74,0x68,0x65,0x6e])](_0x3bf073=>{if(!_0x3bf073||_0x3bf073[_0x54b692([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x54b692([0x6f,0x6b]))return _0x54b692([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3d4fac(_0x410a4f(_0x13fae6+_0x2395d7))!=_0x3bf073[_0x54b692([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x54b692([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x54b692([0x56,0x61,0x6c,0x69,0x64]);})[_0x54b692([0x74,0x68,0x65,0x6e])](_0x195b06=>(_0x488aaf(),_0x195b06),()=>{const _0x32d451=_0x3e09f2();return null==_0x32d451?(_0x488aaf(),_0x54b692([0x56,0x61,0x6c,0x69,0x64])):_0x54b692(_0x38c6a2-_0x32d451>(0x139bf3bf^_0x2fd383)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x54b692([0x74,0x68,0x65,0x6e])](_0x34ec6e)[_0x54b692([0x63,0x61,0x74,0x63,0x68])](()=>{_0x34ec6e(_0x54b692([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x467673=0x37a1993f^_0x2fd383;function _0x488aaf(){const _0x4772a3=_0x54b692([0x6c,0x6c,0x63,0x74,0x2d])+_0x3d4fac(_0x410a4f(_0x376967)),_0x2e2ce3=_0x46c164(_0x3d4fac(window[_0x54b692([0x4d,0x61,0x74,0x68])][_0x54b692([0x63,0x65,0x69,0x6c])](_0x38c6a2/_0x467673)));window[_0x54b692([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x54b692([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4772a3,_0x2e2ce3);}function _0x3e09f2(){const _0x77e10=_0x54b692([0x6c,0x6c,0x63,0x74,0x2d])+_0x3d4fac(_0x410a4f(_0x376967)),_0xa6f5e6=window[_0x54b692([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x54b692([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x77e10);return _0xa6f5e6?window[_0x54b692([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x46c164(_0xa6f5e6),0x10)*_0x467673:null;}function _0x265776(_0x1d6280){return new window[(_0x54b692([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3c71d6,_0x2e47f4)=>{_0x1d6280[_0x54b692([0x74,0x68,0x65,0x6e])](_0x3c71d6,_0x2e47f4),window[_0x54b692([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2e47f4,0x3796a37f^_0x2fd383);});}}_0x3feee7[_0x54b692([0x6f,0x6e])](_0x54b692([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x39ddd5,_0x3d3b37)=>{if(_0x3d3b37[0x0]!=_0x376967)return _0x34ec6e(_0x54b692([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3d3b37[0x1]={..._0x3d3b37[0x1],[_0x54b692([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x13fae6};},{[_0x54b692([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x54b692([0x68,0x69,0x67,0x68])}),_0x3feee7[_0x54b692([0x6f,0x6e])](_0x54b692([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x15cb23=>{_0x2ff05a(_0x15cb23[_0x54b692([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5242c3=!0x0,_0x1041fa(_0x15cb23[_0x54b692([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x54b692([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x54b692([0x6c,0x6f,0x77])}),_0x933180[_0x54b692([0x74,0x68,0x65,0x6e])](()=>{_0x5242c3||_0x34ec6e(_0x54b692([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4953ec(){return _0x3feee7[_0x54b692([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x54b692([0x76,0x69,0x65,0x77])][_0x54b692([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x54b692([0x61,0x75,0x74,0x6f]);}function _0x44b2dc(){_0x3feee7[_0x54b692([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x54b692([0x76,0x69,0x65,0x77])][_0x54b692([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x54b692([0x61,0x75,0x74,0x6f]);}}function _0x459a71(_0x575fe8){const _0xd479a2=[new window[(_0x54b692([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1d1890=>setTimeout(_0x1d1890,0x379e4973^_0x2fd383)),_0x933180[_0x54b692([0x74,0x68,0x65,0x6e])](()=>new window[(_0x54b692([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4a5954=>{let _0x21bf48=0x0;_0x3feee7[_0x54b692([0x6d,0x6f,0x64,0x65,0x6c])][_0x54b692([0x6f,0x6e])](_0x54b692([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1eb7a5,_0x25e14d)=>{_0x25e14d[0x0][_0x54b692([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x21bf48++,_0x21bf48==(0x37977647^_0x2fd383)&&(_0x4a5954(),_0x1eb7a5[_0x54b692([0x6f,0x66,0x66])]());});}))];return window[_0x54b692([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x54b692([0x72,0x61,0x63,0x65])](_0xd479a2)[_0x54b692([0x74,0x68,0x65,0x6e])](()=>_0x575fe8);}async function _0x1d4ac8(){await _0x933180,_0x3feee7[_0x54b692([0x6d,0x6f,0x64,0x65,0x6c])][_0x54b692([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x51667f,_0x3feee7[_0x54b692([0x6d,0x6f,0x64,0x65,0x6c])][_0x54b692([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x51667f,_0x3feee7[_0x54b692([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x54b692([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x43d692(_0xda70f1){const _0x44f45b=_0x256b8f();_0x3feee7[_0x44f45b]=_0x54b692([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])+_0xda70f1,_0xda70f1!=_0x54b692([0x56,0x61,0x6c,0x69,0x64])&&_0x1d4ac8();}function _0x256b8f(){const _0x3992b5=window[_0x54b692([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x54b692([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x54b692([0x6e,0x6f,0x77])]())[_0x54b692([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x54b692([0x2e]),'');let _0x1a15f7=_0x54b692([0x61]);for(let _0x2d44ea=0x0;_0x2d44ea<_0x3992b5[_0x54b692([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2d44ea+=0x2){let _0x5edf1c=window[_0x54b692([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3992b5[_0x54b692([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2d44ea,_0x2d44ea+0x2));_0x5edf1c>=_0x5d6a6e[_0x54b692([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5edf1c-=_0x5d6a6e[_0x54b692([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1a15f7+=_0x5d6a6e[_0x5edf1c];}return _0x1a15f7;}function _0xa8cdda(){const _0x24e8c2=_0x117eb7[_0x54b692([0x73,0x70,0x6c,0x69,0x74])](_0x54b692([0x2e]));if(0x3!=_0x24e8c2[_0x54b692([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x389dc5(_0x24e8c2[0x1]);function _0x389dc5(_0x295377){const _0x4d5346=_0x4762e9(_0x295377);return _0x4d5346&&_0x43e0ac()?_0x4d5346:null;function _0x43e0ac(){const _0x48b8c3=_0x4d5346[_0x54b692([0x6a,0x74,0x69])],_0x4d4ffb=window[_0x54b692([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x48b8c3[_0x54b692([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x48b8c3[_0x54b692([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1099b5={..._0x4d5346,[_0x54b692([0x6a,0x74,0x69])]:_0x48b8c3[_0x54b692([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x48b8c3[_0x54b692([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1099b5[_0x54b692([0x76,0x63])],_0x410a4f(_0x1099b5)==_0x4d4ffb;}}}async function _0x52c7f5(){let _0x58191b=!0x0;try{const _0x4be8e4=_0x117eb7[_0x54b692([0x73,0x70,0x6c,0x69,0x74])](_0x54b692([0x2e])),[_0x57babb,_0x413008,_0x56ddcc]=_0x4be8e4;return _0x39cddd(_0x57babb),await _0x36e111(_0x57babb,_0x413008,_0x56ddcc),_0x58191b;}catch(_0x5998bf){return!0x1;}function _0x39cddd(_0x1bb65e){const _0x165b2f=_0x4762e9(_0x1bb65e);_0x165b2f&&_0x165b2f[_0x54b692([0x61,0x6c,0x67])]==_0x54b692([0x45,0x53,0x32,0x35,0x36])||(_0x58191b=!0x1);}async function _0x36e111(_0x5677d9,_0x31333f,_0x51d7b4){const _0x5b19bf=window[_0x54b692([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x54b692([0x66,0x72,0x6f,0x6d])](_0x42933a(_0x51d7b4),_0x1323b5=>_0x1323b5[_0x54b692([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x550f71=new window[(_0x54b692([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x54b692([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5677d9+_0x54b692([0x2e])+_0x31333f),_0x42a5cd=window[_0x54b692([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x54b692([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x42a5cd)return;const _0x523d9c=await _0x42a5cd[_0x54b692([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x54b692([0x6a,0x77,0x6b]),_0x5f5d1d,{[_0x54b692([0x6e,0x61,0x6d,0x65])]:_0x54b692([0x45,0x43,0x44,0x53,0x41]),[_0x54b692([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x54b692([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x54b692([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x42a5cd[_0x54b692([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x54b692([0x6e,0x61,0x6d,0x65])]:_0x54b692([0x45,0x43,0x44,0x53,0x41]),[_0x54b692([0x68,0x61,0x73,0x68])]:{[_0x54b692([0x6e,0x61,0x6d,0x65])]:_0x54b692([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x523d9c,_0x5b19bf,_0x550f71)||(_0x58191b=!0x1);}}function _0x4762e9(_0x8e3b2f){return _0x8e3b2f[_0x54b692([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x54b692([0x65,0x79]))?JSON[_0x54b692([0x70,0x61,0x72,0x73,0x65])](_0x42933a(_0x8e3b2f)):null;}function _0x42933a(_0x1b3c59){return window[_0x54b692([0x61,0x74,0x6f,0x62])](_0x1b3c59[_0x54b692([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x54b692([0x2b]))[_0x54b692([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x54b692([0x2f])));}function _0x410a4f(_0x12fa8f){let _0x2d9553=0x1505;function _0x5c0e0e(_0x1d1734){for(let _0x2dd940=0x0;_0x2dd940<_0x1d1734[_0x54b692([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2dd940++){const _0x2e31cb=_0x1d1734[_0x54b692([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2dd940);_0x2d9553=(_0x2d9553<<0x5)+_0x2d9553+_0x2e31cb,_0x2d9553&=_0x2d9553;}}function _0x5d3f7(_0x3444a0){Array[_0x54b692([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3444a0)?_0x3444a0[_0x54b692([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5d3f7):_0x3444a0&&typeof _0x3444a0==_0x54b692([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x54b692([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3444a0)[_0x54b692([0x73,0x6f,0x72,0x74])]()[_0x54b692([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1eaa73,_0x585559])=>{_0x5c0e0e(_0x1eaa73),_0x5d3f7(_0x585559);}):_0x5c0e0e(window[_0x54b692([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3444a0));}return _0x5d3f7(_0x12fa8f),_0x2d9553>>>0x0;}function _0x3d4fac(_0x1efbf7){return _0x1efbf7[_0x54b692([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x54b692([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x54b692([0x30]));}function _0x46c164(_0x4784d7){return _0x4784d7[_0x54b692([0x73,0x70,0x6c,0x69,0x74])]('')[_0x54b692([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x54b692([0x6a,0x6f,0x69,0x6e])]('');}function _0x51667f(){}function _0x54b692(_0x4c8323){return _0x4c8323['map'](_0x4d04f9=>String['fromCharCode'](_0x4d04f9))['join']('');}_0x43d692(await _0x209242());}(this);}['_createButton'](_0x660f37,_0x5e92d7,_0x2a8ace=!0x1){const _0x20339e=new _0x660f37(this['editor']['locale']);return _0x20339e['set']({'withText':_0x2a8ace,'isToggleable':!0x1}),_0x20339e['bind']('isEnabled')['to'](_0x5e92d7,'isEnabled'),this['listenTo'](_0x20339e,'execute',()=>_0x5e92d7['execute']()),_0x20339e;}['_registerKeybindings'](){const _0xfcfc36=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':f(_0xfcfc36,'Source\x20Editing\x20Enhanced')});const _0x5dcc51=_0x3a51f1['isMac']||_0x3a51f1['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':f(_0xfcfc36,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':f(_0xfcfc36,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':f(_0xfcfc36,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':f(_0xfcfc36,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':f(_0xfcfc36,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':f(_0xfcfc36,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':f(_0xfcfc36,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x5dcc51?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':f(_0xfcfc36,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':f(_0xfcfc36,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':f(_0xfcfc36,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':f(_0xfcfc36,'Select\x20line'),'keystroke':_0x5dcc51?'Ctrl!+L':'Alt+L'},{'label':f(_0xfcfc36,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x5dcc51?'Alt+Shift+M':'Ctrl+M'},{'label':f(_0xfcfc36,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':f(_0xfcfc36,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':f(_0xfcfc36,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':f(_0xfcfc36,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':f(_0xfcfc36,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x5dcc51?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}class s extends _0x48f267{constructor(_0x268238){super(_0x268238),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0x5242f3,_0x5b6043){var _0x3b4a1a;const _0x28ed96=this['editor'],_0x18c7c6=null!==(_0x3b4a1a=null==_0x5b6043?void 0x0:_0x5b6043['rootName'])&&void 0x0!==_0x3b4a1a?_0x3b4a1a:o(_0x28ed96);_0x28ed96['data']['set']({[_0x18c7c6]:_0x5242f3},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}class a extends _0x29aeed{static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[n];}constructor(_0x3736ab){super(_0x3736ab),_0x3736ab['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 _0x33d7f7=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x60d3c7;for(const _0x2b3022 in _0x33d7f7){const _0x3f376b=_0x2b3022,_0x2ce74f=_0x33d7f7[_0x3f376b];if('sourceEditingEnhancedLicenseKeyValid'==_0x2ce74f||'sourceEditingEnhancedLicenseKeyInvalid'==_0x2ce74f||'sourceEditingEnhancedLicenseKeyExpired'==_0x2ce74f||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x2ce74f||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x2ce74f||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x2ce74f||'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x2ce74f||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x2ce74f){delete _0x33d7f7[_0x3f376b],_0x60d3c7=_0x2ce74f,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0x60d3c7&&_0x33d7f7['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0x60d3c7&&_0x33d7f7['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x60d3c7&&_0x33d7f7['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x60d3c7&&_0x33d7f7['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x60d3c7&&_0x33d7f7['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x60d3c7&&_0x33d7f7['_showLicenseError']('trialLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x60d3c7&&_0x33d7f7['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0x2adf92=this['editor'],_0x232d9e=_0x2adf92['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0x232d9e&&_0x2adf92['plugins']['has']('RealTimeCollaborativeEditing'))throw new _0xedefac('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0x232d9e&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x425d81=>_0x2adf92['plugins']['has'](_0x425d81))&&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.'),_0x2adf92['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};
|
|
23
|
+
import{Command as _0x3b800d,PendingActions as _0x134acc,Plugin as _0x40a9da,icons as _0x199645}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x165e47,env as _0x5c6607,uid as _0x34da03}from'@ckeditor/ckeditor5-utils/dist/index.js';import{View as _0x2ab2a3,ButtonView as _0x289b37,MenuBarMenuListItemButtonView as _0x45a82c}from'@ckeditor/ckeditor5-ui/dist/index.js';import{EditorView as _0x503dfe,crosshairCursor as _0x93599c,drawSelection as _0x581458,dropCursor as _0x27fbb0,lineNumbers as _0x81067d,highlightActiveLine as _0x40ea7a,highlightActiveLineGutter as _0x23b72a,highlightSpecialChars as _0x451c26,rectangularSelection as _0x58e24e,keymap as _0x2488f3}from'@codemirror/view';import{Compartment as _0x23ebc4,Transaction as _0x317a4}from'@codemirror/state';import{bracketMatching as _0x217a84,foldGutter as _0x337488,indentOnInput as _0x4930ec,syntaxHighlighting as _0x31f18e,defaultHighlightStyle as _0x4e0cf5,foldKeymap as _0x5a9875}from'@codemirror/language';import{history as _0x5f10f7,defaultKeymap as _0x26045c,historyKeymap as _0x56f988,redo as _0x37120b}from'@codemirror/commands';import{autocompletion as _0x32f498,closeBrackets as _0x1bcc2d,closeBracketsKeymap as _0x8e6ab3,completionKeymap as _0x4eb944}from'@codemirror/autocomplete';import{html as _0x2c0d91}from'@codemirror/lang-html';import{markdown as _0x46dbdc}from'@codemirror/lang-markdown';function f(_0x4eab67,_0x4dc69f){const t=_0x4eab67['t'];switch(_0x4dc69f){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 _0x4dc69f;}}function o(_0xc5f49c){const _0x383458=_0xc5f49c['editing']['view']['document']['roots'],_0x3c9f07=_0x383458['length'];if(0x0===_0x3c9f07)throw new _0x165e47('source-editing-enhanced-editor-no-root',_0xc5f49c);if(0x1===_0x3c9f07)return _0x383458['first']['rootName'];return Array['from'](_0xc5f49c['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function g(_0xb7f50f){return $(_0xb7f50f)?function(_0x280986){const _0x4886d8=[{'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}],_0x121ff7=_0x4886d8['map'](_0x3795d3=>_0x3795d3['name'])['join']('|'),_0x28432c=_0x280986['replace'](new RegExp('</?('+_0x121ff7+')(\x20.*?)?>','g'),'\x0a$&\x0a')['replace'](/<br[^>]*>/g,'$&\x0a')['split']('\x0a');let _0x18a800=0x0,_0x54360d=!0x1;return _0x28432c['filter'](_0x9e31fa=>_0x9e31fa['length'])['map'](_0x5f3780=>(_0x54360d=function(_0xb22612,_0x3a842d){return new RegExp('<pre(\x20.*?)?>')['test'](_0xb22612)?'first':new RegExp('</pre>')['test'](_0xb22612)?'last':('first'===_0x3a842d||'middle'===_0x3a842d)&&'middle';}(_0x5f3780,_0x54360d),function(_0x571899,_0x4c3f13){return _0x4c3f13['some'](_0x50a113=>!_0x50a113['isVoid']&&!!new RegExp('<'+_0x50a113['name']+'(\x20.*?)?>')['test'](_0x571899));}(_0x5f3780,_0x4886d8)?X(_0x5f3780,_0x18a800++):function(_0x4f23e2,_0x1aea3b){return _0x1aea3b['some'](_0x1eaf4d=>new RegExp('</'+_0x1eaf4d['name']+'>')['test'](_0x4f23e2));}(_0x5f3780,_0x4886d8)?X(_0x5f3780,--_0x18a800):'middle'===_0x54360d||'last'===_0x54360d?_0x5f3780:X(_0x5f3780,_0x18a800)))['join']('\x0a');}(_0xb7f50f):_0xb7f50f;}function E(_0x1a2296){return $(_0x1a2296['replace'](/^[\n\s]*/g,''))?_0x1a2296['replace'](/\s+/g,''):_0x1a2296;}function $(_0x2fb06e){return _0x2fb06e['startsWith']('<');}function X(_0x3425e9,_0x1092cf,_0x36e305='\x20\x20\x20\x20'){return''+_0x36e305['repeat'](Math['max'](0x0,_0x1092cf))+_0x3425e9;}function p(_0x25c7cf){const _0x2ac43d=[_0x503dfe['lineWrapping'],_0x32f498(),_0x217a84(),_0x1bcc2d(),_0x93599c(),_0x581458(),_0x27fbb0(),_0x81067d(),_0x337488(),_0x40ea7a(),_0x23b72a(),_0x451c26(),_0x5f10f7(),_0x4930ec(),_0x58e24e(),_0x31f18e(_0x4e0cf5,{'fallback':!0x0})],_0x419f11=new _0x23ebc4();_0x2ac43d['push'](_0x419f11['of'](_0x503dfe['editable']['of'](!0x0))),'html'===_0x25c7cf['syntaxLanguage']?_0x2ac43d['push'](_0x2c0d91()):_0x2ac43d['push'](_0x46dbdc()),_0x25c7cf['theme']&&_0x2ac43d['push'](_0x25c7cf['theme']),_0x2ac43d['push'](_0x2488f3['of']([..._0x8e6ab3,..._0x26045c,..._0x56f988,..._0x5a9875,..._0x4eb944,{'key':'Ctrl-Shift-z','mac':'Cmd-y','run':_0x37120b,'preventDefault':!0x0}]));const _0x5014f2=new _0x503dfe({'extensions':_0x2ac43d,'parent':_0x25c7cf['parent']});return{'focus':()=>{_0x5014f2['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x5014f2['focus']();},'getData':()=>_0x5014f2['state']['doc']['toString'](),'setData':_0x56ea63=>{_0x5014f2['dispatch']({'changes':{'from':0x0,'to':_0x5014f2['state']['doc']['length'],'insert':_0x56ea63},'annotations':_0x317a4['addToHistory']['of'](!0x1)});},'setReadOnly':_0x3594a3=>{_0x5014f2['dispatch']({'effects':[_0x419f11['reconfigure'](_0x503dfe['editable']['of'](!_0x3594a3))]});},'destroy':()=>{_0x5014f2['destroy']();}};}class m extends _0x2ab2a3{constructor(_0x414d23,_0x5bf72f){super(_0x414d23),this['_codeEditorApi']=null,this['_options']=_0x5bf72f,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',(_0xa5cd07,_0x568f36,_0x50558a)=>{this['setReadOnly'](_0x50558a);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0xe781f1){this['_codeEditorApi']['setData'](_0xe781f1);}['setReadOnly'](_0x507655){this['_codeEditorApi']['setReadOnly'](_0x507655);}}class d extends _0x3b800d{constructor(_0x337682){super(_0x337682),this['affectsData']=!0x1,this['editor']['plugins']['get'](_0x134acc)['on']('change:hasAny',(_0x243a78,_0x5eb095,_0x28f3e6)=>{_0x28f3e6?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x3288ea=this['editor'],_0x4cfd10=_0x3288ea['locale'],_0x22fce8=_0x3288ea['plugins']['get']('Dialog'),_0x3f014b=o(_0x3288ea),_0x3e174d=g(_0x3288ea['data']['get']({'rootName':_0x3f014b})),_0x3e2093=new m(_0x4cfd10,{'syntaxLanguage':_0x3288ea['plugins']['has']('Markdown')?'markdown':'html','theme':_0x3288ea['config']['get']('sourceEditingEnhanced.theme')});let _0x5d3114=!0x0;const _0x501ac8=_0x1ea7da=>{if(!_0x5d3114)return;return E(_0x3e2093['getData']())!==E(_0x3e174d)?window['confirm'](f(_0x4cfd10,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0x1ea7da['stop']():void 0x0;};_0x22fce8['show']({'id':'sourceEditingEnhanced','title':f(_0x4cfd10,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0x3e2093,'actionButtons':[{'label':f(_0x4cfd10,'Cancel'),'withText':!0x0,'onExecute':()=>{_0x22fce8['hide']();}},{'label':f(_0x4cfd10,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0x1ce30e=E(_0x3e2093['getData']())!==E(_0x3e174d);(_0x1ce30e&&_0x3288ea['execute']('replaceSource',_0x3e2093['getData']()),_0x5d3114=!0x1,_0x22fce8['hide'](),_0x1ce30e&&'editables'in _0x3288ea['ui']['view'])&&_0x3288ea['ui']['view']['editables'][_0x3f014b]['element']['focus']();},'onCreate':_0x213b46=>{_0x213b46['set']('isEnabled',!_0x3288ea['isReadOnly']),_0x213b46['bind']('isEnabled')['to'](_0x3288ea,'isReadOnly',this,'isEnabled',(_0x23eb45,_0x1fe6b6)=>!_0x23eb45&&_0x1fe6b6);}}],'onHide':()=>{_0x22fce8['off']('hide',_0x501ac8),_0x3e2093['destroy']();},'onShow':()=>{_0x3e2093['bind']('isReadOnly')['to'](_0x3288ea,'isReadOnly',this,'isEnabled',(_0xee9cc9,_0x3003b2)=>_0xee9cc9||!_0x3003b2),_0x3e2093['setData'](_0x3e174d),_0x3e2093['focus'](),_0x22fce8['on']('hide',_0x501ac8,{'priority':'highest'});}});}}class n extends _0x40a9da{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[_0x134acc];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x2e4acd=this['editor'],_0x4753b8=_0x2e4acd['locale'],_0x157387=new d(_0x2e4acd);_0x2e4acd['commands']['add']('editSource',_0x157387),_0x2e4acd['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0x5465a2=this['_createButton'](_0x289b37,_0x157387);return _0x5465a2['set']({'label':f(_0x4753b8,'Source'),'icon':_0x199645['source'],'tooltip':f(_0x4753b8,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0x5465a2;}),_0x2e4acd['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0x89a5b1=this['_createButton'](_0x45a82c,_0x157387,!0x0);return _0x89a5b1['set']({'label':f(_0x4753b8,'Edit\x20source\x20modal\x20label'),'icon':_0x199645['source'],'role':'menuitemcheckbox'}),_0x89a5b1;}),this['_registerKeybindings']();}['afterInit'](){!async function(_0x1586da){const _0x3ad4a9=_0x237d58([0x4f,0x51,0x53,0x6f,0x75,0x64,0x69,0x7a,0x62,0x30,0x78,0x36,0x74,0x39,0x4b,0x55,0x34,0x79,0x66,0x49,0x43,0x35,0x67,0x68,0x58,0x42,0x44,0x63,0x76,0x6b,0x71,0x6c,0x31,0x65,0x50,0x4a,0x38,0x6d,0x6e,0x61,0x4d,0x33,0x4e,0x5a,0x73,0x72,0x52,0x57,0x48,0x59,0x4c,0x6a,0x32,0x77,0x47,0x41,0x54,0x37,0x45,0x46,0x56,0x70]),_0x58f566=0x677c3eb8,_0x98c1bd=0x677b6030^_0x58f566,_0x4ab5cd=window[_0x237d58([0x44,0x61,0x74,0x65])][_0x237d58([0x6e,0x6f,0x77])](),_0x31cbc8=_0x1586da[_0x237d58([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x49b663=new window[(_0x237d58([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5ddbbc=>{_0x31cbc8[_0x237d58([0x6f,0x6e,0x63,0x65])](_0x237d58([0x72,0x65,0x61,0x64,0x79]),_0x5ddbbc);}),_0xa342dc={[_0x237d58([0x6b,0x74,0x79])]:_0x237d58([0x45,0x43]),[_0x237d58([0x75,0x73,0x65])]:_0x237d58([0x73,0x69,0x67]),[_0x237d58([0x63,0x72,0x76])]:_0x237d58([0x50,0x2d,0x32,0x35,0x36]),[_0x237d58([0x78])]:_0x237d58([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]),[_0x237d58([0x79])]:_0x237d58([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]),[_0x237d58([0x61,0x6c,0x67])]:_0x237d58([0x45,0x53,0x32,0x35,0x36])},_0x40b128=_0x31cbc8[_0x237d58([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x237d58([0x67,0x65,0x74])](_0x237d58([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x260d80(){let _0x4f53a7,_0x142174=null,_0x278d16=null;try{if(_0x40b128==_0x237d58([0x47,0x50,0x4c]))return _0x237d58([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4f53a7=_0x5db1d9(),!_0x4f53a7)return _0x237d58([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4f53a7[_0x237d58([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x278d16=_0x2976a0(_0x4f53a7[_0x237d58([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4f53a7[_0x237d58([0x6a,0x74,0x69])])),await _0x3488a5()?_0x8ecf7e()?_0x4f5d32()?_0x237d58([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xf5ae53()?(_0x4f53a7[_0x237d58([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x237d58([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x142174=_0xb92152(_0x237d58([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4f53a7[_0x237d58([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x237d58([0x74,0x72,0x69,0x61,0x6c])&&(_0x142174=_0xb92152(_0x237d58([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2a7ebf()):_0x237d58([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x237d58([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x237d58([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0xacc724){return _0x237d58([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4f5d32(){const _0x484429=[_0x237d58([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x237d58([0x74,0x72,0x69,0x61,0x6c])][_0x237d58([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4f53a7[_0x237d58([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4ab5cd/0x3e8:0xe10*_0x98c1bd;return _0x4f53a7[_0x237d58([0x65,0x78,0x70])]<_0x484429;}function _0x8ecf7e(){const _0x14c152=_0x4f53a7[_0x237d58([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x14c152&&(!!_0x14c152[_0x237d58([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x237d58([0x2a]))||!!_0x14c152[_0x237d58([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x237d58([0x53,0x45,0x45])));}function _0xf5ae53(){const _0x3fceef=_0x4f53a7[_0x237d58([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3fceef||0x0==_0x3fceef[_0x237d58([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x291302}=new URL(window[_0x237d58([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3fceef[_0x237d58([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x291302))return!0x0;const _0x288a8b=_0x291302[_0x237d58([0x73,0x70,0x6c,0x69,0x74])](_0x237d58([0x2e]));return _0x3fceef[_0x237d58([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x18d4ea=>_0x18d4ea[_0x237d58([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x237d58([0x2a])))[_0x237d58([0x6d,0x61,0x70])](_0x33613f=>_0x33613f[_0x237d58([0x73,0x70,0x6c,0x69,0x74])](_0x237d58([0x2e])))[_0x237d58([0x73,0x6f,0x6d,0x65])](_0x50b12a=>_0x288a8b[_0x237d58([0x65,0x76,0x65,0x72,0x79])]((_0x15c651,_0x2f9c4e)=>_0x50b12a[_0x2f9c4e]===_0x15c651||_0x50b12a[_0x2f9c4e]===_0x237d58([0x2a])));}function _0x2a7ebf(){return _0x142174&&_0x278d16?new window[(_0x237d58([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x56cee8,_0x5e2eb4)=>{_0x142174[_0x237d58([0x74,0x68,0x65,0x6e])](_0x56cee8,_0x5e2eb4),_0x278d16[_0x237d58([0x74,0x68,0x65,0x6e])](_0x1b547f=>{_0x1b547f!=_0x237d58([0x56,0x61,0x6c,0x69,0x64])&&_0x56cee8(_0x1b547f);},_0x5e2eb4);}):_0x142174||_0x278d16||_0x237d58([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2976a0(_0x28b765,_0xfe8565){return new window[(_0x237d58([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3a8407=>{if(_0xfe5191())return _0x3a8407(_0x237d58([0x56,0x61,0x6c,0x69,0x64]));_0x2ecec9(),_0x31cbc8[_0x237d58([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x237d58([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x15b6b4=!0x1;const _0x20dedf=_0x34da03();function _0x52c5a3(_0x550bb0){return!!_0x550bb0&&(typeof _0x550bb0===_0x237d58([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x550bb0===_0x237d58([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x550bb0[_0x237d58([0x74,0x68,0x65,0x6e])]===_0x237d58([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x550bb0[_0x237d58([0x63,0x61,0x74,0x63,0x68])]===_0x237d58([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x168c48(_0x189936){_0x48d730(_0x189936)[_0x237d58([0x74,0x68,0x65,0x6e])](_0x529acd=>{if(!_0x529acd||_0x529acd[_0x237d58([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x237d58([0x6f,0x6b]))return _0x237d58([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2d2782(_0x185ba5(_0x20dedf+_0xfe8565))!=_0x529acd[_0x237d58([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x237d58([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x237d58([0x56,0x61,0x6c,0x69,0x64]);})[_0x237d58([0x74,0x68,0x65,0x6e])](_0x2e0ed5=>(_0x28ea89(),_0x2e0ed5),()=>{const _0x2e9b26=_0x50d10e();return null==_0x2e9b26?(_0x28ea89(),_0x237d58([0x56,0x61,0x6c,0x69,0x64])):_0x237d58(_0x4ab5cd-_0x2e9b26>(0x4370bab8^_0x58f566)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x237d58([0x74,0x68,0x65,0x6e])](_0x3a8407)[_0x237d58([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3a8407(_0x237d58([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x49b39a=0x674ad038^_0x58f566;function _0x28ea89(){const _0x3805d1=_0x237d58([0x6c,0x6c,0x63,0x74,0x2d])+_0x2d2782(_0x185ba5(_0x28b765)),_0x51d024=_0x17e050(_0x2d2782(window[_0x237d58([0x4d,0x61,0x74,0x68])][_0x237d58([0x63,0x65,0x69,0x6c])](_0x4ab5cd/_0x49b39a)));window[_0x237d58([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x237d58([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3805d1,_0x51d024);}function _0x50d10e(){const _0x40e03d=_0x237d58([0x6c,0x6c,0x63,0x74,0x2d])+_0x2d2782(_0x185ba5(_0x28b765)),_0x585428=window[_0x237d58([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x237d58([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x40e03d);return _0x585428?window[_0x237d58([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x17e050(_0x585428),0x10)*_0x49b39a:null;}function _0x48d730(_0x1367c3){return new window[(_0x237d58([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x49f310,_0x4f1231)=>{_0x1367c3[_0x237d58([0x74,0x68,0x65,0x6e])](_0x49f310,_0x4f1231),window[_0x237d58([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4f1231,0x677dea78^_0x58f566);});}}_0x31cbc8[_0x237d58([0x6f,0x6e])](_0x237d58([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x22c1f6,_0xdb51dc)=>{if(_0xdb51dc[0x0]!=_0x28b765)return _0x3a8407(_0x237d58([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xdb51dc[0x1]={..._0xdb51dc[0x1],[_0x237d58([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x20dedf};},{[_0x237d58([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x237d58([0x68,0x69,0x67,0x68])}),_0x31cbc8[_0x237d58([0x6f,0x6e])](_0x237d58([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x390a1d=>{_0x52c5a3(_0x390a1d[_0x237d58([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x15b6b4=!0x0,_0x168c48(_0x390a1d[_0x237d58([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x237d58([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x237d58([0x6c,0x6f,0x77])}),_0x49b663[_0x237d58([0x74,0x68,0x65,0x6e])](()=>{_0x15b6b4||_0x3a8407(_0x237d58([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xfe5191(){return _0x31cbc8[_0x237d58([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x237d58([0x76,0x69,0x65,0x77])][_0x237d58([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x237d58([0x61,0x75,0x74,0x6f]);}function _0x2ecec9(){_0x31cbc8[_0x237d58([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x237d58([0x76,0x69,0x65,0x77])][_0x237d58([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x237d58([0x61,0x75,0x74,0x6f]);}}function _0xb92152(_0x308e6a){const _0x3cded0=[new window[(_0x237d58([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xcf872a=>setTimeout(_0xcf872a,0x67750074^_0x58f566)),_0x49b663[_0x237d58([0x74,0x68,0x65,0x6e])](()=>new window[(_0x237d58([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xffbb3=>{let _0xf2642a=0x0;_0x31cbc8[_0x237d58([0x6d,0x6f,0x64,0x65,0x6c])][_0x237d58([0x6f,0x6e])](_0x237d58([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x441660,_0x1dafb0)=>{_0x1dafb0[0x0][_0x237d58([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xf2642a++,_0xf2642a==(0x677c3f40^_0x58f566)&&(_0xffbb3(),_0x441660[_0x237d58([0x6f,0x66,0x66])]());});}))];return window[_0x237d58([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x237d58([0x72,0x61,0x63,0x65])](_0x3cded0)[_0x237d58([0x74,0x68,0x65,0x6e])](()=>_0x308e6a);}async function _0x2adac4(){await _0x49b663,_0x31cbc8[_0x237d58([0x6d,0x6f,0x64,0x65,0x6c])][_0x237d58([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3effa6,_0x31cbc8[_0x237d58([0x6d,0x6f,0x64,0x65,0x6c])][_0x237d58([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3effa6,_0x31cbc8[_0x237d58([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x237d58([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xdecab3(_0x596abe){const _0xa5d4a0=_0x23c27a();_0x31cbc8[_0xa5d4a0]=_0x237d58([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])+_0x596abe,_0x596abe!=_0x237d58([0x56,0x61,0x6c,0x69,0x64])&&_0x2adac4();}function _0x23c27a(){const _0x3f23af=window[_0x237d58([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x237d58([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x237d58([0x6e,0x6f,0x77])]())[_0x237d58([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x237d58([0x2e]),'');let _0x184936=_0x237d58([0x4f]);for(let _0x394cb7=0x0;_0x394cb7<_0x3f23af[_0x237d58([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x394cb7+=0x2){let _0x3a25e9=window[_0x237d58([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3f23af[_0x237d58([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x394cb7,_0x394cb7+0x2));_0x3a25e9>=_0x3ad4a9[_0x237d58([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3a25e9-=_0x3ad4a9[_0x237d58([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x184936+=_0x3ad4a9[_0x3a25e9];}return _0x184936;}function _0x5db1d9(){const _0xd18f44=_0x40b128[_0x237d58([0x73,0x70,0x6c,0x69,0x74])](_0x237d58([0x2e]));if(0x3!=_0xd18f44[_0x237d58([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5ef266(_0xd18f44[0x1]);function _0x5ef266(_0x250185){const _0x42e4a2=_0x12bb01(_0x250185);return _0x42e4a2&&_0x404f0c()?_0x42e4a2:null;function _0x404f0c(){const _0x59a6e9=_0x42e4a2[_0x237d58([0x6a,0x74,0x69])],_0x230345=window[_0x237d58([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x59a6e9[_0x237d58([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x59a6e9[_0x237d58([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x43c6ac={..._0x42e4a2,[_0x237d58([0x6a,0x74,0x69])]:_0x59a6e9[_0x237d58([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x59a6e9[_0x237d58([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x43c6ac[_0x237d58([0x76,0x63])],_0x185ba5(_0x43c6ac)==_0x230345;}}}async function _0x3488a5(){let _0x478360=!0x0;try{const _0x302419=_0x40b128[_0x237d58([0x73,0x70,0x6c,0x69,0x74])](_0x237d58([0x2e])),[_0x2b48ea,_0x5827d5,_0x30c4af]=_0x302419;return _0x204495(_0x2b48ea),await _0x49bf66(_0x2b48ea,_0x5827d5,_0x30c4af),_0x478360;}catch(_0xaaabcc){return!0x1;}function _0x204495(_0x148e28){const _0x181d1c=_0x12bb01(_0x148e28);_0x181d1c&&_0x181d1c[_0x237d58([0x61,0x6c,0x67])]==_0x237d58([0x45,0x53,0x32,0x35,0x36])||(_0x478360=!0x1);}async function _0x49bf66(_0x5f558c,_0x1b6298,_0x3d8905){const _0x44df61=window[_0x237d58([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x237d58([0x66,0x72,0x6f,0x6d])](_0x467994(_0x3d8905),_0x35991c=>_0x35991c[_0x237d58([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4f6e72=new window[(_0x237d58([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x237d58([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5f558c+_0x237d58([0x2e])+_0x1b6298),_0x3ab5c4=window[_0x237d58([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x237d58([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3ab5c4)return;const _0x1d27a2=await _0x3ab5c4[_0x237d58([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x237d58([0x6a,0x77,0x6b]),_0xa342dc,{[_0x237d58([0x6e,0x61,0x6d,0x65])]:_0x237d58([0x45,0x43,0x44,0x53,0x41]),[_0x237d58([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x237d58([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x237d58([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3ab5c4[_0x237d58([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x237d58([0x6e,0x61,0x6d,0x65])]:_0x237d58([0x45,0x43,0x44,0x53,0x41]),[_0x237d58([0x68,0x61,0x73,0x68])]:{[_0x237d58([0x6e,0x61,0x6d,0x65])]:_0x237d58([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1d27a2,_0x44df61,_0x4f6e72)||(_0x478360=!0x1);}}function _0x12bb01(_0x1db30f){return _0x1db30f[_0x237d58([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x237d58([0x65,0x79]))?JSON[_0x237d58([0x70,0x61,0x72,0x73,0x65])](_0x467994(_0x1db30f)):null;}function _0x467994(_0x2a8b6e){return window[_0x237d58([0x61,0x74,0x6f,0x62])](_0x2a8b6e[_0x237d58([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x237d58([0x2b]))[_0x237d58([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x237d58([0x2f])));}function _0x185ba5(_0x45a58d){let _0x53485f=0x1505;function _0x53bc53(_0x402b5d){for(let _0x1c94fa=0x0;_0x1c94fa<_0x402b5d[_0x237d58([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1c94fa++){const _0x26b020=_0x402b5d[_0x237d58([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1c94fa);_0x53485f=(_0x53485f<<0x5)+_0x53485f+_0x26b020,_0x53485f&=_0x53485f;}}function _0x1eed7c(_0x4db037){Array[_0x237d58([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4db037)?_0x4db037[_0x237d58([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1eed7c):_0x4db037&&typeof _0x4db037==_0x237d58([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x237d58([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4db037)[_0x237d58([0x73,0x6f,0x72,0x74])]()[_0x237d58([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x482d60,_0x14bb64])=>{_0x53bc53(_0x482d60),_0x1eed7c(_0x14bb64);}):_0x53bc53(window[_0x237d58([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4db037));}return _0x1eed7c(_0x45a58d),_0x53485f>>>0x0;}function _0x2d2782(_0x3f17ca){return _0x3f17ca[_0x237d58([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x237d58([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x237d58([0x30]));}function _0x17e050(_0x5373cc){return _0x5373cc[_0x237d58([0x73,0x70,0x6c,0x69,0x74])]('')[_0x237d58([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x237d58([0x6a,0x6f,0x69,0x6e])]('');}function _0x3effa6(){}function _0x237d58(_0x5585ca){return _0x5585ca['map'](_0x404591=>String['fromCharCode'](_0x404591))['join']('');}_0xdecab3(await _0x260d80());}(this);}['_createButton'](_0x2b328a,_0x1d57b8,_0x261341=!0x1){const _0x5f4a33=new _0x2b328a(this['editor']['locale']);return _0x5f4a33['set']({'withText':_0x261341,'isToggleable':!0x1}),_0x5f4a33['bind']('isEnabled')['to'](_0x1d57b8,'isEnabled'),this['listenTo'](_0x5f4a33,'execute',()=>_0x1d57b8['execute']()),_0x5f4a33;}['_registerKeybindings'](){const _0x464ce8=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':f(_0x464ce8,'Source\x20Editing\x20Enhanced')});const _0x414b4a=_0x5c6607['isMac']||_0x5c6607['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':f(_0x464ce8,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':f(_0x464ce8,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':f(_0x464ce8,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':f(_0x464ce8,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':f(_0x464ce8,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':f(_0x464ce8,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':f(_0x464ce8,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x414b4a?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':f(_0x464ce8,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':f(_0x464ce8,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':f(_0x464ce8,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':f(_0x464ce8,'Select\x20line'),'keystroke':_0x414b4a?'Ctrl!+L':'Alt+L'},{'label':f(_0x464ce8,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x414b4a?'Alt+Shift+M':'Ctrl+M'},{'label':f(_0x464ce8,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':f(_0x464ce8,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':f(_0x464ce8,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':f(_0x464ce8,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':f(_0x464ce8,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x414b4a?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}class s extends _0x3b800d{constructor(_0x116d6f){super(_0x116d6f),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0x5a43b0,_0x94e13f){var _0x59e01f;const _0x4fe8b9=this['editor'],_0x341a96=null!==(_0x59e01f=null==_0x94e13f?void 0x0:_0x94e13f['rootName'])&&void 0x0!==_0x59e01f?_0x59e01f:o(_0x4fe8b9);_0x4fe8b9['data']['set']({[_0x341a96]:_0x5a43b0},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}class a extends _0x40a9da{static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[n];}constructor(_0xf5958c){super(_0xf5958c),_0xf5958c['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 _0x4d4b79=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2450a2;for(const _0x1c4839 in _0x4d4b79){const _0xd9ef11=_0x1c4839,_0x5cc829=_0x4d4b79[_0xd9ef11];if('sourceEditingEnhancedLicenseKeyValid'==_0x5cc829||'sourceEditingEnhancedLicenseKeyInvalid'==_0x5cc829||'sourceEditingEnhancedLicenseKeyExpired'==_0x5cc829||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x5cc829||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x5cc829||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x5cc829||'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x5cc829||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x5cc829){delete _0x4d4b79[_0xd9ef11],_0x2450a2=_0x5cc829,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0x2450a2&&_0x4d4b79['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0x2450a2&&_0x4d4b79['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x2450a2&&_0x4d4b79['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x2450a2&&_0x4d4b79['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x2450a2&&_0x4d4b79['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x2450a2&&_0x4d4b79['_showLicenseError']('trialLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x2450a2&&_0x4d4b79['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0x1c4933=this['editor'],_0x2031ba=_0x1c4933['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0x2031ba&&_0x1c4933['plugins']['has']('RealTimeCollaborativeEditing'))throw new _0x165e47('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0x2031ba&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x2853f3=>_0x1c4933['plugins']['has'](_0x2853f3))&&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.'),_0x1c4933['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-20250204.0",
|
|
4
4
|
"description": "Source editing enhanced feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -18,18 +18,18 @@
|
|
|
18
18
|
"type": "module",
|
|
19
19
|
"main": "src/index.js",
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@ckeditor/ckeditor5-core": "0.0.0-nightly-
|
|
22
|
-
"@ckeditor/ckeditor5-theme-lark": "0.0.0-nightly-
|
|
23
|
-
"@ckeditor/ckeditor5-ui": "0.0.0-nightly-
|
|
24
|
-
"@ckeditor/ckeditor5-utils": "0.0.0-nightly-
|
|
21
|
+
"@ckeditor/ckeditor5-core": "0.0.0-nightly-20250204.0",
|
|
22
|
+
"@ckeditor/ckeditor5-theme-lark": "0.0.0-nightly-20250204.0",
|
|
23
|
+
"@ckeditor/ckeditor5-ui": "0.0.0-nightly-20250204.0",
|
|
24
|
+
"@ckeditor/ckeditor5-utils": "0.0.0-nightly-20250204.0",
|
|
25
25
|
"@codemirror/autocomplete": "6.18.4",
|
|
26
26
|
"@codemirror/commands": "6.8.0",
|
|
27
27
|
"@codemirror/lang-html": "6.4.9",
|
|
28
28
|
"@codemirror/lang-markdown": "6.3.2",
|
|
29
29
|
"@codemirror/language": "6.10.8",
|
|
30
|
-
"@codemirror/state": "6.5.
|
|
30
|
+
"@codemirror/state": "6.5.2",
|
|
31
31
|
"@codemirror/view": "6.36.2",
|
|
32
|
-
"ckeditor5": "0.0.0-nightly-
|
|
32
|
+
"ckeditor5": "0.0.0-nightly-20250204.0"
|
|
33
33
|
},
|
|
34
34
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
35
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 _0x51b4(_0x393e5c,_0x2163c5){var _0x3a5cd6=_0x3a5c();return _0x51b4=function(_0x51b4d6,_0x4e00c9){_0x51b4d6=_0x51b4d6-0x12d;var _0x2ed46a=_0x3a5cd6[_0x51b4d6];return _0x2ed46a;},_0x51b4(_0x393e5c,_0x2163c5);}(function(_0x183f02,_0x45cc31){var _0x418ddc=_0x51b4,_0x29317f=_0x183f02();while(!![]){try{var _0x40f52d=parseInt(_0x418ddc(0x135))/0x1*(-parseInt(_0x418ddc(0x137))/0x2)+-parseInt(_0x418ddc(0x132))/0x3*(parseInt(_0x418ddc(0x12f))/0x4)+-parseInt(_0x418ddc(0x134))/0x5*(parseInt(_0x418ddc(0x133))/0x6)+-parseInt(_0x418ddc(0x12e))/0x7*(parseInt(_0x418ddc(0x139))/0x8)+parseInt(_0x418ddc(0x131))/0x9+parseInt(_0x418ddc(0x12d))/0xa*(-parseInt(_0x418ddc(0x130))/0xb)+-parseInt(_0x418ddc(0x136))/0xc*(-parseInt(_0x418ddc(0x138))/0xd);if(_0x40f52d===_0x45cc31)break;else _0x29317f['push'](_0x29317f['shift']());}catch(_0x1bcdc6){_0x29317f['push'](_0x29317f['shift']());}}}(_0x3a5c,0xaf17a));export{default as SourceEditingEnhanced}from'./sourceeditingenhanced.js';export{default as ReplaceSourceCommand}from'./replacesourcecommand.js';function _0x3a5c(){var _0x5a4a1d=['9946755DiAZHu','792663MMKfrl','68358GdBxPI','110XOdpts','97mmTVOh','2492376cpqaKK','9586PebueE','104RtjzNJ','48eJZiUv','1938350FtwdXg','117411TEwzkD','4JELDXF','55wcjtpN'];_0x3a5c=function(){return _0x5a4a1d;};return _0x3a5c();}export{default as EditSourceCommand}from'./ui/editsourcecommand.js';import'./augmentation.js';
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x539af5=_0x1c2a;(function(_0x15d514,_0x41146e){var _0x54306a=_0x1c2a,_0x1a8bff=_0x15d514();while(!![]){try{var _0x4ba837=parseInt(_0x54306a(0x7c))/0x1+-parseInt(_0x54306a(0x76))/0x2+-parseInt(_0x54306a(0x74))/0x3+parseInt(_0x54306a(0x73))/0x4+-parseInt(_0x54306a(0x6d))/0x5+parseInt(_0x54306a(0x75))/0x6*(-parseInt(_0x54306a(0x79))/0x7)+parseInt(_0x54306a(0x7b))/0x8;if(_0x4ba837===_0x41146e)break;else _0x1a8bff['push'](_0x1a8bff['shift']());}catch(_0x4907a0){_0x1a8bff['push'](_0x1a8bff['shift']());}}}(_0x471b,0x58557));function _0x471b(){var _0x3571b6=['273308kUhJHa','isEnabled','execute','329WmVRWp','editor','5361352nEyamy','558850BNXPTM','249920sNCXhx','refresh','set','rootName','data','isReadOnly','1021052Gmjzzk','1463052cEvrew','57210mikadV'];_0x471b=function(){return _0x3571b6;};return _0x471b();}import{Command as _0x4d1de4}from'ckeditor5/src/core.js';import{getActiveRootName as _0x8e0215}from'./utils/getactiverootname.js';function _0x1c2a(_0x6b231a,_0x1c267d){var _0x471bb7=_0x471b();return _0x1c2a=function(_0x1c2a44,_0x4bcd01){_0x1c2a44=_0x1c2a44-0x6d;var _0x4ac256=_0x471bb7[_0x1c2a44];return _0x4ac256;},_0x1c2a(_0x6b231a,_0x1c267d);}export default class s extends _0x4d1de4{constructor(_0xb198de){var _0x25a58c=_0x1c2a;super(_0xb198de),this[_0x25a58c(0x6e)]();}[_0x539af5(0x6e)](){var _0xd3dc6f=_0x539af5;this[_0xd3dc6f(0x77)]=!this[_0xd3dc6f(0x7a)][_0xd3dc6f(0x72)];}[_0x539af5(0x78)](_0x344941,_0x11dcbd){var _0x2ce95d=_0x539af5,_0xe74b87;const _0x390103=this[_0x2ce95d(0x7a)],_0x1d5c84=null!==(_0xe74b87=null==_0x11dcbd?void 0x0:_0x11dcbd[_0x2ce95d(0x70)])&&void 0x0!==_0xe74b87?_0xe74b87:_0x8e0215(_0x390103);_0x390103[_0x2ce95d(0x71)][_0x2ce95d(0x6f)]({[_0x1d5c84]:_0x344941},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x63d47e=_0x9b3a;function _0x9b3a(_0x3e3dda,_0x49e449){const _0x8be708=_0x8be7();return _0x9b3a=function(_0x9b3af0,_0x32362f){_0x9b3af0=_0x9b3af0-0x129;let _0x536f47=_0x8be708[_0x9b3af0];return _0x536f47;},_0x9b3a(_0x3e3dda,_0x49e449);}(function(_0x6ebd35,_0xa6e135){const _0x69ef30=_0x9b3a,_0x2805cc=_0x6ebd35();while(!![]){try{const _0x1268b0=parseInt(_0x69ef30(0x149))/0x1*(-parseInt(_0x69ef30(0x162))/0x2)+-parseInt(_0x69ef30(0x160))/0x3*(parseInt(_0x69ef30(0x13d))/0x4)+parseInt(_0x69ef30(0x14a))/0x5*(-parseInt(_0x69ef30(0x150))/0x6)+parseInt(_0x69ef30(0x12f))/0x7*(parseInt(_0x69ef30(0x139))/0x8)+-parseInt(_0x69ef30(0x133))/0x9+-parseInt(_0x69ef30(0x129))/0xa+parseInt(_0x69ef30(0x142))/0xb*(parseInt(_0x69ef30(0x12b))/0xc);if(_0x1268b0===_0xa6e135)break;else _0x2805cc['push'](_0x2805cc['shift']());}catch(_0x354730){_0x2805cc['push'](_0x2805cc['shift']());}}}(_0x8be7,0xb18a9));import{Plugin as _0x354e84}from'ckeditor5/src/core.js';import{CKEditorError as _0x4d2587}from'ckeditor5/src/utils.js';import _0x45e3fd from'./sourceeditingenhancedui.js';import _0x1354d3 from'./replacesourcecommand.js';function _0x8be7(){const _0x5aff6e=['_showLicenseError','pluginName','isPremiumPlugin','7224SSCZOS','_licenseKeyCheckInterval','1036682XUIPYq','1685870MvtNQQ','RealTimeCollaborativeEditing','28211676YexoRD','sourceEditingEnhancedLicenseKeyExpired','replaceSource','trialLimit','199829KDOuoO','expired','evaluationLimit','config','3525345FpkLER','define','has','sourceEditingEnhancedLicenseKeyTrialLimit','sourceEditingEnhancedLicenseKeyDomainLimit','requires','152inrKqM','some','invalid','CommentsEditing','1124NtUSiW','SourceEditingEnhanced','editor','sourceEditingEnhancedLicenseKeyNotAllowed','destroy','11uFYViy','add','init','plugins','usageLimit','sourceEditingEnhancedLicenseKeyValid','sourceEditingEnhancedLicenseKeyInvalid','1UOtAlv','1180sTwxhR','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.','RestrictedEditingModeEditing','RevisionHistory','get','source-editing-enhanced-incompatible-with-real-time-collaboration','10446BHDRwN','sourceEditingEnhancedLicenseKeyEvaluationLimit','sourceEditingEnhancedLicenseKeyUsageLimit','domainLimit','licenseKey','_checkCompatibility','commands','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.','TrackChangesEditing','isOfficialPlugin','featureNotAllowed','sourceEditingEnhanced.allowCollaborationFeatures'];_0x8be7=function(){return _0x5aff6e;};return _0x8be7();}import'../theme/sourceeditingenhanced.css';export default class a extends _0x354e84{static get[_0x63d47e(0x15e)](){const _0x4ac71d=_0x63d47e;return _0x4ac71d(0x13e);}static get[_0x63d47e(0x15a)](){return!0x0;}static get[_0x63d47e(0x15f)](){return!0x0;}static get[_0x63d47e(0x138)](){return[_0x45e3fd];}constructor(_0x2c0315){const _0xe5c5a7=_0x63d47e;super(_0x2c0315),_0x2c0315[_0xe5c5a7(0x132)][_0xe5c5a7(0x134)](_0xe5c5a7(0x15c),!0x1);}[_0x63d47e(0x144)](){const _0x2a422b=_0x63d47e;this[_0x2a422b(0x155)](),this[_0x2a422b(0x13f)][_0x2a422b(0x156)][_0x2a422b(0x143)](_0x2a422b(0x12d),new _0x1354d3(this[_0x2a422b(0x13f)])),this[_0x2a422b(0x154)]=this[_0x2a422b(0x13f)][_0x2a422b(0x132)][_0x2a422b(0x14e)](_0x2a422b(0x154));const _0x47d210=this[_0x2a422b(0x13f)];this[_0x2a422b(0x161)]=setInterval(()=>{const _0x3167df=_0x2a422b;let _0x811b7;for(const _0x50898c in _0x47d210){const _0x432f7d=_0x50898c,_0x5f2373=_0x47d210[_0x432f7d];if(_0x3167df(0x147)==_0x5f2373||_0x3167df(0x148)==_0x5f2373||_0x3167df(0x12c)==_0x5f2373||_0x3167df(0x137)==_0x5f2373||_0x3167df(0x140)==_0x5f2373||_0x3167df(0x151)==_0x5f2373||_0x3167df(0x136)==_0x5f2373||_0x3167df(0x152)==_0x5f2373){delete _0x47d210[_0x432f7d],_0x811b7=_0x5f2373,clearInterval(this[_0x3167df(0x161)]),this[_0x3167df(0x161)]=void 0x0;break;}}_0x3167df(0x148)==_0x811b7&&_0x47d210[_0x3167df(0x15d)](_0x3167df(0x13b)),_0x3167df(0x12c)==_0x811b7&&_0x47d210[_0x3167df(0x15d)](_0x3167df(0x130)),_0x3167df(0x137)==_0x811b7&&_0x47d210[_0x3167df(0x15d)](_0x3167df(0x153)),_0x3167df(0x140)==_0x811b7&&_0x47d210[_0x3167df(0x15d)](_0x3167df(0x15b),_0x3167df(0x13e)),_0x3167df(0x151)==_0x811b7&&_0x47d210[_0x3167df(0x15d)](_0x3167df(0x131)),_0x3167df(0x136)==_0x811b7&&_0x47d210[_0x3167df(0x15d)](_0x3167df(0x12e)),_0x3167df(0x152)==_0x811b7&&_0x47d210[_0x3167df(0x15d)](_0x3167df(0x146));},0x3e8);}[_0x63d47e(0x141)](){const _0x5d614b=_0x63d47e;this[_0x5d614b(0x161)]&&clearInterval(this[_0x5d614b(0x161)]);}[_0x63d47e(0x155)](){const _0x13251e=_0x63d47e,_0x40b02d=this[_0x13251e(0x13f)],_0x49f8c8=_0x40b02d[_0x13251e(0x132)][_0x13251e(0x14e)](_0x13251e(0x15c));if(!_0x49f8c8&&_0x40b02d[_0x13251e(0x145)][_0x13251e(0x135)](_0x13251e(0x12a)))throw new _0x4d2587(_0x13251e(0x14f),null);!_0x49f8c8&&[_0x13251e(0x13c),_0x13251e(0x159),_0x13251e(0x14d)][_0x13251e(0x13a)](_0x5d4ac6=>_0x40b02d[_0x13251e(0x145)][_0x13251e(0x135)](_0x5d4ac6))&&console[_0x13251e(0x157)](_0x13251e(0x14b)),_0x40b02d[_0x13251e(0x145)][_0x13251e(0x135)](_0x13251e(0x14c))&&console[_0x13251e(0x157)](_0x13251e(0x158));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x5a1bc1=_0x4a47;(function(_0x1712ca,_0x3b2fa2){const _0x4ea0e1=_0x4a47,_0x37d19b=_0x1712ca();while(!![]){try{const _0x52a60f=-parseInt(_0x4ea0e1(0x180))/0x1*(parseInt(_0x4ea0e1(0x15a))/0x2)+parseInt(_0x4ea0e1(0x160))/0x3*(parseInt(_0x4ea0e1(0x145))/0x4)+-parseInt(_0x4ea0e1(0x147))/0x5*(-parseInt(_0x4ea0e1(0x16d))/0x6)+-parseInt(_0x4ea0e1(0x185))/0x7+parseInt(_0x4ea0e1(0x153))/0x8*(parseInt(_0x4ea0e1(0x184))/0x9)+-parseInt(_0x4ea0e1(0x195))/0xa*(-parseInt(_0x4ea0e1(0x194))/0xb)+parseInt(_0x4ea0e1(0x176))/0xc*(-parseInt(_0x4ea0e1(0x16e))/0xd);if(_0x52a60f===_0x3b2fa2)break;else _0x37d19b['push'](_0x37d19b['shift']());}catch(_0x20c9f1){_0x37d19b['push'](_0x37d19b['shift']());}}}(_0x2588,0x6d278));import{Plugin as _0x42d193,PendingActions as _0x7b095c,icons as _0x3745e9}from'ckeditor5/src/core.js';import{ButtonView as _0x58d3fc,MenuBarMenuListItemButtonView as _0x5db85c}from'ckeditor5/src/ui.js';import _0x3d4bb8 from'./ui/editsourcecommand.js';function _0x2588(){const _0x105d2a=['add','Ctrl+[','Indent\x20more','componentFactory','isEnabled','set','Ctrl!+L','menuitemcheckbox','241350zhvekf','isiOS','requires','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode','261nPDaaC','2312324IQnCSG','map','editSource','Alt+L','join','Cmd+Alt+]','Source','Shift+Alt+ArrowUp','Move\x20line\x20down','fromCharCode','Shift+Alt+A','listenTo','Move\x20line\x20up','Ctrl+Z','ck-source-editing-enhanced-button','11Mjvssi','2918210nNwXXm','init','Select\x20line','addKeystrokeInfos','href','Alt+Shift+M','Ctrl+Shift+]','Ctrl+/','afterInit','572IFUJfG','Ctrl+Y','10WrypIN','Unfold\x20all','isMac','Source\x20Editing\x20Enhanced','source','Ctrl+Shift+[','addKeystrokeInfoCategory','sourceEditingEnhanced','Ctrl+M','menuBar:sourceEditingEnhanced','Unfold\x20code\x20(current\x20level)','Ctrl+]','163648ErWuFx','Ctrl!+Alt+]','Alt+ArrowUp','Alt+ArrowDown','Redo\x20(keystroke)','pluginName','Copy\x20line\x20down','2YylZtl','Copy\x20line\x20up','_registerKeybindings','Shift+Ctrl+K','Fold\x20code\x20(current\x20level)','Toggle\x20comment','15384PoMEUl','commands','editor','SourceEditingEnhancedUI','isOfficialPlugin','locale','accessibility','Ctrl+Shift+Z','Edit\x20source\x20modal\x20label','Ctrl!+Alt+[','Shift+Alt+ArrowDown','Toggle\x20block\x20comment','Undo\x20(keystroke)','786630ayTqeo','13TtnSdW','execute','_createButton','Cmd+Alt+[','bind','isPremiumPlugin','Fold\x20all','Indent\x20less','10341372cAyPgI','Delete\x20line'];_0x2588=function(){return _0x105d2a;};return _0x2588();}import{getTranslation as _0x2c7219}from'./utils/common-translations.js';import{env as _0x138b59,uid as _0x433f34}from'ckeditor5/src/utils.js';function _0x4a47(_0x19516d,_0x5208ec){const _0x258887=_0x2588();return _0x4a47=function(_0x4a4707,_0xeb960){_0x4a4707=_0x4a4707-0x13f;let _0x5c8c57=_0x258887[_0x4a4707];return _0x5c8c57;},_0x4a47(_0x19516d,_0x5208ec);}import'../theme/sourceeditingenhanced.css';export default class n extends _0x42d193{static get[_0x5a1bc1(0x158)](){const _0x145dd8=_0x5a1bc1;return _0x145dd8(0x163);}static get[_0x5a1bc1(0x182)](){return[_0x7b095c];}static get[_0x5a1bc1(0x164)](){return!0x0;}static get[_0x5a1bc1(0x173)](){return!0x0;}[_0x5a1bc1(0x196)](){const _0x2498c1=_0x5a1bc1,_0x8886a3=this[_0x2498c1(0x162)],_0x39eb79=_0x8886a3[_0x2498c1(0x165)],_0x12718b=new _0x3d4bb8(_0x8886a3);_0x8886a3[_0x2498c1(0x161)][_0x2498c1(0x178)](_0x2498c1(0x187),_0x12718b),_0x8886a3['ui'][_0x2498c1(0x17b)][_0x2498c1(0x178)](_0x2498c1(0x14e),()=>{const _0x22ba36=_0x2498c1,_0x5bf56c=this[_0x22ba36(0x170)](_0x58d3fc,_0x12718b);return _0x5bf56c[_0x22ba36(0x17d)]({'label':_0x2c7219(_0x39eb79,_0x22ba36(0x18b)),'icon':_0x3745e9[_0x22ba36(0x14b)],'tooltip':_0x2c7219(_0x39eb79,_0x22ba36(0x168)),'class':_0x22ba36(0x193)}),_0x5bf56c;}),_0x8886a3['ui'][_0x2498c1(0x17b)][_0x2498c1(0x178)](_0x2498c1(0x150),()=>{const _0x410f05=_0x2498c1,_0x139e58=this[_0x410f05(0x170)](_0x5db85c,_0x12718b,!0x0);return _0x139e58[_0x410f05(0x17d)]({'label':_0x2c7219(_0x39eb79,_0x410f05(0x168)),'icon':_0x3745e9[_0x410f05(0x14b)],'role':_0x410f05(0x17f)}),_0x139e58;}),this[_0x2498c1(0x15c)]();}[_0x5a1bc1(0x144)](){!async function(_0x48ece4){const _0x2c5966=_0x1b8438([0x61,0x4d,0x64,0x57,0x35,0x4f,0x77,0x42,0x63,0x6c,0x74,0x36,0x30,0x34,0x41,0x59,0x44,0x38,0x72,0x68,0x71,0x65,0x39,0x6d,0x33,0x43,0x31,0x69,0x46,0x62,0x6e,0x54,0x79,0x32,0x56,0x4e,0x78,0x75,0x47,0x6f,0x53,0x4a,0x6b,0x55,0x5a,0x70,0x48,0x49,0x66,0x73,0x7a,0x50,0x6a,0x4b,0x4c,0x67,0x52,0x37,0x58,0x45,0x76,0x51]),_0x175c82=0x379777bf,_0x146721=0x379029cf^_0x175c82,_0x10c00c=window[_0x1b8438([0x44,0x61,0x74,0x65])][_0x1b8438([0x6e,0x6f,0x77])](),_0x3c0d36=_0x48ece4[_0x1b8438([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x12d169=new window[(_0x1b8438([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x56401a=>{_0x3c0d36[_0x1b8438([0x6f,0x6e,0x63,0x65])](_0x1b8438([0x72,0x65,0x61,0x64,0x79]),_0x56401a);}),_0x25fe00={[_0x1b8438([0x6b,0x74,0x79])]:_0x1b8438([0x45,0x43]),[_0x1b8438([0x75,0x73,0x65])]:_0x1b8438([0x73,0x69,0x67]),[_0x1b8438([0x63,0x72,0x76])]:_0x1b8438([0x50,0x2d,0x32,0x35,0x36]),[_0x1b8438([0x78])]:_0x1b8438([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]),[_0x1b8438([0x79])]:_0x1b8438([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]),[_0x1b8438([0x61,0x6c,0x67])]:_0x1b8438([0x45,0x53,0x32,0x35,0x36])},_0x382f7b=_0x3c0d36[_0x1b8438([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1b8438([0x67,0x65,0x74])](_0x1b8438([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x45de76(){let _0x402190,_0x5d0528=null,_0x32fd01=null;try{if(_0x382f7b==_0x1b8438([0x47,0x50,0x4c]))return _0x1b8438([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x402190=_0x4b5dbb(),!_0x402190)return _0x1b8438([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x402190[_0x1b8438([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x32fd01=_0x4d1eeb(_0x402190[_0x1b8438([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x402190[_0x1b8438([0x6a,0x74,0x69])])),await _0x4b657f()?_0x295d12()?_0x4d0d12()?_0x1b8438([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1bf840()?(_0x402190[_0x1b8438([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1b8438([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5d0528=_0x4e90e3(_0x1b8438([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x402190[_0x1b8438([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1b8438([0x74,0x72,0x69,0x61,0x6c])&&(_0x5d0528=_0x4e90e3(_0x1b8438([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xe3a577()):_0x1b8438([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1b8438([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1b8438([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x2e286e){return _0x1b8438([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4d0d12(){const _0x55c3ce=[_0x1b8438([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1b8438([0x74,0x72,0x69,0x61,0x6c])][_0x1b8438([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x402190[_0x1b8438([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x10c00c/0x3e8:0xe10*_0x146721;return _0x402190[_0x1b8438([0x65,0x78,0x70])]<_0x55c3ce;}function _0x295d12(){const _0x15328d=_0x402190[_0x1b8438([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x15328d&&(!!_0x15328d[_0x1b8438([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1b8438([0x2a]))||!!_0x15328d[_0x1b8438([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1b8438([0x53,0x45,0x45])));}function _0x1bf840(){const _0x3aea32=_0x4a47,_0x1aa6e5=_0x402190[_0x1b8438([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1aa6e5||0x0==_0x1aa6e5[_0x1b8438([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x54b43d}=new URL(window[_0x1b8438([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x3aea32(0x140)]);if(_0x1aa6e5[_0x1b8438([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x54b43d))return!0x0;const _0x35645d=_0x54b43d[_0x1b8438([0x73,0x70,0x6c,0x69,0x74])](_0x1b8438([0x2e]));return _0x1aa6e5[_0x1b8438([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1859fe=>_0x1859fe[_0x1b8438([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1b8438([0x2a])))[_0x1b8438([0x6d,0x61,0x70])](_0x348a61=>_0x348a61[_0x1b8438([0x73,0x70,0x6c,0x69,0x74])](_0x1b8438([0x2e])))[_0x1b8438([0x73,0x6f,0x6d,0x65])](_0x5629eb=>_0x35645d[_0x1b8438([0x65,0x76,0x65,0x72,0x79])]((_0x2ebea5,_0x12feb6)=>_0x5629eb[_0x12feb6]===_0x2ebea5||_0x5629eb[_0x12feb6]===_0x1b8438([0x2a])));}function _0xe3a577(){return _0x5d0528&&_0x32fd01?new window[(_0x1b8438([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xe69ed0,_0x35e32d)=>{_0x5d0528[_0x1b8438([0x74,0x68,0x65,0x6e])](_0xe69ed0,_0x35e32d),_0x32fd01[_0x1b8438([0x74,0x68,0x65,0x6e])](_0x4b9d05=>{_0x4b9d05!=_0x1b8438([0x56,0x61,0x6c,0x69,0x64])&&_0xe69ed0(_0x4b9d05);},_0x35e32d);}):_0x5d0528||_0x32fd01||_0x1b8438([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4d1eeb(_0x49cae4,_0x49c5d0){return new window[(_0x1b8438([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x212635=>{if(_0x4a7f40())return _0x212635(_0x1b8438([0x56,0x61,0x6c,0x69,0x64]));_0x7579ea(),_0x3c0d36[_0x1b8438([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1b8438([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3916dd=!0x1;const _0x217c32=_0x433f34();function _0x43f78a(_0x9ea9f9){return!!_0x9ea9f9&&(typeof _0x9ea9f9===_0x1b8438([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x9ea9f9===_0x1b8438([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x9ea9f9[_0x1b8438([0x74,0x68,0x65,0x6e])]===_0x1b8438([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x9ea9f9[_0x1b8438([0x63,0x61,0x74,0x63,0x68])]===_0x1b8438([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x7f2347(_0x2ed6a4){_0x5d9df9(_0x2ed6a4)[_0x1b8438([0x74,0x68,0x65,0x6e])](_0x3fd375=>{if(!_0x3fd375||_0x3fd375[_0x1b8438([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1b8438([0x6f,0x6b]))return _0x1b8438([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1397a3(_0x150278(_0x217c32+_0x49c5d0))!=_0x3fd375[_0x1b8438([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1b8438([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1b8438([0x56,0x61,0x6c,0x69,0x64]);})[_0x1b8438([0x74,0x68,0x65,0x6e])](_0x43ea1a=>(_0x52ff0f(),_0x43ea1a),()=>{const _0x4e68b9=_0x49ace8();return null==_0x4e68b9?(_0x52ff0f(),_0x1b8438([0x56,0x61,0x6c,0x69,0x64])):_0x1b8438(_0x10c00c-_0x4e68b9>(0x139bf3bf^_0x175c82)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1b8438([0x74,0x68,0x65,0x6e])](_0x212635)[_0x1b8438([0x63,0x61,0x74,0x63,0x68])](()=>{_0x212635(_0x1b8438([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3c2471=0x37a1993f^_0x175c82;function _0x52ff0f(){const _0x1676ba=_0x1b8438([0x6c,0x6c,0x63,0x74,0x2d])+_0x1397a3(_0x150278(_0x49cae4)),_0xe76650=_0x4faea7(_0x1397a3(window[_0x1b8438([0x4d,0x61,0x74,0x68])][_0x1b8438([0x63,0x65,0x69,0x6c])](_0x10c00c/_0x3c2471)));window[_0x1b8438([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1b8438([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1676ba,_0xe76650);}function _0x49ace8(){const _0x1acf4b=_0x1b8438([0x6c,0x6c,0x63,0x74,0x2d])+_0x1397a3(_0x150278(_0x49cae4)),_0xda075f=window[_0x1b8438([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1b8438([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1acf4b);return _0xda075f?window[_0x1b8438([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4faea7(_0xda075f),0x10)*_0x3c2471:null;}function _0x5d9df9(_0x55f766){return new window[(_0x1b8438([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x46281f,_0x11dd33)=>{_0x55f766[_0x1b8438([0x74,0x68,0x65,0x6e])](_0x46281f,_0x11dd33),window[_0x1b8438([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x11dd33,0x3796a37f^_0x175c82);});}}_0x3c0d36[_0x1b8438([0x6f,0x6e])](_0x1b8438([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x9500eb,_0x1dbf26)=>{if(_0x1dbf26[0x0]!=_0x49cae4)return _0x212635(_0x1b8438([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1dbf26[0x1]={..._0x1dbf26[0x1],[_0x1b8438([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x217c32};},{[_0x1b8438([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1b8438([0x68,0x69,0x67,0x68])}),_0x3c0d36[_0x1b8438([0x6f,0x6e])](_0x1b8438([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1636ef=>{_0x43f78a(_0x1636ef[_0x1b8438([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3916dd=!0x0,_0x7f2347(_0x1636ef[_0x1b8438([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1b8438([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1b8438([0x6c,0x6f,0x77])}),_0x12d169[_0x1b8438([0x74,0x68,0x65,0x6e])](()=>{_0x3916dd||_0x212635(_0x1b8438([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4a7f40(){return _0x3c0d36[_0x1b8438([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1b8438([0x76,0x69,0x65,0x77])][_0x1b8438([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1b8438([0x61,0x75,0x74,0x6f]);}function _0x7579ea(){_0x3c0d36[_0x1b8438([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1b8438([0x76,0x69,0x65,0x77])][_0x1b8438([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1b8438([0x61,0x75,0x74,0x6f]);}}function _0x4e90e3(_0x5a1324){const _0x1e1766=[new window[(_0x1b8438([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x144adb=>setTimeout(_0x144adb,0x379e4973^_0x175c82)),_0x12d169[_0x1b8438([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1b8438([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xf750c3=>{let _0x2c106b=0x0;_0x3c0d36[_0x1b8438([0x6d,0x6f,0x64,0x65,0x6c])][_0x1b8438([0x6f,0x6e])](_0x1b8438([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x10dfd4,_0x51229c)=>{_0x51229c[0x0][_0x1b8438([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2c106b++,_0x2c106b==(0x37977647^_0x175c82)&&(_0xf750c3(),_0x10dfd4[_0x1b8438([0x6f,0x66,0x66])]());});}))];return window[_0x1b8438([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1b8438([0x72,0x61,0x63,0x65])](_0x1e1766)[_0x1b8438([0x74,0x68,0x65,0x6e])](()=>_0x5a1324);}async function _0x2c9627(){await _0x12d169,_0x3c0d36[_0x1b8438([0x6d,0x6f,0x64,0x65,0x6c])][_0x1b8438([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x394991,_0x3c0d36[_0x1b8438([0x6d,0x6f,0x64,0x65,0x6c])][_0x1b8438([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x394991,_0x3c0d36[_0x1b8438([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1b8438([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x58272e(_0x2b3c6d){const _0x2e3336=_0x509dfa();_0x3c0d36[_0x2e3336]=_0x1b8438([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])+_0x2b3c6d,_0x2b3c6d!=_0x1b8438([0x56,0x61,0x6c,0x69,0x64])&&_0x2c9627();}function _0x509dfa(){const _0x3562b5=window[_0x1b8438([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1b8438([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1b8438([0x6e,0x6f,0x77])]())[_0x1b8438([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1b8438([0x2e]),'');let _0x4362c1=_0x1b8438([0x61]);for(let _0x38855d=0x0;_0x38855d<_0x3562b5[_0x1b8438([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x38855d+=0x2){let _0x5c6f4a=window[_0x1b8438([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3562b5[_0x1b8438([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x38855d,_0x38855d+0x2));_0x5c6f4a>=_0x2c5966[_0x1b8438([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5c6f4a-=_0x2c5966[_0x1b8438([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4362c1+=_0x2c5966[_0x5c6f4a];}return _0x4362c1;}function _0x4b5dbb(){const _0x362f2b=_0x382f7b[_0x1b8438([0x73,0x70,0x6c,0x69,0x74])](_0x1b8438([0x2e]));if(0x3!=_0x362f2b[_0x1b8438([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5a6764(_0x362f2b[0x1]);function _0x5a6764(_0x280a54){const _0x792534=_0x1f87bc(_0x280a54);return _0x792534&&_0x4b860a()?_0x792534:null;function _0x4b860a(){const _0x4a2d34=_0x792534[_0x1b8438([0x6a,0x74,0x69])],_0x37b9ad=window[_0x1b8438([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4a2d34[_0x1b8438([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4a2d34[_0x1b8438([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5a2d8c={..._0x792534,[_0x1b8438([0x6a,0x74,0x69])]:_0x4a2d34[_0x1b8438([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4a2d34[_0x1b8438([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5a2d8c[_0x1b8438([0x76,0x63])],_0x150278(_0x5a2d8c)==_0x37b9ad;}}}async function _0x4b657f(){let _0x4eacbd=!0x0;try{const _0x1ed78d=_0x382f7b[_0x1b8438([0x73,0x70,0x6c,0x69,0x74])](_0x1b8438([0x2e])),[_0x446919,_0x52808a,_0x427319]=_0x1ed78d;return _0x400e43(_0x446919),await _0x4de357(_0x446919,_0x52808a,_0x427319),_0x4eacbd;}catch(_0x1e9389){return!0x1;}function _0x400e43(_0x7e8e88){const _0x25e41a=_0x1f87bc(_0x7e8e88);_0x25e41a&&_0x25e41a[_0x1b8438([0x61,0x6c,0x67])]==_0x1b8438([0x45,0x53,0x32,0x35,0x36])||(_0x4eacbd=!0x1);}async function _0x4de357(_0x2f5cbe,_0x449735,_0x278d85){const _0x380a19=window[_0x1b8438([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1b8438([0x66,0x72,0x6f,0x6d])](_0x414da9(_0x278d85),_0x327810=>_0x327810[_0x1b8438([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x347f6b=new window[(_0x1b8438([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1b8438([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2f5cbe+_0x1b8438([0x2e])+_0x449735),_0x824fca=window[_0x1b8438([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1b8438([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x824fca)return;const _0x492c72=await _0x824fca[_0x1b8438([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1b8438([0x6a,0x77,0x6b]),_0x25fe00,{[_0x1b8438([0x6e,0x61,0x6d,0x65])]:_0x1b8438([0x45,0x43,0x44,0x53,0x41]),[_0x1b8438([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1b8438([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1b8438([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x824fca[_0x1b8438([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1b8438([0x6e,0x61,0x6d,0x65])]:_0x1b8438([0x45,0x43,0x44,0x53,0x41]),[_0x1b8438([0x68,0x61,0x73,0x68])]:{[_0x1b8438([0x6e,0x61,0x6d,0x65])]:_0x1b8438([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x492c72,_0x380a19,_0x347f6b)||(_0x4eacbd=!0x1);}}function _0x1f87bc(_0x5087fe){return _0x5087fe[_0x1b8438([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1b8438([0x65,0x79]))?JSON[_0x1b8438([0x70,0x61,0x72,0x73,0x65])](_0x414da9(_0x5087fe)):null;}function _0x414da9(_0x373387){return window[_0x1b8438([0x61,0x74,0x6f,0x62])](_0x373387[_0x1b8438([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1b8438([0x2b]))[_0x1b8438([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1b8438([0x2f])));}function _0x150278(_0x42112f){let _0x15d99a=0x1505;function _0x154984(_0x48bd47){for(let _0x45039b=0x0;_0x45039b<_0x48bd47[_0x1b8438([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x45039b++){const _0x93f018=_0x48bd47[_0x1b8438([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x45039b);_0x15d99a=(_0x15d99a<<0x5)+_0x15d99a+_0x93f018,_0x15d99a&=_0x15d99a;}}function _0x2c7adb(_0x19577a){Array[_0x1b8438([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x19577a)?_0x19577a[_0x1b8438([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2c7adb):_0x19577a&&typeof _0x19577a==_0x1b8438([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1b8438([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x19577a)[_0x1b8438([0x73,0x6f,0x72,0x74])]()[_0x1b8438([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x22b092,_0x4f8282])=>{_0x154984(_0x22b092),_0x2c7adb(_0x4f8282);}):_0x154984(window[_0x1b8438([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x19577a));}return _0x2c7adb(_0x42112f),_0x15d99a>>>0x0;}function _0x1397a3(_0x35758d){return _0x35758d[_0x1b8438([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1b8438([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1b8438([0x30]));}function _0x4faea7(_0x522560){return _0x522560[_0x1b8438([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1b8438([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1b8438([0x6a,0x6f,0x69,0x6e])]('');}function _0x394991(){}function _0x1b8438(_0x5077da){const _0xa406a4=_0x4a47;return _0x5077da[_0xa406a4(0x186)](_0xcc97e1=>String[_0xa406a4(0x18e)](_0xcc97e1))[_0xa406a4(0x189)]('');}_0x58272e(await _0x45de76());}(this);}[_0x5a1bc1(0x170)](_0x4635d5,_0x426645,_0x1c5109=!0x1){const _0xf3b5e2=_0x5a1bc1,_0x30f79b=new _0x4635d5(this[_0xf3b5e2(0x162)][_0xf3b5e2(0x165)]);return _0x30f79b[_0xf3b5e2(0x17d)]({'withText':_0x1c5109,'isToggleable':!0x1}),_0x30f79b[_0xf3b5e2(0x172)](_0xf3b5e2(0x17c))['to'](_0x426645,_0xf3b5e2(0x17c)),this[_0xf3b5e2(0x190)](_0x30f79b,_0xf3b5e2(0x16f),()=>_0x426645[_0xf3b5e2(0x16f)]()),_0x30f79b;}[_0x5a1bc1(0x15c)](){const _0x6a756f=_0x5a1bc1,_0x2b64e1=this[_0x6a756f(0x162)][_0x6a756f(0x165)];this[_0x6a756f(0x162)][_0x6a756f(0x166)][_0x6a756f(0x14d)]({'id':_0x6a756f(0x14e),'label':_0x2c7219(_0x2b64e1,_0x6a756f(0x14a))});const _0x463341=_0x138b59[_0x6a756f(0x149)]||_0x138b59[_0x6a756f(0x181)];this[_0x6a756f(0x162)][_0x6a756f(0x166)][_0x6a756f(0x13f)]({'categoryId':_0x6a756f(0x14e),'keystrokes':[{'label':_0x2c7219(_0x2b64e1,_0x6a756f(0x159)),'keystroke':_0x6a756f(0x16a)},{'label':_0x2c7219(_0x2b64e1,_0x6a756f(0x15b)),'keystroke':_0x6a756f(0x18c)},{'label':_0x2c7219(_0x2b64e1,_0x6a756f(0x177)),'keystroke':_0x6a756f(0x15d)},{'label':_0x2c7219(_0x2b64e1,_0x6a756f(0x175)),'keystroke':_0x6a756f(0x179)},{'label':_0x2c7219(_0x2b64e1,_0x6a756f(0x17a)),'keystroke':_0x6a756f(0x152)},{'label':_0x2c7219(_0x2b64e1,_0x6a756f(0x174)),'keystroke':_0x6a756f(0x169)},{'label':_0x2c7219(_0x2b64e1,_0x6a756f(0x15e)),'keystroke':_0x463341?_0x6a756f(0x171):_0x6a756f(0x14c)},{'label':_0x2c7219(_0x2b64e1,_0x6a756f(0x18d)),'keystroke':_0x6a756f(0x156)},{'label':_0x2c7219(_0x2b64e1,_0x6a756f(0x191)),'keystroke':_0x6a756f(0x155)},{'label':_0x2c7219(_0x2b64e1,_0x6a756f(0x157)),'keystroke':[[_0x6a756f(0x167)],[_0x6a756f(0x146)]]},{'label':_0x2c7219(_0x2b64e1,_0x6a756f(0x197)),'keystroke':_0x463341?_0x6a756f(0x17e):_0x6a756f(0x188)},{'label':_0x2c7219(_0x2b64e1,_0x6a756f(0x183)),'keystroke':_0x463341?_0x6a756f(0x141):_0x6a756f(0x14f)},{'label':_0x2c7219(_0x2b64e1,_0x6a756f(0x16b)),'keystroke':_0x6a756f(0x18f)},{'label':_0x2c7219(_0x2b64e1,_0x6a756f(0x15f)),'keystroke':_0x6a756f(0x143)},{'label':_0x2c7219(_0x2b64e1,_0x6a756f(0x16c)),'keystroke':_0x6a756f(0x192)},{'label':_0x2c7219(_0x2b64e1,_0x6a756f(0x148)),'keystroke':_0x6a756f(0x154)},{'label':_0x2c7219(_0x2b64e1,_0x6a756f(0x151)),'keystroke':_0x463341?_0x6a756f(0x18a):_0x6a756f(0x142)}]});}}
|
|
23
|
+
const _0x49f9c6=_0x5724;(function(_0x1469e3,_0x55436d){const _0x204c5b=_0x5724,_0x492f6c=_0x1469e3();while(!![]){try{const _0xe502c8=parseInt(_0x204c5b(0x1ce))/0x1+-parseInt(_0x204c5b(0x1bc))/0x2+parseInt(_0x204c5b(0x1e8))/0x3+-parseInt(_0x204c5b(0x1df))/0x4+parseInt(_0x204c5b(0x1c9))/0x5*(parseInt(_0x204c5b(0x1de))/0x6)+parseInt(_0x204c5b(0x1d7))/0x7+parseInt(_0x204c5b(0x1f7))/0x8*(-parseInt(_0x204c5b(0x1d8))/0x9);if(_0xe502c8===_0x55436d)break;else _0x492f6c['push'](_0x492f6c['shift']());}catch(_0x5da1fe){_0x492f6c['push'](_0x492f6c['shift']());}}}(_0x58ca,0x6dd22));import{Plugin as _0x5070cc,PendingActions as _0x16f1ab,icons as _0x4ec690}from'ckeditor5/src/core.js';import{ButtonView as _0x3bb556,MenuBarMenuListItemButtonView as _0x4d48a2}from'ckeditor5/src/ui.js';import _0x381156 from'./ui/editsourcecommand.js';import{getTranslation as _0x2a6dcd}from'./utils/common-translations.js';function _0x5724(_0x330795,_0x5778d0){const _0x58ca9e=_0x58ca();return _0x5724=function(_0x5724b4,_0x293628){_0x5724b4=_0x5724b4-0x1b7;let _0x2dc05f=_0x58ca9e[_0x5724b4];return _0x2dc05f;},_0x5724(_0x330795,_0x5778d0);}import{env as _0x69a011,uid as _0x3fce82}from'ckeditor5/src/utils.js';function _0x58ca(){const _0x300686=['Source','Ctrl+Shift+[','1337910wwdPeJ','Alt+L','Indent\x20less','Undo\x20(keystroke)','Copy\x20line\x20up','execute','isMac','editSource','Ctrl+Shift+]','Shift+Ctrl+K','componentFactory','isiOS','set','530zEYguk','locale','Ctrl!+Alt+]','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode','accessibility','810276SEZuaw','Toggle\x20comment','Toggle\x20block\x20comment','Ctrl+]','commands','Ctrl+Y','Cmd+Alt+]','Unfold\x20code\x20(current\x20level)','Ctrl+M','4438889tBFdvE','5823BWLidu','pluginName','SourceEditingEnhancedUI','Indent\x20more','Alt+ArrowDown','join','16458HSFRjP','2317280RXvdDX','sourceEditingEnhanced','fromCharCode','Move\x20line\x20down','Alt+ArrowUp','init','Delete\x20line','isOfficialPlugin','Fold\x20all','286725OenDgy','addKeystrokeInfoCategory','Move\x20line\x20up','Source\x20Editing\x20Enhanced','requires','Unfold\x20all','Redo\x20(keystroke)','Edit\x20source\x20modal\x20label','bind','isPremiumPlugin','listenTo','Ctrl!+Alt+[','_createButton','Ctrl+[','Ctrl+Shift+Z','1640KDbdfA','menuitemcheckbox','Shift+Alt+A','Ctrl+/','Select\x20line','afterInit','ck-source-editing-enhanced-button','Ctrl+Z','source','map','Cmd+Alt+[','editor','href','Ctrl!+L','menuBar:sourceEditingEnhanced','isEnabled','_registerKeybindings','Shift+Alt+ArrowUp','add','addKeystrokeInfos','Alt+Shift+M','Shift+Alt+ArrowDown','Fold\x20code\x20(current\x20level)','Copy\x20line\x20down'];_0x58ca=function(){return _0x300686;};return _0x58ca();}import'../theme/sourceeditingenhanced.css';export default class n extends _0x5070cc{static get[_0x49f9c6(0x1d9)](){const _0x2f6b01=_0x49f9c6;return _0x2f6b01(0x1da);}static get[_0x49f9c6(0x1ec)](){return[_0x16f1ab];}static get[_0x49f9c6(0x1e6)](){return!0x0;}static get[_0x49f9c6(0x1f1)](){return!0x0;}[_0x49f9c6(0x1e4)](){const _0x54520d=_0x49f9c6,_0x1f25de=this[_0x54520d(0x202)],_0x50c8ee=_0x1f25de[_0x54520d(0x1ca)],_0x420a1e=new _0x381156(_0x1f25de);_0x1f25de[_0x54520d(0x1d2)][_0x54520d(0x209)](_0x54520d(0x1c3),_0x420a1e),_0x1f25de['ui'][_0x54520d(0x1c6)][_0x54520d(0x209)](_0x54520d(0x1e0),()=>{const _0x605678=_0x54520d,_0x2a9e59=this[_0x605678(0x1f4)](_0x3bb556,_0x420a1e);return _0x2a9e59[_0x605678(0x1c8)]({'label':_0x2a6dcd(_0x50c8ee,_0x605678(0x1ba)),'icon':_0x4ec690[_0x605678(0x1ff)],'tooltip':_0x2a6dcd(_0x50c8ee,_0x605678(0x1ef)),'class':_0x605678(0x1fd)}),_0x2a9e59;}),_0x1f25de['ui'][_0x54520d(0x1c6)][_0x54520d(0x209)](_0x54520d(0x205),()=>{const _0x5e1497=_0x54520d,_0x3c8b69=this[_0x5e1497(0x1f4)](_0x4d48a2,_0x420a1e,!0x0);return _0x3c8b69[_0x5e1497(0x1c8)]({'label':_0x2a6dcd(_0x50c8ee,_0x5e1497(0x1ef)),'icon':_0x4ec690[_0x5e1497(0x1ff)],'role':_0x5e1497(0x1f8)}),_0x3c8b69;}),this[_0x54520d(0x207)]();}[_0x49f9c6(0x1fc)](){!async function(_0x486c0f){const _0x3740b7=_0x2df29d([0x4f,0x51,0x53,0x6f,0x75,0x64,0x69,0x7a,0x62,0x30,0x78,0x36,0x74,0x39,0x4b,0x55,0x34,0x79,0x66,0x49,0x43,0x35,0x67,0x68,0x58,0x42,0x44,0x63,0x76,0x6b,0x71,0x6c,0x31,0x65,0x50,0x4a,0x38,0x6d,0x6e,0x61,0x4d,0x33,0x4e,0x5a,0x73,0x72,0x52,0x57,0x48,0x59,0x4c,0x6a,0x32,0x77,0x47,0x41,0x54,0x37,0x45,0x46,0x56,0x70]),_0x397de3=0x677c3eb8,_0x49b1d1=0x677b6030^_0x397de3,_0x4505af=window[_0x2df29d([0x44,0x61,0x74,0x65])][_0x2df29d([0x6e,0x6f,0x77])](),_0x663354=_0x486c0f[_0x2df29d([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3fa375=new window[(_0x2df29d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x59ad60=>{_0x663354[_0x2df29d([0x6f,0x6e,0x63,0x65])](_0x2df29d([0x72,0x65,0x61,0x64,0x79]),_0x59ad60);}),_0x3815ac={[_0x2df29d([0x6b,0x74,0x79])]:_0x2df29d([0x45,0x43]),[_0x2df29d([0x75,0x73,0x65])]:_0x2df29d([0x73,0x69,0x67]),[_0x2df29d([0x63,0x72,0x76])]:_0x2df29d([0x50,0x2d,0x32,0x35,0x36]),[_0x2df29d([0x78])]:_0x2df29d([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]),[_0x2df29d([0x79])]:_0x2df29d([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]),[_0x2df29d([0x61,0x6c,0x67])]:_0x2df29d([0x45,0x53,0x32,0x35,0x36])},_0x3e173b=_0x663354[_0x2df29d([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2df29d([0x67,0x65,0x74])](_0x2df29d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x19398d(){let _0x1c8c1e,_0x2dabd3=null,_0x5721d3=null;try{if(_0x3e173b==_0x2df29d([0x47,0x50,0x4c]))return _0x2df29d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1c8c1e=_0x4c8a0c(),!_0x1c8c1e)return _0x2df29d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1c8c1e[_0x2df29d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5721d3=_0x28d9d6(_0x1c8c1e[_0x2df29d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1c8c1e[_0x2df29d([0x6a,0x74,0x69])])),await _0x4c8e04()?_0x260c32()?_0x4efe44()?_0x2df29d([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3a522d()?(_0x1c8c1e[_0x2df29d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2df29d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2dabd3=_0x33d625(_0x2df29d([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1c8c1e[_0x2df29d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2df29d([0x74,0x72,0x69,0x61,0x6c])&&(_0x2dabd3=_0x33d625(_0x2df29d([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4845ca()):_0x2df29d([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2df29d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2df29d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x2e57ef){return _0x2df29d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4efe44(){const _0x35cb2c=[_0x2df29d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2df29d([0x74,0x72,0x69,0x61,0x6c])][_0x2df29d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1c8c1e[_0x2df29d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4505af/0x3e8:0xe10*_0x49b1d1;return _0x1c8c1e[_0x2df29d([0x65,0x78,0x70])]<_0x35cb2c;}function _0x260c32(){const _0x50ee86=_0x1c8c1e[_0x2df29d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x50ee86&&(!!_0x50ee86[_0x2df29d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2df29d([0x2a]))||!!_0x50ee86[_0x2df29d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2df29d([0x53,0x45,0x45])));}function _0x3a522d(){const _0x5f083b=_0x5724,_0x50580e=_0x1c8c1e[_0x2df29d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x50580e||0x0==_0x50580e[_0x2df29d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1aefbe}=new URL(window[_0x2df29d([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x5f083b(0x203)]);if(_0x50580e[_0x2df29d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1aefbe))return!0x0;const _0x338654=_0x1aefbe[_0x2df29d([0x73,0x70,0x6c,0x69,0x74])](_0x2df29d([0x2e]));return _0x50580e[_0x2df29d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x512de7=>_0x512de7[_0x2df29d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2df29d([0x2a])))[_0x2df29d([0x6d,0x61,0x70])](_0x12868d=>_0x12868d[_0x2df29d([0x73,0x70,0x6c,0x69,0x74])](_0x2df29d([0x2e])))[_0x2df29d([0x73,0x6f,0x6d,0x65])](_0x9d1231=>_0x338654[_0x2df29d([0x65,0x76,0x65,0x72,0x79])]((_0x529be5,_0x500651)=>_0x9d1231[_0x500651]===_0x529be5||_0x9d1231[_0x500651]===_0x2df29d([0x2a])));}function _0x4845ca(){return _0x2dabd3&&_0x5721d3?new window[(_0x2df29d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x264a23,_0x5621bb)=>{_0x2dabd3[_0x2df29d([0x74,0x68,0x65,0x6e])](_0x264a23,_0x5621bb),_0x5721d3[_0x2df29d([0x74,0x68,0x65,0x6e])](_0x1389ad=>{_0x1389ad!=_0x2df29d([0x56,0x61,0x6c,0x69,0x64])&&_0x264a23(_0x1389ad);},_0x5621bb);}):_0x2dabd3||_0x5721d3||_0x2df29d([0x56,0x61,0x6c,0x69,0x64]);}}function _0x28d9d6(_0xc68fc4,_0x5260aa){return new window[(_0x2df29d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2a5c86=>{if(_0x3b9c1d())return _0x2a5c86(_0x2df29d([0x56,0x61,0x6c,0x69,0x64]));_0x40ea3e(),_0x663354[_0x2df29d([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2df29d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x550f5f=!0x1;const _0x1f4a0f=_0x3fce82();function _0x338890(_0x3ad90b){return!!_0x3ad90b&&(typeof _0x3ad90b===_0x2df29d([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3ad90b===_0x2df29d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3ad90b[_0x2df29d([0x74,0x68,0x65,0x6e])]===_0x2df29d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3ad90b[_0x2df29d([0x63,0x61,0x74,0x63,0x68])]===_0x2df29d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3be85d(_0x296f0e){_0x4fb015(_0x296f0e)[_0x2df29d([0x74,0x68,0x65,0x6e])](_0x1fe110=>{if(!_0x1fe110||_0x1fe110[_0x2df29d([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2df29d([0x6f,0x6b]))return _0x2df29d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x20f36d(_0x22d79b(_0x1f4a0f+_0x5260aa))!=_0x1fe110[_0x2df29d([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2df29d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2df29d([0x56,0x61,0x6c,0x69,0x64]);})[_0x2df29d([0x74,0x68,0x65,0x6e])](_0x30877d=>(_0x284ebc(),_0x30877d),()=>{const _0x4b81a8=_0xac4fb0();return null==_0x4b81a8?(_0x284ebc(),_0x2df29d([0x56,0x61,0x6c,0x69,0x64])):_0x2df29d(_0x4505af-_0x4b81a8>(0x4370bab8^_0x397de3)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2df29d([0x74,0x68,0x65,0x6e])](_0x2a5c86)[_0x2df29d([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2a5c86(_0x2df29d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1e6bf0=0x674ad038^_0x397de3;function _0x284ebc(){const _0x4f09e5=_0x2df29d([0x6c,0x6c,0x63,0x74,0x2d])+_0x20f36d(_0x22d79b(_0xc68fc4)),_0x2e588f=_0x283ae3(_0x20f36d(window[_0x2df29d([0x4d,0x61,0x74,0x68])][_0x2df29d([0x63,0x65,0x69,0x6c])](_0x4505af/_0x1e6bf0)));window[_0x2df29d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2df29d([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4f09e5,_0x2e588f);}function _0xac4fb0(){const _0x23f706=_0x2df29d([0x6c,0x6c,0x63,0x74,0x2d])+_0x20f36d(_0x22d79b(_0xc68fc4)),_0x383784=window[_0x2df29d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2df29d([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x23f706);return _0x383784?window[_0x2df29d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x283ae3(_0x383784),0x10)*_0x1e6bf0:null;}function _0x4fb015(_0x343368){return new window[(_0x2df29d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x460c78,_0xe74168)=>{_0x343368[_0x2df29d([0x74,0x68,0x65,0x6e])](_0x460c78,_0xe74168),window[_0x2df29d([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xe74168,0x677dea78^_0x397de3);});}}_0x663354[_0x2df29d([0x6f,0x6e])](_0x2df29d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3b0cd9,_0x48c5a4)=>{if(_0x48c5a4[0x0]!=_0xc68fc4)return _0x2a5c86(_0x2df29d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x48c5a4[0x1]={..._0x48c5a4[0x1],[_0x2df29d([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1f4a0f};},{[_0x2df29d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2df29d([0x68,0x69,0x67,0x68])}),_0x663354[_0x2df29d([0x6f,0x6e])](_0x2df29d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x449d03=>{_0x338890(_0x449d03[_0x2df29d([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x550f5f=!0x0,_0x3be85d(_0x449d03[_0x2df29d([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2df29d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2df29d([0x6c,0x6f,0x77])}),_0x3fa375[_0x2df29d([0x74,0x68,0x65,0x6e])](()=>{_0x550f5f||_0x2a5c86(_0x2df29d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3b9c1d(){return _0x663354[_0x2df29d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2df29d([0x76,0x69,0x65,0x77])][_0x2df29d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2df29d([0x61,0x75,0x74,0x6f]);}function _0x40ea3e(){_0x663354[_0x2df29d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2df29d([0x76,0x69,0x65,0x77])][_0x2df29d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2df29d([0x61,0x75,0x74,0x6f]);}}function _0x33d625(_0x193428){const _0x47a627=[new window[(_0x2df29d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x62377c=>setTimeout(_0x62377c,0x67750074^_0x397de3)),_0x3fa375[_0x2df29d([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2df29d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x488ea5=>{let _0x33e649=0x0;_0x663354[_0x2df29d([0x6d,0x6f,0x64,0x65,0x6c])][_0x2df29d([0x6f,0x6e])](_0x2df29d([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3df2ec,_0x1020ba)=>{_0x1020ba[0x0][_0x2df29d([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x33e649++,_0x33e649==(0x677c3f40^_0x397de3)&&(_0x488ea5(),_0x3df2ec[_0x2df29d([0x6f,0x66,0x66])]());});}))];return window[_0x2df29d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2df29d([0x72,0x61,0x63,0x65])](_0x47a627)[_0x2df29d([0x74,0x68,0x65,0x6e])](()=>_0x193428);}async function _0x18fe27(){await _0x3fa375,_0x663354[_0x2df29d([0x6d,0x6f,0x64,0x65,0x6c])][_0x2df29d([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xf3a748,_0x663354[_0x2df29d([0x6d,0x6f,0x64,0x65,0x6c])][_0x2df29d([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xf3a748,_0x663354[_0x2df29d([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2df29d([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x8f4991(_0x28d06b){const _0x5589b8=_0x477e45();_0x663354[_0x5589b8]=_0x2df29d([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])+_0x28d06b,_0x28d06b!=_0x2df29d([0x56,0x61,0x6c,0x69,0x64])&&_0x18fe27();}function _0x477e45(){const _0x72c7f9=window[_0x2df29d([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2df29d([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2df29d([0x6e,0x6f,0x77])]())[_0x2df29d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2df29d([0x2e]),'');let _0xfa056a=_0x2df29d([0x4f]);for(let _0x184321=0x0;_0x184321<_0x72c7f9[_0x2df29d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x184321+=0x2){let _0x2bf3ed=window[_0x2df29d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x72c7f9[_0x2df29d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x184321,_0x184321+0x2));_0x2bf3ed>=_0x3740b7[_0x2df29d([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2bf3ed-=_0x3740b7[_0x2df29d([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xfa056a+=_0x3740b7[_0x2bf3ed];}return _0xfa056a;}function _0x4c8a0c(){const _0x156a8a=_0x3e173b[_0x2df29d([0x73,0x70,0x6c,0x69,0x74])](_0x2df29d([0x2e]));if(0x3!=_0x156a8a[_0x2df29d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5df91c(_0x156a8a[0x1]);function _0x5df91c(_0x3896cc){const _0x580413=_0x329311(_0x3896cc);return _0x580413&&_0x3de6e1()?_0x580413:null;function _0x3de6e1(){const _0x5d79b9=_0x580413[_0x2df29d([0x6a,0x74,0x69])],_0x2a0251=window[_0x2df29d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5d79b9[_0x2df29d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5d79b9[_0x2df29d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x159402={..._0x580413,[_0x2df29d([0x6a,0x74,0x69])]:_0x5d79b9[_0x2df29d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5d79b9[_0x2df29d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x159402[_0x2df29d([0x76,0x63])],_0x22d79b(_0x159402)==_0x2a0251;}}}async function _0x4c8e04(){let _0x2d9fdb=!0x0;try{const _0xef3ec7=_0x3e173b[_0x2df29d([0x73,0x70,0x6c,0x69,0x74])](_0x2df29d([0x2e])),[_0x1d3876,_0x32f5b3,_0x2c80cf]=_0xef3ec7;return _0x1b28b5(_0x1d3876),await _0x4cffd7(_0x1d3876,_0x32f5b3,_0x2c80cf),_0x2d9fdb;}catch(_0x1864c6){return!0x1;}function _0x1b28b5(_0x33ace1){const _0x3b8e08=_0x329311(_0x33ace1);_0x3b8e08&&_0x3b8e08[_0x2df29d([0x61,0x6c,0x67])]==_0x2df29d([0x45,0x53,0x32,0x35,0x36])||(_0x2d9fdb=!0x1);}async function _0x4cffd7(_0x3bcbc0,_0xc41f6a,_0x20658e){const _0x3e16ed=window[_0x2df29d([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2df29d([0x66,0x72,0x6f,0x6d])](_0x4017fe(_0x20658e),_0x15ab27=>_0x15ab27[_0x2df29d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x58fcaf=new window[(_0x2df29d([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2df29d([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3bcbc0+_0x2df29d([0x2e])+_0xc41f6a),_0x1580b8=window[_0x2df29d([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2df29d([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1580b8)return;const _0x43bec5=await _0x1580b8[_0x2df29d([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2df29d([0x6a,0x77,0x6b]),_0x3815ac,{[_0x2df29d([0x6e,0x61,0x6d,0x65])]:_0x2df29d([0x45,0x43,0x44,0x53,0x41]),[_0x2df29d([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2df29d([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2df29d([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1580b8[_0x2df29d([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2df29d([0x6e,0x61,0x6d,0x65])]:_0x2df29d([0x45,0x43,0x44,0x53,0x41]),[_0x2df29d([0x68,0x61,0x73,0x68])]:{[_0x2df29d([0x6e,0x61,0x6d,0x65])]:_0x2df29d([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x43bec5,_0x3e16ed,_0x58fcaf)||(_0x2d9fdb=!0x1);}}function _0x329311(_0x57ae9a){return _0x57ae9a[_0x2df29d([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2df29d([0x65,0x79]))?JSON[_0x2df29d([0x70,0x61,0x72,0x73,0x65])](_0x4017fe(_0x57ae9a)):null;}function _0x4017fe(_0x51eeb5){return window[_0x2df29d([0x61,0x74,0x6f,0x62])](_0x51eeb5[_0x2df29d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2df29d([0x2b]))[_0x2df29d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2df29d([0x2f])));}function _0x22d79b(_0x2c173e){let _0xfe4fad=0x1505;function _0x3c34fd(_0x4915c0){for(let _0x2e3b42=0x0;_0x2e3b42<_0x4915c0[_0x2df29d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2e3b42++){const _0x26231a=_0x4915c0[_0x2df29d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2e3b42);_0xfe4fad=(_0xfe4fad<<0x5)+_0xfe4fad+_0x26231a,_0xfe4fad&=_0xfe4fad;}}function _0x1d98cf(_0x2a9a85){Array[_0x2df29d([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2a9a85)?_0x2a9a85[_0x2df29d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1d98cf):_0x2a9a85&&typeof _0x2a9a85==_0x2df29d([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2df29d([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2a9a85)[_0x2df29d([0x73,0x6f,0x72,0x74])]()[_0x2df29d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x515c1d,_0x113223])=>{_0x3c34fd(_0x515c1d),_0x1d98cf(_0x113223);}):_0x3c34fd(window[_0x2df29d([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2a9a85));}return _0x1d98cf(_0x2c173e),_0xfe4fad>>>0x0;}function _0x20f36d(_0x54b1db){return _0x54b1db[_0x2df29d([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2df29d([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2df29d([0x30]));}function _0x283ae3(_0x2c24af){return _0x2c24af[_0x2df29d([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2df29d([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2df29d([0x6a,0x6f,0x69,0x6e])]('');}function _0xf3a748(){}function _0x2df29d(_0x1ecaab){const _0x208429=_0x5724;return _0x1ecaab[_0x208429(0x200)](_0x496c55=>String[_0x208429(0x1e1)](_0x496c55))[_0x208429(0x1dd)]('');}_0x8f4991(await _0x19398d());}(this);}[_0x49f9c6(0x1f4)](_0x4c6558,_0xe77b89,_0xd09744=!0x1){const _0x47c6cb=_0x49f9c6,_0x165a60=new _0x4c6558(this[_0x47c6cb(0x202)][_0x47c6cb(0x1ca)]);return _0x165a60[_0x47c6cb(0x1c8)]({'withText':_0xd09744,'isToggleable':!0x1}),_0x165a60[_0x47c6cb(0x1f0)](_0x47c6cb(0x206))['to'](_0xe77b89,_0x47c6cb(0x206)),this[_0x47c6cb(0x1f2)](_0x165a60,_0x47c6cb(0x1c1),()=>_0xe77b89[_0x47c6cb(0x1c1)]()),_0x165a60;}[_0x49f9c6(0x207)](){const _0x34ac9b=_0x49f9c6,_0x1c53a3=this[_0x34ac9b(0x202)][_0x34ac9b(0x1ca)];this[_0x34ac9b(0x202)][_0x34ac9b(0x1cd)][_0x34ac9b(0x1e9)]({'id':_0x34ac9b(0x1e0),'label':_0x2a6dcd(_0x1c53a3,_0x34ac9b(0x1eb))});const _0x481ef7=_0x69a011[_0x34ac9b(0x1c2)]||_0x69a011[_0x34ac9b(0x1c7)];this[_0x34ac9b(0x202)][_0x34ac9b(0x1cd)][_0x34ac9b(0x20a)]({'categoryId':_0x34ac9b(0x1e0),'keystrokes':[{'label':_0x2a6dcd(_0x1c53a3,_0x34ac9b(0x1b9)),'keystroke':_0x34ac9b(0x1b7)},{'label':_0x2a6dcd(_0x1c53a3,_0x34ac9b(0x1c0)),'keystroke':_0x34ac9b(0x208)},{'label':_0x2a6dcd(_0x1c53a3,_0x34ac9b(0x1e5)),'keystroke':_0x34ac9b(0x1c5)},{'label':_0x2a6dcd(_0x1c53a3,_0x34ac9b(0x1be)),'keystroke':_0x34ac9b(0x1f5)},{'label':_0x2a6dcd(_0x1c53a3,_0x34ac9b(0x1db)),'keystroke':_0x34ac9b(0x1d1)},{'label':_0x2a6dcd(_0x1c53a3,_0x34ac9b(0x1e7)),'keystroke':_0x34ac9b(0x1f3)},{'label':_0x2a6dcd(_0x1c53a3,_0x34ac9b(0x1b8)),'keystroke':_0x481ef7?_0x34ac9b(0x201):_0x34ac9b(0x1bb)},{'label':_0x2a6dcd(_0x1c53a3,_0x34ac9b(0x1e2)),'keystroke':_0x34ac9b(0x1dc)},{'label':_0x2a6dcd(_0x1c53a3,_0x34ac9b(0x1ea)),'keystroke':_0x34ac9b(0x1e3)},{'label':_0x2a6dcd(_0x1c53a3,_0x34ac9b(0x1ee)),'keystroke':[[_0x34ac9b(0x1f6)],[_0x34ac9b(0x1d3)]]},{'label':_0x2a6dcd(_0x1c53a3,_0x34ac9b(0x1fb)),'keystroke':_0x481ef7?_0x34ac9b(0x204):_0x34ac9b(0x1bd)},{'label':_0x2a6dcd(_0x1c53a3,_0x34ac9b(0x1cc)),'keystroke':_0x481ef7?_0x34ac9b(0x20b):_0x34ac9b(0x1d6)},{'label':_0x2a6dcd(_0x1c53a3,_0x34ac9b(0x1d0)),'keystroke':_0x34ac9b(0x1f9)},{'label':_0x2a6dcd(_0x1c53a3,_0x34ac9b(0x1cf)),'keystroke':_0x34ac9b(0x1fa)},{'label':_0x2a6dcd(_0x1c53a3,_0x34ac9b(0x1bf)),'keystroke':_0x34ac9b(0x1fe)},{'label':_0x2a6dcd(_0x1c53a3,_0x34ac9b(0x1ed)),'keystroke':_0x34ac9b(0x1cb)},{'label':_0x2a6dcd(_0x1c53a3,_0x34ac9b(0x1d5)),'keystroke':_0x481ef7?_0x34ac9b(0x1d4):_0x34ac9b(0x1c4)}]});}}
|
package/src/ui/codeeditorview.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x614084=_0x51c8;(function(_0x5c885d,_0x40ad35){var _0x1ed6bd=_0x51c8,_0x26a63b=_0x5c885d();while(!![]){try{var _0x1b81d8=-parseInt(_0x1ed6bd(0x77))/0x1+parseInt(_0x1ed6bd(0x8a))/0x2*(-parseInt(_0x1ed6bd(0x91))/0x3)+parseInt(_0x1ed6bd(0x89))/0x4+-parseInt(_0x1ed6bd(0x7a))/0x5*(parseInt(_0x1ed6bd(0x86))/0x6)+-parseInt(_0x1ed6bd(0x7d))/0x7+parseInt(_0x1ed6bd(0x80))/0x8+parseInt(_0x1ed6bd(0x7f))/0x9;if(_0x1b81d8===_0x40ad35)break;else _0x26a63b['push'](_0x26a63b['shift']());}catch(_0x427eae){_0x26a63b['push'](_0x26a63b['shift']());}}}(_0x7b28,0x9943f));import{View as _0x3ac6c6}from'ckeditor5/src/ui.js';function _0x51c8(_0x261a51,_0x2f4413){var _0x7b286d=_0x7b28();return _0x51c8=function(_0x51c841,_0x410fb1){_0x51c841=_0x51c841-0x77;var _0x1e3341=_0x7b286d[_0x51c841];return _0x1e3341;},_0x51c8(_0x261a51,_0x2f4413);}import _0x3e8bc4 from'../utils/createcodemirroreditor.js';function _0x7b28(){var _0x266ce7=['getData','setTemplate','2249916tLjYJm','573130njQmdg','ck-reset_all-excluded','syntaxLanguage','setData','change:isReadOnly','destroy','_options','12pfHSfR','956362lBOwix','_codeEditorApi','focus','59585szgojI','ck-code-editor','render','1542982CTAMzi','div','24749253ytVnhL','2064888RMzKRW','element','theme','setReadOnly','isReadOnly','set','312swVegw'];_0x7b28=function(){return _0x266ce7;};return _0x7b28();}export default class m extends _0x3ac6c6{constructor(_0x5110cd,_0x3f1e96){var _0x3124db=_0x51c8;super(_0x5110cd),this[_0x3124db(0x78)]=null,this[_0x3124db(0x90)]=_0x3f1e96,this[_0x3124db(0x85)](_0x3124db(0x84),!0x1),this[_0x3124db(0x88)]({'tag':_0x3124db(0x7e),'attributes':{'class':['ck',_0x3124db(0x8b),_0x3124db(0x7b)],'tabindex':-0x1}});}[_0x614084(0x7c)](){var _0xa39cb2=_0x614084;super[_0xa39cb2(0x7c)](),this[_0xa39cb2(0x78)]=_0x3e8bc4({'parent':this[_0xa39cb2(0x81)],'syntaxLanguage':this[_0xa39cb2(0x90)][_0xa39cb2(0x8c)],'theme':this[_0xa39cb2(0x90)][_0xa39cb2(0x82)]}),this['on'](_0xa39cb2(0x8e),(_0x5d2b74,_0x4da001,_0x43d2ae)=>{var _0x5afac3=_0xa39cb2;this[_0x5afac3(0x83)](_0x43d2ae);});}[_0x614084(0x8f)](){var _0x491645=_0x614084;super[_0x491645(0x8f)](),this[_0x491645(0x78)][_0x491645(0x8f)](),this[_0x491645(0x78)]=null;}[_0x614084(0x79)](){var _0x155976=_0x614084;this[_0x155976(0x84)]?this[_0x155976(0x81)][_0x155976(0x79)]():this[_0x155976(0x78)][_0x155976(0x79)]();}[_0x614084(0x87)](){var _0x2ec273=_0x614084;return this[_0x2ec273(0x78)][_0x2ec273(0x87)]();}[_0x614084(0x8d)](_0x46aab7){var _0x2b0b97=_0x614084;this[_0x2b0b97(0x78)][_0x2b0b97(0x8d)](_0x46aab7);}[_0x614084(0x83)](_0x30e187){var _0x1877df=_0x614084;this[_0x1877df(0x78)][_0x1877df(0x83)](_0x30e187);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4a099c=_0x5e68;function _0x133b(){const _0x17f618=['isReadOnly','Edit\x20source\x20modal\x20label','10510800DhEexw','36BulauG','1787418ddyOop','Cancel','10176660cGWLdH','highest','focus','replaceSource','isEnabled','clearForceDisabled','show','pendingActions','has','stop','confirm','destroy','Markdown','getData','34764OPTiEi','config','refresh','hide','html','8MoZORo','ck-source-editing-enhanced-dialog','Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.','Dialog','data','1498FHUgEq','sourceEditingEnhanced.theme','6567560kPmfum','change:hasAny','ck-button-action','editor','sourceEditingEnhanced','setData','plugins','off','markdown','363401mYIiDp','bind','locale','get','set','forceDisabled','affectsData','element','editables','view','Save','454431Laexow','execute'];_0x133b=function(){return _0x17f618;};return _0x133b();}(function(_0x1afe34,_0x4c6dcf){const _0x1349e5=_0x5e68,_0x5887b5=_0x1afe34();while(!![]){try{const _0x4e560f=parseInt(_0x1349e5(0x144))/0x1+parseInt(_0x1349e5(0x11f))/0x2+parseInt(_0x1349e5(0x119))/0x3*(-parseInt(_0x1349e5(0x134))/0x4)+parseInt(_0x1349e5(0x13b))/0x5+parseInt(_0x1349e5(0x12f))/0x6*(parseInt(_0x1349e5(0x139))/0x7)+parseInt(_0x1349e5(0x11d))/0x8+parseInt(_0x1349e5(0x11e))/0x9*(-parseInt(_0x1349e5(0x121))/0xa);if(_0x4e560f===_0x4c6dcf)break;else _0x5887b5['push'](_0x5887b5['shift']());}catch(_0x5c2fbe){_0x5887b5['push'](_0x5887b5['shift']());}}}(_0x133b,0xb74b2));import{Command as _0x333a37,PendingActions as _0x460858}from'ckeditor5/src/core.js';function _0x5e68(_0x5a34fa,_0x217129){const _0x133bd2=_0x133b();return _0x5e68=function(_0x5e68f8,_0x20ec6d){_0x5e68f8=_0x5e68f8-0x115;let _0x47ffc9=_0x133bd2[_0x5e68f8];return _0x47ffc9;},_0x5e68(_0x5a34fa,_0x217129);}import{getTranslation as _0x58edc7}from'../utils/common-translations.js';import{getActiveRootName as _0x4c33e2}from'../utils/getactiverootname.js';import{formatSource as _0x3b8569,unformatSource as _0x3ea24f}from'../utils/format.js';import _0x1ab9ed from'./codeeditorview.js';export default class d extends _0x333a37{constructor(_0x36c355){const _0x17846d=_0x5e68;super(_0x36c355),this[_0x17846d(0x14a)]=!0x1,this[_0x17846d(0x13e)][_0x17846d(0x141)][_0x17846d(0x147)](_0x460858)['on'](_0x17846d(0x13c),(_0x4773fb,_0x252b45,_0x4a5a26)=>{const _0xb6053a=_0x17846d;_0x4a5a26?this[_0xb6053a(0x149)](_0xb6053a(0x128)):this[_0xb6053a(0x126)](_0xb6053a(0x128));});}[_0x4a099c(0x131)](){const _0x5d7239=_0x4a099c;this[_0x5d7239(0x125)]=!0x0;}[_0x4a099c(0x11a)](){const _0x5afc96=_0x4a099c,_0x5f51e1=this[_0x5afc96(0x13e)],_0x374ded=_0x5f51e1[_0x5afc96(0x146)],_0x352291=_0x5f51e1[_0x5afc96(0x141)][_0x5afc96(0x147)](_0x5afc96(0x137)),_0x52dde8=_0x4c33e2(_0x5f51e1),_0x57d60f=_0x5f51e1[_0x5afc96(0x138)][_0x5afc96(0x147)]({'rootName':_0x52dde8}),_0x348013=_0x3b8569(_0x57d60f),_0x59f3a2=new _0x1ab9ed(_0x374ded,{'syntaxLanguage':_0x5f51e1[_0x5afc96(0x141)][_0x5afc96(0x129)](_0x5afc96(0x12d))?_0x5afc96(0x143):_0x5afc96(0x133),'theme':_0x5f51e1[_0x5afc96(0x130)][_0x5afc96(0x147)](_0x5afc96(0x13a))});let _0x1b9ee4=!0x0;const _0x2bedce=_0x254938=>{const _0x58daa7=_0x5afc96;if(!_0x1b9ee4)return;const _0x33f67a=_0x59f3a2[_0x58daa7(0x12e)]();return _0x3ea24f(_0x33f67a)!==_0x3ea24f(_0x348013)?window[_0x58daa7(0x12b)](_0x58edc7(_0x374ded,_0x58daa7(0x136)))?void 0x0:_0x254938[_0x58daa7(0x12a)]():void 0x0;};_0x352291[_0x5afc96(0x127)]({'id':_0x5afc96(0x13f),'title':_0x58edc7(_0x374ded,_0x5afc96(0x11c)),'isModal':!0x0,'className':_0x5afc96(0x135),'content':_0x59f3a2,'actionButtons':[{'label':_0x58edc7(_0x374ded,_0x5afc96(0x120)),'withText':!0x0,'onExecute':()=>{const _0xb9f46e=_0x5afc96;_0x352291[_0xb9f46e(0x132)]();}},{'label':_0x58edc7(_0x374ded,_0x5afc96(0x118)),'class':_0x5afc96(0x13d),'withText':!0x0,'onExecute':()=>{const _0x1f602c=_0x5afc96,_0x127329=_0x59f3a2[_0x1f602c(0x12e)](),_0x402a66=_0x3ea24f(_0x127329)!==_0x3ea24f(_0x348013);(_0x402a66&&_0x5f51e1[_0x1f602c(0x11a)](_0x1f602c(0x124),_0x59f3a2[_0x1f602c(0x12e)]()),_0x1b9ee4=!0x1,_0x352291[_0x1f602c(0x132)](),_0x402a66&&_0x1f602c(0x116)in _0x5f51e1['ui'][_0x1f602c(0x117)])&&_0x5f51e1['ui'][_0x1f602c(0x117)][_0x1f602c(0x116)][_0x52dde8][_0x1f602c(0x115)][_0x1f602c(0x123)]();},'onCreate':_0x2b63a5=>{const _0x384291=_0x5afc96;_0x2b63a5[_0x384291(0x148)](_0x384291(0x125),!_0x5f51e1[_0x384291(0x11b)]),_0x2b63a5[_0x384291(0x145)](_0x384291(0x125))['to'](_0x5f51e1,_0x384291(0x11b),this,_0x384291(0x125),(_0x3cccb4,_0x5a71bf)=>!_0x3cccb4&&_0x5a71bf);}}],'onHide':()=>{const _0x200855=_0x5afc96;_0x352291[_0x200855(0x142)](_0x200855(0x132),_0x2bedce),_0x59f3a2[_0x200855(0x12c)]();},'onShow':()=>{const _0x1db0a1=_0x5afc96;_0x59f3a2[_0x1db0a1(0x145)](_0x1db0a1(0x11b))['to'](_0x5f51e1,_0x1db0a1(0x11b),this,_0x1db0a1(0x125),(_0x4d6fb5,_0xa7d482)=>_0x4d6fb5||!_0xa7d482),_0x59f3a2[_0x1db0a1(0x140)](_0x348013),_0x59f3a2[_0x1db0a1(0x123)](),_0x352291['on'](_0x1db0a1(0x132),_0x2bedce,{'priority':_0x1db0a1(0x122)});}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x1a3812,_0x4b088e){const t=_0x1a3812['t'];switch(_0x4b088e){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 _0x4b088e;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x2e21d4,_0x12ec24){const _0x7a5180=_0x27c7,_0x79aec3=_0x2e21d4();while(!![]){try{const _0x5dd7b8=-parseInt(_0x7a5180(0x1aa))/0x1*(-parseInt(_0x7a5180(0x1b0))/0x2)+parseInt(_0x7a5180(0x1ad))/0x3+parseInt(_0x7a5180(0x1b8))/0x4+-parseInt(_0x7a5180(0x1a0))/0x5*(-parseInt(_0x7a5180(0x19f))/0x6)+parseInt(_0x7a5180(0x1b3))/0x7*(-parseInt(_0x7a5180(0x1bb))/0x8)+-parseInt(_0x7a5180(0x1af))/0x9+-parseInt(_0x7a5180(0x1b4))/0xa*(parseInt(_0x7a5180(0x1a1))/0xb);if(_0x5dd7b8===_0x12ec24)break;else _0x79aec3['push'](_0x79aec3['shift']());}catch(_0x1889e1){_0x79aec3['push'](_0x79aec3['shift']());}}}(_0x36b5,0xbcfdb));import{lineNumbers as _0x1e4027,highlightActiveLineGutter as _0x47763d,highlightSpecialChars as _0x189108,drawSelection as _0x1d4e53,dropCursor as _0x3ad4d8,rectangularSelection as _0x448be6,crosshairCursor as _0x33ca68,highlightActiveLine as _0x8c8581,keymap as _0x4e8928,EditorView as _0x32f543}from'@codemirror/view';import{Compartment as _0x4075e6,Transaction as _0x3f3179}from'@codemirror/state';import{foldGutter as _0x3b5558,indentOnInput as _0x4ccf88,syntaxHighlighting as _0x42a211,defaultHighlightStyle as _0x349af3,bracketMatching as _0x70a512,foldKeymap as _0x34020d}from'@codemirror/language';function _0x27c7(_0x2740ef,_0x293b8c){const _0x36b5de=_0x36b5();return _0x27c7=function(_0x27c7eb,_0x4ed900){_0x27c7eb=_0x27c7eb-0x19f;let _0x23c6e5=_0x36b5de[_0x27c7eb];return _0x23c6e5;},_0x27c7(_0x2740ef,_0x293b8c);}import{history as _0x5da268,defaultKeymap as _0x3ed2ad,historyKeymap as _0x3ee511,redo as _0x33b35c}from'@codemirror/commands';import{closeBrackets as _0x25df98,autocompletion as _0x232c24,closeBracketsKeymap as _0x156d2f,completionKeymap as _0x478e85}from'@codemirror/autocomplete';import{html as _0xa7d47c}from'@codemirror/lang-html';import{markdown as _0x47634d}from'@codemirror/lang-markdown';function _0x36b5(){const _0x29ac8c=['theme','2996640BxVqtS','471542TiKfhj','doc','editable','7YSrDgT','181950JzcZUy','Cmd-y','addToHistory','parent','5854588GiztKU','state','reconfigure','6716888bUlbWr','2681772ZFGpHE','5KRSRYP','726JTurTc','syntaxLanguage','dispatch','lineWrapping','destroy','Ctrl-Shift-z','push','toString','html','1EmcuVI','length','focus','3003504ZoQPtB'];_0x36b5=function(){return _0x29ac8c;};return _0x36b5();}export default function p(_0x35f10c){const _0x2f85cb=_0x27c7,_0x26a457=[_0x32f543[_0x2f85cb(0x1a4)],_0x232c24(),_0x70a512(),_0x25df98(),_0x33ca68(),_0x1d4e53(),_0x3ad4d8(),_0x1e4027(),_0x3b5558(),_0x8c8581(),_0x47763d(),_0x189108(),_0x5da268(),_0x4ccf88(),_0x448be6(),_0x42a211(_0x349af3,{'fallback':!0x0})],_0xd1cac7=new _0x4075e6();_0x26a457[_0x2f85cb(0x1a7)](_0xd1cac7['of'](_0x32f543[_0x2f85cb(0x1b2)]['of'](!0x0))),_0x2f85cb(0x1a9)===_0x35f10c[_0x2f85cb(0x1a2)]?_0x26a457[_0x2f85cb(0x1a7)](_0xa7d47c()):_0x26a457[_0x2f85cb(0x1a7)](_0x47634d()),_0x35f10c[_0x2f85cb(0x1ae)]&&_0x26a457[_0x2f85cb(0x1a7)](_0x35f10c[_0x2f85cb(0x1ae)]),_0x26a457[_0x2f85cb(0x1a7)](...getKeybindings());const _0x21d460=new _0x32f543({'extensions':_0x26a457,'parent':_0x35f10c[_0x2f85cb(0x1b7)]});return{'focus':()=>{const _0xb4d20e=_0x2f85cb;_0x21d460[_0xb4d20e(0x1a3)]({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x21d460[_0xb4d20e(0x1ac)]();},'getData':()=>_0x21d460[_0x2f85cb(0x1b9)][_0x2f85cb(0x1b1)][_0x2f85cb(0x1a8)](),'setData':_0x4058c6=>{const _0x2256db=_0x2f85cb;_0x21d460[_0x2256db(0x1a3)]({'changes':{'from':0x0,'to':_0x21d460[_0x2256db(0x1b9)][_0x2256db(0x1b1)][_0x2256db(0x1ab)],'insert':_0x4058c6},'annotations':_0x3f3179[_0x2256db(0x1b6)]['of'](!0x1)});},'setReadOnly':_0x45665e=>{const _0x2d137e=_0x2f85cb;_0x21d460[_0x2d137e(0x1a3)]({'effects':[_0xd1cac7[_0x2d137e(0x1ba)](_0x32f543[_0x2d137e(0x1b2)]['of'](!_0x45665e))]});},'destroy':()=>{const _0xb77704=_0x2f85cb;_0x21d460[_0xb77704(0x1a5)]();}};}export function getKeybindings(){const _0x11aa29=_0x27c7;return[_0x4e8928['of']([..._0x156d2f,..._0x3ed2ad,..._0x3ee511,..._0x34020d,..._0x478e85,{'key':_0x11aa29(0x1a6),'mac':_0x11aa29(0x1b5),'run':_0x33b35c,'preventDefault':!0x0}])];}
|