@ckeditor/ckeditor5-export-inline-styles 48.1.0-alpha.1 → 48.1.0-alpha.3
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 +1 -1
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Command as _0x19ede7,Plugin as _0x4b3014}from'@ckeditor/ckeditor5-core/dist/index.js';import{collectStylesheets as _0x3d5de8,createElement as _0x9a628d,uid as _0xaff2bd}from'@ckeditor/ckeditor5-utils/dist/index.js';import{StylesMap as _0x457922,addMarginStylesRules as _0x25482d,addPaddingStylesRules as _0x517734}from'@ckeditor/ckeditor5-engine/dist/index.js';import{calculate as _0x2d3f58,compare as _0x8b67b1}from'specificity';function f(_0x411975){const _0xc2b878=[];let _0x4f312f='',_0x581703=0x0;for(;_0x581703<_0x411975['length'];){const _0x5509d5=_0x411975[_0x581703];if('('===_0x5509d5){const _0x5bb0c6=y(_0x411975,_0x581703+0x1);if(-0x1===_0x5bb0c6)return[];_0x4f312f+=_0x411975['slice'](_0x581703,_0x5bb0c6+0x1),_0x581703=_0x5bb0c6+0x1;}else','!==_0x5509d5||_0x4f312f['endsWith']('\x5c')?(_0x4f312f+=_0x5509d5,_0x581703++):(_0xc2b878['push'](_0x4f312f['trim']()),_0x4f312f='',_0x581703++);}return _0x4f312f['trim']()&&_0xc2b878['push'](_0x4f312f['trim']()),_0xc2b878['filter'](Boolean);}function y(_0x331375,_0x3ea991){let _0x157144=0x1;for(let _0x37be86=_0x3ea991;_0x37be86<_0x331375['length'];_0x37be86++){const _0x478989=_0x331375[_0x37be86];if('('===_0x478989)_0x157144++;else{if(')'===_0x478989&&(_0x157144--,0x0===_0x157144))return _0x37be86;}}return-0x1;}function w(_0x11191a){return _0x11191a['replace'](/!\s*important/i,'')['trim']();}function d(_0x4c862b,_0xd8305d){const _0x37cc5a=new Map(),_0x5b4d85=_0x333f46=>_0x37cc5a['has'](_0x333f46)?_0x37cc5a['get'](_0x333f46):_0x4c862b(_0x333f46);for(const [_0x29bb3e,_0x52f485]of _0xd8305d['getStylesEntries']())if(_0x52f485&&_0x29bb3e['startsWith']('--')){const _0x28bba9=p(_0x5b4d85,_0x52f485);_0x37cc5a['set'](_0x29bb3e,_0x28bba9),_0xd8305d['remove'](_0x29bb3e);}for(const [_0x1a8919,_0x513058]of _0xd8305d['getStylesEntries']())if(_0x513058){const _0x4e995f=p(_0x5b4d85,_0x513058);_0xd8305d['set'](_0x1a8919,_0x4e995f);}return _0x37cc5a;}function p(_0x2c3256,_0x3b31c1){return function(_0x27a1cd,_0x1c370c){let _0x2cf1bb='',_0x120340=0x0;for(;_0x120340<_0x27a1cd['length'];){const _0x1f690d=_0x27a1cd['indexOf']('var(',_0x120340);if(-0x1===_0x1f690d){_0x2cf1bb+=_0x27a1cd['slice'](_0x120340);break;}_0x2cf1bb+=_0x27a1cd['slice'](_0x120340,_0x1f690d);const _0x5d2f40=_0x1f690d+0x4,_0x4a2d55=y(_0x27a1cd,_0x5d2f40);_0x2cf1bb+=_0x1c370c(_0x27a1cd['substring'](_0x5d2f40,_0x4a2d55)),_0x120340=_0x4a2d55+0x1;}return _0x2cf1bb;}(_0x3b31c1,_0x4e2cb0=>{const [_0x5a6d40,_0x190275]=f(_0x4e2cb0),_0x7c36ee=_0x2c3256(_0x5a6d40);return void 0x0!==_0x7c36ee?_0x7c36ee:_0x190275?p(_0x2c3256,_0x190275):'var('+_0x5a6d40+')';});}async function m(_0x3af5e5){const _0x32f43e=[await _0x3d5de8(_0x3af5e5['stylesheets']),_0x3af5e5['inlineCss']]['filter'](_0xb59529=>_0xb59529&&_0xb59529['length'])['join']('\x0a'),_0x1a1b42=await async function(_0x41c4bf,_0x60a657){const _0x3e3e10=new CSSStyleSheet();return await _0x3e3e10['replace'](_0x60a657),h(Array['from'](_0x3e3e10['cssRules'])['filter'](_0x140fd2=>_0x140fd2 instanceof CSSStyleRule))['flatMap'](({selectorText:_0x359d2f,contentCssText:_0x555afb})=>{const _0x129420=f(_0x359d2f),_0x3f3474=new _0x457922(_0x41c4bf)['setTo'](_0x555afb);return _0x129420['map'](_0x5e7099=>{const _0x1fe6c1=function(_0x2ad25e){const _0x512985=':where(';let _0x4aebaa=_0x2ad25e,_0x23c415=0x0;for(let _0x209bb7=0x0;_0x209bb7<0x64;_0x209bb7++){const _0x23d596=_0x4aebaa['indexOf'](_0x512985,_0x23c415);if(-0x1===_0x23d596)break;let _0x3aeff7=0x0;for(let _0x465263=0x0;_0x465263<_0x23d596;_0x465263++)'('===_0x4aebaa[_0x465263]?_0x3aeff7++:')'===_0x4aebaa[_0x465263]&&_0x3aeff7--;if(_0x3aeff7>0x0){_0x23c415=_0x23d596+_0x512985['length'];continue;}let _0x547e7c=-0x1;for(let _0x4bb5b7=_0x23d596+_0x512985['length'],_0x35960d=0x1;_0x4bb5b7<_0x4aebaa['length'];_0x4bb5b7++)if('('===_0x4aebaa[_0x4bb5b7]?_0x35960d++:')'===_0x4aebaa[_0x4bb5b7]&&_0x35960d--,!_0x35960d){_0x547e7c=_0x4bb5b7;break;}-0x1!==_0x547e7c?(_0x4aebaa=_0x4aebaa['slice'](0x0,_0x23d596)+_0x4aebaa['slice'](_0x547e7c+0x1),_0x23c415=_0x23d596):_0x23c415=_0x23d596+_0x512985['length'];}return _0x4aebaa['replace'](/\s+/g,'\x20')['trim']();}(_0x5e7099),_0x2ee9ba=_0x1fe6c1?_0x2d3f58(_0x1fe6c1)[0x0]['specificityArray']:[0x0,0x0,0x0,0x0];return{'stylesMap':_0x3f3474,'flatSelector':_0x5e7099,'specificity':_0x2ee9ba};});})['sort']((_0x3e7892,_0x2cb0d5)=>_0x8b67b1(_0x3e7892['specificity'],_0x2cb0d5['specificity']));}(_0x3af5e5['stylesProcessor'],_0x32f43e);return{'parsedCssRules':_0x1a1b42,'rootCssVariables':function(_0xc28c87){const _0x4bf44e=new Map();for(const {stylesMap:_0x421107,flatSelector:_0x108f0b}of _0xc28c87){if(':root'!==_0x108f0b)continue;const _0x1d55d9=d(_0x4bf44e['get']['bind'](_0x4bf44e),_0x421107);for(const [_0x22d5e1,_0x153d42]of _0x1d55d9)_0x4bf44e['set'](_0x22d5e1,_0x153d42);}return _0x4bf44e;}(_0x1a1b42)};}function h(_0x529fa3,_0x20f551=''){return _0x529fa3['flatMap'](_0xa24f2e=>{const {selectorText:_0x244559,cssText:_0x35369d,cssRules:_0x435c96}=_0xa24f2e;if(!_0x244559)return[];const _0x410669=_0x244559['replace'](/&/g,_0x20f551);let _0x40f285=_0x35369d['replace'](_0x244559,'')['trim']()['replace'](/^{|}$/g,'');if(!_0x435c96||!_0x435c96['length'])return[{'selectorText':_0x410669,'contentCssText':_0x40f285}];for(const _0x3ba501 of _0x435c96)_0x40f285=_0x40f285['replace'](_0x3ba501['cssText'],'')['trim']();return[{'selectorText':_0x410669,'contentCssText':_0x40f285},...h(Array['from'](_0x435c96),_0x410669)];});}function S(_0x5c2f1f,_0x49ec74){const _0x4db5ad=new _0x457922(_0x5c2f1f);for(const _0x376469 of _0x49ec74){let _0x46dbcb=null;if(_0x46dbcb='string'==typeof _0x376469?new _0x457922(_0x5c2f1f)['setTo'](_0x376469):_0x376469,_0x46dbcb){for(const [_0x224e05,_0x16f804]of _0x46dbcb['getStylesEntries']())_0x4db5ad['set'](_0x224e05,_0x16f804);}}return _0x4db5ad;}class x extends _0x19ede7{['_stylesProcessor'];constructor(_0xcdce1){super(_0xcdce1),this['set']('isBusy',!0x1),this['_stylesProcessor']=this['editor']['data']['stylesProcessor'],_0x25482d(this['_stylesProcessor']),_0x517734(this['_stylesProcessor']),this['affectsData']=!0x1;}['refresh'](){this['isEnabled']=!this['isBusy'],this['value']=this['isBusy']?'pending':void 0x0;}async['execute'](_0x237e21){const _0x267ff0=this['editor']['config']['get']('exportInlineStyles'),{contentLanguageDirection:_0x456a61}=this['editor']['locale'],{rootName:_0x5ef759='main',dataControllerDowncastOptions:_0x694fd5={},transformations:_0x4c2eec=_0x267ff0['transformations']||[]}=_0x237e21||{};this['isBusy']=!0x0,this['refresh']();const _0x5e5f29=this['_getRootDataHTMLFragment'](_0x5ef759,_0x694fd5),_0x1aa557=_0x9a628d(_0x5e5f29['ownerDocument'],'div',{'dir':_0x456a61,'class':'ck-content'},[_0x5e5f29]);return this['_collectAndApplyStyles'](_0x4c2eec,_0x1aa557)['then'](()=>{const _0x4fcc50=function(_0x3fc934){const _0x3476c2=_0x3fc934['ownerDocument']['createDocumentFragment']();for(;_0x3fc934['firstChild'];)_0x3476c2['appendChild'](_0x3fc934['firstChild']);return _0x3476c2;}(_0x1aa557),_0x5de51b=_0x1aa557['getAttribute']('style');if(_0x5de51b)for(const _0x43e01d of _0x4fcc50['children']){const _0x156225=_0x43e01d['getAttribute']('style'),_0x15149c=S(this['_stylesProcessor'],[_0x5de51b,_0x156225]);_0x43e01d['setAttribute']('style',C(_0x15149c));}return this['editor']['data']['htmlProcessor']['htmlWriter']['getHtml'](_0x4fcc50);})['finally'](()=>{this['isBusy']=!0x1,this['refresh']();});}['_getRootDataHTMLFragment'](_0x56d8b7,_0x75f334){const {data:_0x503810,model:_0x233afb}=this['editor'],_0x3b813f=_0x233afb['document']['getRoot'](_0x56d8b7),_0x5f1283=_0x503810['toView'](_0x3b813f,_0x75f334);return _0x503810['htmlProcessor']['domConverter']['viewToDom'](_0x5f1283);}async['_collectAndApplyStyles'](_0x4359e9,_0x3b7d6e){const {stylesheets:_0x20591e,inlineCss:_0x333e67,stripCssClasses:_0x23be3c}=this['editor']['config']['get']('exportInlineStyles'),{parsedCssRules:_0x4151a3,rootCssVariables:_0x38074e}=await m({'stylesheets':_0x20591e||['EDITOR_STYLES'],'stylesProcessor':this['_stylesProcessor'],'inlineCss':_0x333e67}),_0x161ec1=[];this['_processElementTree']({'transformations':_0x4359e9,'parsedCssRules':_0x4151a3,'element':_0x3b7d6e,'stripCssClasses':_0x23be3c,'parentCSSVariablesLookup':_0x38074e['get']['bind'](_0x38074e),'runAfterDocumentTransformation':_0x3c3a54=>{_0x161ec1['unshift'](_0x3c3a54);}});for(const _0x3aad34 of _0x161ec1)_0x3aad34();}['_processElementTree']({element:_0x5c4199,parsedCssRules:_0x3cae10,parentCSSVariablesLookup:_0x43255e,runAfterDocumentTransformation:_0x41ba43,stripCssClasses:_0x2f3a4d,transformations:_0x537c78}){const {stylesMap:_0xf6cb61,localCSSVariables:_0x572ac7}=function(_0x572f2f){const _0x56f566=_0x572f2f['element']['getAttribute']('style')||'',_0x2277b7=_0x572f2f['parsedCssRules']['filter'](_0x32edea=>_0x572f2f['element']['matches'](_0x32edea['flatSelector']))['map'](_0x3cc162=>_0x3cc162['stylesMap']),_0x4913de=S(_0x572f2f['stylesProcessor'],[..._0x2277b7,_0x56f566]);return{'localCSSVariables':d(_0x572f2f['fallbackCSSVariablesLookup'],_0x4913de),'stylesMap':_0x4913de};}({'stylesProcessor':this['_stylesProcessor'],'fallbackCSSVariablesLookup':_0x43255e,'parsedCssRules':_0x3cae10,'element':_0x5c4199}),_0x357dc7=[];for(const _0x29cc01 of _0x537c78){const _0x20ac9a=_0x29cc01(_0x5c4199,_0xf6cb61,{'runAfterDocumentTransformation':_0x41ba43,'runAfterChildrenTransformation':_0x254b23=>{_0x357dc7['unshift'](_0x254b23);}});_0x20ac9a&&_0x20ac9a instanceof HTMLElement&&(_0x5c4199=_0x20ac9a);}_0xf6cb61['size']?_0x5c4199['setAttribute']('style',C(_0xf6cb61)):_0x5c4199['removeAttribute']('style');const _0x137f9b=_0xc9dd1e=>_0x572ac7['has'](_0xc9dd1e)?_0x572ac7['get'](_0xc9dd1e):_0x43255e(_0xc9dd1e);for(const _0x4180f6 of _0x5c4199['children'])_0x4180f6 instanceof HTMLElement&&this['_processElementTree']({'element':_0x4180f6,'parsedCssRules':_0x3cae10,'stripCssClasses':_0x2f3a4d,'transformations':_0x537c78,'parentCSSVariablesLookup':_0x137f9b,'runAfterDocumentTransformation':_0x41ba43});_0x2f3a4d&&_0x5c4199['removeAttribute']('class');for(const _0x979335 of _0x357dc7)_0x979335();}}function C(_0x1eff97){return _0x1eff97['getStylesEntries']()['map'](_0x344e75=>_0x344e75['join'](':'))['join'](';')+';';}class L extends _0x4b3014{static get['pluginName'](){return'ExportInlineStylesEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['editor']['config']['define']('exportInlineStyles',{}),this['editor']['commands']['add']('exportInlineStyles',new x(this['editor']));}['afterInit'](){!async function(_0x47ae1d){const _0x29850e=_0x25444e([0x44,0x55,0x41,0x36,0x31,0x30,0x65,0x6d,0x4c,0x34,0x51,0x32,0x6b,0x6a,0x56,0x49,0x76,0x47,0x4d,0x48,0x67,0x57,0x54,0x33,0x75,0x79,0x53,0x6e,0x7a,0x50,0x45,0x77,0x37,0x39,0x6f,0x5a,0x4a,0x69,0x43,0x72,0x62,0x73,0x74,0x63,0x58,0x4b,0x71,0x38,0x35,0x4e,0x68,0x64,0x66,0x61,0x46,0x52,0x78,0x42,0x6c,0x70,0x4f,0x59]),_0x2f5f93=0x6f40c3fb,_0x4b041d=0x6f474a9b^_0x2f5f93,_0x56f93d=window[_0x25444e([0x44,0x61,0x74,0x65])][_0x25444e([0x6e,0x6f,0x77])](),_0x568af2=_0x47ae1d[_0x25444e([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x44418b=new window[(_0x25444e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x43e2a1=>{_0x568af2[_0x25444e([0x6f,0x6e,0x63,0x65])](_0x25444e([0x72,0x65,0x61,0x64,0x79]),_0x43e2a1);}),_0xd90e5e={[_0x25444e([0x6b,0x74,0x79])]:_0x25444e([0x45,0x43]),[_0x25444e([0x75,0x73,0x65])]:_0x25444e([0x73,0x69,0x67]),[_0x25444e([0x63,0x72,0x76])]:_0x25444e([0x50,0x2d,0x32,0x35,0x36]),[_0x25444e([0x78])]:_0x25444e([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]),[_0x25444e([0x79])]:_0x25444e([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]),[_0x25444e([0x61,0x6c,0x67])]:_0x25444e([0x45,0x53,0x32,0x35,0x36])},_0x400b40=_0x568af2[_0x25444e([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x25444e([0x67,0x65,0x74])](_0x25444e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x33aaf7(){let _0x3e1c1e,_0x38ad24=null,_0xff6134=null;try{if(_0x400b40==_0x25444e([0x47,0x50,0x4c]))return _0x25444e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3e1c1e=_0x1b3579(),!_0x3e1c1e)return _0x25444e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3e1c1e[_0x25444e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xff6134=_0x298e12(_0x3e1c1e[_0x25444e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3e1c1e[_0x25444e([0x6a,0x74,0x69])])),await _0x496372()?_0x54088d()?_0x37f250()?_0x25444e([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4dc715()?(_0x3e1c1e[_0x25444e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x25444e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x38ad24=_0x2fa09f(_0x25444e([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x232f85()):_0x25444e([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x25444e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x25444e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x25444e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x37f250(){const _0x25358c=[_0x25444e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x25444e([0x74,0x72,0x69,0x61,0x6c])][_0x25444e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e1c1e[_0x25444e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x56f93d/0x3e8:0xe10*_0x4b041d;return _0x3e1c1e[_0x25444e([0x65,0x78,0x70])]<_0x25358c;}function _0x54088d(){const _0x1a8579=_0x3e1c1e[_0x25444e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1a8579&&(!!_0x1a8579[_0x25444e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x25444e([0x2a]))||!!_0x1a8579[_0x25444e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x25444e([0x45,0x49,0x53])));}function _0x4dc715(){const _0x18217c=_0x3e1c1e[_0x25444e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x18217c||0x0==_0x18217c[_0x25444e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x488d81}=new URL(window[_0x25444e([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x18217c[_0x25444e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x488d81))return!0x0;const _0x527f1e=_0x488d81[_0x25444e([0x73,0x70,0x6c,0x69,0x74])](_0x25444e([0x2e]));return _0x18217c[_0x25444e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x39ad06=>_0x39ad06[_0x25444e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x25444e([0x2a])))[_0x25444e([0x6d,0x61,0x70])](_0xe6bb6e=>_0xe6bb6e[_0x25444e([0x73,0x70,0x6c,0x69,0x74])](_0x25444e([0x2e])))[_0x25444e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x11956d=>_0x11956d[_0x25444e([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x527f1e[_0x25444e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x25444e([0x6d,0x61,0x70])](_0x511e25=>Array(_0x527f1e[_0x25444e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x511e25[_0x25444e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x25444e([0x66,0x69,0x6c,0x6c])](_0x511e25[0x0]===_0x25444e([0x2a])?_0x25444e([0x2a]):'')[_0x25444e([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x511e25))[_0x25444e([0x73,0x6f,0x6d,0x65])](_0x49c2d1=>_0x527f1e[_0x25444e([0x65,0x76,0x65,0x72,0x79])]((_0x2f8337,_0x1d2502)=>_0x49c2d1[_0x1d2502]===_0x2f8337||_0x49c2d1[_0x1d2502]===_0x25444e([0x2a])));}function _0x232f85(){return _0x38ad24&&_0xff6134?new window[(_0x25444e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x23e83f,_0x3b0979)=>{_0x38ad24[_0x25444e([0x74,0x68,0x65,0x6e])](_0x23e83f,_0x3b0979),_0xff6134[_0x25444e([0x74,0x68,0x65,0x6e])](_0x2dfb6b=>{_0x2dfb6b!=_0x25444e([0x56,0x61,0x6c,0x69,0x64])&&_0x23e83f(_0x2dfb6b);},_0x3b0979);}):_0x38ad24||_0xff6134||_0x25444e([0x56,0x61,0x6c,0x69,0x64]);}}function _0x298e12(_0x25343d,_0x1dded7){return new window[(_0x25444e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x512095=>{if(_0x377445())return _0x512095(_0x25444e([0x56,0x61,0x6c,0x69,0x64]));_0x3c95e4(),_0x568af2[_0x25444e([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x25444e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x47ff36=!0x1;const _0x2c5a12=_0xaff2bd();function _0x55897f(_0x1db711){return!!_0x1db711&&(typeof _0x1db711===_0x25444e([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1db711===_0x25444e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1db711[_0x25444e([0x74,0x68,0x65,0x6e])]===_0x25444e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1db711[_0x25444e([0x63,0x61,0x74,0x63,0x68])]===_0x25444e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1598c4(_0x111902){_0x18259b(_0x111902)[_0x25444e([0x74,0x68,0x65,0x6e])](_0xa89853=>{if(!_0xa89853||_0xa89853[_0x25444e([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x25444e([0x6f,0x6b]))return _0x25444e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x14e756(_0x359aea(_0x2c5a12+_0x1dded7))!=_0xa89853[_0x25444e([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x25444e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x25444e([0x56,0x61,0x6c,0x69,0x64]);})[_0x25444e([0x74,0x68,0x65,0x6e])](_0x5b9e53=>(_0x586b51(),_0x5b9e53),()=>{const _0x15fe2a=_0x49fb62();return null==_0x15fe2a?(_0x586b51(),_0x25444e([0x56,0x61,0x6c,0x69,0x64])):_0x25444e(_0x56f93d-_0x15fe2a>(0x4b4c47fb^_0x2f5f93)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x25444e([0x74,0x68,0x65,0x6e])](_0x512095)[_0x25444e([0x63,0x61,0x74,0x63,0x68])](()=>{_0x512095(_0x25444e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x179a91=0x6f762d7b^_0x2f5f93;function _0x586b51(){const _0x168a69=_0x25444e([0x6c,0x6c,0x63,0x74,0x2d])+_0x14e756(_0x359aea(_0x25343d)),_0x321def=_0x256587(_0x14e756(window[_0x25444e([0x4d,0x61,0x74,0x68])][_0x25444e([0x63,0x65,0x69,0x6c])](_0x56f93d/_0x179a91)));window[_0x25444e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x25444e([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x168a69,_0x321def);}function _0x49fb62(){const _0x59243e=_0x25444e([0x6c,0x6c,0x63,0x74,0x2d])+_0x14e756(_0x359aea(_0x25343d)),_0x1e161c=window[_0x25444e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x25444e([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x59243e);return _0x1e161c?window[_0x25444e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x256587(_0x1e161c),0x10)*_0x179a91:null;}function _0x18259b(_0x54a9a3){return new window[(_0x25444e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3de114,_0x59d332)=>{_0x54a9a3[_0x25444e([0x74,0x68,0x65,0x6e])](_0x3de114,_0x59d332),window[_0x25444e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x59d332,0x6f41173b^_0x2f5f93);});}}_0x568af2[_0x25444e([0x6f,0x6e])](_0x25444e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x16ed8f,_0x57f678)=>{if(_0x57f678[0x0]!=_0x25343d)return _0x512095(_0x25444e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x57f678[0x1]={..._0x57f678[0x1],[_0x25444e([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2c5a12};},{[_0x25444e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x25444e([0x68,0x69,0x67,0x68])}),_0x568af2[_0x25444e([0x6f,0x6e])](_0x25444e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5f19dd=>{_0x55897f(_0x5f19dd[_0x25444e([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x47ff36=!0x0,_0x1598c4(_0x5f19dd[_0x25444e([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x25444e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x25444e([0x6c,0x6f,0x77])}),_0x44418b[_0x25444e([0x74,0x68,0x65,0x6e])](()=>{_0x47ff36||_0x512095(_0x25444e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x377445(){return _0x568af2[_0x25444e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x25444e([0x76,0x69,0x65,0x77])][_0x25444e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x25444e([0x61,0x75,0x74,0x6f]);}function _0x3c95e4(){_0x568af2[_0x25444e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x25444e([0x76,0x69,0x65,0x77])][_0x25444e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x25444e([0x61,0x75,0x74,0x6f]);}}function _0x2fa09f(_0x5a315d){const _0x3d0c87=[new window[(_0x25444e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x418b91=>setTimeout(_0x418b91,0x6f49fd37^_0x2f5f93)),_0x44418b[_0x25444e([0x74,0x68,0x65,0x6e])](()=>new window[(_0x25444e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x392909=>{let _0x18c1b7=0x0;_0x568af2[_0x25444e([0x6d,0x6f,0x64,0x65,0x6c])][_0x25444e([0x6f,0x6e])](_0x25444e([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x41b595,_0x58864d)=>{_0x58864d[0x0][_0x25444e([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x18c1b7++,_0x18c1b7==(0x6f40c613^_0x2f5f93)&&(_0x392909(),_0x41b595[_0x25444e([0x6f,0x66,0x66])]());});}))];return window[_0x25444e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x25444e([0x72,0x61,0x63,0x65])](_0x3d0c87)[_0x25444e([0x74,0x68,0x65,0x6e])](()=>_0x5a315d);}async function _0x266291(){await _0x44418b;const _0x5e5098=_0x568af2['commands'][_0x25444e([0x67,0x65,0x74])](_0x25444e([0x65,0x78,0x70,0x6f,0x72,0x74,0x49,0x6e,0x6c,0x69,0x6e,0x65,0x53,0x74,0x79,0x6c,0x65,0x73]));_0x5e5098&&_0x5e5098[_0x25444e([0x6f,0x6e])](_0x25444e([0x65,0x78,0x65,0x63,0x75,0x74,0x65]),_0x2fb8fa=>{_0x2fb8fa['stop']();},{'priority':_0x25444e([0x68,0x69,0x67,0x68,0x65,0x73,0x74])}),_0x568af2[_0x25444e([0x6d,0x6f,0x64,0x65,0x6c])][_0x25444e([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1b986d,_0x568af2[_0x25444e([0x6d,0x6f,0x64,0x65,0x6c])][_0x25444e([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1b986d,_0x568af2[_0x25444e([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x25444e([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x529fe5(_0x462dbe){const _0xe13cd2=_0x3cf264();_0x568af2[_0xe13cd2]=_0x25444e([0x65,0x78,0x70,0x6f,0x72,0x74,0x49,0x6e,0x6c,0x69,0x6e,0x65,0x53,0x74,0x79,0x6c,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x462dbe,_0x462dbe!=_0x25444e([0x56,0x61,0x6c,0x69,0x64])&&_0x266291();}function _0x3cf264(){const _0x3d5786=window[_0x25444e([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x25444e([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x25444e([0x6e,0x6f,0x77])]())[_0x25444e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x25444e([0x2e]),'');let _0x4d8535=_0x25444e([0x44]);for(let _0x3a59b0=0x0;_0x3a59b0<_0x3d5786[_0x25444e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3a59b0+=0x2){let _0x2a66ae=window[_0x25444e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3d5786[_0x25444e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3a59b0,_0x3a59b0+0x2));_0x2a66ae>=_0x29850e[_0x25444e([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2a66ae-=_0x29850e[_0x25444e([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4d8535+=_0x29850e[_0x2a66ae];}return _0x4d8535;}function _0x1b3579(){const _0x47798c=_0x400b40[_0x25444e([0x73,0x70,0x6c,0x69,0x74])](_0x25444e([0x2e]));if(0x3!=_0x47798c[_0x25444e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4e77f3(_0x47798c[0x1]);function _0x4e77f3(_0x196130){const _0x4eedfe=_0x19ceea(_0x196130);return _0x4eedfe&&_0x463bca()?_0x4eedfe:null;function _0x463bca(){const _0x349024=_0x4eedfe[_0x25444e([0x6a,0x74,0x69])],_0x4aa7dc=window[_0x25444e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x349024[_0x25444e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x349024[_0x25444e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x136931={..._0x4eedfe,[_0x25444e([0x6a,0x74,0x69])]:_0x349024[_0x25444e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x349024[_0x25444e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x136931[_0x25444e([0x76,0x63])],_0x359aea(_0x136931)==_0x4aa7dc;}}}async function _0x496372(){let _0x458a82=!0x0;try{const _0x23006c=_0x400b40[_0x25444e([0x73,0x70,0x6c,0x69,0x74])](_0x25444e([0x2e])),[_0x57f132,_0x11cb9c,_0x5b543a]=_0x23006c;return _0x4a9f04(_0x57f132),await _0x79ec43(_0x57f132,_0x11cb9c,_0x5b543a),_0x458a82;}catch{return!0x1;}function _0x4a9f04(_0x56906e){const _0x270ab9=_0x19ceea(_0x56906e);_0x270ab9&&_0x270ab9[_0x25444e([0x61,0x6c,0x67])]==_0x25444e([0x45,0x53,0x32,0x35,0x36])||(_0x458a82=!0x1);}async function _0x79ec43(_0x3c0b85,_0x11f178,_0x45cf13){const _0x3fb685=window[_0x25444e([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x25444e([0x66,0x72,0x6f,0x6d])](_0x592468(_0x45cf13),_0x55cbae=>_0x55cbae[_0x25444e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5799f9=new window[(_0x25444e([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x25444e([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3c0b85+_0x25444e([0x2e])+_0x11f178),_0x2db110=window[_0x25444e([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x25444e([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2db110)return;const _0x2d24c8=await _0x2db110[_0x25444e([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x25444e([0x6a,0x77,0x6b]),_0xd90e5e,{[_0x25444e([0x6e,0x61,0x6d,0x65])]:_0x25444e([0x45,0x43,0x44,0x53,0x41]),[_0x25444e([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x25444e([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x25444e([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2db110[_0x25444e([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x25444e([0x6e,0x61,0x6d,0x65])]:_0x25444e([0x45,0x43,0x44,0x53,0x41]),[_0x25444e([0x68,0x61,0x73,0x68])]:{[_0x25444e([0x6e,0x61,0x6d,0x65])]:_0x25444e([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2d24c8,_0x3fb685,_0x5799f9)||(_0x458a82=!0x1);}}function _0x19ceea(_0x71b73b){return _0x71b73b[_0x25444e([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x25444e([0x65,0x79]))?JSON[_0x25444e([0x70,0x61,0x72,0x73,0x65])](_0x592468(_0x71b73b)):null;}function _0x592468(_0x3b5010){return window[_0x25444e([0x61,0x74,0x6f,0x62])](_0x3b5010[_0x25444e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x25444e([0x2b]))[_0x25444e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x25444e([0x2f])));}function _0x359aea(_0x426278){let _0x56d097=0x1505;function _0x41a112(_0x3f58f7){for(let _0x34f853=0x0;_0x34f853<_0x3f58f7[_0x25444e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x34f853++){const _0xbdd2d4=_0x3f58f7[_0x25444e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x34f853);_0x56d097=(_0x56d097<<0x5)+_0x56d097+_0xbdd2d4,_0x56d097&=_0x56d097;}}function _0x5bcf78(_0x118ba8){Array[_0x25444e([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x118ba8)?_0x118ba8[_0x25444e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5bcf78):_0x118ba8&&typeof _0x118ba8==_0x25444e([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x25444e([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x118ba8)[_0x25444e([0x73,0x6f,0x72,0x74])]()[_0x25444e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2a66ad,_0x2e04c0])=>{_0x41a112(_0x2a66ad),_0x5bcf78(_0x2e04c0);}):_0x41a112(window[_0x25444e([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x118ba8));}return _0x5bcf78(_0x426278),_0x56d097>>>0x0;}function _0x14e756(_0x214377){return _0x214377[_0x25444e([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x25444e([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x25444e([0x30]));}function _0x256587(_0x48b3f2){return _0x48b3f2[_0x25444e([0x73,0x70,0x6c,0x69,0x74])]('')[_0x25444e([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x25444e([0x6a,0x6f,0x69,0x6e])]('');}function _0x1b986d(){}function _0x25444e(_0x1ea2d7){return _0x1ea2d7['map'](_0x2526b5=>String['fromCharCode'](_0x2526b5))['join']('');}_0x529fe5(await _0x33aaf7());}(this);}}class g extends _0x4b3014{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'ExportInlineStyles';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[L];}['init'](){this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x486cb6=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3eb751;for(const _0x40901a in _0x486cb6){const _0x535386=_0x40901a,_0x3f753a=_0x486cb6[_0x535386];if('exportInlineStylesLicenseKeyValid'==_0x3f753a||'exportInlineStylesLicenseKeyInvalid'==_0x3f753a||'exportInlineStylesLicenseKeyExpired'==_0x3f753a||'exportInlineStylesLicenseKeyDomainLimit'==_0x3f753a||'exportInlineStylesLicenseKeyNotAllowed'==_0x3f753a||'exportInlineStylesLicenseKeyEvaluationLimit'==_0x3f753a||'exportInlineStylesLicenseKeyUsageLimit'==_0x3f753a){delete _0x486cb6[_0x535386],_0x3eb751=_0x3f753a,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'exportInlineStylesLicenseKeyInvalid'==_0x3eb751&&_0x486cb6['_showLicenseError']('invalid'),'exportInlineStylesLicenseKeyExpired'==_0x3eb751&&_0x486cb6['_showLicenseError']('expired'),'exportInlineStylesLicenseKeyDomainLimit'==_0x3eb751&&_0x486cb6['_showLicenseError']('domainLimit'),'exportInlineStylesLicenseKeyNotAllowed'==_0x3eb751&&_0x486cb6['_showLicenseError']('featureNotAllowed','ExportInlineStyles'),'exportInlineStylesLicenseKeyEvaluationLimit'==_0x3eb751&&_0x486cb6['_showLicenseError']('evaluationLimit'),'exportInlineStylesLicenseKeyUsageLimit'==_0x3eb751&&_0x486cb6['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}export{g as ExportInlineStyles,x as ExportInlineStylesCommand,L as ExportInlineStylesEditing,w as dropImportantStyleSuffix};
|
|
23
|
+
import{Command as _0x5c00b1,Plugin as _0x5e36d3}from'@ckeditor/ckeditor5-core/dist/index.js';import{collectStylesheets as _0x375c28,createElement as _0x50b8e0,uid as _0x520cde}from'@ckeditor/ckeditor5-utils/dist/index.js';import{StylesMap as _0x94a90e,addMarginStylesRules as _0x5ed781,addPaddingStylesRules as _0x462170}from'@ckeditor/ckeditor5-engine/dist/index.js';import{calculate as _0xd476df,compare as _0x538ece}from'specificity';function f(_0x3e424a){const _0x18554d=[];let _0x569209='',_0x411385=0x0;for(;_0x411385<_0x3e424a['length'];){const _0x3aa1d6=_0x3e424a[_0x411385];if('('===_0x3aa1d6){const _0x254269=y(_0x3e424a,_0x411385+0x1);if(-0x1===_0x254269)return[];_0x569209+=_0x3e424a['slice'](_0x411385,_0x254269+0x1),_0x411385=_0x254269+0x1;}else','!==_0x3aa1d6||_0x569209['endsWith']('\x5c')?(_0x569209+=_0x3aa1d6,_0x411385++):(_0x18554d['push'](_0x569209['trim']()),_0x569209='',_0x411385++);}return _0x569209['trim']()&&_0x18554d['push'](_0x569209['trim']()),_0x18554d['filter'](Boolean);}function y(_0x53410b,_0x404757){let _0x5a2d7a=0x1;for(let _0x2a88d1=_0x404757;_0x2a88d1<_0x53410b['length'];_0x2a88d1++){const _0x489066=_0x53410b[_0x2a88d1];if('('===_0x489066)_0x5a2d7a++;else{if(')'===_0x489066&&(_0x5a2d7a--,0x0===_0x5a2d7a))return _0x2a88d1;}}return-0x1;}function w(_0x8a2e54){return _0x8a2e54['replace'](/!\s*important/i,'')['trim']();}function d(_0x333402,_0x527f07){const _0x1df886=new Map(),_0x2473e8=_0x3baae5=>_0x1df886['has'](_0x3baae5)?_0x1df886['get'](_0x3baae5):_0x333402(_0x3baae5);for(const [_0x200223,_0x318c9a]of _0x527f07['getStylesEntries']())if(_0x318c9a&&_0x200223['startsWith']('--')){const _0x5925a3=p(_0x2473e8,_0x318c9a);_0x1df886['set'](_0x200223,_0x5925a3),_0x527f07['remove'](_0x200223);}for(const [_0x2098c5,_0xf57f4d]of _0x527f07['getStylesEntries']())if(_0xf57f4d){const _0x2a31eb=p(_0x2473e8,_0xf57f4d);_0x527f07['set'](_0x2098c5,_0x2a31eb);}return _0x1df886;}function p(_0x233074,_0x290e2d){return function(_0x1abe19,_0x3bee97){let _0x2da451='',_0x5d9a38=0x0;for(;_0x5d9a38<_0x1abe19['length'];){const _0x49ee3a=_0x1abe19['indexOf']('var(',_0x5d9a38);if(-0x1===_0x49ee3a){_0x2da451+=_0x1abe19['slice'](_0x5d9a38);break;}_0x2da451+=_0x1abe19['slice'](_0x5d9a38,_0x49ee3a);const _0x491e32=_0x49ee3a+0x4,_0x3af6d1=y(_0x1abe19,_0x491e32);_0x2da451+=_0x3bee97(_0x1abe19['substring'](_0x491e32,_0x3af6d1)),_0x5d9a38=_0x3af6d1+0x1;}return _0x2da451;}(_0x290e2d,_0x374919=>{const [_0x56e5f1,_0x5bdd6f]=f(_0x374919),_0x3432ec=_0x233074(_0x56e5f1);return void 0x0!==_0x3432ec?_0x3432ec:_0x5bdd6f?p(_0x233074,_0x5bdd6f):'var('+_0x56e5f1+')';});}async function m(_0x913519){const _0x1fc68e=[await _0x375c28(_0x913519['stylesheets']),_0x913519['inlineCss']]['filter'](_0x2fd8f3=>_0x2fd8f3&&_0x2fd8f3['length'])['join']('\x0a'),_0x3245b9=await async function(_0x3922af,_0x5eafd6){const _0x2e0bf1=new CSSStyleSheet();return await _0x2e0bf1['replace'](_0x5eafd6),h(Array['from'](_0x2e0bf1['cssRules'])['filter'](_0x2d40dc=>_0x2d40dc instanceof CSSStyleRule))['flatMap'](({selectorText:_0x63897e,contentCssText:_0x2fd897})=>{const _0x4ddd7d=f(_0x63897e),_0x39c388=new _0x94a90e(_0x3922af)['setTo'](_0x2fd897);return _0x4ddd7d['map'](_0x5a4779=>{const _0x560e00=function(_0x13f25c){const _0x1266d8=':where(';let _0x4d456e=_0x13f25c,_0x54d295=0x0;for(let _0x4d6bb8=0x0;_0x4d6bb8<0x64;_0x4d6bb8++){const _0x2c300d=_0x4d456e['indexOf'](_0x1266d8,_0x54d295);if(-0x1===_0x2c300d)break;let _0xc77b3a=0x0;for(let _0x298492=0x0;_0x298492<_0x2c300d;_0x298492++)'('===_0x4d456e[_0x298492]?_0xc77b3a++:')'===_0x4d456e[_0x298492]&&_0xc77b3a--;if(_0xc77b3a>0x0){_0x54d295=_0x2c300d+_0x1266d8['length'];continue;}let _0x5a1d8a=-0x1;for(let _0x1d47de=_0x2c300d+_0x1266d8['length'],_0x7501f3=0x1;_0x1d47de<_0x4d456e['length'];_0x1d47de++)if('('===_0x4d456e[_0x1d47de]?_0x7501f3++:')'===_0x4d456e[_0x1d47de]&&_0x7501f3--,!_0x7501f3){_0x5a1d8a=_0x1d47de;break;}-0x1!==_0x5a1d8a?(_0x4d456e=_0x4d456e['slice'](0x0,_0x2c300d)+_0x4d456e['slice'](_0x5a1d8a+0x1),_0x54d295=_0x2c300d):_0x54d295=_0x2c300d+_0x1266d8['length'];}return _0x4d456e['replace'](/\s+/g,'\x20')['trim']();}(_0x5a4779),_0x24950d=_0x560e00?_0xd476df(_0x560e00)[0x0]['specificityArray']:[0x0,0x0,0x0,0x0];return{'stylesMap':_0x39c388,'flatSelector':_0x5a4779,'specificity':_0x24950d};});})['sort']((_0x4de608,_0x3c9c83)=>_0x538ece(_0x4de608['specificity'],_0x3c9c83['specificity']));}(_0x913519['stylesProcessor'],_0x1fc68e);return{'parsedCssRules':_0x3245b9,'rootCssVariables':function(_0x190df9){const _0x50445c=new Map();for(const {stylesMap:_0x5a0041,flatSelector:_0x379e8f}of _0x190df9){if(':root'!==_0x379e8f)continue;const _0x5deab5=d(_0x50445c['get']['bind'](_0x50445c),_0x5a0041);for(const [_0x2e8fcc,_0x26253b]of _0x5deab5)_0x50445c['set'](_0x2e8fcc,_0x26253b);}return _0x50445c;}(_0x3245b9)};}function h(_0x1293e4,_0x1c9df6=''){return _0x1293e4['flatMap'](_0x5754c5=>{const {selectorText:_0x5d8099,cssText:_0x29ef40,cssRules:_0x424368}=_0x5754c5;if(!_0x5d8099)return[];const _0x2b1879=_0x5d8099['replace'](/&/g,_0x1c9df6);let _0x379572=_0x29ef40['replace'](_0x5d8099,'')['trim']()['replace'](/^{|}$/g,'');if(!_0x424368||!_0x424368['length'])return[{'selectorText':_0x2b1879,'contentCssText':_0x379572}];for(const _0x5211b6 of _0x424368)_0x379572=_0x379572['replace'](_0x5211b6['cssText'],'')['trim']();return[{'selectorText':_0x2b1879,'contentCssText':_0x379572},...h(Array['from'](_0x424368),_0x2b1879)];});}function S(_0x4ef0fe,_0x9ddeab){const _0x28a7c8=new _0x94a90e(_0x4ef0fe);for(const _0x4e3d35 of _0x9ddeab){let _0xa94ba8=null;if(_0xa94ba8='string'==typeof _0x4e3d35?new _0x94a90e(_0x4ef0fe)['setTo'](_0x4e3d35):_0x4e3d35,_0xa94ba8){for(const [_0x235a1f,_0x504e3d]of _0xa94ba8['getStylesEntries']())_0x28a7c8['set'](_0x235a1f,_0x504e3d);}}return _0x28a7c8;}class x extends _0x5c00b1{['_stylesProcessor'];constructor(_0xba073){super(_0xba073),this['set']('isBusy',!0x1),this['_stylesProcessor']=this['editor']['data']['stylesProcessor'],_0x5ed781(this['_stylesProcessor']),_0x462170(this['_stylesProcessor']),this['affectsData']=!0x1;}['refresh'](){this['isEnabled']=!this['isBusy'],this['value']=this['isBusy']?'pending':void 0x0;}async['execute'](_0x50c11b){const _0x4e137b=this['editor']['config']['get']('exportInlineStyles'),{contentLanguageDirection:_0x411970}=this['editor']['locale'],{rootName:_0x4f4110='main',dataControllerDowncastOptions:_0x498e70={},transformations:_0x1b1a78=_0x4e137b['transformations']||[]}=_0x50c11b||{};this['isBusy']=!0x0,this['refresh']();const _0x412235=this['_getRootDataHTMLFragment'](_0x4f4110,_0x498e70),_0x5e5184=_0x50b8e0(_0x412235['ownerDocument'],'div',{'dir':_0x411970,'class':'ck-content'},[_0x412235]);return this['_collectAndApplyStyles'](_0x1b1a78,_0x5e5184)['then'](()=>{const _0x3be153=function(_0x53b852){const _0x218998=_0x53b852['ownerDocument']['createDocumentFragment']();for(;_0x53b852['firstChild'];)_0x218998['appendChild'](_0x53b852['firstChild']);return _0x218998;}(_0x5e5184),_0x3c9cd9=_0x5e5184['getAttribute']('style');if(_0x3c9cd9)for(const _0x2a999f of _0x3be153['children']){const _0x19f2eb=_0x2a999f['getAttribute']('style'),_0x4858a1=S(this['_stylesProcessor'],[_0x3c9cd9,_0x19f2eb]);_0x2a999f['setAttribute']('style',C(_0x4858a1));}return this['editor']['data']['htmlProcessor']['htmlWriter']['getHtml'](_0x3be153);})['finally'](()=>{this['isBusy']=!0x1,this['refresh']();});}['_getRootDataHTMLFragment'](_0x258c47,_0xd06320){const {data:_0x5878ee,model:_0x4941c9}=this['editor'],_0x5469c9=_0x4941c9['document']['getRoot'](_0x258c47),_0x14cec2=_0x5878ee['toView'](_0x5469c9,_0xd06320);return _0x5878ee['htmlProcessor']['domConverter']['viewToDom'](_0x14cec2);}async['_collectAndApplyStyles'](_0x5819f2,_0x485d3d){const {stylesheets:_0xc17f11,inlineCss:_0x35ae93,stripCssClasses:_0x48d081}=this['editor']['config']['get']('exportInlineStyles'),{parsedCssRules:_0x420e0a,rootCssVariables:_0x57526e}=await m({'stylesheets':_0xc17f11||['EDITOR_STYLES'],'stylesProcessor':this['_stylesProcessor'],'inlineCss':_0x35ae93}),_0x51d93b=[];this['_processElementTree']({'transformations':_0x5819f2,'parsedCssRules':_0x420e0a,'element':_0x485d3d,'stripCssClasses':_0x48d081,'parentCSSVariablesLookup':_0x57526e['get']['bind'](_0x57526e),'runAfterDocumentTransformation':_0x6062c4=>{_0x51d93b['unshift'](_0x6062c4);}});for(const _0x5570ab of _0x51d93b)_0x5570ab();}['_processElementTree']({element:_0x30c2a5,parsedCssRules:_0xb6de29,parentCSSVariablesLookup:_0x454f52,runAfterDocumentTransformation:_0x45bfd3,stripCssClasses:_0x1f01a8,transformations:_0x32ca63}){const {stylesMap:_0x8780ba,localCSSVariables:_0x1102b9}=function(_0x403806){const _0x170c40=_0x403806['element']['getAttribute']('style')||'',_0x481e9c=_0x403806['parsedCssRules']['filter'](_0x529abd=>_0x403806['element']['matches'](_0x529abd['flatSelector']))['map'](_0x56450d=>_0x56450d['stylesMap']),_0x5c5192=S(_0x403806['stylesProcessor'],[..._0x481e9c,_0x170c40]);return{'localCSSVariables':d(_0x403806['fallbackCSSVariablesLookup'],_0x5c5192),'stylesMap':_0x5c5192};}({'stylesProcessor':this['_stylesProcessor'],'fallbackCSSVariablesLookup':_0x454f52,'parsedCssRules':_0xb6de29,'element':_0x30c2a5}),_0x1ca468=[];for(const _0x1f84b4 of _0x32ca63){const _0x287971=_0x1f84b4(_0x30c2a5,_0x8780ba,{'runAfterDocumentTransformation':_0x45bfd3,'runAfterChildrenTransformation':_0x435b06=>{_0x1ca468['unshift'](_0x435b06);}});_0x287971&&_0x287971 instanceof HTMLElement&&(_0x30c2a5=_0x287971);}_0x8780ba['size']?_0x30c2a5['setAttribute']('style',C(_0x8780ba)):_0x30c2a5['removeAttribute']('style');const _0x3a7cf9=_0x4f01dd=>_0x1102b9['has'](_0x4f01dd)?_0x1102b9['get'](_0x4f01dd):_0x454f52(_0x4f01dd);for(const _0x204641 of _0x30c2a5['children'])_0x204641 instanceof HTMLElement&&this['_processElementTree']({'element':_0x204641,'parsedCssRules':_0xb6de29,'stripCssClasses':_0x1f01a8,'transformations':_0x32ca63,'parentCSSVariablesLookup':_0x3a7cf9,'runAfterDocumentTransformation':_0x45bfd3});_0x1f01a8&&_0x30c2a5['removeAttribute']('class');for(const _0x50e359 of _0x1ca468)_0x50e359();}}function C(_0x50e559){return _0x50e559['getStylesEntries']()['map'](_0x7bf844=>_0x7bf844['join'](':'))['join'](';')+';';}class L extends _0x5e36d3{static get['pluginName'](){return'ExportInlineStylesEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['editor']['config']['define']('exportInlineStyles',{}),this['editor']['commands']['add']('exportInlineStyles',new x(this['editor']));}['afterInit'](){!async function(_0xcc22f6){const _0x1e6139=_0xe2c8b6([0x44,0x55,0x41,0x36,0x31,0x30,0x65,0x6d,0x4c,0x34,0x51,0x32,0x6b,0x6a,0x56,0x49,0x76,0x47,0x4d,0x48,0x67,0x57,0x54,0x33,0x75,0x79,0x53,0x6e,0x7a,0x50,0x45,0x77,0x37,0x39,0x6f,0x5a,0x4a,0x69,0x43,0x72,0x62,0x73,0x74,0x63,0x58,0x4b,0x71,0x38,0x35,0x4e,0x68,0x64,0x66,0x61,0x46,0x52,0x78,0x42,0x6c,0x70,0x4f,0x59]),_0x4b4b68=0x6f40c3fb,_0x5890ea=0x6f474a6b^_0x4b4b68,_0x5ce882=window[_0xe2c8b6([0x44,0x61,0x74,0x65])][_0xe2c8b6([0x6e,0x6f,0x77])](),_0x27b72c=_0xcc22f6[_0xe2c8b6([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x299f2f=new window[(_0xe2c8b6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4ec127=>{_0x27b72c[_0xe2c8b6([0x6f,0x6e,0x63,0x65])](_0xe2c8b6([0x72,0x65,0x61,0x64,0x79]),_0x4ec127);}),_0x58f1cf={[_0xe2c8b6([0x6b,0x74,0x79])]:_0xe2c8b6([0x45,0x43]),[_0xe2c8b6([0x75,0x73,0x65])]:_0xe2c8b6([0x73,0x69,0x67]),[_0xe2c8b6([0x63,0x72,0x76])]:_0xe2c8b6([0x50,0x2d,0x32,0x35,0x36]),[_0xe2c8b6([0x78])]:_0xe2c8b6([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]),[_0xe2c8b6([0x79])]:_0xe2c8b6([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]),[_0xe2c8b6([0x61,0x6c,0x67])]:_0xe2c8b6([0x45,0x53,0x32,0x35,0x36])},_0x29d547=_0x27b72c[_0xe2c8b6([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xe2c8b6([0x67,0x65,0x74])](_0xe2c8b6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2eeb5f(){let _0x3d5467,_0x48da0c=null,_0x1cf2f5=null;try{if(_0x29d547==_0xe2c8b6([0x47,0x50,0x4c]))return _0xe2c8b6([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3d5467=_0x14cbca(),!_0x3d5467)return _0xe2c8b6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3d5467[_0xe2c8b6([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1cf2f5=_0x6a8991(_0x3d5467[_0xe2c8b6([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3d5467[_0xe2c8b6([0x6a,0x74,0x69])])),await _0x59df06()?_0x35acb3()?_0x275819()?_0xe2c8b6([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x15e91e()?(_0x3d5467[_0xe2c8b6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xe2c8b6([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x48da0c=_0x87e9e5(_0xe2c8b6([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0xa22e3b()):_0xe2c8b6([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xe2c8b6([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xe2c8b6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xe2c8b6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x275819(){const _0x3d765f=[_0xe2c8b6([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xe2c8b6([0x74,0x72,0x69,0x61,0x6c])][_0xe2c8b6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3d5467[_0xe2c8b6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5ce882/0x3e8:0xe10*_0x5890ea;return _0x3d5467[_0xe2c8b6([0x65,0x78,0x70])]<_0x3d765f;}function _0x35acb3(){const _0x3092e7=_0x3d5467[_0xe2c8b6([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3092e7&&(!!_0x3092e7[_0xe2c8b6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe2c8b6([0x2a]))||!!_0x3092e7[_0xe2c8b6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe2c8b6([0x45,0x49,0x53])));}function _0x15e91e(){const _0x72688e=_0x3d5467[_0xe2c8b6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x72688e||0x0==_0x72688e[_0xe2c8b6([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x648365}=new URL(window[_0xe2c8b6([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x72688e[_0xe2c8b6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x648365))return!0x0;const _0x1ef058=_0x648365[_0xe2c8b6([0x73,0x70,0x6c,0x69,0x74])](_0xe2c8b6([0x2e]));return _0x72688e[_0xe2c8b6([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x165a1f=>_0x165a1f[_0xe2c8b6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe2c8b6([0x2a])))[_0xe2c8b6([0x6d,0x61,0x70])](_0x18c09d=>_0x18c09d[_0xe2c8b6([0x73,0x70,0x6c,0x69,0x74])](_0xe2c8b6([0x2e])))[_0xe2c8b6([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x480f3f=>_0x480f3f[_0xe2c8b6([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1ef058[_0xe2c8b6([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xe2c8b6([0x6d,0x61,0x70])](_0xd26729=>Array(_0x1ef058[_0xe2c8b6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xd26729[_0xe2c8b6([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xe2c8b6([0x66,0x69,0x6c,0x6c])](_0xd26729[0x0]===_0xe2c8b6([0x2a])?_0xe2c8b6([0x2a]):'')[_0xe2c8b6([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xd26729))[_0xe2c8b6([0x73,0x6f,0x6d,0x65])](_0x3aae12=>_0x1ef058[_0xe2c8b6([0x65,0x76,0x65,0x72,0x79])]((_0x66ff85,_0x238fac)=>_0x3aae12[_0x238fac]===_0x66ff85||_0x3aae12[_0x238fac]===_0xe2c8b6([0x2a])));}function _0xa22e3b(){return _0x48da0c&&_0x1cf2f5?new window[(_0xe2c8b6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x57273e,_0x44ca83)=>{_0x48da0c[_0xe2c8b6([0x74,0x68,0x65,0x6e])](_0x57273e,_0x44ca83),_0x1cf2f5[_0xe2c8b6([0x74,0x68,0x65,0x6e])](_0x1b599f=>{_0x1b599f!=_0xe2c8b6([0x56,0x61,0x6c,0x69,0x64])&&_0x57273e(_0x1b599f);},_0x44ca83);}):_0x48da0c||_0x1cf2f5||_0xe2c8b6([0x56,0x61,0x6c,0x69,0x64]);}}function _0x6a8991(_0x15d822,_0x1edfd5){return new window[(_0xe2c8b6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1672eb=>{if(_0x1a03a2())return _0x1672eb(_0xe2c8b6([0x56,0x61,0x6c,0x69,0x64]));_0x50830d(),_0x27b72c[_0xe2c8b6([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xe2c8b6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x53706d=!0x1;const _0x19d1ea=_0x520cde();function _0x1cdf1d(_0x4e52b9){return!!_0x4e52b9&&(typeof _0x4e52b9===_0xe2c8b6([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4e52b9===_0xe2c8b6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4e52b9[_0xe2c8b6([0x74,0x68,0x65,0x6e])]===_0xe2c8b6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4e52b9[_0xe2c8b6([0x63,0x61,0x74,0x63,0x68])]===_0xe2c8b6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x342bb9(_0x3e175b){_0x472722(_0x3e175b)[_0xe2c8b6([0x74,0x68,0x65,0x6e])](_0x1047a3=>{if(!_0x1047a3||_0x1047a3[_0xe2c8b6([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xe2c8b6([0x6f,0x6b]))return _0xe2c8b6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x26162b(_0x281a5e(_0x19d1ea+_0x1edfd5))!=_0x1047a3[_0xe2c8b6([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xe2c8b6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xe2c8b6([0x56,0x61,0x6c,0x69,0x64]);})[_0xe2c8b6([0x74,0x68,0x65,0x6e])](_0x601002=>(_0x5b7430(),_0x601002),()=>{const _0x2330ef=_0x46013d();return null==_0x2330ef?(_0x5b7430(),_0xe2c8b6([0x56,0x61,0x6c,0x69,0x64])):_0xe2c8b6(_0x5ce882-_0x2330ef>(0x4b4c47fb^_0x4b4b68)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xe2c8b6([0x74,0x68,0x65,0x6e])](_0x1672eb)[_0xe2c8b6([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1672eb(_0xe2c8b6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xcaf04c=0x6f762d7b^_0x4b4b68;function _0x5b7430(){const _0x1f4ec6=_0xe2c8b6([0x6c,0x6c,0x63,0x74,0x2d])+_0x26162b(_0x281a5e(_0x15d822)),_0x8abce4=_0x52415b(_0x26162b(window[_0xe2c8b6([0x4d,0x61,0x74,0x68])][_0xe2c8b6([0x63,0x65,0x69,0x6c])](_0x5ce882/_0xcaf04c)));window[_0xe2c8b6([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xe2c8b6([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1f4ec6,_0x8abce4);}function _0x46013d(){const _0x166677=_0xe2c8b6([0x6c,0x6c,0x63,0x74,0x2d])+_0x26162b(_0x281a5e(_0x15d822)),_0x200410=window[_0xe2c8b6([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xe2c8b6([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x166677);return _0x200410?window[_0xe2c8b6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x52415b(_0x200410),0x10)*_0xcaf04c:null;}function _0x472722(_0x5a5101){return new window[(_0xe2c8b6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1b4f80,_0xa78425)=>{_0x5a5101[_0xe2c8b6([0x74,0x68,0x65,0x6e])](_0x1b4f80,_0xa78425),window[_0xe2c8b6([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xa78425,0x6f41173b^_0x4b4b68);});}}_0x27b72c[_0xe2c8b6([0x6f,0x6e])](_0xe2c8b6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x42c79b,_0x3a0524)=>{if(_0x3a0524[0x0]!=_0x15d822)return _0x1672eb(_0xe2c8b6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3a0524[0x1]={..._0x3a0524[0x1],[_0xe2c8b6([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x19d1ea};},{[_0xe2c8b6([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xe2c8b6([0x68,0x69,0x67,0x68])}),_0x27b72c[_0xe2c8b6([0x6f,0x6e])](_0xe2c8b6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4b7171=>{_0x1cdf1d(_0x4b7171[_0xe2c8b6([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x53706d=!0x0,_0x342bb9(_0x4b7171[_0xe2c8b6([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xe2c8b6([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xe2c8b6([0x6c,0x6f,0x77])}),_0x299f2f[_0xe2c8b6([0x74,0x68,0x65,0x6e])](()=>{_0x53706d||_0x1672eb(_0xe2c8b6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1a03a2(){return _0x27b72c[_0xe2c8b6([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xe2c8b6([0x76,0x69,0x65,0x77])][_0xe2c8b6([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xe2c8b6([0x61,0x75,0x74,0x6f]);}function _0x50830d(){_0x27b72c[_0xe2c8b6([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xe2c8b6([0x76,0x69,0x65,0x77])][_0xe2c8b6([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xe2c8b6([0x61,0x75,0x74,0x6f]);}}function _0x87e9e5(_0x2bedee){const _0x2df72d=[new window[(_0xe2c8b6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xfb986b=>setTimeout(_0xfb986b,0x6f49fd37^_0x4b4b68)),_0x299f2f[_0xe2c8b6([0x74,0x68,0x65,0x6e])](()=>new window[(_0xe2c8b6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3b0cec=>{let _0x391e86=0x0;_0x27b72c[_0xe2c8b6([0x6d,0x6f,0x64,0x65,0x6c])][_0xe2c8b6([0x6f,0x6e])](_0xe2c8b6([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2d5141,_0x42ba72)=>{_0x42ba72[0x0][_0xe2c8b6([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x391e86++,_0x391e86==(0x6f40c613^_0x4b4b68)&&(_0x3b0cec(),_0x2d5141[_0xe2c8b6([0x6f,0x66,0x66])]());});}))];return window[_0xe2c8b6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xe2c8b6([0x72,0x61,0x63,0x65])](_0x2df72d)[_0xe2c8b6([0x74,0x68,0x65,0x6e])](()=>_0x2bedee);}async function _0x13bbbf(){await _0x299f2f;const _0x39fee7=_0x27b72c['commands'][_0xe2c8b6([0x67,0x65,0x74])](_0xe2c8b6([0x65,0x78,0x70,0x6f,0x72,0x74,0x49,0x6e,0x6c,0x69,0x6e,0x65,0x53,0x74,0x79,0x6c,0x65,0x73]));_0x39fee7&&_0x39fee7[_0xe2c8b6([0x6f,0x6e])](_0xe2c8b6([0x65,0x78,0x65,0x63,0x75,0x74,0x65]),_0x57c7f8=>{_0x57c7f8['stop']();},{'priority':_0xe2c8b6([0x68,0x69,0x67,0x68,0x65,0x73,0x74])}),_0x27b72c[_0xe2c8b6([0x6d,0x6f,0x64,0x65,0x6c])][_0xe2c8b6([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x19b7f2,_0x27b72c[_0xe2c8b6([0x6d,0x6f,0x64,0x65,0x6c])][_0xe2c8b6([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x19b7f2,_0x27b72c[_0xe2c8b6([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xe2c8b6([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xe6f7d(_0x34b9dc){const _0x489f6e=_0x130a73();_0x27b72c[_0x489f6e]=_0xe2c8b6([0x65,0x78,0x70,0x6f,0x72,0x74,0x49,0x6e,0x6c,0x69,0x6e,0x65,0x53,0x74,0x79,0x6c,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x34b9dc,_0x34b9dc!=_0xe2c8b6([0x56,0x61,0x6c,0x69,0x64])&&_0x13bbbf();}function _0x130a73(){const _0x5be918=window[_0xe2c8b6([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xe2c8b6([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xe2c8b6([0x6e,0x6f,0x77])]())[_0xe2c8b6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xe2c8b6([0x2e]),'');let _0xa88a2b=_0xe2c8b6([0x44]);for(let _0x29c0a5=0x0;_0x29c0a5<_0x5be918[_0xe2c8b6([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x29c0a5+=0x2){let _0x20820b=window[_0xe2c8b6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5be918[_0xe2c8b6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x29c0a5,_0x29c0a5+0x2));_0x20820b>=_0x1e6139[_0xe2c8b6([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x20820b-=_0x1e6139[_0xe2c8b6([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xa88a2b+=_0x1e6139[_0x20820b];}return _0xa88a2b;}function _0x14cbca(){const _0x55a2ef=_0x29d547[_0xe2c8b6([0x73,0x70,0x6c,0x69,0x74])](_0xe2c8b6([0x2e]));if(0x3!=_0x55a2ef[_0xe2c8b6([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x115d60(_0x55a2ef[0x1]);function _0x115d60(_0x510f81){const _0x216aad=_0x2ce75c(_0x510f81);return _0x216aad&&_0x209749()?_0x216aad:null;function _0x209749(){const _0x379b2f=_0x216aad[_0xe2c8b6([0x6a,0x74,0x69])],_0x154876=window[_0xe2c8b6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x379b2f[_0xe2c8b6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x379b2f[_0xe2c8b6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5415c6={..._0x216aad,[_0xe2c8b6([0x6a,0x74,0x69])]:_0x379b2f[_0xe2c8b6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x379b2f[_0xe2c8b6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5415c6[_0xe2c8b6([0x76,0x63])],_0x281a5e(_0x5415c6)==_0x154876;}}}async function _0x59df06(){let _0x27160c=!0x0;try{const _0x20fb78=_0x29d547[_0xe2c8b6([0x73,0x70,0x6c,0x69,0x74])](_0xe2c8b6([0x2e])),[_0x2c346f,_0x3643ec,_0x3ebcd5]=_0x20fb78;return _0x3c2b4f(_0x2c346f),await _0x4b711b(_0x2c346f,_0x3643ec,_0x3ebcd5),_0x27160c;}catch{return!0x1;}function _0x3c2b4f(_0x206a8a){const _0x43ddcf=_0x2ce75c(_0x206a8a);_0x43ddcf&&_0x43ddcf[_0xe2c8b6([0x61,0x6c,0x67])]==_0xe2c8b6([0x45,0x53,0x32,0x35,0x36])||(_0x27160c=!0x1);}async function _0x4b711b(_0x5781be,_0x2f2d91,_0x486d11){const _0x2a95b3=window[_0xe2c8b6([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xe2c8b6([0x66,0x72,0x6f,0x6d])](_0x4b9c5e(_0x486d11),_0x148c35=>_0x148c35[_0xe2c8b6([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x344b5c=new window[(_0xe2c8b6([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xe2c8b6([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5781be+_0xe2c8b6([0x2e])+_0x2f2d91),_0x296378=window[_0xe2c8b6([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xe2c8b6([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x296378)return;const _0x161f31=await _0x296378[_0xe2c8b6([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xe2c8b6([0x6a,0x77,0x6b]),_0x58f1cf,{[_0xe2c8b6([0x6e,0x61,0x6d,0x65])]:_0xe2c8b6([0x45,0x43,0x44,0x53,0x41]),[_0xe2c8b6([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xe2c8b6([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xe2c8b6([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x296378[_0xe2c8b6([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xe2c8b6([0x6e,0x61,0x6d,0x65])]:_0xe2c8b6([0x45,0x43,0x44,0x53,0x41]),[_0xe2c8b6([0x68,0x61,0x73,0x68])]:{[_0xe2c8b6([0x6e,0x61,0x6d,0x65])]:_0xe2c8b6([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x161f31,_0x2a95b3,_0x344b5c)||(_0x27160c=!0x1);}}function _0x2ce75c(_0x5e15cc){return _0x5e15cc[_0xe2c8b6([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xe2c8b6([0x65,0x79]))?JSON[_0xe2c8b6([0x70,0x61,0x72,0x73,0x65])](_0x4b9c5e(_0x5e15cc)):null;}function _0x4b9c5e(_0x574cdd){return window[_0xe2c8b6([0x61,0x74,0x6f,0x62])](_0x574cdd[_0xe2c8b6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xe2c8b6([0x2b]))[_0xe2c8b6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xe2c8b6([0x2f])));}function _0x281a5e(_0x10f081){let _0x3b6807=0x1505;function _0x2ee47d(_0x542480){for(let _0x1041ff=0x0;_0x1041ff<_0x542480[_0xe2c8b6([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1041ff++){const _0x29826c=_0x542480[_0xe2c8b6([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1041ff);_0x3b6807=(_0x3b6807<<0x5)+_0x3b6807+_0x29826c,_0x3b6807&=_0x3b6807;}}function _0x155ab1(_0x3b3b26){Array[_0xe2c8b6([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3b3b26)?_0x3b3b26[_0xe2c8b6([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x155ab1):_0x3b3b26&&typeof _0x3b3b26==_0xe2c8b6([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xe2c8b6([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3b3b26)[_0xe2c8b6([0x73,0x6f,0x72,0x74])]()[_0xe2c8b6([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x508c66,_0x5cccdd])=>{_0x2ee47d(_0x508c66),_0x155ab1(_0x5cccdd);}):_0x2ee47d(window[_0xe2c8b6([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3b3b26));}return _0x155ab1(_0x10f081),_0x3b6807>>>0x0;}function _0x26162b(_0x48429a){return _0x48429a[_0xe2c8b6([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xe2c8b6([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xe2c8b6([0x30]));}function _0x52415b(_0x38445a){return _0x38445a[_0xe2c8b6([0x73,0x70,0x6c,0x69,0x74])]('')[_0xe2c8b6([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xe2c8b6([0x6a,0x6f,0x69,0x6e])]('');}function _0x19b7f2(){}function _0xe2c8b6(_0x11284e){return _0x11284e['map'](_0x18d7b9=>String['fromCharCode'](_0x18d7b9))['join']('');}_0xe6f7d(await _0x2eeb5f());}(this);}}class g extends _0x5e36d3{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'ExportInlineStyles';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[L];}['init'](){this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x539aa3=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3947e5;for(const _0x55b602 in _0x539aa3){const _0x5e79ee=_0x55b602,_0xcbdaaa=_0x539aa3[_0x5e79ee];if('exportInlineStylesLicenseKeyValid'==_0xcbdaaa||'exportInlineStylesLicenseKeyInvalid'==_0xcbdaaa||'exportInlineStylesLicenseKeyExpired'==_0xcbdaaa||'exportInlineStylesLicenseKeyDomainLimit'==_0xcbdaaa||'exportInlineStylesLicenseKeyNotAllowed'==_0xcbdaaa||'exportInlineStylesLicenseKeyEvaluationLimit'==_0xcbdaaa||'exportInlineStylesLicenseKeyUsageLimit'==_0xcbdaaa){delete _0x539aa3[_0x5e79ee],_0x3947e5=_0xcbdaaa,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'exportInlineStylesLicenseKeyInvalid'==_0x3947e5&&_0x539aa3['_showLicenseError']('invalid'),'exportInlineStylesLicenseKeyExpired'==_0x3947e5&&_0x539aa3['_showLicenseError']('expired'),'exportInlineStylesLicenseKeyDomainLimit'==_0x3947e5&&_0x539aa3['_showLicenseError']('domainLimit'),'exportInlineStylesLicenseKeyNotAllowed'==_0x3947e5&&_0x539aa3['_showLicenseError']('featureNotAllowed','ExportInlineStyles'),'exportInlineStylesLicenseKeyEvaluationLimit'==_0x3947e5&&_0x539aa3['_showLicenseError']('evaluationLimit'),'exportInlineStylesLicenseKeyUsageLimit'==_0x3947e5&&_0x539aa3['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}export{g as ExportInlineStyles,x as ExportInlineStylesCommand,L as ExportInlineStylesEditing,w as dropImportantStyleSuffix};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-export-inline-styles",
|
|
3
|
-
"version": "48.1.0-alpha.
|
|
3
|
+
"version": "48.1.0-alpha.3",
|
|
4
4
|
"description": "The export with inline styles feature for CKEditor 5.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -34,9 +34,9 @@
|
|
|
34
34
|
"./package.json": "./package.json"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@ckeditor/ckeditor5-core": "48.1.0-alpha.
|
|
38
|
-
"@ckeditor/ckeditor5-engine": "48.1.0-alpha.
|
|
39
|
-
"@ckeditor/ckeditor5-utils": "48.1.0-alpha.
|
|
37
|
+
"@ckeditor/ckeditor5-core": "48.1.0-alpha.3",
|
|
38
|
+
"@ckeditor/ckeditor5-engine": "48.1.0-alpha.3",
|
|
39
|
+
"@ckeditor/ckeditor5-utils": "48.1.0-alpha.3",
|
|
40
40
|
"specificity": "0.4.1"
|
|
41
41
|
},
|
|
42
42
|
"files": [
|