@ckeditor/ckeditor5-source-editing-enhanced 46.0.1-alpha.11 → 46.0.1-alpha.13
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/build/source-editing-enhanced.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +7 -7
- package/src/sourceeditingenhancedui.js +1 -1
- package/src/ui/codeeditorview.js +1 -1
- package/src/ui/editsourcecommand.js +1 -1
- package/src/utils/createcodemirroreditor.js +1 -1
- package/src/utils/format.js +1 -1
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Command as _0x19fbca,PendingActions as _0x420b02,Plugin as _0x2461fc}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x47f969,formatHtml as _0x28bff2,env as _0x4dfe44,uid as _0x5ee11c}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconSource as _0xce44}from'@ckeditor/ckeditor5-icons/dist/index.js';import{View as _0x218c97,ButtonView as _0x4f40fa,MenuBarMenuListItemButtonView as _0x2749f3}from'@ckeditor/ckeditor5-ui/dist/index.js';import{EditorView as _0x332959,crosshairCursor as _0x445338,drawSelection as _0x4fbb64,dropCursor as _0x3e4321,lineNumbers as _0x101588,highlightActiveLine as _0x52b087,highlightActiveLineGutter as _0x37ec30,highlightSpecialChars as _0x20c6fb,rectangularSelection as _0x4c671f,keymap as _0x3b83c4}from'@codemirror/view';import{Compartment as _0x4131bc,Transaction as _0x1c742a}from'@codemirror/state';import{bracketMatching as _0x1454a7,foldGutter as _0x4c62dc,indentOnInput as _0x11681f,syntaxHighlighting as _0x4404c3,defaultHighlightStyle as _0x4318ba,foldKeymap as _0x1d20f0}from'@codemirror/language';import{toggleTabFocusMode as _0x12631a,history as _0x594a3f,defaultKeymap as _0x3caa80,historyKeymap as _0x50c51f,indentLess as _0x2a52fa,indentMore as _0x9f82a1,redo as _0xe7d251,undo as _0x553e94}from'@codemirror/commands';import{autocompletion as _0x54b98d,closeBrackets as _0x65b4bf,closeBracketsKeymap as _0x1c71bc,completionKeymap as _0xcdad3b}from'@codemirror/autocomplete';import{html as _0x3a7c75}from'@codemirror/lang-html';import{markdown as _0x35fbcb}from'@codemirror/lang-markdown';import{oneDark as _0x4bbbe1}from'@codemirror/theme-one-dark';function w(_0xd4b9e1,_0x308fcb){const t=_0xd4b9e1['t'];switch(_0x308fcb){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 _0x308fcb;}}function r(_0x2ebbd1){const _0x22a88e=_0x2ebbd1['editing']['view']['document']['roots'],_0x56b5af=_0x22a88e['length'];if(0x0===_0x56b5af)throw new _0x47f969('source-editing-enhanced-editor-no-root',_0x2ebbd1);if(0x1===_0x56b5af)return _0x22a88e['first']['rootName'];return Array['from'](_0x2ebbd1['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function g(_0x2f1ca9){return tr(_0x2f1ca9['replace'](/^[\n\s]*/g,''))?_0x2f1ca9['replace'](/\s+/g,''):_0x2f1ca9;}function tr(_0x142a88){return _0x142a88['startsWith']('<');}function p(_0x3131a5){const _0x4f2022=[_0x332959['lineWrapping'],_0x54b98d(),_0x1454a7(),_0x65b4bf(),_0x445338(),_0x4fbb64(),_0x3e4321(),_0x101588(),_0x4c62dc(),_0x52b087(),_0x37ec30(),_0x20c6fb(),_0x594a3f(),_0x11681f(),_0x4c671f(),_0x4404c3(_0x4318ba,{'fallback':!0x0})],_0x283870=new _0x4131bc();_0x4f2022['push'](_0x283870['of'](_0x332959['editable']['of'](!0x0))),'html'===_0x3131a5['syntaxLanguage']?_0x4f2022['push'](_0x3a7c75()):_0x4f2022['push'](_0x35fbcb());const _0x465b42=function(_0x2e9690){if(_0x2e9690&&'default'!==_0x2e9690)return'dark'===_0x2e9690?_0x4bbbe1:_0x2e9690;return null;}(_0x3131a5['theme']);_0x465b42&&_0x4f2022['push'](_0x465b42),_0x4f2022['push'](_0x3b83c4['of']([..._0x1c71bc,..._0x3caa80,..._0x50c51f,..._0x1d20f0,..._0xcdad3b,{'key':'Tab','run':_0x9f82a1,'shift':_0x2a52fa,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-y','mac':'Cmd-y','run':_0xe7d251,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-Shift-z','mac':'Cmd-Shift-z','run':_0xe7d251,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-z','mac':'Cmd-z','run':_0x553e94,'preventDefault':!0x0,'stopPropagation':!0x0}]));const _0x4e883c=new _0x332959({'extensions':_0x4f2022,'parent':_0x3131a5['parent']});return _0x12631a(_0x4e883c),{'focus':()=>{_0x4e883c['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x4e883c['focus']();},'getData':()=>_0x4e883c['state']['doc']['toString'](),'setData':_0x2f43ac=>{_0x4e883c['dispatch']({'changes':{'from':0x0,'to':_0x4e883c['state']['doc']['length'],'insert':_0x2f43ac},'annotations':_0x1c742a['addToHistory']['of'](!0x1)});},'setReadOnly':_0x18f87f=>{_0x4e883c['dispatch']({'effects':[_0x283870['reconfigure'](_0x332959['editable']['of'](!_0x18f87f))]});},'destroy':()=>{_0x4e883c['destroy']();},'instance':_0x4e883c};}class E extends _0x218c97{['_codeEditorApi']=null;['_options'];constructor(_0x4d0ba5,_0x1084ab){super(_0x4d0ba5),this['_options']=_0x1084ab,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',(_0x2e7b30,_0x212b5c,_0x481275)=>{this['setReadOnly'](_0x481275);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0x5755f3){this['_codeEditorApi']['setData'](_0x5755f3);}['setReadOnly'](_0x368baa){this['_codeEditorApi']['setReadOnly'](_0x368baa);}}const b='SourceEditingEnhancedMode';class d extends _0x19fbca{constructor(_0x5a92f2){super(_0x5a92f2),this['affectsData']=!0x1,this['editor']['plugins']['get'](_0x420b02)['on']('change:hasAny',(_0x3107fd,_0x225593,_0x3487de)=>{_0x3487de?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['_disableCommands'](){const _0x227e1a=this['editor'];for(const _0x57f5df of _0x227e1a['commands']['names']())['replaceSource','editSource']['includes'](_0x57f5df)||_0x227e1a['commands']['get'](_0x57f5df)['forceDisabled'](b);}['_enableCommands'](){const _0x41ba91=this['editor'];for(const _0x2e45ed of _0x41ba91['commands']['commands']())_0x2e45ed['clearForceDisabled'](b);}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x83fe76=this['editor'],_0x392916=_0x83fe76['locale'],_0xbcf1ce=_0x83fe76['plugins']['get']('Dialog'),_0x163f2c=r(_0x83fe76),_0x35d982=_0x83fe76['data']['get']({'rootName':_0x163f2c}),_0x5230a7=tr(_0x5b4f95=_0x35d982)?_0x28bff2(_0x5b4f95):_0x5b4f95;var _0x5b4f95;const _0x3f9319=new E(_0x392916,{'syntaxLanguage':_0x83fe76['plugins']['has']('Markdown')?'markdown':'html','theme':_0x83fe76['config']['get']('sourceEditingEnhanced.theme')});let _0x3d0f9b=!0x0;const _0x11a87a=_0x5b6c01=>{if(!_0x3d0f9b)return;return g(_0x3f9319['getData']())!==g(_0x5230a7)?window['confirm'](w(_0x392916,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0x5b6c01['stop']():void 0x0;};_0xbcf1ce['show']({'id':'sourceEditingEnhanced','title':w(_0x392916,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0x3f9319,'actionButtons':[{'label':w(_0x392916,'Cancel'),'withText':!0x0,'onExecute':()=>{_0xbcf1ce['hide']();}},{'label':w(_0x392916,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0x4f060a=g(_0x3f9319['getData']())!==g(_0x5230a7);(_0x4f060a&&_0x83fe76['execute']('replaceSource',_0x3f9319['getData']()),_0x3d0f9b=!0x1,_0xbcf1ce['hide'](),_0x4f060a&&'editables'in _0x83fe76['ui']['view'])&&_0x83fe76['ui']['view']['editables'][_0x163f2c]['element']['focus']();},'onCreate':_0x121c16=>{_0x121c16['set']('isEnabled',!_0x83fe76['isReadOnly']),_0x121c16['bind']('isEnabled')['to'](_0x83fe76,'isReadOnly',this,'isEnabled',(_0x27768b,_0x5451d3)=>!_0x27768b&&_0x5451d3);}}],'onHide':()=>{this['_enableCommands'](),_0xbcf1ce['off']('hide',_0x11a87a),_0x3f9319['destroy']();},'onShow':()=>{_0x3f9319['bind']('isReadOnly')['to'](_0x83fe76,'isReadOnly',this,'isEnabled',(_0x161734,_0x484b24)=>_0x161734||!_0x484b24),_0x3f9319['setData'](_0x5230a7),_0x3f9319['focus'](),_0xbcf1ce['on']('hide',_0x11a87a,{'priority':'highest'}),this['_disableCommands']();}});}}class a extends _0x2461fc{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[_0x420b02];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x1f440e=this['editor'],_0x96d61e=_0x1f440e['locale'],_0x281a54=new d(_0x1f440e);_0x1f440e['commands']['add']('editSource',_0x281a54),_0x1f440e['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0x351567=this['_createButton'](_0x4f40fa,_0x281a54);return _0x351567['set']({'label':w(_0x96d61e,'Source'),'icon':_0xce44,'tooltip':w(_0x96d61e,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0x351567;}),_0x1f440e['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0x488eda=this['_createButton'](_0x2749f3,_0x281a54,!0x0);return _0x488eda['set']({'label':w(_0x96d61e,'Edit\x20source\x20modal\x20label'),'icon':_0xce44,'role':'menuitemcheckbox'}),_0x488eda;}),this['_registerKeybindings']();}['afterInit'](){!async function(_0x30a0d8){const _0x412b03=_0x1670c0([0x7a,0x45,0x75,0x46,0x5a,0x6d,0x77,0x36,0x32,0x69,0x6b,0x54,0x59,0x72,0x62,0x6a,0x38,0x49,0x55,0x67,0x30,0x76,0x37,0x4e,0x52,0x47,0x63,0x48,0x4c,0x71,0x31,0x74,0x6c,0x33,0x51,0x44,0x66,0x39,0x4a,0x57,0x4b,0x79,0x73,0x58,0x53,0x68,0x78,0x61,0x4f,0x6e,0x35,0x70,0x65,0x64,0x34,0x43,0x4d,0x42,0x41,0x50,0x56,0x6f]),_0x1a24e9=0x36242aa5,_0x57c6a8=0x36234545^_0x1a24e9,_0x457ac5=window[_0x1670c0([0x44,0x61,0x74,0x65])][_0x1670c0([0x6e,0x6f,0x77])](),_0x2a232e=_0x30a0d8[_0x1670c0([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x49db12=new window[(_0x1670c0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x416d02=>{_0x2a232e[_0x1670c0([0x6f,0x6e,0x63,0x65])](_0x1670c0([0x72,0x65,0x61,0x64,0x79]),_0x416d02);}),_0x19c867={[_0x1670c0([0x6b,0x74,0x79])]:_0x1670c0([0x45,0x43]),[_0x1670c0([0x75,0x73,0x65])]:_0x1670c0([0x73,0x69,0x67]),[_0x1670c0([0x63,0x72,0x76])]:_0x1670c0([0x50,0x2d,0x32,0x35,0x36]),[_0x1670c0([0x78])]:_0x1670c0([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]),[_0x1670c0([0x79])]:_0x1670c0([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]),[_0x1670c0([0x61,0x6c,0x67])]:_0x1670c0([0x45,0x53,0x32,0x35,0x36])},_0x19debe=_0x2a232e[_0x1670c0([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1670c0([0x67,0x65,0x74])](_0x1670c0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4f8062(){let _0x5ab0d0,_0x13bc04=null,_0x1345dd=null;try{if(_0x19debe==_0x1670c0([0x47,0x50,0x4c]))return _0x1670c0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5ab0d0=_0xb9807(),!_0x5ab0d0)return _0x1670c0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5ab0d0[_0x1670c0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1345dd=_0x346cd3(_0x5ab0d0[_0x1670c0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5ab0d0[_0x1670c0([0x6a,0x74,0x69])])),await _0x3f0671()?_0x2020d1()?_0xe45acb()?_0x1670c0([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x35a8d5()?(_0x5ab0d0[_0x1670c0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1670c0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x13bc04=_0x52fae5(_0x1670c0([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5ab0d0[_0x1670c0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1670c0([0x74,0x72,0x69,0x61,0x6c])&&(_0x13bc04=_0x52fae5(_0x1670c0([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x432f38()):_0x1670c0([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1670c0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1670c0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1670c0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xe45acb(){const _0x8c1b4=[_0x1670c0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1670c0([0x74,0x72,0x69,0x61,0x6c])][_0x1670c0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5ab0d0[_0x1670c0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x457ac5/0x3e8:0xe10*_0x57c6a8;return _0x5ab0d0[_0x1670c0([0x65,0x78,0x70])]<_0x8c1b4;}function _0x2020d1(){const _0x1ea4be=_0x5ab0d0[_0x1670c0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1ea4be&&(!!_0x1ea4be[_0x1670c0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1670c0([0x2a]))||!!_0x1ea4be[_0x1670c0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1670c0([0x53,0x45,0x45])));}function _0x35a8d5(){const _0x1985a1=_0x5ab0d0[_0x1670c0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1985a1||0x0==_0x1985a1[_0x1670c0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x39cd08}=new URL(window[_0x1670c0([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x1985a1[_0x1670c0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x39cd08))return!0x0;const _0x464574=_0x39cd08[_0x1670c0([0x73,0x70,0x6c,0x69,0x74])](_0x1670c0([0x2e]));return _0x1985a1[_0x1670c0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x288c2f=>_0x288c2f[_0x1670c0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1670c0([0x2a])))[_0x1670c0([0x6d,0x61,0x70])](_0x4b0d81=>_0x4b0d81[_0x1670c0([0x73,0x70,0x6c,0x69,0x74])](_0x1670c0([0x2e])))[_0x1670c0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x44b37c=>_0x44b37c[_0x1670c0([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x464574[_0x1670c0([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1670c0([0x6d,0x61,0x70])](_0x2e37dc=>Array(_0x464574[_0x1670c0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2e37dc[_0x1670c0([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1670c0([0x66,0x69,0x6c,0x6c])](_0x2e37dc[0x0]===_0x1670c0([0x2a])?_0x1670c0([0x2a]):'')[_0x1670c0([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2e37dc))[_0x1670c0([0x73,0x6f,0x6d,0x65])](_0x32e014=>_0x464574[_0x1670c0([0x65,0x76,0x65,0x72,0x79])]((_0x4c464b,_0x4f8a8e)=>_0x32e014[_0x4f8a8e]===_0x4c464b||_0x32e014[_0x4f8a8e]===_0x1670c0([0x2a])));}function _0x432f38(){return _0x13bc04&&_0x1345dd?new window[(_0x1670c0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x130691,_0x428407)=>{_0x13bc04[_0x1670c0([0x74,0x68,0x65,0x6e])](_0x130691,_0x428407),_0x1345dd[_0x1670c0([0x74,0x68,0x65,0x6e])](_0x207849=>{_0x207849!=_0x1670c0([0x56,0x61,0x6c,0x69,0x64])&&_0x130691(_0x207849);},_0x428407);}):_0x13bc04||_0x1345dd||_0x1670c0([0x56,0x61,0x6c,0x69,0x64]);}}function _0x346cd3(_0x2abff8,_0x710b7b){return new window[(_0x1670c0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x16130c=>{if(_0x3301ee())return _0x16130c(_0x1670c0([0x56,0x61,0x6c,0x69,0x64]));_0x5e9582(),_0x2a232e[_0x1670c0([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1670c0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x23224a=!0x1;const _0xa38248=_0x5ee11c();function _0x19776e(_0x15a3a2){return!!_0x15a3a2&&(typeof _0x15a3a2===_0x1670c0([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x15a3a2===_0x1670c0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x15a3a2[_0x1670c0([0x74,0x68,0x65,0x6e])]===_0x1670c0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x15a3a2[_0x1670c0([0x63,0x61,0x74,0x63,0x68])]===_0x1670c0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xc35694(_0x4aba9b){_0x2d05fe(_0x4aba9b)[_0x1670c0([0x74,0x68,0x65,0x6e])](_0x19d2ce=>{if(!_0x19d2ce||_0x19d2ce[_0x1670c0([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1670c0([0x6f,0x6b]))return _0x1670c0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2990c1(_0x3b50b6(_0xa38248+_0x710b7b))!=_0x19d2ce[_0x1670c0([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1670c0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1670c0([0x56,0x61,0x6c,0x69,0x64]);})[_0x1670c0([0x74,0x68,0x65,0x6e])](_0x24b284=>(_0x442365(),_0x24b284),()=>{const _0x17e94d=_0x240b09();return null==_0x17e94d?(_0x442365(),_0x1670c0([0x56,0x61,0x6c,0x69,0x64])):_0x1670c0(_0x457ac5-_0x17e94d>(0x1228aea5^_0x1a24e9)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1670c0([0x74,0x68,0x65,0x6e])](_0x16130c)[_0x1670c0([0x63,0x61,0x74,0x63,0x68])](()=>{_0x16130c(_0x1670c0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3b62d0=0x3612c425^_0x1a24e9;function _0x442365(){const _0x42c6cf=_0x1670c0([0x6c,0x6c,0x63,0x74,0x2d])+_0x2990c1(_0x3b50b6(_0x2abff8)),_0x269b14=_0x156b30(_0x2990c1(window[_0x1670c0([0x4d,0x61,0x74,0x68])][_0x1670c0([0x63,0x65,0x69,0x6c])](_0x457ac5/_0x3b62d0)));window[_0x1670c0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1670c0([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x42c6cf,_0x269b14);}function _0x240b09(){const _0x445d59=_0x1670c0([0x6c,0x6c,0x63,0x74,0x2d])+_0x2990c1(_0x3b50b6(_0x2abff8)),_0x38c0f7=window[_0x1670c0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1670c0([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x445d59);return _0x38c0f7?window[_0x1670c0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x156b30(_0x38c0f7),0x10)*_0x3b62d0:null;}function _0x2d05fe(_0x22bbf9){return new window[(_0x1670c0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x31ffcb,_0x39b0b3)=>{_0x22bbf9[_0x1670c0([0x74,0x68,0x65,0x6e])](_0x31ffcb,_0x39b0b3),window[_0x1670c0([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x39b0b3,0x3625fe65^_0x1a24e9);});}}_0x2a232e[_0x1670c0([0x6f,0x6e])](_0x1670c0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x481623,_0x39e70c)=>{if(_0x39e70c[0x0]!=_0x2abff8)return _0x16130c(_0x1670c0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x39e70c[0x1]={..._0x39e70c[0x1],[_0x1670c0([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xa38248};},{[_0x1670c0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1670c0([0x68,0x69,0x67,0x68])}),_0x2a232e[_0x1670c0([0x6f,0x6e])](_0x1670c0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1f1099=>{_0x19776e(_0x1f1099[_0x1670c0([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x23224a=!0x0,_0xc35694(_0x1f1099[_0x1670c0([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1670c0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1670c0([0x6c,0x6f,0x77])}),_0x49db12[_0x1670c0([0x74,0x68,0x65,0x6e])](()=>{_0x23224a||_0x16130c(_0x1670c0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3301ee(){return _0x2a232e[_0x1670c0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1670c0([0x76,0x69,0x65,0x77])][_0x1670c0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1670c0([0x61,0x75,0x74,0x6f]);}function _0x5e9582(){_0x2a232e[_0x1670c0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1670c0([0x76,0x69,0x65,0x77])][_0x1670c0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1670c0([0x61,0x75,0x74,0x6f]);}}function _0x52fae5(_0x1a6b44){const _0x235739=[new window[(_0x1670c0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x303ead=>setTimeout(_0x303ead,0x362d1469^_0x1a24e9)),_0x49db12[_0x1670c0([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1670c0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x69ae8d=>{let _0x2a76be=0x0;_0x2a232e[_0x1670c0([0x6d,0x6f,0x64,0x65,0x6c])][_0x1670c0([0x6f,0x6e])](_0x1670c0([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x13f3fb,_0x15fcc5)=>{_0x15fcc5[0x0][_0x1670c0([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2a76be++,_0x2a76be==(0x36242b5d^_0x1a24e9)&&(_0x69ae8d(),_0x13f3fb[_0x1670c0([0x6f,0x66,0x66])]());});}))];return window[_0x1670c0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1670c0([0x72,0x61,0x63,0x65])](_0x235739)[_0x1670c0([0x74,0x68,0x65,0x6e])](()=>_0x1a6b44);}async function _0x7726ab(){await _0x49db12,_0x2a232e[_0x1670c0([0x6d,0x6f,0x64,0x65,0x6c])][_0x1670c0([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x133d36,_0x2a232e[_0x1670c0([0x6d,0x6f,0x64,0x65,0x6c])][_0x1670c0([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x133d36,_0x2a232e[_0x1670c0([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1670c0([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2830c8(_0x30c97d){const _0x1a0020=_0x430b57();_0x2a232e[_0x1a0020]=_0x1670c0([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])+_0x30c97d,_0x30c97d!=_0x1670c0([0x56,0x61,0x6c,0x69,0x64])&&_0x7726ab();}function _0x430b57(){const _0x44934a=window[_0x1670c0([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1670c0([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1670c0([0x6e,0x6f,0x77])]())[_0x1670c0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1670c0([0x2e]),'');let _0x2f69b1=_0x1670c0([0x7a]);for(let _0x19ca17=0x0;_0x19ca17<_0x44934a[_0x1670c0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x19ca17+=0x2){let _0x419545=window[_0x1670c0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x44934a[_0x1670c0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x19ca17,_0x19ca17+0x2));_0x419545>=_0x412b03[_0x1670c0([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x419545-=_0x412b03[_0x1670c0([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2f69b1+=_0x412b03[_0x419545];}return _0x2f69b1;}function _0xb9807(){const _0x2e5d05=_0x19debe[_0x1670c0([0x73,0x70,0x6c,0x69,0x74])](_0x1670c0([0x2e]));if(0x3!=_0x2e5d05[_0x1670c0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x452637(_0x2e5d05[0x1]);function _0x452637(_0x112f22){const _0x4db2ee=_0x16837f(_0x112f22);return _0x4db2ee&&_0x5d2334()?_0x4db2ee:null;function _0x5d2334(){const _0x1a1bec=_0x4db2ee[_0x1670c0([0x6a,0x74,0x69])],_0x5c8481=window[_0x1670c0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1a1bec[_0x1670c0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1a1bec[_0x1670c0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xc94ac0={..._0x4db2ee,[_0x1670c0([0x6a,0x74,0x69])]:_0x1a1bec[_0x1670c0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1a1bec[_0x1670c0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xc94ac0[_0x1670c0([0x76,0x63])],_0x3b50b6(_0xc94ac0)==_0x5c8481;}}}async function _0x3f0671(){let _0x44fe24=!0x0;try{const _0x14d24e=_0x19debe[_0x1670c0([0x73,0x70,0x6c,0x69,0x74])](_0x1670c0([0x2e])),[_0x45ac11,_0x28265a,_0x5a6e06]=_0x14d24e;return _0xed2620(_0x45ac11),await _0x35a233(_0x45ac11,_0x28265a,_0x5a6e06),_0x44fe24;}catch{return!0x1;}function _0xed2620(_0x2aedbf){const _0x30596f=_0x16837f(_0x2aedbf);_0x30596f&&_0x30596f[_0x1670c0([0x61,0x6c,0x67])]==_0x1670c0([0x45,0x53,0x32,0x35,0x36])||(_0x44fe24=!0x1);}async function _0x35a233(_0x434e85,_0x22da63,_0x5268b5){const _0x4e08f9=window[_0x1670c0([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1670c0([0x66,0x72,0x6f,0x6d])](_0x37870d(_0x5268b5),_0x4adfdf=>_0x4adfdf[_0x1670c0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x49f2dc=new window[(_0x1670c0([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1670c0([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x434e85+_0x1670c0([0x2e])+_0x22da63),_0x36fbc2=window[_0x1670c0([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1670c0([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x36fbc2)return;const _0x72fce=await _0x36fbc2[_0x1670c0([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1670c0([0x6a,0x77,0x6b]),_0x19c867,{[_0x1670c0([0x6e,0x61,0x6d,0x65])]:_0x1670c0([0x45,0x43,0x44,0x53,0x41]),[_0x1670c0([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1670c0([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1670c0([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x36fbc2[_0x1670c0([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1670c0([0x6e,0x61,0x6d,0x65])]:_0x1670c0([0x45,0x43,0x44,0x53,0x41]),[_0x1670c0([0x68,0x61,0x73,0x68])]:{[_0x1670c0([0x6e,0x61,0x6d,0x65])]:_0x1670c0([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x72fce,_0x4e08f9,_0x49f2dc)||(_0x44fe24=!0x1);}}function _0x16837f(_0x445e32){return _0x445e32[_0x1670c0([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1670c0([0x65,0x79]))?JSON[_0x1670c0([0x70,0x61,0x72,0x73,0x65])](_0x37870d(_0x445e32)):null;}function _0x37870d(_0x28ee56){return window[_0x1670c0([0x61,0x74,0x6f,0x62])](_0x28ee56[_0x1670c0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1670c0([0x2b]))[_0x1670c0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1670c0([0x2f])));}function _0x3b50b6(_0x4be98d){let _0x3beb47=0x1505;function _0x594c2e(_0x534143){for(let _0x2316c1=0x0;_0x2316c1<_0x534143[_0x1670c0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2316c1++){const _0x2bb99b=_0x534143[_0x1670c0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2316c1);_0x3beb47=(_0x3beb47<<0x5)+_0x3beb47+_0x2bb99b,_0x3beb47&=_0x3beb47;}}function _0x36a526(_0x35b9a4){Array[_0x1670c0([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x35b9a4)?_0x35b9a4[_0x1670c0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x36a526):_0x35b9a4&&typeof _0x35b9a4==_0x1670c0([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1670c0([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x35b9a4)[_0x1670c0([0x73,0x6f,0x72,0x74])]()[_0x1670c0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3fde64,_0x162ae3])=>{_0x594c2e(_0x3fde64),_0x36a526(_0x162ae3);}):_0x594c2e(window[_0x1670c0([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x35b9a4));}return _0x36a526(_0x4be98d),_0x3beb47>>>0x0;}function _0x2990c1(_0xf2cee4){return _0xf2cee4[_0x1670c0([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1670c0([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1670c0([0x30]));}function _0x156b30(_0x28799e){return _0x28799e[_0x1670c0([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1670c0([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1670c0([0x6a,0x6f,0x69,0x6e])]('');}function _0x133d36(){}function _0x1670c0(_0x2041ae){return _0x2041ae['map'](_0x589855=>String['fromCharCode'](_0x589855))['join']('');}_0x2830c8(await _0x4f8062());}(this);}['_createButton'](_0x5df9aa,_0x52f8c0,_0x4e7ae6=!0x1){const _0x3d3562=new _0x5df9aa(this['editor']['locale']);return _0x3d3562['set']({'withText':_0x4e7ae6,'isToggleable':!0x1}),_0x3d3562['bind']('isEnabled')['to'](_0x52f8c0,'isEnabled'),this['listenTo'](_0x3d3562,'execute',()=>_0x52f8c0['execute']()),_0x3d3562;}['_registerKeybindings'](){const _0x37a098=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':w(_0x37a098,'Source\x20Editing\x20Enhanced')});const _0x468350=_0x4dfe44['isMac']||_0x4dfe44['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':w(_0x37a098,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':w(_0x37a098,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':w(_0x37a098,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':w(_0x37a098,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':w(_0x37a098,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':w(_0x37a098,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':w(_0x37a098,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x468350?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':w(_0x37a098,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':w(_0x37a098,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':w(_0x37a098,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':w(_0x37a098,'Select\x20line'),'keystroke':_0x468350?'Ctrl!+L':'Alt+L'},{'label':w(_0x37a098,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x468350?'Alt+Shift+M':'Ctrl+M'},{'label':w(_0x37a098,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':w(_0x37a098,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':w(_0x37a098,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':w(_0x37a098,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':w(_0x37a098,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x468350?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}class c extends _0x19fbca{constructor(_0x347902){super(_0x347902),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0xe0bc28,_0x58192d){const _0x5e6878=this['editor'],_0x2600bb=_0x58192d?.['rootName']??r(_0x5e6878);_0x5e6878['data']['set']({[_0x2600bb]:_0xe0bc28},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}class ee extends _0x2461fc{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[a];}constructor(_0x153543){super(_0x153543),_0x153543['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 _0x1cb794=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2052c2;for(const _0x4d3289 in _0x1cb794){const _0x12bc07=_0x4d3289,_0x1bd9e3=_0x1cb794[_0x12bc07];if('sourceEditingEnhancedLicenseKeyValid'==_0x1bd9e3||'sourceEditingEnhancedLicenseKeyInvalid'==_0x1bd9e3||'sourceEditingEnhancedLicenseKeyExpired'==_0x1bd9e3||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x1bd9e3||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x1bd9e3||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x1bd9e3||'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x1bd9e3||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x1bd9e3){delete _0x1cb794[_0x12bc07],_0x2052c2=_0x1bd9e3,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0x2052c2&&_0x1cb794['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0x2052c2&&_0x1cb794['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x2052c2&&_0x1cb794['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x2052c2&&_0x1cb794['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x2052c2&&_0x1cb794['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x2052c2&&_0x1cb794['_showLicenseError']('trialLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x2052c2&&_0x1cb794['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0xbc13f6=this['editor'],_0x29d720=_0xbc13f6['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0x29d720&&_0xbc13f6['plugins']['has']('RealTimeCollaborativeEditing'))throw new _0x47f969('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0x29d720&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x5bee65=>_0xbc13f6['plugins']['has'](_0x5bee65))&&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.'),_0xbc13f6['plugins']['has']('RestrictedEditingModeEditing')&&console['warn']('You\x20initialized\x20the\x20editor\x20with\x20the\x20source\x20editing\x20enhanced\x20feature\x20and\x20restricted\x20editing\x20feature.\x20Please\x20be\x20advised\x20that\x20the\x20source\x20editing\x20enhanced\x20feature\x20may\x20not\x20work,\x20and\x20be\x20careful\x20when\x20editing\x20document\x20source\x20that\x20contains\x20markers\x20created\x20by\x20the\x20restricted\x20editing\x20feature.');}}export{d as EditSourceCommand,c as ReplaceSourceCommand,ee as SourceEditingEnhanced};
|
|
23
|
+
import{Command as _0x32bd4a,PendingActions as _0x2b98cf,Plugin as _0x5164b1}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x52bd90,formatHtml as _0x3c698c,env as _0x5c3ca2,uid as _0x4601a7}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconSource as _0x1fa0f7}from'@ckeditor/ckeditor5-icons/dist/index.js';import{View as _0x47ad88,ButtonView as _0x2fd5aa,MenuBarMenuListItemButtonView as _0x93e455}from'@ckeditor/ckeditor5-ui/dist/index.js';import{EditorView as _0x4cbfba,crosshairCursor as _0x29fe14,drawSelection as _0x2686ce,dropCursor as _0x3cbf77,lineNumbers as _0x5ec2ae,highlightActiveLine as _0x4cdef3,highlightActiveLineGutter as _0x3243c6,highlightSpecialChars as _0x1ba08d,rectangularSelection as _0x36688a,keymap as _0x16f3fa}from'@codemirror/view';import{Compartment as _0x5b9a5a,Transaction as _0x4725a3}from'@codemirror/state';import{bracketMatching as _0x3ced95,foldGutter as _0x161177,indentOnInput as _0x536880,syntaxHighlighting as _0x5d18ec,defaultHighlightStyle as _0x31b9b6,foldKeymap as _0x3b005e}from'@codemirror/language';import{toggleTabFocusMode as _0x429a3e,history as _0x54e568,defaultKeymap as _0x52a9dd,historyKeymap as _0x1a011c,indentLess as _0x3cbab5,indentMore as _0x53bc91,redo as _0xd1c908,undo as _0x4262e6}from'@codemirror/commands';import{autocompletion as _0x3bda71,closeBrackets as _0x3ae242,closeBracketsKeymap as _0x23e6be,completionKeymap as _0x236a2c}from'@codemirror/autocomplete';import{html as _0xc764c1}from'@codemirror/lang-html';import{markdown as _0x315186}from'@codemirror/lang-markdown';import{oneDark as _0x2539e7}from'@codemirror/theme-one-dark';function w(_0x13928d,_0x3d10d6){const t=_0x13928d['t'];switch(_0x3d10d6){case'Edit\x20source\x20modal\x20label':return t({'string':'Edit\x20source','id':'Edit\x20source\x20modal\x20label'});case'Source':return t('Source');case'Source\x20Editing\x20Enhanced':return t('Source\x20Editing\x20Enhanced');case'Copy\x20line\x20down':return t('Copy\x20line\x20down');case'Copy\x20line\x20up':return t('Copy\x20line\x20up');case'Delete\x20line':return t('Delete\x20line');case'Indent\x20less':return t('Indent\x20less');case'Indent\x20more':return t('Indent\x20more');case'Fold\x20all':return t('Fold\x20all');case'Fold\x20code\x20(current\x20level)':return t('Fold\x20code\x20(current\x20level)');case'Move\x20line\x20down':return t('Move\x20line\x20down');case'Move\x20line\x20up':return t('Move\x20line\x20up');case'Redo\x20(keystroke)':return t({'id':'Redo\x20(keystroke)','string':'Redo'});case'Select\x20line':return t('Select\x20line');case'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode':return t('Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode');case'Toggle\x20block\x20comment':return t('Toggle\x20block\x20comment');case'Toggle\x20comment':return t('Toggle\x20comment');case'Undo\x20(keystroke)':return t({'id':'Undo\x20(keystroke)','string':'Undo'});case'Unfold\x20all':return t('Unfold\x20all');case'Unfold\x20code\x20(current\x20level)':return t('Unfold\x20code\x20(current\x20level)');case'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.':return t('Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.');case'Cancel':return t('Cancel');case'Save':return t('Save');default:return _0x3d10d6;}}function r(_0x31b4fd){const _0x66e0a2=_0x31b4fd['editing']['view']['document']['roots'],_0x4edc04=_0x66e0a2['length'];if(0x0===_0x4edc04)throw new _0x52bd90('source-editing-enhanced-editor-no-root',_0x31b4fd);if(0x1===_0x4edc04)return _0x66e0a2['first']['rootName'];return Array['from'](_0x31b4fd['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function $(_0x101d96){return X(_0x101d96['replace'](/^[\n\s]*/g,''))?_0x101d96['replace'](/\s+/g,''):_0x101d96;}function X(_0x59d0ee){return _0x59d0ee['startsWith']('<');}function Y(_0x5d8d18){const _0x472882=[_0x4cbfba['lineWrapping'],_0x3bda71(),_0x3ced95(),_0x3ae242(),_0x29fe14(),_0x2686ce(),_0x3cbf77(),_0x5ec2ae(),_0x161177(),_0x4cdef3(),_0x3243c6(),_0x1ba08d(),_0x54e568(),_0x536880(),_0x36688a(),_0x5d18ec(_0x31b9b6,{'fallback':!0x0})],_0x46a542=new _0x5b9a5a();_0x472882['push'](_0x46a542['of'](_0x4cbfba['editable']['of'](!0x0))),'html'===_0x5d8d18['syntaxLanguage']?_0x472882['push'](_0xc764c1()):_0x472882['push'](_0x315186());const _0x5cd327=function(_0x4d2db3){if(_0x4d2db3&&'default'!==_0x4d2db3)return'dark'===_0x4d2db3?_0x2539e7:_0x4d2db3;return null;}(_0x5d8d18['theme']);_0x5cd327&&_0x472882['push'](_0x5cd327),_0x472882['push'](_0x16f3fa['of']([..._0x23e6be,..._0x52a9dd,..._0x1a011c,..._0x3b005e,..._0x236a2c,{'key':'Tab','run':_0x53bc91,'shift':_0x3cbab5,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-y','mac':'Cmd-y','run':_0xd1c908,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-Shift-z','mac':'Cmd-Shift-z','run':_0xd1c908,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-z','mac':'Cmd-z','run':_0x4262e6,'preventDefault':!0x0,'stopPropagation':!0x0}]));const _0x2edb2c=new _0x4cbfba({'extensions':_0x472882,'parent':_0x5d8d18['parent']});return _0x429a3e(_0x2edb2c),{'focus':()=>{_0x2edb2c['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x2edb2c['focus']();},'getData':()=>_0x2edb2c['state']['doc']['toString'](),'setData':_0x218d1a=>{_0x2edb2c['dispatch']({'changes':{'from':0x0,'to':_0x2edb2c['state']['doc']['length'],'insert':_0x218d1a},'annotations':_0x4725a3['addToHistory']['of'](!0x1)});},'setReadOnly':_0x391dea=>{_0x2edb2c['dispatch']({'effects':[_0x46a542['reconfigure'](_0x4cbfba['editable']['of'](!_0x391dea))]});},'destroy':()=>{_0x2edb2c['destroy']();},'instance':_0x2edb2c};}class ee extends _0x47ad88{['_codeEditorApi']=null;['_options'];constructor(_0x229c75,_0x5e13a9){super(_0x229c75),this['_options']=_0x5e13a9,this['set']('isReadOnly',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all-excluded','ck-code-editor'],'tabindex':-0x1}});}['render'](){super['render'](),this['_codeEditorApi']=Y({'parent':this['element'],'syntaxLanguage':this['_options']['syntaxLanguage'],'theme':this['_options']['theme']}),this['on']('change:isReadOnly',(_0x5a961f,_0x42a765,_0x5461b2)=>{this['setReadOnly'](_0x5461b2);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0x468088){this['_codeEditorApi']['setData'](_0x468088);}['setReadOnly'](_0x549baa){this['_codeEditorApi']['setReadOnly'](_0x549baa);}}const te='SourceEditingEnhancedMode';class d extends _0x32bd4a{constructor(_0x3d7e3c){super(_0x3d7e3c),this['affectsData']=!0x1,this['editor']['plugins']['get'](_0x2b98cf)['on']('change:hasAny',(_0x36ec1b,_0x3dec47,_0x2f4e66)=>{_0x2f4e66?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['_disableCommands'](){const _0x858066=this['editor'];for(const _0x2a83bf of _0x858066['commands']['names']())['replaceSource','editSource']['includes'](_0x2a83bf)||_0x858066['commands']['get'](_0x2a83bf)['forceDisabled'](te);}['_enableCommands'](){const _0x1a4d38=this['editor'];for(const _0x2d77a0 of _0x1a4d38['commands']['commands']())_0x2d77a0['clearForceDisabled'](te);}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0xae2b32=this['editor'],_0x3da648=_0xae2b32['locale'],_0x5a43d9=_0xae2b32['plugins']['get']('Dialog'),_0x130284=r(_0xae2b32),_0x4bbb8b=_0xae2b32['data']['get']({'rootName':_0x130284}),_0x385d1b=X(_0x224a4a=_0x4bbb8b)?_0x3c698c(_0x224a4a):_0x224a4a;var _0x224a4a;const _0x15e726=new ee(_0x3da648,{'syntaxLanguage':_0xae2b32['plugins']['has']('Markdown')?'markdown':'html','theme':_0xae2b32['config']['get']('sourceEditingEnhanced.theme')});let _0x6b80c8=!0x0;const _0x30df64=_0x20e4dc=>{if(!_0x6b80c8)return;return $(_0x15e726['getData']())!==$(_0x385d1b)?window['confirm'](w(_0x3da648,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0x20e4dc['stop']():void 0x0;};_0x5a43d9['show']({'id':'sourceEditingEnhanced','title':w(_0x3da648,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0x15e726,'actionButtons':[{'label':w(_0x3da648,'Cancel'),'withText':!0x0,'onExecute':()=>{_0x5a43d9['hide']();}},{'label':w(_0x3da648,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0x431418=$(_0x15e726['getData']())!==$(_0x385d1b);(_0x431418&&_0xae2b32['execute']('replaceSource',_0x15e726['getData']()),_0x6b80c8=!0x1,_0x5a43d9['hide'](),_0x431418&&'editables'in _0xae2b32['ui']['view'])&&_0xae2b32['ui']['view']['editables'][_0x130284]['element']['focus']();},'onCreate':_0x4dc6a8=>{_0x4dc6a8['set']('isEnabled',!_0xae2b32['isReadOnly']),_0x4dc6a8['bind']('isEnabled')['to'](_0xae2b32,'isReadOnly',this,'isEnabled',(_0x1a9719,_0x1acc3e)=>!_0x1a9719&&_0x1acc3e);}}],'onHide':()=>{this['_enableCommands'](),_0x5a43d9['off']('hide',_0x30df64),_0x15e726['destroy']();},'onShow':()=>{_0x15e726['bind']('isReadOnly')['to'](_0xae2b32,'isReadOnly',this,'isEnabled',(_0x1b17cf,_0x151323)=>_0x1b17cf||!_0x151323),_0x15e726['setData'](_0x385d1b),_0x15e726['focus'](),_0x5a43d9['on']('hide',_0x30df64,{'priority':'highest'}),this['_disableCommands']();}});}}class a extends _0x5164b1{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[_0x2b98cf];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x456e40=this['editor'],_0x4c994c=_0x456e40['locale'],_0x57c67f=new d(_0x456e40);_0x456e40['commands']['add']('editSource',_0x57c67f),_0x456e40['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0x43033e=this['_createButton'](_0x2fd5aa,_0x57c67f);return _0x43033e['set']({'label':w(_0x4c994c,'Source'),'icon':_0x1fa0f7,'tooltip':w(_0x4c994c,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0x43033e;}),_0x456e40['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0x5130e6=this['_createButton'](_0x93e455,_0x57c67f,!0x0);return _0x5130e6['set']({'label':w(_0x4c994c,'Edit\x20source\x20modal\x20label'),'icon':_0x1fa0f7,'role':'menuitemcheckbox'}),_0x5130e6;}),this['_registerKeybindings']();}['afterInit'](){!async function(_0x41d315){const _0x23c157=_0x151662([0x71,0x39,0x31,0x5a,0x41,0x6d,0x56,0x4c,0x76,0x6a,0x4e,0x73,0x46,0x55,0x49,0x4b,0x6e,0x75,0x51,0x74,0x37,0x34,0x30,0x44,0x4d,0x58,0x68,0x45,0x59,0x35,0x6f,0x7a,0x4f,0x36,0x47,0x6c,0x33,0x38,0x64,0x6b,0x66,0x61,0x62,0x4a,0x54,0x52,0x79,0x78,0x43,0x63,0x42,0x57,0x77,0x65,0x70,0x72,0x67,0x50,0x53,0x48,0x69,0x32]),_0x4f16ad=0x66da4893,_0x3ce094=0x66dd3883^_0x4f16ad,_0x47cddc=window[_0x151662([0x44,0x61,0x74,0x65])][_0x151662([0x6e,0x6f,0x77])](),_0x4d7592=_0x41d315[_0x151662([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x373509=new window[(_0x151662([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5114e3=>{_0x4d7592[_0x151662([0x6f,0x6e,0x63,0x65])](_0x151662([0x72,0x65,0x61,0x64,0x79]),_0x5114e3);}),_0x33d31a={[_0x151662([0x6b,0x74,0x79])]:_0x151662([0x45,0x43]),[_0x151662([0x75,0x73,0x65])]:_0x151662([0x73,0x69,0x67]),[_0x151662([0x63,0x72,0x76])]:_0x151662([0x50,0x2d,0x32,0x35,0x36]),[_0x151662([0x78])]:_0x151662([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x151662([0x79])]:_0x151662([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x151662([0x61,0x6c,0x67])]:_0x151662([0x45,0x53,0x32,0x35,0x36])},_0x25e94a=_0x4d7592[_0x151662([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x151662([0x67,0x65,0x74])](_0x151662([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4d84f1(){let _0x440331,_0x487628=null,_0xa238d5=null;try{if(_0x25e94a==_0x151662([0x47,0x50,0x4c]))return _0x151662([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x440331=_0x35b776(),!_0x440331)return _0x151662([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x440331[_0x151662([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xa238d5=_0x38dc9c(_0x440331[_0x151662([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x440331[_0x151662([0x6a,0x74,0x69])])),await _0x18fd56()?_0x993cbf()?_0x1c7c84()?_0x151662([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3e767a()?(_0x440331[_0x151662([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x151662([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x487628=_0x4fa3d4(_0x151662([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x440331[_0x151662([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x151662([0x74,0x72,0x69,0x61,0x6c])&&(_0x487628=_0x4fa3d4(_0x151662([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2b54ca()):_0x151662([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x151662([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x151662([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x151662([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1c7c84(){const _0x10d12d=[_0x151662([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x151662([0x74,0x72,0x69,0x61,0x6c])][_0x151662([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x440331[_0x151662([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x47cddc/0x3e8:0xe10*_0x3ce094;return _0x440331[_0x151662([0x65,0x78,0x70])]<_0x10d12d;}function _0x993cbf(){const _0x24f491=_0x440331[_0x151662([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x24f491&&(!!_0x24f491[_0x151662([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x151662([0x2a]))||!!_0x24f491[_0x151662([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x151662([0x53,0x45,0x45])));}function _0x3e767a(){const _0x3c3a54=_0x440331[_0x151662([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3c3a54||0x0==_0x3c3a54[_0x151662([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1e004a}=new URL(window[_0x151662([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3c3a54[_0x151662([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1e004a))return!0x0;const _0x5e346d=_0x1e004a[_0x151662([0x73,0x70,0x6c,0x69,0x74])](_0x151662([0x2e]));return _0x3c3a54[_0x151662([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x71f217=>_0x71f217[_0x151662([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x151662([0x2a])))[_0x151662([0x6d,0x61,0x70])](_0x4ecb3f=>_0x4ecb3f[_0x151662([0x73,0x70,0x6c,0x69,0x74])](_0x151662([0x2e])))[_0x151662([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x15ac7b=>_0x15ac7b[_0x151662([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5e346d[_0x151662([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x151662([0x6d,0x61,0x70])](_0x5c94f7=>Array(_0x5e346d[_0x151662([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5c94f7[_0x151662([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x151662([0x66,0x69,0x6c,0x6c])](_0x5c94f7[0x0]===_0x151662([0x2a])?_0x151662([0x2a]):'')[_0x151662([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5c94f7))[_0x151662([0x73,0x6f,0x6d,0x65])](_0x2f8fc=>_0x5e346d[_0x151662([0x65,0x76,0x65,0x72,0x79])]((_0x1953e1,_0x52de8b)=>_0x2f8fc[_0x52de8b]===_0x1953e1||_0x2f8fc[_0x52de8b]===_0x151662([0x2a])));}function _0x2b54ca(){return _0x487628&&_0xa238d5?new window[(_0x151662([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1196aa,_0x12a514)=>{_0x487628[_0x151662([0x74,0x68,0x65,0x6e])](_0x1196aa,_0x12a514),_0xa238d5[_0x151662([0x74,0x68,0x65,0x6e])](_0x22e8cd=>{_0x22e8cd!=_0x151662([0x56,0x61,0x6c,0x69,0x64])&&_0x1196aa(_0x22e8cd);},_0x12a514);}):_0x487628||_0xa238d5||_0x151662([0x56,0x61,0x6c,0x69,0x64]);}}function _0x38dc9c(_0xbbd886,_0x1e488f){return new window[(_0x151662([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x353cab=>{if(_0x4133ac())return _0x353cab(_0x151662([0x56,0x61,0x6c,0x69,0x64]));_0x7e8363(),_0x4d7592[_0x151662([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x151662([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x16c680=!0x1;const _0x518e0b=_0x4601a7();function _0xf3e722(_0x4f9f7c){return!!_0x4f9f7c&&(typeof _0x4f9f7c===_0x151662([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4f9f7c===_0x151662([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4f9f7c[_0x151662([0x74,0x68,0x65,0x6e])]===_0x151662([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4f9f7c[_0x151662([0x63,0x61,0x74,0x63,0x68])]===_0x151662([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3f88bb(_0x394bc1){_0x481c02(_0x394bc1)[_0x151662([0x74,0x68,0x65,0x6e])](_0x4ea24b=>{if(!_0x4ea24b||_0x4ea24b[_0x151662([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x151662([0x6f,0x6b]))return _0x151662([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2b76f7(_0x48c31c(_0x518e0b+_0x1e488f))!=_0x4ea24b[_0x151662([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x151662([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x151662([0x56,0x61,0x6c,0x69,0x64]);})[_0x151662([0x74,0x68,0x65,0x6e])](_0x2d756f=>(_0x19b5ce(),_0x2d756f),()=>{const _0x274c84=_0x373d85();return null==_0x274c84?(_0x19b5ce(),_0x151662([0x56,0x61,0x6c,0x69,0x64])):_0x151662(_0x47cddc-_0x274c84>(0x42d6cc93^_0x4f16ad)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x151662([0x74,0x68,0x65,0x6e])](_0x353cab)[_0x151662([0x63,0x61,0x74,0x63,0x68])](()=>{_0x353cab(_0x151662([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xbfb8e5=0x66eca613^_0x4f16ad;function _0x19b5ce(){const _0x27e62f=_0x151662([0x6c,0x6c,0x63,0x74,0x2d])+_0x2b76f7(_0x48c31c(_0xbbd886)),_0x43db5c=_0x3af41f(_0x2b76f7(window[_0x151662([0x4d,0x61,0x74,0x68])][_0x151662([0x63,0x65,0x69,0x6c])](_0x47cddc/_0xbfb8e5)));window[_0x151662([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x151662([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x27e62f,_0x43db5c);}function _0x373d85(){const _0x52dadd=_0x151662([0x6c,0x6c,0x63,0x74,0x2d])+_0x2b76f7(_0x48c31c(_0xbbd886)),_0x310b16=window[_0x151662([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x151662([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x52dadd);return _0x310b16?window[_0x151662([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3af41f(_0x310b16),0x10)*_0xbfb8e5:null;}function _0x481c02(_0x3e5c4f){return new window[(_0x151662([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x26e895,_0x2fb0ad)=>{_0x3e5c4f[_0x151662([0x74,0x68,0x65,0x6e])](_0x26e895,_0x2fb0ad),window[_0x151662([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2fb0ad,0x66db9c53^_0x4f16ad);});}}_0x4d7592[_0x151662([0x6f,0x6e])](_0x151662([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x196164,_0x3c3b2b)=>{if(_0x3c3b2b[0x0]!=_0xbbd886)return _0x353cab(_0x151662([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3c3b2b[0x1]={..._0x3c3b2b[0x1],[_0x151662([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x518e0b};},{[_0x151662([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x151662([0x68,0x69,0x67,0x68])}),_0x4d7592[_0x151662([0x6f,0x6e])](_0x151662([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5e8fc4=>{_0xf3e722(_0x5e8fc4[_0x151662([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x16c680=!0x0,_0x3f88bb(_0x5e8fc4[_0x151662([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x151662([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x151662([0x6c,0x6f,0x77])}),_0x373509[_0x151662([0x74,0x68,0x65,0x6e])](()=>{_0x16c680||_0x353cab(_0x151662([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4133ac(){return _0x4d7592[_0x151662([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x151662([0x76,0x69,0x65,0x77])][_0x151662([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x151662([0x61,0x75,0x74,0x6f]);}function _0x7e8363(){_0x4d7592[_0x151662([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x151662([0x76,0x69,0x65,0x77])][_0x151662([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x151662([0x61,0x75,0x74,0x6f]);}}function _0x4fa3d4(_0x24d20e){const _0x2c603c=[new window[(_0x151662([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x481e7f=>setTimeout(_0x481e7f,0x66d3765f^_0x4f16ad)),_0x373509[_0x151662([0x74,0x68,0x65,0x6e])](()=>new window[(_0x151662([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x44ca1b=>{let _0x2eaa1a=0x0;_0x4d7592[_0x151662([0x6d,0x6f,0x64,0x65,0x6c])][_0x151662([0x6f,0x6e])](_0x151662([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2278d9,_0x6dff22)=>{_0x6dff22[0x0][_0x151662([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2eaa1a++,_0x2eaa1a==(0x66da496b^_0x4f16ad)&&(_0x44ca1b(),_0x2278d9[_0x151662([0x6f,0x66,0x66])]());});}))];return window[_0x151662([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x151662([0x72,0x61,0x63,0x65])](_0x2c603c)[_0x151662([0x74,0x68,0x65,0x6e])](()=>_0x24d20e);}async function _0x327b7f(){await _0x373509,_0x4d7592[_0x151662([0x6d,0x6f,0x64,0x65,0x6c])][_0x151662([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1fbe91,_0x4d7592[_0x151662([0x6d,0x6f,0x64,0x65,0x6c])][_0x151662([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1fbe91,_0x4d7592[_0x151662([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x151662([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5b56b7(_0x3b0dad){const _0x58f798=_0x2f767c();_0x4d7592[_0x58f798]=_0x151662([0x73,0x6f,0x75,0x72,0x63,0x65,0x45,0x64,0x69,0x74,0x69,0x6e,0x67,0x45,0x6e,0x68,0x61,0x6e,0x63,0x65,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3b0dad,_0x3b0dad!=_0x151662([0x56,0x61,0x6c,0x69,0x64])&&_0x327b7f();}function _0x2f767c(){const _0x105b37=window[_0x151662([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x151662([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x151662([0x6e,0x6f,0x77])]())[_0x151662([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x151662([0x2e]),'');let _0xf9089a=_0x151662([0x71]);for(let _0x4017ce=0x0;_0x4017ce<_0x105b37[_0x151662([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4017ce+=0x2){let _0x7f42bf=window[_0x151662([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x105b37[_0x151662([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4017ce,_0x4017ce+0x2));_0x7f42bf>=_0x23c157[_0x151662([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x7f42bf-=_0x23c157[_0x151662([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xf9089a+=_0x23c157[_0x7f42bf];}return _0xf9089a;}function _0x35b776(){const _0x2eb4ba=_0x25e94a[_0x151662([0x73,0x70,0x6c,0x69,0x74])](_0x151662([0x2e]));if(0x3!=_0x2eb4ba[_0x151662([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x229c66(_0x2eb4ba[0x1]);function _0x229c66(_0x237c92){const _0x4c6370=_0x21581e(_0x237c92);return _0x4c6370&&_0x30cdd2()?_0x4c6370:null;function _0x30cdd2(){const _0x2c2b71=_0x4c6370[_0x151662([0x6a,0x74,0x69])],_0x284f5a=window[_0x151662([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2c2b71[_0x151662([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2c2b71[_0x151662([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4a9d08={..._0x4c6370,[_0x151662([0x6a,0x74,0x69])]:_0x2c2b71[_0x151662([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2c2b71[_0x151662([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4a9d08[_0x151662([0x76,0x63])],_0x48c31c(_0x4a9d08)==_0x284f5a;}}}async function _0x18fd56(){let _0x1c1f55=!0x0;try{const _0x56f50f=_0x25e94a[_0x151662([0x73,0x70,0x6c,0x69,0x74])](_0x151662([0x2e])),[_0x1f596b,_0xe02c06,_0x32612a]=_0x56f50f;return _0x311643(_0x1f596b),await _0x42e44d(_0x1f596b,_0xe02c06,_0x32612a),_0x1c1f55;}catch{return!0x1;}function _0x311643(_0x13b1b3){const _0x3ce7d2=_0x21581e(_0x13b1b3);_0x3ce7d2&&_0x3ce7d2[_0x151662([0x61,0x6c,0x67])]==_0x151662([0x45,0x53,0x32,0x35,0x36])||(_0x1c1f55=!0x1);}async function _0x42e44d(_0x506793,_0xf808d4,_0x343b21){const _0x55624e=window[_0x151662([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x151662([0x66,0x72,0x6f,0x6d])](_0x5af8f8(_0x343b21),_0x3974df=>_0x3974df[_0x151662([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x42ae65=new window[(_0x151662([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x151662([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x506793+_0x151662([0x2e])+_0xf808d4),_0x19df98=window[_0x151662([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x151662([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x19df98)return;const _0x24fda4=await _0x19df98[_0x151662([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x151662([0x6a,0x77,0x6b]),_0x33d31a,{[_0x151662([0x6e,0x61,0x6d,0x65])]:_0x151662([0x45,0x43,0x44,0x53,0x41]),[_0x151662([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x151662([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x151662([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x19df98[_0x151662([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x151662([0x6e,0x61,0x6d,0x65])]:_0x151662([0x45,0x43,0x44,0x53,0x41]),[_0x151662([0x68,0x61,0x73,0x68])]:{[_0x151662([0x6e,0x61,0x6d,0x65])]:_0x151662([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x24fda4,_0x55624e,_0x42ae65)||(_0x1c1f55=!0x1);}}function _0x21581e(_0x57933b){return _0x57933b[_0x151662([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x151662([0x65,0x79]))?JSON[_0x151662([0x70,0x61,0x72,0x73,0x65])](_0x5af8f8(_0x57933b)):null;}function _0x5af8f8(_0x1577b4){return window[_0x151662([0x61,0x74,0x6f,0x62])](_0x1577b4[_0x151662([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x151662([0x2b]))[_0x151662([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x151662([0x2f])));}function _0x48c31c(_0x1c1dc1){let _0x1a0f6d=0x1505;function _0x15097b(_0x5303f3){for(let _0xab47f1=0x0;_0xab47f1<_0x5303f3[_0x151662([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xab47f1++){const _0x4b6e4f=_0x5303f3[_0x151662([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xab47f1);_0x1a0f6d=(_0x1a0f6d<<0x5)+_0x1a0f6d+_0x4b6e4f,_0x1a0f6d&=_0x1a0f6d;}}function _0xd7c012(_0x14396e){Array[_0x151662([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x14396e)?_0x14396e[_0x151662([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xd7c012):_0x14396e&&typeof _0x14396e==_0x151662([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x151662([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x14396e)[_0x151662([0x73,0x6f,0x72,0x74])]()[_0x151662([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x16bb8c,_0x3a16b3])=>{_0x15097b(_0x16bb8c),_0xd7c012(_0x3a16b3);}):_0x15097b(window[_0x151662([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x14396e));}return _0xd7c012(_0x1c1dc1),_0x1a0f6d>>>0x0;}function _0x2b76f7(_0x3754e4){return _0x3754e4[_0x151662([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x151662([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x151662([0x30]));}function _0x3af41f(_0x224be0){return _0x224be0[_0x151662([0x73,0x70,0x6c,0x69,0x74])]('')[_0x151662([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x151662([0x6a,0x6f,0x69,0x6e])]('');}function _0x1fbe91(){}function _0x151662(_0x11013f){return _0x11013f['map'](_0x33dae8=>String['fromCharCode'](_0x33dae8))['join']('');}_0x5b56b7(await _0x4d84f1());}(this);}['_createButton'](_0x17eee2,_0x53e209,_0x5188ce=!0x1){const _0x17f049=new _0x17eee2(this['editor']['locale']);return _0x17f049['set']({'withText':_0x5188ce,'isToggleable':!0x1}),_0x17f049['bind']('isEnabled')['to'](_0x53e209,'isEnabled'),this['listenTo'](_0x17f049,'execute',()=>_0x53e209['execute']()),_0x17f049;}['_registerKeybindings'](){const _0x421c9d=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':w(_0x421c9d,'Source\x20Editing\x20Enhanced')});const _0x4f5394=_0x5c3ca2['isMac']||_0x5c3ca2['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':w(_0x421c9d,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':w(_0x421c9d,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':w(_0x421c9d,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':w(_0x421c9d,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':w(_0x421c9d,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':w(_0x421c9d,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':w(_0x421c9d,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x4f5394?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':w(_0x421c9d,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':w(_0x421c9d,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':w(_0x421c9d,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':w(_0x421c9d,'Select\x20line'),'keystroke':_0x4f5394?'Ctrl!+L':'Alt+L'},{'label':w(_0x421c9d,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x4f5394?'Alt+Shift+M':'Ctrl+M'},{'label':w(_0x421c9d,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':w(_0x421c9d,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':w(_0x421c9d,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':w(_0x421c9d,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':w(_0x421c9d,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x4f5394?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}class c extends _0x32bd4a{constructor(_0x550ef7){super(_0x550ef7),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0xf56436,_0x5ca598){const _0x43ab20=this['editor'],_0x37cdcf=_0x5ca598?.['rootName']??r(_0x43ab20);_0x43ab20['data']['set']({[_0x37cdcf]:_0xf56436},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}class ne extends _0x5164b1{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[a];}constructor(_0x553a83){super(_0x553a83),_0x553a83['config']['define']('sourceEditingEnhanced.allowCollaborationFeatures',!0x1);}['init'](){this['_checkCompatibility'](),this['editor']['commands']['add']('replaceSource',new c(this['editor'])),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x313cc3=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3edd1a;for(const _0x38810f in _0x313cc3){const _0x3caae9=_0x38810f,_0x49147a=_0x313cc3[_0x3caae9];if('sourceEditingEnhancedLicenseKeyValid'==_0x49147a||'sourceEditingEnhancedLicenseKeyInvalid'==_0x49147a||'sourceEditingEnhancedLicenseKeyExpired'==_0x49147a||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x49147a||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x49147a||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x49147a||'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x49147a||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x49147a){delete _0x313cc3[_0x3caae9],_0x3edd1a=_0x49147a,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0x3edd1a&&_0x313cc3['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0x3edd1a&&_0x313cc3['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x3edd1a&&_0x313cc3['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x3edd1a&&_0x313cc3['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x3edd1a&&_0x313cc3['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x3edd1a&&_0x313cc3['_showLicenseError']('trialLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x3edd1a&&_0x313cc3['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0x185f87=this['editor'],_0x52d965=_0x185f87['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0x52d965&&_0x185f87['plugins']['has']('RealTimeCollaborativeEditing'))throw new _0x52bd90('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0x52d965&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x145445=>_0x185f87['plugins']['has'](_0x145445))&&console['warn']('You\x20initialized\x20the\x20editor\x20with\x20the\x20source\x20editing\x20enhanced\x20feature\x20and\x20at\x20least\x20one\x20of\x20the\x20collaboration\x20features.\x20Please\x20be\x20advised\x20that\x20the\x20source\x20editing\x20feature\x20may\x20not\x20work,\x20and\x20be\x20careful\x20when\x20editing\x20document\x20source\x20that\x20contains\x20markers\x20created\x20by\x20the\x20collaboration\x20features.'),_0x185f87['plugins']['has']('RestrictedEditingModeEditing')&&console['warn']('You\x20initialized\x20the\x20editor\x20with\x20the\x20source\x20editing\x20enhanced\x20feature\x20and\x20restricted\x20editing\x20feature.\x20Please\x20be\x20advised\x20that\x20the\x20source\x20editing\x20enhanced\x20feature\x20may\x20not\x20work,\x20and\x20be\x20careful\x20when\x20editing\x20document\x20source\x20that\x20contains\x20markers\x20created\x20by\x20the\x20restricted\x20editing\x20feature.');}}export{d as EditSourceCommand,c as ReplaceSourceCommand,ne as SourceEditingEnhanced};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-source-editing-enhanced",
|
|
3
|
-
"version": "46.0.1-alpha.
|
|
3
|
+
"version": "46.0.1-alpha.13",
|
|
4
4
|
"description": "Source editing enhanced feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -18,11 +18,11 @@
|
|
|
18
18
|
"type": "module",
|
|
19
19
|
"main": "src/index.js",
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@ckeditor/ckeditor5-core": "46.0.1-alpha.
|
|
22
|
-
"@ckeditor/ckeditor5-icons": "46.0.1-alpha.
|
|
23
|
-
"@ckeditor/ckeditor5-theme-lark": "46.0.1-alpha.
|
|
24
|
-
"@ckeditor/ckeditor5-ui": "46.0.1-alpha.
|
|
25
|
-
"@ckeditor/ckeditor5-utils": "46.0.1-alpha.
|
|
21
|
+
"@ckeditor/ckeditor5-core": "46.0.1-alpha.13",
|
|
22
|
+
"@ckeditor/ckeditor5-icons": "46.0.1-alpha.13",
|
|
23
|
+
"@ckeditor/ckeditor5-theme-lark": "46.0.1-alpha.13",
|
|
24
|
+
"@ckeditor/ckeditor5-ui": "46.0.1-alpha.13",
|
|
25
|
+
"@ckeditor/ckeditor5-utils": "46.0.1-alpha.13",
|
|
26
26
|
"@codemirror/autocomplete": "^6.7.1",
|
|
27
27
|
"@codemirror/commands": "6.8.1",
|
|
28
28
|
"@codemirror/lang-html": "^6.0.0",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"@codemirror/state": "^6.5.0",
|
|
32
32
|
"@codemirror/theme-one-dark": "^6.1.2",
|
|
33
33
|
"@codemirror/view": "^6.35.0",
|
|
34
|
-
"ckeditor5": "46.0.1-alpha.
|
|
34
|
+
"ckeditor5": "46.0.1-alpha.13"
|
|
35
35
|
},
|
|
36
36
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
37
37
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x8ab4a=_0x56b5;(function(_0x38710b,_0x3e0e16){const _0x3f3a0e=_0x56b5,_0x51aa80=_0x38710b();while(!![]){try{const _0x20dee5=parseInt(_0x3f3a0e(0x17a))/0x1*(parseInt(_0x3f3a0e(0x183))/0x2)+-parseInt(_0x3f3a0e(0x161))/0x3*(-parseInt(_0x3f3a0e(0x16b))/0x4)+parseInt(_0x3f3a0e(0x17e))/0x5+-parseInt(_0x3f3a0e(0x1a2))/0x6*(parseInt(_0x3f3a0e(0x186))/0x7)+-parseInt(_0x3f3a0e(0x197))/0x8*(parseInt(_0x3f3a0e(0x190))/0x9)+-parseInt(_0x3f3a0e(0x169))/0xa+parseInt(_0x3f3a0e(0x1a6))/0xb;if(_0x20dee5===_0x3e0e16)break;else _0x51aa80['push'](_0x51aa80['shift']());}catch(_0x5272a0){_0x51aa80['push'](_0x51aa80['shift']());}}}(_0x56a8,0xb2b19));import{Plugin as _0x516745,PendingActions as _0x35bbd8}from'ckeditor5/src/core.js';import{IconSource as _0x3253c0}from'ckeditor5/src/icons.js';import{ButtonView as _0x5bea80,MenuBarMenuListItemButtonView as _0x363fd7}from'ckeditor5/src/ui.js';import{EditSourceCommand as _0x272d9c}from'./ui/editsourcecommand.js';import{getTranslation as _0x21c088}from'./utils/common-translations.js';import{env as _0x36d060,uid as _0x4f3761}from'ckeditor5/src/utils.js';function _0x56b5(_0x12871b,_0x345a2a){const _0x56a88b=_0x56a8();return _0x56b5=function(_0x56b545,_0x3e550d){_0x56b545=_0x56b545-0x151;let _0x97ec2b=_0x56a88b[_0x56b545];return _0x97ec2b;},_0x56b5(_0x12871b,_0x345a2a);}import'../theme/sourceeditingenhanced.css';function _0x56a8(){const _0x45eaa1=['fromCharCode','commands','requires','_registerKeybindings','Source\x20Editing\x20Enhanced','menuitemcheckbox','1912akXtZe','href','bind','map','Ctrl+Y','Ctrl+Shift+Z','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode','Shift+Alt+ArrowUp','Ctrl!+L','Shift+Alt+A','SourceEditingEnhancedUI','6nodMUU','Copy\x20line\x20down','Toggle\x20block\x20comment','isEnabled','12991572RxQuWH','componentFactory','Ctrl+Shift+]','menuBar:sourceEditingEnhanced','ck-source-editing-enhanced-button','Fold\x20code\x20(current\x20level)','Alt+ArrowUp','Shift+Ctrl+K','Unfold\x20code\x20(current\x20level)','Copy\x20line\x20up','Ctrl+Z','isOfficialPlugin','isMac','Ctrl!+Alt+]','sourceEditingEnhanced','Indent\x20more','Undo\x20(keystroke)','3vSADFa','Source','editor','Ctrl+/','afterInit','set','isiOS','Ctrl+Shift+[','14156610thgibb','add','3321356YsFXpM','Alt+ArrowDown','Select\x20line','accessibility','_createButton','listenTo','Edit\x20source\x20modal\x20label','join','addKeystrokeInfoCategory','Delete\x20line','Toggle\x20comment','execute','locale','Alt+L','Shift+Alt+ArrowDown','11bLvvKN','Ctrl!+Alt+[','Indent\x20less','Redo\x20(keystroke)','5435700kJSssA','Ctrl+]','Move\x20line\x20down','Cmd+Alt+[','Cmd+Alt+]','227122gpXOhC','Ctrl+M','Move\x20line\x20up','6164151wwcAMi','editSource','Alt+Shift+M','Unfold\x20all','Ctrl+[','init','pluginName','Fold\x20all','isPremiumPlugin','addKeystrokeInfos','49689ViDDpQ'];_0x56a8=function(){return _0x45eaa1;};return _0x56a8();}export class SourceEditingEnhancedUI extends _0x516745{static get[_0x8ab4a(0x18c)](){const _0x5d0637=_0x8ab4a;return _0x5d0637(0x1a1);}static get[_0x8ab4a(0x193)](){return[_0x35bbd8];}static get[_0x8ab4a(0x15b)](){return!0x0;}static get[_0x8ab4a(0x18e)](){return!0x0;}[_0x8ab4a(0x18b)](){const _0x9e9626=_0x8ab4a,_0x23440f=this[_0x9e9626(0x163)],_0xbe494b=_0x23440f[_0x9e9626(0x177)],_0x594f72=new _0x272d9c(_0x23440f);_0x23440f[_0x9e9626(0x192)][_0x9e9626(0x16a)](_0x9e9626(0x187),_0x594f72),_0x23440f['ui'][_0x9e9626(0x151)][_0x9e9626(0x16a)](_0x9e9626(0x15e),()=>{const _0x18d96a=_0x9e9626,_0x386dec=this[_0x18d96a(0x16f)](_0x5bea80,_0x594f72);return _0x386dec[_0x18d96a(0x166)]({'label':_0x21c088(_0xbe494b,_0x18d96a(0x162)),'icon':_0x3253c0,'tooltip':_0x21c088(_0xbe494b,_0x18d96a(0x171)),'class':_0x18d96a(0x154)}),_0x386dec;}),_0x23440f['ui'][_0x9e9626(0x151)][_0x9e9626(0x16a)](_0x9e9626(0x153),()=>{const _0x4bb739=_0x9e9626,_0x2f4ea7=this[_0x4bb739(0x16f)](_0x363fd7,_0x594f72,!0x0);return _0x2f4ea7[_0x4bb739(0x166)]({'label':_0x21c088(_0xbe494b,_0x4bb739(0x171)),'icon':_0x3253c0,'role':_0x4bb739(0x196)}),_0x2f4ea7;}),this[_0x9e9626(0x194)]();}[_0x8ab4a(0x165)](){!async function(_0x410b55){const _0x45e221=_0x51133d([0x7a,0x45,0x75,0x46,0x5a,0x6d,0x77,0x36,0x32,0x69,0x6b,0x54,0x59,0x72,0x62,0x6a,0x38,0x49,0x55,0x67,0x30,0x76,0x37,0x4e,0x52,0x47,0x63,0x48,0x4c,0x71,0x31,0x74,0x6c,0x33,0x51,0x44,0x66,0x39,0x4a,0x57,0x4b,0x79,0x73,0x58,0x53,0x68,0x78,0x61,0x4f,0x6e,0x35,0x70,0x65,0x64,0x34,0x43,0x4d,0x42,0x41,0x50,0x56,0x6f]),_0x1d1408=0x36242aa5,_0x2b9792=0x36234545^_0x1d1408,_0xf020da=window[_0x51133d([0x44,0x61,0x74,0x65])][_0x51133d([0x6e,0x6f,0x77])](),_0x4107f2=_0x410b55[_0x51133d([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x271dd3=new window[(_0x51133d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x15847e=>{_0x4107f2[_0x51133d([0x6f,0x6e,0x63,0x65])](_0x51133d([0x72,0x65,0x61,0x64,0x79]),_0x15847e);}),_0x4fae1f={[_0x51133d([0x6b,0x74,0x79])]:_0x51133d([0x45,0x43]),[_0x51133d([0x75,0x73,0x65])]:_0x51133d([0x73,0x69,0x67]),[_0x51133d([0x63,0x72,0x76])]:_0x51133d([0x50,0x2d,0x32,0x35,0x36]),[_0x51133d([0x78])]:_0x51133d([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]),[_0x51133d([0x79])]:_0x51133d([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]),[_0x51133d([0x61,0x6c,0x67])]:_0x51133d([0x45,0x53,0x32,0x35,0x36])},_0x40b3cd=_0x4107f2[_0x51133d([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x51133d([0x67,0x65,0x74])](_0x51133d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x427993(){let _0xc4c955,_0x5ec2b9=null,_0x12b167=null;try{if(_0x40b3cd==_0x51133d([0x47,0x50,0x4c]))return _0x51133d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xc4c955=_0x35d518(),!_0xc4c955)return _0x51133d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xc4c955[_0x51133d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x12b167=_0x518f0c(_0xc4c955[_0x51133d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xc4c955[_0x51133d([0x6a,0x74,0x69])])),await _0x9f9b48()?_0x2d62bd()?_0x53215e()?_0x51133d([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x165ff7()?(_0xc4c955[_0x51133d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x51133d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5ec2b9=_0x21c574(_0x51133d([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0xc4c955[_0x51133d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x51133d([0x74,0x72,0x69,0x61,0x6c])&&(_0x5ec2b9=_0x21c574(_0x51133d([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3ccae1()):_0x51133d([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x51133d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x51133d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x51133d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x53215e(){const _0x2da198=[_0x51133d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x51133d([0x74,0x72,0x69,0x61,0x6c])][_0x51133d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xc4c955[_0x51133d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xf020da/0x3e8:0xe10*_0x2b9792;return _0xc4c955[_0x51133d([0x65,0x78,0x70])]<_0x2da198;}function _0x2d62bd(){const _0x595693=_0xc4c955[_0x51133d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x595693&&(!!_0x595693[_0x51133d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x51133d([0x2a]))||!!_0x595693[_0x51133d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x51133d([0x53,0x45,0x45])));}function _0x165ff7(){const _0x5f51fe=_0x56b5,_0x186806=_0xc4c955[_0x51133d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x186806||0x0==_0x186806[_0x51133d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1ea580}=new URL(window[_0x51133d([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x5f51fe(0x198)]);if(_0x186806[_0x51133d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1ea580))return!0x0;const _0xd1bcca=_0x1ea580[_0x51133d([0x73,0x70,0x6c,0x69,0x74])](_0x51133d([0x2e]));return _0x186806[_0x51133d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x59717f=>_0x59717f[_0x51133d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x51133d([0x2a])))[_0x51133d([0x6d,0x61,0x70])](_0x4ec7d3=>_0x4ec7d3[_0x51133d([0x73,0x70,0x6c,0x69,0x74])](_0x51133d([0x2e])))[_0x51133d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x37c33a=>_0x37c33a[_0x51133d([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xd1bcca[_0x51133d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x51133d([0x6d,0x61,0x70])](_0x2f8be9=>Array(_0xd1bcca[_0x51133d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2f8be9[_0x51133d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x51133d([0x66,0x69,0x6c,0x6c])](_0x2f8be9[0x0]===_0x51133d([0x2a])?_0x51133d([0x2a]):'')[_0x51133d([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2f8be9))[_0x51133d([0x73,0x6f,0x6d,0x65])](_0x5d471b=>_0xd1bcca[_0x51133d([0x65,0x76,0x65,0x72,0x79])]((_0x23f9a2,_0x4fe311)=>_0x5d471b[_0x4fe311]===_0x23f9a2||_0x5d471b[_0x4fe311]===_0x51133d([0x2a])));}function _0x3ccae1(){return _0x5ec2b9&&_0x12b167?new window[(_0x51133d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4cf91e,_0x573027)=>{_0x5ec2b9[_0x51133d([0x74,0x68,0x65,0x6e])](_0x4cf91e,_0x573027),_0x12b167[_0x51133d([0x74,0x68,0x65,0x6e])](_0xaf8b49=>{_0xaf8b49!=_0x51133d([0x56,0x61,0x6c,0x69,0x64])&&_0x4cf91e(_0xaf8b49);},_0x573027);}):_0x5ec2b9||_0x12b167||_0x51133d([0x56,0x61,0x6c,0x69,0x64]);}}function _0x518f0c(_0x2713d2,_0x65d7b4){return new window[(_0x51133d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x29c7b8=>{if(_0x16bdb3())return _0x29c7b8(_0x51133d([0x56,0x61,0x6c,0x69,0x64]));_0x581c00(),_0x4107f2[_0x51133d([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x51133d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5e9b3c=!0x1;const _0x21969c=_0x4f3761();function _0xd34d1e(_0xcb6f32){return!!_0xcb6f32&&(typeof _0xcb6f32===_0x51133d([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xcb6f32===_0x51133d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xcb6f32[_0x51133d([0x74,0x68,0x65,0x6e])]===_0x51133d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xcb6f32[_0x51133d([0x63,0x61,0x74,0x63,0x68])]===_0x51133d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x57ea21(_0x634e95){_0x1b06ef(_0x634e95)[_0x51133d([0x74,0x68,0x65,0x6e])](_0x185c28=>{if(!_0x185c28||_0x185c28[_0x51133d([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x51133d([0x6f,0x6b]))return _0x51133d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4120dc(_0x1bd0b8(_0x21969c+_0x65d7b4))!=_0x185c28[_0x51133d([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x51133d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x51133d([0x56,0x61,0x6c,0x69,0x64]);})[_0x51133d([0x74,0x68,0x65,0x6e])](_0x443442=>(_0x4b1c6c(),_0x443442),()=>{const _0x31e7c2=_0x5648eb();return null==_0x31e7c2?(_0x4b1c6c(),_0x51133d([0x56,0x61,0x6c,0x69,0x64])):_0x51133d(_0xf020da-_0x31e7c2>(0x1228aea5^_0x1d1408)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x51133d([0x74,0x68,0x65,0x6e])](_0x29c7b8)[_0x51133d([0x63,0x61,0x74,0x63,0x68])](()=>{_0x29c7b8(_0x51133d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x122a05=0x3612c425^_0x1d1408;function _0x4b1c6c(){const _0x1ad4bb=_0x51133d([0x6c,0x6c,0x63,0x74,0x2d])+_0x4120dc(_0x1bd0b8(_0x2713d2)),_0x41c976=_0x2d850c(_0x4120dc(window[_0x51133d([0x4d,0x61,0x74,0x68])][_0x51133d([0x63,0x65,0x69,0x6c])](_0xf020da/_0x122a05)));window[_0x51133d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x51133d([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1ad4bb,_0x41c976);}function _0x5648eb(){const _0x1e0d3e=_0x51133d([0x6c,0x6c,0x63,0x74,0x2d])+_0x4120dc(_0x1bd0b8(_0x2713d2)),_0x1dc9ff=window[_0x51133d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x51133d([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1e0d3e);return _0x1dc9ff?window[_0x51133d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2d850c(_0x1dc9ff),0x10)*_0x122a05:null;}function _0x1b06ef(_0x3382ec){return new window[(_0x51133d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x48e2c6,_0x36e3bd)=>{_0x3382ec[_0x51133d([0x74,0x68,0x65,0x6e])](_0x48e2c6,_0x36e3bd),window[_0x51133d([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x36e3bd,0x3625fe65^_0x1d1408);});}}_0x4107f2[_0x51133d([0x6f,0x6e])](_0x51133d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x572bad,_0x244ed1)=>{if(_0x244ed1[0x0]!=_0x2713d2)return _0x29c7b8(_0x51133d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x244ed1[0x1]={..._0x244ed1[0x1],[_0x51133d([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x21969c};},{[_0x51133d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x51133d([0x68,0x69,0x67,0x68])}),_0x4107f2[_0x51133d([0x6f,0x6e])](_0x51133d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x300559=>{_0xd34d1e(_0x300559[_0x51133d([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5e9b3c=!0x0,_0x57ea21(_0x300559[_0x51133d([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x51133d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x51133d([0x6c,0x6f,0x77])}),_0x271dd3[_0x51133d([0x74,0x68,0x65,0x6e])](()=>{_0x5e9b3c||_0x29c7b8(_0x51133d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x16bdb3(){return _0x4107f2[_0x51133d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x51133d([0x76,0x69,0x65,0x77])][_0x51133d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x51133d([0x61,0x75,0x74,0x6f]);}function _0x581c00(){_0x4107f2[_0x51133d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x51133d([0x76,0x69,0x65,0x77])][_0x51133d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x51133d([0x61,0x75,0x74,0x6f]);}}function _0x21c574(_0x56c83d){const _0x2c7615=[new window[(_0x51133d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1be52e=>setTimeout(_0x1be52e,0x362d1469^_0x1d1408)),_0x271dd3[_0x51133d([0x74,0x68,0x65,0x6e])](()=>new window[(_0x51133d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x57c6a5=>{let _0x5b877d=0x0;_0x4107f2[_0x51133d([0x6d,0x6f,0x64,0x65,0x6c])][_0x51133d([0x6f,0x6e])](_0x51133d([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x309b11,_0x413c1f)=>{_0x413c1f[0x0][_0x51133d([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5b877d++,_0x5b877d==(0x36242b5d^_0x1d1408)&&(_0x57c6a5(),_0x309b11[_0x51133d([0x6f,0x66,0x66])]());});}))];return window[_0x51133d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x51133d([0x72,0x61,0x63,0x65])](_0x2c7615)[_0x51133d([0x74,0x68,0x65,0x6e])](()=>_0x56c83d);}async function _0x3a8505(){await _0x271dd3,_0x4107f2[_0x51133d([0x6d,0x6f,0x64,0x65,0x6c])][_0x51133d([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1316cc,_0x4107f2[_0x51133d([0x6d,0x6f,0x64,0x65,0x6c])][_0x51133d([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1316cc,_0x4107f2[_0x51133d([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x51133d([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4b0d4b(_0x24cc6f){const _0x2eb469=_0x25b646();_0x4107f2[_0x2eb469]=_0x51133d([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])+_0x24cc6f,_0x24cc6f!=_0x51133d([0x56,0x61,0x6c,0x69,0x64])&&_0x3a8505();}function _0x25b646(){const _0x2f9e29=window[_0x51133d([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x51133d([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x51133d([0x6e,0x6f,0x77])]())[_0x51133d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x51133d([0x2e]),'');let _0x1aab43=_0x51133d([0x7a]);for(let _0x2b42bc=0x0;_0x2b42bc<_0x2f9e29[_0x51133d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2b42bc+=0x2){let _0x5620d8=window[_0x51133d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2f9e29[_0x51133d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2b42bc,_0x2b42bc+0x2));_0x5620d8>=_0x45e221[_0x51133d([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5620d8-=_0x45e221[_0x51133d([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1aab43+=_0x45e221[_0x5620d8];}return _0x1aab43;}function _0x35d518(){const _0x5bcd0b=_0x40b3cd[_0x51133d([0x73,0x70,0x6c,0x69,0x74])](_0x51133d([0x2e]));if(0x3!=_0x5bcd0b[_0x51133d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x57ef5f(_0x5bcd0b[0x1]);function _0x57ef5f(_0x511d7b){const _0xe16111=_0x158737(_0x511d7b);return _0xe16111&&_0x1fc6f4()?_0xe16111:null;function _0x1fc6f4(){const _0x5641b7=_0xe16111[_0x51133d([0x6a,0x74,0x69])],_0x4572d5=window[_0x51133d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5641b7[_0x51133d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5641b7[_0x51133d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x50280e={..._0xe16111,[_0x51133d([0x6a,0x74,0x69])]:_0x5641b7[_0x51133d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5641b7[_0x51133d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x50280e[_0x51133d([0x76,0x63])],_0x1bd0b8(_0x50280e)==_0x4572d5;}}}async function _0x9f9b48(){let _0x4b9cf3=!0x0;try{const _0x25af19=_0x40b3cd[_0x51133d([0x73,0x70,0x6c,0x69,0x74])](_0x51133d([0x2e])),[_0x30824f,_0x1302c9,_0x15f040]=_0x25af19;return _0x1a971a(_0x30824f),await _0x87cd9d(_0x30824f,_0x1302c9,_0x15f040),_0x4b9cf3;}catch{return!0x1;}function _0x1a971a(_0x23291f){const _0x23d771=_0x158737(_0x23291f);_0x23d771&&_0x23d771[_0x51133d([0x61,0x6c,0x67])]==_0x51133d([0x45,0x53,0x32,0x35,0x36])||(_0x4b9cf3=!0x1);}async function _0x87cd9d(_0x341420,_0x3a929a,_0x1155f7){const _0x2de5d0=window[_0x51133d([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x51133d([0x66,0x72,0x6f,0x6d])](_0x15d055(_0x1155f7),_0x450076=>_0x450076[_0x51133d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xcd2bcc=new window[(_0x51133d([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x51133d([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x341420+_0x51133d([0x2e])+_0x3a929a),_0x264a4=window[_0x51133d([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x51133d([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x264a4)return;const _0x4884ec=await _0x264a4[_0x51133d([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x51133d([0x6a,0x77,0x6b]),_0x4fae1f,{[_0x51133d([0x6e,0x61,0x6d,0x65])]:_0x51133d([0x45,0x43,0x44,0x53,0x41]),[_0x51133d([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x51133d([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x51133d([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x264a4[_0x51133d([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x51133d([0x6e,0x61,0x6d,0x65])]:_0x51133d([0x45,0x43,0x44,0x53,0x41]),[_0x51133d([0x68,0x61,0x73,0x68])]:{[_0x51133d([0x6e,0x61,0x6d,0x65])]:_0x51133d([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4884ec,_0x2de5d0,_0xcd2bcc)||(_0x4b9cf3=!0x1);}}function _0x158737(_0x562486){return _0x562486[_0x51133d([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x51133d([0x65,0x79]))?JSON[_0x51133d([0x70,0x61,0x72,0x73,0x65])](_0x15d055(_0x562486)):null;}function _0x15d055(_0x5e3126){return window[_0x51133d([0x61,0x74,0x6f,0x62])](_0x5e3126[_0x51133d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x51133d([0x2b]))[_0x51133d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x51133d([0x2f])));}function _0x1bd0b8(_0x48d495){let _0xbd1656=0x1505;function _0x5b2ddd(_0x6ebcbe){for(let _0x343389=0x0;_0x343389<_0x6ebcbe[_0x51133d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x343389++){const _0x2cfa8e=_0x6ebcbe[_0x51133d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x343389);_0xbd1656=(_0xbd1656<<0x5)+_0xbd1656+_0x2cfa8e,_0xbd1656&=_0xbd1656;}}function _0x2dc796(_0x5940c4){Array[_0x51133d([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5940c4)?_0x5940c4[_0x51133d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2dc796):_0x5940c4&&typeof _0x5940c4==_0x51133d([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x51133d([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5940c4)[_0x51133d([0x73,0x6f,0x72,0x74])]()[_0x51133d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x519600,_0x5a44b5])=>{_0x5b2ddd(_0x519600),_0x2dc796(_0x5a44b5);}):_0x5b2ddd(window[_0x51133d([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5940c4));}return _0x2dc796(_0x48d495),_0xbd1656>>>0x0;}function _0x4120dc(_0x5e9c9f){return _0x5e9c9f[_0x51133d([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x51133d([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x51133d([0x30]));}function _0x2d850c(_0x19e9cb){return _0x19e9cb[_0x51133d([0x73,0x70,0x6c,0x69,0x74])]('')[_0x51133d([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x51133d([0x6a,0x6f,0x69,0x6e])]('');}function _0x1316cc(){}function _0x51133d(_0x1fc95b){const _0x322db1=_0x56b5;return _0x1fc95b[_0x322db1(0x19a)](_0x568c21=>String[_0x322db1(0x191)](_0x568c21))[_0x322db1(0x172)]('');}_0x4b0d4b(await _0x427993());}(this);}[_0x8ab4a(0x16f)](_0x400681,_0x6cb63b,_0x34b4a3=!0x1){const _0x13a832=_0x8ab4a,_0x474c6b=new _0x400681(this[_0x13a832(0x163)][_0x13a832(0x177)]);return _0x474c6b[_0x13a832(0x166)]({'withText':_0x34b4a3,'isToggleable':!0x1}),_0x474c6b[_0x13a832(0x199)](_0x13a832(0x1a5))['to'](_0x6cb63b,_0x13a832(0x1a5)),this[_0x13a832(0x170)](_0x474c6b,_0x13a832(0x176),()=>_0x6cb63b[_0x13a832(0x176)]()),_0x474c6b;}[_0x8ab4a(0x194)](){const _0x4cdd84=_0x8ab4a,_0x2e2868=this[_0x4cdd84(0x163)][_0x4cdd84(0x177)];this[_0x4cdd84(0x163)][_0x4cdd84(0x16e)][_0x4cdd84(0x173)]({'id':_0x4cdd84(0x15e),'label':_0x21c088(_0x2e2868,_0x4cdd84(0x195))});const _0x3b5877=_0x36d060[_0x4cdd84(0x15c)]||_0x36d060[_0x4cdd84(0x167)];this[_0x4cdd84(0x163)][_0x4cdd84(0x16e)][_0x4cdd84(0x18f)]({'categoryId':_0x4cdd84(0x15e),'keystrokes':[{'label':_0x21c088(_0x2e2868,_0x4cdd84(0x1a3)),'keystroke':_0x4cdd84(0x179)},{'label':_0x21c088(_0x2e2868,_0x4cdd84(0x159)),'keystroke':_0x4cdd84(0x19e)},{'label':_0x21c088(_0x2e2868,_0x4cdd84(0x174)),'keystroke':_0x4cdd84(0x157)},{'label':_0x21c088(_0x2e2868,_0x4cdd84(0x17c)),'keystroke':_0x4cdd84(0x18a)},{'label':_0x21c088(_0x2e2868,_0x4cdd84(0x15f)),'keystroke':_0x4cdd84(0x17f)},{'label':_0x21c088(_0x2e2868,_0x4cdd84(0x18d)),'keystroke':_0x4cdd84(0x17b)},{'label':_0x21c088(_0x2e2868,_0x4cdd84(0x155)),'keystroke':_0x3b5877?_0x4cdd84(0x181):_0x4cdd84(0x168)},{'label':_0x21c088(_0x2e2868,_0x4cdd84(0x180)),'keystroke':_0x4cdd84(0x16c)},{'label':_0x21c088(_0x2e2868,_0x4cdd84(0x185)),'keystroke':_0x4cdd84(0x156)},{'label':_0x21c088(_0x2e2868,_0x4cdd84(0x17d)),'keystroke':[[_0x4cdd84(0x19c)],[_0x4cdd84(0x19b)]]},{'label':_0x21c088(_0x2e2868,_0x4cdd84(0x16d)),'keystroke':_0x3b5877?_0x4cdd84(0x19f):_0x4cdd84(0x178)},{'label':_0x21c088(_0x2e2868,_0x4cdd84(0x19d)),'keystroke':_0x3b5877?_0x4cdd84(0x188):_0x4cdd84(0x184)},{'label':_0x21c088(_0x2e2868,_0x4cdd84(0x1a4)),'keystroke':_0x4cdd84(0x1a0)},{'label':_0x21c088(_0x2e2868,_0x4cdd84(0x175)),'keystroke':_0x4cdd84(0x164)},{'label':_0x21c088(_0x2e2868,_0x4cdd84(0x160)),'keystroke':_0x4cdd84(0x15a)},{'label':_0x21c088(_0x2e2868,_0x4cdd84(0x189)),'keystroke':_0x4cdd84(0x15d)},{'label':_0x21c088(_0x2e2868,_0x4cdd84(0x158)),'keystroke':_0x3b5877?_0x4cdd84(0x182):_0x4cdd84(0x152)}]});}}
|
|
23
|
+
function _0x5930(_0x41a35e,_0x48db42){const _0x2db318=_0x2db3();return _0x5930=function(_0x59307f,_0x18bc79){_0x59307f=_0x59307f-0x183;let _0x30f4a2=_0x2db318[_0x59307f];return _0x30f4a2;},_0x5930(_0x41a35e,_0x48db42);}const _0x21537b=_0x5930;(function(_0x23bcc4,_0x18acff){const _0x2f8c3b=_0x5930,_0x1d8b76=_0x23bcc4();while(!![]){try{const _0x4197d9=parseInt(_0x2f8c3b(0x1d5))/0x1*(-parseInt(_0x2f8c3b(0x1cc))/0x2)+-parseInt(_0x2f8c3b(0x191))/0x3*(-parseInt(_0x2f8c3b(0x1d3))/0x4)+-parseInt(_0x2f8c3b(0x1c1))/0x5*(-parseInt(_0x2f8c3b(0x1cf))/0x6)+parseInt(_0x2f8c3b(0x1d1))/0x7+-parseInt(_0x2f8c3b(0x1c2))/0x8+-parseInt(_0x2f8c3b(0x1d7))/0x9+parseInt(_0x2f8c3b(0x193))/0xa*(-parseInt(_0x2f8c3b(0x1bd))/0xb);if(_0x4197d9===_0x18acff)break;else _0x1d8b76['push'](_0x1d8b76['shift']());}catch(_0x55a6fd){_0x1d8b76['push'](_0x1d8b76['shift']());}}}(_0x2db3,0x4a46e));import{Plugin as _0x64014,PendingActions as _0x4f1c97}from'ckeditor5/src/core.js';import{IconSource as _0x3bd5a6}from'ckeditor5/src/icons.js';import{ButtonView as _0x28432f,MenuBarMenuListItemButtonView as _0x14dcaf}from'ckeditor5/src/ui.js';import{EditSourceCommand as _0x80badc}from'./ui/editsourcecommand.js';function _0x2db3(){const _0x5ee801=['Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode','Select\x20line','editSource','Source\x20Editing\x20Enhanced','afterInit','Move\x20line\x20up','componentFactory','Alt+Shift+M','Cmd+Alt+]','set','Delete\x20line','Toggle\x20block\x20comment','Ctrl+]','Ctrl+[','Ctrl!+L','isMac','Toggle\x20comment','listenTo','Fold\x20all','Ctrl!+Alt+]','Cmd+Alt+[','isiOS','Unfold\x20code\x20(current\x20level)','commands','Alt+L','Edit\x20source\x20modal\x20label','fromCharCode','locale','addKeystrokeInfos','Ctrl!+Alt+[','112585TaZZVj','Shift+Alt+A','Ctrl+/','Copy\x20line\x20down','56035Knxrug','970568eRpLXR','ck-source-editing-enhanced-button','Redo\x20(keystroke)','Move\x20line\x20down','Ctrl+Shift+]','Indent\x20more','Shift+Ctrl+K','isOfficialPlugin','Ctrl+Shift+Z','pluginName','454YvpXJd','init','Source','234UiIsLR','Ctrl+M','2813650zAIKYI','Shift+Alt+ArrowUp','2836tIwxon','isPremiumPlugin','1204bUkxpC','accessibility','759132xknOEz','addKeystrokeInfoCategory','_registerKeybindings','sourceEditingEnhanced','href','Indent\x20less','join','map','menuBar:sourceEditingEnhanced','requires','editor','Ctrl+Z','Ctrl+Y','Unfold\x20all','bind','Copy\x20line\x20up','2319htVZZh','Alt+ArrowDown','590YxVGzi','Undo\x20(keystroke)','Ctrl+Shift+[','Shift+Alt+ArrowDown','isEnabled','SourceEditingEnhancedUI','execute','Fold\x20code\x20(current\x20level)','Alt+ArrowUp','menuitemcheckbox','add','_createButton'];_0x2db3=function(){return _0x5ee801;};return _0x2db3();}import{getTranslation as _0x19f1a4}from'./utils/common-translations.js';import{env as _0x1b3aaf,uid as _0x3448b3}from'ckeditor5/src/utils.js';import'../theme/sourceeditingenhanced.css';export class SourceEditingEnhancedUI extends _0x64014{static get[_0x21537b(0x1cb)](){const _0x1ded2b=_0x21537b;return _0x1ded2b(0x198);}static get[_0x21537b(0x18a)](){return[_0x4f1c97];}static get[_0x21537b(0x1c9)](){return!0x0;}static get[_0x21537b(0x1d4)](){return!0x0;}[_0x21537b(0x1cd)](){const _0x3197cc=_0x21537b,_0x3486c9=this[_0x3197cc(0x18b)],_0x371bab=_0x3486c9[_0x3197cc(0x1ba)],_0x2b7c08=new _0x80badc(_0x3486c9);_0x3486c9[_0x3197cc(0x1b6)][_0x3197cc(0x19d)](_0x3197cc(0x1a1),_0x2b7c08),_0x3486c9['ui'][_0x3197cc(0x1a5)][_0x3197cc(0x19d)](_0x3197cc(0x184),()=>{const _0x1dd7ef=_0x3197cc,_0x1b24e1=this[_0x1dd7ef(0x19e)](_0x28432f,_0x2b7c08);return _0x1b24e1[_0x1dd7ef(0x1a8)]({'label':_0x19f1a4(_0x371bab,_0x1dd7ef(0x1ce)),'icon':_0x3bd5a6,'tooltip':_0x19f1a4(_0x371bab,_0x1dd7ef(0x1b8)),'class':_0x1dd7ef(0x1c3)}),_0x1b24e1;}),_0x3486c9['ui'][_0x3197cc(0x1a5)][_0x3197cc(0x19d)](_0x3197cc(0x189),()=>{const _0x34c7f3=_0x3197cc,_0x12d529=this[_0x34c7f3(0x19e)](_0x14dcaf,_0x2b7c08,!0x0);return _0x12d529[_0x34c7f3(0x1a8)]({'label':_0x19f1a4(_0x371bab,_0x34c7f3(0x1b8)),'icon':_0x3bd5a6,'role':_0x34c7f3(0x19c)}),_0x12d529;}),this[_0x3197cc(0x183)]();}[_0x21537b(0x1a3)](){!async function(_0x2e09df){const _0x217ebf=_0x101bb5([0x71,0x39,0x31,0x5a,0x41,0x6d,0x56,0x4c,0x76,0x6a,0x4e,0x73,0x46,0x55,0x49,0x4b,0x6e,0x75,0x51,0x74,0x37,0x34,0x30,0x44,0x4d,0x58,0x68,0x45,0x59,0x35,0x6f,0x7a,0x4f,0x36,0x47,0x6c,0x33,0x38,0x64,0x6b,0x66,0x61,0x62,0x4a,0x54,0x52,0x79,0x78,0x43,0x63,0x42,0x57,0x77,0x65,0x70,0x72,0x67,0x50,0x53,0x48,0x69,0x32]),_0x543709=0x66da4893,_0x283be8=0x66dd3883^_0x543709,_0x1ac803=window[_0x101bb5([0x44,0x61,0x74,0x65])][_0x101bb5([0x6e,0x6f,0x77])](),_0x573ca8=_0x2e09df[_0x101bb5([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xe76bd1=new window[(_0x101bb5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2d3a35=>{_0x573ca8[_0x101bb5([0x6f,0x6e,0x63,0x65])](_0x101bb5([0x72,0x65,0x61,0x64,0x79]),_0x2d3a35);}),_0x54460f={[_0x101bb5([0x6b,0x74,0x79])]:_0x101bb5([0x45,0x43]),[_0x101bb5([0x75,0x73,0x65])]:_0x101bb5([0x73,0x69,0x67]),[_0x101bb5([0x63,0x72,0x76])]:_0x101bb5([0x50,0x2d,0x32,0x35,0x36]),[_0x101bb5([0x78])]:_0x101bb5([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x101bb5([0x79])]:_0x101bb5([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x101bb5([0x61,0x6c,0x67])]:_0x101bb5([0x45,0x53,0x32,0x35,0x36])},_0x2a0e4e=_0x573ca8[_0x101bb5([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x101bb5([0x67,0x65,0x74])](_0x101bb5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x39a57a(){let _0x57a253,_0x5ae0f1=null,_0x41700a=null;try{if(_0x2a0e4e==_0x101bb5([0x47,0x50,0x4c]))return _0x101bb5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x57a253=_0xad603f(),!_0x57a253)return _0x101bb5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x57a253[_0x101bb5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x41700a=_0xb6ff04(_0x57a253[_0x101bb5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x57a253[_0x101bb5([0x6a,0x74,0x69])])),await _0x1eb0dd()?_0x5ca49f()?_0x1dee99()?_0x101bb5([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x835146()?(_0x57a253[_0x101bb5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x101bb5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5ae0f1=_0x252967(_0x101bb5([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x57a253[_0x101bb5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x101bb5([0x74,0x72,0x69,0x61,0x6c])&&(_0x5ae0f1=_0x252967(_0x101bb5([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x49ca5b()):_0x101bb5([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x101bb5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x101bb5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x101bb5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1dee99(){const _0x2da25d=[_0x101bb5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x101bb5([0x74,0x72,0x69,0x61,0x6c])][_0x101bb5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x57a253[_0x101bb5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1ac803/0x3e8:0xe10*_0x283be8;return _0x57a253[_0x101bb5([0x65,0x78,0x70])]<_0x2da25d;}function _0x5ca49f(){const _0x35f4ae=_0x57a253[_0x101bb5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x35f4ae&&(!!_0x35f4ae[_0x101bb5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x101bb5([0x2a]))||!!_0x35f4ae[_0x101bb5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x101bb5([0x53,0x45,0x45])));}function _0x835146(){const _0x4d7b30=_0x5930,_0x3dcd53=_0x57a253[_0x101bb5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3dcd53||0x0==_0x3dcd53[_0x101bb5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x37238d}=new URL(window[_0x101bb5([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4d7b30(0x185)]);if(_0x3dcd53[_0x101bb5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x37238d))return!0x0;const _0x1d71b6=_0x37238d[_0x101bb5([0x73,0x70,0x6c,0x69,0x74])](_0x101bb5([0x2e]));return _0x3dcd53[_0x101bb5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1257fe=>_0x1257fe[_0x101bb5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x101bb5([0x2a])))[_0x101bb5([0x6d,0x61,0x70])](_0x749643=>_0x749643[_0x101bb5([0x73,0x70,0x6c,0x69,0x74])](_0x101bb5([0x2e])))[_0x101bb5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x31a2a4=>_0x31a2a4[_0x101bb5([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1d71b6[_0x101bb5([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x101bb5([0x6d,0x61,0x70])](_0xe6504=>Array(_0x1d71b6[_0x101bb5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xe6504[_0x101bb5([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x101bb5([0x66,0x69,0x6c,0x6c])](_0xe6504[0x0]===_0x101bb5([0x2a])?_0x101bb5([0x2a]):'')[_0x101bb5([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xe6504))[_0x101bb5([0x73,0x6f,0x6d,0x65])](_0xc8d7f0=>_0x1d71b6[_0x101bb5([0x65,0x76,0x65,0x72,0x79])]((_0x8b9e87,_0x23f7e1)=>_0xc8d7f0[_0x23f7e1]===_0x8b9e87||_0xc8d7f0[_0x23f7e1]===_0x101bb5([0x2a])));}function _0x49ca5b(){return _0x5ae0f1&&_0x41700a?new window[(_0x101bb5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4058f0,_0x104622)=>{_0x5ae0f1[_0x101bb5([0x74,0x68,0x65,0x6e])](_0x4058f0,_0x104622),_0x41700a[_0x101bb5([0x74,0x68,0x65,0x6e])](_0x2d6887=>{_0x2d6887!=_0x101bb5([0x56,0x61,0x6c,0x69,0x64])&&_0x4058f0(_0x2d6887);},_0x104622);}):_0x5ae0f1||_0x41700a||_0x101bb5([0x56,0x61,0x6c,0x69,0x64]);}}function _0xb6ff04(_0xa96b5a,_0x1d7db7){return new window[(_0x101bb5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x33d8b5=>{if(_0x3db141())return _0x33d8b5(_0x101bb5([0x56,0x61,0x6c,0x69,0x64]));_0x2ab97e(),_0x573ca8[_0x101bb5([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x101bb5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x598af8=!0x1;const _0x400dd2=_0x3448b3();function _0x1c2d7c(_0x1f1371){return!!_0x1f1371&&(typeof _0x1f1371===_0x101bb5([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1f1371===_0x101bb5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1f1371[_0x101bb5([0x74,0x68,0x65,0x6e])]===_0x101bb5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1f1371[_0x101bb5([0x63,0x61,0x74,0x63,0x68])]===_0x101bb5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x191fae(_0x247649){_0x87a106(_0x247649)[_0x101bb5([0x74,0x68,0x65,0x6e])](_0x553125=>{if(!_0x553125||_0x553125[_0x101bb5([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x101bb5([0x6f,0x6b]))return _0x101bb5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5e4f39(_0x18f60a(_0x400dd2+_0x1d7db7))!=_0x553125[_0x101bb5([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x101bb5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x101bb5([0x56,0x61,0x6c,0x69,0x64]);})[_0x101bb5([0x74,0x68,0x65,0x6e])](_0x828c54=>(_0x342d26(),_0x828c54),()=>{const _0x13d7d2=_0x4a166e();return null==_0x13d7d2?(_0x342d26(),_0x101bb5([0x56,0x61,0x6c,0x69,0x64])):_0x101bb5(_0x1ac803-_0x13d7d2>(0x42d6cc93^_0x543709)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x101bb5([0x74,0x68,0x65,0x6e])](_0x33d8b5)[_0x101bb5([0x63,0x61,0x74,0x63,0x68])](()=>{_0x33d8b5(_0x101bb5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x381f04=0x66eca613^_0x543709;function _0x342d26(){const _0x46e05a=_0x101bb5([0x6c,0x6c,0x63,0x74,0x2d])+_0x5e4f39(_0x18f60a(_0xa96b5a)),_0x35c08e=_0x49eebf(_0x5e4f39(window[_0x101bb5([0x4d,0x61,0x74,0x68])][_0x101bb5([0x63,0x65,0x69,0x6c])](_0x1ac803/_0x381f04)));window[_0x101bb5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x101bb5([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x46e05a,_0x35c08e);}function _0x4a166e(){const _0x5b885a=_0x101bb5([0x6c,0x6c,0x63,0x74,0x2d])+_0x5e4f39(_0x18f60a(_0xa96b5a)),_0x5d2449=window[_0x101bb5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x101bb5([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5b885a);return _0x5d2449?window[_0x101bb5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x49eebf(_0x5d2449),0x10)*_0x381f04:null;}function _0x87a106(_0x3441e7){return new window[(_0x101bb5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x443e2f,_0x1bbe51)=>{_0x3441e7[_0x101bb5([0x74,0x68,0x65,0x6e])](_0x443e2f,_0x1bbe51),window[_0x101bb5([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1bbe51,0x66db9c53^_0x543709);});}}_0x573ca8[_0x101bb5([0x6f,0x6e])](_0x101bb5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x110938,_0x4e55e6)=>{if(_0x4e55e6[0x0]!=_0xa96b5a)return _0x33d8b5(_0x101bb5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4e55e6[0x1]={..._0x4e55e6[0x1],[_0x101bb5([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x400dd2};},{[_0x101bb5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x101bb5([0x68,0x69,0x67,0x68])}),_0x573ca8[_0x101bb5([0x6f,0x6e])](_0x101bb5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x645d75=>{_0x1c2d7c(_0x645d75[_0x101bb5([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x598af8=!0x0,_0x191fae(_0x645d75[_0x101bb5([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x101bb5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x101bb5([0x6c,0x6f,0x77])}),_0xe76bd1[_0x101bb5([0x74,0x68,0x65,0x6e])](()=>{_0x598af8||_0x33d8b5(_0x101bb5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3db141(){return _0x573ca8[_0x101bb5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x101bb5([0x76,0x69,0x65,0x77])][_0x101bb5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x101bb5([0x61,0x75,0x74,0x6f]);}function _0x2ab97e(){_0x573ca8[_0x101bb5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x101bb5([0x76,0x69,0x65,0x77])][_0x101bb5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x101bb5([0x61,0x75,0x74,0x6f]);}}function _0x252967(_0x21b18d){const _0x1786a1=[new window[(_0x101bb5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1dffd9=>setTimeout(_0x1dffd9,0x66d3765f^_0x543709)),_0xe76bd1[_0x101bb5([0x74,0x68,0x65,0x6e])](()=>new window[(_0x101bb5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5a49f2=>{let _0x36e463=0x0;_0x573ca8[_0x101bb5([0x6d,0x6f,0x64,0x65,0x6c])][_0x101bb5([0x6f,0x6e])](_0x101bb5([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5b962e,_0x40b64f)=>{_0x40b64f[0x0][_0x101bb5([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x36e463++,_0x36e463==(0x66da496b^_0x543709)&&(_0x5a49f2(),_0x5b962e[_0x101bb5([0x6f,0x66,0x66])]());});}))];return window[_0x101bb5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x101bb5([0x72,0x61,0x63,0x65])](_0x1786a1)[_0x101bb5([0x74,0x68,0x65,0x6e])](()=>_0x21b18d);}async function _0x3604c5(){await _0xe76bd1,_0x573ca8[_0x101bb5([0x6d,0x6f,0x64,0x65,0x6c])][_0x101bb5([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x382f90,_0x573ca8[_0x101bb5([0x6d,0x6f,0x64,0x65,0x6c])][_0x101bb5([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x382f90,_0x573ca8[_0x101bb5([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x101bb5([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x103125(_0x3f9f31){const _0x343b90=_0x4d856b();_0x573ca8[_0x343b90]=_0x101bb5([0x73,0x6f,0x75,0x72,0x63,0x65,0x45,0x64,0x69,0x74,0x69,0x6e,0x67,0x45,0x6e,0x68,0x61,0x6e,0x63,0x65,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3f9f31,_0x3f9f31!=_0x101bb5([0x56,0x61,0x6c,0x69,0x64])&&_0x3604c5();}function _0x4d856b(){const _0x24949d=window[_0x101bb5([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x101bb5([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x101bb5([0x6e,0x6f,0x77])]())[_0x101bb5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x101bb5([0x2e]),'');let _0x29fff4=_0x101bb5([0x71]);for(let _0x2f347c=0x0;_0x2f347c<_0x24949d[_0x101bb5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2f347c+=0x2){let _0x26f886=window[_0x101bb5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x24949d[_0x101bb5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2f347c,_0x2f347c+0x2));_0x26f886>=_0x217ebf[_0x101bb5([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x26f886-=_0x217ebf[_0x101bb5([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x29fff4+=_0x217ebf[_0x26f886];}return _0x29fff4;}function _0xad603f(){const _0x3db48a=_0x2a0e4e[_0x101bb5([0x73,0x70,0x6c,0x69,0x74])](_0x101bb5([0x2e]));if(0x3!=_0x3db48a[_0x101bb5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4a50c3(_0x3db48a[0x1]);function _0x4a50c3(_0x499ac4){const _0x482e21=_0x359582(_0x499ac4);return _0x482e21&&_0x109f6c()?_0x482e21:null;function _0x109f6c(){const _0x17bd39=_0x482e21[_0x101bb5([0x6a,0x74,0x69])],_0x5dd35c=window[_0x101bb5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x17bd39[_0x101bb5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x17bd39[_0x101bb5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x213b48={..._0x482e21,[_0x101bb5([0x6a,0x74,0x69])]:_0x17bd39[_0x101bb5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x17bd39[_0x101bb5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x213b48[_0x101bb5([0x76,0x63])],_0x18f60a(_0x213b48)==_0x5dd35c;}}}async function _0x1eb0dd(){let _0x1377aa=!0x0;try{const _0x279215=_0x2a0e4e[_0x101bb5([0x73,0x70,0x6c,0x69,0x74])](_0x101bb5([0x2e])),[_0x16ad89,_0xd3125c,_0x51a175]=_0x279215;return _0x3eacbe(_0x16ad89),await _0x5091ee(_0x16ad89,_0xd3125c,_0x51a175),_0x1377aa;}catch{return!0x1;}function _0x3eacbe(_0x30bf3b){const _0x399571=_0x359582(_0x30bf3b);_0x399571&&_0x399571[_0x101bb5([0x61,0x6c,0x67])]==_0x101bb5([0x45,0x53,0x32,0x35,0x36])||(_0x1377aa=!0x1);}async function _0x5091ee(_0x55d593,_0x1523a6,_0x564a11){const _0x46d968=window[_0x101bb5([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x101bb5([0x66,0x72,0x6f,0x6d])](_0x28c101(_0x564a11),_0x57a024=>_0x57a024[_0x101bb5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x238631=new window[(_0x101bb5([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x101bb5([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x55d593+_0x101bb5([0x2e])+_0x1523a6),_0xaefc62=window[_0x101bb5([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x101bb5([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xaefc62)return;const _0x95a278=await _0xaefc62[_0x101bb5([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x101bb5([0x6a,0x77,0x6b]),_0x54460f,{[_0x101bb5([0x6e,0x61,0x6d,0x65])]:_0x101bb5([0x45,0x43,0x44,0x53,0x41]),[_0x101bb5([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x101bb5([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x101bb5([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xaefc62[_0x101bb5([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x101bb5([0x6e,0x61,0x6d,0x65])]:_0x101bb5([0x45,0x43,0x44,0x53,0x41]),[_0x101bb5([0x68,0x61,0x73,0x68])]:{[_0x101bb5([0x6e,0x61,0x6d,0x65])]:_0x101bb5([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x95a278,_0x46d968,_0x238631)||(_0x1377aa=!0x1);}}function _0x359582(_0x4fb45f){return _0x4fb45f[_0x101bb5([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x101bb5([0x65,0x79]))?JSON[_0x101bb5([0x70,0x61,0x72,0x73,0x65])](_0x28c101(_0x4fb45f)):null;}function _0x28c101(_0x458964){return window[_0x101bb5([0x61,0x74,0x6f,0x62])](_0x458964[_0x101bb5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x101bb5([0x2b]))[_0x101bb5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x101bb5([0x2f])));}function _0x18f60a(_0x402342){let _0x27b67c=0x1505;function _0x28240a(_0x47c876){for(let _0x55ab26=0x0;_0x55ab26<_0x47c876[_0x101bb5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x55ab26++){const _0x2560e8=_0x47c876[_0x101bb5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x55ab26);_0x27b67c=(_0x27b67c<<0x5)+_0x27b67c+_0x2560e8,_0x27b67c&=_0x27b67c;}}function _0x5199cf(_0x489069){Array[_0x101bb5([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x489069)?_0x489069[_0x101bb5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5199cf):_0x489069&&typeof _0x489069==_0x101bb5([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x101bb5([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x489069)[_0x101bb5([0x73,0x6f,0x72,0x74])]()[_0x101bb5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xb0015f,_0x1d7236])=>{_0x28240a(_0xb0015f),_0x5199cf(_0x1d7236);}):_0x28240a(window[_0x101bb5([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x489069));}return _0x5199cf(_0x402342),_0x27b67c>>>0x0;}function _0x5e4f39(_0x45a817){return _0x45a817[_0x101bb5([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x101bb5([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x101bb5([0x30]));}function _0x49eebf(_0x459871){return _0x459871[_0x101bb5([0x73,0x70,0x6c,0x69,0x74])]('')[_0x101bb5([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x101bb5([0x6a,0x6f,0x69,0x6e])]('');}function _0x382f90(){}function _0x101bb5(_0x1373db){const _0x36eafe=_0x5930;return _0x1373db[_0x36eafe(0x188)](_0x486e98=>String[_0x36eafe(0x1b9)](_0x486e98))[_0x36eafe(0x187)]('');}_0x103125(await _0x39a57a());}(this);}[_0x21537b(0x19e)](_0x53c99a,_0x5484f4,_0x1a6071=!0x1){const _0x245d32=_0x21537b,_0x56f409=new _0x53c99a(this[_0x245d32(0x18b)][_0x245d32(0x1ba)]);return _0x56f409[_0x245d32(0x1a8)]({'withText':_0x1a6071,'isToggleable':!0x1}),_0x56f409[_0x245d32(0x18f)](_0x245d32(0x197))['to'](_0x5484f4,_0x245d32(0x197)),this[_0x245d32(0x1b0)](_0x56f409,_0x245d32(0x199),()=>_0x5484f4[_0x245d32(0x199)]()),_0x56f409;}[_0x21537b(0x183)](){const _0xd9c0c4=_0x21537b,_0x4d4d5e=this[_0xd9c0c4(0x18b)][_0xd9c0c4(0x1ba)];this[_0xd9c0c4(0x18b)][_0xd9c0c4(0x1d6)][_0xd9c0c4(0x1d8)]({'id':_0xd9c0c4(0x184),'label':_0x19f1a4(_0x4d4d5e,_0xd9c0c4(0x1a2))});const _0x53fd68=_0x1b3aaf[_0xd9c0c4(0x1ae)]||_0x1b3aaf[_0xd9c0c4(0x1b4)];this[_0xd9c0c4(0x18b)][_0xd9c0c4(0x1d6)][_0xd9c0c4(0x1bb)]({'categoryId':_0xd9c0c4(0x184),'keystrokes':[{'label':_0x19f1a4(_0x4d4d5e,_0xd9c0c4(0x1c0)),'keystroke':_0xd9c0c4(0x196)},{'label':_0x19f1a4(_0x4d4d5e,_0xd9c0c4(0x190)),'keystroke':_0xd9c0c4(0x1d2)},{'label':_0x19f1a4(_0x4d4d5e,_0xd9c0c4(0x1a9)),'keystroke':_0xd9c0c4(0x1c8)},{'label':_0x19f1a4(_0x4d4d5e,_0xd9c0c4(0x186)),'keystroke':_0xd9c0c4(0x1ac)},{'label':_0x19f1a4(_0x4d4d5e,_0xd9c0c4(0x1c7)),'keystroke':_0xd9c0c4(0x1ab)},{'label':_0x19f1a4(_0x4d4d5e,_0xd9c0c4(0x1b1)),'keystroke':_0xd9c0c4(0x1bc)},{'label':_0x19f1a4(_0x4d4d5e,_0xd9c0c4(0x19a)),'keystroke':_0x53fd68?_0xd9c0c4(0x1b3):_0xd9c0c4(0x195)},{'label':_0x19f1a4(_0x4d4d5e,_0xd9c0c4(0x1c5)),'keystroke':_0xd9c0c4(0x192)},{'label':_0x19f1a4(_0x4d4d5e,_0xd9c0c4(0x1a4)),'keystroke':_0xd9c0c4(0x19b)},{'label':_0x19f1a4(_0x4d4d5e,_0xd9c0c4(0x1c4)),'keystroke':[[_0xd9c0c4(0x1ca)],[_0xd9c0c4(0x18d)]]},{'label':_0x19f1a4(_0x4d4d5e,_0xd9c0c4(0x1a0)),'keystroke':_0x53fd68?_0xd9c0c4(0x1ad):_0xd9c0c4(0x1b7)},{'label':_0x19f1a4(_0x4d4d5e,_0xd9c0c4(0x19f)),'keystroke':_0x53fd68?_0xd9c0c4(0x1a6):_0xd9c0c4(0x1d0)},{'label':_0x19f1a4(_0x4d4d5e,_0xd9c0c4(0x1aa)),'keystroke':_0xd9c0c4(0x1be)},{'label':_0x19f1a4(_0x4d4d5e,_0xd9c0c4(0x1af)),'keystroke':_0xd9c0c4(0x1bf)},{'label':_0x19f1a4(_0x4d4d5e,_0xd9c0c4(0x194)),'keystroke':_0xd9c0c4(0x18c)},{'label':_0x19f1a4(_0x4d4d5e,_0xd9c0c4(0x18e)),'keystroke':_0xd9c0c4(0x1b2)},{'label':_0x19f1a4(_0x4d4d5e,_0xd9c0c4(0x1b5)),'keystroke':_0x53fd68?_0xd9c0c4(0x1a7):_0xd9c0c4(0x1c6)}]});}}
|
package/src/ui/codeeditorview.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x2a9b2f=_0x1ee1;(function(_0x809b1f,_0xaedd90){var _0x547229=_0x1ee1,_0x1357dd=_0x809b1f();while(!![]){try{var _0x546fd0=parseInt(_0x547229(0x1d5))/0x1+parseInt(_0x547229(0x1c1))/0x2*(-parseInt(_0x547229(0x1c2))/0x3)+-parseInt(_0x547229(0x1ce))/0x4+parseInt(_0x547229(0x1d4))/0x5+parseInt(_0x547229(0x1c4))/0x6+parseInt(_0x547229(0x1c5))/0x7+-parseInt(_0x547229(0x1d7))/0x8;if(_0x546fd0===_0xaedd90)break;else _0x1357dd['push'](_0x1357dd['shift']());}catch(_0x453e54){_0x1357dd['push'](_0x1357dd['shift']());}}}(_0x316b,0x45eb6));function _0x1ee1(_0x2767b5,_0x18551a){var _0x316bf3=_0x316b();return _0x1ee1=function(_0x1ee16a,_0x4135d0){_0x1ee16a=_0x1ee16a-0x1bf;var _0x92c683=_0x316bf3[_0x1ee16a];return _0x92c683;},_0x1ee1(_0x2767b5,_0x18551a);}import{View as _0x21a2a3}from'ckeditor5/src/ui.js';function _0x316b(){var _0x50c024=['theme','div','isReadOnly','ck-reset_all-excluded','focus','setTemplate','syntaxLanguage','ck-code-editor','299292bJuWej','setData','getData','destroy','setReadOnly','_codeEditorApi','2124895fbkdKj','562266rRTDMh','render','9596344zxtMFY','_options','change:isReadOnly','set','1782NwzNjH','729kZSNbq','element','3277992nGaXys','1705844wcPNHt'];_0x316b=function(){return _0x50c024;};return _0x316b();}import{createCodeMirrorEditor as _0x3adcd7}from'../utils/createcodemirroreditor.js';export class CodeEditorView extends _0x21a2a3{[_0x2a9b2f(0x1d3)]=null;[_0x2a9b2f(0x1d8)];constructor(_0x10791a,_0x4f06bf){var _0x1044dc=_0x2a9b2f;super(_0x10791a),this[_0x1044dc(0x1d8)]=_0x4f06bf,this[_0x1044dc(0x1c0)](_0x1044dc(0x1c8),!0x1),this[_0x1044dc(0x1cb)]({'tag':_0x1044dc(0x1c7),'attributes':{'class':['ck',_0x1044dc(0x1c9),_0x1044dc(0x1cd)],'tabindex':-0x1}});}[_0x2a9b2f(0x1d6)](){var _0x35f4ba=_0x2a9b2f;super[_0x35f4ba(0x1d6)](),this[_0x35f4ba(0x1d3)]=_0x3adcd7({'parent':this[_0x35f4ba(0x1c3)],'syntaxLanguage':this[_0x35f4ba(0x1d8)][_0x35f4ba(0x1cc)],'theme':this[_0x35f4ba(0x1d8)][_0x35f4ba(0x1c6)]}),this['on'](_0x35f4ba(0x1bf),(_0x4418ef,_0x525c41,_0x1daa93)=>{var _0x47c256=_0x35f4ba;this[_0x47c256(0x1d2)](_0x1daa93);});}[_0x2a9b2f(0x1d1)](){var _0xd2e000=_0x2a9b2f;super[_0xd2e000(0x1d1)](),this[_0xd2e000(0x1d3)][_0xd2e000(0x1d1)](),this[_0xd2e000(0x1d3)]=null;}[_0x2a9b2f(0x1ca)](){var _0x3f25f2=_0x2a9b2f;this[_0x3f25f2(0x1c8)]?this[_0x3f25f2(0x1c3)][_0x3f25f2(0x1ca)]():this[_0x3f25f2(0x1d3)][_0x3f25f2(0x1ca)]();}[_0x2a9b2f(0x1d0)](){var _0x1b7973=_0x2a9b2f;return this[_0x1b7973(0x1d3)][_0x1b7973(0x1d0)]();}[_0x2a9b2f(0x1cf)](_0x2491f6){var _0x53c144=_0x2a9b2f;this[_0x53c144(0x1d3)][_0x53c144(0x1cf)](_0x2491f6);}[_0x2a9b2f(0x1d2)](_0x452601){var _0x56b2d6=_0x2a9b2f;this[_0x56b2d6(0x1d3)][_0x56b2d6(0x1d2)](_0x452601);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x7fc6(){const _0xa6e5b=['highest','getData','pendingActions','get','config','stop','commands','execute','_disableCommands','names','isReadOnly','12YvfDHu','4328OsoVIj','destroy','element','markdown','html','8666911XLqmrH','isEnabled','2149gjkFTv','change:hasAny','forceDisabled','1682246gydYWw','ck-button-action','includes','refresh','hide','locale','1155884iHsLcK','Dialog','editor','Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.','9EDEQTd','SourceEditingEnhancedMode','6635830CDcBks','Markdown','bind','sourceEditingEnhanced.theme','editables','affectsData','off','set','show','6rkVvnk','has','editSource','confirm','replaceSource','clearForceDisabled','plugins','Save','sourceEditingEnhanced','2938055ZOoDmN','view','focus','828012YLjKPJ','Edit\x20source\x20modal\x20label','ck-source-editing-enhanced-dialog','Cancel','setData','data','_enableCommands'];_0x7fc6=function(){return _0xa6e5b;};return _0x7fc6();}const _0xc5e50c=_0x487b;(function(_0x53f514,_0x542995){const _0x327f45=_0x487b,_0x36da7d=_0x53f514();while(!![]){try{const _0x554acd=parseInt(_0x327f45(0x9c))/0x1+parseInt(_0x327f45(0x96))/0x2+parseInt(_0x327f45(0x79))/0x3*(-parseInt(_0x327f45(0x8b))/0x4)+parseInt(_0x327f45(0x76))/0x5*(-parseInt(_0x327f45(0x6d))/0x6)+-parseInt(_0x327f45(0x93))/0x7*(-parseInt(_0x327f45(0x8c))/0x8)+-parseInt(_0x327f45(0xa0))/0x9*(-parseInt(_0x327f45(0xa2))/0xa)+-parseInt(_0x327f45(0x91))/0xb;if(_0x554acd===_0x542995)break;else _0x36da7d['push'](_0x36da7d['shift']());}catch(_0x18a413){_0x36da7d['push'](_0x36da7d['shift']());}}}(_0x7fc6,0x98231));import{Command as _0x23feba,PendingActions as _0x3fa994}from'ckeditor5/src/core.js';import{getTranslation as _0x4ba888}from'../utils/common-translations.js';import{getActiveRootName as _0x2cf965}from'../utils/getactiverootname.js';function _0x487b(_0x420eae,_0x4f9b3d){const _0x7fc642=_0x7fc6();return _0x487b=function(_0x487b84,_0x44a4d6){_0x487b84=_0x487b84-0x6a;let _0x2fcece=_0x7fc642[_0x487b84];return _0x2fcece;},_0x487b(_0x420eae,_0x4f9b3d);}import{formatSource as _0x13b2a2,unformatSource as _0x124106}from'../utils/format.js';import{CodeEditorView as _0x6b462b}from'./codeeditorview.js';const te=_0xc5e50c(0xa1);export class EditSourceCommand extends _0x23feba{constructor(_0xae2fce){const _0x2dd16c=_0xc5e50c;super(_0xae2fce),this[_0x2dd16c(0xa7)]=!0x1,this[_0x2dd16c(0x9e)][_0x2dd16c(0x73)][_0x2dd16c(0x83)](_0x3fa994)['on'](_0x2dd16c(0x94),(_0x3e6584,_0x1d079e,_0x2a4401)=>{const _0xe4702d=_0x2dd16c;_0x2a4401?this[_0xe4702d(0x95)](_0xe4702d(0x82)):this[_0xe4702d(0x72)](_0xe4702d(0x82));});}[_0xc5e50c(0x88)](){const _0x49e468=_0xc5e50c,_0x57cd8c=this[_0x49e468(0x9e)];for(const _0x317ef7 of _0x57cd8c[_0x49e468(0x86)][_0x49e468(0x89)]())[_0x49e468(0x71),_0x49e468(0x6f)][_0x49e468(0x98)](_0x317ef7)||_0x57cd8c[_0x49e468(0x86)][_0x49e468(0x83)](_0x317ef7)[_0x49e468(0x95)](te);}[_0xc5e50c(0x7f)](){const _0x40590e=_0xc5e50c,_0x3122a1=this[_0x40590e(0x9e)];for(const _0x3e003d of _0x3122a1[_0x40590e(0x86)][_0x40590e(0x86)]())_0x3e003d[_0x40590e(0x72)](te);}[_0xc5e50c(0x99)](){const _0x1a67e5=_0xc5e50c;this[_0x1a67e5(0x92)]=!0x0;}[_0xc5e50c(0x87)](){const _0x129758=_0xc5e50c,_0x33ae78=this[_0x129758(0x9e)],_0x3295d3=_0x33ae78[_0x129758(0x9b)],_0x2e5e97=_0x33ae78[_0x129758(0x73)][_0x129758(0x83)](_0x129758(0x9d)),_0x380544=_0x2cf965(_0x33ae78),_0x2242dc=_0x33ae78[_0x129758(0x7e)][_0x129758(0x83)]({'rootName':_0x380544}),_0x56c764=_0x13b2a2(_0x2242dc),_0x56879a=new _0x6b462b(_0x3295d3,{'syntaxLanguage':_0x33ae78[_0x129758(0x73)][_0x129758(0x6e)](_0x129758(0xa3))?_0x129758(0x8f):_0x129758(0x90),'theme':_0x33ae78[_0x129758(0x84)][_0x129758(0x83)](_0x129758(0xa5))});let _0x192ef0=!0x0;const _0x334b46=_0x1369e1=>{const _0x119ef7=_0x129758;if(!_0x192ef0)return;const _0x1f2599=_0x56879a[_0x119ef7(0x81)]();return _0x124106(_0x1f2599)!==_0x124106(_0x56c764)?window[_0x119ef7(0x70)](_0x4ba888(_0x3295d3,_0x119ef7(0x9f)))?void 0x0:_0x1369e1[_0x119ef7(0x85)]():void 0x0;};_0x2e5e97[_0x129758(0x6c)]({'id':_0x129758(0x75),'title':_0x4ba888(_0x3295d3,_0x129758(0x7a)),'isModal':!0x0,'className':_0x129758(0x7b),'content':_0x56879a,'actionButtons':[{'label':_0x4ba888(_0x3295d3,_0x129758(0x7c)),'withText':!0x0,'onExecute':()=>{const _0x3a6740=_0x129758;_0x2e5e97[_0x3a6740(0x9a)]();}},{'label':_0x4ba888(_0x3295d3,_0x129758(0x74)),'class':_0x129758(0x97),'withText':!0x0,'onExecute':()=>{const _0x5b3769=_0x129758,_0x5bf31d=_0x56879a[_0x5b3769(0x81)](),_0x5b860a=_0x124106(_0x5bf31d)!==_0x124106(_0x56c764);(_0x5b860a&&_0x33ae78[_0x5b3769(0x87)](_0x5b3769(0x71),_0x56879a[_0x5b3769(0x81)]()),_0x192ef0=!0x1,_0x2e5e97[_0x5b3769(0x9a)](),_0x5b860a&&_0x5b3769(0xa6)in _0x33ae78['ui'][_0x5b3769(0x77)])&&_0x33ae78['ui'][_0x5b3769(0x77)][_0x5b3769(0xa6)][_0x380544][_0x5b3769(0x8e)][_0x5b3769(0x78)]();},'onCreate':_0x57046c=>{const _0x206b57=_0x129758;_0x57046c[_0x206b57(0x6b)](_0x206b57(0x92),!_0x33ae78[_0x206b57(0x8a)]),_0x57046c[_0x206b57(0xa4)](_0x206b57(0x92))['to'](_0x33ae78,_0x206b57(0x8a),this,_0x206b57(0x92),(_0x24a30a,_0x498d8e)=>!_0x24a30a&&_0x498d8e);}}],'onHide':()=>{const _0x2476ca=_0x129758;this[_0x2476ca(0x7f)](),_0x2e5e97[_0x2476ca(0x6a)](_0x2476ca(0x9a),_0x334b46),_0x56879a[_0x2476ca(0x8d)]();},'onShow':()=>{const _0x4d1db0=_0x129758;_0x56879a[_0x4d1db0(0xa4)](_0x4d1db0(0x8a))['to'](_0x33ae78,_0x4d1db0(0x8a),this,_0x4d1db0(0x92),(_0x247fd2,_0x5c09c3)=>_0x247fd2||!_0x5c09c3),_0x56879a[_0x4d1db0(0x7d)](_0x56c764),_0x56879a[_0x4d1db0(0x78)](),_0x2e5e97['on'](_0x4d1db0(0x9a),_0x334b46,{'priority':_0x4d1db0(0x80)}),this[_0x4d1db0(0x88)]();}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x2de613,_0x1502f6){const _0x7807ea=_0x2492,_0x12e560=_0x2de613();while(!![]){try{const _0x32f137=parseInt(_0x7807ea(0x1f2))/0x1*(-parseInt(_0x7807ea(0x209))/0x2)+parseInt(_0x7807ea(0x200))/0x3+-parseInt(_0x7807ea(0x1f4))/0x4*(-parseInt(_0x7807ea(0x1f9))/0x5)+parseInt(_0x7807ea(0x20b))/0x6*(-parseInt(_0x7807ea(0x20a))/0x7)+-parseInt(_0x7807ea(0x206))/0x8+-parseInt(_0x7807ea(0x211))/0x9+parseInt(_0x7807ea(0x1fc))/0xa;if(_0x32f137===_0x1502f6)break;else _0x12e560['push'](_0x12e560['shift']());}catch(_0x4e7d72){_0x12e560['push'](_0x12e560['shift']());}}}(_0x4ecc,0x674a9));import{lineNumbers as _0x2f0fae,highlightActiveLineGutter as _0x39d641,highlightSpecialChars as _0x504333,drawSelection as _0x54de7b,dropCursor as _0x2d9be4,rectangularSelection as _0x575d00,crosshairCursor as _0x282b66,highlightActiveLine as _0x1621bb,keymap as _0x3b6753,EditorView as _0x683c47}from'@codemirror/view';import{Compartment as _0x3ed7fb,Transaction as _0xafcd59}from'@codemirror/state';import{foldGutter as _0x1c99ce,indentOnInput as _0x2a0c1d,syntaxHighlighting as _0x246553,defaultHighlightStyle as _0x12065f,bracketMatching as _0x22f332,foldKeymap as _0x5ed024}from'@codemirror/language';import{history as _0x96addb,defaultKeymap as _0x1c488d,historyKeymap as _0x1e1753,redo as _0x3fbae9,undo as _0x513ca2,indentMore as _0x2ce4ec,indentLess as _0x39d246,toggleTabFocusMode as _0x2ad70b}from'@codemirror/commands';import{closeBrackets as _0x2ead07,autocompletion as _0x442c15,closeBracketsKeymap as _0x5503ad,completionKeymap as _0x3ecb72}from'@codemirror/autocomplete';import{html as _0x166746}from'@codemirror/lang-html';function _0x2492(_0x2765fb,_0x1220a9){const _0x4ecc45=_0x4ecc();return _0x2492=function(_0x2492b6,_0x527cc0){_0x2492b6=_0x2492b6-0x1f1;let _0x4a9055=_0x4ecc45[_0x2492b6];return _0x4a9055;},_0x2492(_0x2765fb,_0x1220a9);}function _0x4ecc(){const _0x27c65a=['focus','Ctrl-z','19445730glZbpK','reconfigure','Cmd-Shift-z','editable','681279sKoiLK','length','html','lineWrapping','toString','state','6085064dkJfDu','default','Cmd-z','12bQDJlD','4325153PoeSju','6PXCvaX','parent','syntaxLanguage','Ctrl-Shift-z','Tab','doc','1958409iovqFu','dark','push','Cmd-y','84948JFafyj','destroy','59536rsphmn','dispatch','addToHistory','Ctrl-y','theme','120aZtLBU'];_0x4ecc=function(){return _0x27c65a;};return _0x4ecc();}import{markdown as _0x2b79b3}from'@codemirror/lang-markdown';import{oneDark as _0x56e604}from'@codemirror/theme-one-dark';export function createCodeMirrorEditor(_0x54abc7){const _0x30ccf9=_0x2492,_0x18bfe=[_0x683c47[_0x30ccf9(0x203)],_0x442c15(),_0x22f332(),_0x2ead07(),_0x282b66(),_0x54de7b(),_0x2d9be4(),_0x2f0fae(),_0x1c99ce(),_0x1621bb(),_0x39d641(),_0x504333(),_0x96addb(),_0x2a0c1d(),_0x575d00(),_0x246553(_0x12065f,{'fallback':!0x0})],_0x1dd189=new _0x3ed7fb();_0x18bfe[_0x30ccf9(0x213)](_0x1dd189['of'](_0x683c47[_0x30ccf9(0x1ff)]['of'](!0x0))),_0x30ccf9(0x202)===_0x54abc7[_0x30ccf9(0x20d)]?_0x18bfe[_0x30ccf9(0x213)](_0x166746()):_0x18bfe[_0x30ccf9(0x213)](_0x2b79b3());const _0x50c24a=function(_0x39e554){const _0x4aac55=_0x30ccf9;if(_0x39e554&&_0x4aac55(0x207)!==_0x39e554)return _0x4aac55(0x212)===_0x39e554?_0x56e604:_0x39e554;return null;}(_0x54abc7[_0x30ccf9(0x1f8)]);_0x50c24a&&_0x18bfe[_0x30ccf9(0x213)](_0x50c24a),_0x18bfe[_0x30ccf9(0x213)](...getKeybindings());const _0x5777e7=new _0x683c47({'extensions':_0x18bfe,'parent':_0x54abc7[_0x30ccf9(0x20c)]});return _0x2ad70b(_0x5777e7),{'focus':()=>{const _0x479593=_0x30ccf9;_0x5777e7[_0x479593(0x1f5)]({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x5777e7[_0x479593(0x1fa)]();},'getData':()=>_0x5777e7[_0x30ccf9(0x205)][_0x30ccf9(0x210)][_0x30ccf9(0x204)](),'setData':_0x52ad1b=>{const _0x2591a9=_0x30ccf9;_0x5777e7[_0x2591a9(0x1f5)]({'changes':{'from':0x0,'to':_0x5777e7[_0x2591a9(0x205)][_0x2591a9(0x210)][_0x2591a9(0x201)],'insert':_0x52ad1b},'annotations':_0xafcd59[_0x2591a9(0x1f6)]['of'](!0x1)});},'setReadOnly':_0x3f59ca=>{const _0xb57199=_0x30ccf9;_0x5777e7[_0xb57199(0x1f5)]({'effects':[_0x1dd189[_0xb57199(0x1fd)](_0x683c47[_0xb57199(0x1ff)]['of'](!_0x3f59ca))]});},'destroy':()=>{const _0x412192=_0x30ccf9;_0x5777e7[_0x412192(0x1f3)]();},'instance':_0x5777e7};}export function getKeybindings(){const _0x2af8ed=_0x2492;return[_0x3b6753['of']([..._0x5503ad,..._0x1c488d,..._0x1e1753,..._0x5ed024,..._0x3ecb72,{'key':_0x2af8ed(0x20f),'run':_0x2ce4ec,'shift':_0x39d246,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':_0x2af8ed(0x1f7),'mac':_0x2af8ed(0x1f1),'run':_0x3fbae9,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':_0x2af8ed(0x20e),'mac':_0x2af8ed(0x1fe),'run':_0x3fbae9,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':_0x2af8ed(0x1fb),'mac':_0x2af8ed(0x208),'run':_0x513ca2,'preventDefault':!0x0,'stopPropagation':!0x0}])];}
|
package/src/utils/format.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x4b1651,_0x39e6d5){var _0x4b0743=_0x1d20,_0x2ac227=_0x4b1651();while(!![]){try{var _0xc7a8b0=-parseInt(_0x4b0743(0xb4))/0x1*(parseInt(_0x4b0743(0xb6))/0x2)+parseInt(_0x4b0743(0xba))/0x3+-parseInt(_0x4b0743(0xb7))/0x4*(parseInt(_0x4b0743(0xb0))/0x5)+parseInt(_0x4b0743(0xb3))/0x6+parseInt(_0x4b0743(0xbc))/0x7+-parseInt(_0x4b0743(0xb2))/0x8*(-parseInt(_0x4b0743(0xb9))/0x9)+parseInt(_0x4b0743(0xb8))/0xa*(-parseInt(_0x4b0743(0xb1))/0xb);if(_0xc7a8b0===_0x39e6d5)break;else _0x2ac227['push'](_0x2ac227['shift']());}catch(_0x1ccbfa){_0x2ac227['push'](_0x2ac227['shift']());}}}(_0x5637,0x4e7af));function _0x5637(){var _0x18631a=['2035733PxZTEi','857865pFDcMj','319AozxFI','554008IJgSna','2970864JMMlxX','879KJPWDz','startsWith','26gUPgtO','4GuEvms','413570ypagFR','54YoLqwE','1507017EPVwAT','replace'];_0x5637=function(){return _0x18631a;};return _0x5637();}import{formatHtml as _0x2f03b6}from'ckeditor5/src/utils.js';export function formatSource(_0x3c30da){return X(_0x3c30da)?_0x2f03b6(_0x3c30da):_0x3c30da;}export function unformatSource(_0x155cea){var _0x4f07ee=_0x1d20;return X(_0x155cea[_0x4f07ee(0xbb)](/^[\n\s]*/g,''))?_0x155cea[_0x4f07ee(0xbb)](/\s+/g,''):_0x155cea;}function _0x1d20(_0x518e0d,_0x53c7bb){var _0x563747=_0x5637();return _0x1d20=function(_0x1d20e9,_0x470dea){_0x1d20e9=_0x1d20e9-0xb0;var _0x51e2cf=_0x563747[_0x1d20e9];return _0x51e2cf;},_0x1d20(_0x518e0d,_0x53c7bb);}function X(_0x27b9c8){var _0x3c3132=_0x1d20;return _0x27b9c8[_0x3c3132(0xb5)]('<');}
|