@ckeditor/ckeditor5-source-editing-enhanced 44.2.0-alpha.4 → 44.2.0-alpha.6
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 _0x52182e,PendingActions as _0xb6fa3b,Plugin as _0x12d57e,icons as _0x3eb348}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x1b5e90,env as _0x49e965,uid as _0xb775e7}from'@ckeditor/ckeditor5-utils/dist/index.js';import{View as _0x5a4661,ButtonView as _0x1ae54a,MenuBarMenuListItemButtonView as _0x108675}from'@ckeditor/ckeditor5-ui/dist/index.js';import{EditorView as _0x4175e3,crosshairCursor as _0x3e9a27,drawSelection as _0x3be81e,dropCursor as _0x44ec61,lineNumbers as _0x19dcd0,highlightActiveLine as _0x478753,highlightActiveLineGutter as _0x3f687f,highlightSpecialChars as _0xc6e41b,rectangularSelection as _0x5b2108,keymap as _0x3a8e11}from'@codemirror/view';import{Compartment as _0x16144b,Transaction as _0xc99256}from'@codemirror/state';import{bracketMatching as _0x49024d,foldGutter as _0x453403,indentOnInput as _0x47d41c,syntaxHighlighting as _0x15f489,defaultHighlightStyle as _0x1a4ea8,foldKeymap as _0x6bf4a}from'@codemirror/language';import{toggleTabFocusMode as _0x3c7b53,history as _0x301905,defaultKeymap as _0x1bf013,historyKeymap as _0x2a5849,indentLess as _0x5695dd,indentMore as _0x1b73dc,redo as _0x5a7e63}from'@codemirror/commands';import{autocompletion as _0x304b4d,closeBrackets as _0xc7059c,closeBracketsKeymap as _0x59e4db,completionKeymap as _0x49561b}from'@codemirror/autocomplete';import{html as _0x5a1cd7}from'@codemirror/lang-html';import{markdown as _0x5aa4fb}from'@codemirror/lang-markdown';function f(_0x32a019,_0x5809c4){const t=_0x32a019['t'];switch(_0x5809c4){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 _0x5809c4;}}function o(_0x462a15){const _0x10cbfc=_0x462a15['editing']['view']['document']['roots'],_0x590a63=_0x10cbfc['length'];if(0x0===_0x590a63)throw new _0x1b5e90('source-editing-enhanced-editor-no-root',_0x462a15);if(0x1===_0x590a63)return _0x10cbfc['first']['rootName'];return Array['from'](_0x462a15['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function g(_0x4da0f0){return $(_0x4da0f0)?function(_0x1d2b46){const _0x50e613=[{'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}],_0x46008f=_0x50e613['map'](_0x2c32fe=>_0x2c32fe['name'])['join']('|'),_0x8cdf09=_0x1d2b46['replace'](new RegExp('</?('+_0x46008f+')(\x20.*?)?>','g'),'\x0a$&\x0a')['replace'](/<br[^>]*>/g,'$&\x0a')['split']('\x0a');let _0x8478ff=0x0,_0x47b2df=!0x1;return _0x8cdf09['filter'](_0x34cb7f=>_0x34cb7f['length'])['map'](_0x185a93=>(_0x47b2df=function(_0x3945ba,_0x53aaae){return new RegExp('<pre(\x20.*?)?>')['test'](_0x3945ba)?'first':new RegExp('</pre>')['test'](_0x3945ba)?'last':('first'===_0x53aaae||'middle'===_0x53aaae)&&'middle';}(_0x185a93,_0x47b2df),function(_0x2b027f,_0x526195){return _0x526195['some'](_0x26bb26=>!_0x26bb26['isVoid']&&!!new RegExp('<'+_0x26bb26['name']+'(\x20.*?)?>')['test'](_0x2b027f));}(_0x185a93,_0x50e613)?_(_0x185a93,_0x8478ff++):function(_0x265eef,_0x46d2e0){return _0x46d2e0['some'](_0x28683c=>new RegExp('</'+_0x28683c['name']+'>')['test'](_0x265eef));}(_0x185a93,_0x50e613)?_(_0x185a93,--_0x8478ff):'middle'===_0x47b2df||'last'===_0x47b2df?_0x185a93:_(_0x185a93,_0x8478ff)))['join']('\x0a');}(_0x4da0f0):_0x4da0f0;}function E(_0x1886b9){return $(_0x1886b9['replace'](/^[\n\s]*/g,''))?_0x1886b9['replace'](/\s+/g,''):_0x1886b9;}function $(_0x16bc9d){return _0x16bc9d['startsWith']('<');}function _(_0xe549c6,_0x581e47,_0x1639ca='\x20\x20\x20\x20'){return''+_0x1639ca['repeat'](Math['max'](0x0,_0x581e47))+_0xe549c6;}function p(_0x535e99){const _0x3fdb25=[_0x4175e3['lineWrapping'],_0x304b4d(),_0x49024d(),_0xc7059c(),_0x3e9a27(),_0x3be81e(),_0x44ec61(),_0x19dcd0(),_0x453403(),_0x478753(),_0x3f687f(),_0xc6e41b(),_0x301905(),_0x47d41c(),_0x5b2108(),_0x15f489(_0x1a4ea8,{'fallback':!0x0})],_0x2bbdb3=new _0x16144b();_0x3fdb25['push'](_0x2bbdb3['of'](_0x4175e3['editable']['of'](!0x0))),'html'===_0x535e99['syntaxLanguage']?_0x3fdb25['push'](_0x5a1cd7()):_0x3fdb25['push'](_0x5aa4fb()),_0x535e99['theme']&&_0x3fdb25['push'](_0x535e99['theme']),_0x3fdb25['push'](_0x3a8e11['of']([..._0x59e4db,..._0x1bf013,..._0x2a5849,..._0x6bf4a,..._0x49561b,{'key':'Tab','run':_0x1b73dc,'shift':_0x5695dd,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-Shift-z','mac':'Cmd-y','run':_0x5a7e63,'preventDefault':!0x0}]));const _0x4971dc=new _0x4175e3({'extensions':_0x3fdb25,'parent':_0x535e99['parent']});return _0x3c7b53(_0x4971dc),{'focus':()=>{_0x4971dc['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x4971dc['focus']();},'getData':()=>_0x4971dc['state']['doc']['toString'](),'setData':_0x4ed9f4=>{_0x4971dc['dispatch']({'changes':{'from':0x0,'to':_0x4971dc['state']['doc']['length'],'insert':_0x4ed9f4},'annotations':_0xc99256['addToHistory']['of'](!0x1)});},'setReadOnly':_0xadbd19=>{_0x4971dc['dispatch']({'effects':[_0x2bbdb3['reconfigure'](_0x4175e3['editable']['of'](!_0xadbd19))]});},'destroy':()=>{_0x4971dc['destroy']();},'instance':_0x4971dc};}class m extends _0x5a4661{constructor(_0x299198,_0x108ec9){super(_0x299198),this['_codeEditorApi']=null,this['_options']=_0x108ec9,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',(_0x2f6ec7,_0x3b75fc,_0x5ac3d3)=>{this['setReadOnly'](_0x5ac3d3);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0x179935){this['_codeEditorApi']['setData'](_0x179935);}['setReadOnly'](_0x43b036){this['_codeEditorApi']['setReadOnly'](_0x43b036);}}class d extends _0x52182e{constructor(_0x308378){super(_0x308378),this['affectsData']=!0x1,this['editor']['plugins']['get'](_0xb6fa3b)['on']('change:hasAny',(_0x1d11ba,_0x138f2b,_0x47780d)=>{_0x47780d?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x29cf99=this['editor'],_0x265040=_0x29cf99['locale'],_0x4ed989=_0x29cf99['plugins']['get']('Dialog'),_0x5cfbc1=o(_0x29cf99),_0x16865f=g(_0x29cf99['data']['get']({'rootName':_0x5cfbc1})),_0x58d416=new m(_0x265040,{'syntaxLanguage':_0x29cf99['plugins']['has']('Markdown')?'markdown':'html','theme':_0x29cf99['config']['get']('sourceEditingEnhanced.theme')});let _0x2f461b=!0x0;const _0x54e93f=_0xa316d1=>{if(!_0x2f461b)return;return E(_0x58d416['getData']())!==E(_0x16865f)?window['confirm'](f(_0x265040,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0xa316d1['stop']():void 0x0;};_0x4ed989['show']({'id':'sourceEditingEnhanced','title':f(_0x265040,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0x58d416,'actionButtons':[{'label':f(_0x265040,'Cancel'),'withText':!0x0,'onExecute':()=>{_0x4ed989['hide']();}},{'label':f(_0x265040,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0x235888=E(_0x58d416['getData']())!==E(_0x16865f);(_0x235888&&_0x29cf99['execute']('replaceSource',_0x58d416['getData']()),_0x2f461b=!0x1,_0x4ed989['hide'](),_0x235888&&'editables'in _0x29cf99['ui']['view'])&&_0x29cf99['ui']['view']['editables'][_0x5cfbc1]['element']['focus']();},'onCreate':_0x37eb94=>{_0x37eb94['set']('isEnabled',!_0x29cf99['isReadOnly']),_0x37eb94['bind']('isEnabled')['to'](_0x29cf99,'isReadOnly',this,'isEnabled',(_0x44c10f,_0x26e3f4)=>!_0x44c10f&&_0x26e3f4);}}],'onHide':()=>{_0x4ed989['off']('hide',_0x54e93f),_0x58d416['destroy']();},'onShow':()=>{_0x58d416['bind']('isReadOnly')['to'](_0x29cf99,'isReadOnly',this,'isEnabled',(_0x46cfbc,_0x5eaa47)=>_0x46cfbc||!_0x5eaa47),_0x58d416['setData'](_0x16865f),_0x58d416['focus'](),_0x4ed989['on']('hide',_0x54e93f,{'priority':'highest'});}});}}class n extends _0x12d57e{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[_0xb6fa3b];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x249ab=this['editor'],_0x5b7351=_0x249ab['locale'],_0x109c9b=new d(_0x249ab);_0x249ab['commands']['add']('editSource',_0x109c9b),_0x249ab['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0x5890de=this['_createButton'](_0x1ae54a,_0x109c9b);return _0x5890de['set']({'label':f(_0x5b7351,'Source'),'icon':_0x3eb348['source'],'tooltip':f(_0x5b7351,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0x5890de;}),_0x249ab['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0x2b98c2=this['_createButton'](_0x108675,_0x109c9b,!0x0);return _0x2b98c2['set']({'label':f(_0x5b7351,'Edit\x20source\x20modal\x20label'),'icon':_0x3eb348['source'],'role':'menuitemcheckbox'}),_0x2b98c2;}),this['_registerKeybindings']();}['afterInit'](){!async function(_0x53170e){const _0x197a6f=_0x3f6557([0x64,0x6a,0x32,0x61,0x74,0x7a,0x78,0x73,0x4a,0x53,0x6b,0x4e,0x44,0x72,0x51,0x4c,0x65,0x45,0x48,0x6e,0x6c,0x4f,0x50,0x41,0x43,0x76,0x47,0x4b,0x33,0x79,0x56,0x30,0x66,0x54,0x77,0x58,0x31,0x46,0x69,0x71,0x35,0x67,0x34,0x52,0x6f,0x75,0x63,0x57,0x62,0x42,0x36,0x6d,0x39,0x4d,0x5a,0x38,0x49,0x37,0x55,0x59,0x68,0x70]),_0x428d7d=0x77764a05,_0x47baee=0x77711475^_0x428d7d,_0x316e67=window[_0x3f6557([0x44,0x61,0x74,0x65])][_0x3f6557([0x6e,0x6f,0x77])](),_0x520d65=_0x53170e[_0x3f6557([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3efdd3=new window[(_0x3f6557([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x18cdf0=>{_0x520d65[_0x3f6557([0x6f,0x6e,0x63,0x65])](_0x3f6557([0x72,0x65,0x61,0x64,0x79]),_0x18cdf0);}),_0x594625={[_0x3f6557([0x6b,0x74,0x79])]:_0x3f6557([0x45,0x43]),[_0x3f6557([0x75,0x73,0x65])]:_0x3f6557([0x73,0x69,0x67]),[_0x3f6557([0x63,0x72,0x76])]:_0x3f6557([0x50,0x2d,0x32,0x35,0x36]),[_0x3f6557([0x78])]:_0x3f6557([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]),[_0x3f6557([0x79])]:_0x3f6557([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]),[_0x3f6557([0x61,0x6c,0x67])]:_0x3f6557([0x45,0x53,0x32,0x35,0x36])},_0x360cb7=_0x520d65[_0x3f6557([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3f6557([0x67,0x65,0x74])](_0x3f6557([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1cb02b(){let _0x3df695,_0x144bad=null,_0x2355aa=null;try{if(_0x360cb7==_0x3f6557([0x47,0x50,0x4c]))return _0x3f6557([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3df695=_0x463f47(),!_0x3df695)return _0x3f6557([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3df695[_0x3f6557([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2355aa=_0x1ce7b4(_0x3df695[_0x3f6557([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3df695[_0x3f6557([0x6a,0x74,0x69])])),await _0x3adc50()?_0x1d87c0()?_0x1f656b()?_0x3f6557([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x33ce8a()?(_0x3df695[_0x3f6557([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3f6557([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x144bad=_0x11303d(_0x3f6557([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3df695[_0x3f6557([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3f6557([0x74,0x72,0x69,0x61,0x6c])&&(_0x144bad=_0x11303d(_0x3f6557([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x6402cb()):_0x3f6557([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3f6557([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3f6557([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x18df6c){return _0x3f6557([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1f656b(){const _0x5992ff=[_0x3f6557([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3f6557([0x74,0x72,0x69,0x61,0x6c])][_0x3f6557([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3df695[_0x3f6557([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x316e67/0x3e8:0xe10*_0x47baee;return _0x3df695[_0x3f6557([0x65,0x78,0x70])]<_0x5992ff;}function _0x1d87c0(){const _0x171875=_0x3df695[_0x3f6557([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x171875&&(!!_0x171875[_0x3f6557([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3f6557([0x2a]))||!!_0x171875[_0x3f6557([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3f6557([0x53,0x45,0x45])));}function _0x33ce8a(){const _0x17bd3b=_0x3df695[_0x3f6557([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x17bd3b||0x0==_0x17bd3b[_0x3f6557([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1fe501}=new URL(window[_0x3f6557([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x17bd3b[_0x3f6557([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1fe501))return!0x0;const _0x5d04fd=_0x1fe501[_0x3f6557([0x73,0x70,0x6c,0x69,0x74])](_0x3f6557([0x2e]));return _0x17bd3b[_0x3f6557([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3ee659=>_0x3ee659[_0x3f6557([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3f6557([0x2a])))[_0x3f6557([0x6d,0x61,0x70])](_0x417c06=>_0x417c06[_0x3f6557([0x73,0x70,0x6c,0x69,0x74])](_0x3f6557([0x2e])))[_0x3f6557([0x73,0x6f,0x6d,0x65])](_0x568b0b=>_0x5d04fd[_0x3f6557([0x65,0x76,0x65,0x72,0x79])]((_0x4bc587,_0x25c1fa)=>_0x568b0b[_0x25c1fa]===_0x4bc587||_0x568b0b[_0x25c1fa]===_0x3f6557([0x2a])));}function _0x6402cb(){return _0x144bad&&_0x2355aa?new window[(_0x3f6557([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x494dbe,_0x30ad43)=>{_0x144bad[_0x3f6557([0x74,0x68,0x65,0x6e])](_0x494dbe,_0x30ad43),_0x2355aa[_0x3f6557([0x74,0x68,0x65,0x6e])](_0x1fe4b7=>{_0x1fe4b7!=_0x3f6557([0x56,0x61,0x6c,0x69,0x64])&&_0x494dbe(_0x1fe4b7);},_0x30ad43);}):_0x144bad||_0x2355aa||_0x3f6557([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1ce7b4(_0x43bb4e,_0x2d6aa3){return new window[(_0x3f6557([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x557418=>{if(_0x48d770())return _0x557418(_0x3f6557([0x56,0x61,0x6c,0x69,0x64]));_0x31afb5(),_0x520d65[_0x3f6557([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3f6557([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x36e956=!0x1;const _0x48316e=_0xb775e7();function _0x3cb1d4(_0x2a305a){return!!_0x2a305a&&(typeof _0x2a305a===_0x3f6557([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2a305a===_0x3f6557([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2a305a[_0x3f6557([0x74,0x68,0x65,0x6e])]===_0x3f6557([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2a305a[_0x3f6557([0x63,0x61,0x74,0x63,0x68])]===_0x3f6557([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x54e177(_0x11b293){_0x444fcc(_0x11b293)[_0x3f6557([0x74,0x68,0x65,0x6e])](_0x1e563b=>{if(!_0x1e563b||_0x1e563b[_0x3f6557([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3f6557([0x6f,0x6b]))return _0x3f6557([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3d5543(_0x1f8e95(_0x48316e+_0x2d6aa3))!=_0x1e563b[_0x3f6557([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3f6557([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3f6557([0x56,0x61,0x6c,0x69,0x64]);})[_0x3f6557([0x74,0x68,0x65,0x6e])](_0x3bbd16=>(_0x130777(),_0x3bbd16),()=>{const _0x13cc8e=_0x36fec4();return null==_0x13cc8e?(_0x130777(),_0x3f6557([0x56,0x61,0x6c,0x69,0x64])):_0x3f6557(_0x316e67-_0x13cc8e>(0x537ace05^_0x428d7d)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3f6557([0x74,0x68,0x65,0x6e])](_0x557418)[_0x3f6557([0x63,0x61,0x74,0x63,0x68])](()=>{_0x557418(_0x3f6557([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4a195e=0x7740a485^_0x428d7d;function _0x130777(){const _0x3e5b4d=_0x3f6557([0x6c,0x6c,0x63,0x74,0x2d])+_0x3d5543(_0x1f8e95(_0x43bb4e)),_0x4e58d9=_0xcdf206(_0x3d5543(window[_0x3f6557([0x4d,0x61,0x74,0x68])][_0x3f6557([0x63,0x65,0x69,0x6c])](_0x316e67/_0x4a195e)));window[_0x3f6557([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3f6557([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3e5b4d,_0x4e58d9);}function _0x36fec4(){const _0x5ceb4c=_0x3f6557([0x6c,0x6c,0x63,0x74,0x2d])+_0x3d5543(_0x1f8e95(_0x43bb4e)),_0x55681c=window[_0x3f6557([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3f6557([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5ceb4c);return _0x55681c?window[_0x3f6557([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xcdf206(_0x55681c),0x10)*_0x4a195e:null;}function _0x444fcc(_0x1cee04){return new window[(_0x3f6557([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3f087e,_0x2ab1ee)=>{_0x1cee04[_0x3f6557([0x74,0x68,0x65,0x6e])](_0x3f087e,_0x2ab1ee),window[_0x3f6557([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2ab1ee,0x77779ec5^_0x428d7d);});}}_0x520d65[_0x3f6557([0x6f,0x6e])](_0x3f6557([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1b3059,_0x44309d)=>{if(_0x44309d[0x0]!=_0x43bb4e)return _0x557418(_0x3f6557([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x44309d[0x1]={..._0x44309d[0x1],[_0x3f6557([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x48316e};},{[_0x3f6557([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3f6557([0x68,0x69,0x67,0x68])}),_0x520d65[_0x3f6557([0x6f,0x6e])](_0x3f6557([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x58cad5=>{_0x3cb1d4(_0x58cad5[_0x3f6557([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x36e956=!0x0,_0x54e177(_0x58cad5[_0x3f6557([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3f6557([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3f6557([0x6c,0x6f,0x77])}),_0x3efdd3[_0x3f6557([0x74,0x68,0x65,0x6e])](()=>{_0x36e956||_0x557418(_0x3f6557([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x48d770(){return _0x520d65[_0x3f6557([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3f6557([0x76,0x69,0x65,0x77])][_0x3f6557([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3f6557([0x61,0x75,0x74,0x6f]);}function _0x31afb5(){_0x520d65[_0x3f6557([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3f6557([0x76,0x69,0x65,0x77])][_0x3f6557([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3f6557([0x61,0x75,0x74,0x6f]);}}function _0x11303d(_0x3c49a7){const _0x510f3f=[new window[(_0x3f6557([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2bb320=>setTimeout(_0x2bb320,0x777f74c9^_0x428d7d)),_0x3efdd3[_0x3f6557([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3f6557([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x577bf9=>{let _0x446d3e=0x0;_0x520d65[_0x3f6557([0x6d,0x6f,0x64,0x65,0x6c])][_0x3f6557([0x6f,0x6e])](_0x3f6557([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x33236f,_0x334df9)=>{_0x334df9[0x0][_0x3f6557([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x446d3e++,_0x446d3e==(0x77764bfd^_0x428d7d)&&(_0x577bf9(),_0x33236f[_0x3f6557([0x6f,0x66,0x66])]());});}))];return window[_0x3f6557([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3f6557([0x72,0x61,0x63,0x65])](_0x510f3f)[_0x3f6557([0x74,0x68,0x65,0x6e])](()=>_0x3c49a7);}async function _0x2e2bd8(){await _0x3efdd3,_0x520d65[_0x3f6557([0x6d,0x6f,0x64,0x65,0x6c])][_0x3f6557([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x45fabb,_0x520d65[_0x3f6557([0x6d,0x6f,0x64,0x65,0x6c])][_0x3f6557([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x45fabb,_0x520d65[_0x3f6557([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3f6557([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4aaff7(_0x384110){const _0x516b85=_0x4f7e58();_0x520d65[_0x516b85]=_0x3f6557([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])+_0x384110,_0x384110!=_0x3f6557([0x56,0x61,0x6c,0x69,0x64])&&_0x2e2bd8();}function _0x4f7e58(){const _0x470574=window[_0x3f6557([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3f6557([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3f6557([0x6e,0x6f,0x77])]())[_0x3f6557([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3f6557([0x2e]),'');let _0x314bf9=_0x3f6557([0x64]);for(let _0xbdd1e=0x0;_0xbdd1e<_0x470574[_0x3f6557([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xbdd1e+=0x2){let _0x2f6a60=window[_0x3f6557([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x470574[_0x3f6557([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xbdd1e,_0xbdd1e+0x2));_0x2f6a60>=_0x197a6f[_0x3f6557([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2f6a60-=_0x197a6f[_0x3f6557([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x314bf9+=_0x197a6f[_0x2f6a60];}return _0x314bf9;}function _0x463f47(){const _0x3fe88a=_0x360cb7[_0x3f6557([0x73,0x70,0x6c,0x69,0x74])](_0x3f6557([0x2e]));if(0x3!=_0x3fe88a[_0x3f6557([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x578086(_0x3fe88a[0x1]);function _0x578086(_0x589710){const _0x2e6563=_0x15f425(_0x589710);return _0x2e6563&&_0x167824()?_0x2e6563:null;function _0x167824(){const _0x313f78=_0x2e6563[_0x3f6557([0x6a,0x74,0x69])],_0x220dda=window[_0x3f6557([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x313f78[_0x3f6557([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x313f78[_0x3f6557([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xe88ee={..._0x2e6563,[_0x3f6557([0x6a,0x74,0x69])]:_0x313f78[_0x3f6557([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x313f78[_0x3f6557([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xe88ee[_0x3f6557([0x76,0x63])],_0x1f8e95(_0xe88ee)==_0x220dda;}}}async function _0x3adc50(){let _0x5819b0=!0x0;try{const _0x38a35d=_0x360cb7[_0x3f6557([0x73,0x70,0x6c,0x69,0x74])](_0x3f6557([0x2e])),[_0x1b947c,_0x3640df,_0x28d70d]=_0x38a35d;return _0x37ed0b(_0x1b947c),await _0x1f1709(_0x1b947c,_0x3640df,_0x28d70d),_0x5819b0;}catch(_0x597d58){return!0x1;}function _0x37ed0b(_0x1a2fd7){const _0x2ed16e=_0x15f425(_0x1a2fd7);_0x2ed16e&&_0x2ed16e[_0x3f6557([0x61,0x6c,0x67])]==_0x3f6557([0x45,0x53,0x32,0x35,0x36])||(_0x5819b0=!0x1);}async function _0x1f1709(_0x3f2256,_0xac9feb,_0x5896dd){const _0x1d643a=window[_0x3f6557([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3f6557([0x66,0x72,0x6f,0x6d])](_0x2f42dd(_0x5896dd),_0x588575=>_0x588575[_0x3f6557([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x20b5a1=new window[(_0x3f6557([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3f6557([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3f2256+_0x3f6557([0x2e])+_0xac9feb),_0x39e2c6=window[_0x3f6557([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3f6557([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x39e2c6)return;const _0x2969ae=await _0x39e2c6[_0x3f6557([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3f6557([0x6a,0x77,0x6b]),_0x594625,{[_0x3f6557([0x6e,0x61,0x6d,0x65])]:_0x3f6557([0x45,0x43,0x44,0x53,0x41]),[_0x3f6557([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3f6557([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3f6557([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x39e2c6[_0x3f6557([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3f6557([0x6e,0x61,0x6d,0x65])]:_0x3f6557([0x45,0x43,0x44,0x53,0x41]),[_0x3f6557([0x68,0x61,0x73,0x68])]:{[_0x3f6557([0x6e,0x61,0x6d,0x65])]:_0x3f6557([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2969ae,_0x1d643a,_0x20b5a1)||(_0x5819b0=!0x1);}}function _0x15f425(_0x12a3b8){return _0x12a3b8[_0x3f6557([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3f6557([0x65,0x79]))?JSON[_0x3f6557([0x70,0x61,0x72,0x73,0x65])](_0x2f42dd(_0x12a3b8)):null;}function _0x2f42dd(_0xb6e17b){return window[_0x3f6557([0x61,0x74,0x6f,0x62])](_0xb6e17b[_0x3f6557([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3f6557([0x2b]))[_0x3f6557([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3f6557([0x2f])));}function _0x1f8e95(_0x1d8f4a){let _0x2056dd=0x1505;function _0x21fc22(_0x1203c7){for(let _0x1da37c=0x0;_0x1da37c<_0x1203c7[_0x3f6557([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1da37c++){const _0x2f207b=_0x1203c7[_0x3f6557([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1da37c);_0x2056dd=(_0x2056dd<<0x5)+_0x2056dd+_0x2f207b,_0x2056dd&=_0x2056dd;}}function _0x4d7c4b(_0x35c502){Array[_0x3f6557([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x35c502)?_0x35c502[_0x3f6557([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4d7c4b):_0x35c502&&typeof _0x35c502==_0x3f6557([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3f6557([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x35c502)[_0x3f6557([0x73,0x6f,0x72,0x74])]()[_0x3f6557([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2293ab,_0x12940c])=>{_0x21fc22(_0x2293ab),_0x4d7c4b(_0x12940c);}):_0x21fc22(window[_0x3f6557([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x35c502));}return _0x4d7c4b(_0x1d8f4a),_0x2056dd>>>0x0;}function _0x3d5543(_0x53887b){return _0x53887b[_0x3f6557([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3f6557([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3f6557([0x30]));}function _0xcdf206(_0x3fdec9){return _0x3fdec9[_0x3f6557([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3f6557([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3f6557([0x6a,0x6f,0x69,0x6e])]('');}function _0x45fabb(){}function _0x3f6557(_0x240b97){return _0x240b97['map'](_0x6c03ac=>String['fromCharCode'](_0x6c03ac))['join']('');}_0x4aaff7(await _0x1cb02b());}(this);}['_createButton'](_0x4fcbd7,_0x4aa6d4,_0x748327=!0x1){const _0x254c69=new _0x4fcbd7(this['editor']['locale']);return _0x254c69['set']({'withText':_0x748327,'isToggleable':!0x1}),_0x254c69['bind']('isEnabled')['to'](_0x4aa6d4,'isEnabled'),this['listenTo'](_0x254c69,'execute',()=>_0x4aa6d4['execute']()),_0x254c69;}['_registerKeybindings'](){const _0x3398fd=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':f(_0x3398fd,'Source\x20Editing\x20Enhanced')});const _0x52ae4c=_0x49e965['isMac']||_0x49e965['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':f(_0x3398fd,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':f(_0x3398fd,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':f(_0x3398fd,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':f(_0x3398fd,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':f(_0x3398fd,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':f(_0x3398fd,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':f(_0x3398fd,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x52ae4c?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':f(_0x3398fd,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':f(_0x3398fd,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':f(_0x3398fd,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':f(_0x3398fd,'Select\x20line'),'keystroke':_0x52ae4c?'Ctrl!+L':'Alt+L'},{'label':f(_0x3398fd,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x52ae4c?'Alt+Shift+M':'Ctrl+M'},{'label':f(_0x3398fd,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':f(_0x3398fd,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':f(_0x3398fd,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':f(_0x3398fd,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':f(_0x3398fd,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x52ae4c?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}class s extends _0x52182e{constructor(_0x69ee06){super(_0x69ee06),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0x18177a,_0x58dca4){var _0x498bbb;const _0x614b5a=this['editor'],_0x1448a2=null!==(_0x498bbb=null==_0x58dca4?void 0x0:_0x58dca4['rootName'])&&void 0x0!==_0x498bbb?_0x498bbb:o(_0x614b5a);_0x614b5a['data']['set']({[_0x1448a2]:_0x18177a},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}class a extends _0x12d57e{static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[n];}constructor(_0x1ebc4a){super(_0x1ebc4a),_0x1ebc4a['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 _0x1e8e9e=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2881c9;for(const _0x39bff4 in _0x1e8e9e){const _0x287720=_0x39bff4,_0x670e80=_0x1e8e9e[_0x287720];if('sourceEditingEnhancedLicenseKeyValid'==_0x670e80||'sourceEditingEnhancedLicenseKeyInvalid'==_0x670e80||'sourceEditingEnhancedLicenseKeyExpired'==_0x670e80||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x670e80||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x670e80||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x670e80||'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x670e80||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x670e80){delete _0x1e8e9e[_0x287720],_0x2881c9=_0x670e80,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0x2881c9&&_0x1e8e9e['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0x2881c9&&_0x1e8e9e['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x2881c9&&_0x1e8e9e['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x2881c9&&_0x1e8e9e['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x2881c9&&_0x1e8e9e['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x2881c9&&_0x1e8e9e['_showLicenseError']('trialLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x2881c9&&_0x1e8e9e['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0x330efb=this['editor'],_0x36fede=_0x330efb['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0x36fede&&_0x330efb['plugins']['has']('RealTimeCollaborativeEditing'))throw new _0x1b5e90('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0x36fede&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x365764=>_0x330efb['plugins']['has'](_0x365764))&&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.'),_0x330efb['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.6",
|
|
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.6",
|
|
22
|
+
"@ckeditor/ckeditor5-theme-lark": "44.2.0-alpha.6",
|
|
23
|
+
"@ckeditor/ckeditor5-ui": "44.2.0-alpha.6",
|
|
24
|
+
"@ckeditor/ckeditor5-utils": "44.2.0-alpha.6",
|
|
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.6"
|
|
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 _0x91cf66=_0x42ca;(function(_0x5f5619,_0x244b92){const _0x269264=_0x42ca,_0x402fb1=_0x5f5619();while(!![]){try{const _0x6bd588=-parseInt(_0x269264(0x23b))/0x1*(-parseInt(_0x269264(0x236))/0x2)+parseInt(_0x269264(0x240))/0x3*(-parseInt(_0x269264(0x219))/0x4)+parseInt(_0x269264(0x1fa))/0x5+-parseInt(_0x269264(0x245))/0x6*(parseInt(_0x269264(0x233))/0x7)+-parseInt(_0x269264(0x215))/0x8+-parseInt(_0x269264(0x201))/0x9+parseInt(_0x269264(0x235))/0xa*(parseInt(_0x269264(0x224))/0xb);if(_0x6bd588===_0x244b92)break;else _0x402fb1['push'](_0x402fb1['shift']());}catch(_0x10e3d0){_0x402fb1['push'](_0x402fb1['shift']());}}}(_0x376a,0x6a72f));function _0x42ca(_0x2104c0,_0x5909a6){const _0x376ab1=_0x376a();return _0x42ca=function(_0x42ca04,_0x438175){_0x42ca04=_0x42ca04-0x1f0;let _0x2a8507=_0x376ab1[_0x42ca04];return _0x2a8507;},_0x42ca(_0x2104c0,_0x5909a6);}import{Plugin as _0x130a02,PendingActions as _0x103352,icons as _0xae40dc}from'ckeditor5/src/core.js';import{ButtonView as _0x11058d,MenuBarMenuListItemButtonView as _0x381ee0}from'ckeditor5/src/ui.js';import _0x87b7a5 from'./ui/editsourcecommand.js';import{getTranslation as _0x3921f4}from'./utils/common-translations.js';import{env as _0x5669dd,uid as _0x118def}from'ckeditor5/src/utils.js';import'../theme/sourceeditingenhanced.css';function _0x376a(){const _0x3753c2=['accessibility','Fold\x20all','38205xpdVBc','menuitemcheckbox','_createButton','_registerKeybindings','Source\x20Editing\x20Enhanced','6255InpnWq','Redo\x20(keystroke)','Move\x20line\x20down','Ctrl+Z','Ctrl+/','4818VHGsXP','componentFactory','Ctrl+[','execute','Edit\x20source\x20modal\x20label','SourceEditingEnhancedUI','Delete\x20line','set','isMac','Unfold\x20code\x20(current\x20level)','Shift+Alt+A','pluginName','2961710CfaClv','ck-source-editing-enhanced-button','Alt+L','commands','Shift+Alt+ArrowUp','Alt+Shift+M','Move\x20line\x20up','7246305tHAXCJ','Source','Ctrl+M','join','isPremiumPlugin','Copy\x20line\x20up','Ctrl+]','add','Toggle\x20comment','menuBar:sourceEditingEnhanced','Ctrl+Shift+Z','Cmd+Alt+[','Select\x20line','listenTo','Ctrl+Shift+]','Unfold\x20all','Fold\x20code\x20(current\x20level)','Alt+ArrowUp','requires','Undo\x20(keystroke)','1692792SjzidU','Cmd+Alt+]','Indent\x20more','Ctrl!+Alt+]','464eOndGj','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode','map','Copy\x20line\x20down','bind','locale','Ctrl+Y','Indent\x20less','editSource','Shift+Ctrl+K','Ctrl!+Alt+[','292798TVIcXu','isEnabled','isiOS','addKeystrokeInfos','source','sourceEditingEnhanced','Alt+ArrowDown','Ctrl+Shift+[','afterInit','Shift+Alt+ArrowDown','Ctrl!+L','href','Toggle\x20block\x20comment','fromCharCode','addKeystrokeInfoCategory','2842QFZXll','editor','350hnxQYm','26wITPCc','init','isOfficialPlugin'];_0x376a=function(){return _0x3753c2;};return _0x376a();}export default class n extends _0x130a02{static get[_0x91cf66(0x1f9)](){const _0x15b4e1=_0x91cf66;return _0x15b4e1(0x1f3);}static get[_0x91cf66(0x213)](){return[_0x103352];}static get[_0x91cf66(0x238)](){return!0x0;}static get[_0x91cf66(0x205)](){return!0x0;}[_0x91cf66(0x237)](){const _0x3ab30d=_0x91cf66,_0x19f22a=this[_0x3ab30d(0x234)],_0x3777a9=_0x19f22a[_0x3ab30d(0x21e)],_0x14b7ca=new _0x87b7a5(_0x19f22a);_0x19f22a[_0x3ab30d(0x1fd)][_0x3ab30d(0x208)](_0x3ab30d(0x221),_0x14b7ca),_0x19f22a['ui'][_0x3ab30d(0x246)][_0x3ab30d(0x208)](_0x3ab30d(0x229),()=>{const _0x53752f=_0x3ab30d,_0x38da39=this[_0x53752f(0x23d)](_0x11058d,_0x14b7ca);return _0x38da39[_0x53752f(0x1f5)]({'label':_0x3921f4(_0x3777a9,_0x53752f(0x202)),'icon':_0xae40dc[_0x53752f(0x228)],'tooltip':_0x3921f4(_0x3777a9,_0x53752f(0x1f2)),'class':_0x53752f(0x1fb)}),_0x38da39;}),_0x19f22a['ui'][_0x3ab30d(0x246)][_0x3ab30d(0x208)](_0x3ab30d(0x20a),()=>{const _0x37fe70=_0x3ab30d,_0x5518c8=this[_0x37fe70(0x23d)](_0x381ee0,_0x14b7ca,!0x0);return _0x5518c8[_0x37fe70(0x1f5)]({'label':_0x3921f4(_0x3777a9,_0x37fe70(0x1f2)),'icon':_0xae40dc[_0x37fe70(0x228)],'role':_0x37fe70(0x23c)}),_0x5518c8;}),this[_0x3ab30d(0x23e)]();}[_0x91cf66(0x22c)](){!async function(_0x399753){const _0x52d7d6=_0x1b98bf([0x64,0x6a,0x32,0x61,0x74,0x7a,0x78,0x73,0x4a,0x53,0x6b,0x4e,0x44,0x72,0x51,0x4c,0x65,0x45,0x48,0x6e,0x6c,0x4f,0x50,0x41,0x43,0x76,0x47,0x4b,0x33,0x79,0x56,0x30,0x66,0x54,0x77,0x58,0x31,0x46,0x69,0x71,0x35,0x67,0x34,0x52,0x6f,0x75,0x63,0x57,0x62,0x42,0x36,0x6d,0x39,0x4d,0x5a,0x38,0x49,0x37,0x55,0x59,0x68,0x70]),_0x3a7310=0x77764a05,_0x1730a6=0x77711475^_0x3a7310,_0x155fc3=window[_0x1b98bf([0x44,0x61,0x74,0x65])][_0x1b98bf([0x6e,0x6f,0x77])](),_0x3dd66b=_0x399753[_0x1b98bf([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1ff4e3=new window[(_0x1b98bf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x128e7b=>{_0x3dd66b[_0x1b98bf([0x6f,0x6e,0x63,0x65])](_0x1b98bf([0x72,0x65,0x61,0x64,0x79]),_0x128e7b);}),_0x4f1c0a={[_0x1b98bf([0x6b,0x74,0x79])]:_0x1b98bf([0x45,0x43]),[_0x1b98bf([0x75,0x73,0x65])]:_0x1b98bf([0x73,0x69,0x67]),[_0x1b98bf([0x63,0x72,0x76])]:_0x1b98bf([0x50,0x2d,0x32,0x35,0x36]),[_0x1b98bf([0x78])]:_0x1b98bf([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]),[_0x1b98bf([0x79])]:_0x1b98bf([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]),[_0x1b98bf([0x61,0x6c,0x67])]:_0x1b98bf([0x45,0x53,0x32,0x35,0x36])},_0x4e310b=_0x3dd66b[_0x1b98bf([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1b98bf([0x67,0x65,0x74])](_0x1b98bf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x30ba35(){let _0x3bbf77,_0x2af880=null,_0x4a9243=null;try{if(_0x4e310b==_0x1b98bf([0x47,0x50,0x4c]))return _0x1b98bf([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3bbf77=_0x52b4c1(),!_0x3bbf77)return _0x1b98bf([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3bbf77[_0x1b98bf([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4a9243=_0x2257be(_0x3bbf77[_0x1b98bf([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3bbf77[_0x1b98bf([0x6a,0x74,0x69])])),await _0x169b0a()?_0x2e7c3d()?_0xb4a869()?_0x1b98bf([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3967af()?(_0x3bbf77[_0x1b98bf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1b98bf([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2af880=_0x2405c3(_0x1b98bf([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3bbf77[_0x1b98bf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1b98bf([0x74,0x72,0x69,0x61,0x6c])&&(_0x2af880=_0x2405c3(_0x1b98bf([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4acb29()):_0x1b98bf([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1b98bf([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1b98bf([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x340aec){return _0x1b98bf([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xb4a869(){const _0x23e6a0=[_0x1b98bf([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1b98bf([0x74,0x72,0x69,0x61,0x6c])][_0x1b98bf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3bbf77[_0x1b98bf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x155fc3/0x3e8:0xe10*_0x1730a6;return _0x3bbf77[_0x1b98bf([0x65,0x78,0x70])]<_0x23e6a0;}function _0x2e7c3d(){const _0x38503d=_0x3bbf77[_0x1b98bf([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x38503d&&(!!_0x38503d[_0x1b98bf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1b98bf([0x2a]))||!!_0x38503d[_0x1b98bf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1b98bf([0x53,0x45,0x45])));}function _0x3967af(){const _0x3ba00a=_0x42ca,_0xb0b3a3=_0x3bbf77[_0x1b98bf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xb0b3a3||0x0==_0xb0b3a3[_0x1b98bf([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x10b773}=new URL(window[_0x1b98bf([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x3ba00a(0x22f)]);if(_0xb0b3a3[_0x1b98bf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x10b773))return!0x0;const _0x25e914=_0x10b773[_0x1b98bf([0x73,0x70,0x6c,0x69,0x74])](_0x1b98bf([0x2e]));return _0xb0b3a3[_0x1b98bf([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x28fd3a=>_0x28fd3a[_0x1b98bf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1b98bf([0x2a])))[_0x1b98bf([0x6d,0x61,0x70])](_0x1ae354=>_0x1ae354[_0x1b98bf([0x73,0x70,0x6c,0x69,0x74])](_0x1b98bf([0x2e])))[_0x1b98bf([0x73,0x6f,0x6d,0x65])](_0x5ad92b=>_0x25e914[_0x1b98bf([0x65,0x76,0x65,0x72,0x79])]((_0x29cb33,_0x59a7bc)=>_0x5ad92b[_0x59a7bc]===_0x29cb33||_0x5ad92b[_0x59a7bc]===_0x1b98bf([0x2a])));}function _0x4acb29(){return _0x2af880&&_0x4a9243?new window[(_0x1b98bf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4c7338,_0x238b70)=>{_0x2af880[_0x1b98bf([0x74,0x68,0x65,0x6e])](_0x4c7338,_0x238b70),_0x4a9243[_0x1b98bf([0x74,0x68,0x65,0x6e])](_0x4a133f=>{_0x4a133f!=_0x1b98bf([0x56,0x61,0x6c,0x69,0x64])&&_0x4c7338(_0x4a133f);},_0x238b70);}):_0x2af880||_0x4a9243||_0x1b98bf([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2257be(_0x290a55,_0xabc5d0){return new window[(_0x1b98bf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xf78873=>{if(_0x3115bc())return _0xf78873(_0x1b98bf([0x56,0x61,0x6c,0x69,0x64]));_0x45ceef(),_0x3dd66b[_0x1b98bf([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1b98bf([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3316d8=!0x1;const _0x5946cf=_0x118def();function _0x3d534f(_0x289dd7){return!!_0x289dd7&&(typeof _0x289dd7===_0x1b98bf([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x289dd7===_0x1b98bf([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x289dd7[_0x1b98bf([0x74,0x68,0x65,0x6e])]===_0x1b98bf([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x289dd7[_0x1b98bf([0x63,0x61,0x74,0x63,0x68])]===_0x1b98bf([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4b4cf9(_0x4a615f){_0x42e4e3(_0x4a615f)[_0x1b98bf([0x74,0x68,0x65,0x6e])](_0x9b3bbd=>{if(!_0x9b3bbd||_0x9b3bbd[_0x1b98bf([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1b98bf([0x6f,0x6b]))return _0x1b98bf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x50ea84(_0x2531a0(_0x5946cf+_0xabc5d0))!=_0x9b3bbd[_0x1b98bf([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1b98bf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1b98bf([0x56,0x61,0x6c,0x69,0x64]);})[_0x1b98bf([0x74,0x68,0x65,0x6e])](_0x27e062=>(_0x558be5(),_0x27e062),()=>{const _0x76e9ae=_0x506703();return null==_0x76e9ae?(_0x558be5(),_0x1b98bf([0x56,0x61,0x6c,0x69,0x64])):_0x1b98bf(_0x155fc3-_0x76e9ae>(0x537ace05^_0x3a7310)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1b98bf([0x74,0x68,0x65,0x6e])](_0xf78873)[_0x1b98bf([0x63,0x61,0x74,0x63,0x68])](()=>{_0xf78873(_0x1b98bf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xe36f99=0x7740a485^_0x3a7310;function _0x558be5(){const _0x265447=_0x1b98bf([0x6c,0x6c,0x63,0x74,0x2d])+_0x50ea84(_0x2531a0(_0x290a55)),_0x356ba9=_0x4e8b98(_0x50ea84(window[_0x1b98bf([0x4d,0x61,0x74,0x68])][_0x1b98bf([0x63,0x65,0x69,0x6c])](_0x155fc3/_0xe36f99)));window[_0x1b98bf([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1b98bf([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x265447,_0x356ba9);}function _0x506703(){const _0x4c2664=_0x1b98bf([0x6c,0x6c,0x63,0x74,0x2d])+_0x50ea84(_0x2531a0(_0x290a55)),_0x47b995=window[_0x1b98bf([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1b98bf([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4c2664);return _0x47b995?window[_0x1b98bf([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4e8b98(_0x47b995),0x10)*_0xe36f99:null;}function _0x42e4e3(_0xc600b9){return new window[(_0x1b98bf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x35215e,_0x5492d1)=>{_0xc600b9[_0x1b98bf([0x74,0x68,0x65,0x6e])](_0x35215e,_0x5492d1),window[_0x1b98bf([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5492d1,0x77779ec5^_0x3a7310);});}}_0x3dd66b[_0x1b98bf([0x6f,0x6e])](_0x1b98bf([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1be00d,_0xb3198b)=>{if(_0xb3198b[0x0]!=_0x290a55)return _0xf78873(_0x1b98bf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xb3198b[0x1]={..._0xb3198b[0x1],[_0x1b98bf([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5946cf};},{[_0x1b98bf([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1b98bf([0x68,0x69,0x67,0x68])}),_0x3dd66b[_0x1b98bf([0x6f,0x6e])](_0x1b98bf([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1d1e9e=>{_0x3d534f(_0x1d1e9e[_0x1b98bf([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3316d8=!0x0,_0x4b4cf9(_0x1d1e9e[_0x1b98bf([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1b98bf([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1b98bf([0x6c,0x6f,0x77])}),_0x1ff4e3[_0x1b98bf([0x74,0x68,0x65,0x6e])](()=>{_0x3316d8||_0xf78873(_0x1b98bf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3115bc(){return _0x3dd66b[_0x1b98bf([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1b98bf([0x76,0x69,0x65,0x77])][_0x1b98bf([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1b98bf([0x61,0x75,0x74,0x6f]);}function _0x45ceef(){_0x3dd66b[_0x1b98bf([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1b98bf([0x76,0x69,0x65,0x77])][_0x1b98bf([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1b98bf([0x61,0x75,0x74,0x6f]);}}function _0x2405c3(_0x522eca){const _0x3bb943=[new window[(_0x1b98bf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1f72f3=>setTimeout(_0x1f72f3,0x777f74c9^_0x3a7310)),_0x1ff4e3[_0x1b98bf([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1b98bf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3dce0b=>{let _0x1baec5=0x0;_0x3dd66b[_0x1b98bf([0x6d,0x6f,0x64,0x65,0x6c])][_0x1b98bf([0x6f,0x6e])](_0x1b98bf([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3f4e46,_0x341666)=>{_0x341666[0x0][_0x1b98bf([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1baec5++,_0x1baec5==(0x77764bfd^_0x3a7310)&&(_0x3dce0b(),_0x3f4e46[_0x1b98bf([0x6f,0x66,0x66])]());});}))];return window[_0x1b98bf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1b98bf([0x72,0x61,0x63,0x65])](_0x3bb943)[_0x1b98bf([0x74,0x68,0x65,0x6e])](()=>_0x522eca);}async function _0x26427a(){await _0x1ff4e3,_0x3dd66b[_0x1b98bf([0x6d,0x6f,0x64,0x65,0x6c])][_0x1b98bf([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2e738d,_0x3dd66b[_0x1b98bf([0x6d,0x6f,0x64,0x65,0x6c])][_0x1b98bf([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2e738d,_0x3dd66b[_0x1b98bf([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1b98bf([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x6f462f(_0x3f1ffb){const _0x36df93=_0x5b1cec();_0x3dd66b[_0x36df93]=_0x1b98bf([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])+_0x3f1ffb,_0x3f1ffb!=_0x1b98bf([0x56,0x61,0x6c,0x69,0x64])&&_0x26427a();}function _0x5b1cec(){const _0x4c6684=window[_0x1b98bf([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1b98bf([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1b98bf([0x6e,0x6f,0x77])]())[_0x1b98bf([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1b98bf([0x2e]),'');let _0x269e6e=_0x1b98bf([0x64]);for(let _0x49591b=0x0;_0x49591b<_0x4c6684[_0x1b98bf([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x49591b+=0x2){let _0x535124=window[_0x1b98bf([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4c6684[_0x1b98bf([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x49591b,_0x49591b+0x2));_0x535124>=_0x52d7d6[_0x1b98bf([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x535124-=_0x52d7d6[_0x1b98bf([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x269e6e+=_0x52d7d6[_0x535124];}return _0x269e6e;}function _0x52b4c1(){const _0x32283e=_0x4e310b[_0x1b98bf([0x73,0x70,0x6c,0x69,0x74])](_0x1b98bf([0x2e]));if(0x3!=_0x32283e[_0x1b98bf([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x9a366f(_0x32283e[0x1]);function _0x9a366f(_0x47aa19){const _0x33319e=_0x3308a1(_0x47aa19);return _0x33319e&&_0x1ed570()?_0x33319e:null;function _0x1ed570(){const _0x1d5e3e=_0x33319e[_0x1b98bf([0x6a,0x74,0x69])],_0x20978f=window[_0x1b98bf([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1d5e3e[_0x1b98bf([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1d5e3e[_0x1b98bf([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x511a42={..._0x33319e,[_0x1b98bf([0x6a,0x74,0x69])]:_0x1d5e3e[_0x1b98bf([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1d5e3e[_0x1b98bf([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x511a42[_0x1b98bf([0x76,0x63])],_0x2531a0(_0x511a42)==_0x20978f;}}}async function _0x169b0a(){let _0x2087bd=!0x0;try{const _0x183a1f=_0x4e310b[_0x1b98bf([0x73,0x70,0x6c,0x69,0x74])](_0x1b98bf([0x2e])),[_0x4f9873,_0x473595,_0xe603a0]=_0x183a1f;return _0x3ee476(_0x4f9873),await _0xf5afd9(_0x4f9873,_0x473595,_0xe603a0),_0x2087bd;}catch(_0x4934af){return!0x1;}function _0x3ee476(_0x2cc5ff){const _0x31f598=_0x3308a1(_0x2cc5ff);_0x31f598&&_0x31f598[_0x1b98bf([0x61,0x6c,0x67])]==_0x1b98bf([0x45,0x53,0x32,0x35,0x36])||(_0x2087bd=!0x1);}async function _0xf5afd9(_0x520073,_0x33b2d5,_0x1f4d50){const _0xaaffd9=window[_0x1b98bf([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1b98bf([0x66,0x72,0x6f,0x6d])](_0x28adb5(_0x1f4d50),_0x5ee3aa=>_0x5ee3aa[_0x1b98bf([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3bf179=new window[(_0x1b98bf([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1b98bf([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x520073+_0x1b98bf([0x2e])+_0x33b2d5),_0x14db8a=window[_0x1b98bf([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1b98bf([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x14db8a)return;const _0x5613c7=await _0x14db8a[_0x1b98bf([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1b98bf([0x6a,0x77,0x6b]),_0x4f1c0a,{[_0x1b98bf([0x6e,0x61,0x6d,0x65])]:_0x1b98bf([0x45,0x43,0x44,0x53,0x41]),[_0x1b98bf([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1b98bf([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1b98bf([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x14db8a[_0x1b98bf([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1b98bf([0x6e,0x61,0x6d,0x65])]:_0x1b98bf([0x45,0x43,0x44,0x53,0x41]),[_0x1b98bf([0x68,0x61,0x73,0x68])]:{[_0x1b98bf([0x6e,0x61,0x6d,0x65])]:_0x1b98bf([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5613c7,_0xaaffd9,_0x3bf179)||(_0x2087bd=!0x1);}}function _0x3308a1(_0x2717fd){return _0x2717fd[_0x1b98bf([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1b98bf([0x65,0x79]))?JSON[_0x1b98bf([0x70,0x61,0x72,0x73,0x65])](_0x28adb5(_0x2717fd)):null;}function _0x28adb5(_0x5192b1){return window[_0x1b98bf([0x61,0x74,0x6f,0x62])](_0x5192b1[_0x1b98bf([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1b98bf([0x2b]))[_0x1b98bf([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1b98bf([0x2f])));}function _0x2531a0(_0x744e66){let _0x52ea81=0x1505;function _0x22e9f8(_0x163c7d){for(let _0x45dabd=0x0;_0x45dabd<_0x163c7d[_0x1b98bf([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x45dabd++){const _0x329bb0=_0x163c7d[_0x1b98bf([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x45dabd);_0x52ea81=(_0x52ea81<<0x5)+_0x52ea81+_0x329bb0,_0x52ea81&=_0x52ea81;}}function _0x7b4878(_0x55bc52){Array[_0x1b98bf([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x55bc52)?_0x55bc52[_0x1b98bf([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x7b4878):_0x55bc52&&typeof _0x55bc52==_0x1b98bf([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1b98bf([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x55bc52)[_0x1b98bf([0x73,0x6f,0x72,0x74])]()[_0x1b98bf([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x39e0ba,_0x273a87])=>{_0x22e9f8(_0x39e0ba),_0x7b4878(_0x273a87);}):_0x22e9f8(window[_0x1b98bf([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x55bc52));}return _0x7b4878(_0x744e66),_0x52ea81>>>0x0;}function _0x50ea84(_0x1e55e9){return _0x1e55e9[_0x1b98bf([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1b98bf([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1b98bf([0x30]));}function _0x4e8b98(_0x46c8f1){return _0x46c8f1[_0x1b98bf([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1b98bf([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1b98bf([0x6a,0x6f,0x69,0x6e])]('');}function _0x2e738d(){}function _0x1b98bf(_0x42be09){const _0x33b34f=_0x42ca;return _0x42be09[_0x33b34f(0x21b)](_0x234a06=>String[_0x33b34f(0x231)](_0x234a06))[_0x33b34f(0x204)]('');}_0x6f462f(await _0x30ba35());}(this);}[_0x91cf66(0x23d)](_0x3386c9,_0x3912a4,_0x325d20=!0x1){const _0x5456b0=_0x91cf66,_0x291133=new _0x3386c9(this[_0x5456b0(0x234)][_0x5456b0(0x21e)]);return _0x291133[_0x5456b0(0x1f5)]({'withText':_0x325d20,'isToggleable':!0x1}),_0x291133[_0x5456b0(0x21d)](_0x5456b0(0x225))['to'](_0x3912a4,_0x5456b0(0x225)),this[_0x5456b0(0x20e)](_0x291133,_0x5456b0(0x1f1),()=>_0x3912a4[_0x5456b0(0x1f1)]()),_0x291133;}[_0x91cf66(0x23e)](){const _0xc9ef8=_0x91cf66,_0x5f0776=this[_0xc9ef8(0x234)][_0xc9ef8(0x21e)];this[_0xc9ef8(0x234)][_0xc9ef8(0x239)][_0xc9ef8(0x232)]({'id':_0xc9ef8(0x229),'label':_0x3921f4(_0x5f0776,_0xc9ef8(0x23f))});const _0x41ab82=_0x5669dd[_0xc9ef8(0x1f6)]||_0x5669dd[_0xc9ef8(0x226)];this[_0xc9ef8(0x234)][_0xc9ef8(0x239)][_0xc9ef8(0x227)]({'categoryId':_0xc9ef8(0x229),'keystrokes':[{'label':_0x3921f4(_0x5f0776,_0xc9ef8(0x21c)),'keystroke':_0xc9ef8(0x22d)},{'label':_0x3921f4(_0x5f0776,_0xc9ef8(0x206)),'keystroke':_0xc9ef8(0x1fe)},{'label':_0x3921f4(_0x5f0776,_0xc9ef8(0x1f4)),'keystroke':_0xc9ef8(0x222)},{'label':_0x3921f4(_0x5f0776,_0xc9ef8(0x220)),'keystroke':_0xc9ef8(0x1f0)},{'label':_0x3921f4(_0x5f0776,_0xc9ef8(0x217)),'keystroke':_0xc9ef8(0x207)},{'label':_0x3921f4(_0x5f0776,_0xc9ef8(0x23a)),'keystroke':_0xc9ef8(0x223)},{'label':_0x3921f4(_0x5f0776,_0xc9ef8(0x211)),'keystroke':_0x41ab82?_0xc9ef8(0x20c):_0xc9ef8(0x22b)},{'label':_0x3921f4(_0x5f0776,_0xc9ef8(0x242)),'keystroke':_0xc9ef8(0x22a)},{'label':_0x3921f4(_0x5f0776,_0xc9ef8(0x200)),'keystroke':_0xc9ef8(0x212)},{'label':_0x3921f4(_0x5f0776,_0xc9ef8(0x241)),'keystroke':[[_0xc9ef8(0x20b)],[_0xc9ef8(0x21f)]]},{'label':_0x3921f4(_0x5f0776,_0xc9ef8(0x20d)),'keystroke':_0x41ab82?_0xc9ef8(0x22e):_0xc9ef8(0x1fc)},{'label':_0x3921f4(_0x5f0776,_0xc9ef8(0x21a)),'keystroke':_0x41ab82?_0xc9ef8(0x1ff):_0xc9ef8(0x203)},{'label':_0x3921f4(_0x5f0776,_0xc9ef8(0x230)),'keystroke':_0xc9ef8(0x1f8)},{'label':_0x3921f4(_0x5f0776,_0xc9ef8(0x209)),'keystroke':_0xc9ef8(0x244)},{'label':_0x3921f4(_0x5f0776,_0xc9ef8(0x214)),'keystroke':_0xc9ef8(0x243)},{'label':_0x3921f4(_0x5f0776,_0xc9ef8(0x210)),'keystroke':_0xc9ef8(0x218)},{'label':_0x3921f4(_0x5f0776,_0xc9ef8(0x1f7)),'keystroke':_0x41ab82?_0xc9ef8(0x216):_0xc9ef8(0x20f)}]});}}
|
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;}
|