@ckeditor/ckeditor5-source-editing-enhanced 46.0.1-alpha.13 → 46.0.1-alpha.14

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 _0x32bd4a,PendingActions as _0x2b98cf,Plugin as _0x5164b1}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x52bd90,formatHtml as _0x3c698c,env as _0x5c3ca2,uid as _0x4601a7}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconSource as _0x1fa0f7}from'@ckeditor/ckeditor5-icons/dist/index.js';import{View as _0x47ad88,ButtonView as _0x2fd5aa,MenuBarMenuListItemButtonView as _0x93e455}from'@ckeditor/ckeditor5-ui/dist/index.js';import{EditorView as _0x4cbfba,crosshairCursor as _0x29fe14,drawSelection as _0x2686ce,dropCursor as _0x3cbf77,lineNumbers as _0x5ec2ae,highlightActiveLine as _0x4cdef3,highlightActiveLineGutter as _0x3243c6,highlightSpecialChars as _0x1ba08d,rectangularSelection as _0x36688a,keymap as _0x16f3fa}from'@codemirror/view';import{Compartment as _0x5b9a5a,Transaction as _0x4725a3}from'@codemirror/state';import{bracketMatching as _0x3ced95,foldGutter as _0x161177,indentOnInput as _0x536880,syntaxHighlighting as _0x5d18ec,defaultHighlightStyle as _0x31b9b6,foldKeymap as _0x3b005e}from'@codemirror/language';import{toggleTabFocusMode as _0x429a3e,history as _0x54e568,defaultKeymap as _0x52a9dd,historyKeymap as _0x1a011c,indentLess as _0x3cbab5,indentMore as _0x53bc91,redo as _0xd1c908,undo as _0x4262e6}from'@codemirror/commands';import{autocompletion as _0x3bda71,closeBrackets as _0x3ae242,closeBracketsKeymap as _0x23e6be,completionKeymap as _0x236a2c}from'@codemirror/autocomplete';import{html as _0xc764c1}from'@codemirror/lang-html';import{markdown as _0x315186}from'@codemirror/lang-markdown';import{oneDark as _0x2539e7}from'@codemirror/theme-one-dark';function w(_0x13928d,_0x3d10d6){const t=_0x13928d['t'];switch(_0x3d10d6){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 _0x3d10d6;}}function r(_0x31b4fd){const _0x66e0a2=_0x31b4fd['editing']['view']['document']['roots'],_0x4edc04=_0x66e0a2['length'];if(0x0===_0x4edc04)throw new _0x52bd90('source-editing-enhanced-editor-no-root',_0x31b4fd);if(0x1===_0x4edc04)return _0x66e0a2['first']['rootName'];return Array['from'](_0x31b4fd['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function $(_0x101d96){return X(_0x101d96['replace'](/^[\n\s]*/g,''))?_0x101d96['replace'](/\s+/g,''):_0x101d96;}function X(_0x59d0ee){return _0x59d0ee['startsWith']('<');}function Y(_0x5d8d18){const _0x472882=[_0x4cbfba['lineWrapping'],_0x3bda71(),_0x3ced95(),_0x3ae242(),_0x29fe14(),_0x2686ce(),_0x3cbf77(),_0x5ec2ae(),_0x161177(),_0x4cdef3(),_0x3243c6(),_0x1ba08d(),_0x54e568(),_0x536880(),_0x36688a(),_0x5d18ec(_0x31b9b6,{'fallback':!0x0})],_0x46a542=new _0x5b9a5a();_0x472882['push'](_0x46a542['of'](_0x4cbfba['editable']['of'](!0x0))),'html'===_0x5d8d18['syntaxLanguage']?_0x472882['push'](_0xc764c1()):_0x472882['push'](_0x315186());const _0x5cd327=function(_0x4d2db3){if(_0x4d2db3&&'default'!==_0x4d2db3)return'dark'===_0x4d2db3?_0x2539e7:_0x4d2db3;return null;}(_0x5d8d18['theme']);_0x5cd327&&_0x472882['push'](_0x5cd327),_0x472882['push'](_0x16f3fa['of']([..._0x23e6be,..._0x52a9dd,..._0x1a011c,..._0x3b005e,..._0x236a2c,{'key':'Tab','run':_0x53bc91,'shift':_0x3cbab5,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-y','mac':'Cmd-y','run':_0xd1c908,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-Shift-z','mac':'Cmd-Shift-z','run':_0xd1c908,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-z','mac':'Cmd-z','run':_0x4262e6,'preventDefault':!0x0,'stopPropagation':!0x0}]));const _0x2edb2c=new _0x4cbfba({'extensions':_0x472882,'parent':_0x5d8d18['parent']});return _0x429a3e(_0x2edb2c),{'focus':()=>{_0x2edb2c['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x2edb2c['focus']();},'getData':()=>_0x2edb2c['state']['doc']['toString'](),'setData':_0x218d1a=>{_0x2edb2c['dispatch']({'changes':{'from':0x0,'to':_0x2edb2c['state']['doc']['length'],'insert':_0x218d1a},'annotations':_0x4725a3['addToHistory']['of'](!0x1)});},'setReadOnly':_0x391dea=>{_0x2edb2c['dispatch']({'effects':[_0x46a542['reconfigure'](_0x4cbfba['editable']['of'](!_0x391dea))]});},'destroy':()=>{_0x2edb2c['destroy']();},'instance':_0x2edb2c};}class ee extends _0x47ad88{['_codeEditorApi']=null;['_options'];constructor(_0x229c75,_0x5e13a9){super(_0x229c75),this['_options']=_0x5e13a9,this['set']('isReadOnly',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all-excluded','ck-code-editor'],'tabindex':-0x1}});}['render'](){super['render'](),this['_codeEditorApi']=Y({'parent':this['element'],'syntaxLanguage':this['_options']['syntaxLanguage'],'theme':this['_options']['theme']}),this['on']('change:isReadOnly',(_0x5a961f,_0x42a765,_0x5461b2)=>{this['setReadOnly'](_0x5461b2);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0x468088){this['_codeEditorApi']['setData'](_0x468088);}['setReadOnly'](_0x549baa){this['_codeEditorApi']['setReadOnly'](_0x549baa);}}const te='SourceEditingEnhancedMode';class d extends _0x32bd4a{constructor(_0x3d7e3c){super(_0x3d7e3c),this['affectsData']=!0x1,this['editor']['plugins']['get'](_0x2b98cf)['on']('change:hasAny',(_0x36ec1b,_0x3dec47,_0x2f4e66)=>{_0x2f4e66?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['_disableCommands'](){const _0x858066=this['editor'];for(const _0x2a83bf of _0x858066['commands']['names']())['replaceSource','editSource']['includes'](_0x2a83bf)||_0x858066['commands']['get'](_0x2a83bf)['forceDisabled'](te);}['_enableCommands'](){const _0x1a4d38=this['editor'];for(const _0x2d77a0 of _0x1a4d38['commands']['commands']())_0x2d77a0['clearForceDisabled'](te);}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0xae2b32=this['editor'],_0x3da648=_0xae2b32['locale'],_0x5a43d9=_0xae2b32['plugins']['get']('Dialog'),_0x130284=r(_0xae2b32),_0x4bbb8b=_0xae2b32['data']['get']({'rootName':_0x130284}),_0x385d1b=X(_0x224a4a=_0x4bbb8b)?_0x3c698c(_0x224a4a):_0x224a4a;var _0x224a4a;const _0x15e726=new ee(_0x3da648,{'syntaxLanguage':_0xae2b32['plugins']['has']('Markdown')?'markdown':'html','theme':_0xae2b32['config']['get']('sourceEditingEnhanced.theme')});let _0x6b80c8=!0x0;const _0x30df64=_0x20e4dc=>{if(!_0x6b80c8)return;return $(_0x15e726['getData']())!==$(_0x385d1b)?window['confirm'](w(_0x3da648,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0x20e4dc['stop']():void 0x0;};_0x5a43d9['show']({'id':'sourceEditingEnhanced','title':w(_0x3da648,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0x15e726,'actionButtons':[{'label':w(_0x3da648,'Cancel'),'withText':!0x0,'onExecute':()=>{_0x5a43d9['hide']();}},{'label':w(_0x3da648,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0x431418=$(_0x15e726['getData']())!==$(_0x385d1b);(_0x431418&&_0xae2b32['execute']('replaceSource',_0x15e726['getData']()),_0x6b80c8=!0x1,_0x5a43d9['hide'](),_0x431418&&'editables'in _0xae2b32['ui']['view'])&&_0xae2b32['ui']['view']['editables'][_0x130284]['element']['focus']();},'onCreate':_0x4dc6a8=>{_0x4dc6a8['set']('isEnabled',!_0xae2b32['isReadOnly']),_0x4dc6a8['bind']('isEnabled')['to'](_0xae2b32,'isReadOnly',this,'isEnabled',(_0x1a9719,_0x1acc3e)=>!_0x1a9719&&_0x1acc3e);}}],'onHide':()=>{this['_enableCommands'](),_0x5a43d9['off']('hide',_0x30df64),_0x15e726['destroy']();},'onShow':()=>{_0x15e726['bind']('isReadOnly')['to'](_0xae2b32,'isReadOnly',this,'isEnabled',(_0x1b17cf,_0x151323)=>_0x1b17cf||!_0x151323),_0x15e726['setData'](_0x385d1b),_0x15e726['focus'](),_0x5a43d9['on']('hide',_0x30df64,{'priority':'highest'}),this['_disableCommands']();}});}}class a extends _0x5164b1{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[_0x2b98cf];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x456e40=this['editor'],_0x4c994c=_0x456e40['locale'],_0x57c67f=new d(_0x456e40);_0x456e40['commands']['add']('editSource',_0x57c67f),_0x456e40['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0x43033e=this['_createButton'](_0x2fd5aa,_0x57c67f);return _0x43033e['set']({'label':w(_0x4c994c,'Source'),'icon':_0x1fa0f7,'tooltip':w(_0x4c994c,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0x43033e;}),_0x456e40['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0x5130e6=this['_createButton'](_0x93e455,_0x57c67f,!0x0);return _0x5130e6['set']({'label':w(_0x4c994c,'Edit\x20source\x20modal\x20label'),'icon':_0x1fa0f7,'role':'menuitemcheckbox'}),_0x5130e6;}),this['_registerKeybindings']();}['afterInit'](){!async function(_0x41d315){const _0x23c157=_0x151662([0x71,0x39,0x31,0x5a,0x41,0x6d,0x56,0x4c,0x76,0x6a,0x4e,0x73,0x46,0x55,0x49,0x4b,0x6e,0x75,0x51,0x74,0x37,0x34,0x30,0x44,0x4d,0x58,0x68,0x45,0x59,0x35,0x6f,0x7a,0x4f,0x36,0x47,0x6c,0x33,0x38,0x64,0x6b,0x66,0x61,0x62,0x4a,0x54,0x52,0x79,0x78,0x43,0x63,0x42,0x57,0x77,0x65,0x70,0x72,0x67,0x50,0x53,0x48,0x69,0x32]),_0x4f16ad=0x66da4893,_0x3ce094=0x66dd3883^_0x4f16ad,_0x47cddc=window[_0x151662([0x44,0x61,0x74,0x65])][_0x151662([0x6e,0x6f,0x77])](),_0x4d7592=_0x41d315[_0x151662([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x373509=new window[(_0x151662([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5114e3=>{_0x4d7592[_0x151662([0x6f,0x6e,0x63,0x65])](_0x151662([0x72,0x65,0x61,0x64,0x79]),_0x5114e3);}),_0x33d31a={[_0x151662([0x6b,0x74,0x79])]:_0x151662([0x45,0x43]),[_0x151662([0x75,0x73,0x65])]:_0x151662([0x73,0x69,0x67]),[_0x151662([0x63,0x72,0x76])]:_0x151662([0x50,0x2d,0x32,0x35,0x36]),[_0x151662([0x78])]:_0x151662([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]),[_0x151662([0x79])]:_0x151662([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]),[_0x151662([0x61,0x6c,0x67])]:_0x151662([0x45,0x53,0x32,0x35,0x36])},_0x25e94a=_0x4d7592[_0x151662([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x151662([0x67,0x65,0x74])](_0x151662([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4d84f1(){let _0x440331,_0x487628=null,_0xa238d5=null;try{if(_0x25e94a==_0x151662([0x47,0x50,0x4c]))return _0x151662([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x440331=_0x35b776(),!_0x440331)return _0x151662([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x440331[_0x151662([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xa238d5=_0x38dc9c(_0x440331[_0x151662([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x440331[_0x151662([0x6a,0x74,0x69])])),await _0x18fd56()?_0x993cbf()?_0x1c7c84()?_0x151662([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3e767a()?(_0x440331[_0x151662([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x151662([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x487628=_0x4fa3d4(_0x151662([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x440331[_0x151662([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x151662([0x74,0x72,0x69,0x61,0x6c])&&(_0x487628=_0x4fa3d4(_0x151662([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2b54ca()):_0x151662([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x151662([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x151662([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x151662([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1c7c84(){const _0x10d12d=[_0x151662([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x151662([0x74,0x72,0x69,0x61,0x6c])][_0x151662([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x440331[_0x151662([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x47cddc/0x3e8:0xe10*_0x3ce094;return _0x440331[_0x151662([0x65,0x78,0x70])]<_0x10d12d;}function _0x993cbf(){const _0x24f491=_0x440331[_0x151662([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x24f491&&(!!_0x24f491[_0x151662([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x151662([0x2a]))||!!_0x24f491[_0x151662([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x151662([0x53,0x45,0x45])));}function _0x3e767a(){const _0x3c3a54=_0x440331[_0x151662([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3c3a54||0x0==_0x3c3a54[_0x151662([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1e004a}=new URL(window[_0x151662([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3c3a54[_0x151662([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1e004a))return!0x0;const _0x5e346d=_0x1e004a[_0x151662([0x73,0x70,0x6c,0x69,0x74])](_0x151662([0x2e]));return _0x3c3a54[_0x151662([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x71f217=>_0x71f217[_0x151662([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x151662([0x2a])))[_0x151662([0x6d,0x61,0x70])](_0x4ecb3f=>_0x4ecb3f[_0x151662([0x73,0x70,0x6c,0x69,0x74])](_0x151662([0x2e])))[_0x151662([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x15ac7b=>_0x15ac7b[_0x151662([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5e346d[_0x151662([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x151662([0x6d,0x61,0x70])](_0x5c94f7=>Array(_0x5e346d[_0x151662([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5c94f7[_0x151662([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x151662([0x66,0x69,0x6c,0x6c])](_0x5c94f7[0x0]===_0x151662([0x2a])?_0x151662([0x2a]):'')[_0x151662([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5c94f7))[_0x151662([0x73,0x6f,0x6d,0x65])](_0x2f8fc=>_0x5e346d[_0x151662([0x65,0x76,0x65,0x72,0x79])]((_0x1953e1,_0x52de8b)=>_0x2f8fc[_0x52de8b]===_0x1953e1||_0x2f8fc[_0x52de8b]===_0x151662([0x2a])));}function _0x2b54ca(){return _0x487628&&_0xa238d5?new window[(_0x151662([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1196aa,_0x12a514)=>{_0x487628[_0x151662([0x74,0x68,0x65,0x6e])](_0x1196aa,_0x12a514),_0xa238d5[_0x151662([0x74,0x68,0x65,0x6e])](_0x22e8cd=>{_0x22e8cd!=_0x151662([0x56,0x61,0x6c,0x69,0x64])&&_0x1196aa(_0x22e8cd);},_0x12a514);}):_0x487628||_0xa238d5||_0x151662([0x56,0x61,0x6c,0x69,0x64]);}}function _0x38dc9c(_0xbbd886,_0x1e488f){return new window[(_0x151662([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x353cab=>{if(_0x4133ac())return _0x353cab(_0x151662([0x56,0x61,0x6c,0x69,0x64]));_0x7e8363(),_0x4d7592[_0x151662([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x151662([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x16c680=!0x1;const _0x518e0b=_0x4601a7();function _0xf3e722(_0x4f9f7c){return!!_0x4f9f7c&&(typeof _0x4f9f7c===_0x151662([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4f9f7c===_0x151662([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4f9f7c[_0x151662([0x74,0x68,0x65,0x6e])]===_0x151662([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4f9f7c[_0x151662([0x63,0x61,0x74,0x63,0x68])]===_0x151662([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3f88bb(_0x394bc1){_0x481c02(_0x394bc1)[_0x151662([0x74,0x68,0x65,0x6e])](_0x4ea24b=>{if(!_0x4ea24b||_0x4ea24b[_0x151662([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x151662([0x6f,0x6b]))return _0x151662([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2b76f7(_0x48c31c(_0x518e0b+_0x1e488f))!=_0x4ea24b[_0x151662([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x151662([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x151662([0x56,0x61,0x6c,0x69,0x64]);})[_0x151662([0x74,0x68,0x65,0x6e])](_0x2d756f=>(_0x19b5ce(),_0x2d756f),()=>{const _0x274c84=_0x373d85();return null==_0x274c84?(_0x19b5ce(),_0x151662([0x56,0x61,0x6c,0x69,0x64])):_0x151662(_0x47cddc-_0x274c84>(0x42d6cc93^_0x4f16ad)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x151662([0x74,0x68,0x65,0x6e])](_0x353cab)[_0x151662([0x63,0x61,0x74,0x63,0x68])](()=>{_0x353cab(_0x151662([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xbfb8e5=0x66eca613^_0x4f16ad;function _0x19b5ce(){const _0x27e62f=_0x151662([0x6c,0x6c,0x63,0x74,0x2d])+_0x2b76f7(_0x48c31c(_0xbbd886)),_0x43db5c=_0x3af41f(_0x2b76f7(window[_0x151662([0x4d,0x61,0x74,0x68])][_0x151662([0x63,0x65,0x69,0x6c])](_0x47cddc/_0xbfb8e5)));window[_0x151662([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x151662([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x27e62f,_0x43db5c);}function _0x373d85(){const _0x52dadd=_0x151662([0x6c,0x6c,0x63,0x74,0x2d])+_0x2b76f7(_0x48c31c(_0xbbd886)),_0x310b16=window[_0x151662([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x151662([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x52dadd);return _0x310b16?window[_0x151662([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3af41f(_0x310b16),0x10)*_0xbfb8e5:null;}function _0x481c02(_0x3e5c4f){return new window[(_0x151662([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x26e895,_0x2fb0ad)=>{_0x3e5c4f[_0x151662([0x74,0x68,0x65,0x6e])](_0x26e895,_0x2fb0ad),window[_0x151662([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2fb0ad,0x66db9c53^_0x4f16ad);});}}_0x4d7592[_0x151662([0x6f,0x6e])](_0x151662([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x196164,_0x3c3b2b)=>{if(_0x3c3b2b[0x0]!=_0xbbd886)return _0x353cab(_0x151662([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3c3b2b[0x1]={..._0x3c3b2b[0x1],[_0x151662([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x518e0b};},{[_0x151662([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x151662([0x68,0x69,0x67,0x68])}),_0x4d7592[_0x151662([0x6f,0x6e])](_0x151662([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5e8fc4=>{_0xf3e722(_0x5e8fc4[_0x151662([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x16c680=!0x0,_0x3f88bb(_0x5e8fc4[_0x151662([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x151662([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x151662([0x6c,0x6f,0x77])}),_0x373509[_0x151662([0x74,0x68,0x65,0x6e])](()=>{_0x16c680||_0x353cab(_0x151662([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4133ac(){return _0x4d7592[_0x151662([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x151662([0x76,0x69,0x65,0x77])][_0x151662([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x151662([0x61,0x75,0x74,0x6f]);}function _0x7e8363(){_0x4d7592[_0x151662([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x151662([0x76,0x69,0x65,0x77])][_0x151662([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x151662([0x61,0x75,0x74,0x6f]);}}function _0x4fa3d4(_0x24d20e){const _0x2c603c=[new window[(_0x151662([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x481e7f=>setTimeout(_0x481e7f,0x66d3765f^_0x4f16ad)),_0x373509[_0x151662([0x74,0x68,0x65,0x6e])](()=>new window[(_0x151662([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x44ca1b=>{let _0x2eaa1a=0x0;_0x4d7592[_0x151662([0x6d,0x6f,0x64,0x65,0x6c])][_0x151662([0x6f,0x6e])](_0x151662([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2278d9,_0x6dff22)=>{_0x6dff22[0x0][_0x151662([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2eaa1a++,_0x2eaa1a==(0x66da496b^_0x4f16ad)&&(_0x44ca1b(),_0x2278d9[_0x151662([0x6f,0x66,0x66])]());});}))];return window[_0x151662([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x151662([0x72,0x61,0x63,0x65])](_0x2c603c)[_0x151662([0x74,0x68,0x65,0x6e])](()=>_0x24d20e);}async function _0x327b7f(){await _0x373509,_0x4d7592[_0x151662([0x6d,0x6f,0x64,0x65,0x6c])][_0x151662([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1fbe91,_0x4d7592[_0x151662([0x6d,0x6f,0x64,0x65,0x6c])][_0x151662([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1fbe91,_0x4d7592[_0x151662([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x151662([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5b56b7(_0x3b0dad){const _0x58f798=_0x2f767c();_0x4d7592[_0x58f798]=_0x151662([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])+_0x3b0dad,_0x3b0dad!=_0x151662([0x56,0x61,0x6c,0x69,0x64])&&_0x327b7f();}function _0x2f767c(){const _0x105b37=window[_0x151662([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x151662([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x151662([0x6e,0x6f,0x77])]())[_0x151662([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x151662([0x2e]),'');let _0xf9089a=_0x151662([0x71]);for(let _0x4017ce=0x0;_0x4017ce<_0x105b37[_0x151662([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4017ce+=0x2){let _0x7f42bf=window[_0x151662([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x105b37[_0x151662([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4017ce,_0x4017ce+0x2));_0x7f42bf>=_0x23c157[_0x151662([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x7f42bf-=_0x23c157[_0x151662([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xf9089a+=_0x23c157[_0x7f42bf];}return _0xf9089a;}function _0x35b776(){const _0x2eb4ba=_0x25e94a[_0x151662([0x73,0x70,0x6c,0x69,0x74])](_0x151662([0x2e]));if(0x3!=_0x2eb4ba[_0x151662([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x229c66(_0x2eb4ba[0x1]);function _0x229c66(_0x237c92){const _0x4c6370=_0x21581e(_0x237c92);return _0x4c6370&&_0x30cdd2()?_0x4c6370:null;function _0x30cdd2(){const _0x2c2b71=_0x4c6370[_0x151662([0x6a,0x74,0x69])],_0x284f5a=window[_0x151662([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2c2b71[_0x151662([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2c2b71[_0x151662([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4a9d08={..._0x4c6370,[_0x151662([0x6a,0x74,0x69])]:_0x2c2b71[_0x151662([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2c2b71[_0x151662([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4a9d08[_0x151662([0x76,0x63])],_0x48c31c(_0x4a9d08)==_0x284f5a;}}}async function _0x18fd56(){let _0x1c1f55=!0x0;try{const _0x56f50f=_0x25e94a[_0x151662([0x73,0x70,0x6c,0x69,0x74])](_0x151662([0x2e])),[_0x1f596b,_0xe02c06,_0x32612a]=_0x56f50f;return _0x311643(_0x1f596b),await _0x42e44d(_0x1f596b,_0xe02c06,_0x32612a),_0x1c1f55;}catch{return!0x1;}function _0x311643(_0x13b1b3){const _0x3ce7d2=_0x21581e(_0x13b1b3);_0x3ce7d2&&_0x3ce7d2[_0x151662([0x61,0x6c,0x67])]==_0x151662([0x45,0x53,0x32,0x35,0x36])||(_0x1c1f55=!0x1);}async function _0x42e44d(_0x506793,_0xf808d4,_0x343b21){const _0x55624e=window[_0x151662([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x151662([0x66,0x72,0x6f,0x6d])](_0x5af8f8(_0x343b21),_0x3974df=>_0x3974df[_0x151662([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x42ae65=new window[(_0x151662([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x151662([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x506793+_0x151662([0x2e])+_0xf808d4),_0x19df98=window[_0x151662([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x151662([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x19df98)return;const _0x24fda4=await _0x19df98[_0x151662([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x151662([0x6a,0x77,0x6b]),_0x33d31a,{[_0x151662([0x6e,0x61,0x6d,0x65])]:_0x151662([0x45,0x43,0x44,0x53,0x41]),[_0x151662([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x151662([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x151662([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x19df98[_0x151662([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x151662([0x6e,0x61,0x6d,0x65])]:_0x151662([0x45,0x43,0x44,0x53,0x41]),[_0x151662([0x68,0x61,0x73,0x68])]:{[_0x151662([0x6e,0x61,0x6d,0x65])]:_0x151662([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x24fda4,_0x55624e,_0x42ae65)||(_0x1c1f55=!0x1);}}function _0x21581e(_0x57933b){return _0x57933b[_0x151662([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x151662([0x65,0x79]))?JSON[_0x151662([0x70,0x61,0x72,0x73,0x65])](_0x5af8f8(_0x57933b)):null;}function _0x5af8f8(_0x1577b4){return window[_0x151662([0x61,0x74,0x6f,0x62])](_0x1577b4[_0x151662([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x151662([0x2b]))[_0x151662([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x151662([0x2f])));}function _0x48c31c(_0x1c1dc1){let _0x1a0f6d=0x1505;function _0x15097b(_0x5303f3){for(let _0xab47f1=0x0;_0xab47f1<_0x5303f3[_0x151662([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xab47f1++){const _0x4b6e4f=_0x5303f3[_0x151662([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xab47f1);_0x1a0f6d=(_0x1a0f6d<<0x5)+_0x1a0f6d+_0x4b6e4f,_0x1a0f6d&=_0x1a0f6d;}}function _0xd7c012(_0x14396e){Array[_0x151662([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x14396e)?_0x14396e[_0x151662([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xd7c012):_0x14396e&&typeof _0x14396e==_0x151662([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x151662([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x14396e)[_0x151662([0x73,0x6f,0x72,0x74])]()[_0x151662([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x16bb8c,_0x3a16b3])=>{_0x15097b(_0x16bb8c),_0xd7c012(_0x3a16b3);}):_0x15097b(window[_0x151662([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x14396e));}return _0xd7c012(_0x1c1dc1),_0x1a0f6d>>>0x0;}function _0x2b76f7(_0x3754e4){return _0x3754e4[_0x151662([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x151662([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x151662([0x30]));}function _0x3af41f(_0x224be0){return _0x224be0[_0x151662([0x73,0x70,0x6c,0x69,0x74])]('')[_0x151662([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x151662([0x6a,0x6f,0x69,0x6e])]('');}function _0x1fbe91(){}function _0x151662(_0x11013f){return _0x11013f['map'](_0x33dae8=>String['fromCharCode'](_0x33dae8))['join']('');}_0x5b56b7(await _0x4d84f1());}(this);}['_createButton'](_0x17eee2,_0x53e209,_0x5188ce=!0x1){const _0x17f049=new _0x17eee2(this['editor']['locale']);return _0x17f049['set']({'withText':_0x5188ce,'isToggleable':!0x1}),_0x17f049['bind']('isEnabled')['to'](_0x53e209,'isEnabled'),this['listenTo'](_0x17f049,'execute',()=>_0x53e209['execute']()),_0x17f049;}['_registerKeybindings'](){const _0x421c9d=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':w(_0x421c9d,'Source\x20Editing\x20Enhanced')});const _0x4f5394=_0x5c3ca2['isMac']||_0x5c3ca2['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':w(_0x421c9d,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':w(_0x421c9d,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':w(_0x421c9d,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':w(_0x421c9d,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':w(_0x421c9d,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':w(_0x421c9d,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':w(_0x421c9d,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x4f5394?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':w(_0x421c9d,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':w(_0x421c9d,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':w(_0x421c9d,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':w(_0x421c9d,'Select\x20line'),'keystroke':_0x4f5394?'Ctrl!+L':'Alt+L'},{'label':w(_0x421c9d,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x4f5394?'Alt+Shift+M':'Ctrl+M'},{'label':w(_0x421c9d,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':w(_0x421c9d,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':w(_0x421c9d,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':w(_0x421c9d,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':w(_0x421c9d,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x4f5394?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}class c extends _0x32bd4a{constructor(_0x550ef7){super(_0x550ef7),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0xf56436,_0x5ca598){const _0x43ab20=this['editor'],_0x37cdcf=_0x5ca598?.['rootName']??r(_0x43ab20);_0x43ab20['data']['set']({[_0x37cdcf]:_0xf56436},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}class ne extends _0x5164b1{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[a];}constructor(_0x553a83){super(_0x553a83),_0x553a83['config']['define']('sourceEditingEnhanced.allowCollaborationFeatures',!0x1);}['init'](){this['_checkCompatibility'](),this['editor']['commands']['add']('replaceSource',new c(this['editor'])),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x313cc3=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3edd1a;for(const _0x38810f in _0x313cc3){const _0x3caae9=_0x38810f,_0x49147a=_0x313cc3[_0x3caae9];if('sourceEditingEnhancedLicenseKeyValid'==_0x49147a||'sourceEditingEnhancedLicenseKeyInvalid'==_0x49147a||'sourceEditingEnhancedLicenseKeyExpired'==_0x49147a||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x49147a||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x49147a||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x49147a||'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x49147a||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x49147a){delete _0x313cc3[_0x3caae9],_0x3edd1a=_0x49147a,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0x3edd1a&&_0x313cc3['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0x3edd1a&&_0x313cc3['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x3edd1a&&_0x313cc3['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x3edd1a&&_0x313cc3['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x3edd1a&&_0x313cc3['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x3edd1a&&_0x313cc3['_showLicenseError']('trialLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x3edd1a&&_0x313cc3['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0x185f87=this['editor'],_0x52d965=_0x185f87['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0x52d965&&_0x185f87['plugins']['has']('RealTimeCollaborativeEditing'))throw new _0x52bd90('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0x52d965&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x145445=>_0x185f87['plugins']['has'](_0x145445))&&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.'),_0x185f87['plugins']['has']('RestrictedEditingModeEditing')&&console['warn']('You\x20initialized\x20the\x20editor\x20with\x20the\x20source\x20editing\x20enhanced\x20feature\x20and\x20restricted\x20editing\x20feature.\x20Please\x20be\x20advised\x20that\x20the\x20source\x20editing\x20enhanced\x20feature\x20may\x20not\x20work,\x20and\x20be\x20careful\x20when\x20editing\x20document\x20source\x20that\x20contains\x20markers\x20created\x20by\x20the\x20restricted\x20editing\x20feature.');}}export{d as EditSourceCommand,c as ReplaceSourceCommand,ne as SourceEditingEnhanced};
23
+ import{Command as _0x5eb896,PendingActions as _0x3fe97b,Plugin as _0x5ab105}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x547e12,formatHtml as _0x3099fc,env as _0x245427,uid as _0x3aa07}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconSource as _0x4fe718}from'@ckeditor/ckeditor5-icons/dist/index.js';import{View as _0xd8edc2,ButtonView as _0x547548,MenuBarMenuListItemButtonView as _0xb6105c}from'@ckeditor/ckeditor5-ui/dist/index.js';import{EditorView as _0x266de8,crosshairCursor as _0x245b16,drawSelection as _0x3b6210,dropCursor as _0x242c88,lineNumbers as _0x4736a0,highlightActiveLine as _0x24d3c8,highlightActiveLineGutter as _0x1a9dc3,highlightSpecialChars as _0x461e01,rectangularSelection as _0x334284,keymap as _0x1b8c01}from'@codemirror/view';import{Compartment as _0x45af0c,Transaction as _0x9713fd}from'@codemirror/state';import{bracketMatching as _0xf71f5d,foldGutter as _0x346358,indentOnInput as _0x20bd9c,syntaxHighlighting as _0x2191bb,defaultHighlightStyle as _0x58a3ef,foldKeymap as _0x5ec73a}from'@codemirror/language';import{toggleTabFocusMode as _0x416051,history as _0x574c07,defaultKeymap as _0x11e8ec,historyKeymap as _0x236c9c,indentLess as _0xe908cf,indentMore as _0x131453,redo as _0x429dcf,undo as _0x53df5c}from'@codemirror/commands';import{autocompletion as _0x2c3d57,closeBrackets as _0x4b0cab,closeBracketsKeymap as _0x4a10c6,completionKeymap as _0x28e4e2}from'@codemirror/autocomplete';import{html as _0x284507}from'@codemirror/lang-html';import{markdown as _0x218f96}from'@codemirror/lang-markdown';import{oneDark as _0x51b8c6}from'@codemirror/theme-one-dark';function w(_0x5648c3,_0x1933a9){const t=_0x5648c3['t'];switch(_0x1933a9){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 _0x1933a9;}}function r(_0x1c753b){const _0x3c8b44=_0x1c753b['editing']['view']['document']['roots'],_0x35b348=_0x3c8b44['length'];if(0x0===_0x35b348)throw new _0x547e12('source-editing-enhanced-editor-no-root',_0x1c753b);if(0x1===_0x35b348)return _0x3c8b44['first']['rootName'];return Array['from'](_0x1c753b['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function g(_0x438e79){return tr(_0x438e79['replace'](/^[\n\s]*/g,''))?_0x438e79['replace'](/\s+/g,''):_0x438e79;}function tr(_0x19282b){return _0x19282b['startsWith']('<');}function p(_0xe65704){const _0x15a61e=[_0x266de8['lineWrapping'],_0x2c3d57(),_0xf71f5d(),_0x4b0cab(),_0x245b16(),_0x3b6210(),_0x242c88(),_0x4736a0(),_0x346358(),_0x24d3c8(),_0x1a9dc3(),_0x461e01(),_0x574c07(),_0x20bd9c(),_0x334284(),_0x2191bb(_0x58a3ef,{'fallback':!0x0})],_0x5e60d6=new _0x45af0c();_0x15a61e['push'](_0x5e60d6['of'](_0x266de8['editable']['of'](!0x0))),'html'===_0xe65704['syntaxLanguage']?_0x15a61e['push'](_0x284507()):_0x15a61e['push'](_0x218f96());const _0x537214=function(_0x3894ec){if(_0x3894ec&&'default'!==_0x3894ec)return'dark'===_0x3894ec?_0x51b8c6:_0x3894ec;return null;}(_0xe65704['theme']);_0x537214&&_0x15a61e['push'](_0x537214),_0x15a61e['push'](_0x1b8c01['of']([..._0x4a10c6,..._0x11e8ec,..._0x236c9c,..._0x5ec73a,..._0x28e4e2,{'key':'Tab','run':_0x131453,'shift':_0xe908cf,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-y','mac':'Cmd-y','run':_0x429dcf,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-Shift-z','mac':'Cmd-Shift-z','run':_0x429dcf,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-z','mac':'Cmd-z','run':_0x53df5c,'preventDefault':!0x0,'stopPropagation':!0x0}]));const _0x277c59=new _0x266de8({'extensions':_0x15a61e,'parent':_0xe65704['parent']});return _0x416051(_0x277c59),{'focus':()=>{_0x277c59['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x277c59['focus']();},'getData':()=>_0x277c59['state']['doc']['toString'](),'setData':_0x3abdcb=>{_0x277c59['dispatch']({'changes':{'from':0x0,'to':_0x277c59['state']['doc']['length'],'insert':_0x3abdcb},'annotations':_0x9713fd['addToHistory']['of'](!0x1)});},'setReadOnly':_0x408922=>{_0x277c59['dispatch']({'effects':[_0x5e60d6['reconfigure'](_0x266de8['editable']['of'](!_0x408922))]});},'destroy':()=>{_0x277c59['destroy']();},'instance':_0x277c59};}class E extends _0xd8edc2{['_codeEditorApi']=null;['_options'];constructor(_0x124865,_0x493dd9){super(_0x124865),this['_options']=_0x493dd9,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',(_0xfc2a19,_0x5e1229,_0x381ba8)=>{this['setReadOnly'](_0x381ba8);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0x979484){this['_codeEditorApi']['setData'](_0x979484);}['setReadOnly'](_0x5f0b23){this['_codeEditorApi']['setReadOnly'](_0x5f0b23);}}const b='SourceEditingEnhancedMode';class d extends _0x5eb896{constructor(_0x484004){super(_0x484004),this['affectsData']=!0x1,this['editor']['plugins']['get'](_0x3fe97b)['on']('change:hasAny',(_0x30f96d,_0x527e6d,_0x25e1a4)=>{_0x25e1a4?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['_disableCommands'](){const _0x291105=this['editor'];for(const _0x189572 of _0x291105['commands']['names']())['replaceSource','editSource']['includes'](_0x189572)||_0x291105['commands']['get'](_0x189572)['forceDisabled'](b);}['_enableCommands'](){const _0x5de966=this['editor'];for(const _0x3c03a4 of _0x5de966['commands']['commands']())_0x3c03a4['clearForceDisabled'](b);}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x43397a=this['editor'],_0x64753c=_0x43397a['locale'],_0x371de5=_0x43397a['plugins']['get']('Dialog'),_0x35f054=r(_0x43397a),_0x247cc7=_0x43397a['data']['get']({'rootName':_0x35f054}),_0x34402a=tr(_0x23786d=_0x247cc7)?_0x3099fc(_0x23786d):_0x23786d;var _0x23786d;const _0xee5eee=new E(_0x64753c,{'syntaxLanguage':_0x43397a['plugins']['has']('Markdown')?'markdown':'html','theme':_0x43397a['config']['get']('sourceEditingEnhanced.theme')});let _0x26abff=!0x0;const _0x6622c9=_0x1e10ea=>{if(!_0x26abff)return;return g(_0xee5eee['getData']())!==g(_0x34402a)?window['confirm'](w(_0x64753c,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0x1e10ea['stop']():void 0x0;};_0x371de5['show']({'id':'sourceEditingEnhanced','title':w(_0x64753c,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0xee5eee,'actionButtons':[{'label':w(_0x64753c,'Cancel'),'withText':!0x0,'onExecute':()=>{_0x371de5['hide']();}},{'label':w(_0x64753c,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0xa61c0c=g(_0xee5eee['getData']())!==g(_0x34402a);(_0xa61c0c&&_0x43397a['execute']('replaceSource',_0xee5eee['getData']()),_0x26abff=!0x1,_0x371de5['hide'](),_0xa61c0c&&'editables'in _0x43397a['ui']['view'])&&_0x43397a['ui']['view']['editables'][_0x35f054]['element']['focus']();},'onCreate':_0x506f35=>{_0x506f35['set']('isEnabled',!_0x43397a['isReadOnly']),_0x506f35['bind']('isEnabled')['to'](_0x43397a,'isReadOnly',this,'isEnabled',(_0x8c9eeb,_0x3b8b2a)=>!_0x8c9eeb&&_0x3b8b2a);}}],'onHide':()=>{this['_enableCommands'](),_0x371de5['off']('hide',_0x6622c9),_0xee5eee['destroy']();},'onShow':()=>{_0xee5eee['bind']('isReadOnly')['to'](_0x43397a,'isReadOnly',this,'isEnabled',(_0x56adae,_0x4987ce)=>_0x56adae||!_0x4987ce),_0xee5eee['setData'](_0x34402a),_0xee5eee['focus'](),_0x371de5['on']('hide',_0x6622c9,{'priority':'highest'}),this['_disableCommands']();}});}}class a extends _0x5ab105{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[_0x3fe97b];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x2a6695=this['editor'],_0x438071=_0x2a6695['locale'],_0x151405=new d(_0x2a6695);_0x2a6695['commands']['add']('editSource',_0x151405),_0x2a6695['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0x3f15f5=this['_createButton'](_0x547548,_0x151405);return _0x3f15f5['set']({'label':w(_0x438071,'Source'),'icon':_0x4fe718,'tooltip':w(_0x438071,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0x3f15f5;}),_0x2a6695['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0xe858a8=this['_createButton'](_0xb6105c,_0x151405,!0x0);return _0xe858a8['set']({'label':w(_0x438071,'Edit\x20source\x20modal\x20label'),'icon':_0x4fe718,'role':'menuitemcheckbox'}),_0xe858a8;}),this['_registerKeybindings']();}['afterInit'](){!async function(_0x192f5b){const _0x4f444c=_0xf1696([0x6a,0x62,0x57,0x4e,0x64,0x61,0x53,0x37,0x35,0x45,0x6d,0x44,0x42,0x66,0x74,0x6e,0x48,0x31,0x70,0x63,0x33,0x77,0x4b,0x54,0x4d,0x38,0x76,0x7a,0x43,0x55,0x52,0x32,0x5a,0x30,0x41,0x73,0x56,0x49,0x72,0x69,0x34,0x71,0x36,0x39,0x51,0x75,0x59,0x4a,0x6c,0x67,0x6f,0x46,0x4c,0x78,0x50,0x4f,0x79,0x47,0x58,0x65,0x68,0x6b]),_0x6e2b70=0x2f3a4723,_0x1a9890=0x2f3d370b^_0x6e2b70,_0x22d898=window[_0xf1696([0x44,0x61,0x74,0x65])][_0xf1696([0x6e,0x6f,0x77])](),_0x472afb=_0x192f5b[_0xf1696([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2411f0=new window[(_0xf1696([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x26cc16=>{_0x472afb[_0xf1696([0x6f,0x6e,0x63,0x65])](_0xf1696([0x72,0x65,0x61,0x64,0x79]),_0x26cc16);}),_0x47d4bc={[_0xf1696([0x6b,0x74,0x79])]:_0xf1696([0x45,0x43]),[_0xf1696([0x75,0x73,0x65])]:_0xf1696([0x73,0x69,0x67]),[_0xf1696([0x63,0x72,0x76])]:_0xf1696([0x50,0x2d,0x32,0x35,0x36]),[_0xf1696([0x78])]:_0xf1696([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]),[_0xf1696([0x79])]:_0xf1696([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]),[_0xf1696([0x61,0x6c,0x67])]:_0xf1696([0x45,0x53,0x32,0x35,0x36])},_0x2e0f09=_0x472afb[_0xf1696([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xf1696([0x67,0x65,0x74])](_0xf1696([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x26caed(){let _0x35ccaa,_0x4b28b7=null,_0xad09bc=null;try{if(_0x2e0f09==_0xf1696([0x47,0x50,0x4c]))return _0xf1696([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x35ccaa=_0x1f98ed(),!_0x35ccaa)return _0xf1696([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x35ccaa[_0xf1696([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xad09bc=_0x5c7d28(_0x35ccaa[_0xf1696([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x35ccaa[_0xf1696([0x6a,0x74,0x69])])),await _0x354501()?_0x434a2a()?_0x526cb3()?_0xf1696([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xb6f99d()?(_0x35ccaa[_0xf1696([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xf1696([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4b28b7=_0x34c44f(_0xf1696([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x35ccaa[_0xf1696([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xf1696([0x74,0x72,0x69,0x61,0x6c])&&(_0x4b28b7=_0x34c44f(_0xf1696([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x396a67()):_0xf1696([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xf1696([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xf1696([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xf1696([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x526cb3(){const _0x3c5d93=[_0xf1696([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xf1696([0x74,0x72,0x69,0x61,0x6c])][_0xf1696([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x35ccaa[_0xf1696([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x22d898/0x3e8:0xe10*_0x1a9890;return _0x35ccaa[_0xf1696([0x65,0x78,0x70])]<_0x3c5d93;}function _0x434a2a(){const _0x78278f=_0x35ccaa[_0xf1696([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x78278f&&(!!_0x78278f[_0xf1696([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xf1696([0x2a]))||!!_0x78278f[_0xf1696([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xf1696([0x53,0x45,0x45])));}function _0xb6f99d(){const _0x3df488=_0x35ccaa[_0xf1696([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3df488||0x0==_0x3df488[_0xf1696([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3f4843}=new URL(window[_0xf1696([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3df488[_0xf1696([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3f4843))return!0x0;const _0x1cc91b=_0x3f4843[_0xf1696([0x73,0x70,0x6c,0x69,0x74])](_0xf1696([0x2e]));return _0x3df488[_0xf1696([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x33a690=>_0x33a690[_0xf1696([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xf1696([0x2a])))[_0xf1696([0x6d,0x61,0x70])](_0x45b1ae=>_0x45b1ae[_0xf1696([0x73,0x70,0x6c,0x69,0x74])](_0xf1696([0x2e])))[_0xf1696([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2cab5a=>_0x2cab5a[_0xf1696([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1cc91b[_0xf1696([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xf1696([0x6d,0x61,0x70])](_0x2e98d0=>Array(_0x1cc91b[_0xf1696([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2e98d0[_0xf1696([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xf1696([0x66,0x69,0x6c,0x6c])](_0x2e98d0[0x0]===_0xf1696([0x2a])?_0xf1696([0x2a]):'')[_0xf1696([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2e98d0))[_0xf1696([0x73,0x6f,0x6d,0x65])](_0x2c8a73=>_0x1cc91b[_0xf1696([0x65,0x76,0x65,0x72,0x79])]((_0xea99,_0x2a6b7b)=>_0x2c8a73[_0x2a6b7b]===_0xea99||_0x2c8a73[_0x2a6b7b]===_0xf1696([0x2a])));}function _0x396a67(){return _0x4b28b7&&_0xad09bc?new window[(_0xf1696([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4abe96,_0x4c41c3)=>{_0x4b28b7[_0xf1696([0x74,0x68,0x65,0x6e])](_0x4abe96,_0x4c41c3),_0xad09bc[_0xf1696([0x74,0x68,0x65,0x6e])](_0x5a6db0=>{_0x5a6db0!=_0xf1696([0x56,0x61,0x6c,0x69,0x64])&&_0x4abe96(_0x5a6db0);},_0x4c41c3);}):_0x4b28b7||_0xad09bc||_0xf1696([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5c7d28(_0x470d49,_0x1cac64){return new window[(_0xf1696([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x436bef=>{if(_0x8316b6())return _0x436bef(_0xf1696([0x56,0x61,0x6c,0x69,0x64]));_0x327a7e(),_0x472afb[_0xf1696([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xf1696([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4f344c=!0x1;const _0x516644=_0x3aa07();function _0x20b6b9(_0x497562){return!!_0x497562&&(typeof _0x497562===_0xf1696([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x497562===_0xf1696([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x497562[_0xf1696([0x74,0x68,0x65,0x6e])]===_0xf1696([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x497562[_0xf1696([0x63,0x61,0x74,0x63,0x68])]===_0xf1696([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5dc7d3(_0x57711b){_0x55574e(_0x57711b)[_0xf1696([0x74,0x68,0x65,0x6e])](_0x5b2fea=>{if(!_0x5b2fea||_0x5b2fea[_0xf1696([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xf1696([0x6f,0x6b]))return _0xf1696([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5d3703(_0x309e69(_0x516644+_0x1cac64))!=_0x5b2fea[_0xf1696([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xf1696([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xf1696([0x56,0x61,0x6c,0x69,0x64]);})[_0xf1696([0x74,0x68,0x65,0x6e])](_0x4f43a7=>(_0x322b40(),_0x4f43a7),()=>{const _0x1af8ce=_0x406937();return null==_0x1af8ce?(_0x322b40(),_0xf1696([0x56,0x61,0x6c,0x69,0x64])):_0xf1696(_0x22d898-_0x1af8ce>(0xb36c323^_0x6e2b70)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xf1696([0x74,0x68,0x65,0x6e])](_0x436bef)[_0xf1696([0x63,0x61,0x74,0x63,0x68])](()=>{_0x436bef(_0xf1696([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4fdd10=0x2f0ca9a3^_0x6e2b70;function _0x322b40(){const _0x273bb5=_0xf1696([0x6c,0x6c,0x63,0x74,0x2d])+_0x5d3703(_0x309e69(_0x470d49)),_0x563060=_0x28d00b(_0x5d3703(window[_0xf1696([0x4d,0x61,0x74,0x68])][_0xf1696([0x63,0x65,0x69,0x6c])](_0x22d898/_0x4fdd10)));window[_0xf1696([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xf1696([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x273bb5,_0x563060);}function _0x406937(){const _0x15a463=_0xf1696([0x6c,0x6c,0x63,0x74,0x2d])+_0x5d3703(_0x309e69(_0x470d49)),_0x31418d=window[_0xf1696([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xf1696([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x15a463);return _0x31418d?window[_0xf1696([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x28d00b(_0x31418d),0x10)*_0x4fdd10:null;}function _0x55574e(_0x1c02ce){return new window[(_0xf1696([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2631e4,_0x41ca1a)=>{_0x1c02ce[_0xf1696([0x74,0x68,0x65,0x6e])](_0x2631e4,_0x41ca1a),window[_0xf1696([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x41ca1a,0x2f3b93e3^_0x6e2b70);});}}_0x472afb[_0xf1696([0x6f,0x6e])](_0xf1696([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3b055e,_0x165377)=>{if(_0x165377[0x0]!=_0x470d49)return _0x436bef(_0xf1696([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x165377[0x1]={..._0x165377[0x1],[_0xf1696([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x516644};},{[_0xf1696([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xf1696([0x68,0x69,0x67,0x68])}),_0x472afb[_0xf1696([0x6f,0x6e])](_0xf1696([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xb2241b=>{_0x20b6b9(_0xb2241b[_0xf1696([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4f344c=!0x0,_0x5dc7d3(_0xb2241b[_0xf1696([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xf1696([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xf1696([0x6c,0x6f,0x77])}),_0x2411f0[_0xf1696([0x74,0x68,0x65,0x6e])](()=>{_0x4f344c||_0x436bef(_0xf1696([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x8316b6(){return _0x472afb[_0xf1696([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xf1696([0x76,0x69,0x65,0x77])][_0xf1696([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xf1696([0x61,0x75,0x74,0x6f]);}function _0x327a7e(){_0x472afb[_0xf1696([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xf1696([0x76,0x69,0x65,0x77])][_0xf1696([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xf1696([0x61,0x75,0x74,0x6f]);}}function _0x34c44f(_0xb1e03a){const _0x472b52=[new window[(_0xf1696([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x58e24a=>setTimeout(_0x58e24a,0x2f3379ef^_0x6e2b70)),_0x2411f0[_0xf1696([0x74,0x68,0x65,0x6e])](()=>new window[(_0xf1696([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2797f2=>{let _0x4894cc=0x0;_0x472afb[_0xf1696([0x6d,0x6f,0x64,0x65,0x6c])][_0xf1696([0x6f,0x6e])](_0xf1696([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x303502,_0x415f0e)=>{_0x415f0e[0x0][_0xf1696([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4894cc++,_0x4894cc==(0x2f3a46db^_0x6e2b70)&&(_0x2797f2(),_0x303502[_0xf1696([0x6f,0x66,0x66])]());});}))];return window[_0xf1696([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xf1696([0x72,0x61,0x63,0x65])](_0x472b52)[_0xf1696([0x74,0x68,0x65,0x6e])](()=>_0xb1e03a);}async function _0x5a9e91(){await _0x2411f0,_0x472afb[_0xf1696([0x6d,0x6f,0x64,0x65,0x6c])][_0xf1696([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1b047b,_0x472afb[_0xf1696([0x6d,0x6f,0x64,0x65,0x6c])][_0xf1696([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1b047b,_0x472afb[_0xf1696([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xf1696([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x193a2b(_0xf845bd){const _0xffcbf7=_0x5bcfa1();_0x472afb[_0xffcbf7]=_0xf1696([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])+_0xf845bd,_0xf845bd!=_0xf1696([0x56,0x61,0x6c,0x69,0x64])&&_0x5a9e91();}function _0x5bcfa1(){const _0x500b42=window[_0xf1696([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xf1696([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xf1696([0x6e,0x6f,0x77])]())[_0xf1696([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xf1696([0x2e]),'');let _0x1f8548=_0xf1696([0x6a]);for(let _0x355078=0x0;_0x355078<_0x500b42[_0xf1696([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x355078+=0x2){let _0x21fd88=window[_0xf1696([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x500b42[_0xf1696([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x355078,_0x355078+0x2));_0x21fd88>=_0x4f444c[_0xf1696([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x21fd88-=_0x4f444c[_0xf1696([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1f8548+=_0x4f444c[_0x21fd88];}return _0x1f8548;}function _0x1f98ed(){const _0x24c358=_0x2e0f09[_0xf1696([0x73,0x70,0x6c,0x69,0x74])](_0xf1696([0x2e]));if(0x3!=_0x24c358[_0xf1696([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2f0fa(_0x24c358[0x1]);function _0x2f0fa(_0x1b84fb){const _0x31aa83=_0xb38508(_0x1b84fb);return _0x31aa83&&_0x21ace9()?_0x31aa83:null;function _0x21ace9(){const _0x12f250=_0x31aa83[_0xf1696([0x6a,0x74,0x69])],_0x38491b=window[_0xf1696([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x12f250[_0xf1696([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x12f250[_0xf1696([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x65dce2={..._0x31aa83,[_0xf1696([0x6a,0x74,0x69])]:_0x12f250[_0xf1696([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x12f250[_0xf1696([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x65dce2[_0xf1696([0x76,0x63])],_0x309e69(_0x65dce2)==_0x38491b;}}}async function _0x354501(){let _0x285651=!0x0;try{const _0x15b413=_0x2e0f09[_0xf1696([0x73,0x70,0x6c,0x69,0x74])](_0xf1696([0x2e])),[_0x30c942,_0x3c42e3,_0x743cff]=_0x15b413;return _0xf3cfcc(_0x30c942),await _0x4eb6cf(_0x30c942,_0x3c42e3,_0x743cff),_0x285651;}catch{return!0x1;}function _0xf3cfcc(_0x59a0c2){const _0x52bfab=_0xb38508(_0x59a0c2);_0x52bfab&&_0x52bfab[_0xf1696([0x61,0x6c,0x67])]==_0xf1696([0x45,0x53,0x32,0x35,0x36])||(_0x285651=!0x1);}async function _0x4eb6cf(_0xff9a34,_0x4eb1a7,_0x3bf998){const _0x3d6eb9=window[_0xf1696([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xf1696([0x66,0x72,0x6f,0x6d])](_0x93abce(_0x3bf998),_0x476625=>_0x476625[_0xf1696([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x590bab=new window[(_0xf1696([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xf1696([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xff9a34+_0xf1696([0x2e])+_0x4eb1a7),_0x418a89=window[_0xf1696([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xf1696([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x418a89)return;const _0x5391bc=await _0x418a89[_0xf1696([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xf1696([0x6a,0x77,0x6b]),_0x47d4bc,{[_0xf1696([0x6e,0x61,0x6d,0x65])]:_0xf1696([0x45,0x43,0x44,0x53,0x41]),[_0xf1696([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xf1696([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xf1696([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x418a89[_0xf1696([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xf1696([0x6e,0x61,0x6d,0x65])]:_0xf1696([0x45,0x43,0x44,0x53,0x41]),[_0xf1696([0x68,0x61,0x73,0x68])]:{[_0xf1696([0x6e,0x61,0x6d,0x65])]:_0xf1696([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5391bc,_0x3d6eb9,_0x590bab)||(_0x285651=!0x1);}}function _0xb38508(_0x5b3526){return _0x5b3526[_0xf1696([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xf1696([0x65,0x79]))?JSON[_0xf1696([0x70,0x61,0x72,0x73,0x65])](_0x93abce(_0x5b3526)):null;}function _0x93abce(_0x4fc044){return window[_0xf1696([0x61,0x74,0x6f,0x62])](_0x4fc044[_0xf1696([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xf1696([0x2b]))[_0xf1696([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xf1696([0x2f])));}function _0x309e69(_0x3d2ca2){let _0x3c0fc3=0x1505;function _0x5a4c15(_0x130127){for(let _0x40304e=0x0;_0x40304e<_0x130127[_0xf1696([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x40304e++){const _0x5d6588=_0x130127[_0xf1696([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x40304e);_0x3c0fc3=(_0x3c0fc3<<0x5)+_0x3c0fc3+_0x5d6588,_0x3c0fc3&=_0x3c0fc3;}}function _0x5ee263(_0x24fab0){Array[_0xf1696([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x24fab0)?_0x24fab0[_0xf1696([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5ee263):_0x24fab0&&typeof _0x24fab0==_0xf1696([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xf1696([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x24fab0)[_0xf1696([0x73,0x6f,0x72,0x74])]()[_0xf1696([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3cec21,_0x264749])=>{_0x5a4c15(_0x3cec21),_0x5ee263(_0x264749);}):_0x5a4c15(window[_0xf1696([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x24fab0));}return _0x5ee263(_0x3d2ca2),_0x3c0fc3>>>0x0;}function _0x5d3703(_0x4ff48e){return _0x4ff48e[_0xf1696([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xf1696([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xf1696([0x30]));}function _0x28d00b(_0x584fe5){return _0x584fe5[_0xf1696([0x73,0x70,0x6c,0x69,0x74])]('')[_0xf1696([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xf1696([0x6a,0x6f,0x69,0x6e])]('');}function _0x1b047b(){}function _0xf1696(_0xb047d8){return _0xb047d8['map'](_0x45448d=>String['fromCharCode'](_0x45448d))['join']('');}_0x193a2b(await _0x26caed());}(this);}['_createButton'](_0x47e70f,_0x10dbb6,_0x2212f2=!0x1){const _0x3b45bb=new _0x47e70f(this['editor']['locale']);return _0x3b45bb['set']({'withText':_0x2212f2,'isToggleable':!0x1}),_0x3b45bb['bind']('isEnabled')['to'](_0x10dbb6,'isEnabled'),this['listenTo'](_0x3b45bb,'execute',()=>_0x10dbb6['execute']()),_0x3b45bb;}['_registerKeybindings'](){const _0x313802=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':w(_0x313802,'Source\x20Editing\x20Enhanced')});const _0x356f53=_0x245427['isMac']||_0x245427['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':w(_0x313802,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':w(_0x313802,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':w(_0x313802,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':w(_0x313802,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':w(_0x313802,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':w(_0x313802,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':w(_0x313802,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x356f53?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':w(_0x313802,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':w(_0x313802,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':w(_0x313802,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':w(_0x313802,'Select\x20line'),'keystroke':_0x356f53?'Ctrl!+L':'Alt+L'},{'label':w(_0x313802,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x356f53?'Alt+Shift+M':'Ctrl+M'},{'label':w(_0x313802,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':w(_0x313802,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':w(_0x313802,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':w(_0x313802,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':w(_0x313802,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x356f53?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}class c extends _0x5eb896{constructor(_0xb1e5d9){super(_0xb1e5d9),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0xbffd03,_0x3c996f){const _0x3fef5d=this['editor'],_0x274f6e=_0x3c996f?.['rootName']??r(_0x3fef5d);_0x3fef5d['data']['set']({[_0x274f6e]:_0xbffd03},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}class ee extends _0x5ab105{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[a];}constructor(_0x547d88){super(_0x547d88),_0x547d88['config']['define']('sourceEditingEnhanced.allowCollaborationFeatures',!0x1);}['init'](){this['_checkCompatibility'](),this['editor']['commands']['add']('replaceSource',new c(this['editor'])),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x417062=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x517245;for(const _0x4b4a71 in _0x417062){const _0x159792=_0x4b4a71,_0x2549fc=_0x417062[_0x159792];if('sourceEditingEnhancedLicenseKeyValid'==_0x2549fc||'sourceEditingEnhancedLicenseKeyInvalid'==_0x2549fc||'sourceEditingEnhancedLicenseKeyExpired'==_0x2549fc||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x2549fc||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x2549fc||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x2549fc||'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x2549fc||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x2549fc){delete _0x417062[_0x159792],_0x517245=_0x2549fc,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0x517245&&_0x417062['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0x517245&&_0x417062['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x517245&&_0x417062['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x517245&&_0x417062['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x517245&&_0x417062['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x517245&&_0x417062['_showLicenseError']('trialLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x517245&&_0x417062['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0xc93705=this['editor'],_0x3bb115=_0xc93705['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0x3bb115&&_0xc93705['plugins']['has']('RealTimeCollaborativeEditing'))throw new _0x547e12('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0x3bb115&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x4b5439=>_0xc93705['plugins']['has'](_0x4b5439))&&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.'),_0xc93705['plugins']['has']('RestrictedEditingModeEditing')&&console['warn']('You\x20initialized\x20the\x20editor\x20with\x20the\x20source\x20editing\x20enhanced\x20feature\x20and\x20restricted\x20editing\x20feature.\x20Please\x20be\x20advised\x20that\x20the\x20source\x20editing\x20enhanced\x20feature\x20may\x20not\x20work,\x20and\x20be\x20careful\x20when\x20editing\x20document\x20source\x20that\x20contains\x20markers\x20created\x20by\x20the\x20restricted\x20editing\x20feature.');}}export{d as EditSourceCommand,c as ReplaceSourceCommand,ee as SourceEditingEnhanced};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-source-editing-enhanced",
3
- "version": "46.0.1-alpha.13",
3
+ "version": "46.0.1-alpha.14",
4
4
  "description": "Source editing enhanced feature for CKEditor 5.",
5
5
  "keywords": [
6
6
  "ckeditor",
@@ -18,11 +18,11 @@
18
18
  "type": "module",
19
19
  "main": "src/index.js",
20
20
  "dependencies": {
21
- "@ckeditor/ckeditor5-core": "46.0.1-alpha.13",
22
- "@ckeditor/ckeditor5-icons": "46.0.1-alpha.13",
23
- "@ckeditor/ckeditor5-theme-lark": "46.0.1-alpha.13",
24
- "@ckeditor/ckeditor5-ui": "46.0.1-alpha.13",
25
- "@ckeditor/ckeditor5-utils": "46.0.1-alpha.13",
21
+ "@ckeditor/ckeditor5-core": "46.0.1-alpha.14",
22
+ "@ckeditor/ckeditor5-icons": "46.0.1-alpha.14",
23
+ "@ckeditor/ckeditor5-theme-lark": "46.0.1-alpha.14",
24
+ "@ckeditor/ckeditor5-ui": "46.0.1-alpha.14",
25
+ "@ckeditor/ckeditor5-utils": "46.0.1-alpha.14",
26
26
  "@codemirror/autocomplete": "^6.7.1",
27
27
  "@codemirror/commands": "6.8.1",
28
28
  "@codemirror/lang-html": "^6.0.0",
@@ -31,7 +31,7 @@
31
31
  "@codemirror/state": "^6.5.0",
32
32
  "@codemirror/theme-one-dark": "^6.1.2",
33
33
  "@codemirror/view": "^6.35.0",
34
- "ckeditor5": "46.0.1-alpha.13"
34
+ "ckeditor5": "46.0.1-alpha.14"
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
- function _0x5930(_0x41a35e,_0x48db42){const _0x2db318=_0x2db3();return _0x5930=function(_0x59307f,_0x18bc79){_0x59307f=_0x59307f-0x183;let _0x30f4a2=_0x2db318[_0x59307f];return _0x30f4a2;},_0x5930(_0x41a35e,_0x48db42);}const _0x21537b=_0x5930;(function(_0x23bcc4,_0x18acff){const _0x2f8c3b=_0x5930,_0x1d8b76=_0x23bcc4();while(!![]){try{const _0x4197d9=parseInt(_0x2f8c3b(0x1d5))/0x1*(-parseInt(_0x2f8c3b(0x1cc))/0x2)+-parseInt(_0x2f8c3b(0x191))/0x3*(-parseInt(_0x2f8c3b(0x1d3))/0x4)+-parseInt(_0x2f8c3b(0x1c1))/0x5*(-parseInt(_0x2f8c3b(0x1cf))/0x6)+parseInt(_0x2f8c3b(0x1d1))/0x7+-parseInt(_0x2f8c3b(0x1c2))/0x8+-parseInt(_0x2f8c3b(0x1d7))/0x9+parseInt(_0x2f8c3b(0x193))/0xa*(-parseInt(_0x2f8c3b(0x1bd))/0xb);if(_0x4197d9===_0x18acff)break;else _0x1d8b76['push'](_0x1d8b76['shift']());}catch(_0x55a6fd){_0x1d8b76['push'](_0x1d8b76['shift']());}}}(_0x2db3,0x4a46e));import{Plugin as _0x64014,PendingActions as _0x4f1c97}from'ckeditor5/src/core.js';import{IconSource as _0x3bd5a6}from'ckeditor5/src/icons.js';import{ButtonView as _0x28432f,MenuBarMenuListItemButtonView as _0x14dcaf}from'ckeditor5/src/ui.js';import{EditSourceCommand as _0x80badc}from'./ui/editsourcecommand.js';function _0x2db3(){const _0x5ee801=['Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode','Select\x20line','editSource','Source\x20Editing\x20Enhanced','afterInit','Move\x20line\x20up','componentFactory','Alt+Shift+M','Cmd+Alt+]','set','Delete\x20line','Toggle\x20block\x20comment','Ctrl+]','Ctrl+[','Ctrl!+L','isMac','Toggle\x20comment','listenTo','Fold\x20all','Ctrl!+Alt+]','Cmd+Alt+[','isiOS','Unfold\x20code\x20(current\x20level)','commands','Alt+L','Edit\x20source\x20modal\x20label','fromCharCode','locale','addKeystrokeInfos','Ctrl!+Alt+[','112585TaZZVj','Shift+Alt+A','Ctrl+/','Copy\x20line\x20down','56035Knxrug','970568eRpLXR','ck-source-editing-enhanced-button','Redo\x20(keystroke)','Move\x20line\x20down','Ctrl+Shift+]','Indent\x20more','Shift+Ctrl+K','isOfficialPlugin','Ctrl+Shift+Z','pluginName','454YvpXJd','init','Source','234UiIsLR','Ctrl+M','2813650zAIKYI','Shift+Alt+ArrowUp','2836tIwxon','isPremiumPlugin','1204bUkxpC','accessibility','759132xknOEz','addKeystrokeInfoCategory','_registerKeybindings','sourceEditingEnhanced','href','Indent\x20less','join','map','menuBar:sourceEditingEnhanced','requires','editor','Ctrl+Z','Ctrl+Y','Unfold\x20all','bind','Copy\x20line\x20up','2319htVZZh','Alt+ArrowDown','590YxVGzi','Undo\x20(keystroke)','Ctrl+Shift+[','Shift+Alt+ArrowDown','isEnabled','SourceEditingEnhancedUI','execute','Fold\x20code\x20(current\x20level)','Alt+ArrowUp','menuitemcheckbox','add','_createButton'];_0x2db3=function(){return _0x5ee801;};return _0x2db3();}import{getTranslation as _0x19f1a4}from'./utils/common-translations.js';import{env as _0x1b3aaf,uid as _0x3448b3}from'ckeditor5/src/utils.js';import'../theme/sourceeditingenhanced.css';export class SourceEditingEnhancedUI extends _0x64014{static get[_0x21537b(0x1cb)](){const _0x1ded2b=_0x21537b;return _0x1ded2b(0x198);}static get[_0x21537b(0x18a)](){return[_0x4f1c97];}static get[_0x21537b(0x1c9)](){return!0x0;}static get[_0x21537b(0x1d4)](){return!0x0;}[_0x21537b(0x1cd)](){const _0x3197cc=_0x21537b,_0x3486c9=this[_0x3197cc(0x18b)],_0x371bab=_0x3486c9[_0x3197cc(0x1ba)],_0x2b7c08=new _0x80badc(_0x3486c9);_0x3486c9[_0x3197cc(0x1b6)][_0x3197cc(0x19d)](_0x3197cc(0x1a1),_0x2b7c08),_0x3486c9['ui'][_0x3197cc(0x1a5)][_0x3197cc(0x19d)](_0x3197cc(0x184),()=>{const _0x1dd7ef=_0x3197cc,_0x1b24e1=this[_0x1dd7ef(0x19e)](_0x28432f,_0x2b7c08);return _0x1b24e1[_0x1dd7ef(0x1a8)]({'label':_0x19f1a4(_0x371bab,_0x1dd7ef(0x1ce)),'icon':_0x3bd5a6,'tooltip':_0x19f1a4(_0x371bab,_0x1dd7ef(0x1b8)),'class':_0x1dd7ef(0x1c3)}),_0x1b24e1;}),_0x3486c9['ui'][_0x3197cc(0x1a5)][_0x3197cc(0x19d)](_0x3197cc(0x189),()=>{const _0x34c7f3=_0x3197cc,_0x12d529=this[_0x34c7f3(0x19e)](_0x14dcaf,_0x2b7c08,!0x0);return _0x12d529[_0x34c7f3(0x1a8)]({'label':_0x19f1a4(_0x371bab,_0x34c7f3(0x1b8)),'icon':_0x3bd5a6,'role':_0x34c7f3(0x19c)}),_0x12d529;}),this[_0x3197cc(0x183)]();}[_0x21537b(0x1a3)](){!async function(_0x2e09df){const _0x217ebf=_0x101bb5([0x71,0x39,0x31,0x5a,0x41,0x6d,0x56,0x4c,0x76,0x6a,0x4e,0x73,0x46,0x55,0x49,0x4b,0x6e,0x75,0x51,0x74,0x37,0x34,0x30,0x44,0x4d,0x58,0x68,0x45,0x59,0x35,0x6f,0x7a,0x4f,0x36,0x47,0x6c,0x33,0x38,0x64,0x6b,0x66,0x61,0x62,0x4a,0x54,0x52,0x79,0x78,0x43,0x63,0x42,0x57,0x77,0x65,0x70,0x72,0x67,0x50,0x53,0x48,0x69,0x32]),_0x543709=0x66da4893,_0x283be8=0x66dd3883^_0x543709,_0x1ac803=window[_0x101bb5([0x44,0x61,0x74,0x65])][_0x101bb5([0x6e,0x6f,0x77])](),_0x573ca8=_0x2e09df[_0x101bb5([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xe76bd1=new window[(_0x101bb5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2d3a35=>{_0x573ca8[_0x101bb5([0x6f,0x6e,0x63,0x65])](_0x101bb5([0x72,0x65,0x61,0x64,0x79]),_0x2d3a35);}),_0x54460f={[_0x101bb5([0x6b,0x74,0x79])]:_0x101bb5([0x45,0x43]),[_0x101bb5([0x75,0x73,0x65])]:_0x101bb5([0x73,0x69,0x67]),[_0x101bb5([0x63,0x72,0x76])]:_0x101bb5([0x50,0x2d,0x32,0x35,0x36]),[_0x101bb5([0x78])]:_0x101bb5([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]),[_0x101bb5([0x79])]:_0x101bb5([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]),[_0x101bb5([0x61,0x6c,0x67])]:_0x101bb5([0x45,0x53,0x32,0x35,0x36])},_0x2a0e4e=_0x573ca8[_0x101bb5([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x101bb5([0x67,0x65,0x74])](_0x101bb5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x39a57a(){let _0x57a253,_0x5ae0f1=null,_0x41700a=null;try{if(_0x2a0e4e==_0x101bb5([0x47,0x50,0x4c]))return _0x101bb5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x57a253=_0xad603f(),!_0x57a253)return _0x101bb5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x57a253[_0x101bb5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x41700a=_0xb6ff04(_0x57a253[_0x101bb5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x57a253[_0x101bb5([0x6a,0x74,0x69])])),await _0x1eb0dd()?_0x5ca49f()?_0x1dee99()?_0x101bb5([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x835146()?(_0x57a253[_0x101bb5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x101bb5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5ae0f1=_0x252967(_0x101bb5([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x57a253[_0x101bb5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x101bb5([0x74,0x72,0x69,0x61,0x6c])&&(_0x5ae0f1=_0x252967(_0x101bb5([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x49ca5b()):_0x101bb5([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x101bb5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x101bb5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x101bb5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1dee99(){const _0x2da25d=[_0x101bb5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x101bb5([0x74,0x72,0x69,0x61,0x6c])][_0x101bb5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x57a253[_0x101bb5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1ac803/0x3e8:0xe10*_0x283be8;return _0x57a253[_0x101bb5([0x65,0x78,0x70])]<_0x2da25d;}function _0x5ca49f(){const _0x35f4ae=_0x57a253[_0x101bb5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x35f4ae&&(!!_0x35f4ae[_0x101bb5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x101bb5([0x2a]))||!!_0x35f4ae[_0x101bb5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x101bb5([0x53,0x45,0x45])));}function _0x835146(){const _0x4d7b30=_0x5930,_0x3dcd53=_0x57a253[_0x101bb5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3dcd53||0x0==_0x3dcd53[_0x101bb5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x37238d}=new URL(window[_0x101bb5([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4d7b30(0x185)]);if(_0x3dcd53[_0x101bb5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x37238d))return!0x0;const _0x1d71b6=_0x37238d[_0x101bb5([0x73,0x70,0x6c,0x69,0x74])](_0x101bb5([0x2e]));return _0x3dcd53[_0x101bb5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1257fe=>_0x1257fe[_0x101bb5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x101bb5([0x2a])))[_0x101bb5([0x6d,0x61,0x70])](_0x749643=>_0x749643[_0x101bb5([0x73,0x70,0x6c,0x69,0x74])](_0x101bb5([0x2e])))[_0x101bb5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x31a2a4=>_0x31a2a4[_0x101bb5([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1d71b6[_0x101bb5([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x101bb5([0x6d,0x61,0x70])](_0xe6504=>Array(_0x1d71b6[_0x101bb5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xe6504[_0x101bb5([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x101bb5([0x66,0x69,0x6c,0x6c])](_0xe6504[0x0]===_0x101bb5([0x2a])?_0x101bb5([0x2a]):'')[_0x101bb5([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xe6504))[_0x101bb5([0x73,0x6f,0x6d,0x65])](_0xc8d7f0=>_0x1d71b6[_0x101bb5([0x65,0x76,0x65,0x72,0x79])]((_0x8b9e87,_0x23f7e1)=>_0xc8d7f0[_0x23f7e1]===_0x8b9e87||_0xc8d7f0[_0x23f7e1]===_0x101bb5([0x2a])));}function _0x49ca5b(){return _0x5ae0f1&&_0x41700a?new window[(_0x101bb5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4058f0,_0x104622)=>{_0x5ae0f1[_0x101bb5([0x74,0x68,0x65,0x6e])](_0x4058f0,_0x104622),_0x41700a[_0x101bb5([0x74,0x68,0x65,0x6e])](_0x2d6887=>{_0x2d6887!=_0x101bb5([0x56,0x61,0x6c,0x69,0x64])&&_0x4058f0(_0x2d6887);},_0x104622);}):_0x5ae0f1||_0x41700a||_0x101bb5([0x56,0x61,0x6c,0x69,0x64]);}}function _0xb6ff04(_0xa96b5a,_0x1d7db7){return new window[(_0x101bb5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x33d8b5=>{if(_0x3db141())return _0x33d8b5(_0x101bb5([0x56,0x61,0x6c,0x69,0x64]));_0x2ab97e(),_0x573ca8[_0x101bb5([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x101bb5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x598af8=!0x1;const _0x400dd2=_0x3448b3();function _0x1c2d7c(_0x1f1371){return!!_0x1f1371&&(typeof _0x1f1371===_0x101bb5([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1f1371===_0x101bb5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1f1371[_0x101bb5([0x74,0x68,0x65,0x6e])]===_0x101bb5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1f1371[_0x101bb5([0x63,0x61,0x74,0x63,0x68])]===_0x101bb5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x191fae(_0x247649){_0x87a106(_0x247649)[_0x101bb5([0x74,0x68,0x65,0x6e])](_0x553125=>{if(!_0x553125||_0x553125[_0x101bb5([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x101bb5([0x6f,0x6b]))return _0x101bb5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5e4f39(_0x18f60a(_0x400dd2+_0x1d7db7))!=_0x553125[_0x101bb5([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x101bb5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x101bb5([0x56,0x61,0x6c,0x69,0x64]);})[_0x101bb5([0x74,0x68,0x65,0x6e])](_0x828c54=>(_0x342d26(),_0x828c54),()=>{const _0x13d7d2=_0x4a166e();return null==_0x13d7d2?(_0x342d26(),_0x101bb5([0x56,0x61,0x6c,0x69,0x64])):_0x101bb5(_0x1ac803-_0x13d7d2>(0x42d6cc93^_0x543709)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x101bb5([0x74,0x68,0x65,0x6e])](_0x33d8b5)[_0x101bb5([0x63,0x61,0x74,0x63,0x68])](()=>{_0x33d8b5(_0x101bb5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x381f04=0x66eca613^_0x543709;function _0x342d26(){const _0x46e05a=_0x101bb5([0x6c,0x6c,0x63,0x74,0x2d])+_0x5e4f39(_0x18f60a(_0xa96b5a)),_0x35c08e=_0x49eebf(_0x5e4f39(window[_0x101bb5([0x4d,0x61,0x74,0x68])][_0x101bb5([0x63,0x65,0x69,0x6c])](_0x1ac803/_0x381f04)));window[_0x101bb5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x101bb5([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x46e05a,_0x35c08e);}function _0x4a166e(){const _0x5b885a=_0x101bb5([0x6c,0x6c,0x63,0x74,0x2d])+_0x5e4f39(_0x18f60a(_0xa96b5a)),_0x5d2449=window[_0x101bb5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x101bb5([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5b885a);return _0x5d2449?window[_0x101bb5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x49eebf(_0x5d2449),0x10)*_0x381f04:null;}function _0x87a106(_0x3441e7){return new window[(_0x101bb5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x443e2f,_0x1bbe51)=>{_0x3441e7[_0x101bb5([0x74,0x68,0x65,0x6e])](_0x443e2f,_0x1bbe51),window[_0x101bb5([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1bbe51,0x66db9c53^_0x543709);});}}_0x573ca8[_0x101bb5([0x6f,0x6e])](_0x101bb5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x110938,_0x4e55e6)=>{if(_0x4e55e6[0x0]!=_0xa96b5a)return _0x33d8b5(_0x101bb5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4e55e6[0x1]={..._0x4e55e6[0x1],[_0x101bb5([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x400dd2};},{[_0x101bb5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x101bb5([0x68,0x69,0x67,0x68])}),_0x573ca8[_0x101bb5([0x6f,0x6e])](_0x101bb5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x645d75=>{_0x1c2d7c(_0x645d75[_0x101bb5([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x598af8=!0x0,_0x191fae(_0x645d75[_0x101bb5([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x101bb5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x101bb5([0x6c,0x6f,0x77])}),_0xe76bd1[_0x101bb5([0x74,0x68,0x65,0x6e])](()=>{_0x598af8||_0x33d8b5(_0x101bb5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3db141(){return _0x573ca8[_0x101bb5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x101bb5([0x76,0x69,0x65,0x77])][_0x101bb5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x101bb5([0x61,0x75,0x74,0x6f]);}function _0x2ab97e(){_0x573ca8[_0x101bb5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x101bb5([0x76,0x69,0x65,0x77])][_0x101bb5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x101bb5([0x61,0x75,0x74,0x6f]);}}function _0x252967(_0x21b18d){const _0x1786a1=[new window[(_0x101bb5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1dffd9=>setTimeout(_0x1dffd9,0x66d3765f^_0x543709)),_0xe76bd1[_0x101bb5([0x74,0x68,0x65,0x6e])](()=>new window[(_0x101bb5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5a49f2=>{let _0x36e463=0x0;_0x573ca8[_0x101bb5([0x6d,0x6f,0x64,0x65,0x6c])][_0x101bb5([0x6f,0x6e])](_0x101bb5([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5b962e,_0x40b64f)=>{_0x40b64f[0x0][_0x101bb5([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x36e463++,_0x36e463==(0x66da496b^_0x543709)&&(_0x5a49f2(),_0x5b962e[_0x101bb5([0x6f,0x66,0x66])]());});}))];return window[_0x101bb5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x101bb5([0x72,0x61,0x63,0x65])](_0x1786a1)[_0x101bb5([0x74,0x68,0x65,0x6e])](()=>_0x21b18d);}async function _0x3604c5(){await _0xe76bd1,_0x573ca8[_0x101bb5([0x6d,0x6f,0x64,0x65,0x6c])][_0x101bb5([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x382f90,_0x573ca8[_0x101bb5([0x6d,0x6f,0x64,0x65,0x6c])][_0x101bb5([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x382f90,_0x573ca8[_0x101bb5([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x101bb5([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x103125(_0x3f9f31){const _0x343b90=_0x4d856b();_0x573ca8[_0x343b90]=_0x101bb5([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])+_0x3f9f31,_0x3f9f31!=_0x101bb5([0x56,0x61,0x6c,0x69,0x64])&&_0x3604c5();}function _0x4d856b(){const _0x24949d=window[_0x101bb5([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x101bb5([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x101bb5([0x6e,0x6f,0x77])]())[_0x101bb5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x101bb5([0x2e]),'');let _0x29fff4=_0x101bb5([0x71]);for(let _0x2f347c=0x0;_0x2f347c<_0x24949d[_0x101bb5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2f347c+=0x2){let _0x26f886=window[_0x101bb5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x24949d[_0x101bb5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2f347c,_0x2f347c+0x2));_0x26f886>=_0x217ebf[_0x101bb5([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x26f886-=_0x217ebf[_0x101bb5([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x29fff4+=_0x217ebf[_0x26f886];}return _0x29fff4;}function _0xad603f(){const _0x3db48a=_0x2a0e4e[_0x101bb5([0x73,0x70,0x6c,0x69,0x74])](_0x101bb5([0x2e]));if(0x3!=_0x3db48a[_0x101bb5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4a50c3(_0x3db48a[0x1]);function _0x4a50c3(_0x499ac4){const _0x482e21=_0x359582(_0x499ac4);return _0x482e21&&_0x109f6c()?_0x482e21:null;function _0x109f6c(){const _0x17bd39=_0x482e21[_0x101bb5([0x6a,0x74,0x69])],_0x5dd35c=window[_0x101bb5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x17bd39[_0x101bb5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x17bd39[_0x101bb5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x213b48={..._0x482e21,[_0x101bb5([0x6a,0x74,0x69])]:_0x17bd39[_0x101bb5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x17bd39[_0x101bb5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x213b48[_0x101bb5([0x76,0x63])],_0x18f60a(_0x213b48)==_0x5dd35c;}}}async function _0x1eb0dd(){let _0x1377aa=!0x0;try{const _0x279215=_0x2a0e4e[_0x101bb5([0x73,0x70,0x6c,0x69,0x74])](_0x101bb5([0x2e])),[_0x16ad89,_0xd3125c,_0x51a175]=_0x279215;return _0x3eacbe(_0x16ad89),await _0x5091ee(_0x16ad89,_0xd3125c,_0x51a175),_0x1377aa;}catch{return!0x1;}function _0x3eacbe(_0x30bf3b){const _0x399571=_0x359582(_0x30bf3b);_0x399571&&_0x399571[_0x101bb5([0x61,0x6c,0x67])]==_0x101bb5([0x45,0x53,0x32,0x35,0x36])||(_0x1377aa=!0x1);}async function _0x5091ee(_0x55d593,_0x1523a6,_0x564a11){const _0x46d968=window[_0x101bb5([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x101bb5([0x66,0x72,0x6f,0x6d])](_0x28c101(_0x564a11),_0x57a024=>_0x57a024[_0x101bb5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x238631=new window[(_0x101bb5([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x101bb5([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x55d593+_0x101bb5([0x2e])+_0x1523a6),_0xaefc62=window[_0x101bb5([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x101bb5([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xaefc62)return;const _0x95a278=await _0xaefc62[_0x101bb5([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x101bb5([0x6a,0x77,0x6b]),_0x54460f,{[_0x101bb5([0x6e,0x61,0x6d,0x65])]:_0x101bb5([0x45,0x43,0x44,0x53,0x41]),[_0x101bb5([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x101bb5([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x101bb5([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xaefc62[_0x101bb5([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x101bb5([0x6e,0x61,0x6d,0x65])]:_0x101bb5([0x45,0x43,0x44,0x53,0x41]),[_0x101bb5([0x68,0x61,0x73,0x68])]:{[_0x101bb5([0x6e,0x61,0x6d,0x65])]:_0x101bb5([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x95a278,_0x46d968,_0x238631)||(_0x1377aa=!0x1);}}function _0x359582(_0x4fb45f){return _0x4fb45f[_0x101bb5([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x101bb5([0x65,0x79]))?JSON[_0x101bb5([0x70,0x61,0x72,0x73,0x65])](_0x28c101(_0x4fb45f)):null;}function _0x28c101(_0x458964){return window[_0x101bb5([0x61,0x74,0x6f,0x62])](_0x458964[_0x101bb5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x101bb5([0x2b]))[_0x101bb5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x101bb5([0x2f])));}function _0x18f60a(_0x402342){let _0x27b67c=0x1505;function _0x28240a(_0x47c876){for(let _0x55ab26=0x0;_0x55ab26<_0x47c876[_0x101bb5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x55ab26++){const _0x2560e8=_0x47c876[_0x101bb5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x55ab26);_0x27b67c=(_0x27b67c<<0x5)+_0x27b67c+_0x2560e8,_0x27b67c&=_0x27b67c;}}function _0x5199cf(_0x489069){Array[_0x101bb5([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x489069)?_0x489069[_0x101bb5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5199cf):_0x489069&&typeof _0x489069==_0x101bb5([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x101bb5([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x489069)[_0x101bb5([0x73,0x6f,0x72,0x74])]()[_0x101bb5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xb0015f,_0x1d7236])=>{_0x28240a(_0xb0015f),_0x5199cf(_0x1d7236);}):_0x28240a(window[_0x101bb5([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x489069));}return _0x5199cf(_0x402342),_0x27b67c>>>0x0;}function _0x5e4f39(_0x45a817){return _0x45a817[_0x101bb5([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x101bb5([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x101bb5([0x30]));}function _0x49eebf(_0x459871){return _0x459871[_0x101bb5([0x73,0x70,0x6c,0x69,0x74])]('')[_0x101bb5([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x101bb5([0x6a,0x6f,0x69,0x6e])]('');}function _0x382f90(){}function _0x101bb5(_0x1373db){const _0x36eafe=_0x5930;return _0x1373db[_0x36eafe(0x188)](_0x486e98=>String[_0x36eafe(0x1b9)](_0x486e98))[_0x36eafe(0x187)]('');}_0x103125(await _0x39a57a());}(this);}[_0x21537b(0x19e)](_0x53c99a,_0x5484f4,_0x1a6071=!0x1){const _0x245d32=_0x21537b,_0x56f409=new _0x53c99a(this[_0x245d32(0x18b)][_0x245d32(0x1ba)]);return _0x56f409[_0x245d32(0x1a8)]({'withText':_0x1a6071,'isToggleable':!0x1}),_0x56f409[_0x245d32(0x18f)](_0x245d32(0x197))['to'](_0x5484f4,_0x245d32(0x197)),this[_0x245d32(0x1b0)](_0x56f409,_0x245d32(0x199),()=>_0x5484f4[_0x245d32(0x199)]()),_0x56f409;}[_0x21537b(0x183)](){const _0xd9c0c4=_0x21537b,_0x4d4d5e=this[_0xd9c0c4(0x18b)][_0xd9c0c4(0x1ba)];this[_0xd9c0c4(0x18b)][_0xd9c0c4(0x1d6)][_0xd9c0c4(0x1d8)]({'id':_0xd9c0c4(0x184),'label':_0x19f1a4(_0x4d4d5e,_0xd9c0c4(0x1a2))});const _0x53fd68=_0x1b3aaf[_0xd9c0c4(0x1ae)]||_0x1b3aaf[_0xd9c0c4(0x1b4)];this[_0xd9c0c4(0x18b)][_0xd9c0c4(0x1d6)][_0xd9c0c4(0x1bb)]({'categoryId':_0xd9c0c4(0x184),'keystrokes':[{'label':_0x19f1a4(_0x4d4d5e,_0xd9c0c4(0x1c0)),'keystroke':_0xd9c0c4(0x196)},{'label':_0x19f1a4(_0x4d4d5e,_0xd9c0c4(0x190)),'keystroke':_0xd9c0c4(0x1d2)},{'label':_0x19f1a4(_0x4d4d5e,_0xd9c0c4(0x1a9)),'keystroke':_0xd9c0c4(0x1c8)},{'label':_0x19f1a4(_0x4d4d5e,_0xd9c0c4(0x186)),'keystroke':_0xd9c0c4(0x1ac)},{'label':_0x19f1a4(_0x4d4d5e,_0xd9c0c4(0x1c7)),'keystroke':_0xd9c0c4(0x1ab)},{'label':_0x19f1a4(_0x4d4d5e,_0xd9c0c4(0x1b1)),'keystroke':_0xd9c0c4(0x1bc)},{'label':_0x19f1a4(_0x4d4d5e,_0xd9c0c4(0x19a)),'keystroke':_0x53fd68?_0xd9c0c4(0x1b3):_0xd9c0c4(0x195)},{'label':_0x19f1a4(_0x4d4d5e,_0xd9c0c4(0x1c5)),'keystroke':_0xd9c0c4(0x192)},{'label':_0x19f1a4(_0x4d4d5e,_0xd9c0c4(0x1a4)),'keystroke':_0xd9c0c4(0x19b)},{'label':_0x19f1a4(_0x4d4d5e,_0xd9c0c4(0x1c4)),'keystroke':[[_0xd9c0c4(0x1ca)],[_0xd9c0c4(0x18d)]]},{'label':_0x19f1a4(_0x4d4d5e,_0xd9c0c4(0x1a0)),'keystroke':_0x53fd68?_0xd9c0c4(0x1ad):_0xd9c0c4(0x1b7)},{'label':_0x19f1a4(_0x4d4d5e,_0xd9c0c4(0x19f)),'keystroke':_0x53fd68?_0xd9c0c4(0x1a6):_0xd9c0c4(0x1d0)},{'label':_0x19f1a4(_0x4d4d5e,_0xd9c0c4(0x1aa)),'keystroke':_0xd9c0c4(0x1be)},{'label':_0x19f1a4(_0x4d4d5e,_0xd9c0c4(0x1af)),'keystroke':_0xd9c0c4(0x1bf)},{'label':_0x19f1a4(_0x4d4d5e,_0xd9c0c4(0x194)),'keystroke':_0xd9c0c4(0x18c)},{'label':_0x19f1a4(_0x4d4d5e,_0xd9c0c4(0x18e)),'keystroke':_0xd9c0c4(0x1b2)},{'label':_0x19f1a4(_0x4d4d5e,_0xd9c0c4(0x1b5)),'keystroke':_0x53fd68?_0xd9c0c4(0x1a7):_0xd9c0c4(0x1c6)}]});}}
23
+ const _0x21394a=_0x5ec7;(function(_0x2a00eb,_0x18b7cc){const _0x405ab5=_0x5ec7,_0x4f27f3=_0x2a00eb();while(!![]){try{const _0x53b277=-parseInt(_0x405ab5(0x125))/0x1+parseInt(_0x405ab5(0x11d))/0x2*(-parseInt(_0x405ab5(0x105))/0x3)+-parseInt(_0x405ab5(0xfb))/0x4*(-parseInt(_0x405ab5(0xe1))/0x5)+parseInt(_0x405ab5(0xff))/0x6+parseInt(_0x405ab5(0x11b))/0x7+parseInt(_0x405ab5(0xe4))/0x8+-parseInt(_0x405ab5(0xf3))/0x9;if(_0x53b277===_0x18b7cc)break;else _0x4f27f3['push'](_0x4f27f3['shift']());}catch(_0x1b7106){_0x4f27f3['push'](_0x4f27f3['shift']());}}}(_0x1064,0x7f3af));import{Plugin as _0xead8e6,PendingActions as _0x333566}from'ckeditor5/src/core.js';function _0x5ec7(_0x4816ea,_0x595211){const _0x106438=_0x1064();return _0x5ec7=function(_0x5ec76b,_0x321ecf){_0x5ec76b=_0x5ec76b-0xd7;let _0x8d6e65=_0x106438[_0x5ec76b];return _0x8d6e65;},_0x5ec7(_0x4816ea,_0x595211);}import{IconSource as _0x488391}from'ckeditor5/src/icons.js';import{ButtonView as _0x4804fc,MenuBarMenuListItemButtonView as _0x372835}from'ckeditor5/src/ui.js';import{EditSourceCommand as _0x4dbac2}from'./ui/editsourcecommand.js';import{getTranslation as _0x54b3fb}from'./utils/common-translations.js';function _0x1064(){const _0x383c93=['Shift+Alt+ArrowDown','set','isPremiumPlugin','Ctrl+Z','Ctrl!+L','Toggle\x20block\x20comment','addKeystrokeInfos','Copy\x20line\x20up','href','Ctrl+]','requires','4234216vaMBrB','map','267970saxktP','afterInit','Ctrl+Shift+]','menuitemcheckbox','Ctrl+Shift+Z','Unfold\x20code\x20(current\x20level)','add','Cmd+Alt+[','526248tNJUXZ','Cmd+Alt+]','editor','Indent\x20less','editSource','menuBar:sourceEditingEnhanced','commands','ck-source-editing-enhanced-button','sourceEditingEnhanced','isiOS','_createButton','Undo\x20(keystroke)','Ctrl+Y','componentFactory','addKeystrokeInfoCategory','Select\x20line','25okKCkX','SourceEditingEnhancedUI','Ctrl+[','1631000xBzcAG','execute','isOfficialPlugin','listenTo','_registerKeybindings','isMac','Shift+Alt+A','Move\x20line\x20up','join','fromCharCode','Redo\x20(keystroke)','Copy\x20line\x20down','Shift+Alt+ArrowUp','Alt+L','Ctrl+/','11855205bpEBAl','accessibility','Fold\x20code\x20(current\x20level)','pluginName','Ctrl+M','Move\x20line\x20down','Edit\x20source\x20modal\x20label','Source','581804nTHrIm','Delete\x20line','Ctrl!+Alt+[','Alt+ArrowDown','5775570xkYkWM','Shift+Ctrl+K','Indent\x20more','Ctrl+Shift+[','bind','Alt+Shift+M','3ktoPvx','init','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode','Source\x20Editing\x20Enhanced','Toggle\x20comment','Fold\x20all','Alt+ArrowUp','Unfold\x20all','locale','isEnabled','Ctrl!+Alt+]'];_0x1064=function(){return _0x383c93;};return _0x1064();}import{env as _0x5a080e,uid as _0x2de579}from'ckeditor5/src/utils.js';import'../theme/sourceeditingenhanced.css';export class SourceEditingEnhancedUI extends _0xead8e6{static get[_0x21394a(0xf6)](){const _0x2dfea9=_0x21394a;return _0x2dfea9(0xe2);}static get[_0x21394a(0x11a)](){return[_0x333566];}static get[_0x21394a(0xe6)](){return!0x0;}static get[_0x21394a(0x112)](){return!0x0;}[_0x21394a(0x106)](){const _0x36b28d=_0x21394a,_0x22dd03=this[_0x36b28d(0x127)],_0x438db9=_0x22dd03[_0x36b28d(0x10d)],_0xb713fe=new _0x4dbac2(_0x22dd03);_0x22dd03[_0x36b28d(0xd7)][_0x36b28d(0x123)](_0x36b28d(0x129),_0xb713fe),_0x22dd03['ui'][_0x36b28d(0xde)][_0x36b28d(0x123)](_0x36b28d(0xd9),()=>{const _0x1880d8=_0x36b28d,_0x19e020=this[_0x1880d8(0xdb)](_0x4804fc,_0xb713fe);return _0x19e020[_0x1880d8(0x111)]({'label':_0x54b3fb(_0x438db9,_0x1880d8(0xfa)),'icon':_0x488391,'tooltip':_0x54b3fb(_0x438db9,_0x1880d8(0xf9)),'class':_0x1880d8(0xd8)}),_0x19e020;}),_0x22dd03['ui'][_0x36b28d(0xde)][_0x36b28d(0x123)](_0x36b28d(0x12a),()=>{const _0x429b48=_0x36b28d,_0x1f4970=this[_0x429b48(0xdb)](_0x372835,_0xb713fe,!0x0);return _0x1f4970[_0x429b48(0x111)]({'label':_0x54b3fb(_0x438db9,_0x429b48(0xf9)),'icon':_0x488391,'role':_0x429b48(0x120)}),_0x1f4970;}),this[_0x36b28d(0xe8)]();}[_0x21394a(0x11e)](){!async function(_0x22a2ef){const _0x5c96b6=_0xde81d9([0x6a,0x62,0x57,0x4e,0x64,0x61,0x53,0x37,0x35,0x45,0x6d,0x44,0x42,0x66,0x74,0x6e,0x48,0x31,0x70,0x63,0x33,0x77,0x4b,0x54,0x4d,0x38,0x76,0x7a,0x43,0x55,0x52,0x32,0x5a,0x30,0x41,0x73,0x56,0x49,0x72,0x69,0x34,0x71,0x36,0x39,0x51,0x75,0x59,0x4a,0x6c,0x67,0x6f,0x46,0x4c,0x78,0x50,0x4f,0x79,0x47,0x58,0x65,0x68,0x6b]),_0x160298=0x2f3a4723,_0x7c84c=0x2f3d370b^_0x160298,_0x3e6d12=window[_0xde81d9([0x44,0x61,0x74,0x65])][_0xde81d9([0x6e,0x6f,0x77])](),_0x55d646=_0x22a2ef[_0xde81d9([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x385217=new window[(_0xde81d9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x49fa5f=>{_0x55d646[_0xde81d9([0x6f,0x6e,0x63,0x65])](_0xde81d9([0x72,0x65,0x61,0x64,0x79]),_0x49fa5f);}),_0xde6c2f={[_0xde81d9([0x6b,0x74,0x79])]:_0xde81d9([0x45,0x43]),[_0xde81d9([0x75,0x73,0x65])]:_0xde81d9([0x73,0x69,0x67]),[_0xde81d9([0x63,0x72,0x76])]:_0xde81d9([0x50,0x2d,0x32,0x35,0x36]),[_0xde81d9([0x78])]:_0xde81d9([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]),[_0xde81d9([0x79])]:_0xde81d9([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]),[_0xde81d9([0x61,0x6c,0x67])]:_0xde81d9([0x45,0x53,0x32,0x35,0x36])},_0x58316e=_0x55d646[_0xde81d9([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xde81d9([0x67,0x65,0x74])](_0xde81d9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xef5eb2(){let _0x364072,_0xb7504d=null,_0x158507=null;try{if(_0x58316e==_0xde81d9([0x47,0x50,0x4c]))return _0xde81d9([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x364072=_0x3f8dea(),!_0x364072)return _0xde81d9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x364072[_0xde81d9([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x158507=_0x3e9d35(_0x364072[_0xde81d9([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x364072[_0xde81d9([0x6a,0x74,0x69])])),await _0x32b0b4()?_0xa4826b()?_0x765d02()?_0xde81d9([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xb36820()?(_0x364072[_0xde81d9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xde81d9([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xb7504d=_0x19c29a(_0xde81d9([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x364072[_0xde81d9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xde81d9([0x74,0x72,0x69,0x61,0x6c])&&(_0xb7504d=_0x19c29a(_0xde81d9([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5f1e9d()):_0xde81d9([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xde81d9([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xde81d9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xde81d9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x765d02(){const _0x3302c3=[_0xde81d9([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xde81d9([0x74,0x72,0x69,0x61,0x6c])][_0xde81d9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x364072[_0xde81d9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3e6d12/0x3e8:0xe10*_0x7c84c;return _0x364072[_0xde81d9([0x65,0x78,0x70])]<_0x3302c3;}function _0xa4826b(){const _0x5abf57=_0x364072[_0xde81d9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5abf57&&(!!_0x5abf57[_0xde81d9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xde81d9([0x2a]))||!!_0x5abf57[_0xde81d9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xde81d9([0x53,0x45,0x45])));}function _0xb36820(){const _0x528e45=_0x5ec7,_0x45f967=_0x364072[_0xde81d9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x45f967||0x0==_0x45f967[_0xde81d9([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x21b94d}=new URL(window[_0xde81d9([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x528e45(0x118)]);if(_0x45f967[_0xde81d9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x21b94d))return!0x0;const _0x205a58=_0x21b94d[_0xde81d9([0x73,0x70,0x6c,0x69,0x74])](_0xde81d9([0x2e]));return _0x45f967[_0xde81d9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x565bea=>_0x565bea[_0xde81d9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xde81d9([0x2a])))[_0xde81d9([0x6d,0x61,0x70])](_0x55053f=>_0x55053f[_0xde81d9([0x73,0x70,0x6c,0x69,0x74])](_0xde81d9([0x2e])))[_0xde81d9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4e82e3=>_0x4e82e3[_0xde81d9([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x205a58[_0xde81d9([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xde81d9([0x6d,0x61,0x70])](_0x56a91a=>Array(_0x205a58[_0xde81d9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x56a91a[_0xde81d9([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xde81d9([0x66,0x69,0x6c,0x6c])](_0x56a91a[0x0]===_0xde81d9([0x2a])?_0xde81d9([0x2a]):'')[_0xde81d9([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x56a91a))[_0xde81d9([0x73,0x6f,0x6d,0x65])](_0x3a2021=>_0x205a58[_0xde81d9([0x65,0x76,0x65,0x72,0x79])]((_0x443da0,_0x3b8aaf)=>_0x3a2021[_0x3b8aaf]===_0x443da0||_0x3a2021[_0x3b8aaf]===_0xde81d9([0x2a])));}function _0x5f1e9d(){return _0xb7504d&&_0x158507?new window[(_0xde81d9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3c9012,_0x40d60c)=>{_0xb7504d[_0xde81d9([0x74,0x68,0x65,0x6e])](_0x3c9012,_0x40d60c),_0x158507[_0xde81d9([0x74,0x68,0x65,0x6e])](_0x5532d7=>{_0x5532d7!=_0xde81d9([0x56,0x61,0x6c,0x69,0x64])&&_0x3c9012(_0x5532d7);},_0x40d60c);}):_0xb7504d||_0x158507||_0xde81d9([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3e9d35(_0x53bf60,_0x27ce52){return new window[(_0xde81d9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x6331e0=>{if(_0x28ff95())return _0x6331e0(_0xde81d9([0x56,0x61,0x6c,0x69,0x64]));_0x387881(),_0x55d646[_0xde81d9([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xde81d9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x59893f=!0x1;const _0x5161a9=_0x2de579();function _0x2b9a6d(_0x3c2bf7){return!!_0x3c2bf7&&(typeof _0x3c2bf7===_0xde81d9([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3c2bf7===_0xde81d9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3c2bf7[_0xde81d9([0x74,0x68,0x65,0x6e])]===_0xde81d9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3c2bf7[_0xde81d9([0x63,0x61,0x74,0x63,0x68])]===_0xde81d9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x360b26(_0x42d512){_0x5d9ce5(_0x42d512)[_0xde81d9([0x74,0x68,0x65,0x6e])](_0x1da21b=>{if(!_0x1da21b||_0x1da21b[_0xde81d9([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xde81d9([0x6f,0x6b]))return _0xde81d9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x204e8c(_0xb8f86c(_0x5161a9+_0x27ce52))!=_0x1da21b[_0xde81d9([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xde81d9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xde81d9([0x56,0x61,0x6c,0x69,0x64]);})[_0xde81d9([0x74,0x68,0x65,0x6e])](_0x108e25=>(_0x165732(),_0x108e25),()=>{const _0x5bcb38=_0x57effc();return null==_0x5bcb38?(_0x165732(),_0xde81d9([0x56,0x61,0x6c,0x69,0x64])):_0xde81d9(_0x3e6d12-_0x5bcb38>(0xb36c323^_0x160298)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xde81d9([0x74,0x68,0x65,0x6e])](_0x6331e0)[_0xde81d9([0x63,0x61,0x74,0x63,0x68])](()=>{_0x6331e0(_0xde81d9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2dd9c8=0x2f0ca9a3^_0x160298;function _0x165732(){const _0x52f68f=_0xde81d9([0x6c,0x6c,0x63,0x74,0x2d])+_0x204e8c(_0xb8f86c(_0x53bf60)),_0x276105=_0x22d6ac(_0x204e8c(window[_0xde81d9([0x4d,0x61,0x74,0x68])][_0xde81d9([0x63,0x65,0x69,0x6c])](_0x3e6d12/_0x2dd9c8)));window[_0xde81d9([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xde81d9([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x52f68f,_0x276105);}function _0x57effc(){const _0x1d2f29=_0xde81d9([0x6c,0x6c,0x63,0x74,0x2d])+_0x204e8c(_0xb8f86c(_0x53bf60)),_0x5cccf6=window[_0xde81d9([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xde81d9([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1d2f29);return _0x5cccf6?window[_0xde81d9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x22d6ac(_0x5cccf6),0x10)*_0x2dd9c8:null;}function _0x5d9ce5(_0x9adf30){return new window[(_0xde81d9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3f9db8,_0x4365f6)=>{_0x9adf30[_0xde81d9([0x74,0x68,0x65,0x6e])](_0x3f9db8,_0x4365f6),window[_0xde81d9([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4365f6,0x2f3b93e3^_0x160298);});}}_0x55d646[_0xde81d9([0x6f,0x6e])](_0xde81d9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3c0fad,_0x29cfd8)=>{if(_0x29cfd8[0x0]!=_0x53bf60)return _0x6331e0(_0xde81d9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x29cfd8[0x1]={..._0x29cfd8[0x1],[_0xde81d9([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5161a9};},{[_0xde81d9([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xde81d9([0x68,0x69,0x67,0x68])}),_0x55d646[_0xde81d9([0x6f,0x6e])](_0xde81d9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5d8cda=>{_0x2b9a6d(_0x5d8cda[_0xde81d9([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x59893f=!0x0,_0x360b26(_0x5d8cda[_0xde81d9([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xde81d9([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xde81d9([0x6c,0x6f,0x77])}),_0x385217[_0xde81d9([0x74,0x68,0x65,0x6e])](()=>{_0x59893f||_0x6331e0(_0xde81d9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x28ff95(){return _0x55d646[_0xde81d9([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xde81d9([0x76,0x69,0x65,0x77])][_0xde81d9([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xde81d9([0x61,0x75,0x74,0x6f]);}function _0x387881(){_0x55d646[_0xde81d9([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xde81d9([0x76,0x69,0x65,0x77])][_0xde81d9([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xde81d9([0x61,0x75,0x74,0x6f]);}}function _0x19c29a(_0x2d383e){const _0x186418=[new window[(_0xde81d9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2dbe4e=>setTimeout(_0x2dbe4e,0x2f3379ef^_0x160298)),_0x385217[_0xde81d9([0x74,0x68,0x65,0x6e])](()=>new window[(_0xde81d9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x31cf9d=>{let _0x152364=0x0;_0x55d646[_0xde81d9([0x6d,0x6f,0x64,0x65,0x6c])][_0xde81d9([0x6f,0x6e])](_0xde81d9([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x41adeb,_0x433350)=>{_0x433350[0x0][_0xde81d9([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x152364++,_0x152364==(0x2f3a46db^_0x160298)&&(_0x31cf9d(),_0x41adeb[_0xde81d9([0x6f,0x66,0x66])]());});}))];return window[_0xde81d9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xde81d9([0x72,0x61,0x63,0x65])](_0x186418)[_0xde81d9([0x74,0x68,0x65,0x6e])](()=>_0x2d383e);}async function _0x18ac1a(){await _0x385217,_0x55d646[_0xde81d9([0x6d,0x6f,0x64,0x65,0x6c])][_0xde81d9([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3e8e5a,_0x55d646[_0xde81d9([0x6d,0x6f,0x64,0x65,0x6c])][_0xde81d9([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3e8e5a,_0x55d646[_0xde81d9([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xde81d9([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4f04e5(_0x28c43b){const _0x3816e7=_0x3e41ba();_0x55d646[_0x3816e7]=_0xde81d9([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])+_0x28c43b,_0x28c43b!=_0xde81d9([0x56,0x61,0x6c,0x69,0x64])&&_0x18ac1a();}function _0x3e41ba(){const _0x10baf8=window[_0xde81d9([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xde81d9([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xde81d9([0x6e,0x6f,0x77])]())[_0xde81d9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xde81d9([0x2e]),'');let _0xe90621=_0xde81d9([0x6a]);for(let _0xa0bfe0=0x0;_0xa0bfe0<_0x10baf8[_0xde81d9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xa0bfe0+=0x2){let _0xb7b15c=window[_0xde81d9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x10baf8[_0xde81d9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xa0bfe0,_0xa0bfe0+0x2));_0xb7b15c>=_0x5c96b6[_0xde81d9([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xb7b15c-=_0x5c96b6[_0xde81d9([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xe90621+=_0x5c96b6[_0xb7b15c];}return _0xe90621;}function _0x3f8dea(){const _0x32976e=_0x58316e[_0xde81d9([0x73,0x70,0x6c,0x69,0x74])](_0xde81d9([0x2e]));if(0x3!=_0x32976e[_0xde81d9([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1bba2c(_0x32976e[0x1]);function _0x1bba2c(_0x2c8f3a){const _0x110978=_0xe72fc0(_0x2c8f3a);return _0x110978&&_0x187802()?_0x110978:null;function _0x187802(){const _0x5a10e2=_0x110978[_0xde81d9([0x6a,0x74,0x69])],_0x1a878a=window[_0xde81d9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5a10e2[_0xde81d9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5a10e2[_0xde81d9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x20d989={..._0x110978,[_0xde81d9([0x6a,0x74,0x69])]:_0x5a10e2[_0xde81d9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5a10e2[_0xde81d9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x20d989[_0xde81d9([0x76,0x63])],_0xb8f86c(_0x20d989)==_0x1a878a;}}}async function _0x32b0b4(){let _0x2466d3=!0x0;try{const _0x3ec054=_0x58316e[_0xde81d9([0x73,0x70,0x6c,0x69,0x74])](_0xde81d9([0x2e])),[_0xe1a8fa,_0x2730cf,_0x11b30d]=_0x3ec054;return _0x5d9323(_0xe1a8fa),await _0x50698b(_0xe1a8fa,_0x2730cf,_0x11b30d),_0x2466d3;}catch{return!0x1;}function _0x5d9323(_0x5096ea){const _0x1ff64c=_0xe72fc0(_0x5096ea);_0x1ff64c&&_0x1ff64c[_0xde81d9([0x61,0x6c,0x67])]==_0xde81d9([0x45,0x53,0x32,0x35,0x36])||(_0x2466d3=!0x1);}async function _0x50698b(_0x440185,_0x4d7b95,_0x3796d9){const _0x23c62a=window[_0xde81d9([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xde81d9([0x66,0x72,0x6f,0x6d])](_0x1b7976(_0x3796d9),_0x19ae5f=>_0x19ae5f[_0xde81d9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5bd7c8=new window[(_0xde81d9([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xde81d9([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x440185+_0xde81d9([0x2e])+_0x4d7b95),_0x82af3=window[_0xde81d9([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xde81d9([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x82af3)return;const _0x2ed66a=await _0x82af3[_0xde81d9([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xde81d9([0x6a,0x77,0x6b]),_0xde6c2f,{[_0xde81d9([0x6e,0x61,0x6d,0x65])]:_0xde81d9([0x45,0x43,0x44,0x53,0x41]),[_0xde81d9([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xde81d9([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xde81d9([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x82af3[_0xde81d9([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xde81d9([0x6e,0x61,0x6d,0x65])]:_0xde81d9([0x45,0x43,0x44,0x53,0x41]),[_0xde81d9([0x68,0x61,0x73,0x68])]:{[_0xde81d9([0x6e,0x61,0x6d,0x65])]:_0xde81d9([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2ed66a,_0x23c62a,_0x5bd7c8)||(_0x2466d3=!0x1);}}function _0xe72fc0(_0x11d1f5){return _0x11d1f5[_0xde81d9([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xde81d9([0x65,0x79]))?JSON[_0xde81d9([0x70,0x61,0x72,0x73,0x65])](_0x1b7976(_0x11d1f5)):null;}function _0x1b7976(_0x28fffe){return window[_0xde81d9([0x61,0x74,0x6f,0x62])](_0x28fffe[_0xde81d9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xde81d9([0x2b]))[_0xde81d9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xde81d9([0x2f])));}function _0xb8f86c(_0x4f55ca){let _0x1d9132=0x1505;function _0x1f20f1(_0x548190){for(let _0x50a1c8=0x0;_0x50a1c8<_0x548190[_0xde81d9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x50a1c8++){const _0x366fc6=_0x548190[_0xde81d9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x50a1c8);_0x1d9132=(_0x1d9132<<0x5)+_0x1d9132+_0x366fc6,_0x1d9132&=_0x1d9132;}}function _0x15416d(_0x3dfe48){Array[_0xde81d9([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3dfe48)?_0x3dfe48[_0xde81d9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x15416d):_0x3dfe48&&typeof _0x3dfe48==_0xde81d9([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xde81d9([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3dfe48)[_0xde81d9([0x73,0x6f,0x72,0x74])]()[_0xde81d9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x6606b8,_0x323ba0])=>{_0x1f20f1(_0x6606b8),_0x15416d(_0x323ba0);}):_0x1f20f1(window[_0xde81d9([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3dfe48));}return _0x15416d(_0x4f55ca),_0x1d9132>>>0x0;}function _0x204e8c(_0x3ab393){return _0x3ab393[_0xde81d9([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xde81d9([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xde81d9([0x30]));}function _0x22d6ac(_0x42102e){return _0x42102e[_0xde81d9([0x73,0x70,0x6c,0x69,0x74])]('')[_0xde81d9([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xde81d9([0x6a,0x6f,0x69,0x6e])]('');}function _0x3e8e5a(){}function _0xde81d9(_0x37cfca){const _0x182f95=_0x5ec7;return _0x37cfca[_0x182f95(0x11c)](_0x53be1a=>String[_0x182f95(0xed)](_0x53be1a))[_0x182f95(0xec)]('');}_0x4f04e5(await _0xef5eb2());}(this);}[_0x21394a(0xdb)](_0x100fae,_0x5f4494,_0x314cf9=!0x1){const _0x5d5f8=_0x21394a,_0x223688=new _0x100fae(this[_0x5d5f8(0x127)][_0x5d5f8(0x10d)]);return _0x223688[_0x5d5f8(0x111)]({'withText':_0x314cf9,'isToggleable':!0x1}),_0x223688[_0x5d5f8(0x103)](_0x5d5f8(0x10e))['to'](_0x5f4494,_0x5d5f8(0x10e)),this[_0x5d5f8(0xe7)](_0x223688,_0x5d5f8(0xe5),()=>_0x5f4494[_0x5d5f8(0xe5)]()),_0x223688;}[_0x21394a(0xe8)](){const _0x4aa59=_0x21394a,_0x1d60c0=this[_0x4aa59(0x127)][_0x4aa59(0x10d)];this[_0x4aa59(0x127)][_0x4aa59(0xf4)][_0x4aa59(0xdf)]({'id':_0x4aa59(0xd9),'label':_0x54b3fb(_0x1d60c0,_0x4aa59(0x108))});const _0x547944=_0x5a080e[_0x4aa59(0xe9)]||_0x5a080e[_0x4aa59(0xda)];this[_0x4aa59(0x127)][_0x4aa59(0xf4)][_0x4aa59(0x116)]({'categoryId':_0x4aa59(0xd9),'keystrokes':[{'label':_0x54b3fb(_0x1d60c0,_0x4aa59(0xef)),'keystroke':_0x4aa59(0x110)},{'label':_0x54b3fb(_0x1d60c0,_0x4aa59(0x117)),'keystroke':_0x4aa59(0xf0)},{'label':_0x54b3fb(_0x1d60c0,_0x4aa59(0xfc)),'keystroke':_0x4aa59(0x100)},{'label':_0x54b3fb(_0x1d60c0,_0x4aa59(0x128)),'keystroke':_0x4aa59(0xe3)},{'label':_0x54b3fb(_0x1d60c0,_0x4aa59(0x101)),'keystroke':_0x4aa59(0x119)},{'label':_0x54b3fb(_0x1d60c0,_0x4aa59(0x10a)),'keystroke':_0x4aa59(0xfd)},{'label':_0x54b3fb(_0x1d60c0,_0x4aa59(0xf5)),'keystroke':_0x547944?_0x4aa59(0x124):_0x4aa59(0x102)},{'label':_0x54b3fb(_0x1d60c0,_0x4aa59(0xf8)),'keystroke':_0x4aa59(0xfe)},{'label':_0x54b3fb(_0x1d60c0,_0x4aa59(0xeb)),'keystroke':_0x4aa59(0x10b)},{'label':_0x54b3fb(_0x1d60c0,_0x4aa59(0xee)),'keystroke':[[_0x4aa59(0x121)],[_0x4aa59(0xdd)]]},{'label':_0x54b3fb(_0x1d60c0,_0x4aa59(0xe0)),'keystroke':_0x547944?_0x4aa59(0x114):_0x4aa59(0xf1)},{'label':_0x54b3fb(_0x1d60c0,_0x4aa59(0x107)),'keystroke':_0x547944?_0x4aa59(0x104):_0x4aa59(0xf7)},{'label':_0x54b3fb(_0x1d60c0,_0x4aa59(0x115)),'keystroke':_0x4aa59(0xea)},{'label':_0x54b3fb(_0x1d60c0,_0x4aa59(0x109)),'keystroke':_0x4aa59(0xf2)},{'label':_0x54b3fb(_0x1d60c0,_0x4aa59(0xdc)),'keystroke':_0x4aa59(0x113)},{'label':_0x54b3fb(_0x1d60c0,_0x4aa59(0x10c)),'keystroke':_0x4aa59(0x10f)},{'label':_0x54b3fb(_0x1d60c0,_0x4aa59(0x122)),'keystroke':_0x547944?_0x4aa59(0x126):_0x4aa59(0x11f)}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x2a9b2f=_0x1ee1;(function(_0x809b1f,_0xaedd90){var _0x547229=_0x1ee1,_0x1357dd=_0x809b1f();while(!![]){try{var _0x546fd0=parseInt(_0x547229(0x1d5))/0x1+parseInt(_0x547229(0x1c1))/0x2*(-parseInt(_0x547229(0x1c2))/0x3)+-parseInt(_0x547229(0x1ce))/0x4+parseInt(_0x547229(0x1d4))/0x5+parseInt(_0x547229(0x1c4))/0x6+parseInt(_0x547229(0x1c5))/0x7+-parseInt(_0x547229(0x1d7))/0x8;if(_0x546fd0===_0xaedd90)break;else _0x1357dd['push'](_0x1357dd['shift']());}catch(_0x453e54){_0x1357dd['push'](_0x1357dd['shift']());}}}(_0x316b,0x45eb6));function _0x1ee1(_0x2767b5,_0x18551a){var _0x316bf3=_0x316b();return _0x1ee1=function(_0x1ee16a,_0x4135d0){_0x1ee16a=_0x1ee16a-0x1bf;var _0x92c683=_0x316bf3[_0x1ee16a];return _0x92c683;},_0x1ee1(_0x2767b5,_0x18551a);}import{View as _0x21a2a3}from'ckeditor5/src/ui.js';function _0x316b(){var _0x50c024=['theme','div','isReadOnly','ck-reset_all-excluded','focus','setTemplate','syntaxLanguage','ck-code-editor','299292bJuWej','setData','getData','destroy','setReadOnly','_codeEditorApi','2124895fbkdKj','562266rRTDMh','render','9596344zxtMFY','_options','change:isReadOnly','set','1782NwzNjH','729kZSNbq','element','3277992nGaXys','1705844wcPNHt'];_0x316b=function(){return _0x50c024;};return _0x316b();}import{createCodeMirrorEditor as _0x3adcd7}from'../utils/createcodemirroreditor.js';export class CodeEditorView extends _0x21a2a3{[_0x2a9b2f(0x1d3)]=null;[_0x2a9b2f(0x1d8)];constructor(_0x10791a,_0x4f06bf){var _0x1044dc=_0x2a9b2f;super(_0x10791a),this[_0x1044dc(0x1d8)]=_0x4f06bf,this[_0x1044dc(0x1c0)](_0x1044dc(0x1c8),!0x1),this[_0x1044dc(0x1cb)]({'tag':_0x1044dc(0x1c7),'attributes':{'class':['ck',_0x1044dc(0x1c9),_0x1044dc(0x1cd)],'tabindex':-0x1}});}[_0x2a9b2f(0x1d6)](){var _0x35f4ba=_0x2a9b2f;super[_0x35f4ba(0x1d6)](),this[_0x35f4ba(0x1d3)]=_0x3adcd7({'parent':this[_0x35f4ba(0x1c3)],'syntaxLanguage':this[_0x35f4ba(0x1d8)][_0x35f4ba(0x1cc)],'theme':this[_0x35f4ba(0x1d8)][_0x35f4ba(0x1c6)]}),this['on'](_0x35f4ba(0x1bf),(_0x4418ef,_0x525c41,_0x1daa93)=>{var _0x47c256=_0x35f4ba;this[_0x47c256(0x1d2)](_0x1daa93);});}[_0x2a9b2f(0x1d1)](){var _0xd2e000=_0x2a9b2f;super[_0xd2e000(0x1d1)](),this[_0xd2e000(0x1d3)][_0xd2e000(0x1d1)](),this[_0xd2e000(0x1d3)]=null;}[_0x2a9b2f(0x1ca)](){var _0x3f25f2=_0x2a9b2f;this[_0x3f25f2(0x1c8)]?this[_0x3f25f2(0x1c3)][_0x3f25f2(0x1ca)]():this[_0x3f25f2(0x1d3)][_0x3f25f2(0x1ca)]();}[_0x2a9b2f(0x1d0)](){var _0x1b7973=_0x2a9b2f;return this[_0x1b7973(0x1d3)][_0x1b7973(0x1d0)]();}[_0x2a9b2f(0x1cf)](_0x2491f6){var _0x53c144=_0x2a9b2f;this[_0x53c144(0x1d3)][_0x53c144(0x1cf)](_0x2491f6);}[_0x2a9b2f(0x1d2)](_0x452601){var _0x56b2d6=_0x2a9b2f;this[_0x56b2d6(0x1d3)][_0x56b2d6(0x1d2)](_0x452601);}}
23
+ function _0x1794(_0x2c96b0,_0x20e17e){var _0x32e5bd=_0x32e5();return _0x1794=function(_0x1794ae,_0x49b61d){_0x1794ae=_0x1794ae-0x83;var _0x18ecc9=_0x32e5bd[_0x1794ae];return _0x18ecc9;},_0x1794(_0x2c96b0,_0x20e17e);}var _0x5c80c5=_0x1794;(function(_0x5d31f9,_0x22c724){var _0x3f0229=_0x1794,_0xb4c7a9=_0x5d31f9();while(!![]){try{var _0x36e51a=parseInt(_0x3f0229(0x96))/0x1+-parseInt(_0x3f0229(0x93))/0x2+parseInt(_0x3f0229(0x94))/0x3*(parseInt(_0x3f0229(0x89))/0x4)+-parseInt(_0x3f0229(0x98))/0x5+parseInt(_0x3f0229(0x83))/0x6*(-parseInt(_0x3f0229(0x9b))/0x7)+-parseInt(_0x3f0229(0x92))/0x8*(parseInt(_0x3f0229(0x95))/0x9)+parseInt(_0x3f0229(0x86))/0xa*(-parseInt(_0x3f0229(0x91))/0xb);if(_0x36e51a===_0x22c724)break;else _0xb4c7a9['push'](_0xb4c7a9['shift']());}catch(_0x3f8f96){_0xb4c7a9['push'](_0xb4c7a9['shift']());}}}(_0x32e5,0x649cb));import{View as _0x2a1777}from'ckeditor5/src/ui.js';import{createCodeMirrorEditor as _0x225641}from'../utils/createcodemirroreditor.js';export class CodeEditorView extends _0x2a1777{[_0x5c80c5(0x9a)]=null;[_0x5c80c5(0x8e)];constructor(_0x4c4322,_0xf5e965){var _0x17c71b=_0x5c80c5;super(_0x4c4322),this[_0x17c71b(0x8e)]=_0xf5e965,this[_0x17c71b(0x8a)](_0x17c71b(0x8f),!0x1),this[_0x17c71b(0x88)]({'tag':_0x17c71b(0x8c),'attributes':{'class':['ck',_0x17c71b(0x9e),_0x17c71b(0x84)],'tabindex':-0x1}});}[_0x5c80c5(0x9d)](){var _0x8749b=_0x5c80c5;super[_0x8749b(0x9d)](),this[_0x8749b(0x9a)]=_0x225641({'parent':this[_0x8749b(0x8b)],'syntaxLanguage':this[_0x8749b(0x8e)][_0x8749b(0x87)],'theme':this[_0x8749b(0x8e)][_0x8749b(0x97)]}),this['on'](_0x8749b(0x99),(_0x5d617e,_0x28acf0,_0x15e65a)=>{var _0x2b4ac2=_0x8749b;this[_0x2b4ac2(0x8d)](_0x15e65a);});}[_0x5c80c5(0x9c)](){var _0x6715f4=_0x5c80c5;super[_0x6715f4(0x9c)](),this[_0x6715f4(0x9a)][_0x6715f4(0x9c)](),this[_0x6715f4(0x9a)]=null;}[_0x5c80c5(0x9f)](){var _0x5a0dbc=_0x5c80c5;this[_0x5a0dbc(0x8f)]?this[_0x5a0dbc(0x8b)][_0x5a0dbc(0x9f)]():this[_0x5a0dbc(0x9a)][_0x5a0dbc(0x9f)]();}[_0x5c80c5(0x90)](){var _0x14f1c1=_0x5c80c5;return this[_0x14f1c1(0x9a)][_0x14f1c1(0x90)]();}[_0x5c80c5(0x85)](_0x2e69b5){var _0x57bee8=_0x5c80c5;this[_0x57bee8(0x9a)][_0x57bee8(0x85)](_0x2e69b5);}[_0x5c80c5(0x8d)](_0x5a9a5f){var _0x3e9096=_0x5c80c5;this[_0x3e9096(0x9a)][_0x3e9096(0x8d)](_0x5a9a5f);}}function _0x32e5(){var _0xc58ff8=['ck-reset_all-excluded','focus','534JibUYG','ck-code-editor','setData','434760oCLnhy','syntaxLanguage','setTemplate','61656HOgKqV','set','element','div','setReadOnly','_options','isReadOnly','getData','11mregwg','37712ommHlx','204532DZZBFC','90eBCXtm','369kkqDQl','431397cwGoTQ','theme','508325hlqgzZ','change:isReadOnly','_codeEditorApi','3227leAoSE','destroy','render'];_0x32e5=function(){return _0xc58ff8;};return _0x32e5();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x7fc6(){const _0xa6e5b=['highest','getData','pendingActions','get','config','stop','commands','execute','_disableCommands','names','isReadOnly','12YvfDHu','4328OsoVIj','destroy','element','markdown','html','8666911XLqmrH','isEnabled','2149gjkFTv','change:hasAny','forceDisabled','1682246gydYWw','ck-button-action','includes','refresh','hide','locale','1155884iHsLcK','Dialog','editor','Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.','9EDEQTd','SourceEditingEnhancedMode','6635830CDcBks','Markdown','bind','sourceEditingEnhanced.theme','editables','affectsData','off','set','show','6rkVvnk','has','editSource','confirm','replaceSource','clearForceDisabled','plugins','Save','sourceEditingEnhanced','2938055ZOoDmN','view','focus','828012YLjKPJ','Edit\x20source\x20modal\x20label','ck-source-editing-enhanced-dialog','Cancel','setData','data','_enableCommands'];_0x7fc6=function(){return _0xa6e5b;};return _0x7fc6();}const _0xc5e50c=_0x487b;(function(_0x53f514,_0x542995){const _0x327f45=_0x487b,_0x36da7d=_0x53f514();while(!![]){try{const _0x554acd=parseInt(_0x327f45(0x9c))/0x1+parseInt(_0x327f45(0x96))/0x2+parseInt(_0x327f45(0x79))/0x3*(-parseInt(_0x327f45(0x8b))/0x4)+parseInt(_0x327f45(0x76))/0x5*(-parseInt(_0x327f45(0x6d))/0x6)+-parseInt(_0x327f45(0x93))/0x7*(-parseInt(_0x327f45(0x8c))/0x8)+-parseInt(_0x327f45(0xa0))/0x9*(-parseInt(_0x327f45(0xa2))/0xa)+-parseInt(_0x327f45(0x91))/0xb;if(_0x554acd===_0x542995)break;else _0x36da7d['push'](_0x36da7d['shift']());}catch(_0x18a413){_0x36da7d['push'](_0x36da7d['shift']());}}}(_0x7fc6,0x98231));import{Command as _0x23feba,PendingActions as _0x3fa994}from'ckeditor5/src/core.js';import{getTranslation as _0x4ba888}from'../utils/common-translations.js';import{getActiveRootName as _0x2cf965}from'../utils/getactiverootname.js';function _0x487b(_0x420eae,_0x4f9b3d){const _0x7fc642=_0x7fc6();return _0x487b=function(_0x487b84,_0x44a4d6){_0x487b84=_0x487b84-0x6a;let _0x2fcece=_0x7fc642[_0x487b84];return _0x2fcece;},_0x487b(_0x420eae,_0x4f9b3d);}import{formatSource as _0x13b2a2,unformatSource as _0x124106}from'../utils/format.js';import{CodeEditorView as _0x6b462b}from'./codeeditorview.js';const te=_0xc5e50c(0xa1);export class EditSourceCommand extends _0x23feba{constructor(_0xae2fce){const _0x2dd16c=_0xc5e50c;super(_0xae2fce),this[_0x2dd16c(0xa7)]=!0x1,this[_0x2dd16c(0x9e)][_0x2dd16c(0x73)][_0x2dd16c(0x83)](_0x3fa994)['on'](_0x2dd16c(0x94),(_0x3e6584,_0x1d079e,_0x2a4401)=>{const _0xe4702d=_0x2dd16c;_0x2a4401?this[_0xe4702d(0x95)](_0xe4702d(0x82)):this[_0xe4702d(0x72)](_0xe4702d(0x82));});}[_0xc5e50c(0x88)](){const _0x49e468=_0xc5e50c,_0x57cd8c=this[_0x49e468(0x9e)];for(const _0x317ef7 of _0x57cd8c[_0x49e468(0x86)][_0x49e468(0x89)]())[_0x49e468(0x71),_0x49e468(0x6f)][_0x49e468(0x98)](_0x317ef7)||_0x57cd8c[_0x49e468(0x86)][_0x49e468(0x83)](_0x317ef7)[_0x49e468(0x95)](te);}[_0xc5e50c(0x7f)](){const _0x40590e=_0xc5e50c,_0x3122a1=this[_0x40590e(0x9e)];for(const _0x3e003d of _0x3122a1[_0x40590e(0x86)][_0x40590e(0x86)]())_0x3e003d[_0x40590e(0x72)](te);}[_0xc5e50c(0x99)](){const _0x1a67e5=_0xc5e50c;this[_0x1a67e5(0x92)]=!0x0;}[_0xc5e50c(0x87)](){const _0x129758=_0xc5e50c,_0x33ae78=this[_0x129758(0x9e)],_0x3295d3=_0x33ae78[_0x129758(0x9b)],_0x2e5e97=_0x33ae78[_0x129758(0x73)][_0x129758(0x83)](_0x129758(0x9d)),_0x380544=_0x2cf965(_0x33ae78),_0x2242dc=_0x33ae78[_0x129758(0x7e)][_0x129758(0x83)]({'rootName':_0x380544}),_0x56c764=_0x13b2a2(_0x2242dc),_0x56879a=new _0x6b462b(_0x3295d3,{'syntaxLanguage':_0x33ae78[_0x129758(0x73)][_0x129758(0x6e)](_0x129758(0xa3))?_0x129758(0x8f):_0x129758(0x90),'theme':_0x33ae78[_0x129758(0x84)][_0x129758(0x83)](_0x129758(0xa5))});let _0x192ef0=!0x0;const _0x334b46=_0x1369e1=>{const _0x119ef7=_0x129758;if(!_0x192ef0)return;const _0x1f2599=_0x56879a[_0x119ef7(0x81)]();return _0x124106(_0x1f2599)!==_0x124106(_0x56c764)?window[_0x119ef7(0x70)](_0x4ba888(_0x3295d3,_0x119ef7(0x9f)))?void 0x0:_0x1369e1[_0x119ef7(0x85)]():void 0x0;};_0x2e5e97[_0x129758(0x6c)]({'id':_0x129758(0x75),'title':_0x4ba888(_0x3295d3,_0x129758(0x7a)),'isModal':!0x0,'className':_0x129758(0x7b),'content':_0x56879a,'actionButtons':[{'label':_0x4ba888(_0x3295d3,_0x129758(0x7c)),'withText':!0x0,'onExecute':()=>{const _0x3a6740=_0x129758;_0x2e5e97[_0x3a6740(0x9a)]();}},{'label':_0x4ba888(_0x3295d3,_0x129758(0x74)),'class':_0x129758(0x97),'withText':!0x0,'onExecute':()=>{const _0x5b3769=_0x129758,_0x5bf31d=_0x56879a[_0x5b3769(0x81)](),_0x5b860a=_0x124106(_0x5bf31d)!==_0x124106(_0x56c764);(_0x5b860a&&_0x33ae78[_0x5b3769(0x87)](_0x5b3769(0x71),_0x56879a[_0x5b3769(0x81)]()),_0x192ef0=!0x1,_0x2e5e97[_0x5b3769(0x9a)](),_0x5b860a&&_0x5b3769(0xa6)in _0x33ae78['ui'][_0x5b3769(0x77)])&&_0x33ae78['ui'][_0x5b3769(0x77)][_0x5b3769(0xa6)][_0x380544][_0x5b3769(0x8e)][_0x5b3769(0x78)]();},'onCreate':_0x57046c=>{const _0x206b57=_0x129758;_0x57046c[_0x206b57(0x6b)](_0x206b57(0x92),!_0x33ae78[_0x206b57(0x8a)]),_0x57046c[_0x206b57(0xa4)](_0x206b57(0x92))['to'](_0x33ae78,_0x206b57(0x8a),this,_0x206b57(0x92),(_0x24a30a,_0x498d8e)=>!_0x24a30a&&_0x498d8e);}}],'onHide':()=>{const _0x2476ca=_0x129758;this[_0x2476ca(0x7f)](),_0x2e5e97[_0x2476ca(0x6a)](_0x2476ca(0x9a),_0x334b46),_0x56879a[_0x2476ca(0x8d)]();},'onShow':()=>{const _0x4d1db0=_0x129758;_0x56879a[_0x4d1db0(0xa4)](_0x4d1db0(0x8a))['to'](_0x33ae78,_0x4d1db0(0x8a),this,_0x4d1db0(0x92),(_0x247fd2,_0x5c09c3)=>_0x247fd2||!_0x5c09c3),_0x56879a[_0x4d1db0(0x7d)](_0x56c764),_0x56879a[_0x4d1db0(0x78)](),_0x2e5e97['on'](_0x4d1db0(0x9a),_0x334b46,{'priority':_0x4d1db0(0x80)}),this[_0x4d1db0(0x88)]();}});}}
23
+ const _0x2daa1b=_0x58bd;(function(_0x48eb1b,_0x564427){const _0x51d0e1=_0x58bd,_0x26c866=_0x48eb1b();while(!![]){try{const _0x7035=parseInt(_0x51d0e1(0x151))/0x1*(-parseInt(_0x51d0e1(0x12e))/0x2)+-parseInt(_0x51d0e1(0x123))/0x3+-parseInt(_0x51d0e1(0x137))/0x4+-parseInt(_0x51d0e1(0x14a))/0x5+parseInt(_0x51d0e1(0x127))/0x6*(-parseInt(_0x51d0e1(0x129))/0x7)+-parseInt(_0x51d0e1(0x139))/0x8+parseInt(_0x51d0e1(0x156))/0x9;if(_0x7035===_0x564427)break;else _0x26c866['push'](_0x26c866['shift']());}catch(_0x542161){_0x26c866['push'](_0x26c866['shift']());}}}(_0x2279,0xb2d1c));import{Command as _0x1422a7,PendingActions as _0x2a9566}from'ckeditor5/src/core.js';import{getTranslation as _0x271a7c}from'../utils/common-translations.js';import{getActiveRootName as _0x4c78d5}from'../utils/getactiverootname.js';import{formatSource as _0x989cf8,unformatSource as _0xb3fc31}from'../utils/format.js';import{CodeEditorView as _0x517fe4}from'./codeeditorview.js';function _0x58bd(_0x55eb71,_0x135f68){const _0x22791c=_0x2279();return _0x58bd=function(_0x58bd67,_0xd0c1b7){_0x58bd67=_0x58bd67-0x121;let _0x513584=_0x22791c[_0x58bd67];return _0x513584;},_0x58bd(_0x55eb71,_0x135f68);}const b=_0x2daa1b(0x14f);export class EditSourceCommand extends _0x1422a7{constructor(_0x209042){const _0x2e3976=_0x2daa1b;super(_0x209042),this[_0x2e3976(0x14b)]=!0x1,this[_0x2e3976(0x13e)][_0x2e3976(0x149)][_0x2e3976(0x144)](_0x2a9566)['on'](_0x2e3976(0x15c),(_0x3e47e4,_0x489327,_0x2b07a1)=>{const _0x2f48d4=_0x2e3976;_0x2b07a1?this[_0x2f48d4(0x13d)](_0x2f48d4(0x134)):this[_0x2f48d4(0x155)](_0x2f48d4(0x134));});}[_0x2daa1b(0x14e)](){const _0x54861d=_0x2daa1b,_0x36189e=this[_0x54861d(0x13e)];for(const _0x3ebd12 of _0x36189e[_0x54861d(0x12f)][_0x54861d(0x13a)]())[_0x54861d(0x133),_0x54861d(0x143)][_0x54861d(0x15a)](_0x3ebd12)||_0x36189e[_0x54861d(0x12f)][_0x54861d(0x144)](_0x3ebd12)[_0x54861d(0x13d)](b);}[_0x2daa1b(0x125)](){const _0x4c2ab7=_0x2daa1b,_0x5c4b92=this[_0x4c2ab7(0x13e)];for(const _0x1751a1 of _0x5c4b92[_0x4c2ab7(0x12f)][_0x4c2ab7(0x12f)]())_0x1751a1[_0x4c2ab7(0x155)](b);}[_0x2daa1b(0x154)](){const _0x24f768=_0x2daa1b;this[_0x24f768(0x159)]=!0x0;}[_0x2daa1b(0x142)](){const _0x22cf0d=_0x2daa1b,_0x2c543a=this[_0x22cf0d(0x13e)],_0x4b6a3b=_0x2c543a[_0x22cf0d(0x13c)],_0x31e64c=_0x2c543a[_0x22cf0d(0x149)][_0x22cf0d(0x144)](_0x22cf0d(0x131)),_0x34206e=_0x4c78d5(_0x2c543a),_0xab418d=_0x2c543a[_0x22cf0d(0x12a)][_0x22cf0d(0x144)]({'rootName':_0x34206e}),_0x2480c2=_0x989cf8(_0xab418d),_0x59adc3=new _0x517fe4(_0x4b6a3b,{'syntaxLanguage':_0x2c543a[_0x22cf0d(0x149)][_0x22cf0d(0x148)](_0x22cf0d(0x12c))?_0x22cf0d(0x136):_0x22cf0d(0x157),'theme':_0x2c543a[_0x22cf0d(0x13f)][_0x22cf0d(0x144)](_0x22cf0d(0x135))});let _0x3d731b=!0x0;const _0x3482f4=_0x25e32a=>{const _0x304a63=_0x22cf0d;if(!_0x3d731b)return;const _0x53f9a2=_0x59adc3[_0x304a63(0x126)]();return _0xb3fc31(_0x53f9a2)!==_0xb3fc31(_0x2480c2)?window[_0x304a63(0x138)](_0x271a7c(_0x4b6a3b,_0x304a63(0x12b)))?void 0x0:_0x25e32a[_0x304a63(0x14d)]():void 0x0;};_0x31e64c[_0x22cf0d(0x158)]({'id':_0x22cf0d(0x132),'title':_0x271a7c(_0x4b6a3b,_0x22cf0d(0x147)),'isModal':!0x0,'className':_0x22cf0d(0x128),'content':_0x59adc3,'actionButtons':[{'label':_0x271a7c(_0x4b6a3b,_0x22cf0d(0x146)),'withText':!0x0,'onExecute':()=>{const _0x22bea4=_0x22cf0d;_0x31e64c[_0x22bea4(0x153)]();}},{'label':_0x271a7c(_0x4b6a3b,_0x22cf0d(0x14c)),'class':_0x22cf0d(0x12d),'withText':!0x0,'onExecute':()=>{const _0x2f63a1=_0x22cf0d,_0x3dbccb=_0x59adc3[_0x2f63a1(0x126)](),_0x22d8eb=_0xb3fc31(_0x3dbccb)!==_0xb3fc31(_0x2480c2);(_0x22d8eb&&_0x2c543a[_0x2f63a1(0x142)](_0x2f63a1(0x133),_0x59adc3[_0x2f63a1(0x126)]()),_0x3d731b=!0x1,_0x31e64c[_0x2f63a1(0x153)](),_0x22d8eb&&_0x2f63a1(0x152)in _0x2c543a['ui'][_0x2f63a1(0x140)])&&_0x2c543a['ui'][_0x2f63a1(0x140)][_0x2f63a1(0x152)][_0x34206e][_0x2f63a1(0x124)][_0x2f63a1(0x145)]();},'onCreate':_0x44ddd3=>{const _0x263cc4=_0x22cf0d;_0x44ddd3[_0x263cc4(0x121)](_0x263cc4(0x159),!_0x2c543a[_0x263cc4(0x13b)]),_0x44ddd3[_0x263cc4(0x15b)](_0x263cc4(0x159))['to'](_0x2c543a,_0x263cc4(0x13b),this,_0x263cc4(0x159),(_0x31aee1,_0x2ef83c)=>!_0x31aee1&&_0x2ef83c);}}],'onHide':()=>{const _0x11d0cd=_0x22cf0d;this[_0x11d0cd(0x125)](),_0x31e64c[_0x11d0cd(0x141)](_0x11d0cd(0x153),_0x3482f4),_0x59adc3[_0x11d0cd(0x130)]();},'onShow':()=>{const _0x6fee45=_0x22cf0d;_0x59adc3[_0x6fee45(0x15b)](_0x6fee45(0x13b))['to'](_0x2c543a,_0x6fee45(0x13b),this,_0x6fee45(0x159),(_0x4808fa,_0x5e9988)=>_0x4808fa||!_0x5e9988),_0x59adc3[_0x6fee45(0x122)](_0x2480c2),_0x59adc3[_0x6fee45(0x145)](),_0x31e64c['on'](_0x6fee45(0x153),_0x3482f4,{'priority':_0x6fee45(0x150)}),this[_0x6fee45(0x14e)]();}});}}function _0x2279(){const _0x193f5e=['Cancel','Edit\x20source\x20modal\x20label','has','plugins','4655265VUABNy','affectsData','Save','stop','_disableCommands','SourceEditingEnhancedMode','highest','129kBFpaz','editables','hide','refresh','clearForceDisabled','47789109dBLrmc','html','show','isEnabled','includes','bind','change:hasAny','set','setData','3042741KDnxUE','element','_enableCommands','getData','995244GkFIwG','ck-source-editing-enhanced-dialog','35PsaDuz','data','Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.','Markdown','ck-button-action','12406HQFZFN','commands','destroy','Dialog','sourceEditingEnhanced','replaceSource','pendingActions','sourceEditingEnhanced.theme','markdown','1203876RGHXEv','confirm','5613048mMqjGh','names','isReadOnly','locale','forceDisabled','editor','config','view','off','execute','editSource','get','focus'];_0x2279=function(){return _0x193f5e;};return _0x2279();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x2de613,_0x1502f6){const _0x7807ea=_0x2492,_0x12e560=_0x2de613();while(!![]){try{const _0x32f137=parseInt(_0x7807ea(0x1f2))/0x1*(-parseInt(_0x7807ea(0x209))/0x2)+parseInt(_0x7807ea(0x200))/0x3+-parseInt(_0x7807ea(0x1f4))/0x4*(-parseInt(_0x7807ea(0x1f9))/0x5)+parseInt(_0x7807ea(0x20b))/0x6*(-parseInt(_0x7807ea(0x20a))/0x7)+-parseInt(_0x7807ea(0x206))/0x8+-parseInt(_0x7807ea(0x211))/0x9+parseInt(_0x7807ea(0x1fc))/0xa;if(_0x32f137===_0x1502f6)break;else _0x12e560['push'](_0x12e560['shift']());}catch(_0x4e7d72){_0x12e560['push'](_0x12e560['shift']());}}}(_0x4ecc,0x674a9));import{lineNumbers as _0x2f0fae,highlightActiveLineGutter as _0x39d641,highlightSpecialChars as _0x504333,drawSelection as _0x54de7b,dropCursor as _0x2d9be4,rectangularSelection as _0x575d00,crosshairCursor as _0x282b66,highlightActiveLine as _0x1621bb,keymap as _0x3b6753,EditorView as _0x683c47}from'@codemirror/view';import{Compartment as _0x3ed7fb,Transaction as _0xafcd59}from'@codemirror/state';import{foldGutter as _0x1c99ce,indentOnInput as _0x2a0c1d,syntaxHighlighting as _0x246553,defaultHighlightStyle as _0x12065f,bracketMatching as _0x22f332,foldKeymap as _0x5ed024}from'@codemirror/language';import{history as _0x96addb,defaultKeymap as _0x1c488d,historyKeymap as _0x1e1753,redo as _0x3fbae9,undo as _0x513ca2,indentMore as _0x2ce4ec,indentLess as _0x39d246,toggleTabFocusMode as _0x2ad70b}from'@codemirror/commands';import{closeBrackets as _0x2ead07,autocompletion as _0x442c15,closeBracketsKeymap as _0x5503ad,completionKeymap as _0x3ecb72}from'@codemirror/autocomplete';import{html as _0x166746}from'@codemirror/lang-html';function _0x2492(_0x2765fb,_0x1220a9){const _0x4ecc45=_0x4ecc();return _0x2492=function(_0x2492b6,_0x527cc0){_0x2492b6=_0x2492b6-0x1f1;let _0x4a9055=_0x4ecc45[_0x2492b6];return _0x4a9055;},_0x2492(_0x2765fb,_0x1220a9);}function _0x4ecc(){const _0x27c65a=['focus','Ctrl-z','19445730glZbpK','reconfigure','Cmd-Shift-z','editable','681279sKoiLK','length','html','lineWrapping','toString','state','6085064dkJfDu','default','Cmd-z','12bQDJlD','4325153PoeSju','6PXCvaX','parent','syntaxLanguage','Ctrl-Shift-z','Tab','doc','1958409iovqFu','dark','push','Cmd-y','84948JFafyj','destroy','59536rsphmn','dispatch','addToHistory','Ctrl-y','theme','120aZtLBU'];_0x4ecc=function(){return _0x27c65a;};return _0x4ecc();}import{markdown as _0x2b79b3}from'@codemirror/lang-markdown';import{oneDark as _0x56e604}from'@codemirror/theme-one-dark';export function createCodeMirrorEditor(_0x54abc7){const _0x30ccf9=_0x2492,_0x18bfe=[_0x683c47[_0x30ccf9(0x203)],_0x442c15(),_0x22f332(),_0x2ead07(),_0x282b66(),_0x54de7b(),_0x2d9be4(),_0x2f0fae(),_0x1c99ce(),_0x1621bb(),_0x39d641(),_0x504333(),_0x96addb(),_0x2a0c1d(),_0x575d00(),_0x246553(_0x12065f,{'fallback':!0x0})],_0x1dd189=new _0x3ed7fb();_0x18bfe[_0x30ccf9(0x213)](_0x1dd189['of'](_0x683c47[_0x30ccf9(0x1ff)]['of'](!0x0))),_0x30ccf9(0x202)===_0x54abc7[_0x30ccf9(0x20d)]?_0x18bfe[_0x30ccf9(0x213)](_0x166746()):_0x18bfe[_0x30ccf9(0x213)](_0x2b79b3());const _0x50c24a=function(_0x39e554){const _0x4aac55=_0x30ccf9;if(_0x39e554&&_0x4aac55(0x207)!==_0x39e554)return _0x4aac55(0x212)===_0x39e554?_0x56e604:_0x39e554;return null;}(_0x54abc7[_0x30ccf9(0x1f8)]);_0x50c24a&&_0x18bfe[_0x30ccf9(0x213)](_0x50c24a),_0x18bfe[_0x30ccf9(0x213)](...getKeybindings());const _0x5777e7=new _0x683c47({'extensions':_0x18bfe,'parent':_0x54abc7[_0x30ccf9(0x20c)]});return _0x2ad70b(_0x5777e7),{'focus':()=>{const _0x479593=_0x30ccf9;_0x5777e7[_0x479593(0x1f5)]({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x5777e7[_0x479593(0x1fa)]();},'getData':()=>_0x5777e7[_0x30ccf9(0x205)][_0x30ccf9(0x210)][_0x30ccf9(0x204)](),'setData':_0x52ad1b=>{const _0x2591a9=_0x30ccf9;_0x5777e7[_0x2591a9(0x1f5)]({'changes':{'from':0x0,'to':_0x5777e7[_0x2591a9(0x205)][_0x2591a9(0x210)][_0x2591a9(0x201)],'insert':_0x52ad1b},'annotations':_0xafcd59[_0x2591a9(0x1f6)]['of'](!0x1)});},'setReadOnly':_0x3f59ca=>{const _0xb57199=_0x30ccf9;_0x5777e7[_0xb57199(0x1f5)]({'effects':[_0x1dd189[_0xb57199(0x1fd)](_0x683c47[_0xb57199(0x1ff)]['of'](!_0x3f59ca))]});},'destroy':()=>{const _0x412192=_0x30ccf9;_0x5777e7[_0x412192(0x1f3)]();},'instance':_0x5777e7};}export function getKeybindings(){const _0x2af8ed=_0x2492;return[_0x3b6753['of']([..._0x5503ad,..._0x1c488d,..._0x1e1753,..._0x5ed024,..._0x3ecb72,{'key':_0x2af8ed(0x20f),'run':_0x2ce4ec,'shift':_0x39d246,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':_0x2af8ed(0x1f7),'mac':_0x2af8ed(0x1f1),'run':_0x3fbae9,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':_0x2af8ed(0x20e),'mac':_0x2af8ed(0x1fe),'run':_0x3fbae9,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':_0x2af8ed(0x1fb),'mac':_0x2af8ed(0x208),'run':_0x513ca2,'preventDefault':!0x0,'stopPropagation':!0x0}])];}
23
+ (function(_0x239f1b,_0x443f2e){const _0x3db16b=_0x15c3,_0x237624=_0x239f1b();while(!![]){try{const _0x584457=-parseInt(_0x3db16b(0x10a))/0x1+parseInt(_0x3db16b(0xec))/0x2*(-parseInt(_0x3db16b(0x108))/0x3)+parseInt(_0x3db16b(0x105))/0x4*(-parseInt(_0x3db16b(0x109))/0x5)+parseInt(_0x3db16b(0x10b))/0x6+parseInt(_0x3db16b(0xf2))/0x7+-parseInt(_0x3db16b(0x10c))/0x8+parseInt(_0x3db16b(0x104))/0x9;if(_0x584457===_0x443f2e)break;else _0x237624['push'](_0x237624['shift']());}catch(_0x54d611){_0x237624['push'](_0x237624['shift']());}}}(_0x1929,0x88c90));function _0x1929(){const _0x309c1c=['75992YSqcVo','2517300gwXeRM','8009072ejbagw','theme','285924PhnGib','Ctrl-z','Ctrl-y','Tab','dispatch','destroy','1917328vFnxbz','doc','addToHistory','default','dark','html','focus','lineWrapping','Cmd-y','push','length','parent','Ctrl-Shift-z','reconfigure','syntaxLanguage','Cmd-z','state','editable','16762221XMWaTR','2724kFxaQc','toString','Cmd-Shift-z','9KAlEbI','3595iOtQhT'];_0x1929=function(){return _0x309c1c;};return _0x1929();}import{lineNumbers as _0x4c5053,highlightActiveLineGutter as _0x507a2f,highlightSpecialChars as _0x4e06f7,drawSelection as _0x42c04d,dropCursor as _0x484543,rectangularSelection as _0x3f64a8,crosshairCursor as _0x1359d8,highlightActiveLine as _0x2018be,keymap as _0x1a9833,EditorView as _0x29073d}from'@codemirror/view';import{Compartment as _0x30f97d,Transaction as _0x5206d3}from'@codemirror/state';import{foldGutter as _0x1d1470,indentOnInput as _0x38a81d,syntaxHighlighting as _0x293f27,defaultHighlightStyle as _0x4a663c,bracketMatching as _0x3fd7ef,foldKeymap as _0x3b1d66}from'@codemirror/language';function _0x15c3(_0x1e6ee0,_0x16e1bd){const _0x192967=_0x1929();return _0x15c3=function(_0x15c357,_0x589a49){_0x15c357=_0x15c357-0xec;let _0x4abe9d=_0x192967[_0x15c357];return _0x4abe9d;},_0x15c3(_0x1e6ee0,_0x16e1bd);}import{history as _0xdcf0d1,defaultKeymap as _0x57edfc,historyKeymap as _0x1e966d,redo as _0x2a8de8,undo as _0xab099e,indentMore as _0x25855d,indentLess as _0x4487a1,toggleTabFocusMode as _0x316650}from'@codemirror/commands';import{closeBrackets as _0x358b5d,autocompletion as _0x5bcb8b,closeBracketsKeymap as _0x315ceb,completionKeymap as _0xe0ff96}from'@codemirror/autocomplete';import{html as _0x190ecd}from'@codemirror/lang-html';import{markdown as _0x2c7df9}from'@codemirror/lang-markdown';import{oneDark as _0x20139c}from'@codemirror/theme-one-dark';export function createCodeMirrorEditor(_0x1a0e80){const _0x136320=_0x15c3,_0x3ea3ac=[_0x29073d[_0x136320(0xf9)],_0x5bcb8b(),_0x3fd7ef(),_0x358b5d(),_0x1359d8(),_0x42c04d(),_0x484543(),_0x4c5053(),_0x1d1470(),_0x2018be(),_0x507a2f(),_0x4e06f7(),_0xdcf0d1(),_0x38a81d(),_0x3f64a8(),_0x293f27(_0x4a663c,{'fallback':!0x0})],_0x58ca15=new _0x30f97d();_0x3ea3ac[_0x136320(0xfb)](_0x58ca15['of'](_0x29073d[_0x136320(0x103)]['of'](!0x0))),_0x136320(0xf7)===_0x1a0e80[_0x136320(0x100)]?_0x3ea3ac[_0x136320(0xfb)](_0x190ecd()):_0x3ea3ac[_0x136320(0xfb)](_0x2c7df9());const _0x45852b=function(_0x2becd6){const _0x545f12=_0x136320;if(_0x2becd6&&_0x545f12(0xf5)!==_0x2becd6)return _0x545f12(0xf6)===_0x2becd6?_0x20139c:_0x2becd6;return null;}(_0x1a0e80[_0x136320(0x10d)]);_0x45852b&&_0x3ea3ac[_0x136320(0xfb)](_0x45852b),_0x3ea3ac[_0x136320(0xfb)](...getKeybindings());const _0x4cff29=new _0x29073d({'extensions':_0x3ea3ac,'parent':_0x1a0e80[_0x136320(0xfd)]});return _0x316650(_0x4cff29),{'focus':()=>{const _0x56356c=_0x136320;_0x4cff29[_0x56356c(0xf0)]({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x4cff29[_0x56356c(0xf8)]();},'getData':()=>_0x4cff29[_0x136320(0x102)][_0x136320(0xf3)][_0x136320(0x106)](),'setData':_0x18f2de=>{const _0x3b114e=_0x136320;_0x4cff29[_0x3b114e(0xf0)]({'changes':{'from':0x0,'to':_0x4cff29[_0x3b114e(0x102)][_0x3b114e(0xf3)][_0x3b114e(0xfc)],'insert':_0x18f2de},'annotations':_0x5206d3[_0x3b114e(0xf4)]['of'](!0x1)});},'setReadOnly':_0x54a9cb=>{const _0x412298=_0x136320;_0x4cff29[_0x412298(0xf0)]({'effects':[_0x58ca15[_0x412298(0xff)](_0x29073d[_0x412298(0x103)]['of'](!_0x54a9cb))]});},'destroy':()=>{const _0x55295b=_0x136320;_0x4cff29[_0x55295b(0xf1)]();},'instance':_0x4cff29};}export function getKeybindings(){const _0xd5bd3f=_0x15c3;return[_0x1a9833['of']([..._0x315ceb,..._0x57edfc,..._0x1e966d,..._0x3b1d66,..._0xe0ff96,{'key':_0xd5bd3f(0xef),'run':_0x25855d,'shift':_0x4487a1,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':_0xd5bd3f(0xee),'mac':_0xd5bd3f(0xfa),'run':_0x2a8de8,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':_0xd5bd3f(0xfe),'mac':_0xd5bd3f(0x107),'run':_0x2a8de8,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':_0xd5bd3f(0xed),'mac':_0xd5bd3f(0x101),'run':_0xab099e,'preventDefault':!0x0,'stopPropagation':!0x0}])];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x4b1651,_0x39e6d5){var _0x4b0743=_0x1d20,_0x2ac227=_0x4b1651();while(!![]){try{var _0xc7a8b0=-parseInt(_0x4b0743(0xb4))/0x1*(parseInt(_0x4b0743(0xb6))/0x2)+parseInt(_0x4b0743(0xba))/0x3+-parseInt(_0x4b0743(0xb7))/0x4*(parseInt(_0x4b0743(0xb0))/0x5)+parseInt(_0x4b0743(0xb3))/0x6+parseInt(_0x4b0743(0xbc))/0x7+-parseInt(_0x4b0743(0xb2))/0x8*(-parseInt(_0x4b0743(0xb9))/0x9)+parseInt(_0x4b0743(0xb8))/0xa*(-parseInt(_0x4b0743(0xb1))/0xb);if(_0xc7a8b0===_0x39e6d5)break;else _0x2ac227['push'](_0x2ac227['shift']());}catch(_0x1ccbfa){_0x2ac227['push'](_0x2ac227['shift']());}}}(_0x5637,0x4e7af));function _0x5637(){var _0x18631a=['2035733PxZTEi','857865pFDcMj','319AozxFI','554008IJgSna','2970864JMMlxX','879KJPWDz','startsWith','26gUPgtO','4GuEvms','413570ypagFR','54YoLqwE','1507017EPVwAT','replace'];_0x5637=function(){return _0x18631a;};return _0x5637();}import{formatHtml as _0x2f03b6}from'ckeditor5/src/utils.js';export function formatSource(_0x3c30da){return X(_0x3c30da)?_0x2f03b6(_0x3c30da):_0x3c30da;}export function unformatSource(_0x155cea){var _0x4f07ee=_0x1d20;return X(_0x155cea[_0x4f07ee(0xbb)](/^[\n\s]*/g,''))?_0x155cea[_0x4f07ee(0xbb)](/\s+/g,''):_0x155cea;}function _0x1d20(_0x518e0d,_0x53c7bb){var _0x563747=_0x5637();return _0x1d20=function(_0x1d20e9,_0x470dea){_0x1d20e9=_0x1d20e9-0xb0;var _0x51e2cf=_0x563747[_0x1d20e9];return _0x51e2cf;},_0x1d20(_0x518e0d,_0x53c7bb);}function X(_0x27b9c8){var _0x3c3132=_0x1d20;return _0x27b9c8[_0x3c3132(0xb5)]('<');}
23
+ (function(_0x11db07,_0x2a60b8){var _0x65f612=_0x116e,_0x5c2f2c=_0x11db07();while(!![]){try{var _0x189623=parseInt(_0x65f612(0x1e2))/0x1*(parseInt(_0x65f612(0x1e1))/0x2)+parseInt(_0x65f612(0x1db))/0x3*(-parseInt(_0x65f612(0x1de))/0x4)+parseInt(_0x65f612(0x1d8))/0x5+-parseInt(_0x65f612(0x1df))/0x6+-parseInt(_0x65f612(0x1e0))/0x7*(parseInt(_0x65f612(0x1da))/0x8)+parseInt(_0x65f612(0x1dc))/0x9*(parseInt(_0x65f612(0x1dd))/0xa)+parseInt(_0x65f612(0x1e5))/0xb*(parseInt(_0x65f612(0x1d9))/0xc);if(_0x189623===_0x2a60b8)break;else _0x5c2f2c['push'](_0x5c2f2c['shift']());}catch(_0x356597){_0x5c2f2c['push'](_0x5c2f2c['shift']());}}}(_0x3f91,0x260f1));import{formatHtml as _0x4d5bd5}from'ckeditor5/src/utils.js';export function formatSource(_0x2f4031){return tr(_0x2f4031)?_0x4d5bd5(_0x2f4031):_0x2f4031;}export function unformatSource(_0x4ee9ee){var _0x477ee7=_0x116e;return tr(_0x4ee9ee[_0x477ee7(0x1e3)](/^[\n\s]*/g,''))?_0x4ee9ee[_0x477ee7(0x1e3)](/\s+/g,''):_0x4ee9ee;}function _0x3f91(){var _0x9781f5=['79XlaXgk','replace','startsWith','8327wCDETW','135305NtgNCK','9756OxKqYz','136OUUjax','74079Asmydu','10971NbPsTW','1190NVxZiN','48Bzvuhv','1495872hgIeIU','106540pqaDhZ','4372AxfdYN'];_0x3f91=function(){return _0x9781f5;};return _0x3f91();}function _0x116e(_0x2316c5,_0x2cda5b){var _0x3f91a9=_0x3f91();return _0x116e=function(_0x116ed4,_0x33b66d){_0x116ed4=_0x116ed4-0x1d8;var _0x57ca67=_0x3f91a9[_0x116ed4];return _0x57ca67;},_0x116e(_0x2316c5,_0x2cda5b);}function tr(_0x3f5ea6){var _0x6eb1b9=_0x116e;return _0x3f5ea6[_0x6eb1b9(0x1e4)]('<');}