@ckeditor/ckeditor5-source-editing-enhanced 45.2.1-alpha.2 → 45.2.1-alpha.4
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 _0x581345,PendingActions as _0x3af745,Plugin as _0x45d592}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x39517b,formatHtml as tr,env as _0x256d5f,uid as _0x42808c}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconSource as _0x445bf2}from'@ckeditor/ckeditor5-icons/dist/index.js';import{View as _0x1833cf,ButtonView as _0x325905,MenuBarMenuListItemButtonView as _0x258b30}from'@ckeditor/ckeditor5-ui/dist/index.js';import{EditorView as _0x2cc942,crosshairCursor as _0x39cc37,drawSelection as _0x159c20,dropCursor as _0x32e2ef,lineNumbers as _0x49f97f,highlightActiveLine as _0xbb037c,highlightActiveLineGutter as _0x410200,highlightSpecialChars as _0x3c58f3,rectangularSelection as _0x225faa,keymap as _0x242856}from'@codemirror/view';import{Compartment as _0x3a01fe,Transaction as _0x3c33c3}from'@codemirror/state';import{bracketMatching as _0x21972a,foldGutter as _0x4c69c9,indentOnInput as _0xb498f4,syntaxHighlighting as _0x169204,defaultHighlightStyle as _0x1606ae,foldKeymap as _0x2b9771}from'@codemirror/language';import{toggleTabFocusMode as _0x5b7e98,history as _0x58b0e5,defaultKeymap as _0x159f50,historyKeymap as _0xc99cdf,indentLess as _0x161eca,indentMore as _0x1c001b,redo as _0x272d18,undo as _0x118171}from'@codemirror/commands';import{autocompletion as _0x2b41ff,closeBrackets as _0x55c8c8,closeBracketsKeymap as _0x5b07f5,completionKeymap as _0x5dd50c}from'@codemirror/autocomplete';import{html as _0x2cc99c}from'@codemirror/lang-html';import{markdown as _0x31ea5e}from'@codemirror/lang-markdown';import{oneDark as _0x996f56}from'@codemirror/theme-one-dark';function f(_0x4e81ba,_0x7b98c0){const t=_0x4e81ba['t'];switch(_0x7b98c0){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 _0x7b98c0;}}function s(_0x476acd){const _0x17c74c=_0x476acd['editing']['view']['document']['roots'],_0x22c4c0=_0x17c74c['length'];if(0x0===_0x22c4c0)throw new _0x39517b('source-editing-enhanced-editor-no-root',_0x476acd);if(0x1===_0x22c4c0)return _0x17c74c['first']['rootName'];return Array['from'](_0x476acd['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function E(_0x569d92){return or(_0x569d92['replace'](/^[\n\s]*/g,''))?_0x569d92['replace'](/\s+/g,''):_0x569d92;}function or(_0x2c04b0){return _0x2c04b0['startsWith']('<');}function p(_0xc983ed){const _0x4bcbfa=[_0x2cc942['lineWrapping'],_0x2b41ff(),_0x21972a(),_0x55c8c8(),_0x39cc37(),_0x159c20(),_0x32e2ef(),_0x49f97f(),_0x4c69c9(),_0xbb037c(),_0x410200(),_0x3c58f3(),_0x58b0e5(),_0xb498f4(),_0x225faa(),_0x169204(_0x1606ae,{'fallback':!0x0})],_0x442d84=new _0x3a01fe();_0x4bcbfa['push'](_0x442d84['of'](_0x2cc942['editable']['of'](!0x0))),'html'===_0xc983ed['syntaxLanguage']?_0x4bcbfa['push'](_0x2cc99c()):_0x4bcbfa['push'](_0x31ea5e());const _0x59cccc=function(_0x522c36){if(_0x522c36&&'default'!==_0x522c36)return'dark'===_0x522c36?_0x996f56:_0x522c36;return null;}(_0xc983ed['theme']);_0x59cccc&&_0x4bcbfa['push'](_0x59cccc),_0x4bcbfa['push'](_0x242856['of']([..._0x5b07f5,..._0x159f50,..._0xc99cdf,..._0x2b9771,..._0x5dd50c,{'key':'Tab','run':_0x1c001b,'shift':_0x161eca,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-y','mac':'Cmd-y','run':_0x272d18,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-Shift-z','mac':'Cmd-Shift-z','run':_0x272d18,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-z','mac':'Cmd-z','run':_0x118171,'preventDefault':!0x0,'stopPropagation':!0x0}]));const _0x1647b1=new _0x2cc942({'extensions':_0x4bcbfa,'parent':_0xc983ed['parent']});return _0x5b7e98(_0x1647b1),{'focus':()=>{_0x1647b1['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x1647b1['focus']();},'getData':()=>_0x1647b1['state']['doc']['toString'](),'setData':_0x4be55d=>{_0x1647b1['dispatch']({'changes':{'from':0x0,'to':_0x1647b1['state']['doc']['length'],'insert':_0x4be55d},'annotations':_0x3c33c3['addToHistory']['of'](!0x1)});},'setReadOnly':_0x3b7dc9=>{_0x1647b1['dispatch']({'effects':[_0x442d84['reconfigure'](_0x2cc942['editable']['of'](!_0x3b7dc9))]});},'destroy':()=>{_0x1647b1['destroy']();},'instance':_0x1647b1};}class m extends _0x1833cf{['_codeEditorApi']=null;['_options'];constructor(_0x514908,_0x3cfd67){super(_0x514908),this['_options']=_0x3cfd67,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',(_0x2696d5,_0x18d526,_0x1ec314)=>{this['setReadOnly'](_0x1ec314);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0x4fd168){this['_codeEditorApi']['setData'](_0x4fd168);}['setReadOnly'](_0x1c40d4){this['_codeEditorApi']['setReadOnly'](_0x1c40d4);}}const b='SourceEditingEnhancedMode';class d extends _0x581345{constructor(_0x1f7851){super(_0x1f7851),this['affectsData']=!0x1,this['editor']['plugins']['get'](_0x3af745)['on']('change:hasAny',(_0x3f54c3,_0x5a2c31,_0x2ee3c6)=>{_0x2ee3c6?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['_disableCommands'](){const _0x1b9466=this['editor'];for(const _0x2dbd39 of _0x1b9466['commands']['names']())['replaceSource','editSource']['includes'](_0x2dbd39)||_0x1b9466['commands']['get'](_0x2dbd39)['forceDisabled'](b);}['_enableCommands'](){const _0x66b755=this['editor'];for(const _0x3b45f4 of _0x66b755['commands']['commands']())_0x3b45f4['clearForceDisabled'](b);}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x387eb3=this['editor'],_0x173f94=_0x387eb3['locale'],_0x2ad3be=_0x387eb3['plugins']['get']('Dialog'),_0x8413c8=s(_0x387eb3),_0x400724=_0x387eb3['data']['get']({'rootName':_0x8413c8}),_0x53261a=or(_0x3f3fda=_0x400724)?tr(_0x3f3fda):_0x3f3fda;var _0x3f3fda;const _0x3c7741=new m(_0x173f94,{'syntaxLanguage':_0x387eb3['plugins']['has']('Markdown')?'markdown':'html','theme':_0x387eb3['config']['get']('sourceEditingEnhanced.theme')});let _0x326258=!0x0;const _0x2d9ce8=_0x3a2441=>{if(!_0x326258)return;return E(_0x3c7741['getData']())!==E(_0x53261a)?window['confirm'](f(_0x173f94,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0x3a2441['stop']():void 0x0;};_0x2ad3be['show']({'id':'sourceEditingEnhanced','title':f(_0x173f94,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0x3c7741,'actionButtons':[{'label':f(_0x173f94,'Cancel'),'withText':!0x0,'onExecute':()=>{_0x2ad3be['hide']();}},{'label':f(_0x173f94,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0x2fcb6e=E(_0x3c7741['getData']())!==E(_0x53261a);(_0x2fcb6e&&_0x387eb3['execute']('replaceSource',_0x3c7741['getData']()),_0x326258=!0x1,_0x2ad3be['hide'](),_0x2fcb6e&&'editables'in _0x387eb3['ui']['view'])&&_0x387eb3['ui']['view']['editables'][_0x8413c8]['element']['focus']();},'onCreate':_0x5b8e59=>{_0x5b8e59['set']('isEnabled',!_0x387eb3['isReadOnly']),_0x5b8e59['bind']('isEnabled')['to'](_0x387eb3,'isReadOnly',this,'isEnabled',(_0x34f2e5,_0x57cedd)=>!_0x34f2e5&&_0x57cedd);}}],'onHide':()=>{this['_enableCommands'](),_0x2ad3be['off']('hide',_0x2d9ce8),_0x3c7741['destroy']();},'onShow':()=>{_0x3c7741['bind']('isReadOnly')['to'](_0x387eb3,'isReadOnly',this,'isEnabled',(_0x3a7c26,_0x21dbc3)=>_0x3a7c26||!_0x21dbc3),_0x3c7741['setData'](_0x53261a),_0x3c7741['focus'](),_0x2ad3be['on']('hide',_0x2d9ce8,{'priority':'highest'}),this['_disableCommands']();}});}}class a extends _0x45d592{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[_0x3af745];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0xd4c2bf=this['editor'],_0x6e2e3=_0xd4c2bf['locale'],_0x294af1=new d(_0xd4c2bf);_0xd4c2bf['commands']['add']('editSource',_0x294af1),_0xd4c2bf['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0x339728=this['_createButton'](_0x325905,_0x294af1);return _0x339728['set']({'label':f(_0x6e2e3,'Source'),'icon':_0x445bf2,'tooltip':f(_0x6e2e3,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0x339728;}),_0xd4c2bf['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0x127296=this['_createButton'](_0x258b30,_0x294af1,!0x0);return _0x127296['set']({'label':f(_0x6e2e3,'Edit\x20source\x20modal\x20label'),'icon':_0x445bf2,'role':'menuitemcheckbox'}),_0x127296;}),this['_registerKeybindings']();}['afterInit'](){!async function(_0x48b865){const _0x1f074b=_0xdea0c7([0x4f,0x34,0x43,0x79,0x66,0x54,0x31,0x5a,0x6b,0x4d,0x78,0x39,0x6c,0x7a,0x4a,0x64,0x50,0x37,0x65,0x75,0x69,0x41,0x57,0x4b,0x59,0x38,0x73,0x45,0x67,0x72,0x47,0x6f,0x35,0x4c,0x48,0x6e,0x63,0x70,0x55,0x56,0x74,0x46,0x58,0x32,0x77,0x76,0x6d,0x52,0x4e,0x61,0x6a,0x51,0x71,0x42,0x68,0x49,0x44,0x62,0x33,0x30,0x53,0x36]),_0x51018d=0x52bd7b17,_0x1ca1dc=0x52ba11c7^_0x51018d,_0xf61875=window[_0xdea0c7([0x44,0x61,0x74,0x65])][_0xdea0c7([0x6e,0x6f,0x77])](),_0xf6b8e5=_0x48b865[_0xdea0c7([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x34149a=new window[(_0xdea0c7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x594ce9=>{_0xf6b8e5[_0xdea0c7([0x6f,0x6e,0x63,0x65])](_0xdea0c7([0x72,0x65,0x61,0x64,0x79]),_0x594ce9);}),_0x1cb09f={[_0xdea0c7([0x6b,0x74,0x79])]:_0xdea0c7([0x45,0x43]),[_0xdea0c7([0x75,0x73,0x65])]:_0xdea0c7([0x73,0x69,0x67]),[_0xdea0c7([0x63,0x72,0x76])]:_0xdea0c7([0x50,0x2d,0x32,0x35,0x36]),[_0xdea0c7([0x78])]:_0xdea0c7([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]),[_0xdea0c7([0x79])]:_0xdea0c7([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]),[_0xdea0c7([0x61,0x6c,0x67])]:_0xdea0c7([0x45,0x53,0x32,0x35,0x36])},_0x5708a1=_0xf6b8e5[_0xdea0c7([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xdea0c7([0x67,0x65,0x74])](_0xdea0c7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5962ac(){let _0x520a6a,_0x5df773=null,_0x5a49a8=null;try{if(_0x5708a1==_0xdea0c7([0x47,0x50,0x4c]))return _0xdea0c7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x520a6a=_0x2817aa(),!_0x520a6a)return _0xdea0c7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x520a6a[_0xdea0c7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5a49a8=_0x206471(_0x520a6a[_0xdea0c7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x520a6a[_0xdea0c7([0x6a,0x74,0x69])])),await _0x33e067()?_0x5020dd()?_0x3ddc88()?_0xdea0c7([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x201cea()?(_0x520a6a[_0xdea0c7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xdea0c7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5df773=_0x55fc7f(_0xdea0c7([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x520a6a[_0xdea0c7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xdea0c7([0x74,0x72,0x69,0x61,0x6c])&&(_0x5df773=_0x55fc7f(_0xdea0c7([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x555b3f()):_0xdea0c7([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xdea0c7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xdea0c7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xdea0c7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3ddc88(){const _0x3dc96d=[_0xdea0c7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xdea0c7([0x74,0x72,0x69,0x61,0x6c])][_0xdea0c7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x520a6a[_0xdea0c7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xf61875/0x3e8:0xe10*_0x1ca1dc;return _0x520a6a[_0xdea0c7([0x65,0x78,0x70])]<_0x3dc96d;}function _0x5020dd(){const _0x1afc82=_0x520a6a[_0xdea0c7([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1afc82&&(!!_0x1afc82[_0xdea0c7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xdea0c7([0x2a]))||!!_0x1afc82[_0xdea0c7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xdea0c7([0x53,0x45,0x45])));}function _0x201cea(){const _0x419cc8=_0x520a6a[_0xdea0c7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x419cc8||0x0==_0x419cc8[_0xdea0c7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5be6ef}=new URL(window[_0xdea0c7([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x419cc8[_0xdea0c7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5be6ef))return!0x0;const _0x76e28d=_0x5be6ef[_0xdea0c7([0x73,0x70,0x6c,0x69,0x74])](_0xdea0c7([0x2e]));return _0x419cc8[_0xdea0c7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x24940c=>_0x24940c[_0xdea0c7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xdea0c7([0x2a])))[_0xdea0c7([0x6d,0x61,0x70])](_0x57a44c=>_0x57a44c[_0xdea0c7([0x73,0x70,0x6c,0x69,0x74])](_0xdea0c7([0x2e])))[_0xdea0c7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2dd9c4=>_0x2dd9c4[_0xdea0c7([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x76e28d[_0xdea0c7([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xdea0c7([0x6d,0x61,0x70])](_0x2721e3=>Array(_0x76e28d[_0xdea0c7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2721e3[_0xdea0c7([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xdea0c7([0x66,0x69,0x6c,0x6c])](_0x2721e3[0x0]===_0xdea0c7([0x2a])?_0xdea0c7([0x2a]):'')[_0xdea0c7([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2721e3))[_0xdea0c7([0x73,0x6f,0x6d,0x65])](_0x44c758=>_0x76e28d[_0xdea0c7([0x65,0x76,0x65,0x72,0x79])]((_0x5a4948,_0x140dc5)=>_0x44c758[_0x140dc5]===_0x5a4948||_0x44c758[_0x140dc5]===_0xdea0c7([0x2a])));}function _0x555b3f(){return _0x5df773&&_0x5a49a8?new window[(_0xdea0c7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x319389,_0x53f4f7)=>{_0x5df773[_0xdea0c7([0x74,0x68,0x65,0x6e])](_0x319389,_0x53f4f7),_0x5a49a8[_0xdea0c7([0x74,0x68,0x65,0x6e])](_0x39b5de=>{_0x39b5de!=_0xdea0c7([0x56,0x61,0x6c,0x69,0x64])&&_0x319389(_0x39b5de);},_0x53f4f7);}):_0x5df773||_0x5a49a8||_0xdea0c7([0x56,0x61,0x6c,0x69,0x64]);}}function _0x206471(_0x3f1925,_0x50c2b7){return new window[(_0xdea0c7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x225058=>{if(_0x4eea17())return _0x225058(_0xdea0c7([0x56,0x61,0x6c,0x69,0x64]));_0x120771(),_0xf6b8e5[_0xdea0c7([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xdea0c7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x50e706=!0x1;const _0x3f5381=_0x42808c();function _0x32144d(_0x58a127){return!!_0x58a127&&(typeof _0x58a127===_0xdea0c7([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x58a127===_0xdea0c7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x58a127[_0xdea0c7([0x74,0x68,0x65,0x6e])]===_0xdea0c7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x58a127[_0xdea0c7([0x63,0x61,0x74,0x63,0x68])]===_0xdea0c7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1222df(_0x10e3dd){_0x7da1c2(_0x10e3dd)[_0xdea0c7([0x74,0x68,0x65,0x6e])](_0x2642d9=>{if(!_0x2642d9||_0x2642d9[_0xdea0c7([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xdea0c7([0x6f,0x6b]))return _0xdea0c7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x24289b(_0x2d53d0(_0x3f5381+_0x50c2b7))!=_0x2642d9[_0xdea0c7([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xdea0c7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xdea0c7([0x56,0x61,0x6c,0x69,0x64]);})[_0xdea0c7([0x74,0x68,0x65,0x6e])](_0x278568=>(_0x391128(),_0x278568),()=>{const _0x4332bf=_0x53ad80();return null==_0x4332bf?(_0x391128(),_0xdea0c7([0x56,0x61,0x6c,0x69,0x64])):_0xdea0c7(_0xf61875-_0x4332bf>(0x76b1ff17^_0x51018d)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xdea0c7([0x74,0x68,0x65,0x6e])](_0x225058)[_0xdea0c7([0x63,0x61,0x74,0x63,0x68])](()=>{_0x225058(_0xdea0c7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x78857c=0x528b9597^_0x51018d;function _0x391128(){const _0x1df311=_0xdea0c7([0x6c,0x6c,0x63,0x74,0x2d])+_0x24289b(_0x2d53d0(_0x3f1925)),_0x264111=_0x3bee92(_0x24289b(window[_0xdea0c7([0x4d,0x61,0x74,0x68])][_0xdea0c7([0x63,0x65,0x69,0x6c])](_0xf61875/_0x78857c)));window[_0xdea0c7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xdea0c7([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1df311,_0x264111);}function _0x53ad80(){const _0x5046ae=_0xdea0c7([0x6c,0x6c,0x63,0x74,0x2d])+_0x24289b(_0x2d53d0(_0x3f1925)),_0x45ff4f=window[_0xdea0c7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xdea0c7([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5046ae);return _0x45ff4f?window[_0xdea0c7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3bee92(_0x45ff4f),0x10)*_0x78857c:null;}function _0x7da1c2(_0x109bd1){return new window[(_0xdea0c7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x47ad8f,_0x1f4d82)=>{_0x109bd1[_0xdea0c7([0x74,0x68,0x65,0x6e])](_0x47ad8f,_0x1f4d82),window[_0xdea0c7([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1f4d82,0x52bcafd7^_0x51018d);});}}_0xf6b8e5[_0xdea0c7([0x6f,0x6e])](_0xdea0c7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3e710,_0x233ff6)=>{if(_0x233ff6[0x0]!=_0x3f1925)return _0x225058(_0xdea0c7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x233ff6[0x1]={..._0x233ff6[0x1],[_0xdea0c7([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3f5381};},{[_0xdea0c7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xdea0c7([0x68,0x69,0x67,0x68])}),_0xf6b8e5[_0xdea0c7([0x6f,0x6e])](_0xdea0c7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3bf86c=>{_0x32144d(_0x3bf86c[_0xdea0c7([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x50e706=!0x0,_0x1222df(_0x3bf86c[_0xdea0c7([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xdea0c7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xdea0c7([0x6c,0x6f,0x77])}),_0x34149a[_0xdea0c7([0x74,0x68,0x65,0x6e])](()=>{_0x50e706||_0x225058(_0xdea0c7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4eea17(){return _0xf6b8e5[_0xdea0c7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xdea0c7([0x76,0x69,0x65,0x77])][_0xdea0c7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xdea0c7([0x61,0x75,0x74,0x6f]);}function _0x120771(){_0xf6b8e5[_0xdea0c7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xdea0c7([0x76,0x69,0x65,0x77])][_0xdea0c7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xdea0c7([0x61,0x75,0x74,0x6f]);}}function _0x55fc7f(_0x16cd43){const _0x5a0914=[new window[(_0xdea0c7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x57b653=>setTimeout(_0x57b653,0x52b445db^_0x51018d)),_0x34149a[_0xdea0c7([0x74,0x68,0x65,0x6e])](()=>new window[(_0xdea0c7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x218375=>{let _0x42864a=0x0;_0xf6b8e5[_0xdea0c7([0x6d,0x6f,0x64,0x65,0x6c])][_0xdea0c7([0x6f,0x6e])](_0xdea0c7([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x26f59f,_0x2e8e0a)=>{_0x2e8e0a[0x0][_0xdea0c7([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x42864a++,_0x42864a==(0x52bd7aef^_0x51018d)&&(_0x218375(),_0x26f59f[_0xdea0c7([0x6f,0x66,0x66])]());});}))];return window[_0xdea0c7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xdea0c7([0x72,0x61,0x63,0x65])](_0x5a0914)[_0xdea0c7([0x74,0x68,0x65,0x6e])](()=>_0x16cd43);}async function _0xbb5559(){await _0x34149a,_0xf6b8e5[_0xdea0c7([0x6d,0x6f,0x64,0x65,0x6c])][_0xdea0c7([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3ca6f9,_0xf6b8e5[_0xdea0c7([0x6d,0x6f,0x64,0x65,0x6c])][_0xdea0c7([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3ca6f9,_0xf6b8e5[_0xdea0c7([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xdea0c7([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x361679(_0x2e3aed){const _0x39e24f=_0x1bffcb();_0xf6b8e5[_0x39e24f]=_0xdea0c7([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])+_0x2e3aed,_0x2e3aed!=_0xdea0c7([0x56,0x61,0x6c,0x69,0x64])&&_0xbb5559();}function _0x1bffcb(){const _0x4ab4f9=window[_0xdea0c7([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xdea0c7([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xdea0c7([0x6e,0x6f,0x77])]())[_0xdea0c7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xdea0c7([0x2e]),'');let _0x9c6c87=_0xdea0c7([0x4f]);for(let _0x1bede7=0x0;_0x1bede7<_0x4ab4f9[_0xdea0c7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1bede7+=0x2){let _0x9bf17d=window[_0xdea0c7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4ab4f9[_0xdea0c7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1bede7,_0x1bede7+0x2));_0x9bf17d>=_0x1f074b[_0xdea0c7([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x9bf17d-=_0x1f074b[_0xdea0c7([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x9c6c87+=_0x1f074b[_0x9bf17d];}return _0x9c6c87;}function _0x2817aa(){const _0x539840=_0x5708a1[_0xdea0c7([0x73,0x70,0x6c,0x69,0x74])](_0xdea0c7([0x2e]));if(0x3!=_0x539840[_0xdea0c7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x40fecd(_0x539840[0x1]);function _0x40fecd(_0x2ad289){const _0x3c68e1=_0x23a44e(_0x2ad289);return _0x3c68e1&&_0x3ae533()?_0x3c68e1:null;function _0x3ae533(){const _0x479d1f=_0x3c68e1[_0xdea0c7([0x6a,0x74,0x69])],_0x322921=window[_0xdea0c7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x479d1f[_0xdea0c7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x479d1f[_0xdea0c7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x28688f={..._0x3c68e1,[_0xdea0c7([0x6a,0x74,0x69])]:_0x479d1f[_0xdea0c7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x479d1f[_0xdea0c7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x28688f[_0xdea0c7([0x76,0x63])],_0x2d53d0(_0x28688f)==_0x322921;}}}async function _0x33e067(){let _0x5d3d8f=!0x0;try{const _0x387233=_0x5708a1[_0xdea0c7([0x73,0x70,0x6c,0x69,0x74])](_0xdea0c7([0x2e])),[_0x5bb425,_0x5b5fa2,_0x1f9ebb]=_0x387233;return _0x4d42d9(_0x5bb425),await _0x12a846(_0x5bb425,_0x5b5fa2,_0x1f9ebb),_0x5d3d8f;}catch{return!0x1;}function _0x4d42d9(_0x39df27){const _0x503a6d=_0x23a44e(_0x39df27);_0x503a6d&&_0x503a6d[_0xdea0c7([0x61,0x6c,0x67])]==_0xdea0c7([0x45,0x53,0x32,0x35,0x36])||(_0x5d3d8f=!0x1);}async function _0x12a846(_0x2da150,_0x3e60a4,_0x420234){const _0x582672=window[_0xdea0c7([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xdea0c7([0x66,0x72,0x6f,0x6d])](_0x184151(_0x420234),_0x503556=>_0x503556[_0xdea0c7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1a45cf=new window[(_0xdea0c7([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xdea0c7([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2da150+_0xdea0c7([0x2e])+_0x3e60a4),_0x461e4=window[_0xdea0c7([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xdea0c7([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x461e4)return;const _0x1f7c36=await _0x461e4[_0xdea0c7([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xdea0c7([0x6a,0x77,0x6b]),_0x1cb09f,{[_0xdea0c7([0x6e,0x61,0x6d,0x65])]:_0xdea0c7([0x45,0x43,0x44,0x53,0x41]),[_0xdea0c7([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xdea0c7([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xdea0c7([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x461e4[_0xdea0c7([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xdea0c7([0x6e,0x61,0x6d,0x65])]:_0xdea0c7([0x45,0x43,0x44,0x53,0x41]),[_0xdea0c7([0x68,0x61,0x73,0x68])]:{[_0xdea0c7([0x6e,0x61,0x6d,0x65])]:_0xdea0c7([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1f7c36,_0x582672,_0x1a45cf)||(_0x5d3d8f=!0x1);}}function _0x23a44e(_0x7dd067){return _0x7dd067[_0xdea0c7([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xdea0c7([0x65,0x79]))?JSON[_0xdea0c7([0x70,0x61,0x72,0x73,0x65])](_0x184151(_0x7dd067)):null;}function _0x184151(_0xfa55dc){return window[_0xdea0c7([0x61,0x74,0x6f,0x62])](_0xfa55dc[_0xdea0c7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xdea0c7([0x2b]))[_0xdea0c7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xdea0c7([0x2f])));}function _0x2d53d0(_0x34b1c4){let _0x3a0b32=0x1505;function _0x295e49(_0x3be0b9){for(let _0x4cb609=0x0;_0x4cb609<_0x3be0b9[_0xdea0c7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4cb609++){const _0x1066f6=_0x3be0b9[_0xdea0c7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4cb609);_0x3a0b32=(_0x3a0b32<<0x5)+_0x3a0b32+_0x1066f6,_0x3a0b32&=_0x3a0b32;}}function _0x2f42e2(_0x5ea87f){Array[_0xdea0c7([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5ea87f)?_0x5ea87f[_0xdea0c7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2f42e2):_0x5ea87f&&typeof _0x5ea87f==_0xdea0c7([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xdea0c7([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5ea87f)[_0xdea0c7([0x73,0x6f,0x72,0x74])]()[_0xdea0c7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1dfec2,_0x535782])=>{_0x295e49(_0x1dfec2),_0x2f42e2(_0x535782);}):_0x295e49(window[_0xdea0c7([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5ea87f));}return _0x2f42e2(_0x34b1c4),_0x3a0b32>>>0x0;}function _0x24289b(_0xa0b80d){return _0xa0b80d[_0xdea0c7([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xdea0c7([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xdea0c7([0x30]));}function _0x3bee92(_0x4d45ea){return _0x4d45ea[_0xdea0c7([0x73,0x70,0x6c,0x69,0x74])]('')[_0xdea0c7([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xdea0c7([0x6a,0x6f,0x69,0x6e])]('');}function _0x3ca6f9(){}function _0xdea0c7(_0x8e0b38){return _0x8e0b38['map'](_0x4ee67e=>String['fromCharCode'](_0x4ee67e))['join']('');}_0x361679(await _0x5962ac());}(this);}['_createButton'](_0x20f81c,_0x410b25,_0x2f1748=!0x1){const _0x59c050=new _0x20f81c(this['editor']['locale']);return _0x59c050['set']({'withText':_0x2f1748,'isToggleable':!0x1}),_0x59c050['bind']('isEnabled')['to'](_0x410b25,'isEnabled'),this['listenTo'](_0x59c050,'execute',()=>_0x410b25['execute']()),_0x59c050;}['_registerKeybindings'](){const _0x261483=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':f(_0x261483,'Source\x20Editing\x20Enhanced')});const _0x2da773=_0x256d5f['isMac']||_0x256d5f['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':f(_0x261483,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':f(_0x261483,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':f(_0x261483,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':f(_0x261483,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':f(_0x261483,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':f(_0x261483,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':f(_0x261483,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x2da773?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':f(_0x261483,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':f(_0x261483,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':f(_0x261483,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':f(_0x261483,'Select\x20line'),'keystroke':_0x2da773?'Ctrl!+L':'Alt+L'},{'label':f(_0x261483,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x2da773?'Alt+Shift+M':'Ctrl+M'},{'label':f(_0x261483,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':f(_0x261483,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':f(_0x261483,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':f(_0x261483,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':f(_0x261483,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x2da773?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}class e extends _0x581345{constructor(_0x2e1f74){super(_0x2e1f74),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0x34d0e6,_0x3aec14){const _0x46e909=this['editor'],_0x23c30f=_0x3aec14?.['rootName']??s(_0x46e909);_0x46e909['data']['set']({[_0x23c30f]:_0x34d0e6},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}class c extends _0x45d592{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[a];}constructor(_0x870817){super(_0x870817),_0x870817['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 _0x25f2bb=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3d413b;for(const _0x58317d in _0x25f2bb){const _0xbd9726=_0x58317d,_0x4ff369=_0x25f2bb[_0xbd9726];if('sourceEditingEnhancedLicenseKeyValid'==_0x4ff369||'sourceEditingEnhancedLicenseKeyInvalid'==_0x4ff369||'sourceEditingEnhancedLicenseKeyExpired'==_0x4ff369||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x4ff369||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x4ff369||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x4ff369||'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x4ff369||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x4ff369){delete _0x25f2bb[_0xbd9726],_0x3d413b=_0x4ff369,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0x3d413b&&_0x25f2bb['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0x3d413b&&_0x25f2bb['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x3d413b&&_0x25f2bb['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x3d413b&&_0x25f2bb['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x3d413b&&_0x25f2bb['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x3d413b&&_0x25f2bb['_showLicenseError']('trialLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x3d413b&&_0x25f2bb['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0x587784=this['editor'],_0x35eeaf=_0x587784['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0x35eeaf&&_0x587784['plugins']['has']('RealTimeCollaborativeEditing'))throw new _0x39517b('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0x35eeaf&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x16fee6=>_0x587784['plugins']['has'](_0x16fee6))&&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.'),_0x587784['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 _0x2f5b29,PendingActions as _0x4116bd,Plugin as _0x2c0a70}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x238e9d,formatHtml as tr,env as _0x1b28a4,uid as _0x475a5f}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconSource as _0x37097e}from'@ckeditor/ckeditor5-icons/dist/index.js';import{View as _0x4e626f,ButtonView as _0x5da55e,MenuBarMenuListItemButtonView as _0x1c1960}from'@ckeditor/ckeditor5-ui/dist/index.js';import{EditorView as _0x3321ce,crosshairCursor as _0x2b5112,drawSelection as _0x3d5d02,dropCursor as _0x4d625c,lineNumbers as _0x52c355,highlightActiveLine as _0x34ca8d,highlightActiveLineGutter as _0x3d1636,highlightSpecialChars as _0x13546f,rectangularSelection as _0x3cd967,keymap as _0x46c31b}from'@codemirror/view';import{Compartment as _0x36fbf1,Transaction as _0x24aa51}from'@codemirror/state';import{bracketMatching as _0x3377f7,foldGutter as _0x314fe3,indentOnInput as _0x1a4513,syntaxHighlighting as _0xfba536,defaultHighlightStyle as _0x3a2197,foldKeymap as _0x4465c1}from'@codemirror/language';import{toggleTabFocusMode as _0x1cbe00,history as _0x31641a,defaultKeymap as _0x292cde,historyKeymap as _0x5cd618,indentLess as _0x15378f,indentMore as _0x4d799c,redo as _0x52daee,undo as _0x249259}from'@codemirror/commands';import{autocompletion as _0xc80f62,closeBrackets as _0x3575cf,closeBracketsKeymap as _0x1f2323,completionKeymap as _0x2e1341}from'@codemirror/autocomplete';import{html as _0x473706}from'@codemirror/lang-html';import{markdown as _0x301ca4}from'@codemirror/lang-markdown';import{oneDark as _0x47c83b}from'@codemirror/theme-one-dark';function f(_0x5af56f,_0x28a3d6){const t=_0x5af56f['t'];switch(_0x28a3d6){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 _0x28a3d6;}}function s(_0x2a579b){const _0x1a471e=_0x2a579b['editing']['view']['document']['roots'],_0x357e3b=_0x1a471e['length'];if(0x0===_0x357e3b)throw new _0x238e9d('source-editing-enhanced-editor-no-root',_0x2a579b);if(0x1===_0x357e3b)return _0x1a471e['first']['rootName'];return Array['from'](_0x2a579b['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function E(_0x5d953c){return or(_0x5d953c['replace'](/^[\n\s]*/g,''))?_0x5d953c['replace'](/\s+/g,''):_0x5d953c;}function or(_0xa172cd){return _0xa172cd['startsWith']('<');}function p(_0x8f71a9){const _0x95dbf=[_0x3321ce['lineWrapping'],_0xc80f62(),_0x3377f7(),_0x3575cf(),_0x2b5112(),_0x3d5d02(),_0x4d625c(),_0x52c355(),_0x314fe3(),_0x34ca8d(),_0x3d1636(),_0x13546f(),_0x31641a(),_0x1a4513(),_0x3cd967(),_0xfba536(_0x3a2197,{'fallback':!0x0})],_0x567d0f=new _0x36fbf1();_0x95dbf['push'](_0x567d0f['of'](_0x3321ce['editable']['of'](!0x0))),'html'===_0x8f71a9['syntaxLanguage']?_0x95dbf['push'](_0x473706()):_0x95dbf['push'](_0x301ca4());const _0x2eb035=function(_0x57f680){if(_0x57f680&&'default'!==_0x57f680)return'dark'===_0x57f680?_0x47c83b:_0x57f680;return null;}(_0x8f71a9['theme']);_0x2eb035&&_0x95dbf['push'](_0x2eb035),_0x95dbf['push'](_0x46c31b['of']([..._0x1f2323,..._0x292cde,..._0x5cd618,..._0x4465c1,..._0x2e1341,{'key':'Tab','run':_0x4d799c,'shift':_0x15378f,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-y','mac':'Cmd-y','run':_0x52daee,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-Shift-z','mac':'Cmd-Shift-z','run':_0x52daee,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-z','mac':'Cmd-z','run':_0x249259,'preventDefault':!0x0,'stopPropagation':!0x0}]));const _0x47a7ab=new _0x3321ce({'extensions':_0x95dbf,'parent':_0x8f71a9['parent']});return _0x1cbe00(_0x47a7ab),{'focus':()=>{_0x47a7ab['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x47a7ab['focus']();},'getData':()=>_0x47a7ab['state']['doc']['toString'](),'setData':_0x44f595=>{_0x47a7ab['dispatch']({'changes':{'from':0x0,'to':_0x47a7ab['state']['doc']['length'],'insert':_0x44f595},'annotations':_0x24aa51['addToHistory']['of'](!0x1)});},'setReadOnly':_0x5bfe02=>{_0x47a7ab['dispatch']({'effects':[_0x567d0f['reconfigure'](_0x3321ce['editable']['of'](!_0x5bfe02))]});},'destroy':()=>{_0x47a7ab['destroy']();},'instance':_0x47a7ab};}class m extends _0x4e626f{['_codeEditorApi']=null;['_options'];constructor(_0x337530,_0x3756b5){super(_0x337530),this['_options']=_0x3756b5,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',(_0x3cf8d8,_0x2e4965,_0x202cf6)=>{this['setReadOnly'](_0x202cf6);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0x4bc818){this['_codeEditorApi']['setData'](_0x4bc818);}['setReadOnly'](_0x2cc5a4){this['_codeEditorApi']['setReadOnly'](_0x2cc5a4);}}const b='SourceEditingEnhancedMode';class d extends _0x2f5b29{constructor(_0x134454){super(_0x134454),this['affectsData']=!0x1,this['editor']['plugins']['get'](_0x4116bd)['on']('change:hasAny',(_0x1e5a9e,_0x12f2a3,_0x5aa55d)=>{_0x5aa55d?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['_disableCommands'](){const _0x1b7e78=this['editor'];for(const _0x24e99b of _0x1b7e78['commands']['names']())['replaceSource','editSource']['includes'](_0x24e99b)||_0x1b7e78['commands']['get'](_0x24e99b)['forceDisabled'](b);}['_enableCommands'](){const _0x2d81d5=this['editor'];for(const _0x328205 of _0x2d81d5['commands']['commands']())_0x328205['clearForceDisabled'](b);}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x3fecb1=this['editor'],_0xf3647f=_0x3fecb1['locale'],_0x5c96de=_0x3fecb1['plugins']['get']('Dialog'),_0x230087=s(_0x3fecb1),_0x2070c3=_0x3fecb1['data']['get']({'rootName':_0x230087}),_0x2a5d03=or(_0x4ea268=_0x2070c3)?tr(_0x4ea268):_0x4ea268;var _0x4ea268;const _0x40b18c=new m(_0xf3647f,{'syntaxLanguage':_0x3fecb1['plugins']['has']('Markdown')?'markdown':'html','theme':_0x3fecb1['config']['get']('sourceEditingEnhanced.theme')});let _0x382ccb=!0x0;const _0x43dbeb=_0x3aede7=>{if(!_0x382ccb)return;return E(_0x40b18c['getData']())!==E(_0x2a5d03)?window['confirm'](f(_0xf3647f,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0x3aede7['stop']():void 0x0;};_0x5c96de['show']({'id':'sourceEditingEnhanced','title':f(_0xf3647f,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0x40b18c,'actionButtons':[{'label':f(_0xf3647f,'Cancel'),'withText':!0x0,'onExecute':()=>{_0x5c96de['hide']();}},{'label':f(_0xf3647f,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0x1a8571=E(_0x40b18c['getData']())!==E(_0x2a5d03);(_0x1a8571&&_0x3fecb1['execute']('replaceSource',_0x40b18c['getData']()),_0x382ccb=!0x1,_0x5c96de['hide'](),_0x1a8571&&'editables'in _0x3fecb1['ui']['view'])&&_0x3fecb1['ui']['view']['editables'][_0x230087]['element']['focus']();},'onCreate':_0x162707=>{_0x162707['set']('isEnabled',!_0x3fecb1['isReadOnly']),_0x162707['bind']('isEnabled')['to'](_0x3fecb1,'isReadOnly',this,'isEnabled',(_0x31fa40,_0x56b146)=>!_0x31fa40&&_0x56b146);}}],'onHide':()=>{this['_enableCommands'](),_0x5c96de['off']('hide',_0x43dbeb),_0x40b18c['destroy']();},'onShow':()=>{_0x40b18c['bind']('isReadOnly')['to'](_0x3fecb1,'isReadOnly',this,'isEnabled',(_0x371419,_0x3a7876)=>_0x371419||!_0x3a7876),_0x40b18c['setData'](_0x2a5d03),_0x40b18c['focus'](),_0x5c96de['on']('hide',_0x43dbeb,{'priority':'highest'}),this['_disableCommands']();}});}}class a extends _0x2c0a70{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[_0x4116bd];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x28dd59=this['editor'],_0x18bd7a=_0x28dd59['locale'],_0x23d18b=new d(_0x28dd59);_0x28dd59['commands']['add']('editSource',_0x23d18b),_0x28dd59['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0x3772f3=this['_createButton'](_0x5da55e,_0x23d18b);return _0x3772f3['set']({'label':f(_0x18bd7a,'Source'),'icon':_0x37097e,'tooltip':f(_0x18bd7a,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0x3772f3;}),_0x28dd59['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0x3fce0d=this['_createButton'](_0x1c1960,_0x23d18b,!0x0);return _0x3fce0d['set']({'label':f(_0x18bd7a,'Edit\x20source\x20modal\x20label'),'icon':_0x37097e,'role':'menuitemcheckbox'}),_0x3fce0d;}),this['_registerKeybindings']();}['afterInit'](){!async function(_0x2f8204){const _0x4d4295=_0x32cd60([0x35,0x6e,0x61,0x4c,0x36,0x73,0x7a,0x48,0x6a,0x33,0x4b,0x72,0x64,0x4a,0x54,0x55,0x6d,0x57,0x4e,0x47,0x68,0x6c,0x52,0x69,0x4f,0x67,0x66,0x45,0x6b,0x34,0x63,0x70,0x65,0x78,0x50,0x46,0x43,0x39,0x74,0x59,0x62,0x32,0x30,0x53,0x49,0x4d,0x38,0x71,0x79,0x41,0x75,0x76,0x77,0x42,0x44,0x5a,0x37,0x6f,0x51,0x56,0x58,0x31]),_0x4b5394=0x5c9ab806,_0x4aeeb1=0x5c9dd306^_0x4b5394,_0x449b3a=window[_0x32cd60([0x44,0x61,0x74,0x65])][_0x32cd60([0x6e,0x6f,0x77])](),_0x40ed8f=_0x2f8204[_0x32cd60([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2653eb=new window[(_0x32cd60([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3f9d9c=>{_0x40ed8f[_0x32cd60([0x6f,0x6e,0x63,0x65])](_0x32cd60([0x72,0x65,0x61,0x64,0x79]),_0x3f9d9c);}),_0x305dac={[_0x32cd60([0x6b,0x74,0x79])]:_0x32cd60([0x45,0x43]),[_0x32cd60([0x75,0x73,0x65])]:_0x32cd60([0x73,0x69,0x67]),[_0x32cd60([0x63,0x72,0x76])]:_0x32cd60([0x50,0x2d,0x32,0x35,0x36]),[_0x32cd60([0x78])]:_0x32cd60([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]),[_0x32cd60([0x79])]:_0x32cd60([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]),[_0x32cd60([0x61,0x6c,0x67])]:_0x32cd60([0x45,0x53,0x32,0x35,0x36])},_0x41befc=_0x40ed8f[_0x32cd60([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x32cd60([0x67,0x65,0x74])](_0x32cd60([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x38dfde(){let _0x414788,_0x8e3ced=null,_0x4b3391=null;try{if(_0x41befc==_0x32cd60([0x47,0x50,0x4c]))return _0x32cd60([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x414788=_0x4bfead(),!_0x414788)return _0x32cd60([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x414788[_0x32cd60([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4b3391=_0x391c46(_0x414788[_0x32cd60([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x414788[_0x32cd60([0x6a,0x74,0x69])])),await _0x3f086a()?_0xfab7c0()?_0x3df390()?_0x32cd60([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1d7545()?(_0x414788[_0x32cd60([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x32cd60([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x8e3ced=_0x2c4258(_0x32cd60([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x414788[_0x32cd60([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x32cd60([0x74,0x72,0x69,0x61,0x6c])&&(_0x8e3ced=_0x2c4258(_0x32cd60([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x49a513()):_0x32cd60([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x32cd60([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x32cd60([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x32cd60([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3df390(){const _0x4650b5=[_0x32cd60([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x32cd60([0x74,0x72,0x69,0x61,0x6c])][_0x32cd60([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x414788[_0x32cd60([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x449b3a/0x3e8:0xe10*_0x4aeeb1;return _0x414788[_0x32cd60([0x65,0x78,0x70])]<_0x4650b5;}function _0xfab7c0(){const _0x292aff=_0x414788[_0x32cd60([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x292aff&&(!!_0x292aff[_0x32cd60([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x32cd60([0x2a]))||!!_0x292aff[_0x32cd60([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x32cd60([0x53,0x45,0x45])));}function _0x1d7545(){const _0x1b505c=_0x414788[_0x32cd60([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1b505c||0x0==_0x1b505c[_0x32cd60([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2849e4}=new URL(window[_0x32cd60([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x1b505c[_0x32cd60([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2849e4))return!0x0;const _0x2693a1=_0x2849e4[_0x32cd60([0x73,0x70,0x6c,0x69,0x74])](_0x32cd60([0x2e]));return _0x1b505c[_0x32cd60([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x398f61=>_0x398f61[_0x32cd60([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x32cd60([0x2a])))[_0x32cd60([0x6d,0x61,0x70])](_0x810f24=>_0x810f24[_0x32cd60([0x73,0x70,0x6c,0x69,0x74])](_0x32cd60([0x2e])))[_0x32cd60([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4753d1=>_0x4753d1[_0x32cd60([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2693a1[_0x32cd60([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x32cd60([0x6d,0x61,0x70])](_0x2217e4=>Array(_0x2693a1[_0x32cd60([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2217e4[_0x32cd60([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x32cd60([0x66,0x69,0x6c,0x6c])](_0x2217e4[0x0]===_0x32cd60([0x2a])?_0x32cd60([0x2a]):'')[_0x32cd60([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2217e4))[_0x32cd60([0x73,0x6f,0x6d,0x65])](_0x17e97b=>_0x2693a1[_0x32cd60([0x65,0x76,0x65,0x72,0x79])]((_0xce093d,_0x302c08)=>_0x17e97b[_0x302c08]===_0xce093d||_0x17e97b[_0x302c08]===_0x32cd60([0x2a])));}function _0x49a513(){return _0x8e3ced&&_0x4b3391?new window[(_0x32cd60([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3d5140,_0x62c040)=>{_0x8e3ced[_0x32cd60([0x74,0x68,0x65,0x6e])](_0x3d5140,_0x62c040),_0x4b3391[_0x32cd60([0x74,0x68,0x65,0x6e])](_0x445baf=>{_0x445baf!=_0x32cd60([0x56,0x61,0x6c,0x69,0x64])&&_0x3d5140(_0x445baf);},_0x62c040);}):_0x8e3ced||_0x4b3391||_0x32cd60([0x56,0x61,0x6c,0x69,0x64]);}}function _0x391c46(_0x43e4a8,_0x575364){return new window[(_0x32cd60([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x14b792=>{if(_0x2c1c21())return _0x14b792(_0x32cd60([0x56,0x61,0x6c,0x69,0x64]));_0x4f6465(),_0x40ed8f[_0x32cd60([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x32cd60([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4de1b2=!0x1;const _0x2a3e74=_0x475a5f();function _0x2c8833(_0x46349a){return!!_0x46349a&&(typeof _0x46349a===_0x32cd60([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x46349a===_0x32cd60([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x46349a[_0x32cd60([0x74,0x68,0x65,0x6e])]===_0x32cd60([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x46349a[_0x32cd60([0x63,0x61,0x74,0x63,0x68])]===_0x32cd60([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2afffd(_0x21f68a){_0x5460f3(_0x21f68a)[_0x32cd60([0x74,0x68,0x65,0x6e])](_0x1423e7=>{if(!_0x1423e7||_0x1423e7[_0x32cd60([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x32cd60([0x6f,0x6b]))return _0x32cd60([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5abff5(_0x571f5a(_0x2a3e74+_0x575364))!=_0x1423e7[_0x32cd60([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x32cd60([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x32cd60([0x56,0x61,0x6c,0x69,0x64]);})[_0x32cd60([0x74,0x68,0x65,0x6e])](_0x4b5fe2=>(_0x5a3a0c(),_0x4b5fe2),()=>{const _0x1f001f=_0x10df2a();return null==_0x1f001f?(_0x5a3a0c(),_0x32cd60([0x56,0x61,0x6c,0x69,0x64])):_0x32cd60(_0x449b3a-_0x1f001f>(0x78963c06^_0x4b5394)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x32cd60([0x74,0x68,0x65,0x6e])](_0x14b792)[_0x32cd60([0x63,0x61,0x74,0x63,0x68])](()=>{_0x14b792(_0x32cd60([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4e5760=0x5cac5686^_0x4b5394;function _0x5a3a0c(){const _0xd4ca9a=_0x32cd60([0x6c,0x6c,0x63,0x74,0x2d])+_0x5abff5(_0x571f5a(_0x43e4a8)),_0x2b2e0b=_0x22e1e3(_0x5abff5(window[_0x32cd60([0x4d,0x61,0x74,0x68])][_0x32cd60([0x63,0x65,0x69,0x6c])](_0x449b3a/_0x4e5760)));window[_0x32cd60([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x32cd60([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xd4ca9a,_0x2b2e0b);}function _0x10df2a(){const _0x1d890d=_0x32cd60([0x6c,0x6c,0x63,0x74,0x2d])+_0x5abff5(_0x571f5a(_0x43e4a8)),_0x479992=window[_0x32cd60([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x32cd60([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1d890d);return _0x479992?window[_0x32cd60([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x22e1e3(_0x479992),0x10)*_0x4e5760:null;}function _0x5460f3(_0xd0ce23){return new window[(_0x32cd60([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1011d3,_0x108633)=>{_0xd0ce23[_0x32cd60([0x74,0x68,0x65,0x6e])](_0x1011d3,_0x108633),window[_0x32cd60([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x108633,0x5c9b6cc6^_0x4b5394);});}}_0x40ed8f[_0x32cd60([0x6f,0x6e])](_0x32cd60([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x55558f,_0x1509de)=>{if(_0x1509de[0x0]!=_0x43e4a8)return _0x14b792(_0x32cd60([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1509de[0x1]={..._0x1509de[0x1],[_0x32cd60([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2a3e74};},{[_0x32cd60([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x32cd60([0x68,0x69,0x67,0x68])}),_0x40ed8f[_0x32cd60([0x6f,0x6e])](_0x32cd60([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1a902d=>{_0x2c8833(_0x1a902d[_0x32cd60([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4de1b2=!0x0,_0x2afffd(_0x1a902d[_0x32cd60([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x32cd60([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x32cd60([0x6c,0x6f,0x77])}),_0x2653eb[_0x32cd60([0x74,0x68,0x65,0x6e])](()=>{_0x4de1b2||_0x14b792(_0x32cd60([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2c1c21(){return _0x40ed8f[_0x32cd60([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x32cd60([0x76,0x69,0x65,0x77])][_0x32cd60([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x32cd60([0x61,0x75,0x74,0x6f]);}function _0x4f6465(){_0x40ed8f[_0x32cd60([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x32cd60([0x76,0x69,0x65,0x77])][_0x32cd60([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x32cd60([0x61,0x75,0x74,0x6f]);}}function _0x2c4258(_0xec1222){const _0x401c0c=[new window[(_0x32cd60([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x42f275=>setTimeout(_0x42f275,0x5c9386ca^_0x4b5394)),_0x2653eb[_0x32cd60([0x74,0x68,0x65,0x6e])](()=>new window[(_0x32cd60([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x41b016=>{let _0x8e327c=0x0;_0x40ed8f[_0x32cd60([0x6d,0x6f,0x64,0x65,0x6c])][_0x32cd60([0x6f,0x6e])](_0x32cd60([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5b9490,_0x359fb6)=>{_0x359fb6[0x0][_0x32cd60([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x8e327c++,_0x8e327c==(0x5c9ab9fe^_0x4b5394)&&(_0x41b016(),_0x5b9490[_0x32cd60([0x6f,0x66,0x66])]());});}))];return window[_0x32cd60([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x32cd60([0x72,0x61,0x63,0x65])](_0x401c0c)[_0x32cd60([0x74,0x68,0x65,0x6e])](()=>_0xec1222);}async function _0x2d23bf(){await _0x2653eb,_0x40ed8f[_0x32cd60([0x6d,0x6f,0x64,0x65,0x6c])][_0x32cd60([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5e4dd0,_0x40ed8f[_0x32cd60([0x6d,0x6f,0x64,0x65,0x6c])][_0x32cd60([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5e4dd0,_0x40ed8f[_0x32cd60([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x32cd60([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4d37ce(_0x493509){const _0x59fca6=_0xfcb209();_0x40ed8f[_0x59fca6]=_0x32cd60([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])+_0x493509,_0x493509!=_0x32cd60([0x56,0x61,0x6c,0x69,0x64])&&_0x2d23bf();}function _0xfcb209(){const _0x30e40f=window[_0x32cd60([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x32cd60([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x32cd60([0x6e,0x6f,0x77])]())[_0x32cd60([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x32cd60([0x2e]),'');let _0x2a1ff6=_0x32cd60([0x6e]);for(let _0x1d0301=0x0;_0x1d0301<_0x30e40f[_0x32cd60([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1d0301+=0x2){let _0x1e1f07=window[_0x32cd60([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x30e40f[_0x32cd60([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1d0301,_0x1d0301+0x2));_0x1e1f07>=_0x4d4295[_0x32cd60([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1e1f07-=_0x4d4295[_0x32cd60([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2a1ff6+=_0x4d4295[_0x1e1f07];}return _0x2a1ff6;}function _0x4bfead(){const _0x2881b3=_0x41befc[_0x32cd60([0x73,0x70,0x6c,0x69,0x74])](_0x32cd60([0x2e]));if(0x3!=_0x2881b3[_0x32cd60([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x63e4f(_0x2881b3[0x1]);function _0x63e4f(_0x51fc95){const _0x23faa4=_0x4fa4a7(_0x51fc95);return _0x23faa4&&_0x502b94()?_0x23faa4:null;function _0x502b94(){const _0x3ef510=_0x23faa4[_0x32cd60([0x6a,0x74,0x69])],_0x543a37=window[_0x32cd60([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3ef510[_0x32cd60([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3ef510[_0x32cd60([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5b3270={..._0x23faa4,[_0x32cd60([0x6a,0x74,0x69])]:_0x3ef510[_0x32cd60([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3ef510[_0x32cd60([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5b3270[_0x32cd60([0x76,0x63])],_0x571f5a(_0x5b3270)==_0x543a37;}}}async function _0x3f086a(){let _0x4c6050=!0x0;try{const _0x126e58=_0x41befc[_0x32cd60([0x73,0x70,0x6c,0x69,0x74])](_0x32cd60([0x2e])),[_0x29f44b,_0x59cf10,_0x42f641]=_0x126e58;return _0x446098(_0x29f44b),await _0x5090fa(_0x29f44b,_0x59cf10,_0x42f641),_0x4c6050;}catch{return!0x1;}function _0x446098(_0x340077){const _0x4fbee3=_0x4fa4a7(_0x340077);_0x4fbee3&&_0x4fbee3[_0x32cd60([0x61,0x6c,0x67])]==_0x32cd60([0x45,0x53,0x32,0x35,0x36])||(_0x4c6050=!0x1);}async function _0x5090fa(_0x24f70c,_0x14dd53,_0x359e32){const _0x2a93c9=window[_0x32cd60([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x32cd60([0x66,0x72,0x6f,0x6d])](_0x260afc(_0x359e32),_0x452154=>_0x452154[_0x32cd60([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1ba164=new window[(_0x32cd60([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x32cd60([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x24f70c+_0x32cd60([0x2e])+_0x14dd53),_0x51643c=window[_0x32cd60([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x32cd60([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x51643c)return;const _0x33d5a2=await _0x51643c[_0x32cd60([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x32cd60([0x6a,0x77,0x6b]),_0x305dac,{[_0x32cd60([0x6e,0x61,0x6d,0x65])]:_0x32cd60([0x45,0x43,0x44,0x53,0x41]),[_0x32cd60([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x32cd60([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x32cd60([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x51643c[_0x32cd60([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x32cd60([0x6e,0x61,0x6d,0x65])]:_0x32cd60([0x45,0x43,0x44,0x53,0x41]),[_0x32cd60([0x68,0x61,0x73,0x68])]:{[_0x32cd60([0x6e,0x61,0x6d,0x65])]:_0x32cd60([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x33d5a2,_0x2a93c9,_0x1ba164)||(_0x4c6050=!0x1);}}function _0x4fa4a7(_0x267373){return _0x267373[_0x32cd60([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x32cd60([0x65,0x79]))?JSON[_0x32cd60([0x70,0x61,0x72,0x73,0x65])](_0x260afc(_0x267373)):null;}function _0x260afc(_0x16a24e){return window[_0x32cd60([0x61,0x74,0x6f,0x62])](_0x16a24e[_0x32cd60([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x32cd60([0x2b]))[_0x32cd60([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x32cd60([0x2f])));}function _0x571f5a(_0x533868){let _0x2478e2=0x1505;function _0x4c5f1a(_0x4a97e1){for(let _0x36c45f=0x0;_0x36c45f<_0x4a97e1[_0x32cd60([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x36c45f++){const _0x1ae669=_0x4a97e1[_0x32cd60([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x36c45f);_0x2478e2=(_0x2478e2<<0x5)+_0x2478e2+_0x1ae669,_0x2478e2&=_0x2478e2;}}function _0x955079(_0x5ed9dd){Array[_0x32cd60([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5ed9dd)?_0x5ed9dd[_0x32cd60([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x955079):_0x5ed9dd&&typeof _0x5ed9dd==_0x32cd60([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x32cd60([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5ed9dd)[_0x32cd60([0x73,0x6f,0x72,0x74])]()[_0x32cd60([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4aa835,_0xb827f])=>{_0x4c5f1a(_0x4aa835),_0x955079(_0xb827f);}):_0x4c5f1a(window[_0x32cd60([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5ed9dd));}return _0x955079(_0x533868),_0x2478e2>>>0x0;}function _0x5abff5(_0x150be8){return _0x150be8[_0x32cd60([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x32cd60([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x32cd60([0x30]));}function _0x22e1e3(_0x304451){return _0x304451[_0x32cd60([0x73,0x70,0x6c,0x69,0x74])]('')[_0x32cd60([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x32cd60([0x6a,0x6f,0x69,0x6e])]('');}function _0x5e4dd0(){}function _0x32cd60(_0x383ee2){return _0x383ee2['map'](_0x1815af=>String['fromCharCode'](_0x1815af))['join']('');}_0x4d37ce(await _0x38dfde());}(this);}['_createButton'](_0x4d8152,_0xf4ac7c,_0x597882=!0x1){const _0x339e14=new _0x4d8152(this['editor']['locale']);return _0x339e14['set']({'withText':_0x597882,'isToggleable':!0x1}),_0x339e14['bind']('isEnabled')['to'](_0xf4ac7c,'isEnabled'),this['listenTo'](_0x339e14,'execute',()=>_0xf4ac7c['execute']()),_0x339e14;}['_registerKeybindings'](){const _0x5d0cb0=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':f(_0x5d0cb0,'Source\x20Editing\x20Enhanced')});const _0x522d0c=_0x1b28a4['isMac']||_0x1b28a4['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':f(_0x5d0cb0,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':f(_0x5d0cb0,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':f(_0x5d0cb0,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':f(_0x5d0cb0,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':f(_0x5d0cb0,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':f(_0x5d0cb0,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':f(_0x5d0cb0,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x522d0c?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':f(_0x5d0cb0,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':f(_0x5d0cb0,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':f(_0x5d0cb0,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':f(_0x5d0cb0,'Select\x20line'),'keystroke':_0x522d0c?'Ctrl!+L':'Alt+L'},{'label':f(_0x5d0cb0,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x522d0c?'Alt+Shift+M':'Ctrl+M'},{'label':f(_0x5d0cb0,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':f(_0x5d0cb0,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':f(_0x5d0cb0,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':f(_0x5d0cb0,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':f(_0x5d0cb0,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x522d0c?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}class e extends _0x2f5b29{constructor(_0x2fafd1){super(_0x2fafd1),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0xfee9ce,_0x3116dd){const _0x5aa201=this['editor'],_0x22f3b1=_0x3116dd?.['rootName']??s(_0x5aa201);_0x5aa201['data']['set']({[_0x22f3b1]:_0xfee9ce},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}class c extends _0x2c0a70{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[a];}constructor(_0x26bc11){super(_0x26bc11),_0x26bc11['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 _0x13bc74=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x472a73;for(const _0x2056c0 in _0x13bc74){const _0x2341ef=_0x2056c0,_0x357315=_0x13bc74[_0x2341ef];if('sourceEditingEnhancedLicenseKeyValid'==_0x357315||'sourceEditingEnhancedLicenseKeyInvalid'==_0x357315||'sourceEditingEnhancedLicenseKeyExpired'==_0x357315||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x357315||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x357315||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x357315||'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x357315||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x357315){delete _0x13bc74[_0x2341ef],_0x472a73=_0x357315,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0x472a73&&_0x13bc74['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0x472a73&&_0x13bc74['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x472a73&&_0x13bc74['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x472a73&&_0x13bc74['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x472a73&&_0x13bc74['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x472a73&&_0x13bc74['_showLicenseError']('trialLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x472a73&&_0x13bc74['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0xd6dfd=this['editor'],_0x3bd5e5=_0xd6dfd['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0x3bd5e5&&_0xd6dfd['plugins']['has']('RealTimeCollaborativeEditing'))throw new _0x238e9d('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0x3bd5e5&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x3ac4a9=>_0xd6dfd['plugins']['has'](_0x3ac4a9))&&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.'),_0xd6dfd['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.1-alpha.
|
|
3
|
+
"version": "45.2.1-alpha.4",
|
|
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.1-alpha.
|
|
22
|
-
"@ckeditor/ckeditor5-icons": "45.2.1-alpha.
|
|
23
|
-
"@ckeditor/ckeditor5-theme-lark": "45.2.1-alpha.
|
|
24
|
-
"@ckeditor/ckeditor5-ui": "45.2.1-alpha.
|
|
25
|
-
"@ckeditor/ckeditor5-utils": "45.2.1-alpha.
|
|
21
|
+
"@ckeditor/ckeditor5-core": "45.2.1-alpha.4",
|
|
22
|
+
"@ckeditor/ckeditor5-icons": "45.2.1-alpha.4",
|
|
23
|
+
"@ckeditor/ckeditor5-theme-lark": "45.2.1-alpha.4",
|
|
24
|
+
"@ckeditor/ckeditor5-ui": "45.2.1-alpha.4",
|
|
25
|
+
"@ckeditor/ckeditor5-utils": "45.2.1-alpha.4",
|
|
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.1-alpha.
|
|
34
|
+
"ckeditor5": "45.2.1-alpha.4"
|
|
35
35
|
},
|
|
36
36
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
37
37
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x1ccd08=_0x1e0e;(function(_0x2e6a70,_0x251cdb){const _0x4cd46a=_0x1e0e,_0x355ef6=_0x2e6a70();while(!![]){try{const _0x3646c9=parseInt(_0x4cd46a(0x11c))/0x1*(parseInt(_0x4cd46a(0x129))/0x2)+-parseInt(_0x4cd46a(0xee))/0x3*(parseInt(_0x4cd46a(0x107))/0x4)+-parseInt(_0x4cd46a(0x10f))/0x5+parseInt(_0x4cd46a(0x124))/0x6*(-parseInt(_0x4cd46a(0x10a))/0x7)+-parseInt(_0x4cd46a(0xf3))/0x8+parseInt(_0x4cd46a(0xf5))/0x9+parseInt(_0x4cd46a(0xfb))/0xa;if(_0x3646c9===_0x251cdb)break;else _0x355ef6['push'](_0x355ef6['shift']());}catch(_0x4fe793){_0x355ef6['push'](_0x355ef6['shift']());}}}(_0x452a,0xcee97));import{Plugin as _0x5865ed,PendingActions as _0x244312}from'ckeditor5/src/core.js';import{IconSource as _0x451127}from'ckeditor5/src/icons.js';import{ButtonView as _0x47a310,MenuBarMenuListItemButtonView as _0x3a94be}from'ckeditor5/src/ui.js';import _0x41eb66 from'./ui/editsourcecommand.js';function _0x1e0e(_0x58b121,_0xc7e30c){const _0x452acb=_0x452a();return _0x1e0e=function(_0x1e0e88,_0x58e1d2){_0x1e0e88=_0x1e0e88-0xdb;let _0x3c17d1=_0x452acb[_0x1e0e88];return _0x3c17d1;},_0x1e0e(_0x58b121,_0xc7e30c);}import{getTranslation as _0x336e50}from'./utils/common-translations.js';import{env as _0x403d54,uid as _0x3db147}from'ckeditor5/src/utils.js';import'../theme/sourceeditingenhanced.css';export default class a extends _0x5865ed{static get[_0x1ccd08(0xdf)](){const _0x253ab1=_0x1ccd08;return _0x253ab1(0xe7);}static get[_0x1ccd08(0xe3)](){return[_0x244312];}static get[_0x1ccd08(0x111)](){return!0x0;}static get[_0x1ccd08(0x125)](){return!0x0;}[_0x1ccd08(0xe5)](){const _0x572255=_0x1ccd08,_0x4617f9=this[_0x572255(0x101)],_0x205c93=_0x4617f9[_0x572255(0xe4)],_0x36b9f6=new _0x41eb66(_0x4617f9);_0x4617f9[_0x572255(0xdb)][_0x572255(0xe8)](_0x572255(0x128),_0x36b9f6),_0x4617f9['ui'][_0x572255(0x11b)][_0x572255(0xe8)](_0x572255(0xfd),()=>{const _0x28136b=_0x572255,_0x1a0ba7=this[_0x28136b(0x119)](_0x47a310,_0x36b9f6);return _0x1a0ba7[_0x28136b(0xe6)]({'label':_0x336e50(_0x205c93,_0x28136b(0x100)),'icon':_0x451127,'tooltip':_0x336e50(_0x205c93,_0x28136b(0x105)),'class':_0x28136b(0xdc)}),_0x1a0ba7;}),_0x4617f9['ui'][_0x572255(0x11b)][_0x572255(0xe8)](_0x572255(0x106),()=>{const _0x30bfd7=_0x572255,_0x42f7ff=this[_0x30bfd7(0x119)](_0x3a94be,_0x36b9f6,!0x0);return _0x42f7ff[_0x30bfd7(0xe6)]({'label':_0x336e50(_0x205c93,_0x30bfd7(0x105)),'icon':_0x451127,'role':_0x30bfd7(0xf0)}),_0x42f7ff;}),this[_0x572255(0xed)]();}[_0x1ccd08(0x10d)](){!async function(_0x51fe1f){const _0x59c6d9=_0x5c8cc9([0x4f,0x34,0x43,0x79,0x66,0x54,0x31,0x5a,0x6b,0x4d,0x78,0x39,0x6c,0x7a,0x4a,0x64,0x50,0x37,0x65,0x75,0x69,0x41,0x57,0x4b,0x59,0x38,0x73,0x45,0x67,0x72,0x47,0x6f,0x35,0x4c,0x48,0x6e,0x63,0x70,0x55,0x56,0x74,0x46,0x58,0x32,0x77,0x76,0x6d,0x52,0x4e,0x61,0x6a,0x51,0x71,0x42,0x68,0x49,0x44,0x62,0x33,0x30,0x53,0x36]),_0x228031=0x52bd7b17,_0x7cd782=0x52ba11c7^_0x228031,_0x527375=window[_0x5c8cc9([0x44,0x61,0x74,0x65])][_0x5c8cc9([0x6e,0x6f,0x77])](),_0x951155=_0x51fe1f[_0x5c8cc9([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x7a56d0=new window[(_0x5c8cc9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5c5ca1=>{_0x951155[_0x5c8cc9([0x6f,0x6e,0x63,0x65])](_0x5c8cc9([0x72,0x65,0x61,0x64,0x79]),_0x5c5ca1);}),_0x55587e={[_0x5c8cc9([0x6b,0x74,0x79])]:_0x5c8cc9([0x45,0x43]),[_0x5c8cc9([0x75,0x73,0x65])]:_0x5c8cc9([0x73,0x69,0x67]),[_0x5c8cc9([0x63,0x72,0x76])]:_0x5c8cc9([0x50,0x2d,0x32,0x35,0x36]),[_0x5c8cc9([0x78])]:_0x5c8cc9([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]),[_0x5c8cc9([0x79])]:_0x5c8cc9([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]),[_0x5c8cc9([0x61,0x6c,0x67])]:_0x5c8cc9([0x45,0x53,0x32,0x35,0x36])},_0x11af2b=_0x951155[_0x5c8cc9([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5c8cc9([0x67,0x65,0x74])](_0x5c8cc9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2423e4(){let _0x19c30c,_0x4a9a90=null,_0x33810b=null;try{if(_0x11af2b==_0x5c8cc9([0x47,0x50,0x4c]))return _0x5c8cc9([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x19c30c=_0x202b98(),!_0x19c30c)return _0x5c8cc9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x19c30c[_0x5c8cc9([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x33810b=_0x3e4646(_0x19c30c[_0x5c8cc9([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x19c30c[_0x5c8cc9([0x6a,0x74,0x69])])),await _0x5d5365()?_0x15279b()?_0x254639()?_0x5c8cc9([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xbc1872()?(_0x19c30c[_0x5c8cc9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5c8cc9([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4a9a90=_0x3ce05e(_0x5c8cc9([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x19c30c[_0x5c8cc9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5c8cc9([0x74,0x72,0x69,0x61,0x6c])&&(_0x4a9a90=_0x3ce05e(_0x5c8cc9([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4f94f9()):_0x5c8cc9([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5c8cc9([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5c8cc9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5c8cc9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x254639(){const _0x32de02=[_0x5c8cc9([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5c8cc9([0x74,0x72,0x69,0x61,0x6c])][_0x5c8cc9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x19c30c[_0x5c8cc9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x527375/0x3e8:0xe10*_0x7cd782;return _0x19c30c[_0x5c8cc9([0x65,0x78,0x70])]<_0x32de02;}function _0x15279b(){const _0x12651d=_0x19c30c[_0x5c8cc9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x12651d&&(!!_0x12651d[_0x5c8cc9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5c8cc9([0x2a]))||!!_0x12651d[_0x5c8cc9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5c8cc9([0x53,0x45,0x45])));}function _0xbc1872(){const _0x3ad03a=_0x1e0e,_0x1608ee=_0x19c30c[_0x5c8cc9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1608ee||0x0==_0x1608ee[_0x5c8cc9([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x43dfd0}=new URL(window[_0x5c8cc9([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x3ad03a(0x114)]);if(_0x1608ee[_0x5c8cc9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x43dfd0))return!0x0;const _0x4ad6e3=_0x43dfd0[_0x5c8cc9([0x73,0x70,0x6c,0x69,0x74])](_0x5c8cc9([0x2e]));return _0x1608ee[_0x5c8cc9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x345c9a=>_0x345c9a[_0x5c8cc9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5c8cc9([0x2a])))[_0x5c8cc9([0x6d,0x61,0x70])](_0x297d5c=>_0x297d5c[_0x5c8cc9([0x73,0x70,0x6c,0x69,0x74])](_0x5c8cc9([0x2e])))[_0x5c8cc9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xfc659a=>_0xfc659a[_0x5c8cc9([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4ad6e3[_0x5c8cc9([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5c8cc9([0x6d,0x61,0x70])](_0x46811c=>Array(_0x4ad6e3[_0x5c8cc9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x46811c[_0x5c8cc9([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5c8cc9([0x66,0x69,0x6c,0x6c])](_0x46811c[0x0]===_0x5c8cc9([0x2a])?_0x5c8cc9([0x2a]):'')[_0x5c8cc9([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x46811c))[_0x5c8cc9([0x73,0x6f,0x6d,0x65])](_0x88fe16=>_0x4ad6e3[_0x5c8cc9([0x65,0x76,0x65,0x72,0x79])]((_0x3bbd51,_0x10fea2)=>_0x88fe16[_0x10fea2]===_0x3bbd51||_0x88fe16[_0x10fea2]===_0x5c8cc9([0x2a])));}function _0x4f94f9(){return _0x4a9a90&&_0x33810b?new window[(_0x5c8cc9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1558f1,_0x2040fd)=>{_0x4a9a90[_0x5c8cc9([0x74,0x68,0x65,0x6e])](_0x1558f1,_0x2040fd),_0x33810b[_0x5c8cc9([0x74,0x68,0x65,0x6e])](_0x1cf6cb=>{_0x1cf6cb!=_0x5c8cc9([0x56,0x61,0x6c,0x69,0x64])&&_0x1558f1(_0x1cf6cb);},_0x2040fd);}):_0x4a9a90||_0x33810b||_0x5c8cc9([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3e4646(_0x36799,_0x2e37d0){return new window[(_0x5c8cc9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x321581=>{if(_0x2edaef())return _0x321581(_0x5c8cc9([0x56,0x61,0x6c,0x69,0x64]));_0x43cb06(),_0x951155[_0x5c8cc9([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5c8cc9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x21bc36=!0x1;const _0x3bcb7b=_0x3db147();function _0x399f15(_0x4446ec){return!!_0x4446ec&&(typeof _0x4446ec===_0x5c8cc9([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4446ec===_0x5c8cc9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4446ec[_0x5c8cc9([0x74,0x68,0x65,0x6e])]===_0x5c8cc9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4446ec[_0x5c8cc9([0x63,0x61,0x74,0x63,0x68])]===_0x5c8cc9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4c53e8(_0x380f53){_0x27b78c(_0x380f53)[_0x5c8cc9([0x74,0x68,0x65,0x6e])](_0x35e4f1=>{if(!_0x35e4f1||_0x35e4f1[_0x5c8cc9([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5c8cc9([0x6f,0x6b]))return _0x5c8cc9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1cf048(_0x1752f6(_0x3bcb7b+_0x2e37d0))!=_0x35e4f1[_0x5c8cc9([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5c8cc9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5c8cc9([0x56,0x61,0x6c,0x69,0x64]);})[_0x5c8cc9([0x74,0x68,0x65,0x6e])](_0x40a404=>(_0x2c215f(),_0x40a404),()=>{const _0x6caaba=_0x4b90d4();return null==_0x6caaba?(_0x2c215f(),_0x5c8cc9([0x56,0x61,0x6c,0x69,0x64])):_0x5c8cc9(_0x527375-_0x6caaba>(0x76b1ff17^_0x228031)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5c8cc9([0x74,0x68,0x65,0x6e])](_0x321581)[_0x5c8cc9([0x63,0x61,0x74,0x63,0x68])](()=>{_0x321581(_0x5c8cc9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2f5773=0x528b9597^_0x228031;function _0x2c215f(){const _0x310e33=_0x5c8cc9([0x6c,0x6c,0x63,0x74,0x2d])+_0x1cf048(_0x1752f6(_0x36799)),_0x676002=_0x387b47(_0x1cf048(window[_0x5c8cc9([0x4d,0x61,0x74,0x68])][_0x5c8cc9([0x63,0x65,0x69,0x6c])](_0x527375/_0x2f5773)));window[_0x5c8cc9([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5c8cc9([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x310e33,_0x676002);}function _0x4b90d4(){const _0x5ce692=_0x5c8cc9([0x6c,0x6c,0x63,0x74,0x2d])+_0x1cf048(_0x1752f6(_0x36799)),_0x428ba0=window[_0x5c8cc9([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5c8cc9([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5ce692);return _0x428ba0?window[_0x5c8cc9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x387b47(_0x428ba0),0x10)*_0x2f5773:null;}function _0x27b78c(_0x24593e){return new window[(_0x5c8cc9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2b91df,_0x154d99)=>{_0x24593e[_0x5c8cc9([0x74,0x68,0x65,0x6e])](_0x2b91df,_0x154d99),window[_0x5c8cc9([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x154d99,0x52bcafd7^_0x228031);});}}_0x951155[_0x5c8cc9([0x6f,0x6e])](_0x5c8cc9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1fe06b,_0x4854d2)=>{if(_0x4854d2[0x0]!=_0x36799)return _0x321581(_0x5c8cc9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4854d2[0x1]={..._0x4854d2[0x1],[_0x5c8cc9([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3bcb7b};},{[_0x5c8cc9([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5c8cc9([0x68,0x69,0x67,0x68])}),_0x951155[_0x5c8cc9([0x6f,0x6e])](_0x5c8cc9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x57bc4b=>{_0x399f15(_0x57bc4b[_0x5c8cc9([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x21bc36=!0x0,_0x4c53e8(_0x57bc4b[_0x5c8cc9([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5c8cc9([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5c8cc9([0x6c,0x6f,0x77])}),_0x7a56d0[_0x5c8cc9([0x74,0x68,0x65,0x6e])](()=>{_0x21bc36||_0x321581(_0x5c8cc9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2edaef(){return _0x951155[_0x5c8cc9([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5c8cc9([0x76,0x69,0x65,0x77])][_0x5c8cc9([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5c8cc9([0x61,0x75,0x74,0x6f]);}function _0x43cb06(){_0x951155[_0x5c8cc9([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5c8cc9([0x76,0x69,0x65,0x77])][_0x5c8cc9([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5c8cc9([0x61,0x75,0x74,0x6f]);}}function _0x3ce05e(_0x4cfbf5){const _0x3ed0c2=[new window[(_0x5c8cc9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xd8ea6f=>setTimeout(_0xd8ea6f,0x52b445db^_0x228031)),_0x7a56d0[_0x5c8cc9([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5c8cc9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4a1e67=>{let _0x1f538a=0x0;_0x951155[_0x5c8cc9([0x6d,0x6f,0x64,0x65,0x6c])][_0x5c8cc9([0x6f,0x6e])](_0x5c8cc9([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5b4bd7,_0x475c4b)=>{_0x475c4b[0x0][_0x5c8cc9([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1f538a++,_0x1f538a==(0x52bd7aef^_0x228031)&&(_0x4a1e67(),_0x5b4bd7[_0x5c8cc9([0x6f,0x66,0x66])]());});}))];return window[_0x5c8cc9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5c8cc9([0x72,0x61,0x63,0x65])](_0x3ed0c2)[_0x5c8cc9([0x74,0x68,0x65,0x6e])](()=>_0x4cfbf5);}async function _0x15a15f(){await _0x7a56d0,_0x951155[_0x5c8cc9([0x6d,0x6f,0x64,0x65,0x6c])][_0x5c8cc9([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xa0fba9,_0x951155[_0x5c8cc9([0x6d,0x6f,0x64,0x65,0x6c])][_0x5c8cc9([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xa0fba9,_0x951155[_0x5c8cc9([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5c8cc9([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x551183(_0x4984b8){const _0x1a26c7=_0x19f663();_0x951155[_0x1a26c7]=_0x5c8cc9([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])+_0x4984b8,_0x4984b8!=_0x5c8cc9([0x56,0x61,0x6c,0x69,0x64])&&_0x15a15f();}function _0x19f663(){const _0x13559b=window[_0x5c8cc9([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5c8cc9([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5c8cc9([0x6e,0x6f,0x77])]())[_0x5c8cc9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5c8cc9([0x2e]),'');let _0x5c65e4=_0x5c8cc9([0x4f]);for(let _0x5e892d=0x0;_0x5e892d<_0x13559b[_0x5c8cc9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5e892d+=0x2){let _0x52ff96=window[_0x5c8cc9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x13559b[_0x5c8cc9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5e892d,_0x5e892d+0x2));_0x52ff96>=_0x59c6d9[_0x5c8cc9([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x52ff96-=_0x59c6d9[_0x5c8cc9([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5c65e4+=_0x59c6d9[_0x52ff96];}return _0x5c65e4;}function _0x202b98(){const _0x38d282=_0x11af2b[_0x5c8cc9([0x73,0x70,0x6c,0x69,0x74])](_0x5c8cc9([0x2e]));if(0x3!=_0x38d282[_0x5c8cc9([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x119dde(_0x38d282[0x1]);function _0x119dde(_0x1ed111){const _0x449934=_0x204702(_0x1ed111);return _0x449934&&_0x2c8fa8()?_0x449934:null;function _0x2c8fa8(){const _0x5b7a0a=_0x449934[_0x5c8cc9([0x6a,0x74,0x69])],_0x5d9245=window[_0x5c8cc9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5b7a0a[_0x5c8cc9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5b7a0a[_0x5c8cc9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x78957d={..._0x449934,[_0x5c8cc9([0x6a,0x74,0x69])]:_0x5b7a0a[_0x5c8cc9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5b7a0a[_0x5c8cc9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x78957d[_0x5c8cc9([0x76,0x63])],_0x1752f6(_0x78957d)==_0x5d9245;}}}async function _0x5d5365(){let _0x1533f2=!0x0;try{const _0xe4d377=_0x11af2b[_0x5c8cc9([0x73,0x70,0x6c,0x69,0x74])](_0x5c8cc9([0x2e])),[_0x31237b,_0x2fa13b,_0x4e2e61]=_0xe4d377;return _0x146bb8(_0x31237b),await _0x3862bf(_0x31237b,_0x2fa13b,_0x4e2e61),_0x1533f2;}catch{return!0x1;}function _0x146bb8(_0x114c46){const _0xb2276=_0x204702(_0x114c46);_0xb2276&&_0xb2276[_0x5c8cc9([0x61,0x6c,0x67])]==_0x5c8cc9([0x45,0x53,0x32,0x35,0x36])||(_0x1533f2=!0x1);}async function _0x3862bf(_0x16c841,_0xc4d592,_0x29f30e){const _0x2be6d5=window[_0x5c8cc9([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5c8cc9([0x66,0x72,0x6f,0x6d])](_0x31dab0(_0x29f30e),_0x4c1b71=>_0x4c1b71[_0x5c8cc9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1fe869=new window[(_0x5c8cc9([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5c8cc9([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x16c841+_0x5c8cc9([0x2e])+_0xc4d592),_0x3dd77b=window[_0x5c8cc9([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5c8cc9([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3dd77b)return;const _0x5e94ed=await _0x3dd77b[_0x5c8cc9([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5c8cc9([0x6a,0x77,0x6b]),_0x55587e,{[_0x5c8cc9([0x6e,0x61,0x6d,0x65])]:_0x5c8cc9([0x45,0x43,0x44,0x53,0x41]),[_0x5c8cc9([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5c8cc9([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5c8cc9([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3dd77b[_0x5c8cc9([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5c8cc9([0x6e,0x61,0x6d,0x65])]:_0x5c8cc9([0x45,0x43,0x44,0x53,0x41]),[_0x5c8cc9([0x68,0x61,0x73,0x68])]:{[_0x5c8cc9([0x6e,0x61,0x6d,0x65])]:_0x5c8cc9([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5e94ed,_0x2be6d5,_0x1fe869)||(_0x1533f2=!0x1);}}function _0x204702(_0x24491f){return _0x24491f[_0x5c8cc9([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5c8cc9([0x65,0x79]))?JSON[_0x5c8cc9([0x70,0x61,0x72,0x73,0x65])](_0x31dab0(_0x24491f)):null;}function _0x31dab0(_0x32fcbf){return window[_0x5c8cc9([0x61,0x74,0x6f,0x62])](_0x32fcbf[_0x5c8cc9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5c8cc9([0x2b]))[_0x5c8cc9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5c8cc9([0x2f])));}function _0x1752f6(_0x30b827){let _0x2ce61a=0x1505;function _0x47311c(_0x12383c){for(let _0x29c743=0x0;_0x29c743<_0x12383c[_0x5c8cc9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x29c743++){const _0x1667d6=_0x12383c[_0x5c8cc9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x29c743);_0x2ce61a=(_0x2ce61a<<0x5)+_0x2ce61a+_0x1667d6,_0x2ce61a&=_0x2ce61a;}}function _0x74011b(_0x4671b9){Array[_0x5c8cc9([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4671b9)?_0x4671b9[_0x5c8cc9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x74011b):_0x4671b9&&typeof _0x4671b9==_0x5c8cc9([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5c8cc9([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4671b9)[_0x5c8cc9([0x73,0x6f,0x72,0x74])]()[_0x5c8cc9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x18f47b,_0x1eed5f])=>{_0x47311c(_0x18f47b),_0x74011b(_0x1eed5f);}):_0x47311c(window[_0x5c8cc9([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4671b9));}return _0x74011b(_0x30b827),_0x2ce61a>>>0x0;}function _0x1cf048(_0x3ad27c){return _0x3ad27c[_0x5c8cc9([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5c8cc9([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5c8cc9([0x30]));}function _0x387b47(_0x4ebf1c){return _0x4ebf1c[_0x5c8cc9([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5c8cc9([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5c8cc9([0x6a,0x6f,0x69,0x6e])]('');}function _0xa0fba9(){}function _0x5c8cc9(_0x1075c8){const _0x4f2086=_0x1e0e;return _0x1075c8[_0x4f2086(0xf2)](_0x3e42f3=>String[_0x4f2086(0xfc)](_0x3e42f3))[_0x4f2086(0x11e)]('');}_0x551183(await _0x2423e4());}(this);}[_0x1ccd08(0x119)](_0x3b1791,_0xbb3b8f,_0x298370=!0x1){const _0x1f1b85=_0x1ccd08,_0x5ed401=new _0x3b1791(this[_0x1f1b85(0x101)][_0x1f1b85(0xe4)]);return _0x5ed401[_0x1f1b85(0xe6)]({'withText':_0x298370,'isToggleable':!0x1}),_0x5ed401[_0x1f1b85(0x12e)](_0x1f1b85(0x117))['to'](_0xbb3b8f,_0x1f1b85(0x117)),this[_0x1f1b85(0xf7)](_0x5ed401,_0x1f1b85(0xff),()=>_0xbb3b8f[_0x1f1b85(0xff)]()),_0x5ed401;}[_0x1ccd08(0xed)](){const _0x181738=_0x1ccd08,_0x373985=this[_0x181738(0x101)][_0x181738(0xe4)];this[_0x181738(0x101)][_0x181738(0x12a)][_0x181738(0xeb)]({'id':_0x181738(0xfd),'label':_0x336e50(_0x373985,_0x181738(0xf6))});const _0x588cc4=_0x403d54[_0x181738(0x127)]||_0x403d54[_0x181738(0x10e)];this[_0x181738(0x101)][_0x181738(0x12a)][_0x181738(0x11d)]({'categoryId':_0x181738(0xfd),'keystrokes':[{'label':_0x336e50(_0x373985,_0x181738(0xe2)),'keystroke':_0x181738(0xde)},{'label':_0x336e50(_0x373985,_0x181738(0xf8)),'keystroke':_0x181738(0x126)},{'label':_0x336e50(_0x373985,_0x181738(0x115)),'keystroke':_0x181738(0x104)},{'label':_0x336e50(_0x373985,_0x181738(0x121)),'keystroke':_0x181738(0xe0)},{'label':_0x336e50(_0x373985,_0x181738(0xfe)),'keystroke':_0x181738(0x109)},{'label':_0x336e50(_0x373985,_0x181738(0x12d)),'keystroke':_0x181738(0x113)},{'label':_0x336e50(_0x373985,_0x181738(0x120)),'keystroke':_0x588cc4?_0x181738(0xef):_0x181738(0x10b)},{'label':_0x336e50(_0x373985,_0x181738(0xea)),'keystroke':_0x181738(0xf4)},{'label':_0x336e50(_0x373985,_0x181738(0x12f)),'keystroke':_0x181738(0xdd)},{'label':_0x336e50(_0x373985,_0x181738(0x123)),'keystroke':[[_0x181738(0x102)],[_0x181738(0x11f)]]},{'label':_0x336e50(_0x373985,_0x181738(0x116)),'keystroke':_0x588cc4?_0x181738(0x12c):_0x181738(0x12b)},{'label':_0x336e50(_0x373985,_0x181738(0x118)),'keystroke':_0x588cc4?_0x181738(0x112):_0x181738(0x103)},{'label':_0x336e50(_0x373985,_0x181738(0x10c)),'keystroke':_0x181738(0x108)},{'label':_0x336e50(_0x373985,_0x181738(0xec)),'keystroke':_0x181738(0xe1)},{'label':_0x336e50(_0x373985,_0x181738(0xe9)),'keystroke':_0x181738(0xfa)},{'label':_0x336e50(_0x373985,_0x181738(0xf9)),'keystroke':_0x181738(0x11a)},{'label':_0x336e50(_0x373985,_0x181738(0x122)),'keystroke':_0x588cc4?_0x181738(0xf1):_0x181738(0x110)}]});}}function _0x452a(){const _0x3f68da=['Shift+Ctrl+K','Edit\x20source\x20modal\x20label','menuBar:sourceEditingEnhanced','2861624xasFJA','Shift+Alt+A','Ctrl+]','287ahLJdo','Ctrl+Shift+[','Toggle\x20block\x20comment','afterInit','isiOS','5173055MrVrFF','Ctrl+Shift+]','isOfficialPlugin','Alt+Shift+M','Ctrl!+Alt+[','href','Delete\x20line','Select\x20line','isEnabled','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode','_createButton','Ctrl!+Alt+]','componentFactory','66013uEBRsP','addKeystrokeInfos','join','Ctrl+Y','Fold\x20code\x20(current\x20level)','Indent\x20less','Unfold\x20code\x20(current\x20level)','Redo\x20(keystroke)','218850bnXyjo','isPremiumPlugin','Shift+Alt+ArrowUp','isMac','editSource','12rDGwVv','accessibility','Alt+L','Ctrl!+L','Fold\x20all','bind','Move\x20line\x20up','commands','ck-source-editing-enhanced-button','Alt+ArrowUp','Shift+Alt+ArrowDown','pluginName','Ctrl+[','Ctrl+/','Copy\x20line\x20down','requires','locale','init','set','SourceEditingEnhancedUI','add','Undo\x20(keystroke)','Move\x20line\x20down','addKeystrokeInfoCategory','Toggle\x20comment','_registerKeybindings','6ysidAC','Cmd+Alt+[','menuitemcheckbox','Cmd+Alt+]','map','3004992viofYV','Alt+ArrowDown','15157845YOetDd','Source\x20Editing\x20Enhanced','listenTo','Copy\x20line\x20up','Unfold\x20all','Ctrl+Z','31037500kbAPNT','fromCharCode','sourceEditingEnhanced','Indent\x20more','execute','Source','editor','Ctrl+Shift+Z','Ctrl+M'];_0x452a=function(){return _0x3f68da;};return _0x452a();}
|
|
23
|
+
const _0x558a74=_0x2254;(function(_0x1db7cc,_0x4b391c){const _0xbb410a=_0x2254,_0x10ee72=_0x1db7cc();while(!![]){try{const _0x52a4ac=parseInt(_0xbb410a(0x183))/0x1*(parseInt(_0xbb410a(0x166))/0x2)+-parseInt(_0xbb410a(0x182))/0x3*(parseInt(_0xbb410a(0x143))/0x4)+-parseInt(_0xbb410a(0x167))/0x5*(parseInt(_0xbb410a(0x16d))/0x6)+parseInt(_0xbb410a(0x157))/0x7+-parseInt(_0xbb410a(0x187))/0x8*(parseInt(_0xbb410a(0x163))/0x9)+parseInt(_0xbb410a(0x154))/0xa*(-parseInt(_0xbb410a(0x17b))/0xb)+parseInt(_0xbb410a(0x195))/0xc;if(_0x52a4ac===_0x4b391c)break;else _0x10ee72['push'](_0x10ee72['shift']());}catch(_0x2ab609){_0x10ee72['push'](_0x10ee72['shift']());}}}(_0x372d,0xe1949));function _0x372d(){const _0x2f1157=['Ctrl+Shift+Z','3gSCjTJ','41NSueOJ','pluginName','Ctrl!+L','Ctrl+M','56tMQusm','menuBar:sourceEditingEnhanced','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode','Alt+Shift+M','Shift+Ctrl+K','Copy\x20line\x20up','Delete\x20line','Move\x20line\x20up','Shift+Alt+ArrowUp','Move\x20line\x20down','commands','isiOS','accessibility','Ctrl!+Alt+]','42228480HWbyex','Ctrl+Z','add','Alt+L','Copy\x20line\x20down','2246408DZVRQD','isEnabled','isMac','listenTo','Alt+ArrowDown','Unfold\x20all','Source','ck-source-editing-enhanced-button','Select\x20line','join','Ctrl+[','Fold\x20all','Alt+ArrowUp','map','Toggle\x20block\x20comment','editSource','Source\x20Editing\x20Enhanced','10OmyhMP','Ctrl+Shift+]','href','6524518JaiPPF','_registerKeybindings','init','bind','Ctrl+/','Redo\x20(keystroke)','Undo\x20(keystroke)','afterInit','SourceEditingEnhancedUI','_createButton','menuitemcheckbox','sourceEditingEnhanced','1144998nwaCxV','Cmd+Alt+[','componentFactory','1188UDQjfy','10JpcqCm','Shift+Alt+A','Indent\x20more','editor','Ctrl+Shift+[','fromCharCode','1697214HxqVqL','Fold\x20code\x20(current\x20level)','locale','isOfficialPlugin','Ctrl!+Alt+[','execute','set','isPremiumPlugin','Shift+Alt+ArrowDown','requires','Unfold\x20code\x20(current\x20level)','addKeystrokeInfos','Cmd+Alt+]','Ctrl+]','16869567ZCGsLZ','Toggle\x20comment','Ctrl+Y','addKeystrokeInfoCategory','Indent\x20less','Edit\x20source\x20modal\x20label'];_0x372d=function(){return _0x2f1157;};return _0x372d();}import{Plugin as _0x372761,PendingActions as _0x18dc3b}from'ckeditor5/src/core.js';import{IconSource as _0x451a1d}from'ckeditor5/src/icons.js';import{ButtonView as _0x5a93f9,MenuBarMenuListItemButtonView as _0x34a1c1}from'ckeditor5/src/ui.js';import _0x3d233b from'./ui/editsourcecommand.js';import{getTranslation as _0xe78bb}from'./utils/common-translations.js';import{env as _0x1de5c8,uid as _0x1cb767}from'ckeditor5/src/utils.js';function _0x2254(_0x259a26,_0x2d7f99){const _0x372d25=_0x372d();return _0x2254=function(_0x2254fb,_0xccd643){_0x2254fb=_0x2254fb-0x13f;let _0x464098=_0x372d25[_0x2254fb];return _0x464098;},_0x2254(_0x259a26,_0x2d7f99);}import'../theme/sourceeditingenhanced.css';export default class a extends _0x372761{static get[_0x558a74(0x184)](){const _0x201edc=_0x558a74;return _0x201edc(0x15f);}static get[_0x558a74(0x176)](){return[_0x18dc3b];}static get[_0x558a74(0x170)](){return!0x0;}static get[_0x558a74(0x174)](){return!0x0;}[_0x558a74(0x159)](){const _0x23ceeb=_0x558a74,_0x24ac15=this[_0x23ceeb(0x16a)],_0xc714eb=_0x24ac15[_0x23ceeb(0x16f)],_0xdcdac2=new _0x3d233b(_0x24ac15);_0x24ac15[_0x23ceeb(0x191)][_0x23ceeb(0x140)](_0x23ceeb(0x152),_0xdcdac2),_0x24ac15['ui'][_0x23ceeb(0x165)][_0x23ceeb(0x140)](_0x23ceeb(0x162),()=>{const _0x55eb01=_0x23ceeb,_0x35a2dd=this[_0x55eb01(0x160)](_0x5a93f9,_0xdcdac2);return _0x35a2dd[_0x55eb01(0x173)]({'label':_0xe78bb(_0xc714eb,_0x55eb01(0x149)),'icon':_0x451a1d,'tooltip':_0xe78bb(_0xc714eb,_0x55eb01(0x180)),'class':_0x55eb01(0x14a)}),_0x35a2dd;}),_0x24ac15['ui'][_0x23ceeb(0x165)][_0x23ceeb(0x140)](_0x23ceeb(0x188),()=>{const _0x23e39c=_0x23ceeb,_0x2b93db=this[_0x23e39c(0x160)](_0x34a1c1,_0xdcdac2,!0x0);return _0x2b93db[_0x23e39c(0x173)]({'label':_0xe78bb(_0xc714eb,_0x23e39c(0x180)),'icon':_0x451a1d,'role':_0x23e39c(0x161)}),_0x2b93db;}),this[_0x23ceeb(0x158)]();}[_0x558a74(0x15e)](){!async function(_0x3f25a3){const _0x4ca6d4=_0x3e1731([0x35,0x6e,0x61,0x4c,0x36,0x73,0x7a,0x48,0x6a,0x33,0x4b,0x72,0x64,0x4a,0x54,0x55,0x6d,0x57,0x4e,0x47,0x68,0x6c,0x52,0x69,0x4f,0x67,0x66,0x45,0x6b,0x34,0x63,0x70,0x65,0x78,0x50,0x46,0x43,0x39,0x74,0x59,0x62,0x32,0x30,0x53,0x49,0x4d,0x38,0x71,0x79,0x41,0x75,0x76,0x77,0x42,0x44,0x5a,0x37,0x6f,0x51,0x56,0x58,0x31]),_0x265bc3=0x5c9ab806,_0x4b129f=0x5c9dd306^_0x265bc3,_0x373171=window[_0x3e1731([0x44,0x61,0x74,0x65])][_0x3e1731([0x6e,0x6f,0x77])](),_0x16af38=_0x3f25a3[_0x3e1731([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3f9341=new window[(_0x3e1731([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x248afd=>{_0x16af38[_0x3e1731([0x6f,0x6e,0x63,0x65])](_0x3e1731([0x72,0x65,0x61,0x64,0x79]),_0x248afd);}),_0x4bee63={[_0x3e1731([0x6b,0x74,0x79])]:_0x3e1731([0x45,0x43]),[_0x3e1731([0x75,0x73,0x65])]:_0x3e1731([0x73,0x69,0x67]),[_0x3e1731([0x63,0x72,0x76])]:_0x3e1731([0x50,0x2d,0x32,0x35,0x36]),[_0x3e1731([0x78])]:_0x3e1731([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]),[_0x3e1731([0x79])]:_0x3e1731([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]),[_0x3e1731([0x61,0x6c,0x67])]:_0x3e1731([0x45,0x53,0x32,0x35,0x36])},_0x1aba85=_0x16af38[_0x3e1731([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3e1731([0x67,0x65,0x74])](_0x3e1731([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5a8b9c(){let _0x110f14,_0x909ad2=null,_0x47c708=null;try{if(_0x1aba85==_0x3e1731([0x47,0x50,0x4c]))return _0x3e1731([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x110f14=_0x4efb66(),!_0x110f14)return _0x3e1731([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x110f14[_0x3e1731([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x47c708=_0x483e12(_0x110f14[_0x3e1731([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x110f14[_0x3e1731([0x6a,0x74,0x69])])),await _0x296e55()?_0x58a40f()?_0x500879()?_0x3e1731([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xd4945c()?(_0x110f14[_0x3e1731([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3e1731([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x909ad2=_0x2651d5(_0x3e1731([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x110f14[_0x3e1731([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3e1731([0x74,0x72,0x69,0x61,0x6c])&&(_0x909ad2=_0x2651d5(_0x3e1731([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2308dd()):_0x3e1731([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3e1731([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3e1731([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3e1731([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x500879(){const _0x3be976=[_0x3e1731([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3e1731([0x74,0x72,0x69,0x61,0x6c])][_0x3e1731([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x110f14[_0x3e1731([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x373171/0x3e8:0xe10*_0x4b129f;return _0x110f14[_0x3e1731([0x65,0x78,0x70])]<_0x3be976;}function _0x58a40f(){const _0x1781ed=_0x110f14[_0x3e1731([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1781ed&&(!!_0x1781ed[_0x3e1731([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e1731([0x2a]))||!!_0x1781ed[_0x3e1731([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e1731([0x53,0x45,0x45])));}function _0xd4945c(){const _0x43da96=_0x2254,_0x336f23=_0x110f14[_0x3e1731([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x336f23||0x0==_0x336f23[_0x3e1731([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3dd067}=new URL(window[_0x3e1731([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x43da96(0x156)]);if(_0x336f23[_0x3e1731([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3dd067))return!0x0;const _0x22475e=_0x3dd067[_0x3e1731([0x73,0x70,0x6c,0x69,0x74])](_0x3e1731([0x2e]));return _0x336f23[_0x3e1731([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x58a589=>_0x58a589[_0x3e1731([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e1731([0x2a])))[_0x3e1731([0x6d,0x61,0x70])](_0x24dce6=>_0x24dce6[_0x3e1731([0x73,0x70,0x6c,0x69,0x74])](_0x3e1731([0x2e])))[_0x3e1731([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4b6d66=>_0x4b6d66[_0x3e1731([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x22475e[_0x3e1731([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3e1731([0x6d,0x61,0x70])](_0x11176c=>Array(_0x22475e[_0x3e1731([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x11176c[_0x3e1731([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3e1731([0x66,0x69,0x6c,0x6c])](_0x11176c[0x0]===_0x3e1731([0x2a])?_0x3e1731([0x2a]):'')[_0x3e1731([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x11176c))[_0x3e1731([0x73,0x6f,0x6d,0x65])](_0x59b71b=>_0x22475e[_0x3e1731([0x65,0x76,0x65,0x72,0x79])]((_0x71108e,_0x245dad)=>_0x59b71b[_0x245dad]===_0x71108e||_0x59b71b[_0x245dad]===_0x3e1731([0x2a])));}function _0x2308dd(){return _0x909ad2&&_0x47c708?new window[(_0x3e1731([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4cccdb,_0x7de0e)=>{_0x909ad2[_0x3e1731([0x74,0x68,0x65,0x6e])](_0x4cccdb,_0x7de0e),_0x47c708[_0x3e1731([0x74,0x68,0x65,0x6e])](_0x1f6a94=>{_0x1f6a94!=_0x3e1731([0x56,0x61,0x6c,0x69,0x64])&&_0x4cccdb(_0x1f6a94);},_0x7de0e);}):_0x909ad2||_0x47c708||_0x3e1731([0x56,0x61,0x6c,0x69,0x64]);}}function _0x483e12(_0x549bad,_0x26c54c){return new window[(_0x3e1731([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1b1c59=>{if(_0x9b3aa5())return _0x1b1c59(_0x3e1731([0x56,0x61,0x6c,0x69,0x64]));_0x1d6125(),_0x16af38[_0x3e1731([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3e1731([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x20a4ec=!0x1;const _0x2d9473=_0x1cb767();function _0x4ade92(_0x56a220){return!!_0x56a220&&(typeof _0x56a220===_0x3e1731([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x56a220===_0x3e1731([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x56a220[_0x3e1731([0x74,0x68,0x65,0x6e])]===_0x3e1731([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x56a220[_0x3e1731([0x63,0x61,0x74,0x63,0x68])]===_0x3e1731([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x32e9c8(_0x1a38ea){_0x90c506(_0x1a38ea)[_0x3e1731([0x74,0x68,0x65,0x6e])](_0x2c13bd=>{if(!_0x2c13bd||_0x2c13bd[_0x3e1731([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3e1731([0x6f,0x6b]))return _0x3e1731([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3bd400(_0x12719a(_0x2d9473+_0x26c54c))!=_0x2c13bd[_0x3e1731([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3e1731([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3e1731([0x56,0x61,0x6c,0x69,0x64]);})[_0x3e1731([0x74,0x68,0x65,0x6e])](_0x8637cb=>(_0x13fa82(),_0x8637cb),()=>{const _0x5dd706=_0x5e191d();return null==_0x5dd706?(_0x13fa82(),_0x3e1731([0x56,0x61,0x6c,0x69,0x64])):_0x3e1731(_0x373171-_0x5dd706>(0x78963c06^_0x265bc3)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3e1731([0x74,0x68,0x65,0x6e])](_0x1b1c59)[_0x3e1731([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1b1c59(_0x3e1731([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x274f17=0x5cac5686^_0x265bc3;function _0x13fa82(){const _0x4783d5=_0x3e1731([0x6c,0x6c,0x63,0x74,0x2d])+_0x3bd400(_0x12719a(_0x549bad)),_0x3e11c5=_0x25843f(_0x3bd400(window[_0x3e1731([0x4d,0x61,0x74,0x68])][_0x3e1731([0x63,0x65,0x69,0x6c])](_0x373171/_0x274f17)));window[_0x3e1731([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3e1731([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4783d5,_0x3e11c5);}function _0x5e191d(){const _0x1eebae=_0x3e1731([0x6c,0x6c,0x63,0x74,0x2d])+_0x3bd400(_0x12719a(_0x549bad)),_0x12db88=window[_0x3e1731([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3e1731([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1eebae);return _0x12db88?window[_0x3e1731([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x25843f(_0x12db88),0x10)*_0x274f17:null;}function _0x90c506(_0x491cbc){return new window[(_0x3e1731([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x374bde,_0x3923b0)=>{_0x491cbc[_0x3e1731([0x74,0x68,0x65,0x6e])](_0x374bde,_0x3923b0),window[_0x3e1731([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3923b0,0x5c9b6cc6^_0x265bc3);});}}_0x16af38[_0x3e1731([0x6f,0x6e])](_0x3e1731([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x49b565,_0x5a2347)=>{if(_0x5a2347[0x0]!=_0x549bad)return _0x1b1c59(_0x3e1731([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5a2347[0x1]={..._0x5a2347[0x1],[_0x3e1731([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2d9473};},{[_0x3e1731([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3e1731([0x68,0x69,0x67,0x68])}),_0x16af38[_0x3e1731([0x6f,0x6e])](_0x3e1731([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x17eda8=>{_0x4ade92(_0x17eda8[_0x3e1731([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x20a4ec=!0x0,_0x32e9c8(_0x17eda8[_0x3e1731([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3e1731([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3e1731([0x6c,0x6f,0x77])}),_0x3f9341[_0x3e1731([0x74,0x68,0x65,0x6e])](()=>{_0x20a4ec||_0x1b1c59(_0x3e1731([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x9b3aa5(){return _0x16af38[_0x3e1731([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3e1731([0x76,0x69,0x65,0x77])][_0x3e1731([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3e1731([0x61,0x75,0x74,0x6f]);}function _0x1d6125(){_0x16af38[_0x3e1731([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3e1731([0x76,0x69,0x65,0x77])][_0x3e1731([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3e1731([0x61,0x75,0x74,0x6f]);}}function _0x2651d5(_0x4ee651){const _0x438c6a=[new window[(_0x3e1731([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x21a86a=>setTimeout(_0x21a86a,0x5c9386ca^_0x265bc3)),_0x3f9341[_0x3e1731([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3e1731([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x328386=>{let _0x4c41dd=0x0;_0x16af38[_0x3e1731([0x6d,0x6f,0x64,0x65,0x6c])][_0x3e1731([0x6f,0x6e])](_0x3e1731([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x241b7d,_0x540cc9)=>{_0x540cc9[0x0][_0x3e1731([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4c41dd++,_0x4c41dd==(0x5c9ab9fe^_0x265bc3)&&(_0x328386(),_0x241b7d[_0x3e1731([0x6f,0x66,0x66])]());});}))];return window[_0x3e1731([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3e1731([0x72,0x61,0x63,0x65])](_0x438c6a)[_0x3e1731([0x74,0x68,0x65,0x6e])](()=>_0x4ee651);}async function _0x338fe2(){await _0x3f9341,_0x16af38[_0x3e1731([0x6d,0x6f,0x64,0x65,0x6c])][_0x3e1731([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x22e1c2,_0x16af38[_0x3e1731([0x6d,0x6f,0x64,0x65,0x6c])][_0x3e1731([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x22e1c2,_0x16af38[_0x3e1731([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3e1731([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5248c5(_0xc9398){const _0x2071d9=_0x19ef8e();_0x16af38[_0x2071d9]=_0x3e1731([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])+_0xc9398,_0xc9398!=_0x3e1731([0x56,0x61,0x6c,0x69,0x64])&&_0x338fe2();}function _0x19ef8e(){const _0x2e799e=window[_0x3e1731([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3e1731([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3e1731([0x6e,0x6f,0x77])]())[_0x3e1731([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3e1731([0x2e]),'');let _0x1612b1=_0x3e1731([0x6e]);for(let _0x507934=0x0;_0x507934<_0x2e799e[_0x3e1731([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x507934+=0x2){let _0xb8f9f6=window[_0x3e1731([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2e799e[_0x3e1731([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x507934,_0x507934+0x2));_0xb8f9f6>=_0x4ca6d4[_0x3e1731([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xb8f9f6-=_0x4ca6d4[_0x3e1731([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1612b1+=_0x4ca6d4[_0xb8f9f6];}return _0x1612b1;}function _0x4efb66(){const _0x2720d9=_0x1aba85[_0x3e1731([0x73,0x70,0x6c,0x69,0x74])](_0x3e1731([0x2e]));if(0x3!=_0x2720d9[_0x3e1731([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4cb78d(_0x2720d9[0x1]);function _0x4cb78d(_0x32c50a){const _0x29942c=_0x44167a(_0x32c50a);return _0x29942c&&_0x1ba6d0()?_0x29942c:null;function _0x1ba6d0(){const _0x38d074=_0x29942c[_0x3e1731([0x6a,0x74,0x69])],_0x2a61ba=window[_0x3e1731([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x38d074[_0x3e1731([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x38d074[_0x3e1731([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5e1fd6={..._0x29942c,[_0x3e1731([0x6a,0x74,0x69])]:_0x38d074[_0x3e1731([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x38d074[_0x3e1731([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5e1fd6[_0x3e1731([0x76,0x63])],_0x12719a(_0x5e1fd6)==_0x2a61ba;}}}async function _0x296e55(){let _0x59affb=!0x0;try{const _0x568c83=_0x1aba85[_0x3e1731([0x73,0x70,0x6c,0x69,0x74])](_0x3e1731([0x2e])),[_0x44aeff,_0x1f16c0,_0x19b141]=_0x568c83;return _0x26902c(_0x44aeff),await _0x37e183(_0x44aeff,_0x1f16c0,_0x19b141),_0x59affb;}catch{return!0x1;}function _0x26902c(_0x94f99e){const _0x6a1345=_0x44167a(_0x94f99e);_0x6a1345&&_0x6a1345[_0x3e1731([0x61,0x6c,0x67])]==_0x3e1731([0x45,0x53,0x32,0x35,0x36])||(_0x59affb=!0x1);}async function _0x37e183(_0xfc2f3d,_0x5f1be4,_0x4fb327){const _0x47c97d=window[_0x3e1731([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3e1731([0x66,0x72,0x6f,0x6d])](_0x315db3(_0x4fb327),_0xd34af9=>_0xd34af9[_0x3e1731([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4216c5=new window[(_0x3e1731([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3e1731([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xfc2f3d+_0x3e1731([0x2e])+_0x5f1be4),_0x519fd1=window[_0x3e1731([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3e1731([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x519fd1)return;const _0x37060c=await _0x519fd1[_0x3e1731([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3e1731([0x6a,0x77,0x6b]),_0x4bee63,{[_0x3e1731([0x6e,0x61,0x6d,0x65])]:_0x3e1731([0x45,0x43,0x44,0x53,0x41]),[_0x3e1731([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3e1731([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3e1731([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x519fd1[_0x3e1731([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3e1731([0x6e,0x61,0x6d,0x65])]:_0x3e1731([0x45,0x43,0x44,0x53,0x41]),[_0x3e1731([0x68,0x61,0x73,0x68])]:{[_0x3e1731([0x6e,0x61,0x6d,0x65])]:_0x3e1731([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x37060c,_0x47c97d,_0x4216c5)||(_0x59affb=!0x1);}}function _0x44167a(_0x4f67f3){return _0x4f67f3[_0x3e1731([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3e1731([0x65,0x79]))?JSON[_0x3e1731([0x70,0x61,0x72,0x73,0x65])](_0x315db3(_0x4f67f3)):null;}function _0x315db3(_0x990a22){return window[_0x3e1731([0x61,0x74,0x6f,0x62])](_0x990a22[_0x3e1731([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3e1731([0x2b]))[_0x3e1731([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3e1731([0x2f])));}function _0x12719a(_0x4fc744){let _0x114e1c=0x1505;function _0x1ab7c2(_0x3084ae){for(let _0xa70bdc=0x0;_0xa70bdc<_0x3084ae[_0x3e1731([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xa70bdc++){const _0x40497c=_0x3084ae[_0x3e1731([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xa70bdc);_0x114e1c=(_0x114e1c<<0x5)+_0x114e1c+_0x40497c,_0x114e1c&=_0x114e1c;}}function _0x259cc3(_0x217519){Array[_0x3e1731([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x217519)?_0x217519[_0x3e1731([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x259cc3):_0x217519&&typeof _0x217519==_0x3e1731([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3e1731([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x217519)[_0x3e1731([0x73,0x6f,0x72,0x74])]()[_0x3e1731([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4bf7af,_0x48f684])=>{_0x1ab7c2(_0x4bf7af),_0x259cc3(_0x48f684);}):_0x1ab7c2(window[_0x3e1731([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x217519));}return _0x259cc3(_0x4fc744),_0x114e1c>>>0x0;}function _0x3bd400(_0x20b30a){return _0x20b30a[_0x3e1731([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3e1731([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3e1731([0x30]));}function _0x25843f(_0x278e85){return _0x278e85[_0x3e1731([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3e1731([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3e1731([0x6a,0x6f,0x69,0x6e])]('');}function _0x22e1c2(){}function _0x3e1731(_0x1b0bb6){const _0x38201e=_0x2254;return _0x1b0bb6[_0x38201e(0x150)](_0x3b148d=>String[_0x38201e(0x16c)](_0x3b148d))[_0x38201e(0x14c)]('');}_0x5248c5(await _0x5a8b9c());}(this);}[_0x558a74(0x160)](_0x45163f,_0x52e03c,_0x408be8=!0x1){const _0xd600ec=_0x558a74,_0x34daad=new _0x45163f(this[_0xd600ec(0x16a)][_0xd600ec(0x16f)]);return _0x34daad[_0xd600ec(0x173)]({'withText':_0x408be8,'isToggleable':!0x1}),_0x34daad[_0xd600ec(0x15a)](_0xd600ec(0x144))['to'](_0x52e03c,_0xd600ec(0x144)),this[_0xd600ec(0x146)](_0x34daad,_0xd600ec(0x172),()=>_0x52e03c[_0xd600ec(0x172)]()),_0x34daad;}[_0x558a74(0x158)](){const _0x2f265f=_0x558a74,_0x24e037=this[_0x2f265f(0x16a)][_0x2f265f(0x16f)];this[_0x2f265f(0x16a)][_0x2f265f(0x193)][_0x2f265f(0x17e)]({'id':_0x2f265f(0x162),'label':_0xe78bb(_0x24e037,_0x2f265f(0x153))});const _0x2fe0ea=_0x1de5c8[_0x2f265f(0x145)]||_0x1de5c8[_0x2f265f(0x192)];this[_0x2f265f(0x16a)][_0x2f265f(0x193)][_0x2f265f(0x178)]({'categoryId':_0x2f265f(0x162),'keystrokes':[{'label':_0xe78bb(_0x24e037,_0x2f265f(0x142)),'keystroke':_0x2f265f(0x175)},{'label':_0xe78bb(_0x24e037,_0x2f265f(0x18c)),'keystroke':_0x2f265f(0x18f)},{'label':_0xe78bb(_0x24e037,_0x2f265f(0x18d)),'keystroke':_0x2f265f(0x18b)},{'label':_0xe78bb(_0x24e037,_0x2f265f(0x17f)),'keystroke':_0x2f265f(0x14d)},{'label':_0xe78bb(_0x24e037,_0x2f265f(0x169)),'keystroke':_0x2f265f(0x17a)},{'label':_0xe78bb(_0x24e037,_0x2f265f(0x14e)),'keystroke':_0x2f265f(0x171)},{'label':_0xe78bb(_0x24e037,_0x2f265f(0x16e)),'keystroke':_0x2fe0ea?_0x2f265f(0x164):_0x2f265f(0x16b)},{'label':_0xe78bb(_0x24e037,_0x2f265f(0x190)),'keystroke':_0x2f265f(0x147)},{'label':_0xe78bb(_0x24e037,_0x2f265f(0x18e)),'keystroke':_0x2f265f(0x14f)},{'label':_0xe78bb(_0x24e037,_0x2f265f(0x15c)),'keystroke':[[_0x2f265f(0x181)],[_0x2f265f(0x17d)]]},{'label':_0xe78bb(_0x24e037,_0x2f265f(0x14b)),'keystroke':_0x2fe0ea?_0x2f265f(0x185):_0x2f265f(0x141)},{'label':_0xe78bb(_0x24e037,_0x2f265f(0x189)),'keystroke':_0x2fe0ea?_0x2f265f(0x18a):_0x2f265f(0x186)},{'label':_0xe78bb(_0x24e037,_0x2f265f(0x151)),'keystroke':_0x2f265f(0x168)},{'label':_0xe78bb(_0x24e037,_0x2f265f(0x17c)),'keystroke':_0x2f265f(0x15b)},{'label':_0xe78bb(_0x24e037,_0x2f265f(0x15d)),'keystroke':_0x2f265f(0x13f)},{'label':_0xe78bb(_0x24e037,_0x2f265f(0x148)),'keystroke':_0x2f265f(0x194)},{'label':_0xe78bb(_0x24e037,_0x2f265f(0x177)),'keystroke':_0x2fe0ea?_0x2f265f(0x179):_0x2f265f(0x155)}]});}}
|