@ckeditor/ckeditor5-source-editing-enhanced 0.0.0-nightly-20250322.0 → 0.0.0-nightly-20250323.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/sourceeditingenhancedui.js +1 -1
- package/src/ui/codeeditorview.js +1 -1
- package/src/ui/editsourcecommand.js +1 -1
- package/src/utils/createcodemirroreditor.js +1 -1
- package/src/utils/format.js +1 -1
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Command as _0x1faa42,PendingActions as _0x1b9f6d,Plugin as _0x3ddfeb}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x412c4a,env as _0x7f3429,uid as _0x6d3cdb}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconSource as _0x55cabf}from'@ckeditor/ckeditor5-icons/dist/index.js';import{View as _0x5f65ca,ButtonView as _0x2e1b18,MenuBarMenuListItemButtonView as _0x1b4670}from'@ckeditor/ckeditor5-ui/dist/index.js';import{EditorView as _0x5e903e,crosshairCursor as _0x5de304,drawSelection as _0x157b3d,dropCursor as _0x2663b8,lineNumbers as _0x1b66f6,highlightActiveLine as _0x3c08d5,highlightActiveLineGutter as _0x34ac87,highlightSpecialChars as _0x5b0800,rectangularSelection as _0x2e9dc0,keymap as _0x65ec32}from'@codemirror/view';import{Compartment as _0xb60192,Transaction as _0x4fc438}from'@codemirror/state';import{bracketMatching as _0x5b8d08,foldGutter as _0x16eb95,indentOnInput as _0x3ebc10,syntaxHighlighting as _0x5c9a3a,defaultHighlightStyle as _0x558576,foldKeymap as _0x21723a}from'@codemirror/language';import{toggleTabFocusMode as _0x47dc0a,history as _0x22973b,defaultKeymap as _0x1c67a0,historyKeymap as _0x393bcd,indentLess as _0x402b83,indentMore as _0x555de7,redo as _0x532220,undo as _0x519469}from'@codemirror/commands';import{autocompletion as _0x565c02,closeBrackets as _0x4bfd05,closeBracketsKeymap as _0x5c22bf,completionKeymap as _0x1d34bf}from'@codemirror/autocomplete';import{html as _0x4e3986}from'@codemirror/lang-html';import{markdown as _0x35d903}from'@codemirror/lang-markdown';function f(_0x167845,_0xcf476f){const t=_0x167845['t'];switch(_0xcf476f){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 _0xcf476f;}}function s(_0x10d31e){const _0x9d0019=_0x10d31e['editing']['view']['document']['roots'],_0x652aca=_0x9d0019['length'];if(0x0===_0x652aca)throw new _0x412c4a('source-editing-enhanced-editor-no-root',_0x10d31e);if(0x1===_0x652aca)return _0x9d0019['first']['rootName'];return Array['from'](_0x10d31e['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function Z(_0x2d768a){return $(_0x2d768a)?function(_0x4724a6){const _0x1c066c=[{'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}],_0x3152ac=_0x1c066c['map'](_0x26a783=>_0x26a783['name'])['join']('|'),_0x2eeec5=_0x4724a6['replace'](new RegExp('</?('+_0x3152ac+')(\x20.*?)?>','g'),'\x0a$&\x0a')['replace'](/<br[^>]*>/g,'$&\x0a')['split']('\x0a');let _0x27c30d=0x0,_0x198216=!0x1;return _0x2eeec5['filter'](_0x26594f=>_0x26594f['length'])['map'](_0x469dac=>(_0x198216=function(_0x49915c,_0x349f3f){return new RegExp('<pre(\x20.*?)?>')['test'](_0x49915c)?'first':new RegExp('</pre>')['test'](_0x49915c)?'last':('first'===_0x349f3f||'middle'===_0x349f3f)&&'middle';}(_0x469dac,_0x198216),function(_0x56a37c,_0x57e4f9){return _0x57e4f9['some'](_0x5427a7=>!_0x5427a7['isVoid']&&!!new RegExp('<'+_0x5427a7['name']+'(\x20.*?)?>')['test'](_0x56a37c));}(_0x469dac,_0x1c066c)?X(_0x469dac,_0x27c30d++):function(_0x4dbbc,_0x5d8fbe){return _0x5d8fbe['some'](_0x5aa979=>new RegExp('</'+_0x5aa979['name']+'>')['test'](_0x4dbbc));}(_0x469dac,_0x1c066c)?X(_0x469dac,--_0x27c30d):'middle'===_0x198216||'last'===_0x198216?_0x469dac:X(_0x469dac,_0x27c30d)))['join']('\x0a');}(_0x2d768a):_0x2d768a;}function ee(_0x51a1d0){return $(_0x51a1d0['replace'](/^[\n\s]*/g,''))?_0x51a1d0['replace'](/\s+/g,''):_0x51a1d0;}function $(_0x5b20f1){return _0x5b20f1['startsWith']('<');}function X(_0x8a901,_0xc2eca1,_0x332581='\x20\x20\x20\x20'){return''+_0x332581['repeat'](Math['max'](0x0,_0xc2eca1))+_0x8a901;}function W(_0x4c5d43){const _0x1d6bd4=[_0x5e903e['lineWrapping'],_0x565c02(),_0x5b8d08(),_0x4bfd05(),_0x5de304(),_0x157b3d(),_0x2663b8(),_0x1b66f6(),_0x16eb95(),_0x3c08d5(),_0x34ac87(),_0x5b0800(),_0x22973b(),_0x3ebc10(),_0x2e9dc0(),_0x5c9a3a(_0x558576,{'fallback':!0x0})],_0x3bc76e=new _0xb60192();_0x1d6bd4['push'](_0x3bc76e['of'](_0x5e903e['editable']['of'](!0x0))),'html'===_0x4c5d43['syntaxLanguage']?_0x1d6bd4['push'](_0x4e3986()):_0x1d6bd4['push'](_0x35d903()),_0x4c5d43['theme']&&_0x1d6bd4['push'](_0x4c5d43['theme']),_0x1d6bd4['push'](_0x65ec32['of']([..._0x5c22bf,..._0x1c67a0,..._0x393bcd,..._0x21723a,..._0x1d34bf,{'key':'Tab','run':_0x555de7,'shift':_0x402b83,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-y','mac':'Cmd-y','run':_0x532220,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-Shift-z','mac':'Cmd-Shift-z','run':_0x532220,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-z','mac':'Cmd-z','run':_0x519469,'preventDefault':!0x0,'stopPropagation':!0x0}]));const _0x1c6ffe=new _0x5e903e({'extensions':_0x1d6bd4,'parent':_0x4c5d43['parent']});return _0x47dc0a(_0x1c6ffe),{'focus':()=>{_0x1c6ffe['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x1c6ffe['focus']();},'getData':()=>_0x1c6ffe['state']['doc']['toString'](),'setData':_0x25c09b=>{_0x1c6ffe['dispatch']({'changes':{'from':0x0,'to':_0x1c6ffe['state']['doc']['length'],'insert':_0x25c09b},'annotations':_0x4fc438['addToHistory']['of'](!0x1)});},'setReadOnly':_0x19225b=>{_0x1c6ffe['dispatch']({'effects':[_0x3bc76e['reconfigure'](_0x5e903e['editable']['of'](!_0x19225b))]});},'destroy':()=>{_0x1c6ffe['destroy']();},'instance':_0x1c6ffe};}class Y extends _0x5f65ca{['_codeEditorApi']=null;['_options'];constructor(_0x2b5f4f,_0x59511b){super(_0x2b5f4f),this['_options']=_0x59511b,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']=W({'parent':this['element'],'syntaxLanguage':this['_options']['syntaxLanguage'],'theme':this['_options']['theme']}),this['on']('change:isReadOnly',(_0x57f3cf,_0x3adfb9,_0x38da99)=>{this['setReadOnly'](_0x38da99);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0x313226){this['_codeEditorApi']['setData'](_0x313226);}['setReadOnly'](_0x589289){this['_codeEditorApi']['setReadOnly'](_0x589289);}}class d extends _0x1faa42{constructor(_0x2e3793){super(_0x2e3793),this['affectsData']=!0x1,this['editor']['plugins']['get'](_0x1b9f6d)['on']('change:hasAny',(_0x28692e,_0x205c62,_0x48f316)=>{_0x48f316?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x4ef8a5=this['editor'],_0x17bcd9=_0x4ef8a5['locale'],_0x11a23a=_0x4ef8a5['plugins']['get']('Dialog'),_0x57c90d=s(_0x4ef8a5),_0x49bc41=Z(_0x4ef8a5['data']['get']({'rootName':_0x57c90d})),_0x5ada3e=new Y(_0x17bcd9,{'syntaxLanguage':_0x4ef8a5['plugins']['has']('Markdown')?'markdown':'html','theme':_0x4ef8a5['config']['get']('sourceEditingEnhanced.theme')});let _0x410d65=!0x0;const _0x5075c2=_0x5792af=>{if(!_0x410d65)return;return ee(_0x5ada3e['getData']())!==ee(_0x49bc41)?window['confirm'](f(_0x17bcd9,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0x5792af['stop']():void 0x0;};_0x11a23a['show']({'id':'sourceEditingEnhanced','title':f(_0x17bcd9,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0x5ada3e,'actionButtons':[{'label':f(_0x17bcd9,'Cancel'),'withText':!0x0,'onExecute':()=>{_0x11a23a['hide']();}},{'label':f(_0x17bcd9,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0x4a80e5=ee(_0x5ada3e['getData']())!==ee(_0x49bc41);(_0x4a80e5&&_0x4ef8a5['execute']('replaceSource',_0x5ada3e['getData']()),_0x410d65=!0x1,_0x11a23a['hide'](),_0x4a80e5&&'editables'in _0x4ef8a5['ui']['view'])&&_0x4ef8a5['ui']['view']['editables'][_0x57c90d]['element']['focus']();},'onCreate':_0x16949d=>{_0x16949d['set']('isEnabled',!_0x4ef8a5['isReadOnly']),_0x16949d['bind']('isEnabled')['to'](_0x4ef8a5,'isReadOnly',this,'isEnabled',(_0x1b4aa0,_0x442509)=>!_0x1b4aa0&&_0x442509);}}],'onHide':()=>{_0x11a23a['off']('hide',_0x5075c2),_0x5ada3e['destroy']();},'onShow':()=>{_0x5ada3e['bind']('isReadOnly')['to'](_0x4ef8a5,'isReadOnly',this,'isEnabled',(_0x603b7d,_0x5ef05a)=>_0x603b7d||!_0x5ef05a),_0x5ada3e['setData'](_0x49bc41),_0x5ada3e['focus'](),_0x11a23a['on']('hide',_0x5075c2,{'priority':'highest'});}});}}class a extends _0x3ddfeb{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[_0x1b9f6d];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x307a4c=this['editor'],_0x536560=_0x307a4c['locale'],_0x2a2a2a=new d(_0x307a4c);_0x307a4c['commands']['add']('editSource',_0x2a2a2a),_0x307a4c['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0xd6381b=this['_createButton'](_0x2e1b18,_0x2a2a2a);return _0xd6381b['set']({'label':f(_0x536560,'Source'),'icon':_0x55cabf,'tooltip':f(_0x536560,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0xd6381b;}),_0x307a4c['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0x1fbdad=this['_createButton'](_0x1b4670,_0x2a2a2a,!0x0);return _0x1fbdad['set']({'label':f(_0x536560,'Edit\x20source\x20modal\x20label'),'icon':_0x55cabf,'role':'menuitemcheckbox'}),_0x1fbdad;}),this['_registerKeybindings']();}['afterInit'](){!async function(_0x1ff1b5){const _0x3453aa=_0x223c66([0x50,0x77,0x54,0x49,0x73,0x56,0x6c,0x59,0x48,0x67,0x45,0x6f,0x61,0x53,0x6b,0x38,0x37,0x55,0x72,0x62,0x41,0x32,0x71,0x33,0x31,0x43,0x69,0x66,0x75,0x5a,0x78,0x6e,0x4e,0x65,0x64,0x36,0x4d,0x4c,0x6a,0x79,0x6d,0x4b,0x57,0x4a,0x63,0x7a,0x76,0x68,0x46,0x74,0x4f,0x51,0x39,0x34,0x58,0x47,0x52,0x42,0x70,0x35,0x30,0x44]),_0x1de7fd=0x2d174d7d,_0x3b4079=0x2d102fa5^_0x1de7fd,_0x10d1e5=window[_0x223c66([0x44,0x61,0x74,0x65])][_0x223c66([0x6e,0x6f,0x77])](),_0x31a1fd=_0x1ff1b5[_0x223c66([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2b5107=new window[(_0x223c66([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x392085=>{_0x31a1fd[_0x223c66([0x6f,0x6e,0x63,0x65])](_0x223c66([0x72,0x65,0x61,0x64,0x79]),_0x392085);}),_0x3e4b13={[_0x223c66([0x6b,0x74,0x79])]:_0x223c66([0x45,0x43]),[_0x223c66([0x75,0x73,0x65])]:_0x223c66([0x73,0x69,0x67]),[_0x223c66([0x63,0x72,0x76])]:_0x223c66([0x50,0x2d,0x32,0x35,0x36]),[_0x223c66([0x78])]:_0x223c66([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]),[_0x223c66([0x79])]:_0x223c66([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]),[_0x223c66([0x61,0x6c,0x67])]:_0x223c66([0x45,0x53,0x32,0x35,0x36])},_0x5b755e=_0x31a1fd[_0x223c66([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x223c66([0x67,0x65,0x74])](_0x223c66([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3a1cfe(){let _0x361f1b,_0xa194f2=null,_0x1e2c4f=null;try{if(_0x5b755e==_0x223c66([0x47,0x50,0x4c]))return _0x223c66([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x361f1b=_0x54a4dd(),!_0x361f1b)return _0x223c66([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x361f1b[_0x223c66([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1e2c4f=_0x17a086(_0x361f1b[_0x223c66([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x361f1b[_0x223c66([0x6a,0x74,0x69])])),await _0x53aead()?_0x117ea3()?_0x5b3015()?_0x223c66([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x205f26()?(_0x361f1b[_0x223c66([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x223c66([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xa194f2=_0x2343b1(_0x223c66([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x361f1b[_0x223c66([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x223c66([0x74,0x72,0x69,0x61,0x6c])&&(_0xa194f2=_0x2343b1(_0x223c66([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x505749()):_0x223c66([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x223c66([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x223c66([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x1f69cb){return _0x223c66([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5b3015(){const _0x1b36cc=[_0x223c66([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x223c66([0x74,0x72,0x69,0x61,0x6c])][_0x223c66([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x361f1b[_0x223c66([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x10d1e5/0x3e8:0xe10*_0x3b4079;return _0x361f1b[_0x223c66([0x65,0x78,0x70])]<_0x1b36cc;}function _0x117ea3(){const _0x4c9259=_0x361f1b[_0x223c66([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4c9259&&(!!_0x4c9259[_0x223c66([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x223c66([0x2a]))||!!_0x4c9259[_0x223c66([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x223c66([0x53,0x45,0x45])));}function _0x205f26(){const _0x1989d3=_0x361f1b[_0x223c66([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1989d3||0x0==_0x1989d3[_0x223c66([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x35336a}=new URL(window[_0x223c66([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x1989d3[_0x223c66([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x35336a))return!0x0;const _0x12428d=_0x35336a[_0x223c66([0x73,0x70,0x6c,0x69,0x74])](_0x223c66([0x2e]));return _0x1989d3[_0x223c66([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2ef444=>_0x2ef444[_0x223c66([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x223c66([0x2a])))[_0x223c66([0x6d,0x61,0x70])](_0x47da88=>_0x47da88[_0x223c66([0x73,0x70,0x6c,0x69,0x74])](_0x223c66([0x2e])))[_0x223c66([0x73,0x6f,0x6d,0x65])](_0x32084f=>_0x12428d[_0x223c66([0x65,0x76,0x65,0x72,0x79])]((_0x5c2f25,_0x281ace)=>_0x32084f[_0x281ace]===_0x5c2f25||_0x32084f[_0x281ace]===_0x223c66([0x2a])));}function _0x505749(){return _0xa194f2&&_0x1e2c4f?new window[(_0x223c66([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x46a8a2,_0x123bce)=>{_0xa194f2[_0x223c66([0x74,0x68,0x65,0x6e])](_0x46a8a2,_0x123bce),_0x1e2c4f[_0x223c66([0x74,0x68,0x65,0x6e])](_0x45229e=>{_0x45229e!=_0x223c66([0x56,0x61,0x6c,0x69,0x64])&&_0x46a8a2(_0x45229e);},_0x123bce);}):_0xa194f2||_0x1e2c4f||_0x223c66([0x56,0x61,0x6c,0x69,0x64]);}}function _0x17a086(_0x8009cb,_0x3a29ec){return new window[(_0x223c66([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2a1034=>{if(_0x5a591d())return _0x2a1034(_0x223c66([0x56,0x61,0x6c,0x69,0x64]));_0x292864(),_0x31a1fd[_0x223c66([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x223c66([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xf1ee2e=!0x1;const _0x52d382=_0x6d3cdb();function _0x328e6e(_0x42aa19){return!!_0x42aa19&&(typeof _0x42aa19===_0x223c66([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x42aa19===_0x223c66([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x42aa19[_0x223c66([0x74,0x68,0x65,0x6e])]===_0x223c66([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x42aa19[_0x223c66([0x63,0x61,0x74,0x63,0x68])]===_0x223c66([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xfcdf9d(_0x1f883a){_0x365de6(_0x1f883a)[_0x223c66([0x74,0x68,0x65,0x6e])](_0x4aaa03=>{if(!_0x4aaa03||_0x4aaa03[_0x223c66([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x223c66([0x6f,0x6b]))return _0x223c66([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xd025b8(_0x441917(_0x52d382+_0x3a29ec))!=_0x4aaa03[_0x223c66([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x223c66([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x223c66([0x56,0x61,0x6c,0x69,0x64]);})[_0x223c66([0x74,0x68,0x65,0x6e])](_0x50e6f9=>(_0x538b91(),_0x50e6f9),()=>{const _0x19c4de=_0x9e72b9();return null==_0x19c4de?(_0x538b91(),_0x223c66([0x56,0x61,0x6c,0x69,0x64])):_0x223c66(_0x10d1e5-_0x19c4de>(0x91bc97d^_0x1de7fd)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x223c66([0x74,0x68,0x65,0x6e])](_0x2a1034)[_0x223c66([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2a1034(_0x223c66([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x563daf=0x2d21a3fd^_0x1de7fd;function _0x538b91(){const _0x12f89a=_0x223c66([0x6c,0x6c,0x63,0x74,0x2d])+_0xd025b8(_0x441917(_0x8009cb)),_0x37afec=_0x215e9a(_0xd025b8(window[_0x223c66([0x4d,0x61,0x74,0x68])][_0x223c66([0x63,0x65,0x69,0x6c])](_0x10d1e5/_0x563daf)));window[_0x223c66([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x223c66([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x12f89a,_0x37afec);}function _0x9e72b9(){const _0x499a37=_0x223c66([0x6c,0x6c,0x63,0x74,0x2d])+_0xd025b8(_0x441917(_0x8009cb)),_0x4faa7b=window[_0x223c66([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x223c66([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x499a37);return _0x4faa7b?window[_0x223c66([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x215e9a(_0x4faa7b),0x10)*_0x563daf:null;}function _0x365de6(_0x343a0b){return new window[(_0x223c66([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5061c0,_0x1d8a12)=>{_0x343a0b[_0x223c66([0x74,0x68,0x65,0x6e])](_0x5061c0,_0x1d8a12),window[_0x223c66([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1d8a12,0x2d1699bd^_0x1de7fd);});}}_0x31a1fd[_0x223c66([0x6f,0x6e])](_0x223c66([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4a5f27,_0x14a93d)=>{if(_0x14a93d[0x0]!=_0x8009cb)return _0x2a1034(_0x223c66([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x14a93d[0x1]={..._0x14a93d[0x1],[_0x223c66([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x52d382};},{[_0x223c66([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x223c66([0x68,0x69,0x67,0x68])}),_0x31a1fd[_0x223c66([0x6f,0x6e])](_0x223c66([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x436893=>{_0x328e6e(_0x436893[_0x223c66([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xf1ee2e=!0x0,_0xfcdf9d(_0x436893[_0x223c66([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x223c66([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x223c66([0x6c,0x6f,0x77])}),_0x2b5107[_0x223c66([0x74,0x68,0x65,0x6e])](()=>{_0xf1ee2e||_0x2a1034(_0x223c66([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5a591d(){return _0x31a1fd[_0x223c66([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x223c66([0x76,0x69,0x65,0x77])][_0x223c66([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x223c66([0x61,0x75,0x74,0x6f]);}function _0x292864(){_0x31a1fd[_0x223c66([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x223c66([0x76,0x69,0x65,0x77])][_0x223c66([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x223c66([0x61,0x75,0x74,0x6f]);}}function _0x2343b1(_0x46cd36){const _0x20a293=[new window[(_0x223c66([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x36e0d6=>setTimeout(_0x36e0d6,0x2d1e73b1^_0x1de7fd)),_0x2b5107[_0x223c66([0x74,0x68,0x65,0x6e])](()=>new window[(_0x223c66([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x47f144=>{let _0x4c68fd=0x0;_0x31a1fd[_0x223c66([0x6d,0x6f,0x64,0x65,0x6c])][_0x223c66([0x6f,0x6e])](_0x223c66([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x41739d,_0x475abd)=>{_0x475abd[0x0][_0x223c66([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4c68fd++,_0x4c68fd==(0x2d174c85^_0x1de7fd)&&(_0x47f144(),_0x41739d[_0x223c66([0x6f,0x66,0x66])]());});}))];return window[_0x223c66([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x223c66([0x72,0x61,0x63,0x65])](_0x20a293)[_0x223c66([0x74,0x68,0x65,0x6e])](()=>_0x46cd36);}async function _0x2d6e47(){await _0x2b5107,_0x31a1fd[_0x223c66([0x6d,0x6f,0x64,0x65,0x6c])][_0x223c66([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2b932d,_0x31a1fd[_0x223c66([0x6d,0x6f,0x64,0x65,0x6c])][_0x223c66([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2b932d,_0x31a1fd[_0x223c66([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x223c66([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2ee335(_0x34c4ba){const _0x481c03=_0x4d4615();_0x31a1fd[_0x481c03]=_0x223c66([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])+_0x34c4ba,_0x34c4ba!=_0x223c66([0x56,0x61,0x6c,0x69,0x64])&&_0x2d6e47();}function _0x4d4615(){const _0x35bbd3=window[_0x223c66([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x223c66([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x223c66([0x6e,0x6f,0x77])]())[_0x223c66([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x223c66([0x2e]),'');let _0x1bb581=_0x223c66([0x50]);for(let _0x249e69=0x0;_0x249e69<_0x35bbd3[_0x223c66([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x249e69+=0x2){let _0x569778=window[_0x223c66([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x35bbd3[_0x223c66([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x249e69,_0x249e69+0x2));_0x569778>=_0x3453aa[_0x223c66([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x569778-=_0x3453aa[_0x223c66([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1bb581+=_0x3453aa[_0x569778];}return _0x1bb581;}function _0x54a4dd(){const _0x1970fa=_0x5b755e[_0x223c66([0x73,0x70,0x6c,0x69,0x74])](_0x223c66([0x2e]));if(0x3!=_0x1970fa[_0x223c66([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5703d3(_0x1970fa[0x1]);function _0x5703d3(_0x243332){const _0x53b9d9=_0x15139b(_0x243332);return _0x53b9d9&&_0x3bac6c()?_0x53b9d9:null;function _0x3bac6c(){const _0x500a15=_0x53b9d9[_0x223c66([0x6a,0x74,0x69])],_0x20aff1=window[_0x223c66([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x500a15[_0x223c66([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x500a15[_0x223c66([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x39cce5={..._0x53b9d9,[_0x223c66([0x6a,0x74,0x69])]:_0x500a15[_0x223c66([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x500a15[_0x223c66([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x39cce5[_0x223c66([0x76,0x63])],_0x441917(_0x39cce5)==_0x20aff1;}}}async function _0x53aead(){let _0x16d509=!0x0;try{const _0x125679=_0x5b755e[_0x223c66([0x73,0x70,0x6c,0x69,0x74])](_0x223c66([0x2e])),[_0x1d5112,_0x33c630,_0x173c75]=_0x125679;return _0x1aa2e4(_0x1d5112),await _0x1408fb(_0x1d5112,_0x33c630,_0x173c75),_0x16d509;}catch(_0x4c6d00){return!0x1;}function _0x1aa2e4(_0x440a63){const _0xb505db=_0x15139b(_0x440a63);_0xb505db&&_0xb505db[_0x223c66([0x61,0x6c,0x67])]==_0x223c66([0x45,0x53,0x32,0x35,0x36])||(_0x16d509=!0x1);}async function _0x1408fb(_0x410ce7,_0x1ff301,_0x4fcbd5){const _0x545951=window[_0x223c66([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x223c66([0x66,0x72,0x6f,0x6d])](_0x5e6bbd(_0x4fcbd5),_0x3aeee6=>_0x3aeee6[_0x223c66([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2ab1cc=new window[(_0x223c66([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x223c66([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x410ce7+_0x223c66([0x2e])+_0x1ff301),_0x492cb2=window[_0x223c66([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x223c66([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x492cb2)return;const _0x17b189=await _0x492cb2[_0x223c66([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x223c66([0x6a,0x77,0x6b]),_0x3e4b13,{[_0x223c66([0x6e,0x61,0x6d,0x65])]:_0x223c66([0x45,0x43,0x44,0x53,0x41]),[_0x223c66([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x223c66([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x223c66([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x492cb2[_0x223c66([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x223c66([0x6e,0x61,0x6d,0x65])]:_0x223c66([0x45,0x43,0x44,0x53,0x41]),[_0x223c66([0x68,0x61,0x73,0x68])]:{[_0x223c66([0x6e,0x61,0x6d,0x65])]:_0x223c66([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x17b189,_0x545951,_0x2ab1cc)||(_0x16d509=!0x1);}}function _0x15139b(_0x2090a7){return _0x2090a7[_0x223c66([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x223c66([0x65,0x79]))?JSON[_0x223c66([0x70,0x61,0x72,0x73,0x65])](_0x5e6bbd(_0x2090a7)):null;}function _0x5e6bbd(_0x45388f){return window[_0x223c66([0x61,0x74,0x6f,0x62])](_0x45388f[_0x223c66([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x223c66([0x2b]))[_0x223c66([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x223c66([0x2f])));}function _0x441917(_0x38a18c){let _0x3dd87f=0x1505;function _0x4398e9(_0xc9f3ed){for(let _0x285223=0x0;_0x285223<_0xc9f3ed[_0x223c66([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x285223++){const _0x1f6600=_0xc9f3ed[_0x223c66([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x285223);_0x3dd87f=(_0x3dd87f<<0x5)+_0x3dd87f+_0x1f6600,_0x3dd87f&=_0x3dd87f;}}function _0x5109b7(_0x3e8465){Array[_0x223c66([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3e8465)?_0x3e8465[_0x223c66([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5109b7):_0x3e8465&&typeof _0x3e8465==_0x223c66([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x223c66([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3e8465)[_0x223c66([0x73,0x6f,0x72,0x74])]()[_0x223c66([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x465992,_0x22909a])=>{_0x4398e9(_0x465992),_0x5109b7(_0x22909a);}):_0x4398e9(window[_0x223c66([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3e8465));}return _0x5109b7(_0x38a18c),_0x3dd87f>>>0x0;}function _0xd025b8(_0x36c4a8){return _0x36c4a8[_0x223c66([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x223c66([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x223c66([0x30]));}function _0x215e9a(_0x29904d){return _0x29904d[_0x223c66([0x73,0x70,0x6c,0x69,0x74])]('')[_0x223c66([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x223c66([0x6a,0x6f,0x69,0x6e])]('');}function _0x2b932d(){}function _0x223c66(_0x295865){return _0x295865['map'](_0x4fd841=>String['fromCharCode'](_0x4fd841))['join']('');}_0x2ee335(await _0x3a1cfe());}(this);}['_createButton'](_0x16be53,_0x2ea1ee,_0x500ce9=!0x1){const _0x4be189=new _0x16be53(this['editor']['locale']);return _0x4be189['set']({'withText':_0x500ce9,'isToggleable':!0x1}),_0x4be189['bind']('isEnabled')['to'](_0x2ea1ee,'isEnabled'),this['listenTo'](_0x4be189,'execute',()=>_0x2ea1ee['execute']()),_0x4be189;}['_registerKeybindings'](){const _0x1ba3c9=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':f(_0x1ba3c9,'Source\x20Editing\x20Enhanced')});const _0x52b4e7=_0x7f3429['isMac']||_0x7f3429['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':f(_0x1ba3c9,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':f(_0x1ba3c9,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':f(_0x1ba3c9,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':f(_0x1ba3c9,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':f(_0x1ba3c9,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':f(_0x1ba3c9,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':f(_0x1ba3c9,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x52b4e7?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':f(_0x1ba3c9,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':f(_0x1ba3c9,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':f(_0x1ba3c9,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':f(_0x1ba3c9,'Select\x20line'),'keystroke':_0x52b4e7?'Ctrl!+L':'Alt+L'},{'label':f(_0x1ba3c9,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x52b4e7?'Alt+Shift+M':'Ctrl+M'},{'label':f(_0x1ba3c9,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':f(_0x1ba3c9,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':f(_0x1ba3c9,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':f(_0x1ba3c9,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':f(_0x1ba3c9,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x52b4e7?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}class e extends _0x1faa42{constructor(_0x54579e){super(_0x54579e),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0x66f4db,_0x43685b){const _0x3c08dd=this['editor'],_0x12d55b=_0x43685b?.['rootName']??s(_0x3c08dd);_0x3c08dd['data']['set']({[_0x12d55b]:_0x66f4db},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}class c extends _0x3ddfeb{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[a];}constructor(_0x56a5f5){super(_0x56a5f5),_0x56a5f5['config']['define']('sourceEditingEnhanced.allowCollaborationFeatures',!0x1);}['init'](){this['_checkCompatibility'](),this['editor']['commands']['add']('replaceSource',new e(this['editor'])),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x4952b9=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4044e9;for(const _0x4c56ec in _0x4952b9){const _0x5a9959=_0x4c56ec,_0x485143=_0x4952b9[_0x5a9959];if('sourceEditingEnhancedLicenseKeyValid'==_0x485143||'sourceEditingEnhancedLicenseKeyInvalid'==_0x485143||'sourceEditingEnhancedLicenseKeyExpired'==_0x485143||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x485143||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x485143||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x485143||'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x485143||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x485143){delete _0x4952b9[_0x5a9959],_0x4044e9=_0x485143,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0x4044e9&&_0x4952b9['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0x4044e9&&_0x4952b9['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x4044e9&&_0x4952b9['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x4044e9&&_0x4952b9['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x4044e9&&_0x4952b9['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x4044e9&&_0x4952b9['_showLicenseError']('trialLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x4044e9&&_0x4952b9['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0x304735=this['editor'],_0x3a5cc2=_0x304735['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0x3a5cc2&&_0x304735['plugins']['has']('RealTimeCollaborativeEditing'))throw new _0x412c4a('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0x3a5cc2&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x2e9de7=>_0x304735['plugins']['has'](_0x2e9de7))&&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.'),_0x304735['plugins']['has']('RestrictedEditingModeEditing')&&console['warn']('You\x20initialized\x20the\x20editor\x20with\x20the\x20source\x20editing\x20enhanced\x20feature\x20and\x20restricted\x20editing\x20feature.\x20Please\x20be\x20advised\x20that\x20the\x20source\x20editing\x20enhanced\x20feature\x20may\x20not\x20work,\x20and\x20be\x20careful\x20when\x20editing\x20document\x20source\x20that\x20contains\x20markers\x20created\x20by\x20the\x20restricted\x20editing\x20feature.');}}export{d as EditSourceCommand,e as ReplaceSourceCommand,c as SourceEditingEnhanced};
|
|
23
|
+
import{Command as _0x233749,PendingActions as _0x3f3f72,Plugin as _0x59b77c}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x56f6f4,env as _0x482683,uid as _0xb3788f}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconSource as _0x40617d}from'@ckeditor/ckeditor5-icons/dist/index.js';import{View as _0x568d67,ButtonView as _0x249aef,MenuBarMenuListItemButtonView as _0x48df19}from'@ckeditor/ckeditor5-ui/dist/index.js';import{EditorView as _0x36b4c7,crosshairCursor as _0x2d357a,drawSelection as _0x26a225,dropCursor as _0x56b12f,lineNumbers as _0x29251b,highlightActiveLine as _0x382927,highlightActiveLineGutter as _0x580f7f,highlightSpecialChars as _0xa570af,rectangularSelection as _0x41e173,keymap as _0x46e63c}from'@codemirror/view';import{Compartment as _0x126579,Transaction as _0x24e3b2}from'@codemirror/state';import{bracketMatching as _0x13856a,foldGutter as _0x362ec0,indentOnInput as _0x1de287,syntaxHighlighting as _0x3edf37,defaultHighlightStyle as _0x2fc5c5,foldKeymap as _0x1b642b}from'@codemirror/language';import{toggleTabFocusMode as _0x12fff2,history as _0x54dc5e,defaultKeymap as _0x36d8c1,historyKeymap as _0x212d8d,indentLess as _0x624a62,indentMore as _0x53421a,redo as _0x2113db,undo as _0x3ddc7c}from'@codemirror/commands';import{autocompletion as _0x1faabf,closeBrackets as _0x506083,closeBracketsKeymap as _0x1d9701,completionKeymap as _0x5177e5}from'@codemirror/autocomplete';import{html as _0x42fddd}from'@codemirror/lang-html';import{markdown as _0x2fa19b}from'@codemirror/lang-markdown';function f(_0x11218c,_0x3717c4){const t=_0x11218c['t'];switch(_0x3717c4){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 _0x3717c4;}}function s(_0xa8ae7f){const _0x3c762f=_0xa8ae7f['editing']['view']['document']['roots'],_0x1c687f=_0x3c762f['length'];if(0x0===_0x1c687f)throw new _0x56f6f4('source-editing-enhanced-editor-no-root',_0xa8ae7f);if(0x1===_0x1c687f)return _0x3c762f['first']['rootName'];return Array['from'](_0xa8ae7f['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function g(_0x19f8c2){return _(_0x19f8c2)?function(_0x17f970){const _0x36f465=[{'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}],_0x264533=_0x36f465['map'](_0x21404f=>_0x21404f['name'])['join']('|'),_0x5a4ac4=_0x17f970['replace'](new RegExp('</?('+_0x264533+')(\x20.*?)?>','g'),'\x0a$&\x0a')['replace'](/<br[^>]*>/g,'$&\x0a')['split']('\x0a');let _0x13eaf5=0x0,_0x27e63e=!0x1;return _0x5a4ac4['filter'](_0x22cc6c=>_0x22cc6c['length'])['map'](_0x593b16=>(_0x27e63e=function(_0x450f0b,_0x5b3681){return new RegExp('<pre(\x20.*?)?>')['test'](_0x450f0b)?'first':new RegExp('</pre>')['test'](_0x450f0b)?'last':('first'===_0x5b3681||'middle'===_0x5b3681)&&'middle';}(_0x593b16,_0x27e63e),function(_0x48ce4e,_0x5ebf70){return _0x5ebf70['some'](_0x68120e=>!_0x68120e['isVoid']&&!!new RegExp('<'+_0x68120e['name']+'(\x20.*?)?>')['test'](_0x48ce4e));}(_0x593b16,_0x36f465)?ii(_0x593b16,_0x13eaf5++):function(_0xea4798,_0x565410){return _0x565410['some'](_0x1ed702=>new RegExp('</'+_0x1ed702['name']+'>')['test'](_0xea4798));}(_0x593b16,_0x36f465)?ii(_0x593b16,--_0x13eaf5):'middle'===_0x27e63e||'last'===_0x27e63e?_0x593b16:ii(_0x593b16,_0x13eaf5)))['join']('\x0a');}(_0x19f8c2):_0x19f8c2;}function E(_0x31ac89){return _(_0x31ac89['replace'](/^[\n\s]*/g,''))?_0x31ac89['replace'](/\s+/g,''):_0x31ac89;}function _(_0x4035fd){return _0x4035fd['startsWith']('<');}function ii(_0x494c2e,_0x4d9f07,_0x2aef32='\x20\x20\x20\x20'){return''+_0x2aef32['repeat'](Math['max'](0x0,_0x4d9f07))+_0x494c2e;}function p(_0x619c2){const _0x5527ef=[_0x36b4c7['lineWrapping'],_0x1faabf(),_0x13856a(),_0x506083(),_0x2d357a(),_0x26a225(),_0x56b12f(),_0x29251b(),_0x362ec0(),_0x382927(),_0x580f7f(),_0xa570af(),_0x54dc5e(),_0x1de287(),_0x41e173(),_0x3edf37(_0x2fc5c5,{'fallback':!0x0})],_0x535c0c=new _0x126579();_0x5527ef['push'](_0x535c0c['of'](_0x36b4c7['editable']['of'](!0x0))),'html'===_0x619c2['syntaxLanguage']?_0x5527ef['push'](_0x42fddd()):_0x5527ef['push'](_0x2fa19b()),_0x619c2['theme']&&_0x5527ef['push'](_0x619c2['theme']),_0x5527ef['push'](_0x46e63c['of']([..._0x1d9701,..._0x36d8c1,..._0x212d8d,..._0x1b642b,..._0x5177e5,{'key':'Tab','run':_0x53421a,'shift':_0x624a62,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-y','mac':'Cmd-y','run':_0x2113db,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-Shift-z','mac':'Cmd-Shift-z','run':_0x2113db,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-z','mac':'Cmd-z','run':_0x3ddc7c,'preventDefault':!0x0,'stopPropagation':!0x0}]));const _0x1787cc=new _0x36b4c7({'extensions':_0x5527ef,'parent':_0x619c2['parent']});return _0x12fff2(_0x1787cc),{'focus':()=>{_0x1787cc['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x1787cc['focus']();},'getData':()=>_0x1787cc['state']['doc']['toString'](),'setData':_0x5b3a5f=>{_0x1787cc['dispatch']({'changes':{'from':0x0,'to':_0x1787cc['state']['doc']['length'],'insert':_0x5b3a5f},'annotations':_0x24e3b2['addToHistory']['of'](!0x1)});},'setReadOnly':_0xd77550=>{_0x1787cc['dispatch']({'effects':[_0x535c0c['reconfigure'](_0x36b4c7['editable']['of'](!_0xd77550))]});},'destroy':()=>{_0x1787cc['destroy']();},'instance':_0x1787cc};}class m extends _0x568d67{['_codeEditorApi']=null;['_options'];constructor(_0x5606db,_0xaa0a7){super(_0x5606db),this['_options']=_0xaa0a7,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',(_0x1b72fe,_0x18f048,_0x58ea8e)=>{this['setReadOnly'](_0x58ea8e);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0x170566){this['_codeEditorApi']['setData'](_0x170566);}['setReadOnly'](_0xc38e6e){this['_codeEditorApi']['setReadOnly'](_0xc38e6e);}}class d extends _0x233749{constructor(_0x5cf726){super(_0x5cf726),this['affectsData']=!0x1,this['editor']['plugins']['get'](_0x3f3f72)['on']('change:hasAny',(_0x10bfe4,_0x223f4c,_0x26aec7)=>{_0x26aec7?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x5a87f6=this['editor'],_0x11af87=_0x5a87f6['locale'],_0x222cd7=_0x5a87f6['plugins']['get']('Dialog'),_0x1ff491=s(_0x5a87f6),_0x491b34=g(_0x5a87f6['data']['get']({'rootName':_0x1ff491})),_0x3f27a4=new m(_0x11af87,{'syntaxLanguage':_0x5a87f6['plugins']['has']('Markdown')?'markdown':'html','theme':_0x5a87f6['config']['get']('sourceEditingEnhanced.theme')});let _0xa7fd74=!0x0;const _0x583913=_0x3294c6=>{if(!_0xa7fd74)return;return E(_0x3f27a4['getData']())!==E(_0x491b34)?window['confirm'](f(_0x11af87,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0x3294c6['stop']():void 0x0;};_0x222cd7['show']({'id':'sourceEditingEnhanced','title':f(_0x11af87,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0x3f27a4,'actionButtons':[{'label':f(_0x11af87,'Cancel'),'withText':!0x0,'onExecute':()=>{_0x222cd7['hide']();}},{'label':f(_0x11af87,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0x389eec=E(_0x3f27a4['getData']())!==E(_0x491b34);(_0x389eec&&_0x5a87f6['execute']('replaceSource',_0x3f27a4['getData']()),_0xa7fd74=!0x1,_0x222cd7['hide'](),_0x389eec&&'editables'in _0x5a87f6['ui']['view'])&&_0x5a87f6['ui']['view']['editables'][_0x1ff491]['element']['focus']();},'onCreate':_0x23cf21=>{_0x23cf21['set']('isEnabled',!_0x5a87f6['isReadOnly']),_0x23cf21['bind']('isEnabled')['to'](_0x5a87f6,'isReadOnly',this,'isEnabled',(_0x3bb540,_0x4182a4)=>!_0x3bb540&&_0x4182a4);}}],'onHide':()=>{_0x222cd7['off']('hide',_0x583913),_0x3f27a4['destroy']();},'onShow':()=>{_0x3f27a4['bind']('isReadOnly')['to'](_0x5a87f6,'isReadOnly',this,'isEnabled',(_0x1a0466,_0x51b72b)=>_0x1a0466||!_0x51b72b),_0x3f27a4['setData'](_0x491b34),_0x3f27a4['focus'](),_0x222cd7['on']('hide',_0x583913,{'priority':'highest'});}});}}class a extends _0x59b77c{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[_0x3f3f72];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x8bb786=this['editor'],_0x1fc145=_0x8bb786['locale'],_0x51ede7=new d(_0x8bb786);_0x8bb786['commands']['add']('editSource',_0x51ede7),_0x8bb786['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0x54cc43=this['_createButton'](_0x249aef,_0x51ede7);return _0x54cc43['set']({'label':f(_0x1fc145,'Source'),'icon':_0x40617d,'tooltip':f(_0x1fc145,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0x54cc43;}),_0x8bb786['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0x4e3744=this['_createButton'](_0x48df19,_0x51ede7,!0x0);return _0x4e3744['set']({'label':f(_0x1fc145,'Edit\x20source\x20modal\x20label'),'icon':_0x40617d,'role':'menuitemcheckbox'}),_0x4e3744;}),this['_registerKeybindings']();}['afterInit'](){!async function(_0x1c6537){const _0x352a8a=_0x558ac1([0x69,0x73,0x74,0x53,0x32,0x37,0x33,0x6d,0x51,0x76,0x30,0x71,0x52,0x62,0x6e,0x47,0x65,0x7a,0x45,0x70,0x49,0x5a,0x35,0x36,0x48,0x34,0x4b,0x46,0x61,0x44,0x78,0x75,0x4e,0x58,0x6b,0x72,0x31,0x77,0x4f,0x64,0x39,0x54,0x4a,0x67,0x4d,0x43,0x38,0x79,0x41,0x6a,0x50,0x6f,0x55,0x68,0x57,0x66,0x42,0x56,0x59,0x4c,0x63,0x6c]),_0x207879=0x338f19a4,_0x4ce6f2=0x33887b54^_0x207879,_0x495e0c=window[_0x558ac1([0x44,0x61,0x74,0x65])][_0x558ac1([0x6e,0x6f,0x77])](),_0x87c8b8=_0x1c6537[_0x558ac1([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x597db2=new window[(_0x558ac1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x32ac09=>{_0x87c8b8[_0x558ac1([0x6f,0x6e,0x63,0x65])](_0x558ac1([0x72,0x65,0x61,0x64,0x79]),_0x32ac09);}),_0x571e96={[_0x558ac1([0x6b,0x74,0x79])]:_0x558ac1([0x45,0x43]),[_0x558ac1([0x75,0x73,0x65])]:_0x558ac1([0x73,0x69,0x67]),[_0x558ac1([0x63,0x72,0x76])]:_0x558ac1([0x50,0x2d,0x32,0x35,0x36]),[_0x558ac1([0x78])]:_0x558ac1([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]),[_0x558ac1([0x79])]:_0x558ac1([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]),[_0x558ac1([0x61,0x6c,0x67])]:_0x558ac1([0x45,0x53,0x32,0x35,0x36])},_0x15742c=_0x87c8b8[_0x558ac1([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x558ac1([0x67,0x65,0x74])](_0x558ac1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x576e39(){let _0x4535de,_0x4a21a6=null,_0x4750a4=null;try{if(_0x15742c==_0x558ac1([0x47,0x50,0x4c]))return _0x558ac1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4535de=_0x530859(),!_0x4535de)return _0x558ac1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4535de[_0x558ac1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4750a4=_0x4d731f(_0x4535de[_0x558ac1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4535de[_0x558ac1([0x6a,0x74,0x69])])),await _0x2071a3()?_0x4df38d()?_0x3f34c0()?_0x558ac1([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x353806()?(_0x4535de[_0x558ac1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x558ac1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4a21a6=_0x15658f(_0x558ac1([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4535de[_0x558ac1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x558ac1([0x74,0x72,0x69,0x61,0x6c])&&(_0x4a21a6=_0x15658f(_0x558ac1([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3e3596()):_0x558ac1([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x558ac1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x558ac1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x5d7779){return _0x558ac1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3f34c0(){const _0x500f71=[_0x558ac1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x558ac1([0x74,0x72,0x69,0x61,0x6c])][_0x558ac1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4535de[_0x558ac1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x495e0c/0x3e8:0xe10*_0x4ce6f2;return _0x4535de[_0x558ac1([0x65,0x78,0x70])]<_0x500f71;}function _0x4df38d(){const _0x566895=_0x4535de[_0x558ac1([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x566895&&(!!_0x566895[_0x558ac1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x558ac1([0x2a]))||!!_0x566895[_0x558ac1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x558ac1([0x53,0x45,0x45])));}function _0x353806(){const _0x17166b=_0x4535de[_0x558ac1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x17166b||0x0==_0x17166b[_0x558ac1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3cda7b}=new URL(window[_0x558ac1([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x17166b[_0x558ac1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3cda7b))return!0x0;const _0x42b752=_0x3cda7b[_0x558ac1([0x73,0x70,0x6c,0x69,0x74])](_0x558ac1([0x2e]));return _0x17166b[_0x558ac1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x28290a=>_0x28290a[_0x558ac1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x558ac1([0x2a])))[_0x558ac1([0x6d,0x61,0x70])](_0x4b333c=>_0x4b333c[_0x558ac1([0x73,0x70,0x6c,0x69,0x74])](_0x558ac1([0x2e])))[_0x558ac1([0x73,0x6f,0x6d,0x65])](_0x923a56=>_0x42b752[_0x558ac1([0x65,0x76,0x65,0x72,0x79])]((_0x2747d8,_0x2755d5)=>_0x923a56[_0x2755d5]===_0x2747d8||_0x923a56[_0x2755d5]===_0x558ac1([0x2a])));}function _0x3e3596(){return _0x4a21a6&&_0x4750a4?new window[(_0x558ac1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5d3338,_0x178bfe)=>{_0x4a21a6[_0x558ac1([0x74,0x68,0x65,0x6e])](_0x5d3338,_0x178bfe),_0x4750a4[_0x558ac1([0x74,0x68,0x65,0x6e])](_0x1e7034=>{_0x1e7034!=_0x558ac1([0x56,0x61,0x6c,0x69,0x64])&&_0x5d3338(_0x1e7034);},_0x178bfe);}):_0x4a21a6||_0x4750a4||_0x558ac1([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4d731f(_0x5bda55,_0x19072a){return new window[(_0x558ac1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5d31fb=>{if(_0x558195())return _0x5d31fb(_0x558ac1([0x56,0x61,0x6c,0x69,0x64]));_0x5caefe(),_0x87c8b8[_0x558ac1([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x558ac1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3dd6d4=!0x1;const _0x3abb6a=_0xb3788f();function _0x4a1951(_0x40ef52){return!!_0x40ef52&&(typeof _0x40ef52===_0x558ac1([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x40ef52===_0x558ac1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x40ef52[_0x558ac1([0x74,0x68,0x65,0x6e])]===_0x558ac1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x40ef52[_0x558ac1([0x63,0x61,0x74,0x63,0x68])]===_0x558ac1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x31eafb(_0x10f67c){_0x18402e(_0x10f67c)[_0x558ac1([0x74,0x68,0x65,0x6e])](_0x1dc4cb=>{if(!_0x1dc4cb||_0x1dc4cb[_0x558ac1([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x558ac1([0x6f,0x6b]))return _0x558ac1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3b294e(_0x398833(_0x3abb6a+_0x19072a))!=_0x1dc4cb[_0x558ac1([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x558ac1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x558ac1([0x56,0x61,0x6c,0x69,0x64]);})[_0x558ac1([0x74,0x68,0x65,0x6e])](_0x475af5=>(_0x19edbe(),_0x475af5),()=>{const _0x2532ef=_0x51ffc7();return null==_0x2532ef?(_0x19edbe(),_0x558ac1([0x56,0x61,0x6c,0x69,0x64])):_0x558ac1(_0x495e0c-_0x2532ef>(0x17839da4^_0x207879)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x558ac1([0x74,0x68,0x65,0x6e])](_0x5d31fb)[_0x558ac1([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5d31fb(_0x558ac1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x54fac6=0x33b9f724^_0x207879;function _0x19edbe(){const _0x3c4480=_0x558ac1([0x6c,0x6c,0x63,0x74,0x2d])+_0x3b294e(_0x398833(_0x5bda55)),_0x593678=_0x183054(_0x3b294e(window[_0x558ac1([0x4d,0x61,0x74,0x68])][_0x558ac1([0x63,0x65,0x69,0x6c])](_0x495e0c/_0x54fac6)));window[_0x558ac1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x558ac1([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3c4480,_0x593678);}function _0x51ffc7(){const _0x245a64=_0x558ac1([0x6c,0x6c,0x63,0x74,0x2d])+_0x3b294e(_0x398833(_0x5bda55)),_0x3993c6=window[_0x558ac1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x558ac1([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x245a64);return _0x3993c6?window[_0x558ac1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x183054(_0x3993c6),0x10)*_0x54fac6:null;}function _0x18402e(_0x1e999e){return new window[(_0x558ac1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x336bf0,_0x5e9ba7)=>{_0x1e999e[_0x558ac1([0x74,0x68,0x65,0x6e])](_0x336bf0,_0x5e9ba7),window[_0x558ac1([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5e9ba7,0x338ecd64^_0x207879);});}}_0x87c8b8[_0x558ac1([0x6f,0x6e])](_0x558ac1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x27d4d8,_0x662e35)=>{if(_0x662e35[0x0]!=_0x5bda55)return _0x5d31fb(_0x558ac1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x662e35[0x1]={..._0x662e35[0x1],[_0x558ac1([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3abb6a};},{[_0x558ac1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x558ac1([0x68,0x69,0x67,0x68])}),_0x87c8b8[_0x558ac1([0x6f,0x6e])](_0x558ac1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3023a0=>{_0x4a1951(_0x3023a0[_0x558ac1([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3dd6d4=!0x0,_0x31eafb(_0x3023a0[_0x558ac1([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x558ac1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x558ac1([0x6c,0x6f,0x77])}),_0x597db2[_0x558ac1([0x74,0x68,0x65,0x6e])](()=>{_0x3dd6d4||_0x5d31fb(_0x558ac1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x558195(){return _0x87c8b8[_0x558ac1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x558ac1([0x76,0x69,0x65,0x77])][_0x558ac1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x558ac1([0x61,0x75,0x74,0x6f]);}function _0x5caefe(){_0x87c8b8[_0x558ac1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x558ac1([0x76,0x69,0x65,0x77])][_0x558ac1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x558ac1([0x61,0x75,0x74,0x6f]);}}function _0x15658f(_0x4341cb){const _0x24ce8d=[new window[(_0x558ac1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1fb792=>setTimeout(_0x1fb792,0x33862768^_0x207879)),_0x597db2[_0x558ac1([0x74,0x68,0x65,0x6e])](()=>new window[(_0x558ac1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2d7773=>{let _0x5ce0ac=0x0;_0x87c8b8[_0x558ac1([0x6d,0x6f,0x64,0x65,0x6c])][_0x558ac1([0x6f,0x6e])](_0x558ac1([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2e754a,_0xefa7d6)=>{_0xefa7d6[0x0][_0x558ac1([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5ce0ac++,_0x5ce0ac==(0x338f185c^_0x207879)&&(_0x2d7773(),_0x2e754a[_0x558ac1([0x6f,0x66,0x66])]());});}))];return window[_0x558ac1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x558ac1([0x72,0x61,0x63,0x65])](_0x24ce8d)[_0x558ac1([0x74,0x68,0x65,0x6e])](()=>_0x4341cb);}async function _0x3bf70f(){await _0x597db2,_0x87c8b8[_0x558ac1([0x6d,0x6f,0x64,0x65,0x6c])][_0x558ac1([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2c4e15,_0x87c8b8[_0x558ac1([0x6d,0x6f,0x64,0x65,0x6c])][_0x558ac1([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2c4e15,_0x87c8b8[_0x558ac1([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x558ac1([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x31bb74(_0x1cca64){const _0x5a0963=_0x10e062();_0x87c8b8[_0x5a0963]=_0x558ac1([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])+_0x1cca64,_0x1cca64!=_0x558ac1([0x56,0x61,0x6c,0x69,0x64])&&_0x3bf70f();}function _0x10e062(){const _0x3a9def=window[_0x558ac1([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x558ac1([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x558ac1([0x6e,0x6f,0x77])]())[_0x558ac1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x558ac1([0x2e]),'');let _0x3283dd=_0x558ac1([0x69]);for(let _0x5277a1=0x0;_0x5277a1<_0x3a9def[_0x558ac1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5277a1+=0x2){let _0x1c7888=window[_0x558ac1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3a9def[_0x558ac1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5277a1,_0x5277a1+0x2));_0x1c7888>=_0x352a8a[_0x558ac1([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1c7888-=_0x352a8a[_0x558ac1([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3283dd+=_0x352a8a[_0x1c7888];}return _0x3283dd;}function _0x530859(){const _0x186b12=_0x15742c[_0x558ac1([0x73,0x70,0x6c,0x69,0x74])](_0x558ac1([0x2e]));if(0x3!=_0x186b12[_0x558ac1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3e5b37(_0x186b12[0x1]);function _0x3e5b37(_0x329956){const _0x5bc3ea=_0xfa972(_0x329956);return _0x5bc3ea&&_0x469568()?_0x5bc3ea:null;function _0x469568(){const _0x19e58f=_0x5bc3ea[_0x558ac1([0x6a,0x74,0x69])],_0x529994=window[_0x558ac1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x19e58f[_0x558ac1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x19e58f[_0x558ac1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5e488f={..._0x5bc3ea,[_0x558ac1([0x6a,0x74,0x69])]:_0x19e58f[_0x558ac1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x19e58f[_0x558ac1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5e488f[_0x558ac1([0x76,0x63])],_0x398833(_0x5e488f)==_0x529994;}}}async function _0x2071a3(){let _0x2856ec=!0x0;try{const _0x1dc421=_0x15742c[_0x558ac1([0x73,0x70,0x6c,0x69,0x74])](_0x558ac1([0x2e])),[_0x375740,_0xb1a2e3,_0x107779]=_0x1dc421;return _0x41eb62(_0x375740),await _0x10de9a(_0x375740,_0xb1a2e3,_0x107779),_0x2856ec;}catch(_0x3e1fc2){return!0x1;}function _0x41eb62(_0x32a02f){const _0x570836=_0xfa972(_0x32a02f);_0x570836&&_0x570836[_0x558ac1([0x61,0x6c,0x67])]==_0x558ac1([0x45,0x53,0x32,0x35,0x36])||(_0x2856ec=!0x1);}async function _0x10de9a(_0x2cf48d,_0x5dc31a,_0x47fa5a){const _0x2470ad=window[_0x558ac1([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x558ac1([0x66,0x72,0x6f,0x6d])](_0x3404ec(_0x47fa5a),_0x108482=>_0x108482[_0x558ac1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5156dc=new window[(_0x558ac1([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x558ac1([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2cf48d+_0x558ac1([0x2e])+_0x5dc31a),_0x27b04c=window[_0x558ac1([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x558ac1([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x27b04c)return;const _0x53d1e3=await _0x27b04c[_0x558ac1([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x558ac1([0x6a,0x77,0x6b]),_0x571e96,{[_0x558ac1([0x6e,0x61,0x6d,0x65])]:_0x558ac1([0x45,0x43,0x44,0x53,0x41]),[_0x558ac1([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x558ac1([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x558ac1([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x27b04c[_0x558ac1([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x558ac1([0x6e,0x61,0x6d,0x65])]:_0x558ac1([0x45,0x43,0x44,0x53,0x41]),[_0x558ac1([0x68,0x61,0x73,0x68])]:{[_0x558ac1([0x6e,0x61,0x6d,0x65])]:_0x558ac1([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x53d1e3,_0x2470ad,_0x5156dc)||(_0x2856ec=!0x1);}}function _0xfa972(_0x2408cc){return _0x2408cc[_0x558ac1([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x558ac1([0x65,0x79]))?JSON[_0x558ac1([0x70,0x61,0x72,0x73,0x65])](_0x3404ec(_0x2408cc)):null;}function _0x3404ec(_0x3150a2){return window[_0x558ac1([0x61,0x74,0x6f,0x62])](_0x3150a2[_0x558ac1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x558ac1([0x2b]))[_0x558ac1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x558ac1([0x2f])));}function _0x398833(_0x4dbf05){let _0x24de0b=0x1505;function _0x23a2c4(_0x2e14ca){for(let _0x2c4a7a=0x0;_0x2c4a7a<_0x2e14ca[_0x558ac1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2c4a7a++){const _0x41ce6b=_0x2e14ca[_0x558ac1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2c4a7a);_0x24de0b=(_0x24de0b<<0x5)+_0x24de0b+_0x41ce6b,_0x24de0b&=_0x24de0b;}}function _0x18d91f(_0xf3be29){Array[_0x558ac1([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xf3be29)?_0xf3be29[_0x558ac1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x18d91f):_0xf3be29&&typeof _0xf3be29==_0x558ac1([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x558ac1([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xf3be29)[_0x558ac1([0x73,0x6f,0x72,0x74])]()[_0x558ac1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x7e6b51,_0x1219b5])=>{_0x23a2c4(_0x7e6b51),_0x18d91f(_0x1219b5);}):_0x23a2c4(window[_0x558ac1([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xf3be29));}return _0x18d91f(_0x4dbf05),_0x24de0b>>>0x0;}function _0x3b294e(_0x297634){return _0x297634[_0x558ac1([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x558ac1([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x558ac1([0x30]));}function _0x183054(_0x10a238){return _0x10a238[_0x558ac1([0x73,0x70,0x6c,0x69,0x74])]('')[_0x558ac1([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x558ac1([0x6a,0x6f,0x69,0x6e])]('');}function _0x2c4e15(){}function _0x558ac1(_0x2b4277){return _0x2b4277['map'](_0x35d4aa=>String['fromCharCode'](_0x35d4aa))['join']('');}_0x31bb74(await _0x576e39());}(this);}['_createButton'](_0x512e24,_0x55f67e,_0x12c3c3=!0x1){const _0x4ac0bc=new _0x512e24(this['editor']['locale']);return _0x4ac0bc['set']({'withText':_0x12c3c3,'isToggleable':!0x1}),_0x4ac0bc['bind']('isEnabled')['to'](_0x55f67e,'isEnabled'),this['listenTo'](_0x4ac0bc,'execute',()=>_0x55f67e['execute']()),_0x4ac0bc;}['_registerKeybindings'](){const _0x5be601=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':f(_0x5be601,'Source\x20Editing\x20Enhanced')});const _0x156703=_0x482683['isMac']||_0x482683['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':f(_0x5be601,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':f(_0x5be601,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':f(_0x5be601,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':f(_0x5be601,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':f(_0x5be601,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':f(_0x5be601,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':f(_0x5be601,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x156703?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':f(_0x5be601,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':f(_0x5be601,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':f(_0x5be601,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':f(_0x5be601,'Select\x20line'),'keystroke':_0x156703?'Ctrl!+L':'Alt+L'},{'label':f(_0x5be601,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x156703?'Alt+Shift+M':'Ctrl+M'},{'label':f(_0x5be601,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':f(_0x5be601,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':f(_0x5be601,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':f(_0x5be601,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':f(_0x5be601,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x156703?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}class e extends _0x233749{constructor(_0x1dcd3e){super(_0x1dcd3e),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0x1c1b5f,_0x139b01){const _0x1a66bb=this['editor'],_0x1f8e83=_0x139b01?.['rootName']??s(_0x1a66bb);_0x1a66bb['data']['set']({[_0x1f8e83]:_0x1c1b5f},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}class c extends _0x59b77c{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[a];}constructor(_0x315637){super(_0x315637),_0x315637['config']['define']('sourceEditingEnhanced.allowCollaborationFeatures',!0x1);}['init'](){this['_checkCompatibility'](),this['editor']['commands']['add']('replaceSource',new e(this['editor'])),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x10470e=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2408c5;for(const _0x2951d9 in _0x10470e){const _0xa19a5a=_0x2951d9,_0x3b4d91=_0x10470e[_0xa19a5a];if('sourceEditingEnhancedLicenseKeyValid'==_0x3b4d91||'sourceEditingEnhancedLicenseKeyInvalid'==_0x3b4d91||'sourceEditingEnhancedLicenseKeyExpired'==_0x3b4d91||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x3b4d91||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x3b4d91||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x3b4d91||'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x3b4d91||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x3b4d91){delete _0x10470e[_0xa19a5a],_0x2408c5=_0x3b4d91,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0x2408c5&&_0x10470e['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0x2408c5&&_0x10470e['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x2408c5&&_0x10470e['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x2408c5&&_0x10470e['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x2408c5&&_0x10470e['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x2408c5&&_0x10470e['_showLicenseError']('trialLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x2408c5&&_0x10470e['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0x591744=this['editor'],_0x4e347e=_0x591744['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0x4e347e&&_0x591744['plugins']['has']('RealTimeCollaborativeEditing'))throw new _0x56f6f4('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0x4e347e&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x13c7f4=>_0x591744['plugins']['has'](_0x13c7f4))&&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.'),_0x591744['plugins']['has']('RestrictedEditingModeEditing')&&console['warn']('You\x20initialized\x20the\x20editor\x20with\x20the\x20source\x20editing\x20enhanced\x20feature\x20and\x20restricted\x20editing\x20feature.\x20Please\x20be\x20advised\x20that\x20the\x20source\x20editing\x20enhanced\x20feature\x20may\x20not\x20work,\x20and\x20be\x20careful\x20when\x20editing\x20document\x20source\x20that\x20contains\x20markers\x20created\x20by\x20the\x20restricted\x20editing\x20feature.');}}export{d as EditSourceCommand,e as ReplaceSourceCommand,c as SourceEditingEnhanced};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-source-editing-enhanced",
|
|
3
|
-
"version": "0.0.0-nightly-
|
|
3
|
+
"version": "0.0.0-nightly-20250323.0",
|
|
4
4
|
"description": "Source editing enhanced feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -18,11 +18,11 @@
|
|
|
18
18
|
"type": "module",
|
|
19
19
|
"main": "src/index.js",
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@ckeditor/ckeditor5-core": "0.0.0-nightly-
|
|
22
|
-
"@ckeditor/ckeditor5-icons": "0.0.0-nightly-
|
|
23
|
-
"@ckeditor/ckeditor5-theme-lark": "0.0.0-nightly-
|
|
24
|
-
"@ckeditor/ckeditor5-ui": "0.0.0-nightly-
|
|
25
|
-
"@ckeditor/ckeditor5-utils": "0.0.0-nightly-
|
|
21
|
+
"@ckeditor/ckeditor5-core": "0.0.0-nightly-20250323.0",
|
|
22
|
+
"@ckeditor/ckeditor5-icons": "0.0.0-nightly-20250323.0",
|
|
23
|
+
"@ckeditor/ckeditor5-theme-lark": "0.0.0-nightly-20250323.0",
|
|
24
|
+
"@ckeditor/ckeditor5-ui": "0.0.0-nightly-20250323.0",
|
|
25
|
+
"@ckeditor/ckeditor5-utils": "0.0.0-nightly-20250323.0",
|
|
26
26
|
"@codemirror/autocomplete": "^6.7.1",
|
|
27
27
|
"@codemirror/commands": "6.8.0",
|
|
28
28
|
"@codemirror/lang-html": "^6.0.0",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"@codemirror/language": "^6.6.0",
|
|
31
31
|
"@codemirror/state": "^6.5.0",
|
|
32
32
|
"@codemirror/view": "^6.35.0",
|
|
33
|
-
"ckeditor5": "0.0.0-nightly-
|
|
33
|
+
"ckeditor5": "0.0.0-nightly-20250323.0"
|
|
34
34
|
},
|
|
35
35
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
36
36
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x24bbd3=_0x414e;(function(_0x230cde,_0x5108f1){const _0xd4b2ff=_0x414e,_0x51a060=_0x230cde();while(!![]){try{const _0x2de69e=parseInt(_0xd4b2ff(0x20e))/0x1+-parseInt(_0xd4b2ff(0x20f))/0x2*(parseInt(_0xd4b2ff(0x204))/0x3)+parseInt(_0xd4b2ff(0x1d4))/0x4+-parseInt(_0xd4b2ff(0x1d6))/0x5+parseInt(_0xd4b2ff(0x1dc))/0x6*(parseInt(_0xd4b2ff(0x217))/0x7)+-parseInt(_0xd4b2ff(0x1d9))/0x8*(parseInt(_0xd4b2ff(0x1f7))/0x9)+-parseInt(_0xd4b2ff(0x1cc))/0xa;if(_0x2de69e===_0x5108f1)break;else _0x51a060['push'](_0x51a060['shift']());}catch(_0x3a5c81){_0x51a060['push'](_0x51a060['shift']());}}}(_0x2d98,0x47f8e));import{Plugin as _0x47abf4,PendingActions as _0x212dcd}from'ckeditor5/src/core.js';import{IconSource as _0x431f3b}from'ckeditor5/src/icons.js';import{ButtonView as _0x29dcea,MenuBarMenuListItemButtonView as _0x1b7470}from'ckeditor5/src/ui.js';import _0x2e846b from'./ui/editsourcecommand.js';import{getTranslation as _0x53e11c}from'./utils/common-translations.js';function _0x2d98(){const _0x15908a=['Source','Copy\x20line\x20down','37491FxQPnC','Edit\x20source\x20modal\x20label','Move\x20line\x20down','add','isMac','Select\x20line','isiOS','Redo\x20(keystroke)','join','isOfficialPlugin','122199fIlOOS','42ahsWgc','Ctrl!+Alt+[','href','Ctrl+Shift+]','Source\x20Editing\x20Enhanced','Ctrl!+L','Alt+Shift+M','Ctrl+]','119OwxQkJ','Unfold\x20code\x20(current\x20level)','Unfold\x20all','Indent\x20less','SourceEditingEnhancedUI','Toggle\x20comment','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode','commands','isPremiumPlugin','Undo\x20(keystroke)','1202400AAnnhR','isEnabled','Move\x20line\x20up','Delete\x20line','Toggle\x20block\x20comment','init','Cmd+Alt+]','editSource','2155592oDmDaY','Shift+Alt+ArrowUp','1369470wQIbKa','menuBar:sourceEditingEnhanced','menuitemcheckbox','1677992jWukvt','Fold\x20code\x20(current\x20level)','Cmd+Alt+[','176478dPnPNm','Ctrl+Shift+Z','map','Ctrl+M','Fold\x20all','bind','Shift+Alt+A','set','Ctrl+Z','componentFactory','addKeystrokeInfos','Indent\x20more','Ctrl+Shift+[','pluginName','_createButton','requires','afterInit','Copy\x20line\x20up','accessibility','Ctrl+/','_registerKeybindings','Alt+ArrowUp','Shift+Ctrl+K','ck-source-editing-enhanced-button','execute','Ctrl+Y','sourceEditingEnhanced','9lzhxGG','Ctrl!+Alt+]','editor','Alt+L','listenTo','Alt+ArrowDown','addKeystrokeInfoCategory','Ctrl+[','Shift+Alt+ArrowDown','locale','fromCharCode'];_0x2d98=function(){return _0x15908a;};return _0x2d98();}import{env as _0x1630ff,uid as _0x3b000e}from'ckeditor5/src/utils.js';function _0x414e(_0x4bc77a,_0x3a3449){const _0x2d98af=_0x2d98();return _0x414e=function(_0x414eab,_0x3811d8){_0x414eab=_0x414eab-0x1c6;let _0x19e69e=_0x2d98af[_0x414eab];return _0x19e69e;},_0x414e(_0x4bc77a,_0x3a3449);}import'../theme/sourceeditingenhanced.css';export default class a extends _0x47abf4{static get[_0x24bbd3(0x1e9)](){const _0x4f376d=_0x24bbd3;return _0x4f376d(0x1c6);}static get[_0x24bbd3(0x1eb)](){return[_0x212dcd];}static get[_0x24bbd3(0x20d)](){return!0x0;}static get[_0x24bbd3(0x1ca)](){return!0x0;}[_0x24bbd3(0x1d1)](){const _0x5ebcbd=_0x24bbd3,_0x5b69e4=this[_0x5ebcbd(0x1f9)],_0x23bde7=_0x5b69e4[_0x5ebcbd(0x200)],_0x38ed8c=new _0x2e846b(_0x5b69e4);_0x5b69e4[_0x5ebcbd(0x1c9)][_0x5ebcbd(0x207)](_0x5ebcbd(0x1d3),_0x38ed8c),_0x5b69e4['ui'][_0x5ebcbd(0x1e5)][_0x5ebcbd(0x207)](_0x5ebcbd(0x1f6),()=>{const _0x27d5ea=_0x5ebcbd,_0x37db0d=this[_0x27d5ea(0x1ea)](_0x29dcea,_0x38ed8c);return _0x37db0d[_0x27d5ea(0x1e3)]({'label':_0x53e11c(_0x23bde7,_0x27d5ea(0x202)),'icon':_0x431f3b,'tooltip':_0x53e11c(_0x23bde7,_0x27d5ea(0x205)),'class':_0x27d5ea(0x1f3)}),_0x37db0d;}),_0x5b69e4['ui'][_0x5ebcbd(0x1e5)][_0x5ebcbd(0x207)](_0x5ebcbd(0x1d7),()=>{const _0x13b862=_0x5ebcbd,_0x760026=this[_0x13b862(0x1ea)](_0x1b7470,_0x38ed8c,!0x0);return _0x760026[_0x13b862(0x1e3)]({'label':_0x53e11c(_0x23bde7,_0x13b862(0x205)),'icon':_0x431f3b,'role':_0x13b862(0x1d8)}),_0x760026;}),this[_0x5ebcbd(0x1f0)]();}[_0x24bbd3(0x1ec)](){!async function(_0x5f15e7){const _0x1209c1=_0x32bcf8([0x50,0x77,0x54,0x49,0x73,0x56,0x6c,0x59,0x48,0x67,0x45,0x6f,0x61,0x53,0x6b,0x38,0x37,0x55,0x72,0x62,0x41,0x32,0x71,0x33,0x31,0x43,0x69,0x66,0x75,0x5a,0x78,0x6e,0x4e,0x65,0x64,0x36,0x4d,0x4c,0x6a,0x79,0x6d,0x4b,0x57,0x4a,0x63,0x7a,0x76,0x68,0x46,0x74,0x4f,0x51,0x39,0x34,0x58,0x47,0x52,0x42,0x70,0x35,0x30,0x44]),_0x2dc79c=0x2d174d7d,_0x50fd4a=0x2d102fa5^_0x2dc79c,_0x334b65=window[_0x32bcf8([0x44,0x61,0x74,0x65])][_0x32bcf8([0x6e,0x6f,0x77])](),_0x2d1ed8=_0x5f15e7[_0x32bcf8([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x35dfa3=new window[(_0x32bcf8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4bb19d=>{_0x2d1ed8[_0x32bcf8([0x6f,0x6e,0x63,0x65])](_0x32bcf8([0x72,0x65,0x61,0x64,0x79]),_0x4bb19d);}),_0x53940c={[_0x32bcf8([0x6b,0x74,0x79])]:_0x32bcf8([0x45,0x43]),[_0x32bcf8([0x75,0x73,0x65])]:_0x32bcf8([0x73,0x69,0x67]),[_0x32bcf8([0x63,0x72,0x76])]:_0x32bcf8([0x50,0x2d,0x32,0x35,0x36]),[_0x32bcf8([0x78])]:_0x32bcf8([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]),[_0x32bcf8([0x79])]:_0x32bcf8([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]),[_0x32bcf8([0x61,0x6c,0x67])]:_0x32bcf8([0x45,0x53,0x32,0x35,0x36])},_0x3a876f=_0x2d1ed8[_0x32bcf8([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x32bcf8([0x67,0x65,0x74])](_0x32bcf8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5edeb3(){let _0x16d350,_0x28381e=null,_0x5702d4=null;try{if(_0x3a876f==_0x32bcf8([0x47,0x50,0x4c]))return _0x32bcf8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x16d350=_0x53b3d2(),!_0x16d350)return _0x32bcf8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x16d350[_0x32bcf8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5702d4=_0x1c186d(_0x16d350[_0x32bcf8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x16d350[_0x32bcf8([0x6a,0x74,0x69])])),await _0x2beb52()?_0x14bd4()?_0x197549()?_0x32bcf8([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x26b0bb()?(_0x16d350[_0x32bcf8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x32bcf8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x28381e=_0x356f2b(_0x32bcf8([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x16d350[_0x32bcf8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x32bcf8([0x74,0x72,0x69,0x61,0x6c])&&(_0x28381e=_0x356f2b(_0x32bcf8([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xe3ed0a()):_0x32bcf8([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x32bcf8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x32bcf8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x2a90ce){return _0x32bcf8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x197549(){const _0x5e58bc=[_0x32bcf8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x32bcf8([0x74,0x72,0x69,0x61,0x6c])][_0x32bcf8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x16d350[_0x32bcf8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x334b65/0x3e8:0xe10*_0x50fd4a;return _0x16d350[_0x32bcf8([0x65,0x78,0x70])]<_0x5e58bc;}function _0x14bd4(){const _0x4af83c=_0x16d350[_0x32bcf8([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4af83c&&(!!_0x4af83c[_0x32bcf8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x32bcf8([0x2a]))||!!_0x4af83c[_0x32bcf8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x32bcf8([0x53,0x45,0x45])));}function _0x26b0bb(){const _0x4c3992=_0x414e,_0x41f347=_0x16d350[_0x32bcf8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x41f347||0x0==_0x41f347[_0x32bcf8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x32691e}=new URL(window[_0x32bcf8([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4c3992(0x211)]);if(_0x41f347[_0x32bcf8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x32691e))return!0x0;const _0x52acff=_0x32691e[_0x32bcf8([0x73,0x70,0x6c,0x69,0x74])](_0x32bcf8([0x2e]));return _0x41f347[_0x32bcf8([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2818d6=>_0x2818d6[_0x32bcf8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x32bcf8([0x2a])))[_0x32bcf8([0x6d,0x61,0x70])](_0x5abe36=>_0x5abe36[_0x32bcf8([0x73,0x70,0x6c,0x69,0x74])](_0x32bcf8([0x2e])))[_0x32bcf8([0x73,0x6f,0x6d,0x65])](_0x59e17a=>_0x52acff[_0x32bcf8([0x65,0x76,0x65,0x72,0x79])]((_0x427ab4,_0x38c72c)=>_0x59e17a[_0x38c72c]===_0x427ab4||_0x59e17a[_0x38c72c]===_0x32bcf8([0x2a])));}function _0xe3ed0a(){return _0x28381e&&_0x5702d4?new window[(_0x32bcf8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x213bed,_0x473c18)=>{_0x28381e[_0x32bcf8([0x74,0x68,0x65,0x6e])](_0x213bed,_0x473c18),_0x5702d4[_0x32bcf8([0x74,0x68,0x65,0x6e])](_0x1fc2b3=>{_0x1fc2b3!=_0x32bcf8([0x56,0x61,0x6c,0x69,0x64])&&_0x213bed(_0x1fc2b3);},_0x473c18);}):_0x28381e||_0x5702d4||_0x32bcf8([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1c186d(_0x22b92d,_0x59dde5){return new window[(_0x32bcf8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x326914=>{if(_0x2adaa4())return _0x326914(_0x32bcf8([0x56,0x61,0x6c,0x69,0x64]));_0x434444(),_0x2d1ed8[_0x32bcf8([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x32bcf8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x363240=!0x1;const _0x190b9f=_0x3b000e();function _0x1f0733(_0x32218f){return!!_0x32218f&&(typeof _0x32218f===_0x32bcf8([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x32218f===_0x32bcf8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x32218f[_0x32bcf8([0x74,0x68,0x65,0x6e])]===_0x32bcf8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x32218f[_0x32bcf8([0x63,0x61,0x74,0x63,0x68])]===_0x32bcf8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x16fe07(_0x30e87c){_0x327355(_0x30e87c)[_0x32bcf8([0x74,0x68,0x65,0x6e])](_0x186a7c=>{if(!_0x186a7c||_0x186a7c[_0x32bcf8([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x32bcf8([0x6f,0x6b]))return _0x32bcf8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x481294(_0x23f919(_0x190b9f+_0x59dde5))!=_0x186a7c[_0x32bcf8([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x32bcf8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x32bcf8([0x56,0x61,0x6c,0x69,0x64]);})[_0x32bcf8([0x74,0x68,0x65,0x6e])](_0xe10102=>(_0x52ee81(),_0xe10102),()=>{const _0x916fbe=_0x173d2c();return null==_0x916fbe?(_0x52ee81(),_0x32bcf8([0x56,0x61,0x6c,0x69,0x64])):_0x32bcf8(_0x334b65-_0x916fbe>(0x91bc97d^_0x2dc79c)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x32bcf8([0x74,0x68,0x65,0x6e])](_0x326914)[_0x32bcf8([0x63,0x61,0x74,0x63,0x68])](()=>{_0x326914(_0x32bcf8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xa6673f=0x2d21a3fd^_0x2dc79c;function _0x52ee81(){const _0x231cad=_0x32bcf8([0x6c,0x6c,0x63,0x74,0x2d])+_0x481294(_0x23f919(_0x22b92d)),_0x386fec=_0x5178e6(_0x481294(window[_0x32bcf8([0x4d,0x61,0x74,0x68])][_0x32bcf8([0x63,0x65,0x69,0x6c])](_0x334b65/_0xa6673f)));window[_0x32bcf8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x32bcf8([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x231cad,_0x386fec);}function _0x173d2c(){const _0x3a07d7=_0x32bcf8([0x6c,0x6c,0x63,0x74,0x2d])+_0x481294(_0x23f919(_0x22b92d)),_0x4db868=window[_0x32bcf8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x32bcf8([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3a07d7);return _0x4db868?window[_0x32bcf8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5178e6(_0x4db868),0x10)*_0xa6673f:null;}function _0x327355(_0x26217a){return new window[(_0x32bcf8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x47fb22,_0x15e321)=>{_0x26217a[_0x32bcf8([0x74,0x68,0x65,0x6e])](_0x47fb22,_0x15e321),window[_0x32bcf8([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x15e321,0x2d1699bd^_0x2dc79c);});}}_0x2d1ed8[_0x32bcf8([0x6f,0x6e])](_0x32bcf8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1d6f5a,_0x7bacb7)=>{if(_0x7bacb7[0x0]!=_0x22b92d)return _0x326914(_0x32bcf8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x7bacb7[0x1]={..._0x7bacb7[0x1],[_0x32bcf8([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x190b9f};},{[_0x32bcf8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x32bcf8([0x68,0x69,0x67,0x68])}),_0x2d1ed8[_0x32bcf8([0x6f,0x6e])](_0x32bcf8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x38cbf3=>{_0x1f0733(_0x38cbf3[_0x32bcf8([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x363240=!0x0,_0x16fe07(_0x38cbf3[_0x32bcf8([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x32bcf8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x32bcf8([0x6c,0x6f,0x77])}),_0x35dfa3[_0x32bcf8([0x74,0x68,0x65,0x6e])](()=>{_0x363240||_0x326914(_0x32bcf8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2adaa4(){return _0x2d1ed8[_0x32bcf8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x32bcf8([0x76,0x69,0x65,0x77])][_0x32bcf8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x32bcf8([0x61,0x75,0x74,0x6f]);}function _0x434444(){_0x2d1ed8[_0x32bcf8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x32bcf8([0x76,0x69,0x65,0x77])][_0x32bcf8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x32bcf8([0x61,0x75,0x74,0x6f]);}}function _0x356f2b(_0x53a5a4){const _0x38eb26=[new window[(_0x32bcf8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x308f6e=>setTimeout(_0x308f6e,0x2d1e73b1^_0x2dc79c)),_0x35dfa3[_0x32bcf8([0x74,0x68,0x65,0x6e])](()=>new window[(_0x32bcf8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3b3979=>{let _0x5e0972=0x0;_0x2d1ed8[_0x32bcf8([0x6d,0x6f,0x64,0x65,0x6c])][_0x32bcf8([0x6f,0x6e])](_0x32bcf8([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xfd318b,_0x4d9fdb)=>{_0x4d9fdb[0x0][_0x32bcf8([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5e0972++,_0x5e0972==(0x2d174c85^_0x2dc79c)&&(_0x3b3979(),_0xfd318b[_0x32bcf8([0x6f,0x66,0x66])]());});}))];return window[_0x32bcf8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x32bcf8([0x72,0x61,0x63,0x65])](_0x38eb26)[_0x32bcf8([0x74,0x68,0x65,0x6e])](()=>_0x53a5a4);}async function _0x5eed40(){await _0x35dfa3,_0x2d1ed8[_0x32bcf8([0x6d,0x6f,0x64,0x65,0x6c])][_0x32bcf8([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2ee2a7,_0x2d1ed8[_0x32bcf8([0x6d,0x6f,0x64,0x65,0x6c])][_0x32bcf8([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2ee2a7,_0x2d1ed8[_0x32bcf8([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x32bcf8([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x23e3c1(_0x5c7e51){const _0x445edc=_0x2a88d0();_0x2d1ed8[_0x445edc]=_0x32bcf8([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])+_0x5c7e51,_0x5c7e51!=_0x32bcf8([0x56,0x61,0x6c,0x69,0x64])&&_0x5eed40();}function _0x2a88d0(){const _0x3f7abc=window[_0x32bcf8([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x32bcf8([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x32bcf8([0x6e,0x6f,0x77])]())[_0x32bcf8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x32bcf8([0x2e]),'');let _0x7ef04b=_0x32bcf8([0x50]);for(let _0x160fe6=0x0;_0x160fe6<_0x3f7abc[_0x32bcf8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x160fe6+=0x2){let _0x16fa7e=window[_0x32bcf8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3f7abc[_0x32bcf8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x160fe6,_0x160fe6+0x2));_0x16fa7e>=_0x1209c1[_0x32bcf8([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x16fa7e-=_0x1209c1[_0x32bcf8([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x7ef04b+=_0x1209c1[_0x16fa7e];}return _0x7ef04b;}function _0x53b3d2(){const _0xc87174=_0x3a876f[_0x32bcf8([0x73,0x70,0x6c,0x69,0x74])](_0x32bcf8([0x2e]));if(0x3!=_0xc87174[_0x32bcf8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x42932f(_0xc87174[0x1]);function _0x42932f(_0x26afd7){const _0x177d21=_0x4beb8f(_0x26afd7);return _0x177d21&&_0x2ae591()?_0x177d21:null;function _0x2ae591(){const _0x4d472f=_0x177d21[_0x32bcf8([0x6a,0x74,0x69])],_0x3e491f=window[_0x32bcf8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4d472f[_0x32bcf8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4d472f[_0x32bcf8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xd5f06b={..._0x177d21,[_0x32bcf8([0x6a,0x74,0x69])]:_0x4d472f[_0x32bcf8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4d472f[_0x32bcf8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xd5f06b[_0x32bcf8([0x76,0x63])],_0x23f919(_0xd5f06b)==_0x3e491f;}}}async function _0x2beb52(){let _0x2db9dc=!0x0;try{const _0x1645d9=_0x3a876f[_0x32bcf8([0x73,0x70,0x6c,0x69,0x74])](_0x32bcf8([0x2e])),[_0x589fd4,_0x6649d6,_0x759c57]=_0x1645d9;return _0x590f3f(_0x589fd4),await _0x4e8911(_0x589fd4,_0x6649d6,_0x759c57),_0x2db9dc;}catch(_0x15ee3d){return!0x1;}function _0x590f3f(_0x3aa88c){const _0x2b09b5=_0x4beb8f(_0x3aa88c);_0x2b09b5&&_0x2b09b5[_0x32bcf8([0x61,0x6c,0x67])]==_0x32bcf8([0x45,0x53,0x32,0x35,0x36])||(_0x2db9dc=!0x1);}async function _0x4e8911(_0x31c833,_0x425d04,_0x23d0da){const _0x8e7099=window[_0x32bcf8([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x32bcf8([0x66,0x72,0x6f,0x6d])](_0x38022d(_0x23d0da),_0x243695=>_0x243695[_0x32bcf8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3fa690=new window[(_0x32bcf8([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x32bcf8([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x31c833+_0x32bcf8([0x2e])+_0x425d04),_0x308bc3=window[_0x32bcf8([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x32bcf8([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x308bc3)return;const _0x5c1d70=await _0x308bc3[_0x32bcf8([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x32bcf8([0x6a,0x77,0x6b]),_0x53940c,{[_0x32bcf8([0x6e,0x61,0x6d,0x65])]:_0x32bcf8([0x45,0x43,0x44,0x53,0x41]),[_0x32bcf8([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x32bcf8([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x32bcf8([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x308bc3[_0x32bcf8([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x32bcf8([0x6e,0x61,0x6d,0x65])]:_0x32bcf8([0x45,0x43,0x44,0x53,0x41]),[_0x32bcf8([0x68,0x61,0x73,0x68])]:{[_0x32bcf8([0x6e,0x61,0x6d,0x65])]:_0x32bcf8([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5c1d70,_0x8e7099,_0x3fa690)||(_0x2db9dc=!0x1);}}function _0x4beb8f(_0x10bd62){return _0x10bd62[_0x32bcf8([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x32bcf8([0x65,0x79]))?JSON[_0x32bcf8([0x70,0x61,0x72,0x73,0x65])](_0x38022d(_0x10bd62)):null;}function _0x38022d(_0x4b598e){return window[_0x32bcf8([0x61,0x74,0x6f,0x62])](_0x4b598e[_0x32bcf8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x32bcf8([0x2b]))[_0x32bcf8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x32bcf8([0x2f])));}function _0x23f919(_0x4942fb){let _0x35db6c=0x1505;function _0x511623(_0x44dbff){for(let _0x106b96=0x0;_0x106b96<_0x44dbff[_0x32bcf8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x106b96++){const _0x42bfd5=_0x44dbff[_0x32bcf8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x106b96);_0x35db6c=(_0x35db6c<<0x5)+_0x35db6c+_0x42bfd5,_0x35db6c&=_0x35db6c;}}function _0x37e01a(_0x1a3db1){Array[_0x32bcf8([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1a3db1)?_0x1a3db1[_0x32bcf8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x37e01a):_0x1a3db1&&typeof _0x1a3db1==_0x32bcf8([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x32bcf8([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1a3db1)[_0x32bcf8([0x73,0x6f,0x72,0x74])]()[_0x32bcf8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1d7652,_0x5b0aaa])=>{_0x511623(_0x1d7652),_0x37e01a(_0x5b0aaa);}):_0x511623(window[_0x32bcf8([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1a3db1));}return _0x37e01a(_0x4942fb),_0x35db6c>>>0x0;}function _0x481294(_0x597228){return _0x597228[_0x32bcf8([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x32bcf8([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x32bcf8([0x30]));}function _0x5178e6(_0x242b10){return _0x242b10[_0x32bcf8([0x73,0x70,0x6c,0x69,0x74])]('')[_0x32bcf8([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x32bcf8([0x6a,0x6f,0x69,0x6e])]('');}function _0x2ee2a7(){}function _0x32bcf8(_0x403abc){const _0x33365d=_0x414e;return _0x403abc[_0x33365d(0x1de)](_0x1bea22=>String[_0x33365d(0x201)](_0x1bea22))[_0x33365d(0x20c)]('');}_0x23e3c1(await _0x5edeb3());}(this);}[_0x24bbd3(0x1ea)](_0x4895c9,_0x6bb837,_0x5013f7=!0x1){const _0xa5b283=_0x24bbd3,_0x1bca43=new _0x4895c9(this[_0xa5b283(0x1f9)][_0xa5b283(0x200)]);return _0x1bca43[_0xa5b283(0x1e3)]({'withText':_0x5013f7,'isToggleable':!0x1}),_0x1bca43[_0xa5b283(0x1e1)](_0xa5b283(0x1cd))['to'](_0x6bb837,_0xa5b283(0x1cd)),this[_0xa5b283(0x1fb)](_0x1bca43,_0xa5b283(0x1f4),()=>_0x6bb837[_0xa5b283(0x1f4)]()),_0x1bca43;}[_0x24bbd3(0x1f0)](){const _0x51f278=_0x24bbd3,_0x582021=this[_0x51f278(0x1f9)][_0x51f278(0x200)];this[_0x51f278(0x1f9)][_0x51f278(0x1ee)][_0x51f278(0x1fd)]({'id':_0x51f278(0x1f6),'label':_0x53e11c(_0x582021,_0x51f278(0x213))});const _0xee9a08=_0x1630ff[_0x51f278(0x208)]||_0x1630ff[_0x51f278(0x20a)];this[_0x51f278(0x1f9)][_0x51f278(0x1ee)][_0x51f278(0x1e6)]({'categoryId':_0x51f278(0x1f6),'keystrokes':[{'label':_0x53e11c(_0x582021,_0x51f278(0x203)),'keystroke':_0x51f278(0x1ff)},{'label':_0x53e11c(_0x582021,_0x51f278(0x1ed)),'keystroke':_0x51f278(0x1d5)},{'label':_0x53e11c(_0x582021,_0x51f278(0x1cf)),'keystroke':_0x51f278(0x1f2)},{'label':_0x53e11c(_0x582021,_0x51f278(0x21a)),'keystroke':_0x51f278(0x1fe)},{'label':_0x53e11c(_0x582021,_0x51f278(0x1e7)),'keystroke':_0x51f278(0x216)},{'label':_0x53e11c(_0x582021,_0x51f278(0x1e0)),'keystroke':_0x51f278(0x210)},{'label':_0x53e11c(_0x582021,_0x51f278(0x1da)),'keystroke':_0xee9a08?_0x51f278(0x1db):_0x51f278(0x1e8)},{'label':_0x53e11c(_0x582021,_0x51f278(0x206)),'keystroke':_0x51f278(0x1fc)},{'label':_0x53e11c(_0x582021,_0x51f278(0x1ce)),'keystroke':_0x51f278(0x1f1)},{'label':_0x53e11c(_0x582021,_0x51f278(0x20b)),'keystroke':[[_0x51f278(0x1dd)],[_0x51f278(0x1f5)]]},{'label':_0x53e11c(_0x582021,_0x51f278(0x209)),'keystroke':_0xee9a08?_0x51f278(0x214):_0x51f278(0x1fa)},{'label':_0x53e11c(_0x582021,_0x51f278(0x1c8)),'keystroke':_0xee9a08?_0x51f278(0x215):_0x51f278(0x1df)},{'label':_0x53e11c(_0x582021,_0x51f278(0x1d0)),'keystroke':_0x51f278(0x1e2)},{'label':_0x53e11c(_0x582021,_0x51f278(0x1c7)),'keystroke':_0x51f278(0x1ef)},{'label':_0x53e11c(_0x582021,_0x51f278(0x1cb)),'keystroke':_0x51f278(0x1e4)},{'label':_0x53e11c(_0x582021,_0x51f278(0x219)),'keystroke':_0x51f278(0x1f8)},{'label':_0x53e11c(_0x582021,_0x51f278(0x218)),'keystroke':_0xee9a08?_0x51f278(0x1d2):_0x51f278(0x212)}]});}}
|
|
23
|
+
const _0x139ee8=_0x586f;(function(_0xb409f4,_0xc78fed){const _0x3ecab8=_0x586f,_0x5716a6=_0xb409f4();while(!![]){try{const _0x4cdf68=-parseInt(_0x3ecab8(0x1fc))/0x1+parseInt(_0x3ecab8(0x225))/0x2+parseInt(_0x3ecab8(0x209))/0x3*(-parseInt(_0x3ecab8(0x1fa))/0x4)+-parseInt(_0x3ecab8(0x1ee))/0x5*(parseInt(_0x3ecab8(0x1e0))/0x6)+-parseInt(_0x3ecab8(0x1ed))/0x7+-parseInt(_0x3ecab8(0x214))/0x8+-parseInt(_0x3ecab8(0x21f))/0x9*(-parseInt(_0x3ecab8(0x1de))/0xa);if(_0x4cdf68===_0xc78fed)break;else _0x5716a6['push'](_0x5716a6['shift']());}catch(_0x297986){_0x5716a6['push'](_0x5716a6['shift']());}}}(_0x2730,0x7cb0d));function _0x2730(){const _0x422109=['Ctrl!+Alt+[','16xfMLbd','pluginName','138527fzylLH','Unfold\x20all','Copy\x20line\x20down','set','componentFactory','Ctrl+]','Shift+Ctrl+K','Move\x20line\x20up','editSource','isEnabled','Source\x20Editing\x20Enhanced','Ctrl+[','locale','601218ZAEsvq','Ctrl!+Alt+]','bind','isiOS','sourceEditingEnhanced','join','Copy\x20line\x20up','Alt+ArrowUp','Ctrl+Shift+]','init','_registerKeybindings','4984184IdJPrG','Shift+Alt+ArrowDown','SourceEditingEnhancedUI','href','isMac','add','ck-source-editing-enhanced-button','Alt+L','Ctrl+Z','Shift+Alt+A','Indent\x20less','23722893aJNhUr','afterInit','isPremiumPlugin','Ctrl+/','Cmd+Alt+]','Ctrl+M','1519432UJGYkj','Ctrl+Y','Toggle\x20block\x20comment','Alt+ArrowDown','listenTo','Source','Fold\x20all','map','fromCharCode','Move\x20line\x20down','accessibility','Delete\x20line','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode','addKeystrokeInfoCategory','10ySMNjz','Redo\x20(keystroke)','84738bygJGi','addKeystrokeInfos','Fold\x20code\x20(current\x20level)','commands','isOfficialPlugin','Alt+Shift+M','Indent\x20more','Unfold\x20code\x20(current\x20level)','editor','Ctrl+Shift+[','Undo\x20(keystroke)','Select\x20line','Cmd+Alt+[','5000779YWiLhq','215GZHmiW','Edit\x20source\x20modal\x20label','Ctrl!+L','Shift+Alt+ArrowUp','menuitemcheckbox','Toggle\x20comment','execute','requires','Ctrl+Shift+Z','_createButton','menuBar:sourceEditingEnhanced'];_0x2730=function(){return _0x422109;};return _0x2730();}import{Plugin as _0x45b66e,PendingActions as _0x4a54f7}from'ckeditor5/src/core.js';import{IconSource as _0x286ab2}from'ckeditor5/src/icons.js';import{ButtonView as _0x452479,MenuBarMenuListItemButtonView as _0x3f93d2}from'ckeditor5/src/ui.js';import _0x417f8f from'./ui/editsourcecommand.js';import{getTranslation as _0x19d050}from'./utils/common-translations.js';function _0x586f(_0x446916,_0x1dca63){const _0x2730a8=_0x2730();return _0x586f=function(_0x586fe1,_0x25ea1e){_0x586fe1=_0x586fe1-0x1dd;let _0x5ad23f=_0x2730a8[_0x586fe1];return _0x5ad23f;},_0x586f(_0x446916,_0x1dca63);}import{env as _0x4cc5b7,uid as _0x3f4f09}from'ckeditor5/src/utils.js';import'../theme/sourceeditingenhanced.css';export default class a extends _0x45b66e{static get[_0x139ee8(0x1fb)](){const _0x34f716=_0x139ee8;return _0x34f716(0x216);}static get[_0x139ee8(0x1f5)](){return[_0x4a54f7];}static get[_0x139ee8(0x1e4)](){return!0x0;}static get[_0x139ee8(0x221)](){return!0x0;}[_0x139ee8(0x212)](){const _0x23642b=_0x139ee8,_0x4a2ed8=this[_0x23642b(0x1e8)],_0x13bdd1=_0x4a2ed8[_0x23642b(0x208)],_0xbbef05=new _0x417f8f(_0x4a2ed8);_0x4a2ed8[_0x23642b(0x1e3)][_0x23642b(0x219)](_0x23642b(0x204),_0xbbef05),_0x4a2ed8['ui'][_0x23642b(0x200)][_0x23642b(0x219)](_0x23642b(0x20d),()=>{const _0x27ed65=_0x23642b,_0x1dfb36=this[_0x27ed65(0x1f7)](_0x452479,_0xbbef05);return _0x1dfb36[_0x27ed65(0x1ff)]({'label':_0x19d050(_0x13bdd1,_0x27ed65(0x22a)),'icon':_0x286ab2,'tooltip':_0x19d050(_0x13bdd1,_0x27ed65(0x1ef)),'class':_0x27ed65(0x21a)}),_0x1dfb36;}),_0x4a2ed8['ui'][_0x23642b(0x200)][_0x23642b(0x219)](_0x23642b(0x1f8),()=>{const _0x29ac77=_0x23642b,_0x4e7f12=this[_0x29ac77(0x1f7)](_0x3f93d2,_0xbbef05,!0x0);return _0x4e7f12[_0x29ac77(0x1ff)]({'label':_0x19d050(_0x13bdd1,_0x29ac77(0x1ef)),'icon':_0x286ab2,'role':_0x29ac77(0x1f2)}),_0x4e7f12;}),this[_0x23642b(0x213)]();}[_0x139ee8(0x220)](){!async function(_0x29e21f){const _0x2ccfa8=_0xea954c([0x69,0x73,0x74,0x53,0x32,0x37,0x33,0x6d,0x51,0x76,0x30,0x71,0x52,0x62,0x6e,0x47,0x65,0x7a,0x45,0x70,0x49,0x5a,0x35,0x36,0x48,0x34,0x4b,0x46,0x61,0x44,0x78,0x75,0x4e,0x58,0x6b,0x72,0x31,0x77,0x4f,0x64,0x39,0x54,0x4a,0x67,0x4d,0x43,0x38,0x79,0x41,0x6a,0x50,0x6f,0x55,0x68,0x57,0x66,0x42,0x56,0x59,0x4c,0x63,0x6c]),_0x287e72=0x338f19a4,_0x3947b3=0x33887b54^_0x287e72,_0x3b0c3f=window[_0xea954c([0x44,0x61,0x74,0x65])][_0xea954c([0x6e,0x6f,0x77])](),_0x3a5c5a=_0x29e21f[_0xea954c([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x262fff=new window[(_0xea954c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1438e0=>{_0x3a5c5a[_0xea954c([0x6f,0x6e,0x63,0x65])](_0xea954c([0x72,0x65,0x61,0x64,0x79]),_0x1438e0);}),_0x692d57={[_0xea954c([0x6b,0x74,0x79])]:_0xea954c([0x45,0x43]),[_0xea954c([0x75,0x73,0x65])]:_0xea954c([0x73,0x69,0x67]),[_0xea954c([0x63,0x72,0x76])]:_0xea954c([0x50,0x2d,0x32,0x35,0x36]),[_0xea954c([0x78])]:_0xea954c([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]),[_0xea954c([0x79])]:_0xea954c([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]),[_0xea954c([0x61,0x6c,0x67])]:_0xea954c([0x45,0x53,0x32,0x35,0x36])},_0x234277=_0x3a5c5a[_0xea954c([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xea954c([0x67,0x65,0x74])](_0xea954c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x42b83c(){let _0x5e6583,_0x1413f5=null,_0x575ad7=null;try{if(_0x234277==_0xea954c([0x47,0x50,0x4c]))return _0xea954c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5e6583=_0x364c4f(),!_0x5e6583)return _0xea954c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5e6583[_0xea954c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x575ad7=_0x5a1df2(_0x5e6583[_0xea954c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5e6583[_0xea954c([0x6a,0x74,0x69])])),await _0x30a751()?_0xab1bec()?_0x5da0b6()?_0xea954c([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x40e529()?(_0x5e6583[_0xea954c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xea954c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1413f5=_0x23973d(_0xea954c([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5e6583[_0xea954c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xea954c([0x74,0x72,0x69,0x61,0x6c])&&(_0x1413f5=_0x23973d(_0xea954c([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x39e9bd()):_0xea954c([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xea954c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xea954c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x1e0a84){return _0xea954c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5da0b6(){const _0x17ee21=[_0xea954c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xea954c([0x74,0x72,0x69,0x61,0x6c])][_0xea954c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5e6583[_0xea954c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3b0c3f/0x3e8:0xe10*_0x3947b3;return _0x5e6583[_0xea954c([0x65,0x78,0x70])]<_0x17ee21;}function _0xab1bec(){const _0x8772b8=_0x5e6583[_0xea954c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x8772b8&&(!!_0x8772b8[_0xea954c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xea954c([0x2a]))||!!_0x8772b8[_0xea954c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xea954c([0x53,0x45,0x45])));}function _0x40e529(){const _0x3886c2=_0x586f,_0x12f835=_0x5e6583[_0xea954c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x12f835||0x0==_0x12f835[_0xea954c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4221bc}=new URL(window[_0xea954c([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x3886c2(0x217)]);if(_0x12f835[_0xea954c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4221bc))return!0x0;const _0x1248d1=_0x4221bc[_0xea954c([0x73,0x70,0x6c,0x69,0x74])](_0xea954c([0x2e]));return _0x12f835[_0xea954c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x25def9=>_0x25def9[_0xea954c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xea954c([0x2a])))[_0xea954c([0x6d,0x61,0x70])](_0x551809=>_0x551809[_0xea954c([0x73,0x70,0x6c,0x69,0x74])](_0xea954c([0x2e])))[_0xea954c([0x73,0x6f,0x6d,0x65])](_0x3c9939=>_0x1248d1[_0xea954c([0x65,0x76,0x65,0x72,0x79])]((_0x15eed1,_0x3e0854)=>_0x3c9939[_0x3e0854]===_0x15eed1||_0x3c9939[_0x3e0854]===_0xea954c([0x2a])));}function _0x39e9bd(){return _0x1413f5&&_0x575ad7?new window[(_0xea954c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x13970d,_0x2ba8ff)=>{_0x1413f5[_0xea954c([0x74,0x68,0x65,0x6e])](_0x13970d,_0x2ba8ff),_0x575ad7[_0xea954c([0x74,0x68,0x65,0x6e])](_0x1307ca=>{_0x1307ca!=_0xea954c([0x56,0x61,0x6c,0x69,0x64])&&_0x13970d(_0x1307ca);},_0x2ba8ff);}):_0x1413f5||_0x575ad7||_0xea954c([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5a1df2(_0x318426,_0x2d4ad9){return new window[(_0xea954c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x13cf7e=>{if(_0xf4e926())return _0x13cf7e(_0xea954c([0x56,0x61,0x6c,0x69,0x64]));_0x4e8d8d(),_0x3a5c5a[_0xea954c([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xea954c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x313933=!0x1;const _0x1607da=_0x3f4f09();function _0x5d0307(_0x4ce1c1){return!!_0x4ce1c1&&(typeof _0x4ce1c1===_0xea954c([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4ce1c1===_0xea954c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4ce1c1[_0xea954c([0x74,0x68,0x65,0x6e])]===_0xea954c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4ce1c1[_0xea954c([0x63,0x61,0x74,0x63,0x68])]===_0xea954c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x31f2d9(_0x115e9a){_0x12b549(_0x115e9a)[_0xea954c([0x74,0x68,0x65,0x6e])](_0x37f3e7=>{if(!_0x37f3e7||_0x37f3e7[_0xea954c([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xea954c([0x6f,0x6b]))return _0xea954c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x56af89(_0x39221f(_0x1607da+_0x2d4ad9))!=_0x37f3e7[_0xea954c([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xea954c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xea954c([0x56,0x61,0x6c,0x69,0x64]);})[_0xea954c([0x74,0x68,0x65,0x6e])](_0x5b68fc=>(_0x45322b(),_0x5b68fc),()=>{const _0x35331a=_0x3184bd();return null==_0x35331a?(_0x45322b(),_0xea954c([0x56,0x61,0x6c,0x69,0x64])):_0xea954c(_0x3b0c3f-_0x35331a>(0x17839da4^_0x287e72)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xea954c([0x74,0x68,0x65,0x6e])](_0x13cf7e)[_0xea954c([0x63,0x61,0x74,0x63,0x68])](()=>{_0x13cf7e(_0xea954c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3e3911=0x33b9f724^_0x287e72;function _0x45322b(){const _0x46c8b2=_0xea954c([0x6c,0x6c,0x63,0x74,0x2d])+_0x56af89(_0x39221f(_0x318426)),_0x2695cf=_0x6ea498(_0x56af89(window[_0xea954c([0x4d,0x61,0x74,0x68])][_0xea954c([0x63,0x65,0x69,0x6c])](_0x3b0c3f/_0x3e3911)));window[_0xea954c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xea954c([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x46c8b2,_0x2695cf);}function _0x3184bd(){const _0x5cd86e=_0xea954c([0x6c,0x6c,0x63,0x74,0x2d])+_0x56af89(_0x39221f(_0x318426)),_0x48a399=window[_0xea954c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xea954c([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5cd86e);return _0x48a399?window[_0xea954c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x6ea498(_0x48a399),0x10)*_0x3e3911:null;}function _0x12b549(_0x14dbd6){return new window[(_0xea954c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2b93d9,_0x2ee69a)=>{_0x14dbd6[_0xea954c([0x74,0x68,0x65,0x6e])](_0x2b93d9,_0x2ee69a),window[_0xea954c([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2ee69a,0x338ecd64^_0x287e72);});}}_0x3a5c5a[_0xea954c([0x6f,0x6e])](_0xea954c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2a1731,_0x984b8c)=>{if(_0x984b8c[0x0]!=_0x318426)return _0x13cf7e(_0xea954c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x984b8c[0x1]={..._0x984b8c[0x1],[_0xea954c([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1607da};},{[_0xea954c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xea954c([0x68,0x69,0x67,0x68])}),_0x3a5c5a[_0xea954c([0x6f,0x6e])](_0xea954c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x472857=>{_0x5d0307(_0x472857[_0xea954c([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x313933=!0x0,_0x31f2d9(_0x472857[_0xea954c([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xea954c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xea954c([0x6c,0x6f,0x77])}),_0x262fff[_0xea954c([0x74,0x68,0x65,0x6e])](()=>{_0x313933||_0x13cf7e(_0xea954c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xf4e926(){return _0x3a5c5a[_0xea954c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xea954c([0x76,0x69,0x65,0x77])][_0xea954c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xea954c([0x61,0x75,0x74,0x6f]);}function _0x4e8d8d(){_0x3a5c5a[_0xea954c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xea954c([0x76,0x69,0x65,0x77])][_0xea954c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xea954c([0x61,0x75,0x74,0x6f]);}}function _0x23973d(_0x3b112c){const _0x5b12cf=[new window[(_0xea954c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xbd5b8c=>setTimeout(_0xbd5b8c,0x33862768^_0x287e72)),_0x262fff[_0xea954c([0x74,0x68,0x65,0x6e])](()=>new window[(_0xea954c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x226321=>{let _0x4480ea=0x0;_0x3a5c5a[_0xea954c([0x6d,0x6f,0x64,0x65,0x6c])][_0xea954c([0x6f,0x6e])](_0xea954c([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x43e73b,_0x113e2a)=>{_0x113e2a[0x0][_0xea954c([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4480ea++,_0x4480ea==(0x338f185c^_0x287e72)&&(_0x226321(),_0x43e73b[_0xea954c([0x6f,0x66,0x66])]());});}))];return window[_0xea954c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xea954c([0x72,0x61,0x63,0x65])](_0x5b12cf)[_0xea954c([0x74,0x68,0x65,0x6e])](()=>_0x3b112c);}async function _0x3fd4f1(){await _0x262fff,_0x3a5c5a[_0xea954c([0x6d,0x6f,0x64,0x65,0x6c])][_0xea954c([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x855334,_0x3a5c5a[_0xea954c([0x6d,0x6f,0x64,0x65,0x6c])][_0xea954c([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x855334,_0x3a5c5a[_0xea954c([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xea954c([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x41ea37(_0x14f26d){const _0x1bdabf=_0x3d672f();_0x3a5c5a[_0x1bdabf]=_0xea954c([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])+_0x14f26d,_0x14f26d!=_0xea954c([0x56,0x61,0x6c,0x69,0x64])&&_0x3fd4f1();}function _0x3d672f(){const _0x5f3c0d=window[_0xea954c([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xea954c([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xea954c([0x6e,0x6f,0x77])]())[_0xea954c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xea954c([0x2e]),'');let _0x1022ef=_0xea954c([0x69]);for(let _0x7e0f46=0x0;_0x7e0f46<_0x5f3c0d[_0xea954c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x7e0f46+=0x2){let _0xe6eb45=window[_0xea954c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5f3c0d[_0xea954c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x7e0f46,_0x7e0f46+0x2));_0xe6eb45>=_0x2ccfa8[_0xea954c([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xe6eb45-=_0x2ccfa8[_0xea954c([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1022ef+=_0x2ccfa8[_0xe6eb45];}return _0x1022ef;}function _0x364c4f(){const _0x2bc13f=_0x234277[_0xea954c([0x73,0x70,0x6c,0x69,0x74])](_0xea954c([0x2e]));if(0x3!=_0x2bc13f[_0xea954c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x15a804(_0x2bc13f[0x1]);function _0x15a804(_0xbfa1f4){const _0x13fa6c=_0x12e774(_0xbfa1f4);return _0x13fa6c&&_0x515bc2()?_0x13fa6c:null;function _0x515bc2(){const _0xb18193=_0x13fa6c[_0xea954c([0x6a,0x74,0x69])],_0x3f48fa=window[_0xea954c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xb18193[_0xea954c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xb18193[_0xea954c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x25ea4a={..._0x13fa6c,[_0xea954c([0x6a,0x74,0x69])]:_0xb18193[_0xea954c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xb18193[_0xea954c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x25ea4a[_0xea954c([0x76,0x63])],_0x39221f(_0x25ea4a)==_0x3f48fa;}}}async function _0x30a751(){let _0x5eac66=!0x0;try{const _0x7bbae8=_0x234277[_0xea954c([0x73,0x70,0x6c,0x69,0x74])](_0xea954c([0x2e])),[_0x5e0c81,_0x244394,_0x379e3f]=_0x7bbae8;return _0x7d47ea(_0x5e0c81),await _0x1d553d(_0x5e0c81,_0x244394,_0x379e3f),_0x5eac66;}catch(_0x1f454f){return!0x1;}function _0x7d47ea(_0x1c9b53){const _0x77da5f=_0x12e774(_0x1c9b53);_0x77da5f&&_0x77da5f[_0xea954c([0x61,0x6c,0x67])]==_0xea954c([0x45,0x53,0x32,0x35,0x36])||(_0x5eac66=!0x1);}async function _0x1d553d(_0x48930a,_0x559157,_0x515fc0){const _0x2e7617=window[_0xea954c([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xea954c([0x66,0x72,0x6f,0x6d])](_0x185eaa(_0x515fc0),_0x3b8bdd=>_0x3b8bdd[_0xea954c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x26de2c=new window[(_0xea954c([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xea954c([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x48930a+_0xea954c([0x2e])+_0x559157),_0x2d667d=window[_0xea954c([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xea954c([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2d667d)return;const _0x39ccd6=await _0x2d667d[_0xea954c([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xea954c([0x6a,0x77,0x6b]),_0x692d57,{[_0xea954c([0x6e,0x61,0x6d,0x65])]:_0xea954c([0x45,0x43,0x44,0x53,0x41]),[_0xea954c([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xea954c([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xea954c([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2d667d[_0xea954c([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xea954c([0x6e,0x61,0x6d,0x65])]:_0xea954c([0x45,0x43,0x44,0x53,0x41]),[_0xea954c([0x68,0x61,0x73,0x68])]:{[_0xea954c([0x6e,0x61,0x6d,0x65])]:_0xea954c([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x39ccd6,_0x2e7617,_0x26de2c)||(_0x5eac66=!0x1);}}function _0x12e774(_0x436e66){return _0x436e66[_0xea954c([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xea954c([0x65,0x79]))?JSON[_0xea954c([0x70,0x61,0x72,0x73,0x65])](_0x185eaa(_0x436e66)):null;}function _0x185eaa(_0x59d0e1){return window[_0xea954c([0x61,0x74,0x6f,0x62])](_0x59d0e1[_0xea954c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xea954c([0x2b]))[_0xea954c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xea954c([0x2f])));}function _0x39221f(_0x26d843){let _0x92c58e=0x1505;function _0x39a559(_0x55295b){for(let _0x59d679=0x0;_0x59d679<_0x55295b[_0xea954c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x59d679++){const _0x35b157=_0x55295b[_0xea954c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x59d679);_0x92c58e=(_0x92c58e<<0x5)+_0x92c58e+_0x35b157,_0x92c58e&=_0x92c58e;}}function _0x14b6fe(_0x14f381){Array[_0xea954c([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x14f381)?_0x14f381[_0xea954c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x14b6fe):_0x14f381&&typeof _0x14f381==_0xea954c([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xea954c([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x14f381)[_0xea954c([0x73,0x6f,0x72,0x74])]()[_0xea954c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x30ccdd,_0x4e7410])=>{_0x39a559(_0x30ccdd),_0x14b6fe(_0x4e7410);}):_0x39a559(window[_0xea954c([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x14f381));}return _0x14b6fe(_0x26d843),_0x92c58e>>>0x0;}function _0x56af89(_0x398df0){return _0x398df0[_0xea954c([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xea954c([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xea954c([0x30]));}function _0x6ea498(_0x3a3a0f){return _0x3a3a0f[_0xea954c([0x73,0x70,0x6c,0x69,0x74])]('')[_0xea954c([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xea954c([0x6a,0x6f,0x69,0x6e])]('');}function _0x855334(){}function _0xea954c(_0x503322){const _0x33492c=_0x586f;return _0x503322[_0x33492c(0x22c)](_0x5a3bc0=>String[_0x33492c(0x22d)](_0x5a3bc0))[_0x33492c(0x20e)]('');}_0x41ea37(await _0x42b83c());}(this);}[_0x139ee8(0x1f7)](_0x365131,_0x2b1d9a,_0x33d93c=!0x1){const _0x3a72c0=_0x139ee8,_0x219b3d=new _0x365131(this[_0x3a72c0(0x1e8)][_0x3a72c0(0x208)]);return _0x219b3d[_0x3a72c0(0x1ff)]({'withText':_0x33d93c,'isToggleable':!0x1}),_0x219b3d[_0x3a72c0(0x20b)](_0x3a72c0(0x205))['to'](_0x2b1d9a,_0x3a72c0(0x205)),this[_0x3a72c0(0x229)](_0x219b3d,_0x3a72c0(0x1f4),()=>_0x2b1d9a[_0x3a72c0(0x1f4)]()),_0x219b3d;}[_0x139ee8(0x213)](){const _0x5a8c5d=_0x139ee8,_0x30577f=this[_0x5a8c5d(0x1e8)][_0x5a8c5d(0x208)];this[_0x5a8c5d(0x1e8)][_0x5a8c5d(0x22f)][_0x5a8c5d(0x1dd)]({'id':_0x5a8c5d(0x20d),'label':_0x19d050(_0x30577f,_0x5a8c5d(0x206))});const _0x1a5ef7=_0x4cc5b7[_0x5a8c5d(0x218)]||_0x4cc5b7[_0x5a8c5d(0x20c)];this[_0x5a8c5d(0x1e8)][_0x5a8c5d(0x22f)][_0x5a8c5d(0x1e1)]({'categoryId':_0x5a8c5d(0x20d),'keystrokes':[{'label':_0x19d050(_0x30577f,_0x5a8c5d(0x1fe)),'keystroke':_0x5a8c5d(0x215)},{'label':_0x19d050(_0x30577f,_0x5a8c5d(0x20f)),'keystroke':_0x5a8c5d(0x1f1)},{'label':_0x19d050(_0x30577f,_0x5a8c5d(0x230)),'keystroke':_0x5a8c5d(0x202)},{'label':_0x19d050(_0x30577f,_0x5a8c5d(0x21e)),'keystroke':_0x5a8c5d(0x207)},{'label':_0x19d050(_0x30577f,_0x5a8c5d(0x1e6)),'keystroke':_0x5a8c5d(0x201)},{'label':_0x19d050(_0x30577f,_0x5a8c5d(0x22b)),'keystroke':_0x5a8c5d(0x1f9)},{'label':_0x19d050(_0x30577f,_0x5a8c5d(0x1e2)),'keystroke':_0x1a5ef7?_0x5a8c5d(0x1ec):_0x5a8c5d(0x1e9)},{'label':_0x19d050(_0x30577f,_0x5a8c5d(0x22e)),'keystroke':_0x5a8c5d(0x228)},{'label':_0x19d050(_0x30577f,_0x5a8c5d(0x203)),'keystroke':_0x5a8c5d(0x210)},{'label':_0x19d050(_0x30577f,_0x5a8c5d(0x1df)),'keystroke':[[_0x5a8c5d(0x1f6)],[_0x5a8c5d(0x226)]]},{'label':_0x19d050(_0x30577f,_0x5a8c5d(0x1eb)),'keystroke':_0x1a5ef7?_0x5a8c5d(0x1f0):_0x5a8c5d(0x21b)},{'label':_0x19d050(_0x30577f,_0x5a8c5d(0x231)),'keystroke':_0x1a5ef7?_0x5a8c5d(0x1e5):_0x5a8c5d(0x224)},{'label':_0x19d050(_0x30577f,_0x5a8c5d(0x227)),'keystroke':_0x5a8c5d(0x21d)},{'label':_0x19d050(_0x30577f,_0x5a8c5d(0x1f3)),'keystroke':_0x5a8c5d(0x222)},{'label':_0x19d050(_0x30577f,_0x5a8c5d(0x1ea)),'keystroke':_0x5a8c5d(0x21c)},{'label':_0x19d050(_0x30577f,_0x5a8c5d(0x1fd)),'keystroke':_0x5a8c5d(0x20a)},{'label':_0x19d050(_0x30577f,_0x5a8c5d(0x1e7)),'keystroke':_0x1a5ef7?_0x5a8c5d(0x223):_0x5a8c5d(0x211)}]});}}
|
package/src/ui/codeeditorview.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0xbef0(_0xe6d4a5,_0x5172b6){var _0xd0df4b=_0xd0df();return _0xbef0=function(_0xbef084,_0xce5ef){_0xbef084=_0xbef084-0x116;var _0x311897=_0xd0df4b[_0xbef084];return _0x311897;},_0xbef0(_0xe6d4a5,_0x5172b6);}function _0xd0df(){var _0x4109bd=['destroy','setReadOnly','_options','setData','focus','theme','4581872cHAQrY','syntaxLanguage','ck-reset_all-excluded','setTemplate','348104DreNZL','isReadOnly','ck-code-editor','4237968IMgPuY','div','10373528Ktuzhy','element','set','change:isReadOnly','30AsjpDG','_codeEditorApi','render','getData','2093455spMiNt','1284494CsROpc','8132200BdIGHt'];_0xd0df=function(){return _0x4109bd;};return _0xd0df();}var _0x5c48ef=_0xbef0;(function(_0x25d858,_0x38bb08){var _0x1a7e16=_0xbef0,_0x508e3e=_0x25d858();while(!![]){try{var _0x5895ed=-parseInt(_0x1a7e16(0x118))/0x1+-parseInt(_0x1a7e16(0x126))/0x2+-parseInt(_0x1a7e16(0x11b))/0x3+-parseInt(_0x1a7e16(0x12e))/0x4+parseInt(_0x1a7e16(0x127))/0x5+-parseInt(_0x1a7e16(0x121))/0x6*(-parseInt(_0x1a7e16(0x125))/0x7)+parseInt(_0x1a7e16(0x11d))/0x8;if(_0x5895ed===_0x38bb08)break;else _0x508e3e['push'](_0x508e3e['shift']());}catch(_0x4595aa){_0x508e3e['push'](_0x508e3e['shift']());}}}(_0xd0df,0xd465d));import{View as _0x2c9e13}from'ckeditor5/src/ui.js';import _0x440767 from'../utils/createcodemirroreditor.js';export default class m extends _0x2c9e13{[_0x5c48ef(0x122)]=null;[_0x5c48ef(0x12a)];constructor(_0x2a79b7,_0x253c33){var _0x28731c=_0x5c48ef;super(_0x2a79b7),this[_0x28731c(0x12a)]=_0x253c33,this[_0x28731c(0x11f)](_0x28731c(0x119),!0x1),this[_0x28731c(0x117)]({'tag':_0x28731c(0x11c),'attributes':{'class':['ck',_0x28731c(0x116),_0x28731c(0x11a)],'tabindex':-0x1}});}[_0x5c48ef(0x123)](){var _0x594ca4=_0x5c48ef;super[_0x594ca4(0x123)](),this[_0x594ca4(0x122)]=_0x440767({'parent':this[_0x594ca4(0x11e)],'syntaxLanguage':this[_0x594ca4(0x12a)][_0x594ca4(0x12f)],'theme':this[_0x594ca4(0x12a)][_0x594ca4(0x12d)]}),this['on'](_0x594ca4(0x120),(_0xa1c227,_0x57f30b,_0x3c414f)=>{var _0x40fd68=_0x594ca4;this[_0x40fd68(0x129)](_0x3c414f);});}[_0x5c48ef(0x128)](){var _0x243651=_0x5c48ef;super[_0x243651(0x128)](),this[_0x243651(0x122)][_0x243651(0x128)](),this[_0x243651(0x122)]=null;}[_0x5c48ef(0x12c)](){var _0x161007=_0x5c48ef;this[_0x161007(0x119)]?this[_0x161007(0x11e)][_0x161007(0x12c)]():this[_0x161007(0x122)][_0x161007(0x12c)]();}[_0x5c48ef(0x124)](){var _0x21f312=_0x5c48ef;return this[_0x21f312(0x122)][_0x21f312(0x124)]();}[_0x5c48ef(0x12b)](_0x4f481c){var _0x38c161=_0x5c48ef;this[_0x38c161(0x122)][_0x38c161(0x12b)](_0x4f481c);}[_0x5c48ef(0x129)](_0x2241aa){var _0x1b062d=_0x5c48ef;this[_0x1b062d(0x122)][_0x1b062d(0x129)](_0x2241aa);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x357882=_0x53df;(function(_0x260080,_0x56d513){const _0x2c3845=_0x53df,_0x4c4274=_0x260080();while(!![]){try{const _0x21ac13=parseInt(_0x2c3845(0xe3))/0x1*(-parseInt(_0x2c3845(0x104))/0x2)+-parseInt(_0x2c3845(0xd9))/0x3+-parseInt(_0x2c3845(0xf1))/0x4*(-parseInt(_0x2c3845(0xf7))/0x5)+-parseInt(_0x2c3845(0xf4))/0x6+-parseInt(_0x2c3845(0xe1))/0x7*(parseInt(_0x2c3845(0xfb))/0x8)+-parseInt(_0x2c3845(0xe6))/0x9+parseInt(_0x2c3845(0xe7))/0xa;if(_0x21ac13===_0x56d513)break;else _0x4c4274['push'](_0x4c4274['shift']());}catch(_0xffd706){_0x4c4274['push'](_0x4c4274['shift']());}}}(_0x3d52,0xf27a8));import{Command as _0x1e5a59,PendingActions as _0x5d30d8}from'ckeditor5/src/core.js';import{getTranslation as _0x1115b2}from'../utils/common-translations.js';import{getActiveRootName as _0x1233cc}from'../utils/getactiverootname.js';import{formatSource as _0x3ffd8b,unformatSource as _0x2ca293}from'../utils/format.js';import _0x437b9f from'./codeeditorview.js';function _0x3d52(){const _0x731bdb=['Dialog','editor','confirm','ck-source-editing-enhanced-dialog','plugins','html','sourceEditingEnhanced','260Azulmh','execute','get','pendingActions','hide','isEnabled','affectsData','set','data','Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.','off','5242320oerxKW','ck-button-action','markdown','setData','focus','config','show','isReadOnly','2644516ASBdGl','bind','12982iPaYBd','element','clearForceDisabled','9514854PitDpF','63052400qQGfjQ','change:hasAny','Save','refresh','getData','highest','replaceSource','has','locale','Edit\x20source\x20modal\x20label','8XnFDkt','editables','Markdown','1699152nzNKMw','Cancel','sourceEditingEnhanced.theme','547565XebexR','stop','forceDisabled','view','16kmoQWR','destroy'];_0x3d52=function(){return _0x731bdb;};return _0x3d52();}function _0x53df(_0x5928e9,_0x3b567c){const _0x3d523a=_0x3d52();return _0x53df=function(_0x53df23,_0x19a246){_0x53df23=_0x53df23-0xd5;let _0x4f4de8=_0x3d523a[_0x53df23];return _0x4f4de8;},_0x53df(_0x5928e9,_0x3b567c);}export default class d extends _0x1e5a59{constructor(_0x354403){const _0x53efe6=_0x53df;super(_0x354403),this[_0x53efe6(0x10a)]=!0x1,this[_0x53efe6(0xfe)][_0x53efe6(0x101)][_0x53efe6(0x106)](_0x5d30d8)['on'](_0x53efe6(0xe8),(_0x3422d2,_0x2b05b1,_0x3bd6c3)=>{const _0x233bbe=_0x53efe6;_0x3bd6c3?this[_0x233bbe(0xf9)](_0x233bbe(0x107)):this[_0x233bbe(0xe5)](_0x233bbe(0x107));});}[_0x357882(0xea)](){const _0x1dc4d6=_0x357882;this[_0x1dc4d6(0x109)]=!0x0;}[_0x357882(0x105)](){const _0x49c91a=_0x357882,_0x2e4124=this[_0x49c91a(0xfe)],_0x404591=_0x2e4124[_0x49c91a(0xef)],_0x2428e9=_0x2e4124[_0x49c91a(0x101)][_0x49c91a(0x106)](_0x49c91a(0xfd)),_0x5e4861=_0x1233cc(_0x2e4124),_0x522ee6=_0x2e4124[_0x49c91a(0xd6)][_0x49c91a(0x106)]({'rootName':_0x5e4861}),_0x4dc2da=_0x3ffd8b(_0x522ee6),_0x2e8244=new _0x437b9f(_0x404591,{'syntaxLanguage':_0x2e4124[_0x49c91a(0x101)][_0x49c91a(0xee)](_0x49c91a(0xf3))?_0x49c91a(0xdb):_0x49c91a(0x102),'theme':_0x2e4124[_0x49c91a(0xde)][_0x49c91a(0x106)](_0x49c91a(0xf6))});let _0x4b29ec=!0x0;const _0x279b98=_0x2f48c=>{const _0x5150c9=_0x49c91a;if(!_0x4b29ec)return;const _0x182c86=_0x2e8244[_0x5150c9(0xeb)]();return _0x2ca293(_0x182c86)!==_0x2ca293(_0x4dc2da)?window[_0x5150c9(0xff)](_0x1115b2(_0x404591,_0x5150c9(0xd7)))?void 0x0:_0x2f48c[_0x5150c9(0xf8)]():void 0x0;};_0x2428e9[_0x49c91a(0xdf)]({'id':_0x49c91a(0x103),'title':_0x1115b2(_0x404591,_0x49c91a(0xf0)),'isModal':!0x0,'className':_0x49c91a(0x100),'content':_0x2e8244,'actionButtons':[{'label':_0x1115b2(_0x404591,_0x49c91a(0xf5)),'withText':!0x0,'onExecute':()=>{const _0x104a23=_0x49c91a;_0x2428e9[_0x104a23(0x108)]();}},{'label':_0x1115b2(_0x404591,_0x49c91a(0xe9)),'class':_0x49c91a(0xda),'withText':!0x0,'onExecute':()=>{const _0x5cca35=_0x49c91a,_0x2f60d9=_0x2e8244[_0x5cca35(0xeb)](),_0x2bfddc=_0x2ca293(_0x2f60d9)!==_0x2ca293(_0x4dc2da);(_0x2bfddc&&_0x2e4124[_0x5cca35(0x105)](_0x5cca35(0xed),_0x2e8244[_0x5cca35(0xeb)]()),_0x4b29ec=!0x1,_0x2428e9[_0x5cca35(0x108)](),_0x2bfddc&&_0x5cca35(0xf2)in _0x2e4124['ui'][_0x5cca35(0xfa)])&&_0x2e4124['ui'][_0x5cca35(0xfa)][_0x5cca35(0xf2)][_0x5e4861][_0x5cca35(0xe4)][_0x5cca35(0xdd)]();},'onCreate':_0xe5a010=>{const _0x5aa2d9=_0x49c91a;_0xe5a010[_0x5aa2d9(0xd5)](_0x5aa2d9(0x109),!_0x2e4124[_0x5aa2d9(0xe0)]),_0xe5a010[_0x5aa2d9(0xe2)](_0x5aa2d9(0x109))['to'](_0x2e4124,_0x5aa2d9(0xe0),this,_0x5aa2d9(0x109),(_0x23e411,_0x3f9b2b)=>!_0x23e411&&_0x3f9b2b);}}],'onHide':()=>{const _0x51df36=_0x49c91a;_0x2428e9[_0x51df36(0xd8)](_0x51df36(0x108),_0x279b98),_0x2e8244[_0x51df36(0xfc)]();},'onShow':()=>{const _0x5425a3=_0x49c91a;_0x2e8244[_0x5425a3(0xe2)](_0x5425a3(0xe0))['to'](_0x2e4124,_0x5425a3(0xe0),this,_0x5425a3(0x109),(_0x48689e,_0x491902)=>_0x48689e||!_0x491902),_0x2e8244[_0x5425a3(0xdc)](_0x4dc2da),_0x2e8244[_0x5425a3(0xdd)](),_0x2428e9['on'](_0x5425a3(0x108),_0x279b98,{'priority':_0x5425a3(0xec)});}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x762637,_0x2ac727){const _0x45119e=_0xf77f,_0x450030=_0x762637();while(!![]){try{const _0xa85053=parseInt(_0x45119e(0xb1))/0x1*(-parseInt(_0x45119e(0xca))/0x2)+parseInt(_0x45119e(0xc7))/0x3*(-parseInt(_0x45119e(0xc4))/0x4)+-parseInt(_0x45119e(0xc9))/0x5+-parseInt(_0x45119e(0xcd))/0x6+parseInt(_0x45119e(0xcf))/0x7+-parseInt(_0x45119e(0xbc))/0x8+parseInt(_0x45119e(0xbd))/0x9;if(_0xa85053===_0x2ac727)break;else _0x450030['push'](_0x450030['shift']());}catch(_0x3cca35){_0x450030['push'](_0x450030['shift']());}}}(_0x484e,0x455c3));function _0xf77f(_0x348042,_0x2d27f2){const _0x484e7a=_0x484e();return _0xf77f=function(_0xf77fcd,_0x4b6bc1){_0xf77fcd=_0xf77fcd-0xb1;let _0x105fb8=_0x484e7a[_0xf77fcd];return _0x105fb8;},_0xf77f(_0x348042,_0x2d27f2);}import{lineNumbers as _0x1725fa,highlightActiveLineGutter as _0x4eef51,highlightSpecialChars as _0x554101,drawSelection as _0x51c3ac,dropCursor as _0x1db564,rectangularSelection as _0x5202c7,crosshairCursor as _0x263b49,highlightActiveLine as _0x3d2179,keymap as _0x454ae0,EditorView as _0x47460d}from'@codemirror/view';import{Compartment as _0xf587e1,Transaction as _0x4c56c6}from'@codemirror/state';import{foldGutter as _0x3a2de2,indentOnInput as _0x42b79f,syntaxHighlighting as _0x47cd9d,defaultHighlightStyle as _0x35e085,bracketMatching as _0x238f28,foldKeymap as _0x448943}from'@codemirror/language';import{history as _0x4e767f,defaultKeymap as _0x1b4d79,historyKeymap as _0x31f971,redo as _0x5436f5,undo as _0x311316,indentMore as _0x2b0df0,indentLess as _0x3a9f3e,toggleTabFocusMode as _0x11df3d}from'@codemirror/commands';import{closeBrackets as _0x1604e9,autocompletion as _0x54a7f6,closeBracketsKeymap as _0x42e331,completionKeymap as _0x1d3a6c}from'@codemirror/autocomplete';function _0x484e(){const _0x35992e=['html','destroy','4NDzndM','Ctrl-z','toString','550239yoeZOi','Cmd-y','491320pNtvPp','1196paABol','length','addToHistory','2592306NMUJAA','syntaxLanguage','3124079DWNsUQ','Ctrl-Shift-z','353PrdSLg','focus','Cmd-z','Ctrl-y','Tab','push','doc','state','lineWrapping','theme','editable','1055152VWCPPX','8050662IiTpno','parent','dispatch','Cmd-Shift-z','reconfigure'];_0x484e=function(){return _0x35992e;};return _0x484e();}import{html as _0x4f6d1c}from'@codemirror/lang-html';import{markdown as _0x23c1a0}from'@codemirror/lang-markdown';export default function p(_0x5812bd){const _0x3ececc=_0xf77f,_0x3844a0=[_0x47460d[_0x3ececc(0xb9)],_0x54a7f6(),_0x238f28(),_0x1604e9(),_0x263b49(),_0x51c3ac(),_0x1db564(),_0x1725fa(),_0x3a2de2(),_0x3d2179(),_0x4eef51(),_0x554101(),_0x4e767f(),_0x42b79f(),_0x5202c7(),_0x47cd9d(_0x35e085,{'fallback':!0x0})],_0x54db8f=new _0xf587e1();_0x3844a0[_0x3ececc(0xb6)](_0x54db8f['of'](_0x47460d[_0x3ececc(0xbb)]['of'](!0x0))),_0x3ececc(0xc2)===_0x5812bd[_0x3ececc(0xce)]?_0x3844a0[_0x3ececc(0xb6)](_0x4f6d1c()):_0x3844a0[_0x3ececc(0xb6)](_0x23c1a0()),_0x5812bd[_0x3ececc(0xba)]&&_0x3844a0[_0x3ececc(0xb6)](_0x5812bd[_0x3ececc(0xba)]),_0x3844a0[_0x3ececc(0xb6)](...getKeybindings());const _0x2194b0=new _0x47460d({'extensions':_0x3844a0,'parent':_0x5812bd[_0x3ececc(0xbe)]});return _0x11df3d(_0x2194b0),{'focus':()=>{const _0x5cf63a=_0x3ececc;_0x2194b0[_0x5cf63a(0xbf)]({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x2194b0[_0x5cf63a(0xb2)]();},'getData':()=>_0x2194b0[_0x3ececc(0xb8)][_0x3ececc(0xb7)][_0x3ececc(0xc6)](),'setData':_0x1a6840=>{const _0x3da2e4=_0x3ececc;_0x2194b0[_0x3da2e4(0xbf)]({'changes':{'from':0x0,'to':_0x2194b0[_0x3da2e4(0xb8)][_0x3da2e4(0xb7)][_0x3da2e4(0xcb)],'insert':_0x1a6840},'annotations':_0x4c56c6[_0x3da2e4(0xcc)]['of'](!0x1)});},'setReadOnly':_0x447942=>{const _0x4900f0=_0x3ececc;_0x2194b0[_0x4900f0(0xbf)]({'effects':[_0x54db8f[_0x4900f0(0xc1)](_0x47460d[_0x4900f0(0xbb)]['of'](!_0x447942))]});},'destroy':()=>{const _0x18465b=_0x3ececc;_0x2194b0[_0x18465b(0xc3)]();},'instance':_0x2194b0};}export function getKeybindings(){const _0x3d15d7=_0xf77f;return[_0x454ae0['of']([..._0x42e331,..._0x1b4d79,..._0x31f971,..._0x448943,..._0x1d3a6c,{'key':_0x3d15d7(0xb5),'run':_0x2b0df0,'shift':_0x3a9f3e,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':_0x3d15d7(0xb4),'mac':_0x3d15d7(0xc8),'run':_0x5436f5,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':_0x3d15d7(0xd0),'mac':_0x3d15d7(0xc0),'run':_0x5436f5,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':_0x3d15d7(0xc5),'mac':_0x3d15d7(0xb3),'run':_0x311316,'preventDefault':!0x0,'stopPropagation':!0x0}])];}
|
package/src/utils/format.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4e4711=_0x57fb;function _0x57fb(_0x2adfcc,_0x25a100){const _0x17078a=_0x1707();return _0x57fb=function(_0x57fba6,_0x3d737c){_0x57fba6=_0x57fba6-0x9c;let _0x539a2e=_0x17078a[_0x57fba6];return _0x539a2e;},_0x57fb(_0x2adfcc,_0x25a100);}function _0x1707(){const _0x46254d=['split','article','tbody','isVoid','</pre>','4380500UvfNul','div','repeat','length','\x0a$&\x0a','form','figcaption','last','max','(\x20.*?)?>','633078BICdxG','10WOgmFO','section','\x20\x20\x20\x20',')(\x20.*?)?>','5cWFbZm','71307907pRdSLr','16787538MquVID','replace','hgroup','figure','</?(','fieldset','footer','header','680HONAoq','dialog','7001838BnUWuJ','filter','details','name','middle','2566404FitOEl','blockquote','address','aside','nav','<pre(\x20.*?)?>','startsWith','some','first','test','thead','$&\x0a','join','map','table','main','100429jTHHge','4QcbEQh'];_0x1707=function(){return _0x46254d;};return _0x1707();}(function(_0x43450e,_0x269fd9){const _0x46804e=_0x57fb,_0x224d60=_0x43450e();while(!![]){try{const _0x132b3e=-parseInt(_0x46804e(0xaa))/0x1*(-parseInt(_0x46804e(0xd1))/0x2)+parseInt(_0x46804e(0xc0))/0x3+parseInt(_0x46804e(0xa0))/0x4+parseInt(_0x46804e(0xaf))/0x5*(parseInt(_0x46804e(0xbb))/0x6)+parseInt(_0x46804e(0xd0))/0x7*(parseInt(_0x46804e(0xb9))/0x8)+parseInt(_0x46804e(0xb1))/0x9+-parseInt(_0x46804e(0xab))/0xa*(parseInt(_0x46804e(0xb0))/0xb);if(_0x132b3e===_0x269fd9)break;else _0x224d60['push'](_0x224d60['shift']());}catch(_0x58f0de){_0x224d60['push'](_0x224d60['shift']());}}}(_0x1707,0xf0b6a));export function formatSource(_0x355dd1){return _(_0x355dd1)?formatHtml(_0x355dd1):_0x355dd1;}export function unformatSource(_0x637a54){const _0x528368=_0x57fb;return _(_0x637a54[_0x528368(0xb2)](/^[\n\s]*/g,''))?_0x637a54[_0x528368(0xb2)](/\s+/g,''):_0x637a54;}export function formatHtml(_0x5337ad){const _0x25400b=_0x57fb,_0x3269cb=[{'name':_0x25400b(0xc2),'isVoid':!0x1},{'name':_0x25400b(0x9c),'isVoid':!0x1},{'name':_0x25400b(0xc3),'isVoid':!0x1},{'name':_0x25400b(0xc1),'isVoid':!0x1},{'name':_0x25400b(0xbd),'isVoid':!0x1},{'name':_0x25400b(0xba),'isVoid':!0x1},{'name':'dd','isVoid':!0x1},{'name':_0x25400b(0xa1),'isVoid':!0x1},{'name':'dl','isVoid':!0x1},{'name':'dt','isVoid':!0x1},{'name':_0x25400b(0xb6),'isVoid':!0x1},{'name':_0x25400b(0xa6),'isVoid':!0x1},{'name':_0x25400b(0xb4),'isVoid':!0x1},{'name':_0x25400b(0xb7),'isVoid':!0x1},{'name':_0x25400b(0xa5),'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':_0x25400b(0xb8),'isVoid':!0x1},{'name':_0x25400b(0xb3),'isVoid':!0x1},{'name':'hr','isVoid':!0x0},{'name':'li','isVoid':!0x1},{'name':_0x25400b(0xcf),'isVoid':!0x1},{'name':_0x25400b(0xc4),'isVoid':!0x1},{'name':'ol','isVoid':!0x1},{'name':'p','isVoid':!0x1},{'name':_0x25400b(0xac),'isVoid':!0x1},{'name':_0x25400b(0xce),'isVoid':!0x1},{'name':_0x25400b(0x9d),'isVoid':!0x1},{'name':'td','isVoid':!0x1},{'name':'th','isVoid':!0x1},{'name':_0x25400b(0xca),'isVoid':!0x1},{'name':'tr','isVoid':!0x1},{'name':'ul','isVoid':!0x1}],_0x2dd848=_0x3269cb[_0x25400b(0xcd)](_0x44081f=>_0x44081f[_0x25400b(0xbe)])[_0x25400b(0xcc)]('|'),_0x124b7d=_0x5337ad[_0x25400b(0xb2)](new RegExp(_0x25400b(0xb5)+_0x2dd848+_0x25400b(0xae),'g'),_0x25400b(0xa4))[_0x25400b(0xb2)](/<br[^>]*>/g,_0x25400b(0xcb))[_0x25400b(0xd2)]('\x0a');let _0x26f9c1=0x0,_0x344076=!0x1;return _0x124b7d[_0x25400b(0xbc)](_0x5e7d30=>_0x5e7d30[_0x25400b(0xa3)])[_0x25400b(0xcd)](_0x4fb25b=>(_0x344076=function(_0xbd2360,_0x4bf988){const _0x14103f=_0x25400b;return new RegExp(_0x14103f(0xc5))[_0x14103f(0xc9)](_0xbd2360)?_0x14103f(0xc8):new RegExp(_0x14103f(0x9f))[_0x14103f(0xc9)](_0xbd2360)?_0x14103f(0xa7):(_0x14103f(0xc8)===_0x4bf988||_0x14103f(0xbf)===_0x4bf988)&&_0x14103f(0xbf);}(_0x4fb25b,_0x344076),function(_0x34346e,_0x35a110){const _0x4ff577=_0x25400b;return _0x35a110[_0x4ff577(0xc7)](_0x137f7d=>!_0x137f7d[_0x4ff577(0x9e)]&&!!new RegExp('<'+_0x137f7d[_0x4ff577(0xbe)]+_0x4ff577(0xa9))[_0x4ff577(0xc9)](_0x34346e));}(_0x4fb25b,_0x3269cb)?ii(_0x4fb25b,_0x26f9c1++):function(_0x14203e,_0x2dd83e){const _0x4243c6=_0x25400b;return _0x2dd83e[_0x4243c6(0xc7)](_0x43b7ff=>new RegExp('</'+_0x43b7ff[_0x4243c6(0xbe)]+'>')[_0x4243c6(0xc9)](_0x14203e));}(_0x4fb25b,_0x3269cb)?ii(_0x4fb25b,--_0x26f9c1):_0x25400b(0xbf)===_0x344076||_0x25400b(0xa7)===_0x344076?_0x4fb25b:ii(_0x4fb25b,_0x26f9c1)))[_0x25400b(0xcc)]('\x0a');}function _(_0x53fad9){const _0x14fa0b=_0x57fb;return _0x53fad9[_0x14fa0b(0xc6)]('<');}function ii(_0xeebabc,_0x52d116,_0x238e2d=_0x4e4711(0xad)){const _0x55c148=_0x4e4711;return''+_0x238e2d[_0x55c148(0xa2)](Math[_0x55c148(0xa8)](0x0,_0x52d116))+_0xeebabc;}
|