@ckeditor/ckeditor5-format-painter 48.1.0-alpha.3 → 48.1.0-alpha.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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
|
-
_0x16bae4(_0x3a9e37){static get['pluginName'](){return'FormatPainterUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x316eb7=this['editor'];_0x316eb7['editing']['view']['addObserver'](_0x8ebd33),_0x316eb7['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':x(_0x316eb7['locale'],'Copy\x20text\x20formatting'),'keystroke':'Ctrl+Alt+C'},{'label':x(_0x316eb7['locale'],'Paste\x20text\x20formatting'),'keystroke':'Ctrl+Alt+V'}]}),_0x316eb7['ui']['componentFactory']['add']('formatPainter',_0x1e2288=>{const _0x38dc39=_0x1e193c(_0x1e2288,_0x570626),_0x284f0f=_0x316eb7['commands']['get'](w);_0x38dc39['buttonView']['set']({'label':x(_0x316eb7['locale'],'Paint\x20formatting'),'icon':_0x332d49,'keystroke':'Ctrl+Alt+C','tooltip':!0x0}),_0x38dc39['class']='ck-format-painter-dropdown',_0x284f0f&&(_0x38dc39['bind']('isEnabled')['to'](_0x284f0f,'isEnabled'),this['listenTo'](_0x284f0f,'change:isEnabled',(_0x167de7,_0x63205c,_0xb08e09)=>{_0xb08e09||this['_finishPainting']();}),_0x38dc39['buttonView']['bind']('isOn')['to'](_0x284f0f,'value',_0x347b97=>!!_0x347b97),this['listenTo'](_0x316eb7,'destroy',()=>this['_toggleSpecialCursor'](!0x1)),this['listenTo'](_0x284f0f,'change:value',(_0x1a13e9,_0x2b8991,_0x2af5be)=>{this['_toggleSpecialCursor'](!!_0x2af5be);}));const _0x26bf9d=new _0x483af2({'withText':!0x0,'label':x(_0x316eb7['locale'],'Continuous\x20painting'),'tooltip':x(_0x316eb7['locale'],'Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.'),'isOn':!0x1,'role':'menuitemcheckbox'});_0x7cb4a3(_0x38dc39,new _0x2b1688([{'type':'switchbutton','model':_0x26bf9d}]),{'role':'menu'});const _0x2e62e7=()=>{this['_copyFormatting'](),this['listenTo'](_0x5a13ad['window']['document'],'mouseup',()=>{this['_pasteFormatting'](),_0x26bf9d['isOn']||this['_finishPainting']();});};return this['listenTo'](_0x38dc39,'execute',()=>{_0x26bf9d['isOn']=!_0x26bf9d['isOn'];}),this['listenTo'](_0x38dc39['buttonView'],'execute',()=>{_0x316eb7['editing']['view']['focus'](),_0x38dc39['buttonView']['isOn']?this['_finishPainting']():_0x2e62e7();}),_0x316eb7['keystrokes']['set']('Ctrl+Alt+C',(_0x43edfb,_0x2c7959)=>{_0x2e62e7(),_0x26bf9d['isOn']=!0x0,_0x2c7959();},{'priority':'high'}),_0x316eb7['keystrokes']['set']('Ctrl+Alt+V',(_0xc25b8c,_0x112489)=>{_0x38dc39['buttonView']['isOn']&&(this['_pasteFormatting'](),_0x26bf9d['isOn']||this['_finishPainting'](),_0x112489());},{'priority':'high'}),_0x316eb7['keystrokes']['set']('Esc',(_0x55754f,_0x301dc5)=>{_0x38dc39['buttonView']['isOn']&&(_0x26bf9d['isOn']=!0x1,this['_finishPainting'](),_0x316eb7['ui']['ariaLiveAnnouncer']['announce'](x(_0x316eb7['locale'],'Painting\x20cancelled.')),_0x301dc5());}),_0x38dc39;});}['afterInit'](){!async function(_0x23b3bf){const _0x399db7=_0x3a467f([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]),_0x313657=0x4597e011,_0x1d85bf=0x45906981^_0x313657,_0x5c1995=window[_0x3a467f([0x44,0x61,0x74,0x65])][_0x3a467f([0x6e,0x6f,0x77])](),_0xca09b3=_0x23b3bf[_0x3a467f([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2b9cfb=new window[(_0x3a467f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x194013=>{_0xca09b3[_0x3a467f([0x6f,0x6e,0x63,0x65])](_0x3a467f([0x72,0x65,0x61,0x64,0x79]),_0x194013);}),_0x52de1d={[_0x3a467f([0x6b,0x74,0x79])]:_0x3a467f([0x45,0x43]),[_0x3a467f([0x75,0x73,0x65])]:_0x3a467f([0x73,0x69,0x67]),[_0x3a467f([0x63,0x72,0x76])]:_0x3a467f([0x50,0x2d,0x32,0x35,0x36]),[_0x3a467f([0x78])]:_0x3a467f([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]),[_0x3a467f([0x79])]:_0x3a467f([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]),[_0x3a467f([0x61,0x6c,0x67])]:_0x3a467f([0x45,0x53,0x32,0x35,0x36])},_0x408802=_0xca09b3[_0x3a467f([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3a467f([0x67,0x65,0x74])](_0x3a467f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x293702(){let _0x1fddf8,_0x567dd3=null,_0x11215a=null;try{if(_0x408802==_0x3a467f([0x47,0x50,0x4c]))return _0x3a467f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1fddf8=_0x15a1a6(),!_0x1fddf8)return _0x3a467f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1fddf8[_0x3a467f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x11215a=_0x198bf8(_0x1fddf8[_0x3a467f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1fddf8[_0x3a467f([0x6a,0x74,0x69])])),await _0x506614()?_0x37b21c()?_0x1744cf()?_0x3a467f([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x759e5f()?(_0x1fddf8[_0x3a467f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3a467f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x567dd3=_0x4833e6(_0x3a467f([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2f1e14()):_0x3a467f([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3a467f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3a467f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3a467f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1744cf(){const _0x3ad4e8=[_0x3a467f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3a467f([0x74,0x72,0x69,0x61,0x6c])][_0x3a467f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1fddf8[_0x3a467f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5c1995/0x3e8:0xe10*_0x1d85bf;return _0x1fddf8[_0x3a467f([0x65,0x78,0x70])]<_0x3ad4e8;}function _0x37b21c(){const _0x1104df=_0x1fddf8[_0x3a467f([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1104df&&(!!_0x1104df[_0x3a467f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a467f([0x2a]))||(!!_0x1104df[_0x3a467f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a467f([0x46,0x50]))||(!!_0x1104df[_0x3a467f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a467f([0x50,0x50]))||!(!_0x1104df[_0x3a467f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a467f([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x293172()))));}function _0x759e5f(){const _0x22d300=_0x1fddf8[_0x3a467f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x22d300||0x0==_0x22d300[_0x3a467f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2fba19}=new URL(window[_0x3a467f([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x22d300[_0x3a467f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2fba19))return!0x0;const _0x251fab=_0x2fba19[_0x3a467f([0x73,0x70,0x6c,0x69,0x74])](_0x3a467f([0x2e]));return _0x22d300[_0x3a467f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x544fbb=>_0x544fbb[_0x3a467f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a467f([0x2a])))[_0x3a467f([0x6d,0x61,0x70])](_0x4e3b29=>_0x4e3b29[_0x3a467f([0x73,0x70,0x6c,0x69,0x74])](_0x3a467f([0x2e])))[_0x3a467f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x53cfac=>_0x53cfac[_0x3a467f([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x251fab[_0x3a467f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3a467f([0x6d,0x61,0x70])](_0x3de9e2=>Array(_0x251fab[_0x3a467f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3de9e2[_0x3a467f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3a467f([0x66,0x69,0x6c,0x6c])](_0x3de9e2[0x0]===_0x3a467f([0x2a])?_0x3a467f([0x2a]):'')[_0x3a467f([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3de9e2))[_0x3a467f([0x73,0x6f,0x6d,0x65])](_0x3edebd=>_0x251fab[_0x3a467f([0x65,0x76,0x65,0x72,0x79])]((_0x293ef0,_0x3ebc7e)=>_0x3edebd[_0x3ebc7e]===_0x293ef0||_0x3edebd[_0x3ebc7e]===_0x3a467f([0x2a])));}function _0x2f1e14(){return _0x567dd3&&_0x11215a?new window[(_0x3a467f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5486c3,_0x50551c)=>{_0x567dd3[_0x3a467f([0x74,0x68,0x65,0x6e])](_0x5486c3,_0x50551c),_0x11215a[_0x3a467f([0x74,0x68,0x65,0x6e])](_0x2db34b=>{_0x2db34b!=_0x3a467f([0x56,0x61,0x6c,0x69,0x64])&&_0x5486c3(_0x2db34b);},_0x50551c);}):_0x567dd3||_0x11215a||_0x3a467f([0x56,0x61,0x6c,0x69,0x64]);}}function _0x198bf8(_0x54900e,_0x3bb575){return new window[(_0x3a467f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5602df=>{if(_0xf7fc66())return _0x5602df(_0x3a467f([0x56,0x61,0x6c,0x69,0x64]));_0x1b1d93(),_0xca09b3[_0x3a467f([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3a467f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5b3ab1=!0x1;const _0xa70db3=_0x2197a1();function _0x2b9497(_0x4078eb){return!!_0x4078eb&&(typeof _0x4078eb===_0x3a467f([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4078eb===_0x3a467f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4078eb[_0x3a467f([0x74,0x68,0x65,0x6e])]===_0x3a467f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4078eb[_0x3a467f([0x63,0x61,0x74,0x63,0x68])]===_0x3a467f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x257a4d(_0x2c0342){_0x101e27(_0x2c0342)[_0x3a467f([0x74,0x68,0x65,0x6e])](_0x563f7c=>{if(!_0x563f7c||_0x563f7c[_0x3a467f([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3a467f([0x6f,0x6b]))return _0x3a467f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x13fc29(_0x27844d(_0xa70db3+_0x3bb575))!=_0x563f7c[_0x3a467f([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3a467f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3a467f([0x56,0x61,0x6c,0x69,0x64]);})[_0x3a467f([0x74,0x68,0x65,0x6e])](_0x307c54=>(_0x32a440(),_0x307c54),()=>{const _0x69215d=_0x1f84ef();return null==_0x69215d?(_0x32a440(),_0x3a467f([0x56,0x61,0x6c,0x69,0x64])):_0x3a467f(_0x5c1995-_0x69215d>(0x619b6411^_0x313657)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3a467f([0x74,0x68,0x65,0x6e])](_0x5602df)[_0x3a467f([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5602df(_0x3a467f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5813a5=0x45a10e91^_0x313657;function _0x32a440(){const _0x136958=_0x3a467f([0x6c,0x6c,0x63,0x74,0x2d])+_0x13fc29(_0x27844d(_0x54900e)),_0x48c3f5=_0x159767(_0x13fc29(window[_0x3a467f([0x4d,0x61,0x74,0x68])][_0x3a467f([0x63,0x65,0x69,0x6c])](_0x5c1995/_0x5813a5)));window[_0x3a467f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3a467f([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x136958,_0x48c3f5);}function _0x1f84ef(){const _0x2142f7=_0x3a467f([0x6c,0x6c,0x63,0x74,0x2d])+_0x13fc29(_0x27844d(_0x54900e)),_0x1ae630=window[_0x3a467f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3a467f([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2142f7);return _0x1ae630?window[_0x3a467f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x159767(_0x1ae630),0x10)*_0x5813a5:null;}function _0x101e27(_0x1b5d9f){return new window[(_0x3a467f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x243395,_0x3eadd5)=>{_0x1b5d9f[_0x3a467f([0x74,0x68,0x65,0x6e])](_0x243395,_0x3eadd5),window[_0x3a467f([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3eadd5,0x459634d1^_0x313657);});}}_0xca09b3[_0x3a467f([0x6f,0x6e])](_0x3a467f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3f7b02,_0x280da3)=>{if(_0x280da3[0x0]!=_0x54900e)return _0x5602df(_0x3a467f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x280da3[0x1]={..._0x280da3[0x1],[_0x3a467f([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xa70db3};},{[_0x3a467f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3a467f([0x68,0x69,0x67,0x68])}),_0xca09b3[_0x3a467f([0x6f,0x6e])](_0x3a467f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1b6271=>{_0x2b9497(_0x1b6271[_0x3a467f([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5b3ab1=!0x0,_0x257a4d(_0x1b6271[_0x3a467f([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3a467f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3a467f([0x6c,0x6f,0x77])}),_0x2b9cfb[_0x3a467f([0x74,0x68,0x65,0x6e])](()=>{_0x5b3ab1||_0x5602df(_0x3a467f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xf7fc66(){return _0xca09b3[_0x3a467f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3a467f([0x76,0x69,0x65,0x77])][_0x3a467f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3a467f([0x61,0x75,0x74,0x6f]);}function _0x1b1d93(){_0xca09b3[_0x3a467f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3a467f([0x76,0x69,0x65,0x77])][_0x3a467f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3a467f([0x61,0x75,0x74,0x6f]);}}function _0x4833e6(_0xfb9302){const _0x42981d=[new window[(_0x3a467f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2a691b=>setTimeout(_0x2a691b,0x459ededd^_0x313657)),_0x2b9cfb[_0x3a467f([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3a467f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x17a6d4=>{let _0x110177=0x0;_0xca09b3[_0x3a467f([0x6d,0x6f,0x64,0x65,0x6c])][_0x3a467f([0x6f,0x6e])](_0x3a467f([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x550e43,_0x1c4e26)=>{_0x1c4e26[0x0][_0x3a467f([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x110177++,_0x110177==(0x4597e5f9^_0x313657)&&(_0x17a6d4(),_0x550e43[_0x3a467f([0x6f,0x66,0x66])]());});}))];return window[_0x3a467f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3a467f([0x72,0x61,0x63,0x65])](_0x42981d)[_0x3a467f([0x74,0x68,0x65,0x6e])](()=>_0xfb9302);}async function _0x2392a0(){await _0x2b9cfb,_0xca09b3[_0x3a467f([0x6d,0x6f,0x64,0x65,0x6c])][_0x3a467f([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xc611c4,_0xca09b3[_0x3a467f([0x6d,0x6f,0x64,0x65,0x6c])][_0x3a467f([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xc611c4,_0xca09b3[_0x3a467f([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3a467f([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x293172(){return window[_0x3a467f([0x67,0x6c,0x6f,0x62])]&&window[_0x3a467f([0x67,0x6c,0x6f,0x62])][_0x3a467f([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0xa528a9(_0x179281){const _0x536d29=_0x329831();_0xca09b3[_0x536d29]=_0x3a467f([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x179281,_0x179281!=_0x3a467f([0x56,0x61,0x6c,0x69,0x64])&&_0x2392a0();}function _0x329831(){const _0x17929f=window[_0x3a467f([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3a467f([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3a467f([0x6e,0x6f,0x77])]())[_0x3a467f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3a467f([0x2e]),'');let _0x54213b=_0x3a467f([0x51]);for(let _0x2db796=0x0;_0x2db796<_0x17929f[_0x3a467f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2db796+=0x2){let _0x26fdd5=window[_0x3a467f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x17929f[_0x3a467f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2db796,_0x2db796+0x2));_0x26fdd5>=_0x399db7[_0x3a467f([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x26fdd5-=_0x399db7[_0x3a467f([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x54213b+=_0x399db7[_0x26fdd5];}return _0x54213b;}function _0x15a1a6(){const _0x44227f=_0x408802[_0x3a467f([0x73,0x70,0x6c,0x69,0x74])](_0x3a467f([0x2e]));if(0x3!=_0x44227f[_0x3a467f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x83bf9(_0x44227f[0x1]);function _0x83bf9(_0x27bb71){const _0x2dc042=_0x4bdf0b(_0x27bb71);return _0x2dc042&&_0x355863()?_0x2dc042:null;function _0x355863(){const _0x5cf34d=_0x2dc042[_0x3a467f([0x6a,0x74,0x69])],_0x46129a=window[_0x3a467f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5cf34d[_0x3a467f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5cf34d[_0x3a467f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x50de18={..._0x2dc042,[_0x3a467f([0x6a,0x74,0x69])]:_0x5cf34d[_0x3a467f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5cf34d[_0x3a467f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x50de18[_0x3a467f([0x76,0x63])],_0x27844d(_0x50de18)==_0x46129a;}}}async function _0x506614(){let _0x10b93a=!0x0;try{const _0x17de84=_0x408802[_0x3a467f([0x73,0x70,0x6c,0x69,0x74])](_0x3a467f([0x2e])),[_0x2645d9,_0x4c6a2c,_0x10657b]=_0x17de84;return _0x467e92(_0x2645d9),await _0x17937c(_0x2645d9,_0x4c6a2c,_0x10657b),_0x10b93a;}catch{return!0x1;}function _0x467e92(_0x3003b4){const _0x34a99c=_0x4bdf0b(_0x3003b4);_0x34a99c&&_0x34a99c[_0x3a467f([0x61,0x6c,0x67])]==_0x3a467f([0x45,0x53,0x32,0x35,0x36])||(_0x10b93a=!0x1);}async function _0x17937c(_0x9073bc,_0x31ad0f,_0x5cfd4f){const _0x80a1ad=window[_0x3a467f([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3a467f([0x66,0x72,0x6f,0x6d])](_0x40e3ce(_0x5cfd4f),_0x5c3a06=>_0x5c3a06[_0x3a467f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1a664c=new window[(_0x3a467f([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3a467f([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x9073bc+_0x3a467f([0x2e])+_0x31ad0f),_0x1d1b75=window[_0x3a467f([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3a467f([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1d1b75)return;const _0x376bc6=await _0x1d1b75[_0x3a467f([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3a467f([0x6a,0x77,0x6b]),_0x52de1d,{[_0x3a467f([0x6e,0x61,0x6d,0x65])]:_0x3a467f([0x45,0x43,0x44,0x53,0x41]),[_0x3a467f([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3a467f([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3a467f([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1d1b75[_0x3a467f([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3a467f([0x6e,0x61,0x6d,0x65])]:_0x3a467f([0x45,0x43,0x44,0x53,0x41]),[_0x3a467f([0x68,0x61,0x73,0x68])]:{[_0x3a467f([0x6e,0x61,0x6d,0x65])]:_0x3a467f([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x376bc6,_0x80a1ad,_0x1a664c)||(_0x10b93a=!0x1);}}function _0x4bdf0b(_0x2c1bf1){return _0x2c1bf1[_0x3a467f([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3a467f([0x65,0x79]))?JSON[_0x3a467f([0x70,0x61,0x72,0x73,0x65])](_0x40e3ce(_0x2c1bf1)):null;}function _0x40e3ce(_0x379840){return window[_0x3a467f([0x61,0x74,0x6f,0x62])](_0x379840[_0x3a467f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3a467f([0x2b]))[_0x3a467f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3a467f([0x2f])));}function _0x27844d(_0x17327e){let _0x3dd792=0x1505;function _0x400acf(_0x53f0c1){for(let _0x34673a=0x0;_0x34673a<_0x53f0c1[_0x3a467f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x34673a++){const _0x5be5c1=_0x53f0c1[_0x3a467f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x34673a);_0x3dd792=(_0x3dd792<<0x5)+_0x3dd792+_0x5be5c1,_0x3dd792&=_0x3dd792;}}function _0x13f7f4(_0x13e840){Array[_0x3a467f([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x13e840)?_0x13e840[_0x3a467f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x13f7f4):_0x13e840&&typeof _0x13e840==_0x3a467f([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3a467f([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x13e840)[_0x3a467f([0x73,0x6f,0x72,0x74])]()[_0x3a467f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xc25548,_0x381e85])=>{_0x400acf(_0xc25548),_0x13f7f4(_0x381e85);}):_0x400acf(window[_0x3a467f([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x13e840));}return _0x13f7f4(_0x17327e),_0x3dd792>>>0x0;}function _0x13fc29(_0x5c427e){return _0x5c427e[_0x3a467f([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3a467f([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3a467f([0x30]));}function _0x159767(_0x14e4e4){return _0x14e4e4[_0x3a467f([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3a467f([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3a467f([0x6a,0x6f,0x69,0x6e])]('');}function _0xc611c4(){}function _0x3a467f(_0x2da7fd){return _0x2da7fd['map'](_0x24def4=>String['fromCharCode'](_0x24def4))['join']('');}_0xa528a9(await _0x293702());}(this);}['_toggleSpecialCursor'](_0x72f95){this['editor']['editing']['view']['change'](_0x315334=>{for(const _0x3a7bd5 of this['editor']['editing']['view']['document']['roots'])_0x72f95?_0x315334['addClass'](h,_0x3a7bd5):_0x315334['removeClass'](h,_0x3a7bd5);});}['_copyFormatting'](){const {editor:_0x36cf90}=this;_0x36cf90['execute'](w),_0x36cf90['ui']['ariaLiveAnnouncer']['announce'](x(_0x36cf90['locale'],'Formatting\x20copied.'));}['_pasteFormatting'](){const {editor:_0x18281c}=this,_0x4211bd=_0x18281c['commands']['get'](w)['value'];_0x18281c['execute'](g,_0x4211bd),_0x18281c['ui']['ariaLiveAnnouncer']['announce'](x(_0x18281c['locale'],'Pasted\x20formatting.'));}['_finishPainting'](){this['editor']['commands']['get'](w)['reset'](),this['stopListening'](_0x5a13ad['window']['document'],'mouseup');}}class L extends _0x3a9e37{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 _0x44d266,Plugin as _0x32d784}from'@ckeditor/ckeditor5-core/dist/index.js';import{RemoveFormatCommand as _0x1c2a4d}from'@ckeditor/ckeditor5-remove-format/dist/index.js';import{createDropdown as _0x5e38e5,SplitButtonView as _0x3fe7da,UIModel as _0x49eb1e,addListToDropdown as _0x514b44}from'@ckeditor/ckeditor5-ui/dist/index.js';import{DomEmitterMixin as _0x4e0ea7,Collection as _0x157e4b,global as _0x2f4601,uid as _0x13b3fe}from'@ckeditor/ckeditor5-utils/dist/index.js';import{ClickObserver as _0x3c45c9}from'@ckeditor/ckeditor5-engine/dist/index.js';import{IconPaintRoller as _0x307fe9}from'@ckeditor/ckeditor5-icons/dist/index.js';const w='copyFormat',g='pasteFormat',h='ck-format-painter-active';class p extends _0x44d266{constructor(_0x24980b){super(_0x24980b),this['value']=void 0x0,this['on']('change:isEnabled',(_0x243c51,_0x2debc4,_0x501d4f)=>{_0x501d4f||this['reset']();}),this['on']('change:value',()=>_0x24980b['commands']['get'](g)['refresh']());}['execute'](){this['value']=this['_getFormattingAttributes']();}['reset'](){this['value']=void 0x0;}['_getFormattingAttributes'](){const _0x7bcd5f=this['editor']['model'],_0xb9f664=_0x7bcd5f['document']['selection'];return Object['fromEntries'](Array['from'](_0xb9f664['getAttributes']())['filter'](([_0x5322ed])=>_0x7bcd5f['schema']['getAttributeProperties'](_0x5322ed)['isFormatting']));}}class y extends _0x44d266{constructor(_0x41b3ab){super(_0x41b3ab),this['_removeFormatCommand']=new _0x1c2a4d(_0x41b3ab);}['execute'](_0x865534={}){const _0x5b460c=this['editor']['model'],_0x5bf57b=_0x5b460c['document']['selection'],_0x145c3a=Array['from'](_0x5bf57b['getRanges']()),_0x49b412=_0x5bf57b['isCollapsed']?[this['_createRangeOnEntireWord'](_0x5b460c,_0x5bf57b)]:_0x145c3a;_0x5b460c['change'](_0x599b30=>{_0x599b30['setSelection'](_0x49b412),this['_removeFormatCommand']['execute']();for(const _0x218bc4 in _0x865534)for(const _0x3f0ee9 of _0x5b460c['schema']['getValidRanges'](_0x49b412,_0x218bc4))_0x599b30['setAttribute'](_0x218bc4,_0x865534[_0x218bc4],_0x3f0ee9);_0x599b30['setSelection'](_0x145c3a);});}['_createRangeOnEntireWord'](_0x2f858e,_0x32288e){const _0x18a7cb=_0x2f858e['createSelection'](_0x32288e);_0x2f858e['modifySelection'](_0x18a7cb,{'unit':'word','direction':'backward'});const _0x1ac787=_0x18a7cb['getFirstPosition']();_0x2f858e['modifySelection'](_0x18a7cb,{'unit':'word','direction':'forward'});const _0xd27cb0=_0x18a7cb['getLastPosition']();return _0x2f858e['createRange'](_0x1ac787,_0xd27cb0);}}class P extends _0x32d784{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FormatPainterEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x1c3303=this['editor'];_0x1c3303['commands']['add'](w,new p(_0x1c3303)),_0x1c3303['commands']['add'](g,new y(_0x1c3303)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x326814=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x28ece9;for(const _0x818df7 in _0x326814){const _0x133af6=_0x818df7,_0x37346a=_0x326814[_0x133af6];if('formatPainterLicenseKeyValid'==_0x37346a||'formatPainterLicenseKeyInvalid'==_0x37346a||'formatPainterLicenseKeyExpired'==_0x37346a||'formatPainterLicenseKeyDomainLimit'==_0x37346a||'formatPainterLicenseKeyNotAllowed'==_0x37346a||'formatPainterLicenseKeyEvaluationLimit'==_0x37346a||'formatPainterLicenseKeyUsageLimit'==_0x37346a){delete _0x326814[_0x133af6],_0x28ece9=_0x37346a,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'formatPainterLicenseKeyInvalid'==_0x28ece9&&_0x326814['_showLicenseError']('invalid'),'formatPainterLicenseKeyExpired'==_0x28ece9&&_0x326814['_showLicenseError']('expired'),'formatPainterLicenseKeyDomainLimit'==_0x28ece9&&_0x326814['_showLicenseError']('domainLimit'),'formatPainterLicenseKeyNotAllowed'==_0x28ece9&&_0x326814['_showLicenseError']('featureNotAllowed','FormatPainter'),'formatPainterLicenseKeyEvaluationLimit'==_0x28ece9&&_0x326814['_showLicenseError']('evaluationLimit'),'formatPainterLicenseKeyUsageLimit'==_0x28ece9&&_0x326814['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x175e98,_0x4d7e85){const t=_0x175e98['t'];switch(_0x4d7e85){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 _0x4d7e85;}}class k extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x4e0ea7(_0x32d784){static get['pluginName'](){return'FormatPainterUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x29182c=this['editor'];_0x29182c['editing']['view']['addObserver'](_0x3c45c9),_0x29182c['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':x(_0x29182c['locale'],'Copy\x20text\x20formatting'),'keystroke':'Ctrl+Alt+C'},{'label':x(_0x29182c['locale'],'Paste\x20text\x20formatting'),'keystroke':'Ctrl+Alt+V'}]}),_0x29182c['ui']['componentFactory']['add']('formatPainter',_0x2b0017=>{const _0x18e932=_0x5e38e5(_0x2b0017,_0x3fe7da),_0x80e3bd=_0x29182c['commands']['get'](w);_0x18e932['buttonView']['set']({'label':x(_0x29182c['locale'],'Paint\x20formatting'),'icon':_0x307fe9,'keystroke':'Ctrl+Alt+C','tooltip':!0x0}),_0x18e932['class']='ck-format-painter-dropdown',_0x80e3bd&&(_0x18e932['bind']('isEnabled')['to'](_0x80e3bd,'isEnabled'),this['listenTo'](_0x80e3bd,'change:isEnabled',(_0x3114b7,_0xe6a973,_0x21524a)=>{_0x21524a||this['_finishPainting']();}),_0x18e932['buttonView']['bind']('isOn')['to'](_0x80e3bd,'value',_0x219432=>!!_0x219432),this['listenTo'](_0x29182c,'destroy',()=>this['_toggleSpecialCursor'](!0x1)),this['listenTo'](_0x80e3bd,'change:value',(_0x598361,_0x25cc77,_0x21baf2)=>{this['_toggleSpecialCursor'](!!_0x21baf2);}));const _0x20def8=new _0x49eb1e({'withText':!0x0,'label':x(_0x29182c['locale'],'Continuous\x20painting'),'tooltip':x(_0x29182c['locale'],'Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.'),'isOn':!0x1,'role':'menuitemcheckbox'});_0x514b44(_0x18e932,new _0x157e4b([{'type':'switchbutton','model':_0x20def8}]),{'role':'menu'});const _0x292eff=()=>{this['_copyFormatting'](),this['listenTo'](_0x2f4601['window']['document'],'mouseup',()=>{this['_pasteFormatting'](),_0x20def8['isOn']||this['_finishPainting']();});};return this['listenTo'](_0x18e932,'execute',()=>{_0x20def8['isOn']=!_0x20def8['isOn'];}),this['listenTo'](_0x18e932['buttonView'],'execute',()=>{_0x29182c['editing']['view']['focus'](),_0x18e932['buttonView']['isOn']?this['_finishPainting']():_0x292eff();}),_0x29182c['keystrokes']['set']('Ctrl+Alt+C',(_0x4185fc,_0x34a0de)=>{_0x292eff(),_0x20def8['isOn']=!0x0,_0x34a0de();},{'priority':'high'}),_0x29182c['keystrokes']['set']('Ctrl+Alt+V',(_0x39dfe4,_0x2e33f7)=>{_0x18e932['buttonView']['isOn']&&(this['_pasteFormatting'](),_0x20def8['isOn']||this['_finishPainting'](),_0x2e33f7());},{'priority':'high'}),_0x29182c['keystrokes']['set']('Esc',(_0xcb5a59,_0x15d3a3)=>{_0x18e932['buttonView']['isOn']&&(_0x20def8['isOn']=!0x1,this['_finishPainting'](),_0x29182c['ui']['ariaLiveAnnouncer']['announce'](x(_0x29182c['locale'],'Painting\x20cancelled.')),_0x15d3a3());}),_0x18e932;});}['afterInit'](){!async function(_0x55a4ea){const _0x202eea=_0x58adcb([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]),_0xc35e77=0x4597e011,_0x385760=0x459069d1^_0xc35e77,_0x284c97=window[_0x58adcb([0x44,0x61,0x74,0x65])][_0x58adcb([0x6e,0x6f,0x77])](),_0x413e20=_0x55a4ea[_0x58adcb([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3c0a37=new window[(_0x58adcb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x25288e=>{_0x413e20[_0x58adcb([0x6f,0x6e,0x63,0x65])](_0x58adcb([0x72,0x65,0x61,0x64,0x79]),_0x25288e);}),_0xc366e7={[_0x58adcb([0x6b,0x74,0x79])]:_0x58adcb([0x45,0x43]),[_0x58adcb([0x75,0x73,0x65])]:_0x58adcb([0x73,0x69,0x67]),[_0x58adcb([0x63,0x72,0x76])]:_0x58adcb([0x50,0x2d,0x32,0x35,0x36]),[_0x58adcb([0x78])]:_0x58adcb([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]),[_0x58adcb([0x79])]:_0x58adcb([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]),[_0x58adcb([0x61,0x6c,0x67])]:_0x58adcb([0x45,0x53,0x32,0x35,0x36])},_0x3f6253=_0x413e20[_0x58adcb([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x58adcb([0x67,0x65,0x74])](_0x58adcb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x451ad2(){let _0xec37f0,_0x41781e=null,_0x333428=null;try{if(_0x3f6253==_0x58adcb([0x47,0x50,0x4c]))return _0x58adcb([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xec37f0=_0x4835c4(),!_0xec37f0)return _0x58adcb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xec37f0[_0x58adcb([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x333428=_0x296d7c(_0xec37f0[_0x58adcb([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xec37f0[_0x58adcb([0x6a,0x74,0x69])])),await _0x366055()?_0x4222ad()?_0x40e2ab()?_0x58adcb([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5defde()?(_0xec37f0[_0x58adcb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x58adcb([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x41781e=_0x146e7c(_0x58adcb([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x149568()):_0x58adcb([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x58adcb([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x58adcb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x58adcb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x40e2ab(){const _0x32e36b=[_0x58adcb([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x58adcb([0x74,0x72,0x69,0x61,0x6c])][_0x58adcb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xec37f0[_0x58adcb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x284c97/0x3e8:0xe10*_0x385760;return _0xec37f0[_0x58adcb([0x65,0x78,0x70])]<_0x32e36b;}function _0x4222ad(){const _0x360aa2=_0xec37f0[_0x58adcb([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x360aa2&&(!!_0x360aa2[_0x58adcb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x58adcb([0x2a]))||(!!_0x360aa2[_0x58adcb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x58adcb([0x46,0x50]))||(!!_0x360aa2[_0x58adcb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x58adcb([0x50,0x50]))||!(!_0x360aa2[_0x58adcb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x58adcb([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x3ec4e6()))));}function _0x5defde(){const _0x3a415d=_0xec37f0[_0x58adcb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3a415d||0x0==_0x3a415d[_0x58adcb([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x20fa7a}=new URL(window[_0x58adcb([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3a415d[_0x58adcb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x20fa7a))return!0x0;const _0x4a90da=_0x20fa7a[_0x58adcb([0x73,0x70,0x6c,0x69,0x74])](_0x58adcb([0x2e]));return _0x3a415d[_0x58adcb([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x7f9aaf=>_0x7f9aaf[_0x58adcb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x58adcb([0x2a])))[_0x58adcb([0x6d,0x61,0x70])](_0x462a3e=>_0x462a3e[_0x58adcb([0x73,0x70,0x6c,0x69,0x74])](_0x58adcb([0x2e])))[_0x58adcb([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3d0643=>_0x3d0643[_0x58adcb([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4a90da[_0x58adcb([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x58adcb([0x6d,0x61,0x70])](_0x1ad170=>Array(_0x4a90da[_0x58adcb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1ad170[_0x58adcb([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x58adcb([0x66,0x69,0x6c,0x6c])](_0x1ad170[0x0]===_0x58adcb([0x2a])?_0x58adcb([0x2a]):'')[_0x58adcb([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1ad170))[_0x58adcb([0x73,0x6f,0x6d,0x65])](_0x1da268=>_0x4a90da[_0x58adcb([0x65,0x76,0x65,0x72,0x79])]((_0x303d3d,_0x82e6d3)=>_0x1da268[_0x82e6d3]===_0x303d3d||_0x1da268[_0x82e6d3]===_0x58adcb([0x2a])));}function _0x149568(){return _0x41781e&&_0x333428?new window[(_0x58adcb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4a6479,_0x233d38)=>{_0x41781e[_0x58adcb([0x74,0x68,0x65,0x6e])](_0x4a6479,_0x233d38),_0x333428[_0x58adcb([0x74,0x68,0x65,0x6e])](_0x228d48=>{_0x228d48!=_0x58adcb([0x56,0x61,0x6c,0x69,0x64])&&_0x4a6479(_0x228d48);},_0x233d38);}):_0x41781e||_0x333428||_0x58adcb([0x56,0x61,0x6c,0x69,0x64]);}}function _0x296d7c(_0x1c3ff0,_0x4cb115){return new window[(_0x58adcb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2a675e=>{if(_0x15939d())return _0x2a675e(_0x58adcb([0x56,0x61,0x6c,0x69,0x64]));_0x217e73(),_0x413e20[_0x58adcb([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x58adcb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xa27ffb=!0x1;const _0xc7eaca=_0x13b3fe();function _0x325782(_0x1faab3){return!!_0x1faab3&&(typeof _0x1faab3===_0x58adcb([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1faab3===_0x58adcb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1faab3[_0x58adcb([0x74,0x68,0x65,0x6e])]===_0x58adcb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1faab3[_0x58adcb([0x63,0x61,0x74,0x63,0x68])]===_0x58adcb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4c3dc7(_0x213259){_0x3d3ac0(_0x213259)[_0x58adcb([0x74,0x68,0x65,0x6e])](_0x5b5d21=>{if(!_0x5b5d21||_0x5b5d21[_0x58adcb([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x58adcb([0x6f,0x6b]))return _0x58adcb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x57827b(_0x155aa4(_0xc7eaca+_0x4cb115))!=_0x5b5d21[_0x58adcb([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x58adcb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x58adcb([0x56,0x61,0x6c,0x69,0x64]);})[_0x58adcb([0x74,0x68,0x65,0x6e])](_0x7b6c85=>(_0x163094(),_0x7b6c85),()=>{const _0x5b1397=_0xa54a1e();return null==_0x5b1397?(_0x163094(),_0x58adcb([0x56,0x61,0x6c,0x69,0x64])):_0x58adcb(_0x284c97-_0x5b1397>(0x619b6411^_0xc35e77)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x58adcb([0x74,0x68,0x65,0x6e])](_0x2a675e)[_0x58adcb([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2a675e(_0x58adcb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x278842=0x45a10e91^_0xc35e77;function _0x163094(){const _0xa754fc=_0x58adcb([0x6c,0x6c,0x63,0x74,0x2d])+_0x57827b(_0x155aa4(_0x1c3ff0)),_0x1aef3a=_0x424e73(_0x57827b(window[_0x58adcb([0x4d,0x61,0x74,0x68])][_0x58adcb([0x63,0x65,0x69,0x6c])](_0x284c97/_0x278842)));window[_0x58adcb([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x58adcb([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xa754fc,_0x1aef3a);}function _0xa54a1e(){const _0x5a5cbd=_0x58adcb([0x6c,0x6c,0x63,0x74,0x2d])+_0x57827b(_0x155aa4(_0x1c3ff0)),_0x238280=window[_0x58adcb([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x58adcb([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5a5cbd);return _0x238280?window[_0x58adcb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x424e73(_0x238280),0x10)*_0x278842:null;}function _0x3d3ac0(_0x1cc615){return new window[(_0x58adcb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x30f33d,_0x39c7f7)=>{_0x1cc615[_0x58adcb([0x74,0x68,0x65,0x6e])](_0x30f33d,_0x39c7f7),window[_0x58adcb([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x39c7f7,0x459634d1^_0xc35e77);});}}_0x413e20[_0x58adcb([0x6f,0x6e])](_0x58adcb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3a84ae,_0x50684c)=>{if(_0x50684c[0x0]!=_0x1c3ff0)return _0x2a675e(_0x58adcb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x50684c[0x1]={..._0x50684c[0x1],[_0x58adcb([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xc7eaca};},{[_0x58adcb([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x58adcb([0x68,0x69,0x67,0x68])}),_0x413e20[_0x58adcb([0x6f,0x6e])](_0x58adcb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4deeb9=>{_0x325782(_0x4deeb9[_0x58adcb([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xa27ffb=!0x0,_0x4c3dc7(_0x4deeb9[_0x58adcb([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x58adcb([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x58adcb([0x6c,0x6f,0x77])}),_0x3c0a37[_0x58adcb([0x74,0x68,0x65,0x6e])](()=>{_0xa27ffb||_0x2a675e(_0x58adcb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x15939d(){return _0x413e20[_0x58adcb([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x58adcb([0x76,0x69,0x65,0x77])][_0x58adcb([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x58adcb([0x61,0x75,0x74,0x6f]);}function _0x217e73(){_0x413e20[_0x58adcb([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x58adcb([0x76,0x69,0x65,0x77])][_0x58adcb([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x58adcb([0x61,0x75,0x74,0x6f]);}}function _0x146e7c(_0x1e6885){const _0x5ab181=[new window[(_0x58adcb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1efd3d=>setTimeout(_0x1efd3d,0x459ededd^_0xc35e77)),_0x3c0a37[_0x58adcb([0x74,0x68,0x65,0x6e])](()=>new window[(_0x58adcb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x429f0e=>{let _0x1fd5b7=0x0;_0x413e20[_0x58adcb([0x6d,0x6f,0x64,0x65,0x6c])][_0x58adcb([0x6f,0x6e])](_0x58adcb([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4f5001,_0x37b51d)=>{_0x37b51d[0x0][_0x58adcb([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1fd5b7++,_0x1fd5b7==(0x4597e5f9^_0xc35e77)&&(_0x429f0e(),_0x4f5001[_0x58adcb([0x6f,0x66,0x66])]());});}))];return window[_0x58adcb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x58adcb([0x72,0x61,0x63,0x65])](_0x5ab181)[_0x58adcb([0x74,0x68,0x65,0x6e])](()=>_0x1e6885);}async function _0xb14665(){await _0x3c0a37,_0x413e20[_0x58adcb([0x6d,0x6f,0x64,0x65,0x6c])][_0x58adcb([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x42766f,_0x413e20[_0x58adcb([0x6d,0x6f,0x64,0x65,0x6c])][_0x58adcb([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x42766f,_0x413e20[_0x58adcb([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x58adcb([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3ec4e6(){return window[_0x58adcb([0x67,0x6c,0x6f,0x62])]&&window[_0x58adcb([0x67,0x6c,0x6f,0x62])][_0x58adcb([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x43340e(_0x53ce07){const _0x1b4319=_0xac89e1();_0x413e20[_0x1b4319]=_0x58adcb([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x53ce07,_0x53ce07!=_0x58adcb([0x56,0x61,0x6c,0x69,0x64])&&_0xb14665();}function _0xac89e1(){const _0x1a376d=window[_0x58adcb([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x58adcb([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x58adcb([0x6e,0x6f,0x77])]())[_0x58adcb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x58adcb([0x2e]),'');let _0x528a46=_0x58adcb([0x51]);for(let _0x2d2772=0x0;_0x2d2772<_0x1a376d[_0x58adcb([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2d2772+=0x2){let _0x1e4a79=window[_0x58adcb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1a376d[_0x58adcb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2d2772,_0x2d2772+0x2));_0x1e4a79>=_0x202eea[_0x58adcb([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1e4a79-=_0x202eea[_0x58adcb([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x528a46+=_0x202eea[_0x1e4a79];}return _0x528a46;}function _0x4835c4(){const _0x305fd9=_0x3f6253[_0x58adcb([0x73,0x70,0x6c,0x69,0x74])](_0x58adcb([0x2e]));if(0x3!=_0x305fd9[_0x58adcb([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5497a4(_0x305fd9[0x1]);function _0x5497a4(_0x3deea3){const _0x26c76b=_0x1b4f92(_0x3deea3);return _0x26c76b&&_0x333651()?_0x26c76b:null;function _0x333651(){const _0x9bca6=_0x26c76b[_0x58adcb([0x6a,0x74,0x69])],_0x388477=window[_0x58adcb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x9bca6[_0x58adcb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x9bca6[_0x58adcb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2a24d9={..._0x26c76b,[_0x58adcb([0x6a,0x74,0x69])]:_0x9bca6[_0x58adcb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x9bca6[_0x58adcb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2a24d9[_0x58adcb([0x76,0x63])],_0x155aa4(_0x2a24d9)==_0x388477;}}}async function _0x366055(){let _0xcd917c=!0x0;try{const _0x37dcb4=_0x3f6253[_0x58adcb([0x73,0x70,0x6c,0x69,0x74])](_0x58adcb([0x2e])),[_0x2ef57a,_0x14b71f,_0x11c18d]=_0x37dcb4;return _0x58c190(_0x2ef57a),await _0xc35236(_0x2ef57a,_0x14b71f,_0x11c18d),_0xcd917c;}catch{return!0x1;}function _0x58c190(_0x28976b){const _0x20d223=_0x1b4f92(_0x28976b);_0x20d223&&_0x20d223[_0x58adcb([0x61,0x6c,0x67])]==_0x58adcb([0x45,0x53,0x32,0x35,0x36])||(_0xcd917c=!0x1);}async function _0xc35236(_0x2d6d10,_0x27ff16,_0xd9c56f){const _0x4ac171=window[_0x58adcb([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x58adcb([0x66,0x72,0x6f,0x6d])](_0xa2231f(_0xd9c56f),_0x5c75ec=>_0x5c75ec[_0x58adcb([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x12244e=new window[(_0x58adcb([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x58adcb([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2d6d10+_0x58adcb([0x2e])+_0x27ff16),_0x5d6e82=window[_0x58adcb([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x58adcb([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5d6e82)return;const _0x10e866=await _0x5d6e82[_0x58adcb([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x58adcb([0x6a,0x77,0x6b]),_0xc366e7,{[_0x58adcb([0x6e,0x61,0x6d,0x65])]:_0x58adcb([0x45,0x43,0x44,0x53,0x41]),[_0x58adcb([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x58adcb([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x58adcb([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5d6e82[_0x58adcb([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x58adcb([0x6e,0x61,0x6d,0x65])]:_0x58adcb([0x45,0x43,0x44,0x53,0x41]),[_0x58adcb([0x68,0x61,0x73,0x68])]:{[_0x58adcb([0x6e,0x61,0x6d,0x65])]:_0x58adcb([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x10e866,_0x4ac171,_0x12244e)||(_0xcd917c=!0x1);}}function _0x1b4f92(_0x5ee91d){return _0x5ee91d[_0x58adcb([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x58adcb([0x65,0x79]))?JSON[_0x58adcb([0x70,0x61,0x72,0x73,0x65])](_0xa2231f(_0x5ee91d)):null;}function _0xa2231f(_0x5efc00){return window[_0x58adcb([0x61,0x74,0x6f,0x62])](_0x5efc00[_0x58adcb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x58adcb([0x2b]))[_0x58adcb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x58adcb([0x2f])));}function _0x155aa4(_0x1384ed){let _0x214c6d=0x1505;function _0x2ef51f(_0x38c143){for(let _0x4d70c4=0x0;_0x4d70c4<_0x38c143[_0x58adcb([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4d70c4++){const _0x1059db=_0x38c143[_0x58adcb([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4d70c4);_0x214c6d=(_0x214c6d<<0x5)+_0x214c6d+_0x1059db,_0x214c6d&=_0x214c6d;}}function _0x12c1b5(_0x1e1ee4){Array[_0x58adcb([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1e1ee4)?_0x1e1ee4[_0x58adcb([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x12c1b5):_0x1e1ee4&&typeof _0x1e1ee4==_0x58adcb([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x58adcb([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1e1ee4)[_0x58adcb([0x73,0x6f,0x72,0x74])]()[_0x58adcb([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x35aa6d,_0x454742])=>{_0x2ef51f(_0x35aa6d),_0x12c1b5(_0x454742);}):_0x2ef51f(window[_0x58adcb([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1e1ee4));}return _0x12c1b5(_0x1384ed),_0x214c6d>>>0x0;}function _0x57827b(_0x1a0294){return _0x1a0294[_0x58adcb([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x58adcb([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x58adcb([0x30]));}function _0x424e73(_0x538d96){return _0x538d96[_0x58adcb([0x73,0x70,0x6c,0x69,0x74])]('')[_0x58adcb([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x58adcb([0x6a,0x6f,0x69,0x6e])]('');}function _0x42766f(){}function _0x58adcb(_0x960630){return _0x960630['map'](_0x12d7a0=>String['fromCharCode'](_0x12d7a0))['join']('');}_0x43340e(await _0x451ad2());}(this);}['_toggleSpecialCursor'](_0x39fa90){this['editor']['editing']['view']['change'](_0x428015=>{for(const _0x292bdd of this['editor']['editing']['view']['document']['roots'])_0x39fa90?_0x428015['addClass'](h,_0x292bdd):_0x428015['removeClass'](h,_0x292bdd);});}['_copyFormatting'](){const {editor:_0x57b96d}=this;_0x57b96d['execute'](w),_0x57b96d['ui']['ariaLiveAnnouncer']['announce'](x(_0x57b96d['locale'],'Formatting\x20copied.'));}['_pasteFormatting'](){const {editor:_0x1b187e}=this,_0x4d29ac=_0x1b187e['commands']['get'](w)['value'];_0x1b187e['execute'](g,_0x4d29ac),_0x1b187e['ui']['ariaLiveAnnouncer']['announce'](x(_0x1b187e['locale'],'Pasted\x20formatting.'));}['_finishPainting'](){this['editor']['commands']['get'](w)['reset'](),this['stopListening'](_0x2f4601['window']['document'],'mouseup');}}class L extends _0x32d784{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.1.0-alpha.
|
|
3
|
+
"version": "48.1.0-alpha.5",
|
|
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.1.0-alpha.
|
|
25
|
-
"@ckeditor/ckeditor5-engine": "48.1.0-alpha.
|
|
26
|
-
"@ckeditor/ckeditor5-icons": "48.1.0-alpha.
|
|
27
|
-
"@ckeditor/ckeditor5-remove-format": "48.1.0-alpha.
|
|
28
|
-
"@ckeditor/ckeditor5-ui": "48.1.0-alpha.
|
|
29
|
-
"@ckeditor/ckeditor5-utils": "48.1.0-alpha.
|
|
24
|
+
"@ckeditor/ckeditor5-core": "48.1.0-alpha.5",
|
|
25
|
+
"@ckeditor/ckeditor5-engine": "48.1.0-alpha.5",
|
|
26
|
+
"@ckeditor/ckeditor5-icons": "48.1.0-alpha.5",
|
|
27
|
+
"@ckeditor/ckeditor5-remove-format": "48.1.0-alpha.5",
|
|
28
|
+
"@ckeditor/ckeditor5-ui": "48.1.0-alpha.5",
|
|
29
|
+
"@ckeditor/ckeditor5-utils": "48.1.0-alpha.5"
|
|
30
30
|
},
|
|
31
31
|
"files": [
|
|
32
32
|
"dist",
|