@ckeditor/ckeditor5-email 48.1.0-alpha.7 → 48.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/package.json +10 -10
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as _0xe2a25a}from'@ckeditor/ckeditor5-core/dist/index.js';import{uid as _0x29760b}from'@ckeditor/ckeditor5-utils/dist/index.js';import{dropImportantStyleSuffix as _0x247cc2}from'@ckeditor/ckeditor5-export-inline-styles/dist/index.js';const r='https://ckeditor.com/docs/ckeditor5/latest';class s extends _0xe2a25a{static get['pluginName'](){return'EmailConfigurationLogger';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x59fbb8){super(_0x59fbb8),_0x59fbb8['config']['define']('email.logs',{'suppress':[],'suppressAll':!0x1});}['afterInit'](){!async function(_0x20b3d9){const _0x452cd7=_0x3bacf7([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]),_0x2f52d0=0x7780c648,_0x12627a=0x77874f90^_0x2f52d0,_0x22e3f4=window[_0x3bacf7([0x44,0x61,0x74,0x65])][_0x3bacf7([0x6e,0x6f,0x77])](),_0x26d806=_0x20b3d9[_0x3bacf7([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5e52ad=new window[(_0x3bacf7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x440e36=>{_0x26d806[_0x3bacf7([0x6f,0x6e,0x63,0x65])](_0x3bacf7([0x72,0x65,0x61,0x64,0x79]),_0x440e36);}),_0x4eeb1e={[_0x3bacf7([0x6b,0x74,0x79])]:_0x3bacf7([0x45,0x43]),[_0x3bacf7([0x75,0x73,0x65])]:_0x3bacf7([0x73,0x69,0x67]),[_0x3bacf7([0x63,0x72,0x76])]:_0x3bacf7([0x50,0x2d,0x32,0x35,0x36]),[_0x3bacf7([0x78])]:_0x3bacf7([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]),[_0x3bacf7([0x79])]:_0x3bacf7([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]),[_0x3bacf7([0x61,0x6c,0x67])]:_0x3bacf7([0x45,0x53,0x32,0x35,0x36])},_0x490d4d=_0x26d806[_0x3bacf7([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3bacf7([0x67,0x65,0x74])](_0x3bacf7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x341dc7(){let _0x12fce7,_0x32c4fa=null,_0x3384f4=null;try{if(_0x490d4d==_0x3bacf7([0x47,0x50,0x4c]))return _0x3bacf7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x12fce7=_0x2aa663(),!_0x12fce7)return _0x3bacf7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x12fce7[_0x3bacf7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3384f4=_0x24c279(_0x12fce7[_0x3bacf7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x12fce7[_0x3bacf7([0x6a,0x74,0x69])])),await _0x34125a()?_0xcdc963()?_0x4903e9()?_0x3bacf7([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4a8533()?(_0x12fce7[_0x3bacf7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3bacf7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x32c4fa=_0xf1cd0e(_0x3bacf7([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x13d8ae()):_0x3bacf7([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3bacf7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3bacf7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3bacf7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4903e9(){const _0x29cd47=[_0x3bacf7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3bacf7([0x74,0x72,0x69,0x61,0x6c])][_0x3bacf7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x12fce7[_0x3bacf7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x22e3f4/0x3e8:0xe10*_0x12627a;return _0x12fce7[_0x3bacf7([0x65,0x78,0x70])]<_0x29cd47;}function _0xcdc963(){const _0x538836=_0x12fce7[_0x3bacf7([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x538836&&(!!_0x538836[_0x3bacf7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3bacf7([0x2a]))||!!_0x538836[_0x3bacf7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3bacf7([0x45,0x43,0x48])));}function _0x4a8533(){const _0x1f01d1=_0x12fce7[_0x3bacf7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1f01d1||0x0==_0x1f01d1[_0x3bacf7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x29634f}=new URL(window[_0x3bacf7([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x1f01d1[_0x3bacf7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x29634f))return!0x0;const _0x446651=_0x29634f[_0x3bacf7([0x73,0x70,0x6c,0x69,0x74])](_0x3bacf7([0x2e]));return _0x1f01d1[_0x3bacf7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x110d8a=>_0x110d8a[_0x3bacf7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3bacf7([0x2a])))[_0x3bacf7([0x6d,0x61,0x70])](_0x26c417=>_0x26c417[_0x3bacf7([0x73,0x70,0x6c,0x69,0x74])](_0x3bacf7([0x2e])))[_0x3bacf7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x53b6c9=>_0x53b6c9[_0x3bacf7([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x446651[_0x3bacf7([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3bacf7([0x6d,0x61,0x70])](_0x146839=>Array(_0x446651[_0x3bacf7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x146839[_0x3bacf7([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3bacf7([0x66,0x69,0x6c,0x6c])](_0x146839[0x0]===_0x3bacf7([0x2a])?_0x3bacf7([0x2a]):'')[_0x3bacf7([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x146839))[_0x3bacf7([0x73,0x6f,0x6d,0x65])](_0x328877=>_0x446651[_0x3bacf7([0x65,0x76,0x65,0x72,0x79])]((_0x3679d7,_0x565e32)=>_0x328877[_0x565e32]===_0x3679d7||_0x328877[_0x565e32]===_0x3bacf7([0x2a])));}function _0x13d8ae(){return _0x32c4fa&&_0x3384f4?new window[(_0x3bacf7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xd14556,_0x3f1eb5)=>{_0x32c4fa[_0x3bacf7([0x74,0x68,0x65,0x6e])](_0xd14556,_0x3f1eb5),_0x3384f4[_0x3bacf7([0x74,0x68,0x65,0x6e])](_0x357a30=>{_0x357a30!=_0x3bacf7([0x56,0x61,0x6c,0x69,0x64])&&_0xd14556(_0x357a30);},_0x3f1eb5);}):_0x32c4fa||_0x3384f4||_0x3bacf7([0x56,0x61,0x6c,0x69,0x64]);}}function _0x24c279(_0x502646,_0x172261){return new window[(_0x3bacf7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x34e541=>{if(_0x2ab7f5())return _0x34e541(_0x3bacf7([0x56,0x61,0x6c,0x69,0x64]));_0x573d03(),_0x26d806[_0x3bacf7([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3bacf7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x555b46=!0x1;const _0x1f7822=_0x29760b();function _0x4b8914(_0x479236){return!!_0x479236&&(typeof _0x479236===_0x3bacf7([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x479236===_0x3bacf7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x479236[_0x3bacf7([0x74,0x68,0x65,0x6e])]===_0x3bacf7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x479236[_0x3bacf7([0x63,0x61,0x74,0x63,0x68])]===_0x3bacf7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2abbb8(_0x51fec3){_0x143eab(_0x51fec3)[_0x3bacf7([0x74,0x68,0x65,0x6e])](_0x208181=>{if(!_0x208181||_0x208181[_0x3bacf7([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3bacf7([0x6f,0x6b]))return _0x3bacf7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x226c53(_0x2e7acd(_0x1f7822+_0x172261))!=_0x208181[_0x3bacf7([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3bacf7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3bacf7([0x56,0x61,0x6c,0x69,0x64]);})[_0x3bacf7([0x74,0x68,0x65,0x6e])](_0x1efe50=>(_0x481e89(),_0x1efe50),()=>{const _0x4132f5=_0x2cee1b();return null==_0x4132f5?(_0x481e89(),_0x3bacf7([0x56,0x61,0x6c,0x69,0x64])):_0x3bacf7(_0x22e3f4-_0x4132f5>(0x538c4248^_0x2f52d0)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3bacf7([0x74,0x68,0x65,0x6e])](_0x34e541)[_0x3bacf7([0x63,0x61,0x74,0x63,0x68])](()=>{_0x34e541(_0x3bacf7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x83310c=0x77b628c8^_0x2f52d0;function _0x481e89(){const _0x5ddd7d=_0x3bacf7([0x6c,0x6c,0x63,0x74,0x2d])+_0x226c53(_0x2e7acd(_0x502646)),_0x27aa0d=_0x2d04f2(_0x226c53(window[_0x3bacf7([0x4d,0x61,0x74,0x68])][_0x3bacf7([0x63,0x65,0x69,0x6c])](_0x22e3f4/_0x83310c)));window[_0x3bacf7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3bacf7([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5ddd7d,_0x27aa0d);}function _0x2cee1b(){const _0x4927b1=_0x3bacf7([0x6c,0x6c,0x63,0x74,0x2d])+_0x226c53(_0x2e7acd(_0x502646)),_0x453361=window[_0x3bacf7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3bacf7([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4927b1);return _0x453361?window[_0x3bacf7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2d04f2(_0x453361),0x10)*_0x83310c:null;}function _0x143eab(_0x2333a5){return new window[(_0x3bacf7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3bb046,_0x1eb315)=>{_0x2333a5[_0x3bacf7([0x74,0x68,0x65,0x6e])](_0x3bb046,_0x1eb315),window[_0x3bacf7([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1eb315,0x77811288^_0x2f52d0);});}}_0x26d806[_0x3bacf7([0x6f,0x6e])](_0x3bacf7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x230c21,_0x15b292)=>{if(_0x15b292[0x0]!=_0x502646)return _0x34e541(_0x3bacf7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x15b292[0x1]={..._0x15b292[0x1],[_0x3bacf7([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1f7822};},{[_0x3bacf7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3bacf7([0x68,0x69,0x67,0x68])}),_0x26d806[_0x3bacf7([0x6f,0x6e])](_0x3bacf7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x39a962=>{_0x4b8914(_0x39a962[_0x3bacf7([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x555b46=!0x0,_0x2abbb8(_0x39a962[_0x3bacf7([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3bacf7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3bacf7([0x6c,0x6f,0x77])}),_0x5e52ad[_0x3bacf7([0x74,0x68,0x65,0x6e])](()=>{_0x555b46||_0x34e541(_0x3bacf7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2ab7f5(){return _0x26d806[_0x3bacf7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3bacf7([0x76,0x69,0x65,0x77])][_0x3bacf7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3bacf7([0x61,0x75,0x74,0x6f]);}function _0x573d03(){_0x26d806[_0x3bacf7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3bacf7([0x76,0x69,0x65,0x77])][_0x3bacf7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3bacf7([0x61,0x75,0x74,0x6f]);}}function _0xf1cd0e(_0x540f3c){const _0xa6394=[new window[(_0x3bacf7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x528d56=>setTimeout(_0x528d56,0x7789f884^_0x2f52d0)),_0x5e52ad[_0x3bacf7([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3bacf7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x41cfa8=>{let _0x254089=0x0;_0x26d806[_0x3bacf7([0x6d,0x6f,0x64,0x65,0x6c])][_0x3bacf7([0x6f,0x6e])](_0x3bacf7([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4ff6ef,_0x575916)=>{_0x575916[0x0][_0x3bacf7([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x254089++,_0x254089==(0x7780c3a0^_0x2f52d0)&&(_0x41cfa8(),_0x4ff6ef[_0x3bacf7([0x6f,0x66,0x66])]());});}))];return window[_0x3bacf7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3bacf7([0x72,0x61,0x63,0x65])](_0xa6394)[_0x3bacf7([0x74,0x68,0x65,0x6e])](()=>_0x540f3c);}async function _0x439aa8(){await _0x5e52ad,_0x26d806[_0x3bacf7([0x6d,0x6f,0x64,0x65,0x6c])][_0x3bacf7([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x35298d,_0x26d806[_0x3bacf7([0x6d,0x6f,0x64,0x65,0x6c])][_0x3bacf7([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x35298d,_0x26d806[_0x3bacf7([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3bacf7([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x409636(_0x46e0b6){const _0x2b8947=_0x14d305();_0x26d806[_0x2b8947]=_0x3bacf7([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])+_0x46e0b6,_0x46e0b6!=_0x3bacf7([0x56,0x61,0x6c,0x69,0x64])&&_0x439aa8();}function _0x14d305(){const _0x41a132=window[_0x3bacf7([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3bacf7([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3bacf7([0x6e,0x6f,0x77])]())[_0x3bacf7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3bacf7([0x2e]),'');let _0x2f124d=_0x3bacf7([0x75]);for(let _0x1995cf=0x0;_0x1995cf<_0x41a132[_0x3bacf7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1995cf+=0x2){let _0x54c65f=window[_0x3bacf7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x41a132[_0x3bacf7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1995cf,_0x1995cf+0x2));_0x54c65f>=_0x452cd7[_0x3bacf7([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x54c65f-=_0x452cd7[_0x3bacf7([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2f124d+=_0x452cd7[_0x54c65f];}return _0x2f124d;}function _0x2aa663(){const _0x1c026c=_0x490d4d[_0x3bacf7([0x73,0x70,0x6c,0x69,0x74])](_0x3bacf7([0x2e]));if(0x3!=_0x1c026c[_0x3bacf7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x167b96(_0x1c026c[0x1]);function _0x167b96(_0x4ab845){const _0x23409c=_0x21de3e(_0x4ab845);return _0x23409c&&_0x5740b9()?_0x23409c:null;function _0x5740b9(){const _0x39a4b1=_0x23409c[_0x3bacf7([0x6a,0x74,0x69])],_0x3fbef2=window[_0x3bacf7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x39a4b1[_0x3bacf7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x39a4b1[_0x3bacf7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x16ab01={..._0x23409c,[_0x3bacf7([0x6a,0x74,0x69])]:_0x39a4b1[_0x3bacf7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x39a4b1[_0x3bacf7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x16ab01[_0x3bacf7([0x76,0x63])],_0x2e7acd(_0x16ab01)==_0x3fbef2;}}}async function _0x34125a(){let _0x1ec92e=!0x0;try{const _0x2c8d15=_0x490d4d[_0x3bacf7([0x73,0x70,0x6c,0x69,0x74])](_0x3bacf7([0x2e])),[_0x302c61,_0x5a3e81,_0x4609b7]=_0x2c8d15;return _0x9a2bd8(_0x302c61),await _0x218a57(_0x302c61,_0x5a3e81,_0x4609b7),_0x1ec92e;}catch{return!0x1;}function _0x9a2bd8(_0x197add){const _0x923af0=_0x21de3e(_0x197add);_0x923af0&&_0x923af0[_0x3bacf7([0x61,0x6c,0x67])]==_0x3bacf7([0x45,0x53,0x32,0x35,0x36])||(_0x1ec92e=!0x1);}async function _0x218a57(_0x5b4a02,_0x5b5fc1,_0x19ffe3){const _0x27278f=window[_0x3bacf7([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3bacf7([0x66,0x72,0x6f,0x6d])](_0x5e5c61(_0x19ffe3),_0x39f7fa=>_0x39f7fa[_0x3bacf7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x55dcda=new window[(_0x3bacf7([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3bacf7([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5b4a02+_0x3bacf7([0x2e])+_0x5b5fc1),_0x448566=window[_0x3bacf7([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3bacf7([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x448566)return;const _0x46361d=await _0x448566[_0x3bacf7([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3bacf7([0x6a,0x77,0x6b]),_0x4eeb1e,{[_0x3bacf7([0x6e,0x61,0x6d,0x65])]:_0x3bacf7([0x45,0x43,0x44,0x53,0x41]),[_0x3bacf7([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3bacf7([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3bacf7([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x448566[_0x3bacf7([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3bacf7([0x6e,0x61,0x6d,0x65])]:_0x3bacf7([0x45,0x43,0x44,0x53,0x41]),[_0x3bacf7([0x68,0x61,0x73,0x68])]:{[_0x3bacf7([0x6e,0x61,0x6d,0x65])]:_0x3bacf7([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x46361d,_0x27278f,_0x55dcda)||(_0x1ec92e=!0x1);}}function _0x21de3e(_0x45b152){return _0x45b152[_0x3bacf7([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3bacf7([0x65,0x79]))?JSON[_0x3bacf7([0x70,0x61,0x72,0x73,0x65])](_0x5e5c61(_0x45b152)):null;}function _0x5e5c61(_0x16e12f){return window[_0x3bacf7([0x61,0x74,0x6f,0x62])](_0x16e12f[_0x3bacf7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3bacf7([0x2b]))[_0x3bacf7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3bacf7([0x2f])));}function _0x2e7acd(_0x3c7f2a){let _0x5212b0=0x1505;function _0x2d0be3(_0x399434){for(let _0x5f34cf=0x0;_0x5f34cf<_0x399434[_0x3bacf7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5f34cf++){const _0x5c5606=_0x399434[_0x3bacf7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5f34cf);_0x5212b0=(_0x5212b0<<0x5)+_0x5212b0+_0x5c5606,_0x5212b0&=_0x5212b0;}}function _0x1f67d0(_0x11ca4f){Array[_0x3bacf7([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x11ca4f)?_0x11ca4f[_0x3bacf7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1f67d0):_0x11ca4f&&typeof _0x11ca4f==_0x3bacf7([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3bacf7([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x11ca4f)[_0x3bacf7([0x73,0x6f,0x72,0x74])]()[_0x3bacf7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xa2f138,_0x1345fe])=>{_0x2d0be3(_0xa2f138),_0x1f67d0(_0x1345fe);}):_0x2d0be3(window[_0x3bacf7([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x11ca4f));}return _0x1f67d0(_0x3c7f2a),_0x5212b0>>>0x0;}function _0x226c53(_0x2512ed){return _0x2512ed[_0x3bacf7([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3bacf7([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3bacf7([0x30]));}function _0x2d04f2(_0x1f08ed){return _0x1f08ed[_0x3bacf7([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3bacf7([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3bacf7([0x6a,0x6f,0x69,0x6e])]('');}function _0x35298d(){}function _0x3bacf7(_0x4cbd67){return _0x4cbd67['map'](_0x43f5f6=>String['fromCharCode'](_0x43f5f6))['join']('');}_0x409636(await _0x341dc7());}(this);}['_logSuppressibleWarning'](_0x248c1f,_0x4ee5f){if(this['_isSuppressedLog'](_0x248c1f,_0x4ee5f))return;const _0x5d9b87=r+'/support/error-codes.html#error-'+_0x248c1f;console['warn']('%cEmailConfigurationHelper%c\x20'+_0x248c1f,'background:\x20#E65100;\x20color:\x20white;\x20padding:\x202px\x204px;','',..._0x4ee5f?[_0x4ee5f]:[],'\x0aRead\x20more:\x20'+_0x5d9b87);}['_logSuppressibleInfo'](_0x5cbb59,_0x4aef7b,_0x19f37e){if(this['_isSuppressedLog'](_0x5cbb59))return;let _0x2977b7=_0x4aef7b;_0x19f37e&&(_0x2977b7+='\x0aRead\x20more:\x20'+(r+'/'+_0x19f37e)),console['info']('%cEmailConfigurationHelper%c\x20'+_0x5cbb59,'background:\x20#4169E1;\x20color:\x20white;\x20padding:\x202px\x204px;','',_0x2977b7);}['_checkUnsupportedPlugin'](_0x3a7122,_0x40e22d){this['editor']['plugins']['has'](_0x3a7122)&&this['_logSuppressibleWarning']('email-configuration-unsupported-plugin',{'pluginName':_0x3a7122,..._0x40e22d});}['_validateConfigColorValue'](_0x4dde5a){const _0x1f2231=this['editor']['config']['get'](_0x4dde5a);if(!_0x1f2231)return;const _0x59be15=Array['isArray'](_0x1f2231),_0x21864b=_0x59be15?_0x1f2231:[_0x1f2231];for(const [_0xd0e5a7,_0x1693f5]of _0x21864b['entries']()){const _0x147ba6='string'==typeof _0x1693f5?_0x1693f5:_0x1693f5['color'];a(_0x147ba6)&&this['_logSuppressibleWarning']('email-configuration-unsupported-color-value',{'configPath':_0x59be15?_0x4dde5a+'['+_0xd0e5a7+']':_0x4dde5a,'color':_0x147ba6});}}['_validateConfigColorFormat'](_0x48c61a){const _0x31b804=this['editor']['config']['get'](_0x48c61a);_0x31b804&&l(_0x31b804)&&this['_logSuppressibleWarning']('email-configuration-unsupported-color-format',{'configPath':_0x48c61a,'format':_0x31b804});}['_isSuppressedLog'](_0xf4a860,_0x8dbfd4){const _0x7b053d=this['editor']['config']['get']('email.logs');return!!_0x7b053d['suppressAll']||(!('function'!=typeof _0x7b053d['suppress']||!_0x7b053d['suppress'](_0xf4a860,_0x8dbfd4))||!(!Array['isArray'](_0x7b053d['suppress'])||!_0x7b053d['suppress']['includes'](_0xf4a860)));}}const o=['hsl','hsla','hwb','lab','lch','oklab','oklch','color-mix','rgba'];function a(_0x584bf3){return!!_0x584bf3&&o['some'](_0x4e0e47=>_0x584bf3['includes'](_0x4e0e47+'('));}function l(_0x6c7a77){return!!_0x6c7a77&&o['includes'](_0x6c7a77);}class u extends _0xe2a25a{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(_0x1cb740,_0x2f3035){const _0x3663c3=_0x1cb740['ownerDocument'],{table:_0x4b8d6e,cell:_0x443aea}=g(_0x3663c3,'100%');_0x2f3035['align']&&_0x443aea['setAttribute']('align',_0x247cc2(_0x2f3035['align']));let _0x5f0dca=_0x443aea;if(_0x2f3035['width']){const {table:_0x2cbeb2,cell:_0x1e87ec}=g(_0x3663c3,_0x247cc2(_0x2f3035['width']));_0x443aea['appendChild'](_0x2cbeb2),_0x5f0dca=_0x1e87ec;}return _0x1cb740['replaceWith'](_0x4b8d6e),_0x1cb740['removeAttribute']('align'),_0x1cb740['removeAttribute']('width'),_0x5f0dca['appendChild'](_0x1cb740),_0x5f0dca;}function g(_0x574f76,_0x51fa83){const _0x3263ee=_0x574f76['createElement']('table');_0x51fa83&&(_0x3263ee['style']['width']=_0x51fa83,_0x3263ee['setAttribute']('width',h(_0x51fa83))),_0x3263ee['setAttribute']('cellpadding','0'),_0x3263ee['setAttribute']('cellspacing','0'),_0x3263ee['setAttribute']('border','0'),_0x3263ee['setAttribute']('role','presentation');const _0x2a0590=_0x574f76['createElement']('tbody'),_0x454b32=_0x574f76['createElement']('tr'),_0x360c72=_0x574f76['createElement']('td');return _0x3263ee['appendChild'](_0x2a0590),_0x2a0590['appendChild'](_0x454b32),_0x454b32['appendChild'](_0x360c72),{'table':_0x3263ee,'cell':_0x360c72};}function f(_0x16dfff){const _0xe84f23=_0x16dfff['getAsString']('margin-left'),_0x5effd9=_0x16dfff['getAsString']('margin-right'),_0x221873=_0xe84f23&&_0x247cc2(_0xe84f23),_0x820225=_0x5effd9&&_0x247cc2(_0x5effd9);return'auto'===_0x221873&&'auto'===_0x820225?'center':'auto'===_0x221873?'right':'auto'===_0x820225?'left':void 0x0;}function m(_0x5578b9,_0x552f2b){const _0x1614f5=_0x5578b9['ownerDocument']['createElement'](_0x552f2b);for(const _0x1c8e97 of Array['from'](_0x5578b9['attributes']))_0x1614f5['setAttribute'](_0x1c8e97['name'],_0x1c8e97['value']);for(;_0x5578b9['firstChild'];)_0x1614f5['appendChild'](_0x5578b9['firstChild']);return _0x1614f5;}function d(_0x17b45c){if('TABLE'!==_0x17b45c['tagName'])return!0x1;if('presentation'!==_0x17b45c['getAttribute']('role'))return!0x1;const _0x396bec=p(_0x17b45c);return null!==_0x396bec&&_0x396bec['hasAttribute']('align');}function p(_0x22f7a8){let _0x4e7dcf=_0x22f7a8;0x1===_0x22f7a8['children']['length']&&'TBODY'===_0x22f7a8['children'][0x0]['tagName']&&(_0x4e7dcf=_0x22f7a8['children'][0x0]);const _0x5bf8ca=_0x4e7dcf['children'];if(0x1!==_0x5bf8ca['length']||'TR'!==_0x5bf8ca[0x0]['tagName'])return null;const _0x79dc24=_0x5bf8ca[0x0]['children'];return 0x1!==_0x79dc24['length']||'TD'!==_0x79dc24[0x0]['tagName']?null:_0x79dc24[0x0];}function h(_0x4d6bb1){return function(_0x5d447b){if(_0x5d447b['endsWith']('px'))return _0x5d447b['slice'](0x0,-0x2);return _0x5d447b;}(_0x247cc2(_0x4d6bb1));}const w=(_0x1e439d,_0x8a7f82,{runAfterDocumentTransformation:_0xec3922,runAfterChildrenTransformation:_0x4421f0})=>{if('FIGURE'!==_0x1e439d['tagName'])return;const _0x51e913=_0x8a7f82['getAsString']('float');if(_0x51e913){if(y(_0x1e439d))_0xec3922(()=>{const _0x330570=y(_0x1e439d);_0x330570&&P(_0x1e439d,_0x330570,{'align':_0x51e913});});else{const {table:_0x57c908,cell:_0x24f2a4}=g(_0x1e439d['ownerDocument']);_0x57c908['setAttribute']('align',_0x247cc2(_0x51e913)),_0x57c908['setAttribute']('style',function(_0x50adfd){return _0x50adfd['getStylesEntries']()['map'](_0x39aa90=>_0x39aa90['join'](':'))['join'](';')+';';}(_0x8a7f82)),_0x4421f0(()=>{for(const _0x416e43 of Array['from'](_0x1e439d['childNodes']))_0x24f2a4['appendChild'](_0x416e43);}),_0xec3922(()=>{_0x1e439d['replaceWith'](_0x57c908);});}}else{const _0x279571=f(_0x8a7f82),_0x4ee58a=_0x8a7f82['getAsString']('width');if(!_0x279571&&!_0x4ee58a)return;c(_0x1e439d,{'align':_0x279571,'width':_0x4ee58a}),_0x4ee58a&&_0x8a7f82['set']('width','100%'),_0x8a7f82['remove']('margin-left'),_0x8a7f82['remove']('margin-right'),_0x8a7f82['remove']('min-width'),_0x8a7f82['remove']('max-width'),_0xec3922(()=>{const _0x35216d=y(_0x1e439d);if(_0x35216d)P(_0x1e439d,_0x35216d);else{const _0x5ce238=m(_0x1e439d,'div');_0x1e439d['replaceWith'](_0x5ce238);}});}};function P(_0x1c4b1f,_0x2f4612,_0x569620={}){for(const _0x3de21d of['id','class']){const _0xacabfc=_0x1c4b1f['getAttribute'](_0x3de21d);_0xacabfc&&_0x2f4612['setAttribute'](_0x3de21d,_0xacabfc);}for(const _0x17b3a5 of['display','float','width','height'])_0x2f4612['style']['removeProperty'](_0x17b3a5);const _0x409ec3=_0x1c4b1f['getAttribute']('style');if(_0x409ec3){const _0x12cdd2=_0x2f4612['getAttribute']('style')||'';_0x2f4612['setAttribute']('style',_0x409ec3+_0x12cdd2);}_0x569620['align']&&_0x2f4612['setAttribute']('align',_0x247cc2(_0x569620['align'])),_0x1c4b1f['replaceWith'](_0x2f4612);}function y(_0x366065){const _0x1a668e=Array['from'](_0x366065['children']);return 0x1===_0x1a668e['length']&&'TABLE'===_0x1a668e[0x0]['tagName']?_0x1a668e[0x0]:null;}class b extends _0xe2a25a{static get['requires'](){return[s];}static get['pluginName'](){return'ImageEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const {config:_0x1d4a62,plugins:_0x24a603}=this['editor'],_0x2d59f0=_0x1d4a62['get']('exportInlineStyles');if(_0x2d59f0?.['transformations']?.['includes'](w))return;_0x24a603['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 _0xe2a25a{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 _0xe2a25a{static get['requires'](){return[s];}static get['pluginName'](){return'ExportInlineStylesEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x52f33e=this['editor']['plugins']['get'](s);this['editor']['plugins']['has']('ExportInlineStyles')||_0x52f33e['_logSuppressibleWarning']('email-configuration-missing-export-inline-styles-plugin');}}class k extends _0xe2a25a{static get['requires'](){return[s];}static get['pluginName'](){return'ListEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x5cacec=this['editor']['plugins']['get'](s),_0x2e0ab5=this['editor']['config']['get']('list');_0x2e0ab5&&_0x2e0ab5['properties']&&_0x2e0ab5['properties']['reversed']&&_0x5cacec['_logSuppressibleWarning']('email-configuration-unsupported-reversed-list'),_0x2e0ab5&&_0x2e0ab5['enableListItemMarkerFormatting']&&_0x5cacec['_logSuppressibleWarning']('email-configuration-unsupported-list-item-marker-formatting');}}class x extends _0xe2a25a{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:_0x148d69}=this['editor'],_0x1a0e0d=_0x148d69['get'](s);_0x148d69['has']('Table')&&(_0x148d69['has']('PlainTableOutput')||_0x1a0e0d['_logSuppressibleWarning']('email-configuration-missing-plain-table-output-plugin'),_0x148d69['has']('TableLayout')||_0x1a0e0d['_logSuppressibleWarning']('email-configuration-missing-table-layout-plugin'));}['_checkTableConfig'](){const {config:_0x25d449,plugins:_0x3b71e1}=this['editor'];_0x25d449['get']('table')&&_0x3b71e1['has']('Table')&&(this['_checkTablePropertiesConfig']('tableCellProperties'),this['_checkTablePropertiesConfig']('tableProperties'));}['_checkTablePropertiesConfig'](_0x187b6e){const _0x2e6581=this['editor']['plugins']['get'](s);_0x2e6581['_validateConfigColorValue']('table.'+_0x187b6e+'.borderColors'),_0x2e6581['_validateConfigColorValue']('table.'+_0x187b6e+'.backgroundColors'),_0x2e6581['_validateConfigColorValue']('table.'+_0x187b6e+'.defaultProperties.borderColor'),_0x2e6581['_validateConfigColorValue']('table.'+_0x187b6e+'.defaultProperties'),_0x2e6581['_validateConfigColorFormat']('table.'+_0x187b6e+'.colorPicker.format');}}class C extends _0xe2a25a{static get['requires'](){return[s];}static get['pluginName'](){return'EmptyBlockEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0xb73fe9=this['editor']['plugins']['get'](s);this['editor']['plugins']['has']('EmptyBlock')||_0xb73fe9['_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 _0xe2a25a{static get['requires'](){return[s];}static get['pluginName'](){return'FontEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const {plugins:_0x8ba590}=this['editor'];_0x8ba590['has']('FontColorEditing')&&this['_checkColorConfig']('fontColor'),_0x8ba590['has']('FontBackgroundColorEditing')&&this['_checkColorConfig']('fontBackgroundColor');}['_checkColorConfig'](_0xf7cbe5){const _0x1095a9=this['editor']['plugins']['get'](s);this['editor']['config']['get'](_0xf7cbe5)&&(_0x1095a9['_validateConfigColorValue'](_0xf7cbe5+'.colors'),_0x1095a9['_validateConfigColorValue'](_0xf7cbe5+'.documentColors'),_0x1095a9['_validateConfigColorFormat'](_0xf7cbe5+'.colorPicker.format'));}}class T extends _0xe2a25a{static get['requires'](){return[s];}static get['pluginName'](){return'SourceEditingEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const {plugins:_0x5ade64}=this['editor'],_0x5871de=_0x5ade64['get'](s);_0x5ade64['has']('SourceEditing')||_0x5ade64['has']('SourceEditingEnhanced')||_0x5871de['_logSuppressibleWarning']('email-configuration-missing-source-editing-plugin');}}class N extends _0xe2a25a{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 _0xe2a25a{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:_0x1290d6}=this['editor'];if(!_0x1290d6['has']('DataFilter'))return;const _0x7a025a=_0x1290d6['get']('DataFilter'),_0x2bf66e=_0x1290d6['get'](s);for(const _0x328cdb of v['UNSUPPORTED_ELEMENTS'])_0x7a025a['once']('register:'+_0x328cdb,(_0x3fa55f,_0x2f4083)=>{_0x2bf66e['_logSuppressibleWarning']('email-unsupported-html-element',{'element':_0x2f4083['view']});});}}class O extends _0xe2a25a{static get['requires'](){return[s];}static get['pluginName'](){return'MergeFieldsEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x262de4=this['editor']['plugins']['get'](s);this['editor']['plugins']['has']('MergeFields')||_0x262de4['_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 _0xe2a25a{static get['requires'](){return[s];}static get['pluginName'](){return'TemplateEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x2bcdf7=this['editor']['plugins']['get'](s);this['editor']['plugins']['has']('Template')||_0x2bcdf7['_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 _0xe2a25a{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 _0xe2a25a{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 _0xe2a25a{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 _0xe2a25a{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 _0xe2a25a{static get['requires'](){return[s];}static get['pluginName'](){return'LinkEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const {config:_0x231dad,plugins:_0x48af0c}=this['editor'],_0xd13489=_0x48af0c['get'](s),_0x4decf5=_0x231dad['get']('exportInlineStyles');_0x4decf5?.['transformations']?.['includes'](w)||_0xd13489['_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 _0xe2a25a{['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 _0x4c279d=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0xceb7cd;for(const _0x4a1ead in _0x4c279d){const _0x462e4c=_0x4a1ead,_0x2eac8c=_0x4c279d[_0x462e4c];if('emailConfigurationHelperLicenseKeyValid'==_0x2eac8c||'emailConfigurationHelperLicenseKeyInvalid'==_0x2eac8c||'emailConfigurationHelperLicenseKeyExpired'==_0x2eac8c||'emailConfigurationHelperLicenseKeyDomainLimit'==_0x2eac8c||'emailConfigurationHelperLicenseKeyNotAllowed'==_0x2eac8c||'emailConfigurationHelperLicenseKeyEvaluationLimit'==_0x2eac8c||'emailConfigurationHelperLicenseKeyUsageLimit'==_0x2eac8c){delete _0x4c279d[_0x462e4c],_0xceb7cd=_0x2eac8c,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'emailConfigurationHelperLicenseKeyInvalid'==_0xceb7cd&&_0x4c279d['_showLicenseError']('invalid'),'emailConfigurationHelperLicenseKeyExpired'==_0xceb7cd&&_0x4c279d['_showLicenseError']('expired'),'emailConfigurationHelperLicenseKeyDomainLimit'==_0xceb7cd&&_0x4c279d['_showLicenseError']('domainLimit'),'emailConfigurationHelperLicenseKeyNotAllowed'==_0xceb7cd&&_0x4c279d['_showLicenseError']('featureNotAllowed','EmailConfigurationHelper'),'emailConfigurationHelperLicenseKeyEvaluationLimit'==_0xceb7cd&&_0x4c279d['_showLicenseError']('evaluationLimit'),'emailConfigurationHelperLicenseKeyUsageLimit'==_0xceb7cd&&_0x4c279d['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}const M=(_0x506c95,_0x9fd89a)=>{if(!['TABLE','IMG']['includes'](_0x506c95['tagName']))return;const _0x360fbb=_0x9fd89a['getAsString']('float');if(_0x360fbb){const _0x2921fb=_0x247cc2(_0x360fbb);'left'!==_0x2921fb&&'right'!==_0x2921fb||_0x506c95['setAttribute']('align',_0x2921fb);}},F=(_0x2ff3f2,_0x58edc7)=>{if('TABLE'!==_0x2ff3f2['tagName']||_0x58edc7['has']('float'))return;const _0x437843=f(_0x58edc7),_0x382d80=_0x58edc7['getAsString']('width');_0x437843&&(c(_0x2ff3f2,{'align':_0x437843}),_0x382d80?_0x2ff3f2['setAttribute']('width',h(_0x382d80)):_0x58edc7['remove']('width'),_0x58edc7['remove']('margin-left'),_0x58edc7['remove']('margin-right'));},_=(_0x364d5e,_0x1f8989)=>{if('IMG'!==_0x364d5e['tagName'])return;const _0x54a8cf=_0x1f8989['getAsString']('width');_0x54a8cf&&(_0x364d5e['setAttribute']('width',h(_0x54a8cf)),_0x364d5e['setAttribute']('height','auto'));},D=(_0x141ec7,_0xdcf5f2,{runAfterDocumentTransformation:_0x5f1a14})=>{if('FIGCAPTION'!==_0x141ec7['tagName'])return;const _0x4fae1a=_0xdcf5f2['getAsString']('display'),_0x98f2f1=_0xdcf5f2['getAsString']('caption-side');_0xdcf5f2['remove']('caption-side'),_0x4fae1a&&'table-caption'===_0x247cc2(_0x4fae1a)&&_0xdcf5f2['remove']('display');const _0x2a4cbd=_0x98f2f1&&'top'===_0x247cc2(_0x98f2f1);_0x5f1a14(()=>{const _0x4bbe7d=m(_0x141ec7,'div'),_0x3f229a=_0x141ec7['previousElementSibling'];_0x2a4cbd&&_0x3f229a&&'TABLE'===_0x3f229a['tagName']?(_0x3f229a['before'](_0x4bbe7d),_0x141ec7['remove']()):_0x141ec7['replaceWith'](_0x4bbe7d);});},U=(_0x570abd,_0x3d1bae,{runAfterChildrenTransformation:_0x3b950b})=>{'TD'===_0x570abd['tagName']&&_0x3b950b(()=>{const _0x59110b=Array['from'](_0x570abd['children']);if(0x0===_0x59110b['length'])return;const _0x562441=_0x59110b['map'](R),_0x4a4cb9=_0x562441[0x0];if(_0x4a4cb9&&_0x562441['every'](_0x55a90f=>_0x55a90f===_0x4a4cb9)){_0x570abd['setAttribute']('align',_0x4a4cb9);for(const _0x33b911 of _0x59110b)if(d(_0x33b911)){const _0x536938=p(_0x33b911);_0x33b911['replaceWith'](...Array['from'](_0x536938['childNodes']));}else _0x33b911['style']['removeProperty']('text-align'),_0x33b911['style']['length']||_0x33b911['removeAttribute']('style');}});};function R(_0x1ba2a4){if(d(_0x1ba2a4))return p(_0x1ba2a4)['getAttribute']('align');return _0x1ba2a4['style']['textAlign']||void 0x0;}function j(_0x412846={}){const _0x58c27b=[];return _0x412846['useFigureToTableFallback']&&_0x58c27b['push'](w,D,U),_0x58c27b['push'](M,F,_),_0x58c27b;}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 _0x4e776d}from'@ckeditor/ckeditor5-core/dist/index.js';import{uid as _0x1f3d56}from'@ckeditor/ckeditor5-utils/dist/index.js';import{dropImportantStyleSuffix as _0x518424}from'@ckeditor/ckeditor5-export-inline-styles/dist/index.js';const r='https://ckeditor.com/docs/ckeditor5/latest';class s extends _0x4e776d{static get['pluginName'](){return'EmailConfigurationLogger';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x461e78){super(_0x461e78),_0x461e78['config']['define']('email.logs',{'suppress':[],'suppressAll':!0x1});}['afterInit'](){!async function(_0x32e1f0){const _0x245ea7=_0x45dc36([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]),_0x2dd731=0x7780c648,_0x2f21ad=0x77874fb8^_0x2dd731,_0x188c2f=window[_0x45dc36([0x44,0x61,0x74,0x65])][_0x45dc36([0x6e,0x6f,0x77])](),_0xb074e8=_0x32e1f0[_0x45dc36([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x13ad6b=new window[(_0x45dc36([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3f82e5=>{_0xb074e8[_0x45dc36([0x6f,0x6e,0x63,0x65])](_0x45dc36([0x72,0x65,0x61,0x64,0x79]),_0x3f82e5);}),_0x1f5753={[_0x45dc36([0x6b,0x74,0x79])]:_0x45dc36([0x45,0x43]),[_0x45dc36([0x75,0x73,0x65])]:_0x45dc36([0x73,0x69,0x67]),[_0x45dc36([0x63,0x72,0x76])]:_0x45dc36([0x50,0x2d,0x32,0x35,0x36]),[_0x45dc36([0x78])]:_0x45dc36([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]),[_0x45dc36([0x79])]:_0x45dc36([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]),[_0x45dc36([0x61,0x6c,0x67])]:_0x45dc36([0x45,0x53,0x32,0x35,0x36])},_0x59ce73=_0xb074e8[_0x45dc36([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x45dc36([0x67,0x65,0x74])](_0x45dc36([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x42ed86(){let _0x219f70,_0x33d540=null,_0x8d933b=null;try{if(_0x59ce73==_0x45dc36([0x47,0x50,0x4c]))return _0x45dc36([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x219f70=_0x48aeff(),!_0x219f70)return _0x45dc36([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x219f70[_0x45dc36([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x8d933b=_0x1835d0(_0x219f70[_0x45dc36([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x219f70[_0x45dc36([0x6a,0x74,0x69])])),await _0x646833()?_0x2c1535()?_0x4a335()?_0x45dc36([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3d4f7a()?(_0x219f70[_0x45dc36([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x45dc36([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x33d540=_0x50d8a1(_0x45dc36([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4d2a90()):_0x45dc36([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x45dc36([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x45dc36([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x45dc36([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4a335(){const _0x4e773b=[_0x45dc36([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x45dc36([0x74,0x72,0x69,0x61,0x6c])][_0x45dc36([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x219f70[_0x45dc36([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x188c2f/0x3e8:0xe10*_0x2f21ad;return _0x219f70[_0x45dc36([0x65,0x78,0x70])]<_0x4e773b;}function _0x2c1535(){const _0x1d720a=_0x219f70[_0x45dc36([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1d720a&&(!!_0x1d720a[_0x45dc36([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x45dc36([0x2a]))||!!_0x1d720a[_0x45dc36([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x45dc36([0x45,0x43,0x48])));}function _0x3d4f7a(){const _0x6ab8ab=_0x219f70[_0x45dc36([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x6ab8ab||0x0==_0x6ab8ab[_0x45dc36([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4b21ed}=new URL(window[_0x45dc36([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x6ab8ab[_0x45dc36([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4b21ed))return!0x0;const _0x135209=_0x4b21ed[_0x45dc36([0x73,0x70,0x6c,0x69,0x74])](_0x45dc36([0x2e]));return _0x6ab8ab[_0x45dc36([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1f619c=>_0x1f619c[_0x45dc36([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x45dc36([0x2a])))[_0x45dc36([0x6d,0x61,0x70])](_0x2619e4=>_0x2619e4[_0x45dc36([0x73,0x70,0x6c,0x69,0x74])](_0x45dc36([0x2e])))[_0x45dc36([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3ac4b5=>_0x3ac4b5[_0x45dc36([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x135209[_0x45dc36([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x45dc36([0x6d,0x61,0x70])](_0xb1fbfb=>Array(_0x135209[_0x45dc36([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xb1fbfb[_0x45dc36([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x45dc36([0x66,0x69,0x6c,0x6c])](_0xb1fbfb[0x0]===_0x45dc36([0x2a])?_0x45dc36([0x2a]):'')[_0x45dc36([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xb1fbfb))[_0x45dc36([0x73,0x6f,0x6d,0x65])](_0x3f0e72=>_0x135209[_0x45dc36([0x65,0x76,0x65,0x72,0x79])]((_0x5972de,_0x531de3)=>_0x3f0e72[_0x531de3]===_0x5972de||_0x3f0e72[_0x531de3]===_0x45dc36([0x2a])));}function _0x4d2a90(){return _0x33d540&&_0x8d933b?new window[(_0x45dc36([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4c9a54,_0x551a3b)=>{_0x33d540[_0x45dc36([0x74,0x68,0x65,0x6e])](_0x4c9a54,_0x551a3b),_0x8d933b[_0x45dc36([0x74,0x68,0x65,0x6e])](_0x5cc31d=>{_0x5cc31d!=_0x45dc36([0x56,0x61,0x6c,0x69,0x64])&&_0x4c9a54(_0x5cc31d);},_0x551a3b);}):_0x33d540||_0x8d933b||_0x45dc36([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1835d0(_0x5c1c60,_0x867d6c){return new window[(_0x45dc36([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1a0eaf=>{if(_0x2497fd())return _0x1a0eaf(_0x45dc36([0x56,0x61,0x6c,0x69,0x64]));_0xd908d0(),_0xb074e8[_0x45dc36([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x45dc36([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x591ce0=!0x1;const _0x48bb7a=_0x1f3d56();function _0x356e61(_0x2ca518){return!!_0x2ca518&&(typeof _0x2ca518===_0x45dc36([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2ca518===_0x45dc36([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2ca518[_0x45dc36([0x74,0x68,0x65,0x6e])]===_0x45dc36([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2ca518[_0x45dc36([0x63,0x61,0x74,0x63,0x68])]===_0x45dc36([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x45f7bd(_0x268cab){_0x21c3dd(_0x268cab)[_0x45dc36([0x74,0x68,0x65,0x6e])](_0x2e5558=>{if(!_0x2e5558||_0x2e5558[_0x45dc36([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x45dc36([0x6f,0x6b]))return _0x45dc36([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x34c3c4(_0x52fd0a(_0x48bb7a+_0x867d6c))!=_0x2e5558[_0x45dc36([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x45dc36([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x45dc36([0x56,0x61,0x6c,0x69,0x64]);})[_0x45dc36([0x74,0x68,0x65,0x6e])](_0x40880b=>(_0x108e6b(),_0x40880b),()=>{const _0x36fe46=_0x349671();return null==_0x36fe46?(_0x108e6b(),_0x45dc36([0x56,0x61,0x6c,0x69,0x64])):_0x45dc36(_0x188c2f-_0x36fe46>(0x538c4248^_0x2dd731)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x45dc36([0x74,0x68,0x65,0x6e])](_0x1a0eaf)[_0x45dc36([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1a0eaf(_0x45dc36([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x514562=0x77b628c8^_0x2dd731;function _0x108e6b(){const _0x4ffb0a=_0x45dc36([0x6c,0x6c,0x63,0x74,0x2d])+_0x34c3c4(_0x52fd0a(_0x5c1c60)),_0x395550=_0x4188f8(_0x34c3c4(window[_0x45dc36([0x4d,0x61,0x74,0x68])][_0x45dc36([0x63,0x65,0x69,0x6c])](_0x188c2f/_0x514562)));window[_0x45dc36([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x45dc36([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4ffb0a,_0x395550);}function _0x349671(){const _0x43e1f1=_0x45dc36([0x6c,0x6c,0x63,0x74,0x2d])+_0x34c3c4(_0x52fd0a(_0x5c1c60)),_0x143bd6=window[_0x45dc36([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x45dc36([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x43e1f1);return _0x143bd6?window[_0x45dc36([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4188f8(_0x143bd6),0x10)*_0x514562:null;}function _0x21c3dd(_0x4d6e8f){return new window[(_0x45dc36([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x30bc27,_0x4757cc)=>{_0x4d6e8f[_0x45dc36([0x74,0x68,0x65,0x6e])](_0x30bc27,_0x4757cc),window[_0x45dc36([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4757cc,0x77811288^_0x2dd731);});}}_0xb074e8[_0x45dc36([0x6f,0x6e])](_0x45dc36([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x520da4,_0x5a627c)=>{if(_0x5a627c[0x0]!=_0x5c1c60)return _0x1a0eaf(_0x45dc36([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5a627c[0x1]={..._0x5a627c[0x1],[_0x45dc36([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x48bb7a};},{[_0x45dc36([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x45dc36([0x68,0x69,0x67,0x68])}),_0xb074e8[_0x45dc36([0x6f,0x6e])](_0x45dc36([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3163b7=>{_0x356e61(_0x3163b7[_0x45dc36([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x591ce0=!0x0,_0x45f7bd(_0x3163b7[_0x45dc36([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x45dc36([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x45dc36([0x6c,0x6f,0x77])}),_0x13ad6b[_0x45dc36([0x74,0x68,0x65,0x6e])](()=>{_0x591ce0||_0x1a0eaf(_0x45dc36([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2497fd(){return _0xb074e8[_0x45dc36([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x45dc36([0x76,0x69,0x65,0x77])][_0x45dc36([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x45dc36([0x61,0x75,0x74,0x6f]);}function _0xd908d0(){_0xb074e8[_0x45dc36([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x45dc36([0x76,0x69,0x65,0x77])][_0x45dc36([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x45dc36([0x61,0x75,0x74,0x6f]);}}function _0x50d8a1(_0x342c2c){const _0x77cef2=[new window[(_0x45dc36([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4d8a49=>setTimeout(_0x4d8a49,0x7789f884^_0x2dd731)),_0x13ad6b[_0x45dc36([0x74,0x68,0x65,0x6e])](()=>new window[(_0x45dc36([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x32d205=>{let _0x55899d=0x0;_0xb074e8[_0x45dc36([0x6d,0x6f,0x64,0x65,0x6c])][_0x45dc36([0x6f,0x6e])](_0x45dc36([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x346802,_0x1c0eea)=>{_0x1c0eea[0x0][_0x45dc36([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x55899d++,_0x55899d==(0x7780c3a0^_0x2dd731)&&(_0x32d205(),_0x346802[_0x45dc36([0x6f,0x66,0x66])]());});}))];return window[_0x45dc36([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x45dc36([0x72,0x61,0x63,0x65])](_0x77cef2)[_0x45dc36([0x74,0x68,0x65,0x6e])](()=>_0x342c2c);}async function _0x17a90f(){await _0x13ad6b,_0xb074e8[_0x45dc36([0x6d,0x6f,0x64,0x65,0x6c])][_0x45dc36([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x365e8e,_0xb074e8[_0x45dc36([0x6d,0x6f,0x64,0x65,0x6c])][_0x45dc36([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x365e8e,_0xb074e8[_0x45dc36([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x45dc36([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x555f7d(_0x238e92){const _0x2ea708=_0x2ae2cf();_0xb074e8[_0x2ea708]=_0x45dc36([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])+_0x238e92,_0x238e92!=_0x45dc36([0x56,0x61,0x6c,0x69,0x64])&&_0x17a90f();}function _0x2ae2cf(){const _0x28b5b5=window[_0x45dc36([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x45dc36([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x45dc36([0x6e,0x6f,0x77])]())[_0x45dc36([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x45dc36([0x2e]),'');let _0x3932b8=_0x45dc36([0x75]);for(let _0xdbafc0=0x0;_0xdbafc0<_0x28b5b5[_0x45dc36([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xdbafc0+=0x2){let _0x3e1d17=window[_0x45dc36([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x28b5b5[_0x45dc36([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xdbafc0,_0xdbafc0+0x2));_0x3e1d17>=_0x245ea7[_0x45dc36([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3e1d17-=_0x245ea7[_0x45dc36([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3932b8+=_0x245ea7[_0x3e1d17];}return _0x3932b8;}function _0x48aeff(){const _0x34afff=_0x59ce73[_0x45dc36([0x73,0x70,0x6c,0x69,0x74])](_0x45dc36([0x2e]));if(0x3!=_0x34afff[_0x45dc36([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x33b8bb(_0x34afff[0x1]);function _0x33b8bb(_0x5b1dbc){const _0x2d03bb=_0x3635c3(_0x5b1dbc);return _0x2d03bb&&_0xda3355()?_0x2d03bb:null;function _0xda3355(){const _0x3c61ca=_0x2d03bb[_0x45dc36([0x6a,0x74,0x69])],_0x27d8e2=window[_0x45dc36([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3c61ca[_0x45dc36([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3c61ca[_0x45dc36([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1da00c={..._0x2d03bb,[_0x45dc36([0x6a,0x74,0x69])]:_0x3c61ca[_0x45dc36([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3c61ca[_0x45dc36([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1da00c[_0x45dc36([0x76,0x63])],_0x52fd0a(_0x1da00c)==_0x27d8e2;}}}async function _0x646833(){let _0x5581b4=!0x0;try{const _0x21826c=_0x59ce73[_0x45dc36([0x73,0x70,0x6c,0x69,0x74])](_0x45dc36([0x2e])),[_0x34ce81,_0x47abd2,_0x149729]=_0x21826c;return _0x165326(_0x34ce81),await _0x12dbe8(_0x34ce81,_0x47abd2,_0x149729),_0x5581b4;}catch{return!0x1;}function _0x165326(_0x2cc565){const _0x231b51=_0x3635c3(_0x2cc565);_0x231b51&&_0x231b51[_0x45dc36([0x61,0x6c,0x67])]==_0x45dc36([0x45,0x53,0x32,0x35,0x36])||(_0x5581b4=!0x1);}async function _0x12dbe8(_0x1c4318,_0x4052e8,_0x5c2fa0){const _0x48905a=window[_0x45dc36([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x45dc36([0x66,0x72,0x6f,0x6d])](_0x4119bf(_0x5c2fa0),_0x422ada=>_0x422ada[_0x45dc36([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xfded3f=new window[(_0x45dc36([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x45dc36([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1c4318+_0x45dc36([0x2e])+_0x4052e8),_0x3cc436=window[_0x45dc36([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x45dc36([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3cc436)return;const _0x43e9b7=await _0x3cc436[_0x45dc36([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x45dc36([0x6a,0x77,0x6b]),_0x1f5753,{[_0x45dc36([0x6e,0x61,0x6d,0x65])]:_0x45dc36([0x45,0x43,0x44,0x53,0x41]),[_0x45dc36([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x45dc36([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x45dc36([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3cc436[_0x45dc36([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x45dc36([0x6e,0x61,0x6d,0x65])]:_0x45dc36([0x45,0x43,0x44,0x53,0x41]),[_0x45dc36([0x68,0x61,0x73,0x68])]:{[_0x45dc36([0x6e,0x61,0x6d,0x65])]:_0x45dc36([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x43e9b7,_0x48905a,_0xfded3f)||(_0x5581b4=!0x1);}}function _0x3635c3(_0x2fd94d){return _0x2fd94d[_0x45dc36([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x45dc36([0x65,0x79]))?JSON[_0x45dc36([0x70,0x61,0x72,0x73,0x65])](_0x4119bf(_0x2fd94d)):null;}function _0x4119bf(_0x44bb27){return window[_0x45dc36([0x61,0x74,0x6f,0x62])](_0x44bb27[_0x45dc36([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x45dc36([0x2b]))[_0x45dc36([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x45dc36([0x2f])));}function _0x52fd0a(_0x22e699){let _0x2bdf7f=0x1505;function _0x9fca61(_0x4b5d84){for(let _0x43f1a4=0x0;_0x43f1a4<_0x4b5d84[_0x45dc36([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x43f1a4++){const _0x1cfd6e=_0x4b5d84[_0x45dc36([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x43f1a4);_0x2bdf7f=(_0x2bdf7f<<0x5)+_0x2bdf7f+_0x1cfd6e,_0x2bdf7f&=_0x2bdf7f;}}function _0xa44e75(_0x18f219){Array[_0x45dc36([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x18f219)?_0x18f219[_0x45dc36([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xa44e75):_0x18f219&&typeof _0x18f219==_0x45dc36([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x45dc36([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x18f219)[_0x45dc36([0x73,0x6f,0x72,0x74])]()[_0x45dc36([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1914f8,_0x5df720])=>{_0x9fca61(_0x1914f8),_0xa44e75(_0x5df720);}):_0x9fca61(window[_0x45dc36([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x18f219));}return _0xa44e75(_0x22e699),_0x2bdf7f>>>0x0;}function _0x34c3c4(_0x165945){return _0x165945[_0x45dc36([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x45dc36([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x45dc36([0x30]));}function _0x4188f8(_0x54ea27){return _0x54ea27[_0x45dc36([0x73,0x70,0x6c,0x69,0x74])]('')[_0x45dc36([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x45dc36([0x6a,0x6f,0x69,0x6e])]('');}function _0x365e8e(){}function _0x45dc36(_0x5ae60d){return _0x5ae60d['map'](_0x46a8c1=>String['fromCharCode'](_0x46a8c1))['join']('');}_0x555f7d(await _0x42ed86());}(this);}['_logSuppressibleWarning'](_0x3793bd,_0x2097a7){if(this['_isSuppressedLog'](_0x3793bd,_0x2097a7))return;const _0x4cc924=r+'/support/error-codes.html#error-'+_0x3793bd;console['warn']('%cEmailConfigurationHelper%c\x20'+_0x3793bd,'background:\x20#E65100;\x20color:\x20white;\x20padding:\x202px\x204px;','',..._0x2097a7?[_0x2097a7]:[],'\x0aRead\x20more:\x20'+_0x4cc924);}['_logSuppressibleInfo'](_0x571148,_0x328dfc,_0xde19ad){if(this['_isSuppressedLog'](_0x571148))return;let _0x5ab373=_0x328dfc;_0xde19ad&&(_0x5ab373+='\x0aRead\x20more:\x20'+(r+'/'+_0xde19ad)),console['info']('%cEmailConfigurationHelper%c\x20'+_0x571148,'background:\x20#4169E1;\x20color:\x20white;\x20padding:\x202px\x204px;','',_0x5ab373);}['_checkUnsupportedPlugin'](_0x4ffe74,_0x186fd4){this['editor']['plugins']['has'](_0x4ffe74)&&this['_logSuppressibleWarning']('email-configuration-unsupported-plugin',{'pluginName':_0x4ffe74,..._0x186fd4});}['_validateConfigColorValue'](_0x10ad5e){const _0x135f55=this['editor']['config']['get'](_0x10ad5e);if(!_0x135f55)return;const _0x4e861e=Array['isArray'](_0x135f55),_0x5e75b4=_0x4e861e?_0x135f55:[_0x135f55];for(const [_0x29770a,_0x4a1e0b]of _0x5e75b4['entries']()){const _0x2b651a='string'==typeof _0x4a1e0b?_0x4a1e0b:_0x4a1e0b['color'];a(_0x2b651a)&&this['_logSuppressibleWarning']('email-configuration-unsupported-color-value',{'configPath':_0x4e861e?_0x10ad5e+'['+_0x29770a+']':_0x10ad5e,'color':_0x2b651a});}}['_validateConfigColorFormat'](_0x2ae80a){const _0xf45782=this['editor']['config']['get'](_0x2ae80a);_0xf45782&&l(_0xf45782)&&this['_logSuppressibleWarning']('email-configuration-unsupported-color-format',{'configPath':_0x2ae80a,'format':_0xf45782});}['_isSuppressedLog'](_0x72f5ea,_0x507e37){const _0x4094be=this['editor']['config']['get']('email.logs');return!!_0x4094be['suppressAll']||(!('function'!=typeof _0x4094be['suppress']||!_0x4094be['suppress'](_0x72f5ea,_0x507e37))||!(!Array['isArray'](_0x4094be['suppress'])||!_0x4094be['suppress']['includes'](_0x72f5ea)));}}const o=['hsl','hsla','hwb','lab','lch','oklab','oklch','color-mix','rgba'];function a(_0x44dfbd){return!!_0x44dfbd&&o['some'](_0x23dee9=>_0x44dfbd['includes'](_0x23dee9+'('));}function l(_0x230dcf){return!!_0x230dcf&&o['includes'](_0x230dcf);}class u extends _0x4e776d{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(_0x593d36,_0x4f66ff){const _0x543bd3=_0x593d36['ownerDocument'],{table:_0x25f239,cell:_0x38717b}=g(_0x543bd3,'100%');_0x4f66ff['align']&&_0x38717b['setAttribute']('align',_0x518424(_0x4f66ff['align']));let _0xfedc5f=_0x38717b;if(_0x4f66ff['width']){const {table:_0x1b79c2,cell:_0x48915a}=g(_0x543bd3,_0x518424(_0x4f66ff['width']));_0x38717b['appendChild'](_0x1b79c2),_0xfedc5f=_0x48915a;}return _0x593d36['replaceWith'](_0x25f239),_0x593d36['removeAttribute']('align'),_0x593d36['removeAttribute']('width'),_0xfedc5f['appendChild'](_0x593d36),_0xfedc5f;}function g(_0x4cd768,_0x508c5a){const _0x2dc171=_0x4cd768['createElement']('table');_0x508c5a&&(_0x2dc171['style']['width']=_0x508c5a,_0x2dc171['setAttribute']('width',h(_0x508c5a))),_0x2dc171['setAttribute']('cellpadding','0'),_0x2dc171['setAttribute']('cellspacing','0'),_0x2dc171['setAttribute']('border','0'),_0x2dc171['setAttribute']('role','presentation');const _0x4040d4=_0x4cd768['createElement']('tbody'),_0xf7f9d2=_0x4cd768['createElement']('tr'),_0x5e5bec=_0x4cd768['createElement']('td');return _0x2dc171['appendChild'](_0x4040d4),_0x4040d4['appendChild'](_0xf7f9d2),_0xf7f9d2['appendChild'](_0x5e5bec),{'table':_0x2dc171,'cell':_0x5e5bec};}function f(_0x202369){const _0x28e984=_0x202369['getAsString']('margin-left'),_0x4d9579=_0x202369['getAsString']('margin-right'),_0x577f51=_0x28e984&&_0x518424(_0x28e984),_0x50b952=_0x4d9579&&_0x518424(_0x4d9579);return'auto'===_0x577f51&&'auto'===_0x50b952?'center':'auto'===_0x577f51?'right':'auto'===_0x50b952?'left':void 0x0;}function m(_0x21f7fe,_0x2d2efc){const _0x1a2f1b=_0x21f7fe['ownerDocument']['createElement'](_0x2d2efc);for(const _0x25d184 of Array['from'](_0x21f7fe['attributes']))_0x1a2f1b['setAttribute'](_0x25d184['name'],_0x25d184['value']);for(;_0x21f7fe['firstChild'];)_0x1a2f1b['appendChild'](_0x21f7fe['firstChild']);return _0x1a2f1b;}function d(_0x8da7d){if('TABLE'!==_0x8da7d['tagName'])return!0x1;if('presentation'!==_0x8da7d['getAttribute']('role'))return!0x1;const _0x40c116=p(_0x8da7d);return null!==_0x40c116&&_0x40c116['hasAttribute']('align');}function p(_0x3b5c64){let _0x5b5882=_0x3b5c64;0x1===_0x3b5c64['children']['length']&&'TBODY'===_0x3b5c64['children'][0x0]['tagName']&&(_0x5b5882=_0x3b5c64['children'][0x0]);const _0x329859=_0x5b5882['children'];if(0x1!==_0x329859['length']||'TR'!==_0x329859[0x0]['tagName'])return null;const _0x31f973=_0x329859[0x0]['children'];return 0x1!==_0x31f973['length']||'TD'!==_0x31f973[0x0]['tagName']?null:_0x31f973[0x0];}function h(_0x52fa82){return function(_0xef681e){if(_0xef681e['endsWith']('px'))return _0xef681e['slice'](0x0,-0x2);return _0xef681e;}(_0x518424(_0x52fa82));}const w=(_0x3a8930,_0x44a980,{runAfterDocumentTransformation:_0x2c24f1,runAfterChildrenTransformation:_0x1d540e})=>{if('FIGURE'!==_0x3a8930['tagName'])return;const _0x19d2e8=_0x44a980['getAsString']('float');if(_0x19d2e8){if(y(_0x3a8930))_0x2c24f1(()=>{const _0x365067=y(_0x3a8930);_0x365067&&P(_0x3a8930,_0x365067,{'align':_0x19d2e8});});else{const {table:_0x2fd99e,cell:_0xc124a}=g(_0x3a8930['ownerDocument']);_0x2fd99e['setAttribute']('align',_0x518424(_0x19d2e8)),_0x2fd99e['setAttribute']('style',function(_0x52fbb9){return _0x52fbb9['getStylesEntries']()['map'](_0x5078a4=>_0x5078a4['join'](':'))['join'](';')+';';}(_0x44a980)),_0x1d540e(()=>{for(const _0x8901ef of Array['from'](_0x3a8930['childNodes']))_0xc124a['appendChild'](_0x8901ef);}),_0x2c24f1(()=>{_0x3a8930['replaceWith'](_0x2fd99e);});}}else{const _0x96a9da=f(_0x44a980),_0x5bf47f=_0x44a980['getAsString']('width');if(!_0x96a9da&&!_0x5bf47f)return;c(_0x3a8930,{'align':_0x96a9da,'width':_0x5bf47f}),_0x5bf47f&&_0x44a980['set']('width','100%'),_0x44a980['remove']('margin-left'),_0x44a980['remove']('margin-right'),_0x44a980['remove']('min-width'),_0x44a980['remove']('max-width'),_0x2c24f1(()=>{const _0x5514c4=y(_0x3a8930);if(_0x5514c4)P(_0x3a8930,_0x5514c4);else{const _0x5561c9=m(_0x3a8930,'div');_0x3a8930['replaceWith'](_0x5561c9);}});}};function P(_0x339e2b,_0x271e68,_0x4e632e={}){for(const _0x4e557a of['id','class']){const _0xd52022=_0x339e2b['getAttribute'](_0x4e557a);_0xd52022&&_0x271e68['setAttribute'](_0x4e557a,_0xd52022);}for(const _0x5530b6 of['display','float','width','height'])_0x271e68['style']['removeProperty'](_0x5530b6);const _0x59ac5a=_0x339e2b['getAttribute']('style');if(_0x59ac5a){const _0xf47e58=_0x271e68['getAttribute']('style')||'';_0x271e68['setAttribute']('style',_0x59ac5a+_0xf47e58);}_0x4e632e['align']&&_0x271e68['setAttribute']('align',_0x518424(_0x4e632e['align'])),_0x339e2b['replaceWith'](_0x271e68);}function y(_0x3e6009){const _0x229822=Array['from'](_0x3e6009['children']);return 0x1===_0x229822['length']&&'TABLE'===_0x229822[0x0]['tagName']?_0x229822[0x0]:null;}class b extends _0x4e776d{static get['requires'](){return[s];}static get['pluginName'](){return'ImageEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const {config:_0x4f6bfd,plugins:_0x4619ba}=this['editor'],_0x13e715=_0x4f6bfd['get']('exportInlineStyles');if(_0x13e715?.['transformations']?.['includes'](w))return;_0x4619ba['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 _0x4e776d{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 _0x4e776d{static get['requires'](){return[s];}static get['pluginName'](){return'ExportInlineStylesEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x5be9bd=this['editor']['plugins']['get'](s);this['editor']['plugins']['has']('ExportInlineStyles')||_0x5be9bd['_logSuppressibleWarning']('email-configuration-missing-export-inline-styles-plugin');}}class k extends _0x4e776d{static get['requires'](){return[s];}static get['pluginName'](){return'ListEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x389931=this['editor']['plugins']['get'](s),_0x14d08e=this['editor']['config']['get']('list');_0x14d08e&&_0x14d08e['properties']&&_0x14d08e['properties']['reversed']&&_0x389931['_logSuppressibleWarning']('email-configuration-unsupported-reversed-list'),_0x14d08e&&_0x14d08e['enableListItemMarkerFormatting']&&_0x389931['_logSuppressibleWarning']('email-configuration-unsupported-list-item-marker-formatting');}}class x extends _0x4e776d{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:_0x2aa3bf}=this['editor'],_0x31c6b9=_0x2aa3bf['get'](s);_0x2aa3bf['has']('Table')&&(_0x2aa3bf['has']('PlainTableOutput')||_0x31c6b9['_logSuppressibleWarning']('email-configuration-missing-plain-table-output-plugin'),_0x2aa3bf['has']('TableLayout')||_0x31c6b9['_logSuppressibleWarning']('email-configuration-missing-table-layout-plugin'));}['_checkTableConfig'](){const {config:_0x4972e2,plugins:_0x420720}=this['editor'];_0x4972e2['get']('table')&&_0x420720['has']('Table')&&(this['_checkTablePropertiesConfig']('tableCellProperties'),this['_checkTablePropertiesConfig']('tableProperties'));}['_checkTablePropertiesConfig'](_0x476266){const _0xeb05bb=this['editor']['plugins']['get'](s);_0xeb05bb['_validateConfigColorValue']('table.'+_0x476266+'.borderColors'),_0xeb05bb['_validateConfigColorValue']('table.'+_0x476266+'.backgroundColors'),_0xeb05bb['_validateConfigColorValue']('table.'+_0x476266+'.defaultProperties.borderColor'),_0xeb05bb['_validateConfigColorValue']('table.'+_0x476266+'.defaultProperties'),_0xeb05bb['_validateConfigColorFormat']('table.'+_0x476266+'.colorPicker.format');}}class C extends _0x4e776d{static get['requires'](){return[s];}static get['pluginName'](){return'EmptyBlockEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x34bce8=this['editor']['plugins']['get'](s);this['editor']['plugins']['has']('EmptyBlock')||_0x34bce8['_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 _0x4e776d{static get['requires'](){return[s];}static get['pluginName'](){return'FontEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const {plugins:_0x31bb2b}=this['editor'];_0x31bb2b['has']('FontColorEditing')&&this['_checkColorConfig']('fontColor'),_0x31bb2b['has']('FontBackgroundColorEditing')&&this['_checkColorConfig']('fontBackgroundColor');}['_checkColorConfig'](_0x3095be){const _0x22f0eb=this['editor']['plugins']['get'](s);this['editor']['config']['get'](_0x3095be)&&(_0x22f0eb['_validateConfigColorValue'](_0x3095be+'.colors'),_0x22f0eb['_validateConfigColorValue'](_0x3095be+'.documentColors'),_0x22f0eb['_validateConfigColorFormat'](_0x3095be+'.colorPicker.format'));}}class T extends _0x4e776d{static get['requires'](){return[s];}static get['pluginName'](){return'SourceEditingEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const {plugins:_0x5398c3}=this['editor'],_0x41ba5d=_0x5398c3['get'](s);_0x5398c3['has']('SourceEditing')||_0x5398c3['has']('SourceEditingEnhanced')||_0x41ba5d['_logSuppressibleWarning']('email-configuration-missing-source-editing-plugin');}}class N extends _0x4e776d{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 _0x4e776d{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:_0x5cb7f1}=this['editor'];if(!_0x5cb7f1['has']('DataFilter'))return;const _0x3bd612=_0x5cb7f1['get']('DataFilter'),_0x4f0965=_0x5cb7f1['get'](s);for(const _0x1433da of v['UNSUPPORTED_ELEMENTS'])_0x3bd612['once']('register:'+_0x1433da,(_0x1ac6e2,_0x34181e)=>{_0x4f0965['_logSuppressibleWarning']('email-unsupported-html-element',{'element':_0x34181e['view']});});}}class O extends _0x4e776d{static get['requires'](){return[s];}static get['pluginName'](){return'MergeFieldsEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x2de03e=this['editor']['plugins']['get'](s);this['editor']['plugins']['has']('MergeFields')||_0x2de03e['_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 _0x4e776d{static get['requires'](){return[s];}static get['pluginName'](){return'TemplateEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x10ed98=this['editor']['plugins']['get'](s);this['editor']['plugins']['has']('Template')||_0x10ed98['_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 _0x4e776d{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 _0x4e776d{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 _0x4e776d{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 _0x4e776d{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 _0x4e776d{static get['requires'](){return[s];}static get['pluginName'](){return'LinkEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const {config:_0x3bc3e1,plugins:_0x2d3f00}=this['editor'],_0x9ef627=_0x2d3f00['get'](s),_0x364bd1=_0x3bc3e1['get']('exportInlineStyles');_0x364bd1?.['transformations']?.['includes'](w)||_0x9ef627['_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 _0x4e776d{['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 _0x1f9c15=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x45ea0d;for(const _0x4752e8 in _0x1f9c15){const _0x180817=_0x4752e8,_0x213644=_0x1f9c15[_0x180817];if('emailConfigurationHelperLicenseKeyValid'==_0x213644||'emailConfigurationHelperLicenseKeyInvalid'==_0x213644||'emailConfigurationHelperLicenseKeyExpired'==_0x213644||'emailConfigurationHelperLicenseKeyDomainLimit'==_0x213644||'emailConfigurationHelperLicenseKeyNotAllowed'==_0x213644||'emailConfigurationHelperLicenseKeyEvaluationLimit'==_0x213644||'emailConfigurationHelperLicenseKeyUsageLimit'==_0x213644){delete _0x1f9c15[_0x180817],_0x45ea0d=_0x213644,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'emailConfigurationHelperLicenseKeyInvalid'==_0x45ea0d&&_0x1f9c15['_showLicenseError']('invalid'),'emailConfigurationHelperLicenseKeyExpired'==_0x45ea0d&&_0x1f9c15['_showLicenseError']('expired'),'emailConfigurationHelperLicenseKeyDomainLimit'==_0x45ea0d&&_0x1f9c15['_showLicenseError']('domainLimit'),'emailConfigurationHelperLicenseKeyNotAllowed'==_0x45ea0d&&_0x1f9c15['_showLicenseError']('featureNotAllowed','EmailConfigurationHelper'),'emailConfigurationHelperLicenseKeyEvaluationLimit'==_0x45ea0d&&_0x1f9c15['_showLicenseError']('evaluationLimit'),'emailConfigurationHelperLicenseKeyUsageLimit'==_0x45ea0d&&_0x1f9c15['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}const M=(_0x889772,_0x46ab1f)=>{if(!['TABLE','IMG']['includes'](_0x889772['tagName']))return;const _0x58512a=_0x46ab1f['getAsString']('float');if(_0x58512a){const _0x486152=_0x518424(_0x58512a);'left'!==_0x486152&&'right'!==_0x486152||_0x889772['setAttribute']('align',_0x486152);}},F=(_0x2e9420,_0x5465d7)=>{if('TABLE'!==_0x2e9420['tagName']||_0x5465d7['has']('float'))return;const _0x55e77b=f(_0x5465d7),_0x51efc1=_0x5465d7['getAsString']('width');_0x55e77b&&(c(_0x2e9420,{'align':_0x55e77b}),_0x51efc1?_0x2e9420['setAttribute']('width',h(_0x51efc1)):_0x5465d7['remove']('width'),_0x5465d7['remove']('margin-left'),_0x5465d7['remove']('margin-right'));},_=(_0x5653ec,_0x5ea4f7)=>{if('IMG'!==_0x5653ec['tagName'])return;const _0x4c44b8=_0x5ea4f7['getAsString']('width');_0x4c44b8&&(_0x5653ec['setAttribute']('width',h(_0x4c44b8)),_0x5653ec['setAttribute']('height','auto'));},D=(_0x51ae4a,_0x2e7c1a,{runAfterDocumentTransformation:_0x8c7731})=>{if('FIGCAPTION'!==_0x51ae4a['tagName'])return;const _0x377a22=_0x2e7c1a['getAsString']('display'),_0x1a554e=_0x2e7c1a['getAsString']('caption-side');_0x2e7c1a['remove']('caption-side'),_0x377a22&&'table-caption'===_0x518424(_0x377a22)&&_0x2e7c1a['remove']('display');const _0x3bb002=_0x1a554e&&'top'===_0x518424(_0x1a554e);_0x8c7731(()=>{const _0x459225=m(_0x51ae4a,'div'),_0x4ab5e1=_0x51ae4a['previousElementSibling'];_0x3bb002&&_0x4ab5e1&&'TABLE'===_0x4ab5e1['tagName']?(_0x4ab5e1['before'](_0x459225),_0x51ae4a['remove']()):_0x51ae4a['replaceWith'](_0x459225);});},U=(_0x399c0f,_0x1416dd,{runAfterChildrenTransformation:_0x4b3a6d})=>{'TD'===_0x399c0f['tagName']&&_0x4b3a6d(()=>{const _0x4dc497=Array['from'](_0x399c0f['children']);if(0x0===_0x4dc497['length'])return;const _0x50911d=_0x4dc497['map'](R),_0x45efeb=_0x50911d[0x0];if(_0x45efeb&&_0x50911d['every'](_0x39ada0=>_0x39ada0===_0x45efeb)){_0x399c0f['setAttribute']('align',_0x45efeb);for(const _0x3c57aa of _0x4dc497)if(d(_0x3c57aa)){const _0x479c02=p(_0x3c57aa);_0x3c57aa['replaceWith'](...Array['from'](_0x479c02['childNodes']));}else _0x3c57aa['style']['removeProperty']('text-align'),_0x3c57aa['style']['length']||_0x3c57aa['removeAttribute']('style');}});};function R(_0x44bbf6){if(d(_0x44bbf6))return p(_0x44bbf6)['getAttribute']('align');return _0x44bbf6['style']['textAlign']||void 0x0;}function j(_0x3916d8={}){const _0x494021=[];return _0x3916d8['useFigureToTableFallback']&&_0x494021['push'](w,D,U),_0x494021['push'](M,F,_),_0x494021;}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
|
|
3
|
+
"version": "48.1.0",
|
|
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
|
|
25
|
-
"@ckeditor/ckeditor5-engine": "48.1.0
|
|
26
|
-
"@ckeditor/ckeditor5-export-inline-styles": "48.1.0
|
|
27
|
-
"@ckeditor/ckeditor5-font": "48.1.0
|
|
28
|
-
"@ckeditor/ckeditor5-html-support": "48.1.0
|
|
29
|
-
"@ckeditor/ckeditor5-list": "48.1.0
|
|
30
|
-
"@ckeditor/ckeditor5-table": "48.1.0
|
|
31
|
-
"@ckeditor/ckeditor5-ui": "48.1.0
|
|
32
|
-
"@ckeditor/ckeditor5-utils": "48.1.0
|
|
24
|
+
"@ckeditor/ckeditor5-core": "48.1.0",
|
|
25
|
+
"@ckeditor/ckeditor5-engine": "48.1.0",
|
|
26
|
+
"@ckeditor/ckeditor5-export-inline-styles": "48.1.0",
|
|
27
|
+
"@ckeditor/ckeditor5-font": "48.1.0",
|
|
28
|
+
"@ckeditor/ckeditor5-html-support": "48.1.0",
|
|
29
|
+
"@ckeditor/ckeditor5-list": "48.1.0",
|
|
30
|
+
"@ckeditor/ckeditor5-table": "48.1.0",
|
|
31
|
+
"@ckeditor/ckeditor5-ui": "48.1.0",
|
|
32
|
+
"@ckeditor/ckeditor5-utils": "48.1.0"
|
|
33
33
|
},
|
|
34
34
|
"files": [
|
|
35
35
|
"dist",
|