@ckeditor/ckeditor5-source-editing-enhanced 0.0.0-nightly-20250210.0 → 0.0.0-nightly-next-20250211.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/source-editing-enhanced.js +1 -1
- package/ckeditor5-metadata.json +1 -1
- package/dist/index.js +1 -1
- package/package.json +7 -6
- package/src/index.js +1 -1
- package/src/replacesourcecommand.js +1 -1
- package/src/sourceeditingenhanced.js +1 -1
- package/src/sourceeditingenhancedui.js +1 -1
- package/src/ui/codeeditorview.js +1 -1
- package/src/ui/editsourcecommand.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/createcodemirroreditor.js +1 -1
- package/src/utils/format.js +1 -1
- package/src/utils/getactiverootname.js +1 -1
package/ckeditor5-metadata.json
CHANGED
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Command as _0x18d333,PendingActions as _0x5a6b80,Plugin as _0x38e5db,icons as _0xfd7bf7}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x132694,env as _0x57d95d,uid as _0xa8a5fe}from'@ckeditor/ckeditor5-utils/dist/index.js';import{View as _0x1ea7d1,ButtonView as _0x424d62,MenuBarMenuListItemButtonView as _0x151979}from'@ckeditor/ckeditor5-ui/dist/index.js';import{EditorView as _0x351b08,crosshairCursor as _0xa67956,drawSelection as _0x513c6f,dropCursor as _0xa7e1c,lineNumbers as _0xab4899,highlightActiveLine as _0xd6cd10,highlightActiveLineGutter as _0x4b39cd,highlightSpecialChars as _0x38ebfb,rectangularSelection as _0x525706,keymap as _0x482446}from'@codemirror/view';import{Compartment as _0x2a903f,Transaction as _0xaa5aa1}from'@codemirror/state';import{bracketMatching as _0x2b571f,foldGutter as _0x50461b,indentOnInput as _0x4f60e9,syntaxHighlighting as _0x5e5152,defaultHighlightStyle as _0x567642,foldKeymap as _0x3cf0f0}from'@codemirror/language';import{history as _0x40019,defaultKeymap as _0x527bf3,historyKeymap as _0x1e3a8a,redo as _0x5bb0f0}from'@codemirror/commands';import{autocompletion as _0x1f0d7a,closeBrackets as _0x1102ad,closeBracketsKeymap as _0x56e983,completionKeymap as _0x3415ac}from'@codemirror/autocomplete';import{html as _0x545965}from'@codemirror/lang-html';import{markdown as _0x286a8b}from'@codemirror/lang-markdown';function f(_0x59c7ba,_0x14dd43){const t=_0x59c7ba['t'];switch(_0x14dd43){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 _0x14dd43;}}function o(_0x3c7c50){const _0x2cf949=_0x3c7c50['editing']['view']['document']['roots'],_0x5d0990=_0x2cf949['length'];if(0x0===_0x5d0990)throw new _0x132694('source-editing-enhanced-editor-no-root',_0x3c7c50);if(0x1===_0x5d0990)return _0x2cf949['first']['rootName'];return Array['from'](_0x3c7c50['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function g(_0x21523b){return $(_0x21523b)?function(_0x3c82c0){const _0x21c307=[{'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}],_0x186231=_0x21c307['map'](_0x339f1c=>_0x339f1c['name'])['join']('|'),_0x426fc4=_0x3c82c0['replace'](new RegExp('</?('+_0x186231+')(\x20.*?)?>','g'),'\x0a$&\x0a')['replace'](/<br[^>]*>/g,'$&\x0a')['split']('\x0a');let _0x40f1c8=0x0,_0x49a4ed=!0x1;return _0x426fc4['filter'](_0x1825cf=>_0x1825cf['length'])['map'](_0x162795=>(_0x49a4ed=function(_0x1a1d05,_0x3b4957){return new RegExp('<pre(\x20.*?)?>')['test'](_0x1a1d05)?'first':new RegExp('</pre>')['test'](_0x1a1d05)?'last':('first'===_0x3b4957||'middle'===_0x3b4957)&&'middle';}(_0x162795,_0x49a4ed),function(_0x2a924b,_0x925a89){return _0x925a89['some'](_0x1517f7=>!_0x1517f7['isVoid']&&!!new RegExp('<'+_0x1517f7['name']+'(\x20.*?)?>')['test'](_0x2a924b));}(_0x162795,_0x21c307)?X(_0x162795,_0x40f1c8++):function(_0xfe383,_0x59961d){return _0x59961d['some'](_0x20843b=>new RegExp('</'+_0x20843b['name']+'>')['test'](_0xfe383));}(_0x162795,_0x21c307)?X(_0x162795,--_0x40f1c8):'middle'===_0x49a4ed||'last'===_0x49a4ed?_0x162795:X(_0x162795,_0x40f1c8)))['join']('\x0a');}(_0x21523b):_0x21523b;}function E(_0x69245b){return $(_0x69245b['replace'](/^[\n\s]*/g,''))?_0x69245b['replace'](/\s+/g,''):_0x69245b;}function $(_0x2f227d){return _0x2f227d['startsWith']('<');}function X(_0x1596be,_0x1e6ae2,_0x33bc7d='\x20\x20\x20\x20'){return''+_0x33bc7d['repeat'](Math['max'](0x0,_0x1e6ae2))+_0x1596be;}function p(_0x244075){const _0x3a5ab0=[_0x351b08['lineWrapping'],_0x1f0d7a(),_0x2b571f(),_0x1102ad(),_0xa67956(),_0x513c6f(),_0xa7e1c(),_0xab4899(),_0x50461b(),_0xd6cd10(),_0x4b39cd(),_0x38ebfb(),_0x40019(),_0x4f60e9(),_0x525706(),_0x5e5152(_0x567642,{'fallback':!0x0})],_0x13a984=new _0x2a903f();_0x3a5ab0['push'](_0x13a984['of'](_0x351b08['editable']['of'](!0x0))),'html'===_0x244075['syntaxLanguage']?_0x3a5ab0['push'](_0x545965()):_0x3a5ab0['push'](_0x286a8b()),_0x244075['theme']&&_0x3a5ab0['push'](_0x244075['theme']),_0x3a5ab0['push'](_0x482446['of']([..._0x56e983,..._0x527bf3,..._0x1e3a8a,..._0x3cf0f0,..._0x3415ac,{'key':'Ctrl-Shift-z','mac':'Cmd-y','run':_0x5bb0f0,'preventDefault':!0x0}]));const _0x5cf734=new _0x351b08({'extensions':_0x3a5ab0,'parent':_0x244075['parent']});return{'focus':()=>{_0x5cf734['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x5cf734['focus']();},'getData':()=>_0x5cf734['state']['doc']['toString'](),'setData':_0x4103ff=>{_0x5cf734['dispatch']({'changes':{'from':0x0,'to':_0x5cf734['state']['doc']['length'],'insert':_0x4103ff},'annotations':_0xaa5aa1['addToHistory']['of'](!0x1)});},'setReadOnly':_0x37eca0=>{_0x5cf734['dispatch']({'effects':[_0x13a984['reconfigure'](_0x351b08['editable']['of'](!_0x37eca0))]});},'destroy':()=>{_0x5cf734['destroy']();}};}class m extends _0x1ea7d1{constructor(_0x512782,_0x50b8d5){super(_0x512782),this['_codeEditorApi']=null,this['_options']=_0x50b8d5,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',(_0x2ec225,_0x25b5f5,_0x3675a2)=>{this['setReadOnly'](_0x3675a2);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0x15147f){this['_codeEditorApi']['setData'](_0x15147f);}['setReadOnly'](_0x195dfd){this['_codeEditorApi']['setReadOnly'](_0x195dfd);}}class d extends _0x18d333{constructor(_0x30ce26){super(_0x30ce26),this['affectsData']=!0x1,this['editor']['plugins']['get'](_0x5a6b80)['on']('change:hasAny',(_0x40763c,_0x583002,_0x54e28e)=>{_0x54e28e?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x72f311=this['editor'],_0x4ce980=_0x72f311['locale'],_0x3ec9bc=_0x72f311['plugins']['get']('Dialog'),_0x2498e5=o(_0x72f311),_0x649d9a=g(_0x72f311['data']['get']({'rootName':_0x2498e5})),_0xaa1a86=new m(_0x4ce980,{'syntaxLanguage':_0x72f311['plugins']['has']('Markdown')?'markdown':'html','theme':_0x72f311['config']['get']('sourceEditingEnhanced.theme')});let _0x210b06=!0x0;const _0x2f1ec3=_0x479ad3=>{if(!_0x210b06)return;return E(_0xaa1a86['getData']())!==E(_0x649d9a)?window['confirm'](f(_0x4ce980,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0x479ad3['stop']():void 0x0;};_0x3ec9bc['show']({'id':'sourceEditingEnhanced','title':f(_0x4ce980,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0xaa1a86,'actionButtons':[{'label':f(_0x4ce980,'Cancel'),'withText':!0x0,'onExecute':()=>{_0x3ec9bc['hide']();}},{'label':f(_0x4ce980,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0x3b7fff=E(_0xaa1a86['getData']())!==E(_0x649d9a);(_0x3b7fff&&_0x72f311['execute']('replaceSource',_0xaa1a86['getData']()),_0x210b06=!0x1,_0x3ec9bc['hide'](),_0x3b7fff&&'editables'in _0x72f311['ui']['view'])&&_0x72f311['ui']['view']['editables'][_0x2498e5]['element']['focus']();},'onCreate':_0xa4a1f4=>{_0xa4a1f4['set']('isEnabled',!_0x72f311['isReadOnly']),_0xa4a1f4['bind']('isEnabled')['to'](_0x72f311,'isReadOnly',this,'isEnabled',(_0x200ffd,_0x3bf744)=>!_0x200ffd&&_0x3bf744);}}],'onHide':()=>{_0x3ec9bc['off']('hide',_0x2f1ec3),_0xaa1a86['destroy']();},'onShow':()=>{_0xaa1a86['bind']('isReadOnly')['to'](_0x72f311,'isReadOnly',this,'isEnabled',(_0xc9e8fd,_0xac9f0f)=>_0xc9e8fd||!_0xac9f0f),_0xaa1a86['setData'](_0x649d9a),_0xaa1a86['focus'](),_0x3ec9bc['on']('hide',_0x2f1ec3,{'priority':'highest'});}});}}class n extends _0x38e5db{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[_0x5a6b80];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x35caf2=this['editor'],_0x21acbc=_0x35caf2['locale'],_0x2b97c4=new d(_0x35caf2);_0x35caf2['commands']['add']('editSource',_0x2b97c4),_0x35caf2['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0x1e13c8=this['_createButton'](_0x424d62,_0x2b97c4);return _0x1e13c8['set']({'label':f(_0x21acbc,'Source'),'icon':_0xfd7bf7['source'],'tooltip':f(_0x21acbc,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0x1e13c8;}),_0x35caf2['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0x316901=this['_createButton'](_0x151979,_0x2b97c4,!0x0);return _0x316901['set']({'label':f(_0x21acbc,'Edit\x20source\x20modal\x20label'),'icon':_0xfd7bf7['source'],'role':'menuitemcheckbox'}),_0x316901;}),this['_registerKeybindings']();}['afterInit'](){!async function(_0x1b938a){const _0x185b5b=_0x8aee0([0x32,0x62,0x5a,0x66,0x45,0x37,0x61,0x58,0x46,0x4f,0x4a,0x69,0x44,0x68,0x4b,0x78,0x79,0x36,0x47,0x57,0x55,0x76,0x6c,0x65,0x63,0x6a,0x50,0x6e,0x34,0x51,0x71,0x33,0x70,0x75,0x6d,0x4d,0x59,0x42,0x4e,0x67,0x41,0x39,0x52,0x74,0x4c,0x7a,0x54,0x49,0x72,0x38,0x6b,0x77,0x43,0x56,0x48,0x73,0x64,0x53,0x35,0x31,0x30,0x6f]),_0x36f247=0x6c7eccb7,_0x214e8f=0x6c7993af^_0x36f247,_0x294ed9=window[_0x8aee0([0x44,0x61,0x74,0x65])][_0x8aee0([0x6e,0x6f,0x77])](),_0x2caeb7=_0x1b938a[_0x8aee0([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xed6cca=new window[(_0x8aee0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5d5085=>{_0x2caeb7[_0x8aee0([0x6f,0x6e,0x63,0x65])](_0x8aee0([0x72,0x65,0x61,0x64,0x79]),_0x5d5085);}),_0x29c1c6={[_0x8aee0([0x6b,0x74,0x79])]:_0x8aee0([0x45,0x43]),[_0x8aee0([0x75,0x73,0x65])]:_0x8aee0([0x73,0x69,0x67]),[_0x8aee0([0x63,0x72,0x76])]:_0x8aee0([0x50,0x2d,0x32,0x35,0x36]),[_0x8aee0([0x78])]:_0x8aee0([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]),[_0x8aee0([0x79])]:_0x8aee0([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]),[_0x8aee0([0x61,0x6c,0x67])]:_0x8aee0([0x45,0x53,0x32,0x35,0x36])},_0xc05f62=_0x2caeb7[_0x8aee0([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x8aee0([0x67,0x65,0x74])](_0x8aee0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x48ec53(){let _0x3cd78b,_0x3f6b16=null,_0x587577=null;try{if(_0xc05f62==_0x8aee0([0x47,0x50,0x4c]))return _0x8aee0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3cd78b=_0x416698(),!_0x3cd78b)return _0x8aee0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3cd78b[_0x8aee0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x587577=_0x141cd3(_0x3cd78b[_0x8aee0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3cd78b[_0x8aee0([0x6a,0x74,0x69])])),await _0xa01ee6()?_0x3501e7()?_0x3f7d53()?_0x8aee0([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4be33a()?(_0x3cd78b[_0x8aee0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x8aee0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3f6b16=_0x2a5cc3(_0x8aee0([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3cd78b[_0x8aee0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x8aee0([0x74,0x72,0x69,0x61,0x6c])&&(_0x3f6b16=_0x2a5cc3(_0x8aee0([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x556ab4()):_0x8aee0([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x8aee0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x8aee0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x5d09cd){return _0x8aee0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3f7d53(){const _0x373fed=[_0x8aee0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x8aee0([0x74,0x72,0x69,0x61,0x6c])][_0x8aee0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3cd78b[_0x8aee0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x294ed9/0x3e8:0xe10*_0x214e8f;return _0x3cd78b[_0x8aee0([0x65,0x78,0x70])]<_0x373fed;}function _0x3501e7(){const _0x4e8795=_0x3cd78b[_0x8aee0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4e8795&&(!!_0x4e8795[_0x8aee0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x8aee0([0x2a]))||!!_0x4e8795[_0x8aee0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x8aee0([0x53,0x45,0x45])));}function _0x4be33a(){const _0x285ddb=_0x3cd78b[_0x8aee0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x285ddb||0x0==_0x285ddb[_0x8aee0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x346d91}=new URL(window[_0x8aee0([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x285ddb[_0x8aee0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x346d91))return!0x0;const _0x2f0059=_0x346d91[_0x8aee0([0x73,0x70,0x6c,0x69,0x74])](_0x8aee0([0x2e]));return _0x285ddb[_0x8aee0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3f6576=>_0x3f6576[_0x8aee0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x8aee0([0x2a])))[_0x8aee0([0x6d,0x61,0x70])](_0x84967d=>_0x84967d[_0x8aee0([0x73,0x70,0x6c,0x69,0x74])](_0x8aee0([0x2e])))[_0x8aee0([0x73,0x6f,0x6d,0x65])](_0x1c4938=>_0x2f0059[_0x8aee0([0x65,0x76,0x65,0x72,0x79])]((_0x1fd024,_0x1066bf)=>_0x1c4938[_0x1066bf]===_0x1fd024||_0x1c4938[_0x1066bf]===_0x8aee0([0x2a])));}function _0x556ab4(){return _0x3f6b16&&_0x587577?new window[(_0x8aee0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xc13852,_0xe410e)=>{_0x3f6b16[_0x8aee0([0x74,0x68,0x65,0x6e])](_0xc13852,_0xe410e),_0x587577[_0x8aee0([0x74,0x68,0x65,0x6e])](_0x5c8a7f=>{_0x5c8a7f!=_0x8aee0([0x56,0x61,0x6c,0x69,0x64])&&_0xc13852(_0x5c8a7f);},_0xe410e);}):_0x3f6b16||_0x587577||_0x8aee0([0x56,0x61,0x6c,0x69,0x64]);}}function _0x141cd3(_0x54bd8b,_0x430730){return new window[(_0x8aee0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2c03a2=>{if(_0x4a3240())return _0x2c03a2(_0x8aee0([0x56,0x61,0x6c,0x69,0x64]));_0x5c3354(),_0x2caeb7[_0x8aee0([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x8aee0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3022e1=!0x1;const _0x500da0=_0xa8a5fe();function _0x462d77(_0x101cc0){return!!_0x101cc0&&(typeof _0x101cc0===_0x8aee0([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x101cc0===_0x8aee0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x101cc0[_0x8aee0([0x74,0x68,0x65,0x6e])]===_0x8aee0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x101cc0[_0x8aee0([0x63,0x61,0x74,0x63,0x68])]===_0x8aee0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4c1ac2(_0x41cb2f){_0x152747(_0x41cb2f)[_0x8aee0([0x74,0x68,0x65,0x6e])](_0x309cdf=>{if(!_0x309cdf||_0x309cdf[_0x8aee0([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x8aee0([0x6f,0x6b]))return _0x8aee0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x560fa2(_0x2631b8(_0x500da0+_0x430730))!=_0x309cdf[_0x8aee0([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x8aee0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x8aee0([0x56,0x61,0x6c,0x69,0x64]);})[_0x8aee0([0x74,0x68,0x65,0x6e])](_0x2ba5fc=>(_0x4cb8aa(),_0x2ba5fc),()=>{const _0x53e309=_0x206328();return null==_0x53e309?(_0x4cb8aa(),_0x8aee0([0x56,0x61,0x6c,0x69,0x64])):_0x8aee0(_0x294ed9-_0x53e309>(0x487248b7^_0x36f247)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x8aee0([0x74,0x68,0x65,0x6e])](_0x2c03a2)[_0x8aee0([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2c03a2(_0x8aee0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2e3d41=0x6c482237^_0x36f247;function _0x4cb8aa(){const _0x57ce87=_0x8aee0([0x6c,0x6c,0x63,0x74,0x2d])+_0x560fa2(_0x2631b8(_0x54bd8b)),_0x328684=_0x1d1248(_0x560fa2(window[_0x8aee0([0x4d,0x61,0x74,0x68])][_0x8aee0([0x63,0x65,0x69,0x6c])](_0x294ed9/_0x2e3d41)));window[_0x8aee0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x8aee0([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x57ce87,_0x328684);}function _0x206328(){const _0x28911c=_0x8aee0([0x6c,0x6c,0x63,0x74,0x2d])+_0x560fa2(_0x2631b8(_0x54bd8b)),_0x48f6f5=window[_0x8aee0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x8aee0([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x28911c);return _0x48f6f5?window[_0x8aee0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1d1248(_0x48f6f5),0x10)*_0x2e3d41:null;}function _0x152747(_0x253521){return new window[(_0x8aee0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x58a93a,_0x4d414c)=>{_0x253521[_0x8aee0([0x74,0x68,0x65,0x6e])](_0x58a93a,_0x4d414c),window[_0x8aee0([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4d414c,0x6c7f1877^_0x36f247);});}}_0x2caeb7[_0x8aee0([0x6f,0x6e])](_0x8aee0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x549126,_0x345a0d)=>{if(_0x345a0d[0x0]!=_0x54bd8b)return _0x2c03a2(_0x8aee0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x345a0d[0x1]={..._0x345a0d[0x1],[_0x8aee0([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x500da0};},{[_0x8aee0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x8aee0([0x68,0x69,0x67,0x68])}),_0x2caeb7[_0x8aee0([0x6f,0x6e])](_0x8aee0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x402973=>{_0x462d77(_0x402973[_0x8aee0([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3022e1=!0x0,_0x4c1ac2(_0x402973[_0x8aee0([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x8aee0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x8aee0([0x6c,0x6f,0x77])}),_0xed6cca[_0x8aee0([0x74,0x68,0x65,0x6e])](()=>{_0x3022e1||_0x2c03a2(_0x8aee0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4a3240(){return _0x2caeb7[_0x8aee0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x8aee0([0x76,0x69,0x65,0x77])][_0x8aee0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x8aee0([0x61,0x75,0x74,0x6f]);}function _0x5c3354(){_0x2caeb7[_0x8aee0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x8aee0([0x76,0x69,0x65,0x77])][_0x8aee0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x8aee0([0x61,0x75,0x74,0x6f]);}}function _0x2a5cc3(_0x4edede){const _0x433493=[new window[(_0x8aee0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x13f737=>setTimeout(_0x13f737,0x6c77f27b^_0x36f247)),_0xed6cca[_0x8aee0([0x74,0x68,0x65,0x6e])](()=>new window[(_0x8aee0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x59d9cb=>{let _0x149784=0x0;_0x2caeb7[_0x8aee0([0x6d,0x6f,0x64,0x65,0x6c])][_0x8aee0([0x6f,0x6e])](_0x8aee0([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x429432,_0x2006b5)=>{_0x2006b5[0x0][_0x8aee0([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x149784++,_0x149784==(0x6c7ecd4f^_0x36f247)&&(_0x59d9cb(),_0x429432[_0x8aee0([0x6f,0x66,0x66])]());});}))];return window[_0x8aee0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x8aee0([0x72,0x61,0x63,0x65])](_0x433493)[_0x8aee0([0x74,0x68,0x65,0x6e])](()=>_0x4edede);}async function _0x3e3131(){await _0xed6cca,_0x2caeb7[_0x8aee0([0x6d,0x6f,0x64,0x65,0x6c])][_0x8aee0([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x37d51a,_0x2caeb7[_0x8aee0([0x6d,0x6f,0x64,0x65,0x6c])][_0x8aee0([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x37d51a,_0x2caeb7[_0x8aee0([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x8aee0([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5f4b31(_0x187dea){const _0x4012f2=_0x24d3f3();_0x2caeb7[_0x4012f2]=_0x8aee0([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])+_0x187dea,_0x187dea!=_0x8aee0([0x56,0x61,0x6c,0x69,0x64])&&_0x3e3131();}function _0x24d3f3(){const _0x6bcc9a=window[_0x8aee0([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x8aee0([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x8aee0([0x6e,0x6f,0x77])]())[_0x8aee0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x8aee0([0x2e]),'');let _0x5a2945=_0x8aee0([0x62]);for(let _0x59d4c7=0x0;_0x59d4c7<_0x6bcc9a[_0x8aee0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x59d4c7+=0x2){let _0x591551=window[_0x8aee0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x6bcc9a[_0x8aee0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x59d4c7,_0x59d4c7+0x2));_0x591551>=_0x185b5b[_0x8aee0([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x591551-=_0x185b5b[_0x8aee0([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5a2945+=_0x185b5b[_0x591551];}return _0x5a2945;}function _0x416698(){const _0x35e264=_0xc05f62[_0x8aee0([0x73,0x70,0x6c,0x69,0x74])](_0x8aee0([0x2e]));if(0x3!=_0x35e264[_0x8aee0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2532d8(_0x35e264[0x1]);function _0x2532d8(_0xa1deea){const _0x1b5cbe=_0xa009b8(_0xa1deea);return _0x1b5cbe&&_0x138b1e()?_0x1b5cbe:null;function _0x138b1e(){const _0x47c29d=_0x1b5cbe[_0x8aee0([0x6a,0x74,0x69])],_0x581231=window[_0x8aee0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x47c29d[_0x8aee0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x47c29d[_0x8aee0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4fcdaa={..._0x1b5cbe,[_0x8aee0([0x6a,0x74,0x69])]:_0x47c29d[_0x8aee0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x47c29d[_0x8aee0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4fcdaa[_0x8aee0([0x76,0x63])],_0x2631b8(_0x4fcdaa)==_0x581231;}}}async function _0xa01ee6(){let _0x5748a9=!0x0;try{const _0x2e3b92=_0xc05f62[_0x8aee0([0x73,0x70,0x6c,0x69,0x74])](_0x8aee0([0x2e])),[_0x3723b4,_0x521080,_0xab3c3b]=_0x2e3b92;return _0xa53e95(_0x3723b4),await _0x477bac(_0x3723b4,_0x521080,_0xab3c3b),_0x5748a9;}catch(_0xfd9fa9){return!0x1;}function _0xa53e95(_0x55b36a){const _0x5c922e=_0xa009b8(_0x55b36a);_0x5c922e&&_0x5c922e[_0x8aee0([0x61,0x6c,0x67])]==_0x8aee0([0x45,0x53,0x32,0x35,0x36])||(_0x5748a9=!0x1);}async function _0x477bac(_0x5630a7,_0x5168e0,_0x1a393d){const _0x26d0dd=window[_0x8aee0([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x8aee0([0x66,0x72,0x6f,0x6d])](_0x2520c3(_0x1a393d),_0x20d578=>_0x20d578[_0x8aee0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x37c933=new window[(_0x8aee0([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x8aee0([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5630a7+_0x8aee0([0x2e])+_0x5168e0),_0x408f11=window[_0x8aee0([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x8aee0([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x408f11)return;const _0x53b063=await _0x408f11[_0x8aee0([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x8aee0([0x6a,0x77,0x6b]),_0x29c1c6,{[_0x8aee0([0x6e,0x61,0x6d,0x65])]:_0x8aee0([0x45,0x43,0x44,0x53,0x41]),[_0x8aee0([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x8aee0([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x8aee0([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x408f11[_0x8aee0([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x8aee0([0x6e,0x61,0x6d,0x65])]:_0x8aee0([0x45,0x43,0x44,0x53,0x41]),[_0x8aee0([0x68,0x61,0x73,0x68])]:{[_0x8aee0([0x6e,0x61,0x6d,0x65])]:_0x8aee0([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x53b063,_0x26d0dd,_0x37c933)||(_0x5748a9=!0x1);}}function _0xa009b8(_0x5cf211){return _0x5cf211[_0x8aee0([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x8aee0([0x65,0x79]))?JSON[_0x8aee0([0x70,0x61,0x72,0x73,0x65])](_0x2520c3(_0x5cf211)):null;}function _0x2520c3(_0x273c73){return window[_0x8aee0([0x61,0x74,0x6f,0x62])](_0x273c73[_0x8aee0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x8aee0([0x2b]))[_0x8aee0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x8aee0([0x2f])));}function _0x2631b8(_0x58f221){let _0x13268d=0x1505;function _0x3ba427(_0x35d206){for(let _0x5316e2=0x0;_0x5316e2<_0x35d206[_0x8aee0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5316e2++){const _0x1dad96=_0x35d206[_0x8aee0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5316e2);_0x13268d=(_0x13268d<<0x5)+_0x13268d+_0x1dad96,_0x13268d&=_0x13268d;}}function _0x482c48(_0x38fa71){Array[_0x8aee0([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x38fa71)?_0x38fa71[_0x8aee0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x482c48):_0x38fa71&&typeof _0x38fa71==_0x8aee0([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x8aee0([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x38fa71)[_0x8aee0([0x73,0x6f,0x72,0x74])]()[_0x8aee0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3f4d7d,_0x6ec104])=>{_0x3ba427(_0x3f4d7d),_0x482c48(_0x6ec104);}):_0x3ba427(window[_0x8aee0([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x38fa71));}return _0x482c48(_0x58f221),_0x13268d>>>0x0;}function _0x560fa2(_0x279dd5){return _0x279dd5[_0x8aee0([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x8aee0([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x8aee0([0x30]));}function _0x1d1248(_0x4cca24){return _0x4cca24[_0x8aee0([0x73,0x70,0x6c,0x69,0x74])]('')[_0x8aee0([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x8aee0([0x6a,0x6f,0x69,0x6e])]('');}function _0x37d51a(){}function _0x8aee0(_0x4f7024){return _0x4f7024['map'](_0x43cf09=>String['fromCharCode'](_0x43cf09))['join']('');}_0x5f4b31(await _0x48ec53());}(this);}['_createButton'](_0x50a445,_0x78254d,_0x1c0253=!0x1){const _0x3c2843=new _0x50a445(this['editor']['locale']);return _0x3c2843['set']({'withText':_0x1c0253,'isToggleable':!0x1}),_0x3c2843['bind']('isEnabled')['to'](_0x78254d,'isEnabled'),this['listenTo'](_0x3c2843,'execute',()=>_0x78254d['execute']()),_0x3c2843;}['_registerKeybindings'](){const _0x1ba070=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':f(_0x1ba070,'Source\x20Editing\x20Enhanced')});const _0x98f095=_0x57d95d['isMac']||_0x57d95d['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':f(_0x1ba070,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':f(_0x1ba070,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':f(_0x1ba070,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':f(_0x1ba070,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':f(_0x1ba070,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':f(_0x1ba070,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':f(_0x1ba070,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x98f095?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':f(_0x1ba070,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':f(_0x1ba070,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':f(_0x1ba070,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':f(_0x1ba070,'Select\x20line'),'keystroke':_0x98f095?'Ctrl!+L':'Alt+L'},{'label':f(_0x1ba070,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x98f095?'Alt+Shift+M':'Ctrl+M'},{'label':f(_0x1ba070,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':f(_0x1ba070,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':f(_0x1ba070,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':f(_0x1ba070,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':f(_0x1ba070,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x98f095?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}class s extends _0x18d333{constructor(_0x3e003f){super(_0x3e003f),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0x56bc8e,_0x286807){var _0x41a012;const _0x581ca3=this['editor'],_0x43935a=null!==(_0x41a012=null==_0x286807?void 0x0:_0x286807['rootName'])&&void 0x0!==_0x41a012?_0x41a012:o(_0x581ca3);_0x581ca3['data']['set']({[_0x43935a]:_0x56bc8e},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}class a extends _0x38e5db{static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[n];}constructor(_0xe5f3d7){super(_0xe5f3d7),_0xe5f3d7['config']['define']('sourceEditingEnhanced.allowCollaborationFeatures',!0x1);}['init'](){this['_checkCompatibility'](),this['editor']['commands']['add']('replaceSource',new s(this['editor'])),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x5e45f6=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x422d53;for(const _0x20f159 in _0x5e45f6){const _0x4de433=_0x20f159,_0x588e6d=_0x5e45f6[_0x4de433];if('sourceEditingEnhancedLicenseKeyValid'==_0x588e6d||'sourceEditingEnhancedLicenseKeyInvalid'==_0x588e6d||'sourceEditingEnhancedLicenseKeyExpired'==_0x588e6d||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x588e6d||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x588e6d||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x588e6d||'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x588e6d||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x588e6d){delete _0x5e45f6[_0x4de433],_0x422d53=_0x588e6d,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0x422d53&&_0x5e45f6['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0x422d53&&_0x5e45f6['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x422d53&&_0x5e45f6['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x422d53&&_0x5e45f6['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x422d53&&_0x5e45f6['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x422d53&&_0x5e45f6['_showLicenseError']('trialLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x422d53&&_0x5e45f6['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0xfff3fb=this['editor'],_0x24bb68=_0xfff3fb['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0x24bb68&&_0xfff3fb['plugins']['has']('RealTimeCollaborativeEditing'))throw new _0x132694('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0x24bb68&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x13a8f7=>_0xfff3fb['plugins']['has'](_0x13a8f7))&&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.'),_0xfff3fb['plugins']['has']('RestrictedEditingModeEditing')&&console['warn']('You\x20initialized\x20the\x20editor\x20with\x20the\x20source\x20editing\x20enhanced\x20feature\x20and\x20restricted\x20editing\x20feature.\x20Please\x20be\x20advised\x20that\x20the\x20source\x20editing\x20enhanced\x20feature\x20may\x20not\x20work,\x20and\x20be\x20careful\x20when\x20editing\x20document\x20source\x20that\x20contains\x20markers\x20created\x20by\x20the\x20restricted\x20editing\x20feature.');}}export{d as EditSourceCommand,s as ReplaceSourceCommand,a as SourceEditingEnhanced};
|
|
23
|
+
import{Command as _0x22b566,PendingActions as _0x3d2c29,Plugin as _0x194bf5}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x4bda23,env as _0x4974ff,uid as _0xaeaa37}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconSource as _0x1cf83f}from'@ckeditor/ckeditor5-icons/dist/index.js';import{View as _0x3fbdfc,ButtonView as _0x25ce65,MenuBarMenuListItemButtonView as _0x47c4aa}from'@ckeditor/ckeditor5-ui/dist/index.js';import{EditorView as _0x12b2a7,crosshairCursor as _0x25268f,drawSelection as _0x488478,dropCursor as _0x9ffc06,lineNumbers as _0x34c47e,highlightActiveLine as _0x3e265e,highlightActiveLineGutter as _0xab8b,highlightSpecialChars as _0x34ba47,rectangularSelection as _0x1d6650,keymap as _0x5bb511}from'@codemirror/view';import{Compartment as _0x3ed277,Transaction as _0x3bc89b}from'@codemirror/state';import{bracketMatching as _0xaf308a,foldGutter as _0x1d30ed,indentOnInput as _0x579111,syntaxHighlighting as _0x52ed28,defaultHighlightStyle as _0x4d8f53,foldKeymap as _0x3a9896}from'@codemirror/language';import{history as _0x344e08,defaultKeymap as _0x577a8f,historyKeymap as _0x4c32b3,redo as _0x387268}from'@codemirror/commands';import{autocompletion as _0x226757,closeBrackets as _0x3faaa1,closeBracketsKeymap as _0x37042d,completionKeymap as _0x3f9cd4}from'@codemirror/autocomplete';import{html as _0x23d605}from'@codemirror/lang-html';import{markdown as _0x18e501}from'@codemirror/lang-markdown';function f(_0x31b7c5,_0x50ff68){const t=_0x31b7c5['t'];switch(_0x50ff68){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 _0x50ff68;}}function s(_0x437bdd){const _0x51c4bd=_0x437bdd['editing']['view']['document']['roots'],_0x5190f1=_0x51c4bd['length'];if(0x0===_0x5190f1)throw new _0x4bda23('source-editing-enhanced-editor-no-root',_0x437bdd);if(0x1===_0x5190f1)return _0x51c4bd['first']['rootName'];return Array['from'](_0x437bdd['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function g(_0x3853c6){return $(_0x3853c6)?function(_0x2c5cd7){const _0x8b1f64=[{'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}],_0x42047d=_0x8b1f64['map'](_0x51e66a=>_0x51e66a['name'])['join']('|'),_0x3d6113=_0x2c5cd7['replace'](new RegExp('</?('+_0x42047d+')(\x20.*?)?>','g'),'\x0a$&\x0a')['replace'](/<br[^>]*>/g,'$&\x0a')['split']('\x0a');let _0x441988=0x0,_0xcd14dc=!0x1;return _0x3d6113['filter'](_0x4e464f=>_0x4e464f['length'])['map'](_0x1b6605=>(_0xcd14dc=function(_0x379f27,_0x4877e8){return new RegExp('<pre(\x20.*?)?>')['test'](_0x379f27)?'first':new RegExp('</pre>')['test'](_0x379f27)?'last':('first'===_0x4877e8||'middle'===_0x4877e8)&&'middle';}(_0x1b6605,_0xcd14dc),function(_0x379e36,_0xb418a9){return _0xb418a9['some'](_0xf07513=>!_0xf07513['isVoid']&&!!new RegExp('<'+_0xf07513['name']+'(\x20.*?)?>')['test'](_0x379e36));}(_0x1b6605,_0x8b1f64)?X(_0x1b6605,_0x441988++):function(_0x238757,_0x4cb0dd){return _0x4cb0dd['some'](_0x556439=>new RegExp('</'+_0x556439['name']+'>')['test'](_0x238757));}(_0x1b6605,_0x8b1f64)?X(_0x1b6605,--_0x441988):'middle'===_0xcd14dc||'last'===_0xcd14dc?_0x1b6605:X(_0x1b6605,_0x441988)))['join']('\x0a');}(_0x3853c6):_0x3853c6;}function E(_0xfa4b7c){return $(_0xfa4b7c['replace'](/^[\n\s]*/g,''))?_0xfa4b7c['replace'](/\s+/g,''):_0xfa4b7c;}function $(_0x93a21a){return _0x93a21a['startsWith']('<');}function X(_0x4a043f,_0x310d1a,_0x1ae044='\x20\x20\x20\x20'){return''+_0x1ae044['repeat'](Math['max'](0x0,_0x310d1a))+_0x4a043f;}function p(_0x3b0211){const _0x5dfdf7=[_0x12b2a7['lineWrapping'],_0x226757(),_0xaf308a(),_0x3faaa1(),_0x25268f(),_0x488478(),_0x9ffc06(),_0x34c47e(),_0x1d30ed(),_0x3e265e(),_0xab8b(),_0x34ba47(),_0x344e08(),_0x579111(),_0x1d6650(),_0x52ed28(_0x4d8f53,{'fallback':!0x0})],_0x304346=new _0x3ed277();_0x5dfdf7['push'](_0x304346['of'](_0x12b2a7['editable']['of'](!0x0))),'html'===_0x3b0211['syntaxLanguage']?_0x5dfdf7['push'](_0x23d605()):_0x5dfdf7['push'](_0x18e501()),_0x3b0211['theme']&&_0x5dfdf7['push'](_0x3b0211['theme']),_0x5dfdf7['push'](_0x5bb511['of']([..._0x37042d,..._0x577a8f,..._0x4c32b3,..._0x3a9896,..._0x3f9cd4,{'key':'Ctrl-Shift-z','mac':'Cmd-y','run':_0x387268,'preventDefault':!0x0}]));const _0x13d329=new _0x12b2a7({'extensions':_0x5dfdf7,'parent':_0x3b0211['parent']});return{'focus':()=>{_0x13d329['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x13d329['focus']();},'getData':()=>_0x13d329['state']['doc']['toString'](),'setData':_0x7366b1=>{_0x13d329['dispatch']({'changes':{'from':0x0,'to':_0x13d329['state']['doc']['length'],'insert':_0x7366b1},'annotations':_0x3bc89b['addToHistory']['of'](!0x1)});},'setReadOnly':_0x2d9252=>{_0x13d329['dispatch']({'effects':[_0x304346['reconfigure'](_0x12b2a7['editable']['of'](!_0x2d9252))]});},'destroy':()=>{_0x13d329['destroy']();}};}class m extends _0x3fbdfc{['_codeEditorApi']=null;['_options'];constructor(_0xaca703,_0x296418){super(_0xaca703),this['_options']=_0x296418,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',(_0x13791d,_0x3fa4bd,_0x47267f)=>{this['setReadOnly'](_0x47267f);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0x4cf154){this['_codeEditorApi']['setData'](_0x4cf154);}['setReadOnly'](_0x165de1){this['_codeEditorApi']['setReadOnly'](_0x165de1);}}class d extends _0x22b566{constructor(_0x42e509){super(_0x42e509),this['affectsData']=!0x1,this['editor']['plugins']['get'](_0x3d2c29)['on']('change:hasAny',(_0x10cb32,_0x320bed,_0x126d4c)=>{_0x126d4c?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x384ffb=this['editor'],_0x3b0f3a=_0x384ffb['locale'],_0x462410=_0x384ffb['plugins']['get']('Dialog'),_0x2f98ed=s(_0x384ffb),_0x59ef1e=g(_0x384ffb['data']['get']({'rootName':_0x2f98ed})),_0x5d61f3=new m(_0x3b0f3a,{'syntaxLanguage':_0x384ffb['plugins']['has']('Markdown')?'markdown':'html','theme':_0x384ffb['config']['get']('sourceEditingEnhanced.theme')});let _0x434e43=!0x0;const _0x564d0f=_0x41f38a=>{if(!_0x434e43)return;return E(_0x5d61f3['getData']())!==E(_0x59ef1e)?window['confirm'](f(_0x3b0f3a,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0x41f38a['stop']():void 0x0;};_0x462410['show']({'id':'sourceEditingEnhanced','title':f(_0x3b0f3a,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0x5d61f3,'actionButtons':[{'label':f(_0x3b0f3a,'Cancel'),'withText':!0x0,'onExecute':()=>{_0x462410['hide']();}},{'label':f(_0x3b0f3a,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0x20ee6a=E(_0x5d61f3['getData']())!==E(_0x59ef1e);(_0x20ee6a&&_0x384ffb['execute']('replaceSource',_0x5d61f3['getData']()),_0x434e43=!0x1,_0x462410['hide'](),_0x20ee6a&&'editables'in _0x384ffb['ui']['view'])&&_0x384ffb['ui']['view']['editables'][_0x2f98ed]['element']['focus']();},'onCreate':_0x1d252c=>{_0x1d252c['set']('isEnabled',!_0x384ffb['isReadOnly']),_0x1d252c['bind']('isEnabled')['to'](_0x384ffb,'isReadOnly',this,'isEnabled',(_0x1d22f8,_0x1b8c8c)=>!_0x1d22f8&&_0x1b8c8c);}}],'onHide':()=>{_0x462410['off']('hide',_0x564d0f),_0x5d61f3['destroy']();},'onShow':()=>{_0x5d61f3['bind']('isReadOnly')['to'](_0x384ffb,'isReadOnly',this,'isEnabled',(_0x440845,_0x41ffe0)=>_0x440845||!_0x41ffe0),_0x5d61f3['setData'](_0x59ef1e),_0x5d61f3['focus'](),_0x462410['on']('hide',_0x564d0f,{'priority':'highest'});}});}}class a extends _0x194bf5{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[_0x3d2c29];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x589fdb=this['editor'],_0x380170=_0x589fdb['locale'],_0x3ac2c9=new d(_0x589fdb);_0x589fdb['commands']['add']('editSource',_0x3ac2c9),_0x589fdb['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0x1040ca=this['_createButton'](_0x25ce65,_0x3ac2c9);return _0x1040ca['set']({'label':f(_0x380170,'Source'),'icon':_0x1cf83f,'tooltip':f(_0x380170,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0x1040ca;}),_0x589fdb['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0x3c72ee=this['_createButton'](_0x47c4aa,_0x3ac2c9,!0x0);return _0x3c72ee['set']({'label':f(_0x380170,'Edit\x20source\x20modal\x20label'),'icon':_0x1cf83f,'role':'menuitemcheckbox'}),_0x3c72ee;}),this['_registerKeybindings']();}['afterInit'](){!async function(_0x214ac2){const _0x3754ae=_0x2196c3([0x39,0x68,0x37,0x65,0x6e,0x6a,0x4f,0x34,0x4d,0x6f,0x61,0x62,0x5a,0x44,0x64,0x50,0x49,0x4c,0x38,0x51,0x6d,0x35,0x59,0x58,0x4e,0x6c,0x69,0x70,0x76,0x66,0x67,0x56,0x57,0x4a,0x47,0x71,0x79,0x45,0x77,0x54,0x30,0x36,0x52,0x7a,0x43,0x55,0x53,0x41,0x32,0x48,0x6b,0x4b,0x31,0x73,0x72,0x75,0x46,0x42,0x74,0x78,0x33,0x63]),_0xf7b8ec=0x3347d712,_0x4e438e=0x33408822^_0xf7b8ec,_0x526176=window[_0x2196c3([0x44,0x61,0x74,0x65])][_0x2196c3([0x6e,0x6f,0x77])](),_0x2e2de7=_0x214ac2[_0x2196c3([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1ae3d5=new window[(_0x2196c3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x36818d=>{_0x2e2de7[_0x2196c3([0x6f,0x6e,0x63,0x65])](_0x2196c3([0x72,0x65,0x61,0x64,0x79]),_0x36818d);}),_0x2aa420={[_0x2196c3([0x6b,0x74,0x79])]:_0x2196c3([0x45,0x43]),[_0x2196c3([0x75,0x73,0x65])]:_0x2196c3([0x73,0x69,0x67]),[_0x2196c3([0x63,0x72,0x76])]:_0x2196c3([0x50,0x2d,0x32,0x35,0x36]),[_0x2196c3([0x78])]:_0x2196c3([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]),[_0x2196c3([0x79])]:_0x2196c3([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]),[_0x2196c3([0x61,0x6c,0x67])]:_0x2196c3([0x45,0x53,0x32,0x35,0x36])},_0x131b58=_0x2e2de7[_0x2196c3([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2196c3([0x67,0x65,0x74])](_0x2196c3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x410576(){let _0x3e145a,_0x108af2=null,_0x5eeb51=null;try{if(_0x131b58==_0x2196c3([0x47,0x50,0x4c]))return _0x2196c3([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3e145a=_0x292317(),!_0x3e145a)return _0x2196c3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3e145a[_0x2196c3([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5eeb51=_0x311289(_0x3e145a[_0x2196c3([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3e145a[_0x2196c3([0x6a,0x74,0x69])])),await _0x280a5c()?_0x1ada55()?_0x5158ce()?_0x2196c3([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1bd069()?(_0x3e145a[_0x2196c3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2196c3([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x108af2=_0x1a94f7(_0x2196c3([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3e145a[_0x2196c3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2196c3([0x74,0x72,0x69,0x61,0x6c])&&(_0x108af2=_0x1a94f7(_0x2196c3([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4f6185()):_0x2196c3([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2196c3([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2196c3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x43d5fa){return _0x2196c3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5158ce(){const _0x420aab=[_0x2196c3([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2196c3([0x74,0x72,0x69,0x61,0x6c])][_0x2196c3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e145a[_0x2196c3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x526176/0x3e8:0xe10*_0x4e438e;return _0x3e145a[_0x2196c3([0x65,0x78,0x70])]<_0x420aab;}function _0x1ada55(){const _0xcc1b1=_0x3e145a[_0x2196c3([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0xcc1b1&&(!!_0xcc1b1[_0x2196c3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2196c3([0x2a]))||!!_0xcc1b1[_0x2196c3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2196c3([0x53,0x45,0x45])));}function _0x1bd069(){const _0x443588=_0x3e145a[_0x2196c3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x443588||0x0==_0x443588[_0x2196c3([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5af151}=new URL(window[_0x2196c3([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x443588[_0x2196c3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5af151))return!0x0;const _0x5b5383=_0x5af151[_0x2196c3([0x73,0x70,0x6c,0x69,0x74])](_0x2196c3([0x2e]));return _0x443588[_0x2196c3([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x326076=>_0x326076[_0x2196c3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2196c3([0x2a])))[_0x2196c3([0x6d,0x61,0x70])](_0x3cf2b3=>_0x3cf2b3[_0x2196c3([0x73,0x70,0x6c,0x69,0x74])](_0x2196c3([0x2e])))[_0x2196c3([0x73,0x6f,0x6d,0x65])](_0x474257=>_0x5b5383[_0x2196c3([0x65,0x76,0x65,0x72,0x79])]((_0x349e11,_0x3a72f5)=>_0x474257[_0x3a72f5]===_0x349e11||_0x474257[_0x3a72f5]===_0x2196c3([0x2a])));}function _0x4f6185(){return _0x108af2&&_0x5eeb51?new window[(_0x2196c3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x23a8b8,_0x493ad2)=>{_0x108af2[_0x2196c3([0x74,0x68,0x65,0x6e])](_0x23a8b8,_0x493ad2),_0x5eeb51[_0x2196c3([0x74,0x68,0x65,0x6e])](_0x5c0a72=>{_0x5c0a72!=_0x2196c3([0x56,0x61,0x6c,0x69,0x64])&&_0x23a8b8(_0x5c0a72);},_0x493ad2);}):_0x108af2||_0x5eeb51||_0x2196c3([0x56,0x61,0x6c,0x69,0x64]);}}function _0x311289(_0x211511,_0x12e277){return new window[(_0x2196c3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x423e18=>{if(_0x1ceed7())return _0x423e18(_0x2196c3([0x56,0x61,0x6c,0x69,0x64]));_0x58796f(),_0x2e2de7[_0x2196c3([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2196c3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x53a3c8=!0x1;const _0x444c63=_0xaeaa37();function _0x259450(_0x45b6d3){return!!_0x45b6d3&&(typeof _0x45b6d3===_0x2196c3([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x45b6d3===_0x2196c3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x45b6d3[_0x2196c3([0x74,0x68,0x65,0x6e])]===_0x2196c3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x45b6d3[_0x2196c3([0x63,0x61,0x74,0x63,0x68])]===_0x2196c3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x64067b(_0x320193){_0x1dbadb(_0x320193)[_0x2196c3([0x74,0x68,0x65,0x6e])](_0x49fa9c=>{if(!_0x49fa9c||_0x49fa9c[_0x2196c3([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2196c3([0x6f,0x6b]))return _0x2196c3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x15c99b(_0x1addcd(_0x444c63+_0x12e277))!=_0x49fa9c[_0x2196c3([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2196c3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2196c3([0x56,0x61,0x6c,0x69,0x64]);})[_0x2196c3([0x74,0x68,0x65,0x6e])](_0x1d1d7d=>(_0x4cc6e1(),_0x1d1d7d),()=>{const _0x42b7a8=_0x4d0490();return null==_0x42b7a8?(_0x4cc6e1(),_0x2196c3([0x56,0x61,0x6c,0x69,0x64])):_0x2196c3(_0x526176-_0x42b7a8>(0x174b5312^_0xf7b8ec)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2196c3([0x74,0x68,0x65,0x6e])](_0x423e18)[_0x2196c3([0x63,0x61,0x74,0x63,0x68])](()=>{_0x423e18(_0x2196c3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xe641b0=0x33713992^_0xf7b8ec;function _0x4cc6e1(){const _0xea51=_0x2196c3([0x6c,0x6c,0x63,0x74,0x2d])+_0x15c99b(_0x1addcd(_0x211511)),_0x3953f4=_0x1fbf57(_0x15c99b(window[_0x2196c3([0x4d,0x61,0x74,0x68])][_0x2196c3([0x63,0x65,0x69,0x6c])](_0x526176/_0xe641b0)));window[_0x2196c3([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2196c3([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xea51,_0x3953f4);}function _0x4d0490(){const _0x1de8dd=_0x2196c3([0x6c,0x6c,0x63,0x74,0x2d])+_0x15c99b(_0x1addcd(_0x211511)),_0x3f2a93=window[_0x2196c3([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2196c3([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1de8dd);return _0x3f2a93?window[_0x2196c3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1fbf57(_0x3f2a93),0x10)*_0xe641b0:null;}function _0x1dbadb(_0x244075){return new window[(_0x2196c3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xc84392,_0x406898)=>{_0x244075[_0x2196c3([0x74,0x68,0x65,0x6e])](_0xc84392,_0x406898),window[_0x2196c3([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x406898,0x334603d2^_0xf7b8ec);});}}_0x2e2de7[_0x2196c3([0x6f,0x6e])](_0x2196c3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x24df60,_0x714a31)=>{if(_0x714a31[0x0]!=_0x211511)return _0x423e18(_0x2196c3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x714a31[0x1]={..._0x714a31[0x1],[_0x2196c3([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x444c63};},{[_0x2196c3([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2196c3([0x68,0x69,0x67,0x68])}),_0x2e2de7[_0x2196c3([0x6f,0x6e])](_0x2196c3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x83d0c=>{_0x259450(_0x83d0c[_0x2196c3([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x53a3c8=!0x0,_0x64067b(_0x83d0c[_0x2196c3([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2196c3([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2196c3([0x6c,0x6f,0x77])}),_0x1ae3d5[_0x2196c3([0x74,0x68,0x65,0x6e])](()=>{_0x53a3c8||_0x423e18(_0x2196c3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1ceed7(){return _0x2e2de7[_0x2196c3([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2196c3([0x76,0x69,0x65,0x77])][_0x2196c3([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2196c3([0x61,0x75,0x74,0x6f]);}function _0x58796f(){_0x2e2de7[_0x2196c3([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2196c3([0x76,0x69,0x65,0x77])][_0x2196c3([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2196c3([0x61,0x75,0x74,0x6f]);}}function _0x1a94f7(_0xd693b3){const _0x599cfc=[new window[(_0x2196c3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1c2ec2=>setTimeout(_0x1c2ec2,0x334ee9de^_0xf7b8ec)),_0x1ae3d5[_0x2196c3([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2196c3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x20e892=>{let _0x3f5477=0x0;_0x2e2de7[_0x2196c3([0x6d,0x6f,0x64,0x65,0x6c])][_0x2196c3([0x6f,0x6e])](_0x2196c3([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x56a7ae,_0x1a78a4)=>{_0x1a78a4[0x0][_0x2196c3([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3f5477++,_0x3f5477==(0x3347d6ea^_0xf7b8ec)&&(_0x20e892(),_0x56a7ae[_0x2196c3([0x6f,0x66,0x66])]());});}))];return window[_0x2196c3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2196c3([0x72,0x61,0x63,0x65])](_0x599cfc)[_0x2196c3([0x74,0x68,0x65,0x6e])](()=>_0xd693b3);}async function _0x5e612b(){await _0x1ae3d5,_0x2e2de7[_0x2196c3([0x6d,0x6f,0x64,0x65,0x6c])][_0x2196c3([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x59cec8,_0x2e2de7[_0x2196c3([0x6d,0x6f,0x64,0x65,0x6c])][_0x2196c3([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x59cec8,_0x2e2de7[_0x2196c3([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2196c3([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x136096(_0x43ed41){const _0xbf0c7a=_0x315616();_0x2e2de7[_0xbf0c7a]=_0x2196c3([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])+_0x43ed41,_0x43ed41!=_0x2196c3([0x56,0x61,0x6c,0x69,0x64])&&_0x5e612b();}function _0x315616(){const _0x1ac583=window[_0x2196c3([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2196c3([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2196c3([0x6e,0x6f,0x77])]())[_0x2196c3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2196c3([0x2e]),'');let _0x42aa7a=_0x2196c3([0x68]);for(let _0x19d916=0x0;_0x19d916<_0x1ac583[_0x2196c3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x19d916+=0x2){let _0x1b223b=window[_0x2196c3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1ac583[_0x2196c3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x19d916,_0x19d916+0x2));_0x1b223b>=_0x3754ae[_0x2196c3([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1b223b-=_0x3754ae[_0x2196c3([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x42aa7a+=_0x3754ae[_0x1b223b];}return _0x42aa7a;}function _0x292317(){const _0x11b8ac=_0x131b58[_0x2196c3([0x73,0x70,0x6c,0x69,0x74])](_0x2196c3([0x2e]));if(0x3!=_0x11b8ac[_0x2196c3([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3bd368(_0x11b8ac[0x1]);function _0x3bd368(_0x539507){const _0x3d83da=_0xefaa34(_0x539507);return _0x3d83da&&_0x49fd80()?_0x3d83da:null;function _0x49fd80(){const _0x1fb087=_0x3d83da[_0x2196c3([0x6a,0x74,0x69])],_0x2ffbf3=window[_0x2196c3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1fb087[_0x2196c3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1fb087[_0x2196c3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x391af0={..._0x3d83da,[_0x2196c3([0x6a,0x74,0x69])]:_0x1fb087[_0x2196c3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1fb087[_0x2196c3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x391af0[_0x2196c3([0x76,0x63])],_0x1addcd(_0x391af0)==_0x2ffbf3;}}}async function _0x280a5c(){let _0x33990d=!0x0;try{const _0x2f122a=_0x131b58[_0x2196c3([0x73,0x70,0x6c,0x69,0x74])](_0x2196c3([0x2e])),[_0x5827b6,_0x2c90a7,_0x4a2b65]=_0x2f122a;return _0x1bf146(_0x5827b6),await _0x1eb7a2(_0x5827b6,_0x2c90a7,_0x4a2b65),_0x33990d;}catch(_0x1bc351){return!0x1;}function _0x1bf146(_0x225275){const _0x432b4b=_0xefaa34(_0x225275);_0x432b4b&&_0x432b4b[_0x2196c3([0x61,0x6c,0x67])]==_0x2196c3([0x45,0x53,0x32,0x35,0x36])||(_0x33990d=!0x1);}async function _0x1eb7a2(_0x2ed80c,_0x20d2c9,_0x3f2683){const _0xab313=window[_0x2196c3([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2196c3([0x66,0x72,0x6f,0x6d])](_0x4bc4b0(_0x3f2683),_0x242c19=>_0x242c19[_0x2196c3([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xa95b11=new window[(_0x2196c3([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2196c3([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2ed80c+_0x2196c3([0x2e])+_0x20d2c9),_0xa9ef1f=window[_0x2196c3([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2196c3([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xa9ef1f)return;const _0x77c1f2=await _0xa9ef1f[_0x2196c3([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2196c3([0x6a,0x77,0x6b]),_0x2aa420,{[_0x2196c3([0x6e,0x61,0x6d,0x65])]:_0x2196c3([0x45,0x43,0x44,0x53,0x41]),[_0x2196c3([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2196c3([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2196c3([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xa9ef1f[_0x2196c3([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2196c3([0x6e,0x61,0x6d,0x65])]:_0x2196c3([0x45,0x43,0x44,0x53,0x41]),[_0x2196c3([0x68,0x61,0x73,0x68])]:{[_0x2196c3([0x6e,0x61,0x6d,0x65])]:_0x2196c3([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x77c1f2,_0xab313,_0xa95b11)||(_0x33990d=!0x1);}}function _0xefaa34(_0x312651){return _0x312651[_0x2196c3([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2196c3([0x65,0x79]))?JSON[_0x2196c3([0x70,0x61,0x72,0x73,0x65])](_0x4bc4b0(_0x312651)):null;}function _0x4bc4b0(_0x513213){return window[_0x2196c3([0x61,0x74,0x6f,0x62])](_0x513213[_0x2196c3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2196c3([0x2b]))[_0x2196c3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2196c3([0x2f])));}function _0x1addcd(_0x26c3fa){let _0x5e54b6=0x1505;function _0x3f9c2c(_0x36fb79){for(let _0x566041=0x0;_0x566041<_0x36fb79[_0x2196c3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x566041++){const _0x125a17=_0x36fb79[_0x2196c3([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x566041);_0x5e54b6=(_0x5e54b6<<0x5)+_0x5e54b6+_0x125a17,_0x5e54b6&=_0x5e54b6;}}function _0x36396f(_0x1a81ca){Array[_0x2196c3([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1a81ca)?_0x1a81ca[_0x2196c3([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x36396f):_0x1a81ca&&typeof _0x1a81ca==_0x2196c3([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2196c3([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1a81ca)[_0x2196c3([0x73,0x6f,0x72,0x74])]()[_0x2196c3([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x316438,_0x49a5cb])=>{_0x3f9c2c(_0x316438),_0x36396f(_0x49a5cb);}):_0x3f9c2c(window[_0x2196c3([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1a81ca));}return _0x36396f(_0x26c3fa),_0x5e54b6>>>0x0;}function _0x15c99b(_0x4877c9){return _0x4877c9[_0x2196c3([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2196c3([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2196c3([0x30]));}function _0x1fbf57(_0x1a6b7c){return _0x1a6b7c[_0x2196c3([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2196c3([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2196c3([0x6a,0x6f,0x69,0x6e])]('');}function _0x59cec8(){}function _0x2196c3(_0x4fb30c){return _0x4fb30c['map'](_0x10b6dd=>String['fromCharCode'](_0x10b6dd))['join']('');}_0x136096(await _0x410576());}(this);}['_createButton'](_0x2cbf06,_0x190ca9,_0x2d2ee1=!0x1){const _0x3c0e6c=new _0x2cbf06(this['editor']['locale']);return _0x3c0e6c['set']({'withText':_0x2d2ee1,'isToggleable':!0x1}),_0x3c0e6c['bind']('isEnabled')['to'](_0x190ca9,'isEnabled'),this['listenTo'](_0x3c0e6c,'execute',()=>_0x190ca9['execute']()),_0x3c0e6c;}['_registerKeybindings'](){const _0xd42a8b=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':f(_0xd42a8b,'Source\x20Editing\x20Enhanced')});const _0x16fe58=_0x4974ff['isMac']||_0x4974ff['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':f(_0xd42a8b,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':f(_0xd42a8b,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':f(_0xd42a8b,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':f(_0xd42a8b,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':f(_0xd42a8b,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':f(_0xd42a8b,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':f(_0xd42a8b,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x16fe58?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':f(_0xd42a8b,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':f(_0xd42a8b,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':f(_0xd42a8b,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':f(_0xd42a8b,'Select\x20line'),'keystroke':_0x16fe58?'Ctrl!+L':'Alt+L'},{'label':f(_0xd42a8b,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x16fe58?'Alt+Shift+M':'Ctrl+M'},{'label':f(_0xd42a8b,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':f(_0xd42a8b,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':f(_0xd42a8b,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':f(_0xd42a8b,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':f(_0xd42a8b,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x16fe58?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}class e extends _0x22b566{constructor(_0x8cd03d){super(_0x8cd03d),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0x3e1e5c,_0x2e3c5a){const _0x37deb=this['editor'],_0x630946=_0x2e3c5a?.['rootName']??s(_0x37deb);_0x37deb['data']['set']({[_0x630946]:_0x3e1e5c},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}class c extends _0x194bf5{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[a];}constructor(_0x5b8198){super(_0x5b8198),_0x5b8198['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 _0x3e8c98=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x5aa1e5;for(const _0x5348ee in _0x3e8c98){const _0x24dd9d=_0x5348ee,_0x4ca629=_0x3e8c98[_0x24dd9d];if('sourceEditingEnhancedLicenseKeyValid'==_0x4ca629||'sourceEditingEnhancedLicenseKeyInvalid'==_0x4ca629||'sourceEditingEnhancedLicenseKeyExpired'==_0x4ca629||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x4ca629||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x4ca629||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x4ca629||'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x4ca629||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x4ca629){delete _0x3e8c98[_0x24dd9d],_0x5aa1e5=_0x4ca629,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0x5aa1e5&&_0x3e8c98['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0x5aa1e5&&_0x3e8c98['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x5aa1e5&&_0x3e8c98['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x5aa1e5&&_0x3e8c98['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x5aa1e5&&_0x3e8c98['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x5aa1e5&&_0x3e8c98['_showLicenseError']('trialLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x5aa1e5&&_0x3e8c98['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0x30f9b0=this['editor'],_0x50f39a=_0x30f9b0['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0x50f39a&&_0x30f9b0['plugins']['has']('RealTimeCollaborativeEditing'))throw new _0x4bda23('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0x50f39a&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x24261b=>_0x30f9b0['plugins']['has'](_0x24261b))&&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.'),_0x30f9b0['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-next-20250211.0",
|
|
4
4
|
"description": "Source editing enhanced feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -18,10 +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-
|
|
23
|
-
"@ckeditor/ckeditor5-
|
|
24
|
-
"@ckeditor/ckeditor5-
|
|
21
|
+
"@ckeditor/ckeditor5-core": "0.0.0-nightly-next-20250211.0",
|
|
22
|
+
"@ckeditor/ckeditor5-icons": "0.0.0-nightly-next-20250211.0",
|
|
23
|
+
"@ckeditor/ckeditor5-theme-lark": "0.0.0-nightly-next-20250211.0",
|
|
24
|
+
"@ckeditor/ckeditor5-ui": "0.0.0-nightly-next-20250211.0",
|
|
25
|
+
"@ckeditor/ckeditor5-utils": "0.0.0-nightly-next-20250211.0",
|
|
25
26
|
"@codemirror/autocomplete": "6.18.4",
|
|
26
27
|
"@codemirror/commands": "6.8.0",
|
|
27
28
|
"@codemirror/lang-html": "6.4.9",
|
|
@@ -29,7 +30,7 @@
|
|
|
29
30
|
"@codemirror/language": "6.10.8",
|
|
30
31
|
"@codemirror/state": "6.5.2",
|
|
31
32
|
"@codemirror/view": "6.36.2",
|
|
32
|
-
"ckeditor5": "0.0.0-nightly-
|
|
33
|
+
"ckeditor5": "0.0.0-nightly-next-20250211.0"
|
|
33
34
|
},
|
|
34
35
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
35
36
|
"author": "CKSource (http://cksource.com/)",
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x3c173b,_0x3d630e){var _0x5ccfec=_0x2093,_0x19a3a0=_0x3c173b();while(!![]){try{var _0x14f909=parseInt(_0x5ccfec(0x1ad))/0x1*(-parseInt(_0x5ccfec(0x1b3))/0x2)+-parseInt(_0x5ccfec(0x1ab))/0x3+parseInt(_0x5ccfec(0x1ac))/0x4*(parseInt(_0x5ccfec(0x1b2))/0x5)+parseInt(_0x5ccfec(0x1aa))/0x6+parseInt(_0x5ccfec(0x1af))/0x7*(parseInt(_0x5ccfec(0x1b0))/0x8)+parseInt(_0x5ccfec(0x1b1))/0x9+-parseInt(_0x5ccfec(0x1ae))/0xa*(parseInt(_0x5ccfec(0x1b4))/0xb);if(_0x14f909===_0x3d630e)break;else _0x19a3a0['push'](_0x19a3a0['shift']());}catch(_0x3cbd26){_0x19a3a0['push'](_0x19a3a0['shift']());}}}(_0x3a08,0x9e88e));function _0x2093(_0x5a21c1,_0x2c9e8a){var _0x3a084c=_0x3a08();return _0x2093=function(_0x209300,_0x107a88){_0x209300=_0x209300-0x1aa;var _0x346a0a=_0x3a084c[_0x209300];return _0x346a0a;},_0x2093(_0x5a21c1,_0x2c9e8a);}export{default as SourceEditingEnhanced}from'./sourceeditingenhanced.js';export{default as ReplaceSourceCommand}from'./replacesourcecommand.js';function _0x3a08(){var _0x193d6b=['14hXqwHi','2641336HUBPyb','7521426rxHnNj','5SaRpZb','3862vcrRcb','275oNRORa','3640596OjFPwt','278154rynTrt','118796BcsAgF','652ffdRqZ','52570FvQpXQ'];_0x3a08=function(){return _0x193d6b;};return _0x3a08();}export{default as EditSourceCommand}from'./ui/editsourcecommand.js';import'./augmentation.js';
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x4980bf=_0x48e8;(function(_0x517c98,_0x167419){const _0x276c55=_0x48e8,_0x1c6dec=_0x517c98();while(!![]){try{const _0x4cc37a=parseInt(_0x276c55(0xa2))/0x1+parseInt(_0x276c55(0xa0))/0x2+-parseInt(_0x276c55(0xa6))/0x3+parseInt(_0x276c55(0xa9))/0x4+-parseInt(_0x276c55(0xa4))/0x5+-parseInt(_0x276c55(0xa5))/0x6+-parseInt(_0x276c55(0xac))/0x7;if(_0x4cc37a===_0x167419)break;else _0x1c6dec['push'](_0x1c6dec['shift']());}catch(_0x278691){_0x1c6dec['push'](_0x1c6dec['shift']());}}}(_0x3d52,0xee99f));import{Command as _0x183eab}from'ckeditor5/src/core.js';function _0x48e8(_0x20164f,_0x1261ae){const _0x3d52be=_0x3d52();return _0x48e8=function(_0x48e898,_0x31f4e8){_0x48e898=_0x48e898-0xa0;let _0xf86904=_0x3d52be[_0x48e898];return _0xf86904;},_0x48e8(_0x20164f,_0x1261ae);}import{getActiveRootName as _0x32e3ea}from'./utils/getactiverootname.js';function _0x3d52(){const _0x2e1fec=['2308040zUODKc','data','1303503llpRMB','refresh','4549410pUsMih','1783854MbdoTY','1290483qqxGFZ','rootName','isReadOnly','1539244YuXZML','editor','isEnabled','1593697ZeDXDE','set','execute'];_0x3d52=function(){return _0x2e1fec;};return _0x3d52();}export default class e extends _0x183eab{constructor(_0x4e22d2){const _0x3b65bc=_0x48e8;super(_0x4e22d2),this[_0x3b65bc(0xa3)]();}[_0x4980bf(0xa3)](){const _0x9c4fde=_0x4980bf;this[_0x9c4fde(0xab)]=!this[_0x9c4fde(0xaa)][_0x9c4fde(0xa8)];}[_0x4980bf(0xae)](_0x507a91,_0x4fbbe4){const _0x4b0ba3=_0x4980bf,_0x28dabd=this[_0x4b0ba3(0xaa)],_0x17b5a2=_0x4fbbe4?.[_0x4b0ba3(0xa7)]??_0x32e3ea(_0x28dabd);_0x28dabd[_0x4b0ba3(0xa1)][_0x4b0ba3(0xad)]({[_0x17b5a2]:_0x507a91},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x312329=_0x2de2;(function(_0x5e5e44,_0x4785e6){const _0x19b3f4=_0x2de2,_0x3cf0f1=_0x5e5e44();while(!![]){try{const _0x1d7a35=parseInt(_0x19b3f4(0x21c))/0x1*(parseInt(_0x19b3f4(0x1f2))/0x2)+parseInt(_0x19b3f4(0x218))/0x3+-parseInt(_0x19b3f4(0x211))/0x4+-parseInt(_0x19b3f4(0x1fa))/0x5*(-parseInt(_0x19b3f4(0x225))/0x6)+parseInt(_0x19b3f4(0x1f4))/0x7*(-parseInt(_0x19b3f4(0x229))/0x8)+-parseInt(_0x19b3f4(0x227))/0x9+parseInt(_0x19b3f4(0x224))/0xa*(parseInt(_0x19b3f4(0x219))/0xb);if(_0x1d7a35===_0x4785e6)break;else _0x3cf0f1['push'](_0x3cf0f1['shift']());}catch(_0x178a2e){_0x3cf0f1['push'](_0x3cf0f1['shift']());}}}(_0x1cfa,0xc3cd5));import{Plugin as _0x46034c}from'ckeditor5/src/core.js';function _0x1cfa(){const _0x564c61=['sourceEditingEnhancedLicenseKeyNotAllowed','sourceEditingEnhancedLicenseKeyInvalid','expired','RevisionHistory','warn','has','invalid','destroy','RealTimeCollaborativeEditing','add','RestrictedEditingModeEditing','sourceEditingEnhanced.allowCollaborationFeatures','source-editing-enhanced-incompatible-with-real-time-collaboration','commands','sourceEditingEnhancedLicenseKeyDomainLimit','pluginName','usageLimit','4685072Paujwn','CommentsEditing','config','TrackChangesEditing','_showLicenseError','sourceEditingEnhancedLicenseKeyUsageLimit','replaceSource','3679293XRmhga','55CUfWHx','some','sourceEditingEnhancedLicenseKeyTrialLimit','1GyTWeK','sourceEditingEnhancedLicenseKeyValid','licenseKey','sourceEditingEnhancedLicenseKeyExpired','domainLimit','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.','requires','featureNotAllowed','1694470vSQFqo','5063070cdiQHi','sourceEditingEnhancedLicenseKeyEvaluationLimit','13451292aXoVaG','plugins','872vNpTHJ','init','1670770SCYpBE','isPremiumPlugin','18305YGvHpF','get','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.','define','editor','isOfficialPlugin','5zCJYtK','_checkCompatibility','_licenseKeyCheckInterval','evaluationLimit','trialLimit','SourceEditingEnhanced'];_0x1cfa=function(){return _0x564c61;};return _0x1cfa();}import{CKEditorError as _0xcbdce9}from'ckeditor5/src/utils.js';import _0x58b3e5 from'./sourceeditingenhancedui.js';import _0x120094 from'./replacesourcecommand.js';function _0x2de2(_0x1acfa6,_0x1a3c97){const _0x1cfa19=_0x1cfa();return _0x2de2=function(_0x2de242,_0x34abb1){_0x2de242=_0x2de242-0x1f1;let _0x5c46cf=_0x1cfa19[_0x2de242];return _0x5c46cf;},_0x2de2(_0x1acfa6,_0x1a3c97);}import'../theme/sourceeditingenhanced.css';export default class c extends _0x46034c{[_0x312329(0x21e)];[_0x312329(0x1fc)];static get[_0x312329(0x20f)](){const _0x3d5f9a=_0x312329;return _0x3d5f9a(0x1ff);}static get[_0x312329(0x1f9)](){return!0x0;}static get[_0x312329(0x1f3)](){return!0x0;}static get[_0x312329(0x222)](){return[_0x58b3e5];}constructor(_0x521dc2){const _0x197873=_0x312329;super(_0x521dc2),_0x521dc2[_0x197873(0x213)][_0x197873(0x1f7)](_0x197873(0x20b),!0x1);}[_0x312329(0x1f1)](){const _0x5a4c0b=_0x312329;this[_0x5a4c0b(0x1fb)](),this[_0x5a4c0b(0x1f8)][_0x5a4c0b(0x20d)][_0x5a4c0b(0x209)](_0x5a4c0b(0x217),new _0x120094(this[_0x5a4c0b(0x1f8)])),this[_0x5a4c0b(0x21e)]=this[_0x5a4c0b(0x1f8)][_0x5a4c0b(0x213)][_0x5a4c0b(0x1f5)](_0x5a4c0b(0x21e));const _0x49dc0a=this[_0x5a4c0b(0x1f8)];this[_0x5a4c0b(0x1fc)]=setInterval(()=>{const _0x37cf86=_0x5a4c0b;let _0x4b81b9;for(const _0x3c4c54 in _0x49dc0a){const _0x3ffecb=_0x3c4c54,_0x5bab14=_0x49dc0a[_0x3ffecb];if(_0x37cf86(0x21d)==_0x5bab14||_0x37cf86(0x201)==_0x5bab14||_0x37cf86(0x21f)==_0x5bab14||_0x37cf86(0x20e)==_0x5bab14||_0x37cf86(0x200)==_0x5bab14||_0x37cf86(0x226)==_0x5bab14||_0x37cf86(0x21b)==_0x5bab14||_0x37cf86(0x216)==_0x5bab14){delete _0x49dc0a[_0x3ffecb],_0x4b81b9=_0x5bab14,clearInterval(this[_0x37cf86(0x1fc)]),this[_0x37cf86(0x1fc)]=void 0x0;break;}}_0x37cf86(0x201)==_0x4b81b9&&_0x49dc0a[_0x37cf86(0x215)](_0x37cf86(0x206)),_0x37cf86(0x21f)==_0x4b81b9&&_0x49dc0a[_0x37cf86(0x215)](_0x37cf86(0x202)),_0x37cf86(0x20e)==_0x4b81b9&&_0x49dc0a[_0x37cf86(0x215)](_0x37cf86(0x220)),_0x37cf86(0x200)==_0x4b81b9&&_0x49dc0a[_0x37cf86(0x215)](_0x37cf86(0x223),_0x37cf86(0x1ff)),_0x37cf86(0x226)==_0x4b81b9&&_0x49dc0a[_0x37cf86(0x215)](_0x37cf86(0x1fd)),_0x37cf86(0x21b)==_0x4b81b9&&_0x49dc0a[_0x37cf86(0x215)](_0x37cf86(0x1fe)),_0x37cf86(0x216)==_0x4b81b9&&_0x49dc0a[_0x37cf86(0x215)](_0x37cf86(0x210));},0x3e8);}[_0x312329(0x207)](){const _0x56e9ba=_0x312329;this[_0x56e9ba(0x1fc)]&&clearInterval(this[_0x56e9ba(0x1fc)]);}[_0x312329(0x1fb)](){const _0x2f3a90=_0x312329,_0x10e6d5=this[_0x2f3a90(0x1f8)],_0x405961=_0x10e6d5[_0x2f3a90(0x213)][_0x2f3a90(0x1f5)](_0x2f3a90(0x20b));if(!_0x405961&&_0x10e6d5[_0x2f3a90(0x228)][_0x2f3a90(0x205)](_0x2f3a90(0x208)))throw new _0xcbdce9(_0x2f3a90(0x20c),null);!_0x405961&&[_0x2f3a90(0x212),_0x2f3a90(0x214),_0x2f3a90(0x203)][_0x2f3a90(0x21a)](_0x1c7ab7=>_0x10e6d5[_0x2f3a90(0x228)][_0x2f3a90(0x205)](_0x1c7ab7))&&console[_0x2f3a90(0x204)](_0x2f3a90(0x221)),_0x10e6d5[_0x2f3a90(0x228)][_0x2f3a90(0x205)](_0x2f3a90(0x20a))&&console[_0x2f3a90(0x204)](_0x2f3a90(0x1f6));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x39ff1a=_0x47d9;function _0x47d9(_0x257d5d,_0x2321f6){const _0x5a812d=_0x5a81();return _0x47d9=function(_0x47d964,_0x139109){_0x47d964=_0x47d964-0x116;let _0x395243=_0x5a812d[_0x47d964];return _0x395243;},_0x47d9(_0x257d5d,_0x2321f6);}(function(_0x591134,_0x31d81d){const _0x212af5=_0x47d9,_0x210518=_0x591134();while(!![]){try{const _0x578aa3=-parseInt(_0x212af5(0x155))/0x1+-parseInt(_0x212af5(0x15d))/0x2+-parseInt(_0x212af5(0x117))/0x3+-parseInt(_0x212af5(0x13f))/0x4*(-parseInt(_0x212af5(0x139))/0x5)+parseInt(_0x212af5(0x148))/0x6*(-parseInt(_0x212af5(0x12e))/0x7)+-parseInt(_0x212af5(0x12b))/0x8*(parseInt(_0x212af5(0x137))/0x9)+parseInt(_0x212af5(0x154))/0xa*(parseInt(_0x212af5(0x13e))/0xb);if(_0x578aa3===_0x31d81d)break;else _0x210518['push'](_0x210518['shift']());}catch(_0x36b470){_0x210518['push'](_0x210518['shift']());}}}(_0x5a81,0x9fb20));import{Plugin as _0x2f1b61,PendingActions as _0x3df5d5,icons as _0x5006ca}from'ckeditor5/src/core.js';import{ButtonView as _0x1a5a97,MenuBarMenuListItemButtonView as _0x2477a4}from'ckeditor5/src/ui.js';import _0x43e99b from'./ui/editsourcecommand.js';function _0x5a81(){const _0x1dd976=['Source','Alt+ArrowDown','locale','addKeystrokeInfoCategory','Edit\x20source\x20modal\x20label','Ctrl+/','isPremiumPlugin','Shift+Alt+ArrowDown','requires','Unfold\x20all','200944aTxtTo','add','join','42zdpnuG','sourceEditingEnhanced','Fold\x20all','Select\x20line','Shift+Ctrl+K','Source\x20Editing\x20Enhanced','map','Copy\x20line\x20up','menuBar:sourceEditingEnhanced','36YQamWb','Undo\x20(keystroke)','620465zkdjix','Toggle\x20block\x20comment','source','isiOS','componentFactory','616mVelzI','8JHSlnY','ck-source-editing-enhanced-button','Alt+Shift+M','Ctrl!+Alt+[','accessibility','Move\x20line\x20up','Ctrl+Y','isMac','Ctrl!+Alt+]','1171446ucUYwV','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode','Shift+Alt+ArrowUp','afterInit','_createButton','Ctrl+M','Shift+Alt+A','set','Copy\x20line\x20down','addKeystrokeInfos','_registerKeybindings','Unfold\x20code\x20(current\x20level)','572870DLwnNI','249460qxOQGt','editor','menuitemcheckbox','Ctrl+]','Alt+L','isOfficialPlugin','href','Ctrl+Shift+]','2358220ClFTZZ','Cmd+Alt+[','Ctrl+Z','execute','Ctrl+[','commands','Move\x20line\x20down','Redo\x20(keystroke)','Alt+ArrowUp','Ctrl+Shift+Z','SourceEditingEnhancedUI','Delete\x20line','Ctrl+Shift+[','editSource','init','Ctrl!+L','Cmd+Alt+]','304974uWZwNu','pluginName','isEnabled','Fold\x20code\x20(current\x20level)','listenTo','Indent\x20more','fromCharCode','Indent\x20less','Toggle\x20comment','bind'];_0x5a81=function(){return _0x1dd976;};return _0x5a81();}import{getTranslation as _0x3aad65}from'./utils/common-translations.js';import{env as _0x21639b,uid as _0xcb04d2}from'ckeditor5/src/utils.js';import'../theme/sourceeditingenhanced.css';export default class n extends _0x2f1b61{static get[_0x39ff1a(0x118)](){const _0x1ff4c1=_0x39ff1a;return _0x1ff4c1(0x167);}static get[_0x39ff1a(0x129)](){return[_0x3df5d5];}static get[_0x39ff1a(0x15a)](){return!0x0;}static get[_0x39ff1a(0x127)](){return!0x0;}[_0x39ff1a(0x16b)](){const _0x1ceec5=_0x39ff1a,_0x240e3f=this[_0x1ceec5(0x156)],_0x4be16f=_0x240e3f[_0x1ceec5(0x123)],_0x1c921c=new _0x43e99b(_0x240e3f);_0x240e3f[_0x1ceec5(0x162)][_0x1ceec5(0x12c)](_0x1ceec5(0x16a),_0x1c921c),_0x240e3f['ui'][_0x1ceec5(0x13d)][_0x1ceec5(0x12c)](_0x1ceec5(0x12f),()=>{const _0x1ea44b=_0x1ceec5,_0x4952fa=this[_0x1ea44b(0x14c)](_0x1a5a97,_0x1c921c);return _0x4952fa[_0x1ea44b(0x14f)]({'label':_0x3aad65(_0x4be16f,_0x1ea44b(0x121)),'icon':_0x5006ca[_0x1ea44b(0x13b)],'tooltip':_0x3aad65(_0x4be16f,_0x1ea44b(0x125)),'class':_0x1ea44b(0x140)}),_0x4952fa;}),_0x240e3f['ui'][_0x1ceec5(0x13d)][_0x1ceec5(0x12c)](_0x1ceec5(0x136),()=>{const _0x4b6550=_0x1ceec5,_0x5611bb=this[_0x4b6550(0x14c)](_0x2477a4,_0x1c921c,!0x0);return _0x5611bb[_0x4b6550(0x14f)]({'label':_0x3aad65(_0x4be16f,_0x4b6550(0x125)),'icon':_0x5006ca[_0x4b6550(0x13b)],'role':_0x4b6550(0x157)}),_0x5611bb;}),this[_0x1ceec5(0x152)]();}[_0x39ff1a(0x14b)](){!async function(_0x234bb1){const _0x1852a2=_0x30aa0e([0x32,0x62,0x5a,0x66,0x45,0x37,0x61,0x58,0x46,0x4f,0x4a,0x69,0x44,0x68,0x4b,0x78,0x79,0x36,0x47,0x57,0x55,0x76,0x6c,0x65,0x63,0x6a,0x50,0x6e,0x34,0x51,0x71,0x33,0x70,0x75,0x6d,0x4d,0x59,0x42,0x4e,0x67,0x41,0x39,0x52,0x74,0x4c,0x7a,0x54,0x49,0x72,0x38,0x6b,0x77,0x43,0x56,0x48,0x73,0x64,0x53,0x35,0x31,0x30,0x6f]),_0x23b98c=0x6c7eccb7,_0x971b3=0x6c7993af^_0x23b98c,_0x35420d=window[_0x30aa0e([0x44,0x61,0x74,0x65])][_0x30aa0e([0x6e,0x6f,0x77])](),_0x1c87a5=_0x234bb1[_0x30aa0e([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x589b6a=new window[(_0x30aa0e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x30b587=>{_0x1c87a5[_0x30aa0e([0x6f,0x6e,0x63,0x65])](_0x30aa0e([0x72,0x65,0x61,0x64,0x79]),_0x30b587);}),_0x1970a8={[_0x30aa0e([0x6b,0x74,0x79])]:_0x30aa0e([0x45,0x43]),[_0x30aa0e([0x75,0x73,0x65])]:_0x30aa0e([0x73,0x69,0x67]),[_0x30aa0e([0x63,0x72,0x76])]:_0x30aa0e([0x50,0x2d,0x32,0x35,0x36]),[_0x30aa0e([0x78])]:_0x30aa0e([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]),[_0x30aa0e([0x79])]:_0x30aa0e([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]),[_0x30aa0e([0x61,0x6c,0x67])]:_0x30aa0e([0x45,0x53,0x32,0x35,0x36])},_0x42df70=_0x1c87a5[_0x30aa0e([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x30aa0e([0x67,0x65,0x74])](_0x30aa0e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x53e24f(){let _0x2fc86f,_0x46820c=null,_0x55f383=null;try{if(_0x42df70==_0x30aa0e([0x47,0x50,0x4c]))return _0x30aa0e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2fc86f=_0x25ceea(),!_0x2fc86f)return _0x30aa0e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2fc86f[_0x30aa0e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x55f383=_0x4e5ef5(_0x2fc86f[_0x30aa0e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2fc86f[_0x30aa0e([0x6a,0x74,0x69])])),await _0x4641bc()?_0x251435()?_0x2639e7()?_0x30aa0e([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3656f8()?(_0x2fc86f[_0x30aa0e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x30aa0e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x46820c=_0x6d04f7(_0x30aa0e([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2fc86f[_0x30aa0e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x30aa0e([0x74,0x72,0x69,0x61,0x6c])&&(_0x46820c=_0x6d04f7(_0x30aa0e([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x41c4f1()):_0x30aa0e([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x30aa0e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x30aa0e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x21da3a){return _0x30aa0e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2639e7(){const _0x4e89c0=[_0x30aa0e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x30aa0e([0x74,0x72,0x69,0x61,0x6c])][_0x30aa0e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2fc86f[_0x30aa0e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x35420d/0x3e8:0xe10*_0x971b3;return _0x2fc86f[_0x30aa0e([0x65,0x78,0x70])]<_0x4e89c0;}function _0x251435(){const _0x426953=_0x2fc86f[_0x30aa0e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x426953&&(!!_0x426953[_0x30aa0e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x30aa0e([0x2a]))||!!_0x426953[_0x30aa0e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x30aa0e([0x53,0x45,0x45])));}function _0x3656f8(){const _0x2e4ce0=_0x47d9,_0x3c3404=_0x2fc86f[_0x30aa0e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3c3404||0x0==_0x3c3404[_0x30aa0e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3c5cea}=new URL(window[_0x30aa0e([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x2e4ce0(0x15b)]);if(_0x3c3404[_0x30aa0e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3c5cea))return!0x0;const _0x3fa953=_0x3c5cea[_0x30aa0e([0x73,0x70,0x6c,0x69,0x74])](_0x30aa0e([0x2e]));return _0x3c3404[_0x30aa0e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1202a0=>_0x1202a0[_0x30aa0e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x30aa0e([0x2a])))[_0x30aa0e([0x6d,0x61,0x70])](_0x2ac8c8=>_0x2ac8c8[_0x30aa0e([0x73,0x70,0x6c,0x69,0x74])](_0x30aa0e([0x2e])))[_0x30aa0e([0x73,0x6f,0x6d,0x65])](_0x3c28e6=>_0x3fa953[_0x30aa0e([0x65,0x76,0x65,0x72,0x79])]((_0x4e820f,_0xe2e5ad)=>_0x3c28e6[_0xe2e5ad]===_0x4e820f||_0x3c28e6[_0xe2e5ad]===_0x30aa0e([0x2a])));}function _0x41c4f1(){return _0x46820c&&_0x55f383?new window[(_0x30aa0e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2086cb,_0x38fb38)=>{_0x46820c[_0x30aa0e([0x74,0x68,0x65,0x6e])](_0x2086cb,_0x38fb38),_0x55f383[_0x30aa0e([0x74,0x68,0x65,0x6e])](_0x4f619c=>{_0x4f619c!=_0x30aa0e([0x56,0x61,0x6c,0x69,0x64])&&_0x2086cb(_0x4f619c);},_0x38fb38);}):_0x46820c||_0x55f383||_0x30aa0e([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4e5ef5(_0x392459,_0xac2a6c){return new window[(_0x30aa0e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5da220=>{if(_0x5bf04b())return _0x5da220(_0x30aa0e([0x56,0x61,0x6c,0x69,0x64]));_0x1fe1d8(),_0x1c87a5[_0x30aa0e([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x30aa0e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3e27a8=!0x1;const _0x192455=_0xcb04d2();function _0x5d0672(_0x35e974){return!!_0x35e974&&(typeof _0x35e974===_0x30aa0e([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x35e974===_0x30aa0e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x35e974[_0x30aa0e([0x74,0x68,0x65,0x6e])]===_0x30aa0e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x35e974[_0x30aa0e([0x63,0x61,0x74,0x63,0x68])]===_0x30aa0e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5b1e73(_0x12ddee){_0x39c49e(_0x12ddee)[_0x30aa0e([0x74,0x68,0x65,0x6e])](_0x13b1e8=>{if(!_0x13b1e8||_0x13b1e8[_0x30aa0e([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x30aa0e([0x6f,0x6b]))return _0x30aa0e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x45e175(_0x41ae0b(_0x192455+_0xac2a6c))!=_0x13b1e8[_0x30aa0e([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x30aa0e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x30aa0e([0x56,0x61,0x6c,0x69,0x64]);})[_0x30aa0e([0x74,0x68,0x65,0x6e])](_0xbaaa14=>(_0xe561d1(),_0xbaaa14),()=>{const _0x139bb5=_0x19e984();return null==_0x139bb5?(_0xe561d1(),_0x30aa0e([0x56,0x61,0x6c,0x69,0x64])):_0x30aa0e(_0x35420d-_0x139bb5>(0x487248b7^_0x23b98c)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x30aa0e([0x74,0x68,0x65,0x6e])](_0x5da220)[_0x30aa0e([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5da220(_0x30aa0e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xc441db=0x6c482237^_0x23b98c;function _0xe561d1(){const _0x5337db=_0x30aa0e([0x6c,0x6c,0x63,0x74,0x2d])+_0x45e175(_0x41ae0b(_0x392459)),_0x524e97=_0x4b44d6(_0x45e175(window[_0x30aa0e([0x4d,0x61,0x74,0x68])][_0x30aa0e([0x63,0x65,0x69,0x6c])](_0x35420d/_0xc441db)));window[_0x30aa0e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x30aa0e([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5337db,_0x524e97);}function _0x19e984(){const _0x4a632f=_0x30aa0e([0x6c,0x6c,0x63,0x74,0x2d])+_0x45e175(_0x41ae0b(_0x392459)),_0x4e5a19=window[_0x30aa0e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x30aa0e([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4a632f);return _0x4e5a19?window[_0x30aa0e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4b44d6(_0x4e5a19),0x10)*_0xc441db:null;}function _0x39c49e(_0x5deddb){return new window[(_0x30aa0e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2846a7,_0x440a93)=>{_0x5deddb[_0x30aa0e([0x74,0x68,0x65,0x6e])](_0x2846a7,_0x440a93),window[_0x30aa0e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x440a93,0x6c7f1877^_0x23b98c);});}}_0x1c87a5[_0x30aa0e([0x6f,0x6e])](_0x30aa0e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x27a08f,_0x89db87)=>{if(_0x89db87[0x0]!=_0x392459)return _0x5da220(_0x30aa0e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x89db87[0x1]={..._0x89db87[0x1],[_0x30aa0e([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x192455};},{[_0x30aa0e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x30aa0e([0x68,0x69,0x67,0x68])}),_0x1c87a5[_0x30aa0e([0x6f,0x6e])](_0x30aa0e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x13e435=>{_0x5d0672(_0x13e435[_0x30aa0e([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3e27a8=!0x0,_0x5b1e73(_0x13e435[_0x30aa0e([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x30aa0e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x30aa0e([0x6c,0x6f,0x77])}),_0x589b6a[_0x30aa0e([0x74,0x68,0x65,0x6e])](()=>{_0x3e27a8||_0x5da220(_0x30aa0e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5bf04b(){return _0x1c87a5[_0x30aa0e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x30aa0e([0x76,0x69,0x65,0x77])][_0x30aa0e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x30aa0e([0x61,0x75,0x74,0x6f]);}function _0x1fe1d8(){_0x1c87a5[_0x30aa0e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x30aa0e([0x76,0x69,0x65,0x77])][_0x30aa0e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x30aa0e([0x61,0x75,0x74,0x6f]);}}function _0x6d04f7(_0x4ccf2f){const _0x20dd09=[new window[(_0x30aa0e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x402303=>setTimeout(_0x402303,0x6c77f27b^_0x23b98c)),_0x589b6a[_0x30aa0e([0x74,0x68,0x65,0x6e])](()=>new window[(_0x30aa0e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1f00d3=>{let _0xb2a4a8=0x0;_0x1c87a5[_0x30aa0e([0x6d,0x6f,0x64,0x65,0x6c])][_0x30aa0e([0x6f,0x6e])](_0x30aa0e([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1cb28b,_0x13551a)=>{_0x13551a[0x0][_0x30aa0e([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xb2a4a8++,_0xb2a4a8==(0x6c7ecd4f^_0x23b98c)&&(_0x1f00d3(),_0x1cb28b[_0x30aa0e([0x6f,0x66,0x66])]());});}))];return window[_0x30aa0e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x30aa0e([0x72,0x61,0x63,0x65])](_0x20dd09)[_0x30aa0e([0x74,0x68,0x65,0x6e])](()=>_0x4ccf2f);}async function _0x444c1b(){await _0x589b6a,_0x1c87a5[_0x30aa0e([0x6d,0x6f,0x64,0x65,0x6c])][_0x30aa0e([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x43e7d8,_0x1c87a5[_0x30aa0e([0x6d,0x6f,0x64,0x65,0x6c])][_0x30aa0e([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x43e7d8,_0x1c87a5[_0x30aa0e([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x30aa0e([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xd30bb4(_0x52ee79){const _0x28c9db=_0xfeb6ef();_0x1c87a5[_0x28c9db]=_0x30aa0e([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])+_0x52ee79,_0x52ee79!=_0x30aa0e([0x56,0x61,0x6c,0x69,0x64])&&_0x444c1b();}function _0xfeb6ef(){const _0x10dc00=window[_0x30aa0e([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x30aa0e([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x30aa0e([0x6e,0x6f,0x77])]())[_0x30aa0e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x30aa0e([0x2e]),'');let _0x16ed95=_0x30aa0e([0x62]);for(let _0x1c6f57=0x0;_0x1c6f57<_0x10dc00[_0x30aa0e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1c6f57+=0x2){let _0x481672=window[_0x30aa0e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x10dc00[_0x30aa0e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1c6f57,_0x1c6f57+0x2));_0x481672>=_0x1852a2[_0x30aa0e([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x481672-=_0x1852a2[_0x30aa0e([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x16ed95+=_0x1852a2[_0x481672];}return _0x16ed95;}function _0x25ceea(){const _0x5348d9=_0x42df70[_0x30aa0e([0x73,0x70,0x6c,0x69,0x74])](_0x30aa0e([0x2e]));if(0x3!=_0x5348d9[_0x30aa0e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x38e6bf(_0x5348d9[0x1]);function _0x38e6bf(_0x1f8cb3){const _0xd17047=_0x435bc3(_0x1f8cb3);return _0xd17047&&_0x40afa9()?_0xd17047:null;function _0x40afa9(){const _0x2ad457=_0xd17047[_0x30aa0e([0x6a,0x74,0x69])],_0x5b6d69=window[_0x30aa0e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2ad457[_0x30aa0e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2ad457[_0x30aa0e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2d1e61={..._0xd17047,[_0x30aa0e([0x6a,0x74,0x69])]:_0x2ad457[_0x30aa0e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2ad457[_0x30aa0e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2d1e61[_0x30aa0e([0x76,0x63])],_0x41ae0b(_0x2d1e61)==_0x5b6d69;}}}async function _0x4641bc(){let _0x591f7e=!0x0;try{const _0x212f30=_0x42df70[_0x30aa0e([0x73,0x70,0x6c,0x69,0x74])](_0x30aa0e([0x2e])),[_0x560043,_0xd82a2d,_0x3bb142]=_0x212f30;return _0x1b2176(_0x560043),await _0x3d7a18(_0x560043,_0xd82a2d,_0x3bb142),_0x591f7e;}catch(_0x43ae5e){return!0x1;}function _0x1b2176(_0x29951b){const _0xfc728e=_0x435bc3(_0x29951b);_0xfc728e&&_0xfc728e[_0x30aa0e([0x61,0x6c,0x67])]==_0x30aa0e([0x45,0x53,0x32,0x35,0x36])||(_0x591f7e=!0x1);}async function _0x3d7a18(_0x33954d,_0x433390,_0x4e9e2f){const _0x3b95ed=window[_0x30aa0e([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x30aa0e([0x66,0x72,0x6f,0x6d])](_0x306643(_0x4e9e2f),_0x248d0d=>_0x248d0d[_0x30aa0e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xfac087=new window[(_0x30aa0e([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x30aa0e([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x33954d+_0x30aa0e([0x2e])+_0x433390),_0x5e7eba=window[_0x30aa0e([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x30aa0e([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5e7eba)return;const _0x1d07d4=await _0x5e7eba[_0x30aa0e([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x30aa0e([0x6a,0x77,0x6b]),_0x1970a8,{[_0x30aa0e([0x6e,0x61,0x6d,0x65])]:_0x30aa0e([0x45,0x43,0x44,0x53,0x41]),[_0x30aa0e([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x30aa0e([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x30aa0e([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5e7eba[_0x30aa0e([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x30aa0e([0x6e,0x61,0x6d,0x65])]:_0x30aa0e([0x45,0x43,0x44,0x53,0x41]),[_0x30aa0e([0x68,0x61,0x73,0x68])]:{[_0x30aa0e([0x6e,0x61,0x6d,0x65])]:_0x30aa0e([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1d07d4,_0x3b95ed,_0xfac087)||(_0x591f7e=!0x1);}}function _0x435bc3(_0x3c3852){return _0x3c3852[_0x30aa0e([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x30aa0e([0x65,0x79]))?JSON[_0x30aa0e([0x70,0x61,0x72,0x73,0x65])](_0x306643(_0x3c3852)):null;}function _0x306643(_0x569f98){return window[_0x30aa0e([0x61,0x74,0x6f,0x62])](_0x569f98[_0x30aa0e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x30aa0e([0x2b]))[_0x30aa0e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x30aa0e([0x2f])));}function _0x41ae0b(_0x97d205){let _0x1f132c=0x1505;function _0x3346ff(_0x46cb8c){for(let _0x21c123=0x0;_0x21c123<_0x46cb8c[_0x30aa0e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x21c123++){const _0x17274e=_0x46cb8c[_0x30aa0e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x21c123);_0x1f132c=(_0x1f132c<<0x5)+_0x1f132c+_0x17274e,_0x1f132c&=_0x1f132c;}}function _0x20e567(_0x45f150){Array[_0x30aa0e([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x45f150)?_0x45f150[_0x30aa0e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x20e567):_0x45f150&&typeof _0x45f150==_0x30aa0e([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x30aa0e([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x45f150)[_0x30aa0e([0x73,0x6f,0x72,0x74])]()[_0x30aa0e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x157d58,_0x489ce1])=>{_0x3346ff(_0x157d58),_0x20e567(_0x489ce1);}):_0x3346ff(window[_0x30aa0e([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x45f150));}return _0x20e567(_0x97d205),_0x1f132c>>>0x0;}function _0x45e175(_0x1e3b81){return _0x1e3b81[_0x30aa0e([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x30aa0e([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x30aa0e([0x30]));}function _0x4b44d6(_0x135c28){return _0x135c28[_0x30aa0e([0x73,0x70,0x6c,0x69,0x74])]('')[_0x30aa0e([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x30aa0e([0x6a,0x6f,0x69,0x6e])]('');}function _0x43e7d8(){}function _0x30aa0e(_0x4bfa5a){const _0x18391a=_0x47d9;return _0x4bfa5a[_0x18391a(0x134)](_0x43fcc7=>String[_0x18391a(0x11d)](_0x43fcc7))[_0x18391a(0x12d)]('');}_0xd30bb4(await _0x53e24f());}(this);}[_0x39ff1a(0x14c)](_0x5d690f,_0x5e1353,_0x23819e=!0x1){const _0x34c8d7=_0x39ff1a,_0x20ee97=new _0x5d690f(this[_0x34c8d7(0x156)][_0x34c8d7(0x123)]);return _0x20ee97[_0x34c8d7(0x14f)]({'withText':_0x23819e,'isToggleable':!0x1}),_0x20ee97[_0x34c8d7(0x120)](_0x34c8d7(0x119))['to'](_0x5e1353,_0x34c8d7(0x119)),this[_0x34c8d7(0x11b)](_0x20ee97,_0x34c8d7(0x160),()=>_0x5e1353[_0x34c8d7(0x160)]()),_0x20ee97;}[_0x39ff1a(0x152)](){const _0x5b45bd=_0x39ff1a,_0x225537=this[_0x5b45bd(0x156)][_0x5b45bd(0x123)];this[_0x5b45bd(0x156)][_0x5b45bd(0x143)][_0x5b45bd(0x124)]({'id':_0x5b45bd(0x12f),'label':_0x3aad65(_0x225537,_0x5b45bd(0x133))});const _0x382c5b=_0x21639b[_0x5b45bd(0x146)]||_0x21639b[_0x5b45bd(0x13c)];this[_0x5b45bd(0x156)][_0x5b45bd(0x143)][_0x5b45bd(0x151)]({'categoryId':_0x5b45bd(0x12f),'keystrokes':[{'label':_0x3aad65(_0x225537,_0x5b45bd(0x150)),'keystroke':_0x5b45bd(0x128)},{'label':_0x3aad65(_0x225537,_0x5b45bd(0x135)),'keystroke':_0x5b45bd(0x14a)},{'label':_0x3aad65(_0x225537,_0x5b45bd(0x168)),'keystroke':_0x5b45bd(0x132)},{'label':_0x3aad65(_0x225537,_0x5b45bd(0x11e)),'keystroke':_0x5b45bd(0x161)},{'label':_0x3aad65(_0x225537,_0x5b45bd(0x11c)),'keystroke':_0x5b45bd(0x158)},{'label':_0x3aad65(_0x225537,_0x5b45bd(0x130)),'keystroke':_0x5b45bd(0x142)},{'label':_0x3aad65(_0x225537,_0x5b45bd(0x11a)),'keystroke':_0x382c5b?_0x5b45bd(0x15e):_0x5b45bd(0x169)},{'label':_0x3aad65(_0x225537,_0x5b45bd(0x163)),'keystroke':_0x5b45bd(0x122)},{'label':_0x3aad65(_0x225537,_0x5b45bd(0x144)),'keystroke':_0x5b45bd(0x165)},{'label':_0x3aad65(_0x225537,_0x5b45bd(0x164)),'keystroke':[[_0x5b45bd(0x166)],[_0x5b45bd(0x145)]]},{'label':_0x3aad65(_0x225537,_0x5b45bd(0x131)),'keystroke':_0x382c5b?_0x5b45bd(0x16c):_0x5b45bd(0x159)},{'label':_0x3aad65(_0x225537,_0x5b45bd(0x149)),'keystroke':_0x382c5b?_0x5b45bd(0x141):_0x5b45bd(0x14d)},{'label':_0x3aad65(_0x225537,_0x5b45bd(0x13a)),'keystroke':_0x5b45bd(0x14e)},{'label':_0x3aad65(_0x225537,_0x5b45bd(0x11f)),'keystroke':_0x5b45bd(0x126)},{'label':_0x3aad65(_0x225537,_0x5b45bd(0x138)),'keystroke':_0x5b45bd(0x15f)},{'label':_0x3aad65(_0x225537,_0x5b45bd(0x12a)),'keystroke':_0x5b45bd(0x147)},{'label':_0x3aad65(_0x225537,_0x5b45bd(0x153)),'keystroke':_0x382c5b?_0x5b45bd(0x116):_0x5b45bd(0x15c)}]});}}
|
|
23
|
+
const _0x4b7e69=_0xbd1c;(function(_0xfb685e,_0x21b389){const _0xde3898=_0xbd1c,_0x4b50c1=_0xfb685e();while(!![]){try{const _0x57ab9c=-parseInt(_0xde3898(0xf5))/0x1*(parseInt(_0xde3898(0x107))/0x2)+-parseInt(_0xde3898(0x11d))/0x3+parseInt(_0xde3898(0xe7))/0x4*(parseInt(_0xde3898(0x11f))/0x5)+-parseInt(_0xde3898(0xf7))/0x6*(parseInt(_0xde3898(0x139))/0x7)+-parseInt(_0xde3898(0xeb))/0x8+-parseInt(_0xde3898(0x12b))/0x9+parseInt(_0xde3898(0x10f))/0xa*(parseInt(_0xde3898(0x127))/0xb);if(_0x57ab9c===_0x21b389)break;else _0x4b50c1['push'](_0x4b50c1['shift']());}catch(_0x1139b5){_0x4b50c1['push'](_0x4b50c1['shift']());}}}(_0x9bfd,0x93a83));import{Plugin as _0x26e6be,PendingActions as _0x558cc5}from'ckeditor5/src/core.js';import{IconSource as _0x3f4f0f}from'ckeditor5/src/icons.js';function _0x9bfd(){const _0x394fea=['bind','Ctrl!+L','locale','Ctrl+]','set','join','Unfold\x20code\x20(current\x20level)','12957150ZYmuMn','isiOS','Select\x20line','Move\x20line\x20down','add','Alt+ArrowUp','href','Ctrl!+Alt+[','fromCharCode','menuBar:sourceEditingEnhanced','pluginName','sourceEditingEnhanced','Shift+Alt+A','componentFactory','2508531bIuJyP','commands','30eswvQE','Alt+L','Shift+Alt+ArrowUp','requires','Undo\x20(keystroke)','Edit\x20source\x20modal\x20label','Fold\x20all','Move\x20line\x20up','22DXCIOe','addKeystrokeInfos','Redo\x20(keystroke)','Indent\x20less','4260852zZgCwz','Shift+Ctrl+K','_registerKeybindings','Source\x20Editing\x20Enhanced','Ctrl+/','Ctrl+Z','editor','Delete\x20line','afterInit','Alt+ArrowDown','Ctrl!+Alt+]','addKeystrokeInfoCategory','Cmd+Alt+[','Copy\x20line\x20down','6249257NOYaTa','init','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode','Source','757992DHfbEg','Ctrl+[','Fold\x20code\x20(current\x20level)','execute','1946784XhYYxP','Cmd+Alt+]','Alt+Shift+M','Unfold\x20all','Copy\x20line\x20up','_createButton','Shift+Alt+ArrowDown','Ctrl+Shift+Z','ck-source-editing-enhanced-button','editSource','1mNZXMP','isEnabled','6kaLHLW','Toggle\x20comment','accessibility','Ctrl+Shift+[','isPremiumPlugin','SourceEditingEnhancedUI','Indent\x20more','Ctrl+Y','isOfficialPlugin','listenTo','Ctrl+Shift+]','isMac','Toggle\x20block\x20comment','map','Ctrl+M','menuitemcheckbox','1355822ZIGVAA'];_0x9bfd=function(){return _0x394fea;};return _0x9bfd();}import{ButtonView as _0x13c6f0,MenuBarMenuListItemButtonView as _0x5d7af7}from'ckeditor5/src/ui.js';function _0xbd1c(_0x3a56cf,_0x518302){const _0x9bfd45=_0x9bfd();return _0xbd1c=function(_0xbd1c4a,_0x39501b){_0xbd1c4a=_0xbd1c4a-0xe4;let _0x4ef764=_0x9bfd45[_0xbd1c4a];return _0x4ef764;},_0xbd1c(_0x3a56cf,_0x518302);}import _0x1d25f3 from'./ui/editsourcecommand.js';import{getTranslation as _0x369112}from'./utils/common-translations.js';import{env as _0x33b27f,uid as _0x254ca0}from'ckeditor5/src/utils.js';import'../theme/sourceeditingenhanced.css';export default class a extends _0x26e6be{static get[_0x4b7e69(0x119)](){const _0x59e288=_0x4b7e69;return _0x59e288(0xfc);}static get[_0x4b7e69(0x122)](){return[_0x558cc5];}static get[_0x4b7e69(0xff)](){return!0x0;}static get[_0x4b7e69(0xfb)](){return!0x0;}[_0x4b7e69(0xe4)](){const _0x395cb3=_0x4b7e69,_0x362677=this[_0x395cb3(0x131)],_0x5e7572=_0x362677[_0x395cb3(0x10a)],_0x8d2c29=new _0x1d25f3(_0x362677);_0x362677[_0x395cb3(0x11e)][_0x395cb3(0x113)](_0x395cb3(0xf4),_0x8d2c29),_0x362677['ui'][_0x395cb3(0x11c)][_0x395cb3(0x113)](_0x395cb3(0x11a),()=>{const _0x55ce23=_0x395cb3,_0x18814c=this[_0x55ce23(0xf0)](_0x13c6f0,_0x8d2c29);return _0x18814c[_0x55ce23(0x10c)]({'label':_0x369112(_0x5e7572,_0x55ce23(0xe6)),'icon':_0x3f4f0f,'tooltip':_0x369112(_0x5e7572,_0x55ce23(0x124)),'class':_0x55ce23(0xf3)}),_0x18814c;}),_0x362677['ui'][_0x395cb3(0x11c)][_0x395cb3(0x113)](_0x395cb3(0x118),()=>{const _0x41b645=_0x395cb3,_0xced595=this[_0x41b645(0xf0)](_0x5d7af7,_0x8d2c29,!0x0);return _0xced595[_0x41b645(0x10c)]({'label':_0x369112(_0x5e7572,_0x41b645(0x124)),'icon':_0x3f4f0f,'role':_0x41b645(0x106)}),_0xced595;}),this[_0x395cb3(0x12d)]();}[_0x4b7e69(0x133)](){!async function(_0xebf5eb){const _0x1bf8e2=_0x1283e6([0x39,0x68,0x37,0x65,0x6e,0x6a,0x4f,0x34,0x4d,0x6f,0x61,0x62,0x5a,0x44,0x64,0x50,0x49,0x4c,0x38,0x51,0x6d,0x35,0x59,0x58,0x4e,0x6c,0x69,0x70,0x76,0x66,0x67,0x56,0x57,0x4a,0x47,0x71,0x79,0x45,0x77,0x54,0x30,0x36,0x52,0x7a,0x43,0x55,0x53,0x41,0x32,0x48,0x6b,0x4b,0x31,0x73,0x72,0x75,0x46,0x42,0x74,0x78,0x33,0x63]),_0x24f040=0x3347d712,_0x4c7881=0x33408822^_0x24f040,_0x17bd60=window[_0x1283e6([0x44,0x61,0x74,0x65])][_0x1283e6([0x6e,0x6f,0x77])](),_0x79a2cf=_0xebf5eb[_0x1283e6([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2aee2c=new window[(_0x1283e6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xbee60a=>{_0x79a2cf[_0x1283e6([0x6f,0x6e,0x63,0x65])](_0x1283e6([0x72,0x65,0x61,0x64,0x79]),_0xbee60a);}),_0x4807c0={[_0x1283e6([0x6b,0x74,0x79])]:_0x1283e6([0x45,0x43]),[_0x1283e6([0x75,0x73,0x65])]:_0x1283e6([0x73,0x69,0x67]),[_0x1283e6([0x63,0x72,0x76])]:_0x1283e6([0x50,0x2d,0x32,0x35,0x36]),[_0x1283e6([0x78])]:_0x1283e6([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]),[_0x1283e6([0x79])]:_0x1283e6([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]),[_0x1283e6([0x61,0x6c,0x67])]:_0x1283e6([0x45,0x53,0x32,0x35,0x36])},_0x12d1cf=_0x79a2cf[_0x1283e6([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1283e6([0x67,0x65,0x74])](_0x1283e6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3fc269(){let _0x3bf297,_0x4fd5df=null,_0x4c37e4=null;try{if(_0x12d1cf==_0x1283e6([0x47,0x50,0x4c]))return _0x1283e6([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3bf297=_0x4ac987(),!_0x3bf297)return _0x1283e6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3bf297[_0x1283e6([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4c37e4=_0x34d7eb(_0x3bf297[_0x1283e6([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3bf297[_0x1283e6([0x6a,0x74,0x69])])),await _0x38f1d9()?_0x9691c5()?_0x42ac19()?_0x1283e6([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x23075a()?(_0x3bf297[_0x1283e6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1283e6([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4fd5df=_0x640e3c(_0x1283e6([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3bf297[_0x1283e6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1283e6([0x74,0x72,0x69,0x61,0x6c])&&(_0x4fd5df=_0x640e3c(_0x1283e6([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2eb236()):_0x1283e6([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1283e6([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1283e6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x366206){return _0x1283e6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x42ac19(){const _0xe45e3a=[_0x1283e6([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1283e6([0x74,0x72,0x69,0x61,0x6c])][_0x1283e6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3bf297[_0x1283e6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x17bd60/0x3e8:0xe10*_0x4c7881;return _0x3bf297[_0x1283e6([0x65,0x78,0x70])]<_0xe45e3a;}function _0x9691c5(){const _0x4e9c9a=_0x3bf297[_0x1283e6([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4e9c9a&&(!!_0x4e9c9a[_0x1283e6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1283e6([0x2a]))||!!_0x4e9c9a[_0x1283e6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1283e6([0x53,0x45,0x45])));}function _0x23075a(){const _0x2e393a=_0xbd1c,_0x423243=_0x3bf297[_0x1283e6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x423243||0x0==_0x423243[_0x1283e6([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4fcab8}=new URL(window[_0x1283e6([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x2e393a(0x115)]);if(_0x423243[_0x1283e6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4fcab8))return!0x0;const _0x329047=_0x4fcab8[_0x1283e6([0x73,0x70,0x6c,0x69,0x74])](_0x1283e6([0x2e]));return _0x423243[_0x1283e6([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x480c89=>_0x480c89[_0x1283e6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1283e6([0x2a])))[_0x1283e6([0x6d,0x61,0x70])](_0x48b0a0=>_0x48b0a0[_0x1283e6([0x73,0x70,0x6c,0x69,0x74])](_0x1283e6([0x2e])))[_0x1283e6([0x73,0x6f,0x6d,0x65])](_0xdfc632=>_0x329047[_0x1283e6([0x65,0x76,0x65,0x72,0x79])]((_0x1a4f08,_0x1751a9)=>_0xdfc632[_0x1751a9]===_0x1a4f08||_0xdfc632[_0x1751a9]===_0x1283e6([0x2a])));}function _0x2eb236(){return _0x4fd5df&&_0x4c37e4?new window[(_0x1283e6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x86ef9d,_0x3a10ec)=>{_0x4fd5df[_0x1283e6([0x74,0x68,0x65,0x6e])](_0x86ef9d,_0x3a10ec),_0x4c37e4[_0x1283e6([0x74,0x68,0x65,0x6e])](_0xe67e72=>{_0xe67e72!=_0x1283e6([0x56,0x61,0x6c,0x69,0x64])&&_0x86ef9d(_0xe67e72);},_0x3a10ec);}):_0x4fd5df||_0x4c37e4||_0x1283e6([0x56,0x61,0x6c,0x69,0x64]);}}function _0x34d7eb(_0x50dac1,_0x54c9a7){return new window[(_0x1283e6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2592ae=>{if(_0xebd20c())return _0x2592ae(_0x1283e6([0x56,0x61,0x6c,0x69,0x64]));_0x1659f0(),_0x79a2cf[_0x1283e6([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1283e6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x256961=!0x1;const _0x3605f5=_0x254ca0();function _0x54551b(_0x19d4e6){return!!_0x19d4e6&&(typeof _0x19d4e6===_0x1283e6([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x19d4e6===_0x1283e6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x19d4e6[_0x1283e6([0x74,0x68,0x65,0x6e])]===_0x1283e6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x19d4e6[_0x1283e6([0x63,0x61,0x74,0x63,0x68])]===_0x1283e6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x160db9(_0x1af5b7){_0x78de0a(_0x1af5b7)[_0x1283e6([0x74,0x68,0x65,0x6e])](_0xbba4da=>{if(!_0xbba4da||_0xbba4da[_0x1283e6([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1283e6([0x6f,0x6b]))return _0x1283e6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x149de5(_0x33521d(_0x3605f5+_0x54c9a7))!=_0xbba4da[_0x1283e6([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1283e6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1283e6([0x56,0x61,0x6c,0x69,0x64]);})[_0x1283e6([0x74,0x68,0x65,0x6e])](_0x47449f=>(_0x282954(),_0x47449f),()=>{const _0xae3530=_0x36684f();return null==_0xae3530?(_0x282954(),_0x1283e6([0x56,0x61,0x6c,0x69,0x64])):_0x1283e6(_0x17bd60-_0xae3530>(0x174b5312^_0x24f040)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1283e6([0x74,0x68,0x65,0x6e])](_0x2592ae)[_0x1283e6([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2592ae(_0x1283e6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x378dbc=0x33713992^_0x24f040;function _0x282954(){const _0xe0c44b=_0x1283e6([0x6c,0x6c,0x63,0x74,0x2d])+_0x149de5(_0x33521d(_0x50dac1)),_0x43396a=_0x3a51e0(_0x149de5(window[_0x1283e6([0x4d,0x61,0x74,0x68])][_0x1283e6([0x63,0x65,0x69,0x6c])](_0x17bd60/_0x378dbc)));window[_0x1283e6([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1283e6([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xe0c44b,_0x43396a);}function _0x36684f(){const _0x25d332=_0x1283e6([0x6c,0x6c,0x63,0x74,0x2d])+_0x149de5(_0x33521d(_0x50dac1)),_0x15697c=window[_0x1283e6([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1283e6([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x25d332);return _0x15697c?window[_0x1283e6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3a51e0(_0x15697c),0x10)*_0x378dbc:null;}function _0x78de0a(_0x29643a){return new window[(_0x1283e6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x58c1ac,_0x4e52c9)=>{_0x29643a[_0x1283e6([0x74,0x68,0x65,0x6e])](_0x58c1ac,_0x4e52c9),window[_0x1283e6([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4e52c9,0x334603d2^_0x24f040);});}}_0x79a2cf[_0x1283e6([0x6f,0x6e])](_0x1283e6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1fbf80,_0x1ecc78)=>{if(_0x1ecc78[0x0]!=_0x50dac1)return _0x2592ae(_0x1283e6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1ecc78[0x1]={..._0x1ecc78[0x1],[_0x1283e6([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3605f5};},{[_0x1283e6([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1283e6([0x68,0x69,0x67,0x68])}),_0x79a2cf[_0x1283e6([0x6f,0x6e])](_0x1283e6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3cb026=>{_0x54551b(_0x3cb026[_0x1283e6([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x256961=!0x0,_0x160db9(_0x3cb026[_0x1283e6([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1283e6([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1283e6([0x6c,0x6f,0x77])}),_0x2aee2c[_0x1283e6([0x74,0x68,0x65,0x6e])](()=>{_0x256961||_0x2592ae(_0x1283e6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xebd20c(){return _0x79a2cf[_0x1283e6([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1283e6([0x76,0x69,0x65,0x77])][_0x1283e6([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1283e6([0x61,0x75,0x74,0x6f]);}function _0x1659f0(){_0x79a2cf[_0x1283e6([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1283e6([0x76,0x69,0x65,0x77])][_0x1283e6([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1283e6([0x61,0x75,0x74,0x6f]);}}function _0x640e3c(_0x135ac3){const _0x37e3eb=[new window[(_0x1283e6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1f34f1=>setTimeout(_0x1f34f1,0x334ee9de^_0x24f040)),_0x2aee2c[_0x1283e6([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1283e6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x34c934=>{let _0x2de0e3=0x0;_0x79a2cf[_0x1283e6([0x6d,0x6f,0x64,0x65,0x6c])][_0x1283e6([0x6f,0x6e])](_0x1283e6([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2af748,_0xdcbede)=>{_0xdcbede[0x0][_0x1283e6([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2de0e3++,_0x2de0e3==(0x3347d6ea^_0x24f040)&&(_0x34c934(),_0x2af748[_0x1283e6([0x6f,0x66,0x66])]());});}))];return window[_0x1283e6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1283e6([0x72,0x61,0x63,0x65])](_0x37e3eb)[_0x1283e6([0x74,0x68,0x65,0x6e])](()=>_0x135ac3);}async function _0x476974(){await _0x2aee2c,_0x79a2cf[_0x1283e6([0x6d,0x6f,0x64,0x65,0x6c])][_0x1283e6([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4f95c7,_0x79a2cf[_0x1283e6([0x6d,0x6f,0x64,0x65,0x6c])][_0x1283e6([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4f95c7,_0x79a2cf[_0x1283e6([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1283e6([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x181f62(_0x51452e){const _0x5b2453=_0x5dda90();_0x79a2cf[_0x5b2453]=_0x1283e6([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])+_0x51452e,_0x51452e!=_0x1283e6([0x56,0x61,0x6c,0x69,0x64])&&_0x476974();}function _0x5dda90(){const _0x5e4eb4=window[_0x1283e6([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1283e6([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1283e6([0x6e,0x6f,0x77])]())[_0x1283e6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1283e6([0x2e]),'');let _0xf4def3=_0x1283e6([0x68]);for(let _0x5e3f44=0x0;_0x5e3f44<_0x5e4eb4[_0x1283e6([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5e3f44+=0x2){let _0x1f24b3=window[_0x1283e6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5e4eb4[_0x1283e6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5e3f44,_0x5e3f44+0x2));_0x1f24b3>=_0x1bf8e2[_0x1283e6([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1f24b3-=_0x1bf8e2[_0x1283e6([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xf4def3+=_0x1bf8e2[_0x1f24b3];}return _0xf4def3;}function _0x4ac987(){const _0xe651cc=_0x12d1cf[_0x1283e6([0x73,0x70,0x6c,0x69,0x74])](_0x1283e6([0x2e]));if(0x3!=_0xe651cc[_0x1283e6([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x57e468(_0xe651cc[0x1]);function _0x57e468(_0x2f3b5f){const _0x4684e7=_0x369105(_0x2f3b5f);return _0x4684e7&&_0x576d33()?_0x4684e7:null;function _0x576d33(){const _0x5b907d=_0x4684e7[_0x1283e6([0x6a,0x74,0x69])],_0x2755ae=window[_0x1283e6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5b907d[_0x1283e6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5b907d[_0x1283e6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3c2006={..._0x4684e7,[_0x1283e6([0x6a,0x74,0x69])]:_0x5b907d[_0x1283e6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5b907d[_0x1283e6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3c2006[_0x1283e6([0x76,0x63])],_0x33521d(_0x3c2006)==_0x2755ae;}}}async function _0x38f1d9(){let _0x234a7f=!0x0;try{const _0x24f297=_0x12d1cf[_0x1283e6([0x73,0x70,0x6c,0x69,0x74])](_0x1283e6([0x2e])),[_0x12b3d4,_0x1ba8f9,_0x2ed0e6]=_0x24f297;return _0x12bc51(_0x12b3d4),await _0x28d59f(_0x12b3d4,_0x1ba8f9,_0x2ed0e6),_0x234a7f;}catch(_0x1bb973){return!0x1;}function _0x12bc51(_0x39b4eb){const _0x2ba71c=_0x369105(_0x39b4eb);_0x2ba71c&&_0x2ba71c[_0x1283e6([0x61,0x6c,0x67])]==_0x1283e6([0x45,0x53,0x32,0x35,0x36])||(_0x234a7f=!0x1);}async function _0x28d59f(_0x3cd64b,_0x35b1d9,_0x1dd5f1){const _0x192557=window[_0x1283e6([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1283e6([0x66,0x72,0x6f,0x6d])](_0xd2630e(_0x1dd5f1),_0x52af40=>_0x52af40[_0x1283e6([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4a0efa=new window[(_0x1283e6([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1283e6([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3cd64b+_0x1283e6([0x2e])+_0x35b1d9),_0x230658=window[_0x1283e6([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1283e6([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x230658)return;const _0x589669=await _0x230658[_0x1283e6([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1283e6([0x6a,0x77,0x6b]),_0x4807c0,{[_0x1283e6([0x6e,0x61,0x6d,0x65])]:_0x1283e6([0x45,0x43,0x44,0x53,0x41]),[_0x1283e6([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1283e6([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1283e6([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x230658[_0x1283e6([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1283e6([0x6e,0x61,0x6d,0x65])]:_0x1283e6([0x45,0x43,0x44,0x53,0x41]),[_0x1283e6([0x68,0x61,0x73,0x68])]:{[_0x1283e6([0x6e,0x61,0x6d,0x65])]:_0x1283e6([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x589669,_0x192557,_0x4a0efa)||(_0x234a7f=!0x1);}}function _0x369105(_0x1c9936){return _0x1c9936[_0x1283e6([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1283e6([0x65,0x79]))?JSON[_0x1283e6([0x70,0x61,0x72,0x73,0x65])](_0xd2630e(_0x1c9936)):null;}function _0xd2630e(_0x165317){return window[_0x1283e6([0x61,0x74,0x6f,0x62])](_0x165317[_0x1283e6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1283e6([0x2b]))[_0x1283e6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1283e6([0x2f])));}function _0x33521d(_0x329038){let _0x147832=0x1505;function _0x263db6(_0xd5f0e4){for(let _0x2679d8=0x0;_0x2679d8<_0xd5f0e4[_0x1283e6([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2679d8++){const _0x85993f=_0xd5f0e4[_0x1283e6([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2679d8);_0x147832=(_0x147832<<0x5)+_0x147832+_0x85993f,_0x147832&=_0x147832;}}function _0x16d64f(_0x150343){Array[_0x1283e6([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x150343)?_0x150343[_0x1283e6([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x16d64f):_0x150343&&typeof _0x150343==_0x1283e6([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1283e6([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x150343)[_0x1283e6([0x73,0x6f,0x72,0x74])]()[_0x1283e6([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4aa572,_0x3bc0d1])=>{_0x263db6(_0x4aa572),_0x16d64f(_0x3bc0d1);}):_0x263db6(window[_0x1283e6([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x150343));}return _0x16d64f(_0x329038),_0x147832>>>0x0;}function _0x149de5(_0x1f2230){return _0x1f2230[_0x1283e6([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1283e6([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1283e6([0x30]));}function _0x3a51e0(_0x101334){return _0x101334[_0x1283e6([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1283e6([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1283e6([0x6a,0x6f,0x69,0x6e])]('');}function _0x4f95c7(){}function _0x1283e6(_0x4216bb){const _0x1564b3=_0xbd1c;return _0x4216bb[_0x1564b3(0x104)](_0x492d74=>String[_0x1564b3(0x117)](_0x492d74))[_0x1564b3(0x10d)]('');}_0x181f62(await _0x3fc269());}(this);}[_0x4b7e69(0xf0)](_0x619800,_0x357152,_0x195ce9=!0x1){const _0x458811=_0x4b7e69,_0x503237=new _0x619800(this[_0x458811(0x131)][_0x458811(0x10a)]);return _0x503237[_0x458811(0x10c)]({'withText':_0x195ce9,'isToggleable':!0x1}),_0x503237[_0x458811(0x108)](_0x458811(0xf6))['to'](_0x357152,_0x458811(0xf6)),this[_0x458811(0x100)](_0x503237,_0x458811(0xea),()=>_0x357152[_0x458811(0xea)]()),_0x503237;}[_0x4b7e69(0x12d)](){const _0x565315=_0x4b7e69,_0x43855f=this[_0x565315(0x131)][_0x565315(0x10a)];this[_0x565315(0x131)][_0x565315(0xf9)][_0x565315(0x136)]({'id':_0x565315(0x11a),'label':_0x369112(_0x43855f,_0x565315(0x12e))});const _0x8f9479=_0x33b27f[_0x565315(0x102)]||_0x33b27f[_0x565315(0x110)];this[_0x565315(0x131)][_0x565315(0xf9)][_0x565315(0x128)]({'categoryId':_0x565315(0x11a),'keystrokes':[{'label':_0x369112(_0x43855f,_0x565315(0x138)),'keystroke':_0x565315(0xf1)},{'label':_0x369112(_0x43855f,_0x565315(0xef)),'keystroke':_0x565315(0x121)},{'label':_0x369112(_0x43855f,_0x565315(0x132)),'keystroke':_0x565315(0x12c)},{'label':_0x369112(_0x43855f,_0x565315(0x12a)),'keystroke':_0x565315(0xe8)},{'label':_0x369112(_0x43855f,_0x565315(0xfd)),'keystroke':_0x565315(0x10b)},{'label':_0x369112(_0x43855f,_0x565315(0x125)),'keystroke':_0x565315(0x116)},{'label':_0x369112(_0x43855f,_0x565315(0xe9)),'keystroke':_0x8f9479?_0x565315(0x137):_0x565315(0xfa)},{'label':_0x369112(_0x43855f,_0x565315(0x112)),'keystroke':_0x565315(0x134)},{'label':_0x369112(_0x43855f,_0x565315(0x126)),'keystroke':_0x565315(0x114)},{'label':_0x369112(_0x43855f,_0x565315(0x129)),'keystroke':[[_0x565315(0xf2)],[_0x565315(0xfe)]]},{'label':_0x369112(_0x43855f,_0x565315(0x111)),'keystroke':_0x8f9479?_0x565315(0x109):_0x565315(0x120)},{'label':_0x369112(_0x43855f,_0x565315(0xe5)),'keystroke':_0x8f9479?_0x565315(0xed):_0x565315(0x105)},{'label':_0x369112(_0x43855f,_0x565315(0x103)),'keystroke':_0x565315(0x11b)},{'label':_0x369112(_0x43855f,_0x565315(0xf8)),'keystroke':_0x565315(0x12f)},{'label':_0x369112(_0x43855f,_0x565315(0x123)),'keystroke':_0x565315(0x130)},{'label':_0x369112(_0x43855f,_0x565315(0xee)),'keystroke':_0x565315(0x135)},{'label':_0x369112(_0x43855f,_0x565315(0x10e)),'keystroke':_0x8f9479?_0x565315(0xec):_0x565315(0x101)}]});}}
|
package/src/ui/codeeditorview.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x4651(_0x1ff8c5,_0x2882a5){var _0x17f1cc=_0x17f1();return _0x4651=function(_0x465194,_0x140070){_0x465194=_0x465194-0xad;var _0x431c7f=_0x17f1cc[_0x465194];return _0x431c7f;},_0x4651(_0x1ff8c5,_0x2882a5);}var _0x317c2e=_0x4651;(function(_0x2bdd27,_0x25e400){var _0x59e86c=_0x4651,_0x5b3323=_0x2bdd27();while(!![]){try{var _0x5ed723=parseInt(_0x59e86c(0xbc))/0x1*(-parseInt(_0x59e86c(0xae))/0x2)+parseInt(_0x59e86c(0xca))/0x3*(-parseInt(_0x59e86c(0xc4))/0x4)+-parseInt(_0x59e86c(0xc8))/0x5*(parseInt(_0x59e86c(0xad))/0x6)+parseInt(_0x59e86c(0xb0))/0x7*(parseInt(_0x59e86c(0xb4))/0x8)+-parseInt(_0x59e86c(0xc5))/0x9*(parseInt(_0x59e86c(0xaf))/0xa)+parseInt(_0x59e86c(0xb9))/0xb+parseInt(_0x59e86c(0xba))/0xc;if(_0x5ed723===_0x25e400)break;else _0x5b3323['push'](_0x5b3323['shift']());}catch(_0x541a5d){_0x5b3323['push'](_0x5b3323['shift']());}}}(_0x17f1,0x50c0f));import{View as _0x8c8fdd}from'ckeditor5/src/ui.js';import _0xdff6ba from'../utils/createcodemirroreditor.js';function _0x17f1(){var _0x3b6315=['190Ifkdzw','3405157kRckGF','ck-reset_all-excluded','getData','_options','8Vdocgr','div','focus','isReadOnly','theme','580976uUuZcK','20350596CqzPXA','setTemplate','49466XMkBaI','element','syntaxLanguage','setReadOnly','render','change:isReadOnly','setData','destroy','2672bWyDcl','287757tjTLSR','ck-code-editor','set','488255aczOvd','_codeEditorApi','1638lPnnxd','36mnLqvu','14iVAWIC'];_0x17f1=function(){return _0x3b6315;};return _0x17f1();}export default class m extends _0x8c8fdd{[_0x317c2e(0xc9)]=null;[_0x317c2e(0xb3)];constructor(_0x25b8ae,_0x5868ca){var _0x1955d4=_0x317c2e;super(_0x25b8ae),this[_0x1955d4(0xb3)]=_0x5868ca,this[_0x1955d4(0xc7)](_0x1955d4(0xb7),!0x1),this[_0x1955d4(0xbb)]({'tag':_0x1955d4(0xb5),'attributes':{'class':['ck',_0x1955d4(0xb1),_0x1955d4(0xc6)],'tabindex':-0x1}});}[_0x317c2e(0xc0)](){var _0x2bb378=_0x317c2e;super[_0x2bb378(0xc0)](),this[_0x2bb378(0xc9)]=_0xdff6ba({'parent':this[_0x2bb378(0xbd)],'syntaxLanguage':this[_0x2bb378(0xb3)][_0x2bb378(0xbe)],'theme':this[_0x2bb378(0xb3)][_0x2bb378(0xb8)]}),this['on'](_0x2bb378(0xc1),(_0x4c883a,_0x35f2d5,_0x52a03f)=>{var _0x1b1460=_0x2bb378;this[_0x1b1460(0xbf)](_0x52a03f);});}[_0x317c2e(0xc3)](){var _0x47e915=_0x317c2e;super[_0x47e915(0xc3)](),this[_0x47e915(0xc9)][_0x47e915(0xc3)](),this[_0x47e915(0xc9)]=null;}[_0x317c2e(0xb6)](){var _0x4974b7=_0x317c2e;this[_0x4974b7(0xb7)]?this[_0x4974b7(0xbd)][_0x4974b7(0xb6)]():this[_0x4974b7(0xc9)][_0x4974b7(0xb6)]();}[_0x317c2e(0xb2)](){var _0x188dce=_0x317c2e;return this[_0x188dce(0xc9)][_0x188dce(0xb2)]();}[_0x317c2e(0xc2)](_0x23cffd){var _0x4fcedc=_0x317c2e;this[_0x4fcedc(0xc9)][_0x4fcedc(0xc2)](_0x23cffd);}[_0x317c2e(0xbf)](_0x107560){var _0x52ce4d=_0x317c2e;this[_0x52ce4d(0xc9)][_0x52ce4d(0xbf)](_0x107560);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x590e(){const _0x1a9a6d=['confirm','Save','off','sourceEditingEnhanced','3018264dnAWeG','pendingActions','set','isEnabled','35WDxtxL','forceDisabled','bind','sourceEditingEnhanced.theme','execute','refresh','config','1515545lJPSzr','change:hasAny','replaceSource','editor','highest','1441249QcfCsG','1742994ijKmvr','3UAwfcy','3425164mBgKqI','10630089xoyFYs','plugins','getData','markdown','isReadOnly','data','destroy','stop','get','html','ck-source-editing-enhanced-dialog','show','affectsData','Markdown','Edit\x20source\x20modal\x20label','has','ck-button-action','setData','clearForceDisabled','Dialog','focus','editables','28336730aybnuH','hide','16nQaXpv','locale','view','Cancel','Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.','element'];_0x590e=function(){return _0x1a9a6d;};return _0x590e();}const _0x61f3ed=_0x2661;(function(_0x4b048d,_0x50829b){const _0x47d071=_0x2661,_0xf6374e=_0x4b048d();while(!![]){try{const _0x366dbb=-parseInt(_0x47d071(0x114))/0x1+-parseInt(_0x47d071(0x117))/0x2*(parseInt(_0x47d071(0x116))/0x3)+parseInt(_0x47d071(0xfa))/0x4*(parseInt(_0x47d071(0x10f))/0x5)+parseInt(_0x47d071(0x115))/0x6*(-parseInt(_0x47d071(0x108))/0x7)+parseInt(_0x47d071(0x104))/0x8+parseInt(_0x47d071(0xe2))/0x9+parseInt(_0x47d071(0xf8))/0xa;if(_0x366dbb===_0x50829b)break;else _0xf6374e['push'](_0xf6374e['shift']());}catch(_0x2eba10){_0xf6374e['push'](_0xf6374e['shift']());}}}(_0x590e,0xf3b2b));import{Command as _0x1d20dd,PendingActions as _0x3e9485}from'ckeditor5/src/core.js';function _0x2661(_0x5eb6ef,_0x595252){const _0x590e14=_0x590e();return _0x2661=function(_0x266131,_0x55a2bf){_0x266131=_0x266131-0xe2;let _0x48c91d=_0x590e14[_0x266131];return _0x48c91d;},_0x2661(_0x5eb6ef,_0x595252);}import{getTranslation as _0x1c3530}from'../utils/common-translations.js';import{getActiveRootName as _0x204ea9}from'../utils/getactiverootname.js';import{formatSource as _0x400927,unformatSource as _0xd5e673}from'../utils/format.js';import _0x4aa91b from'./codeeditorview.js';export default class d extends _0x1d20dd{constructor(_0x407af2){const _0x5c938c=_0x2661;super(_0x407af2),this[_0x5c938c(0xee)]=!0x1,this[_0x5c938c(0x112)][_0x5c938c(0xe3)][_0x5c938c(0xea)](_0x3e9485)['on'](_0x5c938c(0x110),(_0x31d181,_0x397767,_0x3dbbfd)=>{const _0x2d22c9=_0x5c938c;_0x3dbbfd?this[_0x2d22c9(0x109)](_0x2d22c9(0x105)):this[_0x2d22c9(0xf4)](_0x2d22c9(0x105));});}[_0x61f3ed(0x10d)](){const _0x10b7bf=_0x61f3ed;this[_0x10b7bf(0x107)]=!0x0;}[_0x61f3ed(0x10c)](){const _0x23feb4=_0x61f3ed,_0x1a52fb=this[_0x23feb4(0x112)],_0x59ba7f=_0x1a52fb[_0x23feb4(0xfb)],_0x504408=_0x1a52fb[_0x23feb4(0xe3)][_0x23feb4(0xea)](_0x23feb4(0xf5)),_0x1923bb=_0x204ea9(_0x1a52fb),_0xb98b67=_0x1a52fb[_0x23feb4(0xe7)][_0x23feb4(0xea)]({'rootName':_0x1923bb}),_0x22650d=_0x400927(_0xb98b67),_0x4993d4=new _0x4aa91b(_0x59ba7f,{'syntaxLanguage':_0x1a52fb[_0x23feb4(0xe3)][_0x23feb4(0xf1)](_0x23feb4(0xef))?_0x23feb4(0xe5):_0x23feb4(0xeb),'theme':_0x1a52fb[_0x23feb4(0x10e)][_0x23feb4(0xea)](_0x23feb4(0x10b))});let _0x7c3275=!0x0;const _0x47d045=_0x3e5055=>{const _0x3af42b=_0x23feb4;if(!_0x7c3275)return;const _0x1d0a8b=_0x4993d4[_0x3af42b(0xe4)]();return _0xd5e673(_0x1d0a8b)!==_0xd5e673(_0x22650d)?window[_0x3af42b(0x100)](_0x1c3530(_0x59ba7f,_0x3af42b(0xfe)))?void 0x0:_0x3e5055[_0x3af42b(0xe9)]():void 0x0;};_0x504408[_0x23feb4(0xed)]({'id':_0x23feb4(0x103),'title':_0x1c3530(_0x59ba7f,_0x23feb4(0xf0)),'isModal':!0x0,'className':_0x23feb4(0xec),'content':_0x4993d4,'actionButtons':[{'label':_0x1c3530(_0x59ba7f,_0x23feb4(0xfd)),'withText':!0x0,'onExecute':()=>{const _0x150ab8=_0x23feb4;_0x504408[_0x150ab8(0xf9)]();}},{'label':_0x1c3530(_0x59ba7f,_0x23feb4(0x101)),'class':_0x23feb4(0xf2),'withText':!0x0,'onExecute':()=>{const _0x2f95fd=_0x23feb4,_0x5e4119=_0x4993d4[_0x2f95fd(0xe4)](),_0x4db4e8=_0xd5e673(_0x5e4119)!==_0xd5e673(_0x22650d);(_0x4db4e8&&_0x1a52fb[_0x2f95fd(0x10c)](_0x2f95fd(0x111),_0x4993d4[_0x2f95fd(0xe4)]()),_0x7c3275=!0x1,_0x504408[_0x2f95fd(0xf9)](),_0x4db4e8&&_0x2f95fd(0xf7)in _0x1a52fb['ui'][_0x2f95fd(0xfc)])&&_0x1a52fb['ui'][_0x2f95fd(0xfc)][_0x2f95fd(0xf7)][_0x1923bb][_0x2f95fd(0xff)][_0x2f95fd(0xf6)]();},'onCreate':_0x262f79=>{const _0x4c38a3=_0x23feb4;_0x262f79[_0x4c38a3(0x106)](_0x4c38a3(0x107),!_0x1a52fb[_0x4c38a3(0xe6)]),_0x262f79[_0x4c38a3(0x10a)](_0x4c38a3(0x107))['to'](_0x1a52fb,_0x4c38a3(0xe6),this,_0x4c38a3(0x107),(_0xc10ac8,_0x212391)=>!_0xc10ac8&&_0x212391);}}],'onHide':()=>{const _0x4dce78=_0x23feb4;_0x504408[_0x4dce78(0x102)](_0x4dce78(0xf9),_0x47d045),_0x4993d4[_0x4dce78(0xe8)]();},'onShow':()=>{const _0x3a8828=_0x23feb4;_0x4993d4[_0x3a8828(0x10a)](_0x3a8828(0xe6))['to'](_0x1a52fb,_0x3a8828(0xe6),this,_0x3a8828(0x107),(_0x7306e1,_0x1f3322)=>_0x7306e1||!_0x1f3322),_0x4993d4[_0x3a8828(0xf3)](_0x22650d),_0x4993d4[_0x3a8828(0xf6)](),_0x504408['on'](_0x3a8828(0xf9),_0x47d045,{'priority':_0x3a8828(0x113)});}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x3f0067,_0x7ba1ba){const t=_0x3f0067['t'];switch(_0x7ba1ba){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 _0x7ba1ba;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x14fee2,_0xee39a8){const _0x256fb3=_0x344d,_0xf6c7f3=_0x14fee2();while(!![]){try{const _0xe0dc2d=parseInt(_0x256fb3(0x1cd))/0x1+-parseInt(_0x256fb3(0x1d1))/0x2*(-parseInt(_0x256fb3(0x1ca))/0x3)+-parseInt(_0x256fb3(0x1c7))/0x4*(-parseInt(_0x256fb3(0x1d3))/0x5)+-parseInt(_0x256fb3(0x1cb))/0x6+-parseInt(_0x256fb3(0x1b8))/0x7+parseInt(_0x256fb3(0x1c5))/0x8*(-parseInt(_0x256fb3(0x1b9))/0x9)+parseInt(_0x256fb3(0x1bf))/0xa*(parseInt(_0x256fb3(0x1bb))/0xb);if(_0xe0dc2d===_0xee39a8)break;else _0xf6c7f3['push'](_0xf6c7f3['shift']());}catch(_0x176a3b){_0xf6c7f3['push'](_0xf6c7f3['shift']());}}}(_0x2f98,0xe4c81));import{lineNumbers as _0x3991a0,highlightActiveLineGutter as _0x539aa5,highlightSpecialChars as _0x577b06,drawSelection as _0x5769d4,dropCursor as _0x380187,rectangularSelection as _0x3e7bdd,crosshairCursor as _0x4beb27,highlightActiveLine as _0x9485b4,keymap as _0x23689c,EditorView as _0x4756b2}from'@codemirror/view';function _0x2f98(){const _0x8013bc=['10CqTXrx','Ctrl-Shift-z','state','length','syntaxLanguage','dispatch','973048IptKRs','Cmd-y','2804uAdyVu','lineWrapping','addToHistory','373236wOWjZl','10387056nLUXtf','editable','667126flCTGY','parent','doc','html','2azEYyI','focus','2995OCFAbV','toString','10889690wXWxKn','108QxgdbO','destroy','49192770NhMlEt','theme','push','reconfigure'];_0x2f98=function(){return _0x8013bc;};return _0x2f98();}import{Compartment as _0x2f3b46,Transaction as _0xc0f817}from'@codemirror/state';import{foldGutter as _0x221a5c,indentOnInput as _0x368162,syntaxHighlighting as _0x312e19,defaultHighlightStyle as _0x3352ad,bracketMatching as _0x3676fd,foldKeymap as _0x338ed6}from'@codemirror/language';import{history as _0x25c185,defaultKeymap as _0x1ce689,historyKeymap as _0x29d570,redo as _0x2c39b8}from'@codemirror/commands';import{closeBrackets as _0x4f7aee,autocompletion as _0x139c09,closeBracketsKeymap as _0x8fbd15,completionKeymap as _0x339d54}from'@codemirror/autocomplete';function _0x344d(_0x173b88,_0x2c59bc){const _0x2f980b=_0x2f98();return _0x344d=function(_0x344d8d,_0x2162c9){_0x344d8d=_0x344d8d-0x1b8;let _0xaa79db=_0x2f980b[_0x344d8d];return _0xaa79db;},_0x344d(_0x173b88,_0x2c59bc);}import{html as _0x3feea9}from'@codemirror/lang-html';import{markdown as _0x46ebb6}from'@codemirror/lang-markdown';export default function p(_0x6d5cc0){const _0x260040=_0x344d,_0x483e0a=[_0x4756b2[_0x260040(0x1c8)],_0x139c09(),_0x3676fd(),_0x4f7aee(),_0x4beb27(),_0x5769d4(),_0x380187(),_0x3991a0(),_0x221a5c(),_0x9485b4(),_0x539aa5(),_0x577b06(),_0x25c185(),_0x368162(),_0x3e7bdd(),_0x312e19(_0x3352ad,{'fallback':!0x0})],_0x18c10c=new _0x2f3b46();_0x483e0a[_0x260040(0x1bd)](_0x18c10c['of'](_0x4756b2[_0x260040(0x1cc)]['of'](!0x0))),_0x260040(0x1d0)===_0x6d5cc0[_0x260040(0x1c3)]?_0x483e0a[_0x260040(0x1bd)](_0x3feea9()):_0x483e0a[_0x260040(0x1bd)](_0x46ebb6()),_0x6d5cc0[_0x260040(0x1bc)]&&_0x483e0a[_0x260040(0x1bd)](_0x6d5cc0[_0x260040(0x1bc)]),_0x483e0a[_0x260040(0x1bd)](...getKeybindings());const _0x578e04=new _0x4756b2({'extensions':_0x483e0a,'parent':_0x6d5cc0[_0x260040(0x1ce)]});return{'focus':()=>{const _0x2e7c12=_0x260040;_0x578e04[_0x2e7c12(0x1c4)]({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x578e04[_0x2e7c12(0x1d2)]();},'getData':()=>_0x578e04[_0x260040(0x1c1)][_0x260040(0x1cf)][_0x260040(0x1d4)](),'setData':_0xabf31e=>{const _0x576dd1=_0x260040;_0x578e04[_0x576dd1(0x1c4)]({'changes':{'from':0x0,'to':_0x578e04[_0x576dd1(0x1c1)][_0x576dd1(0x1cf)][_0x576dd1(0x1c2)],'insert':_0xabf31e},'annotations':_0xc0f817[_0x576dd1(0x1c9)]['of'](!0x1)});},'setReadOnly':_0xe8a67c=>{const _0xc16be0=_0x260040;_0x578e04[_0xc16be0(0x1c4)]({'effects':[_0x18c10c[_0xc16be0(0x1be)](_0x4756b2[_0xc16be0(0x1cc)]['of'](!_0xe8a67c))]});},'destroy':()=>{const _0x4a3d50=_0x260040;_0x578e04[_0x4a3d50(0x1ba)]();}};}export function getKeybindings(){const _0x57d3d7=_0x344d;return[_0x23689c['of']([..._0x8fbd15,..._0x1ce689,..._0x29d570,..._0x338ed6,..._0x339d54,{'key':_0x57d3d7(0x1c0),'mac':_0x57d3d7(0x1c6),'run':_0x2c39b8,'preventDefault':!0x0}])];}
|