@ckeditor/ckeditor5-export-inline-styles 48.0.0-alpha.9 → 48.0.0
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 _0x10633a,Plugin as _0x40ebb5}from'@ckeditor/ckeditor5-core/dist/index.js';import{collectStylesheets as _0x3b6f16,createElement as _0x3c87a4,uid as _0x3130c6}from'@ckeditor/ckeditor5-utils/dist/index.js';import{calculate as _0x5d5c4f,compare as _0x2583e8}from'specificity';import{StylesMap as _0x3c384a,addMarginStylesRules as _0x7d0af3,addPaddingStylesRules as _0x276f9a}from'@ckeditor/ckeditor5-engine/dist/index.js';function f(_0x7dca8c){const _0xcedb65=[];let _0x2bd177='',_0x34f720=0x0;for(;_0x34f720<_0x7dca8c['length'];){const _0x5dd679=_0x7dca8c[_0x34f720];if('('===_0x5dd679){const _0x148b9d=y(_0x7dca8c,_0x34f720+0x1);if(-0x1===_0x148b9d)return[];_0x2bd177+=_0x7dca8c['slice'](_0x34f720,_0x148b9d+0x1),_0x34f720=_0x148b9d+0x1;}else','!==_0x5dd679||_0x2bd177['endsWith']('\x5c')?(_0x2bd177+=_0x5dd679,_0x34f720++):(_0xcedb65['push'](_0x2bd177['trim']()),_0x2bd177='',_0x34f720++);}return _0x2bd177['trim']()&&_0xcedb65['push'](_0x2bd177['trim']()),_0xcedb65['filter'](Boolean);}function y(_0x6db0b4,_0x28f796){let _0x200dd6=0x1;for(let _0x251b95=_0x28f796;_0x251b95<_0x6db0b4['length'];_0x251b95++){const _0x106146=_0x6db0b4[_0x251b95];if('('===_0x106146)_0x200dd6++;else{if(')'===_0x106146&&(_0x200dd6--,0x0===_0x200dd6))return _0x251b95;}}return-0x1;}function w(_0x4c00cb){return _0x4c00cb['replace'](/!\s*important/i,'')['trim']();}function p(_0x516804,_0x315699){const _0x217bc2=new Map(),_0x2d0705=_0x1e9141=>_0x217bc2['has'](_0x1e9141)?_0x217bc2['get'](_0x1e9141):_0x516804(_0x1e9141);for(const [_0x18d49e,_0x172fe1]of _0x315699['getStylesEntries']())if(_0x172fe1&&_0x18d49e['startsWith']('--')){const _0x2a1f4a=d(_0x2d0705,_0x172fe1);_0x217bc2['set'](_0x18d49e,_0x2a1f4a),_0x315699['remove'](_0x18d49e);}for(const [_0x22129a,_0x4f93d3]of _0x315699['getStylesEntries']())if(_0x4f93d3){const _0x553e63=d(_0x2d0705,_0x4f93d3);_0x315699['set'](_0x22129a,_0x553e63);}return _0x217bc2;}function d(_0x51140c,_0x2fd8b7){return function(_0x1ede59,_0x34e673){let _0x564161='',_0x399aef=0x0;for(;_0x399aef<_0x1ede59['length'];){const _0x49bb5e=_0x1ede59['indexOf']('var(',_0x399aef);if(-0x1===_0x49bb5e){_0x564161+=_0x1ede59['slice'](_0x399aef);break;}_0x564161+=_0x1ede59['slice'](_0x399aef,_0x49bb5e);const _0x2b6e0e=_0x49bb5e+0x4,_0x4243ce=y(_0x1ede59,_0x2b6e0e);_0x564161+=_0x34e673(_0x1ede59['substring'](_0x2b6e0e,_0x4243ce)),_0x399aef=_0x4243ce+0x1;}return _0x564161;}(_0x2fd8b7,_0x125838=>{const [_0x5c04e3,_0x514f69]=f(_0x125838),_0x460575=_0x51140c(_0x5c04e3);return void 0x0!==_0x460575?_0x460575:_0x514f69?d(_0x51140c,_0x514f69):'var('+_0x5c04e3+')';});}async function h(_0x57c608){const _0x175547=[await _0x3b6f16(_0x57c608['stylesheets']),_0x57c608['inlineCss']]['filter'](_0x52b810=>_0x52b810&&_0x52b810['length'])['join']('\x0a'),_0x136c90=await async function(_0x44e7d5,_0x215091){const _0x22bbf9=new CSSStyleSheet();return await _0x22bbf9['replace'](_0x215091),S(Array['from'](_0x22bbf9['cssRules'])['filter'](_0x3bfa87=>_0x3bfa87 instanceof CSSStyleRule))['flatMap'](({selectorText:_0x4a42ff,contentCssText:_0xb660b})=>{const _0x3bfcb9=f(_0x4a42ff),_0xf8a8a3=new _0x3c384a(_0x44e7d5)['setTo'](_0xb660b);return _0x3bfcb9['map'](_0x537907=>{const _0x4529b6=function(_0x3e831f){const _0x20d692=':where(';let _0x78c766=_0x3e831f,_0x589769=0x0;for(let _0x16650e=0x0;_0x16650e<0x64;_0x16650e++){const _0x2e12ed=_0x78c766['indexOf'](_0x20d692,_0x589769);if(-0x1===_0x2e12ed)break;let _0x51d082=0x0;for(let _0x5b7be9=0x0;_0x5b7be9<_0x2e12ed;_0x5b7be9++)'('===_0x78c766[_0x5b7be9]?_0x51d082++:')'===_0x78c766[_0x5b7be9]&&_0x51d082--;if(_0x51d082>0x0){_0x589769=_0x2e12ed+_0x20d692['length'];continue;}let _0x4e0aab=-0x1;for(let _0x1136cf=_0x2e12ed+_0x20d692['length'],_0x45fd1a=0x1;_0x1136cf<_0x78c766['length'];_0x1136cf++)if('('===_0x78c766[_0x1136cf]?_0x45fd1a++:')'===_0x78c766[_0x1136cf]&&_0x45fd1a--,!_0x45fd1a){_0x4e0aab=_0x1136cf;break;}-0x1!==_0x4e0aab?(_0x78c766=_0x78c766['slice'](0x0,_0x2e12ed)+_0x78c766['slice'](_0x4e0aab+0x1),_0x589769=_0x2e12ed):_0x589769=_0x2e12ed+_0x20d692['length'];}return _0x78c766['replace'](/\s+/g,'\x20')['trim']();}(_0x537907),_0x527e76=_0x4529b6?_0x5d5c4f(_0x4529b6)[0x0]['specificityArray']:[0x0,0x0,0x0,0x0];return{'stylesMap':_0xf8a8a3,'flatSelector':_0x537907,'specificity':_0x527e76};});})['sort']((_0x417ba8,_0xf67b65)=>_0x2583e8(_0x417ba8['specificity'],_0xf67b65['specificity']));}(_0x57c608['stylesProcessor'],_0x175547);return{'parsedCssRules':_0x136c90,'rootCssVariables':function(_0xbceddd){const _0x40d9ba=new Map();for(const {stylesMap:_0x3e5637,flatSelector:_0x209d66}of _0xbceddd){if(':root'!==_0x209d66)continue;const _0x134ccf=p(_0x40d9ba['get']['bind'](_0x40d9ba),_0x3e5637);for(const [_0x3bdb23,_0x5343c6]of _0x134ccf)_0x40d9ba['set'](_0x3bdb23,_0x5343c6);}return _0x40d9ba;}(_0x136c90)};}function S(_0x2a2b7a,_0xb5cf32=''){return _0x2a2b7a['flatMap'](_0x71dfa4=>{const {selectorText:_0x387e06,cssText:_0x25e432,cssRules:_0x1ca88b}=_0x71dfa4;if(!_0x387e06)return[];const _0x33cb57=_0x387e06['replace'](/&/g,_0xb5cf32);let _0x4c3a50=_0x25e432['replace'](_0x387e06,'')['trim']()['replace'](/^{|}$/g,'');if(!_0x1ca88b||!_0x1ca88b['length'])return[{'selectorText':_0x33cb57,'contentCssText':_0x4c3a50}];for(const _0x2e8f37 of _0x1ca88b)_0x4c3a50=_0x4c3a50['replace'](_0x2e8f37['cssText'],'')['trim']();return[{'selectorText':_0x33cb57,'contentCssText':_0x4c3a50},...S(Array['from'](_0x1ca88b),_0x33cb57)];});}function m(_0x3ef139,_0x3b3537){const _0xc3a042=new _0x3c384a(_0x3ef139);for(const _0x240ddb of _0x3b3537){let _0x1ff410=null;if(_0x1ff410='string'==typeof _0x240ddb?new _0x3c384a(_0x3ef139)['setTo'](_0x240ddb):_0x240ddb,_0x1ff410){for(const [_0x5931d9,_0x172822]of _0x1ff410['getStylesEntries']())_0xc3a042['set'](_0x5931d9,_0x172822);}}return _0xc3a042;}class x extends _0x10633a{['_stylesProcessor'];constructor(_0x1ce7ac){super(_0x1ce7ac),this['set']('isBusy',!0x1),this['_stylesProcessor']=this['editor']['data']['stylesProcessor'],_0x7d0af3(this['_stylesProcessor']),_0x276f9a(this['_stylesProcessor']),this['affectsData']=!0x1;}['refresh'](){this['isEnabled']=!this['isBusy'],this['value']=this['isBusy']?'pending':void 0x0;}async['execute'](_0x13a9b8){const _0x239e27=this['editor']['config']['get']('exportInlineStyles'),{contentLanguageDirection:_0x142390}=this['editor']['locale'],{rootName:_0x10010f='main',dataControllerDowncastOptions:_0x5baeb1={},transformations:_0x40b408=_0x239e27['transformations']||[]}=_0x13a9b8||{};this['isBusy']=!0x0,this['refresh']();const _0x559507=this['_getRootDataHTMLFragment'](_0x10010f,_0x5baeb1),_0x2df4fc=_0x3c87a4(_0x559507['ownerDocument'],'div',{'dir':_0x142390,'class':'ck-content'},[_0x559507]);return this['_collectAndApplyStyles'](_0x40b408,_0x2df4fc)['then'](()=>{const _0x3a265f=function(_0x1e132a){const _0x2a1f3a=_0x1e132a['ownerDocument']['createDocumentFragment']();for(;_0x1e132a['firstChild'];)_0x2a1f3a['appendChild'](_0x1e132a['firstChild']);return _0x2a1f3a;}(_0x2df4fc),_0x508bc9=_0x2df4fc['getAttribute']('style');if(_0x508bc9)for(const _0x15ae60 of _0x3a265f['children']){const _0x4b2b7d=_0x15ae60['getAttribute']('style'),_0xce4f29=m(this['_stylesProcessor'],[_0x508bc9,_0x4b2b7d]);_0x15ae60['setAttribute']('style',L(_0xce4f29));}return this['editor']['data']['htmlProcessor']['htmlWriter']['getHtml'](_0x3a265f);})['finally'](()=>{this['isBusy']=!0x1,this['refresh']();});}['_getRootDataHTMLFragment'](_0x32a6ce,_0x1a1839){const {data:_0x10cf23,model:_0x67e03d}=this['editor'],_0x809359=_0x67e03d['document']['getRoot'](_0x32a6ce),_0x26e0bf=_0x10cf23['toView'](_0x809359,_0x1a1839);return _0x10cf23['htmlProcessor']['domConverter']['viewToDom'](_0x26e0bf);}async['_collectAndApplyStyles'](_0xaa318f,_0x16d7b1){const {stylesheets:_0x49aa91,inlineCss:_0x1139a8,stripCssClasses:_0x4e31d0}=this['editor']['config']['get']('exportInlineStyles'),{parsedCssRules:_0x603482,rootCssVariables:_0x48f047}=await h({'stylesheets':_0x49aa91||['EDITOR_STYLES'],'stylesProcessor':this['_stylesProcessor'],'inlineCss':_0x1139a8});this['_processElementTree']({'transformations':_0xaa318f,'parsedCssRules':_0x603482,'element':_0x16d7b1,'stripCssClasses':_0x4e31d0,'parentCSSVariablesLookup':_0x48f047['get']['bind'](_0x48f047)});}['_processElementTree']({element:_0x4a875c,parsedCssRules:_0x204394,parentCSSVariablesLookup:_0x1b1dd6,stripCssClasses:_0x4d710a,transformations:_0x3c465c}){const {stylesMap:_0xf11f8c,localCSSVariables:_0x2ee755}=function(_0x571490){const _0x20cf9e=_0x571490['element']['getAttribute']('style')||'',_0x4f294a=_0x571490['parsedCssRules']['filter'](_0x1d0297=>_0x571490['element']['matches'](_0x1d0297['flatSelector']))['map'](_0x291008=>_0x291008['stylesMap']),_0x427a0d=m(_0x571490['stylesProcessor'],[..._0x4f294a,_0x20cf9e]);return{'localCSSVariables':p(_0x571490['fallbackCSSVariablesLookup'],_0x427a0d),'stylesMap':_0x427a0d};}({'stylesProcessor':this['_stylesProcessor'],'fallbackCSSVariablesLookup':_0x1b1dd6,'parsedCssRules':_0x204394,'element':_0x4a875c});for(const _0x519cc2 of _0x3c465c){const _0x2f83a1=_0x519cc2(_0x4a875c,_0xf11f8c);_0x2f83a1&&_0x2f83a1 instanceof HTMLElement&&(_0x4a875c=_0x2f83a1);}_0xf11f8c['size']?_0x4a875c['setAttribute']('style',L(_0xf11f8c)):_0x4a875c['removeAttribute']('style');const _0x2446cd=_0x2213d2=>_0x2ee755['has'](_0x2213d2)?_0x2ee755['get'](_0x2213d2):_0x1b1dd6(_0x2213d2);for(const _0x5730d3 of _0x4a875c['children'])_0x5730d3 instanceof HTMLElement&&this['_processElementTree']({'element':_0x5730d3,'parentCSSVariablesLookup':_0x2446cd,'parsedCssRules':_0x204394,'stripCssClasses':_0x4d710a,'transformations':_0x3c465c});_0x4d710a&&_0x4a875c['removeAttribute']('class');}}function L(_0x31b50d){return _0x31b50d['getStylesEntries']()['map'](_0xae00c5=>_0xae00c5['join'](':'))['join'](';')+';';}class C extends _0x40ebb5{static get['pluginName'](){return'ExportInlineStylesEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['editor']['config']['define']('exportInlineStyles',{}),this['editor']['commands']['add']('exportInlineStyles',new x(this['editor']));}['afterInit'](){!async function(_0x58c79e){const _0x3798c5=_0x3db351([0x44,0x55,0x41,0x36,0x31,0x30,0x65,0x6d,0x4c,0x34,0x51,0x32,0x6b,0x6a,0x56,0x49,0x76,0x47,0x4d,0x48,0x67,0x57,0x54,0x33,0x75,0x79,0x53,0x6e,0x7a,0x50,0x45,0x77,0x37,0x39,0x6f,0x5a,0x4a,0x69,0x43,0x72,0x62,0x73,0x74,0x63,0x58,0x4b,0x71,0x38,0x35,0x4e,0x68,0x64,0x66,0x61,0x46,0x52,0x78,0x42,0x6c,0x70,0x4f,0x59]),_0x4504b9=0x6f40c3fb,_0x30daba=0x6f47465b^_0x4504b9,_0x478f66=window[_0x3db351([0x44,0x61,0x74,0x65])][_0x3db351([0x6e,0x6f,0x77])](),_0x1be54d=_0x58c79e[_0x3db351([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x56afd=new window[(_0x3db351([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x48a5a3=>{_0x1be54d[_0x3db351([0x6f,0x6e,0x63,0x65])](_0x3db351([0x72,0x65,0x61,0x64,0x79]),_0x48a5a3);}),_0x167b4b={[_0x3db351([0x6b,0x74,0x79])]:_0x3db351([0x45,0x43]),[_0x3db351([0x75,0x73,0x65])]:_0x3db351([0x73,0x69,0x67]),[_0x3db351([0x63,0x72,0x76])]:_0x3db351([0x50,0x2d,0x32,0x35,0x36]),[_0x3db351([0x78])]:_0x3db351([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x3db351([0x79])]:_0x3db351([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x3db351([0x61,0x6c,0x67])]:_0x3db351([0x45,0x53,0x32,0x35,0x36])},_0x5013cb=_0x1be54d[_0x3db351([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3db351([0x67,0x65,0x74])](_0x3db351([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1d8f3a(){let _0x4645cf,_0x572213=null,_0x3989d6=null;try{if(_0x5013cb==_0x3db351([0x47,0x50,0x4c]))return _0x3db351([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4645cf=_0x25c20a(),!_0x4645cf)return _0x3db351([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4645cf[_0x3db351([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3989d6=_0x4b456e(_0x4645cf[_0x3db351([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4645cf[_0x3db351([0x6a,0x74,0x69])])),await _0x30f695()?_0x3d2b22()?_0x40a1cb()?_0x3db351([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1fa0d2()?(_0x4645cf[_0x3db351([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3db351([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x572213=_0x269b13(_0x3db351([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5cdb2f()):_0x3db351([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3db351([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3db351([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3db351([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x40a1cb(){const _0x502b73=[_0x3db351([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3db351([0x74,0x72,0x69,0x61,0x6c])][_0x3db351([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4645cf[_0x3db351([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x478f66/0x3e8:0xe10*_0x30daba;return _0x4645cf[_0x3db351([0x65,0x78,0x70])]<_0x502b73;}function _0x3d2b22(){const _0xe31f2=_0x4645cf[_0x3db351([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0xe31f2&&(!!_0xe31f2[_0x3db351([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3db351([0x2a]))||!!_0xe31f2[_0x3db351([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3db351([0x45,0x49,0x53])));}function _0x1fa0d2(){const _0x2118cf=_0x4645cf[_0x3db351([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2118cf||0x0==_0x2118cf[_0x3db351([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x40e54a}=new URL(window[_0x3db351([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x2118cf[_0x3db351([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x40e54a))return!0x0;const _0x5b077a=_0x40e54a[_0x3db351([0x73,0x70,0x6c,0x69,0x74])](_0x3db351([0x2e]));return _0x2118cf[_0x3db351([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xe56f78=>_0xe56f78[_0x3db351([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3db351([0x2a])))[_0x3db351([0x6d,0x61,0x70])](_0xe83a74=>_0xe83a74[_0x3db351([0x73,0x70,0x6c,0x69,0x74])](_0x3db351([0x2e])))[_0x3db351([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x33c4c6=>_0x33c4c6[_0x3db351([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5b077a[_0x3db351([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3db351([0x6d,0x61,0x70])](_0x4a0cc7=>Array(_0x5b077a[_0x3db351([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4a0cc7[_0x3db351([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3db351([0x66,0x69,0x6c,0x6c])](_0x4a0cc7[0x0]===_0x3db351([0x2a])?_0x3db351([0x2a]):'')[_0x3db351([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4a0cc7))[_0x3db351([0x73,0x6f,0x6d,0x65])](_0x353e0f=>_0x5b077a[_0x3db351([0x65,0x76,0x65,0x72,0x79])]((_0x41a851,_0x247d95)=>_0x353e0f[_0x247d95]===_0x41a851||_0x353e0f[_0x247d95]===_0x3db351([0x2a])));}function _0x5cdb2f(){return _0x572213&&_0x3989d6?new window[(_0x3db351([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x37944a,_0xb2ed9c)=>{_0x572213[_0x3db351([0x74,0x68,0x65,0x6e])](_0x37944a,_0xb2ed9c),_0x3989d6[_0x3db351([0x74,0x68,0x65,0x6e])](_0x222c65=>{_0x222c65!=_0x3db351([0x56,0x61,0x6c,0x69,0x64])&&_0x37944a(_0x222c65);},_0xb2ed9c);}):_0x572213||_0x3989d6||_0x3db351([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4b456e(_0x59143e,_0x60d4ba){return new window[(_0x3db351([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x58e2ad=>{if(_0x4a0474())return _0x58e2ad(_0x3db351([0x56,0x61,0x6c,0x69,0x64]));_0x11e490(),_0x1be54d[_0x3db351([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3db351([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1f0ada=!0x1;const _0x2ac7ba=_0x3130c6();function _0x544d9a(_0x3c2260){return!!_0x3c2260&&(typeof _0x3c2260===_0x3db351([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3c2260===_0x3db351([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3c2260[_0x3db351([0x74,0x68,0x65,0x6e])]===_0x3db351([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3c2260[_0x3db351([0x63,0x61,0x74,0x63,0x68])]===_0x3db351([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2bfac5(_0x3d59a8){_0x521c37(_0x3d59a8)[_0x3db351([0x74,0x68,0x65,0x6e])](_0x319269=>{if(!_0x319269||_0x319269[_0x3db351([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3db351([0x6f,0x6b]))return _0x3db351([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2cce3a(_0x3702cd(_0x2ac7ba+_0x60d4ba))!=_0x319269[_0x3db351([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3db351([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3db351([0x56,0x61,0x6c,0x69,0x64]);})[_0x3db351([0x74,0x68,0x65,0x6e])](_0x1f17f4=>(_0x5c9718(),_0x1f17f4),()=>{const _0x2c9963=_0x3340e5();return null==_0x2c9963?(_0x5c9718(),_0x3db351([0x56,0x61,0x6c,0x69,0x64])):_0x3db351(_0x478f66-_0x2c9963>(0x4b4c47fb^_0x4504b9)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3db351([0x74,0x68,0x65,0x6e])](_0x58e2ad)[_0x3db351([0x63,0x61,0x74,0x63,0x68])](()=>{_0x58e2ad(_0x3db351([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x58a796=0x6f762d7b^_0x4504b9;function _0x5c9718(){const _0x38bbd3=_0x3db351([0x6c,0x6c,0x63,0x74,0x2d])+_0x2cce3a(_0x3702cd(_0x59143e)),_0x7246e=_0x3ff76f(_0x2cce3a(window[_0x3db351([0x4d,0x61,0x74,0x68])][_0x3db351([0x63,0x65,0x69,0x6c])](_0x478f66/_0x58a796)));window[_0x3db351([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3db351([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x38bbd3,_0x7246e);}function _0x3340e5(){const _0x4e09ba=_0x3db351([0x6c,0x6c,0x63,0x74,0x2d])+_0x2cce3a(_0x3702cd(_0x59143e)),_0x4f3fb5=window[_0x3db351([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3db351([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4e09ba);return _0x4f3fb5?window[_0x3db351([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3ff76f(_0x4f3fb5),0x10)*_0x58a796:null;}function _0x521c37(_0x1cbbec){return new window[(_0x3db351([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3c2eda,_0x470e6f)=>{_0x1cbbec[_0x3db351([0x74,0x68,0x65,0x6e])](_0x3c2eda,_0x470e6f),window[_0x3db351([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x470e6f,0x6f41173b^_0x4504b9);});}}_0x1be54d[_0x3db351([0x6f,0x6e])](_0x3db351([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4673f0,_0x1bc0ee)=>{if(_0x1bc0ee[0x0]!=_0x59143e)return _0x58e2ad(_0x3db351([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1bc0ee[0x1]={..._0x1bc0ee[0x1],[_0x3db351([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2ac7ba};},{[_0x3db351([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3db351([0x68,0x69,0x67,0x68])}),_0x1be54d[_0x3db351([0x6f,0x6e])](_0x3db351([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1b12e6=>{_0x544d9a(_0x1b12e6[_0x3db351([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1f0ada=!0x0,_0x2bfac5(_0x1b12e6[_0x3db351([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3db351([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3db351([0x6c,0x6f,0x77])}),_0x56afd[_0x3db351([0x74,0x68,0x65,0x6e])](()=>{_0x1f0ada||_0x58e2ad(_0x3db351([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4a0474(){return _0x1be54d[_0x3db351([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3db351([0x76,0x69,0x65,0x77])][_0x3db351([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3db351([0x61,0x75,0x74,0x6f]);}function _0x11e490(){_0x1be54d[_0x3db351([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3db351([0x76,0x69,0x65,0x77])][_0x3db351([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3db351([0x61,0x75,0x74,0x6f]);}}function _0x269b13(_0x4ada55){const _0x4d3eb3=[new window[(_0x3db351([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3010dd=>setTimeout(_0x3010dd,0x6f49fd37^_0x4504b9)),_0x56afd[_0x3db351([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3db351([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2c719f=>{let _0x240f97=0x0;_0x1be54d[_0x3db351([0x6d,0x6f,0x64,0x65,0x6c])][_0x3db351([0x6f,0x6e])](_0x3db351([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x40d984,_0x6118b7)=>{_0x6118b7[0x0][_0x3db351([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x240f97++,_0x240f97==(0x6f40c613^_0x4504b9)&&(_0x2c719f(),_0x40d984[_0x3db351([0x6f,0x66,0x66])]());});}))];return window[_0x3db351([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3db351([0x72,0x61,0x63,0x65])](_0x4d3eb3)[_0x3db351([0x74,0x68,0x65,0x6e])](()=>_0x4ada55);}async function _0x2584bc(){await _0x56afd;const _0x1cacf8=_0x1be54d['commands'][_0x3db351([0x67,0x65,0x74])](_0x3db351([0x65,0x78,0x70,0x6f,0x72,0x74,0x49,0x6e,0x6c,0x69,0x6e,0x65,0x53,0x74,0x79,0x6c,0x65,0x73]));_0x1cacf8&&_0x1cacf8[_0x3db351([0x6f,0x6e])](_0x3db351([0x65,0x78,0x65,0x63,0x75,0x74,0x65]),_0xe77547=>{_0xe77547['stop']();},{'priority':_0x3db351([0x68,0x69,0x67,0x68,0x65,0x73,0x74])}),_0x1be54d[_0x3db351([0x6d,0x6f,0x64,0x65,0x6c])][_0x3db351([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x303669,_0x1be54d[_0x3db351([0x6d,0x6f,0x64,0x65,0x6c])][_0x3db351([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x303669,_0x1be54d[_0x3db351([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3db351([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5c3e3b(_0x2701b2){const _0x17cec6=_0x31a098();_0x1be54d[_0x17cec6]=_0x3db351([0x65,0x78,0x70,0x6f,0x72,0x74,0x49,0x6e,0x6c,0x69,0x6e,0x65,0x53,0x74,0x79,0x6c,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2701b2,_0x2701b2!=_0x3db351([0x56,0x61,0x6c,0x69,0x64])&&_0x2584bc();}function _0x31a098(){const _0x7e8c1e=window[_0x3db351([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3db351([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3db351([0x6e,0x6f,0x77])]())[_0x3db351([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3db351([0x2e]),'');let _0x10c71d=_0x3db351([0x44]);for(let _0x7034ef=0x0;_0x7034ef<_0x7e8c1e[_0x3db351([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x7034ef+=0x2){let _0x4632b4=window[_0x3db351([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x7e8c1e[_0x3db351([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x7034ef,_0x7034ef+0x2));_0x4632b4>=_0x3798c5[_0x3db351([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4632b4-=_0x3798c5[_0x3db351([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x10c71d+=_0x3798c5[_0x4632b4];}return _0x10c71d;}function _0x25c20a(){const _0x3c1af1=_0x5013cb[_0x3db351([0x73,0x70,0x6c,0x69,0x74])](_0x3db351([0x2e]));if(0x3!=_0x3c1af1[_0x3db351([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x430494(_0x3c1af1[0x1]);function _0x430494(_0x335a6e){const _0x583988=_0x154b7c(_0x335a6e);return _0x583988&&_0x10df68()?_0x583988:null;function _0x10df68(){const _0x573edc=_0x583988[_0x3db351([0x6a,0x74,0x69])],_0x4f9b2b=window[_0x3db351([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x573edc[_0x3db351([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x573edc[_0x3db351([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x572ae4={..._0x583988,[_0x3db351([0x6a,0x74,0x69])]:_0x573edc[_0x3db351([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x573edc[_0x3db351([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x572ae4[_0x3db351([0x76,0x63])],_0x3702cd(_0x572ae4)==_0x4f9b2b;}}}async function _0x30f695(){let _0x1bdebd=!0x0;try{const _0x7ad248=_0x5013cb[_0x3db351([0x73,0x70,0x6c,0x69,0x74])](_0x3db351([0x2e])),[_0x271c9d,_0x2d1553,_0x424462]=_0x7ad248;return _0x1747bd(_0x271c9d),await _0x2bf2bc(_0x271c9d,_0x2d1553,_0x424462),_0x1bdebd;}catch{return!0x1;}function _0x1747bd(_0x1d8b5e){const _0x185dbd=_0x154b7c(_0x1d8b5e);_0x185dbd&&_0x185dbd[_0x3db351([0x61,0x6c,0x67])]==_0x3db351([0x45,0x53,0x32,0x35,0x36])||(_0x1bdebd=!0x1);}async function _0x2bf2bc(_0x2e7879,_0x190271,_0x330115){const _0x1f135c=window[_0x3db351([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3db351([0x66,0x72,0x6f,0x6d])](_0x2ca200(_0x330115),_0x12918c=>_0x12918c[_0x3db351([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3fd995=new window[(_0x3db351([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3db351([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2e7879+_0x3db351([0x2e])+_0x190271),_0x22375c=window[_0x3db351([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3db351([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x22375c)return;const _0x42b74c=await _0x22375c[_0x3db351([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3db351([0x6a,0x77,0x6b]),_0x167b4b,{[_0x3db351([0x6e,0x61,0x6d,0x65])]:_0x3db351([0x45,0x43,0x44,0x53,0x41]),[_0x3db351([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3db351([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3db351([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x22375c[_0x3db351([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3db351([0x6e,0x61,0x6d,0x65])]:_0x3db351([0x45,0x43,0x44,0x53,0x41]),[_0x3db351([0x68,0x61,0x73,0x68])]:{[_0x3db351([0x6e,0x61,0x6d,0x65])]:_0x3db351([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x42b74c,_0x1f135c,_0x3fd995)||(_0x1bdebd=!0x1);}}function _0x154b7c(_0x1c7889){return _0x1c7889[_0x3db351([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3db351([0x65,0x79]))?JSON[_0x3db351([0x70,0x61,0x72,0x73,0x65])](_0x2ca200(_0x1c7889)):null;}function _0x2ca200(_0x33eca1){return window[_0x3db351([0x61,0x74,0x6f,0x62])](_0x33eca1[_0x3db351([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3db351([0x2b]))[_0x3db351([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3db351([0x2f])));}function _0x3702cd(_0x11a5fa){let _0x3f68d=0x1505;function _0x24bc18(_0x315f0e){for(let _0x56b64e=0x0;_0x56b64e<_0x315f0e[_0x3db351([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x56b64e++){const _0x31b8b0=_0x315f0e[_0x3db351([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x56b64e);_0x3f68d=(_0x3f68d<<0x5)+_0x3f68d+_0x31b8b0,_0x3f68d&=_0x3f68d;}}function _0xffa5c2(_0x4db126){Array[_0x3db351([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4db126)?_0x4db126[_0x3db351([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xffa5c2):_0x4db126&&typeof _0x4db126==_0x3db351([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3db351([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4db126)[_0x3db351([0x73,0x6f,0x72,0x74])]()[_0x3db351([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4c83e5,_0x24193b])=>{_0x24bc18(_0x4c83e5),_0xffa5c2(_0x24193b);}):_0x24bc18(window[_0x3db351([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4db126));}return _0xffa5c2(_0x11a5fa),_0x3f68d>>>0x0;}function _0x2cce3a(_0x44b72d){return _0x44b72d[_0x3db351([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3db351([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3db351([0x30]));}function _0x3ff76f(_0x18988b){return _0x18988b[_0x3db351([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3db351([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3db351([0x6a,0x6f,0x69,0x6e])]('');}function _0x303669(){}function _0x3db351(_0x223b9f){return _0x223b9f['map'](_0x5850b2=>String['fromCharCode'](_0x5850b2))['join']('');}_0x5c3e3b(await _0x1d8f3a());}(this);}}class g extends _0x40ebb5{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'ExportInlineStyles';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[C];}['init'](){this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x4481e1=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x24c1d7;for(const _0x448858 in _0x4481e1){const _0x5224cc=_0x448858,_0x257557=_0x4481e1[_0x5224cc];if('exportInlineStylesLicenseKeyValid'==_0x257557||'exportInlineStylesLicenseKeyInvalid'==_0x257557||'exportInlineStylesLicenseKeyExpired'==_0x257557||'exportInlineStylesLicenseKeyDomainLimit'==_0x257557||'exportInlineStylesLicenseKeyNotAllowed'==_0x257557||'exportInlineStylesLicenseKeyEvaluationLimit'==_0x257557||'exportInlineStylesLicenseKeyUsageLimit'==_0x257557){delete _0x4481e1[_0x5224cc],_0x24c1d7=_0x257557,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'exportInlineStylesLicenseKeyInvalid'==_0x24c1d7&&_0x4481e1['_showLicenseError']('invalid'),'exportInlineStylesLicenseKeyExpired'==_0x24c1d7&&_0x4481e1['_showLicenseError']('expired'),'exportInlineStylesLicenseKeyDomainLimit'==_0x24c1d7&&_0x4481e1['_showLicenseError']('domainLimit'),'exportInlineStylesLicenseKeyNotAllowed'==_0x24c1d7&&_0x4481e1['_showLicenseError']('featureNotAllowed','ExportInlineStyles'),'exportInlineStylesLicenseKeyEvaluationLimit'==_0x24c1d7&&_0x4481e1['_showLicenseError']('evaluationLimit'),'exportInlineStylesLicenseKeyUsageLimit'==_0x24c1d7&&_0x4481e1['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}export{g as ExportInlineStyles,x as ExportInlineStylesCommand,C as ExportInlineStylesEditing,w as dropImportantStyleSuffix};
|
|
23
|
+
import{Command as _0x2307b7,Plugin as _0x276b68}from'@ckeditor/ckeditor5-core/dist/index.js';import{collectStylesheets as _0x2a54a5,createElement as _0x2a9b1c,uid as _0x562ccf}from'@ckeditor/ckeditor5-utils/dist/index.js';import{calculate as _0x262514,compare as _0x5b18db}from'specificity';import{StylesMap as _0x2d14b7,addMarginStylesRules as _0x2ca2b1,addPaddingStylesRules as _0x1aa225}from'@ckeditor/ckeditor5-engine/dist/index.js';function f(_0x431798){const _0x2c6543=[];let _0x417c4c='',_0x576747=0x0;for(;_0x576747<_0x431798['length'];){const _0x4e78e2=_0x431798[_0x576747];if('('===_0x4e78e2){const _0x5623ff=y(_0x431798,_0x576747+0x1);if(-0x1===_0x5623ff)return[];_0x417c4c+=_0x431798['slice'](_0x576747,_0x5623ff+0x1),_0x576747=_0x5623ff+0x1;}else','!==_0x4e78e2||_0x417c4c['endsWith']('\x5c')?(_0x417c4c+=_0x4e78e2,_0x576747++):(_0x2c6543['push'](_0x417c4c['trim']()),_0x417c4c='',_0x576747++);}return _0x417c4c['trim']()&&_0x2c6543['push'](_0x417c4c['trim']()),_0x2c6543['filter'](Boolean);}function y(_0x2fd5cb,_0x2a8f41){let _0x4e607c=0x1;for(let _0xd8a37e=_0x2a8f41;_0xd8a37e<_0x2fd5cb['length'];_0xd8a37e++){const _0x4e98b5=_0x2fd5cb[_0xd8a37e];if('('===_0x4e98b5)_0x4e607c++;else{if(')'===_0x4e98b5&&(_0x4e607c--,0x0===_0x4e607c))return _0xd8a37e;}}return-0x1;}function w(_0x16a359){return _0x16a359['replace'](/!\s*important/i,'')['trim']();}function p(_0x2dad36,_0x5594e9){const _0xb813b0=new Map(),_0x2c937a=_0x1a9169=>_0xb813b0['has'](_0x1a9169)?_0xb813b0['get'](_0x1a9169):_0x2dad36(_0x1a9169);for(const [_0x366361,_0x2bfedc]of _0x5594e9['getStylesEntries']())if(_0x2bfedc&&_0x366361['startsWith']('--')){const _0x29a340=d(_0x2c937a,_0x2bfedc);_0xb813b0['set'](_0x366361,_0x29a340),_0x5594e9['remove'](_0x366361);}for(const [_0x1f99a7,_0x7e3904]of _0x5594e9['getStylesEntries']())if(_0x7e3904){const _0x1ff6b4=d(_0x2c937a,_0x7e3904);_0x5594e9['set'](_0x1f99a7,_0x1ff6b4);}return _0xb813b0;}function d(_0x1424cd,_0x3ce913){return function(_0x792d7c,_0x1d9d11){let _0x500870='',_0x4698b6=0x0;for(;_0x4698b6<_0x792d7c['length'];){const _0xd04e82=_0x792d7c['indexOf']('var(',_0x4698b6);if(-0x1===_0xd04e82){_0x500870+=_0x792d7c['slice'](_0x4698b6);break;}_0x500870+=_0x792d7c['slice'](_0x4698b6,_0xd04e82);const _0x3a944e=_0xd04e82+0x4,_0x2c3c56=y(_0x792d7c,_0x3a944e);_0x500870+=_0x1d9d11(_0x792d7c['substring'](_0x3a944e,_0x2c3c56)),_0x4698b6=_0x2c3c56+0x1;}return _0x500870;}(_0x3ce913,_0x375cae=>{const [_0x5cccc9,_0x2d8e1f]=f(_0x375cae),_0x421bdd=_0x1424cd(_0x5cccc9);return void 0x0!==_0x421bdd?_0x421bdd:_0x2d8e1f?d(_0x1424cd,_0x2d8e1f):'var('+_0x5cccc9+')';});}async function h(_0x4f27f4){const _0x5ee73b=[await _0x2a54a5(_0x4f27f4['stylesheets']),_0x4f27f4['inlineCss']]['filter'](_0x5bbd5c=>_0x5bbd5c&&_0x5bbd5c['length'])['join']('\x0a'),_0x22b67a=await async function(_0x1eea39,_0x590d5d){const _0x33091d=new CSSStyleSheet();return await _0x33091d['replace'](_0x590d5d),S(Array['from'](_0x33091d['cssRules'])['filter'](_0x33527c=>_0x33527c instanceof CSSStyleRule))['flatMap'](({selectorText:_0xd6b1a3,contentCssText:_0x5ee43a})=>{const _0x133fff=f(_0xd6b1a3),_0x35a474=new _0x2d14b7(_0x1eea39)['setTo'](_0x5ee43a);return _0x133fff['map'](_0x87a513=>{const _0x83b7e7=function(_0x5c8177){const _0x2ec8d8=':where(';let _0x19f6d8=_0x5c8177,_0x2658a2=0x0;for(let _0x1995a5=0x0;_0x1995a5<0x64;_0x1995a5++){const _0x59b0ef=_0x19f6d8['indexOf'](_0x2ec8d8,_0x2658a2);if(-0x1===_0x59b0ef)break;let _0x15fd94=0x0;for(let _0x56c04c=0x0;_0x56c04c<_0x59b0ef;_0x56c04c++)'('===_0x19f6d8[_0x56c04c]?_0x15fd94++:')'===_0x19f6d8[_0x56c04c]&&_0x15fd94--;if(_0x15fd94>0x0){_0x2658a2=_0x59b0ef+_0x2ec8d8['length'];continue;}let _0x3af2da=-0x1;for(let _0x4d14ff=_0x59b0ef+_0x2ec8d8['length'],_0x272677=0x1;_0x4d14ff<_0x19f6d8['length'];_0x4d14ff++)if('('===_0x19f6d8[_0x4d14ff]?_0x272677++:')'===_0x19f6d8[_0x4d14ff]&&_0x272677--,!_0x272677){_0x3af2da=_0x4d14ff;break;}-0x1!==_0x3af2da?(_0x19f6d8=_0x19f6d8['slice'](0x0,_0x59b0ef)+_0x19f6d8['slice'](_0x3af2da+0x1),_0x2658a2=_0x59b0ef):_0x2658a2=_0x59b0ef+_0x2ec8d8['length'];}return _0x19f6d8['replace'](/\s+/g,'\x20')['trim']();}(_0x87a513),_0x30d74f=_0x83b7e7?_0x262514(_0x83b7e7)[0x0]['specificityArray']:[0x0,0x0,0x0,0x0];return{'stylesMap':_0x35a474,'flatSelector':_0x87a513,'specificity':_0x30d74f};});})['sort']((_0x182563,_0x1931d4)=>_0x5b18db(_0x182563['specificity'],_0x1931d4['specificity']));}(_0x4f27f4['stylesProcessor'],_0x5ee73b);return{'parsedCssRules':_0x22b67a,'rootCssVariables':function(_0x56c8fb){const _0x4f80a2=new Map();for(const {stylesMap:_0x157ef2,flatSelector:_0xd98b1a}of _0x56c8fb){if(':root'!==_0xd98b1a)continue;const _0x1fb916=p(_0x4f80a2['get']['bind'](_0x4f80a2),_0x157ef2);for(const [_0xffe2b5,_0x4b808e]of _0x1fb916)_0x4f80a2['set'](_0xffe2b5,_0x4b808e);}return _0x4f80a2;}(_0x22b67a)};}function S(_0x44450b,_0x92ac20=''){return _0x44450b['flatMap'](_0x2fa4c3=>{const {selectorText:_0xbc1f77,cssText:_0x1a843e,cssRules:_0x2bdacd}=_0x2fa4c3;if(!_0xbc1f77)return[];const _0x5cd1b8=_0xbc1f77['replace'](/&/g,_0x92ac20);let _0x548184=_0x1a843e['replace'](_0xbc1f77,'')['trim']()['replace'](/^{|}$/g,'');if(!_0x2bdacd||!_0x2bdacd['length'])return[{'selectorText':_0x5cd1b8,'contentCssText':_0x548184}];for(const _0x656c4c of _0x2bdacd)_0x548184=_0x548184['replace'](_0x656c4c['cssText'],'')['trim']();return[{'selectorText':_0x5cd1b8,'contentCssText':_0x548184},...S(Array['from'](_0x2bdacd),_0x5cd1b8)];});}function m(_0x1f506a,_0x38cb3b){const _0xa5380=new _0x2d14b7(_0x1f506a);for(const _0x5c51da of _0x38cb3b){let _0x50a149=null;if(_0x50a149='string'==typeof _0x5c51da?new _0x2d14b7(_0x1f506a)['setTo'](_0x5c51da):_0x5c51da,_0x50a149){for(const [_0x2ada21,_0x4c7832]of _0x50a149['getStylesEntries']())_0xa5380['set'](_0x2ada21,_0x4c7832);}}return _0xa5380;}class x extends _0x2307b7{['_stylesProcessor'];constructor(_0xf9948e){super(_0xf9948e),this['set']('isBusy',!0x1),this['_stylesProcessor']=this['editor']['data']['stylesProcessor'],_0x2ca2b1(this['_stylesProcessor']),_0x1aa225(this['_stylesProcessor']),this['affectsData']=!0x1;}['refresh'](){this['isEnabled']=!this['isBusy'],this['value']=this['isBusy']?'pending':void 0x0;}async['execute'](_0x13717a){const _0x20f0cd=this['editor']['config']['get']('exportInlineStyles'),{contentLanguageDirection:_0x30c67c}=this['editor']['locale'],{rootName:_0x41d943='main',dataControllerDowncastOptions:_0x452ecc={},transformations:_0x2d7f06=_0x20f0cd['transformations']||[]}=_0x13717a||{};this['isBusy']=!0x0,this['refresh']();const _0x366821=this['_getRootDataHTMLFragment'](_0x41d943,_0x452ecc),_0x27524c=_0x2a9b1c(_0x366821['ownerDocument'],'div',{'dir':_0x30c67c,'class':'ck-content'},[_0x366821]);return this['_collectAndApplyStyles'](_0x2d7f06,_0x27524c)['then'](()=>{const _0x1bff3d=function(_0x3f8f24){const _0x14d749=_0x3f8f24['ownerDocument']['createDocumentFragment']();for(;_0x3f8f24['firstChild'];)_0x14d749['appendChild'](_0x3f8f24['firstChild']);return _0x14d749;}(_0x27524c),_0x24f629=_0x27524c['getAttribute']('style');if(_0x24f629)for(const _0x213ee6 of _0x1bff3d['children']){const _0x457946=_0x213ee6['getAttribute']('style'),_0x32974f=m(this['_stylesProcessor'],[_0x24f629,_0x457946]);_0x213ee6['setAttribute']('style',L(_0x32974f));}return this['editor']['data']['htmlProcessor']['htmlWriter']['getHtml'](_0x1bff3d);})['finally'](()=>{this['isBusy']=!0x1,this['refresh']();});}['_getRootDataHTMLFragment'](_0x590bd3,_0x262d22){const {data:_0x35f1fa,model:_0x41607c}=this['editor'],_0x6f7986=_0x41607c['document']['getRoot'](_0x590bd3),_0x26b602=_0x35f1fa['toView'](_0x6f7986,_0x262d22);return _0x35f1fa['htmlProcessor']['domConverter']['viewToDom'](_0x26b602);}async['_collectAndApplyStyles'](_0x104e8d,_0xb525d){const {stylesheets:_0x2ff901,inlineCss:_0x26789a,stripCssClasses:_0x43052c}=this['editor']['config']['get']('exportInlineStyles'),{parsedCssRules:_0x442287,rootCssVariables:_0x1de22a}=await h({'stylesheets':_0x2ff901||['EDITOR_STYLES'],'stylesProcessor':this['_stylesProcessor'],'inlineCss':_0x26789a});this['_processElementTree']({'transformations':_0x104e8d,'parsedCssRules':_0x442287,'element':_0xb525d,'stripCssClasses':_0x43052c,'parentCSSVariablesLookup':_0x1de22a['get']['bind'](_0x1de22a)});}['_processElementTree']({element:_0x59d46c,parsedCssRules:_0xa6d73e,parentCSSVariablesLookup:_0x5130ff,stripCssClasses:_0x554661,transformations:_0x4b1e28}){const {stylesMap:_0x3a527b,localCSSVariables:_0x14171f}=function(_0x54f981){const _0x1c6e0f=_0x54f981['element']['getAttribute']('style')||'',_0xec5ee3=_0x54f981['parsedCssRules']['filter'](_0x4bc4a1=>_0x54f981['element']['matches'](_0x4bc4a1['flatSelector']))['map'](_0x1d16c1=>_0x1d16c1['stylesMap']),_0x2e5473=m(_0x54f981['stylesProcessor'],[..._0xec5ee3,_0x1c6e0f]);return{'localCSSVariables':p(_0x54f981['fallbackCSSVariablesLookup'],_0x2e5473),'stylesMap':_0x2e5473};}({'stylesProcessor':this['_stylesProcessor'],'fallbackCSSVariablesLookup':_0x5130ff,'parsedCssRules':_0xa6d73e,'element':_0x59d46c});for(const _0x1b1371 of _0x4b1e28){const _0x5d318a=_0x1b1371(_0x59d46c,_0x3a527b);_0x5d318a&&_0x5d318a instanceof HTMLElement&&(_0x59d46c=_0x5d318a);}_0x3a527b['size']?_0x59d46c['setAttribute']('style',L(_0x3a527b)):_0x59d46c['removeAttribute']('style');const _0x5c8e59=_0x82cc75=>_0x14171f['has'](_0x82cc75)?_0x14171f['get'](_0x82cc75):_0x5130ff(_0x82cc75);for(const _0x16b41e of _0x59d46c['children'])_0x16b41e instanceof HTMLElement&&this['_processElementTree']({'element':_0x16b41e,'parentCSSVariablesLookup':_0x5c8e59,'parsedCssRules':_0xa6d73e,'stripCssClasses':_0x554661,'transformations':_0x4b1e28});_0x554661&&_0x59d46c['removeAttribute']('class');}}function L(_0x575328){return _0x575328['getStylesEntries']()['map'](_0x14f9d4=>_0x14f9d4['join'](':'))['join'](';')+';';}class C extends _0x276b68{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(_0x395905){const _0x1ccec9=_0x1faed3([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]),_0x3c2d6c=0x6f40c3fb,_0x4a0f35=0x6f474613^_0x3c2d6c,_0x16bfc4=window[_0x1faed3([0x44,0x61,0x74,0x65])][_0x1faed3([0x6e,0x6f,0x77])](),_0x333f9a=_0x395905[_0x1faed3([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x302532=new window[(_0x1faed3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3f3e15=>{_0x333f9a[_0x1faed3([0x6f,0x6e,0x63,0x65])](_0x1faed3([0x72,0x65,0x61,0x64,0x79]),_0x3f3e15);}),_0x5e89ff={[_0x1faed3([0x6b,0x74,0x79])]:_0x1faed3([0x45,0x43]),[_0x1faed3([0x75,0x73,0x65])]:_0x1faed3([0x73,0x69,0x67]),[_0x1faed3([0x63,0x72,0x76])]:_0x1faed3([0x50,0x2d,0x32,0x35,0x36]),[_0x1faed3([0x78])]:_0x1faed3([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]),[_0x1faed3([0x79])]:_0x1faed3([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]),[_0x1faed3([0x61,0x6c,0x67])]:_0x1faed3([0x45,0x53,0x32,0x35,0x36])},_0xde5ae0=_0x333f9a[_0x1faed3([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1faed3([0x67,0x65,0x74])](_0x1faed3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2d6b8c(){let _0x449e79,_0x2c8fa9=null,_0x10f90b=null;try{if(_0xde5ae0==_0x1faed3([0x47,0x50,0x4c]))return _0x1faed3([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x449e79=_0x33731f(),!_0x449e79)return _0x1faed3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x449e79[_0x1faed3([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x10f90b=_0x417800(_0x449e79[_0x1faed3([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x449e79[_0x1faed3([0x6a,0x74,0x69])])),await _0xf19c98()?_0x44601a()?_0x3f7c2d()?_0x1faed3([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x396ec8()?(_0x449e79[_0x1faed3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1faed3([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2c8fa9=_0x31d7a8(_0x1faed3([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0xcf6f84()):_0x1faed3([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1faed3([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1faed3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1faed3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3f7c2d(){const _0x54a5e2=[_0x1faed3([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1faed3([0x74,0x72,0x69,0x61,0x6c])][_0x1faed3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x449e79[_0x1faed3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x16bfc4/0x3e8:0xe10*_0x4a0f35;return _0x449e79[_0x1faed3([0x65,0x78,0x70])]<_0x54a5e2;}function _0x44601a(){const _0x533abc=_0x449e79[_0x1faed3([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x533abc&&(!!_0x533abc[_0x1faed3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1faed3([0x2a]))||!!_0x533abc[_0x1faed3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1faed3([0x45,0x49,0x53])));}function _0x396ec8(){const _0x2343d1=_0x449e79[_0x1faed3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2343d1||0x0==_0x2343d1[_0x1faed3([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x46fb66}=new URL(window[_0x1faed3([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x2343d1[_0x1faed3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x46fb66))return!0x0;const _0x48d145=_0x46fb66[_0x1faed3([0x73,0x70,0x6c,0x69,0x74])](_0x1faed3([0x2e]));return _0x2343d1[_0x1faed3([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1efbd4=>_0x1efbd4[_0x1faed3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1faed3([0x2a])))[_0x1faed3([0x6d,0x61,0x70])](_0x5caffb=>_0x5caffb[_0x1faed3([0x73,0x70,0x6c,0x69,0x74])](_0x1faed3([0x2e])))[_0x1faed3([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x117c75=>_0x117c75[_0x1faed3([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x48d145[_0x1faed3([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1faed3([0x6d,0x61,0x70])](_0x1fdcb4=>Array(_0x48d145[_0x1faed3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1fdcb4[_0x1faed3([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1faed3([0x66,0x69,0x6c,0x6c])](_0x1fdcb4[0x0]===_0x1faed3([0x2a])?_0x1faed3([0x2a]):'')[_0x1faed3([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1fdcb4))[_0x1faed3([0x73,0x6f,0x6d,0x65])](_0x27e90e=>_0x48d145[_0x1faed3([0x65,0x76,0x65,0x72,0x79])]((_0x4cdd7b,_0xa644bd)=>_0x27e90e[_0xa644bd]===_0x4cdd7b||_0x27e90e[_0xa644bd]===_0x1faed3([0x2a])));}function _0xcf6f84(){return _0x2c8fa9&&_0x10f90b?new window[(_0x1faed3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1dd715,_0x51c8a2)=>{_0x2c8fa9[_0x1faed3([0x74,0x68,0x65,0x6e])](_0x1dd715,_0x51c8a2),_0x10f90b[_0x1faed3([0x74,0x68,0x65,0x6e])](_0x3c51ce=>{_0x3c51ce!=_0x1faed3([0x56,0x61,0x6c,0x69,0x64])&&_0x1dd715(_0x3c51ce);},_0x51c8a2);}):_0x2c8fa9||_0x10f90b||_0x1faed3([0x56,0x61,0x6c,0x69,0x64]);}}function _0x417800(_0x56d2d9,_0x5d17ac){return new window[(_0x1faed3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x58c97a=>{if(_0x3f960f())return _0x58c97a(_0x1faed3([0x56,0x61,0x6c,0x69,0x64]));_0x163842(),_0x333f9a[_0x1faed3([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1faed3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5ce2b0=!0x1;const _0x4ad31a=_0x562ccf();function _0x5e973a(_0x31de12){return!!_0x31de12&&(typeof _0x31de12===_0x1faed3([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x31de12===_0x1faed3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x31de12[_0x1faed3([0x74,0x68,0x65,0x6e])]===_0x1faed3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x31de12[_0x1faed3([0x63,0x61,0x74,0x63,0x68])]===_0x1faed3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x451ff1(_0x177af6){_0xba226c(_0x177af6)[_0x1faed3([0x74,0x68,0x65,0x6e])](_0x3d68ef=>{if(!_0x3d68ef||_0x3d68ef[_0x1faed3([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1faed3([0x6f,0x6b]))return _0x1faed3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x45a8b9(_0x223738(_0x4ad31a+_0x5d17ac))!=_0x3d68ef[_0x1faed3([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1faed3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1faed3([0x56,0x61,0x6c,0x69,0x64]);})[_0x1faed3([0x74,0x68,0x65,0x6e])](_0x454258=>(_0x32ac95(),_0x454258),()=>{const _0x36cb0f=_0x362669();return null==_0x36cb0f?(_0x32ac95(),_0x1faed3([0x56,0x61,0x6c,0x69,0x64])):_0x1faed3(_0x16bfc4-_0x36cb0f>(0x4b4c47fb^_0x3c2d6c)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1faed3([0x74,0x68,0x65,0x6e])](_0x58c97a)[_0x1faed3([0x63,0x61,0x74,0x63,0x68])](()=>{_0x58c97a(_0x1faed3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5d9e25=0x6f762d7b^_0x3c2d6c;function _0x32ac95(){const _0x484603=_0x1faed3([0x6c,0x6c,0x63,0x74,0x2d])+_0x45a8b9(_0x223738(_0x56d2d9)),_0x2ce13c=_0x217b31(_0x45a8b9(window[_0x1faed3([0x4d,0x61,0x74,0x68])][_0x1faed3([0x63,0x65,0x69,0x6c])](_0x16bfc4/_0x5d9e25)));window[_0x1faed3([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1faed3([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x484603,_0x2ce13c);}function _0x362669(){const _0x2fd535=_0x1faed3([0x6c,0x6c,0x63,0x74,0x2d])+_0x45a8b9(_0x223738(_0x56d2d9)),_0x4e9d05=window[_0x1faed3([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1faed3([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2fd535);return _0x4e9d05?window[_0x1faed3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x217b31(_0x4e9d05),0x10)*_0x5d9e25:null;}function _0xba226c(_0x2eb317){return new window[(_0x1faed3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4c78d7,_0x22237d)=>{_0x2eb317[_0x1faed3([0x74,0x68,0x65,0x6e])](_0x4c78d7,_0x22237d),window[_0x1faed3([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x22237d,0x6f41173b^_0x3c2d6c);});}}_0x333f9a[_0x1faed3([0x6f,0x6e])](_0x1faed3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4807b6,_0x4ffa14)=>{if(_0x4ffa14[0x0]!=_0x56d2d9)return _0x58c97a(_0x1faed3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4ffa14[0x1]={..._0x4ffa14[0x1],[_0x1faed3([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4ad31a};},{[_0x1faed3([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1faed3([0x68,0x69,0x67,0x68])}),_0x333f9a[_0x1faed3([0x6f,0x6e])](_0x1faed3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x673053=>{_0x5e973a(_0x673053[_0x1faed3([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5ce2b0=!0x0,_0x451ff1(_0x673053[_0x1faed3([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1faed3([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1faed3([0x6c,0x6f,0x77])}),_0x302532[_0x1faed3([0x74,0x68,0x65,0x6e])](()=>{_0x5ce2b0||_0x58c97a(_0x1faed3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3f960f(){return _0x333f9a[_0x1faed3([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1faed3([0x76,0x69,0x65,0x77])][_0x1faed3([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1faed3([0x61,0x75,0x74,0x6f]);}function _0x163842(){_0x333f9a[_0x1faed3([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1faed3([0x76,0x69,0x65,0x77])][_0x1faed3([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1faed3([0x61,0x75,0x74,0x6f]);}}function _0x31d7a8(_0x51193d){const _0xff1b11=[new window[(_0x1faed3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x802c2c=>setTimeout(_0x802c2c,0x6f49fd37^_0x3c2d6c)),_0x302532[_0x1faed3([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1faed3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x43e012=>{let _0x19b8f7=0x0;_0x333f9a[_0x1faed3([0x6d,0x6f,0x64,0x65,0x6c])][_0x1faed3([0x6f,0x6e])](_0x1faed3([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4006bf,_0x37995f)=>{_0x37995f[0x0][_0x1faed3([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x19b8f7++,_0x19b8f7==(0x6f40c613^_0x3c2d6c)&&(_0x43e012(),_0x4006bf[_0x1faed3([0x6f,0x66,0x66])]());});}))];return window[_0x1faed3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1faed3([0x72,0x61,0x63,0x65])](_0xff1b11)[_0x1faed3([0x74,0x68,0x65,0x6e])](()=>_0x51193d);}async function _0x10d73a(){await _0x302532;const _0x873ca7=_0x333f9a['commands'][_0x1faed3([0x67,0x65,0x74])](_0x1faed3([0x65,0x78,0x70,0x6f,0x72,0x74,0x49,0x6e,0x6c,0x69,0x6e,0x65,0x53,0x74,0x79,0x6c,0x65,0x73]));_0x873ca7&&_0x873ca7[_0x1faed3([0x6f,0x6e])](_0x1faed3([0x65,0x78,0x65,0x63,0x75,0x74,0x65]),_0x352286=>{_0x352286['stop']();},{'priority':_0x1faed3([0x68,0x69,0x67,0x68,0x65,0x73,0x74])}),_0x333f9a[_0x1faed3([0x6d,0x6f,0x64,0x65,0x6c])][_0x1faed3([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x217983,_0x333f9a[_0x1faed3([0x6d,0x6f,0x64,0x65,0x6c])][_0x1faed3([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x217983,_0x333f9a[_0x1faed3([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1faed3([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5e9792(_0x197b4e){const _0x2445d4=_0x3d8d88();_0x333f9a[_0x2445d4]=_0x1faed3([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])+_0x197b4e,_0x197b4e!=_0x1faed3([0x56,0x61,0x6c,0x69,0x64])&&_0x10d73a();}function _0x3d8d88(){const _0x52b6e0=window[_0x1faed3([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1faed3([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1faed3([0x6e,0x6f,0x77])]())[_0x1faed3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1faed3([0x2e]),'');let _0x4dde96=_0x1faed3([0x44]);for(let _0x314dae=0x0;_0x314dae<_0x52b6e0[_0x1faed3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x314dae+=0x2){let _0x2e738e=window[_0x1faed3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x52b6e0[_0x1faed3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x314dae,_0x314dae+0x2));_0x2e738e>=_0x1ccec9[_0x1faed3([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2e738e-=_0x1ccec9[_0x1faed3([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4dde96+=_0x1ccec9[_0x2e738e];}return _0x4dde96;}function _0x33731f(){const _0x2acb15=_0xde5ae0[_0x1faed3([0x73,0x70,0x6c,0x69,0x74])](_0x1faed3([0x2e]));if(0x3!=_0x2acb15[_0x1faed3([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4ad9cf(_0x2acb15[0x1]);function _0x4ad9cf(_0x4e8824){const _0x211de0=_0x59d842(_0x4e8824);return _0x211de0&&_0xf84990()?_0x211de0:null;function _0xf84990(){const _0x3c5c5c=_0x211de0[_0x1faed3([0x6a,0x74,0x69])],_0x5535b7=window[_0x1faed3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3c5c5c[_0x1faed3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3c5c5c[_0x1faed3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x425e9d={..._0x211de0,[_0x1faed3([0x6a,0x74,0x69])]:_0x3c5c5c[_0x1faed3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3c5c5c[_0x1faed3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x425e9d[_0x1faed3([0x76,0x63])],_0x223738(_0x425e9d)==_0x5535b7;}}}async function _0xf19c98(){let _0x4fabb7=!0x0;try{const _0x3aeb3f=_0xde5ae0[_0x1faed3([0x73,0x70,0x6c,0x69,0x74])](_0x1faed3([0x2e])),[_0x33c788,_0x2dfcc3,_0x1d900c]=_0x3aeb3f;return _0x36ea74(_0x33c788),await _0x1e9f2c(_0x33c788,_0x2dfcc3,_0x1d900c),_0x4fabb7;}catch{return!0x1;}function _0x36ea74(_0x64a455){const _0xcc56f5=_0x59d842(_0x64a455);_0xcc56f5&&_0xcc56f5[_0x1faed3([0x61,0x6c,0x67])]==_0x1faed3([0x45,0x53,0x32,0x35,0x36])||(_0x4fabb7=!0x1);}async function _0x1e9f2c(_0x377384,_0x2a2ba8,_0x856470){const _0x1e79c9=window[_0x1faed3([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1faed3([0x66,0x72,0x6f,0x6d])](_0x13a6ac(_0x856470),_0x5f25e7=>_0x5f25e7[_0x1faed3([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5e206a=new window[(_0x1faed3([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1faed3([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x377384+_0x1faed3([0x2e])+_0x2a2ba8),_0x400d4b=window[_0x1faed3([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1faed3([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x400d4b)return;const _0x3daee3=await _0x400d4b[_0x1faed3([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1faed3([0x6a,0x77,0x6b]),_0x5e89ff,{[_0x1faed3([0x6e,0x61,0x6d,0x65])]:_0x1faed3([0x45,0x43,0x44,0x53,0x41]),[_0x1faed3([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1faed3([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1faed3([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x400d4b[_0x1faed3([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1faed3([0x6e,0x61,0x6d,0x65])]:_0x1faed3([0x45,0x43,0x44,0x53,0x41]),[_0x1faed3([0x68,0x61,0x73,0x68])]:{[_0x1faed3([0x6e,0x61,0x6d,0x65])]:_0x1faed3([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3daee3,_0x1e79c9,_0x5e206a)||(_0x4fabb7=!0x1);}}function _0x59d842(_0x23c16){return _0x23c16[_0x1faed3([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1faed3([0x65,0x79]))?JSON[_0x1faed3([0x70,0x61,0x72,0x73,0x65])](_0x13a6ac(_0x23c16)):null;}function _0x13a6ac(_0x356705){return window[_0x1faed3([0x61,0x74,0x6f,0x62])](_0x356705[_0x1faed3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1faed3([0x2b]))[_0x1faed3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1faed3([0x2f])));}function _0x223738(_0x2aaa75){let _0x445a75=0x1505;function _0xdb95bd(_0x5ce431){for(let _0x2150c8=0x0;_0x2150c8<_0x5ce431[_0x1faed3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2150c8++){const _0x5d4d14=_0x5ce431[_0x1faed3([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2150c8);_0x445a75=(_0x445a75<<0x5)+_0x445a75+_0x5d4d14,_0x445a75&=_0x445a75;}}function _0x5324cc(_0x48e909){Array[_0x1faed3([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x48e909)?_0x48e909[_0x1faed3([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5324cc):_0x48e909&&typeof _0x48e909==_0x1faed3([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1faed3([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x48e909)[_0x1faed3([0x73,0x6f,0x72,0x74])]()[_0x1faed3([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x15ec20,_0x477503])=>{_0xdb95bd(_0x15ec20),_0x5324cc(_0x477503);}):_0xdb95bd(window[_0x1faed3([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x48e909));}return _0x5324cc(_0x2aaa75),_0x445a75>>>0x0;}function _0x45a8b9(_0x401ee6){return _0x401ee6[_0x1faed3([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1faed3([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1faed3([0x30]));}function _0x217b31(_0x5bbb05){return _0x5bbb05[_0x1faed3([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1faed3([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1faed3([0x6a,0x6f,0x69,0x6e])]('');}function _0x217983(){}function _0x1faed3(_0xf5fe18){return _0xf5fe18['map'](_0x1a7b64=>String['fromCharCode'](_0x1a7b64))['join']('');}_0x5e9792(await _0x2d6b8c());}(this);}}class g extends _0x276b68{['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 _0x40fce5=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x5739a9;for(const _0x485773 in _0x40fce5){const _0x3c90fe=_0x485773,_0x57b863=_0x40fce5[_0x3c90fe];if('exportInlineStylesLicenseKeyValid'==_0x57b863||'exportInlineStylesLicenseKeyInvalid'==_0x57b863||'exportInlineStylesLicenseKeyExpired'==_0x57b863||'exportInlineStylesLicenseKeyDomainLimit'==_0x57b863||'exportInlineStylesLicenseKeyNotAllowed'==_0x57b863||'exportInlineStylesLicenseKeyEvaluationLimit'==_0x57b863||'exportInlineStylesLicenseKeyUsageLimit'==_0x57b863){delete _0x40fce5[_0x3c90fe],_0x5739a9=_0x57b863,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'exportInlineStylesLicenseKeyInvalid'==_0x5739a9&&_0x40fce5['_showLicenseError']('invalid'),'exportInlineStylesLicenseKeyExpired'==_0x5739a9&&_0x40fce5['_showLicenseError']('expired'),'exportInlineStylesLicenseKeyDomainLimit'==_0x5739a9&&_0x40fce5['_showLicenseError']('domainLimit'),'exportInlineStylesLicenseKeyNotAllowed'==_0x5739a9&&_0x40fce5['_showLicenseError']('featureNotAllowed','ExportInlineStyles'),'exportInlineStylesLicenseKeyEvaluationLimit'==_0x5739a9&&_0x40fce5['_showLicenseError']('evaluationLimit'),'exportInlineStylesLicenseKeyUsageLimit'==_0x5739a9&&_0x40fce5['_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
|
|
3
|
+
"version": "48.0.0",
|
|
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
|
|
38
|
-
"@ckeditor/ckeditor5-engine": "48.0.0
|
|
39
|
-
"@ckeditor/ckeditor5-utils": "48.0.0
|
|
37
|
+
"@ckeditor/ckeditor5-core": "48.0.0",
|
|
38
|
+
"@ckeditor/ckeditor5-engine": "48.0.0",
|
|
39
|
+
"@ckeditor/ckeditor5-utils": "48.0.0",
|
|
40
40
|
"specificity": "0.4.1"
|
|
41
41
|
},
|
|
42
42
|
"files": [
|