@ckeditor/ckeditor5-source-editing-enhanced 45.2.0-alpha.5 → 45.2.0-alpha.6

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 _0x315bc9,PendingActions as _0x260027,Plugin as _0x45a0d9}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x1e1cd7,formatHtml as tr,env as _0x240e50,uid as _0x4fec19}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconSource as _0x109c84}from'@ckeditor/ckeditor5-icons/dist/index.js';import{View as _0x75f17a,ButtonView as _0x4073bd,MenuBarMenuListItemButtonView as _0x101771}from'@ckeditor/ckeditor5-ui/dist/index.js';import{EditorView as _0x1a1123,crosshairCursor as _0x1ba1ce,drawSelection as _0x4dda5f,dropCursor as _0x397354,lineNumbers as _0x405193,highlightActiveLine as _0x2b7172,highlightActiveLineGutter as _0x78c82a,highlightSpecialChars as _0x11ef41,rectangularSelection as _0x11806d,keymap as _0x4ee9c7}from'@codemirror/view';import{Compartment as _0x2d2112,Transaction as _0x136389}from'@codemirror/state';import{bracketMatching as _0xd86551,foldGutter as _0x12a3de,indentOnInput as _0x34f3ca,syntaxHighlighting as _0xa930b9,defaultHighlightStyle as _0x23b2ca,foldKeymap as _0x2d77f5}from'@codemirror/language';import{toggleTabFocusMode as _0x18ef86,history as _0xa6759e,defaultKeymap as _0x547707,historyKeymap as _0x2d92bf,indentLess as _0x1c4e49,indentMore as _0x4e7f30,redo as _0x186d8f,undo as _0x48db2b}from'@codemirror/commands';import{autocompletion as _0x4fc293,closeBrackets as _0x3d968b,closeBracketsKeymap as _0x4a98a1,completionKeymap as _0x88dfc}from'@codemirror/autocomplete';import{html as _0x15129d}from'@codemirror/lang-html';import{markdown as _0x161641}from'@codemirror/lang-markdown';import{oneDark as _0x532208}from'@codemirror/theme-one-dark';function f(_0x69303e,_0x1ec819){const t=_0x69303e['t'];switch(_0x1ec819){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 _0x1ec819;}}function s(_0x4b2ba7){const _0x150254=_0x4b2ba7['editing']['view']['document']['roots'],_0x426b3b=_0x150254['length'];if(0x0===_0x426b3b)throw new _0x1e1cd7('source-editing-enhanced-editor-no-root',_0x4b2ba7);if(0x1===_0x426b3b)return _0x150254['first']['rootName'];return Array['from'](_0x4b2ba7['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function E(_0x295117){return or(_0x295117['replace'](/^[\n\s]*/g,''))?_0x295117['replace'](/\s+/g,''):_0x295117;}function or(_0x38e3d7){return _0x38e3d7['startsWith']('<');}function p(_0x13d69b){const _0x127350=[_0x1a1123['lineWrapping'],_0x4fc293(),_0xd86551(),_0x3d968b(),_0x1ba1ce(),_0x4dda5f(),_0x397354(),_0x405193(),_0x12a3de(),_0x2b7172(),_0x78c82a(),_0x11ef41(),_0xa6759e(),_0x34f3ca(),_0x11806d(),_0xa930b9(_0x23b2ca,{'fallback':!0x0})],_0x1265ef=new _0x2d2112();_0x127350['push'](_0x1265ef['of'](_0x1a1123['editable']['of'](!0x0))),'html'===_0x13d69b['syntaxLanguage']?_0x127350['push'](_0x15129d()):_0x127350['push'](_0x161641());const _0x4daed4=function(_0x43352f){if(_0x43352f&&'default'!==_0x43352f)return'dark'===_0x43352f?_0x532208:_0x43352f;return null;}(_0x13d69b['theme']);_0x4daed4&&_0x127350['push'](_0x4daed4),_0x127350['push'](_0x4ee9c7['of']([..._0x4a98a1,..._0x547707,..._0x2d92bf,..._0x2d77f5,..._0x88dfc,{'key':'Tab','run':_0x4e7f30,'shift':_0x1c4e49,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-y','mac':'Cmd-y','run':_0x186d8f,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-Shift-z','mac':'Cmd-Shift-z','run':_0x186d8f,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-z','mac':'Cmd-z','run':_0x48db2b,'preventDefault':!0x0,'stopPropagation':!0x0}]));const _0x336aba=new _0x1a1123({'extensions':_0x127350,'parent':_0x13d69b['parent']});return _0x18ef86(_0x336aba),{'focus':()=>{_0x336aba['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x336aba['focus']();},'getData':()=>_0x336aba['state']['doc']['toString'](),'setData':_0x2f17fe=>{_0x336aba['dispatch']({'changes':{'from':0x0,'to':_0x336aba['state']['doc']['length'],'insert':_0x2f17fe},'annotations':_0x136389['addToHistory']['of'](!0x1)});},'setReadOnly':_0x8c9073=>{_0x336aba['dispatch']({'effects':[_0x1265ef['reconfigure'](_0x1a1123['editable']['of'](!_0x8c9073))]});},'destroy':()=>{_0x336aba['destroy']();},'instance':_0x336aba};}class m extends _0x75f17a{['_codeEditorApi']=null;['_options'];constructor(_0x353911,_0x277394){super(_0x353911),this['_options']=_0x277394,this['set']('isReadOnly',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all-excluded','ck-code-editor'],'tabindex':-0x1}});}['render'](){super['render'](),this['_codeEditorApi']=p({'parent':this['element'],'syntaxLanguage':this['_options']['syntaxLanguage'],'theme':this['_options']['theme']}),this['on']('change:isReadOnly',(_0xe3c58,_0x133fc0,_0x19b1d0)=>{this['setReadOnly'](_0x19b1d0);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0x1e1b7e){this['_codeEditorApi']['setData'](_0x1e1b7e);}['setReadOnly'](_0x579da6){this['_codeEditorApi']['setReadOnly'](_0x579da6);}}const b='SourceEditingEnhancedMode';class d extends _0x315bc9{constructor(_0x76499d){super(_0x76499d),this['affectsData']=!0x1,this['editor']['plugins']['get'](_0x260027)['on']('change:hasAny',(_0x3eb73a,_0x19742,_0x1054be)=>{_0x1054be?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['_disableCommands'](){const _0x43a974=this['editor'];for(const _0x242bc6 of _0x43a974['commands']['names']())['replaceSource','editSource']['includes'](_0x242bc6)||_0x43a974['commands']['get'](_0x242bc6)['forceDisabled'](b);}['_enableCommands'](){const _0x3ca691=this['editor'];for(const _0x3bff30 of _0x3ca691['commands']['commands']())_0x3bff30['clearForceDisabled'](b);}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x68204b=this['editor'],_0x2110c2=_0x68204b['locale'],_0x3d02d8=_0x68204b['plugins']['get']('Dialog'),_0x317c28=s(_0x68204b),_0x28bea0=_0x68204b['data']['get']({'rootName':_0x317c28}),_0x3ca325=or(_0x4530a3=_0x28bea0)?tr(_0x4530a3):_0x4530a3;var _0x4530a3;const _0x538192=new m(_0x2110c2,{'syntaxLanguage':_0x68204b['plugins']['has']('Markdown')?'markdown':'html','theme':_0x68204b['config']['get']('sourceEditingEnhanced.theme')});let _0x395bf6=!0x0;const _0x2f1b4a=_0x586d02=>{if(!_0x395bf6)return;return E(_0x538192['getData']())!==E(_0x3ca325)?window['confirm'](f(_0x2110c2,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0x586d02['stop']():void 0x0;};_0x3d02d8['show']({'id':'sourceEditingEnhanced','title':f(_0x2110c2,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0x538192,'actionButtons':[{'label':f(_0x2110c2,'Cancel'),'withText':!0x0,'onExecute':()=>{_0x3d02d8['hide']();}},{'label':f(_0x2110c2,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0x6f8109=E(_0x538192['getData']())!==E(_0x3ca325);(_0x6f8109&&_0x68204b['execute']('replaceSource',_0x538192['getData']()),_0x395bf6=!0x1,_0x3d02d8['hide'](),_0x6f8109&&'editables'in _0x68204b['ui']['view'])&&_0x68204b['ui']['view']['editables'][_0x317c28]['element']['focus']();},'onCreate':_0x3e07fc=>{_0x3e07fc['set']('isEnabled',!_0x68204b['isReadOnly']),_0x3e07fc['bind']('isEnabled')['to'](_0x68204b,'isReadOnly',this,'isEnabled',(_0x269908,_0x15f1cc)=>!_0x269908&&_0x15f1cc);}}],'onHide':()=>{this['_enableCommands'](),_0x3d02d8['off']('hide',_0x2f1b4a),_0x538192['destroy']();},'onShow':()=>{_0x538192['bind']('isReadOnly')['to'](_0x68204b,'isReadOnly',this,'isEnabled',(_0x22c106,_0x517e15)=>_0x22c106||!_0x517e15),_0x538192['setData'](_0x3ca325),_0x538192['focus'](),_0x3d02d8['on']('hide',_0x2f1b4a,{'priority':'highest'}),this['_disableCommands']();}});}}class a extends _0x45a0d9{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[_0x260027];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x25f9f8=this['editor'],_0x5b655c=_0x25f9f8['locale'],_0x67c79=new d(_0x25f9f8);_0x25f9f8['commands']['add']('editSource',_0x67c79),_0x25f9f8['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0x239f26=this['_createButton'](_0x4073bd,_0x67c79);return _0x239f26['set']({'label':f(_0x5b655c,'Source'),'icon':_0x109c84,'tooltip':f(_0x5b655c,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0x239f26;}),_0x25f9f8['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0x896d35=this['_createButton'](_0x101771,_0x67c79,!0x0);return _0x896d35['set']({'label':f(_0x5b655c,'Edit\x20source\x20modal\x20label'),'icon':_0x109c84,'role':'menuitemcheckbox'}),_0x896d35;}),this['_registerKeybindings']();}['afterInit'](){!async function(_0x142ce7){const _0x31d932=_0x5a2ed8([0x54,0x6a,0x74,0x33,0x73,0x68,0x48,0x35,0x51,0x4f,0x72,0x44,0x77,0x55,0x79,0x4d,0x49,0x30,0x45,0x59,0x6c,0x46,0x63,0x39,0x38,0x4b,0x76,0x4c,0x32,0x53,0x4e,0x61,0x6d,0x34,0x50,0x71,0x57,0x5a,0x69,0x6e,0x75,0x62,0x70,0x31,0x42,0x43,0x65,0x6f,0x47,0x67,0x7a,0x6b,0x66,0x58,0x56,0x37,0x52,0x64,0x78,0x4a,0x36,0x41]),_0x184d47=0x702ed660,_0x16d193=0x7029bff8^_0x184d47,_0x7dce4f=window[_0x5a2ed8([0x44,0x61,0x74,0x65])][_0x5a2ed8([0x6e,0x6f,0x77])](),_0x44d422=_0x142ce7[_0x5a2ed8([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x42255b=new window[(_0x5a2ed8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x55d4bf=>{_0x44d422[_0x5a2ed8([0x6f,0x6e,0x63,0x65])](_0x5a2ed8([0x72,0x65,0x61,0x64,0x79]),_0x55d4bf);}),_0x31bc53={[_0x5a2ed8([0x6b,0x74,0x79])]:_0x5a2ed8([0x45,0x43]),[_0x5a2ed8([0x75,0x73,0x65])]:_0x5a2ed8([0x73,0x69,0x67]),[_0x5a2ed8([0x63,0x72,0x76])]:_0x5a2ed8([0x50,0x2d,0x32,0x35,0x36]),[_0x5a2ed8([0x78])]:_0x5a2ed8([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]),[_0x5a2ed8([0x79])]:_0x5a2ed8([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]),[_0x5a2ed8([0x61,0x6c,0x67])]:_0x5a2ed8([0x45,0x53,0x32,0x35,0x36])},_0x10cb86=_0x44d422[_0x5a2ed8([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5a2ed8([0x67,0x65,0x74])](_0x5a2ed8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x54929(){let _0x2260ea,_0x7222c6=null,_0x431d7b=null;try{if(_0x10cb86==_0x5a2ed8([0x47,0x50,0x4c]))return _0x5a2ed8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2260ea=_0x33bcf6(),!_0x2260ea)return _0x5a2ed8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2260ea[_0x5a2ed8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x431d7b=_0x3cca9c(_0x2260ea[_0x5a2ed8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2260ea[_0x5a2ed8([0x6a,0x74,0x69])])),await _0x5f2ba7()?_0x4206c5()?_0x23f128()?_0x5a2ed8([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5dfaa6()?(_0x2260ea[_0x5a2ed8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5a2ed8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x7222c6=_0x3f3bf6(_0x5a2ed8([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2260ea[_0x5a2ed8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5a2ed8([0x74,0x72,0x69,0x61,0x6c])&&(_0x7222c6=_0x3f3bf6(_0x5a2ed8([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5c0cc4()):_0x5a2ed8([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5a2ed8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5a2ed8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5a2ed8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x23f128(){const _0x574e7a=[_0x5a2ed8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5a2ed8([0x74,0x72,0x69,0x61,0x6c])][_0x5a2ed8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2260ea[_0x5a2ed8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x7dce4f/0x3e8:0xe10*_0x16d193;return _0x2260ea[_0x5a2ed8([0x65,0x78,0x70])]<_0x574e7a;}function _0x4206c5(){const _0x2d8f52=_0x2260ea[_0x5a2ed8([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2d8f52&&(!!_0x2d8f52[_0x5a2ed8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5a2ed8([0x2a]))||!!_0x2d8f52[_0x5a2ed8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5a2ed8([0x53,0x45,0x45])));}function _0x5dfaa6(){const _0x3ed20d=_0x2260ea[_0x5a2ed8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3ed20d||0x0==_0x3ed20d[_0x5a2ed8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x9166ab}=new URL(window[_0x5a2ed8([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3ed20d[_0x5a2ed8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x9166ab))return!0x0;const _0x31d558=_0x9166ab[_0x5a2ed8([0x73,0x70,0x6c,0x69,0x74])](_0x5a2ed8([0x2e]));return _0x3ed20d[_0x5a2ed8([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x404e1c=>_0x404e1c[_0x5a2ed8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5a2ed8([0x2a])))[_0x5a2ed8([0x6d,0x61,0x70])](_0x1e4490=>_0x1e4490[_0x5a2ed8([0x73,0x70,0x6c,0x69,0x74])](_0x5a2ed8([0x2e])))[_0x5a2ed8([0x73,0x6f,0x6d,0x65])](_0x4497b1=>_0x31d558[_0x5a2ed8([0x65,0x76,0x65,0x72,0x79])]((_0x46ea3c,_0x33775c)=>_0x4497b1[_0x33775c]===_0x46ea3c||_0x4497b1[_0x33775c]===_0x5a2ed8([0x2a])));}function _0x5c0cc4(){return _0x7222c6&&_0x431d7b?new window[(_0x5a2ed8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xad47bb,_0x2497f8)=>{_0x7222c6[_0x5a2ed8([0x74,0x68,0x65,0x6e])](_0xad47bb,_0x2497f8),_0x431d7b[_0x5a2ed8([0x74,0x68,0x65,0x6e])](_0xec05fc=>{_0xec05fc!=_0x5a2ed8([0x56,0x61,0x6c,0x69,0x64])&&_0xad47bb(_0xec05fc);},_0x2497f8);}):_0x7222c6||_0x431d7b||_0x5a2ed8([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3cca9c(_0x5e5fd9,_0x32ed38){return new window[(_0x5a2ed8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x323bc7=>{if(_0x5e2b06())return _0x323bc7(_0x5a2ed8([0x56,0x61,0x6c,0x69,0x64]));_0x432f12(),_0x44d422[_0x5a2ed8([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5a2ed8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x56e8b7=!0x1;const _0x192ab2=_0x4fec19();function _0xa32a79(_0x54d3c9){return!!_0x54d3c9&&(typeof _0x54d3c9===_0x5a2ed8([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x54d3c9===_0x5a2ed8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x54d3c9[_0x5a2ed8([0x74,0x68,0x65,0x6e])]===_0x5a2ed8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x54d3c9[_0x5a2ed8([0x63,0x61,0x74,0x63,0x68])]===_0x5a2ed8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4a3d9c(_0x27979b){_0x35c740(_0x27979b)[_0x5a2ed8([0x74,0x68,0x65,0x6e])](_0xe07ab4=>{if(!_0xe07ab4||_0xe07ab4[_0x5a2ed8([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5a2ed8([0x6f,0x6b]))return _0x5a2ed8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x43913c(_0x2cd10f(_0x192ab2+_0x32ed38))!=_0xe07ab4[_0x5a2ed8([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5a2ed8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5a2ed8([0x56,0x61,0x6c,0x69,0x64]);})[_0x5a2ed8([0x74,0x68,0x65,0x6e])](_0x334bc0=>(_0xaa3d2d(),_0x334bc0),()=>{const _0x2d208c=_0x5b2367();return null==_0x2d208c?(_0xaa3d2d(),_0x5a2ed8([0x56,0x61,0x6c,0x69,0x64])):_0x5a2ed8(_0x7dce4f-_0x2d208c>(0x54225260^_0x184d47)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5a2ed8([0x74,0x68,0x65,0x6e])](_0x323bc7)[_0x5a2ed8([0x63,0x61,0x74,0x63,0x68])](()=>{_0x323bc7(_0x5a2ed8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2ebc9b=0x701838e0^_0x184d47;function _0xaa3d2d(){const _0x1bf7da=_0x5a2ed8([0x6c,0x6c,0x63,0x74,0x2d])+_0x43913c(_0x2cd10f(_0x5e5fd9)),_0x2fd9db=_0x2a73be(_0x43913c(window[_0x5a2ed8([0x4d,0x61,0x74,0x68])][_0x5a2ed8([0x63,0x65,0x69,0x6c])](_0x7dce4f/_0x2ebc9b)));window[_0x5a2ed8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5a2ed8([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1bf7da,_0x2fd9db);}function _0x5b2367(){const _0x259ec5=_0x5a2ed8([0x6c,0x6c,0x63,0x74,0x2d])+_0x43913c(_0x2cd10f(_0x5e5fd9)),_0xabbdb1=window[_0x5a2ed8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5a2ed8([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x259ec5);return _0xabbdb1?window[_0x5a2ed8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2a73be(_0xabbdb1),0x10)*_0x2ebc9b:null;}function _0x35c740(_0x428248){return new window[(_0x5a2ed8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2c17d1,_0x54a122)=>{_0x428248[_0x5a2ed8([0x74,0x68,0x65,0x6e])](_0x2c17d1,_0x54a122),window[_0x5a2ed8([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x54a122,0x702f02a0^_0x184d47);});}}_0x44d422[_0x5a2ed8([0x6f,0x6e])](_0x5a2ed8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x49ac96,_0x285acf)=>{if(_0x285acf[0x0]!=_0x5e5fd9)return _0x323bc7(_0x5a2ed8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x285acf[0x1]={..._0x285acf[0x1],[_0x5a2ed8([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x192ab2};},{[_0x5a2ed8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5a2ed8([0x68,0x69,0x67,0x68])}),_0x44d422[_0x5a2ed8([0x6f,0x6e])](_0x5a2ed8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1f45ca=>{_0xa32a79(_0x1f45ca[_0x5a2ed8([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x56e8b7=!0x0,_0x4a3d9c(_0x1f45ca[_0x5a2ed8([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5a2ed8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5a2ed8([0x6c,0x6f,0x77])}),_0x42255b[_0x5a2ed8([0x74,0x68,0x65,0x6e])](()=>{_0x56e8b7||_0x323bc7(_0x5a2ed8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5e2b06(){return _0x44d422[_0x5a2ed8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5a2ed8([0x76,0x69,0x65,0x77])][_0x5a2ed8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5a2ed8([0x61,0x75,0x74,0x6f]);}function _0x432f12(){_0x44d422[_0x5a2ed8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5a2ed8([0x76,0x69,0x65,0x77])][_0x5a2ed8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5a2ed8([0x61,0x75,0x74,0x6f]);}}function _0x3f3bf6(_0x1c7566){const _0x2724cd=[new window[(_0x5a2ed8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2f753e=>setTimeout(_0x2f753e,0x7027e8ac^_0x184d47)),_0x42255b[_0x5a2ed8([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5a2ed8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xc84a58=>{let _0x50bf0b=0x0;_0x44d422[_0x5a2ed8([0x6d,0x6f,0x64,0x65,0x6c])][_0x5a2ed8([0x6f,0x6e])](_0x5a2ed8([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x131fa4,_0x2926f5)=>{_0x2926f5[0x0][_0x5a2ed8([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x50bf0b++,_0x50bf0b==(0x702ed798^_0x184d47)&&(_0xc84a58(),_0x131fa4[_0x5a2ed8([0x6f,0x66,0x66])]());});}))];return window[_0x5a2ed8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5a2ed8([0x72,0x61,0x63,0x65])](_0x2724cd)[_0x5a2ed8([0x74,0x68,0x65,0x6e])](()=>_0x1c7566);}async function _0x3e0f63(){await _0x42255b,_0x44d422[_0x5a2ed8([0x6d,0x6f,0x64,0x65,0x6c])][_0x5a2ed8([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1e424f,_0x44d422[_0x5a2ed8([0x6d,0x6f,0x64,0x65,0x6c])][_0x5a2ed8([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1e424f,_0x44d422[_0x5a2ed8([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5a2ed8([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x44423b(_0x1625ab){const _0x163a76=_0x42044d();_0x44d422[_0x163a76]=_0x5a2ed8([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])+_0x1625ab,_0x1625ab!=_0x5a2ed8([0x56,0x61,0x6c,0x69,0x64])&&_0x3e0f63();}function _0x42044d(){const _0x1f2131=window[_0x5a2ed8([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5a2ed8([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5a2ed8([0x6e,0x6f,0x77])]())[_0x5a2ed8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5a2ed8([0x2e]),'');let _0x4880ee=_0x5a2ed8([0x54]);for(let _0x2173c9=0x0;_0x2173c9<_0x1f2131[_0x5a2ed8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2173c9+=0x2){let _0x149bfb=window[_0x5a2ed8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1f2131[_0x5a2ed8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2173c9,_0x2173c9+0x2));_0x149bfb>=_0x31d932[_0x5a2ed8([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x149bfb-=_0x31d932[_0x5a2ed8([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4880ee+=_0x31d932[_0x149bfb];}return _0x4880ee;}function _0x33bcf6(){const _0x47a4f7=_0x10cb86[_0x5a2ed8([0x73,0x70,0x6c,0x69,0x74])](_0x5a2ed8([0x2e]));if(0x3!=_0x47a4f7[_0x5a2ed8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3d38db(_0x47a4f7[0x1]);function _0x3d38db(_0x53afc5){const _0x28188a=_0x661ddc(_0x53afc5);return _0x28188a&&_0x254550()?_0x28188a:null;function _0x254550(){const _0x4496f7=_0x28188a[_0x5a2ed8([0x6a,0x74,0x69])],_0x4bcaef=window[_0x5a2ed8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4496f7[_0x5a2ed8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4496f7[_0x5a2ed8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4bc071={..._0x28188a,[_0x5a2ed8([0x6a,0x74,0x69])]:_0x4496f7[_0x5a2ed8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4496f7[_0x5a2ed8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4bc071[_0x5a2ed8([0x76,0x63])],_0x2cd10f(_0x4bc071)==_0x4bcaef;}}}async function _0x5f2ba7(){let _0x16107f=!0x0;try{const _0x49d239=_0x10cb86[_0x5a2ed8([0x73,0x70,0x6c,0x69,0x74])](_0x5a2ed8([0x2e])),[_0x7ae401,_0x211565,_0x4cd84f]=_0x49d239;return _0x1716e1(_0x7ae401),await _0x31cac8(_0x7ae401,_0x211565,_0x4cd84f),_0x16107f;}catch{return!0x1;}function _0x1716e1(_0x1b7646){const _0x2a743f=_0x661ddc(_0x1b7646);_0x2a743f&&_0x2a743f[_0x5a2ed8([0x61,0x6c,0x67])]==_0x5a2ed8([0x45,0x53,0x32,0x35,0x36])||(_0x16107f=!0x1);}async function _0x31cac8(_0x8c03b5,_0x451e71,_0x4c97d9){const _0x14509f=window[_0x5a2ed8([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5a2ed8([0x66,0x72,0x6f,0x6d])](_0x318723(_0x4c97d9),_0x588a07=>_0x588a07[_0x5a2ed8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x497693=new window[(_0x5a2ed8([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5a2ed8([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x8c03b5+_0x5a2ed8([0x2e])+_0x451e71),_0x3caad7=window[_0x5a2ed8([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5a2ed8([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3caad7)return;const _0xeef9fa=await _0x3caad7[_0x5a2ed8([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5a2ed8([0x6a,0x77,0x6b]),_0x31bc53,{[_0x5a2ed8([0x6e,0x61,0x6d,0x65])]:_0x5a2ed8([0x45,0x43,0x44,0x53,0x41]),[_0x5a2ed8([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5a2ed8([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5a2ed8([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3caad7[_0x5a2ed8([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5a2ed8([0x6e,0x61,0x6d,0x65])]:_0x5a2ed8([0x45,0x43,0x44,0x53,0x41]),[_0x5a2ed8([0x68,0x61,0x73,0x68])]:{[_0x5a2ed8([0x6e,0x61,0x6d,0x65])]:_0x5a2ed8([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xeef9fa,_0x14509f,_0x497693)||(_0x16107f=!0x1);}}function _0x661ddc(_0x391816){return _0x391816[_0x5a2ed8([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5a2ed8([0x65,0x79]))?JSON[_0x5a2ed8([0x70,0x61,0x72,0x73,0x65])](_0x318723(_0x391816)):null;}function _0x318723(_0x182093){return window[_0x5a2ed8([0x61,0x74,0x6f,0x62])](_0x182093[_0x5a2ed8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5a2ed8([0x2b]))[_0x5a2ed8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5a2ed8([0x2f])));}function _0x2cd10f(_0x425702){let _0x2016e4=0x1505;function _0x2f2880(_0x562044){for(let _0x26f42a=0x0;_0x26f42a<_0x562044[_0x5a2ed8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x26f42a++){const _0x521d77=_0x562044[_0x5a2ed8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x26f42a);_0x2016e4=(_0x2016e4<<0x5)+_0x2016e4+_0x521d77,_0x2016e4&=_0x2016e4;}}function _0x1c38fe(_0x225849){Array[_0x5a2ed8([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x225849)?_0x225849[_0x5a2ed8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1c38fe):_0x225849&&typeof _0x225849==_0x5a2ed8([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5a2ed8([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x225849)[_0x5a2ed8([0x73,0x6f,0x72,0x74])]()[_0x5a2ed8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3a23b9,_0x1b0ca4])=>{_0x2f2880(_0x3a23b9),_0x1c38fe(_0x1b0ca4);}):_0x2f2880(window[_0x5a2ed8([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x225849));}return _0x1c38fe(_0x425702),_0x2016e4>>>0x0;}function _0x43913c(_0x4f18e9){return _0x4f18e9[_0x5a2ed8([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5a2ed8([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5a2ed8([0x30]));}function _0x2a73be(_0x2ca049){return _0x2ca049[_0x5a2ed8([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5a2ed8([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5a2ed8([0x6a,0x6f,0x69,0x6e])]('');}function _0x1e424f(){}function _0x5a2ed8(_0x3b36ff){return _0x3b36ff['map'](_0x3c9b7b=>String['fromCharCode'](_0x3c9b7b))['join']('');}_0x44423b(await _0x54929());}(this);}['_createButton'](_0x40ef2b,_0xd30d57,_0x215fe6=!0x1){const _0x26016d=new _0x40ef2b(this['editor']['locale']);return _0x26016d['set']({'withText':_0x215fe6,'isToggleable':!0x1}),_0x26016d['bind']('isEnabled')['to'](_0xd30d57,'isEnabled'),this['listenTo'](_0x26016d,'execute',()=>_0xd30d57['execute']()),_0x26016d;}['_registerKeybindings'](){const _0x2ff20c=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':f(_0x2ff20c,'Source\x20Editing\x20Enhanced')});const _0x10f77f=_0x240e50['isMac']||_0x240e50['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':f(_0x2ff20c,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':f(_0x2ff20c,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':f(_0x2ff20c,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':f(_0x2ff20c,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':f(_0x2ff20c,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':f(_0x2ff20c,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':f(_0x2ff20c,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x10f77f?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':f(_0x2ff20c,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':f(_0x2ff20c,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':f(_0x2ff20c,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':f(_0x2ff20c,'Select\x20line'),'keystroke':_0x10f77f?'Ctrl!+L':'Alt+L'},{'label':f(_0x2ff20c,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x10f77f?'Alt+Shift+M':'Ctrl+M'},{'label':f(_0x2ff20c,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':f(_0x2ff20c,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':f(_0x2ff20c,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':f(_0x2ff20c,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':f(_0x2ff20c,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x10f77f?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}class e extends _0x315bc9{constructor(_0x2c3855){super(_0x2c3855),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0x3600bd,_0x3aaabc){const _0x1ea21c=this['editor'],_0x4f1624=_0x3aaabc?.['rootName']??s(_0x1ea21c);_0x1ea21c['data']['set']({[_0x4f1624]:_0x3600bd},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}class c extends _0x45a0d9{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[a];}constructor(_0x404e6b){super(_0x404e6b),_0x404e6b['config']['define']('sourceEditingEnhanced.allowCollaborationFeatures',!0x1);}['init'](){this['_checkCompatibility'](),this['editor']['commands']['add']('replaceSource',new e(this['editor'])),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x1e7de6=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4db26d;for(const _0x5c993b in _0x1e7de6){const _0x2b5a8f=_0x5c993b,_0x9ac402=_0x1e7de6[_0x2b5a8f];if('sourceEditingEnhancedLicenseKeyValid'==_0x9ac402||'sourceEditingEnhancedLicenseKeyInvalid'==_0x9ac402||'sourceEditingEnhancedLicenseKeyExpired'==_0x9ac402||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x9ac402||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x9ac402||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x9ac402||'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x9ac402||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x9ac402){delete _0x1e7de6[_0x2b5a8f],_0x4db26d=_0x9ac402,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0x4db26d&&_0x1e7de6['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0x4db26d&&_0x1e7de6['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x4db26d&&_0x1e7de6['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x4db26d&&_0x1e7de6['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x4db26d&&_0x1e7de6['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x4db26d&&_0x1e7de6['_showLicenseError']('trialLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x4db26d&&_0x1e7de6['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0x4a780a=this['editor'],_0x3f52d7=_0x4a780a['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0x3f52d7&&_0x4a780a['plugins']['has']('RealTimeCollaborativeEditing'))throw new _0x1e1cd7('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0x3f52d7&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x241f2e=>_0x4a780a['plugins']['has'](_0x241f2e))&&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.'),_0x4a780a['plugins']['has']('RestrictedEditingModeEditing')&&console['warn']('You\x20initialized\x20the\x20editor\x20with\x20the\x20source\x20editing\x20enhanced\x20feature\x20and\x20restricted\x20editing\x20feature.\x20Please\x20be\x20advised\x20that\x20the\x20source\x20editing\x20enhanced\x20feature\x20may\x20not\x20work,\x20and\x20be\x20careful\x20when\x20editing\x20document\x20source\x20that\x20contains\x20markers\x20created\x20by\x20the\x20restricted\x20editing\x20feature.');}}export{d as EditSourceCommand,e as ReplaceSourceCommand,c as SourceEditingEnhanced};
23
+ import{Command as _0x50901d,PendingActions as _0x33ba1d,Plugin as _0x417f1e}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x5f0d83,formatHtml as tr,env as _0x58ae03,uid as _0x55b457}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconSource as _0x415064}from'@ckeditor/ckeditor5-icons/dist/index.js';import{View as _0x1ffe8a,ButtonView as _0x2113be,MenuBarMenuListItemButtonView as _0xeab455}from'@ckeditor/ckeditor5-ui/dist/index.js';import{EditorView as _0x3bde17,crosshairCursor as _0x143f86,drawSelection as _0x265e3a,dropCursor as _0x4a5ec7,lineNumbers as _0x5e3045,highlightActiveLine as _0x309ba8,highlightActiveLineGutter as _0x4206b5,highlightSpecialChars as _0x541fd6,rectangularSelection as _0x28d7b2,keymap as _0x394f07}from'@codemirror/view';import{Compartment as _0x5e0b99,Transaction as _0x2f761e}from'@codemirror/state';import{bracketMatching as _0x185a2e,foldGutter as _0xe152d2,indentOnInput as _0x56730b,syntaxHighlighting as _0x393ddd,defaultHighlightStyle as _0x55d4af,foldKeymap as _0x4deea1}from'@codemirror/language';import{toggleTabFocusMode as _0x5a9895,history as _0x4ef672,defaultKeymap as _0x352c7e,historyKeymap as _0x529795,indentLess as _0x2213c9,indentMore as _0xd9961,redo as _0x1d75bb,undo as _0x317af2}from'@codemirror/commands';import{autocompletion as _0x9bf27e,closeBrackets as _0x5baafb,closeBracketsKeymap as _0x329134,completionKeymap as _0x2e06bb}from'@codemirror/autocomplete';import{html as _0x38c871}from'@codemirror/lang-html';import{markdown as _0x3e449b}from'@codemirror/lang-markdown';import{oneDark as _0xfba9f4}from'@codemirror/theme-one-dark';function f(_0x161053,_0x1c7cfc){const t=_0x161053['t'];switch(_0x1c7cfc){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 _0x1c7cfc;}}function s(_0x5e0b55){const _0x42b5cf=_0x5e0b55['editing']['view']['document']['roots'],_0x4ca408=_0x42b5cf['length'];if(0x0===_0x4ca408)throw new _0x5f0d83('source-editing-enhanced-editor-no-root',_0x5e0b55);if(0x1===_0x4ca408)return _0x42b5cf['first']['rootName'];return Array['from'](_0x5e0b55['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function E(_0x1fc8ad){return or(_0x1fc8ad['replace'](/^[\n\s]*/g,''))?_0x1fc8ad['replace'](/\s+/g,''):_0x1fc8ad;}function or(_0x45e17a){return _0x45e17a['startsWith']('<');}function p(_0x596806){const _0x2f0cf0=[_0x3bde17['lineWrapping'],_0x9bf27e(),_0x185a2e(),_0x5baafb(),_0x143f86(),_0x265e3a(),_0x4a5ec7(),_0x5e3045(),_0xe152d2(),_0x309ba8(),_0x4206b5(),_0x541fd6(),_0x4ef672(),_0x56730b(),_0x28d7b2(),_0x393ddd(_0x55d4af,{'fallback':!0x0})],_0x1e0ca2=new _0x5e0b99();_0x2f0cf0['push'](_0x1e0ca2['of'](_0x3bde17['editable']['of'](!0x0))),'html'===_0x596806['syntaxLanguage']?_0x2f0cf0['push'](_0x38c871()):_0x2f0cf0['push'](_0x3e449b());const _0x2183e8=function(_0x4bb24b){if(_0x4bb24b&&'default'!==_0x4bb24b)return'dark'===_0x4bb24b?_0xfba9f4:_0x4bb24b;return null;}(_0x596806['theme']);_0x2183e8&&_0x2f0cf0['push'](_0x2183e8),_0x2f0cf0['push'](_0x394f07['of']([..._0x329134,..._0x352c7e,..._0x529795,..._0x4deea1,..._0x2e06bb,{'key':'Tab','run':_0xd9961,'shift':_0x2213c9,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-y','mac':'Cmd-y','run':_0x1d75bb,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-Shift-z','mac':'Cmd-Shift-z','run':_0x1d75bb,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-z','mac':'Cmd-z','run':_0x317af2,'preventDefault':!0x0,'stopPropagation':!0x0}]));const _0x2ba8e1=new _0x3bde17({'extensions':_0x2f0cf0,'parent':_0x596806['parent']});return _0x5a9895(_0x2ba8e1),{'focus':()=>{_0x2ba8e1['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x2ba8e1['focus']();},'getData':()=>_0x2ba8e1['state']['doc']['toString'](),'setData':_0xb0f64=>{_0x2ba8e1['dispatch']({'changes':{'from':0x0,'to':_0x2ba8e1['state']['doc']['length'],'insert':_0xb0f64},'annotations':_0x2f761e['addToHistory']['of'](!0x1)});},'setReadOnly':_0x3b8752=>{_0x2ba8e1['dispatch']({'effects':[_0x1e0ca2['reconfigure'](_0x3bde17['editable']['of'](!_0x3b8752))]});},'destroy':()=>{_0x2ba8e1['destroy']();},'instance':_0x2ba8e1};}class m extends _0x1ffe8a{['_codeEditorApi']=null;['_options'];constructor(_0x33341f,_0x51d66d){super(_0x33341f),this['_options']=_0x51d66d,this['set']('isReadOnly',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all-excluded','ck-code-editor'],'tabindex':-0x1}});}['render'](){super['render'](),this['_codeEditorApi']=p({'parent':this['element'],'syntaxLanguage':this['_options']['syntaxLanguage'],'theme':this['_options']['theme']}),this['on']('change:isReadOnly',(_0x58e08d,_0x40f470,_0x50ecd5)=>{this['setReadOnly'](_0x50ecd5);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0x34ec3b){this['_codeEditorApi']['setData'](_0x34ec3b);}['setReadOnly'](_0x2dd9da){this['_codeEditorApi']['setReadOnly'](_0x2dd9da);}}const b='SourceEditingEnhancedMode';class d extends _0x50901d{constructor(_0x136831){super(_0x136831),this['affectsData']=!0x1,this['editor']['plugins']['get'](_0x33ba1d)['on']('change:hasAny',(_0x4265e5,_0x295b4d,_0x451934)=>{_0x451934?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['_disableCommands'](){const _0x492c19=this['editor'];for(const _0x5356ed of _0x492c19['commands']['names']())['replaceSource','editSource']['includes'](_0x5356ed)||_0x492c19['commands']['get'](_0x5356ed)['forceDisabled'](b);}['_enableCommands'](){const _0x3ab1d1=this['editor'];for(const _0xfd3dae of _0x3ab1d1['commands']['commands']())_0xfd3dae['clearForceDisabled'](b);}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x22e19d=this['editor'],_0x287ee3=_0x22e19d['locale'],_0x2dc496=_0x22e19d['plugins']['get']('Dialog'),_0x1edf94=s(_0x22e19d),_0xcbe8af=_0x22e19d['data']['get']({'rootName':_0x1edf94}),_0x57fe89=or(_0x1d52fe=_0xcbe8af)?tr(_0x1d52fe):_0x1d52fe;var _0x1d52fe;const _0x52048a=new m(_0x287ee3,{'syntaxLanguage':_0x22e19d['plugins']['has']('Markdown')?'markdown':'html','theme':_0x22e19d['config']['get']('sourceEditingEnhanced.theme')});let _0x183e05=!0x0;const _0x865346=_0x103a69=>{if(!_0x183e05)return;return E(_0x52048a['getData']())!==E(_0x57fe89)?window['confirm'](f(_0x287ee3,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0x103a69['stop']():void 0x0;};_0x2dc496['show']({'id':'sourceEditingEnhanced','title':f(_0x287ee3,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0x52048a,'actionButtons':[{'label':f(_0x287ee3,'Cancel'),'withText':!0x0,'onExecute':()=>{_0x2dc496['hide']();}},{'label':f(_0x287ee3,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0x4745f3=E(_0x52048a['getData']())!==E(_0x57fe89);(_0x4745f3&&_0x22e19d['execute']('replaceSource',_0x52048a['getData']()),_0x183e05=!0x1,_0x2dc496['hide'](),_0x4745f3&&'editables'in _0x22e19d['ui']['view'])&&_0x22e19d['ui']['view']['editables'][_0x1edf94]['element']['focus']();},'onCreate':_0x532575=>{_0x532575['set']('isEnabled',!_0x22e19d['isReadOnly']),_0x532575['bind']('isEnabled')['to'](_0x22e19d,'isReadOnly',this,'isEnabled',(_0x60e92a,_0x4ba42f)=>!_0x60e92a&&_0x4ba42f);}}],'onHide':()=>{this['_enableCommands'](),_0x2dc496['off']('hide',_0x865346),_0x52048a['destroy']();},'onShow':()=>{_0x52048a['bind']('isReadOnly')['to'](_0x22e19d,'isReadOnly',this,'isEnabled',(_0x40a51f,_0x48d0c1)=>_0x40a51f||!_0x48d0c1),_0x52048a['setData'](_0x57fe89),_0x52048a['focus'](),_0x2dc496['on']('hide',_0x865346,{'priority':'highest'}),this['_disableCommands']();}});}}class a extends _0x417f1e{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[_0x33ba1d];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x515c43=this['editor'],_0x240cc7=_0x515c43['locale'],_0x1a4a2f=new d(_0x515c43);_0x515c43['commands']['add']('editSource',_0x1a4a2f),_0x515c43['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0x332fa8=this['_createButton'](_0x2113be,_0x1a4a2f);return _0x332fa8['set']({'label':f(_0x240cc7,'Source'),'icon':_0x415064,'tooltip':f(_0x240cc7,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0x332fa8;}),_0x515c43['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0x2d0541=this['_createButton'](_0xeab455,_0x1a4a2f,!0x0);return _0x2d0541['set']({'label':f(_0x240cc7,'Edit\x20source\x20modal\x20label'),'icon':_0x415064,'role':'menuitemcheckbox'}),_0x2d0541;}),this['_registerKeybindings']();}['afterInit'](){!async function(_0x12420c){const _0x22941c=_0x4066cd([0x4a,0x31,0x54,0x48,0x4f,0x41,0x43,0x63,0x56,0x65,0x4d,0x4b,0x6d,0x38,0x44,0x62,0x78,0x77,0x42,0x67,0x6c,0x71,0x30,0x69,0x58,0x52,0x55,0x37,0x74,0x46,0x70,0x49,0x61,0x66,0x76,0x79,0x33,0x6a,0x73,0x64,0x57,0x51,0x32,0x47,0x36,0x35,0x4c,0x39,0x4e,0x5a,0x50,0x59,0x72,0x6e,0x6b,0x6f,0x53,0x7a,0x34,0x75,0x68,0x45]),_0x30c3cd=0x7ec5c817,_0x2a7139=0x7ec2a1a7^_0x30c3cd,_0x3fa089=window[_0x4066cd([0x44,0x61,0x74,0x65])][_0x4066cd([0x6e,0x6f,0x77])](),_0x596e05=_0x12420c[_0x4066cd([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x39895b=new window[(_0x4066cd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x417957=>{_0x596e05[_0x4066cd([0x6f,0x6e,0x63,0x65])](_0x4066cd([0x72,0x65,0x61,0x64,0x79]),_0x417957);}),_0x30ee03={[_0x4066cd([0x6b,0x74,0x79])]:_0x4066cd([0x45,0x43]),[_0x4066cd([0x75,0x73,0x65])]:_0x4066cd([0x73,0x69,0x67]),[_0x4066cd([0x63,0x72,0x76])]:_0x4066cd([0x50,0x2d,0x32,0x35,0x36]),[_0x4066cd([0x78])]:_0x4066cd([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]),[_0x4066cd([0x79])]:_0x4066cd([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]),[_0x4066cd([0x61,0x6c,0x67])]:_0x4066cd([0x45,0x53,0x32,0x35,0x36])},_0x2574eb=_0x596e05[_0x4066cd([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4066cd([0x67,0x65,0x74])](_0x4066cd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x129c21(){let _0x18e8e7,_0x2d6344=null,_0x18b0d3=null;try{if(_0x2574eb==_0x4066cd([0x47,0x50,0x4c]))return _0x4066cd([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x18e8e7=_0x34a9fb(),!_0x18e8e7)return _0x4066cd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x18e8e7[_0x4066cd([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x18b0d3=_0x49d2c4(_0x18e8e7[_0x4066cd([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x18e8e7[_0x4066cd([0x6a,0x74,0x69])])),await _0xf57967()?_0x1c3516()?_0x254ddf()?_0x4066cd([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x755ca0()?(_0x18e8e7[_0x4066cd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4066cd([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2d6344=_0x4e3c44(_0x4066cd([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x18e8e7[_0x4066cd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4066cd([0x74,0x72,0x69,0x61,0x6c])&&(_0x2d6344=_0x4e3c44(_0x4066cd([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x235683()):_0x4066cd([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4066cd([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4066cd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4066cd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x254ddf(){const _0x49df20=[_0x4066cd([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4066cd([0x74,0x72,0x69,0x61,0x6c])][_0x4066cd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x18e8e7[_0x4066cd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3fa089/0x3e8:0xe10*_0x2a7139;return _0x18e8e7[_0x4066cd([0x65,0x78,0x70])]<_0x49df20;}function _0x1c3516(){const _0x5bc27b=_0x18e8e7[_0x4066cd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5bc27b&&(!!_0x5bc27b[_0x4066cd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4066cd([0x2a]))||!!_0x5bc27b[_0x4066cd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4066cd([0x53,0x45,0x45])));}function _0x755ca0(){const _0x21f95f=_0x18e8e7[_0x4066cd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x21f95f||0x0==_0x21f95f[_0x4066cd([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x58d063}=new URL(window[_0x4066cd([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x21f95f[_0x4066cd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x58d063))return!0x0;const _0x405099=_0x58d063[_0x4066cd([0x73,0x70,0x6c,0x69,0x74])](_0x4066cd([0x2e]));return _0x21f95f[_0x4066cd([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x53a7f4=>_0x53a7f4[_0x4066cd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4066cd([0x2a])))[_0x4066cd([0x6d,0x61,0x70])](_0x1e830f=>_0x1e830f[_0x4066cd([0x73,0x70,0x6c,0x69,0x74])](_0x4066cd([0x2e])))[_0x4066cd([0x73,0x6f,0x6d,0x65])](_0x2cb336=>_0x405099[_0x4066cd([0x65,0x76,0x65,0x72,0x79])]((_0x4602f8,_0x27c9da)=>_0x2cb336[_0x27c9da]===_0x4602f8||_0x2cb336[_0x27c9da]===_0x4066cd([0x2a])));}function _0x235683(){return _0x2d6344&&_0x18b0d3?new window[(_0x4066cd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3fcda8,_0x3361a1)=>{_0x2d6344[_0x4066cd([0x74,0x68,0x65,0x6e])](_0x3fcda8,_0x3361a1),_0x18b0d3[_0x4066cd([0x74,0x68,0x65,0x6e])](_0x2303e0=>{_0x2303e0!=_0x4066cd([0x56,0x61,0x6c,0x69,0x64])&&_0x3fcda8(_0x2303e0);},_0x3361a1);}):_0x2d6344||_0x18b0d3||_0x4066cd([0x56,0x61,0x6c,0x69,0x64]);}}function _0x49d2c4(_0x517b73,_0x57fba6){return new window[(_0x4066cd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x20f30a=>{if(_0x2ed463())return _0x20f30a(_0x4066cd([0x56,0x61,0x6c,0x69,0x64]));_0x4ea9e8(),_0x596e05[_0x4066cd([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4066cd([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3ad6b5=!0x1;const _0x49bb60=_0x55b457();function _0x5bb26c(_0x16f979){return!!_0x16f979&&(typeof _0x16f979===_0x4066cd([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x16f979===_0x4066cd([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x16f979[_0x4066cd([0x74,0x68,0x65,0x6e])]===_0x4066cd([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x16f979[_0x4066cd([0x63,0x61,0x74,0x63,0x68])]===_0x4066cd([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x52d9a5(_0x43b6fe){_0x398652(_0x43b6fe)[_0x4066cd([0x74,0x68,0x65,0x6e])](_0x19dd6b=>{if(!_0x19dd6b||_0x19dd6b[_0x4066cd([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4066cd([0x6f,0x6b]))return _0x4066cd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x406a31(_0x363ddc(_0x49bb60+_0x57fba6))!=_0x19dd6b[_0x4066cd([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4066cd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4066cd([0x56,0x61,0x6c,0x69,0x64]);})[_0x4066cd([0x74,0x68,0x65,0x6e])](_0x4e9cf5=>(_0x580a17(),_0x4e9cf5),()=>{const _0xff6d04=_0x1818e7();return null==_0xff6d04?(_0x580a17(),_0x4066cd([0x56,0x61,0x6c,0x69,0x64])):_0x4066cd(_0x3fa089-_0xff6d04>(0x5ac94c17^_0x30c3cd)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4066cd([0x74,0x68,0x65,0x6e])](_0x20f30a)[_0x4066cd([0x63,0x61,0x74,0x63,0x68])](()=>{_0x20f30a(_0x4066cd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x17d8d5=0x7ef32697^_0x30c3cd;function _0x580a17(){const _0x1d8b56=_0x4066cd([0x6c,0x6c,0x63,0x74,0x2d])+_0x406a31(_0x363ddc(_0x517b73)),_0x2dbab1=_0x461702(_0x406a31(window[_0x4066cd([0x4d,0x61,0x74,0x68])][_0x4066cd([0x63,0x65,0x69,0x6c])](_0x3fa089/_0x17d8d5)));window[_0x4066cd([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4066cd([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1d8b56,_0x2dbab1);}function _0x1818e7(){const _0x439ba3=_0x4066cd([0x6c,0x6c,0x63,0x74,0x2d])+_0x406a31(_0x363ddc(_0x517b73)),_0x1e2232=window[_0x4066cd([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4066cd([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x439ba3);return _0x1e2232?window[_0x4066cd([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x461702(_0x1e2232),0x10)*_0x17d8d5:null;}function _0x398652(_0x22481a){return new window[(_0x4066cd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x15f571,_0x583676)=>{_0x22481a[_0x4066cd([0x74,0x68,0x65,0x6e])](_0x15f571,_0x583676),window[_0x4066cd([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x583676,0x7ec41cd7^_0x30c3cd);});}}_0x596e05[_0x4066cd([0x6f,0x6e])](_0x4066cd([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1c6e4d,_0x504957)=>{if(_0x504957[0x0]!=_0x517b73)return _0x20f30a(_0x4066cd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x504957[0x1]={..._0x504957[0x1],[_0x4066cd([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x49bb60};},{[_0x4066cd([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4066cd([0x68,0x69,0x67,0x68])}),_0x596e05[_0x4066cd([0x6f,0x6e])](_0x4066cd([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x53d8d5=>{_0x5bb26c(_0x53d8d5[_0x4066cd([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3ad6b5=!0x0,_0x52d9a5(_0x53d8d5[_0x4066cd([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4066cd([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4066cd([0x6c,0x6f,0x77])}),_0x39895b[_0x4066cd([0x74,0x68,0x65,0x6e])](()=>{_0x3ad6b5||_0x20f30a(_0x4066cd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2ed463(){return _0x596e05[_0x4066cd([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4066cd([0x76,0x69,0x65,0x77])][_0x4066cd([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4066cd([0x61,0x75,0x74,0x6f]);}function _0x4ea9e8(){_0x596e05[_0x4066cd([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4066cd([0x76,0x69,0x65,0x77])][_0x4066cd([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4066cd([0x61,0x75,0x74,0x6f]);}}function _0x4e3c44(_0x24b966){const _0x1c5e22=[new window[(_0x4066cd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1f9f72=>setTimeout(_0x1f9f72,0x7eccf6db^_0x30c3cd)),_0x39895b[_0x4066cd([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4066cd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3affa1=>{let _0x4e6fd4=0x0;_0x596e05[_0x4066cd([0x6d,0x6f,0x64,0x65,0x6c])][_0x4066cd([0x6f,0x6e])](_0x4066cd([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1654ad,_0x67f172)=>{_0x67f172[0x0][_0x4066cd([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4e6fd4++,_0x4e6fd4==(0x7ec5c9ef^_0x30c3cd)&&(_0x3affa1(),_0x1654ad[_0x4066cd([0x6f,0x66,0x66])]());});}))];return window[_0x4066cd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4066cd([0x72,0x61,0x63,0x65])](_0x1c5e22)[_0x4066cd([0x74,0x68,0x65,0x6e])](()=>_0x24b966);}async function _0x5e8f54(){await _0x39895b,_0x596e05[_0x4066cd([0x6d,0x6f,0x64,0x65,0x6c])][_0x4066cd([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x50aef2,_0x596e05[_0x4066cd([0x6d,0x6f,0x64,0x65,0x6c])][_0x4066cd([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x50aef2,_0x596e05[_0x4066cd([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4066cd([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x564bd9(_0x520038){const _0x87f8e2=_0x5b4827();_0x596e05[_0x87f8e2]=_0x4066cd([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])+_0x520038,_0x520038!=_0x4066cd([0x56,0x61,0x6c,0x69,0x64])&&_0x5e8f54();}function _0x5b4827(){const _0x1e7e63=window[_0x4066cd([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4066cd([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4066cd([0x6e,0x6f,0x77])]())[_0x4066cd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4066cd([0x2e]),'');let _0xc79eb1=_0x4066cd([0x4a]);for(let _0x3a822a=0x0;_0x3a822a<_0x1e7e63[_0x4066cd([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3a822a+=0x2){let _0x50658e=window[_0x4066cd([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1e7e63[_0x4066cd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3a822a,_0x3a822a+0x2));_0x50658e>=_0x22941c[_0x4066cd([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x50658e-=_0x22941c[_0x4066cd([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xc79eb1+=_0x22941c[_0x50658e];}return _0xc79eb1;}function _0x34a9fb(){const _0x111d88=_0x2574eb[_0x4066cd([0x73,0x70,0x6c,0x69,0x74])](_0x4066cd([0x2e]));if(0x3!=_0x111d88[_0x4066cd([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xb23425(_0x111d88[0x1]);function _0xb23425(_0x59e711){const _0x87a0e4=_0x19e05c(_0x59e711);return _0x87a0e4&&_0x124e6b()?_0x87a0e4:null;function _0x124e6b(){const _0xed3545=_0x87a0e4[_0x4066cd([0x6a,0x74,0x69])],_0x3fc73b=window[_0x4066cd([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xed3545[_0x4066cd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xed3545[_0x4066cd([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4ad829={..._0x87a0e4,[_0x4066cd([0x6a,0x74,0x69])]:_0xed3545[_0x4066cd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xed3545[_0x4066cd([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4ad829[_0x4066cd([0x76,0x63])],_0x363ddc(_0x4ad829)==_0x3fc73b;}}}async function _0xf57967(){let _0x34ab62=!0x0;try{const _0xde69a7=_0x2574eb[_0x4066cd([0x73,0x70,0x6c,0x69,0x74])](_0x4066cd([0x2e])),[_0x53dfc8,_0x4ad9cc,_0x47b6c4]=_0xde69a7;return _0x182bb8(_0x53dfc8),await _0x5c7a1a(_0x53dfc8,_0x4ad9cc,_0x47b6c4),_0x34ab62;}catch{return!0x1;}function _0x182bb8(_0x3caa53){const _0x5e3ec4=_0x19e05c(_0x3caa53);_0x5e3ec4&&_0x5e3ec4[_0x4066cd([0x61,0x6c,0x67])]==_0x4066cd([0x45,0x53,0x32,0x35,0x36])||(_0x34ab62=!0x1);}async function _0x5c7a1a(_0x57385a,_0x387ae9,_0x3f5d48){const _0x2834fb=window[_0x4066cd([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4066cd([0x66,0x72,0x6f,0x6d])](_0x53db6a(_0x3f5d48),_0x5c5d70=>_0x5c5d70[_0x4066cd([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x17e5b0=new window[(_0x4066cd([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4066cd([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x57385a+_0x4066cd([0x2e])+_0x387ae9),_0x5be647=window[_0x4066cd([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4066cd([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5be647)return;const _0x5474a7=await _0x5be647[_0x4066cd([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4066cd([0x6a,0x77,0x6b]),_0x30ee03,{[_0x4066cd([0x6e,0x61,0x6d,0x65])]:_0x4066cd([0x45,0x43,0x44,0x53,0x41]),[_0x4066cd([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4066cd([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4066cd([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5be647[_0x4066cd([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4066cd([0x6e,0x61,0x6d,0x65])]:_0x4066cd([0x45,0x43,0x44,0x53,0x41]),[_0x4066cd([0x68,0x61,0x73,0x68])]:{[_0x4066cd([0x6e,0x61,0x6d,0x65])]:_0x4066cd([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5474a7,_0x2834fb,_0x17e5b0)||(_0x34ab62=!0x1);}}function _0x19e05c(_0x20d1b1){return _0x20d1b1[_0x4066cd([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4066cd([0x65,0x79]))?JSON[_0x4066cd([0x70,0x61,0x72,0x73,0x65])](_0x53db6a(_0x20d1b1)):null;}function _0x53db6a(_0x379b11){return window[_0x4066cd([0x61,0x74,0x6f,0x62])](_0x379b11[_0x4066cd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4066cd([0x2b]))[_0x4066cd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4066cd([0x2f])));}function _0x363ddc(_0x266441){let _0x4d4fd8=0x1505;function _0x1d4200(_0x33a4d0){for(let _0x398472=0x0;_0x398472<_0x33a4d0[_0x4066cd([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x398472++){const _0x285263=_0x33a4d0[_0x4066cd([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x398472);_0x4d4fd8=(_0x4d4fd8<<0x5)+_0x4d4fd8+_0x285263,_0x4d4fd8&=_0x4d4fd8;}}function _0x12f921(_0xb2da07){Array[_0x4066cd([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xb2da07)?_0xb2da07[_0x4066cd([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x12f921):_0xb2da07&&typeof _0xb2da07==_0x4066cd([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4066cd([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xb2da07)[_0x4066cd([0x73,0x6f,0x72,0x74])]()[_0x4066cd([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x488ffa,_0x374ad4])=>{_0x1d4200(_0x488ffa),_0x12f921(_0x374ad4);}):_0x1d4200(window[_0x4066cd([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xb2da07));}return _0x12f921(_0x266441),_0x4d4fd8>>>0x0;}function _0x406a31(_0x8e7ab5){return _0x8e7ab5[_0x4066cd([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4066cd([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4066cd([0x30]));}function _0x461702(_0x549d42){return _0x549d42[_0x4066cd([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4066cd([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4066cd([0x6a,0x6f,0x69,0x6e])]('');}function _0x50aef2(){}function _0x4066cd(_0x5aee0d){return _0x5aee0d['map'](_0x594bcc=>String['fromCharCode'](_0x594bcc))['join']('');}_0x564bd9(await _0x129c21());}(this);}['_createButton'](_0x12e560,_0x2e9333,_0x302db4=!0x1){const _0x53bbe4=new _0x12e560(this['editor']['locale']);return _0x53bbe4['set']({'withText':_0x302db4,'isToggleable':!0x1}),_0x53bbe4['bind']('isEnabled')['to'](_0x2e9333,'isEnabled'),this['listenTo'](_0x53bbe4,'execute',()=>_0x2e9333['execute']()),_0x53bbe4;}['_registerKeybindings'](){const _0x567b03=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':f(_0x567b03,'Source\x20Editing\x20Enhanced')});const _0x55b19c=_0x58ae03['isMac']||_0x58ae03['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':f(_0x567b03,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':f(_0x567b03,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':f(_0x567b03,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':f(_0x567b03,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':f(_0x567b03,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':f(_0x567b03,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':f(_0x567b03,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x55b19c?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':f(_0x567b03,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':f(_0x567b03,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':f(_0x567b03,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':f(_0x567b03,'Select\x20line'),'keystroke':_0x55b19c?'Ctrl!+L':'Alt+L'},{'label':f(_0x567b03,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x55b19c?'Alt+Shift+M':'Ctrl+M'},{'label':f(_0x567b03,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':f(_0x567b03,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':f(_0x567b03,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':f(_0x567b03,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':f(_0x567b03,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x55b19c?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}class e extends _0x50901d{constructor(_0x1347e2){super(_0x1347e2),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0x21344b,_0xef5948){const _0x4dbd22=this['editor'],_0x18e09e=_0xef5948?.['rootName']??s(_0x4dbd22);_0x4dbd22['data']['set']({[_0x18e09e]:_0x21344b},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}class c extends _0x417f1e{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[a];}constructor(_0x1561d6){super(_0x1561d6),_0x1561d6['config']['define']('sourceEditingEnhanced.allowCollaborationFeatures',!0x1);}['init'](){this['_checkCompatibility'](),this['editor']['commands']['add']('replaceSource',new e(this['editor'])),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x2cf6a=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x286ce5;for(const _0x4dc1d8 in _0x2cf6a){const _0x488824=_0x4dc1d8,_0x23745a=_0x2cf6a[_0x488824];if('sourceEditingEnhancedLicenseKeyValid'==_0x23745a||'sourceEditingEnhancedLicenseKeyInvalid'==_0x23745a||'sourceEditingEnhancedLicenseKeyExpired'==_0x23745a||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x23745a||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x23745a||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x23745a||'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x23745a||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x23745a){delete _0x2cf6a[_0x488824],_0x286ce5=_0x23745a,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0x286ce5&&_0x2cf6a['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0x286ce5&&_0x2cf6a['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x286ce5&&_0x2cf6a['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x286ce5&&_0x2cf6a['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x286ce5&&_0x2cf6a['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x286ce5&&_0x2cf6a['_showLicenseError']('trialLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x286ce5&&_0x2cf6a['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0x1566fa=this['editor'],_0x4effe3=_0x1566fa['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0x4effe3&&_0x1566fa['plugins']['has']('RealTimeCollaborativeEditing'))throw new _0x5f0d83('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0x4effe3&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x283ed8=>_0x1566fa['plugins']['has'](_0x283ed8))&&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.'),_0x1566fa['plugins']['has']('RestrictedEditingModeEditing')&&console['warn']('You\x20initialized\x20the\x20editor\x20with\x20the\x20source\x20editing\x20enhanced\x20feature\x20and\x20restricted\x20editing\x20feature.\x20Please\x20be\x20advised\x20that\x20the\x20source\x20editing\x20enhanced\x20feature\x20may\x20not\x20work,\x20and\x20be\x20careful\x20when\x20editing\x20document\x20source\x20that\x20contains\x20markers\x20created\x20by\x20the\x20restricted\x20editing\x20feature.');}}export{d as EditSourceCommand,e as ReplaceSourceCommand,c as SourceEditingEnhanced};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-source-editing-enhanced",
3
- "version": "45.2.0-alpha.5",
3
+ "version": "45.2.0-alpha.6",
4
4
  "description": "Source editing enhanced feature for CKEditor 5.",
5
5
  "keywords": [
6
6
  "ckeditor",
@@ -18,11 +18,11 @@
18
18
  "type": "module",
19
19
  "main": "src/index.js",
20
20
  "dependencies": {
21
- "@ckeditor/ckeditor5-core": "45.2.0-alpha.5",
22
- "@ckeditor/ckeditor5-icons": "45.2.0-alpha.5",
23
- "@ckeditor/ckeditor5-theme-lark": "45.2.0-alpha.5",
24
- "@ckeditor/ckeditor5-ui": "45.2.0-alpha.5",
25
- "@ckeditor/ckeditor5-utils": "45.2.0-alpha.5",
21
+ "@ckeditor/ckeditor5-core": "45.2.0-alpha.6",
22
+ "@ckeditor/ckeditor5-icons": "45.2.0-alpha.6",
23
+ "@ckeditor/ckeditor5-theme-lark": "45.2.0-alpha.6",
24
+ "@ckeditor/ckeditor5-ui": "45.2.0-alpha.6",
25
+ "@ckeditor/ckeditor5-utils": "45.2.0-alpha.6",
26
26
  "@codemirror/autocomplete": "^6.7.1",
27
27
  "@codemirror/commands": "6.8.0",
28
28
  "@codemirror/lang-html": "^6.0.0",
@@ -31,7 +31,7 @@
31
31
  "@codemirror/state": "^6.5.0",
32
32
  "@codemirror/theme-one-dark": "^6.1.2",
33
33
  "@codemirror/view": "^6.35.0",
34
- "ckeditor5": "45.2.0-alpha.5"
34
+ "ckeditor5": "45.2.0-alpha.6"
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 _0x4cfa6c=_0x3300;(function(_0x210299,_0x2998a5){const _0x3824d3=_0x3300,_0xdad7d0=_0x210299();while(!![]){try{const _0x5efab0=-parseInt(_0x3824d3(0x1c6))/0x1+parseInt(_0x3824d3(0x1cf))/0x2+parseInt(_0x3824d3(0x1f5))/0x3*(-parseInt(_0x3824d3(0x207))/0x4)+-parseInt(_0x3824d3(0x1cd))/0x5*(-parseInt(_0x3824d3(0x1f3))/0x6)+parseInt(_0x3824d3(0x1ff))/0x7+-parseInt(_0x3824d3(0x1e8))/0x8+parseInt(_0x3824d3(0x1d6))/0x9;if(_0x5efab0===_0x2998a5)break;else _0xdad7d0['push'](_0xdad7d0['shift']());}catch(_0x5cc3af){_0xdad7d0['push'](_0xdad7d0['shift']());}}}(_0x34a7,0x51973));import{Plugin as _0x14814e,PendingActions as _0x32b310}from'ckeditor5/src/core.js';import{IconSource as _0x40e1ff}from'ckeditor5/src/icons.js';import{ButtonView as _0x555da1,MenuBarMenuListItemButtonView as _0x1c325b}from'ckeditor5/src/ui.js';import _0xeb6e3e from'./ui/editsourcecommand.js';function _0x3300(_0x4b5f6f,_0x49873b){const _0x34a7bd=_0x34a7();return _0x3300=function(_0x33000a,_0x59febe){_0x33000a=_0x33000a-0x1c6;let _0x9c23e3=_0x34a7bd[_0x33000a];return _0x9c23e3;},_0x3300(_0x4b5f6f,_0x49873b);}function _0x34a7(){const _0x16bb9f=['sourceEditingEnhanced','Ctrl+M','addKeystrokeInfoCategory','componentFactory','isOfficialPlugin','afterInit','330744mJwLki','pluginName','3ApmPOr','Shift+Alt+A','Ctrl!+L','Alt+L','isiOS','Shift+Alt+ArrowUp','Indent\x20more','SourceEditingEnhancedUI','isPremiumPlugin','Edit\x20source\x20modal\x20label','2370949jSfFGw','Alt+ArrowDown','Shift+Alt+ArrowDown','Cmd+Alt+[','Source\x20Editing\x20Enhanced','Ctrl+Shift+[','isMac','listenTo','2133528MllLmk','Redo\x20(keystroke)','href','execute','accessibility','Move\x20line\x20down','bind','Copy\x20line\x20up','editor','Ctrl+/','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode','Ctrl+]','Indent\x20less','isEnabled','fromCharCode','requires','Toggle\x20comment','Alt+Shift+M','Select\x20line','597354zqJexs','Move\x20line\x20up','Delete\x20line','_createButton','editSource','ck-source-editing-enhanced-button','Ctrl+[','35FjPsmf','Alt+ArrowUp','340394FSQxOs','Ctrl+Shift+]','Unfold\x20code\x20(current\x20level)','Copy\x20line\x20down','commands','Ctrl!+Alt+[','Source','7353396JYhTgf','join','addKeystrokeInfos','add','locale','_registerKeybindings','Shift+Ctrl+K','menuitemcheckbox','menuBar:sourceEditingEnhanced','Toggle\x20block\x20comment','init','map','Fold\x20all','set','Fold\x20code\x20(current\x20level)','Ctrl+Shift+Z','Undo\x20(keystroke)','Unfold\x20all','1975080KCvgFQ','Ctrl+Z','Ctrl!+Alt+]','Ctrl+Y','Cmd+Alt+]'];_0x34a7=function(){return _0x16bb9f;};return _0x34a7();}import{getTranslation as _0x3a75dd}from'./utils/common-translations.js';import{env as _0x507fc9,uid as _0x43a50c}from'ckeditor5/src/utils.js';import'../theme/sourceeditingenhanced.css';export default class a extends _0x14814e{static get[_0x4cfa6c(0x1f4)](){const _0x2905d7=_0x4cfa6c;return _0x2905d7(0x1fc);}static get[_0x4cfa6c(0x216)](){return[_0x32b310];}static get[_0x4cfa6c(0x1f1)](){return!0x0;}static get[_0x4cfa6c(0x1fd)](){return!0x0;}[_0x4cfa6c(0x1e0)](){const _0x1942a7=_0x4cfa6c,_0x10ce78=this[_0x1942a7(0x20f)],_0x6950=_0x10ce78[_0x1942a7(0x1da)],_0x55b9d0=new _0xeb6e3e(_0x10ce78);_0x10ce78[_0x1942a7(0x1d3)][_0x1942a7(0x1d9)](_0x1942a7(0x1ca),_0x55b9d0),_0x10ce78['ui'][_0x1942a7(0x1f0)][_0x1942a7(0x1d9)](_0x1942a7(0x1ed),()=>{const _0x406fd8=_0x1942a7,_0x2923a6=this[_0x406fd8(0x1c9)](_0x555da1,_0x55b9d0);return _0x2923a6[_0x406fd8(0x1e3)]({'label':_0x3a75dd(_0x6950,_0x406fd8(0x1d5)),'icon':_0x40e1ff,'tooltip':_0x3a75dd(_0x6950,_0x406fd8(0x1fe)),'class':_0x406fd8(0x1cb)}),_0x2923a6;}),_0x10ce78['ui'][_0x1942a7(0x1f0)][_0x1942a7(0x1d9)](_0x1942a7(0x1de),()=>{const _0x1a3ab0=_0x1942a7,_0x57cfbf=this[_0x1a3ab0(0x1c9)](_0x1c325b,_0x55b9d0,!0x0);return _0x57cfbf[_0x1a3ab0(0x1e3)]({'label':_0x3a75dd(_0x6950,_0x1a3ab0(0x1fe)),'icon':_0x40e1ff,'role':_0x1a3ab0(0x1dd)}),_0x57cfbf;}),this[_0x1942a7(0x1db)]();}[_0x4cfa6c(0x1f2)](){!async function(_0x10da05){const _0x6d5e96=_0x2f7362([0x54,0x6a,0x74,0x33,0x73,0x68,0x48,0x35,0x51,0x4f,0x72,0x44,0x77,0x55,0x79,0x4d,0x49,0x30,0x45,0x59,0x6c,0x46,0x63,0x39,0x38,0x4b,0x76,0x4c,0x32,0x53,0x4e,0x61,0x6d,0x34,0x50,0x71,0x57,0x5a,0x69,0x6e,0x75,0x62,0x70,0x31,0x42,0x43,0x65,0x6f,0x47,0x67,0x7a,0x6b,0x66,0x58,0x56,0x37,0x52,0x64,0x78,0x4a,0x36,0x41]),_0x945052=0x702ed660,_0x4ed858=0x7029bff8^_0x945052,_0xb54531=window[_0x2f7362([0x44,0x61,0x74,0x65])][_0x2f7362([0x6e,0x6f,0x77])](),_0x196b93=_0x10da05[_0x2f7362([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x339b9f=new window[(_0x2f7362([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4add1c=>{_0x196b93[_0x2f7362([0x6f,0x6e,0x63,0x65])](_0x2f7362([0x72,0x65,0x61,0x64,0x79]),_0x4add1c);}),_0x48dfc5={[_0x2f7362([0x6b,0x74,0x79])]:_0x2f7362([0x45,0x43]),[_0x2f7362([0x75,0x73,0x65])]:_0x2f7362([0x73,0x69,0x67]),[_0x2f7362([0x63,0x72,0x76])]:_0x2f7362([0x50,0x2d,0x32,0x35,0x36]),[_0x2f7362([0x78])]:_0x2f7362([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]),[_0x2f7362([0x79])]:_0x2f7362([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]),[_0x2f7362([0x61,0x6c,0x67])]:_0x2f7362([0x45,0x53,0x32,0x35,0x36])},_0xb69fff=_0x196b93[_0x2f7362([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2f7362([0x67,0x65,0x74])](_0x2f7362([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5632f6(){let _0x53ff64,_0x3312a4=null,_0x78e8a0=null;try{if(_0xb69fff==_0x2f7362([0x47,0x50,0x4c]))return _0x2f7362([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x53ff64=_0x5b684c(),!_0x53ff64)return _0x2f7362([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x53ff64[_0x2f7362([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x78e8a0=_0x35853a(_0x53ff64[_0x2f7362([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x53ff64[_0x2f7362([0x6a,0x74,0x69])])),await _0xe0486b()?_0x56dbd3()?_0x24f5a7()?_0x2f7362([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x22d05d()?(_0x53ff64[_0x2f7362([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2f7362([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3312a4=_0x414e2c(_0x2f7362([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x53ff64[_0x2f7362([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2f7362([0x74,0x72,0x69,0x61,0x6c])&&(_0x3312a4=_0x414e2c(_0x2f7362([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x15494c()):_0x2f7362([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2f7362([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2f7362([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2f7362([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x24f5a7(){const _0x4ebcf8=[_0x2f7362([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2f7362([0x74,0x72,0x69,0x61,0x6c])][_0x2f7362([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x53ff64[_0x2f7362([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xb54531/0x3e8:0xe10*_0x4ed858;return _0x53ff64[_0x2f7362([0x65,0x78,0x70])]<_0x4ebcf8;}function _0x56dbd3(){const _0x3663e6=_0x53ff64[_0x2f7362([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3663e6&&(!!_0x3663e6[_0x2f7362([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2f7362([0x2a]))||!!_0x3663e6[_0x2f7362([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2f7362([0x53,0x45,0x45])));}function _0x22d05d(){const _0x4aff65=_0x3300,_0x2af34e=_0x53ff64[_0x2f7362([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2af34e||0x0==_0x2af34e[_0x2f7362([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x547f10}=new URL(window[_0x2f7362([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4aff65(0x209)]);if(_0x2af34e[_0x2f7362([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x547f10))return!0x0;const _0x5c9624=_0x547f10[_0x2f7362([0x73,0x70,0x6c,0x69,0x74])](_0x2f7362([0x2e]));return _0x2af34e[_0x2f7362([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5612c2=>_0x5612c2[_0x2f7362([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2f7362([0x2a])))[_0x2f7362([0x6d,0x61,0x70])](_0x36b83a=>_0x36b83a[_0x2f7362([0x73,0x70,0x6c,0x69,0x74])](_0x2f7362([0x2e])))[_0x2f7362([0x73,0x6f,0x6d,0x65])](_0x5cc0cf=>_0x5c9624[_0x2f7362([0x65,0x76,0x65,0x72,0x79])]((_0x196a07,_0x3a3e80)=>_0x5cc0cf[_0x3a3e80]===_0x196a07||_0x5cc0cf[_0x3a3e80]===_0x2f7362([0x2a])));}function _0x15494c(){return _0x3312a4&&_0x78e8a0?new window[(_0x2f7362([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3eaa60,_0x2dc538)=>{_0x3312a4[_0x2f7362([0x74,0x68,0x65,0x6e])](_0x3eaa60,_0x2dc538),_0x78e8a0[_0x2f7362([0x74,0x68,0x65,0x6e])](_0x129145=>{_0x129145!=_0x2f7362([0x56,0x61,0x6c,0x69,0x64])&&_0x3eaa60(_0x129145);},_0x2dc538);}):_0x3312a4||_0x78e8a0||_0x2f7362([0x56,0x61,0x6c,0x69,0x64]);}}function _0x35853a(_0x448418,_0x1d65c3){return new window[(_0x2f7362([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5263a7=>{if(_0x28f0e1())return _0x5263a7(_0x2f7362([0x56,0x61,0x6c,0x69,0x64]));_0xbdc298(),_0x196b93[_0x2f7362([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2f7362([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4fade6=!0x1;const _0x2c2189=_0x43a50c();function _0x4be2a8(_0x176619){return!!_0x176619&&(typeof _0x176619===_0x2f7362([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x176619===_0x2f7362([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x176619[_0x2f7362([0x74,0x68,0x65,0x6e])]===_0x2f7362([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x176619[_0x2f7362([0x63,0x61,0x74,0x63,0x68])]===_0x2f7362([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5dd968(_0x47f0a0){_0x333a17(_0x47f0a0)[_0x2f7362([0x74,0x68,0x65,0x6e])](_0x1afc73=>{if(!_0x1afc73||_0x1afc73[_0x2f7362([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2f7362([0x6f,0x6b]))return _0x2f7362([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1e71e2(_0xfe2e04(_0x2c2189+_0x1d65c3))!=_0x1afc73[_0x2f7362([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2f7362([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2f7362([0x56,0x61,0x6c,0x69,0x64]);})[_0x2f7362([0x74,0x68,0x65,0x6e])](_0x2ff56d=>(_0x39b79c(),_0x2ff56d),()=>{const _0x2941ad=_0x5a20a3();return null==_0x2941ad?(_0x39b79c(),_0x2f7362([0x56,0x61,0x6c,0x69,0x64])):_0x2f7362(_0xb54531-_0x2941ad>(0x54225260^_0x945052)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2f7362([0x74,0x68,0x65,0x6e])](_0x5263a7)[_0x2f7362([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5263a7(_0x2f7362([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x31bb10=0x701838e0^_0x945052;function _0x39b79c(){const _0x39bf49=_0x2f7362([0x6c,0x6c,0x63,0x74,0x2d])+_0x1e71e2(_0xfe2e04(_0x448418)),_0x34ceed=_0x327189(_0x1e71e2(window[_0x2f7362([0x4d,0x61,0x74,0x68])][_0x2f7362([0x63,0x65,0x69,0x6c])](_0xb54531/_0x31bb10)));window[_0x2f7362([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2f7362([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x39bf49,_0x34ceed);}function _0x5a20a3(){const _0x83630c=_0x2f7362([0x6c,0x6c,0x63,0x74,0x2d])+_0x1e71e2(_0xfe2e04(_0x448418)),_0x1b1b43=window[_0x2f7362([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2f7362([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x83630c);return _0x1b1b43?window[_0x2f7362([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x327189(_0x1b1b43),0x10)*_0x31bb10:null;}function _0x333a17(_0x288e34){return new window[(_0x2f7362([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x44877c,_0x266b9a)=>{_0x288e34[_0x2f7362([0x74,0x68,0x65,0x6e])](_0x44877c,_0x266b9a),window[_0x2f7362([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x266b9a,0x702f02a0^_0x945052);});}}_0x196b93[_0x2f7362([0x6f,0x6e])](_0x2f7362([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xb7865f,_0x196ebf)=>{if(_0x196ebf[0x0]!=_0x448418)return _0x5263a7(_0x2f7362([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x196ebf[0x1]={..._0x196ebf[0x1],[_0x2f7362([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2c2189};},{[_0x2f7362([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2f7362([0x68,0x69,0x67,0x68])}),_0x196b93[_0x2f7362([0x6f,0x6e])](_0x2f7362([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x425a78=>{_0x4be2a8(_0x425a78[_0x2f7362([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4fade6=!0x0,_0x5dd968(_0x425a78[_0x2f7362([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2f7362([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2f7362([0x6c,0x6f,0x77])}),_0x339b9f[_0x2f7362([0x74,0x68,0x65,0x6e])](()=>{_0x4fade6||_0x5263a7(_0x2f7362([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x28f0e1(){return _0x196b93[_0x2f7362([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2f7362([0x76,0x69,0x65,0x77])][_0x2f7362([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2f7362([0x61,0x75,0x74,0x6f]);}function _0xbdc298(){_0x196b93[_0x2f7362([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2f7362([0x76,0x69,0x65,0x77])][_0x2f7362([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2f7362([0x61,0x75,0x74,0x6f]);}}function _0x414e2c(_0x30304a){const _0x6fd2f4=[new window[(_0x2f7362([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3a8937=>setTimeout(_0x3a8937,0x7027e8ac^_0x945052)),_0x339b9f[_0x2f7362([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2f7362([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x276990=>{let _0x1b4d41=0x0;_0x196b93[_0x2f7362([0x6d,0x6f,0x64,0x65,0x6c])][_0x2f7362([0x6f,0x6e])](_0x2f7362([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x162a4a,_0xa85df5)=>{_0xa85df5[0x0][_0x2f7362([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1b4d41++,_0x1b4d41==(0x702ed798^_0x945052)&&(_0x276990(),_0x162a4a[_0x2f7362([0x6f,0x66,0x66])]());});}))];return window[_0x2f7362([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2f7362([0x72,0x61,0x63,0x65])](_0x6fd2f4)[_0x2f7362([0x74,0x68,0x65,0x6e])](()=>_0x30304a);}async function _0x1b03f6(){await _0x339b9f,_0x196b93[_0x2f7362([0x6d,0x6f,0x64,0x65,0x6c])][_0x2f7362([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5b83a0,_0x196b93[_0x2f7362([0x6d,0x6f,0x64,0x65,0x6c])][_0x2f7362([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5b83a0,_0x196b93[_0x2f7362([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2f7362([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x56620b(_0x287c5e){const _0x8c347a=_0x4def26();_0x196b93[_0x8c347a]=_0x2f7362([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])+_0x287c5e,_0x287c5e!=_0x2f7362([0x56,0x61,0x6c,0x69,0x64])&&_0x1b03f6();}function _0x4def26(){const _0x149422=window[_0x2f7362([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2f7362([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2f7362([0x6e,0x6f,0x77])]())[_0x2f7362([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2f7362([0x2e]),'');let _0x54ea12=_0x2f7362([0x54]);for(let _0x2a5073=0x0;_0x2a5073<_0x149422[_0x2f7362([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2a5073+=0x2){let _0x1ec57c=window[_0x2f7362([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x149422[_0x2f7362([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2a5073,_0x2a5073+0x2));_0x1ec57c>=_0x6d5e96[_0x2f7362([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1ec57c-=_0x6d5e96[_0x2f7362([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x54ea12+=_0x6d5e96[_0x1ec57c];}return _0x54ea12;}function _0x5b684c(){const _0x5d055e=_0xb69fff[_0x2f7362([0x73,0x70,0x6c,0x69,0x74])](_0x2f7362([0x2e]));if(0x3!=_0x5d055e[_0x2f7362([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4e4ae9(_0x5d055e[0x1]);function _0x4e4ae9(_0xb62f79){const _0xdb6499=_0x13e37d(_0xb62f79);return _0xdb6499&&_0x35d524()?_0xdb6499:null;function _0x35d524(){const _0x288588=_0xdb6499[_0x2f7362([0x6a,0x74,0x69])],_0x4ad1b3=window[_0x2f7362([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x288588[_0x2f7362([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x288588[_0x2f7362([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x162257={..._0xdb6499,[_0x2f7362([0x6a,0x74,0x69])]:_0x288588[_0x2f7362([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x288588[_0x2f7362([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x162257[_0x2f7362([0x76,0x63])],_0xfe2e04(_0x162257)==_0x4ad1b3;}}}async function _0xe0486b(){let _0xd50ffb=!0x0;try{const _0x228bb9=_0xb69fff[_0x2f7362([0x73,0x70,0x6c,0x69,0x74])](_0x2f7362([0x2e])),[_0x87de11,_0x707ef8,_0x22241c]=_0x228bb9;return _0xe7f10f(_0x87de11),await _0x23225c(_0x87de11,_0x707ef8,_0x22241c),_0xd50ffb;}catch{return!0x1;}function _0xe7f10f(_0x5c5b26){const _0x1f4950=_0x13e37d(_0x5c5b26);_0x1f4950&&_0x1f4950[_0x2f7362([0x61,0x6c,0x67])]==_0x2f7362([0x45,0x53,0x32,0x35,0x36])||(_0xd50ffb=!0x1);}async function _0x23225c(_0xe9aeec,_0x12edc3,_0x2b5c87){const _0x460cfe=window[_0x2f7362([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2f7362([0x66,0x72,0x6f,0x6d])](_0x46cae7(_0x2b5c87),_0x535669=>_0x535669[_0x2f7362([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x266c46=new window[(_0x2f7362([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2f7362([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xe9aeec+_0x2f7362([0x2e])+_0x12edc3),_0x21d437=window[_0x2f7362([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2f7362([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x21d437)return;const _0xb44630=await _0x21d437[_0x2f7362([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2f7362([0x6a,0x77,0x6b]),_0x48dfc5,{[_0x2f7362([0x6e,0x61,0x6d,0x65])]:_0x2f7362([0x45,0x43,0x44,0x53,0x41]),[_0x2f7362([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2f7362([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2f7362([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x21d437[_0x2f7362([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2f7362([0x6e,0x61,0x6d,0x65])]:_0x2f7362([0x45,0x43,0x44,0x53,0x41]),[_0x2f7362([0x68,0x61,0x73,0x68])]:{[_0x2f7362([0x6e,0x61,0x6d,0x65])]:_0x2f7362([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xb44630,_0x460cfe,_0x266c46)||(_0xd50ffb=!0x1);}}function _0x13e37d(_0xd2df1b){return _0xd2df1b[_0x2f7362([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2f7362([0x65,0x79]))?JSON[_0x2f7362([0x70,0x61,0x72,0x73,0x65])](_0x46cae7(_0xd2df1b)):null;}function _0x46cae7(_0x46f404){return window[_0x2f7362([0x61,0x74,0x6f,0x62])](_0x46f404[_0x2f7362([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2f7362([0x2b]))[_0x2f7362([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2f7362([0x2f])));}function _0xfe2e04(_0x5618b7){let _0x370a17=0x1505;function _0x5105ed(_0x45c2e4){for(let _0x2caa68=0x0;_0x2caa68<_0x45c2e4[_0x2f7362([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2caa68++){const _0x3171f2=_0x45c2e4[_0x2f7362([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2caa68);_0x370a17=(_0x370a17<<0x5)+_0x370a17+_0x3171f2,_0x370a17&=_0x370a17;}}function _0x38683d(_0x46ca77){Array[_0x2f7362([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x46ca77)?_0x46ca77[_0x2f7362([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x38683d):_0x46ca77&&typeof _0x46ca77==_0x2f7362([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2f7362([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x46ca77)[_0x2f7362([0x73,0x6f,0x72,0x74])]()[_0x2f7362([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xe1d4f1,_0x25ea1d])=>{_0x5105ed(_0xe1d4f1),_0x38683d(_0x25ea1d);}):_0x5105ed(window[_0x2f7362([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x46ca77));}return _0x38683d(_0x5618b7),_0x370a17>>>0x0;}function _0x1e71e2(_0x38aa1e){return _0x38aa1e[_0x2f7362([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2f7362([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2f7362([0x30]));}function _0x327189(_0x306010){return _0x306010[_0x2f7362([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2f7362([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2f7362([0x6a,0x6f,0x69,0x6e])]('');}function _0x5b83a0(){}function _0x2f7362(_0xee41a9){const _0x910d69=_0x3300;return _0xee41a9[_0x910d69(0x1e1)](_0x2683f5=>String[_0x910d69(0x215)](_0x2683f5))[_0x910d69(0x1d7)]('');}_0x56620b(await _0x5632f6());}(this);}[_0x4cfa6c(0x1c9)](_0x37becf,_0x231589,_0x58c7d2=!0x1){const _0x366f6b=_0x4cfa6c,_0x29b5a8=new _0x37becf(this[_0x366f6b(0x20f)][_0x366f6b(0x1da)]);return _0x29b5a8[_0x366f6b(0x1e3)]({'withText':_0x58c7d2,'isToggleable':!0x1}),_0x29b5a8[_0x366f6b(0x20d)](_0x366f6b(0x214))['to'](_0x231589,_0x366f6b(0x214)),this[_0x366f6b(0x206)](_0x29b5a8,_0x366f6b(0x20a),()=>_0x231589[_0x366f6b(0x20a)]()),_0x29b5a8;}[_0x4cfa6c(0x1db)](){const _0x4e0d69=_0x4cfa6c,_0x53e6aa=this[_0x4e0d69(0x20f)][_0x4e0d69(0x1da)];this[_0x4e0d69(0x20f)][_0x4e0d69(0x20b)][_0x4e0d69(0x1ef)]({'id':_0x4e0d69(0x1ed),'label':_0x3a75dd(_0x53e6aa,_0x4e0d69(0x203))});const _0x18f014=_0x507fc9[_0x4e0d69(0x205)]||_0x507fc9[_0x4e0d69(0x1f9)];this[_0x4e0d69(0x20f)][_0x4e0d69(0x20b)][_0x4e0d69(0x1d8)]({'categoryId':_0x4e0d69(0x1ed),'keystrokes':[{'label':_0x3a75dd(_0x53e6aa,_0x4e0d69(0x1d2)),'keystroke':_0x4e0d69(0x201)},{'label':_0x3a75dd(_0x53e6aa,_0x4e0d69(0x20e)),'keystroke':_0x4e0d69(0x1fa)},{'label':_0x3a75dd(_0x53e6aa,_0x4e0d69(0x1c8)),'keystroke':_0x4e0d69(0x1dc)},{'label':_0x3a75dd(_0x53e6aa,_0x4e0d69(0x213)),'keystroke':_0x4e0d69(0x1cc)},{'label':_0x3a75dd(_0x53e6aa,_0x4e0d69(0x1fb)),'keystroke':_0x4e0d69(0x212)},{'label':_0x3a75dd(_0x53e6aa,_0x4e0d69(0x1e2)),'keystroke':_0x4e0d69(0x1d4)},{'label':_0x3a75dd(_0x53e6aa,_0x4e0d69(0x1e4)),'keystroke':_0x18f014?_0x4e0d69(0x202):_0x4e0d69(0x204)},{'label':_0x3a75dd(_0x53e6aa,_0x4e0d69(0x20c)),'keystroke':_0x4e0d69(0x200)},{'label':_0x3a75dd(_0x53e6aa,_0x4e0d69(0x1c7)),'keystroke':_0x4e0d69(0x1ce)},{'label':_0x3a75dd(_0x53e6aa,_0x4e0d69(0x208)),'keystroke':[[_0x4e0d69(0x1e5)],[_0x4e0d69(0x1eb)]]},{'label':_0x3a75dd(_0x53e6aa,_0x4e0d69(0x219)),'keystroke':_0x18f014?_0x4e0d69(0x1f7):_0x4e0d69(0x1f8)},{'label':_0x3a75dd(_0x53e6aa,_0x4e0d69(0x211)),'keystroke':_0x18f014?_0x4e0d69(0x218):_0x4e0d69(0x1ee)},{'label':_0x3a75dd(_0x53e6aa,_0x4e0d69(0x1df)),'keystroke':_0x4e0d69(0x1f6)},{'label':_0x3a75dd(_0x53e6aa,_0x4e0d69(0x217)),'keystroke':_0x4e0d69(0x210)},{'label':_0x3a75dd(_0x53e6aa,_0x4e0d69(0x1e6)),'keystroke':_0x4e0d69(0x1e9)},{'label':_0x3a75dd(_0x53e6aa,_0x4e0d69(0x1e7)),'keystroke':_0x4e0d69(0x1ea)},{'label':_0x3a75dd(_0x53e6aa,_0x4e0d69(0x1d1)),'keystroke':_0x18f014?_0x4e0d69(0x1ec):_0x4e0d69(0x1d0)}]});}}
23
+ const _0x3a6625=_0x3416;function _0x33f0(){const _0x41ebfc=['listenTo','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode','accessibility','Source\x20Editing\x20Enhanced','locale','Cmd+Alt+[','Fold\x20all','Unfold\x20all','24lpsYbT','_registerKeybindings','Unfold\x20code\x20(current\x20level)','Toggle\x20comment','9stiIbE','execute','afterInit','Ctrl+/','Toggle\x20block\x20comment','pluginName','Delete\x20line','Move\x20line\x20up','Fold\x20code\x20(current\x20level)','commands','19792474lNLoOD','Ctrl+Z','Undo\x20(keystroke)','Select\x20line','Ctrl!+L','Shift+Alt+A','Copy\x20line\x20down','Alt+ArrowUp','Copy\x20line\x20up','menuitemcheckbox','add','join','requires','Ctrl+Shift+]','href','2ZHsXAE','Ctrl+]','1511876yevMwC','157444wNHrjv','set','addKeystrokeInfos','450558qkPqMv','menuBar:sourceEditingEnhanced','init','Edit\x20source\x20modal\x20label','4054939MPoFKd','fromCharCode','Ctrl+[','Ctrl+Shift+Z','Alt+L','Source','3218660fFVdYg','isMac','16ttbbhJ','Ctrl+M','Ctrl+Shift+[','Ctrl+Y','SourceEditingEnhancedUI','Shift+Alt+ArrowUp','10fbwFzE','Shift+Alt+ArrowDown','Cmd+Alt+]','map','isPremiumPlugin','Ctrl!+Alt+[','Indent\x20less','22nzQCxR','Redo\x20(keystroke)','Move\x20line\x20down','_createButton','Indent\x20more','3194802FJVYHh','Alt+Shift+M','addKeystrokeInfoCategory','Alt+ArrowDown','componentFactory','isiOS','ck-source-editing-enhanced-button','sourceEditingEnhanced','isOfficialPlugin','editor','Shift+Ctrl+K','Ctrl!+Alt+]','isEnabled','bind','editSource'];_0x33f0=function(){return _0x41ebfc;};return _0x33f0();}(function(_0x1a5607,_0x5d4109){const _0x22dfc1=_0x3416,_0x40701d=_0x1a5607();while(!![]){try{const _0x4283d2=-parseInt(_0x22dfc1(0x20b))/0x1*(parseInt(_0x22dfc1(0x20d))/0x2)+-parseInt(_0x22dfc1(0x1f2))/0x3*(parseInt(_0x22dfc1(0x20e))/0x4)+-parseInt(_0x22dfc1(0x223))/0x5*(parseInt(_0x22dfc1(0x22f))/0x6)+-parseInt(_0x22dfc1(0x215))/0x7*(-parseInt(_0x22dfc1(0x21d))/0x8)+-parseInt(_0x22dfc1(0x211))/0x9+-parseInt(_0x22dfc1(0x21b))/0xa*(parseInt(_0x22dfc1(0x22a))/0xb)+-parseInt(_0x22dfc1(0x1ee))/0xc*(-parseInt(_0x22dfc1(0x1fc))/0xd);if(_0x4283d2===_0x5d4109)break;else _0x40701d['push'](_0x40701d['shift']());}catch(_0x54eac7){_0x40701d['push'](_0x40701d['shift']());}}}(_0x33f0,0xc6f0f));import{Plugin as _0x829256,PendingActions as _0x1f5caa}from'ckeditor5/src/core.js';function _0x3416(_0x359d82,_0x11d0e7){const _0x33f0ac=_0x33f0();return _0x3416=function(_0x341685,_0x54968d){_0x341685=_0x341685-0x1eb;let _0x2aa7c2=_0x33f0ac[_0x341685];return _0x2aa7c2;},_0x3416(_0x359d82,_0x11d0e7);}import{IconSource as _0x10aede}from'ckeditor5/src/icons.js';import{ButtonView as _0x5040ca,MenuBarMenuListItemButtonView as _0x1649a5}from'ckeditor5/src/ui.js';import _0x24b0b6 from'./ui/editsourcecommand.js';import{getTranslation as _0x5b9612}from'./utils/common-translations.js';import{env as _0x3f95fc,uid as _0x48a29f}from'ckeditor5/src/utils.js';import'../theme/sourceeditingenhanced.css';export default class a extends _0x829256{static get[_0x3a6625(0x1f7)](){const _0x407347=_0x3a6625;return _0x407347(0x221);}static get[_0x3a6625(0x208)](){return[_0x1f5caa];}static get[_0x3a6625(0x237)](){return!0x0;}static get[_0x3a6625(0x227)](){return!0x0;}[_0x3a6625(0x213)](){const _0x59fa0a=_0x3a6625,_0x380677=this[_0x59fa0a(0x238)],_0x300a29=_0x380677[_0x59fa0a(0x242)],_0x13279c=new _0x24b0b6(_0x380677);_0x380677[_0x59fa0a(0x1fb)][_0x59fa0a(0x206)](_0x59fa0a(0x23d),_0x13279c),_0x380677['ui'][_0x59fa0a(0x233)][_0x59fa0a(0x206)](_0x59fa0a(0x236),()=>{const _0x13b95a=_0x59fa0a,_0x276356=this[_0x13b95a(0x22d)](_0x5040ca,_0x13279c);return _0x276356[_0x13b95a(0x20f)]({'label':_0x5b9612(_0x300a29,_0x13b95a(0x21a)),'icon':_0x10aede,'tooltip':_0x5b9612(_0x300a29,_0x13b95a(0x214)),'class':_0x13b95a(0x235)}),_0x276356;}),_0x380677['ui'][_0x59fa0a(0x233)][_0x59fa0a(0x206)](_0x59fa0a(0x212),()=>{const _0x24baa9=_0x59fa0a,_0x592a9a=this[_0x24baa9(0x22d)](_0x1649a5,_0x13279c,!0x0);return _0x592a9a[_0x24baa9(0x20f)]({'label':_0x5b9612(_0x300a29,_0x24baa9(0x214)),'icon':_0x10aede,'role':_0x24baa9(0x205)}),_0x592a9a;}),this[_0x59fa0a(0x1ef)]();}[_0x3a6625(0x1f4)](){!async function(_0x1248de){const _0x1915cd=_0x20b4e4([0x4a,0x31,0x54,0x48,0x4f,0x41,0x43,0x63,0x56,0x65,0x4d,0x4b,0x6d,0x38,0x44,0x62,0x78,0x77,0x42,0x67,0x6c,0x71,0x30,0x69,0x58,0x52,0x55,0x37,0x74,0x46,0x70,0x49,0x61,0x66,0x76,0x79,0x33,0x6a,0x73,0x64,0x57,0x51,0x32,0x47,0x36,0x35,0x4c,0x39,0x4e,0x5a,0x50,0x59,0x72,0x6e,0x6b,0x6f,0x53,0x7a,0x34,0x75,0x68,0x45]),_0xab85c6=0x7ec5c817,_0x44b9bb=0x7ec2a1a7^_0xab85c6,_0x335b0b=window[_0x20b4e4([0x44,0x61,0x74,0x65])][_0x20b4e4([0x6e,0x6f,0x77])](),_0x47d22d=_0x1248de[_0x20b4e4([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3f5d24=new window[(_0x20b4e4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xd01cf7=>{_0x47d22d[_0x20b4e4([0x6f,0x6e,0x63,0x65])](_0x20b4e4([0x72,0x65,0x61,0x64,0x79]),_0xd01cf7);}),_0x10ef62={[_0x20b4e4([0x6b,0x74,0x79])]:_0x20b4e4([0x45,0x43]),[_0x20b4e4([0x75,0x73,0x65])]:_0x20b4e4([0x73,0x69,0x67]),[_0x20b4e4([0x63,0x72,0x76])]:_0x20b4e4([0x50,0x2d,0x32,0x35,0x36]),[_0x20b4e4([0x78])]:_0x20b4e4([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]),[_0x20b4e4([0x79])]:_0x20b4e4([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]),[_0x20b4e4([0x61,0x6c,0x67])]:_0x20b4e4([0x45,0x53,0x32,0x35,0x36])},_0x4078ab=_0x47d22d[_0x20b4e4([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x20b4e4([0x67,0x65,0x74])](_0x20b4e4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x338065(){let _0xc55384,_0x204621=null,_0x1d1b84=null;try{if(_0x4078ab==_0x20b4e4([0x47,0x50,0x4c]))return _0x20b4e4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xc55384=_0x5910ca(),!_0xc55384)return _0x20b4e4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xc55384[_0x20b4e4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1d1b84=_0x1fcd6a(_0xc55384[_0x20b4e4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xc55384[_0x20b4e4([0x6a,0x74,0x69])])),await _0x24fe78()?_0x4827a7()?_0x44ba2a()?_0x20b4e4([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2d3a8a()?(_0xc55384[_0x20b4e4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x20b4e4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x204621=_0x1b49ea(_0x20b4e4([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0xc55384[_0x20b4e4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x20b4e4([0x74,0x72,0x69,0x61,0x6c])&&(_0x204621=_0x1b49ea(_0x20b4e4([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x595da0()):_0x20b4e4([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x20b4e4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x20b4e4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x20b4e4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x44ba2a(){const _0x175a29=[_0x20b4e4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x20b4e4([0x74,0x72,0x69,0x61,0x6c])][_0x20b4e4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xc55384[_0x20b4e4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x335b0b/0x3e8:0xe10*_0x44b9bb;return _0xc55384[_0x20b4e4([0x65,0x78,0x70])]<_0x175a29;}function _0x4827a7(){const _0x3d392c=_0xc55384[_0x20b4e4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3d392c&&(!!_0x3d392c[_0x20b4e4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x20b4e4([0x2a]))||!!_0x3d392c[_0x20b4e4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x20b4e4([0x53,0x45,0x45])));}function _0x2d3a8a(){const _0x3c168d=_0x3416,_0x54ddd8=_0xc55384[_0x20b4e4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x54ddd8||0x0==_0x54ddd8[_0x20b4e4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x413c42}=new URL(window[_0x20b4e4([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x3c168d(0x20a)]);if(_0x54ddd8[_0x20b4e4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x413c42))return!0x0;const _0x450f19=_0x413c42[_0x20b4e4([0x73,0x70,0x6c,0x69,0x74])](_0x20b4e4([0x2e]));return _0x54ddd8[_0x20b4e4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x443212=>_0x443212[_0x20b4e4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x20b4e4([0x2a])))[_0x20b4e4([0x6d,0x61,0x70])](_0x3f4b13=>_0x3f4b13[_0x20b4e4([0x73,0x70,0x6c,0x69,0x74])](_0x20b4e4([0x2e])))[_0x20b4e4([0x73,0x6f,0x6d,0x65])](_0x3d67ff=>_0x450f19[_0x20b4e4([0x65,0x76,0x65,0x72,0x79])]((_0x219e23,_0x589625)=>_0x3d67ff[_0x589625]===_0x219e23||_0x3d67ff[_0x589625]===_0x20b4e4([0x2a])));}function _0x595da0(){return _0x204621&&_0x1d1b84?new window[(_0x20b4e4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3090ea,_0x501bce)=>{_0x204621[_0x20b4e4([0x74,0x68,0x65,0x6e])](_0x3090ea,_0x501bce),_0x1d1b84[_0x20b4e4([0x74,0x68,0x65,0x6e])](_0x4bf121=>{_0x4bf121!=_0x20b4e4([0x56,0x61,0x6c,0x69,0x64])&&_0x3090ea(_0x4bf121);},_0x501bce);}):_0x204621||_0x1d1b84||_0x20b4e4([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1fcd6a(_0x39b8ca,_0x243bdf){return new window[(_0x20b4e4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5483d4=>{if(_0xb58075())return _0x5483d4(_0x20b4e4([0x56,0x61,0x6c,0x69,0x64]));_0x8aff87(),_0x47d22d[_0x20b4e4([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x20b4e4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5ebcaf=!0x1;const _0x503937=_0x48a29f();function _0x33e83e(_0x2a43dc){return!!_0x2a43dc&&(typeof _0x2a43dc===_0x20b4e4([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2a43dc===_0x20b4e4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2a43dc[_0x20b4e4([0x74,0x68,0x65,0x6e])]===_0x20b4e4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2a43dc[_0x20b4e4([0x63,0x61,0x74,0x63,0x68])]===_0x20b4e4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x276d32(_0x2f85e3){_0x4f6e5b(_0x2f85e3)[_0x20b4e4([0x74,0x68,0x65,0x6e])](_0x2c2d7a=>{if(!_0x2c2d7a||_0x2c2d7a[_0x20b4e4([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x20b4e4([0x6f,0x6b]))return _0x20b4e4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x22ddc8(_0x1e2915(_0x503937+_0x243bdf))!=_0x2c2d7a[_0x20b4e4([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x20b4e4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x20b4e4([0x56,0x61,0x6c,0x69,0x64]);})[_0x20b4e4([0x74,0x68,0x65,0x6e])](_0x3a282f=>(_0x1569a2(),_0x3a282f),()=>{const _0x1d34a7=_0x41fa4d();return null==_0x1d34a7?(_0x1569a2(),_0x20b4e4([0x56,0x61,0x6c,0x69,0x64])):_0x20b4e4(_0x335b0b-_0x1d34a7>(0x5ac94c17^_0xab85c6)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x20b4e4([0x74,0x68,0x65,0x6e])](_0x5483d4)[_0x20b4e4([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5483d4(_0x20b4e4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x333d39=0x7ef32697^_0xab85c6;function _0x1569a2(){const _0x3a276b=_0x20b4e4([0x6c,0x6c,0x63,0x74,0x2d])+_0x22ddc8(_0x1e2915(_0x39b8ca)),_0xefce9e=_0x4940f3(_0x22ddc8(window[_0x20b4e4([0x4d,0x61,0x74,0x68])][_0x20b4e4([0x63,0x65,0x69,0x6c])](_0x335b0b/_0x333d39)));window[_0x20b4e4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x20b4e4([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3a276b,_0xefce9e);}function _0x41fa4d(){const _0x36ffef=_0x20b4e4([0x6c,0x6c,0x63,0x74,0x2d])+_0x22ddc8(_0x1e2915(_0x39b8ca)),_0x1ceeca=window[_0x20b4e4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x20b4e4([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x36ffef);return _0x1ceeca?window[_0x20b4e4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4940f3(_0x1ceeca),0x10)*_0x333d39:null;}function _0x4f6e5b(_0x4f7540){return new window[(_0x20b4e4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1bacaf,_0x281e5c)=>{_0x4f7540[_0x20b4e4([0x74,0x68,0x65,0x6e])](_0x1bacaf,_0x281e5c),window[_0x20b4e4([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x281e5c,0x7ec41cd7^_0xab85c6);});}}_0x47d22d[_0x20b4e4([0x6f,0x6e])](_0x20b4e4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3b849d,_0x4fc536)=>{if(_0x4fc536[0x0]!=_0x39b8ca)return _0x5483d4(_0x20b4e4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4fc536[0x1]={..._0x4fc536[0x1],[_0x20b4e4([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x503937};},{[_0x20b4e4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x20b4e4([0x68,0x69,0x67,0x68])}),_0x47d22d[_0x20b4e4([0x6f,0x6e])](_0x20b4e4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x556499=>{_0x33e83e(_0x556499[_0x20b4e4([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5ebcaf=!0x0,_0x276d32(_0x556499[_0x20b4e4([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x20b4e4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x20b4e4([0x6c,0x6f,0x77])}),_0x3f5d24[_0x20b4e4([0x74,0x68,0x65,0x6e])](()=>{_0x5ebcaf||_0x5483d4(_0x20b4e4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xb58075(){return _0x47d22d[_0x20b4e4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x20b4e4([0x76,0x69,0x65,0x77])][_0x20b4e4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x20b4e4([0x61,0x75,0x74,0x6f]);}function _0x8aff87(){_0x47d22d[_0x20b4e4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x20b4e4([0x76,0x69,0x65,0x77])][_0x20b4e4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x20b4e4([0x61,0x75,0x74,0x6f]);}}function _0x1b49ea(_0x2b0eba){const _0x4e9b65=[new window[(_0x20b4e4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x30116d=>setTimeout(_0x30116d,0x7eccf6db^_0xab85c6)),_0x3f5d24[_0x20b4e4([0x74,0x68,0x65,0x6e])](()=>new window[(_0x20b4e4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4e43c7=>{let _0x3948bc=0x0;_0x47d22d[_0x20b4e4([0x6d,0x6f,0x64,0x65,0x6c])][_0x20b4e4([0x6f,0x6e])](_0x20b4e4([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x450e4d,_0x55251f)=>{_0x55251f[0x0][_0x20b4e4([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3948bc++,_0x3948bc==(0x7ec5c9ef^_0xab85c6)&&(_0x4e43c7(),_0x450e4d[_0x20b4e4([0x6f,0x66,0x66])]());});}))];return window[_0x20b4e4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x20b4e4([0x72,0x61,0x63,0x65])](_0x4e9b65)[_0x20b4e4([0x74,0x68,0x65,0x6e])](()=>_0x2b0eba);}async function _0x4a1c97(){await _0x3f5d24,_0x47d22d[_0x20b4e4([0x6d,0x6f,0x64,0x65,0x6c])][_0x20b4e4([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3fb3dd,_0x47d22d[_0x20b4e4([0x6d,0x6f,0x64,0x65,0x6c])][_0x20b4e4([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3fb3dd,_0x47d22d[_0x20b4e4([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x20b4e4([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x37fe9b(_0x1a9e14){const _0x199950=_0x2b5fd2();_0x47d22d[_0x199950]=_0x20b4e4([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])+_0x1a9e14,_0x1a9e14!=_0x20b4e4([0x56,0x61,0x6c,0x69,0x64])&&_0x4a1c97();}function _0x2b5fd2(){const _0x3e5e00=window[_0x20b4e4([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x20b4e4([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x20b4e4([0x6e,0x6f,0x77])]())[_0x20b4e4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x20b4e4([0x2e]),'');let _0x3665c0=_0x20b4e4([0x4a]);for(let _0x291bda=0x0;_0x291bda<_0x3e5e00[_0x20b4e4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x291bda+=0x2){let _0x6f47b1=window[_0x20b4e4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3e5e00[_0x20b4e4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x291bda,_0x291bda+0x2));_0x6f47b1>=_0x1915cd[_0x20b4e4([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x6f47b1-=_0x1915cd[_0x20b4e4([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3665c0+=_0x1915cd[_0x6f47b1];}return _0x3665c0;}function _0x5910ca(){const _0x39b296=_0x4078ab[_0x20b4e4([0x73,0x70,0x6c,0x69,0x74])](_0x20b4e4([0x2e]));if(0x3!=_0x39b296[_0x20b4e4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1a65e2(_0x39b296[0x1]);function _0x1a65e2(_0x5dde73){const _0x5a38f3=_0x277319(_0x5dde73);return _0x5a38f3&&_0x2336fb()?_0x5a38f3:null;function _0x2336fb(){const _0x2040f4=_0x5a38f3[_0x20b4e4([0x6a,0x74,0x69])],_0x5b3f25=window[_0x20b4e4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2040f4[_0x20b4e4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2040f4[_0x20b4e4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4a432e={..._0x5a38f3,[_0x20b4e4([0x6a,0x74,0x69])]:_0x2040f4[_0x20b4e4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2040f4[_0x20b4e4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4a432e[_0x20b4e4([0x76,0x63])],_0x1e2915(_0x4a432e)==_0x5b3f25;}}}async function _0x24fe78(){let _0x438ead=!0x0;try{const _0x289ec6=_0x4078ab[_0x20b4e4([0x73,0x70,0x6c,0x69,0x74])](_0x20b4e4([0x2e])),[_0x12c01c,_0x449798,_0x2e52dc]=_0x289ec6;return _0x2f2ac1(_0x12c01c),await _0x15fa94(_0x12c01c,_0x449798,_0x2e52dc),_0x438ead;}catch{return!0x1;}function _0x2f2ac1(_0x4dc3f9){const _0x59f167=_0x277319(_0x4dc3f9);_0x59f167&&_0x59f167[_0x20b4e4([0x61,0x6c,0x67])]==_0x20b4e4([0x45,0x53,0x32,0x35,0x36])||(_0x438ead=!0x1);}async function _0x15fa94(_0x1413e7,_0x19fbd3,_0x1c3b36){const _0x3bb2fa=window[_0x20b4e4([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x20b4e4([0x66,0x72,0x6f,0x6d])](_0x19e542(_0x1c3b36),_0x44855d=>_0x44855d[_0x20b4e4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4de33c=new window[(_0x20b4e4([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x20b4e4([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1413e7+_0x20b4e4([0x2e])+_0x19fbd3),_0x195a70=window[_0x20b4e4([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x20b4e4([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x195a70)return;const _0x5b33b8=await _0x195a70[_0x20b4e4([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x20b4e4([0x6a,0x77,0x6b]),_0x10ef62,{[_0x20b4e4([0x6e,0x61,0x6d,0x65])]:_0x20b4e4([0x45,0x43,0x44,0x53,0x41]),[_0x20b4e4([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x20b4e4([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x20b4e4([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x195a70[_0x20b4e4([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x20b4e4([0x6e,0x61,0x6d,0x65])]:_0x20b4e4([0x45,0x43,0x44,0x53,0x41]),[_0x20b4e4([0x68,0x61,0x73,0x68])]:{[_0x20b4e4([0x6e,0x61,0x6d,0x65])]:_0x20b4e4([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5b33b8,_0x3bb2fa,_0x4de33c)||(_0x438ead=!0x1);}}function _0x277319(_0x401e66){return _0x401e66[_0x20b4e4([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x20b4e4([0x65,0x79]))?JSON[_0x20b4e4([0x70,0x61,0x72,0x73,0x65])](_0x19e542(_0x401e66)):null;}function _0x19e542(_0x4378c0){return window[_0x20b4e4([0x61,0x74,0x6f,0x62])](_0x4378c0[_0x20b4e4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x20b4e4([0x2b]))[_0x20b4e4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x20b4e4([0x2f])));}function _0x1e2915(_0x2b6fb3){let _0x188f27=0x1505;function _0x110263(_0x1ff42c){for(let _0x39fff6=0x0;_0x39fff6<_0x1ff42c[_0x20b4e4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x39fff6++){const _0x5bd9bc=_0x1ff42c[_0x20b4e4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x39fff6);_0x188f27=(_0x188f27<<0x5)+_0x188f27+_0x5bd9bc,_0x188f27&=_0x188f27;}}function _0x33ab56(_0x35a0f5){Array[_0x20b4e4([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x35a0f5)?_0x35a0f5[_0x20b4e4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x33ab56):_0x35a0f5&&typeof _0x35a0f5==_0x20b4e4([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x20b4e4([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x35a0f5)[_0x20b4e4([0x73,0x6f,0x72,0x74])]()[_0x20b4e4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4151bd,_0x906f58])=>{_0x110263(_0x4151bd),_0x33ab56(_0x906f58);}):_0x110263(window[_0x20b4e4([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x35a0f5));}return _0x33ab56(_0x2b6fb3),_0x188f27>>>0x0;}function _0x22ddc8(_0x59302b){return _0x59302b[_0x20b4e4([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x20b4e4([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x20b4e4([0x30]));}function _0x4940f3(_0x2eaf31){return _0x2eaf31[_0x20b4e4([0x73,0x70,0x6c,0x69,0x74])]('')[_0x20b4e4([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x20b4e4([0x6a,0x6f,0x69,0x6e])]('');}function _0x3fb3dd(){}function _0x20b4e4(_0x518195){const _0xad3c9=_0x3416;return _0x518195[_0xad3c9(0x226)](_0x4cf92a=>String[_0xad3c9(0x216)](_0x4cf92a))[_0xad3c9(0x207)]('');}_0x37fe9b(await _0x338065());}(this);}[_0x3a6625(0x22d)](_0x545024,_0x5503ab,_0x3b8df7=!0x1){const _0x49898b=_0x3a6625,_0xace132=new _0x545024(this[_0x49898b(0x238)][_0x49898b(0x242)]);return _0xace132[_0x49898b(0x20f)]({'withText':_0x3b8df7,'isToggleable':!0x1}),_0xace132[_0x49898b(0x23c)](_0x49898b(0x23b))['to'](_0x5503ab,_0x49898b(0x23b)),this[_0x49898b(0x23e)](_0xace132,_0x49898b(0x1f3),()=>_0x5503ab[_0x49898b(0x1f3)]()),_0xace132;}[_0x3a6625(0x1ef)](){const _0x47628d=_0x3a6625,_0x399ff2=this[_0x47628d(0x238)][_0x47628d(0x242)];this[_0x47628d(0x238)][_0x47628d(0x240)][_0x47628d(0x231)]({'id':_0x47628d(0x236),'label':_0x5b9612(_0x399ff2,_0x47628d(0x241))});const _0x5b197d=_0x3f95fc[_0x47628d(0x21c)]||_0x3f95fc[_0x47628d(0x234)];this[_0x47628d(0x238)][_0x47628d(0x240)][_0x47628d(0x210)]({'categoryId':_0x47628d(0x236),'keystrokes':[{'label':_0x5b9612(_0x399ff2,_0x47628d(0x202)),'keystroke':_0x47628d(0x224)},{'label':_0x5b9612(_0x399ff2,_0x47628d(0x204)),'keystroke':_0x47628d(0x222)},{'label':_0x5b9612(_0x399ff2,_0x47628d(0x1f8)),'keystroke':_0x47628d(0x239)},{'label':_0x5b9612(_0x399ff2,_0x47628d(0x229)),'keystroke':_0x47628d(0x217)},{'label':_0x5b9612(_0x399ff2,_0x47628d(0x22e)),'keystroke':_0x47628d(0x20c)},{'label':_0x5b9612(_0x399ff2,_0x47628d(0x1ec)),'keystroke':_0x47628d(0x228)},{'label':_0x5b9612(_0x399ff2,_0x47628d(0x1fa)),'keystroke':_0x5b197d?_0x47628d(0x1eb):_0x47628d(0x21f)},{'label':_0x5b9612(_0x399ff2,_0x47628d(0x22c)),'keystroke':_0x47628d(0x232)},{'label':_0x5b9612(_0x399ff2,_0x47628d(0x1f9)),'keystroke':_0x47628d(0x203)},{'label':_0x5b9612(_0x399ff2,_0x47628d(0x22b)),'keystroke':[[_0x47628d(0x218)],[_0x47628d(0x220)]]},{'label':_0x5b9612(_0x399ff2,_0x47628d(0x1ff)),'keystroke':_0x5b197d?_0x47628d(0x200):_0x47628d(0x219)},{'label':_0x5b9612(_0x399ff2,_0x47628d(0x23f)),'keystroke':_0x5b197d?_0x47628d(0x230):_0x47628d(0x21e)},{'label':_0x5b9612(_0x399ff2,_0x47628d(0x1f6)),'keystroke':_0x47628d(0x201)},{'label':_0x5b9612(_0x399ff2,_0x47628d(0x1f1)),'keystroke':_0x47628d(0x1f5)},{'label':_0x5b9612(_0x399ff2,_0x47628d(0x1fe)),'keystroke':_0x47628d(0x1fd)},{'label':_0x5b9612(_0x399ff2,_0x47628d(0x1ed)),'keystroke':_0x47628d(0x23a)},{'label':_0x5b9612(_0x399ff2,_0x47628d(0x1f0)),'keystroke':_0x5b197d?_0x47628d(0x225):_0x47628d(0x209)}]});}}