@ckeditor/ckeditor5-format-painter 48.2.0-alpha.3 → 48.2.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
|
-
_0x2fd264(_0x42bd40){static get['pluginName'](){return'FormatPainterUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x270c1b=this['editor'];_0x270c1b['editing']['view']['addObserver'](_0x3103d0),_0x270c1b['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':p(_0x270c1b['locale'],'Copy\x20text\x20formatting'),'keystroke':'Ctrl+Alt+C'},{'label':p(_0x270c1b['locale'],'Paste\x20text\x20formatting'),'keystroke':'Ctrl+Alt+V'}]}),_0x270c1b['ui']['componentFactory']['add']('formatPainter',_0x39e5c5=>{const _0x429ec4=_0x271c9b(_0x39e5c5,_0x54805f),_0x1c6715=_0x270c1b['commands']['get'](w);_0x429ec4['buttonView']['set']({'label':p(_0x270c1b['locale'],'Paint\x20formatting'),'icon':_0x40c5a0,'keystroke':'Ctrl+Alt+C','tooltip':!0x0}),_0x429ec4['class']='ck-format-painter-dropdown',_0x1c6715&&(_0x429ec4['bind']('isEnabled')['to'](_0x1c6715,'isEnabled'),this['listenTo'](_0x1c6715,'change:isEnabled',(_0x1ac7fd,_0x150f3c,_0x3c6ade)=>{_0x3c6ade||this['_finishPainting']();}),_0x429ec4['buttonView']['bind']('isOn')['to'](_0x1c6715,'value',_0x4c1a45=>!!_0x4c1a45),this['listenTo'](_0x270c1b,'destroy',()=>this['_toggleSpecialCursor'](!0x1)),this['listenTo'](_0x1c6715,'change:value',(_0x5d2da3,_0x2dd996,_0x47dbab)=>{this['_toggleSpecialCursor'](!!_0x47dbab);}));const _0x4f406d=new _0x4a1d7({'withText':!0x0,'label':p(_0x270c1b['locale'],'Continuous\x20painting'),'tooltip':p(_0x270c1b['locale'],'Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.'),'isOn':!0x1,'role':'menuitemcheckbox'});_0x366e79(_0x429ec4,new _0x231fc6([{'type':'switchbutton','model':_0x4f406d}]),{'role':'menu'});const _0x3ca895=()=>{this['_copyFormatting'](),this['listenTo'](_0x2333d2['window']['document'],'mouseup',()=>{this['_pasteFormatting'](),_0x4f406d['isOn']||this['_finishPainting']();});};return this['listenTo'](_0x429ec4,'execute',()=>{_0x4f406d['isOn']=!_0x4f406d['isOn'];}),this['listenTo'](_0x429ec4['buttonView'],'execute',()=>{_0x270c1b['editing']['view']['focus'](),_0x429ec4['buttonView']['isOn']?this['_finishPainting']():_0x3ca895();}),_0x270c1b['keystrokes']['set']('Ctrl+Alt+C',(_0x33c89f,_0x46769a)=>{_0x3ca895(),_0x4f406d['isOn']=!0x0,_0x46769a();},{'priority':'high'}),_0x270c1b['keystrokes']['set']('Ctrl+Alt+V',(_0x54583a,_0x404023)=>{_0x429ec4['buttonView']['isOn']&&(this['_pasteFormatting'](),_0x4f406d['isOn']||this['_finishPainting'](),_0x404023());},{'priority':'high'}),_0x270c1b['keystrokes']['set']('Esc',(_0x419e57,_0x37f99c)=>{_0x429ec4['buttonView']['isOn']&&(_0x4f406d['isOn']=!0x1,this['_finishPainting'](),_0x270c1b['ui']['ariaLiveAnnouncer']['announce'](p(_0x270c1b['locale'],'Painting\x20cancelled.')),_0x37f99c());}),_0x429ec4;});}['afterInit'](){!async function(_0x50559f){const _0x521ebc=_0x35c7ed([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]),_0x103bcf=0x4597e011,_0x5d37fd=0x45906b99^_0x103bcf,_0x1824db=window[_0x35c7ed([0x44,0x61,0x74,0x65])][_0x35c7ed([0x6e,0x6f,0x77])](),_0x21b6f2=_0x50559f[_0x35c7ed([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x15f324=new window[(_0x35c7ed([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2d2284=>{_0x21b6f2[_0x35c7ed([0x6f,0x6e,0x63,0x65])](_0x35c7ed([0x72,0x65,0x61,0x64,0x79]),_0x2d2284);}),_0x2ce724={[_0x35c7ed([0x6b,0x74,0x79])]:_0x35c7ed([0x45,0x43]),[_0x35c7ed([0x75,0x73,0x65])]:_0x35c7ed([0x73,0x69,0x67]),[_0x35c7ed([0x63,0x72,0x76])]:_0x35c7ed([0x50,0x2d,0x32,0x35,0x36]),[_0x35c7ed([0x78])]:_0x35c7ed([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]),[_0x35c7ed([0x79])]:_0x35c7ed([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]),[_0x35c7ed([0x61,0x6c,0x67])]:_0x35c7ed([0x45,0x53,0x32,0x35,0x36])},_0xc45cc1=_0x21b6f2[_0x35c7ed([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x35c7ed([0x67,0x65,0x74])](_0x35c7ed([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x875a20(){let _0x1de169,_0x4d2998=null,_0x2f9cfd=null;try{if(_0xc45cc1==_0x35c7ed([0x47,0x50,0x4c]))return _0x35c7ed([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1de169=_0x344dc2(),!_0x1de169)return _0x35c7ed([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1de169[_0x35c7ed([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2f9cfd=_0x50ce4f(_0x1de169[_0x35c7ed([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1de169[_0x35c7ed([0x6a,0x74,0x69])])),await _0x497373()?_0x1477c1()?_0x989a4b()?_0x35c7ed([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x481ef6()?(_0x1de169[_0x35c7ed([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x35c7ed([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4d2998=_0x95d791(_0x35c7ed([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x421ea8()):_0x35c7ed([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x35c7ed([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x35c7ed([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x35c7ed([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x989a4b(){const _0x5c6e7e=[_0x35c7ed([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x35c7ed([0x74,0x72,0x69,0x61,0x6c])][_0x35c7ed([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1de169[_0x35c7ed([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1824db/0x3e8:0xe10*_0x5d37fd;return _0x1de169[_0x35c7ed([0x65,0x78,0x70])]<_0x5c6e7e;}function _0x1477c1(){const _0x981504=_0x1de169[_0x35c7ed([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x981504&&(!!_0x981504[_0x35c7ed([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x35c7ed([0x2a]))||(!!_0x981504[_0x35c7ed([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x35c7ed([0x46,0x50]))||(!!_0x981504[_0x35c7ed([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x35c7ed([0x50,0x50]))||!(!_0x981504[_0x35c7ed([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x35c7ed([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x19b723()))));}function _0x481ef6(){const _0x32a81d=_0x1de169[_0x35c7ed([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x32a81d||0x0==_0x32a81d[_0x35c7ed([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x31e4c5}=new URL(window[_0x35c7ed([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x32a81d[_0x35c7ed([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x31e4c5))return!0x0;const _0x3d45d5=_0x31e4c5[_0x35c7ed([0x73,0x70,0x6c,0x69,0x74])](_0x35c7ed([0x2e]));return _0x32a81d[_0x35c7ed([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x287b62=>_0x287b62[_0x35c7ed([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x35c7ed([0x2a])))[_0x35c7ed([0x6d,0x61,0x70])](_0x3ae47a=>_0x3ae47a[_0x35c7ed([0x73,0x70,0x6c,0x69,0x74])](_0x35c7ed([0x2e])))[_0x35c7ed([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2b9f35=>_0x2b9f35[_0x35c7ed([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3d45d5[_0x35c7ed([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x35c7ed([0x6d,0x61,0x70])](_0xf89c8c=>Array(_0x3d45d5[_0x35c7ed([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xf89c8c[_0x35c7ed([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x35c7ed([0x66,0x69,0x6c,0x6c])](_0xf89c8c[0x0]===_0x35c7ed([0x2a])?_0x35c7ed([0x2a]):'')[_0x35c7ed([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xf89c8c))[_0x35c7ed([0x73,0x6f,0x6d,0x65])](_0x1151f5=>_0x3d45d5[_0x35c7ed([0x65,0x76,0x65,0x72,0x79])]((_0x4d36c5,_0x256e2e)=>_0x1151f5[_0x256e2e]===_0x4d36c5||_0x1151f5[_0x256e2e]===_0x35c7ed([0x2a])));}function _0x421ea8(){return _0x4d2998&&_0x2f9cfd?new window[(_0x35c7ed([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x51060f,_0x83e74)=>{_0x4d2998[_0x35c7ed([0x74,0x68,0x65,0x6e])](_0x51060f,_0x83e74),_0x2f9cfd[_0x35c7ed([0x74,0x68,0x65,0x6e])](_0x3d7eea=>{_0x3d7eea!=_0x35c7ed([0x56,0x61,0x6c,0x69,0x64])&&_0x51060f(_0x3d7eea);},_0x83e74);}):_0x4d2998||_0x2f9cfd||_0x35c7ed([0x56,0x61,0x6c,0x69,0x64]);}}function _0x50ce4f(_0x1565f6,_0x3f5771){return new window[(_0x35c7ed([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3d65ae=>{if(_0x4af9d4())return _0x3d65ae(_0x35c7ed([0x56,0x61,0x6c,0x69,0x64]));_0x2ad9c6(),_0x21b6f2[_0x35c7ed([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x35c7ed([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3e9d7c=!0x1;const _0x1e6e49=_0x273b31();function _0x37af57(_0x64338d){return!!_0x64338d&&(typeof _0x64338d===_0x35c7ed([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x64338d===_0x35c7ed([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x64338d[_0x35c7ed([0x74,0x68,0x65,0x6e])]===_0x35c7ed([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x64338d[_0x35c7ed([0x63,0x61,0x74,0x63,0x68])]===_0x35c7ed([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x248de8(_0x248476){_0x591329(_0x248476)[_0x35c7ed([0x74,0x68,0x65,0x6e])](_0x526339=>{if(!_0x526339||_0x526339[_0x35c7ed([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x35c7ed([0x6f,0x6b]))return _0x35c7ed([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4111c1(_0x4e242b(_0x1e6e49+_0x3f5771))!=_0x526339[_0x35c7ed([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x35c7ed([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x35c7ed([0x56,0x61,0x6c,0x69,0x64]);})[_0x35c7ed([0x74,0x68,0x65,0x6e])](_0xd4b301=>(_0x51ae24(),_0xd4b301),()=>{const _0x14f2a4=_0x12564e();return null==_0x14f2a4?(_0x51ae24(),_0x35c7ed([0x56,0x61,0x6c,0x69,0x64])):_0x35c7ed(_0x1824db-_0x14f2a4>(0x619b6411^_0x103bcf)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x35c7ed([0x74,0x68,0x65,0x6e])](_0x3d65ae)[_0x35c7ed([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3d65ae(_0x35c7ed([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x29c7db=0x45a10e91^_0x103bcf;function _0x51ae24(){const _0x557b15=_0x35c7ed([0x6c,0x6c,0x63,0x74,0x2d])+_0x4111c1(_0x4e242b(_0x1565f6)),_0x10d15b=_0x216247(_0x4111c1(window[_0x35c7ed([0x4d,0x61,0x74,0x68])][_0x35c7ed([0x63,0x65,0x69,0x6c])](_0x1824db/_0x29c7db)));window[_0x35c7ed([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x35c7ed([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x557b15,_0x10d15b);}function _0x12564e(){const _0x375c4a=_0x35c7ed([0x6c,0x6c,0x63,0x74,0x2d])+_0x4111c1(_0x4e242b(_0x1565f6)),_0x5800d8=window[_0x35c7ed([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x35c7ed([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x375c4a);return _0x5800d8?window[_0x35c7ed([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x216247(_0x5800d8),0x10)*_0x29c7db:null;}function _0x591329(_0x44b8a1){return new window[(_0x35c7ed([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x332696,_0x16efe4)=>{_0x44b8a1[_0x35c7ed([0x74,0x68,0x65,0x6e])](_0x332696,_0x16efe4),window[_0x35c7ed([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x16efe4,0x459634d1^_0x103bcf);});}}_0x21b6f2[_0x35c7ed([0x6f,0x6e])](_0x35c7ed([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x15e560,_0x69fec1)=>{if(_0x69fec1[0x0]!=_0x1565f6)return _0x3d65ae(_0x35c7ed([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x69fec1[0x1]={..._0x69fec1[0x1],[_0x35c7ed([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1e6e49};},{[_0x35c7ed([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x35c7ed([0x68,0x69,0x67,0x68])}),_0x21b6f2[_0x35c7ed([0x6f,0x6e])](_0x35c7ed([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1c6e0a=>{_0x37af57(_0x1c6e0a[_0x35c7ed([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3e9d7c=!0x0,_0x248de8(_0x1c6e0a[_0x35c7ed([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x35c7ed([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x35c7ed([0x6c,0x6f,0x77])}),_0x15f324[_0x35c7ed([0x74,0x68,0x65,0x6e])](()=>{_0x3e9d7c||_0x3d65ae(_0x35c7ed([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4af9d4(){return _0x21b6f2[_0x35c7ed([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x35c7ed([0x76,0x69,0x65,0x77])][_0x35c7ed([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x35c7ed([0x61,0x75,0x74,0x6f]);}function _0x2ad9c6(){_0x21b6f2[_0x35c7ed([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x35c7ed([0x76,0x69,0x65,0x77])][_0x35c7ed([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x35c7ed([0x61,0x75,0x74,0x6f]);}}function _0x95d791(_0x5217fc){const _0x59546a=[new window[(_0x35c7ed([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x24a9b1=>setTimeout(_0x24a9b1,0x459ededd^_0x103bcf)),_0x15f324[_0x35c7ed([0x74,0x68,0x65,0x6e])](()=>new window[(_0x35c7ed([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x107d83=>{let _0x348dae=0x0;_0x21b6f2[_0x35c7ed([0x6d,0x6f,0x64,0x65,0x6c])][_0x35c7ed([0x6f,0x6e])](_0x35c7ed([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x566e52,_0x411794)=>{_0x411794[0x0][_0x35c7ed([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x348dae++,_0x348dae==(0x4597e5f9^_0x103bcf)&&(_0x107d83(),_0x566e52[_0x35c7ed([0x6f,0x66,0x66])]());});}))];return window[_0x35c7ed([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x35c7ed([0x72,0x61,0x63,0x65])](_0x59546a)[_0x35c7ed([0x74,0x68,0x65,0x6e])](()=>_0x5217fc);}async function _0x82ac85(){await _0x15f324,_0x21b6f2[_0x35c7ed([0x6d,0x6f,0x64,0x65,0x6c])][_0x35c7ed([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x26208c,_0x21b6f2[_0x35c7ed([0x6d,0x6f,0x64,0x65,0x6c])][_0x35c7ed([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x26208c,_0x21b6f2[_0x35c7ed([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x35c7ed([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x19b723(){return window[_0x35c7ed([0x67,0x6c,0x6f,0x62])]&&window[_0x35c7ed([0x67,0x6c,0x6f,0x62])][_0x35c7ed([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x1ba9bd(_0xb6b364){const _0x10dc02=_0x4408e1();_0x21b6f2[_0x10dc02]=_0x35c7ed([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xb6b364,_0xb6b364!=_0x35c7ed([0x56,0x61,0x6c,0x69,0x64])&&_0x82ac85();}function _0x4408e1(){const _0x4c6302=window[_0x35c7ed([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x35c7ed([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x35c7ed([0x6e,0x6f,0x77])]())[_0x35c7ed([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x35c7ed([0x2e]),'');let _0x1fbd08=_0x35c7ed([0x51]);for(let _0x59ea69=0x0;_0x59ea69<_0x4c6302[_0x35c7ed([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x59ea69+=0x2){let _0x3eb184=window[_0x35c7ed([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4c6302[_0x35c7ed([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x59ea69,_0x59ea69+0x2));_0x3eb184>=_0x521ebc[_0x35c7ed([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3eb184-=_0x521ebc[_0x35c7ed([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1fbd08+=_0x521ebc[_0x3eb184];}return _0x1fbd08;}function _0x344dc2(){const _0x38d5f0=_0xc45cc1[_0x35c7ed([0x73,0x70,0x6c,0x69,0x74])](_0x35c7ed([0x2e]));if(0x3!=_0x38d5f0[_0x35c7ed([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x141468(_0x38d5f0[0x1]);function _0x141468(_0x4cea15){const _0x30d9c3=_0x99204b(_0x4cea15);return _0x30d9c3&&_0x18f9b2()?_0x30d9c3:null;function _0x18f9b2(){const _0x2b0186=_0x30d9c3[_0x35c7ed([0x6a,0x74,0x69])],_0x2b07e2=window[_0x35c7ed([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2b0186[_0x35c7ed([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2b0186[_0x35c7ed([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x547acb={..._0x30d9c3,[_0x35c7ed([0x6a,0x74,0x69])]:_0x2b0186[_0x35c7ed([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2b0186[_0x35c7ed([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x547acb[_0x35c7ed([0x76,0x63])],_0x4e242b(_0x547acb)==_0x2b07e2;}}}async function _0x497373(){let _0x3abacd=!0x0;try{const _0x563df1=_0xc45cc1[_0x35c7ed([0x73,0x70,0x6c,0x69,0x74])](_0x35c7ed([0x2e])),[_0x22130e,_0x55acd4,_0x1e44c8]=_0x563df1;return _0x88493(_0x22130e),await _0x183d38(_0x22130e,_0x55acd4,_0x1e44c8),_0x3abacd;}catch{return!0x1;}function _0x88493(_0x309c78){const _0x4fa4f9=_0x99204b(_0x309c78);_0x4fa4f9&&_0x4fa4f9[_0x35c7ed([0x61,0x6c,0x67])]==_0x35c7ed([0x45,0x53,0x32,0x35,0x36])||(_0x3abacd=!0x1);}async function _0x183d38(_0x26f3d4,_0x108745,_0x4ef787){const _0x560449=window[_0x35c7ed([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x35c7ed([0x66,0x72,0x6f,0x6d])](_0x51a7fc(_0x4ef787),_0x50b1aa=>_0x50b1aa[_0x35c7ed([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1aebb0=new window[(_0x35c7ed([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x35c7ed([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x26f3d4+_0x35c7ed([0x2e])+_0x108745),_0xd0453c=window[_0x35c7ed([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x35c7ed([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xd0453c)return;const _0x5afa1b=await _0xd0453c[_0x35c7ed([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x35c7ed([0x6a,0x77,0x6b]),_0x2ce724,{[_0x35c7ed([0x6e,0x61,0x6d,0x65])]:_0x35c7ed([0x45,0x43,0x44,0x53,0x41]),[_0x35c7ed([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x35c7ed([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x35c7ed([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xd0453c[_0x35c7ed([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x35c7ed([0x6e,0x61,0x6d,0x65])]:_0x35c7ed([0x45,0x43,0x44,0x53,0x41]),[_0x35c7ed([0x68,0x61,0x73,0x68])]:{[_0x35c7ed([0x6e,0x61,0x6d,0x65])]:_0x35c7ed([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5afa1b,_0x560449,_0x1aebb0)||(_0x3abacd=!0x1);}}function _0x99204b(_0x32e5ce){return _0x32e5ce[_0x35c7ed([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x35c7ed([0x65,0x79]))?JSON[_0x35c7ed([0x70,0x61,0x72,0x73,0x65])](_0x51a7fc(_0x32e5ce)):null;}function _0x51a7fc(_0x3ff2b4){return window[_0x35c7ed([0x61,0x74,0x6f,0x62])](_0x3ff2b4[_0x35c7ed([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x35c7ed([0x2b]))[_0x35c7ed([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x35c7ed([0x2f])));}function _0x4e242b(_0x57895e){let _0x34fe9e=0x1505;function _0x4a649e(_0x3d5ef8){for(let _0x59b62c=0x0;_0x59b62c<_0x3d5ef8[_0x35c7ed([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x59b62c++){const _0x56298f=_0x3d5ef8[_0x35c7ed([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x59b62c);_0x34fe9e=(_0x34fe9e<<0x5)+_0x34fe9e+_0x56298f,_0x34fe9e&=_0x34fe9e;}}function _0x4e1213(_0x4f7b49){Array[_0x35c7ed([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4f7b49)?_0x4f7b49[_0x35c7ed([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4e1213):_0x4f7b49&&typeof _0x4f7b49==_0x35c7ed([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x35c7ed([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4f7b49)[_0x35c7ed([0x73,0x6f,0x72,0x74])]()[_0x35c7ed([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x314d07,_0x5a4354])=>{_0x4a649e(_0x314d07),_0x4e1213(_0x5a4354);}):_0x4a649e(window[_0x35c7ed([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4f7b49));}return _0x4e1213(_0x57895e),_0x34fe9e>>>0x0;}function _0x4111c1(_0x279cb7){return _0x279cb7[_0x35c7ed([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x35c7ed([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x35c7ed([0x30]));}function _0x216247(_0x113af5){return _0x113af5[_0x35c7ed([0x73,0x70,0x6c,0x69,0x74])]('')[_0x35c7ed([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x35c7ed([0x6a,0x6f,0x69,0x6e])]('');}function _0x26208c(){}function _0x35c7ed(_0x262da4){return _0x262da4['map'](_0x2d500a=>String['fromCharCode'](_0x2d500a))['join']('');}_0x1ba9bd(await _0x875a20());}(this);}['_toggleSpecialCursor'](_0x56c148){this['editor']['editing']['view']['change'](_0x1e7190=>{for(const _0x3fe25d of this['editor']['editing']['view']['document']['roots'])_0x56c148?_0x1e7190['addClass'](h,_0x3fe25d):_0x1e7190['removeClass'](h,_0x3fe25d);});}['_copyFormatting'](){const {editor:_0x5c1e26}=this;_0x5c1e26['execute'](w),_0x5c1e26['ui']['ariaLiveAnnouncer']['announce'](p(_0x5c1e26['locale'],'Formatting\x20copied.'));}['_pasteFormatting'](){const {editor:_0x446222}=this,_0x2fb851=_0x446222['commands']['get'](w)['value'];_0x446222['execute'](g,_0x2fb851),_0x446222['ui']['ariaLiveAnnouncer']['announce'](p(_0x446222['locale'],'Pasted\x20formatting.'));}['_finishPainting'](){this['editor']['commands']['get'](w)['reset'](),this['stopListening'](_0x2333d2['window']['document'],'mouseup');}}class FormatPainter extends _0x42bd40{static get['requires'](){return[FormatPainterEditing,FormatPainterUI];}static get['pluginName'](){return'FormatPainter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{CopyFormatCommand,FormatPainter,FormatPainterEditing,FormatPainterUI,PasteFormatCommand};
|
|
23
|
+
import{Command as _0x359f8f,Plugin as _0x35dc5e}from'@ckeditor/ckeditor5-core/dist/index.js';import{RemoveFormatCommand as _0x554778}from'@ckeditor/ckeditor5-remove-format/dist/index.js';import{createDropdown as _0x135f1a,SplitButtonView as _0x5afa08,UIModel as _0x145557,addListToDropdown as _0x5376f3}from'@ckeditor/ckeditor5-ui/dist/index.js';import{DomEmitterMixin as _0x49d667,Collection as _0x3ecfe4,global as _0x1d5ec0,uid as _0x3deacb}from'@ckeditor/ckeditor5-utils/dist/index.js';import{ClickObserver as _0x43b6cc}from'@ckeditor/ckeditor5-engine/dist/index.js';import{IconPaintRoller as _0x4d83c1}from'@ckeditor/ckeditor5-icons/dist/index.js';const w='copyFormat',g='pasteFormat',h='ck-format-painter-active';class CopyFormatCommand extends _0x359f8f{constructor(_0x3e4c6d){super(_0x3e4c6d),this['value']=void 0x0,this['on']('change:isEnabled',(_0x340f04,_0x23730e,_0x5b99fe)=>{_0x5b99fe||this['reset']();}),this['on']('change:value',()=>_0x3e4c6d['commands']['get'](g)['refresh']());}['execute'](){this['value']=this['_getFormattingAttributes']();}['reset'](){this['value']=void 0x0;}['_getFormattingAttributes'](){const _0xf1a9e3=this['editor']['model'],_0x40add3=_0xf1a9e3['document']['selection'];return Object['fromEntries'](Array['from'](_0x40add3['getAttributes']())['filter'](([_0x45615d])=>_0xf1a9e3['schema']['getAttributeProperties'](_0x45615d)['isFormatting']));}}class PasteFormatCommand extends _0x359f8f{constructor(_0x4d10c7){super(_0x4d10c7),this['_removeFormatCommand']=new _0x554778(_0x4d10c7);}['execute'](_0x184a0c={}){const _0x1d598d=this['editor']['model'],_0x2274c9=_0x1d598d['document']['selection'],_0x3b30cb=Array['from'](_0x2274c9['getRanges']()),_0x38c268=_0x2274c9['isCollapsed']?[this['_createRangeOnEntireWord'](_0x1d598d,_0x2274c9)]:_0x3b30cb;_0x1d598d['change'](_0xbc894c=>{_0xbc894c['setSelection'](_0x38c268),this['_removeFormatCommand']['execute']();for(const _0x9be762 in _0x184a0c)for(const _0xd502d9 of _0x1d598d['schema']['getValidRanges'](_0x38c268,_0x9be762))_0xbc894c['setAttribute'](_0x9be762,_0x184a0c[_0x9be762],_0xd502d9);_0xbc894c['setSelection'](_0x3b30cb);});}['_createRangeOnEntireWord'](_0x4a090b,_0x275f24){const _0x4ef263=_0x4a090b['createSelection'](_0x275f24);_0x4a090b['modifySelection'](_0x4ef263,{'unit':'word','direction':'backward'});const _0x55e080=_0x4ef263['getFirstPosition']();_0x4a090b['modifySelection'](_0x4ef263,{'unit':'word','direction':'forward'});const _0x1a5905=_0x4ef263['getLastPosition']();return _0x4a090b['createRange'](_0x55e080,_0x1a5905);}}class FormatPainterEditing extends _0x35dc5e{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FormatPainterEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x167f89=this['editor'];_0x167f89['commands']['add'](w,new CopyFormatCommand(_0x167f89)),_0x167f89['commands']['add'](g,new PasteFormatCommand(_0x167f89)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x5b41ab=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x5ad27a;for(const _0x1a8bb2 in _0x5b41ab){const _0x53cbcf=_0x1a8bb2,_0x3dab7a=_0x5b41ab[_0x53cbcf];if('formatPainterLicenseKeyValid'==_0x3dab7a||'formatPainterLicenseKeyInvalid'==_0x3dab7a||'formatPainterLicenseKeyExpired'==_0x3dab7a||'formatPainterLicenseKeyDomainLimit'==_0x3dab7a||'formatPainterLicenseKeyNotAllowed'==_0x3dab7a||'formatPainterLicenseKeyEvaluationLimit'==_0x3dab7a||'formatPainterLicenseKeyUsageLimit'==_0x3dab7a){delete _0x5b41ab[_0x53cbcf],_0x5ad27a=_0x3dab7a,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'formatPainterLicenseKeyInvalid'==_0x5ad27a&&_0x5b41ab['_showLicenseError']('invalid'),'formatPainterLicenseKeyExpired'==_0x5ad27a&&_0x5b41ab['_showLicenseError']('expired'),'formatPainterLicenseKeyDomainLimit'==_0x5ad27a&&_0x5b41ab['_showLicenseError']('domainLimit'),'formatPainterLicenseKeyNotAllowed'==_0x5ad27a&&_0x5b41ab['_showLicenseError']('featureNotAllowed','FormatPainter'),'formatPainterLicenseKeyEvaluationLimit'==_0x5ad27a&&_0x5b41ab['_showLicenseError']('evaluationLimit'),'formatPainterLicenseKeyUsageLimit'==_0x5ad27a&&_0x5b41ab['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function p(_0x46877e,_0x35dd18){const t=_0x46877e['t'];switch(_0x35dd18){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 _0x35dd18;}}class FormatPainterUI extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x49d667(_0x35dc5e){static get['pluginName'](){return'FormatPainterUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x4b069b=this['editor'];_0x4b069b['editing']['view']['addObserver'](_0x43b6cc),_0x4b069b['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':p(_0x4b069b['locale'],'Copy\x20text\x20formatting'),'keystroke':'Ctrl+Alt+C'},{'label':p(_0x4b069b['locale'],'Paste\x20text\x20formatting'),'keystroke':'Ctrl+Alt+V'}]}),_0x4b069b['ui']['componentFactory']['add']('formatPainter',_0x5d2af6=>{const _0x19b1cd=_0x135f1a(_0x5d2af6,_0x5afa08),_0x3fb409=_0x4b069b['commands']['get'](w);_0x19b1cd['buttonView']['set']({'label':p(_0x4b069b['locale'],'Paint\x20formatting'),'icon':_0x4d83c1,'keystroke':'Ctrl+Alt+C','tooltip':!0x0}),_0x19b1cd['class']='ck-format-painter-dropdown',_0x3fb409&&(_0x19b1cd['bind']('isEnabled')['to'](_0x3fb409,'isEnabled'),this['listenTo'](_0x3fb409,'change:isEnabled',(_0x1bdfdc,_0x94a4d3,_0x75afcb)=>{_0x75afcb||this['_finishPainting']();}),_0x19b1cd['buttonView']['bind']('isOn')['to'](_0x3fb409,'value',_0x45bba7=>!!_0x45bba7),this['listenTo'](_0x4b069b,'destroy',()=>this['_toggleSpecialCursor'](!0x1)),this['listenTo'](_0x3fb409,'change:value',(_0x4be49a,_0x3778ad,_0x13e452)=>{this['_toggleSpecialCursor'](!!_0x13e452);}));const _0x5865bf=new _0x145557({'withText':!0x0,'label':p(_0x4b069b['locale'],'Continuous\x20painting'),'tooltip':p(_0x4b069b['locale'],'Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.'),'isOn':!0x1,'role':'menuitemcheckbox'});_0x5376f3(_0x19b1cd,new _0x3ecfe4([{'type':'switchbutton','model':_0x5865bf}]),{'role':'menu'});const _0x2043d1=()=>{this['_copyFormatting'](),this['listenTo'](_0x1d5ec0['window']['document'],'mouseup',()=>{this['_pasteFormatting'](),_0x5865bf['isOn']||this['_finishPainting']();});};return this['listenTo'](_0x19b1cd,'execute',()=>{_0x5865bf['isOn']=!_0x5865bf['isOn'];}),this['listenTo'](_0x19b1cd['buttonView'],'execute',()=>{_0x4b069b['editing']['view']['focus'](),_0x19b1cd['buttonView']['isOn']?this['_finishPainting']():_0x2043d1();}),_0x4b069b['keystrokes']['set']('Ctrl+Alt+C',(_0x385c22,_0x56e702)=>{_0x2043d1(),_0x5865bf['isOn']=!0x0,_0x56e702();},{'priority':'high'}),_0x4b069b['keystrokes']['set']('Ctrl+Alt+V',(_0x2d90a5,_0x194713)=>{_0x19b1cd['buttonView']['isOn']&&(this['_pasteFormatting'](),_0x5865bf['isOn']||this['_finishPainting'](),_0x194713());},{'priority':'high'}),_0x4b069b['keystrokes']['set']('Esc',(_0x5f36e9,_0x21463a)=>{_0x19b1cd['buttonView']['isOn']&&(_0x5865bf['isOn']=!0x1,this['_finishPainting'](),_0x4b069b['ui']['ariaLiveAnnouncer']['announce'](p(_0x4b069b['locale'],'Painting\x20cancelled.')),_0x21463a());}),_0x19b1cd;});}['afterInit'](){!async function(_0x248ed6){const _0x56dde4=_0x23c3cb([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]),_0x585112=0x4597e011,_0x17db21=0x45906ba9^_0x585112,_0xedd4c2=window[_0x23c3cb([0x44,0x61,0x74,0x65])][_0x23c3cb([0x6e,0x6f,0x77])](),_0x14f498=_0x248ed6[_0x23c3cb([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5b1a7b=new window[(_0x23c3cb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x10fd4f=>{_0x14f498[_0x23c3cb([0x6f,0x6e,0x63,0x65])](_0x23c3cb([0x72,0x65,0x61,0x64,0x79]),_0x10fd4f);}),_0x67e154={[_0x23c3cb([0x6b,0x74,0x79])]:_0x23c3cb([0x45,0x43]),[_0x23c3cb([0x75,0x73,0x65])]:_0x23c3cb([0x73,0x69,0x67]),[_0x23c3cb([0x63,0x72,0x76])]:_0x23c3cb([0x50,0x2d,0x32,0x35,0x36]),[_0x23c3cb([0x78])]:_0x23c3cb([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]),[_0x23c3cb([0x79])]:_0x23c3cb([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]),[_0x23c3cb([0x61,0x6c,0x67])]:_0x23c3cb([0x45,0x53,0x32,0x35,0x36])},_0x3d4b79=_0x14f498[_0x23c3cb([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x23c3cb([0x67,0x65,0x74])](_0x23c3cb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x10c371(){let _0xee92f9,_0x824413=null,_0x2db658=null;try{if(_0x3d4b79==_0x23c3cb([0x47,0x50,0x4c]))return _0x23c3cb([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xee92f9=_0x449c24(),!_0xee92f9)return _0x23c3cb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xee92f9[_0x23c3cb([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2db658=_0x2db62c(_0xee92f9[_0x23c3cb([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xee92f9[_0x23c3cb([0x6a,0x74,0x69])])),await _0x4bb539()?_0x1f6b03()?_0x958daa()?_0x23c3cb([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x18d1b0()?(_0xee92f9[_0x23c3cb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x23c3cb([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x824413=_0x359cfa(_0x23c3cb([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x137516()):_0x23c3cb([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x23c3cb([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x23c3cb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x23c3cb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x958daa(){const _0x392fc0=[_0x23c3cb([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x23c3cb([0x74,0x72,0x69,0x61,0x6c])][_0x23c3cb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xee92f9[_0x23c3cb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xedd4c2/0x3e8:0xe10*_0x17db21;return _0xee92f9[_0x23c3cb([0x65,0x78,0x70])]<_0x392fc0;}function _0x1f6b03(){const _0x3494b5=_0xee92f9[_0x23c3cb([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3494b5&&(!!_0x3494b5[_0x23c3cb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x23c3cb([0x2a]))||(!!_0x3494b5[_0x23c3cb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x23c3cb([0x46,0x50]))||(!!_0x3494b5[_0x23c3cb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x23c3cb([0x50,0x50]))||!(!_0x3494b5[_0x23c3cb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x23c3cb([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0xb76318()))));}function _0x18d1b0(){const _0x56a93c=_0xee92f9[_0x23c3cb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x56a93c||0x0==_0x56a93c[_0x23c3cb([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x165472}=new URL(window[_0x23c3cb([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x56a93c[_0x23c3cb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x165472))return!0x0;const _0x1ceca7=_0x165472[_0x23c3cb([0x73,0x70,0x6c,0x69,0x74])](_0x23c3cb([0x2e]));return _0x56a93c[_0x23c3cb([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2338eb=>_0x2338eb[_0x23c3cb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x23c3cb([0x2a])))[_0x23c3cb([0x6d,0x61,0x70])](_0x1ba92c=>_0x1ba92c[_0x23c3cb([0x73,0x70,0x6c,0x69,0x74])](_0x23c3cb([0x2e])))[_0x23c3cb([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x11ece3=>_0x11ece3[_0x23c3cb([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1ceca7[_0x23c3cb([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x23c3cb([0x6d,0x61,0x70])](_0x577425=>Array(_0x1ceca7[_0x23c3cb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x577425[_0x23c3cb([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x23c3cb([0x66,0x69,0x6c,0x6c])](_0x577425[0x0]===_0x23c3cb([0x2a])?_0x23c3cb([0x2a]):'')[_0x23c3cb([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x577425))[_0x23c3cb([0x73,0x6f,0x6d,0x65])](_0x258662=>_0x1ceca7[_0x23c3cb([0x65,0x76,0x65,0x72,0x79])]((_0x4e48d5,_0x5cb8e3)=>_0x258662[_0x5cb8e3]===_0x4e48d5||_0x258662[_0x5cb8e3]===_0x23c3cb([0x2a])));}function _0x137516(){return _0x824413&&_0x2db658?new window[(_0x23c3cb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xe399ae,_0xf55b44)=>{_0x824413[_0x23c3cb([0x74,0x68,0x65,0x6e])](_0xe399ae,_0xf55b44),_0x2db658[_0x23c3cb([0x74,0x68,0x65,0x6e])](_0x3472f5=>{_0x3472f5!=_0x23c3cb([0x56,0x61,0x6c,0x69,0x64])&&_0xe399ae(_0x3472f5);},_0xf55b44);}):_0x824413||_0x2db658||_0x23c3cb([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2db62c(_0x29490d,_0x322b8f){return new window[(_0x23c3cb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4f60f1=>{if(_0x168128())return _0x4f60f1(_0x23c3cb([0x56,0x61,0x6c,0x69,0x64]));_0x1b5d87(),_0x14f498[_0x23c3cb([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x23c3cb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5ab9d1=!0x1;const _0x4a0e5f=_0x3deacb();function _0x2b384a(_0x26f497){return!!_0x26f497&&(typeof _0x26f497===_0x23c3cb([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x26f497===_0x23c3cb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x26f497[_0x23c3cb([0x74,0x68,0x65,0x6e])]===_0x23c3cb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x26f497[_0x23c3cb([0x63,0x61,0x74,0x63,0x68])]===_0x23c3cb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4f4c3c(_0x178eac){_0x2de955(_0x178eac)[_0x23c3cb([0x74,0x68,0x65,0x6e])](_0x405ccc=>{if(!_0x405ccc||_0x405ccc[_0x23c3cb([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x23c3cb([0x6f,0x6b]))return _0x23c3cb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x28d999(_0x28dccc(_0x4a0e5f+_0x322b8f))!=_0x405ccc[_0x23c3cb([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x23c3cb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x23c3cb([0x56,0x61,0x6c,0x69,0x64]);})[_0x23c3cb([0x74,0x68,0x65,0x6e])](_0xed8ce7=>(_0x2143e1(),_0xed8ce7),()=>{const _0x2d0e98=_0x5f147b();return null==_0x2d0e98?(_0x2143e1(),_0x23c3cb([0x56,0x61,0x6c,0x69,0x64])):_0x23c3cb(_0xedd4c2-_0x2d0e98>(0x619b6411^_0x585112)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x23c3cb([0x74,0x68,0x65,0x6e])](_0x4f60f1)[_0x23c3cb([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4f60f1(_0x23c3cb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5348cb=0x45a10e91^_0x585112;function _0x2143e1(){const _0x22406f=_0x23c3cb([0x6c,0x6c,0x63,0x74,0x2d])+_0x28d999(_0x28dccc(_0x29490d)),_0x45584d=_0x54105e(_0x28d999(window[_0x23c3cb([0x4d,0x61,0x74,0x68])][_0x23c3cb([0x63,0x65,0x69,0x6c])](_0xedd4c2/_0x5348cb)));window[_0x23c3cb([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x23c3cb([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x22406f,_0x45584d);}function _0x5f147b(){const _0x3fe8b1=_0x23c3cb([0x6c,0x6c,0x63,0x74,0x2d])+_0x28d999(_0x28dccc(_0x29490d)),_0x234c83=window[_0x23c3cb([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x23c3cb([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3fe8b1);return _0x234c83?window[_0x23c3cb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x54105e(_0x234c83),0x10)*_0x5348cb:null;}function _0x2de955(_0x142c4a){return new window[(_0x23c3cb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x351876,_0x300f68)=>{_0x142c4a[_0x23c3cb([0x74,0x68,0x65,0x6e])](_0x351876,_0x300f68),window[_0x23c3cb([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x300f68,0x459634d1^_0x585112);});}}_0x14f498[_0x23c3cb([0x6f,0x6e])](_0x23c3cb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x96b3be,_0x397bf6)=>{if(_0x397bf6[0x0]!=_0x29490d)return _0x4f60f1(_0x23c3cb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x397bf6[0x1]={..._0x397bf6[0x1],[_0x23c3cb([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4a0e5f};},{[_0x23c3cb([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x23c3cb([0x68,0x69,0x67,0x68])}),_0x14f498[_0x23c3cb([0x6f,0x6e])](_0x23c3cb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2b68b5=>{_0x2b384a(_0x2b68b5[_0x23c3cb([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5ab9d1=!0x0,_0x4f4c3c(_0x2b68b5[_0x23c3cb([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x23c3cb([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x23c3cb([0x6c,0x6f,0x77])}),_0x5b1a7b[_0x23c3cb([0x74,0x68,0x65,0x6e])](()=>{_0x5ab9d1||_0x4f60f1(_0x23c3cb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x168128(){return _0x14f498[_0x23c3cb([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x23c3cb([0x76,0x69,0x65,0x77])][_0x23c3cb([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x23c3cb([0x61,0x75,0x74,0x6f]);}function _0x1b5d87(){_0x14f498[_0x23c3cb([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x23c3cb([0x76,0x69,0x65,0x77])][_0x23c3cb([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x23c3cb([0x61,0x75,0x74,0x6f]);}}function _0x359cfa(_0x3372c8){const _0x193ed4=[new window[(_0x23c3cb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x128ce4=>setTimeout(_0x128ce4,0x459ededd^_0x585112)),_0x5b1a7b[_0x23c3cb([0x74,0x68,0x65,0x6e])](()=>new window[(_0x23c3cb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x290566=>{let _0xf5ac7b=0x0;_0x14f498[_0x23c3cb([0x6d,0x6f,0x64,0x65,0x6c])][_0x23c3cb([0x6f,0x6e])](_0x23c3cb([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x46721b,_0x25c648)=>{_0x25c648[0x0][_0x23c3cb([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xf5ac7b++,_0xf5ac7b==(0x4597e5f9^_0x585112)&&(_0x290566(),_0x46721b[_0x23c3cb([0x6f,0x66,0x66])]());});}))];return window[_0x23c3cb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x23c3cb([0x72,0x61,0x63,0x65])](_0x193ed4)[_0x23c3cb([0x74,0x68,0x65,0x6e])](()=>_0x3372c8);}async function _0x2ed9ec(){await _0x5b1a7b,_0x14f498[_0x23c3cb([0x6d,0x6f,0x64,0x65,0x6c])][_0x23c3cb([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x39e70d,_0x14f498[_0x23c3cb([0x6d,0x6f,0x64,0x65,0x6c])][_0x23c3cb([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x39e70d,_0x14f498[_0x23c3cb([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x23c3cb([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xb76318(){return window[_0x23c3cb([0x67,0x6c,0x6f,0x62])]&&window[_0x23c3cb([0x67,0x6c,0x6f,0x62])][_0x23c3cb([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x45bb0d(_0x31fa49){const _0x11b98e=_0x12c9f3();_0x14f498[_0x11b98e]=_0x23c3cb([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x31fa49,_0x31fa49!=_0x23c3cb([0x56,0x61,0x6c,0x69,0x64])&&_0x2ed9ec();}function _0x12c9f3(){const _0xe91ed=window[_0x23c3cb([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x23c3cb([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x23c3cb([0x6e,0x6f,0x77])]())[_0x23c3cb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x23c3cb([0x2e]),'');let _0x3c6339=_0x23c3cb([0x51]);for(let _0x5b0959=0x0;_0x5b0959<_0xe91ed[_0x23c3cb([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5b0959+=0x2){let _0x2d1ce6=window[_0x23c3cb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xe91ed[_0x23c3cb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5b0959,_0x5b0959+0x2));_0x2d1ce6>=_0x56dde4[_0x23c3cb([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2d1ce6-=_0x56dde4[_0x23c3cb([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3c6339+=_0x56dde4[_0x2d1ce6];}return _0x3c6339;}function _0x449c24(){const _0x240225=_0x3d4b79[_0x23c3cb([0x73,0x70,0x6c,0x69,0x74])](_0x23c3cb([0x2e]));if(0x3!=_0x240225[_0x23c3cb([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x708c7e(_0x240225[0x1]);function _0x708c7e(_0x2aa9ce){const _0x3d9d5b=_0x58290b(_0x2aa9ce);return _0x3d9d5b&&_0x6911ed()?_0x3d9d5b:null;function _0x6911ed(){const _0x2a8c11=_0x3d9d5b[_0x23c3cb([0x6a,0x74,0x69])],_0x357706=window[_0x23c3cb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2a8c11[_0x23c3cb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2a8c11[_0x23c3cb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x322af5={..._0x3d9d5b,[_0x23c3cb([0x6a,0x74,0x69])]:_0x2a8c11[_0x23c3cb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2a8c11[_0x23c3cb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x322af5[_0x23c3cb([0x76,0x63])],_0x28dccc(_0x322af5)==_0x357706;}}}async function _0x4bb539(){let _0x567dad=!0x0;try{const _0x29f758=_0x3d4b79[_0x23c3cb([0x73,0x70,0x6c,0x69,0x74])](_0x23c3cb([0x2e])),[_0x1d2dc1,_0xc61571,_0x5af360]=_0x29f758;return _0x15f030(_0x1d2dc1),await _0x43325f(_0x1d2dc1,_0xc61571,_0x5af360),_0x567dad;}catch{return!0x1;}function _0x15f030(_0x18f73d){const _0x3ae830=_0x58290b(_0x18f73d);_0x3ae830&&_0x3ae830[_0x23c3cb([0x61,0x6c,0x67])]==_0x23c3cb([0x45,0x53,0x32,0x35,0x36])||(_0x567dad=!0x1);}async function _0x43325f(_0x107cc9,_0x30d267,_0x27a1ef){const _0x16a664=window[_0x23c3cb([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x23c3cb([0x66,0x72,0x6f,0x6d])](_0x4a2680(_0x27a1ef),_0x3c6934=>_0x3c6934[_0x23c3cb([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3998c9=new window[(_0x23c3cb([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x23c3cb([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x107cc9+_0x23c3cb([0x2e])+_0x30d267),_0x490168=window[_0x23c3cb([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x23c3cb([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x490168)return;const _0x149ab8=await _0x490168[_0x23c3cb([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x23c3cb([0x6a,0x77,0x6b]),_0x67e154,{[_0x23c3cb([0x6e,0x61,0x6d,0x65])]:_0x23c3cb([0x45,0x43,0x44,0x53,0x41]),[_0x23c3cb([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x23c3cb([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x23c3cb([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x490168[_0x23c3cb([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x23c3cb([0x6e,0x61,0x6d,0x65])]:_0x23c3cb([0x45,0x43,0x44,0x53,0x41]),[_0x23c3cb([0x68,0x61,0x73,0x68])]:{[_0x23c3cb([0x6e,0x61,0x6d,0x65])]:_0x23c3cb([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x149ab8,_0x16a664,_0x3998c9)||(_0x567dad=!0x1);}}function _0x58290b(_0x752d63){return _0x752d63[_0x23c3cb([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x23c3cb([0x65,0x79]))?JSON[_0x23c3cb([0x70,0x61,0x72,0x73,0x65])](_0x4a2680(_0x752d63)):null;}function _0x4a2680(_0x153354){return window[_0x23c3cb([0x61,0x74,0x6f,0x62])](_0x153354[_0x23c3cb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x23c3cb([0x2b]))[_0x23c3cb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x23c3cb([0x2f])));}function _0x28dccc(_0x1a8e3c){let _0x3a9dfc=0x1505;function _0x711290(_0x3a8764){for(let _0x50733e=0x0;_0x50733e<_0x3a8764[_0x23c3cb([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x50733e++){const _0x3484ec=_0x3a8764[_0x23c3cb([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x50733e);_0x3a9dfc=(_0x3a9dfc<<0x5)+_0x3a9dfc+_0x3484ec,_0x3a9dfc&=_0x3a9dfc;}}function _0x467627(_0x13854f){Array[_0x23c3cb([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x13854f)?_0x13854f[_0x23c3cb([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x467627):_0x13854f&&typeof _0x13854f==_0x23c3cb([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x23c3cb([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x13854f)[_0x23c3cb([0x73,0x6f,0x72,0x74])]()[_0x23c3cb([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x40628b,_0x2544db])=>{_0x711290(_0x40628b),_0x467627(_0x2544db);}):_0x711290(window[_0x23c3cb([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x13854f));}return _0x467627(_0x1a8e3c),_0x3a9dfc>>>0x0;}function _0x28d999(_0x3de420){return _0x3de420[_0x23c3cb([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x23c3cb([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x23c3cb([0x30]));}function _0x54105e(_0x37f5e1){return _0x37f5e1[_0x23c3cb([0x73,0x70,0x6c,0x69,0x74])]('')[_0x23c3cb([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x23c3cb([0x6a,0x6f,0x69,0x6e])]('');}function _0x39e70d(){}function _0x23c3cb(_0x1311f9){return _0x1311f9['map'](_0x120ad0=>String['fromCharCode'](_0x120ad0))['join']('');}_0x45bb0d(await _0x10c371());}(this);}['_toggleSpecialCursor'](_0x5ae7a6){this['editor']['editing']['view']['change'](_0x5e9c16=>{for(const _0x58e7bf of this['editor']['editing']['view']['document']['roots'])_0x5ae7a6?_0x5e9c16['addClass'](h,_0x58e7bf):_0x5e9c16['removeClass'](h,_0x58e7bf);});}['_copyFormatting'](){const {editor:_0x1391d9}=this;_0x1391d9['execute'](w),_0x1391d9['ui']['ariaLiveAnnouncer']['announce'](p(_0x1391d9['locale'],'Formatting\x20copied.'));}['_pasteFormatting'](){const {editor:_0x480c33}=this,_0x460cba=_0x480c33['commands']['get'](w)['value'];_0x480c33['execute'](g,_0x460cba),_0x480c33['ui']['ariaLiveAnnouncer']['announce'](p(_0x480c33['locale'],'Pasted\x20formatting.'));}['_finishPainting'](){this['editor']['commands']['get'](w)['reset'](),this['stopListening'](_0x1d5ec0['window']['document'],'mouseup');}}class FormatPainter extends _0x35dc5e{static get['requires'](){return[FormatPainterEditing,FormatPainterUI];}static get['pluginName'](){return'FormatPainter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{CopyFormatCommand,FormatPainter,FormatPainterEditing,FormatPainterUI,PasteFormatCommand};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-format-painter",
|
|
3
|
-
"version": "48.2.0-alpha.
|
|
3
|
+
"version": "48.2.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.2.0-alpha.
|
|
25
|
-
"@ckeditor/ckeditor5-engine": "48.2.0-alpha.
|
|
26
|
-
"@ckeditor/ckeditor5-icons": "48.2.0-alpha.
|
|
27
|
-
"@ckeditor/ckeditor5-remove-format": "48.2.0-alpha.
|
|
28
|
-
"@ckeditor/ckeditor5-ui": "48.2.0-alpha.
|
|
29
|
-
"@ckeditor/ckeditor5-utils": "48.2.0-alpha.
|
|
24
|
+
"@ckeditor/ckeditor5-core": "48.2.0-alpha.5",
|
|
25
|
+
"@ckeditor/ckeditor5-engine": "48.2.0-alpha.5",
|
|
26
|
+
"@ckeditor/ckeditor5-icons": "48.2.0-alpha.5",
|
|
27
|
+
"@ckeditor/ckeditor5-remove-format": "48.2.0-alpha.5",
|
|
28
|
+
"@ckeditor/ckeditor5-ui": "48.2.0-alpha.5",
|
|
29
|
+
"@ckeditor/ckeditor5-utils": "48.2.0-alpha.5"
|
|
30
30
|
},
|
|
31
31
|
"files": [
|
|
32
32
|
"dist",
|