@ckeditor/ckeditor5-source-editing-enhanced 45.2.1-alpha.6 → 45.2.1-alpha.7
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 _0x49c953,PendingActions as _0x3085fe,Plugin as _0x22470d}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x2ef746,formatHtml as tr,env as _0x18eb29,uid as _0x1af594}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconSource as _0x236edf}from'@ckeditor/ckeditor5-icons/dist/index.js';import{View as _0x2a7c39,ButtonView as _0x2bafd7,MenuBarMenuListItemButtonView as _0x33dd19}from'@ckeditor/ckeditor5-ui/dist/index.js';import{EditorView as _0x16f3cd,crosshairCursor as _0xa410af,drawSelection as _0x14e9c3,dropCursor as _0xced7aa,lineNumbers as _0x1b7c07,highlightActiveLine as _0x53e92a,highlightActiveLineGutter as _0x1bbb65,highlightSpecialChars as _0x145338,rectangularSelection as _0x4c742c,keymap as _0x28f57e}from'@codemirror/view';import{Compartment as _0x174229,Transaction as _0x413d77}from'@codemirror/state';import{bracketMatching as _0x462985,foldGutter as _0x1fb96f,indentOnInput as _0x374595,syntaxHighlighting as _0x2292db,defaultHighlightStyle as _0x519bd9,foldKeymap as _0x5efb47}from'@codemirror/language';import{toggleTabFocusMode as _0x71432d,history as _0x1956f1,defaultKeymap as _0x44d798,historyKeymap as _0x5dde31,indentLess as _0x223f50,indentMore as _0x49811a,redo as _0x233c3d,undo as _0x1659f1}from'@codemirror/commands';import{autocompletion as _0x23bd5a,closeBrackets as _0x52708d,closeBracketsKeymap as _0x392c0a,completionKeymap as _0x1024d0}from'@codemirror/autocomplete';import{html as _0x3efe5a}from'@codemirror/lang-html';import{markdown as _0x3e4ac2}from'@codemirror/lang-markdown';import{oneDark as _0x3e3b0d}from'@codemirror/theme-one-dark';function f(_0x2cc576,_0x4df75){const t=_0x2cc576['t'];switch(_0x4df75){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 _0x4df75;}}function s(_0x21b82d){const _0x13c9e5=_0x21b82d['editing']['view']['document']['roots'],_0x4ce26b=_0x13c9e5['length'];if(0x0===_0x4ce26b)throw new _0x2ef746('source-editing-enhanced-editor-no-root',_0x21b82d);if(0x1===_0x4ce26b)return _0x13c9e5['first']['rootName'];return Array['from'](_0x21b82d['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function E(_0x3a4285){return or(_0x3a4285['replace'](/^[\n\s]*/g,''))?_0x3a4285['replace'](/\s+/g,''):_0x3a4285;}function or(_0x31e7ec){return _0x31e7ec['startsWith']('<');}function p(_0xbdd70c){const _0x343802=[_0x16f3cd['lineWrapping'],_0x23bd5a(),_0x462985(),_0x52708d(),_0xa410af(),_0x14e9c3(),_0xced7aa(),_0x1b7c07(),_0x1fb96f(),_0x53e92a(),_0x1bbb65(),_0x145338(),_0x1956f1(),_0x374595(),_0x4c742c(),_0x2292db(_0x519bd9,{'fallback':!0x0})],_0x59ccf8=new _0x174229();_0x343802['push'](_0x59ccf8['of'](_0x16f3cd['editable']['of'](!0x0))),'html'===_0xbdd70c['syntaxLanguage']?_0x343802['push'](_0x3efe5a()):_0x343802['push'](_0x3e4ac2());const _0x5c6046=function(_0x31ab77){if(_0x31ab77&&'default'!==_0x31ab77)return'dark'===_0x31ab77?_0x3e3b0d:_0x31ab77;return null;}(_0xbdd70c['theme']);_0x5c6046&&_0x343802['push'](_0x5c6046),_0x343802['push'](_0x28f57e['of']([..._0x392c0a,..._0x44d798,..._0x5dde31,..._0x5efb47,..._0x1024d0,{'key':'Tab','run':_0x49811a,'shift':_0x223f50,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-y','mac':'Cmd-y','run':_0x233c3d,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-Shift-z','mac':'Cmd-Shift-z','run':_0x233c3d,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-z','mac':'Cmd-z','run':_0x1659f1,'preventDefault':!0x0,'stopPropagation':!0x0}]));const _0x507d2e=new _0x16f3cd({'extensions':_0x343802,'parent':_0xbdd70c['parent']});return _0x71432d(_0x507d2e),{'focus':()=>{_0x507d2e['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x507d2e['focus']();},'getData':()=>_0x507d2e['state']['doc']['toString'](),'setData':_0xdcf5dd=>{_0x507d2e['dispatch']({'changes':{'from':0x0,'to':_0x507d2e['state']['doc']['length'],'insert':_0xdcf5dd},'annotations':_0x413d77['addToHistory']['of'](!0x1)});},'setReadOnly':_0x5c178e=>{_0x507d2e['dispatch']({'effects':[_0x59ccf8['reconfigure'](_0x16f3cd['editable']['of'](!_0x5c178e))]});},'destroy':()=>{_0x507d2e['destroy']();},'instance':_0x507d2e};}class m extends _0x2a7c39{['_codeEditorApi']=null;['_options'];constructor(_0x4b21e5,_0x8c7431){super(_0x4b21e5),this['_options']=_0x8c7431,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',(_0x25474b,_0xb521ec,_0x27f5f8)=>{this['setReadOnly'](_0x27f5f8);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0x5c75a0){this['_codeEditorApi']['setData'](_0x5c75a0);}['setReadOnly'](_0x18ec73){this['_codeEditorApi']['setReadOnly'](_0x18ec73);}}const b='SourceEditingEnhancedMode';class d extends _0x49c953{constructor(_0x5b9a1f){super(_0x5b9a1f),this['affectsData']=!0x1,this['editor']['plugins']['get'](_0x3085fe)['on']('change:hasAny',(_0x178160,_0x15c955,_0x109a02)=>{_0x109a02?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['_disableCommands'](){const _0x500c4d=this['editor'];for(const _0x335798 of _0x500c4d['commands']['names']())['replaceSource','editSource']['includes'](_0x335798)||_0x500c4d['commands']['get'](_0x335798)['forceDisabled'](b);}['_enableCommands'](){const _0x445e2b=this['editor'];for(const _0x1becc4 of _0x445e2b['commands']['commands']())_0x1becc4['clearForceDisabled'](b);}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x35e641=this['editor'],_0x3bb536=_0x35e641['locale'],_0x5a8c13=_0x35e641['plugins']['get']('Dialog'),_0x5836f4=s(_0x35e641),_0x3dcbe2=_0x35e641['data']['get']({'rootName':_0x5836f4}),_0x229e9d=or(_0x28f5bb=_0x3dcbe2)?tr(_0x28f5bb):_0x28f5bb;var _0x28f5bb;const _0x2698a3=new m(_0x3bb536,{'syntaxLanguage':_0x35e641['plugins']['has']('Markdown')?'markdown':'html','theme':_0x35e641['config']['get']('sourceEditingEnhanced.theme')});let _0x345a90=!0x0;const _0x593ee7=_0x126625=>{if(!_0x345a90)return;return E(_0x2698a3['getData']())!==E(_0x229e9d)?window['confirm'](f(_0x3bb536,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0x126625['stop']():void 0x0;};_0x5a8c13['show']({'id':'sourceEditingEnhanced','title':f(_0x3bb536,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0x2698a3,'actionButtons':[{'label':f(_0x3bb536,'Cancel'),'withText':!0x0,'onExecute':()=>{_0x5a8c13['hide']();}},{'label':f(_0x3bb536,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0x378970=E(_0x2698a3['getData']())!==E(_0x229e9d);(_0x378970&&_0x35e641['execute']('replaceSource',_0x2698a3['getData']()),_0x345a90=!0x1,_0x5a8c13['hide'](),_0x378970&&'editables'in _0x35e641['ui']['view'])&&_0x35e641['ui']['view']['editables'][_0x5836f4]['element']['focus']();},'onCreate':_0x115e68=>{_0x115e68['set']('isEnabled',!_0x35e641['isReadOnly']),_0x115e68['bind']('isEnabled')['to'](_0x35e641,'isReadOnly',this,'isEnabled',(_0x3f1508,_0x1ce440)=>!_0x3f1508&&_0x1ce440);}}],'onHide':()=>{this['_enableCommands'](),_0x5a8c13['off']('hide',_0x593ee7),_0x2698a3['destroy']();},'onShow':()=>{_0x2698a3['bind']('isReadOnly')['to'](_0x35e641,'isReadOnly',this,'isEnabled',(_0x367fd7,_0x1f3b0f)=>_0x367fd7||!_0x1f3b0f),_0x2698a3['setData'](_0x229e9d),_0x2698a3['focus'](),_0x5a8c13['on']('hide',_0x593ee7,{'priority':'highest'}),this['_disableCommands']();}});}}class a extends _0x22470d{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[_0x3085fe];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x5d0b4c=this['editor'],_0x393d85=_0x5d0b4c['locale'],_0x71c5ad=new d(_0x5d0b4c);_0x5d0b4c['commands']['add']('editSource',_0x71c5ad),_0x5d0b4c['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0x181dbe=this['_createButton'](_0x2bafd7,_0x71c5ad);return _0x181dbe['set']({'label':f(_0x393d85,'Source'),'icon':_0x236edf,'tooltip':f(_0x393d85,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0x181dbe;}),_0x5d0b4c['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0x4fa891=this['_createButton'](_0x33dd19,_0x71c5ad,!0x0);return _0x4fa891['set']({'label':f(_0x393d85,'Edit\x20source\x20modal\x20label'),'icon':_0x236edf,'role':'menuitemcheckbox'}),_0x4fa891;}),this['_registerKeybindings']();}['afterInit'](){!async function(_0x1734d2){const _0x518509=_0x36b040([0x6a,0x38,0x67,0x73,0x77,0x35,0x6c,0x36,0x53,0x78,0x52,0x57,0x59,0x72,0x64,0x66,0x69,0x74,0x34,0x32,0x39,0x43,0x63,0x49,0x58,0x4a,0x51,0x45,0x4e,0x30,0x75,0x70,0x4d,0x55,0x5a,0x50,0x71,0x56,0x79,0x6f,0x7a,0x41,0x76,0x65,0x33,0x4c,0x46,0x48,0x44,0x47,0x31,0x42,0x68,0x61,0x6b,0x62,0x4b,0x37,0x54,0x6d,0x4f,0x6e]),_0x11740e=0x5c39c8d0,_0x36a4d8=0x5c3ea398^_0x11740e,_0x324733=window[_0x36b040([0x44,0x61,0x74,0x65])][_0x36b040([0x6e,0x6f,0x77])](),_0x34dfb7=_0x1734d2[_0x36b040([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5c3bb1=new window[(_0x36b040([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x508d2f=>{_0x34dfb7[_0x36b040([0x6f,0x6e,0x63,0x65])](_0x36b040([0x72,0x65,0x61,0x64,0x79]),_0x508d2f);}),_0x17525f={[_0x36b040([0x6b,0x74,0x79])]:_0x36b040([0x45,0x43]),[_0x36b040([0x75,0x73,0x65])]:_0x36b040([0x73,0x69,0x67]),[_0x36b040([0x63,0x72,0x76])]:_0x36b040([0x50,0x2d,0x32,0x35,0x36]),[_0x36b040([0x78])]:_0x36b040([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]),[_0x36b040([0x79])]:_0x36b040([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]),[_0x36b040([0x61,0x6c,0x67])]:_0x36b040([0x45,0x53,0x32,0x35,0x36])},_0x13c98a=_0x34dfb7[_0x36b040([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x36b040([0x67,0x65,0x74])](_0x36b040([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x519688(){let _0x946083,_0x25c595=null,_0x543ea3=null;try{if(_0x13c98a==_0x36b040([0x47,0x50,0x4c]))return _0x36b040([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x946083=_0x195532(),!_0x946083)return _0x36b040([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x946083[_0x36b040([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x543ea3=_0x2cc59a(_0x946083[_0x36b040([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x946083[_0x36b040([0x6a,0x74,0x69])])),await _0x498f46()?_0x3844cc()?_0x308286()?_0x36b040([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x48f57b()?(_0x946083[_0x36b040([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x36b040([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x25c595=_0x25af90(_0x36b040([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x946083[_0x36b040([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x36b040([0x74,0x72,0x69,0x61,0x6c])&&(_0x25c595=_0x25af90(_0x36b040([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x33e13f()):_0x36b040([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x36b040([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x36b040([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x36b040([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x308286(){const _0x597f05=[_0x36b040([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x36b040([0x74,0x72,0x69,0x61,0x6c])][_0x36b040([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x946083[_0x36b040([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x324733/0x3e8:0xe10*_0x36a4d8;return _0x946083[_0x36b040([0x65,0x78,0x70])]<_0x597f05;}function _0x3844cc(){const _0x3af955=_0x946083[_0x36b040([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3af955&&(!!_0x3af955[_0x36b040([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x36b040([0x2a]))||!!_0x3af955[_0x36b040([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x36b040([0x53,0x45,0x45])));}function _0x48f57b(){const _0xc41a5e=_0x946083[_0x36b040([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xc41a5e||0x0==_0xc41a5e[_0x36b040([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x150fe1}=new URL(window[_0x36b040([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0xc41a5e[_0x36b040([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x150fe1))return!0x0;const _0x37c9cc=_0x150fe1[_0x36b040([0x73,0x70,0x6c,0x69,0x74])](_0x36b040([0x2e]));return _0xc41a5e[_0x36b040([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x125996=>_0x125996[_0x36b040([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x36b040([0x2a])))[_0x36b040([0x6d,0x61,0x70])](_0x1ee596=>_0x1ee596[_0x36b040([0x73,0x70,0x6c,0x69,0x74])](_0x36b040([0x2e])))[_0x36b040([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3f6cc3=>_0x3f6cc3[_0x36b040([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x37c9cc[_0x36b040([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x36b040([0x6d,0x61,0x70])](_0x12554e=>Array(_0x37c9cc[_0x36b040([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x12554e[_0x36b040([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x36b040([0x66,0x69,0x6c,0x6c])](_0x12554e[0x0]===_0x36b040([0x2a])?_0x36b040([0x2a]):'')[_0x36b040([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x12554e))[_0x36b040([0x73,0x6f,0x6d,0x65])](_0xa9c5fb=>_0x37c9cc[_0x36b040([0x65,0x76,0x65,0x72,0x79])]((_0xbf3db0,_0x20c5f1)=>_0xa9c5fb[_0x20c5f1]===_0xbf3db0||_0xa9c5fb[_0x20c5f1]===_0x36b040([0x2a])));}function _0x33e13f(){return _0x25c595&&_0x543ea3?new window[(_0x36b040([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2cb9ac,_0x4a2f82)=>{_0x25c595[_0x36b040([0x74,0x68,0x65,0x6e])](_0x2cb9ac,_0x4a2f82),_0x543ea3[_0x36b040([0x74,0x68,0x65,0x6e])](_0x3d9acd=>{_0x3d9acd!=_0x36b040([0x56,0x61,0x6c,0x69,0x64])&&_0x2cb9ac(_0x3d9acd);},_0x4a2f82);}):_0x25c595||_0x543ea3||_0x36b040([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2cc59a(_0x1d6b74,_0x363405){return new window[(_0x36b040([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1f900c=>{if(_0x3293d5())return _0x1f900c(_0x36b040([0x56,0x61,0x6c,0x69,0x64]));_0x385db5(),_0x34dfb7[_0x36b040([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x36b040([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1b1f85=!0x1;const _0x13fd57=_0x1af594();function _0x2d548e(_0x3cb203){return!!_0x3cb203&&(typeof _0x3cb203===_0x36b040([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3cb203===_0x36b040([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3cb203[_0x36b040([0x74,0x68,0x65,0x6e])]===_0x36b040([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3cb203[_0x36b040([0x63,0x61,0x74,0x63,0x68])]===_0x36b040([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x9a4fb2(_0x3c474e){_0x1550dd(_0x3c474e)[_0x36b040([0x74,0x68,0x65,0x6e])](_0x196f91=>{if(!_0x196f91||_0x196f91[_0x36b040([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x36b040([0x6f,0x6b]))return _0x36b040([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5ca2a2(_0x11c2e0(_0x13fd57+_0x363405))!=_0x196f91[_0x36b040([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x36b040([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x36b040([0x56,0x61,0x6c,0x69,0x64]);})[_0x36b040([0x74,0x68,0x65,0x6e])](_0x569df1=>(_0x590786(),_0x569df1),()=>{const _0x314486=_0x5af24e();return null==_0x314486?(_0x590786(),_0x36b040([0x56,0x61,0x6c,0x69,0x64])):_0x36b040(_0x324733-_0x314486>(0x78354cd0^_0x11740e)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x36b040([0x74,0x68,0x65,0x6e])](_0x1f900c)[_0x36b040([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1f900c(_0x36b040([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x394462=0x5c0f2650^_0x11740e;function _0x590786(){const _0x4fc648=_0x36b040([0x6c,0x6c,0x63,0x74,0x2d])+_0x5ca2a2(_0x11c2e0(_0x1d6b74)),_0x5387e6=_0x4e4c8d(_0x5ca2a2(window[_0x36b040([0x4d,0x61,0x74,0x68])][_0x36b040([0x63,0x65,0x69,0x6c])](_0x324733/_0x394462)));window[_0x36b040([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x36b040([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4fc648,_0x5387e6);}function _0x5af24e(){const _0x395452=_0x36b040([0x6c,0x6c,0x63,0x74,0x2d])+_0x5ca2a2(_0x11c2e0(_0x1d6b74)),_0xe78b7f=window[_0x36b040([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x36b040([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x395452);return _0xe78b7f?window[_0x36b040([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4e4c8d(_0xe78b7f),0x10)*_0x394462:null;}function _0x1550dd(_0x28350c){return new window[(_0x36b040([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x136f88,_0x22a23e)=>{_0x28350c[_0x36b040([0x74,0x68,0x65,0x6e])](_0x136f88,_0x22a23e),window[_0x36b040([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x22a23e,0x5c381c10^_0x11740e);});}}_0x34dfb7[_0x36b040([0x6f,0x6e])](_0x36b040([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4f5ba1,_0x49a651)=>{if(_0x49a651[0x0]!=_0x1d6b74)return _0x1f900c(_0x36b040([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x49a651[0x1]={..._0x49a651[0x1],[_0x36b040([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x13fd57};},{[_0x36b040([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x36b040([0x68,0x69,0x67,0x68])}),_0x34dfb7[_0x36b040([0x6f,0x6e])](_0x36b040([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x40c1f2=>{_0x2d548e(_0x40c1f2[_0x36b040([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1b1f85=!0x0,_0x9a4fb2(_0x40c1f2[_0x36b040([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x36b040([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x36b040([0x6c,0x6f,0x77])}),_0x5c3bb1[_0x36b040([0x74,0x68,0x65,0x6e])](()=>{_0x1b1f85||_0x1f900c(_0x36b040([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3293d5(){return _0x34dfb7[_0x36b040([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x36b040([0x76,0x69,0x65,0x77])][_0x36b040([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x36b040([0x61,0x75,0x74,0x6f]);}function _0x385db5(){_0x34dfb7[_0x36b040([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x36b040([0x76,0x69,0x65,0x77])][_0x36b040([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x36b040([0x61,0x75,0x74,0x6f]);}}function _0x25af90(_0x3dc3d7){const _0x20fae2=[new window[(_0x36b040([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x560156=>setTimeout(_0x560156,0x5c30f61c^_0x11740e)),_0x5c3bb1[_0x36b040([0x74,0x68,0x65,0x6e])](()=>new window[(_0x36b040([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x20a938=>{let _0x149be9=0x0;_0x34dfb7[_0x36b040([0x6d,0x6f,0x64,0x65,0x6c])][_0x36b040([0x6f,0x6e])](_0x36b040([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x517e45,_0x296fba)=>{_0x296fba[0x0][_0x36b040([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x149be9++,_0x149be9==(0x5c39c928^_0x11740e)&&(_0x20a938(),_0x517e45[_0x36b040([0x6f,0x66,0x66])]());});}))];return window[_0x36b040([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x36b040([0x72,0x61,0x63,0x65])](_0x20fae2)[_0x36b040([0x74,0x68,0x65,0x6e])](()=>_0x3dc3d7);}async function _0x52f7e2(){await _0x5c3bb1,_0x34dfb7[_0x36b040([0x6d,0x6f,0x64,0x65,0x6c])][_0x36b040([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x52184e,_0x34dfb7[_0x36b040([0x6d,0x6f,0x64,0x65,0x6c])][_0x36b040([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x52184e,_0x34dfb7[_0x36b040([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x36b040([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x54f888(_0x488bf0){const _0x46f610=_0x22ecb9();_0x34dfb7[_0x46f610]=_0x36b040([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])+_0x488bf0,_0x488bf0!=_0x36b040([0x56,0x61,0x6c,0x69,0x64])&&_0x52f7e2();}function _0x22ecb9(){const _0x10b92c=window[_0x36b040([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x36b040([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x36b040([0x6e,0x6f,0x77])]())[_0x36b040([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x36b040([0x2e]),'');let _0xa7da6f=_0x36b040([0x6a]);for(let _0x525372=0x0;_0x525372<_0x10b92c[_0x36b040([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x525372+=0x2){let _0x476e73=window[_0x36b040([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x10b92c[_0x36b040([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x525372,_0x525372+0x2));_0x476e73>=_0x518509[_0x36b040([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x476e73-=_0x518509[_0x36b040([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xa7da6f+=_0x518509[_0x476e73];}return _0xa7da6f;}function _0x195532(){const _0x4d799a=_0x13c98a[_0x36b040([0x73,0x70,0x6c,0x69,0x74])](_0x36b040([0x2e]));if(0x3!=_0x4d799a[_0x36b040([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x321150(_0x4d799a[0x1]);function _0x321150(_0x2aa33b){const _0x33d521=_0x3d4333(_0x2aa33b);return _0x33d521&&_0x39b2a1()?_0x33d521:null;function _0x39b2a1(){const _0x180968=_0x33d521[_0x36b040([0x6a,0x74,0x69])],_0x375e5c=window[_0x36b040([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x180968[_0x36b040([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x180968[_0x36b040([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x359969={..._0x33d521,[_0x36b040([0x6a,0x74,0x69])]:_0x180968[_0x36b040([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x180968[_0x36b040([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x359969[_0x36b040([0x76,0x63])],_0x11c2e0(_0x359969)==_0x375e5c;}}}async function _0x498f46(){let _0x168d1b=!0x0;try{const _0x5882b5=_0x13c98a[_0x36b040([0x73,0x70,0x6c,0x69,0x74])](_0x36b040([0x2e])),[_0x58dc38,_0x235328,_0xd26f79]=_0x5882b5;return _0x59a61f(_0x58dc38),await _0x14c589(_0x58dc38,_0x235328,_0xd26f79),_0x168d1b;}catch{return!0x1;}function _0x59a61f(_0x52881b){const _0x5d7362=_0x3d4333(_0x52881b);_0x5d7362&&_0x5d7362[_0x36b040([0x61,0x6c,0x67])]==_0x36b040([0x45,0x53,0x32,0x35,0x36])||(_0x168d1b=!0x1);}async function _0x14c589(_0x29d738,_0x228a61,_0x395711){const _0x301268=window[_0x36b040([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x36b040([0x66,0x72,0x6f,0x6d])](_0x3291b0(_0x395711),_0x3ad576=>_0x3ad576[_0x36b040([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xb1f089=new window[(_0x36b040([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x36b040([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x29d738+_0x36b040([0x2e])+_0x228a61),_0x5bf018=window[_0x36b040([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x36b040([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5bf018)return;const _0x2c31b9=await _0x5bf018[_0x36b040([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x36b040([0x6a,0x77,0x6b]),_0x17525f,{[_0x36b040([0x6e,0x61,0x6d,0x65])]:_0x36b040([0x45,0x43,0x44,0x53,0x41]),[_0x36b040([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x36b040([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x36b040([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5bf018[_0x36b040([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x36b040([0x6e,0x61,0x6d,0x65])]:_0x36b040([0x45,0x43,0x44,0x53,0x41]),[_0x36b040([0x68,0x61,0x73,0x68])]:{[_0x36b040([0x6e,0x61,0x6d,0x65])]:_0x36b040([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2c31b9,_0x301268,_0xb1f089)||(_0x168d1b=!0x1);}}function _0x3d4333(_0x17354e){return _0x17354e[_0x36b040([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x36b040([0x65,0x79]))?JSON[_0x36b040([0x70,0x61,0x72,0x73,0x65])](_0x3291b0(_0x17354e)):null;}function _0x3291b0(_0x220fe3){return window[_0x36b040([0x61,0x74,0x6f,0x62])](_0x220fe3[_0x36b040([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x36b040([0x2b]))[_0x36b040([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x36b040([0x2f])));}function _0x11c2e0(_0x572aad){let _0x45480b=0x1505;function _0xd039bb(_0x16a953){for(let _0x49b67f=0x0;_0x49b67f<_0x16a953[_0x36b040([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x49b67f++){const _0x3738ca=_0x16a953[_0x36b040([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x49b67f);_0x45480b=(_0x45480b<<0x5)+_0x45480b+_0x3738ca,_0x45480b&=_0x45480b;}}function _0x589d03(_0x4a72e3){Array[_0x36b040([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4a72e3)?_0x4a72e3[_0x36b040([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x589d03):_0x4a72e3&&typeof _0x4a72e3==_0x36b040([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x36b040([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4a72e3)[_0x36b040([0x73,0x6f,0x72,0x74])]()[_0x36b040([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x530b31,_0x47f1b0])=>{_0xd039bb(_0x530b31),_0x589d03(_0x47f1b0);}):_0xd039bb(window[_0x36b040([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4a72e3));}return _0x589d03(_0x572aad),_0x45480b>>>0x0;}function _0x5ca2a2(_0x3ca4ed){return _0x3ca4ed[_0x36b040([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x36b040([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x36b040([0x30]));}function _0x4e4c8d(_0x5b4470){return _0x5b4470[_0x36b040([0x73,0x70,0x6c,0x69,0x74])]('')[_0x36b040([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x36b040([0x6a,0x6f,0x69,0x6e])]('');}function _0x52184e(){}function _0x36b040(_0x124543){return _0x124543['map'](_0x1bbab8=>String['fromCharCode'](_0x1bbab8))['join']('');}_0x54f888(await _0x519688());}(this);}['_createButton'](_0x376e34,_0x41060a,_0x1b9ca7=!0x1){const _0x15b303=new _0x376e34(this['editor']['locale']);return _0x15b303['set']({'withText':_0x1b9ca7,'isToggleable':!0x1}),_0x15b303['bind']('isEnabled')['to'](_0x41060a,'isEnabled'),this['listenTo'](_0x15b303,'execute',()=>_0x41060a['execute']()),_0x15b303;}['_registerKeybindings'](){const _0x53222a=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':f(_0x53222a,'Source\x20Editing\x20Enhanced')});const _0x1a7888=_0x18eb29['isMac']||_0x18eb29['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':f(_0x53222a,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':f(_0x53222a,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':f(_0x53222a,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':f(_0x53222a,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':f(_0x53222a,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':f(_0x53222a,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':f(_0x53222a,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x1a7888?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':f(_0x53222a,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':f(_0x53222a,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':f(_0x53222a,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':f(_0x53222a,'Select\x20line'),'keystroke':_0x1a7888?'Ctrl!+L':'Alt+L'},{'label':f(_0x53222a,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x1a7888?'Alt+Shift+M':'Ctrl+M'},{'label':f(_0x53222a,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':f(_0x53222a,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':f(_0x53222a,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':f(_0x53222a,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':f(_0x53222a,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x1a7888?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}class e extends _0x49c953{constructor(_0x52b3de){super(_0x52b3de),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0x58fb63,_0x15ef95){const _0x17ff5a=this['editor'],_0x5b0ab7=_0x15ef95?.['rootName']??s(_0x17ff5a);_0x17ff5a['data']['set']({[_0x5b0ab7]:_0x58fb63},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}class c extends _0x22470d{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[a];}constructor(_0x50254a){super(_0x50254a),_0x50254a['config']['define']('sourceEditingEnhanced.allowCollaborationFeatures',!0x1);}['init'](){this['_checkCompatibility'](),this['editor']['commands']['add']('replaceSource',new e(this['editor'])),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x1331ad=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3a5e3c;for(const _0x3e6274 in _0x1331ad){const _0x4086a8=_0x3e6274,_0x1aceac=_0x1331ad[_0x4086a8];if('sourceEditingEnhancedLicenseKeyValid'==_0x1aceac||'sourceEditingEnhancedLicenseKeyInvalid'==_0x1aceac||'sourceEditingEnhancedLicenseKeyExpired'==_0x1aceac||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x1aceac||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x1aceac||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x1aceac||'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x1aceac||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x1aceac){delete _0x1331ad[_0x4086a8],_0x3a5e3c=_0x1aceac,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0x3a5e3c&&_0x1331ad['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0x3a5e3c&&_0x1331ad['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x3a5e3c&&_0x1331ad['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x3a5e3c&&_0x1331ad['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x3a5e3c&&_0x1331ad['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x3a5e3c&&_0x1331ad['_showLicenseError']('trialLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x3a5e3c&&_0x1331ad['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0x3f7937=this['editor'],_0x4348cf=_0x3f7937['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0x4348cf&&_0x3f7937['plugins']['has']('RealTimeCollaborativeEditing'))throw new _0x2ef746('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0x4348cf&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x247aac=>_0x3f7937['plugins']['has'](_0x247aac))&&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.'),_0x3f7937['plugins']['has']('RestrictedEditingModeEditing')&&console['warn']('You\x20initialized\x20the\x20editor\x20with\x20the\x20source\x20editing\x20enhanced\x20feature\x20and\x20restricted\x20editing\x20feature.\x20Please\x20be\x20advised\x20that\x20the\x20source\x20editing\x20enhanced\x20feature\x20may\x20not\x20work,\x20and\x20be\x20careful\x20when\x20editing\x20document\x20source\x20that\x20contains\x20markers\x20created\x20by\x20the\x20restricted\x20editing\x20feature.');}}export{d as EditSourceCommand,e as ReplaceSourceCommand,c as SourceEditingEnhanced};
|
|
23
|
+
import{Command as _0x4af732,PendingActions as _0x56f46d,Plugin as _0x2b1c5d}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x40a69d,formatHtml as tr,env as _0xe50ece,uid as _0xb59513}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconSource as _0x18bc0b}from'@ckeditor/ckeditor5-icons/dist/index.js';import{View as _0x4e4ad3,ButtonView as _0x42b37a,MenuBarMenuListItemButtonView as _0x5469f1}from'@ckeditor/ckeditor5-ui/dist/index.js';import{EditorView as _0x1104c5,crosshairCursor as _0x1a194b,drawSelection as _0x47c09d,dropCursor as _0x4ef236,lineNumbers as _0x2a8e7e,highlightActiveLine as _0x54956d,highlightActiveLineGutter as _0x5b50cf,highlightSpecialChars as _0x3f5937,rectangularSelection as _0x1c8160,keymap as _0x1c6f86}from'@codemirror/view';import{Compartment as _0x1a5bf9,Transaction as _0x4e6fb9}from'@codemirror/state';import{bracketMatching as _0x170014,foldGutter as _0x25f81c,indentOnInput as _0x773f85,syntaxHighlighting as _0x59507b,defaultHighlightStyle as _0x563d7f,foldKeymap as _0x504051}from'@codemirror/language';import{toggleTabFocusMode as _0x53da08,history as _0x207e32,defaultKeymap as _0x6dba28,historyKeymap as _0x27b7b7,indentLess as _0x7a2298,indentMore as _0x2bcde7,redo as _0x4bc58e,undo as _0x386fe5}from'@codemirror/commands';import{autocompletion as _0x2b6393,closeBrackets as _0x3251c8,closeBracketsKeymap as _0x77ab24,completionKeymap as _0x2f6b57}from'@codemirror/autocomplete';import{html as _0x562eb9}from'@codemirror/lang-html';import{markdown as _0x1acea8}from'@codemirror/lang-markdown';import{oneDark as _0x187de5}from'@codemirror/theme-one-dark';function f(_0x59426b,_0x117760){const t=_0x59426b['t'];switch(_0x117760){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 _0x117760;}}function s(_0x4c86e1){const _0x4579ee=_0x4c86e1['editing']['view']['document']['roots'],_0x5947f8=_0x4579ee['length'];if(0x0===_0x5947f8)throw new _0x40a69d('source-editing-enhanced-editor-no-root',_0x4c86e1);if(0x1===_0x5947f8)return _0x4579ee['first']['rootName'];return Array['from'](_0x4c86e1['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function E(_0x15e890){return or(_0x15e890['replace'](/^[\n\s]*/g,''))?_0x15e890['replace'](/\s+/g,''):_0x15e890;}function or(_0x41ca45){return _0x41ca45['startsWith']('<');}function p(_0x1e29d8){const _0x4bf592=[_0x1104c5['lineWrapping'],_0x2b6393(),_0x170014(),_0x3251c8(),_0x1a194b(),_0x47c09d(),_0x4ef236(),_0x2a8e7e(),_0x25f81c(),_0x54956d(),_0x5b50cf(),_0x3f5937(),_0x207e32(),_0x773f85(),_0x1c8160(),_0x59507b(_0x563d7f,{'fallback':!0x0})],_0x237f89=new _0x1a5bf9();_0x4bf592['push'](_0x237f89['of'](_0x1104c5['editable']['of'](!0x0))),'html'===_0x1e29d8['syntaxLanguage']?_0x4bf592['push'](_0x562eb9()):_0x4bf592['push'](_0x1acea8());const _0x316ddb=function(_0x4d2911){if(_0x4d2911&&'default'!==_0x4d2911)return'dark'===_0x4d2911?_0x187de5:_0x4d2911;return null;}(_0x1e29d8['theme']);_0x316ddb&&_0x4bf592['push'](_0x316ddb),_0x4bf592['push'](_0x1c6f86['of']([..._0x77ab24,..._0x6dba28,..._0x27b7b7,..._0x504051,..._0x2f6b57,{'key':'Tab','run':_0x2bcde7,'shift':_0x7a2298,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-y','mac':'Cmd-y','run':_0x4bc58e,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-Shift-z','mac':'Cmd-Shift-z','run':_0x4bc58e,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-z','mac':'Cmd-z','run':_0x386fe5,'preventDefault':!0x0,'stopPropagation':!0x0}]));const _0xfa472e=new _0x1104c5({'extensions':_0x4bf592,'parent':_0x1e29d8['parent']});return _0x53da08(_0xfa472e),{'focus':()=>{_0xfa472e['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0xfa472e['focus']();},'getData':()=>_0xfa472e['state']['doc']['toString'](),'setData':_0x15ecef=>{_0xfa472e['dispatch']({'changes':{'from':0x0,'to':_0xfa472e['state']['doc']['length'],'insert':_0x15ecef},'annotations':_0x4e6fb9['addToHistory']['of'](!0x1)});},'setReadOnly':_0xc17a14=>{_0xfa472e['dispatch']({'effects':[_0x237f89['reconfigure'](_0x1104c5['editable']['of'](!_0xc17a14))]});},'destroy':()=>{_0xfa472e['destroy']();},'instance':_0xfa472e};}class m extends _0x4e4ad3{['_codeEditorApi']=null;['_options'];constructor(_0x550644,_0x12ba28){super(_0x550644),this['_options']=_0x12ba28,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',(_0x1957e8,_0xf5c8ec,_0xd1741)=>{this['setReadOnly'](_0xd1741);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0x2b258f){this['_codeEditorApi']['setData'](_0x2b258f);}['setReadOnly'](_0x18d778){this['_codeEditorApi']['setReadOnly'](_0x18d778);}}const b='SourceEditingEnhancedMode';class d extends _0x4af732{constructor(_0x486742){super(_0x486742),this['affectsData']=!0x1,this['editor']['plugins']['get'](_0x56f46d)['on']('change:hasAny',(_0x5b4662,_0x1ff409,_0x436924)=>{_0x436924?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['_disableCommands'](){const _0x3771cb=this['editor'];for(const _0x4d4623 of _0x3771cb['commands']['names']())['replaceSource','editSource']['includes'](_0x4d4623)||_0x3771cb['commands']['get'](_0x4d4623)['forceDisabled'](b);}['_enableCommands'](){const _0x4c37f6=this['editor'];for(const _0x196b62 of _0x4c37f6['commands']['commands']())_0x196b62['clearForceDisabled'](b);}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x30cc35=this['editor'],_0x43a951=_0x30cc35['locale'],_0x346f87=_0x30cc35['plugins']['get']('Dialog'),_0x305f19=s(_0x30cc35),_0xf2b0d7=_0x30cc35['data']['get']({'rootName':_0x305f19}),_0x11adb5=or(_0x4728ad=_0xf2b0d7)?tr(_0x4728ad):_0x4728ad;var _0x4728ad;const _0x33437f=new m(_0x43a951,{'syntaxLanguage':_0x30cc35['plugins']['has']('Markdown')?'markdown':'html','theme':_0x30cc35['config']['get']('sourceEditingEnhanced.theme')});let _0x42f39c=!0x0;const _0x2a191b=_0x422884=>{if(!_0x42f39c)return;return E(_0x33437f['getData']())!==E(_0x11adb5)?window['confirm'](f(_0x43a951,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0x422884['stop']():void 0x0;};_0x346f87['show']({'id':'sourceEditingEnhanced','title':f(_0x43a951,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0x33437f,'actionButtons':[{'label':f(_0x43a951,'Cancel'),'withText':!0x0,'onExecute':()=>{_0x346f87['hide']();}},{'label':f(_0x43a951,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0x5e69c6=E(_0x33437f['getData']())!==E(_0x11adb5);(_0x5e69c6&&_0x30cc35['execute']('replaceSource',_0x33437f['getData']()),_0x42f39c=!0x1,_0x346f87['hide'](),_0x5e69c6&&'editables'in _0x30cc35['ui']['view'])&&_0x30cc35['ui']['view']['editables'][_0x305f19]['element']['focus']();},'onCreate':_0x292f84=>{_0x292f84['set']('isEnabled',!_0x30cc35['isReadOnly']),_0x292f84['bind']('isEnabled')['to'](_0x30cc35,'isReadOnly',this,'isEnabled',(_0x2fd60c,_0x1fd8a0)=>!_0x2fd60c&&_0x1fd8a0);}}],'onHide':()=>{this['_enableCommands'](),_0x346f87['off']('hide',_0x2a191b),_0x33437f['destroy']();},'onShow':()=>{_0x33437f['bind']('isReadOnly')['to'](_0x30cc35,'isReadOnly',this,'isEnabled',(_0x424a56,_0x3f55e8)=>_0x424a56||!_0x3f55e8),_0x33437f['setData'](_0x11adb5),_0x33437f['focus'](),_0x346f87['on']('hide',_0x2a191b,{'priority':'highest'}),this['_disableCommands']();}});}}class a extends _0x2b1c5d{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[_0x56f46d];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x39b8cb=this['editor'],_0x32adac=_0x39b8cb['locale'],_0x1a5443=new d(_0x39b8cb);_0x39b8cb['commands']['add']('editSource',_0x1a5443),_0x39b8cb['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0x42e1ba=this['_createButton'](_0x42b37a,_0x1a5443);return _0x42e1ba['set']({'label':f(_0x32adac,'Source'),'icon':_0x18bc0b,'tooltip':f(_0x32adac,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0x42e1ba;}),_0x39b8cb['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0x235b6f=this['_createButton'](_0x5469f1,_0x1a5443,!0x0);return _0x235b6f['set']({'label':f(_0x32adac,'Edit\x20source\x20modal\x20label'),'icon':_0x18bc0b,'role':'menuitemcheckbox'}),_0x235b6f;}),this['_registerKeybindings']();}['afterInit'](){!async function(_0x567e1c){const _0x500988=_0x9d4add([0x41,0x6a,0x71,0x69,0x35,0x64,0x78,0x61,0x33,0x73,0x75,0x46,0x7a,0x72,0x58,0x36,0x6b,0x6c,0x52,0x59,0x37,0x77,0x66,0x74,0x4d,0x39,0x4c,0x50,0x31,0x67,0x6f,0x49,0x4e,0x57,0x4b,0x43,0x56,0x34,0x54,0x45,0x38,0x32,0x4f,0x68,0x65,0x42,0x4a,0x79,0x62,0x70,0x5a,0x51,0x63,0x6e,0x47,0x48,0x55,0x6d,0x53,0x30,0x44,0x76]),_0x270eb6=0x598a70c7,_0x3340af=0x598d1ba7^_0x270eb6,_0x4320ef=window[_0x9d4add([0x44,0x61,0x74,0x65])][_0x9d4add([0x6e,0x6f,0x77])](),_0x39b339=_0x567e1c[_0x9d4add([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x116ac5=new window[(_0x9d4add([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4d3a23=>{_0x39b339[_0x9d4add([0x6f,0x6e,0x63,0x65])](_0x9d4add([0x72,0x65,0x61,0x64,0x79]),_0x4d3a23);}),_0x45c22a={[_0x9d4add([0x6b,0x74,0x79])]:_0x9d4add([0x45,0x43]),[_0x9d4add([0x75,0x73,0x65])]:_0x9d4add([0x73,0x69,0x67]),[_0x9d4add([0x63,0x72,0x76])]:_0x9d4add([0x50,0x2d,0x32,0x35,0x36]),[_0x9d4add([0x78])]:_0x9d4add([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]),[_0x9d4add([0x79])]:_0x9d4add([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]),[_0x9d4add([0x61,0x6c,0x67])]:_0x9d4add([0x45,0x53,0x32,0x35,0x36])},_0x38f14c=_0x39b339[_0x9d4add([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x9d4add([0x67,0x65,0x74])](_0x9d4add([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x321ffa(){let _0x2347d8,_0x28ceca=null,_0x39d390=null;try{if(_0x38f14c==_0x9d4add([0x47,0x50,0x4c]))return _0x9d4add([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2347d8=_0x5f30b1(),!_0x2347d8)return _0x9d4add([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2347d8[_0x9d4add([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x39d390=_0x45d971(_0x2347d8[_0x9d4add([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2347d8[_0x9d4add([0x6a,0x74,0x69])])),await _0x5d8139()?_0x45eacb()?_0x43322e()?_0x9d4add([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1066bf()?(_0x2347d8[_0x9d4add([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x9d4add([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x28ceca=_0x11a5a5(_0x9d4add([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2347d8[_0x9d4add([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x9d4add([0x74,0x72,0x69,0x61,0x6c])&&(_0x28ceca=_0x11a5a5(_0x9d4add([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2937d5()):_0x9d4add([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x9d4add([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x9d4add([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x9d4add([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x43322e(){const _0x353dbf=[_0x9d4add([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x9d4add([0x74,0x72,0x69,0x61,0x6c])][_0x9d4add([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2347d8[_0x9d4add([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4320ef/0x3e8:0xe10*_0x3340af;return _0x2347d8[_0x9d4add([0x65,0x78,0x70])]<_0x353dbf;}function _0x45eacb(){const _0x4aaac5=_0x2347d8[_0x9d4add([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4aaac5&&(!!_0x4aaac5[_0x9d4add([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x9d4add([0x2a]))||!!_0x4aaac5[_0x9d4add([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x9d4add([0x53,0x45,0x45])));}function _0x1066bf(){const _0x5b1462=_0x2347d8[_0x9d4add([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5b1462||0x0==_0x5b1462[_0x9d4add([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1c1f10}=new URL(window[_0x9d4add([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x5b1462[_0x9d4add([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1c1f10))return!0x0;const _0x19958c=_0x1c1f10[_0x9d4add([0x73,0x70,0x6c,0x69,0x74])](_0x9d4add([0x2e]));return _0x5b1462[_0x9d4add([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5a522c=>_0x5a522c[_0x9d4add([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x9d4add([0x2a])))[_0x9d4add([0x6d,0x61,0x70])](_0x3ac6f0=>_0x3ac6f0[_0x9d4add([0x73,0x70,0x6c,0x69,0x74])](_0x9d4add([0x2e])))[_0x9d4add([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3b65ec=>_0x3b65ec[_0x9d4add([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x19958c[_0x9d4add([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x9d4add([0x6d,0x61,0x70])](_0x3231d9=>Array(_0x19958c[_0x9d4add([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3231d9[_0x9d4add([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x9d4add([0x66,0x69,0x6c,0x6c])](_0x3231d9[0x0]===_0x9d4add([0x2a])?_0x9d4add([0x2a]):'')[_0x9d4add([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3231d9))[_0x9d4add([0x73,0x6f,0x6d,0x65])](_0x10cfcb=>_0x19958c[_0x9d4add([0x65,0x76,0x65,0x72,0x79])]((_0x1207d1,_0x495f3d)=>_0x10cfcb[_0x495f3d]===_0x1207d1||_0x10cfcb[_0x495f3d]===_0x9d4add([0x2a])));}function _0x2937d5(){return _0x28ceca&&_0x39d390?new window[(_0x9d4add([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x114441,_0x53eb1d)=>{_0x28ceca[_0x9d4add([0x74,0x68,0x65,0x6e])](_0x114441,_0x53eb1d),_0x39d390[_0x9d4add([0x74,0x68,0x65,0x6e])](_0x18eddb=>{_0x18eddb!=_0x9d4add([0x56,0x61,0x6c,0x69,0x64])&&_0x114441(_0x18eddb);},_0x53eb1d);}):_0x28ceca||_0x39d390||_0x9d4add([0x56,0x61,0x6c,0x69,0x64]);}}function _0x45d971(_0x52a814,_0xd011ba){return new window[(_0x9d4add([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3453cc=>{if(_0x4c05ef())return _0x3453cc(_0x9d4add([0x56,0x61,0x6c,0x69,0x64]));_0x592fb9(),_0x39b339[_0x9d4add([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x9d4add([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1ce9d8=!0x1;const _0x38a981=_0xb59513();function _0x276343(_0x5ed3f6){return!!_0x5ed3f6&&(typeof _0x5ed3f6===_0x9d4add([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5ed3f6===_0x9d4add([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5ed3f6[_0x9d4add([0x74,0x68,0x65,0x6e])]===_0x9d4add([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5ed3f6[_0x9d4add([0x63,0x61,0x74,0x63,0x68])]===_0x9d4add([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x55ff32(_0x417482){_0x1d7e9a(_0x417482)[_0x9d4add([0x74,0x68,0x65,0x6e])](_0x61226c=>{if(!_0x61226c||_0x61226c[_0x9d4add([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x9d4add([0x6f,0x6b]))return _0x9d4add([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x181aef(_0x623df8(_0x38a981+_0xd011ba))!=_0x61226c[_0x9d4add([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x9d4add([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x9d4add([0x56,0x61,0x6c,0x69,0x64]);})[_0x9d4add([0x74,0x68,0x65,0x6e])](_0x43e91c=>(_0x449ccb(),_0x43e91c),()=>{const _0x46baad=_0x26d932();return null==_0x46baad?(_0x449ccb(),_0x9d4add([0x56,0x61,0x6c,0x69,0x64])):_0x9d4add(_0x4320ef-_0x46baad>(0x7d86f4c7^_0x270eb6)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x9d4add([0x74,0x68,0x65,0x6e])](_0x3453cc)[_0x9d4add([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3453cc(_0x9d4add([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x41fc1d=0x59bc9e47^_0x270eb6;function _0x449ccb(){const _0x201d34=_0x9d4add([0x6c,0x6c,0x63,0x74,0x2d])+_0x181aef(_0x623df8(_0x52a814)),_0x45d887=_0x43b1a1(_0x181aef(window[_0x9d4add([0x4d,0x61,0x74,0x68])][_0x9d4add([0x63,0x65,0x69,0x6c])](_0x4320ef/_0x41fc1d)));window[_0x9d4add([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x9d4add([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x201d34,_0x45d887);}function _0x26d932(){const _0x15be76=_0x9d4add([0x6c,0x6c,0x63,0x74,0x2d])+_0x181aef(_0x623df8(_0x52a814)),_0x26fca7=window[_0x9d4add([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x9d4add([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x15be76);return _0x26fca7?window[_0x9d4add([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x43b1a1(_0x26fca7),0x10)*_0x41fc1d:null;}function _0x1d7e9a(_0x6390ec){return new window[(_0x9d4add([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x19d12d,_0x3092ea)=>{_0x6390ec[_0x9d4add([0x74,0x68,0x65,0x6e])](_0x19d12d,_0x3092ea),window[_0x9d4add([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3092ea,0x598ba407^_0x270eb6);});}}_0x39b339[_0x9d4add([0x6f,0x6e])](_0x9d4add([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x57d2ec,_0x1b534c)=>{if(_0x1b534c[0x0]!=_0x52a814)return _0x3453cc(_0x9d4add([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1b534c[0x1]={..._0x1b534c[0x1],[_0x9d4add([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x38a981};},{[_0x9d4add([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x9d4add([0x68,0x69,0x67,0x68])}),_0x39b339[_0x9d4add([0x6f,0x6e])](_0x9d4add([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x26b9bf=>{_0x276343(_0x26b9bf[_0x9d4add([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1ce9d8=!0x0,_0x55ff32(_0x26b9bf[_0x9d4add([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x9d4add([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x9d4add([0x6c,0x6f,0x77])}),_0x116ac5[_0x9d4add([0x74,0x68,0x65,0x6e])](()=>{_0x1ce9d8||_0x3453cc(_0x9d4add([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4c05ef(){return _0x39b339[_0x9d4add([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x9d4add([0x76,0x69,0x65,0x77])][_0x9d4add([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x9d4add([0x61,0x75,0x74,0x6f]);}function _0x592fb9(){_0x39b339[_0x9d4add([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x9d4add([0x76,0x69,0x65,0x77])][_0x9d4add([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x9d4add([0x61,0x75,0x74,0x6f]);}}function _0x11a5a5(_0x17500d){const _0x185fc3=[new window[(_0x9d4add([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5bade5=>setTimeout(_0x5bade5,0x59834e0b^_0x270eb6)),_0x116ac5[_0x9d4add([0x74,0x68,0x65,0x6e])](()=>new window[(_0x9d4add([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xd2be98=>{let _0x26dd6f=0x0;_0x39b339[_0x9d4add([0x6d,0x6f,0x64,0x65,0x6c])][_0x9d4add([0x6f,0x6e])](_0x9d4add([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3c33fe,_0xb4c9d6)=>{_0xb4c9d6[0x0][_0x9d4add([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x26dd6f++,_0x26dd6f==(0x598a713f^_0x270eb6)&&(_0xd2be98(),_0x3c33fe[_0x9d4add([0x6f,0x66,0x66])]());});}))];return window[_0x9d4add([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x9d4add([0x72,0x61,0x63,0x65])](_0x185fc3)[_0x9d4add([0x74,0x68,0x65,0x6e])](()=>_0x17500d);}async function _0x1ae411(){await _0x116ac5,_0x39b339[_0x9d4add([0x6d,0x6f,0x64,0x65,0x6c])][_0x9d4add([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x316334,_0x39b339[_0x9d4add([0x6d,0x6f,0x64,0x65,0x6c])][_0x9d4add([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x316334,_0x39b339[_0x9d4add([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x9d4add([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x55eeac(_0x215793){const _0x1e537e=_0x384674();_0x39b339[_0x1e537e]=_0x9d4add([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])+_0x215793,_0x215793!=_0x9d4add([0x56,0x61,0x6c,0x69,0x64])&&_0x1ae411();}function _0x384674(){const _0x215c35=window[_0x9d4add([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x9d4add([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x9d4add([0x6e,0x6f,0x77])]())[_0x9d4add([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x9d4add([0x2e]),'');let _0x4260c0=_0x9d4add([0x41]);for(let _0x40a6e1=0x0;_0x40a6e1<_0x215c35[_0x9d4add([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x40a6e1+=0x2){let _0x173569=window[_0x9d4add([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x215c35[_0x9d4add([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x40a6e1,_0x40a6e1+0x2));_0x173569>=_0x500988[_0x9d4add([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x173569-=_0x500988[_0x9d4add([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4260c0+=_0x500988[_0x173569];}return _0x4260c0;}function _0x5f30b1(){const _0x4ab551=_0x38f14c[_0x9d4add([0x73,0x70,0x6c,0x69,0x74])](_0x9d4add([0x2e]));if(0x3!=_0x4ab551[_0x9d4add([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x52317a(_0x4ab551[0x1]);function _0x52317a(_0x1c577c){const _0x56e08b=_0x22b1fa(_0x1c577c);return _0x56e08b&&_0x29a9a5()?_0x56e08b:null;function _0x29a9a5(){const _0x3d47bc=_0x56e08b[_0x9d4add([0x6a,0x74,0x69])],_0x522f17=window[_0x9d4add([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3d47bc[_0x9d4add([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3d47bc[_0x9d4add([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x32461a={..._0x56e08b,[_0x9d4add([0x6a,0x74,0x69])]:_0x3d47bc[_0x9d4add([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3d47bc[_0x9d4add([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x32461a[_0x9d4add([0x76,0x63])],_0x623df8(_0x32461a)==_0x522f17;}}}async function _0x5d8139(){let _0x1801d7=!0x0;try{const _0x3b358c=_0x38f14c[_0x9d4add([0x73,0x70,0x6c,0x69,0x74])](_0x9d4add([0x2e])),[_0xd628f8,_0x49fabf,_0x391245]=_0x3b358c;return _0xf7f2bb(_0xd628f8),await _0xcd26eb(_0xd628f8,_0x49fabf,_0x391245),_0x1801d7;}catch{return!0x1;}function _0xf7f2bb(_0x1a3f12){const _0x3c8f65=_0x22b1fa(_0x1a3f12);_0x3c8f65&&_0x3c8f65[_0x9d4add([0x61,0x6c,0x67])]==_0x9d4add([0x45,0x53,0x32,0x35,0x36])||(_0x1801d7=!0x1);}async function _0xcd26eb(_0x4dd7dc,_0xfe8535,_0x5c461e){const _0x620c2d=window[_0x9d4add([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x9d4add([0x66,0x72,0x6f,0x6d])](_0x472730(_0x5c461e),_0x40b54b=>_0x40b54b[_0x9d4add([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x119c6a=new window[(_0x9d4add([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x9d4add([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4dd7dc+_0x9d4add([0x2e])+_0xfe8535),_0x459255=window[_0x9d4add([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x9d4add([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x459255)return;const _0x2233e0=await _0x459255[_0x9d4add([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x9d4add([0x6a,0x77,0x6b]),_0x45c22a,{[_0x9d4add([0x6e,0x61,0x6d,0x65])]:_0x9d4add([0x45,0x43,0x44,0x53,0x41]),[_0x9d4add([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x9d4add([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x9d4add([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x459255[_0x9d4add([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x9d4add([0x6e,0x61,0x6d,0x65])]:_0x9d4add([0x45,0x43,0x44,0x53,0x41]),[_0x9d4add([0x68,0x61,0x73,0x68])]:{[_0x9d4add([0x6e,0x61,0x6d,0x65])]:_0x9d4add([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2233e0,_0x620c2d,_0x119c6a)||(_0x1801d7=!0x1);}}function _0x22b1fa(_0x10fb37){return _0x10fb37[_0x9d4add([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x9d4add([0x65,0x79]))?JSON[_0x9d4add([0x70,0x61,0x72,0x73,0x65])](_0x472730(_0x10fb37)):null;}function _0x472730(_0x4e7e30){return window[_0x9d4add([0x61,0x74,0x6f,0x62])](_0x4e7e30[_0x9d4add([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x9d4add([0x2b]))[_0x9d4add([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x9d4add([0x2f])));}function _0x623df8(_0x4bc123){let _0x3484db=0x1505;function _0x2e039a(_0x1a1711){for(let _0x40ba6a=0x0;_0x40ba6a<_0x1a1711[_0x9d4add([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x40ba6a++){const _0x517503=_0x1a1711[_0x9d4add([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x40ba6a);_0x3484db=(_0x3484db<<0x5)+_0x3484db+_0x517503,_0x3484db&=_0x3484db;}}function _0x19b981(_0x593589){Array[_0x9d4add([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x593589)?_0x593589[_0x9d4add([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x19b981):_0x593589&&typeof _0x593589==_0x9d4add([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x9d4add([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x593589)[_0x9d4add([0x73,0x6f,0x72,0x74])]()[_0x9d4add([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5e13ac,_0x6ac92c])=>{_0x2e039a(_0x5e13ac),_0x19b981(_0x6ac92c);}):_0x2e039a(window[_0x9d4add([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x593589));}return _0x19b981(_0x4bc123),_0x3484db>>>0x0;}function _0x181aef(_0x19d9b5){return _0x19d9b5[_0x9d4add([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x9d4add([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x9d4add([0x30]));}function _0x43b1a1(_0x23f4c9){return _0x23f4c9[_0x9d4add([0x73,0x70,0x6c,0x69,0x74])]('')[_0x9d4add([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x9d4add([0x6a,0x6f,0x69,0x6e])]('');}function _0x316334(){}function _0x9d4add(_0x46aacf){return _0x46aacf['map'](_0x2574bc=>String['fromCharCode'](_0x2574bc))['join']('');}_0x55eeac(await _0x321ffa());}(this);}['_createButton'](_0x5bd7f0,_0x5e1ce1,_0x7880c4=!0x1){const _0x7cfc0e=new _0x5bd7f0(this['editor']['locale']);return _0x7cfc0e['set']({'withText':_0x7880c4,'isToggleable':!0x1}),_0x7cfc0e['bind']('isEnabled')['to'](_0x5e1ce1,'isEnabled'),this['listenTo'](_0x7cfc0e,'execute',()=>_0x5e1ce1['execute']()),_0x7cfc0e;}['_registerKeybindings'](){const _0xcf430f=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':f(_0xcf430f,'Source\x20Editing\x20Enhanced')});const _0x53826c=_0xe50ece['isMac']||_0xe50ece['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':f(_0xcf430f,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':f(_0xcf430f,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':f(_0xcf430f,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':f(_0xcf430f,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':f(_0xcf430f,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':f(_0xcf430f,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':f(_0xcf430f,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x53826c?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':f(_0xcf430f,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':f(_0xcf430f,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':f(_0xcf430f,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':f(_0xcf430f,'Select\x20line'),'keystroke':_0x53826c?'Ctrl!+L':'Alt+L'},{'label':f(_0xcf430f,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x53826c?'Alt+Shift+M':'Ctrl+M'},{'label':f(_0xcf430f,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':f(_0xcf430f,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':f(_0xcf430f,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':f(_0xcf430f,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':f(_0xcf430f,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x53826c?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}class e extends _0x4af732{constructor(_0x597cad){super(_0x597cad),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0x3bef50,_0x5ad394){const _0x900451=this['editor'],_0x3b7a4a=_0x5ad394?.['rootName']??s(_0x900451);_0x900451['data']['set']({[_0x3b7a4a]:_0x3bef50},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}class c extends _0x2b1c5d{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[a];}constructor(_0x1ee318){super(_0x1ee318),_0x1ee318['config']['define']('sourceEditingEnhanced.allowCollaborationFeatures',!0x1);}['init'](){this['_checkCompatibility'](),this['editor']['commands']['add']('replaceSource',new e(this['editor'])),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x540663=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3db807;for(const _0x42d4b0 in _0x540663){const _0x4e14b1=_0x42d4b0,_0x4d0397=_0x540663[_0x4e14b1];if('sourceEditingEnhancedLicenseKeyValid'==_0x4d0397||'sourceEditingEnhancedLicenseKeyInvalid'==_0x4d0397||'sourceEditingEnhancedLicenseKeyExpired'==_0x4d0397||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x4d0397||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x4d0397||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x4d0397||'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x4d0397||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x4d0397){delete _0x540663[_0x4e14b1],_0x3db807=_0x4d0397,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0x3db807&&_0x540663['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0x3db807&&_0x540663['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x3db807&&_0x540663['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x3db807&&_0x540663['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x3db807&&_0x540663['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x3db807&&_0x540663['_showLicenseError']('trialLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x3db807&&_0x540663['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0x5ae81d=this['editor'],_0x219521=_0x5ae81d['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0x219521&&_0x5ae81d['plugins']['has']('RealTimeCollaborativeEditing'))throw new _0x40a69d('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0x219521&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x5b572f=>_0x5ae81d['plugins']['has'](_0x5b572f))&&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.'),_0x5ae81d['plugins']['has']('RestrictedEditingModeEditing')&&console['warn']('You\x20initialized\x20the\x20editor\x20with\x20the\x20source\x20editing\x20enhanced\x20feature\x20and\x20restricted\x20editing\x20feature.\x20Please\x20be\x20advised\x20that\x20the\x20source\x20editing\x20enhanced\x20feature\x20may\x20not\x20work,\x20and\x20be\x20careful\x20when\x20editing\x20document\x20source\x20that\x20contains\x20markers\x20created\x20by\x20the\x20restricted\x20editing\x20feature.');}}export{d as EditSourceCommand,e as ReplaceSourceCommand,c as SourceEditingEnhanced};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-source-editing-enhanced",
|
|
3
|
-
"version": "45.2.1-alpha.
|
|
3
|
+
"version": "45.2.1-alpha.7",
|
|
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": "45.2.1-alpha.
|
|
22
|
-
"@ckeditor/ckeditor5-icons": "45.2.1-alpha.
|
|
23
|
-
"@ckeditor/ckeditor5-theme-lark": "45.2.1-alpha.
|
|
24
|
-
"@ckeditor/ckeditor5-ui": "45.2.1-alpha.
|
|
25
|
-
"@ckeditor/ckeditor5-utils": "45.2.1-alpha.
|
|
21
|
+
"@ckeditor/ckeditor5-core": "45.2.1-alpha.7",
|
|
22
|
+
"@ckeditor/ckeditor5-icons": "45.2.1-alpha.7",
|
|
23
|
+
"@ckeditor/ckeditor5-theme-lark": "45.2.1-alpha.7",
|
|
24
|
+
"@ckeditor/ckeditor5-ui": "45.2.1-alpha.7",
|
|
25
|
+
"@ckeditor/ckeditor5-utils": "45.2.1-alpha.7",
|
|
26
26
|
"@codemirror/autocomplete": "^6.7.1",
|
|
27
27
|
"@codemirror/commands": "6.8.0",
|
|
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": "45.2.1-alpha.
|
|
34
|
+
"ckeditor5": "45.2.1-alpha.7"
|
|
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 _0x542bdd=_0x9229;(function(_0x4ede8a,_0x2f8822){const _0x47f8c9=_0x9229,_0x3d30e5=_0x4ede8a();while(!![]){try{const _0x23bc64=-parseInt(_0x47f8c9(0x211))/0x1*(-parseInt(_0x47f8c9(0x212))/0x2)+parseInt(_0x47f8c9(0x1c1))/0x3+parseInt(_0x47f8c9(0x1d6))/0x4*(parseInt(_0x47f8c9(0x1ea))/0x5)+-parseInt(_0x47f8c9(0x1d2))/0x6+-parseInt(_0x47f8c9(0x1f8))/0x7+-parseInt(_0x47f8c9(0x1cf))/0x8*(-parseInt(_0x47f8c9(0x214))/0x9)+-parseInt(_0x47f8c9(0x1d5))/0xa*(-parseInt(_0x47f8c9(0x204))/0xb);if(_0x23bc64===_0x2f8822)break;else _0x3d30e5['push'](_0x3d30e5['shift']());}catch(_0x447dcf){_0x3d30e5['push'](_0x3d30e5['shift']());}}}(_0x1bb8,0x4052a));import{Plugin as _0x48253e,PendingActions as _0x1abe82}from'ckeditor5/src/core.js';import{IconSource as _0x1226d2}from'ckeditor5/src/icons.js';import{ButtonView as _0x3298d1,MenuBarMenuListItemButtonView as _0x10ab67}from'ckeditor5/src/ui.js';import _0x5685d4 from'./ui/editsourcecommand.js';import{getTranslation as _0x4d2e05}from'./utils/common-translations.js';import{env as _0x34946c,uid as _0x34fde2}from'ckeditor5/src/utils.js';function _0x1bb8(){const _0xb607a=['href','Cmd+Alt+]','Toggle\x20block\x20comment','join','Cmd+Alt+[','Ctrl!+Alt+]','execute','menuBar:sourceEditingEnhanced','SourceEditingEnhancedUI','isMac','Shift+Alt+ArrowUp','9Kursby','83542haDvSc','editSource','3141ioTtRo','locale','Shift+Ctrl+K','349290cHYQwH','Ctrl+Shift+]','sourceEditingEnhanced','Unfold\x20code\x20(current\x20level)','Ctrl!+Alt+[','bind','commands','Redo\x20(keystroke)','Source\x20Editing\x20Enhanced','Ctrl!+L','listenTo','accessibility','Copy\x20line\x20up','addKeystrokeInfoCategory','6424TJFRnM','addKeystrokeInfos','Source','2762106MtIpLc','Move\x20line\x20up','Ctrl+/','370QUDOmG','4yxhhnJ','Ctrl+M','Ctrl+]','Fold\x20all','init','Fold\x20code\x20(current\x20level)','isEnabled','Ctrl+[','Ctrl+Y','componentFactory','Copy\x20line\x20down','Alt+Shift+M','editor','Shift+Alt+A','_createButton','Edit\x20source\x20modal\x20label','Shift+Alt+ArrowDown','Indent\x20more','Delete\x20line','add','655585honVAr','Unfold\x20all','_registerKeybindings','map','Alt+L','afterInit','Indent\x20less','Ctrl+Z','Ctrl+Shift+[','isiOS','ck-source-editing-enhanced-button','fromCharCode','Undo\x20(keystroke)','isPremiumPlugin','3539130UAhUrj','Alt+ArrowUp','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode','set','Select\x20line','Toggle\x20comment','pluginName','requires','Ctrl+Shift+Z','Move\x20line\x20down','Alt+ArrowDown','isOfficialPlugin','96822HHmPsB','menuitemcheckbox'];_0x1bb8=function(){return _0xb607a;};return _0x1bb8();}import'../theme/sourceeditingenhanced.css';function _0x9229(_0x52f893,_0x37cf12){const _0x1bb87e=_0x1bb8();return _0x9229=function(_0x9229a7,_0x3ec5aa){_0x9229a7=_0x9229a7-0x1bf;let _0x62504b=_0x1bb87e[_0x9229a7];return _0x62504b;},_0x9229(_0x52f893,_0x37cf12);}export default class a extends _0x48253e{static get[_0x542bdd(0x1fe)](){const _0x51a358=_0x542bdd;return _0x51a358(0x20e);}static get[_0x542bdd(0x1ff)](){return[_0x1abe82];}static get[_0x542bdd(0x203)](){return!0x0;}static get[_0x542bdd(0x1f7)](){return!0x0;}[_0x542bdd(0x1da)](){const _0x1a940d=_0x542bdd,_0x1007f6=this[_0x1a940d(0x1e2)],_0x3bde79=_0x1007f6[_0x1a940d(0x1bf)],_0x4e9e22=new _0x5685d4(_0x1007f6);_0x1007f6[_0x1a940d(0x1c7)][_0x1a940d(0x1e9)](_0x1a940d(0x213),_0x4e9e22),_0x1007f6['ui'][_0x1a940d(0x1df)][_0x1a940d(0x1e9)](_0x1a940d(0x1c3),()=>{const _0x181f87=_0x1a940d,_0x3b0a25=this[_0x181f87(0x1e4)](_0x3298d1,_0x4e9e22);return _0x3b0a25[_0x181f87(0x1fb)]({'label':_0x4d2e05(_0x3bde79,_0x181f87(0x1d1)),'icon':_0x1226d2,'tooltip':_0x4d2e05(_0x3bde79,_0x181f87(0x1e5)),'class':_0x181f87(0x1f4)}),_0x3b0a25;}),_0x1007f6['ui'][_0x1a940d(0x1df)][_0x1a940d(0x1e9)](_0x1a940d(0x20d),()=>{const _0x43faf8=_0x1a940d,_0x4614f1=this[_0x43faf8(0x1e4)](_0x10ab67,_0x4e9e22,!0x0);return _0x4614f1[_0x43faf8(0x1fb)]({'label':_0x4d2e05(_0x3bde79,_0x43faf8(0x1e5)),'icon':_0x1226d2,'role':_0x43faf8(0x205)}),_0x4614f1;}),this[_0x1a940d(0x1ec)]();}[_0x542bdd(0x1ef)](){!async function(_0x2b6b07){const _0x53daa6=_0x1a1981([0x6a,0x38,0x67,0x73,0x77,0x35,0x6c,0x36,0x53,0x78,0x52,0x57,0x59,0x72,0x64,0x66,0x69,0x74,0x34,0x32,0x39,0x43,0x63,0x49,0x58,0x4a,0x51,0x45,0x4e,0x30,0x75,0x70,0x4d,0x55,0x5a,0x50,0x71,0x56,0x79,0x6f,0x7a,0x41,0x76,0x65,0x33,0x4c,0x46,0x48,0x44,0x47,0x31,0x42,0x68,0x61,0x6b,0x62,0x4b,0x37,0x54,0x6d,0x4f,0x6e]),_0x32216e=0x5c39c8d0,_0x8feb8c=0x5c3ea398^_0x32216e,_0x6822b2=window[_0x1a1981([0x44,0x61,0x74,0x65])][_0x1a1981([0x6e,0x6f,0x77])](),_0x39b033=_0x2b6b07[_0x1a1981([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2614b3=new window[(_0x1a1981([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x12a8cc=>{_0x39b033[_0x1a1981([0x6f,0x6e,0x63,0x65])](_0x1a1981([0x72,0x65,0x61,0x64,0x79]),_0x12a8cc);}),_0x80d631={[_0x1a1981([0x6b,0x74,0x79])]:_0x1a1981([0x45,0x43]),[_0x1a1981([0x75,0x73,0x65])]:_0x1a1981([0x73,0x69,0x67]),[_0x1a1981([0x63,0x72,0x76])]:_0x1a1981([0x50,0x2d,0x32,0x35,0x36]),[_0x1a1981([0x78])]:_0x1a1981([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]),[_0x1a1981([0x79])]:_0x1a1981([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]),[_0x1a1981([0x61,0x6c,0x67])]:_0x1a1981([0x45,0x53,0x32,0x35,0x36])},_0x237a08=_0x39b033[_0x1a1981([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1a1981([0x67,0x65,0x74])](_0x1a1981([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x599b15(){let _0x29d6ac,_0x3cfd0f=null,_0x196d92=null;try{if(_0x237a08==_0x1a1981([0x47,0x50,0x4c]))return _0x1a1981([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x29d6ac=_0x25353a(),!_0x29d6ac)return _0x1a1981([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x29d6ac[_0x1a1981([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x196d92=_0x3ed1ed(_0x29d6ac[_0x1a1981([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x29d6ac[_0x1a1981([0x6a,0x74,0x69])])),await _0x1dcd0c()?_0x1ece1f()?_0x543e21()?_0x1a1981([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x31fb99()?(_0x29d6ac[_0x1a1981([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1a1981([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3cfd0f=_0x398f5a(_0x1a1981([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x29d6ac[_0x1a1981([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1a1981([0x74,0x72,0x69,0x61,0x6c])&&(_0x3cfd0f=_0x398f5a(_0x1a1981([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2b69ed()):_0x1a1981([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1a1981([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1a1981([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1a1981([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x543e21(){const _0x3e09a4=[_0x1a1981([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1a1981([0x74,0x72,0x69,0x61,0x6c])][_0x1a1981([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x29d6ac[_0x1a1981([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x6822b2/0x3e8:0xe10*_0x8feb8c;return _0x29d6ac[_0x1a1981([0x65,0x78,0x70])]<_0x3e09a4;}function _0x1ece1f(){const _0x58eaab=_0x29d6ac[_0x1a1981([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x58eaab&&(!!_0x58eaab[_0x1a1981([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1a1981([0x2a]))||!!_0x58eaab[_0x1a1981([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1a1981([0x53,0x45,0x45])));}function _0x31fb99(){const _0x23f41a=_0x9229,_0x1a4b9b=_0x29d6ac[_0x1a1981([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1a4b9b||0x0==_0x1a4b9b[_0x1a1981([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x218702}=new URL(window[_0x1a1981([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x23f41a(0x206)]);if(_0x1a4b9b[_0x1a1981([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x218702))return!0x0;const _0xa6b7b7=_0x218702[_0x1a1981([0x73,0x70,0x6c,0x69,0x74])](_0x1a1981([0x2e]));return _0x1a4b9b[_0x1a1981([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x203324=>_0x203324[_0x1a1981([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1a1981([0x2a])))[_0x1a1981([0x6d,0x61,0x70])](_0xab12a0=>_0xab12a0[_0x1a1981([0x73,0x70,0x6c,0x69,0x74])](_0x1a1981([0x2e])))[_0x1a1981([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xd919fe=>_0xd919fe[_0x1a1981([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xa6b7b7[_0x1a1981([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1a1981([0x6d,0x61,0x70])](_0x2395a2=>Array(_0xa6b7b7[_0x1a1981([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2395a2[_0x1a1981([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1a1981([0x66,0x69,0x6c,0x6c])](_0x2395a2[0x0]===_0x1a1981([0x2a])?_0x1a1981([0x2a]):'')[_0x1a1981([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2395a2))[_0x1a1981([0x73,0x6f,0x6d,0x65])](_0x27acf2=>_0xa6b7b7[_0x1a1981([0x65,0x76,0x65,0x72,0x79])]((_0x190e00,_0x157266)=>_0x27acf2[_0x157266]===_0x190e00||_0x27acf2[_0x157266]===_0x1a1981([0x2a])));}function _0x2b69ed(){return _0x3cfd0f&&_0x196d92?new window[(_0x1a1981([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3ddacb,_0x453fd4)=>{_0x3cfd0f[_0x1a1981([0x74,0x68,0x65,0x6e])](_0x3ddacb,_0x453fd4),_0x196d92[_0x1a1981([0x74,0x68,0x65,0x6e])](_0x2e86e4=>{_0x2e86e4!=_0x1a1981([0x56,0x61,0x6c,0x69,0x64])&&_0x3ddacb(_0x2e86e4);},_0x453fd4);}):_0x3cfd0f||_0x196d92||_0x1a1981([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3ed1ed(_0x1d812b,_0x2c9e89){return new window[(_0x1a1981([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x38ace2=>{if(_0x427685())return _0x38ace2(_0x1a1981([0x56,0x61,0x6c,0x69,0x64]));_0xcece8f(),_0x39b033[_0x1a1981([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1a1981([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x12c0bd=!0x1;const _0x68e0a2=_0x34fde2();function _0x281ab8(_0x54c4b9){return!!_0x54c4b9&&(typeof _0x54c4b9===_0x1a1981([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x54c4b9===_0x1a1981([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x54c4b9[_0x1a1981([0x74,0x68,0x65,0x6e])]===_0x1a1981([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x54c4b9[_0x1a1981([0x63,0x61,0x74,0x63,0x68])]===_0x1a1981([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x153716(_0x1dcc53){_0x3a376d(_0x1dcc53)[_0x1a1981([0x74,0x68,0x65,0x6e])](_0x1dc6fa=>{if(!_0x1dc6fa||_0x1dc6fa[_0x1a1981([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1a1981([0x6f,0x6b]))return _0x1a1981([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4d663c(_0x1a442b(_0x68e0a2+_0x2c9e89))!=_0x1dc6fa[_0x1a1981([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1a1981([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1a1981([0x56,0x61,0x6c,0x69,0x64]);})[_0x1a1981([0x74,0x68,0x65,0x6e])](_0x4eb6fa=>(_0x1720d5(),_0x4eb6fa),()=>{const _0x39c6df=_0xad0987();return null==_0x39c6df?(_0x1720d5(),_0x1a1981([0x56,0x61,0x6c,0x69,0x64])):_0x1a1981(_0x6822b2-_0x39c6df>(0x78354cd0^_0x32216e)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1a1981([0x74,0x68,0x65,0x6e])](_0x38ace2)[_0x1a1981([0x63,0x61,0x74,0x63,0x68])](()=>{_0x38ace2(_0x1a1981([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3073f2=0x5c0f2650^_0x32216e;function _0x1720d5(){const _0x23607f=_0x1a1981([0x6c,0x6c,0x63,0x74,0x2d])+_0x4d663c(_0x1a442b(_0x1d812b)),_0x1e2040=_0x1529bc(_0x4d663c(window[_0x1a1981([0x4d,0x61,0x74,0x68])][_0x1a1981([0x63,0x65,0x69,0x6c])](_0x6822b2/_0x3073f2)));window[_0x1a1981([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1a1981([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x23607f,_0x1e2040);}function _0xad0987(){const _0x1e9c09=_0x1a1981([0x6c,0x6c,0x63,0x74,0x2d])+_0x4d663c(_0x1a442b(_0x1d812b)),_0x5ce869=window[_0x1a1981([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1a1981([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1e9c09);return _0x5ce869?window[_0x1a1981([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1529bc(_0x5ce869),0x10)*_0x3073f2:null;}function _0x3a376d(_0x58e767){return new window[(_0x1a1981([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x400ec9,_0x3fe1dd)=>{_0x58e767[_0x1a1981([0x74,0x68,0x65,0x6e])](_0x400ec9,_0x3fe1dd),window[_0x1a1981([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3fe1dd,0x5c381c10^_0x32216e);});}}_0x39b033[_0x1a1981([0x6f,0x6e])](_0x1a1981([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x6268fb,_0x23a9ff)=>{if(_0x23a9ff[0x0]!=_0x1d812b)return _0x38ace2(_0x1a1981([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x23a9ff[0x1]={..._0x23a9ff[0x1],[_0x1a1981([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x68e0a2};},{[_0x1a1981([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1a1981([0x68,0x69,0x67,0x68])}),_0x39b033[_0x1a1981([0x6f,0x6e])](_0x1a1981([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2cc758=>{_0x281ab8(_0x2cc758[_0x1a1981([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x12c0bd=!0x0,_0x153716(_0x2cc758[_0x1a1981([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1a1981([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1a1981([0x6c,0x6f,0x77])}),_0x2614b3[_0x1a1981([0x74,0x68,0x65,0x6e])](()=>{_0x12c0bd||_0x38ace2(_0x1a1981([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x427685(){return _0x39b033[_0x1a1981([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1a1981([0x76,0x69,0x65,0x77])][_0x1a1981([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1a1981([0x61,0x75,0x74,0x6f]);}function _0xcece8f(){_0x39b033[_0x1a1981([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1a1981([0x76,0x69,0x65,0x77])][_0x1a1981([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1a1981([0x61,0x75,0x74,0x6f]);}}function _0x398f5a(_0x1a7375){const _0x52be7e=[new window[(_0x1a1981([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x33654a=>setTimeout(_0x33654a,0x5c30f61c^_0x32216e)),_0x2614b3[_0x1a1981([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1a1981([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4bf05f=>{let _0x3ba307=0x0;_0x39b033[_0x1a1981([0x6d,0x6f,0x64,0x65,0x6c])][_0x1a1981([0x6f,0x6e])](_0x1a1981([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x155a13,_0x146869)=>{_0x146869[0x0][_0x1a1981([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3ba307++,_0x3ba307==(0x5c39c928^_0x32216e)&&(_0x4bf05f(),_0x155a13[_0x1a1981([0x6f,0x66,0x66])]());});}))];return window[_0x1a1981([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1a1981([0x72,0x61,0x63,0x65])](_0x52be7e)[_0x1a1981([0x74,0x68,0x65,0x6e])](()=>_0x1a7375);}async function _0x4dfb69(){await _0x2614b3,_0x39b033[_0x1a1981([0x6d,0x6f,0x64,0x65,0x6c])][_0x1a1981([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x27f041,_0x39b033[_0x1a1981([0x6d,0x6f,0x64,0x65,0x6c])][_0x1a1981([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x27f041,_0x39b033[_0x1a1981([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1a1981([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2da225(_0x5e0022){const _0x561deb=_0x4ee5d2();_0x39b033[_0x561deb]=_0x1a1981([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])+_0x5e0022,_0x5e0022!=_0x1a1981([0x56,0x61,0x6c,0x69,0x64])&&_0x4dfb69();}function _0x4ee5d2(){const _0x3154ef=window[_0x1a1981([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1a1981([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1a1981([0x6e,0x6f,0x77])]())[_0x1a1981([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1a1981([0x2e]),'');let _0x814883=_0x1a1981([0x6a]);for(let _0x23ba28=0x0;_0x23ba28<_0x3154ef[_0x1a1981([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x23ba28+=0x2){let _0x3c219a=window[_0x1a1981([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3154ef[_0x1a1981([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x23ba28,_0x23ba28+0x2));_0x3c219a>=_0x53daa6[_0x1a1981([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3c219a-=_0x53daa6[_0x1a1981([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x814883+=_0x53daa6[_0x3c219a];}return _0x814883;}function _0x25353a(){const _0x4c1539=_0x237a08[_0x1a1981([0x73,0x70,0x6c,0x69,0x74])](_0x1a1981([0x2e]));if(0x3!=_0x4c1539[_0x1a1981([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1eaf7e(_0x4c1539[0x1]);function _0x1eaf7e(_0x14014c){const _0x5f477a=_0x100c58(_0x14014c);return _0x5f477a&&_0x19a1fd()?_0x5f477a:null;function _0x19a1fd(){const _0x1bdad6=_0x5f477a[_0x1a1981([0x6a,0x74,0x69])],_0x470bea=window[_0x1a1981([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1bdad6[_0x1a1981([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1bdad6[_0x1a1981([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x372b5f={..._0x5f477a,[_0x1a1981([0x6a,0x74,0x69])]:_0x1bdad6[_0x1a1981([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1bdad6[_0x1a1981([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x372b5f[_0x1a1981([0x76,0x63])],_0x1a442b(_0x372b5f)==_0x470bea;}}}async function _0x1dcd0c(){let _0x1be9f6=!0x0;try{const _0x593f5c=_0x237a08[_0x1a1981([0x73,0x70,0x6c,0x69,0x74])](_0x1a1981([0x2e])),[_0x1ce82d,_0x151ffd,_0xdf05c1]=_0x593f5c;return _0xb0657c(_0x1ce82d),await _0x403e6d(_0x1ce82d,_0x151ffd,_0xdf05c1),_0x1be9f6;}catch{return!0x1;}function _0xb0657c(_0x50ee90){const _0x4b3586=_0x100c58(_0x50ee90);_0x4b3586&&_0x4b3586[_0x1a1981([0x61,0x6c,0x67])]==_0x1a1981([0x45,0x53,0x32,0x35,0x36])||(_0x1be9f6=!0x1);}async function _0x403e6d(_0x38f724,_0x1c7eac,_0x39c16c){const _0x1e79fe=window[_0x1a1981([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1a1981([0x66,0x72,0x6f,0x6d])](_0x43cd96(_0x39c16c),_0x2080aa=>_0x2080aa[_0x1a1981([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3cd77c=new window[(_0x1a1981([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1a1981([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x38f724+_0x1a1981([0x2e])+_0x1c7eac),_0x5a47ea=window[_0x1a1981([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1a1981([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5a47ea)return;const _0x2b7071=await _0x5a47ea[_0x1a1981([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1a1981([0x6a,0x77,0x6b]),_0x80d631,{[_0x1a1981([0x6e,0x61,0x6d,0x65])]:_0x1a1981([0x45,0x43,0x44,0x53,0x41]),[_0x1a1981([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1a1981([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1a1981([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5a47ea[_0x1a1981([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1a1981([0x6e,0x61,0x6d,0x65])]:_0x1a1981([0x45,0x43,0x44,0x53,0x41]),[_0x1a1981([0x68,0x61,0x73,0x68])]:{[_0x1a1981([0x6e,0x61,0x6d,0x65])]:_0x1a1981([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2b7071,_0x1e79fe,_0x3cd77c)||(_0x1be9f6=!0x1);}}function _0x100c58(_0x24ed6a){return _0x24ed6a[_0x1a1981([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1a1981([0x65,0x79]))?JSON[_0x1a1981([0x70,0x61,0x72,0x73,0x65])](_0x43cd96(_0x24ed6a)):null;}function _0x43cd96(_0xc52c32){return window[_0x1a1981([0x61,0x74,0x6f,0x62])](_0xc52c32[_0x1a1981([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1a1981([0x2b]))[_0x1a1981([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1a1981([0x2f])));}function _0x1a442b(_0x2e3cc4){let _0x40545b=0x1505;function _0x464cf5(_0x43b569){for(let _0x335f96=0x0;_0x335f96<_0x43b569[_0x1a1981([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x335f96++){const _0x3804f7=_0x43b569[_0x1a1981([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x335f96);_0x40545b=(_0x40545b<<0x5)+_0x40545b+_0x3804f7,_0x40545b&=_0x40545b;}}function _0x2da825(_0x1f6d93){Array[_0x1a1981([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1f6d93)?_0x1f6d93[_0x1a1981([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2da825):_0x1f6d93&&typeof _0x1f6d93==_0x1a1981([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1a1981([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1f6d93)[_0x1a1981([0x73,0x6f,0x72,0x74])]()[_0x1a1981([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4e2778,_0x5436ee])=>{_0x464cf5(_0x4e2778),_0x2da825(_0x5436ee);}):_0x464cf5(window[_0x1a1981([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1f6d93));}return _0x2da825(_0x2e3cc4),_0x40545b>>>0x0;}function _0x4d663c(_0xaedf57){return _0xaedf57[_0x1a1981([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1a1981([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1a1981([0x30]));}function _0x1529bc(_0x246bee){return _0x246bee[_0x1a1981([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1a1981([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1a1981([0x6a,0x6f,0x69,0x6e])]('');}function _0x27f041(){}function _0x1a1981(_0x17da5e){const _0x309835=_0x9229;return _0x17da5e[_0x309835(0x1ed)](_0x702e98=>String[_0x309835(0x1f5)](_0x702e98))[_0x309835(0x209)]('');}_0x2da225(await _0x599b15());}(this);}[_0x542bdd(0x1e4)](_0x10aa04,_0x43247e,_0x42d82f=!0x1){const _0x4863b1=_0x542bdd,_0xce6e06=new _0x10aa04(this[_0x4863b1(0x1e2)][_0x4863b1(0x1bf)]);return _0xce6e06[_0x4863b1(0x1fb)]({'withText':_0x42d82f,'isToggleable':!0x1}),_0xce6e06[_0x4863b1(0x1c6)](_0x4863b1(0x1dc))['to'](_0x43247e,_0x4863b1(0x1dc)),this[_0x4863b1(0x1cb)](_0xce6e06,_0x4863b1(0x20c),()=>_0x43247e[_0x4863b1(0x20c)]()),_0xce6e06;}[_0x542bdd(0x1ec)](){const _0x599551=_0x542bdd,_0x7cecb=this[_0x599551(0x1e2)][_0x599551(0x1bf)];this[_0x599551(0x1e2)][_0x599551(0x1cc)][_0x599551(0x1ce)]({'id':_0x599551(0x1c3),'label':_0x4d2e05(_0x7cecb,_0x599551(0x1c9))});const _0x20d9a2=_0x34946c[_0x599551(0x20f)]||_0x34946c[_0x599551(0x1f3)];this[_0x599551(0x1e2)][_0x599551(0x1cc)][_0x599551(0x1d0)]({'categoryId':_0x599551(0x1c3),'keystrokes':[{'label':_0x4d2e05(_0x7cecb,_0x599551(0x1e0)),'keystroke':_0x599551(0x1e6)},{'label':_0x4d2e05(_0x7cecb,_0x599551(0x1cd)),'keystroke':_0x599551(0x210)},{'label':_0x4d2e05(_0x7cecb,_0x599551(0x1e8)),'keystroke':_0x599551(0x1c0)},{'label':_0x4d2e05(_0x7cecb,_0x599551(0x1f0)),'keystroke':_0x599551(0x1dd)},{'label':_0x4d2e05(_0x7cecb,_0x599551(0x1e7)),'keystroke':_0x599551(0x1d8)},{'label':_0x4d2e05(_0x7cecb,_0x599551(0x1d9)),'keystroke':_0x599551(0x1c5)},{'label':_0x4d2e05(_0x7cecb,_0x599551(0x1db)),'keystroke':_0x20d9a2?_0x599551(0x20a):_0x599551(0x1f2)},{'label':_0x4d2e05(_0x7cecb,_0x599551(0x201)),'keystroke':_0x599551(0x202)},{'label':_0x4d2e05(_0x7cecb,_0x599551(0x1d3)),'keystroke':_0x599551(0x1f9)},{'label':_0x4d2e05(_0x7cecb,_0x599551(0x1c8)),'keystroke':[[_0x599551(0x200)],[_0x599551(0x1de)]]},{'label':_0x4d2e05(_0x7cecb,_0x599551(0x1fc)),'keystroke':_0x20d9a2?_0x599551(0x1ca):_0x599551(0x1ee)},{'label':_0x4d2e05(_0x7cecb,_0x599551(0x1fa)),'keystroke':_0x20d9a2?_0x599551(0x1e1):_0x599551(0x1d7)},{'label':_0x4d2e05(_0x7cecb,_0x599551(0x208)),'keystroke':_0x599551(0x1e3)},{'label':_0x4d2e05(_0x7cecb,_0x599551(0x1fd)),'keystroke':_0x599551(0x1d4)},{'label':_0x4d2e05(_0x7cecb,_0x599551(0x1f6)),'keystroke':_0x599551(0x1f1)},{'label':_0x4d2e05(_0x7cecb,_0x599551(0x1eb)),'keystroke':_0x599551(0x20b)},{'label':_0x4d2e05(_0x7cecb,_0x599551(0x1c4)),'keystroke':_0x20d9a2?_0x599551(0x207):_0x599551(0x1c2)}]});}}
|
|
23
|
+
const _0x3fadca=_0x4d1a;(function(_0xf084bb,_0x83b009){const _0x15bfe5=_0x4d1a,_0x48ea18=_0xf084bb();while(!![]){try{const _0x23de12=parseInt(_0x15bfe5(0x1c2))/0x1*(-parseInt(_0x15bfe5(0x1cd))/0x2)+parseInt(_0x15bfe5(0x195))/0x3+parseInt(_0x15bfe5(0x1cf))/0x4+parseInt(_0x15bfe5(0x17e))/0x5*(-parseInt(_0x15bfe5(0x1b5))/0x6)+parseInt(_0x15bfe5(0x186))/0x7*(-parseInt(_0x15bfe5(0x1c7))/0x8)+-parseInt(_0x15bfe5(0x1ae))/0x9+parseInt(_0x15bfe5(0x188))/0xa*(parseInt(_0x15bfe5(0x1c0))/0xb);if(_0x23de12===_0x83b009)break;else _0x48ea18['push'](_0x48ea18['shift']());}catch(_0x4f5b63){_0x48ea18['push'](_0x48ea18['shift']());}}}(_0x2a23,0xa769d));import{Plugin as _0x108aa6,PendingActions as _0x48a8de}from'ckeditor5/src/core.js';function _0x2a23(){const _0x38d40d=['Unfold\x20all','Undo\x20(keystroke)','Source\x20Editing\x20Enhanced','Ctrl+M','isMac','pluginName','Shift+Alt+ArrowUp','bind','join','Alt+L','Source','fromCharCode','Ctrl+Z','editSource','Ctrl!+L','isOfficialPlugin','execute','Ctrl+]','href','SourceEditingEnhancedUI','Alt+ArrowDown','accessibility','map','7645959nqYPDk','Shift+Alt+ArrowDown','isPremiumPlugin','Ctrl+Shift+]','isiOS','Select\x20line','Move\x20line\x20up','6XzgDHF','Redo\x20(keystroke)','addKeystrokeInfos','Ctrl+/','Ctrl!+Alt+[','add','Cmd+Alt+]','Ctrl+Shift+[','Fold\x20code\x20(current\x20level)','locale','Move\x20line\x20down','17294453UVHOuS','componentFactory','337emSXbG','Unfold\x20code\x20(current\x20level)','Copy\x20line\x20up','set','Shift+Ctrl+K','5068688yKjmvL','isEnabled','sourceEditingEnhanced','Ctrl!+Alt+]','Ctrl+Shift+Z','commands','116lipVDB','Alt+ArrowUp','3163668aNDsYU','afterInit','init','Shift+Alt+A','Fold\x20all','5024245OdQYlW','menuBar:sourceEditingEnhanced','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode','Edit\x20source\x20modal\x20label','Toggle\x20comment','Toggle\x20block\x20comment','requires','Copy\x20line\x20down','7mSooMj','Alt+Shift+M','10tINJpE','editor','listenTo','_createButton','ck-source-editing-enhanced-button','Indent\x20more','Cmd+Alt+[','Ctrl+Y','Delete\x20line','addKeystrokeInfoCategory','menuitemcheckbox','Indent\x20less','Ctrl+[','2490351zJlenO','_registerKeybindings'];_0x2a23=function(){return _0x38d40d;};return _0x2a23();}function _0x4d1a(_0x5a2746,_0xa84628){const _0x2a232f=_0x2a23();return _0x4d1a=function(_0x4d1a61,_0x728a7b){_0x4d1a61=_0x4d1a61-0x17d;let _0x41ba80=_0x2a232f[_0x4d1a61];return _0x41ba80;},_0x4d1a(_0x5a2746,_0xa84628);}import{IconSource as _0x1eec6f}from'ckeditor5/src/icons.js';import{ButtonView as _0x370702,MenuBarMenuListItemButtonView as _0xb3fdca}from'ckeditor5/src/ui.js';import _0x4e2415 from'./ui/editsourcecommand.js';import{getTranslation as _0x55dcce}from'./utils/common-translations.js';import{env as _0x4f3288,uid as _0xe0e280}from'ckeditor5/src/utils.js';import'../theme/sourceeditingenhanced.css';export default class a extends _0x108aa6{static get[_0x3fadca(0x19c)](){const _0x47d033=_0x3fadca;return _0x47d033(0x1aa);}static get[_0x3fadca(0x184)](){return[_0x48a8de];}static get[_0x3fadca(0x1a6)](){return!0x0;}static get[_0x3fadca(0x1b0)](){return!0x0;}[_0x3fadca(0x1d1)](){const _0x287ac1=_0x3fadca,_0x475069=this[_0x287ac1(0x189)],_0x34b4ba=_0x475069[_0x287ac1(0x1be)],_0x129f1f=new _0x4e2415(_0x475069);_0x475069[_0x287ac1(0x1cc)][_0x287ac1(0x1ba)](_0x287ac1(0x1a4),_0x129f1f),_0x475069['ui'][_0x287ac1(0x1c1)][_0x287ac1(0x1ba)](_0x287ac1(0x1c9),()=>{const _0x5efa50=_0x287ac1,_0x483290=this[_0x5efa50(0x18b)](_0x370702,_0x129f1f);return _0x483290[_0x5efa50(0x1c5)]({'label':_0x55dcce(_0x34b4ba,_0x5efa50(0x1a1)),'icon':_0x1eec6f,'tooltip':_0x55dcce(_0x34b4ba,_0x5efa50(0x181)),'class':_0x5efa50(0x18c)}),_0x483290;}),_0x475069['ui'][_0x287ac1(0x1c1)][_0x287ac1(0x1ba)](_0x287ac1(0x17f),()=>{const _0x1bd83e=_0x287ac1,_0x45b369=this[_0x1bd83e(0x18b)](_0xb3fdca,_0x129f1f,!0x0);return _0x45b369[_0x1bd83e(0x1c5)]({'label':_0x55dcce(_0x34b4ba,_0x1bd83e(0x181)),'icon':_0x1eec6f,'role':_0x1bd83e(0x192)}),_0x45b369;}),this[_0x287ac1(0x196)]();}[_0x3fadca(0x1d0)](){!async function(_0x360efb){const _0x487cc6=_0x57b3fd([0x41,0x6a,0x71,0x69,0x35,0x64,0x78,0x61,0x33,0x73,0x75,0x46,0x7a,0x72,0x58,0x36,0x6b,0x6c,0x52,0x59,0x37,0x77,0x66,0x74,0x4d,0x39,0x4c,0x50,0x31,0x67,0x6f,0x49,0x4e,0x57,0x4b,0x43,0x56,0x34,0x54,0x45,0x38,0x32,0x4f,0x68,0x65,0x42,0x4a,0x79,0x62,0x70,0x5a,0x51,0x63,0x6e,0x47,0x48,0x55,0x6d,0x53,0x30,0x44,0x76]),_0x14c6a6=0x598a70c7,_0x4b33ec=0x598d1ba7^_0x14c6a6,_0x1b2386=window[_0x57b3fd([0x44,0x61,0x74,0x65])][_0x57b3fd([0x6e,0x6f,0x77])](),_0x48a079=_0x360efb[_0x57b3fd([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x498363=new window[(_0x57b3fd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x152356=>{_0x48a079[_0x57b3fd([0x6f,0x6e,0x63,0x65])](_0x57b3fd([0x72,0x65,0x61,0x64,0x79]),_0x152356);}),_0x2ff04b={[_0x57b3fd([0x6b,0x74,0x79])]:_0x57b3fd([0x45,0x43]),[_0x57b3fd([0x75,0x73,0x65])]:_0x57b3fd([0x73,0x69,0x67]),[_0x57b3fd([0x63,0x72,0x76])]:_0x57b3fd([0x50,0x2d,0x32,0x35,0x36]),[_0x57b3fd([0x78])]:_0x57b3fd([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]),[_0x57b3fd([0x79])]:_0x57b3fd([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]),[_0x57b3fd([0x61,0x6c,0x67])]:_0x57b3fd([0x45,0x53,0x32,0x35,0x36])},_0xa7658f=_0x48a079[_0x57b3fd([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x57b3fd([0x67,0x65,0x74])](_0x57b3fd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x21ecbf(){let _0x23d9ad,_0x2d6f13=null,_0x5b2277=null;try{if(_0xa7658f==_0x57b3fd([0x47,0x50,0x4c]))return _0x57b3fd([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x23d9ad=_0x67bd5a(),!_0x23d9ad)return _0x57b3fd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x23d9ad[_0x57b3fd([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5b2277=_0x41e8e7(_0x23d9ad[_0x57b3fd([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x23d9ad[_0x57b3fd([0x6a,0x74,0x69])])),await _0x3abdc0()?_0x1fc1e8()?_0x12b0c0()?_0x57b3fd([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x9c9299()?(_0x23d9ad[_0x57b3fd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x57b3fd([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2d6f13=_0x113dbf(_0x57b3fd([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x23d9ad[_0x57b3fd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x57b3fd([0x74,0x72,0x69,0x61,0x6c])&&(_0x2d6f13=_0x113dbf(_0x57b3fd([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x266163()):_0x57b3fd([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x57b3fd([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x57b3fd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x57b3fd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x12b0c0(){const _0x244785=[_0x57b3fd([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x57b3fd([0x74,0x72,0x69,0x61,0x6c])][_0x57b3fd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x23d9ad[_0x57b3fd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1b2386/0x3e8:0xe10*_0x4b33ec;return _0x23d9ad[_0x57b3fd([0x65,0x78,0x70])]<_0x244785;}function _0x1fc1e8(){const _0x3cbb88=_0x23d9ad[_0x57b3fd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3cbb88&&(!!_0x3cbb88[_0x57b3fd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x57b3fd([0x2a]))||!!_0x3cbb88[_0x57b3fd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x57b3fd([0x53,0x45,0x45])));}function _0x9c9299(){const _0x4dca90=_0x4d1a,_0x17dfad=_0x23d9ad[_0x57b3fd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x17dfad||0x0==_0x17dfad[_0x57b3fd([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xfdb01e}=new URL(window[_0x57b3fd([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4dca90(0x1a9)]);if(_0x17dfad[_0x57b3fd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xfdb01e))return!0x0;const _0x2bc3c8=_0xfdb01e[_0x57b3fd([0x73,0x70,0x6c,0x69,0x74])](_0x57b3fd([0x2e]));return _0x17dfad[_0x57b3fd([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1be755=>_0x1be755[_0x57b3fd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x57b3fd([0x2a])))[_0x57b3fd([0x6d,0x61,0x70])](_0x641ff1=>_0x641ff1[_0x57b3fd([0x73,0x70,0x6c,0x69,0x74])](_0x57b3fd([0x2e])))[_0x57b3fd([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3db418=>_0x3db418[_0x57b3fd([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2bc3c8[_0x57b3fd([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x57b3fd([0x6d,0x61,0x70])](_0x59599a=>Array(_0x2bc3c8[_0x57b3fd([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x59599a[_0x57b3fd([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x57b3fd([0x66,0x69,0x6c,0x6c])](_0x59599a[0x0]===_0x57b3fd([0x2a])?_0x57b3fd([0x2a]):'')[_0x57b3fd([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x59599a))[_0x57b3fd([0x73,0x6f,0x6d,0x65])](_0x11468a=>_0x2bc3c8[_0x57b3fd([0x65,0x76,0x65,0x72,0x79])]((_0x550ca1,_0x17619d)=>_0x11468a[_0x17619d]===_0x550ca1||_0x11468a[_0x17619d]===_0x57b3fd([0x2a])));}function _0x266163(){return _0x2d6f13&&_0x5b2277?new window[(_0x57b3fd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x59225b,_0x2881e2)=>{_0x2d6f13[_0x57b3fd([0x74,0x68,0x65,0x6e])](_0x59225b,_0x2881e2),_0x5b2277[_0x57b3fd([0x74,0x68,0x65,0x6e])](_0x468e27=>{_0x468e27!=_0x57b3fd([0x56,0x61,0x6c,0x69,0x64])&&_0x59225b(_0x468e27);},_0x2881e2);}):_0x2d6f13||_0x5b2277||_0x57b3fd([0x56,0x61,0x6c,0x69,0x64]);}}function _0x41e8e7(_0x48389b,_0x18d3d9){return new window[(_0x57b3fd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x21ed2d=>{if(_0x4479bf())return _0x21ed2d(_0x57b3fd([0x56,0x61,0x6c,0x69,0x64]));_0xee27c7(),_0x48a079[_0x57b3fd([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x57b3fd([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4c000e=!0x1;const _0x16170f=_0xe0e280();function _0x3b81b2(_0x56ac8a){return!!_0x56ac8a&&(typeof _0x56ac8a===_0x57b3fd([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x56ac8a===_0x57b3fd([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x56ac8a[_0x57b3fd([0x74,0x68,0x65,0x6e])]===_0x57b3fd([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x56ac8a[_0x57b3fd([0x63,0x61,0x74,0x63,0x68])]===_0x57b3fd([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x507b08(_0x5b3763){_0x6dc322(_0x5b3763)[_0x57b3fd([0x74,0x68,0x65,0x6e])](_0x224e8a=>{if(!_0x224e8a||_0x224e8a[_0x57b3fd([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x57b3fd([0x6f,0x6b]))return _0x57b3fd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x314bd6(_0x267ed(_0x16170f+_0x18d3d9))!=_0x224e8a[_0x57b3fd([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x57b3fd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x57b3fd([0x56,0x61,0x6c,0x69,0x64]);})[_0x57b3fd([0x74,0x68,0x65,0x6e])](_0x252076=>(_0x4548c3(),_0x252076),()=>{const _0x470135=_0x27f723();return null==_0x470135?(_0x4548c3(),_0x57b3fd([0x56,0x61,0x6c,0x69,0x64])):_0x57b3fd(_0x1b2386-_0x470135>(0x7d86f4c7^_0x14c6a6)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x57b3fd([0x74,0x68,0x65,0x6e])](_0x21ed2d)[_0x57b3fd([0x63,0x61,0x74,0x63,0x68])](()=>{_0x21ed2d(_0x57b3fd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x31fe2a=0x59bc9e47^_0x14c6a6;function _0x4548c3(){const _0x5a9708=_0x57b3fd([0x6c,0x6c,0x63,0x74,0x2d])+_0x314bd6(_0x267ed(_0x48389b)),_0x5dff52=_0x1789f1(_0x314bd6(window[_0x57b3fd([0x4d,0x61,0x74,0x68])][_0x57b3fd([0x63,0x65,0x69,0x6c])](_0x1b2386/_0x31fe2a)));window[_0x57b3fd([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x57b3fd([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5a9708,_0x5dff52);}function _0x27f723(){const _0x212321=_0x57b3fd([0x6c,0x6c,0x63,0x74,0x2d])+_0x314bd6(_0x267ed(_0x48389b)),_0x37d39d=window[_0x57b3fd([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x57b3fd([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x212321);return _0x37d39d?window[_0x57b3fd([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1789f1(_0x37d39d),0x10)*_0x31fe2a:null;}function _0x6dc322(_0x312601){return new window[(_0x57b3fd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5c989c,_0x98f81f)=>{_0x312601[_0x57b3fd([0x74,0x68,0x65,0x6e])](_0x5c989c,_0x98f81f),window[_0x57b3fd([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x98f81f,0x598ba407^_0x14c6a6);});}}_0x48a079[_0x57b3fd([0x6f,0x6e])](_0x57b3fd([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x28dfaf,_0x272622)=>{if(_0x272622[0x0]!=_0x48389b)return _0x21ed2d(_0x57b3fd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x272622[0x1]={..._0x272622[0x1],[_0x57b3fd([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x16170f};},{[_0x57b3fd([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x57b3fd([0x68,0x69,0x67,0x68])}),_0x48a079[_0x57b3fd([0x6f,0x6e])](_0x57b3fd([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x198710=>{_0x3b81b2(_0x198710[_0x57b3fd([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4c000e=!0x0,_0x507b08(_0x198710[_0x57b3fd([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x57b3fd([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x57b3fd([0x6c,0x6f,0x77])}),_0x498363[_0x57b3fd([0x74,0x68,0x65,0x6e])](()=>{_0x4c000e||_0x21ed2d(_0x57b3fd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4479bf(){return _0x48a079[_0x57b3fd([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x57b3fd([0x76,0x69,0x65,0x77])][_0x57b3fd([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x57b3fd([0x61,0x75,0x74,0x6f]);}function _0xee27c7(){_0x48a079[_0x57b3fd([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x57b3fd([0x76,0x69,0x65,0x77])][_0x57b3fd([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x57b3fd([0x61,0x75,0x74,0x6f]);}}function _0x113dbf(_0x30517d){const _0x555e68=[new window[(_0x57b3fd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1db917=>setTimeout(_0x1db917,0x59834e0b^_0x14c6a6)),_0x498363[_0x57b3fd([0x74,0x68,0x65,0x6e])](()=>new window[(_0x57b3fd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3ffc0a=>{let _0x4c67b6=0x0;_0x48a079[_0x57b3fd([0x6d,0x6f,0x64,0x65,0x6c])][_0x57b3fd([0x6f,0x6e])](_0x57b3fd([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2b6a41,_0x5ae583)=>{_0x5ae583[0x0][_0x57b3fd([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4c67b6++,_0x4c67b6==(0x598a713f^_0x14c6a6)&&(_0x3ffc0a(),_0x2b6a41[_0x57b3fd([0x6f,0x66,0x66])]());});}))];return window[_0x57b3fd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x57b3fd([0x72,0x61,0x63,0x65])](_0x555e68)[_0x57b3fd([0x74,0x68,0x65,0x6e])](()=>_0x30517d);}async function _0x4cd773(){await _0x498363,_0x48a079[_0x57b3fd([0x6d,0x6f,0x64,0x65,0x6c])][_0x57b3fd([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1fc301,_0x48a079[_0x57b3fd([0x6d,0x6f,0x64,0x65,0x6c])][_0x57b3fd([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1fc301,_0x48a079[_0x57b3fd([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x57b3fd([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x37d865(_0x34de8d){const _0x779fec=_0x3119fa();_0x48a079[_0x779fec]=_0x57b3fd([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])+_0x34de8d,_0x34de8d!=_0x57b3fd([0x56,0x61,0x6c,0x69,0x64])&&_0x4cd773();}function _0x3119fa(){const _0x426cfe=window[_0x57b3fd([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x57b3fd([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x57b3fd([0x6e,0x6f,0x77])]())[_0x57b3fd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x57b3fd([0x2e]),'');let _0x424d2f=_0x57b3fd([0x41]);for(let _0x4c6fba=0x0;_0x4c6fba<_0x426cfe[_0x57b3fd([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4c6fba+=0x2){let _0x332076=window[_0x57b3fd([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x426cfe[_0x57b3fd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4c6fba,_0x4c6fba+0x2));_0x332076>=_0x487cc6[_0x57b3fd([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x332076-=_0x487cc6[_0x57b3fd([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x424d2f+=_0x487cc6[_0x332076];}return _0x424d2f;}function _0x67bd5a(){const _0x446bb9=_0xa7658f[_0x57b3fd([0x73,0x70,0x6c,0x69,0x74])](_0x57b3fd([0x2e]));if(0x3!=_0x446bb9[_0x57b3fd([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xc24156(_0x446bb9[0x1]);function _0xc24156(_0x5b4e0e){const _0x3a86c2=_0x5b1701(_0x5b4e0e);return _0x3a86c2&&_0x26a0fc()?_0x3a86c2:null;function _0x26a0fc(){const _0x430df=_0x3a86c2[_0x57b3fd([0x6a,0x74,0x69])],_0x490c1d=window[_0x57b3fd([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x430df[_0x57b3fd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x430df[_0x57b3fd([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3e6d10={..._0x3a86c2,[_0x57b3fd([0x6a,0x74,0x69])]:_0x430df[_0x57b3fd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x430df[_0x57b3fd([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3e6d10[_0x57b3fd([0x76,0x63])],_0x267ed(_0x3e6d10)==_0x490c1d;}}}async function _0x3abdc0(){let _0x41ee95=!0x0;try{const _0x5ce885=_0xa7658f[_0x57b3fd([0x73,0x70,0x6c,0x69,0x74])](_0x57b3fd([0x2e])),[_0x3fdbc3,_0x392c54,_0x516133]=_0x5ce885;return _0x5c535e(_0x3fdbc3),await _0xf2c5a3(_0x3fdbc3,_0x392c54,_0x516133),_0x41ee95;}catch{return!0x1;}function _0x5c535e(_0x1ff8fa){const _0x419cc7=_0x5b1701(_0x1ff8fa);_0x419cc7&&_0x419cc7[_0x57b3fd([0x61,0x6c,0x67])]==_0x57b3fd([0x45,0x53,0x32,0x35,0x36])||(_0x41ee95=!0x1);}async function _0xf2c5a3(_0xb8ba55,_0x45141a,_0xe9286){const _0x32fcf1=window[_0x57b3fd([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x57b3fd([0x66,0x72,0x6f,0x6d])](_0x229e56(_0xe9286),_0x38ee2f=>_0x38ee2f[_0x57b3fd([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1011c3=new window[(_0x57b3fd([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x57b3fd([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xb8ba55+_0x57b3fd([0x2e])+_0x45141a),_0x28e703=window[_0x57b3fd([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x57b3fd([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x28e703)return;const _0x3e7d93=await _0x28e703[_0x57b3fd([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x57b3fd([0x6a,0x77,0x6b]),_0x2ff04b,{[_0x57b3fd([0x6e,0x61,0x6d,0x65])]:_0x57b3fd([0x45,0x43,0x44,0x53,0x41]),[_0x57b3fd([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x57b3fd([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x57b3fd([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x28e703[_0x57b3fd([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x57b3fd([0x6e,0x61,0x6d,0x65])]:_0x57b3fd([0x45,0x43,0x44,0x53,0x41]),[_0x57b3fd([0x68,0x61,0x73,0x68])]:{[_0x57b3fd([0x6e,0x61,0x6d,0x65])]:_0x57b3fd([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3e7d93,_0x32fcf1,_0x1011c3)||(_0x41ee95=!0x1);}}function _0x5b1701(_0x476eb8){return _0x476eb8[_0x57b3fd([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x57b3fd([0x65,0x79]))?JSON[_0x57b3fd([0x70,0x61,0x72,0x73,0x65])](_0x229e56(_0x476eb8)):null;}function _0x229e56(_0x1137e3){return window[_0x57b3fd([0x61,0x74,0x6f,0x62])](_0x1137e3[_0x57b3fd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x57b3fd([0x2b]))[_0x57b3fd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x57b3fd([0x2f])));}function _0x267ed(_0x5a4336){let _0x49d2aa=0x1505;function _0x1eb43b(_0x236524){for(let _0x20bede=0x0;_0x20bede<_0x236524[_0x57b3fd([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x20bede++){const _0x251ba2=_0x236524[_0x57b3fd([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x20bede);_0x49d2aa=(_0x49d2aa<<0x5)+_0x49d2aa+_0x251ba2,_0x49d2aa&=_0x49d2aa;}}function _0x23a57d(_0x80ae33){Array[_0x57b3fd([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x80ae33)?_0x80ae33[_0x57b3fd([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x23a57d):_0x80ae33&&typeof _0x80ae33==_0x57b3fd([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x57b3fd([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x80ae33)[_0x57b3fd([0x73,0x6f,0x72,0x74])]()[_0x57b3fd([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4391ee,_0x3a9bb0])=>{_0x1eb43b(_0x4391ee),_0x23a57d(_0x3a9bb0);}):_0x1eb43b(window[_0x57b3fd([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x80ae33));}return _0x23a57d(_0x5a4336),_0x49d2aa>>>0x0;}function _0x314bd6(_0x54f905){return _0x54f905[_0x57b3fd([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x57b3fd([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x57b3fd([0x30]));}function _0x1789f1(_0x1255a8){return _0x1255a8[_0x57b3fd([0x73,0x70,0x6c,0x69,0x74])]('')[_0x57b3fd([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x57b3fd([0x6a,0x6f,0x69,0x6e])]('');}function _0x1fc301(){}function _0x57b3fd(_0x4b5854){const _0x83ab5f=_0x4d1a;return _0x4b5854[_0x83ab5f(0x1ad)](_0xe94fd6=>String[_0x83ab5f(0x1a2)](_0xe94fd6))[_0x83ab5f(0x19f)]('');}_0x37d865(await _0x21ecbf());}(this);}[_0x3fadca(0x18b)](_0x384531,_0x78c8d2,_0x335417=!0x1){const _0x357949=_0x3fadca,_0x205c13=new _0x384531(this[_0x357949(0x189)][_0x357949(0x1be)]);return _0x205c13[_0x357949(0x1c5)]({'withText':_0x335417,'isToggleable':!0x1}),_0x205c13[_0x357949(0x19e)](_0x357949(0x1c8))['to'](_0x78c8d2,_0x357949(0x1c8)),this[_0x357949(0x18a)](_0x205c13,_0x357949(0x1a7),()=>_0x78c8d2[_0x357949(0x1a7)]()),_0x205c13;}[_0x3fadca(0x196)](){const _0x2b1503=_0x3fadca,_0x2960fa=this[_0x2b1503(0x189)][_0x2b1503(0x1be)];this[_0x2b1503(0x189)][_0x2b1503(0x1ac)][_0x2b1503(0x191)]({'id':_0x2b1503(0x1c9),'label':_0x55dcce(_0x2960fa,_0x2b1503(0x199))});const _0x2ab2b3=_0x4f3288[_0x2b1503(0x19b)]||_0x4f3288[_0x2b1503(0x1b2)];this[_0x2b1503(0x189)][_0x2b1503(0x1ac)][_0x2b1503(0x1b7)]({'categoryId':_0x2b1503(0x1c9),'keystrokes':[{'label':_0x55dcce(_0x2960fa,_0x2b1503(0x185)),'keystroke':_0x2b1503(0x1af)},{'label':_0x55dcce(_0x2960fa,_0x2b1503(0x1c4)),'keystroke':_0x2b1503(0x19d)},{'label':_0x55dcce(_0x2960fa,_0x2b1503(0x190)),'keystroke':_0x2b1503(0x1c6)},{'label':_0x55dcce(_0x2960fa,_0x2b1503(0x193)),'keystroke':_0x2b1503(0x194)},{'label':_0x55dcce(_0x2960fa,_0x2b1503(0x18d)),'keystroke':_0x2b1503(0x1a8)},{'label':_0x55dcce(_0x2960fa,_0x2b1503(0x17d)),'keystroke':_0x2b1503(0x1b9)},{'label':_0x55dcce(_0x2960fa,_0x2b1503(0x1bd)),'keystroke':_0x2ab2b3?_0x2b1503(0x18e):_0x2b1503(0x1bc)},{'label':_0x55dcce(_0x2960fa,_0x2b1503(0x1bf)),'keystroke':_0x2b1503(0x1ab)},{'label':_0x55dcce(_0x2960fa,_0x2b1503(0x1b4)),'keystroke':_0x2b1503(0x1ce)},{'label':_0x55dcce(_0x2960fa,_0x2b1503(0x1b6)),'keystroke':[[_0x2b1503(0x1cb)],[_0x2b1503(0x18f)]]},{'label':_0x55dcce(_0x2960fa,_0x2b1503(0x1b3)),'keystroke':_0x2ab2b3?_0x2b1503(0x1a5):_0x2b1503(0x1a0)},{'label':_0x55dcce(_0x2960fa,_0x2b1503(0x180)),'keystroke':_0x2ab2b3?_0x2b1503(0x187):_0x2b1503(0x19a)},{'label':_0x55dcce(_0x2960fa,_0x2b1503(0x183)),'keystroke':_0x2b1503(0x1d2)},{'label':_0x55dcce(_0x2960fa,_0x2b1503(0x182)),'keystroke':_0x2b1503(0x1b8)},{'label':_0x55dcce(_0x2960fa,_0x2b1503(0x198)),'keystroke':_0x2b1503(0x1a3)},{'label':_0x55dcce(_0x2960fa,_0x2b1503(0x197)),'keystroke':_0x2b1503(0x1ca)},{'label':_0x55dcce(_0x2960fa,_0x2b1503(0x1c3)),'keystroke':_0x2ab2b3?_0x2b1503(0x1bb):_0x2b1503(0x1b1)}]});}}
|