@ckeditor/ckeditor5-source-editing-enhanced 0.0.0-nightly-20250202.0 → 0.0.0-nightly-20250204.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/source-editing-enhanced.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +7 -7
- package/src/index.js +1 -1
- package/src/replacesourcecommand.js +1 -1
- package/src/sourceeditingenhanced.js +1 -1
- package/src/sourceeditingenhancedui.js +1 -1
- package/src/ui/codeeditorview.js +1 -1
- package/src/ui/editsourcecommand.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/createcodemirroreditor.js +1 -1
- package/src/utils/format.js +1 -1
- package/src/utils/getactiverootname.js +1 -1
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Command as _0x5791ac,PendingActions as _0x41bfdb,Plugin as _0x616bb1,icons as _0x114ba2}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x1b011a,env as _0x24d163,uid as _0x1e690e}from'@ckeditor/ckeditor5-utils/dist/index.js';import{View as _0x42cc4c,ButtonView as _0xc13d0a,MenuBarMenuListItemButtonView as _0xa0815d}from'@ckeditor/ckeditor5-ui/dist/index.js';import{EditorView as _0x2f8eb4,crosshairCursor as _0x2955b3,drawSelection as _0x2d1c2f,dropCursor as _0x5274ca,lineNumbers as _0x2aeacb,highlightActiveLine as _0x1ace93,highlightActiveLineGutter as _0x4dbd7c,highlightSpecialChars as _0x708335,rectangularSelection as _0x31c8e2,keymap as _0x3adf9c}from'@codemirror/view';import{Compartment as _0x10b620,Transaction as _0x34fbdf}from'@codemirror/state';import{bracketMatching as _0x47cd93,foldGutter as _0x143134,indentOnInput as _0x22881d,syntaxHighlighting as _0x2b0956,defaultHighlightStyle as _0x524575,foldKeymap as _0x1cd8fe}from'@codemirror/language';import{history as _0x13b562,defaultKeymap as _0x5cc372,historyKeymap as _0x15ed91,redo as _0x368de3}from'@codemirror/commands';import{autocompletion as _0x3ad86b,closeBrackets as _0x45b8ce,closeBracketsKeymap as _0x21396c,completionKeymap as _0x2ecd85}from'@codemirror/autocomplete';import{html as _0x22c3f3}from'@codemirror/lang-html';import{markdown as _0x47bdf1}from'@codemirror/lang-markdown';function f(_0x5d91b1,_0x48f8fa){const t=_0x5d91b1['t'];switch(_0x48f8fa){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 _0x48f8fa;}}function o(_0x1fd04b){const _0x2bab03=_0x1fd04b['editing']['view']['document']['roots'],_0x501771=_0x2bab03['length'];if(0x0===_0x501771)throw new _0x1b011a('source-editing-enhanced-editor-no-root',_0x1fd04b);if(0x1===_0x501771)return _0x2bab03['first']['rootName'];return Array['from'](_0x1fd04b['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function g(_0xcf743a){return $(_0xcf743a)?function(_0x3dde3a){const _0x4588c0=[{'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}],_0x3b45d6=_0x4588c0['map'](_0x37c3bc=>_0x37c3bc['name'])['join']('|'),_0x135d0c=_0x3dde3a['replace'](new RegExp('</?('+_0x3b45d6+')(\x20.*?)?>','g'),'\x0a$&\x0a')['replace'](/<br[^>]*>/g,'$&\x0a')['split']('\x0a');let _0xdc7647=0x0,_0x5abdfb=!0x1;return _0x135d0c['filter'](_0x3d76ce=>_0x3d76ce['length'])['map'](_0x3a70af=>(_0x5abdfb=function(_0x25fc95,_0x10a74a){return new RegExp('<pre(\x20.*?)?>')['test'](_0x25fc95)?'first':new RegExp('</pre>')['test'](_0x25fc95)?'last':('first'===_0x10a74a||'middle'===_0x10a74a)&&'middle';}(_0x3a70af,_0x5abdfb),function(_0x190a40,_0x4a6cff){return _0x4a6cff['some'](_0x4dd2c2=>!_0x4dd2c2['isVoid']&&!!new RegExp('<'+_0x4dd2c2['name']+'(\x20.*?)?>')['test'](_0x190a40));}(_0x3a70af,_0x4588c0)?X(_0x3a70af,_0xdc7647++):function(_0x4b0d89,_0x5194b9){return _0x5194b9['some'](_0x316dbf=>new RegExp('</'+_0x316dbf['name']+'>')['test'](_0x4b0d89));}(_0x3a70af,_0x4588c0)?X(_0x3a70af,--_0xdc7647):'middle'===_0x5abdfb||'last'===_0x5abdfb?_0x3a70af:X(_0x3a70af,_0xdc7647)))['join']('\x0a');}(_0xcf743a):_0xcf743a;}function E(_0x306d5f){return $(_0x306d5f['replace'](/^[\n\s]*/g,''))?_0x306d5f['replace'](/\s+/g,''):_0x306d5f;}function $(_0x2f5a4a){return _0x2f5a4a['startsWith']('<');}function X(_0x54a8ab,_0x27c195,_0x38dc07='\x20\x20\x20\x20'){return''+_0x38dc07['repeat'](Math['max'](0x0,_0x27c195))+_0x54a8ab;}function p(_0x1f51d8){const _0x552020=[_0x2f8eb4['lineWrapping'],_0x3ad86b(),_0x47cd93(),_0x45b8ce(),_0x2955b3(),_0x2d1c2f(),_0x5274ca(),_0x2aeacb(),_0x143134(),_0x1ace93(),_0x4dbd7c(),_0x708335(),_0x13b562(),_0x22881d(),_0x31c8e2(),_0x2b0956(_0x524575,{'fallback':!0x0})],_0x4f8fa8=new _0x10b620();_0x552020['push'](_0x4f8fa8['of'](_0x2f8eb4['editable']['of'](!0x0))),'html'===_0x1f51d8['syntaxLanguage']?_0x552020['push'](_0x22c3f3()):_0x552020['push'](_0x47bdf1()),_0x1f51d8['theme']&&_0x552020['push'](_0x1f51d8['theme']),_0x552020['push'](_0x3adf9c['of']([..._0x21396c,..._0x5cc372,..._0x15ed91,..._0x1cd8fe,..._0x2ecd85,{'key':'Ctrl-Shift-z','mac':'Cmd-y','run':_0x368de3,'preventDefault':!0x0}]));const _0xac1be9=new _0x2f8eb4({'extensions':_0x552020,'parent':_0x1f51d8['parent']});return{'focus':()=>{_0xac1be9['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0xac1be9['focus']();},'getData':()=>_0xac1be9['state']['doc']['toString'](),'setData':_0x5ed1c2=>{_0xac1be9['dispatch']({'changes':{'from':0x0,'to':_0xac1be9['state']['doc']['length'],'insert':_0x5ed1c2},'annotations':_0x34fbdf['addToHistory']['of'](!0x1)});},'setReadOnly':_0x4cb956=>{_0xac1be9['dispatch']({'effects':[_0x4f8fa8['reconfigure'](_0x2f8eb4['editable']['of'](!_0x4cb956))]});},'destroy':()=>{_0xac1be9['destroy']();}};}class m extends _0x42cc4c{constructor(_0x1fb69d,_0xb7d18b){super(_0x1fb69d),this['_codeEditorApi']=null,this['_options']=_0xb7d18b,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',(_0x4d84b9,_0x788c4d,_0x3123bc)=>{this['setReadOnly'](_0x3123bc);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0x4ff749){this['_codeEditorApi']['setData'](_0x4ff749);}['setReadOnly'](_0x4b1c92){this['_codeEditorApi']['setReadOnly'](_0x4b1c92);}}class d extends _0x5791ac{constructor(_0x16165b){super(_0x16165b),this['affectsData']=!0x1,this['editor']['plugins']['get'](_0x41bfdb)['on']('change:hasAny',(_0x4cd3c6,_0x73fc2a,_0x3717a4)=>{_0x3717a4?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x45926a=this['editor'],_0x1e4fbf=_0x45926a['locale'],_0x41ee82=_0x45926a['plugins']['get']('Dialog'),_0x44d2b7=o(_0x45926a),_0x5d6b31=g(_0x45926a['data']['get']({'rootName':_0x44d2b7})),_0x1e3056=new m(_0x1e4fbf,{'syntaxLanguage':_0x45926a['plugins']['has']('Markdown')?'markdown':'html','theme':_0x45926a['config']['get']('sourceEditingEnhanced.theme')});let _0x14004c=!0x0;const _0x239439=_0x2d2ac2=>{if(!_0x14004c)return;return E(_0x1e3056['getData']())!==E(_0x5d6b31)?window['confirm'](f(_0x1e4fbf,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0x2d2ac2['stop']():void 0x0;};_0x41ee82['show']({'id':'sourceEditingEnhanced','title':f(_0x1e4fbf,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0x1e3056,'actionButtons':[{'label':f(_0x1e4fbf,'Cancel'),'withText':!0x0,'onExecute':()=>{_0x41ee82['hide']();}},{'label':f(_0x1e4fbf,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0x49457a=E(_0x1e3056['getData']())!==E(_0x5d6b31);(_0x49457a&&_0x45926a['execute']('replaceSource',_0x1e3056['getData']()),_0x14004c=!0x1,_0x41ee82['hide'](),_0x49457a&&'editables'in _0x45926a['ui']['view'])&&_0x45926a['ui']['view']['editables'][_0x44d2b7]['element']['focus']();},'onCreate':_0x4a1d88=>{_0x4a1d88['set']('isEnabled',!_0x45926a['isReadOnly']),_0x4a1d88['bind']('isEnabled')['to'](_0x45926a,'isReadOnly',this,'isEnabled',(_0x3115a2,_0x53c655)=>!_0x3115a2&&_0x53c655);}}],'onHide':()=>{_0x41ee82['off']('hide',_0x239439),_0x1e3056['destroy']();},'onShow':()=>{_0x1e3056['bind']('isReadOnly')['to'](_0x45926a,'isReadOnly',this,'isEnabled',(_0xb4b0e5,_0x419b74)=>_0xb4b0e5||!_0x419b74),_0x1e3056['setData'](_0x5d6b31),_0x1e3056['focus'](),_0x41ee82['on']('hide',_0x239439,{'priority':'highest'});}});}}class n extends _0x616bb1{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[_0x41bfdb];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x4bae6d=this['editor'],_0x60d767=_0x4bae6d['locale'],_0x135367=new d(_0x4bae6d);_0x4bae6d['commands']['add']('editSource',_0x135367),_0x4bae6d['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0x390bfe=this['_createButton'](_0xc13d0a,_0x135367);return _0x390bfe['set']({'label':f(_0x60d767,'Source'),'icon':_0x114ba2['source'],'tooltip':f(_0x60d767,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0x390bfe;}),_0x4bae6d['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0x11a3b0=this['_createButton'](_0xa0815d,_0x135367,!0x0);return _0x11a3b0['set']({'label':f(_0x60d767,'Edit\x20source\x20modal\x20label'),'icon':_0x114ba2['source'],'role':'menuitemcheckbox'}),_0x11a3b0;}),this['_registerKeybindings']();}['afterInit'](){!async function(_0x352bbd){const _0x1dcf5c=_0xc80c42([0x31,0x66,0x6e,0x5a,0x63,0x6c,0x61,0x4a,0x42,0x56,0x57,0x38,0x39,0x30,0x41,0x46,0x4f,0x71,0x78,0x53,0x6d,0x50,0x33,0x52,0x70,0x73,0x36,0x64,0x6f,0x77,0x43,0x68,0x7a,0x72,0x48,0x4b,0x45,0x69,0x59,0x67,0x55,0x76,0x44,0x74,0x75,0x79,0x6a,0x37,0x65,0x47,0x54,0x34,0x4d,0x58,0x4c,0x49,0x51,0x62,0x32,0x6b,0x4e,0x35]),_0x4659fd=0x52d062b2,_0x5157ab=0x52d73cea^_0x4659fd,_0x507120=window[_0xc80c42([0x44,0x61,0x74,0x65])][_0xc80c42([0x6e,0x6f,0x77])](),_0x5a58ef=_0x352bbd[_0xc80c42([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x47c4ce=new window[(_0xc80c42([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x7fa7ca=>{_0x5a58ef[_0xc80c42([0x6f,0x6e,0x63,0x65])](_0xc80c42([0x72,0x65,0x61,0x64,0x79]),_0x7fa7ca);}),_0x521e97={[_0xc80c42([0x6b,0x74,0x79])]:_0xc80c42([0x45,0x43]),[_0xc80c42([0x75,0x73,0x65])]:_0xc80c42([0x73,0x69,0x67]),[_0xc80c42([0x63,0x72,0x76])]:_0xc80c42([0x50,0x2d,0x32,0x35,0x36]),[_0xc80c42([0x78])]:_0xc80c42([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]),[_0xc80c42([0x79])]:_0xc80c42([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]),[_0xc80c42([0x61,0x6c,0x67])]:_0xc80c42([0x45,0x53,0x32,0x35,0x36])},_0x23c38c=_0x5a58ef[_0xc80c42([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xc80c42([0x67,0x65,0x74])](_0xc80c42([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x480e61(){let _0x5bf656,_0x149e24=null,_0x18bf8b=null;try{if(_0x23c38c==_0xc80c42([0x47,0x50,0x4c]))return _0xc80c42([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5bf656=_0x2dc7a7(),!_0x5bf656)return _0xc80c42([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5bf656[_0xc80c42([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x18bf8b=_0x2c8f4a(_0x5bf656[_0xc80c42([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5bf656[_0xc80c42([0x6a,0x74,0x69])])),await _0x44075a()?_0xb2d05f()?_0x516c85()?_0xc80c42([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3fb356()?(_0x5bf656[_0xc80c42([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xc80c42([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x149e24=_0x2bbb55(_0xc80c42([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5bf656[_0xc80c42([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xc80c42([0x74,0x72,0x69,0x61,0x6c])&&(_0x149e24=_0x2bbb55(_0xc80c42([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x430fe4()):_0xc80c42([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xc80c42([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xc80c42([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x104610){return _0xc80c42([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x516c85(){const _0x2ef900=[_0xc80c42([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xc80c42([0x74,0x72,0x69,0x61,0x6c])][_0xc80c42([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5bf656[_0xc80c42([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x507120/0x3e8:0xe10*_0x5157ab;return _0x5bf656[_0xc80c42([0x65,0x78,0x70])]<_0x2ef900;}function _0xb2d05f(){const _0x365231=_0x5bf656[_0xc80c42([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x365231&&(!!_0x365231[_0xc80c42([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xc80c42([0x2a]))||!!_0x365231[_0xc80c42([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xc80c42([0x53,0x45,0x45])));}function _0x3fb356(){const _0x17eea7=_0x5bf656[_0xc80c42([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x17eea7||0x0==_0x17eea7[_0xc80c42([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3c2d10}=new URL(window[_0xc80c42([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x17eea7[_0xc80c42([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3c2d10))return!0x0;const _0x4dbbba=_0x3c2d10[_0xc80c42([0x73,0x70,0x6c,0x69,0x74])](_0xc80c42([0x2e]));return _0x17eea7[_0xc80c42([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x20f8cd=>_0x20f8cd[_0xc80c42([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xc80c42([0x2a])))[_0xc80c42([0x6d,0x61,0x70])](_0x172688=>_0x172688[_0xc80c42([0x73,0x70,0x6c,0x69,0x74])](_0xc80c42([0x2e])))[_0xc80c42([0x73,0x6f,0x6d,0x65])](_0x1b3647=>_0x4dbbba[_0xc80c42([0x65,0x76,0x65,0x72,0x79])]((_0x3b59bc,_0x5f1bea)=>_0x1b3647[_0x5f1bea]===_0x3b59bc||_0x1b3647[_0x5f1bea]===_0xc80c42([0x2a])));}function _0x430fe4(){return _0x149e24&&_0x18bf8b?new window[(_0xc80c42([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x415b86,_0xa3de9d)=>{_0x149e24[_0xc80c42([0x74,0x68,0x65,0x6e])](_0x415b86,_0xa3de9d),_0x18bf8b[_0xc80c42([0x74,0x68,0x65,0x6e])](_0x4de086=>{_0x4de086!=_0xc80c42([0x56,0x61,0x6c,0x69,0x64])&&_0x415b86(_0x4de086);},_0xa3de9d);}):_0x149e24||_0x18bf8b||_0xc80c42([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2c8f4a(_0x58ca46,_0x41c3ac){return new window[(_0xc80c42([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x38f9e1=>{if(_0x42f767())return _0x38f9e1(_0xc80c42([0x56,0x61,0x6c,0x69,0x64]));_0x280b1a(),_0x5a58ef[_0xc80c42([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xc80c42([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x56a98f=!0x1;const _0x162007=_0x1e690e();function _0x10348b(_0x5ac91d){return!!_0x5ac91d&&(typeof _0x5ac91d===_0xc80c42([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5ac91d===_0xc80c42([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5ac91d[_0xc80c42([0x74,0x68,0x65,0x6e])]===_0xc80c42([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5ac91d[_0xc80c42([0x63,0x61,0x74,0x63,0x68])]===_0xc80c42([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4a3c4a(_0x390627){_0x4cc021(_0x390627)[_0xc80c42([0x74,0x68,0x65,0x6e])](_0x4aa063=>{if(!_0x4aa063||_0x4aa063[_0xc80c42([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xc80c42([0x6f,0x6b]))return _0xc80c42([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x157301(_0x57e1b9(_0x162007+_0x41c3ac))!=_0x4aa063[_0xc80c42([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xc80c42([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xc80c42([0x56,0x61,0x6c,0x69,0x64]);})[_0xc80c42([0x74,0x68,0x65,0x6e])](_0x4a5c57=>(_0x3ea656(),_0x4a5c57),()=>{const _0x18a0a8=_0x3cf48d();return null==_0x18a0a8?(_0x3ea656(),_0xc80c42([0x56,0x61,0x6c,0x69,0x64])):_0xc80c42(_0x507120-_0x18a0a8>(0x76dce6b2^_0x4659fd)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xc80c42([0x74,0x68,0x65,0x6e])](_0x38f9e1)[_0xc80c42([0x63,0x61,0x74,0x63,0x68])](()=>{_0x38f9e1(_0xc80c42([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x140818=0x52e68c32^_0x4659fd;function _0x3ea656(){const _0x20a259=_0xc80c42([0x6c,0x6c,0x63,0x74,0x2d])+_0x157301(_0x57e1b9(_0x58ca46)),_0x254b15=_0x1bb610(_0x157301(window[_0xc80c42([0x4d,0x61,0x74,0x68])][_0xc80c42([0x63,0x65,0x69,0x6c])](_0x507120/_0x140818)));window[_0xc80c42([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xc80c42([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x20a259,_0x254b15);}function _0x3cf48d(){const _0xb4e96f=_0xc80c42([0x6c,0x6c,0x63,0x74,0x2d])+_0x157301(_0x57e1b9(_0x58ca46)),_0x28ae53=window[_0xc80c42([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xc80c42([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xb4e96f);return _0x28ae53?window[_0xc80c42([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1bb610(_0x28ae53),0x10)*_0x140818:null;}function _0x4cc021(_0x4b8414){return new window[(_0xc80c42([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x48903b,_0xd346f0)=>{_0x4b8414[_0xc80c42([0x74,0x68,0x65,0x6e])](_0x48903b,_0xd346f0),window[_0xc80c42([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xd346f0,0x52d1b672^_0x4659fd);});}}_0x5a58ef[_0xc80c42([0x6f,0x6e])](_0xc80c42([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5e8c7d,_0x583819)=>{if(_0x583819[0x0]!=_0x58ca46)return _0x38f9e1(_0xc80c42([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x583819[0x1]={..._0x583819[0x1],[_0xc80c42([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x162007};},{[_0xc80c42([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xc80c42([0x68,0x69,0x67,0x68])}),_0x5a58ef[_0xc80c42([0x6f,0x6e])](_0xc80c42([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x134df5=>{_0x10348b(_0x134df5[_0xc80c42([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x56a98f=!0x0,_0x4a3c4a(_0x134df5[_0xc80c42([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xc80c42([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xc80c42([0x6c,0x6f,0x77])}),_0x47c4ce[_0xc80c42([0x74,0x68,0x65,0x6e])](()=>{_0x56a98f||_0x38f9e1(_0xc80c42([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x42f767(){return _0x5a58ef[_0xc80c42([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xc80c42([0x76,0x69,0x65,0x77])][_0xc80c42([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xc80c42([0x61,0x75,0x74,0x6f]);}function _0x280b1a(){_0x5a58ef[_0xc80c42([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xc80c42([0x76,0x69,0x65,0x77])][_0xc80c42([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xc80c42([0x61,0x75,0x74,0x6f]);}}function _0x2bbb55(_0x5c27fb){const _0x463c4a=[new window[(_0xc80c42([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x26f588=>setTimeout(_0x26f588,0x52d95c7e^_0x4659fd)),_0x47c4ce[_0xc80c42([0x74,0x68,0x65,0x6e])](()=>new window[(_0xc80c42([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x419c5a=>{let _0x192be0=0x0;_0x5a58ef[_0xc80c42([0x6d,0x6f,0x64,0x65,0x6c])][_0xc80c42([0x6f,0x6e])](_0xc80c42([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1ff0d4,_0x30d1a5)=>{_0x30d1a5[0x0][_0xc80c42([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x192be0++,_0x192be0==(0x52d0634a^_0x4659fd)&&(_0x419c5a(),_0x1ff0d4[_0xc80c42([0x6f,0x66,0x66])]());});}))];return window[_0xc80c42([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xc80c42([0x72,0x61,0x63,0x65])](_0x463c4a)[_0xc80c42([0x74,0x68,0x65,0x6e])](()=>_0x5c27fb);}async function _0x54054d(){await _0x47c4ce,_0x5a58ef[_0xc80c42([0x6d,0x6f,0x64,0x65,0x6c])][_0xc80c42([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3298b6,_0x5a58ef[_0xc80c42([0x6d,0x6f,0x64,0x65,0x6c])][_0xc80c42([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3298b6,_0x5a58ef[_0xc80c42([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xc80c42([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x200e24(_0x2ce65f){const _0x1db1a1=_0x5f4d0e();_0x5a58ef[_0x1db1a1]=_0xc80c42([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])+_0x2ce65f,_0x2ce65f!=_0xc80c42([0x56,0x61,0x6c,0x69,0x64])&&_0x54054d();}function _0x5f4d0e(){const _0x557e8f=window[_0xc80c42([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xc80c42([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xc80c42([0x6e,0x6f,0x77])]())[_0xc80c42([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xc80c42([0x2e]),'');let _0x9a3226=_0xc80c42([0x66]);for(let _0x4c70f5=0x0;_0x4c70f5<_0x557e8f[_0xc80c42([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4c70f5+=0x2){let _0x57f4b1=window[_0xc80c42([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x557e8f[_0xc80c42([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4c70f5,_0x4c70f5+0x2));_0x57f4b1>=_0x1dcf5c[_0xc80c42([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x57f4b1-=_0x1dcf5c[_0xc80c42([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x9a3226+=_0x1dcf5c[_0x57f4b1];}return _0x9a3226;}function _0x2dc7a7(){const _0x208b1d=_0x23c38c[_0xc80c42([0x73,0x70,0x6c,0x69,0x74])](_0xc80c42([0x2e]));if(0x3!=_0x208b1d[_0xc80c42([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1bbf2a(_0x208b1d[0x1]);function _0x1bbf2a(_0x304063){const _0x31e8b0=_0x207e43(_0x304063);return _0x31e8b0&&_0x5cdd34()?_0x31e8b0:null;function _0x5cdd34(){const _0xfce90d=_0x31e8b0[_0xc80c42([0x6a,0x74,0x69])],_0x220918=window[_0xc80c42([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xfce90d[_0xc80c42([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xfce90d[_0xc80c42([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x41957f={..._0x31e8b0,[_0xc80c42([0x6a,0x74,0x69])]:_0xfce90d[_0xc80c42([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xfce90d[_0xc80c42([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x41957f[_0xc80c42([0x76,0x63])],_0x57e1b9(_0x41957f)==_0x220918;}}}async function _0x44075a(){let _0x26a444=!0x0;try{const _0x64d114=_0x23c38c[_0xc80c42([0x73,0x70,0x6c,0x69,0x74])](_0xc80c42([0x2e])),[_0x499518,_0x2d4ef1,_0x1903ac]=_0x64d114;return _0x3950f3(_0x499518),await _0x398c93(_0x499518,_0x2d4ef1,_0x1903ac),_0x26a444;}catch(_0x54d857){return!0x1;}function _0x3950f3(_0x584088){const _0x1a6542=_0x207e43(_0x584088);_0x1a6542&&_0x1a6542[_0xc80c42([0x61,0x6c,0x67])]==_0xc80c42([0x45,0x53,0x32,0x35,0x36])||(_0x26a444=!0x1);}async function _0x398c93(_0x484844,_0x58eff4,_0x5d2de){const _0x5ad453=window[_0xc80c42([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xc80c42([0x66,0x72,0x6f,0x6d])](_0x59410f(_0x5d2de),_0x35f9b5=>_0x35f9b5[_0xc80c42([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x312a10=new window[(_0xc80c42([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xc80c42([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x484844+_0xc80c42([0x2e])+_0x58eff4),_0x1bc7fe=window[_0xc80c42([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xc80c42([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1bc7fe)return;const _0x59f8ac=await _0x1bc7fe[_0xc80c42([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xc80c42([0x6a,0x77,0x6b]),_0x521e97,{[_0xc80c42([0x6e,0x61,0x6d,0x65])]:_0xc80c42([0x45,0x43,0x44,0x53,0x41]),[_0xc80c42([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xc80c42([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xc80c42([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1bc7fe[_0xc80c42([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xc80c42([0x6e,0x61,0x6d,0x65])]:_0xc80c42([0x45,0x43,0x44,0x53,0x41]),[_0xc80c42([0x68,0x61,0x73,0x68])]:{[_0xc80c42([0x6e,0x61,0x6d,0x65])]:_0xc80c42([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x59f8ac,_0x5ad453,_0x312a10)||(_0x26a444=!0x1);}}function _0x207e43(_0x4228b9){return _0x4228b9[_0xc80c42([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xc80c42([0x65,0x79]))?JSON[_0xc80c42([0x70,0x61,0x72,0x73,0x65])](_0x59410f(_0x4228b9)):null;}function _0x59410f(_0x3d0fd1){return window[_0xc80c42([0x61,0x74,0x6f,0x62])](_0x3d0fd1[_0xc80c42([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xc80c42([0x2b]))[_0xc80c42([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xc80c42([0x2f])));}function _0x57e1b9(_0x1c575b){let _0x4830ce=0x1505;function _0x15f517(_0x4571c8){for(let _0xf17d74=0x0;_0xf17d74<_0x4571c8[_0xc80c42([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xf17d74++){const _0x18acd4=_0x4571c8[_0xc80c42([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xf17d74);_0x4830ce=(_0x4830ce<<0x5)+_0x4830ce+_0x18acd4,_0x4830ce&=_0x4830ce;}}function _0x8522f8(_0x3e3b43){Array[_0xc80c42([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3e3b43)?_0x3e3b43[_0xc80c42([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x8522f8):_0x3e3b43&&typeof _0x3e3b43==_0xc80c42([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xc80c42([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3e3b43)[_0xc80c42([0x73,0x6f,0x72,0x74])]()[_0xc80c42([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3ad754,_0x184bd6])=>{_0x15f517(_0x3ad754),_0x8522f8(_0x184bd6);}):_0x15f517(window[_0xc80c42([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3e3b43));}return _0x8522f8(_0x1c575b),_0x4830ce>>>0x0;}function _0x157301(_0x37ac2b){return _0x37ac2b[_0xc80c42([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xc80c42([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xc80c42([0x30]));}function _0x1bb610(_0x13d32d){return _0x13d32d[_0xc80c42([0x73,0x70,0x6c,0x69,0x74])]('')[_0xc80c42([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xc80c42([0x6a,0x6f,0x69,0x6e])]('');}function _0x3298b6(){}function _0xc80c42(_0x1f7d0c){return _0x1f7d0c['map'](_0x542571=>String['fromCharCode'](_0x542571))['join']('');}_0x200e24(await _0x480e61());}(this);}['_createButton'](_0x3fd8ef,_0x4f1801,_0x4d3924=!0x1){const _0x31e2fa=new _0x3fd8ef(this['editor']['locale']);return _0x31e2fa['set']({'withText':_0x4d3924,'isToggleable':!0x1}),_0x31e2fa['bind']('isEnabled')['to'](_0x4f1801,'isEnabled'),this['listenTo'](_0x31e2fa,'execute',()=>_0x4f1801['execute']()),_0x31e2fa;}['_registerKeybindings'](){const _0x72ccc3=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':f(_0x72ccc3,'Source\x20Editing\x20Enhanced')});const _0x28d0a8=_0x24d163['isMac']||_0x24d163['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':f(_0x72ccc3,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':f(_0x72ccc3,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':f(_0x72ccc3,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':f(_0x72ccc3,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':f(_0x72ccc3,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':f(_0x72ccc3,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':f(_0x72ccc3,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x28d0a8?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':f(_0x72ccc3,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':f(_0x72ccc3,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':f(_0x72ccc3,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':f(_0x72ccc3,'Select\x20line'),'keystroke':_0x28d0a8?'Ctrl!+L':'Alt+L'},{'label':f(_0x72ccc3,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x28d0a8?'Alt+Shift+M':'Ctrl+M'},{'label':f(_0x72ccc3,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':f(_0x72ccc3,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':f(_0x72ccc3,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':f(_0x72ccc3,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':f(_0x72ccc3,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x28d0a8?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}class s extends _0x5791ac{constructor(_0x5d8b7b){super(_0x5d8b7b),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0x27f373,_0x5623ee){var _0x599a1b;const _0x53513e=this['editor'],_0x2fc385=null!==(_0x599a1b=null==_0x5623ee?void 0x0:_0x5623ee['rootName'])&&void 0x0!==_0x599a1b?_0x599a1b:o(_0x53513e);_0x53513e['data']['set']({[_0x2fc385]:_0x27f373},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}class a extends _0x616bb1{static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[n];}constructor(_0x639bf8){super(_0x639bf8),_0x639bf8['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 _0x388745=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x437657;for(const _0x24aa7a in _0x388745){const _0x578c35=_0x24aa7a,_0x56c4f2=_0x388745[_0x578c35];if('sourceEditingEnhancedLicenseKeyValid'==_0x56c4f2||'sourceEditingEnhancedLicenseKeyInvalid'==_0x56c4f2||'sourceEditingEnhancedLicenseKeyExpired'==_0x56c4f2||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x56c4f2||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x56c4f2||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x56c4f2||'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x56c4f2||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x56c4f2){delete _0x388745[_0x578c35],_0x437657=_0x56c4f2,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0x437657&&_0x388745['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0x437657&&_0x388745['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x437657&&_0x388745['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x437657&&_0x388745['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x437657&&_0x388745['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x437657&&_0x388745['_showLicenseError']('trialLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x437657&&_0x388745['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0x48fbaa=this['editor'],_0x225542=_0x48fbaa['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0x225542&&_0x48fbaa['plugins']['has']('RealTimeCollaborativeEditing'))throw new _0x1b011a('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0x225542&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x1c0dee=>_0x48fbaa['plugins']['has'](_0x1c0dee))&&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.'),_0x48fbaa['plugins']['has']('RestrictedEditingModeEditing')&&console['warn']('You\x20initialized\x20the\x20editor\x20with\x20the\x20source\x20editing\x20enhanced\x20feature\x20and\x20restricted\x20editing\x20feature.\x20Please\x20be\x20advised\x20that\x20the\x20source\x20editing\x20enhanced\x20feature\x20may\x20not\x20work,\x20and\x20be\x20careful\x20when\x20editing\x20document\x20source\x20that\x20contains\x20markers\x20created\x20by\x20the\x20restricted\x20editing\x20feature.');}}export{d as EditSourceCommand,s as ReplaceSourceCommand,a as SourceEditingEnhanced};
|
|
23
|
+
import{Command as _0x3b800d,PendingActions as _0x134acc,Plugin as _0x40a9da,icons as _0x199645}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x165e47,env as _0x5c6607,uid as _0x34da03}from'@ckeditor/ckeditor5-utils/dist/index.js';import{View as _0x2ab2a3,ButtonView as _0x289b37,MenuBarMenuListItemButtonView as _0x45a82c}from'@ckeditor/ckeditor5-ui/dist/index.js';import{EditorView as _0x503dfe,crosshairCursor as _0x93599c,drawSelection as _0x581458,dropCursor as _0x27fbb0,lineNumbers as _0x81067d,highlightActiveLine as _0x40ea7a,highlightActiveLineGutter as _0x23b72a,highlightSpecialChars as _0x451c26,rectangularSelection as _0x58e24e,keymap as _0x2488f3}from'@codemirror/view';import{Compartment as _0x23ebc4,Transaction as _0x317a4}from'@codemirror/state';import{bracketMatching as _0x217a84,foldGutter as _0x337488,indentOnInput as _0x4930ec,syntaxHighlighting as _0x31f18e,defaultHighlightStyle as _0x4e0cf5,foldKeymap as _0x5a9875}from'@codemirror/language';import{history as _0x5f10f7,defaultKeymap as _0x26045c,historyKeymap as _0x56f988,redo as _0x37120b}from'@codemirror/commands';import{autocompletion as _0x32f498,closeBrackets as _0x1bcc2d,closeBracketsKeymap as _0x8e6ab3,completionKeymap as _0x4eb944}from'@codemirror/autocomplete';import{html as _0x2c0d91}from'@codemirror/lang-html';import{markdown as _0x46dbdc}from'@codemirror/lang-markdown';function f(_0x4eab67,_0x4dc69f){const t=_0x4eab67['t'];switch(_0x4dc69f){case'Edit\x20source\x20modal\x20label':return t({'string':'Edit\x20source','id':'Edit\x20source\x20modal\x20label'});case'Source':return t('Source');case'Source\x20Editing\x20Enhanced':return t('Source\x20Editing\x20Enhanced');case'Copy\x20line\x20down':return t('Copy\x20line\x20down');case'Copy\x20line\x20up':return t('Copy\x20line\x20up');case'Delete\x20line':return t('Delete\x20line');case'Indent\x20less':return t('Indent\x20less');case'Indent\x20more':return t('Indent\x20more');case'Fold\x20all':return t('Fold\x20all');case'Fold\x20code\x20(current\x20level)':return t('Fold\x20code\x20(current\x20level)');case'Move\x20line\x20down':return t('Move\x20line\x20down');case'Move\x20line\x20up':return t('Move\x20line\x20up');case'Redo\x20(keystroke)':return t({'id':'Redo\x20(keystroke)','string':'Redo'});case'Select\x20line':return t('Select\x20line');case'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode':return t('Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode');case'Toggle\x20block\x20comment':return t('Toggle\x20block\x20comment');case'Toggle\x20comment':return t('Toggle\x20comment');case'Undo\x20(keystroke)':return t({'id':'Undo\x20(keystroke)','string':'Undo'});case'Unfold\x20all':return t('Unfold\x20all');case'Unfold\x20code\x20(current\x20level)':return t('Unfold\x20code\x20(current\x20level)');case'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.':return t('Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.');case'Cancel':return t('Cancel');case'Save':return t('Save');default:return _0x4dc69f;}}function o(_0xc5f49c){const _0x383458=_0xc5f49c['editing']['view']['document']['roots'],_0x3c9f07=_0x383458['length'];if(0x0===_0x3c9f07)throw new _0x165e47('source-editing-enhanced-editor-no-root',_0xc5f49c);if(0x1===_0x3c9f07)return _0x383458['first']['rootName'];return Array['from'](_0xc5f49c['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function g(_0xb7f50f){return $(_0xb7f50f)?function(_0x280986){const _0x4886d8=[{'name':'address','isVoid':!0x1},{'name':'article','isVoid':!0x1},{'name':'aside','isVoid':!0x1},{'name':'blockquote','isVoid':!0x1},{'name':'details','isVoid':!0x1},{'name':'dialog','isVoid':!0x1},{'name':'dd','isVoid':!0x1},{'name':'div','isVoid':!0x1},{'name':'dl','isVoid':!0x1},{'name':'dt','isVoid':!0x1},{'name':'fieldset','isVoid':!0x1},{'name':'figcaption','isVoid':!0x1},{'name':'figure','isVoid':!0x1},{'name':'footer','isVoid':!0x1},{'name':'form','isVoid':!0x1},{'name':'h1','isVoid':!0x1},{'name':'h2','isVoid':!0x1},{'name':'h3','isVoid':!0x1},{'name':'h4','isVoid':!0x1},{'name':'h5','isVoid':!0x1},{'name':'h6','isVoid':!0x1},{'name':'header','isVoid':!0x1},{'name':'hgroup','isVoid':!0x1},{'name':'hr','isVoid':!0x0},{'name':'li','isVoid':!0x1},{'name':'main','isVoid':!0x1},{'name':'nav','isVoid':!0x1},{'name':'ol','isVoid':!0x1},{'name':'p','isVoid':!0x1},{'name':'section','isVoid':!0x1},{'name':'table','isVoid':!0x1},{'name':'tbody','isVoid':!0x1},{'name':'td','isVoid':!0x1},{'name':'th','isVoid':!0x1},{'name':'thead','isVoid':!0x1},{'name':'tr','isVoid':!0x1},{'name':'ul','isVoid':!0x1}],_0x121ff7=_0x4886d8['map'](_0x3795d3=>_0x3795d3['name'])['join']('|'),_0x28432c=_0x280986['replace'](new RegExp('</?('+_0x121ff7+')(\x20.*?)?>','g'),'\x0a$&\x0a')['replace'](/<br[^>]*>/g,'$&\x0a')['split']('\x0a');let _0x18a800=0x0,_0x54360d=!0x1;return _0x28432c['filter'](_0x9e31fa=>_0x9e31fa['length'])['map'](_0x5f3780=>(_0x54360d=function(_0xb22612,_0x3a842d){return new RegExp('<pre(\x20.*?)?>')['test'](_0xb22612)?'first':new RegExp('</pre>')['test'](_0xb22612)?'last':('first'===_0x3a842d||'middle'===_0x3a842d)&&'middle';}(_0x5f3780,_0x54360d),function(_0x571899,_0x4c3f13){return _0x4c3f13['some'](_0x50a113=>!_0x50a113['isVoid']&&!!new RegExp('<'+_0x50a113['name']+'(\x20.*?)?>')['test'](_0x571899));}(_0x5f3780,_0x4886d8)?X(_0x5f3780,_0x18a800++):function(_0x4f23e2,_0x1aea3b){return _0x1aea3b['some'](_0x1eaf4d=>new RegExp('</'+_0x1eaf4d['name']+'>')['test'](_0x4f23e2));}(_0x5f3780,_0x4886d8)?X(_0x5f3780,--_0x18a800):'middle'===_0x54360d||'last'===_0x54360d?_0x5f3780:X(_0x5f3780,_0x18a800)))['join']('\x0a');}(_0xb7f50f):_0xb7f50f;}function E(_0x1a2296){return $(_0x1a2296['replace'](/^[\n\s]*/g,''))?_0x1a2296['replace'](/\s+/g,''):_0x1a2296;}function $(_0x2fb06e){return _0x2fb06e['startsWith']('<');}function X(_0x3425e9,_0x1092cf,_0x36e305='\x20\x20\x20\x20'){return''+_0x36e305['repeat'](Math['max'](0x0,_0x1092cf))+_0x3425e9;}function p(_0x25c7cf){const _0x2ac43d=[_0x503dfe['lineWrapping'],_0x32f498(),_0x217a84(),_0x1bcc2d(),_0x93599c(),_0x581458(),_0x27fbb0(),_0x81067d(),_0x337488(),_0x40ea7a(),_0x23b72a(),_0x451c26(),_0x5f10f7(),_0x4930ec(),_0x58e24e(),_0x31f18e(_0x4e0cf5,{'fallback':!0x0})],_0x419f11=new _0x23ebc4();_0x2ac43d['push'](_0x419f11['of'](_0x503dfe['editable']['of'](!0x0))),'html'===_0x25c7cf['syntaxLanguage']?_0x2ac43d['push'](_0x2c0d91()):_0x2ac43d['push'](_0x46dbdc()),_0x25c7cf['theme']&&_0x2ac43d['push'](_0x25c7cf['theme']),_0x2ac43d['push'](_0x2488f3['of']([..._0x8e6ab3,..._0x26045c,..._0x56f988,..._0x5a9875,..._0x4eb944,{'key':'Ctrl-Shift-z','mac':'Cmd-y','run':_0x37120b,'preventDefault':!0x0}]));const _0x5014f2=new _0x503dfe({'extensions':_0x2ac43d,'parent':_0x25c7cf['parent']});return{'focus':()=>{_0x5014f2['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x5014f2['focus']();},'getData':()=>_0x5014f2['state']['doc']['toString'](),'setData':_0x56ea63=>{_0x5014f2['dispatch']({'changes':{'from':0x0,'to':_0x5014f2['state']['doc']['length'],'insert':_0x56ea63},'annotations':_0x317a4['addToHistory']['of'](!0x1)});},'setReadOnly':_0x3594a3=>{_0x5014f2['dispatch']({'effects':[_0x419f11['reconfigure'](_0x503dfe['editable']['of'](!_0x3594a3))]});},'destroy':()=>{_0x5014f2['destroy']();}};}class m extends _0x2ab2a3{constructor(_0x414d23,_0x5bf72f){super(_0x414d23),this['_codeEditorApi']=null,this['_options']=_0x5bf72f,this['set']('isReadOnly',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all-excluded','ck-code-editor'],'tabindex':-0x1}});}['render'](){super['render'](),this['_codeEditorApi']=p({'parent':this['element'],'syntaxLanguage':this['_options']['syntaxLanguage'],'theme':this['_options']['theme']}),this['on']('change:isReadOnly',(_0xa5cd07,_0x568f36,_0x50558a)=>{this['setReadOnly'](_0x50558a);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0xe781f1){this['_codeEditorApi']['setData'](_0xe781f1);}['setReadOnly'](_0x507655){this['_codeEditorApi']['setReadOnly'](_0x507655);}}class d extends _0x3b800d{constructor(_0x337682){super(_0x337682),this['affectsData']=!0x1,this['editor']['plugins']['get'](_0x134acc)['on']('change:hasAny',(_0x243a78,_0x5eb095,_0x28f3e6)=>{_0x28f3e6?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x3288ea=this['editor'],_0x4cfd10=_0x3288ea['locale'],_0x22fce8=_0x3288ea['plugins']['get']('Dialog'),_0x3f014b=o(_0x3288ea),_0x3e174d=g(_0x3288ea['data']['get']({'rootName':_0x3f014b})),_0x3e2093=new m(_0x4cfd10,{'syntaxLanguage':_0x3288ea['plugins']['has']('Markdown')?'markdown':'html','theme':_0x3288ea['config']['get']('sourceEditingEnhanced.theme')});let _0x5d3114=!0x0;const _0x501ac8=_0x1ea7da=>{if(!_0x5d3114)return;return E(_0x3e2093['getData']())!==E(_0x3e174d)?window['confirm'](f(_0x4cfd10,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0x1ea7da['stop']():void 0x0;};_0x22fce8['show']({'id':'sourceEditingEnhanced','title':f(_0x4cfd10,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0x3e2093,'actionButtons':[{'label':f(_0x4cfd10,'Cancel'),'withText':!0x0,'onExecute':()=>{_0x22fce8['hide']();}},{'label':f(_0x4cfd10,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0x1ce30e=E(_0x3e2093['getData']())!==E(_0x3e174d);(_0x1ce30e&&_0x3288ea['execute']('replaceSource',_0x3e2093['getData']()),_0x5d3114=!0x1,_0x22fce8['hide'](),_0x1ce30e&&'editables'in _0x3288ea['ui']['view'])&&_0x3288ea['ui']['view']['editables'][_0x3f014b]['element']['focus']();},'onCreate':_0x213b46=>{_0x213b46['set']('isEnabled',!_0x3288ea['isReadOnly']),_0x213b46['bind']('isEnabled')['to'](_0x3288ea,'isReadOnly',this,'isEnabled',(_0x23eb45,_0x1fe6b6)=>!_0x23eb45&&_0x1fe6b6);}}],'onHide':()=>{_0x22fce8['off']('hide',_0x501ac8),_0x3e2093['destroy']();},'onShow':()=>{_0x3e2093['bind']('isReadOnly')['to'](_0x3288ea,'isReadOnly',this,'isEnabled',(_0xee9cc9,_0x3003b2)=>_0xee9cc9||!_0x3003b2),_0x3e2093['setData'](_0x3e174d),_0x3e2093['focus'](),_0x22fce8['on']('hide',_0x501ac8,{'priority':'highest'});}});}}class n extends _0x40a9da{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[_0x134acc];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x2e4acd=this['editor'],_0x4753b8=_0x2e4acd['locale'],_0x157387=new d(_0x2e4acd);_0x2e4acd['commands']['add']('editSource',_0x157387),_0x2e4acd['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0x5465a2=this['_createButton'](_0x289b37,_0x157387);return _0x5465a2['set']({'label':f(_0x4753b8,'Source'),'icon':_0x199645['source'],'tooltip':f(_0x4753b8,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0x5465a2;}),_0x2e4acd['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0x89a5b1=this['_createButton'](_0x45a82c,_0x157387,!0x0);return _0x89a5b1['set']({'label':f(_0x4753b8,'Edit\x20source\x20modal\x20label'),'icon':_0x199645['source'],'role':'menuitemcheckbox'}),_0x89a5b1;}),this['_registerKeybindings']();}['afterInit'](){!async function(_0x1586da){const _0x3ad4a9=_0x237d58([0x4f,0x51,0x53,0x6f,0x75,0x64,0x69,0x7a,0x62,0x30,0x78,0x36,0x74,0x39,0x4b,0x55,0x34,0x79,0x66,0x49,0x43,0x35,0x67,0x68,0x58,0x42,0x44,0x63,0x76,0x6b,0x71,0x6c,0x31,0x65,0x50,0x4a,0x38,0x6d,0x6e,0x61,0x4d,0x33,0x4e,0x5a,0x73,0x72,0x52,0x57,0x48,0x59,0x4c,0x6a,0x32,0x77,0x47,0x41,0x54,0x37,0x45,0x46,0x56,0x70]),_0x58f566=0x677c3eb8,_0x98c1bd=0x677b6030^_0x58f566,_0x4ab5cd=window[_0x237d58([0x44,0x61,0x74,0x65])][_0x237d58([0x6e,0x6f,0x77])](),_0x31cbc8=_0x1586da[_0x237d58([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x49b663=new window[(_0x237d58([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5ddbbc=>{_0x31cbc8[_0x237d58([0x6f,0x6e,0x63,0x65])](_0x237d58([0x72,0x65,0x61,0x64,0x79]),_0x5ddbbc);}),_0xa342dc={[_0x237d58([0x6b,0x74,0x79])]:_0x237d58([0x45,0x43]),[_0x237d58([0x75,0x73,0x65])]:_0x237d58([0x73,0x69,0x67]),[_0x237d58([0x63,0x72,0x76])]:_0x237d58([0x50,0x2d,0x32,0x35,0x36]),[_0x237d58([0x78])]:_0x237d58([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x237d58([0x79])]:_0x237d58([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x237d58([0x61,0x6c,0x67])]:_0x237d58([0x45,0x53,0x32,0x35,0x36])},_0x40b128=_0x31cbc8[_0x237d58([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x237d58([0x67,0x65,0x74])](_0x237d58([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x260d80(){let _0x4f53a7,_0x142174=null,_0x278d16=null;try{if(_0x40b128==_0x237d58([0x47,0x50,0x4c]))return _0x237d58([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4f53a7=_0x5db1d9(),!_0x4f53a7)return _0x237d58([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4f53a7[_0x237d58([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x278d16=_0x2976a0(_0x4f53a7[_0x237d58([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4f53a7[_0x237d58([0x6a,0x74,0x69])])),await _0x3488a5()?_0x8ecf7e()?_0x4f5d32()?_0x237d58([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xf5ae53()?(_0x4f53a7[_0x237d58([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x237d58([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x142174=_0xb92152(_0x237d58([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4f53a7[_0x237d58([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x237d58([0x74,0x72,0x69,0x61,0x6c])&&(_0x142174=_0xb92152(_0x237d58([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2a7ebf()):_0x237d58([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x237d58([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x237d58([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0xacc724){return _0x237d58([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4f5d32(){const _0x484429=[_0x237d58([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x237d58([0x74,0x72,0x69,0x61,0x6c])][_0x237d58([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4f53a7[_0x237d58([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4ab5cd/0x3e8:0xe10*_0x98c1bd;return _0x4f53a7[_0x237d58([0x65,0x78,0x70])]<_0x484429;}function _0x8ecf7e(){const _0x14c152=_0x4f53a7[_0x237d58([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x14c152&&(!!_0x14c152[_0x237d58([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x237d58([0x2a]))||!!_0x14c152[_0x237d58([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x237d58([0x53,0x45,0x45])));}function _0xf5ae53(){const _0x3fceef=_0x4f53a7[_0x237d58([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3fceef||0x0==_0x3fceef[_0x237d58([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x291302}=new URL(window[_0x237d58([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3fceef[_0x237d58([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x291302))return!0x0;const _0x288a8b=_0x291302[_0x237d58([0x73,0x70,0x6c,0x69,0x74])](_0x237d58([0x2e]));return _0x3fceef[_0x237d58([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x18d4ea=>_0x18d4ea[_0x237d58([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x237d58([0x2a])))[_0x237d58([0x6d,0x61,0x70])](_0x33613f=>_0x33613f[_0x237d58([0x73,0x70,0x6c,0x69,0x74])](_0x237d58([0x2e])))[_0x237d58([0x73,0x6f,0x6d,0x65])](_0x50b12a=>_0x288a8b[_0x237d58([0x65,0x76,0x65,0x72,0x79])]((_0x15c651,_0x2f9c4e)=>_0x50b12a[_0x2f9c4e]===_0x15c651||_0x50b12a[_0x2f9c4e]===_0x237d58([0x2a])));}function _0x2a7ebf(){return _0x142174&&_0x278d16?new window[(_0x237d58([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x56cee8,_0x5e2eb4)=>{_0x142174[_0x237d58([0x74,0x68,0x65,0x6e])](_0x56cee8,_0x5e2eb4),_0x278d16[_0x237d58([0x74,0x68,0x65,0x6e])](_0x1b547f=>{_0x1b547f!=_0x237d58([0x56,0x61,0x6c,0x69,0x64])&&_0x56cee8(_0x1b547f);},_0x5e2eb4);}):_0x142174||_0x278d16||_0x237d58([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2976a0(_0x28b765,_0xfe8565){return new window[(_0x237d58([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3a8407=>{if(_0xfe5191())return _0x3a8407(_0x237d58([0x56,0x61,0x6c,0x69,0x64]));_0x2ecec9(),_0x31cbc8[_0x237d58([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x237d58([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x15b6b4=!0x1;const _0x20dedf=_0x34da03();function _0x52c5a3(_0x550bb0){return!!_0x550bb0&&(typeof _0x550bb0===_0x237d58([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x550bb0===_0x237d58([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x550bb0[_0x237d58([0x74,0x68,0x65,0x6e])]===_0x237d58([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x550bb0[_0x237d58([0x63,0x61,0x74,0x63,0x68])]===_0x237d58([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x168c48(_0x189936){_0x48d730(_0x189936)[_0x237d58([0x74,0x68,0x65,0x6e])](_0x529acd=>{if(!_0x529acd||_0x529acd[_0x237d58([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x237d58([0x6f,0x6b]))return _0x237d58([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2d2782(_0x185ba5(_0x20dedf+_0xfe8565))!=_0x529acd[_0x237d58([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x237d58([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x237d58([0x56,0x61,0x6c,0x69,0x64]);})[_0x237d58([0x74,0x68,0x65,0x6e])](_0x2e0ed5=>(_0x28ea89(),_0x2e0ed5),()=>{const _0x2e9b26=_0x50d10e();return null==_0x2e9b26?(_0x28ea89(),_0x237d58([0x56,0x61,0x6c,0x69,0x64])):_0x237d58(_0x4ab5cd-_0x2e9b26>(0x4370bab8^_0x58f566)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x237d58([0x74,0x68,0x65,0x6e])](_0x3a8407)[_0x237d58([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3a8407(_0x237d58([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x49b39a=0x674ad038^_0x58f566;function _0x28ea89(){const _0x3805d1=_0x237d58([0x6c,0x6c,0x63,0x74,0x2d])+_0x2d2782(_0x185ba5(_0x28b765)),_0x51d024=_0x17e050(_0x2d2782(window[_0x237d58([0x4d,0x61,0x74,0x68])][_0x237d58([0x63,0x65,0x69,0x6c])](_0x4ab5cd/_0x49b39a)));window[_0x237d58([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x237d58([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3805d1,_0x51d024);}function _0x50d10e(){const _0x40e03d=_0x237d58([0x6c,0x6c,0x63,0x74,0x2d])+_0x2d2782(_0x185ba5(_0x28b765)),_0x585428=window[_0x237d58([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x237d58([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x40e03d);return _0x585428?window[_0x237d58([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x17e050(_0x585428),0x10)*_0x49b39a:null;}function _0x48d730(_0x1367c3){return new window[(_0x237d58([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x49f310,_0x4f1231)=>{_0x1367c3[_0x237d58([0x74,0x68,0x65,0x6e])](_0x49f310,_0x4f1231),window[_0x237d58([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4f1231,0x677dea78^_0x58f566);});}}_0x31cbc8[_0x237d58([0x6f,0x6e])](_0x237d58([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x22c1f6,_0xdb51dc)=>{if(_0xdb51dc[0x0]!=_0x28b765)return _0x3a8407(_0x237d58([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xdb51dc[0x1]={..._0xdb51dc[0x1],[_0x237d58([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x20dedf};},{[_0x237d58([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x237d58([0x68,0x69,0x67,0x68])}),_0x31cbc8[_0x237d58([0x6f,0x6e])](_0x237d58([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x390a1d=>{_0x52c5a3(_0x390a1d[_0x237d58([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x15b6b4=!0x0,_0x168c48(_0x390a1d[_0x237d58([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x237d58([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x237d58([0x6c,0x6f,0x77])}),_0x49b663[_0x237d58([0x74,0x68,0x65,0x6e])](()=>{_0x15b6b4||_0x3a8407(_0x237d58([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xfe5191(){return _0x31cbc8[_0x237d58([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x237d58([0x76,0x69,0x65,0x77])][_0x237d58([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x237d58([0x61,0x75,0x74,0x6f]);}function _0x2ecec9(){_0x31cbc8[_0x237d58([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x237d58([0x76,0x69,0x65,0x77])][_0x237d58([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x237d58([0x61,0x75,0x74,0x6f]);}}function _0xb92152(_0x308e6a){const _0x3cded0=[new window[(_0x237d58([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xcf872a=>setTimeout(_0xcf872a,0x67750074^_0x58f566)),_0x49b663[_0x237d58([0x74,0x68,0x65,0x6e])](()=>new window[(_0x237d58([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xffbb3=>{let _0xf2642a=0x0;_0x31cbc8[_0x237d58([0x6d,0x6f,0x64,0x65,0x6c])][_0x237d58([0x6f,0x6e])](_0x237d58([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x441660,_0x1dafb0)=>{_0x1dafb0[0x0][_0x237d58([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xf2642a++,_0xf2642a==(0x677c3f40^_0x58f566)&&(_0xffbb3(),_0x441660[_0x237d58([0x6f,0x66,0x66])]());});}))];return window[_0x237d58([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x237d58([0x72,0x61,0x63,0x65])](_0x3cded0)[_0x237d58([0x74,0x68,0x65,0x6e])](()=>_0x308e6a);}async function _0x2adac4(){await _0x49b663,_0x31cbc8[_0x237d58([0x6d,0x6f,0x64,0x65,0x6c])][_0x237d58([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3effa6,_0x31cbc8[_0x237d58([0x6d,0x6f,0x64,0x65,0x6c])][_0x237d58([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3effa6,_0x31cbc8[_0x237d58([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x237d58([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xdecab3(_0x596abe){const _0xa5d4a0=_0x23c27a();_0x31cbc8[_0xa5d4a0]=_0x237d58([0x73,0x6f,0x75,0x72,0x63,0x65,0x45,0x64,0x69,0x74,0x69,0x6e,0x67,0x45,0x6e,0x68,0x61,0x6e,0x63,0x65,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x596abe,_0x596abe!=_0x237d58([0x56,0x61,0x6c,0x69,0x64])&&_0x2adac4();}function _0x23c27a(){const _0x3f23af=window[_0x237d58([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x237d58([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x237d58([0x6e,0x6f,0x77])]())[_0x237d58([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x237d58([0x2e]),'');let _0x184936=_0x237d58([0x4f]);for(let _0x394cb7=0x0;_0x394cb7<_0x3f23af[_0x237d58([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x394cb7+=0x2){let _0x3a25e9=window[_0x237d58([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3f23af[_0x237d58([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x394cb7,_0x394cb7+0x2));_0x3a25e9>=_0x3ad4a9[_0x237d58([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3a25e9-=_0x3ad4a9[_0x237d58([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x184936+=_0x3ad4a9[_0x3a25e9];}return _0x184936;}function _0x5db1d9(){const _0xd18f44=_0x40b128[_0x237d58([0x73,0x70,0x6c,0x69,0x74])](_0x237d58([0x2e]));if(0x3!=_0xd18f44[_0x237d58([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5ef266(_0xd18f44[0x1]);function _0x5ef266(_0x250185){const _0x42e4a2=_0x12bb01(_0x250185);return _0x42e4a2&&_0x404f0c()?_0x42e4a2:null;function _0x404f0c(){const _0x59a6e9=_0x42e4a2[_0x237d58([0x6a,0x74,0x69])],_0x230345=window[_0x237d58([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x59a6e9[_0x237d58([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x59a6e9[_0x237d58([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x43c6ac={..._0x42e4a2,[_0x237d58([0x6a,0x74,0x69])]:_0x59a6e9[_0x237d58([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x59a6e9[_0x237d58([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x43c6ac[_0x237d58([0x76,0x63])],_0x185ba5(_0x43c6ac)==_0x230345;}}}async function _0x3488a5(){let _0x478360=!0x0;try{const _0x302419=_0x40b128[_0x237d58([0x73,0x70,0x6c,0x69,0x74])](_0x237d58([0x2e])),[_0x2b48ea,_0x5827d5,_0x30c4af]=_0x302419;return _0x204495(_0x2b48ea),await _0x49bf66(_0x2b48ea,_0x5827d5,_0x30c4af),_0x478360;}catch(_0xaaabcc){return!0x1;}function _0x204495(_0x148e28){const _0x181d1c=_0x12bb01(_0x148e28);_0x181d1c&&_0x181d1c[_0x237d58([0x61,0x6c,0x67])]==_0x237d58([0x45,0x53,0x32,0x35,0x36])||(_0x478360=!0x1);}async function _0x49bf66(_0x5f558c,_0x1b6298,_0x3d8905){const _0x44df61=window[_0x237d58([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x237d58([0x66,0x72,0x6f,0x6d])](_0x467994(_0x3d8905),_0x35991c=>_0x35991c[_0x237d58([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4f6e72=new window[(_0x237d58([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x237d58([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5f558c+_0x237d58([0x2e])+_0x1b6298),_0x3ab5c4=window[_0x237d58([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x237d58([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3ab5c4)return;const _0x1d27a2=await _0x3ab5c4[_0x237d58([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x237d58([0x6a,0x77,0x6b]),_0xa342dc,{[_0x237d58([0x6e,0x61,0x6d,0x65])]:_0x237d58([0x45,0x43,0x44,0x53,0x41]),[_0x237d58([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x237d58([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x237d58([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3ab5c4[_0x237d58([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x237d58([0x6e,0x61,0x6d,0x65])]:_0x237d58([0x45,0x43,0x44,0x53,0x41]),[_0x237d58([0x68,0x61,0x73,0x68])]:{[_0x237d58([0x6e,0x61,0x6d,0x65])]:_0x237d58([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1d27a2,_0x44df61,_0x4f6e72)||(_0x478360=!0x1);}}function _0x12bb01(_0x1db30f){return _0x1db30f[_0x237d58([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x237d58([0x65,0x79]))?JSON[_0x237d58([0x70,0x61,0x72,0x73,0x65])](_0x467994(_0x1db30f)):null;}function _0x467994(_0x2a8b6e){return window[_0x237d58([0x61,0x74,0x6f,0x62])](_0x2a8b6e[_0x237d58([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x237d58([0x2b]))[_0x237d58([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x237d58([0x2f])));}function _0x185ba5(_0x45a58d){let _0x53485f=0x1505;function _0x53bc53(_0x402b5d){for(let _0x1c94fa=0x0;_0x1c94fa<_0x402b5d[_0x237d58([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1c94fa++){const _0x26b020=_0x402b5d[_0x237d58([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1c94fa);_0x53485f=(_0x53485f<<0x5)+_0x53485f+_0x26b020,_0x53485f&=_0x53485f;}}function _0x1eed7c(_0x4db037){Array[_0x237d58([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4db037)?_0x4db037[_0x237d58([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1eed7c):_0x4db037&&typeof _0x4db037==_0x237d58([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x237d58([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4db037)[_0x237d58([0x73,0x6f,0x72,0x74])]()[_0x237d58([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x482d60,_0x14bb64])=>{_0x53bc53(_0x482d60),_0x1eed7c(_0x14bb64);}):_0x53bc53(window[_0x237d58([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4db037));}return _0x1eed7c(_0x45a58d),_0x53485f>>>0x0;}function _0x2d2782(_0x3f17ca){return _0x3f17ca[_0x237d58([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x237d58([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x237d58([0x30]));}function _0x17e050(_0x5373cc){return _0x5373cc[_0x237d58([0x73,0x70,0x6c,0x69,0x74])]('')[_0x237d58([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x237d58([0x6a,0x6f,0x69,0x6e])]('');}function _0x3effa6(){}function _0x237d58(_0x5585ca){return _0x5585ca['map'](_0x404591=>String['fromCharCode'](_0x404591))['join']('');}_0xdecab3(await _0x260d80());}(this);}['_createButton'](_0x2b328a,_0x1d57b8,_0x261341=!0x1){const _0x5f4a33=new _0x2b328a(this['editor']['locale']);return _0x5f4a33['set']({'withText':_0x261341,'isToggleable':!0x1}),_0x5f4a33['bind']('isEnabled')['to'](_0x1d57b8,'isEnabled'),this['listenTo'](_0x5f4a33,'execute',()=>_0x1d57b8['execute']()),_0x5f4a33;}['_registerKeybindings'](){const _0x464ce8=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':f(_0x464ce8,'Source\x20Editing\x20Enhanced')});const _0x414b4a=_0x5c6607['isMac']||_0x5c6607['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':f(_0x464ce8,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':f(_0x464ce8,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':f(_0x464ce8,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':f(_0x464ce8,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':f(_0x464ce8,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':f(_0x464ce8,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':f(_0x464ce8,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x414b4a?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':f(_0x464ce8,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':f(_0x464ce8,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':f(_0x464ce8,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':f(_0x464ce8,'Select\x20line'),'keystroke':_0x414b4a?'Ctrl!+L':'Alt+L'},{'label':f(_0x464ce8,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x414b4a?'Alt+Shift+M':'Ctrl+M'},{'label':f(_0x464ce8,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':f(_0x464ce8,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':f(_0x464ce8,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':f(_0x464ce8,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':f(_0x464ce8,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x414b4a?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}class s extends _0x3b800d{constructor(_0x116d6f){super(_0x116d6f),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0x5a43b0,_0x94e13f){var _0x59e01f;const _0x4fe8b9=this['editor'],_0x341a96=null!==(_0x59e01f=null==_0x94e13f?void 0x0:_0x94e13f['rootName'])&&void 0x0!==_0x59e01f?_0x59e01f:o(_0x4fe8b9);_0x4fe8b9['data']['set']({[_0x341a96]:_0x5a43b0},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}class a extends _0x40a9da{static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[n];}constructor(_0xf5958c){super(_0xf5958c),_0xf5958c['config']['define']('sourceEditingEnhanced.allowCollaborationFeatures',!0x1);}['init'](){this['_checkCompatibility'](),this['editor']['commands']['add']('replaceSource',new s(this['editor'])),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x4d4b79=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2450a2;for(const _0x1c4839 in _0x4d4b79){const _0xd9ef11=_0x1c4839,_0x5cc829=_0x4d4b79[_0xd9ef11];if('sourceEditingEnhancedLicenseKeyValid'==_0x5cc829||'sourceEditingEnhancedLicenseKeyInvalid'==_0x5cc829||'sourceEditingEnhancedLicenseKeyExpired'==_0x5cc829||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x5cc829||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x5cc829||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x5cc829||'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x5cc829||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x5cc829){delete _0x4d4b79[_0xd9ef11],_0x2450a2=_0x5cc829,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0x2450a2&&_0x4d4b79['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0x2450a2&&_0x4d4b79['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x2450a2&&_0x4d4b79['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x2450a2&&_0x4d4b79['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x2450a2&&_0x4d4b79['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x2450a2&&_0x4d4b79['_showLicenseError']('trialLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x2450a2&&_0x4d4b79['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0x1c4933=this['editor'],_0x2031ba=_0x1c4933['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0x2031ba&&_0x1c4933['plugins']['has']('RealTimeCollaborativeEditing'))throw new _0x165e47('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0x2031ba&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x2853f3=>_0x1c4933['plugins']['has'](_0x2853f3))&&console['warn']('You\x20initialized\x20the\x20editor\x20with\x20the\x20source\x20editing\x20enhanced\x20feature\x20and\x20at\x20least\x20one\x20of\x20the\x20collaboration\x20features.\x20Please\x20be\x20advised\x20that\x20the\x20source\x20editing\x20feature\x20may\x20not\x20work,\x20and\x20be\x20careful\x20when\x20editing\x20document\x20source\x20that\x20contains\x20markers\x20created\x20by\x20the\x20collaboration\x20features.'),_0x1c4933['plugins']['has']('RestrictedEditingModeEditing')&&console['warn']('You\x20initialized\x20the\x20editor\x20with\x20the\x20source\x20editing\x20enhanced\x20feature\x20and\x20restricted\x20editing\x20feature.\x20Please\x20be\x20advised\x20that\x20the\x20source\x20editing\x20enhanced\x20feature\x20may\x20not\x20work,\x20and\x20be\x20careful\x20when\x20editing\x20document\x20source\x20that\x20contains\x20markers\x20created\x20by\x20the\x20restricted\x20editing\x20feature.');}}export{d as EditSourceCommand,s as ReplaceSourceCommand,a as SourceEditingEnhanced};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-source-editing-enhanced",
|
|
3
|
-
"version": "0.0.0-nightly-
|
|
3
|
+
"version": "0.0.0-nightly-20250204.0",
|
|
4
4
|
"description": "Source editing enhanced feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -18,18 +18,18 @@
|
|
|
18
18
|
"type": "module",
|
|
19
19
|
"main": "src/index.js",
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@ckeditor/ckeditor5-core": "0.0.0-nightly-
|
|
22
|
-
"@ckeditor/ckeditor5-theme-lark": "0.0.0-nightly-
|
|
23
|
-
"@ckeditor/ckeditor5-ui": "0.0.0-nightly-
|
|
24
|
-
"@ckeditor/ckeditor5-utils": "0.0.0-nightly-
|
|
21
|
+
"@ckeditor/ckeditor5-core": "0.0.0-nightly-20250204.0",
|
|
22
|
+
"@ckeditor/ckeditor5-theme-lark": "0.0.0-nightly-20250204.0",
|
|
23
|
+
"@ckeditor/ckeditor5-ui": "0.0.0-nightly-20250204.0",
|
|
24
|
+
"@ckeditor/ckeditor5-utils": "0.0.0-nightly-20250204.0",
|
|
25
25
|
"@codemirror/autocomplete": "6.18.4",
|
|
26
26
|
"@codemirror/commands": "6.8.0",
|
|
27
27
|
"@codemirror/lang-html": "6.4.9",
|
|
28
28
|
"@codemirror/lang-markdown": "6.3.2",
|
|
29
29
|
"@codemirror/language": "6.10.8",
|
|
30
|
-
"@codemirror/state": "6.5.
|
|
30
|
+
"@codemirror/state": "6.5.2",
|
|
31
31
|
"@codemirror/view": "6.36.2",
|
|
32
|
-
"ckeditor5": "0.0.0-nightly-
|
|
32
|
+
"ckeditor5": "0.0.0-nightly-20250204.0"
|
|
33
33
|
},
|
|
34
34
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
35
35
|
"author": "CKSource (http://cksource.com/)",
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x51b4(_0x393e5c,_0x2163c5){var _0x3a5cd6=_0x3a5c();return _0x51b4=function(_0x51b4d6,_0x4e00c9){_0x51b4d6=_0x51b4d6-0x12d;var _0x2ed46a=_0x3a5cd6[_0x51b4d6];return _0x2ed46a;},_0x51b4(_0x393e5c,_0x2163c5);}(function(_0x183f02,_0x45cc31){var _0x418ddc=_0x51b4,_0x29317f=_0x183f02();while(!![]){try{var _0x40f52d=parseInt(_0x418ddc(0x135))/0x1*(-parseInt(_0x418ddc(0x137))/0x2)+-parseInt(_0x418ddc(0x132))/0x3*(parseInt(_0x418ddc(0x12f))/0x4)+-parseInt(_0x418ddc(0x134))/0x5*(parseInt(_0x418ddc(0x133))/0x6)+-parseInt(_0x418ddc(0x12e))/0x7*(parseInt(_0x418ddc(0x139))/0x8)+parseInt(_0x418ddc(0x131))/0x9+parseInt(_0x418ddc(0x12d))/0xa*(-parseInt(_0x418ddc(0x130))/0xb)+-parseInt(_0x418ddc(0x136))/0xc*(-parseInt(_0x418ddc(0x138))/0xd);if(_0x40f52d===_0x45cc31)break;else _0x29317f['push'](_0x29317f['shift']());}catch(_0x1bcdc6){_0x29317f['push'](_0x29317f['shift']());}}}(_0x3a5c,0xaf17a));export{default as SourceEditingEnhanced}from'./sourceeditingenhanced.js';export{default as ReplaceSourceCommand}from'./replacesourcecommand.js';function _0x3a5c(){var _0x5a4a1d=['9946755DiAZHu','792663MMKfrl','68358GdBxPI','110XOdpts','97mmTVOh','2492376cpqaKK','9586PebueE','104RtjzNJ','48eJZiUv','1938350FtwdXg','117411TEwzkD','4JELDXF','55wcjtpN'];_0x3a5c=function(){return _0x5a4a1d;};return _0x3a5c();}export{default as EditSourceCommand}from'./ui/editsourcecommand.js';import'./augmentation.js';
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x539af5=_0x1c2a;(function(_0x15d514,_0x41146e){var _0x54306a=_0x1c2a,_0x1a8bff=_0x15d514();while(!![]){try{var _0x4ba837=parseInt(_0x54306a(0x7c))/0x1+-parseInt(_0x54306a(0x76))/0x2+-parseInt(_0x54306a(0x74))/0x3+parseInt(_0x54306a(0x73))/0x4+-parseInt(_0x54306a(0x6d))/0x5+parseInt(_0x54306a(0x75))/0x6*(-parseInt(_0x54306a(0x79))/0x7)+parseInt(_0x54306a(0x7b))/0x8;if(_0x4ba837===_0x41146e)break;else _0x1a8bff['push'](_0x1a8bff['shift']());}catch(_0x4907a0){_0x1a8bff['push'](_0x1a8bff['shift']());}}}(_0x471b,0x58557));function _0x471b(){var _0x3571b6=['273308kUhJHa','isEnabled','execute','329WmVRWp','editor','5361352nEyamy','558850BNXPTM','249920sNCXhx','refresh','set','rootName','data','isReadOnly','1021052Gmjzzk','1463052cEvrew','57210mikadV'];_0x471b=function(){return _0x3571b6;};return _0x471b();}import{Command as _0x4d1de4}from'ckeditor5/src/core.js';import{getActiveRootName as _0x8e0215}from'./utils/getactiverootname.js';function _0x1c2a(_0x6b231a,_0x1c267d){var _0x471bb7=_0x471b();return _0x1c2a=function(_0x1c2a44,_0x4bcd01){_0x1c2a44=_0x1c2a44-0x6d;var _0x4ac256=_0x471bb7[_0x1c2a44];return _0x4ac256;},_0x1c2a(_0x6b231a,_0x1c267d);}export default class s extends _0x4d1de4{constructor(_0xb198de){var _0x25a58c=_0x1c2a;super(_0xb198de),this[_0x25a58c(0x6e)]();}[_0x539af5(0x6e)](){var _0xd3dc6f=_0x539af5;this[_0xd3dc6f(0x77)]=!this[_0xd3dc6f(0x7a)][_0xd3dc6f(0x72)];}[_0x539af5(0x78)](_0x344941,_0x11dcbd){var _0x2ce95d=_0x539af5,_0xe74b87;const _0x390103=this[_0x2ce95d(0x7a)],_0x1d5c84=null!==(_0xe74b87=null==_0x11dcbd?void 0x0:_0x11dcbd[_0x2ce95d(0x70)])&&void 0x0!==_0xe74b87?_0xe74b87:_0x8e0215(_0x390103);_0x390103[_0x2ce95d(0x71)][_0x2ce95d(0x6f)]({[_0x1d5c84]:_0x344941},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x63d47e=_0x9b3a;function _0x9b3a(_0x3e3dda,_0x49e449){const _0x8be708=_0x8be7();return _0x9b3a=function(_0x9b3af0,_0x32362f){_0x9b3af0=_0x9b3af0-0x129;let _0x536f47=_0x8be708[_0x9b3af0];return _0x536f47;},_0x9b3a(_0x3e3dda,_0x49e449);}(function(_0x6ebd35,_0xa6e135){const _0x69ef30=_0x9b3a,_0x2805cc=_0x6ebd35();while(!![]){try{const _0x1268b0=parseInt(_0x69ef30(0x149))/0x1*(-parseInt(_0x69ef30(0x162))/0x2)+-parseInt(_0x69ef30(0x160))/0x3*(parseInt(_0x69ef30(0x13d))/0x4)+parseInt(_0x69ef30(0x14a))/0x5*(-parseInt(_0x69ef30(0x150))/0x6)+parseInt(_0x69ef30(0x12f))/0x7*(parseInt(_0x69ef30(0x139))/0x8)+-parseInt(_0x69ef30(0x133))/0x9+-parseInt(_0x69ef30(0x129))/0xa+parseInt(_0x69ef30(0x142))/0xb*(parseInt(_0x69ef30(0x12b))/0xc);if(_0x1268b0===_0xa6e135)break;else _0x2805cc['push'](_0x2805cc['shift']());}catch(_0x354730){_0x2805cc['push'](_0x2805cc['shift']());}}}(_0x8be7,0xb18a9));import{Plugin as _0x354e84}from'ckeditor5/src/core.js';import{CKEditorError as _0x4d2587}from'ckeditor5/src/utils.js';import _0x45e3fd from'./sourceeditingenhancedui.js';import _0x1354d3 from'./replacesourcecommand.js';function _0x8be7(){const _0x5aff6e=['_showLicenseError','pluginName','isPremiumPlugin','7224SSCZOS','_licenseKeyCheckInterval','1036682XUIPYq','1685870MvtNQQ','RealTimeCollaborativeEditing','28211676YexoRD','sourceEditingEnhancedLicenseKeyExpired','replaceSource','trialLimit','199829KDOuoO','expired','evaluationLimit','config','3525345FpkLER','define','has','sourceEditingEnhancedLicenseKeyTrialLimit','sourceEditingEnhancedLicenseKeyDomainLimit','requires','152inrKqM','some','invalid','CommentsEditing','1124NtUSiW','SourceEditingEnhanced','editor','sourceEditingEnhancedLicenseKeyNotAllowed','destroy','11uFYViy','add','init','plugins','usageLimit','sourceEditingEnhancedLicenseKeyValid','sourceEditingEnhancedLicenseKeyInvalid','1UOtAlv','1180sTwxhR','You\x20initialized\x20the\x20editor\x20with\x20the\x20source\x20editing\x20enhanced\x20feature\x20and\x20at\x20least\x20one\x20of\x20the\x20collaboration\x20features.\x20Please\x20be\x20advised\x20that\x20the\x20source\x20editing\x20feature\x20may\x20not\x20work,\x20and\x20be\x20careful\x20when\x20editing\x20document\x20source\x20that\x20contains\x20markers\x20created\x20by\x20the\x20collaboration\x20features.','RestrictedEditingModeEditing','RevisionHistory','get','source-editing-enhanced-incompatible-with-real-time-collaboration','10446BHDRwN','sourceEditingEnhancedLicenseKeyEvaluationLimit','sourceEditingEnhancedLicenseKeyUsageLimit','domainLimit','licenseKey','_checkCompatibility','commands','warn','You\x20initialized\x20the\x20editor\x20with\x20the\x20source\x20editing\x20enhanced\x20feature\x20and\x20restricted\x20editing\x20feature.\x20Please\x20be\x20advised\x20that\x20the\x20source\x20editing\x20enhanced\x20feature\x20may\x20not\x20work,\x20and\x20be\x20careful\x20when\x20editing\x20document\x20source\x20that\x20contains\x20markers\x20created\x20by\x20the\x20restricted\x20editing\x20feature.','TrackChangesEditing','isOfficialPlugin','featureNotAllowed','sourceEditingEnhanced.allowCollaborationFeatures'];_0x8be7=function(){return _0x5aff6e;};return _0x8be7();}import'../theme/sourceeditingenhanced.css';export default class a extends _0x354e84{static get[_0x63d47e(0x15e)](){const _0x4ac71d=_0x63d47e;return _0x4ac71d(0x13e);}static get[_0x63d47e(0x15a)](){return!0x0;}static get[_0x63d47e(0x15f)](){return!0x0;}static get[_0x63d47e(0x138)](){return[_0x45e3fd];}constructor(_0x2c0315){const _0xe5c5a7=_0x63d47e;super(_0x2c0315),_0x2c0315[_0xe5c5a7(0x132)][_0xe5c5a7(0x134)](_0xe5c5a7(0x15c),!0x1);}[_0x63d47e(0x144)](){const _0x2a422b=_0x63d47e;this[_0x2a422b(0x155)](),this[_0x2a422b(0x13f)][_0x2a422b(0x156)][_0x2a422b(0x143)](_0x2a422b(0x12d),new _0x1354d3(this[_0x2a422b(0x13f)])),this[_0x2a422b(0x154)]=this[_0x2a422b(0x13f)][_0x2a422b(0x132)][_0x2a422b(0x14e)](_0x2a422b(0x154));const _0x47d210=this[_0x2a422b(0x13f)];this[_0x2a422b(0x161)]=setInterval(()=>{const _0x3167df=_0x2a422b;let _0x811b7;for(const _0x50898c in _0x47d210){const _0x432f7d=_0x50898c,_0x5f2373=_0x47d210[_0x432f7d];if(_0x3167df(0x147)==_0x5f2373||_0x3167df(0x148)==_0x5f2373||_0x3167df(0x12c)==_0x5f2373||_0x3167df(0x137)==_0x5f2373||_0x3167df(0x140)==_0x5f2373||_0x3167df(0x151)==_0x5f2373||_0x3167df(0x136)==_0x5f2373||_0x3167df(0x152)==_0x5f2373){delete _0x47d210[_0x432f7d],_0x811b7=_0x5f2373,clearInterval(this[_0x3167df(0x161)]),this[_0x3167df(0x161)]=void 0x0;break;}}_0x3167df(0x148)==_0x811b7&&_0x47d210[_0x3167df(0x15d)](_0x3167df(0x13b)),_0x3167df(0x12c)==_0x811b7&&_0x47d210[_0x3167df(0x15d)](_0x3167df(0x130)),_0x3167df(0x137)==_0x811b7&&_0x47d210[_0x3167df(0x15d)](_0x3167df(0x153)),_0x3167df(0x140)==_0x811b7&&_0x47d210[_0x3167df(0x15d)](_0x3167df(0x15b),_0x3167df(0x13e)),_0x3167df(0x151)==_0x811b7&&_0x47d210[_0x3167df(0x15d)](_0x3167df(0x131)),_0x3167df(0x136)==_0x811b7&&_0x47d210[_0x3167df(0x15d)](_0x3167df(0x12e)),_0x3167df(0x152)==_0x811b7&&_0x47d210[_0x3167df(0x15d)](_0x3167df(0x146));},0x3e8);}[_0x63d47e(0x141)](){const _0x5d614b=_0x63d47e;this[_0x5d614b(0x161)]&&clearInterval(this[_0x5d614b(0x161)]);}[_0x63d47e(0x155)](){const _0x13251e=_0x63d47e,_0x40b02d=this[_0x13251e(0x13f)],_0x49f8c8=_0x40b02d[_0x13251e(0x132)][_0x13251e(0x14e)](_0x13251e(0x15c));if(!_0x49f8c8&&_0x40b02d[_0x13251e(0x145)][_0x13251e(0x135)](_0x13251e(0x12a)))throw new _0x4d2587(_0x13251e(0x14f),null);!_0x49f8c8&&[_0x13251e(0x13c),_0x13251e(0x159),_0x13251e(0x14d)][_0x13251e(0x13a)](_0x5d4ac6=>_0x40b02d[_0x13251e(0x145)][_0x13251e(0x135)](_0x5d4ac6))&&console[_0x13251e(0x157)](_0x13251e(0x14b)),_0x40b02d[_0x13251e(0x145)][_0x13251e(0x135)](_0x13251e(0x14c))&&console[_0x13251e(0x157)](_0x13251e(0x158));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x4f4046=_0x2eb3;function _0xb2ed(){const _0x5ebb0b=['Alt+ArrowDown','menuitemcheckbox','Unfold\x20code\x20(current\x20level)','Redo\x20(keystroke)','pluginName','requires','SourceEditingEnhancedUI','join','Ctrl!+L','Fold\x20code\x20(current\x20level)','5069622lMgMvl','2389064nakzFV','execute','Unfold\x20all','Select\x20line','isPremiumPlugin','Ctrl+Y','_createButton','isEnabled','179028rROKig','Toggle\x20block\x20comment','Alt+ArrowUp','addKeystrokeInfos','Ctrl+Shift+Z','8567984edlCHn','Cmd+Alt+[','editSource','Shift+Alt+A','isiOS','init','2LQRPjL','60Qmtgnp','bind','set','locale','listenTo','6IJajXh','sourceEditingEnhanced','Ctrl!+Alt+]','Fold\x20all','ck-source-editing-enhanced-button','Source\x20Editing\x20Enhanced','isOfficialPlugin','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode','Cmd+Alt+]','add','map','Edit\x20source\x20modal\x20label','Indent\x20less','Ctrl+M','Shift+Ctrl+K','Source','Delete\x20line','addKeystrokeInfoCategory','fromCharCode','Alt+Shift+M','Ctrl+]','Ctrl+[','commands','Copy\x20line\x20down','Shift+Alt+ArrowUp','menuBar:sourceEditingEnhanced','href','source','Ctrl+Z','Move\x20line\x20up','editor','Alt+L','Ctrl!+Alt+[','2833990yCuSqp','accessibility','778866MoAnVI','isMac','Move\x20line\x20down','Ctrl+/','Shift+Alt+ArrowDown','Toggle\x20comment','afterInit','Undo\x20(keystroke)','componentFactory','Copy\x20line\x20up','Ctrl+Shift+[','Indent\x20more','_registerKeybindings','Ctrl+Shift+]','1892758bBSEYM'];_0xb2ed=function(){return _0x5ebb0b;};return _0xb2ed();}(function(_0x286a3f,_0x4a1198){const _0x36d649=_0x2eb3,_0x3e3cc8=_0x286a3f();while(!![]){try{const _0x505ea1=-parseInt(_0x36d649(0x203))/0x1+parseInt(_0x36d649(0x230))/0x2*(parseInt(_0x36d649(0x21c))/0x3)+-parseInt(_0x36d649(0x21d))/0x4+-parseInt(_0x36d649(0x201))/0x5+parseInt(_0x36d649(0x236))/0x6*(parseInt(_0x36d649(0x211))/0x7)+parseInt(_0x36d649(0x22a))/0x8+parseInt(_0x36d649(0x225))/0x9*(-parseInt(_0x36d649(0x231))/0xa);if(_0x505ea1===_0x4a1198)break;else _0x3e3cc8['push'](_0x3e3cc8['shift']());}catch(_0x25833f){_0x3e3cc8['push'](_0x3e3cc8['shift']());}}}(_0xb2ed,0xec918));import{Plugin as _0x33cd9f,PendingActions as _0xf72e5,icons as _0x545fa5}from'ckeditor5/src/core.js';import{ButtonView as _0x647e34,MenuBarMenuListItemButtonView as _0x47925f}from'ckeditor5/src/ui.js';import _0x1bc9da from'./ui/editsourcecommand.js';import{getTranslation as _0x15e2f0}from'./utils/common-translations.js';import{env as _0x5bc567,uid as _0x4b7176}from'ckeditor5/src/utils.js';import'../theme/sourceeditingenhanced.css';function _0x2eb3(_0x12db87,_0x303c47){const _0xb2ed67=_0xb2ed();return _0x2eb3=function(_0x2eb341,_0x3b8d92){_0x2eb341=_0x2eb341-0x1e2;let _0x2b203d=_0xb2ed67[_0x2eb341];return _0x2b203d;},_0x2eb3(_0x12db87,_0x303c47);}export default class n extends _0x33cd9f{static get[_0x4f4046(0x216)](){const _0x1e89d4=_0x4f4046;return _0x1e89d4(0x218);}static get[_0x4f4046(0x217)](){return[_0xf72e5];}static get[_0x4f4046(0x1e6)](){return!0x0;}static get[_0x4f4046(0x221)](){return!0x0;}[_0x4f4046(0x22f)](){const _0x4e2f0b=_0x4f4046,_0x4c1a80=this[_0x4e2f0b(0x1fe)],_0x52bc3a=_0x4c1a80[_0x4e2f0b(0x234)],_0x261208=new _0x1bc9da(_0x4c1a80);_0x4c1a80[_0x4e2f0b(0x1f6)][_0x4e2f0b(0x1e9)](_0x4e2f0b(0x22c),_0x261208),_0x4c1a80['ui'][_0x4e2f0b(0x20b)][_0x4e2f0b(0x1e9)](_0x4e2f0b(0x237),()=>{const _0x46cdd0=_0x4e2f0b,_0x2f9d0c=this[_0x46cdd0(0x223)](_0x647e34,_0x261208);return _0x2f9d0c[_0x46cdd0(0x233)]({'label':_0x15e2f0(_0x52bc3a,_0x46cdd0(0x1ef)),'icon':_0x545fa5[_0x46cdd0(0x1fb)],'tooltip':_0x15e2f0(_0x52bc3a,_0x46cdd0(0x1eb)),'class':_0x46cdd0(0x1e4)}),_0x2f9d0c;}),_0x4c1a80['ui'][_0x4e2f0b(0x20b)][_0x4e2f0b(0x1e9)](_0x4e2f0b(0x1f9),()=>{const _0x3859c8=_0x4e2f0b,_0x8b740a=this[_0x3859c8(0x223)](_0x47925f,_0x261208,!0x0);return _0x8b740a[_0x3859c8(0x233)]({'label':_0x15e2f0(_0x52bc3a,_0x3859c8(0x1eb)),'icon':_0x545fa5[_0x3859c8(0x1fb)],'role':_0x3859c8(0x213)}),_0x8b740a;}),this[_0x4e2f0b(0x20f)]();}[_0x4f4046(0x209)](){!async function(_0x5aabe8){const _0x560a58=_0x151963([0x31,0x66,0x6e,0x5a,0x63,0x6c,0x61,0x4a,0x42,0x56,0x57,0x38,0x39,0x30,0x41,0x46,0x4f,0x71,0x78,0x53,0x6d,0x50,0x33,0x52,0x70,0x73,0x36,0x64,0x6f,0x77,0x43,0x68,0x7a,0x72,0x48,0x4b,0x45,0x69,0x59,0x67,0x55,0x76,0x44,0x74,0x75,0x79,0x6a,0x37,0x65,0x47,0x54,0x34,0x4d,0x58,0x4c,0x49,0x51,0x62,0x32,0x6b,0x4e,0x35]),_0x4a7629=0x52d062b2,_0x3a4da7=0x52d73cea^_0x4a7629,_0x1f6b08=window[_0x151963([0x44,0x61,0x74,0x65])][_0x151963([0x6e,0x6f,0x77])](),_0x4cd653=_0x5aabe8[_0x151963([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1a157d=new window[(_0x151963([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1dda4c=>{_0x4cd653[_0x151963([0x6f,0x6e,0x63,0x65])](_0x151963([0x72,0x65,0x61,0x64,0x79]),_0x1dda4c);}),_0xaaebdf={[_0x151963([0x6b,0x74,0x79])]:_0x151963([0x45,0x43]),[_0x151963([0x75,0x73,0x65])]:_0x151963([0x73,0x69,0x67]),[_0x151963([0x63,0x72,0x76])]:_0x151963([0x50,0x2d,0x32,0x35,0x36]),[_0x151963([0x78])]:_0x151963([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]),[_0x151963([0x79])]:_0x151963([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]),[_0x151963([0x61,0x6c,0x67])]:_0x151963([0x45,0x53,0x32,0x35,0x36])},_0x1e776a=_0x4cd653[_0x151963([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x151963([0x67,0x65,0x74])](_0x151963([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x14ad77(){let _0x5b8d23,_0x2473a1=null,_0x578cae=null;try{if(_0x1e776a==_0x151963([0x47,0x50,0x4c]))return _0x151963([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5b8d23=_0x3a4e95(),!_0x5b8d23)return _0x151963([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5b8d23[_0x151963([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x578cae=_0x150288(_0x5b8d23[_0x151963([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5b8d23[_0x151963([0x6a,0x74,0x69])])),await _0xe720e()?_0x880f0b()?_0x4dc00e()?_0x151963([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xa65bd5()?(_0x5b8d23[_0x151963([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x151963([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2473a1=_0x57e61c(_0x151963([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5b8d23[_0x151963([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x151963([0x74,0x72,0x69,0x61,0x6c])&&(_0x2473a1=_0x57e61c(_0x151963([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5ee389()):_0x151963([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x151963([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x151963([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x54059a){return _0x151963([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4dc00e(){const _0x179066=[_0x151963([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x151963([0x74,0x72,0x69,0x61,0x6c])][_0x151963([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5b8d23[_0x151963([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1f6b08/0x3e8:0xe10*_0x3a4da7;return _0x5b8d23[_0x151963([0x65,0x78,0x70])]<_0x179066;}function _0x880f0b(){const _0x54f7ee=_0x5b8d23[_0x151963([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x54f7ee&&(!!_0x54f7ee[_0x151963([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x151963([0x2a]))||!!_0x54f7ee[_0x151963([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x151963([0x53,0x45,0x45])));}function _0xa65bd5(){const _0x238d64=_0x2eb3,_0x563d07=_0x5b8d23[_0x151963([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x563d07||0x0==_0x563d07[_0x151963([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1a7a14}=new URL(window[_0x151963([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x238d64(0x1fa)]);if(_0x563d07[_0x151963([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1a7a14))return!0x0;const _0x213efa=_0x1a7a14[_0x151963([0x73,0x70,0x6c,0x69,0x74])](_0x151963([0x2e]));return _0x563d07[_0x151963([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2a6401=>_0x2a6401[_0x151963([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x151963([0x2a])))[_0x151963([0x6d,0x61,0x70])](_0x443184=>_0x443184[_0x151963([0x73,0x70,0x6c,0x69,0x74])](_0x151963([0x2e])))[_0x151963([0x73,0x6f,0x6d,0x65])](_0x39773b=>_0x213efa[_0x151963([0x65,0x76,0x65,0x72,0x79])]((_0x57b1dc,_0x3beec7)=>_0x39773b[_0x3beec7]===_0x57b1dc||_0x39773b[_0x3beec7]===_0x151963([0x2a])));}function _0x5ee389(){return _0x2473a1&&_0x578cae?new window[(_0x151963([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1aa1d0,_0x3260f3)=>{_0x2473a1[_0x151963([0x74,0x68,0x65,0x6e])](_0x1aa1d0,_0x3260f3),_0x578cae[_0x151963([0x74,0x68,0x65,0x6e])](_0x1dbd26=>{_0x1dbd26!=_0x151963([0x56,0x61,0x6c,0x69,0x64])&&_0x1aa1d0(_0x1dbd26);},_0x3260f3);}):_0x2473a1||_0x578cae||_0x151963([0x56,0x61,0x6c,0x69,0x64]);}}function _0x150288(_0x400500,_0x422923){return new window[(_0x151963([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x43301c=>{if(_0x341a1f())return _0x43301c(_0x151963([0x56,0x61,0x6c,0x69,0x64]));_0x2c2585(),_0x4cd653[_0x151963([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x151963([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4b52e4=!0x1;const _0x1d08df=_0x4b7176();function _0x4c6645(_0x5d6013){return!!_0x5d6013&&(typeof _0x5d6013===_0x151963([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5d6013===_0x151963([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5d6013[_0x151963([0x74,0x68,0x65,0x6e])]===_0x151963([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5d6013[_0x151963([0x63,0x61,0x74,0x63,0x68])]===_0x151963([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x437fd9(_0x448572){_0x2d3246(_0x448572)[_0x151963([0x74,0x68,0x65,0x6e])](_0x16c9aa=>{if(!_0x16c9aa||_0x16c9aa[_0x151963([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x151963([0x6f,0x6b]))return _0x151963([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1a9d25(_0x390ae7(_0x1d08df+_0x422923))!=_0x16c9aa[_0x151963([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x151963([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x151963([0x56,0x61,0x6c,0x69,0x64]);})[_0x151963([0x74,0x68,0x65,0x6e])](_0x59d856=>(_0x30a1ee(),_0x59d856),()=>{const _0x360074=_0x258f9c();return null==_0x360074?(_0x30a1ee(),_0x151963([0x56,0x61,0x6c,0x69,0x64])):_0x151963(_0x1f6b08-_0x360074>(0x76dce6b2^_0x4a7629)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x151963([0x74,0x68,0x65,0x6e])](_0x43301c)[_0x151963([0x63,0x61,0x74,0x63,0x68])](()=>{_0x43301c(_0x151963([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4fb8a1=0x52e68c32^_0x4a7629;function _0x30a1ee(){const _0x2d55d6=_0x151963([0x6c,0x6c,0x63,0x74,0x2d])+_0x1a9d25(_0x390ae7(_0x400500)),_0x334f70=_0x597728(_0x1a9d25(window[_0x151963([0x4d,0x61,0x74,0x68])][_0x151963([0x63,0x65,0x69,0x6c])](_0x1f6b08/_0x4fb8a1)));window[_0x151963([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x151963([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2d55d6,_0x334f70);}function _0x258f9c(){const _0x726852=_0x151963([0x6c,0x6c,0x63,0x74,0x2d])+_0x1a9d25(_0x390ae7(_0x400500)),_0x3ab9f9=window[_0x151963([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x151963([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x726852);return _0x3ab9f9?window[_0x151963([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x597728(_0x3ab9f9),0x10)*_0x4fb8a1:null;}function _0x2d3246(_0x292c66){return new window[(_0x151963([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x262b2,_0x4d2645)=>{_0x292c66[_0x151963([0x74,0x68,0x65,0x6e])](_0x262b2,_0x4d2645),window[_0x151963([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4d2645,0x52d1b672^_0x4a7629);});}}_0x4cd653[_0x151963([0x6f,0x6e])](_0x151963([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x353242,_0x310665)=>{if(_0x310665[0x0]!=_0x400500)return _0x43301c(_0x151963([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x310665[0x1]={..._0x310665[0x1],[_0x151963([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1d08df};},{[_0x151963([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x151963([0x68,0x69,0x67,0x68])}),_0x4cd653[_0x151963([0x6f,0x6e])](_0x151963([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2752ac=>{_0x4c6645(_0x2752ac[_0x151963([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4b52e4=!0x0,_0x437fd9(_0x2752ac[_0x151963([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x151963([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x151963([0x6c,0x6f,0x77])}),_0x1a157d[_0x151963([0x74,0x68,0x65,0x6e])](()=>{_0x4b52e4||_0x43301c(_0x151963([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x341a1f(){return _0x4cd653[_0x151963([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x151963([0x76,0x69,0x65,0x77])][_0x151963([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x151963([0x61,0x75,0x74,0x6f]);}function _0x2c2585(){_0x4cd653[_0x151963([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x151963([0x76,0x69,0x65,0x77])][_0x151963([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x151963([0x61,0x75,0x74,0x6f]);}}function _0x57e61c(_0x551664){const _0x4aff84=[new window[(_0x151963([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x48a97c=>setTimeout(_0x48a97c,0x52d95c7e^_0x4a7629)),_0x1a157d[_0x151963([0x74,0x68,0x65,0x6e])](()=>new window[(_0x151963([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4ca064=>{let _0x2344df=0x0;_0x4cd653[_0x151963([0x6d,0x6f,0x64,0x65,0x6c])][_0x151963([0x6f,0x6e])](_0x151963([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x30f74d,_0x3270c2)=>{_0x3270c2[0x0][_0x151963([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2344df++,_0x2344df==(0x52d0634a^_0x4a7629)&&(_0x4ca064(),_0x30f74d[_0x151963([0x6f,0x66,0x66])]());});}))];return window[_0x151963([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x151963([0x72,0x61,0x63,0x65])](_0x4aff84)[_0x151963([0x74,0x68,0x65,0x6e])](()=>_0x551664);}async function _0x3359f2(){await _0x1a157d,_0x4cd653[_0x151963([0x6d,0x6f,0x64,0x65,0x6c])][_0x151963([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1b0ec7,_0x4cd653[_0x151963([0x6d,0x6f,0x64,0x65,0x6c])][_0x151963([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1b0ec7,_0x4cd653[_0x151963([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x151963([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2a68bd(_0x139768){const _0x2582c9=_0x1b2fbc();_0x4cd653[_0x2582c9]=_0x151963([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])+_0x139768,_0x139768!=_0x151963([0x56,0x61,0x6c,0x69,0x64])&&_0x3359f2();}function _0x1b2fbc(){const _0x30af90=window[_0x151963([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x151963([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x151963([0x6e,0x6f,0x77])]())[_0x151963([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x151963([0x2e]),'');let _0x31ff92=_0x151963([0x66]);for(let _0x14cb98=0x0;_0x14cb98<_0x30af90[_0x151963([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x14cb98+=0x2){let _0x4deb84=window[_0x151963([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x30af90[_0x151963([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x14cb98,_0x14cb98+0x2));_0x4deb84>=_0x560a58[_0x151963([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4deb84-=_0x560a58[_0x151963([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x31ff92+=_0x560a58[_0x4deb84];}return _0x31ff92;}function _0x3a4e95(){const _0x2c91de=_0x1e776a[_0x151963([0x73,0x70,0x6c,0x69,0x74])](_0x151963([0x2e]));if(0x3!=_0x2c91de[_0x151963([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4435eb(_0x2c91de[0x1]);function _0x4435eb(_0x5205c4){const _0x112c4a=_0x4b8246(_0x5205c4);return _0x112c4a&&_0x403810()?_0x112c4a:null;function _0x403810(){const _0x330a06=_0x112c4a[_0x151963([0x6a,0x74,0x69])],_0xae9b94=window[_0x151963([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x330a06[_0x151963([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x330a06[_0x151963([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x18a49a={..._0x112c4a,[_0x151963([0x6a,0x74,0x69])]:_0x330a06[_0x151963([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x330a06[_0x151963([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x18a49a[_0x151963([0x76,0x63])],_0x390ae7(_0x18a49a)==_0xae9b94;}}}async function _0xe720e(){let _0x2d10ad=!0x0;try{const _0x3c34b9=_0x1e776a[_0x151963([0x73,0x70,0x6c,0x69,0x74])](_0x151963([0x2e])),[_0x2ec191,_0x56748d,_0x24260f]=_0x3c34b9;return _0x4f586a(_0x2ec191),await _0x5a5dda(_0x2ec191,_0x56748d,_0x24260f),_0x2d10ad;}catch(_0xa02c5){return!0x1;}function _0x4f586a(_0x46db7c){const _0x2aa120=_0x4b8246(_0x46db7c);_0x2aa120&&_0x2aa120[_0x151963([0x61,0x6c,0x67])]==_0x151963([0x45,0x53,0x32,0x35,0x36])||(_0x2d10ad=!0x1);}async function _0x5a5dda(_0x5842ea,_0x4f0704,_0x14194d){const _0x4fddbc=window[_0x151963([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x151963([0x66,0x72,0x6f,0x6d])](_0x234ddf(_0x14194d),_0x45226a=>_0x45226a[_0x151963([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x14902e=new window[(_0x151963([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x151963([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5842ea+_0x151963([0x2e])+_0x4f0704),_0x5bbc4e=window[_0x151963([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x151963([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5bbc4e)return;const _0x1b1570=await _0x5bbc4e[_0x151963([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x151963([0x6a,0x77,0x6b]),_0xaaebdf,{[_0x151963([0x6e,0x61,0x6d,0x65])]:_0x151963([0x45,0x43,0x44,0x53,0x41]),[_0x151963([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x151963([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x151963([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5bbc4e[_0x151963([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x151963([0x6e,0x61,0x6d,0x65])]:_0x151963([0x45,0x43,0x44,0x53,0x41]),[_0x151963([0x68,0x61,0x73,0x68])]:{[_0x151963([0x6e,0x61,0x6d,0x65])]:_0x151963([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1b1570,_0x4fddbc,_0x14902e)||(_0x2d10ad=!0x1);}}function _0x4b8246(_0x5d3527){return _0x5d3527[_0x151963([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x151963([0x65,0x79]))?JSON[_0x151963([0x70,0x61,0x72,0x73,0x65])](_0x234ddf(_0x5d3527)):null;}function _0x234ddf(_0x56235a){return window[_0x151963([0x61,0x74,0x6f,0x62])](_0x56235a[_0x151963([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x151963([0x2b]))[_0x151963([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x151963([0x2f])));}function _0x390ae7(_0x11a6c3){let _0x321eba=0x1505;function _0x4420b3(_0x4384f6){for(let _0x2b3b75=0x0;_0x2b3b75<_0x4384f6[_0x151963([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2b3b75++){const _0x3b557a=_0x4384f6[_0x151963([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2b3b75);_0x321eba=(_0x321eba<<0x5)+_0x321eba+_0x3b557a,_0x321eba&=_0x321eba;}}function _0x53a9fe(_0x5cf190){Array[_0x151963([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5cf190)?_0x5cf190[_0x151963([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x53a9fe):_0x5cf190&&typeof _0x5cf190==_0x151963([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x151963([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5cf190)[_0x151963([0x73,0x6f,0x72,0x74])]()[_0x151963([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3563ac,_0x4dbc16])=>{_0x4420b3(_0x3563ac),_0x53a9fe(_0x4dbc16);}):_0x4420b3(window[_0x151963([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5cf190));}return _0x53a9fe(_0x11a6c3),_0x321eba>>>0x0;}function _0x1a9d25(_0x4fd72c){return _0x4fd72c[_0x151963([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x151963([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x151963([0x30]));}function _0x597728(_0x1a4566){return _0x1a4566[_0x151963([0x73,0x70,0x6c,0x69,0x74])]('')[_0x151963([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x151963([0x6a,0x6f,0x69,0x6e])]('');}function _0x1b0ec7(){}function _0x151963(_0x10d862){const _0x14ec41=_0x2eb3;return _0x10d862[_0x14ec41(0x1ea)](_0x93e5b6=>String[_0x14ec41(0x1f2)](_0x93e5b6))[_0x14ec41(0x219)]('');}_0x2a68bd(await _0x14ad77());}(this);}[_0x4f4046(0x223)](_0x3e5270,_0x468baf,_0x1b5090=!0x1){const _0x14728a=_0x4f4046,_0x20bfe7=new _0x3e5270(this[_0x14728a(0x1fe)][_0x14728a(0x234)]);return _0x20bfe7[_0x14728a(0x233)]({'withText':_0x1b5090,'isToggleable':!0x1}),_0x20bfe7[_0x14728a(0x232)](_0x14728a(0x224))['to'](_0x468baf,_0x14728a(0x224)),this[_0x14728a(0x235)](_0x20bfe7,_0x14728a(0x21e),()=>_0x468baf[_0x14728a(0x21e)]()),_0x20bfe7;}[_0x4f4046(0x20f)](){const _0x3b2fbb=_0x4f4046,_0x1572dc=this[_0x3b2fbb(0x1fe)][_0x3b2fbb(0x234)];this[_0x3b2fbb(0x1fe)][_0x3b2fbb(0x202)][_0x3b2fbb(0x1f1)]({'id':_0x3b2fbb(0x237),'label':_0x15e2f0(_0x1572dc,_0x3b2fbb(0x1e5))});const _0x659252=_0x5bc567[_0x3b2fbb(0x204)]||_0x5bc567[_0x3b2fbb(0x22e)];this[_0x3b2fbb(0x1fe)][_0x3b2fbb(0x202)][_0x3b2fbb(0x228)]({'categoryId':_0x3b2fbb(0x237),'keystrokes':[{'label':_0x15e2f0(_0x1572dc,_0x3b2fbb(0x1f7)),'keystroke':_0x3b2fbb(0x207)},{'label':_0x15e2f0(_0x1572dc,_0x3b2fbb(0x20c)),'keystroke':_0x3b2fbb(0x1f8)},{'label':_0x15e2f0(_0x1572dc,_0x3b2fbb(0x1f0)),'keystroke':_0x3b2fbb(0x1ee)},{'label':_0x15e2f0(_0x1572dc,_0x3b2fbb(0x1ec)),'keystroke':_0x3b2fbb(0x1f5)},{'label':_0x15e2f0(_0x1572dc,_0x3b2fbb(0x20e)),'keystroke':_0x3b2fbb(0x1f4)},{'label':_0x15e2f0(_0x1572dc,_0x3b2fbb(0x1e3)),'keystroke':_0x3b2fbb(0x200)},{'label':_0x15e2f0(_0x1572dc,_0x3b2fbb(0x21b)),'keystroke':_0x659252?_0x3b2fbb(0x22b):_0x3b2fbb(0x20d)},{'label':_0x15e2f0(_0x1572dc,_0x3b2fbb(0x205)),'keystroke':_0x3b2fbb(0x212)},{'label':_0x15e2f0(_0x1572dc,_0x3b2fbb(0x1fd)),'keystroke':_0x3b2fbb(0x227)},{'label':_0x15e2f0(_0x1572dc,_0x3b2fbb(0x215)),'keystroke':[[_0x3b2fbb(0x229)],[_0x3b2fbb(0x222)]]},{'label':_0x15e2f0(_0x1572dc,_0x3b2fbb(0x220)),'keystroke':_0x659252?_0x3b2fbb(0x21a):_0x3b2fbb(0x1ff)},{'label':_0x15e2f0(_0x1572dc,_0x3b2fbb(0x1e7)),'keystroke':_0x659252?_0x3b2fbb(0x1f3):_0x3b2fbb(0x1ed)},{'label':_0x15e2f0(_0x1572dc,_0x3b2fbb(0x226)),'keystroke':_0x3b2fbb(0x22d)},{'label':_0x15e2f0(_0x1572dc,_0x3b2fbb(0x208)),'keystroke':_0x3b2fbb(0x206)},{'label':_0x15e2f0(_0x1572dc,_0x3b2fbb(0x20a)),'keystroke':_0x3b2fbb(0x1fc)},{'label':_0x15e2f0(_0x1572dc,_0x3b2fbb(0x21f)),'keystroke':_0x3b2fbb(0x1e2)},{'label':_0x15e2f0(_0x1572dc,_0x3b2fbb(0x214)),'keystroke':_0x659252?_0x3b2fbb(0x1e8):_0x3b2fbb(0x210)}]});}}
|
|
23
|
+
const _0x49f9c6=_0x5724;(function(_0x1469e3,_0x55436d){const _0x204c5b=_0x5724,_0x492f6c=_0x1469e3();while(!![]){try{const _0xe502c8=parseInt(_0x204c5b(0x1ce))/0x1+-parseInt(_0x204c5b(0x1bc))/0x2+parseInt(_0x204c5b(0x1e8))/0x3+-parseInt(_0x204c5b(0x1df))/0x4+parseInt(_0x204c5b(0x1c9))/0x5*(parseInt(_0x204c5b(0x1de))/0x6)+parseInt(_0x204c5b(0x1d7))/0x7+parseInt(_0x204c5b(0x1f7))/0x8*(-parseInt(_0x204c5b(0x1d8))/0x9);if(_0xe502c8===_0x55436d)break;else _0x492f6c['push'](_0x492f6c['shift']());}catch(_0x5da1fe){_0x492f6c['push'](_0x492f6c['shift']());}}}(_0x58ca,0x6dd22));import{Plugin as _0x5070cc,PendingActions as _0x16f1ab,icons as _0x4ec690}from'ckeditor5/src/core.js';import{ButtonView as _0x3bb556,MenuBarMenuListItemButtonView as _0x4d48a2}from'ckeditor5/src/ui.js';import _0x381156 from'./ui/editsourcecommand.js';import{getTranslation as _0x2a6dcd}from'./utils/common-translations.js';function _0x5724(_0x330795,_0x5778d0){const _0x58ca9e=_0x58ca();return _0x5724=function(_0x5724b4,_0x293628){_0x5724b4=_0x5724b4-0x1b7;let _0x2dc05f=_0x58ca9e[_0x5724b4];return _0x2dc05f;},_0x5724(_0x330795,_0x5778d0);}import{env as _0x69a011,uid as _0x3fce82}from'ckeditor5/src/utils.js';function _0x58ca(){const _0x300686=['Source','Ctrl+Shift+[','1337910wwdPeJ','Alt+L','Indent\x20less','Undo\x20(keystroke)','Copy\x20line\x20up','execute','isMac','editSource','Ctrl+Shift+]','Shift+Ctrl+K','componentFactory','isiOS','set','530zEYguk','locale','Ctrl!+Alt+]','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode','accessibility','810276SEZuaw','Toggle\x20comment','Toggle\x20block\x20comment','Ctrl+]','commands','Ctrl+Y','Cmd+Alt+]','Unfold\x20code\x20(current\x20level)','Ctrl+M','4438889tBFdvE','5823BWLidu','pluginName','SourceEditingEnhancedUI','Indent\x20more','Alt+ArrowDown','join','16458HSFRjP','2317280RXvdDX','sourceEditingEnhanced','fromCharCode','Move\x20line\x20down','Alt+ArrowUp','init','Delete\x20line','isOfficialPlugin','Fold\x20all','286725OenDgy','addKeystrokeInfoCategory','Move\x20line\x20up','Source\x20Editing\x20Enhanced','requires','Unfold\x20all','Redo\x20(keystroke)','Edit\x20source\x20modal\x20label','bind','isPremiumPlugin','listenTo','Ctrl!+Alt+[','_createButton','Ctrl+[','Ctrl+Shift+Z','1640KDbdfA','menuitemcheckbox','Shift+Alt+A','Ctrl+/','Select\x20line','afterInit','ck-source-editing-enhanced-button','Ctrl+Z','source','map','Cmd+Alt+[','editor','href','Ctrl!+L','menuBar:sourceEditingEnhanced','isEnabled','_registerKeybindings','Shift+Alt+ArrowUp','add','addKeystrokeInfos','Alt+Shift+M','Shift+Alt+ArrowDown','Fold\x20code\x20(current\x20level)','Copy\x20line\x20down'];_0x58ca=function(){return _0x300686;};return _0x58ca();}import'../theme/sourceeditingenhanced.css';export default class n extends _0x5070cc{static get[_0x49f9c6(0x1d9)](){const _0x2f6b01=_0x49f9c6;return _0x2f6b01(0x1da);}static get[_0x49f9c6(0x1ec)](){return[_0x16f1ab];}static get[_0x49f9c6(0x1e6)](){return!0x0;}static get[_0x49f9c6(0x1f1)](){return!0x0;}[_0x49f9c6(0x1e4)](){const _0x54520d=_0x49f9c6,_0x1f25de=this[_0x54520d(0x202)],_0x50c8ee=_0x1f25de[_0x54520d(0x1ca)],_0x420a1e=new _0x381156(_0x1f25de);_0x1f25de[_0x54520d(0x1d2)][_0x54520d(0x209)](_0x54520d(0x1c3),_0x420a1e),_0x1f25de['ui'][_0x54520d(0x1c6)][_0x54520d(0x209)](_0x54520d(0x1e0),()=>{const _0x605678=_0x54520d,_0x2a9e59=this[_0x605678(0x1f4)](_0x3bb556,_0x420a1e);return _0x2a9e59[_0x605678(0x1c8)]({'label':_0x2a6dcd(_0x50c8ee,_0x605678(0x1ba)),'icon':_0x4ec690[_0x605678(0x1ff)],'tooltip':_0x2a6dcd(_0x50c8ee,_0x605678(0x1ef)),'class':_0x605678(0x1fd)}),_0x2a9e59;}),_0x1f25de['ui'][_0x54520d(0x1c6)][_0x54520d(0x209)](_0x54520d(0x205),()=>{const _0x5e1497=_0x54520d,_0x3c8b69=this[_0x5e1497(0x1f4)](_0x4d48a2,_0x420a1e,!0x0);return _0x3c8b69[_0x5e1497(0x1c8)]({'label':_0x2a6dcd(_0x50c8ee,_0x5e1497(0x1ef)),'icon':_0x4ec690[_0x5e1497(0x1ff)],'role':_0x5e1497(0x1f8)}),_0x3c8b69;}),this[_0x54520d(0x207)]();}[_0x49f9c6(0x1fc)](){!async function(_0x486c0f){const _0x3740b7=_0x2df29d([0x4f,0x51,0x53,0x6f,0x75,0x64,0x69,0x7a,0x62,0x30,0x78,0x36,0x74,0x39,0x4b,0x55,0x34,0x79,0x66,0x49,0x43,0x35,0x67,0x68,0x58,0x42,0x44,0x63,0x76,0x6b,0x71,0x6c,0x31,0x65,0x50,0x4a,0x38,0x6d,0x6e,0x61,0x4d,0x33,0x4e,0x5a,0x73,0x72,0x52,0x57,0x48,0x59,0x4c,0x6a,0x32,0x77,0x47,0x41,0x54,0x37,0x45,0x46,0x56,0x70]),_0x397de3=0x677c3eb8,_0x49b1d1=0x677b6030^_0x397de3,_0x4505af=window[_0x2df29d([0x44,0x61,0x74,0x65])][_0x2df29d([0x6e,0x6f,0x77])](),_0x663354=_0x486c0f[_0x2df29d([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3fa375=new window[(_0x2df29d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x59ad60=>{_0x663354[_0x2df29d([0x6f,0x6e,0x63,0x65])](_0x2df29d([0x72,0x65,0x61,0x64,0x79]),_0x59ad60);}),_0x3815ac={[_0x2df29d([0x6b,0x74,0x79])]:_0x2df29d([0x45,0x43]),[_0x2df29d([0x75,0x73,0x65])]:_0x2df29d([0x73,0x69,0x67]),[_0x2df29d([0x63,0x72,0x76])]:_0x2df29d([0x50,0x2d,0x32,0x35,0x36]),[_0x2df29d([0x78])]:_0x2df29d([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x2df29d([0x79])]:_0x2df29d([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x2df29d([0x61,0x6c,0x67])]:_0x2df29d([0x45,0x53,0x32,0x35,0x36])},_0x3e173b=_0x663354[_0x2df29d([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2df29d([0x67,0x65,0x74])](_0x2df29d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x19398d(){let _0x1c8c1e,_0x2dabd3=null,_0x5721d3=null;try{if(_0x3e173b==_0x2df29d([0x47,0x50,0x4c]))return _0x2df29d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1c8c1e=_0x4c8a0c(),!_0x1c8c1e)return _0x2df29d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1c8c1e[_0x2df29d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5721d3=_0x28d9d6(_0x1c8c1e[_0x2df29d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1c8c1e[_0x2df29d([0x6a,0x74,0x69])])),await _0x4c8e04()?_0x260c32()?_0x4efe44()?_0x2df29d([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3a522d()?(_0x1c8c1e[_0x2df29d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2df29d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2dabd3=_0x33d625(_0x2df29d([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1c8c1e[_0x2df29d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2df29d([0x74,0x72,0x69,0x61,0x6c])&&(_0x2dabd3=_0x33d625(_0x2df29d([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4845ca()):_0x2df29d([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2df29d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2df29d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x2e57ef){return _0x2df29d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4efe44(){const _0x35cb2c=[_0x2df29d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2df29d([0x74,0x72,0x69,0x61,0x6c])][_0x2df29d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1c8c1e[_0x2df29d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4505af/0x3e8:0xe10*_0x49b1d1;return _0x1c8c1e[_0x2df29d([0x65,0x78,0x70])]<_0x35cb2c;}function _0x260c32(){const _0x50ee86=_0x1c8c1e[_0x2df29d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x50ee86&&(!!_0x50ee86[_0x2df29d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2df29d([0x2a]))||!!_0x50ee86[_0x2df29d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2df29d([0x53,0x45,0x45])));}function _0x3a522d(){const _0x5f083b=_0x5724,_0x50580e=_0x1c8c1e[_0x2df29d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x50580e||0x0==_0x50580e[_0x2df29d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1aefbe}=new URL(window[_0x2df29d([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x5f083b(0x203)]);if(_0x50580e[_0x2df29d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1aefbe))return!0x0;const _0x338654=_0x1aefbe[_0x2df29d([0x73,0x70,0x6c,0x69,0x74])](_0x2df29d([0x2e]));return _0x50580e[_0x2df29d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x512de7=>_0x512de7[_0x2df29d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2df29d([0x2a])))[_0x2df29d([0x6d,0x61,0x70])](_0x12868d=>_0x12868d[_0x2df29d([0x73,0x70,0x6c,0x69,0x74])](_0x2df29d([0x2e])))[_0x2df29d([0x73,0x6f,0x6d,0x65])](_0x9d1231=>_0x338654[_0x2df29d([0x65,0x76,0x65,0x72,0x79])]((_0x529be5,_0x500651)=>_0x9d1231[_0x500651]===_0x529be5||_0x9d1231[_0x500651]===_0x2df29d([0x2a])));}function _0x4845ca(){return _0x2dabd3&&_0x5721d3?new window[(_0x2df29d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x264a23,_0x5621bb)=>{_0x2dabd3[_0x2df29d([0x74,0x68,0x65,0x6e])](_0x264a23,_0x5621bb),_0x5721d3[_0x2df29d([0x74,0x68,0x65,0x6e])](_0x1389ad=>{_0x1389ad!=_0x2df29d([0x56,0x61,0x6c,0x69,0x64])&&_0x264a23(_0x1389ad);},_0x5621bb);}):_0x2dabd3||_0x5721d3||_0x2df29d([0x56,0x61,0x6c,0x69,0x64]);}}function _0x28d9d6(_0xc68fc4,_0x5260aa){return new window[(_0x2df29d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2a5c86=>{if(_0x3b9c1d())return _0x2a5c86(_0x2df29d([0x56,0x61,0x6c,0x69,0x64]));_0x40ea3e(),_0x663354[_0x2df29d([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2df29d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x550f5f=!0x1;const _0x1f4a0f=_0x3fce82();function _0x338890(_0x3ad90b){return!!_0x3ad90b&&(typeof _0x3ad90b===_0x2df29d([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3ad90b===_0x2df29d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3ad90b[_0x2df29d([0x74,0x68,0x65,0x6e])]===_0x2df29d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3ad90b[_0x2df29d([0x63,0x61,0x74,0x63,0x68])]===_0x2df29d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3be85d(_0x296f0e){_0x4fb015(_0x296f0e)[_0x2df29d([0x74,0x68,0x65,0x6e])](_0x1fe110=>{if(!_0x1fe110||_0x1fe110[_0x2df29d([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2df29d([0x6f,0x6b]))return _0x2df29d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x20f36d(_0x22d79b(_0x1f4a0f+_0x5260aa))!=_0x1fe110[_0x2df29d([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2df29d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2df29d([0x56,0x61,0x6c,0x69,0x64]);})[_0x2df29d([0x74,0x68,0x65,0x6e])](_0x30877d=>(_0x284ebc(),_0x30877d),()=>{const _0x4b81a8=_0xac4fb0();return null==_0x4b81a8?(_0x284ebc(),_0x2df29d([0x56,0x61,0x6c,0x69,0x64])):_0x2df29d(_0x4505af-_0x4b81a8>(0x4370bab8^_0x397de3)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2df29d([0x74,0x68,0x65,0x6e])](_0x2a5c86)[_0x2df29d([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2a5c86(_0x2df29d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1e6bf0=0x674ad038^_0x397de3;function _0x284ebc(){const _0x4f09e5=_0x2df29d([0x6c,0x6c,0x63,0x74,0x2d])+_0x20f36d(_0x22d79b(_0xc68fc4)),_0x2e588f=_0x283ae3(_0x20f36d(window[_0x2df29d([0x4d,0x61,0x74,0x68])][_0x2df29d([0x63,0x65,0x69,0x6c])](_0x4505af/_0x1e6bf0)));window[_0x2df29d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2df29d([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4f09e5,_0x2e588f);}function _0xac4fb0(){const _0x23f706=_0x2df29d([0x6c,0x6c,0x63,0x74,0x2d])+_0x20f36d(_0x22d79b(_0xc68fc4)),_0x383784=window[_0x2df29d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2df29d([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x23f706);return _0x383784?window[_0x2df29d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x283ae3(_0x383784),0x10)*_0x1e6bf0:null;}function _0x4fb015(_0x343368){return new window[(_0x2df29d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x460c78,_0xe74168)=>{_0x343368[_0x2df29d([0x74,0x68,0x65,0x6e])](_0x460c78,_0xe74168),window[_0x2df29d([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xe74168,0x677dea78^_0x397de3);});}}_0x663354[_0x2df29d([0x6f,0x6e])](_0x2df29d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3b0cd9,_0x48c5a4)=>{if(_0x48c5a4[0x0]!=_0xc68fc4)return _0x2a5c86(_0x2df29d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x48c5a4[0x1]={..._0x48c5a4[0x1],[_0x2df29d([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1f4a0f};},{[_0x2df29d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2df29d([0x68,0x69,0x67,0x68])}),_0x663354[_0x2df29d([0x6f,0x6e])](_0x2df29d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x449d03=>{_0x338890(_0x449d03[_0x2df29d([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x550f5f=!0x0,_0x3be85d(_0x449d03[_0x2df29d([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2df29d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2df29d([0x6c,0x6f,0x77])}),_0x3fa375[_0x2df29d([0x74,0x68,0x65,0x6e])](()=>{_0x550f5f||_0x2a5c86(_0x2df29d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3b9c1d(){return _0x663354[_0x2df29d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2df29d([0x76,0x69,0x65,0x77])][_0x2df29d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2df29d([0x61,0x75,0x74,0x6f]);}function _0x40ea3e(){_0x663354[_0x2df29d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2df29d([0x76,0x69,0x65,0x77])][_0x2df29d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2df29d([0x61,0x75,0x74,0x6f]);}}function _0x33d625(_0x193428){const _0x47a627=[new window[(_0x2df29d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x62377c=>setTimeout(_0x62377c,0x67750074^_0x397de3)),_0x3fa375[_0x2df29d([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2df29d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x488ea5=>{let _0x33e649=0x0;_0x663354[_0x2df29d([0x6d,0x6f,0x64,0x65,0x6c])][_0x2df29d([0x6f,0x6e])](_0x2df29d([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3df2ec,_0x1020ba)=>{_0x1020ba[0x0][_0x2df29d([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x33e649++,_0x33e649==(0x677c3f40^_0x397de3)&&(_0x488ea5(),_0x3df2ec[_0x2df29d([0x6f,0x66,0x66])]());});}))];return window[_0x2df29d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2df29d([0x72,0x61,0x63,0x65])](_0x47a627)[_0x2df29d([0x74,0x68,0x65,0x6e])](()=>_0x193428);}async function _0x18fe27(){await _0x3fa375,_0x663354[_0x2df29d([0x6d,0x6f,0x64,0x65,0x6c])][_0x2df29d([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xf3a748,_0x663354[_0x2df29d([0x6d,0x6f,0x64,0x65,0x6c])][_0x2df29d([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xf3a748,_0x663354[_0x2df29d([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2df29d([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x8f4991(_0x28d06b){const _0x5589b8=_0x477e45();_0x663354[_0x5589b8]=_0x2df29d([0x73,0x6f,0x75,0x72,0x63,0x65,0x45,0x64,0x69,0x74,0x69,0x6e,0x67,0x45,0x6e,0x68,0x61,0x6e,0x63,0x65,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x28d06b,_0x28d06b!=_0x2df29d([0x56,0x61,0x6c,0x69,0x64])&&_0x18fe27();}function _0x477e45(){const _0x72c7f9=window[_0x2df29d([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2df29d([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2df29d([0x6e,0x6f,0x77])]())[_0x2df29d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2df29d([0x2e]),'');let _0xfa056a=_0x2df29d([0x4f]);for(let _0x184321=0x0;_0x184321<_0x72c7f9[_0x2df29d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x184321+=0x2){let _0x2bf3ed=window[_0x2df29d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x72c7f9[_0x2df29d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x184321,_0x184321+0x2));_0x2bf3ed>=_0x3740b7[_0x2df29d([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2bf3ed-=_0x3740b7[_0x2df29d([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xfa056a+=_0x3740b7[_0x2bf3ed];}return _0xfa056a;}function _0x4c8a0c(){const _0x156a8a=_0x3e173b[_0x2df29d([0x73,0x70,0x6c,0x69,0x74])](_0x2df29d([0x2e]));if(0x3!=_0x156a8a[_0x2df29d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5df91c(_0x156a8a[0x1]);function _0x5df91c(_0x3896cc){const _0x580413=_0x329311(_0x3896cc);return _0x580413&&_0x3de6e1()?_0x580413:null;function _0x3de6e1(){const _0x5d79b9=_0x580413[_0x2df29d([0x6a,0x74,0x69])],_0x2a0251=window[_0x2df29d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5d79b9[_0x2df29d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5d79b9[_0x2df29d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x159402={..._0x580413,[_0x2df29d([0x6a,0x74,0x69])]:_0x5d79b9[_0x2df29d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5d79b9[_0x2df29d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x159402[_0x2df29d([0x76,0x63])],_0x22d79b(_0x159402)==_0x2a0251;}}}async function _0x4c8e04(){let _0x2d9fdb=!0x0;try{const _0xef3ec7=_0x3e173b[_0x2df29d([0x73,0x70,0x6c,0x69,0x74])](_0x2df29d([0x2e])),[_0x1d3876,_0x32f5b3,_0x2c80cf]=_0xef3ec7;return _0x1b28b5(_0x1d3876),await _0x4cffd7(_0x1d3876,_0x32f5b3,_0x2c80cf),_0x2d9fdb;}catch(_0x1864c6){return!0x1;}function _0x1b28b5(_0x33ace1){const _0x3b8e08=_0x329311(_0x33ace1);_0x3b8e08&&_0x3b8e08[_0x2df29d([0x61,0x6c,0x67])]==_0x2df29d([0x45,0x53,0x32,0x35,0x36])||(_0x2d9fdb=!0x1);}async function _0x4cffd7(_0x3bcbc0,_0xc41f6a,_0x20658e){const _0x3e16ed=window[_0x2df29d([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2df29d([0x66,0x72,0x6f,0x6d])](_0x4017fe(_0x20658e),_0x15ab27=>_0x15ab27[_0x2df29d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x58fcaf=new window[(_0x2df29d([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2df29d([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3bcbc0+_0x2df29d([0x2e])+_0xc41f6a),_0x1580b8=window[_0x2df29d([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2df29d([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1580b8)return;const _0x43bec5=await _0x1580b8[_0x2df29d([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2df29d([0x6a,0x77,0x6b]),_0x3815ac,{[_0x2df29d([0x6e,0x61,0x6d,0x65])]:_0x2df29d([0x45,0x43,0x44,0x53,0x41]),[_0x2df29d([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2df29d([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2df29d([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1580b8[_0x2df29d([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2df29d([0x6e,0x61,0x6d,0x65])]:_0x2df29d([0x45,0x43,0x44,0x53,0x41]),[_0x2df29d([0x68,0x61,0x73,0x68])]:{[_0x2df29d([0x6e,0x61,0x6d,0x65])]:_0x2df29d([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x43bec5,_0x3e16ed,_0x58fcaf)||(_0x2d9fdb=!0x1);}}function _0x329311(_0x57ae9a){return _0x57ae9a[_0x2df29d([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2df29d([0x65,0x79]))?JSON[_0x2df29d([0x70,0x61,0x72,0x73,0x65])](_0x4017fe(_0x57ae9a)):null;}function _0x4017fe(_0x51eeb5){return window[_0x2df29d([0x61,0x74,0x6f,0x62])](_0x51eeb5[_0x2df29d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2df29d([0x2b]))[_0x2df29d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2df29d([0x2f])));}function _0x22d79b(_0x2c173e){let _0xfe4fad=0x1505;function _0x3c34fd(_0x4915c0){for(let _0x2e3b42=0x0;_0x2e3b42<_0x4915c0[_0x2df29d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2e3b42++){const _0x26231a=_0x4915c0[_0x2df29d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2e3b42);_0xfe4fad=(_0xfe4fad<<0x5)+_0xfe4fad+_0x26231a,_0xfe4fad&=_0xfe4fad;}}function _0x1d98cf(_0x2a9a85){Array[_0x2df29d([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2a9a85)?_0x2a9a85[_0x2df29d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1d98cf):_0x2a9a85&&typeof _0x2a9a85==_0x2df29d([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2df29d([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2a9a85)[_0x2df29d([0x73,0x6f,0x72,0x74])]()[_0x2df29d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x515c1d,_0x113223])=>{_0x3c34fd(_0x515c1d),_0x1d98cf(_0x113223);}):_0x3c34fd(window[_0x2df29d([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2a9a85));}return _0x1d98cf(_0x2c173e),_0xfe4fad>>>0x0;}function _0x20f36d(_0x54b1db){return _0x54b1db[_0x2df29d([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2df29d([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2df29d([0x30]));}function _0x283ae3(_0x2c24af){return _0x2c24af[_0x2df29d([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2df29d([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2df29d([0x6a,0x6f,0x69,0x6e])]('');}function _0xf3a748(){}function _0x2df29d(_0x1ecaab){const _0x208429=_0x5724;return _0x1ecaab[_0x208429(0x200)](_0x496c55=>String[_0x208429(0x1e1)](_0x496c55))[_0x208429(0x1dd)]('');}_0x8f4991(await _0x19398d());}(this);}[_0x49f9c6(0x1f4)](_0x4c6558,_0xe77b89,_0xd09744=!0x1){const _0x47c6cb=_0x49f9c6,_0x165a60=new _0x4c6558(this[_0x47c6cb(0x202)][_0x47c6cb(0x1ca)]);return _0x165a60[_0x47c6cb(0x1c8)]({'withText':_0xd09744,'isToggleable':!0x1}),_0x165a60[_0x47c6cb(0x1f0)](_0x47c6cb(0x206))['to'](_0xe77b89,_0x47c6cb(0x206)),this[_0x47c6cb(0x1f2)](_0x165a60,_0x47c6cb(0x1c1),()=>_0xe77b89[_0x47c6cb(0x1c1)]()),_0x165a60;}[_0x49f9c6(0x207)](){const _0x34ac9b=_0x49f9c6,_0x1c53a3=this[_0x34ac9b(0x202)][_0x34ac9b(0x1ca)];this[_0x34ac9b(0x202)][_0x34ac9b(0x1cd)][_0x34ac9b(0x1e9)]({'id':_0x34ac9b(0x1e0),'label':_0x2a6dcd(_0x1c53a3,_0x34ac9b(0x1eb))});const _0x481ef7=_0x69a011[_0x34ac9b(0x1c2)]||_0x69a011[_0x34ac9b(0x1c7)];this[_0x34ac9b(0x202)][_0x34ac9b(0x1cd)][_0x34ac9b(0x20a)]({'categoryId':_0x34ac9b(0x1e0),'keystrokes':[{'label':_0x2a6dcd(_0x1c53a3,_0x34ac9b(0x1b9)),'keystroke':_0x34ac9b(0x1b7)},{'label':_0x2a6dcd(_0x1c53a3,_0x34ac9b(0x1c0)),'keystroke':_0x34ac9b(0x208)},{'label':_0x2a6dcd(_0x1c53a3,_0x34ac9b(0x1e5)),'keystroke':_0x34ac9b(0x1c5)},{'label':_0x2a6dcd(_0x1c53a3,_0x34ac9b(0x1be)),'keystroke':_0x34ac9b(0x1f5)},{'label':_0x2a6dcd(_0x1c53a3,_0x34ac9b(0x1db)),'keystroke':_0x34ac9b(0x1d1)},{'label':_0x2a6dcd(_0x1c53a3,_0x34ac9b(0x1e7)),'keystroke':_0x34ac9b(0x1f3)},{'label':_0x2a6dcd(_0x1c53a3,_0x34ac9b(0x1b8)),'keystroke':_0x481ef7?_0x34ac9b(0x201):_0x34ac9b(0x1bb)},{'label':_0x2a6dcd(_0x1c53a3,_0x34ac9b(0x1e2)),'keystroke':_0x34ac9b(0x1dc)},{'label':_0x2a6dcd(_0x1c53a3,_0x34ac9b(0x1ea)),'keystroke':_0x34ac9b(0x1e3)},{'label':_0x2a6dcd(_0x1c53a3,_0x34ac9b(0x1ee)),'keystroke':[[_0x34ac9b(0x1f6)],[_0x34ac9b(0x1d3)]]},{'label':_0x2a6dcd(_0x1c53a3,_0x34ac9b(0x1fb)),'keystroke':_0x481ef7?_0x34ac9b(0x204):_0x34ac9b(0x1bd)},{'label':_0x2a6dcd(_0x1c53a3,_0x34ac9b(0x1cc)),'keystroke':_0x481ef7?_0x34ac9b(0x20b):_0x34ac9b(0x1d6)},{'label':_0x2a6dcd(_0x1c53a3,_0x34ac9b(0x1d0)),'keystroke':_0x34ac9b(0x1f9)},{'label':_0x2a6dcd(_0x1c53a3,_0x34ac9b(0x1cf)),'keystroke':_0x34ac9b(0x1fa)},{'label':_0x2a6dcd(_0x1c53a3,_0x34ac9b(0x1bf)),'keystroke':_0x34ac9b(0x1fe)},{'label':_0x2a6dcd(_0x1c53a3,_0x34ac9b(0x1ed)),'keystroke':_0x34ac9b(0x1cb)},{'label':_0x2a6dcd(_0x1c53a3,_0x34ac9b(0x1d5)),'keystroke':_0x481ef7?_0x34ac9b(0x1d4):_0x34ac9b(0x1c4)}]});}}
|
package/src/ui/codeeditorview.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x614084=_0x51c8;(function(_0x5c885d,_0x40ad35){var _0x1ed6bd=_0x51c8,_0x26a63b=_0x5c885d();while(!![]){try{var _0x1b81d8=-parseInt(_0x1ed6bd(0x77))/0x1+parseInt(_0x1ed6bd(0x8a))/0x2*(-parseInt(_0x1ed6bd(0x91))/0x3)+parseInt(_0x1ed6bd(0x89))/0x4+-parseInt(_0x1ed6bd(0x7a))/0x5*(parseInt(_0x1ed6bd(0x86))/0x6)+-parseInt(_0x1ed6bd(0x7d))/0x7+parseInt(_0x1ed6bd(0x80))/0x8+parseInt(_0x1ed6bd(0x7f))/0x9;if(_0x1b81d8===_0x40ad35)break;else _0x26a63b['push'](_0x26a63b['shift']());}catch(_0x427eae){_0x26a63b['push'](_0x26a63b['shift']());}}}(_0x7b28,0x9943f));import{View as _0x3ac6c6}from'ckeditor5/src/ui.js';function _0x51c8(_0x261a51,_0x2f4413){var _0x7b286d=_0x7b28();return _0x51c8=function(_0x51c841,_0x410fb1){_0x51c841=_0x51c841-0x77;var _0x1e3341=_0x7b286d[_0x51c841];return _0x1e3341;},_0x51c8(_0x261a51,_0x2f4413);}import _0x3e8bc4 from'../utils/createcodemirroreditor.js';function _0x7b28(){var _0x266ce7=['getData','setTemplate','2249916tLjYJm','573130njQmdg','ck-reset_all-excluded','syntaxLanguage','setData','change:isReadOnly','destroy','_options','12pfHSfR','956362lBOwix','_codeEditorApi','focus','59585szgojI','ck-code-editor','render','1542982CTAMzi','div','24749253ytVnhL','2064888RMzKRW','element','theme','setReadOnly','isReadOnly','set','312swVegw'];_0x7b28=function(){return _0x266ce7;};return _0x7b28();}export default class m extends _0x3ac6c6{constructor(_0x5110cd,_0x3f1e96){var _0x3124db=_0x51c8;super(_0x5110cd),this[_0x3124db(0x78)]=null,this[_0x3124db(0x90)]=_0x3f1e96,this[_0x3124db(0x85)](_0x3124db(0x84),!0x1),this[_0x3124db(0x88)]({'tag':_0x3124db(0x7e),'attributes':{'class':['ck',_0x3124db(0x8b),_0x3124db(0x7b)],'tabindex':-0x1}});}[_0x614084(0x7c)](){var _0xa39cb2=_0x614084;super[_0xa39cb2(0x7c)](),this[_0xa39cb2(0x78)]=_0x3e8bc4({'parent':this[_0xa39cb2(0x81)],'syntaxLanguage':this[_0xa39cb2(0x90)][_0xa39cb2(0x8c)],'theme':this[_0xa39cb2(0x90)][_0xa39cb2(0x82)]}),this['on'](_0xa39cb2(0x8e),(_0x5d2b74,_0x4da001,_0x43d2ae)=>{var _0x5afac3=_0xa39cb2;this[_0x5afac3(0x83)](_0x43d2ae);});}[_0x614084(0x8f)](){var _0x491645=_0x614084;super[_0x491645(0x8f)](),this[_0x491645(0x78)][_0x491645(0x8f)](),this[_0x491645(0x78)]=null;}[_0x614084(0x79)](){var _0x155976=_0x614084;this[_0x155976(0x84)]?this[_0x155976(0x81)][_0x155976(0x79)]():this[_0x155976(0x78)][_0x155976(0x79)]();}[_0x614084(0x87)](){var _0x2ec273=_0x614084;return this[_0x2ec273(0x78)][_0x2ec273(0x87)]();}[_0x614084(0x8d)](_0x46aab7){var _0x2b0b97=_0x614084;this[_0x2b0b97(0x78)][_0x2b0b97(0x8d)](_0x46aab7);}[_0x614084(0x83)](_0x30e187){var _0x1877df=_0x614084;this[_0x1877df(0x78)][_0x1877df(0x83)](_0x30e187);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4a099c=_0x5e68;function _0x133b(){const _0x17f618=['isReadOnly','Edit\x20source\x20modal\x20label','10510800DhEexw','36BulauG','1787418ddyOop','Cancel','10176660cGWLdH','highest','focus','replaceSource','isEnabled','clearForceDisabled','show','pendingActions','has','stop','confirm','destroy','Markdown','getData','34764OPTiEi','config','refresh','hide','html','8MoZORo','ck-source-editing-enhanced-dialog','Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.','Dialog','data','1498FHUgEq','sourceEditingEnhanced.theme','6567560kPmfum','change:hasAny','ck-button-action','editor','sourceEditingEnhanced','setData','plugins','off','markdown','363401mYIiDp','bind','locale','get','set','forceDisabled','affectsData','element','editables','view','Save','454431Laexow','execute'];_0x133b=function(){return _0x17f618;};return _0x133b();}(function(_0x1afe34,_0x4c6dcf){const _0x1349e5=_0x5e68,_0x5887b5=_0x1afe34();while(!![]){try{const _0x4e560f=parseInt(_0x1349e5(0x144))/0x1+parseInt(_0x1349e5(0x11f))/0x2+parseInt(_0x1349e5(0x119))/0x3*(-parseInt(_0x1349e5(0x134))/0x4)+parseInt(_0x1349e5(0x13b))/0x5+parseInt(_0x1349e5(0x12f))/0x6*(parseInt(_0x1349e5(0x139))/0x7)+parseInt(_0x1349e5(0x11d))/0x8+parseInt(_0x1349e5(0x11e))/0x9*(-parseInt(_0x1349e5(0x121))/0xa);if(_0x4e560f===_0x4c6dcf)break;else _0x5887b5['push'](_0x5887b5['shift']());}catch(_0x5c2fbe){_0x5887b5['push'](_0x5887b5['shift']());}}}(_0x133b,0xb74b2));import{Command as _0x333a37,PendingActions as _0x460858}from'ckeditor5/src/core.js';function _0x5e68(_0x5a34fa,_0x217129){const _0x133bd2=_0x133b();return _0x5e68=function(_0x5e68f8,_0x20ec6d){_0x5e68f8=_0x5e68f8-0x115;let _0x47ffc9=_0x133bd2[_0x5e68f8];return _0x47ffc9;},_0x5e68(_0x5a34fa,_0x217129);}import{getTranslation as _0x58edc7}from'../utils/common-translations.js';import{getActiveRootName as _0x4c33e2}from'../utils/getactiverootname.js';import{formatSource as _0x3b8569,unformatSource as _0x3ea24f}from'../utils/format.js';import _0x1ab9ed from'./codeeditorview.js';export default class d extends _0x333a37{constructor(_0x36c355){const _0x17846d=_0x5e68;super(_0x36c355),this[_0x17846d(0x14a)]=!0x1,this[_0x17846d(0x13e)][_0x17846d(0x141)][_0x17846d(0x147)](_0x460858)['on'](_0x17846d(0x13c),(_0x4773fb,_0x252b45,_0x4a5a26)=>{const _0xb6053a=_0x17846d;_0x4a5a26?this[_0xb6053a(0x149)](_0xb6053a(0x128)):this[_0xb6053a(0x126)](_0xb6053a(0x128));});}[_0x4a099c(0x131)](){const _0x5d7239=_0x4a099c;this[_0x5d7239(0x125)]=!0x0;}[_0x4a099c(0x11a)](){const _0x5afc96=_0x4a099c,_0x5f51e1=this[_0x5afc96(0x13e)],_0x374ded=_0x5f51e1[_0x5afc96(0x146)],_0x352291=_0x5f51e1[_0x5afc96(0x141)][_0x5afc96(0x147)](_0x5afc96(0x137)),_0x52dde8=_0x4c33e2(_0x5f51e1),_0x57d60f=_0x5f51e1[_0x5afc96(0x138)][_0x5afc96(0x147)]({'rootName':_0x52dde8}),_0x348013=_0x3b8569(_0x57d60f),_0x59f3a2=new _0x1ab9ed(_0x374ded,{'syntaxLanguage':_0x5f51e1[_0x5afc96(0x141)][_0x5afc96(0x129)](_0x5afc96(0x12d))?_0x5afc96(0x143):_0x5afc96(0x133),'theme':_0x5f51e1[_0x5afc96(0x130)][_0x5afc96(0x147)](_0x5afc96(0x13a))});let _0x1b9ee4=!0x0;const _0x2bedce=_0x254938=>{const _0x58daa7=_0x5afc96;if(!_0x1b9ee4)return;const _0x33f67a=_0x59f3a2[_0x58daa7(0x12e)]();return _0x3ea24f(_0x33f67a)!==_0x3ea24f(_0x348013)?window[_0x58daa7(0x12b)](_0x58edc7(_0x374ded,_0x58daa7(0x136)))?void 0x0:_0x254938[_0x58daa7(0x12a)]():void 0x0;};_0x352291[_0x5afc96(0x127)]({'id':_0x5afc96(0x13f),'title':_0x58edc7(_0x374ded,_0x5afc96(0x11c)),'isModal':!0x0,'className':_0x5afc96(0x135),'content':_0x59f3a2,'actionButtons':[{'label':_0x58edc7(_0x374ded,_0x5afc96(0x120)),'withText':!0x0,'onExecute':()=>{const _0xb9f46e=_0x5afc96;_0x352291[_0xb9f46e(0x132)]();}},{'label':_0x58edc7(_0x374ded,_0x5afc96(0x118)),'class':_0x5afc96(0x13d),'withText':!0x0,'onExecute':()=>{const _0x1f602c=_0x5afc96,_0x127329=_0x59f3a2[_0x1f602c(0x12e)](),_0x402a66=_0x3ea24f(_0x127329)!==_0x3ea24f(_0x348013);(_0x402a66&&_0x5f51e1[_0x1f602c(0x11a)](_0x1f602c(0x124),_0x59f3a2[_0x1f602c(0x12e)]()),_0x1b9ee4=!0x1,_0x352291[_0x1f602c(0x132)](),_0x402a66&&_0x1f602c(0x116)in _0x5f51e1['ui'][_0x1f602c(0x117)])&&_0x5f51e1['ui'][_0x1f602c(0x117)][_0x1f602c(0x116)][_0x52dde8][_0x1f602c(0x115)][_0x1f602c(0x123)]();},'onCreate':_0x2b63a5=>{const _0x384291=_0x5afc96;_0x2b63a5[_0x384291(0x148)](_0x384291(0x125),!_0x5f51e1[_0x384291(0x11b)]),_0x2b63a5[_0x384291(0x145)](_0x384291(0x125))['to'](_0x5f51e1,_0x384291(0x11b),this,_0x384291(0x125),(_0x3cccb4,_0x5a71bf)=>!_0x3cccb4&&_0x5a71bf);}}],'onHide':()=>{const _0x200855=_0x5afc96;_0x352291[_0x200855(0x142)](_0x200855(0x132),_0x2bedce),_0x59f3a2[_0x200855(0x12c)]();},'onShow':()=>{const _0x1db0a1=_0x5afc96;_0x59f3a2[_0x1db0a1(0x145)](_0x1db0a1(0x11b))['to'](_0x5f51e1,_0x1db0a1(0x11b),this,_0x1db0a1(0x125),(_0x4d6fb5,_0xa7d482)=>_0x4d6fb5||!_0xa7d482),_0x59f3a2[_0x1db0a1(0x140)](_0x348013),_0x59f3a2[_0x1db0a1(0x123)](),_0x352291['on'](_0x1db0a1(0x132),_0x2bedce,{'priority':_0x1db0a1(0x122)});}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x1a3812,_0x4b088e){const t=_0x1a3812['t'];switch(_0x4b088e){case'Edit\x20source\x20modal\x20label':return t({'string':'Edit\x20source','id':'Edit\x20source\x20modal\x20label'});case'Source':return t('Source');case'Source\x20Editing\x20Enhanced':return t('Source\x20Editing\x20Enhanced');case'Copy\x20line\x20down':return t('Copy\x20line\x20down');case'Copy\x20line\x20up':return t('Copy\x20line\x20up');case'Delete\x20line':return t('Delete\x20line');case'Indent\x20less':return t('Indent\x20less');case'Indent\x20more':return t('Indent\x20more');case'Fold\x20all':return t('Fold\x20all');case'Fold\x20code\x20(current\x20level)':return t('Fold\x20code\x20(current\x20level)');case'Move\x20line\x20down':return t('Move\x20line\x20down');case'Move\x20line\x20up':return t('Move\x20line\x20up');case'Redo\x20(keystroke)':return t({'id':'Redo\x20(keystroke)','string':'Redo'});case'Select\x20line':return t('Select\x20line');case'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode':return t('Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode');case'Toggle\x20block\x20comment':return t('Toggle\x20block\x20comment');case'Toggle\x20comment':return t('Toggle\x20comment');case'Undo\x20(keystroke)':return t({'id':'Undo\x20(keystroke)','string':'Undo'});case'Unfold\x20all':return t('Unfold\x20all');case'Unfold\x20code\x20(current\x20level)':return t('Unfold\x20code\x20(current\x20level)');case'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.':return t('Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.');case'Cancel':return t('Cancel');case'Save':return t('Save');default:return _0x4b088e;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x2e21d4,_0x12ec24){const _0x7a5180=_0x27c7,_0x79aec3=_0x2e21d4();while(!![]){try{const _0x5dd7b8=-parseInt(_0x7a5180(0x1aa))/0x1*(-parseInt(_0x7a5180(0x1b0))/0x2)+parseInt(_0x7a5180(0x1ad))/0x3+parseInt(_0x7a5180(0x1b8))/0x4+-parseInt(_0x7a5180(0x1a0))/0x5*(-parseInt(_0x7a5180(0x19f))/0x6)+parseInt(_0x7a5180(0x1b3))/0x7*(-parseInt(_0x7a5180(0x1bb))/0x8)+-parseInt(_0x7a5180(0x1af))/0x9+-parseInt(_0x7a5180(0x1b4))/0xa*(parseInt(_0x7a5180(0x1a1))/0xb);if(_0x5dd7b8===_0x12ec24)break;else _0x79aec3['push'](_0x79aec3['shift']());}catch(_0x1889e1){_0x79aec3['push'](_0x79aec3['shift']());}}}(_0x36b5,0xbcfdb));import{lineNumbers as _0x1e4027,highlightActiveLineGutter as _0x47763d,highlightSpecialChars as _0x189108,drawSelection as _0x1d4e53,dropCursor as _0x3ad4d8,rectangularSelection as _0x448be6,crosshairCursor as _0x33ca68,highlightActiveLine as _0x8c8581,keymap as _0x4e8928,EditorView as _0x32f543}from'@codemirror/view';import{Compartment as _0x4075e6,Transaction as _0x3f3179}from'@codemirror/state';import{foldGutter as _0x3b5558,indentOnInput as _0x4ccf88,syntaxHighlighting as _0x42a211,defaultHighlightStyle as _0x349af3,bracketMatching as _0x70a512,foldKeymap as _0x34020d}from'@codemirror/language';function _0x27c7(_0x2740ef,_0x293b8c){const _0x36b5de=_0x36b5();return _0x27c7=function(_0x27c7eb,_0x4ed900){_0x27c7eb=_0x27c7eb-0x19f;let _0x23c6e5=_0x36b5de[_0x27c7eb];return _0x23c6e5;},_0x27c7(_0x2740ef,_0x293b8c);}import{history as _0x5da268,defaultKeymap as _0x3ed2ad,historyKeymap as _0x3ee511,redo as _0x33b35c}from'@codemirror/commands';import{closeBrackets as _0x25df98,autocompletion as _0x232c24,closeBracketsKeymap as _0x156d2f,completionKeymap as _0x478e85}from'@codemirror/autocomplete';import{html as _0xa7d47c}from'@codemirror/lang-html';import{markdown as _0x47634d}from'@codemirror/lang-markdown';function _0x36b5(){const _0x29ac8c=['theme','2996640BxVqtS','471542TiKfhj','doc','editable','7YSrDgT','181950JzcZUy','Cmd-y','addToHistory','parent','5854588GiztKU','state','reconfigure','6716888bUlbWr','2681772ZFGpHE','5KRSRYP','726JTurTc','syntaxLanguage','dispatch','lineWrapping','destroy','Ctrl-Shift-z','push','toString','html','1EmcuVI','length','focus','3003504ZoQPtB'];_0x36b5=function(){return _0x29ac8c;};return _0x36b5();}export default function p(_0x35f10c){const _0x2f85cb=_0x27c7,_0x26a457=[_0x32f543[_0x2f85cb(0x1a4)],_0x232c24(),_0x70a512(),_0x25df98(),_0x33ca68(),_0x1d4e53(),_0x3ad4d8(),_0x1e4027(),_0x3b5558(),_0x8c8581(),_0x47763d(),_0x189108(),_0x5da268(),_0x4ccf88(),_0x448be6(),_0x42a211(_0x349af3,{'fallback':!0x0})],_0xd1cac7=new _0x4075e6();_0x26a457[_0x2f85cb(0x1a7)](_0xd1cac7['of'](_0x32f543[_0x2f85cb(0x1b2)]['of'](!0x0))),_0x2f85cb(0x1a9)===_0x35f10c[_0x2f85cb(0x1a2)]?_0x26a457[_0x2f85cb(0x1a7)](_0xa7d47c()):_0x26a457[_0x2f85cb(0x1a7)](_0x47634d()),_0x35f10c[_0x2f85cb(0x1ae)]&&_0x26a457[_0x2f85cb(0x1a7)](_0x35f10c[_0x2f85cb(0x1ae)]),_0x26a457[_0x2f85cb(0x1a7)](...getKeybindings());const _0x21d460=new _0x32f543({'extensions':_0x26a457,'parent':_0x35f10c[_0x2f85cb(0x1b7)]});return{'focus':()=>{const _0xb4d20e=_0x2f85cb;_0x21d460[_0xb4d20e(0x1a3)]({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x21d460[_0xb4d20e(0x1ac)]();},'getData':()=>_0x21d460[_0x2f85cb(0x1b9)][_0x2f85cb(0x1b1)][_0x2f85cb(0x1a8)](),'setData':_0x4058c6=>{const _0x2256db=_0x2f85cb;_0x21d460[_0x2256db(0x1a3)]({'changes':{'from':0x0,'to':_0x21d460[_0x2256db(0x1b9)][_0x2256db(0x1b1)][_0x2256db(0x1ab)],'insert':_0x4058c6},'annotations':_0x3f3179[_0x2256db(0x1b6)]['of'](!0x1)});},'setReadOnly':_0x45665e=>{const _0x2d137e=_0x2f85cb;_0x21d460[_0x2d137e(0x1a3)]({'effects':[_0xd1cac7[_0x2d137e(0x1ba)](_0x32f543[_0x2d137e(0x1b2)]['of'](!_0x45665e))]});},'destroy':()=>{const _0xb77704=_0x2f85cb;_0x21d460[_0xb77704(0x1a5)]();}};}export function getKeybindings(){const _0x11aa29=_0x27c7;return[_0x4e8928['of']([..._0x156d2f,..._0x3ed2ad,..._0x3ee511,..._0x34020d,..._0x478e85,{'key':_0x11aa29(0x1a6),'mac':_0x11aa29(0x1b5),'run':_0x33b35c,'preventDefault':!0x0}])];}
|