@ckeditor/ckeditor5-source-editing-enhanced 44.2.0-alpha.4 → 44.2.0-alpha.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/source-editing-enhanced.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +6 -6
- package/src/sourceeditingenhancedui.js +1 -1
- package/src/ui/codeeditorview.js +1 -1
- package/src/ui/editsourcecommand.js +1 -1
- package/src/utils/createcodemirroreditor.js +1 -1
- package/src/utils/format.js +1 -1
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Command as _0x501f0d,PendingActions as _0x38e369,Plugin as _0x2afede,icons as _0x342775}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x363f88,env as _0x467ba2,uid as _0x4f6232}from'@ckeditor/ckeditor5-utils/dist/index.js';import{View as _0xb2b4a9,ButtonView as _0xf845d9,MenuBarMenuListItemButtonView as _0x4f4160}from'@ckeditor/ckeditor5-ui/dist/index.js';import{EditorView as _0x2bd7f5,keymap as _0x280bea,crosshairCursor as _0x1223ab,drawSelection as _0x4b275b,dropCursor as _0x363eb9,lineNumbers as _0x11046b,highlightActiveLine as _0x26b5c0,highlightActiveLineGutter as _0x3bc66f,highlightSpecialChars as _0x5c9062,rectangularSelection as _0x3dc5e7}from'@codemirror/view';import{Compartment as _0x2e7820,Transaction as _0x57f502}from'@codemirror/state';import{foldKeymap as _0x1159f5,bracketMatching as _0x36c803,foldGutter as _0x5d5050,indentOnInput as _0xf93cfe,syntaxHighlighting as _0x4c4846,defaultHighlightStyle as _0x3dc48c}from'@codemirror/language';import{toggleTabFocusMode as _0x3ff685,defaultKeymap as _0x331bb0,historyKeymap as _0x3e2661,indentMore as _0x2733ca,indentLess as _0x59f443,redo as _0x16de45,history as _0xc9dbcc}from'@codemirror/commands';import{closeBracketsKeymap as _0x21111d,completionKeymap as _0x3ee4fa,autocompletion as _0x2acec6,closeBrackets as _0x512ea2}from'@codemirror/autocomplete';import{html as _0x5b2ef7}from'@codemirror/lang-html';import{markdown as _0x3a321b}from'@codemirror/lang-markdown';function f(_0x5e7d87,_0x2f47ba){const t=_0x5e7d87['t'];switch(_0x2f47ba){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 _0x2f47ba;}}function o(_0x1ea34c){const _0x521eab=_0x1ea34c['editing']['view']['document']['roots'],_0x47af2c=_0x521eab['length'];if(0x0===_0x47af2c)throw new _0x363f88('source-editing-enhanced-editor-no-root',_0x1ea34c);if(0x1===_0x47af2c)return _0x521eab['first']['rootName'];return Array['from'](_0x1ea34c['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function Y(_0x278c3b){return $(_0x278c3b)?function(_0xa212ea){const _0x16f875=[{'name':'address','isVoid':!0x1},{'name':'article','isVoid':!0x1},{'name':'aside','isVoid':!0x1},{'name':'blockquote','isVoid':!0x1},{'name':'details','isVoid':!0x1},{'name':'dialog','isVoid':!0x1},{'name':'dd','isVoid':!0x1},{'name':'div','isVoid':!0x1},{'name':'dl','isVoid':!0x1},{'name':'dt','isVoid':!0x1},{'name':'fieldset','isVoid':!0x1},{'name':'figcaption','isVoid':!0x1},{'name':'figure','isVoid':!0x1},{'name':'footer','isVoid':!0x1},{'name':'form','isVoid':!0x1},{'name':'h1','isVoid':!0x1},{'name':'h2','isVoid':!0x1},{'name':'h3','isVoid':!0x1},{'name':'h4','isVoid':!0x1},{'name':'h5','isVoid':!0x1},{'name':'h6','isVoid':!0x1},{'name':'header','isVoid':!0x1},{'name':'hgroup','isVoid':!0x1},{'name':'hr','isVoid':!0x0},{'name':'li','isVoid':!0x1},{'name':'main','isVoid':!0x1},{'name':'nav','isVoid':!0x1},{'name':'ol','isVoid':!0x1},{'name':'p','isVoid':!0x1},{'name':'section','isVoid':!0x1},{'name':'table','isVoid':!0x1},{'name':'tbody','isVoid':!0x1},{'name':'td','isVoid':!0x1},{'name':'th','isVoid':!0x1},{'name':'thead','isVoid':!0x1},{'name':'tr','isVoid':!0x1},{'name':'ul','isVoid':!0x1}],_0x54ef02=_0x16f875['map'](_0x56b0a3=>_0x56b0a3['name'])['join']('|'),_0x2932d2=_0xa212ea['replace'](new RegExp('</?('+_0x54ef02+')(\x20.*?)?>','g'),'\x0a$&\x0a')['replace'](/<br[^>]*>/g,'$&\x0a')['split']('\x0a');let _0x2e1628=0x0,_0x2962cd=!0x1;return _0x2932d2['filter'](_0xfea2ee=>_0xfea2ee['length'])['map'](_0x96c069=>(_0x2962cd=function(_0x26d3d9,_0x2400cb){return new RegExp('<pre(\x20.*?)?>')['test'](_0x26d3d9)?'first':new RegExp('</pre>')['test'](_0x26d3d9)?'last':('first'===_0x2400cb||'middle'===_0x2400cb)&&'middle';}(_0x96c069,_0x2962cd),function(_0xd87d16,_0x3dbcea){return _0x3dbcea['some'](_0x22fca0=>!_0x22fca0['isVoid']&&!!new RegExp('<'+_0x22fca0['name']+'(\x20.*?)?>')['test'](_0xd87d16));}(_0x96c069,_0x16f875)?W(_0x96c069,_0x2e1628++):function(_0x33de59,_0x4ab983){return _0x4ab983['some'](_0x48ece3=>new RegExp('</'+_0x48ece3['name']+'>')['test'](_0x33de59));}(_0x96c069,_0x16f875)?W(_0x96c069,--_0x2e1628):'middle'===_0x2962cd||'last'===_0x2962cd?_0x96c069:W(_0x96c069,_0x2e1628)))['join']('\x0a');}(_0x278c3b):_0x278c3b;}function Z(_0x793ae2){return $(_0x793ae2['replace'](/^[\n\s]*/g,''))?_0x793ae2['replace'](/\s+/g,''):_0x793ae2;}function $(_0x1a7e99){return _0x1a7e99['startsWith']('<');}function W(_0x5d4981,_0x501ce1,_0x3956d9='\x20\x20\x20\x20'){return''+_0x3956d9['repeat'](Math['max'](0x0,_0x501ce1))+_0x5d4981;}function U(_0x441c4c){const _0x3595db=[_0x2bd7f5['lineWrapping'],_0x2acec6(),_0x36c803(),_0x512ea2(),_0x1223ab(),_0x4b275b(),_0x363eb9(),_0x11046b(),_0x5d5050(),_0x26b5c0(),_0x3bc66f(),_0x5c9062(),_0xc9dbcc(),_0xf93cfe(),_0x3dc5e7(),_0x4c4846(_0x3dc48c,{'fallback':!0x0})],_0x2cda28=new _0x2e7820();_0x3595db['push'](_0x2cda28['of'](_0x2bd7f5['editable']['of'](!0x0))),'html'===_0x441c4c['syntaxLanguage']?_0x3595db['push'](_0x5b2ef7()):_0x3595db['push'](_0x3a321b()),_0x441c4c['theme']&&_0x3595db['push'](_0x441c4c['theme']),_0x3595db['push'](_0x280bea['of']([..._0x21111d,..._0x331bb0,..._0x3e2661,..._0x1159f5,..._0x3ee4fa,{'key':'Tab','run':_0x2733ca,'shift':_0x59f443,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-Shift-z','mac':'Cmd-y','run':_0x16de45,'preventDefault':!0x0}]));const _0x2e6197=new _0x2bd7f5({'extensions':_0x3595db,'parent':_0x441c4c['parent']});return _0x3ff685(_0x2e6197),{'focus':()=>{_0x2e6197['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x2e6197['focus']();},'getData':()=>_0x2e6197['state']['doc']['toString'](),'setData':_0xa7183e=>{_0x2e6197['dispatch']({'changes':{'from':0x0,'to':_0x2e6197['state']['doc']['length'],'insert':_0xa7183e},'annotations':_0x57f502['addToHistory']['of'](!0x1)});},'setReadOnly':_0x1647d4=>{_0x2e6197['dispatch']({'effects':[_0x2cda28['reconfigure'](_0x2bd7f5['editable']['of'](!_0x1647d4))]});},'destroy':()=>{_0x2e6197['destroy']();},'instance':_0x2e6197};}class X extends _0xb2b4a9{constructor(_0x5390a4,_0x379ada){super(_0x5390a4),this['_codeEditorApi']=null,this['_options']=_0x379ada,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']=U({'parent':this['element'],'syntaxLanguage':this['_options']['syntaxLanguage'],'theme':this['_options']['theme']}),this['on']('change:isReadOnly',(_0x543e22,_0xe69435,_0x566527)=>{this['setReadOnly'](_0x566527);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0x1e5805){this['_codeEditorApi']['setData'](_0x1e5805);}['setReadOnly'](_0xf30669){this['_codeEditorApi']['setReadOnly'](_0xf30669);}}class d extends _0x501f0d{constructor(_0x3ae0fe){super(_0x3ae0fe),this['affectsData']=!0x1,this['editor']['plugins']['get'](_0x38e369)['on']('change:hasAny',(_0x155fef,_0x25f5a1,_0x2b1627)=>{_0x2b1627?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x2e9c74=this['editor'],_0x7d812e=_0x2e9c74['locale'],_0x4818ca=_0x2e9c74['plugins']['get']('Dialog'),_0x29e66f=o(_0x2e9c74),_0x2ea08a=Y(_0x2e9c74['data']['get']({'rootName':_0x29e66f})),_0xef99a2=new X(_0x7d812e,{'syntaxLanguage':_0x2e9c74['plugins']['has']('Markdown')?'markdown':'html','theme':_0x2e9c74['config']['get']('sourceEditingEnhanced.theme')});let _0x3ec8dd=!0x0;const _0x547c09=_0x5cdfd0=>{if(!_0x3ec8dd)return;return Z(_0xef99a2['getData']())!==Z(_0x2ea08a)?window['confirm'](f(_0x7d812e,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0x5cdfd0['stop']():void 0x0;};_0x4818ca['show']({'id':'sourceEditingEnhanced','title':f(_0x7d812e,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0xef99a2,'actionButtons':[{'label':f(_0x7d812e,'Cancel'),'withText':!0x0,'onExecute':()=>{_0x4818ca['hide']();}},{'label':f(_0x7d812e,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0x3d224a=Z(_0xef99a2['getData']())!==Z(_0x2ea08a);(_0x3d224a&&_0x2e9c74['execute']('replaceSource',_0xef99a2['getData']()),_0x3ec8dd=!0x1,_0x4818ca['hide'](),_0x3d224a&&'editables'in _0x2e9c74['ui']['view'])&&_0x2e9c74['ui']['view']['editables'][_0x29e66f]['element']['focus']();},'onCreate':_0x3bf766=>{_0x3bf766['set']('isEnabled',!_0x2e9c74['isReadOnly']),_0x3bf766['bind']('isEnabled')['to'](_0x2e9c74,'isReadOnly',this,'isEnabled',(_0x3ce91b,_0x49866c)=>!_0x3ce91b&&_0x49866c);}}],'onHide':()=>{_0x4818ca['off']('hide',_0x547c09),_0xef99a2['destroy']();},'onShow':()=>{_0xef99a2['bind']('isReadOnly')['to'](_0x2e9c74,'isReadOnly',this,'isEnabled',(_0x349626,_0x2f16e3)=>_0x349626||!_0x2f16e3),_0xef99a2['setData'](_0x2ea08a),_0xef99a2['focus'](),_0x4818ca['on']('hide',_0x547c09,{'priority':'highest'});}});}}class n extends _0x2afede{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[_0x38e369];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x5318a8=this['editor'],_0x390bfa=_0x5318a8['locale'],_0x386767=new d(_0x5318a8);_0x5318a8['commands']['add']('editSource',_0x386767),_0x5318a8['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0x556291=this['_createButton'](_0xf845d9,_0x386767);return _0x556291['set']({'label':f(_0x390bfa,'Source'),'icon':_0x342775['source'],'tooltip':f(_0x390bfa,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0x556291;}),_0x5318a8['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0x3f512a=this['_createButton'](_0x4f4160,_0x386767,!0x0);return _0x3f512a['set']({'label':f(_0x390bfa,'Edit\x20source\x20modal\x20label'),'icon':_0x342775['source'],'role':'menuitemcheckbox'}),_0x3f512a;}),this['_registerKeybindings']();}['afterInit'](){!async function(_0x23725f){const _0x4d9f13=_0x4cc8ac([0x65,0x6c,0x30,0x31,0x32,0x70,0x4c,0x6f,0x46,0x68,0x57,0x36,0x62,0x77,0x58,0x74,0x56,0x75,0x52,0x50,0x47,0x48,0x54,0x6a,0x39,0x4e,0x4b,0x41,0x45,0x69,0x51,0x59,0x6e,0x5a,0x43,0x38,0x4d,0x42,0x72,0x79,0x55,0x33,0x35,0x61,0x34,0x6b,0x49,0x76,0x66,0x37,0x73,0x4a,0x6d,0x53,0x44,0x78,0x63,0x71,0x7a,0x4f,0x64,0x67]),_0x44532e=0x5c1ec576,_0x63aabb=0x5c199b36^_0x44532e,_0x359490=window[_0x4cc8ac([0x44,0x61,0x74,0x65])][_0x4cc8ac([0x6e,0x6f,0x77])](),_0x2af098=_0x23725f[_0x4cc8ac([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x395416=new window[(_0x4cc8ac([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1a2e6b=>{_0x2af098[_0x4cc8ac([0x6f,0x6e,0x63,0x65])](_0x4cc8ac([0x72,0x65,0x61,0x64,0x79]),_0x1a2e6b);}),_0x48a56b={[_0x4cc8ac([0x6b,0x74,0x79])]:_0x4cc8ac([0x45,0x43]),[_0x4cc8ac([0x75,0x73,0x65])]:_0x4cc8ac([0x73,0x69,0x67]),[_0x4cc8ac([0x63,0x72,0x76])]:_0x4cc8ac([0x50,0x2d,0x32,0x35,0x36]),[_0x4cc8ac([0x78])]:_0x4cc8ac([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]),[_0x4cc8ac([0x79])]:_0x4cc8ac([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]),[_0x4cc8ac([0x61,0x6c,0x67])]:_0x4cc8ac([0x45,0x53,0x32,0x35,0x36])},_0x22bc80=_0x2af098[_0x4cc8ac([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4cc8ac([0x67,0x65,0x74])](_0x4cc8ac([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x345896(){let _0xdd1855,_0xa788e8=null,_0x4d0d26=null;try{if(_0x22bc80==_0x4cc8ac([0x47,0x50,0x4c]))return _0x4cc8ac([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xdd1855=_0x178e7a(),!_0xdd1855)return _0x4cc8ac([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xdd1855[_0x4cc8ac([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4d0d26=_0x45ee52(_0xdd1855[_0x4cc8ac([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xdd1855[_0x4cc8ac([0x6a,0x74,0x69])])),await _0x7907f1()?_0x5e321b()?_0x5dca04()?_0x4cc8ac([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x11a1ce()?(_0xdd1855[_0x4cc8ac([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4cc8ac([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xa788e8=_0x274c9f(_0x4cc8ac([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0xdd1855[_0x4cc8ac([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4cc8ac([0x74,0x72,0x69,0x61,0x6c])&&(_0xa788e8=_0x274c9f(_0x4cc8ac([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x703162()):_0x4cc8ac([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4cc8ac([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4cc8ac([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x1e98ef){return _0x4cc8ac([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5dca04(){const _0x59683d=[_0x4cc8ac([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4cc8ac([0x74,0x72,0x69,0x61,0x6c])][_0x4cc8ac([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xdd1855[_0x4cc8ac([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x359490/0x3e8:0xe10*_0x63aabb;return _0xdd1855[_0x4cc8ac([0x65,0x78,0x70])]<_0x59683d;}function _0x5e321b(){const _0x29b04d=_0xdd1855[_0x4cc8ac([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x29b04d&&(!!_0x29b04d[_0x4cc8ac([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4cc8ac([0x2a]))||!!_0x29b04d[_0x4cc8ac([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4cc8ac([0x53,0x45,0x45])));}function _0x11a1ce(){const _0x2cf20d=_0xdd1855[_0x4cc8ac([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2cf20d||0x0==_0x2cf20d[_0x4cc8ac([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4c80e6}=new URL(window[_0x4cc8ac([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x2cf20d[_0x4cc8ac([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4c80e6))return!0x0;const _0x20366c=_0x4c80e6[_0x4cc8ac([0x73,0x70,0x6c,0x69,0x74])](_0x4cc8ac([0x2e]));return _0x2cf20d[_0x4cc8ac([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x498f4=>_0x498f4[_0x4cc8ac([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4cc8ac([0x2a])))[_0x4cc8ac([0x6d,0x61,0x70])](_0x1527e3=>_0x1527e3[_0x4cc8ac([0x73,0x70,0x6c,0x69,0x74])](_0x4cc8ac([0x2e])))[_0x4cc8ac([0x73,0x6f,0x6d,0x65])](_0xcd0185=>_0x20366c[_0x4cc8ac([0x65,0x76,0x65,0x72,0x79])]((_0x284520,_0x1395d0)=>_0xcd0185[_0x1395d0]===_0x284520||_0xcd0185[_0x1395d0]===_0x4cc8ac([0x2a])));}function _0x703162(){return _0xa788e8&&_0x4d0d26?new window[(_0x4cc8ac([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x43d56f,_0xa9d78f)=>{_0xa788e8[_0x4cc8ac([0x74,0x68,0x65,0x6e])](_0x43d56f,_0xa9d78f),_0x4d0d26[_0x4cc8ac([0x74,0x68,0x65,0x6e])](_0x37c434=>{_0x37c434!=_0x4cc8ac([0x56,0x61,0x6c,0x69,0x64])&&_0x43d56f(_0x37c434);},_0xa9d78f);}):_0xa788e8||_0x4d0d26||_0x4cc8ac([0x56,0x61,0x6c,0x69,0x64]);}}function _0x45ee52(_0x1dc2db,_0x4a05f7){return new window[(_0x4cc8ac([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x55978f=>{if(_0x54bdc7())return _0x55978f(_0x4cc8ac([0x56,0x61,0x6c,0x69,0x64]));_0x2ffded(),_0x2af098[_0x4cc8ac([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4cc8ac([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4d5587=!0x1;const _0x246d45=_0x4f6232();function _0x311650(_0x50584c){return!!_0x50584c&&(typeof _0x50584c===_0x4cc8ac([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x50584c===_0x4cc8ac([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x50584c[_0x4cc8ac([0x74,0x68,0x65,0x6e])]===_0x4cc8ac([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x50584c[_0x4cc8ac([0x63,0x61,0x74,0x63,0x68])]===_0x4cc8ac([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x196e37(_0x288a8b){_0x2c0e29(_0x288a8b)[_0x4cc8ac([0x74,0x68,0x65,0x6e])](_0x5e471f=>{if(!_0x5e471f||_0x5e471f[_0x4cc8ac([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4cc8ac([0x6f,0x6b]))return _0x4cc8ac([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1072aa(_0x45027d(_0x246d45+_0x4a05f7))!=_0x5e471f[_0x4cc8ac([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4cc8ac([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4cc8ac([0x56,0x61,0x6c,0x69,0x64]);})[_0x4cc8ac([0x74,0x68,0x65,0x6e])](_0x1b8b2f=>(_0x23b23a(),_0x1b8b2f),()=>{const _0x4bb970=_0x1c63d2();return null==_0x4bb970?(_0x23b23a(),_0x4cc8ac([0x56,0x61,0x6c,0x69,0x64])):_0x4cc8ac(_0x359490-_0x4bb970>(0x78124176^_0x44532e)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4cc8ac([0x74,0x68,0x65,0x6e])](_0x55978f)[_0x4cc8ac([0x63,0x61,0x74,0x63,0x68])](()=>{_0x55978f(_0x4cc8ac([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4cfb06=0x5c282bf6^_0x44532e;function _0x23b23a(){const _0x43ccba=_0x4cc8ac([0x6c,0x6c,0x63,0x74,0x2d])+_0x1072aa(_0x45027d(_0x1dc2db)),_0x1ae9e5=_0x29decf(_0x1072aa(window[_0x4cc8ac([0x4d,0x61,0x74,0x68])][_0x4cc8ac([0x63,0x65,0x69,0x6c])](_0x359490/_0x4cfb06)));window[_0x4cc8ac([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4cc8ac([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x43ccba,_0x1ae9e5);}function _0x1c63d2(){const _0x155de3=_0x4cc8ac([0x6c,0x6c,0x63,0x74,0x2d])+_0x1072aa(_0x45027d(_0x1dc2db)),_0x166853=window[_0x4cc8ac([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4cc8ac([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x155de3);return _0x166853?window[_0x4cc8ac([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x29decf(_0x166853),0x10)*_0x4cfb06:null;}function _0x2c0e29(_0x3c072c){return new window[(_0x4cc8ac([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xe57020,_0x5c0411)=>{_0x3c072c[_0x4cc8ac([0x74,0x68,0x65,0x6e])](_0xe57020,_0x5c0411),window[_0x4cc8ac([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5c0411,0x5c1f11b6^_0x44532e);});}}_0x2af098[_0x4cc8ac([0x6f,0x6e])](_0x4cc8ac([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2eb55c,_0xceb279)=>{if(_0xceb279[0x0]!=_0x1dc2db)return _0x55978f(_0x4cc8ac([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xceb279[0x1]={..._0xceb279[0x1],[_0x4cc8ac([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x246d45};},{[_0x4cc8ac([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4cc8ac([0x68,0x69,0x67,0x68])}),_0x2af098[_0x4cc8ac([0x6f,0x6e])](_0x4cc8ac([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x20ae75=>{_0x311650(_0x20ae75[_0x4cc8ac([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4d5587=!0x0,_0x196e37(_0x20ae75[_0x4cc8ac([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4cc8ac([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4cc8ac([0x6c,0x6f,0x77])}),_0x395416[_0x4cc8ac([0x74,0x68,0x65,0x6e])](()=>{_0x4d5587||_0x55978f(_0x4cc8ac([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x54bdc7(){return _0x2af098[_0x4cc8ac([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4cc8ac([0x76,0x69,0x65,0x77])][_0x4cc8ac([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4cc8ac([0x61,0x75,0x74,0x6f]);}function _0x2ffded(){_0x2af098[_0x4cc8ac([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4cc8ac([0x76,0x69,0x65,0x77])][_0x4cc8ac([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4cc8ac([0x61,0x75,0x74,0x6f]);}}function _0x274c9f(_0x24d7cc){const _0x3093bf=[new window[(_0x4cc8ac([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5f0c13=>setTimeout(_0x5f0c13,0x5c17fbba^_0x44532e)),_0x395416[_0x4cc8ac([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4cc8ac([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x36e975=>{let _0x3779fb=0x0;_0x2af098[_0x4cc8ac([0x6d,0x6f,0x64,0x65,0x6c])][_0x4cc8ac([0x6f,0x6e])](_0x4cc8ac([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x40b106,_0x312132)=>{_0x312132[0x0][_0x4cc8ac([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3779fb++,_0x3779fb==(0x5c1ec48e^_0x44532e)&&(_0x36e975(),_0x40b106[_0x4cc8ac([0x6f,0x66,0x66])]());});}))];return window[_0x4cc8ac([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4cc8ac([0x72,0x61,0x63,0x65])](_0x3093bf)[_0x4cc8ac([0x74,0x68,0x65,0x6e])](()=>_0x24d7cc);}async function _0x11818d(){await _0x395416,_0x2af098[_0x4cc8ac([0x6d,0x6f,0x64,0x65,0x6c])][_0x4cc8ac([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x30d996,_0x2af098[_0x4cc8ac([0x6d,0x6f,0x64,0x65,0x6c])][_0x4cc8ac([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x30d996,_0x2af098[_0x4cc8ac([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4cc8ac([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1ef8b(_0x4923b7){const _0x5ce0d6=_0x133966();_0x2af098[_0x5ce0d6]=_0x4cc8ac([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])+_0x4923b7,_0x4923b7!=_0x4cc8ac([0x56,0x61,0x6c,0x69,0x64])&&_0x11818d();}function _0x133966(){const _0x232726=window[_0x4cc8ac([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4cc8ac([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4cc8ac([0x6e,0x6f,0x77])]())[_0x4cc8ac([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4cc8ac([0x2e]),'');let _0x4a78f5=_0x4cc8ac([0x65]);for(let _0x20a150=0x0;_0x20a150<_0x232726[_0x4cc8ac([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x20a150+=0x2){let _0x2a0a8c=window[_0x4cc8ac([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x232726[_0x4cc8ac([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x20a150,_0x20a150+0x2));_0x2a0a8c>=_0x4d9f13[_0x4cc8ac([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2a0a8c-=_0x4d9f13[_0x4cc8ac([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4a78f5+=_0x4d9f13[_0x2a0a8c];}return _0x4a78f5;}function _0x178e7a(){const _0x533170=_0x22bc80[_0x4cc8ac([0x73,0x70,0x6c,0x69,0x74])](_0x4cc8ac([0x2e]));if(0x3!=_0x533170[_0x4cc8ac([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5348fb(_0x533170[0x1]);function _0x5348fb(_0xc8df9c){const _0x143fa9=_0x211018(_0xc8df9c);return _0x143fa9&&_0x3bee02()?_0x143fa9:null;function _0x3bee02(){const _0x76c4eb=_0x143fa9[_0x4cc8ac([0x6a,0x74,0x69])],_0x3b5dac=window[_0x4cc8ac([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x76c4eb[_0x4cc8ac([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x76c4eb[_0x4cc8ac([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x29dbd2={..._0x143fa9,[_0x4cc8ac([0x6a,0x74,0x69])]:_0x76c4eb[_0x4cc8ac([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x76c4eb[_0x4cc8ac([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x29dbd2[_0x4cc8ac([0x76,0x63])],_0x45027d(_0x29dbd2)==_0x3b5dac;}}}async function _0x7907f1(){let _0xe7c594=!0x0;try{const _0x56d1ab=_0x22bc80[_0x4cc8ac([0x73,0x70,0x6c,0x69,0x74])](_0x4cc8ac([0x2e])),[_0x3c0b5a,_0x381675,_0x1c086f]=_0x56d1ab;return _0x43681e(_0x3c0b5a),await _0x12367a(_0x3c0b5a,_0x381675,_0x1c086f),_0xe7c594;}catch(_0x454b7b){return!0x1;}function _0x43681e(_0x1bb395){const _0x89ae2f=_0x211018(_0x1bb395);_0x89ae2f&&_0x89ae2f[_0x4cc8ac([0x61,0x6c,0x67])]==_0x4cc8ac([0x45,0x53,0x32,0x35,0x36])||(_0xe7c594=!0x1);}async function _0x12367a(_0x20b94b,_0x8dca6f,_0x46f3f0){const _0x5a73e2=window[_0x4cc8ac([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4cc8ac([0x66,0x72,0x6f,0x6d])](_0x1a4256(_0x46f3f0),_0x39f526=>_0x39f526[_0x4cc8ac([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2b321c=new window[(_0x4cc8ac([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4cc8ac([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x20b94b+_0x4cc8ac([0x2e])+_0x8dca6f),_0x347d2b=window[_0x4cc8ac([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4cc8ac([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x347d2b)return;const _0x5d6405=await _0x347d2b[_0x4cc8ac([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4cc8ac([0x6a,0x77,0x6b]),_0x48a56b,{[_0x4cc8ac([0x6e,0x61,0x6d,0x65])]:_0x4cc8ac([0x45,0x43,0x44,0x53,0x41]),[_0x4cc8ac([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4cc8ac([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4cc8ac([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x347d2b[_0x4cc8ac([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4cc8ac([0x6e,0x61,0x6d,0x65])]:_0x4cc8ac([0x45,0x43,0x44,0x53,0x41]),[_0x4cc8ac([0x68,0x61,0x73,0x68])]:{[_0x4cc8ac([0x6e,0x61,0x6d,0x65])]:_0x4cc8ac([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5d6405,_0x5a73e2,_0x2b321c)||(_0xe7c594=!0x1);}}function _0x211018(_0xdbfa99){return _0xdbfa99[_0x4cc8ac([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4cc8ac([0x65,0x79]))?JSON[_0x4cc8ac([0x70,0x61,0x72,0x73,0x65])](_0x1a4256(_0xdbfa99)):null;}function _0x1a4256(_0x59ec47){return window[_0x4cc8ac([0x61,0x74,0x6f,0x62])](_0x59ec47[_0x4cc8ac([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4cc8ac([0x2b]))[_0x4cc8ac([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4cc8ac([0x2f])));}function _0x45027d(_0x1dd877){let _0x231c67=0x1505;function _0x37b42a(_0x4218f5){for(let _0xbe24ef=0x0;_0xbe24ef<_0x4218f5[_0x4cc8ac([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xbe24ef++){const _0x1504d5=_0x4218f5[_0x4cc8ac([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xbe24ef);_0x231c67=(_0x231c67<<0x5)+_0x231c67+_0x1504d5,_0x231c67&=_0x231c67;}}function _0x5be00b(_0x11ef6a){Array[_0x4cc8ac([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x11ef6a)?_0x11ef6a[_0x4cc8ac([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5be00b):_0x11ef6a&&typeof _0x11ef6a==_0x4cc8ac([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4cc8ac([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x11ef6a)[_0x4cc8ac([0x73,0x6f,0x72,0x74])]()[_0x4cc8ac([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x243e70,_0x2c87d4])=>{_0x37b42a(_0x243e70),_0x5be00b(_0x2c87d4);}):_0x37b42a(window[_0x4cc8ac([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x11ef6a));}return _0x5be00b(_0x1dd877),_0x231c67>>>0x0;}function _0x1072aa(_0x512389){return _0x512389[_0x4cc8ac([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4cc8ac([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4cc8ac([0x30]));}function _0x29decf(_0xeb4cd9){return _0xeb4cd9[_0x4cc8ac([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4cc8ac([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4cc8ac([0x6a,0x6f,0x69,0x6e])]('');}function _0x30d996(){}function _0x4cc8ac(_0x3816f4){return _0x3816f4['map'](_0x3df713=>String['fromCharCode'](_0x3df713))['join']('');}_0x1ef8b(await _0x345896());}(this);}['_createButton'](_0x131384,_0x5654c8,_0x123996=!0x1){const _0x4d954e=new _0x131384(this['editor']['locale']);return _0x4d954e['set']({'withText':_0x123996,'isToggleable':!0x1}),_0x4d954e['bind']('isEnabled')['to'](_0x5654c8,'isEnabled'),this['listenTo'](_0x4d954e,'execute',()=>_0x5654c8['execute']()),_0x4d954e;}['_registerKeybindings'](){const _0x4a4e6d=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':f(_0x4a4e6d,'Source\x20Editing\x20Enhanced')});const _0x480270=_0x467ba2['isMac']||_0x467ba2['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':f(_0x4a4e6d,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':f(_0x4a4e6d,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':f(_0x4a4e6d,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':f(_0x4a4e6d,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':f(_0x4a4e6d,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':f(_0x4a4e6d,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':f(_0x4a4e6d,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x480270?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':f(_0x4a4e6d,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':f(_0x4a4e6d,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':f(_0x4a4e6d,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':f(_0x4a4e6d,'Select\x20line'),'keystroke':_0x480270?'Ctrl!+L':'Alt+L'},{'label':f(_0x4a4e6d,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x480270?'Alt+Shift+M':'Ctrl+M'},{'label':f(_0x4a4e6d,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':f(_0x4a4e6d,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':f(_0x4a4e6d,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':f(_0x4a4e6d,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':f(_0x4a4e6d,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x480270?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}class s extends _0x501f0d{constructor(_0x2c2ce7){super(_0x2c2ce7),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0x33d76b,_0x81a966){var _0x49f0d5;const _0x52c7ea=this['editor'],_0x360252=null!==(_0x49f0d5=null==_0x81a966?void 0x0:_0x81a966['rootName'])&&void 0x0!==_0x49f0d5?_0x49f0d5:o(_0x52c7ea);_0x52c7ea['data']['set']({[_0x360252]:_0x33d76b},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}class a extends _0x2afede{static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[n];}constructor(_0x189dc5){super(_0x189dc5),_0x189dc5['config']['define']('sourceEditingEnhanced.allowCollaborationFeatures',!0x1);}['init'](){this['_checkCompatibility'](),this['editor']['commands']['add']('replaceSource',new s(this['editor'])),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x223f3e=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x137f01;for(const _0xadb838 in _0x223f3e){const _0x4e6b24=_0xadb838,_0x37efae=_0x223f3e[_0x4e6b24];if('sourceEditingEnhancedLicenseKeyValid'==_0x37efae||'sourceEditingEnhancedLicenseKeyInvalid'==_0x37efae||'sourceEditingEnhancedLicenseKeyExpired'==_0x37efae||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x37efae||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x37efae||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x37efae||'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x37efae||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x37efae){delete _0x223f3e[_0x4e6b24],_0x137f01=_0x37efae,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0x137f01&&_0x223f3e['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0x137f01&&_0x223f3e['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x137f01&&_0x223f3e['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x137f01&&_0x223f3e['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x137f01&&_0x223f3e['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x137f01&&_0x223f3e['_showLicenseError']('trialLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x137f01&&_0x223f3e['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0x4af957=this['editor'],_0x129115=_0x4af957['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0x129115&&_0x4af957['plugins']['has']('RealTimeCollaborativeEditing'))throw new _0x363f88('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0x129115&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x3c2443=>_0x4af957['plugins']['has'](_0x3c2443))&&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.'),_0x4af957['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,s as ReplaceSourceCommand,a as SourceEditingEnhanced};
|
|
23
|
+
import{Command as _0x5c1373,PendingActions as _0x515bed,Plugin as _0x2483dd,icons as _0xd5b0a5}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x256425,env as _0x38319d,uid as _0x2f4d4e}from'@ckeditor/ckeditor5-utils/dist/index.js';import{View as _0x1deb17,ButtonView as _0x1125f4,MenuBarMenuListItemButtonView as _0x39c8c4}from'@ckeditor/ckeditor5-ui/dist/index.js';import{EditorView as _0x573a64,crosshairCursor as _0x33b694,drawSelection as _0x43333d,dropCursor as _0x4f4ffc,lineNumbers as _0xeb3fa4,highlightActiveLine as _0x35dd93,highlightActiveLineGutter as _0x26bd12,highlightSpecialChars as _0x2d98a7,rectangularSelection as _0x16e49a,keymap as _0x298785}from'@codemirror/view';import{Compartment as _0x439516,Transaction as _0x457f99}from'@codemirror/state';import{bracketMatching as _0x37b65a,foldGutter as _0x4d3b27,indentOnInput as _0x3c3bef,syntaxHighlighting as _0x1ab489,defaultHighlightStyle as _0x4c2e42,foldKeymap as _0x36f533}from'@codemirror/language';import{toggleTabFocusMode as _0x34602f,history as _0x1d2a17,defaultKeymap as _0x208f01,historyKeymap as _0x3435df,indentLess as _0x594521,indentMore as _0x87c506,redo as _0x4ebc7c}from'@codemirror/commands';import{autocompletion as _0x906c54,closeBrackets as _0x31b9f4,closeBracketsKeymap as _0x43482c,completionKeymap as _0x5034a8}from'@codemirror/autocomplete';import{html as _0x4d4fa2}from'@codemirror/lang-html';import{markdown as _0x3f764e}from'@codemirror/lang-markdown';function f(_0x45288c,_0x1e4163){const t=_0x45288c['t'];switch(_0x1e4163){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 _0x1e4163;}}function o(_0xe1536b){const _0x552168=_0xe1536b['editing']['view']['document']['roots'],_0xefd6e9=_0x552168['length'];if(0x0===_0xefd6e9)throw new _0x256425('source-editing-enhanced-editor-no-root',_0xe1536b);if(0x1===_0xefd6e9)return _0x552168['first']['rootName'];return Array['from'](_0xe1536b['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function g(_0x5a8ebb){return $(_0x5a8ebb)?function(_0x41d81b){const _0x1f7c12=[{'name':'address','isVoid':!0x1},{'name':'article','isVoid':!0x1},{'name':'aside','isVoid':!0x1},{'name':'blockquote','isVoid':!0x1},{'name':'details','isVoid':!0x1},{'name':'dialog','isVoid':!0x1},{'name':'dd','isVoid':!0x1},{'name':'div','isVoid':!0x1},{'name':'dl','isVoid':!0x1},{'name':'dt','isVoid':!0x1},{'name':'fieldset','isVoid':!0x1},{'name':'figcaption','isVoid':!0x1},{'name':'figure','isVoid':!0x1},{'name':'footer','isVoid':!0x1},{'name':'form','isVoid':!0x1},{'name':'h1','isVoid':!0x1},{'name':'h2','isVoid':!0x1},{'name':'h3','isVoid':!0x1},{'name':'h4','isVoid':!0x1},{'name':'h5','isVoid':!0x1},{'name':'h6','isVoid':!0x1},{'name':'header','isVoid':!0x1},{'name':'hgroup','isVoid':!0x1},{'name':'hr','isVoid':!0x0},{'name':'li','isVoid':!0x1},{'name':'main','isVoid':!0x1},{'name':'nav','isVoid':!0x1},{'name':'ol','isVoid':!0x1},{'name':'p','isVoid':!0x1},{'name':'section','isVoid':!0x1},{'name':'table','isVoid':!0x1},{'name':'tbody','isVoid':!0x1},{'name':'td','isVoid':!0x1},{'name':'th','isVoid':!0x1},{'name':'thead','isVoid':!0x1},{'name':'tr','isVoid':!0x1},{'name':'ul','isVoid':!0x1}],_0x20f900=_0x1f7c12['map'](_0x5e22ac=>_0x5e22ac['name'])['join']('|'),_0x770fcb=_0x41d81b['replace'](new RegExp('</?('+_0x20f900+')(\x20.*?)?>','g'),'\x0a$&\x0a')['replace'](/<br[^>]*>/g,'$&\x0a')['split']('\x0a');let _0x586d3b=0x0,_0x1a9421=!0x1;return _0x770fcb['filter'](_0x4b7433=>_0x4b7433['length'])['map'](_0x1193d9=>(_0x1a9421=function(_0x3525cb,_0x465c36){return new RegExp('<pre(\x20.*?)?>')['test'](_0x3525cb)?'first':new RegExp('</pre>')['test'](_0x3525cb)?'last':('first'===_0x465c36||'middle'===_0x465c36)&&'middle';}(_0x1193d9,_0x1a9421),function(_0x5ec6be,_0x2e3c4c){return _0x2e3c4c['some'](_0x213955=>!_0x213955['isVoid']&&!!new RegExp('<'+_0x213955['name']+'(\x20.*?)?>')['test'](_0x5ec6be));}(_0x1193d9,_0x1f7c12)?_(_0x1193d9,_0x586d3b++):function(_0x1a308a,_0x5d29f6){return _0x5d29f6['some'](_0x2d2a6d=>new RegExp('</'+_0x2d2a6d['name']+'>')['test'](_0x1a308a));}(_0x1193d9,_0x1f7c12)?_(_0x1193d9,--_0x586d3b):'middle'===_0x1a9421||'last'===_0x1a9421?_0x1193d9:_(_0x1193d9,_0x586d3b)))['join']('\x0a');}(_0x5a8ebb):_0x5a8ebb;}function E(_0x1a4894){return $(_0x1a4894['replace'](/^[\n\s]*/g,''))?_0x1a4894['replace'](/\s+/g,''):_0x1a4894;}function $(_0x9946c7){return _0x9946c7['startsWith']('<');}function _(_0x3a45ac,_0x17bfd1,_0x574c20='\x20\x20\x20\x20'){return''+_0x574c20['repeat'](Math['max'](0x0,_0x17bfd1))+_0x3a45ac;}function p(_0x482df7){const _0x50b8b1=[_0x573a64['lineWrapping'],_0x906c54(),_0x37b65a(),_0x31b9f4(),_0x33b694(),_0x43333d(),_0x4f4ffc(),_0xeb3fa4(),_0x4d3b27(),_0x35dd93(),_0x26bd12(),_0x2d98a7(),_0x1d2a17(),_0x3c3bef(),_0x16e49a(),_0x1ab489(_0x4c2e42,{'fallback':!0x0})],_0x549d20=new _0x439516();_0x50b8b1['push'](_0x549d20['of'](_0x573a64['editable']['of'](!0x0))),'html'===_0x482df7['syntaxLanguage']?_0x50b8b1['push'](_0x4d4fa2()):_0x50b8b1['push'](_0x3f764e()),_0x482df7['theme']&&_0x50b8b1['push'](_0x482df7['theme']),_0x50b8b1['push'](_0x298785['of']([..._0x43482c,..._0x208f01,..._0x3435df,..._0x36f533,..._0x5034a8,{'key':'Tab','run':_0x87c506,'shift':_0x594521,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-Shift-z','mac':'Cmd-y','run':_0x4ebc7c,'preventDefault':!0x0}]));const _0x555b9d=new _0x573a64({'extensions':_0x50b8b1,'parent':_0x482df7['parent']});return _0x34602f(_0x555b9d),{'focus':()=>{_0x555b9d['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x555b9d['focus']();},'getData':()=>_0x555b9d['state']['doc']['toString'](),'setData':_0x465770=>{_0x555b9d['dispatch']({'changes':{'from':0x0,'to':_0x555b9d['state']['doc']['length'],'insert':_0x465770},'annotations':_0x457f99['addToHistory']['of'](!0x1)});},'setReadOnly':_0x206bb5=>{_0x555b9d['dispatch']({'effects':[_0x549d20['reconfigure'](_0x573a64['editable']['of'](!_0x206bb5))]});},'destroy':()=>{_0x555b9d['destroy']();},'instance':_0x555b9d};}class m extends _0x1deb17{constructor(_0x5d4376,_0x4d1459){super(_0x5d4376),this['_codeEditorApi']=null,this['_options']=_0x4d1459,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',(_0x3786ce,_0x76d601,_0x148f4b)=>{this['setReadOnly'](_0x148f4b);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0x4ec7bb){this['_codeEditorApi']['setData'](_0x4ec7bb);}['setReadOnly'](_0x58648d){this['_codeEditorApi']['setReadOnly'](_0x58648d);}}class d extends _0x5c1373{constructor(_0x19ce69){super(_0x19ce69),this['affectsData']=!0x1,this['editor']['plugins']['get'](_0x515bed)['on']('change:hasAny',(_0x3e319d,_0x1a99ab,_0x46ad12)=>{_0x46ad12?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x3ec4ef=this['editor'],_0x53de76=_0x3ec4ef['locale'],_0x319d80=_0x3ec4ef['plugins']['get']('Dialog'),_0xa093f5=o(_0x3ec4ef),_0x2abc44=g(_0x3ec4ef['data']['get']({'rootName':_0xa093f5})),_0x1b39bd=new m(_0x53de76,{'syntaxLanguage':_0x3ec4ef['plugins']['has']('Markdown')?'markdown':'html','theme':_0x3ec4ef['config']['get']('sourceEditingEnhanced.theme')});let _0x591aae=!0x0;const _0x46ff57=_0x1c87d8=>{if(!_0x591aae)return;return E(_0x1b39bd['getData']())!==E(_0x2abc44)?window['confirm'](f(_0x53de76,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0x1c87d8['stop']():void 0x0;};_0x319d80['show']({'id':'sourceEditingEnhanced','title':f(_0x53de76,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0x1b39bd,'actionButtons':[{'label':f(_0x53de76,'Cancel'),'withText':!0x0,'onExecute':()=>{_0x319d80['hide']();}},{'label':f(_0x53de76,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0x40a33d=E(_0x1b39bd['getData']())!==E(_0x2abc44);(_0x40a33d&&_0x3ec4ef['execute']('replaceSource',_0x1b39bd['getData']()),_0x591aae=!0x1,_0x319d80['hide'](),_0x40a33d&&'editables'in _0x3ec4ef['ui']['view'])&&_0x3ec4ef['ui']['view']['editables'][_0xa093f5]['element']['focus']();},'onCreate':_0x118e50=>{_0x118e50['set']('isEnabled',!_0x3ec4ef['isReadOnly']),_0x118e50['bind']('isEnabled')['to'](_0x3ec4ef,'isReadOnly',this,'isEnabled',(_0x235f19,_0x397357)=>!_0x235f19&&_0x397357);}}],'onHide':()=>{_0x319d80['off']('hide',_0x46ff57),_0x1b39bd['destroy']();},'onShow':()=>{_0x1b39bd['bind']('isReadOnly')['to'](_0x3ec4ef,'isReadOnly',this,'isEnabled',(_0x5f401d,_0x3397a0)=>_0x5f401d||!_0x3397a0),_0x1b39bd['setData'](_0x2abc44),_0x1b39bd['focus'](),_0x319d80['on']('hide',_0x46ff57,{'priority':'highest'});}});}}class n extends _0x2483dd{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[_0x515bed];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x103a5e=this['editor'],_0x516d69=_0x103a5e['locale'],_0x1fa04a=new d(_0x103a5e);_0x103a5e['commands']['add']('editSource',_0x1fa04a),_0x103a5e['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0x10e587=this['_createButton'](_0x1125f4,_0x1fa04a);return _0x10e587['set']({'label':f(_0x516d69,'Source'),'icon':_0xd5b0a5['source'],'tooltip':f(_0x516d69,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0x10e587;}),_0x103a5e['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0x4b411c=this['_createButton'](_0x39c8c4,_0x1fa04a,!0x0);return _0x4b411c['set']({'label':f(_0x516d69,'Edit\x20source\x20modal\x20label'),'icon':_0xd5b0a5['source'],'role':'menuitemcheckbox'}),_0x4b411c;}),this['_registerKeybindings']();}['afterInit'](){!async function(_0x144d99){const _0x2d36e6=_0x5d4e09([0x6f,0x50,0x61,0x4c,0x67,0x30,0x32,0x4a,0x37,0x69,0x53,0x33,0x78,0x49,0x57,0x47,0x75,0x42,0x71,0x54,0x65,0x38,0x4f,0x59,0x6a,0x45,0x46,0x34,0x68,0x58,0x48,0x4b,0x73,0x51,0x70,0x76,0x39,0x41,0x72,0x56,0x62,0x6d,0x55,0x5a,0x66,0x43,0x31,0x64,0x77,0x35,0x79,0x4d,0x6c,0x6e,0x36,0x52,0x44,0x7a,0x63,0x6b,0x74,0x4e]),_0x372a1e=0x6e0fe0c5,_0x1f3072=0x6e08be9d^_0x372a1e,_0x965b9a=window[_0x5d4e09([0x44,0x61,0x74,0x65])][_0x5d4e09([0x6e,0x6f,0x77])](),_0x48cc2a=_0x144d99[_0x5d4e09([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x124c24=new window[(_0x5d4e09([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1774d1=>{_0x48cc2a[_0x5d4e09([0x6f,0x6e,0x63,0x65])](_0x5d4e09([0x72,0x65,0x61,0x64,0x79]),_0x1774d1);}),_0x486efc={[_0x5d4e09([0x6b,0x74,0x79])]:_0x5d4e09([0x45,0x43]),[_0x5d4e09([0x75,0x73,0x65])]:_0x5d4e09([0x73,0x69,0x67]),[_0x5d4e09([0x63,0x72,0x76])]:_0x5d4e09([0x50,0x2d,0x32,0x35,0x36]),[_0x5d4e09([0x78])]:_0x5d4e09([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]),[_0x5d4e09([0x79])]:_0x5d4e09([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]),[_0x5d4e09([0x61,0x6c,0x67])]:_0x5d4e09([0x45,0x53,0x32,0x35,0x36])},_0x1c2e94=_0x48cc2a[_0x5d4e09([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5d4e09([0x67,0x65,0x74])](_0x5d4e09([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1652f3(){let _0x9e13b0,_0x1aae71=null,_0x48c7dc=null;try{if(_0x1c2e94==_0x5d4e09([0x47,0x50,0x4c]))return _0x5d4e09([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x9e13b0=_0x1d0327(),!_0x9e13b0)return _0x5d4e09([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x9e13b0[_0x5d4e09([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x48c7dc=_0x46b92f(_0x9e13b0[_0x5d4e09([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x9e13b0[_0x5d4e09([0x6a,0x74,0x69])])),await _0x35da21()?_0x3dc08d()?_0x5b6ac0()?_0x5d4e09([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x261201()?(_0x9e13b0[_0x5d4e09([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5d4e09([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1aae71=_0x3b7bc2(_0x5d4e09([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x9e13b0[_0x5d4e09([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5d4e09([0x74,0x72,0x69,0x61,0x6c])&&(_0x1aae71=_0x3b7bc2(_0x5d4e09([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5a43d0()):_0x5d4e09([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5d4e09([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5d4e09([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x42c428){return _0x5d4e09([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5b6ac0(){const _0x4f8781=[_0x5d4e09([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5d4e09([0x74,0x72,0x69,0x61,0x6c])][_0x5d4e09([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x9e13b0[_0x5d4e09([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x965b9a/0x3e8:0xe10*_0x1f3072;return _0x9e13b0[_0x5d4e09([0x65,0x78,0x70])]<_0x4f8781;}function _0x3dc08d(){const _0x95fd25=_0x9e13b0[_0x5d4e09([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x95fd25&&(!!_0x95fd25[_0x5d4e09([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5d4e09([0x2a]))||!!_0x95fd25[_0x5d4e09([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5d4e09([0x53,0x45,0x45])));}function _0x261201(){const _0x4df381=_0x9e13b0[_0x5d4e09([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4df381||0x0==_0x4df381[_0x5d4e09([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x511c64}=new URL(window[_0x5d4e09([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x4df381[_0x5d4e09([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x511c64))return!0x0;const _0x897750=_0x511c64[_0x5d4e09([0x73,0x70,0x6c,0x69,0x74])](_0x5d4e09([0x2e]));return _0x4df381[_0x5d4e09([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3b1bcd=>_0x3b1bcd[_0x5d4e09([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5d4e09([0x2a])))[_0x5d4e09([0x6d,0x61,0x70])](_0x39f3ad=>_0x39f3ad[_0x5d4e09([0x73,0x70,0x6c,0x69,0x74])](_0x5d4e09([0x2e])))[_0x5d4e09([0x73,0x6f,0x6d,0x65])](_0x129f08=>_0x897750[_0x5d4e09([0x65,0x76,0x65,0x72,0x79])]((_0x2648e4,_0x417f0a)=>_0x129f08[_0x417f0a]===_0x2648e4||_0x129f08[_0x417f0a]===_0x5d4e09([0x2a])));}function _0x5a43d0(){return _0x1aae71&&_0x48c7dc?new window[(_0x5d4e09([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x145910,_0x1f3bc8)=>{_0x1aae71[_0x5d4e09([0x74,0x68,0x65,0x6e])](_0x145910,_0x1f3bc8),_0x48c7dc[_0x5d4e09([0x74,0x68,0x65,0x6e])](_0x35bbba=>{_0x35bbba!=_0x5d4e09([0x56,0x61,0x6c,0x69,0x64])&&_0x145910(_0x35bbba);},_0x1f3bc8);}):_0x1aae71||_0x48c7dc||_0x5d4e09([0x56,0x61,0x6c,0x69,0x64]);}}function _0x46b92f(_0x1664ea,_0x10495f){return new window[(_0x5d4e09([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1d3ae9=>{if(_0x558a72())return _0x1d3ae9(_0x5d4e09([0x56,0x61,0x6c,0x69,0x64]));_0x1c8b56(),_0x48cc2a[_0x5d4e09([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5d4e09([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4c0788=!0x1;const _0x15a0ac=_0x2f4d4e();function _0x27e5f3(_0x2ad578){return!!_0x2ad578&&(typeof _0x2ad578===_0x5d4e09([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2ad578===_0x5d4e09([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2ad578[_0x5d4e09([0x74,0x68,0x65,0x6e])]===_0x5d4e09([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2ad578[_0x5d4e09([0x63,0x61,0x74,0x63,0x68])]===_0x5d4e09([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x474535(_0x379c69){_0x4c728b(_0x379c69)[_0x5d4e09([0x74,0x68,0x65,0x6e])](_0x15d0c7=>{if(!_0x15d0c7||_0x15d0c7[_0x5d4e09([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5d4e09([0x6f,0x6b]))return _0x5d4e09([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x171a79(_0x691b3c(_0x15a0ac+_0x10495f))!=_0x15d0c7[_0x5d4e09([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5d4e09([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5d4e09([0x56,0x61,0x6c,0x69,0x64]);})[_0x5d4e09([0x74,0x68,0x65,0x6e])](_0x43b452=>(_0x1688d2(),_0x43b452),()=>{const _0x278330=_0x5b1d8f();return null==_0x278330?(_0x1688d2(),_0x5d4e09([0x56,0x61,0x6c,0x69,0x64])):_0x5d4e09(_0x965b9a-_0x278330>(0x4a0364c5^_0x372a1e)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5d4e09([0x74,0x68,0x65,0x6e])](_0x1d3ae9)[_0x5d4e09([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1d3ae9(_0x5d4e09([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4580da=0x6e390e45^_0x372a1e;function _0x1688d2(){const _0x6657d1=_0x5d4e09([0x6c,0x6c,0x63,0x74,0x2d])+_0x171a79(_0x691b3c(_0x1664ea)),_0x416b50=_0x38feee(_0x171a79(window[_0x5d4e09([0x4d,0x61,0x74,0x68])][_0x5d4e09([0x63,0x65,0x69,0x6c])](_0x965b9a/_0x4580da)));window[_0x5d4e09([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5d4e09([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x6657d1,_0x416b50);}function _0x5b1d8f(){const _0x215a67=_0x5d4e09([0x6c,0x6c,0x63,0x74,0x2d])+_0x171a79(_0x691b3c(_0x1664ea)),_0x4e6d66=window[_0x5d4e09([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5d4e09([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x215a67);return _0x4e6d66?window[_0x5d4e09([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x38feee(_0x4e6d66),0x10)*_0x4580da:null;}function _0x4c728b(_0x5ac97e){return new window[(_0x5d4e09([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x491373,_0x58c0f1)=>{_0x5ac97e[_0x5d4e09([0x74,0x68,0x65,0x6e])](_0x491373,_0x58c0f1),window[_0x5d4e09([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x58c0f1,0x6e0e3405^_0x372a1e);});}}_0x48cc2a[_0x5d4e09([0x6f,0x6e])](_0x5d4e09([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x49acb0,_0x266828)=>{if(_0x266828[0x0]!=_0x1664ea)return _0x1d3ae9(_0x5d4e09([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x266828[0x1]={..._0x266828[0x1],[_0x5d4e09([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x15a0ac};},{[_0x5d4e09([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5d4e09([0x68,0x69,0x67,0x68])}),_0x48cc2a[_0x5d4e09([0x6f,0x6e])](_0x5d4e09([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1470e3=>{_0x27e5f3(_0x1470e3[_0x5d4e09([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4c0788=!0x0,_0x474535(_0x1470e3[_0x5d4e09([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5d4e09([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5d4e09([0x6c,0x6f,0x77])}),_0x124c24[_0x5d4e09([0x74,0x68,0x65,0x6e])](()=>{_0x4c0788||_0x1d3ae9(_0x5d4e09([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x558a72(){return _0x48cc2a[_0x5d4e09([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5d4e09([0x76,0x69,0x65,0x77])][_0x5d4e09([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5d4e09([0x61,0x75,0x74,0x6f]);}function _0x1c8b56(){_0x48cc2a[_0x5d4e09([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5d4e09([0x76,0x69,0x65,0x77])][_0x5d4e09([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5d4e09([0x61,0x75,0x74,0x6f]);}}function _0x3b7bc2(_0x486563){const _0x3d25e7=[new window[(_0x5d4e09([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4181c0=>setTimeout(_0x4181c0,0x6e06de09^_0x372a1e)),_0x124c24[_0x5d4e09([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5d4e09([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4d4389=>{let _0x4556e8=0x0;_0x48cc2a[_0x5d4e09([0x6d,0x6f,0x64,0x65,0x6c])][_0x5d4e09([0x6f,0x6e])](_0x5d4e09([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2a5857,_0x59d8dd)=>{_0x59d8dd[0x0][_0x5d4e09([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4556e8++,_0x4556e8==(0x6e0fe13d^_0x372a1e)&&(_0x4d4389(),_0x2a5857[_0x5d4e09([0x6f,0x66,0x66])]());});}))];return window[_0x5d4e09([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5d4e09([0x72,0x61,0x63,0x65])](_0x3d25e7)[_0x5d4e09([0x74,0x68,0x65,0x6e])](()=>_0x486563);}async function _0x48123c(){await _0x124c24,_0x48cc2a[_0x5d4e09([0x6d,0x6f,0x64,0x65,0x6c])][_0x5d4e09([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x32bfbc,_0x48cc2a[_0x5d4e09([0x6d,0x6f,0x64,0x65,0x6c])][_0x5d4e09([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x32bfbc,_0x48cc2a[_0x5d4e09([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5d4e09([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3fd7d3(_0x62e81f){const _0x120fc=_0xdd13d9();_0x48cc2a[_0x120fc]=_0x5d4e09([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])+_0x62e81f,_0x62e81f!=_0x5d4e09([0x56,0x61,0x6c,0x69,0x64])&&_0x48123c();}function _0xdd13d9(){const _0x4e96f3=window[_0x5d4e09([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5d4e09([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5d4e09([0x6e,0x6f,0x77])]())[_0x5d4e09([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5d4e09([0x2e]),'');let _0x2072ad=_0x5d4e09([0x6f]);for(let _0x2b88cd=0x0;_0x2b88cd<_0x4e96f3[_0x5d4e09([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2b88cd+=0x2){let _0x391300=window[_0x5d4e09([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4e96f3[_0x5d4e09([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2b88cd,_0x2b88cd+0x2));_0x391300>=_0x2d36e6[_0x5d4e09([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x391300-=_0x2d36e6[_0x5d4e09([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2072ad+=_0x2d36e6[_0x391300];}return _0x2072ad;}function _0x1d0327(){const _0xc925e7=_0x1c2e94[_0x5d4e09([0x73,0x70,0x6c,0x69,0x74])](_0x5d4e09([0x2e]));if(0x3!=_0xc925e7[_0x5d4e09([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4086b1(_0xc925e7[0x1]);function _0x4086b1(_0x5ed1ac){const _0x19f59a=_0x39af64(_0x5ed1ac);return _0x19f59a&&_0x211ff2()?_0x19f59a:null;function _0x211ff2(){const _0x384d28=_0x19f59a[_0x5d4e09([0x6a,0x74,0x69])],_0x2ce09a=window[_0x5d4e09([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x384d28[_0x5d4e09([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x384d28[_0x5d4e09([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x183635={..._0x19f59a,[_0x5d4e09([0x6a,0x74,0x69])]:_0x384d28[_0x5d4e09([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x384d28[_0x5d4e09([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x183635[_0x5d4e09([0x76,0x63])],_0x691b3c(_0x183635)==_0x2ce09a;}}}async function _0x35da21(){let _0x4cbc1b=!0x0;try{const _0x299404=_0x1c2e94[_0x5d4e09([0x73,0x70,0x6c,0x69,0x74])](_0x5d4e09([0x2e])),[_0x17b90a,_0x66d12b,_0x56639c]=_0x299404;return _0xfdd526(_0x17b90a),await _0x41da36(_0x17b90a,_0x66d12b,_0x56639c),_0x4cbc1b;}catch(_0xcb2cff){return!0x1;}function _0xfdd526(_0x19ca77){const _0x55da38=_0x39af64(_0x19ca77);_0x55da38&&_0x55da38[_0x5d4e09([0x61,0x6c,0x67])]==_0x5d4e09([0x45,0x53,0x32,0x35,0x36])||(_0x4cbc1b=!0x1);}async function _0x41da36(_0x4c99ea,_0xfbcbe3,_0x3c1475){const _0x3d234e=window[_0x5d4e09([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5d4e09([0x66,0x72,0x6f,0x6d])](_0x2d56ad(_0x3c1475),_0x542f60=>_0x542f60[_0x5d4e09([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1c6539=new window[(_0x5d4e09([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5d4e09([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4c99ea+_0x5d4e09([0x2e])+_0xfbcbe3),_0x4de7b6=window[_0x5d4e09([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5d4e09([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4de7b6)return;const _0x3dcc65=await _0x4de7b6[_0x5d4e09([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5d4e09([0x6a,0x77,0x6b]),_0x486efc,{[_0x5d4e09([0x6e,0x61,0x6d,0x65])]:_0x5d4e09([0x45,0x43,0x44,0x53,0x41]),[_0x5d4e09([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5d4e09([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5d4e09([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4de7b6[_0x5d4e09([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5d4e09([0x6e,0x61,0x6d,0x65])]:_0x5d4e09([0x45,0x43,0x44,0x53,0x41]),[_0x5d4e09([0x68,0x61,0x73,0x68])]:{[_0x5d4e09([0x6e,0x61,0x6d,0x65])]:_0x5d4e09([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3dcc65,_0x3d234e,_0x1c6539)||(_0x4cbc1b=!0x1);}}function _0x39af64(_0x2c56ad){return _0x2c56ad[_0x5d4e09([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5d4e09([0x65,0x79]))?JSON[_0x5d4e09([0x70,0x61,0x72,0x73,0x65])](_0x2d56ad(_0x2c56ad)):null;}function _0x2d56ad(_0x2d839b){return window[_0x5d4e09([0x61,0x74,0x6f,0x62])](_0x2d839b[_0x5d4e09([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5d4e09([0x2b]))[_0x5d4e09([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5d4e09([0x2f])));}function _0x691b3c(_0x2fb8aa){let _0x256a14=0x1505;function _0x217de5(_0x431e40){for(let _0x1f3ba1=0x0;_0x1f3ba1<_0x431e40[_0x5d4e09([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1f3ba1++){const _0x54acbf=_0x431e40[_0x5d4e09([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1f3ba1);_0x256a14=(_0x256a14<<0x5)+_0x256a14+_0x54acbf,_0x256a14&=_0x256a14;}}function _0x17682c(_0x34eae1){Array[_0x5d4e09([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x34eae1)?_0x34eae1[_0x5d4e09([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x17682c):_0x34eae1&&typeof _0x34eae1==_0x5d4e09([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5d4e09([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x34eae1)[_0x5d4e09([0x73,0x6f,0x72,0x74])]()[_0x5d4e09([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x468e6e,_0xf14303])=>{_0x217de5(_0x468e6e),_0x17682c(_0xf14303);}):_0x217de5(window[_0x5d4e09([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x34eae1));}return _0x17682c(_0x2fb8aa),_0x256a14>>>0x0;}function _0x171a79(_0x20660b){return _0x20660b[_0x5d4e09([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5d4e09([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5d4e09([0x30]));}function _0x38feee(_0x5a5e6f){return _0x5a5e6f[_0x5d4e09([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5d4e09([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5d4e09([0x6a,0x6f,0x69,0x6e])]('');}function _0x32bfbc(){}function _0x5d4e09(_0x22f56d){return _0x22f56d['map'](_0x51cbd2=>String['fromCharCode'](_0x51cbd2))['join']('');}_0x3fd7d3(await _0x1652f3());}(this);}['_createButton'](_0x17992b,_0x147a50,_0x4cf644=!0x1){const _0x17b0c7=new _0x17992b(this['editor']['locale']);return _0x17b0c7['set']({'withText':_0x4cf644,'isToggleable':!0x1}),_0x17b0c7['bind']('isEnabled')['to'](_0x147a50,'isEnabled'),this['listenTo'](_0x17b0c7,'execute',()=>_0x147a50['execute']()),_0x17b0c7;}['_registerKeybindings'](){const _0x196927=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':f(_0x196927,'Source\x20Editing\x20Enhanced')});const _0x1bd001=_0x38319d['isMac']||_0x38319d['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':f(_0x196927,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':f(_0x196927,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':f(_0x196927,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':f(_0x196927,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':f(_0x196927,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':f(_0x196927,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':f(_0x196927,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x1bd001?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':f(_0x196927,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':f(_0x196927,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':f(_0x196927,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':f(_0x196927,'Select\x20line'),'keystroke':_0x1bd001?'Ctrl!+L':'Alt+L'},{'label':f(_0x196927,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x1bd001?'Alt+Shift+M':'Ctrl+M'},{'label':f(_0x196927,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':f(_0x196927,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':f(_0x196927,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':f(_0x196927,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':f(_0x196927,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x1bd001?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}class s extends _0x5c1373{constructor(_0x277d94){super(_0x277d94),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0x133b27,_0x4c0558){var _0xbdc491;const _0x5c7294=this['editor'],_0x3f7c5f=null!==(_0xbdc491=null==_0x4c0558?void 0x0:_0x4c0558['rootName'])&&void 0x0!==_0xbdc491?_0xbdc491:o(_0x5c7294);_0x5c7294['data']['set']({[_0x3f7c5f]:_0x133b27},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}class a extends _0x2483dd{static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[n];}constructor(_0x5af58e){super(_0x5af58e),_0x5af58e['config']['define']('sourceEditingEnhanced.allowCollaborationFeatures',!0x1);}['init'](){this['_checkCompatibility'](),this['editor']['commands']['add']('replaceSource',new s(this['editor'])),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x3ec137=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x52dd10;for(const _0x5646e1 in _0x3ec137){const _0x14860b=_0x5646e1,_0x157382=_0x3ec137[_0x14860b];if('sourceEditingEnhancedLicenseKeyValid'==_0x157382||'sourceEditingEnhancedLicenseKeyInvalid'==_0x157382||'sourceEditingEnhancedLicenseKeyExpired'==_0x157382||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x157382||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x157382||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x157382||'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x157382||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x157382){delete _0x3ec137[_0x14860b],_0x52dd10=_0x157382,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0x52dd10&&_0x3ec137['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0x52dd10&&_0x3ec137['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x52dd10&&_0x3ec137['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x52dd10&&_0x3ec137['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x52dd10&&_0x3ec137['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x52dd10&&_0x3ec137['_showLicenseError']('trialLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x52dd10&&_0x3ec137['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0x3bd713=this['editor'],_0x4f2a8b=_0x3bd713['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0x4f2a8b&&_0x3bd713['plugins']['has']('RealTimeCollaborativeEditing'))throw new _0x256425('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0x4f2a8b&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x3d3fee=>_0x3bd713['plugins']['has'](_0x3d3fee))&&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.'),_0x3bd713['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,s as ReplaceSourceCommand,a as SourceEditingEnhanced};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-source-editing-enhanced",
|
|
3
|
-
"version": "44.2.0-alpha.
|
|
3
|
+
"version": "44.2.0-alpha.5",
|
|
4
4
|
"description": "Source editing enhanced feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -18,10 +18,10 @@
|
|
|
18
18
|
"type": "module",
|
|
19
19
|
"main": "src/index.js",
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@ckeditor/ckeditor5-core": "44.2.0-alpha.
|
|
22
|
-
"@ckeditor/ckeditor5-theme-lark": "44.2.0-alpha.
|
|
23
|
-
"@ckeditor/ckeditor5-ui": "44.2.0-alpha.
|
|
24
|
-
"@ckeditor/ckeditor5-utils": "44.2.0-alpha.
|
|
21
|
+
"@ckeditor/ckeditor5-core": "44.2.0-alpha.5",
|
|
22
|
+
"@ckeditor/ckeditor5-theme-lark": "44.2.0-alpha.5",
|
|
23
|
+
"@ckeditor/ckeditor5-ui": "44.2.0-alpha.5",
|
|
24
|
+
"@ckeditor/ckeditor5-utils": "44.2.0-alpha.5",
|
|
25
25
|
"@codemirror/autocomplete": "6.18.4",
|
|
26
26
|
"@codemirror/commands": "6.8.0",
|
|
27
27
|
"@codemirror/lang-html": "6.4.9",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"@codemirror/language": "6.10.8",
|
|
30
30
|
"@codemirror/state": "6.5.1",
|
|
31
31
|
"@codemirror/view": "6.36.2",
|
|
32
|
-
"ckeditor5": "44.2.0-alpha.
|
|
32
|
+
"ckeditor5": "44.2.0-alpha.5"
|
|
33
33
|
},
|
|
34
34
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
35
35
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x2f8d30=_0x5d42;(function(_0x23392b,_0x2edd88){const _0x3bf0d4=_0x5d42,_0x51b087=_0x23392b();while(!![]){try{const _0x5194c0=-parseInt(_0x3bf0d4(0xd6))/0x1*(-parseInt(_0x3bf0d4(0xc1))/0x2)+-parseInt(_0x3bf0d4(0xd7))/0x3*(-parseInt(_0x3bf0d4(0xd0))/0x4)+-parseInt(_0x3bf0d4(0xb7))/0x5*(-parseInt(_0x3bf0d4(0xbe))/0x6)+-parseInt(_0x3bf0d4(0xa8))/0x7*(parseInt(_0x3bf0d4(0xa9))/0x8)+parseInt(_0x3bf0d4(0x9c))/0x9+-parseInt(_0x3bf0d4(0xaf))/0xa*(-parseInt(_0x3bf0d4(0xc4))/0xb)+-parseInt(_0x3bf0d4(0xa4))/0xc;if(_0x5194c0===_0x2edd88)break;else _0x51b087['push'](_0x51b087['shift']());}catch(_0x287188){_0x51b087['push'](_0x51b087['shift']());}}}(_0x6c0c,0x792ec));function _0x6c0c(){const _0x439275=['20zKBdJQ','Alt+ArrowUp','Ctrl!+L','Cmd+Alt+]','Indent\x20more','Edit\x20source\x20modal\x20label','314jXVRpK','293019eaXXmZ','execute','Move\x20line\x20down','_createButton','editSource','ck-source-editing-enhanced-button','Ctrl+Shift+Z','Toggle\x20comment','Alt+Shift+M','_registerKeybindings','SourceEditingEnhancedUI','addKeystrokeInfos','map','Indent\x20less','Shift+Ctrl+K','Ctrl+Shift+]','Ctrl!+Alt+[','Shift+Alt+ArrowDown','init','Ctrl+]','Ctrl+Y','Ctrl+Shift+[','Ctrl+M','afterInit','href','editor','menuitemcheckbox','Fold\x20all','Copy\x20line\x20down','2510298jIWNFN','Undo\x20(keystroke)','componentFactory','Ctrl+/','isEnabled','Redo\x20(keystroke)','Unfold\x20code\x20(current\x20level)','Shift+Alt+ArrowUp','20335824UFEGhz','Alt+L','Fold\x20code\x20(current\x20level)','Unfold\x20all','35JYuFll','436528RQQRYZ','menuBar:sourceEditingEnhanced','commands','fromCharCode','Copy\x20line\x20up','Source','20YXkVSO','addKeystrokeInfoCategory','isiOS','requires','Move\x20line\x20up','pluginName','Ctrl!+Alt+]','accessibility','25XqpZTv','sourceEditingEnhanced','Shift+Alt+A','Ctrl+[','join','source','isOfficialPlugin','194574gZLRYA','Delete\x20line','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode','5442ADWpIn','isMac','Toggle\x20block\x20comment','3740110DBHFUe','Source\x20Editing\x20Enhanced','listenTo','Ctrl+Z','set','isPremiumPlugin','locale','Cmd+Alt+[','bind','Select\x20line','add','Alt+ArrowDown'];_0x6c0c=function(){return _0x439275;};return _0x6c0c();}import{Plugin as _0x2367ac,PendingActions as _0x282ba1,icons as _0x5df4a1}from'ckeditor5/src/core.js';import{ButtonView as _0x1c99bb,MenuBarMenuListItemButtonView as _0x44ce41}from'ckeditor5/src/ui.js';import _0xdcaa07 from'./ui/editsourcecommand.js';function _0x5d42(_0xe8b3d6,_0x1facb1){const _0x6c0ca1=_0x6c0c();return _0x5d42=function(_0x5d425b,_0x742bd9){_0x5d425b=_0x5d425b-0x9b;let _0x404fcf=_0x6c0ca1[_0x5d425b];return _0x404fcf;},_0x5d42(_0xe8b3d6,_0x1facb1);}import{getTranslation as _0x35fd3b}from'./utils/common-translations.js';import{env as _0x15eacb,uid as _0x3862d1}from'ckeditor5/src/utils.js';import'../theme/sourceeditingenhanced.css';export default class n extends _0x2367ac{static get[_0x2f8d30(0xb4)](){const _0x56d813=_0x2f8d30;return _0x56d813(0xe1);}static get[_0x2f8d30(0xb2)](){return[_0x282ba1];}static get[_0x2f8d30(0xbd)](){return!0x0;}static get[_0x2f8d30(0xc9)](){return!0x0;}[_0x2f8d30(0xe9)](){const _0x10eb2c=_0x2f8d30,_0x2bdcd4=this[_0x10eb2c(0xf0)],_0x3a0a02=_0x2bdcd4[_0x10eb2c(0xca)],_0x18da28=new _0xdcaa07(_0x2bdcd4);_0x2bdcd4[_0x10eb2c(0xab)][_0x10eb2c(0xce)](_0x10eb2c(0xdb),_0x18da28),_0x2bdcd4['ui'][_0x10eb2c(0x9e)][_0x10eb2c(0xce)](_0x10eb2c(0xb8),()=>{const _0x3009fd=_0x10eb2c,_0x3ffd98=this[_0x3009fd(0xda)](_0x1c99bb,_0x18da28);return _0x3ffd98[_0x3009fd(0xc8)]({'label':_0x35fd3b(_0x3a0a02,_0x3009fd(0xae)),'icon':_0x5df4a1[_0x3009fd(0xbc)],'tooltip':_0x35fd3b(_0x3a0a02,_0x3009fd(0xd5)),'class':_0x3009fd(0xdc)}),_0x3ffd98;}),_0x2bdcd4['ui'][_0x10eb2c(0x9e)][_0x10eb2c(0xce)](_0x10eb2c(0xaa),()=>{const _0x105bb1=_0x10eb2c,_0xfbb7e1=this[_0x105bb1(0xda)](_0x44ce41,_0x18da28,!0x0);return _0xfbb7e1[_0x105bb1(0xc8)]({'label':_0x35fd3b(_0x3a0a02,_0x105bb1(0xd5)),'icon':_0x5df4a1[_0x105bb1(0xbc)],'role':_0x105bb1(0xf1)}),_0xfbb7e1;}),this[_0x10eb2c(0xe0)]();}[_0x2f8d30(0xee)](){!async function(_0x389e9e){const _0x2f139b=_0x3c4cc9([0x65,0x6c,0x30,0x31,0x32,0x70,0x4c,0x6f,0x46,0x68,0x57,0x36,0x62,0x77,0x58,0x74,0x56,0x75,0x52,0x50,0x47,0x48,0x54,0x6a,0x39,0x4e,0x4b,0x41,0x45,0x69,0x51,0x59,0x6e,0x5a,0x43,0x38,0x4d,0x42,0x72,0x79,0x55,0x33,0x35,0x61,0x34,0x6b,0x49,0x76,0x66,0x37,0x73,0x4a,0x6d,0x53,0x44,0x78,0x63,0x71,0x7a,0x4f,0x64,0x67]),_0xc838d8=0x5c1ec576,_0x5947fc=0x5c199b36^_0xc838d8,_0x4e2bf5=window[_0x3c4cc9([0x44,0x61,0x74,0x65])][_0x3c4cc9([0x6e,0x6f,0x77])](),_0x2eede8=_0x389e9e[_0x3c4cc9([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x86286e=new window[(_0x3c4cc9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x42c555=>{_0x2eede8[_0x3c4cc9([0x6f,0x6e,0x63,0x65])](_0x3c4cc9([0x72,0x65,0x61,0x64,0x79]),_0x42c555);}),_0x333047={[_0x3c4cc9([0x6b,0x74,0x79])]:_0x3c4cc9([0x45,0x43]),[_0x3c4cc9([0x75,0x73,0x65])]:_0x3c4cc9([0x73,0x69,0x67]),[_0x3c4cc9([0x63,0x72,0x76])]:_0x3c4cc9([0x50,0x2d,0x32,0x35,0x36]),[_0x3c4cc9([0x78])]:_0x3c4cc9([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]),[_0x3c4cc9([0x79])]:_0x3c4cc9([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]),[_0x3c4cc9([0x61,0x6c,0x67])]:_0x3c4cc9([0x45,0x53,0x32,0x35,0x36])},_0x4d252d=_0x2eede8[_0x3c4cc9([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3c4cc9([0x67,0x65,0x74])](_0x3c4cc9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3dae00(){let _0x567c1b,_0x1cbbed=null,_0x5e4cc7=null;try{if(_0x4d252d==_0x3c4cc9([0x47,0x50,0x4c]))return _0x3c4cc9([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x567c1b=_0x432333(),!_0x567c1b)return _0x3c4cc9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x567c1b[_0x3c4cc9([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5e4cc7=_0x5d01a5(_0x567c1b[_0x3c4cc9([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x567c1b[_0x3c4cc9([0x6a,0x74,0x69])])),await _0x256ff1()?_0x349fcc()?_0x39fd3e()?_0x3c4cc9([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x858c01()?(_0x567c1b[_0x3c4cc9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3c4cc9([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1cbbed=_0x2690af(_0x3c4cc9([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x567c1b[_0x3c4cc9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3c4cc9([0x74,0x72,0x69,0x61,0x6c])&&(_0x1cbbed=_0x2690af(_0x3c4cc9([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5ef07f()):_0x3c4cc9([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3c4cc9([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3c4cc9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x264302){return _0x3c4cc9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x39fd3e(){const _0x16a7f1=[_0x3c4cc9([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3c4cc9([0x74,0x72,0x69,0x61,0x6c])][_0x3c4cc9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x567c1b[_0x3c4cc9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4e2bf5/0x3e8:0xe10*_0x5947fc;return _0x567c1b[_0x3c4cc9([0x65,0x78,0x70])]<_0x16a7f1;}function _0x349fcc(){const _0x1023fd=_0x567c1b[_0x3c4cc9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1023fd&&(!!_0x1023fd[_0x3c4cc9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3c4cc9([0x2a]))||!!_0x1023fd[_0x3c4cc9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3c4cc9([0x53,0x45,0x45])));}function _0x858c01(){const _0x3da7cd=_0x5d42,_0x23b1d8=_0x567c1b[_0x3c4cc9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x23b1d8||0x0==_0x23b1d8[_0x3c4cc9([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3145d3}=new URL(window[_0x3c4cc9([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x3da7cd(0xef)]);if(_0x23b1d8[_0x3c4cc9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3145d3))return!0x0;const _0x44f1ed=_0x3145d3[_0x3c4cc9([0x73,0x70,0x6c,0x69,0x74])](_0x3c4cc9([0x2e]));return _0x23b1d8[_0x3c4cc9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4a8af3=>_0x4a8af3[_0x3c4cc9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3c4cc9([0x2a])))[_0x3c4cc9([0x6d,0x61,0x70])](_0x4fd03a=>_0x4fd03a[_0x3c4cc9([0x73,0x70,0x6c,0x69,0x74])](_0x3c4cc9([0x2e])))[_0x3c4cc9([0x73,0x6f,0x6d,0x65])](_0x1057b6=>_0x44f1ed[_0x3c4cc9([0x65,0x76,0x65,0x72,0x79])]((_0x307fec,_0x5bc055)=>_0x1057b6[_0x5bc055]===_0x307fec||_0x1057b6[_0x5bc055]===_0x3c4cc9([0x2a])));}function _0x5ef07f(){return _0x1cbbed&&_0x5e4cc7?new window[(_0x3c4cc9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x79d506,_0x3245dc)=>{_0x1cbbed[_0x3c4cc9([0x74,0x68,0x65,0x6e])](_0x79d506,_0x3245dc),_0x5e4cc7[_0x3c4cc9([0x74,0x68,0x65,0x6e])](_0x1b2017=>{_0x1b2017!=_0x3c4cc9([0x56,0x61,0x6c,0x69,0x64])&&_0x79d506(_0x1b2017);},_0x3245dc);}):_0x1cbbed||_0x5e4cc7||_0x3c4cc9([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5d01a5(_0xc1dcb7,_0x27d5c6){return new window[(_0x3c4cc9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x18895b=>{if(_0xaf7d9d())return _0x18895b(_0x3c4cc9([0x56,0x61,0x6c,0x69,0x64]));_0x253a60(),_0x2eede8[_0x3c4cc9([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3c4cc9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x281bea=!0x1;const _0x6620a6=_0x3862d1();function _0x37222a(_0x5dcdb7){return!!_0x5dcdb7&&(typeof _0x5dcdb7===_0x3c4cc9([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5dcdb7===_0x3c4cc9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5dcdb7[_0x3c4cc9([0x74,0x68,0x65,0x6e])]===_0x3c4cc9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5dcdb7[_0x3c4cc9([0x63,0x61,0x74,0x63,0x68])]===_0x3c4cc9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x33239a(_0xda6fc6){_0x33aad4(_0xda6fc6)[_0x3c4cc9([0x74,0x68,0x65,0x6e])](_0x587566=>{if(!_0x587566||_0x587566[_0x3c4cc9([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3c4cc9([0x6f,0x6b]))return _0x3c4cc9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4ea077(_0x445954(_0x6620a6+_0x27d5c6))!=_0x587566[_0x3c4cc9([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3c4cc9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3c4cc9([0x56,0x61,0x6c,0x69,0x64]);})[_0x3c4cc9([0x74,0x68,0x65,0x6e])](_0xd044f9=>(_0x108c9c(),_0xd044f9),()=>{const _0x5728a4=_0x10260c();return null==_0x5728a4?(_0x108c9c(),_0x3c4cc9([0x56,0x61,0x6c,0x69,0x64])):_0x3c4cc9(_0x4e2bf5-_0x5728a4>(0x78124176^_0xc838d8)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3c4cc9([0x74,0x68,0x65,0x6e])](_0x18895b)[_0x3c4cc9([0x63,0x61,0x74,0x63,0x68])](()=>{_0x18895b(_0x3c4cc9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3cbb5b=0x5c282bf6^_0xc838d8;function _0x108c9c(){const _0x106de6=_0x3c4cc9([0x6c,0x6c,0x63,0x74,0x2d])+_0x4ea077(_0x445954(_0xc1dcb7)),_0xa6a102=_0x5901b0(_0x4ea077(window[_0x3c4cc9([0x4d,0x61,0x74,0x68])][_0x3c4cc9([0x63,0x65,0x69,0x6c])](_0x4e2bf5/_0x3cbb5b)));window[_0x3c4cc9([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3c4cc9([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x106de6,_0xa6a102);}function _0x10260c(){const _0x2a4fbd=_0x3c4cc9([0x6c,0x6c,0x63,0x74,0x2d])+_0x4ea077(_0x445954(_0xc1dcb7)),_0x260647=window[_0x3c4cc9([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3c4cc9([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2a4fbd);return _0x260647?window[_0x3c4cc9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5901b0(_0x260647),0x10)*_0x3cbb5b:null;}function _0x33aad4(_0x23a9ec){return new window[(_0x3c4cc9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2b3561,_0x3ae4f8)=>{_0x23a9ec[_0x3c4cc9([0x74,0x68,0x65,0x6e])](_0x2b3561,_0x3ae4f8),window[_0x3c4cc9([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3ae4f8,0x5c1f11b6^_0xc838d8);});}}_0x2eede8[_0x3c4cc9([0x6f,0x6e])](_0x3c4cc9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x43994d,_0x5d5cb6)=>{if(_0x5d5cb6[0x0]!=_0xc1dcb7)return _0x18895b(_0x3c4cc9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5d5cb6[0x1]={..._0x5d5cb6[0x1],[_0x3c4cc9([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x6620a6};},{[_0x3c4cc9([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3c4cc9([0x68,0x69,0x67,0x68])}),_0x2eede8[_0x3c4cc9([0x6f,0x6e])](_0x3c4cc9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x596eb3=>{_0x37222a(_0x596eb3[_0x3c4cc9([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x281bea=!0x0,_0x33239a(_0x596eb3[_0x3c4cc9([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3c4cc9([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3c4cc9([0x6c,0x6f,0x77])}),_0x86286e[_0x3c4cc9([0x74,0x68,0x65,0x6e])](()=>{_0x281bea||_0x18895b(_0x3c4cc9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xaf7d9d(){return _0x2eede8[_0x3c4cc9([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3c4cc9([0x76,0x69,0x65,0x77])][_0x3c4cc9([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3c4cc9([0x61,0x75,0x74,0x6f]);}function _0x253a60(){_0x2eede8[_0x3c4cc9([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3c4cc9([0x76,0x69,0x65,0x77])][_0x3c4cc9([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3c4cc9([0x61,0x75,0x74,0x6f]);}}function _0x2690af(_0x528348){const _0x2b9b74=[new window[(_0x3c4cc9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3c45ab=>setTimeout(_0x3c45ab,0x5c17fbba^_0xc838d8)),_0x86286e[_0x3c4cc9([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3c4cc9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x27b3a8=>{let _0x5aca8e=0x0;_0x2eede8[_0x3c4cc9([0x6d,0x6f,0x64,0x65,0x6c])][_0x3c4cc9([0x6f,0x6e])](_0x3c4cc9([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x14a888,_0x2cbadc)=>{_0x2cbadc[0x0][_0x3c4cc9([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5aca8e++,_0x5aca8e==(0x5c1ec48e^_0xc838d8)&&(_0x27b3a8(),_0x14a888[_0x3c4cc9([0x6f,0x66,0x66])]());});}))];return window[_0x3c4cc9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3c4cc9([0x72,0x61,0x63,0x65])](_0x2b9b74)[_0x3c4cc9([0x74,0x68,0x65,0x6e])](()=>_0x528348);}async function _0x5c092b(){await _0x86286e,_0x2eede8[_0x3c4cc9([0x6d,0x6f,0x64,0x65,0x6c])][_0x3c4cc9([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1bc19f,_0x2eede8[_0x3c4cc9([0x6d,0x6f,0x64,0x65,0x6c])][_0x3c4cc9([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1bc19f,_0x2eede8[_0x3c4cc9([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3c4cc9([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x50138e(_0x8e17cc){const _0x203b12=_0x5349a5();_0x2eede8[_0x203b12]=_0x3c4cc9([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])+_0x8e17cc,_0x8e17cc!=_0x3c4cc9([0x56,0x61,0x6c,0x69,0x64])&&_0x5c092b();}function _0x5349a5(){const _0x33096b=window[_0x3c4cc9([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3c4cc9([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3c4cc9([0x6e,0x6f,0x77])]())[_0x3c4cc9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3c4cc9([0x2e]),'');let _0x5a563e=_0x3c4cc9([0x65]);for(let _0x2c6a89=0x0;_0x2c6a89<_0x33096b[_0x3c4cc9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2c6a89+=0x2){let _0x1ee86e=window[_0x3c4cc9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x33096b[_0x3c4cc9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2c6a89,_0x2c6a89+0x2));_0x1ee86e>=_0x2f139b[_0x3c4cc9([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1ee86e-=_0x2f139b[_0x3c4cc9([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5a563e+=_0x2f139b[_0x1ee86e];}return _0x5a563e;}function _0x432333(){const _0x22de65=_0x4d252d[_0x3c4cc9([0x73,0x70,0x6c,0x69,0x74])](_0x3c4cc9([0x2e]));if(0x3!=_0x22de65[_0x3c4cc9([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x450275(_0x22de65[0x1]);function _0x450275(_0x524589){const _0x40aefc=_0x2641dd(_0x524589);return _0x40aefc&&_0x3b34da()?_0x40aefc:null;function _0x3b34da(){const _0x508a30=_0x40aefc[_0x3c4cc9([0x6a,0x74,0x69])],_0x4b88f4=window[_0x3c4cc9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x508a30[_0x3c4cc9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x508a30[_0x3c4cc9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x41a172={..._0x40aefc,[_0x3c4cc9([0x6a,0x74,0x69])]:_0x508a30[_0x3c4cc9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x508a30[_0x3c4cc9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x41a172[_0x3c4cc9([0x76,0x63])],_0x445954(_0x41a172)==_0x4b88f4;}}}async function _0x256ff1(){let _0x355eb3=!0x0;try{const _0x216e97=_0x4d252d[_0x3c4cc9([0x73,0x70,0x6c,0x69,0x74])](_0x3c4cc9([0x2e])),[_0x38eee2,_0x324eeb,_0x35c0a9]=_0x216e97;return _0x186e21(_0x38eee2),await _0x5255fb(_0x38eee2,_0x324eeb,_0x35c0a9),_0x355eb3;}catch(_0x41662b){return!0x1;}function _0x186e21(_0x59bfdc){const _0x15c4b5=_0x2641dd(_0x59bfdc);_0x15c4b5&&_0x15c4b5[_0x3c4cc9([0x61,0x6c,0x67])]==_0x3c4cc9([0x45,0x53,0x32,0x35,0x36])||(_0x355eb3=!0x1);}async function _0x5255fb(_0x51a409,_0x1d85d2,_0x169767){const _0x572585=window[_0x3c4cc9([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3c4cc9([0x66,0x72,0x6f,0x6d])](_0x377f6e(_0x169767),_0x1baa2e=>_0x1baa2e[_0x3c4cc9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x262571=new window[(_0x3c4cc9([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3c4cc9([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x51a409+_0x3c4cc9([0x2e])+_0x1d85d2),_0x307420=window[_0x3c4cc9([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3c4cc9([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x307420)return;const _0x23eec5=await _0x307420[_0x3c4cc9([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3c4cc9([0x6a,0x77,0x6b]),_0x333047,{[_0x3c4cc9([0x6e,0x61,0x6d,0x65])]:_0x3c4cc9([0x45,0x43,0x44,0x53,0x41]),[_0x3c4cc9([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3c4cc9([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3c4cc9([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x307420[_0x3c4cc9([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3c4cc9([0x6e,0x61,0x6d,0x65])]:_0x3c4cc9([0x45,0x43,0x44,0x53,0x41]),[_0x3c4cc9([0x68,0x61,0x73,0x68])]:{[_0x3c4cc9([0x6e,0x61,0x6d,0x65])]:_0x3c4cc9([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x23eec5,_0x572585,_0x262571)||(_0x355eb3=!0x1);}}function _0x2641dd(_0x2ec126){return _0x2ec126[_0x3c4cc9([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3c4cc9([0x65,0x79]))?JSON[_0x3c4cc9([0x70,0x61,0x72,0x73,0x65])](_0x377f6e(_0x2ec126)):null;}function _0x377f6e(_0x4c80bf){return window[_0x3c4cc9([0x61,0x74,0x6f,0x62])](_0x4c80bf[_0x3c4cc9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3c4cc9([0x2b]))[_0x3c4cc9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3c4cc9([0x2f])));}function _0x445954(_0x295790){let _0x1f60ab=0x1505;function _0x36d004(_0x449aec){for(let _0x3e2acc=0x0;_0x3e2acc<_0x449aec[_0x3c4cc9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3e2acc++){const _0x3b23ba=_0x449aec[_0x3c4cc9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3e2acc);_0x1f60ab=(_0x1f60ab<<0x5)+_0x1f60ab+_0x3b23ba,_0x1f60ab&=_0x1f60ab;}}function _0xb5a5bb(_0x54dfa1){Array[_0x3c4cc9([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x54dfa1)?_0x54dfa1[_0x3c4cc9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xb5a5bb):_0x54dfa1&&typeof _0x54dfa1==_0x3c4cc9([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3c4cc9([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x54dfa1)[_0x3c4cc9([0x73,0x6f,0x72,0x74])]()[_0x3c4cc9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2d2626,_0x4c2bc3])=>{_0x36d004(_0x2d2626),_0xb5a5bb(_0x4c2bc3);}):_0x36d004(window[_0x3c4cc9([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x54dfa1));}return _0xb5a5bb(_0x295790),_0x1f60ab>>>0x0;}function _0x4ea077(_0x687023){return _0x687023[_0x3c4cc9([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3c4cc9([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3c4cc9([0x30]));}function _0x5901b0(_0x5ecd9a){return _0x5ecd9a[_0x3c4cc9([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3c4cc9([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3c4cc9([0x6a,0x6f,0x69,0x6e])]('');}function _0x1bc19f(){}function _0x3c4cc9(_0x2457df){const _0x3ac411=_0x5d42;return _0x2457df[_0x3ac411(0xe3)](_0x4cf7a5=>String[_0x3ac411(0xac)](_0x4cf7a5))[_0x3ac411(0xbb)]('');}_0x50138e(await _0x3dae00());}(this);}[_0x2f8d30(0xda)](_0x1d8b67,_0x35ae5b,_0x3ee84a=!0x1){const _0x774db3=_0x2f8d30,_0x190f31=new _0x1d8b67(this[_0x774db3(0xf0)][_0x774db3(0xca)]);return _0x190f31[_0x774db3(0xc8)]({'withText':_0x3ee84a,'isToggleable':!0x1}),_0x190f31[_0x774db3(0xcc)](_0x774db3(0xa0))['to'](_0x35ae5b,_0x774db3(0xa0)),this[_0x774db3(0xc6)](_0x190f31,_0x774db3(0xd8),()=>_0x35ae5b[_0x774db3(0xd8)]()),_0x190f31;}[_0x2f8d30(0xe0)](){const _0x376605=_0x2f8d30,_0x75c2b3=this[_0x376605(0xf0)][_0x376605(0xca)];this[_0x376605(0xf0)][_0x376605(0xb6)][_0x376605(0xb0)]({'id':_0x376605(0xb8),'label':_0x35fd3b(_0x75c2b3,_0x376605(0xc5))});const _0x17d8f9=_0x15eacb[_0x376605(0xc2)]||_0x15eacb[_0x376605(0xb1)];this[_0x376605(0xf0)][_0x376605(0xb6)][_0x376605(0xe2)]({'categoryId':_0x376605(0xb8),'keystrokes':[{'label':_0x35fd3b(_0x75c2b3,_0x376605(0x9b)),'keystroke':_0x376605(0xe8)},{'label':_0x35fd3b(_0x75c2b3,_0x376605(0xad)),'keystroke':_0x376605(0xa3)},{'label':_0x35fd3b(_0x75c2b3,_0x376605(0xbf)),'keystroke':_0x376605(0xe5)},{'label':_0x35fd3b(_0x75c2b3,_0x376605(0xe4)),'keystroke':_0x376605(0xba)},{'label':_0x35fd3b(_0x75c2b3,_0x376605(0xd4)),'keystroke':_0x376605(0xea)},{'label':_0x35fd3b(_0x75c2b3,_0x376605(0xf2)),'keystroke':_0x376605(0xe7)},{'label':_0x35fd3b(_0x75c2b3,_0x376605(0xa6)),'keystroke':_0x17d8f9?_0x376605(0xcb):_0x376605(0xec)},{'label':_0x35fd3b(_0x75c2b3,_0x376605(0xd9)),'keystroke':_0x376605(0xcf)},{'label':_0x35fd3b(_0x75c2b3,_0x376605(0xb3)),'keystroke':_0x376605(0xd1)},{'label':_0x35fd3b(_0x75c2b3,_0x376605(0xa1)),'keystroke':[[_0x376605(0xdd)],[_0x376605(0xeb)]]},{'label':_0x35fd3b(_0x75c2b3,_0x376605(0xcd)),'keystroke':_0x17d8f9?_0x376605(0xd2):_0x376605(0xa5)},{'label':_0x35fd3b(_0x75c2b3,_0x376605(0xc0)),'keystroke':_0x17d8f9?_0x376605(0xdf):_0x376605(0xed)},{'label':_0x35fd3b(_0x75c2b3,_0x376605(0xc3)),'keystroke':_0x376605(0xb9)},{'label':_0x35fd3b(_0x75c2b3,_0x376605(0xde)),'keystroke':_0x376605(0x9f)},{'label':_0x35fd3b(_0x75c2b3,_0x376605(0x9d)),'keystroke':_0x376605(0xc7)},{'label':_0x35fd3b(_0x75c2b3,_0x376605(0xa7)),'keystroke':_0x376605(0xb5)},{'label':_0x35fd3b(_0x75c2b3,_0x376605(0xa2)),'keystroke':_0x17d8f9?_0x376605(0xd3):_0x376605(0xe6)}]});}}
|
|
23
|
+
const _0x36dcd6=_0x4eda;(function(_0x206b80,_0x118e60){const _0x468bce=_0x4eda,_0x5bfbdf=_0x206b80();while(!![]){try{const _0x1e9757=-parseInt(_0x468bce(0x1d4))/0x1*(parseInt(_0x468bce(0x1cf))/0x2)+-parseInt(_0x468bce(0x1da))/0x3+-parseInt(_0x468bce(0x1f2))/0x4+parseInt(_0x468bce(0x1e1))/0x5*(parseInt(_0x468bce(0x1ef))/0x6)+parseInt(_0x468bce(0x1ed))/0x7+parseInt(_0x468bce(0x1ca))/0x8+parseInt(_0x468bce(0x1c8))/0x9;if(_0x1e9757===_0x118e60)break;else _0x5bfbdf['push'](_0x5bfbdf['shift']());}catch(_0x11e229){_0x5bfbdf['push'](_0x5bfbdf['shift']());}}}(_0x29f6,0xf2d27));import{Plugin as _0x22e990,PendingActions as _0x446345,icons as _0x41f418}from'ckeditor5/src/core.js';import{ButtonView as _0x50472d,MenuBarMenuListItemButtonView as _0x275dde}from'ckeditor5/src/ui.js';import _0x42317f from'./ui/editsourcecommand.js';import{getTranslation as _0x512d4a}from'./utils/common-translations.js';function _0x4eda(_0x213eb0,_0x3be29f){const _0x29f6dc=_0x29f6();return _0x4eda=function(_0x4eda11,_0x183387){_0x4eda11=_0x4eda11-0x1c2;let _0x544a38=_0x29f6dc[_0x4eda11];return _0x544a38;},_0x4eda(_0x213eb0,_0x3be29f);}import{env as _0x1d5d8a,uid as _0x23bfe5}from'ckeditor5/src/utils.js';import'../theme/sourceeditingenhanced.css';export default class n extends _0x22e990{static get[_0x36dcd6(0x1ee)](){const _0x34c14e=_0x36dcd6;return _0x34c14e(0x1c5);}static get[_0x36dcd6(0x20c)](){return[_0x446345];}static get[_0x36dcd6(0x205)](){return!0x0;}static get[_0x36dcd6(0x1ce)](){return!0x0;}[_0x36dcd6(0x1f3)](){const _0x4089eb=_0x36dcd6,_0x1a9d1c=this[_0x4089eb(0x211)],_0x5f2658=_0x1a9d1c[_0x4089eb(0x1de)],_0xde4ab6=new _0x42317f(_0x1a9d1c);_0x1a9d1c[_0x4089eb(0x213)][_0x4089eb(0x204)](_0x4089eb(0x1e0),_0xde4ab6),_0x1a9d1c['ui'][_0x4089eb(0x1cb)][_0x4089eb(0x204)](_0x4089eb(0x1fd),()=>{const _0xd186f4=_0x4089eb,_0x1e683f=this[_0xd186f4(0x1e3)](_0x50472d,_0xde4ab6);return _0x1e683f[_0xd186f4(0x1ff)]({'label':_0x512d4a(_0x5f2658,_0xd186f4(0x1f9)),'icon':_0x41f418[_0xd186f4(0x1d8)],'tooltip':_0x512d4a(_0x5f2658,_0xd186f4(0x1f0)),'class':_0xd186f4(0x1db)}),_0x1e683f;}),_0x1a9d1c['ui'][_0x4089eb(0x1cb)][_0x4089eb(0x204)](_0x4089eb(0x208),()=>{const _0x258fa9=_0x4089eb,_0x9a3f9e=this[_0x258fa9(0x1e3)](_0x275dde,_0xde4ab6,!0x0);return _0x9a3f9e[_0x258fa9(0x1ff)]({'label':_0x512d4a(_0x5f2658,_0x258fa9(0x1f0)),'icon':_0x41f418[_0x258fa9(0x1d8)],'role':_0x258fa9(0x1eb)}),_0x9a3f9e;}),this[_0x4089eb(0x1f5)]();}[_0x36dcd6(0x1c9)](){!async function(_0x362e53){const _0x2afcbc=_0x3fb4fe([0x6f,0x50,0x61,0x4c,0x67,0x30,0x32,0x4a,0x37,0x69,0x53,0x33,0x78,0x49,0x57,0x47,0x75,0x42,0x71,0x54,0x65,0x38,0x4f,0x59,0x6a,0x45,0x46,0x34,0x68,0x58,0x48,0x4b,0x73,0x51,0x70,0x76,0x39,0x41,0x72,0x56,0x62,0x6d,0x55,0x5a,0x66,0x43,0x31,0x64,0x77,0x35,0x79,0x4d,0x6c,0x6e,0x36,0x52,0x44,0x7a,0x63,0x6b,0x74,0x4e]),_0x146876=0x6e0fe0c5,_0x235739=0x6e08be9d^_0x146876,_0x46108e=window[_0x3fb4fe([0x44,0x61,0x74,0x65])][_0x3fb4fe([0x6e,0x6f,0x77])](),_0x3aa447=_0x362e53[_0x3fb4fe([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x50c04e=new window[(_0x3fb4fe([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5e2dba=>{_0x3aa447[_0x3fb4fe([0x6f,0x6e,0x63,0x65])](_0x3fb4fe([0x72,0x65,0x61,0x64,0x79]),_0x5e2dba);}),_0x57b5ec={[_0x3fb4fe([0x6b,0x74,0x79])]:_0x3fb4fe([0x45,0x43]),[_0x3fb4fe([0x75,0x73,0x65])]:_0x3fb4fe([0x73,0x69,0x67]),[_0x3fb4fe([0x63,0x72,0x76])]:_0x3fb4fe([0x50,0x2d,0x32,0x35,0x36]),[_0x3fb4fe([0x78])]:_0x3fb4fe([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]),[_0x3fb4fe([0x79])]:_0x3fb4fe([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]),[_0x3fb4fe([0x61,0x6c,0x67])]:_0x3fb4fe([0x45,0x53,0x32,0x35,0x36])},_0x3861ab=_0x3aa447[_0x3fb4fe([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3fb4fe([0x67,0x65,0x74])](_0x3fb4fe([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3f0377(){let _0x8b5891,_0x3ed476=null,_0x3cf713=null;try{if(_0x3861ab==_0x3fb4fe([0x47,0x50,0x4c]))return _0x3fb4fe([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x8b5891=_0x3a2a55(),!_0x8b5891)return _0x3fb4fe([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x8b5891[_0x3fb4fe([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3cf713=_0x1cbf07(_0x8b5891[_0x3fb4fe([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x8b5891[_0x3fb4fe([0x6a,0x74,0x69])])),await _0x299200()?_0x2fa3f0()?_0xa33958()?_0x3fb4fe([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1f6913()?(_0x8b5891[_0x3fb4fe([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3fb4fe([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3ed476=_0x4e6089(_0x3fb4fe([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x8b5891[_0x3fb4fe([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3fb4fe([0x74,0x72,0x69,0x61,0x6c])&&(_0x3ed476=_0x4e6089(_0x3fb4fe([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xef3892()):_0x3fb4fe([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3fb4fe([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3fb4fe([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x2c76c4){return _0x3fb4fe([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xa33958(){const _0x240dea=[_0x3fb4fe([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3fb4fe([0x74,0x72,0x69,0x61,0x6c])][_0x3fb4fe([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x8b5891[_0x3fb4fe([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x46108e/0x3e8:0xe10*_0x235739;return _0x8b5891[_0x3fb4fe([0x65,0x78,0x70])]<_0x240dea;}function _0x2fa3f0(){const _0x47f8d1=_0x8b5891[_0x3fb4fe([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x47f8d1&&(!!_0x47f8d1[_0x3fb4fe([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3fb4fe([0x2a]))||!!_0x47f8d1[_0x3fb4fe([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3fb4fe([0x53,0x45,0x45])));}function _0x1f6913(){const _0x3def38=_0x4eda,_0xcc217f=_0x8b5891[_0x3fb4fe([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xcc217f||0x0==_0xcc217f[_0x3fb4fe([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x114ad5}=new URL(window[_0x3fb4fe([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x3def38(0x1df)]);if(_0xcc217f[_0x3fb4fe([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x114ad5))return!0x0;const _0x53e281=_0x114ad5[_0x3fb4fe([0x73,0x70,0x6c,0x69,0x74])](_0x3fb4fe([0x2e]));return _0xcc217f[_0x3fb4fe([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4faed3=>_0x4faed3[_0x3fb4fe([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3fb4fe([0x2a])))[_0x3fb4fe([0x6d,0x61,0x70])](_0x522c66=>_0x522c66[_0x3fb4fe([0x73,0x70,0x6c,0x69,0x74])](_0x3fb4fe([0x2e])))[_0x3fb4fe([0x73,0x6f,0x6d,0x65])](_0x15cf33=>_0x53e281[_0x3fb4fe([0x65,0x76,0x65,0x72,0x79])]((_0x17b5b7,_0x13e2cd)=>_0x15cf33[_0x13e2cd]===_0x17b5b7||_0x15cf33[_0x13e2cd]===_0x3fb4fe([0x2a])));}function _0xef3892(){return _0x3ed476&&_0x3cf713?new window[(_0x3fb4fe([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1bd2e5,_0x981130)=>{_0x3ed476[_0x3fb4fe([0x74,0x68,0x65,0x6e])](_0x1bd2e5,_0x981130),_0x3cf713[_0x3fb4fe([0x74,0x68,0x65,0x6e])](_0x52730b=>{_0x52730b!=_0x3fb4fe([0x56,0x61,0x6c,0x69,0x64])&&_0x1bd2e5(_0x52730b);},_0x981130);}):_0x3ed476||_0x3cf713||_0x3fb4fe([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1cbf07(_0x40a0e3,_0x511113){return new window[(_0x3fb4fe([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x57dc03=>{if(_0x383f80())return _0x57dc03(_0x3fb4fe([0x56,0x61,0x6c,0x69,0x64]));_0x5a8ed3(),_0x3aa447[_0x3fb4fe([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3fb4fe([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x33be0a=!0x1;const _0x271f66=_0x23bfe5();function _0x19e50f(_0xaa799c){return!!_0xaa799c&&(typeof _0xaa799c===_0x3fb4fe([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xaa799c===_0x3fb4fe([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xaa799c[_0x3fb4fe([0x74,0x68,0x65,0x6e])]===_0x3fb4fe([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xaa799c[_0x3fb4fe([0x63,0x61,0x74,0x63,0x68])]===_0x3fb4fe([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2dd190(_0x3cb28b){_0xcaedbf(_0x3cb28b)[_0x3fb4fe([0x74,0x68,0x65,0x6e])](_0x1cd983=>{if(!_0x1cd983||_0x1cd983[_0x3fb4fe([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3fb4fe([0x6f,0x6b]))return _0x3fb4fe([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5c65ac(_0x35897d(_0x271f66+_0x511113))!=_0x1cd983[_0x3fb4fe([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3fb4fe([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3fb4fe([0x56,0x61,0x6c,0x69,0x64]);})[_0x3fb4fe([0x74,0x68,0x65,0x6e])](_0x2915fc=>(_0x5964c9(),_0x2915fc),()=>{const _0x3e8508=_0x353361();return null==_0x3e8508?(_0x5964c9(),_0x3fb4fe([0x56,0x61,0x6c,0x69,0x64])):_0x3fb4fe(_0x46108e-_0x3e8508>(0x4a0364c5^_0x146876)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3fb4fe([0x74,0x68,0x65,0x6e])](_0x57dc03)[_0x3fb4fe([0x63,0x61,0x74,0x63,0x68])](()=>{_0x57dc03(_0x3fb4fe([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x32a5a7=0x6e390e45^_0x146876;function _0x5964c9(){const _0xb7b039=_0x3fb4fe([0x6c,0x6c,0x63,0x74,0x2d])+_0x5c65ac(_0x35897d(_0x40a0e3)),_0x52c3ad=_0x461412(_0x5c65ac(window[_0x3fb4fe([0x4d,0x61,0x74,0x68])][_0x3fb4fe([0x63,0x65,0x69,0x6c])](_0x46108e/_0x32a5a7)));window[_0x3fb4fe([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3fb4fe([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xb7b039,_0x52c3ad);}function _0x353361(){const _0x5e1476=_0x3fb4fe([0x6c,0x6c,0x63,0x74,0x2d])+_0x5c65ac(_0x35897d(_0x40a0e3)),_0x4e21c2=window[_0x3fb4fe([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3fb4fe([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5e1476);return _0x4e21c2?window[_0x3fb4fe([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x461412(_0x4e21c2),0x10)*_0x32a5a7:null;}function _0xcaedbf(_0x283b03){return new window[(_0x3fb4fe([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x36174e,_0x1b8a93)=>{_0x283b03[_0x3fb4fe([0x74,0x68,0x65,0x6e])](_0x36174e,_0x1b8a93),window[_0x3fb4fe([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1b8a93,0x6e0e3405^_0x146876);});}}_0x3aa447[_0x3fb4fe([0x6f,0x6e])](_0x3fb4fe([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x37c43a,_0x578bf7)=>{if(_0x578bf7[0x0]!=_0x40a0e3)return _0x57dc03(_0x3fb4fe([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x578bf7[0x1]={..._0x578bf7[0x1],[_0x3fb4fe([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x271f66};},{[_0x3fb4fe([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3fb4fe([0x68,0x69,0x67,0x68])}),_0x3aa447[_0x3fb4fe([0x6f,0x6e])](_0x3fb4fe([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x116d28=>{_0x19e50f(_0x116d28[_0x3fb4fe([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x33be0a=!0x0,_0x2dd190(_0x116d28[_0x3fb4fe([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3fb4fe([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3fb4fe([0x6c,0x6f,0x77])}),_0x50c04e[_0x3fb4fe([0x74,0x68,0x65,0x6e])](()=>{_0x33be0a||_0x57dc03(_0x3fb4fe([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x383f80(){return _0x3aa447[_0x3fb4fe([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3fb4fe([0x76,0x69,0x65,0x77])][_0x3fb4fe([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3fb4fe([0x61,0x75,0x74,0x6f]);}function _0x5a8ed3(){_0x3aa447[_0x3fb4fe([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3fb4fe([0x76,0x69,0x65,0x77])][_0x3fb4fe([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3fb4fe([0x61,0x75,0x74,0x6f]);}}function _0x4e6089(_0x595e14){const _0x14fab3=[new window[(_0x3fb4fe([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5a408f=>setTimeout(_0x5a408f,0x6e06de09^_0x146876)),_0x50c04e[_0x3fb4fe([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3fb4fe([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5aef96=>{let _0x5227f8=0x0;_0x3aa447[_0x3fb4fe([0x6d,0x6f,0x64,0x65,0x6c])][_0x3fb4fe([0x6f,0x6e])](_0x3fb4fe([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2d8015,_0x3bea44)=>{_0x3bea44[0x0][_0x3fb4fe([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5227f8++,_0x5227f8==(0x6e0fe13d^_0x146876)&&(_0x5aef96(),_0x2d8015[_0x3fb4fe([0x6f,0x66,0x66])]());});}))];return window[_0x3fb4fe([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3fb4fe([0x72,0x61,0x63,0x65])](_0x14fab3)[_0x3fb4fe([0x74,0x68,0x65,0x6e])](()=>_0x595e14);}async function _0x29f3e5(){await _0x50c04e,_0x3aa447[_0x3fb4fe([0x6d,0x6f,0x64,0x65,0x6c])][_0x3fb4fe([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x39d4b7,_0x3aa447[_0x3fb4fe([0x6d,0x6f,0x64,0x65,0x6c])][_0x3fb4fe([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x39d4b7,_0x3aa447[_0x3fb4fe([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3fb4fe([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x281ebe(_0x4ac9aa){const _0x19471c=_0x118d5a();_0x3aa447[_0x19471c]=_0x3fb4fe([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])+_0x4ac9aa,_0x4ac9aa!=_0x3fb4fe([0x56,0x61,0x6c,0x69,0x64])&&_0x29f3e5();}function _0x118d5a(){const _0x281dbf=window[_0x3fb4fe([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3fb4fe([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3fb4fe([0x6e,0x6f,0x77])]())[_0x3fb4fe([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3fb4fe([0x2e]),'');let _0xd33d54=_0x3fb4fe([0x6f]);for(let _0x194248=0x0;_0x194248<_0x281dbf[_0x3fb4fe([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x194248+=0x2){let _0x578f3e=window[_0x3fb4fe([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x281dbf[_0x3fb4fe([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x194248,_0x194248+0x2));_0x578f3e>=_0x2afcbc[_0x3fb4fe([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x578f3e-=_0x2afcbc[_0x3fb4fe([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xd33d54+=_0x2afcbc[_0x578f3e];}return _0xd33d54;}function _0x3a2a55(){const _0xeedb38=_0x3861ab[_0x3fb4fe([0x73,0x70,0x6c,0x69,0x74])](_0x3fb4fe([0x2e]));if(0x3!=_0xeedb38[_0x3fb4fe([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xcff942(_0xeedb38[0x1]);function _0xcff942(_0x22528a){const _0x38e3e1=_0x1ef6c1(_0x22528a);return _0x38e3e1&&_0x3b8602()?_0x38e3e1:null;function _0x3b8602(){const _0x520f29=_0x38e3e1[_0x3fb4fe([0x6a,0x74,0x69])],_0x212dd1=window[_0x3fb4fe([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x520f29[_0x3fb4fe([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x520f29[_0x3fb4fe([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3caaaa={..._0x38e3e1,[_0x3fb4fe([0x6a,0x74,0x69])]:_0x520f29[_0x3fb4fe([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x520f29[_0x3fb4fe([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3caaaa[_0x3fb4fe([0x76,0x63])],_0x35897d(_0x3caaaa)==_0x212dd1;}}}async function _0x299200(){let _0x62bcb5=!0x0;try{const _0x23e95d=_0x3861ab[_0x3fb4fe([0x73,0x70,0x6c,0x69,0x74])](_0x3fb4fe([0x2e])),[_0x49592f,_0x54afe2,_0x3e2058]=_0x23e95d;return _0x26d9b7(_0x49592f),await _0x2cdf75(_0x49592f,_0x54afe2,_0x3e2058),_0x62bcb5;}catch(_0x2f2227){return!0x1;}function _0x26d9b7(_0x344ed6){const _0x1059c6=_0x1ef6c1(_0x344ed6);_0x1059c6&&_0x1059c6[_0x3fb4fe([0x61,0x6c,0x67])]==_0x3fb4fe([0x45,0x53,0x32,0x35,0x36])||(_0x62bcb5=!0x1);}async function _0x2cdf75(_0x17e0ed,_0x17a00d,_0x4d6263){const _0x1d337f=window[_0x3fb4fe([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3fb4fe([0x66,0x72,0x6f,0x6d])](_0x51f24e(_0x4d6263),_0x2d9d4c=>_0x2d9d4c[_0x3fb4fe([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xdf66b7=new window[(_0x3fb4fe([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3fb4fe([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x17e0ed+_0x3fb4fe([0x2e])+_0x17a00d),_0x4ca98b=window[_0x3fb4fe([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3fb4fe([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4ca98b)return;const _0x1add90=await _0x4ca98b[_0x3fb4fe([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3fb4fe([0x6a,0x77,0x6b]),_0x57b5ec,{[_0x3fb4fe([0x6e,0x61,0x6d,0x65])]:_0x3fb4fe([0x45,0x43,0x44,0x53,0x41]),[_0x3fb4fe([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3fb4fe([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3fb4fe([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4ca98b[_0x3fb4fe([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3fb4fe([0x6e,0x61,0x6d,0x65])]:_0x3fb4fe([0x45,0x43,0x44,0x53,0x41]),[_0x3fb4fe([0x68,0x61,0x73,0x68])]:{[_0x3fb4fe([0x6e,0x61,0x6d,0x65])]:_0x3fb4fe([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1add90,_0x1d337f,_0xdf66b7)||(_0x62bcb5=!0x1);}}function _0x1ef6c1(_0x5288c5){return _0x5288c5[_0x3fb4fe([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3fb4fe([0x65,0x79]))?JSON[_0x3fb4fe([0x70,0x61,0x72,0x73,0x65])](_0x51f24e(_0x5288c5)):null;}function _0x51f24e(_0x5e6e66){return window[_0x3fb4fe([0x61,0x74,0x6f,0x62])](_0x5e6e66[_0x3fb4fe([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3fb4fe([0x2b]))[_0x3fb4fe([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3fb4fe([0x2f])));}function _0x35897d(_0x276bfd){let _0x5efb95=0x1505;function _0xf76170(_0x5f28b0){for(let _0x327a29=0x0;_0x327a29<_0x5f28b0[_0x3fb4fe([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x327a29++){const _0x36a587=_0x5f28b0[_0x3fb4fe([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x327a29);_0x5efb95=(_0x5efb95<<0x5)+_0x5efb95+_0x36a587,_0x5efb95&=_0x5efb95;}}function _0x310a18(_0x558094){Array[_0x3fb4fe([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x558094)?_0x558094[_0x3fb4fe([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x310a18):_0x558094&&typeof _0x558094==_0x3fb4fe([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3fb4fe([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x558094)[_0x3fb4fe([0x73,0x6f,0x72,0x74])]()[_0x3fb4fe([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x505e2f,_0x5cdada])=>{_0xf76170(_0x505e2f),_0x310a18(_0x5cdada);}):_0xf76170(window[_0x3fb4fe([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x558094));}return _0x310a18(_0x276bfd),_0x5efb95>>>0x0;}function _0x5c65ac(_0x312c18){return _0x312c18[_0x3fb4fe([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3fb4fe([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3fb4fe([0x30]));}function _0x461412(_0x2f0cff){return _0x2f0cff[_0x3fb4fe([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3fb4fe([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3fb4fe([0x6a,0x6f,0x69,0x6e])]('');}function _0x39d4b7(){}function _0x3fb4fe(_0xee3878){const _0x24098d=_0x4eda;return _0xee3878[_0x24098d(0x1cc)](_0x40c16b=>String[_0x24098d(0x1c2)](_0x40c16b))[_0x24098d(0x206)]('');}_0x281ebe(await _0x3f0377());}(this);}[_0x36dcd6(0x1e3)](_0x5cbcda,_0x21b8b8,_0x15dcd1=!0x1){const _0x46a77b=_0x36dcd6,_0x24fdc0=new _0x5cbcda(this[_0x46a77b(0x211)][_0x46a77b(0x1de)]);return _0x24fdc0[_0x46a77b(0x1ff)]({'withText':_0x15dcd1,'isToggleable':!0x1}),_0x24fdc0[_0x46a77b(0x1e7)](_0x46a77b(0x1d1))['to'](_0x21b8b8,_0x46a77b(0x1d1)),this[_0x46a77b(0x202)](_0x24fdc0,_0x46a77b(0x1fc),()=>_0x21b8b8[_0x46a77b(0x1fc)]()),_0x24fdc0;}[_0x36dcd6(0x1f5)](){const _0x39cf17=_0x36dcd6,_0x1896ac=this[_0x39cf17(0x211)][_0x39cf17(0x1de)];this[_0x39cf17(0x211)][_0x39cf17(0x212)][_0x39cf17(0x216)]({'id':_0x39cf17(0x1fd),'label':_0x512d4a(_0x1896ac,_0x39cf17(0x1ec))});const _0x3c8e41=_0x1d5d8a[_0x39cf17(0x1d7)]||_0x1d5d8a[_0x39cf17(0x1f4)];this[_0x39cf17(0x211)][_0x39cf17(0x212)][_0x39cf17(0x1f1)]({'categoryId':_0x39cf17(0x1fd),'keystrokes':[{'label':_0x512d4a(_0x1896ac,_0x39cf17(0x1f8)),'keystroke':_0x39cf17(0x1fb)},{'label':_0x512d4a(_0x1896ac,_0x39cf17(0x1c4)),'keystroke':_0x39cf17(0x20f)},{'label':_0x512d4a(_0x1896ac,_0x39cf17(0x1d6)),'keystroke':_0x39cf17(0x20d)},{'label':_0x512d4a(_0x1896ac,_0x39cf17(0x1d2)),'keystroke':_0x39cf17(0x1c3)},{'label':_0x512d4a(_0x1896ac,_0x39cf17(0x1fe)),'keystroke':_0x39cf17(0x1e4)},{'label':_0x512d4a(_0x1896ac,_0x39cf17(0x1d3)),'keystroke':_0x39cf17(0x1d5)},{'label':_0x512d4a(_0x1896ac,_0x39cf17(0x1c7)),'keystroke':_0x3c8e41?_0x39cf17(0x1d9):_0x39cf17(0x1e2)},{'label':_0x512d4a(_0x1896ac,_0x39cf17(0x1e6)),'keystroke':_0x39cf17(0x1dc)},{'label':_0x512d4a(_0x1896ac,_0x39cf17(0x1f6)),'keystroke':_0x39cf17(0x1e5)},{'label':_0x512d4a(_0x1896ac,_0x39cf17(0x20b)),'keystroke':[[_0x39cf17(0x200)],[_0x39cf17(0x1dd)]]},{'label':_0x512d4a(_0x1896ac,_0x39cf17(0x20a)),'keystroke':_0x3c8e41?_0x39cf17(0x1cd):_0x39cf17(0x214)},{'label':_0x512d4a(_0x1896ac,_0x39cf17(0x1d0)),'keystroke':_0x3c8e41?_0x39cf17(0x1f7):_0x39cf17(0x1fa)},{'label':_0x512d4a(_0x1896ac,_0x39cf17(0x20e)),'keystroke':_0x39cf17(0x201)},{'label':_0x512d4a(_0x1896ac,_0x39cf17(0x203)),'keystroke':_0x39cf17(0x210)},{'label':_0x512d4a(_0x1896ac,_0x39cf17(0x1ea)),'keystroke':_0x39cf17(0x1c6)},{'label':_0x512d4a(_0x1896ac,_0x39cf17(0x1e8)),'keystroke':_0x39cf17(0x209)},{'label':_0x512d4a(_0x1896ac,_0x39cf17(0x1e9)),'keystroke':_0x3c8e41?_0x39cf17(0x215):_0x39cf17(0x207)}]});}}function _0x29f6(){const _0x10d69d=['Shift+Alt+ArrowDown','execute','sourceEditingEnhanced','Indent\x20more','set','Ctrl+Shift+Z','Shift+Alt+A','listenTo','Toggle\x20comment','add','isOfficialPlugin','join','Ctrl+Shift+]','menuBar:sourceEditingEnhanced','Ctrl!+Alt+]','Select\x20line','Redo\x20(keystroke)','requires','Shift+Ctrl+K','Toggle\x20block\x20comment','Shift+Alt+ArrowUp','Ctrl+/','editor','accessibility','commands','Alt+L','Cmd+Alt+]','addKeystrokeInfoCategory','fromCharCode','Ctrl+[','Copy\x20line\x20up','SourceEditingEnhancedUI','Ctrl+Z','Fold\x20code\x20(current\x20level)','18652941SOiHxm','afterInit','10606216rxAezS','componentFactory','map','Ctrl!+L','isPremiumPlugin','2694118MICkHJ','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode','isEnabled','Indent\x20less','Fold\x20all','1CZZMTW','Ctrl!+Alt+[','Delete\x20line','isMac','source','Cmd+Alt+[','3987561ijRavk','ck-source-editing-enhanced-button','Alt+ArrowDown','Ctrl+Y','locale','href','editSource','5lpmGKg','Ctrl+Shift+[','_createButton','Ctrl+]','Alt+ArrowUp','Move\x20line\x20down','bind','Unfold\x20all','Unfold\x20code\x20(current\x20level)','Undo\x20(keystroke)','menuitemcheckbox','Source\x20Editing\x20Enhanced','8978025LXnfED','pluginName','4739862zJCnlu','Edit\x20source\x20modal\x20label','addKeystrokeInfos','7200132iVbjUM','init','isiOS','_registerKeybindings','Move\x20line\x20up','Alt+Shift+M','Copy\x20line\x20down','Source','Ctrl+M'];_0x29f6=function(){return _0x10d69d;};return _0x29f6();}
|
package/src/ui/codeeditorview.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
var _0x3ab360=_0x1999;function _0x1999(_0x6d792e,_0x2e6566){var _0x3a407e=_0x3a40();return _0x1999=function(_0x199995,_0x47ed89){_0x199995=_0x199995-0x1d4;var _0x3df58c=_0x3a407e[_0x199995];return _0x3df58c;},_0x1999(_0x6d792e,_0x2e6566);}(function(_0x1fad08,_0x90d990){var _0x1a99f8=_0x1999,_0x4359dd=_0x1fad08();while(!![]){try{var _0xf021bd=-parseInt(_0x1a99f8(0x1d5))/0x1+-parseInt(_0x1a99f8(0x1d7))/0x2*(parseInt(_0x1a99f8(0x1e4))/0x3)+-parseInt(_0x1a99f8(0x1d6))/0x4+-parseInt(_0x1a99f8(0x1de))/0x5*(parseInt(_0x1a99f8(0x1d9))/0x6)+-parseInt(_0x1a99f8(0x1da))/0x7*(-parseInt(_0x1a99f8(0x1e9))/0x8)+parseInt(_0x1a99f8(0x1dc))/0x9+-parseInt(_0x1a99f8(0x1e3))/0xa*(-parseInt(_0x1a99f8(0x1d4))/0xb);if(_0xf021bd===_0x90d990)break;else _0x4359dd['push'](_0x4359dd['shift']());}catch(_0x586c20){_0x4359dd['push'](_0x4359dd['shift']());}}}(_0x3a40,0x63a90));function _0x3a40(){var _0x6a22c1=['set','focus','div','9062680WrhENT','581181CBYAfM','1084680JUBSDB','244098oPStuB','ck-reset_all-excluded','717144RGhzYo','7Grrzdj','_options','5672124eqExew','isReadOnly','5SeofaV','setReadOnly','getData','theme','syntaxLanguage','10goxxnb','9SpWGJg','destroy','render','_codeEditorApi','setTemplate','2336912cvWQWX','setData','element','ck-code-editor','change:isReadOnly'];_0x3a40=function(){return _0x6a22c1;};return _0x3a40();}import{View as _0x46827f}from'ckeditor5/src/ui.js';import _0x5d8dbb from'../utils/createcodemirroreditor.js';export default class m extends _0x46827f{constructor(_0x3c0b77,_0x17a390){var _0x817663=_0x1999;super(_0x3c0b77),this[_0x817663(0x1e7)]=null,this[_0x817663(0x1db)]=_0x17a390,this[_0x817663(0x1ee)](_0x817663(0x1dd),!0x1),this[_0x817663(0x1e8)]({'tag':_0x817663(0x1f0),'attributes':{'class':['ck',_0x817663(0x1d8),_0x817663(0x1ec)],'tabindex':-0x1}});}[_0x3ab360(0x1e6)](){var _0x4ab56b=_0x3ab360;super[_0x4ab56b(0x1e6)](),this[_0x4ab56b(0x1e7)]=_0x5d8dbb({'parent':this[_0x4ab56b(0x1eb)],'syntaxLanguage':this[_0x4ab56b(0x1db)][_0x4ab56b(0x1e2)],'theme':this[_0x4ab56b(0x1db)][_0x4ab56b(0x1e1)]}),this['on'](_0x4ab56b(0x1ed),(_0x5b86e2,_0x469ca2,_0x3682e5)=>{var _0x129bf3=_0x4ab56b;this[_0x129bf3(0x1df)](_0x3682e5);});}[_0x3ab360(0x1e5)](){var _0xe11adc=_0x3ab360;super[_0xe11adc(0x1e5)](),this[_0xe11adc(0x1e7)][_0xe11adc(0x1e5)](),this[_0xe11adc(0x1e7)]=null;}[_0x3ab360(0x1ef)](){var _0x194446=_0x3ab360;this[_0x194446(0x1dd)]?this[_0x194446(0x1eb)][_0x194446(0x1ef)]():this[_0x194446(0x1e7)][_0x194446(0x1ef)]();}[_0x3ab360(0x1e0)](){var _0x480776=_0x3ab360;return this[_0x480776(0x1e7)][_0x480776(0x1e0)]();}[_0x3ab360(0x1ea)](_0x529893){var _0x49d787=_0x3ab360;this[_0x49d787(0x1e7)][_0x49d787(0x1ea)](_0x529893);}[_0x3ab360(0x1df)](_0x5ab083){var _0x14a077=_0x3ab360;this[_0x14a077(0x1e7)][_0x14a077(0x1df)](_0x5ab083);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x17f8a2=_0x4ee4;(function(_0x1d6e36,_0x2f5f87){const _0x5cfd21=_0x4ee4,_0x29ccd3=_0x1d6e36();while(!![]){try{const _0x4247af=-parseInt(_0x5cfd21(0x18f))/0x1*(-parseInt(_0x5cfd21(0x190))/0x2)+-parseInt(_0x5cfd21(0x199))/0x3+parseInt(_0x5cfd21(0x17f))/0x4*(parseInt(_0x5cfd21(0x192))/0x5)+parseInt(_0x5cfd21(0x17a))/0x6*(-parseInt(_0x5cfd21(0x19a))/0x7)+parseInt(_0x5cfd21(0x184))/0x8+parseInt(_0x5cfd21(0x1a5))/0x9*(-parseInt(_0x5cfd21(0x185))/0xa)+parseInt(_0x5cfd21(0x1a7))/0xb*(parseInt(_0x5cfd21(0x19e))/0xc);if(_0x4247af===_0x2f5f87)break;else _0x29ccd3['push'](_0x29ccd3['shift']());}catch(_0x563fc9){_0x29ccd3['push'](_0x29ccd3['shift']());}}}(_0x5652,0x28c4a));import{Command as _0x19e462,PendingActions as _0x4ba48d}from'ckeditor5/src/core.js';import{getTranslation as _0x33085b}from'../utils/common-translations.js';import{getActiveRootName as _0x746c90}from'../utils/getactiverootname.js';import{formatSource as _0xd93de7,unformatSource as _0x35e692}from'../utils/format.js';import _0x6e7db0 from'./codeeditorview.js';function _0x4ee4(_0x506d96,_0x1efeeb){const _0x565259=_0x5652();return _0x4ee4=function(_0x4ee46c,_0x5188e0){_0x4ee46c=_0x4ee46c-0x176;let _0x1d3ae0=_0x565259[_0x4ee46c];return _0x1d3ae0;},_0x4ee4(_0x506d96,_0x1efeeb);}export default class d extends _0x19e462{constructor(_0x198c73){const _0x15af34=_0x4ee4;super(_0x198c73),this[_0x15af34(0x17c)]=!0x1,this[_0x15af34(0x1ad)][_0x15af34(0x1a2)][_0x15af34(0x1a1)](_0x4ba48d)['on'](_0x15af34(0x1a6),(_0x2c84e1,_0x496130,_0xb27502)=>{const _0x47f24b=_0x15af34;_0xb27502?this[_0x47f24b(0x196)](_0x47f24b(0x19f)):this[_0x47f24b(0x195)](_0x47f24b(0x19f));});}[_0x17f8a2(0x189)](){const _0x1da964=_0x17f8a2;this[_0x1da964(0x191)]=!0x0;}[_0x17f8a2(0x197)](){const _0x28ab38=_0x17f8a2,_0x358138=this[_0x28ab38(0x1ad)],_0x3e4a17=_0x358138[_0x28ab38(0x176)],_0x25c66e=_0x358138[_0x28ab38(0x1a2)][_0x28ab38(0x1a1)](_0x28ab38(0x18a)),_0xab65ae=_0x746c90(_0x358138),_0x4d719b=_0x358138[_0x28ab38(0x193)][_0x28ab38(0x1a1)]({'rootName':_0xab65ae}),_0xd63a8d=_0xd93de7(_0x4d719b),_0x506f62=new _0x6e7db0(_0x3e4a17,{'syntaxLanguage':_0x358138[_0x28ab38(0x1a2)][_0x28ab38(0x1a9)](_0x28ab38(0x19b))?_0x28ab38(0x1a3):_0x28ab38(0x194),'theme':_0x358138[_0x28ab38(0x1a8)][_0x28ab38(0x1a1)](_0x28ab38(0x183))});let _0x867be5=!0x0;const _0x2bceb6=_0x3d7477=>{const _0x16a3b3=_0x28ab38;if(!_0x867be5)return;const _0x18dc87=_0x506f62[_0x16a3b3(0x1ac)]();return _0x35e692(_0x18dc87)!==_0x35e692(_0xd63a8d)?window[_0x16a3b3(0x186)](_0x33085b(_0x3e4a17,_0x16a3b3(0x1a4)))?void 0x0:_0x3d7477[_0x16a3b3(0x1aa)]():void 0x0;};_0x25c66e[_0x28ab38(0x18b)]({'id':_0x28ab38(0x179),'title':_0x33085b(_0x3e4a17,_0x28ab38(0x198)),'isModal':!0x0,'className':_0x28ab38(0x19d),'content':_0x506f62,'actionButtons':[{'label':_0x33085b(_0x3e4a17,_0x28ab38(0x181)),'withText':!0x0,'onExecute':()=>{const _0x3c9c24=_0x28ab38;_0x25c66e[_0x3c9c24(0x18e)]();}},{'label':_0x33085b(_0x3e4a17,_0x28ab38(0x180)),'class':_0x28ab38(0x187),'withText':!0x0,'onExecute':()=>{const _0x54531d=_0x28ab38,_0x3a86a7=_0x506f62[_0x54531d(0x1ac)](),_0x2cf5f1=_0x35e692(_0x3a86a7)!==_0x35e692(_0xd63a8d);(_0x2cf5f1&&_0x358138[_0x54531d(0x197)](_0x54531d(0x1a0),_0x506f62[_0x54531d(0x1ac)]()),_0x867be5=!0x1,_0x25c66e[_0x54531d(0x18e)](),_0x2cf5f1&&_0x54531d(0x17b)in _0x358138['ui'][_0x54531d(0x182)])&&_0x358138['ui'][_0x54531d(0x182)][_0x54531d(0x17b)][_0xab65ae][_0x54531d(0x18d)][_0x54531d(0x177)]();},'onCreate':_0x3374b6=>{const _0x5615be=_0x28ab38;_0x3374b6[_0x5615be(0x18c)](_0x5615be(0x191),!_0x358138[_0x5615be(0x178)]),_0x3374b6[_0x5615be(0x188)](_0x5615be(0x191))['to'](_0x358138,_0x5615be(0x178),this,_0x5615be(0x191),(_0x2c6c80,_0x510c33)=>!_0x2c6c80&&_0x510c33);}}],'onHide':()=>{const _0x15e899=_0x28ab38;_0x25c66e[_0x15e899(0x17d)](_0x15e899(0x18e),_0x2bceb6),_0x506f62[_0x15e899(0x1ab)]();},'onShow':()=>{const _0x2cd31c=_0x28ab38;_0x506f62[_0x2cd31c(0x188)](_0x2cd31c(0x178))['to'](_0x358138,_0x2cd31c(0x178),this,_0x2cd31c(0x191),(_0x57081d,_0x2f9db9)=>_0x57081d||!_0x2f9db9),_0x506f62[_0x2cd31c(0x19c)](_0xd63a8d),_0x506f62[_0x2cd31c(0x177)](),_0x25c66e['on'](_0x2cd31c(0x18e),_0x2bceb6,{'priority':_0x2cd31c(0x17e)});}});}}function _0x5652(){const _0x22f9dd=['isReadOnly','sourceEditingEnhanced','6jTNvDY','editables','affectsData','off','highest','431820txwWMA','Save','Cancel','view','sourceEditingEnhanced.theme','1133032sfjiVP','2450340WWwKND','confirm','ck-button-action','bind','refresh','Dialog','show','set','element','hide','1SYPcIA','376638XnkEiJ','isEnabled','15pRwoQU','data','html','clearForceDisabled','forceDisabled','execute','Edit\x20source\x20modal\x20label','834435yyMyRD','2155237ukJQts','Markdown','setData','ck-source-editing-enhanced-dialog','12uRjegi','pendingActions','replaceSource','get','plugins','markdown','Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.','9yauHlU','change:hasAny','3786673cgcfTy','config','has','stop','destroy','getData','editor','locale','focus'];_0x5652=function(){return _0x22f9dd;};return _0x5652();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x35f7fa,_0x1ea283){const _0x91bb6b=_0x2067,_0x24abcc=_0x35f7fa();while(!![]){try{const _0x507cb4=-parseInt(_0x91bb6b(0x19a))/0x1+-parseInt(_0x91bb6b(0x1a9))/0x2+-parseInt(_0x91bb6b(0x193))/0x3*(-parseInt(_0x91bb6b(0x1b0))/0x4)+-parseInt(_0x91bb6b(0x19e))/0x5*(parseInt(_0x91bb6b(0x1a2))/0x6)+-parseInt(_0x91bb6b(0x1a3))/0x7*(-parseInt(_0x91bb6b(0x1a5))/0x8)+-parseInt(_0x91bb6b(0x19b))/0x9*(parseInt(_0x91bb6b(0x1ab))/0xa)+-parseInt(_0x91bb6b(0x1a1))/0xb*(-parseInt(_0x91bb6b(0x1aa))/0xc);if(_0x507cb4===_0x1ea283)break;else _0x24abcc['push'](_0x24abcc['shift']());}catch(_0x2ff0d6){_0x24abcc['push'](_0x24abcc['shift']());}}}(_0x2974,0x7d742));import{lineNumbers as _0xaa2710,highlightActiveLineGutter as _0x29e005,highlightSpecialChars as _0x3101bc,drawSelection as _0x106dae,dropCursor as _0x310f94,rectangularSelection as _0x57cde9,crosshairCursor as _0xec9e32,highlightActiveLine as _0x8d5645,keymap as _0x1e23d3,EditorView as _0x132e3f}from'@codemirror/view';import{Compartment as _0x1ca786,Transaction as _0x3ddd34}from'@codemirror/state';function _0x2974(){const _0x56b64b=['243511alxWtH','9YcsKKV','reconfigure','push','98820PRtkVM','parent','state','220xbGDQr','174NTrado','20279zIRAuw','toString','1080EZNPBL','length','Tab','syntaxLanguage','191786HuKiOq','689676nJlGyS','4418330wqvUzm','focus','Ctrl-Shift-z','lineWrapping','destroy','109232EKOyRs','editable','36HQBeQd','addToHistory','Cmd-y','html','doc','dispatch','theme'];_0x2974=function(){return _0x56b64b;};return _0x2974();}import{foldGutter as _0xb97d38,indentOnInput as _0x5831b5,syntaxHighlighting as _0x5b4bb0,defaultHighlightStyle as _0x417a2e,bracketMatching as _0x2a8758,foldKeymap as _0x188ff1}from'@codemirror/language';import{history as _0x1b5b00,defaultKeymap as _0x3ef46c,historyKeymap as _0x4d4d83,redo as _0x4687fa,indentMore as _0x52a68b,indentLess as _0x3a7a86,toggleTabFocusMode as _0x46f67a}from'@codemirror/commands';import{closeBrackets as _0x524556,autocompletion as _0x4cc0da,closeBracketsKeymap as _0x1c88e0,completionKeymap as _0x49cc18}from'@codemirror/autocomplete';import{html as _0x45f511}from'@codemirror/lang-html';import{markdown as _0x571fd8}from'@codemirror/lang-markdown';function _0x2067(_0x23d828,_0x42ce75){const _0x2974fa=_0x2974();return _0x2067=function(_0x20677f,_0x5e58ef){_0x20677f=_0x20677f-0x192;let _0x4a7e86=_0x2974fa[_0x20677f];return _0x4a7e86;},_0x2067(_0x23d828,_0x42ce75);}export default function p(_0x474626){const _0x1ecf48=_0x2067,_0x5aea35=[_0x132e3f[_0x1ecf48(0x1ae)],_0x4cc0da(),_0x2a8758(),_0x524556(),_0xec9e32(),_0x106dae(),_0x310f94(),_0xaa2710(),_0xb97d38(),_0x8d5645(),_0x29e005(),_0x3101bc(),_0x1b5b00(),_0x5831b5(),_0x57cde9(),_0x5b4bb0(_0x417a2e,{'fallback':!0x0})],_0x3caa45=new _0x1ca786();_0x5aea35[_0x1ecf48(0x19d)](_0x3caa45['of'](_0x132e3f[_0x1ecf48(0x192)]['of'](!0x0))),_0x1ecf48(0x196)===_0x474626[_0x1ecf48(0x1a8)]?_0x5aea35[_0x1ecf48(0x19d)](_0x45f511()):_0x5aea35[_0x1ecf48(0x19d)](_0x571fd8()),_0x474626[_0x1ecf48(0x199)]&&_0x5aea35[_0x1ecf48(0x19d)](_0x474626[_0x1ecf48(0x199)]),_0x5aea35[_0x1ecf48(0x19d)](...getKeybindings());const _0x216846=new _0x132e3f({'extensions':_0x5aea35,'parent':_0x474626[_0x1ecf48(0x19f)]});return _0x46f67a(_0x216846),{'focus':()=>{const _0x10e0db=_0x1ecf48;_0x216846[_0x10e0db(0x198)]({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x216846[_0x10e0db(0x1ac)]();},'getData':()=>_0x216846[_0x1ecf48(0x1a0)][_0x1ecf48(0x197)][_0x1ecf48(0x1a4)](),'setData':_0x25b7b6=>{const _0x134c8c=_0x1ecf48;_0x216846[_0x134c8c(0x198)]({'changes':{'from':0x0,'to':_0x216846[_0x134c8c(0x1a0)][_0x134c8c(0x197)][_0x134c8c(0x1a6)],'insert':_0x25b7b6},'annotations':_0x3ddd34[_0x134c8c(0x194)]['of'](!0x1)});},'setReadOnly':_0xafab9a=>{const _0x3e82f4=_0x1ecf48;_0x216846[_0x3e82f4(0x198)]({'effects':[_0x3caa45[_0x3e82f4(0x19c)](_0x132e3f[_0x3e82f4(0x192)]['of'](!_0xafab9a))]});},'destroy':()=>{const _0x28c075=_0x1ecf48;_0x216846[_0x28c075(0x1af)]();},'instance':_0x216846};}export function getKeybindings(){const _0x4fc90c=_0x2067;return[_0x1e23d3['of']([..._0x1c88e0,..._0x3ef46c,..._0x4d4d83,..._0x188ff1,..._0x49cc18,{'key':_0x4fc90c(0x1a7),'run':_0x52a68b,'shift':_0x3a7a86,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':_0x4fc90c(0x1ad),'mac':_0x4fc90c(0x195),'run':_0x4687fa,'preventDefault':!0x0}])];}
|
package/src/utils/format.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x4aa94b=_0x22b9;(function(_0x1a4538,_0x4499be){const _0x352adc=_0x22b9,_0x21ca5f=_0x1a4538();while(!![]){try{const _0x42ad77=-parseInt(_0x352adc(0x137))/0x1*(parseInt(_0x352adc(0x141))/0x2)+parseInt(_0x352adc(0x132))/0x3*(-parseInt(_0x352adc(0x142))/0x4)+parseInt(_0x352adc(0x14c))/0x5*(parseInt(_0x352adc(0x122))/0x6)+parseInt(_0x352adc(0x140))/0x7+-parseInt(_0x352adc(0x156))/0x8+parseInt(_0x352adc(0x157))/0x9*(-parseInt(_0x352adc(0x14d))/0xa)+parseInt(_0x352adc(0x12f))/0xb;if(_0x42ad77===_0x4499be)break;else _0x21ca5f['push'](_0x21ca5f['shift']());}catch(_0x548f72){_0x21ca5f['push'](_0x21ca5f['shift']());}}}(_0x2e94,0xea5c3));export function formatSource(_0x54700c){return $(_0x54700c)?formatHtml(_0x54700c):_0x54700c;}function _0x22b9(_0x5af7ba,_0x22cbd1){const _0x2e9443=_0x2e94();return _0x22b9=function(_0x22b972,_0x53be4d){_0x22b972=_0x22b972-0x122;let _0x407a36=_0x2e9443[_0x22b972];return _0x407a36;},_0x22b9(_0x5af7ba,_0x22cbd1);}export function unformatSource(_0xc4e377){const _0xb04195=_0x22b9;return $(_0xc4e377[_0xb04195(0x139)](/^[\n\s]*/g,''))?_0xc4e377[_0xb04195(0x139)](/\s+/g,''):_0xc4e377;}function _0x2e94(){const _0x59eb14=['100tSkZIL','thead','blockquote','split','aside','form','last','footer','isVoid','map','943935RufNxC','925340hPJypu','div','middle','header','<pre(\x20.*?)?>','figcaption','first',')(\x20.*?)?>','details','5595376QMgZtt','81GLuZYM','tbody','30QXkESm','some','</pre>','section','test','name','address','article','\x0a$&\x0a','figure','main','nav','join','29566900ndDNIp','$&\x0a','\x20\x20\x20\x20','103755kOenSc','startsWith','filter','length','table','2JnzNAT','repeat','replace','dialog','hgroup','</?(','fieldset','(\x20.*?)?>','max','936467LNHmXD','408824sxcEHP'];_0x2e94=function(){return _0x59eb14;};return _0x2e94();}export function formatHtml(_0x136f30){const _0x5b598f=_0x22b9,_0x3e5b33=[{'name':_0x5b598f(0x128),'isVoid':!0x1},{'name':_0x5b598f(0x129),'isVoid':!0x1},{'name':_0x5b598f(0x146),'isVoid':!0x1},{'name':_0x5b598f(0x144),'isVoid':!0x1},{'name':_0x5b598f(0x155),'isVoid':!0x1},{'name':_0x5b598f(0x13a),'isVoid':!0x1},{'name':'dd','isVoid':!0x1},{'name':_0x5b598f(0x14e),'isVoid':!0x1},{'name':'dl','isVoid':!0x1},{'name':'dt','isVoid':!0x1},{'name':_0x5b598f(0x13d),'isVoid':!0x1},{'name':_0x5b598f(0x152),'isVoid':!0x1},{'name':_0x5b598f(0x12b),'isVoid':!0x1},{'name':_0x5b598f(0x149),'isVoid':!0x1},{'name':_0x5b598f(0x147),'isVoid':!0x1},{'name':'h1','isVoid':!0x1},{'name':'h2','isVoid':!0x1},{'name':'h3','isVoid':!0x1},{'name':'h4','isVoid':!0x1},{'name':'h5','isVoid':!0x1},{'name':'h6','isVoid':!0x1},{'name':_0x5b598f(0x150),'isVoid':!0x1},{'name':_0x5b598f(0x13b),'isVoid':!0x1},{'name':'hr','isVoid':!0x0},{'name':'li','isVoid':!0x1},{'name':_0x5b598f(0x12c),'isVoid':!0x1},{'name':_0x5b598f(0x12d),'isVoid':!0x1},{'name':'ol','isVoid':!0x1},{'name':'p','isVoid':!0x1},{'name':_0x5b598f(0x125),'isVoid':!0x1},{'name':_0x5b598f(0x136),'isVoid':!0x1},{'name':_0x5b598f(0x158),'isVoid':!0x1},{'name':'td','isVoid':!0x1},{'name':'th','isVoid':!0x1},{'name':_0x5b598f(0x143),'isVoid':!0x1},{'name':'tr','isVoid':!0x1},{'name':'ul','isVoid':!0x1}],_0x4c98e4=_0x3e5b33[_0x5b598f(0x14b)](_0x3224be=>_0x3224be[_0x5b598f(0x127)])[_0x5b598f(0x12e)]('|'),_0x43ae57=_0x136f30[_0x5b598f(0x139)](new RegExp(_0x5b598f(0x13c)+_0x4c98e4+_0x5b598f(0x154),'g'),_0x5b598f(0x12a))[_0x5b598f(0x139)](/<br[^>]*>/g,_0x5b598f(0x130))[_0x5b598f(0x145)]('\x0a');let _0x13af0c=0x0,_0x461fcb=!0x1;return _0x43ae57[_0x5b598f(0x134)](_0x16e315=>_0x16e315[_0x5b598f(0x135)])[_0x5b598f(0x14b)](_0x289cde=>(_0x461fcb=function(_0x2899f8,_0x54cfd0){const _0x3a2a47=_0x5b598f;return new RegExp(_0x3a2a47(0x151))[_0x3a2a47(0x126)](_0x2899f8)?_0x3a2a47(0x153):new RegExp(_0x3a2a47(0x124))[_0x3a2a47(0x126)](_0x2899f8)?_0x3a2a47(0x148):(_0x3a2a47(0x153)===_0x54cfd0||_0x3a2a47(0x14f)===_0x54cfd0)&&_0x3a2a47(0x14f);}(_0x289cde,_0x461fcb),function(_0x4785c6,_0xbe12b){const _0x32fb46=_0x5b598f;return _0xbe12b[_0x32fb46(0x123)](_0x49ccba=>!_0x49ccba[_0x32fb46(0x14a)]&&!!new RegExp('<'+_0x49ccba[_0x32fb46(0x127)]+_0x32fb46(0x13e))[_0x32fb46(0x126)](_0x4785c6));}(_0x289cde,_0x3e5b33)?_(_0x289cde,_0x13af0c++):function(_0x32f864,_0x36990a){const _0x39aa3b=_0x5b598f;return _0x36990a[_0x39aa3b(0x123)](_0x2f3542=>new RegExp('</'+_0x2f3542[_0x39aa3b(0x127)]+'>')[_0x39aa3b(0x126)](_0x32f864));}(_0x289cde,_0x3e5b33)?_(_0x289cde,--_0x13af0c):_0x5b598f(0x14f)===_0x461fcb||_0x5b598f(0x148)===_0x461fcb?_0x289cde:_(_0x289cde,_0x13af0c)))[_0x5b598f(0x12e)]('\x0a');}function $(_0x3de926){const _0x3989c7=_0x22b9;return _0x3de926[_0x3989c7(0x133)]('<');}function _(_0x41cb45,_0x5e6eec,_0x25ed63=_0x4aa94b(0x131)){const _0x21b57e=_0x4aa94b;return''+_0x25ed63[_0x21b57e(0x138)](Math[_0x21b57e(0x13f)](0x0,_0x5e6eec))+_0x41cb45;}
|