@ckeditor/ckeditor5-format-painter 48.0.1-alpha.0 → 48.0.1-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -2
- package/package.json +7 -7
package/dist/index.js
CHANGED
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Command as
|
|
24
|
-
_0x1d59fb(_0x52ba8f){static get['pluginName'](){return'FormatPainterUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x2e4ec4=this['editor'];_0x2e4ec4['editing']['view']['addObserver'](_0xdc3df),_0x2e4ec4['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':x(_0x2e4ec4['locale'],'Copy\x20text\x20formatting'),'keystroke':'Ctrl+Alt+C'},{'label':x(_0x2e4ec4['locale'],'Paste\x20text\x20formatting'),'keystroke':'Ctrl+Alt+V'}]}),_0x2e4ec4['ui']['componentFactory']['add']('formatPainter',_0x4db1e2=>{const _0x15b186=_0x5721e9(_0x4db1e2,_0x42f827),_0x333de1=_0x2e4ec4['commands']['get'](w);_0x15b186['buttonView']['set']({'label':x(_0x2e4ec4['locale'],'Paint\x20formatting'),'icon':_0x42795f,'keystroke':'Ctrl+Alt+C','tooltip':!0x0}),_0x15b186['class']='ck-format-painter-dropdown',_0x333de1&&(_0x15b186['bind']('isEnabled')['to'](_0x333de1,'isEnabled'),this['listenTo'](_0x333de1,'change:isEnabled',(_0x372808,_0x4d8cfa,_0x33a28f)=>{_0x33a28f||this['_finishPainting']();}),_0x15b186['buttonView']['bind']('isOn')['to'](_0x333de1,'value',_0x35ce5c=>!!_0x35ce5c),this['listenTo'](_0x2e4ec4,'destroy',()=>this['_toggleSpecialCursor'](!0x1)),this['listenTo'](_0x333de1,'change:value',(_0x3e1d68,_0x448a2e,_0x3deec7)=>{this['_toggleSpecialCursor'](!!_0x3deec7);}));const _0x249624=new _0x1f0f47({'withText':!0x0,'label':x(_0x2e4ec4['locale'],'Continuous\x20painting'),'tooltip':x(_0x2e4ec4['locale'],'Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.'),'isOn':!0x1,'role':'menuitemcheckbox'});_0x48c502(_0x15b186,new _0x4d1faf([{'type':'switchbutton','model':_0x249624}]),{'role':'menu'});const _0x477e05=()=>{this['_copyFormatting'](),this['listenTo'](_0x26c3a6['window']['document'],'mouseup',()=>{this['_pasteFormatting'](),_0x249624['isOn']||this['_finishPainting']();});};return this['listenTo'](_0x15b186,'execute',()=>{_0x249624['isOn']=!_0x249624['isOn'];}),this['listenTo'](_0x15b186['buttonView'],'execute',()=>{_0x2e4ec4['editing']['view']['focus'](),_0x15b186['buttonView']['isOn']?this['_finishPainting']():_0x477e05();}),_0x2e4ec4['keystrokes']['set']('Ctrl+Alt+C',(_0x42a0dd,_0x198643)=>{_0x477e05(),_0x249624['isOn']=!0x0,_0x198643();},{'priority':'high'}),_0x2e4ec4['keystrokes']['set']('Ctrl+Alt+V',(_0x10e950,_0x1e578d)=>{_0x15b186['buttonView']['isOn']&&(this['_pasteFormatting'](),_0x249624['isOn']||this['_finishPainting'](),_0x1e578d());},{'priority':'high'}),_0x2e4ec4['keystrokes']['set']('Esc',(_0x108008,_0xf59b07)=>{_0x15b186['buttonView']['isOn']&&(_0x249624['isOn']=!0x1,this['_finishPainting'](),_0xf59b07());}),_0x15b186;});}['afterInit'](){!async function(_0x29346f){const _0x5d05eb=_0x17359c([0x51,0x69,0x4c,0x52,0x43,0x53,0x4f,0x73,0x5a,0x38,0x70,0x41,0x76,0x44,0x64,0x61,0x50,0x4a,0x55,0x45,0x33,0x6f,0x78,0x6a,0x4b,0x6c,0x7a,0x4d,0x32,0x75,0x58,0x67,0x72,0x74,0x47,0x66,0x65,0x79,0x68,0x35,0x63,0x4e,0x46,0x6b,0x6d,0x42,0x77,0x39,0x49,0x36,0x57,0x48,0x30,0x71,0x6e,0x62,0x34,0x54,0x31,0x37,0x59,0x56]),_0x2b72d6=0x4597e011,_0x2cdb5c=0x459067f1^_0x2b72d6,_0x1601cb=window[_0x17359c([0x44,0x61,0x74,0x65])][_0x17359c([0x6e,0x6f,0x77])](),_0x51fdab=_0x29346f[_0x17359c([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x36da71=new window[(_0x17359c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x13e378=>{_0x51fdab[_0x17359c([0x6f,0x6e,0x63,0x65])](_0x17359c([0x72,0x65,0x61,0x64,0x79]),_0x13e378);}),_0x1b2112={[_0x17359c([0x6b,0x74,0x79])]:_0x17359c([0x45,0x43]),[_0x17359c([0x75,0x73,0x65])]:_0x17359c([0x73,0x69,0x67]),[_0x17359c([0x63,0x72,0x76])]:_0x17359c([0x50,0x2d,0x32,0x35,0x36]),[_0x17359c([0x78])]:_0x17359c([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]),[_0x17359c([0x79])]:_0x17359c([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]),[_0x17359c([0x61,0x6c,0x67])]:_0x17359c([0x45,0x53,0x32,0x35,0x36])},_0x12795f=_0x51fdab[_0x17359c([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x17359c([0x67,0x65,0x74])](_0x17359c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x18f63b(){let _0x31d2f0,_0x52a81e=null,_0x1c8477=null;try{if(_0x12795f==_0x17359c([0x47,0x50,0x4c]))return _0x17359c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x31d2f0=_0x583589(),!_0x31d2f0)return _0x17359c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x31d2f0[_0x17359c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1c8477=_0x58361d(_0x31d2f0[_0x17359c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x31d2f0[_0x17359c([0x6a,0x74,0x69])])),await _0x5329fd()?_0x5498ac()?_0x59e2d2()?_0x17359c([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x42c8b0()?(_0x31d2f0[_0x17359c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x17359c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x52a81e=_0x394ec9(_0x17359c([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3d75e4()):_0x17359c([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x17359c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x17359c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x17359c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x59e2d2(){const _0x8dd2d0=[_0x17359c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x17359c([0x74,0x72,0x69,0x61,0x6c])][_0x17359c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x31d2f0[_0x17359c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1601cb/0x3e8:0xe10*_0x2cdb5c;return _0x31d2f0[_0x17359c([0x65,0x78,0x70])]<_0x8dd2d0;}function _0x5498ac(){const _0x3a0712=_0x31d2f0[_0x17359c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3a0712&&(!!_0x3a0712[_0x17359c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x17359c([0x2a]))||(!!_0x3a0712[_0x17359c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x17359c([0x46,0x50]))||(!!_0x3a0712[_0x17359c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x17359c([0x50,0x50]))||!(!_0x3a0712[_0x17359c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x17359c([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x53bf5f()))));}function _0x42c8b0(){const _0x4a2e07=_0x31d2f0[_0x17359c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4a2e07||0x0==_0x4a2e07[_0x17359c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5c12c7}=new URL(window[_0x17359c([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x4a2e07[_0x17359c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5c12c7))return!0x0;const _0x59801d=_0x5c12c7[_0x17359c([0x73,0x70,0x6c,0x69,0x74])](_0x17359c([0x2e]));return _0x4a2e07[_0x17359c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x47e2e8=>_0x47e2e8[_0x17359c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x17359c([0x2a])))[_0x17359c([0x6d,0x61,0x70])](_0xe3627e=>_0xe3627e[_0x17359c([0x73,0x70,0x6c,0x69,0x74])](_0x17359c([0x2e])))[_0x17359c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xc31798=>_0xc31798[_0x17359c([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x59801d[_0x17359c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x17359c([0x6d,0x61,0x70])](_0x2b36ee=>Array(_0x59801d[_0x17359c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2b36ee[_0x17359c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x17359c([0x66,0x69,0x6c,0x6c])](_0x2b36ee[0x0]===_0x17359c([0x2a])?_0x17359c([0x2a]):'')[_0x17359c([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2b36ee))[_0x17359c([0x73,0x6f,0x6d,0x65])](_0x2c1933=>_0x59801d[_0x17359c([0x65,0x76,0x65,0x72,0x79])]((_0x9f5f17,_0x182e41)=>_0x2c1933[_0x182e41]===_0x9f5f17||_0x2c1933[_0x182e41]===_0x17359c([0x2a])));}function _0x3d75e4(){return _0x52a81e&&_0x1c8477?new window[(_0x17359c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x8dcf1d,_0x585c88)=>{_0x52a81e[_0x17359c([0x74,0x68,0x65,0x6e])](_0x8dcf1d,_0x585c88),_0x1c8477[_0x17359c([0x74,0x68,0x65,0x6e])](_0x303c03=>{_0x303c03!=_0x17359c([0x56,0x61,0x6c,0x69,0x64])&&_0x8dcf1d(_0x303c03);},_0x585c88);}):_0x52a81e||_0x1c8477||_0x17359c([0x56,0x61,0x6c,0x69,0x64]);}}function _0x58361d(_0xd39203,_0x3b376d){return new window[(_0x17359c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x55c8a0=>{if(_0x11e2d9())return _0x55c8a0(_0x17359c([0x56,0x61,0x6c,0x69,0x64]));_0x460648(),_0x51fdab[_0x17359c([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x17359c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2bc899=!0x1;const _0x18d3d2=_0x3a1dd3();function _0x1e6bca(_0x58946c){return!!_0x58946c&&(typeof _0x58946c===_0x17359c([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x58946c===_0x17359c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x58946c[_0x17359c([0x74,0x68,0x65,0x6e])]===_0x17359c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x58946c[_0x17359c([0x63,0x61,0x74,0x63,0x68])]===_0x17359c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3e20b2(_0x199851){_0x124d47(_0x199851)[_0x17359c([0x74,0x68,0x65,0x6e])](_0x3ece33=>{if(!_0x3ece33||_0x3ece33[_0x17359c([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x17359c([0x6f,0x6b]))return _0x17359c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x260f25(_0x563a2d(_0x18d3d2+_0x3b376d))!=_0x3ece33[_0x17359c([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x17359c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x17359c([0x56,0x61,0x6c,0x69,0x64]);})[_0x17359c([0x74,0x68,0x65,0x6e])](_0x22f6ab=>(_0x4bb1a4(),_0x22f6ab),()=>{const _0x27e0d2=_0x5906e9();return null==_0x27e0d2?(_0x4bb1a4(),_0x17359c([0x56,0x61,0x6c,0x69,0x64])):_0x17359c(_0x1601cb-_0x27e0d2>(0x619b6411^_0x2b72d6)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x17359c([0x74,0x68,0x65,0x6e])](_0x55c8a0)[_0x17359c([0x63,0x61,0x74,0x63,0x68])](()=>{_0x55c8a0(_0x17359c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4491c4=0x45a10e91^_0x2b72d6;function _0x4bb1a4(){const _0x2055d0=_0x17359c([0x6c,0x6c,0x63,0x74,0x2d])+_0x260f25(_0x563a2d(_0xd39203)),_0x5a55a5=_0x4ba37d(_0x260f25(window[_0x17359c([0x4d,0x61,0x74,0x68])][_0x17359c([0x63,0x65,0x69,0x6c])](_0x1601cb/_0x4491c4)));window[_0x17359c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x17359c([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2055d0,_0x5a55a5);}function _0x5906e9(){const _0xd03a73=_0x17359c([0x6c,0x6c,0x63,0x74,0x2d])+_0x260f25(_0x563a2d(_0xd39203)),_0x481d57=window[_0x17359c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x17359c([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xd03a73);return _0x481d57?window[_0x17359c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4ba37d(_0x481d57),0x10)*_0x4491c4:null;}function _0x124d47(_0x1924f0){return new window[(_0x17359c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x13ec20,_0x15cc9e)=>{_0x1924f0[_0x17359c([0x74,0x68,0x65,0x6e])](_0x13ec20,_0x15cc9e),window[_0x17359c([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x15cc9e,0x459634d1^_0x2b72d6);});}}_0x51fdab[_0x17359c([0x6f,0x6e])](_0x17359c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3ce7ac,_0x4f1f16)=>{if(_0x4f1f16[0x0]!=_0xd39203)return _0x55c8a0(_0x17359c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4f1f16[0x1]={..._0x4f1f16[0x1],[_0x17359c([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x18d3d2};},{[_0x17359c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x17359c([0x68,0x69,0x67,0x68])}),_0x51fdab[_0x17359c([0x6f,0x6e])](_0x17359c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x142f14=>{_0x1e6bca(_0x142f14[_0x17359c([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2bc899=!0x0,_0x3e20b2(_0x142f14[_0x17359c([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x17359c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x17359c([0x6c,0x6f,0x77])}),_0x36da71[_0x17359c([0x74,0x68,0x65,0x6e])](()=>{_0x2bc899||_0x55c8a0(_0x17359c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x11e2d9(){return _0x51fdab[_0x17359c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x17359c([0x76,0x69,0x65,0x77])][_0x17359c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x17359c([0x61,0x75,0x74,0x6f]);}function _0x460648(){_0x51fdab[_0x17359c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x17359c([0x76,0x69,0x65,0x77])][_0x17359c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x17359c([0x61,0x75,0x74,0x6f]);}}function _0x394ec9(_0x5002ba){const _0x51d57e=[new window[(_0x17359c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x48e8f8=>setTimeout(_0x48e8f8,0x459ededd^_0x2b72d6)),_0x36da71[_0x17359c([0x74,0x68,0x65,0x6e])](()=>new window[(_0x17359c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1f643e=>{let _0x4d82ca=0x0;_0x51fdab[_0x17359c([0x6d,0x6f,0x64,0x65,0x6c])][_0x17359c([0x6f,0x6e])](_0x17359c([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3e7d90,_0x326cdb)=>{_0x326cdb[0x0][_0x17359c([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4d82ca++,_0x4d82ca==(0x4597e5f9^_0x2b72d6)&&(_0x1f643e(),_0x3e7d90[_0x17359c([0x6f,0x66,0x66])]());});}))];return window[_0x17359c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x17359c([0x72,0x61,0x63,0x65])](_0x51d57e)[_0x17359c([0x74,0x68,0x65,0x6e])](()=>_0x5002ba);}async function _0x5732c(){await _0x36da71,_0x51fdab[_0x17359c([0x6d,0x6f,0x64,0x65,0x6c])][_0x17359c([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x52388f,_0x51fdab[_0x17359c([0x6d,0x6f,0x64,0x65,0x6c])][_0x17359c([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x52388f,_0x51fdab[_0x17359c([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x17359c([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x53bf5f(){return window[_0x17359c([0x67,0x6c,0x6f,0x62])]&&window[_0x17359c([0x67,0x6c,0x6f,0x62])][_0x17359c([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x5ebce7(_0x5b768a){const _0x741631=_0x13e248();_0x51fdab[_0x741631]=_0x17359c([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5b768a,_0x5b768a!=_0x17359c([0x56,0x61,0x6c,0x69,0x64])&&_0x5732c();}function _0x13e248(){const _0x559bc3=window[_0x17359c([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x17359c([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x17359c([0x6e,0x6f,0x77])]())[_0x17359c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x17359c([0x2e]),'');let _0x1ef1b3=_0x17359c([0x51]);for(let _0x4ae67d=0x0;_0x4ae67d<_0x559bc3[_0x17359c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4ae67d+=0x2){let _0x270bb5=window[_0x17359c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x559bc3[_0x17359c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4ae67d,_0x4ae67d+0x2));_0x270bb5>=_0x5d05eb[_0x17359c([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x270bb5-=_0x5d05eb[_0x17359c([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1ef1b3+=_0x5d05eb[_0x270bb5];}return _0x1ef1b3;}function _0x583589(){const _0x210ceb=_0x12795f[_0x17359c([0x73,0x70,0x6c,0x69,0x74])](_0x17359c([0x2e]));if(0x3!=_0x210ceb[_0x17359c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x31cf5e(_0x210ceb[0x1]);function _0x31cf5e(_0x5b900b){const _0x441d3e=_0x49d86a(_0x5b900b);return _0x441d3e&&_0x29b8db()?_0x441d3e:null;function _0x29b8db(){const _0x57b816=_0x441d3e[_0x17359c([0x6a,0x74,0x69])],_0x5d4c04=window[_0x17359c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x57b816[_0x17359c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x57b816[_0x17359c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x43dde1={..._0x441d3e,[_0x17359c([0x6a,0x74,0x69])]:_0x57b816[_0x17359c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x57b816[_0x17359c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x43dde1[_0x17359c([0x76,0x63])],_0x563a2d(_0x43dde1)==_0x5d4c04;}}}async function _0x5329fd(){let _0x27085b=!0x0;try{const _0x5a91e4=_0x12795f[_0x17359c([0x73,0x70,0x6c,0x69,0x74])](_0x17359c([0x2e])),[_0x44f5fe,_0x5f0e35,_0x424594]=_0x5a91e4;return _0x3e527a(_0x44f5fe),await _0x56e15b(_0x44f5fe,_0x5f0e35,_0x424594),_0x27085b;}catch{return!0x1;}function _0x3e527a(_0x3b63ed){const _0x4e9401=_0x49d86a(_0x3b63ed);_0x4e9401&&_0x4e9401[_0x17359c([0x61,0x6c,0x67])]==_0x17359c([0x45,0x53,0x32,0x35,0x36])||(_0x27085b=!0x1);}async function _0x56e15b(_0x5bdcf3,_0x312ace,_0x56d18f){const _0x4bc660=window[_0x17359c([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x17359c([0x66,0x72,0x6f,0x6d])](_0x4df6c4(_0x56d18f),_0x9bf884=>_0x9bf884[_0x17359c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x43027b=new window[(_0x17359c([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x17359c([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5bdcf3+_0x17359c([0x2e])+_0x312ace),_0x46f2e9=window[_0x17359c([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x17359c([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x46f2e9)return;const _0x296a6a=await _0x46f2e9[_0x17359c([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x17359c([0x6a,0x77,0x6b]),_0x1b2112,{[_0x17359c([0x6e,0x61,0x6d,0x65])]:_0x17359c([0x45,0x43,0x44,0x53,0x41]),[_0x17359c([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x17359c([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x17359c([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x46f2e9[_0x17359c([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x17359c([0x6e,0x61,0x6d,0x65])]:_0x17359c([0x45,0x43,0x44,0x53,0x41]),[_0x17359c([0x68,0x61,0x73,0x68])]:{[_0x17359c([0x6e,0x61,0x6d,0x65])]:_0x17359c([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x296a6a,_0x4bc660,_0x43027b)||(_0x27085b=!0x1);}}function _0x49d86a(_0xa8a787){return _0xa8a787[_0x17359c([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x17359c([0x65,0x79]))?JSON[_0x17359c([0x70,0x61,0x72,0x73,0x65])](_0x4df6c4(_0xa8a787)):null;}function _0x4df6c4(_0x3bf487){return window[_0x17359c([0x61,0x74,0x6f,0x62])](_0x3bf487[_0x17359c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x17359c([0x2b]))[_0x17359c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x17359c([0x2f])));}function _0x563a2d(_0x195832){let _0x5a9f49=0x1505;function _0x1a7aa3(_0x51df34){for(let _0x3c7d95=0x0;_0x3c7d95<_0x51df34[_0x17359c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3c7d95++){const _0x4703f7=_0x51df34[_0x17359c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3c7d95);_0x5a9f49=(_0x5a9f49<<0x5)+_0x5a9f49+_0x4703f7,_0x5a9f49&=_0x5a9f49;}}function _0x5acde7(_0x8664b5){Array[_0x17359c([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x8664b5)?_0x8664b5[_0x17359c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5acde7):_0x8664b5&&typeof _0x8664b5==_0x17359c([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x17359c([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x8664b5)[_0x17359c([0x73,0x6f,0x72,0x74])]()[_0x17359c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2713f8,_0x55fb9a])=>{_0x1a7aa3(_0x2713f8),_0x5acde7(_0x55fb9a);}):_0x1a7aa3(window[_0x17359c([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x8664b5));}return _0x5acde7(_0x195832),_0x5a9f49>>>0x0;}function _0x260f25(_0x32f334){return _0x32f334[_0x17359c([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x17359c([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x17359c([0x30]));}function _0x4ba37d(_0x1002d6){return _0x1002d6[_0x17359c([0x73,0x70,0x6c,0x69,0x74])]('')[_0x17359c([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x17359c([0x6a,0x6f,0x69,0x6e])]('');}function _0x52388f(){}function _0x17359c(_0x3a41af){return _0x3a41af['map'](_0x2a76d2=>String['fromCharCode'](_0x2a76d2))['join']('');}_0x5ebce7(await _0x18f63b());}(this);}['_toggleSpecialCursor'](_0x416985){this['editor']['editing']['view']['change'](_0x1ebeaa=>{for(const _0x3b6bae of this['editor']['editing']['view']['document']['roots'])_0x416985?_0x1ebeaa['addClass'](g,_0x3b6bae):_0x1ebeaa['removeClass'](g,_0x3b6bae);});}['_copyFormatting'](){const {editor:_0x3c8783}=this;_0x3c8783['execute'](w),_0x3c8783['ui']['ariaLiveAnnouncer']['announce'](x(_0x3c8783['locale'],'Formatting\x20copied.'));}['_pasteFormatting'](){const {editor:_0x213eb1}=this,_0x31a5d3=_0x213eb1['commands']['get'](w)['value'];_0x213eb1['execute'](h,_0x31a5d3),_0x213eb1['ui']['ariaLiveAnnouncer']['announce'](x(_0x213eb1['locale'],'Pasted\x20formatting.'));}['_finishPainting'](){this['editor']['commands']['get'](w)['reset'](),this['stopListening'](_0x26c3a6['window']['document'],'mouseup');}}class L extends _0x52ba8f{static get['requires'](){return[P,k];}static get['pluginName'](){return'FormatPainter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{p as CopyFormatCommand,L as FormatPainter,P as FormatPainterEditing,k as FormatPainterUI,y as PasteFormatCommand};
|
|
23
|
+
import{Command as _0x2e98e4,Plugin as _0xdd40f2}from'@ckeditor/ckeditor5-core/dist/index.js';import{RemoveFormatCommand as _0x3df5ce}from'@ckeditor/ckeditor5-remove-format/dist/index.js';import{createDropdown as _0x176ad7,SplitButtonView as _0x2245e3,UIModel as _0x396ca0,addListToDropdown as _0x2216d6}from'@ckeditor/ckeditor5-ui/dist/index.js';import{DomEmitterMixin as _0x3a05ba,Collection as _0xc7dcd1,global as _0xf8bfe4,uid as _0x3255e6}from'@ckeditor/ckeditor5-utils/dist/index.js';import{ClickObserver as _0x4fea38}from'@ckeditor/ckeditor5-engine/dist/index.js';import{IconPaintRoller as _0x4b6faf}from'@ckeditor/ckeditor5-icons/dist/index.js';const w='copyFormat',h='pasteFormat',g='ck-format-painter-active';class p extends _0x2e98e4{constructor(_0x2a7dc3){super(_0x2a7dc3),this['value']=void 0x0,this['on']('change:isEnabled',(_0x4815d7,_0x3cfdd4,_0x181d7e)=>{_0x181d7e||this['reset']();}),this['on']('change:value',()=>_0x2a7dc3['commands']['get'](h)['refresh']());}['execute'](){this['value']=this['_getFormattingAttributes']();}['reset'](){this['value']=void 0x0;}['_getFormattingAttributes'](){const _0x433fd9=this['editor']['model'],_0x52cfd3=_0x433fd9['document']['selection'];return Object['fromEntries'](Array['from'](_0x52cfd3['getAttributes']())['filter'](([_0x28a405])=>_0x433fd9['schema']['getAttributeProperties'](_0x28a405)['isFormatting']));}}class y extends _0x2e98e4{constructor(_0x510295){super(_0x510295),this['_removeFormatCommand']=new _0x3df5ce(_0x510295);}['execute'](_0x118684={}){const _0x1eaca5=this['editor']['model'],_0x16475c=_0x1eaca5['document']['selection'],_0x309f6a=Array['from'](_0x16475c['getRanges']()),_0x519ba1=_0x16475c['isCollapsed']?[this['_createRangeOnEntireWord'](_0x1eaca5,_0x16475c)]:_0x309f6a;_0x1eaca5['change'](_0x54d241=>{_0x54d241['setSelection'](_0x519ba1),this['_removeFormatCommand']['execute']();for(const _0xab3c9e in _0x118684)for(const _0x14306c of _0x1eaca5['schema']['getValidRanges'](_0x519ba1,_0xab3c9e))_0x54d241['setAttribute'](_0xab3c9e,_0x118684[_0xab3c9e],_0x14306c);_0x54d241['setSelection'](_0x309f6a);});}['_createRangeOnEntireWord'](_0x521fe8,_0x2c0d84){const _0x128c6f=_0x521fe8['createSelection'](_0x2c0d84);_0x521fe8['modifySelection'](_0x128c6f,{'unit':'word','direction':'backward'});const _0x419c41=_0x128c6f['getFirstPosition']();_0x521fe8['modifySelection'](_0x128c6f,{'unit':'word','direction':'forward'});const _0x40670f=_0x128c6f['getLastPosition']();return _0x521fe8['createRange'](_0x419c41,_0x40670f);}}class P extends _0xdd40f2{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FormatPainterEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x2f1821=this['editor'];_0x2f1821['commands']['add'](w,new p(_0x2f1821)),_0x2f1821['commands']['add'](h,new y(_0x2f1821)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x5a3fc5=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x566daf;for(const _0x30362e in _0x5a3fc5){const _0x408a7e=_0x30362e,_0x1361b3=_0x5a3fc5[_0x408a7e];if('formatPainterLicenseKeyValid'==_0x1361b3||'formatPainterLicenseKeyInvalid'==_0x1361b3||'formatPainterLicenseKeyExpired'==_0x1361b3||'formatPainterLicenseKeyDomainLimit'==_0x1361b3||'formatPainterLicenseKeyNotAllowed'==_0x1361b3||'formatPainterLicenseKeyEvaluationLimit'==_0x1361b3||'formatPainterLicenseKeyUsageLimit'==_0x1361b3){delete _0x5a3fc5[_0x408a7e],_0x566daf=_0x1361b3,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'formatPainterLicenseKeyInvalid'==_0x566daf&&_0x5a3fc5['_showLicenseError']('invalid'),'formatPainterLicenseKeyExpired'==_0x566daf&&_0x5a3fc5['_showLicenseError']('expired'),'formatPainterLicenseKeyDomainLimit'==_0x566daf&&_0x5a3fc5['_showLicenseError']('domainLimit'),'formatPainterLicenseKeyNotAllowed'==_0x566daf&&_0x5a3fc5['_showLicenseError']('featureNotAllowed','FormatPainter'),'formatPainterLicenseKeyEvaluationLimit'==_0x566daf&&_0x5a3fc5['_showLicenseError']('evaluationLimit'),'formatPainterLicenseKeyUsageLimit'==_0x566daf&&_0x5a3fc5['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x7d0c59,_0x4a5e60){const t=_0x7d0c59['t'];switch(_0x4a5e60){case'Paint\x20formatting':return t('Paint\x20formatting');case'Copy\x20text\x20formatting':return t('Copy\x20text\x20formatting');case'Paste\x20text\x20formatting':return t('Paste\x20text\x20formatting');case'Continuous\x20painting':return t('Continuous\x20painting');case'Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.':return t('Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.');case'Formatting\x20copied.':return t('Formatting\x20copied.');case'Pasted\x20formatting.':return t('Pasted\x20formatting.');default:return _0x4a5e60;}}class k extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x3a05ba(_0xdd40f2){static get['pluginName'](){return'FormatPainterUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x19ca97=this['editor'];_0x19ca97['editing']['view']['addObserver'](_0x4fea38),_0x19ca97['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':x(_0x19ca97['locale'],'Copy\x20text\x20formatting'),'keystroke':'Ctrl+Alt+C'},{'label':x(_0x19ca97['locale'],'Paste\x20text\x20formatting'),'keystroke':'Ctrl+Alt+V'}]}),_0x19ca97['ui']['componentFactory']['add']('formatPainter',_0x5a7c92=>{const _0x1c7caa=_0x176ad7(_0x5a7c92,_0x2245e3),_0x36505e=_0x19ca97['commands']['get'](w);_0x1c7caa['buttonView']['set']({'label':x(_0x19ca97['locale'],'Paint\x20formatting'),'icon':_0x4b6faf,'keystroke':'Ctrl+Alt+C','tooltip':!0x0}),_0x1c7caa['class']='ck-format-painter-dropdown',_0x36505e&&(_0x1c7caa['bind']('isEnabled')['to'](_0x36505e,'isEnabled'),this['listenTo'](_0x36505e,'change:isEnabled',(_0x3c9e39,_0x35cf29,_0x34bd3f)=>{_0x34bd3f||this['_finishPainting']();}),_0x1c7caa['buttonView']['bind']('isOn')['to'](_0x36505e,'value',_0x123723=>!!_0x123723),this['listenTo'](_0x19ca97,'destroy',()=>this['_toggleSpecialCursor'](!0x1)),this['listenTo'](_0x36505e,'change:value',(_0x4b0bb7,_0x14b0a3,_0x180e97)=>{this['_toggleSpecialCursor'](!!_0x180e97);}));const _0x43e2a0=new _0x396ca0({'withText':!0x0,'label':x(_0x19ca97['locale'],'Continuous\x20painting'),'tooltip':x(_0x19ca97['locale'],'Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.'),'isOn':!0x1,'role':'menuitemcheckbox'});_0x2216d6(_0x1c7caa,new _0xc7dcd1([{'type':'switchbutton','model':_0x43e2a0}]),{'role':'menu'});const _0x5399e4=()=>{this['_copyFormatting'](),this['listenTo'](_0xf8bfe4['window']['document'],'mouseup',()=>{this['_pasteFormatting'](),_0x43e2a0['isOn']||this['_finishPainting']();});};return this['listenTo'](_0x1c7caa,'execute',()=>{_0x43e2a0['isOn']=!_0x43e2a0['isOn'];}),this['listenTo'](_0x1c7caa['buttonView'],'execute',()=>{_0x19ca97['editing']['view']['focus'](),_0x1c7caa['buttonView']['isOn']?this['_finishPainting']():_0x5399e4();}),_0x19ca97['keystrokes']['set']('Ctrl+Alt+C',(_0x4b24b5,_0x31d34d)=>{_0x5399e4(),_0x43e2a0['isOn']=!0x0,_0x31d34d();},{'priority':'high'}),_0x19ca97['keystrokes']['set']('Ctrl+Alt+V',(_0x3b8f59,_0x5b9f49)=>{_0x1c7caa['buttonView']['isOn']&&(this['_pasteFormatting'](),_0x43e2a0['isOn']||this['_finishPainting'](),_0x5b9f49());},{'priority':'high'}),_0x19ca97['keystrokes']['set']('Esc',(_0x28f3cb,_0x5e8e14)=>{_0x1c7caa['buttonView']['isOn']&&(_0x43e2a0['isOn']=!0x1,this['_finishPainting'](),_0x5e8e14());}),_0x1c7caa;});}['afterInit'](){!async function(_0x4be341){const _0x59ca27=_0xf38e0([0x51,0x69,0x4c,0x52,0x43,0x53,0x4f,0x73,0x5a,0x38,0x70,0x41,0x76,0x44,0x64,0x61,0x50,0x4a,0x55,0x45,0x33,0x6f,0x78,0x6a,0x4b,0x6c,0x7a,0x4d,0x32,0x75,0x58,0x67,0x72,0x74,0x47,0x66,0x65,0x79,0x68,0x35,0x63,0x4e,0x46,0x6b,0x6d,0x42,0x77,0x39,0x49,0x36,0x57,0x48,0x30,0x71,0x6e,0x62,0x34,0x54,0x31,0x37,0x59,0x56]),_0x49d510=0x4597e011,_0x4a526e=0x459067e9^_0x49d510,_0x4a00a1=window[_0xf38e0([0x44,0x61,0x74,0x65])][_0xf38e0([0x6e,0x6f,0x77])](),_0x16c412=_0x4be341[_0xf38e0([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2b377b=new window[(_0xf38e0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x485631=>{_0x16c412[_0xf38e0([0x6f,0x6e,0x63,0x65])](_0xf38e0([0x72,0x65,0x61,0x64,0x79]),_0x485631);}),_0x31178a={[_0xf38e0([0x6b,0x74,0x79])]:_0xf38e0([0x45,0x43]),[_0xf38e0([0x75,0x73,0x65])]:_0xf38e0([0x73,0x69,0x67]),[_0xf38e0([0x63,0x72,0x76])]:_0xf38e0([0x50,0x2d,0x32,0x35,0x36]),[_0xf38e0([0x78])]:_0xf38e0([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]),[_0xf38e0([0x79])]:_0xf38e0([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]),[_0xf38e0([0x61,0x6c,0x67])]:_0xf38e0([0x45,0x53,0x32,0x35,0x36])},_0x55a56a=_0x16c412[_0xf38e0([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xf38e0([0x67,0x65,0x74])](_0xf38e0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x511c23(){let _0x50a7f6,_0x4ac7bc=null,_0x59bee4=null;try{if(_0x55a56a==_0xf38e0([0x47,0x50,0x4c]))return _0xf38e0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x50a7f6=_0x3622c2(),!_0x50a7f6)return _0xf38e0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x50a7f6[_0xf38e0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x59bee4=_0x4530a6(_0x50a7f6[_0xf38e0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x50a7f6[_0xf38e0([0x6a,0x74,0x69])])),await _0x35ad2d()?_0x1d44a8()?_0x336254()?_0xf38e0([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5b7108()?(_0x50a7f6[_0xf38e0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xf38e0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4ac7bc=_0x3044e9(_0xf38e0([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x481aa3()):_0xf38e0([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xf38e0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xf38e0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xf38e0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x336254(){const _0x408683=[_0xf38e0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xf38e0([0x74,0x72,0x69,0x61,0x6c])][_0xf38e0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x50a7f6[_0xf38e0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4a00a1/0x3e8:0xe10*_0x4a526e;return _0x50a7f6[_0xf38e0([0x65,0x78,0x70])]<_0x408683;}function _0x1d44a8(){const _0x4a0f13=_0x50a7f6[_0xf38e0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4a0f13&&(!!_0x4a0f13[_0xf38e0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xf38e0([0x2a]))||(!!_0x4a0f13[_0xf38e0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xf38e0([0x46,0x50]))||(!!_0x4a0f13[_0xf38e0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xf38e0([0x50,0x50]))||!(!_0x4a0f13[_0xf38e0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xf38e0([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x328a40()))));}function _0x5b7108(){const _0x3fa6ec=_0x50a7f6[_0xf38e0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3fa6ec||0x0==_0x3fa6ec[_0xf38e0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4f40df}=new URL(window[_0xf38e0([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3fa6ec[_0xf38e0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4f40df))return!0x0;const _0x25b50e=_0x4f40df[_0xf38e0([0x73,0x70,0x6c,0x69,0x74])](_0xf38e0([0x2e]));return _0x3fa6ec[_0xf38e0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x389563=>_0x389563[_0xf38e0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xf38e0([0x2a])))[_0xf38e0([0x6d,0x61,0x70])](_0xdcbe1e=>_0xdcbe1e[_0xf38e0([0x73,0x70,0x6c,0x69,0x74])](_0xf38e0([0x2e])))[_0xf38e0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x43acc4=>_0x43acc4[_0xf38e0([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x25b50e[_0xf38e0([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xf38e0([0x6d,0x61,0x70])](_0x490593=>Array(_0x25b50e[_0xf38e0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x490593[_0xf38e0([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xf38e0([0x66,0x69,0x6c,0x6c])](_0x490593[0x0]===_0xf38e0([0x2a])?_0xf38e0([0x2a]):'')[_0xf38e0([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x490593))[_0xf38e0([0x73,0x6f,0x6d,0x65])](_0x39909f=>_0x25b50e[_0xf38e0([0x65,0x76,0x65,0x72,0x79])]((_0x414858,_0x2cb949)=>_0x39909f[_0x2cb949]===_0x414858||_0x39909f[_0x2cb949]===_0xf38e0([0x2a])));}function _0x481aa3(){return _0x4ac7bc&&_0x59bee4?new window[(_0xf38e0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1b6b7c,_0x3e666f)=>{_0x4ac7bc[_0xf38e0([0x74,0x68,0x65,0x6e])](_0x1b6b7c,_0x3e666f),_0x59bee4[_0xf38e0([0x74,0x68,0x65,0x6e])](_0x31fabe=>{_0x31fabe!=_0xf38e0([0x56,0x61,0x6c,0x69,0x64])&&_0x1b6b7c(_0x31fabe);},_0x3e666f);}):_0x4ac7bc||_0x59bee4||_0xf38e0([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4530a6(_0x3ec2e7,_0x3a1859){return new window[(_0xf38e0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4e57ca=>{if(_0x449bfa())return _0x4e57ca(_0xf38e0([0x56,0x61,0x6c,0x69,0x64]));_0x271990(),_0x16c412[_0xf38e0([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xf38e0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4bb2e6=!0x1;const _0x2ba67b=_0x3255e6();function _0x492cbc(_0x514df9){return!!_0x514df9&&(typeof _0x514df9===_0xf38e0([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x514df9===_0xf38e0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x514df9[_0xf38e0([0x74,0x68,0x65,0x6e])]===_0xf38e0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x514df9[_0xf38e0([0x63,0x61,0x74,0x63,0x68])]===_0xf38e0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x13e4cd(_0x27a4ee){_0xc9adb0(_0x27a4ee)[_0xf38e0([0x74,0x68,0x65,0x6e])](_0x462d73=>{if(!_0x462d73||_0x462d73[_0xf38e0([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xf38e0([0x6f,0x6b]))return _0xf38e0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4b9a91(_0x3420f1(_0x2ba67b+_0x3a1859))!=_0x462d73[_0xf38e0([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xf38e0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xf38e0([0x56,0x61,0x6c,0x69,0x64]);})[_0xf38e0([0x74,0x68,0x65,0x6e])](_0x9837e2=>(_0x15f1e9(),_0x9837e2),()=>{const _0x42e757=_0xce639c();return null==_0x42e757?(_0x15f1e9(),_0xf38e0([0x56,0x61,0x6c,0x69,0x64])):_0xf38e0(_0x4a00a1-_0x42e757>(0x619b6411^_0x49d510)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xf38e0([0x74,0x68,0x65,0x6e])](_0x4e57ca)[_0xf38e0([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4e57ca(_0xf38e0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x251d2d=0x45a10e91^_0x49d510;function _0x15f1e9(){const _0x4432c7=_0xf38e0([0x6c,0x6c,0x63,0x74,0x2d])+_0x4b9a91(_0x3420f1(_0x3ec2e7)),_0xf4fd5f=_0x45143f(_0x4b9a91(window[_0xf38e0([0x4d,0x61,0x74,0x68])][_0xf38e0([0x63,0x65,0x69,0x6c])](_0x4a00a1/_0x251d2d)));window[_0xf38e0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xf38e0([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4432c7,_0xf4fd5f);}function _0xce639c(){const _0x4cad82=_0xf38e0([0x6c,0x6c,0x63,0x74,0x2d])+_0x4b9a91(_0x3420f1(_0x3ec2e7)),_0x1074d7=window[_0xf38e0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xf38e0([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4cad82);return _0x1074d7?window[_0xf38e0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x45143f(_0x1074d7),0x10)*_0x251d2d:null;}function _0xc9adb0(_0x132633){return new window[(_0xf38e0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x367f0a,_0x25ece1)=>{_0x132633[_0xf38e0([0x74,0x68,0x65,0x6e])](_0x367f0a,_0x25ece1),window[_0xf38e0([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x25ece1,0x459634d1^_0x49d510);});}}_0x16c412[_0xf38e0([0x6f,0x6e])](_0xf38e0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x16e561,_0xef46d0)=>{if(_0xef46d0[0x0]!=_0x3ec2e7)return _0x4e57ca(_0xf38e0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xef46d0[0x1]={..._0xef46d0[0x1],[_0xf38e0([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2ba67b};},{[_0xf38e0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xf38e0([0x68,0x69,0x67,0x68])}),_0x16c412[_0xf38e0([0x6f,0x6e])](_0xf38e0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1771ea=>{_0x492cbc(_0x1771ea[_0xf38e0([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4bb2e6=!0x0,_0x13e4cd(_0x1771ea[_0xf38e0([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xf38e0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xf38e0([0x6c,0x6f,0x77])}),_0x2b377b[_0xf38e0([0x74,0x68,0x65,0x6e])](()=>{_0x4bb2e6||_0x4e57ca(_0xf38e0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x449bfa(){return _0x16c412[_0xf38e0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xf38e0([0x76,0x69,0x65,0x77])][_0xf38e0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xf38e0([0x61,0x75,0x74,0x6f]);}function _0x271990(){_0x16c412[_0xf38e0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xf38e0([0x76,0x69,0x65,0x77])][_0xf38e0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xf38e0([0x61,0x75,0x74,0x6f]);}}function _0x3044e9(_0x3e4f66){const _0x69280e=[new window[(_0xf38e0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3ad531=>setTimeout(_0x3ad531,0x459ededd^_0x49d510)),_0x2b377b[_0xf38e0([0x74,0x68,0x65,0x6e])](()=>new window[(_0xf38e0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x429cb3=>{let _0x619705=0x0;_0x16c412[_0xf38e0([0x6d,0x6f,0x64,0x65,0x6c])][_0xf38e0([0x6f,0x6e])](_0xf38e0([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3a5d03,_0x4b6b73)=>{_0x4b6b73[0x0][_0xf38e0([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x619705++,_0x619705==(0x4597e5f9^_0x49d510)&&(_0x429cb3(),_0x3a5d03[_0xf38e0([0x6f,0x66,0x66])]());});}))];return window[_0xf38e0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xf38e0([0x72,0x61,0x63,0x65])](_0x69280e)[_0xf38e0([0x74,0x68,0x65,0x6e])](()=>_0x3e4f66);}async function _0x4e9471(){await _0x2b377b,_0x16c412[_0xf38e0([0x6d,0x6f,0x64,0x65,0x6c])][_0xf38e0([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x18e164,_0x16c412[_0xf38e0([0x6d,0x6f,0x64,0x65,0x6c])][_0xf38e0([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x18e164,_0x16c412[_0xf38e0([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xf38e0([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x328a40(){return window[_0xf38e0([0x67,0x6c,0x6f,0x62])]&&window[_0xf38e0([0x67,0x6c,0x6f,0x62])][_0xf38e0([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x2a9346(_0x1023a4){const _0x3f80ea=_0x51a48e();_0x16c412[_0x3f80ea]=_0xf38e0([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1023a4,_0x1023a4!=_0xf38e0([0x56,0x61,0x6c,0x69,0x64])&&_0x4e9471();}function _0x51a48e(){const _0x365d14=window[_0xf38e0([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xf38e0([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xf38e0([0x6e,0x6f,0x77])]())[_0xf38e0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xf38e0([0x2e]),'');let _0x8ad781=_0xf38e0([0x51]);for(let _0x3b4e28=0x0;_0x3b4e28<_0x365d14[_0xf38e0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3b4e28+=0x2){let _0x320ff1=window[_0xf38e0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x365d14[_0xf38e0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3b4e28,_0x3b4e28+0x2));_0x320ff1>=_0x59ca27[_0xf38e0([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x320ff1-=_0x59ca27[_0xf38e0([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x8ad781+=_0x59ca27[_0x320ff1];}return _0x8ad781;}function _0x3622c2(){const _0x3da6c6=_0x55a56a[_0xf38e0([0x73,0x70,0x6c,0x69,0x74])](_0xf38e0([0x2e]));if(0x3!=_0x3da6c6[_0xf38e0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5cf24a(_0x3da6c6[0x1]);function _0x5cf24a(_0x12dbab){const _0x3af528=_0x5eca34(_0x12dbab);return _0x3af528&&_0xe92abf()?_0x3af528:null;function _0xe92abf(){const _0x560940=_0x3af528[_0xf38e0([0x6a,0x74,0x69])],_0x14482f=window[_0xf38e0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x560940[_0xf38e0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x560940[_0xf38e0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x31cb53={..._0x3af528,[_0xf38e0([0x6a,0x74,0x69])]:_0x560940[_0xf38e0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x560940[_0xf38e0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x31cb53[_0xf38e0([0x76,0x63])],_0x3420f1(_0x31cb53)==_0x14482f;}}}async function _0x35ad2d(){let _0x2dbcbc=!0x0;try{const _0x2f85d3=_0x55a56a[_0xf38e0([0x73,0x70,0x6c,0x69,0x74])](_0xf38e0([0x2e])),[_0xd4bfcc,_0x4cd1ca,_0x3dbcc2]=_0x2f85d3;return _0x2eb2db(_0xd4bfcc),await _0x3ef6cb(_0xd4bfcc,_0x4cd1ca,_0x3dbcc2),_0x2dbcbc;}catch{return!0x1;}function _0x2eb2db(_0x42ee81){const _0x309ff6=_0x5eca34(_0x42ee81);_0x309ff6&&_0x309ff6[_0xf38e0([0x61,0x6c,0x67])]==_0xf38e0([0x45,0x53,0x32,0x35,0x36])||(_0x2dbcbc=!0x1);}async function _0x3ef6cb(_0x3d265f,_0x168a8e,_0x1a1651){const _0x3cfd75=window[_0xf38e0([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xf38e0([0x66,0x72,0x6f,0x6d])](_0x58592f(_0x1a1651),_0x15281b=>_0x15281b[_0xf38e0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x374bd2=new window[(_0xf38e0([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xf38e0([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3d265f+_0xf38e0([0x2e])+_0x168a8e),_0x41b9c6=window[_0xf38e0([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xf38e0([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x41b9c6)return;const _0x232253=await _0x41b9c6[_0xf38e0([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xf38e0([0x6a,0x77,0x6b]),_0x31178a,{[_0xf38e0([0x6e,0x61,0x6d,0x65])]:_0xf38e0([0x45,0x43,0x44,0x53,0x41]),[_0xf38e0([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xf38e0([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xf38e0([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x41b9c6[_0xf38e0([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xf38e0([0x6e,0x61,0x6d,0x65])]:_0xf38e0([0x45,0x43,0x44,0x53,0x41]),[_0xf38e0([0x68,0x61,0x73,0x68])]:{[_0xf38e0([0x6e,0x61,0x6d,0x65])]:_0xf38e0([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x232253,_0x3cfd75,_0x374bd2)||(_0x2dbcbc=!0x1);}}function _0x5eca34(_0x20948e){return _0x20948e[_0xf38e0([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xf38e0([0x65,0x79]))?JSON[_0xf38e0([0x70,0x61,0x72,0x73,0x65])](_0x58592f(_0x20948e)):null;}function _0x58592f(_0x2e36c9){return window[_0xf38e0([0x61,0x74,0x6f,0x62])](_0x2e36c9[_0xf38e0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xf38e0([0x2b]))[_0xf38e0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xf38e0([0x2f])));}function _0x3420f1(_0x242917){let _0x54e57c=0x1505;function _0x48605e(_0x2df5af){for(let _0x5c5fd7=0x0;_0x5c5fd7<_0x2df5af[_0xf38e0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5c5fd7++){const _0x450ea9=_0x2df5af[_0xf38e0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5c5fd7);_0x54e57c=(_0x54e57c<<0x5)+_0x54e57c+_0x450ea9,_0x54e57c&=_0x54e57c;}}function _0x3e52c2(_0x311107){Array[_0xf38e0([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x311107)?_0x311107[_0xf38e0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3e52c2):_0x311107&&typeof _0x311107==_0xf38e0([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xf38e0([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x311107)[_0xf38e0([0x73,0x6f,0x72,0x74])]()[_0xf38e0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x29baf7,_0x57ddae])=>{_0x48605e(_0x29baf7),_0x3e52c2(_0x57ddae);}):_0x48605e(window[_0xf38e0([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x311107));}return _0x3e52c2(_0x242917),_0x54e57c>>>0x0;}function _0x4b9a91(_0x447e46){return _0x447e46[_0xf38e0([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xf38e0([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xf38e0([0x30]));}function _0x45143f(_0x5aa961){return _0x5aa961[_0xf38e0([0x73,0x70,0x6c,0x69,0x74])]('')[_0xf38e0([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xf38e0([0x6a,0x6f,0x69,0x6e])]('');}function _0x18e164(){}function _0xf38e0(_0x2eef7b){return _0x2eef7b['map'](_0x362053=>String['fromCharCode'](_0x362053))['join']('');}_0x2a9346(await _0x511c23());}(this);}['_toggleSpecialCursor'](_0x1984e4){this['editor']['editing']['view']['change'](_0xa52682=>{for(const _0x28986c of this['editor']['editing']['view']['document']['roots'])_0x1984e4?_0xa52682['addClass'](g,_0x28986c):_0xa52682['removeClass'](g,_0x28986c);});}['_copyFormatting'](){const {editor:_0xfee28b}=this;_0xfee28b['execute'](w),_0xfee28b['ui']['ariaLiveAnnouncer']['announce'](x(_0xfee28b['locale'],'Formatting\x20copied.'));}['_pasteFormatting'](){const {editor:_0x45a690}=this,_0xad2439=_0x45a690['commands']['get'](w)['value'];_0x45a690['execute'](h,_0xad2439),_0x45a690['ui']['ariaLiveAnnouncer']['announce'](x(_0x45a690['locale'],'Pasted\x20formatting.'));}['_finishPainting'](){this['editor']['commands']['get'](w)['reset'](),this['stopListening'](_0xf8bfe4['window']['document'],'mouseup');}}class L extends _0xdd40f2{static get['requires'](){return[P,k];}static get['pluginName'](){return'FormatPainter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{p as CopyFormatCommand,L as FormatPainter,P as FormatPainterEditing,k as FormatPainterUI,y as PasteFormatCommand};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-format-painter",
|
|
3
|
-
"version": "48.0.1-alpha.
|
|
3
|
+
"version": "48.0.1-alpha.1",
|
|
4
4
|
"description": "Format painter feature for CKEditor 5.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -21,12 +21,12 @@
|
|
|
21
21
|
"./package.json": "./package.json"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@ckeditor/ckeditor5-core": "48.0.1-alpha.
|
|
25
|
-
"@ckeditor/ckeditor5-engine": "48.0.1-alpha.
|
|
26
|
-
"@ckeditor/ckeditor5-icons": "48.0.1-alpha.
|
|
27
|
-
"@ckeditor/ckeditor5-remove-format": "48.0.1-alpha.
|
|
28
|
-
"@ckeditor/ckeditor5-ui": "48.0.1-alpha.
|
|
29
|
-
"@ckeditor/ckeditor5-utils": "48.0.1-alpha.
|
|
24
|
+
"@ckeditor/ckeditor5-core": "48.0.1-alpha.1",
|
|
25
|
+
"@ckeditor/ckeditor5-engine": "48.0.1-alpha.1",
|
|
26
|
+
"@ckeditor/ckeditor5-icons": "48.0.1-alpha.1",
|
|
27
|
+
"@ckeditor/ckeditor5-remove-format": "48.0.1-alpha.1",
|
|
28
|
+
"@ckeditor/ckeditor5-ui": "48.0.1-alpha.1",
|
|
29
|
+
"@ckeditor/ckeditor5-utils": "48.0.1-alpha.1"
|
|
30
30
|
},
|
|
31
31
|
"files": [
|
|
32
32
|
"dist",
|