@ckeditor/ckeditor5-email 48.1.0-alpha.3 → 48.1.0-alpha.5
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 +10 -10
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as _0x1423a0}from'@ckeditor/ckeditor5-core/dist/index.js';import{uid as _0x3fc2d6}from'@ckeditor/ckeditor5-utils/dist/index.js';import{dropImportantStyleSuffix as _0x2f57de}from'@ckeditor/ckeditor5-export-inline-styles/dist/index.js';const r='https://ckeditor.com/docs/ckeditor5/latest';class s extends _0x1423a0{static get['pluginName'](){return'EmailConfigurationLogger';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x12e84a){super(_0x12e84a),_0x12e84a['config']['define']('email.logs',{'suppress':[],'suppressAll':!0x1});}['afterInit'](){!async function(_0x3d8711){const _0x5d674e=_0xc99586([0x75,0x69,0x7a,0x54,0x64,0x76,0x79,0x42,0x49,0x61,0x34,0x52,0x4b,0x73,0x6e,0x4f,0x59,0x6d,0x45,0x58,0x47,0x4d,0x66,0x6a,0x65,0x68,0x77,0x4a,0x51,0x71,0x62,0x50,0x53,0x43,0x6b,0x37,0x44,0x74,0x5a,0x67,0x46,0x35,0x38,0x4c,0x78,0x6c,0x32,0x39,0x48,0x6f,0x36,0x63,0x41,0x55,0x57,0x31,0x70,0x56,0x33,0x4e,0x72,0x30]),_0x174097=0x7780c648,_0x4b98b2=0x77874fd8^_0x174097,_0x96c92=window[_0xc99586([0x44,0x61,0x74,0x65])][_0xc99586([0x6e,0x6f,0x77])](),_0x20983f=_0x3d8711[_0xc99586([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x22f295=new window[(_0xc99586([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5828b5=>{_0x20983f[_0xc99586([0x6f,0x6e,0x63,0x65])](_0xc99586([0x72,0x65,0x61,0x64,0x79]),_0x5828b5);}),_0x373148={[_0xc99586([0x6b,0x74,0x79])]:_0xc99586([0x45,0x43]),[_0xc99586([0x75,0x73,0x65])]:_0xc99586([0x73,0x69,0x67]),[_0xc99586([0x63,0x72,0x76])]:_0xc99586([0x50,0x2d,0x32,0x35,0x36]),[_0xc99586([0x78])]:_0xc99586([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]),[_0xc99586([0x79])]:_0xc99586([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]),[_0xc99586([0x61,0x6c,0x67])]:_0xc99586([0x45,0x53,0x32,0x35,0x36])},_0x2a8673=_0x20983f[_0xc99586([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xc99586([0x67,0x65,0x74])](_0xc99586([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3c7641(){let _0x1d7f20,_0x41658c=null,_0x2b3a9c=null;try{if(_0x2a8673==_0xc99586([0x47,0x50,0x4c]))return _0xc99586([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1d7f20=_0x59c278(),!_0x1d7f20)return _0xc99586([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1d7f20[_0xc99586([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2b3a9c=_0x417623(_0x1d7f20[_0xc99586([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1d7f20[_0xc99586([0x6a,0x74,0x69])])),await _0x142d9a()?_0x2ac874()?_0x22041a()?_0xc99586([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xed54d()?(_0x1d7f20[_0xc99586([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xc99586([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x41658c=_0x21eacd(_0xc99586([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x337f4c()):_0xc99586([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xc99586([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xc99586([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xc99586([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x22041a(){const _0x4cd8e0=[_0xc99586([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xc99586([0x74,0x72,0x69,0x61,0x6c])][_0xc99586([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1d7f20[_0xc99586([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x96c92/0x3e8:0xe10*_0x4b98b2;return _0x1d7f20[_0xc99586([0x65,0x78,0x70])]<_0x4cd8e0;}function _0x2ac874(){const _0x36ce72=_0x1d7f20[_0xc99586([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x36ce72&&(!!_0x36ce72[_0xc99586([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xc99586([0x2a]))||!!_0x36ce72[_0xc99586([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xc99586([0x45,0x43,0x48])));}function _0xed54d(){const _0x188e15=_0x1d7f20[_0xc99586([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x188e15||0x0==_0x188e15[_0xc99586([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x33855d}=new URL(window[_0xc99586([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x188e15[_0xc99586([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x33855d))return!0x0;const _0x41293e=_0x33855d[_0xc99586([0x73,0x70,0x6c,0x69,0x74])](_0xc99586([0x2e]));return _0x188e15[_0xc99586([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4ad111=>_0x4ad111[_0xc99586([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xc99586([0x2a])))[_0xc99586([0x6d,0x61,0x70])](_0x2c9872=>_0x2c9872[_0xc99586([0x73,0x70,0x6c,0x69,0x74])](_0xc99586([0x2e])))[_0xc99586([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x433d88=>_0x433d88[_0xc99586([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x41293e[_0xc99586([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xc99586([0x6d,0x61,0x70])](_0x58f794=>Array(_0x41293e[_0xc99586([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x58f794[_0xc99586([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xc99586([0x66,0x69,0x6c,0x6c])](_0x58f794[0x0]===_0xc99586([0x2a])?_0xc99586([0x2a]):'')[_0xc99586([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x58f794))[_0xc99586([0x73,0x6f,0x6d,0x65])](_0x3629b3=>_0x41293e[_0xc99586([0x65,0x76,0x65,0x72,0x79])]((_0x347ca6,_0x1eca17)=>_0x3629b3[_0x1eca17]===_0x347ca6||_0x3629b3[_0x1eca17]===_0xc99586([0x2a])));}function _0x337f4c(){return _0x41658c&&_0x2b3a9c?new window[(_0xc99586([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3abe7e,_0x4f74ad)=>{_0x41658c[_0xc99586([0x74,0x68,0x65,0x6e])](_0x3abe7e,_0x4f74ad),_0x2b3a9c[_0xc99586([0x74,0x68,0x65,0x6e])](_0x2fe559=>{_0x2fe559!=_0xc99586([0x56,0x61,0x6c,0x69,0x64])&&_0x3abe7e(_0x2fe559);},_0x4f74ad);}):_0x41658c||_0x2b3a9c||_0xc99586([0x56,0x61,0x6c,0x69,0x64]);}}function _0x417623(_0x24e3f7,_0x3afc6e){return new window[(_0xc99586([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5d99d5=>{if(_0x49192c())return _0x5d99d5(_0xc99586([0x56,0x61,0x6c,0x69,0x64]));_0x18b493(),_0x20983f[_0xc99586([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xc99586([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x589787=!0x1;const _0x58e16e=_0x3fc2d6();function _0x40ea57(_0x127c4a){return!!_0x127c4a&&(typeof _0x127c4a===_0xc99586([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x127c4a===_0xc99586([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x127c4a[_0xc99586([0x74,0x68,0x65,0x6e])]===_0xc99586([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x127c4a[_0xc99586([0x63,0x61,0x74,0x63,0x68])]===_0xc99586([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x158c04(_0x55dbf7){_0x313b85(_0x55dbf7)[_0xc99586([0x74,0x68,0x65,0x6e])](_0x3d55c0=>{if(!_0x3d55c0||_0x3d55c0[_0xc99586([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xc99586([0x6f,0x6b]))return _0xc99586([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x54782b(_0x568ab1(_0x58e16e+_0x3afc6e))!=_0x3d55c0[_0xc99586([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xc99586([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xc99586([0x56,0x61,0x6c,0x69,0x64]);})[_0xc99586([0x74,0x68,0x65,0x6e])](_0x1b4c54=>(_0x2999de(),_0x1b4c54),()=>{const _0x392a87=_0x1468ce();return null==_0x392a87?(_0x2999de(),_0xc99586([0x56,0x61,0x6c,0x69,0x64])):_0xc99586(_0x96c92-_0x392a87>(0x538c4248^_0x174097)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xc99586([0x74,0x68,0x65,0x6e])](_0x5d99d5)[_0xc99586([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5d99d5(_0xc99586([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2fbf70=0x77b628c8^_0x174097;function _0x2999de(){const _0x1fc3d6=_0xc99586([0x6c,0x6c,0x63,0x74,0x2d])+_0x54782b(_0x568ab1(_0x24e3f7)),_0x5f4fad=_0x52b027(_0x54782b(window[_0xc99586([0x4d,0x61,0x74,0x68])][_0xc99586([0x63,0x65,0x69,0x6c])](_0x96c92/_0x2fbf70)));window[_0xc99586([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xc99586([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1fc3d6,_0x5f4fad);}function _0x1468ce(){const _0x3c8ab2=_0xc99586([0x6c,0x6c,0x63,0x74,0x2d])+_0x54782b(_0x568ab1(_0x24e3f7)),_0x593e93=window[_0xc99586([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xc99586([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3c8ab2);return _0x593e93?window[_0xc99586([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x52b027(_0x593e93),0x10)*_0x2fbf70:null;}function _0x313b85(_0x29baa0){return new window[(_0xc99586([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x19214d,_0x42e584)=>{_0x29baa0[_0xc99586([0x74,0x68,0x65,0x6e])](_0x19214d,_0x42e584),window[_0xc99586([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x42e584,0x77811288^_0x174097);});}}_0x20983f[_0xc99586([0x6f,0x6e])](_0xc99586([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x8efb2b,_0x5a6565)=>{if(_0x5a6565[0x0]!=_0x24e3f7)return _0x5d99d5(_0xc99586([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5a6565[0x1]={..._0x5a6565[0x1],[_0xc99586([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x58e16e};},{[_0xc99586([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xc99586([0x68,0x69,0x67,0x68])}),_0x20983f[_0xc99586([0x6f,0x6e])](_0xc99586([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x230d3b=>{_0x40ea57(_0x230d3b[_0xc99586([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x589787=!0x0,_0x158c04(_0x230d3b[_0xc99586([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xc99586([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xc99586([0x6c,0x6f,0x77])}),_0x22f295[_0xc99586([0x74,0x68,0x65,0x6e])](()=>{_0x589787||_0x5d99d5(_0xc99586([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x49192c(){return _0x20983f[_0xc99586([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xc99586([0x76,0x69,0x65,0x77])][_0xc99586([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xc99586([0x61,0x75,0x74,0x6f]);}function _0x18b493(){_0x20983f[_0xc99586([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xc99586([0x76,0x69,0x65,0x77])][_0xc99586([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xc99586([0x61,0x75,0x74,0x6f]);}}function _0x21eacd(_0x3fc5a0){const _0x5efa8c=[new window[(_0xc99586([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x142240=>setTimeout(_0x142240,0x7789f884^_0x174097)),_0x22f295[_0xc99586([0x74,0x68,0x65,0x6e])](()=>new window[(_0xc99586([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1e92c0=>{let _0x721e7f=0x0;_0x20983f[_0xc99586([0x6d,0x6f,0x64,0x65,0x6c])][_0xc99586([0x6f,0x6e])](_0xc99586([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xbdc935,_0x3f6977)=>{_0x3f6977[0x0][_0xc99586([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x721e7f++,_0x721e7f==(0x7780c3a0^_0x174097)&&(_0x1e92c0(),_0xbdc935[_0xc99586([0x6f,0x66,0x66])]());});}))];return window[_0xc99586([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xc99586([0x72,0x61,0x63,0x65])](_0x5efa8c)[_0xc99586([0x74,0x68,0x65,0x6e])](()=>_0x3fc5a0);}async function _0x5469ab(){await _0x22f295,_0x20983f[_0xc99586([0x6d,0x6f,0x64,0x65,0x6c])][_0xc99586([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x29bd72,_0x20983f[_0xc99586([0x6d,0x6f,0x64,0x65,0x6c])][_0xc99586([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x29bd72,_0x20983f[_0xc99586([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xc99586([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x227098(_0xfc36cb){const _0x3f2615=_0x5e410e();_0x20983f[_0x3f2615]=_0xc99586([0x65,0x6d,0x61,0x69,0x6c,0x43,0x6f,0x6e,0x66,0x69,0x67,0x75,0x72,0x61,0x74,0x69,0x6f,0x6e,0x48,0x65,0x6c,0x70,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xfc36cb,_0xfc36cb!=_0xc99586([0x56,0x61,0x6c,0x69,0x64])&&_0x5469ab();}function _0x5e410e(){const _0x64e128=window[_0xc99586([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xc99586([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xc99586([0x6e,0x6f,0x77])]())[_0xc99586([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xc99586([0x2e]),'');let _0xe731a0=_0xc99586([0x75]);for(let _0x4bbb99=0x0;_0x4bbb99<_0x64e128[_0xc99586([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4bbb99+=0x2){let _0x25beff=window[_0xc99586([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x64e128[_0xc99586([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4bbb99,_0x4bbb99+0x2));_0x25beff>=_0x5d674e[_0xc99586([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x25beff-=_0x5d674e[_0xc99586([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xe731a0+=_0x5d674e[_0x25beff];}return _0xe731a0;}function _0x59c278(){const _0x4d7464=_0x2a8673[_0xc99586([0x73,0x70,0x6c,0x69,0x74])](_0xc99586([0x2e]));if(0x3!=_0x4d7464[_0xc99586([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xa56f36(_0x4d7464[0x1]);function _0xa56f36(_0x4d9c26){const _0x44217c=_0x1e3b35(_0x4d9c26);return _0x44217c&&_0x4ec0d2()?_0x44217c:null;function _0x4ec0d2(){const _0x397f4a=_0x44217c[_0xc99586([0x6a,0x74,0x69])],_0x3c9051=window[_0xc99586([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x397f4a[_0xc99586([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x397f4a[_0xc99586([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5cf1fd={..._0x44217c,[_0xc99586([0x6a,0x74,0x69])]:_0x397f4a[_0xc99586([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x397f4a[_0xc99586([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5cf1fd[_0xc99586([0x76,0x63])],_0x568ab1(_0x5cf1fd)==_0x3c9051;}}}async function _0x142d9a(){let _0x35f5a2=!0x0;try{const _0x387a38=_0x2a8673[_0xc99586([0x73,0x70,0x6c,0x69,0x74])](_0xc99586([0x2e])),[_0x8d335a,_0x5451e7,_0x450225]=_0x387a38;return _0x5e51a9(_0x8d335a),await _0x1556d1(_0x8d335a,_0x5451e7,_0x450225),_0x35f5a2;}catch{return!0x1;}function _0x5e51a9(_0x211921){const _0x51a6d5=_0x1e3b35(_0x211921);_0x51a6d5&&_0x51a6d5[_0xc99586([0x61,0x6c,0x67])]==_0xc99586([0x45,0x53,0x32,0x35,0x36])||(_0x35f5a2=!0x1);}async function _0x1556d1(_0x5deb90,_0x1100b2,_0xaaf618){const _0xe115fe=window[_0xc99586([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xc99586([0x66,0x72,0x6f,0x6d])](_0x5b20f8(_0xaaf618),_0x1d9d9c=>_0x1d9d9c[_0xc99586([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2299ad=new window[(_0xc99586([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xc99586([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5deb90+_0xc99586([0x2e])+_0x1100b2),_0x159538=window[_0xc99586([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xc99586([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x159538)return;const _0x36458a=await _0x159538[_0xc99586([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xc99586([0x6a,0x77,0x6b]),_0x373148,{[_0xc99586([0x6e,0x61,0x6d,0x65])]:_0xc99586([0x45,0x43,0x44,0x53,0x41]),[_0xc99586([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xc99586([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xc99586([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x159538[_0xc99586([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xc99586([0x6e,0x61,0x6d,0x65])]:_0xc99586([0x45,0x43,0x44,0x53,0x41]),[_0xc99586([0x68,0x61,0x73,0x68])]:{[_0xc99586([0x6e,0x61,0x6d,0x65])]:_0xc99586([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x36458a,_0xe115fe,_0x2299ad)||(_0x35f5a2=!0x1);}}function _0x1e3b35(_0x86c36e){return _0x86c36e[_0xc99586([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xc99586([0x65,0x79]))?JSON[_0xc99586([0x70,0x61,0x72,0x73,0x65])](_0x5b20f8(_0x86c36e)):null;}function _0x5b20f8(_0x19dc4e){return window[_0xc99586([0x61,0x74,0x6f,0x62])](_0x19dc4e[_0xc99586([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xc99586([0x2b]))[_0xc99586([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xc99586([0x2f])));}function _0x568ab1(_0x201be1){let _0x2b661b=0x1505;function _0x255bf5(_0x321252){for(let _0x6254e0=0x0;_0x6254e0<_0x321252[_0xc99586([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x6254e0++){const _0x1fd09b=_0x321252[_0xc99586([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x6254e0);_0x2b661b=(_0x2b661b<<0x5)+_0x2b661b+_0x1fd09b,_0x2b661b&=_0x2b661b;}}function _0x4b46d3(_0x4b5907){Array[_0xc99586([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4b5907)?_0x4b5907[_0xc99586([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4b46d3):_0x4b5907&&typeof _0x4b5907==_0xc99586([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xc99586([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4b5907)[_0xc99586([0x73,0x6f,0x72,0x74])]()[_0xc99586([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2cc246,_0x2044ef])=>{_0x255bf5(_0x2cc246),_0x4b46d3(_0x2044ef);}):_0x255bf5(window[_0xc99586([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4b5907));}return _0x4b46d3(_0x201be1),_0x2b661b>>>0x0;}function _0x54782b(_0x1b5475){return _0x1b5475[_0xc99586([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xc99586([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xc99586([0x30]));}function _0x52b027(_0x31d895){return _0x31d895[_0xc99586([0x73,0x70,0x6c,0x69,0x74])]('')[_0xc99586([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xc99586([0x6a,0x6f,0x69,0x6e])]('');}function _0x29bd72(){}function _0xc99586(_0x3178d1){return _0x3178d1['map'](_0x6dd50f=>String['fromCharCode'](_0x6dd50f))['join']('');}_0x227098(await _0x3c7641());}(this);}['_logSuppressibleWarning'](_0x2497e2,_0xc9bb03){if(this['_isSuppressedLog'](_0x2497e2,_0xc9bb03))return;const _0x2fc2d1=r+'/support/error-codes.html#error-'+_0x2497e2;console['warn']('%cEmailConfigurationHelper%c\x20'+_0x2497e2,'background:\x20#E65100;\x20color:\x20white;\x20padding:\x202px\x204px;','',..._0xc9bb03?[_0xc9bb03]:[],'\x0aRead\x20more:\x20'+_0x2fc2d1);}['_logSuppressibleInfo'](_0x3611b9,_0x488fea,_0x2be326){if(this['_isSuppressedLog'](_0x3611b9))return;let _0x27cdb2=_0x488fea;_0x2be326&&(_0x27cdb2+='\x0aRead\x20more:\x20'+(r+'/'+_0x2be326)),console['info']('%cEmailConfigurationHelper%c\x20'+_0x3611b9,'background:\x20#4169E1;\x20color:\x20white;\x20padding:\x202px\x204px;','',_0x27cdb2);}['_checkUnsupportedPlugin'](_0x3bb20f,_0x45ef7f){this['editor']['plugins']['has'](_0x3bb20f)&&this['_logSuppressibleWarning']('email-configuration-unsupported-plugin',{'pluginName':_0x3bb20f,..._0x45ef7f});}['_validateConfigColorValue'](_0x3746e0){const _0x1262c9=this['editor']['config']['get'](_0x3746e0);if(!_0x1262c9)return;const _0x535608=Array['isArray'](_0x1262c9),_0x5f2c4b=_0x535608?_0x1262c9:[_0x1262c9];for(const [_0x204f98,_0x4383ef]of _0x5f2c4b['entries']()){const _0x42d9c5='string'==typeof _0x4383ef?_0x4383ef:_0x4383ef['color'];a(_0x42d9c5)&&this['_logSuppressibleWarning']('email-configuration-unsupported-color-value',{'configPath':_0x535608?_0x3746e0+'['+_0x204f98+']':_0x3746e0,'color':_0x42d9c5});}}['_validateConfigColorFormat'](_0x17b502){const _0x196ac8=this['editor']['config']['get'](_0x17b502);_0x196ac8&&l(_0x196ac8)&&this['_logSuppressibleWarning']('email-configuration-unsupported-color-format',{'configPath':_0x17b502,'format':_0x196ac8});}['_isSuppressedLog'](_0x360bd1,_0x555d46){const _0x4678ea=this['editor']['config']['get']('email.logs');return!!_0x4678ea['suppressAll']||(!('function'!=typeof _0x4678ea['suppress']||!_0x4678ea['suppress'](_0x360bd1,_0x555d46))||!(!Array['isArray'](_0x4678ea['suppress'])||!_0x4678ea['suppress']['includes'](_0x360bd1)));}}const o=['hsl','hsla','hwb','lab','lch','oklab','oklch','color-mix','rgba'];function a(_0x49fe66){return!!_0x49fe66&&o['some'](_0x106784=>_0x49fe66['includes'](_0x106784+'('));}function l(_0x4e54d8){return!!_0x4e54d8&&o['includes'](_0x4e54d8);}class u extends _0x1423a0{static get['requires'](){return[s];}static get['pluginName'](){return'HighlightEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){this['editor']['plugins']['get'](s)['_checkUnsupportedPlugin']('Highlight');}}function c(_0x494a03,_0x7b63a){const _0x296d87=_0x494a03['ownerDocument'],{table:_0x2e03b1,cell:_0x50738b}=g(_0x296d87,'100%');_0x7b63a['align']&&_0x50738b['setAttribute']('align',_0x2f57de(_0x7b63a['align']));let _0x56a27f=_0x50738b;if(_0x7b63a['width']){const {table:_0x33a5a0,cell:_0x49a7ea}=g(_0x296d87,_0x2f57de(_0x7b63a['width']));_0x50738b['appendChild'](_0x33a5a0),_0x56a27f=_0x49a7ea;}return _0x494a03['replaceWith'](_0x2e03b1),_0x494a03['removeAttribute']('align'),_0x494a03['removeAttribute']('width'),_0x56a27f['appendChild'](_0x494a03),_0x56a27f;}function g(_0x3761e1,_0x58e74d){const _0xae611f=_0x3761e1['createElement']('table');_0x58e74d&&(_0xae611f['style']['width']=_0x58e74d,_0xae611f['setAttribute']('width',h(_0x58e74d))),_0xae611f['setAttribute']('cellpadding','0'),_0xae611f['setAttribute']('cellspacing','0'),_0xae611f['setAttribute']('border','0'),_0xae611f['setAttribute']('role','presentation');const _0x11b093=_0x3761e1['createElement']('tbody'),_0x38f966=_0x3761e1['createElement']('tr'),_0x95f92a=_0x3761e1['createElement']('td');return _0xae611f['appendChild'](_0x11b093),_0x11b093['appendChild'](_0x38f966),_0x38f966['appendChild'](_0x95f92a),{'table':_0xae611f,'cell':_0x95f92a};}function f(_0x40c2c4){const _0x52e608=_0x40c2c4['getAsString']('margin-left'),_0x393d16=_0x40c2c4['getAsString']('margin-right'),_0x31047b=_0x52e608&&_0x2f57de(_0x52e608),_0x4f188f=_0x393d16&&_0x2f57de(_0x393d16);return'auto'===_0x31047b&&'auto'===_0x4f188f?'center':'auto'===_0x31047b?'right':'auto'===_0x4f188f?'left':void 0x0;}function m(_0x1f1273,_0x245320){const _0x4cd522=_0x1f1273['ownerDocument']['createElement'](_0x245320);for(const _0x22c5cb of Array['from'](_0x1f1273['attributes']))_0x4cd522['setAttribute'](_0x22c5cb['name'],_0x22c5cb['value']);for(;_0x1f1273['firstChild'];)_0x4cd522['appendChild'](_0x1f1273['firstChild']);return _0x4cd522;}function d(_0x1084b0){if('TABLE'!==_0x1084b0['tagName'])return!0x1;if('presentation'!==_0x1084b0['getAttribute']('role'))return!0x1;const _0x4ec8eb=p(_0x1084b0);return null!==_0x4ec8eb&&_0x4ec8eb['hasAttribute']('align');}function p(_0x483eb7){let _0x4f3c49=_0x483eb7;0x1===_0x483eb7['children']['length']&&'TBODY'===_0x483eb7['children'][0x0]['tagName']&&(_0x4f3c49=_0x483eb7['children'][0x0]);const _0x25bbfa=_0x4f3c49['children'];if(0x1!==_0x25bbfa['length']||'TR'!==_0x25bbfa[0x0]['tagName'])return null;const _0x174976=_0x25bbfa[0x0]['children'];return 0x1!==_0x174976['length']||'TD'!==_0x174976[0x0]['tagName']?null:_0x174976[0x0];}function h(_0x19b9bf){return function(_0x4cb66f){if(_0x4cb66f['endsWith']('px'))return _0x4cb66f['slice'](0x0,-0x2);return _0x4cb66f;}(_0x2f57de(_0x19b9bf));}const w=(_0x721ea0,_0x11d3e6,{runAfterDocumentTransformation:_0x42c977,runAfterChildrenTransformation:_0x46f965})=>{if('FIGURE'!==_0x721ea0['tagName'])return;const _0x27f018=_0x11d3e6['getAsString']('float');if(_0x27f018){if(y(_0x721ea0))_0x42c977(()=>{const _0x349dda=y(_0x721ea0);_0x349dda&&P(_0x721ea0,_0x349dda,{'align':_0x27f018});});else{const {table:_0x34ac1e,cell:_0x6ad635}=g(_0x721ea0['ownerDocument']);_0x34ac1e['setAttribute']('align',_0x2f57de(_0x27f018)),_0x34ac1e['setAttribute']('style',function(_0x22f221){return _0x22f221['getStylesEntries']()['map'](_0x4802ae=>_0x4802ae['join'](':'))['join'](';')+';';}(_0x11d3e6)),_0x46f965(()=>{for(const _0x5f0a28 of Array['from'](_0x721ea0['childNodes']))_0x6ad635['appendChild'](_0x5f0a28);}),_0x42c977(()=>{_0x721ea0['replaceWith'](_0x34ac1e);});}}else{const _0x5cf7dc=f(_0x11d3e6),_0x4997d7=_0x11d3e6['getAsString']('width');if(!_0x5cf7dc&&!_0x4997d7)return;c(_0x721ea0,{'align':_0x5cf7dc,'width':_0x4997d7}),_0x4997d7&&_0x11d3e6['set']('width','100%'),_0x11d3e6['remove']('margin-left'),_0x11d3e6['remove']('margin-right'),_0x11d3e6['remove']('min-width'),_0x11d3e6['remove']('max-width'),_0x42c977(()=>{const _0x3bcd54=y(_0x721ea0);if(_0x3bcd54)P(_0x721ea0,_0x3bcd54);else{const _0x8cb67b=m(_0x721ea0,'div');_0x721ea0['replaceWith'](_0x8cb67b);}});}};function P(_0xef9421,_0x35efad,_0x5f2cc4={}){for(const _0x59fc54 of['id','class']){const _0x2e1bff=_0xef9421['getAttribute'](_0x59fc54);_0x2e1bff&&_0x35efad['setAttribute'](_0x59fc54,_0x2e1bff);}for(const _0x586708 of['display','float','width','height'])_0x35efad['style']['removeProperty'](_0x586708);const _0x4d28fe=_0xef9421['getAttribute']('style');if(_0x4d28fe){const _0x5cc1fb=_0x35efad['getAttribute']('style')||'';_0x35efad['setAttribute']('style',_0x4d28fe+_0x5cc1fb);}_0x5f2cc4['align']&&_0x35efad['setAttribute']('align',_0x2f57de(_0x5f2cc4['align'])),_0xef9421['replaceWith'](_0x35efad);}function y(_0x25308a){const _0x2b7a46=Array['from'](_0x25308a['children']);return 0x1===_0x2b7a46['length']&&'TABLE'===_0x2b7a46[0x0]['tagName']?_0x2b7a46[0x0]:null;}class b extends _0x1423a0{static get['requires'](){return[s];}static get['pluginName'](){return'ImageEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const {config:_0x5a71a3,plugins:_0x355ec4}=this['editor'],_0x333fb5=_0x5a71a3['get']('exportInlineStyles');if(_0x333fb5?.['transformations']?.['includes'](w))return;_0x355ec4['get'](s)['_checkUnsupportedPlugin']('ImageBlock',{'description':'Block\x20images\x20are\x20unsupported\x20in\x20email\x20environments.\x20Consider\x20enabling\x20the\x20`transformEmailFigureToTable`\x20transformation\x20in\x20the\x20`exportInlineStyles`\x20in\x20order\x20to\x20make\x20block\x20images\x20work\x20in\x20email\x20clients.'});}}class I extends _0x1423a0{static get['requires'](){return[s];}static get['pluginName'](){return'MathTypeEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){this['editor']['plugins']['get'](s)['_checkUnsupportedPlugin']('MathType');}}class E extends _0x1423a0{static get['requires'](){return[s];}static get['pluginName'](){return'ExportInlineStylesEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x5c4cc2=this['editor']['plugins']['get'](s);this['editor']['plugins']['has']('ExportInlineStyles')||_0x5c4cc2['_logSuppressibleWarning']('email-configuration-missing-export-inline-styles-plugin');}}class k extends _0x1423a0{static get['requires'](){return[s];}static get['pluginName'](){return'ListEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x5650ce=this['editor']['plugins']['get'](s),_0x53ed6f=this['editor']['config']['get']('list');_0x53ed6f&&_0x53ed6f['properties']&&_0x53ed6f['properties']['reversed']&&_0x5650ce['_logSuppressibleWarning']('email-configuration-unsupported-reversed-list'),_0x53ed6f&&_0x53ed6f['enableListItemMarkerFormatting']&&_0x5650ce['_logSuppressibleWarning']('email-configuration-unsupported-list-item-marker-formatting');}}class x extends _0x1423a0{static get['requires'](){return[s];}static get['pluginName'](){return'TableEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){this['_checkRequiredTablePlugins'](),this['_checkTableConfig']();}['_checkRequiredTablePlugins'](){const {plugins:_0x55de0f}=this['editor'],_0x579d88=_0x55de0f['get'](s);_0x55de0f['has']('Table')&&(_0x55de0f['has']('PlainTableOutput')||_0x579d88['_logSuppressibleWarning']('email-configuration-missing-plain-table-output-plugin'),_0x55de0f['has']('TableLayout')||_0x579d88['_logSuppressibleWarning']('email-configuration-missing-table-layout-plugin'));}['_checkTableConfig'](){const {config:_0x1a6992,plugins:_0x187662}=this['editor'];_0x1a6992['get']('table')&&_0x187662['has']('Table')&&(this['_checkTablePropertiesConfig']('tableCellProperties'),this['_checkTablePropertiesConfig']('tableProperties'));}['_checkTablePropertiesConfig'](_0x47b7e2){const _0xc3bdd6=this['editor']['plugins']['get'](s);_0xc3bdd6['_validateConfigColorValue']('table.'+_0x47b7e2+'.borderColors'),_0xc3bdd6['_validateConfigColorValue']('table.'+_0x47b7e2+'.backgroundColors'),_0xc3bdd6['_validateConfigColorValue']('table.'+_0x47b7e2+'.defaultProperties.borderColor'),_0xc3bdd6['_validateConfigColorValue']('table.'+_0x47b7e2+'.defaultProperties'),_0xc3bdd6['_validateConfigColorFormat']('table.'+_0x47b7e2+'.colorPicker.format');}}class C extends _0x1423a0{static get['requires'](){return[s];}static get['pluginName'](){return'EmptyBlockEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x3c03c8=this['editor']['plugins']['get'](s);this['editor']['plugins']['has']('EmptyBlock')||_0x3c03c8['_logSuppressibleInfo']('email-configuration-missing-empty-block-plugin','Consider\x20enabling\x20the\x20EmptyBlock\x20plugin\x20to\x20ensure\x20that\x20exported\x20content\x20has\x20empty\x20blocks.','features/email-editing/email.html#empty-block-plugin');}}class L extends _0x1423a0{static get['requires'](){return[s];}static get['pluginName'](){return'FontEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const {plugins:_0x2d175b}=this['editor'];_0x2d175b['has']('FontColorEditing')&&this['_checkColorConfig']('fontColor'),_0x2d175b['has']('FontBackgroundColorEditing')&&this['_checkColorConfig']('fontBackgroundColor');}['_checkColorConfig'](_0x440118){const _0x1b94d8=this['editor']['plugins']['get'](s);this['editor']['config']['get'](_0x440118)&&(_0x1b94d8['_validateConfigColorValue'](_0x440118+'.colors'),_0x1b94d8['_validateConfigColorValue'](_0x440118+'.documentColors'),_0x1b94d8['_validateConfigColorFormat'](_0x440118+'.colorPicker.format'));}}class T extends _0x1423a0{static get['requires'](){return[s];}static get['pluginName'](){return'SourceEditingEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const {plugins:_0x3ef800}=this['editor'],_0x6191ee=_0x3ef800['get'](s);_0x3ef800['has']('SourceEditing')||_0x3ef800['has']('SourceEditingEnhanced')||_0x6191ee['_logSuppressibleWarning']('email-configuration-missing-source-editing-plugin');}}class N extends _0x1423a0{static get['requires'](){return[s];}static get['pluginName'](){return'MarkdownEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){this['editor']['plugins']['get'](s)['_checkUnsupportedPlugin']('Markdown');}}class v extends _0x1423a0{static ['UNSUPPORTED_ELEMENTS']=new Set(['object','article','details','main','nav','summary','abbr','acronym','bdi','output','hgroup','form','input','button','audio','canvas','meter','progress','iframe']);static get['requires'](){return[s];}static get['pluginName'](){return'GeneralHtmlIntegrationSupport';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {plugins:_0x5c7bb2}=this['editor'];if(!_0x5c7bb2['has']('DataFilter'))return;const _0x2c4d5a=_0x5c7bb2['get']('DataFilter'),_0x4dcfaf=_0x5c7bb2['get'](s);for(const _0x99d48 of v['UNSUPPORTED_ELEMENTS'])_0x2c4d5a['once']('register:'+_0x99d48,(_0x350485,_0x5cdb37)=>{_0x4dcfaf['_logSuppressibleWarning']('email-unsupported-html-element',{'element':_0x5cdb37['view']});});}}class O extends _0x1423a0{static get['requires'](){return[s];}static get['pluginName'](){return'MergeFieldsEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x8353c7=this['editor']['plugins']['get'](s);this['editor']['plugins']['has']('MergeFields')||_0x8353c7['_logSuppressibleInfo']('email-configuration-missing-merge-fields-plugin','Consider\x20enabling\x20the\x20MergeFields\x20plugin\x20which\x20allows\x20inserting\x20dynamic\x20data\x20placeholders\x20into\x20content.','features/email-editing/email.html#merge-fields-plugin');}}class A extends _0x1423a0{static get['requires'](){return[s];}static get['pluginName'](){return'TemplateEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x118b5f=this['editor']['plugins']['get'](s);this['editor']['plugins']['has']('Template')||_0x118b5f['_logSuppressibleInfo']('email-configuration-missing-template-plugin','Consider\x20enabling\x20the\x20Template\x20plugin\x20which\x20allows\x20inserting\x20predefined\x20e-mail\x20templates\x20into\x20the\x20editor.','features/email-editing/email.html#template-plugin');}}class q extends _0x1423a0{static get['requires'](){return[s];}static get['pluginName'](){return'UploadEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){this['editor']['plugins']['get'](s)['_checkUnsupportedPlugin']('Base64UploadAdapter');}}class H extends _0x1423a0{static get['requires'](){return[s];}static get['pluginName'](){return'MediaEmbedEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){this['editor']['plugins']['get'](s)['_checkUnsupportedPlugin']('MediaEmbed');}}class $ extends _0x1423a0{static get['requires'](){return[s];}static get['pluginName'](){return'TodoListEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){this['editor']['plugins']['get'](s)['_checkUnsupportedPlugin']('TodoList');}}class S extends _0x1423a0{static get['requires'](){return[s];}static get['pluginName'](){return'MultiLevelListEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){this['editor']['plugins']['get'](s)['_checkUnsupportedPlugin']('MultiLevelList',{'description':'The\x20multi-level\x20lists\x20are\x20rendered\x20incorrectly\x20in\x20Outlook\x202021.'});}}class K extends _0x1423a0{static get['requires'](){return[s];}static get['pluginName'](){return'LinkEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const {config:_0x4ae3d3,plugins:_0x1e395b}=this['editor'],_0xb12798=_0x1e395b['get'](s),_0x1eec35=_0x4ae3d3['get']('exportInlineStyles');_0x1eec35?.['transformations']?.['includes'](w)||_0xb12798['_checkUnsupportedPlugin']('LinkImage',{'description':'Block\x20images\x20are\x20unsupported\x20in\x20email\x20environments.\x20The\x20LinkImage\x20plugin\x20is\x20designed\x20to\x20work\x20exclusively\x20with\x20block\x20images,\x20which\x20makes\x20it\x20not\x20applicable\x20for\x20email\x20integration.\x20Inline\x20images\x20are\x20still\x20supported\x20and\x20function\x20correctly\x20with\x20the\x20standard\x20Link\x20feature.\x20Consider\x20enabling\x20the\x20`transformEmailFigureToTable`\x20transformation\x20in\x20the\x20`exportInlineStyles`\x20in\x20order\x20to\x20make\x20block\x20images\x20work\x20in\x20email\x20clients.'});}}class B extends _0x1423a0{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'EmailConfigurationHelper';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[u,b,I,E,k,x,C,L,T,N,v,O,A,q,H,$,S,K];}['init'](){this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x4cd023=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3e046d;for(const _0x1a4352 in _0x4cd023){const _0x1b2ff3=_0x1a4352,_0x138c11=_0x4cd023[_0x1b2ff3];if('emailConfigurationHelperLicenseKeyValid'==_0x138c11||'emailConfigurationHelperLicenseKeyInvalid'==_0x138c11||'emailConfigurationHelperLicenseKeyExpired'==_0x138c11||'emailConfigurationHelperLicenseKeyDomainLimit'==_0x138c11||'emailConfigurationHelperLicenseKeyNotAllowed'==_0x138c11||'emailConfigurationHelperLicenseKeyEvaluationLimit'==_0x138c11||'emailConfigurationHelperLicenseKeyUsageLimit'==_0x138c11){delete _0x4cd023[_0x1b2ff3],_0x3e046d=_0x138c11,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'emailConfigurationHelperLicenseKeyInvalid'==_0x3e046d&&_0x4cd023['_showLicenseError']('invalid'),'emailConfigurationHelperLicenseKeyExpired'==_0x3e046d&&_0x4cd023['_showLicenseError']('expired'),'emailConfigurationHelperLicenseKeyDomainLimit'==_0x3e046d&&_0x4cd023['_showLicenseError']('domainLimit'),'emailConfigurationHelperLicenseKeyNotAllowed'==_0x3e046d&&_0x4cd023['_showLicenseError']('featureNotAllowed','EmailConfigurationHelper'),'emailConfigurationHelperLicenseKeyEvaluationLimit'==_0x3e046d&&_0x4cd023['_showLicenseError']('evaluationLimit'),'emailConfigurationHelperLicenseKeyUsageLimit'==_0x3e046d&&_0x4cd023['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}const M=(_0x3b0a94,_0x226639)=>{if(!['TABLE','IMG']['includes'](_0x3b0a94['tagName']))return;const _0x1dbefa=_0x226639['getAsString']('float');if(_0x1dbefa){const _0x9b792f=_0x2f57de(_0x1dbefa);'left'!==_0x9b792f&&'right'!==_0x9b792f||_0x3b0a94['setAttribute']('align',_0x9b792f);}},F=(_0x216cc0,_0xedb936)=>{if('TABLE'!==_0x216cc0['tagName']||_0xedb936['has']('float'))return;const _0x5d235d=f(_0xedb936),_0x5b08b7=_0xedb936['getAsString']('width');_0x5d235d&&(c(_0x216cc0,{'align':_0x5d235d}),_0x5b08b7?_0x216cc0['setAttribute']('width',h(_0x5b08b7)):_0xedb936['remove']('width'),_0xedb936['remove']('margin-left'),_0xedb936['remove']('margin-right'));},_=(_0x49a6a8,_0x4b9475)=>{if('IMG'!==_0x49a6a8['tagName'])return;const _0x44c91f=_0x4b9475['getAsString']('width');_0x44c91f&&(_0x49a6a8['setAttribute']('width',h(_0x44c91f)),_0x49a6a8['setAttribute']('height','auto'));},D=(_0xf9cf5f,_0x2f3095,{runAfterDocumentTransformation:_0x68238c})=>{if('FIGCAPTION'!==_0xf9cf5f['tagName'])return;const _0x5322ac=_0x2f3095['getAsString']('display'),_0x31bb60=_0x2f3095['getAsString']('caption-side');_0x2f3095['remove']('caption-side'),_0x5322ac&&'table-caption'===_0x2f57de(_0x5322ac)&&_0x2f3095['remove']('display');const _0x265fb8=_0x31bb60&&'top'===_0x2f57de(_0x31bb60);_0x68238c(()=>{const _0x1060bd=m(_0xf9cf5f,'div'),_0x5643f1=_0xf9cf5f['previousElementSibling'];_0x265fb8&&_0x5643f1&&'TABLE'===_0x5643f1['tagName']?(_0x5643f1['before'](_0x1060bd),_0xf9cf5f['remove']()):_0xf9cf5f['replaceWith'](_0x1060bd);});},U=(_0x4ff30b,_0x297b2f,{runAfterChildrenTransformation:_0xfe7a98})=>{'TD'===_0x4ff30b['tagName']&&_0xfe7a98(()=>{const _0x102c44=Array['from'](_0x4ff30b['children']);if(0x0===_0x102c44['length'])return;const _0x1c80cb=_0x102c44['map'](R),_0x5f1a63=_0x1c80cb[0x0];if(_0x5f1a63&&_0x1c80cb['every'](_0x3ad18b=>_0x3ad18b===_0x5f1a63)){_0x4ff30b['setAttribute']('align',_0x5f1a63);for(const _0x5a35bb of _0x102c44)if(d(_0x5a35bb)){const _0x50410b=p(_0x5a35bb);_0x5a35bb['replaceWith'](...Array['from'](_0x50410b['childNodes']));}else _0x5a35bb['style']['removeProperty']('text-align'),_0x5a35bb['style']['length']||_0x5a35bb['removeAttribute']('style');}});};function R(_0x1f9832){if(d(_0x1f9832))return p(_0x1f9832)['getAttribute']('align');return _0x1f9832['style']['textAlign']||void 0x0;}function j(_0x362baf={}){const _0x296a7a=[];return _0x362baf['useFigureToTableFallback']&&_0x296a7a['push'](w,D,U),_0x296a7a['push'](M,F,_),_0x296a7a;}export{B as EmailConfigurationHelper,s as EmailConfigurationLogger,C as EmptyBlockEmailIntegration,E as ExportInlineStylesEmailIntegration,L as FontEmailIntegration,v as GeneralHtmlIntegrationSupport,u as HighlightEmailIntegration,b as ImageEmailIntegration,K as LinkEmailIntegration,k as ListEmailIntegration,N as MarkdownEmailIntegration,I as MathTypeEmailIntegration,H as MediaEmbedEmailIntegration,O as MergeFieldsEmailIntegration,S as MultiLevelListEmailIntegration,T as SourceEditingEmailIntegration,x as TableEmailIntegration,A as TemplateEmailIntegration,$ as TodoListEmailIntegration,q as UploadEmailIntegration,j as getEmailInlineStylesTransformations,l as isUnsupportedEmailColorFormat,a as isUnsupportedEmailColorValue,U as transformEmailAlignToAttribute,D as transformEmailFigcaptionToDiv,w as transformEmailFigureToTable,M as transformEmailFloatToAlign,_ as transformEmailImageWidthAttributes,F as transformEmailMarginToAlign};
|
|
23
|
+
import{Plugin as _0x374725}from'@ckeditor/ckeditor5-core/dist/index.js';import{uid as _0x5f0def}from'@ckeditor/ckeditor5-utils/dist/index.js';import{dropImportantStyleSuffix as _0x5af90d}from'@ckeditor/ckeditor5-export-inline-styles/dist/index.js';const r='https://ckeditor.com/docs/ckeditor5/latest';class s extends _0x374725{static get['pluginName'](){return'EmailConfigurationLogger';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x20ba75){super(_0x20ba75),_0x20ba75['config']['define']('email.logs',{'suppress':[],'suppressAll':!0x1});}['afterInit'](){!async function(_0x3f5d49){const _0x562f36=_0x74e348([0x75,0x69,0x7a,0x54,0x64,0x76,0x79,0x42,0x49,0x61,0x34,0x52,0x4b,0x73,0x6e,0x4f,0x59,0x6d,0x45,0x58,0x47,0x4d,0x66,0x6a,0x65,0x68,0x77,0x4a,0x51,0x71,0x62,0x50,0x53,0x43,0x6b,0x37,0x44,0x74,0x5a,0x67,0x46,0x35,0x38,0x4c,0x78,0x6c,0x32,0x39,0x48,0x6f,0x36,0x63,0x41,0x55,0x57,0x31,0x70,0x56,0x33,0x4e,0x72,0x30]),_0x192714=0x7780c648,_0x1276a6=0x77874f88^_0x192714,_0x35bbd2=window[_0x74e348([0x44,0x61,0x74,0x65])][_0x74e348([0x6e,0x6f,0x77])](),_0x142a48=_0x3f5d49[_0x74e348([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x525d29=new window[(_0x74e348([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1958f7=>{_0x142a48[_0x74e348([0x6f,0x6e,0x63,0x65])](_0x74e348([0x72,0x65,0x61,0x64,0x79]),_0x1958f7);}),_0x29f21f={[_0x74e348([0x6b,0x74,0x79])]:_0x74e348([0x45,0x43]),[_0x74e348([0x75,0x73,0x65])]:_0x74e348([0x73,0x69,0x67]),[_0x74e348([0x63,0x72,0x76])]:_0x74e348([0x50,0x2d,0x32,0x35,0x36]),[_0x74e348([0x78])]:_0x74e348([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]),[_0x74e348([0x79])]:_0x74e348([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]),[_0x74e348([0x61,0x6c,0x67])]:_0x74e348([0x45,0x53,0x32,0x35,0x36])},_0x5144bc=_0x142a48[_0x74e348([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x74e348([0x67,0x65,0x74])](_0x74e348([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x273f5a(){let _0x26c1a5,_0x5258cd=null,_0x5a571c=null;try{if(_0x5144bc==_0x74e348([0x47,0x50,0x4c]))return _0x74e348([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x26c1a5=_0x3fd4b5(),!_0x26c1a5)return _0x74e348([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x26c1a5[_0x74e348([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5a571c=_0x4f7469(_0x26c1a5[_0x74e348([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x26c1a5[_0x74e348([0x6a,0x74,0x69])])),await _0x630f17()?_0x505745()?_0x45c53a()?_0x74e348([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3c9626()?(_0x26c1a5[_0x74e348([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x74e348([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5258cd=_0x1bc804(_0x74e348([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x404835()):_0x74e348([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x74e348([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x74e348([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x74e348([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x45c53a(){const _0x384917=[_0x74e348([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x74e348([0x74,0x72,0x69,0x61,0x6c])][_0x74e348([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x26c1a5[_0x74e348([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x35bbd2/0x3e8:0xe10*_0x1276a6;return _0x26c1a5[_0x74e348([0x65,0x78,0x70])]<_0x384917;}function _0x505745(){const _0x2bd04e=_0x26c1a5[_0x74e348([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2bd04e&&(!!_0x2bd04e[_0x74e348([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x74e348([0x2a]))||!!_0x2bd04e[_0x74e348([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x74e348([0x45,0x43,0x48])));}function _0x3c9626(){const _0x13a87d=_0x26c1a5[_0x74e348([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x13a87d||0x0==_0x13a87d[_0x74e348([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x467f96}=new URL(window[_0x74e348([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x13a87d[_0x74e348([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x467f96))return!0x0;const _0x5da67d=_0x467f96[_0x74e348([0x73,0x70,0x6c,0x69,0x74])](_0x74e348([0x2e]));return _0x13a87d[_0x74e348([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4e1814=>_0x4e1814[_0x74e348([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x74e348([0x2a])))[_0x74e348([0x6d,0x61,0x70])](_0x3b35e6=>_0x3b35e6[_0x74e348([0x73,0x70,0x6c,0x69,0x74])](_0x74e348([0x2e])))[_0x74e348([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x51b18b=>_0x51b18b[_0x74e348([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5da67d[_0x74e348([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x74e348([0x6d,0x61,0x70])](_0x20ce26=>Array(_0x5da67d[_0x74e348([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x20ce26[_0x74e348([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x74e348([0x66,0x69,0x6c,0x6c])](_0x20ce26[0x0]===_0x74e348([0x2a])?_0x74e348([0x2a]):'')[_0x74e348([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x20ce26))[_0x74e348([0x73,0x6f,0x6d,0x65])](_0xd293c8=>_0x5da67d[_0x74e348([0x65,0x76,0x65,0x72,0x79])]((_0x3034bd,_0x1ca811)=>_0xd293c8[_0x1ca811]===_0x3034bd||_0xd293c8[_0x1ca811]===_0x74e348([0x2a])));}function _0x404835(){return _0x5258cd&&_0x5a571c?new window[(_0x74e348([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x313bfd,_0x2975c6)=>{_0x5258cd[_0x74e348([0x74,0x68,0x65,0x6e])](_0x313bfd,_0x2975c6),_0x5a571c[_0x74e348([0x74,0x68,0x65,0x6e])](_0x24e5cb=>{_0x24e5cb!=_0x74e348([0x56,0x61,0x6c,0x69,0x64])&&_0x313bfd(_0x24e5cb);},_0x2975c6);}):_0x5258cd||_0x5a571c||_0x74e348([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4f7469(_0x100e5e,_0x190d90){return new window[(_0x74e348([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1d36aa=>{if(_0x197d3c())return _0x1d36aa(_0x74e348([0x56,0x61,0x6c,0x69,0x64]));_0x50fb8b(),_0x142a48[_0x74e348([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x74e348([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x8973c8=!0x1;const _0x111d08=_0x5f0def();function _0x20c8c6(_0x280e70){return!!_0x280e70&&(typeof _0x280e70===_0x74e348([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x280e70===_0x74e348([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x280e70[_0x74e348([0x74,0x68,0x65,0x6e])]===_0x74e348([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x280e70[_0x74e348([0x63,0x61,0x74,0x63,0x68])]===_0x74e348([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3465ce(_0x3b5817){_0x3164ab(_0x3b5817)[_0x74e348([0x74,0x68,0x65,0x6e])](_0x4c35f9=>{if(!_0x4c35f9||_0x4c35f9[_0x74e348([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x74e348([0x6f,0x6b]))return _0x74e348([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x25c0ad(_0x261e40(_0x111d08+_0x190d90))!=_0x4c35f9[_0x74e348([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x74e348([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x74e348([0x56,0x61,0x6c,0x69,0x64]);})[_0x74e348([0x74,0x68,0x65,0x6e])](_0x175b50=>(_0x2ce032(),_0x175b50),()=>{const _0x5d41d1=_0x28b3f0();return null==_0x5d41d1?(_0x2ce032(),_0x74e348([0x56,0x61,0x6c,0x69,0x64])):_0x74e348(_0x35bbd2-_0x5d41d1>(0x538c4248^_0x192714)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x74e348([0x74,0x68,0x65,0x6e])](_0x1d36aa)[_0x74e348([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1d36aa(_0x74e348([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x361dfd=0x77b628c8^_0x192714;function _0x2ce032(){const _0x39d1e7=_0x74e348([0x6c,0x6c,0x63,0x74,0x2d])+_0x25c0ad(_0x261e40(_0x100e5e)),_0x391232=_0x278a65(_0x25c0ad(window[_0x74e348([0x4d,0x61,0x74,0x68])][_0x74e348([0x63,0x65,0x69,0x6c])](_0x35bbd2/_0x361dfd)));window[_0x74e348([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x74e348([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x39d1e7,_0x391232);}function _0x28b3f0(){const _0x55bec3=_0x74e348([0x6c,0x6c,0x63,0x74,0x2d])+_0x25c0ad(_0x261e40(_0x100e5e)),_0x548edb=window[_0x74e348([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x74e348([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x55bec3);return _0x548edb?window[_0x74e348([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x278a65(_0x548edb),0x10)*_0x361dfd:null;}function _0x3164ab(_0x357870){return new window[(_0x74e348([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2623de,_0x104bd2)=>{_0x357870[_0x74e348([0x74,0x68,0x65,0x6e])](_0x2623de,_0x104bd2),window[_0x74e348([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x104bd2,0x77811288^_0x192714);});}}_0x142a48[_0x74e348([0x6f,0x6e])](_0x74e348([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x47938a,_0x2cfcf1)=>{if(_0x2cfcf1[0x0]!=_0x100e5e)return _0x1d36aa(_0x74e348([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2cfcf1[0x1]={..._0x2cfcf1[0x1],[_0x74e348([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x111d08};},{[_0x74e348([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x74e348([0x68,0x69,0x67,0x68])}),_0x142a48[_0x74e348([0x6f,0x6e])](_0x74e348([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4e955e=>{_0x20c8c6(_0x4e955e[_0x74e348([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x8973c8=!0x0,_0x3465ce(_0x4e955e[_0x74e348([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x74e348([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x74e348([0x6c,0x6f,0x77])}),_0x525d29[_0x74e348([0x74,0x68,0x65,0x6e])](()=>{_0x8973c8||_0x1d36aa(_0x74e348([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x197d3c(){return _0x142a48[_0x74e348([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x74e348([0x76,0x69,0x65,0x77])][_0x74e348([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x74e348([0x61,0x75,0x74,0x6f]);}function _0x50fb8b(){_0x142a48[_0x74e348([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x74e348([0x76,0x69,0x65,0x77])][_0x74e348([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x74e348([0x61,0x75,0x74,0x6f]);}}function _0x1bc804(_0x37cade){const _0x39089b=[new window[(_0x74e348([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5e0009=>setTimeout(_0x5e0009,0x7789f884^_0x192714)),_0x525d29[_0x74e348([0x74,0x68,0x65,0x6e])](()=>new window[(_0x74e348([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x318e66=>{let _0x1d1c67=0x0;_0x142a48[_0x74e348([0x6d,0x6f,0x64,0x65,0x6c])][_0x74e348([0x6f,0x6e])](_0x74e348([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x45d0d4,_0xb624e3)=>{_0xb624e3[0x0][_0x74e348([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1d1c67++,_0x1d1c67==(0x7780c3a0^_0x192714)&&(_0x318e66(),_0x45d0d4[_0x74e348([0x6f,0x66,0x66])]());});}))];return window[_0x74e348([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x74e348([0x72,0x61,0x63,0x65])](_0x39089b)[_0x74e348([0x74,0x68,0x65,0x6e])](()=>_0x37cade);}async function _0x50270e(){await _0x525d29,_0x142a48[_0x74e348([0x6d,0x6f,0x64,0x65,0x6c])][_0x74e348([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x576d98,_0x142a48[_0x74e348([0x6d,0x6f,0x64,0x65,0x6c])][_0x74e348([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x576d98,_0x142a48[_0x74e348([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x74e348([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x41a812(_0x26a042){const _0x49d0c2=_0x1c00f1();_0x142a48[_0x49d0c2]=_0x74e348([0x65,0x6d,0x61,0x69,0x6c,0x43,0x6f,0x6e,0x66,0x69,0x67,0x75,0x72,0x61,0x74,0x69,0x6f,0x6e,0x48,0x65,0x6c,0x70,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x26a042,_0x26a042!=_0x74e348([0x56,0x61,0x6c,0x69,0x64])&&_0x50270e();}function _0x1c00f1(){const _0x1deaf7=window[_0x74e348([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x74e348([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x74e348([0x6e,0x6f,0x77])]())[_0x74e348([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x74e348([0x2e]),'');let _0x48ab1d=_0x74e348([0x75]);for(let _0x5efefa=0x0;_0x5efefa<_0x1deaf7[_0x74e348([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5efefa+=0x2){let _0x3d8583=window[_0x74e348([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1deaf7[_0x74e348([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5efefa,_0x5efefa+0x2));_0x3d8583>=_0x562f36[_0x74e348([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3d8583-=_0x562f36[_0x74e348([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x48ab1d+=_0x562f36[_0x3d8583];}return _0x48ab1d;}function _0x3fd4b5(){const _0x8ada21=_0x5144bc[_0x74e348([0x73,0x70,0x6c,0x69,0x74])](_0x74e348([0x2e]));if(0x3!=_0x8ada21[_0x74e348([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x271a83(_0x8ada21[0x1]);function _0x271a83(_0x689d4b){const _0x166990=_0xfb3a65(_0x689d4b);return _0x166990&&_0x5a9735()?_0x166990:null;function _0x5a9735(){const _0x1563d6=_0x166990[_0x74e348([0x6a,0x74,0x69])],_0x52e6e4=window[_0x74e348([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1563d6[_0x74e348([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1563d6[_0x74e348([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x42a396={..._0x166990,[_0x74e348([0x6a,0x74,0x69])]:_0x1563d6[_0x74e348([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1563d6[_0x74e348([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x42a396[_0x74e348([0x76,0x63])],_0x261e40(_0x42a396)==_0x52e6e4;}}}async function _0x630f17(){let _0x40d271=!0x0;try{const _0x24fa8f=_0x5144bc[_0x74e348([0x73,0x70,0x6c,0x69,0x74])](_0x74e348([0x2e])),[_0x2f745e,_0xa40be6,_0x10bdf6]=_0x24fa8f;return _0x281595(_0x2f745e),await _0x57bedb(_0x2f745e,_0xa40be6,_0x10bdf6),_0x40d271;}catch{return!0x1;}function _0x281595(_0x31e92f){const _0xa9b2fc=_0xfb3a65(_0x31e92f);_0xa9b2fc&&_0xa9b2fc[_0x74e348([0x61,0x6c,0x67])]==_0x74e348([0x45,0x53,0x32,0x35,0x36])||(_0x40d271=!0x1);}async function _0x57bedb(_0x485520,_0x1159d1,_0x11fb0e){const _0x51bb94=window[_0x74e348([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x74e348([0x66,0x72,0x6f,0x6d])](_0x18e4de(_0x11fb0e),_0x47119d=>_0x47119d[_0x74e348([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2a7cab=new window[(_0x74e348([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x74e348([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x485520+_0x74e348([0x2e])+_0x1159d1),_0x310b94=window[_0x74e348([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x74e348([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x310b94)return;const _0x5d46aa=await _0x310b94[_0x74e348([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x74e348([0x6a,0x77,0x6b]),_0x29f21f,{[_0x74e348([0x6e,0x61,0x6d,0x65])]:_0x74e348([0x45,0x43,0x44,0x53,0x41]),[_0x74e348([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x74e348([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x74e348([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x310b94[_0x74e348([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x74e348([0x6e,0x61,0x6d,0x65])]:_0x74e348([0x45,0x43,0x44,0x53,0x41]),[_0x74e348([0x68,0x61,0x73,0x68])]:{[_0x74e348([0x6e,0x61,0x6d,0x65])]:_0x74e348([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5d46aa,_0x51bb94,_0x2a7cab)||(_0x40d271=!0x1);}}function _0xfb3a65(_0x43feb8){return _0x43feb8[_0x74e348([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x74e348([0x65,0x79]))?JSON[_0x74e348([0x70,0x61,0x72,0x73,0x65])](_0x18e4de(_0x43feb8)):null;}function _0x18e4de(_0x49262a){return window[_0x74e348([0x61,0x74,0x6f,0x62])](_0x49262a[_0x74e348([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x74e348([0x2b]))[_0x74e348([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x74e348([0x2f])));}function _0x261e40(_0x4ac3e5){let _0x596107=0x1505;function _0x42fafb(_0x3f11ab){for(let _0x126dae=0x0;_0x126dae<_0x3f11ab[_0x74e348([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x126dae++){const _0x1d9bfd=_0x3f11ab[_0x74e348([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x126dae);_0x596107=(_0x596107<<0x5)+_0x596107+_0x1d9bfd,_0x596107&=_0x596107;}}function _0x55ca18(_0x2ed7b8){Array[_0x74e348([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2ed7b8)?_0x2ed7b8[_0x74e348([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x55ca18):_0x2ed7b8&&typeof _0x2ed7b8==_0x74e348([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x74e348([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2ed7b8)[_0x74e348([0x73,0x6f,0x72,0x74])]()[_0x74e348([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x35509e,_0x412843])=>{_0x42fafb(_0x35509e),_0x55ca18(_0x412843);}):_0x42fafb(window[_0x74e348([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2ed7b8));}return _0x55ca18(_0x4ac3e5),_0x596107>>>0x0;}function _0x25c0ad(_0x32348e){return _0x32348e[_0x74e348([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x74e348([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x74e348([0x30]));}function _0x278a65(_0x1e73e6){return _0x1e73e6[_0x74e348([0x73,0x70,0x6c,0x69,0x74])]('')[_0x74e348([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x74e348([0x6a,0x6f,0x69,0x6e])]('');}function _0x576d98(){}function _0x74e348(_0x1236c1){return _0x1236c1['map'](_0x1ae49d=>String['fromCharCode'](_0x1ae49d))['join']('');}_0x41a812(await _0x273f5a());}(this);}['_logSuppressibleWarning'](_0x34a8d1,_0x371252){if(this['_isSuppressedLog'](_0x34a8d1,_0x371252))return;const _0x236a2e=r+'/support/error-codes.html#error-'+_0x34a8d1;console['warn']('%cEmailConfigurationHelper%c\x20'+_0x34a8d1,'background:\x20#E65100;\x20color:\x20white;\x20padding:\x202px\x204px;','',..._0x371252?[_0x371252]:[],'\x0aRead\x20more:\x20'+_0x236a2e);}['_logSuppressibleInfo'](_0x362eca,_0x2c20b2,_0x2b54e2){if(this['_isSuppressedLog'](_0x362eca))return;let _0x280c7e=_0x2c20b2;_0x2b54e2&&(_0x280c7e+='\x0aRead\x20more:\x20'+(r+'/'+_0x2b54e2)),console['info']('%cEmailConfigurationHelper%c\x20'+_0x362eca,'background:\x20#4169E1;\x20color:\x20white;\x20padding:\x202px\x204px;','',_0x280c7e);}['_checkUnsupportedPlugin'](_0x1c01b7,_0x5c6b95){this['editor']['plugins']['has'](_0x1c01b7)&&this['_logSuppressibleWarning']('email-configuration-unsupported-plugin',{'pluginName':_0x1c01b7,..._0x5c6b95});}['_validateConfigColorValue'](_0x305743){const _0x59c2a1=this['editor']['config']['get'](_0x305743);if(!_0x59c2a1)return;const _0x14aab0=Array['isArray'](_0x59c2a1),_0x470e49=_0x14aab0?_0x59c2a1:[_0x59c2a1];for(const [_0x50fceb,_0x2b638c]of _0x470e49['entries']()){const _0x520dbd='string'==typeof _0x2b638c?_0x2b638c:_0x2b638c['color'];a(_0x520dbd)&&this['_logSuppressibleWarning']('email-configuration-unsupported-color-value',{'configPath':_0x14aab0?_0x305743+'['+_0x50fceb+']':_0x305743,'color':_0x520dbd});}}['_validateConfigColorFormat'](_0x3a3001){const _0x172258=this['editor']['config']['get'](_0x3a3001);_0x172258&&l(_0x172258)&&this['_logSuppressibleWarning']('email-configuration-unsupported-color-format',{'configPath':_0x3a3001,'format':_0x172258});}['_isSuppressedLog'](_0x42b3de,_0x414b6b){const _0x3e7c82=this['editor']['config']['get']('email.logs');return!!_0x3e7c82['suppressAll']||(!('function'!=typeof _0x3e7c82['suppress']||!_0x3e7c82['suppress'](_0x42b3de,_0x414b6b))||!(!Array['isArray'](_0x3e7c82['suppress'])||!_0x3e7c82['suppress']['includes'](_0x42b3de)));}}const o=['hsl','hsla','hwb','lab','lch','oklab','oklch','color-mix','rgba'];function a(_0x5722ea){return!!_0x5722ea&&o['some'](_0x1dba43=>_0x5722ea['includes'](_0x1dba43+'('));}function l(_0x3a7ab6){return!!_0x3a7ab6&&o['includes'](_0x3a7ab6);}class u extends _0x374725{static get['requires'](){return[s];}static get['pluginName'](){return'HighlightEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){this['editor']['plugins']['get'](s)['_checkUnsupportedPlugin']('Highlight');}}function c(_0x4785ee,_0x556247){const _0x5057f9=_0x4785ee['ownerDocument'],{table:_0x20ac26,cell:_0x3beb8d}=g(_0x5057f9,'100%');_0x556247['align']&&_0x3beb8d['setAttribute']('align',_0x5af90d(_0x556247['align']));let _0x37caf1=_0x3beb8d;if(_0x556247['width']){const {table:_0x4934f2,cell:_0x46d42f}=g(_0x5057f9,_0x5af90d(_0x556247['width']));_0x3beb8d['appendChild'](_0x4934f2),_0x37caf1=_0x46d42f;}return _0x4785ee['replaceWith'](_0x20ac26),_0x4785ee['removeAttribute']('align'),_0x4785ee['removeAttribute']('width'),_0x37caf1['appendChild'](_0x4785ee),_0x37caf1;}function g(_0x24e1dc,_0x42bdd9){const _0x8b91e6=_0x24e1dc['createElement']('table');_0x42bdd9&&(_0x8b91e6['style']['width']=_0x42bdd9,_0x8b91e6['setAttribute']('width',h(_0x42bdd9))),_0x8b91e6['setAttribute']('cellpadding','0'),_0x8b91e6['setAttribute']('cellspacing','0'),_0x8b91e6['setAttribute']('border','0'),_0x8b91e6['setAttribute']('role','presentation');const _0x692a9=_0x24e1dc['createElement']('tbody'),_0x9b56bf=_0x24e1dc['createElement']('tr'),_0x176973=_0x24e1dc['createElement']('td');return _0x8b91e6['appendChild'](_0x692a9),_0x692a9['appendChild'](_0x9b56bf),_0x9b56bf['appendChild'](_0x176973),{'table':_0x8b91e6,'cell':_0x176973};}function f(_0x58e76f){const _0x1966b9=_0x58e76f['getAsString']('margin-left'),_0x3cdad7=_0x58e76f['getAsString']('margin-right'),_0x64104e=_0x1966b9&&_0x5af90d(_0x1966b9),_0x3972bd=_0x3cdad7&&_0x5af90d(_0x3cdad7);return'auto'===_0x64104e&&'auto'===_0x3972bd?'center':'auto'===_0x64104e?'right':'auto'===_0x3972bd?'left':void 0x0;}function m(_0x6a083,_0x3b9876){const _0x54d5bf=_0x6a083['ownerDocument']['createElement'](_0x3b9876);for(const _0x96101b of Array['from'](_0x6a083['attributes']))_0x54d5bf['setAttribute'](_0x96101b['name'],_0x96101b['value']);for(;_0x6a083['firstChild'];)_0x54d5bf['appendChild'](_0x6a083['firstChild']);return _0x54d5bf;}function d(_0x282036){if('TABLE'!==_0x282036['tagName'])return!0x1;if('presentation'!==_0x282036['getAttribute']('role'))return!0x1;const _0x4f6828=p(_0x282036);return null!==_0x4f6828&&_0x4f6828['hasAttribute']('align');}function p(_0x49d90b){let _0x45e51b=_0x49d90b;0x1===_0x49d90b['children']['length']&&'TBODY'===_0x49d90b['children'][0x0]['tagName']&&(_0x45e51b=_0x49d90b['children'][0x0]);const _0x28808b=_0x45e51b['children'];if(0x1!==_0x28808b['length']||'TR'!==_0x28808b[0x0]['tagName'])return null;const _0x4dcd02=_0x28808b[0x0]['children'];return 0x1!==_0x4dcd02['length']||'TD'!==_0x4dcd02[0x0]['tagName']?null:_0x4dcd02[0x0];}function h(_0x455180){return function(_0x5c7251){if(_0x5c7251['endsWith']('px'))return _0x5c7251['slice'](0x0,-0x2);return _0x5c7251;}(_0x5af90d(_0x455180));}const w=(_0x4950ed,_0x395d34,{runAfterDocumentTransformation:_0x44ba89,runAfterChildrenTransformation:_0x9d1652})=>{if('FIGURE'!==_0x4950ed['tagName'])return;const _0x34fd87=_0x395d34['getAsString']('float');if(_0x34fd87){if(y(_0x4950ed))_0x44ba89(()=>{const _0x54e9fe=y(_0x4950ed);_0x54e9fe&&P(_0x4950ed,_0x54e9fe,{'align':_0x34fd87});});else{const {table:_0x4e6665,cell:_0x4356d8}=g(_0x4950ed['ownerDocument']);_0x4e6665['setAttribute']('align',_0x5af90d(_0x34fd87)),_0x4e6665['setAttribute']('style',function(_0x5db68b){return _0x5db68b['getStylesEntries']()['map'](_0x673cdc=>_0x673cdc['join'](':'))['join'](';')+';';}(_0x395d34)),_0x9d1652(()=>{for(const _0x1db068 of Array['from'](_0x4950ed['childNodes']))_0x4356d8['appendChild'](_0x1db068);}),_0x44ba89(()=>{_0x4950ed['replaceWith'](_0x4e6665);});}}else{const _0x1132c1=f(_0x395d34),_0x5c8e65=_0x395d34['getAsString']('width');if(!_0x1132c1&&!_0x5c8e65)return;c(_0x4950ed,{'align':_0x1132c1,'width':_0x5c8e65}),_0x5c8e65&&_0x395d34['set']('width','100%'),_0x395d34['remove']('margin-left'),_0x395d34['remove']('margin-right'),_0x395d34['remove']('min-width'),_0x395d34['remove']('max-width'),_0x44ba89(()=>{const _0x2470ef=y(_0x4950ed);if(_0x2470ef)P(_0x4950ed,_0x2470ef);else{const _0xfaf928=m(_0x4950ed,'div');_0x4950ed['replaceWith'](_0xfaf928);}});}};function P(_0x393eb6,_0x55b4e7,_0x10c157={}){for(const _0x55777a of['id','class']){const _0x2b283e=_0x393eb6['getAttribute'](_0x55777a);_0x2b283e&&_0x55b4e7['setAttribute'](_0x55777a,_0x2b283e);}for(const _0x37b0af of['display','float','width','height'])_0x55b4e7['style']['removeProperty'](_0x37b0af);const _0x43856b=_0x393eb6['getAttribute']('style');if(_0x43856b){const _0x3b2f3e=_0x55b4e7['getAttribute']('style')||'';_0x55b4e7['setAttribute']('style',_0x43856b+_0x3b2f3e);}_0x10c157['align']&&_0x55b4e7['setAttribute']('align',_0x5af90d(_0x10c157['align'])),_0x393eb6['replaceWith'](_0x55b4e7);}function y(_0x36458c){const _0x5dd74f=Array['from'](_0x36458c['children']);return 0x1===_0x5dd74f['length']&&'TABLE'===_0x5dd74f[0x0]['tagName']?_0x5dd74f[0x0]:null;}class b extends _0x374725{static get['requires'](){return[s];}static get['pluginName'](){return'ImageEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const {config:_0x425fb8,plugins:_0x597d90}=this['editor'],_0x2465b4=_0x425fb8['get']('exportInlineStyles');if(_0x2465b4?.['transformations']?.['includes'](w))return;_0x597d90['get'](s)['_checkUnsupportedPlugin']('ImageBlock',{'description':'Block\x20images\x20are\x20unsupported\x20in\x20email\x20environments.\x20Consider\x20enabling\x20the\x20`transformEmailFigureToTable`\x20transformation\x20in\x20the\x20`exportInlineStyles`\x20in\x20order\x20to\x20make\x20block\x20images\x20work\x20in\x20email\x20clients.'});}}class I extends _0x374725{static get['requires'](){return[s];}static get['pluginName'](){return'MathTypeEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){this['editor']['plugins']['get'](s)['_checkUnsupportedPlugin']('MathType');}}class E extends _0x374725{static get['requires'](){return[s];}static get['pluginName'](){return'ExportInlineStylesEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x4a5ead=this['editor']['plugins']['get'](s);this['editor']['plugins']['has']('ExportInlineStyles')||_0x4a5ead['_logSuppressibleWarning']('email-configuration-missing-export-inline-styles-plugin');}}class k extends _0x374725{static get['requires'](){return[s];}static get['pluginName'](){return'ListEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x2af2c2=this['editor']['plugins']['get'](s),_0x98e641=this['editor']['config']['get']('list');_0x98e641&&_0x98e641['properties']&&_0x98e641['properties']['reversed']&&_0x2af2c2['_logSuppressibleWarning']('email-configuration-unsupported-reversed-list'),_0x98e641&&_0x98e641['enableListItemMarkerFormatting']&&_0x2af2c2['_logSuppressibleWarning']('email-configuration-unsupported-list-item-marker-formatting');}}class x extends _0x374725{static get['requires'](){return[s];}static get['pluginName'](){return'TableEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){this['_checkRequiredTablePlugins'](),this['_checkTableConfig']();}['_checkRequiredTablePlugins'](){const {plugins:_0x2f8d9c}=this['editor'],_0x415594=_0x2f8d9c['get'](s);_0x2f8d9c['has']('Table')&&(_0x2f8d9c['has']('PlainTableOutput')||_0x415594['_logSuppressibleWarning']('email-configuration-missing-plain-table-output-plugin'),_0x2f8d9c['has']('TableLayout')||_0x415594['_logSuppressibleWarning']('email-configuration-missing-table-layout-plugin'));}['_checkTableConfig'](){const {config:_0x484cbf,plugins:_0x1dca25}=this['editor'];_0x484cbf['get']('table')&&_0x1dca25['has']('Table')&&(this['_checkTablePropertiesConfig']('tableCellProperties'),this['_checkTablePropertiesConfig']('tableProperties'));}['_checkTablePropertiesConfig'](_0x3fe793){const _0x6fa575=this['editor']['plugins']['get'](s);_0x6fa575['_validateConfigColorValue']('table.'+_0x3fe793+'.borderColors'),_0x6fa575['_validateConfigColorValue']('table.'+_0x3fe793+'.backgroundColors'),_0x6fa575['_validateConfigColorValue']('table.'+_0x3fe793+'.defaultProperties.borderColor'),_0x6fa575['_validateConfigColorValue']('table.'+_0x3fe793+'.defaultProperties'),_0x6fa575['_validateConfigColorFormat']('table.'+_0x3fe793+'.colorPicker.format');}}class C extends _0x374725{static get['requires'](){return[s];}static get['pluginName'](){return'EmptyBlockEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x4ffe2c=this['editor']['plugins']['get'](s);this['editor']['plugins']['has']('EmptyBlock')||_0x4ffe2c['_logSuppressibleInfo']('email-configuration-missing-empty-block-plugin','Consider\x20enabling\x20the\x20EmptyBlock\x20plugin\x20to\x20ensure\x20that\x20exported\x20content\x20has\x20empty\x20blocks.','features/email-editing/email.html#empty-block-plugin');}}class L extends _0x374725{static get['requires'](){return[s];}static get['pluginName'](){return'FontEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const {plugins:_0x136aee}=this['editor'];_0x136aee['has']('FontColorEditing')&&this['_checkColorConfig']('fontColor'),_0x136aee['has']('FontBackgroundColorEditing')&&this['_checkColorConfig']('fontBackgroundColor');}['_checkColorConfig'](_0x10ee73){const _0x4b8d1b=this['editor']['plugins']['get'](s);this['editor']['config']['get'](_0x10ee73)&&(_0x4b8d1b['_validateConfigColorValue'](_0x10ee73+'.colors'),_0x4b8d1b['_validateConfigColorValue'](_0x10ee73+'.documentColors'),_0x4b8d1b['_validateConfigColorFormat'](_0x10ee73+'.colorPicker.format'));}}class T extends _0x374725{static get['requires'](){return[s];}static get['pluginName'](){return'SourceEditingEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const {plugins:_0x587a82}=this['editor'],_0x2e0979=_0x587a82['get'](s);_0x587a82['has']('SourceEditing')||_0x587a82['has']('SourceEditingEnhanced')||_0x2e0979['_logSuppressibleWarning']('email-configuration-missing-source-editing-plugin');}}class N extends _0x374725{static get['requires'](){return[s];}static get['pluginName'](){return'MarkdownEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){this['editor']['plugins']['get'](s)['_checkUnsupportedPlugin']('Markdown');}}class v extends _0x374725{static ['UNSUPPORTED_ELEMENTS']=new Set(['object','article','details','main','nav','summary','abbr','acronym','bdi','output','hgroup','form','input','button','audio','canvas','meter','progress','iframe']);static get['requires'](){return[s];}static get['pluginName'](){return'GeneralHtmlIntegrationSupport';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {plugins:_0x26d1ff}=this['editor'];if(!_0x26d1ff['has']('DataFilter'))return;const _0x27de27=_0x26d1ff['get']('DataFilter'),_0x244287=_0x26d1ff['get'](s);for(const _0x38850a of v['UNSUPPORTED_ELEMENTS'])_0x27de27['once']('register:'+_0x38850a,(_0x1fc0bc,_0x42a8d2)=>{_0x244287['_logSuppressibleWarning']('email-unsupported-html-element',{'element':_0x42a8d2['view']});});}}class O extends _0x374725{static get['requires'](){return[s];}static get['pluginName'](){return'MergeFieldsEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x18d268=this['editor']['plugins']['get'](s);this['editor']['plugins']['has']('MergeFields')||_0x18d268['_logSuppressibleInfo']('email-configuration-missing-merge-fields-plugin','Consider\x20enabling\x20the\x20MergeFields\x20plugin\x20which\x20allows\x20inserting\x20dynamic\x20data\x20placeholders\x20into\x20content.','features/email-editing/email.html#merge-fields-plugin');}}class A extends _0x374725{static get['requires'](){return[s];}static get['pluginName'](){return'TemplateEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x5d4a5a=this['editor']['plugins']['get'](s);this['editor']['plugins']['has']('Template')||_0x5d4a5a['_logSuppressibleInfo']('email-configuration-missing-template-plugin','Consider\x20enabling\x20the\x20Template\x20plugin\x20which\x20allows\x20inserting\x20predefined\x20e-mail\x20templates\x20into\x20the\x20editor.','features/email-editing/email.html#template-plugin');}}class q extends _0x374725{static get['requires'](){return[s];}static get['pluginName'](){return'UploadEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){this['editor']['plugins']['get'](s)['_checkUnsupportedPlugin']('Base64UploadAdapter');}}class H extends _0x374725{static get['requires'](){return[s];}static get['pluginName'](){return'MediaEmbedEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){this['editor']['plugins']['get'](s)['_checkUnsupportedPlugin']('MediaEmbed');}}class $ extends _0x374725{static get['requires'](){return[s];}static get['pluginName'](){return'TodoListEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){this['editor']['plugins']['get'](s)['_checkUnsupportedPlugin']('TodoList');}}class S extends _0x374725{static get['requires'](){return[s];}static get['pluginName'](){return'MultiLevelListEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){this['editor']['plugins']['get'](s)['_checkUnsupportedPlugin']('MultiLevelList',{'description':'The\x20multi-level\x20lists\x20are\x20rendered\x20incorrectly\x20in\x20Outlook\x202021.'});}}class K extends _0x374725{static get['requires'](){return[s];}static get['pluginName'](){return'LinkEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const {config:_0x4dfb83,plugins:_0x39c0be}=this['editor'],_0x21383e=_0x39c0be['get'](s),_0x158cf0=_0x4dfb83['get']('exportInlineStyles');_0x158cf0?.['transformations']?.['includes'](w)||_0x21383e['_checkUnsupportedPlugin']('LinkImage',{'description':'Block\x20images\x20are\x20unsupported\x20in\x20email\x20environments.\x20The\x20LinkImage\x20plugin\x20is\x20designed\x20to\x20work\x20exclusively\x20with\x20block\x20images,\x20which\x20makes\x20it\x20not\x20applicable\x20for\x20email\x20integration.\x20Inline\x20images\x20are\x20still\x20supported\x20and\x20function\x20correctly\x20with\x20the\x20standard\x20Link\x20feature.\x20Consider\x20enabling\x20the\x20`transformEmailFigureToTable`\x20transformation\x20in\x20the\x20`exportInlineStyles`\x20in\x20order\x20to\x20make\x20block\x20images\x20work\x20in\x20email\x20clients.'});}}class B extends _0x374725{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'EmailConfigurationHelper';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[u,b,I,E,k,x,C,L,T,N,v,O,A,q,H,$,S,K];}['init'](){this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x3ad8a9=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x207135;for(const _0x368cc6 in _0x3ad8a9){const _0x2ff5a7=_0x368cc6,_0x298b13=_0x3ad8a9[_0x2ff5a7];if('emailConfigurationHelperLicenseKeyValid'==_0x298b13||'emailConfigurationHelperLicenseKeyInvalid'==_0x298b13||'emailConfigurationHelperLicenseKeyExpired'==_0x298b13||'emailConfigurationHelperLicenseKeyDomainLimit'==_0x298b13||'emailConfigurationHelperLicenseKeyNotAllowed'==_0x298b13||'emailConfigurationHelperLicenseKeyEvaluationLimit'==_0x298b13||'emailConfigurationHelperLicenseKeyUsageLimit'==_0x298b13){delete _0x3ad8a9[_0x2ff5a7],_0x207135=_0x298b13,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'emailConfigurationHelperLicenseKeyInvalid'==_0x207135&&_0x3ad8a9['_showLicenseError']('invalid'),'emailConfigurationHelperLicenseKeyExpired'==_0x207135&&_0x3ad8a9['_showLicenseError']('expired'),'emailConfigurationHelperLicenseKeyDomainLimit'==_0x207135&&_0x3ad8a9['_showLicenseError']('domainLimit'),'emailConfigurationHelperLicenseKeyNotAllowed'==_0x207135&&_0x3ad8a9['_showLicenseError']('featureNotAllowed','EmailConfigurationHelper'),'emailConfigurationHelperLicenseKeyEvaluationLimit'==_0x207135&&_0x3ad8a9['_showLicenseError']('evaluationLimit'),'emailConfigurationHelperLicenseKeyUsageLimit'==_0x207135&&_0x3ad8a9['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}const M=(_0x2cf059,_0x4b0e4b)=>{if(!['TABLE','IMG']['includes'](_0x2cf059['tagName']))return;const _0x5cde57=_0x4b0e4b['getAsString']('float');if(_0x5cde57){const _0x4406a8=_0x5af90d(_0x5cde57);'left'!==_0x4406a8&&'right'!==_0x4406a8||_0x2cf059['setAttribute']('align',_0x4406a8);}},F=(_0x1f2281,_0x590f8f)=>{if('TABLE'!==_0x1f2281['tagName']||_0x590f8f['has']('float'))return;const _0xe9e5b0=f(_0x590f8f),_0x374ac9=_0x590f8f['getAsString']('width');_0xe9e5b0&&(c(_0x1f2281,{'align':_0xe9e5b0}),_0x374ac9?_0x1f2281['setAttribute']('width',h(_0x374ac9)):_0x590f8f['remove']('width'),_0x590f8f['remove']('margin-left'),_0x590f8f['remove']('margin-right'));},_=(_0x96b5e7,_0x3a5b18)=>{if('IMG'!==_0x96b5e7['tagName'])return;const _0x44d642=_0x3a5b18['getAsString']('width');_0x44d642&&(_0x96b5e7['setAttribute']('width',h(_0x44d642)),_0x96b5e7['setAttribute']('height','auto'));},D=(_0x474fb6,_0x2e9360,{runAfterDocumentTransformation:_0x230603})=>{if('FIGCAPTION'!==_0x474fb6['tagName'])return;const _0x46e223=_0x2e9360['getAsString']('display'),_0x1f2140=_0x2e9360['getAsString']('caption-side');_0x2e9360['remove']('caption-side'),_0x46e223&&'table-caption'===_0x5af90d(_0x46e223)&&_0x2e9360['remove']('display');const _0x4be3b5=_0x1f2140&&'top'===_0x5af90d(_0x1f2140);_0x230603(()=>{const _0x39c4d9=m(_0x474fb6,'div'),_0x58ec8e=_0x474fb6['previousElementSibling'];_0x4be3b5&&_0x58ec8e&&'TABLE'===_0x58ec8e['tagName']?(_0x58ec8e['before'](_0x39c4d9),_0x474fb6['remove']()):_0x474fb6['replaceWith'](_0x39c4d9);});},U=(_0x53952a,_0x21a15a,{runAfterChildrenTransformation:_0x2b5122})=>{'TD'===_0x53952a['tagName']&&_0x2b5122(()=>{const _0x7a106=Array['from'](_0x53952a['children']);if(0x0===_0x7a106['length'])return;const _0x11974a=_0x7a106['map'](R),_0x4ff817=_0x11974a[0x0];if(_0x4ff817&&_0x11974a['every'](_0x5e01fa=>_0x5e01fa===_0x4ff817)){_0x53952a['setAttribute']('align',_0x4ff817);for(const _0x2835e2 of _0x7a106)if(d(_0x2835e2)){const _0x39ae30=p(_0x2835e2);_0x2835e2['replaceWith'](...Array['from'](_0x39ae30['childNodes']));}else _0x2835e2['style']['removeProperty']('text-align'),_0x2835e2['style']['length']||_0x2835e2['removeAttribute']('style');}});};function R(_0x41df50){if(d(_0x41df50))return p(_0x41df50)['getAttribute']('align');return _0x41df50['style']['textAlign']||void 0x0;}function j(_0x398d48={}){const _0x5e9ec2=[];return _0x398d48['useFigureToTableFallback']&&_0x5e9ec2['push'](w,D,U),_0x5e9ec2['push'](M,F,_),_0x5e9ec2;}export{B as EmailConfigurationHelper,s as EmailConfigurationLogger,C as EmptyBlockEmailIntegration,E as ExportInlineStylesEmailIntegration,L as FontEmailIntegration,v as GeneralHtmlIntegrationSupport,u as HighlightEmailIntegration,b as ImageEmailIntegration,K as LinkEmailIntegration,k as ListEmailIntegration,N as MarkdownEmailIntegration,I as MathTypeEmailIntegration,H as MediaEmbedEmailIntegration,O as MergeFieldsEmailIntegration,S as MultiLevelListEmailIntegration,T as SourceEditingEmailIntegration,x as TableEmailIntegration,A as TemplateEmailIntegration,$ as TodoListEmailIntegration,q as UploadEmailIntegration,j as getEmailInlineStylesTransformations,l as isUnsupportedEmailColorFormat,a as isUnsupportedEmailColorValue,U as transformEmailAlignToAttribute,D as transformEmailFigcaptionToDiv,w as transformEmailFigureToTable,M as transformEmailFloatToAlign,_ as transformEmailImageWidthAttributes,F as transformEmailMarginToAlign};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-email",
|
|
3
|
-
"version": "48.1.0-alpha.
|
|
3
|
+
"version": "48.1.0-alpha.5",
|
|
4
4
|
"description": "Email integration feature for CKEditor 5.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -21,15 +21,15 @@
|
|
|
21
21
|
"./package.json": "./package.json"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@ckeditor/ckeditor5-core": "48.1.0-alpha.
|
|
25
|
-
"@ckeditor/ckeditor5-engine": "48.1.0-alpha.
|
|
26
|
-
"@ckeditor/ckeditor5-export-inline-styles": "48.1.0-alpha.
|
|
27
|
-
"@ckeditor/ckeditor5-font": "48.1.0-alpha.
|
|
28
|
-
"@ckeditor/ckeditor5-html-support": "48.1.0-alpha.
|
|
29
|
-
"@ckeditor/ckeditor5-list": "48.1.0-alpha.
|
|
30
|
-
"@ckeditor/ckeditor5-table": "48.1.0-alpha.
|
|
31
|
-
"@ckeditor/ckeditor5-ui": "48.1.0-alpha.
|
|
32
|
-
"@ckeditor/ckeditor5-utils": "48.1.0-alpha.
|
|
24
|
+
"@ckeditor/ckeditor5-core": "48.1.0-alpha.5",
|
|
25
|
+
"@ckeditor/ckeditor5-engine": "48.1.0-alpha.5",
|
|
26
|
+
"@ckeditor/ckeditor5-export-inline-styles": "48.1.0-alpha.5",
|
|
27
|
+
"@ckeditor/ckeditor5-font": "48.1.0-alpha.5",
|
|
28
|
+
"@ckeditor/ckeditor5-html-support": "48.1.0-alpha.5",
|
|
29
|
+
"@ckeditor/ckeditor5-list": "48.1.0-alpha.5",
|
|
30
|
+
"@ckeditor/ckeditor5-table": "48.1.0-alpha.5",
|
|
31
|
+
"@ckeditor/ckeditor5-ui": "48.1.0-alpha.5",
|
|
32
|
+
"@ckeditor/ckeditor5-utils": "48.1.0-alpha.5"
|
|
33
33
|
},
|
|
34
34
|
"files": [
|
|
35
35
|
"dist",
|