@ckeditor/ckeditor5-export-inline-styles 48.0.0-alpha.7 → 48.0.0-alpha.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +4 -4
package/dist/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Command as _0x2d41ba,Plugin as _0xe43ccc}from'@ckeditor/ckeditor5-core/dist/index.js';import{collectStylesheets as _0x2eccd9,createElement as _0xd8e549,uid as _0x359a2d}from'@ckeditor/ckeditor5-utils/dist/index.js';import{calculate as _0x13ceb0,compare as _0x297589}from'specificity';import{StylesMap as _0x44ce24,addMarginStylesRules as _0x3f4e3d,addPaddingStylesRules as _0x506b75}from'@ckeditor/ckeditor5-engine/dist/index.js';function f(_0x59f893){const _0x21edae=[];let _0x291b51='',_0x57881a=0x0;for(;_0x57881a<_0x59f893['length'];){const _0x2638a5=_0x59f893[_0x57881a];if('('===_0x2638a5){const _0x41d190=y(_0x59f893,_0x57881a+0x1);if(-0x1===_0x41d190)return[];_0x291b51+=_0x59f893['slice'](_0x57881a,_0x41d190+0x1),_0x57881a=_0x41d190+0x1;}else','!==_0x2638a5||_0x291b51['endsWith']('\x5c')?(_0x291b51+=_0x2638a5,_0x57881a++):(_0x21edae['push'](_0x291b51['trim']()),_0x291b51='',_0x57881a++);}return _0x291b51['trim']()&&_0x21edae['push'](_0x291b51['trim']()),_0x21edae['filter'](Boolean);}function y(_0x46d9a3,_0xad7624){let _0x4fa050=0x1;for(let _0x1373d3=_0xad7624;_0x1373d3<_0x46d9a3['length'];_0x1373d3++){const _0x4b967e=_0x46d9a3[_0x1373d3];if('('===_0x4b967e)_0x4fa050++;else{if(')'===_0x4b967e&&(_0x4fa050--,0x0===_0x4fa050))return _0x1373d3;}}return-0x1;}function w(_0xeec34a){return _0xeec34a['replace'](/!\s*important/i,'')['trim']();}function p(_0xf3dae2,_0x2d9175){const _0x3e9228=new Map(),_0x44f265=_0x598ad0=>_0x3e9228['has'](_0x598ad0)?_0x3e9228['get'](_0x598ad0):_0xf3dae2(_0x598ad0);for(const [_0x24eb50,_0x934ba7]of _0x2d9175['getStylesEntries']())if(_0x934ba7&&_0x24eb50['startsWith']('--')){const _0x56cdc8=d(_0x44f265,_0x934ba7);_0x3e9228['set'](_0x24eb50,_0x56cdc8),_0x2d9175['remove'](_0x24eb50);}for(const [_0x1aad8d,_0x5ff035]of _0x2d9175['getStylesEntries']())if(_0x5ff035){const _0x37d05a=d(_0x44f265,_0x5ff035);_0x2d9175['set'](_0x1aad8d,_0x37d05a);}return _0x3e9228;}function d(_0x5adec0,_0x2a4d81){return function(_0x5d4a97,_0x30d0af){let _0x4b9e57='',_0x3e06ca=0x0;for(;_0x3e06ca<_0x5d4a97['length'];){const _0x53e8e3=_0x5d4a97['indexOf']('var(',_0x3e06ca);if(-0x1===_0x53e8e3){_0x4b9e57+=_0x5d4a97['slice'](_0x3e06ca);break;}_0x4b9e57+=_0x5d4a97['slice'](_0x3e06ca,_0x53e8e3);const _0x24d026=_0x53e8e3+0x4,_0x2cb109=y(_0x5d4a97,_0x24d026);_0x4b9e57+=_0x30d0af(_0x5d4a97['substring'](_0x24d026,_0x2cb109)),_0x3e06ca=_0x2cb109+0x1;}return _0x4b9e57;}(_0x2a4d81,_0x1a295b=>{const [_0x17e6f5,_0x160971]=f(_0x1a295b),_0x1a38cb=_0x5adec0(_0x17e6f5);return void 0x0!==_0x1a38cb?_0x1a38cb:_0x160971?d(_0x5adec0,_0x160971):'var('+_0x17e6f5+')';});}async function h(_0x587aaa){const _0x2af637=[await _0x2eccd9(_0x587aaa['stylesheets']),_0x587aaa['inlineCss']]['filter'](_0x340546=>_0x340546&&_0x340546['length'])['join']('\x0a'),_0x83cd2d=await async function(_0x2c2e99,_0x577414){const _0x24e3e6=new CSSStyleSheet();return await _0x24e3e6['replace'](_0x577414),S(Array['from'](_0x24e3e6['cssRules'])['filter'](_0x5ebb21=>_0x5ebb21 instanceof CSSStyleRule))['flatMap'](({selectorText:_0x1904a8,contentCssText:_0x4daeb3})=>{const _0x518e3f=f(_0x1904a8),_0x3bd67b=new _0x44ce24(_0x2c2e99)['setTo'](_0x4daeb3);return _0x518e3f['map'](_0x3b6bbd=>{const _0x207c94=function(_0x2f3d48){const _0x3e6e6f=':where(';let _0x1054f1=_0x2f3d48,_0x4d8708=0x0;for(let _0x8e0af5=0x0;_0x8e0af5<0x64;_0x8e0af5++){const _0x47f9ed=_0x1054f1['indexOf'](_0x3e6e6f,_0x4d8708);if(-0x1===_0x47f9ed)break;let _0x49e2d2=0x0;for(let _0x506f38=0x0;_0x506f38<_0x47f9ed;_0x506f38++)'('===_0x1054f1[_0x506f38]?_0x49e2d2++:')'===_0x1054f1[_0x506f38]&&_0x49e2d2--;if(_0x49e2d2>0x0){_0x4d8708=_0x47f9ed+_0x3e6e6f['length'];continue;}let _0x494dad=-0x1;for(let _0x1d6d63=_0x47f9ed+_0x3e6e6f['length'],_0x49eab5=0x1;_0x1d6d63<_0x1054f1['length'];_0x1d6d63++)if('('===_0x1054f1[_0x1d6d63]?_0x49eab5++:')'===_0x1054f1[_0x1d6d63]&&_0x49eab5--,!_0x49eab5){_0x494dad=_0x1d6d63;break;}-0x1!==_0x494dad?(_0x1054f1=_0x1054f1['slice'](0x0,_0x47f9ed)+_0x1054f1['slice'](_0x494dad+0x1),_0x4d8708=_0x47f9ed):_0x4d8708=_0x47f9ed+_0x3e6e6f['length'];}return _0x1054f1['replace'](/\s+/g,'\x20')['trim']();}(_0x3b6bbd),_0x2efcfd=_0x207c94?_0x13ceb0(_0x207c94)[0x0]['specificityArray']:[0x0,0x0,0x0,0x0];return{'stylesMap':_0x3bd67b,'flatSelector':_0x3b6bbd,'specificity':_0x2efcfd};});})['sort']((_0x2fe3b0,_0x15da25)=>_0x297589(_0x2fe3b0['specificity'],_0x15da25['specificity']));}(_0x587aaa['stylesProcessor'],_0x2af637);return{'parsedCssRules':_0x83cd2d,'rootCssVariables':function(_0x1cb021){const _0x5787f1=new Map();for(const {stylesMap:_0x23b673,flatSelector:_0xbe88b6}of _0x1cb021){if(':root'!==_0xbe88b6)continue;const _0x1ad30f=p(_0x5787f1['get']['bind'](_0x5787f1),_0x23b673);for(const [_0x235cc2,_0x3f4684]of _0x1ad30f)_0x5787f1['set'](_0x235cc2,_0x3f4684);}return _0x5787f1;}(_0x83cd2d)};}function S(_0x2acdd1,_0x377279=''){return _0x2acdd1['flatMap'](_0x5b9673=>{const {selectorText:_0x3219a5,cssText:_0x15f515,cssRules:_0x4abb01}=_0x5b9673;if(!_0x3219a5)return[];const _0x31bb5e=_0x3219a5['replace'](/&/g,_0x377279);let _0x2ef1c9=_0x15f515['replace'](_0x3219a5,'')['trim']()['replace'](/^{|}$/g,'');if(!_0x4abb01||!_0x4abb01['length'])return[{'selectorText':_0x31bb5e,'contentCssText':_0x2ef1c9}];for(const _0x4b9922 of _0x4abb01)_0x2ef1c9=_0x2ef1c9['replace'](_0x4b9922['cssText'],'')['trim']();return[{'selectorText':_0x31bb5e,'contentCssText':_0x2ef1c9},...S(Array['from'](_0x4abb01),_0x31bb5e)];});}function m(_0x29dfc2,_0xb2632c){const _0x174827=new _0x44ce24(_0x29dfc2);for(const _0x4163b4 of _0xb2632c){let _0x368603=null;if(_0x368603='string'==typeof _0x4163b4?new _0x44ce24(_0x29dfc2)['setTo'](_0x4163b4):_0x4163b4,_0x368603){for(const [_0x3b5ee6,_0x190a1e]of _0x368603['getStylesEntries']())_0x174827['set'](_0x3b5ee6,_0x190a1e);}}return _0x174827;}class x extends _0x2d41ba{['_stylesProcessor'];constructor(_0x112b34){super(_0x112b34),this['set']('isBusy',!0x1),this['_stylesProcessor']=this['editor']['data']['stylesProcessor'],_0x3f4e3d(this['_stylesProcessor']),_0x506b75(this['_stylesProcessor']),this['affectsData']=!0x1;}['refresh'](){this['isEnabled']=!this['isBusy'],this['value']=this['isBusy']?'pending':void 0x0;}async['execute'](_0x5eefe9){const _0x40ca85=this['editor']['config']['get']('exportInlineStyles'),{contentLanguageDirection:_0x2e0f95}=this['editor']['locale'],{rootName:_0xcd224f='main',dataControllerDowncastOptions:_0x1f3f17={},transformations:_0x483809=_0x40ca85['transformations']||[]}=_0x5eefe9||{};this['isBusy']=!0x0,this['refresh']();const _0xa66706=this['_getRootDataHTMLFragment'](_0xcd224f,_0x1f3f17),_0x32801b=_0xd8e549(_0xa66706['ownerDocument'],'div',{'dir':_0x2e0f95,'class':'ck-content'},[_0xa66706]);return this['_collectAndApplyStyles'](_0x483809,_0x32801b)['then'](()=>{const _0x5d43da=function(_0x1b299d){const _0x13c32e=_0x1b299d['ownerDocument']['createDocumentFragment']();for(;_0x1b299d['firstChild'];)_0x13c32e['appendChild'](_0x1b299d['firstChild']);return _0x13c32e;}(_0x32801b),_0x37a72d=_0x32801b['getAttribute']('style');if(_0x37a72d)for(const _0x1a6b1e of _0x5d43da['children']){const _0x568cbe=_0x1a6b1e['getAttribute']('style'),_0xf28a87=m(this['_stylesProcessor'],[_0x37a72d,_0x568cbe]);_0x1a6b1e['setAttribute']('style',L(_0xf28a87));}return this['editor']['data']['htmlProcessor']['htmlWriter']['getHtml'](_0x5d43da);})['finally'](()=>{this['isBusy']=!0x1,this['refresh']();});}['_getRootDataHTMLFragment'](_0x3c9560,_0x1424d2){const {data:_0x32434c,model:_0x29432f}=this['editor'],_0x16e65a=_0x29432f['document']['getRoot'](_0x3c9560),_0x4ac0f3=_0x32434c['toView'](_0x16e65a,_0x1424d2);return _0x32434c['htmlProcessor']['domConverter']['viewToDom'](_0x4ac0f3);}async['_collectAndApplyStyles'](_0x27821d,_0x204e3a){const {stylesheets:_0x5b0238,inlineCss:_0x5b9807,stripCssClasses:_0x521b38}=this['editor']['config']['get']('exportInlineStyles'),{parsedCssRules:_0x522c33,rootCssVariables:_0x50bd6f}=await h({'stylesheets':_0x5b0238||['EDITOR_STYLES'],'stylesProcessor':this['_stylesProcessor'],'inlineCss':_0x5b9807});this['_processElementTree']({'transformations':_0x27821d,'parsedCssRules':_0x522c33,'element':_0x204e3a,'stripCssClasses':_0x521b38,'parentCSSVariablesLookup':_0x50bd6f['get']['bind'](_0x50bd6f)});}['_processElementTree']({element:_0x1834f9,parsedCssRules:_0x5c2fbf,parentCSSVariablesLookup:_0x1c0233,stripCssClasses:_0x57df43,transformations:_0x53778a}){const {stylesMap:_0x2ecbdf,localCSSVariables:_0xa78eb5}=function(_0x2fac77){const _0x2c4a9a=_0x2fac77['element']['getAttribute']('style')||'',_0x56319d=_0x2fac77['parsedCssRules']['filter'](_0x25d49d=>_0x2fac77['element']['matches'](_0x25d49d['flatSelector']))['map'](_0x19a2ad=>_0x19a2ad['stylesMap']),_0x5b3a3d=m(_0x2fac77['stylesProcessor'],[..._0x56319d,_0x2c4a9a]);return{'localCSSVariables':p(_0x2fac77['fallbackCSSVariablesLookup'],_0x5b3a3d),'stylesMap':_0x5b3a3d};}({'stylesProcessor':this['_stylesProcessor'],'fallbackCSSVariablesLookup':_0x1c0233,'parsedCssRules':_0x5c2fbf,'element':_0x1834f9});for(const _0x852fed of _0x53778a){const _0xfe6521=_0x852fed(_0x1834f9,_0x2ecbdf);_0xfe6521&&_0xfe6521 instanceof HTMLElement&&(_0x1834f9=_0xfe6521);}_0x2ecbdf['size']?_0x1834f9['setAttribute']('style',L(_0x2ecbdf)):_0x1834f9['removeAttribute']('style');const _0x108589=_0x135000=>_0xa78eb5['has'](_0x135000)?_0xa78eb5['get'](_0x135000):_0x1c0233(_0x135000);for(const _0x4fde4f of _0x1834f9['children'])_0x4fde4f instanceof HTMLElement&&this['_processElementTree']({'element':_0x4fde4f,'parentCSSVariablesLookup':_0x108589,'parsedCssRules':_0x5c2fbf,'stripCssClasses':_0x57df43,'transformations':_0x53778a});_0x57df43&&_0x1834f9['removeAttribute']('class');}}function L(_0x461a50){return _0x461a50['getStylesEntries']()['map'](_0x9be8c5=>_0x9be8c5['join'](':'))['join'](';')+';';}class C extends _0xe43ccc{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(_0x38e714){const _0x4b3fd1=_0x4f42af([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]),_0x2afed5=0x6f40c3fb,_0xb22864=0x6f47468b^_0x2afed5,_0x350305=window[_0x4f42af([0x44,0x61,0x74,0x65])][_0x4f42af([0x6e,0x6f,0x77])](),_0x59e86d=_0x38e714[_0x4f42af([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x47b00e=new window[(_0x4f42af([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x448eab=>{_0x59e86d[_0x4f42af([0x6f,0x6e,0x63,0x65])](_0x4f42af([0x72,0x65,0x61,0x64,0x79]),_0x448eab);}),_0x203aff={[_0x4f42af([0x6b,0x74,0x79])]:_0x4f42af([0x45,0x43]),[_0x4f42af([0x75,0x73,0x65])]:_0x4f42af([0x73,0x69,0x67]),[_0x4f42af([0x63,0x72,0x76])]:_0x4f42af([0x50,0x2d,0x32,0x35,0x36]),[_0x4f42af([0x78])]:_0x4f42af([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]),[_0x4f42af([0x79])]:_0x4f42af([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]),[_0x4f42af([0x61,0x6c,0x67])]:_0x4f42af([0x45,0x53,0x32,0x35,0x36])},_0x529695=_0x59e86d[_0x4f42af([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4f42af([0x67,0x65,0x74])](_0x4f42af([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xc66c3b(){let _0xc1e28b,_0x389549=null,_0x3e3295=null;try{if(_0x529695==_0x4f42af([0x47,0x50,0x4c]))return _0x4f42af([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xc1e28b=_0x336e73(),!_0xc1e28b)return _0x4f42af([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xc1e28b[_0x4f42af([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3e3295=_0x4896e6(_0xc1e28b[_0x4f42af([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xc1e28b[_0x4f42af([0x6a,0x74,0x69])])),await _0x8472a1()?_0x79023e()?_0x56574d()?_0x4f42af([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x154d2e()?(_0xc1e28b[_0x4f42af([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4f42af([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x389549=_0x5c710c(_0x4f42af([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x8393e0()):_0x4f42af([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4f42af([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4f42af([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4f42af([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x56574d(){const _0x166983=[_0x4f42af([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4f42af([0x74,0x72,0x69,0x61,0x6c])][_0x4f42af([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xc1e28b[_0x4f42af([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x350305/0x3e8:0xe10*_0xb22864;return _0xc1e28b[_0x4f42af([0x65,0x78,0x70])]<_0x166983;}function _0x79023e(){const _0x48adf3=_0xc1e28b[_0x4f42af([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x48adf3&&(!!_0x48adf3[_0x4f42af([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4f42af([0x2a]))||!!_0x48adf3[_0x4f42af([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4f42af([0x45,0x49,0x53])));}function _0x154d2e(){const _0x353fd3=_0xc1e28b[_0x4f42af([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x353fd3||0x0==_0x353fd3[_0x4f42af([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1ae930}=new URL(window[_0x4f42af([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x353fd3[_0x4f42af([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1ae930))return!0x0;const _0x428896=_0x1ae930[_0x4f42af([0x73,0x70,0x6c,0x69,0x74])](_0x4f42af([0x2e]));return _0x353fd3[_0x4f42af([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xc924c0=>_0xc924c0[_0x4f42af([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4f42af([0x2a])))[_0x4f42af([0x6d,0x61,0x70])](_0x5a0672=>_0x5a0672[_0x4f42af([0x73,0x70,0x6c,0x69,0x74])](_0x4f42af([0x2e])))[_0x4f42af([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x469a91=>_0x469a91[_0x4f42af([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x428896[_0x4f42af([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4f42af([0x6d,0x61,0x70])](_0xcf36a4=>Array(_0x428896[_0x4f42af([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xcf36a4[_0x4f42af([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4f42af([0x66,0x69,0x6c,0x6c])](_0xcf36a4[0x0]===_0x4f42af([0x2a])?_0x4f42af([0x2a]):'')[_0x4f42af([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xcf36a4))[_0x4f42af([0x73,0x6f,0x6d,0x65])](_0x1033d6=>_0x428896[_0x4f42af([0x65,0x76,0x65,0x72,0x79])]((_0x5d33d1,_0xc391da)=>_0x1033d6[_0xc391da]===_0x5d33d1||_0x1033d6[_0xc391da]===_0x4f42af([0x2a])));}function _0x8393e0(){return _0x389549&&_0x3e3295?new window[(_0x4f42af([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x591a8b,_0x16a7e5)=>{_0x389549[_0x4f42af([0x74,0x68,0x65,0x6e])](_0x591a8b,_0x16a7e5),_0x3e3295[_0x4f42af([0x74,0x68,0x65,0x6e])](_0x3d32a2=>{_0x3d32a2!=_0x4f42af([0x56,0x61,0x6c,0x69,0x64])&&_0x591a8b(_0x3d32a2);},_0x16a7e5);}):_0x389549||_0x3e3295||_0x4f42af([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4896e6(_0x58b906,_0x294e20){return new window[(_0x4f42af([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x534ca1=>{if(_0x374d3e())return _0x534ca1(_0x4f42af([0x56,0x61,0x6c,0x69,0x64]));_0x3894a7(),_0x59e86d[_0x4f42af([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4f42af([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x21340e=!0x1;const _0x128d2a=_0x359a2d();function _0x52194f(_0x9dbf76){return!!_0x9dbf76&&(typeof _0x9dbf76===_0x4f42af([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x9dbf76===_0x4f42af([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x9dbf76[_0x4f42af([0x74,0x68,0x65,0x6e])]===_0x4f42af([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x9dbf76[_0x4f42af([0x63,0x61,0x74,0x63,0x68])]===_0x4f42af([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x948cb8(_0x10ece9){_0x1258ee(_0x10ece9)[_0x4f42af([0x74,0x68,0x65,0x6e])](_0x267e31=>{if(!_0x267e31||_0x267e31[_0x4f42af([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4f42af([0x6f,0x6b]))return _0x4f42af([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x335602(_0x3dd5a3(_0x128d2a+_0x294e20))!=_0x267e31[_0x4f42af([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4f42af([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4f42af([0x56,0x61,0x6c,0x69,0x64]);})[_0x4f42af([0x74,0x68,0x65,0x6e])](_0x1e34ae=>(_0x4c8a99(),_0x1e34ae),()=>{const _0x16b2ab=_0x1af791();return null==_0x16b2ab?(_0x4c8a99(),_0x4f42af([0x56,0x61,0x6c,0x69,0x64])):_0x4f42af(_0x350305-_0x16b2ab>(0x4b4c47fb^_0x2afed5)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4f42af([0x74,0x68,0x65,0x6e])](_0x534ca1)[_0x4f42af([0x63,0x61,0x74,0x63,0x68])](()=>{_0x534ca1(_0x4f42af([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x29cc57=0x6f762d7b^_0x2afed5;function _0x4c8a99(){const _0x2bce4b=_0x4f42af([0x6c,0x6c,0x63,0x74,0x2d])+_0x335602(_0x3dd5a3(_0x58b906)),_0x11179c=_0x5d7f3c(_0x335602(window[_0x4f42af([0x4d,0x61,0x74,0x68])][_0x4f42af([0x63,0x65,0x69,0x6c])](_0x350305/_0x29cc57)));window[_0x4f42af([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4f42af([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2bce4b,_0x11179c);}function _0x1af791(){const _0x411720=_0x4f42af([0x6c,0x6c,0x63,0x74,0x2d])+_0x335602(_0x3dd5a3(_0x58b906)),_0x1e19e=window[_0x4f42af([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4f42af([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x411720);return _0x1e19e?window[_0x4f42af([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5d7f3c(_0x1e19e),0x10)*_0x29cc57:null;}function _0x1258ee(_0x55ef3a){return new window[(_0x4f42af([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1695e5,_0x3f3fae)=>{_0x55ef3a[_0x4f42af([0x74,0x68,0x65,0x6e])](_0x1695e5,_0x3f3fae),window[_0x4f42af([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3f3fae,0x6f41173b^_0x2afed5);});}}_0x59e86d[_0x4f42af([0x6f,0x6e])](_0x4f42af([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1926b9,_0x2c9e86)=>{if(_0x2c9e86[0x0]!=_0x58b906)return _0x534ca1(_0x4f42af([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2c9e86[0x1]={..._0x2c9e86[0x1],[_0x4f42af([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x128d2a};},{[_0x4f42af([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4f42af([0x68,0x69,0x67,0x68])}),_0x59e86d[_0x4f42af([0x6f,0x6e])](_0x4f42af([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4ce2d8=>{_0x52194f(_0x4ce2d8[_0x4f42af([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x21340e=!0x0,_0x948cb8(_0x4ce2d8[_0x4f42af([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4f42af([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4f42af([0x6c,0x6f,0x77])}),_0x47b00e[_0x4f42af([0x74,0x68,0x65,0x6e])](()=>{_0x21340e||_0x534ca1(_0x4f42af([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x374d3e(){return _0x59e86d[_0x4f42af([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4f42af([0x76,0x69,0x65,0x77])][_0x4f42af([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4f42af([0x61,0x75,0x74,0x6f]);}function _0x3894a7(){_0x59e86d[_0x4f42af([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4f42af([0x76,0x69,0x65,0x77])][_0x4f42af([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4f42af([0x61,0x75,0x74,0x6f]);}}function _0x5c710c(_0x48366a){const _0x4eeab4=[new window[(_0x4f42af([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x11c13d=>setTimeout(_0x11c13d,0x6f49fd37^_0x2afed5)),_0x47b00e[_0x4f42af([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4f42af([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4772d=>{let _0x1d887e=0x0;_0x59e86d[_0x4f42af([0x6d,0x6f,0x64,0x65,0x6c])][_0x4f42af([0x6f,0x6e])](_0x4f42af([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3d0ef5,_0x73247d)=>{_0x73247d[0x0][_0x4f42af([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1d887e++,_0x1d887e==(0x6f40c613^_0x2afed5)&&(_0x4772d(),_0x3d0ef5[_0x4f42af([0x6f,0x66,0x66])]());});}))];return window[_0x4f42af([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4f42af([0x72,0x61,0x63,0x65])](_0x4eeab4)[_0x4f42af([0x74,0x68,0x65,0x6e])](()=>_0x48366a);}async function _0x3bb128(){await _0x47b00e;const _0x5680c3=_0x59e86d['commands'][_0x4f42af([0x67,0x65,0x74])](_0x4f42af([0x65,0x78,0x70,0x6f,0x72,0x74,0x49,0x6e,0x6c,0x69,0x6e,0x65,0x53,0x74,0x79,0x6c,0x65,0x73]));_0x5680c3&&_0x5680c3[_0x4f42af([0x6f,0x6e])](_0x4f42af([0x65,0x78,0x65,0x63,0x75,0x74,0x65]),_0x3873b3=>{_0x3873b3['stop']();},{'priority':_0x4f42af([0x68,0x69,0x67,0x68,0x65,0x73,0x74])}),_0x59e86d[_0x4f42af([0x6d,0x6f,0x64,0x65,0x6c])][_0x4f42af([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x531267,_0x59e86d[_0x4f42af([0x6d,0x6f,0x64,0x65,0x6c])][_0x4f42af([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x531267,_0x59e86d[_0x4f42af([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4f42af([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x12a8fe(_0x408509){const _0x249bcd=_0x575bde();_0x59e86d[_0x249bcd]=_0x4f42af([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])+_0x408509,_0x408509!=_0x4f42af([0x56,0x61,0x6c,0x69,0x64])&&_0x3bb128();}function _0x575bde(){const _0x159fe9=window[_0x4f42af([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4f42af([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4f42af([0x6e,0x6f,0x77])]())[_0x4f42af([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4f42af([0x2e]),'');let _0x514143=_0x4f42af([0x44]);for(let _0x47c0fa=0x0;_0x47c0fa<_0x159fe9[_0x4f42af([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x47c0fa+=0x2){let _0x5c0961=window[_0x4f42af([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x159fe9[_0x4f42af([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x47c0fa,_0x47c0fa+0x2));_0x5c0961>=_0x4b3fd1[_0x4f42af([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5c0961-=_0x4b3fd1[_0x4f42af([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x514143+=_0x4b3fd1[_0x5c0961];}return _0x514143;}function _0x336e73(){const _0x589cfa=_0x529695[_0x4f42af([0x73,0x70,0x6c,0x69,0x74])](_0x4f42af([0x2e]));if(0x3!=_0x589cfa[_0x4f42af([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3f5c5d(_0x589cfa[0x1]);function _0x3f5c5d(_0x2d6f8f){const _0x44b557=_0x41a489(_0x2d6f8f);return _0x44b557&&_0x249f3b()?_0x44b557:null;function _0x249f3b(){const _0x3e1ccc=_0x44b557[_0x4f42af([0x6a,0x74,0x69])],_0x55753a=window[_0x4f42af([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3e1ccc[_0x4f42af([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3e1ccc[_0x4f42af([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x34517f={..._0x44b557,[_0x4f42af([0x6a,0x74,0x69])]:_0x3e1ccc[_0x4f42af([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3e1ccc[_0x4f42af([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x34517f[_0x4f42af([0x76,0x63])],_0x3dd5a3(_0x34517f)==_0x55753a;}}}async function _0x8472a1(){let _0x408aa9=!0x0;try{const _0x585693=_0x529695[_0x4f42af([0x73,0x70,0x6c,0x69,0x74])](_0x4f42af([0x2e])),[_0x1177f3,_0x1bb2c2,_0x1f969e]=_0x585693;return _0x4169d2(_0x1177f3),await _0x28ed94(_0x1177f3,_0x1bb2c2,_0x1f969e),_0x408aa9;}catch{return!0x1;}function _0x4169d2(_0x3c3f16){const _0x244e35=_0x41a489(_0x3c3f16);_0x244e35&&_0x244e35[_0x4f42af([0x61,0x6c,0x67])]==_0x4f42af([0x45,0x53,0x32,0x35,0x36])||(_0x408aa9=!0x1);}async function _0x28ed94(_0x3444b6,_0x4def68,_0x2a4a44){const _0x197ef0=window[_0x4f42af([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4f42af([0x66,0x72,0x6f,0x6d])](_0x5c2406(_0x2a4a44),_0x5e0f5b=>_0x5e0f5b[_0x4f42af([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x52b446=new window[(_0x4f42af([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4f42af([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3444b6+_0x4f42af([0x2e])+_0x4def68),_0x5dd929=window[_0x4f42af([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4f42af([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5dd929)return;const _0x1655bf=await _0x5dd929[_0x4f42af([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4f42af([0x6a,0x77,0x6b]),_0x203aff,{[_0x4f42af([0x6e,0x61,0x6d,0x65])]:_0x4f42af([0x45,0x43,0x44,0x53,0x41]),[_0x4f42af([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4f42af([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4f42af([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5dd929[_0x4f42af([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4f42af([0x6e,0x61,0x6d,0x65])]:_0x4f42af([0x45,0x43,0x44,0x53,0x41]),[_0x4f42af([0x68,0x61,0x73,0x68])]:{[_0x4f42af([0x6e,0x61,0x6d,0x65])]:_0x4f42af([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1655bf,_0x197ef0,_0x52b446)||(_0x408aa9=!0x1);}}function _0x41a489(_0x4f4f91){return _0x4f4f91[_0x4f42af([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4f42af([0x65,0x79]))?JSON[_0x4f42af([0x70,0x61,0x72,0x73,0x65])](_0x5c2406(_0x4f4f91)):null;}function _0x5c2406(_0x310f2f){return window[_0x4f42af([0x61,0x74,0x6f,0x62])](_0x310f2f[_0x4f42af([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4f42af([0x2b]))[_0x4f42af([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4f42af([0x2f])));}function _0x3dd5a3(_0x1deb52){let _0xf3495b=0x1505;function _0x3d1aa2(_0x535ed0){for(let _0x588b3f=0x0;_0x588b3f<_0x535ed0[_0x4f42af([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x588b3f++){const _0x2a5540=_0x535ed0[_0x4f42af([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x588b3f);_0xf3495b=(_0xf3495b<<0x5)+_0xf3495b+_0x2a5540,_0xf3495b&=_0xf3495b;}}function _0x5f3e24(_0x1b41fa){Array[_0x4f42af([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1b41fa)?_0x1b41fa[_0x4f42af([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5f3e24):_0x1b41fa&&typeof _0x1b41fa==_0x4f42af([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4f42af([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1b41fa)[_0x4f42af([0x73,0x6f,0x72,0x74])]()[_0x4f42af([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1ce8dc,_0x253629])=>{_0x3d1aa2(_0x1ce8dc),_0x5f3e24(_0x253629);}):_0x3d1aa2(window[_0x4f42af([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1b41fa));}return _0x5f3e24(_0x1deb52),_0xf3495b>>>0x0;}function _0x335602(_0x1a2807){return _0x1a2807[_0x4f42af([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4f42af([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4f42af([0x30]));}function _0x5d7f3c(_0x242fd7){return _0x242fd7[_0x4f42af([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4f42af([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4f42af([0x6a,0x6f,0x69,0x6e])]('');}function _0x531267(){}function _0x4f42af(_0xfe35eb){return _0xfe35eb['map'](_0xc65ac6=>String['fromCharCode'](_0xc65ac6))['join']('');}_0x12a8fe(await _0xc66c3b());}(this);}}class g extends _0xe43ccc{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'ExportInlineStyles';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[C];}['init'](){this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x274d24=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4fc139;for(const _0x12bf7b in _0x274d24){const _0x350627=_0x12bf7b,_0x4b32d6=_0x274d24[_0x350627];if('exportInlineStylesLicenseKeyValid'==_0x4b32d6||'exportInlineStylesLicenseKeyInvalid'==_0x4b32d6||'exportInlineStylesLicenseKeyExpired'==_0x4b32d6||'exportInlineStylesLicenseKeyDomainLimit'==_0x4b32d6||'exportInlineStylesLicenseKeyNotAllowed'==_0x4b32d6||'exportInlineStylesLicenseKeyEvaluationLimit'==_0x4b32d6||'exportInlineStylesLicenseKeyUsageLimit'==_0x4b32d6){delete _0x274d24[_0x350627],_0x4fc139=_0x4b32d6,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'exportInlineStylesLicenseKeyInvalid'==_0x4fc139&&_0x274d24['_showLicenseError']('invalid'),'exportInlineStylesLicenseKeyExpired'==_0x4fc139&&_0x274d24['_showLicenseError']('expired'),'exportInlineStylesLicenseKeyDomainLimit'==_0x4fc139&&_0x274d24['_showLicenseError']('domainLimit'),'exportInlineStylesLicenseKeyNotAllowed'==_0x4fc139&&_0x274d24['_showLicenseError']('featureNotAllowed','ExportInlineStyles'),'exportInlineStylesLicenseKeyEvaluationLimit'==_0x4fc139&&_0x274d24['_showLicenseError']('evaluationLimit'),'exportInlineStylesLicenseKeyUsageLimit'==_0x4fc139&&_0x274d24['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}export{g as ExportInlineStyles,x as ExportInlineStylesCommand,C as ExportInlineStylesEditing,w as dropImportantStyleSuffix};
23
+ import{Command as _0x10633a,Plugin as _0x40ebb5}from'@ckeditor/ckeditor5-core/dist/index.js';import{collectStylesheets as _0x3b6f16,createElement as _0x3c87a4,uid as _0x3130c6}from'@ckeditor/ckeditor5-utils/dist/index.js';import{calculate as _0x5d5c4f,compare as _0x2583e8}from'specificity';import{StylesMap as _0x3c384a,addMarginStylesRules as _0x7d0af3,addPaddingStylesRules as _0x276f9a}from'@ckeditor/ckeditor5-engine/dist/index.js';function f(_0x7dca8c){const _0xcedb65=[];let _0x2bd177='',_0x34f720=0x0;for(;_0x34f720<_0x7dca8c['length'];){const _0x5dd679=_0x7dca8c[_0x34f720];if('('===_0x5dd679){const _0x148b9d=y(_0x7dca8c,_0x34f720+0x1);if(-0x1===_0x148b9d)return[];_0x2bd177+=_0x7dca8c['slice'](_0x34f720,_0x148b9d+0x1),_0x34f720=_0x148b9d+0x1;}else','!==_0x5dd679||_0x2bd177['endsWith']('\x5c')?(_0x2bd177+=_0x5dd679,_0x34f720++):(_0xcedb65['push'](_0x2bd177['trim']()),_0x2bd177='',_0x34f720++);}return _0x2bd177['trim']()&&_0xcedb65['push'](_0x2bd177['trim']()),_0xcedb65['filter'](Boolean);}function y(_0x6db0b4,_0x28f796){let _0x200dd6=0x1;for(let _0x251b95=_0x28f796;_0x251b95<_0x6db0b4['length'];_0x251b95++){const _0x106146=_0x6db0b4[_0x251b95];if('('===_0x106146)_0x200dd6++;else{if(')'===_0x106146&&(_0x200dd6--,0x0===_0x200dd6))return _0x251b95;}}return-0x1;}function w(_0x4c00cb){return _0x4c00cb['replace'](/!\s*important/i,'')['trim']();}function p(_0x516804,_0x315699){const _0x217bc2=new Map(),_0x2d0705=_0x1e9141=>_0x217bc2['has'](_0x1e9141)?_0x217bc2['get'](_0x1e9141):_0x516804(_0x1e9141);for(const [_0x18d49e,_0x172fe1]of _0x315699['getStylesEntries']())if(_0x172fe1&&_0x18d49e['startsWith']('--')){const _0x2a1f4a=d(_0x2d0705,_0x172fe1);_0x217bc2['set'](_0x18d49e,_0x2a1f4a),_0x315699['remove'](_0x18d49e);}for(const [_0x22129a,_0x4f93d3]of _0x315699['getStylesEntries']())if(_0x4f93d3){const _0x553e63=d(_0x2d0705,_0x4f93d3);_0x315699['set'](_0x22129a,_0x553e63);}return _0x217bc2;}function d(_0x51140c,_0x2fd8b7){return function(_0x1ede59,_0x34e673){let _0x564161='',_0x399aef=0x0;for(;_0x399aef<_0x1ede59['length'];){const _0x49bb5e=_0x1ede59['indexOf']('var(',_0x399aef);if(-0x1===_0x49bb5e){_0x564161+=_0x1ede59['slice'](_0x399aef);break;}_0x564161+=_0x1ede59['slice'](_0x399aef,_0x49bb5e);const _0x2b6e0e=_0x49bb5e+0x4,_0x4243ce=y(_0x1ede59,_0x2b6e0e);_0x564161+=_0x34e673(_0x1ede59['substring'](_0x2b6e0e,_0x4243ce)),_0x399aef=_0x4243ce+0x1;}return _0x564161;}(_0x2fd8b7,_0x125838=>{const [_0x5c04e3,_0x514f69]=f(_0x125838),_0x460575=_0x51140c(_0x5c04e3);return void 0x0!==_0x460575?_0x460575:_0x514f69?d(_0x51140c,_0x514f69):'var('+_0x5c04e3+')';});}async function h(_0x57c608){const _0x175547=[await _0x3b6f16(_0x57c608['stylesheets']),_0x57c608['inlineCss']]['filter'](_0x52b810=>_0x52b810&&_0x52b810['length'])['join']('\x0a'),_0x136c90=await async function(_0x44e7d5,_0x215091){const _0x22bbf9=new CSSStyleSheet();return await _0x22bbf9['replace'](_0x215091),S(Array['from'](_0x22bbf9['cssRules'])['filter'](_0x3bfa87=>_0x3bfa87 instanceof CSSStyleRule))['flatMap'](({selectorText:_0x4a42ff,contentCssText:_0xb660b})=>{const _0x3bfcb9=f(_0x4a42ff),_0xf8a8a3=new _0x3c384a(_0x44e7d5)['setTo'](_0xb660b);return _0x3bfcb9['map'](_0x537907=>{const _0x4529b6=function(_0x3e831f){const _0x20d692=':where(';let _0x78c766=_0x3e831f,_0x589769=0x0;for(let _0x16650e=0x0;_0x16650e<0x64;_0x16650e++){const _0x2e12ed=_0x78c766['indexOf'](_0x20d692,_0x589769);if(-0x1===_0x2e12ed)break;let _0x51d082=0x0;for(let _0x5b7be9=0x0;_0x5b7be9<_0x2e12ed;_0x5b7be9++)'('===_0x78c766[_0x5b7be9]?_0x51d082++:')'===_0x78c766[_0x5b7be9]&&_0x51d082--;if(_0x51d082>0x0){_0x589769=_0x2e12ed+_0x20d692['length'];continue;}let _0x4e0aab=-0x1;for(let _0x1136cf=_0x2e12ed+_0x20d692['length'],_0x45fd1a=0x1;_0x1136cf<_0x78c766['length'];_0x1136cf++)if('('===_0x78c766[_0x1136cf]?_0x45fd1a++:')'===_0x78c766[_0x1136cf]&&_0x45fd1a--,!_0x45fd1a){_0x4e0aab=_0x1136cf;break;}-0x1!==_0x4e0aab?(_0x78c766=_0x78c766['slice'](0x0,_0x2e12ed)+_0x78c766['slice'](_0x4e0aab+0x1),_0x589769=_0x2e12ed):_0x589769=_0x2e12ed+_0x20d692['length'];}return _0x78c766['replace'](/\s+/g,'\x20')['trim']();}(_0x537907),_0x527e76=_0x4529b6?_0x5d5c4f(_0x4529b6)[0x0]['specificityArray']:[0x0,0x0,0x0,0x0];return{'stylesMap':_0xf8a8a3,'flatSelector':_0x537907,'specificity':_0x527e76};});})['sort']((_0x417ba8,_0xf67b65)=>_0x2583e8(_0x417ba8['specificity'],_0xf67b65['specificity']));}(_0x57c608['stylesProcessor'],_0x175547);return{'parsedCssRules':_0x136c90,'rootCssVariables':function(_0xbceddd){const _0x40d9ba=new Map();for(const {stylesMap:_0x3e5637,flatSelector:_0x209d66}of _0xbceddd){if(':root'!==_0x209d66)continue;const _0x134ccf=p(_0x40d9ba['get']['bind'](_0x40d9ba),_0x3e5637);for(const [_0x3bdb23,_0x5343c6]of _0x134ccf)_0x40d9ba['set'](_0x3bdb23,_0x5343c6);}return _0x40d9ba;}(_0x136c90)};}function S(_0x2a2b7a,_0xb5cf32=''){return _0x2a2b7a['flatMap'](_0x71dfa4=>{const {selectorText:_0x387e06,cssText:_0x25e432,cssRules:_0x1ca88b}=_0x71dfa4;if(!_0x387e06)return[];const _0x33cb57=_0x387e06['replace'](/&/g,_0xb5cf32);let _0x4c3a50=_0x25e432['replace'](_0x387e06,'')['trim']()['replace'](/^{|}$/g,'');if(!_0x1ca88b||!_0x1ca88b['length'])return[{'selectorText':_0x33cb57,'contentCssText':_0x4c3a50}];for(const _0x2e8f37 of _0x1ca88b)_0x4c3a50=_0x4c3a50['replace'](_0x2e8f37['cssText'],'')['trim']();return[{'selectorText':_0x33cb57,'contentCssText':_0x4c3a50},...S(Array['from'](_0x1ca88b),_0x33cb57)];});}function m(_0x3ef139,_0x3b3537){const _0xc3a042=new _0x3c384a(_0x3ef139);for(const _0x240ddb of _0x3b3537){let _0x1ff410=null;if(_0x1ff410='string'==typeof _0x240ddb?new _0x3c384a(_0x3ef139)['setTo'](_0x240ddb):_0x240ddb,_0x1ff410){for(const [_0x5931d9,_0x172822]of _0x1ff410['getStylesEntries']())_0xc3a042['set'](_0x5931d9,_0x172822);}}return _0xc3a042;}class x extends _0x10633a{['_stylesProcessor'];constructor(_0x1ce7ac){super(_0x1ce7ac),this['set']('isBusy',!0x1),this['_stylesProcessor']=this['editor']['data']['stylesProcessor'],_0x7d0af3(this['_stylesProcessor']),_0x276f9a(this['_stylesProcessor']),this['affectsData']=!0x1;}['refresh'](){this['isEnabled']=!this['isBusy'],this['value']=this['isBusy']?'pending':void 0x0;}async['execute'](_0x13a9b8){const _0x239e27=this['editor']['config']['get']('exportInlineStyles'),{contentLanguageDirection:_0x142390}=this['editor']['locale'],{rootName:_0x10010f='main',dataControllerDowncastOptions:_0x5baeb1={},transformations:_0x40b408=_0x239e27['transformations']||[]}=_0x13a9b8||{};this['isBusy']=!0x0,this['refresh']();const _0x559507=this['_getRootDataHTMLFragment'](_0x10010f,_0x5baeb1),_0x2df4fc=_0x3c87a4(_0x559507['ownerDocument'],'div',{'dir':_0x142390,'class':'ck-content'},[_0x559507]);return this['_collectAndApplyStyles'](_0x40b408,_0x2df4fc)['then'](()=>{const _0x3a265f=function(_0x1e132a){const _0x2a1f3a=_0x1e132a['ownerDocument']['createDocumentFragment']();for(;_0x1e132a['firstChild'];)_0x2a1f3a['appendChild'](_0x1e132a['firstChild']);return _0x2a1f3a;}(_0x2df4fc),_0x508bc9=_0x2df4fc['getAttribute']('style');if(_0x508bc9)for(const _0x15ae60 of _0x3a265f['children']){const _0x4b2b7d=_0x15ae60['getAttribute']('style'),_0xce4f29=m(this['_stylesProcessor'],[_0x508bc9,_0x4b2b7d]);_0x15ae60['setAttribute']('style',L(_0xce4f29));}return this['editor']['data']['htmlProcessor']['htmlWriter']['getHtml'](_0x3a265f);})['finally'](()=>{this['isBusy']=!0x1,this['refresh']();});}['_getRootDataHTMLFragment'](_0x32a6ce,_0x1a1839){const {data:_0x10cf23,model:_0x67e03d}=this['editor'],_0x809359=_0x67e03d['document']['getRoot'](_0x32a6ce),_0x26e0bf=_0x10cf23['toView'](_0x809359,_0x1a1839);return _0x10cf23['htmlProcessor']['domConverter']['viewToDom'](_0x26e0bf);}async['_collectAndApplyStyles'](_0xaa318f,_0x16d7b1){const {stylesheets:_0x49aa91,inlineCss:_0x1139a8,stripCssClasses:_0x4e31d0}=this['editor']['config']['get']('exportInlineStyles'),{parsedCssRules:_0x603482,rootCssVariables:_0x48f047}=await h({'stylesheets':_0x49aa91||['EDITOR_STYLES'],'stylesProcessor':this['_stylesProcessor'],'inlineCss':_0x1139a8});this['_processElementTree']({'transformations':_0xaa318f,'parsedCssRules':_0x603482,'element':_0x16d7b1,'stripCssClasses':_0x4e31d0,'parentCSSVariablesLookup':_0x48f047['get']['bind'](_0x48f047)});}['_processElementTree']({element:_0x4a875c,parsedCssRules:_0x204394,parentCSSVariablesLookup:_0x1b1dd6,stripCssClasses:_0x4d710a,transformations:_0x3c465c}){const {stylesMap:_0xf11f8c,localCSSVariables:_0x2ee755}=function(_0x571490){const _0x20cf9e=_0x571490['element']['getAttribute']('style')||'',_0x4f294a=_0x571490['parsedCssRules']['filter'](_0x1d0297=>_0x571490['element']['matches'](_0x1d0297['flatSelector']))['map'](_0x291008=>_0x291008['stylesMap']),_0x427a0d=m(_0x571490['stylesProcessor'],[..._0x4f294a,_0x20cf9e]);return{'localCSSVariables':p(_0x571490['fallbackCSSVariablesLookup'],_0x427a0d),'stylesMap':_0x427a0d};}({'stylesProcessor':this['_stylesProcessor'],'fallbackCSSVariablesLookup':_0x1b1dd6,'parsedCssRules':_0x204394,'element':_0x4a875c});for(const _0x519cc2 of _0x3c465c){const _0x2f83a1=_0x519cc2(_0x4a875c,_0xf11f8c);_0x2f83a1&&_0x2f83a1 instanceof HTMLElement&&(_0x4a875c=_0x2f83a1);}_0xf11f8c['size']?_0x4a875c['setAttribute']('style',L(_0xf11f8c)):_0x4a875c['removeAttribute']('style');const _0x2446cd=_0x2213d2=>_0x2ee755['has'](_0x2213d2)?_0x2ee755['get'](_0x2213d2):_0x1b1dd6(_0x2213d2);for(const _0x5730d3 of _0x4a875c['children'])_0x5730d3 instanceof HTMLElement&&this['_processElementTree']({'element':_0x5730d3,'parentCSSVariablesLookup':_0x2446cd,'parsedCssRules':_0x204394,'stripCssClasses':_0x4d710a,'transformations':_0x3c465c});_0x4d710a&&_0x4a875c['removeAttribute']('class');}}function L(_0x31b50d){return _0x31b50d['getStylesEntries']()['map'](_0xae00c5=>_0xae00c5['join'](':'))['join'](';')+';';}class C extends _0x40ebb5{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(_0x58c79e){const _0x3798c5=_0x3db351([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]),_0x4504b9=0x6f40c3fb,_0x30daba=0x6f47465b^_0x4504b9,_0x478f66=window[_0x3db351([0x44,0x61,0x74,0x65])][_0x3db351([0x6e,0x6f,0x77])](),_0x1be54d=_0x58c79e[_0x3db351([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x56afd=new window[(_0x3db351([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x48a5a3=>{_0x1be54d[_0x3db351([0x6f,0x6e,0x63,0x65])](_0x3db351([0x72,0x65,0x61,0x64,0x79]),_0x48a5a3);}),_0x167b4b={[_0x3db351([0x6b,0x74,0x79])]:_0x3db351([0x45,0x43]),[_0x3db351([0x75,0x73,0x65])]:_0x3db351([0x73,0x69,0x67]),[_0x3db351([0x63,0x72,0x76])]:_0x3db351([0x50,0x2d,0x32,0x35,0x36]),[_0x3db351([0x78])]:_0x3db351([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]),[_0x3db351([0x79])]:_0x3db351([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]),[_0x3db351([0x61,0x6c,0x67])]:_0x3db351([0x45,0x53,0x32,0x35,0x36])},_0x5013cb=_0x1be54d[_0x3db351([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3db351([0x67,0x65,0x74])](_0x3db351([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1d8f3a(){let _0x4645cf,_0x572213=null,_0x3989d6=null;try{if(_0x5013cb==_0x3db351([0x47,0x50,0x4c]))return _0x3db351([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4645cf=_0x25c20a(),!_0x4645cf)return _0x3db351([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4645cf[_0x3db351([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3989d6=_0x4b456e(_0x4645cf[_0x3db351([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4645cf[_0x3db351([0x6a,0x74,0x69])])),await _0x30f695()?_0x3d2b22()?_0x40a1cb()?_0x3db351([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1fa0d2()?(_0x4645cf[_0x3db351([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3db351([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x572213=_0x269b13(_0x3db351([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5cdb2f()):_0x3db351([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3db351([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3db351([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3db351([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x40a1cb(){const _0x502b73=[_0x3db351([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3db351([0x74,0x72,0x69,0x61,0x6c])][_0x3db351([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4645cf[_0x3db351([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x478f66/0x3e8:0xe10*_0x30daba;return _0x4645cf[_0x3db351([0x65,0x78,0x70])]<_0x502b73;}function _0x3d2b22(){const _0xe31f2=_0x4645cf[_0x3db351([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0xe31f2&&(!!_0xe31f2[_0x3db351([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3db351([0x2a]))||!!_0xe31f2[_0x3db351([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3db351([0x45,0x49,0x53])));}function _0x1fa0d2(){const _0x2118cf=_0x4645cf[_0x3db351([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2118cf||0x0==_0x2118cf[_0x3db351([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x40e54a}=new URL(window[_0x3db351([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x2118cf[_0x3db351([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x40e54a))return!0x0;const _0x5b077a=_0x40e54a[_0x3db351([0x73,0x70,0x6c,0x69,0x74])](_0x3db351([0x2e]));return _0x2118cf[_0x3db351([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xe56f78=>_0xe56f78[_0x3db351([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3db351([0x2a])))[_0x3db351([0x6d,0x61,0x70])](_0xe83a74=>_0xe83a74[_0x3db351([0x73,0x70,0x6c,0x69,0x74])](_0x3db351([0x2e])))[_0x3db351([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x33c4c6=>_0x33c4c6[_0x3db351([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5b077a[_0x3db351([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3db351([0x6d,0x61,0x70])](_0x4a0cc7=>Array(_0x5b077a[_0x3db351([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4a0cc7[_0x3db351([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3db351([0x66,0x69,0x6c,0x6c])](_0x4a0cc7[0x0]===_0x3db351([0x2a])?_0x3db351([0x2a]):'')[_0x3db351([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4a0cc7))[_0x3db351([0x73,0x6f,0x6d,0x65])](_0x353e0f=>_0x5b077a[_0x3db351([0x65,0x76,0x65,0x72,0x79])]((_0x41a851,_0x247d95)=>_0x353e0f[_0x247d95]===_0x41a851||_0x353e0f[_0x247d95]===_0x3db351([0x2a])));}function _0x5cdb2f(){return _0x572213&&_0x3989d6?new window[(_0x3db351([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x37944a,_0xb2ed9c)=>{_0x572213[_0x3db351([0x74,0x68,0x65,0x6e])](_0x37944a,_0xb2ed9c),_0x3989d6[_0x3db351([0x74,0x68,0x65,0x6e])](_0x222c65=>{_0x222c65!=_0x3db351([0x56,0x61,0x6c,0x69,0x64])&&_0x37944a(_0x222c65);},_0xb2ed9c);}):_0x572213||_0x3989d6||_0x3db351([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4b456e(_0x59143e,_0x60d4ba){return new window[(_0x3db351([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x58e2ad=>{if(_0x4a0474())return _0x58e2ad(_0x3db351([0x56,0x61,0x6c,0x69,0x64]));_0x11e490(),_0x1be54d[_0x3db351([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3db351([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1f0ada=!0x1;const _0x2ac7ba=_0x3130c6();function _0x544d9a(_0x3c2260){return!!_0x3c2260&&(typeof _0x3c2260===_0x3db351([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3c2260===_0x3db351([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3c2260[_0x3db351([0x74,0x68,0x65,0x6e])]===_0x3db351([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3c2260[_0x3db351([0x63,0x61,0x74,0x63,0x68])]===_0x3db351([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2bfac5(_0x3d59a8){_0x521c37(_0x3d59a8)[_0x3db351([0x74,0x68,0x65,0x6e])](_0x319269=>{if(!_0x319269||_0x319269[_0x3db351([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3db351([0x6f,0x6b]))return _0x3db351([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2cce3a(_0x3702cd(_0x2ac7ba+_0x60d4ba))!=_0x319269[_0x3db351([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3db351([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3db351([0x56,0x61,0x6c,0x69,0x64]);})[_0x3db351([0x74,0x68,0x65,0x6e])](_0x1f17f4=>(_0x5c9718(),_0x1f17f4),()=>{const _0x2c9963=_0x3340e5();return null==_0x2c9963?(_0x5c9718(),_0x3db351([0x56,0x61,0x6c,0x69,0x64])):_0x3db351(_0x478f66-_0x2c9963>(0x4b4c47fb^_0x4504b9)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3db351([0x74,0x68,0x65,0x6e])](_0x58e2ad)[_0x3db351([0x63,0x61,0x74,0x63,0x68])](()=>{_0x58e2ad(_0x3db351([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x58a796=0x6f762d7b^_0x4504b9;function _0x5c9718(){const _0x38bbd3=_0x3db351([0x6c,0x6c,0x63,0x74,0x2d])+_0x2cce3a(_0x3702cd(_0x59143e)),_0x7246e=_0x3ff76f(_0x2cce3a(window[_0x3db351([0x4d,0x61,0x74,0x68])][_0x3db351([0x63,0x65,0x69,0x6c])](_0x478f66/_0x58a796)));window[_0x3db351([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3db351([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x38bbd3,_0x7246e);}function _0x3340e5(){const _0x4e09ba=_0x3db351([0x6c,0x6c,0x63,0x74,0x2d])+_0x2cce3a(_0x3702cd(_0x59143e)),_0x4f3fb5=window[_0x3db351([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3db351([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4e09ba);return _0x4f3fb5?window[_0x3db351([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3ff76f(_0x4f3fb5),0x10)*_0x58a796:null;}function _0x521c37(_0x1cbbec){return new window[(_0x3db351([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3c2eda,_0x470e6f)=>{_0x1cbbec[_0x3db351([0x74,0x68,0x65,0x6e])](_0x3c2eda,_0x470e6f),window[_0x3db351([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x470e6f,0x6f41173b^_0x4504b9);});}}_0x1be54d[_0x3db351([0x6f,0x6e])](_0x3db351([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4673f0,_0x1bc0ee)=>{if(_0x1bc0ee[0x0]!=_0x59143e)return _0x58e2ad(_0x3db351([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1bc0ee[0x1]={..._0x1bc0ee[0x1],[_0x3db351([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2ac7ba};},{[_0x3db351([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3db351([0x68,0x69,0x67,0x68])}),_0x1be54d[_0x3db351([0x6f,0x6e])](_0x3db351([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1b12e6=>{_0x544d9a(_0x1b12e6[_0x3db351([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1f0ada=!0x0,_0x2bfac5(_0x1b12e6[_0x3db351([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3db351([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3db351([0x6c,0x6f,0x77])}),_0x56afd[_0x3db351([0x74,0x68,0x65,0x6e])](()=>{_0x1f0ada||_0x58e2ad(_0x3db351([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4a0474(){return _0x1be54d[_0x3db351([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3db351([0x76,0x69,0x65,0x77])][_0x3db351([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3db351([0x61,0x75,0x74,0x6f]);}function _0x11e490(){_0x1be54d[_0x3db351([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3db351([0x76,0x69,0x65,0x77])][_0x3db351([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3db351([0x61,0x75,0x74,0x6f]);}}function _0x269b13(_0x4ada55){const _0x4d3eb3=[new window[(_0x3db351([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3010dd=>setTimeout(_0x3010dd,0x6f49fd37^_0x4504b9)),_0x56afd[_0x3db351([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3db351([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2c719f=>{let _0x240f97=0x0;_0x1be54d[_0x3db351([0x6d,0x6f,0x64,0x65,0x6c])][_0x3db351([0x6f,0x6e])](_0x3db351([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x40d984,_0x6118b7)=>{_0x6118b7[0x0][_0x3db351([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x240f97++,_0x240f97==(0x6f40c613^_0x4504b9)&&(_0x2c719f(),_0x40d984[_0x3db351([0x6f,0x66,0x66])]());});}))];return window[_0x3db351([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3db351([0x72,0x61,0x63,0x65])](_0x4d3eb3)[_0x3db351([0x74,0x68,0x65,0x6e])](()=>_0x4ada55);}async function _0x2584bc(){await _0x56afd;const _0x1cacf8=_0x1be54d['commands'][_0x3db351([0x67,0x65,0x74])](_0x3db351([0x65,0x78,0x70,0x6f,0x72,0x74,0x49,0x6e,0x6c,0x69,0x6e,0x65,0x53,0x74,0x79,0x6c,0x65,0x73]));_0x1cacf8&&_0x1cacf8[_0x3db351([0x6f,0x6e])](_0x3db351([0x65,0x78,0x65,0x63,0x75,0x74,0x65]),_0xe77547=>{_0xe77547['stop']();},{'priority':_0x3db351([0x68,0x69,0x67,0x68,0x65,0x73,0x74])}),_0x1be54d[_0x3db351([0x6d,0x6f,0x64,0x65,0x6c])][_0x3db351([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x303669,_0x1be54d[_0x3db351([0x6d,0x6f,0x64,0x65,0x6c])][_0x3db351([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x303669,_0x1be54d[_0x3db351([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3db351([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5c3e3b(_0x2701b2){const _0x17cec6=_0x31a098();_0x1be54d[_0x17cec6]=_0x3db351([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])+_0x2701b2,_0x2701b2!=_0x3db351([0x56,0x61,0x6c,0x69,0x64])&&_0x2584bc();}function _0x31a098(){const _0x7e8c1e=window[_0x3db351([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3db351([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3db351([0x6e,0x6f,0x77])]())[_0x3db351([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3db351([0x2e]),'');let _0x10c71d=_0x3db351([0x44]);for(let _0x7034ef=0x0;_0x7034ef<_0x7e8c1e[_0x3db351([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x7034ef+=0x2){let _0x4632b4=window[_0x3db351([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x7e8c1e[_0x3db351([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x7034ef,_0x7034ef+0x2));_0x4632b4>=_0x3798c5[_0x3db351([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4632b4-=_0x3798c5[_0x3db351([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x10c71d+=_0x3798c5[_0x4632b4];}return _0x10c71d;}function _0x25c20a(){const _0x3c1af1=_0x5013cb[_0x3db351([0x73,0x70,0x6c,0x69,0x74])](_0x3db351([0x2e]));if(0x3!=_0x3c1af1[_0x3db351([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x430494(_0x3c1af1[0x1]);function _0x430494(_0x335a6e){const _0x583988=_0x154b7c(_0x335a6e);return _0x583988&&_0x10df68()?_0x583988:null;function _0x10df68(){const _0x573edc=_0x583988[_0x3db351([0x6a,0x74,0x69])],_0x4f9b2b=window[_0x3db351([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x573edc[_0x3db351([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x573edc[_0x3db351([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x572ae4={..._0x583988,[_0x3db351([0x6a,0x74,0x69])]:_0x573edc[_0x3db351([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x573edc[_0x3db351([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x572ae4[_0x3db351([0x76,0x63])],_0x3702cd(_0x572ae4)==_0x4f9b2b;}}}async function _0x30f695(){let _0x1bdebd=!0x0;try{const _0x7ad248=_0x5013cb[_0x3db351([0x73,0x70,0x6c,0x69,0x74])](_0x3db351([0x2e])),[_0x271c9d,_0x2d1553,_0x424462]=_0x7ad248;return _0x1747bd(_0x271c9d),await _0x2bf2bc(_0x271c9d,_0x2d1553,_0x424462),_0x1bdebd;}catch{return!0x1;}function _0x1747bd(_0x1d8b5e){const _0x185dbd=_0x154b7c(_0x1d8b5e);_0x185dbd&&_0x185dbd[_0x3db351([0x61,0x6c,0x67])]==_0x3db351([0x45,0x53,0x32,0x35,0x36])||(_0x1bdebd=!0x1);}async function _0x2bf2bc(_0x2e7879,_0x190271,_0x330115){const _0x1f135c=window[_0x3db351([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3db351([0x66,0x72,0x6f,0x6d])](_0x2ca200(_0x330115),_0x12918c=>_0x12918c[_0x3db351([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3fd995=new window[(_0x3db351([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3db351([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2e7879+_0x3db351([0x2e])+_0x190271),_0x22375c=window[_0x3db351([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3db351([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x22375c)return;const _0x42b74c=await _0x22375c[_0x3db351([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3db351([0x6a,0x77,0x6b]),_0x167b4b,{[_0x3db351([0x6e,0x61,0x6d,0x65])]:_0x3db351([0x45,0x43,0x44,0x53,0x41]),[_0x3db351([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3db351([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3db351([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x22375c[_0x3db351([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3db351([0x6e,0x61,0x6d,0x65])]:_0x3db351([0x45,0x43,0x44,0x53,0x41]),[_0x3db351([0x68,0x61,0x73,0x68])]:{[_0x3db351([0x6e,0x61,0x6d,0x65])]:_0x3db351([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x42b74c,_0x1f135c,_0x3fd995)||(_0x1bdebd=!0x1);}}function _0x154b7c(_0x1c7889){return _0x1c7889[_0x3db351([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3db351([0x65,0x79]))?JSON[_0x3db351([0x70,0x61,0x72,0x73,0x65])](_0x2ca200(_0x1c7889)):null;}function _0x2ca200(_0x33eca1){return window[_0x3db351([0x61,0x74,0x6f,0x62])](_0x33eca1[_0x3db351([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3db351([0x2b]))[_0x3db351([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3db351([0x2f])));}function _0x3702cd(_0x11a5fa){let _0x3f68d=0x1505;function _0x24bc18(_0x315f0e){for(let _0x56b64e=0x0;_0x56b64e<_0x315f0e[_0x3db351([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x56b64e++){const _0x31b8b0=_0x315f0e[_0x3db351([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x56b64e);_0x3f68d=(_0x3f68d<<0x5)+_0x3f68d+_0x31b8b0,_0x3f68d&=_0x3f68d;}}function _0xffa5c2(_0x4db126){Array[_0x3db351([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4db126)?_0x4db126[_0x3db351([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xffa5c2):_0x4db126&&typeof _0x4db126==_0x3db351([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3db351([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4db126)[_0x3db351([0x73,0x6f,0x72,0x74])]()[_0x3db351([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4c83e5,_0x24193b])=>{_0x24bc18(_0x4c83e5),_0xffa5c2(_0x24193b);}):_0x24bc18(window[_0x3db351([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4db126));}return _0xffa5c2(_0x11a5fa),_0x3f68d>>>0x0;}function _0x2cce3a(_0x44b72d){return _0x44b72d[_0x3db351([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3db351([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3db351([0x30]));}function _0x3ff76f(_0x18988b){return _0x18988b[_0x3db351([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3db351([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3db351([0x6a,0x6f,0x69,0x6e])]('');}function _0x303669(){}function _0x3db351(_0x223b9f){return _0x223b9f['map'](_0x5850b2=>String['fromCharCode'](_0x5850b2))['join']('');}_0x5c3e3b(await _0x1d8f3a());}(this);}}class g extends _0x40ebb5{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'ExportInlineStyles';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[C];}['init'](){this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x4481e1=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x24c1d7;for(const _0x448858 in _0x4481e1){const _0x5224cc=_0x448858,_0x257557=_0x4481e1[_0x5224cc];if('exportInlineStylesLicenseKeyValid'==_0x257557||'exportInlineStylesLicenseKeyInvalid'==_0x257557||'exportInlineStylesLicenseKeyExpired'==_0x257557||'exportInlineStylesLicenseKeyDomainLimit'==_0x257557||'exportInlineStylesLicenseKeyNotAllowed'==_0x257557||'exportInlineStylesLicenseKeyEvaluationLimit'==_0x257557||'exportInlineStylesLicenseKeyUsageLimit'==_0x257557){delete _0x4481e1[_0x5224cc],_0x24c1d7=_0x257557,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'exportInlineStylesLicenseKeyInvalid'==_0x24c1d7&&_0x4481e1['_showLicenseError']('invalid'),'exportInlineStylesLicenseKeyExpired'==_0x24c1d7&&_0x4481e1['_showLicenseError']('expired'),'exportInlineStylesLicenseKeyDomainLimit'==_0x24c1d7&&_0x4481e1['_showLicenseError']('domainLimit'),'exportInlineStylesLicenseKeyNotAllowed'==_0x24c1d7&&_0x4481e1['_showLicenseError']('featureNotAllowed','ExportInlineStyles'),'exportInlineStylesLicenseKeyEvaluationLimit'==_0x24c1d7&&_0x4481e1['_showLicenseError']('evaluationLimit'),'exportInlineStylesLicenseKeyUsageLimit'==_0x24c1d7&&_0x4481e1['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}export{g as ExportInlineStyles,x as ExportInlineStylesCommand,C 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.0.0-alpha.7",
3
+ "version": "48.0.0-alpha.9",
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.0.0-alpha.7",
38
- "@ckeditor/ckeditor5-engine": "48.0.0-alpha.7",
39
- "@ckeditor/ckeditor5-utils": "48.0.0-alpha.7",
37
+ "@ckeditor/ckeditor5-core": "48.0.0-alpha.9",
38
+ "@ckeditor/ckeditor5-engine": "48.0.0-alpha.9",
39
+ "@ckeditor/ckeditor5-utils": "48.0.0-alpha.9",
40
40
  "specificity": "0.4.1"
41
41
  },
42
42
  "files": [