@ckeditor/ckeditor5-export-inline-styles 48.0.0-alpha.2 → 48.0.0-alpha.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +4 -4
package/dist/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Command as _0x4bb0a9,Plugin as _0x1bf4f5}from'@ckeditor/ckeditor5-core/dist/index.js';import{collectStylesheets as _0x439930,createElement as _0x40839f,uid as _0x5507d3}from'@ckeditor/ckeditor5-utils/dist/index.js';import{calculate as _0x271c57,compare as _0x5b2047}from'specificity';import{StylesMap as _0x35006a,addMarginStylesRules as _0x232c67,addPaddingStylesRules as _0x4d5a17}from'@ckeditor/ckeditor5-engine/dist/index.js';function f(_0xe3d103){const _0x5bf190=[];let _0x1dd37a='',_0xe3d807=0x0;for(;_0xe3d807<_0xe3d103['length'];){const _0x42d6fd=_0xe3d103[_0xe3d807];if('('===_0x42d6fd){const _0x4af48c=y(_0xe3d103,_0xe3d807+0x1);if(-0x1===_0x4af48c)return[];_0x1dd37a+=_0xe3d103['slice'](_0xe3d807,_0x4af48c+0x1),_0xe3d807=_0x4af48c+0x1;}else','!==_0x42d6fd||_0x1dd37a['endsWith']('\x5c')?(_0x1dd37a+=_0x42d6fd,_0xe3d807++):(_0x5bf190['push'](_0x1dd37a['trim']()),_0x1dd37a='',_0xe3d807++);}return _0x1dd37a['trim']()&&_0x5bf190['push'](_0x1dd37a['trim']()),_0x5bf190['filter'](Boolean);}function y(_0x563ca5,_0x42a8f1){let _0x34f5c2=0x1;for(let _0x493ac6=_0x42a8f1;_0x493ac6<_0x563ca5['length'];_0x493ac6++){const _0x594f10=_0x563ca5[_0x493ac6];if('('===_0x594f10)_0x34f5c2++;else{if(')'===_0x594f10&&(_0x34f5c2--,0x0===_0x34f5c2))return _0x493ac6;}}return-0x1;}function w(_0x2f7b4e){return _0x2f7b4e['replace'](/!\s*important/i,'')['trim']();}function p(_0x24ee26,_0x38c60d){const _0x380f13=new Map(),_0x102b04=_0x3b752f=>_0x380f13['has'](_0x3b752f)?_0x380f13['get'](_0x3b752f):_0x24ee26(_0x3b752f);for(const [_0x4a4cf9,_0xc8d4a2]of _0x38c60d['getStylesEntries']())if(_0xc8d4a2&&_0x4a4cf9['startsWith']('--')){const _0x3a9262=d(_0x102b04,_0xc8d4a2);_0x380f13['set'](_0x4a4cf9,_0x3a9262),_0x38c60d['remove'](_0x4a4cf9);}for(const [_0x1c87aa,_0x1f03a5]of _0x38c60d['getStylesEntries']())if(_0x1f03a5){const _0x15c9b1=d(_0x102b04,_0x1f03a5);_0x38c60d['set'](_0x1c87aa,_0x15c9b1);}return _0x380f13;}function d(_0x115162,_0x577a9f){return function(_0x30befa,_0x25393a){let _0x1842ec='',_0x236546=0x0;for(;_0x236546<_0x30befa['length'];){const _0x9adf5a=_0x30befa['indexOf']('var(',_0x236546);if(-0x1===_0x9adf5a){_0x1842ec+=_0x30befa['slice'](_0x236546);break;}_0x1842ec+=_0x30befa['slice'](_0x236546,_0x9adf5a);const _0x5bf8e8=_0x9adf5a+0x4,_0x2b33a0=y(_0x30befa,_0x5bf8e8);_0x1842ec+=_0x25393a(_0x30befa['substring'](_0x5bf8e8,_0x2b33a0)),_0x236546=_0x2b33a0+0x1;}return _0x1842ec;}(_0x577a9f,_0x30de61=>{const [_0x246260,_0x46a3c3]=f(_0x30de61),_0xbb40be=_0x115162(_0x246260);return void 0x0!==_0xbb40be?_0xbb40be:_0x46a3c3?d(_0x115162,_0x46a3c3):'var('+_0x246260+')';});}async function h(_0x574125){const _0x2ba233=[await _0x439930(_0x574125['stylesheets']),_0x574125['inlineCss']]['filter'](_0x4aa8bd=>_0x4aa8bd&&_0x4aa8bd['length'])['join']('\x0a'),_0x4cca5a=await async function(_0x3fc93c,_0x1f7a87){const _0x240a44=new CSSStyleSheet();return await _0x240a44['replace'](_0x1f7a87),S(Array['from'](_0x240a44['cssRules'])['filter'](_0x3e7a19=>_0x3e7a19 instanceof CSSStyleRule))['flatMap'](({selectorText:_0x1a12c8,contentCssText:_0x376e2d})=>{const _0x471a4f=f(_0x1a12c8),_0x5011cd=new _0x35006a(_0x3fc93c)['setTo'](_0x376e2d);return _0x471a4f['map'](_0x25ef92=>{const _0x30dc0e=function(_0x45a4bb){const _0x3534ff=':where(';let _0xd88f2c=_0x45a4bb,_0x3d489f=0x0;for(let _0xcc07b3=0x0;_0xcc07b3<0x64;_0xcc07b3++){const _0x1337f8=_0xd88f2c['indexOf'](_0x3534ff,_0x3d489f);if(-0x1===_0x1337f8)break;let _0x46478f=0x0;for(let _0x1c5b97=0x0;_0x1c5b97<_0x1337f8;_0x1c5b97++)'('===_0xd88f2c[_0x1c5b97]?_0x46478f++:')'===_0xd88f2c[_0x1c5b97]&&_0x46478f--;if(_0x46478f>0x0){_0x3d489f=_0x1337f8+_0x3534ff['length'];continue;}let _0x5615a5=-0x1;for(let _0x421a24=_0x1337f8+_0x3534ff['length'],_0x242be6=0x1;_0x421a24<_0xd88f2c['length'];_0x421a24++)if('('===_0xd88f2c[_0x421a24]?_0x242be6++:')'===_0xd88f2c[_0x421a24]&&_0x242be6--,!_0x242be6){_0x5615a5=_0x421a24;break;}-0x1!==_0x5615a5?(_0xd88f2c=_0xd88f2c['slice'](0x0,_0x1337f8)+_0xd88f2c['slice'](_0x5615a5+0x1),_0x3d489f=_0x1337f8):_0x3d489f=_0x1337f8+_0x3534ff['length'];}return _0xd88f2c['replace'](/\s+/g,'\x20')['trim']();}(_0x25ef92),_0x15b8b1=_0x30dc0e?_0x271c57(_0x30dc0e)[0x0]['specificityArray']:[0x0,0x0,0x0,0x0];return{'stylesMap':_0x5011cd,'flatSelector':_0x25ef92,'specificity':_0x15b8b1};});})['sort']((_0x3d49e6,_0x30592c)=>_0x5b2047(_0x3d49e6['specificity'],_0x30592c['specificity']));}(_0x574125['stylesProcessor'],_0x2ba233);return{'parsedCssRules':_0x4cca5a,'rootCssVariables':function(_0x59dcf4){const _0x50196b=new Map();for(const {stylesMap:_0x3a3d6b,flatSelector:_0x595aec}of _0x59dcf4){if(':root'!==_0x595aec)continue;const _0x40a88a=p(_0x50196b['get']['bind'](_0x50196b),_0x3a3d6b);for(const [_0x4aee36,_0x1f1878]of _0x40a88a)_0x50196b['set'](_0x4aee36,_0x1f1878);}return _0x50196b;}(_0x4cca5a)};}function S(_0x390f42,_0x3bff37=''){return _0x390f42['flatMap'](_0x1692e3=>{const {selectorText:_0x3f1688,cssText:_0x1b967c,cssRules:_0x41b021}=_0x1692e3;if(!_0x3f1688)return[];const _0x176f53=_0x3f1688['replace'](/&/g,_0x3bff37);let _0xb8bec2=_0x1b967c['replace'](_0x3f1688,'')['trim']()['replace'](/^{|}$/g,'');if(!_0x41b021||!_0x41b021['length'])return[{'selectorText':_0x176f53,'contentCssText':_0xb8bec2}];for(const _0x3ec2f1 of _0x41b021)_0xb8bec2=_0xb8bec2['replace'](_0x3ec2f1['cssText'],'')['trim']();return[{'selectorText':_0x176f53,'contentCssText':_0xb8bec2},...S(Array['from'](_0x41b021),_0x176f53)];});}function m(_0x40e98e,_0x103295){const _0x4cc3e2=new _0x35006a(_0x40e98e);for(const _0x4cb8b7 of _0x103295){let _0x5826e7=null;if(_0x5826e7='string'==typeof _0x4cb8b7?new _0x35006a(_0x40e98e)['setTo'](_0x4cb8b7):_0x4cb8b7,_0x5826e7){for(const [_0x19d02b,_0x3853ec]of _0x5826e7['getStylesEntries']())_0x4cc3e2['set'](_0x19d02b,_0x3853ec);}}return _0x4cc3e2;}class x extends _0x4bb0a9{['_stylesProcessor'];constructor(_0x8dad81){super(_0x8dad81),this['set']('isBusy',!0x1),this['_stylesProcessor']=this['editor']['data']['stylesProcessor'],_0x232c67(this['_stylesProcessor']),_0x4d5a17(this['_stylesProcessor']),this['affectsData']=!0x1;}['refresh'](){this['isEnabled']=!this['isBusy'],this['value']=this['isBusy']?'pending':void 0x0;}async['execute'](_0x14007c){const _0x295bf3=this['editor']['config']['get']('exportInlineStyles'),{contentLanguageDirection:_0x435f1f}=this['editor']['locale'],{rootName:_0x2f537e='main',dataControllerDowncastOptions:_0x1d7e9c={},transformations:_0x18eda9=_0x295bf3['transformations']||[]}=_0x14007c||{};this['isBusy']=!0x0,this['refresh']();const _0x17a56d=this['_getRootDataHTMLFragment'](_0x2f537e,_0x1d7e9c),_0x4eef6e=_0x40839f(_0x17a56d['ownerDocument'],'div',{'dir':_0x435f1f,'class':'ck-content'},[_0x17a56d]);return this['_collectAndApplyStyles'](_0x18eda9,_0x4eef6e)['then'](()=>{const _0x109a42=function(_0x201ac3){const _0x1128a3=_0x201ac3['ownerDocument']['createDocumentFragment']();for(;_0x201ac3['firstChild'];)_0x1128a3['appendChild'](_0x201ac3['firstChild']);return _0x1128a3;}(_0x4eef6e),_0x13910f=_0x4eef6e['getAttribute']('style');if(_0x13910f)for(const _0x4565b4 of _0x109a42['children']){const _0x8129a0=_0x4565b4['getAttribute']('style'),_0xb7e65d=m(this['_stylesProcessor'],[_0x13910f,_0x8129a0]);_0x4565b4['setAttribute']('style',L(_0xb7e65d));}return this['editor']['data']['htmlProcessor']['htmlWriter']['getHtml'](_0x109a42);})['finally'](()=>{this['isBusy']=!0x1,this['refresh']();});}['_getRootDataHTMLFragment'](_0x59ef88,_0x213a03){const {data:_0x180ae4,model:_0x4b48a9}=this['editor'],_0x16c782=_0x4b48a9['document']['getRoot'](_0x59ef88),_0x3f93be=_0x180ae4['toView'](_0x16c782,_0x213a03);return _0x180ae4['htmlProcessor']['domConverter']['viewToDom'](_0x3f93be);}async['_collectAndApplyStyles'](_0x2cc26b,_0x24b49a){const {stylesheets:_0x27471b,inlineCss:_0x266c79,stripCssClasses:_0x35619b}=this['editor']['config']['get']('exportInlineStyles'),{parsedCssRules:_0x48d40a,rootCssVariables:_0x103849}=await h({'stylesheets':_0x27471b||['EDITOR_STYLES'],'stylesProcessor':this['_stylesProcessor'],'inlineCss':_0x266c79});this['_processElementTree']({'transformations':_0x2cc26b,'parsedCssRules':_0x48d40a,'element':_0x24b49a,'stripCssClasses':_0x35619b,'parentCSSVariablesLookup':_0x103849['get']['bind'](_0x103849)});}['_processElementTree']({element:_0x3989bb,parsedCssRules:_0x1ee295,parentCSSVariablesLookup:_0x20c5df,stripCssClasses:_0x5ecce9,transformations:_0x59990b}){const {stylesMap:_0x21def9,localCSSVariables:_0x3f6257}=function(_0x537ed1){const _0x5595a7=_0x537ed1['element']['getAttribute']('style')||'',_0x2da1a6=_0x537ed1['parsedCssRules']['filter'](_0x140310=>_0x537ed1['element']['matches'](_0x140310['flatSelector']))['map'](_0x5b2a37=>_0x5b2a37['stylesMap']),_0x59db14=m(_0x537ed1['stylesProcessor'],[..._0x2da1a6,_0x5595a7]);return{'localCSSVariables':p(_0x537ed1['fallbackCSSVariablesLookup'],_0x59db14),'stylesMap':_0x59db14};}({'stylesProcessor':this['_stylesProcessor'],'fallbackCSSVariablesLookup':_0x20c5df,'parsedCssRules':_0x1ee295,'element':_0x3989bb});for(const _0x496d20 of _0x59990b){const _0x212c10=_0x496d20(_0x3989bb,_0x21def9);_0x212c10&&_0x212c10 instanceof HTMLElement&&(_0x3989bb=_0x212c10);}_0x21def9['size']?_0x3989bb['setAttribute']('style',L(_0x21def9)):_0x3989bb['removeAttribute']('style');const _0x99b645=_0x26f302=>_0x3f6257['has'](_0x26f302)?_0x3f6257['get'](_0x26f302):_0x20c5df(_0x26f302);for(const _0x3915ff of _0x3989bb['children'])_0x3915ff instanceof HTMLElement&&this['_processElementTree']({'element':_0x3915ff,'parentCSSVariablesLookup':_0x99b645,'parsedCssRules':_0x1ee295,'stripCssClasses':_0x5ecce9,'transformations':_0x59990b});_0x5ecce9&&_0x3989bb['removeAttribute']('class');}}function L(_0x2b22e8){return _0x2b22e8['getStylesEntries']()['map'](_0x4b88cb=>_0x4b88cb['join'](':'))['join'](';')+';';}class C extends _0x1bf4f5{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(_0x18c79b){const _0x5123b=_0x512af6([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]),_0x530462=0x6f40c3fb,_0x40de5a=0x6f474703^_0x530462,_0x184993=window[_0x512af6([0x44,0x61,0x74,0x65])][_0x512af6([0x6e,0x6f,0x77])](),_0x5e8f3e=_0x18c79b[_0x512af6([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x13bf6a=new window[(_0x512af6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2c705a=>{_0x5e8f3e[_0x512af6([0x6f,0x6e,0x63,0x65])](_0x512af6([0x72,0x65,0x61,0x64,0x79]),_0x2c705a);}),_0x3a7b1c={[_0x512af6([0x6b,0x74,0x79])]:_0x512af6([0x45,0x43]),[_0x512af6([0x75,0x73,0x65])]:_0x512af6([0x73,0x69,0x67]),[_0x512af6([0x63,0x72,0x76])]:_0x512af6([0x50,0x2d,0x32,0x35,0x36]),[_0x512af6([0x78])]:_0x512af6([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]),[_0x512af6([0x79])]:_0x512af6([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]),[_0x512af6([0x61,0x6c,0x67])]:_0x512af6([0x45,0x53,0x32,0x35,0x36])},_0x223d36=_0x5e8f3e[_0x512af6([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x512af6([0x67,0x65,0x74])](_0x512af6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3cccae(){let _0x2ac015,_0x380b1b=null,_0x36ddc0=null;try{if(_0x223d36==_0x512af6([0x47,0x50,0x4c]))return _0x512af6([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2ac015=_0x74a3b8(),!_0x2ac015)return _0x512af6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2ac015[_0x512af6([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x36ddc0=_0x87a472(_0x2ac015[_0x512af6([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2ac015[_0x512af6([0x6a,0x74,0x69])])),await _0xefcc50()?_0x7e0c77()?_0x4aaa88()?_0x512af6([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1c6ed8()?(_0x2ac015[_0x512af6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x512af6([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x380b1b=_0x35a483(_0x512af6([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1a1fa2()):_0x512af6([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x512af6([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x512af6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x512af6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4aaa88(){const _0x385d7c=[_0x512af6([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x512af6([0x74,0x72,0x69,0x61,0x6c])][_0x512af6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2ac015[_0x512af6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x184993/0x3e8:0xe10*_0x40de5a;return _0x2ac015[_0x512af6([0x65,0x78,0x70])]<_0x385d7c;}function _0x7e0c77(){const _0x4f0629=_0x2ac015[_0x512af6([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4f0629&&(!!_0x4f0629[_0x512af6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x512af6([0x2a]))||!!_0x4f0629[_0x512af6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x512af6([0x45,0x49,0x53])));}function _0x1c6ed8(){const _0x263f03=_0x2ac015[_0x512af6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x263f03||0x0==_0x263f03[_0x512af6([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x14279c}=new URL(window[_0x512af6([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x263f03[_0x512af6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x14279c))return!0x0;const _0x28f5ba=_0x14279c[_0x512af6([0x73,0x70,0x6c,0x69,0x74])](_0x512af6([0x2e]));return _0x263f03[_0x512af6([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x17f181=>_0x17f181[_0x512af6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x512af6([0x2a])))[_0x512af6([0x6d,0x61,0x70])](_0x1f9414=>_0x1f9414[_0x512af6([0x73,0x70,0x6c,0x69,0x74])](_0x512af6([0x2e])))[_0x512af6([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1456a6=>_0x1456a6[_0x512af6([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x28f5ba[_0x512af6([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x512af6([0x6d,0x61,0x70])](_0x1a34f8=>Array(_0x28f5ba[_0x512af6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1a34f8[_0x512af6([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x512af6([0x66,0x69,0x6c,0x6c])](_0x1a34f8[0x0]===_0x512af6([0x2a])?_0x512af6([0x2a]):'')[_0x512af6([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1a34f8))[_0x512af6([0x73,0x6f,0x6d,0x65])](_0x24110a=>_0x28f5ba[_0x512af6([0x65,0x76,0x65,0x72,0x79])]((_0x4ff4ad,_0x2075d9)=>_0x24110a[_0x2075d9]===_0x4ff4ad||_0x24110a[_0x2075d9]===_0x512af6([0x2a])));}function _0x1a1fa2(){return _0x380b1b&&_0x36ddc0?new window[(_0x512af6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1c0d14,_0x18ada1)=>{_0x380b1b[_0x512af6([0x74,0x68,0x65,0x6e])](_0x1c0d14,_0x18ada1),_0x36ddc0[_0x512af6([0x74,0x68,0x65,0x6e])](_0x279b44=>{_0x279b44!=_0x512af6([0x56,0x61,0x6c,0x69,0x64])&&_0x1c0d14(_0x279b44);},_0x18ada1);}):_0x380b1b||_0x36ddc0||_0x512af6([0x56,0x61,0x6c,0x69,0x64]);}}function _0x87a472(_0x13259f,_0x2234f5){return new window[(_0x512af6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5e3b5d=>{if(_0xe84a0e())return _0x5e3b5d(_0x512af6([0x56,0x61,0x6c,0x69,0x64]));_0x158ea3(),_0x5e8f3e[_0x512af6([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x512af6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x55cb71=!0x1;const _0x4258ab=_0x5507d3();function _0x86ac03(_0x2c3d0f){return!!_0x2c3d0f&&(typeof _0x2c3d0f===_0x512af6([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2c3d0f===_0x512af6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2c3d0f[_0x512af6([0x74,0x68,0x65,0x6e])]===_0x512af6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2c3d0f[_0x512af6([0x63,0x61,0x74,0x63,0x68])]===_0x512af6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xa574a4(_0x381bca){_0x55c69c(_0x381bca)[_0x512af6([0x74,0x68,0x65,0x6e])](_0x2ca81e=>{if(!_0x2ca81e||_0x2ca81e[_0x512af6([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x512af6([0x6f,0x6b]))return _0x512af6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5dbb56(_0x41a745(_0x4258ab+_0x2234f5))!=_0x2ca81e[_0x512af6([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x512af6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x512af6([0x56,0x61,0x6c,0x69,0x64]);})[_0x512af6([0x74,0x68,0x65,0x6e])](_0x474af9=>(_0x2d7d01(),_0x474af9),()=>{const _0x32f376=_0xf2fb34();return null==_0x32f376?(_0x2d7d01(),_0x512af6([0x56,0x61,0x6c,0x69,0x64])):_0x512af6(_0x184993-_0x32f376>(0x4b4c47fb^_0x530462)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x512af6([0x74,0x68,0x65,0x6e])](_0x5e3b5d)[_0x512af6([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5e3b5d(_0x512af6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4aba73=0x6f762d7b^_0x530462;function _0x2d7d01(){const _0x3d76b9=_0x512af6([0x6c,0x6c,0x63,0x74,0x2d])+_0x5dbb56(_0x41a745(_0x13259f)),_0x18da95=_0x26bff4(_0x5dbb56(window[_0x512af6([0x4d,0x61,0x74,0x68])][_0x512af6([0x63,0x65,0x69,0x6c])](_0x184993/_0x4aba73)));window[_0x512af6([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x512af6([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3d76b9,_0x18da95);}function _0xf2fb34(){const _0x50b73a=_0x512af6([0x6c,0x6c,0x63,0x74,0x2d])+_0x5dbb56(_0x41a745(_0x13259f)),_0x247891=window[_0x512af6([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x512af6([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x50b73a);return _0x247891?window[_0x512af6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x26bff4(_0x247891),0x10)*_0x4aba73:null;}function _0x55c69c(_0xf62786){return new window[(_0x512af6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4bafdc,_0x3f0a39)=>{_0xf62786[_0x512af6([0x74,0x68,0x65,0x6e])](_0x4bafdc,_0x3f0a39),window[_0x512af6([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3f0a39,0x6f41173b^_0x530462);});}}_0x5e8f3e[_0x512af6([0x6f,0x6e])](_0x512af6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1a44f9,_0x191baa)=>{if(_0x191baa[0x0]!=_0x13259f)return _0x5e3b5d(_0x512af6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x191baa[0x1]={..._0x191baa[0x1],[_0x512af6([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4258ab};},{[_0x512af6([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x512af6([0x68,0x69,0x67,0x68])}),_0x5e8f3e[_0x512af6([0x6f,0x6e])](_0x512af6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x579b65=>{_0x86ac03(_0x579b65[_0x512af6([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x55cb71=!0x0,_0xa574a4(_0x579b65[_0x512af6([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x512af6([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x512af6([0x6c,0x6f,0x77])}),_0x13bf6a[_0x512af6([0x74,0x68,0x65,0x6e])](()=>{_0x55cb71||_0x5e3b5d(_0x512af6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xe84a0e(){return _0x5e8f3e[_0x512af6([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x512af6([0x76,0x69,0x65,0x77])][_0x512af6([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x512af6([0x61,0x75,0x74,0x6f]);}function _0x158ea3(){_0x5e8f3e[_0x512af6([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x512af6([0x76,0x69,0x65,0x77])][_0x512af6([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x512af6([0x61,0x75,0x74,0x6f]);}}function _0x35a483(_0x115120){const _0x3c17d3=[new window[(_0x512af6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x557c86=>setTimeout(_0x557c86,0x6f49fd37^_0x530462)),_0x13bf6a[_0x512af6([0x74,0x68,0x65,0x6e])](()=>new window[(_0x512af6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x464d0c=>{let _0x486b90=0x0;_0x5e8f3e[_0x512af6([0x6d,0x6f,0x64,0x65,0x6c])][_0x512af6([0x6f,0x6e])](_0x512af6([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2acc2a,_0x2d9d81)=>{_0x2d9d81[0x0][_0x512af6([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x486b90++,_0x486b90==(0x6f40c613^_0x530462)&&(_0x464d0c(),_0x2acc2a[_0x512af6([0x6f,0x66,0x66])]());});}))];return window[_0x512af6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x512af6([0x72,0x61,0x63,0x65])](_0x3c17d3)[_0x512af6([0x74,0x68,0x65,0x6e])](()=>_0x115120);}async function _0x102aac(){await _0x13bf6a;const _0x1894cf=_0x5e8f3e['commands'][_0x512af6([0x67,0x65,0x74])](_0x512af6([0x65,0x78,0x70,0x6f,0x72,0x74,0x49,0x6e,0x6c,0x69,0x6e,0x65,0x53,0x74,0x79,0x6c,0x65,0x73]));_0x1894cf&&_0x1894cf[_0x512af6([0x6f,0x6e])](_0x512af6([0x65,0x78,0x65,0x63,0x75,0x74,0x65]),_0x4e44b8=>{_0x4e44b8['stop']();},{'priority':_0x512af6([0x68,0x69,0x67,0x68,0x65,0x73,0x74])}),_0x5e8f3e[_0x512af6([0x6d,0x6f,0x64,0x65,0x6c])][_0x512af6([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1b1bb8,_0x5e8f3e[_0x512af6([0x6d,0x6f,0x64,0x65,0x6c])][_0x512af6([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1b1bb8,_0x5e8f3e[_0x512af6([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x512af6([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x39514c(_0x11f30f){const _0x4aa156=_0x3c9a22();_0x5e8f3e[_0x4aa156]=_0x512af6([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])+_0x11f30f,_0x11f30f!=_0x512af6([0x56,0x61,0x6c,0x69,0x64])&&_0x102aac();}function _0x3c9a22(){const _0x466e8c=window[_0x512af6([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x512af6([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x512af6([0x6e,0x6f,0x77])]())[_0x512af6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x512af6([0x2e]),'');let _0x199b84=_0x512af6([0x44]);for(let _0x374954=0x0;_0x374954<_0x466e8c[_0x512af6([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x374954+=0x2){let _0x40b1ea=window[_0x512af6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x466e8c[_0x512af6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x374954,_0x374954+0x2));_0x40b1ea>=_0x5123b[_0x512af6([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x40b1ea-=_0x5123b[_0x512af6([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x199b84+=_0x5123b[_0x40b1ea];}return _0x199b84;}function _0x74a3b8(){const _0x2f2e3d=_0x223d36[_0x512af6([0x73,0x70,0x6c,0x69,0x74])](_0x512af6([0x2e]));if(0x3!=_0x2f2e3d[_0x512af6([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x34b692(_0x2f2e3d[0x1]);function _0x34b692(_0x1fef5b){const _0xe6a2d4=_0x4df3c9(_0x1fef5b);return _0xe6a2d4&&_0x51934c()?_0xe6a2d4:null;function _0x51934c(){const _0x2950de=_0xe6a2d4[_0x512af6([0x6a,0x74,0x69])],_0x31626d=window[_0x512af6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2950de[_0x512af6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2950de[_0x512af6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5336e3={..._0xe6a2d4,[_0x512af6([0x6a,0x74,0x69])]:_0x2950de[_0x512af6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2950de[_0x512af6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5336e3[_0x512af6([0x76,0x63])],_0x41a745(_0x5336e3)==_0x31626d;}}}async function _0xefcc50(){let _0xf81d07=!0x0;try{const _0xb5d6f7=_0x223d36[_0x512af6([0x73,0x70,0x6c,0x69,0x74])](_0x512af6([0x2e])),[_0xb1ef08,_0x3ab7de,_0x890e3b]=_0xb5d6f7;return _0x3352de(_0xb1ef08),await _0x1f52e5(_0xb1ef08,_0x3ab7de,_0x890e3b),_0xf81d07;}catch{return!0x1;}function _0x3352de(_0x4c3e43){const _0x590201=_0x4df3c9(_0x4c3e43);_0x590201&&_0x590201[_0x512af6([0x61,0x6c,0x67])]==_0x512af6([0x45,0x53,0x32,0x35,0x36])||(_0xf81d07=!0x1);}async function _0x1f52e5(_0x2c4715,_0x4e9467,_0x17e5cc){const _0x5268c5=window[_0x512af6([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x512af6([0x66,0x72,0x6f,0x6d])](_0x24eef2(_0x17e5cc),_0x4e33c6=>_0x4e33c6[_0x512af6([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xfb4994=new window[(_0x512af6([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x512af6([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2c4715+_0x512af6([0x2e])+_0x4e9467),_0x1e93d6=window[_0x512af6([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x512af6([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1e93d6)return;const _0x49de75=await _0x1e93d6[_0x512af6([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x512af6([0x6a,0x77,0x6b]),_0x3a7b1c,{[_0x512af6([0x6e,0x61,0x6d,0x65])]:_0x512af6([0x45,0x43,0x44,0x53,0x41]),[_0x512af6([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x512af6([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x512af6([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1e93d6[_0x512af6([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x512af6([0x6e,0x61,0x6d,0x65])]:_0x512af6([0x45,0x43,0x44,0x53,0x41]),[_0x512af6([0x68,0x61,0x73,0x68])]:{[_0x512af6([0x6e,0x61,0x6d,0x65])]:_0x512af6([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x49de75,_0x5268c5,_0xfb4994)||(_0xf81d07=!0x1);}}function _0x4df3c9(_0x75bc90){return _0x75bc90[_0x512af6([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x512af6([0x65,0x79]))?JSON[_0x512af6([0x70,0x61,0x72,0x73,0x65])](_0x24eef2(_0x75bc90)):null;}function _0x24eef2(_0x18af9d){return window[_0x512af6([0x61,0x74,0x6f,0x62])](_0x18af9d[_0x512af6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x512af6([0x2b]))[_0x512af6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x512af6([0x2f])));}function _0x41a745(_0x51286b){let _0x5f3f11=0x1505;function _0x1be75d(_0x2f891a){for(let _0x19e973=0x0;_0x19e973<_0x2f891a[_0x512af6([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x19e973++){const _0x47513e=_0x2f891a[_0x512af6([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x19e973);_0x5f3f11=(_0x5f3f11<<0x5)+_0x5f3f11+_0x47513e,_0x5f3f11&=_0x5f3f11;}}function _0x42a9ea(_0x46ff62){Array[_0x512af6([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x46ff62)?_0x46ff62[_0x512af6([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x42a9ea):_0x46ff62&&typeof _0x46ff62==_0x512af6([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x512af6([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x46ff62)[_0x512af6([0x73,0x6f,0x72,0x74])]()[_0x512af6([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x26705e,_0x400ce0])=>{_0x1be75d(_0x26705e),_0x42a9ea(_0x400ce0);}):_0x1be75d(window[_0x512af6([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x46ff62));}return _0x42a9ea(_0x51286b),_0x5f3f11>>>0x0;}function _0x5dbb56(_0x5e2de1){return _0x5e2de1[_0x512af6([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x512af6([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x512af6([0x30]));}function _0x26bff4(_0x46a196){return _0x46a196[_0x512af6([0x73,0x70,0x6c,0x69,0x74])]('')[_0x512af6([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x512af6([0x6a,0x6f,0x69,0x6e])]('');}function _0x1b1bb8(){}function _0x512af6(_0x4f4ca6){return _0x4f4ca6['map'](_0x25bb1e=>String['fromCharCode'](_0x25bb1e))['join']('');}_0x39514c(await _0x3cccae());}(this);}}class g extends _0x1bf4f5{['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 _0x399a70=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x43e194;for(const _0x2b5bce in _0x399a70){const _0xb14b30=_0x2b5bce,_0x2d5a2e=_0x399a70[_0xb14b30];if('exportInlineStylesLicenseKeyValid'==_0x2d5a2e||'exportInlineStylesLicenseKeyInvalid'==_0x2d5a2e||'exportInlineStylesLicenseKeyExpired'==_0x2d5a2e||'exportInlineStylesLicenseKeyDomainLimit'==_0x2d5a2e||'exportInlineStylesLicenseKeyNotAllowed'==_0x2d5a2e||'exportInlineStylesLicenseKeyEvaluationLimit'==_0x2d5a2e||'exportInlineStylesLicenseKeyUsageLimit'==_0x2d5a2e){delete _0x399a70[_0xb14b30],_0x43e194=_0x2d5a2e,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'exportInlineStylesLicenseKeyInvalid'==_0x43e194&&_0x399a70['_showLicenseError']('invalid'),'exportInlineStylesLicenseKeyExpired'==_0x43e194&&_0x399a70['_showLicenseError']('expired'),'exportInlineStylesLicenseKeyDomainLimit'==_0x43e194&&_0x399a70['_showLicenseError']('domainLimit'),'exportInlineStylesLicenseKeyNotAllowed'==_0x43e194&&_0x399a70['_showLicenseError']('featureNotAllowed','ExportInlineStyles'),'exportInlineStylesLicenseKeyEvaluationLimit'==_0x43e194&&_0x399a70['_showLicenseError']('evaluationLimit'),'exportInlineStylesLicenseKeyUsageLimit'==_0x43e194&&_0x399a70['_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 _0x37c96f,Plugin as _0x449995}from'@ckeditor/ckeditor5-core/dist/index.js';import{collectStylesheets as _0x47a160,createElement as _0x590e6f,uid as _0xe7e989}from'@ckeditor/ckeditor5-utils/dist/index.js';import{calculate as _0x70fa69,compare as _0x532f16}from'specificity';import{StylesMap as _0x317417,addMarginStylesRules as _0x292fa2,addPaddingStylesRules as _0x2c7a20}from'@ckeditor/ckeditor5-engine/dist/index.js';function f(_0x240ef1){const _0x5b98f2=[];let _0x24d997='',_0x35f3d3=0x0;for(;_0x35f3d3<_0x240ef1['length'];){const _0x13b7d7=_0x240ef1[_0x35f3d3];if('('===_0x13b7d7){const _0x140170=y(_0x240ef1,_0x35f3d3+0x1);if(-0x1===_0x140170)return[];_0x24d997+=_0x240ef1['slice'](_0x35f3d3,_0x140170+0x1),_0x35f3d3=_0x140170+0x1;}else','!==_0x13b7d7||_0x24d997['endsWith']('\x5c')?(_0x24d997+=_0x13b7d7,_0x35f3d3++):(_0x5b98f2['push'](_0x24d997['trim']()),_0x24d997='',_0x35f3d3++);}return _0x24d997['trim']()&&_0x5b98f2['push'](_0x24d997['trim']()),_0x5b98f2['filter'](Boolean);}function y(_0x1da889,_0x3ff23f){let _0x24852c=0x1;for(let _0x2cf75b=_0x3ff23f;_0x2cf75b<_0x1da889['length'];_0x2cf75b++){const _0x38af5e=_0x1da889[_0x2cf75b];if('('===_0x38af5e)_0x24852c++;else{if(')'===_0x38af5e&&(_0x24852c--,0x0===_0x24852c))return _0x2cf75b;}}return-0x1;}function w(_0x2cc611){return _0x2cc611['replace'](/!\s*important/i,'')['trim']();}function p(_0x6b8aec,_0x356d94){const _0xb55b92=new Map(),_0x4d387b=_0x541b6c=>_0xb55b92['has'](_0x541b6c)?_0xb55b92['get'](_0x541b6c):_0x6b8aec(_0x541b6c);for(const [_0xef3537,_0x23500d]of _0x356d94['getStylesEntries']())if(_0x23500d&&_0xef3537['startsWith']('--')){const _0x730f4a=d(_0x4d387b,_0x23500d);_0xb55b92['set'](_0xef3537,_0x730f4a),_0x356d94['remove'](_0xef3537);}for(const [_0x1e989a,_0x365627]of _0x356d94['getStylesEntries']())if(_0x365627){const _0x9bff90=d(_0x4d387b,_0x365627);_0x356d94['set'](_0x1e989a,_0x9bff90);}return _0xb55b92;}function d(_0x44765e,_0x5334d5){return function(_0x36bc11,_0x42e573){let _0x5a9de7='',_0x542ce2=0x0;for(;_0x542ce2<_0x36bc11['length'];){const _0x41d2b8=_0x36bc11['indexOf']('var(',_0x542ce2);if(-0x1===_0x41d2b8){_0x5a9de7+=_0x36bc11['slice'](_0x542ce2);break;}_0x5a9de7+=_0x36bc11['slice'](_0x542ce2,_0x41d2b8);const _0x470bab=_0x41d2b8+0x4,_0x122714=y(_0x36bc11,_0x470bab);_0x5a9de7+=_0x42e573(_0x36bc11['substring'](_0x470bab,_0x122714)),_0x542ce2=_0x122714+0x1;}return _0x5a9de7;}(_0x5334d5,_0x13b7c4=>{const [_0xe42cd9,_0x171308]=f(_0x13b7c4),_0x884ca8=_0x44765e(_0xe42cd9);return void 0x0!==_0x884ca8?_0x884ca8:_0x171308?d(_0x44765e,_0x171308):'var('+_0xe42cd9+')';});}async function h(_0x1e3f47){const _0x5b6354=[await _0x47a160(_0x1e3f47['stylesheets']),_0x1e3f47['inlineCss']]['filter'](_0x55461e=>_0x55461e&&_0x55461e['length'])['join']('\x0a'),_0x4a2058=await async function(_0x49f7a3,_0x38d42c){const _0x870367=new CSSStyleSheet();return await _0x870367['replace'](_0x38d42c),S(Array['from'](_0x870367['cssRules'])['filter'](_0x3df2d0=>_0x3df2d0 instanceof CSSStyleRule))['flatMap'](({selectorText:_0x43fba4,contentCssText:_0x27493a})=>{const _0x2569d5=f(_0x43fba4),_0x2375a9=new _0x317417(_0x49f7a3)['setTo'](_0x27493a);return _0x2569d5['map'](_0x208892=>{const _0x4a5c0c=function(_0x949930){const _0x5ece5a=':where(';let _0x24af3e=_0x949930,_0x712d54=0x0;for(let _0x289b70=0x0;_0x289b70<0x64;_0x289b70++){const _0x3aa351=_0x24af3e['indexOf'](_0x5ece5a,_0x712d54);if(-0x1===_0x3aa351)break;let _0x52d2a4=0x0;for(let _0x24ffe5=0x0;_0x24ffe5<_0x3aa351;_0x24ffe5++)'('===_0x24af3e[_0x24ffe5]?_0x52d2a4++:')'===_0x24af3e[_0x24ffe5]&&_0x52d2a4--;if(_0x52d2a4>0x0){_0x712d54=_0x3aa351+_0x5ece5a['length'];continue;}let _0x2dcb78=-0x1;for(let _0x124807=_0x3aa351+_0x5ece5a['length'],_0xe77650=0x1;_0x124807<_0x24af3e['length'];_0x124807++)if('('===_0x24af3e[_0x124807]?_0xe77650++:')'===_0x24af3e[_0x124807]&&_0xe77650--,!_0xe77650){_0x2dcb78=_0x124807;break;}-0x1!==_0x2dcb78?(_0x24af3e=_0x24af3e['slice'](0x0,_0x3aa351)+_0x24af3e['slice'](_0x2dcb78+0x1),_0x712d54=_0x3aa351):_0x712d54=_0x3aa351+_0x5ece5a['length'];}return _0x24af3e['replace'](/\s+/g,'\x20')['trim']();}(_0x208892),_0x16f48c=_0x4a5c0c?_0x70fa69(_0x4a5c0c)[0x0]['specificityArray']:[0x0,0x0,0x0,0x0];return{'stylesMap':_0x2375a9,'flatSelector':_0x208892,'specificity':_0x16f48c};});})['sort']((_0x3009e5,_0x2ebd87)=>_0x532f16(_0x3009e5['specificity'],_0x2ebd87['specificity']));}(_0x1e3f47['stylesProcessor'],_0x5b6354);return{'parsedCssRules':_0x4a2058,'rootCssVariables':function(_0x47cc1b){const _0x2a9f29=new Map();for(const {stylesMap:_0x3eeb4f,flatSelector:_0x3c5e40}of _0x47cc1b){if(':root'!==_0x3c5e40)continue;const _0xf46eb4=p(_0x2a9f29['get']['bind'](_0x2a9f29),_0x3eeb4f);for(const [_0x55e494,_0x21ad07]of _0xf46eb4)_0x2a9f29['set'](_0x55e494,_0x21ad07);}return _0x2a9f29;}(_0x4a2058)};}function S(_0x2ffbc8,_0x3039db=''){return _0x2ffbc8['flatMap'](_0x4f7676=>{const {selectorText:_0xed070,cssText:_0x1003e3,cssRules:_0xc35293}=_0x4f7676;if(!_0xed070)return[];const _0x36ef6b=_0xed070['replace'](/&/g,_0x3039db);let _0xa2b9c0=_0x1003e3['replace'](_0xed070,'')['trim']()['replace'](/^{|}$/g,'');if(!_0xc35293||!_0xc35293['length'])return[{'selectorText':_0x36ef6b,'contentCssText':_0xa2b9c0}];for(const _0x1e0bc6 of _0xc35293)_0xa2b9c0=_0xa2b9c0['replace'](_0x1e0bc6['cssText'],'')['trim']();return[{'selectorText':_0x36ef6b,'contentCssText':_0xa2b9c0},...S(Array['from'](_0xc35293),_0x36ef6b)];});}function m(_0x1504fc,_0x465313){const _0x13d361=new _0x317417(_0x1504fc);for(const _0x1711e7 of _0x465313){let _0x4e37e7=null;if(_0x4e37e7='string'==typeof _0x1711e7?new _0x317417(_0x1504fc)['setTo'](_0x1711e7):_0x1711e7,_0x4e37e7){for(const [_0x52d4df,_0x1d0712]of _0x4e37e7['getStylesEntries']())_0x13d361['set'](_0x52d4df,_0x1d0712);}}return _0x13d361;}class x extends _0x37c96f{['_stylesProcessor'];constructor(_0xa649ec){super(_0xa649ec),this['set']('isBusy',!0x1),this['_stylesProcessor']=this['editor']['data']['stylesProcessor'],_0x292fa2(this['_stylesProcessor']),_0x2c7a20(this['_stylesProcessor']),this['affectsData']=!0x1;}['refresh'](){this['isEnabled']=!this['isBusy'],this['value']=this['isBusy']?'pending':void 0x0;}async['execute'](_0x36ad4e){const _0x5cbf5f=this['editor']['config']['get']('exportInlineStyles'),{contentLanguageDirection:_0x590bff}=this['editor']['locale'],{rootName:_0x3b2d2c='main',dataControllerDowncastOptions:_0x22e3ed={},transformations:_0x4272ca=_0x5cbf5f['transformations']||[]}=_0x36ad4e||{};this['isBusy']=!0x0,this['refresh']();const _0x1f4ce2=this['_getRootDataHTMLFragment'](_0x3b2d2c,_0x22e3ed),_0x22a861=_0x590e6f(_0x1f4ce2['ownerDocument'],'div',{'dir':_0x590bff,'class':'ck-content'},[_0x1f4ce2]);return this['_collectAndApplyStyles'](_0x4272ca,_0x22a861)['then'](()=>{const _0x483403=function(_0x4b4291){const _0xedf536=_0x4b4291['ownerDocument']['createDocumentFragment']();for(;_0x4b4291['firstChild'];)_0xedf536['appendChild'](_0x4b4291['firstChild']);return _0xedf536;}(_0x22a861),_0x50ee86=_0x22a861['getAttribute']('style');if(_0x50ee86)for(const _0x2a7bb3 of _0x483403['children']){const _0x1420f3=_0x2a7bb3['getAttribute']('style'),_0x62aad4=m(this['_stylesProcessor'],[_0x50ee86,_0x1420f3]);_0x2a7bb3['setAttribute']('style',L(_0x62aad4));}return this['editor']['data']['htmlProcessor']['htmlWriter']['getHtml'](_0x483403);})['finally'](()=>{this['isBusy']=!0x1,this['refresh']();});}['_getRootDataHTMLFragment'](_0x6838f4,_0x3276a8){const {data:_0x283d63,model:_0x3f1a53}=this['editor'],_0x2454f3=_0x3f1a53['document']['getRoot'](_0x6838f4),_0x4aaab1=_0x283d63['toView'](_0x2454f3,_0x3276a8);return _0x283d63['htmlProcessor']['domConverter']['viewToDom'](_0x4aaab1);}async['_collectAndApplyStyles'](_0x112752,_0x41f1d6){const {stylesheets:_0x345d12,inlineCss:_0x1fe54f,stripCssClasses:_0x255e0e}=this['editor']['config']['get']('exportInlineStyles'),{parsedCssRules:_0x73586,rootCssVariables:_0x31482a}=await h({'stylesheets':_0x345d12||['EDITOR_STYLES'],'stylesProcessor':this['_stylesProcessor'],'inlineCss':_0x1fe54f});this['_processElementTree']({'transformations':_0x112752,'parsedCssRules':_0x73586,'element':_0x41f1d6,'stripCssClasses':_0x255e0e,'parentCSSVariablesLookup':_0x31482a['get']['bind'](_0x31482a)});}['_processElementTree']({element:_0x26781e,parsedCssRules:_0x405c6a,parentCSSVariablesLookup:_0x224237,stripCssClasses:_0x3ef311,transformations:_0x367431}){const {stylesMap:_0x48672f,localCSSVariables:_0xabdfdd}=function(_0x563506){const _0x1e1ff9=_0x563506['element']['getAttribute']('style')||'',_0x2872da=_0x563506['parsedCssRules']['filter'](_0x45917e=>_0x563506['element']['matches'](_0x45917e['flatSelector']))['map'](_0xf42f9=>_0xf42f9['stylesMap']),_0x3ef689=m(_0x563506['stylesProcessor'],[..._0x2872da,_0x1e1ff9]);return{'localCSSVariables':p(_0x563506['fallbackCSSVariablesLookup'],_0x3ef689),'stylesMap':_0x3ef689};}({'stylesProcessor':this['_stylesProcessor'],'fallbackCSSVariablesLookup':_0x224237,'parsedCssRules':_0x405c6a,'element':_0x26781e});for(const _0x2d9281 of _0x367431){const _0x10365c=_0x2d9281(_0x26781e,_0x48672f);_0x10365c&&_0x10365c instanceof HTMLElement&&(_0x26781e=_0x10365c);}_0x48672f['size']?_0x26781e['setAttribute']('style',L(_0x48672f)):_0x26781e['removeAttribute']('style');const _0x258481=_0x4065fa=>_0xabdfdd['has'](_0x4065fa)?_0xabdfdd['get'](_0x4065fa):_0x224237(_0x4065fa);for(const _0x81e15b of _0x26781e['children'])_0x81e15b instanceof HTMLElement&&this['_processElementTree']({'element':_0x81e15b,'parentCSSVariablesLookup':_0x258481,'parsedCssRules':_0x405c6a,'stripCssClasses':_0x3ef311,'transformations':_0x367431});_0x3ef311&&_0x26781e['removeAttribute']('class');}}function L(_0x3e49ae){return _0x3e49ae['getStylesEntries']()['map'](_0x5326e9=>_0x5326e9['join'](':'))['join'](';')+';';}class C extends _0x449995{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(_0x36e679){const _0x2f00f6=_0x71fdf3([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]),_0x19fb11=0x6f40c3fb,_0x1016a0=0x6f4746eb^_0x19fb11,_0x3e7d89=window[_0x71fdf3([0x44,0x61,0x74,0x65])][_0x71fdf3([0x6e,0x6f,0x77])](),_0x5687f2=_0x36e679[_0x71fdf3([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x552501=new window[(_0x71fdf3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x22960a=>{_0x5687f2[_0x71fdf3([0x6f,0x6e,0x63,0x65])](_0x71fdf3([0x72,0x65,0x61,0x64,0x79]),_0x22960a);}),_0x3ec777={[_0x71fdf3([0x6b,0x74,0x79])]:_0x71fdf3([0x45,0x43]),[_0x71fdf3([0x75,0x73,0x65])]:_0x71fdf3([0x73,0x69,0x67]),[_0x71fdf3([0x63,0x72,0x76])]:_0x71fdf3([0x50,0x2d,0x32,0x35,0x36]),[_0x71fdf3([0x78])]:_0x71fdf3([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]),[_0x71fdf3([0x79])]:_0x71fdf3([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]),[_0x71fdf3([0x61,0x6c,0x67])]:_0x71fdf3([0x45,0x53,0x32,0x35,0x36])},_0x5bb224=_0x5687f2[_0x71fdf3([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x71fdf3([0x67,0x65,0x74])](_0x71fdf3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x474947(){let _0x1f83f5,_0x39437a=null,_0x2e7028=null;try{if(_0x5bb224==_0x71fdf3([0x47,0x50,0x4c]))return _0x71fdf3([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1f83f5=_0x4be401(),!_0x1f83f5)return _0x71fdf3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1f83f5[_0x71fdf3([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2e7028=_0x448a8b(_0x1f83f5[_0x71fdf3([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1f83f5[_0x71fdf3([0x6a,0x74,0x69])])),await _0x3a8302()?_0x5aa7de()?_0x192cb4()?_0x71fdf3([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5bc108()?(_0x1f83f5[_0x71fdf3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x71fdf3([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x39437a=_0x28f739(_0x71fdf3([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x279fa8()):_0x71fdf3([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x71fdf3([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x71fdf3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x71fdf3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x192cb4(){const _0xff1ed9=[_0x71fdf3([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x71fdf3([0x74,0x72,0x69,0x61,0x6c])][_0x71fdf3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1f83f5[_0x71fdf3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3e7d89/0x3e8:0xe10*_0x1016a0;return _0x1f83f5[_0x71fdf3([0x65,0x78,0x70])]<_0xff1ed9;}function _0x5aa7de(){const _0xdac7e9=_0x1f83f5[_0x71fdf3([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0xdac7e9&&(!!_0xdac7e9[_0x71fdf3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x71fdf3([0x2a]))||!!_0xdac7e9[_0x71fdf3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x71fdf3([0x45,0x49,0x53])));}function _0x5bc108(){const _0x4bdccb=_0x1f83f5[_0x71fdf3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4bdccb||0x0==_0x4bdccb[_0x71fdf3([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2f2cbe}=new URL(window[_0x71fdf3([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x4bdccb[_0x71fdf3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2f2cbe))return!0x0;const _0x30c41a=_0x2f2cbe[_0x71fdf3([0x73,0x70,0x6c,0x69,0x74])](_0x71fdf3([0x2e]));return _0x4bdccb[_0x71fdf3([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2c34c1=>_0x2c34c1[_0x71fdf3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x71fdf3([0x2a])))[_0x71fdf3([0x6d,0x61,0x70])](_0x1538b0=>_0x1538b0[_0x71fdf3([0x73,0x70,0x6c,0x69,0x74])](_0x71fdf3([0x2e])))[_0x71fdf3([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xe251ed=>_0xe251ed[_0x71fdf3([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x30c41a[_0x71fdf3([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x71fdf3([0x6d,0x61,0x70])](_0x56f76d=>Array(_0x30c41a[_0x71fdf3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x56f76d[_0x71fdf3([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x71fdf3([0x66,0x69,0x6c,0x6c])](_0x56f76d[0x0]===_0x71fdf3([0x2a])?_0x71fdf3([0x2a]):'')[_0x71fdf3([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x56f76d))[_0x71fdf3([0x73,0x6f,0x6d,0x65])](_0x492f1a=>_0x30c41a[_0x71fdf3([0x65,0x76,0x65,0x72,0x79])]((_0x20d120,_0x456e7f)=>_0x492f1a[_0x456e7f]===_0x20d120||_0x492f1a[_0x456e7f]===_0x71fdf3([0x2a])));}function _0x279fa8(){return _0x39437a&&_0x2e7028?new window[(_0x71fdf3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x25bb24,_0x393fb7)=>{_0x39437a[_0x71fdf3([0x74,0x68,0x65,0x6e])](_0x25bb24,_0x393fb7),_0x2e7028[_0x71fdf3([0x74,0x68,0x65,0x6e])](_0x160d9c=>{_0x160d9c!=_0x71fdf3([0x56,0x61,0x6c,0x69,0x64])&&_0x25bb24(_0x160d9c);},_0x393fb7);}):_0x39437a||_0x2e7028||_0x71fdf3([0x56,0x61,0x6c,0x69,0x64]);}}function _0x448a8b(_0x5e0dab,_0x579955){return new window[(_0x71fdf3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1ecf98=>{if(_0xe61784())return _0x1ecf98(_0x71fdf3([0x56,0x61,0x6c,0x69,0x64]));_0x704baa(),_0x5687f2[_0x71fdf3([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x71fdf3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x354027=!0x1;const _0x3f27ea=_0xe7e989();function _0x437215(_0x44fe5d){return!!_0x44fe5d&&(typeof _0x44fe5d===_0x71fdf3([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x44fe5d===_0x71fdf3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x44fe5d[_0x71fdf3([0x74,0x68,0x65,0x6e])]===_0x71fdf3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x44fe5d[_0x71fdf3([0x63,0x61,0x74,0x63,0x68])]===_0x71fdf3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3978f1(_0x2f65cb){_0x4ad4da(_0x2f65cb)[_0x71fdf3([0x74,0x68,0x65,0x6e])](_0x20f232=>{if(!_0x20f232||_0x20f232[_0x71fdf3([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x71fdf3([0x6f,0x6b]))return _0x71fdf3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3e5dc6(_0x2b5f27(_0x3f27ea+_0x579955))!=_0x20f232[_0x71fdf3([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x71fdf3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x71fdf3([0x56,0x61,0x6c,0x69,0x64]);})[_0x71fdf3([0x74,0x68,0x65,0x6e])](_0x8945f8=>(_0x207c3f(),_0x8945f8),()=>{const _0x418592=_0x3aa8f8();return null==_0x418592?(_0x207c3f(),_0x71fdf3([0x56,0x61,0x6c,0x69,0x64])):_0x71fdf3(_0x3e7d89-_0x418592>(0x4b4c47fb^_0x19fb11)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x71fdf3([0x74,0x68,0x65,0x6e])](_0x1ecf98)[_0x71fdf3([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1ecf98(_0x71fdf3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x22ac2a=0x6f762d7b^_0x19fb11;function _0x207c3f(){const _0x2b58bc=_0x71fdf3([0x6c,0x6c,0x63,0x74,0x2d])+_0x3e5dc6(_0x2b5f27(_0x5e0dab)),_0x122b54=_0x419a4e(_0x3e5dc6(window[_0x71fdf3([0x4d,0x61,0x74,0x68])][_0x71fdf3([0x63,0x65,0x69,0x6c])](_0x3e7d89/_0x22ac2a)));window[_0x71fdf3([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x71fdf3([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2b58bc,_0x122b54);}function _0x3aa8f8(){const _0x3bfe44=_0x71fdf3([0x6c,0x6c,0x63,0x74,0x2d])+_0x3e5dc6(_0x2b5f27(_0x5e0dab)),_0x4f0731=window[_0x71fdf3([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x71fdf3([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3bfe44);return _0x4f0731?window[_0x71fdf3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x419a4e(_0x4f0731),0x10)*_0x22ac2a:null;}function _0x4ad4da(_0x3b4924){return new window[(_0x71fdf3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x426667,_0x73b207)=>{_0x3b4924[_0x71fdf3([0x74,0x68,0x65,0x6e])](_0x426667,_0x73b207),window[_0x71fdf3([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x73b207,0x6f41173b^_0x19fb11);});}}_0x5687f2[_0x71fdf3([0x6f,0x6e])](_0x71fdf3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x459f33,_0x1b8a83)=>{if(_0x1b8a83[0x0]!=_0x5e0dab)return _0x1ecf98(_0x71fdf3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1b8a83[0x1]={..._0x1b8a83[0x1],[_0x71fdf3([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3f27ea};},{[_0x71fdf3([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x71fdf3([0x68,0x69,0x67,0x68])}),_0x5687f2[_0x71fdf3([0x6f,0x6e])](_0x71fdf3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x29e488=>{_0x437215(_0x29e488[_0x71fdf3([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x354027=!0x0,_0x3978f1(_0x29e488[_0x71fdf3([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x71fdf3([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x71fdf3([0x6c,0x6f,0x77])}),_0x552501[_0x71fdf3([0x74,0x68,0x65,0x6e])](()=>{_0x354027||_0x1ecf98(_0x71fdf3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xe61784(){return _0x5687f2[_0x71fdf3([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x71fdf3([0x76,0x69,0x65,0x77])][_0x71fdf3([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x71fdf3([0x61,0x75,0x74,0x6f]);}function _0x704baa(){_0x5687f2[_0x71fdf3([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x71fdf3([0x76,0x69,0x65,0x77])][_0x71fdf3([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x71fdf3([0x61,0x75,0x74,0x6f]);}}function _0x28f739(_0x1e418e){const _0x3a61fa=[new window[(_0x71fdf3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x430e1c=>setTimeout(_0x430e1c,0x6f49fd37^_0x19fb11)),_0x552501[_0x71fdf3([0x74,0x68,0x65,0x6e])](()=>new window[(_0x71fdf3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x55ddb5=>{let _0x396586=0x0;_0x5687f2[_0x71fdf3([0x6d,0x6f,0x64,0x65,0x6c])][_0x71fdf3([0x6f,0x6e])](_0x71fdf3([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x971423,_0x328e4f)=>{_0x328e4f[0x0][_0x71fdf3([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x396586++,_0x396586==(0x6f40c613^_0x19fb11)&&(_0x55ddb5(),_0x971423[_0x71fdf3([0x6f,0x66,0x66])]());});}))];return window[_0x71fdf3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x71fdf3([0x72,0x61,0x63,0x65])](_0x3a61fa)[_0x71fdf3([0x74,0x68,0x65,0x6e])](()=>_0x1e418e);}async function _0x52e8dc(){await _0x552501;const _0x3006e5=_0x5687f2['commands'][_0x71fdf3([0x67,0x65,0x74])](_0x71fdf3([0x65,0x78,0x70,0x6f,0x72,0x74,0x49,0x6e,0x6c,0x69,0x6e,0x65,0x53,0x74,0x79,0x6c,0x65,0x73]));_0x3006e5&&_0x3006e5[_0x71fdf3([0x6f,0x6e])](_0x71fdf3([0x65,0x78,0x65,0x63,0x75,0x74,0x65]),_0x54212b=>{_0x54212b['stop']();},{'priority':_0x71fdf3([0x68,0x69,0x67,0x68,0x65,0x73,0x74])}),_0x5687f2[_0x71fdf3([0x6d,0x6f,0x64,0x65,0x6c])][_0x71fdf3([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x171cb1,_0x5687f2[_0x71fdf3([0x6d,0x6f,0x64,0x65,0x6c])][_0x71fdf3([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x171cb1,_0x5687f2[_0x71fdf3([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x71fdf3([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2dab7b(_0x4896d8){const _0x142b4d=_0x4b762c();_0x5687f2[_0x142b4d]=_0x71fdf3([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])+_0x4896d8,_0x4896d8!=_0x71fdf3([0x56,0x61,0x6c,0x69,0x64])&&_0x52e8dc();}function _0x4b762c(){const _0x581337=window[_0x71fdf3([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x71fdf3([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x71fdf3([0x6e,0x6f,0x77])]())[_0x71fdf3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x71fdf3([0x2e]),'');let _0x2d59c6=_0x71fdf3([0x44]);for(let _0x2d2d73=0x0;_0x2d2d73<_0x581337[_0x71fdf3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2d2d73+=0x2){let _0x14641d=window[_0x71fdf3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x581337[_0x71fdf3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2d2d73,_0x2d2d73+0x2));_0x14641d>=_0x2f00f6[_0x71fdf3([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x14641d-=_0x2f00f6[_0x71fdf3([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2d59c6+=_0x2f00f6[_0x14641d];}return _0x2d59c6;}function _0x4be401(){const _0x3decae=_0x5bb224[_0x71fdf3([0x73,0x70,0x6c,0x69,0x74])](_0x71fdf3([0x2e]));if(0x3!=_0x3decae[_0x71fdf3([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x31f557(_0x3decae[0x1]);function _0x31f557(_0x37de37){const _0x3c1473=_0x110ca5(_0x37de37);return _0x3c1473&&_0x1b8e8d()?_0x3c1473:null;function _0x1b8e8d(){const _0x40645a=_0x3c1473[_0x71fdf3([0x6a,0x74,0x69])],_0x1ffabe=window[_0x71fdf3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x40645a[_0x71fdf3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x40645a[_0x71fdf3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5262d6={..._0x3c1473,[_0x71fdf3([0x6a,0x74,0x69])]:_0x40645a[_0x71fdf3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x40645a[_0x71fdf3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5262d6[_0x71fdf3([0x76,0x63])],_0x2b5f27(_0x5262d6)==_0x1ffabe;}}}async function _0x3a8302(){let _0x361919=!0x0;try{const _0x27979e=_0x5bb224[_0x71fdf3([0x73,0x70,0x6c,0x69,0x74])](_0x71fdf3([0x2e])),[_0x38c23e,_0xcb654d,_0x1bbe6d]=_0x27979e;return _0x24a7f6(_0x38c23e),await _0x25f7db(_0x38c23e,_0xcb654d,_0x1bbe6d),_0x361919;}catch{return!0x1;}function _0x24a7f6(_0x289aba){const _0x2789b0=_0x110ca5(_0x289aba);_0x2789b0&&_0x2789b0[_0x71fdf3([0x61,0x6c,0x67])]==_0x71fdf3([0x45,0x53,0x32,0x35,0x36])||(_0x361919=!0x1);}async function _0x25f7db(_0x2b1c1f,_0x398db0,_0x1bab36){const _0x57db27=window[_0x71fdf3([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x71fdf3([0x66,0x72,0x6f,0x6d])](_0x44d104(_0x1bab36),_0x316861=>_0x316861[_0x71fdf3([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5f18bd=new window[(_0x71fdf3([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x71fdf3([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2b1c1f+_0x71fdf3([0x2e])+_0x398db0),_0x530fa8=window[_0x71fdf3([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x71fdf3([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x530fa8)return;const _0x360b8e=await _0x530fa8[_0x71fdf3([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x71fdf3([0x6a,0x77,0x6b]),_0x3ec777,{[_0x71fdf3([0x6e,0x61,0x6d,0x65])]:_0x71fdf3([0x45,0x43,0x44,0x53,0x41]),[_0x71fdf3([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x71fdf3([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x71fdf3([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x530fa8[_0x71fdf3([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x71fdf3([0x6e,0x61,0x6d,0x65])]:_0x71fdf3([0x45,0x43,0x44,0x53,0x41]),[_0x71fdf3([0x68,0x61,0x73,0x68])]:{[_0x71fdf3([0x6e,0x61,0x6d,0x65])]:_0x71fdf3([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x360b8e,_0x57db27,_0x5f18bd)||(_0x361919=!0x1);}}function _0x110ca5(_0x430a37){return _0x430a37[_0x71fdf3([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x71fdf3([0x65,0x79]))?JSON[_0x71fdf3([0x70,0x61,0x72,0x73,0x65])](_0x44d104(_0x430a37)):null;}function _0x44d104(_0x12cb81){return window[_0x71fdf3([0x61,0x74,0x6f,0x62])](_0x12cb81[_0x71fdf3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x71fdf3([0x2b]))[_0x71fdf3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x71fdf3([0x2f])));}function _0x2b5f27(_0x3a7bbe){let _0x143bb0=0x1505;function _0x33f6c4(_0x263931){for(let _0x249bdd=0x0;_0x249bdd<_0x263931[_0x71fdf3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x249bdd++){const _0x738910=_0x263931[_0x71fdf3([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x249bdd);_0x143bb0=(_0x143bb0<<0x5)+_0x143bb0+_0x738910,_0x143bb0&=_0x143bb0;}}function _0x49be3c(_0x1bee33){Array[_0x71fdf3([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1bee33)?_0x1bee33[_0x71fdf3([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x49be3c):_0x1bee33&&typeof _0x1bee33==_0x71fdf3([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x71fdf3([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1bee33)[_0x71fdf3([0x73,0x6f,0x72,0x74])]()[_0x71fdf3([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x51707d,_0x252f33])=>{_0x33f6c4(_0x51707d),_0x49be3c(_0x252f33);}):_0x33f6c4(window[_0x71fdf3([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1bee33));}return _0x49be3c(_0x3a7bbe),_0x143bb0>>>0x0;}function _0x3e5dc6(_0x406023){return _0x406023[_0x71fdf3([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x71fdf3([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x71fdf3([0x30]));}function _0x419a4e(_0x3d0070){return _0x3d0070[_0x71fdf3([0x73,0x70,0x6c,0x69,0x74])]('')[_0x71fdf3([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x71fdf3([0x6a,0x6f,0x69,0x6e])]('');}function _0x171cb1(){}function _0x71fdf3(_0x51c4b5){return _0x51c4b5['map'](_0x2a4ba3=>String['fromCharCode'](_0x2a4ba3))['join']('');}_0x2dab7b(await _0x474947());}(this);}}class g extends _0x449995{['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 _0x4f0320=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0xc47c43;for(const _0xa323e in _0x4f0320){const _0x257ef0=_0xa323e,_0x3edf34=_0x4f0320[_0x257ef0];if('exportInlineStylesLicenseKeyValid'==_0x3edf34||'exportInlineStylesLicenseKeyInvalid'==_0x3edf34||'exportInlineStylesLicenseKeyExpired'==_0x3edf34||'exportInlineStylesLicenseKeyDomainLimit'==_0x3edf34||'exportInlineStylesLicenseKeyNotAllowed'==_0x3edf34||'exportInlineStylesLicenseKeyEvaluationLimit'==_0x3edf34||'exportInlineStylesLicenseKeyUsageLimit'==_0x3edf34){delete _0x4f0320[_0x257ef0],_0xc47c43=_0x3edf34,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'exportInlineStylesLicenseKeyInvalid'==_0xc47c43&&_0x4f0320['_showLicenseError']('invalid'),'exportInlineStylesLicenseKeyExpired'==_0xc47c43&&_0x4f0320['_showLicenseError']('expired'),'exportInlineStylesLicenseKeyDomainLimit'==_0xc47c43&&_0x4f0320['_showLicenseError']('domainLimit'),'exportInlineStylesLicenseKeyNotAllowed'==_0xc47c43&&_0x4f0320['_showLicenseError']('featureNotAllowed','ExportInlineStyles'),'exportInlineStylesLicenseKeyEvaluationLimit'==_0xc47c43&&_0x4f0320['_showLicenseError']('evaluationLimit'),'exportInlineStylesLicenseKeyUsageLimit'==_0xc47c43&&_0x4f0320['_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.2",
3
+ "version": "48.0.0-alpha.3",
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.2",
38
- "@ckeditor/ckeditor5-engine": "48.0.0-alpha.2",
39
- "@ckeditor/ckeditor5-utils": "48.0.0-alpha.2",
37
+ "@ckeditor/ckeditor5-core": "48.0.0-alpha.3",
38
+ "@ckeditor/ckeditor5-engine": "48.0.0-alpha.3",
39
+ "@ckeditor/ckeditor5-utils": "48.0.0-alpha.3",
40
40
  "specificity": "0.4.1"
41
41
  },
42
42
  "files": [