@ckeditor/ckeditor5-source-editing-enhanced 47.7.3-alpha.0 → 47.7.3

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 _0x321499,PendingActions as _0x21ba2a,Plugin as _0x1dc1ff}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x59c7ed,formatHtml as _0x3f712e,env as _0x32dda1,uid as _0x2f1df0}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconSource as _0xd8af46}from'@ckeditor/ckeditor5-icons/dist/index.js';import{View as _0x55b8e3,ButtonView as _0x4098ae,MenuBarMenuListItemButtonView as _0x32857f}from'@ckeditor/ckeditor5-ui/dist/index.js';import{EditorView as _0x4fe398,crosshairCursor as _0x5ee093,drawSelection as _0x5275b1,dropCursor as _0x472257,lineNumbers as _0x5b9f2e,highlightActiveLine as _0x744e9,highlightActiveLineGutter as _0x317130,highlightSpecialChars as _0x348e1a,rectangularSelection as _0x300ebe,keymap as _0x4a2084}from'@codemirror/view';import{Compartment as _0x4fe74e,Transaction as _0xd179e2}from'@codemirror/state';import{bracketMatching as _0x19e912,foldGutter as _0xe2903a,indentOnInput as _0xfe4994,syntaxHighlighting as _0x1e0809,defaultHighlightStyle as _0x10c5ee,foldKeymap as _0x13deed}from'@codemirror/language';import{toggleTabFocusMode as _0x5bd588,history as _0x1b5da6,defaultKeymap as _0x107826,historyKeymap as _0x482f46,indentLess as _0x1d205b,indentMore as _0x2befa8,redo as _0x5d97a6,undo as _0x51c9a9}from'@codemirror/commands';import{autocompletion as _0x1c36d8,closeBrackets as _0x37397a,closeBracketsKeymap as _0x26e103,completionKeymap as _0x2ec3a9}from'@codemirror/autocomplete';import{html as _0x275c0c}from'@codemirror/lang-html';import{markdown as _0x468e57}from'@codemirror/lang-markdown';import{oneDark as _0x508d35}from'@codemirror/theme-one-dark';function w(_0x4386d7,_0x5ce309){const t=_0x4386d7['t'];switch(_0x5ce309){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 _0x5ce309;}}function r(_0x5c3ee6){const _0x1fa2c5=_0x5c3ee6['editing']['view']['document']['roots'],_0x31f8aa=_0x1fa2c5['length'];if(0x0===_0x31f8aa)throw new _0x59c7ed('source-editing-enhanced-editor-no-root',_0x5c3ee6);if(0x1===_0x31f8aa)return _0x1fa2c5['first']['rootName'];return Array['from'](_0x5c3ee6['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function g(_0x3fdea4){return tr(_0x3fdea4['replace'](/^[\n\s]*/g,''))?_0x3fdea4['replace'](/\s+/g,''):_0x3fdea4;}function tr(_0x5311d3){return _0x5311d3['startsWith']('<');}function p(_0xcee8b){const _0x15ac22=[_0x4fe398['lineWrapping'],_0x1c36d8(),_0x19e912(),_0x37397a(),_0x5ee093(),_0x5275b1(),_0x472257(),_0x5b9f2e(),_0xe2903a(),_0x744e9(),_0x317130(),_0x348e1a(),_0x1b5da6(),_0xfe4994(),_0x300ebe(),_0x1e0809(_0x10c5ee,{'fallback':!0x0})],_0x5c2e47=new _0x4fe74e();_0x15ac22['push'](_0x5c2e47['of'](_0x4fe398['editable']['of'](!0x0))),'html'===_0xcee8b['syntaxLanguage']?_0x15ac22['push'](_0x275c0c()):_0x15ac22['push'](_0x468e57());const _0x2fb553=function(_0x26fa6e){if(_0x26fa6e&&'default'!==_0x26fa6e)return'dark'===_0x26fa6e?_0x508d35:_0x26fa6e;return null;}(_0xcee8b['theme']);_0x2fb553&&_0x15ac22['push'](_0x2fb553),_0x15ac22['push'](_0x4a2084['of']([..._0x26e103,..._0x107826,..._0x482f46,..._0x13deed,..._0x2ec3a9,{'key':'Tab','run':_0x2befa8,'shift':_0x1d205b,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-y','mac':'Cmd-y','run':_0x5d97a6,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-Shift-z','mac':'Cmd-Shift-z','run':_0x5d97a6,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-z','mac':'Cmd-z','run':_0x51c9a9,'preventDefault':!0x0,'stopPropagation':!0x0}]));const _0x2b85a2=new _0x4fe398({'extensions':_0x15ac22,'parent':_0xcee8b['parent']});return _0x5bd588(_0x2b85a2),{'focus':()=>{_0x2b85a2['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x2b85a2['focus']();},'getData':()=>_0x2b85a2['state']['doc']['toString'](),'setData':_0x5b8289=>{_0x2b85a2['dispatch']({'changes':{'from':0x0,'to':_0x2b85a2['state']['doc']['length'],'insert':_0x5b8289},'annotations':_0xd179e2['addToHistory']['of'](!0x1)});},'setReadOnly':_0x4427c6=>{_0x2b85a2['dispatch']({'effects':[_0x5c2e47['reconfigure'](_0x4fe398['editable']['of'](!_0x4427c6))]});},'destroy':()=>{_0x2b85a2['destroy']();},'instance':_0x2b85a2};}class E extends _0x55b8e3{['_codeEditorApi']=null;['_options'];constructor(_0x4797cc,_0x3a9aa6){super(_0x4797cc),this['_options']=_0x3a9aa6,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',(_0x4e46ca,_0x5a9332,_0x2db899)=>{this['setReadOnly'](_0x2db899);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0x32ba47){this['_codeEditorApi']['setData'](_0x32ba47);}['setReadOnly'](_0x5bbd4c){this['_codeEditorApi']['setReadOnly'](_0x5bbd4c);}}const b='SourceEditingEnhancedMode';class d extends _0x321499{constructor(_0x462da8){super(_0x462da8),this['affectsData']=!0x1,this['editor']['plugins']['get'](_0x21ba2a)['on']('change:hasAny',(_0x24766d,_0x17cdcf,_0x8e0a7c)=>{_0x8e0a7c?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['_disableCommands'](){const _0x29e4b4=this['editor'];for(const _0x23ef08 of _0x29e4b4['commands']['names']())['replaceSource','editSource']['includes'](_0x23ef08)||_0x29e4b4['commands']['get'](_0x23ef08)['forceDisabled'](b);}['_enableCommands'](){const _0x540c5d=this['editor'];for(const _0xeaedbf of _0x540c5d['commands']['commands']())_0xeaedbf['clearForceDisabled'](b);}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x29ea39=this['editor'],_0x11f8e1=_0x29ea39['locale'],_0x98a570=_0x29ea39['plugins']['get']('Dialog'),_0x51fc69=r(_0x29ea39),_0x1fc4df=_0x29ea39['data']['get']({'rootName':_0x51fc69}),_0x2a4541=tr(_0x47cf0e=_0x1fc4df)?_0x3f712e(_0x47cf0e):_0x47cf0e;var _0x47cf0e;const _0x169460=new E(_0x11f8e1,{'syntaxLanguage':_0x29ea39['plugins']['has']('Markdown')?'markdown':'html','theme':_0x29ea39['config']['get']('sourceEditingEnhanced.theme')});let _0x38e77d=!0x0;const _0x18221e=_0x3d258b=>{if(!_0x38e77d)return;return g(_0x169460['getData']())!==g(_0x2a4541)?window['confirm'](w(_0x11f8e1,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0x3d258b['stop']():void 0x0;};_0x98a570['show']({'id':'sourceEditingEnhanced','title':w(_0x11f8e1,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0x169460,'actionButtons':[{'label':w(_0x11f8e1,'Cancel'),'withText':!0x0,'onExecute':()=>{_0x98a570['hide']();}},{'label':w(_0x11f8e1,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0x56fb03=g(_0x169460['getData']())!==g(_0x2a4541);(_0x56fb03&&_0x29ea39['execute']('replaceSource',_0x169460['getData']()),_0x38e77d=!0x1,_0x98a570['hide'](),_0x56fb03&&'editables'in _0x29ea39['ui']['view'])&&_0x29ea39['ui']['view']['editables'][_0x51fc69]['element']['focus']();},'onCreate':_0x4b8f=>{_0x4b8f['set']('isEnabled',!_0x29ea39['isReadOnly']),_0x4b8f['bind']('isEnabled')['to'](_0x29ea39,'isReadOnly',this,'isEnabled',(_0x3abcb1,_0x3afca0)=>!_0x3abcb1&&_0x3afca0);}}],'onHide':()=>{this['_enableCommands'](),_0x98a570['off']('hide',_0x18221e),_0x169460['destroy']();},'onShow':()=>{_0x169460['bind']('isReadOnly')['to'](_0x29ea39,'isReadOnly',this,'isEnabled',(_0x17ef59,_0x6d9c17)=>_0x17ef59||!_0x6d9c17),_0x169460['setData'](_0x2a4541),_0x169460['focus'](),_0x98a570['on']('hide',_0x18221e,{'priority':'highest'}),this['_disableCommands']();}});}}class a extends _0x1dc1ff{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[_0x21ba2a];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x1523fe=this['editor'],_0x2343ce=_0x1523fe['locale'],_0x3f0fdc=new d(_0x1523fe);_0x1523fe['commands']['add']('editSource',_0x3f0fdc),_0x1523fe['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0x47e9d5=this['_createButton'](_0x4098ae,_0x3f0fdc);return _0x47e9d5['set']({'label':w(_0x2343ce,'Source'),'icon':_0xd8af46,'tooltip':w(_0x2343ce,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0x47e9d5;}),_0x1523fe['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0x3723e6=this['_createButton'](_0x32857f,_0x3f0fdc,!0x0);return _0x3723e6['set']({'label':w(_0x2343ce,'Edit\x20source\x20modal\x20label'),'icon':_0xd8af46,'role':'menuitemcheckbox'}),_0x3723e6;}),this['_registerKeybindings']();}['afterInit'](){!async function(_0x6babcb){const _0x401278=_0xf30db7([0x4e,0x51,0x56,0x58,0x79,0x42,0x46,0x48,0x4a,0x7a,0x72,0x38,0x57,0x47,0x49,0x34,0x61,0x5a,0x6e,0x54,0x65,0x6f,0x55,0x78,0x36,0x70,0x39,0x6a,0x66,0x76,0x33,0x44,0x69,0x74,0x4c,0x77,0x75,0x63,0x6b,0x59,0x6c,0x68,0x64,0x4d,0x41,0x32,0x4b,0x35,0x53,0x37,0x6d,0x62,0x43,0x4f,0x50,0x45,0x73,0x31,0x71,0x67,0x52,0x30]),_0x36bcc8=0x5dba9314,_0xac0c8=0x5dbd1cd4^_0x36bcc8,_0x37dd56=window[_0xf30db7([0x44,0x61,0x74,0x65])][_0xf30db7([0x6e,0x6f,0x77])](),_0x42a27a=_0x6babcb[_0xf30db7([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xc8e482=new window[(_0xf30db7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x372b63=>{_0x42a27a[_0xf30db7([0x6f,0x6e,0x63,0x65])](_0xf30db7([0x72,0x65,0x61,0x64,0x79]),_0x372b63);}),_0x357bea={[_0xf30db7([0x6b,0x74,0x79])]:_0xf30db7([0x45,0x43]),[_0xf30db7([0x75,0x73,0x65])]:_0xf30db7([0x73,0x69,0x67]),[_0xf30db7([0x63,0x72,0x76])]:_0xf30db7([0x50,0x2d,0x32,0x35,0x36]),[_0xf30db7([0x78])]:_0xf30db7([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]),[_0xf30db7([0x79])]:_0xf30db7([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]),[_0xf30db7([0x61,0x6c,0x67])]:_0xf30db7([0x45,0x53,0x32,0x35,0x36])},_0x1d05a9=_0x42a27a[_0xf30db7([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xf30db7([0x67,0x65,0x74])](_0xf30db7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x118d17(){let _0x449720,_0x324a89=null,_0x25455a=null;try{if(_0x1d05a9==_0xf30db7([0x47,0x50,0x4c]))return _0xf30db7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x449720=_0x2bf093(),!_0x449720)return _0xf30db7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x449720[_0xf30db7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x25455a=_0x3df2d6(_0x449720[_0xf30db7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x449720[_0xf30db7([0x6a,0x74,0x69])])),await _0x388224()?_0x5bb19a()?_0x6950bd()?_0xf30db7([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xd72b68()?(_0x449720[_0xf30db7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xf30db7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x324a89=_0x593c19(_0xf30db7([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x7f2a79()):_0xf30db7([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xf30db7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xf30db7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xf30db7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x6950bd(){const _0x2aaab7=[_0xf30db7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xf30db7([0x74,0x72,0x69,0x61,0x6c])][_0xf30db7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x449720[_0xf30db7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x37dd56/0x3e8:0xe10*_0xac0c8;return _0x449720[_0xf30db7([0x65,0x78,0x70])]<_0x2aaab7;}function _0x5bb19a(){const _0x5c1f90=_0x449720[_0xf30db7([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5c1f90&&(!!_0x5c1f90[_0xf30db7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xf30db7([0x2a]))||!!_0x5c1f90[_0xf30db7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xf30db7([0x53,0x45,0x45])));}function _0xd72b68(){const _0xbce162=_0x449720[_0xf30db7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xbce162||0x0==_0xbce162[_0xf30db7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1c1d20}=new URL(window[_0xf30db7([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0xbce162[_0xf30db7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1c1d20))return!0x0;const _0xf6ff2f=_0x1c1d20[_0xf30db7([0x73,0x70,0x6c,0x69,0x74])](_0xf30db7([0x2e]));return _0xbce162[_0xf30db7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x25c5dc=>_0x25c5dc[_0xf30db7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xf30db7([0x2a])))[_0xf30db7([0x6d,0x61,0x70])](_0x1fa54d=>_0x1fa54d[_0xf30db7([0x73,0x70,0x6c,0x69,0x74])](_0xf30db7([0x2e])))[_0xf30db7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x197465=>_0x197465[_0xf30db7([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xf6ff2f[_0xf30db7([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xf30db7([0x6d,0x61,0x70])](_0x482435=>Array(_0xf6ff2f[_0xf30db7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x482435[_0xf30db7([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xf30db7([0x66,0x69,0x6c,0x6c])](_0x482435[0x0]===_0xf30db7([0x2a])?_0xf30db7([0x2a]):'')[_0xf30db7([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x482435))[_0xf30db7([0x73,0x6f,0x6d,0x65])](_0x14f1e8=>_0xf6ff2f[_0xf30db7([0x65,0x76,0x65,0x72,0x79])]((_0x42c4c7,_0x1b1ea4)=>_0x14f1e8[_0x1b1ea4]===_0x42c4c7||_0x14f1e8[_0x1b1ea4]===_0xf30db7([0x2a])));}function _0x7f2a79(){return _0x324a89&&_0x25455a?new window[(_0xf30db7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x48d824,_0x1621a1)=>{_0x324a89[_0xf30db7([0x74,0x68,0x65,0x6e])](_0x48d824,_0x1621a1),_0x25455a[_0xf30db7([0x74,0x68,0x65,0x6e])](_0x3e54b9=>{_0x3e54b9!=_0xf30db7([0x56,0x61,0x6c,0x69,0x64])&&_0x48d824(_0x3e54b9);},_0x1621a1);}):_0x324a89||_0x25455a||_0xf30db7([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3df2d6(_0x1557d9,_0x3e6fdf){return new window[(_0xf30db7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x29f4d9=>{if(_0x4f6ef6())return _0x29f4d9(_0xf30db7([0x56,0x61,0x6c,0x69,0x64]));_0x2321da(),_0x42a27a[_0xf30db7([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xf30db7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x29c061=!0x1;const _0x598316=_0x2f1df0();function _0x4fbe25(_0x38cf7b){return!!_0x38cf7b&&(typeof _0x38cf7b===_0xf30db7([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x38cf7b===_0xf30db7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x38cf7b[_0xf30db7([0x74,0x68,0x65,0x6e])]===_0xf30db7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x38cf7b[_0xf30db7([0x63,0x61,0x74,0x63,0x68])]===_0xf30db7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x36e845(_0x22bf8f){_0x40dff3(_0x22bf8f)[_0xf30db7([0x74,0x68,0x65,0x6e])](_0x1af802=>{if(!_0x1af802||_0x1af802[_0xf30db7([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xf30db7([0x6f,0x6b]))return _0xf30db7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5008ad(_0x130828(_0x598316+_0x3e6fdf))!=_0x1af802[_0xf30db7([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xf30db7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xf30db7([0x56,0x61,0x6c,0x69,0x64]);})[_0xf30db7([0x74,0x68,0x65,0x6e])](_0xe10d61=>(_0x516c13(),_0xe10d61),()=>{const _0x2c0db5=_0x18cf6f();return null==_0x2c0db5?(_0x516c13(),_0xf30db7([0x56,0x61,0x6c,0x69,0x64])):_0xf30db7(_0x37dd56-_0x2c0db5>(0x79b61714^_0x36bcc8)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xf30db7([0x74,0x68,0x65,0x6e])](_0x29f4d9)[_0xf30db7([0x63,0x61,0x74,0x63,0x68])](()=>{_0x29f4d9(_0xf30db7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4eefa1=0x5d8c7d94^_0x36bcc8;function _0x516c13(){const _0x30d422=_0xf30db7([0x6c,0x6c,0x63,0x74,0x2d])+_0x5008ad(_0x130828(_0x1557d9)),_0x15b999=_0x27e294(_0x5008ad(window[_0xf30db7([0x4d,0x61,0x74,0x68])][_0xf30db7([0x63,0x65,0x69,0x6c])](_0x37dd56/_0x4eefa1)));window[_0xf30db7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xf30db7([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x30d422,_0x15b999);}function _0x18cf6f(){const _0x40ec1d=_0xf30db7([0x6c,0x6c,0x63,0x74,0x2d])+_0x5008ad(_0x130828(_0x1557d9)),_0x2e9f56=window[_0xf30db7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xf30db7([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x40ec1d);return _0x2e9f56?window[_0xf30db7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x27e294(_0x2e9f56),0x10)*_0x4eefa1:null;}function _0x40dff3(_0x4c8477){return new window[(_0xf30db7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xd62eaf,_0x1bef24)=>{_0x4c8477[_0xf30db7([0x74,0x68,0x65,0x6e])](_0xd62eaf,_0x1bef24),window[_0xf30db7([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1bef24,0x5dbb47d4^_0x36bcc8);});}}_0x42a27a[_0xf30db7([0x6f,0x6e])](_0xf30db7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x257eea,_0x5129c1)=>{if(_0x5129c1[0x0]!=_0x1557d9)return _0x29f4d9(_0xf30db7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5129c1[0x1]={..._0x5129c1[0x1],[_0xf30db7([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x598316};},{[_0xf30db7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xf30db7([0x68,0x69,0x67,0x68])}),_0x42a27a[_0xf30db7([0x6f,0x6e])](_0xf30db7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4dbc3f=>{_0x4fbe25(_0x4dbc3f[_0xf30db7([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x29c061=!0x0,_0x36e845(_0x4dbc3f[_0xf30db7([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xf30db7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xf30db7([0x6c,0x6f,0x77])}),_0xc8e482[_0xf30db7([0x74,0x68,0x65,0x6e])](()=>{_0x29c061||_0x29f4d9(_0xf30db7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4f6ef6(){return _0x42a27a[_0xf30db7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xf30db7([0x76,0x69,0x65,0x77])][_0xf30db7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xf30db7([0x61,0x75,0x74,0x6f]);}function _0x2321da(){_0x42a27a[_0xf30db7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xf30db7([0x76,0x69,0x65,0x77])][_0xf30db7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xf30db7([0x61,0x75,0x74,0x6f]);}}function _0x593c19(_0x4edfd8){const _0xa217a8=[new window[(_0xf30db7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x945380=>setTimeout(_0x945380,0x5db3add8^_0x36bcc8)),_0xc8e482[_0xf30db7([0x74,0x68,0x65,0x6e])](()=>new window[(_0xf30db7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x477780=>{let _0x1a2239=0x0;_0x42a27a[_0xf30db7([0x6d,0x6f,0x64,0x65,0x6c])][_0xf30db7([0x6f,0x6e])](_0xf30db7([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1c7614,_0x4973ec)=>{_0x4973ec[0x0][_0xf30db7([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1a2239++,_0x1a2239==(0x5dba96fc^_0x36bcc8)&&(_0x477780(),_0x1c7614[_0xf30db7([0x6f,0x66,0x66])]());});}))];return window[_0xf30db7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xf30db7([0x72,0x61,0x63,0x65])](_0xa217a8)[_0xf30db7([0x74,0x68,0x65,0x6e])](()=>_0x4edfd8);}async function _0x31f1c3(){await _0xc8e482,_0x42a27a[_0xf30db7([0x6d,0x6f,0x64,0x65,0x6c])][_0xf30db7([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x30a595,_0x42a27a[_0xf30db7([0x6d,0x6f,0x64,0x65,0x6c])][_0xf30db7([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x30a595,_0x42a27a[_0xf30db7([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xf30db7([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x263b14(_0x52bec6){const _0xf739a5=_0x1f0a24();_0x42a27a[_0xf739a5]=_0xf30db7([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])+_0x52bec6,_0x52bec6!=_0xf30db7([0x56,0x61,0x6c,0x69,0x64])&&_0x31f1c3();}function _0x1f0a24(){const _0x1c44c4=window[_0xf30db7([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xf30db7([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xf30db7([0x6e,0x6f,0x77])]())[_0xf30db7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xf30db7([0x2e]),'');let _0x5ce037=_0xf30db7([0x4e]);for(let _0x3d4041=0x0;_0x3d4041<_0x1c44c4[_0xf30db7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3d4041+=0x2){let _0x2634d8=window[_0xf30db7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1c44c4[_0xf30db7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3d4041,_0x3d4041+0x2));_0x2634d8>=_0x401278[_0xf30db7([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2634d8-=_0x401278[_0xf30db7([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5ce037+=_0x401278[_0x2634d8];}return _0x5ce037;}function _0x2bf093(){const _0x1b9eae=_0x1d05a9[_0xf30db7([0x73,0x70,0x6c,0x69,0x74])](_0xf30db7([0x2e]));if(0x3!=_0x1b9eae[_0xf30db7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1626e5(_0x1b9eae[0x1]);function _0x1626e5(_0x33608d){const _0x4400ba=_0x2961da(_0x33608d);return _0x4400ba&&_0x483fde()?_0x4400ba:null;function _0x483fde(){const _0x15b305=_0x4400ba[_0xf30db7([0x6a,0x74,0x69])],_0x3d366e=window[_0xf30db7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x15b305[_0xf30db7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x15b305[_0xf30db7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3f4e30={..._0x4400ba,[_0xf30db7([0x6a,0x74,0x69])]:_0x15b305[_0xf30db7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x15b305[_0xf30db7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3f4e30[_0xf30db7([0x76,0x63])],_0x130828(_0x3f4e30)==_0x3d366e;}}}async function _0x388224(){let _0x46276d=!0x0;try{const _0x57e7c8=_0x1d05a9[_0xf30db7([0x73,0x70,0x6c,0x69,0x74])](_0xf30db7([0x2e])),[_0x3cf7d7,_0x4151b4,_0x5056c6]=_0x57e7c8;return _0x655456(_0x3cf7d7),await _0x3a6cad(_0x3cf7d7,_0x4151b4,_0x5056c6),_0x46276d;}catch{return!0x1;}function _0x655456(_0x21b29a){const _0x16d232=_0x2961da(_0x21b29a);_0x16d232&&_0x16d232[_0xf30db7([0x61,0x6c,0x67])]==_0xf30db7([0x45,0x53,0x32,0x35,0x36])||(_0x46276d=!0x1);}async function _0x3a6cad(_0x28efb8,_0x1c6a7d,_0x39c6f){const _0x240c62=window[_0xf30db7([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xf30db7([0x66,0x72,0x6f,0x6d])](_0x267cb7(_0x39c6f),_0x18433f=>_0x18433f[_0xf30db7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3382ca=new window[(_0xf30db7([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xf30db7([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x28efb8+_0xf30db7([0x2e])+_0x1c6a7d),_0x43b6b2=window[_0xf30db7([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xf30db7([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x43b6b2)return;const _0x3e6957=await _0x43b6b2[_0xf30db7([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xf30db7([0x6a,0x77,0x6b]),_0x357bea,{[_0xf30db7([0x6e,0x61,0x6d,0x65])]:_0xf30db7([0x45,0x43,0x44,0x53,0x41]),[_0xf30db7([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xf30db7([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xf30db7([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x43b6b2[_0xf30db7([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xf30db7([0x6e,0x61,0x6d,0x65])]:_0xf30db7([0x45,0x43,0x44,0x53,0x41]),[_0xf30db7([0x68,0x61,0x73,0x68])]:{[_0xf30db7([0x6e,0x61,0x6d,0x65])]:_0xf30db7([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3e6957,_0x240c62,_0x3382ca)||(_0x46276d=!0x1);}}function _0x2961da(_0x490a78){return _0x490a78[_0xf30db7([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xf30db7([0x65,0x79]))?JSON[_0xf30db7([0x70,0x61,0x72,0x73,0x65])](_0x267cb7(_0x490a78)):null;}function _0x267cb7(_0x1b53c2){return window[_0xf30db7([0x61,0x74,0x6f,0x62])](_0x1b53c2[_0xf30db7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xf30db7([0x2b]))[_0xf30db7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xf30db7([0x2f])));}function _0x130828(_0x5d320c){let _0x4629d7=0x1505;function _0x2112ee(_0xe1b070){for(let _0x1bb213=0x0;_0x1bb213<_0xe1b070[_0xf30db7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1bb213++){const _0x271026=_0xe1b070[_0xf30db7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1bb213);_0x4629d7=(_0x4629d7<<0x5)+_0x4629d7+_0x271026,_0x4629d7&=_0x4629d7;}}function _0x17a9d8(_0xa57ea0){Array[_0xf30db7([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xa57ea0)?_0xa57ea0[_0xf30db7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x17a9d8):_0xa57ea0&&typeof _0xa57ea0==_0xf30db7([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xf30db7([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xa57ea0)[_0xf30db7([0x73,0x6f,0x72,0x74])]()[_0xf30db7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x78e2fb,_0x2e5448])=>{_0x2112ee(_0x78e2fb),_0x17a9d8(_0x2e5448);}):_0x2112ee(window[_0xf30db7([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xa57ea0));}return _0x17a9d8(_0x5d320c),_0x4629d7>>>0x0;}function _0x5008ad(_0x34f83e){return _0x34f83e[_0xf30db7([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xf30db7([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xf30db7([0x30]));}function _0x27e294(_0x1bb5b2){return _0x1bb5b2[_0xf30db7([0x73,0x70,0x6c,0x69,0x74])]('')[_0xf30db7([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xf30db7([0x6a,0x6f,0x69,0x6e])]('');}function _0x30a595(){}function _0xf30db7(_0x4fcbda){return _0x4fcbda['map'](_0x237e78=>String['fromCharCode'](_0x237e78))['join']('');}_0x263b14(await _0x118d17());}(this);}['_createButton'](_0x22eab8,_0x51f1cc,_0x1fb94c=!0x1){const _0x19690a=new _0x22eab8(this['editor']['locale']);return _0x19690a['set']({'withText':_0x1fb94c,'isToggleable':!0x1}),_0x19690a['bind']('isEnabled')['to'](_0x51f1cc,'isEnabled'),this['listenTo'](_0x19690a,'execute',()=>_0x51f1cc['execute']()),_0x19690a;}['_registerKeybindings'](){const _0x107742=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':w(_0x107742,'Source\x20Editing\x20Enhanced')});const _0x4c1471=_0x32dda1['isMac']||_0x32dda1['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':w(_0x107742,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':w(_0x107742,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':w(_0x107742,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':w(_0x107742,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':w(_0x107742,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':w(_0x107742,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':w(_0x107742,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x4c1471?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':w(_0x107742,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':w(_0x107742,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':w(_0x107742,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':w(_0x107742,'Select\x20line'),'keystroke':_0x4c1471?'Ctrl!+L':'Alt+L'},{'label':w(_0x107742,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x4c1471?'Alt+Shift+M':'Ctrl+M'},{'label':w(_0x107742,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':w(_0x107742,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':w(_0x107742,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':w(_0x107742,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':w(_0x107742,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x4c1471?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}class c extends _0x321499{constructor(_0x836f3d){super(_0x836f3d),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0x29f9ab,_0x5e300b){const _0x33b55e=this['editor'],_0x3d8ddd=_0x5e300b?.['rootName']??r(_0x33b55e);_0x33b55e['data']['set']({[_0x3d8ddd]:_0x29f9ab},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}class SourceEditingEnhanced extends _0x1dc1ff{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[a];}constructor(_0x53d123){super(_0x53d123),_0x53d123['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 _0x28ce72=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x26540d;for(const _0x159eb5 in _0x28ce72){const _0x567601=_0x159eb5,_0xdee70=_0x28ce72[_0x567601];if('sourceEditingEnhancedLicenseKeyValid'==_0xdee70||'sourceEditingEnhancedLicenseKeyInvalid'==_0xdee70||'sourceEditingEnhancedLicenseKeyExpired'==_0xdee70||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0xdee70||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0xdee70||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0xdee70||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0xdee70){delete _0x28ce72[_0x567601],_0x26540d=_0xdee70,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0x26540d&&_0x28ce72['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0x26540d&&_0x28ce72['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x26540d&&_0x28ce72['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x26540d&&_0x28ce72['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x26540d&&_0x28ce72['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x26540d&&_0x28ce72['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0x282091=this['editor'],_0x590ab1=_0x282091['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0x590ab1&&_0x282091['plugins']['has']('RealTimeCollaborativeEditing'))throw new _0x59c7ed('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0x590ab1&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x2ed920=>_0x282091['plugins']['has'](_0x2ed920))&&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.'),_0x282091['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,SourceEditingEnhanced};
23
+ import{Command as _0x4ac1e2,PendingActions as _0x4981f1,Plugin as _0x1b1494}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x484feb,formatHtml as _0x293052,env as _0x4d9c11,uid as _0x5ebcd6}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconSource as _0x1f1b1e}from'@ckeditor/ckeditor5-icons/dist/index.js';import{View as _0x1c8694,ButtonView as _0x5ec52d,MenuBarMenuListItemButtonView as _0x4a9f5d}from'@ckeditor/ckeditor5-ui/dist/index.js';import{EditorView as _0x1c14a0,crosshairCursor as _0x1984b9,drawSelection as _0x1c6ff9,dropCursor as _0x23500c,lineNumbers as _0x30aff9,highlightActiveLine as _0x54989c,highlightActiveLineGutter as _0x13cd8c,highlightSpecialChars as _0x53fb72,rectangularSelection as _0x416586,keymap as _0x17e321}from'@codemirror/view';import{Compartment as _0x55ff17,Transaction as _0x22c113}from'@codemirror/state';import{bracketMatching as _0x1c8bcf,foldGutter as _0x1e08a8,indentOnInput as _0x51912d,syntaxHighlighting as _0x107e25,defaultHighlightStyle as _0x29405e,foldKeymap as _0x4fad4b}from'@codemirror/language';import{toggleTabFocusMode as _0x35be3a,history as _0x3ca921,defaultKeymap as _0x5921db,historyKeymap as _0x3a814d,indentLess as _0xae5c5e,indentMore as _0x1cf4b6,redo as _0x169f41,undo as _0x2c0dfd}from'@codemirror/commands';import{autocompletion as _0x23cd41,closeBrackets as _0x24d496,closeBracketsKeymap as _0x3f4d68,completionKeymap as _0x500e04}from'@codemirror/autocomplete';import{html as _0x9f6260}from'@codemirror/lang-html';import{markdown as _0x573b4e}from'@codemirror/lang-markdown';import{oneDark as _0x15ca46}from'@codemirror/theme-one-dark';function w(_0x4d7664,_0x283daa){const t=_0x4d7664['t'];switch(_0x283daa){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 _0x283daa;}}function r(_0x2898a5){const _0x3839d2=_0x2898a5['editing']['view']['document']['roots'],_0xe842db=_0x3839d2['length'];if(0x0===_0xe842db)throw new _0x484feb('source-editing-enhanced-editor-no-root',_0x2898a5);if(0x1===_0xe842db)return _0x3839d2['first']['rootName'];return Array['from'](_0x2898a5['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function $(_0x58e661){return X(_0x58e661['replace'](/^[\n\s]*/g,''))?_0x58e661['replace'](/\s+/g,''):_0x58e661;}function X(_0x48cd44){return _0x48cd44['startsWith']('<');}function Y(_0x45ce5d){const _0x1187d4=[_0x1c14a0['lineWrapping'],_0x23cd41(),_0x1c8bcf(),_0x24d496(),_0x1984b9(),_0x1c6ff9(),_0x23500c(),_0x30aff9(),_0x1e08a8(),_0x54989c(),_0x13cd8c(),_0x53fb72(),_0x3ca921(),_0x51912d(),_0x416586(),_0x107e25(_0x29405e,{'fallback':!0x0})],_0x54b752=new _0x55ff17();_0x1187d4['push'](_0x54b752['of'](_0x1c14a0['editable']['of'](!0x0))),'html'===_0x45ce5d['syntaxLanguage']?_0x1187d4['push'](_0x9f6260()):_0x1187d4['push'](_0x573b4e());const _0x5a04c4=function(_0x227ee0){if(_0x227ee0&&'default'!==_0x227ee0)return'dark'===_0x227ee0?_0x15ca46:_0x227ee0;return null;}(_0x45ce5d['theme']);_0x5a04c4&&_0x1187d4['push'](_0x5a04c4),_0x1187d4['push'](_0x17e321['of']([..._0x3f4d68,..._0x5921db,..._0x3a814d,..._0x4fad4b,..._0x500e04,{'key':'Tab','run':_0x1cf4b6,'shift':_0xae5c5e,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-y','mac':'Cmd-y','run':_0x169f41,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-Shift-z','mac':'Cmd-Shift-z','run':_0x169f41,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-z','mac':'Cmd-z','run':_0x2c0dfd,'preventDefault':!0x0,'stopPropagation':!0x0}]));const _0x30811e=new _0x1c14a0({'extensions':_0x1187d4,'parent':_0x45ce5d['parent']});return _0x35be3a(_0x30811e),{'focus':()=>{_0x30811e['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x30811e['focus']();},'getData':()=>_0x30811e['state']['doc']['toString'](),'setData':_0x27db24=>{_0x30811e['dispatch']({'changes':{'from':0x0,'to':_0x30811e['state']['doc']['length'],'insert':_0x27db24},'annotations':_0x22c113['addToHistory']['of'](!0x1)});},'setReadOnly':_0x2d5dce=>{_0x30811e['dispatch']({'effects':[_0x54b752['reconfigure'](_0x1c14a0['editable']['of'](!_0x2d5dce))]});},'destroy':()=>{_0x30811e['destroy']();},'instance':_0x30811e};}class ee extends _0x1c8694{['_codeEditorApi']=null;['_options'];constructor(_0x15a5b1,_0x11e39a){super(_0x15a5b1),this['_options']=_0x11e39a,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',(_0x5416c6,_0x3c4da8,_0x415432)=>{this['setReadOnly'](_0x415432);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0x2a94cd){this['_codeEditorApi']['setData'](_0x2a94cd);}['setReadOnly'](_0x5595ad){this['_codeEditorApi']['setReadOnly'](_0x5595ad);}}const te='SourceEditingEnhancedMode';class d extends _0x4ac1e2{constructor(_0x111dc9){super(_0x111dc9),this['affectsData']=!0x1,this['editor']['plugins']['get'](_0x4981f1)['on']('change:hasAny',(_0x3d60cb,_0x5d22b7,_0x516594)=>{_0x516594?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['_disableCommands'](){const _0x22bc79=this['editor'];for(const _0x25ad7a of _0x22bc79['commands']['names']())['replaceSource','editSource']['includes'](_0x25ad7a)||_0x22bc79['commands']['get'](_0x25ad7a)['forceDisabled'](te);}['_enableCommands'](){const _0xe8379b=this['editor'];for(const _0x471d03 of _0xe8379b['commands']['commands']())_0x471d03['clearForceDisabled'](te);}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x64e361=this['editor'],_0xaeb7f8=_0x64e361['locale'],_0x3ad7cc=_0x64e361['plugins']['get']('Dialog'),_0x39565e=r(_0x64e361),_0x57dca6=_0x64e361['data']['get']({'rootName':_0x39565e}),_0x16f296=X(_0x21038c=_0x57dca6)?_0x293052(_0x21038c):_0x21038c;var _0x21038c;const _0x24bbd8=new ee(_0xaeb7f8,{'syntaxLanguage':_0x64e361['plugins']['has']('Markdown')?'markdown':'html','theme':_0x64e361['config']['get']('sourceEditingEnhanced.theme')});let _0x23ecc2=!0x0;const _0x101fbd=_0x47ad88=>{if(!_0x23ecc2)return;return $(_0x24bbd8['getData']())!==$(_0x16f296)?window['confirm'](w(_0xaeb7f8,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0x47ad88['stop']():void 0x0;};_0x3ad7cc['show']({'id':'sourceEditingEnhanced','title':w(_0xaeb7f8,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0x24bbd8,'actionButtons':[{'label':w(_0xaeb7f8,'Cancel'),'withText':!0x0,'onExecute':()=>{_0x3ad7cc['hide']();}},{'label':w(_0xaeb7f8,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0x5c56c5=$(_0x24bbd8['getData']())!==$(_0x16f296);(_0x5c56c5&&_0x64e361['execute']('replaceSource',_0x24bbd8['getData']()),_0x23ecc2=!0x1,_0x3ad7cc['hide'](),_0x5c56c5&&'editables'in _0x64e361['ui']['view'])&&_0x64e361['ui']['view']['editables'][_0x39565e]['element']['focus']();},'onCreate':_0x26e02c=>{_0x26e02c['set']('isEnabled',!_0x64e361['isReadOnly']),_0x26e02c['bind']('isEnabled')['to'](_0x64e361,'isReadOnly',this,'isEnabled',(_0x29b770,_0x48ce4d)=>!_0x29b770&&_0x48ce4d);}}],'onHide':()=>{this['_enableCommands'](),_0x3ad7cc['off']('hide',_0x101fbd),_0x24bbd8['destroy']();},'onShow':()=>{_0x24bbd8['bind']('isReadOnly')['to'](_0x64e361,'isReadOnly',this,'isEnabled',(_0x33d335,_0x344725)=>_0x33d335||!_0x344725),_0x24bbd8['setData'](_0x16f296),_0x24bbd8['focus'](),_0x3ad7cc['on']('hide',_0x101fbd,{'priority':'highest'}),this['_disableCommands']();}});}}class a extends _0x1b1494{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[_0x4981f1];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x42be8a=this['editor'],_0x1a0903=_0x42be8a['locale'],_0x468ae7=new d(_0x42be8a);_0x42be8a['commands']['add']('editSource',_0x468ae7),_0x42be8a['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0x2d4ab9=this['_createButton'](_0x5ec52d,_0x468ae7);return _0x2d4ab9['set']({'label':w(_0x1a0903,'Source'),'icon':_0x1f1b1e,'tooltip':w(_0x1a0903,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0x2d4ab9;}),_0x42be8a['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0x398c35=this['_createButton'](_0x4a9f5d,_0x468ae7,!0x0);return _0x398c35['set']({'label':w(_0x1a0903,'Edit\x20source\x20modal\x20label'),'icon':_0x1f1b1e,'role':'menuitemcheckbox'}),_0x398c35;}),this['_registerKeybindings']();}['afterInit'](){!async function(_0x29fac6){const _0x9429c4=_0x374eda([0x4e,0x51,0x56,0x58,0x79,0x42,0x46,0x48,0x4a,0x7a,0x72,0x38,0x57,0x47,0x49,0x34,0x61,0x5a,0x6e,0x54,0x65,0x6f,0x55,0x78,0x36,0x70,0x39,0x6a,0x66,0x76,0x33,0x44,0x69,0x74,0x4c,0x77,0x75,0x63,0x6b,0x59,0x6c,0x68,0x64,0x4d,0x41,0x32,0x4b,0x35,0x53,0x37,0x6d,0x62,0x43,0x4f,0x50,0x45,0x73,0x31,0x71,0x67,0x52,0x30]),_0x166806=0x5dba9314,_0x38a4b9=0x5dbd1cd4^_0x166806,_0x140f0f=window[_0x374eda([0x44,0x61,0x74,0x65])][_0x374eda([0x6e,0x6f,0x77])](),_0x278b5b=_0x29fac6[_0x374eda([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x19d0ce=new window[(_0x374eda([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5d0e47=>{_0x278b5b[_0x374eda([0x6f,0x6e,0x63,0x65])](_0x374eda([0x72,0x65,0x61,0x64,0x79]),_0x5d0e47);}),_0x4eb630={[_0x374eda([0x6b,0x74,0x79])]:_0x374eda([0x45,0x43]),[_0x374eda([0x75,0x73,0x65])]:_0x374eda([0x73,0x69,0x67]),[_0x374eda([0x63,0x72,0x76])]:_0x374eda([0x50,0x2d,0x32,0x35,0x36]),[_0x374eda([0x78])]:_0x374eda([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]),[_0x374eda([0x79])]:_0x374eda([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]),[_0x374eda([0x61,0x6c,0x67])]:_0x374eda([0x45,0x53,0x32,0x35,0x36])},_0x1e19bb=_0x278b5b[_0x374eda([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x374eda([0x67,0x65,0x74])](_0x374eda([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x240a4e(){let _0x4e06c2,_0x3ca0c2=null,_0x488593=null;try{if(_0x1e19bb==_0x374eda([0x47,0x50,0x4c]))return _0x374eda([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4e06c2=_0x1316ef(),!_0x4e06c2)return _0x374eda([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4e06c2[_0x374eda([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x488593=_0x13c92b(_0x4e06c2[_0x374eda([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4e06c2[_0x374eda([0x6a,0x74,0x69])])),await _0x3e49c2()?_0x25bb3d()?_0xc6697()?_0x374eda([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x434646()?(_0x4e06c2[_0x374eda([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x374eda([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3ca0c2=_0x5886c5(_0x374eda([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x86cf58()):_0x374eda([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x374eda([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x374eda([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x374eda([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xc6697(){const _0x148035=[_0x374eda([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x374eda([0x74,0x72,0x69,0x61,0x6c])][_0x374eda([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4e06c2[_0x374eda([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x140f0f/0x3e8:0xe10*_0x38a4b9;return _0x4e06c2[_0x374eda([0x65,0x78,0x70])]<_0x148035;}function _0x25bb3d(){const _0x2f44a5=_0x4e06c2[_0x374eda([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2f44a5&&(!!_0x2f44a5[_0x374eda([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x374eda([0x2a]))||!!_0x2f44a5[_0x374eda([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x374eda([0x53,0x45,0x45])));}function _0x434646(){const _0x47de12=_0x4e06c2[_0x374eda([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x47de12||0x0==_0x47de12[_0x374eda([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xd40965}=new URL(window[_0x374eda([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x47de12[_0x374eda([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xd40965))return!0x0;const _0x14456d=_0xd40965[_0x374eda([0x73,0x70,0x6c,0x69,0x74])](_0x374eda([0x2e]));return _0x47de12[_0x374eda([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2c3e95=>_0x2c3e95[_0x374eda([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x374eda([0x2a])))[_0x374eda([0x6d,0x61,0x70])](_0x298d6a=>_0x298d6a[_0x374eda([0x73,0x70,0x6c,0x69,0x74])](_0x374eda([0x2e])))[_0x374eda([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x8cfaf3=>_0x8cfaf3[_0x374eda([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x14456d[_0x374eda([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x374eda([0x6d,0x61,0x70])](_0x127bb9=>Array(_0x14456d[_0x374eda([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x127bb9[_0x374eda([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x374eda([0x66,0x69,0x6c,0x6c])](_0x127bb9[0x0]===_0x374eda([0x2a])?_0x374eda([0x2a]):'')[_0x374eda([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x127bb9))[_0x374eda([0x73,0x6f,0x6d,0x65])](_0x28dd90=>_0x14456d[_0x374eda([0x65,0x76,0x65,0x72,0x79])]((_0x4dc588,_0x3bfba8)=>_0x28dd90[_0x3bfba8]===_0x4dc588||_0x28dd90[_0x3bfba8]===_0x374eda([0x2a])));}function _0x86cf58(){return _0x3ca0c2&&_0x488593?new window[(_0x374eda([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4445a3,_0x4d7cae)=>{_0x3ca0c2[_0x374eda([0x74,0x68,0x65,0x6e])](_0x4445a3,_0x4d7cae),_0x488593[_0x374eda([0x74,0x68,0x65,0x6e])](_0x34f85f=>{_0x34f85f!=_0x374eda([0x56,0x61,0x6c,0x69,0x64])&&_0x4445a3(_0x34f85f);},_0x4d7cae);}):_0x3ca0c2||_0x488593||_0x374eda([0x56,0x61,0x6c,0x69,0x64]);}}function _0x13c92b(_0x139de1,_0x8e077e){return new window[(_0x374eda([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x420765=>{if(_0x249175())return _0x420765(_0x374eda([0x56,0x61,0x6c,0x69,0x64]));_0x248bde(),_0x278b5b[_0x374eda([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x374eda([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1b8eb1=!0x1;const _0x2e5298=_0x5ebcd6();function _0x108ec7(_0x4ad016){return!!_0x4ad016&&(typeof _0x4ad016===_0x374eda([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4ad016===_0x374eda([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4ad016[_0x374eda([0x74,0x68,0x65,0x6e])]===_0x374eda([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4ad016[_0x374eda([0x63,0x61,0x74,0x63,0x68])]===_0x374eda([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xc96875(_0x1b9de1){_0x5a914f(_0x1b9de1)[_0x374eda([0x74,0x68,0x65,0x6e])](_0x2b1ff3=>{if(!_0x2b1ff3||_0x2b1ff3[_0x374eda([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x374eda([0x6f,0x6b]))return _0x374eda([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x34e0d7(_0x3c4de8(_0x2e5298+_0x8e077e))!=_0x2b1ff3[_0x374eda([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x374eda([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x374eda([0x56,0x61,0x6c,0x69,0x64]);})[_0x374eda([0x74,0x68,0x65,0x6e])](_0xd7b9e9=>(_0xfd49b1(),_0xd7b9e9),()=>{const _0x242f7c=_0x301294();return null==_0x242f7c?(_0xfd49b1(),_0x374eda([0x56,0x61,0x6c,0x69,0x64])):_0x374eda(_0x140f0f-_0x242f7c>(0x79b61714^_0x166806)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x374eda([0x74,0x68,0x65,0x6e])](_0x420765)[_0x374eda([0x63,0x61,0x74,0x63,0x68])](()=>{_0x420765(_0x374eda([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x371fbb=0x5d8c7d94^_0x166806;function _0xfd49b1(){const _0x165f01=_0x374eda([0x6c,0x6c,0x63,0x74,0x2d])+_0x34e0d7(_0x3c4de8(_0x139de1)),_0x128ed6=_0x6a4dc8(_0x34e0d7(window[_0x374eda([0x4d,0x61,0x74,0x68])][_0x374eda([0x63,0x65,0x69,0x6c])](_0x140f0f/_0x371fbb)));window[_0x374eda([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x374eda([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x165f01,_0x128ed6);}function _0x301294(){const _0x3ebb70=_0x374eda([0x6c,0x6c,0x63,0x74,0x2d])+_0x34e0d7(_0x3c4de8(_0x139de1)),_0x32f77a=window[_0x374eda([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x374eda([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3ebb70);return _0x32f77a?window[_0x374eda([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x6a4dc8(_0x32f77a),0x10)*_0x371fbb:null;}function _0x5a914f(_0x504cd6){return new window[(_0x374eda([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x26c1ec,_0x267ab5)=>{_0x504cd6[_0x374eda([0x74,0x68,0x65,0x6e])](_0x26c1ec,_0x267ab5),window[_0x374eda([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x267ab5,0x5dbb47d4^_0x166806);});}}_0x278b5b[_0x374eda([0x6f,0x6e])](_0x374eda([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x540d78,_0x220dbb)=>{if(_0x220dbb[0x0]!=_0x139de1)return _0x420765(_0x374eda([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x220dbb[0x1]={..._0x220dbb[0x1],[_0x374eda([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2e5298};},{[_0x374eda([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x374eda([0x68,0x69,0x67,0x68])}),_0x278b5b[_0x374eda([0x6f,0x6e])](_0x374eda([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x174fc7=>{_0x108ec7(_0x174fc7[_0x374eda([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1b8eb1=!0x0,_0xc96875(_0x174fc7[_0x374eda([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x374eda([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x374eda([0x6c,0x6f,0x77])}),_0x19d0ce[_0x374eda([0x74,0x68,0x65,0x6e])](()=>{_0x1b8eb1||_0x420765(_0x374eda([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x249175(){return _0x278b5b[_0x374eda([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x374eda([0x76,0x69,0x65,0x77])][_0x374eda([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x374eda([0x61,0x75,0x74,0x6f]);}function _0x248bde(){_0x278b5b[_0x374eda([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x374eda([0x76,0x69,0x65,0x77])][_0x374eda([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x374eda([0x61,0x75,0x74,0x6f]);}}function _0x5886c5(_0x5c2e53){const _0x54b9b8=[new window[(_0x374eda([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x12629f=>setTimeout(_0x12629f,0x5db3add8^_0x166806)),_0x19d0ce[_0x374eda([0x74,0x68,0x65,0x6e])](()=>new window[(_0x374eda([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x90323f=>{let _0x3debb4=0x0;_0x278b5b[_0x374eda([0x6d,0x6f,0x64,0x65,0x6c])][_0x374eda([0x6f,0x6e])](_0x374eda([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x27c22e,_0x322817)=>{_0x322817[0x0][_0x374eda([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3debb4++,_0x3debb4==(0x5dba96fc^_0x166806)&&(_0x90323f(),_0x27c22e[_0x374eda([0x6f,0x66,0x66])]());});}))];return window[_0x374eda([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x374eda([0x72,0x61,0x63,0x65])](_0x54b9b8)[_0x374eda([0x74,0x68,0x65,0x6e])](()=>_0x5c2e53);}async function _0x5a1e50(){await _0x19d0ce,_0x278b5b[_0x374eda([0x6d,0x6f,0x64,0x65,0x6c])][_0x374eda([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xc0a12b,_0x278b5b[_0x374eda([0x6d,0x6f,0x64,0x65,0x6c])][_0x374eda([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xc0a12b,_0x278b5b[_0x374eda([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x374eda([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5d5951(_0x311343){const _0x1540e9=_0x2d0e89();_0x278b5b[_0x1540e9]=_0x374eda([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])+_0x311343,_0x311343!=_0x374eda([0x56,0x61,0x6c,0x69,0x64])&&_0x5a1e50();}function _0x2d0e89(){const _0x1c9344=window[_0x374eda([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x374eda([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x374eda([0x6e,0x6f,0x77])]())[_0x374eda([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x374eda([0x2e]),'');let _0x561e21=_0x374eda([0x4e]);for(let _0x551e73=0x0;_0x551e73<_0x1c9344[_0x374eda([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x551e73+=0x2){let _0x15858f=window[_0x374eda([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1c9344[_0x374eda([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x551e73,_0x551e73+0x2));_0x15858f>=_0x9429c4[_0x374eda([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x15858f-=_0x9429c4[_0x374eda([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x561e21+=_0x9429c4[_0x15858f];}return _0x561e21;}function _0x1316ef(){const _0x1c8838=_0x1e19bb[_0x374eda([0x73,0x70,0x6c,0x69,0x74])](_0x374eda([0x2e]));if(0x3!=_0x1c8838[_0x374eda([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x246701(_0x1c8838[0x1]);function _0x246701(_0x140246){const _0x1b351d=_0x10bf75(_0x140246);return _0x1b351d&&_0xf6924c()?_0x1b351d:null;function _0xf6924c(){const _0x294765=_0x1b351d[_0x374eda([0x6a,0x74,0x69])],_0xae60a3=window[_0x374eda([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x294765[_0x374eda([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x294765[_0x374eda([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x377348={..._0x1b351d,[_0x374eda([0x6a,0x74,0x69])]:_0x294765[_0x374eda([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x294765[_0x374eda([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x377348[_0x374eda([0x76,0x63])],_0x3c4de8(_0x377348)==_0xae60a3;}}}async function _0x3e49c2(){let _0x2cecf0=!0x0;try{const _0x268696=_0x1e19bb[_0x374eda([0x73,0x70,0x6c,0x69,0x74])](_0x374eda([0x2e])),[_0x28de25,_0x2c2d89,_0x4b080a]=_0x268696;return _0x5373dc(_0x28de25),await _0x18aa4b(_0x28de25,_0x2c2d89,_0x4b080a),_0x2cecf0;}catch{return!0x1;}function _0x5373dc(_0x431b8d){const _0x29ad14=_0x10bf75(_0x431b8d);_0x29ad14&&_0x29ad14[_0x374eda([0x61,0x6c,0x67])]==_0x374eda([0x45,0x53,0x32,0x35,0x36])||(_0x2cecf0=!0x1);}async function _0x18aa4b(_0x5901b2,_0x85f6d5,_0x3d3e22){const _0x35ac3d=window[_0x374eda([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x374eda([0x66,0x72,0x6f,0x6d])](_0x3b44cf(_0x3d3e22),_0x449056=>_0x449056[_0x374eda([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5a5269=new window[(_0x374eda([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x374eda([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5901b2+_0x374eda([0x2e])+_0x85f6d5),_0x4c1093=window[_0x374eda([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x374eda([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4c1093)return;const _0x168804=await _0x4c1093[_0x374eda([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x374eda([0x6a,0x77,0x6b]),_0x4eb630,{[_0x374eda([0x6e,0x61,0x6d,0x65])]:_0x374eda([0x45,0x43,0x44,0x53,0x41]),[_0x374eda([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x374eda([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x374eda([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4c1093[_0x374eda([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x374eda([0x6e,0x61,0x6d,0x65])]:_0x374eda([0x45,0x43,0x44,0x53,0x41]),[_0x374eda([0x68,0x61,0x73,0x68])]:{[_0x374eda([0x6e,0x61,0x6d,0x65])]:_0x374eda([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x168804,_0x35ac3d,_0x5a5269)||(_0x2cecf0=!0x1);}}function _0x10bf75(_0x19689d){return _0x19689d[_0x374eda([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x374eda([0x65,0x79]))?JSON[_0x374eda([0x70,0x61,0x72,0x73,0x65])](_0x3b44cf(_0x19689d)):null;}function _0x3b44cf(_0x545518){return window[_0x374eda([0x61,0x74,0x6f,0x62])](_0x545518[_0x374eda([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x374eda([0x2b]))[_0x374eda([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x374eda([0x2f])));}function _0x3c4de8(_0x3b9258){let _0x14aee4=0x1505;function _0x1aeaa3(_0x28c05c){for(let _0x50a10c=0x0;_0x50a10c<_0x28c05c[_0x374eda([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x50a10c++){const _0x34e4b0=_0x28c05c[_0x374eda([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x50a10c);_0x14aee4=(_0x14aee4<<0x5)+_0x14aee4+_0x34e4b0,_0x14aee4&=_0x14aee4;}}function _0x3bdb79(_0x357367){Array[_0x374eda([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x357367)?_0x357367[_0x374eda([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3bdb79):_0x357367&&typeof _0x357367==_0x374eda([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x374eda([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x357367)[_0x374eda([0x73,0x6f,0x72,0x74])]()[_0x374eda([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x55e727,_0x99f7f])=>{_0x1aeaa3(_0x55e727),_0x3bdb79(_0x99f7f);}):_0x1aeaa3(window[_0x374eda([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x357367));}return _0x3bdb79(_0x3b9258),_0x14aee4>>>0x0;}function _0x34e0d7(_0x2056c){return _0x2056c[_0x374eda([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x374eda([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x374eda([0x30]));}function _0x6a4dc8(_0x3e23ea){return _0x3e23ea[_0x374eda([0x73,0x70,0x6c,0x69,0x74])]('')[_0x374eda([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x374eda([0x6a,0x6f,0x69,0x6e])]('');}function _0xc0a12b(){}function _0x374eda(_0x5bb96e){return _0x5bb96e['map'](_0x1c0fde=>String['fromCharCode'](_0x1c0fde))['join']('');}_0x5d5951(await _0x240a4e());}(this);}['_createButton'](_0x31725d,_0x6eac41,_0x816431=!0x1){const _0x19ef3f=new _0x31725d(this['editor']['locale']);return _0x19ef3f['set']({'withText':_0x816431,'isToggleable':!0x1}),_0x19ef3f['bind']('isEnabled')['to'](_0x6eac41,'isEnabled'),this['listenTo'](_0x19ef3f,'execute',()=>_0x6eac41['execute']()),_0x19ef3f;}['_registerKeybindings'](){const _0x1dea0e=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':w(_0x1dea0e,'Source\x20Editing\x20Enhanced')});const _0x6e1c8c=_0x4d9c11['isMac']||_0x4d9c11['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':w(_0x1dea0e,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':w(_0x1dea0e,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':w(_0x1dea0e,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':w(_0x1dea0e,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':w(_0x1dea0e,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':w(_0x1dea0e,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':w(_0x1dea0e,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x6e1c8c?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':w(_0x1dea0e,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':w(_0x1dea0e,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':w(_0x1dea0e,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':w(_0x1dea0e,'Select\x20line'),'keystroke':_0x6e1c8c?'Ctrl!+L':'Alt+L'},{'label':w(_0x1dea0e,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x6e1c8c?'Alt+Shift+M':'Ctrl+M'},{'label':w(_0x1dea0e,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':w(_0x1dea0e,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':w(_0x1dea0e,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':w(_0x1dea0e,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':w(_0x1dea0e,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x6e1c8c?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}class c extends _0x4ac1e2{constructor(_0x212832){super(_0x212832),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0x53d5a9,_0x5ab9b6){const _0x305d36=this['editor'],_0x1ff977=_0x5ab9b6?.['rootName']??r(_0x305d36);_0x305d36['data']['set']({[_0x1ff977]:_0x53d5a9},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}class SourceEditingEnhanced extends _0x1b1494{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[a];}constructor(_0x5b90b0){super(_0x5b90b0),_0x5b90b0['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 _0x36208a=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x49d013;for(const _0xabbe66 in _0x36208a){const _0x1c4718=_0xabbe66,_0xbfa23f=_0x36208a[_0x1c4718];if('sourceEditingEnhancedLicenseKeyValid'==_0xbfa23f||'sourceEditingEnhancedLicenseKeyInvalid'==_0xbfa23f||'sourceEditingEnhancedLicenseKeyExpired'==_0xbfa23f||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0xbfa23f||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0xbfa23f||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0xbfa23f||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0xbfa23f){delete _0x36208a[_0x1c4718],_0x49d013=_0xbfa23f,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0x49d013&&_0x36208a['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0x49d013&&_0x36208a['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x49d013&&_0x36208a['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x49d013&&_0x36208a['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x49d013&&_0x36208a['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x49d013&&_0x36208a['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0x335bec=this['editor'],_0x253e71=_0x335bec['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0x253e71&&_0x335bec['plugins']['has']('RealTimeCollaborativeEditing'))throw new _0x484feb('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0x253e71&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x3fd720=>_0x335bec['plugins']['has'](_0x3fd720))&&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.'),_0x335bec['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,SourceEditingEnhanced};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-source-editing-enhanced",
3
- "version": "47.7.3-alpha.0",
3
+ "version": "47.7.3",
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": "47.7.3-alpha.0",
22
- "@ckeditor/ckeditor5-icons": "47.7.3-alpha.0",
23
- "@ckeditor/ckeditor5-theme-lark": "47.7.3-alpha.0",
24
- "@ckeditor/ckeditor5-ui": "47.7.3-alpha.0",
25
- "@ckeditor/ckeditor5-utils": "47.7.3-alpha.0",
21
+ "@ckeditor/ckeditor5-core": "47.7.3",
22
+ "@ckeditor/ckeditor5-icons": "47.7.3",
23
+ "@ckeditor/ckeditor5-theme-lark": "47.7.3",
24
+ "@ckeditor/ckeditor5-ui": "47.7.3",
25
+ "@ckeditor/ckeditor5-utils": "47.7.3",
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": "47.7.3-alpha.0"
34
+ "ckeditor5": "47.7.3"
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
- var _0x59f6c4=_0x28fa;function _0x28fa(_0x50e204,_0x247c49){var _0x2ca0d0=_0x2ca0();return _0x28fa=function(_0x28fa9b,_0x4e2448){_0x28fa9b=_0x28fa9b-0x19d;var _0xfbc351=_0x2ca0d0[_0x28fa9b];return _0xfbc351;},_0x28fa(_0x50e204,_0x247c49);}function _0x2ca0(){var _0x365516=['104223MacgnI','focus','element','setData','244684epWboQ','6093ohURkg','destroy','327006wAKyuZ','isReadOnly','set','theme','200KwHZCN','_codeEditorApi','_options','3bFcKbQ','setReadOnly','syntaxLanguage','6IIfOiA','1697380NEHeSJ','ck-code-editor','change:isReadOnly','11tVJoeL','getData','28147620JyqdmC','div','ck-reset_all-excluded','render','setTemplate','1562155ATtByq','6910NnypBV'];_0x2ca0=function(){return _0x365516;};return _0x2ca0();}(function(_0x1bbafb,_0x1fea37){var _0x54eaf5=_0x28fa,_0x562a35=_0x1bbafb();while(!![]){try{var _0x448f99=-parseInt(_0x54eaf5(0x1a6))/0x1+-parseInt(_0x54eaf5(0x1a9))/0x2*(parseInt(_0x54eaf5(0x1b0))/0x3)+-parseInt(_0x54eaf5(0x1b4))/0x4+parseInt(_0x54eaf5(0x1a0))/0x5*(-parseInt(_0x54eaf5(0x1b3))/0x6)+parseInt(_0x54eaf5(0x1a2))/0x7*(-parseInt(_0x54eaf5(0x1ad))/0x8)+-parseInt(_0x54eaf5(0x1a7))/0x9*(parseInt(_0x54eaf5(0x1a1))/0xa)+-parseInt(_0x54eaf5(0x1b7))/0xb*(-parseInt(_0x54eaf5(0x1b9))/0xc);if(_0x448f99===_0x1fea37)break;else _0x562a35['push'](_0x562a35['shift']());}catch(_0x597343){_0x562a35['push'](_0x562a35['shift']());}}}(_0x2ca0,0x580c0));import{View as _0x3d960b}from'ckeditor5/src/ui.js';import{createCodeMirrorEditor as _0x47d57f}from'../utils/createcodemirroreditor.js';export class CodeEditorView extends _0x3d960b{[_0x59f6c4(0x1ae)]=null;[_0x59f6c4(0x1af)];constructor(_0xd4b7f4,_0x21f20a){var _0x3b6281=_0x59f6c4;super(_0xd4b7f4),this[_0x3b6281(0x1af)]=_0x21f20a,this[_0x3b6281(0x1ab)](_0x3b6281(0x1aa),!0x1),this[_0x3b6281(0x19f)]({'tag':_0x3b6281(0x1ba),'attributes':{'class':['ck',_0x3b6281(0x19d),_0x3b6281(0x1b5)],'tabindex':-0x1}});}[_0x59f6c4(0x19e)](){var _0x1df2b1=_0x59f6c4;super[_0x1df2b1(0x19e)](),this[_0x1df2b1(0x1ae)]=_0x47d57f({'parent':this[_0x1df2b1(0x1a4)],'syntaxLanguage':this[_0x1df2b1(0x1af)][_0x1df2b1(0x1b2)],'theme':this[_0x1df2b1(0x1af)][_0x1df2b1(0x1ac)]}),this['on'](_0x1df2b1(0x1b6),(_0x79228e,_0x30be8f,_0x363a78)=>{var _0x485390=_0x1df2b1;this[_0x485390(0x1b1)](_0x363a78);});}[_0x59f6c4(0x1a8)](){var _0x1da660=_0x59f6c4;super[_0x1da660(0x1a8)](),this[_0x1da660(0x1ae)][_0x1da660(0x1a8)](),this[_0x1da660(0x1ae)]=null;}[_0x59f6c4(0x1a3)](){var _0x529236=_0x59f6c4;this[_0x529236(0x1aa)]?this[_0x529236(0x1a4)][_0x529236(0x1a3)]():this[_0x529236(0x1ae)][_0x529236(0x1a3)]();}[_0x59f6c4(0x1b8)](){var _0x5e7bdc=_0x59f6c4;return this[_0x5e7bdc(0x1ae)][_0x5e7bdc(0x1b8)]();}[_0x59f6c4(0x1a5)](_0x4251c7){var _0x5ea9dd=_0x59f6c4;this[_0x5ea9dd(0x1ae)][_0x5ea9dd(0x1a5)](_0x4251c7);}[_0x59f6c4(0x1b1)](_0x41f7ce){var _0x10295d=_0x59f6c4;this[_0x10295d(0x1ae)][_0x10295d(0x1b1)](_0x41f7ce);}}
23
+ function _0x318f(){var _0x8b1cc2=['_options','syntaxLanguage','setTemplate','element','change:isReadOnly','div','6161312uISjSB','setReadOnly','10393173rCtWPs','694287gHSVoX','setData','ck-reset_all-excluded','2398kKuYos','21846130BmtjUW','_codeEditorApi','render','163751Pqylie','theme','getData','destroy','ck-code-editor','isReadOnly','5tHJkea','2250068EUCaxB','60OMenrq','focus','1881uyHVOF','set'];_0x318f=function(){return _0x8b1cc2;};return _0x318f();}var _0xc79dd7=_0x2bfb;(function(_0x2eb7ff,_0x375c1b){var _0x1f09cd=_0x2bfb,_0x48dc1b=_0x2eb7ff();while(!![]){try{var _0x5be693=-parseInt(_0x1f09cd(0xc5))/0x1+parseInt(_0x1f09cd(0xc8))/0x2*(parseInt(_0x1f09cd(0xd6))/0x3)+-parseInt(_0x1f09cd(0xd3))/0x4*(-parseInt(_0x1f09cd(0xd2))/0x5)+parseInt(_0x1f09cd(0xd4))/0x6*(parseInt(_0x1f09cd(0xcc))/0x7)+parseInt(_0x1f09cd(0xde))/0x8+parseInt(_0x1f09cd(0xc4))/0x9+-parseInt(_0x1f09cd(0xc9))/0xa;if(_0x5be693===_0x375c1b)break;else _0x48dc1b['push'](_0x48dc1b['shift']());}catch(_0x2207b3){_0x48dc1b['push'](_0x48dc1b['shift']());}}}(_0x318f,0x91169));function _0x2bfb(_0x50cacb,_0x38e25c){var _0x318f77=_0x318f();return _0x2bfb=function(_0x2bfb02,_0x254cd7){_0x2bfb02=_0x2bfb02-0xc3;var _0x2e55d3=_0x318f77[_0x2bfb02];return _0x2e55d3;},_0x2bfb(_0x50cacb,_0x38e25c);}import{View as _0x374757}from'ckeditor5/src/ui.js';import{createCodeMirrorEditor as _0x49125b}from'../utils/createcodemirroreditor.js';export class CodeEditorView extends _0x374757{[_0xc79dd7(0xca)]=null;[_0xc79dd7(0xd8)];constructor(_0x4de52d,_0x46f430){var _0x4f007d=_0xc79dd7;super(_0x4de52d),this[_0x4f007d(0xd8)]=_0x46f430,this[_0x4f007d(0xd7)](_0x4f007d(0xd1),!0x1),this[_0x4f007d(0xda)]({'tag':_0x4f007d(0xdd),'attributes':{'class':['ck',_0x4f007d(0xc7),_0x4f007d(0xd0)],'tabindex':-0x1}});}[_0xc79dd7(0xcb)](){var _0x35e19b=_0xc79dd7;super[_0x35e19b(0xcb)](),this[_0x35e19b(0xca)]=_0x49125b({'parent':this[_0x35e19b(0xdb)],'syntaxLanguage':this[_0x35e19b(0xd8)][_0x35e19b(0xd9)],'theme':this[_0x35e19b(0xd8)][_0x35e19b(0xcd)]}),this['on'](_0x35e19b(0xdc),(_0x45134c,_0x16decf,_0xe45583)=>{var _0x1926a8=_0x35e19b;this[_0x1926a8(0xc3)](_0xe45583);});}[_0xc79dd7(0xcf)](){var _0xa067df=_0xc79dd7;super[_0xa067df(0xcf)](),this[_0xa067df(0xca)][_0xa067df(0xcf)](),this[_0xa067df(0xca)]=null;}[_0xc79dd7(0xd5)](){var _0x234a37=_0xc79dd7;this[_0x234a37(0xd1)]?this[_0x234a37(0xdb)][_0x234a37(0xd5)]():this[_0x234a37(0xca)][_0x234a37(0xd5)]();}[_0xc79dd7(0xce)](){var _0x5962d1=_0xc79dd7;return this[_0x5962d1(0xca)][_0x5962d1(0xce)]();}[_0xc79dd7(0xc6)](_0xb5c8d2){var _0x5dbb78=_0xc79dd7;this[_0x5dbb78(0xca)][_0x5dbb78(0xc6)](_0xb5c8d2);}[_0xc79dd7(0xc3)](_0x1b2966){var _0x4e2a8a=_0xc79dd7;this[_0x4e2a8a(0xca)][_0x4e2a8a(0xc3)](_0x1b2966);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1d3fe0=_0x2d66;(function(_0x5dc945,_0xcfc454){const _0x12c368=_0x2d66,_0x32a095=_0x5dc945();while(!![]){try{const _0x122519=-parseInt(_0x12c368(0x98))/0x1*(parseInt(_0x12c368(0x67))/0x2)+-parseInt(_0x12c368(0xa3))/0x3*(-parseInt(_0x12c368(0x6b))/0x4)+-parseInt(_0x12c368(0x7d))/0x5+parseInt(_0x12c368(0x7b))/0x6*(-parseInt(_0x12c368(0x9b))/0x7)+-parseInt(_0x12c368(0x66))/0x8*(parseInt(_0x12c368(0x83))/0x9)+-parseInt(_0x12c368(0x75))/0xa+parseInt(_0x12c368(0x69))/0xb;if(_0x122519===_0xcfc454)break;else _0x32a095['push'](_0x32a095['shift']());}catch(_0x4ae865){_0x32a095['push'](_0x32a095['shift']());}}}(_0x2f1a,0x1e005));import{Command as _0x109fa6,PendingActions as _0xd146c8}from'ckeditor5/src/core.js';function _0x2f1a(){const _0x1927e1=['sourceEditingEnhanced.theme','html','8563iEDCsJ','change:hasAny','ck-source-editing-enhanced-dialog','49wyMvwZ','forceDisabled','hide','refresh','Cancel','config','sourceEditingEnhanced','bind','4659qTViCz','8AswpMI','6nlULJu','clearForceDisabled','6851020TYzusE','setData','284EkHAix','Dialog','Save','pendingActions','set','off','commands','SourceEditingEnhancedMode','Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.','has','81770FOYTEO','view','highest','get','destroy','editSource','204582SFMVVa','execute','819910UcDjqf','element','data','editables','focus','ck-button-action','1563039zYIIvl','Edit\x20source\x20modal\x20label','getData','plugins','markdown','stop','locale','isReadOnly','Markdown','show','replaceSource','_disableCommands','isEnabled','editor','names','affectsData','includes','confirm','_enableCommands'];_0x2f1a=function(){return _0x1927e1;};return _0x2f1a();}import{getTranslation as _0x22a51c}from'../utils/common-translations.js';import{getActiveRootName as _0x518d70}from'../utils/getactiverootname.js';import{formatSource as _0x33ee9c,unformatSource as _0x44fed4}from'../utils/format.js';function _0x2d66(_0xacec75,_0x1098f2){const _0x2f1ad4=_0x2f1a();return _0x2d66=function(_0x2d6620,_0x2b58e8){_0x2d6620=_0x2d6620-0x66;let _0x3fd03b=_0x2f1ad4[_0x2d6620];return _0x3fd03b;},_0x2d66(_0xacec75,_0x1098f2);}import{CodeEditorView as _0x2ec292}from'./codeeditorview.js';const b=_0x1d3fe0(0x72);export class EditSourceCommand extends _0x109fa6{constructor(_0x50a691){const _0x10db80=_0x1d3fe0;super(_0x50a691),this[_0x10db80(0x92)]=!0x1,this[_0x10db80(0x90)][_0x10db80(0x86)][_0x10db80(0x78)](_0xd146c8)['on'](_0x10db80(0x99),(_0x282107,_0x42cecd,_0x28ca31)=>{const _0x7e6764=_0x10db80;_0x28ca31?this[_0x7e6764(0x9c)](_0x7e6764(0x6e)):this[_0x7e6764(0x68)](_0x7e6764(0x6e));});}[_0x1d3fe0(0x8e)](){const _0x5c94dc=_0x1d3fe0,_0x2a7373=this[_0x5c94dc(0x90)];for(const _0x4e8775 of _0x2a7373[_0x5c94dc(0x71)][_0x5c94dc(0x91)]())[_0x5c94dc(0x8d),_0x5c94dc(0x7a)][_0x5c94dc(0x93)](_0x4e8775)||_0x2a7373[_0x5c94dc(0x71)][_0x5c94dc(0x78)](_0x4e8775)[_0x5c94dc(0x9c)](b);}[_0x1d3fe0(0x95)](){const _0x597495=_0x1d3fe0,_0x4d9078=this[_0x597495(0x90)];for(const _0x59575c of _0x4d9078[_0x597495(0x71)][_0x597495(0x71)]())_0x59575c[_0x597495(0x68)](b);}[_0x1d3fe0(0x9e)](){const _0x87e8cb=_0x1d3fe0;this[_0x87e8cb(0x8f)]=!0x0;}[_0x1d3fe0(0x7c)](){const _0x3f7961=_0x1d3fe0,_0x1486fb=this[_0x3f7961(0x90)],_0x5eb17b=_0x1486fb[_0x3f7961(0x89)],_0x5f4120=_0x1486fb[_0x3f7961(0x86)][_0x3f7961(0x78)](_0x3f7961(0x6c)),_0xa8a2b5=_0x518d70(_0x1486fb),_0x4e1e09=_0x1486fb[_0x3f7961(0x7f)][_0x3f7961(0x78)]({'rootName':_0xa8a2b5}),_0x547a4e=_0x33ee9c(_0x4e1e09),_0x26a09a=new _0x2ec292(_0x5eb17b,{'syntaxLanguage':_0x1486fb[_0x3f7961(0x86)][_0x3f7961(0x74)](_0x3f7961(0x8b))?_0x3f7961(0x87):_0x3f7961(0x97),'theme':_0x1486fb[_0x3f7961(0xa0)][_0x3f7961(0x78)](_0x3f7961(0x96))});let _0x5ae5ab=!0x0;const _0x386d85=_0x4dd818=>{const _0x42f109=_0x3f7961;if(!_0x5ae5ab)return;const _0x59c61e=_0x26a09a[_0x42f109(0x85)]();return _0x44fed4(_0x59c61e)!==_0x44fed4(_0x547a4e)?window[_0x42f109(0x94)](_0x22a51c(_0x5eb17b,_0x42f109(0x73)))?void 0x0:_0x4dd818[_0x42f109(0x88)]():void 0x0;};_0x5f4120[_0x3f7961(0x8c)]({'id':_0x3f7961(0xa1),'title':_0x22a51c(_0x5eb17b,_0x3f7961(0x84)),'isModal':!0x0,'className':_0x3f7961(0x9a),'content':_0x26a09a,'actionButtons':[{'label':_0x22a51c(_0x5eb17b,_0x3f7961(0x9f)),'withText':!0x0,'onExecute':()=>{const _0x436e37=_0x3f7961;_0x5f4120[_0x436e37(0x9d)]();}},{'label':_0x22a51c(_0x5eb17b,_0x3f7961(0x6d)),'class':_0x3f7961(0x82),'withText':!0x0,'onExecute':()=>{const _0x3a7cb9=_0x3f7961,_0x47bc57=_0x26a09a[_0x3a7cb9(0x85)](),_0x408748=_0x44fed4(_0x47bc57)!==_0x44fed4(_0x547a4e);(_0x408748&&_0x1486fb[_0x3a7cb9(0x7c)](_0x3a7cb9(0x8d),_0x26a09a[_0x3a7cb9(0x85)]()),_0x5ae5ab=!0x1,_0x5f4120[_0x3a7cb9(0x9d)](),_0x408748&&_0x3a7cb9(0x80)in _0x1486fb['ui'][_0x3a7cb9(0x76)])&&_0x1486fb['ui'][_0x3a7cb9(0x76)][_0x3a7cb9(0x80)][_0xa8a2b5][_0x3a7cb9(0x7e)][_0x3a7cb9(0x81)]();},'onCreate':_0xdb95d6=>{const _0x289846=_0x3f7961;_0xdb95d6[_0x289846(0x6f)](_0x289846(0x8f),!_0x1486fb[_0x289846(0x8a)]),_0xdb95d6[_0x289846(0xa2)](_0x289846(0x8f))['to'](_0x1486fb,_0x289846(0x8a),this,_0x289846(0x8f),(_0x29d890,_0x1b8757)=>!_0x29d890&&_0x1b8757);}}],'onHide':()=>{const _0x48a76d=_0x3f7961;this[_0x48a76d(0x95)](),_0x5f4120[_0x48a76d(0x70)](_0x48a76d(0x9d),_0x386d85),_0x26a09a[_0x48a76d(0x79)]();},'onShow':()=>{const _0x4da809=_0x3f7961;_0x26a09a[_0x4da809(0xa2)](_0x4da809(0x8a))['to'](_0x1486fb,_0x4da809(0x8a),this,_0x4da809(0x8f),(_0x3facfc,_0x2e9fe1)=>_0x3facfc||!_0x2e9fe1),_0x26a09a[_0x4da809(0x6a)](_0x547a4e),_0x26a09a[_0x4da809(0x81)](),_0x5f4120['on'](_0x4da809(0x9d),_0x386d85,{'priority':_0x4da809(0x77)}),this[_0x4da809(0x8e)]();}});}}
23
+ const _0x14a4e8=_0x281c;(function(_0x22594a,_0x5206e9){const _0x2b150e=_0x281c,_0xcfa1d0=_0x22594a();while(!![]){try{const _0x36885b=-parseInt(_0x2b150e(0x1dc))/0x1+-parseInt(_0x2b150e(0x206))/0x2+-parseInt(_0x2b150e(0x20b))/0x3+parseInt(_0x2b150e(0x1fe))/0x4+parseInt(_0x2b150e(0x202))/0x5+parseInt(_0x2b150e(0x1e1))/0x6+parseInt(_0x2b150e(0x1f6))/0x7*(-parseInt(_0x2b150e(0x1fb))/0x8);if(_0x36885b===_0x5206e9)break;else _0xcfa1d0['push'](_0xcfa1d0['shift']());}catch(_0x374a4c){_0xcfa1d0['push'](_0xcfa1d0['shift']());}}}(_0x550a,0x2fe30));import{Command as _0x1fb6d8,PendingActions as _0x62737f}from'ckeditor5/src/core.js';function _0x550a(){const _0x303b8d=['_enableCommands','1566700pMLuRn','refresh','editor','off','30876RgzLbl','stop','bind','set','sourceEditingEnhanced','1027950fbklYm','pendingActions','confirm','ck-button-action','highest','affectsData','isReadOnly','editSource','get','sourceEditingEnhanced.theme','execute','data','155834brNGvS','getData','destroy','includes','replaceSource','1543692EClyMM','commands','setData','clearForceDisabled','show','Cancel','SourceEditingEnhancedMode','Markdown','focus','isEnabled','markdown','hide','has','editables','plugins','Dialog','change:hasAny','locale','element','Edit\x20source\x20modal\x20label','view','35GvvhTT','_disableCommands','Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.','config','names','79264WjTRMv','html','Save','755936sjKExV','forceDisabled','ck-source-editing-enhanced-dialog'];_0x550a=function(){return _0x303b8d;};return _0x550a();}import{getTranslation as _0x3bbd71}from'../utils/common-translations.js';import{getActiveRootName as _0x3fb5cd}from'../utils/getactiverootname.js';import{formatSource as _0xb75f90,unformatSource as _0x36744e}from'../utils/format.js';function _0x281c(_0x4afd03,_0x498c08){const _0x550a14=_0x550a();return _0x281c=function(_0x281c54,_0x171562){_0x281c54=_0x281c54-0x1d2;let _0x499978=_0x550a14[_0x281c54];return _0x499978;},_0x281c(_0x4afd03,_0x498c08);}import{CodeEditorView as _0x3c05c9}from'./codeeditorview.js';const te=_0x14a4e8(0x1e7);export class EditSourceCommand extends _0x1fb6d8{constructor(_0x270cb3){const _0x4b032c=_0x14a4e8;super(_0x270cb3),this[_0x4b032c(0x1d5)]=!0x1,this[_0x4b032c(0x204)][_0x4b032c(0x1ef)][_0x4b032c(0x1d8)](_0x62737f)['on'](_0x4b032c(0x1f1),(_0x2fcf29,_0x9335a4,_0x4391ac)=>{const _0xbd5c74=_0x4b032c;_0x4391ac?this[_0xbd5c74(0x1ff)](_0xbd5c74(0x20c)):this[_0xbd5c74(0x1e4)](_0xbd5c74(0x20c));});}[_0x14a4e8(0x1f7)](){const _0x70f6b=_0x14a4e8,_0x5009a0=this[_0x70f6b(0x204)];for(const _0x572ded of _0x5009a0[_0x70f6b(0x1e2)][_0x70f6b(0x1fa)]())[_0x70f6b(0x1e0),_0x70f6b(0x1d7)][_0x70f6b(0x1df)](_0x572ded)||_0x5009a0[_0x70f6b(0x1e2)][_0x70f6b(0x1d8)](_0x572ded)[_0x70f6b(0x1ff)](te);}[_0x14a4e8(0x201)](){const _0x502fd2=_0x14a4e8,_0x403027=this[_0x502fd2(0x204)];for(const _0x26cb9d of _0x403027[_0x502fd2(0x1e2)][_0x502fd2(0x1e2)]())_0x26cb9d[_0x502fd2(0x1e4)](te);}[_0x14a4e8(0x203)](){const _0xbd117e=_0x14a4e8;this[_0xbd117e(0x1ea)]=!0x0;}[_0x14a4e8(0x1da)](){const _0x1a4587=_0x14a4e8,_0xcb3ad5=this[_0x1a4587(0x204)],_0x30cac5=_0xcb3ad5[_0x1a4587(0x1f2)],_0x2bfa11=_0xcb3ad5[_0x1a4587(0x1ef)][_0x1a4587(0x1d8)](_0x1a4587(0x1f0)),_0x37bf4e=_0x3fb5cd(_0xcb3ad5),_0x3b4e33=_0xcb3ad5[_0x1a4587(0x1db)][_0x1a4587(0x1d8)]({'rootName':_0x37bf4e}),_0x4554c3=_0xb75f90(_0x3b4e33),_0xb2903f=new _0x3c05c9(_0x30cac5,{'syntaxLanguage':_0xcb3ad5[_0x1a4587(0x1ef)][_0x1a4587(0x1ed)](_0x1a4587(0x1e8))?_0x1a4587(0x1eb):_0x1a4587(0x1fc),'theme':_0xcb3ad5[_0x1a4587(0x1f9)][_0x1a4587(0x1d8)](_0x1a4587(0x1d9))});let _0x4bd1c2=!0x0;const _0x5086ef=_0x7993e2=>{const _0x35e93c=_0x1a4587;if(!_0x4bd1c2)return;const _0x1869d4=_0xb2903f[_0x35e93c(0x1dd)]();return _0x36744e(_0x1869d4)!==_0x36744e(_0x4554c3)?window[_0x35e93c(0x1d2)](_0x3bbd71(_0x30cac5,_0x35e93c(0x1f8)))?void 0x0:_0x7993e2[_0x35e93c(0x207)]():void 0x0;};_0x2bfa11[_0x1a4587(0x1e5)]({'id':_0x1a4587(0x20a),'title':_0x3bbd71(_0x30cac5,_0x1a4587(0x1f4)),'isModal':!0x0,'className':_0x1a4587(0x200),'content':_0xb2903f,'actionButtons':[{'label':_0x3bbd71(_0x30cac5,_0x1a4587(0x1e6)),'withText':!0x0,'onExecute':()=>{const _0x11ea56=_0x1a4587;_0x2bfa11[_0x11ea56(0x1ec)]();}},{'label':_0x3bbd71(_0x30cac5,_0x1a4587(0x1fd)),'class':_0x1a4587(0x1d3),'withText':!0x0,'onExecute':()=>{const _0x131e20=_0x1a4587,_0x2b99fb=_0xb2903f[_0x131e20(0x1dd)](),_0x3c6e0a=_0x36744e(_0x2b99fb)!==_0x36744e(_0x4554c3);(_0x3c6e0a&&_0xcb3ad5[_0x131e20(0x1da)](_0x131e20(0x1e0),_0xb2903f[_0x131e20(0x1dd)]()),_0x4bd1c2=!0x1,_0x2bfa11[_0x131e20(0x1ec)](),_0x3c6e0a&&_0x131e20(0x1ee)in _0xcb3ad5['ui'][_0x131e20(0x1f5)])&&_0xcb3ad5['ui'][_0x131e20(0x1f5)][_0x131e20(0x1ee)][_0x37bf4e][_0x131e20(0x1f3)][_0x131e20(0x1e9)]();},'onCreate':_0x2e2a78=>{const _0x282a96=_0x1a4587;_0x2e2a78[_0x282a96(0x209)](_0x282a96(0x1ea),!_0xcb3ad5[_0x282a96(0x1d6)]),_0x2e2a78[_0x282a96(0x208)](_0x282a96(0x1ea))['to'](_0xcb3ad5,_0x282a96(0x1d6),this,_0x282a96(0x1ea),(_0x22c637,_0x32f870)=>!_0x22c637&&_0x32f870);}}],'onHide':()=>{const _0x1e4517=_0x1a4587;this[_0x1e4517(0x201)](),_0x2bfa11[_0x1e4517(0x205)](_0x1e4517(0x1ec),_0x5086ef),_0xb2903f[_0x1e4517(0x1de)]();},'onShow':()=>{const _0x4cc13f=_0x1a4587;_0xb2903f[_0x4cc13f(0x208)](_0x4cc13f(0x1d6))['to'](_0xcb3ad5,_0x4cc13f(0x1d6),this,_0x4cc13f(0x1ea),(_0x23e448,_0x1c6ca8)=>_0x23e448||!_0x1c6ca8),_0xb2903f[_0x4cc13f(0x1e3)](_0x4554c3),_0xb2903f[_0x4cc13f(0x1e9)](),_0x2bfa11['on'](_0x4cc13f(0x1ec),_0x5086ef,{'priority':_0x4cc13f(0x1d4)}),this[_0x4cc13f(0x1f7)]();}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x23011a,_0x3842d0){const _0x3ae33f=_0x4943,_0x2763a0=_0x23011a();while(!![]){try{const _0x35b9d7=parseInt(_0x3ae33f(0x1ca))/0x1+parseInt(_0x3ae33f(0x1b4))/0x2*(parseInt(_0x3ae33f(0x1b6))/0x3)+-parseInt(_0x3ae33f(0x1af))/0x4+-parseInt(_0x3ae33f(0x1bd))/0x5+-parseInt(_0x3ae33f(0x1c3))/0x6+parseInt(_0x3ae33f(0x1b1))/0x7+-parseInt(_0x3ae33f(0x1b3))/0x8;if(_0x35b9d7===_0x3842d0)break;else _0x2763a0['push'](_0x2763a0['shift']());}catch(_0x5d2fe8){_0x2763a0['push'](_0x2763a0['shift']());}}}(_0x3262,0x5ff7b));import{lineNumbers as _0x41ed8b,highlightActiveLineGutter as _0x59f4b2,highlightSpecialChars as _0x38d1b5,drawSelection as _0x3770ba,dropCursor as _0x504df3,rectangularSelection as _0x54d122,crosshairCursor as _0x5f5b5a,highlightActiveLine as _0xe9e685,keymap as _0x51e3a2,EditorView as _0x21f44b}from'@codemirror/view';import{Compartment as _0x5920eb,Transaction as _0x92d678}from'@codemirror/state';function _0x3262(){const _0x556e10=['Ctrl-Shift-z','parent','dispatch','doc','Cmd-y','focus','679036KQFqiG','default','editable','theme','push','lineWrapping','2175172VyCeNs','addToHistory','1991675ckZcnE','state','793000POIqxr','2Swnzxc','Cmd-Shift-z','2264679FEEzcx','html','Cmd-z','destroy','Tab','Ctrl-y','reconfigure','643800koGDYn','toString','length','dark','syntaxLanguage','Ctrl-z','3322158kMBJBl'];_0x3262=function(){return _0x556e10;};return _0x3262();}import{foldGutter as _0x429ae9,indentOnInput as _0x48d548,syntaxHighlighting as _0x54f826,defaultHighlightStyle as _0x296e1e,bracketMatching as _0x1a3d7d,foldKeymap as _0x930016}from'@codemirror/language';import{history as _0x4837a6,defaultKeymap as _0x3872d9,historyKeymap as _0x277b33,redo as _0x336d49,undo as _0x9fe2bf,indentMore as _0x1aceb2,indentLess as _0x5f0306,toggleTabFocusMode as _0xc9c520}from'@codemirror/commands';import{closeBrackets as _0x5fcd78,autocompletion as _0x3fc062,closeBracketsKeymap as _0x410f01,completionKeymap as _0x1f01f2}from'@codemirror/autocomplete';import{html as _0x5860e1}from'@codemirror/lang-html';import{markdown as _0x46d890}from'@codemirror/lang-markdown';function _0x4943(_0x4ed2a5,_0x2571ef){const _0x32622e=_0x3262();return _0x4943=function(_0x494343,_0x2f5e5d){_0x494343=_0x494343-0x1ae;let _0x22746f=_0x32622e[_0x494343];return _0x22746f;},_0x4943(_0x4ed2a5,_0x2571ef);}import{oneDark as _0x4f04d4}from'@codemirror/theme-one-dark';export function createCodeMirrorEditor(_0x33faea){const _0x548325=_0x4943,_0x3acaf9=[_0x21f44b[_0x548325(0x1ae)],_0x3fc062(),_0x1a3d7d(),_0x5fcd78(),_0x5f5b5a(),_0x3770ba(),_0x504df3(),_0x41ed8b(),_0x429ae9(),_0xe9e685(),_0x59f4b2(),_0x38d1b5(),_0x4837a6(),_0x48d548(),_0x54d122(),_0x54f826(_0x296e1e,{'fallback':!0x0})],_0x4b8333=new _0x5920eb();_0x3acaf9[_0x548325(0x1ce)](_0x4b8333['of'](_0x21f44b[_0x548325(0x1cc)]['of'](!0x0))),_0x548325(0x1b7)===_0x33faea[_0x548325(0x1c1)]?_0x3acaf9[_0x548325(0x1ce)](_0x5860e1()):_0x3acaf9[_0x548325(0x1ce)](_0x46d890());const _0x3e4899=function(_0x201ecc){const _0x23f990=_0x548325;if(_0x201ecc&&_0x23f990(0x1cb)!==_0x201ecc)return _0x23f990(0x1c0)===_0x201ecc?_0x4f04d4:_0x201ecc;return null;}(_0x33faea[_0x548325(0x1cd)]);_0x3e4899&&_0x3acaf9[_0x548325(0x1ce)](_0x3e4899),_0x3acaf9[_0x548325(0x1ce)](...getKeybindings());const _0x34897c=new _0x21f44b({'extensions':_0x3acaf9,'parent':_0x33faea[_0x548325(0x1c5)]});return _0xc9c520(_0x34897c),{'focus':()=>{const _0x29cc1b=_0x548325;_0x34897c[_0x29cc1b(0x1c6)]({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x34897c[_0x29cc1b(0x1c9)]();},'getData':()=>_0x34897c[_0x548325(0x1b2)][_0x548325(0x1c7)][_0x548325(0x1be)](),'setData':_0x72d868=>{const _0x4438a2=_0x548325;_0x34897c[_0x4438a2(0x1c6)]({'changes':{'from':0x0,'to':_0x34897c[_0x4438a2(0x1b2)][_0x4438a2(0x1c7)][_0x4438a2(0x1bf)],'insert':_0x72d868},'annotations':_0x92d678[_0x4438a2(0x1b0)]['of'](!0x1)});},'setReadOnly':_0x49e893=>{const _0x7c178=_0x548325;_0x34897c[_0x7c178(0x1c6)]({'effects':[_0x4b8333[_0x7c178(0x1bc)](_0x21f44b[_0x7c178(0x1cc)]['of'](!_0x49e893))]});},'destroy':()=>{const _0x1c7f1c=_0x548325;_0x34897c[_0x1c7f1c(0x1b9)]();},'instance':_0x34897c};}export function getKeybindings(){const _0x1eb681=_0x4943;return[_0x51e3a2['of']([..._0x410f01,..._0x3872d9,..._0x277b33,..._0x930016,..._0x1f01f2,{'key':_0x1eb681(0x1ba),'run':_0x1aceb2,'shift':_0x5f0306,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':_0x1eb681(0x1bb),'mac':_0x1eb681(0x1c8),'run':_0x336d49,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':_0x1eb681(0x1c4),'mac':_0x1eb681(0x1b5),'run':_0x336d49,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':_0x1eb681(0x1c2),'mac':_0x1eb681(0x1b8),'run':_0x9fe2bf,'preventDefault':!0x0,'stopPropagation':!0x0}])];}
23
+ (function(_0x150232,_0x49027a){const _0x171317=_0x4674,_0x4da2f7=_0x150232();while(!![]){try{const _0x4fb4fb=-parseInt(_0x171317(0x19b))/0x1+-parseInt(_0x171317(0x1bc))/0x2*(parseInt(_0x171317(0x1a8))/0x3)+parseInt(_0x171317(0x19f))/0x4+-parseInt(_0x171317(0x1af))/0x5+-parseInt(_0x171317(0x1ac))/0x6*(-parseInt(_0x171317(0x1b6))/0x7)+parseInt(_0x171317(0x19d))/0x8*(parseInt(_0x171317(0x1a6))/0x9)+parseInt(_0x171317(0x1ad))/0xa*(parseInt(_0x171317(0x1aa))/0xb);if(_0x4fb4fb===_0x49027a)break;else _0x4da2f7['push'](_0x4da2f7['shift']());}catch(_0xe009b){_0x4da2f7['push'](_0x4da2f7['shift']());}}}(_0x2751,0x6862a));function _0x4674(_0x334b50,_0x2a9959){const _0x275176=_0x2751();return _0x4674=function(_0x46743c,_0x5959c2){_0x46743c=_0x46743c-0x19a;let _0x8040cb=_0x275176[_0x46743c];return _0x8040cb;},_0x4674(_0x334b50,_0x2a9959);}import{lineNumbers as _0x2a5df9,highlightActiveLineGutter as _0x318fd5,highlightSpecialChars as _0x98e613,drawSelection as _0x31ea3d,dropCursor as _0x36322e,rectangularSelection as _0x52b77d,crosshairCursor as _0x49efda,highlightActiveLine as _0x52b9a0,keymap as _0x2be000,EditorView as _0x349f7c}from'@codemirror/view';import{Compartment as _0x2f6514,Transaction as _0x4d0393}from'@codemirror/state';import{foldGutter as _0x51d604,indentOnInput as _0x5b9629,syntaxHighlighting as _0x2cf54e,defaultHighlightStyle as _0x317a99,bracketMatching as _0x3ba0c4,foldKeymap as _0x31df52}from'@codemirror/language';import{history as _0x32ed76,defaultKeymap as _0x45bdd4,historyKeymap as _0x5cad16,redo as _0x1fa434,undo as _0x34dd1c,indentMore as _0x4470c3,indentLess as _0x146c30,toggleTabFocusMode as _0x1e8397}from'@codemirror/commands';import{closeBrackets as _0x3bd77f,autocompletion as _0x23fb32,closeBracketsKeymap as _0x3c3378,completionKeymap as _0x56530a}from'@codemirror/autocomplete';import{html as _0x291f2d}from'@codemirror/lang-html';function _0x2751(){const _0x35fe4c=['dark','theme','189RZRyXa','Cmd-Shift-z','12xybwMn','dispatch','99EeEKWq','syntaxLanguage','24ZsDoiW','47910kylWHu','default','3154880EWACgb','Ctrl-Shift-z','Ctrl-y','push','Ctrl-z','toString','state','722827BzGyVa','length','Cmd-y','focus','html','Tab','116286wcIlhR','lineWrapping','reconfigure','325632vlzQdj','Cmd-z','171664bjkZkM','parent','2839844YWbmDW','doc','destroy','editable','addToHistory'];_0x2751=function(){return _0x35fe4c;};return _0x2751();}import{markdown as _0x126c9c}from'@codemirror/lang-markdown';import{oneDark as _0x13bfe6}from'@codemirror/theme-one-dark';export function createCodeMirrorEditor(_0x550a3f){const _0x4c07b7=_0x4674,_0xd735b6=[_0x349f7c[_0x4c07b7(0x1bd)],_0x23fb32(),_0x3ba0c4(),_0x3bd77f(),_0x49efda(),_0x31ea3d(),_0x36322e(),_0x2a5df9(),_0x51d604(),_0x52b9a0(),_0x318fd5(),_0x98e613(),_0x32ed76(),_0x5b9629(),_0x52b77d(),_0x2cf54e(_0x317a99,{'fallback':!0x0})],_0x5b8ff3=new _0x2f6514();_0xd735b6[_0x4c07b7(0x1b2)](_0x5b8ff3['of'](_0x349f7c[_0x4c07b7(0x1a2)]['of'](!0x0))),_0x4c07b7(0x1ba)===_0x550a3f[_0x4c07b7(0x1ab)]?_0xd735b6[_0x4c07b7(0x1b2)](_0x291f2d()):_0xd735b6[_0x4c07b7(0x1b2)](_0x126c9c());const _0x4b5fde=function(_0x5e8390){const _0x235b11=_0x4c07b7;if(_0x5e8390&&_0x235b11(0x1ae)!==_0x5e8390)return _0x235b11(0x1a4)===_0x5e8390?_0x13bfe6:_0x5e8390;return null;}(_0x550a3f[_0x4c07b7(0x1a5)]);_0x4b5fde&&_0xd735b6[_0x4c07b7(0x1b2)](_0x4b5fde),_0xd735b6[_0x4c07b7(0x1b2)](...getKeybindings());const _0x547719=new _0x349f7c({'extensions':_0xd735b6,'parent':_0x550a3f[_0x4c07b7(0x19e)]});return _0x1e8397(_0x547719),{'focus':()=>{const _0x295b1a=_0x4c07b7;_0x547719[_0x295b1a(0x1a9)]({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x547719[_0x295b1a(0x1b9)]();},'getData':()=>_0x547719[_0x4c07b7(0x1b5)][_0x4c07b7(0x1a0)][_0x4c07b7(0x1b4)](),'setData':_0x294d96=>{const _0x1e04af=_0x4c07b7;_0x547719[_0x1e04af(0x1a9)]({'changes':{'from':0x0,'to':_0x547719[_0x1e04af(0x1b5)][_0x1e04af(0x1a0)][_0x1e04af(0x1b7)],'insert':_0x294d96},'annotations':_0x4d0393[_0x1e04af(0x1a3)]['of'](!0x1)});},'setReadOnly':_0x16730f=>{const _0xce4967=_0x4c07b7;_0x547719[_0xce4967(0x1a9)]({'effects':[_0x5b8ff3[_0xce4967(0x19a)](_0x349f7c[_0xce4967(0x1a2)]['of'](!_0x16730f))]});},'destroy':()=>{const _0x5284be=_0x4c07b7;_0x547719[_0x5284be(0x1a1)]();},'instance':_0x547719};}export function getKeybindings(){const _0x16baef=_0x4674;return[_0x2be000['of']([..._0x3c3378,..._0x45bdd4,..._0x5cad16,..._0x31df52,..._0x56530a,{'key':_0x16baef(0x1bb),'run':_0x4470c3,'shift':_0x146c30,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':_0x16baef(0x1b1),'mac':_0x16baef(0x1b8),'run':_0x1fa434,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':_0x16baef(0x1b0),'mac':_0x16baef(0x1a7),'run':_0x1fa434,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':_0x16baef(0x1b3),'mac':_0x16baef(0x19c),'run':_0x34dd1c,'preventDefault':!0x0,'stopPropagation':!0x0}])];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1f61(){var _0x4d335b=['5070afwlpG','90848xkcrmA','841376qAPVzN','replace','2754610VTilgJ','447293vvNqxx','startsWith','2569oCnFQh','854244QXTVWF','4206872ZguRPs','9BUAHkF'];_0x1f61=function(){return _0x4d335b;};return _0x1f61();}(function(_0x1311cd,_0x404cd8){var _0xc3cbec=_0xc80a,_0x1c59b0=_0x1311cd();while(!![]){try{var _0x5e9082=-parseInt(_0xc3cbec(0xc4))/0x1+-parseInt(_0xc3cbec(0xcb))/0x2+parseInt(_0xc3cbec(0xc7))/0x3+parseInt(_0xc3cbec(0xcc))/0x4+parseInt(_0xc3cbec(0xc3))/0x5+parseInt(_0xc3cbec(0xca))/0x6*(parseInt(_0xc3cbec(0xc6))/0x7)+parseInt(_0xc3cbec(0xc8))/0x8*(-parseInt(_0xc3cbec(0xc9))/0x9);if(_0x5e9082===_0x404cd8)break;else _0x1c59b0['push'](_0x1c59b0['shift']());}catch(_0x513c64){_0x1c59b0['push'](_0x1c59b0['shift']());}}}(_0x1f61,0x52691));function _0xc80a(_0x5ce215,_0x31cc64){var _0x1f619b=_0x1f61();return _0xc80a=function(_0xc80a9f,_0x4bd2f4){_0xc80a9f=_0xc80a9f-0xc2;var _0x2dc5e6=_0x1f619b[_0xc80a9f];return _0x2dc5e6;},_0xc80a(_0x5ce215,_0x31cc64);}import{formatHtml as _0x4655e6}from'ckeditor5/src/utils.js';export function formatSource(_0xaa7b9d){return tr(_0xaa7b9d)?_0x4655e6(_0xaa7b9d):_0xaa7b9d;}export function unformatSource(_0x5323e7){var _0xf43fb=_0xc80a;return tr(_0x5323e7[_0xf43fb(0xc2)](/^[\n\s]*/g,''))?_0x5323e7[_0xf43fb(0xc2)](/\s+/g,''):_0x5323e7;}function tr(_0x35fb24){var _0x17a3fa=_0xc80a;return _0x35fb24[_0x17a3fa(0xc5)]('<');}
23
+ (function(_0x157d39,_0x115cc3){var _0x5d6fcd=_0x5b02,_0x4ba4d5=_0x157d39();while(!![]){try{var _0x428946=parseInt(_0x5d6fcd(0x157))/0x1*(parseInt(_0x5d6fcd(0x15f))/0x2)+parseInt(_0x5d6fcd(0x15e))/0x3*(-parseInt(_0x5d6fcd(0x162))/0x4)+parseInt(_0x5d6fcd(0x15b))/0x5+-parseInt(_0x5d6fcd(0x163))/0x6+-parseInt(_0x5d6fcd(0x15a))/0x7*(-parseInt(_0x5d6fcd(0x164))/0x8)+-parseInt(_0x5d6fcd(0x15c))/0x9*(parseInt(_0x5d6fcd(0x159))/0xa)+-parseInt(_0x5d6fcd(0x161))/0xb*(-parseInt(_0x5d6fcd(0x158))/0xc);if(_0x428946===_0x115cc3)break;else _0x4ba4d5['push'](_0x4ba4d5['shift']());}catch(_0x1b25cd){_0x4ba4d5['push'](_0x4ba4d5['shift']());}}}(_0x12ef,0xc67b4));function _0x12ef(){var _0x6735f1=['3597lRxeDJ','1502444RVYCuj','startsWith','44NcbAiN','140ZElPiL','1755702ODnRYm','1243688cKZHEJ','2BtcHTy','1522392QJKSbD','20yfgMse','14xNzhxT','2188890huaRkS','7249707XmhBcn','replace'];_0x12ef=function(){return _0x6735f1;};return _0x12ef();}import{formatHtml as _0x142ca6}from'ckeditor5/src/utils.js';export function formatSource(_0x51a8b7){return X(_0x51a8b7)?_0x142ca6(_0x51a8b7):_0x51a8b7;}function _0x5b02(_0x5843a2,_0x3a7cff){var _0x12ef53=_0x12ef();return _0x5b02=function(_0x5b0215,_0x153938){_0x5b0215=_0x5b0215-0x157;var _0x180934=_0x12ef53[_0x5b0215];return _0x180934;},_0x5b02(_0x5843a2,_0x3a7cff);}export function unformatSource(_0x59fd77){var _0x5ac934=_0x5b02;return X(_0x59fd77[_0x5ac934(0x15d)](/^[\n\s]*/g,''))?_0x59fd77[_0x5ac934(0x15d)](/\s+/g,''):_0x59fd77;}function X(_0x344190){var _0x48dfe5=_0x5b02;return _0x344190[_0x48dfe5(0x160)]('<');}