@ckeditor/ckeditor5-export-inline-styles 48.1.0-alpha.1 → 48.1.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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 _0x19ede7,Plugin as _0x4b3014}from'@ckeditor/ckeditor5-core/dist/index.js';import{collectStylesheets as _0x3d5de8,createElement as _0x9a628d,uid as _0xaff2bd}from'@ckeditor/ckeditor5-utils/dist/index.js';import{StylesMap as _0x457922,addMarginStylesRules as _0x25482d,addPaddingStylesRules as _0x517734}from'@ckeditor/ckeditor5-engine/dist/index.js';import{calculate as _0x2d3f58,compare as _0x8b67b1}from'specificity';function f(_0x411975){const _0xc2b878=[];let _0x4f312f='',_0x581703=0x0;for(;_0x581703<_0x411975['length'];){const _0x5509d5=_0x411975[_0x581703];if('('===_0x5509d5){const _0x5bb0c6=y(_0x411975,_0x581703+0x1);if(-0x1===_0x5bb0c6)return[];_0x4f312f+=_0x411975['slice'](_0x581703,_0x5bb0c6+0x1),_0x581703=_0x5bb0c6+0x1;}else','!==_0x5509d5||_0x4f312f['endsWith']('\x5c')?(_0x4f312f+=_0x5509d5,_0x581703++):(_0xc2b878['push'](_0x4f312f['trim']()),_0x4f312f='',_0x581703++);}return _0x4f312f['trim']()&&_0xc2b878['push'](_0x4f312f['trim']()),_0xc2b878['filter'](Boolean);}function y(_0x331375,_0x3ea991){let _0x157144=0x1;for(let _0x37be86=_0x3ea991;_0x37be86<_0x331375['length'];_0x37be86++){const _0x478989=_0x331375[_0x37be86];if('('===_0x478989)_0x157144++;else{if(')'===_0x478989&&(_0x157144--,0x0===_0x157144))return _0x37be86;}}return-0x1;}function w(_0x11191a){return _0x11191a['replace'](/!\s*important/i,'')['trim']();}function d(_0x4c862b,_0xd8305d){const _0x37cc5a=new Map(),_0x5b4d85=_0x333f46=>_0x37cc5a['has'](_0x333f46)?_0x37cc5a['get'](_0x333f46):_0x4c862b(_0x333f46);for(const [_0x29bb3e,_0x52f485]of _0xd8305d['getStylesEntries']())if(_0x52f485&&_0x29bb3e['startsWith']('--')){const _0x28bba9=p(_0x5b4d85,_0x52f485);_0x37cc5a['set'](_0x29bb3e,_0x28bba9),_0xd8305d['remove'](_0x29bb3e);}for(const [_0x1a8919,_0x513058]of _0xd8305d['getStylesEntries']())if(_0x513058){const _0x4e995f=p(_0x5b4d85,_0x513058);_0xd8305d['set'](_0x1a8919,_0x4e995f);}return _0x37cc5a;}function p(_0x2c3256,_0x3b31c1){return function(_0x27a1cd,_0x1c370c){let _0x2cf1bb='',_0x120340=0x0;for(;_0x120340<_0x27a1cd['length'];){const _0x1f690d=_0x27a1cd['indexOf']('var(',_0x120340);if(-0x1===_0x1f690d){_0x2cf1bb+=_0x27a1cd['slice'](_0x120340);break;}_0x2cf1bb+=_0x27a1cd['slice'](_0x120340,_0x1f690d);const _0x5d2f40=_0x1f690d+0x4,_0x4a2d55=y(_0x27a1cd,_0x5d2f40);_0x2cf1bb+=_0x1c370c(_0x27a1cd['substring'](_0x5d2f40,_0x4a2d55)),_0x120340=_0x4a2d55+0x1;}return _0x2cf1bb;}(_0x3b31c1,_0x4e2cb0=>{const [_0x5a6d40,_0x190275]=f(_0x4e2cb0),_0x7c36ee=_0x2c3256(_0x5a6d40);return void 0x0!==_0x7c36ee?_0x7c36ee:_0x190275?p(_0x2c3256,_0x190275):'var('+_0x5a6d40+')';});}async function m(_0x3af5e5){const _0x32f43e=[await _0x3d5de8(_0x3af5e5['stylesheets']),_0x3af5e5['inlineCss']]['filter'](_0xb59529=>_0xb59529&&_0xb59529['length'])['join']('\x0a'),_0x1a1b42=await async function(_0x41c4bf,_0x60a657){const _0x3e3e10=new CSSStyleSheet();return await _0x3e3e10['replace'](_0x60a657),h(Array['from'](_0x3e3e10['cssRules'])['filter'](_0x140fd2=>_0x140fd2 instanceof CSSStyleRule))['flatMap'](({selectorText:_0x359d2f,contentCssText:_0x555afb})=>{const _0x129420=f(_0x359d2f),_0x3f3474=new _0x457922(_0x41c4bf)['setTo'](_0x555afb);return _0x129420['map'](_0x5e7099=>{const _0x1fe6c1=function(_0x2ad25e){const _0x512985=':where(';let _0x4aebaa=_0x2ad25e,_0x23c415=0x0;for(let _0x209bb7=0x0;_0x209bb7<0x64;_0x209bb7++){const _0x23d596=_0x4aebaa['indexOf'](_0x512985,_0x23c415);if(-0x1===_0x23d596)break;let _0x3aeff7=0x0;for(let _0x465263=0x0;_0x465263<_0x23d596;_0x465263++)'('===_0x4aebaa[_0x465263]?_0x3aeff7++:')'===_0x4aebaa[_0x465263]&&_0x3aeff7--;if(_0x3aeff7>0x0){_0x23c415=_0x23d596+_0x512985['length'];continue;}let _0x547e7c=-0x1;for(let _0x4bb5b7=_0x23d596+_0x512985['length'],_0x35960d=0x1;_0x4bb5b7<_0x4aebaa['length'];_0x4bb5b7++)if('('===_0x4aebaa[_0x4bb5b7]?_0x35960d++:')'===_0x4aebaa[_0x4bb5b7]&&_0x35960d--,!_0x35960d){_0x547e7c=_0x4bb5b7;break;}-0x1!==_0x547e7c?(_0x4aebaa=_0x4aebaa['slice'](0x0,_0x23d596)+_0x4aebaa['slice'](_0x547e7c+0x1),_0x23c415=_0x23d596):_0x23c415=_0x23d596+_0x512985['length'];}return _0x4aebaa['replace'](/\s+/g,'\x20')['trim']();}(_0x5e7099),_0x2ee9ba=_0x1fe6c1?_0x2d3f58(_0x1fe6c1)[0x0]['specificityArray']:[0x0,0x0,0x0,0x0];return{'stylesMap':_0x3f3474,'flatSelector':_0x5e7099,'specificity':_0x2ee9ba};});})['sort']((_0x3e7892,_0x2cb0d5)=>_0x8b67b1(_0x3e7892['specificity'],_0x2cb0d5['specificity']));}(_0x3af5e5['stylesProcessor'],_0x32f43e);return{'parsedCssRules':_0x1a1b42,'rootCssVariables':function(_0xc28c87){const _0x4bf44e=new Map();for(const {stylesMap:_0x421107,flatSelector:_0x108f0b}of _0xc28c87){if(':root'!==_0x108f0b)continue;const _0x1d55d9=d(_0x4bf44e['get']['bind'](_0x4bf44e),_0x421107);for(const [_0x22d5e1,_0x153d42]of _0x1d55d9)_0x4bf44e['set'](_0x22d5e1,_0x153d42);}return _0x4bf44e;}(_0x1a1b42)};}function h(_0x529fa3,_0x20f551=''){return _0x529fa3['flatMap'](_0xa24f2e=>{const {selectorText:_0x244559,cssText:_0x35369d,cssRules:_0x435c96}=_0xa24f2e;if(!_0x244559)return[];const _0x410669=_0x244559['replace'](/&/g,_0x20f551);let _0x40f285=_0x35369d['replace'](_0x244559,'')['trim']()['replace'](/^{|}$/g,'');if(!_0x435c96||!_0x435c96['length'])return[{'selectorText':_0x410669,'contentCssText':_0x40f285}];for(const _0x3ba501 of _0x435c96)_0x40f285=_0x40f285['replace'](_0x3ba501['cssText'],'')['trim']();return[{'selectorText':_0x410669,'contentCssText':_0x40f285},...h(Array['from'](_0x435c96),_0x410669)];});}function S(_0x5c2f1f,_0x49ec74){const _0x4db5ad=new _0x457922(_0x5c2f1f);for(const _0x376469 of _0x49ec74){let _0x46dbcb=null;if(_0x46dbcb='string'==typeof _0x376469?new _0x457922(_0x5c2f1f)['setTo'](_0x376469):_0x376469,_0x46dbcb){for(const [_0x224e05,_0x16f804]of _0x46dbcb['getStylesEntries']())_0x4db5ad['set'](_0x224e05,_0x16f804);}}return _0x4db5ad;}class x extends _0x19ede7{['_stylesProcessor'];constructor(_0xcdce1){super(_0xcdce1),this['set']('isBusy',!0x1),this['_stylesProcessor']=this['editor']['data']['stylesProcessor'],_0x25482d(this['_stylesProcessor']),_0x517734(this['_stylesProcessor']),this['affectsData']=!0x1;}['refresh'](){this['isEnabled']=!this['isBusy'],this['value']=this['isBusy']?'pending':void 0x0;}async['execute'](_0x237e21){const _0x267ff0=this['editor']['config']['get']('exportInlineStyles'),{contentLanguageDirection:_0x456a61}=this['editor']['locale'],{rootName:_0x5ef759='main',dataControllerDowncastOptions:_0x694fd5={},transformations:_0x4c2eec=_0x267ff0['transformations']||[]}=_0x237e21||{};this['isBusy']=!0x0,this['refresh']();const _0x5e5f29=this['_getRootDataHTMLFragment'](_0x5ef759,_0x694fd5),_0x1aa557=_0x9a628d(_0x5e5f29['ownerDocument'],'div',{'dir':_0x456a61,'class':'ck-content'},[_0x5e5f29]);return this['_collectAndApplyStyles'](_0x4c2eec,_0x1aa557)['then'](()=>{const _0x4fcc50=function(_0x3fc934){const _0x3476c2=_0x3fc934['ownerDocument']['createDocumentFragment']();for(;_0x3fc934['firstChild'];)_0x3476c2['appendChild'](_0x3fc934['firstChild']);return _0x3476c2;}(_0x1aa557),_0x5de51b=_0x1aa557['getAttribute']('style');if(_0x5de51b)for(const _0x43e01d of _0x4fcc50['children']){const _0x156225=_0x43e01d['getAttribute']('style'),_0x15149c=S(this['_stylesProcessor'],[_0x5de51b,_0x156225]);_0x43e01d['setAttribute']('style',C(_0x15149c));}return this['editor']['data']['htmlProcessor']['htmlWriter']['getHtml'](_0x4fcc50);})['finally'](()=>{this['isBusy']=!0x1,this['refresh']();});}['_getRootDataHTMLFragment'](_0x56d8b7,_0x75f334){const {data:_0x503810,model:_0x233afb}=this['editor'],_0x3b813f=_0x233afb['document']['getRoot'](_0x56d8b7),_0x5f1283=_0x503810['toView'](_0x3b813f,_0x75f334);return _0x503810['htmlProcessor']['domConverter']['viewToDom'](_0x5f1283);}async['_collectAndApplyStyles'](_0x4359e9,_0x3b7d6e){const {stylesheets:_0x20591e,inlineCss:_0x333e67,stripCssClasses:_0x23be3c}=this['editor']['config']['get']('exportInlineStyles'),{parsedCssRules:_0x4151a3,rootCssVariables:_0x38074e}=await m({'stylesheets':_0x20591e||['EDITOR_STYLES'],'stylesProcessor':this['_stylesProcessor'],'inlineCss':_0x333e67}),_0x161ec1=[];this['_processElementTree']({'transformations':_0x4359e9,'parsedCssRules':_0x4151a3,'element':_0x3b7d6e,'stripCssClasses':_0x23be3c,'parentCSSVariablesLookup':_0x38074e['get']['bind'](_0x38074e),'runAfterDocumentTransformation':_0x3c3a54=>{_0x161ec1['unshift'](_0x3c3a54);}});for(const _0x3aad34 of _0x161ec1)_0x3aad34();}['_processElementTree']({element:_0x5c4199,parsedCssRules:_0x3cae10,parentCSSVariablesLookup:_0x43255e,runAfterDocumentTransformation:_0x41ba43,stripCssClasses:_0x2f3a4d,transformations:_0x537c78}){const {stylesMap:_0xf6cb61,localCSSVariables:_0x572ac7}=function(_0x572f2f){const _0x56f566=_0x572f2f['element']['getAttribute']('style')||'',_0x2277b7=_0x572f2f['parsedCssRules']['filter'](_0x32edea=>_0x572f2f['element']['matches'](_0x32edea['flatSelector']))['map'](_0x3cc162=>_0x3cc162['stylesMap']),_0x4913de=S(_0x572f2f['stylesProcessor'],[..._0x2277b7,_0x56f566]);return{'localCSSVariables':d(_0x572f2f['fallbackCSSVariablesLookup'],_0x4913de),'stylesMap':_0x4913de};}({'stylesProcessor':this['_stylesProcessor'],'fallbackCSSVariablesLookup':_0x43255e,'parsedCssRules':_0x3cae10,'element':_0x5c4199}),_0x357dc7=[];for(const _0x29cc01 of _0x537c78){const _0x20ac9a=_0x29cc01(_0x5c4199,_0xf6cb61,{'runAfterDocumentTransformation':_0x41ba43,'runAfterChildrenTransformation':_0x254b23=>{_0x357dc7['unshift'](_0x254b23);}});_0x20ac9a&&_0x20ac9a instanceof HTMLElement&&(_0x5c4199=_0x20ac9a);}_0xf6cb61['size']?_0x5c4199['setAttribute']('style',C(_0xf6cb61)):_0x5c4199['removeAttribute']('style');const _0x137f9b=_0xc9dd1e=>_0x572ac7['has'](_0xc9dd1e)?_0x572ac7['get'](_0xc9dd1e):_0x43255e(_0xc9dd1e);for(const _0x4180f6 of _0x5c4199['children'])_0x4180f6 instanceof HTMLElement&&this['_processElementTree']({'element':_0x4180f6,'parsedCssRules':_0x3cae10,'stripCssClasses':_0x2f3a4d,'transformations':_0x537c78,'parentCSSVariablesLookup':_0x137f9b,'runAfterDocumentTransformation':_0x41ba43});_0x2f3a4d&&_0x5c4199['removeAttribute']('class');for(const _0x979335 of _0x357dc7)_0x979335();}}function C(_0x1eff97){return _0x1eff97['getStylesEntries']()['map'](_0x344e75=>_0x344e75['join'](':'))['join'](';')+';';}class L extends _0x4b3014{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(_0x47ae1d){const _0x29850e=_0x25444e([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]),_0x2f5f93=0x6f40c3fb,_0x4b041d=0x6f474a9b^_0x2f5f93,_0x56f93d=window[_0x25444e([0x44,0x61,0x74,0x65])][_0x25444e([0x6e,0x6f,0x77])](),_0x568af2=_0x47ae1d[_0x25444e([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x44418b=new window[(_0x25444e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x43e2a1=>{_0x568af2[_0x25444e([0x6f,0x6e,0x63,0x65])](_0x25444e([0x72,0x65,0x61,0x64,0x79]),_0x43e2a1);}),_0xd90e5e={[_0x25444e([0x6b,0x74,0x79])]:_0x25444e([0x45,0x43]),[_0x25444e([0x75,0x73,0x65])]:_0x25444e([0x73,0x69,0x67]),[_0x25444e([0x63,0x72,0x76])]:_0x25444e([0x50,0x2d,0x32,0x35,0x36]),[_0x25444e([0x78])]:_0x25444e([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]),[_0x25444e([0x79])]:_0x25444e([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]),[_0x25444e([0x61,0x6c,0x67])]:_0x25444e([0x45,0x53,0x32,0x35,0x36])},_0x400b40=_0x568af2[_0x25444e([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x25444e([0x67,0x65,0x74])](_0x25444e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x33aaf7(){let _0x3e1c1e,_0x38ad24=null,_0xff6134=null;try{if(_0x400b40==_0x25444e([0x47,0x50,0x4c]))return _0x25444e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3e1c1e=_0x1b3579(),!_0x3e1c1e)return _0x25444e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3e1c1e[_0x25444e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xff6134=_0x298e12(_0x3e1c1e[_0x25444e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3e1c1e[_0x25444e([0x6a,0x74,0x69])])),await _0x496372()?_0x54088d()?_0x37f250()?_0x25444e([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4dc715()?(_0x3e1c1e[_0x25444e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x25444e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x38ad24=_0x2fa09f(_0x25444e([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x232f85()):_0x25444e([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x25444e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x25444e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x25444e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x37f250(){const _0x25358c=[_0x25444e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x25444e([0x74,0x72,0x69,0x61,0x6c])][_0x25444e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e1c1e[_0x25444e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x56f93d/0x3e8:0xe10*_0x4b041d;return _0x3e1c1e[_0x25444e([0x65,0x78,0x70])]<_0x25358c;}function _0x54088d(){const _0x1a8579=_0x3e1c1e[_0x25444e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1a8579&&(!!_0x1a8579[_0x25444e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x25444e([0x2a]))||!!_0x1a8579[_0x25444e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x25444e([0x45,0x49,0x53])));}function _0x4dc715(){const _0x18217c=_0x3e1c1e[_0x25444e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x18217c||0x0==_0x18217c[_0x25444e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x488d81}=new URL(window[_0x25444e([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x18217c[_0x25444e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x488d81))return!0x0;const _0x527f1e=_0x488d81[_0x25444e([0x73,0x70,0x6c,0x69,0x74])](_0x25444e([0x2e]));return _0x18217c[_0x25444e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x39ad06=>_0x39ad06[_0x25444e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x25444e([0x2a])))[_0x25444e([0x6d,0x61,0x70])](_0xe6bb6e=>_0xe6bb6e[_0x25444e([0x73,0x70,0x6c,0x69,0x74])](_0x25444e([0x2e])))[_0x25444e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x11956d=>_0x11956d[_0x25444e([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x527f1e[_0x25444e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x25444e([0x6d,0x61,0x70])](_0x511e25=>Array(_0x527f1e[_0x25444e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x511e25[_0x25444e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x25444e([0x66,0x69,0x6c,0x6c])](_0x511e25[0x0]===_0x25444e([0x2a])?_0x25444e([0x2a]):'')[_0x25444e([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x511e25))[_0x25444e([0x73,0x6f,0x6d,0x65])](_0x49c2d1=>_0x527f1e[_0x25444e([0x65,0x76,0x65,0x72,0x79])]((_0x2f8337,_0x1d2502)=>_0x49c2d1[_0x1d2502]===_0x2f8337||_0x49c2d1[_0x1d2502]===_0x25444e([0x2a])));}function _0x232f85(){return _0x38ad24&&_0xff6134?new window[(_0x25444e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x23e83f,_0x3b0979)=>{_0x38ad24[_0x25444e([0x74,0x68,0x65,0x6e])](_0x23e83f,_0x3b0979),_0xff6134[_0x25444e([0x74,0x68,0x65,0x6e])](_0x2dfb6b=>{_0x2dfb6b!=_0x25444e([0x56,0x61,0x6c,0x69,0x64])&&_0x23e83f(_0x2dfb6b);},_0x3b0979);}):_0x38ad24||_0xff6134||_0x25444e([0x56,0x61,0x6c,0x69,0x64]);}}function _0x298e12(_0x25343d,_0x1dded7){return new window[(_0x25444e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x512095=>{if(_0x377445())return _0x512095(_0x25444e([0x56,0x61,0x6c,0x69,0x64]));_0x3c95e4(),_0x568af2[_0x25444e([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x25444e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x47ff36=!0x1;const _0x2c5a12=_0xaff2bd();function _0x55897f(_0x1db711){return!!_0x1db711&&(typeof _0x1db711===_0x25444e([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1db711===_0x25444e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1db711[_0x25444e([0x74,0x68,0x65,0x6e])]===_0x25444e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1db711[_0x25444e([0x63,0x61,0x74,0x63,0x68])]===_0x25444e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1598c4(_0x111902){_0x18259b(_0x111902)[_0x25444e([0x74,0x68,0x65,0x6e])](_0xa89853=>{if(!_0xa89853||_0xa89853[_0x25444e([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x25444e([0x6f,0x6b]))return _0x25444e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x14e756(_0x359aea(_0x2c5a12+_0x1dded7))!=_0xa89853[_0x25444e([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x25444e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x25444e([0x56,0x61,0x6c,0x69,0x64]);})[_0x25444e([0x74,0x68,0x65,0x6e])](_0x5b9e53=>(_0x586b51(),_0x5b9e53),()=>{const _0x15fe2a=_0x49fb62();return null==_0x15fe2a?(_0x586b51(),_0x25444e([0x56,0x61,0x6c,0x69,0x64])):_0x25444e(_0x56f93d-_0x15fe2a>(0x4b4c47fb^_0x2f5f93)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x25444e([0x74,0x68,0x65,0x6e])](_0x512095)[_0x25444e([0x63,0x61,0x74,0x63,0x68])](()=>{_0x512095(_0x25444e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x179a91=0x6f762d7b^_0x2f5f93;function _0x586b51(){const _0x168a69=_0x25444e([0x6c,0x6c,0x63,0x74,0x2d])+_0x14e756(_0x359aea(_0x25343d)),_0x321def=_0x256587(_0x14e756(window[_0x25444e([0x4d,0x61,0x74,0x68])][_0x25444e([0x63,0x65,0x69,0x6c])](_0x56f93d/_0x179a91)));window[_0x25444e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x25444e([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x168a69,_0x321def);}function _0x49fb62(){const _0x59243e=_0x25444e([0x6c,0x6c,0x63,0x74,0x2d])+_0x14e756(_0x359aea(_0x25343d)),_0x1e161c=window[_0x25444e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x25444e([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x59243e);return _0x1e161c?window[_0x25444e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x256587(_0x1e161c),0x10)*_0x179a91:null;}function _0x18259b(_0x54a9a3){return new window[(_0x25444e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3de114,_0x59d332)=>{_0x54a9a3[_0x25444e([0x74,0x68,0x65,0x6e])](_0x3de114,_0x59d332),window[_0x25444e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x59d332,0x6f41173b^_0x2f5f93);});}}_0x568af2[_0x25444e([0x6f,0x6e])](_0x25444e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x16ed8f,_0x57f678)=>{if(_0x57f678[0x0]!=_0x25343d)return _0x512095(_0x25444e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x57f678[0x1]={..._0x57f678[0x1],[_0x25444e([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2c5a12};},{[_0x25444e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x25444e([0x68,0x69,0x67,0x68])}),_0x568af2[_0x25444e([0x6f,0x6e])](_0x25444e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5f19dd=>{_0x55897f(_0x5f19dd[_0x25444e([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x47ff36=!0x0,_0x1598c4(_0x5f19dd[_0x25444e([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x25444e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x25444e([0x6c,0x6f,0x77])}),_0x44418b[_0x25444e([0x74,0x68,0x65,0x6e])](()=>{_0x47ff36||_0x512095(_0x25444e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x377445(){return _0x568af2[_0x25444e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x25444e([0x76,0x69,0x65,0x77])][_0x25444e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x25444e([0x61,0x75,0x74,0x6f]);}function _0x3c95e4(){_0x568af2[_0x25444e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x25444e([0x76,0x69,0x65,0x77])][_0x25444e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x25444e([0x61,0x75,0x74,0x6f]);}}function _0x2fa09f(_0x5a315d){const _0x3d0c87=[new window[(_0x25444e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x418b91=>setTimeout(_0x418b91,0x6f49fd37^_0x2f5f93)),_0x44418b[_0x25444e([0x74,0x68,0x65,0x6e])](()=>new window[(_0x25444e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x392909=>{let _0x18c1b7=0x0;_0x568af2[_0x25444e([0x6d,0x6f,0x64,0x65,0x6c])][_0x25444e([0x6f,0x6e])](_0x25444e([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x41b595,_0x58864d)=>{_0x58864d[0x0][_0x25444e([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x18c1b7++,_0x18c1b7==(0x6f40c613^_0x2f5f93)&&(_0x392909(),_0x41b595[_0x25444e([0x6f,0x66,0x66])]());});}))];return window[_0x25444e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x25444e([0x72,0x61,0x63,0x65])](_0x3d0c87)[_0x25444e([0x74,0x68,0x65,0x6e])](()=>_0x5a315d);}async function _0x266291(){await _0x44418b;const _0x5e5098=_0x568af2['commands'][_0x25444e([0x67,0x65,0x74])](_0x25444e([0x65,0x78,0x70,0x6f,0x72,0x74,0x49,0x6e,0x6c,0x69,0x6e,0x65,0x53,0x74,0x79,0x6c,0x65,0x73]));_0x5e5098&&_0x5e5098[_0x25444e([0x6f,0x6e])](_0x25444e([0x65,0x78,0x65,0x63,0x75,0x74,0x65]),_0x2fb8fa=>{_0x2fb8fa['stop']();},{'priority':_0x25444e([0x68,0x69,0x67,0x68,0x65,0x73,0x74])}),_0x568af2[_0x25444e([0x6d,0x6f,0x64,0x65,0x6c])][_0x25444e([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1b986d,_0x568af2[_0x25444e([0x6d,0x6f,0x64,0x65,0x6c])][_0x25444e([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1b986d,_0x568af2[_0x25444e([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x25444e([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x529fe5(_0x462dbe){const _0xe13cd2=_0x3cf264();_0x568af2[_0xe13cd2]=_0x25444e([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])+_0x462dbe,_0x462dbe!=_0x25444e([0x56,0x61,0x6c,0x69,0x64])&&_0x266291();}function _0x3cf264(){const _0x3d5786=window[_0x25444e([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x25444e([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x25444e([0x6e,0x6f,0x77])]())[_0x25444e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x25444e([0x2e]),'');let _0x4d8535=_0x25444e([0x44]);for(let _0x3a59b0=0x0;_0x3a59b0<_0x3d5786[_0x25444e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3a59b0+=0x2){let _0x2a66ae=window[_0x25444e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3d5786[_0x25444e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3a59b0,_0x3a59b0+0x2));_0x2a66ae>=_0x29850e[_0x25444e([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2a66ae-=_0x29850e[_0x25444e([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4d8535+=_0x29850e[_0x2a66ae];}return _0x4d8535;}function _0x1b3579(){const _0x47798c=_0x400b40[_0x25444e([0x73,0x70,0x6c,0x69,0x74])](_0x25444e([0x2e]));if(0x3!=_0x47798c[_0x25444e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4e77f3(_0x47798c[0x1]);function _0x4e77f3(_0x196130){const _0x4eedfe=_0x19ceea(_0x196130);return _0x4eedfe&&_0x463bca()?_0x4eedfe:null;function _0x463bca(){const _0x349024=_0x4eedfe[_0x25444e([0x6a,0x74,0x69])],_0x4aa7dc=window[_0x25444e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x349024[_0x25444e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x349024[_0x25444e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x136931={..._0x4eedfe,[_0x25444e([0x6a,0x74,0x69])]:_0x349024[_0x25444e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x349024[_0x25444e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x136931[_0x25444e([0x76,0x63])],_0x359aea(_0x136931)==_0x4aa7dc;}}}async function _0x496372(){let _0x458a82=!0x0;try{const _0x23006c=_0x400b40[_0x25444e([0x73,0x70,0x6c,0x69,0x74])](_0x25444e([0x2e])),[_0x57f132,_0x11cb9c,_0x5b543a]=_0x23006c;return _0x4a9f04(_0x57f132),await _0x79ec43(_0x57f132,_0x11cb9c,_0x5b543a),_0x458a82;}catch{return!0x1;}function _0x4a9f04(_0x56906e){const _0x270ab9=_0x19ceea(_0x56906e);_0x270ab9&&_0x270ab9[_0x25444e([0x61,0x6c,0x67])]==_0x25444e([0x45,0x53,0x32,0x35,0x36])||(_0x458a82=!0x1);}async function _0x79ec43(_0x3c0b85,_0x11f178,_0x45cf13){const _0x3fb685=window[_0x25444e([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x25444e([0x66,0x72,0x6f,0x6d])](_0x592468(_0x45cf13),_0x55cbae=>_0x55cbae[_0x25444e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5799f9=new window[(_0x25444e([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x25444e([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3c0b85+_0x25444e([0x2e])+_0x11f178),_0x2db110=window[_0x25444e([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x25444e([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2db110)return;const _0x2d24c8=await _0x2db110[_0x25444e([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x25444e([0x6a,0x77,0x6b]),_0xd90e5e,{[_0x25444e([0x6e,0x61,0x6d,0x65])]:_0x25444e([0x45,0x43,0x44,0x53,0x41]),[_0x25444e([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x25444e([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x25444e([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2db110[_0x25444e([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x25444e([0x6e,0x61,0x6d,0x65])]:_0x25444e([0x45,0x43,0x44,0x53,0x41]),[_0x25444e([0x68,0x61,0x73,0x68])]:{[_0x25444e([0x6e,0x61,0x6d,0x65])]:_0x25444e([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2d24c8,_0x3fb685,_0x5799f9)||(_0x458a82=!0x1);}}function _0x19ceea(_0x71b73b){return _0x71b73b[_0x25444e([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x25444e([0x65,0x79]))?JSON[_0x25444e([0x70,0x61,0x72,0x73,0x65])](_0x592468(_0x71b73b)):null;}function _0x592468(_0x3b5010){return window[_0x25444e([0x61,0x74,0x6f,0x62])](_0x3b5010[_0x25444e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x25444e([0x2b]))[_0x25444e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x25444e([0x2f])));}function _0x359aea(_0x426278){let _0x56d097=0x1505;function _0x41a112(_0x3f58f7){for(let _0x34f853=0x0;_0x34f853<_0x3f58f7[_0x25444e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x34f853++){const _0xbdd2d4=_0x3f58f7[_0x25444e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x34f853);_0x56d097=(_0x56d097<<0x5)+_0x56d097+_0xbdd2d4,_0x56d097&=_0x56d097;}}function _0x5bcf78(_0x118ba8){Array[_0x25444e([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x118ba8)?_0x118ba8[_0x25444e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5bcf78):_0x118ba8&&typeof _0x118ba8==_0x25444e([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x25444e([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x118ba8)[_0x25444e([0x73,0x6f,0x72,0x74])]()[_0x25444e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2a66ad,_0x2e04c0])=>{_0x41a112(_0x2a66ad),_0x5bcf78(_0x2e04c0);}):_0x41a112(window[_0x25444e([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x118ba8));}return _0x5bcf78(_0x426278),_0x56d097>>>0x0;}function _0x14e756(_0x214377){return _0x214377[_0x25444e([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x25444e([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x25444e([0x30]));}function _0x256587(_0x48b3f2){return _0x48b3f2[_0x25444e([0x73,0x70,0x6c,0x69,0x74])]('')[_0x25444e([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x25444e([0x6a,0x6f,0x69,0x6e])]('');}function _0x1b986d(){}function _0x25444e(_0x1ea2d7){return _0x1ea2d7['map'](_0x2526b5=>String['fromCharCode'](_0x2526b5))['join']('');}_0x529fe5(await _0x33aaf7());}(this);}}class g extends _0x4b3014{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'ExportInlineStyles';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[L];}['init'](){this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x486cb6=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3eb751;for(const _0x40901a in _0x486cb6){const _0x535386=_0x40901a,_0x3f753a=_0x486cb6[_0x535386];if('exportInlineStylesLicenseKeyValid'==_0x3f753a||'exportInlineStylesLicenseKeyInvalid'==_0x3f753a||'exportInlineStylesLicenseKeyExpired'==_0x3f753a||'exportInlineStylesLicenseKeyDomainLimit'==_0x3f753a||'exportInlineStylesLicenseKeyNotAllowed'==_0x3f753a||'exportInlineStylesLicenseKeyEvaluationLimit'==_0x3f753a||'exportInlineStylesLicenseKeyUsageLimit'==_0x3f753a){delete _0x486cb6[_0x535386],_0x3eb751=_0x3f753a,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'exportInlineStylesLicenseKeyInvalid'==_0x3eb751&&_0x486cb6['_showLicenseError']('invalid'),'exportInlineStylesLicenseKeyExpired'==_0x3eb751&&_0x486cb6['_showLicenseError']('expired'),'exportInlineStylesLicenseKeyDomainLimit'==_0x3eb751&&_0x486cb6['_showLicenseError']('domainLimit'),'exportInlineStylesLicenseKeyNotAllowed'==_0x3eb751&&_0x486cb6['_showLicenseError']('featureNotAllowed','ExportInlineStyles'),'exportInlineStylesLicenseKeyEvaluationLimit'==_0x3eb751&&_0x486cb6['_showLicenseError']('evaluationLimit'),'exportInlineStylesLicenseKeyUsageLimit'==_0x3eb751&&_0x486cb6['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}export{g as ExportInlineStyles,x as ExportInlineStylesCommand,L as ExportInlineStylesEditing,w as dropImportantStyleSuffix};
|
|
23
|
+
import{Command as _0x319a08,Plugin as _0x14b00b}from'@ckeditor/ckeditor5-core/dist/index.js';import{collectStylesheets as _0x58a391,createElement as _0x3858dc,uid as _0x322726}from'@ckeditor/ckeditor5-utils/dist/index.js';import{StylesMap as _0x934e66,addMarginStylesRules as _0x2a4ba9,addPaddingStylesRules as _0x4896f7}from'@ckeditor/ckeditor5-engine/dist/index.js';import{calculate as _0x44f600,compare as _0x1c5baf}from'specificity';function f(_0x4635d3){const _0x1d7cac=[];let _0x4deb9e='',_0x4e3114=0x0;for(;_0x4e3114<_0x4635d3['length'];){const _0x3931f8=_0x4635d3[_0x4e3114];if('('===_0x3931f8){const _0x1464e5=y(_0x4635d3,_0x4e3114+0x1);if(-0x1===_0x1464e5)return[];_0x4deb9e+=_0x4635d3['slice'](_0x4e3114,_0x1464e5+0x1),_0x4e3114=_0x1464e5+0x1;}else','!==_0x3931f8||_0x4deb9e['endsWith']('\x5c')?(_0x4deb9e+=_0x3931f8,_0x4e3114++):(_0x1d7cac['push'](_0x4deb9e['trim']()),_0x4deb9e='',_0x4e3114++);}return _0x4deb9e['trim']()&&_0x1d7cac['push'](_0x4deb9e['trim']()),_0x1d7cac['filter'](Boolean);}function y(_0x367af7,_0x218658){let _0x238d54=0x1;for(let _0x4d2881=_0x218658;_0x4d2881<_0x367af7['length'];_0x4d2881++){const _0x247106=_0x367af7[_0x4d2881];if('('===_0x247106)_0x238d54++;else{if(')'===_0x247106&&(_0x238d54--,0x0===_0x238d54))return _0x4d2881;}}return-0x1;}function w(_0x1d3635){return _0x1d3635['replace'](/!\s*important/i,'')['trim']();}function d(_0x38a8e7,_0x33336e){const _0x590c2c=new Map(),_0x5738e8=_0x464b7d=>_0x590c2c['has'](_0x464b7d)?_0x590c2c['get'](_0x464b7d):_0x38a8e7(_0x464b7d);for(const [_0x1117fe,_0x25547c]of _0x33336e['getStylesEntries']())if(_0x25547c&&_0x1117fe['startsWith']('--')){const _0x35e46a=p(_0x5738e8,_0x25547c);_0x590c2c['set'](_0x1117fe,_0x35e46a),_0x33336e['remove'](_0x1117fe);}for(const [_0x20f052,_0x248eab]of _0x33336e['getStylesEntries']())if(_0x248eab){const _0x51ec45=p(_0x5738e8,_0x248eab);_0x33336e['set'](_0x20f052,_0x51ec45);}return _0x590c2c;}function p(_0x128c82,_0x4d2668){return function(_0x37f4f1,_0x408b54){let _0x12414a='',_0x1499f7=0x0;for(;_0x1499f7<_0x37f4f1['length'];){const _0x3acbd9=_0x37f4f1['indexOf']('var(',_0x1499f7);if(-0x1===_0x3acbd9){_0x12414a+=_0x37f4f1['slice'](_0x1499f7);break;}_0x12414a+=_0x37f4f1['slice'](_0x1499f7,_0x3acbd9);const _0x21a95d=_0x3acbd9+0x4,_0x172c90=y(_0x37f4f1,_0x21a95d);_0x12414a+=_0x408b54(_0x37f4f1['substring'](_0x21a95d,_0x172c90)),_0x1499f7=_0x172c90+0x1;}return _0x12414a;}(_0x4d2668,_0x19c146=>{const [_0x320f8f,_0x380043]=f(_0x19c146),_0x2cfc8b=_0x128c82(_0x320f8f);return void 0x0!==_0x2cfc8b?_0x2cfc8b:_0x380043?p(_0x128c82,_0x380043):'var('+_0x320f8f+')';});}async function m(_0x3e2c7f){const _0xe2cbf7=[await _0x58a391(_0x3e2c7f['stylesheets']),_0x3e2c7f['inlineCss']]['filter'](_0x534f41=>_0x534f41&&_0x534f41['length'])['join']('\x0a'),_0x22ede2=await async function(_0x217324,_0x16d6b1){const _0x495ec5=new CSSStyleSheet();return await _0x495ec5['replace'](_0x16d6b1),h(Array['from'](_0x495ec5['cssRules'])['filter'](_0x5c76a1=>_0x5c76a1 instanceof CSSStyleRule))['flatMap'](({selectorText:_0x25e81c,contentCssText:_0x2d9991})=>{const _0x443c8f=f(_0x25e81c),_0x2521c9=new _0x934e66(_0x217324)['setTo'](_0x2d9991);return _0x443c8f['map'](_0x121b93=>{const _0x15f7ce=function(_0x44a54d){const _0x536645=':where(';let _0x3afd77=_0x44a54d,_0xe4e051=0x0;for(let _0x61e262=0x0;_0x61e262<0x64;_0x61e262++){const _0x44cb24=_0x3afd77['indexOf'](_0x536645,_0xe4e051);if(-0x1===_0x44cb24)break;let _0x143669=0x0;for(let _0x6ede4a=0x0;_0x6ede4a<_0x44cb24;_0x6ede4a++)'('===_0x3afd77[_0x6ede4a]?_0x143669++:')'===_0x3afd77[_0x6ede4a]&&_0x143669--;if(_0x143669>0x0){_0xe4e051=_0x44cb24+_0x536645['length'];continue;}let _0x10924b=-0x1;for(let _0x1ec03e=_0x44cb24+_0x536645['length'],_0x368c2b=0x1;_0x1ec03e<_0x3afd77['length'];_0x1ec03e++)if('('===_0x3afd77[_0x1ec03e]?_0x368c2b++:')'===_0x3afd77[_0x1ec03e]&&_0x368c2b--,!_0x368c2b){_0x10924b=_0x1ec03e;break;}-0x1!==_0x10924b?(_0x3afd77=_0x3afd77['slice'](0x0,_0x44cb24)+_0x3afd77['slice'](_0x10924b+0x1),_0xe4e051=_0x44cb24):_0xe4e051=_0x44cb24+_0x536645['length'];}return _0x3afd77['replace'](/\s+/g,'\x20')['trim']();}(_0x121b93),_0x98d32d=_0x15f7ce?_0x44f600(_0x15f7ce)[0x0]['specificityArray']:[0x0,0x0,0x0,0x0];return{'stylesMap':_0x2521c9,'flatSelector':_0x121b93,'specificity':_0x98d32d};});})['sort']((_0x370fcd,_0xbc2fac)=>_0x1c5baf(_0x370fcd['specificity'],_0xbc2fac['specificity']));}(_0x3e2c7f['stylesProcessor'],_0xe2cbf7);return{'parsedCssRules':_0x22ede2,'rootCssVariables':function(_0x345d68){const _0x11bf65=new Map();for(const {stylesMap:_0x1f4795,flatSelector:_0x5707b}of _0x345d68){if(':root'!==_0x5707b)continue;const _0x4d546d=d(_0x11bf65['get']['bind'](_0x11bf65),_0x1f4795);for(const [_0x136306,_0x41d048]of _0x4d546d)_0x11bf65['set'](_0x136306,_0x41d048);}return _0x11bf65;}(_0x22ede2)};}function h(_0x207011,_0x33f966=''){return _0x207011['flatMap'](_0x1392da=>{const {selectorText:_0x56123f,cssText:_0x478b87,cssRules:_0x203699}=_0x1392da;if(!_0x56123f)return[];const _0x426afa=_0x56123f['replace'](/&/g,_0x33f966);let _0x431bcd=_0x478b87['replace'](_0x56123f,'')['trim']()['replace'](/^{|}$/g,'');if(!_0x203699||!_0x203699['length'])return[{'selectorText':_0x426afa,'contentCssText':_0x431bcd}];for(const _0x5648bb of _0x203699)_0x431bcd=_0x431bcd['replace'](_0x5648bb['cssText'],'')['trim']();return[{'selectorText':_0x426afa,'contentCssText':_0x431bcd},...h(Array['from'](_0x203699),_0x426afa)];});}function S(_0x3dc66,_0x4ee84b){const _0x54afad=new _0x934e66(_0x3dc66);for(const _0x49eebe of _0x4ee84b){let _0x486322=null;if(_0x486322='string'==typeof _0x49eebe?new _0x934e66(_0x3dc66)['setTo'](_0x49eebe):_0x49eebe,_0x486322){for(const [_0x22c651,_0x587696]of _0x486322['getStylesEntries']())_0x54afad['set'](_0x22c651,_0x587696);}}return _0x54afad;}class x extends _0x319a08{['_stylesProcessor'];constructor(_0x7d179f){super(_0x7d179f),this['set']('isBusy',!0x1),this['_stylesProcessor']=this['editor']['data']['stylesProcessor'],_0x2a4ba9(this['_stylesProcessor']),_0x4896f7(this['_stylesProcessor']),this['affectsData']=!0x1;}['refresh'](){this['isEnabled']=!this['isBusy'],this['value']=this['isBusy']?'pending':void 0x0;}async['execute'](_0x5ee6a8){const _0x17e0c3=this['editor']['config']['get']('exportInlineStyles'),{contentLanguageDirection:_0x4df1db}=this['editor']['locale'],{rootName:_0x501e4e='main',dataControllerDowncastOptions:_0x5c754e={},transformations:_0x267d54=_0x17e0c3['transformations']||[]}=_0x5ee6a8||{};this['isBusy']=!0x0,this['refresh']();const _0x284731=this['_getRootDataHTMLFragment'](_0x501e4e,_0x5c754e),_0x6ed4f8=_0x3858dc(_0x284731['ownerDocument'],'div',{'dir':_0x4df1db,'class':'ck-content'},[_0x284731]);return this['_collectAndApplyStyles'](_0x267d54,_0x6ed4f8)['then'](()=>{const _0x3d0e8d=function(_0x4d89fb){const _0x18496f=_0x4d89fb['ownerDocument']['createDocumentFragment']();for(;_0x4d89fb['firstChild'];)_0x18496f['appendChild'](_0x4d89fb['firstChild']);return _0x18496f;}(_0x6ed4f8),_0x304954=_0x6ed4f8['getAttribute']('style');if(_0x304954)for(const _0x46bfc5 of _0x3d0e8d['children']){const _0x543f9b=_0x46bfc5['getAttribute']('style'),_0x2aa44e=S(this['_stylesProcessor'],[_0x304954,_0x543f9b]);_0x46bfc5['setAttribute']('style',C(_0x2aa44e));}return this['editor']['data']['htmlProcessor']['htmlWriter']['getHtml'](_0x3d0e8d);})['finally'](()=>{this['isBusy']=!0x1,this['refresh']();});}['_getRootDataHTMLFragment'](_0x4feb93,_0x478ed1){const {data:_0x5967ea,model:_0x33237e}=this['editor'],_0xd44b3f=_0x33237e['document']['getRoot'](_0x4feb93),_0x56897b=_0x5967ea['toView'](_0xd44b3f,_0x478ed1);return _0x5967ea['htmlProcessor']['domConverter']['viewToDom'](_0x56897b);}async['_collectAndApplyStyles'](_0x5be5bc,_0x1c4e33){const {stylesheets:_0x4076b9,inlineCss:_0xb63246,stripCssClasses:_0x40c219}=this['editor']['config']['get']('exportInlineStyles'),{parsedCssRules:_0x4bbea3,rootCssVariables:_0x2b7006}=await m({'stylesheets':_0x4076b9||['EDITOR_STYLES'],'stylesProcessor':this['_stylesProcessor'],'inlineCss':_0xb63246}),_0x5b06b5=[];this['_processElementTree']({'transformations':_0x5be5bc,'parsedCssRules':_0x4bbea3,'element':_0x1c4e33,'stripCssClasses':_0x40c219,'parentCSSVariablesLookup':_0x2b7006['get']['bind'](_0x2b7006),'runAfterDocumentTransformation':_0x4dfe36=>{_0x5b06b5['unshift'](_0x4dfe36);}});for(const _0x1c2bdd of _0x5b06b5)_0x1c2bdd();}['_processElementTree']({element:_0x3b6fdd,parsedCssRules:_0x2fa6ec,parentCSSVariablesLookup:_0x4821a7,runAfterDocumentTransformation:_0x469f6f,stripCssClasses:_0x29c008,transformations:_0x4c5e4c}){const {stylesMap:_0x2fe95d,localCSSVariables:_0x319812}=function(_0x2d4383){const _0x5dd5d9=_0x2d4383['element']['getAttribute']('style')||'',_0x9b16d=_0x2d4383['parsedCssRules']['filter'](_0x1facfa=>_0x2d4383['element']['matches'](_0x1facfa['flatSelector']))['map'](_0x18104d=>_0x18104d['stylesMap']),_0x132e19=S(_0x2d4383['stylesProcessor'],[..._0x9b16d,_0x5dd5d9]);return{'localCSSVariables':d(_0x2d4383['fallbackCSSVariablesLookup'],_0x132e19),'stylesMap':_0x132e19};}({'stylesProcessor':this['_stylesProcessor'],'fallbackCSSVariablesLookup':_0x4821a7,'parsedCssRules':_0x2fa6ec,'element':_0x3b6fdd}),_0x214fce=[];for(const _0x176ecc of _0x4c5e4c){const _0x5bc467=_0x176ecc(_0x3b6fdd,_0x2fe95d,{'runAfterDocumentTransformation':_0x469f6f,'runAfterChildrenTransformation':_0x41928e=>{_0x214fce['unshift'](_0x41928e);}});_0x5bc467&&_0x5bc467 instanceof HTMLElement&&(_0x3b6fdd=_0x5bc467);}_0x2fe95d['size']?_0x3b6fdd['setAttribute']('style',C(_0x2fe95d)):_0x3b6fdd['removeAttribute']('style');const _0x55370a=_0x101251=>_0x319812['has'](_0x101251)?_0x319812['get'](_0x101251):_0x4821a7(_0x101251);for(const _0x4fb0a6 of _0x3b6fdd['children'])_0x4fb0a6 instanceof HTMLElement&&this['_processElementTree']({'element':_0x4fb0a6,'parsedCssRules':_0x2fa6ec,'stripCssClasses':_0x29c008,'transformations':_0x4c5e4c,'parentCSSVariablesLookup':_0x55370a,'runAfterDocumentTransformation':_0x469f6f});_0x29c008&&_0x3b6fdd['removeAttribute']('class');for(const _0x4b4496 of _0x214fce)_0x4b4496();}}function C(_0x162d7c){return _0x162d7c['getStylesEntries']()['map'](_0x548b03=>_0x548b03['join'](':'))['join'](';')+';';}class L extends _0x14b00b{static get['pluginName'](){return'ExportInlineStylesEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['editor']['config']['define']('exportInlineStyles',{}),this['editor']['commands']['add']('exportInlineStyles',new x(this['editor']));}['afterInit'](){!async function(_0x3fbcd0){const _0x338707=_0x12c422([0x44,0x55,0x41,0x36,0x31,0x30,0x65,0x6d,0x4c,0x34,0x51,0x32,0x6b,0x6a,0x56,0x49,0x76,0x47,0x4d,0x48,0x67,0x57,0x54,0x33,0x75,0x79,0x53,0x6e,0x7a,0x50,0x45,0x77,0x37,0x39,0x6f,0x5a,0x4a,0x69,0x43,0x72,0x62,0x73,0x74,0x63,0x58,0x4b,0x71,0x38,0x35,0x4e,0x68,0x64,0x66,0x61,0x46,0x52,0x78,0x42,0x6c,0x70,0x4f,0x59]),_0x223340=0x6f40c3fb,_0x1471bd=0x6f474a83^_0x223340,_0x5362b1=window[_0x12c422([0x44,0x61,0x74,0x65])][_0x12c422([0x6e,0x6f,0x77])](),_0x4037de=_0x3fbcd0[_0x12c422([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x133e59=new window[(_0x12c422([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x415868=>{_0x4037de[_0x12c422([0x6f,0x6e,0x63,0x65])](_0x12c422([0x72,0x65,0x61,0x64,0x79]),_0x415868);}),_0x213d33={[_0x12c422([0x6b,0x74,0x79])]:_0x12c422([0x45,0x43]),[_0x12c422([0x75,0x73,0x65])]:_0x12c422([0x73,0x69,0x67]),[_0x12c422([0x63,0x72,0x76])]:_0x12c422([0x50,0x2d,0x32,0x35,0x36]),[_0x12c422([0x78])]:_0x12c422([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x12c422([0x79])]:_0x12c422([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x12c422([0x61,0x6c,0x67])]:_0x12c422([0x45,0x53,0x32,0x35,0x36])},_0x290aa2=_0x4037de[_0x12c422([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x12c422([0x67,0x65,0x74])](_0x12c422([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2a1d9d(){let _0x2742d4,_0x370609=null,_0x5b9ad1=null;try{if(_0x290aa2==_0x12c422([0x47,0x50,0x4c]))return _0x12c422([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2742d4=_0x37757e(),!_0x2742d4)return _0x12c422([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2742d4[_0x12c422([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5b9ad1=_0x47b783(_0x2742d4[_0x12c422([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2742d4[_0x12c422([0x6a,0x74,0x69])])),await _0xb6b872()?_0x464b1a()?_0x179fd9()?_0x12c422([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5935b4()?(_0x2742d4[_0x12c422([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x12c422([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x370609=_0x4c495f(_0x12c422([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x32c3bb()):_0x12c422([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x12c422([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x12c422([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x12c422([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x179fd9(){const _0x40c1b9=[_0x12c422([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x12c422([0x74,0x72,0x69,0x61,0x6c])][_0x12c422([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2742d4[_0x12c422([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5362b1/0x3e8:0xe10*_0x1471bd;return _0x2742d4[_0x12c422([0x65,0x78,0x70])]<_0x40c1b9;}function _0x464b1a(){const _0x2ffd6f=_0x2742d4[_0x12c422([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2ffd6f&&(!!_0x2ffd6f[_0x12c422([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x12c422([0x2a]))||!!_0x2ffd6f[_0x12c422([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x12c422([0x45,0x49,0x53])));}function _0x5935b4(){const _0x28f309=_0x2742d4[_0x12c422([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x28f309||0x0==_0x28f309[_0x12c422([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xc4c38d}=new URL(window[_0x12c422([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x28f309[_0x12c422([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xc4c38d))return!0x0;const _0x2be80e=_0xc4c38d[_0x12c422([0x73,0x70,0x6c,0x69,0x74])](_0x12c422([0x2e]));return _0x28f309[_0x12c422([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x431db9=>_0x431db9[_0x12c422([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x12c422([0x2a])))[_0x12c422([0x6d,0x61,0x70])](_0x556bf4=>_0x556bf4[_0x12c422([0x73,0x70,0x6c,0x69,0x74])](_0x12c422([0x2e])))[_0x12c422([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x171cab=>_0x171cab[_0x12c422([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2be80e[_0x12c422([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x12c422([0x6d,0x61,0x70])](_0xbce3a1=>Array(_0x2be80e[_0x12c422([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xbce3a1[_0x12c422([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x12c422([0x66,0x69,0x6c,0x6c])](_0xbce3a1[0x0]===_0x12c422([0x2a])?_0x12c422([0x2a]):'')[_0x12c422([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xbce3a1))[_0x12c422([0x73,0x6f,0x6d,0x65])](_0xd9b0d2=>_0x2be80e[_0x12c422([0x65,0x76,0x65,0x72,0x79])]((_0xde2662,_0x24a208)=>_0xd9b0d2[_0x24a208]===_0xde2662||_0xd9b0d2[_0x24a208]===_0x12c422([0x2a])));}function _0x32c3bb(){return _0x370609&&_0x5b9ad1?new window[(_0x12c422([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x33057b,_0x48f1fa)=>{_0x370609[_0x12c422([0x74,0x68,0x65,0x6e])](_0x33057b,_0x48f1fa),_0x5b9ad1[_0x12c422([0x74,0x68,0x65,0x6e])](_0x3275ff=>{_0x3275ff!=_0x12c422([0x56,0x61,0x6c,0x69,0x64])&&_0x33057b(_0x3275ff);},_0x48f1fa);}):_0x370609||_0x5b9ad1||_0x12c422([0x56,0x61,0x6c,0x69,0x64]);}}function _0x47b783(_0x55f68f,_0x1929c4){return new window[(_0x12c422([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x47e37e=>{if(_0x5b4320())return _0x47e37e(_0x12c422([0x56,0x61,0x6c,0x69,0x64]));_0x235cc2(),_0x4037de[_0x12c422([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x12c422([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3cbdc8=!0x1;const _0x3c9a47=_0x322726();function _0x466fc8(_0x2cfad0){return!!_0x2cfad0&&(typeof _0x2cfad0===_0x12c422([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2cfad0===_0x12c422([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2cfad0[_0x12c422([0x74,0x68,0x65,0x6e])]===_0x12c422([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2cfad0[_0x12c422([0x63,0x61,0x74,0x63,0x68])]===_0x12c422([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x43af6e(_0x4bf4e0){_0x16f2eb(_0x4bf4e0)[_0x12c422([0x74,0x68,0x65,0x6e])](_0x15a233=>{if(!_0x15a233||_0x15a233[_0x12c422([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x12c422([0x6f,0x6b]))return _0x12c422([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x359016(_0x5da9e8(_0x3c9a47+_0x1929c4))!=_0x15a233[_0x12c422([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x12c422([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x12c422([0x56,0x61,0x6c,0x69,0x64]);})[_0x12c422([0x74,0x68,0x65,0x6e])](_0x52871b=>(_0x875ab8(),_0x52871b),()=>{const _0x2e58ea=_0x2570cc();return null==_0x2e58ea?(_0x875ab8(),_0x12c422([0x56,0x61,0x6c,0x69,0x64])):_0x12c422(_0x5362b1-_0x2e58ea>(0x4b4c47fb^_0x223340)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x12c422([0x74,0x68,0x65,0x6e])](_0x47e37e)[_0x12c422([0x63,0x61,0x74,0x63,0x68])](()=>{_0x47e37e(_0x12c422([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x40a3d8=0x6f762d7b^_0x223340;function _0x875ab8(){const _0x55b572=_0x12c422([0x6c,0x6c,0x63,0x74,0x2d])+_0x359016(_0x5da9e8(_0x55f68f)),_0x3a8053=_0x1eaa0d(_0x359016(window[_0x12c422([0x4d,0x61,0x74,0x68])][_0x12c422([0x63,0x65,0x69,0x6c])](_0x5362b1/_0x40a3d8)));window[_0x12c422([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x12c422([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x55b572,_0x3a8053);}function _0x2570cc(){const _0x309e5f=_0x12c422([0x6c,0x6c,0x63,0x74,0x2d])+_0x359016(_0x5da9e8(_0x55f68f)),_0x3af171=window[_0x12c422([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x12c422([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x309e5f);return _0x3af171?window[_0x12c422([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1eaa0d(_0x3af171),0x10)*_0x40a3d8:null;}function _0x16f2eb(_0x3d96be){return new window[(_0x12c422([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x336ee2,_0x5baebe)=>{_0x3d96be[_0x12c422([0x74,0x68,0x65,0x6e])](_0x336ee2,_0x5baebe),window[_0x12c422([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5baebe,0x6f41173b^_0x223340);});}}_0x4037de[_0x12c422([0x6f,0x6e])](_0x12c422([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3340ad,_0x3f0abc)=>{if(_0x3f0abc[0x0]!=_0x55f68f)return _0x47e37e(_0x12c422([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3f0abc[0x1]={..._0x3f0abc[0x1],[_0x12c422([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3c9a47};},{[_0x12c422([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x12c422([0x68,0x69,0x67,0x68])}),_0x4037de[_0x12c422([0x6f,0x6e])](_0x12c422([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x47ee93=>{_0x466fc8(_0x47ee93[_0x12c422([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3cbdc8=!0x0,_0x43af6e(_0x47ee93[_0x12c422([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x12c422([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x12c422([0x6c,0x6f,0x77])}),_0x133e59[_0x12c422([0x74,0x68,0x65,0x6e])](()=>{_0x3cbdc8||_0x47e37e(_0x12c422([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5b4320(){return _0x4037de[_0x12c422([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x12c422([0x76,0x69,0x65,0x77])][_0x12c422([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x12c422([0x61,0x75,0x74,0x6f]);}function _0x235cc2(){_0x4037de[_0x12c422([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x12c422([0x76,0x69,0x65,0x77])][_0x12c422([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x12c422([0x61,0x75,0x74,0x6f]);}}function _0x4c495f(_0x4d3f31){const _0x52be99=[new window[(_0x12c422([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3a2db8=>setTimeout(_0x3a2db8,0x6f49fd37^_0x223340)),_0x133e59[_0x12c422([0x74,0x68,0x65,0x6e])](()=>new window[(_0x12c422([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x19c062=>{let _0x38d151=0x0;_0x4037de[_0x12c422([0x6d,0x6f,0x64,0x65,0x6c])][_0x12c422([0x6f,0x6e])](_0x12c422([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x14ab59,_0x35d64c)=>{_0x35d64c[0x0][_0x12c422([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x38d151++,_0x38d151==(0x6f40c613^_0x223340)&&(_0x19c062(),_0x14ab59[_0x12c422([0x6f,0x66,0x66])]());});}))];return window[_0x12c422([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x12c422([0x72,0x61,0x63,0x65])](_0x52be99)[_0x12c422([0x74,0x68,0x65,0x6e])](()=>_0x4d3f31);}async function _0x14721a(){await _0x133e59;const _0x186f97=_0x4037de['commands'][_0x12c422([0x67,0x65,0x74])](_0x12c422([0x65,0x78,0x70,0x6f,0x72,0x74,0x49,0x6e,0x6c,0x69,0x6e,0x65,0x53,0x74,0x79,0x6c,0x65,0x73]));_0x186f97&&_0x186f97[_0x12c422([0x6f,0x6e])](_0x12c422([0x65,0x78,0x65,0x63,0x75,0x74,0x65]),_0x4f56ce=>{_0x4f56ce['stop']();},{'priority':_0x12c422([0x68,0x69,0x67,0x68,0x65,0x73,0x74])}),_0x4037de[_0x12c422([0x6d,0x6f,0x64,0x65,0x6c])][_0x12c422([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xa0e030,_0x4037de[_0x12c422([0x6d,0x6f,0x64,0x65,0x6c])][_0x12c422([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xa0e030,_0x4037de[_0x12c422([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x12c422([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2f9994(_0x5ac89e){const _0x497551=_0x5733e6();_0x4037de[_0x497551]=_0x12c422([0x65,0x78,0x70,0x6f,0x72,0x74,0x49,0x6e,0x6c,0x69,0x6e,0x65,0x53,0x74,0x79,0x6c,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5ac89e,_0x5ac89e!=_0x12c422([0x56,0x61,0x6c,0x69,0x64])&&_0x14721a();}function _0x5733e6(){const _0xe66c33=window[_0x12c422([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x12c422([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x12c422([0x6e,0x6f,0x77])]())[_0x12c422([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x12c422([0x2e]),'');let _0x44cb1b=_0x12c422([0x44]);for(let _0x3c6b1a=0x0;_0x3c6b1a<_0xe66c33[_0x12c422([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3c6b1a+=0x2){let _0x51d6a9=window[_0x12c422([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xe66c33[_0x12c422([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3c6b1a,_0x3c6b1a+0x2));_0x51d6a9>=_0x338707[_0x12c422([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x51d6a9-=_0x338707[_0x12c422([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x44cb1b+=_0x338707[_0x51d6a9];}return _0x44cb1b;}function _0x37757e(){const _0x3df401=_0x290aa2[_0x12c422([0x73,0x70,0x6c,0x69,0x74])](_0x12c422([0x2e]));if(0x3!=_0x3df401[_0x12c422([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4f934f(_0x3df401[0x1]);function _0x4f934f(_0x55a0ef){const _0x4f1064=_0x11ad7a(_0x55a0ef);return _0x4f1064&&_0x1d7c3b()?_0x4f1064:null;function _0x1d7c3b(){const _0x35e401=_0x4f1064[_0x12c422([0x6a,0x74,0x69])],_0x3f107f=window[_0x12c422([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x35e401[_0x12c422([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x35e401[_0x12c422([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x59972d={..._0x4f1064,[_0x12c422([0x6a,0x74,0x69])]:_0x35e401[_0x12c422([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x35e401[_0x12c422([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x59972d[_0x12c422([0x76,0x63])],_0x5da9e8(_0x59972d)==_0x3f107f;}}}async function _0xb6b872(){let _0x4e997b=!0x0;try{const _0xab900d=_0x290aa2[_0x12c422([0x73,0x70,0x6c,0x69,0x74])](_0x12c422([0x2e])),[_0x2dd404,_0x24090a,_0x2e95de]=_0xab900d;return _0x50e1ac(_0x2dd404),await _0x29f566(_0x2dd404,_0x24090a,_0x2e95de),_0x4e997b;}catch{return!0x1;}function _0x50e1ac(_0x4236fd){const _0xe3ba43=_0x11ad7a(_0x4236fd);_0xe3ba43&&_0xe3ba43[_0x12c422([0x61,0x6c,0x67])]==_0x12c422([0x45,0x53,0x32,0x35,0x36])||(_0x4e997b=!0x1);}async function _0x29f566(_0x1e7428,_0x5b2521,_0x3786de){const _0x229e95=window[_0x12c422([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x12c422([0x66,0x72,0x6f,0x6d])](_0x5a9a82(_0x3786de),_0x58b983=>_0x58b983[_0x12c422([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2d10a5=new window[(_0x12c422([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x12c422([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1e7428+_0x12c422([0x2e])+_0x5b2521),_0x1f0468=window[_0x12c422([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x12c422([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1f0468)return;const _0x779a3a=await _0x1f0468[_0x12c422([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x12c422([0x6a,0x77,0x6b]),_0x213d33,{[_0x12c422([0x6e,0x61,0x6d,0x65])]:_0x12c422([0x45,0x43,0x44,0x53,0x41]),[_0x12c422([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x12c422([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x12c422([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1f0468[_0x12c422([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x12c422([0x6e,0x61,0x6d,0x65])]:_0x12c422([0x45,0x43,0x44,0x53,0x41]),[_0x12c422([0x68,0x61,0x73,0x68])]:{[_0x12c422([0x6e,0x61,0x6d,0x65])]:_0x12c422([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x779a3a,_0x229e95,_0x2d10a5)||(_0x4e997b=!0x1);}}function _0x11ad7a(_0x24e043){return _0x24e043[_0x12c422([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x12c422([0x65,0x79]))?JSON[_0x12c422([0x70,0x61,0x72,0x73,0x65])](_0x5a9a82(_0x24e043)):null;}function _0x5a9a82(_0x5f0a8f){return window[_0x12c422([0x61,0x74,0x6f,0x62])](_0x5f0a8f[_0x12c422([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x12c422([0x2b]))[_0x12c422([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x12c422([0x2f])));}function _0x5da9e8(_0x15f028){let _0x4acda4=0x1505;function _0x1a84b7(_0x541330){for(let _0x15ea7a=0x0;_0x15ea7a<_0x541330[_0x12c422([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x15ea7a++){const _0x3e4b55=_0x541330[_0x12c422([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x15ea7a);_0x4acda4=(_0x4acda4<<0x5)+_0x4acda4+_0x3e4b55,_0x4acda4&=_0x4acda4;}}function _0x4aca3f(_0x5776a0){Array[_0x12c422([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5776a0)?_0x5776a0[_0x12c422([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4aca3f):_0x5776a0&&typeof _0x5776a0==_0x12c422([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x12c422([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5776a0)[_0x12c422([0x73,0x6f,0x72,0x74])]()[_0x12c422([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5c773a,_0x5c61d4])=>{_0x1a84b7(_0x5c773a),_0x4aca3f(_0x5c61d4);}):_0x1a84b7(window[_0x12c422([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5776a0));}return _0x4aca3f(_0x15f028),_0x4acda4>>>0x0;}function _0x359016(_0x24c1d4){return _0x24c1d4[_0x12c422([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x12c422([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x12c422([0x30]));}function _0x1eaa0d(_0x304415){return _0x304415[_0x12c422([0x73,0x70,0x6c,0x69,0x74])]('')[_0x12c422([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x12c422([0x6a,0x6f,0x69,0x6e])]('');}function _0xa0e030(){}function _0x12c422(_0x5b207d){return _0x5b207d['map'](_0x12b6d5=>String['fromCharCode'](_0x12b6d5))['join']('');}_0x2f9994(await _0x2a1d9d());}(this);}}class g extends _0x14b00b{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'ExportInlineStyles';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[L];}['init'](){this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x2159d9=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0xb1e6d6;for(const _0x42ebff in _0x2159d9){const _0x342b30=_0x42ebff,_0x12b763=_0x2159d9[_0x342b30];if('exportInlineStylesLicenseKeyValid'==_0x12b763||'exportInlineStylesLicenseKeyInvalid'==_0x12b763||'exportInlineStylesLicenseKeyExpired'==_0x12b763||'exportInlineStylesLicenseKeyDomainLimit'==_0x12b763||'exportInlineStylesLicenseKeyNotAllowed'==_0x12b763||'exportInlineStylesLicenseKeyEvaluationLimit'==_0x12b763||'exportInlineStylesLicenseKeyUsageLimit'==_0x12b763){delete _0x2159d9[_0x342b30],_0xb1e6d6=_0x12b763,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'exportInlineStylesLicenseKeyInvalid'==_0xb1e6d6&&_0x2159d9['_showLicenseError']('invalid'),'exportInlineStylesLicenseKeyExpired'==_0xb1e6d6&&_0x2159d9['_showLicenseError']('expired'),'exportInlineStylesLicenseKeyDomainLimit'==_0xb1e6d6&&_0x2159d9['_showLicenseError']('domainLimit'),'exportInlineStylesLicenseKeyNotAllowed'==_0xb1e6d6&&_0x2159d9['_showLicenseError']('featureNotAllowed','ExportInlineStyles'),'exportInlineStylesLicenseKeyEvaluationLimit'==_0xb1e6d6&&_0x2159d9['_showLicenseError']('evaluationLimit'),'exportInlineStylesLicenseKeyUsageLimit'==_0xb1e6d6&&_0x2159d9['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}export{g as ExportInlineStyles,x as ExportInlineStylesCommand,L as ExportInlineStylesEditing,w as dropImportantStyleSuffix};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-export-inline-styles",
|
|
3
|
-
"version": "48.1.0-alpha.
|
|
3
|
+
"version": "48.1.0-alpha.2",
|
|
4
4
|
"description": "The export with inline styles feature for CKEditor 5.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -34,9 +34,9 @@
|
|
|
34
34
|
"./package.json": "./package.json"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@ckeditor/ckeditor5-core": "48.1.0-alpha.
|
|
38
|
-
"@ckeditor/ckeditor5-engine": "48.1.0-alpha.
|
|
39
|
-
"@ckeditor/ckeditor5-utils": "48.1.0-alpha.
|
|
37
|
+
"@ckeditor/ckeditor5-core": "48.1.0-alpha.2",
|
|
38
|
+
"@ckeditor/ckeditor5-engine": "48.1.0-alpha.2",
|
|
39
|
+
"@ckeditor/ckeditor5-utils": "48.1.0-alpha.2",
|
|
40
40
|
"specificity": "0.4.1"
|
|
41
41
|
},
|
|
42
42
|
"files": [
|