@ckeditor/ckeditor5-source-editing-enhanced 45.2.0-alpha.1 → 45.2.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Command as _0x53fd2a,PendingActions as _0x41dc1f,Plugin as _0x193227}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x441c9c,formatHtml as tr,env as _0x21cfc5,uid as _0xd6ad8d}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconSource as _0x3d2b0d}from'@ckeditor/ckeditor5-icons/dist/index.js';import{View as _0xe5c4fe,ButtonView as _0x3ea40b,MenuBarMenuListItemButtonView as _0x1f7aeb}from'@ckeditor/ckeditor5-ui/dist/index.js';import{EditorView as _0x445b5e,crosshairCursor as _0xdbb5dd,drawSelection as _0x278d4b,dropCursor as _0x482777,lineNumbers as _0x5140cb,highlightActiveLine as _0x4107e8,highlightActiveLineGutter as _0x620d1e,highlightSpecialChars as _0x25fd62,rectangularSelection as _0x4adf0f,keymap as _0x17da91}from'@codemirror/view';import{Compartment as _0x246203,Transaction as _0x223401}from'@codemirror/state';import{bracketMatching as _0x366762,foldGutter as _0x3caf7f,indentOnInput as _0x27f82c,syntaxHighlighting as _0x277196,defaultHighlightStyle as _0x2361e7,foldKeymap as _0x2ddc3f}from'@codemirror/language';import{toggleTabFocusMode as _0x45b3e3,history as _0x2e245c,defaultKeymap as _0x5d9594,historyKeymap as _0x4613ee,indentLess as _0x25ca42,indentMore as _0x920172,redo as _0x53019e,undo as _0x5755de}from'@codemirror/commands';import{autocompletion as _0x132a4d,closeBrackets as _0x559cd0,closeBracketsKeymap as _0x281fb2,completionKeymap as _0x38cc0f}from'@codemirror/autocomplete';import{html as _0x2c835d}from'@codemirror/lang-html';import{markdown as _0x230c06}from'@codemirror/lang-markdown';import{oneDark as _0x519b68}from'@codemirror/theme-one-dark';function f(_0x154a0f,_0x2b2daf){const t=_0x154a0f['t'];switch(_0x2b2daf){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 _0x2b2daf;}}function s(_0x195960){const _0x35d40a=_0x195960['editing']['view']['document']['roots'],_0x2c7649=_0x35d40a['length'];if(0x0===_0x2c7649)throw new _0x441c9c('source-editing-enhanced-editor-no-root',_0x195960);if(0x1===_0x2c7649)return _0x35d40a['first']['rootName'];return Array['from'](_0x195960['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function E(_0x176821){return or(_0x176821['replace'](/^[\n\s]*/g,''))?_0x176821['replace'](/\s+/g,''):_0x176821;}function or(_0x66a4a){return _0x66a4a['startsWith']('<');}function p(_0x55fd11){const _0x44c0aa=[_0x445b5e['lineWrapping'],_0x132a4d(),_0x366762(),_0x559cd0(),_0xdbb5dd(),_0x278d4b(),_0x482777(),_0x5140cb(),_0x3caf7f(),_0x4107e8(),_0x620d1e(),_0x25fd62(),_0x2e245c(),_0x27f82c(),_0x4adf0f(),_0x277196(_0x2361e7,{'fallback':!0x0})],_0x321d64=new _0x246203();_0x44c0aa['push'](_0x321d64['of'](_0x445b5e['editable']['of'](!0x0))),'html'===_0x55fd11['syntaxLanguage']?_0x44c0aa['push'](_0x2c835d()):_0x44c0aa['push'](_0x230c06());const _0x2a8827=function(_0x3a46d3){if(_0x3a46d3&&'default'!==_0x3a46d3)return'dark'===_0x3a46d3?_0x519b68:_0x3a46d3;return null;}(_0x55fd11['theme']);_0x2a8827&&_0x44c0aa['push'](_0x2a8827),_0x44c0aa['push'](_0x17da91['of']([..._0x281fb2,..._0x5d9594,..._0x4613ee,..._0x2ddc3f,..._0x38cc0f,{'key':'Tab','run':_0x920172,'shift':_0x25ca42,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-y','mac':'Cmd-y','run':_0x53019e,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-Shift-z','mac':'Cmd-Shift-z','run':_0x53019e,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-z','mac':'Cmd-z','run':_0x5755de,'preventDefault':!0x0,'stopPropagation':!0x0}]));const _0x593494=new _0x445b5e({'extensions':_0x44c0aa,'parent':_0x55fd11['parent']});return _0x45b3e3(_0x593494),{'focus':()=>{_0x593494['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x593494['focus']();},'getData':()=>_0x593494['state']['doc']['toString'](),'setData':_0x15f239=>{_0x593494['dispatch']({'changes':{'from':0x0,'to':_0x593494['state']['doc']['length'],'insert':_0x15f239},'annotations':_0x223401['addToHistory']['of'](!0x1)});},'setReadOnly':_0x278947=>{_0x593494['dispatch']({'effects':[_0x321d64['reconfigure'](_0x445b5e['editable']['of'](!_0x278947))]});},'destroy':()=>{_0x593494['destroy']();},'instance':_0x593494};}class m extends _0xe5c4fe{['_codeEditorApi']=null;['_options'];constructor(_0x273f97,_0x2f964e){super(_0x273f97),this['_options']=_0x2f964e,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',(_0x26c1fd,_0x52016e,_0x506c34)=>{this['setReadOnly'](_0x506c34);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0x27f169){this['_codeEditorApi']['setData'](_0x27f169);}['setReadOnly'](_0x2cb977){this['_codeEditorApi']['setReadOnly'](_0x2cb977);}}const b='SourceEditingEnhancedMode';class d extends _0x53fd2a{constructor(_0x7bc7af){super(_0x7bc7af),this['affectsData']=!0x1,this['editor']['plugins']['get'](_0x41dc1f)['on']('change:hasAny',(_0x19677e,_0x3ca0ce,_0x17c739)=>{_0x17c739?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['_disableCommands'](){const _0x56bc4d=this['editor'];for(const _0x221ee1 of _0x56bc4d['commands']['names']())['replaceSource','editSource']['includes'](_0x221ee1)||_0x56bc4d['commands']['get'](_0x221ee1)['forceDisabled'](b);}['_enableCommands'](){const _0x379c38=this['editor'];for(const _0x45e758 of _0x379c38['commands']['commands']())_0x45e758['clearForceDisabled'](b);}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x29e335=this['editor'],_0x1f4aa3=_0x29e335['locale'],_0xfb239c=_0x29e335['plugins']['get']('Dialog'),_0x34acbd=s(_0x29e335),_0x2c285c=_0x29e335['data']['get']({'rootName':_0x34acbd}),_0x564784=or(_0x59c2c3=_0x2c285c)?tr(_0x59c2c3):_0x59c2c3;var _0x59c2c3;const _0x221193=new m(_0x1f4aa3,{'syntaxLanguage':_0x29e335['plugins']['has']('Markdown')?'markdown':'html','theme':_0x29e335['config']['get']('sourceEditingEnhanced.theme')});let _0x35d133=!0x0;const _0x3ee6ff=_0x777bbc=>{if(!_0x35d133)return;return E(_0x221193['getData']())!==E(_0x564784)?window['confirm'](f(_0x1f4aa3,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0x777bbc['stop']():void 0x0;};_0xfb239c['show']({'id':'sourceEditingEnhanced','title':f(_0x1f4aa3,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0x221193,'actionButtons':[{'label':f(_0x1f4aa3,'Cancel'),'withText':!0x0,'onExecute':()=>{_0xfb239c['hide']();}},{'label':f(_0x1f4aa3,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0x23cdf8=E(_0x221193['getData']())!==E(_0x564784);(_0x23cdf8&&_0x29e335['execute']('replaceSource',_0x221193['getData']()),_0x35d133=!0x1,_0xfb239c['hide'](),_0x23cdf8&&'editables'in _0x29e335['ui']['view'])&&_0x29e335['ui']['view']['editables'][_0x34acbd]['element']['focus']();},'onCreate':_0xc9737a=>{_0xc9737a['set']('isEnabled',!_0x29e335['isReadOnly']),_0xc9737a['bind']('isEnabled')['to'](_0x29e335,'isReadOnly',this,'isEnabled',(_0x918a48,_0x4342a3)=>!_0x918a48&&_0x4342a3);}}],'onHide':()=>{this['_enableCommands'](),_0xfb239c['off']('hide',_0x3ee6ff),_0x221193['destroy']();},'onShow':()=>{_0x221193['bind']('isReadOnly')['to'](_0x29e335,'isReadOnly',this,'isEnabled',(_0x4d8325,_0x41d1af)=>_0x4d8325||!_0x41d1af),_0x221193['setData'](_0x564784),_0x221193['focus'](),_0xfb239c['on']('hide',_0x3ee6ff,{'priority':'highest'}),this['_disableCommands']();}});}}class a extends _0x193227{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[_0x41dc1f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x5ecd01=this['editor'],_0x24e520=_0x5ecd01['locale'],_0x169e26=new d(_0x5ecd01);_0x5ecd01['commands']['add']('editSource',_0x169e26),_0x5ecd01['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0x99511a=this['_createButton'](_0x3ea40b,_0x169e26);return _0x99511a['set']({'label':f(_0x24e520,'Source'),'icon':_0x3d2b0d,'tooltip':f(_0x24e520,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0x99511a;}),_0x5ecd01['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0x18f60a=this['_createButton'](_0x1f7aeb,_0x169e26,!0x0);return _0x18f60a['set']({'label':f(_0x24e520,'Edit\x20source\x20modal\x20label'),'icon':_0x3d2b0d,'role':'menuitemcheckbox'}),_0x18f60a;}),this['_registerKeybindings']();}['afterInit'](){!async function(_0x5a69e5){const _0x473d4d=_0x1a8deb([0x62,0x61,0x79,0x41,0x49,0x5a,0x4c,0x54,0x72,0x50,0x58,0x63,0x42,0x74,0x70,0x59,0x76,0x4f,0x47,0x71,0x4e,0x34,0x32,0x66,0x4d,0x6e,0x37,0x64,0x33,0x53,0x6c,0x52,0x7a,0x77,0x67,0x51,0x35,0x39,0x6a,0x78,0x57,0x68,0x48,0x4a,0x55,0x56,0x6d,0x46,0x30,0x6f,0x73,0x36,0x6b,0x43,0x44,0x45,0x69,0x31,0x65,0x4b,0x38,0x75]),_0x454477=0x4917d6db,_0x1112f4=0x4910bfe3^_0x454477,_0x2a2e2c=window[_0x1a8deb([0x44,0x61,0x74,0x65])][_0x1a8deb([0x6e,0x6f,0x77])](),_0x2cfed2=_0x5a69e5[_0x1a8deb([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x29b52a=new window[(_0x1a8deb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x494889=>{_0x2cfed2[_0x1a8deb([0x6f,0x6e,0x63,0x65])](_0x1a8deb([0x72,0x65,0x61,0x64,0x79]),_0x494889);}),_0x6b191={[_0x1a8deb([0x6b,0x74,0x79])]:_0x1a8deb([0x45,0x43]),[_0x1a8deb([0x75,0x73,0x65])]:_0x1a8deb([0x73,0x69,0x67]),[_0x1a8deb([0x63,0x72,0x76])]:_0x1a8deb([0x50,0x2d,0x32,0x35,0x36]),[_0x1a8deb([0x78])]:_0x1a8deb([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]),[_0x1a8deb([0x79])]:_0x1a8deb([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]),[_0x1a8deb([0x61,0x6c,0x67])]:_0x1a8deb([0x45,0x53,0x32,0x35,0x36])},_0x1ce96f=_0x2cfed2[_0x1a8deb([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1a8deb([0x67,0x65,0x74])](_0x1a8deb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x330b48(){let _0x447e66,_0x32d4e5=null,_0x52ca8d=null;try{if(_0x1ce96f==_0x1a8deb([0x47,0x50,0x4c]))return _0x1a8deb([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x447e66=_0x392eeb(),!_0x447e66)return _0x1a8deb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x447e66[_0x1a8deb([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x52ca8d=_0x475361(_0x447e66[_0x1a8deb([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x447e66[_0x1a8deb([0x6a,0x74,0x69])])),await _0x3199b9()?_0x56c6e9()?_0x449bd8()?_0x1a8deb([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x34e8b4()?(_0x447e66[_0x1a8deb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1a8deb([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x32d4e5=_0x3f0724(_0x1a8deb([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x447e66[_0x1a8deb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1a8deb([0x74,0x72,0x69,0x61,0x6c])&&(_0x32d4e5=_0x3f0724(_0x1a8deb([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xaf5d86()):_0x1a8deb([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1a8deb([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1a8deb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1a8deb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x449bd8(){const _0x51c2a5=[_0x1a8deb([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1a8deb([0x74,0x72,0x69,0x61,0x6c])][_0x1a8deb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x447e66[_0x1a8deb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2a2e2c/0x3e8:0xe10*_0x1112f4;return _0x447e66[_0x1a8deb([0x65,0x78,0x70])]<_0x51c2a5;}function _0x56c6e9(){const _0x34ccda=_0x447e66[_0x1a8deb([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x34ccda&&(!!_0x34ccda[_0x1a8deb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1a8deb([0x2a]))||!!_0x34ccda[_0x1a8deb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1a8deb([0x53,0x45,0x45])));}function _0x34e8b4(){const _0x25f7c3=_0x447e66[_0x1a8deb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x25f7c3||0x0==_0x25f7c3[_0x1a8deb([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x572f40}=new URL(window[_0x1a8deb([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x25f7c3[_0x1a8deb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x572f40))return!0x0;const _0x5afc7d=_0x572f40[_0x1a8deb([0x73,0x70,0x6c,0x69,0x74])](_0x1a8deb([0x2e]));return _0x25f7c3[_0x1a8deb([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4bf174=>_0x4bf174[_0x1a8deb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1a8deb([0x2a])))[_0x1a8deb([0x6d,0x61,0x70])](_0x1c3a72=>_0x1c3a72[_0x1a8deb([0x73,0x70,0x6c,0x69,0x74])](_0x1a8deb([0x2e])))[_0x1a8deb([0x73,0x6f,0x6d,0x65])](_0x65b637=>_0x5afc7d[_0x1a8deb([0x65,0x76,0x65,0x72,0x79])]((_0x5e507b,_0xe59ebf)=>_0x65b637[_0xe59ebf]===_0x5e507b||_0x65b637[_0xe59ebf]===_0x1a8deb([0x2a])));}function _0xaf5d86(){return _0x32d4e5&&_0x52ca8d?new window[(_0x1a8deb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x451855,_0x8066d1)=>{_0x32d4e5[_0x1a8deb([0x74,0x68,0x65,0x6e])](_0x451855,_0x8066d1),_0x52ca8d[_0x1a8deb([0x74,0x68,0x65,0x6e])](_0x58fbb9=>{_0x58fbb9!=_0x1a8deb([0x56,0x61,0x6c,0x69,0x64])&&_0x451855(_0x58fbb9);},_0x8066d1);}):_0x32d4e5||_0x52ca8d||_0x1a8deb([0x56,0x61,0x6c,0x69,0x64]);}}function _0x475361(_0x3cbc21,_0x32070e){return new window[(_0x1a8deb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xf4379d=>{if(_0x25acf5())return _0xf4379d(_0x1a8deb([0x56,0x61,0x6c,0x69,0x64]));_0x532494(),_0x2cfed2[_0x1a8deb([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1a8deb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xa4a1e8=!0x1;const _0x3fd482=_0xd6ad8d();function _0xcdb231(_0x31a92d){return!!_0x31a92d&&(typeof _0x31a92d===_0x1a8deb([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x31a92d===_0x1a8deb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x31a92d[_0x1a8deb([0x74,0x68,0x65,0x6e])]===_0x1a8deb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x31a92d[_0x1a8deb([0x63,0x61,0x74,0x63,0x68])]===_0x1a8deb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3a9437(_0xc9dddf){_0x542859(_0xc9dddf)[_0x1a8deb([0x74,0x68,0x65,0x6e])](_0x2a69d9=>{if(!_0x2a69d9||_0x2a69d9[_0x1a8deb([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1a8deb([0x6f,0x6b]))return _0x1a8deb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2e39dc(_0x1885ed(_0x3fd482+_0x32070e))!=_0x2a69d9[_0x1a8deb([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1a8deb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1a8deb([0x56,0x61,0x6c,0x69,0x64]);})[_0x1a8deb([0x74,0x68,0x65,0x6e])](_0x306a47=>(_0x330200(),_0x306a47),()=>{const _0x1d3671=_0x9a9cca();return null==_0x1d3671?(_0x330200(),_0x1a8deb([0x56,0x61,0x6c,0x69,0x64])):_0x1a8deb(_0x2a2e2c-_0x1d3671>(0x6d1b52db^_0x454477)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1a8deb([0x74,0x68,0x65,0x6e])](_0xf4379d)[_0x1a8deb([0x63,0x61,0x74,0x63,0x68])](()=>{_0xf4379d(_0x1a8deb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2e3cc7=0x4921385b^_0x454477;function _0x330200(){const _0x509cd=_0x1a8deb([0x6c,0x6c,0x63,0x74,0x2d])+_0x2e39dc(_0x1885ed(_0x3cbc21)),_0x4fa91d=_0x38f501(_0x2e39dc(window[_0x1a8deb([0x4d,0x61,0x74,0x68])][_0x1a8deb([0x63,0x65,0x69,0x6c])](_0x2a2e2c/_0x2e3cc7)));window[_0x1a8deb([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1a8deb([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x509cd,_0x4fa91d);}function _0x9a9cca(){const _0x1f5293=_0x1a8deb([0x6c,0x6c,0x63,0x74,0x2d])+_0x2e39dc(_0x1885ed(_0x3cbc21)),_0x3a1653=window[_0x1a8deb([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1a8deb([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1f5293);return _0x3a1653?window[_0x1a8deb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x38f501(_0x3a1653),0x10)*_0x2e3cc7:null;}function _0x542859(_0x17b503){return new window[(_0x1a8deb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xd1fc86,_0x1545ab)=>{_0x17b503[_0x1a8deb([0x74,0x68,0x65,0x6e])](_0xd1fc86,_0x1545ab),window[_0x1a8deb([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1545ab,0x4916021b^_0x454477);});}}_0x2cfed2[_0x1a8deb([0x6f,0x6e])](_0x1a8deb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1e8e07,_0x456bb7)=>{if(_0x456bb7[0x0]!=_0x3cbc21)return _0xf4379d(_0x1a8deb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x456bb7[0x1]={..._0x456bb7[0x1],[_0x1a8deb([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3fd482};},{[_0x1a8deb([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1a8deb([0x68,0x69,0x67,0x68])}),_0x2cfed2[_0x1a8deb([0x6f,0x6e])](_0x1a8deb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x51d2f1=>{_0xcdb231(_0x51d2f1[_0x1a8deb([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xa4a1e8=!0x0,_0x3a9437(_0x51d2f1[_0x1a8deb([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1a8deb([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1a8deb([0x6c,0x6f,0x77])}),_0x29b52a[_0x1a8deb([0x74,0x68,0x65,0x6e])](()=>{_0xa4a1e8||_0xf4379d(_0x1a8deb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x25acf5(){return _0x2cfed2[_0x1a8deb([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1a8deb([0x76,0x69,0x65,0x77])][_0x1a8deb([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1a8deb([0x61,0x75,0x74,0x6f]);}function _0x532494(){_0x2cfed2[_0x1a8deb([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1a8deb([0x76,0x69,0x65,0x77])][_0x1a8deb([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1a8deb([0x61,0x75,0x74,0x6f]);}}function _0x3f0724(_0x2d2582){const _0x23924d=[new window[(_0x1a8deb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4a6cf8=>setTimeout(_0x4a6cf8,0x491ee817^_0x454477)),_0x29b52a[_0x1a8deb([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1a8deb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x40c343=>{let _0x49a004=0x0;_0x2cfed2[_0x1a8deb([0x6d,0x6f,0x64,0x65,0x6c])][_0x1a8deb([0x6f,0x6e])](_0x1a8deb([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1d6cf,_0x2f0284)=>{_0x2f0284[0x0][_0x1a8deb([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x49a004++,_0x49a004==(0x4917d723^_0x454477)&&(_0x40c343(),_0x1d6cf[_0x1a8deb([0x6f,0x66,0x66])]());});}))];return window[_0x1a8deb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1a8deb([0x72,0x61,0x63,0x65])](_0x23924d)[_0x1a8deb([0x74,0x68,0x65,0x6e])](()=>_0x2d2582);}async function _0x1d5ea6(){await _0x29b52a,_0x2cfed2[_0x1a8deb([0x6d,0x6f,0x64,0x65,0x6c])][_0x1a8deb([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x102c77,_0x2cfed2[_0x1a8deb([0x6d,0x6f,0x64,0x65,0x6c])][_0x1a8deb([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x102c77,_0x2cfed2[_0x1a8deb([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1a8deb([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x444a07(_0x2b7bbb){const _0x589492=_0x5014f2();_0x2cfed2[_0x589492]=_0x1a8deb([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])+_0x2b7bbb,_0x2b7bbb!=_0x1a8deb([0x56,0x61,0x6c,0x69,0x64])&&_0x1d5ea6();}function _0x5014f2(){const _0x39bc1e=window[_0x1a8deb([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1a8deb([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1a8deb([0x6e,0x6f,0x77])]())[_0x1a8deb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1a8deb([0x2e]),'');let _0x112235=_0x1a8deb([0x62]);for(let _0xdeb6ea=0x0;_0xdeb6ea<_0x39bc1e[_0x1a8deb([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xdeb6ea+=0x2){let _0x5dcdda=window[_0x1a8deb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x39bc1e[_0x1a8deb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xdeb6ea,_0xdeb6ea+0x2));_0x5dcdda>=_0x473d4d[_0x1a8deb([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5dcdda-=_0x473d4d[_0x1a8deb([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x112235+=_0x473d4d[_0x5dcdda];}return _0x112235;}function _0x392eeb(){const _0x46264b=_0x1ce96f[_0x1a8deb([0x73,0x70,0x6c,0x69,0x74])](_0x1a8deb([0x2e]));if(0x3!=_0x46264b[_0x1a8deb([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x12befd(_0x46264b[0x1]);function _0x12befd(_0x2acfb6){const _0x282d14=_0x5d4570(_0x2acfb6);return _0x282d14&&_0x537769()?_0x282d14:null;function _0x537769(){const _0xf1d32e=_0x282d14[_0x1a8deb([0x6a,0x74,0x69])],_0x53cc45=window[_0x1a8deb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xf1d32e[_0x1a8deb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xf1d32e[_0x1a8deb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5edd33={..._0x282d14,[_0x1a8deb([0x6a,0x74,0x69])]:_0xf1d32e[_0x1a8deb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xf1d32e[_0x1a8deb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5edd33[_0x1a8deb([0x76,0x63])],_0x1885ed(_0x5edd33)==_0x53cc45;}}}async function _0x3199b9(){let _0x374053=!0x0;try{const _0x256b95=_0x1ce96f[_0x1a8deb([0x73,0x70,0x6c,0x69,0x74])](_0x1a8deb([0x2e])),[_0x2fd030,_0x190f41,_0x5cfe38]=_0x256b95;return _0x58b902(_0x2fd030),await _0x54419f(_0x2fd030,_0x190f41,_0x5cfe38),_0x374053;}catch{return!0x1;}function _0x58b902(_0x114949){const _0x4eb688=_0x5d4570(_0x114949);_0x4eb688&&_0x4eb688[_0x1a8deb([0x61,0x6c,0x67])]==_0x1a8deb([0x45,0x53,0x32,0x35,0x36])||(_0x374053=!0x1);}async function _0x54419f(_0x2d07f0,_0x394a99,_0x9f5850){const _0x59fc76=window[_0x1a8deb([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1a8deb([0x66,0x72,0x6f,0x6d])](_0x1220af(_0x9f5850),_0x4f5e46=>_0x4f5e46[_0x1a8deb([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4406a5=new window[(_0x1a8deb([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1a8deb([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2d07f0+_0x1a8deb([0x2e])+_0x394a99),_0x3d054f=window[_0x1a8deb([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1a8deb([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3d054f)return;const _0x57cec8=await _0x3d054f[_0x1a8deb([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1a8deb([0x6a,0x77,0x6b]),_0x6b191,{[_0x1a8deb([0x6e,0x61,0x6d,0x65])]:_0x1a8deb([0x45,0x43,0x44,0x53,0x41]),[_0x1a8deb([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1a8deb([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1a8deb([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3d054f[_0x1a8deb([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1a8deb([0x6e,0x61,0x6d,0x65])]:_0x1a8deb([0x45,0x43,0x44,0x53,0x41]),[_0x1a8deb([0x68,0x61,0x73,0x68])]:{[_0x1a8deb([0x6e,0x61,0x6d,0x65])]:_0x1a8deb([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x57cec8,_0x59fc76,_0x4406a5)||(_0x374053=!0x1);}}function _0x5d4570(_0x3dab7d){return _0x3dab7d[_0x1a8deb([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1a8deb([0x65,0x79]))?JSON[_0x1a8deb([0x70,0x61,0x72,0x73,0x65])](_0x1220af(_0x3dab7d)):null;}function _0x1220af(_0x26d9d2){return window[_0x1a8deb([0x61,0x74,0x6f,0x62])](_0x26d9d2[_0x1a8deb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1a8deb([0x2b]))[_0x1a8deb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1a8deb([0x2f])));}function _0x1885ed(_0x50af0a){let _0x5c480e=0x1505;function _0xf12ed9(_0x361ae9){for(let _0x367f43=0x0;_0x367f43<_0x361ae9[_0x1a8deb([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x367f43++){const _0x4231ec=_0x361ae9[_0x1a8deb([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x367f43);_0x5c480e=(_0x5c480e<<0x5)+_0x5c480e+_0x4231ec,_0x5c480e&=_0x5c480e;}}function _0x5d9f96(_0x18cf87){Array[_0x1a8deb([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x18cf87)?_0x18cf87[_0x1a8deb([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5d9f96):_0x18cf87&&typeof _0x18cf87==_0x1a8deb([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1a8deb([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x18cf87)[_0x1a8deb([0x73,0x6f,0x72,0x74])]()[_0x1a8deb([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x486b21,_0x480b56])=>{_0xf12ed9(_0x486b21),_0x5d9f96(_0x480b56);}):_0xf12ed9(window[_0x1a8deb([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x18cf87));}return _0x5d9f96(_0x50af0a),_0x5c480e>>>0x0;}function _0x2e39dc(_0x3f752d){return _0x3f752d[_0x1a8deb([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1a8deb([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1a8deb([0x30]));}function _0x38f501(_0x20dc6e){return _0x20dc6e[_0x1a8deb([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1a8deb([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1a8deb([0x6a,0x6f,0x69,0x6e])]('');}function _0x102c77(){}function _0x1a8deb(_0x32e67c){return _0x32e67c['map'](_0x59c23a=>String['fromCharCode'](_0x59c23a))['join']('');}_0x444a07(await _0x330b48());}(this);}['_createButton'](_0x4f8c3f,_0x2264d4,_0x532ec6=!0x1){const _0x1c58ca=new _0x4f8c3f(this['editor']['locale']);return _0x1c58ca['set']({'withText':_0x532ec6,'isToggleable':!0x1}),_0x1c58ca['bind']('isEnabled')['to'](_0x2264d4,'isEnabled'),this['listenTo'](_0x1c58ca,'execute',()=>_0x2264d4['execute']()),_0x1c58ca;}['_registerKeybindings'](){const _0x496097=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':f(_0x496097,'Source\x20Editing\x20Enhanced')});const _0x5b1633=_0x21cfc5['isMac']||_0x21cfc5['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':f(_0x496097,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':f(_0x496097,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':f(_0x496097,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':f(_0x496097,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':f(_0x496097,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':f(_0x496097,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':f(_0x496097,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x5b1633?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':f(_0x496097,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':f(_0x496097,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':f(_0x496097,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':f(_0x496097,'Select\x20line'),'keystroke':_0x5b1633?'Ctrl!+L':'Alt+L'},{'label':f(_0x496097,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x5b1633?'Alt+Shift+M':'Ctrl+M'},{'label':f(_0x496097,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':f(_0x496097,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':f(_0x496097,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':f(_0x496097,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':f(_0x496097,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x5b1633?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}class e extends _0x53fd2a{constructor(_0x118cad){super(_0x118cad),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0x4a5d43,_0x188181){const _0x5ac9a8=this['editor'],_0x110e8d=_0x188181?.['rootName']??s(_0x5ac9a8);_0x5ac9a8['data']['set']({[_0x110e8d]:_0x4a5d43},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}class c extends _0x193227{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[a];}constructor(_0x3a78fe){super(_0x3a78fe),_0x3a78fe['config']['define']('sourceEditingEnhanced.allowCollaborationFeatures',!0x1);}['init'](){this['_checkCompatibility'](),this['editor']['commands']['add']('replaceSource',new e(this['editor'])),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x89471a=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x59c860;for(const _0x3bb9a1 in _0x89471a){const _0x381569=_0x3bb9a1,_0x149108=_0x89471a[_0x381569];if('sourceEditingEnhancedLicenseKeyValid'==_0x149108||'sourceEditingEnhancedLicenseKeyInvalid'==_0x149108||'sourceEditingEnhancedLicenseKeyExpired'==_0x149108||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x149108||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x149108||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x149108||'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x149108||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x149108){delete _0x89471a[_0x381569],_0x59c860=_0x149108,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0x59c860&&_0x89471a['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0x59c860&&_0x89471a['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x59c860&&_0x89471a['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x59c860&&_0x89471a['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x59c860&&_0x89471a['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x59c860&&_0x89471a['_showLicenseError']('trialLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x59c860&&_0x89471a['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0x1878e4=this['editor'],_0xa6a9c7=_0x1878e4['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0xa6a9c7&&_0x1878e4['plugins']['has']('RealTimeCollaborativeEditing'))throw new _0x441c9c('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0xa6a9c7&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x5ee748=>_0x1878e4['plugins']['has'](_0x5ee748))&&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.'),_0x1878e4['plugins']['has']('RestrictedEditingModeEditing')&&console['warn']('You\x20initialized\x20the\x20editor\x20with\x20the\x20source\x20editing\x20enhanced\x20feature\x20and\x20restricted\x20editing\x20feature.\x20Please\x20be\x20advised\x20that\x20the\x20source\x20editing\x20enhanced\x20feature\x20may\x20not\x20work,\x20and\x20be\x20careful\x20when\x20editing\x20document\x20source\x20that\x20contains\x20markers\x20created\x20by\x20the\x20restricted\x20editing\x20feature.');}}export{d as EditSourceCommand,e as ReplaceSourceCommand,c as SourceEditingEnhanced};
|
|
23
|
+
import{Command as _0x2fa58a,PendingActions as _0x5bcf4c,Plugin as _0x4af1f6}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x16f3b9,formatHtml as tr,env as _0x43a4fd,uid as _0x4effee}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconSource as _0x376299}from'@ckeditor/ckeditor5-icons/dist/index.js';import{View as _0x714d3d,ButtonView as _0x393c9c,MenuBarMenuListItemButtonView as _0x404379}from'@ckeditor/ckeditor5-ui/dist/index.js';import{EditorView as _0x21e211,crosshairCursor as _0x58bb3d,drawSelection as _0x4c6d34,dropCursor as _0x224d00,lineNumbers as _0x1ca61a,highlightActiveLine as _0x159bfd,highlightActiveLineGutter as _0x395b46,highlightSpecialChars as _0x1a3ca3,rectangularSelection as _0x419f93,keymap as _0x46eba}from'@codemirror/view';import{Compartment as _0x152944,Transaction as _0x59a60d}from'@codemirror/state';import{bracketMatching as _0x35d497,foldGutter as _0x43d7c2,indentOnInput as _0x56b2f6,syntaxHighlighting as _0x34d412,defaultHighlightStyle as _0x41b8fa,foldKeymap as _0x3280dd}from'@codemirror/language';import{toggleTabFocusMode as _0x380f1a,history as _0x1bf1bc,defaultKeymap as _0x2c7df8,historyKeymap as _0x5a81a4,indentLess as _0x4fe792,indentMore as _0x3ab0bb,redo as _0x2d7fe9,undo as _0x185aa9}from'@codemirror/commands';import{autocompletion as _0x1915fc,closeBrackets as _0x324c07,closeBracketsKeymap as _0x109d21,completionKeymap as _0x5b3c02}from'@codemirror/autocomplete';import{html as _0x2abc52}from'@codemirror/lang-html';import{markdown as _0x11cf7c}from'@codemirror/lang-markdown';import{oneDark as _0x5c3aad}from'@codemirror/theme-one-dark';function f(_0x1bbd18,_0x305a86){const t=_0x1bbd18['t'];switch(_0x305a86){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 _0x305a86;}}function s(_0xebb906){const _0x328353=_0xebb906['editing']['view']['document']['roots'],_0x49cd32=_0x328353['length'];if(0x0===_0x49cd32)throw new _0x16f3b9('source-editing-enhanced-editor-no-root',_0xebb906);if(0x1===_0x49cd32)return _0x328353['first']['rootName'];return Array['from'](_0xebb906['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function E(_0x5b2c08){return or(_0x5b2c08['replace'](/^[\n\s]*/g,''))?_0x5b2c08['replace'](/\s+/g,''):_0x5b2c08;}function or(_0xc6634c){return _0xc6634c['startsWith']('<');}function p(_0x5a931d){const _0x2a4397=[_0x21e211['lineWrapping'],_0x1915fc(),_0x35d497(),_0x324c07(),_0x58bb3d(),_0x4c6d34(),_0x224d00(),_0x1ca61a(),_0x43d7c2(),_0x159bfd(),_0x395b46(),_0x1a3ca3(),_0x1bf1bc(),_0x56b2f6(),_0x419f93(),_0x34d412(_0x41b8fa,{'fallback':!0x0})],_0x579abe=new _0x152944();_0x2a4397['push'](_0x579abe['of'](_0x21e211['editable']['of'](!0x0))),'html'===_0x5a931d['syntaxLanguage']?_0x2a4397['push'](_0x2abc52()):_0x2a4397['push'](_0x11cf7c());const _0x258cd5=function(_0x3c2f9e){if(_0x3c2f9e&&'default'!==_0x3c2f9e)return'dark'===_0x3c2f9e?_0x5c3aad:_0x3c2f9e;return null;}(_0x5a931d['theme']);_0x258cd5&&_0x2a4397['push'](_0x258cd5),_0x2a4397['push'](_0x46eba['of']([..._0x109d21,..._0x2c7df8,..._0x5a81a4,..._0x3280dd,..._0x5b3c02,{'key':'Tab','run':_0x3ab0bb,'shift':_0x4fe792,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-y','mac':'Cmd-y','run':_0x2d7fe9,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-Shift-z','mac':'Cmd-Shift-z','run':_0x2d7fe9,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-z','mac':'Cmd-z','run':_0x185aa9,'preventDefault':!0x0,'stopPropagation':!0x0}]));const _0x287b85=new _0x21e211({'extensions':_0x2a4397,'parent':_0x5a931d['parent']});return _0x380f1a(_0x287b85),{'focus':()=>{_0x287b85['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x287b85['focus']();},'getData':()=>_0x287b85['state']['doc']['toString'](),'setData':_0x2f3534=>{_0x287b85['dispatch']({'changes':{'from':0x0,'to':_0x287b85['state']['doc']['length'],'insert':_0x2f3534},'annotations':_0x59a60d['addToHistory']['of'](!0x1)});},'setReadOnly':_0x2e1b03=>{_0x287b85['dispatch']({'effects':[_0x579abe['reconfigure'](_0x21e211['editable']['of'](!_0x2e1b03))]});},'destroy':()=>{_0x287b85['destroy']();},'instance':_0x287b85};}class m extends _0x714d3d{['_codeEditorApi']=null;['_options'];constructor(_0x382719,_0x21c148){super(_0x382719),this['_options']=_0x21c148,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',(_0x2dd8c8,_0x57a4b9,_0x508c5b)=>{this['setReadOnly'](_0x508c5b);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0x32515c){this['_codeEditorApi']['setData'](_0x32515c);}['setReadOnly'](_0x126189){this['_codeEditorApi']['setReadOnly'](_0x126189);}}const b='SourceEditingEnhancedMode';class d extends _0x2fa58a{constructor(_0x529a51){super(_0x529a51),this['affectsData']=!0x1,this['editor']['plugins']['get'](_0x5bcf4c)['on']('change:hasAny',(_0x2af140,_0x13ef23,_0x212a00)=>{_0x212a00?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['_disableCommands'](){const _0x25041a=this['editor'];for(const _0x317871 of _0x25041a['commands']['names']())['replaceSource','editSource']['includes'](_0x317871)||_0x25041a['commands']['get'](_0x317871)['forceDisabled'](b);}['_enableCommands'](){const _0x4cd2cc=this['editor'];for(const _0x3960b4 of _0x4cd2cc['commands']['commands']())_0x3960b4['clearForceDisabled'](b);}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x452275=this['editor'],_0x43e27a=_0x452275['locale'],_0x24c1b3=_0x452275['plugins']['get']('Dialog'),_0x5758f6=s(_0x452275),_0x539434=_0x452275['data']['get']({'rootName':_0x5758f6}),_0x68af4a=or(_0x3e263d=_0x539434)?tr(_0x3e263d):_0x3e263d;var _0x3e263d;const _0x3d05d2=new m(_0x43e27a,{'syntaxLanguage':_0x452275['plugins']['has']('Markdown')?'markdown':'html','theme':_0x452275['config']['get']('sourceEditingEnhanced.theme')});let _0x1c927d=!0x0;const _0x3e7929=_0x5cbc66=>{if(!_0x1c927d)return;return E(_0x3d05d2['getData']())!==E(_0x68af4a)?window['confirm'](f(_0x43e27a,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0x5cbc66['stop']():void 0x0;};_0x24c1b3['show']({'id':'sourceEditingEnhanced','title':f(_0x43e27a,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0x3d05d2,'actionButtons':[{'label':f(_0x43e27a,'Cancel'),'withText':!0x0,'onExecute':()=>{_0x24c1b3['hide']();}},{'label':f(_0x43e27a,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0x3dd578=E(_0x3d05d2['getData']())!==E(_0x68af4a);(_0x3dd578&&_0x452275['execute']('replaceSource',_0x3d05d2['getData']()),_0x1c927d=!0x1,_0x24c1b3['hide'](),_0x3dd578&&'editables'in _0x452275['ui']['view'])&&_0x452275['ui']['view']['editables'][_0x5758f6]['element']['focus']();},'onCreate':_0x2cde5e=>{_0x2cde5e['set']('isEnabled',!_0x452275['isReadOnly']),_0x2cde5e['bind']('isEnabled')['to'](_0x452275,'isReadOnly',this,'isEnabled',(_0x733a14,_0x2b1609)=>!_0x733a14&&_0x2b1609);}}],'onHide':()=>{this['_enableCommands'](),_0x24c1b3['off']('hide',_0x3e7929),_0x3d05d2['destroy']();},'onShow':()=>{_0x3d05d2['bind']('isReadOnly')['to'](_0x452275,'isReadOnly',this,'isEnabled',(_0x126c59,_0x131a02)=>_0x126c59||!_0x131a02),_0x3d05d2['setData'](_0x68af4a),_0x3d05d2['focus'](),_0x24c1b3['on']('hide',_0x3e7929,{'priority':'highest'}),this['_disableCommands']();}});}}class a extends _0x4af1f6{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[_0x5bcf4c];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0xe874fd=this['editor'],_0xec8e18=_0xe874fd['locale'],_0x1f5f89=new d(_0xe874fd);_0xe874fd['commands']['add']('editSource',_0x1f5f89),_0xe874fd['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0x3e1f5f=this['_createButton'](_0x393c9c,_0x1f5f89);return _0x3e1f5f['set']({'label':f(_0xec8e18,'Source'),'icon':_0x376299,'tooltip':f(_0xec8e18,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0x3e1f5f;}),_0xe874fd['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0x20e414=this['_createButton'](_0x404379,_0x1f5f89,!0x0);return _0x20e414['set']({'label':f(_0xec8e18,'Edit\x20source\x20modal\x20label'),'icon':_0x376299,'role':'menuitemcheckbox'}),_0x20e414;}),this['_registerKeybindings']();}['afterInit'](){!async function(_0x230ba2){const _0xf63f70=_0xe00505([0x58,0x34,0x68,0x4b,0x37,0x45,0x79,0x31,0x63,0x6c,0x50,0x6a,0x43,0x41,0x44,0x6f,0x54,0x4f,0x46,0x67,0x78,0x52,0x70,0x72,0x61,0x48,0x6b,0x55,0x4d,0x69,0x38,0x71,0x42,0x7a,0x4e,0x65,0x39,0x57,0x73,0x59,0x64,0x4a,0x75,0x5a,0x30,0x33,0x4c,0x74,0x6d,0x49,0x35,0x77,0x47,0x32,0x53,0x76,0x36,0x66,0x56,0x6e,0x51,0x62]),_0x19d3f5=0x2cc58b50,_0x2e0af3=0x2cc2e200^_0x19d3f5,_0x56a4ca=window[_0xe00505([0x44,0x61,0x74,0x65])][_0xe00505([0x6e,0x6f,0x77])](),_0x40252c=_0x230ba2[_0xe00505([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2549ff=new window[(_0xe00505([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x314164=>{_0x40252c[_0xe00505([0x6f,0x6e,0x63,0x65])](_0xe00505([0x72,0x65,0x61,0x64,0x79]),_0x314164);}),_0xb62cf8={[_0xe00505([0x6b,0x74,0x79])]:_0xe00505([0x45,0x43]),[_0xe00505([0x75,0x73,0x65])]:_0xe00505([0x73,0x69,0x67]),[_0xe00505([0x63,0x72,0x76])]:_0xe00505([0x50,0x2d,0x32,0x35,0x36]),[_0xe00505([0x78])]:_0xe00505([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]),[_0xe00505([0x79])]:_0xe00505([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]),[_0xe00505([0x61,0x6c,0x67])]:_0xe00505([0x45,0x53,0x32,0x35,0x36])},_0x2d4bb7=_0x40252c[_0xe00505([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xe00505([0x67,0x65,0x74])](_0xe00505([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x59eb9f(){let _0x5738ef,_0xd86d13=null,_0x5f68c6=null;try{if(_0x2d4bb7==_0xe00505([0x47,0x50,0x4c]))return _0xe00505([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5738ef=_0x459ae0(),!_0x5738ef)return _0xe00505([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5738ef[_0xe00505([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5f68c6=_0x2a30b7(_0x5738ef[_0xe00505([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5738ef[_0xe00505([0x6a,0x74,0x69])])),await _0x3c9a85()?_0x38e49b()?_0x55b34f()?_0xe00505([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x53d4b5()?(_0x5738ef[_0xe00505([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xe00505([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xd86d13=_0x544646(_0xe00505([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5738ef[_0xe00505([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xe00505([0x74,0x72,0x69,0x61,0x6c])&&(_0xd86d13=_0x544646(_0xe00505([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xb0fec7()):_0xe00505([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xe00505([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xe00505([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xe00505([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x55b34f(){const _0x38453a=[_0xe00505([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xe00505([0x74,0x72,0x69,0x61,0x6c])][_0xe00505([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5738ef[_0xe00505([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x56a4ca/0x3e8:0xe10*_0x2e0af3;return _0x5738ef[_0xe00505([0x65,0x78,0x70])]<_0x38453a;}function _0x38e49b(){const _0x331370=_0x5738ef[_0xe00505([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x331370&&(!!_0x331370[_0xe00505([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe00505([0x2a]))||!!_0x331370[_0xe00505([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe00505([0x53,0x45,0x45])));}function _0x53d4b5(){const _0x50ac82=_0x5738ef[_0xe00505([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x50ac82||0x0==_0x50ac82[_0xe00505([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x529768}=new URL(window[_0xe00505([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x50ac82[_0xe00505([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x529768))return!0x0;const _0x257be2=_0x529768[_0xe00505([0x73,0x70,0x6c,0x69,0x74])](_0xe00505([0x2e]));return _0x50ac82[_0xe00505([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4d2aa2=>_0x4d2aa2[_0xe00505([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe00505([0x2a])))[_0xe00505([0x6d,0x61,0x70])](_0x4380dc=>_0x4380dc[_0xe00505([0x73,0x70,0x6c,0x69,0x74])](_0xe00505([0x2e])))[_0xe00505([0x73,0x6f,0x6d,0x65])](_0x2eee99=>_0x257be2[_0xe00505([0x65,0x76,0x65,0x72,0x79])]((_0x1b2b78,_0x1ed04d)=>_0x2eee99[_0x1ed04d]===_0x1b2b78||_0x2eee99[_0x1ed04d]===_0xe00505([0x2a])));}function _0xb0fec7(){return _0xd86d13&&_0x5f68c6?new window[(_0xe00505([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3a2185,_0x3b6dfe)=>{_0xd86d13[_0xe00505([0x74,0x68,0x65,0x6e])](_0x3a2185,_0x3b6dfe),_0x5f68c6[_0xe00505([0x74,0x68,0x65,0x6e])](_0x3807ed=>{_0x3807ed!=_0xe00505([0x56,0x61,0x6c,0x69,0x64])&&_0x3a2185(_0x3807ed);},_0x3b6dfe);}):_0xd86d13||_0x5f68c6||_0xe00505([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2a30b7(_0xb268fb,_0x3e6d65){return new window[(_0xe00505([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3a35b5=>{if(_0xddaeac())return _0x3a35b5(_0xe00505([0x56,0x61,0x6c,0x69,0x64]));_0x737b52(),_0x40252c[_0xe00505([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xe00505([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x425dd5=!0x1;const _0xca873e=_0x4effee();function _0x513790(_0x9c7bf4){return!!_0x9c7bf4&&(typeof _0x9c7bf4===_0xe00505([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x9c7bf4===_0xe00505([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x9c7bf4[_0xe00505([0x74,0x68,0x65,0x6e])]===_0xe00505([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x9c7bf4[_0xe00505([0x63,0x61,0x74,0x63,0x68])]===_0xe00505([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x398436(_0x413323){_0x4c7260(_0x413323)[_0xe00505([0x74,0x68,0x65,0x6e])](_0x388afb=>{if(!_0x388afb||_0x388afb[_0xe00505([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xe00505([0x6f,0x6b]))return _0xe00505([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4faa3a(_0x259f9c(_0xca873e+_0x3e6d65))!=_0x388afb[_0xe00505([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xe00505([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xe00505([0x56,0x61,0x6c,0x69,0x64]);})[_0xe00505([0x74,0x68,0x65,0x6e])](_0x4c82b4=>(_0x70cef7(),_0x4c82b4),()=>{const _0x3e17a3=_0x16438c();return null==_0x3e17a3?(_0x70cef7(),_0xe00505([0x56,0x61,0x6c,0x69,0x64])):_0xe00505(_0x56a4ca-_0x3e17a3>(0x8c90f50^_0x19d3f5)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xe00505([0x74,0x68,0x65,0x6e])](_0x3a35b5)[_0xe00505([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3a35b5(_0xe00505([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x6751c8=0x2cf365d0^_0x19d3f5;function _0x70cef7(){const _0x15966a=_0xe00505([0x6c,0x6c,0x63,0x74,0x2d])+_0x4faa3a(_0x259f9c(_0xb268fb)),_0x11a3a8=_0x3448af(_0x4faa3a(window[_0xe00505([0x4d,0x61,0x74,0x68])][_0xe00505([0x63,0x65,0x69,0x6c])](_0x56a4ca/_0x6751c8)));window[_0xe00505([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xe00505([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x15966a,_0x11a3a8);}function _0x16438c(){const _0x287220=_0xe00505([0x6c,0x6c,0x63,0x74,0x2d])+_0x4faa3a(_0x259f9c(_0xb268fb)),_0x482e7f=window[_0xe00505([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xe00505([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x287220);return _0x482e7f?window[_0xe00505([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3448af(_0x482e7f),0x10)*_0x6751c8:null;}function _0x4c7260(_0xf8982b){return new window[(_0xe00505([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3940b7,_0x3d73df)=>{_0xf8982b[_0xe00505([0x74,0x68,0x65,0x6e])](_0x3940b7,_0x3d73df),window[_0xe00505([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3d73df,0x2cc45f90^_0x19d3f5);});}}_0x40252c[_0xe00505([0x6f,0x6e])](_0xe00505([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x14b3da,_0x4e3e51)=>{if(_0x4e3e51[0x0]!=_0xb268fb)return _0x3a35b5(_0xe00505([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4e3e51[0x1]={..._0x4e3e51[0x1],[_0xe00505([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xca873e};},{[_0xe00505([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xe00505([0x68,0x69,0x67,0x68])}),_0x40252c[_0xe00505([0x6f,0x6e])](_0xe00505([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x541143=>{_0x513790(_0x541143[_0xe00505([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x425dd5=!0x0,_0x398436(_0x541143[_0xe00505([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xe00505([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xe00505([0x6c,0x6f,0x77])}),_0x2549ff[_0xe00505([0x74,0x68,0x65,0x6e])](()=>{_0x425dd5||_0x3a35b5(_0xe00505([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xddaeac(){return _0x40252c[_0xe00505([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xe00505([0x76,0x69,0x65,0x77])][_0xe00505([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xe00505([0x61,0x75,0x74,0x6f]);}function _0x737b52(){_0x40252c[_0xe00505([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xe00505([0x76,0x69,0x65,0x77])][_0xe00505([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xe00505([0x61,0x75,0x74,0x6f]);}}function _0x544646(_0x22ca5a){const _0x45b88c=[new window[(_0xe00505([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x10c26a=>setTimeout(_0x10c26a,0x2cccb59c^_0x19d3f5)),_0x2549ff[_0xe00505([0x74,0x68,0x65,0x6e])](()=>new window[(_0xe00505([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x34e719=>{let _0x51c2ec=0x0;_0x40252c[_0xe00505([0x6d,0x6f,0x64,0x65,0x6c])][_0xe00505([0x6f,0x6e])](_0xe00505([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x33c5ef,_0x5acfc2)=>{_0x5acfc2[0x0][_0xe00505([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x51c2ec++,_0x51c2ec==(0x2cc58aa8^_0x19d3f5)&&(_0x34e719(),_0x33c5ef[_0xe00505([0x6f,0x66,0x66])]());});}))];return window[_0xe00505([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xe00505([0x72,0x61,0x63,0x65])](_0x45b88c)[_0xe00505([0x74,0x68,0x65,0x6e])](()=>_0x22ca5a);}async function _0xdfe0b6(){await _0x2549ff,_0x40252c[_0xe00505([0x6d,0x6f,0x64,0x65,0x6c])][_0xe00505([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x44e730,_0x40252c[_0xe00505([0x6d,0x6f,0x64,0x65,0x6c])][_0xe00505([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x44e730,_0x40252c[_0xe00505([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xe00505([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1fd67a(_0xe49238){const _0xeea935=_0x23f146();_0x40252c[_0xeea935]=_0xe00505([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])+_0xe49238,_0xe49238!=_0xe00505([0x56,0x61,0x6c,0x69,0x64])&&_0xdfe0b6();}function _0x23f146(){const _0x57a1aa=window[_0xe00505([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xe00505([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xe00505([0x6e,0x6f,0x77])]())[_0xe00505([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xe00505([0x2e]),'');let _0x320dba=_0xe00505([0x58]);for(let _0x5ee416=0x0;_0x5ee416<_0x57a1aa[_0xe00505([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5ee416+=0x2){let _0x51a68b=window[_0xe00505([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x57a1aa[_0xe00505([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5ee416,_0x5ee416+0x2));_0x51a68b>=_0xf63f70[_0xe00505([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x51a68b-=_0xf63f70[_0xe00505([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x320dba+=_0xf63f70[_0x51a68b];}return _0x320dba;}function _0x459ae0(){const _0x59537a=_0x2d4bb7[_0xe00505([0x73,0x70,0x6c,0x69,0x74])](_0xe00505([0x2e]));if(0x3!=_0x59537a[_0xe00505([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x54d89c(_0x59537a[0x1]);function _0x54d89c(_0x413bf6){const _0x441e98=_0x12bc91(_0x413bf6);return _0x441e98&&_0xb74bfb()?_0x441e98:null;function _0xb74bfb(){const _0x4438a2=_0x441e98[_0xe00505([0x6a,0x74,0x69])],_0xa19936=window[_0xe00505([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4438a2[_0xe00505([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4438a2[_0xe00505([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5dabfb={..._0x441e98,[_0xe00505([0x6a,0x74,0x69])]:_0x4438a2[_0xe00505([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4438a2[_0xe00505([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5dabfb[_0xe00505([0x76,0x63])],_0x259f9c(_0x5dabfb)==_0xa19936;}}}async function _0x3c9a85(){let _0x1ab3f3=!0x0;try{const _0x1a4f50=_0x2d4bb7[_0xe00505([0x73,0x70,0x6c,0x69,0x74])](_0xe00505([0x2e])),[_0x1999f2,_0x133b16,_0x1f10b3]=_0x1a4f50;return _0x834424(_0x1999f2),await _0x5b02b7(_0x1999f2,_0x133b16,_0x1f10b3),_0x1ab3f3;}catch{return!0x1;}function _0x834424(_0x4113e8){const _0x30f564=_0x12bc91(_0x4113e8);_0x30f564&&_0x30f564[_0xe00505([0x61,0x6c,0x67])]==_0xe00505([0x45,0x53,0x32,0x35,0x36])||(_0x1ab3f3=!0x1);}async function _0x5b02b7(_0x1f5f78,_0x330f98,_0x1b2089){const _0x52eca7=window[_0xe00505([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xe00505([0x66,0x72,0x6f,0x6d])](_0x207313(_0x1b2089),_0x1a3e5b=>_0x1a3e5b[_0xe00505([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x25241e=new window[(_0xe00505([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xe00505([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1f5f78+_0xe00505([0x2e])+_0x330f98),_0x16cd23=window[_0xe00505([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xe00505([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x16cd23)return;const _0x475274=await _0x16cd23[_0xe00505([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xe00505([0x6a,0x77,0x6b]),_0xb62cf8,{[_0xe00505([0x6e,0x61,0x6d,0x65])]:_0xe00505([0x45,0x43,0x44,0x53,0x41]),[_0xe00505([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xe00505([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xe00505([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x16cd23[_0xe00505([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xe00505([0x6e,0x61,0x6d,0x65])]:_0xe00505([0x45,0x43,0x44,0x53,0x41]),[_0xe00505([0x68,0x61,0x73,0x68])]:{[_0xe00505([0x6e,0x61,0x6d,0x65])]:_0xe00505([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x475274,_0x52eca7,_0x25241e)||(_0x1ab3f3=!0x1);}}function _0x12bc91(_0x1e678c){return _0x1e678c[_0xe00505([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xe00505([0x65,0x79]))?JSON[_0xe00505([0x70,0x61,0x72,0x73,0x65])](_0x207313(_0x1e678c)):null;}function _0x207313(_0x3071e5){return window[_0xe00505([0x61,0x74,0x6f,0x62])](_0x3071e5[_0xe00505([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xe00505([0x2b]))[_0xe00505([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xe00505([0x2f])));}function _0x259f9c(_0x2ebf8b){let _0x177978=0x1505;function _0x501653(_0x5b63d8){for(let _0x5db27f=0x0;_0x5db27f<_0x5b63d8[_0xe00505([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5db27f++){const _0x50f634=_0x5b63d8[_0xe00505([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5db27f);_0x177978=(_0x177978<<0x5)+_0x177978+_0x50f634,_0x177978&=_0x177978;}}function _0x319270(_0x1b6f9e){Array[_0xe00505([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1b6f9e)?_0x1b6f9e[_0xe00505([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x319270):_0x1b6f9e&&typeof _0x1b6f9e==_0xe00505([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xe00505([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1b6f9e)[_0xe00505([0x73,0x6f,0x72,0x74])]()[_0xe00505([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5d6cd3,_0x365584])=>{_0x501653(_0x5d6cd3),_0x319270(_0x365584);}):_0x501653(window[_0xe00505([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1b6f9e));}return _0x319270(_0x2ebf8b),_0x177978>>>0x0;}function _0x4faa3a(_0x4dc8bf){return _0x4dc8bf[_0xe00505([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xe00505([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xe00505([0x30]));}function _0x3448af(_0x4f0819){return _0x4f0819[_0xe00505([0x73,0x70,0x6c,0x69,0x74])]('')[_0xe00505([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xe00505([0x6a,0x6f,0x69,0x6e])]('');}function _0x44e730(){}function _0xe00505(_0x40dbfd){return _0x40dbfd['map'](_0x578957=>String['fromCharCode'](_0x578957))['join']('');}_0x1fd67a(await _0x59eb9f());}(this);}['_createButton'](_0x45ee6c,_0x1926ce,_0x3a0846=!0x1){const _0x3361a0=new _0x45ee6c(this['editor']['locale']);return _0x3361a0['set']({'withText':_0x3a0846,'isToggleable':!0x1}),_0x3361a0['bind']('isEnabled')['to'](_0x1926ce,'isEnabled'),this['listenTo'](_0x3361a0,'execute',()=>_0x1926ce['execute']()),_0x3361a0;}['_registerKeybindings'](){const _0x3a8b57=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':f(_0x3a8b57,'Source\x20Editing\x20Enhanced')});const _0x116524=_0x43a4fd['isMac']||_0x43a4fd['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':f(_0x3a8b57,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':f(_0x3a8b57,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':f(_0x3a8b57,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':f(_0x3a8b57,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':f(_0x3a8b57,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':f(_0x3a8b57,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':f(_0x3a8b57,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x116524?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':f(_0x3a8b57,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':f(_0x3a8b57,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':f(_0x3a8b57,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':f(_0x3a8b57,'Select\x20line'),'keystroke':_0x116524?'Ctrl!+L':'Alt+L'},{'label':f(_0x3a8b57,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x116524?'Alt+Shift+M':'Ctrl+M'},{'label':f(_0x3a8b57,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':f(_0x3a8b57,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':f(_0x3a8b57,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':f(_0x3a8b57,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':f(_0x3a8b57,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x116524?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}class e extends _0x2fa58a{constructor(_0x503c08){super(_0x503c08),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0x4acba7,_0x3acaa1){const _0x44837c=this['editor'],_0x25f481=_0x3acaa1?.['rootName']??s(_0x44837c);_0x44837c['data']['set']({[_0x25f481]:_0x4acba7},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}class c extends _0x4af1f6{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[a];}constructor(_0x349b12){super(_0x349b12),_0x349b12['config']['define']('sourceEditingEnhanced.allowCollaborationFeatures',!0x1);}['init'](){this['_checkCompatibility'](),this['editor']['commands']['add']('replaceSource',new e(this['editor'])),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x5e07eb=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4c5478;for(const _0x20ac28 in _0x5e07eb){const _0x36152e=_0x20ac28,_0x299739=_0x5e07eb[_0x36152e];if('sourceEditingEnhancedLicenseKeyValid'==_0x299739||'sourceEditingEnhancedLicenseKeyInvalid'==_0x299739||'sourceEditingEnhancedLicenseKeyExpired'==_0x299739||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x299739||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x299739||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x299739||'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x299739||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x299739){delete _0x5e07eb[_0x36152e],_0x4c5478=_0x299739,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0x4c5478&&_0x5e07eb['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0x4c5478&&_0x5e07eb['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x4c5478&&_0x5e07eb['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x4c5478&&_0x5e07eb['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x4c5478&&_0x5e07eb['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x4c5478&&_0x5e07eb['_showLicenseError']('trialLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x4c5478&&_0x5e07eb['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0x4a4856=this['editor'],_0x3dda46=_0x4a4856['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0x3dda46&&_0x4a4856['plugins']['has']('RealTimeCollaborativeEditing'))throw new _0x16f3b9('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0x3dda46&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x3ea58b=>_0x4a4856['plugins']['has'](_0x3ea58b))&&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.'),_0x4a4856['plugins']['has']('RestrictedEditingModeEditing')&&console['warn']('You\x20initialized\x20the\x20editor\x20with\x20the\x20source\x20editing\x20enhanced\x20feature\x20and\x20restricted\x20editing\x20feature.\x20Please\x20be\x20advised\x20that\x20the\x20source\x20editing\x20enhanced\x20feature\x20may\x20not\x20work,\x20and\x20be\x20careful\x20when\x20editing\x20document\x20source\x20that\x20contains\x20markers\x20created\x20by\x20the\x20restricted\x20editing\x20feature.');}}export{d as EditSourceCommand,e as ReplaceSourceCommand,c as SourceEditingEnhanced};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-source-editing-enhanced",
|
|
3
|
-
"version": "45.2.0-alpha.
|
|
3
|
+
"version": "45.2.0-alpha.2",
|
|
4
4
|
"description": "Source editing enhanced feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -18,11 +18,11 @@
|
|
|
18
18
|
"type": "module",
|
|
19
19
|
"main": "src/index.js",
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@ckeditor/ckeditor5-core": "45.2.0-alpha.
|
|
22
|
-
"@ckeditor/ckeditor5-icons": "45.2.0-alpha.
|
|
23
|
-
"@ckeditor/ckeditor5-theme-lark": "45.2.0-alpha.
|
|
24
|
-
"@ckeditor/ckeditor5-ui": "45.2.0-alpha.
|
|
25
|
-
"@ckeditor/ckeditor5-utils": "45.2.0-alpha.
|
|
21
|
+
"@ckeditor/ckeditor5-core": "45.2.0-alpha.2",
|
|
22
|
+
"@ckeditor/ckeditor5-icons": "45.2.0-alpha.2",
|
|
23
|
+
"@ckeditor/ckeditor5-theme-lark": "45.2.0-alpha.2",
|
|
24
|
+
"@ckeditor/ckeditor5-ui": "45.2.0-alpha.2",
|
|
25
|
+
"@ckeditor/ckeditor5-utils": "45.2.0-alpha.2",
|
|
26
26
|
"@codemirror/autocomplete": "^6.7.1",
|
|
27
27
|
"@codemirror/commands": "6.8.0",
|
|
28
28
|
"@codemirror/lang-html": "^6.0.0",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"@codemirror/state": "^6.5.0",
|
|
32
32
|
"@codemirror/theme-one-dark": "^6.1.2",
|
|
33
33
|
"@codemirror/view": "^6.35.0",
|
|
34
|
-
"ckeditor5": "45.2.0-alpha.
|
|
34
|
+
"ckeditor5": "45.2.0-alpha.2"
|
|
35
35
|
},
|
|
36
36
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
37
37
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x1032(_0x195830,_0x421cfe){const _0x50436a=_0x5043();return _0x1032=function(_0x103240,_0x5e40c1){_0x103240=_0x103240-0xf1;let _0x505019=_0x50436a[_0x103240];return _0x505019;},_0x1032(_0x195830,_0x421cfe);}const _0x15d686=_0x1032;(function(_0x14bdae,_0x3529c3){const _0x188b40=_0x1032,_0x4f26c8=_0x14bdae();while(!![]){try{const _0x517b41=parseInt(_0x188b40(0xf1))/0x1*(-parseInt(_0x188b40(0xf5))/0x2)+-parseInt(_0x188b40(0x105))/0x3+-parseInt(_0x188b40(0x132))/0x4*(-parseInt(_0x188b40(0x137))/0x5)+parseInt(_0x188b40(0x12f))/0x6+-parseInt(_0x188b40(0xf8))/0x7*(-parseInt(_0x188b40(0x11c))/0x8)+parseInt(_0x188b40(0x101))/0x9*(-parseInt(_0x188b40(0x102))/0xa)+parseInt(_0x188b40(0x13d))/0xb;if(_0x517b41===_0x3529c3)break;else _0x4f26c8['push'](_0x4f26c8['shift']());}catch(_0x4ae26e){_0x4f26c8['push'](_0x4f26c8['shift']());}}}(_0x5043,0x48acc));import{Plugin as _0x19be8b,PendingActions as _0x3d32b1}from'ckeditor5/src/core.js';function _0x5043(){const _0x3c5f65=['6440lfKGwI','map','Alt+Shift+M','addKeystrokeInfoCategory','Fold\x20all','Move\x20line\x20up','1029171qMYaVu','set','listenTo','isMac','Delete\x20line','join','Ctrl+Shift+Z','Select\x20line','ck-source-editing-enhanced-button','accessibility','3jtVdca','Shift+Alt+ArrowUp','Ctrl!+Alt+[','Fold\x20code\x20(current\x20level)','194778dUCsWz','Shift+Alt+A','Alt+L','922306zieevV','Ctrl+/','Cmd+Alt+[','Source','_createButton','Undo\x20(keystroke)','pluginName','Ctrl+]','addKeystrokeInfos','9BKxIaD','887090SKWkLo','editSource','href','1212819CRouSf','isEnabled','execute','Edit\x20source\x20modal\x20label','SourceEditingEnhancedUI','Indent\x20less','afterInit','commands','Indent\x20more','bind','isPremiumPlugin','Redo\x20(keystroke)','init','Copy\x20line\x20down','isOfficialPlugin','Cmd+Alt+]','menuitemcheckbox','Toggle\x20block\x20comment','locale','Ctrl+[','Unfold\x20all','Source\x20Editing\x20Enhanced','add','32cHsfVI','requires','Ctrl+Shift+[','Ctrl+Z','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode','isiOS','Move\x20line\x20down','Shift+Ctrl+K','Unfold\x20code\x20(current\x20level)','Alt+ArrowDown','Shift+Alt+ArrowDown','sourceEditingEnhanced','Copy\x20line\x20up','componentFactory','Ctrl+Y','Toggle\x20comment','Ctrl+Shift+]','Ctrl!+L','fromCharCode','1560096yFFeyE','menuBar:sourceEditingEnhanced','Ctrl+M','628NTDDFA','Ctrl!+Alt+]','_registerKeybindings','Alt+ArrowUp','editor'];_0x5043=function(){return _0x3c5f65;};return _0x5043();}import{IconSource as _0xf8d2f1}from'ckeditor5/src/icons.js';import{ButtonView as _0x71e85c,MenuBarMenuListItemButtonView as _0x30a301}from'ckeditor5/src/ui.js';import _0x1f3709 from'./ui/editsourcecommand.js';import{getTranslation as _0x1c8264}from'./utils/common-translations.js';import{env as _0x15a96e,uid as _0x2f846b}from'ckeditor5/src/utils.js';import'../theme/sourceeditingenhanced.css';export default class a extends _0x19be8b{static get[_0x15d686(0xfe)](){const _0x220add=_0x15d686;return _0x220add(0x109);}static get[_0x15d686(0x11d)](){return[_0x3d32b1];}static get[_0x15d686(0x113)](){return!0x0;}static get[_0x15d686(0x10f)](){return!0x0;}[_0x15d686(0x111)](){const _0x5a21d2=_0x15d686,_0x13d46d=this[_0x5a21d2(0x136)],_0xc6bc83=_0x13d46d[_0x5a21d2(0x117)],_0x249592=new _0x1f3709(_0x13d46d);_0x13d46d[_0x5a21d2(0x10c)][_0x5a21d2(0x11b)](_0x5a21d2(0x103),_0x249592),_0x13d46d['ui'][_0x5a21d2(0x129)][_0x5a21d2(0x11b)](_0x5a21d2(0x127),()=>{const _0x1c9952=_0x5a21d2,_0x54f371=this[_0x1c9952(0xfc)](_0x71e85c,_0x249592);return _0x54f371[_0x1c9952(0x13e)]({'label':_0x1c8264(_0xc6bc83,_0x1c9952(0xfb)),'icon':_0xf8d2f1,'tooltip':_0x1c8264(_0xc6bc83,_0x1c9952(0x108)),'class':_0x1c9952(0x145)}),_0x54f371;}),_0x13d46d['ui'][_0x5a21d2(0x129)][_0x5a21d2(0x11b)](_0x5a21d2(0x130),()=>{const _0xb4f7b4=_0x5a21d2,_0x86ab5b=this[_0xb4f7b4(0xfc)](_0x30a301,_0x249592,!0x0);return _0x86ab5b[_0xb4f7b4(0x13e)]({'label':_0x1c8264(_0xc6bc83,_0xb4f7b4(0x108)),'icon':_0xf8d2f1,'role':_0xb4f7b4(0x115)}),_0x86ab5b;}),this[_0x5a21d2(0x134)]();}[_0x15d686(0x10b)](){!async function(_0x3b64e2){const _0x731778=_0x464911([0x62,0x61,0x79,0x41,0x49,0x5a,0x4c,0x54,0x72,0x50,0x58,0x63,0x42,0x74,0x70,0x59,0x76,0x4f,0x47,0x71,0x4e,0x34,0x32,0x66,0x4d,0x6e,0x37,0x64,0x33,0x53,0x6c,0x52,0x7a,0x77,0x67,0x51,0x35,0x39,0x6a,0x78,0x57,0x68,0x48,0x4a,0x55,0x56,0x6d,0x46,0x30,0x6f,0x73,0x36,0x6b,0x43,0x44,0x45,0x69,0x31,0x65,0x4b,0x38,0x75]),_0x57c6f8=0x4917d6db,_0x4e4eeb=0x4910bfe3^_0x57c6f8,_0x1e2301=window[_0x464911([0x44,0x61,0x74,0x65])][_0x464911([0x6e,0x6f,0x77])](),_0x56217c=_0x3b64e2[_0x464911([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x34cedf=new window[(_0x464911([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x93edb6=>{_0x56217c[_0x464911([0x6f,0x6e,0x63,0x65])](_0x464911([0x72,0x65,0x61,0x64,0x79]),_0x93edb6);}),_0x1e95ef={[_0x464911([0x6b,0x74,0x79])]:_0x464911([0x45,0x43]),[_0x464911([0x75,0x73,0x65])]:_0x464911([0x73,0x69,0x67]),[_0x464911([0x63,0x72,0x76])]:_0x464911([0x50,0x2d,0x32,0x35,0x36]),[_0x464911([0x78])]:_0x464911([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]),[_0x464911([0x79])]:_0x464911([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]),[_0x464911([0x61,0x6c,0x67])]:_0x464911([0x45,0x53,0x32,0x35,0x36])},_0x502002=_0x56217c[_0x464911([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x464911([0x67,0x65,0x74])](_0x464911([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xdf5052(){let _0x803fcc,_0x12d710=null,_0x224252=null;try{if(_0x502002==_0x464911([0x47,0x50,0x4c]))return _0x464911([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x803fcc=_0x343c7f(),!_0x803fcc)return _0x464911([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x803fcc[_0x464911([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x224252=_0x56cef2(_0x803fcc[_0x464911([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x803fcc[_0x464911([0x6a,0x74,0x69])])),await _0x4d39ff()?_0x57144d()?_0x431c8a()?_0x464911([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x58af92()?(_0x803fcc[_0x464911([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x464911([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x12d710=_0x3248f6(_0x464911([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x803fcc[_0x464911([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x464911([0x74,0x72,0x69,0x61,0x6c])&&(_0x12d710=_0x3248f6(_0x464911([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3ec484()):_0x464911([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x464911([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x464911([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x464911([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x431c8a(){const _0x3e7032=[_0x464911([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x464911([0x74,0x72,0x69,0x61,0x6c])][_0x464911([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x803fcc[_0x464911([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1e2301/0x3e8:0xe10*_0x4e4eeb;return _0x803fcc[_0x464911([0x65,0x78,0x70])]<_0x3e7032;}function _0x57144d(){const _0xd285f8=_0x803fcc[_0x464911([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0xd285f8&&(!!_0xd285f8[_0x464911([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x464911([0x2a]))||!!_0xd285f8[_0x464911([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x464911([0x53,0x45,0x45])));}function _0x58af92(){const _0x820b69=_0x1032,_0x7a9311=_0x803fcc[_0x464911([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x7a9311||0x0==_0x7a9311[_0x464911([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xfcfb28}=new URL(window[_0x464911([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x820b69(0x104)]);if(_0x7a9311[_0x464911([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xfcfb28))return!0x0;const _0x46580d=_0xfcfb28[_0x464911([0x73,0x70,0x6c,0x69,0x74])](_0x464911([0x2e]));return _0x7a9311[_0x464911([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x40139d=>_0x40139d[_0x464911([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x464911([0x2a])))[_0x464911([0x6d,0x61,0x70])](_0xc5d422=>_0xc5d422[_0x464911([0x73,0x70,0x6c,0x69,0x74])](_0x464911([0x2e])))[_0x464911([0x73,0x6f,0x6d,0x65])](_0x4bfc5d=>_0x46580d[_0x464911([0x65,0x76,0x65,0x72,0x79])]((_0x2b98ab,_0x2897d6)=>_0x4bfc5d[_0x2897d6]===_0x2b98ab||_0x4bfc5d[_0x2897d6]===_0x464911([0x2a])));}function _0x3ec484(){return _0x12d710&&_0x224252?new window[(_0x464911([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3b1433,_0x5b2f84)=>{_0x12d710[_0x464911([0x74,0x68,0x65,0x6e])](_0x3b1433,_0x5b2f84),_0x224252[_0x464911([0x74,0x68,0x65,0x6e])](_0x44e95e=>{_0x44e95e!=_0x464911([0x56,0x61,0x6c,0x69,0x64])&&_0x3b1433(_0x44e95e);},_0x5b2f84);}):_0x12d710||_0x224252||_0x464911([0x56,0x61,0x6c,0x69,0x64]);}}function _0x56cef2(_0x3a5df7,_0x515d3a){return new window[(_0x464911([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1aa146=>{if(_0x237f07())return _0x1aa146(_0x464911([0x56,0x61,0x6c,0x69,0x64]));_0x29e382(),_0x56217c[_0x464911([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x464911([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x253158=!0x1;const _0x5900c7=_0x2f846b();function _0x2b48f4(_0x261a87){return!!_0x261a87&&(typeof _0x261a87===_0x464911([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x261a87===_0x464911([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x261a87[_0x464911([0x74,0x68,0x65,0x6e])]===_0x464911([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x261a87[_0x464911([0x63,0x61,0x74,0x63,0x68])]===_0x464911([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x45c837(_0x4fbad0){_0xe2bd72(_0x4fbad0)[_0x464911([0x74,0x68,0x65,0x6e])](_0x109523=>{if(!_0x109523||_0x109523[_0x464911([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x464911([0x6f,0x6b]))return _0x464911([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x36c91d(_0x57f680(_0x5900c7+_0x515d3a))!=_0x109523[_0x464911([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x464911([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x464911([0x56,0x61,0x6c,0x69,0x64]);})[_0x464911([0x74,0x68,0x65,0x6e])](_0x3c68a7=>(_0x11ab75(),_0x3c68a7),()=>{const _0x5c7171=_0x5ddbed();return null==_0x5c7171?(_0x11ab75(),_0x464911([0x56,0x61,0x6c,0x69,0x64])):_0x464911(_0x1e2301-_0x5c7171>(0x6d1b52db^_0x57c6f8)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x464911([0x74,0x68,0x65,0x6e])](_0x1aa146)[_0x464911([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1aa146(_0x464911([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x42bc18=0x4921385b^_0x57c6f8;function _0x11ab75(){const _0x210cca=_0x464911([0x6c,0x6c,0x63,0x74,0x2d])+_0x36c91d(_0x57f680(_0x3a5df7)),_0x4a33b1=_0x242beb(_0x36c91d(window[_0x464911([0x4d,0x61,0x74,0x68])][_0x464911([0x63,0x65,0x69,0x6c])](_0x1e2301/_0x42bc18)));window[_0x464911([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x464911([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x210cca,_0x4a33b1);}function _0x5ddbed(){const _0x308f13=_0x464911([0x6c,0x6c,0x63,0x74,0x2d])+_0x36c91d(_0x57f680(_0x3a5df7)),_0x1614ae=window[_0x464911([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x464911([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x308f13);return _0x1614ae?window[_0x464911([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x242beb(_0x1614ae),0x10)*_0x42bc18:null;}function _0xe2bd72(_0x2000ff){return new window[(_0x464911([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x34dd2a,_0x57b2ee)=>{_0x2000ff[_0x464911([0x74,0x68,0x65,0x6e])](_0x34dd2a,_0x57b2ee),window[_0x464911([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x57b2ee,0x4916021b^_0x57c6f8);});}}_0x56217c[_0x464911([0x6f,0x6e])](_0x464911([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x52f405,_0x462dc8)=>{if(_0x462dc8[0x0]!=_0x3a5df7)return _0x1aa146(_0x464911([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x462dc8[0x1]={..._0x462dc8[0x1],[_0x464911([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5900c7};},{[_0x464911([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x464911([0x68,0x69,0x67,0x68])}),_0x56217c[_0x464911([0x6f,0x6e])](_0x464911([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x59c81f=>{_0x2b48f4(_0x59c81f[_0x464911([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x253158=!0x0,_0x45c837(_0x59c81f[_0x464911([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x464911([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x464911([0x6c,0x6f,0x77])}),_0x34cedf[_0x464911([0x74,0x68,0x65,0x6e])](()=>{_0x253158||_0x1aa146(_0x464911([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x237f07(){return _0x56217c[_0x464911([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x464911([0x76,0x69,0x65,0x77])][_0x464911([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x464911([0x61,0x75,0x74,0x6f]);}function _0x29e382(){_0x56217c[_0x464911([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x464911([0x76,0x69,0x65,0x77])][_0x464911([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x464911([0x61,0x75,0x74,0x6f]);}}function _0x3248f6(_0xcd4384){const _0x301333=[new window[(_0x464911([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x698f08=>setTimeout(_0x698f08,0x491ee817^_0x57c6f8)),_0x34cedf[_0x464911([0x74,0x68,0x65,0x6e])](()=>new window[(_0x464911([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x350b37=>{let _0xa76f0a=0x0;_0x56217c[_0x464911([0x6d,0x6f,0x64,0x65,0x6c])][_0x464911([0x6f,0x6e])](_0x464911([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1934b1,_0x576599)=>{_0x576599[0x0][_0x464911([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xa76f0a++,_0xa76f0a==(0x4917d723^_0x57c6f8)&&(_0x350b37(),_0x1934b1[_0x464911([0x6f,0x66,0x66])]());});}))];return window[_0x464911([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x464911([0x72,0x61,0x63,0x65])](_0x301333)[_0x464911([0x74,0x68,0x65,0x6e])](()=>_0xcd4384);}async function _0xdcb575(){await _0x34cedf,_0x56217c[_0x464911([0x6d,0x6f,0x64,0x65,0x6c])][_0x464911([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x59e600,_0x56217c[_0x464911([0x6d,0x6f,0x64,0x65,0x6c])][_0x464911([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x59e600,_0x56217c[_0x464911([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x464911([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x12a1c4(_0x232bcb){const _0x3e7c8c=_0x3233ab();_0x56217c[_0x3e7c8c]=_0x464911([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])+_0x232bcb,_0x232bcb!=_0x464911([0x56,0x61,0x6c,0x69,0x64])&&_0xdcb575();}function _0x3233ab(){const _0xb37c8b=window[_0x464911([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x464911([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x464911([0x6e,0x6f,0x77])]())[_0x464911([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x464911([0x2e]),'');let _0x1baba3=_0x464911([0x62]);for(let _0x52f25f=0x0;_0x52f25f<_0xb37c8b[_0x464911([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x52f25f+=0x2){let _0x566081=window[_0x464911([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xb37c8b[_0x464911([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x52f25f,_0x52f25f+0x2));_0x566081>=_0x731778[_0x464911([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x566081-=_0x731778[_0x464911([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1baba3+=_0x731778[_0x566081];}return _0x1baba3;}function _0x343c7f(){const _0xb2f07d=_0x502002[_0x464911([0x73,0x70,0x6c,0x69,0x74])](_0x464911([0x2e]));if(0x3!=_0xb2f07d[_0x464911([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x416b92(_0xb2f07d[0x1]);function _0x416b92(_0x5ea166){const _0x1c8765=_0x5ba8fa(_0x5ea166);return _0x1c8765&&_0x463a41()?_0x1c8765:null;function _0x463a41(){const _0x3513d9=_0x1c8765[_0x464911([0x6a,0x74,0x69])],_0xb45e8a=window[_0x464911([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3513d9[_0x464911([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3513d9[_0x464911([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x350c08={..._0x1c8765,[_0x464911([0x6a,0x74,0x69])]:_0x3513d9[_0x464911([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3513d9[_0x464911([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x350c08[_0x464911([0x76,0x63])],_0x57f680(_0x350c08)==_0xb45e8a;}}}async function _0x4d39ff(){let _0x5617af=!0x0;try{const _0x8b9f39=_0x502002[_0x464911([0x73,0x70,0x6c,0x69,0x74])](_0x464911([0x2e])),[_0x2f8c3a,_0x298c3c,_0x5bf576]=_0x8b9f39;return _0x58a3e8(_0x2f8c3a),await _0x9c8661(_0x2f8c3a,_0x298c3c,_0x5bf576),_0x5617af;}catch{return!0x1;}function _0x58a3e8(_0x3b2c7a){const _0x413ee7=_0x5ba8fa(_0x3b2c7a);_0x413ee7&&_0x413ee7[_0x464911([0x61,0x6c,0x67])]==_0x464911([0x45,0x53,0x32,0x35,0x36])||(_0x5617af=!0x1);}async function _0x9c8661(_0x1368f4,_0x47b8b6,_0x298186){const _0x49320a=window[_0x464911([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x464911([0x66,0x72,0x6f,0x6d])](_0x32ec1f(_0x298186),_0x1f4f6a=>_0x1f4f6a[_0x464911([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xb43067=new window[(_0x464911([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x464911([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1368f4+_0x464911([0x2e])+_0x47b8b6),_0x341761=window[_0x464911([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x464911([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x341761)return;const _0x37589a=await _0x341761[_0x464911([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x464911([0x6a,0x77,0x6b]),_0x1e95ef,{[_0x464911([0x6e,0x61,0x6d,0x65])]:_0x464911([0x45,0x43,0x44,0x53,0x41]),[_0x464911([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x464911([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x464911([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x341761[_0x464911([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x464911([0x6e,0x61,0x6d,0x65])]:_0x464911([0x45,0x43,0x44,0x53,0x41]),[_0x464911([0x68,0x61,0x73,0x68])]:{[_0x464911([0x6e,0x61,0x6d,0x65])]:_0x464911([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x37589a,_0x49320a,_0xb43067)||(_0x5617af=!0x1);}}function _0x5ba8fa(_0x36d772){return _0x36d772[_0x464911([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x464911([0x65,0x79]))?JSON[_0x464911([0x70,0x61,0x72,0x73,0x65])](_0x32ec1f(_0x36d772)):null;}function _0x32ec1f(_0x499d2b){return window[_0x464911([0x61,0x74,0x6f,0x62])](_0x499d2b[_0x464911([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x464911([0x2b]))[_0x464911([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x464911([0x2f])));}function _0x57f680(_0x57af79){let _0x4ac2bf=0x1505;function _0x3342a6(_0x5cf21c){for(let _0x5215c4=0x0;_0x5215c4<_0x5cf21c[_0x464911([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5215c4++){const _0x5bd66a=_0x5cf21c[_0x464911([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5215c4);_0x4ac2bf=(_0x4ac2bf<<0x5)+_0x4ac2bf+_0x5bd66a,_0x4ac2bf&=_0x4ac2bf;}}function _0x11214a(_0x93af64){Array[_0x464911([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x93af64)?_0x93af64[_0x464911([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x11214a):_0x93af64&&typeof _0x93af64==_0x464911([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x464911([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x93af64)[_0x464911([0x73,0x6f,0x72,0x74])]()[_0x464911([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x34481d,_0x40c099])=>{_0x3342a6(_0x34481d),_0x11214a(_0x40c099);}):_0x3342a6(window[_0x464911([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x93af64));}return _0x11214a(_0x57af79),_0x4ac2bf>>>0x0;}function _0x36c91d(_0xb0c9d5){return _0xb0c9d5[_0x464911([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x464911([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x464911([0x30]));}function _0x242beb(_0x2d1ad8){return _0x2d1ad8[_0x464911([0x73,0x70,0x6c,0x69,0x74])]('')[_0x464911([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x464911([0x6a,0x6f,0x69,0x6e])]('');}function _0x59e600(){}function _0x464911(_0x179579){const _0x8ecabb=_0x1032;return _0x179579[_0x8ecabb(0x138)](_0x3736a5=>String[_0x8ecabb(0x12e)](_0x3736a5))[_0x8ecabb(0x142)]('');}_0x12a1c4(await _0xdf5052());}(this);}[_0x15d686(0xfc)](_0x19845e,_0x287981,_0x3b7962=!0x1){const _0x1fa4d7=_0x15d686,_0x2c192d=new _0x19845e(this[_0x1fa4d7(0x136)][_0x1fa4d7(0x117)]);return _0x2c192d[_0x1fa4d7(0x13e)]({'withText':_0x3b7962,'isToggleable':!0x1}),_0x2c192d[_0x1fa4d7(0x10e)](_0x1fa4d7(0x106))['to'](_0x287981,_0x1fa4d7(0x106)),this[_0x1fa4d7(0x13f)](_0x2c192d,_0x1fa4d7(0x107),()=>_0x287981[_0x1fa4d7(0x107)]()),_0x2c192d;}[_0x15d686(0x134)](){const _0x57bd9f=_0x15d686,_0x492b4d=this[_0x57bd9f(0x136)][_0x57bd9f(0x117)];this[_0x57bd9f(0x136)][_0x57bd9f(0x146)][_0x57bd9f(0x13a)]({'id':_0x57bd9f(0x127),'label':_0x1c8264(_0x492b4d,_0x57bd9f(0x11a))});const _0x46f949=_0x15a96e[_0x57bd9f(0x140)]||_0x15a96e[_0x57bd9f(0x121)];this[_0x57bd9f(0x136)][_0x57bd9f(0x146)][_0x57bd9f(0x100)]({'categoryId':_0x57bd9f(0x127),'keystrokes':[{'label':_0x1c8264(_0x492b4d,_0x57bd9f(0x112)),'keystroke':_0x57bd9f(0x126)},{'label':_0x1c8264(_0x492b4d,_0x57bd9f(0x128)),'keystroke':_0x57bd9f(0xf2)},{'label':_0x1c8264(_0x492b4d,_0x57bd9f(0x141)),'keystroke':_0x57bd9f(0x123)},{'label':_0x1c8264(_0x492b4d,_0x57bd9f(0x10a)),'keystroke':_0x57bd9f(0x118)},{'label':_0x1c8264(_0x492b4d,_0x57bd9f(0x10d)),'keystroke':_0x57bd9f(0xff)},{'label':_0x1c8264(_0x492b4d,_0x57bd9f(0x13b)),'keystroke':_0x57bd9f(0xf3)},{'label':_0x1c8264(_0x492b4d,_0x57bd9f(0xf4)),'keystroke':_0x46f949?_0x57bd9f(0xfa):_0x57bd9f(0x11e)},{'label':_0x1c8264(_0x492b4d,_0x57bd9f(0x122)),'keystroke':_0x57bd9f(0x125)},{'label':_0x1c8264(_0x492b4d,_0x57bd9f(0x13c)),'keystroke':_0x57bd9f(0x135)},{'label':_0x1c8264(_0x492b4d,_0x57bd9f(0x110)),'keystroke':[[_0x57bd9f(0x143)],[_0x57bd9f(0x12a)]]},{'label':_0x1c8264(_0x492b4d,_0x57bd9f(0x144)),'keystroke':_0x46f949?_0x57bd9f(0x12d):_0x57bd9f(0xf7)},{'label':_0x1c8264(_0x492b4d,_0x57bd9f(0x120)),'keystroke':_0x46f949?_0x57bd9f(0x139):_0x57bd9f(0x131)},{'label':_0x1c8264(_0x492b4d,_0x57bd9f(0x116)),'keystroke':_0x57bd9f(0xf6)},{'label':_0x1c8264(_0x492b4d,_0x57bd9f(0x12b)),'keystroke':_0x57bd9f(0xf9)},{'label':_0x1c8264(_0x492b4d,_0x57bd9f(0xfd)),'keystroke':_0x57bd9f(0x11f)},{'label':_0x1c8264(_0x492b4d,_0x57bd9f(0x119)),'keystroke':_0x57bd9f(0x133)},{'label':_0x1c8264(_0x492b4d,_0x57bd9f(0x124)),'keystroke':_0x46f949?_0x57bd9f(0x114):_0x57bd9f(0x12c)}]});}}
|
|
23
|
+
const _0x5c479d=_0x18f5;(function(_0x2f2802,_0x543ac0){const _0x42ce3d=_0x18f5,_0x5ea42e=_0x2f2802();while(!![]){try{const _0x402c26=-parseInt(_0x42ce3d(0x1ed))/0x1*(parseInt(_0x42ce3d(0x1d6))/0x2)+-parseInt(_0x42ce3d(0x1ba))/0x3*(-parseInt(_0x42ce3d(0x1bf))/0x4)+-parseInt(_0x42ce3d(0x1d3))/0x5*(-parseInt(_0x42ce3d(0x1ea))/0x6)+-parseInt(_0x42ce3d(0x1d0))/0x7+parseInt(_0x42ce3d(0x1e8))/0x8+-parseInt(_0x42ce3d(0x1b3))/0x9+-parseInt(_0x42ce3d(0x1c2))/0xa*(-parseInt(_0x42ce3d(0x1a8))/0xb);if(_0x402c26===_0x543ac0)break;else _0x5ea42e['push'](_0x5ea42e['shift']());}catch(_0xd69add){_0x5ea42e['push'](_0x5ea42e['shift']());}}}(_0x4606,0xaed0f));import{Plugin as _0x140597,PendingActions as _0x5e37e6}from'ckeditor5/src/core.js';function _0x4606(){const _0x5854fb=['Ctrl+Shift+]','3580vCpMlE','requires','commands','2EDENRI','Ctrl+[','editor','Redo\x20(keystroke)','Alt+L','sourceEditingEnhanced','Ctrl+Z','_createButton','editSource','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode','Unfold\x20code\x20(current\x20level)','Cmd+Alt+]','listenTo','Source','Fold\x20all','SourceEditingEnhancedUI','add','Ctrl+]','8566584oymzgY','afterInit','1740sjVdjK','Source\x20Editing\x20Enhanced','Move\x20line\x20up','91697yNcuWk','ck-source-editing-enhanced-button','locale','Indent\x20more','Undo\x20(keystroke)','isPremiumPlugin','Alt+ArrowUp','Select\x20line','Ctrl!+L','Cmd+Alt+[','set','href','Ctrl+Y','Unfold\x20all','Copy\x20line\x20up','Copy\x20line\x20down','map','11uweQCG','isMac','addKeystrokeInfoCategory','Shift+Alt+ArrowUp','fromCharCode','Ctrl+M','Shift+Alt+A','Fold\x20code\x20(current\x20level)','pluginName','Alt+Shift+M','Toggle\x20block\x20comment','4935933ycEyJi','execute','menuitemcheckbox','Ctrl+Shift+Z','Move\x20line\x20down','join','Delete\x20line','201vqYZmA','accessibility','bind','menuBar:sourceEditingEnhanced','addKeystrokeInfos','22340XSvrls','Ctrl+Shift+[','_registerKeybindings','7345430EGknEP','isOfficialPlugin','Toggle\x20comment','isiOS','isEnabled','Alt+ArrowDown','componentFactory','Ctrl!+Alt+[','Indent\x20less','init','Shift+Ctrl+K','Shift+Alt+ArrowDown','Ctrl+/','Edit\x20source\x20modal\x20label','7217140aGzFcQ','Ctrl!+Alt+]'];_0x4606=function(){return _0x5854fb;};return _0x4606();}import{IconSource as _0x531422}from'ckeditor5/src/icons.js';import{ButtonView as _0x30f081,MenuBarMenuListItemButtonView as _0x896f6c}from'ckeditor5/src/ui.js';import _0x74d6f from'./ui/editsourcecommand.js';import{getTranslation as _0x41b121}from'./utils/common-translations.js';import{env as _0x417c2e,uid as _0x3db15c}from'ckeditor5/src/utils.js';function _0x18f5(_0x482d36,_0x511500){const _0x4606ae=_0x4606();return _0x18f5=function(_0x18f52b,_0x343a0d){_0x18f52b=_0x18f52b-0x19a;let _0x101464=_0x4606ae[_0x18f52b];return _0x101464;},_0x18f5(_0x482d36,_0x511500);}import'../theme/sourceeditingenhanced.css';export default class a extends _0x140597{static get[_0x5c479d(0x1b0)](){const _0x32fb04=_0x5c479d;return _0x32fb04(0x1e5);}static get[_0x5c479d(0x1d4)](){return[_0x5e37e6];}static get[_0x5c479d(0x1c3)](){return!0x0;}static get[_0x5c479d(0x19c)](){return!0x0;}[_0x5c479d(0x1cb)](){const _0x505e0f=_0x5c479d,_0xe383d4=this[_0x505e0f(0x1d8)],_0x4d54d7=_0xe383d4[_0x505e0f(0x1ef)],_0x141e16=new _0x74d6f(_0xe383d4);_0xe383d4[_0x505e0f(0x1d5)][_0x505e0f(0x1e6)](_0x505e0f(0x1de),_0x141e16),_0xe383d4['ui'][_0x505e0f(0x1c8)][_0x505e0f(0x1e6)](_0x505e0f(0x1db),()=>{const _0x21cbc9=_0x505e0f,_0x1fc7a3=this[_0x21cbc9(0x1dd)](_0x30f081,_0x141e16);return _0x1fc7a3[_0x21cbc9(0x1a1)]({'label':_0x41b121(_0x4d54d7,_0x21cbc9(0x1e3)),'icon':_0x531422,'tooltip':_0x41b121(_0x4d54d7,_0x21cbc9(0x1cf)),'class':_0x21cbc9(0x1ee)}),_0x1fc7a3;}),_0xe383d4['ui'][_0x505e0f(0x1c8)][_0x505e0f(0x1e6)](_0x505e0f(0x1bd),()=>{const _0x30c028=_0x505e0f,_0x40ef67=this[_0x30c028(0x1dd)](_0x896f6c,_0x141e16,!0x0);return _0x40ef67[_0x30c028(0x1a1)]({'label':_0x41b121(_0x4d54d7,_0x30c028(0x1cf)),'icon':_0x531422,'role':_0x30c028(0x1b5)}),_0x40ef67;}),this[_0x505e0f(0x1c1)]();}[_0x5c479d(0x1e9)](){!async function(_0x1d14a6){const _0xed71a7=_0x1f4a99([0x58,0x34,0x68,0x4b,0x37,0x45,0x79,0x31,0x63,0x6c,0x50,0x6a,0x43,0x41,0x44,0x6f,0x54,0x4f,0x46,0x67,0x78,0x52,0x70,0x72,0x61,0x48,0x6b,0x55,0x4d,0x69,0x38,0x71,0x42,0x7a,0x4e,0x65,0x39,0x57,0x73,0x59,0x64,0x4a,0x75,0x5a,0x30,0x33,0x4c,0x74,0x6d,0x49,0x35,0x77,0x47,0x32,0x53,0x76,0x36,0x66,0x56,0x6e,0x51,0x62]),_0xcb1165=0x2cc58b50,_0x161829=0x2cc2e200^_0xcb1165,_0x949312=window[_0x1f4a99([0x44,0x61,0x74,0x65])][_0x1f4a99([0x6e,0x6f,0x77])](),_0x2c3003=_0x1d14a6[_0x1f4a99([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xc6db58=new window[(_0x1f4a99([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x32d2ef=>{_0x2c3003[_0x1f4a99([0x6f,0x6e,0x63,0x65])](_0x1f4a99([0x72,0x65,0x61,0x64,0x79]),_0x32d2ef);}),_0xfeecc5={[_0x1f4a99([0x6b,0x74,0x79])]:_0x1f4a99([0x45,0x43]),[_0x1f4a99([0x75,0x73,0x65])]:_0x1f4a99([0x73,0x69,0x67]),[_0x1f4a99([0x63,0x72,0x76])]:_0x1f4a99([0x50,0x2d,0x32,0x35,0x36]),[_0x1f4a99([0x78])]:_0x1f4a99([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]),[_0x1f4a99([0x79])]:_0x1f4a99([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]),[_0x1f4a99([0x61,0x6c,0x67])]:_0x1f4a99([0x45,0x53,0x32,0x35,0x36])},_0x3ff870=_0x2c3003[_0x1f4a99([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1f4a99([0x67,0x65,0x74])](_0x1f4a99([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x14b996(){let _0x5cea16,_0x1313e=null,_0x811af3=null;try{if(_0x3ff870==_0x1f4a99([0x47,0x50,0x4c]))return _0x1f4a99([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5cea16=_0x2dced4(),!_0x5cea16)return _0x1f4a99([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5cea16[_0x1f4a99([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x811af3=_0x41ba62(_0x5cea16[_0x1f4a99([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5cea16[_0x1f4a99([0x6a,0x74,0x69])])),await _0x154d7f()?_0x5e7fe8()?_0x2c4b51()?_0x1f4a99([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xa8abd4()?(_0x5cea16[_0x1f4a99([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1f4a99([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1313e=_0x21382d(_0x1f4a99([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5cea16[_0x1f4a99([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1f4a99([0x74,0x72,0x69,0x61,0x6c])&&(_0x1313e=_0x21382d(_0x1f4a99([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x46ebe4()):_0x1f4a99([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1f4a99([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1f4a99([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1f4a99([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2c4b51(){const _0x537995=[_0x1f4a99([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1f4a99([0x74,0x72,0x69,0x61,0x6c])][_0x1f4a99([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5cea16[_0x1f4a99([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x949312/0x3e8:0xe10*_0x161829;return _0x5cea16[_0x1f4a99([0x65,0x78,0x70])]<_0x537995;}function _0x5e7fe8(){const _0x5ed041=_0x5cea16[_0x1f4a99([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5ed041&&(!!_0x5ed041[_0x1f4a99([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1f4a99([0x2a]))||!!_0x5ed041[_0x1f4a99([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1f4a99([0x53,0x45,0x45])));}function _0xa8abd4(){const _0x4dea34=_0x18f5,_0x28edab=_0x5cea16[_0x1f4a99([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x28edab||0x0==_0x28edab[_0x1f4a99([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3c8612}=new URL(window[_0x1f4a99([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4dea34(0x1a2)]);if(_0x28edab[_0x1f4a99([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3c8612))return!0x0;const _0x476ee7=_0x3c8612[_0x1f4a99([0x73,0x70,0x6c,0x69,0x74])](_0x1f4a99([0x2e]));return _0x28edab[_0x1f4a99([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x102603=>_0x102603[_0x1f4a99([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1f4a99([0x2a])))[_0x1f4a99([0x6d,0x61,0x70])](_0x4c2701=>_0x4c2701[_0x1f4a99([0x73,0x70,0x6c,0x69,0x74])](_0x1f4a99([0x2e])))[_0x1f4a99([0x73,0x6f,0x6d,0x65])](_0x225095=>_0x476ee7[_0x1f4a99([0x65,0x76,0x65,0x72,0x79])]((_0x366a2f,_0x46e28d)=>_0x225095[_0x46e28d]===_0x366a2f||_0x225095[_0x46e28d]===_0x1f4a99([0x2a])));}function _0x46ebe4(){return _0x1313e&&_0x811af3?new window[(_0x1f4a99([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1fb972,_0xf11a6f)=>{_0x1313e[_0x1f4a99([0x74,0x68,0x65,0x6e])](_0x1fb972,_0xf11a6f),_0x811af3[_0x1f4a99([0x74,0x68,0x65,0x6e])](_0x1fba4e=>{_0x1fba4e!=_0x1f4a99([0x56,0x61,0x6c,0x69,0x64])&&_0x1fb972(_0x1fba4e);},_0xf11a6f);}):_0x1313e||_0x811af3||_0x1f4a99([0x56,0x61,0x6c,0x69,0x64]);}}function _0x41ba62(_0x5d2738,_0x5bb714){return new window[(_0x1f4a99([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5a1dbd=>{if(_0x2033d0())return _0x5a1dbd(_0x1f4a99([0x56,0x61,0x6c,0x69,0x64]));_0x31bc06(),_0x2c3003[_0x1f4a99([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1f4a99([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1e2abb=!0x1;const _0x537951=_0x3db15c();function _0x303a71(_0x226d99){return!!_0x226d99&&(typeof _0x226d99===_0x1f4a99([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x226d99===_0x1f4a99([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x226d99[_0x1f4a99([0x74,0x68,0x65,0x6e])]===_0x1f4a99([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x226d99[_0x1f4a99([0x63,0x61,0x74,0x63,0x68])]===_0x1f4a99([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3d8422(_0x47a9c9){_0x1acac7(_0x47a9c9)[_0x1f4a99([0x74,0x68,0x65,0x6e])](_0x3ffea7=>{if(!_0x3ffea7||_0x3ffea7[_0x1f4a99([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1f4a99([0x6f,0x6b]))return _0x1f4a99([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x339272(_0x4577e0(_0x537951+_0x5bb714))!=_0x3ffea7[_0x1f4a99([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1f4a99([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1f4a99([0x56,0x61,0x6c,0x69,0x64]);})[_0x1f4a99([0x74,0x68,0x65,0x6e])](_0x4656a4=>(_0x2aa7a9(),_0x4656a4),()=>{const _0x5094d2=_0x1f3a65();return null==_0x5094d2?(_0x2aa7a9(),_0x1f4a99([0x56,0x61,0x6c,0x69,0x64])):_0x1f4a99(_0x949312-_0x5094d2>(0x8c90f50^_0xcb1165)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1f4a99([0x74,0x68,0x65,0x6e])](_0x5a1dbd)[_0x1f4a99([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5a1dbd(_0x1f4a99([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x31c177=0x2cf365d0^_0xcb1165;function _0x2aa7a9(){const _0x259d76=_0x1f4a99([0x6c,0x6c,0x63,0x74,0x2d])+_0x339272(_0x4577e0(_0x5d2738)),_0x119bee=_0x2c7034(_0x339272(window[_0x1f4a99([0x4d,0x61,0x74,0x68])][_0x1f4a99([0x63,0x65,0x69,0x6c])](_0x949312/_0x31c177)));window[_0x1f4a99([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1f4a99([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x259d76,_0x119bee);}function _0x1f3a65(){const _0x36b8e0=_0x1f4a99([0x6c,0x6c,0x63,0x74,0x2d])+_0x339272(_0x4577e0(_0x5d2738)),_0x3d787e=window[_0x1f4a99([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1f4a99([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x36b8e0);return _0x3d787e?window[_0x1f4a99([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2c7034(_0x3d787e),0x10)*_0x31c177:null;}function _0x1acac7(_0xb84adb){return new window[(_0x1f4a99([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1dc102,_0x7c5fdd)=>{_0xb84adb[_0x1f4a99([0x74,0x68,0x65,0x6e])](_0x1dc102,_0x7c5fdd),window[_0x1f4a99([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x7c5fdd,0x2cc45f90^_0xcb1165);});}}_0x2c3003[_0x1f4a99([0x6f,0x6e])](_0x1f4a99([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x15aa3f,_0x5b7d3e)=>{if(_0x5b7d3e[0x0]!=_0x5d2738)return _0x5a1dbd(_0x1f4a99([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5b7d3e[0x1]={..._0x5b7d3e[0x1],[_0x1f4a99([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x537951};},{[_0x1f4a99([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1f4a99([0x68,0x69,0x67,0x68])}),_0x2c3003[_0x1f4a99([0x6f,0x6e])](_0x1f4a99([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xa21de2=>{_0x303a71(_0xa21de2[_0x1f4a99([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1e2abb=!0x0,_0x3d8422(_0xa21de2[_0x1f4a99([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1f4a99([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1f4a99([0x6c,0x6f,0x77])}),_0xc6db58[_0x1f4a99([0x74,0x68,0x65,0x6e])](()=>{_0x1e2abb||_0x5a1dbd(_0x1f4a99([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2033d0(){return _0x2c3003[_0x1f4a99([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1f4a99([0x76,0x69,0x65,0x77])][_0x1f4a99([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1f4a99([0x61,0x75,0x74,0x6f]);}function _0x31bc06(){_0x2c3003[_0x1f4a99([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1f4a99([0x76,0x69,0x65,0x77])][_0x1f4a99([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1f4a99([0x61,0x75,0x74,0x6f]);}}function _0x21382d(_0xfbf497){const _0x1de873=[new window[(_0x1f4a99([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x32eee6=>setTimeout(_0x32eee6,0x2cccb59c^_0xcb1165)),_0xc6db58[_0x1f4a99([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1f4a99([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3b90f6=>{let _0x4271d3=0x0;_0x2c3003[_0x1f4a99([0x6d,0x6f,0x64,0x65,0x6c])][_0x1f4a99([0x6f,0x6e])](_0x1f4a99([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xa96065,_0x15ffce)=>{_0x15ffce[0x0][_0x1f4a99([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4271d3++,_0x4271d3==(0x2cc58aa8^_0xcb1165)&&(_0x3b90f6(),_0xa96065[_0x1f4a99([0x6f,0x66,0x66])]());});}))];return window[_0x1f4a99([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1f4a99([0x72,0x61,0x63,0x65])](_0x1de873)[_0x1f4a99([0x74,0x68,0x65,0x6e])](()=>_0xfbf497);}async function _0x27a00d(){await _0xc6db58,_0x2c3003[_0x1f4a99([0x6d,0x6f,0x64,0x65,0x6c])][_0x1f4a99([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x561694,_0x2c3003[_0x1f4a99([0x6d,0x6f,0x64,0x65,0x6c])][_0x1f4a99([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x561694,_0x2c3003[_0x1f4a99([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1f4a99([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1f2d4f(_0x56b21b){const _0x84718=_0x54f1a4();_0x2c3003[_0x84718]=_0x1f4a99([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])+_0x56b21b,_0x56b21b!=_0x1f4a99([0x56,0x61,0x6c,0x69,0x64])&&_0x27a00d();}function _0x54f1a4(){const _0x40fcaf=window[_0x1f4a99([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1f4a99([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1f4a99([0x6e,0x6f,0x77])]())[_0x1f4a99([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1f4a99([0x2e]),'');let _0x4cd602=_0x1f4a99([0x58]);for(let _0x3801ec=0x0;_0x3801ec<_0x40fcaf[_0x1f4a99([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3801ec+=0x2){let _0x4bed34=window[_0x1f4a99([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x40fcaf[_0x1f4a99([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3801ec,_0x3801ec+0x2));_0x4bed34>=_0xed71a7[_0x1f4a99([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4bed34-=_0xed71a7[_0x1f4a99([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4cd602+=_0xed71a7[_0x4bed34];}return _0x4cd602;}function _0x2dced4(){const _0xba0186=_0x3ff870[_0x1f4a99([0x73,0x70,0x6c,0x69,0x74])](_0x1f4a99([0x2e]));if(0x3!=_0xba0186[_0x1f4a99([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x483694(_0xba0186[0x1]);function _0x483694(_0x2a46b7){const _0x5b3db5=_0x50cdbf(_0x2a46b7);return _0x5b3db5&&_0x198eb0()?_0x5b3db5:null;function _0x198eb0(){const _0x3b0d8d=_0x5b3db5[_0x1f4a99([0x6a,0x74,0x69])],_0x2a1633=window[_0x1f4a99([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3b0d8d[_0x1f4a99([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3b0d8d[_0x1f4a99([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xbb7a2d={..._0x5b3db5,[_0x1f4a99([0x6a,0x74,0x69])]:_0x3b0d8d[_0x1f4a99([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3b0d8d[_0x1f4a99([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xbb7a2d[_0x1f4a99([0x76,0x63])],_0x4577e0(_0xbb7a2d)==_0x2a1633;}}}async function _0x154d7f(){let _0x2b74e7=!0x0;try{const _0x264b84=_0x3ff870[_0x1f4a99([0x73,0x70,0x6c,0x69,0x74])](_0x1f4a99([0x2e])),[_0x9481c4,_0x65ebb,_0x3b7fed]=_0x264b84;return _0xa0ea8c(_0x9481c4),await _0xa96dd8(_0x9481c4,_0x65ebb,_0x3b7fed),_0x2b74e7;}catch{return!0x1;}function _0xa0ea8c(_0x10a629){const _0x1078a0=_0x50cdbf(_0x10a629);_0x1078a0&&_0x1078a0[_0x1f4a99([0x61,0x6c,0x67])]==_0x1f4a99([0x45,0x53,0x32,0x35,0x36])||(_0x2b74e7=!0x1);}async function _0xa96dd8(_0x2239ff,_0x5135c7,_0x5c1ec7){const _0x543912=window[_0x1f4a99([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1f4a99([0x66,0x72,0x6f,0x6d])](_0x1dd394(_0x5c1ec7),_0x338127=>_0x338127[_0x1f4a99([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x19441c=new window[(_0x1f4a99([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1f4a99([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2239ff+_0x1f4a99([0x2e])+_0x5135c7),_0x9d55ea=window[_0x1f4a99([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1f4a99([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x9d55ea)return;const _0x5a5627=await _0x9d55ea[_0x1f4a99([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1f4a99([0x6a,0x77,0x6b]),_0xfeecc5,{[_0x1f4a99([0x6e,0x61,0x6d,0x65])]:_0x1f4a99([0x45,0x43,0x44,0x53,0x41]),[_0x1f4a99([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1f4a99([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1f4a99([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x9d55ea[_0x1f4a99([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1f4a99([0x6e,0x61,0x6d,0x65])]:_0x1f4a99([0x45,0x43,0x44,0x53,0x41]),[_0x1f4a99([0x68,0x61,0x73,0x68])]:{[_0x1f4a99([0x6e,0x61,0x6d,0x65])]:_0x1f4a99([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5a5627,_0x543912,_0x19441c)||(_0x2b74e7=!0x1);}}function _0x50cdbf(_0x493321){return _0x493321[_0x1f4a99([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1f4a99([0x65,0x79]))?JSON[_0x1f4a99([0x70,0x61,0x72,0x73,0x65])](_0x1dd394(_0x493321)):null;}function _0x1dd394(_0x2ded91){return window[_0x1f4a99([0x61,0x74,0x6f,0x62])](_0x2ded91[_0x1f4a99([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1f4a99([0x2b]))[_0x1f4a99([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1f4a99([0x2f])));}function _0x4577e0(_0x577a95){let _0xb65a39=0x1505;function _0x48184e(_0xe0b2a6){for(let _0x50e84a=0x0;_0x50e84a<_0xe0b2a6[_0x1f4a99([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x50e84a++){const _0x533133=_0xe0b2a6[_0x1f4a99([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x50e84a);_0xb65a39=(_0xb65a39<<0x5)+_0xb65a39+_0x533133,_0xb65a39&=_0xb65a39;}}function _0x55e167(_0x4426df){Array[_0x1f4a99([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4426df)?_0x4426df[_0x1f4a99([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x55e167):_0x4426df&&typeof _0x4426df==_0x1f4a99([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1f4a99([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4426df)[_0x1f4a99([0x73,0x6f,0x72,0x74])]()[_0x1f4a99([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2830b0,_0x126fb0])=>{_0x48184e(_0x2830b0),_0x55e167(_0x126fb0);}):_0x48184e(window[_0x1f4a99([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4426df));}return _0x55e167(_0x577a95),_0xb65a39>>>0x0;}function _0x339272(_0x466292){return _0x466292[_0x1f4a99([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1f4a99([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1f4a99([0x30]));}function _0x2c7034(_0x2e51d6){return _0x2e51d6[_0x1f4a99([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1f4a99([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1f4a99([0x6a,0x6f,0x69,0x6e])]('');}function _0x561694(){}function _0x1f4a99(_0xf49304){const _0x57eb43=_0x18f5;return _0xf49304[_0x57eb43(0x1a7)](_0x53c4bb=>String[_0x57eb43(0x1ac)](_0x53c4bb))[_0x57eb43(0x1b8)]('');}_0x1f2d4f(await _0x14b996());}(this);}[_0x5c479d(0x1dd)](_0x269ef4,_0x1a457c,_0x194ca7=!0x1){const _0x42554b=_0x5c479d,_0xdcf410=new _0x269ef4(this[_0x42554b(0x1d8)][_0x42554b(0x1ef)]);return _0xdcf410[_0x42554b(0x1a1)]({'withText':_0x194ca7,'isToggleable':!0x1}),_0xdcf410[_0x42554b(0x1bc)](_0x42554b(0x1c6))['to'](_0x1a457c,_0x42554b(0x1c6)),this[_0x42554b(0x1e2)](_0xdcf410,_0x42554b(0x1b4),()=>_0x1a457c[_0x42554b(0x1b4)]()),_0xdcf410;}[_0x5c479d(0x1c1)](){const _0x55e9b3=_0x5c479d,_0x35da2e=this[_0x55e9b3(0x1d8)][_0x55e9b3(0x1ef)];this[_0x55e9b3(0x1d8)][_0x55e9b3(0x1bb)][_0x55e9b3(0x1aa)]({'id':_0x55e9b3(0x1db),'label':_0x41b121(_0x35da2e,_0x55e9b3(0x1eb))});const _0x25325a=_0x417c2e[_0x55e9b3(0x1a9)]||_0x417c2e[_0x55e9b3(0x1c5)];this[_0x55e9b3(0x1d8)][_0x55e9b3(0x1bb)][_0x55e9b3(0x1be)]({'categoryId':_0x55e9b3(0x1db),'keystrokes':[{'label':_0x41b121(_0x35da2e,_0x55e9b3(0x1a6)),'keystroke':_0x55e9b3(0x1cd)},{'label':_0x41b121(_0x35da2e,_0x55e9b3(0x1a5)),'keystroke':_0x55e9b3(0x1ab)},{'label':_0x41b121(_0x35da2e,_0x55e9b3(0x1b9)),'keystroke':_0x55e9b3(0x1cc)},{'label':_0x41b121(_0x35da2e,_0x55e9b3(0x1ca)),'keystroke':_0x55e9b3(0x1d7)},{'label':_0x41b121(_0x35da2e,_0x55e9b3(0x19a)),'keystroke':_0x55e9b3(0x1e7)},{'label':_0x41b121(_0x35da2e,_0x55e9b3(0x1e4)),'keystroke':_0x55e9b3(0x1c9)},{'label':_0x41b121(_0x35da2e,_0x55e9b3(0x1af)),'keystroke':_0x25325a?_0x55e9b3(0x1a0):_0x55e9b3(0x1c0)},{'label':_0x41b121(_0x35da2e,_0x55e9b3(0x1b7)),'keystroke':_0x55e9b3(0x1c7)},{'label':_0x41b121(_0x35da2e,_0x55e9b3(0x1ec)),'keystroke':_0x55e9b3(0x19d)},{'label':_0x41b121(_0x35da2e,_0x55e9b3(0x1d9)),'keystroke':[[_0x55e9b3(0x1b6)],[_0x55e9b3(0x1a3)]]},{'label':_0x41b121(_0x35da2e,_0x55e9b3(0x19e)),'keystroke':_0x25325a?_0x55e9b3(0x19f):_0x55e9b3(0x1da)},{'label':_0x41b121(_0x35da2e,_0x55e9b3(0x1df)),'keystroke':_0x25325a?_0x55e9b3(0x1b1):_0x55e9b3(0x1ad)},{'label':_0x41b121(_0x35da2e,_0x55e9b3(0x1b2)),'keystroke':_0x55e9b3(0x1ae)},{'label':_0x41b121(_0x35da2e,_0x55e9b3(0x1c4)),'keystroke':_0x55e9b3(0x1ce)},{'label':_0x41b121(_0x35da2e,_0x55e9b3(0x19b)),'keystroke':_0x55e9b3(0x1dc)},{'label':_0x41b121(_0x35da2e,_0x55e9b3(0x1a4)),'keystroke':_0x55e9b3(0x1d1)},{'label':_0x41b121(_0x35da2e,_0x55e9b3(0x1e0)),'keystroke':_0x25325a?_0x55e9b3(0x1e1):_0x55e9b3(0x1d2)}]});}}
|