@ckeditor/ckeditor5-paste-from-office-enhanced 48.0.0-alpha.7 → 48.0.0-alpha.9

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.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +6 -6
package/dist/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x1eb216}from'@ckeditor/ckeditor5-core/dist/index.js';import{PasteFromOfficeMSWordNormalizer as _0x505d41,PasteFromOffice as _0x4c498a,parsePasteOfficeHtml as _0x791b9b}from'@ckeditor/ckeditor5-paste-from-office/dist/index.js';import{priorities as _0x2e2417,uid as _0xf8f1a2}from'@ckeditor/ckeditor5-utils/dist/index.js';import{ViewUpcastWriter as _0x36d7ad,ViewDocument as _0x556203,ViewDomConverter as _0x7b670e}from'@ckeditor/ckeditor5-engine/dist/index.js';const a=/<meta\s*name="?generator"?\s*content="?microsoft\s*excel\s*\d+"?\/?>/i;function l(_0x34732a){return a['test'](_0x34732a);}const d=/^(?<tagName>(?!\.)[\w-]+)?(\.(?<className>[\w-]+))?$/i;function w(_0x161b69,_0x397e2d){const _0x1943d7=new Map();for(const [_0x558bea,_0x24e247]of _0x397e2d){if(!_0x558bea['tagName']&&!_0x558bea['className'])continue;const _0x814092=!_0x558bea['tagName']||_0x161b69['name']===_0x558bea['tagName'],_0x1a6138=!_0x558bea['className']||_0x161b69['hasClass'](_0x558bea['className']);_0x814092&&_0x1a6138&&_0x1943d7['set'](_0x558bea,_0x24e247);}return _0x1943d7;}function m(_0x207281){const _0x42ab86={};for(let _0x8efa7e=0x0;_0x8efa7e<_0x207281['length'];_0x8efa7e++){const _0x261505=_0x207281[_0x8efa7e],_0x279cee=_0x207281['getPropertyValue'](_0x261505);'initial'!==_0x279cee&&(_0x42ab86[_0x261505]=_0x279cee);}return _0x42ab86;}function p(_0x290c18){const _0x1af68b=_0x290c18['split'](',')['map'](_0x9bbf88=>_0x9bbf88['trim']()),_0x39a72c=[];for(const _0x252f57 of _0x1af68b){const _0x37cdd7=d['exec'](_0x252f57);_0x37cdd7&&_0x39a72c['push'](_0x37cdd7['groups']);}return _0x39a72c;}function y(_0x11319e){const _0x22347d={};for(const _0x1c3aff of _0x11319e)Object['assign'](_0x22347d,_0x1c3aff);return _0x22347d;}class h extends _0x505d41{['execute'](_0x1a6a77){const {body:_0x4fd4c7,styles:_0xa615f0}=_0x1a6a77['_parsedData'],_0x39881a=new _0x36d7ad(_0x4fd4c7['document']),_0x5756d2=_0x39881a['createRangeIn'](_0x4fd4c7),_0x3855d8=function(_0x385743){const _0x285eab={};for(const _0x396709 of _0x385743)for(const _0x3b57d8 of _0x396709['cssRules'])if(_0x3b57d8 instanceof CSSStyleRule){const _0x4d7234=m(_0x3b57d8['style']);_0x285eab[_0x3b57d8['selectorText']]=Object['assign']({},_0x285eab[_0x3b57d8['selectorText']]||{},_0x4d7234);}return _0x285eab;}(_0xa615f0),_0x324bb6=function(_0x1d023c){const _0x2af863=new Map();for(const _0x21f330 in _0x1d023c){const _0x2a8a67=p(_0x21f330),_0x340d31=_0x1d023c[_0x21f330];for(const _0x58b529 of _0x2a8a67)_0x2af863['set'](_0x58b529,_0x340d31);}return _0x2af863;}(_0x3855d8);for(const _0x537fe1 of _0x5756d2){if('elementStart'!==_0x537fe1['type'])continue;const _0x524934=w(_0x537fe1['item'],_0x324bb6);if(_0x524934['size']){const _0x133206=y(Array['from'](_0x524934['values']()));for(const _0x11716e in _0x133206){const _0x2164b3=_0x537fe1['item'];_0x2164b3['hasStyle'](_0x11716e)||_0x39881a['setStyle'](_0x11716e,_0x133206[_0x11716e],_0x2164b3);}}}_0x1a6a77['content']=_0x4fd4c7;}['isActive'](_0x514a28){return super['isActive'](_0x514a28)||l(_0x514a28);}}class g extends _0x1eb216{static get['pluginName'](){return'PasteFromOfficeEnhancedInliner';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x4c498a];}['init'](){const _0x21f789=this['editor'],_0x5f0f18=_0x21f789['plugins']['get']('ClipboardPipeline'),_0x418364=_0x21f789['editing']['view']['document'],_0x25d627=new h(_0x418364);_0x5f0f18['on']('inputTransformation',(_0x2eb554,_0x1e5b77)=>{const _0x3e0d58=_0x1e5b77['dataTransfer']['getData']('text/html');_0x25d627['isActive'](_0x3e0d58)&&(_0x1e5b77['_parsedData']||(_0x1e5b77['_parsedData']=_0x791b9b(_0x3e0d58,_0x418364['stylesProcessor'])),_0x25d627['execute'](_0x1e5b77));},{'priority':_0x2e2417['get']('high')+0xb});}['afterInit'](){!async function(_0x331583){const _0x454263=_0x3d6590([0x73,0x47,0x36,0x35,0x43,0x72,0x6b,0x31,0x63,0x64,0x32,0x69,0x67,0x4c,0x4e,0x37,0x7a,0x49,0x45,0x41,0x59,0x6a,0x75,0x39,0x4a,0x33,0x68,0x62,0x50,0x42,0x74,0x6e,0x46,0x4d,0x78,0x51,0x66,0x34,0x48,0x77,0x5a,0x61,0x6c,0x30,0x71,0x54,0x53,0x56,0x4b,0x79,0x44,0x6d,0x6f,0x52,0x76,0x55,0x58,0x65,0x70,0x57,0x4f,0x38]),_0x1b504b=0x7374585f,_0x5cbcc2=0x7373dd2f^_0x1b504b,_0x46c897=window[_0x3d6590([0x44,0x61,0x74,0x65])][_0x3d6590([0x6e,0x6f,0x77])](),_0x567938=_0x331583[_0x3d6590([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2d086b=new window[(_0x3d6590([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x927848=>{_0x567938[_0x3d6590([0x6f,0x6e,0x63,0x65])](_0x3d6590([0x72,0x65,0x61,0x64,0x79]),_0x927848);}),_0x5335b4={[_0x3d6590([0x6b,0x74,0x79])]:_0x3d6590([0x45,0x43]),[_0x3d6590([0x75,0x73,0x65])]:_0x3d6590([0x73,0x69,0x67]),[_0x3d6590([0x63,0x72,0x76])]:_0x3d6590([0x50,0x2d,0x32,0x35,0x36]),[_0x3d6590([0x78])]:_0x3d6590([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]),[_0x3d6590([0x79])]:_0x3d6590([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]),[_0x3d6590([0x61,0x6c,0x67])]:_0x3d6590([0x45,0x53,0x32,0x35,0x36])},_0x3851d5=_0x567938[_0x3d6590([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3d6590([0x67,0x65,0x74])](_0x3d6590([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4f8872(){let _0x48a6ad,_0x5b9f0e=null,_0x410c45=null;try{if(_0x3851d5==_0x3d6590([0x47,0x50,0x4c]))return _0x3d6590([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x48a6ad=_0x162b3f(),!_0x48a6ad)return _0x3d6590([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x48a6ad[_0x3d6590([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x410c45=_0x1981a2(_0x48a6ad[_0x3d6590([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x48a6ad[_0x3d6590([0x6a,0x74,0x69])])),await _0x504cc0()?_0x9b4c80()?_0x3c66dd()?_0x3d6590([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x492e4b()?(_0x48a6ad[_0x3d6590([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3d6590([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5b9f0e=_0x97817c(_0x3d6590([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x346a91()):_0x3d6590([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3d6590([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3d6590([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3d6590([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3c66dd(){const _0x3ae9ba=[_0x3d6590([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3d6590([0x74,0x72,0x69,0x61,0x6c])][_0x3d6590([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x48a6ad[_0x3d6590([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x46c897/0x3e8:0xe10*_0x5cbcc2;return _0x48a6ad[_0x3d6590([0x65,0x78,0x70])]<_0x3ae9ba;}function _0x9b4c80(){const _0x59d72c=_0x48a6ad[_0x3d6590([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x59d72c&&(!!_0x59d72c[_0x3d6590([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3d6590([0x2a]))||(!!_0x59d72c[_0x3d6590([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3d6590([0x50,0x4f,0x45]))||(!!_0x59d72c[_0x3d6590([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3d6590([0x50,0x50]))||!(!_0x59d72c[_0x3d6590([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3d6590([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x9853f4()))));}function _0x492e4b(){const _0x45669a=_0x48a6ad[_0x3d6590([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x45669a||0x0==_0x45669a[_0x3d6590([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1f57b2}=new URL(window[_0x3d6590([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x45669a[_0x3d6590([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1f57b2))return!0x0;const _0x379149=_0x1f57b2[_0x3d6590([0x73,0x70,0x6c,0x69,0x74])](_0x3d6590([0x2e]));return _0x45669a[_0x3d6590([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x9638c5=>_0x9638c5[_0x3d6590([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3d6590([0x2a])))[_0x3d6590([0x6d,0x61,0x70])](_0x366af3=>_0x366af3[_0x3d6590([0x73,0x70,0x6c,0x69,0x74])](_0x3d6590([0x2e])))[_0x3d6590([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x28d8b8=>_0x28d8b8[_0x3d6590([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x379149[_0x3d6590([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3d6590([0x6d,0x61,0x70])](_0x4174db=>Array(_0x379149[_0x3d6590([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4174db[_0x3d6590([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3d6590([0x66,0x69,0x6c,0x6c])](_0x4174db[0x0]===_0x3d6590([0x2a])?_0x3d6590([0x2a]):'')[_0x3d6590([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4174db))[_0x3d6590([0x73,0x6f,0x6d,0x65])](_0x3526cd=>_0x379149[_0x3d6590([0x65,0x76,0x65,0x72,0x79])]((_0x226aa2,_0x32cb62)=>_0x3526cd[_0x32cb62]===_0x226aa2||_0x3526cd[_0x32cb62]===_0x3d6590([0x2a])));}function _0x346a91(){return _0x5b9f0e&&_0x410c45?new window[(_0x3d6590([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1e251a,_0x5708c4)=>{_0x5b9f0e[_0x3d6590([0x74,0x68,0x65,0x6e])](_0x1e251a,_0x5708c4),_0x410c45[_0x3d6590([0x74,0x68,0x65,0x6e])](_0x4d7966=>{_0x4d7966!=_0x3d6590([0x56,0x61,0x6c,0x69,0x64])&&_0x1e251a(_0x4d7966);},_0x5708c4);}):_0x5b9f0e||_0x410c45||_0x3d6590([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1981a2(_0x54984d,_0x5682fd){return new window[(_0x3d6590([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5ce800=>{if(_0x1135ff())return _0x5ce800(_0x3d6590([0x56,0x61,0x6c,0x69,0x64]));_0x1b5302(),_0x567938[_0x3d6590([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3d6590([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x302f61=!0x1;const _0x15b5af=_0xf8f1a2();function _0x318b71(_0x17cd3a){return!!_0x17cd3a&&(typeof _0x17cd3a===_0x3d6590([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x17cd3a===_0x3d6590([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x17cd3a[_0x3d6590([0x74,0x68,0x65,0x6e])]===_0x3d6590([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x17cd3a[_0x3d6590([0x63,0x61,0x74,0x63,0x68])]===_0x3d6590([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x24f1df(_0x3fb127){_0x31facb(_0x3fb127)[_0x3d6590([0x74,0x68,0x65,0x6e])](_0x1e178d=>{if(!_0x1e178d||_0x1e178d[_0x3d6590([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3d6590([0x6f,0x6b]))return _0x3d6590([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x20fa26(_0x3324fb(_0x15b5af+_0x5682fd))!=_0x1e178d[_0x3d6590([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3d6590([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3d6590([0x56,0x61,0x6c,0x69,0x64]);})[_0x3d6590([0x74,0x68,0x65,0x6e])](_0x2a9c51=>(_0x310f40(),_0x2a9c51),()=>{const _0x5a4b01=_0x2702fb();return null==_0x5a4b01?(_0x310f40(),_0x3d6590([0x56,0x61,0x6c,0x69,0x64])):_0x3d6590(_0x46c897-_0x5a4b01>(0x5778dc5f^_0x1b504b)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3d6590([0x74,0x68,0x65,0x6e])](_0x5ce800)[_0x3d6590([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5ce800(_0x3d6590([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2db9f7=0x7342b6df^_0x1b504b;function _0x310f40(){const _0x5a1f09=_0x3d6590([0x6c,0x6c,0x63,0x74,0x2d])+_0x20fa26(_0x3324fb(_0x54984d)),_0x512e71=_0x38566b(_0x20fa26(window[_0x3d6590([0x4d,0x61,0x74,0x68])][_0x3d6590([0x63,0x65,0x69,0x6c])](_0x46c897/_0x2db9f7)));window[_0x3d6590([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3d6590([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5a1f09,_0x512e71);}function _0x2702fb(){const _0x1bf22d=_0x3d6590([0x6c,0x6c,0x63,0x74,0x2d])+_0x20fa26(_0x3324fb(_0x54984d)),_0x39a838=window[_0x3d6590([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3d6590([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1bf22d);return _0x39a838?window[_0x3d6590([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x38566b(_0x39a838),0x10)*_0x2db9f7:null;}function _0x31facb(_0x410247){return new window[(_0x3d6590([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1902bf,_0x1cf43a)=>{_0x410247[_0x3d6590([0x74,0x68,0x65,0x6e])](_0x1902bf,_0x1cf43a),window[_0x3d6590([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1cf43a,0x73758c9f^_0x1b504b);});}}_0x567938[_0x3d6590([0x6f,0x6e])](_0x3d6590([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4a3bda,_0x4094be)=>{if(_0x4094be[0x0]!=_0x54984d)return _0x5ce800(_0x3d6590([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4094be[0x1]={..._0x4094be[0x1],[_0x3d6590([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x15b5af};},{[_0x3d6590([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3d6590([0x68,0x69,0x67,0x68])}),_0x567938[_0x3d6590([0x6f,0x6e])](_0x3d6590([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x316dbd=>{_0x318b71(_0x316dbd[_0x3d6590([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x302f61=!0x0,_0x24f1df(_0x316dbd[_0x3d6590([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3d6590([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3d6590([0x6c,0x6f,0x77])}),_0x2d086b[_0x3d6590([0x74,0x68,0x65,0x6e])](()=>{_0x302f61||_0x5ce800(_0x3d6590([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1135ff(){return _0x567938[_0x3d6590([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3d6590([0x76,0x69,0x65,0x77])][_0x3d6590([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3d6590([0x61,0x75,0x74,0x6f]);}function _0x1b5302(){_0x567938[_0x3d6590([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3d6590([0x76,0x69,0x65,0x77])][_0x3d6590([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3d6590([0x61,0x75,0x74,0x6f]);}}function _0x97817c(_0x2c1f5c){const _0xec6d02=[new window[(_0x3d6590([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x448dda=>setTimeout(_0x448dda,0x737d6693^_0x1b504b)),_0x2d086b[_0x3d6590([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3d6590([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x333bba=>{let _0x1de685=0x0;_0x567938[_0x3d6590([0x6d,0x6f,0x64,0x65,0x6c])][_0x3d6590([0x6f,0x6e])](_0x3d6590([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3ec810,_0x4bdc4b)=>{_0x4bdc4b[0x0][_0x3d6590([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1de685++,_0x1de685==(0x73745db7^_0x1b504b)&&(_0x333bba(),_0x3ec810[_0x3d6590([0x6f,0x66,0x66])]());});}))];return window[_0x3d6590([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3d6590([0x72,0x61,0x63,0x65])](_0xec6d02)[_0x3d6590([0x74,0x68,0x65,0x6e])](()=>_0x2c1f5c);}async function _0x5623b6(){await _0x2d086b,_0x567938[_0x3d6590([0x6d,0x6f,0x64,0x65,0x6c])][_0x3d6590([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3eb1a9,_0x567938[_0x3d6590([0x6d,0x6f,0x64,0x65,0x6c])][_0x3d6590([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3eb1a9,_0x567938[_0x3d6590([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3d6590([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x9853f4(){return window[_0x3d6590([0x67,0x6c,0x6f,0x62])]&&window[_0x3d6590([0x67,0x6c,0x6f,0x62])][_0x3d6590([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x2d537e(_0x2c9080){const _0x51cd5e=_0x24bf99();_0x567938[_0x51cd5e]=_0x3d6590([0x70,0x61,0x73,0x74,0x65,0x46,0x72,0x6f,0x6d,0x4f,0x66,0x66,0x69,0x63,0x65,0x45,0x6e,0x68,0x61,0x6e,0x63,0x65,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2c9080,_0x2c9080!=_0x3d6590([0x56,0x61,0x6c,0x69,0x64])&&_0x5623b6();}function _0x24bf99(){const _0x32f975=window[_0x3d6590([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3d6590([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3d6590([0x6e,0x6f,0x77])]())[_0x3d6590([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3d6590([0x2e]),'');let _0x1e302f=_0x3d6590([0x73]);for(let _0x50cded=0x0;_0x50cded<_0x32f975[_0x3d6590([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x50cded+=0x2){let _0x5edc72=window[_0x3d6590([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x32f975[_0x3d6590([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x50cded,_0x50cded+0x2));_0x5edc72>=_0x454263[_0x3d6590([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5edc72-=_0x454263[_0x3d6590([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1e302f+=_0x454263[_0x5edc72];}return _0x1e302f;}function _0x162b3f(){const _0x2020a4=_0x3851d5[_0x3d6590([0x73,0x70,0x6c,0x69,0x74])](_0x3d6590([0x2e]));if(0x3!=_0x2020a4[_0x3d6590([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4af9e3(_0x2020a4[0x1]);function _0x4af9e3(_0x272935){const _0x565246=_0x36a5e4(_0x272935);return _0x565246&&_0x396113()?_0x565246:null;function _0x396113(){const _0x59e113=_0x565246[_0x3d6590([0x6a,0x74,0x69])],_0xc4e2ed=window[_0x3d6590([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x59e113[_0x3d6590([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x59e113[_0x3d6590([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x410d99={..._0x565246,[_0x3d6590([0x6a,0x74,0x69])]:_0x59e113[_0x3d6590([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x59e113[_0x3d6590([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x410d99[_0x3d6590([0x76,0x63])],_0x3324fb(_0x410d99)==_0xc4e2ed;}}}async function _0x504cc0(){let _0x45278e=!0x0;try{const _0x1e4f9e=_0x3851d5[_0x3d6590([0x73,0x70,0x6c,0x69,0x74])](_0x3d6590([0x2e])),[_0x1a5e4f,_0x4691ca,_0xd7f481]=_0x1e4f9e;return _0x5c1070(_0x1a5e4f),await _0x1283d9(_0x1a5e4f,_0x4691ca,_0xd7f481),_0x45278e;}catch{return!0x1;}function _0x5c1070(_0x521a97){const _0x5831e8=_0x36a5e4(_0x521a97);_0x5831e8&&_0x5831e8[_0x3d6590([0x61,0x6c,0x67])]==_0x3d6590([0x45,0x53,0x32,0x35,0x36])||(_0x45278e=!0x1);}async function _0x1283d9(_0x29174d,_0x1c26ce,_0x4dd98a){const _0x498148=window[_0x3d6590([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3d6590([0x66,0x72,0x6f,0x6d])](_0x1859c4(_0x4dd98a),_0x29b900=>_0x29b900[_0x3d6590([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1c03e4=new window[(_0x3d6590([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3d6590([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x29174d+_0x3d6590([0x2e])+_0x1c26ce),_0x5f2b0b=window[_0x3d6590([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3d6590([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5f2b0b)return;const _0x54bd69=await _0x5f2b0b[_0x3d6590([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3d6590([0x6a,0x77,0x6b]),_0x5335b4,{[_0x3d6590([0x6e,0x61,0x6d,0x65])]:_0x3d6590([0x45,0x43,0x44,0x53,0x41]),[_0x3d6590([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3d6590([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3d6590([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5f2b0b[_0x3d6590([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3d6590([0x6e,0x61,0x6d,0x65])]:_0x3d6590([0x45,0x43,0x44,0x53,0x41]),[_0x3d6590([0x68,0x61,0x73,0x68])]:{[_0x3d6590([0x6e,0x61,0x6d,0x65])]:_0x3d6590([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x54bd69,_0x498148,_0x1c03e4)||(_0x45278e=!0x1);}}function _0x36a5e4(_0x43f54f){return _0x43f54f[_0x3d6590([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3d6590([0x65,0x79]))?JSON[_0x3d6590([0x70,0x61,0x72,0x73,0x65])](_0x1859c4(_0x43f54f)):null;}function _0x1859c4(_0x36a51e){return window[_0x3d6590([0x61,0x74,0x6f,0x62])](_0x36a51e[_0x3d6590([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3d6590([0x2b]))[_0x3d6590([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3d6590([0x2f])));}function _0x3324fb(_0x3a7a96){let _0x56295c=0x1505;function _0x159378(_0x240712){for(let _0x3a62fc=0x0;_0x3a62fc<_0x240712[_0x3d6590([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3a62fc++){const _0x40835d=_0x240712[_0x3d6590([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3a62fc);_0x56295c=(_0x56295c<<0x5)+_0x56295c+_0x40835d,_0x56295c&=_0x56295c;}}function _0x1cf755(_0x49d039){Array[_0x3d6590([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x49d039)?_0x49d039[_0x3d6590([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1cf755):_0x49d039&&typeof _0x49d039==_0x3d6590([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3d6590([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x49d039)[_0x3d6590([0x73,0x6f,0x72,0x74])]()[_0x3d6590([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x857fdc,_0x1d9303])=>{_0x159378(_0x857fdc),_0x1cf755(_0x1d9303);}):_0x159378(window[_0x3d6590([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x49d039));}return _0x1cf755(_0x3a7a96),_0x56295c>>>0x0;}function _0x20fa26(_0x20ead0){return _0x20ead0[_0x3d6590([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3d6590([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3d6590([0x30]));}function _0x38566b(_0x3fb796){return _0x3fb796[_0x3d6590([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3d6590([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3d6590([0x6a,0x6f,0x69,0x6e])]('');}function _0x3eb1a9(){}function _0x3d6590(_0x52c1ed){return _0x52c1ed['map'](_0x10aa08=>String['fromCharCode'](_0x10aa08))['join']('');}_0x2d537e(await _0x4f8872());}(this);}}const O=['color','font-family','font-size','text-decoration','text-decoration-line','font-weight','font-style','vertical-align'],E=['color','font-family','font-size'],L={'font-style':[['italic','i']],'font-weight':[['medium','strong'],['bold','strong'],['bolder','strong'],[_0x13a58d=>Number(_0x13a58d)>=0x258,'strong']],'text-decoration':[['underline','u'],['line-through','s']],'text-decoration-line':[['underline','u'],['line-through','s']],'vertical-align':[['sub','sub'],['super','sup']]};function x(_0x58b347){return O['includes'](_0x58b347);}function F(_0x2c3264){return Array['from'](_0x2c3264['getStyleNames']())['filter'](x);}function K(_0x356c96,_0x59493c,_0x2269b4){const {spanStyles:_0x5f10fd,stylesToBeHtmlElements:_0x4c84d5}=function(_0x3fa35b,_0x47c06b){const _0x759ee4={},_0xba149e={};return _0x47c06b['forEach'](_0x178396=>{const _0x164b4e=_0x3fa35b['getStyle'](_0x178396);if(_0x164b4e){if(function(_0x37fb82){return E['includes'](_0x37fb82);}(_0x178396))_0x759ee4[_0x178396]=_0x164b4e;else{if(function(_0x45aae2){return _0x45aae2 in L;}(_0x178396)){const _0x4cc4b7=_0x164b4e['split']('\x20');L[_0x178396]['forEach'](([_0x28fbc6,_0x165ba5])=>{for(const _0x41d00b of _0x4cc4b7){('function'==typeof _0x28fbc6&&_0x28fbc6(_0x41d00b)||_0x28fbc6===_0x41d00b)&&(_0xba149e[_0x178396]=[..._0xba149e[_0x178396]||[],[_0x28fbc6,_0x165ba5]]);}});}}}}),{'spanStyles':_0x759ee4,'stylesToBeHtmlElements':_0xba149e};}(_0x356c96,_0x2269b4);!function(_0x496ac9,_0x5ed5ce,_0x329818){for(const _0x215460 in _0x329818){_0x329818[_0x215460]['forEach'](([,_0xd21b81])=>{const _0x58ae9e=_0x5ed5ce['createElement'](_0xd21b81,[],_0x496ac9['getChildren']());_0x5ed5ce['insertChild'](0x0,_0x58ae9e,_0x496ac9);}),_0x5ed5ce['removeStyle'](_0x215460,_0x496ac9);}}(_0x356c96,_0x59493c,_0x4c84d5),function(_0xa1cb74,_0x61d31b,_0x14c454){if(!Object['keys'](_0x14c454)['length'])return;const _0x9bfa70=_0x61d31b['createElement']('span',[],_0xa1cb74['getChildren']());_0x61d31b['setStyle'](_0x14c454,_0x9bfa70),_0x61d31b['insertChild'](0x0,_0x9bfa70,_0xa1cb74),_0x61d31b['removeStyle'](Object['keys'](_0x14c454),_0xa1cb74);}(_0x356c96,_0x59493c,_0x5f10fd);}class P extends _0x505d41{['execute'](_0x3c22bf){const {body:_0x5318e2}=_0x3c22bf['_parsedData'],_0x57f16c=new _0x36d7ad(_0x5318e2['document']),_0x1f8953=_0x57f16c['createRangeIn'](_0x5318e2),_0x9e1355=new _0x556203(_0x57f16c['document']['stylesProcessor']),_0x41a085=[...new _0x7b670e(_0x9e1355)['blockElements'],'font'],_0x4d473a=_0x1f8953['getItems']();for(const _0x21d682 of _0x4d473a)_0x21d682['is']('element')&&_0x41a085['includes'](_0x21d682['name'])&&K(_0x21d682,_0x57f16c,F(_0x21d682));_0x3c22bf['content']=_0x5318e2;}['isActive'](_0x230866){return super['isActive'](_0x230866)||l(_0x230866);}}class b extends _0x1eb216{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'PasteFromOfficeEnhancedPropagator';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x4c498a];}['init'](){const _0x425f56=this['editor'],_0x3b64ff=_0x425f56['plugins']['get']('ClipboardPipeline'),_0x5c8a77=_0x425f56['editing']['view']['document'],_0x236e71=new P(_0x5c8a77);_0x3b64ff['on']('inputTransformation',(_0x56ae14,_0x52a43f)=>{const _0x42fc3f=_0x52a43f['dataTransfer']['getData']('text/html');_0x236e71['isActive'](_0x42fc3f)&&(_0x52a43f['_parsedData']||(_0x52a43f['_parsedData']=_0x791b9b(_0x42fc3f,_0x5c8a77['stylesProcessor'])),_0x236e71['execute'](_0x52a43f));},{'priority':_0x2e2417['get']('high')+0xa}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x504923=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x11f1d6;for(const _0x4a3321 in _0x504923){const _0x44aaf2=_0x4a3321,_0x5aa437=_0x504923[_0x44aaf2];if('pasteFromOfficeEnhancedLicenseKeyValid'==_0x5aa437||'pasteFromOfficeEnhancedLicenseKeyInvalid'==_0x5aa437||'pasteFromOfficeEnhancedLicenseKeyExpired'==_0x5aa437||'pasteFromOfficeEnhancedLicenseKeyDomainLimit'==_0x5aa437||'pasteFromOfficeEnhancedLicenseKeyNotAllowed'==_0x5aa437||'pasteFromOfficeEnhancedLicenseKeyEvaluationLimit'==_0x5aa437||'pasteFromOfficeEnhancedLicenseKeyUsageLimit'==_0x5aa437){delete _0x504923[_0x44aaf2],_0x11f1d6=_0x5aa437,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'pasteFromOfficeEnhancedLicenseKeyInvalid'==_0x11f1d6&&_0x504923['_showLicenseError']('invalid'),'pasteFromOfficeEnhancedLicenseKeyExpired'==_0x11f1d6&&_0x504923['_showLicenseError']('expired'),'pasteFromOfficeEnhancedLicenseKeyDomainLimit'==_0x11f1d6&&_0x504923['_showLicenseError']('domainLimit'),'pasteFromOfficeEnhancedLicenseKeyNotAllowed'==_0x11f1d6&&_0x504923['_showLicenseError']('featureNotAllowed','PasteFromOfficeEnhanced'),'pasteFromOfficeEnhancedLicenseKeyEvaluationLimit'==_0x11f1d6&&_0x504923['_showLicenseError']('evaluationLimit'),'pasteFromOfficeEnhancedLicenseKeyUsageLimit'==_0x11f1d6&&_0x504923['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class v extends _0x1eb216{static get['pluginName'](){return'PasteFromOfficeEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x4c498a,g,b];}}export{v as PasteFromOfficeEnhanced};
23
+ import{Plugin as _0x276f94}from'@ckeditor/ckeditor5-core/dist/index.js';import{PasteFromOfficeMSWordNormalizer as _0x4c1b27,PasteFromOffice as _0x3df5fc,parsePasteOfficeHtml as _0x22c742}from'@ckeditor/ckeditor5-paste-from-office/dist/index.js';import{priorities as _0x54d9ef,uid as _0x2b7011}from'@ckeditor/ckeditor5-utils/dist/index.js';import{ViewUpcastWriter as _0x118115,ViewDocument as _0xc237a6,ViewDomConverter as _0x425ccb}from'@ckeditor/ckeditor5-engine/dist/index.js';const a=/<meta\s*name="?generator"?\s*content="?microsoft\s*excel\s*\d+"?\/?>/i;function l(_0x2b9a9b){return a['test'](_0x2b9a9b);}const d=/^(?<tagName>(?!\.)[\w-]+)?(\.(?<className>[\w-]+))?$/i;function w(_0x325407,_0x7420c1){const _0x5c53f0=new Map();for(const [_0x1feb46,_0x3e2ce3]of _0x7420c1){if(!_0x1feb46['tagName']&&!_0x1feb46['className'])continue;const _0x3df427=!_0x1feb46['tagName']||_0x325407['name']===_0x1feb46['tagName'],_0x36c9ab=!_0x1feb46['className']||_0x325407['hasClass'](_0x1feb46['className']);_0x3df427&&_0x36c9ab&&_0x5c53f0['set'](_0x1feb46,_0x3e2ce3);}return _0x5c53f0;}function m(_0x5110e7){const _0x2ddedf={};for(let _0xbe579=0x0;_0xbe579<_0x5110e7['length'];_0xbe579++){const _0x58feb5=_0x5110e7[_0xbe579],_0x17ee35=_0x5110e7['getPropertyValue'](_0x58feb5);'initial'!==_0x17ee35&&(_0x2ddedf[_0x58feb5]=_0x17ee35);}return _0x2ddedf;}function p(_0x84d396){const _0x1a00c3=_0x84d396['split'](',')['map'](_0x113105=>_0x113105['trim']()),_0x454b6b=[];for(const _0x388098 of _0x1a00c3){const _0x210644=d['exec'](_0x388098);_0x210644&&_0x454b6b['push'](_0x210644['groups']);}return _0x454b6b;}function y(_0x5c7781){const _0x5b0c65={};for(const _0x44fc14 of _0x5c7781)Object['assign'](_0x5b0c65,_0x44fc14);return _0x5b0c65;}class h extends _0x4c1b27{['execute'](_0x3577c7){const {body:_0x233ce1,styles:_0x5e0e59}=_0x3577c7['_parsedData'],_0x5f2620=new _0x118115(_0x233ce1['document']),_0x652b43=_0x5f2620['createRangeIn'](_0x233ce1),_0x802b3e=function(_0x45d77d){const _0x35b205={};for(const _0x54f23a of _0x45d77d)for(const _0x51d78a of _0x54f23a['cssRules'])if(_0x51d78a instanceof CSSStyleRule){const _0x55ac90=m(_0x51d78a['style']);_0x35b205[_0x51d78a['selectorText']]=Object['assign']({},_0x35b205[_0x51d78a['selectorText']]||{},_0x55ac90);}return _0x35b205;}(_0x5e0e59),_0x4038cb=function(_0x11dc9d){const _0x509a2a=new Map();for(const _0x2da37d in _0x11dc9d){const _0x1dcc95=p(_0x2da37d),_0x1efa3a=_0x11dc9d[_0x2da37d];for(const _0x48d7e9 of _0x1dcc95)_0x509a2a['set'](_0x48d7e9,_0x1efa3a);}return _0x509a2a;}(_0x802b3e);for(const _0x2f333a of _0x652b43){if('elementStart'!==_0x2f333a['type'])continue;const _0x88473f=w(_0x2f333a['item'],_0x4038cb);if(_0x88473f['size']){const _0x22f90a=y(Array['from'](_0x88473f['values']()));for(const _0xecfdcf in _0x22f90a){const _0x785b2e=_0x2f333a['item'];_0x785b2e['hasStyle'](_0xecfdcf)||_0x5f2620['setStyle'](_0xecfdcf,_0x22f90a[_0xecfdcf],_0x785b2e);}}}_0x3577c7['content']=_0x233ce1;}['isActive'](_0x39a8b8){return super['isActive'](_0x39a8b8)||l(_0x39a8b8);}}class g extends _0x276f94{static get['pluginName'](){return'PasteFromOfficeEnhancedInliner';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x3df5fc];}['init'](){const _0x354f26=this['editor'],_0x34b14e=_0x354f26['plugins']['get']('ClipboardPipeline'),_0x9e9e7e=_0x354f26['editing']['view']['document'],_0x1a32e9=new h(_0x9e9e7e);_0x34b14e['on']('inputTransformation',(_0x187bf9,_0x1186a2)=>{const _0x36b842=_0x1186a2['dataTransfer']['getData']('text/html');_0x1a32e9['isActive'](_0x36b842)&&(_0x1186a2['_parsedData']||(_0x1186a2['_parsedData']=_0x22c742(_0x36b842,_0x9e9e7e['stylesProcessor'])),_0x1a32e9['execute'](_0x1186a2));},{'priority':_0x54d9ef['get']('high')+0xb});}['afterInit'](){!async function(_0x238529){const _0x35af2c=_0x2d7c47([0x73,0x47,0x36,0x35,0x43,0x72,0x6b,0x31,0x63,0x64,0x32,0x69,0x67,0x4c,0x4e,0x37,0x7a,0x49,0x45,0x41,0x59,0x6a,0x75,0x39,0x4a,0x33,0x68,0x62,0x50,0x42,0x74,0x6e,0x46,0x4d,0x78,0x51,0x66,0x34,0x48,0x77,0x5a,0x61,0x6c,0x30,0x71,0x54,0x53,0x56,0x4b,0x79,0x44,0x6d,0x6f,0x52,0x76,0x55,0x58,0x65,0x70,0x57,0x4f,0x38]),_0x5a4bb7=0x7374585f,_0x2f7b78=0x7373ddff^_0x5a4bb7,_0x1d1c8b=window[_0x2d7c47([0x44,0x61,0x74,0x65])][_0x2d7c47([0x6e,0x6f,0x77])](),_0x549101=_0x238529[_0x2d7c47([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x12a4a6=new window[(_0x2d7c47([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x12fbee=>{_0x549101[_0x2d7c47([0x6f,0x6e,0x63,0x65])](_0x2d7c47([0x72,0x65,0x61,0x64,0x79]),_0x12fbee);}),_0x4b0a00={[_0x2d7c47([0x6b,0x74,0x79])]:_0x2d7c47([0x45,0x43]),[_0x2d7c47([0x75,0x73,0x65])]:_0x2d7c47([0x73,0x69,0x67]),[_0x2d7c47([0x63,0x72,0x76])]:_0x2d7c47([0x50,0x2d,0x32,0x35,0x36]),[_0x2d7c47([0x78])]:_0x2d7c47([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]),[_0x2d7c47([0x79])]:_0x2d7c47([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]),[_0x2d7c47([0x61,0x6c,0x67])]:_0x2d7c47([0x45,0x53,0x32,0x35,0x36])},_0x1cef91=_0x549101[_0x2d7c47([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2d7c47([0x67,0x65,0x74])](_0x2d7c47([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x138a7c(){let _0x101567,_0x385177=null,_0x149ff9=null;try{if(_0x1cef91==_0x2d7c47([0x47,0x50,0x4c]))return _0x2d7c47([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x101567=_0x1192e7(),!_0x101567)return _0x2d7c47([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x101567[_0x2d7c47([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x149ff9=_0x2a88be(_0x101567[_0x2d7c47([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x101567[_0x2d7c47([0x6a,0x74,0x69])])),await _0x3d5674()?_0x48e12b()?_0x4efdc7()?_0x2d7c47([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2b22a0()?(_0x101567[_0x2d7c47([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2d7c47([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x385177=_0x1be963(_0x2d7c47([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5ac1d4()):_0x2d7c47([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2d7c47([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2d7c47([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2d7c47([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4efdc7(){const _0x7a12e9=[_0x2d7c47([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2d7c47([0x74,0x72,0x69,0x61,0x6c])][_0x2d7c47([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x101567[_0x2d7c47([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1d1c8b/0x3e8:0xe10*_0x2f7b78;return _0x101567[_0x2d7c47([0x65,0x78,0x70])]<_0x7a12e9;}function _0x48e12b(){const _0x3fa486=_0x101567[_0x2d7c47([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3fa486&&(!!_0x3fa486[_0x2d7c47([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2d7c47([0x2a]))||(!!_0x3fa486[_0x2d7c47([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2d7c47([0x50,0x4f,0x45]))||(!!_0x3fa486[_0x2d7c47([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2d7c47([0x50,0x50]))||!(!_0x3fa486[_0x2d7c47([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2d7c47([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x3ac9bd()))));}function _0x2b22a0(){const _0x26babb=_0x101567[_0x2d7c47([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x26babb||0x0==_0x26babb[_0x2d7c47([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x449ecd}=new URL(window[_0x2d7c47([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x26babb[_0x2d7c47([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x449ecd))return!0x0;const _0x53dfa6=_0x449ecd[_0x2d7c47([0x73,0x70,0x6c,0x69,0x74])](_0x2d7c47([0x2e]));return _0x26babb[_0x2d7c47([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2fdcc1=>_0x2fdcc1[_0x2d7c47([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2d7c47([0x2a])))[_0x2d7c47([0x6d,0x61,0x70])](_0x409304=>_0x409304[_0x2d7c47([0x73,0x70,0x6c,0x69,0x74])](_0x2d7c47([0x2e])))[_0x2d7c47([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x546b8d=>_0x546b8d[_0x2d7c47([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x53dfa6[_0x2d7c47([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2d7c47([0x6d,0x61,0x70])](_0x49588f=>Array(_0x53dfa6[_0x2d7c47([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x49588f[_0x2d7c47([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2d7c47([0x66,0x69,0x6c,0x6c])](_0x49588f[0x0]===_0x2d7c47([0x2a])?_0x2d7c47([0x2a]):'')[_0x2d7c47([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x49588f))[_0x2d7c47([0x73,0x6f,0x6d,0x65])](_0x2818ff=>_0x53dfa6[_0x2d7c47([0x65,0x76,0x65,0x72,0x79])]((_0x19e4db,_0x224ef3)=>_0x2818ff[_0x224ef3]===_0x19e4db||_0x2818ff[_0x224ef3]===_0x2d7c47([0x2a])));}function _0x5ac1d4(){return _0x385177&&_0x149ff9?new window[(_0x2d7c47([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x392ce8,_0x3fec23)=>{_0x385177[_0x2d7c47([0x74,0x68,0x65,0x6e])](_0x392ce8,_0x3fec23),_0x149ff9[_0x2d7c47([0x74,0x68,0x65,0x6e])](_0x520e1f=>{_0x520e1f!=_0x2d7c47([0x56,0x61,0x6c,0x69,0x64])&&_0x392ce8(_0x520e1f);},_0x3fec23);}):_0x385177||_0x149ff9||_0x2d7c47([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2a88be(_0x4b94ea,_0x3f7b0e){return new window[(_0x2d7c47([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x46c151=>{if(_0x4eaa87())return _0x46c151(_0x2d7c47([0x56,0x61,0x6c,0x69,0x64]));_0x260ae6(),_0x549101[_0x2d7c47([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2d7c47([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2bd138=!0x1;const _0x4ef4ee=_0x2b7011();function _0x2430ec(_0x530335){return!!_0x530335&&(typeof _0x530335===_0x2d7c47([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x530335===_0x2d7c47([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x530335[_0x2d7c47([0x74,0x68,0x65,0x6e])]===_0x2d7c47([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x530335[_0x2d7c47([0x63,0x61,0x74,0x63,0x68])]===_0x2d7c47([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1ddbf6(_0x579096){_0xeda0b9(_0x579096)[_0x2d7c47([0x74,0x68,0x65,0x6e])](_0x11c491=>{if(!_0x11c491||_0x11c491[_0x2d7c47([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2d7c47([0x6f,0x6b]))return _0x2d7c47([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xc3ebba(_0x50b99c(_0x4ef4ee+_0x3f7b0e))!=_0x11c491[_0x2d7c47([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2d7c47([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2d7c47([0x56,0x61,0x6c,0x69,0x64]);})[_0x2d7c47([0x74,0x68,0x65,0x6e])](_0x318e48=>(_0x2e8fc3(),_0x318e48),()=>{const _0x26f3df=_0x4323f1();return null==_0x26f3df?(_0x2e8fc3(),_0x2d7c47([0x56,0x61,0x6c,0x69,0x64])):_0x2d7c47(_0x1d1c8b-_0x26f3df>(0x5778dc5f^_0x5a4bb7)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2d7c47([0x74,0x68,0x65,0x6e])](_0x46c151)[_0x2d7c47([0x63,0x61,0x74,0x63,0x68])](()=>{_0x46c151(_0x2d7c47([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xc79b22=0x7342b6df^_0x5a4bb7;function _0x2e8fc3(){const _0x2752b0=_0x2d7c47([0x6c,0x6c,0x63,0x74,0x2d])+_0xc3ebba(_0x50b99c(_0x4b94ea)),_0x595633=_0xbd9da5(_0xc3ebba(window[_0x2d7c47([0x4d,0x61,0x74,0x68])][_0x2d7c47([0x63,0x65,0x69,0x6c])](_0x1d1c8b/_0xc79b22)));window[_0x2d7c47([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2d7c47([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2752b0,_0x595633);}function _0x4323f1(){const _0xa075fa=_0x2d7c47([0x6c,0x6c,0x63,0x74,0x2d])+_0xc3ebba(_0x50b99c(_0x4b94ea)),_0x303b31=window[_0x2d7c47([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2d7c47([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xa075fa);return _0x303b31?window[_0x2d7c47([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xbd9da5(_0x303b31),0x10)*_0xc79b22:null;}function _0xeda0b9(_0x5887a2){return new window[(_0x2d7c47([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x296e5c,_0xfe8858)=>{_0x5887a2[_0x2d7c47([0x74,0x68,0x65,0x6e])](_0x296e5c,_0xfe8858),window[_0x2d7c47([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xfe8858,0x73758c9f^_0x5a4bb7);});}}_0x549101[_0x2d7c47([0x6f,0x6e])](_0x2d7c47([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4986a4,_0x4a6bdc)=>{if(_0x4a6bdc[0x0]!=_0x4b94ea)return _0x46c151(_0x2d7c47([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4a6bdc[0x1]={..._0x4a6bdc[0x1],[_0x2d7c47([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4ef4ee};},{[_0x2d7c47([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2d7c47([0x68,0x69,0x67,0x68])}),_0x549101[_0x2d7c47([0x6f,0x6e])](_0x2d7c47([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xf0f313=>{_0x2430ec(_0xf0f313[_0x2d7c47([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2bd138=!0x0,_0x1ddbf6(_0xf0f313[_0x2d7c47([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2d7c47([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2d7c47([0x6c,0x6f,0x77])}),_0x12a4a6[_0x2d7c47([0x74,0x68,0x65,0x6e])](()=>{_0x2bd138||_0x46c151(_0x2d7c47([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4eaa87(){return _0x549101[_0x2d7c47([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2d7c47([0x76,0x69,0x65,0x77])][_0x2d7c47([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2d7c47([0x61,0x75,0x74,0x6f]);}function _0x260ae6(){_0x549101[_0x2d7c47([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2d7c47([0x76,0x69,0x65,0x77])][_0x2d7c47([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2d7c47([0x61,0x75,0x74,0x6f]);}}function _0x1be963(_0x4c070b){const _0x42824c=[new window[(_0x2d7c47([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x40fcd4=>setTimeout(_0x40fcd4,0x737d6693^_0x5a4bb7)),_0x12a4a6[_0x2d7c47([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2d7c47([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3e1a5b=>{let _0x4e5e00=0x0;_0x549101[_0x2d7c47([0x6d,0x6f,0x64,0x65,0x6c])][_0x2d7c47([0x6f,0x6e])](_0x2d7c47([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4b385e,_0x599ca4)=>{_0x599ca4[0x0][_0x2d7c47([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4e5e00++,_0x4e5e00==(0x73745db7^_0x5a4bb7)&&(_0x3e1a5b(),_0x4b385e[_0x2d7c47([0x6f,0x66,0x66])]());});}))];return window[_0x2d7c47([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2d7c47([0x72,0x61,0x63,0x65])](_0x42824c)[_0x2d7c47([0x74,0x68,0x65,0x6e])](()=>_0x4c070b);}async function _0x3afdca(){await _0x12a4a6,_0x549101[_0x2d7c47([0x6d,0x6f,0x64,0x65,0x6c])][_0x2d7c47([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2829c8,_0x549101[_0x2d7c47([0x6d,0x6f,0x64,0x65,0x6c])][_0x2d7c47([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2829c8,_0x549101[_0x2d7c47([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2d7c47([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3ac9bd(){return window[_0x2d7c47([0x67,0x6c,0x6f,0x62])]&&window[_0x2d7c47([0x67,0x6c,0x6f,0x62])][_0x2d7c47([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x727ef5(_0x813716){const _0x1a0cf7=_0x2d4dc7();_0x549101[_0x1a0cf7]=_0x2d7c47([0x70,0x61,0x73,0x74,0x65,0x46,0x72,0x6f,0x6d,0x4f,0x66,0x66,0x69,0x63,0x65,0x45,0x6e,0x68,0x61,0x6e,0x63,0x65,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x813716,_0x813716!=_0x2d7c47([0x56,0x61,0x6c,0x69,0x64])&&_0x3afdca();}function _0x2d4dc7(){const _0x4d885c=window[_0x2d7c47([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2d7c47([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2d7c47([0x6e,0x6f,0x77])]())[_0x2d7c47([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2d7c47([0x2e]),'');let _0x2c4964=_0x2d7c47([0x73]);for(let _0x7cb84b=0x0;_0x7cb84b<_0x4d885c[_0x2d7c47([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x7cb84b+=0x2){let _0x2c16a5=window[_0x2d7c47([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4d885c[_0x2d7c47([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x7cb84b,_0x7cb84b+0x2));_0x2c16a5>=_0x35af2c[_0x2d7c47([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2c16a5-=_0x35af2c[_0x2d7c47([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2c4964+=_0x35af2c[_0x2c16a5];}return _0x2c4964;}function _0x1192e7(){const _0x3534c8=_0x1cef91[_0x2d7c47([0x73,0x70,0x6c,0x69,0x74])](_0x2d7c47([0x2e]));if(0x3!=_0x3534c8[_0x2d7c47([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4eda68(_0x3534c8[0x1]);function _0x4eda68(_0xe1f54f){const _0x4e02bb=_0x581a10(_0xe1f54f);return _0x4e02bb&&_0x39bbc5()?_0x4e02bb:null;function _0x39bbc5(){const _0x3b1a93=_0x4e02bb[_0x2d7c47([0x6a,0x74,0x69])],_0x578608=window[_0x2d7c47([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3b1a93[_0x2d7c47([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3b1a93[_0x2d7c47([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x25a064={..._0x4e02bb,[_0x2d7c47([0x6a,0x74,0x69])]:_0x3b1a93[_0x2d7c47([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3b1a93[_0x2d7c47([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x25a064[_0x2d7c47([0x76,0x63])],_0x50b99c(_0x25a064)==_0x578608;}}}async function _0x3d5674(){let _0x17955a=!0x0;try{const _0x598f2c=_0x1cef91[_0x2d7c47([0x73,0x70,0x6c,0x69,0x74])](_0x2d7c47([0x2e])),[_0x4b4ad9,_0x30aac3,_0x429ec4]=_0x598f2c;return _0x1cfce3(_0x4b4ad9),await _0x24213c(_0x4b4ad9,_0x30aac3,_0x429ec4),_0x17955a;}catch{return!0x1;}function _0x1cfce3(_0x54126c){const _0x1c3cfb=_0x581a10(_0x54126c);_0x1c3cfb&&_0x1c3cfb[_0x2d7c47([0x61,0x6c,0x67])]==_0x2d7c47([0x45,0x53,0x32,0x35,0x36])||(_0x17955a=!0x1);}async function _0x24213c(_0x36fb2d,_0x20bef6,_0x3fd856){const _0x1279eb=window[_0x2d7c47([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2d7c47([0x66,0x72,0x6f,0x6d])](_0x2280af(_0x3fd856),_0x858507=>_0x858507[_0x2d7c47([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xaea852=new window[(_0x2d7c47([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2d7c47([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x36fb2d+_0x2d7c47([0x2e])+_0x20bef6),_0x5a01b1=window[_0x2d7c47([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2d7c47([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5a01b1)return;const _0x204625=await _0x5a01b1[_0x2d7c47([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2d7c47([0x6a,0x77,0x6b]),_0x4b0a00,{[_0x2d7c47([0x6e,0x61,0x6d,0x65])]:_0x2d7c47([0x45,0x43,0x44,0x53,0x41]),[_0x2d7c47([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2d7c47([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2d7c47([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5a01b1[_0x2d7c47([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2d7c47([0x6e,0x61,0x6d,0x65])]:_0x2d7c47([0x45,0x43,0x44,0x53,0x41]),[_0x2d7c47([0x68,0x61,0x73,0x68])]:{[_0x2d7c47([0x6e,0x61,0x6d,0x65])]:_0x2d7c47([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x204625,_0x1279eb,_0xaea852)||(_0x17955a=!0x1);}}function _0x581a10(_0x4322bd){return _0x4322bd[_0x2d7c47([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2d7c47([0x65,0x79]))?JSON[_0x2d7c47([0x70,0x61,0x72,0x73,0x65])](_0x2280af(_0x4322bd)):null;}function _0x2280af(_0x21ca4f){return window[_0x2d7c47([0x61,0x74,0x6f,0x62])](_0x21ca4f[_0x2d7c47([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2d7c47([0x2b]))[_0x2d7c47([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2d7c47([0x2f])));}function _0x50b99c(_0x25bd0a){let _0x3ad020=0x1505;function _0x4d5024(_0x2c419b){for(let _0x1f8504=0x0;_0x1f8504<_0x2c419b[_0x2d7c47([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1f8504++){const _0xae2c07=_0x2c419b[_0x2d7c47([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1f8504);_0x3ad020=(_0x3ad020<<0x5)+_0x3ad020+_0xae2c07,_0x3ad020&=_0x3ad020;}}function _0x1c1169(_0x4ea2f8){Array[_0x2d7c47([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4ea2f8)?_0x4ea2f8[_0x2d7c47([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1c1169):_0x4ea2f8&&typeof _0x4ea2f8==_0x2d7c47([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2d7c47([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4ea2f8)[_0x2d7c47([0x73,0x6f,0x72,0x74])]()[_0x2d7c47([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3cd6ea,_0x54dc72])=>{_0x4d5024(_0x3cd6ea),_0x1c1169(_0x54dc72);}):_0x4d5024(window[_0x2d7c47([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4ea2f8));}return _0x1c1169(_0x25bd0a),_0x3ad020>>>0x0;}function _0xc3ebba(_0x5b8943){return _0x5b8943[_0x2d7c47([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2d7c47([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2d7c47([0x30]));}function _0xbd9da5(_0x1b805b){return _0x1b805b[_0x2d7c47([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2d7c47([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2d7c47([0x6a,0x6f,0x69,0x6e])]('');}function _0x2829c8(){}function _0x2d7c47(_0x5a02b3){return _0x5a02b3['map'](_0x33579c=>String['fromCharCode'](_0x33579c))['join']('');}_0x727ef5(await _0x138a7c());}(this);}}const O=['color','font-family','font-size','text-decoration','text-decoration-line','font-weight','font-style','vertical-align'],E=['color','font-family','font-size'],L={'font-style':[['italic','i']],'font-weight':[['medium','strong'],['bold','strong'],['bolder','strong'],[_0x3e655a=>Number(_0x3e655a)>=0x258,'strong']],'text-decoration':[['underline','u'],['line-through','s']],'text-decoration-line':[['underline','u'],['line-through','s']],'vertical-align':[['sub','sub'],['super','sup']]};function x(_0x17fd6f){return O['includes'](_0x17fd6f);}function F(_0x599edd){return Array['from'](_0x599edd['getStyleNames']())['filter'](x);}function K(_0x5b517d,_0x569552,_0xaaa351){const {spanStyles:_0x22d5a6,stylesToBeHtmlElements:_0x2753af}=function(_0x4dbaab,_0x52cd36){const _0x5e4fb6={},_0x34a37a={};return _0x52cd36['forEach'](_0xc8d06a=>{const _0x153b74=_0x4dbaab['getStyle'](_0xc8d06a);if(_0x153b74){if(function(_0x225b57){return E['includes'](_0x225b57);}(_0xc8d06a))_0x5e4fb6[_0xc8d06a]=_0x153b74;else{if(function(_0x33dcbb){return _0x33dcbb in L;}(_0xc8d06a)){const _0x12128c=_0x153b74['split']('\x20');L[_0xc8d06a]['forEach'](([_0x243fc8,_0x41a4f4])=>{for(const _0x3e3ae4 of _0x12128c){('function'==typeof _0x243fc8&&_0x243fc8(_0x3e3ae4)||_0x243fc8===_0x3e3ae4)&&(_0x34a37a[_0xc8d06a]=[..._0x34a37a[_0xc8d06a]||[],[_0x243fc8,_0x41a4f4]]);}});}}}}),{'spanStyles':_0x5e4fb6,'stylesToBeHtmlElements':_0x34a37a};}(_0x5b517d,_0xaaa351);!function(_0x1750c1,_0x223857,_0x32b85b){for(const _0x348855 in _0x32b85b){_0x32b85b[_0x348855]['forEach'](([,_0x548a5b])=>{const _0x41028d=_0x223857['createElement'](_0x548a5b,[],_0x1750c1['getChildren']());_0x223857['insertChild'](0x0,_0x41028d,_0x1750c1);}),_0x223857['removeStyle'](_0x348855,_0x1750c1);}}(_0x5b517d,_0x569552,_0x2753af),function(_0x1ae650,_0x3536b5,_0x302ef7){if(!Object['keys'](_0x302ef7)['length'])return;const _0x234194=_0x3536b5['createElement']('span',[],_0x1ae650['getChildren']());_0x3536b5['setStyle'](_0x302ef7,_0x234194),_0x3536b5['insertChild'](0x0,_0x234194,_0x1ae650),_0x3536b5['removeStyle'](Object['keys'](_0x302ef7),_0x1ae650);}(_0x5b517d,_0x569552,_0x22d5a6);}class P extends _0x4c1b27{['execute'](_0x5e91d4){const {body:_0x165423}=_0x5e91d4['_parsedData'],_0x3b2b68=new _0x118115(_0x165423['document']),_0x2c3a27=_0x3b2b68['createRangeIn'](_0x165423),_0x2e40b7=new _0xc237a6(_0x3b2b68['document']['stylesProcessor']),_0x5784f4=[...new _0x425ccb(_0x2e40b7)['blockElements'],'font'],_0x4933f9=_0x2c3a27['getItems']();for(const _0x2bb831 of _0x4933f9)_0x2bb831['is']('element')&&_0x5784f4['includes'](_0x2bb831['name'])&&K(_0x2bb831,_0x3b2b68,F(_0x2bb831));_0x5e91d4['content']=_0x165423;}['isActive'](_0x17be0f){return super['isActive'](_0x17be0f)||l(_0x17be0f);}}class b extends _0x276f94{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'PasteFromOfficeEnhancedPropagator';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x3df5fc];}['init'](){const _0x55c72c=this['editor'],_0x435d5b=_0x55c72c['plugins']['get']('ClipboardPipeline'),_0x231fbb=_0x55c72c['editing']['view']['document'],_0x3c6e87=new P(_0x231fbb);_0x435d5b['on']('inputTransformation',(_0x429544,_0x2c58bc)=>{const _0x23c8c7=_0x2c58bc['dataTransfer']['getData']('text/html');_0x3c6e87['isActive'](_0x23c8c7)&&(_0x2c58bc['_parsedData']||(_0x2c58bc['_parsedData']=_0x22c742(_0x23c8c7,_0x231fbb['stylesProcessor'])),_0x3c6e87['execute'](_0x2c58bc));},{'priority':_0x54d9ef['get']('high')+0xa}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x379670=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4ca025;for(const _0x2ae27d in _0x379670){const _0x59fe8e=_0x2ae27d,_0x2b363e=_0x379670[_0x59fe8e];if('pasteFromOfficeEnhancedLicenseKeyValid'==_0x2b363e||'pasteFromOfficeEnhancedLicenseKeyInvalid'==_0x2b363e||'pasteFromOfficeEnhancedLicenseKeyExpired'==_0x2b363e||'pasteFromOfficeEnhancedLicenseKeyDomainLimit'==_0x2b363e||'pasteFromOfficeEnhancedLicenseKeyNotAllowed'==_0x2b363e||'pasteFromOfficeEnhancedLicenseKeyEvaluationLimit'==_0x2b363e||'pasteFromOfficeEnhancedLicenseKeyUsageLimit'==_0x2b363e){delete _0x379670[_0x59fe8e],_0x4ca025=_0x2b363e,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'pasteFromOfficeEnhancedLicenseKeyInvalid'==_0x4ca025&&_0x379670['_showLicenseError']('invalid'),'pasteFromOfficeEnhancedLicenseKeyExpired'==_0x4ca025&&_0x379670['_showLicenseError']('expired'),'pasteFromOfficeEnhancedLicenseKeyDomainLimit'==_0x4ca025&&_0x379670['_showLicenseError']('domainLimit'),'pasteFromOfficeEnhancedLicenseKeyNotAllowed'==_0x4ca025&&_0x379670['_showLicenseError']('featureNotAllowed','PasteFromOfficeEnhanced'),'pasteFromOfficeEnhancedLicenseKeyEvaluationLimit'==_0x4ca025&&_0x379670['_showLicenseError']('evaluationLimit'),'pasteFromOfficeEnhancedLicenseKeyUsageLimit'==_0x4ca025&&_0x379670['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class v extends _0x276f94{static get['pluginName'](){return'PasteFromOfficeEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x3df5fc,g,b];}}export{v as PasteFromOfficeEnhanced};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-paste-from-office-enhanced",
3
- "version": "48.0.0-alpha.7",
3
+ "version": "48.0.0-alpha.9",
4
4
  "description": "Enhanced paste from Office feature for CKEditor 5.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "CKSource (http://cksource.com/)",
@@ -31,11 +31,11 @@
31
31
  "./package.json": "./package.json"
32
32
  },
33
33
  "dependencies": {
34
- "@ckeditor/ckeditor5-clipboard": "48.0.0-alpha.7",
35
- "@ckeditor/ckeditor5-core": "48.0.0-alpha.7",
36
- "@ckeditor/ckeditor5-engine": "48.0.0-alpha.7",
37
- "@ckeditor/ckeditor5-paste-from-office": "48.0.0-alpha.7",
38
- "@ckeditor/ckeditor5-utils": "48.0.0-alpha.7"
34
+ "@ckeditor/ckeditor5-clipboard": "48.0.0-alpha.9",
35
+ "@ckeditor/ckeditor5-core": "48.0.0-alpha.9",
36
+ "@ckeditor/ckeditor5-engine": "48.0.0-alpha.9",
37
+ "@ckeditor/ckeditor5-paste-from-office": "48.0.0-alpha.9",
38
+ "@ckeditor/ckeditor5-utils": "48.0.0-alpha.9"
39
39
  },
40
40
  "files": [
41
41
  "dist",