@ckeditor/ckeditor5-source-editing-enhanced 46.0.2-alpha.1 → 46.0.2

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 _0x4ce2d0,PendingActions as _0xabd8dc,Plugin as _0x194c09}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0xabc8fa,formatHtml as _0x124d9a,env as _0x3e130a,uid as _0x33feb5}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconSource as _0x33b5fd}from'@ckeditor/ckeditor5-icons/dist/index.js';import{View as _0x2f2db5,ButtonView as _0x4be6fc,MenuBarMenuListItemButtonView as _0x5192db}from'@ckeditor/ckeditor5-ui/dist/index.js';import{EditorView as _0x29103c,crosshairCursor as _0x46219f,drawSelection as _0x460eb3,dropCursor as _0x419e4,lineNumbers as _0x5d635c,highlightActiveLine as _0x1c3b31,highlightActiveLineGutter as _0x36d618,highlightSpecialChars as _0x3e7c4c,rectangularSelection as _0x32c61f,keymap as _0x522f92}from'@codemirror/view';import{Compartment as _0x55ab04,Transaction as _0x5d49cd}from'@codemirror/state';import{bracketMatching as _0x3b7dcb,foldGutter as _0x517639,indentOnInput as _0x117a2a,syntaxHighlighting as _0x1d2ce0,defaultHighlightStyle as _0x21e46d,foldKeymap as _0x3498db}from'@codemirror/language';import{toggleTabFocusMode as _0x24edc7,history as _0x32c7de,defaultKeymap as _0x1985b9,historyKeymap as _0x5aeec2,indentLess as _0x4ad51f,indentMore as _0x389542,redo as _0x11233f,undo as _0x1e1838}from'@codemirror/commands';import{autocompletion as _0x480415,closeBrackets as _0x36f9d3,closeBracketsKeymap as _0x2a6fd5,completionKeymap as _0x183b7c}from'@codemirror/autocomplete';import{html as _0x109687}from'@codemirror/lang-html';import{markdown as _0x63247b}from'@codemirror/lang-markdown';import{oneDark as _0x2384cf}from'@codemirror/theme-one-dark';function w(_0x4793cb,_0x146ab9){const t=_0x4793cb['t'];switch(_0x146ab9){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 _0x146ab9;}}function r(_0x49c3dd){const _0x547f02=_0x49c3dd['editing']['view']['document']['roots'],_0x32afc8=_0x547f02['length'];if(0x0===_0x32afc8)throw new _0xabc8fa('source-editing-enhanced-editor-no-root',_0x49c3dd);if(0x1===_0x32afc8)return _0x547f02['first']['rootName'];return Array['from'](_0x49c3dd['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function $(_0x8626f3){return X(_0x8626f3['replace'](/^[\n\s]*/g,''))?_0x8626f3['replace'](/\s+/g,''):_0x8626f3;}function X(_0x5b9b6d){return _0x5b9b6d['startsWith']('<');}function Y(_0x32cd66){const _0x59caaf=[_0x29103c['lineWrapping'],_0x480415(),_0x3b7dcb(),_0x36f9d3(),_0x46219f(),_0x460eb3(),_0x419e4(),_0x5d635c(),_0x517639(),_0x1c3b31(),_0x36d618(),_0x3e7c4c(),_0x32c7de(),_0x117a2a(),_0x32c61f(),_0x1d2ce0(_0x21e46d,{'fallback':!0x0})],_0x483379=new _0x55ab04();_0x59caaf['push'](_0x483379['of'](_0x29103c['editable']['of'](!0x0))),'html'===_0x32cd66['syntaxLanguage']?_0x59caaf['push'](_0x109687()):_0x59caaf['push'](_0x63247b());const _0x522ee1=function(_0x1fb189){if(_0x1fb189&&'default'!==_0x1fb189)return'dark'===_0x1fb189?_0x2384cf:_0x1fb189;return null;}(_0x32cd66['theme']);_0x522ee1&&_0x59caaf['push'](_0x522ee1),_0x59caaf['push'](_0x522f92['of']([..._0x2a6fd5,..._0x1985b9,..._0x5aeec2,..._0x3498db,..._0x183b7c,{'key':'Tab','run':_0x389542,'shift':_0x4ad51f,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-y','mac':'Cmd-y','run':_0x11233f,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-Shift-z','mac':'Cmd-Shift-z','run':_0x11233f,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-z','mac':'Cmd-z','run':_0x1e1838,'preventDefault':!0x0,'stopPropagation':!0x0}]));const _0x7cecd8=new _0x29103c({'extensions':_0x59caaf,'parent':_0x32cd66['parent']});return _0x24edc7(_0x7cecd8),{'focus':()=>{_0x7cecd8['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x7cecd8['focus']();},'getData':()=>_0x7cecd8['state']['doc']['toString'](),'setData':_0x3fa14e=>{_0x7cecd8['dispatch']({'changes':{'from':0x0,'to':_0x7cecd8['state']['doc']['length'],'insert':_0x3fa14e},'annotations':_0x5d49cd['addToHistory']['of'](!0x1)});},'setReadOnly':_0x1959ad=>{_0x7cecd8['dispatch']({'effects':[_0x483379['reconfigure'](_0x29103c['editable']['of'](!_0x1959ad))]});},'destroy':()=>{_0x7cecd8['destroy']();},'instance':_0x7cecd8};}class ee extends _0x2f2db5{['_codeEditorApi']=null;['_options'];constructor(_0x577d60,_0x5e07fd){super(_0x577d60),this['_options']=_0x5e07fd,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']=Y({'parent':this['element'],'syntaxLanguage':this['_options']['syntaxLanguage'],'theme':this['_options']['theme']}),this['on']('change:isReadOnly',(_0x1f14e0,_0x474965,_0x28ef71)=>{this['setReadOnly'](_0x28ef71);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0x26f5eb){this['_codeEditorApi']['setData'](_0x26f5eb);}['setReadOnly'](_0x13344f){this['_codeEditorApi']['setReadOnly'](_0x13344f);}}const te='SourceEditingEnhancedMode';class d extends _0x4ce2d0{constructor(_0x287664){super(_0x287664),this['affectsData']=!0x1,this['editor']['plugins']['get'](_0xabd8dc)['on']('change:hasAny',(_0x38849a,_0x4feb6a,_0x20b1fa)=>{_0x20b1fa?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['_disableCommands'](){const _0x6818ad=this['editor'];for(const _0x21d61a of _0x6818ad['commands']['names']())['replaceSource','editSource']['includes'](_0x21d61a)||_0x6818ad['commands']['get'](_0x21d61a)['forceDisabled'](te);}['_enableCommands'](){const _0x4ec40a=this['editor'];for(const _0x52b9a0 of _0x4ec40a['commands']['commands']())_0x52b9a0['clearForceDisabled'](te);}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0xc558d5=this['editor'],_0x576e9c=_0xc558d5['locale'],_0xa3d19b=_0xc558d5['plugins']['get']('Dialog'),_0x14362b=r(_0xc558d5),_0x9b280e=_0xc558d5['data']['get']({'rootName':_0x14362b}),_0x1a55b2=X(_0x238baf=_0x9b280e)?_0x124d9a(_0x238baf):_0x238baf;var _0x238baf;const _0x120d43=new ee(_0x576e9c,{'syntaxLanguage':_0xc558d5['plugins']['has']('Markdown')?'markdown':'html','theme':_0xc558d5['config']['get']('sourceEditingEnhanced.theme')});let _0x310195=!0x0;const _0x226737=_0x336618=>{if(!_0x310195)return;return $(_0x120d43['getData']())!==$(_0x1a55b2)?window['confirm'](w(_0x576e9c,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0x336618['stop']():void 0x0;};_0xa3d19b['show']({'id':'sourceEditingEnhanced','title':w(_0x576e9c,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0x120d43,'actionButtons':[{'label':w(_0x576e9c,'Cancel'),'withText':!0x0,'onExecute':()=>{_0xa3d19b['hide']();}},{'label':w(_0x576e9c,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0x73b7f3=$(_0x120d43['getData']())!==$(_0x1a55b2);(_0x73b7f3&&_0xc558d5['execute']('replaceSource',_0x120d43['getData']()),_0x310195=!0x1,_0xa3d19b['hide'](),_0x73b7f3&&'editables'in _0xc558d5['ui']['view'])&&_0xc558d5['ui']['view']['editables'][_0x14362b]['element']['focus']();},'onCreate':_0x1ff96f=>{_0x1ff96f['set']('isEnabled',!_0xc558d5['isReadOnly']),_0x1ff96f['bind']('isEnabled')['to'](_0xc558d5,'isReadOnly',this,'isEnabled',(_0x5aa412,_0x2599e4)=>!_0x5aa412&&_0x2599e4);}}],'onHide':()=>{this['_enableCommands'](),_0xa3d19b['off']('hide',_0x226737),_0x120d43['destroy']();},'onShow':()=>{_0x120d43['bind']('isReadOnly')['to'](_0xc558d5,'isReadOnly',this,'isEnabled',(_0x3cc325,_0x3ed915)=>_0x3cc325||!_0x3ed915),_0x120d43['setData'](_0x1a55b2),_0x120d43['focus'](),_0xa3d19b['on']('hide',_0x226737,{'priority':'highest'}),this['_disableCommands']();}});}}class a extends _0x194c09{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[_0xabd8dc];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x5e07ed=this['editor'],_0x2cbaac=_0x5e07ed['locale'],_0x4fb775=new d(_0x5e07ed);_0x5e07ed['commands']['add']('editSource',_0x4fb775),_0x5e07ed['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0x54d408=this['_createButton'](_0x4be6fc,_0x4fb775);return _0x54d408['set']({'label':w(_0x2cbaac,'Source'),'icon':_0x33b5fd,'tooltip':w(_0x2cbaac,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0x54d408;}),_0x5e07ed['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0x41140d=this['_createButton'](_0x5192db,_0x4fb775,!0x0);return _0x41140d['set']({'label':w(_0x2cbaac,'Edit\x20source\x20modal\x20label'),'icon':_0x33b5fd,'role':'menuitemcheckbox'}),_0x41140d;}),this['_registerKeybindings']();}['afterInit'](){!async function(_0x2fcde7){const _0x1b5a00=_0x298917([0x4c,0x7a,0x43,0x4f,0x46,0x54,0x51,0x30,0x33,0x55,0x79,0x4e,0x61,0x53,0x63,0x64,0x50,0x76,0x75,0x56,0x41,0x6d,0x74,0x57,0x42,0x32,0x68,0x4d,0x78,0x48,0x66,0x49,0x37,0x4b,0x34,0x4a,0x73,0x6e,0x36,0x45,0x6b,0x47,0x31,0x67,0x6a,0x6c,0x38,0x70,0x44,0x59,0x58,0x39,0x6f,0x52,0x72,0x35,0x77,0x69,0x5a,0x65,0x71,0x62]),_0x559bee=0x10b1a902,_0x5aba3f=0x10b6d9ea^_0x559bee,_0x315322=window[_0x298917([0x44,0x61,0x74,0x65])][_0x298917([0x6e,0x6f,0x77])](),_0x34deb6=_0x2fcde7[_0x298917([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x121495=new window[(_0x298917([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xa730bc=>{_0x34deb6[_0x298917([0x6f,0x6e,0x63,0x65])](_0x298917([0x72,0x65,0x61,0x64,0x79]),_0xa730bc);}),_0x89616d={[_0x298917([0x6b,0x74,0x79])]:_0x298917([0x45,0x43]),[_0x298917([0x75,0x73,0x65])]:_0x298917([0x73,0x69,0x67]),[_0x298917([0x63,0x72,0x76])]:_0x298917([0x50,0x2d,0x32,0x35,0x36]),[_0x298917([0x78])]:_0x298917([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]),[_0x298917([0x79])]:_0x298917([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]),[_0x298917([0x61,0x6c,0x67])]:_0x298917([0x45,0x53,0x32,0x35,0x36])},_0x3cc4f6=_0x34deb6[_0x298917([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x298917([0x67,0x65,0x74])](_0x298917([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x343c40(){let _0x34ad10,_0xa432a5=null,_0x4af433=null;try{if(_0x3cc4f6==_0x298917([0x47,0x50,0x4c]))return _0x298917([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x34ad10=_0x277614(),!_0x34ad10)return _0x298917([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x34ad10[_0x298917([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4af433=_0x5ce733(_0x34ad10[_0x298917([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x34ad10[_0x298917([0x6a,0x74,0x69])])),await _0x719afe()?_0x11be56()?_0xac952a()?_0x298917([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x141b98()?(_0x34ad10[_0x298917([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x298917([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xa432a5=_0x3f93be(_0x298917([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x34ad10[_0x298917([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x298917([0x74,0x72,0x69,0x61,0x6c])&&(_0xa432a5=_0x3f93be(_0x298917([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x27f260()):_0x298917([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x298917([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x298917([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x298917([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xac952a(){const _0x52bfa0=[_0x298917([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x298917([0x74,0x72,0x69,0x61,0x6c])][_0x298917([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x34ad10[_0x298917([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x315322/0x3e8:0xe10*_0x5aba3f;return _0x34ad10[_0x298917([0x65,0x78,0x70])]<_0x52bfa0;}function _0x11be56(){const _0x210047=_0x34ad10[_0x298917([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x210047&&(!!_0x210047[_0x298917([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x298917([0x2a]))||!!_0x210047[_0x298917([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x298917([0x53,0x45,0x45])));}function _0x141b98(){const _0x1e663b=_0x34ad10[_0x298917([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1e663b||0x0==_0x1e663b[_0x298917([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1f2129}=new URL(window[_0x298917([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x1e663b[_0x298917([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1f2129))return!0x0;const _0x1d10bf=_0x1f2129[_0x298917([0x73,0x70,0x6c,0x69,0x74])](_0x298917([0x2e]));return _0x1e663b[_0x298917([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x437b29=>_0x437b29[_0x298917([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x298917([0x2a])))[_0x298917([0x6d,0x61,0x70])](_0x25bbaf=>_0x25bbaf[_0x298917([0x73,0x70,0x6c,0x69,0x74])](_0x298917([0x2e])))[_0x298917([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x191e76=>_0x191e76[_0x298917([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1d10bf[_0x298917([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x298917([0x6d,0x61,0x70])](_0x6add5e=>Array(_0x1d10bf[_0x298917([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x6add5e[_0x298917([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x298917([0x66,0x69,0x6c,0x6c])](_0x6add5e[0x0]===_0x298917([0x2a])?_0x298917([0x2a]):'')[_0x298917([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x6add5e))[_0x298917([0x73,0x6f,0x6d,0x65])](_0x7fa7e1=>_0x1d10bf[_0x298917([0x65,0x76,0x65,0x72,0x79])]((_0x35050f,_0x59cdb9)=>_0x7fa7e1[_0x59cdb9]===_0x35050f||_0x7fa7e1[_0x59cdb9]===_0x298917([0x2a])));}function _0x27f260(){return _0xa432a5&&_0x4af433?new window[(_0x298917([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x42c7a6,_0x1aadaf)=>{_0xa432a5[_0x298917([0x74,0x68,0x65,0x6e])](_0x42c7a6,_0x1aadaf),_0x4af433[_0x298917([0x74,0x68,0x65,0x6e])](_0xee6a50=>{_0xee6a50!=_0x298917([0x56,0x61,0x6c,0x69,0x64])&&_0x42c7a6(_0xee6a50);},_0x1aadaf);}):_0xa432a5||_0x4af433||_0x298917([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5ce733(_0xdbee96,_0x16173f){return new window[(_0x298917([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x357902=>{if(_0x162067())return _0x357902(_0x298917([0x56,0x61,0x6c,0x69,0x64]));_0x12665f(),_0x34deb6[_0x298917([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x298917([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x557d70=!0x1;const _0x38c298=_0x33feb5();function _0xfe953(_0x108ad4){return!!_0x108ad4&&(typeof _0x108ad4===_0x298917([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x108ad4===_0x298917([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x108ad4[_0x298917([0x74,0x68,0x65,0x6e])]===_0x298917([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x108ad4[_0x298917([0x63,0x61,0x74,0x63,0x68])]===_0x298917([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1bd75c(_0x2878ae){_0x331b7b(_0x2878ae)[_0x298917([0x74,0x68,0x65,0x6e])](_0x36d330=>{if(!_0x36d330||_0x36d330[_0x298917([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x298917([0x6f,0x6b]))return _0x298917([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x27df91(_0x33c0f9(_0x38c298+_0x16173f))!=_0x36d330[_0x298917([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x298917([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x298917([0x56,0x61,0x6c,0x69,0x64]);})[_0x298917([0x74,0x68,0x65,0x6e])](_0x369945=>(_0x25a628(),_0x369945),()=>{const _0x2c58f7=_0x58e508();return null==_0x2c58f7?(_0x25a628(),_0x298917([0x56,0x61,0x6c,0x69,0x64])):_0x298917(_0x315322-_0x2c58f7>(0x34bd2d02^_0x559bee)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x298917([0x74,0x68,0x65,0x6e])](_0x357902)[_0x298917([0x63,0x61,0x74,0x63,0x68])](()=>{_0x357902(_0x298917([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x228849=0x10874782^_0x559bee;function _0x25a628(){const _0x3b5aeb=_0x298917([0x6c,0x6c,0x63,0x74,0x2d])+_0x27df91(_0x33c0f9(_0xdbee96)),_0x34e622=_0x35ba2f(_0x27df91(window[_0x298917([0x4d,0x61,0x74,0x68])][_0x298917([0x63,0x65,0x69,0x6c])](_0x315322/_0x228849)));window[_0x298917([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x298917([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3b5aeb,_0x34e622);}function _0x58e508(){const _0x46a96e=_0x298917([0x6c,0x6c,0x63,0x74,0x2d])+_0x27df91(_0x33c0f9(_0xdbee96)),_0x3cc5cf=window[_0x298917([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x298917([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x46a96e);return _0x3cc5cf?window[_0x298917([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x35ba2f(_0x3cc5cf),0x10)*_0x228849:null;}function _0x331b7b(_0x32a265){return new window[(_0x298917([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5e2691,_0x1e4d94)=>{_0x32a265[_0x298917([0x74,0x68,0x65,0x6e])](_0x5e2691,_0x1e4d94),window[_0x298917([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1e4d94,0x10b07dc2^_0x559bee);});}}_0x34deb6[_0x298917([0x6f,0x6e])](_0x298917([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4f542c,_0x1c2fe1)=>{if(_0x1c2fe1[0x0]!=_0xdbee96)return _0x357902(_0x298917([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1c2fe1[0x1]={..._0x1c2fe1[0x1],[_0x298917([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x38c298};},{[_0x298917([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x298917([0x68,0x69,0x67,0x68])}),_0x34deb6[_0x298917([0x6f,0x6e])](_0x298917([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3048dc=>{_0xfe953(_0x3048dc[_0x298917([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x557d70=!0x0,_0x1bd75c(_0x3048dc[_0x298917([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x298917([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x298917([0x6c,0x6f,0x77])}),_0x121495[_0x298917([0x74,0x68,0x65,0x6e])](()=>{_0x557d70||_0x357902(_0x298917([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x162067(){return _0x34deb6[_0x298917([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x298917([0x76,0x69,0x65,0x77])][_0x298917([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x298917([0x61,0x75,0x74,0x6f]);}function _0x12665f(){_0x34deb6[_0x298917([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x298917([0x76,0x69,0x65,0x77])][_0x298917([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x298917([0x61,0x75,0x74,0x6f]);}}function _0x3f93be(_0x8b7615){const _0x48eacd=[new window[(_0x298917([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x176631=>setTimeout(_0x176631,0x10b897ce^_0x559bee)),_0x121495[_0x298917([0x74,0x68,0x65,0x6e])](()=>new window[(_0x298917([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1da529=>{let _0x2dfee0=0x0;_0x34deb6[_0x298917([0x6d,0x6f,0x64,0x65,0x6c])][_0x298917([0x6f,0x6e])](_0x298917([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x43be5e,_0xa02025)=>{_0xa02025[0x0][_0x298917([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2dfee0++,_0x2dfee0==(0x10b1a8fa^_0x559bee)&&(_0x1da529(),_0x43be5e[_0x298917([0x6f,0x66,0x66])]());});}))];return window[_0x298917([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x298917([0x72,0x61,0x63,0x65])](_0x48eacd)[_0x298917([0x74,0x68,0x65,0x6e])](()=>_0x8b7615);}async function _0xd5e513(){await _0x121495,_0x34deb6[_0x298917([0x6d,0x6f,0x64,0x65,0x6c])][_0x298917([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5a1b7f,_0x34deb6[_0x298917([0x6d,0x6f,0x64,0x65,0x6c])][_0x298917([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5a1b7f,_0x34deb6[_0x298917([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x298917([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2c5de3(_0x4733f7){const _0x59df62=_0x544ddd();_0x34deb6[_0x59df62]=_0x298917([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])+_0x4733f7,_0x4733f7!=_0x298917([0x56,0x61,0x6c,0x69,0x64])&&_0xd5e513();}function _0x544ddd(){const _0x38ae10=window[_0x298917([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x298917([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x298917([0x6e,0x6f,0x77])]())[_0x298917([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x298917([0x2e]),'');let _0x8a63df=_0x298917([0x4c]);for(let _0x58ad58=0x0;_0x58ad58<_0x38ae10[_0x298917([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x58ad58+=0x2){let _0x133fc6=window[_0x298917([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x38ae10[_0x298917([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x58ad58,_0x58ad58+0x2));_0x133fc6>=_0x1b5a00[_0x298917([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x133fc6-=_0x1b5a00[_0x298917([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x8a63df+=_0x1b5a00[_0x133fc6];}return _0x8a63df;}function _0x277614(){const _0x1a203c=_0x3cc4f6[_0x298917([0x73,0x70,0x6c,0x69,0x74])](_0x298917([0x2e]));if(0x3!=_0x1a203c[_0x298917([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5b5fd9(_0x1a203c[0x1]);function _0x5b5fd9(_0x4914e6){const _0x1cd10d=_0x183961(_0x4914e6);return _0x1cd10d&&_0x365fd2()?_0x1cd10d:null;function _0x365fd2(){const _0x5a5aeb=_0x1cd10d[_0x298917([0x6a,0x74,0x69])],_0x48067a=window[_0x298917([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5a5aeb[_0x298917([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5a5aeb[_0x298917([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3d227d={..._0x1cd10d,[_0x298917([0x6a,0x74,0x69])]:_0x5a5aeb[_0x298917([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5a5aeb[_0x298917([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3d227d[_0x298917([0x76,0x63])],_0x33c0f9(_0x3d227d)==_0x48067a;}}}async function _0x719afe(){let _0x337fe5=!0x0;try{const _0x125ae8=_0x3cc4f6[_0x298917([0x73,0x70,0x6c,0x69,0x74])](_0x298917([0x2e])),[_0x4b7259,_0x2be6bd,_0x2959a2]=_0x125ae8;return _0x1d3467(_0x4b7259),await _0x437d8e(_0x4b7259,_0x2be6bd,_0x2959a2),_0x337fe5;}catch{return!0x1;}function _0x1d3467(_0x33f5fc){const _0x118056=_0x183961(_0x33f5fc);_0x118056&&_0x118056[_0x298917([0x61,0x6c,0x67])]==_0x298917([0x45,0x53,0x32,0x35,0x36])||(_0x337fe5=!0x1);}async function _0x437d8e(_0x329726,_0x40c183,_0x5cc61e){const _0x31c00c=window[_0x298917([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x298917([0x66,0x72,0x6f,0x6d])](_0x261ec4(_0x5cc61e),_0x49400a=>_0x49400a[_0x298917([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1aca59=new window[(_0x298917([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x298917([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x329726+_0x298917([0x2e])+_0x40c183),_0x1861b3=window[_0x298917([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x298917([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1861b3)return;const _0x4f716a=await _0x1861b3[_0x298917([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x298917([0x6a,0x77,0x6b]),_0x89616d,{[_0x298917([0x6e,0x61,0x6d,0x65])]:_0x298917([0x45,0x43,0x44,0x53,0x41]),[_0x298917([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x298917([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x298917([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1861b3[_0x298917([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x298917([0x6e,0x61,0x6d,0x65])]:_0x298917([0x45,0x43,0x44,0x53,0x41]),[_0x298917([0x68,0x61,0x73,0x68])]:{[_0x298917([0x6e,0x61,0x6d,0x65])]:_0x298917([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4f716a,_0x31c00c,_0x1aca59)||(_0x337fe5=!0x1);}}function _0x183961(_0x206871){return _0x206871[_0x298917([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x298917([0x65,0x79]))?JSON[_0x298917([0x70,0x61,0x72,0x73,0x65])](_0x261ec4(_0x206871)):null;}function _0x261ec4(_0xe3d291){return window[_0x298917([0x61,0x74,0x6f,0x62])](_0xe3d291[_0x298917([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x298917([0x2b]))[_0x298917([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x298917([0x2f])));}function _0x33c0f9(_0x297a77){let _0x19276c=0x1505;function _0x3afed8(_0x5cd9fc){for(let _0xa0dfb6=0x0;_0xa0dfb6<_0x5cd9fc[_0x298917([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xa0dfb6++){const _0x43b75d=_0x5cd9fc[_0x298917([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xa0dfb6);_0x19276c=(_0x19276c<<0x5)+_0x19276c+_0x43b75d,_0x19276c&=_0x19276c;}}function _0x391ebe(_0x574e84){Array[_0x298917([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x574e84)?_0x574e84[_0x298917([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x391ebe):_0x574e84&&typeof _0x574e84==_0x298917([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x298917([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x574e84)[_0x298917([0x73,0x6f,0x72,0x74])]()[_0x298917([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5e5e2c,_0x3cba18])=>{_0x3afed8(_0x5e5e2c),_0x391ebe(_0x3cba18);}):_0x3afed8(window[_0x298917([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x574e84));}return _0x391ebe(_0x297a77),_0x19276c>>>0x0;}function _0x27df91(_0x134ee2){return _0x134ee2[_0x298917([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x298917([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x298917([0x30]));}function _0x35ba2f(_0x26c6d0){return _0x26c6d0[_0x298917([0x73,0x70,0x6c,0x69,0x74])]('')[_0x298917([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x298917([0x6a,0x6f,0x69,0x6e])]('');}function _0x5a1b7f(){}function _0x298917(_0x439111){return _0x439111['map'](_0x36ffe2=>String['fromCharCode'](_0x36ffe2))['join']('');}_0x2c5de3(await _0x343c40());}(this);}['_createButton'](_0x52fa6b,_0x2987f8,_0x5d2e06=!0x1){const _0xdb535f=new _0x52fa6b(this['editor']['locale']);return _0xdb535f['set']({'withText':_0x5d2e06,'isToggleable':!0x1}),_0xdb535f['bind']('isEnabled')['to'](_0x2987f8,'isEnabled'),this['listenTo'](_0xdb535f,'execute',()=>_0x2987f8['execute']()),_0xdb535f;}['_registerKeybindings'](){const _0xb5bb0b=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':w(_0xb5bb0b,'Source\x20Editing\x20Enhanced')});const _0x28b1d3=_0x3e130a['isMac']||_0x3e130a['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':w(_0xb5bb0b,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':w(_0xb5bb0b,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':w(_0xb5bb0b,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':w(_0xb5bb0b,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':w(_0xb5bb0b,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':w(_0xb5bb0b,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':w(_0xb5bb0b,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x28b1d3?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':w(_0xb5bb0b,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':w(_0xb5bb0b,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':w(_0xb5bb0b,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':w(_0xb5bb0b,'Select\x20line'),'keystroke':_0x28b1d3?'Ctrl!+L':'Alt+L'},{'label':w(_0xb5bb0b,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x28b1d3?'Alt+Shift+M':'Ctrl+M'},{'label':w(_0xb5bb0b,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':w(_0xb5bb0b,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':w(_0xb5bb0b,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':w(_0xb5bb0b,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':w(_0xb5bb0b,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x28b1d3?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}class c extends _0x4ce2d0{constructor(_0x1bc124){super(_0x1bc124),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0x55a51a,_0x43121b){const _0x4361e6=this['editor'],_0x536959=_0x43121b?.['rootName']??r(_0x4361e6);_0x4361e6['data']['set']({[_0x536959]:_0x55a51a},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}class ne extends _0x194c09{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[a];}constructor(_0x1b8707){super(_0x1b8707),_0x1b8707['config']['define']('sourceEditingEnhanced.allowCollaborationFeatures',!0x1);}['init'](){this['_checkCompatibility'](),this['editor']['commands']['add']('replaceSource',new c(this['editor'])),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0xb908ee=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4630d9;for(const _0x4b5735 in _0xb908ee){const _0x51508e=_0x4b5735,_0x3e1d33=_0xb908ee[_0x51508e];if('sourceEditingEnhancedLicenseKeyValid'==_0x3e1d33||'sourceEditingEnhancedLicenseKeyInvalid'==_0x3e1d33||'sourceEditingEnhancedLicenseKeyExpired'==_0x3e1d33||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x3e1d33||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x3e1d33||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x3e1d33||'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x3e1d33||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x3e1d33){delete _0xb908ee[_0x51508e],_0x4630d9=_0x3e1d33,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0x4630d9&&_0xb908ee['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0x4630d9&&_0xb908ee['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x4630d9&&_0xb908ee['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x4630d9&&_0xb908ee['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x4630d9&&_0xb908ee['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x4630d9&&_0xb908ee['_showLicenseError']('trialLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x4630d9&&_0xb908ee['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0x5b404c=this['editor'],_0x35b95e=_0x5b404c['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0x35b95e&&_0x5b404c['plugins']['has']('RealTimeCollaborativeEditing'))throw new _0xabc8fa('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0x35b95e&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x906122=>_0x5b404c['plugins']['has'](_0x906122))&&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.'),_0x5b404c['plugins']['has']('RestrictedEditingModeEditing')&&console['warn']('You\x20initialized\x20the\x20editor\x20with\x20the\x20source\x20editing\x20enhanced\x20feature\x20and\x20restricted\x20editing\x20feature.\x20Please\x20be\x20advised\x20that\x20the\x20source\x20editing\x20enhanced\x20feature\x20may\x20not\x20work,\x20and\x20be\x20careful\x20when\x20editing\x20document\x20source\x20that\x20contains\x20markers\x20created\x20by\x20the\x20restricted\x20editing\x20feature.');}}export{d as EditSourceCommand,c as ReplaceSourceCommand,ne as SourceEditingEnhanced};
23
+ import{Command as _0x190ccd,PendingActions as _0x5b60a9,Plugin as _0x5903ec}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0xefbdba,formatHtml as _0x45efa2,env as _0x19e4a2,uid as _0x316027}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconSource as _0x15ded2}from'@ckeditor/ckeditor5-icons/dist/index.js';import{View as _0x561c5b,ButtonView as _0x3ddd11,MenuBarMenuListItemButtonView as _0x454979}from'@ckeditor/ckeditor5-ui/dist/index.js';import{EditorView as _0x1f8d86,crosshairCursor as _0x553745,drawSelection as _0x4dfbce,dropCursor as _0x110b8a,lineNumbers as _0xd707ac,highlightActiveLine as _0x16e68b,highlightActiveLineGutter as _0x1e72e3,highlightSpecialChars as _0x12ad8d,rectangularSelection as _0x16966d,keymap as _0x13b9f9}from'@codemirror/view';import{Compartment as _0x79e131,Transaction as _0x31d985}from'@codemirror/state';import{bracketMatching as _0x23bf59,foldGutter as _0x445933,indentOnInput as _0x78c403,syntaxHighlighting as _0x2a3a60,defaultHighlightStyle as _0x17dbf5,foldKeymap as _0x416a3c}from'@codemirror/language';import{toggleTabFocusMode as _0x4d3f12,history as _0x2cc956,defaultKeymap as _0x14af10,historyKeymap as _0x4a7c41,indentLess as _0x3f45e5,indentMore as _0xb84592,redo as _0x153d32,undo as _0x45497e}from'@codemirror/commands';import{autocompletion as _0x51baf3,closeBrackets as _0x54ab75,closeBracketsKeymap as _0x39fafd,completionKeymap as _0x36a2a0}from'@codemirror/autocomplete';import{html as _0x291e89}from'@codemirror/lang-html';import{markdown as _0x239733}from'@codemirror/lang-markdown';import{oneDark as _0x4a70af}from'@codemirror/theme-one-dark';function w(_0xcecf3a,_0x499793){const t=_0xcecf3a['t'];switch(_0x499793){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 _0x499793;}}function r(_0x1253c2){const _0x360d3f=_0x1253c2['editing']['view']['document']['roots'],_0x1156ba=_0x360d3f['length'];if(0x0===_0x1156ba)throw new _0xefbdba('source-editing-enhanced-editor-no-root',_0x1253c2);if(0x1===_0x1156ba)return _0x360d3f['first']['rootName'];return Array['from'](_0x1253c2['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function $(_0x24e510){return X(_0x24e510['replace'](/^[\n\s]*/g,''))?_0x24e510['replace'](/\s+/g,''):_0x24e510;}function X(_0x3d2d59){return _0x3d2d59['startsWith']('<');}function Y(_0x504906){const _0x3a7f71=[_0x1f8d86['lineWrapping'],_0x51baf3(),_0x23bf59(),_0x54ab75(),_0x553745(),_0x4dfbce(),_0x110b8a(),_0xd707ac(),_0x445933(),_0x16e68b(),_0x1e72e3(),_0x12ad8d(),_0x2cc956(),_0x78c403(),_0x16966d(),_0x2a3a60(_0x17dbf5,{'fallback':!0x0})],_0x24183a=new _0x79e131();_0x3a7f71['push'](_0x24183a['of'](_0x1f8d86['editable']['of'](!0x0))),'html'===_0x504906['syntaxLanguage']?_0x3a7f71['push'](_0x291e89()):_0x3a7f71['push'](_0x239733());const _0x5dad09=function(_0x353562){if(_0x353562&&'default'!==_0x353562)return'dark'===_0x353562?_0x4a70af:_0x353562;return null;}(_0x504906['theme']);_0x5dad09&&_0x3a7f71['push'](_0x5dad09),_0x3a7f71['push'](_0x13b9f9['of']([..._0x39fafd,..._0x14af10,..._0x4a7c41,..._0x416a3c,..._0x36a2a0,{'key':'Tab','run':_0xb84592,'shift':_0x3f45e5,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-y','mac':'Cmd-y','run':_0x153d32,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-Shift-z','mac':'Cmd-Shift-z','run':_0x153d32,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-z','mac':'Cmd-z','run':_0x45497e,'preventDefault':!0x0,'stopPropagation':!0x0}]));const _0x17d46f=new _0x1f8d86({'extensions':_0x3a7f71,'parent':_0x504906['parent']});return _0x4d3f12(_0x17d46f),{'focus':()=>{_0x17d46f['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x17d46f['focus']();},'getData':()=>_0x17d46f['state']['doc']['toString'](),'setData':_0x5a7a22=>{_0x17d46f['dispatch']({'changes':{'from':0x0,'to':_0x17d46f['state']['doc']['length'],'insert':_0x5a7a22},'annotations':_0x31d985['addToHistory']['of'](!0x1)});},'setReadOnly':_0x3ca0a7=>{_0x17d46f['dispatch']({'effects':[_0x24183a['reconfigure'](_0x1f8d86['editable']['of'](!_0x3ca0a7))]});},'destroy':()=>{_0x17d46f['destroy']();},'instance':_0x17d46f};}class ee extends _0x561c5b{['_codeEditorApi']=null;['_options'];constructor(_0x5df683,_0x5c9f97){super(_0x5df683),this['_options']=_0x5c9f97,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']=Y({'parent':this['element'],'syntaxLanguage':this['_options']['syntaxLanguage'],'theme':this['_options']['theme']}),this['on']('change:isReadOnly',(_0x3feeea,_0x474470,_0x2bd0ab)=>{this['setReadOnly'](_0x2bd0ab);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0x26bff3){this['_codeEditorApi']['setData'](_0x26bff3);}['setReadOnly'](_0x1c43ef){this['_codeEditorApi']['setReadOnly'](_0x1c43ef);}}const te='SourceEditingEnhancedMode';class d extends _0x190ccd{constructor(_0x5860ac){super(_0x5860ac),this['affectsData']=!0x1,this['editor']['plugins']['get'](_0x5b60a9)['on']('change:hasAny',(_0x1e0ada,_0x1a53ba,_0x239c66)=>{_0x239c66?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['_disableCommands'](){const _0x3018ae=this['editor'];for(const _0x4a2da4 of _0x3018ae['commands']['names']())['replaceSource','editSource']['includes'](_0x4a2da4)||_0x3018ae['commands']['get'](_0x4a2da4)['forceDisabled'](te);}['_enableCommands'](){const _0x2e58ee=this['editor'];for(const _0x57513f of _0x2e58ee['commands']['commands']())_0x57513f['clearForceDisabled'](te);}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x8496f4=this['editor'],_0x3730b3=_0x8496f4['locale'],_0x412b9c=_0x8496f4['plugins']['get']('Dialog'),_0x57a8ac=r(_0x8496f4),_0x226cf0=_0x8496f4['data']['get']({'rootName':_0x57a8ac}),_0x516c61=X(_0x230fa1=_0x226cf0)?_0x45efa2(_0x230fa1):_0x230fa1;var _0x230fa1;const _0x48be2b=new ee(_0x3730b3,{'syntaxLanguage':_0x8496f4['plugins']['has']('Markdown')?'markdown':'html','theme':_0x8496f4['config']['get']('sourceEditingEnhanced.theme')});let _0xf50a96=!0x0;const _0x168479=_0x5148b9=>{if(!_0xf50a96)return;return $(_0x48be2b['getData']())!==$(_0x516c61)?window['confirm'](w(_0x3730b3,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0x5148b9['stop']():void 0x0;};_0x412b9c['show']({'id':'sourceEditingEnhanced','title':w(_0x3730b3,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0x48be2b,'actionButtons':[{'label':w(_0x3730b3,'Cancel'),'withText':!0x0,'onExecute':()=>{_0x412b9c['hide']();}},{'label':w(_0x3730b3,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0xea01f0=$(_0x48be2b['getData']())!==$(_0x516c61);(_0xea01f0&&_0x8496f4['execute']('replaceSource',_0x48be2b['getData']()),_0xf50a96=!0x1,_0x412b9c['hide'](),_0xea01f0&&'editables'in _0x8496f4['ui']['view'])&&_0x8496f4['ui']['view']['editables'][_0x57a8ac]['element']['focus']();},'onCreate':_0x13b888=>{_0x13b888['set']('isEnabled',!_0x8496f4['isReadOnly']),_0x13b888['bind']('isEnabled')['to'](_0x8496f4,'isReadOnly',this,'isEnabled',(_0x3c63d3,_0x4f7daa)=>!_0x3c63d3&&_0x4f7daa);}}],'onHide':()=>{this['_enableCommands'](),_0x412b9c['off']('hide',_0x168479),_0x48be2b['destroy']();},'onShow':()=>{_0x48be2b['bind']('isReadOnly')['to'](_0x8496f4,'isReadOnly',this,'isEnabled',(_0x1e0705,_0x1826fd)=>_0x1e0705||!_0x1826fd),_0x48be2b['setData'](_0x516c61),_0x48be2b['focus'](),_0x412b9c['on']('hide',_0x168479,{'priority':'highest'}),this['_disableCommands']();}});}}class a extends _0x5903ec{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[_0x5b60a9];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x210f15=this['editor'],_0x12fe2d=_0x210f15['locale'],_0xab97fa=new d(_0x210f15);_0x210f15['commands']['add']('editSource',_0xab97fa),_0x210f15['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0x531dd2=this['_createButton'](_0x3ddd11,_0xab97fa);return _0x531dd2['set']({'label':w(_0x12fe2d,'Source'),'icon':_0x15ded2,'tooltip':w(_0x12fe2d,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0x531dd2;}),_0x210f15['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0x2b9982=this['_createButton'](_0x454979,_0xab97fa,!0x0);return _0x2b9982['set']({'label':w(_0x12fe2d,'Edit\x20source\x20modal\x20label'),'icon':_0x15ded2,'role':'menuitemcheckbox'}),_0x2b9982;}),this['_registerKeybindings']();}['afterInit'](){!async function(_0x4cb69d){const _0x525364=_0x2b3877([0x32,0x55,0x37,0x51,0x6a,0x46,0x4b,0x56,0x5a,0x66,0x52,0x48,0x50,0x58,0x39,0x71,0x68,0x47,0x69,0x4a,0x49,0x53,0x54,0x59,0x33,0x76,0x65,0x6b,0x42,0x74,0x77,0x63,0x43,0x44,0x72,0x75,0x6c,0x6e,0x61,0x34,0x4c,0x30,0x4d,0x78,0x57,0x67,0x31,0x7a,0x4f,0x36,0x73,0x4e,0x45,0x62,0x41,0x79,0x64,0x38,0x35,0x6f,0x6d,0x70]),_0xd3aaf3=0x22e0c927,_0x34ad49=0x22e7b9cf^_0xd3aaf3,_0x464050=window[_0x2b3877([0x44,0x61,0x74,0x65])][_0x2b3877([0x6e,0x6f,0x77])](),_0x1ab2fd=_0x4cb69d[_0x2b3877([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3feaba=new window[(_0x2b3877([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4a9b41=>{_0x1ab2fd[_0x2b3877([0x6f,0x6e,0x63,0x65])](_0x2b3877([0x72,0x65,0x61,0x64,0x79]),_0x4a9b41);}),_0x4f2fe4={[_0x2b3877([0x6b,0x74,0x79])]:_0x2b3877([0x45,0x43]),[_0x2b3877([0x75,0x73,0x65])]:_0x2b3877([0x73,0x69,0x67]),[_0x2b3877([0x63,0x72,0x76])]:_0x2b3877([0x50,0x2d,0x32,0x35,0x36]),[_0x2b3877([0x78])]:_0x2b3877([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]),[_0x2b3877([0x79])]:_0x2b3877([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]),[_0x2b3877([0x61,0x6c,0x67])]:_0x2b3877([0x45,0x53,0x32,0x35,0x36])},_0x3fd5fe=_0x1ab2fd[_0x2b3877([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2b3877([0x67,0x65,0x74])](_0x2b3877([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1ff896(){let _0x4e7b90,_0x5d1aeb=null,_0x50ecd9=null;try{if(_0x3fd5fe==_0x2b3877([0x47,0x50,0x4c]))return _0x2b3877([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4e7b90=_0x358dff(),!_0x4e7b90)return _0x2b3877([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4e7b90[_0x2b3877([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x50ecd9=_0x594bde(_0x4e7b90[_0x2b3877([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4e7b90[_0x2b3877([0x6a,0x74,0x69])])),await _0x385c2f()?_0x13024e()?_0x55ad82()?_0x2b3877([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x25a795()?(_0x4e7b90[_0x2b3877([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2b3877([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5d1aeb=_0x5e7be9(_0x2b3877([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4e7b90[_0x2b3877([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2b3877([0x74,0x72,0x69,0x61,0x6c])&&(_0x5d1aeb=_0x5e7be9(_0x2b3877([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x33017e()):_0x2b3877([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2b3877([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2b3877([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2b3877([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x55ad82(){const _0x39dc5c=[_0x2b3877([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2b3877([0x74,0x72,0x69,0x61,0x6c])][_0x2b3877([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4e7b90[_0x2b3877([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x464050/0x3e8:0xe10*_0x34ad49;return _0x4e7b90[_0x2b3877([0x65,0x78,0x70])]<_0x39dc5c;}function _0x13024e(){const _0x538e64=_0x4e7b90[_0x2b3877([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x538e64&&(!!_0x538e64[_0x2b3877([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2b3877([0x2a]))||!!_0x538e64[_0x2b3877([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2b3877([0x53,0x45,0x45])));}function _0x25a795(){const _0x170081=_0x4e7b90[_0x2b3877([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x170081||0x0==_0x170081[_0x2b3877([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xd36e56}=new URL(window[_0x2b3877([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x170081[_0x2b3877([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xd36e56))return!0x0;const _0x46d3d6=_0xd36e56[_0x2b3877([0x73,0x70,0x6c,0x69,0x74])](_0x2b3877([0x2e]));return _0x170081[_0x2b3877([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4d034e=>_0x4d034e[_0x2b3877([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2b3877([0x2a])))[_0x2b3877([0x6d,0x61,0x70])](_0x5a5d00=>_0x5a5d00[_0x2b3877([0x73,0x70,0x6c,0x69,0x74])](_0x2b3877([0x2e])))[_0x2b3877([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x270c3c=>_0x270c3c[_0x2b3877([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x46d3d6[_0x2b3877([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2b3877([0x6d,0x61,0x70])](_0x2b1a96=>Array(_0x46d3d6[_0x2b3877([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2b1a96[_0x2b3877([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2b3877([0x66,0x69,0x6c,0x6c])](_0x2b1a96[0x0]===_0x2b3877([0x2a])?_0x2b3877([0x2a]):'')[_0x2b3877([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2b1a96))[_0x2b3877([0x73,0x6f,0x6d,0x65])](_0x486d70=>_0x46d3d6[_0x2b3877([0x65,0x76,0x65,0x72,0x79])]((_0x5dde2b,_0x50fb27)=>_0x486d70[_0x50fb27]===_0x5dde2b||_0x486d70[_0x50fb27]===_0x2b3877([0x2a])));}function _0x33017e(){return _0x5d1aeb&&_0x50ecd9?new window[(_0x2b3877([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x536f1e,_0x1978af)=>{_0x5d1aeb[_0x2b3877([0x74,0x68,0x65,0x6e])](_0x536f1e,_0x1978af),_0x50ecd9[_0x2b3877([0x74,0x68,0x65,0x6e])](_0x157ecb=>{_0x157ecb!=_0x2b3877([0x56,0x61,0x6c,0x69,0x64])&&_0x536f1e(_0x157ecb);},_0x1978af);}):_0x5d1aeb||_0x50ecd9||_0x2b3877([0x56,0x61,0x6c,0x69,0x64]);}}function _0x594bde(_0x1051fc,_0x22dcd7){return new window[(_0x2b3877([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4b632f=>{if(_0x785e3c())return _0x4b632f(_0x2b3877([0x56,0x61,0x6c,0x69,0x64]));_0x5b6c27(),_0x1ab2fd[_0x2b3877([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2b3877([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x419fb3=!0x1;const _0xb85d35=_0x316027();function _0x2ffd44(_0x402546){return!!_0x402546&&(typeof _0x402546===_0x2b3877([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x402546===_0x2b3877([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x402546[_0x2b3877([0x74,0x68,0x65,0x6e])]===_0x2b3877([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x402546[_0x2b3877([0x63,0x61,0x74,0x63,0x68])]===_0x2b3877([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x17dc38(_0xf5d5a3){_0x58d58b(_0xf5d5a3)[_0x2b3877([0x74,0x68,0x65,0x6e])](_0x2a75dc=>{if(!_0x2a75dc||_0x2a75dc[_0x2b3877([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2b3877([0x6f,0x6b]))return _0x2b3877([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3830a4(_0x2dcdbb(_0xb85d35+_0x22dcd7))!=_0x2a75dc[_0x2b3877([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2b3877([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2b3877([0x56,0x61,0x6c,0x69,0x64]);})[_0x2b3877([0x74,0x68,0x65,0x6e])](_0x94deef=>(_0x39af62(),_0x94deef),()=>{const _0x2869e7=_0x39f3b2();return null==_0x2869e7?(_0x39af62(),_0x2b3877([0x56,0x61,0x6c,0x69,0x64])):_0x2b3877(_0x464050-_0x2869e7>(0x6ec4d27^_0xd3aaf3)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2b3877([0x74,0x68,0x65,0x6e])](_0x4b632f)[_0x2b3877([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4b632f(_0x2b3877([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1bd869=0x22d627a7^_0xd3aaf3;function _0x39af62(){const _0x1dbd85=_0x2b3877([0x6c,0x6c,0x63,0x74,0x2d])+_0x3830a4(_0x2dcdbb(_0x1051fc)),_0x2b4e22=_0x54cb7f(_0x3830a4(window[_0x2b3877([0x4d,0x61,0x74,0x68])][_0x2b3877([0x63,0x65,0x69,0x6c])](_0x464050/_0x1bd869)));window[_0x2b3877([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2b3877([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1dbd85,_0x2b4e22);}function _0x39f3b2(){const _0x5508c3=_0x2b3877([0x6c,0x6c,0x63,0x74,0x2d])+_0x3830a4(_0x2dcdbb(_0x1051fc)),_0x3b51b8=window[_0x2b3877([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2b3877([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5508c3);return _0x3b51b8?window[_0x2b3877([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x54cb7f(_0x3b51b8),0x10)*_0x1bd869:null;}function _0x58d58b(_0x424fa3){return new window[(_0x2b3877([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x265b2e,_0x28a657)=>{_0x424fa3[_0x2b3877([0x74,0x68,0x65,0x6e])](_0x265b2e,_0x28a657),window[_0x2b3877([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x28a657,0x22e11de7^_0xd3aaf3);});}}_0x1ab2fd[_0x2b3877([0x6f,0x6e])](_0x2b3877([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5e0cfc,_0x334a5e)=>{if(_0x334a5e[0x0]!=_0x1051fc)return _0x4b632f(_0x2b3877([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x334a5e[0x1]={..._0x334a5e[0x1],[_0x2b3877([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xb85d35};},{[_0x2b3877([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2b3877([0x68,0x69,0x67,0x68])}),_0x1ab2fd[_0x2b3877([0x6f,0x6e])](_0x2b3877([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x16ef24=>{_0x2ffd44(_0x16ef24[_0x2b3877([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x419fb3=!0x0,_0x17dc38(_0x16ef24[_0x2b3877([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2b3877([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2b3877([0x6c,0x6f,0x77])}),_0x3feaba[_0x2b3877([0x74,0x68,0x65,0x6e])](()=>{_0x419fb3||_0x4b632f(_0x2b3877([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x785e3c(){return _0x1ab2fd[_0x2b3877([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2b3877([0x76,0x69,0x65,0x77])][_0x2b3877([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2b3877([0x61,0x75,0x74,0x6f]);}function _0x5b6c27(){_0x1ab2fd[_0x2b3877([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2b3877([0x76,0x69,0x65,0x77])][_0x2b3877([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2b3877([0x61,0x75,0x74,0x6f]);}}function _0x5e7be9(_0x12eb7a){const _0x5a928f=[new window[(_0x2b3877([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x54fc4a=>setTimeout(_0x54fc4a,0x22e9f7eb^_0xd3aaf3)),_0x3feaba[_0x2b3877([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2b3877([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x286602=>{let _0x46eabf=0x0;_0x1ab2fd[_0x2b3877([0x6d,0x6f,0x64,0x65,0x6c])][_0x2b3877([0x6f,0x6e])](_0x2b3877([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x56f93c,_0x3d1f44)=>{_0x3d1f44[0x0][_0x2b3877([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x46eabf++,_0x46eabf==(0x22e0c8df^_0xd3aaf3)&&(_0x286602(),_0x56f93c[_0x2b3877([0x6f,0x66,0x66])]());});}))];return window[_0x2b3877([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2b3877([0x72,0x61,0x63,0x65])](_0x5a928f)[_0x2b3877([0x74,0x68,0x65,0x6e])](()=>_0x12eb7a);}async function _0x5d2d8c(){await _0x3feaba,_0x1ab2fd[_0x2b3877([0x6d,0x6f,0x64,0x65,0x6c])][_0x2b3877([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xd5c6f6,_0x1ab2fd[_0x2b3877([0x6d,0x6f,0x64,0x65,0x6c])][_0x2b3877([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xd5c6f6,_0x1ab2fd[_0x2b3877([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2b3877([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x240e8a(_0x5bb66c){const _0x5e5957=_0x218f40();_0x1ab2fd[_0x5e5957]=_0x2b3877([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])+_0x5bb66c,_0x5bb66c!=_0x2b3877([0x56,0x61,0x6c,0x69,0x64])&&_0x5d2d8c();}function _0x218f40(){const _0x5e3215=window[_0x2b3877([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2b3877([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2b3877([0x6e,0x6f,0x77])]())[_0x2b3877([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2b3877([0x2e]),'');let _0x15b143=_0x2b3877([0x55]);for(let _0x581c15=0x0;_0x581c15<_0x5e3215[_0x2b3877([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x581c15+=0x2){let _0x372e28=window[_0x2b3877([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5e3215[_0x2b3877([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x581c15,_0x581c15+0x2));_0x372e28>=_0x525364[_0x2b3877([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x372e28-=_0x525364[_0x2b3877([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x15b143+=_0x525364[_0x372e28];}return _0x15b143;}function _0x358dff(){const _0x252c31=_0x3fd5fe[_0x2b3877([0x73,0x70,0x6c,0x69,0x74])](_0x2b3877([0x2e]));if(0x3!=_0x252c31[_0x2b3877([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3f221b(_0x252c31[0x1]);function _0x3f221b(_0x983496){const _0x5b8e69=_0x2e6db9(_0x983496);return _0x5b8e69&&_0x5170ab()?_0x5b8e69:null;function _0x5170ab(){const _0x3a9b51=_0x5b8e69[_0x2b3877([0x6a,0x74,0x69])],_0x164a0f=window[_0x2b3877([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3a9b51[_0x2b3877([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3a9b51[_0x2b3877([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x467aa7={..._0x5b8e69,[_0x2b3877([0x6a,0x74,0x69])]:_0x3a9b51[_0x2b3877([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3a9b51[_0x2b3877([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x467aa7[_0x2b3877([0x76,0x63])],_0x2dcdbb(_0x467aa7)==_0x164a0f;}}}async function _0x385c2f(){let _0x3ff124=!0x0;try{const _0x302ed1=_0x3fd5fe[_0x2b3877([0x73,0x70,0x6c,0x69,0x74])](_0x2b3877([0x2e])),[_0x57b0fd,_0x45ac14,_0x37d30c]=_0x302ed1;return _0x5c870a(_0x57b0fd),await _0x65f43d(_0x57b0fd,_0x45ac14,_0x37d30c),_0x3ff124;}catch{return!0x1;}function _0x5c870a(_0x9231c6){const _0x1fa0ed=_0x2e6db9(_0x9231c6);_0x1fa0ed&&_0x1fa0ed[_0x2b3877([0x61,0x6c,0x67])]==_0x2b3877([0x45,0x53,0x32,0x35,0x36])||(_0x3ff124=!0x1);}async function _0x65f43d(_0x5884a0,_0x4a7496,_0x57680a){const _0x23e418=window[_0x2b3877([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2b3877([0x66,0x72,0x6f,0x6d])](_0x594d02(_0x57680a),_0x4808da=>_0x4808da[_0x2b3877([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4eac57=new window[(_0x2b3877([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2b3877([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5884a0+_0x2b3877([0x2e])+_0x4a7496),_0x2c6b80=window[_0x2b3877([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2b3877([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2c6b80)return;const _0x1dc584=await _0x2c6b80[_0x2b3877([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2b3877([0x6a,0x77,0x6b]),_0x4f2fe4,{[_0x2b3877([0x6e,0x61,0x6d,0x65])]:_0x2b3877([0x45,0x43,0x44,0x53,0x41]),[_0x2b3877([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2b3877([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2b3877([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2c6b80[_0x2b3877([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2b3877([0x6e,0x61,0x6d,0x65])]:_0x2b3877([0x45,0x43,0x44,0x53,0x41]),[_0x2b3877([0x68,0x61,0x73,0x68])]:{[_0x2b3877([0x6e,0x61,0x6d,0x65])]:_0x2b3877([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1dc584,_0x23e418,_0x4eac57)||(_0x3ff124=!0x1);}}function _0x2e6db9(_0x3963ff){return _0x3963ff[_0x2b3877([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2b3877([0x65,0x79]))?JSON[_0x2b3877([0x70,0x61,0x72,0x73,0x65])](_0x594d02(_0x3963ff)):null;}function _0x594d02(_0x39635c){return window[_0x2b3877([0x61,0x74,0x6f,0x62])](_0x39635c[_0x2b3877([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2b3877([0x2b]))[_0x2b3877([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2b3877([0x2f])));}function _0x2dcdbb(_0x36403b){let _0x4f4162=0x1505;function _0x180cd5(_0x13175e){for(let _0x5a69bd=0x0;_0x5a69bd<_0x13175e[_0x2b3877([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5a69bd++){const _0x43a11e=_0x13175e[_0x2b3877([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5a69bd);_0x4f4162=(_0x4f4162<<0x5)+_0x4f4162+_0x43a11e,_0x4f4162&=_0x4f4162;}}function _0x3dc885(_0x172c70){Array[_0x2b3877([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x172c70)?_0x172c70[_0x2b3877([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3dc885):_0x172c70&&typeof _0x172c70==_0x2b3877([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2b3877([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x172c70)[_0x2b3877([0x73,0x6f,0x72,0x74])]()[_0x2b3877([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x197ea2,_0x22d0c8])=>{_0x180cd5(_0x197ea2),_0x3dc885(_0x22d0c8);}):_0x180cd5(window[_0x2b3877([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x172c70));}return _0x3dc885(_0x36403b),_0x4f4162>>>0x0;}function _0x3830a4(_0x5c3735){return _0x5c3735[_0x2b3877([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2b3877([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2b3877([0x30]));}function _0x54cb7f(_0x2c25c5){return _0x2c25c5[_0x2b3877([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2b3877([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2b3877([0x6a,0x6f,0x69,0x6e])]('');}function _0xd5c6f6(){}function _0x2b3877(_0x2c78fb){return _0x2c78fb['map'](_0x5b93e3=>String['fromCharCode'](_0x5b93e3))['join']('');}_0x240e8a(await _0x1ff896());}(this);}['_createButton'](_0x22dd79,_0x1e88a3,_0xbd8938=!0x1){const _0x5d2544=new _0x22dd79(this['editor']['locale']);return _0x5d2544['set']({'withText':_0xbd8938,'isToggleable':!0x1}),_0x5d2544['bind']('isEnabled')['to'](_0x1e88a3,'isEnabled'),this['listenTo'](_0x5d2544,'execute',()=>_0x1e88a3['execute']()),_0x5d2544;}['_registerKeybindings'](){const _0x561cad=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':w(_0x561cad,'Source\x20Editing\x20Enhanced')});const _0x1de262=_0x19e4a2['isMac']||_0x19e4a2['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':w(_0x561cad,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':w(_0x561cad,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':w(_0x561cad,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':w(_0x561cad,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':w(_0x561cad,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':w(_0x561cad,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':w(_0x561cad,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x1de262?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':w(_0x561cad,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':w(_0x561cad,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':w(_0x561cad,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':w(_0x561cad,'Select\x20line'),'keystroke':_0x1de262?'Ctrl!+L':'Alt+L'},{'label':w(_0x561cad,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x1de262?'Alt+Shift+M':'Ctrl+M'},{'label':w(_0x561cad,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':w(_0x561cad,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':w(_0x561cad,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':w(_0x561cad,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':w(_0x561cad,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x1de262?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}class c extends _0x190ccd{constructor(_0x37dac4){super(_0x37dac4),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0x42f721,_0x4075e1){const _0x35be78=this['editor'],_0x3da75f=_0x4075e1?.['rootName']??r(_0x35be78);_0x35be78['data']['set']({[_0x3da75f]:_0x42f721},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}class ne extends _0x5903ec{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[a];}constructor(_0x226921){super(_0x226921),_0x226921['config']['define']('sourceEditingEnhanced.allowCollaborationFeatures',!0x1);}['init'](){this['_checkCompatibility'](),this['editor']['commands']['add']('replaceSource',new c(this['editor'])),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x44baee=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3392dd;for(const _0x2543f6 in _0x44baee){const _0x42f222=_0x2543f6,_0x3cc2cc=_0x44baee[_0x42f222];if('sourceEditingEnhancedLicenseKeyValid'==_0x3cc2cc||'sourceEditingEnhancedLicenseKeyInvalid'==_0x3cc2cc||'sourceEditingEnhancedLicenseKeyExpired'==_0x3cc2cc||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x3cc2cc||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x3cc2cc||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x3cc2cc||'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x3cc2cc||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x3cc2cc){delete _0x44baee[_0x42f222],_0x3392dd=_0x3cc2cc,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0x3392dd&&_0x44baee['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0x3392dd&&_0x44baee['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x3392dd&&_0x44baee['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x3392dd&&_0x44baee['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x3392dd&&_0x44baee['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x3392dd&&_0x44baee['_showLicenseError']('trialLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x3392dd&&_0x44baee['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0x372e05=this['editor'],_0x2fad5c=_0x372e05['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0x2fad5c&&_0x372e05['plugins']['has']('RealTimeCollaborativeEditing'))throw new _0xefbdba('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0x2fad5c&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x34feb1=>_0x372e05['plugins']['has'](_0x34feb1))&&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.'),_0x372e05['plugins']['has']('RestrictedEditingModeEditing')&&console['warn']('You\x20initialized\x20the\x20editor\x20with\x20the\x20source\x20editing\x20enhanced\x20feature\x20and\x20restricted\x20editing\x20feature.\x20Please\x20be\x20advised\x20that\x20the\x20source\x20editing\x20enhanced\x20feature\x20may\x20not\x20work,\x20and\x20be\x20careful\x20when\x20editing\x20document\x20source\x20that\x20contains\x20markers\x20created\x20by\x20the\x20restricted\x20editing\x20feature.');}}export{d as EditSourceCommand,c as ReplaceSourceCommand,ne as SourceEditingEnhanced};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-source-editing-enhanced",
3
- "version": "46.0.2-alpha.1",
3
+ "version": "46.0.2",
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": "46.0.2-alpha.1",
22
- "@ckeditor/ckeditor5-icons": "46.0.2-alpha.1",
23
- "@ckeditor/ckeditor5-theme-lark": "46.0.2-alpha.1",
24
- "@ckeditor/ckeditor5-ui": "46.0.2-alpha.1",
25
- "@ckeditor/ckeditor5-utils": "46.0.2-alpha.1",
21
+ "@ckeditor/ckeditor5-core": "46.0.2",
22
+ "@ckeditor/ckeditor5-icons": "46.0.2",
23
+ "@ckeditor/ckeditor5-theme-lark": "46.0.2",
24
+ "@ckeditor/ckeditor5-ui": "46.0.2",
25
+ "@ckeditor/ckeditor5-utils": "46.0.2",
26
26
  "@codemirror/autocomplete": "^6.7.1",
27
27
  "@codemirror/commands": "6.8.1",
28
28
  "@codemirror/lang-html": "^6.0.0",
@@ -31,7 +31,7 @@
31
31
  "@codemirror/state": "^6.5.0",
32
32
  "@codemirror/theme-one-dark": "^6.1.2",
33
33
  "@codemirror/view": "^6.35.0",
34
- "ckeditor5": "46.0.2-alpha.1"
34
+ "ckeditor5": "46.0.2"
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 _0x40400b=_0xa16d;(function(_0x5e38df,_0x32e458){const _0xa0b9e3=_0xa16d,_0x3630d4=_0x5e38df();while(!![]){try{const _0xd96735=parseInt(_0xa0b9e3(0x8d))/0x1+parseInt(_0xa0b9e3(0xc5))/0x2+-parseInt(_0xa0b9e3(0xab))/0x3+parseInt(_0xa0b9e3(0x9f))/0x4+-parseInt(_0xa0b9e3(0xc6))/0x5*(parseInt(_0xa0b9e3(0xcb))/0x6)+-parseInt(_0xa0b9e3(0xa3))/0x7*(parseInt(_0xa0b9e3(0xc4))/0x8)+parseInt(_0xa0b9e3(0x84))/0x9;if(_0xd96735===_0x32e458)break;else _0x3630d4['push'](_0x3630d4['shift']());}catch(_0x4f6066){_0x3630d4['push'](_0x3630d4['shift']());}}}(_0x4954,0x9cd09));import{Plugin as _0x1127ed,PendingActions as _0x48f919}from'ckeditor5/src/core.js';function _0x4954(){const _0x21d092=['Indent\x20less','Shift+Alt+A','SourceEditingEnhancedUI','2125962TnwLLW','bind','isiOS','Ctrl+M','isOfficialPlugin','Ctrl!+Alt+]','Ctrl!+Alt+[','locale','Cmd+Alt+[','614706BMCyxY','Ctrl+Shift+Z','isEnabled','Toggle\x20comment','Ctrl+]','join','Cmd+Alt+]','isMac','Indent\x20more','Fold\x20all','isPremiumPlugin','Ctrl!+L','addKeystrokeInfoCategory','afterInit','execute','Copy\x20line\x20down','Alt+ArrowUp','map','1744780PdKsyg','Source\x20Editing\x20Enhanced','Alt+ArrowDown','pluginName','21553wLKdbN','accessibility','Alt+Shift+M','Ctrl+Y','Undo\x20(keystroke)','sourceEditingEnhanced','componentFactory','Source','1851387kEEcnH','menuBar:sourceEditingEnhanced','Unfold\x20code\x20(current\x20level)','editSource','Ctrl+Z','fromCharCode','Select\x20line','_createButton','menuitemcheckbox','Toggle\x20block\x20comment','Unfold\x20all','Alt+L','Ctrl+Shift+[','addKeystrokeInfos','Fold\x20code\x20(current\x20level)','commands','Shift+Alt+ArrowDown','ck-source-editing-enhanced-button','Shift+Alt+ArrowUp','Ctrl+Shift+]','Ctrl+[','set','init','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode','Shift+Ctrl+K','1456WXhzxw','1460720koENtV','935GwSpTw','Ctrl+/','Edit\x20source\x20modal\x20label','add','listenTo','6342wDLfOd','Move\x20line\x20up','href','Copy\x20line\x20up','editor','requires','Move\x20line\x20down','Redo\x20(keystroke)','Delete\x20line','_registerKeybindings'];_0x4954=function(){return _0x21d092;};return _0x4954();}import{IconSource as _0x113999}from'ckeditor5/src/icons.js';import{ButtonView as _0x311a56,MenuBarMenuListItemButtonView as _0x88fac}from'ckeditor5/src/ui.js';import{EditSourceCommand as _0x49be94}from'./ui/editsourcecommand.js';function _0xa16d(_0x144bb4,_0x5742bb){const _0x4954d2=_0x4954();return _0xa16d=function(_0xa16dc5,_0x551b87){_0xa16dc5=_0xa16dc5-0x7e;let _0x2ffa74=_0x4954d2[_0xa16dc5];return _0x2ffa74;},_0xa16d(_0x144bb4,_0x5742bb);}import{getTranslation as _0x46a76a}from'./utils/common-translations.js';import{env as _0x2b97e2,uid as _0x377512}from'ckeditor5/src/utils.js';import'../theme/sourceeditingenhanced.css';export class SourceEditingEnhancedUI extends _0x1127ed{static get[_0x40400b(0xa2)](){const _0x109189=_0x40400b;return _0x109189(0x83);}static get[_0x40400b(0xd0)](){return[_0x48f919];}static get[_0x40400b(0x88)](){return!0x0;}static get[_0x40400b(0x97)](){return!0x0;}[_0x40400b(0xc1)](){const _0x23dd60=_0x40400b,_0xd38880=this[_0x23dd60(0xcf)],_0x27a7a7=_0xd38880[_0x23dd60(0x8b)],_0x59cd3a=new _0x49be94(_0xd38880);_0xd38880[_0x23dd60(0xba)][_0x23dd60(0xc9)](_0x23dd60(0xae),_0x59cd3a),_0xd38880['ui'][_0x23dd60(0xa9)][_0x23dd60(0xc9)](_0x23dd60(0xa8),()=>{const _0x414c47=_0x23dd60,_0x63c45b=this[_0x414c47(0xb2)](_0x311a56,_0x59cd3a);return _0x63c45b[_0x414c47(0xc0)]({'label':_0x46a76a(_0x27a7a7,_0x414c47(0xaa)),'icon':_0x113999,'tooltip':_0x46a76a(_0x27a7a7,_0x414c47(0xc8)),'class':_0x414c47(0xbc)}),_0x63c45b;}),_0xd38880['ui'][_0x23dd60(0xa9)][_0x23dd60(0xc9)](_0x23dd60(0xac),()=>{const _0x4d1dd8=_0x23dd60,_0x3b817d=this[_0x4d1dd8(0xb2)](_0x88fac,_0x59cd3a,!0x0);return _0x3b817d[_0x4d1dd8(0xc0)]({'label':_0x46a76a(_0x27a7a7,_0x4d1dd8(0xc8)),'icon':_0x113999,'role':_0x4d1dd8(0xb3)}),_0x3b817d;}),this[_0x23dd60(0x80)]();}[_0x40400b(0x9a)](){!async function(_0x2f9e1b){const _0x5b9165=_0x4b7415([0x4c,0x7a,0x43,0x4f,0x46,0x54,0x51,0x30,0x33,0x55,0x79,0x4e,0x61,0x53,0x63,0x64,0x50,0x76,0x75,0x56,0x41,0x6d,0x74,0x57,0x42,0x32,0x68,0x4d,0x78,0x48,0x66,0x49,0x37,0x4b,0x34,0x4a,0x73,0x6e,0x36,0x45,0x6b,0x47,0x31,0x67,0x6a,0x6c,0x38,0x70,0x44,0x59,0x58,0x39,0x6f,0x52,0x72,0x35,0x77,0x69,0x5a,0x65,0x71,0x62]),_0x4e133e=0x10b1a902,_0x5c040b=0x10b6d9ea^_0x4e133e,_0x174c7a=window[_0x4b7415([0x44,0x61,0x74,0x65])][_0x4b7415([0x6e,0x6f,0x77])](),_0x5928d3=_0x2f9e1b[_0x4b7415([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x21c990=new window[(_0x4b7415([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x410d9d=>{_0x5928d3[_0x4b7415([0x6f,0x6e,0x63,0x65])](_0x4b7415([0x72,0x65,0x61,0x64,0x79]),_0x410d9d);}),_0x471236={[_0x4b7415([0x6b,0x74,0x79])]:_0x4b7415([0x45,0x43]),[_0x4b7415([0x75,0x73,0x65])]:_0x4b7415([0x73,0x69,0x67]),[_0x4b7415([0x63,0x72,0x76])]:_0x4b7415([0x50,0x2d,0x32,0x35,0x36]),[_0x4b7415([0x78])]:_0x4b7415([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]),[_0x4b7415([0x79])]:_0x4b7415([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]),[_0x4b7415([0x61,0x6c,0x67])]:_0x4b7415([0x45,0x53,0x32,0x35,0x36])},_0xad93ad=_0x5928d3[_0x4b7415([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4b7415([0x67,0x65,0x74])](_0x4b7415([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x142349(){let _0x31b104,_0x4192de=null,_0x30de0d=null;try{if(_0xad93ad==_0x4b7415([0x47,0x50,0x4c]))return _0x4b7415([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x31b104=_0x52b3d8(),!_0x31b104)return _0x4b7415([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x31b104[_0x4b7415([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x30de0d=_0x3c83b4(_0x31b104[_0x4b7415([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x31b104[_0x4b7415([0x6a,0x74,0x69])])),await _0x2df011()?_0x5259a0()?_0x80c03a()?_0x4b7415([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x138332()?(_0x31b104[_0x4b7415([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4b7415([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4192de=_0x10c1f4(_0x4b7415([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x31b104[_0x4b7415([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4b7415([0x74,0x72,0x69,0x61,0x6c])&&(_0x4192de=_0x10c1f4(_0x4b7415([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4f9f63()):_0x4b7415([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4b7415([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4b7415([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4b7415([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x80c03a(){const _0x3ece56=[_0x4b7415([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4b7415([0x74,0x72,0x69,0x61,0x6c])][_0x4b7415([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x31b104[_0x4b7415([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x174c7a/0x3e8:0xe10*_0x5c040b;return _0x31b104[_0x4b7415([0x65,0x78,0x70])]<_0x3ece56;}function _0x5259a0(){const _0x32c6f4=_0x31b104[_0x4b7415([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x32c6f4&&(!!_0x32c6f4[_0x4b7415([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4b7415([0x2a]))||!!_0x32c6f4[_0x4b7415([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4b7415([0x53,0x45,0x45])));}function _0x138332(){const _0x5cd0cb=_0xa16d,_0x4eb50b=_0x31b104[_0x4b7415([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4eb50b||0x0==_0x4eb50b[_0x4b7415([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x51a7b9}=new URL(window[_0x4b7415([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x5cd0cb(0xcd)]);if(_0x4eb50b[_0x4b7415([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x51a7b9))return!0x0;const _0x59c78f=_0x51a7b9[_0x4b7415([0x73,0x70,0x6c,0x69,0x74])](_0x4b7415([0x2e]));return _0x4eb50b[_0x4b7415([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x20adab=>_0x20adab[_0x4b7415([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4b7415([0x2a])))[_0x4b7415([0x6d,0x61,0x70])](_0x35d415=>_0x35d415[_0x4b7415([0x73,0x70,0x6c,0x69,0x74])](_0x4b7415([0x2e])))[_0x4b7415([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x963c84=>_0x963c84[_0x4b7415([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x59c78f[_0x4b7415([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4b7415([0x6d,0x61,0x70])](_0x238c81=>Array(_0x59c78f[_0x4b7415([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x238c81[_0x4b7415([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4b7415([0x66,0x69,0x6c,0x6c])](_0x238c81[0x0]===_0x4b7415([0x2a])?_0x4b7415([0x2a]):'')[_0x4b7415([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x238c81))[_0x4b7415([0x73,0x6f,0x6d,0x65])](_0x4c9a63=>_0x59c78f[_0x4b7415([0x65,0x76,0x65,0x72,0x79])]((_0x14bd90,_0x285117)=>_0x4c9a63[_0x285117]===_0x14bd90||_0x4c9a63[_0x285117]===_0x4b7415([0x2a])));}function _0x4f9f63(){return _0x4192de&&_0x30de0d?new window[(_0x4b7415([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1eec00,_0x211951)=>{_0x4192de[_0x4b7415([0x74,0x68,0x65,0x6e])](_0x1eec00,_0x211951),_0x30de0d[_0x4b7415([0x74,0x68,0x65,0x6e])](_0x4861d2=>{_0x4861d2!=_0x4b7415([0x56,0x61,0x6c,0x69,0x64])&&_0x1eec00(_0x4861d2);},_0x211951);}):_0x4192de||_0x30de0d||_0x4b7415([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3c83b4(_0x3d6e94,_0x5b1ce4){return new window[(_0x4b7415([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x43d556=>{if(_0x1e8137())return _0x43d556(_0x4b7415([0x56,0x61,0x6c,0x69,0x64]));_0xf22f94(),_0x5928d3[_0x4b7415([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4b7415([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x8b6c1a=!0x1;const _0x1e0182=_0x377512();function _0x34958e(_0x2cb4dc){return!!_0x2cb4dc&&(typeof _0x2cb4dc===_0x4b7415([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2cb4dc===_0x4b7415([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2cb4dc[_0x4b7415([0x74,0x68,0x65,0x6e])]===_0x4b7415([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2cb4dc[_0x4b7415([0x63,0x61,0x74,0x63,0x68])]===_0x4b7415([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x23df97(_0x29039d){_0x1cc657(_0x29039d)[_0x4b7415([0x74,0x68,0x65,0x6e])](_0x289b64=>{if(!_0x289b64||_0x289b64[_0x4b7415([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4b7415([0x6f,0x6b]))return _0x4b7415([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1465fc(_0x2b63c4(_0x1e0182+_0x5b1ce4))!=_0x289b64[_0x4b7415([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4b7415([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4b7415([0x56,0x61,0x6c,0x69,0x64]);})[_0x4b7415([0x74,0x68,0x65,0x6e])](_0x59e92c=>(_0x5ad059(),_0x59e92c),()=>{const _0x247510=_0x55d3f5();return null==_0x247510?(_0x5ad059(),_0x4b7415([0x56,0x61,0x6c,0x69,0x64])):_0x4b7415(_0x174c7a-_0x247510>(0x34bd2d02^_0x4e133e)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4b7415([0x74,0x68,0x65,0x6e])](_0x43d556)[_0x4b7415([0x63,0x61,0x74,0x63,0x68])](()=>{_0x43d556(_0x4b7415([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2e8149=0x10874782^_0x4e133e;function _0x5ad059(){const _0x3d512d=_0x4b7415([0x6c,0x6c,0x63,0x74,0x2d])+_0x1465fc(_0x2b63c4(_0x3d6e94)),_0x15ab77=_0xd5f60a(_0x1465fc(window[_0x4b7415([0x4d,0x61,0x74,0x68])][_0x4b7415([0x63,0x65,0x69,0x6c])](_0x174c7a/_0x2e8149)));window[_0x4b7415([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4b7415([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3d512d,_0x15ab77);}function _0x55d3f5(){const _0x151cc5=_0x4b7415([0x6c,0x6c,0x63,0x74,0x2d])+_0x1465fc(_0x2b63c4(_0x3d6e94)),_0x2f1e3c=window[_0x4b7415([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4b7415([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x151cc5);return _0x2f1e3c?window[_0x4b7415([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xd5f60a(_0x2f1e3c),0x10)*_0x2e8149:null;}function _0x1cc657(_0x3361c6){return new window[(_0x4b7415([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xfa6e50,_0x368c1e)=>{_0x3361c6[_0x4b7415([0x74,0x68,0x65,0x6e])](_0xfa6e50,_0x368c1e),window[_0x4b7415([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x368c1e,0x10b07dc2^_0x4e133e);});}}_0x5928d3[_0x4b7415([0x6f,0x6e])](_0x4b7415([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1db6ba,_0x2cd6b5)=>{if(_0x2cd6b5[0x0]!=_0x3d6e94)return _0x43d556(_0x4b7415([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2cd6b5[0x1]={..._0x2cd6b5[0x1],[_0x4b7415([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1e0182};},{[_0x4b7415([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4b7415([0x68,0x69,0x67,0x68])}),_0x5928d3[_0x4b7415([0x6f,0x6e])](_0x4b7415([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xbe62de=>{_0x34958e(_0xbe62de[_0x4b7415([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x8b6c1a=!0x0,_0x23df97(_0xbe62de[_0x4b7415([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4b7415([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4b7415([0x6c,0x6f,0x77])}),_0x21c990[_0x4b7415([0x74,0x68,0x65,0x6e])](()=>{_0x8b6c1a||_0x43d556(_0x4b7415([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1e8137(){return _0x5928d3[_0x4b7415([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4b7415([0x76,0x69,0x65,0x77])][_0x4b7415([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4b7415([0x61,0x75,0x74,0x6f]);}function _0xf22f94(){_0x5928d3[_0x4b7415([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4b7415([0x76,0x69,0x65,0x77])][_0x4b7415([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4b7415([0x61,0x75,0x74,0x6f]);}}function _0x10c1f4(_0xdc6ae5){const _0x64fc89=[new window[(_0x4b7415([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x17a2f1=>setTimeout(_0x17a2f1,0x10b897ce^_0x4e133e)),_0x21c990[_0x4b7415([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4b7415([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x34522b=>{let _0x416615=0x0;_0x5928d3[_0x4b7415([0x6d,0x6f,0x64,0x65,0x6c])][_0x4b7415([0x6f,0x6e])](_0x4b7415([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1fb37e,_0x1b70b6)=>{_0x1b70b6[0x0][_0x4b7415([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x416615++,_0x416615==(0x10b1a8fa^_0x4e133e)&&(_0x34522b(),_0x1fb37e[_0x4b7415([0x6f,0x66,0x66])]());});}))];return window[_0x4b7415([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4b7415([0x72,0x61,0x63,0x65])](_0x64fc89)[_0x4b7415([0x74,0x68,0x65,0x6e])](()=>_0xdc6ae5);}async function _0x14c62e(){await _0x21c990,_0x5928d3[_0x4b7415([0x6d,0x6f,0x64,0x65,0x6c])][_0x4b7415([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3a5d6a,_0x5928d3[_0x4b7415([0x6d,0x6f,0x64,0x65,0x6c])][_0x4b7415([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3a5d6a,_0x5928d3[_0x4b7415([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4b7415([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1ff14f(_0x17bf68){const _0x5dac93=_0xd54ee3();_0x5928d3[_0x5dac93]=_0x4b7415([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])+_0x17bf68,_0x17bf68!=_0x4b7415([0x56,0x61,0x6c,0x69,0x64])&&_0x14c62e();}function _0xd54ee3(){const _0x50abb4=window[_0x4b7415([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4b7415([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4b7415([0x6e,0x6f,0x77])]())[_0x4b7415([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4b7415([0x2e]),'');let _0x26aef7=_0x4b7415([0x4c]);for(let _0x11c932=0x0;_0x11c932<_0x50abb4[_0x4b7415([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x11c932+=0x2){let _0x2481e3=window[_0x4b7415([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x50abb4[_0x4b7415([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x11c932,_0x11c932+0x2));_0x2481e3>=_0x5b9165[_0x4b7415([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2481e3-=_0x5b9165[_0x4b7415([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x26aef7+=_0x5b9165[_0x2481e3];}return _0x26aef7;}function _0x52b3d8(){const _0x421347=_0xad93ad[_0x4b7415([0x73,0x70,0x6c,0x69,0x74])](_0x4b7415([0x2e]));if(0x3!=_0x421347[_0x4b7415([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1c4131(_0x421347[0x1]);function _0x1c4131(_0x105c81){const _0x24428f=_0x58d8f2(_0x105c81);return _0x24428f&&_0x1e2c8f()?_0x24428f:null;function _0x1e2c8f(){const _0x40914e=_0x24428f[_0x4b7415([0x6a,0x74,0x69])],_0x275ba0=window[_0x4b7415([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x40914e[_0x4b7415([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x40914e[_0x4b7415([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x195214={..._0x24428f,[_0x4b7415([0x6a,0x74,0x69])]:_0x40914e[_0x4b7415([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x40914e[_0x4b7415([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x195214[_0x4b7415([0x76,0x63])],_0x2b63c4(_0x195214)==_0x275ba0;}}}async function _0x2df011(){let _0x5ebcef=!0x0;try{const _0x2ac972=_0xad93ad[_0x4b7415([0x73,0x70,0x6c,0x69,0x74])](_0x4b7415([0x2e])),[_0x3b8de5,_0xcf4b90,_0x17b7e3]=_0x2ac972;return _0x14ebcc(_0x3b8de5),await _0x5936ce(_0x3b8de5,_0xcf4b90,_0x17b7e3),_0x5ebcef;}catch{return!0x1;}function _0x14ebcc(_0x26eb1c){const _0x2c94e6=_0x58d8f2(_0x26eb1c);_0x2c94e6&&_0x2c94e6[_0x4b7415([0x61,0x6c,0x67])]==_0x4b7415([0x45,0x53,0x32,0x35,0x36])||(_0x5ebcef=!0x1);}async function _0x5936ce(_0x54b226,_0x3fe244,_0x2ee36c){const _0x4e1be9=window[_0x4b7415([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4b7415([0x66,0x72,0x6f,0x6d])](_0x54dd1a(_0x2ee36c),_0x330887=>_0x330887[_0x4b7415([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x214485=new window[(_0x4b7415([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4b7415([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x54b226+_0x4b7415([0x2e])+_0x3fe244),_0x4c207c=window[_0x4b7415([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4b7415([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4c207c)return;const _0x4eb2d8=await _0x4c207c[_0x4b7415([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4b7415([0x6a,0x77,0x6b]),_0x471236,{[_0x4b7415([0x6e,0x61,0x6d,0x65])]:_0x4b7415([0x45,0x43,0x44,0x53,0x41]),[_0x4b7415([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4b7415([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4b7415([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4c207c[_0x4b7415([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4b7415([0x6e,0x61,0x6d,0x65])]:_0x4b7415([0x45,0x43,0x44,0x53,0x41]),[_0x4b7415([0x68,0x61,0x73,0x68])]:{[_0x4b7415([0x6e,0x61,0x6d,0x65])]:_0x4b7415([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4eb2d8,_0x4e1be9,_0x214485)||(_0x5ebcef=!0x1);}}function _0x58d8f2(_0x5ba83e){return _0x5ba83e[_0x4b7415([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4b7415([0x65,0x79]))?JSON[_0x4b7415([0x70,0x61,0x72,0x73,0x65])](_0x54dd1a(_0x5ba83e)):null;}function _0x54dd1a(_0x17e1d3){return window[_0x4b7415([0x61,0x74,0x6f,0x62])](_0x17e1d3[_0x4b7415([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4b7415([0x2b]))[_0x4b7415([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4b7415([0x2f])));}function _0x2b63c4(_0x506739){let _0x3067c3=0x1505;function _0x7d0e5e(_0x43de0d){for(let _0x174df3=0x0;_0x174df3<_0x43de0d[_0x4b7415([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x174df3++){const _0x568a0b=_0x43de0d[_0x4b7415([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x174df3);_0x3067c3=(_0x3067c3<<0x5)+_0x3067c3+_0x568a0b,_0x3067c3&=_0x3067c3;}}function _0x47b0e4(_0x1623aa){Array[_0x4b7415([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1623aa)?_0x1623aa[_0x4b7415([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x47b0e4):_0x1623aa&&typeof _0x1623aa==_0x4b7415([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4b7415([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1623aa)[_0x4b7415([0x73,0x6f,0x72,0x74])]()[_0x4b7415([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3d24a2,_0x2a75e2])=>{_0x7d0e5e(_0x3d24a2),_0x47b0e4(_0x2a75e2);}):_0x7d0e5e(window[_0x4b7415([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1623aa));}return _0x47b0e4(_0x506739),_0x3067c3>>>0x0;}function _0x1465fc(_0xd635be){return _0xd635be[_0x4b7415([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4b7415([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4b7415([0x30]));}function _0xd5f60a(_0x45186c){return _0x45186c[_0x4b7415([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4b7415([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4b7415([0x6a,0x6f,0x69,0x6e])]('');}function _0x3a5d6a(){}function _0x4b7415(_0x5d553d){const _0x2441bb=_0xa16d;return _0x5d553d[_0x2441bb(0x9e)](_0x8f6d55=>String[_0x2441bb(0xb0)](_0x8f6d55))[_0x2441bb(0x92)]('');}_0x1ff14f(await _0x142349());}(this);}[_0x40400b(0xb2)](_0x5b4458,_0x4bada2,_0x511db0=!0x1){const _0x6d2fd9=_0x40400b,_0x15ea3d=new _0x5b4458(this[_0x6d2fd9(0xcf)][_0x6d2fd9(0x8b)]);return _0x15ea3d[_0x6d2fd9(0xc0)]({'withText':_0x511db0,'isToggleable':!0x1}),_0x15ea3d[_0x6d2fd9(0x85)](_0x6d2fd9(0x8f))['to'](_0x4bada2,_0x6d2fd9(0x8f)),this[_0x6d2fd9(0xca)](_0x15ea3d,_0x6d2fd9(0x9b),()=>_0x4bada2[_0x6d2fd9(0x9b)]()),_0x15ea3d;}[_0x40400b(0x80)](){const _0x2f3ea2=_0x40400b,_0x345379=this[_0x2f3ea2(0xcf)][_0x2f3ea2(0x8b)];this[_0x2f3ea2(0xcf)][_0x2f3ea2(0xa4)][_0x2f3ea2(0x99)]({'id':_0x2f3ea2(0xa8),'label':_0x46a76a(_0x345379,_0x2f3ea2(0xa0))});const _0x3ed797=_0x2b97e2[_0x2f3ea2(0x94)]||_0x2b97e2[_0x2f3ea2(0x86)];this[_0x2f3ea2(0xcf)][_0x2f3ea2(0xa4)][_0x2f3ea2(0xb8)]({'categoryId':_0x2f3ea2(0xa8),'keystrokes':[{'label':_0x46a76a(_0x345379,_0x2f3ea2(0x9c)),'keystroke':_0x2f3ea2(0xbb)},{'label':_0x46a76a(_0x345379,_0x2f3ea2(0xce)),'keystroke':_0x2f3ea2(0xbd)},{'label':_0x46a76a(_0x345379,_0x2f3ea2(0x7f)),'keystroke':_0x2f3ea2(0xc3)},{'label':_0x46a76a(_0x345379,_0x2f3ea2(0x81)),'keystroke':_0x2f3ea2(0xbf)},{'label':_0x46a76a(_0x345379,_0x2f3ea2(0x95)),'keystroke':_0x2f3ea2(0x91)},{'label':_0x46a76a(_0x345379,_0x2f3ea2(0x96)),'keystroke':_0x2f3ea2(0x8a)},{'label':_0x46a76a(_0x345379,_0x2f3ea2(0xb9)),'keystroke':_0x3ed797?_0x2f3ea2(0x8c):_0x2f3ea2(0xb7)},{'label':_0x46a76a(_0x345379,_0x2f3ea2(0xd1)),'keystroke':_0x2f3ea2(0xa1)},{'label':_0x46a76a(_0x345379,_0x2f3ea2(0xcc)),'keystroke':_0x2f3ea2(0x9d)},{'label':_0x46a76a(_0x345379,_0x2f3ea2(0x7e)),'keystroke':[[_0x2f3ea2(0x8e)],[_0x2f3ea2(0xa6)]]},{'label':_0x46a76a(_0x345379,_0x2f3ea2(0xb1)),'keystroke':_0x3ed797?_0x2f3ea2(0x98):_0x2f3ea2(0xb6)},{'label':_0x46a76a(_0x345379,_0x2f3ea2(0xc2)),'keystroke':_0x3ed797?_0x2f3ea2(0xa5):_0x2f3ea2(0x87)},{'label':_0x46a76a(_0x345379,_0x2f3ea2(0xb4)),'keystroke':_0x2f3ea2(0x82)},{'label':_0x46a76a(_0x345379,_0x2f3ea2(0x90)),'keystroke':_0x2f3ea2(0xc7)},{'label':_0x46a76a(_0x345379,_0x2f3ea2(0xa7)),'keystroke':_0x2f3ea2(0xaf)},{'label':_0x46a76a(_0x345379,_0x2f3ea2(0xb5)),'keystroke':_0x2f3ea2(0x89)},{'label':_0x46a76a(_0x345379,_0x2f3ea2(0xad)),'keystroke':_0x3ed797?_0x2f3ea2(0x93):_0x2f3ea2(0xbe)}]});}}
23
+ const _0x3689f0=_0x3b52;(function(_0x52d09b,_0x2fbf25){const _0x469b60=_0x3b52,_0x9ee6da=_0x52d09b();while(!![]){try{const _0x3c5903=-parseInt(_0x469b60(0x15f))/0x1*(-parseInt(_0x469b60(0x164))/0x2)+-parseInt(_0x469b60(0x15b))/0x3+parseInt(_0x469b60(0x16f))/0x4*(-parseInt(_0x469b60(0x166))/0x5)+-parseInt(_0x469b60(0x125))/0x6*(parseInt(_0x469b60(0x128))/0x7)+-parseInt(_0x469b60(0x152))/0x8+parseInt(_0x469b60(0x143))/0x9*(-parseInt(_0x469b60(0x170))/0xa)+parseInt(_0x469b60(0x147))/0xb;if(_0x3c5903===_0x2fbf25)break;else _0x9ee6da['push'](_0x9ee6da['shift']());}catch(_0x50b66f){_0x9ee6da['push'](_0x9ee6da['shift']());}}}(_0x192e,0x91dcd));import{Plugin as _0x3ea026,PendingActions as _0x16547e}from'ckeditor5/src/core.js';import{IconSource as _0x382487}from'ckeditor5/src/icons.js';import{ButtonView as _0x5cd587,MenuBarMenuListItemButtonView as _0x5efd59}from'ckeditor5/src/ui.js';import{EditSourceCommand as _0x932ce9}from'./ui/editsourcecommand.js';function _0x192e(){const _0x393be9=['Shift+Alt+ArrowDown','isEnabled','148qgCDUx','1490vinejr','Indent\x20less','Shift+Alt+ArrowUp','commands','menuBar:sourceEditingEnhanced','Indent\x20more','Ctrl+/','Ctrl+]','accessibility','Toggle\x20comment','SourceEditingEnhancedUI','1397268cydUYd','Move\x20line\x20up','Ctrl!+Alt+]','14zpRTMw','Alt+L','fromCharCode','Toggle\x20block\x20comment','init','Undo\x20(keystroke)','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode','_registerKeybindings','Cmd+Alt+]','Select\x20line','locale','Redo\x20(keystroke)','Ctrl!+L','isOfficialPlugin','ck-source-editing-enhanced-button','Ctrl+Shift+Z','addKeystrokeInfos','Fold\x20all','Delete\x20line','set','Shift+Alt+A','Alt+ArrowUp','Ctrl+Z','_createButton','map','Ctrl+Shift+]','join','27909hrYYIp','Ctrl+[','editSource','Unfold\x20code\x20(current\x20level)','31021672zJGNVy','Fold\x20code\x20(current\x20level)','isPremiumPlugin','Source','menuitemcheckbox','Unfold\x20all','Alt+Shift+M','pluginName','Source\x20Editing\x20Enhanced','componentFactory','sourceEditingEnhanced','384616mifsra','Alt+ArrowDown','Ctrl+Y','Ctrl+Shift+[','execute','Move\x20line\x20down','Copy\x20line\x20down','href','Cmd+Alt+[','3350274EoCnDc','add','isMac','editor','1JDygfc','requires','addKeystrokeInfoCategory','afterInit','bind','1168822tlsMrS','Shift+Ctrl+K','96550dNVhqf','listenTo','Ctrl+M','Edit\x20source\x20modal\x20label','Copy\x20line\x20up','Ctrl!+Alt+[','isiOS'];_0x192e=function(){return _0x393be9;};return _0x192e();}function _0x3b52(_0x1c5999,_0xe03bba){const _0x192efd=_0x192e();return _0x3b52=function(_0x3b526b,_0x3225f8){_0x3b526b=_0x3b526b-0x11c;let _0x431317=_0x192efd[_0x3b526b];return _0x431317;},_0x3b52(_0x1c5999,_0xe03bba);}import{getTranslation as _0x5c32f7}from'./utils/common-translations.js';import{env as _0x4efd04,uid as _0x2f7964}from'ckeditor5/src/utils.js';import'../theme/sourceeditingenhanced.css';export class SourceEditingEnhancedUI extends _0x3ea026{static get[_0x3689f0(0x14e)](){const _0x22f5cd=_0x3689f0;return _0x22f5cd(0x124);}static get[_0x3689f0(0x160)](){return[_0x16547e];}static get[_0x3689f0(0x135)](){return!0x0;}static get[_0x3689f0(0x149)](){return!0x0;}[_0x3689f0(0x12c)](){const _0x165df6=_0x3689f0,_0x33b278=this[_0x165df6(0x15e)],_0x2bf89b=_0x33b278[_0x165df6(0x132)],_0x2e5049=new _0x932ce9(_0x33b278);_0x33b278[_0x165df6(0x11d)][_0x165df6(0x15c)](_0x165df6(0x145),_0x2e5049),_0x33b278['ui'][_0x165df6(0x150)][_0x165df6(0x15c)](_0x165df6(0x151),()=>{const _0x1d76b2=_0x165df6,_0x28509b=this[_0x1d76b2(0x13f)](_0x5cd587,_0x2e5049);return _0x28509b[_0x1d76b2(0x13b)]({'label':_0x5c32f7(_0x2bf89b,_0x1d76b2(0x14a)),'icon':_0x382487,'tooltip':_0x5c32f7(_0x2bf89b,_0x1d76b2(0x169)),'class':_0x1d76b2(0x136)}),_0x28509b;}),_0x33b278['ui'][_0x165df6(0x150)][_0x165df6(0x15c)](_0x165df6(0x11e),()=>{const _0x39c8df=_0x165df6,_0x5454e1=this[_0x39c8df(0x13f)](_0x5efd59,_0x2e5049,!0x0);return _0x5454e1[_0x39c8df(0x13b)]({'label':_0x5c32f7(_0x2bf89b,_0x39c8df(0x169)),'icon':_0x382487,'role':_0x39c8df(0x14b)}),_0x5454e1;}),this[_0x165df6(0x12f)]();}[_0x3689f0(0x162)](){!async function(_0x49261f){const _0x246567=_0x113fb6([0x32,0x55,0x37,0x51,0x6a,0x46,0x4b,0x56,0x5a,0x66,0x52,0x48,0x50,0x58,0x39,0x71,0x68,0x47,0x69,0x4a,0x49,0x53,0x54,0x59,0x33,0x76,0x65,0x6b,0x42,0x74,0x77,0x63,0x43,0x44,0x72,0x75,0x6c,0x6e,0x61,0x34,0x4c,0x30,0x4d,0x78,0x57,0x67,0x31,0x7a,0x4f,0x36,0x73,0x4e,0x45,0x62,0x41,0x79,0x64,0x38,0x35,0x6f,0x6d,0x70]),_0x100f3a=0x22e0c927,_0x42d3c5=0x22e7b9cf^_0x100f3a,_0x5f2aaa=window[_0x113fb6([0x44,0x61,0x74,0x65])][_0x113fb6([0x6e,0x6f,0x77])](),_0x29fefb=_0x49261f[_0x113fb6([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xc3ea43=new window[(_0x113fb6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xea0c19=>{_0x29fefb[_0x113fb6([0x6f,0x6e,0x63,0x65])](_0x113fb6([0x72,0x65,0x61,0x64,0x79]),_0xea0c19);}),_0x28c904={[_0x113fb6([0x6b,0x74,0x79])]:_0x113fb6([0x45,0x43]),[_0x113fb6([0x75,0x73,0x65])]:_0x113fb6([0x73,0x69,0x67]),[_0x113fb6([0x63,0x72,0x76])]:_0x113fb6([0x50,0x2d,0x32,0x35,0x36]),[_0x113fb6([0x78])]:_0x113fb6([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]),[_0x113fb6([0x79])]:_0x113fb6([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]),[_0x113fb6([0x61,0x6c,0x67])]:_0x113fb6([0x45,0x53,0x32,0x35,0x36])},_0x295f4e=_0x29fefb[_0x113fb6([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x113fb6([0x67,0x65,0x74])](_0x113fb6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5dc488(){let _0x12e786,_0x232f72=null,_0x2de893=null;try{if(_0x295f4e==_0x113fb6([0x47,0x50,0x4c]))return _0x113fb6([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x12e786=_0x7b5891(),!_0x12e786)return _0x113fb6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x12e786[_0x113fb6([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2de893=_0x505168(_0x12e786[_0x113fb6([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x12e786[_0x113fb6([0x6a,0x74,0x69])])),await _0x5baddb()?_0x4d1afe()?_0x42f0e6()?_0x113fb6([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x53cf30()?(_0x12e786[_0x113fb6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x113fb6([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x232f72=_0x10b2f3(_0x113fb6([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x12e786[_0x113fb6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x113fb6([0x74,0x72,0x69,0x61,0x6c])&&(_0x232f72=_0x10b2f3(_0x113fb6([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x284a29()):_0x113fb6([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x113fb6([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x113fb6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x113fb6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x42f0e6(){const _0x251deb=[_0x113fb6([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x113fb6([0x74,0x72,0x69,0x61,0x6c])][_0x113fb6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x12e786[_0x113fb6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5f2aaa/0x3e8:0xe10*_0x42d3c5;return _0x12e786[_0x113fb6([0x65,0x78,0x70])]<_0x251deb;}function _0x4d1afe(){const _0x86df6b=_0x12e786[_0x113fb6([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x86df6b&&(!!_0x86df6b[_0x113fb6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x113fb6([0x2a]))||!!_0x86df6b[_0x113fb6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x113fb6([0x53,0x45,0x45])));}function _0x53cf30(){const _0x5d0586=_0x3b52,_0xa9e0ae=_0x12e786[_0x113fb6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xa9e0ae||0x0==_0xa9e0ae[_0x113fb6([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1039c4}=new URL(window[_0x113fb6([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x5d0586(0x159)]);if(_0xa9e0ae[_0x113fb6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1039c4))return!0x0;const _0x32ec15=_0x1039c4[_0x113fb6([0x73,0x70,0x6c,0x69,0x74])](_0x113fb6([0x2e]));return _0xa9e0ae[_0x113fb6([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1283ce=>_0x1283ce[_0x113fb6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x113fb6([0x2a])))[_0x113fb6([0x6d,0x61,0x70])](_0x539a7d=>_0x539a7d[_0x113fb6([0x73,0x70,0x6c,0x69,0x74])](_0x113fb6([0x2e])))[_0x113fb6([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x38b3de=>_0x38b3de[_0x113fb6([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x32ec15[_0x113fb6([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x113fb6([0x6d,0x61,0x70])](_0x2e203e=>Array(_0x32ec15[_0x113fb6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2e203e[_0x113fb6([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x113fb6([0x66,0x69,0x6c,0x6c])](_0x2e203e[0x0]===_0x113fb6([0x2a])?_0x113fb6([0x2a]):'')[_0x113fb6([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2e203e))[_0x113fb6([0x73,0x6f,0x6d,0x65])](_0x25e6ee=>_0x32ec15[_0x113fb6([0x65,0x76,0x65,0x72,0x79])]((_0x269827,_0x43bbe3)=>_0x25e6ee[_0x43bbe3]===_0x269827||_0x25e6ee[_0x43bbe3]===_0x113fb6([0x2a])));}function _0x284a29(){return _0x232f72&&_0x2de893?new window[(_0x113fb6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3a95b3,_0x261df5)=>{_0x232f72[_0x113fb6([0x74,0x68,0x65,0x6e])](_0x3a95b3,_0x261df5),_0x2de893[_0x113fb6([0x74,0x68,0x65,0x6e])](_0x14c8b9=>{_0x14c8b9!=_0x113fb6([0x56,0x61,0x6c,0x69,0x64])&&_0x3a95b3(_0x14c8b9);},_0x261df5);}):_0x232f72||_0x2de893||_0x113fb6([0x56,0x61,0x6c,0x69,0x64]);}}function _0x505168(_0x25eb66,_0x902e08){return new window[(_0x113fb6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2b2f39=>{if(_0x140312())return _0x2b2f39(_0x113fb6([0x56,0x61,0x6c,0x69,0x64]));_0x4b3877(),_0x29fefb[_0x113fb6([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x113fb6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1e64d8=!0x1;const _0x5445d8=_0x2f7964();function _0x5b5996(_0x4d8a44){return!!_0x4d8a44&&(typeof _0x4d8a44===_0x113fb6([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4d8a44===_0x113fb6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4d8a44[_0x113fb6([0x74,0x68,0x65,0x6e])]===_0x113fb6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4d8a44[_0x113fb6([0x63,0x61,0x74,0x63,0x68])]===_0x113fb6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x29cec3(_0x1ecd17){_0x5ee97e(_0x1ecd17)[_0x113fb6([0x74,0x68,0x65,0x6e])](_0x213bd1=>{if(!_0x213bd1||_0x213bd1[_0x113fb6([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x113fb6([0x6f,0x6b]))return _0x113fb6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3e039d(_0x5b8d82(_0x5445d8+_0x902e08))!=_0x213bd1[_0x113fb6([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x113fb6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x113fb6([0x56,0x61,0x6c,0x69,0x64]);})[_0x113fb6([0x74,0x68,0x65,0x6e])](_0x1ce0c9=>(_0xb2aa6b(),_0x1ce0c9),()=>{const _0x4fc985=_0xbfa237();return null==_0x4fc985?(_0xb2aa6b(),_0x113fb6([0x56,0x61,0x6c,0x69,0x64])):_0x113fb6(_0x5f2aaa-_0x4fc985>(0x6ec4d27^_0x100f3a)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x113fb6([0x74,0x68,0x65,0x6e])](_0x2b2f39)[_0x113fb6([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2b2f39(_0x113fb6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x11d2ed=0x22d627a7^_0x100f3a;function _0xb2aa6b(){const _0x3738eb=_0x113fb6([0x6c,0x6c,0x63,0x74,0x2d])+_0x3e039d(_0x5b8d82(_0x25eb66)),_0x11549d=_0x5699c8(_0x3e039d(window[_0x113fb6([0x4d,0x61,0x74,0x68])][_0x113fb6([0x63,0x65,0x69,0x6c])](_0x5f2aaa/_0x11d2ed)));window[_0x113fb6([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x113fb6([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3738eb,_0x11549d);}function _0xbfa237(){const _0xc9b59a=_0x113fb6([0x6c,0x6c,0x63,0x74,0x2d])+_0x3e039d(_0x5b8d82(_0x25eb66)),_0x598ea5=window[_0x113fb6([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x113fb6([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xc9b59a);return _0x598ea5?window[_0x113fb6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5699c8(_0x598ea5),0x10)*_0x11d2ed:null;}function _0x5ee97e(_0x14fb79){return new window[(_0x113fb6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x589415,_0x979f89)=>{_0x14fb79[_0x113fb6([0x74,0x68,0x65,0x6e])](_0x589415,_0x979f89),window[_0x113fb6([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x979f89,0x22e11de7^_0x100f3a);});}}_0x29fefb[_0x113fb6([0x6f,0x6e])](_0x113fb6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x381f35,_0x46eecb)=>{if(_0x46eecb[0x0]!=_0x25eb66)return _0x2b2f39(_0x113fb6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x46eecb[0x1]={..._0x46eecb[0x1],[_0x113fb6([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5445d8};},{[_0x113fb6([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x113fb6([0x68,0x69,0x67,0x68])}),_0x29fefb[_0x113fb6([0x6f,0x6e])](_0x113fb6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3755be=>{_0x5b5996(_0x3755be[_0x113fb6([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1e64d8=!0x0,_0x29cec3(_0x3755be[_0x113fb6([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x113fb6([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x113fb6([0x6c,0x6f,0x77])}),_0xc3ea43[_0x113fb6([0x74,0x68,0x65,0x6e])](()=>{_0x1e64d8||_0x2b2f39(_0x113fb6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x140312(){return _0x29fefb[_0x113fb6([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x113fb6([0x76,0x69,0x65,0x77])][_0x113fb6([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x113fb6([0x61,0x75,0x74,0x6f]);}function _0x4b3877(){_0x29fefb[_0x113fb6([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x113fb6([0x76,0x69,0x65,0x77])][_0x113fb6([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x113fb6([0x61,0x75,0x74,0x6f]);}}function _0x10b2f3(_0x4d3b54){const _0x38712d=[new window[(_0x113fb6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x436b7d=>setTimeout(_0x436b7d,0x22e9f7eb^_0x100f3a)),_0xc3ea43[_0x113fb6([0x74,0x68,0x65,0x6e])](()=>new window[(_0x113fb6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2b70cd=>{let _0x1a7589=0x0;_0x29fefb[_0x113fb6([0x6d,0x6f,0x64,0x65,0x6c])][_0x113fb6([0x6f,0x6e])](_0x113fb6([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1a6f86,_0x3b99de)=>{_0x3b99de[0x0][_0x113fb6([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1a7589++,_0x1a7589==(0x22e0c8df^_0x100f3a)&&(_0x2b70cd(),_0x1a6f86[_0x113fb6([0x6f,0x66,0x66])]());});}))];return window[_0x113fb6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x113fb6([0x72,0x61,0x63,0x65])](_0x38712d)[_0x113fb6([0x74,0x68,0x65,0x6e])](()=>_0x4d3b54);}async function _0x28f06d(){await _0xc3ea43,_0x29fefb[_0x113fb6([0x6d,0x6f,0x64,0x65,0x6c])][_0x113fb6([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5d6d14,_0x29fefb[_0x113fb6([0x6d,0x6f,0x64,0x65,0x6c])][_0x113fb6([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5d6d14,_0x29fefb[_0x113fb6([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x113fb6([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3dc4d4(_0x5df846){const _0x376813=_0x1568c9();_0x29fefb[_0x376813]=_0x113fb6([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])+_0x5df846,_0x5df846!=_0x113fb6([0x56,0x61,0x6c,0x69,0x64])&&_0x28f06d();}function _0x1568c9(){const _0x241b29=window[_0x113fb6([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x113fb6([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x113fb6([0x6e,0x6f,0x77])]())[_0x113fb6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x113fb6([0x2e]),'');let _0x17669e=_0x113fb6([0x55]);for(let _0x5b71db=0x0;_0x5b71db<_0x241b29[_0x113fb6([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5b71db+=0x2){let _0x6598cc=window[_0x113fb6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x241b29[_0x113fb6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5b71db,_0x5b71db+0x2));_0x6598cc>=_0x246567[_0x113fb6([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x6598cc-=_0x246567[_0x113fb6([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x17669e+=_0x246567[_0x6598cc];}return _0x17669e;}function _0x7b5891(){const _0x432bc9=_0x295f4e[_0x113fb6([0x73,0x70,0x6c,0x69,0x74])](_0x113fb6([0x2e]));if(0x3!=_0x432bc9[_0x113fb6([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x449c0b(_0x432bc9[0x1]);function _0x449c0b(_0x1c012c){const _0x30ff69=_0x48afb(_0x1c012c);return _0x30ff69&&_0x2a0149()?_0x30ff69:null;function _0x2a0149(){const _0x164785=_0x30ff69[_0x113fb6([0x6a,0x74,0x69])],_0x36ed01=window[_0x113fb6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x164785[_0x113fb6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x164785[_0x113fb6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x157f06={..._0x30ff69,[_0x113fb6([0x6a,0x74,0x69])]:_0x164785[_0x113fb6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x164785[_0x113fb6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x157f06[_0x113fb6([0x76,0x63])],_0x5b8d82(_0x157f06)==_0x36ed01;}}}async function _0x5baddb(){let _0x25057a=!0x0;try{const _0x3555aa=_0x295f4e[_0x113fb6([0x73,0x70,0x6c,0x69,0x74])](_0x113fb6([0x2e])),[_0x404ae0,_0x3702f8,_0xe0580f]=_0x3555aa;return _0x5e8168(_0x404ae0),await _0x45e41f(_0x404ae0,_0x3702f8,_0xe0580f),_0x25057a;}catch{return!0x1;}function _0x5e8168(_0x43ce02){const _0x5010dc=_0x48afb(_0x43ce02);_0x5010dc&&_0x5010dc[_0x113fb6([0x61,0x6c,0x67])]==_0x113fb6([0x45,0x53,0x32,0x35,0x36])||(_0x25057a=!0x1);}async function _0x45e41f(_0x2e8077,_0x2383f6,_0x3d7184){const _0x4b0e16=window[_0x113fb6([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x113fb6([0x66,0x72,0x6f,0x6d])](_0x1a6380(_0x3d7184),_0x2bdf62=>_0x2bdf62[_0x113fb6([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x195e52=new window[(_0x113fb6([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x113fb6([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2e8077+_0x113fb6([0x2e])+_0x2383f6),_0x34bf9e=window[_0x113fb6([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x113fb6([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x34bf9e)return;const _0x4fb347=await _0x34bf9e[_0x113fb6([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x113fb6([0x6a,0x77,0x6b]),_0x28c904,{[_0x113fb6([0x6e,0x61,0x6d,0x65])]:_0x113fb6([0x45,0x43,0x44,0x53,0x41]),[_0x113fb6([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x113fb6([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x113fb6([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x34bf9e[_0x113fb6([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x113fb6([0x6e,0x61,0x6d,0x65])]:_0x113fb6([0x45,0x43,0x44,0x53,0x41]),[_0x113fb6([0x68,0x61,0x73,0x68])]:{[_0x113fb6([0x6e,0x61,0x6d,0x65])]:_0x113fb6([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4fb347,_0x4b0e16,_0x195e52)||(_0x25057a=!0x1);}}function _0x48afb(_0x331a62){return _0x331a62[_0x113fb6([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x113fb6([0x65,0x79]))?JSON[_0x113fb6([0x70,0x61,0x72,0x73,0x65])](_0x1a6380(_0x331a62)):null;}function _0x1a6380(_0x808c05){return window[_0x113fb6([0x61,0x74,0x6f,0x62])](_0x808c05[_0x113fb6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x113fb6([0x2b]))[_0x113fb6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x113fb6([0x2f])));}function _0x5b8d82(_0x5bd6de){let _0x241fe6=0x1505;function _0x3adcdd(_0x1fcd51){for(let _0x20abc0=0x0;_0x20abc0<_0x1fcd51[_0x113fb6([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x20abc0++){const _0x2308ba=_0x1fcd51[_0x113fb6([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x20abc0);_0x241fe6=(_0x241fe6<<0x5)+_0x241fe6+_0x2308ba,_0x241fe6&=_0x241fe6;}}function _0x15c8ec(_0x3e6b03){Array[_0x113fb6([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3e6b03)?_0x3e6b03[_0x113fb6([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x15c8ec):_0x3e6b03&&typeof _0x3e6b03==_0x113fb6([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x113fb6([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3e6b03)[_0x113fb6([0x73,0x6f,0x72,0x74])]()[_0x113fb6([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x52c907,_0xdf96c5])=>{_0x3adcdd(_0x52c907),_0x15c8ec(_0xdf96c5);}):_0x3adcdd(window[_0x113fb6([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3e6b03));}return _0x15c8ec(_0x5bd6de),_0x241fe6>>>0x0;}function _0x3e039d(_0x224c82){return _0x224c82[_0x113fb6([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x113fb6([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x113fb6([0x30]));}function _0x5699c8(_0x12f76b){return _0x12f76b[_0x113fb6([0x73,0x70,0x6c,0x69,0x74])]('')[_0x113fb6([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x113fb6([0x6a,0x6f,0x69,0x6e])]('');}function _0x5d6d14(){}function _0x113fb6(_0x260380){const _0x1b516d=_0x3b52;return _0x260380[_0x1b516d(0x140)](_0x16d0f1=>String[_0x1b516d(0x12a)](_0x16d0f1))[_0x1b516d(0x142)]('');}_0x3dc4d4(await _0x5dc488());}(this);}[_0x3689f0(0x13f)](_0x2df9a1,_0x4946e3,_0x31c892=!0x1){const _0x571332=_0x3689f0,_0x25b6e9=new _0x2df9a1(this[_0x571332(0x15e)][_0x571332(0x132)]);return _0x25b6e9[_0x571332(0x13b)]({'withText':_0x31c892,'isToggleable':!0x1}),_0x25b6e9[_0x571332(0x163)](_0x571332(0x16e))['to'](_0x4946e3,_0x571332(0x16e)),this[_0x571332(0x167)](_0x25b6e9,_0x571332(0x156),()=>_0x4946e3[_0x571332(0x156)]()),_0x25b6e9;}[_0x3689f0(0x12f)](){const _0x518984=_0x3689f0,_0x348caf=this[_0x518984(0x15e)][_0x518984(0x132)];this[_0x518984(0x15e)][_0x518984(0x122)][_0x518984(0x161)]({'id':_0x518984(0x151),'label':_0x5c32f7(_0x348caf,_0x518984(0x14f))});const _0x2b327e=_0x4efd04[_0x518984(0x15d)]||_0x4efd04[_0x518984(0x16c)];this[_0x518984(0x15e)][_0x518984(0x122)][_0x518984(0x138)]({'categoryId':_0x518984(0x151),'keystrokes':[{'label':_0x5c32f7(_0x348caf,_0x518984(0x158)),'keystroke':_0x518984(0x16d)},{'label':_0x5c32f7(_0x348caf,_0x518984(0x16a)),'keystroke':_0x518984(0x11c)},{'label':_0x5c32f7(_0x348caf,_0x518984(0x13a)),'keystroke':_0x518984(0x165)},{'label':_0x5c32f7(_0x348caf,_0x518984(0x171)),'keystroke':_0x518984(0x144)},{'label':_0x5c32f7(_0x348caf,_0x518984(0x11f)),'keystroke':_0x518984(0x121)},{'label':_0x5c32f7(_0x348caf,_0x518984(0x139)),'keystroke':_0x518984(0x16b)},{'label':_0x5c32f7(_0x348caf,_0x518984(0x148)),'keystroke':_0x2b327e?_0x518984(0x15a):_0x518984(0x155)},{'label':_0x5c32f7(_0x348caf,_0x518984(0x157)),'keystroke':_0x518984(0x153)},{'label':_0x5c32f7(_0x348caf,_0x518984(0x126)),'keystroke':_0x518984(0x13d)},{'label':_0x5c32f7(_0x348caf,_0x518984(0x133)),'keystroke':[[_0x518984(0x137)],[_0x518984(0x154)]]},{'label':_0x5c32f7(_0x348caf,_0x518984(0x131)),'keystroke':_0x2b327e?_0x518984(0x134):_0x518984(0x129)},{'label':_0x5c32f7(_0x348caf,_0x518984(0x12e)),'keystroke':_0x2b327e?_0x518984(0x14d):_0x518984(0x168)},{'label':_0x5c32f7(_0x348caf,_0x518984(0x12b)),'keystroke':_0x518984(0x13c)},{'label':_0x5c32f7(_0x348caf,_0x518984(0x123)),'keystroke':_0x518984(0x120)},{'label':_0x5c32f7(_0x348caf,_0x518984(0x12d)),'keystroke':_0x518984(0x13e)},{'label':_0x5c32f7(_0x348caf,_0x518984(0x14c)),'keystroke':_0x518984(0x127)},{'label':_0x5c32f7(_0x348caf,_0x518984(0x146)),'keystroke':_0x2b327e?_0x518984(0x130):_0x518984(0x141)}]});}}