@ckeditor/ckeditor5-source-editing-enhanced 0.0.0-nightly-20250618.0 → 0.0.0-nightly-20250620.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/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Command as _0x1f7aa1,PendingActions as _0x5b3c4f,Plugin as _0x3f383f}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x4e6eb2,formatHtml as _0x35e1f5,env as _0x316cd6,uid as _0x321b44}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconSource as _0x59519d}from'@ckeditor/ckeditor5-icons/dist/index.js';import{View as _0x3057d0,ButtonView as _0x3c44fd,MenuBarMenuListItemButtonView as _0x32411c}from'@ckeditor/ckeditor5-ui/dist/index.js';import{EditorView as _0x4457bb,crosshairCursor as _0x1e9ca8,drawSelection as _0xe4e63,dropCursor as _0x45f5d3,lineNumbers as _0x1011ec,highlightActiveLine as _0x2cde4c,highlightActiveLineGutter as _0x389504,highlightSpecialChars as _0x394bca,rectangularSelection as _0x5cced1,keymap as _0x151b61}from'@codemirror/view';import{Compartment as _0x4721dd,Transaction as _0x91738a}from'@codemirror/state';import{bracketMatching as _0x30698b,foldGutter as _0x2cc44f,indentOnInput as _0x2a0999,syntaxHighlighting as _0x33cbfa,defaultHighlightStyle as _0x3a6ab7,foldKeymap as _0x45e2ed}from'@codemirror/language';import{toggleTabFocusMode as _0x441c19,history as _0x3af036,defaultKeymap as _0x2fa26d,historyKeymap as _0x3950c7,indentLess as _0x2bba1f,indentMore as _0x5aeb61,redo as _0x2356a7,undo as _0x50e091}from'@codemirror/commands';import{autocompletion as _0x3ac00c,closeBrackets as _0x2e69e0,closeBracketsKeymap as _0x4d92d5,completionKeymap as _0x293a37}from'@codemirror/autocomplete';import{html as _0x4dd864}from'@codemirror/lang-html';import{markdown as _0x2db28d}from'@codemirror/lang-markdown';import{oneDark as _0x431533}from'@codemirror/theme-one-dark';function w(_0x2758bc,_0x23fae3){const t=_0x2758bc['t'];switch(_0x23fae3){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 _0x23fae3;}}function r(_0x17de97){const _0x40d5de=_0x17de97['editing']['view']['document']['roots'],_0x50f909=_0x40d5de['length'];if(0x0===_0x50f909)throw new _0x4e6eb2('source-editing-enhanced-editor-no-root',_0x17de97);if(0x1===_0x50f909)return _0x40d5de['first']['rootName'];return Array['from'](_0x17de97['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function g(_0x194e4a){return tr(_0x194e4a['replace'](/^[\n\s]*/g,''))?_0x194e4a['replace'](/\s+/g,''):_0x194e4a;}function tr(_0x5b050e){return _0x5b050e['startsWith']('<');}function p(_0x10fe56){const _0x362882=[_0x4457bb['lineWrapping'],_0x3ac00c(),_0x30698b(),_0x2e69e0(),_0x1e9ca8(),_0xe4e63(),_0x45f5d3(),_0x1011ec(),_0x2cc44f(),_0x2cde4c(),_0x389504(),_0x394bca(),_0x3af036(),_0x2a0999(),_0x5cced1(),_0x33cbfa(_0x3a6ab7,{'fallback':!0x0})],_0x1811d5=new _0x4721dd();_0x362882['push'](_0x1811d5['of'](_0x4457bb['editable']['of'](!0x0))),'html'===_0x10fe56['syntaxLanguage']?_0x362882['push'](_0x4dd864()):_0x362882['push'](_0x2db28d());const _0x71eba2=function(_0x15122e){if(_0x15122e&&'default'!==_0x15122e)return'dark'===_0x15122e?_0x431533:_0x15122e;return null;}(_0x10fe56['theme']);_0x71eba2&&_0x362882['push'](_0x71eba2),_0x362882['push'](_0x151b61['of']([..._0x4d92d5,..._0x2fa26d,..._0x3950c7,..._0x45e2ed,..._0x293a37,{'key':'Tab','run':_0x5aeb61,'shift':_0x2bba1f,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-y','mac':'Cmd-y','run':_0x2356a7,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-Shift-z','mac':'Cmd-Shift-z','run':_0x2356a7,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-z','mac':'Cmd-z','run':_0x50e091,'preventDefault':!0x0,'stopPropagation':!0x0}]));const _0x24fbad=new _0x4457bb({'extensions':_0x362882,'parent':_0x10fe56['parent']});return _0x441c19(_0x24fbad),{'focus':()=>{_0x24fbad['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x24fbad['focus']();},'getData':()=>_0x24fbad['state']['doc']['toString'](),'setData':_0x5b5775=>{_0x24fbad['dispatch']({'changes':{'from':0x0,'to':_0x24fbad['state']['doc']['length'],'insert':_0x5b5775},'annotations':_0x91738a['addToHistory']['of'](!0x1)});},'setReadOnly':_0x1eb551=>{_0x24fbad['dispatch']({'effects':[_0x1811d5['reconfigure'](_0x4457bb['editable']['of'](!_0x1eb551))]});},'destroy':()=>{_0x24fbad['destroy']();},'instance':_0x24fbad};}class E extends _0x3057d0{['_codeEditorApi']=null;['_options'];constructor(_0x34ddc4,_0x40c119){super(_0x34ddc4),this['_options']=_0x40c119,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',(_0x605d80,_0x27385b,_0xdbe126)=>{this['setReadOnly'](_0xdbe126);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0x461d0f){this['_codeEditorApi']['setData'](_0x461d0f);}['setReadOnly'](_0x5c880b){this['_codeEditorApi']['setReadOnly'](_0x5c880b);}}const b='SourceEditingEnhancedMode';class d extends _0x1f7aa1{constructor(_0x43675e){super(_0x43675e),this['affectsData']=!0x1,this['editor']['plugins']['get'](_0x5b3c4f)['on']('change:hasAny',(_0xd3a8a0,_0x41886d,_0x5d1374)=>{_0x5d1374?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['_disableCommands'](){const _0x4abe2d=this['editor'];for(const _0x28f5fe of _0x4abe2d['commands']['names']())['replaceSource','editSource']['includes'](_0x28f5fe)||_0x4abe2d['commands']['get'](_0x28f5fe)['forceDisabled'](b);}['_enableCommands'](){const _0x504754=this['editor'];for(const _0x2ebd34 of _0x504754['commands']['commands']())_0x2ebd34['clearForceDisabled'](b);}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x52e42f=this['editor'],_0x3ffa79=_0x52e42f['locale'],_0x35a1cd=_0x52e42f['plugins']['get']('Dialog'),_0x314880=r(_0x52e42f),_0x10dbb9=_0x52e42f['data']['get']({'rootName':_0x314880}),_0x1641e6=tr(_0x36033=_0x10dbb9)?_0x35e1f5(_0x36033):_0x36033;var _0x36033;const _0x5d5ddc=new E(_0x3ffa79,{'syntaxLanguage':_0x52e42f['plugins']['has']('Markdown')?'markdown':'html','theme':_0x52e42f['config']['get']('sourceEditingEnhanced.theme')});let _0x4d85df=!0x0;const _0x20c502=_0x1a30fc=>{if(!_0x4d85df)return;return g(_0x5d5ddc['getData']())!==g(_0x1641e6)?window['confirm'](w(_0x3ffa79,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0x1a30fc['stop']():void 0x0;};_0x35a1cd['show']({'id':'sourceEditingEnhanced','title':w(_0x3ffa79,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0x5d5ddc,'actionButtons':[{'label':w(_0x3ffa79,'Cancel'),'withText':!0x0,'onExecute':()=>{_0x35a1cd['hide']();}},{'label':w(_0x3ffa79,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0x3f004d=g(_0x5d5ddc['getData']())!==g(_0x1641e6);(_0x3f004d&&_0x52e42f['execute']('replaceSource',_0x5d5ddc['getData']()),_0x4d85df=!0x1,_0x35a1cd['hide'](),_0x3f004d&&'editables'in _0x52e42f['ui']['view'])&&_0x52e42f['ui']['view']['editables'][_0x314880]['element']['focus']();},'onCreate':_0x4d7b8c=>{_0x4d7b8c['set']('isEnabled',!_0x52e42f['isReadOnly']),_0x4d7b8c['bind']('isEnabled')['to'](_0x52e42f,'isReadOnly',this,'isEnabled',(_0x32aec2,_0x3e4674)=>!_0x32aec2&&_0x3e4674);}}],'onHide':()=>{this['_enableCommands'](),_0x35a1cd['off']('hide',_0x20c502),_0x5d5ddc['destroy']();},'onShow':()=>{_0x5d5ddc['bind']('isReadOnly')['to'](_0x52e42f,'isReadOnly',this,'isEnabled',(_0x443e14,_0x3e5bb8)=>_0x443e14||!_0x3e5bb8),_0x5d5ddc['setData'](_0x1641e6),_0x5d5ddc['focus'](),_0x35a1cd['on']('hide',_0x20c502,{'priority':'highest'}),this['_disableCommands']();}});}}class a extends _0x3f383f{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[_0x5b3c4f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x215b69=this['editor'],_0x5602d6=_0x215b69['locale'],_0x2e0e20=new d(_0x215b69);_0x215b69['commands']['add']('editSource',_0x2e0e20),_0x215b69['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0x5d2fe2=this['_createButton'](_0x3c44fd,_0x2e0e20);return _0x5d2fe2['set']({'label':w(_0x5602d6,'Source'),'icon':_0x59519d,'tooltip':w(_0x5602d6,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0x5d2fe2;}),_0x215b69['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0x3eebd0=this['_createButton'](_0x32411c,_0x2e0e20,!0x0);return _0x3eebd0['set']({'label':w(_0x5602d6,'Edit\x20source\x20modal\x20label'),'icon':_0x59519d,'role':'menuitemcheckbox'}),_0x3eebd0;}),this['_registerKeybindings']();}['afterInit'](){!async function(_0x591cb2){const _0x2ab160=_0x2acac3([0x71,0x6a,0x6b,0x48,0x55,0x62,0x38,0x30,0x42,0x36,0x4e,0x39,0x57,0x51,0x6c,0x6d,0x63,0x41,0x56,0x4c,0x6e,0x4d,0x31,0x61,0x33,0x74,0x5a,0x37,0x78,0x32,0x69,0x75,0x72,0x7a,0x4a,0x49,0x44,0x64,0x4b,0x58,0x52,0x77,0x53,0x45,0x67,0x47,0x65,0x43,0x68,0x76,0x79,0x46,0x73,0x4f,0x50,0x66,0x54,0x59,0x34,0x70,0x35,0x6f]),_0x583d88=0x75c9295f,_0x55a4e3=0x75ce4247^_0x583d88,_0x2ede6d=window[_0x2acac3([0x44,0x61,0x74,0x65])][_0x2acac3([0x6e,0x6f,0x77])](),_0x5323b2=_0x591cb2[_0x2acac3([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x11ae66=new window[(_0x2acac3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x42e3b2=>{_0x5323b2[_0x2acac3([0x6f,0x6e,0x63,0x65])](_0x2acac3([0x72,0x65,0x61,0x64,0x79]),_0x42e3b2);}),_0x5c4b75={[_0x2acac3([0x6b,0x74,0x79])]:_0x2acac3([0x45,0x43]),[_0x2acac3([0x75,0x73,0x65])]:_0x2acac3([0x73,0x69,0x67]),[_0x2acac3([0x63,0x72,0x76])]:_0x2acac3([0x50,0x2d,0x32,0x35,0x36]),[_0x2acac3([0x78])]:_0x2acac3([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]),[_0x2acac3([0x79])]:_0x2acac3([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]),[_0x2acac3([0x61,0x6c,0x67])]:_0x2acac3([0x45,0x53,0x32,0x35,0x36])},_0x645438=_0x5323b2[_0x2acac3([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2acac3([0x67,0x65,0x74])](_0x2acac3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x458932(){let _0x547174,_0x230d4a=null,_0x28f095=null;try{if(_0x645438==_0x2acac3([0x47,0x50,0x4c]))return _0x2acac3([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x547174=_0x365512(),!_0x547174)return _0x2acac3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x547174[_0x2acac3([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x28f095=_0x4c191a(_0x547174[_0x2acac3([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x547174[_0x2acac3([0x6a,0x74,0x69])])),await _0x34edc4()?_0x3a0534()?_0x52f7e8()?_0x2acac3([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1505d2()?(_0x547174[_0x2acac3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2acac3([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x230d4a=_0x2d6dc8(_0x2acac3([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x547174[_0x2acac3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2acac3([0x74,0x72,0x69,0x61,0x6c])&&(_0x230d4a=_0x2d6dc8(_0x2acac3([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xed3c08()):_0x2acac3([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2acac3([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2acac3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2acac3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x52f7e8(){const _0x5e1362=[_0x2acac3([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2acac3([0x74,0x72,0x69,0x61,0x6c])][_0x2acac3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x547174[_0x2acac3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2ede6d/0x3e8:0xe10*_0x55a4e3;return _0x547174[_0x2acac3([0x65,0x78,0x70])]<_0x5e1362;}function _0x3a0534(){const _0x1fdf41=_0x547174[_0x2acac3([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1fdf41&&(!!_0x1fdf41[_0x2acac3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2acac3([0x2a]))||!!_0x1fdf41[_0x2acac3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2acac3([0x53,0x45,0x45])));}function _0x1505d2(){const _0x242d39=_0x547174[_0x2acac3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x242d39||0x0==_0x242d39[_0x2acac3([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x56afc2}=new URL(window[_0x2acac3([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x242d39[_0x2acac3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x56afc2))return!0x0;const _0x41f1b1=_0x56afc2[_0x2acac3([0x73,0x70,0x6c,0x69,0x74])](_0x2acac3([0x2e]));return _0x242d39[_0x2acac3([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2b2e2f=>_0x2b2e2f[_0x2acac3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2acac3([0x2a])))[_0x2acac3([0x6d,0x61,0x70])](_0x14ec4f=>_0x14ec4f[_0x2acac3([0x73,0x70,0x6c,0x69,0x74])](_0x2acac3([0x2e])))[_0x2acac3([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x248957=>_0x248957[_0x2acac3([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x41f1b1[_0x2acac3([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2acac3([0x6d,0x61,0x70])](_0x34e2ed=>Array(_0x41f1b1[_0x2acac3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x34e2ed[_0x2acac3([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2acac3([0x66,0x69,0x6c,0x6c])](_0x34e2ed[0x0]===_0x2acac3([0x2a])?_0x2acac3([0x2a]):'')[_0x2acac3([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x34e2ed))[_0x2acac3([0x73,0x6f,0x6d,0x65])](_0x4acf7a=>_0x41f1b1[_0x2acac3([0x65,0x76,0x65,0x72,0x79])]((_0x4d5aeb,_0x45ef8c)=>_0x4acf7a[_0x45ef8c]===_0x4d5aeb||_0x4acf7a[_0x45ef8c]===_0x2acac3([0x2a])));}function _0xed3c08(){return _0x230d4a&&_0x28f095?new window[(_0x2acac3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1ce8cf,_0x8c7460)=>{_0x230d4a[_0x2acac3([0x74,0x68,0x65,0x6e])](_0x1ce8cf,_0x8c7460),_0x28f095[_0x2acac3([0x74,0x68,0x65,0x6e])](_0x59ab89=>{_0x59ab89!=_0x2acac3([0x56,0x61,0x6c,0x69,0x64])&&_0x1ce8cf(_0x59ab89);},_0x8c7460);}):_0x230d4a||_0x28f095||_0x2acac3([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4c191a(_0x285a93,_0x49b26a){return new window[(_0x2acac3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2d0032=>{if(_0x167dc0())return _0x2d0032(_0x2acac3([0x56,0x61,0x6c,0x69,0x64]));_0x1c1f9e(),_0x5323b2[_0x2acac3([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2acac3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x326935=!0x1;const _0x2b1a8d=_0x321b44();function _0x1adfae(_0x1b7c77){return!!_0x1b7c77&&(typeof _0x1b7c77===_0x2acac3([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1b7c77===_0x2acac3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1b7c77[_0x2acac3([0x74,0x68,0x65,0x6e])]===_0x2acac3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1b7c77[_0x2acac3([0x63,0x61,0x74,0x63,0x68])]===_0x2acac3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5f0a3e(_0x17f535){_0x1e2d79(_0x17f535)[_0x2acac3([0x74,0x68,0x65,0x6e])](_0x2e915c=>{if(!_0x2e915c||_0x2e915c[_0x2acac3([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2acac3([0x6f,0x6b]))return _0x2acac3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x534524(_0x465318(_0x2b1a8d+_0x49b26a))!=_0x2e915c[_0x2acac3([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2acac3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2acac3([0x56,0x61,0x6c,0x69,0x64]);})[_0x2acac3([0x74,0x68,0x65,0x6e])](_0x479874=>(_0x3c52e9(),_0x479874),()=>{const _0x1dccbd=_0x36a8db();return null==_0x1dccbd?(_0x3c52e9(),_0x2acac3([0x56,0x61,0x6c,0x69,0x64])):_0x2acac3(_0x2ede6d-_0x1dccbd>(0x51c5ad5f^_0x583d88)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2acac3([0x74,0x68,0x65,0x6e])](_0x2d0032)[_0x2acac3([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2d0032(_0x2acac3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3fedca=0x75ffc7df^_0x583d88;function _0x3c52e9(){const _0x3558ac=_0x2acac3([0x6c,0x6c,0x63,0x74,0x2d])+_0x534524(_0x465318(_0x285a93)),_0x2fa33a=_0x5ce470(_0x534524(window[_0x2acac3([0x4d,0x61,0x74,0x68])][_0x2acac3([0x63,0x65,0x69,0x6c])](_0x2ede6d/_0x3fedca)));window[_0x2acac3([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2acac3([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3558ac,_0x2fa33a);}function _0x36a8db(){const _0x4c29c3=_0x2acac3([0x6c,0x6c,0x63,0x74,0x2d])+_0x534524(_0x465318(_0x285a93)),_0xfcc740=window[_0x2acac3([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2acac3([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4c29c3);return _0xfcc740?window[_0x2acac3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5ce470(_0xfcc740),0x10)*_0x3fedca:null;}function _0x1e2d79(_0x559929){return new window[(_0x2acac3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1ad131,_0x3b63ba)=>{_0x559929[_0x2acac3([0x74,0x68,0x65,0x6e])](_0x1ad131,_0x3b63ba),window[_0x2acac3([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3b63ba,0x75c8fd9f^_0x583d88);});}}_0x5323b2[_0x2acac3([0x6f,0x6e])](_0x2acac3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x12c585,_0x223a43)=>{if(_0x223a43[0x0]!=_0x285a93)return _0x2d0032(_0x2acac3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x223a43[0x1]={..._0x223a43[0x1],[_0x2acac3([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2b1a8d};},{[_0x2acac3([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2acac3([0x68,0x69,0x67,0x68])}),_0x5323b2[_0x2acac3([0x6f,0x6e])](_0x2acac3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3988ca=>{_0x1adfae(_0x3988ca[_0x2acac3([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x326935=!0x0,_0x5f0a3e(_0x3988ca[_0x2acac3([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2acac3([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2acac3([0x6c,0x6f,0x77])}),_0x11ae66[_0x2acac3([0x74,0x68,0x65,0x6e])](()=>{_0x326935||_0x2d0032(_0x2acac3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x167dc0(){return _0x5323b2[_0x2acac3([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2acac3([0x76,0x69,0x65,0x77])][_0x2acac3([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2acac3([0x61,0x75,0x74,0x6f]);}function _0x1c1f9e(){_0x5323b2[_0x2acac3([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2acac3([0x76,0x69,0x65,0x77])][_0x2acac3([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2acac3([0x61,0x75,0x74,0x6f]);}}function _0x2d6dc8(_0xec4002){const _0x2fad8c=[new window[(_0x2acac3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1cd36c=>setTimeout(_0x1cd36c,0x75c01793^_0x583d88)),_0x11ae66[_0x2acac3([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2acac3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x412656=>{let _0xe9fd52=0x0;_0x5323b2[_0x2acac3([0x6d,0x6f,0x64,0x65,0x6c])][_0x2acac3([0x6f,0x6e])](_0x2acac3([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5ee9f0,_0x43cc05)=>{_0x43cc05[0x0][_0x2acac3([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xe9fd52++,_0xe9fd52==(0x75c928a7^_0x583d88)&&(_0x412656(),_0x5ee9f0[_0x2acac3([0x6f,0x66,0x66])]());});}))];return window[_0x2acac3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2acac3([0x72,0x61,0x63,0x65])](_0x2fad8c)[_0x2acac3([0x74,0x68,0x65,0x6e])](()=>_0xec4002);}async function _0x2375fe(){await _0x11ae66,_0x5323b2[_0x2acac3([0x6d,0x6f,0x64,0x65,0x6c])][_0x2acac3([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x503445,_0x5323b2[_0x2acac3([0x6d,0x6f,0x64,0x65,0x6c])][_0x2acac3([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x503445,_0x5323b2[_0x2acac3([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2acac3([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x110f74(_0x577aab){const _0x598e96=_0x4b3b3d();_0x5323b2[_0x598e96]=_0x2acac3([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])+_0x577aab,_0x577aab!=_0x2acac3([0x56,0x61,0x6c,0x69,0x64])&&_0x2375fe();}function _0x4b3b3d(){const _0x4d5daf=window[_0x2acac3([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2acac3([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2acac3([0x6e,0x6f,0x77])]())[_0x2acac3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2acac3([0x2e]),'');let _0x16a87a=_0x2acac3([0x71]);for(let _0x2476ba=0x0;_0x2476ba<_0x4d5daf[_0x2acac3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2476ba+=0x2){let _0x271ae5=window[_0x2acac3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4d5daf[_0x2acac3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2476ba,_0x2476ba+0x2));_0x271ae5>=_0x2ab160[_0x2acac3([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x271ae5-=_0x2ab160[_0x2acac3([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x16a87a+=_0x2ab160[_0x271ae5];}return _0x16a87a;}function _0x365512(){const _0x3de14f=_0x645438[_0x2acac3([0x73,0x70,0x6c,0x69,0x74])](_0x2acac3([0x2e]));if(0x3!=_0x3de14f[_0x2acac3([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5cbf83(_0x3de14f[0x1]);function _0x5cbf83(_0x582db2){const _0x189ccb=_0x51d537(_0x582db2);return _0x189ccb&&_0x40cc29()?_0x189ccb:null;function _0x40cc29(){const _0x3628bc=_0x189ccb[_0x2acac3([0x6a,0x74,0x69])],_0x1ed658=window[_0x2acac3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3628bc[_0x2acac3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3628bc[_0x2acac3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x248b20={..._0x189ccb,[_0x2acac3([0x6a,0x74,0x69])]:_0x3628bc[_0x2acac3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3628bc[_0x2acac3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x248b20[_0x2acac3([0x76,0x63])],_0x465318(_0x248b20)==_0x1ed658;}}}async function _0x34edc4(){let _0x299f43=!0x0;try{const _0x4ee092=_0x645438[_0x2acac3([0x73,0x70,0x6c,0x69,0x74])](_0x2acac3([0x2e])),[_0x6beeae,_0x19ce3a,_0x29dd06]=_0x4ee092;return _0xb35304(_0x6beeae),await _0x50192f(_0x6beeae,_0x19ce3a,_0x29dd06),_0x299f43;}catch{return!0x1;}function _0xb35304(_0x4168d2){const _0x1b0a33=_0x51d537(_0x4168d2);_0x1b0a33&&_0x1b0a33[_0x2acac3([0x61,0x6c,0x67])]==_0x2acac3([0x45,0x53,0x32,0x35,0x36])||(_0x299f43=!0x1);}async function _0x50192f(_0x24a69f,_0x1dd276,_0xbac929){const _0x3be450=window[_0x2acac3([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2acac3([0x66,0x72,0x6f,0x6d])](_0x4f59e8(_0xbac929),_0x5c15d1=>_0x5c15d1[_0x2acac3([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x29e2ca=new window[(_0x2acac3([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2acac3([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x24a69f+_0x2acac3([0x2e])+_0x1dd276),_0xec19bc=window[_0x2acac3([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2acac3([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xec19bc)return;const _0x243374=await _0xec19bc[_0x2acac3([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2acac3([0x6a,0x77,0x6b]),_0x5c4b75,{[_0x2acac3([0x6e,0x61,0x6d,0x65])]:_0x2acac3([0x45,0x43,0x44,0x53,0x41]),[_0x2acac3([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2acac3([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2acac3([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xec19bc[_0x2acac3([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2acac3([0x6e,0x61,0x6d,0x65])]:_0x2acac3([0x45,0x43,0x44,0x53,0x41]),[_0x2acac3([0x68,0x61,0x73,0x68])]:{[_0x2acac3([0x6e,0x61,0x6d,0x65])]:_0x2acac3([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x243374,_0x3be450,_0x29e2ca)||(_0x299f43=!0x1);}}function _0x51d537(_0x200ba5){return _0x200ba5[_0x2acac3([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2acac3([0x65,0x79]))?JSON[_0x2acac3([0x70,0x61,0x72,0x73,0x65])](_0x4f59e8(_0x200ba5)):null;}function _0x4f59e8(_0x21ae51){return window[_0x2acac3([0x61,0x74,0x6f,0x62])](_0x21ae51[_0x2acac3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2acac3([0x2b]))[_0x2acac3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2acac3([0x2f])));}function _0x465318(_0x546116){let _0x47e42b=0x1505;function _0x768787(_0x24f63b){for(let _0x272506=0x0;_0x272506<_0x24f63b[_0x2acac3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x272506++){const _0x29bbe0=_0x24f63b[_0x2acac3([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x272506);_0x47e42b=(_0x47e42b<<0x5)+_0x47e42b+_0x29bbe0,_0x47e42b&=_0x47e42b;}}function _0x475409(_0x1b4e49){Array[_0x2acac3([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1b4e49)?_0x1b4e49[_0x2acac3([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x475409):_0x1b4e49&&typeof _0x1b4e49==_0x2acac3([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2acac3([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1b4e49)[_0x2acac3([0x73,0x6f,0x72,0x74])]()[_0x2acac3([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5ad621,_0x58c07a])=>{_0x768787(_0x5ad621),_0x475409(_0x58c07a);}):_0x768787(window[_0x2acac3([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1b4e49));}return _0x475409(_0x546116),_0x47e42b>>>0x0;}function _0x534524(_0x598404){return _0x598404[_0x2acac3([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2acac3([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2acac3([0x30]));}function _0x5ce470(_0x4b4535){return _0x4b4535[_0x2acac3([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2acac3([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2acac3([0x6a,0x6f,0x69,0x6e])]('');}function _0x503445(){}function _0x2acac3(_0x37edc1){return _0x37edc1['map'](_0x41c6e7=>String['fromCharCode'](_0x41c6e7))['join']('');}_0x110f74(await _0x458932());}(this);}['_createButton'](_0x298ce1,_0x22eee7,_0x5b0dd1=!0x1){const _0xc2440c=new _0x298ce1(this['editor']['locale']);return _0xc2440c['set']({'withText':_0x5b0dd1,'isToggleable':!0x1}),_0xc2440c['bind']('isEnabled')['to'](_0x22eee7,'isEnabled'),this['listenTo'](_0xc2440c,'execute',()=>_0x22eee7['execute']()),_0xc2440c;}['_registerKeybindings'](){const _0x205a7d=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':w(_0x205a7d,'Source\x20Editing\x20Enhanced')});const _0x1d3182=_0x316cd6['isMac']||_0x316cd6['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':w(_0x205a7d,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':w(_0x205a7d,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':w(_0x205a7d,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':w(_0x205a7d,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':w(_0x205a7d,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':w(_0x205a7d,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':w(_0x205a7d,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x1d3182?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':w(_0x205a7d,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':w(_0x205a7d,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':w(_0x205a7d,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':w(_0x205a7d,'Select\x20line'),'keystroke':_0x1d3182?'Ctrl!+L':'Alt+L'},{'label':w(_0x205a7d,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x1d3182?'Alt+Shift+M':'Ctrl+M'},{'label':w(_0x205a7d,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':w(_0x205a7d,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':w(_0x205a7d,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':w(_0x205a7d,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':w(_0x205a7d,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x1d3182?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}class c extends _0x1f7aa1{constructor(_0x4d2cad){super(_0x4d2cad),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0x248d03,_0x388f2c){const _0x5737f2=this['editor'],_0x17162c=_0x388f2c?.['rootName']??r(_0x5737f2);_0x5737f2['data']['set']({[_0x17162c]:_0x248d03},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}class ee extends _0x3f383f{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[a];}constructor(_0x1e3e0c){super(_0x1e3e0c),_0x1e3e0c['config']['define']('sourceEditingEnhanced.allowCollaborationFeatures',!0x1);}['init'](){this['_checkCompatibility'](),this['editor']['commands']['add']('replaceSource',new c(this['editor'])),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x2eef25=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x308edb;for(const _0x3e05bc in _0x2eef25){const _0x1def66=_0x3e05bc,_0x48052c=_0x2eef25[_0x1def66];if('sourceEditingEnhancedLicenseKeyValid'==_0x48052c||'sourceEditingEnhancedLicenseKeyInvalid'==_0x48052c||'sourceEditingEnhancedLicenseKeyExpired'==_0x48052c||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x48052c||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x48052c||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x48052c||'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x48052c||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x48052c){delete _0x2eef25[_0x1def66],_0x308edb=_0x48052c,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0x308edb&&_0x2eef25['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0x308edb&&_0x2eef25['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x308edb&&_0x2eef25['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x308edb&&_0x2eef25['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x308edb&&_0x2eef25['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x308edb&&_0x2eef25['_showLicenseError']('trialLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x308edb&&_0x2eef25['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0x383d4e=this['editor'],_0x415dd1=_0x383d4e['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0x415dd1&&_0x383d4e['plugins']['has']('RealTimeCollaborativeEditing'))throw new _0x4e6eb2('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0x415dd1&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x3b19f8=>_0x383d4e['plugins']['has'](_0x3b19f8))&&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.'),_0x383d4e['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,c as ReplaceSourceCommand,ee as SourceEditingEnhanced};
|
|
23
|
+
import{Command as _0x45d4df,PendingActions as _0x36276b,Plugin as _0x2dfe0c}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x28ae92,formatHtml as _0x21154e,env as _0x24b760,uid as _0x164640}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconSource as _0x23947f}from'@ckeditor/ckeditor5-icons/dist/index.js';import{View as _0x3636bb,ButtonView as _0x512ef6,MenuBarMenuListItemButtonView as _0x29a987}from'@ckeditor/ckeditor5-ui/dist/index.js';import{EditorView as _0x385234,crosshairCursor as _0x17d24f,drawSelection as _0x275ed9,dropCursor as _0x4a6e29,lineNumbers as _0x23bf59,highlightActiveLine as _0x4c60be,highlightActiveLineGutter as _0xa0f4ca,highlightSpecialChars as _0x54167f,rectangularSelection as _0x4c0f94,keymap as _0x4fa2a1}from'@codemirror/view';import{Compartment as _0x2733f7,Transaction as _0x6eca2}from'@codemirror/state';import{bracketMatching as _0x26937f,foldGutter as _0xfe9cb4,indentOnInput as _0x380d18,syntaxHighlighting as _0x124cbc,defaultHighlightStyle as _0x4b98fc,foldKeymap as _0x3b499a}from'@codemirror/language';import{toggleTabFocusMode as _0x2c23e0,history as _0xdbab9,defaultKeymap as _0x3c1fc0,historyKeymap as _0xca12ce,indentLess as _0x18f84b,indentMore as _0x3d088b,redo as _0x2ed5e9,undo as _0x4a72e4}from'@codemirror/commands';import{autocompletion as _0x3c7ca1,closeBrackets as _0x11316d,closeBracketsKeymap as _0x26523f,completionKeymap as _0x30c920}from'@codemirror/autocomplete';import{html as _0x1aec3f}from'@codemirror/lang-html';import{markdown as _0x5b08ea}from'@codemirror/lang-markdown';import{oneDark as _0x26b755}from'@codemirror/theme-one-dark';function w(_0xe279e1,_0x2cce0b){const t=_0xe279e1['t'];switch(_0x2cce0b){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 _0x2cce0b;}}function r(_0x13cbe8){const _0x127717=_0x13cbe8['editing']['view']['document']['roots'],_0x5234db=_0x127717['length'];if(0x0===_0x5234db)throw new _0x28ae92('source-editing-enhanced-editor-no-root',_0x13cbe8);if(0x1===_0x5234db)return _0x127717['first']['rootName'];return Array['from'](_0x13cbe8['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function g(_0x5aac11){return tr(_0x5aac11['replace'](/^[\n\s]*/g,''))?_0x5aac11['replace'](/\s+/g,''):_0x5aac11;}function tr(_0xdd283c){return _0xdd283c['startsWith']('<');}function p(_0x11ce14){const _0x31578e=[_0x385234['lineWrapping'],_0x3c7ca1(),_0x26937f(),_0x11316d(),_0x17d24f(),_0x275ed9(),_0x4a6e29(),_0x23bf59(),_0xfe9cb4(),_0x4c60be(),_0xa0f4ca(),_0x54167f(),_0xdbab9(),_0x380d18(),_0x4c0f94(),_0x124cbc(_0x4b98fc,{'fallback':!0x0})],_0x6d319=new _0x2733f7();_0x31578e['push'](_0x6d319['of'](_0x385234['editable']['of'](!0x0))),'html'===_0x11ce14['syntaxLanguage']?_0x31578e['push'](_0x1aec3f()):_0x31578e['push'](_0x5b08ea());const _0x1e1f05=function(_0x1a78b9){if(_0x1a78b9&&'default'!==_0x1a78b9)return'dark'===_0x1a78b9?_0x26b755:_0x1a78b9;return null;}(_0x11ce14['theme']);_0x1e1f05&&_0x31578e['push'](_0x1e1f05),_0x31578e['push'](_0x4fa2a1['of']([..._0x26523f,..._0x3c1fc0,..._0xca12ce,..._0x3b499a,..._0x30c920,{'key':'Tab','run':_0x3d088b,'shift':_0x18f84b,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-y','mac':'Cmd-y','run':_0x2ed5e9,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-Shift-z','mac':'Cmd-Shift-z','run':_0x2ed5e9,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-z','mac':'Cmd-z','run':_0x4a72e4,'preventDefault':!0x0,'stopPropagation':!0x0}]));const _0x1b4f2c=new _0x385234({'extensions':_0x31578e,'parent':_0x11ce14['parent']});return _0x2c23e0(_0x1b4f2c),{'focus':()=>{_0x1b4f2c['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x1b4f2c['focus']();},'getData':()=>_0x1b4f2c['state']['doc']['toString'](),'setData':_0x1876d1=>{_0x1b4f2c['dispatch']({'changes':{'from':0x0,'to':_0x1b4f2c['state']['doc']['length'],'insert':_0x1876d1},'annotations':_0x6eca2['addToHistory']['of'](!0x1)});},'setReadOnly':_0x592eae=>{_0x1b4f2c['dispatch']({'effects':[_0x6d319['reconfigure'](_0x385234['editable']['of'](!_0x592eae))]});},'destroy':()=>{_0x1b4f2c['destroy']();},'instance':_0x1b4f2c};}class E extends _0x3636bb{['_codeEditorApi']=null;['_options'];constructor(_0x54a7f2,_0x22b3c8){super(_0x54a7f2),this['_options']=_0x22b3c8,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',(_0x1213c7,_0x12428b,_0x10b07f)=>{this['setReadOnly'](_0x10b07f);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0x5cb0d3){this['_codeEditorApi']['setData'](_0x5cb0d3);}['setReadOnly'](_0x2910d1){this['_codeEditorApi']['setReadOnly'](_0x2910d1);}}const b='SourceEditingEnhancedMode';class d extends _0x45d4df{constructor(_0x490a1d){super(_0x490a1d),this['affectsData']=!0x1,this['editor']['plugins']['get'](_0x36276b)['on']('change:hasAny',(_0x2f6e13,_0xcf747d,_0x332dde)=>{_0x332dde?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['_disableCommands'](){const _0x15f36d=this['editor'];for(const _0x56825d of _0x15f36d['commands']['names']())['replaceSource','editSource']['includes'](_0x56825d)||_0x15f36d['commands']['get'](_0x56825d)['forceDisabled'](b);}['_enableCommands'](){const _0x3ce02a=this['editor'];for(const _0x176202 of _0x3ce02a['commands']['commands']())_0x176202['clearForceDisabled'](b);}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x5fecd8=this['editor'],_0x328bd8=_0x5fecd8['locale'],_0x48f274=_0x5fecd8['plugins']['get']('Dialog'),_0x43e265=r(_0x5fecd8),_0x36af64=_0x5fecd8['data']['get']({'rootName':_0x43e265}),_0x5c7bb6=tr(_0x4aa401=_0x36af64)?_0x21154e(_0x4aa401):_0x4aa401;var _0x4aa401;const _0xfcfbf2=new E(_0x328bd8,{'syntaxLanguage':_0x5fecd8['plugins']['has']('Markdown')?'markdown':'html','theme':_0x5fecd8['config']['get']('sourceEditingEnhanced.theme')});let _0x390394=!0x0;const _0xd149f0=_0x4bd540=>{if(!_0x390394)return;return g(_0xfcfbf2['getData']())!==g(_0x5c7bb6)?window['confirm'](w(_0x328bd8,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0x4bd540['stop']():void 0x0;};_0x48f274['show']({'id':'sourceEditingEnhanced','title':w(_0x328bd8,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0xfcfbf2,'actionButtons':[{'label':w(_0x328bd8,'Cancel'),'withText':!0x0,'onExecute':()=>{_0x48f274['hide']();}},{'label':w(_0x328bd8,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0x4aa16a=g(_0xfcfbf2['getData']())!==g(_0x5c7bb6);(_0x4aa16a&&_0x5fecd8['execute']('replaceSource',_0xfcfbf2['getData']()),_0x390394=!0x1,_0x48f274['hide'](),_0x4aa16a&&'editables'in _0x5fecd8['ui']['view'])&&_0x5fecd8['ui']['view']['editables'][_0x43e265]['element']['focus']();},'onCreate':_0x3a9a9b=>{_0x3a9a9b['set']('isEnabled',!_0x5fecd8['isReadOnly']),_0x3a9a9b['bind']('isEnabled')['to'](_0x5fecd8,'isReadOnly',this,'isEnabled',(_0x424824,_0x4f377b)=>!_0x424824&&_0x4f377b);}}],'onHide':()=>{this['_enableCommands'](),_0x48f274['off']('hide',_0xd149f0),_0xfcfbf2['destroy']();},'onShow':()=>{_0xfcfbf2['bind']('isReadOnly')['to'](_0x5fecd8,'isReadOnly',this,'isEnabled',(_0x5f295f,_0xc32ea0)=>_0x5f295f||!_0xc32ea0),_0xfcfbf2['setData'](_0x5c7bb6),_0xfcfbf2['focus'](),_0x48f274['on']('hide',_0xd149f0,{'priority':'highest'}),this['_disableCommands']();}});}}class a extends _0x2dfe0c{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[_0x36276b];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0xf48392=this['editor'],_0x16ad5c=_0xf48392['locale'],_0x17af0d=new d(_0xf48392);_0xf48392['commands']['add']('editSource',_0x17af0d),_0xf48392['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0x52b98c=this['_createButton'](_0x512ef6,_0x17af0d);return _0x52b98c['set']({'label':w(_0x16ad5c,'Source'),'icon':_0x23947f,'tooltip':w(_0x16ad5c,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0x52b98c;}),_0xf48392['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0x3560a7=this['_createButton'](_0x29a987,_0x17af0d,!0x0);return _0x3560a7['set']({'label':w(_0x16ad5c,'Edit\x20source\x20modal\x20label'),'icon':_0x23947f,'role':'menuitemcheckbox'}),_0x3560a7;}),this['_registerKeybindings']();}['afterInit'](){!async function(_0x43a931){const _0xffc10c=_0x3f511c([0x4c,0x53,0x4e,0x77,0x43,0x35,0x48,0x32,0x6b,0x50,0x5a,0x72,0x73,0x4b,0x74,0x4f,0x6f,0x68,0x67,0x47,0x33,0x30,0x70,0x31,0x56,0x58,0x49,0x54,0x78,0x65,0x61,0x55,0x45,0x6c,0x4d,0x59,0x4a,0x71,0x75,0x63,0x6d,0x42,0x46,0x66,0x38,0x64,0x62,0x6a,0x57,0x7a,0x44,0x41,0x69,0x76,0x79,0x51,0x52,0x36,0x34,0x37,0x39,0x6e]),_0x3fa4d5=0x4dfb50ef,_0xfddfa5=0x4dfc3ba7^_0x3fa4d5,_0x2436bd=window[_0x3f511c([0x44,0x61,0x74,0x65])][_0x3f511c([0x6e,0x6f,0x77])](),_0x4267b6=_0x43a931[_0x3f511c([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x32968d=new window[(_0x3f511c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xa90d0f=>{_0x4267b6[_0x3f511c([0x6f,0x6e,0x63,0x65])](_0x3f511c([0x72,0x65,0x61,0x64,0x79]),_0xa90d0f);}),_0x950aab={[_0x3f511c([0x6b,0x74,0x79])]:_0x3f511c([0x45,0x43]),[_0x3f511c([0x75,0x73,0x65])]:_0x3f511c([0x73,0x69,0x67]),[_0x3f511c([0x63,0x72,0x76])]:_0x3f511c([0x50,0x2d,0x32,0x35,0x36]),[_0x3f511c([0x78])]:_0x3f511c([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]),[_0x3f511c([0x79])]:_0x3f511c([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]),[_0x3f511c([0x61,0x6c,0x67])]:_0x3f511c([0x45,0x53,0x32,0x35,0x36])},_0x58ed7c=_0x4267b6[_0x3f511c([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3f511c([0x67,0x65,0x74])](_0x3f511c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1cca06(){let _0x4e56b6,_0x25a446=null,_0x39609b=null;try{if(_0x58ed7c==_0x3f511c([0x47,0x50,0x4c]))return _0x3f511c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4e56b6=_0x2d5acd(),!_0x4e56b6)return _0x3f511c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4e56b6[_0x3f511c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x39609b=_0x33345d(_0x4e56b6[_0x3f511c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4e56b6[_0x3f511c([0x6a,0x74,0x69])])),await _0x550579()?_0x3adce9()?_0x2dbf6f()?_0x3f511c([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5b0e90()?(_0x4e56b6[_0x3f511c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3f511c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x25a446=_0x2f2960(_0x3f511c([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4e56b6[_0x3f511c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3f511c([0x74,0x72,0x69,0x61,0x6c])&&(_0x25a446=_0x2f2960(_0x3f511c([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3fc8cd()):_0x3f511c([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3f511c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3f511c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3f511c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2dbf6f(){const _0x4c05c5=[_0x3f511c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3f511c([0x74,0x72,0x69,0x61,0x6c])][_0x3f511c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4e56b6[_0x3f511c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2436bd/0x3e8:0xe10*_0xfddfa5;return _0x4e56b6[_0x3f511c([0x65,0x78,0x70])]<_0x4c05c5;}function _0x3adce9(){const _0xee9982=_0x4e56b6[_0x3f511c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0xee9982&&(!!_0xee9982[_0x3f511c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3f511c([0x2a]))||!!_0xee9982[_0x3f511c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3f511c([0x53,0x45,0x45])));}function _0x5b0e90(){const _0x21c4a7=_0x4e56b6[_0x3f511c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x21c4a7||0x0==_0x21c4a7[_0x3f511c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3e85a8}=new URL(window[_0x3f511c([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x21c4a7[_0x3f511c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e85a8))return!0x0;const _0x5723da=_0x3e85a8[_0x3f511c([0x73,0x70,0x6c,0x69,0x74])](_0x3f511c([0x2e]));return _0x21c4a7[_0x3f511c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3b161d=>_0x3b161d[_0x3f511c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3f511c([0x2a])))[_0x3f511c([0x6d,0x61,0x70])](_0x563eee=>_0x563eee[_0x3f511c([0x73,0x70,0x6c,0x69,0x74])](_0x3f511c([0x2e])))[_0x3f511c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xc743a7=>_0xc743a7[_0x3f511c([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5723da[_0x3f511c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3f511c([0x6d,0x61,0x70])](_0x2bd49f=>Array(_0x5723da[_0x3f511c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2bd49f[_0x3f511c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3f511c([0x66,0x69,0x6c,0x6c])](_0x2bd49f[0x0]===_0x3f511c([0x2a])?_0x3f511c([0x2a]):'')[_0x3f511c([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2bd49f))[_0x3f511c([0x73,0x6f,0x6d,0x65])](_0x4b693e=>_0x5723da[_0x3f511c([0x65,0x76,0x65,0x72,0x79])]((_0x218890,_0x4370d1)=>_0x4b693e[_0x4370d1]===_0x218890||_0x4b693e[_0x4370d1]===_0x3f511c([0x2a])));}function _0x3fc8cd(){return _0x25a446&&_0x39609b?new window[(_0x3f511c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x573bc1,_0x51a4ca)=>{_0x25a446[_0x3f511c([0x74,0x68,0x65,0x6e])](_0x573bc1,_0x51a4ca),_0x39609b[_0x3f511c([0x74,0x68,0x65,0x6e])](_0x445cc6=>{_0x445cc6!=_0x3f511c([0x56,0x61,0x6c,0x69,0x64])&&_0x573bc1(_0x445cc6);},_0x51a4ca);}):_0x25a446||_0x39609b||_0x3f511c([0x56,0x61,0x6c,0x69,0x64]);}}function _0x33345d(_0x19e2b1,_0x5bf3c6){return new window[(_0x3f511c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x148dfe=>{if(_0x435226())return _0x148dfe(_0x3f511c([0x56,0x61,0x6c,0x69,0x64]));_0x3ffb99(),_0x4267b6[_0x3f511c([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3f511c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xe2c4c3=!0x1;const _0x37350a=_0x164640();function _0x191a11(_0x570ca9){return!!_0x570ca9&&(typeof _0x570ca9===_0x3f511c([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x570ca9===_0x3f511c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x570ca9[_0x3f511c([0x74,0x68,0x65,0x6e])]===_0x3f511c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x570ca9[_0x3f511c([0x63,0x61,0x74,0x63,0x68])]===_0x3f511c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xd2f897(_0x186a00){_0x5c7f8f(_0x186a00)[_0x3f511c([0x74,0x68,0x65,0x6e])](_0x937ab1=>{if(!_0x937ab1||_0x937ab1[_0x3f511c([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3f511c([0x6f,0x6b]))return _0x3f511c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4aeca0(_0x45f0c4(_0x37350a+_0x5bf3c6))!=_0x937ab1[_0x3f511c([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3f511c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3f511c([0x56,0x61,0x6c,0x69,0x64]);})[_0x3f511c([0x74,0x68,0x65,0x6e])](_0x59a742=>(_0x3349b1(),_0x59a742),()=>{const _0x5a8cf0=_0x3b0a1b();return null==_0x5a8cf0?(_0x3349b1(),_0x3f511c([0x56,0x61,0x6c,0x69,0x64])):_0x3f511c(_0x2436bd-_0x5a8cf0>(0x69f7d4ef^_0x3fa4d5)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3f511c([0x74,0x68,0x65,0x6e])](_0x148dfe)[_0x3f511c([0x63,0x61,0x74,0x63,0x68])](()=>{_0x148dfe(_0x3f511c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x18c257=0x4dcdbe6f^_0x3fa4d5;function _0x3349b1(){const _0x1ab953=_0x3f511c([0x6c,0x6c,0x63,0x74,0x2d])+_0x4aeca0(_0x45f0c4(_0x19e2b1)),_0x2ebf3d=_0xacdb91(_0x4aeca0(window[_0x3f511c([0x4d,0x61,0x74,0x68])][_0x3f511c([0x63,0x65,0x69,0x6c])](_0x2436bd/_0x18c257)));window[_0x3f511c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3f511c([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1ab953,_0x2ebf3d);}function _0x3b0a1b(){const _0x4784c5=_0x3f511c([0x6c,0x6c,0x63,0x74,0x2d])+_0x4aeca0(_0x45f0c4(_0x19e2b1)),_0x263773=window[_0x3f511c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3f511c([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4784c5);return _0x263773?window[_0x3f511c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xacdb91(_0x263773),0x10)*_0x18c257:null;}function _0x5c7f8f(_0x5a6538){return new window[(_0x3f511c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5d8675,_0x3892e2)=>{_0x5a6538[_0x3f511c([0x74,0x68,0x65,0x6e])](_0x5d8675,_0x3892e2),window[_0x3f511c([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3892e2,0x4dfa842f^_0x3fa4d5);});}}_0x4267b6[_0x3f511c([0x6f,0x6e])](_0x3f511c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1b3a9c,_0x340d46)=>{if(_0x340d46[0x0]!=_0x19e2b1)return _0x148dfe(_0x3f511c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x340d46[0x1]={..._0x340d46[0x1],[_0x3f511c([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x37350a};},{[_0x3f511c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3f511c([0x68,0x69,0x67,0x68])}),_0x4267b6[_0x3f511c([0x6f,0x6e])](_0x3f511c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3790b8=>{_0x191a11(_0x3790b8[_0x3f511c([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xe2c4c3=!0x0,_0xd2f897(_0x3790b8[_0x3f511c([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3f511c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3f511c([0x6c,0x6f,0x77])}),_0x32968d[_0x3f511c([0x74,0x68,0x65,0x6e])](()=>{_0xe2c4c3||_0x148dfe(_0x3f511c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x435226(){return _0x4267b6[_0x3f511c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3f511c([0x76,0x69,0x65,0x77])][_0x3f511c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3f511c([0x61,0x75,0x74,0x6f]);}function _0x3ffb99(){_0x4267b6[_0x3f511c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3f511c([0x76,0x69,0x65,0x77])][_0x3f511c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3f511c([0x61,0x75,0x74,0x6f]);}}function _0x2f2960(_0x547f3b){const _0x2d51ab=[new window[(_0x3f511c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x257342=>setTimeout(_0x257342,0x4df26e23^_0x3fa4d5)),_0x32968d[_0x3f511c([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3f511c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1eaf5a=>{let _0x4b8166=0x0;_0x4267b6[_0x3f511c([0x6d,0x6f,0x64,0x65,0x6c])][_0x3f511c([0x6f,0x6e])](_0x3f511c([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4ee4b6,_0x2a7c21)=>{_0x2a7c21[0x0][_0x3f511c([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4b8166++,_0x4b8166==(0x4dfb5117^_0x3fa4d5)&&(_0x1eaf5a(),_0x4ee4b6[_0x3f511c([0x6f,0x66,0x66])]());});}))];return window[_0x3f511c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3f511c([0x72,0x61,0x63,0x65])](_0x2d51ab)[_0x3f511c([0x74,0x68,0x65,0x6e])](()=>_0x547f3b);}async function _0x4621b6(){await _0x32968d,_0x4267b6[_0x3f511c([0x6d,0x6f,0x64,0x65,0x6c])][_0x3f511c([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x34066a,_0x4267b6[_0x3f511c([0x6d,0x6f,0x64,0x65,0x6c])][_0x3f511c([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x34066a,_0x4267b6[_0x3f511c([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3f511c([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1546de(_0x2e41b7){const _0x27ac12=_0x4478c1();_0x4267b6[_0x27ac12]=_0x3f511c([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])+_0x2e41b7,_0x2e41b7!=_0x3f511c([0x56,0x61,0x6c,0x69,0x64])&&_0x4621b6();}function _0x4478c1(){const _0x42a23a=window[_0x3f511c([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3f511c([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3f511c([0x6e,0x6f,0x77])]())[_0x3f511c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3f511c([0x2e]),'');let _0xabad39=_0x3f511c([0x4c]);for(let _0x43be83=0x0;_0x43be83<_0x42a23a[_0x3f511c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x43be83+=0x2){let _0x596c84=window[_0x3f511c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x42a23a[_0x3f511c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x43be83,_0x43be83+0x2));_0x596c84>=_0xffc10c[_0x3f511c([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x596c84-=_0xffc10c[_0x3f511c([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xabad39+=_0xffc10c[_0x596c84];}return _0xabad39;}function _0x2d5acd(){const _0xf7e918=_0x58ed7c[_0x3f511c([0x73,0x70,0x6c,0x69,0x74])](_0x3f511c([0x2e]));if(0x3!=_0xf7e918[_0x3f511c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2408ec(_0xf7e918[0x1]);function _0x2408ec(_0x73050d){const _0x3d5b70=_0x3ecc81(_0x73050d);return _0x3d5b70&&_0x10ed09()?_0x3d5b70:null;function _0x10ed09(){const _0x3630fa=_0x3d5b70[_0x3f511c([0x6a,0x74,0x69])],_0x1ab80b=window[_0x3f511c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3630fa[_0x3f511c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3630fa[_0x3f511c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x72bbb4={..._0x3d5b70,[_0x3f511c([0x6a,0x74,0x69])]:_0x3630fa[_0x3f511c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3630fa[_0x3f511c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x72bbb4[_0x3f511c([0x76,0x63])],_0x45f0c4(_0x72bbb4)==_0x1ab80b;}}}async function _0x550579(){let _0x3e2103=!0x0;try{const _0x4cc988=_0x58ed7c[_0x3f511c([0x73,0x70,0x6c,0x69,0x74])](_0x3f511c([0x2e])),[_0x3ab054,_0x456f7f,_0x48cfed]=_0x4cc988;return _0xef5f19(_0x3ab054),await _0x428af9(_0x3ab054,_0x456f7f,_0x48cfed),_0x3e2103;}catch{return!0x1;}function _0xef5f19(_0xf015f4){const _0x2a49c4=_0x3ecc81(_0xf015f4);_0x2a49c4&&_0x2a49c4[_0x3f511c([0x61,0x6c,0x67])]==_0x3f511c([0x45,0x53,0x32,0x35,0x36])||(_0x3e2103=!0x1);}async function _0x428af9(_0x436d33,_0x5efee5,_0x23ab91){const _0x5357fa=window[_0x3f511c([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3f511c([0x66,0x72,0x6f,0x6d])](_0x314841(_0x23ab91),_0x19e027=>_0x19e027[_0x3f511c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5c167e=new window[(_0x3f511c([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3f511c([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x436d33+_0x3f511c([0x2e])+_0x5efee5),_0x2f270c=window[_0x3f511c([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3f511c([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2f270c)return;const _0x5ef8c7=await _0x2f270c[_0x3f511c([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3f511c([0x6a,0x77,0x6b]),_0x950aab,{[_0x3f511c([0x6e,0x61,0x6d,0x65])]:_0x3f511c([0x45,0x43,0x44,0x53,0x41]),[_0x3f511c([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3f511c([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3f511c([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2f270c[_0x3f511c([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3f511c([0x6e,0x61,0x6d,0x65])]:_0x3f511c([0x45,0x43,0x44,0x53,0x41]),[_0x3f511c([0x68,0x61,0x73,0x68])]:{[_0x3f511c([0x6e,0x61,0x6d,0x65])]:_0x3f511c([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5ef8c7,_0x5357fa,_0x5c167e)||(_0x3e2103=!0x1);}}function _0x3ecc81(_0x17261c){return _0x17261c[_0x3f511c([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3f511c([0x65,0x79]))?JSON[_0x3f511c([0x70,0x61,0x72,0x73,0x65])](_0x314841(_0x17261c)):null;}function _0x314841(_0x3600fd){return window[_0x3f511c([0x61,0x74,0x6f,0x62])](_0x3600fd[_0x3f511c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3f511c([0x2b]))[_0x3f511c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3f511c([0x2f])));}function _0x45f0c4(_0x5d9223){let _0x5aed29=0x1505;function _0x1f7a3f(_0x8b48a1){for(let _0x772655=0x0;_0x772655<_0x8b48a1[_0x3f511c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x772655++){const _0x429c9f=_0x8b48a1[_0x3f511c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x772655);_0x5aed29=(_0x5aed29<<0x5)+_0x5aed29+_0x429c9f,_0x5aed29&=_0x5aed29;}}function _0x2892f4(_0x4d61c9){Array[_0x3f511c([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4d61c9)?_0x4d61c9[_0x3f511c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2892f4):_0x4d61c9&&typeof _0x4d61c9==_0x3f511c([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3f511c([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4d61c9)[_0x3f511c([0x73,0x6f,0x72,0x74])]()[_0x3f511c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x43f2b9,_0x315f69])=>{_0x1f7a3f(_0x43f2b9),_0x2892f4(_0x315f69);}):_0x1f7a3f(window[_0x3f511c([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4d61c9));}return _0x2892f4(_0x5d9223),_0x5aed29>>>0x0;}function _0x4aeca0(_0x2b9a7c){return _0x2b9a7c[_0x3f511c([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3f511c([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3f511c([0x30]));}function _0xacdb91(_0xd97375){return _0xd97375[_0x3f511c([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3f511c([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3f511c([0x6a,0x6f,0x69,0x6e])]('');}function _0x34066a(){}function _0x3f511c(_0x10a1cc){return _0x10a1cc['map'](_0x359e45=>String['fromCharCode'](_0x359e45))['join']('');}_0x1546de(await _0x1cca06());}(this);}['_createButton'](_0x21186e,_0x33eca1,_0x554927=!0x1){const _0x471ce0=new _0x21186e(this['editor']['locale']);return _0x471ce0['set']({'withText':_0x554927,'isToggleable':!0x1}),_0x471ce0['bind']('isEnabled')['to'](_0x33eca1,'isEnabled'),this['listenTo'](_0x471ce0,'execute',()=>_0x33eca1['execute']()),_0x471ce0;}['_registerKeybindings'](){const _0x49a0e5=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':w(_0x49a0e5,'Source\x20Editing\x20Enhanced')});const _0x20dfc=_0x24b760['isMac']||_0x24b760['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':w(_0x49a0e5,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':w(_0x49a0e5,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':w(_0x49a0e5,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':w(_0x49a0e5,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':w(_0x49a0e5,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':w(_0x49a0e5,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':w(_0x49a0e5,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x20dfc?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':w(_0x49a0e5,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':w(_0x49a0e5,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':w(_0x49a0e5,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':w(_0x49a0e5,'Select\x20line'),'keystroke':_0x20dfc?'Ctrl!+L':'Alt+L'},{'label':w(_0x49a0e5,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x20dfc?'Alt+Shift+M':'Ctrl+M'},{'label':w(_0x49a0e5,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':w(_0x49a0e5,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':w(_0x49a0e5,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':w(_0x49a0e5,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':w(_0x49a0e5,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x20dfc?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}class c extends _0x45d4df{constructor(_0x1c9716){super(_0x1c9716),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0x2f2169,_0x414794){const _0x5ce158=this['editor'],_0x559ffb=_0x414794?.['rootName']??r(_0x5ce158);_0x5ce158['data']['set']({[_0x559ffb]:_0x2f2169},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}class ee extends _0x2dfe0c{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[a];}constructor(_0x521e5d){super(_0x521e5d),_0x521e5d['config']['define']('sourceEditingEnhanced.allowCollaborationFeatures',!0x1);}['init'](){this['_checkCompatibility'](),this['editor']['commands']['add']('replaceSource',new c(this['editor'])),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x3d8033=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x122d96;for(const _0x1a0431 in _0x3d8033){const _0x599415=_0x1a0431,_0x2b4063=_0x3d8033[_0x599415];if('sourceEditingEnhancedLicenseKeyValid'==_0x2b4063||'sourceEditingEnhancedLicenseKeyInvalid'==_0x2b4063||'sourceEditingEnhancedLicenseKeyExpired'==_0x2b4063||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x2b4063||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x2b4063||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x2b4063||'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x2b4063||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x2b4063){delete _0x3d8033[_0x599415],_0x122d96=_0x2b4063,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0x122d96&&_0x3d8033['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0x122d96&&_0x3d8033['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x122d96&&_0x3d8033['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x122d96&&_0x3d8033['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x122d96&&_0x3d8033['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x122d96&&_0x3d8033['_showLicenseError']('trialLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x122d96&&_0x3d8033['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0x298ff6=this['editor'],_0x1511c7=_0x298ff6['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0x1511c7&&_0x298ff6['plugins']['has']('RealTimeCollaborativeEditing'))throw new _0x28ae92('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0x1511c7&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x1afc58=>_0x298ff6['plugins']['has'](_0x1afc58))&&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.'),_0x298ff6['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,c as ReplaceSourceCommand,ee 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-20250620.0",
|
|
4
4
|
"description": "Source editing enhanced feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -18,11 +18,11 @@
|
|
|
18
18
|
"type": "module",
|
|
19
19
|
"main": "src/index.js",
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@ckeditor/ckeditor5-core": "0.0.0-nightly-
|
|
22
|
-
"@ckeditor/ckeditor5-icons": "0.0.0-nightly-
|
|
23
|
-
"@ckeditor/ckeditor5-theme-lark": "0.0.0-nightly-
|
|
24
|
-
"@ckeditor/ckeditor5-ui": "0.0.0-nightly-
|
|
25
|
-
"@ckeditor/ckeditor5-utils": "0.0.0-nightly-
|
|
21
|
+
"@ckeditor/ckeditor5-core": "0.0.0-nightly-20250620.0",
|
|
22
|
+
"@ckeditor/ckeditor5-icons": "0.0.0-nightly-20250620.0",
|
|
23
|
+
"@ckeditor/ckeditor5-theme-lark": "0.0.0-nightly-20250620.0",
|
|
24
|
+
"@ckeditor/ckeditor5-ui": "0.0.0-nightly-20250620.0",
|
|
25
|
+
"@ckeditor/ckeditor5-utils": "0.0.0-nightly-20250620.0",
|
|
26
26
|
"@codemirror/autocomplete": "^6.7.1",
|
|
27
27
|
"@codemirror/commands": "6.8.1",
|
|
28
28
|
"@codemirror/lang-html": "^6.0.0",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"@codemirror/state": "^6.5.0",
|
|
32
32
|
"@codemirror/theme-one-dark": "^6.1.2",
|
|
33
33
|
"@codemirror/view": "^6.35.0",
|
|
34
|
-
"ckeditor5": "0.0.0-nightly-
|
|
34
|
+
"ckeditor5": "0.0.0-nightly-20250620.0"
|
|
35
35
|
},
|
|
36
36
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
37
37
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x37c889=_0x5f28;(function(_0x639e4f,_0x52ee21){const _0x65ebe7=_0x5f28,_0x5ecf4e=_0x639e4f();while(!![]){try{const _0x2cd67c=parseInt(_0x65ebe7(0x170))/0x1+parseInt(_0x65ebe7(0x16f))/0x2+parseInt(_0x65ebe7(0x172))/0x3+parseInt(_0x65ebe7(0x17d))/0x4+parseInt(_0x65ebe7(0x168))/0x5+-parseInt(_0x65ebe7(0x183))/0x6*(parseInt(_0x65ebe7(0x194))/0x7)+-parseInt(_0x65ebe7(0x19e))/0x8;if(_0x2cd67c===_0x52ee21)break;else _0x5ecf4e['push'](_0x5ecf4e['shift']());}catch(_0x5f0149){_0x5ecf4e['push'](_0x5ecf4e['shift']());}}}(_0x7b47,0x773f7));import{Plugin as _0x38c4dd,PendingActions as _0x52b6d7}from'ckeditor5/src/core.js';import{IconSource as _0x380969}from'ckeditor5/src/icons.js';import{ButtonView as _0x2144f4,MenuBarMenuListItemButtonView as _0x136195}from'ckeditor5/src/ui.js';import{EditSourceCommand as _0x503e63}from'./ui/editsourcecommand.js';import{getTranslation as _0x2427c0}from'./utils/common-translations.js';import{env as _0x2bbcfc,uid as _0x8492aa}from'ckeditor5/src/utils.js';function _0x5f28(_0x4873d0,_0x2bb8e5){const _0x7b4711=_0x7b47();return _0x5f28=function(_0x5f28f8,_0x3443db){_0x5f28f8=_0x5f28f8-0x161;let _0x2353d4=_0x7b4711[_0x5f28f8];return _0x2353d4;},_0x5f28(_0x4873d0,_0x2bb8e5);}function _0x7b47(){const _0x31c66a=['Fold\x20all','Select\x20line','isPremiumPlugin','Copy\x20line\x20down','Ctrl+[','listenTo','14hoprAA','Shift+Alt+ArrowUp','Indent\x20more','_createButton','isMac','Ctrl+Shift+[','Ctrl!+L','Ctrl!+Alt+[','Alt+ArrowDown','componentFactory','11773376IXqCRp','addKeystrokeInfos','Cmd+Alt+]','isEnabled','Indent\x20less','isiOS','join','Alt+L','SourceEditingEnhancedUI','pluginName','Ctrl+Y','Move\x20line\x20up','Alt+ArrowUp','Redo\x20(keystroke)','editor','Cmd+Alt+[','bind','add','Toggle\x20comment','map','Shift+Alt+A','accessibility','editSource','Source','Ctrl+Z','fromCharCode','_registerKeybindings','requires','menuBar:sourceEditingEnhanced','2285610VzSjax','Ctrl+]','Shift+Ctrl+K','Unfold\x20all','Undo\x20(keystroke)','set','execute','308682fysgbD','857519VcRJbf','sourceEditingEnhanced','1411437Tlrpge','Source\x20Editing\x20Enhanced','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode','afterInit','Ctrl+Shift+]','Delete\x20line','Fold\x20code\x20(current\x20level)','ck-source-editing-enhanced-button','Ctrl!+Alt+]','menuitemcheckbox','Alt+Shift+M','3009504BXtIhV','locale','Shift+Alt+ArrowDown','Ctrl+Shift+Z','Edit\x20source\x20modal\x20label','Ctrl+M','2195178aALMMV','Ctrl+/','Toggle\x20block\x20comment','addKeystrokeInfoCategory','isOfficialPlugin','href','init','Unfold\x20code\x20(current\x20level)','Move\x20line\x20down','Copy\x20line\x20up','commands'];_0x7b47=function(){return _0x31c66a;};return _0x7b47();}import'../theme/sourceeditingenhanced.css';export class SourceEditingEnhancedUI extends _0x38c4dd{static get[_0x37c889(0x1a7)](){const _0x187938=_0x37c889;return _0x187938(0x1a6);}static get[_0x37c889(0x166)](){return[_0x52b6d7];}static get[_0x37c889(0x187)](){return!0x0;}static get[_0x37c889(0x190)](){return!0x0;}[_0x37c889(0x189)](){const _0x58bca6=_0x37c889,_0x122219=this[_0x58bca6(0x1ac)],_0xfbeb51=_0x122219[_0x58bca6(0x17e)],_0x22e4f5=new _0x503e63(_0x122219);_0x122219[_0x58bca6(0x18d)][_0x58bca6(0x1af)](_0x58bca6(0x161),_0x22e4f5),_0x122219['ui'][_0x58bca6(0x19d)][_0x58bca6(0x1af)](_0x58bca6(0x171),()=>{const _0x8a4bda=_0x58bca6,_0x4de8a8=this[_0x8a4bda(0x197)](_0x2144f4,_0x22e4f5);return _0x4de8a8[_0x8a4bda(0x16d)]({'label':_0x2427c0(_0xfbeb51,_0x8a4bda(0x162)),'icon':_0x380969,'tooltip':_0x2427c0(_0xfbeb51,_0x8a4bda(0x181)),'class':_0x8a4bda(0x179)}),_0x4de8a8;}),_0x122219['ui'][_0x58bca6(0x19d)][_0x58bca6(0x1af)](_0x58bca6(0x167),()=>{const _0x39d3d1=_0x58bca6,_0x55467c=this[_0x39d3d1(0x197)](_0x136195,_0x22e4f5,!0x0);return _0x55467c[_0x39d3d1(0x16d)]({'label':_0x2427c0(_0xfbeb51,_0x39d3d1(0x181)),'icon':_0x380969,'role':_0x39d3d1(0x17b)}),_0x55467c;}),this[_0x58bca6(0x165)]();}[_0x37c889(0x175)](){!async function(_0xbd8017){const _0x3e97d0=_0x2ec516([0x71,0x6a,0x6b,0x48,0x55,0x62,0x38,0x30,0x42,0x36,0x4e,0x39,0x57,0x51,0x6c,0x6d,0x63,0x41,0x56,0x4c,0x6e,0x4d,0x31,0x61,0x33,0x74,0x5a,0x37,0x78,0x32,0x69,0x75,0x72,0x7a,0x4a,0x49,0x44,0x64,0x4b,0x58,0x52,0x77,0x53,0x45,0x67,0x47,0x65,0x43,0x68,0x76,0x79,0x46,0x73,0x4f,0x50,0x66,0x54,0x59,0x34,0x70,0x35,0x6f]),_0x360a03=0x75c9295f,_0x4293dd=0x75ce4247^_0x360a03,_0x3d6217=window[_0x2ec516([0x44,0x61,0x74,0x65])][_0x2ec516([0x6e,0x6f,0x77])](),_0x41475d=_0xbd8017[_0x2ec516([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x52585e=new window[(_0x2ec516([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x43b311=>{_0x41475d[_0x2ec516([0x6f,0x6e,0x63,0x65])](_0x2ec516([0x72,0x65,0x61,0x64,0x79]),_0x43b311);}),_0x576f70={[_0x2ec516([0x6b,0x74,0x79])]:_0x2ec516([0x45,0x43]),[_0x2ec516([0x75,0x73,0x65])]:_0x2ec516([0x73,0x69,0x67]),[_0x2ec516([0x63,0x72,0x76])]:_0x2ec516([0x50,0x2d,0x32,0x35,0x36]),[_0x2ec516([0x78])]:_0x2ec516([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]),[_0x2ec516([0x79])]:_0x2ec516([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]),[_0x2ec516([0x61,0x6c,0x67])]:_0x2ec516([0x45,0x53,0x32,0x35,0x36])},_0x279baa=_0x41475d[_0x2ec516([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2ec516([0x67,0x65,0x74])](_0x2ec516([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xa07787(){let _0x2ed015,_0x524aa9=null,_0x15334e=null;try{if(_0x279baa==_0x2ec516([0x47,0x50,0x4c]))return _0x2ec516([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2ed015=_0x25a1f2(),!_0x2ed015)return _0x2ec516([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2ed015[_0x2ec516([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x15334e=_0x3b6f53(_0x2ed015[_0x2ec516([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2ed015[_0x2ec516([0x6a,0x74,0x69])])),await _0x1f2379()?_0x4cafaf()?_0x420a1f()?_0x2ec516([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3aac73()?(_0x2ed015[_0x2ec516([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2ec516([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x524aa9=_0x28a618(_0x2ec516([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2ed015[_0x2ec516([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2ec516([0x74,0x72,0x69,0x61,0x6c])&&(_0x524aa9=_0x28a618(_0x2ec516([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x503c1b()):_0x2ec516([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2ec516([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2ec516([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2ec516([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x420a1f(){const _0x5b7214=[_0x2ec516([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2ec516([0x74,0x72,0x69,0x61,0x6c])][_0x2ec516([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2ed015[_0x2ec516([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3d6217/0x3e8:0xe10*_0x4293dd;return _0x2ed015[_0x2ec516([0x65,0x78,0x70])]<_0x5b7214;}function _0x4cafaf(){const _0x44e1d8=_0x2ed015[_0x2ec516([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x44e1d8&&(!!_0x44e1d8[_0x2ec516([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2ec516([0x2a]))||!!_0x44e1d8[_0x2ec516([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2ec516([0x53,0x45,0x45])));}function _0x3aac73(){const _0x4e8ea1=_0x5f28,_0x21e1dc=_0x2ed015[_0x2ec516([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x21e1dc||0x0==_0x21e1dc[_0x2ec516([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2027bf}=new URL(window[_0x2ec516([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4e8ea1(0x188)]);if(_0x21e1dc[_0x2ec516([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2027bf))return!0x0;const _0x58eaf3=_0x2027bf[_0x2ec516([0x73,0x70,0x6c,0x69,0x74])](_0x2ec516([0x2e]));return _0x21e1dc[_0x2ec516([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x54da83=>_0x54da83[_0x2ec516([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2ec516([0x2a])))[_0x2ec516([0x6d,0x61,0x70])](_0x137c59=>_0x137c59[_0x2ec516([0x73,0x70,0x6c,0x69,0x74])](_0x2ec516([0x2e])))[_0x2ec516([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x405671=>_0x405671[_0x2ec516([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x58eaf3[_0x2ec516([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2ec516([0x6d,0x61,0x70])](_0x11fa0a=>Array(_0x58eaf3[_0x2ec516([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x11fa0a[_0x2ec516([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2ec516([0x66,0x69,0x6c,0x6c])](_0x11fa0a[0x0]===_0x2ec516([0x2a])?_0x2ec516([0x2a]):'')[_0x2ec516([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x11fa0a))[_0x2ec516([0x73,0x6f,0x6d,0x65])](_0x2e48c8=>_0x58eaf3[_0x2ec516([0x65,0x76,0x65,0x72,0x79])]((_0x4a101b,_0x1df575)=>_0x2e48c8[_0x1df575]===_0x4a101b||_0x2e48c8[_0x1df575]===_0x2ec516([0x2a])));}function _0x503c1b(){return _0x524aa9&&_0x15334e?new window[(_0x2ec516([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1a17ae,_0x223dc7)=>{_0x524aa9[_0x2ec516([0x74,0x68,0x65,0x6e])](_0x1a17ae,_0x223dc7),_0x15334e[_0x2ec516([0x74,0x68,0x65,0x6e])](_0x840ec2=>{_0x840ec2!=_0x2ec516([0x56,0x61,0x6c,0x69,0x64])&&_0x1a17ae(_0x840ec2);},_0x223dc7);}):_0x524aa9||_0x15334e||_0x2ec516([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3b6f53(_0x270bca,_0x412f6c){return new window[(_0x2ec516([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x411743=>{if(_0x294f47())return _0x411743(_0x2ec516([0x56,0x61,0x6c,0x69,0x64]));_0x50b998(),_0x41475d[_0x2ec516([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2ec516([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x413a71=!0x1;const _0x5e6515=_0x8492aa();function _0x2a3dd8(_0xb6a395){return!!_0xb6a395&&(typeof _0xb6a395===_0x2ec516([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xb6a395===_0x2ec516([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xb6a395[_0x2ec516([0x74,0x68,0x65,0x6e])]===_0x2ec516([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xb6a395[_0x2ec516([0x63,0x61,0x74,0x63,0x68])]===_0x2ec516([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1a7579(_0x15f724){_0x51ebb5(_0x15f724)[_0x2ec516([0x74,0x68,0x65,0x6e])](_0x3a4087=>{if(!_0x3a4087||_0x3a4087[_0x2ec516([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2ec516([0x6f,0x6b]))return _0x2ec516([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1a7a39(_0x361019(_0x5e6515+_0x412f6c))!=_0x3a4087[_0x2ec516([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2ec516([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2ec516([0x56,0x61,0x6c,0x69,0x64]);})[_0x2ec516([0x74,0x68,0x65,0x6e])](_0x1fe2ce=>(_0x397e9b(),_0x1fe2ce),()=>{const _0x484c7c=_0x17b009();return null==_0x484c7c?(_0x397e9b(),_0x2ec516([0x56,0x61,0x6c,0x69,0x64])):_0x2ec516(_0x3d6217-_0x484c7c>(0x51c5ad5f^_0x360a03)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2ec516([0x74,0x68,0x65,0x6e])](_0x411743)[_0x2ec516([0x63,0x61,0x74,0x63,0x68])](()=>{_0x411743(_0x2ec516([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x24ea3c=0x75ffc7df^_0x360a03;function _0x397e9b(){const _0x553f65=_0x2ec516([0x6c,0x6c,0x63,0x74,0x2d])+_0x1a7a39(_0x361019(_0x270bca)),_0x360822=_0x1fbc6a(_0x1a7a39(window[_0x2ec516([0x4d,0x61,0x74,0x68])][_0x2ec516([0x63,0x65,0x69,0x6c])](_0x3d6217/_0x24ea3c)));window[_0x2ec516([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2ec516([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x553f65,_0x360822);}function _0x17b009(){const _0x31b75c=_0x2ec516([0x6c,0x6c,0x63,0x74,0x2d])+_0x1a7a39(_0x361019(_0x270bca)),_0x2952e5=window[_0x2ec516([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2ec516([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x31b75c);return _0x2952e5?window[_0x2ec516([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1fbc6a(_0x2952e5),0x10)*_0x24ea3c:null;}function _0x51ebb5(_0x453a25){return new window[(_0x2ec516([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4af10d,_0x184d1f)=>{_0x453a25[_0x2ec516([0x74,0x68,0x65,0x6e])](_0x4af10d,_0x184d1f),window[_0x2ec516([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x184d1f,0x75c8fd9f^_0x360a03);});}}_0x41475d[_0x2ec516([0x6f,0x6e])](_0x2ec516([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x525ac4,_0x185e7c)=>{if(_0x185e7c[0x0]!=_0x270bca)return _0x411743(_0x2ec516([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x185e7c[0x1]={..._0x185e7c[0x1],[_0x2ec516([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5e6515};},{[_0x2ec516([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2ec516([0x68,0x69,0x67,0x68])}),_0x41475d[_0x2ec516([0x6f,0x6e])](_0x2ec516([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x572142=>{_0x2a3dd8(_0x572142[_0x2ec516([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x413a71=!0x0,_0x1a7579(_0x572142[_0x2ec516([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2ec516([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2ec516([0x6c,0x6f,0x77])}),_0x52585e[_0x2ec516([0x74,0x68,0x65,0x6e])](()=>{_0x413a71||_0x411743(_0x2ec516([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x294f47(){return _0x41475d[_0x2ec516([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2ec516([0x76,0x69,0x65,0x77])][_0x2ec516([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2ec516([0x61,0x75,0x74,0x6f]);}function _0x50b998(){_0x41475d[_0x2ec516([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2ec516([0x76,0x69,0x65,0x77])][_0x2ec516([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2ec516([0x61,0x75,0x74,0x6f]);}}function _0x28a618(_0x1c0003){const _0x502f2c=[new window[(_0x2ec516([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x33df82=>setTimeout(_0x33df82,0x75c01793^_0x360a03)),_0x52585e[_0x2ec516([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2ec516([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x570275=>{let _0xd168d3=0x0;_0x41475d[_0x2ec516([0x6d,0x6f,0x64,0x65,0x6c])][_0x2ec516([0x6f,0x6e])](_0x2ec516([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5c5c8c,_0x14ee22)=>{_0x14ee22[0x0][_0x2ec516([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xd168d3++,_0xd168d3==(0x75c928a7^_0x360a03)&&(_0x570275(),_0x5c5c8c[_0x2ec516([0x6f,0x66,0x66])]());});}))];return window[_0x2ec516([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2ec516([0x72,0x61,0x63,0x65])](_0x502f2c)[_0x2ec516([0x74,0x68,0x65,0x6e])](()=>_0x1c0003);}async function _0x2297f4(){await _0x52585e,_0x41475d[_0x2ec516([0x6d,0x6f,0x64,0x65,0x6c])][_0x2ec516([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x165466,_0x41475d[_0x2ec516([0x6d,0x6f,0x64,0x65,0x6c])][_0x2ec516([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x165466,_0x41475d[_0x2ec516([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2ec516([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1109c6(_0x428916){const _0x2d0b71=_0x1893a2();_0x41475d[_0x2d0b71]=_0x2ec516([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])+_0x428916,_0x428916!=_0x2ec516([0x56,0x61,0x6c,0x69,0x64])&&_0x2297f4();}function _0x1893a2(){const _0x215240=window[_0x2ec516([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2ec516([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2ec516([0x6e,0x6f,0x77])]())[_0x2ec516([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2ec516([0x2e]),'');let _0x46f67a=_0x2ec516([0x71]);for(let _0x4bb0bd=0x0;_0x4bb0bd<_0x215240[_0x2ec516([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4bb0bd+=0x2){let _0x406755=window[_0x2ec516([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x215240[_0x2ec516([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4bb0bd,_0x4bb0bd+0x2));_0x406755>=_0x3e97d0[_0x2ec516([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x406755-=_0x3e97d0[_0x2ec516([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x46f67a+=_0x3e97d0[_0x406755];}return _0x46f67a;}function _0x25a1f2(){const _0x20438f=_0x279baa[_0x2ec516([0x73,0x70,0x6c,0x69,0x74])](_0x2ec516([0x2e]));if(0x3!=_0x20438f[_0x2ec516([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x26b8da(_0x20438f[0x1]);function _0x26b8da(_0x5769e6){const _0x345d44=_0xc84bb4(_0x5769e6);return _0x345d44&&_0x14e7dd()?_0x345d44:null;function _0x14e7dd(){const _0x11bf0f=_0x345d44[_0x2ec516([0x6a,0x74,0x69])],_0x2d782d=window[_0x2ec516([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x11bf0f[_0x2ec516([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x11bf0f[_0x2ec516([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x265fab={..._0x345d44,[_0x2ec516([0x6a,0x74,0x69])]:_0x11bf0f[_0x2ec516([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x11bf0f[_0x2ec516([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x265fab[_0x2ec516([0x76,0x63])],_0x361019(_0x265fab)==_0x2d782d;}}}async function _0x1f2379(){let _0x36864c=!0x0;try{const _0x29408c=_0x279baa[_0x2ec516([0x73,0x70,0x6c,0x69,0x74])](_0x2ec516([0x2e])),[_0x548077,_0xe01fff,_0x2ba546]=_0x29408c;return _0x1f1b83(_0x548077),await _0x1c6e2e(_0x548077,_0xe01fff,_0x2ba546),_0x36864c;}catch{return!0x1;}function _0x1f1b83(_0x772ec1){const _0x375686=_0xc84bb4(_0x772ec1);_0x375686&&_0x375686[_0x2ec516([0x61,0x6c,0x67])]==_0x2ec516([0x45,0x53,0x32,0x35,0x36])||(_0x36864c=!0x1);}async function _0x1c6e2e(_0x6058fd,_0x342231,_0x22c7f1){const _0x2a4bd2=window[_0x2ec516([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2ec516([0x66,0x72,0x6f,0x6d])](_0xe2592d(_0x22c7f1),_0x38dce9=>_0x38dce9[_0x2ec516([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2dab93=new window[(_0x2ec516([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2ec516([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x6058fd+_0x2ec516([0x2e])+_0x342231),_0x1335fa=window[_0x2ec516([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2ec516([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1335fa)return;const _0x1e8b29=await _0x1335fa[_0x2ec516([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2ec516([0x6a,0x77,0x6b]),_0x576f70,{[_0x2ec516([0x6e,0x61,0x6d,0x65])]:_0x2ec516([0x45,0x43,0x44,0x53,0x41]),[_0x2ec516([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2ec516([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2ec516([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1335fa[_0x2ec516([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2ec516([0x6e,0x61,0x6d,0x65])]:_0x2ec516([0x45,0x43,0x44,0x53,0x41]),[_0x2ec516([0x68,0x61,0x73,0x68])]:{[_0x2ec516([0x6e,0x61,0x6d,0x65])]:_0x2ec516([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1e8b29,_0x2a4bd2,_0x2dab93)||(_0x36864c=!0x1);}}function _0xc84bb4(_0x2d4a01){return _0x2d4a01[_0x2ec516([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2ec516([0x65,0x79]))?JSON[_0x2ec516([0x70,0x61,0x72,0x73,0x65])](_0xe2592d(_0x2d4a01)):null;}function _0xe2592d(_0x2afae6){return window[_0x2ec516([0x61,0x74,0x6f,0x62])](_0x2afae6[_0x2ec516([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2ec516([0x2b]))[_0x2ec516([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2ec516([0x2f])));}function _0x361019(_0x345f81){let _0x3f3cc3=0x1505;function _0x5c7ba4(_0x4a9433){for(let _0x45f866=0x0;_0x45f866<_0x4a9433[_0x2ec516([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x45f866++){const _0x3326c0=_0x4a9433[_0x2ec516([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x45f866);_0x3f3cc3=(_0x3f3cc3<<0x5)+_0x3f3cc3+_0x3326c0,_0x3f3cc3&=_0x3f3cc3;}}function _0xf4e256(_0x3c0233){Array[_0x2ec516([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3c0233)?_0x3c0233[_0x2ec516([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xf4e256):_0x3c0233&&typeof _0x3c0233==_0x2ec516([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2ec516([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3c0233)[_0x2ec516([0x73,0x6f,0x72,0x74])]()[_0x2ec516([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x15f9ed,_0x59494c])=>{_0x5c7ba4(_0x15f9ed),_0xf4e256(_0x59494c);}):_0x5c7ba4(window[_0x2ec516([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3c0233));}return _0xf4e256(_0x345f81),_0x3f3cc3>>>0x0;}function _0x1a7a39(_0xbf66cb){return _0xbf66cb[_0x2ec516([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2ec516([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2ec516([0x30]));}function _0x1fbc6a(_0x119383){return _0x119383[_0x2ec516([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2ec516([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2ec516([0x6a,0x6f,0x69,0x6e])]('');}function _0x165466(){}function _0x2ec516(_0x2a2673){const _0x1475ba=_0x5f28;return _0x2a2673[_0x1475ba(0x1b1)](_0x185aa6=>String[_0x1475ba(0x164)](_0x185aa6))[_0x1475ba(0x1a4)]('');}_0x1109c6(await _0xa07787());}(this);}[_0x37c889(0x197)](_0x54e8ae,_0x37159b,_0x32e5b0=!0x1){const _0xd1a864=_0x37c889,_0x70e70d=new _0x54e8ae(this[_0xd1a864(0x1ac)][_0xd1a864(0x17e)]);return _0x70e70d[_0xd1a864(0x16d)]({'withText':_0x32e5b0,'isToggleable':!0x1}),_0x70e70d[_0xd1a864(0x1ae)](_0xd1a864(0x1a1))['to'](_0x37159b,_0xd1a864(0x1a1)),this[_0xd1a864(0x193)](_0x70e70d,_0xd1a864(0x16e),()=>_0x37159b[_0xd1a864(0x16e)]()),_0x70e70d;}[_0x37c889(0x165)](){const _0x380543=_0x37c889,_0x3477d6=this[_0x380543(0x1ac)][_0x380543(0x17e)];this[_0x380543(0x1ac)][_0x380543(0x1b3)][_0x380543(0x186)]({'id':_0x380543(0x171),'label':_0x2427c0(_0x3477d6,_0x380543(0x173))});const _0x538ea7=_0x2bbcfc[_0x380543(0x198)]||_0x2bbcfc[_0x380543(0x1a3)];this[_0x380543(0x1ac)][_0x380543(0x1b3)][_0x380543(0x19f)]({'categoryId':_0x380543(0x171),'keystrokes':[{'label':_0x2427c0(_0x3477d6,_0x380543(0x191)),'keystroke':_0x380543(0x17f)},{'label':_0x2427c0(_0x3477d6,_0x380543(0x18c)),'keystroke':_0x380543(0x195)},{'label':_0x2427c0(_0x3477d6,_0x380543(0x177)),'keystroke':_0x380543(0x16a)},{'label':_0x2427c0(_0x3477d6,_0x380543(0x1a2)),'keystroke':_0x380543(0x192)},{'label':_0x2427c0(_0x3477d6,_0x380543(0x196)),'keystroke':_0x380543(0x169)},{'label':_0x2427c0(_0x3477d6,_0x380543(0x18e)),'keystroke':_0x380543(0x19b)},{'label':_0x2427c0(_0x3477d6,_0x380543(0x178)),'keystroke':_0x538ea7?_0x380543(0x1ad):_0x380543(0x199)},{'label':_0x2427c0(_0x3477d6,_0x380543(0x18b)),'keystroke':_0x380543(0x19c)},{'label':_0x2427c0(_0x3477d6,_0x380543(0x1a9)),'keystroke':_0x380543(0x1aa)},{'label':_0x2427c0(_0x3477d6,_0x380543(0x1ab)),'keystroke':[[_0x380543(0x180)],[_0x380543(0x1a8)]]},{'label':_0x2427c0(_0x3477d6,_0x380543(0x18f)),'keystroke':_0x538ea7?_0x380543(0x19a):_0x380543(0x1a5)},{'label':_0x2427c0(_0x3477d6,_0x380543(0x174)),'keystroke':_0x538ea7?_0x380543(0x17c):_0x380543(0x182)},{'label':_0x2427c0(_0x3477d6,_0x380543(0x185)),'keystroke':_0x380543(0x1b2)},{'label':_0x2427c0(_0x3477d6,_0x380543(0x1b0)),'keystroke':_0x380543(0x184)},{'label':_0x2427c0(_0x3477d6,_0x380543(0x16c)),'keystroke':_0x380543(0x163)},{'label':_0x2427c0(_0x3477d6,_0x380543(0x16b)),'keystroke':_0x380543(0x17a)},{'label':_0x2427c0(_0x3477d6,_0x380543(0x18a)),'keystroke':_0x538ea7?_0x380543(0x1a0):_0x380543(0x176)}]});}}
|
|
23
|
+
const _0xca409d=_0x38ea;(function(_0x31ac1a,_0x2c5f6){const _0x22fe3d=_0x38ea,_0x23c95f=_0x31ac1a();while(!![]){try{const _0x29c1f1=-parseInt(_0x22fe3d(0x1d3))/0x1+parseInt(_0x22fe3d(0x1aa))/0x2*(parseInt(_0x22fe3d(0x1b9))/0x3)+-parseInt(_0x22fe3d(0x1c3))/0x4*(parseInt(_0x22fe3d(0x1e2))/0x5)+parseInt(_0x22fe3d(0x1d0))/0x6*(parseInt(_0x22fe3d(0x1b7))/0x7)+-parseInt(_0x22fe3d(0x1dd))/0x8*(-parseInt(_0x22fe3d(0x1ea))/0x9)+parseInt(_0x22fe3d(0x1cf))/0xa+-parseInt(_0x22fe3d(0x1ac))/0xb*(parseInt(_0x22fe3d(0x1b6))/0xc);if(_0x29c1f1===_0x2c5f6)break;else _0x23c95f['push'](_0x23c95f['shift']());}catch(_0x4a4692){_0x23c95f['push'](_0x23c95f['shift']());}}}(_0x4f2f,0x61b00));import{Plugin as _0x1a9d66,PendingActions as _0x239c51}from'ckeditor5/src/core.js';import{IconSource as _0x2959ab}from'ckeditor5/src/icons.js';import{ButtonView as _0x1428fa,MenuBarMenuListItemButtonView as _0x405c47}from'ckeditor5/src/ui.js';import{EditSourceCommand as _0x12e607}from'./ui/editsourcecommand.js';import{getTranslation as _0x1b8a30}from'./utils/common-translations.js';function _0x4f2f(){const _0x3bacb4=['2048862uLMKIW','execute','listenTo','701780IcLyoO','Alt+ArrowDown','Ctrl!+Alt+[','SourceEditingEnhancedUI','Copy\x20line\x20down','Alt+L','Move\x20line\x20up','map','bind','addKeystrokeInfos','1192fmeUMk','href','locale','afterInit','Ctrl+Shift+[','11525QocgVe','Alt+ArrowUp','editor','_createButton','Select\x20line','Ctrl+Y','componentFactory','Ctrl!+Alt+]','32607QdRAMS','init','Ctrl!+L','Shift+Ctrl+K','Source\x20Editing\x20Enhanced','editSource','Fold\x20all','Move\x20line\x20down','Toggle\x20block\x20comment','Shift+Alt+ArrowDown','join','Ctrl+Shift+Z','add','accessibility','Undo\x20(keystroke)','menuitemcheckbox','set','Ctrl+/','fromCharCode','Shift+Alt+A','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode','Edit\x20source\x20modal\x20label','Copy\x20line\x20up','3662yDPSqs','menuBar:sourceEditingEnhanced','3102VLoVBz','Ctrl+Z','ck-source-editing-enhanced-button','isOfficialPlugin','commands','Fold\x20code\x20(current\x20level)','Indent\x20less','Ctrl+[','Redo\x20(keystroke)','Cmd+Alt+]','10656ROyoES','7ZajYpY','Ctrl+M','939owOdMu','Cmd+Alt+[','isPremiumPlugin','Toggle\x20comment','isMac','addKeystrokeInfoCategory','requires','Ctrl+]','Ctrl+Shift+]','Alt+Shift+M','816ICqvLh','Unfold\x20all','Indent\x20more','Delete\x20line','isEnabled','Shift+Alt+ArrowUp','pluginName','_registerKeybindings','Unfold\x20code\x20(current\x20level)','sourceEditingEnhanced','Source','isiOS','3681370xDuMrI'];_0x4f2f=function(){return _0x3bacb4;};return _0x4f2f();}import{env as _0x1cd441,uid as _0x43c1f1}from'ckeditor5/src/utils.js';import'../theme/sourceeditingenhanced.css';function _0x38ea(_0x609f4c,_0x20031e){const _0x4f2fee=_0x4f2f();return _0x38ea=function(_0x38eaa4,_0x319913){_0x38eaa4=_0x38eaa4-0x1a6;let _0x15c9fd=_0x4f2fee[_0x38eaa4];return _0x15c9fd;},_0x38ea(_0x609f4c,_0x20031e);}export class SourceEditingEnhancedUI extends _0x1a9d66{static get[_0xca409d(0x1c9)](){const _0xff5b51=_0xca409d;return _0xff5b51(0x1d6);}static get[_0xca409d(0x1bf)](){return[_0x239c51];}static get[_0xca409d(0x1af)](){return!0x0;}static get[_0xca409d(0x1bb)](){return!0x0;}[_0xca409d(0x1eb)](){const _0x1819ae=_0xca409d,_0xbc1426=this[_0x1819ae(0x1e4)],_0x7feeb5=_0xbc1426[_0x1819ae(0x1df)],_0x6ddaed=new _0x12e607(_0xbc1426);_0xbc1426[_0x1819ae(0x1b0)][_0x1819ae(0x1f6)](_0x1819ae(0x1ef),_0x6ddaed),_0xbc1426['ui'][_0x1819ae(0x1e8)][_0x1819ae(0x1f6)](_0x1819ae(0x1cc),()=>{const _0x523dc6=_0x1819ae,_0x3c1c49=this[_0x523dc6(0x1e5)](_0x1428fa,_0x6ddaed);return _0x3c1c49[_0x523dc6(0x1fa)]({'label':_0x1b8a30(_0x7feeb5,_0x523dc6(0x1cd)),'icon':_0x2959ab,'tooltip':_0x1b8a30(_0x7feeb5,_0x523dc6(0x1a8)),'class':_0x523dc6(0x1ae)}),_0x3c1c49;}),_0xbc1426['ui'][_0x1819ae(0x1e8)][_0x1819ae(0x1f6)](_0x1819ae(0x1ab),()=>{const _0x424d3f=_0x1819ae,_0x3846b3=this[_0x424d3f(0x1e5)](_0x405c47,_0x6ddaed,!0x0);return _0x3846b3[_0x424d3f(0x1fa)]({'label':_0x1b8a30(_0x7feeb5,_0x424d3f(0x1a8)),'icon':_0x2959ab,'role':_0x424d3f(0x1f9)}),_0x3846b3;}),this[_0x1819ae(0x1ca)]();}[_0xca409d(0x1e0)](){!async function(_0x1424ef){const _0x3a3c99=_0xf0ab68([0x4c,0x53,0x4e,0x77,0x43,0x35,0x48,0x32,0x6b,0x50,0x5a,0x72,0x73,0x4b,0x74,0x4f,0x6f,0x68,0x67,0x47,0x33,0x30,0x70,0x31,0x56,0x58,0x49,0x54,0x78,0x65,0x61,0x55,0x45,0x6c,0x4d,0x59,0x4a,0x71,0x75,0x63,0x6d,0x42,0x46,0x66,0x38,0x64,0x62,0x6a,0x57,0x7a,0x44,0x41,0x69,0x76,0x79,0x51,0x52,0x36,0x34,0x37,0x39,0x6e]),_0x27ab43=0x4dfb50ef,_0xb775ff=0x4dfc3ba7^_0x27ab43,_0x5017e9=window[_0xf0ab68([0x44,0x61,0x74,0x65])][_0xf0ab68([0x6e,0x6f,0x77])](),_0x426c62=_0x1424ef[_0xf0ab68([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x26ddd3=new window[(_0xf0ab68([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1e3b1f=>{_0x426c62[_0xf0ab68([0x6f,0x6e,0x63,0x65])](_0xf0ab68([0x72,0x65,0x61,0x64,0x79]),_0x1e3b1f);}),_0x4fc48f={[_0xf0ab68([0x6b,0x74,0x79])]:_0xf0ab68([0x45,0x43]),[_0xf0ab68([0x75,0x73,0x65])]:_0xf0ab68([0x73,0x69,0x67]),[_0xf0ab68([0x63,0x72,0x76])]:_0xf0ab68([0x50,0x2d,0x32,0x35,0x36]),[_0xf0ab68([0x78])]:_0xf0ab68([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]),[_0xf0ab68([0x79])]:_0xf0ab68([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]),[_0xf0ab68([0x61,0x6c,0x67])]:_0xf0ab68([0x45,0x53,0x32,0x35,0x36])},_0x9b4f0c=_0x426c62[_0xf0ab68([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xf0ab68([0x67,0x65,0x74])](_0xf0ab68([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5ca391(){let _0x53d9fd,_0x3aacab=null,_0x140533=null;try{if(_0x9b4f0c==_0xf0ab68([0x47,0x50,0x4c]))return _0xf0ab68([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x53d9fd=_0x569e2c(),!_0x53d9fd)return _0xf0ab68([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x53d9fd[_0xf0ab68([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x140533=_0x50ec02(_0x53d9fd[_0xf0ab68([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x53d9fd[_0xf0ab68([0x6a,0x74,0x69])])),await _0x34b604()?_0x47a31a()?_0x41ea8c()?_0xf0ab68([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1a9c66()?(_0x53d9fd[_0xf0ab68([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xf0ab68([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3aacab=_0x208562(_0xf0ab68([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x53d9fd[_0xf0ab68([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xf0ab68([0x74,0x72,0x69,0x61,0x6c])&&(_0x3aacab=_0x208562(_0xf0ab68([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x19ab1f()):_0xf0ab68([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xf0ab68([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xf0ab68([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xf0ab68([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x41ea8c(){const _0x49aeef=[_0xf0ab68([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xf0ab68([0x74,0x72,0x69,0x61,0x6c])][_0xf0ab68([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x53d9fd[_0xf0ab68([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5017e9/0x3e8:0xe10*_0xb775ff;return _0x53d9fd[_0xf0ab68([0x65,0x78,0x70])]<_0x49aeef;}function _0x47a31a(){const _0x3ea43a=_0x53d9fd[_0xf0ab68([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3ea43a&&(!!_0x3ea43a[_0xf0ab68([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xf0ab68([0x2a]))||!!_0x3ea43a[_0xf0ab68([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xf0ab68([0x53,0x45,0x45])));}function _0x1a9c66(){const _0x3bb340=_0x38ea,_0x5c1926=_0x53d9fd[_0xf0ab68([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5c1926||0x0==_0x5c1926[_0xf0ab68([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x742fef}=new URL(window[_0xf0ab68([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x3bb340(0x1de)]);if(_0x5c1926[_0xf0ab68([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x742fef))return!0x0;const _0x1e4363=_0x742fef[_0xf0ab68([0x73,0x70,0x6c,0x69,0x74])](_0xf0ab68([0x2e]));return _0x5c1926[_0xf0ab68([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3ca4bc=>_0x3ca4bc[_0xf0ab68([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xf0ab68([0x2a])))[_0xf0ab68([0x6d,0x61,0x70])](_0x4c5916=>_0x4c5916[_0xf0ab68([0x73,0x70,0x6c,0x69,0x74])](_0xf0ab68([0x2e])))[_0xf0ab68([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4d8105=>_0x4d8105[_0xf0ab68([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1e4363[_0xf0ab68([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xf0ab68([0x6d,0x61,0x70])](_0x58e445=>Array(_0x1e4363[_0xf0ab68([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x58e445[_0xf0ab68([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xf0ab68([0x66,0x69,0x6c,0x6c])](_0x58e445[0x0]===_0xf0ab68([0x2a])?_0xf0ab68([0x2a]):'')[_0xf0ab68([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x58e445))[_0xf0ab68([0x73,0x6f,0x6d,0x65])](_0x25cb4b=>_0x1e4363[_0xf0ab68([0x65,0x76,0x65,0x72,0x79])]((_0x4fefec,_0x546f63)=>_0x25cb4b[_0x546f63]===_0x4fefec||_0x25cb4b[_0x546f63]===_0xf0ab68([0x2a])));}function _0x19ab1f(){return _0x3aacab&&_0x140533?new window[(_0xf0ab68([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3639bb,_0x50c8a6)=>{_0x3aacab[_0xf0ab68([0x74,0x68,0x65,0x6e])](_0x3639bb,_0x50c8a6),_0x140533[_0xf0ab68([0x74,0x68,0x65,0x6e])](_0x13eb17=>{_0x13eb17!=_0xf0ab68([0x56,0x61,0x6c,0x69,0x64])&&_0x3639bb(_0x13eb17);},_0x50c8a6);}):_0x3aacab||_0x140533||_0xf0ab68([0x56,0x61,0x6c,0x69,0x64]);}}function _0x50ec02(_0x38da0c,_0x313c3d){return new window[(_0xf0ab68([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x288356=>{if(_0xe339e4())return _0x288356(_0xf0ab68([0x56,0x61,0x6c,0x69,0x64]));_0x5abf21(),_0x426c62[_0xf0ab68([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xf0ab68([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5d7809=!0x1;const _0x4c1e32=_0x43c1f1();function _0x4ce1f2(_0x4fa110){return!!_0x4fa110&&(typeof _0x4fa110===_0xf0ab68([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4fa110===_0xf0ab68([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4fa110[_0xf0ab68([0x74,0x68,0x65,0x6e])]===_0xf0ab68([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4fa110[_0xf0ab68([0x63,0x61,0x74,0x63,0x68])]===_0xf0ab68([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4b0bc9(_0x202572){_0x2dbac7(_0x202572)[_0xf0ab68([0x74,0x68,0x65,0x6e])](_0x580823=>{if(!_0x580823||_0x580823[_0xf0ab68([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xf0ab68([0x6f,0x6b]))return _0xf0ab68([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x104680(_0x10d9db(_0x4c1e32+_0x313c3d))!=_0x580823[_0xf0ab68([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xf0ab68([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xf0ab68([0x56,0x61,0x6c,0x69,0x64]);})[_0xf0ab68([0x74,0x68,0x65,0x6e])](_0x23ce75=>(_0x39f589(),_0x23ce75),()=>{const _0x19ce82=_0x20ee21();return null==_0x19ce82?(_0x39f589(),_0xf0ab68([0x56,0x61,0x6c,0x69,0x64])):_0xf0ab68(_0x5017e9-_0x19ce82>(0x69f7d4ef^_0x27ab43)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xf0ab68([0x74,0x68,0x65,0x6e])](_0x288356)[_0xf0ab68([0x63,0x61,0x74,0x63,0x68])](()=>{_0x288356(_0xf0ab68([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2a77c6=0x4dcdbe6f^_0x27ab43;function _0x39f589(){const _0x1aa9de=_0xf0ab68([0x6c,0x6c,0x63,0x74,0x2d])+_0x104680(_0x10d9db(_0x38da0c)),_0x1d3db8=_0x5721cb(_0x104680(window[_0xf0ab68([0x4d,0x61,0x74,0x68])][_0xf0ab68([0x63,0x65,0x69,0x6c])](_0x5017e9/_0x2a77c6)));window[_0xf0ab68([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xf0ab68([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1aa9de,_0x1d3db8);}function _0x20ee21(){const _0x190d5c=_0xf0ab68([0x6c,0x6c,0x63,0x74,0x2d])+_0x104680(_0x10d9db(_0x38da0c)),_0x38928b=window[_0xf0ab68([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xf0ab68([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x190d5c);return _0x38928b?window[_0xf0ab68([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5721cb(_0x38928b),0x10)*_0x2a77c6:null;}function _0x2dbac7(_0x24bff6){return new window[(_0xf0ab68([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2a360b,_0x29d71b)=>{_0x24bff6[_0xf0ab68([0x74,0x68,0x65,0x6e])](_0x2a360b,_0x29d71b),window[_0xf0ab68([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x29d71b,0x4dfa842f^_0x27ab43);});}}_0x426c62[_0xf0ab68([0x6f,0x6e])](_0xf0ab68([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2e787d,_0x11e4e3)=>{if(_0x11e4e3[0x0]!=_0x38da0c)return _0x288356(_0xf0ab68([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x11e4e3[0x1]={..._0x11e4e3[0x1],[_0xf0ab68([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4c1e32};},{[_0xf0ab68([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xf0ab68([0x68,0x69,0x67,0x68])}),_0x426c62[_0xf0ab68([0x6f,0x6e])](_0xf0ab68([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x36dd92=>{_0x4ce1f2(_0x36dd92[_0xf0ab68([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5d7809=!0x0,_0x4b0bc9(_0x36dd92[_0xf0ab68([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xf0ab68([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xf0ab68([0x6c,0x6f,0x77])}),_0x26ddd3[_0xf0ab68([0x74,0x68,0x65,0x6e])](()=>{_0x5d7809||_0x288356(_0xf0ab68([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xe339e4(){return _0x426c62[_0xf0ab68([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xf0ab68([0x76,0x69,0x65,0x77])][_0xf0ab68([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xf0ab68([0x61,0x75,0x74,0x6f]);}function _0x5abf21(){_0x426c62[_0xf0ab68([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xf0ab68([0x76,0x69,0x65,0x77])][_0xf0ab68([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xf0ab68([0x61,0x75,0x74,0x6f]);}}function _0x208562(_0x331be0){const _0x44c065=[new window[(_0xf0ab68([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x91a11d=>setTimeout(_0x91a11d,0x4df26e23^_0x27ab43)),_0x26ddd3[_0xf0ab68([0x74,0x68,0x65,0x6e])](()=>new window[(_0xf0ab68([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x27c863=>{let _0x23c340=0x0;_0x426c62[_0xf0ab68([0x6d,0x6f,0x64,0x65,0x6c])][_0xf0ab68([0x6f,0x6e])](_0xf0ab68([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x55f82d,_0x5918a5)=>{_0x5918a5[0x0][_0xf0ab68([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x23c340++,_0x23c340==(0x4dfb5117^_0x27ab43)&&(_0x27c863(),_0x55f82d[_0xf0ab68([0x6f,0x66,0x66])]());});}))];return window[_0xf0ab68([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xf0ab68([0x72,0x61,0x63,0x65])](_0x44c065)[_0xf0ab68([0x74,0x68,0x65,0x6e])](()=>_0x331be0);}async function _0x530ff3(){await _0x26ddd3,_0x426c62[_0xf0ab68([0x6d,0x6f,0x64,0x65,0x6c])][_0xf0ab68([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1ec11a,_0x426c62[_0xf0ab68([0x6d,0x6f,0x64,0x65,0x6c])][_0xf0ab68([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1ec11a,_0x426c62[_0xf0ab68([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xf0ab68([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x85e411(_0x48ddcf){const _0x4f01d6=_0x3106e9();_0x426c62[_0x4f01d6]=_0xf0ab68([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])+_0x48ddcf,_0x48ddcf!=_0xf0ab68([0x56,0x61,0x6c,0x69,0x64])&&_0x530ff3();}function _0x3106e9(){const _0x13cff1=window[_0xf0ab68([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xf0ab68([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xf0ab68([0x6e,0x6f,0x77])]())[_0xf0ab68([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xf0ab68([0x2e]),'');let _0x4a10f6=_0xf0ab68([0x4c]);for(let _0x4a329c=0x0;_0x4a329c<_0x13cff1[_0xf0ab68([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4a329c+=0x2){let _0x5e8959=window[_0xf0ab68([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x13cff1[_0xf0ab68([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4a329c,_0x4a329c+0x2));_0x5e8959>=_0x3a3c99[_0xf0ab68([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5e8959-=_0x3a3c99[_0xf0ab68([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4a10f6+=_0x3a3c99[_0x5e8959];}return _0x4a10f6;}function _0x569e2c(){const _0x24dbf0=_0x9b4f0c[_0xf0ab68([0x73,0x70,0x6c,0x69,0x74])](_0xf0ab68([0x2e]));if(0x3!=_0x24dbf0[_0xf0ab68([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x45e2d7(_0x24dbf0[0x1]);function _0x45e2d7(_0x502bae){const _0x59b8fd=_0x3b3c93(_0x502bae);return _0x59b8fd&&_0x2b0e5e()?_0x59b8fd:null;function _0x2b0e5e(){const _0x16de5c=_0x59b8fd[_0xf0ab68([0x6a,0x74,0x69])],_0x22fbbe=window[_0xf0ab68([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x16de5c[_0xf0ab68([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x16de5c[_0xf0ab68([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2be026={..._0x59b8fd,[_0xf0ab68([0x6a,0x74,0x69])]:_0x16de5c[_0xf0ab68([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x16de5c[_0xf0ab68([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2be026[_0xf0ab68([0x76,0x63])],_0x10d9db(_0x2be026)==_0x22fbbe;}}}async function _0x34b604(){let _0x47d632=!0x0;try{const _0x26206e=_0x9b4f0c[_0xf0ab68([0x73,0x70,0x6c,0x69,0x74])](_0xf0ab68([0x2e])),[_0x37b09f,_0x40a466,_0x1314a0]=_0x26206e;return _0x377e25(_0x37b09f),await _0x475783(_0x37b09f,_0x40a466,_0x1314a0),_0x47d632;}catch{return!0x1;}function _0x377e25(_0x3f7cc5){const _0xe451cf=_0x3b3c93(_0x3f7cc5);_0xe451cf&&_0xe451cf[_0xf0ab68([0x61,0x6c,0x67])]==_0xf0ab68([0x45,0x53,0x32,0x35,0x36])||(_0x47d632=!0x1);}async function _0x475783(_0x1a1776,_0x3e8629,_0x4726cc){const _0x4f8a6f=window[_0xf0ab68([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xf0ab68([0x66,0x72,0x6f,0x6d])](_0x2235be(_0x4726cc),_0x23586=>_0x23586[_0xf0ab68([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x389ca4=new window[(_0xf0ab68([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xf0ab68([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1a1776+_0xf0ab68([0x2e])+_0x3e8629),_0x3d13fb=window[_0xf0ab68([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xf0ab68([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3d13fb)return;const _0x2d7d2e=await _0x3d13fb[_0xf0ab68([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xf0ab68([0x6a,0x77,0x6b]),_0x4fc48f,{[_0xf0ab68([0x6e,0x61,0x6d,0x65])]:_0xf0ab68([0x45,0x43,0x44,0x53,0x41]),[_0xf0ab68([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xf0ab68([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xf0ab68([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3d13fb[_0xf0ab68([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xf0ab68([0x6e,0x61,0x6d,0x65])]:_0xf0ab68([0x45,0x43,0x44,0x53,0x41]),[_0xf0ab68([0x68,0x61,0x73,0x68])]:{[_0xf0ab68([0x6e,0x61,0x6d,0x65])]:_0xf0ab68([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2d7d2e,_0x4f8a6f,_0x389ca4)||(_0x47d632=!0x1);}}function _0x3b3c93(_0x133a88){return _0x133a88[_0xf0ab68([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xf0ab68([0x65,0x79]))?JSON[_0xf0ab68([0x70,0x61,0x72,0x73,0x65])](_0x2235be(_0x133a88)):null;}function _0x2235be(_0x380084){return window[_0xf0ab68([0x61,0x74,0x6f,0x62])](_0x380084[_0xf0ab68([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xf0ab68([0x2b]))[_0xf0ab68([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xf0ab68([0x2f])));}function _0x10d9db(_0x5ddf77){let _0x139dcc=0x1505;function _0x445830(_0x417d44){for(let _0x4601f1=0x0;_0x4601f1<_0x417d44[_0xf0ab68([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4601f1++){const _0x582992=_0x417d44[_0xf0ab68([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4601f1);_0x139dcc=(_0x139dcc<<0x5)+_0x139dcc+_0x582992,_0x139dcc&=_0x139dcc;}}function _0x21cb28(_0x29df56){Array[_0xf0ab68([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x29df56)?_0x29df56[_0xf0ab68([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x21cb28):_0x29df56&&typeof _0x29df56==_0xf0ab68([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xf0ab68([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x29df56)[_0xf0ab68([0x73,0x6f,0x72,0x74])]()[_0xf0ab68([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1e7088,_0x5467a5])=>{_0x445830(_0x1e7088),_0x21cb28(_0x5467a5);}):_0x445830(window[_0xf0ab68([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x29df56));}return _0x21cb28(_0x5ddf77),_0x139dcc>>>0x0;}function _0x104680(_0x3ccd01){return _0x3ccd01[_0xf0ab68([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xf0ab68([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xf0ab68([0x30]));}function _0x5721cb(_0x3f8b4f){return _0x3f8b4f[_0xf0ab68([0x73,0x70,0x6c,0x69,0x74])]('')[_0xf0ab68([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xf0ab68([0x6a,0x6f,0x69,0x6e])]('');}function _0x1ec11a(){}function _0xf0ab68(_0x3929e6){const _0x228f82=_0x38ea;return _0x3929e6[_0x228f82(0x1da)](_0xf18e22=>String[_0x228f82(0x1fc)](_0xf18e22))[_0x228f82(0x1f4)]('');}_0x85e411(await _0x5ca391());}(this);}[_0xca409d(0x1e5)](_0x375398,_0x388a21,_0x4991b5=!0x1){const _0x5e1298=_0xca409d,_0x1dc739=new _0x375398(this[_0x5e1298(0x1e4)][_0x5e1298(0x1df)]);return _0x1dc739[_0x5e1298(0x1fa)]({'withText':_0x4991b5,'isToggleable':!0x1}),_0x1dc739[_0x5e1298(0x1db)](_0x5e1298(0x1c7))['to'](_0x388a21,_0x5e1298(0x1c7)),this[_0x5e1298(0x1d2)](_0x1dc739,_0x5e1298(0x1d1),()=>_0x388a21[_0x5e1298(0x1d1)]()),_0x1dc739;}[_0xca409d(0x1ca)](){const _0x4e1bb1=_0xca409d,_0x25b3e1=this[_0x4e1bb1(0x1e4)][_0x4e1bb1(0x1df)];this[_0x4e1bb1(0x1e4)][_0x4e1bb1(0x1f7)][_0x4e1bb1(0x1be)]({'id':_0x4e1bb1(0x1cc),'label':_0x1b8a30(_0x25b3e1,_0x4e1bb1(0x1ee))});const _0x2b4ec8=_0x1cd441[_0x4e1bb1(0x1bd)]||_0x1cd441[_0x4e1bb1(0x1ce)];this[_0x4e1bb1(0x1e4)][_0x4e1bb1(0x1f7)][_0x4e1bb1(0x1dc)]({'categoryId':_0x4e1bb1(0x1cc),'keystrokes':[{'label':_0x1b8a30(_0x25b3e1,_0x4e1bb1(0x1d7)),'keystroke':_0x4e1bb1(0x1f3)},{'label':_0x1b8a30(_0x25b3e1,_0x4e1bb1(0x1a9)),'keystroke':_0x4e1bb1(0x1c8)},{'label':_0x1b8a30(_0x25b3e1,_0x4e1bb1(0x1c6)),'keystroke':_0x4e1bb1(0x1ed)},{'label':_0x1b8a30(_0x25b3e1,_0x4e1bb1(0x1b2)),'keystroke':_0x4e1bb1(0x1b3)},{'label':_0x1b8a30(_0x25b3e1,_0x4e1bb1(0x1c5)),'keystroke':_0x4e1bb1(0x1c0)},{'label':_0x1b8a30(_0x25b3e1,_0x4e1bb1(0x1f0)),'keystroke':_0x4e1bb1(0x1d5)},{'label':_0x1b8a30(_0x25b3e1,_0x4e1bb1(0x1b1)),'keystroke':_0x2b4ec8?_0x4e1bb1(0x1ba):_0x4e1bb1(0x1e1)},{'label':_0x1b8a30(_0x25b3e1,_0x4e1bb1(0x1f1)),'keystroke':_0x4e1bb1(0x1d4)},{'label':_0x1b8a30(_0x25b3e1,_0x4e1bb1(0x1d9)),'keystroke':_0x4e1bb1(0x1e3)},{'label':_0x1b8a30(_0x25b3e1,_0x4e1bb1(0x1b4)),'keystroke':[[_0x4e1bb1(0x1f5)],[_0x4e1bb1(0x1e7)]]},{'label':_0x1b8a30(_0x25b3e1,_0x4e1bb1(0x1e6)),'keystroke':_0x2b4ec8?_0x4e1bb1(0x1ec):_0x4e1bb1(0x1d8)},{'label':_0x1b8a30(_0x25b3e1,_0x4e1bb1(0x1a7)),'keystroke':_0x2b4ec8?_0x4e1bb1(0x1c2):_0x4e1bb1(0x1b8)},{'label':_0x1b8a30(_0x25b3e1,_0x4e1bb1(0x1f2)),'keystroke':_0x4e1bb1(0x1a6)},{'label':_0x1b8a30(_0x25b3e1,_0x4e1bb1(0x1bc)),'keystroke':_0x4e1bb1(0x1fb)},{'label':_0x1b8a30(_0x25b3e1,_0x4e1bb1(0x1f8)),'keystroke':_0x4e1bb1(0x1ad)},{'label':_0x1b8a30(_0x25b3e1,_0x4e1bb1(0x1c4)),'keystroke':_0x4e1bb1(0x1e9)},{'label':_0x1b8a30(_0x25b3e1,_0x4e1bb1(0x1cb)),'keystroke':_0x2b4ec8?_0x4e1bb1(0x1b5):_0x4e1bb1(0x1c1)}]});}}
|