@ckeditor/ckeditor5-format-painter 48.0.0-alpha.10 → 48.0.0-alpha.11
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
|
-
_0xcc024e(_0x1a9fb3){static get['pluginName'](){return'FormatPainterUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x3f0838=this['editor'];_0x3f0838['editing']['view']['addObserver'](_0x23bf6b),_0x3f0838['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':x(_0x3f0838['locale'],'Copy\x20text\x20formatting'),'keystroke':'Ctrl+Alt+C'},{'label':x(_0x3f0838['locale'],'Paste\x20text\x20formatting'),'keystroke':'Ctrl+Alt+V'}]}),_0x3f0838['ui']['componentFactory']['add']('formatPainter',_0x3a9969=>{const _0x4e659f=_0x362aad(_0x3a9969,_0x41fb45),_0x5ee6cd=_0x3f0838['commands']['get'](w);_0x4e659f['buttonView']['set']({'label':x(_0x3f0838['locale'],'Paint\x20formatting'),'icon':_0x3ac31f,'keystroke':'Ctrl+Alt+C','tooltip':!0x0}),_0x4e659f['class']='ck-format-painter-dropdown',_0x5ee6cd&&(_0x4e659f['bind']('isEnabled')['to'](_0x5ee6cd,'isEnabled'),this['listenTo'](_0x5ee6cd,'change:isEnabled',(_0x1bc92b,_0x1f1b56,_0x2f5e64)=>{_0x2f5e64||this['_finishPainting']();}),_0x4e659f['buttonView']['bind']('isOn')['to'](_0x5ee6cd,'value',_0x5b3cdd=>!!_0x5b3cdd),this['listenTo'](_0x3f0838,'destroy',()=>this['_toggleSpecialCursor'](!0x1)),this['listenTo'](_0x5ee6cd,'change:value',(_0x46af41,_0x1a2366,_0x1b9889)=>{this['_toggleSpecialCursor'](!!_0x1b9889);}));const _0x4d9a6e=new _0xde790b({'withText':!0x0,'label':x(_0x3f0838['locale'],'Continuous\x20painting'),'tooltip':x(_0x3f0838['locale'],'Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.'),'isOn':!0x1,'role':'menuitemcheckbox'});_0x3590c7(_0x4e659f,new _0x3d3bc8([{'type':'switchbutton','model':_0x4d9a6e}]),{'role':'menu'});const _0x1bc5b5=()=>{this['_copyFormatting'](),this['listenTo'](_0x461b7f['window']['document'],'mouseup',()=>{this['_pasteFormatting'](),_0x4d9a6e['isOn']||this['_finishPainting']();});};return this['listenTo'](_0x4e659f,'execute',()=>{_0x4d9a6e['isOn']=!_0x4d9a6e['isOn'];}),this['listenTo'](_0x4e659f['buttonView'],'execute',()=>{_0x3f0838['editing']['view']['focus'](),_0x4e659f['buttonView']['isOn']?this['_finishPainting']():_0x1bc5b5();}),_0x3f0838['keystrokes']['set']('Ctrl+Alt+C',(_0xbc5434,_0x407f29)=>{_0x1bc5b5(),_0x4d9a6e['isOn']=!0x0,_0x407f29();},{'priority':'high'}),_0x3f0838['keystrokes']['set']('Ctrl+Alt+V',(_0x32fd29,_0x3a9e9d)=>{_0x4e659f['buttonView']['isOn']&&(this['_pasteFormatting'](),_0x4d9a6e['isOn']||this['_finishPainting'](),_0x3a9e9d());},{'priority':'high'}),_0x3f0838['keystrokes']['set']('Esc',(_0x3a58ba,_0x1fc310)=>{_0x4e659f['buttonView']['isOn']&&(_0x4d9a6e['isOn']=!0x1,this['_finishPainting'](),_0x1fc310());}),_0x4e659f;});}['afterInit'](){!async function(_0x4117d4){const _0x94fb0c=_0x544c0a([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]),_0x2f17dc=0x4597e011,_0x3550ef=0x459065a9^_0x2f17dc,_0x35c380=window[_0x544c0a([0x44,0x61,0x74,0x65])][_0x544c0a([0x6e,0x6f,0x77])](),_0x29c1bf=_0x4117d4[_0x544c0a([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3e3462=new window[(_0x544c0a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x7878a2=>{_0x29c1bf[_0x544c0a([0x6f,0x6e,0x63,0x65])](_0x544c0a([0x72,0x65,0x61,0x64,0x79]),_0x7878a2);}),_0x4d3ad7={[_0x544c0a([0x6b,0x74,0x79])]:_0x544c0a([0x45,0x43]),[_0x544c0a([0x75,0x73,0x65])]:_0x544c0a([0x73,0x69,0x67]),[_0x544c0a([0x63,0x72,0x76])]:_0x544c0a([0x50,0x2d,0x32,0x35,0x36]),[_0x544c0a([0x78])]:_0x544c0a([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]),[_0x544c0a([0x79])]:_0x544c0a([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]),[_0x544c0a([0x61,0x6c,0x67])]:_0x544c0a([0x45,0x53,0x32,0x35,0x36])},_0x3c23a3=_0x29c1bf[_0x544c0a([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x544c0a([0x67,0x65,0x74])](_0x544c0a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3200d8(){let _0x1b35f7,_0x152ca7=null,_0x18ea9c=null;try{if(_0x3c23a3==_0x544c0a([0x47,0x50,0x4c]))return _0x544c0a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1b35f7=_0x559ed3(),!_0x1b35f7)return _0x544c0a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1b35f7[_0x544c0a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x18ea9c=_0x2a4a69(_0x1b35f7[_0x544c0a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1b35f7[_0x544c0a([0x6a,0x74,0x69])])),await _0x2db0fc()?_0x2a63f1()?_0x1326a6()?_0x544c0a([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2d348d()?(_0x1b35f7[_0x544c0a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x544c0a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x152ca7=_0x96bfb9(_0x544c0a([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4899ef()):_0x544c0a([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x544c0a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x544c0a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x544c0a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1326a6(){const _0x5a2891=[_0x544c0a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x544c0a([0x74,0x72,0x69,0x61,0x6c])][_0x544c0a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1b35f7[_0x544c0a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x35c380/0x3e8:0xe10*_0x3550ef;return _0x1b35f7[_0x544c0a([0x65,0x78,0x70])]<_0x5a2891;}function _0x2a63f1(){const _0x340616=_0x1b35f7[_0x544c0a([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x340616&&(!!_0x340616[_0x544c0a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x544c0a([0x2a]))||(!!_0x340616[_0x544c0a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x544c0a([0x46,0x50]))||(!!_0x340616[_0x544c0a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x544c0a([0x50,0x50]))||!(!_0x340616[_0x544c0a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x544c0a([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x357f71()))));}function _0x2d348d(){const _0x352c9e=_0x1b35f7[_0x544c0a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x352c9e||0x0==_0x352c9e[_0x544c0a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x21d4d9}=new URL(window[_0x544c0a([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x352c9e[_0x544c0a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x21d4d9))return!0x0;const _0x18ad67=_0x21d4d9[_0x544c0a([0x73,0x70,0x6c,0x69,0x74])](_0x544c0a([0x2e]));return _0x352c9e[_0x544c0a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x107068=>_0x107068[_0x544c0a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x544c0a([0x2a])))[_0x544c0a([0x6d,0x61,0x70])](_0x4918af=>_0x4918af[_0x544c0a([0x73,0x70,0x6c,0x69,0x74])](_0x544c0a([0x2e])))[_0x544c0a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x18e4e2=>_0x18e4e2[_0x544c0a([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x18ad67[_0x544c0a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x544c0a([0x6d,0x61,0x70])](_0x3285f8=>Array(_0x18ad67[_0x544c0a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3285f8[_0x544c0a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x544c0a([0x66,0x69,0x6c,0x6c])](_0x3285f8[0x0]===_0x544c0a([0x2a])?_0x544c0a([0x2a]):'')[_0x544c0a([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3285f8))[_0x544c0a([0x73,0x6f,0x6d,0x65])](_0x3f89f2=>_0x18ad67[_0x544c0a([0x65,0x76,0x65,0x72,0x79])]((_0x227ad9,_0x2ccfbf)=>_0x3f89f2[_0x2ccfbf]===_0x227ad9||_0x3f89f2[_0x2ccfbf]===_0x544c0a([0x2a])));}function _0x4899ef(){return _0x152ca7&&_0x18ea9c?new window[(_0x544c0a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2f4e30,_0xf8fc34)=>{_0x152ca7[_0x544c0a([0x74,0x68,0x65,0x6e])](_0x2f4e30,_0xf8fc34),_0x18ea9c[_0x544c0a([0x74,0x68,0x65,0x6e])](_0x1840d1=>{_0x1840d1!=_0x544c0a([0x56,0x61,0x6c,0x69,0x64])&&_0x2f4e30(_0x1840d1);},_0xf8fc34);}):_0x152ca7||_0x18ea9c||_0x544c0a([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2a4a69(_0x21ad13,_0x10d08f){return new window[(_0x544c0a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x32fd9a=>{if(_0x51f077())return _0x32fd9a(_0x544c0a([0x56,0x61,0x6c,0x69,0x64]));_0x3eb1b4(),_0x29c1bf[_0x544c0a([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x544c0a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x15a82a=!0x1;const _0xfc35ff=_0x595eb8();function _0x5dea7e(_0x209c00){return!!_0x209c00&&(typeof _0x209c00===_0x544c0a([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x209c00===_0x544c0a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x209c00[_0x544c0a([0x74,0x68,0x65,0x6e])]===_0x544c0a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x209c00[_0x544c0a([0x63,0x61,0x74,0x63,0x68])]===_0x544c0a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x35fe8f(_0x4a3853){_0x5d85d3(_0x4a3853)[_0x544c0a([0x74,0x68,0x65,0x6e])](_0x3b7128=>{if(!_0x3b7128||_0x3b7128[_0x544c0a([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x544c0a([0x6f,0x6b]))return _0x544c0a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x359358(_0x265fda(_0xfc35ff+_0x10d08f))!=_0x3b7128[_0x544c0a([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x544c0a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x544c0a([0x56,0x61,0x6c,0x69,0x64]);})[_0x544c0a([0x74,0x68,0x65,0x6e])](_0x26f3ec=>(_0x1bee3b(),_0x26f3ec),()=>{const _0x24b1fa=_0x5daf80();return null==_0x24b1fa?(_0x1bee3b(),_0x544c0a([0x56,0x61,0x6c,0x69,0x64])):_0x544c0a(_0x35c380-_0x24b1fa>(0x619b6411^_0x2f17dc)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x544c0a([0x74,0x68,0x65,0x6e])](_0x32fd9a)[_0x544c0a([0x63,0x61,0x74,0x63,0x68])](()=>{_0x32fd9a(_0x544c0a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5d5922=0x45a10e91^_0x2f17dc;function _0x1bee3b(){const _0x2ba93f=_0x544c0a([0x6c,0x6c,0x63,0x74,0x2d])+_0x359358(_0x265fda(_0x21ad13)),_0x3c9e1f=_0x42a884(_0x359358(window[_0x544c0a([0x4d,0x61,0x74,0x68])][_0x544c0a([0x63,0x65,0x69,0x6c])](_0x35c380/_0x5d5922)));window[_0x544c0a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x544c0a([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2ba93f,_0x3c9e1f);}function _0x5daf80(){const _0x4da7b2=_0x544c0a([0x6c,0x6c,0x63,0x74,0x2d])+_0x359358(_0x265fda(_0x21ad13)),_0x308a50=window[_0x544c0a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x544c0a([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4da7b2);return _0x308a50?window[_0x544c0a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x42a884(_0x308a50),0x10)*_0x5d5922:null;}function _0x5d85d3(_0x19c8b8){return new window[(_0x544c0a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1ad88c,_0x267cf0)=>{_0x19c8b8[_0x544c0a([0x74,0x68,0x65,0x6e])](_0x1ad88c,_0x267cf0),window[_0x544c0a([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x267cf0,0x459634d1^_0x2f17dc);});}}_0x29c1bf[_0x544c0a([0x6f,0x6e])](_0x544c0a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4ed545,_0x4dd1de)=>{if(_0x4dd1de[0x0]!=_0x21ad13)return _0x32fd9a(_0x544c0a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4dd1de[0x1]={..._0x4dd1de[0x1],[_0x544c0a([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xfc35ff};},{[_0x544c0a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x544c0a([0x68,0x69,0x67,0x68])}),_0x29c1bf[_0x544c0a([0x6f,0x6e])](_0x544c0a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x31b799=>{_0x5dea7e(_0x31b799[_0x544c0a([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x15a82a=!0x0,_0x35fe8f(_0x31b799[_0x544c0a([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x544c0a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x544c0a([0x6c,0x6f,0x77])}),_0x3e3462[_0x544c0a([0x74,0x68,0x65,0x6e])](()=>{_0x15a82a||_0x32fd9a(_0x544c0a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x51f077(){return _0x29c1bf[_0x544c0a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x544c0a([0x76,0x69,0x65,0x77])][_0x544c0a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x544c0a([0x61,0x75,0x74,0x6f]);}function _0x3eb1b4(){_0x29c1bf[_0x544c0a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x544c0a([0x76,0x69,0x65,0x77])][_0x544c0a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x544c0a([0x61,0x75,0x74,0x6f]);}}function _0x96bfb9(_0x2876db){const _0x1760b2=[new window[(_0x544c0a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xb7c56e=>setTimeout(_0xb7c56e,0x459ededd^_0x2f17dc)),_0x3e3462[_0x544c0a([0x74,0x68,0x65,0x6e])](()=>new window[(_0x544c0a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x7fa256=>{let _0x39c36c=0x0;_0x29c1bf[_0x544c0a([0x6d,0x6f,0x64,0x65,0x6c])][_0x544c0a([0x6f,0x6e])](_0x544c0a([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x341d88,_0x42393d)=>{_0x42393d[0x0][_0x544c0a([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x39c36c++,_0x39c36c==(0x4597e5f9^_0x2f17dc)&&(_0x7fa256(),_0x341d88[_0x544c0a([0x6f,0x66,0x66])]());});}))];return window[_0x544c0a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x544c0a([0x72,0x61,0x63,0x65])](_0x1760b2)[_0x544c0a([0x74,0x68,0x65,0x6e])](()=>_0x2876db);}async function _0x56680e(){await _0x3e3462,_0x29c1bf[_0x544c0a([0x6d,0x6f,0x64,0x65,0x6c])][_0x544c0a([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x58cc3b,_0x29c1bf[_0x544c0a([0x6d,0x6f,0x64,0x65,0x6c])][_0x544c0a([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x58cc3b,_0x29c1bf[_0x544c0a([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x544c0a([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x357f71(){return window[_0x544c0a([0x67,0x6c,0x6f,0x62])]&&window[_0x544c0a([0x67,0x6c,0x6f,0x62])][_0x544c0a([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x18d631(_0x221513){const _0x163f08=_0x4bd834();_0x29c1bf[_0x163f08]=_0x544c0a([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x221513,_0x221513!=_0x544c0a([0x56,0x61,0x6c,0x69,0x64])&&_0x56680e();}function _0x4bd834(){const _0x3b04cf=window[_0x544c0a([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x544c0a([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x544c0a([0x6e,0x6f,0x77])]())[_0x544c0a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x544c0a([0x2e]),'');let _0x326b98=_0x544c0a([0x51]);for(let _0x420d32=0x0;_0x420d32<_0x3b04cf[_0x544c0a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x420d32+=0x2){let _0x1cd91b=window[_0x544c0a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3b04cf[_0x544c0a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x420d32,_0x420d32+0x2));_0x1cd91b>=_0x94fb0c[_0x544c0a([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1cd91b-=_0x94fb0c[_0x544c0a([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x326b98+=_0x94fb0c[_0x1cd91b];}return _0x326b98;}function _0x559ed3(){const _0x4515c3=_0x3c23a3[_0x544c0a([0x73,0x70,0x6c,0x69,0x74])](_0x544c0a([0x2e]));if(0x3!=_0x4515c3[_0x544c0a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2cb316(_0x4515c3[0x1]);function _0x2cb316(_0x4c04c0){const _0x187f6e=_0x24db6e(_0x4c04c0);return _0x187f6e&&_0x4a6378()?_0x187f6e:null;function _0x4a6378(){const _0x2397ad=_0x187f6e[_0x544c0a([0x6a,0x74,0x69])],_0x1091e6=window[_0x544c0a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2397ad[_0x544c0a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2397ad[_0x544c0a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4f197f={..._0x187f6e,[_0x544c0a([0x6a,0x74,0x69])]:_0x2397ad[_0x544c0a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2397ad[_0x544c0a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4f197f[_0x544c0a([0x76,0x63])],_0x265fda(_0x4f197f)==_0x1091e6;}}}async function _0x2db0fc(){let _0x146dc3=!0x0;try{const _0x1ddb31=_0x3c23a3[_0x544c0a([0x73,0x70,0x6c,0x69,0x74])](_0x544c0a([0x2e])),[_0xc41021,_0x42f85f,_0x587f44]=_0x1ddb31;return _0x440627(_0xc41021),await _0x4af30b(_0xc41021,_0x42f85f,_0x587f44),_0x146dc3;}catch{return!0x1;}function _0x440627(_0x593aa8){const _0x1a9900=_0x24db6e(_0x593aa8);_0x1a9900&&_0x1a9900[_0x544c0a([0x61,0x6c,0x67])]==_0x544c0a([0x45,0x53,0x32,0x35,0x36])||(_0x146dc3=!0x1);}async function _0x4af30b(_0x2aba05,_0xea2d21,_0x30b1df){const _0x56ca95=window[_0x544c0a([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x544c0a([0x66,0x72,0x6f,0x6d])](_0x5b7840(_0x30b1df),_0x22cd77=>_0x22cd77[_0x544c0a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1e41b4=new window[(_0x544c0a([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x544c0a([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2aba05+_0x544c0a([0x2e])+_0xea2d21),_0x1c81af=window[_0x544c0a([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x544c0a([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1c81af)return;const _0xdf5b8e=await _0x1c81af[_0x544c0a([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x544c0a([0x6a,0x77,0x6b]),_0x4d3ad7,{[_0x544c0a([0x6e,0x61,0x6d,0x65])]:_0x544c0a([0x45,0x43,0x44,0x53,0x41]),[_0x544c0a([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x544c0a([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x544c0a([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1c81af[_0x544c0a([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x544c0a([0x6e,0x61,0x6d,0x65])]:_0x544c0a([0x45,0x43,0x44,0x53,0x41]),[_0x544c0a([0x68,0x61,0x73,0x68])]:{[_0x544c0a([0x6e,0x61,0x6d,0x65])]:_0x544c0a([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xdf5b8e,_0x56ca95,_0x1e41b4)||(_0x146dc3=!0x1);}}function _0x24db6e(_0x3fcee6){return _0x3fcee6[_0x544c0a([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x544c0a([0x65,0x79]))?JSON[_0x544c0a([0x70,0x61,0x72,0x73,0x65])](_0x5b7840(_0x3fcee6)):null;}function _0x5b7840(_0x5bdf9f){return window[_0x544c0a([0x61,0x74,0x6f,0x62])](_0x5bdf9f[_0x544c0a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x544c0a([0x2b]))[_0x544c0a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x544c0a([0x2f])));}function _0x265fda(_0x37a342){let _0x9a2f3c=0x1505;function _0xb8b2d8(_0x1630c5){for(let _0x5a7674=0x0;_0x5a7674<_0x1630c5[_0x544c0a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5a7674++){const _0x4472e4=_0x1630c5[_0x544c0a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5a7674);_0x9a2f3c=(_0x9a2f3c<<0x5)+_0x9a2f3c+_0x4472e4,_0x9a2f3c&=_0x9a2f3c;}}function _0x15b159(_0x455ad0){Array[_0x544c0a([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x455ad0)?_0x455ad0[_0x544c0a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x15b159):_0x455ad0&&typeof _0x455ad0==_0x544c0a([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x544c0a([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x455ad0)[_0x544c0a([0x73,0x6f,0x72,0x74])]()[_0x544c0a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2b520c,_0x181fcd])=>{_0xb8b2d8(_0x2b520c),_0x15b159(_0x181fcd);}):_0xb8b2d8(window[_0x544c0a([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x455ad0));}return _0x15b159(_0x37a342),_0x9a2f3c>>>0x0;}function _0x359358(_0x56406a){return _0x56406a[_0x544c0a([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x544c0a([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x544c0a([0x30]));}function _0x42a884(_0x1a2ce4){return _0x1a2ce4[_0x544c0a([0x73,0x70,0x6c,0x69,0x74])]('')[_0x544c0a([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x544c0a([0x6a,0x6f,0x69,0x6e])]('');}function _0x58cc3b(){}function _0x544c0a(_0x4ac337){return _0x4ac337['map'](_0x10ab83=>String['fromCharCode'](_0x10ab83))['join']('');}_0x18d631(await _0x3200d8());}(this);}['_toggleSpecialCursor'](_0x4cdf38){this['editor']['editing']['view']['change'](_0x1c6700=>{for(const _0x221812 of this['editor']['editing']['view']['document']['roots'])_0x4cdf38?_0x1c6700['addClass'](g,_0x221812):_0x1c6700['removeClass'](g,_0x221812);});}['_copyFormatting'](){const {editor:_0x34db8b}=this;_0x34db8b['execute'](w),_0x34db8b['ui']['ariaLiveAnnouncer']['announce'](x(_0x34db8b['locale'],'Formatting\x20copied.'));}['_pasteFormatting'](){const {editor:_0x98a1c1}=this,_0x447131=_0x98a1c1['commands']['get'](w)['value'];_0x98a1c1['execute'](h,_0x447131),_0x98a1c1['ui']['ariaLiveAnnouncer']['announce'](x(_0x98a1c1['locale'],'Pasted\x20formatting.'));}['_finishPainting'](){this['editor']['commands']['get'](w)['reset'](),this['stopListening'](_0x461b7f['window']['document'],'mouseup');}}class L extends _0x1a9fb3{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 _0x2333f6,Plugin as _0x57ec4b}from'@ckeditor/ckeditor5-core/dist/index.js';import{RemoveFormatCommand as _0x35131f}from'@ckeditor/ckeditor5-remove-format/dist/index.js';import{createDropdown as _0x1b1aed,SplitButtonView as _0x59f10b,UIModel as _0x22dd0,addListToDropdown as _0x1a7771}from'@ckeditor/ckeditor5-ui/dist/index.js';import{DomEmitterMixin as _0x41b26f,Collection as _0x492ac9,global as _0x17373a,uid as _0x46d0df}from'@ckeditor/ckeditor5-utils/dist/index.js';import{ClickObserver as _0x414e28}from'@ckeditor/ckeditor5-engine/dist/index.js';import{IconPaintRoller as _0xd2ee31}from'@ckeditor/ckeditor5-icons/dist/index.js';const w='copyFormat',h='pasteFormat',g='ck-format-painter-active';class p extends _0x2333f6{constructor(_0x108e73){super(_0x108e73),this['value']=void 0x0,this['on']('change:isEnabled',(_0x1997f9,_0x3db6cf,_0x37b704)=>{_0x37b704||this['reset']();}),this['on']('change:value',()=>_0x108e73['commands']['get'](h)['refresh']());}['execute'](){this['value']=this['_getFormattingAttributes']();}['reset'](){this['value']=void 0x0;}['_getFormattingAttributes'](){const _0x7426e4=this['editor']['model'],_0x1328dd=_0x7426e4['document']['selection'];return Object['fromEntries'](Array['from'](_0x1328dd['getAttributes']())['filter'](([_0x200d93])=>_0x7426e4['schema']['getAttributeProperties'](_0x200d93)['isFormatting']));}}class y extends _0x2333f6{constructor(_0x5c6f33){super(_0x5c6f33),this['_removeFormatCommand']=new _0x35131f(_0x5c6f33);}['execute'](_0x45a600={}){const _0x334bd3=this['editor']['model'],_0xc64131=_0x334bd3['document']['selection'],_0x2f8441=Array['from'](_0xc64131['getRanges']()),_0x1b4392=_0xc64131['isCollapsed']?[this['_createRangeOnEntireWord'](_0x334bd3,_0xc64131)]:_0x2f8441;_0x334bd3['change'](_0x128de3=>{_0x128de3['setSelection'](_0x1b4392),this['_removeFormatCommand']['execute']();for(const _0x1a2f1e in _0x45a600)for(const _0x2b93c3 of _0x334bd3['schema']['getValidRanges'](_0x1b4392,_0x1a2f1e))_0x128de3['setAttribute'](_0x1a2f1e,_0x45a600[_0x1a2f1e],_0x2b93c3);_0x128de3['setSelection'](_0x2f8441);});}['_createRangeOnEntireWord'](_0x3318d0,_0x3ecd2a){const _0x17b292=_0x3318d0['createSelection'](_0x3ecd2a);_0x3318d0['modifySelection'](_0x17b292,{'unit':'word','direction':'backward'});const _0x4a2b7e=_0x17b292['getFirstPosition']();_0x3318d0['modifySelection'](_0x17b292,{'unit':'word','direction':'forward'});const _0xd0d5c4=_0x17b292['getLastPosition']();return _0x3318d0['createRange'](_0x4a2b7e,_0xd0d5c4);}}class P extends _0x57ec4b{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FormatPainterEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x49797f=this['editor'];_0x49797f['commands']['add'](w,new p(_0x49797f)),_0x49797f['commands']['add'](h,new y(_0x49797f)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x3e796a=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1a003f;for(const _0x283cd6 in _0x3e796a){const _0x4f9ba8=_0x283cd6,_0x1fd170=_0x3e796a[_0x4f9ba8];if('formatPainterLicenseKeyValid'==_0x1fd170||'formatPainterLicenseKeyInvalid'==_0x1fd170||'formatPainterLicenseKeyExpired'==_0x1fd170||'formatPainterLicenseKeyDomainLimit'==_0x1fd170||'formatPainterLicenseKeyNotAllowed'==_0x1fd170||'formatPainterLicenseKeyEvaluationLimit'==_0x1fd170||'formatPainterLicenseKeyUsageLimit'==_0x1fd170){delete _0x3e796a[_0x4f9ba8],_0x1a003f=_0x1fd170,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'formatPainterLicenseKeyInvalid'==_0x1a003f&&_0x3e796a['_showLicenseError']('invalid'),'formatPainterLicenseKeyExpired'==_0x1a003f&&_0x3e796a['_showLicenseError']('expired'),'formatPainterLicenseKeyDomainLimit'==_0x1a003f&&_0x3e796a['_showLicenseError']('domainLimit'),'formatPainterLicenseKeyNotAllowed'==_0x1a003f&&_0x3e796a['_showLicenseError']('featureNotAllowed','FormatPainter'),'formatPainterLicenseKeyEvaluationLimit'==_0x1a003f&&_0x3e796a['_showLicenseError']('evaluationLimit'),'formatPainterLicenseKeyUsageLimit'==_0x1a003f&&_0x3e796a['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x2cfe96,_0x70957){const t=_0x2cfe96['t'];switch(_0x70957){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 _0x70957;}}class k extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x41b26f(_0x57ec4b){static get['pluginName'](){return'FormatPainterUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x69f30f=this['editor'];_0x69f30f['editing']['view']['addObserver'](_0x414e28),_0x69f30f['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':x(_0x69f30f['locale'],'Copy\x20text\x20formatting'),'keystroke':'Ctrl+Alt+C'},{'label':x(_0x69f30f['locale'],'Paste\x20text\x20formatting'),'keystroke':'Ctrl+Alt+V'}]}),_0x69f30f['ui']['componentFactory']['add']('formatPainter',_0x2386e8=>{const _0x4c3a14=_0x1b1aed(_0x2386e8,_0x59f10b),_0x144730=_0x69f30f['commands']['get'](w);_0x4c3a14['buttonView']['set']({'label':x(_0x69f30f['locale'],'Paint\x20formatting'),'icon':_0xd2ee31,'keystroke':'Ctrl+Alt+C','tooltip':!0x0}),_0x4c3a14['class']='ck-format-painter-dropdown',_0x144730&&(_0x4c3a14['bind']('isEnabled')['to'](_0x144730,'isEnabled'),this['listenTo'](_0x144730,'change:isEnabled',(_0x4706b8,_0x1f1e4f,_0xccf381)=>{_0xccf381||this['_finishPainting']();}),_0x4c3a14['buttonView']['bind']('isOn')['to'](_0x144730,'value',_0x5e1900=>!!_0x5e1900),this['listenTo'](_0x69f30f,'destroy',()=>this['_toggleSpecialCursor'](!0x1)),this['listenTo'](_0x144730,'change:value',(_0x2ffbe1,_0x243a2e,_0x168c57)=>{this['_toggleSpecialCursor'](!!_0x168c57);}));const _0x319544=new _0x22dd0({'withText':!0x0,'label':x(_0x69f30f['locale'],'Continuous\x20painting'),'tooltip':x(_0x69f30f['locale'],'Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.'),'isOn':!0x1,'role':'menuitemcheckbox'});_0x1a7771(_0x4c3a14,new _0x492ac9([{'type':'switchbutton','model':_0x319544}]),{'role':'menu'});const _0x9435be=()=>{this['_copyFormatting'](),this['listenTo'](_0x17373a['window']['document'],'mouseup',()=>{this['_pasteFormatting'](),_0x319544['isOn']||this['_finishPainting']();});};return this['listenTo'](_0x4c3a14,'execute',()=>{_0x319544['isOn']=!_0x319544['isOn'];}),this['listenTo'](_0x4c3a14['buttonView'],'execute',()=>{_0x69f30f['editing']['view']['focus'](),_0x4c3a14['buttonView']['isOn']?this['_finishPainting']():_0x9435be();}),_0x69f30f['keystrokes']['set']('Ctrl+Alt+C',(_0x5d553b,_0x2a964d)=>{_0x9435be(),_0x319544['isOn']=!0x0,_0x2a964d();},{'priority':'high'}),_0x69f30f['keystrokes']['set']('Ctrl+Alt+V',(_0x1457a4,_0x325601)=>{_0x4c3a14['buttonView']['isOn']&&(this['_pasteFormatting'](),_0x319544['isOn']||this['_finishPainting'](),_0x325601());},{'priority':'high'}),_0x69f30f['keystrokes']['set']('Esc',(_0x255ed7,_0x2a9154)=>{_0x4c3a14['buttonView']['isOn']&&(_0x319544['isOn']=!0x1,this['_finishPainting'](),_0x2a9154());}),_0x4c3a14;});}['afterInit'](){!async function(_0x22de0e){const _0x3cf005=_0x52585f([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]),_0x42eefe=0x4597e011,_0x2299da=0x459065c1^_0x42eefe,_0x254ab2=window[_0x52585f([0x44,0x61,0x74,0x65])][_0x52585f([0x6e,0x6f,0x77])](),_0x292a40=_0x22de0e[_0x52585f([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x270e91=new window[(_0x52585f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4db019=>{_0x292a40[_0x52585f([0x6f,0x6e,0x63,0x65])](_0x52585f([0x72,0x65,0x61,0x64,0x79]),_0x4db019);}),_0x342afb={[_0x52585f([0x6b,0x74,0x79])]:_0x52585f([0x45,0x43]),[_0x52585f([0x75,0x73,0x65])]:_0x52585f([0x73,0x69,0x67]),[_0x52585f([0x63,0x72,0x76])]:_0x52585f([0x50,0x2d,0x32,0x35,0x36]),[_0x52585f([0x78])]:_0x52585f([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]),[_0x52585f([0x79])]:_0x52585f([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]),[_0x52585f([0x61,0x6c,0x67])]:_0x52585f([0x45,0x53,0x32,0x35,0x36])},_0x18bb64=_0x292a40[_0x52585f([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x52585f([0x67,0x65,0x74])](_0x52585f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5b80c5(){let _0x36a064,_0x4c225b=null,_0x501307=null;try{if(_0x18bb64==_0x52585f([0x47,0x50,0x4c]))return _0x52585f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x36a064=_0x24a333(),!_0x36a064)return _0x52585f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x36a064[_0x52585f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x501307=_0xc51a38(_0x36a064[_0x52585f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x36a064[_0x52585f([0x6a,0x74,0x69])])),await _0x2cfc7d()?_0x114f82()?_0x488514()?_0x52585f([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3bfde0()?(_0x36a064[_0x52585f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x52585f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4c225b=_0x1f22a8(_0x52585f([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x103ffc()):_0x52585f([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x52585f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x52585f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x52585f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x488514(){const _0x7d4b28=[_0x52585f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x52585f([0x74,0x72,0x69,0x61,0x6c])][_0x52585f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x36a064[_0x52585f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x254ab2/0x3e8:0xe10*_0x2299da;return _0x36a064[_0x52585f([0x65,0x78,0x70])]<_0x7d4b28;}function _0x114f82(){const _0x3a1763=_0x36a064[_0x52585f([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3a1763&&(!!_0x3a1763[_0x52585f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x52585f([0x2a]))||(!!_0x3a1763[_0x52585f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x52585f([0x46,0x50]))||(!!_0x3a1763[_0x52585f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x52585f([0x50,0x50]))||!(!_0x3a1763[_0x52585f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x52585f([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x9a12c()))));}function _0x3bfde0(){const _0x6bc57a=_0x36a064[_0x52585f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x6bc57a||0x0==_0x6bc57a[_0x52585f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x283822}=new URL(window[_0x52585f([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x6bc57a[_0x52585f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x283822))return!0x0;const _0x2bd91a=_0x283822[_0x52585f([0x73,0x70,0x6c,0x69,0x74])](_0x52585f([0x2e]));return _0x6bc57a[_0x52585f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x57e3a8=>_0x57e3a8[_0x52585f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x52585f([0x2a])))[_0x52585f([0x6d,0x61,0x70])](_0x31d317=>_0x31d317[_0x52585f([0x73,0x70,0x6c,0x69,0x74])](_0x52585f([0x2e])))[_0x52585f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3cb0a8=>_0x3cb0a8[_0x52585f([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2bd91a[_0x52585f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x52585f([0x6d,0x61,0x70])](_0x4a482b=>Array(_0x2bd91a[_0x52585f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4a482b[_0x52585f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x52585f([0x66,0x69,0x6c,0x6c])](_0x4a482b[0x0]===_0x52585f([0x2a])?_0x52585f([0x2a]):'')[_0x52585f([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4a482b))[_0x52585f([0x73,0x6f,0x6d,0x65])](_0x588bb5=>_0x2bd91a[_0x52585f([0x65,0x76,0x65,0x72,0x79])]((_0x197061,_0x1a3953)=>_0x588bb5[_0x1a3953]===_0x197061||_0x588bb5[_0x1a3953]===_0x52585f([0x2a])));}function _0x103ffc(){return _0x4c225b&&_0x501307?new window[(_0x52585f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x245d31,_0x34d47e)=>{_0x4c225b[_0x52585f([0x74,0x68,0x65,0x6e])](_0x245d31,_0x34d47e),_0x501307[_0x52585f([0x74,0x68,0x65,0x6e])](_0x16ad67=>{_0x16ad67!=_0x52585f([0x56,0x61,0x6c,0x69,0x64])&&_0x245d31(_0x16ad67);},_0x34d47e);}):_0x4c225b||_0x501307||_0x52585f([0x56,0x61,0x6c,0x69,0x64]);}}function _0xc51a38(_0x47fcb9,_0x2a6303){return new window[(_0x52585f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x52914a=>{if(_0x558d4e())return _0x52914a(_0x52585f([0x56,0x61,0x6c,0x69,0x64]));_0x5e958f(),_0x292a40[_0x52585f([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x52585f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1eefd1=!0x1;const _0x2b873a=_0x46d0df();function _0x9fc9f2(_0x12294c){return!!_0x12294c&&(typeof _0x12294c===_0x52585f([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x12294c===_0x52585f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x12294c[_0x52585f([0x74,0x68,0x65,0x6e])]===_0x52585f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x12294c[_0x52585f([0x63,0x61,0x74,0x63,0x68])]===_0x52585f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x50e1aa(_0x386ffa){_0x251ea7(_0x386ffa)[_0x52585f([0x74,0x68,0x65,0x6e])](_0x3c0a9b=>{if(!_0x3c0a9b||_0x3c0a9b[_0x52585f([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x52585f([0x6f,0x6b]))return _0x52585f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x54ef39(_0x4195ac(_0x2b873a+_0x2a6303))!=_0x3c0a9b[_0x52585f([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x52585f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x52585f([0x56,0x61,0x6c,0x69,0x64]);})[_0x52585f([0x74,0x68,0x65,0x6e])](_0x36249d=>(_0x47178d(),_0x36249d),()=>{const _0x4f110a=_0x18cefb();return null==_0x4f110a?(_0x47178d(),_0x52585f([0x56,0x61,0x6c,0x69,0x64])):_0x52585f(_0x254ab2-_0x4f110a>(0x619b6411^_0x42eefe)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x52585f([0x74,0x68,0x65,0x6e])](_0x52914a)[_0x52585f([0x63,0x61,0x74,0x63,0x68])](()=>{_0x52914a(_0x52585f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x165ea7=0x45a10e91^_0x42eefe;function _0x47178d(){const _0x289b90=_0x52585f([0x6c,0x6c,0x63,0x74,0x2d])+_0x54ef39(_0x4195ac(_0x47fcb9)),_0x138b2d=_0x2170fd(_0x54ef39(window[_0x52585f([0x4d,0x61,0x74,0x68])][_0x52585f([0x63,0x65,0x69,0x6c])](_0x254ab2/_0x165ea7)));window[_0x52585f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x52585f([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x289b90,_0x138b2d);}function _0x18cefb(){const _0x3684ff=_0x52585f([0x6c,0x6c,0x63,0x74,0x2d])+_0x54ef39(_0x4195ac(_0x47fcb9)),_0x41b6bb=window[_0x52585f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x52585f([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3684ff);return _0x41b6bb?window[_0x52585f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2170fd(_0x41b6bb),0x10)*_0x165ea7:null;}function _0x251ea7(_0x2626eb){return new window[(_0x52585f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x399687,_0x3eec9e)=>{_0x2626eb[_0x52585f([0x74,0x68,0x65,0x6e])](_0x399687,_0x3eec9e),window[_0x52585f([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3eec9e,0x459634d1^_0x42eefe);});}}_0x292a40[_0x52585f([0x6f,0x6e])](_0x52585f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3b9427,_0x4a555e)=>{if(_0x4a555e[0x0]!=_0x47fcb9)return _0x52914a(_0x52585f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4a555e[0x1]={..._0x4a555e[0x1],[_0x52585f([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2b873a};},{[_0x52585f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x52585f([0x68,0x69,0x67,0x68])}),_0x292a40[_0x52585f([0x6f,0x6e])](_0x52585f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x475f65=>{_0x9fc9f2(_0x475f65[_0x52585f([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1eefd1=!0x0,_0x50e1aa(_0x475f65[_0x52585f([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x52585f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x52585f([0x6c,0x6f,0x77])}),_0x270e91[_0x52585f([0x74,0x68,0x65,0x6e])](()=>{_0x1eefd1||_0x52914a(_0x52585f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x558d4e(){return _0x292a40[_0x52585f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x52585f([0x76,0x69,0x65,0x77])][_0x52585f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x52585f([0x61,0x75,0x74,0x6f]);}function _0x5e958f(){_0x292a40[_0x52585f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x52585f([0x76,0x69,0x65,0x77])][_0x52585f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x52585f([0x61,0x75,0x74,0x6f]);}}function _0x1f22a8(_0xcdf828){const _0x4105db=[new window[(_0x52585f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x40241f=>setTimeout(_0x40241f,0x459ededd^_0x42eefe)),_0x270e91[_0x52585f([0x74,0x68,0x65,0x6e])](()=>new window[(_0x52585f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x116d16=>{let _0x109d8c=0x0;_0x292a40[_0x52585f([0x6d,0x6f,0x64,0x65,0x6c])][_0x52585f([0x6f,0x6e])](_0x52585f([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x265ade,_0x40a3af)=>{_0x40a3af[0x0][_0x52585f([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x109d8c++,_0x109d8c==(0x4597e5f9^_0x42eefe)&&(_0x116d16(),_0x265ade[_0x52585f([0x6f,0x66,0x66])]());});}))];return window[_0x52585f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x52585f([0x72,0x61,0x63,0x65])](_0x4105db)[_0x52585f([0x74,0x68,0x65,0x6e])](()=>_0xcdf828);}async function _0x498ed5(){await _0x270e91,_0x292a40[_0x52585f([0x6d,0x6f,0x64,0x65,0x6c])][_0x52585f([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x29d8e1,_0x292a40[_0x52585f([0x6d,0x6f,0x64,0x65,0x6c])][_0x52585f([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x29d8e1,_0x292a40[_0x52585f([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x52585f([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x9a12c(){return window[_0x52585f([0x67,0x6c,0x6f,0x62])]&&window[_0x52585f([0x67,0x6c,0x6f,0x62])][_0x52585f([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x229de1(_0x51bd2a){const _0x58bbf1=_0x19de60();_0x292a40[_0x58bbf1]=_0x52585f([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x51bd2a,_0x51bd2a!=_0x52585f([0x56,0x61,0x6c,0x69,0x64])&&_0x498ed5();}function _0x19de60(){const _0xea1860=window[_0x52585f([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x52585f([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x52585f([0x6e,0x6f,0x77])]())[_0x52585f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x52585f([0x2e]),'');let _0x13d7e4=_0x52585f([0x51]);for(let _0x5f73c5=0x0;_0x5f73c5<_0xea1860[_0x52585f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5f73c5+=0x2){let _0x56a849=window[_0x52585f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xea1860[_0x52585f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5f73c5,_0x5f73c5+0x2));_0x56a849>=_0x3cf005[_0x52585f([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x56a849-=_0x3cf005[_0x52585f([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x13d7e4+=_0x3cf005[_0x56a849];}return _0x13d7e4;}function _0x24a333(){const _0x93c9ec=_0x18bb64[_0x52585f([0x73,0x70,0x6c,0x69,0x74])](_0x52585f([0x2e]));if(0x3!=_0x93c9ec[_0x52585f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1bfe3b(_0x93c9ec[0x1]);function _0x1bfe3b(_0x3a9d71){const _0x7b479f=_0x5b9711(_0x3a9d71);return _0x7b479f&&_0x19a5b2()?_0x7b479f:null;function _0x19a5b2(){const _0x37d0e9=_0x7b479f[_0x52585f([0x6a,0x74,0x69])],_0x64976b=window[_0x52585f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x37d0e9[_0x52585f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x37d0e9[_0x52585f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x47281b={..._0x7b479f,[_0x52585f([0x6a,0x74,0x69])]:_0x37d0e9[_0x52585f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x37d0e9[_0x52585f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x47281b[_0x52585f([0x76,0x63])],_0x4195ac(_0x47281b)==_0x64976b;}}}async function _0x2cfc7d(){let _0x2df4f6=!0x0;try{const _0x4a36ca=_0x18bb64[_0x52585f([0x73,0x70,0x6c,0x69,0x74])](_0x52585f([0x2e])),[_0x2bd8b8,_0x6cc3ff,_0x129cbc]=_0x4a36ca;return _0x3cfbcc(_0x2bd8b8),await _0x18fe4c(_0x2bd8b8,_0x6cc3ff,_0x129cbc),_0x2df4f6;}catch{return!0x1;}function _0x3cfbcc(_0xae3146){const _0xab09a=_0x5b9711(_0xae3146);_0xab09a&&_0xab09a[_0x52585f([0x61,0x6c,0x67])]==_0x52585f([0x45,0x53,0x32,0x35,0x36])||(_0x2df4f6=!0x1);}async function _0x18fe4c(_0x2051cc,_0x24f90c,_0x15a8eb){const _0x11b13b=window[_0x52585f([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x52585f([0x66,0x72,0x6f,0x6d])](_0x14c1ed(_0x15a8eb),_0x44708e=>_0x44708e[_0x52585f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x47f2d0=new window[(_0x52585f([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x52585f([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2051cc+_0x52585f([0x2e])+_0x24f90c),_0x41906d=window[_0x52585f([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x52585f([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x41906d)return;const _0x2e35d6=await _0x41906d[_0x52585f([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x52585f([0x6a,0x77,0x6b]),_0x342afb,{[_0x52585f([0x6e,0x61,0x6d,0x65])]:_0x52585f([0x45,0x43,0x44,0x53,0x41]),[_0x52585f([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x52585f([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x52585f([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x41906d[_0x52585f([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x52585f([0x6e,0x61,0x6d,0x65])]:_0x52585f([0x45,0x43,0x44,0x53,0x41]),[_0x52585f([0x68,0x61,0x73,0x68])]:{[_0x52585f([0x6e,0x61,0x6d,0x65])]:_0x52585f([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2e35d6,_0x11b13b,_0x47f2d0)||(_0x2df4f6=!0x1);}}function _0x5b9711(_0x2ca8a2){return _0x2ca8a2[_0x52585f([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x52585f([0x65,0x79]))?JSON[_0x52585f([0x70,0x61,0x72,0x73,0x65])](_0x14c1ed(_0x2ca8a2)):null;}function _0x14c1ed(_0x10f036){return window[_0x52585f([0x61,0x74,0x6f,0x62])](_0x10f036[_0x52585f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x52585f([0x2b]))[_0x52585f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x52585f([0x2f])));}function _0x4195ac(_0x44544e){let _0xaabf5a=0x1505;function _0x1cdb73(_0x5ac8a4){for(let _0x21b49c=0x0;_0x21b49c<_0x5ac8a4[_0x52585f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x21b49c++){const _0x564a2e=_0x5ac8a4[_0x52585f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x21b49c);_0xaabf5a=(_0xaabf5a<<0x5)+_0xaabf5a+_0x564a2e,_0xaabf5a&=_0xaabf5a;}}function _0x1eeaae(_0x2fc722){Array[_0x52585f([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2fc722)?_0x2fc722[_0x52585f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1eeaae):_0x2fc722&&typeof _0x2fc722==_0x52585f([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x52585f([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2fc722)[_0x52585f([0x73,0x6f,0x72,0x74])]()[_0x52585f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x40a31f,_0xaae19c])=>{_0x1cdb73(_0x40a31f),_0x1eeaae(_0xaae19c);}):_0x1cdb73(window[_0x52585f([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2fc722));}return _0x1eeaae(_0x44544e),_0xaabf5a>>>0x0;}function _0x54ef39(_0x448e1b){return _0x448e1b[_0x52585f([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x52585f([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x52585f([0x30]));}function _0x2170fd(_0x107cde){return _0x107cde[_0x52585f([0x73,0x70,0x6c,0x69,0x74])]('')[_0x52585f([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x52585f([0x6a,0x6f,0x69,0x6e])]('');}function _0x29d8e1(){}function _0x52585f(_0x83a5dc){return _0x83a5dc['map'](_0x1715c1=>String['fromCharCode'](_0x1715c1))['join']('');}_0x229de1(await _0x5b80c5());}(this);}['_toggleSpecialCursor'](_0x3b403b){this['editor']['editing']['view']['change'](_0x416046=>{for(const _0x5ed9fa of this['editor']['editing']['view']['document']['roots'])_0x3b403b?_0x416046['addClass'](g,_0x5ed9fa):_0x416046['removeClass'](g,_0x5ed9fa);});}['_copyFormatting'](){const {editor:_0x39ba32}=this;_0x39ba32['execute'](w),_0x39ba32['ui']['ariaLiveAnnouncer']['announce'](x(_0x39ba32['locale'],'Formatting\x20copied.'));}['_pasteFormatting'](){const {editor:_0x47b86b}=this,_0x256b95=_0x47b86b['commands']['get'](w)['value'];_0x47b86b['execute'](h,_0x256b95),_0x47b86b['ui']['ariaLiveAnnouncer']['announce'](x(_0x47b86b['locale'],'Pasted\x20formatting.'));}['_finishPainting'](){this['editor']['commands']['get'](w)['reset'](),this['stopListening'](_0x17373a['window']['document'],'mouseup');}}class L extends _0x57ec4b{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.0-alpha.
|
|
3
|
+
"version": "48.0.0-alpha.11",
|
|
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.0-alpha.
|
|
25
|
-
"@ckeditor/ckeditor5-engine": "48.0.0-alpha.
|
|
26
|
-
"@ckeditor/ckeditor5-icons": "48.0.0-alpha.
|
|
27
|
-
"@ckeditor/ckeditor5-remove-format": "48.0.0-alpha.
|
|
28
|
-
"@ckeditor/ckeditor5-ui": "48.0.0-alpha.
|
|
29
|
-
"@ckeditor/ckeditor5-utils": "48.0.0-alpha.
|
|
24
|
+
"@ckeditor/ckeditor5-core": "48.0.0-alpha.11",
|
|
25
|
+
"@ckeditor/ckeditor5-engine": "48.0.0-alpha.11",
|
|
26
|
+
"@ckeditor/ckeditor5-icons": "48.0.0-alpha.11",
|
|
27
|
+
"@ckeditor/ckeditor5-remove-format": "48.0.0-alpha.11",
|
|
28
|
+
"@ckeditor/ckeditor5-ui": "48.0.0-alpha.11",
|
|
29
|
+
"@ckeditor/ckeditor5-utils": "48.0.0-alpha.11"
|
|
30
30
|
},
|
|
31
31
|
"files": [
|
|
32
32
|
"dist",
|