@ckeditor/ckeditor5-export-inline-styles 48.0.0-alpha.5 → 48.0.0-alpha.6
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 _0x34da9e,Plugin as _0x358936}from'@ckeditor/ckeditor5-core/dist/index.js';import{collectStylesheets as _0x519995,createElement as _0x2ad608,uid as _0x17e0d5}from'@ckeditor/ckeditor5-utils/dist/index.js';import{calculate as _0x5cc62a,compare as _0x30a644}from'specificity';import{StylesMap as _0x21f430,addMarginStylesRules as _0x4f8ac7,addPaddingStylesRules as _0x43afc3}from'@ckeditor/ckeditor5-engine/dist/index.js';function f(_0x4b2248){const _0x47d2fe=[];let _0xb6816b='',_0x1da940=0x0;for(;_0x1da940<_0x4b2248['length'];){const _0x187cdc=_0x4b2248[_0x1da940];if('('===_0x187cdc){const _0x546a38=y(_0x4b2248,_0x1da940+0x1);if(-0x1===_0x546a38)return[];_0xb6816b+=_0x4b2248['slice'](_0x1da940,_0x546a38+0x1),_0x1da940=_0x546a38+0x1;}else','!==_0x187cdc||_0xb6816b['endsWith']('\x5c')?(_0xb6816b+=_0x187cdc,_0x1da940++):(_0x47d2fe['push'](_0xb6816b['trim']()),_0xb6816b='',_0x1da940++);}return _0xb6816b['trim']()&&_0x47d2fe['push'](_0xb6816b['trim']()),_0x47d2fe['filter'](Boolean);}function y(_0x409ed4,_0x3718d1){let _0x533aaa=0x1;for(let _0x442ed5=_0x3718d1;_0x442ed5<_0x409ed4['length'];_0x442ed5++){const _0x3c6932=_0x409ed4[_0x442ed5];if('('===_0x3c6932)_0x533aaa++;else{if(')'===_0x3c6932&&(_0x533aaa--,0x0===_0x533aaa))return _0x442ed5;}}return-0x1;}function w(_0xac2c59){return _0xac2c59['replace'](/!\s*important/i,'')['trim']();}function p(_0x19225f,_0x2197a9){const _0x5120f=new Map(),_0x3192b8=_0x363244=>_0x5120f['has'](_0x363244)?_0x5120f['get'](_0x363244):_0x19225f(_0x363244);for(const [_0x13e52e,_0x53e05d]of _0x2197a9['getStylesEntries']())if(_0x53e05d&&_0x13e52e['startsWith']('--')){const _0x16ec24=d(_0x3192b8,_0x53e05d);_0x5120f['set'](_0x13e52e,_0x16ec24),_0x2197a9['remove'](_0x13e52e);}for(const [_0x4154ec,_0x315057]of _0x2197a9['getStylesEntries']())if(_0x315057){const _0x4f4039=d(_0x3192b8,_0x315057);_0x2197a9['set'](_0x4154ec,_0x4f4039);}return _0x5120f;}function d(_0x31e381,_0x5422c9){return function(_0x19f8f0,_0x1a1856){let _0x4af4e8='',_0x256430=0x0;for(;_0x256430<_0x19f8f0['length'];){const _0x18ced5=_0x19f8f0['indexOf']('var(',_0x256430);if(-0x1===_0x18ced5){_0x4af4e8+=_0x19f8f0['slice'](_0x256430);break;}_0x4af4e8+=_0x19f8f0['slice'](_0x256430,_0x18ced5);const _0x5713bf=_0x18ced5+0x4,_0x27ff97=y(_0x19f8f0,_0x5713bf);_0x4af4e8+=_0x1a1856(_0x19f8f0['substring'](_0x5713bf,_0x27ff97)),_0x256430=_0x27ff97+0x1;}return _0x4af4e8;}(_0x5422c9,_0x466db1=>{const [_0x4a285f,_0x51fbf1]=f(_0x466db1),_0x15bab3=_0x31e381(_0x4a285f);return void 0x0!==_0x15bab3?_0x15bab3:_0x51fbf1?d(_0x31e381,_0x51fbf1):'var('+_0x4a285f+')';});}async function h(_0x38a963){const _0x55ef17=[await _0x519995(_0x38a963['stylesheets']),_0x38a963['inlineCss']]['filter'](_0x466b74=>_0x466b74&&_0x466b74['length'])['join']('\x0a'),_0x12422d=await async function(_0x26a3df,_0x17ef11){const _0x5cbc0c=new CSSStyleSheet();return await _0x5cbc0c['replace'](_0x17ef11),S(Array['from'](_0x5cbc0c['cssRules'])['filter'](_0x3b124e=>_0x3b124e instanceof CSSStyleRule))['flatMap'](({selectorText:_0xeef20f,contentCssText:_0x4e88e9})=>{const _0x32b985=f(_0xeef20f),_0x505a31=new _0x21f430(_0x26a3df)['setTo'](_0x4e88e9);return _0x32b985['map'](_0x276576=>{const _0xd6238b=function(_0x31e75d){const _0x3989b1=':where(';let _0x158963=_0x31e75d,_0x17156c=0x0;for(let _0x433a51=0x0;_0x433a51<0x64;_0x433a51++){const _0x348efe=_0x158963['indexOf'](_0x3989b1,_0x17156c);if(-0x1===_0x348efe)break;let _0xb42dcd=0x0;for(let _0x45c43f=0x0;_0x45c43f<_0x348efe;_0x45c43f++)'('===_0x158963[_0x45c43f]?_0xb42dcd++:')'===_0x158963[_0x45c43f]&&_0xb42dcd--;if(_0xb42dcd>0x0){_0x17156c=_0x348efe+_0x3989b1['length'];continue;}let _0x1aa338=-0x1;for(let _0x3186aa=_0x348efe+_0x3989b1['length'],_0x5454a4=0x1;_0x3186aa<_0x158963['length'];_0x3186aa++)if('('===_0x158963[_0x3186aa]?_0x5454a4++:')'===_0x158963[_0x3186aa]&&_0x5454a4--,!_0x5454a4){_0x1aa338=_0x3186aa;break;}-0x1!==_0x1aa338?(_0x158963=_0x158963['slice'](0x0,_0x348efe)+_0x158963['slice'](_0x1aa338+0x1),_0x17156c=_0x348efe):_0x17156c=_0x348efe+_0x3989b1['length'];}return _0x158963['replace'](/\s+/g,'\x20')['trim']();}(_0x276576),_0x35d889=_0xd6238b?_0x5cc62a(_0xd6238b)[0x0]['specificityArray']:[0x0,0x0,0x0,0x0];return{'stylesMap':_0x505a31,'flatSelector':_0x276576,'specificity':_0x35d889};});})['sort']((_0x2eded5,_0x338be8)=>_0x30a644(_0x2eded5['specificity'],_0x338be8['specificity']));}(_0x38a963['stylesProcessor'],_0x55ef17);return{'parsedCssRules':_0x12422d,'rootCssVariables':function(_0x3f2782){const _0x292333=new Map();for(const {stylesMap:_0x5bb6ed,flatSelector:_0x41ef3d}of _0x3f2782){if(':root'!==_0x41ef3d)continue;const _0x1804ca=p(_0x292333['get']['bind'](_0x292333),_0x5bb6ed);for(const [_0x4eb117,_0x13a2bb]of _0x1804ca)_0x292333['set'](_0x4eb117,_0x13a2bb);}return _0x292333;}(_0x12422d)};}function S(_0x3ef7cf,_0x49cb0c=''){return _0x3ef7cf['flatMap'](_0x107e62=>{const {selectorText:_0x4508c4,cssText:_0x23def6,cssRules:_0x5d4dfe}=_0x107e62;if(!_0x4508c4)return[];const _0x2864ac=_0x4508c4['replace'](/&/g,_0x49cb0c);let _0x2a06bf=_0x23def6['replace'](_0x4508c4,'')['trim']()['replace'](/^{|}$/g,'');if(!_0x5d4dfe||!_0x5d4dfe['length'])return[{'selectorText':_0x2864ac,'contentCssText':_0x2a06bf}];for(const _0x1bf44d of _0x5d4dfe)_0x2a06bf=_0x2a06bf['replace'](_0x1bf44d['cssText'],'')['trim']();return[{'selectorText':_0x2864ac,'contentCssText':_0x2a06bf},...S(Array['from'](_0x5d4dfe),_0x2864ac)];});}function m(_0x504e04,_0x471c85){const _0x25dfe5=new _0x21f430(_0x504e04);for(const _0x4718d4 of _0x471c85){let _0x5542b4=null;if(_0x5542b4='string'==typeof _0x4718d4?new _0x21f430(_0x504e04)['setTo'](_0x4718d4):_0x4718d4,_0x5542b4){for(const [_0x1c04a2,_0x3ec006]of _0x5542b4['getStylesEntries']())_0x25dfe5['set'](_0x1c04a2,_0x3ec006);}}return _0x25dfe5;}class x extends _0x34da9e{['_stylesProcessor'];constructor(_0x580e08){super(_0x580e08),this['set']('isBusy',!0x1),this['_stylesProcessor']=this['editor']['data']['stylesProcessor'],_0x4f8ac7(this['_stylesProcessor']),_0x43afc3(this['_stylesProcessor']),this['affectsData']=!0x1;}['refresh'](){this['isEnabled']=!this['isBusy'],this['value']=this['isBusy']?'pending':void 0x0;}async['execute'](_0x1fd72e){const _0x3b6194=this['editor']['config']['get']('exportInlineStyles'),{contentLanguageDirection:_0x46207c}=this['editor']['locale'],{rootName:_0x3e1c39='main',dataControllerDowncastOptions:_0x424d52={},transformations:_0x446646=_0x3b6194['transformations']||[]}=_0x1fd72e||{};this['isBusy']=!0x0,this['refresh']();const _0x9d5768=this['_getRootDataHTMLFragment'](_0x3e1c39,_0x424d52),_0x4e3c70=_0x2ad608(_0x9d5768['ownerDocument'],'div',{'dir':_0x46207c,'class':'ck-content'},[_0x9d5768]);return this['_collectAndApplyStyles'](_0x446646,_0x4e3c70)['then'](()=>{const _0x38c03a=function(_0x1bd183){const _0x28b2ab=_0x1bd183['ownerDocument']['createDocumentFragment']();for(;_0x1bd183['firstChild'];)_0x28b2ab['appendChild'](_0x1bd183['firstChild']);return _0x28b2ab;}(_0x4e3c70),_0x2db3df=_0x4e3c70['getAttribute']('style');if(_0x2db3df)for(const _0x158201 of _0x38c03a['children']){const _0x5e38d9=_0x158201['getAttribute']('style'),_0x3f0903=m(this['_stylesProcessor'],[_0x2db3df,_0x5e38d9]);_0x158201['setAttribute']('style',L(_0x3f0903));}return this['editor']['data']['htmlProcessor']['htmlWriter']['getHtml'](_0x38c03a);})['finally'](()=>{this['isBusy']=!0x1,this['refresh']();});}['_getRootDataHTMLFragment'](_0x3ea0a5,_0x5e44e4){const {data:_0x5437bf,model:_0x170e37}=this['editor'],_0x56acfd=_0x170e37['document']['getRoot'](_0x3ea0a5),_0x86faa7=_0x5437bf['toView'](_0x56acfd,_0x5e44e4);return _0x5437bf['htmlProcessor']['domConverter']['viewToDom'](_0x86faa7);}async['_collectAndApplyStyles'](_0x2dffa3,_0x41f5b9){const {stylesheets:_0x114975,inlineCss:_0x5882f3,stripCssClasses:_0x1f7bf5}=this['editor']['config']['get']('exportInlineStyles'),{parsedCssRules:_0x1fba08,rootCssVariables:_0x5adf65}=await h({'stylesheets':_0x114975||['EDITOR_STYLES'],'stylesProcessor':this['_stylesProcessor'],'inlineCss':_0x5882f3});this['_processElementTree']({'transformations':_0x2dffa3,'parsedCssRules':_0x1fba08,'element':_0x41f5b9,'stripCssClasses':_0x1f7bf5,'parentCSSVariablesLookup':_0x5adf65['get']['bind'](_0x5adf65)});}['_processElementTree']({element:_0xf9dcf4,parsedCssRules:_0x3e9709,parentCSSVariablesLookup:_0x4eb0bd,stripCssClasses:_0x47d362,transformations:_0x424409}){const {stylesMap:_0x1aad7f,localCSSVariables:_0x5ab211}=function(_0x3e6e0d){const _0x2f09ef=_0x3e6e0d['element']['getAttribute']('style')||'',_0x2407d3=_0x3e6e0d['parsedCssRules']['filter'](_0x499deb=>_0x3e6e0d['element']['matches'](_0x499deb['flatSelector']))['map'](_0xa701a1=>_0xa701a1['stylesMap']),_0x4addf8=m(_0x3e6e0d['stylesProcessor'],[..._0x2407d3,_0x2f09ef]);return{'localCSSVariables':p(_0x3e6e0d['fallbackCSSVariablesLookup'],_0x4addf8),'stylesMap':_0x4addf8};}({'stylesProcessor':this['_stylesProcessor'],'fallbackCSSVariablesLookup':_0x4eb0bd,'parsedCssRules':_0x3e9709,'element':_0xf9dcf4});for(const _0x3ae106 of _0x424409){const _0x4c22e5=_0x3ae106(_0xf9dcf4,_0x1aad7f);_0x4c22e5&&_0x4c22e5 instanceof HTMLElement&&(_0xf9dcf4=_0x4c22e5);}_0x1aad7f['size']?_0xf9dcf4['setAttribute']('style',L(_0x1aad7f)):_0xf9dcf4['removeAttribute']('style');const _0x4d1317=_0x1f3e37=>_0x5ab211['has'](_0x1f3e37)?_0x5ab211['get'](_0x1f3e37):_0x4eb0bd(_0x1f3e37);for(const _0x235f01 of _0xf9dcf4['children'])_0x235f01 instanceof HTMLElement&&this['_processElementTree']({'element':_0x235f01,'parentCSSVariablesLookup':_0x4d1317,'parsedCssRules':_0x3e9709,'stripCssClasses':_0x47d362,'transformations':_0x424409});_0x47d362&&_0xf9dcf4['removeAttribute']('class');}}function L(_0x2adf7c){return _0x2adf7c['getStylesEntries']()['map'](_0x2f9a3f=>_0x2f9a3f['join'](':'))['join'](';')+';';}class C extends _0x358936{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(_0x3e4073){const _0x4f153d=_0x258f6b([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]),_0x13f5de=0x6f40c3fb,_0x36f645=0x6f4746bb^_0x13f5de,_0x16c152=window[_0x258f6b([0x44,0x61,0x74,0x65])][_0x258f6b([0x6e,0x6f,0x77])](),_0x1d19ff=_0x3e4073[_0x258f6b([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x20d43d=new window[(_0x258f6b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x564cee=>{_0x1d19ff[_0x258f6b([0x6f,0x6e,0x63,0x65])](_0x258f6b([0x72,0x65,0x61,0x64,0x79]),_0x564cee);}),_0x4baae6={[_0x258f6b([0x6b,0x74,0x79])]:_0x258f6b([0x45,0x43]),[_0x258f6b([0x75,0x73,0x65])]:_0x258f6b([0x73,0x69,0x67]),[_0x258f6b([0x63,0x72,0x76])]:_0x258f6b([0x50,0x2d,0x32,0x35,0x36]),[_0x258f6b([0x78])]:_0x258f6b([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]),[_0x258f6b([0x79])]:_0x258f6b([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]),[_0x258f6b([0x61,0x6c,0x67])]:_0x258f6b([0x45,0x53,0x32,0x35,0x36])},_0x5efb18=_0x1d19ff[_0x258f6b([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x258f6b([0x67,0x65,0x74])](_0x258f6b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2a6470(){let _0x48513f,_0x14284a=null,_0x2726c6=null;try{if(_0x5efb18==_0x258f6b([0x47,0x50,0x4c]))return _0x258f6b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x48513f=_0x2acb88(),!_0x48513f)return _0x258f6b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x48513f[_0x258f6b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2726c6=_0xceb4b7(_0x48513f[_0x258f6b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x48513f[_0x258f6b([0x6a,0x74,0x69])])),await _0x14e3c2()?_0x3d474c()?_0x2bd5ef()?_0x258f6b([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x333c6a()?(_0x48513f[_0x258f6b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x258f6b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x14284a=_0x21ada1(_0x258f6b([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4cba78()):_0x258f6b([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x258f6b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x258f6b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x258f6b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2bd5ef(){const _0x4c6054=[_0x258f6b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x258f6b([0x74,0x72,0x69,0x61,0x6c])][_0x258f6b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x48513f[_0x258f6b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x16c152/0x3e8:0xe10*_0x36f645;return _0x48513f[_0x258f6b([0x65,0x78,0x70])]<_0x4c6054;}function _0x3d474c(){const _0x34af3b=_0x48513f[_0x258f6b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x34af3b&&(!!_0x34af3b[_0x258f6b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x258f6b([0x2a]))||!!_0x34af3b[_0x258f6b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x258f6b([0x45,0x49,0x53])));}function _0x333c6a(){const _0x4b69c6=_0x48513f[_0x258f6b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4b69c6||0x0==_0x4b69c6[_0x258f6b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xd3c9b1}=new URL(window[_0x258f6b([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x4b69c6[_0x258f6b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xd3c9b1))return!0x0;const _0x417342=_0xd3c9b1[_0x258f6b([0x73,0x70,0x6c,0x69,0x74])](_0x258f6b([0x2e]));return _0x4b69c6[_0x258f6b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3a8190=>_0x3a8190[_0x258f6b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x258f6b([0x2a])))[_0x258f6b([0x6d,0x61,0x70])](_0x4edfe8=>_0x4edfe8[_0x258f6b([0x73,0x70,0x6c,0x69,0x74])](_0x258f6b([0x2e])))[_0x258f6b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x376dbc=>_0x376dbc[_0x258f6b([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x417342[_0x258f6b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x258f6b([0x6d,0x61,0x70])](_0x53e14f=>Array(_0x417342[_0x258f6b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x53e14f[_0x258f6b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x258f6b([0x66,0x69,0x6c,0x6c])](_0x53e14f[0x0]===_0x258f6b([0x2a])?_0x258f6b([0x2a]):'')[_0x258f6b([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x53e14f))[_0x258f6b([0x73,0x6f,0x6d,0x65])](_0x55f5ed=>_0x417342[_0x258f6b([0x65,0x76,0x65,0x72,0x79])]((_0x49fa7b,_0x3100eb)=>_0x55f5ed[_0x3100eb]===_0x49fa7b||_0x55f5ed[_0x3100eb]===_0x258f6b([0x2a])));}function _0x4cba78(){return _0x14284a&&_0x2726c6?new window[(_0x258f6b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x57c3d7,_0x313c42)=>{_0x14284a[_0x258f6b([0x74,0x68,0x65,0x6e])](_0x57c3d7,_0x313c42),_0x2726c6[_0x258f6b([0x74,0x68,0x65,0x6e])](_0x1a399e=>{_0x1a399e!=_0x258f6b([0x56,0x61,0x6c,0x69,0x64])&&_0x57c3d7(_0x1a399e);},_0x313c42);}):_0x14284a||_0x2726c6||_0x258f6b([0x56,0x61,0x6c,0x69,0x64]);}}function _0xceb4b7(_0x53148e,_0x2d50ce){return new window[(_0x258f6b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xc39d95=>{if(_0x49b1c2())return _0xc39d95(_0x258f6b([0x56,0x61,0x6c,0x69,0x64]));_0x2d3da2(),_0x1d19ff[_0x258f6b([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x258f6b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xfb69c2=!0x1;const _0x2d7688=_0x17e0d5();function _0x44795e(_0xaf0153){return!!_0xaf0153&&(typeof _0xaf0153===_0x258f6b([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xaf0153===_0x258f6b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xaf0153[_0x258f6b([0x74,0x68,0x65,0x6e])]===_0x258f6b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xaf0153[_0x258f6b([0x63,0x61,0x74,0x63,0x68])]===_0x258f6b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x53884b(_0x494de3){_0x23624b(_0x494de3)[_0x258f6b([0x74,0x68,0x65,0x6e])](_0x269d29=>{if(!_0x269d29||_0x269d29[_0x258f6b([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x258f6b([0x6f,0x6b]))return _0x258f6b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x55c837(_0x306644(_0x2d7688+_0x2d50ce))!=_0x269d29[_0x258f6b([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x258f6b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x258f6b([0x56,0x61,0x6c,0x69,0x64]);})[_0x258f6b([0x74,0x68,0x65,0x6e])](_0x2d3cd8=>(_0x3a60a0(),_0x2d3cd8),()=>{const _0x428dfd=_0x2ca222();return null==_0x428dfd?(_0x3a60a0(),_0x258f6b([0x56,0x61,0x6c,0x69,0x64])):_0x258f6b(_0x16c152-_0x428dfd>(0x4b4c47fb^_0x13f5de)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x258f6b([0x74,0x68,0x65,0x6e])](_0xc39d95)[_0x258f6b([0x63,0x61,0x74,0x63,0x68])](()=>{_0xc39d95(_0x258f6b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1964f0=0x6f762d7b^_0x13f5de;function _0x3a60a0(){const _0x13ff1b=_0x258f6b([0x6c,0x6c,0x63,0x74,0x2d])+_0x55c837(_0x306644(_0x53148e)),_0x578bda=_0x141a82(_0x55c837(window[_0x258f6b([0x4d,0x61,0x74,0x68])][_0x258f6b([0x63,0x65,0x69,0x6c])](_0x16c152/_0x1964f0)));window[_0x258f6b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x258f6b([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x13ff1b,_0x578bda);}function _0x2ca222(){const _0x1ff7bd=_0x258f6b([0x6c,0x6c,0x63,0x74,0x2d])+_0x55c837(_0x306644(_0x53148e)),_0x3cfd12=window[_0x258f6b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x258f6b([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1ff7bd);return _0x3cfd12?window[_0x258f6b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x141a82(_0x3cfd12),0x10)*_0x1964f0:null;}function _0x23624b(_0x410cf3){return new window[(_0x258f6b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x45b819,_0x37bcc4)=>{_0x410cf3[_0x258f6b([0x74,0x68,0x65,0x6e])](_0x45b819,_0x37bcc4),window[_0x258f6b([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x37bcc4,0x6f41173b^_0x13f5de);});}}_0x1d19ff[_0x258f6b([0x6f,0x6e])](_0x258f6b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x61913c,_0xe9672c)=>{if(_0xe9672c[0x0]!=_0x53148e)return _0xc39d95(_0x258f6b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xe9672c[0x1]={..._0xe9672c[0x1],[_0x258f6b([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2d7688};},{[_0x258f6b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x258f6b([0x68,0x69,0x67,0x68])}),_0x1d19ff[_0x258f6b([0x6f,0x6e])](_0x258f6b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3ec46f=>{_0x44795e(_0x3ec46f[_0x258f6b([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xfb69c2=!0x0,_0x53884b(_0x3ec46f[_0x258f6b([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x258f6b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x258f6b([0x6c,0x6f,0x77])}),_0x20d43d[_0x258f6b([0x74,0x68,0x65,0x6e])](()=>{_0xfb69c2||_0xc39d95(_0x258f6b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x49b1c2(){return _0x1d19ff[_0x258f6b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x258f6b([0x76,0x69,0x65,0x77])][_0x258f6b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x258f6b([0x61,0x75,0x74,0x6f]);}function _0x2d3da2(){_0x1d19ff[_0x258f6b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x258f6b([0x76,0x69,0x65,0x77])][_0x258f6b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x258f6b([0x61,0x75,0x74,0x6f]);}}function _0x21ada1(_0x2aa237){const _0xff3884=[new window[(_0x258f6b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x433339=>setTimeout(_0x433339,0x6f49fd37^_0x13f5de)),_0x20d43d[_0x258f6b([0x74,0x68,0x65,0x6e])](()=>new window[(_0x258f6b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x8a054=>{let _0x1fa152=0x0;_0x1d19ff[_0x258f6b([0x6d,0x6f,0x64,0x65,0x6c])][_0x258f6b([0x6f,0x6e])](_0x258f6b([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x81ed,_0x36fed9)=>{_0x36fed9[0x0][_0x258f6b([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1fa152++,_0x1fa152==(0x6f40c613^_0x13f5de)&&(_0x8a054(),_0x81ed[_0x258f6b([0x6f,0x66,0x66])]());});}))];return window[_0x258f6b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x258f6b([0x72,0x61,0x63,0x65])](_0xff3884)[_0x258f6b([0x74,0x68,0x65,0x6e])](()=>_0x2aa237);}async function _0x46fe4a(){await _0x20d43d;const _0x20357a=_0x1d19ff['commands'][_0x258f6b([0x67,0x65,0x74])](_0x258f6b([0x65,0x78,0x70,0x6f,0x72,0x74,0x49,0x6e,0x6c,0x69,0x6e,0x65,0x53,0x74,0x79,0x6c,0x65,0x73]));_0x20357a&&_0x20357a[_0x258f6b([0x6f,0x6e])](_0x258f6b([0x65,0x78,0x65,0x63,0x75,0x74,0x65]),_0x30a27b=>{_0x30a27b['stop']();},{'priority':_0x258f6b([0x68,0x69,0x67,0x68,0x65,0x73,0x74])}),_0x1d19ff[_0x258f6b([0x6d,0x6f,0x64,0x65,0x6c])][_0x258f6b([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x9f3ae8,_0x1d19ff[_0x258f6b([0x6d,0x6f,0x64,0x65,0x6c])][_0x258f6b([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x9f3ae8,_0x1d19ff[_0x258f6b([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x258f6b([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1c6792(_0x345344){const _0xc4eac9=_0x300671();_0x1d19ff[_0xc4eac9]=_0x258f6b([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])+_0x345344,_0x345344!=_0x258f6b([0x56,0x61,0x6c,0x69,0x64])&&_0x46fe4a();}function _0x300671(){const _0x25ac2a=window[_0x258f6b([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x258f6b([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x258f6b([0x6e,0x6f,0x77])]())[_0x258f6b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x258f6b([0x2e]),'');let _0x2b8377=_0x258f6b([0x44]);for(let _0x307c25=0x0;_0x307c25<_0x25ac2a[_0x258f6b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x307c25+=0x2){let _0x19c119=window[_0x258f6b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x25ac2a[_0x258f6b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x307c25,_0x307c25+0x2));_0x19c119>=_0x4f153d[_0x258f6b([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x19c119-=_0x4f153d[_0x258f6b([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2b8377+=_0x4f153d[_0x19c119];}return _0x2b8377;}function _0x2acb88(){const _0x26096d=_0x5efb18[_0x258f6b([0x73,0x70,0x6c,0x69,0x74])](_0x258f6b([0x2e]));if(0x3!=_0x26096d[_0x258f6b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x14fe33(_0x26096d[0x1]);function _0x14fe33(_0x339909){const _0x350377=_0x4f6342(_0x339909);return _0x350377&&_0xa13f9e()?_0x350377:null;function _0xa13f9e(){const _0x24a113=_0x350377[_0x258f6b([0x6a,0x74,0x69])],_0x200b18=window[_0x258f6b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x24a113[_0x258f6b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x24a113[_0x258f6b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5cb02f={..._0x350377,[_0x258f6b([0x6a,0x74,0x69])]:_0x24a113[_0x258f6b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x24a113[_0x258f6b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5cb02f[_0x258f6b([0x76,0x63])],_0x306644(_0x5cb02f)==_0x200b18;}}}async function _0x14e3c2(){let _0x3694d6=!0x0;try{const _0x430ebd=_0x5efb18[_0x258f6b([0x73,0x70,0x6c,0x69,0x74])](_0x258f6b([0x2e])),[_0x21b665,_0x2115dd,_0x58c3f1]=_0x430ebd;return _0x5b9922(_0x21b665),await _0x66b2d6(_0x21b665,_0x2115dd,_0x58c3f1),_0x3694d6;}catch{return!0x1;}function _0x5b9922(_0xd990a){const _0x4c8f1d=_0x4f6342(_0xd990a);_0x4c8f1d&&_0x4c8f1d[_0x258f6b([0x61,0x6c,0x67])]==_0x258f6b([0x45,0x53,0x32,0x35,0x36])||(_0x3694d6=!0x1);}async function _0x66b2d6(_0x220f83,_0x2b339e,_0x14105c){const _0x1daa0d=window[_0x258f6b([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x258f6b([0x66,0x72,0x6f,0x6d])](_0x5959f3(_0x14105c),_0x18de52=>_0x18de52[_0x258f6b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x265d4e=new window[(_0x258f6b([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x258f6b([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x220f83+_0x258f6b([0x2e])+_0x2b339e),_0x1150bb=window[_0x258f6b([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x258f6b([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1150bb)return;const _0x29c6a2=await _0x1150bb[_0x258f6b([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x258f6b([0x6a,0x77,0x6b]),_0x4baae6,{[_0x258f6b([0x6e,0x61,0x6d,0x65])]:_0x258f6b([0x45,0x43,0x44,0x53,0x41]),[_0x258f6b([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x258f6b([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x258f6b([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1150bb[_0x258f6b([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x258f6b([0x6e,0x61,0x6d,0x65])]:_0x258f6b([0x45,0x43,0x44,0x53,0x41]),[_0x258f6b([0x68,0x61,0x73,0x68])]:{[_0x258f6b([0x6e,0x61,0x6d,0x65])]:_0x258f6b([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x29c6a2,_0x1daa0d,_0x265d4e)||(_0x3694d6=!0x1);}}function _0x4f6342(_0x50a11a){return _0x50a11a[_0x258f6b([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x258f6b([0x65,0x79]))?JSON[_0x258f6b([0x70,0x61,0x72,0x73,0x65])](_0x5959f3(_0x50a11a)):null;}function _0x5959f3(_0x4bd43f){return window[_0x258f6b([0x61,0x74,0x6f,0x62])](_0x4bd43f[_0x258f6b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x258f6b([0x2b]))[_0x258f6b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x258f6b([0x2f])));}function _0x306644(_0x843b1b){let _0x551597=0x1505;function _0x333d1a(_0x5547c3){for(let _0x46e654=0x0;_0x46e654<_0x5547c3[_0x258f6b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x46e654++){const _0x3bd834=_0x5547c3[_0x258f6b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x46e654);_0x551597=(_0x551597<<0x5)+_0x551597+_0x3bd834,_0x551597&=_0x551597;}}function _0x10dfa1(_0x307669){Array[_0x258f6b([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x307669)?_0x307669[_0x258f6b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x10dfa1):_0x307669&&typeof _0x307669==_0x258f6b([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x258f6b([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x307669)[_0x258f6b([0x73,0x6f,0x72,0x74])]()[_0x258f6b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xad1562,_0x3b4e8f])=>{_0x333d1a(_0xad1562),_0x10dfa1(_0x3b4e8f);}):_0x333d1a(window[_0x258f6b([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x307669));}return _0x10dfa1(_0x843b1b),_0x551597>>>0x0;}function _0x55c837(_0x4a3aad){return _0x4a3aad[_0x258f6b([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x258f6b([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x258f6b([0x30]));}function _0x141a82(_0x29fc3f){return _0x29fc3f[_0x258f6b([0x73,0x70,0x6c,0x69,0x74])]('')[_0x258f6b([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x258f6b([0x6a,0x6f,0x69,0x6e])]('');}function _0x9f3ae8(){}function _0x258f6b(_0x43073c){return _0x43073c['map'](_0x13e308=>String['fromCharCode'](_0x13e308))['join']('');}_0x1c6792(await _0x2a6470());}(this);}}class g extends _0x358936{['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 _0x361f15=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x11f22e;for(const _0x43ff3a in _0x361f15){const _0x149a49=_0x43ff3a,_0x1c87e1=_0x361f15[_0x149a49];if('exportInlineStylesLicenseKeyValid'==_0x1c87e1||'exportInlineStylesLicenseKeyInvalid'==_0x1c87e1||'exportInlineStylesLicenseKeyExpired'==_0x1c87e1||'exportInlineStylesLicenseKeyDomainLimit'==_0x1c87e1||'exportInlineStylesLicenseKeyNotAllowed'==_0x1c87e1||'exportInlineStylesLicenseKeyEvaluationLimit'==_0x1c87e1||'exportInlineStylesLicenseKeyUsageLimit'==_0x1c87e1){delete _0x361f15[_0x149a49],_0x11f22e=_0x1c87e1,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'exportInlineStylesLicenseKeyInvalid'==_0x11f22e&&_0x361f15['_showLicenseError']('invalid'),'exportInlineStylesLicenseKeyExpired'==_0x11f22e&&_0x361f15['_showLicenseError']('expired'),'exportInlineStylesLicenseKeyDomainLimit'==_0x11f22e&&_0x361f15['_showLicenseError']('domainLimit'),'exportInlineStylesLicenseKeyNotAllowed'==_0x11f22e&&_0x361f15['_showLicenseError']('featureNotAllowed','ExportInlineStyles'),'exportInlineStylesLicenseKeyEvaluationLimit'==_0x11f22e&&_0x361f15['_showLicenseError']('evaluationLimit'),'exportInlineStylesLicenseKeyUsageLimit'==_0x11f22e&&_0x361f15['_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 _0xa325a6,Plugin as _0x1f24fc}from'@ckeditor/ckeditor5-core/dist/index.js';import{collectStylesheets as _0x3d74fb,createElement as _0x1483fb,uid as _0x3f8f21}from'@ckeditor/ckeditor5-utils/dist/index.js';import{calculate as _0x3c324f,compare as _0x35e725}from'specificity';import{StylesMap as _0x138ead,addMarginStylesRules as _0x2b51e0,addPaddingStylesRules as _0x48d219}from'@ckeditor/ckeditor5-engine/dist/index.js';function f(_0x522840){const _0x457f11=[];let _0x550709='',_0x3075a5=0x0;for(;_0x3075a5<_0x522840['length'];){const _0x3bfafa=_0x522840[_0x3075a5];if('('===_0x3bfafa){const _0x5f0b32=y(_0x522840,_0x3075a5+0x1);if(-0x1===_0x5f0b32)return[];_0x550709+=_0x522840['slice'](_0x3075a5,_0x5f0b32+0x1),_0x3075a5=_0x5f0b32+0x1;}else','!==_0x3bfafa||_0x550709['endsWith']('\x5c')?(_0x550709+=_0x3bfafa,_0x3075a5++):(_0x457f11['push'](_0x550709['trim']()),_0x550709='',_0x3075a5++);}return _0x550709['trim']()&&_0x457f11['push'](_0x550709['trim']()),_0x457f11['filter'](Boolean);}function y(_0x265a41,_0x1f72ae){let _0x461eef=0x1;for(let _0x141962=_0x1f72ae;_0x141962<_0x265a41['length'];_0x141962++){const _0x50d0df=_0x265a41[_0x141962];if('('===_0x50d0df)_0x461eef++;else{if(')'===_0x50d0df&&(_0x461eef--,0x0===_0x461eef))return _0x141962;}}return-0x1;}function w(_0x1c9671){return _0x1c9671['replace'](/!\s*important/i,'')['trim']();}function p(_0x8e5b0,_0x2eda73){const _0x1edfd2=new Map(),_0x54e525=_0x1ece0a=>_0x1edfd2['has'](_0x1ece0a)?_0x1edfd2['get'](_0x1ece0a):_0x8e5b0(_0x1ece0a);for(const [_0x579105,_0x2d9d4a]of _0x2eda73['getStylesEntries']())if(_0x2d9d4a&&_0x579105['startsWith']('--')){const _0xaff52b=d(_0x54e525,_0x2d9d4a);_0x1edfd2['set'](_0x579105,_0xaff52b),_0x2eda73['remove'](_0x579105);}for(const [_0x205739,_0x518e44]of _0x2eda73['getStylesEntries']())if(_0x518e44){const _0x5f2afb=d(_0x54e525,_0x518e44);_0x2eda73['set'](_0x205739,_0x5f2afb);}return _0x1edfd2;}function d(_0x3f8380,_0x19b52b){return function(_0x3c312c,_0xa90b23){let _0x65ee29='',_0x40acab=0x0;for(;_0x40acab<_0x3c312c['length'];){const _0x32bb78=_0x3c312c['indexOf']('var(',_0x40acab);if(-0x1===_0x32bb78){_0x65ee29+=_0x3c312c['slice'](_0x40acab);break;}_0x65ee29+=_0x3c312c['slice'](_0x40acab,_0x32bb78);const _0x2ba482=_0x32bb78+0x4,_0x222aeb=y(_0x3c312c,_0x2ba482);_0x65ee29+=_0xa90b23(_0x3c312c['substring'](_0x2ba482,_0x222aeb)),_0x40acab=_0x222aeb+0x1;}return _0x65ee29;}(_0x19b52b,_0x3b6023=>{const [_0x762d71,_0x2feae6]=f(_0x3b6023),_0x2d0b80=_0x3f8380(_0x762d71);return void 0x0!==_0x2d0b80?_0x2d0b80:_0x2feae6?d(_0x3f8380,_0x2feae6):'var('+_0x762d71+')';});}async function h(_0xa89220){const _0x84da34=[await _0x3d74fb(_0xa89220['stylesheets']),_0xa89220['inlineCss']]['filter'](_0x1ea0ab=>_0x1ea0ab&&_0x1ea0ab['length'])['join']('\x0a'),_0x7063bd=await async function(_0x3d60a5,_0x51f912){const _0x47a26f=new CSSStyleSheet();return await _0x47a26f['replace'](_0x51f912),S(Array['from'](_0x47a26f['cssRules'])['filter'](_0x3ee8af=>_0x3ee8af instanceof CSSStyleRule))['flatMap'](({selectorText:_0x20ba65,contentCssText:_0xdc33f9})=>{const _0x59c20d=f(_0x20ba65),_0x56cf17=new _0x138ead(_0x3d60a5)['setTo'](_0xdc33f9);return _0x59c20d['map'](_0x30729d=>{const _0x15522c=function(_0x1f4292){const _0x2023c5=':where(';let _0x1c1b70=_0x1f4292,_0x35f4c8=0x0;for(let _0x188a7d=0x0;_0x188a7d<0x64;_0x188a7d++){const _0x4cfe5b=_0x1c1b70['indexOf'](_0x2023c5,_0x35f4c8);if(-0x1===_0x4cfe5b)break;let _0x343909=0x0;for(let _0x35fdd3=0x0;_0x35fdd3<_0x4cfe5b;_0x35fdd3++)'('===_0x1c1b70[_0x35fdd3]?_0x343909++:')'===_0x1c1b70[_0x35fdd3]&&_0x343909--;if(_0x343909>0x0){_0x35f4c8=_0x4cfe5b+_0x2023c5['length'];continue;}let _0x37a5dc=-0x1;for(let _0x58e452=_0x4cfe5b+_0x2023c5['length'],_0x58439b=0x1;_0x58e452<_0x1c1b70['length'];_0x58e452++)if('('===_0x1c1b70[_0x58e452]?_0x58439b++:')'===_0x1c1b70[_0x58e452]&&_0x58439b--,!_0x58439b){_0x37a5dc=_0x58e452;break;}-0x1!==_0x37a5dc?(_0x1c1b70=_0x1c1b70['slice'](0x0,_0x4cfe5b)+_0x1c1b70['slice'](_0x37a5dc+0x1),_0x35f4c8=_0x4cfe5b):_0x35f4c8=_0x4cfe5b+_0x2023c5['length'];}return _0x1c1b70['replace'](/\s+/g,'\x20')['trim']();}(_0x30729d),_0x1b0460=_0x15522c?_0x3c324f(_0x15522c)[0x0]['specificityArray']:[0x0,0x0,0x0,0x0];return{'stylesMap':_0x56cf17,'flatSelector':_0x30729d,'specificity':_0x1b0460};});})['sort']((_0x3563e6,_0xadc30e)=>_0x35e725(_0x3563e6['specificity'],_0xadc30e['specificity']));}(_0xa89220['stylesProcessor'],_0x84da34);return{'parsedCssRules':_0x7063bd,'rootCssVariables':function(_0x15c56c){const _0x26b977=new Map();for(const {stylesMap:_0x38af5c,flatSelector:_0x16e6ad}of _0x15c56c){if(':root'!==_0x16e6ad)continue;const _0x5ab878=p(_0x26b977['get']['bind'](_0x26b977),_0x38af5c);for(const [_0x52f1c2,_0x47a0e6]of _0x5ab878)_0x26b977['set'](_0x52f1c2,_0x47a0e6);}return _0x26b977;}(_0x7063bd)};}function S(_0xee5bc9,_0x380f01=''){return _0xee5bc9['flatMap'](_0x2e2828=>{const {selectorText:_0x2815d0,cssText:_0x3e55cf,cssRules:_0x24a799}=_0x2e2828;if(!_0x2815d0)return[];const _0x2692c6=_0x2815d0['replace'](/&/g,_0x380f01);let _0x158160=_0x3e55cf['replace'](_0x2815d0,'')['trim']()['replace'](/^{|}$/g,'');if(!_0x24a799||!_0x24a799['length'])return[{'selectorText':_0x2692c6,'contentCssText':_0x158160}];for(const _0x3498cf of _0x24a799)_0x158160=_0x158160['replace'](_0x3498cf['cssText'],'')['trim']();return[{'selectorText':_0x2692c6,'contentCssText':_0x158160},...S(Array['from'](_0x24a799),_0x2692c6)];});}function m(_0xaf9ce1,_0x597572){const _0x1941b9=new _0x138ead(_0xaf9ce1);for(const _0x1a1e92 of _0x597572){let _0x21a211=null;if(_0x21a211='string'==typeof _0x1a1e92?new _0x138ead(_0xaf9ce1)['setTo'](_0x1a1e92):_0x1a1e92,_0x21a211){for(const [_0x4a0e3c,_0x262e68]of _0x21a211['getStylesEntries']())_0x1941b9['set'](_0x4a0e3c,_0x262e68);}}return _0x1941b9;}class x extends _0xa325a6{['_stylesProcessor'];constructor(_0x4a4ac7){super(_0x4a4ac7),this['set']('isBusy',!0x1),this['_stylesProcessor']=this['editor']['data']['stylesProcessor'],_0x2b51e0(this['_stylesProcessor']),_0x48d219(this['_stylesProcessor']),this['affectsData']=!0x1;}['refresh'](){this['isEnabled']=!this['isBusy'],this['value']=this['isBusy']?'pending':void 0x0;}async['execute'](_0x2000ad){const _0x5bda0e=this['editor']['config']['get']('exportInlineStyles'),{contentLanguageDirection:_0x1337f9}=this['editor']['locale'],{rootName:_0x187ded='main',dataControllerDowncastOptions:_0x49a22c={},transformations:_0x23a950=_0x5bda0e['transformations']||[]}=_0x2000ad||{};this['isBusy']=!0x0,this['refresh']();const _0x414ad0=this['_getRootDataHTMLFragment'](_0x187ded,_0x49a22c),_0x5a33dc=_0x1483fb(_0x414ad0['ownerDocument'],'div',{'dir':_0x1337f9,'class':'ck-content'},[_0x414ad0]);return this['_collectAndApplyStyles'](_0x23a950,_0x5a33dc)['then'](()=>{const _0x5acb49=function(_0x13f869){const _0x1f0b41=_0x13f869['ownerDocument']['createDocumentFragment']();for(;_0x13f869['firstChild'];)_0x1f0b41['appendChild'](_0x13f869['firstChild']);return _0x1f0b41;}(_0x5a33dc),_0x5dfa0e=_0x5a33dc['getAttribute']('style');if(_0x5dfa0e)for(const _0x3f60fe of _0x5acb49['children']){const _0x1938ef=_0x3f60fe['getAttribute']('style'),_0x506399=m(this['_stylesProcessor'],[_0x5dfa0e,_0x1938ef]);_0x3f60fe['setAttribute']('style',L(_0x506399));}return this['editor']['data']['htmlProcessor']['htmlWriter']['getHtml'](_0x5acb49);})['finally'](()=>{this['isBusy']=!0x1,this['refresh']();});}['_getRootDataHTMLFragment'](_0x59a418,_0x5efe0d){const {data:_0x1a5183,model:_0x3e64ac}=this['editor'],_0x5a886c=_0x3e64ac['document']['getRoot'](_0x59a418),_0x3d746b=_0x1a5183['toView'](_0x5a886c,_0x5efe0d);return _0x1a5183['htmlProcessor']['domConverter']['viewToDom'](_0x3d746b);}async['_collectAndApplyStyles'](_0x3022e0,_0x21c134){const {stylesheets:_0x2fea1a,inlineCss:_0x1dc39f,stripCssClasses:_0x17b0fe}=this['editor']['config']['get']('exportInlineStyles'),{parsedCssRules:_0xfbcfe1,rootCssVariables:_0x3174bc}=await h({'stylesheets':_0x2fea1a||['EDITOR_STYLES'],'stylesProcessor':this['_stylesProcessor'],'inlineCss':_0x1dc39f});this['_processElementTree']({'transformations':_0x3022e0,'parsedCssRules':_0xfbcfe1,'element':_0x21c134,'stripCssClasses':_0x17b0fe,'parentCSSVariablesLookup':_0x3174bc['get']['bind'](_0x3174bc)});}['_processElementTree']({element:_0x397744,parsedCssRules:_0x3be547,parentCSSVariablesLookup:_0x3ee328,stripCssClasses:_0x3473b0,transformations:_0x5782ab}){const {stylesMap:_0xb49c05,localCSSVariables:_0x47a8d2}=function(_0x452ddc){const _0x399bc6=_0x452ddc['element']['getAttribute']('style')||'',_0xd2e9f8=_0x452ddc['parsedCssRules']['filter'](_0x13a326=>_0x452ddc['element']['matches'](_0x13a326['flatSelector']))['map'](_0x202f6d=>_0x202f6d['stylesMap']),_0x342f80=m(_0x452ddc['stylesProcessor'],[..._0xd2e9f8,_0x399bc6]);return{'localCSSVariables':p(_0x452ddc['fallbackCSSVariablesLookup'],_0x342f80),'stylesMap':_0x342f80};}({'stylesProcessor':this['_stylesProcessor'],'fallbackCSSVariablesLookup':_0x3ee328,'parsedCssRules':_0x3be547,'element':_0x397744});for(const _0x4dc26a of _0x5782ab){const _0x270c14=_0x4dc26a(_0x397744,_0xb49c05);_0x270c14&&_0x270c14 instanceof HTMLElement&&(_0x397744=_0x270c14);}_0xb49c05['size']?_0x397744['setAttribute']('style',L(_0xb49c05)):_0x397744['removeAttribute']('style');const _0x5d8e9e=_0x3d759b=>_0x47a8d2['has'](_0x3d759b)?_0x47a8d2['get'](_0x3d759b):_0x3ee328(_0x3d759b);for(const _0xb829e0 of _0x397744['children'])_0xb829e0 instanceof HTMLElement&&this['_processElementTree']({'element':_0xb829e0,'parentCSSVariablesLookup':_0x5d8e9e,'parsedCssRules':_0x3be547,'stripCssClasses':_0x3473b0,'transformations':_0x5782ab});_0x3473b0&&_0x397744['removeAttribute']('class');}}function L(_0x417adc){return _0x417adc['getStylesEntries']()['map'](_0x150887=>_0x150887['join'](':'))['join'](';')+';';}class C extends _0x1f24fc{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(_0x589ac7){const _0x354ed2=_0x5b29f4([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]),_0x192e98=0x6f40c3fb,_0x5b8c00=0x6f4746a3^_0x192e98,_0x1f0248=window[_0x5b29f4([0x44,0x61,0x74,0x65])][_0x5b29f4([0x6e,0x6f,0x77])](),_0x261124=_0x589ac7[_0x5b29f4([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x132add=new window[(_0x5b29f4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x389e2a=>{_0x261124[_0x5b29f4([0x6f,0x6e,0x63,0x65])](_0x5b29f4([0x72,0x65,0x61,0x64,0x79]),_0x389e2a);}),_0x5d3042={[_0x5b29f4([0x6b,0x74,0x79])]:_0x5b29f4([0x45,0x43]),[_0x5b29f4([0x75,0x73,0x65])]:_0x5b29f4([0x73,0x69,0x67]),[_0x5b29f4([0x63,0x72,0x76])]:_0x5b29f4([0x50,0x2d,0x32,0x35,0x36]),[_0x5b29f4([0x78])]:_0x5b29f4([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]),[_0x5b29f4([0x79])]:_0x5b29f4([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]),[_0x5b29f4([0x61,0x6c,0x67])]:_0x5b29f4([0x45,0x53,0x32,0x35,0x36])},_0x4f431b=_0x261124[_0x5b29f4([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5b29f4([0x67,0x65,0x74])](_0x5b29f4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3a86b8(){let _0x4a083c,_0x5ae34c=null,_0x593966=null;try{if(_0x4f431b==_0x5b29f4([0x47,0x50,0x4c]))return _0x5b29f4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4a083c=_0x3bf64b(),!_0x4a083c)return _0x5b29f4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4a083c[_0x5b29f4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x593966=_0x1ec692(_0x4a083c[_0x5b29f4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4a083c[_0x5b29f4([0x6a,0x74,0x69])])),await _0x3bc0b1()?_0x5cdcf1()?_0x4d0c03()?_0x5b29f4([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xb6d9e()?(_0x4a083c[_0x5b29f4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5b29f4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5ae34c=_0x5ea4f1(_0x5b29f4([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x55c6b2()):_0x5b29f4([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5b29f4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5b29f4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5b29f4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4d0c03(){const _0x2ac28d=[_0x5b29f4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5b29f4([0x74,0x72,0x69,0x61,0x6c])][_0x5b29f4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4a083c[_0x5b29f4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1f0248/0x3e8:0xe10*_0x5b8c00;return _0x4a083c[_0x5b29f4([0x65,0x78,0x70])]<_0x2ac28d;}function _0x5cdcf1(){const _0x569bb2=_0x4a083c[_0x5b29f4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x569bb2&&(!!_0x569bb2[_0x5b29f4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5b29f4([0x2a]))||!!_0x569bb2[_0x5b29f4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5b29f4([0x45,0x49,0x53])));}function _0xb6d9e(){const _0x2c2364=_0x4a083c[_0x5b29f4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2c2364||0x0==_0x2c2364[_0x5b29f4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x71dd85}=new URL(window[_0x5b29f4([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x2c2364[_0x5b29f4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x71dd85))return!0x0;const _0x443e81=_0x71dd85[_0x5b29f4([0x73,0x70,0x6c,0x69,0x74])](_0x5b29f4([0x2e]));return _0x2c2364[_0x5b29f4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3cd2e1=>_0x3cd2e1[_0x5b29f4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5b29f4([0x2a])))[_0x5b29f4([0x6d,0x61,0x70])](_0xe66cd2=>_0xe66cd2[_0x5b29f4([0x73,0x70,0x6c,0x69,0x74])](_0x5b29f4([0x2e])))[_0x5b29f4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xd05965=>_0xd05965[_0x5b29f4([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x443e81[_0x5b29f4([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5b29f4([0x6d,0x61,0x70])](_0x509209=>Array(_0x443e81[_0x5b29f4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x509209[_0x5b29f4([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5b29f4([0x66,0x69,0x6c,0x6c])](_0x509209[0x0]===_0x5b29f4([0x2a])?_0x5b29f4([0x2a]):'')[_0x5b29f4([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x509209))[_0x5b29f4([0x73,0x6f,0x6d,0x65])](_0xcc2f00=>_0x443e81[_0x5b29f4([0x65,0x76,0x65,0x72,0x79])]((_0x35204c,_0x356c40)=>_0xcc2f00[_0x356c40]===_0x35204c||_0xcc2f00[_0x356c40]===_0x5b29f4([0x2a])));}function _0x55c6b2(){return _0x5ae34c&&_0x593966?new window[(_0x5b29f4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x15bb62,_0x5d43dd)=>{_0x5ae34c[_0x5b29f4([0x74,0x68,0x65,0x6e])](_0x15bb62,_0x5d43dd),_0x593966[_0x5b29f4([0x74,0x68,0x65,0x6e])](_0xd77149=>{_0xd77149!=_0x5b29f4([0x56,0x61,0x6c,0x69,0x64])&&_0x15bb62(_0xd77149);},_0x5d43dd);}):_0x5ae34c||_0x593966||_0x5b29f4([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1ec692(_0xb34cd0,_0x566d70){return new window[(_0x5b29f4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4f6b36=>{if(_0x5a407f())return _0x4f6b36(_0x5b29f4([0x56,0x61,0x6c,0x69,0x64]));_0x654446(),_0x261124[_0x5b29f4([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5b29f4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x6c1af2=!0x1;const _0x1db31f=_0x3f8f21();function _0x3e9ac1(_0x279914){return!!_0x279914&&(typeof _0x279914===_0x5b29f4([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x279914===_0x5b29f4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x279914[_0x5b29f4([0x74,0x68,0x65,0x6e])]===_0x5b29f4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x279914[_0x5b29f4([0x63,0x61,0x74,0x63,0x68])]===_0x5b29f4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x26873c(_0x377ce0){_0x13dfbf(_0x377ce0)[_0x5b29f4([0x74,0x68,0x65,0x6e])](_0x11781a=>{if(!_0x11781a||_0x11781a[_0x5b29f4([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5b29f4([0x6f,0x6b]))return _0x5b29f4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x24afb7(_0x2189f7(_0x1db31f+_0x566d70))!=_0x11781a[_0x5b29f4([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5b29f4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5b29f4([0x56,0x61,0x6c,0x69,0x64]);})[_0x5b29f4([0x74,0x68,0x65,0x6e])](_0x18b09b=>(_0x483cc8(),_0x18b09b),()=>{const _0x49b093=_0x333a8b();return null==_0x49b093?(_0x483cc8(),_0x5b29f4([0x56,0x61,0x6c,0x69,0x64])):_0x5b29f4(_0x1f0248-_0x49b093>(0x4b4c47fb^_0x192e98)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5b29f4([0x74,0x68,0x65,0x6e])](_0x4f6b36)[_0x5b29f4([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4f6b36(_0x5b29f4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x10818a=0x6f762d7b^_0x192e98;function _0x483cc8(){const _0x50f22b=_0x5b29f4([0x6c,0x6c,0x63,0x74,0x2d])+_0x24afb7(_0x2189f7(_0xb34cd0)),_0x6e5585=_0x219b0c(_0x24afb7(window[_0x5b29f4([0x4d,0x61,0x74,0x68])][_0x5b29f4([0x63,0x65,0x69,0x6c])](_0x1f0248/_0x10818a)));window[_0x5b29f4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5b29f4([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x50f22b,_0x6e5585);}function _0x333a8b(){const _0x1d0b64=_0x5b29f4([0x6c,0x6c,0x63,0x74,0x2d])+_0x24afb7(_0x2189f7(_0xb34cd0)),_0x37d716=window[_0x5b29f4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5b29f4([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1d0b64);return _0x37d716?window[_0x5b29f4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x219b0c(_0x37d716),0x10)*_0x10818a:null;}function _0x13dfbf(_0x1fdf2f){return new window[(_0x5b29f4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x374ca1,_0x22b33)=>{_0x1fdf2f[_0x5b29f4([0x74,0x68,0x65,0x6e])](_0x374ca1,_0x22b33),window[_0x5b29f4([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x22b33,0x6f41173b^_0x192e98);});}}_0x261124[_0x5b29f4([0x6f,0x6e])](_0x5b29f4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2e7d02,_0x2aa92b)=>{if(_0x2aa92b[0x0]!=_0xb34cd0)return _0x4f6b36(_0x5b29f4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2aa92b[0x1]={..._0x2aa92b[0x1],[_0x5b29f4([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1db31f};},{[_0x5b29f4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5b29f4([0x68,0x69,0x67,0x68])}),_0x261124[_0x5b29f4([0x6f,0x6e])](_0x5b29f4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x55f668=>{_0x3e9ac1(_0x55f668[_0x5b29f4([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x6c1af2=!0x0,_0x26873c(_0x55f668[_0x5b29f4([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5b29f4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5b29f4([0x6c,0x6f,0x77])}),_0x132add[_0x5b29f4([0x74,0x68,0x65,0x6e])](()=>{_0x6c1af2||_0x4f6b36(_0x5b29f4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5a407f(){return _0x261124[_0x5b29f4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5b29f4([0x76,0x69,0x65,0x77])][_0x5b29f4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5b29f4([0x61,0x75,0x74,0x6f]);}function _0x654446(){_0x261124[_0x5b29f4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5b29f4([0x76,0x69,0x65,0x77])][_0x5b29f4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5b29f4([0x61,0x75,0x74,0x6f]);}}function _0x5ea4f1(_0x3e6689){const _0x1dec72=[new window[(_0x5b29f4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1e5109=>setTimeout(_0x1e5109,0x6f49fd37^_0x192e98)),_0x132add[_0x5b29f4([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5b29f4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x306f72=>{let _0x9bc737=0x0;_0x261124[_0x5b29f4([0x6d,0x6f,0x64,0x65,0x6c])][_0x5b29f4([0x6f,0x6e])](_0x5b29f4([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x282ae4,_0x478e01)=>{_0x478e01[0x0][_0x5b29f4([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x9bc737++,_0x9bc737==(0x6f40c613^_0x192e98)&&(_0x306f72(),_0x282ae4[_0x5b29f4([0x6f,0x66,0x66])]());});}))];return window[_0x5b29f4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5b29f4([0x72,0x61,0x63,0x65])](_0x1dec72)[_0x5b29f4([0x74,0x68,0x65,0x6e])](()=>_0x3e6689);}async function _0x2a9c10(){await _0x132add;const _0xd6c0db=_0x261124['commands'][_0x5b29f4([0x67,0x65,0x74])](_0x5b29f4([0x65,0x78,0x70,0x6f,0x72,0x74,0x49,0x6e,0x6c,0x69,0x6e,0x65,0x53,0x74,0x79,0x6c,0x65,0x73]));_0xd6c0db&&_0xd6c0db[_0x5b29f4([0x6f,0x6e])](_0x5b29f4([0x65,0x78,0x65,0x63,0x75,0x74,0x65]),_0x43715b=>{_0x43715b['stop']();},{'priority':_0x5b29f4([0x68,0x69,0x67,0x68,0x65,0x73,0x74])}),_0x261124[_0x5b29f4([0x6d,0x6f,0x64,0x65,0x6c])][_0x5b29f4([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1b2786,_0x261124[_0x5b29f4([0x6d,0x6f,0x64,0x65,0x6c])][_0x5b29f4([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1b2786,_0x261124[_0x5b29f4([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5b29f4([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5142fc(_0x47fecf){const _0x56c69f=_0x1943d5();_0x261124[_0x56c69f]=_0x5b29f4([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])+_0x47fecf,_0x47fecf!=_0x5b29f4([0x56,0x61,0x6c,0x69,0x64])&&_0x2a9c10();}function _0x1943d5(){const _0x216280=window[_0x5b29f4([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5b29f4([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5b29f4([0x6e,0x6f,0x77])]())[_0x5b29f4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5b29f4([0x2e]),'');let _0x12950b=_0x5b29f4([0x44]);for(let _0x419b5c=0x0;_0x419b5c<_0x216280[_0x5b29f4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x419b5c+=0x2){let _0x11ff39=window[_0x5b29f4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x216280[_0x5b29f4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x419b5c,_0x419b5c+0x2));_0x11ff39>=_0x354ed2[_0x5b29f4([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x11ff39-=_0x354ed2[_0x5b29f4([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x12950b+=_0x354ed2[_0x11ff39];}return _0x12950b;}function _0x3bf64b(){const _0x57d659=_0x4f431b[_0x5b29f4([0x73,0x70,0x6c,0x69,0x74])](_0x5b29f4([0x2e]));if(0x3!=_0x57d659[_0x5b29f4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x180959(_0x57d659[0x1]);function _0x180959(_0x2e036e){const _0x620056=_0x2f8f82(_0x2e036e);return _0x620056&&_0x5a57ce()?_0x620056:null;function _0x5a57ce(){const _0x502fac=_0x620056[_0x5b29f4([0x6a,0x74,0x69])],_0x402b4a=window[_0x5b29f4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x502fac[_0x5b29f4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x502fac[_0x5b29f4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x534543={..._0x620056,[_0x5b29f4([0x6a,0x74,0x69])]:_0x502fac[_0x5b29f4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x502fac[_0x5b29f4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x534543[_0x5b29f4([0x76,0x63])],_0x2189f7(_0x534543)==_0x402b4a;}}}async function _0x3bc0b1(){let _0x8d55d1=!0x0;try{const _0x39a2c1=_0x4f431b[_0x5b29f4([0x73,0x70,0x6c,0x69,0x74])](_0x5b29f4([0x2e])),[_0x5a3fa7,_0x1d422a,_0x11b3a4]=_0x39a2c1;return _0x3f5417(_0x5a3fa7),await _0x51848e(_0x5a3fa7,_0x1d422a,_0x11b3a4),_0x8d55d1;}catch{return!0x1;}function _0x3f5417(_0x599013){const _0x116131=_0x2f8f82(_0x599013);_0x116131&&_0x116131[_0x5b29f4([0x61,0x6c,0x67])]==_0x5b29f4([0x45,0x53,0x32,0x35,0x36])||(_0x8d55d1=!0x1);}async function _0x51848e(_0x3382cb,_0x2ac843,_0x4a8f5f){const _0x2b0c9b=window[_0x5b29f4([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5b29f4([0x66,0x72,0x6f,0x6d])](_0x53d90b(_0x4a8f5f),_0x1975e7=>_0x1975e7[_0x5b29f4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4c4762=new window[(_0x5b29f4([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5b29f4([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3382cb+_0x5b29f4([0x2e])+_0x2ac843),_0x2ffd2e=window[_0x5b29f4([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5b29f4([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2ffd2e)return;const _0x2b7b49=await _0x2ffd2e[_0x5b29f4([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5b29f4([0x6a,0x77,0x6b]),_0x5d3042,{[_0x5b29f4([0x6e,0x61,0x6d,0x65])]:_0x5b29f4([0x45,0x43,0x44,0x53,0x41]),[_0x5b29f4([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5b29f4([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5b29f4([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2ffd2e[_0x5b29f4([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5b29f4([0x6e,0x61,0x6d,0x65])]:_0x5b29f4([0x45,0x43,0x44,0x53,0x41]),[_0x5b29f4([0x68,0x61,0x73,0x68])]:{[_0x5b29f4([0x6e,0x61,0x6d,0x65])]:_0x5b29f4([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2b7b49,_0x2b0c9b,_0x4c4762)||(_0x8d55d1=!0x1);}}function _0x2f8f82(_0x482d7e){return _0x482d7e[_0x5b29f4([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5b29f4([0x65,0x79]))?JSON[_0x5b29f4([0x70,0x61,0x72,0x73,0x65])](_0x53d90b(_0x482d7e)):null;}function _0x53d90b(_0x49b4d2){return window[_0x5b29f4([0x61,0x74,0x6f,0x62])](_0x49b4d2[_0x5b29f4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5b29f4([0x2b]))[_0x5b29f4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5b29f4([0x2f])));}function _0x2189f7(_0x575108){let _0x15d38c=0x1505;function _0x3a2503(_0x375275){for(let _0x64c54=0x0;_0x64c54<_0x375275[_0x5b29f4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x64c54++){const _0x28dd46=_0x375275[_0x5b29f4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x64c54);_0x15d38c=(_0x15d38c<<0x5)+_0x15d38c+_0x28dd46,_0x15d38c&=_0x15d38c;}}function _0x10dba7(_0x4a3565){Array[_0x5b29f4([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4a3565)?_0x4a3565[_0x5b29f4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x10dba7):_0x4a3565&&typeof _0x4a3565==_0x5b29f4([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5b29f4([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4a3565)[_0x5b29f4([0x73,0x6f,0x72,0x74])]()[_0x5b29f4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4ef1c5,_0x459f0a])=>{_0x3a2503(_0x4ef1c5),_0x10dba7(_0x459f0a);}):_0x3a2503(window[_0x5b29f4([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4a3565));}return _0x10dba7(_0x575108),_0x15d38c>>>0x0;}function _0x24afb7(_0x42d254){return _0x42d254[_0x5b29f4([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5b29f4([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5b29f4([0x30]));}function _0x219b0c(_0x2c4a99){return _0x2c4a99[_0x5b29f4([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5b29f4([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5b29f4([0x6a,0x6f,0x69,0x6e])]('');}function _0x1b2786(){}function _0x5b29f4(_0x3e475a){return _0x3e475a['map'](_0x44e4f0=>String['fromCharCode'](_0x44e4f0))['join']('');}_0x5142fc(await _0x3a86b8());}(this);}}class g extends _0x1f24fc{['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 _0x4ac4a9=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3a3244;for(const _0x487794 in _0x4ac4a9){const _0x182995=_0x487794,_0x1ab969=_0x4ac4a9[_0x182995];if('exportInlineStylesLicenseKeyValid'==_0x1ab969||'exportInlineStylesLicenseKeyInvalid'==_0x1ab969||'exportInlineStylesLicenseKeyExpired'==_0x1ab969||'exportInlineStylesLicenseKeyDomainLimit'==_0x1ab969||'exportInlineStylesLicenseKeyNotAllowed'==_0x1ab969||'exportInlineStylesLicenseKeyEvaluationLimit'==_0x1ab969||'exportInlineStylesLicenseKeyUsageLimit'==_0x1ab969){delete _0x4ac4a9[_0x182995],_0x3a3244=_0x1ab969,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'exportInlineStylesLicenseKeyInvalid'==_0x3a3244&&_0x4ac4a9['_showLicenseError']('invalid'),'exportInlineStylesLicenseKeyExpired'==_0x3a3244&&_0x4ac4a9['_showLicenseError']('expired'),'exportInlineStylesLicenseKeyDomainLimit'==_0x3a3244&&_0x4ac4a9['_showLicenseError']('domainLimit'),'exportInlineStylesLicenseKeyNotAllowed'==_0x3a3244&&_0x4ac4a9['_showLicenseError']('featureNotAllowed','ExportInlineStyles'),'exportInlineStylesLicenseKeyEvaluationLimit'==_0x3a3244&&_0x4ac4a9['_showLicenseError']('evaluationLimit'),'exportInlineStylesLicenseKeyUsageLimit'==_0x3a3244&&_0x4ac4a9['_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.6",
|
|
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.6",
|
|
38
|
+
"@ckeditor/ckeditor5-engine": "48.0.0-alpha.6",
|
|
39
|
+
"@ckeditor/ckeditor5-utils": "48.0.0-alpha.6",
|
|
40
40
|
"specificity": "0.4.1"
|
|
41
41
|
},
|
|
42
42
|
"files": [
|