@ckeditor/ckeditor5-export-inline-styles 48.1.0-alpha.8 → 48.1.1
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 _0x267512,Plugin as _0x57a6a2}from'@ckeditor/ckeditor5-core/dist/index.js';import{collectStylesheets as _0xcea42,createElement as _0x50abf3,uid as _0x2c1032}from'@ckeditor/ckeditor5-utils/dist/index.js';import{StylesMap as _0x58af1c,addMarginStylesRules as _0x97d23b,addPaddingStylesRules as _0x527cee}from'@ckeditor/ckeditor5-engine/dist/index.js';import{calculate as _0x142d06,compare as _0x59f7c8}from'specificity';function f(_0x20d683){const _0x581114=[];let _0x171193='',_0x1995fb=0x0;for(;_0x1995fb<_0x20d683['length'];){const _0x1948dd=_0x20d683[_0x1995fb];if('('===_0x1948dd){const _0x1e8422=y(_0x20d683,_0x1995fb+0x1);if(-0x1===_0x1e8422)return[];_0x171193+=_0x20d683['slice'](_0x1995fb,_0x1e8422+0x1),_0x1995fb=_0x1e8422+0x1;}else','!==_0x1948dd||_0x171193['endsWith']('\x5c')?(_0x171193+=_0x1948dd,_0x1995fb++):(_0x581114['push'](_0x171193['trim']()),_0x171193='',_0x1995fb++);}return _0x171193['trim']()&&_0x581114['push'](_0x171193['trim']()),_0x581114['filter'](Boolean);}function y(_0x32c005,_0x5e8ef0){let _0x230ed9=0x1;for(let _0x16148d=_0x5e8ef0;_0x16148d<_0x32c005['length'];_0x16148d++){const _0x575600=_0x32c005[_0x16148d];if('('===_0x575600)_0x230ed9++;else{if(')'===_0x575600&&(_0x230ed9--,0x0===_0x230ed9))return _0x16148d;}}return-0x1;}function w(_0x1026f7){return _0x1026f7['replace'](/!\s*important/i,'')['trim']();}function d(_0x3bfbd3,_0x14f7db){const _0x56b10b=new Map(),_0x4ad739=_0x2c6aaf=>_0x56b10b['has'](_0x2c6aaf)?_0x56b10b['get'](_0x2c6aaf):_0x3bfbd3(_0x2c6aaf);for(const [_0x52fdfe,_0x3900f1]of _0x14f7db['getStylesEntries']())if(_0x3900f1&&_0x52fdfe['startsWith']('--')){const _0x4d49a5=p(_0x4ad739,_0x3900f1);_0x56b10b['set'](_0x52fdfe,_0x4d49a5),_0x14f7db['remove'](_0x52fdfe);}for(const [_0x1eefa8,_0x174a77]of _0x14f7db['getStylesEntries']())if(_0x174a77){const _0x42cf2d=p(_0x4ad739,_0x174a77);_0x14f7db['set'](_0x1eefa8,_0x42cf2d);}return _0x56b10b;}function p(_0x2ba328,_0x5008a8){return function(_0x36c7e3,_0x399529){let _0x5b143a='',_0xf5555d=0x0;for(;_0xf5555d<_0x36c7e3['length'];){const _0x5c05c0=_0x36c7e3['indexOf']('var(',_0xf5555d);if(-0x1===_0x5c05c0){_0x5b143a+=_0x36c7e3['slice'](_0xf5555d);break;}_0x5b143a+=_0x36c7e3['slice'](_0xf5555d,_0x5c05c0);const _0x196f50=_0x5c05c0+0x4,_0x879192=y(_0x36c7e3,_0x196f50);_0x5b143a+=_0x399529(_0x36c7e3['substring'](_0x196f50,_0x879192)),_0xf5555d=_0x879192+0x1;}return _0x5b143a;}(_0x5008a8,_0x18b414=>{const [_0x200d09,_0x439767]=f(_0x18b414),_0xb6337a=_0x2ba328(_0x200d09);return void 0x0!==_0xb6337a?_0xb6337a:_0x439767?p(_0x2ba328,_0x439767):'var('+_0x200d09+')';});}async function m(_0x88a40){const _0x5c973d=[await _0xcea42(_0x88a40['stylesheets']),_0x88a40['inlineCss']]['filter'](_0x4a343c=>_0x4a343c&&_0x4a343c['length'])['join']('\x0a'),_0x167608=await async function(_0xdd2f14,_0x4a9cea){const _0x29201c=new CSSStyleSheet();return await _0x29201c['replace'](_0x4a9cea),h(Array['from'](_0x29201c['cssRules'])['filter'](_0x230cf6=>_0x230cf6 instanceof CSSStyleRule))['flatMap'](({selectorText:_0x858567,contentCssText:_0x3c25c7})=>{const _0x1889cc=f(_0x858567),_0x4d3ce6=new _0x58af1c(_0xdd2f14)['setTo'](_0x3c25c7);return _0x1889cc['map'](_0x2863e7=>{const _0x5cc415=function(_0x19e3eb){const _0x5e43fd=':where(';let _0x3e7b13=_0x19e3eb,_0x269f42=0x0;for(let _0x4a041d=0x0;_0x4a041d<0x64;_0x4a041d++){const _0x3e34f2=_0x3e7b13['indexOf'](_0x5e43fd,_0x269f42);if(-0x1===_0x3e34f2)break;let _0x5d78d5=0x0;for(let _0x8f035d=0x0;_0x8f035d<_0x3e34f2;_0x8f035d++)'('===_0x3e7b13[_0x8f035d]?_0x5d78d5++:')'===_0x3e7b13[_0x8f035d]&&_0x5d78d5--;if(_0x5d78d5>0x0){_0x269f42=_0x3e34f2+_0x5e43fd['length'];continue;}let _0x11343c=-0x1;for(let _0x258b7f=_0x3e34f2+_0x5e43fd['length'],_0x19c66b=0x1;_0x258b7f<_0x3e7b13['length'];_0x258b7f++)if('('===_0x3e7b13[_0x258b7f]?_0x19c66b++:')'===_0x3e7b13[_0x258b7f]&&_0x19c66b--,!_0x19c66b){_0x11343c=_0x258b7f;break;}-0x1!==_0x11343c?(_0x3e7b13=_0x3e7b13['slice'](0x0,_0x3e34f2)+_0x3e7b13['slice'](_0x11343c+0x1),_0x269f42=_0x3e34f2):_0x269f42=_0x3e34f2+_0x5e43fd['length'];}return _0x3e7b13['replace'](/\s+/g,'\x20')['trim']();}(_0x2863e7),_0x4db0b5=_0x5cc415?_0x142d06(_0x5cc415)[0x0]['specificityArray']:[0x0,0x0,0x0,0x0];return{'stylesMap':_0x4d3ce6,'flatSelector':_0x2863e7,'specificity':_0x4db0b5};});})['sort']((_0x1e9225,_0x4a8583)=>_0x59f7c8(_0x1e9225['specificity'],_0x4a8583['specificity']));}(_0x88a40['stylesProcessor'],_0x5c973d);return{'parsedCssRules':_0x167608,'rootCssVariables':function(_0x5b7e22){const _0x307b44=new Map();for(const {stylesMap:_0x5b0d47,flatSelector:_0x3b3626}of _0x5b7e22){if(':root'!==_0x3b3626)continue;const _0x3a57c3=d(_0x307b44['get']['bind'](_0x307b44),_0x5b0d47);for(const [_0x39e27d,_0xd07148]of _0x3a57c3)_0x307b44['set'](_0x39e27d,_0xd07148);}return _0x307b44;}(_0x167608)};}function h(_0x3f2dcf,_0x38f376=''){return _0x3f2dcf['flatMap'](_0x1a6006=>{const {selectorText:_0x15ce15,cssText:_0x1d21a2,cssRules:_0x2670cd}=_0x1a6006;if(!_0x15ce15)return[];const _0x441f84=_0x15ce15['replace'](/&/g,_0x38f376);let _0xfe3325=_0x1d21a2['replace'](_0x15ce15,'')['trim']()['replace'](/^{|}$/g,'');if(!_0x2670cd||!_0x2670cd['length'])return[{'selectorText':_0x441f84,'contentCssText':_0xfe3325}];for(const _0x54c386 of _0x2670cd)_0xfe3325=_0xfe3325['replace'](_0x54c386['cssText'],'')['trim']();return[{'selectorText':_0x441f84,'contentCssText':_0xfe3325},...h(Array['from'](_0x2670cd),_0x441f84)];});}function S(_0x22e103,_0x134e0d){const _0x26a223=new _0x58af1c(_0x22e103);for(const _0x5d145d of _0x134e0d){let _0x59e9e6=null;if(_0x59e9e6='string'==typeof _0x5d145d?new _0x58af1c(_0x22e103)['setTo'](_0x5d145d):_0x5d145d,_0x59e9e6){for(const [_0x461a8b,_0xc8f86e]of _0x59e9e6['getStylesEntries']())_0x26a223['set'](_0x461a8b,_0xc8f86e);}}return _0x26a223;}class x extends _0x267512{['_stylesProcessor'];constructor(_0x18e91f){super(_0x18e91f),this['set']('isBusy',!0x1),this['_stylesProcessor']=this['editor']['data']['stylesProcessor'],_0x97d23b(this['_stylesProcessor']),_0x527cee(this['_stylesProcessor']),this['affectsData']=!0x1;}['refresh'](){this['isEnabled']=!this['isBusy'],this['value']=this['isBusy']?'pending':void 0x0;}async['execute'](_0x467f10){const _0x42718d=this['editor']['config']['get']('exportInlineStyles'),{contentLanguageDirection:_0x14d35a}=this['editor']['locale'],{rootName:_0x59864f='main',dataControllerDowncastOptions:_0x2f4ca5={},transformations:_0x4ecef2=_0x42718d['transformations']||[]}=_0x467f10||{};this['isBusy']=!0x0,this['refresh']();const _0xc8b24f=this['_getRootDataHTMLFragment'](_0x59864f,_0x2f4ca5),_0x4ca79b=_0x50abf3(_0xc8b24f['ownerDocument'],'div',{'dir':_0x14d35a,'class':'ck-content'},[_0xc8b24f]);return this['_collectAndApplyStyles'](_0x4ecef2,_0x4ca79b)['then'](()=>{const _0x2ddec7=function(_0x458d03){const _0x45dbf4=_0x458d03['ownerDocument']['createDocumentFragment']();for(;_0x458d03['firstChild'];)_0x45dbf4['appendChild'](_0x458d03['firstChild']);return _0x45dbf4;}(_0x4ca79b),_0x30475b=_0x4ca79b['getAttribute']('style');if(_0x30475b)for(const _0x54626d of _0x2ddec7['children']){const _0x31433c=_0x54626d['getAttribute']('style'),_0x4a8bdd=S(this['_stylesProcessor'],[_0x30475b,_0x31433c]);_0x54626d['setAttribute']('style',C(_0x4a8bdd));}return this['editor']['data']['htmlProcessor']['htmlWriter']['getHtml'](_0x2ddec7);})['finally'](()=>{this['isBusy']=!0x1,this['refresh']();});}['_getRootDataHTMLFragment'](_0x520ddb,_0x47489f){const {data:_0x141bd8,model:_0x3ce642}=this['editor'],_0x4e38a6=_0x3ce642['document']['getRoot'](_0x520ddb),_0x1ecc1f=_0x141bd8['toView'](_0x4e38a6,_0x47489f);return _0x141bd8['htmlProcessor']['domConverter']['viewToDom'](_0x1ecc1f);}async['_collectAndApplyStyles'](_0x811651,_0x2443d1){const {stylesheets:_0x3b75e3,inlineCss:_0x16f85e,stripCssClasses:_0x443185}=this['editor']['config']['get']('exportInlineStyles'),{parsedCssRules:_0xafc741,rootCssVariables:_0x25c88f}=await m({'stylesheets':_0x3b75e3||['EDITOR_STYLES'],'stylesProcessor':this['_stylesProcessor'],'inlineCss':_0x16f85e}),_0x3b367a=[];this['_processElementTree']({'transformations':_0x811651,'parsedCssRules':_0xafc741,'element':_0x2443d1,'stripCssClasses':_0x443185,'parentCSSVariablesLookup':_0x25c88f['get']['bind'](_0x25c88f),'runAfterDocumentTransformation':_0x943b80=>{_0x3b367a['unshift'](_0x943b80);}});for(const _0x56cf8f of _0x3b367a)_0x56cf8f();}['_processElementTree']({element:_0x4a9261,parsedCssRules:_0x455d8e,parentCSSVariablesLookup:_0xd67c4a,runAfterDocumentTransformation:_0x41156a,stripCssClasses:_0x3a1ff2,transformations:_0x4234e3}){const {stylesMap:_0x273e89,localCSSVariables:_0x48539a}=function(_0x1e1645){const _0x300a8b=_0x1e1645['element']['getAttribute']('style')||'',_0x3c7d66=_0x1e1645['parsedCssRules']['filter'](_0x5b7de1=>_0x1e1645['element']['matches'](_0x5b7de1['flatSelector']))['map'](_0x21f6ab=>_0x21f6ab['stylesMap']),_0x40efa3=S(_0x1e1645['stylesProcessor'],[..._0x3c7d66,_0x300a8b]);return{'localCSSVariables':d(_0x1e1645['fallbackCSSVariablesLookup'],_0x40efa3),'stylesMap':_0x40efa3};}({'stylesProcessor':this['_stylesProcessor'],'fallbackCSSVariablesLookup':_0xd67c4a,'parsedCssRules':_0x455d8e,'element':_0x4a9261}),_0x28632d=[];for(const _0x2a2800 of _0x4234e3){const _0x417420=_0x2a2800(_0x4a9261,_0x273e89,{'runAfterDocumentTransformation':_0x41156a,'runAfterChildrenTransformation':_0x3e614b=>{_0x28632d['unshift'](_0x3e614b);}});_0x417420&&_0x417420 instanceof HTMLElement&&(_0x4a9261=_0x417420);}_0x273e89['size']?_0x4a9261['setAttribute']('style',C(_0x273e89)):_0x4a9261['removeAttribute']('style');const _0x1bcb12=_0x513c08=>_0x48539a['has'](_0x513c08)?_0x48539a['get'](_0x513c08):_0xd67c4a(_0x513c08);for(const _0x34fd3b of _0x4a9261['children'])_0x34fd3b instanceof HTMLElement&&this['_processElementTree']({'element':_0x34fd3b,'parsedCssRules':_0x455d8e,'stripCssClasses':_0x3a1ff2,'transformations':_0x4234e3,'parentCSSVariablesLookup':_0x1bcb12,'runAfterDocumentTransformation':_0x41156a});_0x3a1ff2&&_0x4a9261['removeAttribute']('class');for(const _0x430ae8 of _0x28632d)_0x430ae8();}}function C(_0x260866){return _0x260866['getStylesEntries']()['map'](_0x66e231=>_0x66e231['join'](':'))['join'](';')+';';}class L extends _0x57a6a2{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(_0x581087){const _0x56411f=_0x2d686f([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]),_0x36e14c=0x6f40c3fb,_0x2a2eaa=0x6f474a0b^_0x36e14c,_0x215d91=window[_0x2d686f([0x44,0x61,0x74,0x65])][_0x2d686f([0x6e,0x6f,0x77])](),_0x3ec625=_0x581087[_0x2d686f([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x59fdcf=new window[(_0x2d686f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x196393=>{_0x3ec625[_0x2d686f([0x6f,0x6e,0x63,0x65])](_0x2d686f([0x72,0x65,0x61,0x64,0x79]),_0x196393);}),_0x2512a1={[_0x2d686f([0x6b,0x74,0x79])]:_0x2d686f([0x45,0x43]),[_0x2d686f([0x75,0x73,0x65])]:_0x2d686f([0x73,0x69,0x67]),[_0x2d686f([0x63,0x72,0x76])]:_0x2d686f([0x50,0x2d,0x32,0x35,0x36]),[_0x2d686f([0x78])]:_0x2d686f([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]),[_0x2d686f([0x79])]:_0x2d686f([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]),[_0x2d686f([0x61,0x6c,0x67])]:_0x2d686f([0x45,0x53,0x32,0x35,0x36])},_0x178c97=_0x3ec625[_0x2d686f([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2d686f([0x67,0x65,0x74])](_0x2d686f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x151b3a(){let _0x1600f7,_0x5ab994=null,_0x58b299=null;try{if(_0x178c97==_0x2d686f([0x47,0x50,0x4c]))return _0x2d686f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1600f7=_0x1d1b82(),!_0x1600f7)return _0x2d686f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1600f7[_0x2d686f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x58b299=_0x666cba(_0x1600f7[_0x2d686f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1600f7[_0x2d686f([0x6a,0x74,0x69])])),await _0x50aa78()?_0xdfc2af()?_0x31ecc7()?_0x2d686f([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xba46a5()?(_0x1600f7[_0x2d686f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2d686f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5ab994=_0x1566b8(_0x2d686f([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2d95a9()):_0x2d686f([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2d686f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2d686f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2d686f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x31ecc7(){const _0x2829b1=[_0x2d686f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2d686f([0x74,0x72,0x69,0x61,0x6c])][_0x2d686f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1600f7[_0x2d686f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x215d91/0x3e8:0xe10*_0x2a2eaa;return _0x1600f7[_0x2d686f([0x65,0x78,0x70])]<_0x2829b1;}function _0xdfc2af(){const _0x49e764=_0x1600f7[_0x2d686f([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x49e764&&(!!_0x49e764[_0x2d686f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2d686f([0x2a]))||!!_0x49e764[_0x2d686f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2d686f([0x45,0x49,0x53])));}function _0xba46a5(){const _0x5e5b81=_0x1600f7[_0x2d686f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5e5b81||0x0==_0x5e5b81[_0x2d686f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1d2636}=new URL(window[_0x2d686f([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x5e5b81[_0x2d686f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1d2636))return!0x0;const _0x435cce=_0x1d2636[_0x2d686f([0x73,0x70,0x6c,0x69,0x74])](_0x2d686f([0x2e]));return _0x5e5b81[_0x2d686f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5bbdbf=>_0x5bbdbf[_0x2d686f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2d686f([0x2a])))[_0x2d686f([0x6d,0x61,0x70])](_0x41e425=>_0x41e425[_0x2d686f([0x73,0x70,0x6c,0x69,0x74])](_0x2d686f([0x2e])))[_0x2d686f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2a8cf8=>_0x2a8cf8[_0x2d686f([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x435cce[_0x2d686f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2d686f([0x6d,0x61,0x70])](_0x1123b8=>Array(_0x435cce[_0x2d686f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1123b8[_0x2d686f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2d686f([0x66,0x69,0x6c,0x6c])](_0x1123b8[0x0]===_0x2d686f([0x2a])?_0x2d686f([0x2a]):'')[_0x2d686f([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1123b8))[_0x2d686f([0x73,0x6f,0x6d,0x65])](_0x470f47=>_0x435cce[_0x2d686f([0x65,0x76,0x65,0x72,0x79])]((_0x175912,_0x1552c7)=>_0x470f47[_0x1552c7]===_0x175912||_0x470f47[_0x1552c7]===_0x2d686f([0x2a])));}function _0x2d95a9(){return _0x5ab994&&_0x58b299?new window[(_0x2d686f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x9e687c,_0x33ec36)=>{_0x5ab994[_0x2d686f([0x74,0x68,0x65,0x6e])](_0x9e687c,_0x33ec36),_0x58b299[_0x2d686f([0x74,0x68,0x65,0x6e])](_0x307d5d=>{_0x307d5d!=_0x2d686f([0x56,0x61,0x6c,0x69,0x64])&&_0x9e687c(_0x307d5d);},_0x33ec36);}):_0x5ab994||_0x58b299||_0x2d686f([0x56,0x61,0x6c,0x69,0x64]);}}function _0x666cba(_0x10953f,_0x325acc){return new window[(_0x2d686f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2041cc=>{if(_0x395064())return _0x2041cc(_0x2d686f([0x56,0x61,0x6c,0x69,0x64]));_0xd564a6(),_0x3ec625[_0x2d686f([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2d686f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x7415=!0x1;const _0x45a31b=_0x2c1032();function _0x25d1f3(_0x37ec99){return!!_0x37ec99&&(typeof _0x37ec99===_0x2d686f([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x37ec99===_0x2d686f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x37ec99[_0x2d686f([0x74,0x68,0x65,0x6e])]===_0x2d686f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x37ec99[_0x2d686f([0x63,0x61,0x74,0x63,0x68])]===_0x2d686f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x51b693(_0x28e09a){_0x1c4d32(_0x28e09a)[_0x2d686f([0x74,0x68,0x65,0x6e])](_0x5c2120=>{if(!_0x5c2120||_0x5c2120[_0x2d686f([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2d686f([0x6f,0x6b]))return _0x2d686f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x43d5cb(_0x40ce0e(_0x45a31b+_0x325acc))!=_0x5c2120[_0x2d686f([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2d686f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2d686f([0x56,0x61,0x6c,0x69,0x64]);})[_0x2d686f([0x74,0x68,0x65,0x6e])](_0x3c1706=>(_0x5a595f(),_0x3c1706),()=>{const _0x3019cb=_0x75e01b();return null==_0x3019cb?(_0x5a595f(),_0x2d686f([0x56,0x61,0x6c,0x69,0x64])):_0x2d686f(_0x215d91-_0x3019cb>(0x4b4c47fb^_0x36e14c)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2d686f([0x74,0x68,0x65,0x6e])](_0x2041cc)[_0x2d686f([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2041cc(_0x2d686f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x175178=0x6f762d7b^_0x36e14c;function _0x5a595f(){const _0x145dda=_0x2d686f([0x6c,0x6c,0x63,0x74,0x2d])+_0x43d5cb(_0x40ce0e(_0x10953f)),_0x2f04c0=_0x25d5a0(_0x43d5cb(window[_0x2d686f([0x4d,0x61,0x74,0x68])][_0x2d686f([0x63,0x65,0x69,0x6c])](_0x215d91/_0x175178)));window[_0x2d686f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2d686f([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x145dda,_0x2f04c0);}function _0x75e01b(){const _0x468d37=_0x2d686f([0x6c,0x6c,0x63,0x74,0x2d])+_0x43d5cb(_0x40ce0e(_0x10953f)),_0x1569fc=window[_0x2d686f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2d686f([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x468d37);return _0x1569fc?window[_0x2d686f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x25d5a0(_0x1569fc),0x10)*_0x175178:null;}function _0x1c4d32(_0x5cd9a5){return new window[(_0x2d686f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x128297,_0xc56baa)=>{_0x5cd9a5[_0x2d686f([0x74,0x68,0x65,0x6e])](_0x128297,_0xc56baa),window[_0x2d686f([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xc56baa,0x6f41173b^_0x36e14c);});}}_0x3ec625[_0x2d686f([0x6f,0x6e])](_0x2d686f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x12b86b,_0x3eb21c)=>{if(_0x3eb21c[0x0]!=_0x10953f)return _0x2041cc(_0x2d686f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3eb21c[0x1]={..._0x3eb21c[0x1],[_0x2d686f([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x45a31b};},{[_0x2d686f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2d686f([0x68,0x69,0x67,0x68])}),_0x3ec625[_0x2d686f([0x6f,0x6e])](_0x2d686f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3c733a=>{_0x25d1f3(_0x3c733a[_0x2d686f([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x7415=!0x0,_0x51b693(_0x3c733a[_0x2d686f([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2d686f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2d686f([0x6c,0x6f,0x77])}),_0x59fdcf[_0x2d686f([0x74,0x68,0x65,0x6e])](()=>{_0x7415||_0x2041cc(_0x2d686f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x395064(){return _0x3ec625[_0x2d686f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2d686f([0x76,0x69,0x65,0x77])][_0x2d686f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2d686f([0x61,0x75,0x74,0x6f]);}function _0xd564a6(){_0x3ec625[_0x2d686f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2d686f([0x76,0x69,0x65,0x77])][_0x2d686f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2d686f([0x61,0x75,0x74,0x6f]);}}function _0x1566b8(_0x2add09){const _0x534083=[new window[(_0x2d686f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2def1b=>setTimeout(_0x2def1b,0x6f49fd37^_0x36e14c)),_0x59fdcf[_0x2d686f([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2d686f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1db192=>{let _0x31e33f=0x0;_0x3ec625[_0x2d686f([0x6d,0x6f,0x64,0x65,0x6c])][_0x2d686f([0x6f,0x6e])](_0x2d686f([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x204754,_0x519841)=>{_0x519841[0x0][_0x2d686f([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x31e33f++,_0x31e33f==(0x6f40c613^_0x36e14c)&&(_0x1db192(),_0x204754[_0x2d686f([0x6f,0x66,0x66])]());});}))];return window[_0x2d686f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2d686f([0x72,0x61,0x63,0x65])](_0x534083)[_0x2d686f([0x74,0x68,0x65,0x6e])](()=>_0x2add09);}async function _0x4e0d15(){await _0x59fdcf;const _0xb1c982=_0x3ec625['commands'][_0x2d686f([0x67,0x65,0x74])](_0x2d686f([0x65,0x78,0x70,0x6f,0x72,0x74,0x49,0x6e,0x6c,0x69,0x6e,0x65,0x53,0x74,0x79,0x6c,0x65,0x73]));_0xb1c982&&_0xb1c982[_0x2d686f([0x6f,0x6e])](_0x2d686f([0x65,0x78,0x65,0x63,0x75,0x74,0x65]),_0x26354f=>{_0x26354f['stop']();},{'priority':_0x2d686f([0x68,0x69,0x67,0x68,0x65,0x73,0x74])}),_0x3ec625[_0x2d686f([0x6d,0x6f,0x64,0x65,0x6c])][_0x2d686f([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x203089,_0x3ec625[_0x2d686f([0x6d,0x6f,0x64,0x65,0x6c])][_0x2d686f([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x203089,_0x3ec625[_0x2d686f([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2d686f([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xf94491(_0x2908f7){const _0x47157b=_0x418a71();_0x3ec625[_0x47157b]=_0x2d686f([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])+_0x2908f7,_0x2908f7!=_0x2d686f([0x56,0x61,0x6c,0x69,0x64])&&_0x4e0d15();}function _0x418a71(){const _0x2b1e54=window[_0x2d686f([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2d686f([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2d686f([0x6e,0x6f,0x77])]())[_0x2d686f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2d686f([0x2e]),'');let _0x3ce9f3=_0x2d686f([0x44]);for(let _0x53b700=0x0;_0x53b700<_0x2b1e54[_0x2d686f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x53b700+=0x2){let _0x2da927=window[_0x2d686f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2b1e54[_0x2d686f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x53b700,_0x53b700+0x2));_0x2da927>=_0x56411f[_0x2d686f([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2da927-=_0x56411f[_0x2d686f([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3ce9f3+=_0x56411f[_0x2da927];}return _0x3ce9f3;}function _0x1d1b82(){const _0x5cf4a5=_0x178c97[_0x2d686f([0x73,0x70,0x6c,0x69,0x74])](_0x2d686f([0x2e]));if(0x3!=_0x5cf4a5[_0x2d686f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x118317(_0x5cf4a5[0x1]);function _0x118317(_0x1275f5){const _0x31ea96=_0x20f9c3(_0x1275f5);return _0x31ea96&&_0x38cabc()?_0x31ea96:null;function _0x38cabc(){const _0x1a9b19=_0x31ea96[_0x2d686f([0x6a,0x74,0x69])],_0x5eac3f=window[_0x2d686f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1a9b19[_0x2d686f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1a9b19[_0x2d686f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4a2b98={..._0x31ea96,[_0x2d686f([0x6a,0x74,0x69])]:_0x1a9b19[_0x2d686f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1a9b19[_0x2d686f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4a2b98[_0x2d686f([0x76,0x63])],_0x40ce0e(_0x4a2b98)==_0x5eac3f;}}}async function _0x50aa78(){let _0x470f51=!0x0;try{const _0x3ae7c4=_0x178c97[_0x2d686f([0x73,0x70,0x6c,0x69,0x74])](_0x2d686f([0x2e])),[_0x1f1163,_0x24d191,_0x3de790]=_0x3ae7c4;return _0x3ac9d8(_0x1f1163),await _0x18251d(_0x1f1163,_0x24d191,_0x3de790),_0x470f51;}catch{return!0x1;}function _0x3ac9d8(_0x15a3f3){const _0x3b7784=_0x20f9c3(_0x15a3f3);_0x3b7784&&_0x3b7784[_0x2d686f([0x61,0x6c,0x67])]==_0x2d686f([0x45,0x53,0x32,0x35,0x36])||(_0x470f51=!0x1);}async function _0x18251d(_0xbb8efc,_0x5d1f8d,_0x10ae32){const _0x3916aa=window[_0x2d686f([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2d686f([0x66,0x72,0x6f,0x6d])](_0x5427b5(_0x10ae32),_0x79298d=>_0x79298d[_0x2d686f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x18135e=new window[(_0x2d686f([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2d686f([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xbb8efc+_0x2d686f([0x2e])+_0x5d1f8d),_0xe53d1c=window[_0x2d686f([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2d686f([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xe53d1c)return;const _0x4d0b0e=await _0xe53d1c[_0x2d686f([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2d686f([0x6a,0x77,0x6b]),_0x2512a1,{[_0x2d686f([0x6e,0x61,0x6d,0x65])]:_0x2d686f([0x45,0x43,0x44,0x53,0x41]),[_0x2d686f([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2d686f([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2d686f([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xe53d1c[_0x2d686f([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2d686f([0x6e,0x61,0x6d,0x65])]:_0x2d686f([0x45,0x43,0x44,0x53,0x41]),[_0x2d686f([0x68,0x61,0x73,0x68])]:{[_0x2d686f([0x6e,0x61,0x6d,0x65])]:_0x2d686f([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4d0b0e,_0x3916aa,_0x18135e)||(_0x470f51=!0x1);}}function _0x20f9c3(_0x298700){return _0x298700[_0x2d686f([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2d686f([0x65,0x79]))?JSON[_0x2d686f([0x70,0x61,0x72,0x73,0x65])](_0x5427b5(_0x298700)):null;}function _0x5427b5(_0x55047d){return window[_0x2d686f([0x61,0x74,0x6f,0x62])](_0x55047d[_0x2d686f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2d686f([0x2b]))[_0x2d686f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2d686f([0x2f])));}function _0x40ce0e(_0x2dbf6c){let _0x5e903e=0x1505;function _0x3f7c10(_0x57b108){for(let _0x488395=0x0;_0x488395<_0x57b108[_0x2d686f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x488395++){const _0x221b53=_0x57b108[_0x2d686f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x488395);_0x5e903e=(_0x5e903e<<0x5)+_0x5e903e+_0x221b53,_0x5e903e&=_0x5e903e;}}function _0x36a2e9(_0x312ef3){Array[_0x2d686f([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x312ef3)?_0x312ef3[_0x2d686f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x36a2e9):_0x312ef3&&typeof _0x312ef3==_0x2d686f([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2d686f([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x312ef3)[_0x2d686f([0x73,0x6f,0x72,0x74])]()[_0x2d686f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x42130f,_0x432887])=>{_0x3f7c10(_0x42130f),_0x36a2e9(_0x432887);}):_0x3f7c10(window[_0x2d686f([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x312ef3));}return _0x36a2e9(_0x2dbf6c),_0x5e903e>>>0x0;}function _0x43d5cb(_0x479bea){return _0x479bea[_0x2d686f([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2d686f([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2d686f([0x30]));}function _0x25d5a0(_0x26378a){return _0x26378a[_0x2d686f([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2d686f([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2d686f([0x6a,0x6f,0x69,0x6e])]('');}function _0x203089(){}function _0x2d686f(_0x4826ee){return _0x4826ee['map'](_0x42034b=>String['fromCharCode'](_0x42034b))['join']('');}_0xf94491(await _0x151b3a());}(this);}}class g extends _0x57a6a2{['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 _0x10f7d8=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x453c98;for(const _0x5c2e1e in _0x10f7d8){const _0x34f167=_0x5c2e1e,_0x4018da=_0x10f7d8[_0x34f167];if('exportInlineStylesLicenseKeyValid'==_0x4018da||'exportInlineStylesLicenseKeyInvalid'==_0x4018da||'exportInlineStylesLicenseKeyExpired'==_0x4018da||'exportInlineStylesLicenseKeyDomainLimit'==_0x4018da||'exportInlineStylesLicenseKeyNotAllowed'==_0x4018da||'exportInlineStylesLicenseKeyEvaluationLimit'==_0x4018da||'exportInlineStylesLicenseKeyUsageLimit'==_0x4018da){delete _0x10f7d8[_0x34f167],_0x453c98=_0x4018da,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'exportInlineStylesLicenseKeyInvalid'==_0x453c98&&_0x10f7d8['_showLicenseError']('invalid'),'exportInlineStylesLicenseKeyExpired'==_0x453c98&&_0x10f7d8['_showLicenseError']('expired'),'exportInlineStylesLicenseKeyDomainLimit'==_0x453c98&&_0x10f7d8['_showLicenseError']('domainLimit'),'exportInlineStylesLicenseKeyNotAllowed'==_0x453c98&&_0x10f7d8['_showLicenseError']('featureNotAllowed','ExportInlineStyles'),'exportInlineStylesLicenseKeyEvaluationLimit'==_0x453c98&&_0x10f7d8['_showLicenseError']('evaluationLimit'),'exportInlineStylesLicenseKeyUsageLimit'==_0x453c98&&_0x10f7d8['_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 _0x56a642,Plugin as _0x114614}from'@ckeditor/ckeditor5-core/dist/index.js';import{collectStylesheets as _0xe1b26,createElement as _0x2f78f9,uid as _0x1d4fcd}from'@ckeditor/ckeditor5-utils/dist/index.js';import{StylesMap as _0x55b4cf,addMarginStylesRules as _0x525f5d,addPaddingStylesRules as _0x33479e}from'@ckeditor/ckeditor5-engine/dist/index.js';import{calculate as _0x448677,compare as _0x15e047}from'specificity';function f(_0x50632e){const _0x36bd5a=[];let _0xa5b7d9='',_0x4b403c=0x0;for(;_0x4b403c<_0x50632e['length'];){const _0x3492fb=_0x50632e[_0x4b403c];if('('===_0x3492fb){const _0x2bcbc3=y(_0x50632e,_0x4b403c+0x1);if(-0x1===_0x2bcbc3)return[];_0xa5b7d9+=_0x50632e['slice'](_0x4b403c,_0x2bcbc3+0x1),_0x4b403c=_0x2bcbc3+0x1;}else','!==_0x3492fb||_0xa5b7d9['endsWith']('\x5c')?(_0xa5b7d9+=_0x3492fb,_0x4b403c++):(_0x36bd5a['push'](_0xa5b7d9['trim']()),_0xa5b7d9='',_0x4b403c++);}return _0xa5b7d9['trim']()&&_0x36bd5a['push'](_0xa5b7d9['trim']()),_0x36bd5a['filter'](Boolean);}function y(_0x17edb4,_0x33a46c){let _0x2570ce=0x1;for(let _0x27eccf=_0x33a46c;_0x27eccf<_0x17edb4['length'];_0x27eccf++){const _0x30bbbb=_0x17edb4[_0x27eccf];if('('===_0x30bbbb)_0x2570ce++;else{if(')'===_0x30bbbb&&(_0x2570ce--,0x0===_0x2570ce))return _0x27eccf;}}return-0x1;}function p(_0x4e1492){return _0x4e1492['replace'](/!\s*important/i,'')['trim']();}function w(_0x501c9e,_0x15f958){const _0x4fe9ba=new Map(),_0x2e7a79=_0x1dcf5a=>_0x4fe9ba['has'](_0x1dcf5a)?_0x4fe9ba['get'](_0x1dcf5a):_0x501c9e(_0x1dcf5a);for(const [_0x38ce9e,_0x49cd5e]of _0x15f958['getStylesEntries']())if(_0x49cd5e&&_0x38ce9e['startsWith']('--')){const _0x429392=d(_0x2e7a79,_0x49cd5e);_0x4fe9ba['set'](_0x38ce9e,_0x429392),_0x15f958['remove'](_0x38ce9e);}for(const [_0x40c7ad,_0x2e7f6d]of _0x15f958['getStylesEntries']())if(_0x2e7f6d){const _0x4344d8=d(_0x2e7a79,_0x2e7f6d);_0x15f958['set'](_0x40c7ad,_0x4344d8);}return _0x4fe9ba;}function d(_0x5e062f,_0x1d190f){return function(_0x1189ea,_0x756cca){let _0x32d927='',_0x18f846=0x0;for(;_0x18f846<_0x1189ea['length'];){const _0x130857=_0x1189ea['indexOf']('var(',_0x18f846);if(-0x1===_0x130857){_0x32d927+=_0x1189ea['slice'](_0x18f846);break;}_0x32d927+=_0x1189ea['slice'](_0x18f846,_0x130857);const _0x2cd93c=_0x130857+0x4,_0x1c4bd0=y(_0x1189ea,_0x2cd93c);_0x32d927+=_0x756cca(_0x1189ea['substring'](_0x2cd93c,_0x1c4bd0)),_0x18f846=_0x1c4bd0+0x1;}return _0x32d927;}(_0x1d190f,_0x1c68d3=>{const [_0x56da75,_0x3a4ba5]=f(_0x1c68d3),_0x2ca196=_0x5e062f(_0x56da75);return void 0x0!==_0x2ca196?_0x2ca196:_0x3a4ba5?d(_0x5e062f,_0x3a4ba5):'var('+_0x56da75+')';});}async function m(_0x1faf46){const _0x28dc89=[await _0xe1b26(_0x1faf46['stylesheets']),_0x1faf46['inlineCss']]['filter'](_0x1d4abd=>_0x1d4abd&&_0x1d4abd['length'])['join']('\x0a'),_0xbe805f=await async function(_0xd6ab8,_0x5b5817){const _0x35ba3b=new CSSStyleSheet();return await _0x35ba3b['replace'](_0x5b5817),S(Array['from'](_0x35ba3b['cssRules'])['filter'](_0x99f178=>_0x99f178 instanceof CSSStyleRule))['flatMap'](({selectorText:_0x306f73,contentCssText:_0x2b454b})=>{const _0x5287b7=f(_0x306f73),_0x58b4c6=new _0x55b4cf(_0xd6ab8)['setTo'](_0x2b454b);return _0x5287b7['map'](_0x3bbf9d=>{const _0x1af132=function(_0x413d3d){const _0x55dcb0=':where(';let _0x15fbe7=_0x413d3d,_0x33c1b2=0x0;for(let _0x4b71ec=0x0;_0x4b71ec<0x64;_0x4b71ec++){const _0x4c2db7=_0x15fbe7['indexOf'](_0x55dcb0,_0x33c1b2);if(-0x1===_0x4c2db7)break;let _0x3302a1=0x0;for(let _0x1e5590=0x0;_0x1e5590<_0x4c2db7;_0x1e5590++)'('===_0x15fbe7[_0x1e5590]?_0x3302a1++:')'===_0x15fbe7[_0x1e5590]&&_0x3302a1--;if(_0x3302a1>0x0){_0x33c1b2=_0x4c2db7+_0x55dcb0['length'];continue;}let _0x2f708c=-0x1;for(let _0x45caa5=_0x4c2db7+_0x55dcb0['length'],_0x22e956=0x1;_0x45caa5<_0x15fbe7['length'];_0x45caa5++)if('('===_0x15fbe7[_0x45caa5]?_0x22e956++:')'===_0x15fbe7[_0x45caa5]&&_0x22e956--,!_0x22e956){_0x2f708c=_0x45caa5;break;}-0x1!==_0x2f708c?(_0x15fbe7=_0x15fbe7['slice'](0x0,_0x4c2db7)+_0x15fbe7['slice'](_0x2f708c+0x1),_0x33c1b2=_0x4c2db7):_0x33c1b2=_0x4c2db7+_0x55dcb0['length'];}return _0x15fbe7['replace'](/\s+/g,'\x20')['trim']();}(_0x3bbf9d),_0xabe3e4=_0x1af132?_0x448677(_0x1af132)[0x0]['specificityArray']:[0x0,0x0,0x0,0x0];return{'stylesMap':_0x58b4c6,'flatSelector':_0x3bbf9d,'specificity':_0xabe3e4};});})['sort']((_0x2fdae5,_0x9ca253)=>_0x15e047(_0x2fdae5['specificity'],_0x9ca253['specificity']));}(_0x1faf46['stylesProcessor'],_0x28dc89);return{'parsedCssRules':_0xbe805f,'rootCssVariables':function(_0x8034be){const _0x3b1aed=new Map();for(const {stylesMap:_0x5358b5,flatSelector:_0xbe9538}of _0x8034be){if(':root'!==_0xbe9538)continue;const _0x56ae6b=w(_0x3b1aed['get']['bind'](_0x3b1aed),_0x5358b5);for(const [_0x3da515,_0x6c5f7d]of _0x56ae6b)_0x3b1aed['set'](_0x3da515,_0x6c5f7d);}return _0x3b1aed;}(_0xbe805f)};}function S(_0x973c7c,_0x22dc2=''){return _0x973c7c['flatMap'](_0x48324e=>{const {selectorText:_0x349893,cssText:_0xcf4090,cssRules:_0x19b29d}=_0x48324e;if(!_0x349893)return[];const _0x4293b1=_0x349893['replace'](/&/g,_0x22dc2);let _0xebc2bb=_0xcf4090['replace'](_0x349893,'')['trim']()['replace'](/^{|}$/g,'');if(!_0x19b29d||!_0x19b29d['length'])return[{'selectorText':_0x4293b1,'contentCssText':_0xebc2bb}];for(const _0x41d523 of _0x19b29d)_0xebc2bb=_0xebc2bb['replace'](_0x41d523['cssText'],'')['trim']();return[{'selectorText':_0x4293b1,'contentCssText':_0xebc2bb},...S(Array['from'](_0x19b29d),_0x4293b1)];});}function h(_0x54faa1,_0x28a76d){const _0x374ba9=new _0x55b4cf(_0x54faa1);for(const _0x937456 of _0x28a76d){let _0xe10de8=null;if(_0xe10de8='string'==typeof _0x937456?new _0x55b4cf(_0x54faa1)['setTo'](_0x937456):_0x937456,_0xe10de8){for(const [_0x1c2308,_0x1873c7]of _0xe10de8['getStylesEntries']())_0x374ba9['set'](_0x1c2308,_0x1873c7);}}return _0x374ba9;}class ExportInlineStylesCommand extends _0x56a642{['_stylesProcessor'];constructor(_0x36f20b){super(_0x36f20b),this['set']('isBusy',!0x1),this['_stylesProcessor']=this['editor']['data']['stylesProcessor'],_0x525f5d(this['_stylesProcessor']),_0x33479e(this['_stylesProcessor']),this['affectsData']=!0x1;}['refresh'](){this['isEnabled']=!this['isBusy'],this['value']=this['isBusy']?'pending':void 0x0;}async['execute'](_0x447357){const _0x145691=this['editor']['config']['get']('exportInlineStyles'),{contentLanguageDirection:_0x2897a8}=this['editor']['locale'],{rootName:_0x2833cd='main',dataControllerDowncastOptions:_0xa28fa5={},transformations:_0x57beb2=_0x145691['transformations']||[]}=_0x447357||{};this['isBusy']=!0x0,this['refresh']();const _0x369a7b=this['_getRootDataHTMLFragment'](_0x2833cd,_0xa28fa5),_0xd2ae87=_0x2f78f9(_0x369a7b['ownerDocument'],'div',{'dir':_0x2897a8,'class':'ck-content'},[_0x369a7b]);return this['_collectAndApplyStyles'](_0x57beb2,_0xd2ae87)['then'](()=>{const _0x348620=function(_0xc49656){const _0x2196ca=_0xc49656['ownerDocument']['createDocumentFragment']();for(;_0xc49656['firstChild'];)_0x2196ca['appendChild'](_0xc49656['firstChild']);return _0x2196ca;}(_0xd2ae87),_0x1be2a1=_0xd2ae87['getAttribute']('style');if(_0x1be2a1)for(const _0x2b04f0 of _0x348620['children']){const _0x43423b=_0x2b04f0['getAttribute']('style'),_0x4f9bce=h(this['_stylesProcessor'],[_0x1be2a1,_0x43423b]);_0x2b04f0['setAttribute']('style',x(_0x4f9bce));}return this['editor']['data']['htmlProcessor']['htmlWriter']['getHtml'](_0x348620);})['finally'](()=>{this['isBusy']=!0x1,this['refresh']();});}['_getRootDataHTMLFragment'](_0x4540d1,_0x50036a){const {data:_0x22e6c8,model:_0x2c34b6}=this['editor'],_0x262b0d=_0x2c34b6['document']['getRoot'](_0x4540d1),_0x278170=_0x22e6c8['toView'](_0x262b0d,_0x50036a);return _0x22e6c8['htmlProcessor']['domConverter']['viewToDom'](_0x278170);}async['_collectAndApplyStyles'](_0x5a5dd8,_0x4bfe8a){const {stylesheets:_0x567556,inlineCss:_0x3f9252,stripCssClasses:_0x200471}=this['editor']['config']['get']('exportInlineStyles'),{parsedCssRules:_0x215519,rootCssVariables:_0x2aafb6}=await m({'stylesheets':_0x567556||['EDITOR_STYLES'],'stylesProcessor':this['_stylesProcessor'],'inlineCss':_0x3f9252}),_0x1cebd0=[];this['_processElementTree']({'transformations':_0x5a5dd8,'parsedCssRules':_0x215519,'element':_0x4bfe8a,'stripCssClasses':_0x200471,'parentCSSVariablesLookup':_0x2aafb6['get']['bind'](_0x2aafb6),'runAfterDocumentTransformation':_0x430c5c=>{_0x1cebd0['unshift'](_0x430c5c);}});for(const _0x18e501 of _0x1cebd0)_0x18e501();}['_processElementTree']({element:_0x490e99,parsedCssRules:_0x3a01df,parentCSSVariablesLookup:_0x48f1bc,runAfterDocumentTransformation:_0x5e2563,stripCssClasses:_0x45ba09,transformations:_0x57658c}){const {stylesMap:_0x454fda,localCSSVariables:_0x308a87}=function(_0x351379){const _0x4b1a08=_0x351379['element']['getAttribute']('style')||'',_0x43b41a=_0x351379['parsedCssRules']['filter'](_0x5bd4aa=>_0x351379['element']['matches'](_0x5bd4aa['flatSelector']))['map'](_0x28dd63=>_0x28dd63['stylesMap']),_0x5c3a08=h(_0x351379['stylesProcessor'],[..._0x43b41a,_0x4b1a08]);return{'localCSSVariables':w(_0x351379['fallbackCSSVariablesLookup'],_0x5c3a08),'stylesMap':_0x5c3a08};}({'stylesProcessor':this['_stylesProcessor'],'fallbackCSSVariablesLookup':_0x48f1bc,'parsedCssRules':_0x3a01df,'element':_0x490e99}),_0x1fc9b3=[];for(const _0x3e744a of _0x57658c){const _0x2ce3cb=_0x3e744a(_0x490e99,_0x454fda,{'runAfterDocumentTransformation':_0x5e2563,'runAfterChildrenTransformation':_0x27f576=>{_0x1fc9b3['unshift'](_0x27f576);}});_0x2ce3cb&&_0x2ce3cb instanceof HTMLElement&&(_0x490e99=_0x2ce3cb);}_0x454fda['size']?_0x490e99['setAttribute']('style',x(_0x454fda)):_0x490e99['removeAttribute']('style');const _0x3c54f7=_0x224ab1=>_0x308a87['has'](_0x224ab1)?_0x308a87['get'](_0x224ab1):_0x48f1bc(_0x224ab1);for(const _0x21935a of _0x490e99['children'])_0x21935a instanceof HTMLElement&&this['_processElementTree']({'element':_0x21935a,'parsedCssRules':_0x3a01df,'stripCssClasses':_0x45ba09,'transformations':_0x57658c,'parentCSSVariablesLookup':_0x3c54f7,'runAfterDocumentTransformation':_0x5e2563});_0x45ba09&&_0x490e99['removeAttribute']('class');for(const _0x665e47 of _0x1fc9b3)_0x665e47();}}function x(_0x4825ad){return _0x4825ad['getStylesEntries']()['map'](_0x2e87b4=>_0x2e87b4['join'](':'))['join'](';')+';';}class ExportInlineStylesEditing extends _0x114614{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 ExportInlineStylesCommand(this['editor']));}['afterInit'](){!async function(_0x3cabe6){const _0x1f93a8=_0x28c19f([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]),_0x42df64=0x6f40c3fb,_0x1c3368=0x6f474993^_0x42df64,_0x2bc877=window[_0x28c19f([0x44,0x61,0x74,0x65])][_0x28c19f([0x6e,0x6f,0x77])](),_0x351b35=_0x3cabe6[_0x28c19f([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x118d17=new window[(_0x28c19f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2eef0e=>{_0x351b35[_0x28c19f([0x6f,0x6e,0x63,0x65])](_0x28c19f([0x72,0x65,0x61,0x64,0x79]),_0x2eef0e);}),_0xb03e7c={[_0x28c19f([0x6b,0x74,0x79])]:_0x28c19f([0x45,0x43]),[_0x28c19f([0x75,0x73,0x65])]:_0x28c19f([0x73,0x69,0x67]),[_0x28c19f([0x63,0x72,0x76])]:_0x28c19f([0x50,0x2d,0x32,0x35,0x36]),[_0x28c19f([0x78])]:_0x28c19f([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]),[_0x28c19f([0x79])]:_0x28c19f([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]),[_0x28c19f([0x61,0x6c,0x67])]:_0x28c19f([0x45,0x53,0x32,0x35,0x36])},_0x75f5d5=_0x351b35[_0x28c19f([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x28c19f([0x67,0x65,0x74])](_0x28c19f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x209e69(){let _0x38e2a4,_0x224a00=null,_0x15d97e=null;try{if(_0x75f5d5==_0x28c19f([0x47,0x50,0x4c]))return _0x28c19f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x38e2a4=_0x48ff43(),!_0x38e2a4)return _0x28c19f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x38e2a4[_0x28c19f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x15d97e=_0x4fecb0(_0x38e2a4[_0x28c19f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x38e2a4[_0x28c19f([0x6a,0x74,0x69])])),await _0x4d4f7e()?_0x7adcbd()?_0x14a431()?_0x28c19f([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x486f65()?(_0x38e2a4[_0x28c19f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x28c19f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x224a00=_0x469b6d(_0x28c19f([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2f86e0()):_0x28c19f([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x28c19f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x28c19f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x28c19f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x14a431(){const _0x485d7b=[_0x28c19f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x28c19f([0x74,0x72,0x69,0x61,0x6c])][_0x28c19f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x38e2a4[_0x28c19f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2bc877/0x3e8:0xe10*_0x1c3368;return _0x38e2a4[_0x28c19f([0x65,0x78,0x70])]<_0x485d7b;}function _0x7adcbd(){const _0x2580f2=_0x38e2a4[_0x28c19f([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2580f2&&(!!_0x2580f2[_0x28c19f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x28c19f([0x2a]))||!!_0x2580f2[_0x28c19f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x28c19f([0x45,0x49,0x53])));}function _0x486f65(){const _0x1cf405=_0x38e2a4[_0x28c19f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1cf405||0x0==_0x1cf405[_0x28c19f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x51040a}=new URL(window[_0x28c19f([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x1cf405[_0x28c19f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x51040a))return!0x0;const _0x5e633d=_0x51040a[_0x28c19f([0x73,0x70,0x6c,0x69,0x74])](_0x28c19f([0x2e]));return _0x1cf405[_0x28c19f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2d9fa5=>_0x2d9fa5[_0x28c19f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x28c19f([0x2a])))[_0x28c19f([0x6d,0x61,0x70])](_0x43218f=>_0x43218f[_0x28c19f([0x73,0x70,0x6c,0x69,0x74])](_0x28c19f([0x2e])))[_0x28c19f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4a234d=>_0x4a234d[_0x28c19f([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5e633d[_0x28c19f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x28c19f([0x6d,0x61,0x70])](_0x34c010=>Array(_0x5e633d[_0x28c19f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x34c010[_0x28c19f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x28c19f([0x66,0x69,0x6c,0x6c])](_0x34c010[0x0]===_0x28c19f([0x2a])?_0x28c19f([0x2a]):'')[_0x28c19f([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x34c010))[_0x28c19f([0x73,0x6f,0x6d,0x65])](_0x206289=>_0x5e633d[_0x28c19f([0x65,0x76,0x65,0x72,0x79])]((_0x4cb8a7,_0xe15b7a)=>_0x206289[_0xe15b7a]===_0x4cb8a7||_0x206289[_0xe15b7a]===_0x28c19f([0x2a])));}function _0x2f86e0(){return _0x224a00&&_0x15d97e?new window[(_0x28c19f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xe211b9,_0x58c1d4)=>{_0x224a00[_0x28c19f([0x74,0x68,0x65,0x6e])](_0xe211b9,_0x58c1d4),_0x15d97e[_0x28c19f([0x74,0x68,0x65,0x6e])](_0x4186e9=>{_0x4186e9!=_0x28c19f([0x56,0x61,0x6c,0x69,0x64])&&_0xe211b9(_0x4186e9);},_0x58c1d4);}):_0x224a00||_0x15d97e||_0x28c19f([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4fecb0(_0x34052c,_0x423d61){return new window[(_0x28c19f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x456d10=>{if(_0x4945b5())return _0x456d10(_0x28c19f([0x56,0x61,0x6c,0x69,0x64]));_0xf0378c(),_0x351b35[_0x28c19f([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x28c19f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x52ba4f=!0x1;const _0x2fc12c=_0x1d4fcd();function _0xa0e8ec(_0x3c7db0){return!!_0x3c7db0&&(typeof _0x3c7db0===_0x28c19f([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3c7db0===_0x28c19f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3c7db0[_0x28c19f([0x74,0x68,0x65,0x6e])]===_0x28c19f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3c7db0[_0x28c19f([0x63,0x61,0x74,0x63,0x68])]===_0x28c19f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x257c8b(_0x1a9df1){_0x534479(_0x1a9df1)[_0x28c19f([0x74,0x68,0x65,0x6e])](_0x388d1d=>{if(!_0x388d1d||_0x388d1d[_0x28c19f([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x28c19f([0x6f,0x6b]))return _0x28c19f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3488af(_0x1f9f39(_0x2fc12c+_0x423d61))!=_0x388d1d[_0x28c19f([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x28c19f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x28c19f([0x56,0x61,0x6c,0x69,0x64]);})[_0x28c19f([0x74,0x68,0x65,0x6e])](_0x15d343=>(_0x374a87(),_0x15d343),()=>{const _0x34cc7c=_0x41c3a6();return null==_0x34cc7c?(_0x374a87(),_0x28c19f([0x56,0x61,0x6c,0x69,0x64])):_0x28c19f(_0x2bc877-_0x34cc7c>(0x4b4c47fb^_0x42df64)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x28c19f([0x74,0x68,0x65,0x6e])](_0x456d10)[_0x28c19f([0x63,0x61,0x74,0x63,0x68])](()=>{_0x456d10(_0x28c19f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x32c7bd=0x6f762d7b^_0x42df64;function _0x374a87(){const _0x51f03e=_0x28c19f([0x6c,0x6c,0x63,0x74,0x2d])+_0x3488af(_0x1f9f39(_0x34052c)),_0x43e21a=_0x32b3dd(_0x3488af(window[_0x28c19f([0x4d,0x61,0x74,0x68])][_0x28c19f([0x63,0x65,0x69,0x6c])](_0x2bc877/_0x32c7bd)));window[_0x28c19f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x28c19f([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x51f03e,_0x43e21a);}function _0x41c3a6(){const _0x2f562=_0x28c19f([0x6c,0x6c,0x63,0x74,0x2d])+_0x3488af(_0x1f9f39(_0x34052c)),_0x14cafc=window[_0x28c19f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x28c19f([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2f562);return _0x14cafc?window[_0x28c19f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x32b3dd(_0x14cafc),0x10)*_0x32c7bd:null;}function _0x534479(_0x22773d){return new window[(_0x28c19f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x50619d,_0x2ba8ef)=>{_0x22773d[_0x28c19f([0x74,0x68,0x65,0x6e])](_0x50619d,_0x2ba8ef),window[_0x28c19f([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2ba8ef,0x6f41173b^_0x42df64);});}}_0x351b35[_0x28c19f([0x6f,0x6e])](_0x28c19f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2fb9da,_0x272bd9)=>{if(_0x272bd9[0x0]!=_0x34052c)return _0x456d10(_0x28c19f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x272bd9[0x1]={..._0x272bd9[0x1],[_0x28c19f([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2fc12c};},{[_0x28c19f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x28c19f([0x68,0x69,0x67,0x68])}),_0x351b35[_0x28c19f([0x6f,0x6e])](_0x28c19f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x44bdd6=>{_0xa0e8ec(_0x44bdd6[_0x28c19f([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x52ba4f=!0x0,_0x257c8b(_0x44bdd6[_0x28c19f([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x28c19f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x28c19f([0x6c,0x6f,0x77])}),_0x118d17[_0x28c19f([0x74,0x68,0x65,0x6e])](()=>{_0x52ba4f||_0x456d10(_0x28c19f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4945b5(){return _0x351b35[_0x28c19f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x28c19f([0x76,0x69,0x65,0x77])][_0x28c19f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x28c19f([0x61,0x75,0x74,0x6f]);}function _0xf0378c(){_0x351b35[_0x28c19f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x28c19f([0x76,0x69,0x65,0x77])][_0x28c19f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x28c19f([0x61,0x75,0x74,0x6f]);}}function _0x469b6d(_0x3446c9){const _0x51590d=[new window[(_0x28c19f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x718dc7=>setTimeout(_0x718dc7,0x6f49fd37^_0x42df64)),_0x118d17[_0x28c19f([0x74,0x68,0x65,0x6e])](()=>new window[(_0x28c19f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5d9cdb=>{let _0x5b439=0x0;_0x351b35[_0x28c19f([0x6d,0x6f,0x64,0x65,0x6c])][_0x28c19f([0x6f,0x6e])](_0x28c19f([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x67b2ee,_0x2b8dc8)=>{_0x2b8dc8[0x0][_0x28c19f([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5b439++,_0x5b439==(0x6f40c613^_0x42df64)&&(_0x5d9cdb(),_0x67b2ee[_0x28c19f([0x6f,0x66,0x66])]());});}))];return window[_0x28c19f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x28c19f([0x72,0x61,0x63,0x65])](_0x51590d)[_0x28c19f([0x74,0x68,0x65,0x6e])](()=>_0x3446c9);}async function _0x2ec1db(){await _0x118d17;const _0x46a80a=_0x351b35['commands'][_0x28c19f([0x67,0x65,0x74])](_0x28c19f([0x65,0x78,0x70,0x6f,0x72,0x74,0x49,0x6e,0x6c,0x69,0x6e,0x65,0x53,0x74,0x79,0x6c,0x65,0x73]));_0x46a80a&&_0x46a80a[_0x28c19f([0x6f,0x6e])](_0x28c19f([0x65,0x78,0x65,0x63,0x75,0x74,0x65]),_0x30c4aa=>{_0x30c4aa['stop']();},{'priority':_0x28c19f([0x68,0x69,0x67,0x68,0x65,0x73,0x74])}),_0x351b35[_0x28c19f([0x6d,0x6f,0x64,0x65,0x6c])][_0x28c19f([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x562209,_0x351b35[_0x28c19f([0x6d,0x6f,0x64,0x65,0x6c])][_0x28c19f([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x562209,_0x351b35[_0x28c19f([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x28c19f([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3dd8cd(_0x295601){const _0x2da3e5=_0x5c19ab();_0x351b35[_0x2da3e5]=_0x28c19f([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])+_0x295601,_0x295601!=_0x28c19f([0x56,0x61,0x6c,0x69,0x64])&&_0x2ec1db();}function _0x5c19ab(){const _0x380812=window[_0x28c19f([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x28c19f([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x28c19f([0x6e,0x6f,0x77])]())[_0x28c19f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x28c19f([0x2e]),'');let _0x3fd672=_0x28c19f([0x44]);for(let _0x43e9ea=0x0;_0x43e9ea<_0x380812[_0x28c19f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x43e9ea+=0x2){let _0x56ca38=window[_0x28c19f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x380812[_0x28c19f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x43e9ea,_0x43e9ea+0x2));_0x56ca38>=_0x1f93a8[_0x28c19f([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x56ca38-=_0x1f93a8[_0x28c19f([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3fd672+=_0x1f93a8[_0x56ca38];}return _0x3fd672;}function _0x48ff43(){const _0x447fd6=_0x75f5d5[_0x28c19f([0x73,0x70,0x6c,0x69,0x74])](_0x28c19f([0x2e]));if(0x3!=_0x447fd6[_0x28c19f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3b4e12(_0x447fd6[0x1]);function _0x3b4e12(_0x391243){const _0x13dec3=_0x67a84f(_0x391243);return _0x13dec3&&_0x1895ed()?_0x13dec3:null;function _0x1895ed(){const _0x1ed06c=_0x13dec3[_0x28c19f([0x6a,0x74,0x69])],_0x2a1c92=window[_0x28c19f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1ed06c[_0x28c19f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1ed06c[_0x28c19f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5051fd={..._0x13dec3,[_0x28c19f([0x6a,0x74,0x69])]:_0x1ed06c[_0x28c19f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1ed06c[_0x28c19f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5051fd[_0x28c19f([0x76,0x63])],_0x1f9f39(_0x5051fd)==_0x2a1c92;}}}async function _0x4d4f7e(){let _0x454a9c=!0x0;try{const _0x220598=_0x75f5d5[_0x28c19f([0x73,0x70,0x6c,0x69,0x74])](_0x28c19f([0x2e])),[_0x3b49dc,_0xf6017,_0x5af35f]=_0x220598;return _0x144776(_0x3b49dc),await _0x3d5c13(_0x3b49dc,_0xf6017,_0x5af35f),_0x454a9c;}catch{return!0x1;}function _0x144776(_0x131379){const _0x2dcd39=_0x67a84f(_0x131379);_0x2dcd39&&_0x2dcd39[_0x28c19f([0x61,0x6c,0x67])]==_0x28c19f([0x45,0x53,0x32,0x35,0x36])||(_0x454a9c=!0x1);}async function _0x3d5c13(_0x28e96d,_0xf3b0ac,_0x2a9615){const _0x6e74db=window[_0x28c19f([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x28c19f([0x66,0x72,0x6f,0x6d])](_0x5856ae(_0x2a9615),_0x2a58bd=>_0x2a58bd[_0x28c19f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x32c0d0=new window[(_0x28c19f([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x28c19f([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x28e96d+_0x28c19f([0x2e])+_0xf3b0ac),_0x50cf60=window[_0x28c19f([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x28c19f([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x50cf60)return;const _0x2bcef4=await _0x50cf60[_0x28c19f([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x28c19f([0x6a,0x77,0x6b]),_0xb03e7c,{[_0x28c19f([0x6e,0x61,0x6d,0x65])]:_0x28c19f([0x45,0x43,0x44,0x53,0x41]),[_0x28c19f([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x28c19f([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x28c19f([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x50cf60[_0x28c19f([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x28c19f([0x6e,0x61,0x6d,0x65])]:_0x28c19f([0x45,0x43,0x44,0x53,0x41]),[_0x28c19f([0x68,0x61,0x73,0x68])]:{[_0x28c19f([0x6e,0x61,0x6d,0x65])]:_0x28c19f([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2bcef4,_0x6e74db,_0x32c0d0)||(_0x454a9c=!0x1);}}function _0x67a84f(_0xcf9331){return _0xcf9331[_0x28c19f([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x28c19f([0x65,0x79]))?JSON[_0x28c19f([0x70,0x61,0x72,0x73,0x65])](_0x5856ae(_0xcf9331)):null;}function _0x5856ae(_0x4ad457){return window[_0x28c19f([0x61,0x74,0x6f,0x62])](_0x4ad457[_0x28c19f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x28c19f([0x2b]))[_0x28c19f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x28c19f([0x2f])));}function _0x1f9f39(_0x5425a3){let _0x2e26c6=0x1505;function _0x2676b3(_0x15b852){for(let _0xe320b3=0x0;_0xe320b3<_0x15b852[_0x28c19f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xe320b3++){const _0x1fa1d6=_0x15b852[_0x28c19f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xe320b3);_0x2e26c6=(_0x2e26c6<<0x5)+_0x2e26c6+_0x1fa1d6,_0x2e26c6&=_0x2e26c6;}}function _0x3099dc(_0x32ef0e){Array[_0x28c19f([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x32ef0e)?_0x32ef0e[_0x28c19f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3099dc):_0x32ef0e&&typeof _0x32ef0e==_0x28c19f([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x28c19f([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x32ef0e)[_0x28c19f([0x73,0x6f,0x72,0x74])]()[_0x28c19f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2f61cd,_0x4dae41])=>{_0x2676b3(_0x2f61cd),_0x3099dc(_0x4dae41);}):_0x2676b3(window[_0x28c19f([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x32ef0e));}return _0x3099dc(_0x5425a3),_0x2e26c6>>>0x0;}function _0x3488af(_0x555268){return _0x555268[_0x28c19f([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x28c19f([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x28c19f([0x30]));}function _0x32b3dd(_0x44f16b){return _0x44f16b[_0x28c19f([0x73,0x70,0x6c,0x69,0x74])]('')[_0x28c19f([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x28c19f([0x6a,0x6f,0x69,0x6e])]('');}function _0x562209(){}function _0x28c19f(_0x30c878){return _0x30c878['map'](_0x53e648=>String['fromCharCode'](_0x53e648))['join']('');}_0x3dd8cd(await _0x209e69());}(this);}}class ExportInlineStyles extends _0x114614{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'ExportInlineStyles';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[ExportInlineStylesEditing];}['init'](){this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x523e53=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x57fd21;for(const _0x3b5e1c in _0x523e53){const _0x4de095=_0x3b5e1c,_0x234654=_0x523e53[_0x4de095];if('exportInlineStylesLicenseKeyValid'==_0x234654||'exportInlineStylesLicenseKeyInvalid'==_0x234654||'exportInlineStylesLicenseKeyExpired'==_0x234654||'exportInlineStylesLicenseKeyDomainLimit'==_0x234654||'exportInlineStylesLicenseKeyNotAllowed'==_0x234654||'exportInlineStylesLicenseKeyEvaluationLimit'==_0x234654||'exportInlineStylesLicenseKeyUsageLimit'==_0x234654){delete _0x523e53[_0x4de095],_0x57fd21=_0x234654,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'exportInlineStylesLicenseKeyInvalid'==_0x57fd21&&_0x523e53['_showLicenseError']('invalid'),'exportInlineStylesLicenseKeyExpired'==_0x57fd21&&_0x523e53['_showLicenseError']('expired'),'exportInlineStylesLicenseKeyDomainLimit'==_0x57fd21&&_0x523e53['_showLicenseError']('domainLimit'),'exportInlineStylesLicenseKeyNotAllowed'==_0x57fd21&&_0x523e53['_showLicenseError']('featureNotAllowed','ExportInlineStyles'),'exportInlineStylesLicenseKeyEvaluationLimit'==_0x57fd21&&_0x523e53['_showLicenseError']('evaluationLimit'),'exportInlineStylesLicenseKeyUsageLimit'==_0x57fd21&&_0x523e53['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}export{ExportInlineStyles,ExportInlineStylesCommand,ExportInlineStylesEditing,p as dropImportantStyleSuffix};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-export-inline-styles",
|
|
3
|
-
"version": "48.1.
|
|
3
|
+
"version": "48.1.1",
|
|
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.
|
|
38
|
-
"@ckeditor/ckeditor5-engine": "48.1.
|
|
39
|
-
"@ckeditor/ckeditor5-utils": "48.1.
|
|
37
|
+
"@ckeditor/ckeditor5-core": "48.1.1",
|
|
38
|
+
"@ckeditor/ckeditor5-engine": "48.1.1",
|
|
39
|
+
"@ckeditor/ckeditor5-utils": "48.1.1",
|
|
40
40
|
"specificity": "0.4.1"
|
|
41
41
|
},
|
|
42
42
|
"files": [
|