@ckeditor/ckeditor5-export-inline-styles 48.1.0-alpha.0 → 48.1.0-alpha.2

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 _0x241693,Plugin as _0x36af60}from'@ckeditor/ckeditor5-core/dist/index.js';import{collectStylesheets as _0x10fe95,createElement as _0x1a7fd4,uid as _0x34dbe5}from'@ckeditor/ckeditor5-utils/dist/index.js';import{StylesMap as _0x197960,addMarginStylesRules as _0x2dafd0,addPaddingStylesRules as _0x160fc5}from'@ckeditor/ckeditor5-engine/dist/index.js';import{calculate as _0x29bbb1,compare as _0x419762}from'specificity';function f(_0xd62165){const _0x693230=[];let _0x46a4f2='',_0x5df475=0x0;for(;_0x5df475<_0xd62165['length'];){const _0x45eb47=_0xd62165[_0x5df475];if('('===_0x45eb47){const _0x401a6d=y(_0xd62165,_0x5df475+0x1);if(-0x1===_0x401a6d)return[];_0x46a4f2+=_0xd62165['slice'](_0x5df475,_0x401a6d+0x1),_0x5df475=_0x401a6d+0x1;}else','!==_0x45eb47||_0x46a4f2['endsWith']('\x5c')?(_0x46a4f2+=_0x45eb47,_0x5df475++):(_0x693230['push'](_0x46a4f2['trim']()),_0x46a4f2='',_0x5df475++);}return _0x46a4f2['trim']()&&_0x693230['push'](_0x46a4f2['trim']()),_0x693230['filter'](Boolean);}function y(_0x28141c,_0x26bec7){let _0x7e03ed=0x1;for(let _0x3aa5a4=_0x26bec7;_0x3aa5a4<_0x28141c['length'];_0x3aa5a4++){const _0x4b00c0=_0x28141c[_0x3aa5a4];if('('===_0x4b00c0)_0x7e03ed++;else{if(')'===_0x4b00c0&&(_0x7e03ed--,0x0===_0x7e03ed))return _0x3aa5a4;}}return-0x1;}function w(_0x347ff8){return _0x347ff8['replace'](/!\s*important/i,'')['trim']();}function d(_0x5cd1b9,_0x8b9cda){const _0x4075a9=new Map(),_0x100447=_0x112895=>_0x4075a9['has'](_0x112895)?_0x4075a9['get'](_0x112895):_0x5cd1b9(_0x112895);for(const [_0x4b3b38,_0x5ce5d4]of _0x8b9cda['getStylesEntries']())if(_0x5ce5d4&&_0x4b3b38['startsWith']('--')){const _0x5e98b1=p(_0x100447,_0x5ce5d4);_0x4075a9['set'](_0x4b3b38,_0x5e98b1),_0x8b9cda['remove'](_0x4b3b38);}for(const [_0x431039,_0x531bf2]of _0x8b9cda['getStylesEntries']())if(_0x531bf2){const _0x5efa53=p(_0x100447,_0x531bf2);_0x8b9cda['set'](_0x431039,_0x5efa53);}return _0x4075a9;}function p(_0x1db91c,_0x2a5344){return function(_0x2e4279,_0x5c8327){let _0x2820b2='',_0x5e79c7=0x0;for(;_0x5e79c7<_0x2e4279['length'];){const _0x21ed98=_0x2e4279['indexOf']('var(',_0x5e79c7);if(-0x1===_0x21ed98){_0x2820b2+=_0x2e4279['slice'](_0x5e79c7);break;}_0x2820b2+=_0x2e4279['slice'](_0x5e79c7,_0x21ed98);const _0xe5b361=_0x21ed98+0x4,_0x3c0c5f=y(_0x2e4279,_0xe5b361);_0x2820b2+=_0x5c8327(_0x2e4279['substring'](_0xe5b361,_0x3c0c5f)),_0x5e79c7=_0x3c0c5f+0x1;}return _0x2820b2;}(_0x2a5344,_0x434df1=>{const [_0x3ab0da,_0x3c0572]=f(_0x434df1),_0x598861=_0x1db91c(_0x3ab0da);return void 0x0!==_0x598861?_0x598861:_0x3c0572?p(_0x1db91c,_0x3c0572):'var('+_0x3ab0da+')';});}async function m(_0x24d89b){const _0xaae50f=[await _0x10fe95(_0x24d89b['stylesheets']),_0x24d89b['inlineCss']]['filter'](_0x2310b8=>_0x2310b8&&_0x2310b8['length'])['join']('\x0a'),_0x32a92e=await async function(_0x248706,_0x579437){const _0x5c9c46=new CSSStyleSheet();return await _0x5c9c46['replace'](_0x579437),h(Array['from'](_0x5c9c46['cssRules'])['filter'](_0x3b047b=>_0x3b047b instanceof CSSStyleRule))['flatMap'](({selectorText:_0x41f1ae,contentCssText:_0x1c799c})=>{const _0x240e53=f(_0x41f1ae),_0x33e08e=new _0x197960(_0x248706)['setTo'](_0x1c799c);return _0x240e53['map'](_0x2c6c93=>{const _0x1a202e=function(_0x52b9b5){const _0x4a39b1=':where(';let _0x47b967=_0x52b9b5,_0x34515b=0x0;for(let _0x572a1a=0x0;_0x572a1a<0x64;_0x572a1a++){const _0xff8bb6=_0x47b967['indexOf'](_0x4a39b1,_0x34515b);if(-0x1===_0xff8bb6)break;let _0x1a1b03=0x0;for(let _0x298ea9=0x0;_0x298ea9<_0xff8bb6;_0x298ea9++)'('===_0x47b967[_0x298ea9]?_0x1a1b03++:')'===_0x47b967[_0x298ea9]&&_0x1a1b03--;if(_0x1a1b03>0x0){_0x34515b=_0xff8bb6+_0x4a39b1['length'];continue;}let _0x493263=-0x1;for(let _0x45b5d5=_0xff8bb6+_0x4a39b1['length'],_0x4ed552=0x1;_0x45b5d5<_0x47b967['length'];_0x45b5d5++)if('('===_0x47b967[_0x45b5d5]?_0x4ed552++:')'===_0x47b967[_0x45b5d5]&&_0x4ed552--,!_0x4ed552){_0x493263=_0x45b5d5;break;}-0x1!==_0x493263?(_0x47b967=_0x47b967['slice'](0x0,_0xff8bb6)+_0x47b967['slice'](_0x493263+0x1),_0x34515b=_0xff8bb6):_0x34515b=_0xff8bb6+_0x4a39b1['length'];}return _0x47b967['replace'](/\s+/g,'\x20')['trim']();}(_0x2c6c93),_0x1f6b8b=_0x1a202e?_0x29bbb1(_0x1a202e)[0x0]['specificityArray']:[0x0,0x0,0x0,0x0];return{'stylesMap':_0x33e08e,'flatSelector':_0x2c6c93,'specificity':_0x1f6b8b};});})['sort']((_0x284bcf,_0x1b8b07)=>_0x419762(_0x284bcf['specificity'],_0x1b8b07['specificity']));}(_0x24d89b['stylesProcessor'],_0xaae50f);return{'parsedCssRules':_0x32a92e,'rootCssVariables':function(_0x244fcb){const _0x412349=new Map();for(const {stylesMap:_0x5cd638,flatSelector:_0x4b085a}of _0x244fcb){if(':root'!==_0x4b085a)continue;const _0x50e35b=d(_0x412349['get']['bind'](_0x412349),_0x5cd638);for(const [_0x4e7780,_0xff87e1]of _0x50e35b)_0x412349['set'](_0x4e7780,_0xff87e1);}return _0x412349;}(_0x32a92e)};}function h(_0x108f00,_0x107566=''){return _0x108f00['flatMap'](_0x296395=>{const {selectorText:_0x1b364d,cssText:_0x51d007,cssRules:_0x3dfe8b}=_0x296395;if(!_0x1b364d)return[];const _0x30f3da=_0x1b364d['replace'](/&/g,_0x107566);let _0x1afa9f=_0x51d007['replace'](_0x1b364d,'')['trim']()['replace'](/^{|}$/g,'');if(!_0x3dfe8b||!_0x3dfe8b['length'])return[{'selectorText':_0x30f3da,'contentCssText':_0x1afa9f}];for(const _0x100208 of _0x3dfe8b)_0x1afa9f=_0x1afa9f['replace'](_0x100208['cssText'],'')['trim']();return[{'selectorText':_0x30f3da,'contentCssText':_0x1afa9f},...h(Array['from'](_0x3dfe8b),_0x30f3da)];});}function S(_0x10c3c1,_0x534bdf){const _0x46d9b6=new _0x197960(_0x10c3c1);for(const _0x26af96 of _0x534bdf){let _0x561176=null;if(_0x561176='string'==typeof _0x26af96?new _0x197960(_0x10c3c1)['setTo'](_0x26af96):_0x26af96,_0x561176){for(const [_0x7479e2,_0x33d4a7]of _0x561176['getStylesEntries']())_0x46d9b6['set'](_0x7479e2,_0x33d4a7);}}return _0x46d9b6;}class x extends _0x241693{['_stylesProcessor'];constructor(_0x628f8e){super(_0x628f8e),this['set']('isBusy',!0x1),this['_stylesProcessor']=this['editor']['data']['stylesProcessor'],_0x2dafd0(this['_stylesProcessor']),_0x160fc5(this['_stylesProcessor']),this['affectsData']=!0x1;}['refresh'](){this['isEnabled']=!this['isBusy'],this['value']=this['isBusy']?'pending':void 0x0;}async['execute'](_0x5be6a4){const _0x3facbf=this['editor']['config']['get']('exportInlineStyles'),{contentLanguageDirection:_0x5af68d}=this['editor']['locale'],{rootName:_0x2160b6='main',dataControllerDowncastOptions:_0x1cdb85={},transformations:_0x2140a6=_0x3facbf['transformations']||[]}=_0x5be6a4||{};this['isBusy']=!0x0,this['refresh']();const _0x25906b=this['_getRootDataHTMLFragment'](_0x2160b6,_0x1cdb85),_0x5859de=_0x1a7fd4(_0x25906b['ownerDocument'],'div',{'dir':_0x5af68d,'class':'ck-content'},[_0x25906b]);return this['_collectAndApplyStyles'](_0x2140a6,_0x5859de)['then'](()=>{const _0x9c5b89=function(_0x2f5e13){const _0x55302a=_0x2f5e13['ownerDocument']['createDocumentFragment']();for(;_0x2f5e13['firstChild'];)_0x55302a['appendChild'](_0x2f5e13['firstChild']);return _0x55302a;}(_0x5859de),_0x1e059b=_0x5859de['getAttribute']('style');if(_0x1e059b)for(const _0x2827de of _0x9c5b89['children']){const _0x107cba=_0x2827de['getAttribute']('style'),_0x5dfd8f=S(this['_stylesProcessor'],[_0x1e059b,_0x107cba]);_0x2827de['setAttribute']('style',C(_0x5dfd8f));}return this['editor']['data']['htmlProcessor']['htmlWriter']['getHtml'](_0x9c5b89);})['finally'](()=>{this['isBusy']=!0x1,this['refresh']();});}['_getRootDataHTMLFragment'](_0x1b3555,_0x22780f){const {data:_0x3d7324,model:_0x2e40f0}=this['editor'],_0x3496c1=_0x2e40f0['document']['getRoot'](_0x1b3555),_0x69dd48=_0x3d7324['toView'](_0x3496c1,_0x22780f);return _0x3d7324['htmlProcessor']['domConverter']['viewToDom'](_0x69dd48);}async['_collectAndApplyStyles'](_0x59b31d,_0x28b504){const {stylesheets:_0x498ac3,inlineCss:_0xc91b1d,stripCssClasses:_0x23f534}=this['editor']['config']['get']('exportInlineStyles'),{parsedCssRules:_0x356374,rootCssVariables:_0x5402a0}=await m({'stylesheets':_0x498ac3||['EDITOR_STYLES'],'stylesProcessor':this['_stylesProcessor'],'inlineCss':_0xc91b1d}),_0xff92f2=[];this['_processElementTree']({'transformations':_0x59b31d,'parsedCssRules':_0x356374,'element':_0x28b504,'stripCssClasses':_0x23f534,'parentCSSVariablesLookup':_0x5402a0['get']['bind'](_0x5402a0),'runAfterDocumentTransformation':_0x233909=>{_0xff92f2['unshift'](_0x233909);}});for(const _0x55c036 of _0xff92f2)_0x55c036();}['_processElementTree']({element:_0x544684,parsedCssRules:_0x4a6711,parentCSSVariablesLookup:_0x1d15cc,runAfterDocumentTransformation:_0x3b72b6,stripCssClasses:_0xd5d60,transformations:_0x2337dc}){const {stylesMap:_0x5d473a,localCSSVariables:_0x72b365}=function(_0x211d4c){const _0x10c2bc=_0x211d4c['element']['getAttribute']('style')||'',_0x2d9878=_0x211d4c['parsedCssRules']['filter'](_0x5df980=>_0x211d4c['element']['matches'](_0x5df980['flatSelector']))['map'](_0x1f81db=>_0x1f81db['stylesMap']),_0x40bdae=S(_0x211d4c['stylesProcessor'],[..._0x2d9878,_0x10c2bc]);return{'localCSSVariables':d(_0x211d4c['fallbackCSSVariablesLookup'],_0x40bdae),'stylesMap':_0x40bdae};}({'stylesProcessor':this['_stylesProcessor'],'fallbackCSSVariablesLookup':_0x1d15cc,'parsedCssRules':_0x4a6711,'element':_0x544684}),_0x3a1ab5=[];for(const _0x3e2505 of _0x2337dc){const _0xe97b1a=_0x3e2505(_0x544684,_0x5d473a,{'runAfterDocumentTransformation':_0x3b72b6,'runAfterChildrenTransformation':_0x599945=>{_0x3a1ab5['unshift'](_0x599945);}});_0xe97b1a&&_0xe97b1a instanceof HTMLElement&&(_0x544684=_0xe97b1a);}_0x5d473a['size']?_0x544684['setAttribute']('style',C(_0x5d473a)):_0x544684['removeAttribute']('style');const _0x22fbf8=_0x40a925=>_0x72b365['has'](_0x40a925)?_0x72b365['get'](_0x40a925):_0x1d15cc(_0x40a925);for(const _0x3a144d of _0x544684['children'])_0x3a144d instanceof HTMLElement&&this['_processElementTree']({'element':_0x3a144d,'parsedCssRules':_0x4a6711,'stripCssClasses':_0xd5d60,'transformations':_0x2337dc,'parentCSSVariablesLookup':_0x22fbf8,'runAfterDocumentTransformation':_0x3b72b6});_0xd5d60&&_0x544684['removeAttribute']('class');for(const _0x54fe40 of _0x3a1ab5)_0x54fe40();}}function C(_0xb725e2){return _0xb725e2['getStylesEntries']()['map'](_0x2f2c9f=>_0x2f2c9f['join'](':'))['join'](';')+';';}class L extends _0x36af60{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(_0x5d1258){const _0x4e3abf=_0x1d4ff5([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]),_0x35a508=0x6f40c3fb,_0x424453=0x6f474ab3^_0x35a508,_0x1774b1=window[_0x1d4ff5([0x44,0x61,0x74,0x65])][_0x1d4ff5([0x6e,0x6f,0x77])](),_0x516ad7=_0x5d1258[_0x1d4ff5([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xa28655=new window[(_0x1d4ff5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1e9cb7=>{_0x516ad7[_0x1d4ff5([0x6f,0x6e,0x63,0x65])](_0x1d4ff5([0x72,0x65,0x61,0x64,0x79]),_0x1e9cb7);}),_0x39d209={[_0x1d4ff5([0x6b,0x74,0x79])]:_0x1d4ff5([0x45,0x43]),[_0x1d4ff5([0x75,0x73,0x65])]:_0x1d4ff5([0x73,0x69,0x67]),[_0x1d4ff5([0x63,0x72,0x76])]:_0x1d4ff5([0x50,0x2d,0x32,0x35,0x36]),[_0x1d4ff5([0x78])]:_0x1d4ff5([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]),[_0x1d4ff5([0x79])]:_0x1d4ff5([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]),[_0x1d4ff5([0x61,0x6c,0x67])]:_0x1d4ff5([0x45,0x53,0x32,0x35,0x36])},_0x386640=_0x516ad7[_0x1d4ff5([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1d4ff5([0x67,0x65,0x74])](_0x1d4ff5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x195e47(){let _0x2f128b,_0x5bbb81=null,_0x2561d8=null;try{if(_0x386640==_0x1d4ff5([0x47,0x50,0x4c]))return _0x1d4ff5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2f128b=_0x59a205(),!_0x2f128b)return _0x1d4ff5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2f128b[_0x1d4ff5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2561d8=_0x2db97b(_0x2f128b[_0x1d4ff5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2f128b[_0x1d4ff5([0x6a,0x74,0x69])])),await _0x57bb67()?_0x1b90cb()?_0x552136()?_0x1d4ff5([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x34c534()?(_0x2f128b[_0x1d4ff5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1d4ff5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5bbb81=_0x161538(_0x1d4ff5([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x53c7b7()):_0x1d4ff5([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1d4ff5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1d4ff5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1d4ff5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x552136(){const _0x2092fa=[_0x1d4ff5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1d4ff5([0x74,0x72,0x69,0x61,0x6c])][_0x1d4ff5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2f128b[_0x1d4ff5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1774b1/0x3e8:0xe10*_0x424453;return _0x2f128b[_0x1d4ff5([0x65,0x78,0x70])]<_0x2092fa;}function _0x1b90cb(){const _0x3c90d9=_0x2f128b[_0x1d4ff5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3c90d9&&(!!_0x3c90d9[_0x1d4ff5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1d4ff5([0x2a]))||!!_0x3c90d9[_0x1d4ff5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1d4ff5([0x45,0x49,0x53])));}function _0x34c534(){const _0x2c1479=_0x2f128b[_0x1d4ff5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2c1479||0x0==_0x2c1479[_0x1d4ff5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5ee195}=new URL(window[_0x1d4ff5([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x2c1479[_0x1d4ff5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5ee195))return!0x0;const _0x13ad4b=_0x5ee195[_0x1d4ff5([0x73,0x70,0x6c,0x69,0x74])](_0x1d4ff5([0x2e]));return _0x2c1479[_0x1d4ff5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2d46e9=>_0x2d46e9[_0x1d4ff5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1d4ff5([0x2a])))[_0x1d4ff5([0x6d,0x61,0x70])](_0x502445=>_0x502445[_0x1d4ff5([0x73,0x70,0x6c,0x69,0x74])](_0x1d4ff5([0x2e])))[_0x1d4ff5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4a6f88=>_0x4a6f88[_0x1d4ff5([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x13ad4b[_0x1d4ff5([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1d4ff5([0x6d,0x61,0x70])](_0x5889df=>Array(_0x13ad4b[_0x1d4ff5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5889df[_0x1d4ff5([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1d4ff5([0x66,0x69,0x6c,0x6c])](_0x5889df[0x0]===_0x1d4ff5([0x2a])?_0x1d4ff5([0x2a]):'')[_0x1d4ff5([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5889df))[_0x1d4ff5([0x73,0x6f,0x6d,0x65])](_0x9b89b4=>_0x13ad4b[_0x1d4ff5([0x65,0x76,0x65,0x72,0x79])]((_0x46e1b3,_0x4a9e58)=>_0x9b89b4[_0x4a9e58]===_0x46e1b3||_0x9b89b4[_0x4a9e58]===_0x1d4ff5([0x2a])));}function _0x53c7b7(){return _0x5bbb81&&_0x2561d8?new window[(_0x1d4ff5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x225cda,_0xc0ea08)=>{_0x5bbb81[_0x1d4ff5([0x74,0x68,0x65,0x6e])](_0x225cda,_0xc0ea08),_0x2561d8[_0x1d4ff5([0x74,0x68,0x65,0x6e])](_0x1da88a=>{_0x1da88a!=_0x1d4ff5([0x56,0x61,0x6c,0x69,0x64])&&_0x225cda(_0x1da88a);},_0xc0ea08);}):_0x5bbb81||_0x2561d8||_0x1d4ff5([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2db97b(_0x2a4e8e,_0x4d66d8){return new window[(_0x1d4ff5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x17be06=>{if(_0x29c695())return _0x17be06(_0x1d4ff5([0x56,0x61,0x6c,0x69,0x64]));_0x1b38e3(),_0x516ad7[_0x1d4ff5([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1d4ff5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x44fb92=!0x1;const _0x4960e5=_0x34dbe5();function _0x2f3028(_0x5f39b4){return!!_0x5f39b4&&(typeof _0x5f39b4===_0x1d4ff5([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5f39b4===_0x1d4ff5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5f39b4[_0x1d4ff5([0x74,0x68,0x65,0x6e])]===_0x1d4ff5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5f39b4[_0x1d4ff5([0x63,0x61,0x74,0x63,0x68])]===_0x1d4ff5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x899745(_0x6e6024){_0x541b07(_0x6e6024)[_0x1d4ff5([0x74,0x68,0x65,0x6e])](_0x2afddd=>{if(!_0x2afddd||_0x2afddd[_0x1d4ff5([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1d4ff5([0x6f,0x6b]))return _0x1d4ff5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x30df10(_0x3f491a(_0x4960e5+_0x4d66d8))!=_0x2afddd[_0x1d4ff5([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1d4ff5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1d4ff5([0x56,0x61,0x6c,0x69,0x64]);})[_0x1d4ff5([0x74,0x68,0x65,0x6e])](_0x9e6636=>(_0x4f4d1b(),_0x9e6636),()=>{const _0x4cfb5d=_0x4ee454();return null==_0x4cfb5d?(_0x4f4d1b(),_0x1d4ff5([0x56,0x61,0x6c,0x69,0x64])):_0x1d4ff5(_0x1774b1-_0x4cfb5d>(0x4b4c47fb^_0x35a508)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1d4ff5([0x74,0x68,0x65,0x6e])](_0x17be06)[_0x1d4ff5([0x63,0x61,0x74,0x63,0x68])](()=>{_0x17be06(_0x1d4ff5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1aaa5f=0x6f762d7b^_0x35a508;function _0x4f4d1b(){const _0x3e351e=_0x1d4ff5([0x6c,0x6c,0x63,0x74,0x2d])+_0x30df10(_0x3f491a(_0x2a4e8e)),_0x32f9ff=_0x453fb0(_0x30df10(window[_0x1d4ff5([0x4d,0x61,0x74,0x68])][_0x1d4ff5([0x63,0x65,0x69,0x6c])](_0x1774b1/_0x1aaa5f)));window[_0x1d4ff5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1d4ff5([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3e351e,_0x32f9ff);}function _0x4ee454(){const _0x4e0fd6=_0x1d4ff5([0x6c,0x6c,0x63,0x74,0x2d])+_0x30df10(_0x3f491a(_0x2a4e8e)),_0x37b040=window[_0x1d4ff5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1d4ff5([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4e0fd6);return _0x37b040?window[_0x1d4ff5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x453fb0(_0x37b040),0x10)*_0x1aaa5f:null;}function _0x541b07(_0x52ea9e){return new window[(_0x1d4ff5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xb11e4,_0x4a1c1b)=>{_0x52ea9e[_0x1d4ff5([0x74,0x68,0x65,0x6e])](_0xb11e4,_0x4a1c1b),window[_0x1d4ff5([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4a1c1b,0x6f41173b^_0x35a508);});}}_0x516ad7[_0x1d4ff5([0x6f,0x6e])](_0x1d4ff5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x222136,_0x2c4f17)=>{if(_0x2c4f17[0x0]!=_0x2a4e8e)return _0x17be06(_0x1d4ff5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2c4f17[0x1]={..._0x2c4f17[0x1],[_0x1d4ff5([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4960e5};},{[_0x1d4ff5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1d4ff5([0x68,0x69,0x67,0x68])}),_0x516ad7[_0x1d4ff5([0x6f,0x6e])](_0x1d4ff5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x512a92=>{_0x2f3028(_0x512a92[_0x1d4ff5([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x44fb92=!0x0,_0x899745(_0x512a92[_0x1d4ff5([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1d4ff5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1d4ff5([0x6c,0x6f,0x77])}),_0xa28655[_0x1d4ff5([0x74,0x68,0x65,0x6e])](()=>{_0x44fb92||_0x17be06(_0x1d4ff5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x29c695(){return _0x516ad7[_0x1d4ff5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1d4ff5([0x76,0x69,0x65,0x77])][_0x1d4ff5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1d4ff5([0x61,0x75,0x74,0x6f]);}function _0x1b38e3(){_0x516ad7[_0x1d4ff5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1d4ff5([0x76,0x69,0x65,0x77])][_0x1d4ff5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1d4ff5([0x61,0x75,0x74,0x6f]);}}function _0x161538(_0x50bee0){const _0x3118b3=[new window[(_0x1d4ff5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3d176f=>setTimeout(_0x3d176f,0x6f49fd37^_0x35a508)),_0xa28655[_0x1d4ff5([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1d4ff5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3b41e8=>{let _0x54b29f=0x0;_0x516ad7[_0x1d4ff5([0x6d,0x6f,0x64,0x65,0x6c])][_0x1d4ff5([0x6f,0x6e])](_0x1d4ff5([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4cbfb8,_0x5a635c)=>{_0x5a635c[0x0][_0x1d4ff5([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x54b29f++,_0x54b29f==(0x6f40c613^_0x35a508)&&(_0x3b41e8(),_0x4cbfb8[_0x1d4ff5([0x6f,0x66,0x66])]());});}))];return window[_0x1d4ff5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1d4ff5([0x72,0x61,0x63,0x65])](_0x3118b3)[_0x1d4ff5([0x74,0x68,0x65,0x6e])](()=>_0x50bee0);}async function _0x4cfe74(){await _0xa28655;const _0x37f425=_0x516ad7['commands'][_0x1d4ff5([0x67,0x65,0x74])](_0x1d4ff5([0x65,0x78,0x70,0x6f,0x72,0x74,0x49,0x6e,0x6c,0x69,0x6e,0x65,0x53,0x74,0x79,0x6c,0x65,0x73]));_0x37f425&&_0x37f425[_0x1d4ff5([0x6f,0x6e])](_0x1d4ff5([0x65,0x78,0x65,0x63,0x75,0x74,0x65]),_0x2357af=>{_0x2357af['stop']();},{'priority':_0x1d4ff5([0x68,0x69,0x67,0x68,0x65,0x73,0x74])}),_0x516ad7[_0x1d4ff5([0x6d,0x6f,0x64,0x65,0x6c])][_0x1d4ff5([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1a2694,_0x516ad7[_0x1d4ff5([0x6d,0x6f,0x64,0x65,0x6c])][_0x1d4ff5([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1a2694,_0x516ad7[_0x1d4ff5([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1d4ff5([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x35953b(_0x549a6c){const _0x4f8a7b=_0x4c0bf8();_0x516ad7[_0x4f8a7b]=_0x1d4ff5([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])+_0x549a6c,_0x549a6c!=_0x1d4ff5([0x56,0x61,0x6c,0x69,0x64])&&_0x4cfe74();}function _0x4c0bf8(){const _0x156c57=window[_0x1d4ff5([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1d4ff5([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1d4ff5([0x6e,0x6f,0x77])]())[_0x1d4ff5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1d4ff5([0x2e]),'');let _0x1c0a68=_0x1d4ff5([0x44]);for(let _0x567d26=0x0;_0x567d26<_0x156c57[_0x1d4ff5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x567d26+=0x2){let _0x4e62ee=window[_0x1d4ff5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x156c57[_0x1d4ff5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x567d26,_0x567d26+0x2));_0x4e62ee>=_0x4e3abf[_0x1d4ff5([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4e62ee-=_0x4e3abf[_0x1d4ff5([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1c0a68+=_0x4e3abf[_0x4e62ee];}return _0x1c0a68;}function _0x59a205(){const _0x4d4126=_0x386640[_0x1d4ff5([0x73,0x70,0x6c,0x69,0x74])](_0x1d4ff5([0x2e]));if(0x3!=_0x4d4126[_0x1d4ff5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x47d4d2(_0x4d4126[0x1]);function _0x47d4d2(_0xb80f55){const _0x2b527f=_0x260bdb(_0xb80f55);return _0x2b527f&&_0x2c760e()?_0x2b527f:null;function _0x2c760e(){const _0x4468ce=_0x2b527f[_0x1d4ff5([0x6a,0x74,0x69])],_0x30d3d7=window[_0x1d4ff5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4468ce[_0x1d4ff5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4468ce[_0x1d4ff5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x253e3d={..._0x2b527f,[_0x1d4ff5([0x6a,0x74,0x69])]:_0x4468ce[_0x1d4ff5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4468ce[_0x1d4ff5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x253e3d[_0x1d4ff5([0x76,0x63])],_0x3f491a(_0x253e3d)==_0x30d3d7;}}}async function _0x57bb67(){let _0x17b33f=!0x0;try{const _0x329835=_0x386640[_0x1d4ff5([0x73,0x70,0x6c,0x69,0x74])](_0x1d4ff5([0x2e])),[_0x4a50be,_0x16e7d7,_0x4d3d54]=_0x329835;return _0x3580b1(_0x4a50be),await _0x10548a(_0x4a50be,_0x16e7d7,_0x4d3d54),_0x17b33f;}catch{return!0x1;}function _0x3580b1(_0x13bb63){const _0x45b7d2=_0x260bdb(_0x13bb63);_0x45b7d2&&_0x45b7d2[_0x1d4ff5([0x61,0x6c,0x67])]==_0x1d4ff5([0x45,0x53,0x32,0x35,0x36])||(_0x17b33f=!0x1);}async function _0x10548a(_0x241a70,_0x2c0d04,_0x1df0c4){const _0x19d49c=window[_0x1d4ff5([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1d4ff5([0x66,0x72,0x6f,0x6d])](_0x122e08(_0x1df0c4),_0x2b54d0=>_0x2b54d0[_0x1d4ff5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4317a7=new window[(_0x1d4ff5([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1d4ff5([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x241a70+_0x1d4ff5([0x2e])+_0x2c0d04),_0x2d8f7a=window[_0x1d4ff5([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1d4ff5([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2d8f7a)return;const _0x4b0613=await _0x2d8f7a[_0x1d4ff5([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1d4ff5([0x6a,0x77,0x6b]),_0x39d209,{[_0x1d4ff5([0x6e,0x61,0x6d,0x65])]:_0x1d4ff5([0x45,0x43,0x44,0x53,0x41]),[_0x1d4ff5([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1d4ff5([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1d4ff5([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2d8f7a[_0x1d4ff5([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1d4ff5([0x6e,0x61,0x6d,0x65])]:_0x1d4ff5([0x45,0x43,0x44,0x53,0x41]),[_0x1d4ff5([0x68,0x61,0x73,0x68])]:{[_0x1d4ff5([0x6e,0x61,0x6d,0x65])]:_0x1d4ff5([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4b0613,_0x19d49c,_0x4317a7)||(_0x17b33f=!0x1);}}function _0x260bdb(_0xd4c46e){return _0xd4c46e[_0x1d4ff5([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1d4ff5([0x65,0x79]))?JSON[_0x1d4ff5([0x70,0x61,0x72,0x73,0x65])](_0x122e08(_0xd4c46e)):null;}function _0x122e08(_0x82568){return window[_0x1d4ff5([0x61,0x74,0x6f,0x62])](_0x82568[_0x1d4ff5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1d4ff5([0x2b]))[_0x1d4ff5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1d4ff5([0x2f])));}function _0x3f491a(_0x1c0829){let _0x4b0daa=0x1505;function _0x21bf32(_0x28ac6e){for(let _0x261558=0x0;_0x261558<_0x28ac6e[_0x1d4ff5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x261558++){const _0x294bea=_0x28ac6e[_0x1d4ff5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x261558);_0x4b0daa=(_0x4b0daa<<0x5)+_0x4b0daa+_0x294bea,_0x4b0daa&=_0x4b0daa;}}function _0x3cfb0b(_0x24fb57){Array[_0x1d4ff5([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x24fb57)?_0x24fb57[_0x1d4ff5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3cfb0b):_0x24fb57&&typeof _0x24fb57==_0x1d4ff5([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1d4ff5([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x24fb57)[_0x1d4ff5([0x73,0x6f,0x72,0x74])]()[_0x1d4ff5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xadd5fa,_0x2bac64])=>{_0x21bf32(_0xadd5fa),_0x3cfb0b(_0x2bac64);}):_0x21bf32(window[_0x1d4ff5([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x24fb57));}return _0x3cfb0b(_0x1c0829),_0x4b0daa>>>0x0;}function _0x30df10(_0x38200d){return _0x38200d[_0x1d4ff5([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1d4ff5([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1d4ff5([0x30]));}function _0x453fb0(_0x5f5440){return _0x5f5440[_0x1d4ff5([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1d4ff5([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1d4ff5([0x6a,0x6f,0x69,0x6e])]('');}function _0x1a2694(){}function _0x1d4ff5(_0x51043c){return _0x51043c['map'](_0x34bec2=>String['fromCharCode'](_0x34bec2))['join']('');}_0x35953b(await _0x195e47());}(this);}}class g extends _0x36af60{['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 _0x26e8be=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x290d9b;for(const _0x24f427 in _0x26e8be){const _0x1e520b=_0x24f427,_0x13f155=_0x26e8be[_0x1e520b];if('exportInlineStylesLicenseKeyValid'==_0x13f155||'exportInlineStylesLicenseKeyInvalid'==_0x13f155||'exportInlineStylesLicenseKeyExpired'==_0x13f155||'exportInlineStylesLicenseKeyDomainLimit'==_0x13f155||'exportInlineStylesLicenseKeyNotAllowed'==_0x13f155||'exportInlineStylesLicenseKeyEvaluationLimit'==_0x13f155||'exportInlineStylesLicenseKeyUsageLimit'==_0x13f155){delete _0x26e8be[_0x1e520b],_0x290d9b=_0x13f155,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'exportInlineStylesLicenseKeyInvalid'==_0x290d9b&&_0x26e8be['_showLicenseError']('invalid'),'exportInlineStylesLicenseKeyExpired'==_0x290d9b&&_0x26e8be['_showLicenseError']('expired'),'exportInlineStylesLicenseKeyDomainLimit'==_0x290d9b&&_0x26e8be['_showLicenseError']('domainLimit'),'exportInlineStylesLicenseKeyNotAllowed'==_0x290d9b&&_0x26e8be['_showLicenseError']('featureNotAllowed','ExportInlineStyles'),'exportInlineStylesLicenseKeyEvaluationLimit'==_0x290d9b&&_0x26e8be['_showLicenseError']('evaluationLimit'),'exportInlineStylesLicenseKeyUsageLimit'==_0x290d9b&&_0x26e8be['_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 _0x319a08,Plugin as _0x14b00b}from'@ckeditor/ckeditor5-core/dist/index.js';import{collectStylesheets as _0x58a391,createElement as _0x3858dc,uid as _0x322726}from'@ckeditor/ckeditor5-utils/dist/index.js';import{StylesMap as _0x934e66,addMarginStylesRules as _0x2a4ba9,addPaddingStylesRules as _0x4896f7}from'@ckeditor/ckeditor5-engine/dist/index.js';import{calculate as _0x44f600,compare as _0x1c5baf}from'specificity';function f(_0x4635d3){const _0x1d7cac=[];let _0x4deb9e='',_0x4e3114=0x0;for(;_0x4e3114<_0x4635d3['length'];){const _0x3931f8=_0x4635d3[_0x4e3114];if('('===_0x3931f8){const _0x1464e5=y(_0x4635d3,_0x4e3114+0x1);if(-0x1===_0x1464e5)return[];_0x4deb9e+=_0x4635d3['slice'](_0x4e3114,_0x1464e5+0x1),_0x4e3114=_0x1464e5+0x1;}else','!==_0x3931f8||_0x4deb9e['endsWith']('\x5c')?(_0x4deb9e+=_0x3931f8,_0x4e3114++):(_0x1d7cac['push'](_0x4deb9e['trim']()),_0x4deb9e='',_0x4e3114++);}return _0x4deb9e['trim']()&&_0x1d7cac['push'](_0x4deb9e['trim']()),_0x1d7cac['filter'](Boolean);}function y(_0x367af7,_0x218658){let _0x238d54=0x1;for(let _0x4d2881=_0x218658;_0x4d2881<_0x367af7['length'];_0x4d2881++){const _0x247106=_0x367af7[_0x4d2881];if('('===_0x247106)_0x238d54++;else{if(')'===_0x247106&&(_0x238d54--,0x0===_0x238d54))return _0x4d2881;}}return-0x1;}function w(_0x1d3635){return _0x1d3635['replace'](/!\s*important/i,'')['trim']();}function d(_0x38a8e7,_0x33336e){const _0x590c2c=new Map(),_0x5738e8=_0x464b7d=>_0x590c2c['has'](_0x464b7d)?_0x590c2c['get'](_0x464b7d):_0x38a8e7(_0x464b7d);for(const [_0x1117fe,_0x25547c]of _0x33336e['getStylesEntries']())if(_0x25547c&&_0x1117fe['startsWith']('--')){const _0x35e46a=p(_0x5738e8,_0x25547c);_0x590c2c['set'](_0x1117fe,_0x35e46a),_0x33336e['remove'](_0x1117fe);}for(const [_0x20f052,_0x248eab]of _0x33336e['getStylesEntries']())if(_0x248eab){const _0x51ec45=p(_0x5738e8,_0x248eab);_0x33336e['set'](_0x20f052,_0x51ec45);}return _0x590c2c;}function p(_0x128c82,_0x4d2668){return function(_0x37f4f1,_0x408b54){let _0x12414a='',_0x1499f7=0x0;for(;_0x1499f7<_0x37f4f1['length'];){const _0x3acbd9=_0x37f4f1['indexOf']('var(',_0x1499f7);if(-0x1===_0x3acbd9){_0x12414a+=_0x37f4f1['slice'](_0x1499f7);break;}_0x12414a+=_0x37f4f1['slice'](_0x1499f7,_0x3acbd9);const _0x21a95d=_0x3acbd9+0x4,_0x172c90=y(_0x37f4f1,_0x21a95d);_0x12414a+=_0x408b54(_0x37f4f1['substring'](_0x21a95d,_0x172c90)),_0x1499f7=_0x172c90+0x1;}return _0x12414a;}(_0x4d2668,_0x19c146=>{const [_0x320f8f,_0x380043]=f(_0x19c146),_0x2cfc8b=_0x128c82(_0x320f8f);return void 0x0!==_0x2cfc8b?_0x2cfc8b:_0x380043?p(_0x128c82,_0x380043):'var('+_0x320f8f+')';});}async function m(_0x3e2c7f){const _0xe2cbf7=[await _0x58a391(_0x3e2c7f['stylesheets']),_0x3e2c7f['inlineCss']]['filter'](_0x534f41=>_0x534f41&&_0x534f41['length'])['join']('\x0a'),_0x22ede2=await async function(_0x217324,_0x16d6b1){const _0x495ec5=new CSSStyleSheet();return await _0x495ec5['replace'](_0x16d6b1),h(Array['from'](_0x495ec5['cssRules'])['filter'](_0x5c76a1=>_0x5c76a1 instanceof CSSStyleRule))['flatMap'](({selectorText:_0x25e81c,contentCssText:_0x2d9991})=>{const _0x443c8f=f(_0x25e81c),_0x2521c9=new _0x934e66(_0x217324)['setTo'](_0x2d9991);return _0x443c8f['map'](_0x121b93=>{const _0x15f7ce=function(_0x44a54d){const _0x536645=':where(';let _0x3afd77=_0x44a54d,_0xe4e051=0x0;for(let _0x61e262=0x0;_0x61e262<0x64;_0x61e262++){const _0x44cb24=_0x3afd77['indexOf'](_0x536645,_0xe4e051);if(-0x1===_0x44cb24)break;let _0x143669=0x0;for(let _0x6ede4a=0x0;_0x6ede4a<_0x44cb24;_0x6ede4a++)'('===_0x3afd77[_0x6ede4a]?_0x143669++:')'===_0x3afd77[_0x6ede4a]&&_0x143669--;if(_0x143669>0x0){_0xe4e051=_0x44cb24+_0x536645['length'];continue;}let _0x10924b=-0x1;for(let _0x1ec03e=_0x44cb24+_0x536645['length'],_0x368c2b=0x1;_0x1ec03e<_0x3afd77['length'];_0x1ec03e++)if('('===_0x3afd77[_0x1ec03e]?_0x368c2b++:')'===_0x3afd77[_0x1ec03e]&&_0x368c2b--,!_0x368c2b){_0x10924b=_0x1ec03e;break;}-0x1!==_0x10924b?(_0x3afd77=_0x3afd77['slice'](0x0,_0x44cb24)+_0x3afd77['slice'](_0x10924b+0x1),_0xe4e051=_0x44cb24):_0xe4e051=_0x44cb24+_0x536645['length'];}return _0x3afd77['replace'](/\s+/g,'\x20')['trim']();}(_0x121b93),_0x98d32d=_0x15f7ce?_0x44f600(_0x15f7ce)[0x0]['specificityArray']:[0x0,0x0,0x0,0x0];return{'stylesMap':_0x2521c9,'flatSelector':_0x121b93,'specificity':_0x98d32d};});})['sort']((_0x370fcd,_0xbc2fac)=>_0x1c5baf(_0x370fcd['specificity'],_0xbc2fac['specificity']));}(_0x3e2c7f['stylesProcessor'],_0xe2cbf7);return{'parsedCssRules':_0x22ede2,'rootCssVariables':function(_0x345d68){const _0x11bf65=new Map();for(const {stylesMap:_0x1f4795,flatSelector:_0x5707b}of _0x345d68){if(':root'!==_0x5707b)continue;const _0x4d546d=d(_0x11bf65['get']['bind'](_0x11bf65),_0x1f4795);for(const [_0x136306,_0x41d048]of _0x4d546d)_0x11bf65['set'](_0x136306,_0x41d048);}return _0x11bf65;}(_0x22ede2)};}function h(_0x207011,_0x33f966=''){return _0x207011['flatMap'](_0x1392da=>{const {selectorText:_0x56123f,cssText:_0x478b87,cssRules:_0x203699}=_0x1392da;if(!_0x56123f)return[];const _0x426afa=_0x56123f['replace'](/&/g,_0x33f966);let _0x431bcd=_0x478b87['replace'](_0x56123f,'')['trim']()['replace'](/^{|}$/g,'');if(!_0x203699||!_0x203699['length'])return[{'selectorText':_0x426afa,'contentCssText':_0x431bcd}];for(const _0x5648bb of _0x203699)_0x431bcd=_0x431bcd['replace'](_0x5648bb['cssText'],'')['trim']();return[{'selectorText':_0x426afa,'contentCssText':_0x431bcd},...h(Array['from'](_0x203699),_0x426afa)];});}function S(_0x3dc66,_0x4ee84b){const _0x54afad=new _0x934e66(_0x3dc66);for(const _0x49eebe of _0x4ee84b){let _0x486322=null;if(_0x486322='string'==typeof _0x49eebe?new _0x934e66(_0x3dc66)['setTo'](_0x49eebe):_0x49eebe,_0x486322){for(const [_0x22c651,_0x587696]of _0x486322['getStylesEntries']())_0x54afad['set'](_0x22c651,_0x587696);}}return _0x54afad;}class x extends _0x319a08{['_stylesProcessor'];constructor(_0x7d179f){super(_0x7d179f),this['set']('isBusy',!0x1),this['_stylesProcessor']=this['editor']['data']['stylesProcessor'],_0x2a4ba9(this['_stylesProcessor']),_0x4896f7(this['_stylesProcessor']),this['affectsData']=!0x1;}['refresh'](){this['isEnabled']=!this['isBusy'],this['value']=this['isBusy']?'pending':void 0x0;}async['execute'](_0x5ee6a8){const _0x17e0c3=this['editor']['config']['get']('exportInlineStyles'),{contentLanguageDirection:_0x4df1db}=this['editor']['locale'],{rootName:_0x501e4e='main',dataControllerDowncastOptions:_0x5c754e={},transformations:_0x267d54=_0x17e0c3['transformations']||[]}=_0x5ee6a8||{};this['isBusy']=!0x0,this['refresh']();const _0x284731=this['_getRootDataHTMLFragment'](_0x501e4e,_0x5c754e),_0x6ed4f8=_0x3858dc(_0x284731['ownerDocument'],'div',{'dir':_0x4df1db,'class':'ck-content'},[_0x284731]);return this['_collectAndApplyStyles'](_0x267d54,_0x6ed4f8)['then'](()=>{const _0x3d0e8d=function(_0x4d89fb){const _0x18496f=_0x4d89fb['ownerDocument']['createDocumentFragment']();for(;_0x4d89fb['firstChild'];)_0x18496f['appendChild'](_0x4d89fb['firstChild']);return _0x18496f;}(_0x6ed4f8),_0x304954=_0x6ed4f8['getAttribute']('style');if(_0x304954)for(const _0x46bfc5 of _0x3d0e8d['children']){const _0x543f9b=_0x46bfc5['getAttribute']('style'),_0x2aa44e=S(this['_stylesProcessor'],[_0x304954,_0x543f9b]);_0x46bfc5['setAttribute']('style',C(_0x2aa44e));}return this['editor']['data']['htmlProcessor']['htmlWriter']['getHtml'](_0x3d0e8d);})['finally'](()=>{this['isBusy']=!0x1,this['refresh']();});}['_getRootDataHTMLFragment'](_0x4feb93,_0x478ed1){const {data:_0x5967ea,model:_0x33237e}=this['editor'],_0xd44b3f=_0x33237e['document']['getRoot'](_0x4feb93),_0x56897b=_0x5967ea['toView'](_0xd44b3f,_0x478ed1);return _0x5967ea['htmlProcessor']['domConverter']['viewToDom'](_0x56897b);}async['_collectAndApplyStyles'](_0x5be5bc,_0x1c4e33){const {stylesheets:_0x4076b9,inlineCss:_0xb63246,stripCssClasses:_0x40c219}=this['editor']['config']['get']('exportInlineStyles'),{parsedCssRules:_0x4bbea3,rootCssVariables:_0x2b7006}=await m({'stylesheets':_0x4076b9||['EDITOR_STYLES'],'stylesProcessor':this['_stylesProcessor'],'inlineCss':_0xb63246}),_0x5b06b5=[];this['_processElementTree']({'transformations':_0x5be5bc,'parsedCssRules':_0x4bbea3,'element':_0x1c4e33,'stripCssClasses':_0x40c219,'parentCSSVariablesLookup':_0x2b7006['get']['bind'](_0x2b7006),'runAfterDocumentTransformation':_0x4dfe36=>{_0x5b06b5['unshift'](_0x4dfe36);}});for(const _0x1c2bdd of _0x5b06b5)_0x1c2bdd();}['_processElementTree']({element:_0x3b6fdd,parsedCssRules:_0x2fa6ec,parentCSSVariablesLookup:_0x4821a7,runAfterDocumentTransformation:_0x469f6f,stripCssClasses:_0x29c008,transformations:_0x4c5e4c}){const {stylesMap:_0x2fe95d,localCSSVariables:_0x319812}=function(_0x2d4383){const _0x5dd5d9=_0x2d4383['element']['getAttribute']('style')||'',_0x9b16d=_0x2d4383['parsedCssRules']['filter'](_0x1facfa=>_0x2d4383['element']['matches'](_0x1facfa['flatSelector']))['map'](_0x18104d=>_0x18104d['stylesMap']),_0x132e19=S(_0x2d4383['stylesProcessor'],[..._0x9b16d,_0x5dd5d9]);return{'localCSSVariables':d(_0x2d4383['fallbackCSSVariablesLookup'],_0x132e19),'stylesMap':_0x132e19};}({'stylesProcessor':this['_stylesProcessor'],'fallbackCSSVariablesLookup':_0x4821a7,'parsedCssRules':_0x2fa6ec,'element':_0x3b6fdd}),_0x214fce=[];for(const _0x176ecc of _0x4c5e4c){const _0x5bc467=_0x176ecc(_0x3b6fdd,_0x2fe95d,{'runAfterDocumentTransformation':_0x469f6f,'runAfterChildrenTransformation':_0x41928e=>{_0x214fce['unshift'](_0x41928e);}});_0x5bc467&&_0x5bc467 instanceof HTMLElement&&(_0x3b6fdd=_0x5bc467);}_0x2fe95d['size']?_0x3b6fdd['setAttribute']('style',C(_0x2fe95d)):_0x3b6fdd['removeAttribute']('style');const _0x55370a=_0x101251=>_0x319812['has'](_0x101251)?_0x319812['get'](_0x101251):_0x4821a7(_0x101251);for(const _0x4fb0a6 of _0x3b6fdd['children'])_0x4fb0a6 instanceof HTMLElement&&this['_processElementTree']({'element':_0x4fb0a6,'parsedCssRules':_0x2fa6ec,'stripCssClasses':_0x29c008,'transformations':_0x4c5e4c,'parentCSSVariablesLookup':_0x55370a,'runAfterDocumentTransformation':_0x469f6f});_0x29c008&&_0x3b6fdd['removeAttribute']('class');for(const _0x4b4496 of _0x214fce)_0x4b4496();}}function C(_0x162d7c){return _0x162d7c['getStylesEntries']()['map'](_0x548b03=>_0x548b03['join'](':'))['join'](';')+';';}class L extends _0x14b00b{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(_0x3fbcd0){const _0x338707=_0x12c422([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]),_0x223340=0x6f40c3fb,_0x1471bd=0x6f474a83^_0x223340,_0x5362b1=window[_0x12c422([0x44,0x61,0x74,0x65])][_0x12c422([0x6e,0x6f,0x77])](),_0x4037de=_0x3fbcd0[_0x12c422([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x133e59=new window[(_0x12c422([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x415868=>{_0x4037de[_0x12c422([0x6f,0x6e,0x63,0x65])](_0x12c422([0x72,0x65,0x61,0x64,0x79]),_0x415868);}),_0x213d33={[_0x12c422([0x6b,0x74,0x79])]:_0x12c422([0x45,0x43]),[_0x12c422([0x75,0x73,0x65])]:_0x12c422([0x73,0x69,0x67]),[_0x12c422([0x63,0x72,0x76])]:_0x12c422([0x50,0x2d,0x32,0x35,0x36]),[_0x12c422([0x78])]:_0x12c422([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]),[_0x12c422([0x79])]:_0x12c422([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]),[_0x12c422([0x61,0x6c,0x67])]:_0x12c422([0x45,0x53,0x32,0x35,0x36])},_0x290aa2=_0x4037de[_0x12c422([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x12c422([0x67,0x65,0x74])](_0x12c422([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2a1d9d(){let _0x2742d4,_0x370609=null,_0x5b9ad1=null;try{if(_0x290aa2==_0x12c422([0x47,0x50,0x4c]))return _0x12c422([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2742d4=_0x37757e(),!_0x2742d4)return _0x12c422([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2742d4[_0x12c422([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5b9ad1=_0x47b783(_0x2742d4[_0x12c422([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2742d4[_0x12c422([0x6a,0x74,0x69])])),await _0xb6b872()?_0x464b1a()?_0x179fd9()?_0x12c422([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5935b4()?(_0x2742d4[_0x12c422([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x12c422([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x370609=_0x4c495f(_0x12c422([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x32c3bb()):_0x12c422([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x12c422([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x12c422([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x12c422([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x179fd9(){const _0x40c1b9=[_0x12c422([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x12c422([0x74,0x72,0x69,0x61,0x6c])][_0x12c422([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2742d4[_0x12c422([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5362b1/0x3e8:0xe10*_0x1471bd;return _0x2742d4[_0x12c422([0x65,0x78,0x70])]<_0x40c1b9;}function _0x464b1a(){const _0x2ffd6f=_0x2742d4[_0x12c422([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2ffd6f&&(!!_0x2ffd6f[_0x12c422([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x12c422([0x2a]))||!!_0x2ffd6f[_0x12c422([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x12c422([0x45,0x49,0x53])));}function _0x5935b4(){const _0x28f309=_0x2742d4[_0x12c422([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x28f309||0x0==_0x28f309[_0x12c422([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xc4c38d}=new URL(window[_0x12c422([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x28f309[_0x12c422([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xc4c38d))return!0x0;const _0x2be80e=_0xc4c38d[_0x12c422([0x73,0x70,0x6c,0x69,0x74])](_0x12c422([0x2e]));return _0x28f309[_0x12c422([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x431db9=>_0x431db9[_0x12c422([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x12c422([0x2a])))[_0x12c422([0x6d,0x61,0x70])](_0x556bf4=>_0x556bf4[_0x12c422([0x73,0x70,0x6c,0x69,0x74])](_0x12c422([0x2e])))[_0x12c422([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x171cab=>_0x171cab[_0x12c422([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2be80e[_0x12c422([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x12c422([0x6d,0x61,0x70])](_0xbce3a1=>Array(_0x2be80e[_0x12c422([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xbce3a1[_0x12c422([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x12c422([0x66,0x69,0x6c,0x6c])](_0xbce3a1[0x0]===_0x12c422([0x2a])?_0x12c422([0x2a]):'')[_0x12c422([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xbce3a1))[_0x12c422([0x73,0x6f,0x6d,0x65])](_0xd9b0d2=>_0x2be80e[_0x12c422([0x65,0x76,0x65,0x72,0x79])]((_0xde2662,_0x24a208)=>_0xd9b0d2[_0x24a208]===_0xde2662||_0xd9b0d2[_0x24a208]===_0x12c422([0x2a])));}function _0x32c3bb(){return _0x370609&&_0x5b9ad1?new window[(_0x12c422([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x33057b,_0x48f1fa)=>{_0x370609[_0x12c422([0x74,0x68,0x65,0x6e])](_0x33057b,_0x48f1fa),_0x5b9ad1[_0x12c422([0x74,0x68,0x65,0x6e])](_0x3275ff=>{_0x3275ff!=_0x12c422([0x56,0x61,0x6c,0x69,0x64])&&_0x33057b(_0x3275ff);},_0x48f1fa);}):_0x370609||_0x5b9ad1||_0x12c422([0x56,0x61,0x6c,0x69,0x64]);}}function _0x47b783(_0x55f68f,_0x1929c4){return new window[(_0x12c422([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x47e37e=>{if(_0x5b4320())return _0x47e37e(_0x12c422([0x56,0x61,0x6c,0x69,0x64]));_0x235cc2(),_0x4037de[_0x12c422([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x12c422([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3cbdc8=!0x1;const _0x3c9a47=_0x322726();function _0x466fc8(_0x2cfad0){return!!_0x2cfad0&&(typeof _0x2cfad0===_0x12c422([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2cfad0===_0x12c422([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2cfad0[_0x12c422([0x74,0x68,0x65,0x6e])]===_0x12c422([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2cfad0[_0x12c422([0x63,0x61,0x74,0x63,0x68])]===_0x12c422([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x43af6e(_0x4bf4e0){_0x16f2eb(_0x4bf4e0)[_0x12c422([0x74,0x68,0x65,0x6e])](_0x15a233=>{if(!_0x15a233||_0x15a233[_0x12c422([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x12c422([0x6f,0x6b]))return _0x12c422([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x359016(_0x5da9e8(_0x3c9a47+_0x1929c4))!=_0x15a233[_0x12c422([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x12c422([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x12c422([0x56,0x61,0x6c,0x69,0x64]);})[_0x12c422([0x74,0x68,0x65,0x6e])](_0x52871b=>(_0x875ab8(),_0x52871b),()=>{const _0x2e58ea=_0x2570cc();return null==_0x2e58ea?(_0x875ab8(),_0x12c422([0x56,0x61,0x6c,0x69,0x64])):_0x12c422(_0x5362b1-_0x2e58ea>(0x4b4c47fb^_0x223340)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x12c422([0x74,0x68,0x65,0x6e])](_0x47e37e)[_0x12c422([0x63,0x61,0x74,0x63,0x68])](()=>{_0x47e37e(_0x12c422([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x40a3d8=0x6f762d7b^_0x223340;function _0x875ab8(){const _0x55b572=_0x12c422([0x6c,0x6c,0x63,0x74,0x2d])+_0x359016(_0x5da9e8(_0x55f68f)),_0x3a8053=_0x1eaa0d(_0x359016(window[_0x12c422([0x4d,0x61,0x74,0x68])][_0x12c422([0x63,0x65,0x69,0x6c])](_0x5362b1/_0x40a3d8)));window[_0x12c422([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x12c422([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x55b572,_0x3a8053);}function _0x2570cc(){const _0x309e5f=_0x12c422([0x6c,0x6c,0x63,0x74,0x2d])+_0x359016(_0x5da9e8(_0x55f68f)),_0x3af171=window[_0x12c422([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x12c422([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x309e5f);return _0x3af171?window[_0x12c422([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1eaa0d(_0x3af171),0x10)*_0x40a3d8:null;}function _0x16f2eb(_0x3d96be){return new window[(_0x12c422([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x336ee2,_0x5baebe)=>{_0x3d96be[_0x12c422([0x74,0x68,0x65,0x6e])](_0x336ee2,_0x5baebe),window[_0x12c422([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5baebe,0x6f41173b^_0x223340);});}}_0x4037de[_0x12c422([0x6f,0x6e])](_0x12c422([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3340ad,_0x3f0abc)=>{if(_0x3f0abc[0x0]!=_0x55f68f)return _0x47e37e(_0x12c422([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3f0abc[0x1]={..._0x3f0abc[0x1],[_0x12c422([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3c9a47};},{[_0x12c422([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x12c422([0x68,0x69,0x67,0x68])}),_0x4037de[_0x12c422([0x6f,0x6e])](_0x12c422([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x47ee93=>{_0x466fc8(_0x47ee93[_0x12c422([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3cbdc8=!0x0,_0x43af6e(_0x47ee93[_0x12c422([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x12c422([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x12c422([0x6c,0x6f,0x77])}),_0x133e59[_0x12c422([0x74,0x68,0x65,0x6e])](()=>{_0x3cbdc8||_0x47e37e(_0x12c422([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5b4320(){return _0x4037de[_0x12c422([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x12c422([0x76,0x69,0x65,0x77])][_0x12c422([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x12c422([0x61,0x75,0x74,0x6f]);}function _0x235cc2(){_0x4037de[_0x12c422([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x12c422([0x76,0x69,0x65,0x77])][_0x12c422([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x12c422([0x61,0x75,0x74,0x6f]);}}function _0x4c495f(_0x4d3f31){const _0x52be99=[new window[(_0x12c422([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3a2db8=>setTimeout(_0x3a2db8,0x6f49fd37^_0x223340)),_0x133e59[_0x12c422([0x74,0x68,0x65,0x6e])](()=>new window[(_0x12c422([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x19c062=>{let _0x38d151=0x0;_0x4037de[_0x12c422([0x6d,0x6f,0x64,0x65,0x6c])][_0x12c422([0x6f,0x6e])](_0x12c422([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x14ab59,_0x35d64c)=>{_0x35d64c[0x0][_0x12c422([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x38d151++,_0x38d151==(0x6f40c613^_0x223340)&&(_0x19c062(),_0x14ab59[_0x12c422([0x6f,0x66,0x66])]());});}))];return window[_0x12c422([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x12c422([0x72,0x61,0x63,0x65])](_0x52be99)[_0x12c422([0x74,0x68,0x65,0x6e])](()=>_0x4d3f31);}async function _0x14721a(){await _0x133e59;const _0x186f97=_0x4037de['commands'][_0x12c422([0x67,0x65,0x74])](_0x12c422([0x65,0x78,0x70,0x6f,0x72,0x74,0x49,0x6e,0x6c,0x69,0x6e,0x65,0x53,0x74,0x79,0x6c,0x65,0x73]));_0x186f97&&_0x186f97[_0x12c422([0x6f,0x6e])](_0x12c422([0x65,0x78,0x65,0x63,0x75,0x74,0x65]),_0x4f56ce=>{_0x4f56ce['stop']();},{'priority':_0x12c422([0x68,0x69,0x67,0x68,0x65,0x73,0x74])}),_0x4037de[_0x12c422([0x6d,0x6f,0x64,0x65,0x6c])][_0x12c422([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xa0e030,_0x4037de[_0x12c422([0x6d,0x6f,0x64,0x65,0x6c])][_0x12c422([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xa0e030,_0x4037de[_0x12c422([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x12c422([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2f9994(_0x5ac89e){const _0x497551=_0x5733e6();_0x4037de[_0x497551]=_0x12c422([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])+_0x5ac89e,_0x5ac89e!=_0x12c422([0x56,0x61,0x6c,0x69,0x64])&&_0x14721a();}function _0x5733e6(){const _0xe66c33=window[_0x12c422([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x12c422([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x12c422([0x6e,0x6f,0x77])]())[_0x12c422([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x12c422([0x2e]),'');let _0x44cb1b=_0x12c422([0x44]);for(let _0x3c6b1a=0x0;_0x3c6b1a<_0xe66c33[_0x12c422([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3c6b1a+=0x2){let _0x51d6a9=window[_0x12c422([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xe66c33[_0x12c422([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3c6b1a,_0x3c6b1a+0x2));_0x51d6a9>=_0x338707[_0x12c422([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x51d6a9-=_0x338707[_0x12c422([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x44cb1b+=_0x338707[_0x51d6a9];}return _0x44cb1b;}function _0x37757e(){const _0x3df401=_0x290aa2[_0x12c422([0x73,0x70,0x6c,0x69,0x74])](_0x12c422([0x2e]));if(0x3!=_0x3df401[_0x12c422([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4f934f(_0x3df401[0x1]);function _0x4f934f(_0x55a0ef){const _0x4f1064=_0x11ad7a(_0x55a0ef);return _0x4f1064&&_0x1d7c3b()?_0x4f1064:null;function _0x1d7c3b(){const _0x35e401=_0x4f1064[_0x12c422([0x6a,0x74,0x69])],_0x3f107f=window[_0x12c422([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x35e401[_0x12c422([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x35e401[_0x12c422([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x59972d={..._0x4f1064,[_0x12c422([0x6a,0x74,0x69])]:_0x35e401[_0x12c422([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x35e401[_0x12c422([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x59972d[_0x12c422([0x76,0x63])],_0x5da9e8(_0x59972d)==_0x3f107f;}}}async function _0xb6b872(){let _0x4e997b=!0x0;try{const _0xab900d=_0x290aa2[_0x12c422([0x73,0x70,0x6c,0x69,0x74])](_0x12c422([0x2e])),[_0x2dd404,_0x24090a,_0x2e95de]=_0xab900d;return _0x50e1ac(_0x2dd404),await _0x29f566(_0x2dd404,_0x24090a,_0x2e95de),_0x4e997b;}catch{return!0x1;}function _0x50e1ac(_0x4236fd){const _0xe3ba43=_0x11ad7a(_0x4236fd);_0xe3ba43&&_0xe3ba43[_0x12c422([0x61,0x6c,0x67])]==_0x12c422([0x45,0x53,0x32,0x35,0x36])||(_0x4e997b=!0x1);}async function _0x29f566(_0x1e7428,_0x5b2521,_0x3786de){const _0x229e95=window[_0x12c422([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x12c422([0x66,0x72,0x6f,0x6d])](_0x5a9a82(_0x3786de),_0x58b983=>_0x58b983[_0x12c422([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2d10a5=new window[(_0x12c422([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x12c422([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1e7428+_0x12c422([0x2e])+_0x5b2521),_0x1f0468=window[_0x12c422([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x12c422([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1f0468)return;const _0x779a3a=await _0x1f0468[_0x12c422([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x12c422([0x6a,0x77,0x6b]),_0x213d33,{[_0x12c422([0x6e,0x61,0x6d,0x65])]:_0x12c422([0x45,0x43,0x44,0x53,0x41]),[_0x12c422([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x12c422([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x12c422([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1f0468[_0x12c422([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x12c422([0x6e,0x61,0x6d,0x65])]:_0x12c422([0x45,0x43,0x44,0x53,0x41]),[_0x12c422([0x68,0x61,0x73,0x68])]:{[_0x12c422([0x6e,0x61,0x6d,0x65])]:_0x12c422([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x779a3a,_0x229e95,_0x2d10a5)||(_0x4e997b=!0x1);}}function _0x11ad7a(_0x24e043){return _0x24e043[_0x12c422([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x12c422([0x65,0x79]))?JSON[_0x12c422([0x70,0x61,0x72,0x73,0x65])](_0x5a9a82(_0x24e043)):null;}function _0x5a9a82(_0x5f0a8f){return window[_0x12c422([0x61,0x74,0x6f,0x62])](_0x5f0a8f[_0x12c422([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x12c422([0x2b]))[_0x12c422([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x12c422([0x2f])));}function _0x5da9e8(_0x15f028){let _0x4acda4=0x1505;function _0x1a84b7(_0x541330){for(let _0x15ea7a=0x0;_0x15ea7a<_0x541330[_0x12c422([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x15ea7a++){const _0x3e4b55=_0x541330[_0x12c422([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x15ea7a);_0x4acda4=(_0x4acda4<<0x5)+_0x4acda4+_0x3e4b55,_0x4acda4&=_0x4acda4;}}function _0x4aca3f(_0x5776a0){Array[_0x12c422([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5776a0)?_0x5776a0[_0x12c422([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4aca3f):_0x5776a0&&typeof _0x5776a0==_0x12c422([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x12c422([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5776a0)[_0x12c422([0x73,0x6f,0x72,0x74])]()[_0x12c422([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5c773a,_0x5c61d4])=>{_0x1a84b7(_0x5c773a),_0x4aca3f(_0x5c61d4);}):_0x1a84b7(window[_0x12c422([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5776a0));}return _0x4aca3f(_0x15f028),_0x4acda4>>>0x0;}function _0x359016(_0x24c1d4){return _0x24c1d4[_0x12c422([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x12c422([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x12c422([0x30]));}function _0x1eaa0d(_0x304415){return _0x304415[_0x12c422([0x73,0x70,0x6c,0x69,0x74])]('')[_0x12c422([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x12c422([0x6a,0x6f,0x69,0x6e])]('');}function _0xa0e030(){}function _0x12c422(_0x5b207d){return _0x5b207d['map'](_0x12b6d5=>String['fromCharCode'](_0x12b6d5))['join']('');}_0x2f9994(await _0x2a1d9d());}(this);}}class g extends _0x14b00b{['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 _0x2159d9=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0xb1e6d6;for(const _0x42ebff in _0x2159d9){const _0x342b30=_0x42ebff,_0x12b763=_0x2159d9[_0x342b30];if('exportInlineStylesLicenseKeyValid'==_0x12b763||'exportInlineStylesLicenseKeyInvalid'==_0x12b763||'exportInlineStylesLicenseKeyExpired'==_0x12b763||'exportInlineStylesLicenseKeyDomainLimit'==_0x12b763||'exportInlineStylesLicenseKeyNotAllowed'==_0x12b763||'exportInlineStylesLicenseKeyEvaluationLimit'==_0x12b763||'exportInlineStylesLicenseKeyUsageLimit'==_0x12b763){delete _0x2159d9[_0x342b30],_0xb1e6d6=_0x12b763,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'exportInlineStylesLicenseKeyInvalid'==_0xb1e6d6&&_0x2159d9['_showLicenseError']('invalid'),'exportInlineStylesLicenseKeyExpired'==_0xb1e6d6&&_0x2159d9['_showLicenseError']('expired'),'exportInlineStylesLicenseKeyDomainLimit'==_0xb1e6d6&&_0x2159d9['_showLicenseError']('domainLimit'),'exportInlineStylesLicenseKeyNotAllowed'==_0xb1e6d6&&_0x2159d9['_showLicenseError']('featureNotAllowed','ExportInlineStyles'),'exportInlineStylesLicenseKeyEvaluationLimit'==_0xb1e6d6&&_0x2159d9['_showLicenseError']('evaluationLimit'),'exportInlineStylesLicenseKeyUsageLimit'==_0xb1e6d6&&_0x2159d9['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}export{g as ExportInlineStyles,x as ExportInlineStylesCommand,L as ExportInlineStylesEditing,w as dropImportantStyleSuffix};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-export-inline-styles",
3
- "version": "48.1.0-alpha.0",
3
+ "version": "48.1.0-alpha.2",
4
4
  "description": "The export with inline styles feature for CKEditor 5.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "CKSource (http://cksource.com/)",
@@ -34,9 +34,9 @@
34
34
  "./package.json": "./package.json"
35
35
  },
36
36
  "dependencies": {
37
- "@ckeditor/ckeditor5-core": "48.1.0-alpha.0",
38
- "@ckeditor/ckeditor5-engine": "48.1.0-alpha.0",
39
- "@ckeditor/ckeditor5-utils": "48.1.0-alpha.0",
37
+ "@ckeditor/ckeditor5-core": "48.1.0-alpha.2",
38
+ "@ckeditor/ckeditor5-engine": "48.1.0-alpha.2",
39
+ "@ckeditor/ckeditor5-utils": "48.1.0-alpha.2",
40
40
  "specificity": "0.4.1"
41
41
  },
42
42
  "files": [