@ckeditor/ckeditor5-export-inline-styles 48.0.1 → 48.1.0-alpha.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/exportinlinestyles.d.ts +38 -5
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/package.json +4 -4
|
@@ -164,11 +164,44 @@ export interface ExportInlineStylesConfig {
|
|
|
164
164
|
transformations?: Array<ExportInlineStylesTransformation>;
|
|
165
165
|
}
|
|
166
166
|
/**
|
|
167
|
-
*
|
|
167
|
+
* A "runner" function that allows controlling the execution of logic after an element's children have been processed.
|
|
168
|
+
* * It is passed as an argument to the transformation callback, enabling additional operations
|
|
169
|
+
* on the element after its descendants have had their styles inlined.
|
|
170
|
+
*
|
|
171
|
+
* @param runner The function that executes the post-transformation logic.
|
|
172
|
+
*/
|
|
173
|
+
export type ExportInlineStylesPostTransformationRunner = (runner: VoidFunction) => void;
|
|
174
|
+
/**
|
|
175
|
+
* An object containing helper functions to control the transformation flow during the inline styles conversion.
|
|
176
|
+
*/
|
|
177
|
+
export type ExportInlineStylesTransformationAttrs = {
|
|
178
|
+
/**
|
|
179
|
+
* A function used to register a callback to be executed after the entire document has been processed.
|
|
180
|
+
*
|
|
181
|
+
* It is particularly useful when you want to modify or replace the HTML structure of the document
|
|
182
|
+
* (e.g., replacing a `figure` with a `section`) without breaking the CSS selector matching for inline styles.
|
|
183
|
+
* By deferring structural changes to this callback, elements will still receive inline styles based on
|
|
184
|
+
* their original DOM structure (e.g., a `div` will still get styles from a `figure > div` selector before
|
|
185
|
+
* the parent `figure` is turned into a `section`).
|
|
186
|
+
*/
|
|
187
|
+
runAfterDocumentTransformation: ExportInlineStylesPostTransformationRunner;
|
|
188
|
+
/**
|
|
189
|
+
* A function used to register a callback to be executed after the current element's children
|
|
190
|
+
* have been processed.
|
|
191
|
+
*
|
|
192
|
+
* This allows for modifications based on the final state of the descendants.
|
|
193
|
+
*/
|
|
194
|
+
runAfterChildrenTransformation: ExportInlineStylesPostTransformationRunner;
|
|
195
|
+
};
|
|
196
|
+
/**
|
|
197
|
+
* The callback function that is called for each element being processed during the inline styles conversion.
|
|
168
198
|
*
|
|
169
199
|
* @param element The DOM element being processed.
|
|
170
|
-
* @param stylesMap The map of styles to be applied to the element.
|
|
171
|
-
*
|
|
172
|
-
*
|
|
200
|
+
* @param stylesMap The map of styles to be applied to the element. This map can be modified
|
|
201
|
+
* (adding, removing, or updating styles) before they are inlined.
|
|
202
|
+
* @param attrs Helpers to control the transformation flow.
|
|
203
|
+
* @returns The new element that will be used instead of the original one, or `undefined` to
|
|
204
|
+
* keep the original element. It may be used when a transformer replaces one element with
|
|
205
|
+
* another (e.g., converting a `figure` to a `div`).
|
|
173
206
|
*/
|
|
174
|
-
export type ExportInlineStylesTransformation = (element: HTMLElement, stylesMap: StylesMap) => HTMLElement | undefined | void;
|
|
207
|
+
export type ExportInlineStylesTransformation = (element: HTMLElement, stylesMap: StylesMap, attrs: ExportInlineStylesTransformationAttrs) => HTMLElement | undefined | void;
|
package/dist/index.d.ts
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module export-inline-styles
|
|
7
7
|
*/
|
|
8
|
-
export { ExportInlineStyles, type ExportInlineStylesConfig, type ExportInlineStylesTransformation } from './exportinlinestyles.js';
|
|
8
|
+
export { ExportInlineStyles, type ExportInlineStylesConfig, type ExportInlineStylesTransformation, type ExportInlineStylesPostTransformationRunner, type ExportInlineStylesTransformationAttrs } from './exportinlinestyles.js';
|
|
9
9
|
export { ExportInlineStylesCommand } from './exportinlinestylescommand.js';
|
|
10
10
|
export { ExportInlineStylesEditing } from './exportinlinestylesediting.js';
|
|
11
11
|
export { dropImportantStyleSuffix } from './exportinlinestylesutils.js';
|
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Command as _0x3c952e,Plugin as _0x3f05af}from'@ckeditor/ckeditor5-core/dist/index.js';import{collectStylesheets as _0x49680f,createElement as _0x3d3ab2,uid as _0x47140a}from'@ckeditor/ckeditor5-utils/dist/index.js';import{calculate as _0x516bbb,compare as _0x2db054}from'specificity';import{StylesMap as _0x249de8,addMarginStylesRules as _0x5e2bd9,addPaddingStylesRules as _0x485a1d}from'@ckeditor/ckeditor5-engine/dist/index.js';function f(_0x42776e){const _0x33994b=[];let _0x2e2b37='',_0x2fa3da=0x0;for(;_0x2fa3da<_0x42776e['length'];){const _0x558813=_0x42776e[_0x2fa3da];if('('===_0x558813){const _0x1cabaf=y(_0x42776e,_0x2fa3da+0x1);if(-0x1===_0x1cabaf)return[];_0x2e2b37+=_0x42776e['slice'](_0x2fa3da,_0x1cabaf+0x1),_0x2fa3da=_0x1cabaf+0x1;}else','!==_0x558813||_0x2e2b37['endsWith']('\x5c')?(_0x2e2b37+=_0x558813,_0x2fa3da++):(_0x33994b['push'](_0x2e2b37['trim']()),_0x2e2b37='',_0x2fa3da++);}return _0x2e2b37['trim']()&&_0x33994b['push'](_0x2e2b37['trim']()),_0x33994b['filter'](Boolean);}function y(_0xff8b88,_0x33a2de){let _0x37851c=0x1;for(let _0x3ca4d8=_0x33a2de;_0x3ca4d8<_0xff8b88['length'];_0x3ca4d8++){const _0x5b26c6=_0xff8b88[_0x3ca4d8];if('('===_0x5b26c6)_0x37851c++;else{if(')'===_0x5b26c6&&(_0x37851c--,0x0===_0x37851c))return _0x3ca4d8;}}return-0x1;}function w(_0x4c0cb0){return _0x4c0cb0['replace'](/!\s*important/i,'')['trim']();}function p(_0x1b42f9,_0x2ac005){const _0x10115=new Map(),_0x33d3cd=_0x5d5fde=>_0x10115['has'](_0x5d5fde)?_0x10115['get'](_0x5d5fde):_0x1b42f9(_0x5d5fde);for(const [_0xbb7220,_0x11d9a4]of _0x2ac005['getStylesEntries']())if(_0x11d9a4&&_0xbb7220['startsWith']('--')){const _0x1d35ff=d(_0x33d3cd,_0x11d9a4);_0x10115['set'](_0xbb7220,_0x1d35ff),_0x2ac005['remove'](_0xbb7220);}for(const [_0x5623ff,_0x2524bb]of _0x2ac005['getStylesEntries']())if(_0x2524bb){const _0xbb8ecc=d(_0x33d3cd,_0x2524bb);_0x2ac005['set'](_0x5623ff,_0xbb8ecc);}return _0x10115;}function d(_0x13188d,_0x2f8b07){return function(_0xc1c813,_0x437c53){let _0x329ac2='',_0x1d9ea8=0x0;for(;_0x1d9ea8<_0xc1c813['length'];){const _0x34b4c1=_0xc1c813['indexOf']('var(',_0x1d9ea8);if(-0x1===_0x34b4c1){_0x329ac2+=_0xc1c813['slice'](_0x1d9ea8);break;}_0x329ac2+=_0xc1c813['slice'](_0x1d9ea8,_0x34b4c1);const _0x2c4b7e=_0x34b4c1+0x4,_0x5ce082=y(_0xc1c813,_0x2c4b7e);_0x329ac2+=_0x437c53(_0xc1c813['substring'](_0x2c4b7e,_0x5ce082)),_0x1d9ea8=_0x5ce082+0x1;}return _0x329ac2;}(_0x2f8b07,_0x397e78=>{const [_0xf56bef,_0x119b89]=f(_0x397e78),_0x1daece=_0x13188d(_0xf56bef);return void 0x0!==_0x1daece?_0x1daece:_0x119b89?d(_0x13188d,_0x119b89):'var('+_0xf56bef+')';});}async function h(_0x2e8c01){const _0x28173b=[await _0x49680f(_0x2e8c01['stylesheets']),_0x2e8c01['inlineCss']]['filter'](_0x3eaf0f=>_0x3eaf0f&&_0x3eaf0f['length'])['join']('\x0a'),_0x2b186e=await async function(_0x572967,_0x3c940e){const _0x10b940=new CSSStyleSheet();return await _0x10b940['replace'](_0x3c940e),S(Array['from'](_0x10b940['cssRules'])['filter'](_0x22c00b=>_0x22c00b instanceof CSSStyleRule))['flatMap'](({selectorText:_0x508cd5,contentCssText:_0x40dfdd})=>{const _0x2c1084=f(_0x508cd5),_0x244a9c=new _0x249de8(_0x572967)['setTo'](_0x40dfdd);return _0x2c1084['map'](_0x514fed=>{const _0x21e35a=function(_0x39a363){const _0x4dc6dd=':where(';let _0x3f3878=_0x39a363,_0x176ed5=0x0;for(let _0x1d1eb9=0x0;_0x1d1eb9<0x64;_0x1d1eb9++){const _0x135dec=_0x3f3878['indexOf'](_0x4dc6dd,_0x176ed5);if(-0x1===_0x135dec)break;let _0x2114bd=0x0;for(let _0x2796ec=0x0;_0x2796ec<_0x135dec;_0x2796ec++)'('===_0x3f3878[_0x2796ec]?_0x2114bd++:')'===_0x3f3878[_0x2796ec]&&_0x2114bd--;if(_0x2114bd>0x0){_0x176ed5=_0x135dec+_0x4dc6dd['length'];continue;}let _0x500993=-0x1;for(let _0x5c1bf7=_0x135dec+_0x4dc6dd['length'],_0x3eb1a5=0x1;_0x5c1bf7<_0x3f3878['length'];_0x5c1bf7++)if('('===_0x3f3878[_0x5c1bf7]?_0x3eb1a5++:')'===_0x3f3878[_0x5c1bf7]&&_0x3eb1a5--,!_0x3eb1a5){_0x500993=_0x5c1bf7;break;}-0x1!==_0x500993?(_0x3f3878=_0x3f3878['slice'](0x0,_0x135dec)+_0x3f3878['slice'](_0x500993+0x1),_0x176ed5=_0x135dec):_0x176ed5=_0x135dec+_0x4dc6dd['length'];}return _0x3f3878['replace'](/\s+/g,'\x20')['trim']();}(_0x514fed),_0x209f66=_0x21e35a?_0x516bbb(_0x21e35a)[0x0]['specificityArray']:[0x0,0x0,0x0,0x0];return{'stylesMap':_0x244a9c,'flatSelector':_0x514fed,'specificity':_0x209f66};});})['sort']((_0x1ed195,_0x572d07)=>_0x2db054(_0x1ed195['specificity'],_0x572d07['specificity']));}(_0x2e8c01['stylesProcessor'],_0x28173b);return{'parsedCssRules':_0x2b186e,'rootCssVariables':function(_0x165286){const _0x2c0f4e=new Map();for(const {stylesMap:_0xfc49bc,flatSelector:_0x371541}of _0x165286){if(':root'!==_0x371541)continue;const _0x109ad5=p(_0x2c0f4e['get']['bind'](_0x2c0f4e),_0xfc49bc);for(const [_0x321860,_0x2c7a30]of _0x109ad5)_0x2c0f4e['set'](_0x321860,_0x2c7a30);}return _0x2c0f4e;}(_0x2b186e)};}function S(_0x13e754,_0x33cd86=''){return _0x13e754['flatMap'](_0x4a35b6=>{const {selectorText:_0x17f3a5,cssText:_0x46704c,cssRules:_0x409171}=_0x4a35b6;if(!_0x17f3a5)return[];const _0x572216=_0x17f3a5['replace'](/&/g,_0x33cd86);let _0x10c474=_0x46704c['replace'](_0x17f3a5,'')['trim']()['replace'](/^{|}$/g,'');if(!_0x409171||!_0x409171['length'])return[{'selectorText':_0x572216,'contentCssText':_0x10c474}];for(const _0x444b91 of _0x409171)_0x10c474=_0x10c474['replace'](_0x444b91['cssText'],'')['trim']();return[{'selectorText':_0x572216,'contentCssText':_0x10c474},...S(Array['from'](_0x409171),_0x572216)];});}function m(_0x44e495,_0x419fb7){const _0x1e7fe3=new _0x249de8(_0x44e495);for(const _0x11ea5d of _0x419fb7){let _0x102a49=null;if(_0x102a49='string'==typeof _0x11ea5d?new _0x249de8(_0x44e495)['setTo'](_0x11ea5d):_0x11ea5d,_0x102a49){for(const [_0xd9b52e,_0x3befa4]of _0x102a49['getStylesEntries']())_0x1e7fe3['set'](_0xd9b52e,_0x3befa4);}}return _0x1e7fe3;}class x extends _0x3c952e{['_stylesProcessor'];constructor(_0x4b59cc){super(_0x4b59cc),this['set']('isBusy',!0x1),this['_stylesProcessor']=this['editor']['data']['stylesProcessor'],_0x5e2bd9(this['_stylesProcessor']),_0x485a1d(this['_stylesProcessor']),this['affectsData']=!0x1;}['refresh'](){this['isEnabled']=!this['isBusy'],this['value']=this['isBusy']?'pending':void 0x0;}async['execute'](_0x665197){const _0x457378=this['editor']['config']['get']('exportInlineStyles'),{contentLanguageDirection:_0x493765}=this['editor']['locale'],{rootName:_0x3525e2='main',dataControllerDowncastOptions:_0x4e2f18={},transformations:_0x482734=_0x457378['transformations']||[]}=_0x665197||{};this['isBusy']=!0x0,this['refresh']();const _0x2f7b58=this['_getRootDataHTMLFragment'](_0x3525e2,_0x4e2f18),_0x368469=_0x3d3ab2(_0x2f7b58['ownerDocument'],'div',{'dir':_0x493765,'class':'ck-content'},[_0x2f7b58]);return this['_collectAndApplyStyles'](_0x482734,_0x368469)['then'](()=>{const _0x56da47=function(_0x4eba88){const _0x5350f1=_0x4eba88['ownerDocument']['createDocumentFragment']();for(;_0x4eba88['firstChild'];)_0x5350f1['appendChild'](_0x4eba88['firstChild']);return _0x5350f1;}(_0x368469),_0xa845fb=_0x368469['getAttribute']('style');if(_0xa845fb)for(const _0xa84998 of _0x56da47['children']){const _0x5acbfe=_0xa84998['getAttribute']('style'),_0x6cbbf=m(this['_stylesProcessor'],[_0xa845fb,_0x5acbfe]);_0xa84998['setAttribute']('style',L(_0x6cbbf));}return this['editor']['data']['htmlProcessor']['htmlWriter']['getHtml'](_0x56da47);})['finally'](()=>{this['isBusy']=!0x1,this['refresh']();});}['_getRootDataHTMLFragment'](_0x14b473,_0x35a85c){const {data:_0x31c864,model:_0x340c9a}=this['editor'],_0x292e43=_0x340c9a['document']['getRoot'](_0x14b473),_0x94f4df=_0x31c864['toView'](_0x292e43,_0x35a85c);return _0x31c864['htmlProcessor']['domConverter']['viewToDom'](_0x94f4df);}async['_collectAndApplyStyles'](_0x552e71,_0x3e0db7){const {stylesheets:_0x4ff7ec,inlineCss:_0x159ddc,stripCssClasses:_0x4e6200}=this['editor']['config']['get']('exportInlineStyles'),{parsedCssRules:_0x450b91,rootCssVariables:_0x2c5962}=await h({'stylesheets':_0x4ff7ec||['EDITOR_STYLES'],'stylesProcessor':this['_stylesProcessor'],'inlineCss':_0x159ddc});this['_processElementTree']({'transformations':_0x552e71,'parsedCssRules':_0x450b91,'element':_0x3e0db7,'stripCssClasses':_0x4e6200,'parentCSSVariablesLookup':_0x2c5962['get']['bind'](_0x2c5962)});}['_processElementTree']({element:_0x41ecfd,parsedCssRules:_0x33dbeb,parentCSSVariablesLookup:_0x578a9b,stripCssClasses:_0x17427f,transformations:_0x542627}){const {stylesMap:_0xb47a57,localCSSVariables:_0x841a1d}=function(_0x572ceb){const _0x4fa963=_0x572ceb['element']['getAttribute']('style')||'',_0x35a47f=_0x572ceb['parsedCssRules']['filter'](_0x23ba15=>_0x572ceb['element']['matches'](_0x23ba15['flatSelector']))['map'](_0x2f3a1f=>_0x2f3a1f['stylesMap']),_0x59c13d=m(_0x572ceb['stylesProcessor'],[..._0x35a47f,_0x4fa963]);return{'localCSSVariables':p(_0x572ceb['fallbackCSSVariablesLookup'],_0x59c13d),'stylesMap':_0x59c13d};}({'stylesProcessor':this['_stylesProcessor'],'fallbackCSSVariablesLookup':_0x578a9b,'parsedCssRules':_0x33dbeb,'element':_0x41ecfd});for(const _0x33b7fc of _0x542627){const _0x5b6c7c=_0x33b7fc(_0x41ecfd,_0xb47a57);_0x5b6c7c&&_0x5b6c7c instanceof HTMLElement&&(_0x41ecfd=_0x5b6c7c);}_0xb47a57['size']?_0x41ecfd['setAttribute']('style',L(_0xb47a57)):_0x41ecfd['removeAttribute']('style');const _0x110c7e=_0x201f4d=>_0x841a1d['has'](_0x201f4d)?_0x841a1d['get'](_0x201f4d):_0x578a9b(_0x201f4d);for(const _0x30eb79 of _0x41ecfd['children'])_0x30eb79 instanceof HTMLElement&&this['_processElementTree']({'element':_0x30eb79,'parentCSSVariablesLookup':_0x110c7e,'parsedCssRules':_0x33dbeb,'stripCssClasses':_0x17427f,'transformations':_0x542627});_0x17427f&&_0x41ecfd['removeAttribute']('class');}}function L(_0x79a5a){return _0x79a5a['getStylesEntries']()['map'](_0x189462=>_0x189462['join'](':'))['join'](';')+';';}class C extends _0x3f05af{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(_0x576b72){const _0x9ca501=_0x5e1d7([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]),_0x16a726=0x6f40c3fb,_0x28a65d=0x6f474403^_0x16a726,_0x51028d=window[_0x5e1d7([0x44,0x61,0x74,0x65])][_0x5e1d7([0x6e,0x6f,0x77])](),_0xedb7f7=_0x576b72[_0x5e1d7([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xe4d523=new window[(_0x5e1d7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x51c26a=>{_0xedb7f7[_0x5e1d7([0x6f,0x6e,0x63,0x65])](_0x5e1d7([0x72,0x65,0x61,0x64,0x79]),_0x51c26a);}),_0x222c40={[_0x5e1d7([0x6b,0x74,0x79])]:_0x5e1d7([0x45,0x43]),[_0x5e1d7([0x75,0x73,0x65])]:_0x5e1d7([0x73,0x69,0x67]),[_0x5e1d7([0x63,0x72,0x76])]:_0x5e1d7([0x50,0x2d,0x32,0x35,0x36]),[_0x5e1d7([0x78])]:_0x5e1d7([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]),[_0x5e1d7([0x79])]:_0x5e1d7([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]),[_0x5e1d7([0x61,0x6c,0x67])]:_0x5e1d7([0x45,0x53,0x32,0x35,0x36])},_0x595ea9=_0xedb7f7[_0x5e1d7([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5e1d7([0x67,0x65,0x74])](_0x5e1d7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3af8ca(){let _0x15d5ed,_0x39e51b=null,_0x7ba4b5=null;try{if(_0x595ea9==_0x5e1d7([0x47,0x50,0x4c]))return _0x5e1d7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x15d5ed=_0x5bd099(),!_0x15d5ed)return _0x5e1d7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x15d5ed[_0x5e1d7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x7ba4b5=_0x490370(_0x15d5ed[_0x5e1d7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x15d5ed[_0x5e1d7([0x6a,0x74,0x69])])),await _0x45cb82()?_0x34bc1a()?_0xde5a82()?_0x5e1d7([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x23d11c()?(_0x15d5ed[_0x5e1d7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5e1d7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x39e51b=_0x44c861(_0x5e1d7([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5b8474()):_0x5e1d7([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5e1d7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5e1d7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5e1d7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xde5a82(){const _0x24b2bd=[_0x5e1d7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5e1d7([0x74,0x72,0x69,0x61,0x6c])][_0x5e1d7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x15d5ed[_0x5e1d7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x51028d/0x3e8:0xe10*_0x28a65d;return _0x15d5ed[_0x5e1d7([0x65,0x78,0x70])]<_0x24b2bd;}function _0x34bc1a(){const _0x504093=_0x15d5ed[_0x5e1d7([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x504093&&(!!_0x504093[_0x5e1d7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5e1d7([0x2a]))||!!_0x504093[_0x5e1d7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5e1d7([0x45,0x49,0x53])));}function _0x23d11c(){const _0x8d1657=_0x15d5ed[_0x5e1d7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x8d1657||0x0==_0x8d1657[_0x5e1d7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x546b36}=new URL(window[_0x5e1d7([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x8d1657[_0x5e1d7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x546b36))return!0x0;const _0x536a15=_0x546b36[_0x5e1d7([0x73,0x70,0x6c,0x69,0x74])](_0x5e1d7([0x2e]));return _0x8d1657[_0x5e1d7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1d96b5=>_0x1d96b5[_0x5e1d7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5e1d7([0x2a])))[_0x5e1d7([0x6d,0x61,0x70])](_0x5c5d25=>_0x5c5d25[_0x5e1d7([0x73,0x70,0x6c,0x69,0x74])](_0x5e1d7([0x2e])))[_0x5e1d7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x247601=>_0x247601[_0x5e1d7([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x536a15[_0x5e1d7([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5e1d7([0x6d,0x61,0x70])](_0x4944a4=>Array(_0x536a15[_0x5e1d7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4944a4[_0x5e1d7([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5e1d7([0x66,0x69,0x6c,0x6c])](_0x4944a4[0x0]===_0x5e1d7([0x2a])?_0x5e1d7([0x2a]):'')[_0x5e1d7([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4944a4))[_0x5e1d7([0x73,0x6f,0x6d,0x65])](_0x3ffa0c=>_0x536a15[_0x5e1d7([0x65,0x76,0x65,0x72,0x79])]((_0x4adb7f,_0x1aea85)=>_0x3ffa0c[_0x1aea85]===_0x4adb7f||_0x3ffa0c[_0x1aea85]===_0x5e1d7([0x2a])));}function _0x5b8474(){return _0x39e51b&&_0x7ba4b5?new window[(_0x5e1d7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x8bf132,_0x38e8cf)=>{_0x39e51b[_0x5e1d7([0x74,0x68,0x65,0x6e])](_0x8bf132,_0x38e8cf),_0x7ba4b5[_0x5e1d7([0x74,0x68,0x65,0x6e])](_0xf9afe=>{_0xf9afe!=_0x5e1d7([0x56,0x61,0x6c,0x69,0x64])&&_0x8bf132(_0xf9afe);},_0x38e8cf);}):_0x39e51b||_0x7ba4b5||_0x5e1d7([0x56,0x61,0x6c,0x69,0x64]);}}function _0x490370(_0x1a5511,_0x5d4e0c){return new window[(_0x5e1d7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x132817=>{if(_0x380d98())return _0x132817(_0x5e1d7([0x56,0x61,0x6c,0x69,0x64]));_0x38c3f8(),_0xedb7f7[_0x5e1d7([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5e1d7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x428eb4=!0x1;const _0x4ab0ab=_0x47140a();function _0x521d0c(_0xd21ed9){return!!_0xd21ed9&&(typeof _0xd21ed9===_0x5e1d7([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xd21ed9===_0x5e1d7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xd21ed9[_0x5e1d7([0x74,0x68,0x65,0x6e])]===_0x5e1d7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xd21ed9[_0x5e1d7([0x63,0x61,0x74,0x63,0x68])]===_0x5e1d7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4a84bb(_0x4f01e3){_0x5f5120(_0x4f01e3)[_0x5e1d7([0x74,0x68,0x65,0x6e])](_0x55ad57=>{if(!_0x55ad57||_0x55ad57[_0x5e1d7([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5e1d7([0x6f,0x6b]))return _0x5e1d7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5d938e(_0xd44d62(_0x4ab0ab+_0x5d4e0c))!=_0x55ad57[_0x5e1d7([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5e1d7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5e1d7([0x56,0x61,0x6c,0x69,0x64]);})[_0x5e1d7([0x74,0x68,0x65,0x6e])](_0x5e62d8=>(_0x17dcde(),_0x5e62d8),()=>{const _0x19c644=_0x28f256();return null==_0x19c644?(_0x17dcde(),_0x5e1d7([0x56,0x61,0x6c,0x69,0x64])):_0x5e1d7(_0x51028d-_0x19c644>(0x4b4c47fb^_0x16a726)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5e1d7([0x74,0x68,0x65,0x6e])](_0x132817)[_0x5e1d7([0x63,0x61,0x74,0x63,0x68])](()=>{_0x132817(_0x5e1d7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5466fd=0x6f762d7b^_0x16a726;function _0x17dcde(){const _0x1c4e1b=_0x5e1d7([0x6c,0x6c,0x63,0x74,0x2d])+_0x5d938e(_0xd44d62(_0x1a5511)),_0x5dd60f=_0xf1cb50(_0x5d938e(window[_0x5e1d7([0x4d,0x61,0x74,0x68])][_0x5e1d7([0x63,0x65,0x69,0x6c])](_0x51028d/_0x5466fd)));window[_0x5e1d7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5e1d7([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1c4e1b,_0x5dd60f);}function _0x28f256(){const _0x19b31a=_0x5e1d7([0x6c,0x6c,0x63,0x74,0x2d])+_0x5d938e(_0xd44d62(_0x1a5511)),_0x5aff5b=window[_0x5e1d7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5e1d7([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x19b31a);return _0x5aff5b?window[_0x5e1d7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xf1cb50(_0x5aff5b),0x10)*_0x5466fd:null;}function _0x5f5120(_0x3ed5cf){return new window[(_0x5e1d7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x867c9b,_0x3eaa84)=>{_0x3ed5cf[_0x5e1d7([0x74,0x68,0x65,0x6e])](_0x867c9b,_0x3eaa84),window[_0x5e1d7([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3eaa84,0x6f41173b^_0x16a726);});}}_0xedb7f7[_0x5e1d7([0x6f,0x6e])](_0x5e1d7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x43cca4,_0x4bf481)=>{if(_0x4bf481[0x0]!=_0x1a5511)return _0x132817(_0x5e1d7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4bf481[0x1]={..._0x4bf481[0x1],[_0x5e1d7([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4ab0ab};},{[_0x5e1d7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5e1d7([0x68,0x69,0x67,0x68])}),_0xedb7f7[_0x5e1d7([0x6f,0x6e])](_0x5e1d7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x281cf7=>{_0x521d0c(_0x281cf7[_0x5e1d7([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x428eb4=!0x0,_0x4a84bb(_0x281cf7[_0x5e1d7([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5e1d7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5e1d7([0x6c,0x6f,0x77])}),_0xe4d523[_0x5e1d7([0x74,0x68,0x65,0x6e])](()=>{_0x428eb4||_0x132817(_0x5e1d7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x380d98(){return _0xedb7f7[_0x5e1d7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5e1d7([0x76,0x69,0x65,0x77])][_0x5e1d7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5e1d7([0x61,0x75,0x74,0x6f]);}function _0x38c3f8(){_0xedb7f7[_0x5e1d7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5e1d7([0x76,0x69,0x65,0x77])][_0x5e1d7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5e1d7([0x61,0x75,0x74,0x6f]);}}function _0x44c861(_0x568a3c){const _0x589e32=[new window[(_0x5e1d7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x52ea06=>setTimeout(_0x52ea06,0x6f49fd37^_0x16a726)),_0xe4d523[_0x5e1d7([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5e1d7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2d9637=>{let _0x1401ea=0x0;_0xedb7f7[_0x5e1d7([0x6d,0x6f,0x64,0x65,0x6c])][_0x5e1d7([0x6f,0x6e])](_0x5e1d7([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4fdb19,_0x40d220)=>{_0x40d220[0x0][_0x5e1d7([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1401ea++,_0x1401ea==(0x6f40c613^_0x16a726)&&(_0x2d9637(),_0x4fdb19[_0x5e1d7([0x6f,0x66,0x66])]());});}))];return window[_0x5e1d7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5e1d7([0x72,0x61,0x63,0x65])](_0x589e32)[_0x5e1d7([0x74,0x68,0x65,0x6e])](()=>_0x568a3c);}async function _0x1a5ad7(){await _0xe4d523;const _0x336474=_0xedb7f7['commands'][_0x5e1d7([0x67,0x65,0x74])](_0x5e1d7([0x65,0x78,0x70,0x6f,0x72,0x74,0x49,0x6e,0x6c,0x69,0x6e,0x65,0x53,0x74,0x79,0x6c,0x65,0x73]));_0x336474&&_0x336474[_0x5e1d7([0x6f,0x6e])](_0x5e1d7([0x65,0x78,0x65,0x63,0x75,0x74,0x65]),_0x14d3d3=>{_0x14d3d3['stop']();},{'priority':_0x5e1d7([0x68,0x69,0x67,0x68,0x65,0x73,0x74])}),_0xedb7f7[_0x5e1d7([0x6d,0x6f,0x64,0x65,0x6c])][_0x5e1d7([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5bf4cc,_0xedb7f7[_0x5e1d7([0x6d,0x6f,0x64,0x65,0x6c])][_0x5e1d7([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5bf4cc,_0xedb7f7[_0x5e1d7([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5e1d7([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2fe1f9(_0xecf11e){const _0x53e781=_0x65a673();_0xedb7f7[_0x53e781]=_0x5e1d7([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])+_0xecf11e,_0xecf11e!=_0x5e1d7([0x56,0x61,0x6c,0x69,0x64])&&_0x1a5ad7();}function _0x65a673(){const _0x56a95b=window[_0x5e1d7([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5e1d7([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5e1d7([0x6e,0x6f,0x77])]())[_0x5e1d7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5e1d7([0x2e]),'');let _0x1f0a3a=_0x5e1d7([0x44]);for(let _0x1f9678=0x0;_0x1f9678<_0x56a95b[_0x5e1d7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1f9678+=0x2){let _0x59f97d=window[_0x5e1d7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x56a95b[_0x5e1d7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1f9678,_0x1f9678+0x2));_0x59f97d>=_0x9ca501[_0x5e1d7([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x59f97d-=_0x9ca501[_0x5e1d7([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1f0a3a+=_0x9ca501[_0x59f97d];}return _0x1f0a3a;}function _0x5bd099(){const _0x3336f8=_0x595ea9[_0x5e1d7([0x73,0x70,0x6c,0x69,0x74])](_0x5e1d7([0x2e]));if(0x3!=_0x3336f8[_0x5e1d7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4bb165(_0x3336f8[0x1]);function _0x4bb165(_0x5f4b60){const _0x11db75=_0x4bda82(_0x5f4b60);return _0x11db75&&_0x2e0763()?_0x11db75:null;function _0x2e0763(){const _0x460192=_0x11db75[_0x5e1d7([0x6a,0x74,0x69])],_0x24615f=window[_0x5e1d7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x460192[_0x5e1d7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x460192[_0x5e1d7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x30ed96={..._0x11db75,[_0x5e1d7([0x6a,0x74,0x69])]:_0x460192[_0x5e1d7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x460192[_0x5e1d7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x30ed96[_0x5e1d7([0x76,0x63])],_0xd44d62(_0x30ed96)==_0x24615f;}}}async function _0x45cb82(){let _0x581462=!0x0;try{const _0x491d48=_0x595ea9[_0x5e1d7([0x73,0x70,0x6c,0x69,0x74])](_0x5e1d7([0x2e])),[_0x2a8bbb,_0x648781,_0x272573]=_0x491d48;return _0x5787fa(_0x2a8bbb),await _0x2c08bf(_0x2a8bbb,_0x648781,_0x272573),_0x581462;}catch{return!0x1;}function _0x5787fa(_0x4c0594){const _0x3c09dc=_0x4bda82(_0x4c0594);_0x3c09dc&&_0x3c09dc[_0x5e1d7([0x61,0x6c,0x67])]==_0x5e1d7([0x45,0x53,0x32,0x35,0x36])||(_0x581462=!0x1);}async function _0x2c08bf(_0x4bb59a,_0x2542e1,_0x3ff546){const _0x2f8225=window[_0x5e1d7([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5e1d7([0x66,0x72,0x6f,0x6d])](_0x236800(_0x3ff546),_0x2b7a16=>_0x2b7a16[_0x5e1d7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x358bc2=new window[(_0x5e1d7([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5e1d7([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4bb59a+_0x5e1d7([0x2e])+_0x2542e1),_0x2eef1f=window[_0x5e1d7([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5e1d7([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2eef1f)return;const _0x2e78bd=await _0x2eef1f[_0x5e1d7([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5e1d7([0x6a,0x77,0x6b]),_0x222c40,{[_0x5e1d7([0x6e,0x61,0x6d,0x65])]:_0x5e1d7([0x45,0x43,0x44,0x53,0x41]),[_0x5e1d7([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5e1d7([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5e1d7([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2eef1f[_0x5e1d7([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5e1d7([0x6e,0x61,0x6d,0x65])]:_0x5e1d7([0x45,0x43,0x44,0x53,0x41]),[_0x5e1d7([0x68,0x61,0x73,0x68])]:{[_0x5e1d7([0x6e,0x61,0x6d,0x65])]:_0x5e1d7([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2e78bd,_0x2f8225,_0x358bc2)||(_0x581462=!0x1);}}function _0x4bda82(_0x2eac9f){return _0x2eac9f[_0x5e1d7([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5e1d7([0x65,0x79]))?JSON[_0x5e1d7([0x70,0x61,0x72,0x73,0x65])](_0x236800(_0x2eac9f)):null;}function _0x236800(_0x35f379){return window[_0x5e1d7([0x61,0x74,0x6f,0x62])](_0x35f379[_0x5e1d7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5e1d7([0x2b]))[_0x5e1d7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5e1d7([0x2f])));}function _0xd44d62(_0x4ae2c1){let _0x109bb4=0x1505;function _0x32274f(_0x16072c){for(let _0x1cde2c=0x0;_0x1cde2c<_0x16072c[_0x5e1d7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1cde2c++){const _0x81fc04=_0x16072c[_0x5e1d7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1cde2c);_0x109bb4=(_0x109bb4<<0x5)+_0x109bb4+_0x81fc04,_0x109bb4&=_0x109bb4;}}function _0x5792f4(_0x52b543){Array[_0x5e1d7([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x52b543)?_0x52b543[_0x5e1d7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5792f4):_0x52b543&&typeof _0x52b543==_0x5e1d7([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5e1d7([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x52b543)[_0x5e1d7([0x73,0x6f,0x72,0x74])]()[_0x5e1d7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x204b9d,_0x431e29])=>{_0x32274f(_0x204b9d),_0x5792f4(_0x431e29);}):_0x32274f(window[_0x5e1d7([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x52b543));}return _0x5792f4(_0x4ae2c1),_0x109bb4>>>0x0;}function _0x5d938e(_0x29a7d){return _0x29a7d[_0x5e1d7([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5e1d7([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5e1d7([0x30]));}function _0xf1cb50(_0xb8f8f2){return _0xb8f8f2[_0x5e1d7([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5e1d7([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5e1d7([0x6a,0x6f,0x69,0x6e])]('');}function _0x5bf4cc(){}function _0x5e1d7(_0x535082){return _0x535082['map'](_0x156d19=>String['fromCharCode'](_0x156d19))['join']('');}_0x2fe1f9(await _0x3af8ca());}(this);}}class g extends _0x3f05af{['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 _0x56d185=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x16172c;for(const _0x4fc98f in _0x56d185){const _0x1da0d3=_0x4fc98f,_0x4571a9=_0x56d185[_0x1da0d3];if('exportInlineStylesLicenseKeyValid'==_0x4571a9||'exportInlineStylesLicenseKeyInvalid'==_0x4571a9||'exportInlineStylesLicenseKeyExpired'==_0x4571a9||'exportInlineStylesLicenseKeyDomainLimit'==_0x4571a9||'exportInlineStylesLicenseKeyNotAllowed'==_0x4571a9||'exportInlineStylesLicenseKeyEvaluationLimit'==_0x4571a9||'exportInlineStylesLicenseKeyUsageLimit'==_0x4571a9){delete _0x56d185[_0x1da0d3],_0x16172c=_0x4571a9,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'exportInlineStylesLicenseKeyInvalid'==_0x16172c&&_0x56d185['_showLicenseError']('invalid'),'exportInlineStylesLicenseKeyExpired'==_0x16172c&&_0x56d185['_showLicenseError']('expired'),'exportInlineStylesLicenseKeyDomainLimit'==_0x16172c&&_0x56d185['_showLicenseError']('domainLimit'),'exportInlineStylesLicenseKeyNotAllowed'==_0x16172c&&_0x56d185['_showLicenseError']('featureNotAllowed','ExportInlineStyles'),'exportInlineStylesLicenseKeyEvaluationLimit'==_0x16172c&&_0x56d185['_showLicenseError']('evaluationLimit'),'exportInlineStylesLicenseKeyUsageLimit'==_0x16172c&&_0x56d185['_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 _0x241693,Plugin as _0x36af60}from'@ckeditor/ckeditor5-core/dist/index.js';import{collectStylesheets as _0x10fe95,createElement as _0x1a7fd4,uid as _0x34dbe5}from'@ckeditor/ckeditor5-utils/dist/index.js';import{StylesMap as _0x197960,addMarginStylesRules as _0x2dafd0,addPaddingStylesRules as _0x160fc5}from'@ckeditor/ckeditor5-engine/dist/index.js';import{calculate as _0x29bbb1,compare as _0x419762}from'specificity';function f(_0xd62165){const _0x693230=[];let _0x46a4f2='',_0x5df475=0x0;for(;_0x5df475<_0xd62165['length'];){const _0x45eb47=_0xd62165[_0x5df475];if('('===_0x45eb47){const _0x401a6d=y(_0xd62165,_0x5df475+0x1);if(-0x1===_0x401a6d)return[];_0x46a4f2+=_0xd62165['slice'](_0x5df475,_0x401a6d+0x1),_0x5df475=_0x401a6d+0x1;}else','!==_0x45eb47||_0x46a4f2['endsWith']('\x5c')?(_0x46a4f2+=_0x45eb47,_0x5df475++):(_0x693230['push'](_0x46a4f2['trim']()),_0x46a4f2='',_0x5df475++);}return _0x46a4f2['trim']()&&_0x693230['push'](_0x46a4f2['trim']()),_0x693230['filter'](Boolean);}function y(_0x28141c,_0x26bec7){let _0x7e03ed=0x1;for(let _0x3aa5a4=_0x26bec7;_0x3aa5a4<_0x28141c['length'];_0x3aa5a4++){const _0x4b00c0=_0x28141c[_0x3aa5a4];if('('===_0x4b00c0)_0x7e03ed++;else{if(')'===_0x4b00c0&&(_0x7e03ed--,0x0===_0x7e03ed))return _0x3aa5a4;}}return-0x1;}function w(_0x347ff8){return _0x347ff8['replace'](/!\s*important/i,'')['trim']();}function d(_0x5cd1b9,_0x8b9cda){const _0x4075a9=new Map(),_0x100447=_0x112895=>_0x4075a9['has'](_0x112895)?_0x4075a9['get'](_0x112895):_0x5cd1b9(_0x112895);for(const [_0x4b3b38,_0x5ce5d4]of _0x8b9cda['getStylesEntries']())if(_0x5ce5d4&&_0x4b3b38['startsWith']('--')){const _0x5e98b1=p(_0x100447,_0x5ce5d4);_0x4075a9['set'](_0x4b3b38,_0x5e98b1),_0x8b9cda['remove'](_0x4b3b38);}for(const [_0x431039,_0x531bf2]of _0x8b9cda['getStylesEntries']())if(_0x531bf2){const _0x5efa53=p(_0x100447,_0x531bf2);_0x8b9cda['set'](_0x431039,_0x5efa53);}return _0x4075a9;}function p(_0x1db91c,_0x2a5344){return function(_0x2e4279,_0x5c8327){let _0x2820b2='',_0x5e79c7=0x0;for(;_0x5e79c7<_0x2e4279['length'];){const _0x21ed98=_0x2e4279['indexOf']('var(',_0x5e79c7);if(-0x1===_0x21ed98){_0x2820b2+=_0x2e4279['slice'](_0x5e79c7);break;}_0x2820b2+=_0x2e4279['slice'](_0x5e79c7,_0x21ed98);const _0xe5b361=_0x21ed98+0x4,_0x3c0c5f=y(_0x2e4279,_0xe5b361);_0x2820b2+=_0x5c8327(_0x2e4279['substring'](_0xe5b361,_0x3c0c5f)),_0x5e79c7=_0x3c0c5f+0x1;}return _0x2820b2;}(_0x2a5344,_0x434df1=>{const [_0x3ab0da,_0x3c0572]=f(_0x434df1),_0x598861=_0x1db91c(_0x3ab0da);return void 0x0!==_0x598861?_0x598861:_0x3c0572?p(_0x1db91c,_0x3c0572):'var('+_0x3ab0da+')';});}async function m(_0x24d89b){const _0xaae50f=[await _0x10fe95(_0x24d89b['stylesheets']),_0x24d89b['inlineCss']]['filter'](_0x2310b8=>_0x2310b8&&_0x2310b8['length'])['join']('\x0a'),_0x32a92e=await async function(_0x248706,_0x579437){const _0x5c9c46=new CSSStyleSheet();return await _0x5c9c46['replace'](_0x579437),h(Array['from'](_0x5c9c46['cssRules'])['filter'](_0x3b047b=>_0x3b047b instanceof CSSStyleRule))['flatMap'](({selectorText:_0x41f1ae,contentCssText:_0x1c799c})=>{const _0x240e53=f(_0x41f1ae),_0x33e08e=new _0x197960(_0x248706)['setTo'](_0x1c799c);return _0x240e53['map'](_0x2c6c93=>{const _0x1a202e=function(_0x52b9b5){const _0x4a39b1=':where(';let _0x47b967=_0x52b9b5,_0x34515b=0x0;for(let _0x572a1a=0x0;_0x572a1a<0x64;_0x572a1a++){const _0xff8bb6=_0x47b967['indexOf'](_0x4a39b1,_0x34515b);if(-0x1===_0xff8bb6)break;let _0x1a1b03=0x0;for(let _0x298ea9=0x0;_0x298ea9<_0xff8bb6;_0x298ea9++)'('===_0x47b967[_0x298ea9]?_0x1a1b03++:')'===_0x47b967[_0x298ea9]&&_0x1a1b03--;if(_0x1a1b03>0x0){_0x34515b=_0xff8bb6+_0x4a39b1['length'];continue;}let _0x493263=-0x1;for(let _0x45b5d5=_0xff8bb6+_0x4a39b1['length'],_0x4ed552=0x1;_0x45b5d5<_0x47b967['length'];_0x45b5d5++)if('('===_0x47b967[_0x45b5d5]?_0x4ed552++:')'===_0x47b967[_0x45b5d5]&&_0x4ed552--,!_0x4ed552){_0x493263=_0x45b5d5;break;}-0x1!==_0x493263?(_0x47b967=_0x47b967['slice'](0x0,_0xff8bb6)+_0x47b967['slice'](_0x493263+0x1),_0x34515b=_0xff8bb6):_0x34515b=_0xff8bb6+_0x4a39b1['length'];}return _0x47b967['replace'](/\s+/g,'\x20')['trim']();}(_0x2c6c93),_0x1f6b8b=_0x1a202e?_0x29bbb1(_0x1a202e)[0x0]['specificityArray']:[0x0,0x0,0x0,0x0];return{'stylesMap':_0x33e08e,'flatSelector':_0x2c6c93,'specificity':_0x1f6b8b};});})['sort']((_0x284bcf,_0x1b8b07)=>_0x419762(_0x284bcf['specificity'],_0x1b8b07['specificity']));}(_0x24d89b['stylesProcessor'],_0xaae50f);return{'parsedCssRules':_0x32a92e,'rootCssVariables':function(_0x244fcb){const _0x412349=new Map();for(const {stylesMap:_0x5cd638,flatSelector:_0x4b085a}of _0x244fcb){if(':root'!==_0x4b085a)continue;const _0x50e35b=d(_0x412349['get']['bind'](_0x412349),_0x5cd638);for(const [_0x4e7780,_0xff87e1]of _0x50e35b)_0x412349['set'](_0x4e7780,_0xff87e1);}return _0x412349;}(_0x32a92e)};}function h(_0x108f00,_0x107566=''){return _0x108f00['flatMap'](_0x296395=>{const {selectorText:_0x1b364d,cssText:_0x51d007,cssRules:_0x3dfe8b}=_0x296395;if(!_0x1b364d)return[];const _0x30f3da=_0x1b364d['replace'](/&/g,_0x107566);let _0x1afa9f=_0x51d007['replace'](_0x1b364d,'')['trim']()['replace'](/^{|}$/g,'');if(!_0x3dfe8b||!_0x3dfe8b['length'])return[{'selectorText':_0x30f3da,'contentCssText':_0x1afa9f}];for(const _0x100208 of _0x3dfe8b)_0x1afa9f=_0x1afa9f['replace'](_0x100208['cssText'],'')['trim']();return[{'selectorText':_0x30f3da,'contentCssText':_0x1afa9f},...h(Array['from'](_0x3dfe8b),_0x30f3da)];});}function S(_0x10c3c1,_0x534bdf){const _0x46d9b6=new _0x197960(_0x10c3c1);for(const _0x26af96 of _0x534bdf){let _0x561176=null;if(_0x561176='string'==typeof _0x26af96?new _0x197960(_0x10c3c1)['setTo'](_0x26af96):_0x26af96,_0x561176){for(const [_0x7479e2,_0x33d4a7]of _0x561176['getStylesEntries']())_0x46d9b6['set'](_0x7479e2,_0x33d4a7);}}return _0x46d9b6;}class x extends _0x241693{['_stylesProcessor'];constructor(_0x628f8e){super(_0x628f8e),this['set']('isBusy',!0x1),this['_stylesProcessor']=this['editor']['data']['stylesProcessor'],_0x2dafd0(this['_stylesProcessor']),_0x160fc5(this['_stylesProcessor']),this['affectsData']=!0x1;}['refresh'](){this['isEnabled']=!this['isBusy'],this['value']=this['isBusy']?'pending':void 0x0;}async['execute'](_0x5be6a4){const _0x3facbf=this['editor']['config']['get']('exportInlineStyles'),{contentLanguageDirection:_0x5af68d}=this['editor']['locale'],{rootName:_0x2160b6='main',dataControllerDowncastOptions:_0x1cdb85={},transformations:_0x2140a6=_0x3facbf['transformations']||[]}=_0x5be6a4||{};this['isBusy']=!0x0,this['refresh']();const _0x25906b=this['_getRootDataHTMLFragment'](_0x2160b6,_0x1cdb85),_0x5859de=_0x1a7fd4(_0x25906b['ownerDocument'],'div',{'dir':_0x5af68d,'class':'ck-content'},[_0x25906b]);return this['_collectAndApplyStyles'](_0x2140a6,_0x5859de)['then'](()=>{const _0x9c5b89=function(_0x2f5e13){const _0x55302a=_0x2f5e13['ownerDocument']['createDocumentFragment']();for(;_0x2f5e13['firstChild'];)_0x55302a['appendChild'](_0x2f5e13['firstChild']);return _0x55302a;}(_0x5859de),_0x1e059b=_0x5859de['getAttribute']('style');if(_0x1e059b)for(const _0x2827de of _0x9c5b89['children']){const _0x107cba=_0x2827de['getAttribute']('style'),_0x5dfd8f=S(this['_stylesProcessor'],[_0x1e059b,_0x107cba]);_0x2827de['setAttribute']('style',C(_0x5dfd8f));}return this['editor']['data']['htmlProcessor']['htmlWriter']['getHtml'](_0x9c5b89);})['finally'](()=>{this['isBusy']=!0x1,this['refresh']();});}['_getRootDataHTMLFragment'](_0x1b3555,_0x22780f){const {data:_0x3d7324,model:_0x2e40f0}=this['editor'],_0x3496c1=_0x2e40f0['document']['getRoot'](_0x1b3555),_0x69dd48=_0x3d7324['toView'](_0x3496c1,_0x22780f);return _0x3d7324['htmlProcessor']['domConverter']['viewToDom'](_0x69dd48);}async['_collectAndApplyStyles'](_0x59b31d,_0x28b504){const {stylesheets:_0x498ac3,inlineCss:_0xc91b1d,stripCssClasses:_0x23f534}=this['editor']['config']['get']('exportInlineStyles'),{parsedCssRules:_0x356374,rootCssVariables:_0x5402a0}=await m({'stylesheets':_0x498ac3||['EDITOR_STYLES'],'stylesProcessor':this['_stylesProcessor'],'inlineCss':_0xc91b1d}),_0xff92f2=[];this['_processElementTree']({'transformations':_0x59b31d,'parsedCssRules':_0x356374,'element':_0x28b504,'stripCssClasses':_0x23f534,'parentCSSVariablesLookup':_0x5402a0['get']['bind'](_0x5402a0),'runAfterDocumentTransformation':_0x233909=>{_0xff92f2['unshift'](_0x233909);}});for(const _0x55c036 of _0xff92f2)_0x55c036();}['_processElementTree']({element:_0x544684,parsedCssRules:_0x4a6711,parentCSSVariablesLookup:_0x1d15cc,runAfterDocumentTransformation:_0x3b72b6,stripCssClasses:_0xd5d60,transformations:_0x2337dc}){const {stylesMap:_0x5d473a,localCSSVariables:_0x72b365}=function(_0x211d4c){const _0x10c2bc=_0x211d4c['element']['getAttribute']('style')||'',_0x2d9878=_0x211d4c['parsedCssRules']['filter'](_0x5df980=>_0x211d4c['element']['matches'](_0x5df980['flatSelector']))['map'](_0x1f81db=>_0x1f81db['stylesMap']),_0x40bdae=S(_0x211d4c['stylesProcessor'],[..._0x2d9878,_0x10c2bc]);return{'localCSSVariables':d(_0x211d4c['fallbackCSSVariablesLookup'],_0x40bdae),'stylesMap':_0x40bdae};}({'stylesProcessor':this['_stylesProcessor'],'fallbackCSSVariablesLookup':_0x1d15cc,'parsedCssRules':_0x4a6711,'element':_0x544684}),_0x3a1ab5=[];for(const _0x3e2505 of _0x2337dc){const _0xe97b1a=_0x3e2505(_0x544684,_0x5d473a,{'runAfterDocumentTransformation':_0x3b72b6,'runAfterChildrenTransformation':_0x599945=>{_0x3a1ab5['unshift'](_0x599945);}});_0xe97b1a&&_0xe97b1a instanceof HTMLElement&&(_0x544684=_0xe97b1a);}_0x5d473a['size']?_0x544684['setAttribute']('style',C(_0x5d473a)):_0x544684['removeAttribute']('style');const _0x22fbf8=_0x40a925=>_0x72b365['has'](_0x40a925)?_0x72b365['get'](_0x40a925):_0x1d15cc(_0x40a925);for(const _0x3a144d of _0x544684['children'])_0x3a144d instanceof HTMLElement&&this['_processElementTree']({'element':_0x3a144d,'parsedCssRules':_0x4a6711,'stripCssClasses':_0xd5d60,'transformations':_0x2337dc,'parentCSSVariablesLookup':_0x22fbf8,'runAfterDocumentTransformation':_0x3b72b6});_0xd5d60&&_0x544684['removeAttribute']('class');for(const _0x54fe40 of _0x3a1ab5)_0x54fe40();}}function C(_0xb725e2){return _0xb725e2['getStylesEntries']()['map'](_0x2f2c9f=>_0x2f2c9f['join'](':'))['join'](';')+';';}class L extends _0x36af60{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(_0x5d1258){const _0x4e3abf=_0x1d4ff5([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]),_0x35a508=0x6f40c3fb,_0x424453=0x6f474ab3^_0x35a508,_0x1774b1=window[_0x1d4ff5([0x44,0x61,0x74,0x65])][_0x1d4ff5([0x6e,0x6f,0x77])](),_0x516ad7=_0x5d1258[_0x1d4ff5([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xa28655=new window[(_0x1d4ff5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1e9cb7=>{_0x516ad7[_0x1d4ff5([0x6f,0x6e,0x63,0x65])](_0x1d4ff5([0x72,0x65,0x61,0x64,0x79]),_0x1e9cb7);}),_0x39d209={[_0x1d4ff5([0x6b,0x74,0x79])]:_0x1d4ff5([0x45,0x43]),[_0x1d4ff5([0x75,0x73,0x65])]:_0x1d4ff5([0x73,0x69,0x67]),[_0x1d4ff5([0x63,0x72,0x76])]:_0x1d4ff5([0x50,0x2d,0x32,0x35,0x36]),[_0x1d4ff5([0x78])]:_0x1d4ff5([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]),[_0x1d4ff5([0x79])]:_0x1d4ff5([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]),[_0x1d4ff5([0x61,0x6c,0x67])]:_0x1d4ff5([0x45,0x53,0x32,0x35,0x36])},_0x386640=_0x516ad7[_0x1d4ff5([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1d4ff5([0x67,0x65,0x74])](_0x1d4ff5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x195e47(){let _0x2f128b,_0x5bbb81=null,_0x2561d8=null;try{if(_0x386640==_0x1d4ff5([0x47,0x50,0x4c]))return _0x1d4ff5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2f128b=_0x59a205(),!_0x2f128b)return _0x1d4ff5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2f128b[_0x1d4ff5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2561d8=_0x2db97b(_0x2f128b[_0x1d4ff5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2f128b[_0x1d4ff5([0x6a,0x74,0x69])])),await _0x57bb67()?_0x1b90cb()?_0x552136()?_0x1d4ff5([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x34c534()?(_0x2f128b[_0x1d4ff5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1d4ff5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5bbb81=_0x161538(_0x1d4ff5([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x53c7b7()):_0x1d4ff5([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1d4ff5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1d4ff5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1d4ff5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x552136(){const _0x2092fa=[_0x1d4ff5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1d4ff5([0x74,0x72,0x69,0x61,0x6c])][_0x1d4ff5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2f128b[_0x1d4ff5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1774b1/0x3e8:0xe10*_0x424453;return _0x2f128b[_0x1d4ff5([0x65,0x78,0x70])]<_0x2092fa;}function _0x1b90cb(){const _0x3c90d9=_0x2f128b[_0x1d4ff5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3c90d9&&(!!_0x3c90d9[_0x1d4ff5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1d4ff5([0x2a]))||!!_0x3c90d9[_0x1d4ff5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1d4ff5([0x45,0x49,0x53])));}function _0x34c534(){const _0x2c1479=_0x2f128b[_0x1d4ff5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2c1479||0x0==_0x2c1479[_0x1d4ff5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5ee195}=new URL(window[_0x1d4ff5([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x2c1479[_0x1d4ff5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5ee195))return!0x0;const _0x13ad4b=_0x5ee195[_0x1d4ff5([0x73,0x70,0x6c,0x69,0x74])](_0x1d4ff5([0x2e]));return _0x2c1479[_0x1d4ff5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2d46e9=>_0x2d46e9[_0x1d4ff5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1d4ff5([0x2a])))[_0x1d4ff5([0x6d,0x61,0x70])](_0x502445=>_0x502445[_0x1d4ff5([0x73,0x70,0x6c,0x69,0x74])](_0x1d4ff5([0x2e])))[_0x1d4ff5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4a6f88=>_0x4a6f88[_0x1d4ff5([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x13ad4b[_0x1d4ff5([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1d4ff5([0x6d,0x61,0x70])](_0x5889df=>Array(_0x13ad4b[_0x1d4ff5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5889df[_0x1d4ff5([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1d4ff5([0x66,0x69,0x6c,0x6c])](_0x5889df[0x0]===_0x1d4ff5([0x2a])?_0x1d4ff5([0x2a]):'')[_0x1d4ff5([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5889df))[_0x1d4ff5([0x73,0x6f,0x6d,0x65])](_0x9b89b4=>_0x13ad4b[_0x1d4ff5([0x65,0x76,0x65,0x72,0x79])]((_0x46e1b3,_0x4a9e58)=>_0x9b89b4[_0x4a9e58]===_0x46e1b3||_0x9b89b4[_0x4a9e58]===_0x1d4ff5([0x2a])));}function _0x53c7b7(){return _0x5bbb81&&_0x2561d8?new window[(_0x1d4ff5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x225cda,_0xc0ea08)=>{_0x5bbb81[_0x1d4ff5([0x74,0x68,0x65,0x6e])](_0x225cda,_0xc0ea08),_0x2561d8[_0x1d4ff5([0x74,0x68,0x65,0x6e])](_0x1da88a=>{_0x1da88a!=_0x1d4ff5([0x56,0x61,0x6c,0x69,0x64])&&_0x225cda(_0x1da88a);},_0xc0ea08);}):_0x5bbb81||_0x2561d8||_0x1d4ff5([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2db97b(_0x2a4e8e,_0x4d66d8){return new window[(_0x1d4ff5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x17be06=>{if(_0x29c695())return _0x17be06(_0x1d4ff5([0x56,0x61,0x6c,0x69,0x64]));_0x1b38e3(),_0x516ad7[_0x1d4ff5([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1d4ff5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x44fb92=!0x1;const _0x4960e5=_0x34dbe5();function _0x2f3028(_0x5f39b4){return!!_0x5f39b4&&(typeof _0x5f39b4===_0x1d4ff5([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5f39b4===_0x1d4ff5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5f39b4[_0x1d4ff5([0x74,0x68,0x65,0x6e])]===_0x1d4ff5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5f39b4[_0x1d4ff5([0x63,0x61,0x74,0x63,0x68])]===_0x1d4ff5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x899745(_0x6e6024){_0x541b07(_0x6e6024)[_0x1d4ff5([0x74,0x68,0x65,0x6e])](_0x2afddd=>{if(!_0x2afddd||_0x2afddd[_0x1d4ff5([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1d4ff5([0x6f,0x6b]))return _0x1d4ff5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x30df10(_0x3f491a(_0x4960e5+_0x4d66d8))!=_0x2afddd[_0x1d4ff5([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1d4ff5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1d4ff5([0x56,0x61,0x6c,0x69,0x64]);})[_0x1d4ff5([0x74,0x68,0x65,0x6e])](_0x9e6636=>(_0x4f4d1b(),_0x9e6636),()=>{const _0x4cfb5d=_0x4ee454();return null==_0x4cfb5d?(_0x4f4d1b(),_0x1d4ff5([0x56,0x61,0x6c,0x69,0x64])):_0x1d4ff5(_0x1774b1-_0x4cfb5d>(0x4b4c47fb^_0x35a508)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1d4ff5([0x74,0x68,0x65,0x6e])](_0x17be06)[_0x1d4ff5([0x63,0x61,0x74,0x63,0x68])](()=>{_0x17be06(_0x1d4ff5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1aaa5f=0x6f762d7b^_0x35a508;function _0x4f4d1b(){const _0x3e351e=_0x1d4ff5([0x6c,0x6c,0x63,0x74,0x2d])+_0x30df10(_0x3f491a(_0x2a4e8e)),_0x32f9ff=_0x453fb0(_0x30df10(window[_0x1d4ff5([0x4d,0x61,0x74,0x68])][_0x1d4ff5([0x63,0x65,0x69,0x6c])](_0x1774b1/_0x1aaa5f)));window[_0x1d4ff5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1d4ff5([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3e351e,_0x32f9ff);}function _0x4ee454(){const _0x4e0fd6=_0x1d4ff5([0x6c,0x6c,0x63,0x74,0x2d])+_0x30df10(_0x3f491a(_0x2a4e8e)),_0x37b040=window[_0x1d4ff5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1d4ff5([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4e0fd6);return _0x37b040?window[_0x1d4ff5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x453fb0(_0x37b040),0x10)*_0x1aaa5f:null;}function _0x541b07(_0x52ea9e){return new window[(_0x1d4ff5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xb11e4,_0x4a1c1b)=>{_0x52ea9e[_0x1d4ff5([0x74,0x68,0x65,0x6e])](_0xb11e4,_0x4a1c1b),window[_0x1d4ff5([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4a1c1b,0x6f41173b^_0x35a508);});}}_0x516ad7[_0x1d4ff5([0x6f,0x6e])](_0x1d4ff5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x222136,_0x2c4f17)=>{if(_0x2c4f17[0x0]!=_0x2a4e8e)return _0x17be06(_0x1d4ff5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2c4f17[0x1]={..._0x2c4f17[0x1],[_0x1d4ff5([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4960e5};},{[_0x1d4ff5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1d4ff5([0x68,0x69,0x67,0x68])}),_0x516ad7[_0x1d4ff5([0x6f,0x6e])](_0x1d4ff5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x512a92=>{_0x2f3028(_0x512a92[_0x1d4ff5([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x44fb92=!0x0,_0x899745(_0x512a92[_0x1d4ff5([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1d4ff5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1d4ff5([0x6c,0x6f,0x77])}),_0xa28655[_0x1d4ff5([0x74,0x68,0x65,0x6e])](()=>{_0x44fb92||_0x17be06(_0x1d4ff5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x29c695(){return _0x516ad7[_0x1d4ff5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1d4ff5([0x76,0x69,0x65,0x77])][_0x1d4ff5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1d4ff5([0x61,0x75,0x74,0x6f]);}function _0x1b38e3(){_0x516ad7[_0x1d4ff5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1d4ff5([0x76,0x69,0x65,0x77])][_0x1d4ff5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1d4ff5([0x61,0x75,0x74,0x6f]);}}function _0x161538(_0x50bee0){const _0x3118b3=[new window[(_0x1d4ff5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3d176f=>setTimeout(_0x3d176f,0x6f49fd37^_0x35a508)),_0xa28655[_0x1d4ff5([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1d4ff5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3b41e8=>{let _0x54b29f=0x0;_0x516ad7[_0x1d4ff5([0x6d,0x6f,0x64,0x65,0x6c])][_0x1d4ff5([0x6f,0x6e])](_0x1d4ff5([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4cbfb8,_0x5a635c)=>{_0x5a635c[0x0][_0x1d4ff5([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x54b29f++,_0x54b29f==(0x6f40c613^_0x35a508)&&(_0x3b41e8(),_0x4cbfb8[_0x1d4ff5([0x6f,0x66,0x66])]());});}))];return window[_0x1d4ff5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1d4ff5([0x72,0x61,0x63,0x65])](_0x3118b3)[_0x1d4ff5([0x74,0x68,0x65,0x6e])](()=>_0x50bee0);}async function _0x4cfe74(){await _0xa28655;const _0x37f425=_0x516ad7['commands'][_0x1d4ff5([0x67,0x65,0x74])](_0x1d4ff5([0x65,0x78,0x70,0x6f,0x72,0x74,0x49,0x6e,0x6c,0x69,0x6e,0x65,0x53,0x74,0x79,0x6c,0x65,0x73]));_0x37f425&&_0x37f425[_0x1d4ff5([0x6f,0x6e])](_0x1d4ff5([0x65,0x78,0x65,0x63,0x75,0x74,0x65]),_0x2357af=>{_0x2357af['stop']();},{'priority':_0x1d4ff5([0x68,0x69,0x67,0x68,0x65,0x73,0x74])}),_0x516ad7[_0x1d4ff5([0x6d,0x6f,0x64,0x65,0x6c])][_0x1d4ff5([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1a2694,_0x516ad7[_0x1d4ff5([0x6d,0x6f,0x64,0x65,0x6c])][_0x1d4ff5([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1a2694,_0x516ad7[_0x1d4ff5([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1d4ff5([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x35953b(_0x549a6c){const _0x4f8a7b=_0x4c0bf8();_0x516ad7[_0x4f8a7b]=_0x1d4ff5([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])+_0x549a6c,_0x549a6c!=_0x1d4ff5([0x56,0x61,0x6c,0x69,0x64])&&_0x4cfe74();}function _0x4c0bf8(){const _0x156c57=window[_0x1d4ff5([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1d4ff5([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1d4ff5([0x6e,0x6f,0x77])]())[_0x1d4ff5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1d4ff5([0x2e]),'');let _0x1c0a68=_0x1d4ff5([0x44]);for(let _0x567d26=0x0;_0x567d26<_0x156c57[_0x1d4ff5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x567d26+=0x2){let _0x4e62ee=window[_0x1d4ff5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x156c57[_0x1d4ff5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x567d26,_0x567d26+0x2));_0x4e62ee>=_0x4e3abf[_0x1d4ff5([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4e62ee-=_0x4e3abf[_0x1d4ff5([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1c0a68+=_0x4e3abf[_0x4e62ee];}return _0x1c0a68;}function _0x59a205(){const _0x4d4126=_0x386640[_0x1d4ff5([0x73,0x70,0x6c,0x69,0x74])](_0x1d4ff5([0x2e]));if(0x3!=_0x4d4126[_0x1d4ff5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x47d4d2(_0x4d4126[0x1]);function _0x47d4d2(_0xb80f55){const _0x2b527f=_0x260bdb(_0xb80f55);return _0x2b527f&&_0x2c760e()?_0x2b527f:null;function _0x2c760e(){const _0x4468ce=_0x2b527f[_0x1d4ff5([0x6a,0x74,0x69])],_0x30d3d7=window[_0x1d4ff5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4468ce[_0x1d4ff5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4468ce[_0x1d4ff5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x253e3d={..._0x2b527f,[_0x1d4ff5([0x6a,0x74,0x69])]:_0x4468ce[_0x1d4ff5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4468ce[_0x1d4ff5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x253e3d[_0x1d4ff5([0x76,0x63])],_0x3f491a(_0x253e3d)==_0x30d3d7;}}}async function _0x57bb67(){let _0x17b33f=!0x0;try{const _0x329835=_0x386640[_0x1d4ff5([0x73,0x70,0x6c,0x69,0x74])](_0x1d4ff5([0x2e])),[_0x4a50be,_0x16e7d7,_0x4d3d54]=_0x329835;return _0x3580b1(_0x4a50be),await _0x10548a(_0x4a50be,_0x16e7d7,_0x4d3d54),_0x17b33f;}catch{return!0x1;}function _0x3580b1(_0x13bb63){const _0x45b7d2=_0x260bdb(_0x13bb63);_0x45b7d2&&_0x45b7d2[_0x1d4ff5([0x61,0x6c,0x67])]==_0x1d4ff5([0x45,0x53,0x32,0x35,0x36])||(_0x17b33f=!0x1);}async function _0x10548a(_0x241a70,_0x2c0d04,_0x1df0c4){const _0x19d49c=window[_0x1d4ff5([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1d4ff5([0x66,0x72,0x6f,0x6d])](_0x122e08(_0x1df0c4),_0x2b54d0=>_0x2b54d0[_0x1d4ff5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4317a7=new window[(_0x1d4ff5([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1d4ff5([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x241a70+_0x1d4ff5([0x2e])+_0x2c0d04),_0x2d8f7a=window[_0x1d4ff5([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1d4ff5([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2d8f7a)return;const _0x4b0613=await _0x2d8f7a[_0x1d4ff5([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1d4ff5([0x6a,0x77,0x6b]),_0x39d209,{[_0x1d4ff5([0x6e,0x61,0x6d,0x65])]:_0x1d4ff5([0x45,0x43,0x44,0x53,0x41]),[_0x1d4ff5([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1d4ff5([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1d4ff5([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2d8f7a[_0x1d4ff5([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1d4ff5([0x6e,0x61,0x6d,0x65])]:_0x1d4ff5([0x45,0x43,0x44,0x53,0x41]),[_0x1d4ff5([0x68,0x61,0x73,0x68])]:{[_0x1d4ff5([0x6e,0x61,0x6d,0x65])]:_0x1d4ff5([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4b0613,_0x19d49c,_0x4317a7)||(_0x17b33f=!0x1);}}function _0x260bdb(_0xd4c46e){return _0xd4c46e[_0x1d4ff5([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1d4ff5([0x65,0x79]))?JSON[_0x1d4ff5([0x70,0x61,0x72,0x73,0x65])](_0x122e08(_0xd4c46e)):null;}function _0x122e08(_0x82568){return window[_0x1d4ff5([0x61,0x74,0x6f,0x62])](_0x82568[_0x1d4ff5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1d4ff5([0x2b]))[_0x1d4ff5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1d4ff5([0x2f])));}function _0x3f491a(_0x1c0829){let _0x4b0daa=0x1505;function _0x21bf32(_0x28ac6e){for(let _0x261558=0x0;_0x261558<_0x28ac6e[_0x1d4ff5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x261558++){const _0x294bea=_0x28ac6e[_0x1d4ff5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x261558);_0x4b0daa=(_0x4b0daa<<0x5)+_0x4b0daa+_0x294bea,_0x4b0daa&=_0x4b0daa;}}function _0x3cfb0b(_0x24fb57){Array[_0x1d4ff5([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x24fb57)?_0x24fb57[_0x1d4ff5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3cfb0b):_0x24fb57&&typeof _0x24fb57==_0x1d4ff5([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1d4ff5([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x24fb57)[_0x1d4ff5([0x73,0x6f,0x72,0x74])]()[_0x1d4ff5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xadd5fa,_0x2bac64])=>{_0x21bf32(_0xadd5fa),_0x3cfb0b(_0x2bac64);}):_0x21bf32(window[_0x1d4ff5([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x24fb57));}return _0x3cfb0b(_0x1c0829),_0x4b0daa>>>0x0;}function _0x30df10(_0x38200d){return _0x38200d[_0x1d4ff5([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1d4ff5([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1d4ff5([0x30]));}function _0x453fb0(_0x5f5440){return _0x5f5440[_0x1d4ff5([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1d4ff5([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1d4ff5([0x6a,0x6f,0x69,0x6e])]('');}function _0x1a2694(){}function _0x1d4ff5(_0x51043c){return _0x51043c['map'](_0x34bec2=>String['fromCharCode'](_0x34bec2))['join']('');}_0x35953b(await _0x195e47());}(this);}}class g extends _0x36af60{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'ExportInlineStyles';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[L];}['init'](){this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x26e8be=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x290d9b;for(const _0x24f427 in _0x26e8be){const _0x1e520b=_0x24f427,_0x13f155=_0x26e8be[_0x1e520b];if('exportInlineStylesLicenseKeyValid'==_0x13f155||'exportInlineStylesLicenseKeyInvalid'==_0x13f155||'exportInlineStylesLicenseKeyExpired'==_0x13f155||'exportInlineStylesLicenseKeyDomainLimit'==_0x13f155||'exportInlineStylesLicenseKeyNotAllowed'==_0x13f155||'exportInlineStylesLicenseKeyEvaluationLimit'==_0x13f155||'exportInlineStylesLicenseKeyUsageLimit'==_0x13f155){delete _0x26e8be[_0x1e520b],_0x290d9b=_0x13f155,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'exportInlineStylesLicenseKeyInvalid'==_0x290d9b&&_0x26e8be['_showLicenseError']('invalid'),'exportInlineStylesLicenseKeyExpired'==_0x290d9b&&_0x26e8be['_showLicenseError']('expired'),'exportInlineStylesLicenseKeyDomainLimit'==_0x290d9b&&_0x26e8be['_showLicenseError']('domainLimit'),'exportInlineStylesLicenseKeyNotAllowed'==_0x290d9b&&_0x26e8be['_showLicenseError']('featureNotAllowed','ExportInlineStyles'),'exportInlineStylesLicenseKeyEvaluationLimit'==_0x290d9b&&_0x26e8be['_showLicenseError']('evaluationLimit'),'exportInlineStylesLicenseKeyUsageLimit'==_0x290d9b&&_0x26e8be['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}export{g as ExportInlineStyles,x as ExportInlineStylesCommand,L as ExportInlineStylesEditing,w as dropImportantStyleSuffix};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-export-inline-styles",
|
|
3
|
-
"version": "48.0.
|
|
3
|
+
"version": "48.1.0-alpha.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.
|
|
38
|
-
"@ckeditor/ckeditor5-engine": "48.0.
|
|
39
|
-
"@ckeditor/ckeditor5-utils": "48.0.
|
|
37
|
+
"@ckeditor/ckeditor5-core": "48.1.0-alpha.0",
|
|
38
|
+
"@ckeditor/ckeditor5-engine": "48.1.0-alpha.0",
|
|
39
|
+
"@ckeditor/ckeditor5-utils": "48.1.0-alpha.0",
|
|
40
40
|
"specificity": "0.4.1"
|
|
41
41
|
},
|
|
42
42
|
"files": [
|