@ckeditor/ckeditor5-format-painter 48.8.1-alpha.1 → 48.8.1-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +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
|
-
_0x3cba51(_0x4eee4){static get['pluginName'](){return'FormatPainterUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x1f7bcb=this['editor'];_0x1f7bcb['editing']['view']['addObserver'](_0x29b0d9),_0x1f7bcb['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':p(_0x1f7bcb['locale'],'Copy\x20text\x20formatting'),'keystroke':'Ctrl+Alt+C'},{'label':p(_0x1f7bcb['locale'],'Paste\x20text\x20formatting'),'keystroke':'Ctrl+Alt+V'}]}),_0x1f7bcb['ui']['componentFactory']['add']('formatPainter',_0x39faf3=>{const _0x43395b=_0x22b3c6(_0x39faf3,_0x482fed),_0x57c879=_0x1f7bcb['commands']['get'](w);_0x43395b['buttonView']['set']({'label':p(_0x1f7bcb['locale'],'Paint\x20formatting'),'icon':_0x19e873,'keystroke':'Ctrl+Alt+C','tooltip':!0x0}),_0x43395b['class']='ck-format-painter-dropdown',_0x57c879&&(_0x43395b['bind']('isEnabled')['to'](_0x57c879,'isEnabled'),this['listenTo'](_0x57c879,'change:isEnabled',(_0x3c5edf,_0x3867f2,_0x4651f7)=>{_0x4651f7||this['_finishPainting']();}),_0x43395b['buttonView']['bind']('isOn')['to'](_0x57c879,'value',_0xed2736=>!!_0xed2736),this['listenTo'](_0x1f7bcb,'destroy',()=>this['_toggleSpecialCursor'](!0x1)),this['listenTo'](_0x57c879,'change:value',(_0x20d734,_0x4cf8f5,_0x467124)=>{this['_toggleSpecialCursor'](!!_0x467124);}));const _0x124ae0=new _0x111680({'withText':!0x0,'label':p(_0x1f7bcb['locale'],'Continuous\x20painting'),'tooltip':p(_0x1f7bcb['locale'],'Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.'),'isOn':!0x1,'role':'menuitemcheckbox'});_0x3be317(_0x43395b,new _0x3f7411([{'type':'switchbutton','model':_0x124ae0}]),{'role':'menu'});const _0x49b7d2=()=>{this['_copyFormatting'](),this['listenTo'](_0x456ad3['window']['document'],'mouseup',()=>{this['_pasteFormatting'](),_0x124ae0['isOn']||this['_finishPainting']();});};return this['listenTo'](_0x43395b,'execute',()=>{_0x124ae0['isOn']=!_0x124ae0['isOn'];}),this['listenTo'](_0x43395b['buttonView'],'execute',()=>{_0x1f7bcb['editing']['view']['focus'](),_0x43395b['buttonView']['isOn']?this['_finishPainting']():_0x49b7d2();}),_0x1f7bcb['keystrokes']['set']('Ctrl+Alt+C',(_0x5af0ad,_0xa9283b)=>{_0x49b7d2(),_0x124ae0['isOn']=!0x0,_0xa9283b();},{'priority':'high'}),_0x1f7bcb['keystrokes']['set']('Ctrl+Alt+V',(_0x3368e1,_0x57e587)=>{_0x43395b['buttonView']['isOn']&&(this['_pasteFormatting'](),_0x124ae0['isOn']||this['_finishPainting'](),_0x57e587());},{'priority':'high'}),_0x1f7bcb['keystrokes']['set']('Esc',(_0x4ef596,_0xbe012d)=>{_0x43395b['buttonView']['isOn']&&(_0x124ae0['isOn']=!0x1,this['_finishPainting'](),_0x1f7bcb['ui']['ariaLiveAnnouncer']['announce'](p(_0x1f7bcb['locale'],'Painting\x20cancelled.')),_0xbe012d());}),_0x43395b;});}['afterInit'](){!async function(_0x47756c){const _0x1dfd62=_0x4f4148([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]),_0x34d024=0x4597e011,_0x28d2bb=0x45906a29^_0x34d024,_0x59912f=window[_0x4f4148([0x44,0x61,0x74,0x65])][_0x4f4148([0x6e,0x6f,0x77])](),_0x20d95f=_0x47756c[_0x4f4148([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1faccc=new window[(_0x4f4148([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x389ced=>{_0x20d95f[_0x4f4148([0x6f,0x6e,0x63,0x65])](_0x4f4148([0x72,0x65,0x61,0x64,0x79]),_0x389ced);}),_0x4b62f3={[_0x4f4148([0x6b,0x74,0x79])]:_0x4f4148([0x45,0x43]),[_0x4f4148([0x75,0x73,0x65])]:_0x4f4148([0x73,0x69,0x67]),[_0x4f4148([0x63,0x72,0x76])]:_0x4f4148([0x50,0x2d,0x32,0x35,0x36]),[_0x4f4148([0x78])]:_0x4f4148([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]),[_0x4f4148([0x79])]:_0x4f4148([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]),[_0x4f4148([0x61,0x6c,0x67])]:_0x4f4148([0x45,0x53,0x32,0x35,0x36])},_0x2f07e0=_0x20d95f[_0x4f4148([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4f4148([0x67,0x65,0x74])](_0x4f4148([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5b6719(){let _0x59152a,_0x420422=null,_0x5f5233=null;try{if(_0x2f07e0==_0x4f4148([0x47,0x50,0x4c]))return _0x4f4148([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x59152a=_0x333422(),!_0x59152a)return _0x4f4148([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x59152a[_0x4f4148([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5f5233=_0x4a2d3f(_0x59152a[_0x4f4148([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x59152a[_0x4f4148([0x6a,0x74,0x69])])),await _0x5923fc()?_0x331aa9()?_0x189fec()?_0x4f4148([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x96bd3e()?(_0x59152a[_0x4f4148([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4f4148([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x420422=_0x147d50(_0x4f4148([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x36b7d8()):_0x4f4148([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4f4148([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4f4148([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4f4148([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x189fec(){const _0x3ec810=[_0x4f4148([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4f4148([0x74,0x72,0x69,0x61,0x6c])][_0x4f4148([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x59152a[_0x4f4148([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x59912f/0x3e8:0xe10*_0x28d2bb;return _0x59152a[_0x4f4148([0x65,0x78,0x70])]<_0x3ec810;}function _0x331aa9(){const _0x12277e=_0x59152a[_0x4f4148([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x12277e&&(!!_0x12277e[_0x4f4148([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4f4148([0x2a]))||(!!_0x12277e[_0x4f4148([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4f4148([0x46,0x50]))||(!!_0x12277e[_0x4f4148([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4f4148([0x50,0x50]))||!(!_0x12277e[_0x4f4148([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4f4148([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0xd56d8d()))));}function _0x96bd3e(){const _0xd8fea6=_0x59152a[_0x4f4148([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xd8fea6||0x0==_0xd8fea6[_0x4f4148([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x16c82a}=new URL(window[_0x4f4148([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0xd8fea6[_0x4f4148([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x16c82a))return!0x0;const _0x453f28=_0x16c82a[_0x4f4148([0x73,0x70,0x6c,0x69,0x74])](_0x4f4148([0x2e]));return _0xd8fea6[_0x4f4148([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x46097f=>_0x46097f[_0x4f4148([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4f4148([0x2a])))[_0x4f4148([0x6d,0x61,0x70])](_0x165701=>_0x165701[_0x4f4148([0x73,0x70,0x6c,0x69,0x74])](_0x4f4148([0x2e])))[_0x4f4148([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x15eba2=>_0x15eba2[_0x4f4148([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x453f28[_0x4f4148([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4f4148([0x6d,0x61,0x70])](_0x2e29b0=>Array(_0x453f28[_0x4f4148([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2e29b0[_0x4f4148([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4f4148([0x66,0x69,0x6c,0x6c])](_0x2e29b0[0x0]===_0x4f4148([0x2a])?_0x4f4148([0x2a]):'')[_0x4f4148([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2e29b0))[_0x4f4148([0x73,0x6f,0x6d,0x65])](_0x5c78ba=>_0x453f28[_0x4f4148([0x65,0x76,0x65,0x72,0x79])]((_0x3fc342,_0x7135ac)=>_0x5c78ba[_0x7135ac]===_0x3fc342||_0x5c78ba[_0x7135ac]===_0x4f4148([0x2a])));}function _0x36b7d8(){return _0x420422&&_0x5f5233?new window[(_0x4f4148([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1f83fd,_0x1548e1)=>{_0x420422[_0x4f4148([0x74,0x68,0x65,0x6e])](_0x1f83fd,_0x1548e1),_0x5f5233[_0x4f4148([0x74,0x68,0x65,0x6e])](_0x1b9ab6=>{_0x1b9ab6!=_0x4f4148([0x56,0x61,0x6c,0x69,0x64])&&_0x1f83fd(_0x1b9ab6);},_0x1548e1);}):_0x420422||_0x5f5233||_0x4f4148([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4a2d3f(_0x5c7354,_0x2678d0){return new window[(_0x4f4148([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2f6d44=>{if(_0x573726())return _0x2f6d44(_0x4f4148([0x56,0x61,0x6c,0x69,0x64]));_0x49a749(),_0x20d95f[_0x4f4148([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4f4148([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4cedd7=!0x1;const _0x1cdf35=_0x7387e7();function _0x5c4469(_0x35a9a6){return!!_0x35a9a6&&(typeof _0x35a9a6===_0x4f4148([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x35a9a6===_0x4f4148([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x35a9a6[_0x4f4148([0x74,0x68,0x65,0x6e])]===_0x4f4148([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x35a9a6[_0x4f4148([0x63,0x61,0x74,0x63,0x68])]===_0x4f4148([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3bfff3(_0x66ba54){_0xe00373(_0x66ba54)[_0x4f4148([0x74,0x68,0x65,0x6e])](_0x3d2463=>{if(!_0x3d2463||_0x3d2463[_0x4f4148([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4f4148([0x6f,0x6b]))return _0x4f4148([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5589a4(_0x9153bf(_0x1cdf35+_0x2678d0))!=_0x3d2463[_0x4f4148([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4f4148([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4f4148([0x56,0x61,0x6c,0x69,0x64]);})[_0x4f4148([0x74,0x68,0x65,0x6e])](_0x5237f3=>(_0x122edd(),_0x5237f3),()=>{const _0x50c45f=_0x4a9d74();return null==_0x50c45f?(_0x122edd(),_0x4f4148([0x56,0x61,0x6c,0x69,0x64])):_0x4f4148(_0x59912f-_0x50c45f>(0x619b6411^_0x34d024)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4f4148([0x74,0x68,0x65,0x6e])](_0x2f6d44)[_0x4f4148([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2f6d44(_0x4f4148([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x337b19=0x45a10e91^_0x34d024;function _0x122edd(){const _0x556d8a=_0x4f4148([0x6c,0x6c,0x63,0x74,0x2d])+_0x5589a4(_0x9153bf(_0x5c7354)),_0xe029c4=_0x31167f(_0x5589a4(window[_0x4f4148([0x4d,0x61,0x74,0x68])][_0x4f4148([0x63,0x65,0x69,0x6c])](_0x59912f/_0x337b19)));window[_0x4f4148([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4f4148([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x556d8a,_0xe029c4);}function _0x4a9d74(){const _0x35e6e4=_0x4f4148([0x6c,0x6c,0x63,0x74,0x2d])+_0x5589a4(_0x9153bf(_0x5c7354)),_0x2055f4=window[_0x4f4148([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4f4148([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x35e6e4);return _0x2055f4?window[_0x4f4148([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x31167f(_0x2055f4),0x10)*_0x337b19:null;}function _0xe00373(_0x172b76){return new window[(_0x4f4148([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x385113,_0x2fc15c)=>{_0x172b76[_0x4f4148([0x74,0x68,0x65,0x6e])](_0x385113,_0x2fc15c),window[_0x4f4148([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2fc15c,0x459634d1^_0x34d024);});}}_0x20d95f[_0x4f4148([0x6f,0x6e])](_0x4f4148([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5a2ffd,_0xbffdaa)=>{if(_0xbffdaa[0x0]!=_0x5c7354)return _0x2f6d44(_0x4f4148([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xbffdaa[0x1]={..._0xbffdaa[0x1],[_0x4f4148([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1cdf35};},{[_0x4f4148([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4f4148([0x68,0x69,0x67,0x68])}),_0x20d95f[_0x4f4148([0x6f,0x6e])](_0x4f4148([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x543018=>{_0x5c4469(_0x543018[_0x4f4148([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4cedd7=!0x0,_0x3bfff3(_0x543018[_0x4f4148([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4f4148([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4f4148([0x6c,0x6f,0x77])}),_0x1faccc[_0x4f4148([0x74,0x68,0x65,0x6e])](()=>{_0x4cedd7||_0x2f6d44(_0x4f4148([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x573726(){return _0x20d95f[_0x4f4148([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4f4148([0x76,0x69,0x65,0x77])][_0x4f4148([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4f4148([0x61,0x75,0x74,0x6f]);}function _0x49a749(){_0x20d95f[_0x4f4148([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4f4148([0x76,0x69,0x65,0x77])][_0x4f4148([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4f4148([0x61,0x75,0x74,0x6f]);}}function _0x147d50(_0x2862aa){const _0x19e341=[new window[(_0x4f4148([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x56ab9b=>setTimeout(_0x56ab9b,0x459ededd^_0x34d024)),_0x1faccc[_0x4f4148([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4f4148([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4c2ccb=>{let _0x3ffadb=0x0;_0x20d95f[_0x4f4148([0x6d,0x6f,0x64,0x65,0x6c])][_0x4f4148([0x6f,0x6e])](_0x4f4148([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2eb5d8,_0x25e0c5)=>{_0x25e0c5[0x0][_0x4f4148([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3ffadb++,_0x3ffadb==(0x4597e5f9^_0x34d024)&&(_0x4c2ccb(),_0x2eb5d8[_0x4f4148([0x6f,0x66,0x66])]());});}))];return window[_0x4f4148([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4f4148([0x72,0x61,0x63,0x65])](_0x19e341)[_0x4f4148([0x74,0x68,0x65,0x6e])](()=>_0x2862aa);}async function _0x53d77e(){await _0x1faccc,_0x20d95f[_0x4f4148([0x6d,0x6f,0x64,0x65,0x6c])][_0x4f4148([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1d8511,_0x20d95f[_0x4f4148([0x6d,0x6f,0x64,0x65,0x6c])][_0x4f4148([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1d8511,_0x20d95f[_0x4f4148([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4f4148([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xd56d8d(){return window[_0x4f4148([0x67,0x6c,0x6f,0x62])]&&window[_0x4f4148([0x67,0x6c,0x6f,0x62])][_0x4f4148([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x3ce6ef(_0x43cc04){const _0xbf5abd=_0x44c4d4();_0x20d95f[_0xbf5abd]=_0x4f4148([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x43cc04,_0x43cc04!=_0x4f4148([0x56,0x61,0x6c,0x69,0x64])&&_0x53d77e();}function _0x44c4d4(){const _0x4d38e3=window[_0x4f4148([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4f4148([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4f4148([0x6e,0x6f,0x77])]())[_0x4f4148([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4f4148([0x2e]),'');let _0x201208=_0x4f4148([0x51]);for(let _0x5b8780=0x0;_0x5b8780<_0x4d38e3[_0x4f4148([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5b8780+=0x2){let _0x1d9a13=window[_0x4f4148([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4d38e3[_0x4f4148([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5b8780,_0x5b8780+0x2));_0x1d9a13>=_0x1dfd62[_0x4f4148([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1d9a13-=_0x1dfd62[_0x4f4148([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x201208+=_0x1dfd62[_0x1d9a13];}return _0x201208;}function _0x333422(){const _0x1e8af4=_0x2f07e0[_0x4f4148([0x73,0x70,0x6c,0x69,0x74])](_0x4f4148([0x2e]));if(0x3!=_0x1e8af4[_0x4f4148([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2ae8df(_0x1e8af4[0x1]);function _0x2ae8df(_0x9a2f23){const _0x47466b=_0x17bff6(_0x9a2f23);return _0x47466b&&_0x43b272()?_0x47466b:null;function _0x43b272(){const _0x20db34=_0x47466b[_0x4f4148([0x6a,0x74,0x69])],_0x4f0e2c=window[_0x4f4148([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x20db34[_0x4f4148([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x20db34[_0x4f4148([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2ad20a={..._0x47466b,[_0x4f4148([0x6a,0x74,0x69])]:_0x20db34[_0x4f4148([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x20db34[_0x4f4148([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2ad20a[_0x4f4148([0x76,0x63])],_0x9153bf(_0x2ad20a)==_0x4f0e2c;}}}async function _0x5923fc(){let _0x500a5a=!0x0;try{const _0x46e6c7=_0x2f07e0[_0x4f4148([0x73,0x70,0x6c,0x69,0x74])](_0x4f4148([0x2e])),[_0x20803a,_0x26f174,_0x193874]=_0x46e6c7;return _0x4c5fcd(_0x20803a),await _0x4781d8(_0x20803a,_0x26f174,_0x193874),_0x500a5a;}catch{return!0x1;}function _0x4c5fcd(_0x4fde3e){const _0x43b6c3=_0x17bff6(_0x4fde3e);_0x43b6c3&&_0x43b6c3[_0x4f4148([0x61,0x6c,0x67])]==_0x4f4148([0x45,0x53,0x32,0x35,0x36])||(_0x500a5a=!0x1);}async function _0x4781d8(_0x3ee8b4,_0x211eb5,_0x572ec7){const _0x20ffc3=window[_0x4f4148([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4f4148([0x66,0x72,0x6f,0x6d])](_0x25ec7b(_0x572ec7),_0x7a053d=>_0x7a053d[_0x4f4148([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x540cbd=new window[(_0x4f4148([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4f4148([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3ee8b4+_0x4f4148([0x2e])+_0x211eb5),_0x58a636=window[_0x4f4148([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4f4148([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x58a636)return;const _0x90ff28=await _0x58a636[_0x4f4148([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4f4148([0x6a,0x77,0x6b]),_0x4b62f3,{[_0x4f4148([0x6e,0x61,0x6d,0x65])]:_0x4f4148([0x45,0x43,0x44,0x53,0x41]),[_0x4f4148([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4f4148([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4f4148([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x58a636[_0x4f4148([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4f4148([0x6e,0x61,0x6d,0x65])]:_0x4f4148([0x45,0x43,0x44,0x53,0x41]),[_0x4f4148([0x68,0x61,0x73,0x68])]:{[_0x4f4148([0x6e,0x61,0x6d,0x65])]:_0x4f4148([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x90ff28,_0x20ffc3,_0x540cbd)||(_0x500a5a=!0x1);}}function _0x17bff6(_0x3f94e7){return _0x3f94e7[_0x4f4148([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4f4148([0x65,0x79]))?JSON[_0x4f4148([0x70,0x61,0x72,0x73,0x65])](_0x25ec7b(_0x3f94e7)):null;}function _0x25ec7b(_0x10eb3d){return window[_0x4f4148([0x61,0x74,0x6f,0x62])](_0x10eb3d[_0x4f4148([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4f4148([0x2b]))[_0x4f4148([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4f4148([0x2f])));}function _0x9153bf(_0x5d31ef){let _0x58897c=0x1505;function _0x37e527(_0x2ec670){for(let _0x5dffae=0x0;_0x5dffae<_0x2ec670[_0x4f4148([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5dffae++){const _0x288ae5=_0x2ec670[_0x4f4148([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5dffae);_0x58897c=(_0x58897c<<0x5)+_0x58897c+_0x288ae5,_0x58897c&=_0x58897c;}}function _0x1fe5a6(_0x29dcf1){Array[_0x4f4148([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x29dcf1)?_0x29dcf1[_0x4f4148([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1fe5a6):_0x29dcf1&&typeof _0x29dcf1==_0x4f4148([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4f4148([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x29dcf1)[_0x4f4148([0x73,0x6f,0x72,0x74])]()[_0x4f4148([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3fdd16,_0x43120e])=>{_0x37e527(_0x3fdd16),_0x1fe5a6(_0x43120e);}):_0x37e527(window[_0x4f4148([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x29dcf1));}return _0x1fe5a6(_0x5d31ef),_0x58897c>>>0x0;}function _0x5589a4(_0xb8b9a){return _0xb8b9a[_0x4f4148([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4f4148([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4f4148([0x30]));}function _0x31167f(_0x21605c){return _0x21605c[_0x4f4148([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4f4148([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4f4148([0x6a,0x6f,0x69,0x6e])]('');}function _0x1d8511(){}function _0x4f4148(_0x3d9440){return _0x3d9440['map'](_0x5a42d4=>String['fromCharCode'](_0x5a42d4))['join']('');}_0x3ce6ef(await _0x5b6719());}(this);}['_toggleSpecialCursor'](_0x309c31){this['editor']['editing']['view']['change'](_0x5c2951=>{for(const _0x10d683 of this['editor']['editing']['view']['document']['roots'])_0x309c31?_0x5c2951['addClass'](h,_0x10d683):_0x5c2951['removeClass'](h,_0x10d683);});}['_copyFormatting'](){const {editor:_0x1d393f}=this;_0x1d393f['execute'](w),_0x1d393f['ui']['ariaLiveAnnouncer']['announce'](p(_0x1d393f['locale'],'Formatting\x20copied.'));}['_pasteFormatting'](){const {editor:_0x365f52}=this,_0x543f1f=_0x365f52['commands']['get'](w)['value'];_0x365f52['execute'](g,_0x543f1f),_0x365f52['ui']['ariaLiveAnnouncer']['announce'](p(_0x365f52['locale'],'Pasted\x20formatting.'));}['_finishPainting'](){this['editor']['commands']['get'](w)['reset'](),this['stopListening'](_0x456ad3['window']['document'],'mouseup');}}class FormatPainter extends _0x4eee4{static get['requires'](){return[FormatPainterEditing,FormatPainterUI];}static get['pluginName'](){return'FormatPainter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{CopyFormatCommand,FormatPainter,FormatPainterEditing,FormatPainterUI,PasteFormatCommand};
|
|
23
|
+
import{Command as _0x4b6260,Plugin as _0x1e9f7e}from'@ckeditor/ckeditor5-core/dist/index.js';import{RemoveFormatCommand as _0x1ab786}from'@ckeditor/ckeditor5-remove-format/dist/index.js';import{createDropdown as _0x11b490,SplitButtonView as _0x2fefb6,UIModel as _0x233ceb,addListToDropdown as _0x47c9a6}from'@ckeditor/ckeditor5-ui/dist/index.js';import{DomEmitterMixin as _0x56180d,Collection as _0x40afea,global as _0x48532a,uid as _0x4949d7}from'@ckeditor/ckeditor5-utils/dist/index.js';import{ClickObserver as _0x10f869}from'@ckeditor/ckeditor5-engine/dist/index.js';import{IconPaintRoller as _0x22684d}from'@ckeditor/ckeditor5-icons/dist/index.js';const w='copyFormat',g='pasteFormat',h='ck-format-painter-active';class CopyFormatCommand extends _0x4b6260{constructor(_0x3fe8ed){super(_0x3fe8ed),this['value']=void 0x0,this['on']('change:isEnabled',(_0x5ce301,_0x376a57,_0x5c4342)=>{_0x5c4342||this['reset']();}),this['on']('change:value',()=>_0x3fe8ed['commands']['get'](g)['refresh']());}['execute'](){this['value']=this['_getFormattingAttributes']();}['reset'](){this['value']=void 0x0;}['_getFormattingAttributes'](){const _0x1cfa43=this['editor']['model'],_0x4b1b50=_0x1cfa43['document']['selection'];return Object['fromEntries'](Array['from'](_0x4b1b50['getAttributes']())['filter'](([_0x11ebbf])=>_0x1cfa43['schema']['getAttributeProperties'](_0x11ebbf)['isFormatting']));}}class PasteFormatCommand extends _0x4b6260{constructor(_0x52638a){super(_0x52638a),this['_removeFormatCommand']=new _0x1ab786(_0x52638a);}['execute'](_0x14450e={}){const _0x309d39=this['editor']['model'],_0x1b4068=_0x309d39['document']['selection'],_0x178661=Array['from'](_0x1b4068['getRanges']()),_0x3e9813=_0x1b4068['isCollapsed']?[this['_createRangeOnEntireWord'](_0x309d39,_0x1b4068)]:_0x178661;_0x309d39['change'](_0x8c588d=>{_0x8c588d['setSelection'](_0x3e9813),this['_removeFormatCommand']['execute']();for(const _0x33f3b7 in _0x14450e)for(const _0x1b037d of _0x309d39['schema']['getValidRanges'](_0x3e9813,_0x33f3b7))_0x8c588d['setAttribute'](_0x33f3b7,_0x14450e[_0x33f3b7],_0x1b037d);_0x8c588d['setSelection'](_0x178661);});}['_createRangeOnEntireWord'](_0x4fe480,_0x507b61){const _0x1969ac=_0x4fe480['createSelection'](_0x507b61);_0x4fe480['modifySelection'](_0x1969ac,{'unit':'word','direction':'backward'});const _0x35346e=_0x1969ac['getFirstPosition']();_0x4fe480['modifySelection'](_0x1969ac,{'unit':'word','direction':'forward'});const _0x3bdedb=_0x1969ac['getLastPosition']();return _0x4fe480['createRange'](_0x35346e,_0x3bdedb);}}class FormatPainterEditing extends _0x1e9f7e{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FormatPainterEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x4cc97a=this['editor'];_0x4cc97a['commands']['add'](w,new CopyFormatCommand(_0x4cc97a)),_0x4cc97a['commands']['add'](g,new PasteFormatCommand(_0x4cc97a)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x283a77=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x40d55e;for(const _0x16bff3 in _0x283a77){const _0x26389b=_0x16bff3,_0x568d6e=_0x283a77[_0x26389b];if('formatPainterLicenseKeyValid'==_0x568d6e||'formatPainterLicenseKeyInvalid'==_0x568d6e||'formatPainterLicenseKeyExpired'==_0x568d6e||'formatPainterLicenseKeyDomainLimit'==_0x568d6e||'formatPainterLicenseKeyNotAllowed'==_0x568d6e||'formatPainterLicenseKeyEvaluationLimit'==_0x568d6e||'formatPainterLicenseKeyUsageLimit'==_0x568d6e){delete _0x283a77[_0x26389b],_0x40d55e=_0x568d6e,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'formatPainterLicenseKeyInvalid'==_0x40d55e&&_0x283a77['_showLicenseError']('invalid'),'formatPainterLicenseKeyExpired'==_0x40d55e&&_0x283a77['_showLicenseError']('expired'),'formatPainterLicenseKeyDomainLimit'==_0x40d55e&&_0x283a77['_showLicenseError']('domainLimit'),'formatPainterLicenseKeyNotAllowed'==_0x40d55e&&_0x283a77['_showLicenseError']('featureNotAllowed','FormatPainter'),'formatPainterLicenseKeyEvaluationLimit'==_0x40d55e&&_0x283a77['_showLicenseError']('evaluationLimit'),'formatPainterLicenseKeyUsageLimit'==_0x40d55e&&_0x283a77['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function p(_0x4f069f,_0x444f94){const t=_0x4f069f['t'];switch(_0x444f94){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.');case'Painting\x20cancelled.':return t('Painting\x20cancelled.');default:return _0x444f94;}}class FormatPainterUI extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x56180d(_0x1e9f7e){static get['pluginName'](){return'FormatPainterUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x2234b5=this['editor'];_0x2234b5['editing']['view']['addObserver'](_0x10f869),_0x2234b5['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':p(_0x2234b5['locale'],'Copy\x20text\x20formatting'),'keystroke':'Ctrl+Alt+C'},{'label':p(_0x2234b5['locale'],'Paste\x20text\x20formatting'),'keystroke':'Ctrl+Alt+V'}]}),_0x2234b5['ui']['componentFactory']['add']('formatPainter',_0xa3a43f=>{const _0x1d65d5=_0x11b490(_0xa3a43f,_0x2fefb6),_0xdf56ad=_0x2234b5['commands']['get'](w);_0x1d65d5['buttonView']['set']({'label':p(_0x2234b5['locale'],'Paint\x20formatting'),'icon':_0x22684d,'keystroke':'Ctrl+Alt+C','tooltip':!0x0}),_0x1d65d5['class']='ck-format-painter-dropdown',_0xdf56ad&&(_0x1d65d5['bind']('isEnabled')['to'](_0xdf56ad,'isEnabled'),this['listenTo'](_0xdf56ad,'change:isEnabled',(_0x37ac00,_0x429677,_0xd9d8eb)=>{_0xd9d8eb||this['_finishPainting']();}),_0x1d65d5['buttonView']['bind']('isOn')['to'](_0xdf56ad,'value',_0x4614cb=>!!_0x4614cb),this['listenTo'](_0x2234b5,'destroy',()=>this['_toggleSpecialCursor'](!0x1)),this['listenTo'](_0xdf56ad,'change:value',(_0x84d84c,_0x46f29e,_0x45a511)=>{this['_toggleSpecialCursor'](!!_0x45a511);}));const _0x26d73d=new _0x233ceb({'withText':!0x0,'label':p(_0x2234b5['locale'],'Continuous\x20painting'),'tooltip':p(_0x2234b5['locale'],'Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.'),'isOn':!0x1,'role':'menuitemcheckbox'});_0x47c9a6(_0x1d65d5,new _0x40afea([{'type':'switchbutton','model':_0x26d73d}]),{'role':'menu'});const _0x165ca2=()=>{this['_copyFormatting'](),this['listenTo'](_0x48532a['window']['document'],'mouseup',()=>{this['_pasteFormatting'](),_0x26d73d['isOn']||this['_finishPainting']();});};return this['listenTo'](_0x1d65d5,'execute',()=>{_0x26d73d['isOn']=!_0x26d73d['isOn'];}),this['listenTo'](_0x1d65d5['buttonView'],'execute',()=>{_0x2234b5['editing']['view']['focus'](),_0x1d65d5['buttonView']['isOn']?this['_finishPainting']():_0x165ca2();}),_0x2234b5['keystrokes']['set']('Ctrl+Alt+C',(_0x33bb33,_0x20fa9f)=>{_0x165ca2(),_0x26d73d['isOn']=!0x0,_0x20fa9f();},{'priority':'high'}),_0x2234b5['keystrokes']['set']('Ctrl+Alt+V',(_0x389246,_0x8464bc)=>{_0x1d65d5['buttonView']['isOn']&&(this['_pasteFormatting'](),_0x26d73d['isOn']||this['_finishPainting'](),_0x8464bc());},{'priority':'high'}),_0x2234b5['keystrokes']['set']('Esc',(_0x4c4c17,_0x483b39)=>{_0x1d65d5['buttonView']['isOn']&&(_0x26d73d['isOn']=!0x1,this['_finishPainting'](),_0x2234b5['ui']['ariaLiveAnnouncer']['announce'](p(_0x2234b5['locale'],'Painting\x20cancelled.')),_0x483b39());}),_0x1d65d5;});}['afterInit'](){!async function(_0x1b6a4d){const _0x2c1afd=_0x11a551([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]),_0x285e16=0x4597e011,_0x372a75=0x45906a41^_0x285e16,_0x10c600=window[_0x11a551([0x44,0x61,0x74,0x65])][_0x11a551([0x6e,0x6f,0x77])](),_0x2ae282=_0x1b6a4d[_0x11a551([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4d49f9=new window[(_0x11a551([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x299940=>{_0x2ae282[_0x11a551([0x6f,0x6e,0x63,0x65])](_0x11a551([0x72,0x65,0x61,0x64,0x79]),_0x299940);}),_0x4729c1={[_0x11a551([0x6b,0x74,0x79])]:_0x11a551([0x45,0x43]),[_0x11a551([0x75,0x73,0x65])]:_0x11a551([0x73,0x69,0x67]),[_0x11a551([0x63,0x72,0x76])]:_0x11a551([0x50,0x2d,0x32,0x35,0x36]),[_0x11a551([0x78])]:_0x11a551([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]),[_0x11a551([0x79])]:_0x11a551([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]),[_0x11a551([0x61,0x6c,0x67])]:_0x11a551([0x45,0x53,0x32,0x35,0x36])},_0x373f1c=_0x2ae282[_0x11a551([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x11a551([0x67,0x65,0x74])](_0x11a551([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x6bebc6(){let _0x51b594,_0x13239a=null,_0xc023e1=null;try{if(_0x373f1c==_0x11a551([0x47,0x50,0x4c]))return _0x11a551([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x51b594=_0x2cdc0f(),!_0x51b594)return _0x11a551([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x51b594[_0x11a551([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xc023e1=_0x3ff83f(_0x51b594[_0x11a551([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x51b594[_0x11a551([0x6a,0x74,0x69])])),await _0x48cd69()?_0x153e05()?_0x2f2af3()?_0x11a551([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x47050f()?(_0x51b594[_0x11a551([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x11a551([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x13239a=_0x5e000f(_0x11a551([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4179ae()):_0x11a551([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x11a551([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x11a551([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x11a551([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2f2af3(){const _0x2b0a52=[_0x11a551([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x11a551([0x74,0x72,0x69,0x61,0x6c])][_0x11a551([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x51b594[_0x11a551([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x10c600/0x3e8:0xe10*_0x372a75;return _0x51b594[_0x11a551([0x65,0x78,0x70])]<_0x2b0a52;}function _0x153e05(){const _0x4e682f=_0x51b594[_0x11a551([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4e682f&&(!!_0x4e682f[_0x11a551([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x11a551([0x2a]))||(!!_0x4e682f[_0x11a551([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x11a551([0x46,0x50]))||(!!_0x4e682f[_0x11a551([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x11a551([0x50,0x50]))||!(!_0x4e682f[_0x11a551([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x11a551([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x54b838()))));}function _0x47050f(){const _0xf31999=_0x51b594[_0x11a551([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xf31999||0x0==_0xf31999[_0x11a551([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2048f1}=new URL(window[_0x11a551([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0xf31999[_0x11a551([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2048f1))return!0x0;const _0x103b9f=_0x2048f1[_0x11a551([0x73,0x70,0x6c,0x69,0x74])](_0x11a551([0x2e]));return _0xf31999[_0x11a551([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2d4e52=>_0x2d4e52[_0x11a551([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x11a551([0x2a])))[_0x11a551([0x6d,0x61,0x70])](_0x480696=>_0x480696[_0x11a551([0x73,0x70,0x6c,0x69,0x74])](_0x11a551([0x2e])))[_0x11a551([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2b6eca=>_0x2b6eca[_0x11a551([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x103b9f[_0x11a551([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x11a551([0x6d,0x61,0x70])](_0x441f5d=>Array(_0x103b9f[_0x11a551([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x441f5d[_0x11a551([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x11a551([0x66,0x69,0x6c,0x6c])](_0x441f5d[0x0]===_0x11a551([0x2a])?_0x11a551([0x2a]):'')[_0x11a551([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x441f5d))[_0x11a551([0x73,0x6f,0x6d,0x65])](_0x1aa7fb=>_0x103b9f[_0x11a551([0x65,0x76,0x65,0x72,0x79])]((_0x2d5245,_0x2f4e22)=>_0x1aa7fb[_0x2f4e22]===_0x2d5245||_0x1aa7fb[_0x2f4e22]===_0x11a551([0x2a])));}function _0x4179ae(){return _0x13239a&&_0xc023e1?new window[(_0x11a551([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x278fc5,_0x127e61)=>{_0x13239a[_0x11a551([0x74,0x68,0x65,0x6e])](_0x278fc5,_0x127e61),_0xc023e1[_0x11a551([0x74,0x68,0x65,0x6e])](_0x5435d1=>{_0x5435d1!=_0x11a551([0x56,0x61,0x6c,0x69,0x64])&&_0x278fc5(_0x5435d1);},_0x127e61);}):_0x13239a||_0xc023e1||_0x11a551([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3ff83f(_0x5781b5,_0x354380){return new window[(_0x11a551([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x7ebab6=>{if(_0x17a0d0())return _0x7ebab6(_0x11a551([0x56,0x61,0x6c,0x69,0x64]));_0x58f0f9(),_0x2ae282[_0x11a551([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x11a551([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x50fd66=!0x1;const _0x4fcfdc=_0x4949d7();function _0x52fa93(_0x4a9280){return!!_0x4a9280&&(typeof _0x4a9280===_0x11a551([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4a9280===_0x11a551([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4a9280[_0x11a551([0x74,0x68,0x65,0x6e])]===_0x11a551([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4a9280[_0x11a551([0x63,0x61,0x74,0x63,0x68])]===_0x11a551([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3b309d(_0x3a67d8){_0x5c1844(_0x3a67d8)[_0x11a551([0x74,0x68,0x65,0x6e])](_0x13f656=>{if(!_0x13f656||_0x13f656[_0x11a551([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x11a551([0x6f,0x6b]))return _0x11a551([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x7b0d05(_0x5659be(_0x4fcfdc+_0x354380))!=_0x13f656[_0x11a551([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x11a551([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x11a551([0x56,0x61,0x6c,0x69,0x64]);})[_0x11a551([0x74,0x68,0x65,0x6e])](_0x5d1ec7=>(_0x9089e4(),_0x5d1ec7),()=>{const _0x25a3b5=_0x3c4e74();return null==_0x25a3b5?(_0x9089e4(),_0x11a551([0x56,0x61,0x6c,0x69,0x64])):_0x11a551(_0x10c600-_0x25a3b5>(0x619b6411^_0x285e16)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x11a551([0x74,0x68,0x65,0x6e])](_0x7ebab6)[_0x11a551([0x63,0x61,0x74,0x63,0x68])](()=>{_0x7ebab6(_0x11a551([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x257538=0x45a10e91^_0x285e16;function _0x9089e4(){const _0x3e66bc=_0x11a551([0x6c,0x6c,0x63,0x74,0x2d])+_0x7b0d05(_0x5659be(_0x5781b5)),_0x14a88a=_0x1027d7(_0x7b0d05(window[_0x11a551([0x4d,0x61,0x74,0x68])][_0x11a551([0x63,0x65,0x69,0x6c])](_0x10c600/_0x257538)));window[_0x11a551([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x11a551([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3e66bc,_0x14a88a);}function _0x3c4e74(){const _0x5a0e13=_0x11a551([0x6c,0x6c,0x63,0x74,0x2d])+_0x7b0d05(_0x5659be(_0x5781b5)),_0x4c5ff6=window[_0x11a551([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x11a551([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5a0e13);return _0x4c5ff6?window[_0x11a551([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1027d7(_0x4c5ff6),0x10)*_0x257538:null;}function _0x5c1844(_0x2b4b61){return new window[(_0x11a551([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x28d155,_0xccd58b)=>{_0x2b4b61[_0x11a551([0x74,0x68,0x65,0x6e])](_0x28d155,_0xccd58b),window[_0x11a551([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xccd58b,0x459634d1^_0x285e16);});}}_0x2ae282[_0x11a551([0x6f,0x6e])](_0x11a551([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5740a5,_0x37f03f)=>{if(_0x37f03f[0x0]!=_0x5781b5)return _0x7ebab6(_0x11a551([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x37f03f[0x1]={..._0x37f03f[0x1],[_0x11a551([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4fcfdc};},{[_0x11a551([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x11a551([0x68,0x69,0x67,0x68])}),_0x2ae282[_0x11a551([0x6f,0x6e])](_0x11a551([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x150023=>{_0x52fa93(_0x150023[_0x11a551([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x50fd66=!0x0,_0x3b309d(_0x150023[_0x11a551([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x11a551([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x11a551([0x6c,0x6f,0x77])}),_0x4d49f9[_0x11a551([0x74,0x68,0x65,0x6e])](()=>{_0x50fd66||_0x7ebab6(_0x11a551([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x17a0d0(){return _0x2ae282[_0x11a551([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x11a551([0x76,0x69,0x65,0x77])][_0x11a551([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x11a551([0x61,0x75,0x74,0x6f]);}function _0x58f0f9(){_0x2ae282[_0x11a551([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x11a551([0x76,0x69,0x65,0x77])][_0x11a551([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x11a551([0x61,0x75,0x74,0x6f]);}}function _0x5e000f(_0x40a3f4){const _0x1e58d3=[new window[(_0x11a551([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2640e4=>setTimeout(_0x2640e4,0x459ededd^_0x285e16)),_0x4d49f9[_0x11a551([0x74,0x68,0x65,0x6e])](()=>new window[(_0x11a551([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x544215=>{let _0x2608cb=0x0;_0x2ae282[_0x11a551([0x6d,0x6f,0x64,0x65,0x6c])][_0x11a551([0x6f,0x6e])](_0x11a551([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xe5f5c2,_0x4ee51b)=>{_0x4ee51b[0x0][_0x11a551([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2608cb++,_0x2608cb==(0x4597e5f9^_0x285e16)&&(_0x544215(),_0xe5f5c2[_0x11a551([0x6f,0x66,0x66])]());});}))];return window[_0x11a551([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x11a551([0x72,0x61,0x63,0x65])](_0x1e58d3)[_0x11a551([0x74,0x68,0x65,0x6e])](()=>_0x40a3f4);}async function _0x401a48(){await _0x4d49f9,_0x2ae282[_0x11a551([0x6d,0x6f,0x64,0x65,0x6c])][_0x11a551([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x48b9d3,_0x2ae282[_0x11a551([0x6d,0x6f,0x64,0x65,0x6c])][_0x11a551([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x48b9d3,_0x2ae282[_0x11a551([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x11a551([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x54b838(){return window[_0x11a551([0x67,0x6c,0x6f,0x62])]&&window[_0x11a551([0x67,0x6c,0x6f,0x62])][_0x11a551([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x4dfeb7(_0xecb980){const _0x54cb49=_0x1ed184();_0x2ae282[_0x54cb49]=_0x11a551([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xecb980,_0xecb980!=_0x11a551([0x56,0x61,0x6c,0x69,0x64])&&_0x401a48();}function _0x1ed184(){const _0x509c39=window[_0x11a551([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x11a551([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x11a551([0x6e,0x6f,0x77])]())[_0x11a551([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x11a551([0x2e]),'');let _0x24c7e6=_0x11a551([0x51]);for(let _0x3e5ccc=0x0;_0x3e5ccc<_0x509c39[_0x11a551([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3e5ccc+=0x2){let _0x30e5d4=window[_0x11a551([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x509c39[_0x11a551([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3e5ccc,_0x3e5ccc+0x2));_0x30e5d4>=_0x2c1afd[_0x11a551([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x30e5d4-=_0x2c1afd[_0x11a551([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x24c7e6+=_0x2c1afd[_0x30e5d4];}return _0x24c7e6;}function _0x2cdc0f(){const _0xf8ecca=_0x373f1c[_0x11a551([0x73,0x70,0x6c,0x69,0x74])](_0x11a551([0x2e]));if(0x3!=_0xf8ecca[_0x11a551([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x57dabe(_0xf8ecca[0x1]);function _0x57dabe(_0x34b1dc){const _0x3f5f28=_0x1c300d(_0x34b1dc);return _0x3f5f28&&_0x1fb161()?_0x3f5f28:null;function _0x1fb161(){const _0x74dd11=_0x3f5f28[_0x11a551([0x6a,0x74,0x69])],_0x43d22c=window[_0x11a551([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x74dd11[_0x11a551([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x74dd11[_0x11a551([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x244167={..._0x3f5f28,[_0x11a551([0x6a,0x74,0x69])]:_0x74dd11[_0x11a551([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x74dd11[_0x11a551([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x244167[_0x11a551([0x76,0x63])],_0x5659be(_0x244167)==_0x43d22c;}}}async function _0x48cd69(){let _0x346230=!0x0;try{const _0x3cc4e2=_0x373f1c[_0x11a551([0x73,0x70,0x6c,0x69,0x74])](_0x11a551([0x2e])),[_0x2ab652,_0x2c4de3,_0x3ef27e]=_0x3cc4e2;return _0x32456f(_0x2ab652),await _0x4bb343(_0x2ab652,_0x2c4de3,_0x3ef27e),_0x346230;}catch{return!0x1;}function _0x32456f(_0x10318a){const _0x19dd6b=_0x1c300d(_0x10318a);_0x19dd6b&&_0x19dd6b[_0x11a551([0x61,0x6c,0x67])]==_0x11a551([0x45,0x53,0x32,0x35,0x36])||(_0x346230=!0x1);}async function _0x4bb343(_0x5c5a7c,_0xff04b2,_0x584261){const _0x2cc740=window[_0x11a551([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x11a551([0x66,0x72,0x6f,0x6d])](_0x52568d(_0x584261),_0x181dad=>_0x181dad[_0x11a551([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2ecd24=new window[(_0x11a551([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x11a551([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5c5a7c+_0x11a551([0x2e])+_0xff04b2),_0x5ae7c6=window[_0x11a551([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x11a551([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5ae7c6)return;const _0x15a993=await _0x5ae7c6[_0x11a551([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x11a551([0x6a,0x77,0x6b]),_0x4729c1,{[_0x11a551([0x6e,0x61,0x6d,0x65])]:_0x11a551([0x45,0x43,0x44,0x53,0x41]),[_0x11a551([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x11a551([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x11a551([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5ae7c6[_0x11a551([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x11a551([0x6e,0x61,0x6d,0x65])]:_0x11a551([0x45,0x43,0x44,0x53,0x41]),[_0x11a551([0x68,0x61,0x73,0x68])]:{[_0x11a551([0x6e,0x61,0x6d,0x65])]:_0x11a551([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x15a993,_0x2cc740,_0x2ecd24)||(_0x346230=!0x1);}}function _0x1c300d(_0x4ee988){return _0x4ee988[_0x11a551([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x11a551([0x65,0x79]))?JSON[_0x11a551([0x70,0x61,0x72,0x73,0x65])](_0x52568d(_0x4ee988)):null;}function _0x52568d(_0x2cefd2){return window[_0x11a551([0x61,0x74,0x6f,0x62])](_0x2cefd2[_0x11a551([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x11a551([0x2b]))[_0x11a551([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x11a551([0x2f])));}function _0x5659be(_0x10d064){let _0x5121b6=0x1505;function _0x314c8a(_0x6da6a9){for(let _0x57266b=0x0;_0x57266b<_0x6da6a9[_0x11a551([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x57266b++){const _0x44b961=_0x6da6a9[_0x11a551([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x57266b);_0x5121b6=(_0x5121b6<<0x5)+_0x5121b6+_0x44b961,_0x5121b6&=_0x5121b6;}}function _0x58560e(_0x2fed0f){Array[_0x11a551([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2fed0f)?_0x2fed0f[_0x11a551([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x58560e):_0x2fed0f&&typeof _0x2fed0f==_0x11a551([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x11a551([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2fed0f)[_0x11a551([0x73,0x6f,0x72,0x74])]()[_0x11a551([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x480d0a,_0x5dd6ee])=>{_0x314c8a(_0x480d0a),_0x58560e(_0x5dd6ee);}):_0x314c8a(window[_0x11a551([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2fed0f));}return _0x58560e(_0x10d064),_0x5121b6>>>0x0;}function _0x7b0d05(_0x142bfb){return _0x142bfb[_0x11a551([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x11a551([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x11a551([0x30]));}function _0x1027d7(_0x5ec4cb){return _0x5ec4cb[_0x11a551([0x73,0x70,0x6c,0x69,0x74])]('')[_0x11a551([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x11a551([0x6a,0x6f,0x69,0x6e])]('');}function _0x48b9d3(){}function _0x11a551(_0xfb4a8a){return _0xfb4a8a['map'](_0x52078e=>String['fromCharCode'](_0x52078e))['join']('');}_0x4dfeb7(await _0x6bebc6());}(this);}['_toggleSpecialCursor'](_0x262692){this['editor']['editing']['view']['change'](_0x50b2c1=>{for(const _0x1f73a4 of this['editor']['editing']['view']['document']['roots'])_0x262692?_0x50b2c1['addClass'](h,_0x1f73a4):_0x50b2c1['removeClass'](h,_0x1f73a4);});}['_copyFormatting'](){const {editor:_0xf264f8}=this;_0xf264f8['execute'](w),_0xf264f8['ui']['ariaLiveAnnouncer']['announce'](p(_0xf264f8['locale'],'Formatting\x20copied.'));}['_pasteFormatting'](){const {editor:_0x3ffc6b}=this,_0x35e445=_0x3ffc6b['commands']['get'](w)['value'];_0x3ffc6b['execute'](g,_0x35e445),_0x3ffc6b['ui']['ariaLiveAnnouncer']['announce'](p(_0x3ffc6b['locale'],'Pasted\x20formatting.'));}['_finishPainting'](){this['editor']['commands']['get'](w)['reset'](),this['stopListening'](_0x48532a['window']['document'],'mouseup');}}class FormatPainter extends _0x1e9f7e{static get['requires'](){return[FormatPainterEditing,FormatPainterUI];}static get['pluginName'](){return'FormatPainter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{CopyFormatCommand,FormatPainter,FormatPainterEditing,FormatPainterUI,PasteFormatCommand};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-format-painter",
|
|
3
|
-
"version": "48.8.1-alpha.
|
|
3
|
+
"version": "48.8.1-alpha.2",
|
|
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.8.1-alpha.
|
|
25
|
-
"@ckeditor/ckeditor5-engine": "48.8.1-alpha.
|
|
26
|
-
"@ckeditor/ckeditor5-icons": "48.8.1-alpha.
|
|
27
|
-
"@ckeditor/ckeditor5-remove-format": "48.8.1-alpha.
|
|
28
|
-
"@ckeditor/ckeditor5-ui": "48.8.1-alpha.
|
|
29
|
-
"@ckeditor/ckeditor5-utils": "48.8.1-alpha.
|
|
24
|
+
"@ckeditor/ckeditor5-core": "48.8.1-alpha.2",
|
|
25
|
+
"@ckeditor/ckeditor5-engine": "48.8.1-alpha.2",
|
|
26
|
+
"@ckeditor/ckeditor5-icons": "48.8.1-alpha.2",
|
|
27
|
+
"@ckeditor/ckeditor5-remove-format": "48.8.1-alpha.2",
|
|
28
|
+
"@ckeditor/ckeditor5-ui": "48.8.1-alpha.2",
|
|
29
|
+
"@ckeditor/ckeditor5-utils": "48.8.1-alpha.2"
|
|
30
30
|
},
|
|
31
31
|
"files": [
|
|
32
32
|
"dist",
|