@ckeditor/ckeditor5-export-inline-styles 48.2.0-alpha.4 → 48.2.0-alpha.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +4 -4
package/dist/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Command as _0x4205fb,Plugin as _0x4f1242}from'@ckeditor/ckeditor5-core/dist/index.js';import{collectStylesheets as _0x471d0e,createElement as _0x44384d,uid as _0x219c12}from'@ckeditor/ckeditor5-utils/dist/index.js';import{StylesMap as _0x499dc9,addMarginStylesRules as _0x1cf09d,addPaddingStylesRules as _0x114a5f}from'@ckeditor/ckeditor5-engine/dist/index.js';import{calculate as _0x206868,compare as _0x42cc16}from'specificity';function f(_0x473836){const _0x102410=[];let _0x5823aa='',_0xf70c1d=0x0;for(;_0xf70c1d<_0x473836['length'];){const _0x1470f6=_0x473836[_0xf70c1d];if('('===_0x1470f6){const _0x411830=y(_0x473836,_0xf70c1d+0x1);if(-0x1===_0x411830)return[];_0x5823aa+=_0x473836['slice'](_0xf70c1d,_0x411830+0x1),_0xf70c1d=_0x411830+0x1;}else','!==_0x1470f6||_0x5823aa['endsWith']('\x5c')?(_0x5823aa+=_0x1470f6,_0xf70c1d++):(_0x102410['push'](_0x5823aa['trim']()),_0x5823aa='',_0xf70c1d++);}return _0x5823aa['trim']()&&_0x102410['push'](_0x5823aa['trim']()),_0x102410['filter'](Boolean);}function y(_0x11bec9,_0x5f1de4){let _0x3814da=0x1;for(let _0x4ba3a7=_0x5f1de4;_0x4ba3a7<_0x11bec9['length'];_0x4ba3a7++){const _0x152ee3=_0x11bec9[_0x4ba3a7];if('('===_0x152ee3)_0x3814da++;else{if(')'===_0x152ee3&&(_0x3814da--,0x0===_0x3814da))return _0x4ba3a7;}}return-0x1;}function p(_0x3a3938){return _0x3a3938['replace'](/!\s*important/i,'')['trim']();}function w(_0x59e41a,_0x43f6f2){const _0x3a57d4=new Map(),_0x5e462b=_0x18d4b3=>_0x3a57d4['has'](_0x18d4b3)?_0x3a57d4['get'](_0x18d4b3):_0x59e41a(_0x18d4b3);for(const [_0x4be801,_0x5af134]of _0x43f6f2['getStylesEntries']())if(_0x5af134&&_0x4be801['startsWith']('--')){const _0x46d3a4=d(_0x5e462b,_0x5af134);_0x3a57d4['set'](_0x4be801,_0x46d3a4),_0x43f6f2['remove'](_0x4be801);}for(const [_0x5eb727,_0x5e090d]of _0x43f6f2['getStylesEntries']())if(_0x5e090d){const _0x563a4c=d(_0x5e462b,_0x5e090d);_0x43f6f2['set'](_0x5eb727,_0x563a4c);}return _0x3a57d4;}function d(_0x30e705,_0x1505f0){return function(_0x59904f,_0x45fb29){let _0x44009e='',_0x4aa802=0x0;for(;_0x4aa802<_0x59904f['length'];){const _0x2c4f64=_0x59904f['indexOf']('var(',_0x4aa802);if(-0x1===_0x2c4f64){_0x44009e+=_0x59904f['slice'](_0x4aa802);break;}_0x44009e+=_0x59904f['slice'](_0x4aa802,_0x2c4f64);const _0x32709f=_0x2c4f64+0x4,_0x27c885=y(_0x59904f,_0x32709f);_0x44009e+=_0x45fb29(_0x59904f['substring'](_0x32709f,_0x27c885)),_0x4aa802=_0x27c885+0x1;}return _0x44009e;}(_0x1505f0,_0x5aeedc=>{const [_0x591f54,_0x13ebec]=f(_0x5aeedc),_0x433036=_0x30e705(_0x591f54);return void 0x0!==_0x433036?_0x433036:_0x13ebec?d(_0x30e705,_0x13ebec):'var('+_0x591f54+')';});}async function m(_0x1c25d1){const _0x16c918=[await _0x471d0e(_0x1c25d1['stylesheets']),_0x1c25d1['inlineCss']]['filter'](_0x1a72b5=>_0x1a72b5&&_0x1a72b5['length'])['join']('\x0a'),_0x38bb90=await async function(_0xfde6d4,_0x309c58){const _0x566851=new CSSStyleSheet();return await _0x566851['replace'](_0x309c58),S(Array['from'](_0x566851['cssRules'])['filter'](_0x5645c2=>_0x5645c2 instanceof CSSStyleRule))['flatMap'](({selectorText:_0x17476c,contentCssText:_0x3c9bb0})=>{const _0x14ed32=f(_0x17476c),_0x342149=new _0x499dc9(_0xfde6d4)['setTo'](_0x3c9bb0);return _0x14ed32['map'](_0x2fce53=>{const _0x43cab1=function(_0x463a58){const _0x8fcc8f=':where(';let _0x5420ba=_0x463a58,_0x283230=0x0;for(let _0x183359=0x0;_0x183359<0x64;_0x183359++){const _0xe03278=_0x5420ba['indexOf'](_0x8fcc8f,_0x283230);if(-0x1===_0xe03278)break;let _0x1bf6ab=0x0;for(let _0x5b3a74=0x0;_0x5b3a74<_0xe03278;_0x5b3a74++)'('===_0x5420ba[_0x5b3a74]?_0x1bf6ab++:')'===_0x5420ba[_0x5b3a74]&&_0x1bf6ab--;if(_0x1bf6ab>0x0){_0x283230=_0xe03278+_0x8fcc8f['length'];continue;}let _0xea0a3c=-0x1;for(let _0x3a327b=_0xe03278+_0x8fcc8f['length'],_0x22f48d=0x1;_0x3a327b<_0x5420ba['length'];_0x3a327b++)if('('===_0x5420ba[_0x3a327b]?_0x22f48d++:')'===_0x5420ba[_0x3a327b]&&_0x22f48d--,!_0x22f48d){_0xea0a3c=_0x3a327b;break;}-0x1!==_0xea0a3c?(_0x5420ba=_0x5420ba['slice'](0x0,_0xe03278)+_0x5420ba['slice'](_0xea0a3c+0x1),_0x283230=_0xe03278):_0x283230=_0xe03278+_0x8fcc8f['length'];}return _0x5420ba['replace'](/\s+/g,'\x20')['trim']();}(_0x2fce53),_0x1daf7e=_0x43cab1?_0x206868(_0x43cab1)[0x0]['specificityArray']:[0x0,0x0,0x0,0x0];return{'stylesMap':_0x342149,'flatSelector':_0x2fce53,'specificity':_0x1daf7e};});})['sort']((_0x4f21df,_0x2dadfd)=>_0x42cc16(_0x4f21df['specificity'],_0x2dadfd['specificity']));}(_0x1c25d1['stylesProcessor'],_0x16c918);return{'parsedCssRules':_0x38bb90,'rootCssVariables':function(_0x3e8494){const _0x28215d=new Map();for(const {stylesMap:_0x47d1a4,flatSelector:_0x26b00c}of _0x3e8494){if(':root'!==_0x26b00c)continue;const _0x4897f7=w(_0x28215d['get']['bind'](_0x28215d),_0x47d1a4);for(const [_0x1c20c2,_0x2e31c7]of _0x4897f7)_0x28215d['set'](_0x1c20c2,_0x2e31c7);}return _0x28215d;}(_0x38bb90)};}function S(_0x4a2aac,_0x54da9d=''){return _0x4a2aac['flatMap'](_0x4262a8=>{const {selectorText:_0x46f80a,cssText:_0x4edfdd,cssRules:_0xafed91}=_0x4262a8;if(!_0x46f80a)return[];const _0x1b3342=_0x46f80a['replace'](/&/g,_0x54da9d);let _0x242f97=_0x4edfdd['replace'](_0x46f80a,'')['trim']()['replace'](/^{|}$/g,'');if(!_0xafed91||!_0xafed91['length'])return[{'selectorText':_0x1b3342,'contentCssText':_0x242f97}];for(const _0x1075df of _0xafed91)_0x242f97=_0x242f97['replace'](_0x1075df['cssText'],'')['trim']();return[{'selectorText':_0x1b3342,'contentCssText':_0x242f97},...S(Array['from'](_0xafed91),_0x1b3342)];});}function h(_0x32284f,_0x4f9602){const _0x22ca9f=new _0x499dc9(_0x32284f);for(const _0x335e22 of _0x4f9602){let _0x1d1c1c=null;if(_0x1d1c1c='string'==typeof _0x335e22?new _0x499dc9(_0x32284f)['setTo'](_0x335e22):_0x335e22,_0x1d1c1c){for(const [_0x317001,_0x4772c7]of _0x1d1c1c['getStylesEntries']())_0x22ca9f['set'](_0x317001,_0x4772c7);}}return _0x22ca9f;}class ExportInlineStylesCommand extends _0x4205fb{['_stylesProcessor'];constructor(_0x479091){super(_0x479091),this['set']('isBusy',!0x1),this['_stylesProcessor']=this['editor']['data']['stylesProcessor'],_0x1cf09d(this['_stylesProcessor']),_0x114a5f(this['_stylesProcessor']),this['affectsData']=!0x1;}['refresh'](){this['isEnabled']=!this['isBusy'],this['value']=this['isBusy']?'pending':void 0x0;}async['execute'](_0x3c419e){const _0xdfc2e1=this['editor']['config']['get']('exportInlineStyles'),{contentLanguageDirection:_0xc7b3d7}=this['editor']['locale'],{rootName:_0x79b385='main',dataControllerDowncastOptions:_0x435898={},transformations:_0xbf4738=_0xdfc2e1['transformations']||[]}=_0x3c419e||{};this['isBusy']=!0x0,this['refresh']();const _0x6df7b0=this['_getRootDataHTMLFragment'](_0x79b385,_0x435898),_0x3268a8=_0x44384d(_0x6df7b0['ownerDocument'],'div',{'dir':_0xc7b3d7,'class':'ck-content'},[_0x6df7b0]);return this['_collectAndApplyStyles'](_0xbf4738,_0x3268a8)['then'](()=>{const _0x518040=function(_0x3d1b06){const _0x2f3db1=_0x3d1b06['ownerDocument']['createDocumentFragment']();for(;_0x3d1b06['firstChild'];)_0x2f3db1['appendChild'](_0x3d1b06['firstChild']);return _0x2f3db1;}(_0x3268a8),_0x5aac39=_0x3268a8['getAttribute']('style');if(_0x5aac39)for(const _0x357ef7 of _0x518040['children']){const _0x4015b1=_0x357ef7['getAttribute']('style'),_0x553ed9=h(this['_stylesProcessor'],[_0x5aac39,_0x4015b1]);_0x357ef7['setAttribute']('style',x(_0x553ed9));}return this['editor']['data']['htmlProcessor']['htmlWriter']['getHtml'](_0x518040);})['finally'](()=>{this['isBusy']=!0x1,this['refresh']();});}['_getRootDataHTMLFragment'](_0x4672df,_0x40e284){const {data:_0xf0da5a,model:_0x47e9f7}=this['editor'],_0x45f316=_0x47e9f7['document']['getRoot'](_0x4672df),_0x43c5d0=_0xf0da5a['toView'](_0x45f316,_0x40e284);return _0xf0da5a['htmlProcessor']['domConverter']['viewToDom'](_0x43c5d0);}async['_collectAndApplyStyles'](_0x774233,_0xd0880a){const {stylesheets:_0x3a228e,inlineCss:_0x5a6fc0,stripCssClasses:_0x43ca5c}=this['editor']['config']['get']('exportInlineStyles'),{parsedCssRules:_0x24c06,rootCssVariables:_0x184813}=await m({'stylesheets':_0x3a228e||['EDITOR_STYLES'],'stylesProcessor':this['_stylesProcessor'],'inlineCss':_0x5a6fc0}),_0x128779=[];this['_processElementTree']({'transformations':_0x774233,'parsedCssRules':_0x24c06,'element':_0xd0880a,'stripCssClasses':_0x43ca5c,'parentCSSVariablesLookup':_0x184813['get']['bind'](_0x184813),'runAfterDocumentTransformation':_0x91080a=>{_0x128779['unshift'](_0x91080a);}});for(const _0xad01ec of _0x128779)_0xad01ec();}['_processElementTree']({element:_0x2eb557,parsedCssRules:_0x156377,parentCSSVariablesLookup:_0x2237e4,runAfterDocumentTransformation:_0x4cb6e0,stripCssClasses:_0x5ad92a,transformations:_0x1feb5a}){const {stylesMap:_0x253d26,localCSSVariables:_0x7ca767}=function(_0x138410){const _0xb6b299=_0x138410['element']['getAttribute']('style')||'',_0x2b54de=_0x138410['parsedCssRules']['filter'](_0x3214e6=>_0x138410['element']['matches'](_0x3214e6['flatSelector']))['map'](_0x3b3d36=>_0x3b3d36['stylesMap']),_0x17b445=h(_0x138410['stylesProcessor'],[..._0x2b54de,_0xb6b299]);return{'localCSSVariables':w(_0x138410['fallbackCSSVariablesLookup'],_0x17b445),'stylesMap':_0x17b445};}({'stylesProcessor':this['_stylesProcessor'],'fallbackCSSVariablesLookup':_0x2237e4,'parsedCssRules':_0x156377,'element':_0x2eb557}),_0x29e638=[];for(const _0x12233c of _0x1feb5a){const _0x100bd1=_0x12233c(_0x2eb557,_0x253d26,{'runAfterDocumentTransformation':_0x4cb6e0,'runAfterChildrenTransformation':_0x58b551=>{_0x29e638['unshift'](_0x58b551);}});_0x100bd1&&_0x100bd1 instanceof HTMLElement&&(_0x2eb557=_0x100bd1);}_0x253d26['size']?_0x2eb557['setAttribute']('style',x(_0x253d26)):_0x2eb557['removeAttribute']('style');const _0x246ebf=_0x33272b=>_0x7ca767['has'](_0x33272b)?_0x7ca767['get'](_0x33272b):_0x2237e4(_0x33272b);for(const _0x1eb113 of _0x2eb557['children'])_0x1eb113 instanceof HTMLElement&&this['_processElementTree']({'element':_0x1eb113,'parsedCssRules':_0x156377,'stripCssClasses':_0x5ad92a,'transformations':_0x1feb5a,'parentCSSVariablesLookup':_0x246ebf,'runAfterDocumentTransformation':_0x4cb6e0});_0x5ad92a&&_0x2eb557['removeAttribute']('class');for(const _0x22cfc1 of _0x29e638)_0x22cfc1();}}function x(_0x47a976){return _0x47a976['getStylesEntries']()['map'](_0x3a4afc=>_0x3a4afc['join'](':'))['join'](';')+';';}class ExportInlineStylesEditing extends _0x4f1242{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(_0x2c3d09){const _0x166fae=_0x42ce82([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]),_0x8cfc3b=0x6f40c3fb,_0x4bf576=0x6f47485b^_0x8cfc3b,_0x2e3eba=window[_0x42ce82([0x44,0x61,0x74,0x65])][_0x42ce82([0x6e,0x6f,0x77])](),_0xcb0ae=_0x2c3d09[_0x42ce82([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2badc2=new window[(_0x42ce82([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1782dd=>{_0xcb0ae[_0x42ce82([0x6f,0x6e,0x63,0x65])](_0x42ce82([0x72,0x65,0x61,0x64,0x79]),_0x1782dd);}),_0x16c40e={[_0x42ce82([0x6b,0x74,0x79])]:_0x42ce82([0x45,0x43]),[_0x42ce82([0x75,0x73,0x65])]:_0x42ce82([0x73,0x69,0x67]),[_0x42ce82([0x63,0x72,0x76])]:_0x42ce82([0x50,0x2d,0x32,0x35,0x36]),[_0x42ce82([0x78])]:_0x42ce82([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]),[_0x42ce82([0x79])]:_0x42ce82([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]),[_0x42ce82([0x61,0x6c,0x67])]:_0x42ce82([0x45,0x53,0x32,0x35,0x36])},_0x1868b7=_0xcb0ae[_0x42ce82([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x42ce82([0x67,0x65,0x74])](_0x42ce82([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x729048(){let _0x1afed9,_0x36e2b6=null,_0x4eded5=null;try{if(_0x1868b7==_0x42ce82([0x47,0x50,0x4c]))return _0x42ce82([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1afed9=_0x34ce57(),!_0x1afed9)return _0x42ce82([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1afed9[_0x42ce82([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4eded5=_0x138d6a(_0x1afed9[_0x42ce82([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1afed9[_0x42ce82([0x6a,0x74,0x69])])),await _0x4960f2()?_0x39f45e()?_0x243d21()?_0x42ce82([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1ffa95()?(_0x1afed9[_0x42ce82([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x42ce82([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x36e2b6=_0x5e2c55(_0x42ce82([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x164c49()):_0x42ce82([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x42ce82([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x42ce82([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x42ce82([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x243d21(){const _0x159a76=[_0x42ce82([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x42ce82([0x74,0x72,0x69,0x61,0x6c])][_0x42ce82([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1afed9[_0x42ce82([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2e3eba/0x3e8:0xe10*_0x4bf576;return _0x1afed9[_0x42ce82([0x65,0x78,0x70])]<_0x159a76;}function _0x39f45e(){const _0x3ca5a1=_0x1afed9[_0x42ce82([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3ca5a1&&(!!_0x3ca5a1[_0x42ce82([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x42ce82([0x2a]))||!!_0x3ca5a1[_0x42ce82([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x42ce82([0x45,0x49,0x53])));}function _0x1ffa95(){const _0x422d7d=_0x1afed9[_0x42ce82([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x422d7d||0x0==_0x422d7d[_0x42ce82([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x480ca5}=new URL(window[_0x42ce82([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x422d7d[_0x42ce82([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x480ca5))return!0x0;const _0x29b536=_0x480ca5[_0x42ce82([0x73,0x70,0x6c,0x69,0x74])](_0x42ce82([0x2e]));return _0x422d7d[_0x42ce82([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x44dc62=>_0x44dc62[_0x42ce82([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x42ce82([0x2a])))[_0x42ce82([0x6d,0x61,0x70])](_0x782dc1=>_0x782dc1[_0x42ce82([0x73,0x70,0x6c,0x69,0x74])](_0x42ce82([0x2e])))[_0x42ce82([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1d9efb=>_0x1d9efb[_0x42ce82([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x29b536[_0x42ce82([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x42ce82([0x6d,0x61,0x70])](_0x3fcf33=>Array(_0x29b536[_0x42ce82([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3fcf33[_0x42ce82([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x42ce82([0x66,0x69,0x6c,0x6c])](_0x3fcf33[0x0]===_0x42ce82([0x2a])?_0x42ce82([0x2a]):'')[_0x42ce82([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3fcf33))[_0x42ce82([0x73,0x6f,0x6d,0x65])](_0x51e5d7=>_0x29b536[_0x42ce82([0x65,0x76,0x65,0x72,0x79])]((_0x35f30e,_0x36e830)=>_0x51e5d7[_0x36e830]===_0x35f30e||_0x51e5d7[_0x36e830]===_0x42ce82([0x2a])));}function _0x164c49(){return _0x36e2b6&&_0x4eded5?new window[(_0x42ce82([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2a9299,_0x520a92)=>{_0x36e2b6[_0x42ce82([0x74,0x68,0x65,0x6e])](_0x2a9299,_0x520a92),_0x4eded5[_0x42ce82([0x74,0x68,0x65,0x6e])](_0x37e1ca=>{_0x37e1ca!=_0x42ce82([0x56,0x61,0x6c,0x69,0x64])&&_0x2a9299(_0x37e1ca);},_0x520a92);}):_0x36e2b6||_0x4eded5||_0x42ce82([0x56,0x61,0x6c,0x69,0x64]);}}function _0x138d6a(_0x5740fb,_0x232d7c){return new window[(_0x42ce82([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x539634=>{if(_0x84068a())return _0x539634(_0x42ce82([0x56,0x61,0x6c,0x69,0x64]));_0x4d893d(),_0xcb0ae[_0x42ce82([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x42ce82([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2885e8=!0x1;const _0x4f8c4b=_0x219c12();function _0x548dcf(_0x435bb3){return!!_0x435bb3&&(typeof _0x435bb3===_0x42ce82([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x435bb3===_0x42ce82([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x435bb3[_0x42ce82([0x74,0x68,0x65,0x6e])]===_0x42ce82([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x435bb3[_0x42ce82([0x63,0x61,0x74,0x63,0x68])]===_0x42ce82([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x255ad7(_0x10abb0){_0x4e2720(_0x10abb0)[_0x42ce82([0x74,0x68,0x65,0x6e])](_0x1df115=>{if(!_0x1df115||_0x1df115[_0x42ce82([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x42ce82([0x6f,0x6b]))return _0x42ce82([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x184109(_0x59aa1e(_0x4f8c4b+_0x232d7c))!=_0x1df115[_0x42ce82([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x42ce82([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x42ce82([0x56,0x61,0x6c,0x69,0x64]);})[_0x42ce82([0x74,0x68,0x65,0x6e])](_0x5eec2e=>(_0x48cf32(),_0x5eec2e),()=>{const _0x27b8f2=_0xb80b7a();return null==_0x27b8f2?(_0x48cf32(),_0x42ce82([0x56,0x61,0x6c,0x69,0x64])):_0x42ce82(_0x2e3eba-_0x27b8f2>(0x4b4c47fb^_0x8cfc3b)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x42ce82([0x74,0x68,0x65,0x6e])](_0x539634)[_0x42ce82([0x63,0x61,0x74,0x63,0x68])](()=>{_0x539634(_0x42ce82([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4d8867=0x6f762d7b^_0x8cfc3b;function _0x48cf32(){const _0x5ac560=_0x42ce82([0x6c,0x6c,0x63,0x74,0x2d])+_0x184109(_0x59aa1e(_0x5740fb)),_0xd71077=_0x312d20(_0x184109(window[_0x42ce82([0x4d,0x61,0x74,0x68])][_0x42ce82([0x63,0x65,0x69,0x6c])](_0x2e3eba/_0x4d8867)));window[_0x42ce82([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x42ce82([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5ac560,_0xd71077);}function _0xb80b7a(){const _0x138244=_0x42ce82([0x6c,0x6c,0x63,0x74,0x2d])+_0x184109(_0x59aa1e(_0x5740fb)),_0x92d3c9=window[_0x42ce82([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x42ce82([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x138244);return _0x92d3c9?window[_0x42ce82([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x312d20(_0x92d3c9),0x10)*_0x4d8867:null;}function _0x4e2720(_0x29c0eb){return new window[(_0x42ce82([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1ae2de,_0x381b3c)=>{_0x29c0eb[_0x42ce82([0x74,0x68,0x65,0x6e])](_0x1ae2de,_0x381b3c),window[_0x42ce82([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x381b3c,0x6f41173b^_0x8cfc3b);});}}_0xcb0ae[_0x42ce82([0x6f,0x6e])](_0x42ce82([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4a8f8b,_0x4b4301)=>{if(_0x4b4301[0x0]!=_0x5740fb)return _0x539634(_0x42ce82([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4b4301[0x1]={..._0x4b4301[0x1],[_0x42ce82([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4f8c4b};},{[_0x42ce82([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x42ce82([0x68,0x69,0x67,0x68])}),_0xcb0ae[_0x42ce82([0x6f,0x6e])](_0x42ce82([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4ba29=>{_0x548dcf(_0x4ba29[_0x42ce82([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2885e8=!0x0,_0x255ad7(_0x4ba29[_0x42ce82([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x42ce82([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x42ce82([0x6c,0x6f,0x77])}),_0x2badc2[_0x42ce82([0x74,0x68,0x65,0x6e])](()=>{_0x2885e8||_0x539634(_0x42ce82([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x84068a(){return _0xcb0ae[_0x42ce82([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x42ce82([0x76,0x69,0x65,0x77])][_0x42ce82([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x42ce82([0x61,0x75,0x74,0x6f]);}function _0x4d893d(){_0xcb0ae[_0x42ce82([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x42ce82([0x76,0x69,0x65,0x77])][_0x42ce82([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x42ce82([0x61,0x75,0x74,0x6f]);}}function _0x5e2c55(_0x3a7970){const _0x46cd6d=[new window[(_0x42ce82([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x53ecf0=>setTimeout(_0x53ecf0,0x6f49fd37^_0x8cfc3b)),_0x2badc2[_0x42ce82([0x74,0x68,0x65,0x6e])](()=>new window[(_0x42ce82([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4d67a8=>{let _0x1e00c9=0x0;_0xcb0ae[_0x42ce82([0x6d,0x6f,0x64,0x65,0x6c])][_0x42ce82([0x6f,0x6e])](_0x42ce82([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x20ae6c,_0x3d8dc4)=>{_0x3d8dc4[0x0][_0x42ce82([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1e00c9++,_0x1e00c9==(0x6f40c613^_0x8cfc3b)&&(_0x4d67a8(),_0x20ae6c[_0x42ce82([0x6f,0x66,0x66])]());});}))];return window[_0x42ce82([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x42ce82([0x72,0x61,0x63,0x65])](_0x46cd6d)[_0x42ce82([0x74,0x68,0x65,0x6e])](()=>_0x3a7970);}async function _0x2ea1b5(){await _0x2badc2;const _0xe21b6d=_0xcb0ae['commands'][_0x42ce82([0x67,0x65,0x74])](_0x42ce82([0x65,0x78,0x70,0x6f,0x72,0x74,0x49,0x6e,0x6c,0x69,0x6e,0x65,0x53,0x74,0x79,0x6c,0x65,0x73]));_0xe21b6d&&_0xe21b6d[_0x42ce82([0x6f,0x6e])](_0x42ce82([0x65,0x78,0x65,0x63,0x75,0x74,0x65]),_0xb340b2=>{_0xb340b2['stop']();},{'priority':_0x42ce82([0x68,0x69,0x67,0x68,0x65,0x73,0x74])}),_0xcb0ae[_0x42ce82([0x6d,0x6f,0x64,0x65,0x6c])][_0x42ce82([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x353a04,_0xcb0ae[_0x42ce82([0x6d,0x6f,0x64,0x65,0x6c])][_0x42ce82([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x353a04,_0xcb0ae[_0x42ce82([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x42ce82([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3970cc(_0xbfd799){const _0x390489=_0x5d07fc();_0xcb0ae[_0x390489]=_0x42ce82([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])+_0xbfd799,_0xbfd799!=_0x42ce82([0x56,0x61,0x6c,0x69,0x64])&&_0x2ea1b5();}function _0x5d07fc(){const _0x56f915=window[_0x42ce82([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x42ce82([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x42ce82([0x6e,0x6f,0x77])]())[_0x42ce82([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x42ce82([0x2e]),'');let _0x55ea7c=_0x42ce82([0x44]);for(let _0xd7f183=0x0;_0xd7f183<_0x56f915[_0x42ce82([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xd7f183+=0x2){let _0x57ddb6=window[_0x42ce82([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x56f915[_0x42ce82([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xd7f183,_0xd7f183+0x2));_0x57ddb6>=_0x166fae[_0x42ce82([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x57ddb6-=_0x166fae[_0x42ce82([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x55ea7c+=_0x166fae[_0x57ddb6];}return _0x55ea7c;}function _0x34ce57(){const _0x47e03b=_0x1868b7[_0x42ce82([0x73,0x70,0x6c,0x69,0x74])](_0x42ce82([0x2e]));if(0x3!=_0x47e03b[_0x42ce82([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1e7cad(_0x47e03b[0x1]);function _0x1e7cad(_0x3c40d0){const _0x4c59b5=_0x441788(_0x3c40d0);return _0x4c59b5&&_0x357288()?_0x4c59b5:null;function _0x357288(){const _0xffd524=_0x4c59b5[_0x42ce82([0x6a,0x74,0x69])],_0xf63806=window[_0x42ce82([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xffd524[_0x42ce82([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xffd524[_0x42ce82([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x33ab18={..._0x4c59b5,[_0x42ce82([0x6a,0x74,0x69])]:_0xffd524[_0x42ce82([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xffd524[_0x42ce82([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x33ab18[_0x42ce82([0x76,0x63])],_0x59aa1e(_0x33ab18)==_0xf63806;}}}async function _0x4960f2(){let _0x215a69=!0x0;try{const _0xabc2ba=_0x1868b7[_0x42ce82([0x73,0x70,0x6c,0x69,0x74])](_0x42ce82([0x2e])),[_0x3fbb1a,_0x3df85f,_0x146529]=_0xabc2ba;return _0x44ad0b(_0x3fbb1a),await _0x2c5eb3(_0x3fbb1a,_0x3df85f,_0x146529),_0x215a69;}catch{return!0x1;}function _0x44ad0b(_0x35e54d){const _0x5192cf=_0x441788(_0x35e54d);_0x5192cf&&_0x5192cf[_0x42ce82([0x61,0x6c,0x67])]==_0x42ce82([0x45,0x53,0x32,0x35,0x36])||(_0x215a69=!0x1);}async function _0x2c5eb3(_0x36db4c,_0x21a951,_0x188199){const _0x12638a=window[_0x42ce82([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x42ce82([0x66,0x72,0x6f,0x6d])](_0xdb6f5d(_0x188199),_0x37a767=>_0x37a767[_0x42ce82([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x31b702=new window[(_0x42ce82([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x42ce82([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x36db4c+_0x42ce82([0x2e])+_0x21a951),_0x5387dc=window[_0x42ce82([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x42ce82([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5387dc)return;const _0x11af49=await _0x5387dc[_0x42ce82([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x42ce82([0x6a,0x77,0x6b]),_0x16c40e,{[_0x42ce82([0x6e,0x61,0x6d,0x65])]:_0x42ce82([0x45,0x43,0x44,0x53,0x41]),[_0x42ce82([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x42ce82([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x42ce82([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5387dc[_0x42ce82([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x42ce82([0x6e,0x61,0x6d,0x65])]:_0x42ce82([0x45,0x43,0x44,0x53,0x41]),[_0x42ce82([0x68,0x61,0x73,0x68])]:{[_0x42ce82([0x6e,0x61,0x6d,0x65])]:_0x42ce82([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x11af49,_0x12638a,_0x31b702)||(_0x215a69=!0x1);}}function _0x441788(_0x3e2549){return _0x3e2549[_0x42ce82([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x42ce82([0x65,0x79]))?JSON[_0x42ce82([0x70,0x61,0x72,0x73,0x65])](_0xdb6f5d(_0x3e2549)):null;}function _0xdb6f5d(_0x488e4a){return window[_0x42ce82([0x61,0x74,0x6f,0x62])](_0x488e4a[_0x42ce82([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x42ce82([0x2b]))[_0x42ce82([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x42ce82([0x2f])));}function _0x59aa1e(_0x100f4b){let _0x5d5809=0x1505;function _0x16b261(_0x36f264){for(let _0x20bf75=0x0;_0x20bf75<_0x36f264[_0x42ce82([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x20bf75++){const _0x5d93b9=_0x36f264[_0x42ce82([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x20bf75);_0x5d5809=(_0x5d5809<<0x5)+_0x5d5809+_0x5d93b9,_0x5d5809&=_0x5d5809;}}function _0x1d0ad4(_0x2bc8d4){Array[_0x42ce82([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2bc8d4)?_0x2bc8d4[_0x42ce82([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1d0ad4):_0x2bc8d4&&typeof _0x2bc8d4==_0x42ce82([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x42ce82([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2bc8d4)[_0x42ce82([0x73,0x6f,0x72,0x74])]()[_0x42ce82([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x45a723,_0x57e7ac])=>{_0x16b261(_0x45a723),_0x1d0ad4(_0x57e7ac);}):_0x16b261(window[_0x42ce82([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2bc8d4));}return _0x1d0ad4(_0x100f4b),_0x5d5809>>>0x0;}function _0x184109(_0x31ec72){return _0x31ec72[_0x42ce82([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x42ce82([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x42ce82([0x30]));}function _0x312d20(_0x13b31d){return _0x13b31d[_0x42ce82([0x73,0x70,0x6c,0x69,0x74])]('')[_0x42ce82([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x42ce82([0x6a,0x6f,0x69,0x6e])]('');}function _0x353a04(){}function _0x42ce82(_0x4dd52c){return _0x4dd52c['map'](_0x24f109=>String['fromCharCode'](_0x24f109))['join']('');}_0x3970cc(await _0x729048());}(this);}}class ExportInlineStyles extends _0x4f1242{['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 _0x415c25=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x5074cd;for(const _0x17081a in _0x415c25){const _0x2c7f1f=_0x17081a,_0x231e4b=_0x415c25[_0x2c7f1f];if('exportInlineStylesLicenseKeyValid'==_0x231e4b||'exportInlineStylesLicenseKeyInvalid'==_0x231e4b||'exportInlineStylesLicenseKeyExpired'==_0x231e4b||'exportInlineStylesLicenseKeyDomainLimit'==_0x231e4b||'exportInlineStylesLicenseKeyNotAllowed'==_0x231e4b||'exportInlineStylesLicenseKeyEvaluationLimit'==_0x231e4b||'exportInlineStylesLicenseKeyUsageLimit'==_0x231e4b){delete _0x415c25[_0x2c7f1f],_0x5074cd=_0x231e4b,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'exportInlineStylesLicenseKeyInvalid'==_0x5074cd&&_0x415c25['_showLicenseError']('invalid'),'exportInlineStylesLicenseKeyExpired'==_0x5074cd&&_0x415c25['_showLicenseError']('expired'),'exportInlineStylesLicenseKeyDomainLimit'==_0x5074cd&&_0x415c25['_showLicenseError']('domainLimit'),'exportInlineStylesLicenseKeyNotAllowed'==_0x5074cd&&_0x415c25['_showLicenseError']('featureNotAllowed','ExportInlineStyles'),'exportInlineStylesLicenseKeyEvaluationLimit'==_0x5074cd&&_0x415c25['_showLicenseError']('evaluationLimit'),'exportInlineStylesLicenseKeyUsageLimit'==_0x5074cd&&_0x415c25['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}export{ExportInlineStyles,ExportInlineStylesCommand,ExportInlineStylesEditing,p as dropImportantStyleSuffix};
23
+ import{Command as _0x39b6a7,Plugin as _0x30fd19}from'@ckeditor/ckeditor5-core/dist/index.js';import{collectStylesheets as _0x8ec490,createElement as _0x25ff29,uid as _0x487837}from'@ckeditor/ckeditor5-utils/dist/index.js';import{StylesMap as _0x367ddd,addMarginStylesRules as _0x55b512,addPaddingStylesRules as _0x100370}from'@ckeditor/ckeditor5-engine/dist/index.js';import{calculate as _0x4d4d8d,compare as _0x2c8e93}from'specificity';function f(_0x5a0d03){const _0x4b6197=[];let _0x3b95ac='',_0x4d8a43=0x0;for(;_0x4d8a43<_0x5a0d03['length'];){const _0x516ba2=_0x5a0d03[_0x4d8a43];if('('===_0x516ba2){const _0x1c444a=y(_0x5a0d03,_0x4d8a43+0x1);if(-0x1===_0x1c444a)return[];_0x3b95ac+=_0x5a0d03['slice'](_0x4d8a43,_0x1c444a+0x1),_0x4d8a43=_0x1c444a+0x1;}else','!==_0x516ba2||_0x3b95ac['endsWith']('\x5c')?(_0x3b95ac+=_0x516ba2,_0x4d8a43++):(_0x4b6197['push'](_0x3b95ac['trim']()),_0x3b95ac='',_0x4d8a43++);}return _0x3b95ac['trim']()&&_0x4b6197['push'](_0x3b95ac['trim']()),_0x4b6197['filter'](Boolean);}function y(_0x8f3fe4,_0x228cd2){let _0x5a53f3=0x1;for(let _0x1f871e=_0x228cd2;_0x1f871e<_0x8f3fe4['length'];_0x1f871e++){const _0x2195cd=_0x8f3fe4[_0x1f871e];if('('===_0x2195cd)_0x5a53f3++;else{if(')'===_0x2195cd&&(_0x5a53f3--,0x0===_0x5a53f3))return _0x1f871e;}}return-0x1;}function p(_0x177eda){return _0x177eda['replace'](/!\s*important/i,'')['trim']();}function w(_0x3044b7,_0x1bf913){const _0x321065=new Map(),_0x78c59c=_0x2948ff=>_0x321065['has'](_0x2948ff)?_0x321065['get'](_0x2948ff):_0x3044b7(_0x2948ff);for(const [_0x4d2ec3,_0x4f3f56]of _0x1bf913['getStylesEntries']())if(_0x4f3f56&&_0x4d2ec3['startsWith']('--')){const _0x3e3d6c=d(_0x78c59c,_0x4f3f56);_0x321065['set'](_0x4d2ec3,_0x3e3d6c),_0x1bf913['remove'](_0x4d2ec3);}for(const [_0x145dd1,_0x314361]of _0x1bf913['getStylesEntries']())if(_0x314361){const _0x4a9e15=d(_0x78c59c,_0x314361);_0x1bf913['set'](_0x145dd1,_0x4a9e15);}return _0x321065;}function d(_0x52574d,_0x1d9807){return function(_0x447bcc,_0x5bef5d){let _0x63ae7b='',_0xfbef55=0x0;for(;_0xfbef55<_0x447bcc['length'];){const _0x355341=_0x447bcc['indexOf']('var(',_0xfbef55);if(-0x1===_0x355341){_0x63ae7b+=_0x447bcc['slice'](_0xfbef55);break;}_0x63ae7b+=_0x447bcc['slice'](_0xfbef55,_0x355341);const _0x2ad3f8=_0x355341+0x4,_0x5bb016=y(_0x447bcc,_0x2ad3f8);_0x63ae7b+=_0x5bef5d(_0x447bcc['substring'](_0x2ad3f8,_0x5bb016)),_0xfbef55=_0x5bb016+0x1;}return _0x63ae7b;}(_0x1d9807,_0x3c0766=>{const [_0x38afac,_0x39384c]=f(_0x3c0766),_0x4a4c75=_0x52574d(_0x38afac);return void 0x0!==_0x4a4c75?_0x4a4c75:_0x39384c?d(_0x52574d,_0x39384c):'var('+_0x38afac+')';});}async function m(_0x562535){const _0x29f720=[await _0x8ec490(_0x562535['stylesheets']),_0x562535['inlineCss']]['filter'](_0xb04e71=>_0xb04e71&&_0xb04e71['length'])['join']('\x0a'),_0xf61573=await async function(_0x40be8b,_0x1d7dd9){const _0x5455cb=new CSSStyleSheet();return await _0x5455cb['replace'](_0x1d7dd9),S(Array['from'](_0x5455cb['cssRules'])['filter'](_0x569d4d=>_0x569d4d instanceof CSSStyleRule))['flatMap'](({selectorText:_0x3dc208,contentCssText:_0x580143})=>{const _0x386c59=f(_0x3dc208),_0x12799a=new _0x367ddd(_0x40be8b)['setTo'](_0x580143);return _0x386c59['map'](_0x152b40=>{const _0xf63d68=function(_0x14db71){const _0x24d256=':where(';let _0x985f75=_0x14db71,_0x5bb346=0x0;for(let _0x239f91=0x0;_0x239f91<0x64;_0x239f91++){const _0x377762=_0x985f75['indexOf'](_0x24d256,_0x5bb346);if(-0x1===_0x377762)break;let _0xe4e29d=0x0;for(let _0x2f9d33=0x0;_0x2f9d33<_0x377762;_0x2f9d33++)'('===_0x985f75[_0x2f9d33]?_0xe4e29d++:')'===_0x985f75[_0x2f9d33]&&_0xe4e29d--;if(_0xe4e29d>0x0){_0x5bb346=_0x377762+_0x24d256['length'];continue;}let _0x4a85b1=-0x1;for(let _0x163f90=_0x377762+_0x24d256['length'],_0x33a00b=0x1;_0x163f90<_0x985f75['length'];_0x163f90++)if('('===_0x985f75[_0x163f90]?_0x33a00b++:')'===_0x985f75[_0x163f90]&&_0x33a00b--,!_0x33a00b){_0x4a85b1=_0x163f90;break;}-0x1!==_0x4a85b1?(_0x985f75=_0x985f75['slice'](0x0,_0x377762)+_0x985f75['slice'](_0x4a85b1+0x1),_0x5bb346=_0x377762):_0x5bb346=_0x377762+_0x24d256['length'];}return _0x985f75['replace'](/\s+/g,'\x20')['trim']();}(_0x152b40),_0xc3af6f=_0xf63d68?_0x4d4d8d(_0xf63d68)[0x0]['specificityArray']:[0x0,0x0,0x0,0x0];return{'stylesMap':_0x12799a,'flatSelector':_0x152b40,'specificity':_0xc3af6f};});})['sort']((_0x4aab9b,_0x34119e)=>_0x2c8e93(_0x4aab9b['specificity'],_0x34119e['specificity']));}(_0x562535['stylesProcessor'],_0x29f720);return{'parsedCssRules':_0xf61573,'rootCssVariables':function(_0x1c3a39){const _0x411400=new Map();for(const {stylesMap:_0xe1712a,flatSelector:_0xaaabcd}of _0x1c3a39){if(':root'!==_0xaaabcd)continue;const _0x34068d=w(_0x411400['get']['bind'](_0x411400),_0xe1712a);for(const [_0x20a3a0,_0x419cfc]of _0x34068d)_0x411400['set'](_0x20a3a0,_0x419cfc);}return _0x411400;}(_0xf61573)};}function S(_0x179fbc,_0x28d5d6=''){return _0x179fbc['flatMap'](_0x275bc2=>{const {selectorText:_0x18d23b,cssText:_0xf86bcd,cssRules:_0xa571b7}=_0x275bc2;if(!_0x18d23b)return[];const _0x446d11=_0x18d23b['replace'](/&/g,_0x28d5d6);let _0x470e4f=_0xf86bcd['replace'](_0x18d23b,'')['trim']()['replace'](/^{|}$/g,'');if(!_0xa571b7||!_0xa571b7['length'])return[{'selectorText':_0x446d11,'contentCssText':_0x470e4f}];for(const _0x10221b of _0xa571b7)_0x470e4f=_0x470e4f['replace'](_0x10221b['cssText'],'')['trim']();return[{'selectorText':_0x446d11,'contentCssText':_0x470e4f},...S(Array['from'](_0xa571b7),_0x446d11)];});}function h(_0x4141bf,_0x37a525){const _0x31ff67=new _0x367ddd(_0x4141bf);for(const _0x96e966 of _0x37a525){let _0xfa03e5=null;if(_0xfa03e5='string'==typeof _0x96e966?new _0x367ddd(_0x4141bf)['setTo'](_0x96e966):_0x96e966,_0xfa03e5){for(const [_0xf36bf7,_0x4b88ce]of _0xfa03e5['getStylesEntries']())_0x31ff67['set'](_0xf36bf7,_0x4b88ce);}}return _0x31ff67;}class ExportInlineStylesCommand extends _0x39b6a7{['_stylesProcessor'];constructor(_0x28abd6){super(_0x28abd6),this['set']('isBusy',!0x1),this['_stylesProcessor']=this['editor']['data']['stylesProcessor'],_0x55b512(this['_stylesProcessor']),_0x100370(this['_stylesProcessor']),this['affectsData']=!0x1;}['refresh'](){this['isEnabled']=!this['isBusy'],this['value']=this['isBusy']?'pending':void 0x0;}async['execute'](_0x114008){const _0x21e3cc=this['editor']['config']['get']('exportInlineStyles'),{contentLanguageDirection:_0x5badda}=this['editor']['locale'],{rootName:_0x5ca96e='main',dataControllerDowncastOptions:_0x58b3cd={},transformations:_0x21f512=_0x21e3cc['transformations']||[]}=_0x114008||{};this['isBusy']=!0x0,this['refresh']();const _0x132039=this['_getRootDataHTMLFragment'](_0x5ca96e,_0x58b3cd),_0x42d78e=_0x25ff29(_0x132039['ownerDocument'],'div',{'dir':_0x5badda,'class':'ck-content'},[_0x132039]);return this['_collectAndApplyStyles'](_0x21f512,_0x42d78e)['then'](()=>{const _0x22ae27=function(_0x1a9083){const _0x74cddc=_0x1a9083['ownerDocument']['createDocumentFragment']();for(;_0x1a9083['firstChild'];)_0x74cddc['appendChild'](_0x1a9083['firstChild']);return _0x74cddc;}(_0x42d78e),_0x4f6837=_0x42d78e['getAttribute']('style');if(_0x4f6837)for(const _0x2e2b86 of _0x22ae27['children']){const _0xb06f3c=_0x2e2b86['getAttribute']('style'),_0x432e4a=h(this['_stylesProcessor'],[_0x4f6837,_0xb06f3c]);_0x2e2b86['setAttribute']('style',x(_0x432e4a));}return this['editor']['data']['htmlProcessor']['htmlWriter']['getHtml'](_0x22ae27);})['finally'](()=>{this['isBusy']=!0x1,this['refresh']();});}['_getRootDataHTMLFragment'](_0x1427c9,_0x2e8222){const {data:_0x3f1626,model:_0x4be56a}=this['editor'],_0x15f169=_0x4be56a['document']['getRoot'](_0x1427c9),_0x6c6ca2=_0x3f1626['toView'](_0x15f169,_0x2e8222);return _0x3f1626['htmlProcessor']['domConverter']['viewToDom'](_0x6c6ca2);}async['_collectAndApplyStyles'](_0x4ec84f,_0x2689b3){const {stylesheets:_0x33c679,inlineCss:_0x9813d2,stripCssClasses:_0x1cfc91}=this['editor']['config']['get']('exportInlineStyles'),{parsedCssRules:_0xedea3,rootCssVariables:_0x2e4e2e}=await m({'stylesheets':_0x33c679||['EDITOR_STYLES'],'stylesProcessor':this['_stylesProcessor'],'inlineCss':_0x9813d2}),_0x559ea4=[];this['_processElementTree']({'transformations':_0x4ec84f,'parsedCssRules':_0xedea3,'element':_0x2689b3,'stripCssClasses':_0x1cfc91,'parentCSSVariablesLookup':_0x2e4e2e['get']['bind'](_0x2e4e2e),'runAfterDocumentTransformation':_0x2e3509=>{_0x559ea4['unshift'](_0x2e3509);}});for(const _0x122928 of _0x559ea4)_0x122928();}['_processElementTree']({element:_0xb15d6,parsedCssRules:_0xfc87e,parentCSSVariablesLookup:_0x4a4080,runAfterDocumentTransformation:_0x29c039,stripCssClasses:_0x1d60b5,transformations:_0x51f880}){const {stylesMap:_0x21355a,localCSSVariables:_0xd83ab2}=function(_0x90684e){const _0xf80eec=_0x90684e['element']['getAttribute']('style')||'',_0x4160b2=_0x90684e['parsedCssRules']['filter'](_0x3ce8c2=>_0x90684e['element']['matches'](_0x3ce8c2['flatSelector']))['map'](_0x3d06d0=>_0x3d06d0['stylesMap']),_0x22368a=h(_0x90684e['stylesProcessor'],[..._0x4160b2,_0xf80eec]);return{'localCSSVariables':w(_0x90684e['fallbackCSSVariablesLookup'],_0x22368a),'stylesMap':_0x22368a};}({'stylesProcessor':this['_stylesProcessor'],'fallbackCSSVariablesLookup':_0x4a4080,'parsedCssRules':_0xfc87e,'element':_0xb15d6}),_0x573be3=[];for(const _0x544744 of _0x51f880){const _0x37ae04=_0x544744(_0xb15d6,_0x21355a,{'runAfterDocumentTransformation':_0x29c039,'runAfterChildrenTransformation':_0x3a6fc9=>{_0x573be3['unshift'](_0x3a6fc9);}});_0x37ae04&&_0x37ae04 instanceof HTMLElement&&(_0xb15d6=_0x37ae04);}_0x21355a['size']?_0xb15d6['setAttribute']('style',x(_0x21355a)):_0xb15d6['removeAttribute']('style');const _0x1abea9=_0x35f139=>_0xd83ab2['has'](_0x35f139)?_0xd83ab2['get'](_0x35f139):_0x4a4080(_0x35f139);for(const _0x5056da of _0xb15d6['children'])_0x5056da instanceof HTMLElement&&this['_processElementTree']({'element':_0x5056da,'parsedCssRules':_0xfc87e,'stripCssClasses':_0x1d60b5,'transformations':_0x51f880,'parentCSSVariablesLookup':_0x1abea9,'runAfterDocumentTransformation':_0x29c039});_0x1d60b5&&_0xb15d6['removeAttribute']('class');for(const _0x372c51 of _0x573be3)_0x372c51();}}function x(_0x4320d7){return _0x4320d7['getStylesEntries']()['map'](_0x2a6a19=>_0x2a6a19['join'](':'))['join'](';')+';';}class ExportInlineStylesEditing extends _0x30fd19{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(_0x2b086b){const _0x2cf842=_0x2f709f([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]),_0x4ee3a2=0x6f40c3fb,_0x441d49=0x6f474843^_0x4ee3a2,_0x540676=window[_0x2f709f([0x44,0x61,0x74,0x65])][_0x2f709f([0x6e,0x6f,0x77])](),_0x39fe61=_0x2b086b[_0x2f709f([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x6ad55d=new window[(_0x2f709f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3c31a5=>{_0x39fe61[_0x2f709f([0x6f,0x6e,0x63,0x65])](_0x2f709f([0x72,0x65,0x61,0x64,0x79]),_0x3c31a5);}),_0x5bad00={[_0x2f709f([0x6b,0x74,0x79])]:_0x2f709f([0x45,0x43]),[_0x2f709f([0x75,0x73,0x65])]:_0x2f709f([0x73,0x69,0x67]),[_0x2f709f([0x63,0x72,0x76])]:_0x2f709f([0x50,0x2d,0x32,0x35,0x36]),[_0x2f709f([0x78])]:_0x2f709f([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]),[_0x2f709f([0x79])]:_0x2f709f([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]),[_0x2f709f([0x61,0x6c,0x67])]:_0x2f709f([0x45,0x53,0x32,0x35,0x36])},_0x224345=_0x39fe61[_0x2f709f([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2f709f([0x67,0x65,0x74])](_0x2f709f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x6fe8d5(){let _0x508bf8,_0x3b2ded=null,_0x5dcbcf=null;try{if(_0x224345==_0x2f709f([0x47,0x50,0x4c]))return _0x2f709f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x508bf8=_0x267094(),!_0x508bf8)return _0x2f709f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x508bf8[_0x2f709f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5dcbcf=_0x58b3b0(_0x508bf8[_0x2f709f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x508bf8[_0x2f709f([0x6a,0x74,0x69])])),await _0x27c3d4()?_0x5a6c65()?_0x5904c3()?_0x2f709f([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x48c025()?(_0x508bf8[_0x2f709f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2f709f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3b2ded=_0x2e42b4(_0x2f709f([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x6ff556()):_0x2f709f([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2f709f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2f709f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2f709f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5904c3(){const _0x383f7a=[_0x2f709f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2f709f([0x74,0x72,0x69,0x61,0x6c])][_0x2f709f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x508bf8[_0x2f709f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x540676/0x3e8:0xe10*_0x441d49;return _0x508bf8[_0x2f709f([0x65,0x78,0x70])]<_0x383f7a;}function _0x5a6c65(){const _0x3ac3d2=_0x508bf8[_0x2f709f([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3ac3d2&&(!!_0x3ac3d2[_0x2f709f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2f709f([0x2a]))||!!_0x3ac3d2[_0x2f709f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2f709f([0x45,0x49,0x53])));}function _0x48c025(){const _0x45e027=_0x508bf8[_0x2f709f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x45e027||0x0==_0x45e027[_0x2f709f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x148a76}=new URL(window[_0x2f709f([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x45e027[_0x2f709f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x148a76))return!0x0;const _0x2c3617=_0x148a76[_0x2f709f([0x73,0x70,0x6c,0x69,0x74])](_0x2f709f([0x2e]));return _0x45e027[_0x2f709f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x467df9=>_0x467df9[_0x2f709f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2f709f([0x2a])))[_0x2f709f([0x6d,0x61,0x70])](_0x2343c9=>_0x2343c9[_0x2f709f([0x73,0x70,0x6c,0x69,0x74])](_0x2f709f([0x2e])))[_0x2f709f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x556518=>_0x556518[_0x2f709f([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2c3617[_0x2f709f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2f709f([0x6d,0x61,0x70])](_0x51e2b6=>Array(_0x2c3617[_0x2f709f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x51e2b6[_0x2f709f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2f709f([0x66,0x69,0x6c,0x6c])](_0x51e2b6[0x0]===_0x2f709f([0x2a])?_0x2f709f([0x2a]):'')[_0x2f709f([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x51e2b6))[_0x2f709f([0x73,0x6f,0x6d,0x65])](_0x24f3fe=>_0x2c3617[_0x2f709f([0x65,0x76,0x65,0x72,0x79])]((_0x32a751,_0xb7eaa7)=>_0x24f3fe[_0xb7eaa7]===_0x32a751||_0x24f3fe[_0xb7eaa7]===_0x2f709f([0x2a])));}function _0x6ff556(){return _0x3b2ded&&_0x5dcbcf?new window[(_0x2f709f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x135998,_0x55a937)=>{_0x3b2ded[_0x2f709f([0x74,0x68,0x65,0x6e])](_0x135998,_0x55a937),_0x5dcbcf[_0x2f709f([0x74,0x68,0x65,0x6e])](_0x1dff24=>{_0x1dff24!=_0x2f709f([0x56,0x61,0x6c,0x69,0x64])&&_0x135998(_0x1dff24);},_0x55a937);}):_0x3b2ded||_0x5dcbcf||_0x2f709f([0x56,0x61,0x6c,0x69,0x64]);}}function _0x58b3b0(_0x23c4dd,_0x2df2ef){return new window[(_0x2f709f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1f952c=>{if(_0x4e6830())return _0x1f952c(_0x2f709f([0x56,0x61,0x6c,0x69,0x64]));_0x2608ae(),_0x39fe61[_0x2f709f([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2f709f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x268b97=!0x1;const _0x3e0642=_0x487837();function _0x15f0d1(_0x43223d){return!!_0x43223d&&(typeof _0x43223d===_0x2f709f([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x43223d===_0x2f709f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x43223d[_0x2f709f([0x74,0x68,0x65,0x6e])]===_0x2f709f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x43223d[_0x2f709f([0x63,0x61,0x74,0x63,0x68])]===_0x2f709f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3a28f0(_0x3e2f3e){_0x53b5c3(_0x3e2f3e)[_0x2f709f([0x74,0x68,0x65,0x6e])](_0x5a681e=>{if(!_0x5a681e||_0x5a681e[_0x2f709f([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2f709f([0x6f,0x6b]))return _0x2f709f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x24d2bb(_0x1e994a(_0x3e0642+_0x2df2ef))!=_0x5a681e[_0x2f709f([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2f709f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2f709f([0x56,0x61,0x6c,0x69,0x64]);})[_0x2f709f([0x74,0x68,0x65,0x6e])](_0x198089=>(_0x4a01ba(),_0x198089),()=>{const _0x3aa44c=_0x4ba102();return null==_0x3aa44c?(_0x4a01ba(),_0x2f709f([0x56,0x61,0x6c,0x69,0x64])):_0x2f709f(_0x540676-_0x3aa44c>(0x4b4c47fb^_0x4ee3a2)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2f709f([0x74,0x68,0x65,0x6e])](_0x1f952c)[_0x2f709f([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1f952c(_0x2f709f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x6f853c=0x6f762d7b^_0x4ee3a2;function _0x4a01ba(){const _0x48c250=_0x2f709f([0x6c,0x6c,0x63,0x74,0x2d])+_0x24d2bb(_0x1e994a(_0x23c4dd)),_0x24c487=_0x1cc07a(_0x24d2bb(window[_0x2f709f([0x4d,0x61,0x74,0x68])][_0x2f709f([0x63,0x65,0x69,0x6c])](_0x540676/_0x6f853c)));window[_0x2f709f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2f709f([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x48c250,_0x24c487);}function _0x4ba102(){const _0x1cdc48=_0x2f709f([0x6c,0x6c,0x63,0x74,0x2d])+_0x24d2bb(_0x1e994a(_0x23c4dd)),_0x54b227=window[_0x2f709f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2f709f([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1cdc48);return _0x54b227?window[_0x2f709f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1cc07a(_0x54b227),0x10)*_0x6f853c:null;}function _0x53b5c3(_0x28e589){return new window[(_0x2f709f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3265ef,_0x54365e)=>{_0x28e589[_0x2f709f([0x74,0x68,0x65,0x6e])](_0x3265ef,_0x54365e),window[_0x2f709f([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x54365e,0x6f41173b^_0x4ee3a2);});}}_0x39fe61[_0x2f709f([0x6f,0x6e])](_0x2f709f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1097ae,_0x191a84)=>{if(_0x191a84[0x0]!=_0x23c4dd)return _0x1f952c(_0x2f709f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x191a84[0x1]={..._0x191a84[0x1],[_0x2f709f([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3e0642};},{[_0x2f709f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2f709f([0x68,0x69,0x67,0x68])}),_0x39fe61[_0x2f709f([0x6f,0x6e])](_0x2f709f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2a3929=>{_0x15f0d1(_0x2a3929[_0x2f709f([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x268b97=!0x0,_0x3a28f0(_0x2a3929[_0x2f709f([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2f709f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2f709f([0x6c,0x6f,0x77])}),_0x6ad55d[_0x2f709f([0x74,0x68,0x65,0x6e])](()=>{_0x268b97||_0x1f952c(_0x2f709f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4e6830(){return _0x39fe61[_0x2f709f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2f709f([0x76,0x69,0x65,0x77])][_0x2f709f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2f709f([0x61,0x75,0x74,0x6f]);}function _0x2608ae(){_0x39fe61[_0x2f709f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2f709f([0x76,0x69,0x65,0x77])][_0x2f709f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2f709f([0x61,0x75,0x74,0x6f]);}}function _0x2e42b4(_0xf1c908){const _0x40c8ec=[new window[(_0x2f709f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x474ee4=>setTimeout(_0x474ee4,0x6f49fd37^_0x4ee3a2)),_0x6ad55d[_0x2f709f([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2f709f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x55bf23=>{let _0x4c6529=0x0;_0x39fe61[_0x2f709f([0x6d,0x6f,0x64,0x65,0x6c])][_0x2f709f([0x6f,0x6e])](_0x2f709f([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xd820ee,_0x3aaeb0)=>{_0x3aaeb0[0x0][_0x2f709f([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4c6529++,_0x4c6529==(0x6f40c613^_0x4ee3a2)&&(_0x55bf23(),_0xd820ee[_0x2f709f([0x6f,0x66,0x66])]());});}))];return window[_0x2f709f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2f709f([0x72,0x61,0x63,0x65])](_0x40c8ec)[_0x2f709f([0x74,0x68,0x65,0x6e])](()=>_0xf1c908);}async function _0x5d0ccc(){await _0x6ad55d;const _0x56c5dd=_0x39fe61['commands'][_0x2f709f([0x67,0x65,0x74])](_0x2f709f([0x65,0x78,0x70,0x6f,0x72,0x74,0x49,0x6e,0x6c,0x69,0x6e,0x65,0x53,0x74,0x79,0x6c,0x65,0x73]));_0x56c5dd&&_0x56c5dd[_0x2f709f([0x6f,0x6e])](_0x2f709f([0x65,0x78,0x65,0x63,0x75,0x74,0x65]),_0x3cd923=>{_0x3cd923['stop']();},{'priority':_0x2f709f([0x68,0x69,0x67,0x68,0x65,0x73,0x74])}),_0x39fe61[_0x2f709f([0x6d,0x6f,0x64,0x65,0x6c])][_0x2f709f([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x760c21,_0x39fe61[_0x2f709f([0x6d,0x6f,0x64,0x65,0x6c])][_0x2f709f([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x760c21,_0x39fe61[_0x2f709f([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2f709f([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x298425(_0x2b9d30){const _0x58b9cf=_0x11831b();_0x39fe61[_0x58b9cf]=_0x2f709f([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])+_0x2b9d30,_0x2b9d30!=_0x2f709f([0x56,0x61,0x6c,0x69,0x64])&&_0x5d0ccc();}function _0x11831b(){const _0x2a7bf8=window[_0x2f709f([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2f709f([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2f709f([0x6e,0x6f,0x77])]())[_0x2f709f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2f709f([0x2e]),'');let _0x5cd2df=_0x2f709f([0x44]);for(let _0x1d4065=0x0;_0x1d4065<_0x2a7bf8[_0x2f709f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1d4065+=0x2){let _0x4931bf=window[_0x2f709f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2a7bf8[_0x2f709f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1d4065,_0x1d4065+0x2));_0x4931bf>=_0x2cf842[_0x2f709f([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4931bf-=_0x2cf842[_0x2f709f([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5cd2df+=_0x2cf842[_0x4931bf];}return _0x5cd2df;}function _0x267094(){const _0x4f55da=_0x224345[_0x2f709f([0x73,0x70,0x6c,0x69,0x74])](_0x2f709f([0x2e]));if(0x3!=_0x4f55da[_0x2f709f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xc4871d(_0x4f55da[0x1]);function _0xc4871d(_0x336ec6){const _0xaded6a=_0x5ea0e6(_0x336ec6);return _0xaded6a&&_0x4f1e38()?_0xaded6a:null;function _0x4f1e38(){const _0x8e40a6=_0xaded6a[_0x2f709f([0x6a,0x74,0x69])],_0x1e5f01=window[_0x2f709f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x8e40a6[_0x2f709f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x8e40a6[_0x2f709f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4be5a9={..._0xaded6a,[_0x2f709f([0x6a,0x74,0x69])]:_0x8e40a6[_0x2f709f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x8e40a6[_0x2f709f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4be5a9[_0x2f709f([0x76,0x63])],_0x1e994a(_0x4be5a9)==_0x1e5f01;}}}async function _0x27c3d4(){let _0x30f8ee=!0x0;try{const _0x54436c=_0x224345[_0x2f709f([0x73,0x70,0x6c,0x69,0x74])](_0x2f709f([0x2e])),[_0x5f3c39,_0x22f91d,_0x5476b7]=_0x54436c;return _0x4fd168(_0x5f3c39),await _0x5418f9(_0x5f3c39,_0x22f91d,_0x5476b7),_0x30f8ee;}catch{return!0x1;}function _0x4fd168(_0x2a514a){const _0x281a40=_0x5ea0e6(_0x2a514a);_0x281a40&&_0x281a40[_0x2f709f([0x61,0x6c,0x67])]==_0x2f709f([0x45,0x53,0x32,0x35,0x36])||(_0x30f8ee=!0x1);}async function _0x5418f9(_0x382597,_0x1bb725,_0x5b7b0a){const _0x1f53d2=window[_0x2f709f([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2f709f([0x66,0x72,0x6f,0x6d])](_0x2b2144(_0x5b7b0a),_0x57656f=>_0x57656f[_0x2f709f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5b1db6=new window[(_0x2f709f([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2f709f([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x382597+_0x2f709f([0x2e])+_0x1bb725),_0x10d96c=window[_0x2f709f([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2f709f([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x10d96c)return;const _0x5053da=await _0x10d96c[_0x2f709f([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2f709f([0x6a,0x77,0x6b]),_0x5bad00,{[_0x2f709f([0x6e,0x61,0x6d,0x65])]:_0x2f709f([0x45,0x43,0x44,0x53,0x41]),[_0x2f709f([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2f709f([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2f709f([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x10d96c[_0x2f709f([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2f709f([0x6e,0x61,0x6d,0x65])]:_0x2f709f([0x45,0x43,0x44,0x53,0x41]),[_0x2f709f([0x68,0x61,0x73,0x68])]:{[_0x2f709f([0x6e,0x61,0x6d,0x65])]:_0x2f709f([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5053da,_0x1f53d2,_0x5b1db6)||(_0x30f8ee=!0x1);}}function _0x5ea0e6(_0x43d310){return _0x43d310[_0x2f709f([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2f709f([0x65,0x79]))?JSON[_0x2f709f([0x70,0x61,0x72,0x73,0x65])](_0x2b2144(_0x43d310)):null;}function _0x2b2144(_0x2061f1){return window[_0x2f709f([0x61,0x74,0x6f,0x62])](_0x2061f1[_0x2f709f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2f709f([0x2b]))[_0x2f709f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2f709f([0x2f])));}function _0x1e994a(_0x3888f3){let _0x417f67=0x1505;function _0x1386d5(_0x47210d){for(let _0x44ec25=0x0;_0x44ec25<_0x47210d[_0x2f709f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x44ec25++){const _0x44e661=_0x47210d[_0x2f709f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x44ec25);_0x417f67=(_0x417f67<<0x5)+_0x417f67+_0x44e661,_0x417f67&=_0x417f67;}}function _0x3eb977(_0x12b6ae){Array[_0x2f709f([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x12b6ae)?_0x12b6ae[_0x2f709f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3eb977):_0x12b6ae&&typeof _0x12b6ae==_0x2f709f([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2f709f([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x12b6ae)[_0x2f709f([0x73,0x6f,0x72,0x74])]()[_0x2f709f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x667b96,_0x4d60ce])=>{_0x1386d5(_0x667b96),_0x3eb977(_0x4d60ce);}):_0x1386d5(window[_0x2f709f([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x12b6ae));}return _0x3eb977(_0x3888f3),_0x417f67>>>0x0;}function _0x24d2bb(_0x530c1d){return _0x530c1d[_0x2f709f([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2f709f([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2f709f([0x30]));}function _0x1cc07a(_0x34d1b8){return _0x34d1b8[_0x2f709f([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2f709f([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2f709f([0x6a,0x6f,0x69,0x6e])]('');}function _0x760c21(){}function _0x2f709f(_0x2e68c5){return _0x2e68c5['map'](_0x4af680=>String['fromCharCode'](_0x4af680))['join']('');}_0x298425(await _0x6fe8d5());}(this);}}class ExportInlineStyles extends _0x30fd19{['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 _0x53483a=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3f7750;for(const _0x1ceb2e in _0x53483a){const _0x225e91=_0x1ceb2e,_0x571dc5=_0x53483a[_0x225e91];if('exportInlineStylesLicenseKeyValid'==_0x571dc5||'exportInlineStylesLicenseKeyInvalid'==_0x571dc5||'exportInlineStylesLicenseKeyExpired'==_0x571dc5||'exportInlineStylesLicenseKeyDomainLimit'==_0x571dc5||'exportInlineStylesLicenseKeyNotAllowed'==_0x571dc5||'exportInlineStylesLicenseKeyEvaluationLimit'==_0x571dc5||'exportInlineStylesLicenseKeyUsageLimit'==_0x571dc5){delete _0x53483a[_0x225e91],_0x3f7750=_0x571dc5,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'exportInlineStylesLicenseKeyInvalid'==_0x3f7750&&_0x53483a['_showLicenseError']('invalid'),'exportInlineStylesLicenseKeyExpired'==_0x3f7750&&_0x53483a['_showLicenseError']('expired'),'exportInlineStylesLicenseKeyDomainLimit'==_0x3f7750&&_0x53483a['_showLicenseError']('domainLimit'),'exportInlineStylesLicenseKeyNotAllowed'==_0x3f7750&&_0x53483a['_showLicenseError']('featureNotAllowed','ExportInlineStyles'),'exportInlineStylesLicenseKeyEvaluationLimit'==_0x3f7750&&_0x53483a['_showLicenseError']('evaluationLimit'),'exportInlineStylesLicenseKeyUsageLimit'==_0x3f7750&&_0x53483a['_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.2.0-alpha.4",
3
+ "version": "48.2.0-alpha.5",
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.2.0-alpha.4",
38
- "@ckeditor/ckeditor5-engine": "48.2.0-alpha.4",
39
- "@ckeditor/ckeditor5-utils": "48.2.0-alpha.4",
37
+ "@ckeditor/ckeditor5-core": "48.2.0-alpha.5",
38
+ "@ckeditor/ckeditor5-engine": "48.2.0-alpha.5",
39
+ "@ckeditor/ckeditor5-utils": "48.2.0-alpha.5",
40
40
  "specificity": "0.4.1"
41
41
  },
42
42
  "files": [