@ckeditor/ckeditor5-export-inline-styles 48.0.0-alpha.10 → 48.0.0-alpha.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Command as _0x511a75,Plugin as _0x395568}from'@ckeditor/ckeditor5-core/dist/index.js';import{collectStylesheets as _0x5a7d15,createElement as _0x5c5061,uid as _0x109f3e}from'@ckeditor/ckeditor5-utils/dist/index.js';import{calculate as _0x3e7d14,compare as _0x1b89c3}from'specificity';import{StylesMap as _0x32e050,addMarginStylesRules as _0x46dd85,addPaddingStylesRules as _0x69ef60}from'@ckeditor/ckeditor5-engine/dist/index.js';function f(_0x119695){const _0x229100=[];let _0x4bb9c6='',_0x1a20d5=0x0;for(;_0x1a20d5<_0x119695['length'];){const _0x34f90f=_0x119695[_0x1a20d5];if('('===_0x34f90f){const _0x345268=y(_0x119695,_0x1a20d5+0x1);if(-0x1===_0x345268)return[];_0x4bb9c6+=_0x119695['slice'](_0x1a20d5,_0x345268+0x1),_0x1a20d5=_0x345268+0x1;}else','!==_0x34f90f||_0x4bb9c6['endsWith']('\x5c')?(_0x4bb9c6+=_0x34f90f,_0x1a20d5++):(_0x229100['push'](_0x4bb9c6['trim']()),_0x4bb9c6='',_0x1a20d5++);}return _0x4bb9c6['trim']()&&_0x229100['push'](_0x4bb9c6['trim']()),_0x229100['filter'](Boolean);}function y(_0x2e307b,_0x34678e){let _0x1be153=0x1;for(let _0x38da8f=_0x34678e;_0x38da8f<_0x2e307b['length'];_0x38da8f++){const _0x58d378=_0x2e307b[_0x38da8f];if('('===_0x58d378)_0x1be153++;else{if(')'===_0x58d378&&(_0x1be153--,0x0===_0x1be153))return _0x38da8f;}}return-0x1;}function w(_0x14cd91){return _0x14cd91['replace'](/!\s*important/i,'')['trim']();}function p(_0x3f2817,_0x5dd525){const _0x4ff970=new Map(),_0x17085b=_0x42dfb0=>_0x4ff970['has'](_0x42dfb0)?_0x4ff970['get'](_0x42dfb0):_0x3f2817(_0x42dfb0);for(const [_0x189e72,_0x4bad76]of _0x5dd525['getStylesEntries']())if(_0x4bad76&&_0x189e72['startsWith']('--')){const _0x52a682=d(_0x17085b,_0x4bad76);_0x4ff970['set'](_0x189e72,_0x52a682),_0x5dd525['remove'](_0x189e72);}for(const [_0x51301,_0xf2e376]of _0x5dd525['getStylesEntries']())if(_0xf2e376){const _0x35834b=d(_0x17085b,_0xf2e376);_0x5dd525['set'](_0x51301,_0x35834b);}return _0x4ff970;}function d(_0xee14df,_0x21d5d5){return function(_0x47a319,_0x57f2c0){let _0x3a462e='',_0x344220=0x0;for(;_0x344220<_0x47a319['length'];){const _0x1cc7a4=_0x47a319['indexOf']('var(',_0x344220);if(-0x1===_0x1cc7a4){_0x3a462e+=_0x47a319['slice'](_0x344220);break;}_0x3a462e+=_0x47a319['slice'](_0x344220,_0x1cc7a4);const _0x12b17f=_0x1cc7a4+0x4,_0x4e79e2=y(_0x47a319,_0x12b17f);_0x3a462e+=_0x57f2c0(_0x47a319['substring'](_0x12b17f,_0x4e79e2)),_0x344220=_0x4e79e2+0x1;}return _0x3a462e;}(_0x21d5d5,_0x27bc3a=>{const [_0x550535,_0x20dd77]=f(_0x27bc3a),_0x1377b4=_0xee14df(_0x550535);return void 0x0!==_0x1377b4?_0x1377b4:_0x20dd77?d(_0xee14df,_0x20dd77):'var('+_0x550535+')';});}async function h(_0x5c8b2d){const _0x451c80=[await _0x5a7d15(_0x5c8b2d['stylesheets']),_0x5c8b2d['inlineCss']]['filter'](_0x3a8a44=>_0x3a8a44&&_0x3a8a44['length'])['join']('\x0a'),_0x2ad155=await async function(_0x48e5ad,_0x556746){const _0x400748=new CSSStyleSheet();return await _0x400748['replace'](_0x556746),S(Array['from'](_0x400748['cssRules'])['filter'](_0x1ff0ed=>_0x1ff0ed instanceof CSSStyleRule))['flatMap'](({selectorText:_0x30420f,contentCssText:_0x2050dc})=>{const _0x2b1efd=f(_0x30420f),_0x3b91c9=new _0x32e050(_0x48e5ad)['setTo'](_0x2050dc);return _0x2b1efd['map'](_0x13e741=>{const _0x4cfe37=function(_0x3fdbac){const _0x14e1f1=':where(';let _0xdb13b5=_0x3fdbac,_0x5ef76a=0x0;for(let _0x20e815=0x0;_0x20e815<0x64;_0x20e815++){const _0x156b52=_0xdb13b5['indexOf'](_0x14e1f1,_0x5ef76a);if(-0x1===_0x156b52)break;let _0x420992=0x0;for(let _0x2c24e2=0x0;_0x2c24e2<_0x156b52;_0x2c24e2++)'('===_0xdb13b5[_0x2c24e2]?_0x420992++:')'===_0xdb13b5[_0x2c24e2]&&_0x420992--;if(_0x420992>0x0){_0x5ef76a=_0x156b52+_0x14e1f1['length'];continue;}let _0x2404c7=-0x1;for(let _0x4dc861=_0x156b52+_0x14e1f1['length'],_0x2694b5=0x1;_0x4dc861<_0xdb13b5['length'];_0x4dc861++)if('('===_0xdb13b5[_0x4dc861]?_0x2694b5++:')'===_0xdb13b5[_0x4dc861]&&_0x2694b5--,!_0x2694b5){_0x2404c7=_0x4dc861;break;}-0x1!==_0x2404c7?(_0xdb13b5=_0xdb13b5['slice'](0x0,_0x156b52)+_0xdb13b5['slice'](_0x2404c7+0x1),_0x5ef76a=_0x156b52):_0x5ef76a=_0x156b52+_0x14e1f1['length'];}return _0xdb13b5['replace'](/\s+/g,'\x20')['trim']();}(_0x13e741),_0x518ceb=_0x4cfe37?_0x3e7d14(_0x4cfe37)[0x0]['specificityArray']:[0x0,0x0,0x0,0x0];return{'stylesMap':_0x3b91c9,'flatSelector':_0x13e741,'specificity':_0x518ceb};});})['sort']((_0x331fa9,_0x3df54a)=>_0x1b89c3(_0x331fa9['specificity'],_0x3df54a['specificity']));}(_0x5c8b2d['stylesProcessor'],_0x451c80);return{'parsedCssRules':_0x2ad155,'rootCssVariables':function(_0x1a957e){const _0x3c31c7=new Map();for(const {stylesMap:_0x1fc8b4,flatSelector:_0x340432}of _0x1a957e){if(':root'!==_0x340432)continue;const _0x4779d4=p(_0x3c31c7['get']['bind'](_0x3c31c7),_0x1fc8b4);for(const [_0x10b46b,_0x33ee0e]of _0x4779d4)_0x3c31c7['set'](_0x10b46b,_0x33ee0e);}return _0x3c31c7;}(_0x2ad155)};}function S(_0x13e5db,_0x2b9b1f=''){return _0x13e5db['flatMap'](_0x2a720c=>{const {selectorText:_0x360cd3,cssText:_0x2e7c62,cssRules:_0x34fb2e}=_0x2a720c;if(!_0x360cd3)return[];const _0x13c65e=_0x360cd3['replace'](/&/g,_0x2b9b1f);let _0xe80078=_0x2e7c62['replace'](_0x360cd3,'')['trim']()['replace'](/^{|}$/g,'');if(!_0x34fb2e||!_0x34fb2e['length'])return[{'selectorText':_0x13c65e,'contentCssText':_0xe80078}];for(const _0xe464c8 of _0x34fb2e)_0xe80078=_0xe80078['replace'](_0xe464c8['cssText'],'')['trim']();return[{'selectorText':_0x13c65e,'contentCssText':_0xe80078},...S(Array['from'](_0x34fb2e),_0x13c65e)];});}function m(_0x170db6,_0x5d9827){const _0x3222e0=new _0x32e050(_0x170db6);for(const _0x3fe274 of _0x5d9827){let _0x2265c1=null;if(_0x2265c1='string'==typeof _0x3fe274?new _0x32e050(_0x170db6)['setTo'](_0x3fe274):_0x3fe274,_0x2265c1){for(const [_0x2f3b4c,_0x53b34f]of _0x2265c1['getStylesEntries']())_0x3222e0['set'](_0x2f3b4c,_0x53b34f);}}return _0x3222e0;}class x extends _0x511a75{['_stylesProcessor'];constructor(_0x52b4c2){super(_0x52b4c2),this['set']('isBusy',!0x1),this['_stylesProcessor']=this['editor']['data']['stylesProcessor'],_0x46dd85(this['_stylesProcessor']),_0x69ef60(this['_stylesProcessor']),this['affectsData']=!0x1;}['refresh'](){this['isEnabled']=!this['isBusy'],this['value']=this['isBusy']?'pending':void 0x0;}async['execute'](_0x5b1fb2){const _0x162ad2=this['editor']['config']['get']('exportInlineStyles'),{contentLanguageDirection:_0x4ecd63}=this['editor']['locale'],{rootName:_0x191849='main',dataControllerDowncastOptions:_0x4782af={},transformations:_0x1bb32b=_0x162ad2['transformations']||[]}=_0x5b1fb2||{};this['isBusy']=!0x0,this['refresh']();const _0x26ba4f=this['_getRootDataHTMLFragment'](_0x191849,_0x4782af),_0x1b225e=_0x5c5061(_0x26ba4f['ownerDocument'],'div',{'dir':_0x4ecd63,'class':'ck-content'},[_0x26ba4f]);return this['_collectAndApplyStyles'](_0x1bb32b,_0x1b225e)['then'](()=>{const _0x365b32=function(_0xccb1d){const _0x15afe9=_0xccb1d['ownerDocument']['createDocumentFragment']();for(;_0xccb1d['firstChild'];)_0x15afe9['appendChild'](_0xccb1d['firstChild']);return _0x15afe9;}(_0x1b225e),_0x568762=_0x1b225e['getAttribute']('style');if(_0x568762)for(const _0x538ac2 of _0x365b32['children']){const _0x1f53f0=_0x538ac2['getAttribute']('style'),_0x34ccb6=m(this['_stylesProcessor'],[_0x568762,_0x1f53f0]);_0x538ac2['setAttribute']('style',L(_0x34ccb6));}return this['editor']['data']['htmlProcessor']['htmlWriter']['getHtml'](_0x365b32);})['finally'](()=>{this['isBusy']=!0x1,this['refresh']();});}['_getRootDataHTMLFragment'](_0x12484e,_0x1d5663){const {data:_0x2cd427,model:_0x984f99}=this['editor'],_0x642e9=_0x984f99['document']['getRoot'](_0x12484e),_0x5e2cf8=_0x2cd427['toView'](_0x642e9,_0x1d5663);return _0x2cd427['htmlProcessor']['domConverter']['viewToDom'](_0x5e2cf8);}async['_collectAndApplyStyles'](_0x5055cb,_0x5bde92){const {stylesheets:_0x2e9844,inlineCss:_0x31c203,stripCssClasses:_0x235056}=this['editor']['config']['get']('exportInlineStyles'),{parsedCssRules:_0x147592,rootCssVariables:_0x16e544}=await h({'stylesheets':_0x2e9844||['EDITOR_STYLES'],'stylesProcessor':this['_stylesProcessor'],'inlineCss':_0x31c203});this['_processElementTree']({'transformations':_0x5055cb,'parsedCssRules':_0x147592,'element':_0x5bde92,'stripCssClasses':_0x235056,'parentCSSVariablesLookup':_0x16e544['get']['bind'](_0x16e544)});}['_processElementTree']({element:_0x570db5,parsedCssRules:_0x1d30ec,parentCSSVariablesLookup:_0x2f93c7,stripCssClasses:_0x2908e8,transformations:_0x219c7c}){const {stylesMap:_0x48c9bd,localCSSVariables:_0x3f6097}=function(_0x2027ee){const _0x3e4495=_0x2027ee['element']['getAttribute']('style')||'',_0x5e3538=_0x2027ee['parsedCssRules']['filter'](_0x485239=>_0x2027ee['element']['matches'](_0x485239['flatSelector']))['map'](_0x4d89a2=>_0x4d89a2['stylesMap']),_0x29a6a9=m(_0x2027ee['stylesProcessor'],[..._0x5e3538,_0x3e4495]);return{'localCSSVariables':p(_0x2027ee['fallbackCSSVariablesLookup'],_0x29a6a9),'stylesMap':_0x29a6a9};}({'stylesProcessor':this['_stylesProcessor'],'fallbackCSSVariablesLookup':_0x2f93c7,'parsedCssRules':_0x1d30ec,'element':_0x570db5});for(const _0x22c3bd of _0x219c7c){const _0x442594=_0x22c3bd(_0x570db5,_0x48c9bd);_0x442594&&_0x442594 instanceof HTMLElement&&(_0x570db5=_0x442594);}_0x48c9bd['size']?_0x570db5['setAttribute']('style',L(_0x48c9bd)):_0x570db5['removeAttribute']('style');const _0x83d158=_0x56d3de=>_0x3f6097['has'](_0x56d3de)?_0x3f6097['get'](_0x56d3de):_0x2f93c7(_0x56d3de);for(const _0x1bcaf9 of _0x570db5['children'])_0x1bcaf9 instanceof HTMLElement&&this['_processElementTree']({'element':_0x1bcaf9,'parentCSSVariablesLookup':_0x83d158,'parsedCssRules':_0x1d30ec,'stripCssClasses':_0x2908e8,'transformations':_0x219c7c});_0x2908e8&&_0x570db5['removeAttribute']('class');}}function L(_0x227e6d){return _0x227e6d['getStylesEntries']()['map'](_0x2706ec=>_0x2706ec['join'](':'))['join'](';')+';';}class C extends _0x395568{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(_0x4b31dd){const _0x36a6cc=_0x3b91f7([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]),_0x391749=0x6f40c3fb,_0x2e0e27=0x6f474643^_0x391749,_0x5b1ef1=window[_0x3b91f7([0x44,0x61,0x74,0x65])][_0x3b91f7([0x6e,0x6f,0x77])](),_0x2f6632=_0x4b31dd[_0x3b91f7([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x993aad=new window[(_0x3b91f7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x97bbdb=>{_0x2f6632[_0x3b91f7([0x6f,0x6e,0x63,0x65])](_0x3b91f7([0x72,0x65,0x61,0x64,0x79]),_0x97bbdb);}),_0x1c839d={[_0x3b91f7([0x6b,0x74,0x79])]:_0x3b91f7([0x45,0x43]),[_0x3b91f7([0x75,0x73,0x65])]:_0x3b91f7([0x73,0x69,0x67]),[_0x3b91f7([0x63,0x72,0x76])]:_0x3b91f7([0x50,0x2d,0x32,0x35,0x36]),[_0x3b91f7([0x78])]:_0x3b91f7([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]),[_0x3b91f7([0x79])]:_0x3b91f7([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]),[_0x3b91f7([0x61,0x6c,0x67])]:_0x3b91f7([0x45,0x53,0x32,0x35,0x36])},_0xddc001=_0x2f6632[_0x3b91f7([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3b91f7([0x67,0x65,0x74])](_0x3b91f7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x137111(){let _0x6ebc54,_0x2f2874=null,_0x5643b8=null;try{if(_0xddc001==_0x3b91f7([0x47,0x50,0x4c]))return _0x3b91f7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x6ebc54=_0x3524d2(),!_0x6ebc54)return _0x3b91f7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x6ebc54[_0x3b91f7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5643b8=_0x3bce7f(_0x6ebc54[_0x3b91f7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x6ebc54[_0x3b91f7([0x6a,0x74,0x69])])),await _0x478ce5()?_0x356287()?_0x56eb47()?_0x3b91f7([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x450e83()?(_0x6ebc54[_0x3b91f7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3b91f7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2f2874=_0x3b5033(_0x3b91f7([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3e547f()):_0x3b91f7([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3b91f7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3b91f7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3b91f7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x56eb47(){const _0x1e754e=[_0x3b91f7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3b91f7([0x74,0x72,0x69,0x61,0x6c])][_0x3b91f7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x6ebc54[_0x3b91f7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5b1ef1/0x3e8:0xe10*_0x2e0e27;return _0x6ebc54[_0x3b91f7([0x65,0x78,0x70])]<_0x1e754e;}function _0x356287(){const _0x2c762c=_0x6ebc54[_0x3b91f7([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2c762c&&(!!_0x2c762c[_0x3b91f7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3b91f7([0x2a]))||!!_0x2c762c[_0x3b91f7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3b91f7([0x45,0x49,0x53])));}function _0x450e83(){const _0x4d3f09=_0x6ebc54[_0x3b91f7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4d3f09||0x0==_0x4d3f09[_0x3b91f7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x111926}=new URL(window[_0x3b91f7([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x4d3f09[_0x3b91f7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x111926))return!0x0;const _0x324d92=_0x111926[_0x3b91f7([0x73,0x70,0x6c,0x69,0x74])](_0x3b91f7([0x2e]));return _0x4d3f09[_0x3b91f7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4fc5fd=>_0x4fc5fd[_0x3b91f7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3b91f7([0x2a])))[_0x3b91f7([0x6d,0x61,0x70])](_0x4db279=>_0x4db279[_0x3b91f7([0x73,0x70,0x6c,0x69,0x74])](_0x3b91f7([0x2e])))[_0x3b91f7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x818211=>_0x818211[_0x3b91f7([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x324d92[_0x3b91f7([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3b91f7([0x6d,0x61,0x70])](_0x4f9ea5=>Array(_0x324d92[_0x3b91f7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4f9ea5[_0x3b91f7([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3b91f7([0x66,0x69,0x6c,0x6c])](_0x4f9ea5[0x0]===_0x3b91f7([0x2a])?_0x3b91f7([0x2a]):'')[_0x3b91f7([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4f9ea5))[_0x3b91f7([0x73,0x6f,0x6d,0x65])](_0x230bf5=>_0x324d92[_0x3b91f7([0x65,0x76,0x65,0x72,0x79])]((_0x4ec8c2,_0x294872)=>_0x230bf5[_0x294872]===_0x4ec8c2||_0x230bf5[_0x294872]===_0x3b91f7([0x2a])));}function _0x3e547f(){return _0x2f2874&&_0x5643b8?new window[(_0x3b91f7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1fb6f7,_0x3f89a9)=>{_0x2f2874[_0x3b91f7([0x74,0x68,0x65,0x6e])](_0x1fb6f7,_0x3f89a9),_0x5643b8[_0x3b91f7([0x74,0x68,0x65,0x6e])](_0x1e4f49=>{_0x1e4f49!=_0x3b91f7([0x56,0x61,0x6c,0x69,0x64])&&_0x1fb6f7(_0x1e4f49);},_0x3f89a9);}):_0x2f2874||_0x5643b8||_0x3b91f7([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3bce7f(_0x4ee7cb,_0x1e0190){return new window[(_0x3b91f7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x183661=>{if(_0x4bd635())return _0x183661(_0x3b91f7([0x56,0x61,0x6c,0x69,0x64]));_0x43897c(),_0x2f6632[_0x3b91f7([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3b91f7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x33ed57=!0x1;const _0x7ca3ec=_0x109f3e();function _0x4b50e8(_0xaebc4c){return!!_0xaebc4c&&(typeof _0xaebc4c===_0x3b91f7([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xaebc4c===_0x3b91f7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xaebc4c[_0x3b91f7([0x74,0x68,0x65,0x6e])]===_0x3b91f7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xaebc4c[_0x3b91f7([0x63,0x61,0x74,0x63,0x68])]===_0x3b91f7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x56d048(_0x4cc121){_0x4fbe55(_0x4cc121)[_0x3b91f7([0x74,0x68,0x65,0x6e])](_0x442fe8=>{if(!_0x442fe8||_0x442fe8[_0x3b91f7([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3b91f7([0x6f,0x6b]))return _0x3b91f7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x439b20(_0x49f49f(_0x7ca3ec+_0x1e0190))!=_0x442fe8[_0x3b91f7([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3b91f7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3b91f7([0x56,0x61,0x6c,0x69,0x64]);})[_0x3b91f7([0x74,0x68,0x65,0x6e])](_0x1da7b3=>(_0x411031(),_0x1da7b3),()=>{const _0x2096ff=_0x2307f4();return null==_0x2096ff?(_0x411031(),_0x3b91f7([0x56,0x61,0x6c,0x69,0x64])):_0x3b91f7(_0x5b1ef1-_0x2096ff>(0x4b4c47fb^_0x391749)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3b91f7([0x74,0x68,0x65,0x6e])](_0x183661)[_0x3b91f7([0x63,0x61,0x74,0x63,0x68])](()=>{_0x183661(_0x3b91f7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5a7090=0x6f762d7b^_0x391749;function _0x411031(){const _0x526c2a=_0x3b91f7([0x6c,0x6c,0x63,0x74,0x2d])+_0x439b20(_0x49f49f(_0x4ee7cb)),_0x25096d=_0x5a0167(_0x439b20(window[_0x3b91f7([0x4d,0x61,0x74,0x68])][_0x3b91f7([0x63,0x65,0x69,0x6c])](_0x5b1ef1/_0x5a7090)));window[_0x3b91f7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3b91f7([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x526c2a,_0x25096d);}function _0x2307f4(){const _0x403e09=_0x3b91f7([0x6c,0x6c,0x63,0x74,0x2d])+_0x439b20(_0x49f49f(_0x4ee7cb)),_0x4453d4=window[_0x3b91f7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3b91f7([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x403e09);return _0x4453d4?window[_0x3b91f7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5a0167(_0x4453d4),0x10)*_0x5a7090:null;}function _0x4fbe55(_0x432c80){return new window[(_0x3b91f7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3c4c3c,_0x3ce6b6)=>{_0x432c80[_0x3b91f7([0x74,0x68,0x65,0x6e])](_0x3c4c3c,_0x3ce6b6),window[_0x3b91f7([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3ce6b6,0x6f41173b^_0x391749);});}}_0x2f6632[_0x3b91f7([0x6f,0x6e])](_0x3b91f7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1a1d6c,_0x28a5b6)=>{if(_0x28a5b6[0x0]!=_0x4ee7cb)return _0x183661(_0x3b91f7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x28a5b6[0x1]={..._0x28a5b6[0x1],[_0x3b91f7([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x7ca3ec};},{[_0x3b91f7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3b91f7([0x68,0x69,0x67,0x68])}),_0x2f6632[_0x3b91f7([0x6f,0x6e])](_0x3b91f7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x346f79=>{_0x4b50e8(_0x346f79[_0x3b91f7([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x33ed57=!0x0,_0x56d048(_0x346f79[_0x3b91f7([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3b91f7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3b91f7([0x6c,0x6f,0x77])}),_0x993aad[_0x3b91f7([0x74,0x68,0x65,0x6e])](()=>{_0x33ed57||_0x183661(_0x3b91f7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4bd635(){return _0x2f6632[_0x3b91f7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3b91f7([0x76,0x69,0x65,0x77])][_0x3b91f7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3b91f7([0x61,0x75,0x74,0x6f]);}function _0x43897c(){_0x2f6632[_0x3b91f7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3b91f7([0x76,0x69,0x65,0x77])][_0x3b91f7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3b91f7([0x61,0x75,0x74,0x6f]);}}function _0x3b5033(_0x55107b){const _0x3a8adf=[new window[(_0x3b91f7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5d7280=>setTimeout(_0x5d7280,0x6f49fd37^_0x391749)),_0x993aad[_0x3b91f7([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3b91f7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x52c445=>{let _0x7d01c9=0x0;_0x2f6632[_0x3b91f7([0x6d,0x6f,0x64,0x65,0x6c])][_0x3b91f7([0x6f,0x6e])](_0x3b91f7([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1d4611,_0x3a920c)=>{_0x3a920c[0x0][_0x3b91f7([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x7d01c9++,_0x7d01c9==(0x6f40c613^_0x391749)&&(_0x52c445(),_0x1d4611[_0x3b91f7([0x6f,0x66,0x66])]());});}))];return window[_0x3b91f7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3b91f7([0x72,0x61,0x63,0x65])](_0x3a8adf)[_0x3b91f7([0x74,0x68,0x65,0x6e])](()=>_0x55107b);}async function _0x3215fa(){await _0x993aad;const _0x32dc8f=_0x2f6632['commands'][_0x3b91f7([0x67,0x65,0x74])](_0x3b91f7([0x65,0x78,0x70,0x6f,0x72,0x74,0x49,0x6e,0x6c,0x69,0x6e,0x65,0x53,0x74,0x79,0x6c,0x65,0x73]));_0x32dc8f&&_0x32dc8f[_0x3b91f7([0x6f,0x6e])](_0x3b91f7([0x65,0x78,0x65,0x63,0x75,0x74,0x65]),_0x4382af=>{_0x4382af['stop']();},{'priority':_0x3b91f7([0x68,0x69,0x67,0x68,0x65,0x73,0x74])}),_0x2f6632[_0x3b91f7([0x6d,0x6f,0x64,0x65,0x6c])][_0x3b91f7([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x6171e7,_0x2f6632[_0x3b91f7([0x6d,0x6f,0x64,0x65,0x6c])][_0x3b91f7([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x6171e7,_0x2f6632[_0x3b91f7([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3b91f7([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1b9bcd(_0x21c73e){const _0x498061=_0x2bda22();_0x2f6632[_0x498061]=_0x3b91f7([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])+_0x21c73e,_0x21c73e!=_0x3b91f7([0x56,0x61,0x6c,0x69,0x64])&&_0x3215fa();}function _0x2bda22(){const _0x1cfa04=window[_0x3b91f7([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3b91f7([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3b91f7([0x6e,0x6f,0x77])]())[_0x3b91f7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3b91f7([0x2e]),'');let _0x1c0272=_0x3b91f7([0x44]);for(let _0x2275b2=0x0;_0x2275b2<_0x1cfa04[_0x3b91f7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2275b2+=0x2){let _0x499427=window[_0x3b91f7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1cfa04[_0x3b91f7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2275b2,_0x2275b2+0x2));_0x499427>=_0x36a6cc[_0x3b91f7([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x499427-=_0x36a6cc[_0x3b91f7([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1c0272+=_0x36a6cc[_0x499427];}return _0x1c0272;}function _0x3524d2(){const _0x4aef9c=_0xddc001[_0x3b91f7([0x73,0x70,0x6c,0x69,0x74])](_0x3b91f7([0x2e]));if(0x3!=_0x4aef9c[_0x3b91f7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x53895c(_0x4aef9c[0x1]);function _0x53895c(_0x3cffb9){const _0x31b61f=_0x1b5077(_0x3cffb9);return _0x31b61f&&_0x14ace3()?_0x31b61f:null;function _0x14ace3(){const _0x2e466d=_0x31b61f[_0x3b91f7([0x6a,0x74,0x69])],_0x5304ec=window[_0x3b91f7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2e466d[_0x3b91f7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2e466d[_0x3b91f7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2979f6={..._0x31b61f,[_0x3b91f7([0x6a,0x74,0x69])]:_0x2e466d[_0x3b91f7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2e466d[_0x3b91f7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2979f6[_0x3b91f7([0x76,0x63])],_0x49f49f(_0x2979f6)==_0x5304ec;}}}async function _0x478ce5(){let _0x33feff=!0x0;try{const _0x516f6c=_0xddc001[_0x3b91f7([0x73,0x70,0x6c,0x69,0x74])](_0x3b91f7([0x2e])),[_0x1c670b,_0x12ce32,_0xeceb30]=_0x516f6c;return _0x40b6ab(_0x1c670b),await _0x404e6f(_0x1c670b,_0x12ce32,_0xeceb30),_0x33feff;}catch{return!0x1;}function _0x40b6ab(_0x51c607){const _0x444e89=_0x1b5077(_0x51c607);_0x444e89&&_0x444e89[_0x3b91f7([0x61,0x6c,0x67])]==_0x3b91f7([0x45,0x53,0x32,0x35,0x36])||(_0x33feff=!0x1);}async function _0x404e6f(_0x33acc4,_0x3b39fe,_0x950ffb){const _0x4d685a=window[_0x3b91f7([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3b91f7([0x66,0x72,0x6f,0x6d])](_0x5a7482(_0x950ffb),_0xafbe2f=>_0xafbe2f[_0x3b91f7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x13bc34=new window[(_0x3b91f7([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3b91f7([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x33acc4+_0x3b91f7([0x2e])+_0x3b39fe),_0x34d4e=window[_0x3b91f7([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3b91f7([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x34d4e)return;const _0x7ceab1=await _0x34d4e[_0x3b91f7([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3b91f7([0x6a,0x77,0x6b]),_0x1c839d,{[_0x3b91f7([0x6e,0x61,0x6d,0x65])]:_0x3b91f7([0x45,0x43,0x44,0x53,0x41]),[_0x3b91f7([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3b91f7([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3b91f7([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x34d4e[_0x3b91f7([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3b91f7([0x6e,0x61,0x6d,0x65])]:_0x3b91f7([0x45,0x43,0x44,0x53,0x41]),[_0x3b91f7([0x68,0x61,0x73,0x68])]:{[_0x3b91f7([0x6e,0x61,0x6d,0x65])]:_0x3b91f7([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x7ceab1,_0x4d685a,_0x13bc34)||(_0x33feff=!0x1);}}function _0x1b5077(_0x3a53c4){return _0x3a53c4[_0x3b91f7([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3b91f7([0x65,0x79]))?JSON[_0x3b91f7([0x70,0x61,0x72,0x73,0x65])](_0x5a7482(_0x3a53c4)):null;}function _0x5a7482(_0x5baa1e){return window[_0x3b91f7([0x61,0x74,0x6f,0x62])](_0x5baa1e[_0x3b91f7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3b91f7([0x2b]))[_0x3b91f7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3b91f7([0x2f])));}function _0x49f49f(_0xe1a895){let _0x5f5922=0x1505;function _0x237b89(_0xa8d64f){for(let _0x2d2ffd=0x0;_0x2d2ffd<_0xa8d64f[_0x3b91f7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2d2ffd++){const _0x5e7618=_0xa8d64f[_0x3b91f7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2d2ffd);_0x5f5922=(_0x5f5922<<0x5)+_0x5f5922+_0x5e7618,_0x5f5922&=_0x5f5922;}}function _0xd9e31d(_0x7feb60){Array[_0x3b91f7([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x7feb60)?_0x7feb60[_0x3b91f7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xd9e31d):_0x7feb60&&typeof _0x7feb60==_0x3b91f7([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3b91f7([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x7feb60)[_0x3b91f7([0x73,0x6f,0x72,0x74])]()[_0x3b91f7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1c4b07,_0x44f4db])=>{_0x237b89(_0x1c4b07),_0xd9e31d(_0x44f4db);}):_0x237b89(window[_0x3b91f7([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x7feb60));}return _0xd9e31d(_0xe1a895),_0x5f5922>>>0x0;}function _0x439b20(_0x5d3caa){return _0x5d3caa[_0x3b91f7([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3b91f7([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3b91f7([0x30]));}function _0x5a0167(_0x5464f3){return _0x5464f3[_0x3b91f7([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3b91f7([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3b91f7([0x6a,0x6f,0x69,0x6e])]('');}function _0x6171e7(){}function _0x3b91f7(_0x3ff18d){return _0x3ff18d['map'](_0x253619=>String['fromCharCode'](_0x253619))['join']('');}_0x1b9bcd(await _0x137111());}(this);}}class g extends _0x395568{['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 _0x59cee2=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4fd2da;for(const _0x1a1e8d in _0x59cee2){const _0x4b83d4=_0x1a1e8d,_0x227294=_0x59cee2[_0x4b83d4];if('exportInlineStylesLicenseKeyValid'==_0x227294||'exportInlineStylesLicenseKeyInvalid'==_0x227294||'exportInlineStylesLicenseKeyExpired'==_0x227294||'exportInlineStylesLicenseKeyDomainLimit'==_0x227294||'exportInlineStylesLicenseKeyNotAllowed'==_0x227294||'exportInlineStylesLicenseKeyEvaluationLimit'==_0x227294||'exportInlineStylesLicenseKeyUsageLimit'==_0x227294){delete _0x59cee2[_0x4b83d4],_0x4fd2da=_0x227294,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'exportInlineStylesLicenseKeyInvalid'==_0x4fd2da&&_0x59cee2['_showLicenseError']('invalid'),'exportInlineStylesLicenseKeyExpired'==_0x4fd2da&&_0x59cee2['_showLicenseError']('expired'),'exportInlineStylesLicenseKeyDomainLimit'==_0x4fd2da&&_0x59cee2['_showLicenseError']('domainLimit'),'exportInlineStylesLicenseKeyNotAllowed'==_0x4fd2da&&_0x59cee2['_showLicenseError']('featureNotAllowed','ExportInlineStyles'),'exportInlineStylesLicenseKeyEvaluationLimit'==_0x4fd2da&&_0x59cee2['_showLicenseError']('evaluationLimit'),'exportInlineStylesLicenseKeyUsageLimit'==_0x4fd2da&&_0x59cee2['_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 _0x17b130,Plugin as _0x451dd6}from'@ckeditor/ckeditor5-core/dist/index.js';import{collectStylesheets as _0x39f9db,createElement as _0x3e6175,uid as _0x1ab547}from'@ckeditor/ckeditor5-utils/dist/index.js';import{calculate as _0x254886,compare as _0x4e2c42}from'specificity';import{StylesMap as _0x52c19c,addMarginStylesRules as _0x1b5a51,addPaddingStylesRules as _0x40e8ad}from'@ckeditor/ckeditor5-engine/dist/index.js';function f(_0x4dc138){const _0x4f6a9b=[];let _0x91d08e='',_0x35400e=0x0;for(;_0x35400e<_0x4dc138['length'];){const _0x1646a0=_0x4dc138[_0x35400e];if('('===_0x1646a0){const _0x53a6b5=y(_0x4dc138,_0x35400e+0x1);if(-0x1===_0x53a6b5)return[];_0x91d08e+=_0x4dc138['slice'](_0x35400e,_0x53a6b5+0x1),_0x35400e=_0x53a6b5+0x1;}else','!==_0x1646a0||_0x91d08e['endsWith']('\x5c')?(_0x91d08e+=_0x1646a0,_0x35400e++):(_0x4f6a9b['push'](_0x91d08e['trim']()),_0x91d08e='',_0x35400e++);}return _0x91d08e['trim']()&&_0x4f6a9b['push'](_0x91d08e['trim']()),_0x4f6a9b['filter'](Boolean);}function y(_0x198bdc,_0x39a111){let _0x1f2bca=0x1;for(let _0x1ae602=_0x39a111;_0x1ae602<_0x198bdc['length'];_0x1ae602++){const _0x42a201=_0x198bdc[_0x1ae602];if('('===_0x42a201)_0x1f2bca++;else{if(')'===_0x42a201&&(_0x1f2bca--,0x0===_0x1f2bca))return _0x1ae602;}}return-0x1;}function w(_0xdd486e){return _0xdd486e['replace'](/!\s*important/i,'')['trim']();}function p(_0xecb0ed,_0x228f72){const _0x2ed4b1=new Map(),_0x427b6f=_0x2868d7=>_0x2ed4b1['has'](_0x2868d7)?_0x2ed4b1['get'](_0x2868d7):_0xecb0ed(_0x2868d7);for(const [_0x44b3db,_0x584904]of _0x228f72['getStylesEntries']())if(_0x584904&&_0x44b3db['startsWith']('--')){const _0x2d383d=d(_0x427b6f,_0x584904);_0x2ed4b1['set'](_0x44b3db,_0x2d383d),_0x228f72['remove'](_0x44b3db);}for(const [_0x1f2731,_0x401c8c]of _0x228f72['getStylesEntries']())if(_0x401c8c){const _0x44279b=d(_0x427b6f,_0x401c8c);_0x228f72['set'](_0x1f2731,_0x44279b);}return _0x2ed4b1;}function d(_0x1779cb,_0x512ff6){return function(_0x8d757b,_0x1604a0){let _0x754f54='',_0x54c8ee=0x0;for(;_0x54c8ee<_0x8d757b['length'];){const _0x1d00cf=_0x8d757b['indexOf']('var(',_0x54c8ee);if(-0x1===_0x1d00cf){_0x754f54+=_0x8d757b['slice'](_0x54c8ee);break;}_0x754f54+=_0x8d757b['slice'](_0x54c8ee,_0x1d00cf);const _0x438bcc=_0x1d00cf+0x4,_0x21fb94=y(_0x8d757b,_0x438bcc);_0x754f54+=_0x1604a0(_0x8d757b['substring'](_0x438bcc,_0x21fb94)),_0x54c8ee=_0x21fb94+0x1;}return _0x754f54;}(_0x512ff6,_0xc95ba8=>{const [_0x4be0cd,_0x1e6835]=f(_0xc95ba8),_0x540d0a=_0x1779cb(_0x4be0cd);return void 0x0!==_0x540d0a?_0x540d0a:_0x1e6835?d(_0x1779cb,_0x1e6835):'var('+_0x4be0cd+')';});}async function h(_0xd26cc2){const _0x2b8125=[await _0x39f9db(_0xd26cc2['stylesheets']),_0xd26cc2['inlineCss']]['filter'](_0x391a00=>_0x391a00&&_0x391a00['length'])['join']('\x0a'),_0x30665e=await async function(_0x2373d0,_0x1a4b02){const _0x36fb8d=new CSSStyleSheet();return await _0x36fb8d['replace'](_0x1a4b02),S(Array['from'](_0x36fb8d['cssRules'])['filter'](_0x51f0a0=>_0x51f0a0 instanceof CSSStyleRule))['flatMap'](({selectorText:_0x2219e1,contentCssText:_0x1c489b})=>{const _0x316d04=f(_0x2219e1),_0x457ad1=new _0x52c19c(_0x2373d0)['setTo'](_0x1c489b);return _0x316d04['map'](_0x5f11ab=>{const _0x3dbb7f=function(_0x1b6655){const _0x23b388=':where(';let _0x4e183d=_0x1b6655,_0x5c66b2=0x0;for(let _0x5cd291=0x0;_0x5cd291<0x64;_0x5cd291++){const _0x3f30b4=_0x4e183d['indexOf'](_0x23b388,_0x5c66b2);if(-0x1===_0x3f30b4)break;let _0x46a188=0x0;for(let _0xb47f5b=0x0;_0xb47f5b<_0x3f30b4;_0xb47f5b++)'('===_0x4e183d[_0xb47f5b]?_0x46a188++:')'===_0x4e183d[_0xb47f5b]&&_0x46a188--;if(_0x46a188>0x0){_0x5c66b2=_0x3f30b4+_0x23b388['length'];continue;}let _0x6d5c6f=-0x1;for(let _0x2afa5d=_0x3f30b4+_0x23b388['length'],_0x49a574=0x1;_0x2afa5d<_0x4e183d['length'];_0x2afa5d++)if('('===_0x4e183d[_0x2afa5d]?_0x49a574++:')'===_0x4e183d[_0x2afa5d]&&_0x49a574--,!_0x49a574){_0x6d5c6f=_0x2afa5d;break;}-0x1!==_0x6d5c6f?(_0x4e183d=_0x4e183d['slice'](0x0,_0x3f30b4)+_0x4e183d['slice'](_0x6d5c6f+0x1),_0x5c66b2=_0x3f30b4):_0x5c66b2=_0x3f30b4+_0x23b388['length'];}return _0x4e183d['replace'](/\s+/g,'\x20')['trim']();}(_0x5f11ab),_0x140658=_0x3dbb7f?_0x254886(_0x3dbb7f)[0x0]['specificityArray']:[0x0,0x0,0x0,0x0];return{'stylesMap':_0x457ad1,'flatSelector':_0x5f11ab,'specificity':_0x140658};});})['sort']((_0x2d8607,_0x41ec36)=>_0x4e2c42(_0x2d8607['specificity'],_0x41ec36['specificity']));}(_0xd26cc2['stylesProcessor'],_0x2b8125);return{'parsedCssRules':_0x30665e,'rootCssVariables':function(_0x3ce8d4){const _0x56e90f=new Map();for(const {stylesMap:_0x1db61b,flatSelector:_0x1c79fc}of _0x3ce8d4){if(':root'!==_0x1c79fc)continue;const _0x43b24b=p(_0x56e90f['get']['bind'](_0x56e90f),_0x1db61b);for(const [_0x4c4430,_0x325a9a]of _0x43b24b)_0x56e90f['set'](_0x4c4430,_0x325a9a);}return _0x56e90f;}(_0x30665e)};}function S(_0x531fa4,_0x262bf7=''){return _0x531fa4['flatMap'](_0x4238a4=>{const {selectorText:_0x45ffd1,cssText:_0x17c092,cssRules:_0x420573}=_0x4238a4;if(!_0x45ffd1)return[];const _0x5cc037=_0x45ffd1['replace'](/&/g,_0x262bf7);let _0x5046e1=_0x17c092['replace'](_0x45ffd1,'')['trim']()['replace'](/^{|}$/g,'');if(!_0x420573||!_0x420573['length'])return[{'selectorText':_0x5cc037,'contentCssText':_0x5046e1}];for(const _0x261589 of _0x420573)_0x5046e1=_0x5046e1['replace'](_0x261589['cssText'],'')['trim']();return[{'selectorText':_0x5cc037,'contentCssText':_0x5046e1},...S(Array['from'](_0x420573),_0x5cc037)];});}function m(_0x452e9d,_0x58d824){const _0x1623f7=new _0x52c19c(_0x452e9d);for(const _0x516f66 of _0x58d824){let _0x239f19=null;if(_0x239f19='string'==typeof _0x516f66?new _0x52c19c(_0x452e9d)['setTo'](_0x516f66):_0x516f66,_0x239f19){for(const [_0x370f89,_0x57b72a]of _0x239f19['getStylesEntries']())_0x1623f7['set'](_0x370f89,_0x57b72a);}}return _0x1623f7;}class x extends _0x17b130{['_stylesProcessor'];constructor(_0xcdd929){super(_0xcdd929),this['set']('isBusy',!0x1),this['_stylesProcessor']=this['editor']['data']['stylesProcessor'],_0x1b5a51(this['_stylesProcessor']),_0x40e8ad(this['_stylesProcessor']),this['affectsData']=!0x1;}['refresh'](){this['isEnabled']=!this['isBusy'],this['value']=this['isBusy']?'pending':void 0x0;}async['execute'](_0x12041b){const _0x1f58d1=this['editor']['config']['get']('exportInlineStyles'),{contentLanguageDirection:_0x4fdf9b}=this['editor']['locale'],{rootName:_0x5cc37e='main',dataControllerDowncastOptions:_0x223b30={},transformations:_0x3400ba=_0x1f58d1['transformations']||[]}=_0x12041b||{};this['isBusy']=!0x0,this['refresh']();const _0x1adff6=this['_getRootDataHTMLFragment'](_0x5cc37e,_0x223b30),_0x1041ac=_0x3e6175(_0x1adff6['ownerDocument'],'div',{'dir':_0x4fdf9b,'class':'ck-content'},[_0x1adff6]);return this['_collectAndApplyStyles'](_0x3400ba,_0x1041ac)['then'](()=>{const _0x8c2900=function(_0x15af83){const _0x34b510=_0x15af83['ownerDocument']['createDocumentFragment']();for(;_0x15af83['firstChild'];)_0x34b510['appendChild'](_0x15af83['firstChild']);return _0x34b510;}(_0x1041ac),_0x1ecbff=_0x1041ac['getAttribute']('style');if(_0x1ecbff)for(const _0x19e176 of _0x8c2900['children']){const _0x25e993=_0x19e176['getAttribute']('style'),_0x25e657=m(this['_stylesProcessor'],[_0x1ecbff,_0x25e993]);_0x19e176['setAttribute']('style',L(_0x25e657));}return this['editor']['data']['htmlProcessor']['htmlWriter']['getHtml'](_0x8c2900);})['finally'](()=>{this['isBusy']=!0x1,this['refresh']();});}['_getRootDataHTMLFragment'](_0x1c8671,_0xba7bae){const {data:_0x8fc1be,model:_0x30b66a}=this['editor'],_0x48e962=_0x30b66a['document']['getRoot'](_0x1c8671),_0xfa7ce2=_0x8fc1be['toView'](_0x48e962,_0xba7bae);return _0x8fc1be['htmlProcessor']['domConverter']['viewToDom'](_0xfa7ce2);}async['_collectAndApplyStyles'](_0x4744fc,_0x2c46e5){const {stylesheets:_0x110477,inlineCss:_0x27c253,stripCssClasses:_0x464e98}=this['editor']['config']['get']('exportInlineStyles'),{parsedCssRules:_0x177bb3,rootCssVariables:_0x2bfe13}=await h({'stylesheets':_0x110477||['EDITOR_STYLES'],'stylesProcessor':this['_stylesProcessor'],'inlineCss':_0x27c253});this['_processElementTree']({'transformations':_0x4744fc,'parsedCssRules':_0x177bb3,'element':_0x2c46e5,'stripCssClasses':_0x464e98,'parentCSSVariablesLookup':_0x2bfe13['get']['bind'](_0x2bfe13)});}['_processElementTree']({element:_0x1e3716,parsedCssRules:_0x49c61c,parentCSSVariablesLookup:_0x1ddc59,stripCssClasses:_0x5ab86c,transformations:_0x2da1b3}){const {stylesMap:_0x410fc6,localCSSVariables:_0x22b542}=function(_0x5cc665){const _0x58b958=_0x5cc665['element']['getAttribute']('style')||'',_0x77ef55=_0x5cc665['parsedCssRules']['filter'](_0x4de24b=>_0x5cc665['element']['matches'](_0x4de24b['flatSelector']))['map'](_0xc49ddc=>_0xc49ddc['stylesMap']),_0x15bb1c=m(_0x5cc665['stylesProcessor'],[..._0x77ef55,_0x58b958]);return{'localCSSVariables':p(_0x5cc665['fallbackCSSVariablesLookup'],_0x15bb1c),'stylesMap':_0x15bb1c};}({'stylesProcessor':this['_stylesProcessor'],'fallbackCSSVariablesLookup':_0x1ddc59,'parsedCssRules':_0x49c61c,'element':_0x1e3716});for(const _0x42211d of _0x2da1b3){const _0x59a9c4=_0x42211d(_0x1e3716,_0x410fc6);_0x59a9c4&&_0x59a9c4 instanceof HTMLElement&&(_0x1e3716=_0x59a9c4);}_0x410fc6['size']?_0x1e3716['setAttribute']('style',L(_0x410fc6)):_0x1e3716['removeAttribute']('style');const _0x235369=_0x5541e3=>_0x22b542['has'](_0x5541e3)?_0x22b542['get'](_0x5541e3):_0x1ddc59(_0x5541e3);for(const _0xb7615e of _0x1e3716['children'])_0xb7615e instanceof HTMLElement&&this['_processElementTree']({'element':_0xb7615e,'parentCSSVariablesLookup':_0x235369,'parsedCssRules':_0x49c61c,'stripCssClasses':_0x5ab86c,'transformations':_0x2da1b3});_0x5ab86c&&_0x1e3716['removeAttribute']('class');}}function L(_0x4cd446){return _0x4cd446['getStylesEntries']()['map'](_0x4be172=>_0x4be172['join'](':'))['join'](';')+';';}class C extends _0x451dd6{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(_0x1e95b0){const _0x6fd1fc=_0x44a214([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]),_0x172643=0x6f40c3fb,_0x192c80=0x6f47462b^_0x172643,_0x562948=window[_0x44a214([0x44,0x61,0x74,0x65])][_0x44a214([0x6e,0x6f,0x77])](),_0x5bf632=_0x1e95b0[_0x44a214([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x39d006=new window[(_0x44a214([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x24b34f=>{_0x5bf632[_0x44a214([0x6f,0x6e,0x63,0x65])](_0x44a214([0x72,0x65,0x61,0x64,0x79]),_0x24b34f);}),_0x1286b3={[_0x44a214([0x6b,0x74,0x79])]:_0x44a214([0x45,0x43]),[_0x44a214([0x75,0x73,0x65])]:_0x44a214([0x73,0x69,0x67]),[_0x44a214([0x63,0x72,0x76])]:_0x44a214([0x50,0x2d,0x32,0x35,0x36]),[_0x44a214([0x78])]:_0x44a214([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]),[_0x44a214([0x79])]:_0x44a214([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]),[_0x44a214([0x61,0x6c,0x67])]:_0x44a214([0x45,0x53,0x32,0x35,0x36])},_0x5871bf=_0x5bf632[_0x44a214([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x44a214([0x67,0x65,0x74])](_0x44a214([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x6af419(){let _0x48146e,_0x4b58be=null,_0x4d5af2=null;try{if(_0x5871bf==_0x44a214([0x47,0x50,0x4c]))return _0x44a214([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x48146e=_0x4ee524(),!_0x48146e)return _0x44a214([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x48146e[_0x44a214([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4d5af2=_0x329258(_0x48146e[_0x44a214([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x48146e[_0x44a214([0x6a,0x74,0x69])])),await _0x5b81ee()?_0x2623f8()?_0x58d77b()?_0x44a214([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x627e3c()?(_0x48146e[_0x44a214([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x44a214([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4b58be=_0x3180ed(_0x44a214([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x132708()):_0x44a214([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x44a214([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x44a214([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x44a214([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x58d77b(){const _0x153944=[_0x44a214([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x44a214([0x74,0x72,0x69,0x61,0x6c])][_0x44a214([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x48146e[_0x44a214([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x562948/0x3e8:0xe10*_0x192c80;return _0x48146e[_0x44a214([0x65,0x78,0x70])]<_0x153944;}function _0x2623f8(){const _0x108462=_0x48146e[_0x44a214([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x108462&&(!!_0x108462[_0x44a214([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x44a214([0x2a]))||!!_0x108462[_0x44a214([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x44a214([0x45,0x49,0x53])));}function _0x627e3c(){const _0x2afdad=_0x48146e[_0x44a214([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2afdad||0x0==_0x2afdad[_0x44a214([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x501233}=new URL(window[_0x44a214([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x2afdad[_0x44a214([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x501233))return!0x0;const _0x22346f=_0x501233[_0x44a214([0x73,0x70,0x6c,0x69,0x74])](_0x44a214([0x2e]));return _0x2afdad[_0x44a214([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x20cfc0=>_0x20cfc0[_0x44a214([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x44a214([0x2a])))[_0x44a214([0x6d,0x61,0x70])](_0x281ce1=>_0x281ce1[_0x44a214([0x73,0x70,0x6c,0x69,0x74])](_0x44a214([0x2e])))[_0x44a214([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xae6731=>_0xae6731[_0x44a214([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x22346f[_0x44a214([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x44a214([0x6d,0x61,0x70])](_0x33909b=>Array(_0x22346f[_0x44a214([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x33909b[_0x44a214([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x44a214([0x66,0x69,0x6c,0x6c])](_0x33909b[0x0]===_0x44a214([0x2a])?_0x44a214([0x2a]):'')[_0x44a214([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x33909b))[_0x44a214([0x73,0x6f,0x6d,0x65])](_0x320c77=>_0x22346f[_0x44a214([0x65,0x76,0x65,0x72,0x79])]((_0x2ef59d,_0x5d5573)=>_0x320c77[_0x5d5573]===_0x2ef59d||_0x320c77[_0x5d5573]===_0x44a214([0x2a])));}function _0x132708(){return _0x4b58be&&_0x4d5af2?new window[(_0x44a214([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x110be2,_0x3c02ed)=>{_0x4b58be[_0x44a214([0x74,0x68,0x65,0x6e])](_0x110be2,_0x3c02ed),_0x4d5af2[_0x44a214([0x74,0x68,0x65,0x6e])](_0x2e8dc4=>{_0x2e8dc4!=_0x44a214([0x56,0x61,0x6c,0x69,0x64])&&_0x110be2(_0x2e8dc4);},_0x3c02ed);}):_0x4b58be||_0x4d5af2||_0x44a214([0x56,0x61,0x6c,0x69,0x64]);}}function _0x329258(_0x1221ed,_0x58f42c){return new window[(_0x44a214([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5aee04=>{if(_0x488c34())return _0x5aee04(_0x44a214([0x56,0x61,0x6c,0x69,0x64]));_0xe06a53(),_0x5bf632[_0x44a214([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x44a214([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3e5d05=!0x1;const _0x589286=_0x1ab547();function _0x206010(_0x1c082d){return!!_0x1c082d&&(typeof _0x1c082d===_0x44a214([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1c082d===_0x44a214([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1c082d[_0x44a214([0x74,0x68,0x65,0x6e])]===_0x44a214([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1c082d[_0x44a214([0x63,0x61,0x74,0x63,0x68])]===_0x44a214([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x16a903(_0x55b7ec){_0x1ada94(_0x55b7ec)[_0x44a214([0x74,0x68,0x65,0x6e])](_0x1c0933=>{if(!_0x1c0933||_0x1c0933[_0x44a214([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x44a214([0x6f,0x6b]))return _0x44a214([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xda7379(_0x36cdf9(_0x589286+_0x58f42c))!=_0x1c0933[_0x44a214([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x44a214([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x44a214([0x56,0x61,0x6c,0x69,0x64]);})[_0x44a214([0x74,0x68,0x65,0x6e])](_0x17ad7f=>(_0x211a3b(),_0x17ad7f),()=>{const _0x2bbe2c=_0x195ef3();return null==_0x2bbe2c?(_0x211a3b(),_0x44a214([0x56,0x61,0x6c,0x69,0x64])):_0x44a214(_0x562948-_0x2bbe2c>(0x4b4c47fb^_0x172643)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x44a214([0x74,0x68,0x65,0x6e])](_0x5aee04)[_0x44a214([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5aee04(_0x44a214([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x48c50a=0x6f762d7b^_0x172643;function _0x211a3b(){const _0x5531c4=_0x44a214([0x6c,0x6c,0x63,0x74,0x2d])+_0xda7379(_0x36cdf9(_0x1221ed)),_0x16200f=_0xcb5a6(_0xda7379(window[_0x44a214([0x4d,0x61,0x74,0x68])][_0x44a214([0x63,0x65,0x69,0x6c])](_0x562948/_0x48c50a)));window[_0x44a214([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x44a214([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5531c4,_0x16200f);}function _0x195ef3(){const _0x1fb020=_0x44a214([0x6c,0x6c,0x63,0x74,0x2d])+_0xda7379(_0x36cdf9(_0x1221ed)),_0x4dd314=window[_0x44a214([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x44a214([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1fb020);return _0x4dd314?window[_0x44a214([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xcb5a6(_0x4dd314),0x10)*_0x48c50a:null;}function _0x1ada94(_0xd74715){return new window[(_0x44a214([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x59dd66,_0xaa3ea2)=>{_0xd74715[_0x44a214([0x74,0x68,0x65,0x6e])](_0x59dd66,_0xaa3ea2),window[_0x44a214([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xaa3ea2,0x6f41173b^_0x172643);});}}_0x5bf632[_0x44a214([0x6f,0x6e])](_0x44a214([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x289213,_0x9ebe14)=>{if(_0x9ebe14[0x0]!=_0x1221ed)return _0x5aee04(_0x44a214([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x9ebe14[0x1]={..._0x9ebe14[0x1],[_0x44a214([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x589286};},{[_0x44a214([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x44a214([0x68,0x69,0x67,0x68])}),_0x5bf632[_0x44a214([0x6f,0x6e])](_0x44a214([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1b8578=>{_0x206010(_0x1b8578[_0x44a214([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3e5d05=!0x0,_0x16a903(_0x1b8578[_0x44a214([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x44a214([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x44a214([0x6c,0x6f,0x77])}),_0x39d006[_0x44a214([0x74,0x68,0x65,0x6e])](()=>{_0x3e5d05||_0x5aee04(_0x44a214([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x488c34(){return _0x5bf632[_0x44a214([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x44a214([0x76,0x69,0x65,0x77])][_0x44a214([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x44a214([0x61,0x75,0x74,0x6f]);}function _0xe06a53(){_0x5bf632[_0x44a214([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x44a214([0x76,0x69,0x65,0x77])][_0x44a214([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x44a214([0x61,0x75,0x74,0x6f]);}}function _0x3180ed(_0x51b6c2){const _0x405e74=[new window[(_0x44a214([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2df8e7=>setTimeout(_0x2df8e7,0x6f49fd37^_0x172643)),_0x39d006[_0x44a214([0x74,0x68,0x65,0x6e])](()=>new window[(_0x44a214([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5c4b28=>{let _0x190f68=0x0;_0x5bf632[_0x44a214([0x6d,0x6f,0x64,0x65,0x6c])][_0x44a214([0x6f,0x6e])](_0x44a214([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x16242e,_0x3e3b35)=>{_0x3e3b35[0x0][_0x44a214([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x190f68++,_0x190f68==(0x6f40c613^_0x172643)&&(_0x5c4b28(),_0x16242e[_0x44a214([0x6f,0x66,0x66])]());});}))];return window[_0x44a214([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x44a214([0x72,0x61,0x63,0x65])](_0x405e74)[_0x44a214([0x74,0x68,0x65,0x6e])](()=>_0x51b6c2);}async function _0x3fe059(){await _0x39d006;const _0x3aea5c=_0x5bf632['commands'][_0x44a214([0x67,0x65,0x74])](_0x44a214([0x65,0x78,0x70,0x6f,0x72,0x74,0x49,0x6e,0x6c,0x69,0x6e,0x65,0x53,0x74,0x79,0x6c,0x65,0x73]));_0x3aea5c&&_0x3aea5c[_0x44a214([0x6f,0x6e])](_0x44a214([0x65,0x78,0x65,0x63,0x75,0x74,0x65]),_0x3be3c1=>{_0x3be3c1['stop']();},{'priority':_0x44a214([0x68,0x69,0x67,0x68,0x65,0x73,0x74])}),_0x5bf632[_0x44a214([0x6d,0x6f,0x64,0x65,0x6c])][_0x44a214([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4515ec,_0x5bf632[_0x44a214([0x6d,0x6f,0x64,0x65,0x6c])][_0x44a214([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4515ec,_0x5bf632[_0x44a214([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x44a214([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4b23b2(_0xfe2a18){const _0x13180d=_0x802e8d();_0x5bf632[_0x13180d]=_0x44a214([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])+_0xfe2a18,_0xfe2a18!=_0x44a214([0x56,0x61,0x6c,0x69,0x64])&&_0x3fe059();}function _0x802e8d(){const _0x10a1d3=window[_0x44a214([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x44a214([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x44a214([0x6e,0x6f,0x77])]())[_0x44a214([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x44a214([0x2e]),'');let _0xbb15ff=_0x44a214([0x44]);for(let _0x223527=0x0;_0x223527<_0x10a1d3[_0x44a214([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x223527+=0x2){let _0x44d1f2=window[_0x44a214([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x10a1d3[_0x44a214([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x223527,_0x223527+0x2));_0x44d1f2>=_0x6fd1fc[_0x44a214([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x44d1f2-=_0x6fd1fc[_0x44a214([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xbb15ff+=_0x6fd1fc[_0x44d1f2];}return _0xbb15ff;}function _0x4ee524(){const _0x278680=_0x5871bf[_0x44a214([0x73,0x70,0x6c,0x69,0x74])](_0x44a214([0x2e]));if(0x3!=_0x278680[_0x44a214([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5e7ea8(_0x278680[0x1]);function _0x5e7ea8(_0x452c64){const _0x43dd78=_0xa78435(_0x452c64);return _0x43dd78&&_0x4b2db1()?_0x43dd78:null;function _0x4b2db1(){const _0x43e4f6=_0x43dd78[_0x44a214([0x6a,0x74,0x69])],_0x254efa=window[_0x44a214([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x43e4f6[_0x44a214([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x43e4f6[_0x44a214([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4dc492={..._0x43dd78,[_0x44a214([0x6a,0x74,0x69])]:_0x43e4f6[_0x44a214([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x43e4f6[_0x44a214([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4dc492[_0x44a214([0x76,0x63])],_0x36cdf9(_0x4dc492)==_0x254efa;}}}async function _0x5b81ee(){let _0x254fc1=!0x0;try{const _0xc4e37c=_0x5871bf[_0x44a214([0x73,0x70,0x6c,0x69,0x74])](_0x44a214([0x2e])),[_0x1098ed,_0x5e1f19,_0x2ddc9e]=_0xc4e37c;return _0x4243af(_0x1098ed),await _0x25ab61(_0x1098ed,_0x5e1f19,_0x2ddc9e),_0x254fc1;}catch{return!0x1;}function _0x4243af(_0x2c729e){const _0x5310de=_0xa78435(_0x2c729e);_0x5310de&&_0x5310de[_0x44a214([0x61,0x6c,0x67])]==_0x44a214([0x45,0x53,0x32,0x35,0x36])||(_0x254fc1=!0x1);}async function _0x25ab61(_0x9999d9,_0x4859a8,_0x296b9a){const _0xbc0b7=window[_0x44a214([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x44a214([0x66,0x72,0x6f,0x6d])](_0x1bb2b4(_0x296b9a),_0x23e103=>_0x23e103[_0x44a214([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x516c58=new window[(_0x44a214([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x44a214([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x9999d9+_0x44a214([0x2e])+_0x4859a8),_0x2951dd=window[_0x44a214([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x44a214([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2951dd)return;const _0x3eccab=await _0x2951dd[_0x44a214([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x44a214([0x6a,0x77,0x6b]),_0x1286b3,{[_0x44a214([0x6e,0x61,0x6d,0x65])]:_0x44a214([0x45,0x43,0x44,0x53,0x41]),[_0x44a214([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x44a214([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x44a214([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2951dd[_0x44a214([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x44a214([0x6e,0x61,0x6d,0x65])]:_0x44a214([0x45,0x43,0x44,0x53,0x41]),[_0x44a214([0x68,0x61,0x73,0x68])]:{[_0x44a214([0x6e,0x61,0x6d,0x65])]:_0x44a214([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3eccab,_0xbc0b7,_0x516c58)||(_0x254fc1=!0x1);}}function _0xa78435(_0x3a3815){return _0x3a3815[_0x44a214([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x44a214([0x65,0x79]))?JSON[_0x44a214([0x70,0x61,0x72,0x73,0x65])](_0x1bb2b4(_0x3a3815)):null;}function _0x1bb2b4(_0x3eb6b8){return window[_0x44a214([0x61,0x74,0x6f,0x62])](_0x3eb6b8[_0x44a214([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x44a214([0x2b]))[_0x44a214([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x44a214([0x2f])));}function _0x36cdf9(_0x2b791c){let _0xf17448=0x1505;function _0x1e5a1b(_0x4304e3){for(let _0x50ee31=0x0;_0x50ee31<_0x4304e3[_0x44a214([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x50ee31++){const _0x2e169c=_0x4304e3[_0x44a214([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x50ee31);_0xf17448=(_0xf17448<<0x5)+_0xf17448+_0x2e169c,_0xf17448&=_0xf17448;}}function _0x2ce53d(_0x41823c){Array[_0x44a214([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x41823c)?_0x41823c[_0x44a214([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2ce53d):_0x41823c&&typeof _0x41823c==_0x44a214([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x44a214([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x41823c)[_0x44a214([0x73,0x6f,0x72,0x74])]()[_0x44a214([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x575b1b,_0x5b2da1])=>{_0x1e5a1b(_0x575b1b),_0x2ce53d(_0x5b2da1);}):_0x1e5a1b(window[_0x44a214([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x41823c));}return _0x2ce53d(_0x2b791c),_0xf17448>>>0x0;}function _0xda7379(_0x41411d){return _0x41411d[_0x44a214([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x44a214([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x44a214([0x30]));}function _0xcb5a6(_0x17f89d){return _0x17f89d[_0x44a214([0x73,0x70,0x6c,0x69,0x74])]('')[_0x44a214([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x44a214([0x6a,0x6f,0x69,0x6e])]('');}function _0x4515ec(){}function _0x44a214(_0x25dd88){return _0x25dd88['map'](_0x5580b5=>String['fromCharCode'](_0x5580b5))['join']('');}_0x4b23b2(await _0x6af419());}(this);}}class g extends _0x451dd6{['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 _0x4ea821=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3ff59e;for(const _0x52ddd4 in _0x4ea821){const _0x968ac0=_0x52ddd4,_0x1e8d07=_0x4ea821[_0x968ac0];if('exportInlineStylesLicenseKeyValid'==_0x1e8d07||'exportInlineStylesLicenseKeyInvalid'==_0x1e8d07||'exportInlineStylesLicenseKeyExpired'==_0x1e8d07||'exportInlineStylesLicenseKeyDomainLimit'==_0x1e8d07||'exportInlineStylesLicenseKeyNotAllowed'==_0x1e8d07||'exportInlineStylesLicenseKeyEvaluationLimit'==_0x1e8d07||'exportInlineStylesLicenseKeyUsageLimit'==_0x1e8d07){delete _0x4ea821[_0x968ac0],_0x3ff59e=_0x1e8d07,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'exportInlineStylesLicenseKeyInvalid'==_0x3ff59e&&_0x4ea821['_showLicenseError']('invalid'),'exportInlineStylesLicenseKeyExpired'==_0x3ff59e&&_0x4ea821['_showLicenseError']('expired'),'exportInlineStylesLicenseKeyDomainLimit'==_0x3ff59e&&_0x4ea821['_showLicenseError']('domainLimit'),'exportInlineStylesLicenseKeyNotAllowed'==_0x3ff59e&&_0x4ea821['_showLicenseError']('featureNotAllowed','ExportInlineStyles'),'exportInlineStylesLicenseKeyEvaluationLimit'==_0x3ff59e&&_0x4ea821['_showLicenseError']('evaluationLimit'),'exportInlineStylesLicenseKeyUsageLimit'==_0x3ff59e&&_0x4ea821['_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.
|
|
3
|
+
"version": "48.0.0-alpha.11",
|
|
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.
|
|
38
|
-
"@ckeditor/ckeditor5-engine": "48.0.0-alpha.
|
|
39
|
-
"@ckeditor/ckeditor5-utils": "48.0.0-alpha.
|
|
37
|
+
"@ckeditor/ckeditor5-core": "48.0.0-alpha.11",
|
|
38
|
+
"@ckeditor/ckeditor5-engine": "48.0.0-alpha.11",
|
|
39
|
+
"@ckeditor/ckeditor5-utils": "48.0.0-alpha.11",
|
|
40
40
|
"specificity": "0.4.1"
|
|
41
41
|
},
|
|
42
42
|
"files": [
|